"use strict";
/*
 * 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([[3308],{

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

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.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.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.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.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.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.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.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.array.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.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.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.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/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 _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\"));\nvar _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _Address = _interopRequireDefault(__webpack_require__(/*! ./Address.less */ \"./src/component/web/base/Address.less\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! @/component/common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _kdesign = __webpack_require__(/*! @kdcloudjs/kdesign */ \"webpack/sharing/consume/default/@kdcloudjs/kdesign/@kdcloudjs/kdesign\");\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _LoadingGIF = _interopRequireDefault(__webpack_require__(/*! ../../common/LoadingGIF */ \"./src/component/common/LoadingGIF.js\"));\nvar _defaultPropsUtil = __webpack_require__(/*! @/util/defaultPropsUtil */ \"./src/util/defaultPropsUtil.js\");\nvar _emotionalConst = __webpack_require__(/*! @/constant/emotionalConst */ \"./src/constant/emotionalConst.js\");\nvar _no_data = _interopRequireDefault(__webpack_require__(/*! ../img/default/no_data.png */ \"./src/component/web/img/default/no_data.png\"));\nvar _commonAnimation = _interopRequireDefault(__webpack_require__(/*! ../../common/commonAnimation.less */ \"./src/component/common/commonAnimation.less\"));\nvar _PanelWrapper = _interopRequireDefault(__webpack_require__(/*! ../../common/PanelWrapper */ \"./src/component/common/PanelWrapper.js\"));\nvar _listenInput = _interopRequireDefault(__webpack_require__(/*! ../../../util/listenInput */ \"./src/util/listenInput.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 _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); }\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; } /**\n * 地址基类\n */\n/**\n * 地址\n * @param {object} props\n * @param {number} props.Grow\n * @param {number} props.Shrink\n * @param {number} props.AlignSelf\n * @param {string} props.value 需要显示的内容\n * @param {object} props.containerClass 最外层 div 风格类\n * @param {object} props.containerStyle 最外层 div 风格\n * @param {object} props.iconContainerClass icon container 风格类\n * @param {object} props.iconContainerStyle icon container 风格\n * @param {object} props.inputClass 输入框风格类\n * @param {object} props.inputStyle 输入框风格\n * @param {object} props.inputProps 输入框属性控制\n * @param {object} props.iconClass icon 风格类\n * @param {object} props.placeholder 占位符文字\n * @param {object} props.handleTextClick 点击文字事件\n * @param {object} props.handleValueChange value 变化事件\n * @param {object} props.handleIconClick 点击 icon 事件\n * @param {list} props.addressSearchList 需要显示的下拉列表内容数组\n * @param {number} props.refreshId 更新指示id\n * @param {object} props.handleAddressChange 向后端发送查询指令事件\n * @param {object} props.handleAddressSelectItem 下拉列表选择事件\n * @param {object} props.getPopupPanel 单据体特有\n * @param {boolean} props.focusOption 单据体特有\n * @param {boolean} props.setItemByNumber 向后端发送请求，精准匹配\n * @param {boolean} props.openFuzzyQuery 地址字段是否打开模糊查询功能\n */\nfunction Address(_ref) {\n  var Grow = _ref.Grow,\n    Shrink = _ref.Shrink,\n    AlignSelf = _ref.AlignSelf,\n    _ref$value = _ref.value,\n    value = _ref$value === void 0 ? '' : _ref$value,\n    containerClass = _ref.containerClass,\n    containerStyle = _ref.containerStyle,\n    iconContainerClass = _ref.iconContainerClass,\n    iconContainerStyle = _ref.iconContainerStyle,\n    inputClass = _ref.inputClass,\n    inputStyle = _ref.inputStyle,\n    inputProps = _ref.inputProps,\n    iconClass = _ref.iconClass,\n    placeholder = _ref.placeholder,\n    handleTextClick = _ref.handleTextClick,\n    handleIconClick = _ref.handleIconClick,\n    addressSearchList = _ref.addressSearchList,\n    refreshId = _ref.refreshId,\n    handleAddressChange = _ref.handleAddressChange,\n    handleAddressSelectItem = _ref.handleAddressSelectItem,\n    getPopupPanel = _ref.getPopupPanel,\n    focusOption = _ref.focusOption,\n    setItemByNumber = _ref.setItemByNumber,\n    openFuzzyQuery = _ref.openFuzzyQuery;\n  var containerClassNames = (0, _classnames2[\"default\"])(_Address[\"default\"]['address-container'], containerClass, (0, _commonUtils[\"default\"])(Grow, Shrink, AlignSelf));\n  var iconContainerClassNames = (0, _classnames2[\"default\"])(_Address[\"default\"].icon, iconContainerClass);\n  var iconClassNames = (0, _classnames2[\"default\"])('kdfont kdfont-dizhiguanli kd-cq-trigger-icon', iconClass);\n  var textAreaProps = inputProps;\n  var _useState = (0, _react.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    showList = _useState2[0],\n    setShowList = _useState2[1];\n  var _useState3 = (0, _react.useState)(0),\n    _useState4 = _slicedToArray(_useState3, 2),\n    selectedIndex = _useState4[0],\n    setSelectedIndex = _useState4[1];\n  var _useState5 = (0, _react.useState)((0, _immutable.List)()),\n    _useState6 = _slicedToArray(_useState5, 2),\n    searchList = _useState6[0],\n    setSearchList = _useState6[1];\n  var _useState7 = (0, _react.useState)(null),\n    _useState8 = _slicedToArray(_useState7, 2),\n    renderFlag = _useState8[0],\n    setRenderFlag = _useState8[1];\n  var _useState9 = (0, _react.useState)(value),\n    _useState10 = _slicedToArray(_useState9, 2),\n    addressValue = _useState10[0],\n    setAddressValue = _useState10[1];\n  var txtQSTextArea = (0, _react.useRef)(null);\n  var AddressQueryStatus = (0, _react.useRef)(false); // 是否显示加载动画\n  var inputChangeByHands = (0, _react.useRef)(false); // 是否是手动更改输入框的值\n\n  if (value && textAreaProps !== null && textAreaProps !== void 0 && textAreaProps.value) {\n    delete textAreaProps.value;\n  }\n  // textAreaProps && (textAreaProps.disabled = false)\n\n  (0, _react.useEffect)(function () {\n    setAddressValue(value);\n    inputChangeByHands.current = false;\n  }, [value]);\n  (0, _react.useEffect)(function () {\n    if (!addressSearchList || addressSearchList.count() < 1) {\n      AddressQueryStatus.current = true;\n    } else {\n      setSearchList(addressSearchList);\n    }\n    setRenderFlag(!renderFlag);\n  }, [refreshId]);\n\n  // grid中获取焦点\n  (0, _react.useEffect)(function () {\n    var input = txtQSTextArea.current.getElementsByTagName('textarea')[0];\n    if (input && focusOption) {\n      input.focus();\n    }\n  }, [focusOption]);\n\n  // 中文输入，避免频繁触发\n  (0, _react.useEffect)(function () {\n    var input = txtQSTextArea.current.getElementsByTagName('textarea')[0];\n    var removeListener = null;\n    if (input) {\n      removeListener = (0, _listenInput[\"default\"])(input, function (value) {\n        !textAreaProps.disabled && handleOnChange(value, true);\n      }, {\n        timeout: 0,\n        isCache: false\n      });\n    } else {\n      removeListener && removeListener();\n      input = null;\n    }\n  }, []);\n\n  // 模糊查询下拉列表changed\n  var handleOnChange = function handleOnChange(val) {\n    var triggerEvent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n    selectedIndex !== 0 && setSelectedIndex(0);\n    searchList.count() > 0 && setSearchList((0, _immutable.List)());\n    if (val === '') {\n      showList && setShowList(false);\n    } else {\n      AddressQueryStatus.current = false;\n      if (openFuzzyQuery && triggerEvent) {\n        // 表格中，value改变，不显示面板\n        !showList && setShowList(true);\n        handleAddressChange && handleAddressChange(val);\n      }\n    }\n  };\n\n  // 手动选择\n  var onItemClick = function onItemClick(val, primaryKey) {\n    var newVal = val;\n    handleAddressSelectItem && handleAddressSelectItem(primaryKey);\n    resetEditData();\n    if (typeof newVal === 'string') {\n      newVal = newVal.replace(/(\\r)/g, '').trim();\n    }\n    inputChangeByHands.current = false;\n  };\n\n  // 鼠标在下拉面板中进行选择时\n  var onItemMouseEnter = function onItemMouseEnter(index) {\n    if (selectedIndex !== index) {\n      setSelectedIndex(index);\n    }\n  };\n  var doSetItemByNumber = function doSetItemByNumber(val) {\n    setItemByNumber && setItemByNumber(val);\n  };\n\n  // 失焦时，发送指令setItemByNumber到后端\n  var handleBlur = function handleBlur(event) {\n    var targetVal = event.target.value.trim();\n    if (value !== targetVal && inputChangeByHands.current) {\n      doSetItemByNumber(targetVal);\n    }\n    inputChangeByHands.current = false;\n    // 后端使用u指令更新，如果上次的值的空，这一次失焦时输入框有值，但是返回u指令为空，value并不会更新。故setAddressValue处理\n    setAddressValue(value);\n  };\n\n  // 还原编辑前数据状态\n  var resetEditData = function resetEditData() {\n    AddressQueryStatus.current = false;\n    setShowList(false);\n    setSelectedIndex(0);\n    setSearchList((0, _immutable.List)());\n  };\n  var hasSearchDatas = function hasSearchDatas() {\n    return searchList && searchList.count() > 0;\n  };\n\n  // 获取面板中每一列数据\n  var getColumnsData = function getColumnsData() {\n    var datas = searchList.map(function (item, index) {\n      var isSelected = index === selectedIndex;\n      var itemClassName = (0, _classnames2[\"default\"])('kd-cq-dropdown-menu-item', _defineProperty(_defineProperty({}, _Address[\"default\"].item, true), 'theme hover-bg', isSelected));\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        key: index,\n        className: itemClassName,\n        onClick: function onClick() {\n          return onItemClick(item.get('detail'), item.get('id'));\n        },\n        onMouseOver: function onMouseOver() {\n          return onItemMouseEnter(index);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        key: 1,\n        title: item.get('detail'),\n        className: _Address[\"default\"]['item-text']\n      }, item.get('detail')));\n    });\n    return datas;\n  };\n\n  // 获取“无数据”时面板\n  var getNoDataPanel = function getNoDataPanel() {\n    // 获取情感化图片设置\n    var _getCommonEmotionalIn = (0, _defaultPropsUtil.getCommonEmotionalInfo)(_emotionalConst.EMOTIONAL_TYPE_NO_DATA),\n      imagePath = _getCommonEmotionalIn.imagePath,\n      description = _getCommonEmotionalIn.description;\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _Address[\"default\"].ad_no_data\n    }, AddressQueryStatus.current ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _Address[\"default\"].nd\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n      src: imagePath || _no_data[\"default\"],\n      className: _Address[\"default\"].nd_flag\n    }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n      className: (0, _classnames2[\"default\"])('kd-cq-empty-description', _Address[\"default\"].nd_text)\n    }, description || (0, _intlApi.getLangMsg)({\n      key: 'Address.key0001'\n    }))) : /*#__PURE__*/_react[\"default\"].createElement(_LoadingGIF[\"default\"], null));\n  };\n  var closeSelectPanel = function closeSelectPanel() {\n    resetEditData();\n  };\n\n  // 模糊查询下拉面板\n  var createPanel = function createPanel() {\n    var dropDownClassName = (0, _classnames2[\"default\"])('kd-cq-dropdown kd-cq-dropdown-select-type kd-cq-address-dropdown', _Address[\"default\"]['qs-list'], _commonAnimation[\"default\"]['panel-drop-down-animation']);\n    var trigger = txtQSTextArea.current;\n    return /*#__PURE__*/_reactDom[\"default\"].createPortal( /*#__PURE__*/_react[\"default\"].createElement(_PanelWrapper[\"default\"], {\n      trigger: trigger,\n      onClose: closeSelectPanel\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      tabIndex: 0,\n      className: dropDownClassName\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: (0, _classnames2[\"default\"])(_Address[\"default\"]['item-container'])\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n      className: _Address[\"default\"]['qs-list-inner']\n    }, hasSearchDatas() ? getColumnsData() : getNoDataPanel())))), (getPopupPanel === null || getPopupPanel === void 0 ? void 0 : getPopupPanel()) || document.body);\n  };\n  var handleChange = function handleChange(event) {\n    var disabled = textAreaProps.disabled;\n    if (disabled) return;\n    var value = event.target.value;\n    inputChangeByHands.current = true;\n    // 更改输入框的值\n    setAddressValue(value);\n    // 模糊查询\n    handleOnChange(value, false);\n  };\n  var textAreaStyle = Object.assign({}, inputStyle, {\n    paddingLeft: 0\n  });\n  var noValue = textAreaProps.disabled ? (0, _componentutil.getNOValue)() : ''; // 获取”锁定非空提示“，如获取不到再取noValue\n\n  var isLockWithNoValue = textAreaProps.disabled && !addressValue && noValue;\n  var inputClassNames = (0, _classnames2[\"default\"])(_Address[\"default\"].text, inputClass, {\n    'lock-with-no-value': isLockWithNoValue\n  });\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: containerClassNames,\n    style: containerStyle,\n    ref: txtQSTextArea\n  }, /*#__PURE__*/_react[\"default\"].createElement(_kdesign.TextArea, _extends({\n    autoComplete: \"new-password\"\n  }, textAreaProps, {\n    className: inputClassNames,\n    style: textAreaStyle,\n    type: \"text\"\n    // disabled\n    ,\n    title: addressValue || noValue,\n    value: addressValue || noValue,\n    placeholder: placeholder,\n    onChange: handleChange,\n    onClick: handleTextClick,\n    onBlur: handleBlur,\n    borderType: \"none\"\n  })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: iconContainerClassNames,\n    style: iconContainerStyle,\n    onClick: handleIconClick\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: iconClassNames\n  })), showList && createPanel());\n}\nvar _default = exports[\"default\"] = Address;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Address.js?");

/***/ }),

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

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.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.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/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\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); }\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.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _AdminDivision = _interopRequireDefault(__webpack_require__(/*! ./AdminDivision.less */ \"./src/component/web/base/AdminDivision/AdminDivision.less\"));\nvar _commonAnimation = _interopRequireDefault(__webpack_require__(/*! @/component/common/commonAnimation.less */ \"./src/component/common/commonAnimation.less\"));\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _SelectNodata = _interopRequireDefault(__webpack_require__(/*! @/component/web/base/SelectNodata */ \"./src/component/web/base/SelectNodata.jsx\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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); }\nfunction AdminDivisionPanel(props) {\n  var tabTitle = props.tabTitle,\n    provinceAry = props.provinceAry,\n    adminDivisionAry = props.adminDivisionAry,\n    handleSelectAdminDivision = props.handleSelectAdminDivision,\n    tabIndex = props.tabIndex,\n    switchTab = props.switchTab;\n  var getProviceContent = function getProviceContent(items) {\n    return items.map(function (item, index) {\n      var groupTitle = item.groupTitle;\n      var provinceNameAry = item.items;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        key: \"provice_\".concat(index)\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: \"theme-fc\"\n      }, groupTitle), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _AdminDivision[\"default\"]['province-content']\n      }, provinceNameAry.map(function (provinceObj, subIndex) {\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          key: \"pro_name_\".concat(subIndex),\n          onClick: function onClick() {\n            return handleSelectAdminDivision(provinceObj.id);\n          },\n          className: (0, _classnames3[\"default\"])(_AdminDivision[\"default\"]['province-content-item'], 'kd-hover', 'kd-hover-color'),\n          title: provinceObj.name\n        }, provinceObj.name);\n      })));\n    });\n  };\n  var getTabContent = function getTabContent() {\n    if (tabIndex === 0) {\n      return getProviceContent(provinceAry);\n    } else {\n      return adminDivisionAry.length ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _AdminDivision[\"default\"]['next-admindivision-content']\n      }, adminDivisionAry.map(function (item, idx) {\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          key: \"obj_\".concat(idx),\n          onClick: function onClick() {\n            return handleSelectAdminDivision(item.id);\n          },\n          className: (0, _classnames3[\"default\"])(_AdminDivision[\"default\"]['next-admindivision-content-item'], 'kd-hover', 'kd-hover-color'),\n          title: item.name\n        }, item.name);\n      })) : /*#__PURE__*/_react[\"default\"].createElement(_SelectNodata[\"default\"], {\n        className: _AdminDivision[\"default\"]['select-no-data'],\n        content: (0, _intlApi.getLangMsg)({\n          key: 'AdminDivision.key0004'\n        })\n      });\n    }\n  };\n  var getTabTitle = function getTabTitle(tabIndex) {\n    var aClassName = (0, _classnames3[\"default\"])(_defineProperty(_defineProperty({}, _AdminDivision[\"default\"].cur, true), 'kd-active', true));\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _AdminDivision[\"default\"]['tab-content']\n    }, tabTitle.map(function (item, idx) {\n      return item.name && /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n        key: \"provin_\".concat(idx),\n        className: tabIndex === idx ? aClassName : '',\n        onClick: function onClick() {\n          return switchTab(idx);\n        }\n      }, item.name);\n    }));\n  };\n  var DivisionPanel = null;\n  if (provinceAry.length === 0 || tabTitle.length === 0) {\n    DivisionPanel = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: (0, _classnames3[\"default\"])(_defineProperty(_defineProperty({}, _AdminDivision[\"default\"]['no-data'], true), 'theme-fc', true))\n    }, (0, _intlApi.getLangMsg)({\n      key: 'AdminDivision.key0002'\n    }));\n  } else {\n    DivisionPanel = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: (0, _classnames3[\"default\"])('kd-cq-dropdown kd-cq-dropdown-select-type', _AdminDivision[\"default\"]['address-select'], _commonAnimation[\"default\"]['panel-drop-down-animation'])\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _AdminDivision[\"default\"]['address-select-tab']\n    }, getTabTitle(tabIndex)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _AdminDivision[\"default\"]['address-select-content']\n    }, getTabContent()));\n  }\n  return DivisionPanel;\n}\nvar _default = exports[\"default\"] = AdminDivisionPanel;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/AdminDivision/AdminDivisionPanel.js?");

/***/ }),

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

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[\"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.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _CountryName = _interopRequireDefault(__webpack_require__(/*! ./CountryName */ \"./src/component/web/base/AdminDivision/CountryName.js\"));\nvar _AdminDivision = _interopRequireDefault(__webpack_require__(/*! ./AdminDivision.less */ \"./src/component/web/base/AdminDivision/AdminDivision.less\"));\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction CountryList(props) {\n  var countryAry = props.countryAry,\n    countryNameIndex = props.countryNameIndex,\n    handleSelectCountry = props.handleSelectCountry,\n    searchWord = props.searchWord;\n  return /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n    className: (0, _classnames[\"default\"])(_AdminDivision[\"default\"]['drop-down-div'])\n  }, countryAry.length ? countryAry.map(function (item, index) {\n    var isSelected = countryNameIndex === index;\n    if (item && item.name && item.id) {\n      return /*#__PURE__*/_react[\"default\"].createElement(_CountryName[\"default\"], {\n        key: \"drop-down_\".concat(index),\n        isSelected: isSelected,\n        onClick: handleSelectCountry,\n        item: item,\n        searchWord: searchWord\n      });\n    } else {\n      console.warn('adminidivision: countryname or countryid is null or undefined');\n    }\n  }) : /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n    className: _AdminDivision[\"default\"]['no-result-li']\n  }, (0, _intlApi.getLangMsg)('AdminDivision.noResult')));\n}\nvar _default = exports[\"default\"] = CountryList;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/AdminDivision/CountryList.js?");

/***/ }),

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

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.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[\"default\"] = void 0;\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.array.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.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.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.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.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.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 _AdminDivision = _interopRequireDefault(__webpack_require__(/*! ./AdminDivision.less */ \"./src/component/web/base/AdminDivision/AdminDivision.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 _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); }\nfunction CountryName(props) {\n  var item = props.item,\n    _onClick = props.onClick,\n    isSelected = props.isSelected,\n    searchWord = props.searchWord;\n  var spanRef = (0, _react.useRef)(null);\n  (0, _react.useEffect)(function () {\n    /**\n       * 如果为true，元素的顶端将和其所在滚动区的可视区域的顶端对齐\n       * 如果为false，元素的底端将和其所在滚动区的可视区域的底端对齐\n      */\n    isSelected && spanRef.current.scrollIntoView({\n      behavior: 'smooth',\n      block: 'end'\n    });\n  }, [isSelected]);\n  var spanClassName = (0, _classnames2[\"default\"])('kd-cq-dropdown-menu-item', _defineProperty(_defineProperty({\n    'hover-bg kd-cq-dropdown-menu-item-active': isSelected\n  }, _AdminDivision[\"default\"]['drop-down-div-span'], true), 'kd-hover', true));\n  var value = item.name;\n  var index = value.toLowerCase().indexOf(searchWord.toLowerCase());\n  var highlightWord = '';\n  var head = '';\n  var tail = '';\n  if (index > -1) {\n    highlightWord = value.substr(index, searchWord.length);\n    head = value.substr(0, index);\n    tail = value.substr(index + searchWord.length);\n  } else {\n    head = value;\n  }\n  return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n    ref: spanRef,\n    className: spanClassName,\n    onClick: function onClick() {\n      return _onClick(item);\n    }\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    dangerouslySetInnerHTML: {\n      __html: \"\".concat(head, \"<span class=\\\"theme-fc\\\">\").concat(highlightWord, \"</span>\").concat(tail)\n    }\n  }));\n}\nvar _default = exports[\"default\"] = CountryName;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/AdminDivision/CountryName.js?");

/***/ }),

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

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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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-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.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.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.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _keyCodeTool = __webpack_require__(/*! @/util/keyCodeTool */ \"./src/util/keyCodeTool.js\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _AdminDivision = _interopRequireDefault(__webpack_require__(/*! ./AdminDivision.less */ \"./src/component/web/base/AdminDivision/AdminDivision.less\"));\nvar _CountryList = _interopRequireDefault(__webpack_require__(/*! ./CountryList */ \"./src/component/web/base/AdminDivision/CountryList.js\"));\nvar _admindivisionUtil = __webpack_require__(/*! @/util/admindivisionUtil */ \"./src/util/admindivisionUtil.js\");\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 _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 CountryPanel(props) {\n  var countryAry = props.countryAry,\n    countryNameIndex = props.countryNameIndex,\n    handleSelectCountry = props.handleSelectCountry;\n  var _useState = (0, _react.useState)(countryNameIndex),\n    _useState2 = _slicedToArray(_useState, 2),\n    selectIndex = _useState2[0],\n    setIndex = _useState2[1];\n  var _useState3 = (0, _react.useState)(''),\n    _useState4 = _slicedToArray(_useState3, 2),\n    searchWord = _useState4[0],\n    setSearchWord = _useState4[1];\n  var searchInputRef = (0, _react.useRef)(null);\n  var search = function search(e) {\n    var searchWord = e.target.value;\n    setSearchWord(searchWord);\n    setIndex(-1);\n  };\n  var resultAry = (0, _admindivisionUtil.getEnableData)(searchWord, countryAry);\n  var handleSearchInputKeyDown = function handleSearchInputKeyDown(e) {\n    /**\n     * 左：keyCode 37, key 'ArrowLeft'\n     * 右：keyCode 39, key 'ArrowRight'\n     * 上：keyCode 38, key 'ArrowUp'\n     * 下：keyCode 40, key 'ArrowDown'\n     * 回车键：keyCode 13, key 'Enter'\n     * ESC键：keyCode 27, key 'Escape'\n     * Tab键：keyCode 9, key 'Tab'\n    */\n    if (resultAry.length) {\n      var keyCode = (0, _keyCodeTool.getKeyCode)(e);\n      switch (keyCode) {\n        case 37:\n        case 39:\n          break;\n        case 38:\n          if (selectIndex !== -1 && selectIndex !== 0) {\n            setIndex(selectIndex - 1);\n          }\n          break;\n        case 40:\n          if (selectIndex === -1) {\n            setIndex(0);\n            break;\n          }\n          if (selectIndex < resultAry.length - 1) {\n            setIndex(selectIndex + 1);\n          } else {\n            setIndex(resultAry.length - 1);\n          }\n          break;\n        case 13:\n          selectIndex > -1 && handleSelectCountry(resultAry[selectIndex]);\n          break;\n        case 27:\n        case 9:\n          handleSelectCountry(resultAry[0]);\n          break;\n        default:\n      }\n    }\n  };\n  (0, _react.useEffect)(function () {\n    searchInputRef.current && searchInputRef.current.focus();\n  }, []);\n  return countryAry.length ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _AdminDivision[\"default\"]['search-input-div']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: \"kdfont kdfont-f\",\n    style: {\n      cursor: 'pointer',\n      color: '#666'\n    }\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n    ref: searchInputRef,\n    className: (0, _classnames[\"default\"])('kd-cq-input', _AdminDivision[\"default\"]['search-input']),\n    placeholder: (0, _intlApi.getLangMsg)('AdminDivision.searchPlaceholder'),\n    onChange: search,\n    onKeyDown: handleSearchInputKeyDown,\n    autoComplete: \"off\"\n  })), /*#__PURE__*/_react[\"default\"].createElement(_CountryList[\"default\"], {\n    countryAry: resultAry,\n    countryNameIndex: selectIndex,\n    handleSelectCountry: handleSelectCountry,\n    searchWord: searchWord\n  })) : /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _AdminDivision[\"default\"]['no-data-tip-class']\n  }, (0, _intlApi.getLangMsg)('AdminDivision.key0004'));\n}\nvar _default = exports[\"default\"] = CountryPanel;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/AdminDivision/CountryPanel.js?");

/***/ }),

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

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.find-index.js */ \"../../node_modules/core-js/modules/es.array.find-index.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.join.js */ \"../../node_modules/core-js/modules/es.array.join.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _reactDom = __webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\");\nvar _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _AdminDivision = _interopRequireDefault(__webpack_require__(/*! ./AdminDivision.less */ \"./src/component/web/base/AdminDivision/AdminDivision.less\"));\nvar _baseComponent = _interopRequireDefault(__webpack_require__(/*! @/component/web/base/baseComponent.less */ \"./src/component/web/base/baseComponent.less\"));\nvar _commonAnimation = _interopRequireDefault(__webpack_require__(/*! @/component/common/commonAnimation.less */ \"./src/component/common/commonAnimation.less\"));\nvar _keyCodeTool = __webpack_require__(/*! @/util/keyCodeTool */ \"./src/util/keyCodeTool.js\");\nvar _AdminDivisionPanel = _interopRequireDefault(__webpack_require__(/*! ./AdminDivisionPanel */ \"./src/component/web/base/AdminDivision/AdminDivisionPanel.js\"));\nvar _CountryPanel = _interopRequireDefault(__webpack_require__(/*! ./CountryPanel */ \"./src/component/web/base/AdminDivision/CountryPanel.js\"));\nvar _PanelWrapper = _interopRequireDefault(__webpack_require__(/*! @/component/common/PanelWrapper */ \"./src/component/common/PanelWrapper.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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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); }\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; }\n/**\n * @author zejie_liao\n * @description 2020年1月21日 React Hooks重构行政区划控件第一版\n */\n\nfunction AdminDivision(props) {\n  var noValue = props.noValue,\n    _props$tabTitle = props.tabTitle,\n    tabTitle = _props$tabTitle === void 0 ? [] : _props$tabTitle,\n    provinceAry = props.provinceAry,\n    countryAry = props.countryAry,\n    tabIndex = props.tabIndex,\n    switchTab = props.switchTab,\n    placeholder = props.placeholder,\n    handleSelectCountry = props.handleSelectCountry,\n    handleSelectAdminDivision = props.handleSelectAdminDivision,\n    disabled = props.disabled,\n    adminDivisionInfo = props.adminDivisionInfo,\n    style = props.style,\n    theme = props.theme,\n    adminDivisionAry = props.adminDivisionAry,\n    countryName = props.countryName,\n    isNoUnderLineLockStyle = props.isNoUnderLineLockStyle,\n    getPopupContainer = props.getPopupContainer,\n    containerStyle = props.containerStyle,\n    lock = props.lock;\n  var _useState = (0, _react.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    countryPanelShow = _useState2[0],\n    setCountryPanelShow = _useState2[1];\n  var _useState3 = (0, _react.useState)(false),\n    _useState4 = _slicedToArray(_useState3, 2),\n    adminDivisionPanelShow = _useState4[0],\n    setAdminDivisionPanelShow = _useState4[1];\n  var rootRef = (0, _react.useRef)(null);\n  var countryInputWrapRef = (0, _react.useRef)(null);\n  var adminDivisionInputWrapRef = (0, _react.useRef)(null);\n  var countryPanelRef = (0, _react.useRef)(null);\n  // const adminDivisionPanelRef = useRef(null)\n\n  (0, _react.useEffect)(function () {\n    if (tabTitle.length === tabIndex) {\n      setAdminDivisionPanelShow(false);\n      switchTab(tabIndex - 1);\n    }\n  }, [tabIndex, tabTitle]);\n  var selectCountry = function selectCountry(item) {\n    handleSelectCountry(item);\n    setCountryPanelShow(false);\n  };\n  var handleCountryInputFocus = function handleCountryInputFocus(e) {\n    if (disabled) return;\n    e.stopPropagation();\n    setCountryPanelShow(true);\n    setAdminDivisionPanelShow(false);\n  };\n  var handleAdminDivisionInputFocus = function handleAdminDivisionInputFocus(e) {\n    if (disabled) return;\n    e.stopPropagation();\n    setCountryPanelShow(false);\n    setAdminDivisionPanelShow(true);\n  };\n  var handleCountryInputArrowClick = function handleCountryInputArrowClick(e) {\n    e.stopPropagation();\n    if (!countryPanelShow) {\n      setCountryPanelShow(true);\n      setAdminDivisionPanelShow(false);\n    } else {\n      setCountryPanelShow(false);\n    }\n  };\n  var handleAdminDivisionInputArrowClick = function handleAdminDivisionInputArrowClick(e) {\n    e.stopPropagation();\n    if (!adminDivisionPanelShow) {\n      setCountryPanelShow(false);\n      setAdminDivisionPanelShow(true);\n    } else {\n      setAdminDivisionPanelShow(false);\n    }\n  };\n  var handleAdminDivisionInputKeyDown = function handleAdminDivisionInputKeyDown(e) {\n    var keyCode = (0, _keyCodeTool.getKeyCode)(e);\n    if (keyCode === 9) {\n      setAdminDivisionPanelShow(false);\n    }\n  };\n  var getValueByAdminDivisionInfo = function getValueByAdminDivisionInfo(adminDivisionInfo) {\n    return adminDivisionInfo.join('/');\n  };\n  var createPositionStyle = function createPositionStyle(refDom) {\n    var showPanelWidth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n    var showPanelHeight = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n    var rect = refDom.getBoundingClientRect();\n    var left = rect.left + (document.documentElement.scrollLeft || document.body.scrollLeft);\n    var top = rect.bottom + (document.documentElement.scrollTop || document.body.scrollTop);\n    // const showPanelWidth = 420\n    var fieldTitleHeight = theme === 'flat' ? 0 : 17;\n    top = theme === 'flat' ? top + 8 : top + 5;\n    if (top > window.innerHeight) {\n      // 展出面板超出屏幕，向上展示\n      top = rect.top - fieldTitleHeight;\n    }\n    if (window.innerHeight - top < showPanelHeight && top > showPanelHeight) {\n      // 控件之下无法完全显示的情况显示在控件之上\n      top = rect.top - showPanelHeight;\n    }\n    if (left + showPanelWidth > window.innerWidth) {\n      // 宽度超出屏幕，右对齐展示\n      left = left - (showPanelWidth ? showPanelWidth - rect.width : rect.width);\n    }\n    var style = {\n      top: top + 'px',\n      left: left + 'px',\n      minWidth: rect.width + 'px',\n      position: 'fixed',\n      zIndex: 1050\n    };\n    return style;\n  };\n  var renderCountryPanel = function renderCountryPanel() {\n    // 获取表格传入的弹窗父级容器\n    var containter = getPopupContainer && getPopupContainer();\n    var countryNameIndex = countryAry.findIndex(function (value) {\n      return value.name === countryValue;\n    });\n    return /*#__PURE__*/(0, _reactDom.createPortal)( /*#__PURE__*/_react[\"default\"].createElement(_PanelWrapper[\"default\"], {\n      onClose: function onClose() {\n        return setCountryPanelShow(false);\n      },\n      trigger: rootRef.current,\n      keepFocus: true\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      ref: countryPanelRef,\n      className: (0, _classnames3[\"default\"])('kd-cq-dropdown kd-cq-dropdown-select-type kd-cq-admindivision-dropdown', _AdminDivision[\"default\"]['search-panel'], _commonAnimation[\"default\"]['panel-drop-down-animation'])\n    }, /*#__PURE__*/_react[\"default\"].createElement(_CountryPanel[\"default\"], {\n      countryNameIndex: countryNameIndex,\n      countryAry: countryAry,\n      handleSelectCountry: selectCountry\n    }))), containter || document.body);\n  };\n  var renderAdminDivisionPanel = function renderAdminDivisionPanel() {\n    var containter = getPopupContainer && getPopupContainer();\n    return /*#__PURE__*/(0, _reactDom.createPortal)( /*#__PURE__*/_react[\"default\"].createElement(_PanelWrapper[\"default\"], {\n      onClose: function onClose() {\n        return setAdminDivisionPanelShow(false);\n      },\n      trigger: rootRef.current\n    }, /*#__PURE__*/_react[\"default\"].createElement(_AdminDivisionPanel[\"default\"], {\n      provinceAry: provinceAry,\n      tabTitle: tabTitle,\n      adminDivisionAry: adminDivisionAry,\n      handleSelectAdminDivision: handleSelectAdminDivision,\n      tabIndex: tabIndex,\n      switchTab: switchTab\n    })), containter || document.body);\n  };\n  var getImgClassName = function getImgClassName(flag) {\n    return (0, _classnames3[\"default\"])(_AdminDivision[\"default\"]['img-i'], 'kdfont kdfont-xiala kd-cq-trigger-icon', _commonAnimation[\"default\"]['arrow-move-in-animation'], _defineProperty({}, _commonAnimation[\"default\"]['arrow-move-out-animation'], flag));\n  };\n  var addressValue = adminDivisionInfo.length !== 0 ? getValueByAdminDivisionInfo(adminDivisionInfo) : placeholder;\n  var countryValue = disabled && adminDivisionInfo.length === 0 ? noValue : countryName;\n  var countryInputClassName = (0, _classnames3[\"default\"])('kd-cq-admindivision-region-input', _AdminDivision[\"default\"]['input-' + theme], _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _baseComponent[\"default\"]['field-disabled-no-value-color'], disabled && adminDivisionInfo.length === 0), _AdminDivision[\"default\"]['country-input-lock'], isNoUnderLineLockStyle), _AdminDivision[\"default\"]['lock-with-no-value'], lock && countryValue === noValue), _AdminDivision[\"default\"]['region-input-wrapper'], true));\n  var addressStyle = _objectSpread({}, style);\n  var regionStyle = _objectSpread({}, style);\n  if (addressValue === placeholder) {\n    addressStyle.color = '#B2B2B2';\n  }\n  if (disabled && adminDivisionInfo.length === 0) {\n    regionStyle.color = '#B2B2B2';\n  }\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    ref: rootRef,\n    className: (0, _classnames3[\"default\"])('kd-cq-control kd-cq-admindivision', _AdminDivision[\"default\"].address),\n    \"data-summary\": \"\".concat(countryValue, \"/\").concat(addressValue),\n    style: containerStyle\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    ref: countryInputWrapRef,\n    className: (0, _classnames3[\"default\"])(_AdminDivision[\"default\"]['region-div-' + theme], _AdminDivision[\"default\"]['admindivision-input-div'], _AdminDivision[\"default\"].left),\n    onClick: !disabled && handleCountryInputFocus\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: countryInputClassName,\n    title: countryValue,\n    style: regionStyle\n  }, countryValue), disabled ? null : /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: getImgClassName(countryPanelShow),\n    onClick: handleCountryInputArrowClick\n  })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    ref: adminDivisionInputWrapRef,\n    className: (0, _classnames3[\"default\"])(_AdminDivision[\"default\"]['address-div-' + theme], _AdminDivision[\"default\"]['admindivision-input-div'], _AdminDivision[\"default\"].right),\n    onClick: !disabled && handleAdminDivisionInputFocus,\n    \"data-role\": \"kd-admin-division-address-input\"\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames3[\"default\"])(countryInputClassName, {\n      'kd-cq-admindivision-region-input-placeholder': addressValue === placeholder\n    }),\n    title: addressValue,\n    style: addressStyle\n  }, addressValue), disabled ? null : /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: getImgClassName(adminDivisionPanelShow),\n    onClick: handleAdminDivisionInputArrowClick\n  })), countryPanelShow && renderCountryPanel(), adminDivisionPanelShow && renderAdminDivisionPanel());\n}\nvar _default = exports[\"default\"] = AdminDivision;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/AdminDivision/index.js?");

/***/ }),

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

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.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-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.AdvConToolbarItem = exports.AdvConToolbar = 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.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.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.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\");\n__webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _AdvConToolbar = _interopRequireDefault(__webpack_require__(/*! ./AdvConToolbar.less */ \"./src/component/web/base/AdvConToolbar.less\"));\nvar _classnames12 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\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 _defaultproperties = __webpack_require__(/*! ../../../constant/defaultproperties */ \"./src/constant/defaultproperties.js\");\nvar _ControlLoading = _interopRequireDefault(__webpack_require__(/*! ../../common/ControlLoading */ \"./src/component/common/ControlLoading.jsx\"));\nvar _commonAnimation = _interopRequireDefault(__webpack_require__(/*! ../../common/commonAnimation.less */ \"./src/component/common/commonAnimation.less\"));\nvar _propnames = __webpack_require__(/*! ../../../designer/constant/propnames */ \"./src/designer/constant/propnames.js\");\nvar _doubleClickToChangePropertyUtil = __webpack_require__(/*! ../../../designer/utils/doubleClickToChangePropertyUtil */ \"./src/designer/utils/doubleClickToChangePropertyUtil.js\");\nvar _keyCode = __webpack_require__(/*! @/constant/keyCode */ \"./src/constant/keyCode.js\");\nvar _memoryCacher = __webpack_require__(/*! @/model/memoryCacher */ \"./src/model/memoryCacher.js\");\nvar _advconUtil = __webpack_require__(/*! @/util/advconUtil */ \"./src/util/advconUtil.js\");\nvar _global = _interopRequireWildcard(__webpack_require__(/*! @/global */ \"./src/global/index.js\"));\nvar _fieldConst = __webpack_require__(/*! ./../../../constant/fieldConst */ \"./src/constant/fieldConst.js\");\nvar _elementUtil = __webpack_require__(/*! ./../../common/elementUtil */ \"./src/component/common/elementUtil.js\");\nvar _excluded = [\"children\", \"style\", \"className\", \"isDesigner\", \"onAddItem\", \"getVisible\", \"getLocked\", \"locked\"],\n  _excluded2 = [\"Name\", \"Key\", \"type\", \"shortCutTips\", \"className\", \"id\", \"style\", \"OperationKey\", \"replacedOperationKey\", \"DropdownItems\", \"onClick\", \"isRunTime\", \"onDropDownClick\", \"getVisible\", \"getLocked\", \"locked\", \"toolbarLoading\", \"field\", \"onTwiceClick\", \"forwardedRef\", \"pageId\", \"slot\"];\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 _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 delayMethod = (window.requestAnimationFrame || window.setTimeout).bind(window);\nvar AdvConToolbar = exports.AdvConToolbar = /*#__PURE__*/function (_React$Component) {\n  _inherits(AdvConToolbar, _React$Component);\n  function AdvConToolbar() {\n    _classCallCheck(this, AdvConToolbar);\n    return _callSuper(this, AdvConToolbar, arguments);\n  }\n  _createClass(AdvConToolbar, [{\n    key: \"addItem\",\n    value: function addItem() {\n      if (this.props.onAddItem) {\n        this.props.onAddItem();\n      }\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      if (this.props.attachToTab) {\n        var currentTabId = (0, _advconUtil.getCurrentTabId)(this.advConToolbar);\n        if (currentTabId) {\n          (0, _memoryCacher.setPageData)(this.props.pageId, [currentTabId, '__advcon_toolbar_add_action__'], this.advConToolbar);\n        }\n      }\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      if (this.props.attachToTab) {\n        var currentTabId = (0, _advconUtil.getCurrentTabId)(this.advConToolbar);\n        if (currentTabId) {\n          (0, _memoryCacher.setPageData)(this.props.pageId, [currentTabId, '__advcon_toolbar_remove_action__'], this.advConToolbar);\n        }\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this = this;\n      var _this$props = this.props,\n        children = _this$props.children,\n        style = _this$props.style,\n        className = _this$props.className,\n        isDesigner = _this$props.isDesigner,\n        onAddItem = _this$props.onAddItem,\n        getVisible = _this$props.getVisible,\n        getLocked = _this$props.getLocked,\n        locked = _this$props.locked,\n        other = _objectWithoutProperties(_this$props, _excluded);\n      var classNames = (0, _classnames12[\"default\"])('kd-cq-container-toolbar', _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _AdvConToolbar[\"default\"].advTollBar, true), _AdvConToolbar[\"default\"].isDesigner, isDesigner), _AdvConToolbar[\"default\"]['pos-relative'], isDesigner), className, className));\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        className: classNames,\n        style: style,\n        ref: function ref(r) {\n          return _this.advConToolbar = r;\n        }\n      }, other), children, isDesigner ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _AdvConToolbar[\"default\"].add,\n        onClick: function onClick() {\n          _this.addItem();\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: (0, _classnames12[\"default\"])('kdfont kdfont-tianjia', _defineProperty({}, _AdvConToolbar[\"default\"]['add-icon'], true))\n      })) : null);\n    }\n  }]);\n  return AdvConToolbar;\n}(_react[\"default\"].Component);\nvar AdvConToolbarItem = exports.AdvConToolbarItem = /*#__PURE__*/function (_React$Component2) {\n  _inherits(AdvConToolbarItem, _React$Component2);\n  function AdvConToolbarItem(props) {\n    var _this2;\n    _classCallCheck(this, AdvConToolbarItem);\n    _this2 = _callSuper(this, AdvConToolbarItem, [props]);\n    // 添加滚动关闭面板\n    _this2.addScrollEvent = function () {\n      if (_global[\"default\"][_global.IS_FIREFOX]) {\n        document.addEventListener('DOMMouseScroll', _this2.scrollHandler, true);\n      } else {\n        document.addEventListener('scroll', _this2.scrollHandler, true);\n      }\n    };\n    // 移除滚动关闭面板\n    _this2.removeScrollEvent = function () {\n      if (_global[\"default\"][_global.IS_FIREFOX]) {\n        document.removeEventListener('DOMMouseScroll', _this2.scrollHandler, true);\n      } else {\n        document.removeEventListener('scroll', _this2.scrollHandler, true);\n      }\n    };\n    _this2.onClickOutSide = _this2.onClickOutSide.bind(_assertThisInitialized(_this2));\n    _this2.scrollHandler = _lodash[\"default\"].debounce(_this2.onClickOutSide, 300, {\n      leading: true,\n      trailing: true\n    });\n    _this2.handleDropDown = _this2.handleDropDown.bind(_assertThisInitialized(_this2));\n    _this2.onHandleMouseover = _this2.onHandleMouseover.bind(_assertThisInitialized(_this2));\n    _this2.onHandleMouseout = _this2.onHandleMouseout.bind(_assertThisInitialized(_this2));\n    _this2.handleKeyDown = _this2.handleKeyDown.bind(_assertThisInitialized(_this2));\n    _this2.state = {\n      show: false,\n      hover: false\n    };\n    return _this2;\n  }\n  _createClass(AdvConToolbarItem, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      document.addEventListener('click', this.onClickOutSide);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      // 组件销毁的时候，this.closeSelectPanel里面的setState不会调用\n      // this.closeSelectPanel()\n      // 组件销毁的时候直接移除监听事件和移除面板元素\n      this.destroySelectPanel();\n      this.removeScrollEvent();\n      document.removeEventListener('click', this.onClickOutSide);\n    }\n  }, {\n    key: \"onClickOutSide\",\n    value: function onClickOutSide(e) {\n      if (!this.state.show && !this.attachElement) return;\n      var target = e.target;\n      while (target) {\n        if (target === this.attachElement || target === _reactDom[\"default\"].findDOMNode(this)) {\n          return;\n        }\n        target = target.parentNode;\n      }\n      this.closeSelectPanel();\n    }\n  }, {\n    key: \"handleDropDown\",\n    value: function handleDropDown(e) {\n      if (!this.props.isRunTime) {\n        this.props.onClick(e);\n      }\n      e.stopPropagation();\n      if (this.state.show) {\n        this.closeSelectPanel();\n      } else {\n        this.openSelectPanel();\n      }\n    }\n\n    // item click\n  }, {\n    key: \"onClick\",\n    value: function onClick(e) {\n      if (this.state.show) {\n        this.closeSelectPanel();\n      }\n      var _this$props2 = this.props,\n        id = _this$props2.id,\n        Name = _this$props2.Name;\n      this.setState({\n        subItemId: id,\n        loadingTitle: Name\n      });\n      if (this.props.locked !== true) {\n        this.props.onClick && this.props.onClick(e);\n      }\n    }\n  }, {\n    key: \"onHandleMouseover\",\n    value: function onHandleMouseover() {\n      this.setState({\n        hover: true\n      });\n    }\n  }, {\n    key: \"onHandleMouseout\",\n    value: function onHandleMouseout() {\n      this.setState({\n        hover: false\n      });\n    }\n  }, {\n    key: \"handleKeyDown\",\n    value: function handleKeyDown(e) {\n      switch (e.keyCode) {\n        case _keyCode.KEYS.ESC:\n          if (!this.state.show && !this.attachElement) return;\n          e.stopPropagation();\n          this.closeSelectPanel();\n          break;\n        default:\n          break;\n      }\n    }\n  }, {\n    key: \"openSelectPanel\",\n    value: function openSelectPanel() {\n      var _this3 = this;\n      this.setState({\n        show: true\n      }, function () {\n        _this3.renderSelectPanel();\n        _this3.addScrollEvent();\n      });\n    }\n  }, {\n    key: \"closeSelectPanel\",\n    value: function closeSelectPanel(title, id) {\n      var _this4 = this;\n      this.setState({\n        show: false,\n        loadingTitle: title,\n        subItemId: id\n      }, function () {\n        _this4.destroySelectPanel();\n        _this4.removeScrollEvent();\n      });\n    }\n  }, {\n    key: \"handleDropDownItemClick\",\n    value: function handleDropDownItemClick(id, opk, locked, title) {\n      this.closeSelectPanel(title, id);\n      if (this.props.isRunTime) {\n        // this.props.onDropDownClick(id,opk);\n\n        // 锁定了,则不发消息。toolbar的下拉项菜单meta没有'l'属性,因设计器不支持设置。\n        if (!locked) {\n          this.props.onDropDownClick && this.props.onDropDownClick(id, opk);\n        }\n      }\n    }\n  }, {\n    key: \"renderSelectPanel\",\n    value: function renderSelectPanel() {\n      var _this5 = this;\n      var container = this.attachElement;\n      if (!container) {\n        container = document.createElement('div');\n        container.className = (0, _classnames12[\"default\"])(_AdvConToolbar[\"default\"].toolbarItemPanel, _commonAnimation[\"default\"]['panel-drop-down-animation']);\n        document.body.appendChild(container);\n        this.attachElement = container;\n      }\n      var options = [];\n      (this.props.DropdownItems || []).forEach(function (item) {\n        if (item !== undefined) {\n          var isVisible = _this5.props.getVisible ? _this5.props.getVisible(item.Key, item.vi == undefined ? _defaultproperties.DEFAULT_CTRL_VISIBLE : item.vi) : true;\n          if (isVisible !== false) {\n            var itemLocked = _this5.props.getLocked ? _this5.props.getLocked(item.Key, item.l == undefined ? _defaultproperties.DEFAULT_CTRL_LOCK : item.l) : false;\n            var style_tmp = {};\n            if (_lodash[\"default\"].trim(item.Background)) {\n              style_tmp.background = _lodash[\"default\"].trim(item.Background);\n            }\n            var dropDownItem = /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n              className: (0, _classnames12[\"default\"])('kd-cq-dropdown-menu-item', _AdvConToolbar[\"default\"].dropdownItem, _defineProperty({}, \"\".concat(_AdvConToolbar[\"default\"].disable, \" disabled-fc\"), itemLocked)),\n              style: style_tmp,\n              key: item.Key,\n              onClick: function onClick(e) {\n                return _this5.handleDropDownItemClick(item.Key, item.OperationKey, itemLocked, item.Title);\n              }\n            }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n              className: _AdvConToolbar[\"default\"].dropdownItemSpan\n            }, item.Title));\n            options.push(dropDownItem);\n          }\n        }\n      });\n      var rect = _reactDom[\"default\"].findDOMNode(this).getBoundingClientRect(); // eslint-disable-line\n      var style = {\n        minWidth: rect.width,\n        maxWidth: _fieldConst.TOOLBAR_ITEM_MAX_WIDTH\n      };\n      _reactDom[\"default\"].render( /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        style: style,\n        className: (0, _classnames12[\"default\"])(_AdvConToolbar[\"default\"].list, 'kd-cq-dropdown kd-cq-dropdown-select-type kd-cq-advcon-toolbar-dropdown')\n      }, options), container);\n      // 下拉面板没有渲染之前，无法拿到offsetWidth。这里改成渲染后再设置left top.\n      this.computePanelPosition();\n    }\n  }, {\n    key: \"destroySelectPanel\",\n    value: function destroySelectPanel() {\n      if (this.attachElement) {\n        _reactDom[\"default\"].unmountComponentAtNode(this.attachElement);\n        this.attachElement.parentNode.removeChild(this.attachElement);\n        this.attachElement = null;\n      }\n    }\n  }, {\n    key: \"computePanelPosition\",\n    value: function computePanelPosition() {\n      var _this6 = this;\n      delayMethod(function () {\n        var input = _reactDom[\"default\"].findDOMNode(_this6);\n        var div = _this6.attachElement;\n        if (!input || !div) return;\n\n        // 使用封装的函数取获取top和left\n        var _getPanelScreenByTrig = (0, _elementUtil.getPanelScreenByTrigger)({\n            panel: div,\n            trigger: input,\n            defaultAlign: 'bottom',\n            panelAlign: 'topOrBottom'\n          }),\n          top = _getPanelScreenByTrig.top,\n          left = _getPanelScreenByTrig.left;\n        div.style.cssText += \";display: block;top: \".concat(top + 4, \"px;left: \").concat(left, \"px;\");\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this7 = this;\n      var _this$props3 = this.props,\n        Name = _this$props3.Name,\n        Key = _this$props3.Key,\n        type = _this$props3.type,\n        shortCutTips = _this$props3.shortCutTips,\n        className = _this$props3.className,\n        id = _this$props3.id,\n        style = _this$props3.style,\n        OperationKey = _this$props3.OperationKey,\n        replacedOperationKey = _this$props3.replacedOperationKey,\n        DropdownItems = _this$props3.DropdownItems,\n        onClick = _this$props3.onClick,\n        isRunTime = _this$props3.isRunTime,\n        onDropDownClick = _this$props3.onDropDownClick,\n        getVisible = _this$props3.getVisible,\n        getLocked = _this$props3.getLocked,\n        locked = _this$props3.locked,\n        toolbarLoading = _this$props3.toolbarLoading,\n        field = _this$props3.field,\n        onTwiceClick = _this$props3.onTwiceClick,\n        forwardedRef = _this$props3.forwardedRef,\n        pageId = _this$props3.pageId,\n        slot = _this$props3.slot,\n        other = _objectWithoutProperties(_this$props3, _excluded2);\n      var _this$state = this.state,\n        loadingTitle = _this$state.loadingTitle,\n        subItemId = _this$state.subItemId;\n      var titleProps = (0, _doubleClickToChangePropertyUtil.getTitleProps)(field, _propnames.NAME, Name);\n      var controlProps = (0, _doubleClickToChangePropertyUtil.getControlProps)(field, onTwiceClick);\n      var replacedWithOpk = replacedOperationKey !== undefined && replacedOperationKey; // 被替换上来的且被替换的那一项是带操作代码的\n      var composedProps = _objectSpread(_objectSpread({}, titleProps), controlProps);\n      var showLoading;\n      if (toolbarLoading) {\n        showLoading = toolbarLoading.key === subItemId && toolbarLoading.showLoading;\n      }\n      if (DropdownItems && DropdownItems.length > 0 && (OperationKey || replacedWithOpk)) {\n        var toolbarItemCN = (0, _classnames12[\"default\"])('kd-cq-control kd-cq-btn kd-cq-advcon-btn kd-cq-container-toolbar-item', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, className, className), _AdvConToolbar[\"default\"].toolbarItemGroup, true), \"\".concat(_AdvConToolbar[\"default\"].disable, \" disabled-fc\"), locked), _AdvConToolbar[\"default\"].toolbarItemLoading, showLoading), _AdvConToolbar[\"default\"].toolbarItemGroupLoading, showLoading), _AdvConToolbar[\"default\"]['no-lock'],  true && !locked));\n        var downIcon = (0, _classnames12[\"default\"])('kdfont kdfont-xiala', _commonAnimation[\"default\"]['arrow-move-in-animation'], _defineProperty({}, _commonAnimation[\"default\"]['arrow-move-out-animation'], this.state.show));\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n          className: toolbarItemCN,\n          tabIndex: -1,\n          \"data-opk\": OperationKey,\n          \"data-type\": type,\n          \"data-title\": Name,\n          \"data-btn-key\": id,\n          id: id,\n          title: shortCutTips,\n          \"data-page-id\": pageId,\n          style: style,\n          onClick: function onClick(e) {\n            return _this7.onClick(e);\n          },\n          ref: forwardedRef,\n          onKeyDown: this.handleKeyDown\n        }, other, composedProps), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: (0, _classnames12[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, _AdvConToolbar[\"default\"].textspan, true), _AdvConToolbar[\"default\"]['disable-item'], locked), _AdvConToolbar[\"default\"].loading, showLoading))\n        }, showLoading && /*#__PURE__*/_react[\"default\"].createElement(_ControlLoading[\"default\"], {\n          className: _AdvConToolbar[\"default\"].movinLoading\n        }), showLoading ? loadingTitle : Name), !showLoading && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: _AdvConToolbar[\"default\"].downdiv,\n          \"data-opk\": OperationKey,\n          \"data-type\": type,\n          \"data-title\": Name,\n          \"data-btn-key\": id,\n          title: shortCutTips,\n          \"data-page-id\": pageId,\n          onClick: this.handleDropDown,\n          onMouseOver: this.onHandleMouseover,\n          onMouseOut: this.onHandleMouseout\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: downIcon\n        })), slot);\n      } else if (DropdownItems && DropdownItems.length > 0 && !OperationKey) {\n        var _toolbarItemCN = (0, _classnames12[\"default\"])('kd-cq-control kd-cq-btn kd-cq-advcon-btn kd-cq-container-toolbar-item', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, className, className), _AdvConToolbar[\"default\"].toolbarItemSet, true), \"\".concat(_AdvConToolbar[\"default\"].disable, \" disabled-fc\"), locked), _AdvConToolbar[\"default\"].toolbarItemLoading, showLoading), _AdvConToolbar[\"default\"]['no-lock'],  true && !locked));\n        var _downIcon = (0, _classnames12[\"default\"])('kdfont kdfont-xiala', _commonAnimation[\"default\"]['arrow-move-in-animation'], _defineProperty({}, _commonAnimation[\"default\"]['arrow-move-out-animation'], this.state.show));\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n          className: _toolbarItemCN,\n          tabIndex: -1,\n          \"data-opk\": OperationKey,\n          \"data-type\": type,\n          \"data-title\": Name,\n          \"data-btn-key\": id,\n          id: id,\n          title: shortCutTips,\n          \"data-page-id\": pageId,\n          style: style,\n          onClick: this.handleDropDown,\n          onMouseOver: this.onHandleMouseover,\n          onMouseOut: this.onHandleMouseout,\n          onKeyDown: this.handleKeyDown,\n          ref: forwardedRef\n        }, other, composedProps), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: (0, _classnames12[\"default\"])(_defineProperty(_defineProperty({}, _AdvConToolbar[\"default\"].textspan, true), _AdvConToolbar[\"default\"].loading, showLoading))\n        }, showLoading && /*#__PURE__*/_react[\"default\"].createElement(_ControlLoading[\"default\"], {\n          className: _AdvConToolbar[\"default\"].movinLoading\n        }), showLoading ? loadingTitle : Name), !showLoading && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: _downIcon\n        }), slot);\n      } else {\n        var textType = (style === null || style === void 0 ? void 0 : style.background) === undefined;\n        var _toolbarItemCN2 = (0, _classnames12[\"default\"])('kd-cq-control kd-cq-btn kd-cq-advcon-btn kd-cq-container-toolbar-item', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, className, className), _AdvConToolbar[\"default\"].toolbarItemSingle, true), \"\".concat(_AdvConToolbar[\"default\"].disable, \" disabled-fc\"), locked), _AdvConToolbar[\"default\"].toolbarItemLoading, showLoading), _AdvConToolbar[\"default\"]['no-lock'], !locked), _AdvConToolbar[\"default\"].textType, textType));\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n          className: _toolbarItemCN2,\n          id: id,\n          style: style,\n          ref: forwardedRef\n        }, other, composedProps), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          \"data-opk\": OperationKey,\n          \"data-type\": type,\n          \"data-title\": Name,\n          \"data-btn-key\": id,\n          title: shortCutTips,\n          \"data-page-id\": pageId,\n          onClick: function onClick(e) {\n            return _this7.onClick(e);\n          },\n          className: (0, _classnames12[\"default\"])(_AdvConToolbar[\"default\"].textspan, _defineProperty(_defineProperty({}, _AdvConToolbar[\"default\"].loading, showLoading), _AdvConToolbar[\"default\"].toolbarItemSingle_cursor, !locked))\n        }, showLoading && /*#__PURE__*/_react[\"default\"].createElement(_ControlLoading[\"default\"], {\n          className: _AdvConToolbar[\"default\"].movinLoading\n        }), Name || Key), slot);\n      }\n    }\n  }]);\n  return AdvConToolbarItem;\n}(_react[\"default\"].Component);\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/AdvConToolbar.js?");

/***/ }),

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

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/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.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.string.anchor.js */ \"../../node_modules/core-js/modules/es.string.anchor.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\n__webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _classnames8 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _AnchorControl2 = _interopRequireDefault(__webpack_require__(/*! ./AnchorControl.less */ \"./src/component/web/base/AnchorControl.less\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _excluded = [\"className\", \"style\", \"AlignSelf\", \"Grow\", \"Shrink\", \"items\", \"direction\", \"pageId\", \"isDesigner\", \"hl\", \"foldable\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 _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 AnchorControl = /*#__PURE__*/function (_React$Component) {\n  _inherits(AnchorControl, _React$Component);\n  function AnchorControl(props) {\n    var _this;\n    _classCallCheck(this, AnchorControl);\n    _this = _callSuper(this, AnchorControl, [props]);\n    _this.getLockIcon = function () {\n      var foldable = _this.props.foldable;\n      var hasFold = _this.state.hasFold;\n      return foldable && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _AnchorControl2[\"default\"]['float-icon'],\n        onClick: _this.handleToggleLock\n      }, hasFold ? /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: (0, _classnames8[\"default\"])('kdfont kdfont-jiechusuoding')\n      }) : /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: (0, _classnames8[\"default\"])('kdfont kdfont-suoding')\n      }));\n    };\n    // 纵向模式下，锁定/解锁面板展开\n    _this.handleToggleLock = function () {\n      _this.setState(function (state) {\n        return {\n          hasFold: !state.hasFold\n        };\n      });\n    };\n    _this.anchorScrollEvent = function (type) {\n      var _this$ele;\n      var eventMap = {\n        add: 'addEventListener',\n        remove: 'removeEventListener'\n      };\n      var anchorWrapper = (_this$ele = _this.ele) === null || _this$ele === void 0 ? void 0 : _this$ele.querySelector('.anchor');\n      if (anchorWrapper) {\n        anchorWrapper[eventMap[type]]('scroll', _this.anchorScroll);\n      }\n    };\n    // 纵向模式下，面板展开\n    _this.handleShowPanel = function () {\n      if (!_this.state.hasFold) return;\n      if (_this.rafId === undefined) {\n        _this.startRealTimeMonitor();\n      }\n      _this.setState({\n        showPanel: true\n      }, function () {\n        _this.anchorScrollEvent('add');\n      });\n    };\n    // 纵向模式下，面板收起\n    _this.handleHidePanel = function (e) {\n      if (!_this.state.hasFold) return;\n      _this.setState({\n        showPanel: false\n      }, function () {\n        _this.anchorScrollEvent('remove');\n      });\n    };\n    _this.pageResizeUpdate = function () {\n      var _this$ele2;\n      var parentHeight = (_this$ele2 = _this.ele) === null || _this$ele2 === void 0 || (_this$ele2 = _this$ele2.parentElement) === null || _this$ele2 === void 0 ? void 0 : _this$ele2.offsetHeight;\n      // 容器最大高度为父容器的高度减去top：12再减去上下padding再减去离底部的28边距\n      var maxHeight = typeof parentHeight === 'number' ? parentHeight - 12 - 20 - 28 : undefined;\n      _this.setState({\n        panelMaxHeight: maxHeight\n      });\n    };\n    _this.anchorScroll = function (e) {\n      var _this$ele3, _this$ele4;\n      var selectTop = (_this$ele3 = _this.ele) === null || _this$ele3 === void 0 || (_this$ele3 = _this$ele3.querySelector('[id=_' + _this.state.selectedKey + ']')) === null || _this$ele3 === void 0 ? void 0 : _this$ele3.offsetTop;\n      var scrollTop = (_this$ele4 = _this.ele) === null || _this$ele4 === void 0 || (_this$ele4 = _this$ele4.querySelector('.anchor')) === null || _this$ele4 === void 0 ? void 0 : _this$ele4.scrollTop;\n      _this.setState({\n        offsetTopSign: selectTop - scrollTop\n      });\n    };\n    var _foldable = props.foldable;\n    _this.state = {\n      showPanel: !_foldable,\n      hasFold: !!_foldable,\n      // 锚点是否处于收起状态\n      offsetTop: 0,\n      // 锚点控件:相对父容器定位时，顶部偏移距离.\n      offsetRight: 0,\n      // 锚点控件\n\n      selectedKey: '',\n      // 当前选中的锚点的key(这个key是锚点控件自己组装的)\n\n      offsetLeftSign: -10000,\n      // 标示箭头:左偏移\n      offsetTopSign: -10000,\n      // 标示箭头:顶部偏移(默认不显示出来)\n      panelMaxHeight: 0 // 纵向列表自定义高度\n    };\n    _this.rafId = -1; // requestAnimationFrame执行Id\n    _this.stopMonitor = false; // 是否停止自动定位\n    _this.isUnMounted = false; // 组件是否已经卸载\n\n    ['getAnchorListOfPortrait', 'onAnchorClickOfPortrait', 'adjustOffsetOfAnchor', 'realTimeMonitor', 'docScroll'].forEach(function (item) {\n      _this[item] = _this[item].bind(_assertThisInitialized(_this));\n    });\n    return _this;\n  }\n\n  // 实时监控锚点位置变化(自动定位锚点)\n  _createClass(AnchorControl, [{\n    key: \"realTimeMonitor\",\n    value: function realTimeMonitor() {\n      var _this2 = this;\n      if (!this.isUnMounted && !this.stopMonitor && this.state.showPanel) {\n        var idList = this.IdList;\n        if (idList && idList.length > 0) {\n          var newSelectedKey;\n          var domObj;\n          var childRec;\n          var parentRec = this.ele.parentElement.getBoundingClientRect();\n          var value;\n          // 查找子元素，其顶部刚好到达父容器顶部下边缘(偏差10个像素以内的)的元素\n          for (var i = 0; i < idList.length; i++) {\n            domObj = this.getAnchorDomByPageId(this.props.pageId, idList[i].id);\n            if (domObj) {\n              childRec = domObj.getBoundingClientRect();\n              value = childRec.top - parentRec.top;\n              if (newSelectedKey === undefined && value >= 0 && value <= 45) {\n                // 偏差45个像素\n                newSelectedKey = this.IdList[i].key;\n              }\n            }\n          }\n          if (newSelectedKey === undefined) {\n            // 查找子元素，其顶部已经超过父容器的顶部，且是最接近父容器顶部的那个\n            var preValue, resultIndex;\n            for (var _i = 0; _i < idList.length; _i++) {\n              domObj = this.getAnchorDomByPageId(this.props.pageId, idList[_i].id);\n              if (domObj) {\n                childRec = domObj.getBoundingClientRect();\n                value = childRec.top - parentRec.top;\n                if (value <= 0 && (preValue === undefined || value > preValue)) {\n                  preValue = value;\n                  resultIndex = _i;\n                }\n              }\n            }\n            if (resultIndex !== undefined) {\n              newSelectedKey = this.IdList[resultIndex].key;\n            }\n          }\n          if (newSelectedKey !== undefined && this.state.selectedKey !== newSelectedKey) {\n            this.setState({\n              selectedKey: newSelectedKey\n            }, function () {\n              var _this2$ele$querySelec;\n              // 移动三角标示\n              // let offsetTopSign = e.target.offsetTop;//e.target.offsetTop+targetHeight/2;\n              var offsetTopSign = _this2.ele.querySelector('[id=_' + _this2.state.selectedKey + ']').offsetTop - ((_this2$ele$querySelec = _this2.ele.querySelector('.anchor')) === null || _this2$ele$querySelec === void 0 ? void 0 : _this2$ele$querySelec.scrollTop);\n              var offsetLeftSign = _this2.eleLine.offsetLeft;\n              _this2.setState({\n                offsetTopSign: offsetTopSign,\n                offsetLeftSign: offsetLeftSign\n              });\n            });\n          }\n        }\n        // requestAnimationFrame: html5接口，随显示器刷新频率一起刷新\n        // this.rafId =  window.requestAnimationFrame(this.realTimeMonitor);\n      }\n      this.startRealTimeMonitor();\n    }\n  }, {\n    key: \"startRealTimeMonitor\",\n    value: function startRealTimeMonitor() {\n      this.rafId = window.requestIdleCallback(this.realTimeMonitor);\n    }\n  }, {\n    key: \"stopRealTimeMonitor\",\n    value: function stopRealTimeMonitor() {\n      if (this.rafId !== undefined) {\n        window.cancelIdleCallback(this.rafId);\n        this.rafId = undefined;\n      }\n    }\n\n    // 动态调整整个锚点控件在其父容器中显示的位置\n  }, {\n    key: \"adjustOffsetOfAnchor\",\n    value: function adjustOffsetOfAnchor() {\n      var scrollTop = this.ele.parentElement.scrollTop;\n      this.setState({\n        offsetTop: scrollTop\n      });\n    }\n  }, {\n    key: \"docScroll\",\n    value: function docScroll() {\n      this.adjustOffsetOfAnchor();\n      if (this.stopMonitor) return;\n      if (this.rafId === undefined) {\n        this.startRealTimeMonitor();\n      }\n    }\n  }, {\n    key: \"initData\",\n    value: function initData(nextProps) {\n      this.getAnchorIdList(nextProps);\n      this.getAnchorDomList();\n    }\n\n    // 获取所有锚点的Dom集合\n    // [dom1, dom2...]\n  }, {\n    key: \"getAnchorDomList\",\n    value: function getAnchorDomList() {\n      var domList = [];\n      var pageId = this.props.pageId;\n      var idList = this.IdList;\n      if (idList && idList.length > 0) {\n        var idObj;\n        for (var i = 0; i < idList.length; i++) {\n          idObj = idList[i];\n          domList.push(this.getAnchorDomByPageId(pageId, idObj === undefined ? '' : idObj.id));\n        }\n      }\n      this.DomList = domList;\n    }\n\n    // 获取所有目标锚点的id集合\n    // [{targetId:xx, key:1},{...}]\n  }, {\n    key: \"getAnchorIdList\",\n    value: function getAnchorIdList(nextProps) {\n      var _ref = nextProps || this.props,\n        items = _ref.items;\n      var idList = [];\n      var dtItems;\n      if (items.count() > 0) {\n        items.forEach(function (itemDd, index) {\n          idList.push({\n            id: itemDd.get('target'),\n            key: index\n          });\n          dtItems = itemDd.get('items'); // 2级锚点\n          if (dtItems && dtItems.count() > 0) {\n            dtItems.forEach(function (itemDt, itemIndex) {\n              idList.push({\n                id: itemDt.get('target'),\n                key: index + '' + itemIndex\n              });\n            });\n          }\n        });\n      }\n      this.IdList = idList;\n    }\n\n    // 获取(纵向)锚点渲染内容\n  }, {\n    key: \"getAnchorListOfPortrait\",\n    value: function getAnchorListOfPortrait() {\n      var _this3 = this;\n      var _this$props = this.props,\n        items = _this$props.items,\n        foldable = _this$props.foldable;\n      if (items.count() > 0) {\n        var anchorList = [];\n        var dt, dd, dtItems, key;\n        var selectedKey = this.state.selectedKey;\n        items.forEach(function (itemDd, index) {\n          key = index;\n          dt = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            key: key,\n            className: (0, _classnames8[\"default\"])('kd-cq-anchor-level1-item', _AnchorControl2[\"default\"].level1, _defineProperty(_defineProperty({}, _AnchorControl2[\"default\"]['level1-item'], index !== 0), _AnchorControl2[\"default\"]['level1-foldable'], index === 0 && foldable)),\n            title: itemDd.get('caption')\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n            id: '_' + key,\n            className: (0, _classnames8[\"default\"])(_AnchorControl2[\"default\"]['title-link'], 'hover-theme-fc', _defineProperty(_defineProperty(_defineProperty({}, _AnchorControl2[\"default\"]['title-selected'], key === selectedKey), 'theme-fc', key === selectedKey), 'kd-cq-anchor-item-title-active', key === selectedKey)),\n            onClick: function onClick(e) {\n              return _this3.onAnchorClickOfPortrait(itemDd.get('target'), index, e);\n            }\n          }, itemDd.get('caption')));\n          anchorList.push(dt);\n          dtItems = itemDd.get('items'); // 2级锚点\n          if (dtItems && dtItems.count() > 0) {\n            dtItems.forEach(function (itemDt, itemIndex) {\n              /*\n              <a href={'#'+itemDt.get('target')} key={index}>\n              说明：因为React中的路由Router原因，使用web传统的锚点定位方式会改变页面的url，\n              所以改用页面滚动的方法去实现‘锚点定位’.\n              */\n              key = index + '' + itemIndex;\n              dd = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n                key: key,\n                className: (0, _classnames8[\"default\"])('kd-cq-anchor-level2-item', _AnchorControl2[\"default\"].level2, _defineProperty({}, _AnchorControl2[\"default\"]['level2-item-top'], itemIndex === 0), _defineProperty({}, _AnchorControl2[\"default\"]['level2-item'], itemIndex !== 0)),\n                title: itemDt.get('caption')\n              }, /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n                id: '_' + key,\n                className: (0, _classnames8[\"default\"])(_AnchorControl2[\"default\"]['title-link'], 'hover-theme-fc', _defineProperty(_defineProperty(_defineProperty({}, _AnchorControl2[\"default\"]['title-selected'], key === selectedKey), 'theme-fc', key === selectedKey), 'kd-cq-anchor-item-title-active', key === selectedKey)),\n                onClick: function onClick(e) {\n                  return _this3.onAnchorClickOfPortrait(itemDt.get('target'), index + '' + itemIndex, e);\n                }\n              }, itemDt.get('caption')));\n              anchorList.push(dd);\n            });\n          }\n        });\n        return anchorList;\n      } else {\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames8[\"default\"])(_AnchorControl2[\"default\"]['no-data'])\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, \"\".concat((0, _intlApi.getLangMsg)({\n          key: 'AnchorControl.key0001'\n        }), \" \")));\n      }\n    }\n\n    // 根据pageId和id,获取页面上唯一dom(锚点目标)元素\n  }, {\n    key: \"getAnchorDomByPageId\",\n    value: function getAnchorDomByPageId(pageId, id) {\n      var dataPageId = pageId + '_' + id; // 拼接控件对应DOM元素的自定义属性值:'data-page-id'\n      var condition = '[data-page-id=' + '\\'' + dataPageId + '\\'' + ']'; // querySelector按css规范实现，css标识符不能以数字开头, 是数字则转义处理.\n      return document.querySelector(condition);\n    }\n\n    // 点击跳转的锚点(纵向)\n  }, {\n    key: \"onAnchorClickOfPortrait\",\n    value: function onAnchorClickOfPortrait(targetId, key, e) {\n      var _this$ele$querySelect,\n        _this4 = this;\n      if (this.props.isDesigner === true) {\n        return;\n      }\n      this.stopMonitor = true;\n      this.stopRealTimeMonitor(); // 手动点击进行锚点跳转，此时先关闭锚点标示的实时位置监控。\n\n      var offsetTopSign = e.target.offsetTop - ((_this$ele$querySelect = this.ele.querySelector('.anchor')) === null || _this$ele$querySelect === void 0 ? void 0 : _this$ele$querySelect.scrollTop);\n      var offsetLeftSign = this.eleLine.offsetLeft;\n      this.setState({\n        selectedKey: key,\n        offsetTopSign: offsetTopSign,\n        offsetLeftSign: offsetLeftSign\n      }, function () {\n        var hl = _this4.props.hl;\n        var target = _this4.getAnchorDomByPageId(_this4.props.pageId, targetId);\n        if (target) {\n          target.scrollIntoView({\n            behavior: 'smooth'\n          });\n          if (hl) {\n            _this4.highlight(target);\n          }\n        }\n        setTimeout(function () {\n          _this4.stopMonitor = false;\n        }, 800);\n        // this.startRealTimeMonitor()\n      });\n    }\n\n    // 高亮动画\n  }, {\n    key: \"highlight\",\n    value: function highlight(target) {\n      if (target) {\n        var oldClassName = target.className;\n        target.className = (0, _classnames8[\"default\"])(oldClassName, _AnchorControl2[\"default\"].anchor_hl);\n        setTimeout(function () {\n          target.className = oldClassName;\n        }, 1500);\n      }\n    }\n\n    // 点击(横向)跳转的锚点\n  }, {\n    key: \"onAnchorClickOflandScape\",\n    value: function onAnchorClickOflandScape(targetId, key, e) {\n      var _this5 = this;\n      if (this.props.isDesigner === true) {\n        return;\n      }\n      this.setState({\n        selectedKey: key\n      }, function () {\n        var target = _this5.getAnchorDomByPageId(_this5.props.pageId, targetId);\n        if (target) {\n          target.scrollIntoView({\n            behavior: 'smooth'\n          });\n        }\n      });\n    }\n\n    // 获取(横向)锚点渲染内容\n  }, {\n    key: \"getAnchorListOfLandScape\",\n    value: function getAnchorListOfLandScape() {\n      var _this6 = this;\n      var items = this.props.items;\n      if (items.count() > 0) {\n        var anchorList = [];\n        var dt;\n        var key;\n        var sum = 0;\n        var selectedKey = this.state.selectedKey;\n        sum = items.count();\n        items.forEach(function (item, index) {\n          key = index;\n          // 横向显示,只处理一级节点\n          dt = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            key: key,\n            className: _AnchorControl2[\"default\"]['title-c'],\n            title: item.get('caption')\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n            id: '_' + key,\n            className: (0, _classnames8[\"default\"])(_AnchorControl2[\"default\"]['title-link'], 'hover-theme-fc', _defineProperty(_defineProperty({}, _AnchorControl2[\"default\"]['title-selected'], key === selectedKey), 'theme-fc', key === selectedKey)),\n            onClick: function onClick(e) {\n              return _this6.onAnchorClickOflandScape(item.get('target'), index, e);\n            },\n            title: item.get('caption')\n          }, item.get('caption')), index < sum - 1 ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: _AnchorControl2[\"default\"].separetor\n          }) : null);\n          anchorList.push(dt);\n        });\n        return anchorList;\n      } else {\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames8[\"default\"])(_AnchorControl2[\"default\"]['no-data'], _AnchorControl2[\"default\"]['left-padding'])\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, \"\".concat((0, _intlApi.getLangMsg)({\n          key: 'AnchorControl.key0001'\n        }), \"  \\u256E(\\u0E51\\u2022\\u0301 \\u2083\\u2022\\u0300\\u0E51)\\u256D\")));\n      }\n    }\n\n    // 是否横向模式(反之,则为纵向模式)\n  }, {\n    key: \"isLandScapeModel\",\n    value: function isLandScapeModel() {\n      return this.props.direction === 1;\n    }\n  }, {\n    key: \"hasData\",\n    value: function hasData() {\n      var items = this.props.items;\n      return items && items.count() > 0;\n    }\n  }, {\n    key: \"bindEvent\",\n    value: function bindEvent() {\n      // TODO：监听父容器scrollTop，滚动时调整该控件absolute定位的top.\n      if (this.ele) {\n        var parentEle = this.ele.parentElement;\n        if (parentEle) {\n          parentEle.addEventListener('scroll', this.docScroll);\n        }\n      }\n      // document.addEventListener('scroll', this.docScroll, true) // 滚动时,可触发自动定位\n    }\n  }, {\n    key: \"unBindEvnet\",\n    value: function unBindEvnet() {\n      if (this.ele) {\n        var parentEle = this.ele.parentElement;\n        if (parentEle) {\n          parentEle.removeEventListener('scroll', this.docScroll);\n        }\n      }\n      // document.removeEventListener('scroll', this.docScroll, true)\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      if (this.hasData() && this.props.isDesigner !== true) {\n        this.initData();\n        if (!this.isLandScapeModel()) {\n          this.bindEvent();\n          this.startRealTimeMonitor();\n          this.pageResizeUpdate();\n          window.addEventListener('resize', this.pageResizeUpdate); // 纵向显示添加监听\n        }\n      }\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.isUnMounted = true;\n      this.unBindEvnet();\n      this.stopRealTimeMonitor();\n      if (!this.isLandScapeModel()) {\n        window.removeEventListener('resize', this.pageResizeUpdate);\n      }\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      if (this.props.items.count() === 0 && nextProps && nextProps.items.count() > 0) {\n        // 动态改变了'items'属性\n        this.stopRealTimeMonitor();\n        this.initData(nextProps);\n        this.startRealTimeMonitor();\n        this.unBindEvnet();\n        this.bindEvent();\n      }\n      if (this.props.foldable !== nextProps.foldable) {\n        var foldable = nextProps.foldable;\n        this.setState({\n          showPanel: !foldable,\n          hasFold: !!foldable // 锚点是否处于收起状态\n        });\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this7 = this;\n      var _this$props2 = this.props,\n        className = _this$props2.className,\n        style = _this$props2.style,\n        AlignSelf = _this$props2.AlignSelf,\n        Grow = _this$props2.Grow,\n        Shrink = _this$props2.Shrink,\n        items = _this$props2.items,\n        direction = _this$props2.direction,\n        pageId = _this$props2.pageId,\n        isDesigner = _this$props2.isDesigner,\n        hl = _this$props2.hl,\n        foldable = _this$props2.foldable,\n        others = _objectWithoutProperties(_this$props2, _excluded);\n      var _this$state = this.state,\n        showPanel = _this$state.showPanel,\n        hasFold = _this$state.hasFold,\n        offsetTop = _this$state.offsetTop,\n        offsetRight = _this$state.offsetRight,\n        offsetTopSign = _this$state.offsetTopSign,\n        offsetLeftSign = _this$state.offsetLeftSign;\n      className = (0, _classnames8[\"default\"])('kd-cq-control kd-cq-anchor', _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _AnchorControl2[\"default\"].anchor, true), _AnchorControl2[\"default\"]['abosolute-list'], !this.isLandScapeModel()), _AnchorControl2[\"default\"]['foldable-panel'], !this.isLandScapeModel() && foldable), className, className), (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf\n      }));\n      var offsetStyleSign = {};\n      var fordIconStyle = {};\n      if (!this.isLandScapeModel()) {\n        // todo:动态修改锚点控件显示位置\n        var offsetStyle = {\n          top: \"\".concat(offsetTop + 12, \"px\"),\n          right: \"\".concat(offsetRight, \"px\")\n        };\n        style = Object.assign({}, style, offsetStyle);\n\n        // todo:动态修改标示箭头(sign)的显示位置\n        offsetStyleSign = {\n          top: \"\".concat(offsetTopSign, \"px\"),\n          left: \"\".concat(offsetLeftSign, \"px\")\n        };\n        fordIconStyle = {\n          top: \"\".concat(offsetTop + 20, \"px\"),\n          right: \"\".concat(offsetRight + 12, \"px\")\n        };\n        var mergeFordStyle = ['marginTop', 'marginLeft', 'marginRight', 'marginBottom', 'zIndex', 'paddingTop', 'paddingLeft', 'paddingRight', 'paddingBottom'];\n        mergeFordStyle.forEach(function (prop) {\n          var value = style[prop];\n          if (value) {\n            fordIconStyle[prop] = value;\n          }\n        });\n      }\n      if (this.isLandScapeModel()) {\n        // 横向\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n          style: style,\n          className: className\n        }, others, {\n          ref: function ref(d) {\n            _this7.ele = d;\n          }\n        }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames8[\"default\"])('kd-cq-anchor-list-l', _AnchorControl2[\"default\"]['anchor-list-l'])\n        }, this.getAnchorListOfLandScape()));\n      } else {\n        // 纵向\n        var anchorStyle = {\n          maxHeight: this.state.panelMaxHeight,\n          overflow: 'auto',\n          marginRight: 0\n        };\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          ref: function ref(d) {\n            _this7.ele = d;\n          }\n        }, hasFold && /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n          className: (0, _classnames8[\"default\"])('kdfont kdfont-maodian', _AnchorControl2[\"default\"]['fold-icon']),\n          style: fordIconStyle,\n          onMouseEnter: this.handleShowPanel\n        }), showPanel && /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n          style: style,\n          className: className\n        }, others, {\n          onMouseLeave: this.handleHidePanel\n        }), this.hasData() === true ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          ref: function ref(l) {\n            _this7.eleLine = l;\n          },\n          className: (0, _classnames8[\"default\"])('kd-cq-anchor-line', _AnchorControl2[\"default\"]['anchor-line'])\n        }) : null, this.hasData() === true ? /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n          style: offsetStyleSign,\n          className: (0, _classnames8[\"default\"])('kd-cq-anchor-sign', _AnchorControl2[\"default\"]['anchor-sign'])\n        }) : null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames8[\"default\"])('kd-cq-anchor-list anchor', _AnchorControl2[\"default\"]['anchor-list']),\n          style: this.state.panelMaxHeight > 0 ? anchorStyle : null\n        }, this.getAnchorListOfPortrait()), this.getLockIcon()));\n      }\n    }\n  }]);\n  return AnchorControl;\n}(_react[\"default\"].Component); // 默认值\nAnchorControl.defaultProps = {\n  items: (0, _immutable.List)(),\n  direction: 0\n  // fixed: true\n};\nAnchorControl.propTypes = {\n  items: _propTypes[\"default\"].object,\n  direction: _propTypes[\"default\"].number\n  // fixed: PropTypes.bool\n};\nvar _default = exports[\"default\"] = AnchorControl;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/AnchorControl.js?");

/***/ }),

/***/ "./src/component/web/base/Attachment/AttachmentFileItem.jsx":
/*!******************************************************************!*\
  !*** ./src/component/web/base/Attachment/AttachmentFileItem.jsx ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.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.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.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-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.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/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.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.array.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.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.last-index-of.js */ \"../../node_modules/core-js/modules/es.array.last-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.array.slice.js */ \"../../node_modules/core-js/modules/es.array.slice.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.to-fixed.js */ \"../../node_modules/core-js/modules/es.number.to-fixed.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.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.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/esnext.string.replace-all.js */ \"../../node_modules/core-js/modules/esnext.string.replace-all.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames7 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _moment = _interopRequireDefault(__webpack_require__(/*! moment */ \"../../node_modules/moment/moment.js\"));\nvar _attach_uploading = _interopRequireDefault(__webpack_require__(/*! @/component/web/img/default/attach_uploading.gif */ \"./src/component/web/img/default/attach_uploading.gif\"));\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _formatUtil = __webpack_require__(/*! @/util/formatUtil */ \"./src/util/formatUtil.js\");\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _attachmentConst = __webpack_require__(/*! @/constant/attachmentConst */ \"./src/constant/attachmentConst.js\");\nvar _FileItemTooltip = _interopRequireDefault(__webpack_require__(/*! ./FileItemTooltip */ \"./src/component/web/base/Attachment/FileItemTooltip.jsx\"));\nvar _OperaBtn = _interopRequireDefault(__webpack_require__(/*! ./OperaBtn */ \"./src/component/web/base/Attachment/OperaBtn.jsx\"));\nvar _attachment = _interopRequireDefault(__webpack_require__(/*! ./style/attachment.less */ \"./src/component/web/base/Attachment/style/attachment.less\"));\nvar _DragSplitScreenWrap = _interopRequireDefault(__webpack_require__(/*! @/component/common/DragSplitScreenWrap */ \"./src/component/common/DragSplitScreenWrap.js\"));\nvar _AttachmentFileItemWrap = _interopRequireDefault(__webpack_require__(/*! ./AttachmentFileItemWrap */ \"./src/component/web/base/Attachment/AttachmentFileItemWrap.jsx\"));\nvar _dec, _class;\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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 _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 dateFormatterType = ['date', 'datetime'];\nvar iconStatus = ['error', 'canceled', 'success'];\nvar AttachmentFileItem = (_dec = (0, _DragSplitScreenWrap[\"default\"])(_const.SPLIT_SCREEN_TYPE_ATTACHMENT_FILE), _dec(_class = (0, _AttachmentFileItemWrap[\"default\"])(_class = /*#__PURE__*/function (_React$Component) {\n  _inherits(AttachmentFileItem, _React$Component);\n  function AttachmentFileItem(props) {\n    var _this;\n    _classCallCheck(this, AttachmentFileItem);\n    _this = _callSuper(this, AttachmentFileItem, [props]);\n    /**\n     * @param {number} size 尺寸大小\n     * @return {string} 文件大小带单位 (3MB, 34KB)\n     */\n    _this.getFileSize = function (size) {\n      return (0, _formatUtil.formatFileSize)(size);\n    };\n    _this.handleMouseEnter = function () {\n      if (_this.props.showOperaBut || _this.state.isRenameTooltipVisible) return;\n      _this.setState({\n        showActionButtons: true\n      });\n    };\n    _this.handleMouseLeave = function () {\n      if (_this.props.showOperaBut || _this.state.isRenameTooltipVisible) return;\n      _this.setState({\n        showActionButtons: false\n      });\n    };\n    _this.getStateEle = function () {\n      var _this$props = _this.props,\n        file = _this$props.file,\n        onCancelUpload = _this$props.onCancelUpload,\n        removeFromWaitingQueue = _this$props.removeFromWaitingQueue;\n      var status = file.status;\n      var stateEle;\n      var chongxin = (0, _intlApi.getLangMsg)({\n        key: 'attachmentpanel.key0013'\n      });\n      switch (status) {\n        case _attachmentConst.ATTACHMENT_STATUS.UPLOAD:\n          stateEle = /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: \"\".concat(_attachment[\"default\"].space, \" \").concat(_attachment[\"default\"]['size-item'], \" \").concat(_attachment[\"default\"].cancel, \" link-color\"),\n            onClick: function onClick(e) {\n              return onCancelUpload(file);\n            }\n          }, (0, _intlApi.getLangMsg)({\n            key: 'attachmentpanel.key0019'\n          }));\n          break;\n        case _attachmentConst.ATTACHMENT_STATUS.CANCELED:\n          stateEle = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: _attachment[\"default\"].spacebox\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: \"\".concat(_attachment[\"default\"].space, \" \").concat(_attachment[\"default\"]['size-item'], \" \").concat(_attachment[\"default\"].error)\n          }, (0, _intlApi.getLangMsg)({\n            key: 'attachmentpanel.key0012'\n          })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: (0, _classnames7[\"default\"])(_attachment[\"default\"]['re-upload'], 'link-color'),\n            onClick: function onClick() {\n              return _this.props.handleReUpload(file);\n            }\n          }, chongxin));\n          break;\n        case _attachmentConst.ATTACHMENT_STATUS.FAILURE:\n          stateEle = (_this.props.showOperaBut || _this.state.showActionButtons) && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: _attachment[\"default\"].spacebox\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: \"\".concat(_attachment[\"default\"]['re-upload'], \" link-color\"),\n            onClick: function onClick() {\n              return _this.props.handleReUpload(file);\n            }\n          }, chongxin));\n          break;\n        case _attachmentConst.ATTACHMENT_STATUS.WAITING:\n          stateEle = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: _attachment[\"default\"].spacebox\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: \"\".concat(_attachment[\"default\"].space, \" \").concat(_attachment[\"default\"]['size-item'])\n          }, (0, _intlApi.getLangMsg)({\n            key: 'attachmentpanel.key0079'\n          })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: \"\".concat(_attachment[\"default\"].space, \" \").concat(_attachment[\"default\"]['size-item'], \" \").concat(_attachment[\"default\"].cancel, \" link-color\"),\n            onClick: function onClick(e) {\n              return removeFromWaitingQueue(file);\n            }\n          }, (0, _intlApi.getLangMsg)({\n            key: 'attachmentpanel.key0019'\n          })));\n          break;\n        default:\n          stateEle = null;\n      }\n      return stateEle;\n    };\n    _this.comfirmDelete = function (uid) {\n      var _this$props2 = _this.props,\n        file = _this$props2.file,\n        isDeleteAllowed = _this$props2.isDeleteAllowed,\n        deleteItemUid = _this$props2.deleteItemUid;\n      if (!isDeleteAllowed && deleteItemUid === file.uid) return;\n      _this.props.comfirmDelete && _this.props.comfirmDelete([{\n        uid: uid\n      }]);\n    };\n    /**\n     * 预览文件\n     * 对于启用了 yzjPreview 并且是 office 三件套的文件，使用新的预览模式\n     *\n     * @param {Object} param0 文件信息\n     * @param {String} param0.previewUrl 文件预览地址\n     * @param {String} param0.type 文件类型\n     * @param {String} param0.name 文件名\n     * @param {String} param0.uid 文件唯一标识码\n     * @param {String} param0.downloadUrl 下载地址\n     */\n    _this.previewFile = function (_ref) {\n      var uid = _ref.uid;\n      _this.props.onPreview && _this.props.onPreview(uid);\n    };\n    _this.handleRenameClick = function (args) {\n      var _this$props$checkFile, _this$props3;\n      var _this$props$file = _this.props.file,\n        name = _this$props$file.name,\n        uid = _this$props$file.uid;\n      var lastIndexOfDot = name.lastIndexOf('.');\n      var displayName = \"\".concat(args, \".\").concat(name.slice(lastIndexOfDot + 1));\n      if ((_this$props$checkFile = (_this$props3 = _this.props).checkFileName) !== null && _this$props$checkFile !== void 0 && _this$props$checkFile.call(_this$props3, displayName, uid)) {\n        var _this$props$renameFil, _this$props4;\n        (_this$props$renameFil = (_this$props4 = _this.props).renameFile) === null || _this$props$renameFil === void 0 || _this$props$renameFil.call(_this$props4, args);\n      }\n      _this.setState({\n        isRenameTooltipVisible: false,\n        showActionButtons: false\n      });\n    };\n    _this.handleRenameCancel = function () {\n      _this.setState({\n        isRenameTooltipVisible: false,\n        showActionButtons: false\n      });\n    };\n    _this.handleRemarkClick = function (args) {\n      var remarkParams = {\n        uid: _this.props.file.uid,\n        content: args\n      };\n      if (_this.props.file.attPkIdStr) {\n        remarkParams.attPkId = _this.props.file.attPkIdStr;\n      }\n      _this.props.remarkClick && _this.props.remarkClick([remarkParams]);\n    };\n    _this.handleTooltipToggle = function (isShow, isShowBtn) {\n      _this.setState({\n        isRenameTooltipVisible: isShow,\n        showActionButtons: isShowBtn\n      });\n    };\n    _this.state = {\n      showActionButtons: false,\n      isRenameTooltipVisible: false\n    };\n    _this.tooltipRef = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.fileItemRef = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this;\n  }\n  _createClass(AttachmentFileItem, [{\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      clearInterval(this.interval);\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props5 = this.props,\n        file = _this$props5.file,\n        showCreateDate = _this$props5.showCreateDate,\n        showCreator = _this$props5.showCreator,\n        showMark = _this$props5.showMark,\n        locale = _this$props5.locale,\n        disabled = _this$props5.disabled,\n        downloadFile = _this$props5.downloadFile,\n        isField = _this$props5.isField,\n        operaBtns = _this$props5.operaBtns,\n        handleOperaBtnClick = _this$props5.handleOperaBtnClick,\n        isDeleteAllowed = _this$props5.isDeleteAllowed,\n        deleteItemUid = _this$props5.deleteItemUid,\n        dateFormatter = _this$props5.dateFormatter,\n        showOperaBut = _this$props5.showOperaBut,\n        isPreviewed = _this$props5.isPreviewed,\n        showRenameNoPermission = _this$props5.showRenameNoPermission,\n        showRemarkNoPermission = _this$props5.showRemarkNoPermission,\n        _this$props5$previewL = _this$props5.previewLimitSize,\n        previewLimitSize = _this$props5$previewL === void 0 ? 0 : _this$props5$previewL,\n        index = _this$props5.index;\n      var uid = file.uid,\n        name = file.name,\n        size = file.size,\n        status = file.status,\n        createdate = file.createdate,\n        description = file.description,\n        creator = file.creator,\n        previewurl = file.previewurl,\n        _file$visible = file.visible,\n        visible = _file$visible === void 0 ? '1111' : _file$visible,\n        _file$hiddenBtn = file.hiddenBtn,\n        hiddenBtn = _file$hiddenBtn === void 0 ? [] : _file$hiddenBtn,\n        createtimestr = file.createtimestr;\n      var Creator = creator && creator[locale];\n      var CreaterDate = '';\n      if (createdate) {\n        var Cdate = (0, _moment[\"default\"])(createtimestr || createdate);\n        if (Cdate.isValid()) {\n          var finalDateFormatter = dateFormatter;\n          var typeDateFormatter = _typeof(dateFormatter);\n          if (!(typeDateFormatter === 'string' && dateFormatterType.includes(finalDateFormatter))) {\n            finalDateFormatter = 'date';\n          }\n          // finalDateFormatter: date-年月日; datetime-年月日时分秒\n          CreaterDate = (0, _formatUtil.formatDate)(Cdate, '', finalDateFormatter);\n        }\n      }\n      if (isField) {\n        description = description && description[locale];\n      }\n      var stateEle = this.getStateEle();\n      var list = (0, _classnames7[\"default\"])('kd-cq-attachment-item', _defineProperty(_defineProperty(_defineProperty({}, _attachment[\"default\"].list, true), _attachment[\"default\"]['not-field'], !isField), 'hover-hover-bg', true));\n      var listItemCN = (0, _classnames7[\"default\"])(_defineProperty(_defineProperty({}, _attachment[\"default\"]['list-item'], (showCreateDate || showCreator || showMark) && status === 'success'), _attachment[\"default\"]['list-item-alone'], !(showCreateDate || showCreator || showMark) || status !== 'success'));\n      var deleteBut = (0, _classnames7[\"default\"])('kd-cq-attachment-item-btn kd-cq-attachment-item-delete-btn', _defineProperty(_defineProperty(_defineProperty({}, _attachment[\"default\"].deleteBut, true), \"\".concat(_attachment[\"default\"].allowDelBut, \" link-color\"), isDeleteAllowed || deleteItemUid !== uid), _attachment[\"default\"].BanDelBut, !isDeleteAllowed && deleteItemUid === uid));\n      var actionBtn = (0, _classnames7[\"default\"])('kd-cq-attachment-item-btn', _defineProperty(_defineProperty({}, _attachment[\"default\"].actionbutton, true), 'link-color', true));\n      var operaBtnsDom = operaBtns && operaBtns.map(function (item) {\n        return (!hiddenBtn || !hiddenBtn.includes(item.key)) && /*#__PURE__*/_react[\"default\"].createElement(_OperaBtn[\"default\"], {\n          title: item.name,\n          key: item.key,\n          operaKey: item.key,\n          handleOperaBtnClick: handleOperaBtnClick,\n          locale: locale,\n          uid: uid\n        });\n      });\n      var showPreviewBtn = status === _attachmentConst.ATTACHMENT_STATUS.SUCCESS && visible[0] === '1' && previewurl;\n      var showDownloadBtn = status === _attachmentConst.ATTACHMENT_STATUS.SUCCESS && visible[1] === '1';\n      var showRenameBtn = status === _attachmentConst.ATTACHMENT_STATUS.SUCCESS && (visible[2] === '1' || visible[2] === '2') && !disabled;\n      var showDeleteBtn = status !== _attachmentConst.ATTACHMENT_STATUS.UPLOAD && visible[3] === '1' && !disabled;\n      var previewTitle = (0, _intlApi.getLangMsg)({\n        key: 'attachmentpanel.key0025'\n      });\n      var downloadTitle = (0, _intlApi.getLangMsg)({\n        key: 'attachmentpanel.key0026'\n      });\n      var renameTitle = (0, _intlApi.getLangMsg)({\n        key: 'attachmentpanel.key0068'\n      });\n      var deleteTitle = (0, _intlApi.getLangMsg)({\n        key: 'attachmentpanel.key0027'\n      });\n      var isExceedThePreviewSizeLimit = previewLimitSize > 0 && size > previewLimitSize;\n      var fileNameClz = (0, _classnames7[\"default\"])('kd-cq-attachment-item-name', _attachment[\"default\"].space, _attachment[\"default\"].spaceName, _defineProperty(_defineProperty(_defineProperty({}, _attachment[\"default\"].previewed, isPreviewed && isPreviewed(uid)), 'primary-text-in-light', showPreviewBtn), _attachment[\"default\"].noPreview, !showPreviewBtn || isExceedThePreviewSizeLimit));\n      var exceedPreviewSizeTitle = (0, _intlApi.getLangMsg)({\n        key: 'attachmentpanel.key0103',\n        variables: {\n          size: (previewLimitSize / 1024 / 1024).toFixed(2)\n        }\n      });\n      var iconClass = function iconClass(status) {\n        return (0, _classnames7[\"default\"])('kd-cq-attachment-item-icon', _attachment[\"default\"]['icon-14'], _attachment[\"default\"].space, 'kdfont', {\n          'kdfont-fujian3': status === _attachmentConst.ATTACHMENT_STATUS.SUCCESS,\n          'error-color kdfont-zhuangtai_jingshi': status === _attachmentConst.ATTACHMENT_STATUS.FAILURE || status === _attachmentConst.ATTACHMENT_STATUS.CANCELED\n        });\n      };\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        ref: this.fileItemRef,\n        \"data-drag-key\": index,\n        className: list,\n        onMouseEnter: this.handleMouseEnter,\n        onMouseLeave: this.handleMouseLeave\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: listItemCN\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _attachment[\"default\"].imgbox\n      }, iconStatus.indexOf(status) !== -1 ? /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: iconClass(status),\n        alt: status\n      }) : /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n        className: (0, _classnames7[\"default\"])('kd-cq-attachment-item-icon', _attachment[\"default\"]['attach-icon'], _attachment[\"default\"].space),\n        src: _attach_uploading[\"default\"],\n        alt: \"attach\"\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: fileNameClz,\n        onClick: function onClick() {\n          return showPreviewBtn && size <= previewLimitSize && _this2.previewFile(file);\n        },\n        title: name,\n        dangerouslySetInnerHTML: {\n          __html: name.replaceAll(' ', '&nbsp;')\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: \"kd-cq-attachment-item-size \".concat(_attachment[\"default\"].space, \" \").concat(_attachment[\"default\"]['size-item']),\n        title: this.getFileSize(size)\n      }, \"(\", this.getFileSize(size), \")\"), stateEle, (showOperaBut || this.state.showActionButtons || this.state.isRenameTooltipVisible) && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: \"kd-cq-attachment-item-btn-area \".concat(_attachment[\"default\"].buttonsbox)\n      }, showPreviewBtn && /*#__PURE__*/_react[\"default\"].createElement(PreviewBtn, {\n        disabled: isExceedThePreviewSizeLimit,\n        disabledTitle: exceedPreviewSizeTitle,\n        title: previewTitle,\n        onClick: function onClick() {\n          return _this2.previewFile(file);\n        }\n      }), showDownloadBtn && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: \"kd-cq-attachment-item-btn kd-cq-attachment-item-download-btn \".concat(actionBtn),\n        onClick: function onClick() {\n          return downloadFile(uid);\n        },\n        title: downloadTitle\n      }, downloadTitle), showRenameBtn && visible[2] === '1' && /*#__PURE__*/_react[\"default\"].createElement(_FileItemTooltip[\"default\"], {\n        btnClassName: \"kd-cq-attachment-item-btn kd-cq-attachment-item-rename-btn\",\n        ref: this.tooltipRef,\n        uid: \"\".concat(uid, \"_rename\"),\n        disabled: disabled,\n        onClick: this.handleRenameClick,\n        onCancel: this.handleRenameCancel,\n        text: renameTitle,\n        onToggle: this.handleTooltipToggle,\n        value: name,\n        required: true\n      }), showRenameBtn && visible[2] === '2' && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: \"kd-cq-attachment-item-btn kd-cq-attachment-item-rename-btn \".concat(actionBtn),\n        title: renameTitle,\n        onClick: showRenameNoPermission\n      }, renameTitle), showDeleteBtn && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: deleteBut,\n        onClick: function onClick() {\n          return _this2.comfirmDelete(uid);\n        },\n        title: deleteTitle\n      }, deleteTitle), operaBtnsDom)), status === _attachmentConst.ATTACHMENT_STATUS.SUCCESS && (showCreateDate || showCreator || showMark) ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: \"kd-cq-attchment-uploadProperty \".concat(_attachment[\"default\"].uploadProperty)\n      }, showCreator ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: \"kd-cq-attachment-item-uploader \".concat(_attachment[\"default\"].uploader)\n      }, Creator || '') : null, showCreateDate ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: \"kd-cq-attachment-item-upload-time \".concat(_attachment[\"default\"].uploadtime)\n      }, CreaterDate || '') : null, showMark === '1' ? disabled ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _attachment[\"default\"].disabledRemark\n      }, (0, _intlApi.getLangMsg)({\n        key: 'attachmentpanel.key0016'\n      })) : /*#__PURE__*/_react[\"default\"].createElement(_FileItemTooltip[\"default\"], {\n        uid: \"\".concat(uid, \"_remark\"),\n        disabled: disabled,\n        value: description,\n        onClick: this.handleRemarkClick,\n        text: (0, _intlApi.getLangMsg)({\n          key: 'attachmentpanel.key0016'\n        }),\n        isMulLine: true,\n        hideWhileClick: true\n      }) : null, showMark === '2' && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: disabled ? _attachment[\"default\"].disabledRemark : _attachment[\"default\"].remark,\n        onClick: showRemarkNoPermission,\n        title: (0, _intlApi.getLangMsg)({\n          key: 'attachmentpanel.key0016'\n        })\n      }, (0, _intlApi.getLangMsg)({\n        key: 'attachmentpanel.key0016'\n      })), showMark ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _attachment[\"default\"].remarkContent,\n        title: description\n      }, description) : null) : null);\n    }\n  }]);\n  return AttachmentFileItem;\n}(_react[\"default\"].Component)) || _class) || _class);\nfunction PreviewBtn(_ref2) {\n  var disabled = _ref2.disabled,\n    disabledTitle = _ref2.disabledTitle,\n    title = _ref2.title,\n    onClick = _ref2.onClick;\n  var clz = (0, _classnames7[\"default\"])('kd-cq-attachment-item-btn kd-cq-attachment-item-preview-btn', _attachment[\"default\"].actionbutton, 'link-color', _defineProperty({}, _attachment[\"default\"]['disabled-btn'], disabled));\n  var handleClick = !disabled && onClick;\n  var domTitle = disabled ? disabledTitle : title;\n  return /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: clz,\n    onClick: handleClick,\n    title: domTitle\n  }, title);\n}\nvar _default = exports[\"default\"] = AttachmentFileItem;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Attachment/AttachmentFileItem.jsx?");

/***/ }),

/***/ "./src/component/web/base/Attachment/AttachmentFileItemWrap.jsx":
/*!**********************************************************************!*\
  !*** ./src/component/web/base/Attachment/AttachmentFileItemWrap.jsx ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.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.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.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 _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _useFileItemListSort = _interopRequireDefault(__webpack_require__(/*! ./hooks/useFileItemListSort */ \"./src/component/web/base/Attachment/hooks/useFileItemListSort.js\"));\nvar _appModelFunction = __webpack_require__(/*! @/model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _useLongPress = _interopRequireDefault(__webpack_require__(/*! @/hooks/useLongPress */ \"./src/hooks/useLongPress.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 _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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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); }\nvar AttachmentFileItemWrap = function AttachmentFileItemWrap(WrappedComponent) {\n  return function (props) {\n    var _fileWrapRef$current, _fileItemRef$current;\n    var fileWrapRef = (0, _react.useRef)();\n    var fileItemRef = fileWrapRef === null || fileWrapRef === void 0 || (_fileWrapRef$current = fileWrapRef.current) === null || _fileWrapRef$current === void 0 ? void 0 : _fileWrapRef$current.fileItemRef; // 附件ref\n\n    var onDragend = function onDragend(args) {\n      props.dragFile(_objectSpread(_objectSpread({}, args), {}, {\n        dragFileType: 'file'\n      }));\n    };\n    var onLongPress = function onLongPress() {\n      (0, _appModelFunction.setDataMessages)(props.pageId, {\n        content: (0, _intlApi.getLangMsg)({\n          key: 'Attachment.key0001'\n        }),\n        type: _const.AlertType.WARNING,\n        duration: 3000\n      });\n    };\n    var longPressEvents = (0, _useLongPress[\"default\"])({\n      onLongPress: onLongPress\n    }); // 识别长按事件\n\n    (0, _useFileItemListSort[\"default\"])({\n      parentElement: props.parentElement || (fileItemRef === null || fileItemRef === void 0 || (_fileItemRef$current = fileItemRef.current) === null || _fileItemRef$current === void 0 ? void 0 : _fileItemRef$current.parentNode),\n      dragItemRef: fileItemRef,\n      onDragEnd: onDragend,\n      canDrag: props.canDrag\n    });\n    var Component = /*#__PURE__*/_react[\"default\"].createElement(WrappedComponent, _extends({\n      ref: fileWrapRef\n    }, props));\n    if (props.dragble && props.hasErrorFile) {\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", longPressEvents, Component);\n    }\n    return Component;\n  };\n};\nvar _default = exports[\"default\"] = AttachmentFileItemWrap;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Attachment/AttachmentFileItemWrap.jsx?");

/***/ }),

/***/ "./src/component/web/base/Attachment/AttachmentImage.jsx":
/*!***************************************************************!*\
  !*** ./src/component/web/base/Attachment/AttachmentImage.jsx ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\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 _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _attachmentImgItem = _interopRequireDefault(__webpack_require__(/*! ./style/attachmentImgItem.less */ \"./src/component/web/base/Attachment/style/attachmentImgItem.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 * 上传成功时显示的图片组件\n */\nfunction AttachmentImage(_ref) {\n  var imageType = _ref.imageType,\n    url = _ref.url,\n    hasPermission = _ref.hasPermission,\n    isUnabled = _ref.isUnabled,\n    onClick = _ref.onClick;\n  if (!hasPermission || isUnabled) {\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: (0, _classnames2[\"default\"])(_attachmentImgItem[\"default\"].statusbox, _attachmentImgItem[\"default\"].errorborder, 'weak-1px-border-dashed', 'contain-bg', _defineProperty(_defineProperty({}, _attachmentImgItem[\"default\"].notShowPreview, !hasPermission), _attachmentImgItem[\"default\"].unabledToPreview, isUnabled)),\n      onClick: onClick\n    }, isUnabled ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n      key: 'attachmentpanel.key0104'\n    })) : /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n      className: \"kdfont kdfont-suo16\"\n    }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n      key: 'attachmentpanel.key0094'\n    }))));\n  }\n  return /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n    \"data-image-src\": url,\n    \"data-image-type\": imageType,\n    onClick: onClick,\n    className: _attachmentImgItem[\"default\"].imgitem,\n    draggable: \"false\"\n  });\n}\nvar _default = exports[\"default\"] = AttachmentImage;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Attachment/AttachmentImage.jsx?");

/***/ }),

/***/ "./src/component/web/base/Attachment/AttachmentImgItem.jsx":
/*!*****************************************************************!*\
  !*** ./src/component/web/base/Attachment/AttachmentImgItem.jsx ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.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.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-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.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/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.last-index-of.js */ \"../../node_modules/core-js/modules/es.array.last-index-of.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.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.number.to-fixed.js */ \"../../node_modules/core-js/modules/es.number.to-fixed.js\");\n__webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _kdesign = __webpack_require__(/*! @kdcloudjs/kdesign */ \"webpack/sharing/consume/default/@kdcloudjs/kdesign/@kdcloudjs/kdesign\");\nvar _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _attach_uploading = _interopRequireDefault(__webpack_require__(/*! @/component/web/img/default/attach_uploading.gif */ \"./src/component/web/img/default/attach_uploading.gif\"));\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _requestParamsUtil = __webpack_require__(/*! @/util/requestParamsUtil */ \"./src/util/requestParamsUtil.js\");\nvar _attachmentImgItem = _interopRequireDefault(__webpack_require__(/*! ./style/attachmentImgItem.less */ \"./src/component/web/base/Attachment/style/attachmentImgItem.less\"));\nvar _DragSplitScreenWrap = _interopRequireDefault(__webpack_require__(/*! @/component/common/DragSplitScreenWrap */ \"./src/component/common/DragSplitScreenWrap.js\"));\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _appModelFunction = __webpack_require__(/*! @/model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _AttachmentImage = _interopRequireDefault(__webpack_require__(/*! ./AttachmentImage */ \"./src/component/web/base/Attachment/AttachmentImage.jsx\"));\nvar _AttachmentImgItemWrap = _interopRequireDefault(__webpack_require__(/*! ./AttachmentImgItemWrap */ \"./src/component/web/base/Attachment/AttachmentImgItemWrap.jsx\"));\nvar _dec, _class;\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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); }\nvar STATUS = {\n  displaying: 0,\n  // 正常展示\n  editing: 1 // 编辑名称\n};\nvar AttachmentImgItem = (_dec = (0, _DragSplitScreenWrap[\"default\"])(_const.SPLIT_SCREEN_TYPE_ATTACHMENT_FILE), _dec(_class = (0, _AttachmentImgItemWrap[\"default\"])(_class = /*#__PURE__*/function (_React$Component) {\n  _inherits(AttachmentImgItem, _React$Component);\n  function AttachmentImgItem(props) {\n    var _this;\n    _classCallCheck(this, AttachmentImgItem);\n    _this = _callSuper(this, AttachmentImgItem, [props]);\n    _this.handleMouseEnter = function () {\n      _this.setState({\n        showActionButtons: true\n      });\n    };\n    _this.handleMouseLeave = function () {\n      _this.setState({\n        showActionButtons: false\n      });\n    };\n    _this.handleNameDoubleClick = function () {\n      var _this$props$file;\n      if (_this.props.disabled || _this.state.status === STATUS.editing || ((_this$props$file = _this.props.file) === null || _this$props$file === void 0 ? void 0 : _this$props$file.status) !== 'success') return;\n      _this.setState({\n        status: STATUS.editing,\n        imageName: _this.getNameWithoutType(_this.props.file)\n      }, function () {\n        setTimeout(function () {\n          var _this$nameInputRef$cu;\n          (_this$nameInputRef$cu = _this.nameInputRef.current) === null || _this$nameInputRef$cu === void 0 || _this$nameInputRef$cu.select();\n        }, 0);\n      });\n    };\n    _this.handleNameChange = function (evt) {\n      _this.setState({\n        imageName: evt.target.value\n      });\n    };\n    _this.handleNameBlur = function (evt) {\n      var value = evt.target.value;\n      var _this$props$file2 = _this.props.file,\n        name = _this$props$file2.name,\n        uid = _this$props$file2.uid;\n      var lastIndexOfDot = name.lastIndexOf('.');\n      var displayName = \"\".concat(value, \".\").concat(name.slice(lastIndexOfDot + 1));\n      if (_this.props.checkFileName(displayName, uid)) {\n        var _this$props$renameFil, _this$props;\n        (_this$props$renameFil = (_this$props = _this.props).renameFile) === null || _this$props$renameFil === void 0 || _this$props$renameFil.call(_this$props, value);\n        _this.setState({\n          status: STATUS.displaying,\n          imageName: displayName,\n          displayName: displayName\n        });\n        return;\n      }\n      _this.setState({\n        status: STATUS.displaying,\n        imageName: name,\n        displayName: name\n      });\n    };\n    _this.handlePressEnter = function () {\n      var _this$nameInputRef$cu2;\n      (_this$nameInputRef$cu2 = _this.nameInputRef.current) === null || _this$nameInputRef$cu2 === void 0 || _this$nameInputRef$cu2.blur();\n    };\n    _this.comfirmDelete = function (uid) {\n      var _this$props2 = _this.props,\n        file = _this$props2.file,\n        isDeleteAllowed = _this$props2.isDeleteAllowed,\n        deleteItemUid = _this$props2.deleteItemUid;\n      if (!isDeleteAllowed && deleteItemUid === file.uid) return;\n      _this.props.comfirmDelete && _this.props.comfirmDelete([{\n        uid: uid\n      }]);\n    };\n    _this.handlePreviewImg = function () {\n      var _this$props3 = _this.props,\n        _this$props3$showPrev = _this$props3.showPreview,\n        showPreview = _this$props3$showPrev === void 0 ? true : _this$props3$showPrev,\n        handlePreview = _this$props3.handlePreview,\n        attachOperationCount = _this$props3.attachOperationCount,\n        file = _this$props3.file,\n        previewLimitSize = _this$props3.previewLimitSize,\n        pageId = _this$props3.pageId;\n      if (!showPreview) return;\n      if (previewLimitSize > 0 && (file === null || file === void 0 ? void 0 : file.size) > previewLimitSize) {\n        var message = (0, _intlApi.getLangMsg)({\n          key: 'attachmentpanel.key0103',\n          variables: {\n            size: (previewLimitSize / 1024 / 1024).toFixed(2)\n          }\n        });\n        (0, _appModelFunction.setDataMessages)(pageId, [{\n          duration: 3000,\n          content: message,\n          type: _const.AlertType.WARNING\n        }]);\n        return;\n      }\n      var index = _this.props.index;\n      var uid = _this.props.file.uid.uid;\n      handlePreview === null || handlePreview === void 0 || handlePreview(index);\n      attachOperationCount === null || attachOperationCount === void 0 || attachOperationCount([{\n        operationType: 'preview',\n        uid: [uid]\n      }]);\n    };\n    _this.getNameWithoutType = function (file) {\n      if (!file) return '';\n      var name = file.name;\n      var lastIndexOfDot = name.lastIndexOf('.');\n      if (lastIndexOfDot === -1) return '';\n      return name.slice(0, lastIndexOfDot);\n    };\n    _this.state = {\n      showActionButtons: false,\n      status: STATUS.displaying,\n      imageName: '',\n      displayName: ''\n    };\n    _this.nameInputRef = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.imageItemRef = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this;\n  }\n  _createClass(AttachmentImgItem, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      if (this.props.file) {\n        this.setState({\n          displayName: this.props.file.name,\n          imageName: this.getNameWithoutType(this.props.file)\n        });\n      }\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      if (nextProps.file && nextProps.file.name !== this.state.imageName) {\n        this.setState({\n          displayName: nextProps.file.name,\n          imageName: this.getNameWithoutType(nextProps.file)\n        });\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props4 = this.props,\n        file = _this$props4.file,\n        disabled = _this$props4.disabled,\n        downloadFile = _this$props4.downloadFile,\n        showThumbnails = _this$props4.showThumbnails,\n        handleReUpload = _this$props4.handleReUpload,\n        showDelete = _this$props4.showDelete,\n        showDownload = _this$props4.showDownload,\n        isDeleteAllowed = _this$props4.isDeleteAllowed,\n        deleteItemUid = _this$props4.deleteItemUid,\n        appId = _this$props4.appId,\n        isPreviewed = _this$props4.isPreviewed,\n        formId = _this$props4.formId,\n        useUrlAsThumbnail = _this$props4.useUrlAsThumbnail,\n        pageId = _this$props4.pageId,\n        _this$props4$showPrev = _this$props4.showPreview,\n        showPreview = _this$props4$showPrev === void 0 ? true : _this$props4$showPrev,\n        _this$props4$previewL = _this$props4.previewLimitSize,\n        previewLimitSize = _this$props4$previewL === void 0 ? 0 : _this$props4$previewL,\n        index = _this$props4.index;\n      if (!showThumbnails) return null;\n      var uid = file.uid,\n        name = file.name,\n        status = file.status,\n        url = file.url,\n        previewurl = file.previewurl,\n        size = file.size;\n      var deleteBut = (0, _classnames3[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _attachmentImgItem[\"default\"].imgactionbutton, true), 'kd-hover-color', isDeleteAllowed || deleteItemUid !== uid), 'kdfont kdfont-shanchu', true), _attachmentImgItem[\"default\"].BanDelBut, !isDeleteAllowed && deleteItemUid === uid));\n      var imgContent;\n      switch (status) {\n        case 'success':\n          {\n            var imageUrl = (0, _requestParamsUtil.appendParamsToUrl)(useUrlAsThumbnail ? url : previewurl || url, {\n              appId: appId,\n              formId: formId,\n              pageId: pageId\n            });\n            var unabled = previewLimitSize > 0 && size > previewLimitSize;\n            imgContent = /*#__PURE__*/_react[\"default\"].createElement(_AttachmentImage[\"default\"], {\n              imageType: this.props.imageType,\n              isUnabled: unabled,\n              hasPermission: showPreview,\n              url: imageUrl,\n              onClick: this.handlePreviewImg\n            });\n          }\n          break;\n        case 'uploading':\n          imgContent = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: (0, _classnames3[\"default\"])(_attachmentImgItem[\"default\"].statusbox, _attachmentImgItem[\"default\"].uploadingborder)\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n            src: _attach_uploading[\"default\"],\n            className: _attachmentImgItem[\"default\"].uploadingImg\n          }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n            key: 'attachmentpanel.key0024'\n          })));\n          break;\n        case 'error':\n          imgContent = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: (0, _classnames3[\"default\"])(_attachmentImgItem[\"default\"].statusbox, _attachmentImgItem[\"default\"].errorborder, 'is-error-border', 'error-color', 'error-bg-color')\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n            className: \"kdfont kdfont-tishi4\"\n          }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n            key: 'attachmentpanel.key0014'\n          })));\n          break;\n        case 'canceled':\n          imgContent = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: (0, _classnames3[\"default\"])(_attachmentImgItem[\"default\"].statusbox, _attachmentImgItem[\"default\"].errorborder, 'is-error-border', 'error-color', 'error-bg-color')\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n            className: \"kdfont kdfont-tishi4\"\n          }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n            key: 'attachmentpanel.key0012'\n          })));\n          break;\n        default:\n          imgContent = null;\n      }\n      var displayName = this.state.displayName;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        ref: this.imageItemRef,\n        \"data-flip-key\": uid,\n        \"data-drag-key\": index,\n        className: (0, _classnames3[\"default\"])('kd-cq-attachment-item', _attachmentImgItem[\"default\"].imgcontainer),\n        onMouseEnter: this.handleMouseEnter,\n        onMouseLeave: this.handleMouseLeave\n      }, imgContent, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames3[\"default\"])('kd-cq-attachment-item-img-name', _attachmentImgItem[\"default\"].imgName),\n        onDoubleClick: this.handleNameDoubleClick\n      }, this.state.status === STATUS.displaying && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames3[\"default\"])(_attachmentImgItem[\"default\"].name, _defineProperty({}, _attachmentImgItem[\"default\"].previewed, isPreviewed && isPreviewed(uid))),\n        title: displayName\n      }, displayName), this.state.status === STATUS.editing && /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Input, {\n        borderType: \"bordered\",\n        ref: this.nameInputRef,\n        size: \"small\",\n        value: this.state.imageName,\n        onBlur: this.handleNameBlur,\n        onChange: this.handleNameChange,\n        onPressEnter: this.handlePressEnter\n      })), this.state.showActionButtons && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames3[\"default\"])('kd-cq-attachment-item-buttonsbox', _attachmentImgItem[\"default\"].imgbuttonsbox)\n      }, status === 'success' && showDownload && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames3[\"default\"])(_attachmentImgItem[\"default\"].imgactionbutton, 'kd-hover-color', 'kdfont kdfont-xiazai'),\n        onClick: function onClick() {\n          return downloadFile(uid);\n        }\n      }), status !== 'success' && status !== 'uploading' && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames3[\"default\"])(_attachmentImgItem[\"default\"].imgactionbutton, 'kd-hover-color', 'kdfont kdfont-shuaxin'),\n        onClick: function onClick() {\n          return handleReUpload(file);\n        }\n      }), status !== 'uploading' && showDelete && !disabled && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: deleteBut,\n        onClick: function onClick() {\n          return _this2.comfirmDelete(uid);\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"iframe\", {\n        style: {\n          display: 'none'\n        },\n        src: \"about:blank\",\n        className: \"downloadAll\"\n      }));\n    }\n  }]);\n  return AttachmentImgItem;\n}(_react[\"default\"].Component)) || _class) || _class);\nvar _default = exports[\"default\"] = AttachmentImgItem;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Attachment/AttachmentImgItem.jsx?");

/***/ }),

/***/ "./src/component/web/base/Attachment/AttachmentImgItemWrap.jsx":
/*!*********************************************************************!*\
  !*** ./src/component/web/base/Attachment/AttachmentImgItemWrap.jsx ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.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.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.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 _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _ImageListSort = _interopRequireDefault(__webpack_require__(/*! @/component/common/ImageListSort */ \"./src/component/common/ImageListSort.js\"));\nvar _dragService = __webpack_require__(/*! @/service/web/dragService */ \"./src/service/web/dragService.js\");\nvar _attachmentConst = __webpack_require__(/*! @/constant/attachmentConst */ \"./src/constant/attachmentConst.js\");\nvar _appModelFunction = __webpack_require__(/*! @/model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _useLongPress = _interopRequireDefault(__webpack_require__(/*! @/hooks/useLongPress */ \"./src/hooks/useLongPress.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 _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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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); }\nvar AttachmentImgItemWrap = function AttachmentImgItemWrap(WrappedComponent) {\n  return function (props) {\n    var _imageWrapRef$current, _imageItemRef$current;\n    var imageWrapRef = (0, _react.useRef)();\n    var imageItemRef = imageWrapRef === null || imageWrapRef === void 0 || (_imageWrapRef$current = imageWrapRef.current) === null || _imageWrapRef$current === void 0 ? void 0 : _imageWrapRef$current.imageItemRef; // 图片ref\n\n    var onDragend = function onDragend(args) {\n      props.dragFile(_objectSpread(_objectSpread({}, args), {}, {\n        dragFileType: 'img'\n      }));\n    };\n    var onLongPress = function onLongPress() {\n      (0, _appModelFunction.setDataMessages)(props.pageId, {\n        content: (0, _intlApi.getLangMsg)({\n          key: 'Attachment.key0001'\n        }),\n        type: _const.AlertType.WARNING,\n        duration: 3000\n      });\n    };\n    var longPressEvents = (0, _useLongPress[\"default\"])({\n      onLongPress: onLongPress\n    }); // 识别长按事件\n\n    (0, _ImageListSort[\"default\"])({\n      parentElement: props.parentElement || (imageItemRef === null || imageItemRef === void 0 || (_imageItemRef$current = imageItemRef.current) === null || _imageItemRef$current === void 0 ? void 0 : _imageItemRef$current.parentNode),\n      dragItemRef: imageItemRef,\n      onDragEnd: onDragend,\n      onMoveFinish: props.onMoveFinish,\n      canDrag: props.canDrag,\n      animatingKey: _attachmentConst.DARG_ANIMATING_KEY,\n      dragElement: _dragService.dragElement,\n      removeDragElement: _dragService.removeDragElement\n    });\n    var Component = /*#__PURE__*/_react[\"default\"].createElement(WrappedComponent, _extends({\n      ref: imageWrapRef\n    }, props));\n    if (props.dragble && props.hasErrorFile) {\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", longPressEvents, Component);\n    }\n    return Component;\n  };\n};\nvar _default = exports[\"default\"] = AttachmentImgItemWrap;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Attachment/AttachmentImgItemWrap.jsx?");

/***/ }),

/***/ "./src/component/web/base/Attachment/AttachmentPanel.jsx":
/*!***************************************************************!*\
  !*** ./src/component/web/base/Attachment/AttachmentPanel.jsx ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.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.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.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.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.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.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.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.array.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.js\");\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.array.find-index.js */ \"../../node_modules/core-js/modules/es.array.find-index.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.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\n__webpack_require__(/*! core-js/modules/es.array.join.js */ \"../../node_modules/core-js/modules/es.array.join.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.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.array.reverse.js */ \"../../node_modules/core-js/modules/es.array.reverse.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.array.some.js */ \"../../node_modules/core-js/modules/es.array.some.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.array.splice.js */ \"../../node_modules/core-js/modules/es.array.splice.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.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.object.values.js */ \"../../node_modules/core-js/modules/es.object.values.js\");\n__webpack_require__(/*! core-js/modules/es.parse-int.js */ \"../../node_modules/core-js/modules/es.parse-int.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.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.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/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\n__webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames5 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _moment = _interopRequireDefault(__webpack_require__(/*! moment */ \"../../node_modules/moment/moment.js\"));\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _global = _interopRequireWildcard(__webpack_require__(/*! @/global */ \"./src/global/index.js\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! @/component/common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _CollapseWrap = _interopRequireDefault(__webpack_require__(/*! @/component/common/CollapseWrap */ \"./src/component/common/CollapseWrap.js\"));\nvar _appModelFunction = __webpack_require__(/*! @/model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _KDConfirm = _interopRequireDefault(__webpack_require__(/*! @/component/web/KDConfirm.js */ \"./src/component/web/KDConfirm.js\"));\nvar _memoryCacher = __webpack_require__(/*! @/model/memoryCacher */ \"./src/model/memoryCacher.js\");\nvar _attachmentConst = __webpack_require__(/*! @/constant/attachmentConst */ \"./src/constant/attachmentConst.js\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _urlconst = __webpack_require__(/*! @/constant/urlconst */ \"./src/constant/urlconst.js\");\nvar _resizeObserve = _interopRequireDefault(__webpack_require__(/*! @/util/resizeObserve */ \"./src/util/resizeObserve.js\"));\nvar _server = __webpack_require__(/*! @/action/actionname/control/attachment/server */ \"./src/action/actionname/control/attachment/server/index.js\");\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher */ \"./src/model/GlobalDataCacher.js\");\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _getWebRootPath = _interopRequireDefault(__webpack_require__(/*! @/api/getWebRootPath */ \"./src/api/getWebRootPath.js\"));\nvar _attachmentUtils = __webpack_require__(/*! @/util/attachmentUtils */ \"./src/util/attachmentUtils.js\");\nvar _requestParamsUtil = __webpack_require__(/*! @/util/requestParamsUtil */ \"./src/util/requestParamsUtil.js\");\nvar _ctrlMethodConst = __webpack_require__(/*! @/constant/ctrlMethodConst */ \"./src/constant/ctrlMethodConst.js\");\nvar _customCtrlName = _interopRequireDefault(__webpack_require__(/*! @/constant/customCtrlName */ \"./src/constant/customCtrlName.js\"));\nvar _defaultPropsUtil = __webpack_require__(/*! @/util/defaultPropsUtil */ \"./src/util/defaultPropsUtil.js\");\nvar _serverproperties = __webpack_require__(/*! @/constant/serverproperties */ \"./src/constant/serverproperties.js\");\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _HorizontalAttachment = _interopRequireDefault(__webpack_require__(/*! ./HorizontalAttachment */ \"./src/component/web/base/Attachment/HorizontalAttachment.jsx\"));\nvar _AttachmentUploader = _interopRequireDefault(__webpack_require__(/*! ./AttachmentUploader */ \"./src/component/web/base/Attachment/AttachmentUploader.jsx\"));\nvar _FileLists = _interopRequireDefault(__webpack_require__(/*! ./FileLists */ \"./src/component/web/base/Attachment/FileLists.jsx\"));\nvar _lodash = __webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\");\nvar _crypto = __webpack_require__(/*! @/api/crypto.js */ \"./src/api/crypto.js\");\nvar _clientEnv = _interopRequireDefault(__webpack_require__(/*! @/plugin/clientEnv */ \"./src/plugin/clientEnv.js\"));\nvar _attachment_message = _interopRequireDefault(__webpack_require__(/*! @/component/web/img/default/attachment_message.png */ \"./src/component/web/img/default/attachment_message.png\"));\nvar _attachment = _interopRequireDefault(__webpack_require__(/*! ./style/attachment.less */ \"./src/component/web/base/Attachment/style/attachment.less\"));\nvar _ImageListSort = __webpack_require__(/*! @/component/common/ImageListSort */ \"./src/component/common/ImageListSort.js\");\nvar _excluded = [\"extName\", \"disabled\", \"style\", \"className\", \"Grow\", \"Shrink\", \"AlignSelf\", \"onClick\", \"showCreator\", \"showCreateDate\", \"remarkClick\", \"showMark\", \"locale\", \"isDesigner\", \"Name\", \"attachmentUploadMaxSize\", \"Collapsible\", \"defaultCollapse\", \"collapseCFlag\", \"isSelected\", \"outlineList\", \"tips\", \"showFormByTips\", \"userLocal\", \"clickTipsLink\", \"dataPageId\", \"model\", \"dispatch\", \"updateControlValue\", \"removeFile\", \"uploadFile\", \"displayData\", \"isCard\", \"showTitle\", \"hideDownLoadAll\", \"showAttachmentNum\", \"isField\", \"comfirmDelete\", \"maxAtmCount\", \"rowIndex\", \"showThumbnails\", \"isTiled\", \"attachOperationCount\", \"attachOperaClick\", \"forbidfiletype\", \"dateFormatter\", \"fileTypeWhiteList\", \"showOperaBut\", \"composedProps\", \"sortField\", \"sortType\", \"mustInput\", \"labelStyle\", \"beforeUpload\", \"afterUpload\", \"maxSize\", \"previewType\", \"openByNewTab\", \"renameFile\", \"checkDuplicateFileName\", \"onNewTabPreview\", \"dragble\"];\nvar _class;\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 _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it[\"return\"] != null) it[\"return\"](); } finally { if (didErr) throw err; } } }; }\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 _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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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 _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 notAllowExtName = ['exe', 'war', 'jar', 'sh', 'bat', 'py', 'php', 'jsp', 'asp', 'cmd', 'js', 'cgi', 'class', 'jspx', 'aspx', 'htm', 'html', 'htt', 'htx', 'mhtm', 'mhtml', 'shtm', 'shtml', 'acgi'];\nvar imgtype = ['jpg', 'jpeg', 'gif', 'bmp', 'png', 'dib', 'rle', 'emf', 'jpe', 'jfif', 'pcx', 'dcx', 'pic', 'tga', 'tif', 'wmf'];\nvar TITLE_HEIGHT = 38;\nvar MAX_UPLOADING_NUM = 5; // 上传中的文件数目限制\nvar AttachmentPanel = (0, _CollapseWrap[\"default\"])(_class = /*#__PURE__*/function (_React$Component) {\n  _inherits(AttachmentPanel, _React$Component);\n  function AttachmentPanel(props) {\n    var _this;\n    _classCallCheck(this, AttachmentPanel);\n    _this = _callSuper(this, AttachmentPanel, [props]);\n    // 处理后端权限过来后，先隐藏到显示页面闪一下。和产品沟通后改为如果无权隐藏按钮关闭，页面默认显示，不隐藏按钮。\n    // ============================== Listener ==============================\n    _this.addListeners = function () {\n      _this.addResizeObserver();\n      _this.addDataChangeListener();\n      _this.subscribeControlMethods();\n    };\n    _this.addResizeObserver = function () {\n      var _this$props = _this.props,\n        isDesigner = _this$props.isDesigner,\n        disabled = _this$props.disabled;\n      if (isDesigner || disabled) return;\n      var pasteOpened = _this.isPasteImgOpened();\n      document.addEventListener('dragover', _this.dragEvent);\n      document.addEventListener('drop', _this.dropEvent);\n      _this.throttlePasteImg = (0, _lodash.throttle)(_this.pasteImg, 300);\n      pasteOpened && document.addEventListener('paste', _this.throttlePasteImg);\n      if (_this.dragDom && pasteOpened) {\n        _this._resizeObserve = (0, _resizeObserve[\"default\"])(_this.dragDom, _this.resizeListener);\n      }\n    };\n    _this.addDataChangeListener = function () {\n      var _this$props2 = _this.props,\n        model = _this$props2.model,\n        rowIndex = _this$props2.rowIndex;\n      var pageId = model && model.pageId;\n      var id = model && model.meta.get('id');\n      var aid = rowIndex ? rowIndex + id : id;\n      var handleMessageChange = function handleMessageChange(message) {\n        // addDataChangeListener是异步回调，需要判断控件是否销毁\n        !_this.dispose && _this.setState({\n          message: message\n        });\n      };\n      var handlePreviewerToggle = function handlePreviewerToggle(data) {\n        if (data === undefined || data === true) return;\n        var shouldSetPreviewedColor = (0, _defaultPropsUtil.getUIDefaultProps)(_customCtrlName[\"default\"].ATTACHMENT, 'setPreviewedColor');\n        if (data === false && shouldSetPreviewedColor) {\n          // 关闭预览，更新颜色\n          _this.forceUpdate();\n        }\n      };\n      _this.removeDataMessageListener = (0, _memoryCacher.addDataChangeListener)(pageId, [aid, _attachmentConst.ATTACHMENT_MESSAGES], handleMessageChange);\n      _this.removePreviewerListener = (0, _GlobalDataCacher.addDataChangeListener)(_symbolConst.KEY_WEB_ATTACHMENT_PREVIEW, function (data) {\n        handlePreviewerToggle(data);\n      });\n    };\n    _this.subscribeControlMethods = function () {\n      var _this$props3 = _this.props,\n        model = _this$props3.model,\n        rowIndex = _this$props3.rowIndex;\n      var pageId = model && model.pageId;\n      var key = model && model.key;\n      _this.unsubscribeAddOperaBtn = (0, _memoryCacher.subscribeControlMethod)(pageId, key, _server.ATTACH_ADD_OPERABTN, function (pageData) {\n        if (pageData === undefined) {\n          return;\n        }\n        pageData.forEach(function (event) {\n          var methodname = event.methodname,\n            args = event.args;\n          if (methodname === _server.ATTACH_ADD_OPERABTN) {\n            args[0] && _this.attachOperabtnListener(args[0]);\n          }\n        });\n      });\n      _this.unsubscribeControlMethod = (0, _memoryCacher.subscribeControlMethod)(pageId, key, 'directives', function (pageData) {\n        if (pageData === undefined) {\n          return;\n        }\n        _this.doControlMethods(pageData, rowIndex);\n      });\n    };\n    _this.removeListeners = function () {\n      var _this$removeDataMessa, _this2, _this$removePreviewer, _this3, _this$unsubscribeAddO, _this4, _this$unsubscribeCont, _this5;\n      document.removeEventListener('dragover', _this.dragEvent);\n      document.removeEventListener('drop', _this.dropEvent);\n      document.removeEventListener('paste', _this.throttlePasteImg);\n      if (_this._resizeObserve) {\n        _this._resizeObserve.removeResizeObserve();\n        _this._resizeObserve = null;\n      }\n      (_this$removeDataMessa = (_this2 = _this).removeDataMessageListener) === null || _this$removeDataMessa === void 0 || _this$removeDataMessa.call(_this2);\n      (_this$removePreviewer = (_this3 = _this).removePreviewerListener) === null || _this$removePreviewer === void 0 || _this$removePreviewer.call(_this3);\n      (_this$unsubscribeAddO = (_this4 = _this).unsubscribeAddOperaBtn) === null || _this$unsubscribeAddO === void 0 || _this$unsubscribeAddO.call(_this4);\n      (_this$unsubscribeCont = (_this5 = _this).unsubscribeControlMethod) === null || _this$unsubscribeCont === void 0 || _this$unsubscribeCont.call(_this5);\n    };\n    // 获取无权隐藏按钮\n    _this.getEnableNoPermBtnHide = function () {\n      // 无权隐藏按钮\n      var systemParam = (0, _GlobalDataCacher.getData)(_symbolConst.KEY_SYSTEM_PARAM);\n      if (systemParam) {\n        var _systemParam$attachme, _systemParam$attachme2;\n        return (_systemParam$attachme = (_systemParam$attachme2 = systemParam.attachmentSysInfo) === null || _systemParam$attachme2 === void 0 ? void 0 : _systemParam$attachme2.enableNoPermBtnHide) !== null && _systemParam$attachme !== void 0 ? _systemParam$attachme : false;\n      }\n      return false;\n    };\n    // 无上传权限，取消上传\n    _this.noUploadPermissionCancel = function (list, uploadPermission) {\n      if (!list.length) return;\n      var parameters = [];\n      list.forEach(function (item) {\n        var _this$uploaderRef$cur;\n        (_this$uploaderRef$cur = _this.uploaderRef.current) === null || _this$uploaderRef$cur === void 0 || _this$uploaderRef$cur.getUploader().abort(item);\n        if (_this.uploadingNum > 0) {\n          _this.uploadingNum--;\n        }\n        _this.dequeueWaitingQueue();\n        _this.setUploadProp({\n          uid: item.uid\n        }, 'status', _attachmentConst.ATTACHMENT_STATUS.FAILURE);\n        parameters.push({\n          uid: item.uid,\n          status: _attachmentConst.ATTACHMENT_STATUS.FAILURE\n        });\n      });\n      // 无上传权限提示无上传权限，有上传权限提示没有附件查询权限\n      !uploadPermission ? _this.showNoPermissionTip('upload') : _this.showNoPermissionTip('attView');\n      if (parameters.length > 0) {\n        _this.props.afterUpload && _this.props.afterUpload([parameters]);\n      }\n    };\n    // 更新附件权限回调\n    _this.updatePermissionCallback = function () {\n      var preview = _this.state.attachmentPermission.preview;\n      if (_this.showTimeOut) {\n        clearTimeout(_this.showTimeOut);\n        _this.showTimeOut = null;\n      }\n      // 预览权限为false关闭预览窗口\n      if (!preview) {\n        var hasWebAttachmentPreview = (0, _GlobalDataCacher.getData)(_symbolConst.KEY_WEB_ATTACHMENT_PREVIEW);\n        hasWebAttachmentPreview && (0, _GlobalDataCacher.setData)(_symbolConst.KEY_WEB_ATTACHMENT_PREVIEW, false);\n      }\n    };\n    // 延迟展示按钮，解决后端权限传过来后按钮先出现后消失的问题\n    _this.lazyShowBtn = function () {\n      _this.showTimeOut = setTimeout(function () {\n        var model = _this.props.model;\n        var pageId = model && model.pageId;\n        var key = model && model.key;\n        _this.enableNoPermBtnHide = _this.getEnableNoPermBtnHide();\n        // 初始化时，查看是否有附件权限缓存，如果有则用缓存的权限。处理单据体中，新增分录时后端不返回权限指令问题\n        var permissionMemoryCacher = pageId && key && (0, _memoryCacher.getPageData)(pageId, [_attachmentConst.ATTACHMENT_PERMISSION, key]);\n        _this.setState({\n          attachmentPermission: permissionMemoryCacher || Object.assign({}, _this.state.attachmentPermission, _this.lazyPermission)\n        }, function () {\n          _this.updatePermissionCallback();\n        });\n      }, 300);\n    };\n    // 处理后端返回数据格式\n    _this.handelsetPermissionFormat = function (attachmentPermission) {\n      var model = _this.props.model;\n      var pageId = model.pageId,\n        key = model.key;\n      var attachmentPermissionMsg = {};\n      for (var _key in attachmentPermission) {\n        attachmentPermissionMsg[_key] = attachmentPermission[_key].msg;\n        attachmentPermission[_key] = attachmentPermission[_key][_key];\n      }\n      (0, _memoryCacher.setPageData)(pageId, [key, _attachmentConst.ATTACHMENT_PERMISSION_MSG], attachmentPermissionMsg);\n      return attachmentPermission;\n    };\n    // 更新附件权限\n    _this.updateAttachmentPermission = function (attachmentPermission) {\n      var model = _this.props.model;\n      var pageId = model.pageId,\n        key = model.key;\n      attachmentPermission = _this.handelsetPermissionFormat(attachmentPermission);\n      var oldAttachmentPermission;\n      if (_this.showTimeOut) {\n        // 是否在处在延迟展示\n        oldAttachmentPermission = _this.lazyPermission;\n        _this.enableNoPermBtnHide = _this.getEnableNoPermBtnHide();\n      } else {\n        oldAttachmentPermission = _this.state.attachmentPermission;\n      }\n      var newAttachmentPermission = Object.assign({}, oldAttachmentPermission, attachmentPermission);\n      (0, _memoryCacher.setPageData)(pageId, [_attachmentConst.ATTACHMENT_PERMISSION, key], newAttachmentPermission);\n\n      // 当没有附件上传和查询权限时，检测是否有附件正在上传，如果有就取消上传\n      if ((!newAttachmentPermission.upload || !newAttachmentPermission.attView) && _this.uploadingNum) {\n        var uploadingList = _this.state.files.filter(function (file) {\n          return file.status === _attachmentConst.ATTACHMENT_STATUS.UPLOAD;\n        });\n        _this.noUploadPermissionCancel(uploadingList, newAttachmentPermission.upload);\n      }\n      _this.setState({\n        attachmentPermission: newAttachmentPermission\n      }, function () {\n        _this.updatePermissionCallback();\n      });\n    };\n    _this.doControlMethods = function (events, rowIndex) {\n      events.forEach(function (event) {\n        var methodName = event.methodname,\n          args = event.args;\n        switch (methodName) {\n          case _ctrlMethodConst.M_REMOVE_ATTACHMENT:\n            _this.removeAttachment(args);\n            break;\n          case _ctrlMethodConst.M_BEFORE_REMOVE_ATTACHMENT:\n            if (args.rowIndex === rowIndex) {\n              _this.beformRemoveAttachment(args);\n            }\n            break;\n          case _ctrlMethodConst.M_SET_CUSTOM_BLACKLIST:\n            {\n              var _args = _slicedToArray(args, 1),\n                blacklist = _args[0];\n              _this.customBlacklist = blacklist;\n            }\n            break;\n          case _server.M_CANCEL_UPLOAD:\n            {\n              var _args2 = _slicedToArray(args, 1),\n                idsForCancel = _args2[0];\n              _this.cancelUploadByDirective(idsForCancel);\n            }\n            break;\n          case _server.SET_ATT_PERMISSION:\n            // 处理卡片视图多个权限一样的情况，会多次触发，每次触发时创造一个新的对象，避免直接对原对象造成影响\n            _this.updateAttachmentPermission(_objectSpread({}, args[0]));\n            break;\n          case _ctrlMethodConst.M_DOWNLOAD_ATTACHMENT:\n            {\n              var _args3 = _slicedToArray(args, 1),\n                _args3$ = _args3[0],\n                downloadAll = _args3$.downloadAll,\n                uid = _args3$.uid,\n                password = _args3$.password;\n              if (downloadAll) {\n                _this.downloadAllFile(true, password);\n              } else if (uid) {\n                _this.downloadFile(uid, true, password);\n              }\n            }\n            break;\n        }\n      });\n    };\n    _this.attachOperabtnListener = function (data) {\n      if (!_this.dispose && Array.isArray(data)) {\n        var _this$props4 = _this.props,\n          rowIndex = _this$props4.rowIndex,\n          isCard = _this$props4.isCard;\n        var operaBtns = isCard ? data.filter(function (item) {\n          return item.rowIndex === rowIndex;\n        }) : data;\n        _this.setState({\n          operaBtns: operaBtns\n        });\n      }\n    };\n    // ============================== Upload & Download ==============================\n    // 上传文件前的判断工作\n    // 同一批选择的文件， fileList 相等\n    _this.beforeUpload = function (file, fileList) {\n      // 同一批次的判断一次\n      if (!_this.uploadFile || !(0, _lodash.isEqual)(_this.uploadFile, fileList)) {\n        _this.canUpload(fileList);\n      }\n      var result = _this.canUploads[file.uid];\n      if (result && _this.uploadingNum >= MAX_UPLOADING_NUM) {\n        file.status = _attachmentConst.ATTACHMENT_STATUS.WAITING;\n        _this.setState(function (state) {\n          return {\n            waitingQueue: [].concat(_toConsumableArray(state.waitingQueue), [file])\n          };\n        });\n        return false;\n      }\n      result && ++_this.uploadingNum;\n      return result;\n    };\n    // 开始上传\n    _this.onStart = function (file) {\n      _this._isReUpload = false;\n      var idx;\n      var _files = _this.state.files;\n      // 处理重新上传 => start\n      var hasFile = _files.some(function (item, index) {\n        if (item.uid === file.uid) {\n          idx = index;\n          return true;\n        }\n      });\n      if (hasFile) {\n        _files[idx].status = _attachmentConst.ATTACHMENT_STATUS.UPLOAD;\n        _files[idx].progress = {\n          percent: '0'\n        };\n        _this.setState({\n          files: _files\n        });\n        return;\n      }\n      // 处理重新上传 => end\n      file.status = _attachmentConst.ATTACHMENT_STATUS.UPLOAD;\n      file.progress = {\n        percent: '0'\n      };\n      _files.push(file);\n      _this.setState({\n        files: _files\n      });\n    };\n    _this.onProgress = function (e, file) {\n      _this.setUploadProp({\n        uid: file.uid\n      }, 'progress', e);\n    };\n    _this.onError = function (erro, res, file) {\n      var _res$description;\n      if (_this.uploadingNum > 0) {\n        _this.uploadingNum--;\n      }\n      _this.dequeueWaitingQueue();\n      _this.setUploadProp({\n        uid: file.uid\n      }, 'status', _attachmentConst.ATTACHMENT_STATUS.FAILURE);\n      var alertMsg = (_res$description = res === null || res === void 0 ? void 0 : res.description) !== null && _res$description !== void 0 ? _res$description : (0, _intlApi.getLangMsg)({\n        key: 'attachmentpanel.key0014'\n      });\n      _this.showAlert(alertMsg);\n      _this.props.afterUpload && _this.props.afterUpload([[{\n        uid: file.uid,\n        description: alertMsg,\n        status: _attachmentConst.ATTACHMENT_STATUS.FAILURE\n      }]]);\n    };\n    _this.onSuccess = function (res, file) {\n      if (_this.uploadingNum > 0) {\n        _this.uploadingNum--;\n      }\n      _this.dequeueWaitingQueue();\n      if (res.status !== _attachmentConst.ATTACHMENT_STATUS.SUCCESS) {\n        return _this.onError('uploadError', res, file);\n      }\n      file.status = _attachmentConst.ATTACHMENT_STATUS.UPLOAD;\n      _this.setUploadProp({\n        uid: file.uid,\n        url: res.url\n      }, 'status', _attachmentConst.ATTACHMENT_STATUS.UPLOAD, function () {\n        var _files = _this.state.files;\n        var fileList = _files.map(function (item) {\n          if (item.uid === file.uid) {\n            var _res$size;\n            return {\n              lastModified: item.lastModified,\n              name: item.name,\n              size: (_res$size = res.size) !== null && _res$size !== void 0 ? _res$size : item.size,\n              status: item.status,\n              type: item.type,\n              uid: item.uid,\n              url: item.url,\n              createdate: item.createdate || '',\n              creator: item.creator || '',\n              description: item.description || '',\n              previewurl: item.previewurl || '',\n              progress: {\n                percent: item.progress && item.progress.percent || 0,\n                loaded: item.progress && item.progress.loaded || 0,\n                total: item.progress && item.progress.total || 0\n              },\n              visible: item.visible || '1111',\n              hiddenBtn: item.hiddenBtn || []\n            };\n          } else {\n            return item;\n          }\n        });\n        _this.props.updateControlValue((0, _immutable.fromJS)(fileList));\n      });\n      var param = _this.formatFile(file, res);\n      _this.handelPostFile(param);\n    };\n    /**\n     * 判断文件是否满足上传条件\n     */\n    _this.validateFile = function (file, count) {\n      var _this$props5 = _this.props,\n        model = _this$props5.model,\n        maxSize = _this$props5.maxSize,\n        maxAtmCount = _this$props5.maxAtmCount;\n      var Length = _this.state.files.filter(function (file) {\n        return file.status !== _attachmentConst.ATTACHMENT_STATUS.CANCELED && file.status !== _attachmentConst.ATTACHMENT_STATUS.FAILURE;\n      }).length + count;\n\n      // 文件名重复\n      if (_this.props.checkDuplicateFileName && !_this._isReUpload && _this.hasSameNameFile(file)) {\n        if (file.pictureSource !== 'paste') {\n          _this.handleErrorTip('attachmentpanel.key0077', {\n            key: 'attachmentpanel.key0077',\n            variables: {\n              name: file.name\n            }\n          });\n          // this.showAlert(getLangMsg({ key: 'attachmentpanel.key0077', variables: { name: file.name } }))\n          return false;\n        }\n      }\n      if (_this.props.checkDuplicateFileName && file.pictureSource) delete file.pictureSource;\n      // 文件后缀名不符合提示\n      var typeMsg = _this.isFileTypeAllowed(file);\n      if (typeMsg !== true) {\n        // this.showAlert(getLangMsg({ key: typeMsg, variables: { name: file.name } }))\n        _this.handleErrorTip(typeMsg, {\n          key: typeMsg,\n          variables: {\n            name: file.name\n          }\n        });\n        return false;\n      }\n      if (file.size > maxSize) {\n        _this.handleErrorTip('attachmentpanel.key0003', {\n          key: 'attachmentpanel.key0003',\n          variables: {\n            name: file.name,\n            maxAtmSize: maxSize / 1024 / 1024\n          }\n        });\n        // this.showAlert(getLangMsg({ key: 'attachmentpanel.key0003', variables: { name: file.name, maxAtmSize: maxSize / 1024 / 1024 } }))\n        return false;\n      }\n\n      // 文件大小为0提示\n      if (file.size === 0) {\n        _this.handleErrorTip('attachmentpanel.key0046', {\n          key: 'attachmentpanel.key0046',\n          variables: {\n            name: file.name\n          }\n        });\n        // this.showAlert(getLangMsg({ key: 'attachmentpanel.key0046', variables: { name: file.name } }))\n        return false;\n      }\n\n      // 附件上传个数达到最大提示\n      if (maxAtmCount && Length > maxAtmCount) {\n        _this.handleErrorTip('attachmentpanel.key0004', {\n          key: 'attachmentpanel.key0004',\n          variables: {\n            maxAtmCount: maxAtmCount\n          }\n        });\n        // this.showAlert(getLangMsg({ key: 'attachmentpanel.key0004', variables: { maxAtmCount: maxAtmCount } }))\n        return false;\n      }\n\n      // 附件文件名过滤特殊字符\n      var noUploading = false;\n      var specialCharacter = '';\n      var name = file.name && file.name.replace(':', '/'); // 文件上传时会将文件名中的'/'换成':'，这里要换回来\n      _attachmentConst.ATTACHMENT_NAME_BAN_CHARACTERS.forEach(function (item) {\n        if (name && name.includes(item)) {\n          noUploading = true;\n          specialCharacter = item === ' ' ? '空格' : item;\n        }\n      });\n      if (noUploading) {\n        _this.handleErrorTip('attachmentpanel.key0114', {\n          key: 'attachmentpanel.key0114',\n          variables: {\n            name: name,\n            specialCharacter: specialCharacter\n          }\n        });\n        // this.showAlert(getLangMsg({ key: 'attachmentpanel.key0031', variables: { name: name, specialCharacter: specialCharacter } }))\n        return false;\n      }\n      return true;\n    };\n    _this.renameFile = function (args) {\n      _this.props.renameFile(args);\n    };\n    _this.checkDuplicateFileName = function (fileName, uid) {\n      if (!_this.props.checkDuplicateFileName || !fileName) {\n        return false;\n      }\n      var isDuplicateFileName = _this.state.files.find(function (file) {\n        return file.name.toLocaleLowerCase() === fileName.toLocaleLowerCase() && file.uid !== uid;\n      });\n      if (isDuplicateFileName) {\n        _this.showAlert((0, _intlApi.getLangMsg)('attachmentpanel.key0078'));\n        return true;\n      }\n      return false;\n    };\n    _this.validateFileList = function (fileList) {\n      var length = fileList.length;\n      var result = {};\n      var requestParams = [];\n      fileList.forEach(function (file) {\n        var canUpload = _this.validateFile(file, length);\n        if (canUpload) {\n          result[file.uid] = true;\n          requestParams.push({\n            uid: file.uid,\n            name: file.name,\n            size: file.size,\n            type: file.type\n          });\n        } else {\n          result[file.uid] = false;\n        }\n      });\n      _this.showErrorTip();\n      return {\n        canUploads: result,\n        beforeUploadParams: requestParams\n      };\n    };\n    _this.canUpload = function (fileList) {\n      _this.uploadFile = fileList;\n      var validation = _this.validateFileList(fileList);\n      _this.canUploads = validation.canUploads;\n      if (validation.beforeUploadParams.length > 0) {\n        _this.props.beforeUpload && _this.props.beforeUpload([validation.beforeUploadParams]);\n      }\n    };\n    _this.postFilesReOrder = function () {\n      var originalList = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n      var targetList = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n      var resultList = [];\n      var _iterator = _createForOfIteratorHelper(targetList),\n        _step;\n      try {\n        var _loop = function _loop() {\n          var item = _step.value;\n          var res = originalList.find(function (f) {\n            return f.uid === item.uid;\n          });\n          res && resultList.push(res);\n        };\n        for (_iterator.s(); !(_step = _iterator.n()).done;) {\n          _loop();\n        }\n      } catch (err) {\n        _iterator.e(err);\n      } finally {\n        _iterator.f();\n      }\n      return resultList;\n    };\n    _this.handelPostFile = function (fileParam) {\n      // 上传动作节流处理\n      fileParam.status = _attachmentConst.ATTACHMENT_STATUS.SUCCESS;\n      clearTimeout(_this.timer);\n      _this.postFiles.push(fileParam);\n      _this.postfileList.push(fileParam);\n      _this.timer = setTimeout(function () {\n        // 延迟触发，多项上传的时候，保证this.postfileList以及this.postFiles包含全部上传附件的信息\n        if (_this.cancelIds.includes(fileParam.uid)) {\n          _this.setUploadProp({\n            uid: fileParam.uid\n          }, 'status', _attachmentConst.ATTACHMENT_STATUS.CANCELED);\n          _this.props.afterUpload && _this.props.afterUpload([[{\n            uid: fileParam.uid,\n            status: _attachmentConst.ATTACHMENT_STATUS.CANCELED\n          }]]);\n          return;\n        }\n        if (_this.props.isCard || _this.props.isField) {\n          // 附件字段\n          var param = {};\n          var uidarray = [];\n          var sucessArr = [];\n          _this.postfileList.forEach(function (item) {\n            // 将正在上传的附件的ID收集\n            uidarray.push(item.uid);\n          });\n          _this.state.files.forEach(function (file) {\n            if (file.uid !== fileParam.uid) {\n              // 对已有的其他附件进行格式化处理\n              param = _this.formatFile(file, file);\n            }\n            if ((file.url || file.status === _attachmentConst.ATTACHMENT_STATUS.UPLOAD) && uidarray.indexOf(file.uid) === -1) {\n              // 保证已上传成功的附件的存在，同时不是这一批次正在上传的附件，放入this.postfileList\n              Object.keys(param).length > 0 && sucessArr.push(param); // 防止第一个条件没过，将空对象push到sucessArr\n            }\n          });\n          _this.postfileList = sucessArr.concat(_this.postfileList).map(function (item, index) {\n            return _objectSpread(_objectSpread({}, item), {}, {\n              dragseq: index\n            });\n          }); // 后端要求加上 用于标识拖拽信息\n          _this.props.uploadFile && _this.props.uploadFile(_this.postfileList); // 附件字段的交互，是将附件列表全部返回给后端，所以要将已上传的附件放入this.postfileList\n        } else {\n          // 附件面板\n          if (_this.props.dragble) {\n            // 附件面板在开启拖拽时，多传一个拖拽标识的参数\n            // 附件面板没有u指令重刷顺序，所以要把postFiles的顺序调整为state.files对应的顺序\n            _this.postFiles = _this.postFilesReOrder(_this.postFiles, _this.state.files).map(function (item, index) {\n              return _objectSpread(_objectSpread({}, item), {}, {\n                dragseq: _this.state.files.length - _this.postFiles.length + index // 已上传的附件数量-正在上传的数量\n              });\n            });\n          }\n          _this.props.uploadFile && _this.props.uploadFile([_this.postFiles]); // 附件面板的交互，是只将正在上传的附件返回给后端\n        }\n        _this.postFiles = [];\n        _this.postfileList = [];\n      }, 1000);\n      // this.setUploadProp({ uid: file.uid }, 'status', 'success')\n    };\n    _this.setUploadProp = function (_ref, prop, val, cb) {\n      var uid = _ref.uid,\n        url = _ref.url;\n      var _files = _this.state.files;\n      _files.forEach(function (item) {\n        if (item.uid === uid) {\n          item[prop] = val;\n          // 上传成功 添加\n          if (url) item.url = url;\n        }\n      });\n      _this.setState({\n        files: _files\n      }, function () {\n        if (cb) cb.call(_assertThisInitialized(_this));\n      });\n    };\n    _this.dragEvent = function (e) {\n      e.stopPropagation();\n      e.preventDefault();\n    };\n    _this.dropEvent = function (e) {\n      _this.dragEvent(e);\n      if (!_this.state.showShade) return;\n      !_this.dispose && _this.setState({\n        showShade: false\n      });\n    };\n    _this.getTopElement = function (element) {\n      var topElement = element;\n      while (topElement.parentElement) {\n        if (topElement.parentElement.nodeName !== 'BODY') {\n          topElement = topElement.parentElement;\n        } else {\n          return topElement;\n        }\n      }\n      return topElement;\n    };\n    _this.pasteImg = function (e) {\n      if (_this.props.disabled || _this.props.isDesigner || _this.dispose) return;\n      if (!(e.clipboardData && e.clipboardData.types)) return;\n      if (e.clipboardData.types.indexOf('Files') === -1 || e.clipboardData.types.indexOf('text/plain') > -1) return;\n      var activeElement = _this.getTopElement(document.activeElement);\n      if (_this.dragDom && !activeElement.contains(_this.dragDom)) return;\n      e.stopPropagation();\n      e.preventDefault();\n      var model = _this.props.model;\n      var attaElements = document.querySelectorAll('[data-attachment=\"' + model.pageId + '\"]');\n      if (_this.domActived) {\n        if (attaElements.length === 1) {\n          _this.handleUpload(e);\n        } else if (attaElements.length > 1) {\n          var items = e.clipboardData.items;\n          var file = null;\n          if (items && items.length) {\n            for (var i = 0; i < items.length; i++) {\n              if (items[i].type.indexOf('image') !== -1) {\n                file = items[i].getAsFile();\n                break;\n              }\n            }\n          }\n          var reader = new FileReader();\n          var pasteimgSrc = '';\n          reader.onload = function (event) {\n            pasteimgSrc = event.target.result;\n            _this.setState({\n              showPasteImgBox: true,\n              pasteimgSrc: pasteimgSrc,\n              copyObject: file\n            });\n          };\n          reader.readAsDataURL(file);\n        }\n      }\n    };\n    _this.cleanAttachMessages = function () {\n      var _this$props6 = _this.props,\n        model = _this$props6.model,\n        rowIndex = _this$props6.rowIndex;\n      var pageId = model && model.pageId;\n      var id = model && model.meta.get('id');\n      var aid = rowIndex ? rowIndex + id : id;\n      (0, _appModelFunction.cleanAttachMessages)(pageId, aid);\n    };\n    _this.getUploadOption = function (disabled) {\n      var extName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n      var _this$props7 = _this.props,\n        maxAtmCount = _this$props7.maxAtmCount,\n        model = _this$props7.model,\n        pKey = _this$props7.pKey;\n      var multiple = maxAtmCount !== 1;\n      var exts = extName === null || extName === void 0 ? void 0 : extName.split(', ').join(',');\n      var action = (0, _requestParamsUtil.appendCtsynonce)(model, (0, _getWebRootPath[\"default\"])(_urlconst.ATTACHMENTPANEL_FILESERVER_URL));\n      var uploadOption = {\n        disabled: disabled,\n        // true 为禁用,锁定状态禁用\n        action: action,\n        multiple: multiple,\n        // !!multiple,\n        accept: extName,\n        component: 'div',\n        beforeUpload: _this.beforeUpload,\n        onStart: _this.onStart,\n        onSuccess: _this.onSuccess,\n        onError: _this.onError,\n        onProgress: _this.onProgress,\n        data: function data(file) {\n          if (file) {\n            return _objectSpread({\n              urlType: 'pc',\n              key: (0, _attachmentUtils.getAttKeyByUpload)(pKey || (model === null || model === void 0 ? void 0 : model.key), _this.props.isField || _this.props.isCard)\n            }, (0, _requestParamsUtil.getRequestParams)(_this.props.model, {\n              url: file.name\n            }));\n          }\n        }\n      };\n      if (exts) {\n        uploadOption.headers = {\n          awet: (0, _crypto.getEncodeValWithPrefix)(exts, _this.encodeCoding) // awet: 允许上传的格式 allowextension\n        };\n      }\n      return uploadOption;\n    };\n    // 全部下载按钮点击全部下载\n    _this.downloadAll = function () {\n      if (!_this.state.attachmentPermission.download) {\n        return _this.showNoPermissionTip('download');\n      }\n      // 存在不能下载的文件时，弹框提示\n      var limitDownload = _this.state.files.some(function (file) {\n        return file.visible && file.visible[1] !== '1';\n      });\n      if (limitDownload) {\n        var canDownloadNums = _this.state.files.filter(function (file) {\n          return file.visible && file.visible[1] === '1';\n        }).length;\n        (0, _KDConfirm[\"default\"])({\n          msg: \"\\u5F53\\u524D\".concat(_this.state.files.length, \"\\u4E2A\\u9644\\u4EF6\\uFF0C\\u60A8\\u80FD\\u4E0B\\u8F7D\").concat(canDownloadNums, \"\\u4E2A\\uFF0C\\u662F\\u5426\\u7EE7\\u7EED\\uFF1F\"),\n          // getLangMsg({ key: 'attachmentpanel.key0006' }),\n          confirmType: 0,\n          buttonType: 1,\n          onClose: function onClose() {\n            _this.downloadAllFile();\n          }\n        });\n        return;\n      }\n      _this.downloadAllFile();\n    };\n    _this.downloadAllFile = function () {\n      var byDirective = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n      var password = arguments.length > 1 ? arguments[1] : undefined;\n      var cacheFile = [];\n      // const urls = []\n      var uids = [];\n      var fileWithName = [];\n      _this.state.files.forEach(function (item) {\n        // 不存在 visible 时，默认下载\n        // 下载按钮不可见的话，不加入到数组中\n        if (!item.visible || item.visible && item.visible[1] === '1') {\n          var url = item.url,\n            uid = item.uid,\n            name = item.name;\n          uids.push(uid);\n          if (url) {\n            cacheFile.push(url);\n            fileWithName.push({\n              uid: uid,\n              name: name,\n              url: url\n            });\n          }\n        }\n      });\n      var params = _objectSpread({\n        params: JSON.stringify({\n          url: cacheFile\n        }),\n        fileName: \"\".concat((0, _intlApi.getLangMsg)('attachmentpanel.key0072'), \"_\").concat((0, _moment[\"default\"])().format('YYYY-MM-DD'), \".zip\"),\n        contentType: 'application/x-www-form-urlencoded',\n        fileInfo: JSON.stringify(fileWithName)\n      }, (0, _requestParamsUtil.getRequestParams)(_this.props.model));\n      if (_this.props.beforeDownload && !byDirective) {\n        _this.props.beforeDownload([params]);\n        return;\n      }\n      if (cacheFile.length > 0) {\n        if (password) params.password = password;\n        if (_clientEnv[\"default\"].isDesktop) {\n          params.params = encodeURIComponent(params.params);\n          params.fileInfo = encodeURIComponent(params.fileInfo);\n          // 云之家中使用post方式下载\n          _this.postDownloadAll(params);\n        } else {\n          (0, _attachmentUtils.downloadFile)('attachment/downloadAll.do', params);\n        }\n      }\n      _this.props.attachOperationCount && _this.props.attachOperationCount([{\n        operationType: 'downloadAll',\n        uid: uids\n      }]);\n    };\n    _this.postDownloadAll = function (params) {\n      // 判断是否有全部下载正在进行\n      if (!_this.downloadAllIng) {\n        _this.downloadAllIng = true;\n        (0, _attachmentUtils.postDownloadAllFile)((0, _requestParamsUtil.appendParamsToUrl)('attachment/downloadAll.do'), params, function () {\n          // 回调为false\n          _this.downloadAllIng = false;\n        });\n      }\n    };\n    // 点击下载按钮下载文件\n    _this.downloadFile = function (uid) {\n      var byDirective = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n      var password = arguments.length > 2 ? arguments[2] : undefined;\n      // 没有下载权限\n      if (!_this.state.attachmentPermission.download) {\n        return _this.showNoPermissionTip('download');\n      }\n      var file = _this.state.files.find(function (file) {\n        return file.uid === uid;\n      });\n      if (file) {\n        if (_this.props.beforeDownload && !byDirective) {\n          _this.props.beforeDownload([file]);\n          return;\n        }\n        var params = (0, _requestParamsUtil.getRequestParams)(_this.props.model, {\n          fileName: file.name\n        });\n        if (password) params.password = password;\n        (0, _attachmentUtils.downloadFile)(file.url, params);\n        _this.props.attachOperationCount && _this.props.attachOperationCount([{\n          operationType: 'download',\n          uid: [uid]\n        }]);\n      }\n    };\n    // ============================== Event ==============================\n    _this.handleOperaBtnClick = function (operaKey, uid) {\n      var _this$props8 = _this.props,\n        attachOperaClick = _this$props8.attachOperaClick,\n        rowIndex = _this$props8.rowIndex;\n      // window.invokeCustomEvent(pageId, '', [key, 'attOperaBtnClick', operaKey, uid])\n      attachOperaClick && attachOperaClick([{\n        operaKey: operaKey,\n        args: {\n          uid: uid,\n          rowIndex: rowIndex\n        }\n      }]);\n    };\n    _this.handlePreview = function (fileUid) {\n      var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      // 文件加密\n      if (_this.props.isFileEncrypt) {\n        return _this.showAlert((0, _intlApi.getLangMsg)({\n          key: 'attachmentpanel.key0110'\n        }));\n      }\n      // 预览没有权限\n      if (!_this.state.attachmentPermission.preview) {\n        return _this.showNoPermissionTip('preview');\n      }\n      // GlobalCacher\n      var sortFiles = _this.sortFiles(_this.state.files).filter(function (file) {\n        return file.status !== _attachmentConst.ATTACHMENT_STATUS.FAILURE;\n      });\n      var activedIndex = sortFiles.findIndex(function (item) {\n        return item.uid === fileUid;\n      });\n      var _this$props9 = _this.props,\n        model = _this$props9.model,\n        openByNewTab = _this$props9.openByNewTab,\n        onNewTabPreview = _this$props9.onNewTabPreview,\n        activeRowKey = _this$props9.activeRowKey;\n      var attachmentPreviewData = {\n        files: sortFiles,\n        activedIndex: activedIndex,\n        model: model,\n        attachmentPermission: _this.state.attachmentPermission,\n        fromPanel: !(_this.props.isCard || _this.props.isField)\n      };\n      if ((0, _lodash.isNumber)(activeRowKey)) {\n        attachmentPreviewData.curEntryRow = activeRowKey;\n      }\n      if (openByNewTab && !option.showInCurrentPage) {\n        (0, _attachmentUtils.savePreviewedAttamentIdToStorage)(_this.props.model, fileUid);\n        var sortedUids = sortFiles.map(function (file) {\n          return file.uid;\n        });\n        // 附件面板要另外处理，后端插件问题\n        var panelData = _this.props.isCard || _this.props.isField ? null : sortFiles.map(function (file) {\n          return {\n            uid: file.uid,\n            previewurl: file.previewurl,\n            size: file.size,\n            name: file.name,\n            url: file.url,\n            status: file.status,\n            attPkId: file.attPkId,\n            type: file.type,\n            onlyOfficeDownloadUrl: file.onlyOfficeDownloadUrl\n          };\n        });\n        // 将当前附件所在表单的fid，appid等参数传给后端，新页签打开后，后端将该参数传回。用于后端判断新页签预览的附件是否需要显示水印\n        var requestParams = (0, _requestParamsUtil.getRequestParams)(model);\n        var args = {\n          activedIndex: activedIndex,\n          sortedUids: sortedUids,\n          requestParams: requestParams\n        };\n        if (panelData) {\n          args.panelData = panelData;\n        }\n        onNewTabPreview === null || onNewTabPreview === void 0 || onNewTabPreview(args);\n      } else {\n        (0, _GlobalDataCacher.setData)(_symbolConst.KEY_WEB_ATTACHMENT_PREVIEW, [true, attachmentPreviewData]);\n      }\n    };\n    _this.handleImgClick = function () {\n      var copyObject = _this.state.copyObject;\n      copyObject && _this.handleUploadPasteImg(copyObject);\n      _this.setState({\n        showPasteImgBox: false\n      });\n    };\n    // 上传文件\n    _this.handleUpload = function (e) {\n      var _e$target$parentEleme, _this$uploaderRef$cur2, _this$uploaderRef$cur3;\n      // 文件拖拽到上传文件的按钮上时，会触发两次上传动作\n      if (e.type === 'drop' && ((_e$target$parentEleme = e.target.parentElement) === null || _e$target$parentEleme === void 0 ? void 0 : _e$target$parentEleme.className) === 'rc-upload') {\n        return;\n      }\n      e.preventDefault();\n      if (_this.props.disabled) return;\n      // if (!this.uploaderTitle.myUploader) return\n      if (!((_this$uploaderRef$cur2 = _this.uploaderRef.current) !== null && _this$uploaderRef$cur2 !== void 0 && _this$uploaderRef$cur2.getUploader())) return;\n      // 拖拽的过程中不校验权限，拖拽结束时校验\n      if (e.type !== 'dragover' && (!_this.state.attachmentPermission.upload || !_this.state.attachmentPermission.attView)) {\n        return _this.showNoPermissionTip('upload');\n      }\n      var uploadComponent = (_this$uploaderRef$cur3 = _this.uploaderRef.current) === null || _this$uploaderRef$cur3 === void 0 ? void 0 : _this$uploaderRef$cur3.getUploader();\n      if (e.type && e.type !== 'click') {\n        if (e.type === 'dragover') return e.preventDefault();\n        if (e.type === 'paste') {\n          // 粘贴图片\n          var items = e.clipboardData.items;\n          var clipboardFiles = e.clipboardData.files;\n          var files = [];\n          for (var i = 0; i < items.length; i++) {\n            var item = items[i];\n            // 直接右键复制的图片，在剪贴板中会有两份数据，拿到的file会是undefined\n            var file = clipboardFiles[i];\n            // 图片重命名\n            if (file && item.type.indexOf('image') !== -1) {\n              var types = file.name.split('.');\n              if (types.length < 2) return;\n              var name = \"\".concat((0, _attachmentUtils.generatePasteImgName)(_this.state.files), \".\").concat(types[types.length - 1]);\n              var newFile = new File([file], name, {\n                type: file.type\n              });\n              files.push(newFile);\n            }\n          }\n          if (files.length === 0) {\n            e.dataTransfer = e.clipboardData;\n          } else {\n            e.dataTransfer = _objectSpread(_objectSpread({}, e.clipboardData), {}, {\n              files: files\n            });\n          }\n        }\n        if (e.type === 'drop') {\n          var filesForUpload = e.dataTransfer.files;\n          var _files2 = [];\n          filesForUpload.forEach(function (file) {\n            if (_this.validateFile(file, filesForUpload.length)) {\n              _files2.push(file);\n            }\n          });\n          e.dataTransfer = {\n            files: _files2\n          };\n        }\n        return uploadComponent.onFileDrop(e);\n      }\n      var inputEl = uploadComponent.fileInput;\n      inputEl.click();\n    };\n    // 上传粘贴图片\n    // 只有一个附件/附件面板时不会走这个方法\n    _this.handleUploadPasteImg = function (file) {\n      var _this$uploaderRef$cur4, _this$uploaderRef$cur5;\n      // 如果没有上传权限不允许上传, 用户点击图片时才校验权限，避免同时校验多个表单的情况\n      if (!_this.state.attachmentPermission.upload || !_this.state.attachmentPermission.attView) {\n        return _this.showNoPermissionTip('upload');\n      }\n      if (!((_this$uploaderRef$cur4 = _this.uploaderRef.current) !== null && _this$uploaderRef$cur4 !== void 0 && _this$uploaderRef$cur4.getUploader())) return;\n      if (_this.props.checkDuplicateFileName) file.pictureSource = 'paste';\n      var uploadComponent = (_this$uploaderRef$cur5 = _this.uploaderRef.current) === null || _this$uploaderRef$cur5 === void 0 ? void 0 : _this$uploaderRef$cur5.getUploader();\n      var types = file.name.split('.');\n      if (types.length < 2) return;\n      var name = \"\".concat((0, _attachmentUtils.generatePasteImgName)(_this.state.files), \".\").concat(types[types.length - 1]);\n      var newFile = new File([file], name, {\n        type: file.type\n      });\n      if (_this.props.checkDuplicateFileName) newFile.pictureSource = 'paste';\n      return uploadComponent.uploadFiles([newFile]);\n    };\n    // 重新上传\n    _this.handleReUpload = function (file) {\n      // 如果没有上传权限不允许重新上传\n      if (!_this.state.attachmentPermission.upload || !_this.state.attachmentPermission.attView) {\n        return _this.showNoPermissionTip('upload');\n      }\n      _this._isReUpload = true;\n      if (_this.validateFile(file, 1)) {\n        var _this$uploaderRef$cur6;\n        _this.props.beforeUpload && _this.props.beforeUpload([[{\n          uid: file.uid,\n          name: file.name,\n          size: file.size,\n          type: file.type\n        }]]);\n        (_this$uploaderRef$cur6 = _this.uploaderRef.current) === null || _this$uploaderRef$cur6 === void 0 || (_this$uploaderRef$cur6 = _this$uploaderRef$cur6.getUploader()) === null || _this$uploaderRef$cur6 === void 0 || _this$uploaderRef$cur6.post(file);\n      }\n    };\n    // 上传区域点击上传\n    _this.handleUploadAreaClick = function (e) {\n      var _this$props10 = _this.props,\n        isDesigner = _this$props10.isDesigner,\n        disabled = _this$props10.disabled;\n      if (isDesigner || disabled || _this.dispose) return;\n      e.stopPropagation();\n      if (_this.state.files.length) return;\n      if (!_this.state.attachmentPermission.upload || !_this.state.attachmentPermission.attView) {\n        return _this.showNoPermissionTip('upload');\n      }\n      _this.handleUpload(e);\n    };\n    // 上传区域鼠标移入\n    _this.handleUploadAreaDragEnter = function (e) {\n      if (_this.state.showShade || _this.props.disabled || _this.props.isDesigner || _this.dispose) return;\n      _this.dragEvent(e);\n      _this.setState({\n        showShade: true\n      });\n    };\n    // 上次区域鼠标移出\n    _this.handleUploadAreaDragLeave = function (e) {\n      if (_this.props.disabled || _this.props.isDesigner || _this.dispose) return;\n      var divClient = _this.dragDom.getBoundingClientRect();\n      var mousex = e.clientX;\n      var mousey = e.clientY;\n      // 如果鼠标在附件面板内，不触发\n      if (mousex > divClient.left && mousex < divClient.right && mousey > divClient.top && mousey < divClient.bottom) return;\n      _this.setState({\n        showShade: false\n      });\n    };\n    // 附件面板在检测到后端返回的删除成功的消息，发指令删除文件服务器的附件\n    _this.removeAttachment = function (data) {\n      var file = data.file;\n      var _files = data.propertyData.toJS(); // 剩余的上传成功的文件\n      var files = _this.state.files.filter(function (item) {\n        return item.status !== _attachmentConst.ATTACHMENT_STATUS.SUCCESS;\n      }); // 获取附件列表中上传取消或上传失败或正在上传的文件\n      _files = _files.concat(files);\n      _this.setState({\n        files: _files,\n        isDeleteAllowed: true\n      });\n    };\n    // 删除附件\n    _this.onDelete = function (uid) {\n      var _files = _this.state.files;\n      var file = {};\n      _files.forEach(function (item) {\n        if (item.uid === uid) {\n          file = item; // 找到要删除的附件的详细信息\n        }\n      });\n      if (file && (file.status === _attachmentConst.ATTACHMENT_STATUS.CANCELED || file.status === _attachmentConst.ATTACHMENT_STATUS.FAILURE)) {\n        // 状态为取消跟失败的附件，直接由前端删除\n        _this.setState({\n          files: _files.filter(function (item) {\n            return item.uid !== uid;\n          })\n        }, function () {\n          return _this.props.updateControlValue(_this.state.files);\n        });\n        return;\n      }\n      if (file.url && _this.props.removeFile && file.url !== ' ') {\n        var param = _this.formatFile(file, file); // 格式化要删除的附件信息\n        if (_this.props.isCard || _this.props.isField) {\n          // 附件字段\n          var fileList = [];\n          _this.state.files.forEach(function (file) {\n            if (file.status === _attachmentConst.ATTACHMENT_STATUS.SUCCESS) {\n              var _param = _this.formatFile(file, file); // 附件字段要格式化所有的附件\n              if (file.uid === uid) {\n                // 附件字段的交互，要将附件列表全部返回后端，给要删除的附件加上delete标记，其他的附件格式化\n                _param[\"delete\"] = true;\n              }\n              fileList.push(_param);\n            }\n          });\n          var args = fileList.map(function (item, index) {\n            return _objectSpread(_objectSpread({}, item), {}, {\n              dragseq: index\n            });\n          });\n          _this.props.removeFile(args); // 将附件列表，跟要删除的附件的url返回\n        } else {\n          _this.props.removeFile([param]); // 附件面板，只返回要删除的附件\n        }\n        _this.setState({\n          isDeleteAllowed: false,\n          deleteItemUid: uid\n        });\n      }\n    };\n    // 取消上传\n    _this.cancelUpload = function (item) {\n      var _this$uploaderRef$cur7;\n      (_this$uploaderRef$cur7 = _this.uploaderRef.current) === null || _this$uploaderRef$cur7 === void 0 || _this$uploaderRef$cur7.getUploader().abort(item);\n      if (_this.uploadingNum > 0) {\n        _this.uploadingNum--;\n      }\n      _this.dequeueWaitingQueue();\n      _this.setUploadProp({\n        uid: item.uid\n      }, 'status', _attachmentConst.ATTACHMENT_STATUS.CANCELED);\n      _this.props.afterUpload && _this.props.afterUpload([[{\n        uid: item.uid,\n        status: _attachmentConst.ATTACHMENT_STATUS.CANCELED\n      }]]);\n    };\n    // 在render中处理state.files中的预览、下载、重命名、删除权限，避免获取到的visible数据不正确\n    // 由于visible以前二开可以控制，为了兼容取权限+无权隐藏按钮 && visible，两者都展示时才显示按钮\n    _this.handlePermission = function (files) {\n      var _this$state$attachmen = _this.state.attachmentPermission,\n        preview = _this$state$attachmen.preview,\n        download = _this$state$attachmen.download,\n        rename = _this$state$attachmen.rename,\n        deletePermission = _this$state$attachmen[\"delete\"];\n      var permission = [preview, download, rename, deletePermission];\n      var newFiles = files.map(function (item) {\n        // 如果不是上传成功的文件直接不处理权限，新增的上传文件成功后会有更新数据的u指令。文件类型为file,解构之后就不完整\n        if (item.status !== _attachmentConst.ATTACHMENT_STATUS.SUCCESS) return item;\n        var newVisible = (item.visible || '1111').split('').map(function (flag, index) {\n          // 判断附件项有没有对应权限\n          if (flag === '0' || !permission[index] && _this.enableNoPermBtnHide) {\n            return '0';\n          } else {\n            return '1';\n          }\n        });\n        // 重命名权限做特殊处理1为正常时，2为无权限但无权隐藏按钮关闭时\n        if (newVisible[2] === '1' && !rename) {\n          newVisible[2] = '2';\n        }\n        return _objectSpread(_objectSpread({}, item), {}, {\n          visible: newVisible.join('')\n        });\n      });\n      return newFiles;\n    };\n    // ============================== Util & Other ==============================\n    // !! shouldUpdateControlData 该参数为是否更新控件的值\n    _this.setDisplayData = function (displayData, shouldUpdateControlData) {\n      var locale = _this.props.locale;\n      if (displayData) {\n        var size = displayData.size === undefined ? displayData.length : displayData.size;\n        if (size > 0) {\n          var data = Array.isArray(displayData) ? displayData : displayData.toJS();\n          // 通过指令取消上传的文件，在多次上传的时候存在成功的可能性\n          // 被取消但是上传成功的文件不在列表中显示\n          // 状态为上传中的附件或者取消上传，有url说明已返回数据不处理，在this.state.files中寻找对应的文件数据进行替换，因为更新过来的附件数据是对象，需要进行替换,用于重新上传。\n          data = data.filter(function (item) {\n            return !_this.cancelIds.includes(item.uid) && !(!item.url && [_attachmentConst.ATTACHMENT_STATUS.UPLOAD, _attachmentConst.ATTACHMENT_STATUS.CANCELED].includes(item.status) && !(item instanceof File));\n          });\n          if (_this.props.isCard || _this.props.isField) {\n            var uids = [];\n            data = data.map(function (item, index, arr) {\n              uids.push(item.uid); // 获取ID\n              // item.creator = item.creator.name\n              if (_typeof(item.name) === 'object') {\n                // item.name 在当前语言环境没有对应值时，返回其第一个名称\n                var newName = item.name ? item.name[locale] ? item.name[locale] : Object.values(item.name)[0] : ''; // 附件字段，后端返回的附件名称是object类型，此处进行转换\n                return _objectSpread(_objectSpread({}, item), {}, {\n                  name: newName,\n                  createdate: item.createtime\n                });\n                // arr[index].createdate = item.createtime // 附件字段，后端返回的附件创建时间是createtime，此处转换为createdate\n              }\n              return item;\n            });\n            var _files = _this.state.files.filter(function (item) {\n              return item.status !== _attachmentConst.ATTACHMENT_STATUS.SUCCESS && uids.indexOf(item.uid) === -1; // 获取上传失败或取消上传的文件\n            });\n            data = data.concat(_files);\n          }\n          _this.setState({\n            files: data\n          }, function () {\n            return shouldUpdateControlData && _this.props.updateControlValue(data);\n          });\n        }\n        if (size === 0) {\n          var _files3 = _this.state.files.filter(function (item) {\n            return item.status !== _attachmentConst.ATTACHMENT_STATUS.SUCCESS; // 获取上传失败或取消上传的文件\n          });\n          _this.setState({\n            files: _files3\n          }, function () {\n            return shouldUpdateControlData && _this.props.updateControlValue(_files3);\n          });\n        }\n      }\n    };\n    _this.sortFiles = function (files) {\n      var _copyFiles;\n      var _this$props11 = _this.props,\n        sortType = _this$props11.sortType,\n        sortField = _this$props11.sortField,\n        dragble = _this$props11.dragble;\n      var copyFiles = (0, _lodash.cloneDeep)(files);\n      // 开启拖拽后，直接返回原数组\n      if (dragble || sortType === _attachmentConst.ATTACHMENT_SORT_TYPE.NoSort) {\n        return copyFiles;\n      }\n      if (sortField === _attachmentConst.ATTACHMENT_SORT_FIELD.FileName) {\n        copyFiles = (0, _attachmentUtils.sortAttachmentByName)(copyFiles);\n      }\n      if (sortField === _attachmentConst.ATTACHMENT_SORT_FIELD.FileSize) {\n        copyFiles.sort(function (f1, f2) {\n          return f1.size - f2.size;\n        });\n      }\n      if (sortField === _attachmentConst.ATTACHMENT_SORT_FIELD.UploadTime) {\n        // createdatestr为后端转换的带时区信息的日期，其他的为时间戳\n        copyFiles.sort(function (f1, f2) {\n          var uploadTime1 = f1.createdatestr ? f1.uploadTime || (0, _moment[\"default\"])(f1.createdatestr).valueOf() || f1.createdate || f1.lastModified : f1.uploadTime || f1.createdate || f1.lastModified;\n          var uploadTime2 = f2.createdatestr ? f1.uploadTime || (0, _moment[\"default\"])(f2.createdatestr).valueOf() || f1.createdate || f1.lastModified : f2.uploadTime || f2.createdate || f2.lastModified;\n          return uploadTime1 - uploadTime2;\n        });\n      }\n      return sortType === _attachmentConst.ATTACHMENT_SORT_TYPE.Ascending ? copyFiles : (_copyFiles = copyFiles) === null || _copyFiles === void 0 ? void 0 : _copyFiles.reverse();\n    };\n    _this.getExtName = function (name) {\n      var lastIndexOfDot = name && name.lastIndexOf('.');\n      var _extName = '';\n      if (lastIndexOfDot > -1) {\n        _extName = name && name.slice(lastIndexOfDot + 1);\n        _extName = _extName && _extName.toLocaleLowerCase();\n      }\n      return _extName;\n    };\n    // 格式化文件信息\n    _this.formatFile = function (file, res) {\n      var _res$size2;\n      var param = {\n        lastModified: file.lastModified || file.lastModifiedDate && file.lastModifiedDate.getTime && file.lastModifiedDate.getTime() || new Date().getTime(),\n        name: file.name,\n        size: (_res$size2 = res.size) !== null && _res$size2 !== void 0 ? _res$size2 : file.size,\n        status: file.status,\n        type: file.type,\n        uid: file.uid,\n        url: res.url,\n        uploadTime: +new Date(),\n        // 后端每次打开表单 createdate 的值都会改变\n        creator: file.creator || res.creator || {},\n        createdate: file.createdate || res.createdate || +new Date(),\n        createtime: file.createtime || res.createtime || +new Date()\n      };\n      return param;\n    };\n    // 判断是否打开粘贴截图功能\n    _this.isPasteImgOpened = function () {\n      var _this$props12 = _this.props,\n        extName = _this$props12.extName,\n        forbidfiletype = _this$props12.forbidfiletype;\n      if (forbidfiletype && forbidfiletype.length > 0 && forbidfiletype.find(function (item) {\n        return imgtype.includes(item);\n      })) {\n        // 系统黑名单中包含有图片类型，不打开该功能\n        return false;\n      }\n      if (!extName || !extName.match(/[a-zA-Z]+/g)) {\n        // 未设置扩展名或无效扩展名，开启功能\n        return true;\n      }\n      var extArr = extName.match(/[a-z0-9A-Z]+/g).map(function (item) {\n        return item.toLocaleLowerCase();\n      });\n\n      // 扩展名中包含图片类型，则开启功能；不包含，则关闭功能\n      return !!extArr.find(function (item) {\n        return imgtype.includes(item);\n      });\n    };\n    // 判断文件格式是否允许上传\n    _this.isFileTypeAllowed = function (file) {\n      var _this$customBlacklist;\n      var _this$props13 = _this.props,\n        extName = _this$props13.extName,\n        forbidfiletype = _this$props13.forbidfiletype,\n        fileTypeWhiteList = _this$props13.fileTypeWhiteList;\n      // extName 按照accept属性标准格式填写\n      var lastIndexOfDot = file.name.lastIndexOf('.');\n      // 无扩展名的文件不允许上传\n      if (lastIndexOfDot === -1) return 'attachmentpanel.key0051';\n      var _extName = file.name.slice(lastIndexOfDot + 1);\n      _extName = _extName.toLocaleLowerCase();\n      if (/\\s/.test(_extName)) return 'attachmentpanel.key0105';\n      // 文件服务器不支持的扩展名不允许上传\n      if (((_this$customBlacklist = _this.customBlacklist) !== null && _this$customBlacklist !== void 0 ? _this$customBlacklist : notAllowExtName).includes(_extName)) return 'attachmentpanel.key0052';\n      // 系统配置的黑名单，不允许上传\n      var blacklist = forbidfiletype && forbidfiletype.map(function (item) {\n        return item.toLocaleLowerCase();\n      }) || [];\n      if (blacklist.includes(_extName)) return 'attachmentpanel.key0049';\n      // 系统配置的白名单，不在范围内，不允许上传\n      var whitelist = fileTypeWhiteList && fileTypeWhiteList.map(function (item) {\n        return item.toLocaleLowerCase();\n      }) || [];\n      if (whitelist.length > 0 && !whitelist.includes(_extName)) return 'attachmentpanel.key0050';\n      // 设计器没有设置文件扩展名，所有文件都允许上传\n      if (!extName) return true;\n      // 设计器设置的文件扩展名不包含字母，所有文件都允许上传\n      if (!extName.match(/[a-zA-Z]+/g)) return true;\n      var extArr = extName.match(/[a-z0-9A-Z]+/g).map(function (item) {\n        return item.toLocaleLowerCase();\n      });\n      if (extArr && extArr.includes(_extName)) return true;\n      return 'attachmentpanel.key0001';\n    };\n    // 判断文件是否重名\n    _this.hasSameNameFile = function (file) {\n      return _this.state.files.some(function (item) {\n        var _item$name, _file$name;\n        return ((_item$name = item.name) === null || _item$name === void 0 ? void 0 : _item$name.toUpperCase()) === ((_file$name = file.name) === null || _file$name === void 0 ? void 0 : _file$name.toUpperCase());\n      });\n    };\n    _this.resizeListener = function (rect) {\n      if (rect && rect.hide) {\n        _this.domActived = false;\n      } else {\n        _this.domActived = true;\n      }\n    };\n    // 附件字段在删除之前做个权限判断\n    _this.beformRemoveAttachment = function (data) {\n      var notice = data.msg || (0, _intlApi.getLangMsg)({\n        key: 'attachmentpanel.key0005'\n      });\n      var uid = data.uid;\n      var canRemove = data.canRemove;\n      if (canRemove) {\n        _this.cleanAttachMessages();\n        (0, _KDConfirm[\"default\"])({\n          msg: (0, _intlApi.getLangMsg)({\n            key: 'attachmentpanel.key0006'\n          }),\n          confirmType: 2,\n          buttonType: 1,\n          onClose: function onClose() {\n            return _this.onDelete(uid);\n          }\n        });\n      } else {\n        _this.showAlert(notice);\n        // 恢复按钮状态\n        _this.setState({\n          isDeleteAllowed: true,\n          deleteItemUid: ''\n        });\n      }\n    };\n    _this.cancelUploadByDirective = function () {\n      var ids = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n      _this.cancelIds = [].concat(_toConsumableArray(_this.cancelIds), _toConsumableArray(ids));\n      var files = _this.state.files.filter(function (file) {\n        return ids.includes(file.uid);\n      });\n      // 从等待队列中移除\n      var remainWaitingFiles = _this.state.waitingQueue.filter(function (file) {\n        return ids.includes(file.uid);\n      });\n      var parameters = [];\n      var cancelAttachmentNames = [];\n      var abortedFiles = [].concat(_toConsumableArray(files), _toConsumableArray(remainWaitingFiles));\n      abortedFiles.forEach(function (file) {\n        var _this$uploaderRef$cur8;\n        (_this$uploaderRef$cur8 = _this.uploaderRef.current) === null || _this$uploaderRef$cur8 === void 0 || _this$uploaderRef$cur8.getUploader().abort(file);\n        cancelAttachmentNames.push(file.name);\n        parameters.push({\n          uid: file.uid,\n          status: _attachmentConst.ATTACHMENT_STATUS.CANCELED\n        });\n      });\n      if (parameters.length > 0) {\n        _this.props.afterUpload && _this.props.afterUpload([parameters]);\n      }\n\n      // 删除被取消的文件\n      var remainFiles = _this.state.files.filter(function (file) {\n        return !ids.includes(file.uid);\n      });\n      _this.uploadingNum = remainFiles.filter(function (file) {\n        return file.status === _attachmentConst.ATTACHMENT_STATUS.UPLOAD;\n      }).length;\n      _this.dequeueWaitingQueue();\n      _this.setState({\n        files: remainFiles,\n        waitingQueue: remainWaitingFiles\n      });\n    };\n    _this.dequeueWaitingQueue = function () {\n      var _this$uploaderRef$cur9;\n      if (_this.state.waitingQueue.length === 0) return;\n      var waitingFiles = _this.state.waitingQueue;\n      var file = waitingFiles.shift();\n      (_this$uploaderRef$cur9 = _this.uploaderRef.current) === null || _this$uploaderRef$cur9 === void 0 || _this$uploaderRef$cur9.getUploader().post(file);\n      _this.setState({\n        waitingQueue: waitingFiles\n      });\n      _this.uploadingNum++;\n    };\n    _this.removeFromWaitingQueue = function (file) {\n      if (_this.state.waitingQueue.length === 0) return;\n      var waitingFiles = _this.state.waitingQueue;\n      var idx = waitingFiles.findIndex(function (f) {\n        return f.uid === file.uid;\n      });\n      waitingFiles.splice(idx, 1);\n      _this.setState({\n        waitingQueue: waitingFiles\n      });\n    };\n    // 没有权限时提示\n    _this.showNoPermissionTip = function (type) {\n      var upload = _this.state.attachmentPermission.upload;\n      var _this$props$model = _this.props.model,\n        pageId = _this$props$model.pageId,\n        key = _this$props$model.key;\n      var duration = 3000;\n      var alertType = _const.AlertType.ERROR;\n      var attachmentPermissionMsg = (0, _memoryCacher.getPageData)(pageId, [key, _attachmentConst.ATTACHMENT_PERMISSION_MSG]);\n      if (type === 'upload') {\n        type = !upload ? 'upload' : 'attView';\n      }\n      _this.showAlert(attachmentPermissionMsg[type], alertType, duration);\n    };\n    // 点击附件上传按钮\n    _this.handleUploadClick = function (e) {\n      var _this$state$attachmen2 = _this.state.attachmentPermission,\n        upload = _this$state$attachmen2.upload,\n        attView = _this$state$attachmen2.attView;\n      if (!upload || !attView) {\n        e.stopPropagation();\n        _this.showNoPermissionTip('upload');\n      }\n    };\n    // 点击删除\n    _this.hanleDeleteFile = function (args) {\n      if (!_this.state.attachmentPermission[\"delete\"]) {\n        return _this.showNoPermissionTip('delete');\n      }\n      _this.props.comfirmDelete && _this.props.comfirmDelete(args);\n    };\n    // 点击重命名没权限\n    _this.showRenameNoPermission = function () {\n      if (!_this.state.attachmentPermission.rename) {\n        return _this.showNoPermissionTip('rename');\n      }\n    };\n    // 点击备注没权限\n    _this.showRemarkNoPermission = function () {\n      if (!_this.state.attachmentPermission.mark) {\n        _this.showNoPermissionTip('mark');\n      }\n    };\n    _this.showAlert = function (content) {\n      var _this$props$model2;\n      var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _const.AlertType.WARNING;\n      var duration = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 5000;\n      (0, _attachmentUtils.showAttachmentAlert)((_this$props$model2 = _this.props.model) === null || _this$props$model2 === void 0 ? void 0 : _this$props$model2.pageId, {\n        content: content,\n        type: type,\n        duration: duration\n      });\n    };\n    _this.getThumbnailsList = function () {\n      var fileList = [];\n      var imgList = [];\n      _this.state.files.forEach(function (item) {\n        imgtype.includes(_this.getExtName(item.name)) ? imgList.push(item) : fileList.push(item);\n      });\n      return [fileList, imgList];\n    };\n    _this.dragFile = function (_ref2) {\n      var startIndex = _ref2.startIndex,\n        destinationIndex = _ref2.destinationIndex,\n        _ref2$dragFileType = _ref2.dragFileType,\n        dragFileType = _ref2$dragFileType === void 0 ? 'file' : _ref2$dragFileType;\n      var _this$props14 = _this.props,\n        showThumbnails = _this$props14.showThumbnails,\n        isField = _this$props14.isField,\n        model = _this$props14.model;\n      var files = _this.state.files;\n      var params;\n      var newFiles = [];\n      var _this$getThumbnailsLi = _this.getThumbnailsList(),\n        _this$getThumbnailsLi2 = _slicedToArray(_this$getThumbnailsLi, 2),\n        fileList = _this$getThumbnailsLi2[0],\n        imgList = _this$getThumbnailsLi2[1];\n      // 开启缩略图\n      if (showThumbnails) {\n        var _startIndex = startIndex;\n        var _destinationIndex = destinationIndex;\n        // 如果拖拽的是图片，则图片的index需要加上文件的数量\n        if (dragFileType === 'img') {\n          _startIndex = startIndex + fileList.length;\n          _destinationIndex = destinationIndex + fileList.length;\n        }\n        // 第一次需要先把数据按照文件在上以及图片在下重排一次，保证拖拽后的setState能正确赋值\n        if (_this.firstDrag) {\n          newFiles = (0, _ImageListSort.arrayInsertBefore)([].concat(_toConsumableArray(fileList), _toConsumableArray(imgList)), _startIndex, _destinationIndex);\n          _this.firstDrag = false;\n          params = {\n            sortList: newFiles.map(function (i) {\n              return i.uid;\n            })\n          };\n        } else {\n          newFiles = (0, _ImageListSort.arrayInsertBefore)(files, _startIndex, _destinationIndex);\n          params = {\n            startIndex: _startIndex,\n            destinationIndex: _destinationIndex\n          };\n        }\n      } else {\n        newFiles = (0, _ImageListSort.arrayInsertBefore)(files, startIndex, destinationIndex);\n        params = {\n          startIndex: startIndex,\n          destinationIndex: destinationIndex\n        };\n      }\n      _this.setState({\n        files: newFiles\n      });\n      // 如果是附件字段未开启及时触发更新，则需要手动更新postData的值\n      if (isField && !_this.getFireUpdate(model)) {\n        var args = newFiles.map(function (item, index) {\n          return _objectSpread(_objectSpread({}, item), {}, {\n            dragseq: index // 后端要求加上index标识\n          });\n        });\n        _this.props.updateControlPostValue(args);\n      } else {\n        _this.props.dragFile(params);\n      }\n      if (!isField) {\n        _this.props.updateControlValue((0, _immutable.fromJS)(newFiles)); // 非字段，例如附件面板拖拽完成之后更新控件数据\n      }\n    };\n    _this.enableNoPermBtnHide = _this.getEnableNoPermBtnHide();\n    _this.state = {\n      files: [],\n      showShade: false,\n      message: [],\n      pasteimgSrc: '',\n      // 粘贴上传的图片的base64地址\n      showPasteImgBox: false,\n      // 是否显示粘贴上传提醒\n      copyObject: null,\n      // 等待粘贴上传的file文件\n      operaBtns: [],\n      // 自定义操作按钮组\n      isDeleteAllowed: true,\n      // 删除按钮允许点击\n      deleteItemUid: '',\n      // 当前删除附件的uid\n      waitingQueue: [],\n      // 等待上传\n      attachmentPermission: {\n        // 附件权限初始值\n        preview: true,\n        download: !_this.enableNoPermBtnHide,\n        upload: !_this.enableNoPermBtnHide,\n        rename: !_this.enableNoPermBtnHide,\n        \"delete\": !_this.enableNoPermBtnHide,\n        mark: !_this.enableNoPermBtnHide,\n        attView: true // 附件查询 // 由于历史问题，与后端沟通后附件的查询权限前端做前置。即没有查询权限的话，前端这边也就不允许上传\n      }\n    };\n    _this.postFiles = []; // 待上传文件\n    _this.postfileList = []; // 附件字段待上传文件\n    _this.cancelIds = []; // 通过指令取消上传的附件，前端取消上传可能会失败。故缓存被取消的 id\n    _this.domActived = false; // 当前附件是否处于可见范围内\n    _this._resizeObserve = undefined; // 监听\n    _this.uploadingNum = 0; // 上传中的文件数目\n    _this.showTimeOut = null;\n    _this.lazyPermission = {\n      // 记录延迟显示的权限的默认值\n      preview: true,\n      download: true,\n      upload: true,\n      rename: true,\n      \"delete\": true,\n      mark: true,\n      attView: true\n    };\n    _this.errorTipInfo = {}; // 错误消息提示\n\n    _this.encodeCoding = (0, _appModelFunction.getRootEncodeMethod)();\n    _this.uploaderRef = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.downloadAllIng = false;\n    _this.firstDrag = true; // 标记是否拖拽过\n    return _this;\n  }\n\n  // ============================== Lifecycle ==============================\n  _createClass(AttachmentPanel, [{\n    key: \"componentWillMount\",\n    value: function componentWillMount() {\n      var displayData = this.props.displayData;\n      this.setDisplayData(displayData);\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(_ref3) {\n      var displayData = _ref3.displayData;\n      if (!(0, _immutable.is)(displayData, this.props.displayData)) {\n        this.setDisplayData(displayData, true);\n      }\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      this.addListeners();\n      this.lazyShowBtn();\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.dispose = true;\n      this.removeListeners();\n      clearTimeout(this.timer);\n      clearTimeout(this.showTimeOut);\n    }\n\n    // 附件字段在上传的时候会重新渲染，需要将iframe的src设为默认，防止重复下载\n  }, {\n    key: \"componentDidUpdate\",\n    value: function componentDidUpdate(prevProps, prevState) {\n      var _this6 = this;\n      // 附件监听事件在锁定状态应该移除\n      if (prevProps.disabled && !this.props.disabled) {\n        var pasteOpened = this.isPasteImgOpened();\n        document.addEventListener('dragover', this.dragEvent);\n        document.addEventListener('drop', this.dropEvent);\n        this.throttlePasteImg = (0, _lodash.throttle)(this.pasteImg, 300);\n        pasteOpened && document.addEventListener('paste', this.throttlePasteImg);\n        if (this.dragDom && pasteOpened) {\n          this._resizeObserve = (0, _resizeObserve[\"default\"])(this.dragDom, this.resizeListener);\n        }\n      } else if (!prevProps.disabled && this.props.disabled) {\n        document.removeEventListener('dragover', this.dragEvent);\n        document.removeEventListener('drop', this.dropEvent);\n        document.removeEventListener('paste', this.throttlePasteImg);\n        if (this._resizeObserve) {\n          this._resizeObserve.removeResizeObserve();\n          this._resizeObserve = null;\n        }\n      }\n\n      // 表格平铺复用了字段组件，行号不一样，需要重新监听\n      if (this.props.isTiled) {\n        this.removeListeners();\n        this.addListeners();\n      }\n      if (this.state.showPasteImgBox === true && prevState.showPasteImgBox === false) {\n        this.timer = setTimeout(function () {\n          _this6.setState({\n            showPasteImgBox: false\n          });\n        }, 5000);\n      }\n    }\n  }, {\n    key: \"handleErrorTip\",\n    value:\n    /**\n     *  文件校验错误提示处理\n     *  tipObj: {\n     *    key: string\n     *    variables: object\n     *  }\n     */\n    function handleErrorTip(type, tipObj) {\n      if (!tipObj) {\n        return;\n      }\n\n      // 文件大小为0提示\n      var isSizeEqualToZero = type === 'attachmentpanel.key0046';\n      // 文件后缀名不符合提示\n      var isViolateFileType = ['attachmentpanel.key0051', 'attachmentpanel.key0105', 'attachmentpanel.key0052', 'attachmentpanel.key0049', 'attachmentpanel.key0050', 'attachmentpanel.key0001'].includes(type);\n      // 文件名重复\n      var isSameName = type === 'attachmentpanel.key0077';\n      // 附件上传个数达到最大提示\n      if (type === 'attachmentpanel.key0004') {\n        this.errorTipInfo = Object.assign({}, this.errorTipInfo, _defineProperty({}, type, {\n          key: tipObj.key,\n          variables: tipObj.variables\n        }));\n      } else if (isSizeEqualToZero || isViolateFileType || isSameName) {\n        this.errorTipInfo = Object.assign({}, this.errorTipInfo, _defineProperty({}, type, {\n          key: tipObj.key,\n          variables: {\n            name: this.errorTipInfo[type] ? this.errorTipInfo[type].variables.name + '、' + tipObj.variables.name : tipObj.variables.name\n          }\n        }));\n        // 附件文件名过滤特殊字符\n      } else if (type === 'attachmentpanel.key0114') {\n        var currentTipMessage = (0, _intlApi.getLangMsg)({\n          key: 'attachmentpanel.key0114',\n          variables: {\n            name: tipObj.variables.name,\n            specialCharacter: tipObj === null || tipObj === void 0 ? void 0 : tipObj.variables.specialCharacter\n          }\n        });\n        this.errorTipInfo = Object.assign({}, this.errorTipInfo, _defineProperty({}, type, this.errorTipInfo[type] ? [currentTipMessage].concat(this.errorTipInfo[type]) : [currentTipMessage, (0, _intlApi.getLangMsg)({\n          key: 'attachmentpanel.key0115'\n        })]));\n        // 文件大小超过限制\n      } else if (type === 'attachmentpanel.key0003') {\n        this.errorTipInfo = Object.assign({}, this.errorTipInfo, _defineProperty({}, type, {\n          key: tipObj.key,\n          variables: {\n            name: this.errorTipInfo[type] ? this.errorTipInfo[type].variables.name + '、' + tipObj.variables.name : tipObj.variables.name,\n            maxAtmSize: tipObj.variables.maxAtmSize\n          }\n        }));\n      }\n    }\n\n    // 遍历tip信息\n  }, {\n    key: \"showErrorTip\",\n    value: function showErrorTip() {\n      var _this7 = this;\n      Object.keys(this.errorTipInfo).forEach(function (key) {\n        if (Array.isArray(_this7.errorTipInfo[key])) {\n          _this7.showAlert(_this7.errorTipInfo[key].join(''));\n        } else {\n          var tipMessage = (0, _intlApi.getLangMsg)({\n            key: _this7.errorTipInfo[key].key,\n            variables: _this7.errorTipInfo[key].variables\n          });\n          _this7.showAlert(tipMessage);\n        }\n      });\n      // 提示完清空\n      this.errorTipInfo = {};\n    }\n  }, {\n    key: \"getFireUpdate\",\n    value:\n    // 是否即时触发\n    function getFireUpdate(model) {\n      return model.getMetaProperty(['item', 'fu']) === true;\n    }\n  }, {\n    key: \"render\",\n    value:\n    // ============================== Render ==============================\n    function render() {\n      var _this8 = this;\n      // extName 以文件后缀填写，'png, doc, xlxs'\n      var _this$props15 = this.props,\n        extName = _this$props15.extName,\n        disabled = _this$props15.disabled,\n        style = _this$props15.style,\n        className = _this$props15.className,\n        Grow = _this$props15.Grow,\n        Shrink = _this$props15.Shrink,\n        AlignSelf = _this$props15.AlignSelf,\n        _onClick = _this$props15.onClick,\n        showCreator = _this$props15.showCreator,\n        showCreateDate = _this$props15.showCreateDate,\n        remarkClick = _this$props15.remarkClick,\n        showMark = _this$props15.showMark,\n        locale = _this$props15.locale,\n        isDesigner = _this$props15.isDesigner,\n        Name = _this$props15.Name,\n        attachmentUploadMaxSize = _this$props15.attachmentUploadMaxSize,\n        Collapsible = _this$props15.Collapsible,\n        defaultCollapse = _this$props15.defaultCollapse,\n        collapseCFlag = _this$props15.collapseCFlag,\n        isSelected = _this$props15.isSelected,\n        outlineList = _this$props15.outlineList,\n        tips = _this$props15.tips,\n        showFormByTips = _this$props15.showFormByTips,\n        userLocal = _this$props15.userLocal,\n        clickTipsLink = _this$props15.clickTipsLink,\n        dataPageId = _this$props15.dataPageId,\n        model = _this$props15.model,\n        dispatch = _this$props15.dispatch,\n        updateControlValue = _this$props15.updateControlValue,\n        removeFile = _this$props15.removeFile,\n        uploadFile = _this$props15.uploadFile,\n        displayData = _this$props15.displayData,\n        isCard = _this$props15.isCard,\n        showTitle = _this$props15.showTitle,\n        hideDownLoadAll = _this$props15.hideDownLoadAll,\n        showAttachmentNum = _this$props15.showAttachmentNum,\n        isField = _this$props15.isField,\n        comfirmDelete = _this$props15.comfirmDelete,\n        maxAtmCount = _this$props15.maxAtmCount,\n        rowIndex = _this$props15.rowIndex,\n        showThumbnails = _this$props15.showThumbnails,\n        isTiled = _this$props15.isTiled,\n        attachOperationCount = _this$props15.attachOperationCount,\n        attachOperaClick = _this$props15.attachOperaClick,\n        forbidfiletype = _this$props15.forbidfiletype,\n        dateFormatter = _this$props15.dateFormatter,\n        fileTypeWhiteList = _this$props15.fileTypeWhiteList,\n        showOperaBut = _this$props15.showOperaBut,\n        composedProps = _this$props15.composedProps,\n        sortField = _this$props15.sortField,\n        sortType = _this$props15.sortType,\n        mustInput = _this$props15.mustInput,\n        labelStyle = _this$props15.labelStyle,\n        beforeUpload = _this$props15.beforeUpload,\n        afterUpload = _this$props15.afterUpload,\n        maxSize = _this$props15.maxSize,\n        previewType = _this$props15.previewType,\n        openByNewTab = _this$props15.openByNewTab,\n        renameFileProp = _this$props15.renameFile,\n        checkDuplicateFileNameProp = _this$props15.checkDuplicateFileName,\n        onNewTabPreview = _this$props15.onNewTabPreview,\n        dragble = _this$props15.dragble,\n        others = _objectWithoutProperties(_this$props15, _excluded);\n      // 附件字段，标题水平布局\n      var isHorizontalField = (isCard || isField) && showTitle && ((model === null || model === void 0 ? void 0 : model.getMetaProperty([_serverproperties.ITEM, _serverproperties.LABEL_DIRECTION])) === 'h' || (others === null || others === void 0 ? void 0 : others.labelDirection) === 'h');\n      var data_attachment = model && \"\".concat(model.pageId);\n      var required = isDesigner ? mustInput || false : mustInput || model && model.getMetaProperty('mi') || false;\n      // 附件权限\n      var _this$state$attachmen3 = this.state.attachmentPermission,\n        upload = _this$state$attachmen3.upload,\n        markPermission = _this$state$attachmen3.mark,\n        attView = _this$state$attachmen3.attView;\n      // 附件文件数据,在render中不要直接使用this.state.files，而是使用attachmentFiles,因为需要对这些数据做权限的处理\n      var attachmentFiles = this.handlePermission(this.state.files);\n      // 附件备注\n      if (showMark) {\n        if (markPermission) {\n          // 有附件权限\n          showMark = '1';\n        } else if (!markPermission && !this.enableNoPermBtnHide) {\n          // 没有附件权限，无权隐藏按钮关闭\n          showMark = '2';\n        }\n      }\n      var wrapperClass = (0, _classnames5[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({\n        'kd-cq-control kd-cq-attachment': !isField,\n        'kd-cq-field': isField\n      }, _attachment[\"default\"].attachmentPanel, true), _attachment[\"default\"].padding, !Collapsible), _attachment[\"default\"]['horizontal-field'], isHorizontalField), _attachment[\"default\"]['horizontal-field-border-box'], isDesigner), className, (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf\n      }));\n      var uploadAreaClass = (0, _classnames5[\"default\"])('kd-cq-attachment-upload-area', _defineProperty(_defineProperty({}, _attachment[\"default\"]['upload-area'], !disabled), _attachment[\"default\"]['upload-area-disabled'], disabled || isDesigner || (!upload || !attView) && this.enableNoPermBtnHide));\n      var uploadTips = (0, _classnames5[\"default\"])('kd-cq-upload-tip', _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _attachment[\"default\"]['upload-tips'], true), _attachment[\"default\"]['card-tips'], !isField), 'contain-bg weak-border', !isField), 'hover-theme-bdcolor hover-theme-light-bg1', !(disabled || isDesigner) && !isField && !((!upload || !attView) && this.enableNoPermBtnHide) || this.state.showShade));\n      var delImg = (0, _classnames5[\"default\"])(_defineProperty(_defineProperty({}, _attachment[\"default\"]['delImg-style'], true), 'kdfont kdfont-guanbiyulan', true));\n      if (extName) extName = extName.match(/[a-zA-Z]+/g) && extName.match(/\\w+/g).map(function (item) {\n        return \".\".concat(item);\n      }).join(', ');\n      var renderExtName = extName && extName.match(/[a-zA-Z0-9]+/g).join('、'); // 附件格式提示，用于显示提示语\n      var options = this.getUploadOption(disabled, extName);\n      var uploadArea;\n      var messageContent = '';\n      var fileListElement;\n      if (isDesigner && !isHorizontalField) {\n        // 附件面板以及字段设计时\n        uploadArea = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: uploadAreaClass\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: uploadTips\n        }, (0, _intlApi.getLangMsg)({\n          key: 'attachmentpanel.key0008'\n        })));\n      } else if (attachmentFiles.length) {\n        // 附件面板以及字段有附件时，显示附件列表\n        var appId = (0, _requestParamsUtil.getAppId)(model);\n        var formId = (0, _requestParamsUtil.getFid)(model);\n        var isPreviewed = (0, _defaultPropsUtil.getUIDefaultProps)(_customCtrlName[\"default\"].ATTACHMENT, 'setPreviewedColor') ? function (attachmentId) {\n          return (0, _attachmentUtils.isAttachmentPreviewed)(model, attachmentId);\n        } : function () {\n          return false;\n        };\n        var files = [].concat(_toConsumableArray(this.sortFiles(attachmentFiles)), _toConsumableArray(this.state.waitingQueue));\n        fileListElement = /*#__PURE__*/_react[\"default\"].createElement(_FileLists[\"default\"], {\n          pageId: model.pageId,\n          className: isHorizontalField ? _attachment[\"default\"]['mt-0'] : '',\n          files: files,\n          operaBtns: this.state.operaBtns,\n          disabled: disabled,\n          onCancelUpload: this.cancelUpload,\n          onDelete: this.onDelete,\n          handleReUpload: this.handleReUpload,\n          showThumbnails: showThumbnails,\n          getExtName: this.getExtName,\n          showCreator: showCreator,\n          showCreateDate: showCreateDate,\n          remarkClick: remarkClick,\n          handleOperaBtnClick: this.handleOperaBtnClick,\n          showMark: showMark,\n          locale: locale,\n          renameFile: this.renameFile,\n          downloadFile: this.downloadFile,\n          comfirmDelete: this.hanleDeleteFile,\n          isField: isField,\n          isPreviewed: isPreviewed,\n          attachOperationCount: attachOperationCount,\n          isDeleteAllowed: this.state.isDeleteAllowed,\n          deleteItemUid: this.state.deleteItemUid,\n          dateFormatter: dateFormatter,\n          showOperaBut: showOperaBut,\n          onPreview: this.handlePreview,\n          appId: appId,\n          formId: formId,\n          previewLimitSize: this.props.previewLimitSize,\n          checkDuplicateFileName: this.checkDuplicateFileName,\n          attachmentPermission: this.state.attachmentPermission,\n          enableNoPermBtnHide: this.enableNoPermBtnHide,\n          removeFromWaitingQueue: this.removeFromWaitingQueue,\n          showError: this.showAlert,\n          showRenameNoPermission: this.showRenameNoPermission,\n          showRemarkNoPermission: this.showRemarkNoPermission,\n          dragFile: this.dragFile,\n          dragble: dragble\n        });\n        var uploadAreaStyle = {};\n        if (style.height) {\n          uploadAreaStyle.height = parseInt(style.height) - TITLE_HEIGHT;\n        }\n        uploadArea = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: uploadAreaClass,\n          style: uploadAreaStyle,\n          onClick: function onClick(e) {\n            return _this8.handleUploadAreaClick(e);\n          }\n        }, fileListElement);\n      } else if (!disabled && (upload && attView || !this.enableNoPermBtnHide)) {\n        // 附件面板以及字段运行时不锁定无附件或者有附件权限\n        uploadArea = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: uploadAreaClass,\n          onClick: function onClick(e) {\n            return _this8.handleUploadAreaClick(e);\n          }\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: uploadTips\n        }, !isField && /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n          className: \"kdfont kdfont-tianjia\"\n        }), (0, _intlApi.getLangMsg)({\n          key: 'attachmentpanel.key0008'\n        })));\n      } else if (isCard || isField) {\n        // 附件字段运行时锁定无附件，附件区域隐藏\n        uploadArea = null;\n      } else {\n        // 附件面板运行时锁定无附件\n        uploadArea = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: uploadAreaClass\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: uploadTips\n        }, (0, _intlApi.getLangMsg)({\n          key: 'attachmentpanel.key0020'\n        })));\n      }\n      if (this.state.message && this.state.message.length > 0) {\n        this.state.message.forEach(function (item) {\n          messageContent = messageContent + item.content; // 上传多个文件时，会有多个文件不满足上传条件的情况，要将提示信息拼在一起\n        });\n      }\n      hideDownLoadAll = hideDownLoadAll || !attachmentFiles.find(function (file) {\n        return file.visible && file.visible[1] === '1' && file.status === _attachmentConst.ATTACHMENT_STATUS.SUCCESS;\n      });\n      var AttachmentNotificationEle = messageContent ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _attachment[\"default\"].messagebox,\n        onClick: function onClick() {\n          return _this8.cleanAttachMessages();\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n        src: _attachment_message[\"default\"],\n        className: _attachment[\"default\"]['img-style']\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _attachment[\"default\"].messagetext\n      }, messageContent), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: delImg\n      })) : null;\n      var showUploaderTitle = isField || isCard ? showTitle : !Collapsible && showAttachmentNum || isDesigner && showTitle;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        ref: function ref(r) {\n          _this8.dragDom = r;\n        },\n        \"data-attachment\": data_attachment,\n        \"data-need-focus-after-dialog-close\": true,\n        className: wrapperClass,\n        style: style,\n        onClick: function onClick(e) {\n          return _onClick && _onClick(e);\n        },\n        onDragEnter: function onDragEnter(e) {\n          return _this8.handleUploadAreaDragEnter(e);\n        },\n        onDragLeave: function onDragLeave(e) {\n          _this8.handleUploadAreaDragLeave(e);\n        },\n        onDragOver: function onDragOver(e) {\n          return _this8.handleUpload(e);\n        },\n        onDrop: function onDrop(e) {\n          return _this8.handleUpload(e);\n        }\n      }, others), isHorizontalField ? /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, AttachmentNotificationEle, /*#__PURE__*/_react[\"default\"].createElement(_HorizontalAttachment[\"default\"], {\n        disabled: disabled,\n        ref: this.uploaderRef,\n        title: Name,\n        labelStyle: labelStyle,\n        hideDownLoadAll: hideDownLoadAll && attachmentFiles.length <= 0,\n        required: required,\n        files: attachmentFiles,\n        uploadOption: options,\n        onDownloadClick: this.downloadAll,\n        onUploadClick: this.handleUploadAreaClick,\n        handleUploadClick: this.handleUploadClick,\n        uploadPermission: upload && attView,\n        enableNoPermBtnHide: this.enableNoPermBtnHide\n      }, fileListElement)) : /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, /*#__PURE__*/_react[\"default\"].createElement(_AttachmentUploader[\"default\"], {\n        disabled: disabled,\n        downloadAllTitle: (0, _intlApi.getLangMsg)({\n          key: 'attachmentpanel.key0010'\n        }),\n        fileCount: attachmentFiles.length,\n        fileExtension: (0, _intlApi.getLangMsg)({\n          key: 'attachmentpanel.key0029',\n          variables: {\n            extName: renderExtName\n          }\n        }),\n        pasteTips: (0, _intlApi.getLangMsg)({\n          key: 'attachmentpanel.key0028'\n        }),\n        showDownloadAll: !hideDownLoadAll && attachmentFiles.length,\n        showFileCount: showAttachmentNum,\n        showFileExtension: !disabled && extName,\n        showPasteTips: !disabled && !_global[\"default\"][_global.IS_IE] && this.isPasteImgOpened(),\n        showRequired: required,\n        showTitle: showUploaderTitle,\n        showUpload: !(disabled || isDesigner || !(upload && attView) && this.enableNoPermBtnHide),\n        ref: this.uploaderRef,\n        title: Name,\n        titleStyle: labelStyle,\n        type: isField || isCard ? _attachmentConst.UPLOADER_TYPE.field : _attachmentConst.UPLOADER_TYPE.panel,\n        uploadOption: options,\n        uploadTitle: (0, _intlApi.getLangMsg)({\n          key: 'attachmentpanel.key0009'\n        }),\n        onDownloadAllClick: this.downloadAll,\n        onUploadClick: this.handleUploadClick\n      }), AttachmentNotificationEle, uploadArea, this.state.showPasteImgBox && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _attachment[\"default\"].pasteimgbox,\n        onClick: this.handleImgClick\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _attachment[\"default\"].pastetext\n      }, (0, _intlApi.getLangMsg)({\n        key: 'attachmentpanel.key0032'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n        src: this.state.pasteimgSrc,\n        className: _attachment[\"default\"].pasteImg\n      }))));\n    }\n  }]);\n  return AttachmentPanel;\n}(_react[\"default\"].Component)) || _class;\nvar _default = exports[\"default\"] = AttachmentPanel;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Attachment/AttachmentPanel.jsx?");

/***/ }),

/***/ "./src/component/web/base/Attachment/AttachmentUploader.jsx":
/*!******************************************************************!*\
  !*** ./src/component/web/base/Attachment/AttachmentUploader.jsx ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = exports.AttachmentPanelUploader = exports.AttachmentFieldUploader = 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.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _rcUpload = _interopRequireDefault(__webpack_require__(/*! rc-upload */ \"../../node_modules/rc-upload/es/index.js\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _attachmentConst = __webpack_require__(/*! @/constant/attachmentConst */ \"./src/constant/attachmentConst.js\");\nvar _attachment = _interopRequireDefault(__webpack_require__(/*! ./style/attachment.less */ \"./src/component/web/base/Attachment/style/attachment.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 _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 */\nvar AttachmentUploader = exports[\"default\"] = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {\n  var disabled = _ref.disabled,\n    downloadAllTitle = _ref.downloadAllTitle,\n    fileCount = _ref.fileCount,\n    fileExtension = _ref.fileExtension,\n    pasteTips = _ref.pasteTips,\n    showFileCount = _ref.showFileCount,\n    showFileExtension = _ref.showFileExtension,\n    showDownloadAll = _ref.showDownloadAll,\n    showPasteTips = _ref.showPasteTips,\n    showRequired = _ref.showRequired,\n    showTitle = _ref.showTitle,\n    showUpload = _ref.showUpload,\n    title = _ref.title,\n    titleStyle = _ref.titleStyle,\n    _ref$type = _ref.type,\n    type = _ref$type === void 0 ? _attachmentConst.UPLOADER_TYPE.panel : _ref$type,\n    uploadTitle = _ref.uploadTitle,\n    uploadOption = _ref.uploadOption,\n    handleDownloadAllClick = _ref.onDownloadAllClick,\n    handleUploadClick = _ref.onUploadClick;\n  var uploaderRef = (0, _react.useRef)(null);\n\n  // 暴露上传控件\n  (0, _react.useImperativeHandle)(ref, function () {\n    return {\n      getUploader: function getUploader() {\n        var _uploaderRef$current;\n        return (_uploaderRef$current = uploaderRef.current) === null || _uploaderRef$current === void 0 ? void 0 : _uploaderRef$current.uploader;\n      }\n    };\n  });\n  return type === _attachmentConst.UPLOADER_TYPE.panel ? /*#__PURE__*/_react[\"default\"].createElement(AttachmentPanelUploader, {\n    fileExtension: fileExtension,\n    downloadAllTitle: downloadAllTitle,\n    fileCount: fileCount,\n    pasteTips: pasteTips,\n    ref: uploaderRef,\n    showDownloadAll: showDownloadAll,\n    showFileExtension: showFileExtension,\n    showPasteTips: showPasteTips,\n    showTitle: showTitle,\n    showUpload: showUpload,\n    title: title,\n    uploadOption: uploadOption,\n    uploadTitle: uploadTitle,\n    onDownloadAllClick: handleDownloadAllClick,\n    onUploadClick: handleUploadClick\n  }) : /*#__PURE__*/_react[\"default\"].createElement(AttachmentFieldUploader, {\n    disabled: disabled,\n    fileExtension: fileExtension,\n    downloadAllTitle: downloadAllTitle,\n    fileCount: fileCount,\n    pasteTips: pasteTips,\n    ref: uploaderRef,\n    showDownloadAll: showDownloadAll,\n    showFileCount: showFileCount,\n    showFileExtension: showFileExtension,\n    showPasteTips: showPasteTips,\n    showRequired: showRequired,\n    showTitle: showTitle,\n    showUpload: showUpload,\n    title: title,\n    titleStyle: titleStyle,\n    uploadOption: uploadOption,\n    uploadTitle: uploadTitle,\n    onDownloadAllClick: handleDownloadAllClick,\n    onUploadClick: handleUploadClick\n  });\n});\nvar AttachmentPanelUploader = exports.AttachmentPanelUploader = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2, ref) {\n  var fileExtension = _ref2.fileExtension,\n    downloadAllTitle = _ref2.downloadAllTitle,\n    fileCount = _ref2.fileCount,\n    showDownloadAll = _ref2.showDownloadAll,\n    showFileCount = _ref2.showFileCount,\n    showFileExtension = _ref2.showFileExtension,\n    showPasteTips = _ref2.showPasteTips,\n    showTitle = _ref2.showTitle,\n    showUpload = _ref2.showUpload,\n    pasteTips = _ref2.pasteTips,\n    title = _ref2.title,\n    uploadOption = _ref2.uploadOption,\n    uploadTitle = _ref2.uploadTitle,\n    handleDownloadClick = _ref2.onDownloadAllClick,\n    handleUploadClick = _ref2.onUploadClick;\n  var containerClz = (0, _classnames[\"default\"])('kd-cq-attachment-header', _attachment[\"default\"].upload);\n  var btnClz = 'hover-theme-fc hover-theme-border-color1 active-theme-active-fc active-theme-active-bdcolor1';\n  var uploadBtnClz = (0, _classnames[\"default\"])('kd-cq-attachment-btn', _attachment[\"default\"]['upload-btn'], btnClz);\n  var downloadBtnClz = (0, _classnames[\"default\"])('kd-cq-attachment-btn', _attachment[\"default\"]['download-btn'], btnClz);\n  var pasteTipsClz = (0, _classnames[\"default\"])('kd-cq-attachment-header-text', _attachment[\"default\"]['expand-name'], 'third-text-in-light');\n  var fileExtensionClz = (0, _classnames[\"default\"])('kd-cq-attachment-header-text', _attachment[\"default\"]['expand-name']);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: containerClz\n  }, showTitle && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])('kd-cq-attachment-title', _attachment[\"default\"].titlebox)\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _attachment[\"default\"].attachmentname\n  }, title), showFileCount && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _attachment[\"default\"].attachmentnum\n  }, '(' + fileCount + ')')), showUpload && /*#__PURE__*/_react[\"default\"].createElement(_rcUpload[\"default\"], _extends({}, uploadOption, {\n    ref: ref\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: uploadBtnClz,\n    onClick: handleUploadClick\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: \"kdfont kdfont-shangchuan2 kd-cq-attachment-upload-btn-icon\"\n  }), uploadTitle)), showDownloadAll && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: downloadBtnClz,\n    onClick: handleDownloadClick\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: \"kdfont kdfont-xiazai2 kd-cq-attachment-download-btn-icon\"\n  }), downloadAllTitle), showPasteTips && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: pasteTipsClz\n  }, pasteTips), showFileExtension && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: fileExtensionClz\n  }, fileExtension));\n});\nvar AttachmentFieldUploader = exports.AttachmentFieldUploader = /*#__PURE__*/(0, _react.forwardRef)(function (_ref3, ref) {\n  var disabled = _ref3.disabled,\n    fileExtension = _ref3.fileExtension,\n    downloadAllTitle = _ref3.downloadAllTitle,\n    fileCount = _ref3.fileCount,\n    showDownloadAll = _ref3.showDownloadAll,\n    showFileCount = _ref3.showFileCount,\n    showFileExtension = _ref3.showFileExtension,\n    showRequired = _ref3.showRequired,\n    showTitle = _ref3.showTitle,\n    showUpload = _ref3.showUpload,\n    title = _ref3.title,\n    titleStyle = _ref3.titleStyle,\n    uploadOption = _ref3.uploadOption,\n    uploadTitle = _ref3.uploadTitle,\n    handleDownloadAllClick = _ref3.onDownloadAllClick,\n    handleUploadClick = _ref3.onUploadClick;\n  var containerClz = (0, _classnames[\"default\"])('kd-cq-attachment-header', _attachment[\"default\"].fieldupload);\n  var btnClz = disabled ? 'hover-theme-fc active-theme-active-fc' : '';\n  var uploadBtnClz = (0, _classnames[\"default\"])('kd-cq-attachment-upload-icon', _attachment[\"default\"].fieldbtn, _attachment[\"default\"].uploadbtn, btnClz, 'kdfont kdfont-shangchuan2 secondary-text-in-light');\n  var downloadBtnClz = (0, _classnames[\"default\"])('kd-cq-attachment-download-icon', _attachment[\"default\"].fieldbtn, btnClz, 'kdfont kdfont-xiazai2 secondary-text-in-light');\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: containerClz\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _attachment[\"default\"].textcontent\n  }, showTitle && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])('kd-cq-attachment-title', _attachment[\"default\"].titlebox)\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _attachment[\"default\"].attachmentname,\n    style: titleStyle\n  }, title, showRequired && /*#__PURE__*/_react[\"default\"].createElement(\"label\", {\n    className: (0, _classnames[\"default\"])(_attachment[\"default\"].required, 'require-icon')\n  }, \"*\")), showFileCount && fileCount), showFileExtension && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: (0, _classnames[\"default\"])('kd-cq-attachment-extension-name', _attachment[\"default\"]['field-expand-name'])\n  }, fileExtension)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _attachment[\"default\"].btnbox\n  }, showUpload && /*#__PURE__*/_react[\"default\"].createElement(_rcUpload[\"default\"], _extends({}, uploadOption, {\n    ref: ref\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: uploadBtnClz,\n    title: uploadTitle,\n    onClick: handleUploadClick\n  })), showDownloadAll && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: downloadBtnClz,\n    title: downloadAllTitle,\n    onClick: handleDownloadAllClick\n  })));\n});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Attachment/AttachmentUploader.jsx?");

/***/ }),

/***/ "./src/component/web/base/Attachment/FileItemTooltip.jsx":
/*!***************************************************************!*\
  !*** ./src/component/web/base/Attachment/FileItemTooltip.jsx ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.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-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/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.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.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\nvar _react = _interopRequireDefault(__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 _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _toolUtils = __webpack_require__(/*! @/util/toolUtils */ \"./src/util/toolUtils.js\");\nvar _Tooltip = _interopRequireDefault(__webpack_require__(/*! ./Tooltip */ \"./src/component/web/base/Attachment/Tooltip.jsx\"));\nvar _attachment = _interopRequireDefault(__webpack_require__(/*! ./style/attachment.less */ \"./src/component/web/base/Attachment/style/attachment.less\"));\nvar _kdesign = __webpack_require__(/*! @kdcloudjs/kdesign */ \"webpack/sharing/consume/default/@kdcloudjs/kdesign/@kdcloudjs/kdesign\");\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher */ \"./src/model/GlobalDataCacher.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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); }\nvar FileItemTooltip = /*#__PURE__*/function (_React$Component) {\n  _inherits(FileItemTooltip, _React$Component);\n  function FileItemTooltip(props) {\n    var _this;\n    _classCallCheck(this, FileItemTooltip);\n    _this = _callSuper(this, FileItemTooltip, [props]);\n    _this.hide = function () {\n      // this.tooltipWrapperRef && (this.tooltipWrapperRef.tooltipRef = null) // 解决鼠标mouseover时tooltip不消失的问题\n      _this.tooltipRef.current && _this.setState({\n        visible: false\n      });\n    };\n    _this.handleVisibleChange = function (visible) {\n      // KDesign 中的回调在 visible 为 true 时会触发两次\n      if (visible === _this.state.visible) return;\n      _this.setState({\n        visible: visible\n      }, function () {\n        var _this$tooltipRef$curr;\n        var onToggle = _this.props.onToggle;\n        if (visible && (_this$tooltipRef$curr = _this.tooltipRef.current) !== null && _this$tooltipRef$curr !== void 0 && _this$tooltipRef$curr.getElementsByTagName) {\n          var _this$tooltipRef$curr2, _this$tooltipRef$curr3;\n          var ele = ((_this$tooltipRef$curr2 = _this.tooltipRef.current) === null || _this$tooltipRef$curr2 === void 0 ? void 0 : _this$tooltipRef$curr2.getElementsByTagName('input')[0]) || ((_this$tooltipRef$curr3 = _this.tooltipRef.current) === null || _this$tooltipRef$curr3 === void 0 ? void 0 : _this$tooltipRef$curr3.getElementsByTagName('textarea')[0]);\n          ele === null || ele === void 0 || ele.focus();\n          // ie下调用focus后调用select会报错\n          if ((0, _toolUtils.getBrowserData)() === 'ie') {\n            setTimeout(function () {\n              ele === null || ele === void 0 || ele.select();\n            }, 0);\n          } else {\n            ele === null || ele === void 0 || ele.select();\n          }\n          onToggle && onToggle(true);\n        }\n      });\n    };\n    _this.handleOkClick = function (val) {\n      var _this$props = _this.props,\n        onClick = _this$props.onClick,\n        hideWhileClick = _this$props.hideWhileClick;\n      onClick && onClick(val);\n      if (hideWhileClick) {\n        _this.hide();\n      }\n    };\n    _this.handleCancelClick = function (val) {\n      var _this$props2 = _this.props,\n        onCancel = _this$props2.onCancel,\n        hideWhileClick = _this$props2.hideWhileClick;\n      onCancel && onCancel(val);\n      if (hideWhileClick) {\n        _this.hide();\n      }\n    };\n    _this.handleOutsideClick = function (evt) {\n      if (!_this.state.visible) {\n        var onToggle = _this.props.onToggle;\n        if (evt.target === _this.tooltipWrapperRef.current) {\n          onToggle && onToggle(false, true);\n          return;\n        }\n        onToggle && onToggle(false);\n      }\n    };\n    // 单行文本回车提交\n    _this.handleEnter = function (val) {\n      _this.handleOkClick(val);\n    };\n    _this.state = {\n      visible: false\n    };\n    _this.tooltipRef = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.tooltipWrapperRef = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this;\n  }\n  _createClass(FileItemTooltip, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this2 = this;\n      // 监听快捷键，按下esc弹窗关闭\n      this.removeESCListener = (0, _GlobalDataCacher.addDataChangeListener)(_symbolConst.KEY_PRESS_ESC, function (arg) {\n        if (!arg) return;\n        var show = arg.show;\n        if (show && _this2.state.visible) {\n          _this2.hide();\n          (0, _GlobalDataCacher.setData)(_symbolConst.KEY_UI_ACTION, {\n            tableName: 'shortcut_key',\n            shortcutKey: 'Esc',\n            methodName: '关闭弹窗'\n          });\n        }\n      });\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      var _this$removeESCListen;\n      // 卸载esc按键监听事件\n      (_this$removeESCListen = this.removeESCListener) === null || _this$removeESCListen === void 0 || _this$removeESCListen.call(this);\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props3 = this.props,\n        btnClassName = _this$props3.btnClassName,\n        uid = _this$props3.uid,\n        disabled = _this$props3.disabled,\n        description = _this$props3.description,\n        isMulLine = _this$props3.isMulLine,\n        text = _this$props3.text,\n        required = _this$props3.required,\n        value = _this$props3.value;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _attachment[\"default\"].remarkPanel\n      }, /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Tooltip\n      // id={uid}\n      , {\n        popperClassName: (0, _classnames2[\"default\"])('kd-cq-popup kd-cq-attachment-tips-popup', _attachment[\"default\"]['tooltips-class'], _defineProperty({}, _attachment[\"default\"]['tooltips-rename'], uid.indexOf('rename') > -1)),\n        disable: disabled,\n        onVisibleChange: this.handleVisibleChange,\n        visible: this.state.visible,\n        trigger: \"click\",\n        tip: /*#__PURE__*/_react[\"default\"].createElement(_Tooltip[\"default\"], {\n          uid: uid,\n          visible: this.state.visible,\n          description: description,\n          onOk: this.handleOkClick,\n          onCancel: this.handleCancelClick,\n          hide: this.hide,\n          isMulLine: isMulLine,\n          ref: this.tooltipRef,\n          required: required,\n          value: value,\n          onClickOutside: this.handleOutsideClick,\n          onHandleEnter: this.handleEnter\n        }),\n        ref: this.tooltipWrapperRef\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames2[\"default\"])(btnClassName, _attachment[\"default\"].remark, 'link-color'),\n        title: text\n      }, text)));\n    }\n  }]);\n  return FileItemTooltip;\n}(_react[\"default\"].Component);\nvar _default = exports[\"default\"] = FileItemTooltip;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Attachment/FileItemTooltip.jsx?");

/***/ }),

/***/ "./src/component/web/base/Attachment/FileLists.jsx":
/*!*********************************************************!*\
  !*** ./src/component/web/base/Attachment/FileLists.jsx ***!
  \*********************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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-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.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.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.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.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.js\");\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-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.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.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.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\");\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 _AttachmentFileItem = _interopRequireDefault(__webpack_require__(/*! ./AttachmentFileItem */ \"./src/component/web/base/Attachment/AttachmentFileItem.jsx\"));\nvar _AttachmentImgItem = _interopRequireDefault(__webpack_require__(/*! ./AttachmentImgItem */ \"./src/component/web/base/Attachment/AttachmentImgItem.jsx\"));\nvar _componentutil = __webpack_require__(/*! @/util/componentutil */ \"./src/util/componentutil.js\");\nvar _attachmentUtils = __webpack_require__(/*! @/util/attachmentUtils */ \"./src/util/attachmentUtils.js\");\nvar _attachment = _interopRequireDefault(__webpack_require__(/*! ./style/attachment.less */ \"./src/component/web/base/Attachment/style/attachment.less\"));\nvar _attachmentConst = __webpack_require__(/*! @/constant/attachmentConst */ \"./src/constant/attachmentConst.js\");\nvar _useFlipTransition = _interopRequireDefault(__webpack_require__(/*! @/hooks/useFlipTransition */ \"./src/hooks/useFlipTransition.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 _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; }\nvar imgtype = ['jpg', 'jpeg', 'gif', 'bmp', 'png', 'dib', 'rle', 'emf', 'jpe', 'jfif', 'pcx', 'dcx', 'pic', 'tga', 'tif', 'wmf'];\nvar FileLists = function FileLists(props) {\n  var _props$files, _props$files2, _props$files3, _props$files4, _props$files5, _imgListRef$current, _props$files6;\n  var imgListRef = (0, _react.useRef)(); // 图片列表\n  var fileListRef = (0, _react.useRef)(); // 文件列表\n  var _useState = (0, _react.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    flag = _useState2[0],\n    setFlag = _useState2[1];\n  var onMoveFinish = function onMoveFinish() {\n    return setFlag(function (prevState) {\n      return !prevState;\n    });\n  };\n  var imgFileLists = (_props$files = props.files) === null || _props$files === void 0 ? void 0 : _props$files.filter(function (item) {\n    var _extName = props.getExtName(item.name);\n    return imgtype.includes(_extName);\n  });\n  var fileList = (_props$files2 = props.files) === null || _props$files2 === void 0 ? void 0 : _props$files2.filter(function (item) {\n    var _extName = props.getExtName(item.name);\n    return !imgtype.includes(_extName);\n  });\n  var imgFileUrls = imgFileLists === null || imgFileLists === void 0 ? void 0 : imgFileLists.map(function (item) {\n    return item.previewurl || item.url;\n  });\n  var checkFileName = function checkFileName(name, uid) {\n    var showError = props.showError,\n      checkDuplicateFileName = props.checkDuplicateFileName;\n    var result = (0, _attachmentUtils.validateAttachmentName)(name);\n    if (result && typeof result === 'string') {\n      showError(result);\n      return false;\n    }\n    if (checkDuplicateFileName(name, uid)) {\n      return false;\n    }\n    return true;\n  };\n  var rename = function rename(file) {\n    return function (newFileName) {\n      var _props$renameFile;\n      var types = file.name.split('.') || [file.type];\n      var type = types[types.length - 1];\n      var renameParams = {\n        uid: file.uid,\n        content: \"\".concat(newFileName, \".\").concat(type)\n      };\n      if (file.attPkIdStr) {\n        renameParams.attPkId = file.attPkIdStr;\n      }\n      (_props$renameFile = props.renameFile) === null || _props$renameFile === void 0 || _props$renameFile.call(props, [renameParams]);\n    };\n  };\n  var hasErrorFile = ((_props$files3 = props.files) === null || _props$files3 === void 0 ? void 0 : _props$files3.filter(function (f) {\n    return f.status === 'success';\n  }).length) !== ((_props$files4 = props.files) === null || _props$files4 === void 0 ? void 0 : _props$files4.length);\n  /* 允许拖拽的场景\n    1：开启拖拽\n    2：所有文件上传完成\n    3：字段未锁定\n  */\n  var canDrag = props.dragble && ((_props$files5 = props.files) === null || _props$files5 === void 0 ? void 0 : _props$files5.filter(function (f) {\n    return f.status === 'uploading';\n  }).length) === 0 && !props.disabled && !hasErrorFile;\n  (0, _useFlipTransition[\"default\"])({\n    elementList: props.dragble ? (_imgListRef$current = imgListRef.current) === null || _imgListRef$current === void 0 ? void 0 : _imgListRef$current.children : [],\n    animatingKey: _attachmentConst.DARG_ANIMATING_KEY,\n    reExecuteFlag: flag\n  });\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_attachment[\"default\"].listbox, props.className)\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n    className: (0, _classnames[\"default\"])('kd-cq-attachment-list', _attachment[\"default\"].filelist),\n    ref: fileListRef\n  }, (_props$files6 = props.files) === null || _props$files6 === void 0 ? void 0 : _props$files6.map(function (item, index) {\n    var _extName = props.getExtName(item.name);\n    if (props.showThumbnails) {\n      if (!imgtype.includes(_extName)) {\n        return /*#__PURE__*/_react[\"default\"].createElement(_AttachmentFileItem[\"default\"], _extends({\n          key: item.uid,\n          targetkey: item.uid,\n          file: item\n        }, props, {\n          renameFile: rename(item),\n          checkFileName: checkFileName,\n          index: fileList.findIndex(function (f) {\n            return f.uid === item.uid;\n          }),\n          canDrag: canDrag,\n          hasErrorFile: hasErrorFile,\n          parentElement: fileListRef.current\n        }));\n      }\n    } else {\n      return /*#__PURE__*/_react[\"default\"].createElement(_AttachmentFileItem[\"default\"], _extends({\n        key: item.uid,\n        targetkey: item.uid,\n        file: item,\n        imgFileUrls: imgFileUrls\n      }, props, {\n        renameFile: rename(item),\n        checkFileName: checkFileName,\n        index: index,\n        canDrag: canDrag,\n        hasErrorFile: hasErrorFile,\n        parentElement: fileListRef.current\n      }));\n    }\n  })), props.showThumbnails ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    ref: imgListRef,\n    className: (0, _classnames[\"default\"])('kd-cq-attachment-list kd-cq-attachment-img-type', _attachment[\"default\"].imglist)\n  }, imgFileLists.map(function (item, index) {\n    // 将重命名补上，避免位置不对应\n    var _split$map = (item.visible || '1111').split('').map(function (flag) {\n        return flag === '1';\n      }),\n      _split$map2 = _slicedToArray(_split$map, 4),\n      showPreview = _split$map2[0],\n      showDownload = _split$map2[1],\n      showRename = _split$map2[2],\n      showDelete = _split$map2[3];\n    // 预览权限&&展示都为真时才显示缩略图,不受无权隐藏按钮的控制\n    showPreview = props.attachmentPermission.preview && showPreview;\n    var canPreview = item.previewurl !== undefined;\n    var preview = function preview() {\n      return canPreview && props.onPreview && props.onPreview(item.uid);\n    };\n    var useUrlAsThumbnail = (0, _attachmentUtils.getIsUsePreviewType)(item.type);\n    return /*#__PURE__*/_react[\"default\"].createElement(_AttachmentImgItem[\"default\"], {\n      key: item.uid,\n      file: item,\n      imageType: props.getExtName(item.name),\n      disabled: props.disabled,\n      onCancelUpload: props.onCancelUpload,\n      onDelete: props.onDelete,\n      handleReUpload: props.handleReUpload,\n      isDeleteAllowed: props.isDeleteAllowed,\n      locale: props.locale,\n      downloadFile: props.downloadFile,\n      comfirmDelete: props.comfirmDelete,\n      showThumbnails: props.showThumbnails,\n      index: index,\n      attachOperationCount: props.attachOperationCount,\n      deleteItemUid: props.deleteItemUid,\n      handlePreview: preview,\n      onPreview: props.onPreview,\n      appId: props.appId,\n      isPreviewed: props.isPreviewed,\n      formId: props.formId,\n      pageId: props.pageId,\n      checkFileName: checkFileName,\n      renameFile: rename(item),\n      showDownload: showDownload,\n      showDelete: showDelete,\n      showPreview: showPreview,\n      showRename: showRename,\n      useUrlAsThumbnail: useUrlAsThumbnail,\n      previewLimitSize: props.previewLimitSize,\n      onMoveFinish: onMoveFinish,\n      dragFile: props.dragFile,\n      canDrag: canDrag,\n      hasErrorFile: hasErrorFile,\n      dragble: props.dragble,\n      parentElement: imgListRef.current\n    });\n  })) : null);\n};\nvar _default = exports[\"default\"] = FileLists;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Attachment/FileLists.jsx?");

/***/ }),

/***/ "./src/component/web/base/Attachment/HorizontalAttachment.jsx":
/*!********************************************************************!*\
  !*** ./src/component/web/base/Attachment/HorizontalAttachment.jsx ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.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.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[\"default\"] = void 0;\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 _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames6 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _rcUpload = _interopRequireDefault(__webpack_require__(/*! rc-upload */ \"../../node_modules/rc-upload/es/index.js\"));\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _attachment = _interopRequireDefault(__webpack_require__(/*! ./style/attachment.less */ \"./src/component/web/base/Attachment/style/attachment.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 _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 _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); }\nvar HorizontalAttachment = /*#__PURE__*/_react[\"default\"].forwardRef(function (_ref, ref) {\n  var children = _ref.children,\n    disabled = _ref.disabled,\n    _ref$files = _ref.files,\n    files = _ref$files === void 0 ? [] : _ref$files,\n    hideDownLoadAll = _ref.hideDownLoadAll,\n    title = _ref.title,\n    required = _ref.required,\n    uploadOption = _ref.uploadOption,\n    uploadPermission = _ref.uploadPermission,\n    enableNoPermBtnHide = _ref.enableNoPermBtnHide,\n    handleDownloadClick = _ref.onDownloadClick,\n    handleUploadClick = _ref.onUploadClick,\n    labelStyle = _ref.labelStyle,\n    handleUploadBtnClick = _ref.handleUploadClick;\n  var uploaderRef = _react[\"default\"].useRef();\n  _react[\"default\"].useImperativeHandle(ref, function () {\n    return {\n      myUploader: uploaderRef.current,\n      getUploader: function getUploader() {\n        var _uploaderRef$current;\n        return (_uploaderRef$current = uploaderRef.current) === null || _uploaderRef$current === void 0 ? void 0 : _uploaderRef$current.uploader;\n      }\n    };\n  });\n  var containerClz = (0, _classnames6[\"default\"])(_defineProperty(_defineProperty({}, _attachment[\"default\"]['horizontal-attachment-container'], true), _attachment[\"default\"]['align-center'], files.length === 0));\n  var uploadBtnClz = (0, _classnames6[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, _attachment[\"default\"].fieldbtn, true), _attachment[\"default\"].uploadbtn, true), 'kdfont kdfont-shangchuan2 secondary-text-in-light', true));\n  var downloadBtnClz = (0, _classnames6[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, _attachment[\"default\"].fieldbtn, true), _attachment[\"default\"].uploadbtn, true), 'kdfont kdfont-xiazai2 secondary-text-in-light', true));\n  var contentContainerClz = (0, _classnames6[\"default\"])(_defineProperty(_defineProperty({}, _attachment[\"default\"]['content-container'], true), _attachment[\"default\"]['content-with-max-width'], files.length === 0));\n  var titleClz = (0, _classnames6[\"default\"])(_defineProperty(_defineProperty({}, _attachment[\"default\"]['upload-title'], true), _attachment[\"default\"].pointer, !disabled && uploadPermission));\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: containerClz,\n    ref: ref\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _attachment[\"default\"]['title-container']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _attachment[\"default\"].title,\n    style: labelStyle\n  }, title), required && /*#__PURE__*/_react[\"default\"].createElement(\"label\", {\n    className: (0, _classnames6[\"default\"])(_attachment[\"default\"].required, 'require-icon')\n  }, \"*\")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: contentContainerClz\n  }, files.length === 0 ? /*#__PURE__*/_react[\"default\"].createElement(\"p\", {\n    className: titleClz,\n    onClick: handleUploadClick\n  }, (0, _intlApi.getLangMsg)({\n    key: uploadPermission ? 'attachmentpanel.key0008' : 'attachmentpanel.key0020'\n  })) : /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, children)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _attachment[\"default\"]['btn-container']\n  }, !disabled && !(!uploadPermission && enableNoPermBtnHide) && /*#__PURE__*/_react[\"default\"].createElement(_rcUpload[\"default\"], _extends({\n    className: _attachment[\"default\"].upload\n  }, uploadOption, {\n    ref: uploaderRef\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: uploadBtnClz,\n    onClick: handleUploadBtnClick\n  })), !hideDownLoadAll && !(!uploadPermission && enableNoPermBtnHide) && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: downloadBtnClz,\n    onClick: handleDownloadClick\n  })));\n});\nvar _default = exports[\"default\"] = HorizontalAttachment;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Attachment/HorizontalAttachment.jsx?");

/***/ }),

/***/ "./src/component/web/base/Attachment/OperaBtn.jsx":
/*!********************************************************!*\
  !*** ./src/component/web/base/Attachment/OperaBtn.jsx ***!
  \********************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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-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/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 = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _attachment = _interopRequireDefault(__webpack_require__(/*! ./style/attachment.less */ \"./src/component/web/base/Attachment/style/attachment.less\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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); }\nvar OperaBtn = /*#__PURE__*/function (_React$Component) {\n  _inherits(OperaBtn, _React$Component);\n  function OperaBtn() {\n    var _this;\n    _classCallCheck(this, OperaBtn);\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, OperaBtn, [].concat(args));\n    _this.handleClick = function (operaKey, uid) {\n      _this.props.handleOperaBtnClick && _this.props.handleOperaBtnClick(operaKey, uid);\n    };\n    return _this;\n  }\n  _createClass(OperaBtn, [{\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props = this.props,\n        title = _this$props.title,\n        operaKey = _this$props.operaKey,\n        locale = _this$props.locale,\n        uid = _this$props.uid;\n      var name = title && title[locale];\n      var className = (0, _classnames[\"default\"])('kd-cq-attachment-item-btn kd-cq-attachment-item-custom-btn', _attachment[\"default\"].actionbutton, 'link-color');\n      return /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: name,\n        className: className,\n        onClick: function onClick() {\n          return _this2.handleClick(operaKey, uid);\n        }\n      }, name);\n    }\n  }]);\n  return OperaBtn;\n}(_react[\"default\"].Component);\nvar _default = exports[\"default\"] = OperaBtn;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Attachment/OperaBtn.jsx?");

/***/ }),

/***/ "./src/component/web/base/Attachment/Tooltip.jsx":
/*!*******************************************************!*\
  !*** ./src/component/web/base/Attachment/Tooltip.jsx ***!
  \*******************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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-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/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.last-index-of.js */ \"../../node_modules/core-js/modules/es.array.last-index-of.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.string.trim.js */ \"../../node_modules/core-js/modules/es.string.trim.js\");\nvar _react = _interopRequireDefault(__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 _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _lodash = __webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _attachmentConst = __webpack_require__(/*! @/constant/attachmentConst */ \"./src/constant/attachmentConst.js\");\nvar _attachment = _interopRequireDefault(__webpack_require__(/*! ./style/attachment.less */ \"./src/component/web/base/Attachment/style/attachment.less\"));\nvar _keyCodeTool = __webpack_require__(/*! @/util/keyCodeTool */ \"./src/util/keyCodeTool.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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 Tooltip = /*#__PURE__*/function (_React$Component) {\n  _inherits(Tooltip, _React$Component);\n  function Tooltip(props) {\n    var _this;\n    _classCallCheck(this, Tooltip);\n    _this = _callSuper(this, Tooltip, [props]);\n    _this.onClickOutSide = function (e) {\n      if (_this.unmount) return;\n      !_this.props.visible && document.removeEventListener('click', _this.onClickOutSide, true);\n      var input = _reactDom[\"default\"].findDOMNode(_assertThisInitialized(_this));\n      var target = e.target;\n      while (target && target !== document) {\n        if (target === input) {\n          return;\n        }\n        target = target.parentNode;\n      }\n      var onClickOutside = _this.props.onClickOutside;\n      onClickOutside && onClickOutside(e);\n    };\n    _this.getValue = function (value) {\n      if (!value) return '';\n      var suffixIndex = value.lastIndexOf('.');\n      if (suffixIndex > -1) {\n        _this.type = value.substr(suffixIndex);\n        value = value.substr(0, suffixIndex);\n      }\n      return value;\n    };\n    _this.handelOkClick = function (id, val) {\n      if (_this.props.required && _this.state.val.trim().length === 0) {\n        return;\n      }\n      var onOk = _this.props.onOk;\n      onOk && onOk(val);\n    };\n    _this.handleCloseClick = function () {\n      var value = _this.props.value;\n      _this.setState({\n        val: _this.getValue(value)\n      });\n      var onCancel = _this.props.onCancel;\n      onCancel && onCancel();\n    };\n    _this.handleValChange = function (event) {\n      var value = event.target.value;\n      _this.setState({\n        val: value\n      });\n    };\n    _this.handleEnter = function (event) {\n      // 回车事件\n      var code = (0, _keyCodeTool.getKeyCode)(event);\n      if (code === 13) {\n        var _this$props;\n        (_this$props = _this.props) === null || _this$props === void 0 || _this$props.onHandleEnter(_this.state.val);\n      }\n    };\n    _this.state = {\n      val: ''\n    };\n    _this.onClickOutSide = _this.onClickOutSide.bind(_assertThisInitialized(_this));\n    _this.throttleOnClickOutSide = (0, _lodash.throttle)(_this.onClickOutSide, 300);\n    return _this;\n  }\n  _createClass(Tooltip, [{\n    key: \"componentWillMount\",\n    value: function componentWillMount() {\n      var value = this.props.value;\n      this.setState({\n        val: this.getValue(value)\n      });\n    }\n  }, {\n    key: \"componentDidUpdate\",\n    value: function componentDidUpdate(prevProps, prevState) {\n      var prevVisible = prevProps.visible;\n      var visible = this.props.visible;\n      if (prevVisible === false && visible) {\n        document.addEventListener('click', this.onClickOutSide, true);\n        document.addEventListener('scroll', this.throttleOnClickOutSide, true);\n      } else if (prevVisible && visible === false) {\n        document.removeEventListener('scroll', this.throttleOnClickOutSide, true);\n      }\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.unmount = true;\n      document.removeEventListener('click', this.onClickOutSide, true);\n      document.removeEventListener('scroll', this.throttleOnClickOutSide, true);\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props2 = this.props,\n        uid = _this$props2.uid,\n        isMulLine = _this$props2.isMulLine;\n      var isDisabled = this.props.required && this.state.val.trim().length === 0;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: isMulLine ? _attachment[\"default\"].markcontent : _attachment[\"default\"]['tooltip-input-container']\n      }, isMulLine ? /*#__PURE__*/_react[\"default\"].createElement(\"textarea\", {\n        maxLength: \"180\",\n        className: (0, _classnames[\"default\"])('kd-cq-attachment-item-tips-input', _attachment[\"default\"].inputField),\n        value: this.state.val,\n        style: {\n          resize: 'none'\n        },\n        onChange: this.handleValChange,\n        ref: function ref(r) {\n          _this2.text = r;\n        }\n      }) : /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n        className: (0, _classnames[\"default\"])('kd-cq-attachment-item-tips-input', _attachment[\"default\"]['tooltip-input']),\n        value: this.state.val,\n        onKeyDown: this.handleEnter,\n        onChange: this.handleValChange,\n        ref: function ref(r) {\n          _this2.text = r;\n        },\n        maxLength: _attachmentConst.ATTACHMENT_NAME_MAX_LENGTH\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _attachment[\"default\"].buttonBar\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])('kd-cq-control kd-cq-btn', _attachment[\"default\"]['btn-default'], _attachment[\"default\"]['btn-cancel']),\n        onClick: this.handleCloseClick\n      }, (0, _intlApi.getLangMsg)({\n        key: 'attachmentpanel.key0017'\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])('kd-button kd-cq-control kd-cq-btn', _attachment[\"default\"]['btn-default'], 'theme-border-color1', {\n          'btn-default-disabled': isDisabled\n        }),\n        onClick: function onClick() {\n          return _this2.handelOkClick(uid, _this2.state.val);\n        }\n      }, (0, _intlApi.getLangMsg)({\n        key: 'attachmentpanel.key0018'\n      }))));\n    }\n  }]);\n  return Tooltip;\n}(_react[\"default\"].Component);\nvar _default = exports[\"default\"] = Tooltip;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Attachment/Tooltip.jsx?");

/***/ }),

/***/ "./src/component/web/base/Attachment/UploaderTitle.jsx":
/*!*************************************************************!*\
  !*** ./src/component/web/base/Attachment/UploaderTitle.jsx ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.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 = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames5 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _rcUpload = _interopRequireDefault(__webpack_require__(/*! rc-upload */ \"../../node_modules/rc-upload/es/index.js\"));\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _global = _interopRequireWildcard(__webpack_require__(/*! @/global */ \"./src/global/index.js\"));\nvar _attachment = _interopRequireDefault(__webpack_require__(/*! ./style/attachment.less */ \"./src/component/web/base/Attachment/style/attachment.less\"));\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 _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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); }\nvar UploaderTitle = /*#__PURE__*/function (_React$Component) {\n  _inherits(UploaderTitle, _React$Component);\n  function UploaderTitle() {\n    _classCallCheck(this, UploaderTitle);\n    return _callSuper(this, UploaderTitle, arguments);\n  }\n  _createClass(UploaderTitle, [{\n    key: \"render\",\n    value: function render() {\n      var _this = this;\n      var _this$props = this.props,\n        disabled = _this$props.disabled,\n        extName = _this$props.extName,\n        options = _this$props.options,\n        downloadAll = _this$props.downloadAll,\n        fileNum = _this$props.fileNum,\n        showTitle = _this$props.showTitle,\n        Name = _this$props.Name,\n        Collapsible = _this$props.Collapsible,\n        showAttachmentNum = _this$props.showAttachmentNum,\n        hideDownLoadAll = _this$props.hideDownLoadAll,\n        isCard = _this$props.isCard,\n        isField = _this$props.isField,\n        isDesigner = _this$props.isDesigner,\n        isPasteImgOpened = _this$props.isPasteImgOpened,\n        required = _this$props.required,\n        composedProps = _this$props.composedProps,\n        labelStyle = _this$props.labelStyle,\n        uploadPermission = _this$props.uploadPermission,\n        handleUploadClick = _this$props.handleUploadClick,\n        enableNoPermBtnHide = _this$props.enableNoPermBtnHide;\n      var isShowCtrlText = false;\n      if (!(isCard || isField)) {\n        isShowCtrlText = isPasteImgOpened();\n      }\n      var uploadBtnClass = (0, _classnames5[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _attachment[\"default\"].fieldbtn, true), _attachment[\"default\"].uploadbtn, true), 'kdfont kdfont-shangchuan2 secondary-text-in-light', true), 'hover-theme-fc active-theme-active-fc', !disabled));\n      var downloadBtnClass = (0, _classnames5[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, _attachment[\"default\"].fieldbtn, true), 'kdfont kdfont-xiazai2 secondary-text-in-light', true), 'hover-theme-fc active-theme-active-fc', !disabled));\n      var uploadBtnSpan = (0, _classnames5[\"default\"])(_defineProperty(_defineProperty({}, _attachment[\"default\"]['upload-btn'], true), 'hover-theme-fc hover-theme-border-color1 active-theme-active-fc active-theme-active-bdcolor1', true));\n      var downLoadBtnDiv = (0, _classnames5[\"default\"])(_defineProperty(_defineProperty({}, _attachment[\"default\"]['download-btn'], true), 'hover-theme-fc hover-theme-border-color1 active-theme-active-fc active-theme-active-bdcolor1', true));\n      var titleNum = null;\n      if (disabled) {\n        if (fileNum > -1) {\n          titleNum = /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: _attachment[\"default\"].attachmentnum\n          }, '(' + fileNum + ')');\n        }\n      } else {\n        if (fileNum > 0) {\n          titleNum = /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: _attachment[\"default\"].attachmentnum\n          }, '(' + fileNum + ')');\n        }\n      }\n      return isCard || isField ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _attachment[\"default\"].fieldupload\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _attachment[\"default\"].textcontent\n      }, showTitle ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        className: (0, _classnames5[\"default\"])('kd-cq-attachment-title', _attachment[\"default\"].titlebox)\n      }, composedProps), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _attachment[\"default\"].attachmentname,\n        style: labelStyle\n      }, Name, required && /*#__PURE__*/_react[\"default\"].createElement(\"label\", {\n        className: (0, _classnames5[\"default\"])(_attachment[\"default\"].required, 'require-icon')\n      }, \"*\")), !isDesigner && titleNum) : null, disabled ? null : extName ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames5[\"default\"])('kd-cq-attachment-extension-name', _attachment[\"default\"]['field-expand-name']),\n        title: (0, _intlApi.getLangMsg)({\n          key: 'attachmentpanel.key0029',\n          variables: {\n            extName: extName\n          }\n        })\n      }, (0, _intlApi.getLangMsg)({\n        key: 'attachmentpanel.key0029',\n        variables: {\n          extName: extName\n        }\n      })) : null), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _attachment[\"default\"].btnbox\n      }, disabled || !uploadPermission && enableNoPermBtnHide ? null : /*#__PURE__*/_react[\"default\"].createElement(_rcUpload[\"default\"], _extends({}, options, {\n        ref: function ref(n) {\n          return _this.myUploader = n;\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: uploadBtnClass,\n        style: {\n          marginLeft: '5px'\n        },\n        title: (0, _intlApi.getLangMsg)('attachmentpanel.key0009'),\n        onClick: handleUploadClick\n      })), fileNum && !hideDownLoadAll ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: downloadBtnClass,\n        onClick: downloadAll,\n        title: (0, _intlApi.getLangMsg)('attachmentpanel.key0010')\n      }) : null)) : /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _attachment[\"default\"].upload\n      }, !Collapsible && showAttachmentNum || isDesigner && showTitle ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        className: (0, _classnames5[\"default\"])('kd-cq-attachment-title', _attachment[\"default\"].titlebox)\n      }, composedProps), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _attachment[\"default\"].attachmentname,\n        style: labelStyle\n      }, Name), !isDesigner && titleNum) : null, disabled || isDesigner || !uploadPermission && enableNoPermBtnHide ? null : /*#__PURE__*/_react[\"default\"].createElement(_rcUpload[\"default\"], _extends({}, options, {\n        ref: function ref(n) {\n          return _this.myUploader = n;\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: uploadBtnSpan,\n        onClick: handleUploadClick\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: \"kdfont kdfont-shangchuan2\"\n      }), (0, _intlApi.getLangMsg)({\n        key: 'attachmentpanel.key0009'\n      }))), !hideDownLoadAll && fileNum ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: downLoadBtnDiv,\n        onClick: downloadAll\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: \"kdfont kdfont-xiazai2\"\n      }), (0, _intlApi.getLangMsg)({\n        key: 'attachmentpanel.key0010'\n      })) : null, disabled || _global[\"default\"][_global.IS_IE] ? null : isShowCtrlText ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames5[\"default\"])('kd-cq-attachment-header-text', _attachment[\"default\"]['expand-name'], 'third-text-in-light')\n      }, (0, _intlApi.getLangMsg)({\n        key: 'attachmentpanel.key0028'\n      })) : null, disabled ? null : extName ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames5[\"default\"])('kd-cq-attachment-header-text', _attachment[\"default\"]['expand-name'])\n      }, (0, _intlApi.getLangMsg)({\n        key: 'attachmentpanel.key0011',\n        variables: {\n          extName: extName\n        }\n      })) : null);\n    }\n  }]);\n  return UploaderTitle;\n}(_react[\"default\"].Component);\nvar _default = exports[\"default\"] = UploaderTitle;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Attachment/UploaderTitle.jsx?");

/***/ }),

/***/ "./src/component/web/base/Attachment/hooks/useFileItemListSort.js":
/*!************************************************************************!*\
  !*** ./src/component/web/base/Attachment/hooks/useFileItemListSort.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.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-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.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.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/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.DATA_DRAG_KEY = void 0;\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 _react = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\");\nvar _dragService = __webpack_require__(/*! @/service/web/dragService */ \"./src/service/web/dragService.js\");\nvar _attachment = _interopRequireDefault(__webpack_require__(/*! ../style/attachment.less */ \"./src/component/web/base/Attachment/style/attachment.less\"));\nvar _toolUtils = __webpack_require__(/*! @/util/toolUtils */ \"./src/util/toolUtils.js\");\nvar _useContainerScroll3 = _interopRequireDefault(__webpack_require__(/*! @/hooks/useContainerScroll */ \"./src/hooks/useContainerScroll.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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; }\nvar DATA_DRAG_KEY = exports.DATA_DRAG_KEY = 'data-drag-key';\nvar DATA_DRAG_ELEMENT = 'data-drag-element';\nvar DATA_CLONE_ITEM = 'data-clone-item'; // 复制元素\nvar DATA_TOPDRAG_STYLE = 'data-file-drag-top'; // 元素上方的指示器\nvar DATA_BOTTOMDRAG_STYLE = 'data-file-drag-bottom'; // 元素下方的指示器\n\n// 停靠目标元素\nvar destinationElementCache;\n\n// 根据坐标位置获取目标元素，当拖拽元素中心点进入到目标元素时触发，被拖拽元素本身设置了pointer-events: unset;这里会被命中\nvar getTarget = function getTarget(x, y, parentElement) {\n  var targets = (0, _toolUtils.getElementsFromPoint)(x, y);\n  var destinationElement = targets.find(function (ele) {\n    return ele.getAttribute(DATA_DRAG_KEY) !== undefined && ele.getAttribute(DATA_DRAG_ELEMENT) && !ele.getAttribute(DATA_CLONE_ITEM) && (parentElement === null || parentElement === void 0 ? void 0 : parentElement.contains(ele)) // 添加父容器判断\n    ;\n  });\n  return destinationElement;\n};\n\n// 为目前元素添加class\nvar addClass = function addClass(sourceElement, destinationElement) {\n  if (!sourceElement || !destinationElement) return;\n  var sourceIndex = sourceElement.getAttribute(DATA_DRAG_KEY);\n  var destinationIndex = destinationElement.getAttribute(DATA_DRAG_KEY);\n  if (+sourceIndex > +destinationIndex) {\n    destinationElement.setAttribute(DATA_TOPDRAG_STYLE, true);\n  } else {\n    destinationElement.setAttribute(DATA_BOTTOMDRAG_STYLE, true);\n  }\n};\n\n// 移除目标元素class\nvar removeClass = function removeClass(element) {\n  if (!element) return;\n  element.removeAttribute(DATA_TOPDRAG_STYLE);\n  element.removeAttribute(DATA_BOTTOMDRAG_STYLE);\n};\nvar cleanAll = function cleanAll(element) {\n  if (!element) return;\n  destinationElementCache && removeClass(destinationElementCache);\n  destinationElementCache = null;\n};\nvar useFileItemListSort = function useFileItemListSort(_ref) {\n  var dragItemRef = _ref.dragItemRef,\n    onDragStart = _ref.onDragStart,\n    onDragEnd = _ref.onDragEnd,\n    parentElement = _ref.parentElement,\n    canDrag = _ref.canDrag;\n  var _useContainerScroll = (0, _useContainerScroll3[\"default\"])({\n      dragElement: dragItemRef === null || dragItemRef === void 0 ? void 0 : dragItemRef.current\n    }),\n    _useContainerScroll2 = _slicedToArray(_useContainerScroll, 3),\n    handleScroll = _useContainerScroll2[0],\n    clearScroll = _useContainerScroll2[1],\n    setIsScrolling = _useContainerScroll2[2];\n  var onStart = function onStart(cloneElement, startElement) {\n    // 被拖拽占位元素样式修改\n    startElement.classList.add(_attachment[\"default\"]['in-drag-item']);\n    // 被拖拽克隆元素样式修改\n    cloneElement.removeAttribute(DATA_DRAG_KEY);\n    cloneElement.setAttribute(DATA_CLONE_ITEM, true);\n    cloneElement.classList.add(_attachment[\"default\"]['clone-drag-item']);\n  };\n  var onMove = function onMove(dragElement, x, y, width, height, dragState) {\n    handleScroll({\n      y: y,\n      height: height\n    });\n    if (dragState === 'finished') {\n      var _destinationElementCa;\n      clearScroll();\n      setIsScrolling(false);\n      var startIndex = +dragElement.getAttribute(DATA_DRAG_KEY);\n      var destinationIndex = +((_destinationElementCa = destinationElementCache) === null || _destinationElementCa === void 0 ? void 0 : _destinationElementCa.getAttribute(DATA_DRAG_KEY));\n      // 被拖拽元素恢复样式\n      dragElement && dragElement.classList.remove(_attachment[\"default\"]['in-drag-item']);\n      if (destinationElementCache) {\n        var finalDestinationIndex = startIndex > destinationIndex ? destinationIndex : destinationIndex + 1; // 如果开始节点比最终节点小，则需要再最终节点+1之前插入\n        onDragEnd === null || onDragEnd === void 0 || onDragEnd({\n          startIndex: startIndex,\n          destinationIndex: finalDestinationIndex\n        });\n      }\n      cleanAll(destinationElementCache);\n    } else {\n      var target = getTarget(x, y + height / 2, parentElement);\n      if (!target) return;\n      if (target === dragElement) {\n        cleanAll(destinationElementCache);\n      } else if (target !== destinationElementCache) {\n        // 判断target元素和目标缓存是否一致，避免重复执行\n        destinationElementCache && removeClass(destinationElementCache); // 清除上一个目标元素的样式\n        destinationElementCache = target;\n        addClass(dragElement, destinationElementCache);\n      }\n      onDragStart === null || onDragStart === void 0 || onDragStart();\n    }\n  };\n  (0, _react.useEffect)(function () {\n    var dragItem = dragItemRef === null || dragItemRef === void 0 ? void 0 : dragItemRef.current;\n    if (!dragItem) return;\n    var option = {\n      parentElement: parentElement || (dragItem === null || dragItem === void 0 ? void 0 : dragItem.parentNode),\n      onStart: onStart,\n      onMove: onMove,\n      savePosition: false,\n      placeHolder: true,\n      isLimit: false,\n      cursor: 'pointer',\n      moveToBody: true\n    };\n    if (canDrag) {\n      (0, _dragService.dragElement)(dragItem, option);\n    } else {\n      (0, _dragService.removeDragElement)(dragItem);\n    }\n  }, [canDrag, dragItemRef === null || dragItemRef === void 0 ? void 0 : dragItemRef.current]);\n};\nvar _default = exports[\"default\"] = useFileItemListSort;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Attachment/hooks/useFileItemListSort.js?");

/***/ }),

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

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}));\nObject.defineProperty(exports, \"AttachmentFileItem\", ({\n  enumerable: true,\n  get: function get() {\n    return _AttachmentFileItem[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"AttachmentImgItem\", ({\n  enumerable: true,\n  get: function get() {\n    return _AttachmentImgItem[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"FileItemTooltip\", ({\n  enumerable: true,\n  get: function get() {\n    return _FileItemTooltip[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"FileLists\", ({\n  enumerable: true,\n  get: function get() {\n    return _FileLists[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"HorizontalAttachment\", ({\n  enumerable: true,\n  get: function get() {\n    return _HorizontalAttachment[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"OperaBtn\", ({\n  enumerable: true,\n  get: function get() {\n    return _OperaBtn[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"Tooltip\", ({\n  enumerable: true,\n  get: function get() {\n    return _Tooltip[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"UploaderTitle\", ({\n  enumerable: true,\n  get: function get() {\n    return _UploaderTitle[\"default\"];\n  }\n}));\nexports[\"default\"] = void 0;\nvar _AttachmentPanel = _interopRequireDefault(__webpack_require__(/*! ./AttachmentPanel */ \"./src/component/web/base/Attachment/AttachmentPanel.jsx\"));\nvar _AttachmentFileItem = _interopRequireDefault(__webpack_require__(/*! ./AttachmentFileItem */ \"./src/component/web/base/Attachment/AttachmentFileItem.jsx\"));\nvar _FileItemTooltip = _interopRequireDefault(__webpack_require__(/*! ./FileItemTooltip */ \"./src/component/web/base/Attachment/FileItemTooltip.jsx\"));\nvar _Tooltip = _interopRequireDefault(__webpack_require__(/*! ./Tooltip */ \"./src/component/web/base/Attachment/Tooltip.jsx\"));\nvar _OperaBtn = _interopRequireDefault(__webpack_require__(/*! ./OperaBtn */ \"./src/component/web/base/Attachment/OperaBtn.jsx\"));\nvar _AttachmentImgItem = _interopRequireDefault(__webpack_require__(/*! ./AttachmentImgItem */ \"./src/component/web/base/Attachment/AttachmentImgItem.jsx\"));\nvar _HorizontalAttachment = _interopRequireDefault(__webpack_require__(/*! ./HorizontalAttachment */ \"./src/component/web/base/Attachment/HorizontalAttachment.jsx\"));\nvar _FileLists = _interopRequireDefault(__webpack_require__(/*! ./FileLists */ \"./src/component/web/base/Attachment/FileLists.jsx\"));\nvar _UploaderTitle = _interopRequireDefault(__webpack_require__(/*! ./UploaderTitle */ \"./src/component/web/base/Attachment/UploaderTitle.jsx\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nvar _default = exports[\"default\"] = _AttachmentPanel[\"default\"];\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Attachment/index.js?");

/***/ }),

/***/ "./src/component/web/base/BaseComponents/Button.jsx":
/*!**********************************************************!*\
  !*** ./src/component/web/base/BaseComponents/Button.jsx ***!
  \**********************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.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-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.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.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _ControlLoading = _interopRequireDefault(__webpack_require__(/*! @/component/common/ControlLoading */ \"./src/component/common/ControlLoading.jsx\"));\nvar _defaultPropsUtil = __webpack_require__(/*! @/util/defaultPropsUtil */ \"./src/util/defaultPropsUtil.js\");\nvar _customCtrlName = _interopRequireDefault(__webpack_require__(/*! @/constant/customCtrlName */ \"./src/constant/customCtrlName.js\"));\nvar _customProperties = _interopRequireDefault(__webpack_require__(/*! @/constant/customProperties */ \"./src/constant/customProperties.js\"));\nvar _propnames = __webpack_require__(/*! @/designer/constant/propnames */ \"./src/designer/constant/propnames.js\");\nvar _doubleClickToChangePropertyUtil = __webpack_require__(/*! @/designer/utils/doubleClickToChangePropertyUtil */ \"./src/designer/utils/doubleClickToChangePropertyUtil.js\");\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! @/component/common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _componentutil = __webpack_require__(/*! @/util/componentutil */ \"./src/util/componentutil.js\");\nvar _common = _interopRequireDefault(__webpack_require__(/*! @/component/common/common.less */ \"./src/component/common/common.less\"));\nvar _style2 = _interopRequireDefault(__webpack_require__(/*! ./style.less */ \"./src/component/web/base/BaseComponents/style.less\"));\nvar _excluded = [\"model\", \"opk\", \"id\", \"shortCutTips\", \"showLoading\", \"isThemeBg\", \"isThemeColor\", \"isThemeBorder\", \"className\", \"text\", \"Name\", \"style\", \"disabled\", \"Grow\", \"Shrink\", \"AlignSelf\", \"ButtonStyle\", \"ImageKey\", \"hasBorder\", \"ImgWidth\", \"ImgHeight\", \"FollowTheme\", \"showFormByTips\", \"userLocal\", \"slot\", \"loading\", \"rowIndex\", \"hasNonThemeBg\", \"noBg\", \"fontClass\", \"field\", \"onTwiceClick\"],\n  _excluded2 = [\"marginTop\", \"marginLeft\", \"marginRight\", \"marginBottom\"],\n  _excluded3 = [\"marginTop\", \"marginLeft\", \"marginRight\", \"marginBottom\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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); }\nvar Button = /*#__PURE__*/function (_React$Component) {\n  _inherits(Button, _React$Component);\n  function Button() {\n    _classCallCheck(this, Button);\n    return _callSuper(this, Button, arguments);\n  }\n  _createClass(Button, [{\n    key: \"getTextSegment\",\n    value: function getTextSegment(_ref) {\n      var _ref$loading = _ref.loading,\n        loading = _ref$loading === void 0 ? {} : _ref$loading,\n        name = _ref.name,\n        rowIndex = _ref.rowIndex,\n        shouldshowLoading = _ref.showLoading,\n        ButtonStyle = _ref.ButtonStyle;\n      var loadingType = loading.loadingType,\n        rowKey = loading.rowKey;\n      switch (loadingType) {\n        case 3:\n          return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, {\n            key: \"TextBtnloadingType3\"\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: ButtonStyle !== 1 && shouldshowLoading ? _style2[\"default\"].masker : ''\n          }), shouldshowLoading ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: _style2[\"default\"].loading\n          }, /*#__PURE__*/_react[\"default\"].createElement(_ControlLoading[\"default\"], {\n            className: _style2[\"default\"].buttonLoading\n          }), name) : /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: (0, _classnames[\"default\"])(_defineProperty({}, _style2[\"default\"]['btn-text-overflow'], ButtonStyle === 1))\n          }, name));\n        case 1:\n          return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, {\n            key: \"TextBtnloadingType1\"\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: (0, _classnames[\"default\"])(_defineProperty({}, _style2[\"default\"]['btn-text-overflow'], ButtonStyle === 1))\n          }, name));\n        case 2:\n        default:\n          return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, {\n            key: \"TextBtnloadingType2\"\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: ButtonStyle !== 1 && shouldshowLoading ? _style2[\"default\"].masker : ''\n          }, shouldshowLoading ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: _style2[\"default\"].loadingType2\n          }, /*#__PURE__*/_react[\"default\"].createElement(_ControlLoading[\"default\"], {\n            className: _style2[\"default\"].buttonLoading,\n            hasBg: !this.props.noBg\n          })) : ''), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: (0, _classnames[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, _style2[\"default\"].maskLoading, JSON.stringify(loading) !== '{}' && !loading.showLoading && rowIndex === rowKey), _style2[\"default\"].textLoading, loading && loading.showLoading && rowIndex === rowKey), _style2[\"default\"]['btn-text-overflow'], ButtonStyle === 1))\n          }, name));\n      }\n    }\n  }, {\n    key: \"getImgSegment\",\n    value: function getImgSegment(_ref2) {\n      var _ref2$loading = _ref2.loading,\n        loading = _ref2$loading === void 0 ? {} : _ref2$loading,\n        name = _ref2.name,\n        ButtonStyle = _ref2.ButtonStyle,\n        style = _ref2.style,\n        ImageKey = _ref2.ImageKey,\n        rowIndex = _ref2.rowIndex,\n        shouldshowLoading = _ref2.showLoading,\n        _ref2$fontClass = _ref2.fontClass,\n        fontClass = _ref2$fontClass === void 0 ? 'kdfont kdfont-tianjia' : _ref2$fontClass;\n      var loadingType = loading.loadingType,\n        rowKey = loading.rowKey;\n      var iconClass = (0, _classnames[\"default\"])(fontClass, _style2[\"default\"].icon);\n      switch (loadingType) {\n        case 3:\n          return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, {\n            key: \"imgBtnloadingType3\"\n          }, ButtonStyle === 4 ? /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n            className: iconClass\n          }) : /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n            style: style,\n            className: _style2[\"default\"][ButtonStyle === 2 ? 'img-upimgdowntxt' : 'img-leftimgrighttxt'],\n            src: ImageKey\n          }), shouldshowLoading ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: _style2[\"default\"].loading\n          }, /*#__PURE__*/_react[\"default\"].createElement(_ControlLoading[\"default\"], {\n            className: _style2[\"default\"].buttonLoading\n          }), name) : ButtonStyle !== 4 && name);\n        case 1:\n          return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, {\n            key: \"imgBtnloadingType1\"\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n            style: style,\n            className: _style2[\"default\"][ButtonStyle === 2 ? 'img-upimgdowntxt' : 'img-leftimgrighttxt'],\n            src: ImageKey\n          }), name);\n        case 2:\n        default:\n          return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, {\n            key: \"imgBtnloadingType2\"\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: (0, _classnames[\"default\"])(_style2[\"default\"]['btn-img'], _defineProperty({}, _style2[\"default\"]['is-icon'], ButtonStyle === 4), 'kd-cq-btn-image')\n          }, ButtonStyle === 4 ? /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n            className: (0, _classnames[\"default\"])(fontClass, _style2[\"default\"].icon, _defineProperty(_defineProperty({}, _style2[\"default\"].maskLoading, JSON.stringify(loading) !== '{}' && !loading.showLoading && rowIndex === rowKey), _style2[\"default\"].textLoading, loading && loading.showLoading && rowIndex === rowKey))\n          }) : /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n            style: style,\n            src: ImageKey,\n            className: (0, _classnames[\"default\"])(_defineProperty(_defineProperty({}, _style2[\"default\"].maskLoading, JSON.stringify(loading) !== '{}' && !loading.showLoading && rowIndex === rowKey), _style2[\"default\"].textLoading, loading && loading.showLoading && rowIndex === rowKey))\n          }), shouldshowLoading ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: _style2[\"default\"].loading\n          }, /*#__PURE__*/_react[\"default\"].createElement(_ControlLoading[\"default\"], {\n            className: _style2[\"default\"].buttonLoading\n          })) : ''), ButtonStyle !== 4 && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: (0, _classnames[\"default\"])(_defineProperty({}, _style2[\"default\"][ButtonStyle === 2 ? 'text-upimgdowntxt' : 'text-leftimgrighttxt'], true))\n          }, name));\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _classNames8;\n      var _this$props = this.props,\n        model = _this$props.model,\n        opk = _this$props.opk,\n        id = _this$props.id,\n        shortCutTips = _this$props.shortCutTips,\n        showLoading = _this$props.showLoading,\n        isThemeBg = _this$props.isThemeBg,\n        isThemeColor = _this$props.isThemeColor,\n        isThemeBorder = _this$props.isThemeBorder,\n        className = _this$props.className,\n        text = _this$props.text,\n        Name = _this$props.Name,\n        _this$props$style = _this$props.style,\n        style = _this$props$style === void 0 ? {} : _this$props$style,\n        disabled = _this$props.disabled,\n        Grow = _this$props.Grow,\n        Shrink = _this$props.Shrink,\n        AlignSelf = _this$props.AlignSelf,\n        ButtonStyle = _this$props.ButtonStyle,\n        ImageKey = _this$props.ImageKey,\n        hasBorder = _this$props.hasBorder,\n        ImgWidth = _this$props.ImgWidth,\n        ImgHeight = _this$props.ImgHeight,\n        FollowTheme = _this$props.FollowTheme,\n        showFormByTips = _this$props.showFormByTips,\n        userLocal = _this$props.userLocal,\n        slot = _this$props.slot,\n        loading = _this$props.loading,\n        rowIndex = _this$props.rowIndex,\n        hasNonThemeBg = _this$props.hasNonThemeBg,\n        noBg = _this$props.noBg,\n        fontClass = _this$props.fontClass,\n        field = _this$props.field,\n        onTwiceClick = _this$props.onTwiceClick,\n        other = _objectWithoutProperties(_this$props, _excluded);\n      var ghostTypeActiveWithLightBg = (0, _defaultPropsUtil.getUIDefaultProps)(_customCtrlName[\"default\"].BUTTON, _customProperties[\"default\"].GHOST_TYPE_ACTIVE_WITH_LIGHT_BG);\n      var followThemeDisabledStyle = (0, _defaultPropsUtil.getUIDefaultProps)(_customCtrlName[\"default\"].BUTTON, _customProperties[\"default\"].FOLLOW_THEME_DISABLED_STYLE);\n      var minWidth = (0, _defaultPropsUtil.getUIDefaultProps)(_customCtrlName[\"default\"].BUTTON, _customProperties[\"default\"].MIN_WIDTH);\n      var ghostBtnClass = 'hover-theme-fc1 hover-theme-border-color1 active-theme-active-fc1 active-theme-active-bdcolor1';\n      var titleProps = (0, _doubleClickToChangePropertyUtil.getTitleProps)(field, _propnames.NAME, Name);\n      var controlProps = (0, _doubleClickToChangePropertyUtil.getControlProps)(field, onTwiceClick);\n      var composedProps = _objectSpread(_objectSpread(_objectSpread({}, titleProps), controlProps), {}, {\n        'data-opk': opk,\n        'data-btn-key': id\n      });\n      var commonClass = (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf\n      });\n      // 图文按钮 文本\n      var buttonClassName = (0, _classnames[\"default\"])('kd-cq-control kd-cq-btn', (_classNames8 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_classNames8, className, className), _style2[\"default\"].btn, true), _common[\"default\"]['text-omit'], false), _common[\"default\"]['center-h-v'], true), _common[\"default\"]['no-pointer-event'], disabled), 'secondary-text-in-light  strong-border', true), 'follow-theme-bg-fc1 active-theme-bg1 hover-theme-bg1', FollowTheme && !disabled), ghostBtnClass, !ghostTypeActiveWithLightBg && !FollowTheme && !disabled && ButtonStyle !== 1 && hasBorder && !isThemeColor && !isThemeBg), 'hover-theme-fc1 active-theme-active-fc1', !FollowTheme && !disabled && (ButtonStyle === 1 || !hasBorder) && noBg), _style2[\"default\"]['btn-masker'], !FollowTheme && !disabled && !hasBorder && !noBg), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_classNames8, _style2[\"default\"]['btn-disabled'], !FollowTheme && disabled && !hasBorder && !noBg), _style2[\"default\"]['btn-border'], !hasBorder && (FollowTheme || style.backgroundColor) && ButtonStyle !== 4), 'follow-theme-disabled-bg-fc', !followThemeDisabledStyle && FollowTheme && disabled), 'disabled-fc', !FollowTheme && disabled && (ButtonStyle === 1 || !hasBorder) && !hasNonThemeBg), 'disabled-contain', !FollowTheme && disabled && ButtonStyle !== 1 && hasBorder), 'theme  hover-follow-theme-bg-fc1 hover-theme-hover-bdcolor1 active-follow-theme-bg-fc1', !FollowTheme && !disabled && isThemeColor && isThemeBorder && !isThemeBg), 'hover-theme-bdcolor1 active-theme-active-bdcolor1 active-theme-active-fc1', !ghostTypeActiveWithLightBg && !FollowTheme && !disabled && ButtonStyle !== 1 && hasBorder && isThemeColor && !isThemeBorder && !isThemeBg), 'active-theme-light-bg1 hover-theme-fc1 hover-theme-border-color1', ghostTypeActiveWithLightBg && !FollowTheme && !disabled && ButtonStyle !== 1 && hasBorder && (!isThemeColor || isThemeColor && !isThemeBorder) && !isThemeBg)), commonClass);\n      if (ButtonStyle === 1 || ButtonStyle === 2 || ButtonStyle === 3 || ButtonStyle === 4) {\n        // 文本\n        buttonClassName = (0, _classnames[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, buttonClassName, buttonClassName), _style2[\"default\"]['btn-text'], !style.backgroundColor && !FollowTheme), _style2[\"default\"]['btn-border'], !hasBorder && ButtonStyle !== 4), _style2[\"default\"]['btn-upimgdowntxt'], ButtonStyle === 2), _style2[\"default\"]['btn-leftimgrighttxt'], ButtonStyle === 3), ghostBtnClass, !ghostTypeActiveWithLightBg && !FollowTheme && noBg && !disabled && ButtonStyle === 4), 'active-theme-light-bg1 hover-theme-fc1 hover-theme-border-color1', ghostTypeActiveWithLightBg && !FollowTheme && noBg && !disabled && ButtonStyle === 4), 'disabled-contain', disabled && ButtonStyle === 4), _style2[\"default\"]['btn-icon'], ButtonStyle === 4));\n        var segment;\n        if (ButtonStyle === 1) {\n          segment = this.getTextSegment({\n            loading: loading,\n            name: text || Name,\n            rowIndex: rowIndex,\n            showLoading: showLoading,\n            ButtonStyle: ButtonStyle\n          });\n        } else {\n          var _style = {\n            width: ImgWidth,\n            height: ImgHeight\n          };\n          segment = this.getImgSegment({\n            loading: loading,\n            name: text || Name,\n            ButtonStyle: ButtonStyle,\n            style: _style,\n            ImageKey: ImageKey,\n            rowIndex: rowIndex,\n            showLoading: showLoading,\n            fontClass: fontClass\n          });\n        }\n        if (followThemeDisabledStyle !== undefined && FollowTheme && disabled) {\n          Object.assign(style, {\n            cursor: 'not-allowed'\n          }, followThemeDisabledStyle.toJS());\n        }\n        var iconButtonFontColor = (0, _defaultPropsUtil.getUIDefaultProps)(_customCtrlName[\"default\"].BUTTON, _customProperties[\"default\"].ICON_BUTTON_FONT_COLOR); // 字体图标颜色\n        var colorProp = this.props.style && this.props.style.color;\n        if (iconButtonFontColor !== undefined && ButtonStyle === 4 && !disabled && !FollowTheme && colorProp === undefined) {\n          style.color = (0, _componentutil.fixColor)(iconButtonFontColor);\n        }\n        var marginTop = style.marginTop,\n          marginLeft = style.marginLeft,\n          marginRight = style.marginRight,\n          marginBottom = style.marginBottom,\n          restOfStyle = _objectWithoutProperties(style, _excluded2);\n        var outSideStyle = {\n          marginTop: marginTop,\n          marginLeft: marginLeft,\n          marginRight: marginRight,\n          marginBottom: marginBottom\n        };\n        var renderButton = /*#__PURE__*/_react[\"default\"].createElement(\"a\", _extends({\n          className: buttonClassName,\n          style: slot ? restOfStyle : style\n        }, other, composedProps, {\n          title: shortCutTips\n        }), segment);\n        return slot ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          style: outSideStyle,\n          className: (0, _classnames[\"default\"])(_style2[\"default\"].tipsContainer, commonClass)\n        }, renderButton, slot) : renderButton;\n      }\n      // else if (ButtonStyle === 2) {\n      //   // 上图下文\n      //   buttonClassName = classNames({\n      //     [buttonClassName]: buttonClassName,\n      //     [styles['btn-text']]: !style.backgroundColor,\n      //     [styles['btn-border']]: !hasBorder,\n      //     [styles['btn-upimgdowntxt']]: true\n      //   })\n      //   return (\n      //     <a className={buttonClassName} style={style} {...other}>\n      //       <img style={{ width: ImgWidth, height: ImgHeight }} className={styles['img-upimgdowntxt']} src={ImageKey} />\n      //       <span className={styles['loading']}>{showLoading && <Movin animationData={BLUE_LOADING_LOOP} />}{text || Name}</span>\n      //     </a>\n      //   )\n      // } else if (ButtonStyle === 3) {\n      //   // 左图右文\n      //   buttonClassName = classNames({\n      //     [buttonClassName]: buttonClassName,\n      //     [styles['btn-text']]: !style.backgroundColor,\n      //     [styles['btn-border']]: !hasBorder,\n      //     [styles['btn-leftimgrighttxt']]: true\n      //   })\n      //   return (\n      //     <a className={buttonClassName} style={style} {...other}>\n      //       <img style={{ width: ImgWidth, height: ImgHeight }} className={styles['img-leftimgrighttxt']} src={ImageKey} />\n      //       <span className={styles['loading']}>{showLoading && <Movin animationData={BLUE_LOADING_LOOP} />}{text || Name}</span>\n      //     </a>\n      //   )\n      // }\n      else {\n        var _classNames10;\n        // 默认 辅助按钮 次级按钮 基础按钮\n        var defaultClass = (0, _classnames[\"default\"])('kd-cq-control kd-cq-btn', (_classNames10 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_classNames10, className, className), _style2[\"default\"]['btn-default'], true), _style2[\"default\"]['min-width'], (style === null || style === void 0 ? void 0 : style.width) === undefined), _style2[\"default\"]['has-min-width'], !!minWidth), _common[\"default\"]['text-omit'], false), _common[\"default\"]['center-h-v'], true), _common[\"default\"]['no-pointer-event'], disabled), 'secondary-text-in-light', true), 'follow-theme-bg-fc1 hover-theme-bg1 active-theme-bg1', FollowTheme && !disabled), ghostBtnClass, !ghostTypeActiveWithLightBg && !FollowTheme && !disabled && noBg), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_classNames10, 'active-theme-light-bg1 hover-theme-fc1 hover-theme-border-color1 ', ghostTypeActiveWithLightBg && !FollowTheme && !disabled && noBg), _style2[\"default\"]['btn-masker'], !FollowTheme && !disabled && !isThemeColor && !noBg), _style2[\"default\"]['btn-disabled'], !FollowTheme && disabled && !hasBorder && !noBg), _style2[\"default\"]['btn-border'], !hasBorder && (FollowTheme || style.backgroundColor)), 'follow-theme-disabled-bg-fc', !followThemeDisabledStyle && FollowTheme && disabled), 'disabled-contain', !FollowTheme && disabled && (noBg || hasBorder)), 'theme hover-follow-theme-bg-fc1 hover-theme-hover-bdcolor1 active-follow-theme-bg-fc1', !FollowTheme && !disabled && isThemeColor && isThemeBorder && !isThemeBg)), commonClass);\n        var _segment = this.getTextSegment({\n          loading: loading,\n          name: text || Name,\n          rowIndex: rowIndex,\n          showLoading: showLoading\n        });\n        if (minWidth !== undefined) {\n          style.minWidth = minWidth;\n        }\n        if (followThemeDisabledStyle !== undefined && FollowTheme && disabled) {\n          Object.assign(style, {\n            cursor: 'not-allowed'\n          }, followThemeDisabledStyle.toJS());\n        }\n        var _marginTop = style.marginTop,\n          _marginLeft = style.marginLeft,\n          _marginRight = style.marginRight,\n          _marginBottom = style.marginBottom,\n          _restOfStyle = _objectWithoutProperties(style, _excluded3);\n        var _outSideStyle = {\n          marginTop: _marginTop,\n          marginLeft: _marginLeft,\n          marginRight: _marginRight,\n          marginBottom: _marginBottom\n        };\n        var _renderButton = /*#__PURE__*/_react[\"default\"].createElement(\"a\", _extends({\n          className: defaultClass,\n          style: slot ? _restOfStyle : style\n        }, other, composedProps, {\n          title: shortCutTips\n        }), _segment);\n        return slot ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          style: _outSideStyle,\n          className: (0, _classnames[\"default\"])(_style2[\"default\"].tipsContainer, commonClass)\n        }, _renderButton, slot) : _renderButton;\n      }\n    }\n  }]);\n  return Button;\n}(_react[\"default\"].Component);\nvar _default = exports[\"default\"] = Button;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/BaseComponents/Button.jsx?");

/***/ }),

/***/ "./src/component/web/base/BaseComponents/CardRowPanel.jsx":
/*!****************************************************************!*\
  !*** ./src/component/web/base/BaseComponents/CardRowPanel.jsx ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/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\");\n__webpack_require__(/*! core-js/modules/es.parse-int.js */ \"../../node_modules/core-js/modules/es.parse-int.js\");\n__webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! @/component/common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher */ \"./src/model/GlobalDataCacher.js\");\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _style = _interopRequireDefault(__webpack_require__(/*! ./style.less */ \"./src/component/web/base/BaseComponents/style.less\"));\nvar _excluded = [\"keyIndex\", \"rowIndex\", \"setUnderlinePos\", \"selectStyleType\", \"emptyTextLangKey\", \"children\", \"style\", \"className\", \"showSelector\", \"showPointer\", \"isSelected\", \"notDesigner\", \"showHover\", \"Direction\", \"Wrap\", \"Overflow\", \"Grow\", \"Shrink\", \"AlignSelf\", \"AlignContent\", \"AlignItems\", \"JustifyContent\", \"isDesigner\", \"Type\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 CardRowPanel = /*#__PURE__*/function (_React$Component) {\n  _inherits(CardRowPanel, _React$Component);\n  function CardRowPanel() {\n    var _this;\n    _classCallCheck(this, CardRowPanel);\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, CardRowPanel, [].concat(args));\n    _this.setUnderlinePos = function (_ref) {\n      var keyIndex = _ref.keyIndex,\n        style = _ref.style;\n      var _width = parseInt(style.width) ? parseInt(style.width) : 0;\n      var cardTotalWidth = _this.getCardTotalWidth();\n      var leftPos = parseInt(keyIndex) * cardTotalWidth + _width / 2 + (style.marginLeft ? parseInt(style.marginLeft) : 0) + 'px';\n      var trianglePos = {\n        left: leftPos\n      };\n      _this.props.setUnderlinePos(trianglePos); // 计算指示箭头位置时候，必须显示的指定cardrowpanel的width\n    };\n    return _this;\n  }\n  _createClass(CardRowPanel, [{\n    key: \"getCardTotalWidth\",\n    value: function getCardTotalWidth() {\n      var style = this.props.style;\n      var width = style.width,\n        marginLeft = style.marginLeft,\n        marginRight = style.marginRight;\n      var w = parseInt(width);\n      var ml = parseInt(marginLeft);\n      var mr = parseInt(marginRight);\n      return (w || 0) + (ml || 0) + (mr || 0);\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this$props = this.props,\n        isSelected = _this$props.isSelected,\n        setUnderlinePos = _this$props.setUnderlinePos,\n        keyIndex = _this$props.keyIndex,\n        style = _this$props.style;\n      if (isSelected && setUnderlinePos) {\n        this.setUnderlinePos({\n          keyIndex: keyIndex,\n          style: style\n        });\n      }\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(np) {\n      var isSelected = np.isSelected,\n        setUnderlinePos = np.setUnderlinePos,\n        keyIndex = np.keyIndex,\n        style = np.style;\n      if (isSelected && setUnderlinePos) {\n        this.setUnderlinePos({\n          keyIndex: keyIndex,\n          style: style\n        });\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _classNames;\n      var _this$props2 = this.props,\n        keyIndex = _this$props2.keyIndex,\n        rowIndex = _this$props2.rowIndex,\n        setUnderlinePos = _this$props2.setUnderlinePos,\n        selectStyleType = _this$props2.selectStyleType,\n        emptyTextLangKey = _this$props2.emptyTextLangKey,\n        children = _this$props2.children,\n        style = _this$props2.style,\n        className = _this$props2.className,\n        showSelector = _this$props2.showSelector,\n        showPointer = _this$props2.showPointer,\n        isSelected = _this$props2.isSelected,\n        notDesigner = _this$props2.notDesigner,\n        showHover = _this$props2.showHover,\n        Direction = _this$props2.Direction,\n        Wrap = _this$props2.Wrap,\n        Overflow = _this$props2.Overflow,\n        Grow = _this$props2.Grow,\n        Shrink = _this$props2.Shrink,\n        AlignSelf = _this$props2.AlignSelf,\n        AlignContent = _this$props2.AlignContent,\n        AlignItems = _this$props2.AlignItems,\n        JustifyContent = _this$props2.JustifyContent,\n        isDesigner = _this$props2.isDesigner,\n        Type = _this$props2.Type,\n        other = _objectWithoutProperties(_this$props2, _excluded);\n      var isEmpty = children.length === 0;\n      var cardRowPanelclassNames = (0, _classnames[\"default\"])((_classNames = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_classNames, _style[\"default\"]['card-row-panel'], true), _style[\"default\"]['empty-card-row-panel'], isDesigner && isEmpty), _style[\"default\"].pointer, showPointer), _style[\"default\"].selectstyel1, isSelected && selectStyleType === 2), \"cardrowpanel_selectstyel\", isSelected && selectStyleType === 1), \"cardrowpanel_selectstyel1\", isSelected && selectStyleType === 2), \"cardrowpanel_selectstyel2\", isSelected && selectStyleType === 3), \"cardrowpanel_selectstyel3\", isSelected && selectStyleType === 4), \"cardrowpanel_hover\", !notDesigner), _style[\"default\"].panelHover, showHover), _defineProperty(_classNames, className, className)), (0, _commonUtils[\"default\"])({\n        Overflow: Overflow,\n        Direction: Direction,\n        Wrap: Wrap,\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf,\n        AlignContent: AlignContent,\n        AlignItems: AlignItems,\n        JustifyContent: JustifyContent\n      }));\n\n      // 点击方案设置面板时自动切换到属性栏的业务页签\n      var onTextboxClick = function onTextboxClick(e) {\n        setTimeout(function () {\n          // 模版方案面板还未加载注册，需要延迟发布\n          (0, _GlobalDataCacher.setData)(_symbolConst.KEY_OPEN_TEMPLATE_SCHEME, true);\n        }, 0);\n      };\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({}, other, {\n        \"data-rowindex\": rowIndex,\n        className: cardRowPanelclassNames,\n        style: /* &Selected?_style: */style\n      }), isDesigner && Type === 'CardRowPanelAp' && isEmpty ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _style[\"default\"].textBox,\n        onClick: onTextboxClick\n      }, (0, _intlApi.getLangMsg)({\n        key: emptyTextLangKey || 'cardview.key0005'\n      })) : children);\n    }\n  }]);\n  return CardRowPanel;\n}(_react[\"default\"].Component);\nvar _default = exports[\"default\"] = CardRowPanel;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/BaseComponents/CardRowPanel.jsx?");

/***/ }),

/***/ "./src/component/web/base/BaseComponents/CheckBox.jsx":
/*!************************************************************!*\
  !*** ./src/component/web/base/BaseComponents/CheckBox.jsx ***!
  \************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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.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\");\n__webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _global = _interopRequireWildcard(__webpack_require__(/*! @/global */ \"./src/global/index.js\"));\nvar _Switch = _interopRequireDefault(__webpack_require__(/*! @/component/web/base/Switch */ \"./src/component/web/base/Switch.js\"));\nvar _style = _interopRequireDefault(__webpack_require__(/*! ./style.less */ \"./src/component/web/base/BaseComponents/style.less\"));\nvar _excluded = [\"styleType\", \"checkBoxLabelStyle\", \"className\", \"iconClassName\", \"style\", \"Grow\", \"Shrink\", \"value\", \"text\", \"theme\", \"disabled\", \"foreColor\", \"onMouseDown\", \"onChange\", \"tabIndex\", \"size\", \"fieldWidth\", \"indeterminate\", \"slot\", \"shortcutInfo\", \"labelContainerClassName\", \"hasErrorfocus\"];\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 _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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// 复选框风格\nvar STYLE_TYPE = {\n  LABEL: 1,\n  OPTION: 2\n};\nvar CheckBox = /*#__PURE__*/function (_React$Component) {\n  _inherits(CheckBox, _React$Component);\n  function CheckBox(props) {\n    var _this;\n    _classCallCheck(this, CheckBox);\n    _this = _callSuper(this, CheckBox, [props]);\n    // fix warning\n    _this.onChangehandle = function (e) {\n      _this.props.onChange && _this.props.onChange(e);\n    };\n    _this.keyDown = function (e) {\n      var _this$props = _this.props,\n        disabled = _this$props.disabled,\n        isDesigner = _this$props.isDesigner,\n        value = _this$props.value,\n        onMouseDown = _this$props.onMouseDown,\n        onClick = _this$props.onClick;\n      if (disabled || isDesigner) return;\n      if (e.keyCode == 32) {\n        e.preventDefault();\n        e.stopPropagation();\n        e.target.checked = !value;\n        if (onMouseDown) {\n          onMouseDown(e);\n        } else if (onClick) {\n          onClick(e);\n        }\n      }\n    };\n    _this.foucs = function () {\n      var _this$props2 = _this.props,\n        disabled = _this$props2.disabled,\n        isDesigner = _this$props2.isDesigner;\n      if (disabled || isDesigner) return;\n      if (_this.state.isFoucs) return;\n      _this.setState({\n        isFoucs: true\n      });\n    };\n    _this.blur = function () {\n      var _this$props3 = _this.props,\n        disabled = _this$props3.disabled,\n        isDesigner = _this$props3.isDesigner;\n      if (disabled || isDesigner) return;\n      if (!_this.state.isFoucs) return;\n      _this.setState({\n        isFoucs: false\n      });\n    };\n    _this.handleClick = function (e) {\n      var _this$props4 = _this.props,\n        disabled = _this$props4.disabled,\n        onClick = _this$props4.onClick;\n      if (disabled) return;\n      _this.setState({\n        isFoucs: false\n      });\n      onClick && onClick(e);\n      e.preventDefault();\n    };\n    _this.handleMouseDown = function (evt) {\n      var _this$props5 = _this.props,\n        onMouseDown = _this$props5.onMouseDown,\n        styleType = _this$props5.styleType;\n      if ([STYLE_TYPE.LABEL, STYLE_TYPE.OPTION].includes(parseInt(styleType)) && _this.tipsRef.current && _this.tipsRef.current.pDom === evt.target) {\n        return;\n      }\n      // 屏蔽右键\n      if (evt.button === 2) return;\n      onMouseDown && onMouseDown(evt);\n    };\n    _this.state = {\n      isFoucs: false\n    };\n    _this.tipsRef = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this;\n  }\n  _createClass(CheckBox, [{\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props6 = this.props,\n        styleType = _this$props6.styleType,\n        checkBoxLabelStyle = _this$props6.checkBoxLabelStyle,\n        className = _this$props6.className,\n        iconClassName = _this$props6.iconClassName,\n        style = _this$props6.style,\n        Grow = _this$props6.Grow,\n        Shrink = _this$props6.Shrink,\n        value = _this$props6.value,\n        text = _this$props6.text,\n        theme = _this$props6.theme,\n        disabled = _this$props6.disabled,\n        foreColor = _this$props6.foreColor,\n        onMouseDown = _this$props6.onMouseDown,\n        onChange = _this$props6.onChange,\n        tabIndex = _this$props6.tabIndex,\n        size = _this$props6.size,\n        fieldWidth = _this$props6.fieldWidth,\n        indeterminate = _this$props6.indeterminate,\n        slot = _this$props6.slot,\n        shortcutInfo = _this$props6.shortcutInfo,\n        labelContainerClassName = _this$props6.labelContainerClassName,\n        hasErrorfocus = _this$props6.hasErrorfocus,\n        other = _objectWithoutProperties(_this$props6, _excluded);\n      // 设计时切换风格返回的styleType是个字符串，这里需要格式化\n      styleType = parseInt(styleType);\n      if (styleType === 1) {\n        var _classNames;\n        // 标签样式\n        var isPercentage = fieldWidth && fieldWidth.includes('%');\n        var isNum = fieldWidth && fieldWidth.includes('px');\n        var labelstyle = Object.assign({}, style);\n        if (isNum) {\n          labelstyle = Object.assign({}, style, {\n            width: fieldWidth\n          });\n        }\n        className = (0, _classnames[\"default\"])((_classNames = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_classNames, className, className), _style[\"default\"].checkbox1, true), _style[\"default\"]['checkbox1-checked'], value && !disabled), _style[\"default\"]['label-style-width'], !fieldWidth), _style[\"default\"]['label-style-align'], !isPercentage), _style[\"default\"].checkbox1, true), _style[\"default\"].disabled, disabled), 'primary-text-in-light', true), 'disabled-fc disabled-border disabled-bg', disabled), 'theme-1px-border', !disabled && (this.state.isFoucs || value)), _defineProperty(_classNames, \"checkbox1_foucs\", this.state.isFoucs && !disabled)));\n        var ck1Classname = (0, _classnames[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _style[\"default\"]['ck1-label'], true), _style[\"default\"].checked, value), \"checkbox_1\", !disabled), _style[\"default\"]['disabled-no-underline'], disabled));\n        var checkTagClass = (0, _classnames[\"default\"])('kdfont kdfont-duoxuanxiang', _style[\"default\"]['tag-checkbox'], iconClassName, {\n          'theme-fc': value && !disabled\n        });\n        // checkbox字段值切换,在onMouseDown时手动处理,不走onChange. -20180620\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n          className: className\n        }, shortcutInfo, {\n          style: labelstyle,\n          onMouseDown: this.handleMouseDown,\n          tabIndex: tabIndex,\n          onKeyDown: this.keyDown,\n          onFocus: this.foucs,\n          onBlur: this.blur,\n          onClick: function onClick(e) {\n            return _this2.handleClick(e);\n          }\n        }), /*#__PURE__*/_react[\"default\"].createElement(\"label\", {\n          className: ck1Classname,\n          style: labelstyle,\n          title: text\n        }, text, value && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: checkTagClass\n        })), slot);\n      } else if (styleType === 2) {\n        // 复选框勾选样式\n        className = (0, _classnames[\"default\"])(_style[\"default\"]['checkbox-check'], _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, className, className), _style[\"default\"].checkbox, true), _style[\"default\"]['checkbox-disabled'], disabled), 'theme-fc', this.state.isFoucs && !disabled), 'primary-text-in-light', true), 'kd-cq-checkbox-disabled disabled-fc', disabled), 'hover-theme-fc theme hover-subicon-theme-fc', !disabled));\n\n        // 适配皮肤\n        var spanClassName = (0, _classnames[\"default\"])('kd-cq-checkbox-size-default', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({\n          kdfont: true\n        }, iconClassName, true), 'kdfont-fuxuankuang5 theme-fc', indeterminate && !value), 'kdfont-fuxuankuangweixuanzhong_fang', !value && !indeterminate), 'kdfont-fuxuankuangxuanzhong_fang', value && !disabled), 'kdfont-duoxuankuang-xuanzhongqiejinyong', value && disabled), 'theme-fc', value && !disabled), 'strong-fc', !value && !disabled && !indeterminate), \"theme theme-subicon \".concat(_style[\"default\"].checkboxBtn), !disabled), _style[\"default\"].pointer, !disabled));\n        // 16 为左边图标大小，14 为默认字体大小\n        var lineHeight = style !== null && style !== void 0 && style.fontSize ? Math.max(style.fontSize, 16) / Math.min(14, style.fontSize) : 'normal';\n        var labelClassName = (0, _classnames[\"default\"])(_defineProperty(_defineProperty({}, _style[\"default\"].pointer, !disabled), _style[\"default\"]['ie-font'], _global[\"default\"][_global.IS_IE]));\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n          className: className\n        }, shortcutInfo, {\n          style: style,\n          onMouseDown: this.handleMouseDown,\n          tabIndex: tabIndex,\n          onKeyDown: this.keyDown,\n          onFocus: this.foucs,\n          onBlur: this.blur,\n          onClick: function onClick(e) {\n            return _this2.handleClick(e);\n          }\n        }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: spanClassName,\n          style: {\n            lineHeight: lineHeight\n          },\n          onClick: function onClick(e) {\n            var eCheckBox = e.currentTarget.firstElementChild;\n            eCheckBox.click();\n          }\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n          tabIndex: -1,\n          className: _style[\"default\"].check,\n          onClick: function onClick(e) {\n            e.stopPropagation();\n          },\n          id: \"checkboxType2\",\n          type: \"checkbox\",\n          checked: value || false,\n          disabled: disabled,\n          onChange: this.onChangehandle,\n          \"data-errorfocus\": hasErrorfocus\n        }, other))), text && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames[\"default\"])('kd-cq-checkbox-content', _style[\"default\"]['checkbox-content'])\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"label\", {\n          htmlFor: \"checkboxType2\",\n          className: labelClassName,\n          style: checkBoxLabelStyle,\n          title: text\n        }, text), slot));\n      } else {\n        // 开关样式，默认\n        className = (0, _classnames[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, className, className), _style[\"default\"].checkbox2, true), _style[\"default\"].disabled, disabled));\n        var switchOpen = (0, _classnames[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, \"theme switch-open \".concat(_style[\"default\"].switchOpen), value), \"theme switch-hover \".concat(_style[\"default\"].switchBtn), !disabled), 'theme switch-disabled', disabled));\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n          className: className\n        }, shortcutInfo, {\n          style: style,\n          onMouseDown: this.handleMouseDown,\n          tabIndex: tabIndex,\n          onKeyDown: this.keyDown,\n          onFocus: this.foucs,\n          onBlur: this.blur,\n          onClick: function onClick(e) {\n            return _this2.handleClick(e);\n          }\n        }), /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n          style: {\n            display: 'none'\n          },\n          type: \"checkbox\",\n          checked: value || false,\n          disabled: disabled,\n          onChange: this.onChangehandle\n        }, other)), /*#__PURE__*/_react[\"default\"].createElement(_Switch[\"default\"], _extends({\n          size: size || 5,\n          className: switchOpen,\n          style: style,\n          value: value,\n          disabled: disabled\n        }, other, {\n          onClick: function onClick(e) {\n            if (disabled !== true) {\n              e.target.checked = !value;\n              onChange && onChange(e);\n            }\n          }\n        })));\n      }\n    }\n  }]);\n  return CheckBox;\n}(_react[\"default\"].Component);\nvar _default = exports[\"default\"] = CheckBox;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/BaseComponents/CheckBox.jsx?");

/***/ }),

/***/ "./src/component/web/base/BaseComponents/HyperLink.jsx":
/*!*************************************************************!*\
  !*** ./src/component/web/base/BaseComponents/HyperLink.jsx ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.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.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.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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;\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _doubleClickToChangePropertyUtil = __webpack_require__(/*! @/designer/utils/doubleClickToChangePropertyUtil */ \"./src/designer/utils/doubleClickToChangePropertyUtil.js\");\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! @/component/common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _propnames = __webpack_require__(/*! @/designer/constant/propnames */ \"./src/designer/constant/propnames.js\");\nvar _style = _interopRequireDefault(__webpack_require__(/*! ./style.less */ \"./src/component/web/base/BaseComponents/style.less\"));\nvar _excluded = [\"className\", \"url\", \"title\", \"style\", \"onClick\", \"underline\", \"Grow\", \"Shrink\", \"AlignSelf\", \"uiConfig\", \"uiInfo\", \"select_control_id\", \"refresh_ctrl_ids\", \"language\", \"field\", \"onTwiceClick\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction HyperLink(props) {\n  var className = props.className,\n    url = props.url,\n    title = props.title,\n    style = props.style,\n    onClick = props.onClick,\n    underline = props.underline,\n    Grow = props.Grow,\n    Shrink = props.Shrink,\n    AlignSelf = props.AlignSelf,\n    uiConfig = props.uiConfig,\n    uiInfo = props.uiInfo,\n    select_control_id = props.select_control_id,\n    refresh_ctrl_ids = props.refresh_ctrl_ids,\n    language = props.language,\n    field = props.field,\n    onTwiceClick = props.onTwiceClick,\n    others = _objectWithoutProperties(props, _excluded);\n  var titleProps = (0, _doubleClickToChangePropertyUtil.getTitleProps)(field, _propnames.NAME, title);\n  var controlProps = (0, _doubleClickToChangePropertyUtil.getControlProps)(field, onTwiceClick);\n  var composedProps = _objectSpread(_objectSpread({}, titleProps), controlProps);\n  var cn = (0, _classnames[\"default\"])('kd-cq-control kd-cq-hyperlink', _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, className, className), _style[\"default\"].hyperlink, true), _style[\"default\"].underline, underline), 'link-color', true), (0, _commonUtils[\"default\"])({\n    Grow: Grow,\n    Shrink: Shrink,\n    AlignSelf: AlignSelf\n  }));\n  return /*#__PURE__*/_react[\"default\"].createElement(\"a\", _extends({\n    onClick: onClick,\n    className: cn,\n    href: url,\n    style: style,\n    title: title,\n    target: \"_blank\"\n  }, others, composedProps), title);\n}\nvar _default = exports[\"default\"] = HyperLink;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/BaseComponents/HyperLink.jsx?");

/***/ }),

/***/ "./src/component/web/base/BaseComponents/Image.jsx":
/*!*********************************************************!*\
  !*** ./src/component/web/base/BaseComponents/Image.jsx ***!
  \*********************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.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.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/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.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _baseComponent_undefined = _interopRequireDefault(__webpack_require__(/*! @/component/web/img/default/baseComponent_undefined.png */ \"./src/component/web/img/default/baseComponent_undefined.png\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! @/component/common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _ImageLoupe = _interopRequireDefault(__webpack_require__(/*! @/component/web/base/ImageLoupe */ \"./src/component/web/base/ImageLoupe.js\"));\nvar _style = _interopRequireDefault(__webpack_require__(/*! ./style.less */ \"./src/component/web/base/BaseComponents/style.less\"));\nvar _excluded = [\"className\", \"style\", \"url\", \"Grow\", \"Shrink\", \"AlignSelf\", \"name\", \"clickable\", \"disabled\", \"sectionMagnifier\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nvar Image = function Image(props) {\n  var className = props.className,\n    style = props.style,\n    url = props.url,\n    Grow = props.Grow,\n    Shrink = props.Shrink,\n    AlignSelf = props.AlignSelf,\n    name = props.name,\n    clickable = props.clickable,\n    disabled = props.disabled,\n    sectionMagnifier = props.sectionMagnifier,\n    other = _objectWithoutProperties(props, _excluded);\n  var imageClassName = (0, _classnames[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, _style[\"default\"].image, true), className, className), _style[\"default\"].imgCursor, clickable), (0, _commonUtils[\"default\"])({\n    Grow: Grow,\n    Shrink: Shrink,\n    AlignSelf: AlignSelf\n  }));\n  name = name === '图片' ? '' : name;\n  if (!sectionMagnifier && style.width === undefined) {\n    // safari 下，图片容器为 height: auto （没设置高度）时，图片需要设置 width\n    // 否则垂直方向会被拉伸\n    style.width = '100%';\n  }\n  return sectionMagnifier ? /*#__PURE__*/_react[\"default\"].createElement(_ImageLoupe[\"default\"], _extends({\n    sectionMagnifier: sectionMagnifier,\n    className: imageClassName,\n    src: url || _baseComponent_undefined[\"default\"],\n    style: style,\n    title: name\n  }, other)) : /*#__PURE__*/_react[\"default\"].createElement(\"img\", _extends({\n    className: imageClassName,\n    \"data-image-src\": url || _baseComponent_undefined[\"default\"],\n    style: style,\n    title: name\n  }, other));\n};\nvar _default = exports[\"default\"] = Image;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/BaseComponents/Image.jsx?");

/***/ }),

/***/ "./src/component/web/base/BaseComponents/Placeholder.jsx":
/*!***************************************************************!*\
  !*** ./src/component/web/base/BaseComponents/Placeholder.jsx ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.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.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/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;\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _style = _interopRequireDefault(__webpack_require__(/*! ./style.less */ \"./src/component/web/base/BaseComponents/style.less\"));\nvar _excluded = [\"style\", \"className\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nvar Placeholder = function Placeholder(props) {\n  var style = props.style,\n    className = props.className,\n    other = _objectWithoutProperties(props, _excluded);\n  var phClassName = (0, _classnames[\"default\"])(_defineProperty(_defineProperty({}, _style[\"default\"]['placeholder-control'], true), className, className));\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n    style: style,\n    className: phClassName\n  }, other));\n};\nvar _default = exports[\"default\"] = Placeholder;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/BaseComponents/Placeholder.jsx?");

/***/ }),

/***/ "./src/component/web/base/BaseComponents/Radio.jsx":
/*!*********************************************************!*\
  !*** ./src/component/web/base/BaseComponents/Radio.jsx ***!
  \*********************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/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.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.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.is.js */ \"../../node_modules/core-js/modules/es.object.is.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.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _doubleClickToChangePropertyUtil = __webpack_require__(/*! @/designer/utils/doubleClickToChangePropertyUtil */ \"./src/designer/utils/doubleClickToChangePropertyUtil.js\");\nvar _propnames = __webpack_require__(/*! @/designer/constant/propnames */ \"./src/designer/constant/propnames.js\");\nvar _Radio2 = _interopRequireDefault(__webpack_require__(/*! ./Radio.less */ \"./src/component/web/base/BaseComponents/Radio.less\"));\nvar _baseComponentsConst = __webpack_require__(/*! @/constant/baseComponentsConst */ \"./src/constant/baseComponentsConst.js\");\nvar _excluded = [\"className\", \"style\", \"Grow\", \"Shrink\", \"group\", \"value\", \"text\", \"checked\", \"theme\", \"fieldStyle\", \"disabled\", \"isDesigner\", \"tabIndex\", \"fieldWidth\", \"fieldId\", \"data-shortcut\", \"skipToParentNextField\", \"hasErrorfocus\", \"focusStyle\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 Radio = /*#__PURE__*/function (_React$Component) {\n  _inherits(Radio, _React$Component);\n  function Radio(props) {\n    var _this;\n    _classCallCheck(this, Radio);\n    _this = _callSuper(this, Radio, [props]);\n    _this.handleKeyDown = function (e) {\n      var _this$props = _this.props,\n        disabled = _this$props.disabled,\n        isDesigner = _this$props.isDesigner;\n      if (disabled || isDesigner) return;\n      if (e.keyCode === 32) {\n        _this.handleClick(e, true);\n      }\n    };\n    _this.foucsChange = function () {\n      var _this$props2 = _this.props,\n        disabled = _this$props2.disabled,\n        isDesigner = _this$props2.isDesigner;\n      if (disabled || isDesigner) return;\n      if (_this.state.isFocus) return;\n      _this.setState({\n        isFocus: true\n      });\n    };\n    _this.blurChange = function () {\n      var _this$props3 = _this.props,\n        disabled = _this$props3.disabled,\n        isDesigner = _this$props3.isDesigner;\n      if (disabled || isDesigner) return;\n      if (!_this.state.isFocus) return;\n      _this.setState({\n        isFocus: false\n      });\n    };\n    _this.state = {\n      isFocus: false\n    };\n    _this.handleClick = _this.handleClick.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(Radio, [{\n    key: \"handleClick\",\n    value: function handleClick(e, isFocus) {\n      var _this$props4 = this.props,\n        disabled = _this$props4.disabled,\n        isDesigner = _this$props4.isDesigner;\n      if (disabled || isDesigner) return;\n      this.input.click();\n      this.setState({\n        isFocus: !!isFocus\n      });\n      e.stopPropagation();\n      e.preventDefault();\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props5 = this.props,\n        className = _this$props5.className,\n        style = _this$props5.style,\n        Grow = _this$props5.Grow,\n        Shrink = _this$props5.Shrink,\n        group = _this$props5.group,\n        value = _this$props5.value,\n        text = _this$props5.text,\n        checked = _this$props5.checked,\n        theme = _this$props5.theme,\n        fieldStyle = _this$props5.fieldStyle,\n        disabled = _this$props5.disabled,\n        isDesigner = _this$props5.isDesigner,\n        tabIndex = _this$props5.tabIndex,\n        fieldWidth = _this$props5.fieldWidth,\n        fieldId = _this$props5.fieldId,\n        shortCutInfo = _this$props5['data-shortcut'],\n        skipToParentNextField = _this$props5.skipToParentNextField,\n        hasErrorfocus = _this$props5.hasErrorfocus,\n        focusStyle = _this$props5.focusStyle,\n        other = _objectWithoutProperties(_this$props5, _excluded);\n      if (Object.is(fieldStyle, _baseComponentsConst.FLAT_STYLE_MAP.Square)) {\n        // 标签风格\n        var isPercentage = fieldWidth && fieldWidth.includes('%');\n        var isNum = fieldWidth && fieldWidth.includes('px');\n        var labelstyle = Object.assign({}, style);\n        if (isNum) {\n          labelstyle = Object.assign({}, style, {\n            width: fieldWidth\n          });\n        }\n        var squareFocusStyle = this.props.focusStyle ? this.props.focusStyle : 'theme-1px-border';\n        var radioSquareStyleCls = (0, _classnames[\"default\"])('kd-cq-square-radio', _defineProperty(_defineProperty(_defineProperty({\n          'radio-square-checked': checked && !disabled,\n          // 默认选中颜色\n          'kd-cq-radio-disabled': disabled\n        }, _Radio2[\"default\"]['label-width'], !fieldWidth), _Radio2[\"default\"]['label-align'], !isPercentage), squareFocusStyle, this.state.isFocus && !disabled), _Radio2[\"default\"].radio, _Radio2[\"default\"]['radio-square'], className);\n\n        /**\n         * 改造单选按钮 ‘标签’ 风格 样式\n         * 1. 选中状态增加右下角三角角标\n         * 2. 高度变更为32px\n         */\n        var checkSquareStyle = (0, _classnames[\"default\"])('kdfont kdfont-danxuanxiang', {\n          'theme-fc': checked && !disabled\n        }, _Radio2[\"default\"]['checked-square']);\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          style: labelstyle,\n          className: radioSquareStyleCls,\n          onClick: this.handleClick,\n          \"data-skip-to-parent-next-field\": skipToParentNextField,\n          \"data-errorfocus\": hasErrorfocus,\n          tabIndex: tabIndex,\n          \"data-shortcut\": shortCutInfo,\n          onKeyDown: this.handleKeyDown,\n          onFocus: function onFocus() {\n            return _this2.foucsChange();\n          },\n          onBlur: function onBlur() {\n            return _this2.blurChange();\n          }\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n          style: {\n            display: 'none'\n          },\n          ref: function ref(_ref) {\n            _this2.input = _ref;\n          },\n          type: \"radio\",\n          value: value,\n          checked: checked\n        }, other)), /*#__PURE__*/_react[\"default\"].createElement(\"label\", {\n          title: text,\n          className: _Radio2[\"default\"]['radio-square-label']\n        }, text), checked && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: checkSquareStyle\n        }));\n      }\n      var deafultFocusStyle = this.props.focusStyle ? this.props.focusStyle : _Radio2[\"default\"]['focus-radio-on-font'];\n      var radioDefaultStyleCls = (0, _classnames[\"default\"])('kd-cq-default-radio', _defineProperty({\n        'kd-cq-radio-disabled': disabled\n      }, deafultFocusStyle, this.state.isFocus && !disabled), _Radio2[\"default\"].radio, _Radio2[\"default\"]['radio-default'], className);\n      if (group) other.name = group;\n\n      // 适配皮肤\n      var radioIconClassName = (0, _classnames[\"default\"])('kdfont', 'kd-cq-radio-inner', {\n        'radio-default-checked': checked,\n        'kdfont-liebiaodanxuankuangxuanzhong': checked,\n        'kdfont-danxuankuang-weixuan': !checked\n      });\n      var titleProps = (0, _doubleClickToChangePropertyUtil.getTitleProps)(fieldId, _propnames.NAME, text);\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        className: radioDefaultStyleCls,\n        style: style,\n        \"data-skip-to-parent-next-field\": skipToParentNextField,\n        \"data-errorfocus\": hasErrorfocus,\n        tabIndex: tabIndex,\n        \"data-shortcut\": shortCutInfo,\n        onClick: this.handleClick,\n        onKeyDown: this.handleKeyDown,\n        onFocus: function onFocus() {\n          return _this2.foucsChange();\n        },\n        onBlur: function onBlur() {\n          return _this2.blurChange();\n        }\n      }, titleProps), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: radioIconClassName\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n        style: {\n          display: 'none'\n        },\n        tabIndex: -1,\n        ref: function ref(_ref2) {\n          _this2.input = _ref2;\n        },\n        type: \"radio\",\n        value: value,\n        checked: checked\n      }, other))), /*#__PURE__*/_react[\"default\"].createElement(\"label\", null, text));\n    }\n  }]);\n  return Radio;\n}(_react[\"default\"].Component);\nvar _default = exports[\"default\"] = Radio;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/BaseComponents/Radio.jsx?");

/***/ }),

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

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.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = RadioGroup;\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.find.js */ \"../../node_modules/core-js/modules/es.array.find.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.map.js */ \"../../node_modules/core-js/modules/es.array.map.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\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _Radio = _interopRequireDefault(__webpack_require__(/*! ./Radio */ \"./src/component/web/base/BaseComponents/Radio.jsx\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _Radio2 = _interopRequireDefault(__webpack_require__(/*! ./Radio.less */ \"./src/component/web/base/BaseComponents/Radio.less\"));\nvar _componentutil = __webpack_require__(/*! @/util/componentutil */ \"./src/util/componentutil.js\");\nvar _baseComponentsConst = __webpack_require__(/*! @/constant/baseComponentsConst */ \"./src/constant/baseComponentsConst.js\");\nvar _keyCode = __webpack_require__(/*! @/constant/keyCode */ \"./src/constant/keyCode.js\");\nvar _excluded = [\"value\", \"options\", \"optionType\", \"optionDir\", \"disabled\", \"readOnly\", \"className\", \"style\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction RadioGroup(props) {\n  var value = props.value,\n    _props$options = props.options,\n    options = _props$options === void 0 ? [] : _props$options,\n    _props$optionType = props.optionType,\n    optionType = _props$optionType === void 0 ? _baseComponentsConst.FLAT_STYLE_MAP.Default : _props$optionType,\n    _props$optionDir = props.optionDir,\n    optionDir = _props$optionDir === void 0 ? _baseComponentsConst.FLAT_LAYOUT_MAP.Horizontal : _props$optionDir,\n    disabled = props.disabled,\n    readOnly = props.readOnly,\n    className = props.className,\n    _props$style = props.style,\n    style = _props$style === void 0 ? {} : _props$style,\n    composedProps = _objectWithoutProperties(props, _excluded);\n  if (readOnly) {\n    // 查看态，只显示文字\n    var selectedOption = options.find(function (option) {\n      return option.value === value;\n    });\n    var text = (selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.text) || (0, _componentutil.getNOValue)();\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: \"kd-cq-radio-opt-group-wrapper\",\n      style: style\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      title: text,\n      className: (0, _classnames[\"default\"])('kd-cq-readonly-text', 'radio-group-readonly-block', _Radio2[\"default\"]['radio-readonly'])\n    }, text));\n  }\n  var onRadioChange = function onRadioChange(ev) {\n    var lastValue = value;\n    var val = ev.target.value;\n    var onChange = props.onChange;\n    if (onChange && val !== lastValue) {\n      onChange(val, ev);\n    }\n  };\n  var handleKeydown = function handleKeydown(e) {\n    var parentElement = e.target.parentElement;\n    var index = Array.prototype.indexOf.call(parentElement.children, e.target);\n    switch (e.keyCode) {\n      case _keyCode.KEYS.ARROWUP:\n      case _keyCode.KEYS.ARROWLEFT:\n        {\n          var targetElement = index === 0 ? parentElement.lastElementChild : parentElement.children[index - 1];\n          targetElement.focus();\n          targetElement.click();\n          break;\n        }\n      case _keyCode.KEYS.ARROWRIGHT:\n      case _keyCode.KEYS.ARROWDOWN:\n        {\n          var _targetElement = index === parentElement.childElementCount - 1 ? parentElement.firstElementChild : parentElement.children[index + 1];\n          _targetElement.focus();\n          _targetElement.click();\n          break;\n        }\n      default:\n        break;\n    }\n    props.onKeyDown && props.onKeyDown(e);\n    e.preventDefault();\n  };\n  var radioGroupWrapClass = (0, _classnames[\"default\"])('kd-cq-radio-opt-group-wrapper', className, _Radio2[\"default\"]['radio-group-wrap']);\n  var radioGroupClass = (0, _classnames[\"default\"])({\n    'kd-cq-radio-opt-group': true,\n    'radio-group-horizontal': optionDir === _baseComponentsConst.FLAT_LAYOUT_MAP.Horizontal || optionType === _baseComponentsConst.FLAT_STYLE_MAP.Square,\n    // 标签只有水平布局\n    'radio-group-vertical': optionDir === _baseComponentsConst.FLAT_LAYOUT_MAP.Vertical && optionType === _baseComponentsConst.FLAT_STYLE_MAP.Default,\n    'radio-group-square-gap': optionType === _baseComponentsConst.FLAT_STYLE_MAP.Square\n  });\n  var focusStyle = optionType === _baseComponentsConst.FLAT_STYLE_MAP.Default ? _Radio2[\"default\"]['focus-default-radio'] : _Radio2[\"default\"]['focus-square-radio'];\n  var eventProps = !disabled ? {\n    onMouseDown: props.onMouseDown,\n    onMouseUp: props.onMouseUp,\n    onFocus: props.onFocus,\n    onBlur: props.onBlur,\n    onClick: props.onClick,\n    onKeyDown: handleKeydown\n  } : {};\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: radioGroupWrapClass,\n    style: style\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n    className: radioGroupClass\n  }, eventProps), options.map(function (option, index) {\n    var isDisabled = option.disabled || disabled;\n    var className = (0, _classnames[\"default\"])(option.className, _Radio2[\"default\"]['radio-opt']);\n    var radioStyle = Object.assign(style, option.style); // 字体颜色等样式需要传给radio才生效\n    return /*#__PURE__*/_react[\"default\"].createElement(_Radio[\"default\"], _extends({\n      key: \"\".concat(option.value, \"-\").concat(index),\n      value: option.value,\n      text: option.text,\n      checked: option.value === value,\n      fieldStyle: optionType,\n      disabled: isDisabled,\n      className: className,\n      style: radioStyle\n    }, composedProps, {\n      onChange: onRadioChange,\n      focusStyle: focusStyle // 由于radio的focus是通过代码实现的，无法通过css去修改，并且新旧版区分，只能传这个属性值下去\n      ,\n      hasErrorfocus: true\n    }));\n  })));\n}\nRadioGroup.propTypes = {\n  value: _propTypes[\"default\"].string,\n  // 根据 value 进行比较，判断是否选中\n  options: _propTypes[\"default\"].array,\n  // 按钮配置项，（value、text、disabled）\n  optionType: _propTypes[\"default\"].string,\n  // 选项风格，0为圆框勾选、1为标签勾选，默认圆框\n  optionDir: _propTypes[\"default\"].string,\n  // 选项布局，0为纵向、1为横向，默认纵向\n  onChange: _propTypes[\"default\"].func,\n  // 选项变化时的回调函数\n  disabled: _propTypes[\"default\"].string // 是否禁用\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/BaseComponents/RadioGroup.js?");

/***/ }),

/***/ "./src/component/web/base/BaseComponents/Text.jsx":
/*!********************************************************!*\
  !*** ./src/component/web/base/BaseComponents/Text.jsx ***!
  \********************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/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.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\n__webpack_require__(/*! core-js/modules/es.array.join.js */ \"../../node_modules/core-js/modules/es.array.join.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.is.js */ \"../../node_modules/core-js/modules/es.object.is.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.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\n__webpack_require__(/*! core-js/modules/es.string.replace.js */ \"../../node_modules/core-js/modules/es.string.replace.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _toolUtils = __webpack_require__(/*! @/util/toolUtils */ \"./src/util/toolUtils.js\");\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! @/component/common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _style = _interopRequireDefault(__webpack_require__(/*! ./style.less */ \"./src/component/web/base/BaseComponents/style.less\"));\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _excluded = [\"noValue\", \"isNoUnderLineLockStyle\", \"type\", \"isFlex\", \"value\", \"className\", \"style\", \"Grow\", \"Shrink\", \"theme\", \"disabled\", \"placeholder\", \"showTitle\", \"showEditButton\", \"editable\", \"lock\", \"handleTextChange\", \"readOnly\", \"isDesigner\", \"lockedEmptyValue\", \"showClear\", \"shortcutInfo\", \"isLink\", \"onValueClick\"],\n  _excluded2 = [\"onBlur\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 ENCRYPTION_VALUE = '******';\nvar Text = /*#__PURE__*/function (_React$Component) {\n  _inherits(Text, _React$Component);\n  function Text(props) {\n    var _this;\n    _classCallCheck(this, Text);\n    _this = _callSuper(this, Text, [props]);\n    _this.setPsdValue = function () {\n      if (_this.refs.psd) {\n        _this.refs.psd.value = _this.props.value;\n      }\n    };\n    _this.handlePasFocus = function (e, other) {\n      var dom = e.currentTarget || e.target;\n      if (dom.value === ENCRYPTION_VALUE) {\n        _this.onDeleteItem(e);\n      }\n      if (other && other.onFocus) {\n        other.onFocus(e);\n      }\n    };\n    _this.resetText = function (value, e) {\n      e.stopPropagation();\n      e.target.value = value;\n      _this.props.handleTextChange && _this.props.handleTextChange(e);\n      _this.setState({\n        prePasInput: value\n      });\n    };\n    _this.handleChangeShowType = function (e) {\n      e.stopPropagation();\n      var passWordShowType = _this.state.passWordShowType;\n      _this.setState({\n        passWordShowType: passWordShowType === _const.PASSWORD_SHOW_TYPE.PASSWORD ? _const.PASSWORD_SHOW_TYPE.PLAIN_TEXT : _const.PASSWORD_SHOW_TYPE.PASSWORD\n      }, function () {\n        var selectionStart = _this.refs.psd.selectionStart;\n        (0, _toolUtils.setCursorPosition)(_this.refs.psd, selectionStart);\n      });\n    };\n    _this.handleOnChange = function (e, other) {\n      if (_this.state.prePasInput === ENCRYPTION_VALUE) {\n        if (e.target.value.length === 5 && e.target.value === '*****') {\n          _this.resetText('', e);\n        }\n        if (e.target.value.length === 7 && (0, _toolUtils.getStrCount)(e.target.value, '*') === 6) {\n          _this.resetText(e.target.value.split('*').join(''), e);\n        }\n      } else {\n        _this.setState({\n          prePasInput: e.target.value\n        });\n      }\n      if (other && other.onChange) {\n        other.onChange(e);\n      }\n    };\n    _this.handlePasBlur = function (e) {\n      var _this$props = _this.props,\n        disabled = _this$props.disabled,\n        onBlur = _this$props.onBlur;\n      if (disabled) return;\n      if ([_this.refs.psdWrap, _this.refs.psd].includes(e.relatedTarget)) return;\n      onBlur === null || onBlur === void 0 || onBlur(e);\n    };\n    _this.state = {\n      prePasInput: '',\n      // 记录之前的值\n      passWordShowType: _const.PASSWORD_SHOW_TYPE.PASSWORD // 展示为密码时展示的类型 0：密文 1：明文\n    };\n    return _this;\n  }\n\n  /**\n   * 一键清空值\n   */\n  _createClass(Text, [{\n    key: \"onDeleteItem\",\n    value: function onDeleteItem(e) {\n      e.stopPropagation();\n      e.target.value = '';\n      if (this.props.type === 'password') {\n        this.setState({\n          prePasInput: ''\n        });\n      }\n      var isFireUpdate = true;\n      this.props.handleTextChange && this.props.handleTextChange(e, isFireUpdate);\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      this.setPsdValue();\n      if (this.props.type === 'password') {\n        this.setState({\n          prePasInput: this.props.value\n        });\n      }\n      if (this.refs.psdWrap) {\n        this.refs.psdWrap.addEventListener('blur', this.handlePasBlur, true);\n      }\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      if (this.refs.psdWrap) {\n        this.refs.psdWrap.removeEventListener('blur', this.handlePasBlur, true);\n      }\n    }\n  }, {\n    key: \"componentDidUpdate\",\n    value: function componentDidUpdate() {\n      this.setPsdValue();\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProp) {\n      var value = nextProp.value,\n        showEye = nextProp.showEye,\n        type = nextProp.type;\n      var updateState = {\n        prePasInput: value\n      };\n      // 如果开启了明密文模式\n      if (type === 'password' && showEye && value === ENCRYPTION_VALUE) {\n        updateState.passWordShowType = _const.PASSWORD_SHOW_TYPE.PASSWORD;\n      }\n      this.setState(updateState);\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props2 = this.props,\n        _this$props2$noValue = _this$props2.noValue,\n        noValue = _this$props2$noValue === void 0 ? '' : _this$props2$noValue,\n        isNoUnderLineLockStyle = _this$props2.isNoUnderLineLockStyle,\n        type = _this$props2.type,\n        isFlex = _this$props2.isFlex,\n        value = _this$props2.value,\n        className = _this$props2.className,\n        style = _this$props2.style,\n        Grow = _this$props2.Grow,\n        Shrink = _this$props2.Shrink,\n        theme = _this$props2.theme,\n        disabled = _this$props2.disabled,\n        placeholder = _this$props2.placeholder,\n        showTitle = _this$props2.showTitle,\n        showEditButton = _this$props2.showEditButton,\n        editable = _this$props2.editable,\n        lock = _this$props2.lock,\n        handleTextChange = _this$props2.handleTextChange,\n        readOnly = _this$props2.readOnly,\n        isDesigner = _this$props2.isDesigner,\n        lockedEmptyValue = _this$props2.lockedEmptyValue,\n        showClear = _this$props2.showClear,\n        shortcutInfo = _this$props2.shortcutInfo,\n        isLink = _this$props2.isLink,\n        onValueClick = _this$props2.onValueClick,\n        other = _objectWithoutProperties(_this$props2, _excluded);\n      var passWordShowType = this.state.passWordShowType;\n      // 标题位置垂直情况下，不显示标题，grow设置为0，文本应底部对齐\n      if (Object.is(theme, 'default')) {\n        Grow = showTitle === false ? 0 : Grow;\n      }\n      if (isFlex) {\n        // 弹性域字段的value如果成单据体保持一致，格式将如下：\n        // [{k:'01',v:['number','name'],alias:'name'},{k:'02',v:\"bbb\",alias:'bbb'}]\n        var newFlexData = '';\n        if (Array.isArray(value) && value.length > 0) {\n          for (var i = 0; i < value.length; i++) {\n            var vv = value[i];\n            if (vv.alias != null) newFlexData += vv.alias;\n            if (i < value.length - 1) newFlexData += ';';\n          }\n        }\n        value = newFlexData;\n      }\n\n      // 字段锁定风格增加提示内容‘未填写’\n      if (lock === undefined && disabled === true) {\n        value = value || noValue;\n      } else if (lock === true) {\n        value = value || noValue;\n      }\n      var isShowClear = editable === false && showEditButton && value && showClear !== false;\n      var isLockWithNoValue = (lock === true || lock === undefined && disabled === true) && value === noValue;\n      className = (0, _classnames[\"default\"])('kd-cq-input', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, className, className), _style[\"default\"].input, true), 'primary-text-in-light', true), _style[\"default\"]['input-' + (theme || 'default')], true), \"\".concat(_style[\"default\"].disabled, \" disabled-fc\"), disabled && value !== noValue), _style[\"default\"]['field-disabled-no-value-color'], disabled && value === noValue), _style[\"default\"]['close-padding-lock'], isShowClear), _style[\"default\"]['close-padding'], isShowClear && lock !== true), 'lock-with-no-value', isLockWithNoValue), _style[\"default\"]['link-content'], isLink && disabled && value !== noValue), (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink\n      })\n      // {'hover-theme-fc': !disabled}\n      );\n      var clearIconCls = (0, _classnames[\"default\"])('kdfont kdfont-guanbi8', 'kd-hover-color', _style[\"default\"].close);\n      placeholder = lock ? '' : placeholder;\n      var title = Object.is(type, 'text') ? value : '';\n      title = \"\".concat(title).replace(/(.{60})/g, '$1\\n'); // 解决火狐下提示语被截断的bug\n\n      var handleFocus = !disabled ? other.onFocus : null;\n      var handleChange = disabled ? null : type === 'password' ? function (e) {\n        return _this2.handleOnChange(e, other);\n      } : other.onChange;\n      var handleBlur = !disabled ? other.onBlur : null;\n      var handleClick = function handleClick(e) {\n        if (value === noValue) return;\n        onValueClick === null || onValueClick === void 0 || onValueClick(e);\n      };\n      if (type === 'password') {\n        var _this$props3 = this.props,\n          showEye = _this$props3.showEye,\n          showEyeInEmpty = _this$props3.showEyeInEmpty;\n        if (showEye) {\n          var showEyeIcon = !value && showEyeInEmpty || value && value !== noValue && value !== ENCRYPTION_VALUE;\n          var eyeIconClassName = (0, _classnames[\"default\"])('kdfont', _defineProperty(_defineProperty({}, _style[\"default\"].show, showEyeIcon), 'kdfont-xianshikongjian2', passWordShowType === _const.PASSWORD_SHOW_TYPE.PLAIN_TEXT), {\n            'kdfont-biyan': passWordShowType === _const.PASSWORD_SHOW_TYPE.PASSWORD\n          }, _style[\"default\"]['eye-icon']);\n          var onBlur = other.onBlur,\n            otherProps = _objectWithoutProperties(other, _excluded2);\n          return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            ref: \"psdWrap\",\n            tabIndex: \"0\",\n            className: (0, _classnames[\"default\"])(_style[\"default\"]['text-wrap'], _defineProperty({}, _style[\"default\"].pr18, showEditButton))\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n            type: \"text\",\n            className: _style[\"default\"].hidden,\n            key: \"0\",\n            autoComplete: \"off\",\n            tabIndex: \"-1\"\n          }), /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n            type: \"password\",\n            className: _style[\"default\"].hidden,\n            key: \"1\",\n            autoComplete: \"off\",\n            tabIndex: \"-1\"\n          }), /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n            key: \"2\",\n            ref: \"psd\",\n            className: className,\n            style: style,\n            readOnly: disabled,\n            placeholder: placeholder\n            // value={value}\n            ,\n            type: passWordShowType === _const.PASSWORD_SHOW_TYPE.PLAIN_TEXT ? 'text' : 'password'\n          }, otherProps, {\n            title: title,\n            onFocus: handleFocus,\n            onChange: handleChange\n          })), /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n            className: eyeIconClassName,\n            onClick: this.handleChangeShowType\n          }));\n        }\n        return [/*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n          type: \"text\",\n          className: _style[\"default\"].hidden,\n          key: \"0\",\n          autoComplete: \"off\",\n          tabIndex: \"-1\"\n        }), /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n          type: \"password\",\n          className: _style[\"default\"].hidden,\n          key: \"1\",\n          autoComplete: \"off\",\n          tabIndex: \"-1\"\n        }), /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n          key: \"2\",\n          ref: \"psd\",\n          className: className,\n          style: style,\n          readOnly: disabled,\n          placeholder: placeholder\n          // value={value}\n          ,\n          type: passWordShowType === _const.PASSWORD_SHOW_TYPE.PLAIN_TEXT ? 'text' : 'password'\n        }, other, {\n          title: title,\n          onFocus: handleFocus,\n          onChange: handleChange,\n          onBlur: handleBlur,\n          onClick: handleClick\n        }))];\n      }\n      return isShowClear ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _style[\"default\"].inputbox\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n        className: className,\n        style: style,\n        readOnly: disabled || isDesigner,\n        placeholder: placeholder,\n        value: value,\n        type: type,\n        autoComplete: \"new-password\"\n      }, other, {\n        onFocus: handleFocus,\n        onChange: handleChange,\n        onBlur: handleBlur,\n        title: title,\n        onClick: handleClick\n      })), lock !== true ? /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: clearIconCls,\n        onClick: function onClick(e) {\n          return _this2.onDeleteItem(e);\n        }\n      }) : null) : /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n        className: className,\n        style: style,\n        readOnly: disabled || isDesigner,\n        placeholder: placeholder,\n        value: value,\n        type: type,\n        autoComplete: \"new-password\"\n      }, other, {\n        onFocus: handleFocus,\n        onChange: handleChange,\n        onBlur: handleBlur,\n        title: title,\n        onClick: handleClick\n      }));\n    }\n  }]);\n  return Text;\n}(_react[\"default\"].Component);\nvar _default = exports[\"default\"] = Text;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/BaseComponents/Text.jsx?");

/***/ }),

/***/ "./src/component/web/base/BaseComponents/Textarea.jsx":
/*!************************************************************!*\
  !*** ./src/component/web/base/BaseComponents/Textarea.jsx ***!
  \************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/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.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.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-float.js */ \"../../node_modules/core-js/modules/es.parse-float.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _kdesign = __webpack_require__(/*! @kdcloudjs/kdesign */ \"webpack/sharing/consume/default/@kdcloudjs/kdesign/@kdcloudjs/kdesign\");\nvar _global = __webpack_require__(/*! @/global */ \"./src/global/index.js\");\nvar _memoryCacher = __webpack_require__(/*! @/model/memoryCacher */ \"./src/model/memoryCacher.js\");\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! @/component/common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _keyCode = __webpack_require__(/*! @/constant/keyCode */ \"./src/constant/keyCode.js\");\nvar _toolUtils = __webpack_require__(/*! @/util/toolUtils.js */ \"./src/util/toolUtils.js\");\nvar _appModelFunction = __webpack_require__(/*! @/model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _style = _interopRequireDefault(__webpack_require__(/*! ./style.less */ \"./src/component/web/base/BaseComponents/style.less\"));\nvar _excluded = [\"noValue\", \"isNoUnderLineLockStyle\", \"value\", \"className\", \"style\", \"Grow\", \"Shrink\", \"theme\", \"lock\", \"disabled\", \"placeholder\", \"minRows\", \"maxRows\", \"allBorder\", \"showTitle\", \"ctrlKey\", \"pageId\", \"maxLength\", \"lDir\", \"readOnly\", \"isDesigner\", \"inputRef\", \"onHeightChange\", \"showMaxLength\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 Textarea = /*#__PURE__*/function (_React$Component) {\n  _inherits(Textarea, _React$Component);\n  function Textarea(props) {\n    var _this;\n    _classCallCheck(this, Textarea);\n    _this = _callSuper(this, Textarea, [props]);\n    _this._handleKeyDown = function (e) {\n      // 多行文本enter 是进行换行，默认要进行阻止冒泡\n      if (!_this.props.notStopPropagationInEnter && e.keyCode === _keyCode.KEYS.ENTER) {\n        e.stopPropagation();\n      }\n      _this.props.onKeyDown && _this.props.onKeyDown(e);\n    };\n    _this.state = {\n      cursorIndex: 0,\n      // 记录光标位置\n      showNumberMark: false\n    };\n    _this._handleBlur = _this._handleBlur.bind(_assertThisInitialized(_this));\n    _this._handleFocus = _this._handleFocus.bind(_assertThisInitialized(_this));\n    _this._setCursorPosition = _this._setCursorPosition.bind(_assertThisInitialized(_this));\n    _this.textRef = _this.textRef.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(Textarea, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      // 性能优化之后render一次导致RcTextArea第一次计算宽度不正确 临时处理\n      this.forceUpdate();\n    }\n\n    /**\n     * 设置光标位置\n     * @param {object} element DOM元素对象\n     * @param {numnber} 上次光标位置\n     */\n  }, {\n    key: \"_setCursorPosition\",\n    value: function _setCursorPosition(element, prePosition) {\n      if (element.setSelectionRange) {\n        // Chrome Firefox\n        // element.focus()\n        // window.setTimeout(element.setSelectionRange(prePosition, prePosition), 0)\n        element.setSelectionRange(prePosition, prePosition);\n      } else if (element.createTextRange) {\n        // 兼容IE\n        var range = element.createTextRange;\n        range.collapse(true);\n        range.moveEnd('character', prePosition);\n        range.moveStart('character', prePosition);\n        range.select();\n      }\n    }\n  }, {\n    key: \"_handleBlur\",\n    value: function _handleBlur(e) {\n      // 失去焦点时记录光标位置\n      var cursorIndex = (0, _toolUtils.getCursorPosition)(e.currentTarget);\n      var _this$props = this.props,\n        pageId = _this$props.pageId,\n        ctrlKey = _this$props.ctrlKey;\n      var postValue = {\n        cursorIndex: cursorIndex,\n        ctrlKey: ctrlKey\n      };\n      (0, _memoryCacher.setPageData)(pageId, [_const.TEXTAREA_CURSOR_INDEX], postValue);\n      (0, _global.doGlobalDispatch)((0, _appModelFunction.convertAppModelFunctionAction)((0, _appModelFunction.setControlPostValue)(pageId, ctrlKey, postValue)));\n      this.setState({\n        showNumberMark: false\n      });\n      // 更新值\n      this.props.onBlur && this.props.onBlur(e);\n    }\n  }, {\n    key: \"_handleFocus\",\n    value: function _handleFocus(e) {\n      if (!this.state.showNumberMark) {\n        this.setState({\n          showNumberMark: true\n        });\n      }\n      this.props.onFocus && this.props.onFocus(e);\n    }\n  }, {\n    key: \"textRef\",\n    value: function textRef(textareaContainer) {\n      var inputRef = this.props.inputRef;\n      if (!inputRef) {\n        return;\n      }\n      inputRef(textareaContainer);\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props2 = this.props,\n        _this$props2$noValue = _this$props2.noValue,\n        noValue = _this$props2$noValue === void 0 ? '' : _this$props2$noValue,\n        isNoUnderLineLockStyle = _this$props2.isNoUnderLineLockStyle,\n        value = _this$props2.value,\n        className = _this$props2.className,\n        customStyle = _this$props2.style,\n        Grow = _this$props2.Grow,\n        Shrink = _this$props2.Shrink,\n        theme = _this$props2.theme,\n        lock = _this$props2.lock,\n        disabled = _this$props2.disabled,\n        placeholder = _this$props2.placeholder,\n        minRows = _this$props2.minRows,\n        maxRows = _this$props2.maxRows,\n        allBorder = _this$props2.allBorder,\n        showTitle = _this$props2.showTitle,\n        ctrlKey = _this$props2.ctrlKey,\n        pageId = _this$props2.pageId,\n        maxLength = _this$props2.maxLength,\n        lDir = _this$props2.lDir,\n        readOnly = _this$props2.readOnly,\n        isDesigner = _this$props2.isDesigner,\n        inputRef = _this$props2.inputRef,\n        onHeightChange = _this$props2.onHeightChange,\n        _this$props2$showMaxL = _this$props2.showMaxLength,\n        showMaxLength = _this$props2$showMaxL === void 0 ? true : _this$props2$showMaxL,\n        other = _objectWithoutProperties(_this$props2, _excluded);\n      var style = Object.assign({}, customStyle);\n      placeholder = disabled ? '' : placeholder;\n      var isOver = false;\n      var enteredLength = value ? value.length : 0;\n      if (enteredLength >= maxLength) {\n        enteredLength = maxLength;\n        // value = value?value.substring(0, maxLength):'' //截取最大长度的字符串\n        isOver = true;\n      }\n      if (style && showTitle === false && !lDir) {\n        // 大文本打开的多行文本没有标题、且标题方向默认为竖直，传的是空\n        style.overflow = typeof style.maxHeight === 'undefined' && typeof style.minHeight === 'undefined' ? 'hidden' : '';\n      }\n      if (style.maxHeight && parseFloat(style.maxHeight) < 21) {\n        style.maxHeight = 21; // rc-textarea最小一行高度为21px，如果此处传入小于21px的最大高度会导致字段没内容时也出滚动条\n      }\n      if (!style.minHeight || parseFloat(style.minHeight) < 21) {\n        style.minHeight = 21; // KUI 的默认高度是 30，与平台的不统一\n      }\n      var markClassName = (0, _classnames[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, _style[\"default\"]['text-mark'], true), _style[\"default\"]['over-length'], isOver), 'theme textMarkPosition', true));\n      var showNumberMark = this.state.showNumberMark;\n      if ((lock === true || lock === undefined) && disabled) {\n        value = value || noValue;\n      }\n      var isLockWithNoValue = lock && value === noValue;\n      className = (0, _classnames[\"default\"])('kd-cq-input kd-cq-input-textarea', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, className, className), _style[\"default\"].textarea, true), _style[\"default\"]['input-' + (theme || 'default')], true), \"\".concat(_style[\"default\"].disabled, \" disabled-fc\"), disabled && value !== noValue), _style[\"default\"]['field-disabled-no-value-color'], disabled && value === noValue), _style[\"default\"].textarea, true), 'primary-text-in-light', !disabled), 'lock-with-no-value', isLockWithNoValue), (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink\n      }));\n      var inputEvents = !disabled && {\n        onFocus: this._handleFocus,\n        onChange: other.onChange,\n        onBlur: this._handleBlur,\n        onKeyDown: this._handleKeyDown\n      };\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _style[\"default\"]['mul-text'],\n        ref: this.textRef\n      }, /*#__PURE__*/_react[\"default\"].createElement(_kdesign.TextArea, _extends({\n        className: className,\n        style: style,\n        readOnly: disabled || isDesigner,\n        disabled: disabled,\n        placeholder: placeholder,\n        value: value,\n        borderType: \"none\"\n      }, other, inputEvents, {\n        // onFocus / onChange / onBlur / onKeyDown\n        maxLength: maxLength === -1 ? '' : maxLength,\n        count: false\n      })), showMaxLength && showNumberMark && !disabled && maxLength !== '' && maxLength >= 0 ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: markClassName\n      }, enteredLength, \"/\", maxLength) : null);\n    }\n  }]);\n  return Textarea;\n}(_react[\"default\"].Component);\nvar _default = exports[\"default\"] = Textarea;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/BaseComponents/Textarea.jsx?");

/***/ }),

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

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}));\nObject.defineProperty(exports, \"Button\", ({\n  enumerable: true,\n  get: function get() {\n    return _Button[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"CardRowPanel\", ({\n  enumerable: true,\n  get: function get() {\n    return _CardRowPanel[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"CheckBox\", ({\n  enumerable: true,\n  get: function get() {\n    return _CheckBox[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"HyperLink\", ({\n  enumerable: true,\n  get: function get() {\n    return _HyperLink[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"Image\", ({\n  enumerable: true,\n  get: function get() {\n    return _Image[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"Label\", ({\n  enumerable: true,\n  get: function get() {\n    return _Label[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"Number\", ({\n  enumerable: true,\n  get: function get() {\n    return _InputNumber[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"PlaceHolder\", ({\n  enumerable: true,\n  get: function get() {\n    return _Placeholder[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"Radio\", ({\n  enumerable: true,\n  get: function get() {\n    return _Radio[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"RadioGroup\", ({\n  enumerable: true,\n  get: function get() {\n    return _RadioGroup[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"Text\", ({\n  enumerable: true,\n  get: function get() {\n    return _Text[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"TextArea\", ({\n  enumerable: true,\n  get: function get() {\n    return _Textarea[\"default\"];\n  }\n}));\nvar _Button = _interopRequireDefault(__webpack_require__(/*! ./Button */ \"./src/component/web/base/BaseComponents/Button.jsx\"));\nvar _CardRowPanel = _interopRequireDefault(__webpack_require__(/*! ./CardRowPanel */ \"./src/component/web/base/BaseComponents/CardRowPanel.jsx\"));\nvar _CheckBox = _interopRequireDefault(__webpack_require__(/*! ./CheckBox */ \"./src/component/web/base/BaseComponents/CheckBox.jsx\"));\nvar _HyperLink = _interopRequireDefault(__webpack_require__(/*! ./HyperLink */ \"./src/component/web/base/BaseComponents/HyperLink.jsx\"));\nvar _Image = _interopRequireDefault(__webpack_require__(/*! ./Image */ \"./src/component/web/base/BaseComponents/Image.jsx\"));\nvar _InputNumber = _interopRequireDefault(__webpack_require__(/*! @/component/web/base/InputNumber */ \"./src/component/web/base/InputNumber.jsx\"));\nvar _Label = _interopRequireDefault(__webpack_require__(/*! @/component/web/base/Label */ \"./src/component/web/base/Label.js\"));\nvar _Placeholder = _interopRequireDefault(__webpack_require__(/*! ./Placeholder */ \"./src/component/web/base/BaseComponents/Placeholder.jsx\"));\nvar _Radio = _interopRequireDefault(__webpack_require__(/*! ./Radio */ \"./src/component/web/base/BaseComponents/Radio.jsx\"));\nvar _Text = _interopRequireDefault(__webpack_require__(/*! ./Text */ \"./src/component/web/base/BaseComponents/Text.jsx\"));\nvar _Textarea = _interopRequireDefault(__webpack_require__(/*! ./Textarea */ \"./src/component/web/base/BaseComponents/Textarea.jsx\"));\nvar _RadioGroup = _interopRequireDefault(__webpack_require__(/*! ./RadioGroup */ \"./src/component/web/base/BaseComponents/RadioGroup.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/BaseComponents/index.js?");

/***/ }),

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

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.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.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.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\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); }\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\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.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.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _classnames5 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _componentutil = __webpack_require__(/*! @/util/componentutil */ \"./src/util/componentutil.js\");\nvar _index = _interopRequireDefault(__webpack_require__(/*! ./index.less */ \"./src/component/web/base/BaseData/index.less\"));\nvar _Select = _interopRequireDefault(__webpack_require__(/*! ../Select */ \"./src/component/web/base/Select.js\"));\nvar _LoadingGIF = _interopRequireDefault(__webpack_require__(/*! ../../../common/LoadingGIF */ \"./src/component/common/LoadingGIF.js\"));\nvar _kdesign = __webpack_require__(/*! @kdcloudjs/kdesign */ \"webpack/sharing/consume/default/@kdcloudjs/kdesign/@kdcloudjs/kdesign\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _webOfficeUtil = __webpack_require__(/*! @/util/webOfficeUtil */ \"./src/util/webOfficeUtil.js\");\nvar _baseDataConst = __webpack_require__(/*! @/constant/baseDataConst */ \"./src/constant/baseDataConst.js\");\nvar _baseDataUtil = __webpack_require__(/*! @/util/baseDataUtil */ \"./src/util/baseDataUtil.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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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); }\nvar CUR_USER = '103';\nvar NOT_CUR_USER = '104';\n// 基础资料弹出面板\nvar PopUpPanel = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {\n  var isSelectModel = props.isSelectModel,\n    hanldeKeyDown = props.hanldeKeyDown,\n    className = props.className,\n    style = props.style,\n    showPuzzyQueryPanel = props.showPuzzyQueryPanel,\n    showMyFrequentPanel = props.showMyFrequentPanel,\n    queryStatus = props.queryStatus,\n    handleClickAddBtn = props.handleClickAddBtn,\n    handleEnumChange = props.handleEnumChange,\n    showEnumPanel = props.showEnumPanel,\n    enumOptions = props.enumOptions,\n    handleMouseEnterItem = props.handleMouseEnterItem,\n    ctrlKey = props.ctrlKey;\n  var isMulti = props.isMulti,\n    handleMouseEnterLeaveEvent = props.handleMouseEnterLeaveEvent,\n    handleClickMultiFrequentPanel = props.handleClickMultiFrequentPanel,\n    validFrequentLists = props.validFrequentLists,\n    selectedFrequentItems = props.selectedFrequentItems,\n    handleSelectFrequentItems = props.handleSelectFrequentItems,\n    handleClickFrequentItem = props.handleClickFrequentItem,\n    frequentSelectedIndex = props.frequentSelectedIndex; // 展示我的常用\n  var columns = props.columns,\n    lookUpList = props.lookUpList,\n    editValue = props.editValue,\n    puzzySelectedIndex = props.puzzySelectedIndex,\n    handleClickPuzzyItem = props.handleClickPuzzyItem,\n    handleMouseDownPuzzyItem = props.handleMouseDownPuzzyItem,\n    showAddBtnWhenNoData = props.showAddBtnWhenNoData,\n    pipeiModelValue = props.pipeiModelValue,\n    countModelValue = props.countModelValue,\n    hasMoreData = props.hasMoreData,\n    handleClickMoreMenu = props.handleClickMoreMenu; // 模糊查询\n  var isNoData = queryStatus === _baseDataConst.QueryStatus.nodata;\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    ref: ref,\n    tabIndex: 0,\n    onKeyDown: hanldeKeyDown,\n    className: (0, _classnames5[\"default\"])(className, 'kd-cq-dropdown kd-cq-dropdown-select-type kd-cq-basedata-dropdown'),\n    style: style,\n    \"data-fromctrl\": ctrlKey\n  }, showPuzzyQueryPanel ? /*#__PURE__*/_react[\"default\"].createElement(PuzzyQueryPanel, {\n    isSelectModel: isSelectModel,\n    columns: columns,\n    lookUpList: lookUpList,\n    editValue: editValue,\n    puzzySelectedIndex: puzzySelectedIndex,\n    handleClickPuzzyItem: handleClickPuzzyItem,\n    handleMouseEnterItem: handleMouseEnterItem,\n    handleMouseDownPuzzyItem: handleMouseDownPuzzyItem,\n    showAddBtnWhenNoData: showAddBtnWhenNoData,\n    isNoData: isNoData,\n    handleClickAddBtn: handleClickAddBtn,\n    pipeiModelValue: pipeiModelValue,\n    countModelValue: countModelValue,\n    hasMoreData: hasMoreData,\n    handleClickMoreMenu: handleClickMoreMenu\n  }) : null, showMyFrequentPanel ? /*#__PURE__*/_react[\"default\"].createElement(FrequentPanel, {\n    isMulti: isMulti,\n    isNoData: isNoData,\n    handleClickAddBtn: handleClickAddBtn,\n    handleMouseEnterLeaveEvent: handleMouseEnterLeaveEvent,\n    handleClickMultiFrequentPanel: handleClickMultiFrequentPanel,\n    validFrequentLists: validFrequentLists,\n    selectedFrequentItems: selectedFrequentItems,\n    handleSelectFrequentItems: handleSelectFrequentItems,\n    handleClickFrequentItem: handleClickFrequentItem,\n    handleMouseEnterItem: handleMouseEnterItem,\n    frequentSelectedIndex: frequentSelectedIndex\n  }) : null, showEnumPanel ? /*#__PURE__*/_react[\"default\"].createElement(EnumPanel, {\n    options: enumOptions,\n    handleEnumChange: handleEnumChange\n  }) : null, (0, _webOfficeUtil.loadIframe)({\n    margin: '0px'\n  }));\n});\n\n// 获取显示'新增'按钮面板\nvar getAddBtnPanel = function getAddBtnPanel(_ref) {\n  var _ref$showAddBtn = _ref.showAddBtn,\n    showAddBtn = _ref$showAddBtn === void 0 ? false : _ref$showAddBtn,\n    _ref$isSelectModel = _ref.isSelectModel,\n    isSelectModel = _ref$isSelectModel === void 0 ? false : _ref$isSelectModel,\n    isNoData = _ref.isNoData,\n    handleClickAddBtn = _ref.handleClickAddBtn;\n  // if (isSelectModel) {\n  // 默认风格和下拉风格统一为原先的下拉风格\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames5[\"default\"])('kd-cq-empty', _index[\"default\"].f7_no_data)\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"].no_data_select\n  }, isNoData ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: (0, _classnames5[\"default\"])('kd-cq-empty-description kd-cq-empty-f7-select', _index[\"default\"].nd_text_select)\n  }, (0, _intlApi.getLangMsg)({\n    key: 'BaseData.key0003'\n  })) : null, isNoData && showAddBtn ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    style: {\n      width: 12\n    },\n    className: (0, _classnames5[\"default\"])('kd-cq-empty-description kd-cq-empty-f7-select', _index[\"default\"].nd_text_select)\n  }) : null, isNoData && showAddBtn ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames5[\"default\"])('kd-cq-empty-description kd-cq-empty-f7-select', _index[\"default\"].nd_text_select, _index[\"default\"].nd_add_btn_select),\n    onClick: handleClickAddBtn\n  }, (0, _intlApi.getLangMsg)({\n    key: 'BaseData.key0007'\n  })) : null, !isNoData ? /*#__PURE__*/_react[\"default\"].createElement(_LoadingGIF[\"default\"], {\n    className: _index[\"default\"].loading,\n    loadingType: 1\n  }) : null));\n  // } else {\n  //   // 获取情感化图片设置\n  //   const { imagePath, description } = getCommonEmotionalInfo(EMOTIONAL_TYPE_NO_DATA)\n  //   return (\n  //     <div className={classnames('kd-cq-empty', styles.f7_no_data)}>\n  //       {isNoData ? <img src={imagePath || f7NoData} className={styles.nd_flag} /> : null}\n  //       {isNoData ? <span className={classnames('kd-cq-empty-description', styles.nd_text)}>{description || getLangMsg({ key: 'BaseData.key0004' })}</span> : null}\n  //       {isNoData && showAddBtn === true ? <div className={classnames(styles.nd_add_btn, 'kd-cq-control kd-cq-btn theme-fc theme-bdcolor hover-follow-theme-hover-bg-fc active-follow-theme-bg-fc hover-theme-hover-bdcolor active-theme-active-bdcolor')} onClick={handleClickAddBtn}>{getLangMsg({ key: 'BaseData.key0006' })}</div> : null}\n  //       {!isNoData ? <LoadingGIF className={styles.loading} /> : null}\n  //     </div>\n  //   )\n  // }\n};\nvar PuzzyQueryPanel = function PuzzyQueryPanel(_ref2) {\n  var isSelectModel = _ref2.isSelectModel,\n    _ref2$columns = _ref2.columns,\n    columns = _ref2$columns === void 0 ? (0, _immutable.List)() : _ref2$columns,\n    lookUpList = _ref2.lookUpList,\n    editValue = _ref2.editValue,\n    puzzySelectedIndex = _ref2.puzzySelectedIndex,\n    handleClickPuzzyItem = _ref2.handleClickPuzzyItem,\n    handleMouseEnterItem = _ref2.handleMouseEnterItem,\n    handleMouseDownPuzzyItem = _ref2.handleMouseDownPuzzyItem,\n    showAddBtnWhenNoData = _ref2.showAddBtnWhenNoData,\n    isNoData = _ref2.isNoData,\n    handleClickAddBtn = _ref2.handleClickAddBtn,\n    pipeiModelValue = _ref2.pipeiModelValue,\n    countModelValue = _ref2.countModelValue,\n    hasMoreData = _ref2.hasMoreData,\n    handleClickMoreMenu = _ref2.handleClickMoreMenu;\n  // 是否有搜索结果\n  var hasLookUpDatas = lookUpList !== undefined && lookUpList.count() > 0;\n  var getColumnsData = function getColumnsData() {\n    if (lookUpList && lookUpList.count() > 0) {\n      var isOnlyMatch = function isOnlyMatch(name) {\n        return lookUpList.count() === 1 && name === editValue;\n      };\n      var datas = lookUpList.map(function (item, index) {\n        var isSelected = editValue !== null && editValue !== '' ? editValue === item.get(1) || isOnlyMatch(item.get(2)) : editValue === item.get(1) && index === puzzySelectedIndex;\n        var itemClassName = (0, _classnames5[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, _index[\"default\"].item, true), 'theme hover-bg', index === puzzySelectedIndex), 'theme theme-light-bg1 theme-fc1 kd-cq-dropdown-menu-item-active', isSelected), 'kd-cq-dropdown-menu-item');\n        return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n          className: itemClassName,\n          onClick: function onClick(e) {\n            return handleClickPuzzyItem(e);\n          },\n          key: index,\n          onMouseOver: function onMouseOver(e) {\n            return handleMouseEnterItem(index);\n          },\n          onMouseDown: handleMouseDownPuzzyItem\n        },\n        // '编码'列\n        !isSelectModel && (0, _baseDataUtil.isVisibleColumn)(columns, 1) && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          key: 1,\n          title: item.get(1),\n          style: (0, _baseDataUtil.getColumnStyle)(columns.get(1)),\n          className: (0, _classnames5[\"default\"])(_index[\"default\"]['item-text'], _index[\"default\"]['item-t-data'])\n        }, item.get(1)), (0, _baseDataUtil.isVisibleColumn)(columns, 2) && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          key: 2,\n          title: item.get(2),\n          style: (0, _baseDataUtil.getColumnStyle)(columns.get(2)),\n          className: (0, _classnames5[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _index[\"default\"]['item-text'], true), _index[\"default\"]['item-t-pos'], true), _index[\"default\"]['item-t-selectmodel'], isSelectModel), _index[\"default\"]['item-t-onedata'], isSelectModel && lookUpList.get(0) && lookUpList.get(0).count() <= 3), _index[\"default\"]['item-t-data'], true))\n        }, item.get(2)),\n        // 扩展列\n        !isSelectModel && item.map(function (it, ind) {\n          if (ind > 2 && (0, _baseDataUtil.isVisibleColumn)(columns, ind)) {\n            return /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n              key: ind,\n              title: item.get(ind),\n              style: (0, _baseDataUtil.getColumnStyle)(columns.get(ind)),\n              className: (0, _classnames5[\"default\"])(_index[\"default\"]['item-text'], _index[\"default\"]['item-t-pos'], _index[\"default\"]['item-t-data'])\n            }, it);\n          }\n        }));\n      });\n      return datas;\n    } else {\n      return null;\n    }\n  };\n  var getColumnsTitleBar = function getColumnsTitleBar() {\n    var titleBars = [];\n    // '编码'列 (固定的2列(编码,名称))\n    if (!isSelectModel && (0, _baseDataUtil.isVisibleColumn)(columns, 1)) {\n      // 下拉模式,不显示'编码'列,服务端需求. -20180629\n      var codeColumn = columns.get(1) || (0, _immutable.Map)();\n      titleBars.push( /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        key: 1,\n        style: (0, _baseDataUtil.getColumnStyle)(codeColumn),\n        className: (0, _classnames5[\"default\"])(_index[\"default\"]['item-text'], _index[\"default\"]['item-t-ani'])\n      }, codeColumn.get('caption') || (0, _intlApi.getLangMsg)({\n        key: 'BaseData.key0001'\n      })));\n    }\n    // '名称'列\n    if ((0, _baseDataUtil.isVisibleColumn)(columns, 2)) {\n      var nameColumn = columns.get(2) || (0, _immutable.Map)();\n      titleBars.push( /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        key: 2,\n        style: (0, _baseDataUtil.getColumnStyle)(nameColumn),\n        className: (0, _classnames5[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _index[\"default\"]['item-text'], true), _index[\"default\"]['item-t-ani'], true), _index[\"default\"]['item-t-pos'], true), _index[\"default\"]['item-t-onetitle'], isSelectModel && columns && columns.count() <= 3))\n      }, nameColumn.get('caption') || (0, _intlApi.getLangMsg)({\n        key: 'BaseData.key0002'\n      })));\n    }\n    if (!isSelectModel) {\n      // 前3列固定为:pkid/编码/名称\n      if (columns.count() > 3) {\n        columns.map(function (col, index) {\n          if (index > 2 && (0, _baseDataUtil.isVisibleColumn)(columns, index)) {\n            titleBars.push( /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n              key: index,\n              style: (0, _baseDataUtil.getColumnStyle)(columns.get(index)),\n              className: (0, _classnames5[\"default\"])(_index[\"default\"]['item-text'], _index[\"default\"]['item-t-ani'], _index[\"default\"]['item-t-pos'])\n            }, col.get('caption')));\n          }\n        });\n      }\n    }\n    return titleBars;\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames5[\"default\"])(_index[\"default\"]['item-container'], _index[\"default\"]['item-content-center'])\n  },\n  // 下拉模式、加载和空数据不要列头\n  isSelectModel || !hasLookUpDatas ? null : /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames5[\"default\"])(_index[\"default\"]['item-top'], 'kd-cq-dropdown-menu-title')\n  }, getColumnsTitleBar()), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n    className: _index[\"default\"]['qs-list-inner']\n  }, hasLookUpDatas ? getColumnsData() : getAddBtnPanel({\n    showAddBtn: showAddBtnWhenNoData,\n    isSelectModel: isSelectModel,\n    isNoData: isNoData,\n    handleClickAddBtn: handleClickAddBtn\n  })),\n  // 自动补全模式、没有添加和更多按钮时，不显示底部面板\n  isSelectModel === true || !hasLookUpDatas || !showAddBtnWhenNoData && !hasMoreData ? null : /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"].bottomMenu\n  }, /*#__PURE__*/_react[\"default\"].createElement(_Select[\"default\"], {\n    className: (0, _classnames5[\"default\"])(_index[\"default\"].droplist, _index[\"default\"]['dl-pipei']),\n    items: _baseDataConst.pipeiModelItems.map(function (item) {\n      return _objectSpread(_objectSpread({}, item), {}, {\n        alias: (0, _intlApi.getLangMsg)(item.alias)\n      });\n    }),\n    value: pipeiModelValue,\n    Grow: 0,\n    style: {},\n    multiple: false,\n    theme: \"default\",\n    required: true,\n    placeholder: \"\",\n    noValue: (0, _componentutil.getNOValue)()\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['dl-cm']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _index[\"default\"]['dl-title']\n  }, (0, _intlApi.getLangMsg)({\n    key: 'BaseData.key0013'\n  })), /*#__PURE__*/_react[\"default\"].createElement(_Select[\"default\"], {\n    className: (0, _classnames5[\"default\"])(_index[\"default\"].droplist, _index[\"default\"]['dl-count']),\n    items: _baseDataConst.pipeiModelItems.map(function (item) {\n      return _objectSpread(_objectSpread({}, item), {}, {\n        alias: (0, _intlApi.getLangMsg)(item.alias)\n      });\n    }),\n    value: countModelValue,\n    Grow: 0,\n    style: {},\n    multiple: false,\n    theme: \"default\",\n    required: true,\n    placeholder: \"\",\n    noValue: (0, _componentutil.getNOValue)()\n  }), showAddBtnWhenNoData ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: (0, _classnames5[\"default\"])(_index[\"default\"]['dl-more'], 'kd-cq-dropdown-menu-interaction', _index[\"default\"]['dl-more-item'], _index[\"default\"]['item-first'], 'theme-fc1 active-theme-active-fc1 hover-theme-hover-fc1'),\n    onClick: handleClickAddBtn\n  }, (0, _intlApi.getLangMsg)({\n    key: 'BaseData.key0007'\n  })) : null, hasMoreData ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: (0, _classnames5[\"default\"])(_index[\"default\"]['dl-more'], 'kd-cq-dropdown-menu-interaction', _index[\"default\"]['dl-more-item'], 'theme-fc1 active-theme-active-fc1 hover-theme-hover-fc1', {\n      'theme disabled-fc': !hasMoreData\n    }),\n    onClick: function onClick(e) {\n      return handleClickMoreMenu(e);\n    }\n  }, (0, _intlApi.getLangMsg)({\n    key: 'BaseData.key0008'\n  })) : null)));\n};\nvar FrequentPanel = function FrequentPanel(_ref3) {\n  var isMulti = _ref3.isMulti,\n    isNoData = _ref3.isNoData,\n    handleClickAddBtn = _ref3.handleClickAddBtn,\n    handleMouseEnterLeaveEvent = _ref3.handleMouseEnterLeaveEvent,\n    handleClickMultiFrequentPanel = _ref3.handleClickMultiFrequentPanel,\n    validFrequentLists = _ref3.validFrequentLists,\n    selectedFrequentItems = _ref3.selectedFrequentItems,\n    handleSelectFrequentItems = _ref3.handleSelectFrequentItems,\n    handleClickFrequentItem = _ref3.handleClickFrequentItem,\n    handleMouseEnterItem = _ref3.handleMouseEnterItem,\n    frequentSelectedIndex = _ref3.frequentSelectedIndex;\n  // 是否有有效的单、多选基础资料常用列表\n  var hasValidFrequentLists = validFrequentLists && validFrequentLists.size > 0;\n  return isMulti ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['item-container'],\n    onMouseEnter: function onMouseEnter() {\n      return handleMouseEnterLeaveEvent(true);\n    },\n    onMouseLeave: function onMouseLeave() {\n      return handleMouseEnterLeaveEvent(false);\n    },\n    onClick: function onClick() {\n      return handleClickMultiFrequentPanel();\n    }\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: (0, _classnames5[\"default\"])(_index[\"default\"]['myfrequent-title'], 'kd-cq-dropdown-menu-item kd-cq-dropdown-menu-title')\n  }, (0, _intlApi.getLangMsg)({\n    key: 'BaseData.key0012'\n  })), hasValidFrequentLists ? /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Checkbox.Group, {\n    onChange: handleSelectFrequentItems,\n    value: selectedFrequentItems,\n    checkboxType: \"default\"\n  }, validFrequentLists.map(function (item, index) {\n    return /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Checkbox, {\n      value: item.get(0) || item.get(1),\n      key: index,\n      className: (0, _classnames5[\"default\"])([_index[\"default\"].checkboxitem], 'kd-cq-dropdown-menu-item', {\n        'theme hover-bg': index === frequentSelectedIndex\n      }),\n      onMouseOver: function onMouseOver(e) {\n        return handleMouseEnterItem(index);\n      }\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n      className: _index[\"default\"]['checkbox-name'],\n      title: item.get(1)\n    }, item.get(1)), (0, _baseDataUtil.hasValueOfStr)(item.get(0)) ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n      className: _index[\"default\"]['checkbox-code'],\n      title: item.get(0)\n    }, item.get(0)) : null);\n  })) : /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n    className: _index[\"default\"]['frequent-list-inner']\n  }, getAddBtnPanel({\n    showAddBtn: false,\n    isSelectModel: true,\n    isNoData: isNoData,\n    handleClickAddBtn: handleClickAddBtn\n  }))) : /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['item-container']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: (0, _classnames5[\"default\"])(_index[\"default\"]['myfrequent-title'], 'kd-cq-dropdown-menu-item kd-cq-dropdown-menu-title'),\n    onMouseEnter: function onMouseEnter() {\n      return handleMouseEnterLeaveEvent(true);\n    },\n    onMouseLeave: function onMouseLeave() {\n      return handleMouseEnterLeaveEvent(false);\n    }\n  }, (0, _intlApi.getLangMsg)({\n    key: 'BaseData.key0012'\n  })), hasValidFrequentLists ? /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n    className: _index[\"default\"]['qs-list-inner']\n  }, validFrequentLists.map(function (item, index) {\n    return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n      key: index,\n      className: (0, _classnames5[\"default\"])([_index[\"default\"].item], 'kd-cq-dropdown-menu-item', {\n        'theme hover-bg': index === frequentSelectedIndex\n      }),\n      onMouseDown: function onMouseDown(e) {\n        return handleClickFrequentItem(item);\n      },\n      onMouseOver: function onMouseOver(e) {\n        return handleMouseEnterItem(index);\n      }\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n      title: item.get(2),\n      className: (0, _classnames5[\"default\"])([_index[\"default\"]['item-text']], _index[\"default\"]['item-t-selectmodel'], _index[\"default\"]['item-t-data'])\n    }, item.get(2)), (0, _baseDataUtil.hasValueOfStr)(item.get(1)) ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n      title: item.get(1),\n      className: (0, _classnames5[\"default\"])([_index[\"default\"]['item-text']], _index[\"default\"]['item-t-selectmodel'], _index[\"default\"]['item-t-data'], _index[\"default\"]['item-t-aditional'], 'kd-cq-dropdown-menu-small-size')\n    }, item.get(1)) : null);\n  })) : /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n    className: _index[\"default\"]['frequent-list-inner']\n  }, getAddBtnPanel({\n    showAddBtn: false,\n    isSelectModel: true,\n    isNoData: isNoData,\n    handleClickAddBtn: handleClickAddBtn\n  })));\n};\n\n// 列表过滤中的用户字段，既需要支持枚举面板，同时需要支持模糊搜索\nvar EnumPanel = function EnumPanel(_ref4) {\n  var options = _ref4.options,\n    handleEnumChange = _ref4.handleEnumChange;\n  var getPanelItem = function getPanelItem() {\n    var realOptions = options.filter(function (option) {\n      return [CUR_USER, NOT_CUR_USER].includes(option === null || option === void 0 ? void 0 : option.value) && (option === null || option === void 0 ? void 0 : option.compare);\n    });\n    var itemClassName = (0, _classnames5[\"default\"])(_defineProperty({}, _index[\"default\"].enumitem, true));\n    var items = realOptions.map(function (option, index) {\n      var value = option.value,\n        label = option.label;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        key: index,\n        className: (0, _classnames5[\"default\"])('kd-cq-dropdown-menu-item', itemClassName),\n        onClick: function onClick() {\n          return handleEnumChange([value]);\n        }\n      }, label);\n    });\n    return items;\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames5[\"default\"])(_index[\"default\"]['item-container-enum'])\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n    className: (0, _classnames5[\"default\"])([_index[\"default\"]['enum-list']])\n  }, getPanelItem()));\n};\nPopUpPanel.propTypes = {\n  showPuzzyQueryPanel: _propTypes[\"default\"].bool,\n  // 展示模糊查询列表\n  showMyFrequentPanel: _propTypes[\"default\"].bool,\n  // 展示我的常用列表\n  hanldeKeyDown: _propTypes[\"default\"].func,\n  // 处理keydown 事件\n  className: _propTypes[\"default\"].object,\n  showAddBtnWhenNoData: _propTypes[\"default\"].bool,\n  // 当没数据的时候显示添加按钮\n  lookUpList: _propTypes[\"default\"].any,\n  // 模糊查询列表\n  editValue: _propTypes[\"default\"].string,\n  // 外层输入框编辑值\n  columns: _propTypes[\"default\"].array,\n  // 模糊查询面板展示的列\n  isSelectModel: _propTypes[\"default\"].bool,\n  // 是否为下拉模式\n  handleClickAddBtn: _propTypes[\"default\"].func,\n  // 处理添加按钮\n  queryStatus: _propTypes[\"default\"].number,\n  // 查询状态 0 加载中 1 无数据\n  pipeiModelValue: _propTypes[\"default\"].string,\n  // 默认匹配模式(全模糊匹配)\n  countModelValue: _propTypes[\"default\"].number,\n  // 显示的记录数量\n  handleClickMoreMenu: _propTypes[\"default\"].func,\n  // 点击查看更多数据\n  hasMoreData: _propTypes[\"default\"].bool,\n  // 是否有更多数据\n  handleMouseEnterLeaveEvent: _propTypes[\"default\"].func,\n  // 处理鼠标移入、移出事件\n  validFrequentLists: _propTypes[\"default\"].array,\n  // 有效的单、多选基础资料常用列表 - 有进行过滤 eg：过滤掉无权限的数据\n  isMulti: _propTypes[\"default\"].bool,\n  // 是否是多选的，我的常用中单选与多选展示不同\n  handleSelectFrequentItems: _propTypes[\"default\"].func,\n  // 处理选中常用项- 多选\n  handleClickFrequentItem: _propTypes[\"default\"].func,\n  // 点击常用项 - 单选\n  selectedFrequentItems: _propTypes[\"default\"].array,\n  // 选中的多选基础资料常用项\n  handleClickMultiFrequentPanel: _propTypes[\"default\"].func,\n  // 点击多选基础资料常用面板\n  handleClickPuzzyItem: _propTypes[\"default\"].func,\n  // 点击模糊查询项\n  handleMouseEnterItem: _propTypes[\"default\"].func,\n  // 鼠标移入模糊查询项\n  handleMouseDownPuzzyItem: _propTypes[\"default\"].func,\n  // 鼠标按下模糊查询项\n  puzzySelectedIndex: _propTypes[\"default\"].number,\n  // 模糊查询选中项\n  style: _propTypes[\"default\"].object,\n  // 样式\n  handleEnumChange: _propTypes[\"default\"].func,\n  // 列表过滤面板的枚举面板选择回调\n  showEnumPanel: _propTypes[\"default\"].bool,\n  // 控制是否显示枚举值面板\n  enumOptions: _propTypes[\"default\"].array // 枚举值面板的optioins\n};\nvar _default = exports[\"default\"] = PopUpPanel;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/BaseData/PopUpPanel.js?");

/***/ }),

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

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.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.js\");\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-index.js */ \"../../node_modules/core-js/modules/es.array.find-index.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.join.js */ \"../../node_modules/core-js/modules/es.array.join.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.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.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.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.is.js */ \"../../node_modules/core-js/modules/es.object.is.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.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.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.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.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.split.js */ \"../../node_modules/core-js/modules/es.string.split.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.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\n__webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\nvar _react = _interopRequireDefault(__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 _classnames12 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _lodash = _interopRequireWildcard(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _global = __webpack_require__(/*! @/global */ \"./src/global/index.js\");\nvar _BaseComponents = __webpack_require__(/*! ../BaseComponents */ \"./src/component/web/base/BaseComponents/index.js\");\nvar _baseComponent = _interopRequireDefault(__webpack_require__(/*! @/component/web/base/baseComponent.less */ \"./src/component/web/base/baseComponent.less\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _componentutil = __webpack_require__(/*! @/util/componentutil */ \"./src/util/componentutil.js\");\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _listenInput = _interopRequireDefault(__webpack_require__(/*! @/util/listenInput */ \"./src/util/listenInput.js\"));\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _defaultPropsUtil = __webpack_require__(/*! @/util/defaultPropsUtil */ \"./src/util/defaultPropsUtil.js\");\nvar _elementUtil = __webpack_require__(/*! @/component/common/elementUtil */ \"./src/component/common/elementUtil.js\");\nvar _customCtrlName = _interopRequireDefault(__webpack_require__(/*! @/constant/customCtrlName */ \"./src/constant/customCtrlName.js\"));\nvar _TextEllipsisWrap = _interopRequireDefault(__webpack_require__(/*! @/component/common/TextEllipsisWrap */ \"./src/component/common/TextEllipsisWrap.js\"));\nvar _baseDataUtil = __webpack_require__(/*! @/util/baseDataUtil */ \"./src/util/baseDataUtil.js\");\nvar _toolUtils = __webpack_require__(/*! @/util/toolUtils */ \"./src/util/toolUtils.js\");\nvar _f7DefaultIcon = __webpack_require__(/*! @/constant/f7DefaultIcon */ \"./src/constant/f7DefaultIcon.js\");\nvar _serverproperties = __webpack_require__(/*! @/constant/serverproperties */ \"./src/constant/serverproperties.js\");\nvar _initListenShortCutEvent = __webpack_require__(/*! @/service/web/initListenShortCutEvent */ \"./src/service/web/initListenShortCutEvent.js\");\nvar _PanelWrapper = _interopRequireDefault(__webpack_require__(/*! @/component/common/PanelWrapper */ \"./src/component/common/PanelWrapper.js\"));\nvar _PopUpPanel = _interopRequireDefault(__webpack_require__(/*! ./PopUpPanel */ \"./src/component/web/base/BaseData/PopUpPanel.js\"));\nvar _baseDataConst = __webpack_require__(/*! @/constant/baseDataConst */ \"./src/constant/baseDataConst.js\");\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher */ \"./src/model/GlobalDataCacher.js\");\nvar _appModelFunction = __webpack_require__(/*! @/model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _index4 = _interopRequireDefault(__webpack_require__(/*! ./index.less */ \"./src/component/web/base/BaseData/index.less\"));\nvar _commonAnimation = _interopRequireDefault(__webpack_require__(/*! ../../../common/commonAnimation.less */ \"./src/component/common/commonAnimation.less\"));\nvar _excluded = [\"noValue\", \"isNoUnderLineLockStyle\", \"id\", \"dispatch\", \"handleValidate\", \"className\", \"style\", \"value\", \"Grow\", \"Shrink\", \"onClick\", \"onChange\", \"alias\", \"disabled\", \"placeholder\", \"inputStyle\", \"theme\", \"setItemByNumber\", \"lookUpList\", \"hasMore\", \"onBaseDataSelectItem\", \"onBaseDataChange\", \"handleEnumChange\", \"editble\", \"displayType\", \"fromSpread\", \"isDesigner\", \"columns\", \"size\", \"inited\", \"initSize\", \"ep\", \"getPopupPanel\", \"showMoreClick\", \"code\", \"showAddBtnWhenNoData\", \"onClickAddBtn\", \"onViewDetailBtnClick\", \"showViewDetailBtn\", \"type\", \"refreshId\", \"openFuzzyQuery\", \"frequent\", \"filterFrequent\", \"showFrequent\", \"isSupressChangeBreak\", \"tabIndex\", \"initPuzzyQueryValue\", \"mustInput\", \"allBorder\", \"labelStylePositionType\", \"noBorder\", \"contentAreaStyle\", \"iconStyle\", \"fontClass\", \"editStyle\", \"isMulLine\", \"shortcutInfo\", \"enterToQuery\", \"selectedData\", \"entityId\", \"selectedItemStyle\", \"labelFoldingState\", \"editProp\", \"displayProp\", \"hasLimitHeight\", \"editConnector\", \"onConvertToCode\", \"enumOptions\", \"onFilterFrequent\", \"isNoOption\"];\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 _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 _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 BaseData = /*#__PURE__*/function (_React$Component) {\n  _inherits(BaseData, _React$Component);\n  function BaseData(props) {\n    var _this;\n    _classCallCheck(this, BaseData);\n    _this = _callSuper(this, BaseData, [props]);\n    _this.handleClosePopUpPanel = function () {\n      var _this$state = _this.state,\n        curDropDownType = _this$state.dropDownType,\n        editValue = _this$state.editValue,\n        showList = _this$state.showList;\n      if (curDropDownType === _baseDataConst.DropDownType.none) return;\n      // 如果是模糊查询，先把值还原再判断是否需要发起请求 - 与之前逻辑保持一致 不论是我的常用还是模糊查询都需要这段逻辑\n      if (showList === true) {\n        _this.setState({\n          editValue: _this.props.value\n        });\n        // 如果props.value 不以' '结尾 并且editValue 以' '结尾，这个' ' 是按空格触发模糊查询的,此时把这个尾部空格去除在进行对比\n        if (editValue && !(0, _lodash.endsWith)(_this.props.value, ' ') && (0, _lodash.endsWith)(editValue, ' ')) {\n          editValue = editValue.replace(/(\\s*$)/g, '');\n        }\n        if (![_this.props.value, undefined, '', ' '].includes(editValue)) {\n          _this.setItem(editValue);\n          // 如果必录，则前端不自动清空旧的值(输入框文本内容没有完全清空(即有弹出下拉模糊查询面板)+之前F7已经有个旧值)\n          _this.props.mustInput && _this.resetEditData();\n        }\n      }\n      _this.setState({\n        showList: false,\n        dropDownType: _baseDataConst.DropDownType.none,\n        lookUpList: (0, _immutable.List)()\n      }, function () {\n        _this.unbindEvent();\n        _this.destroyDropDownPanel();\n      });\n    };\n    /*\n     * 将选中项发送到后端\n     * 当单选基础资料，且通过名称查找仅有一个值时，调用setItemByIdFromClient\n     * 其他场景，调用setItemByNumber\n     * @param value {string} 输入框中的值\n     */\n    _this.setItem = function (value) {\n      if (_this.isMulBaseData()) {\n        _this.doSetItemByNumber(value);\n        return;\n      }\n      var newQueryStr = value;\n      var onConvertToCode = _this.props.onConvertToCode;\n      if (onConvertToCode) {\n        // 如果是编辑属性不是编码\n        newQueryStr = onConvertToCode(newQueryStr);\n      }\n\n      // 编码. 模糊查询行数据格式:[pkId,编码,名称]\n      var results = (_this.state.lookUpList || (0, _immutable.List)()).filter(function (data) {\n        return data.get(2) === newQueryStr;\n      });\n      if (results.size !== 1) {\n        _this.doSetItemByNumber(value);\n        return;\n      }\n      var selectedData = results.get(0);\n      var selectedCode = selectedData.get(1);\n      var isSameCode = selectedCode === _this.props.code;\n      _this.doSetItemByIdFromClient(selectedData.get(0), !isSameCode);\n    };\n    _this.handleClosePanelWrap = function () {\n      // 因为PanelWrap 是在mousedown 进行监听处理的，在重构之前是在click 进行监听的，之前触发顺序先 onHandleFocus（失焦）-> 关闭弹窗。这里加延时是为了和之前处理时序保持一致\n      setTimeout(function () {\n        _this.handleClosePopUpPanel();\n      }, 0);\n    };\n    _this.onEnterKeyDown = function (e) {\n      if (e.keyCode === 13) {\n        // enter\n        e.preventDefault();\n        if (_this.props.enterToQuery) {\n          if (!_this.state.showList) {\n            if (_this.props.openFuzzyQuery === false) return;\n            if (_this.enterQueryStr) {\n              _this.showLookUpListPanel(_this.enterQueryStr);\n            }\n          } else {\n            _this.selectItem();\n            if ((0, _toolUtils.getFocusContainerInCurFocus)(e.target)) return;\n            e.stopPropagation(); // 阻止冒泡，防止与onQSKeyDown冲突\n            (0, _initListenShortCutEvent.triggerToNextFieldByEnter)(e.shiftKey, _this._txtQSInput);\n          }\n        } else if (_this.state.showList) {\n          _this.selectItem();\n          if ((0, _toolUtils.getFocusContainerInCurFocus)(e.target)) return;\n          e.stopPropagation(); // 阻止冒泡，防止与onQSKeyDown冲突\n          (0, _initListenShortCutEvent.triggerToNextFieldByEnter)(e.shiftKey, _this._txtQSInput);\n        } else if (_this.state.dropDownType === _baseDataConst.DropDownType.myFrequent && _this.state.filterFrequent) {\n          _this.onFrequentItemClick(_this.state.filterFrequent.get(_this.state.frequentSelectedIndex));\n          e.stopPropagation(); // 阻止冒泡，防止与onQSKeyDown冲突\n        }\n      }\n    };\n    _this.handlePopUpKeyDown = function (e) {\n      _this.onQSKeyDown(e);\n      _this.onEnterKeyDown(e);\n    };\n    _this._handleSetFocusEvent = function (_ref) {\n      var enterToNext = _ref.enterToNext;\n      if (_this.isDisabled() || _this.props.editStyle === 1) return;\n      if (_this.props.handleSetFocusEvent) {\n        _this.props.handleSetFocusEvent(enterToNext);\n        return;\n      }\n      if (_this.bdElement.current) {\n        _this.setState({\n          focused: true\n        }, function () {\n          // 关闭弹窗焦点重回F7，需要更新过滤数据\n          if (_this.canShowMyFrequent()) {\n            _this.setState({\n              filterFrequent: (0, _immutable.List)()\n            }, function () {\n              _this.bindEvent();\n              _this.getFilterFrequent();\n            });\n          }\n        });\n      }\n      (0, _baseDataUtil.handleFocusToShortCutList)(_this.bdElement.current, enterToNext);\n    };\n    _this.changeNoHandleFocusData = function (val) {\n      _this.noHandleFocus = val;\n    };\n    _this.getAllData = function () {\n      var _this$props = _this.props,\n        selectedData = _this$props.selectedData,\n        _this$props$filterFre = _this$props.filterFrequent,\n        filterFrequent = _this$props$filterFre === void 0 ? (0, _immutable.List)() : _this$props$filterFre;\n      return selectedData ? (0, _immutable.fromJS)(selectedData).concat(filterFrequent) : filterFrequent;\n    };\n    _this.onTxtQSInputBlur = function () {\n      var _this$bdElement$curre;\n      // this._txtQSInput?.blur()\n      // 这里如果输入框直接失焦会导致弹性域中误判点了面板之外而关闭面板，所以改为在上层元素聚集处理\n      (_this$bdElement$curre = _this.bdElement.current) === null || _this$bdElement$curre === void 0 || _this$bdElement$curre.focus();\n    };\n    // frequentItem(List): [pkid, 编码, 名称]\n    _this.onFrequentItemClick = function (frequentItem) {\n      _this.setState({\n        editValue: (0, _baseDataUtil.getBaseDataDisplayProp)(frequentItem.shift(), _this.props.editProp, false, _this.props.editConnector),\n        showList: false,\n        dropDownType: _baseDataConst.DropDownType.none,\n        moreClickTimes: 0,\n        lookUpList: (0, _immutable.List)()\n      }, function () {\n        _this.unbindEvent();\n        _this.destroyDropDownPanel();\n        var isSameCode = frequentItem.get(1) === _this.props.code;\n        // 选中f7与当前f7的编码一致,就不清空本地f7内容(因为前后选中相同f7资料,服务端不会再发回前端)\n        // this.props.onBaseDataSeletruectItem && this.props.onBaseDataSelectItem(frequentItem.get(0), !isSameCode)\n        _this.doSetItemByIdFromClient(frequentItem.get(0), !isSameCode);\n        if (frequentItem.get(0)) {\n          _this.selectFromFrequent = true;\n        }\n        // // 如果编辑属性与查看属性不一致,要失焦 - 产品确认\n        var _this$props2 = _this.props,\n          displayProp = _this$props2.displayProp,\n          editProp = _this$props2.editProp;\n        if (displayProp !== editProp) {\n          _this.onTxtQSInputBlur();\n        }\n      });\n    };\n    _this.setTextareaHeight = function () {\n      var contentArea = _this.contentArea.current;\n      var txtQSInput = _this._txtQSInput;\n      var hasLimitHeight = _this.props.hasLimitHeight;\n      if (txtQSInput && contentArea) {\n        var _this$props$style;\n        var contentAreaHeight = contentArea.offsetHeight;\n        var _txtQSInputHeight = txtQSInput.offsetHeight;\n        var minHeight = Math.max(contentAreaHeight, _txtQSInputHeight);\n        if (!((_this$props$style = _this.props.style) !== null && _this$props$style !== void 0 && _this$props$style.minHeight) && minHeight === 30) {\n          var _this$props$style2;\n          // kdesign的最小高度是30\n          minHeight = Math.min(minHeight, ((_this$props$style2 = _this.props.style) === null || _this$props$style2 === void 0 ? void 0 : _this$props$style2.minHeight) || 21);\n        }\n        _this._txtQSInput.style.cssText += \";min-height: \".concat(minHeight, \"px;\");\n        if (hasLimitHeight && contentAreaHeight) {\n          // this._txtQSInput.style.cssText = `;max-height: ${contentAreaHeight}px; overflow-y: 'auto';`   // 这里这样设置是无法生效的，暂没找到原因\n          _this.setState({\n            textAreaStyle: Object.assign({}, {\n              minHeight: minHeight,\n              maxHeight: contentAreaHeight,\n              overflowY: 'auto'\n            })\n          });\n        }\n      }\n    };\n    /**\n     * 标签模式时根据input的镜像元素获取input的宽度\n     *\n     * @memberof BaseData\n     */\n    _this.getInputWidthByMirror = function () {\n      var inputMirror = _this.inputMirrorRef.current;\n      if (inputMirror) {\n        var INPUT_MAX_WIDTH = inputMirror.parentNode.offsetWidth;\n        var inputMirrorWidth = Math.ceil(inputMirror.getBoundingClientRect().width);\n        if (inputMirrorWidth < _baseDataConst.INPUT_MIN_WIDTH) {\n          inputMirrorWidth = _baseDataConst.INPUT_MIN_WIDTH;\n        }\n        if (inputMirrorWidth > INPUT_MAX_WIDTH) {\n          inputMirrorWidth = INPUT_MAX_WIDTH;\n        }\n        return inputMirrorWidth;\n      }\n    };\n    _this.getcurEdit = function (curCodeArr) {\n      return curCodeArr.length > 0 ? (0, _baseDataUtil.getBaseDataDisplayProp)((0, _baseDataUtil.convertCodeToDisplayValue)(curCodeArr, _this.getAllData()), _this.props.editProp, _this.isMulBaseData(), _this.props.editConnector) : '';\n    };\n    // 多选基础资料已选项是标签展示的时候，我的常用选择需要和已选择标签联动\n    _this.getCurLable = function () {\n      var mulEditCode = _this.state.mulEditCode;\n      return mulEditCode.length > 0 ? _this.getcurEdit(mulEditCode).split(_const.F7_DELIMITER) : [];\n    };\n    _this.onMulChange = function (selectedArr) {\n      var curLabels = _this.getcurEdit(selectedArr);\n      _this.setState({\n        editValue: curLabels,\n        mulEditCode: selectedArr,\n        selectedFrequentItems: selectedArr\n      }, function () {\n        // 多选基础资料我的常用不能触发需要暂时屏蔽 onHandleFocus\n        _this.needLoadSelect = true;\n        _this._txtQSInput && _this._txtQSInput.focus();\n      });\n    };\n    _this.onFocusTextInput = function () {\n      _this._txtQSInput && _this._txtQSInput.focus();\n    };\n    _this.renderPopUpPanel = function () {\n      var _this$state$lookUpLis;\n      var _this$props3 = _this.props,\n        openFuzzyQuery = _this$props3.openFuzzyQuery,\n        _showAddBtnWhenNoData = _this$props3.showAddBtnWhenNoData,\n        type = _this$props3.type,\n        fromSpread = _this$props3.fromSpread,\n        handleEnumChange = _this$props3.handleEnumChange,\n        enumOptions = _this$props3.enumOptions,\n        id = _this$props3.id;\n      var showAddBtnWhenNoData = _showAddBtnWhenNoData !== false; // 默认true\n      var isSelectModel = _this.isSelectModel();\n      // 添加(openFuzzyQuery === false && isSelectModel)条件是因为下拉风格在关闭模糊查询时，仍然需要显示加载和空状态\n      var showPuzzyQueryPanel = (openFuzzyQuery !== false || openFuzzyQuery === false && ((_this$state$lookUpLis = _this.state.lookUpList) === null || _this$state$lookUpLis === void 0 ? void 0 : _this$state$lookUpLis.count()) > 0 || openFuzzyQuery === false && isSelectModel) && _this.state.showList;\n      var showMyFrequentPanel = _this.state.dropDownType === _baseDataConst.DropDownType.myFrequent && _this.canShowMyFrequent();\n      _this._showMyFrequentPanel = showMyFrequentPanel;\n      // 列表搜索用户字段的枚举字段搜索面板 单选基础资料的情况下，输入触发模糊搜索后，使用键盘进行交互，会与模糊搜索互斥\n      var showEnumPanel = document.activeElement === _this._txtQSInput && !_this.state.editValue && !!handleEnumChange && !showPuzzyQueryPanel;\n      var dropDownClassName = (0, _classnames12[\"default\"])(_index4[\"default\"]['qs-list'], _commonAnimation[\"default\"]['panel-drop-down-animation'], _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _index4[\"default\"]['qs-list-select'], isSelectModel || showMyFrequentPanel || !_this.hasLookUpDatas()), _index4[\"default\"]['qs-list-select-has-data'], isSelectModel && _this.hasLookUpDatas()), _index4[\"default\"]['qs-list-frequent-panel'], showMyFrequentPanel), \"kd-cq-basedata-enum-type-dropdown \".concat(_index4[\"default\"]['qs-list-enumcontainer']), showEnumPanel), _index4[\"default\"].hide, !showPuzzyQueryPanel && !showMyFrequentPanel && !showEnumPanel));\n      return /*#__PURE__*/_reactDom[\"default\"].createPortal( /*#__PURE__*/_react[\"default\"].createElement(_PanelWrapper[\"default\"], {\n        trigger: _this.bdElement.current,\n        onClose: _this.handleClosePanelWrap,\n        ref: _this.panelRef,\n        panelAlign: \"topOrBottom\"\n      }, /*#__PURE__*/_react[\"default\"].createElement(_PopUpPanel[\"default\"], {\n        showMyFrequentPanel: _this._showMyFrequentPanel,\n        showPuzzyQueryPanel: showPuzzyQueryPanel,\n        hanldeKeyDown: _this.handlePopUpKeyDown,\n        showEnumPanel: showEnumPanel,\n        className: dropDownClassName,\n        showAddBtnWhenNoData: showAddBtnWhenNoData,\n        lookUpList: _this.state.lookUpList,\n        editValue: _this.state.editValue,\n        columns: _this.props.columns,\n        isSelectModel: _this.isSelectModel(),\n        ref: function ref(r) {\n          _this.attachElement = r;\n        },\n        handleClickAddBtn: _this.onClickAddBtn,\n        queryStatus: _this._queryStatus,\n        pipeiModelValue: _this.state.pipeiModelValue,\n        countModelValue: _this.state.countModelValue,\n        handleClickMoreMenu: _this.onClickMoreMenu,\n        hasMoreData: _this.isMoreMenuCanClick(),\n        handleMouseEnterLeaveEvent: _this.changeNoHandleFocusData,\n        validFrequentLists: _this.state.filterFrequent,\n        isMulti: type === _serverproperties.Ctrls.KDMulBaseData,\n        handleSelectFrequentItems: _this.onMulChange,\n        selectedFrequentItems: _this.state.selectedFrequentItems,\n        handleMouseEnterItem: function handleMouseEnterItem(index) {\n          return _this.onItemMouseEnter(index);\n        },\n        handleClickMultiFrequentPanel: _this.onFocusTextInput,\n        handleClickFrequentItem: _this.onFrequentItemClick,\n        handleClickPuzzyItem: function handleClickPuzzyItem(e) {\n          return _this.onItemDoubleClick(e);\n        },\n        handleMouseDownPuzzyItem: _this.onMouseDownPuzzyItem,\n        puzzySelectedIndex: _this.state.selectedIndex,\n        frequentSelectedIndex: _this.state.frequentSelectedIndex,\n        handleEnumChange: handleEnumChange,\n        enumOptions: enumOptions,\n        style: isSelectModel || _this._showMyFrequentPanel || showEnumPanel || !_this.hasLookUpDatas() ? {\n          width: _this.bdElement.current.clientWidth\n        } : {}\n        // calcPosition={this.panelRef?.calcPosition}\n        ,\n        ctrlKey: id\n      })), fromSpread ? _this.bdElement.current : document.fullscreenElement ? document.fullscreenElement : document.body);\n    };\n    _this.renderBDElement = function () {\n      var _this$state$lookUpLis2;\n      // alias:名称, value:编码; editble: 是否可以手动编辑，默认可编辑; columns:扩展列信息; size:每页显示结果数量; initSize:初始每页显示数量(需求来自：spreadJS)\n      // ep:focus时,显示的编辑属性(0:编码,1:名称,默认编码)\n      var _this$props4 = _this.props,\n        _this$props4$noValue = _this$props4.noValue,\n        noValue = _this$props4$noValue === void 0 ? '' : _this$props4$noValue,\n        isNoUnderLineLockStyle = _this$props4.isNoUnderLineLockStyle,\n        id = _this$props4.id,\n        dispatch = _this$props4.dispatch,\n        handleValidate = _this$props4.handleValidate,\n        initClassName = _this$props4.className,\n        style = _this$props4.style,\n        value = _this$props4.value,\n        Grow = _this$props4.Grow,\n        Shrink = _this$props4.Shrink,\n        onClick = _this$props4.onClick,\n        onChange = _this$props4.onChange,\n        alias = _this$props4.alias,\n        disabled = _this$props4.disabled,\n        initPlaceholder = _this$props4.placeholder,\n        initInputStyle = _this$props4.inputStyle,\n        theme = _this$props4.theme,\n        setItemByNumber = _this$props4.setItemByNumber,\n        lookUpList = _this$props4.lookUpList,\n        hasMore = _this$props4.hasMore,\n        onBaseDataSelectItem = _this$props4.onBaseDataSelectItem,\n        onBaseDataChange = _this$props4.onBaseDataChange,\n        handleEnumChange = _this$props4.handleEnumChange,\n        editble = _this$props4.editble,\n        displayType = _this$props4.displayType,\n        fromSpread = _this$props4.fromSpread,\n        isDesigner = _this$props4.isDesigner,\n        columns = _this$props4.columns,\n        size = _this$props4.size,\n        inited = _this$props4.inited,\n        initSize = _this$props4.initSize,\n        ep = _this$props4.ep,\n        getPopupPanel = _this$props4.getPopupPanel,\n        showMoreClick = _this$props4.showMoreClick,\n        code = _this$props4.code,\n        showAddBtnWhenNoData = _this$props4.showAddBtnWhenNoData,\n        onClickAddBtn = _this$props4.onClickAddBtn,\n        onViewDetailBtnClick = _this$props4.onViewDetailBtnClick,\n        showViewDetailBtn = _this$props4.showViewDetailBtn,\n        type = _this$props4.type,\n        refreshId = _this$props4.refreshId,\n        openFuzzyQuery = _this$props4.openFuzzyQuery,\n        frequent = _this$props4.frequent,\n        filterFrequent = _this$props4.filterFrequent,\n        showFrequent = _this$props4.showFrequent,\n        isSupressChangeBreak = _this$props4.isSupressChangeBreak,\n        tabIndex = _this$props4.tabIndex,\n        initPuzzyQueryValue = _this$props4.initPuzzyQueryValue,\n        mustInput = _this$props4.mustInput,\n        allBorder = _this$props4.allBorder,\n        labelStylePositionType = _this$props4.labelStylePositionType,\n        noBorder = _this$props4.noBorder,\n        contentAreaStyle = _this$props4.contentAreaStyle,\n        iconStyle = _this$props4.iconStyle,\n        fontClass = _this$props4.fontClass,\n        editStyle = _this$props4.editStyle,\n        isMulLine = _this$props4.isMulLine,\n        shortcutInfo = _this$props4.shortcutInfo,\n        enterToQuery = _this$props4.enterToQuery,\n        selectedData = _this$props4.selectedData,\n        entityId = _this$props4.entityId,\n        selectedItemStyle = _this$props4.selectedItemStyle,\n        labelFoldingState = _this$props4.labelFoldingState,\n        editProp = _this$props4.editProp,\n        displayProp = _this$props4.displayProp,\n        hasLimitHeight = _this$props4.hasLimitHeight,\n        editConnector = _this$props4.editConnector,\n        onConvertToCode = _this$props4.onConvertToCode,\n        enumOptions = _this$props4.enumOptions,\n        onFilterFrequent = _this$props4.onFilterFrequent,\n        isNoOption = _this$props4.isNoOption,\n        other = _objectWithoutProperties(_this$props4, _excluded);\n      var inputStyle = initInputStyle;\n      if (isMulLine) {\n        inputStyle = Object.assign({}, initInputStyle, _this.state.textAreaStyle);\n      }\n      var isLabelStyle = _this.isLabelStyle();\n      var className = (0, _classnames12[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _index4[\"default\"]['base-data'], true), _index4[\"default\"]['btn-edit-mode'], editStyle === 1), _index4[\"default\"]['flat-flex-align-items'], Object.is(theme, 'flat')), _index4[\"default\"]['v-content'], !Object.is(theme, 'flat')), _index4[\"default\"]['base-labelStyle'], isLabelStyle), _index4[\"default\"]['base-labelStyle-editMode'], isLabelStyle && _this.state.focused && _this.props.labelFoldingState !== false), _index4[\"default\"]['base-noneBorder'], isLabelStyle && _this.state.focused && noBorder), 'theme hover-theme-border-color1', isLabelStyle && _this.state.focused), 'strong-1px-border', isLabelStyle && _this.state.focused && allBorder), initClassName, initClassName), (0, _commonUtils[\"default\"])({\n        Shrink: Shrink\n      }));\n      var placeholder = disabled || isLabelStyle && value ? '' : initPlaceholder; // 因为标签模式下，选中后input框value 为空\n\n      var isSelectModel = _this.isSelectModel();\n      var isShowIcon;\n      // 搜索图标\n      var iconClassName;\n      var iconTitle;\n      var defaultIcon = (0, _defaultPropsUtil.getCommonFieldIcon)(_customCtrlName[\"default\"].SELECT);\n      if (isSelectModel) {\n        // 下拉图标\n        iconClassName = (0, _classnames12[\"default\"])('kd-cq-trigger-icon', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _index4[\"default\"]['select-icon-' + (theme || 'default')], true), _index4[\"default\"]['select-icon-inverse'], _this.state.showList), \"kdfont\", true), 'kdfont-xiala', !defaultIcon), _index4[\"default\"]['select-icon'], true), defaultIcon, true));\n        isShowIcon = disabled || (other === null || other === void 0 ? void 0 : other.disableF7);\n      } else {\n        // 适配皮肤, 根据类型，适配不同的图标\n        // 人员时，放大镜图标更换为人员图标\n        var icon = _f7DefaultIcon.F7DEFAULTICON[_this.props.entityId] || 'kdfont kdfont-f';\n        iconClassName = (0, _classnames12[\"default\"])('kd-cq-trigger-icon', _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _index4[\"default\"].icon, true), _index4[\"default\"]['h-icon'], Object.is(theme, 'flat')), fontClass || icon, true), 'kdfont-wode3', !!handleEnumChange));\n        if (!fontClass) {\n          var baseDataFieldIcon = (0, _defaultPropsUtil.getBaseDataFieldIcon)(entityId, isDesigner);\n          iconClassName = (0, _classnames12[\"default\"])(_defineProperty(_defineProperty({}, iconClassName, true), baseDataFieldIcon, true));\n        }\n        iconTitle = 'F7';\n        isShowIcon = disabled || (other === null || other === void 0 ? void 0 : other.disableF7) || isNoOption;\n      }\n\n      // 查看详情按钮\n      var floatBtnIconClass = (0, _classnames12[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _index4[\"default\"]['icon-view-detail'], true), _index4[\"default\"]['icon-positon-viewdetail'], disabled), 'kdfont kdfont-chakanjichuziliao', true), _index4[\"default\"]['h-icon'], Object.is(theme, 'flat')));\n\n      // 模糊查询下拉面板\n      // 添加(openFuzzyQuery === false && isSelectModel)条件是因为下拉风格在关闭模糊查询时，仍然需要显示加载和空状态\n      var showPuzzyQueryPanel = (openFuzzyQuery !== false || openFuzzyQuery === false && ((_this$state$lookUpLis2 = _this.state.lookUpList) === null || _this$state$lookUpLis2 === void 0 ? void 0 : _this$state$lookUpLis2.count()) > 0 || openFuzzyQuery === false && isSelectModel) && _this.state.showList;\n      var showMyFrequentPanel = _this.state.dropDownType === _baseDataConst.DropDownType.myFrequent && _this.canShowMyFrequent();\n      _this._showMyFrequentPanel = showMyFrequentPanel;\n      // 列表搜索用户字段的枚举字段搜索面板 单选基础资料的情况下，输入触发模糊搜索后，使用键盘进行交互，会与模糊搜索互斥\n      var showEnumPanel = document.activeElement === _this._txtQSInput && !_this.state.editValue && !!handleEnumChange && !showPuzzyQueryPanel;\n\n      // let showEditValue = this.state.focused || this.state.showList // 有焦点,显示编辑内容\n      var showEditValue = _this.state.focused;\n      // 暂时屏蔽多选基础资料'mulbasedata' -20181116 wenq\n      var showFloatBtn = type !== undefined && !_this.isMulBaseData() && showViewDetailBtn !== false && !showEditValue && !isSelectModel && _this.hasOneF7Data();\n      var selectValue = _this.getSelectValue();\n      var inputClassName = (0, _classnames12[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _index4[\"default\"]['text-input-margin-right'], true), _baseComponent[\"default\"]['field-disabled-no-value-color'], disabled && selectValue === noValue), _index4[\"default\"]['base-labelStyle-input'], isLabelStyle), _index4[\"default\"]['input-select-model'], !disabled && isSelectModel));\n      var baseDataStyle = Object.assign({}, style, isLabelStyle && _this.state.focused && _this.props.labelFoldingState !== false ? _this.getLabelStylePositionStyle() : {});\n      var Field = isMulLine ? _BaseComponents.TextArea : _BaseComponents.Text;\n      var showPopUpPanel = !isDesigner && (showPuzzyQueryPanel || showMyFrequentPanel || showEnumPanel);\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        ref: _this.bdElement,\n        \"data-base-ctrl\": true,\n        tabIndex: \"-1\",\n        className: className,\n        style: baseDataStyle\n      }, other), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames12[\"default\"])(_index4[\"default\"]['base-data-contentArea'], _defineProperty({}, _index4[\"default\"]['no-wrap'], !_this.state.focused && _this.props.labelFoldingState !== false)),\n        style: contentAreaStyle,\n        ref: _this.contentArea\n      }, !disabled && isLabelStyle && _this.getLabelSelectedItemsView(), editStyle !== 1 ? /*#__PURE__*/_react[\"default\"].createElement(Field, _extends({\n        ref: _this.setInput,\n        value: selectValue,\n        disabled: disabled,\n        isDesigner: isDesigner,\n        theme: theme,\n        onChange: function onChange(e) {\n          _this.changeInputText(e.target.value, false); /* TODO:onChange */\n        },\n        onCompositionStart: function onCompositionStart(e) {\n          _this.handleCompositionStart(e);\n        } // 中文输入法开始之前的事件，如果是中文输入法在开始之前先添加分割符改变光标，值再插入，解决不同输入法的bug\n        ,\n        Grow: 1,\n        placeholder: placeholder,\n        style: inputStyle,\n        className: inputClassName,\n        onBlur: function onBlur(e) {\n          _this.onHandleFocus(false, e.target.value);\n        },\n        onFocus: function onFocus(e) {\n          _this.onHandleFocus(true, e.target.value);\n        },\n        onKeyDown: function onKeyDown(e) {\n          return _this.onQSKeyDown(e);\n        },\n        type: \"text\",\n        noValue: (0, _componentutil.getNOValue)(),\n        tabIndex: tabIndex,\n        \"data-base-data-enter-to-query\": enterToQuery,\n        autoComplete: \"new-password\"\n      }, shortcutInfo)) : /*#__PURE__*/_react[\"default\"].createElement(_TextEllipsisWrap[\"default\"], null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames12[\"default\"])('primary-text-in-light kd-cq-base-data-text', _index4[\"default\"]['base-data-text'], _defineProperty(_defineProperty({}, _index4[\"default\"].single, !isMulLine), 'disabled-fc', disabled)),\n        title: selectValue,\n        style: inputStyle\n      }, selectValue)), isLabelStyle && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        ref: _this.inputMirrorRef,\n        className: _index4[\"default\"]['input-mirror']\n      }, selectValue)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames12[\"default\"])(_index4[\"default\"]['base-data-iconArea'], _defineProperty({}, _index4[\"default\"]['icon-select-model'], isSelectModel)),\n        style: iconStyle\n      }, showFloatBtn ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: floatBtnIconClass,\n        onClick: function onClick(e) {\n          return _this.onViewDetailBtnClick(e);\n        }\n      }) : null, isShowIcon ? null : /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: iconClassName,\n        ref: function ref(t) {\n          _this.selectElement = t;\n        },\n        onMouseDown: function onMouseDown(e) {\n          return setTimeout(function () {\n            _this.onClick(e);\n          }, 0);\n        },\n        title: iconTitle\n      })), showPopUpPanel ? _this.renderPopUpPanel() : null);\n    };\n    _this.state = {\n      focused: false,\n      editValue: props.value || '',\n      // 内部编辑值(F7编码)\n      alias: _this.props.alias || '',\n      // 内部显示名称\n      showList: false,\n      // 是否显示模糊查询的下拉面板\n      lookUpList: props.lookUpList,\n      // 模糊查询下拉列表\n      filterFrequent: props.filterFrequent,\n      // 过滤后的常用值\n      selectedIndex: 0,\n      // 模糊查询下拉列表,默认选中第一项,\n      frequentSelectedIndex: 0,\n      // 我的常用下拉列表，默认选中第一项\n      pipeiModelValue: '002',\n      // 默认匹配模式(全模糊匹配)\n      countModelValue: _this.isSelectModel() ? 50 : props.initSize === undefined ? 0 : props.initSize,\n      // 默认显示的记录数量(20180308:下拉模式一次显示50条，且不显示'更多'等菜单。非下拉,默认传0,表示读取server端用户配置的数据;如果用户没有配置,server默认回传5)\n      moreClickTimes: 0,\n      // '更多'：已点击次数\n      dropDownType: _baseDataConst.DropDownType.none,\n      textAreaStyle: {},\n      mulEditCode: [],\n      // 多选基础资料常用下拉列表的临时交互用值\n      selectedFrequentItems: [] // 多选基础资料常用下拉列表的选中值，因为要兼容无编码的情况，所以不能只取编码\n    };\n    _this.onClickMoreMenu = _this.onClickMoreMenu.bind(_assertThisInitialized(_this));\n    _this.onClick = _this.onClick.bind(_assertThisInitialized(_this));\n    _this.onClickAddBtn = _this.onClickAddBtn.bind(_assertThisInitialized(_this));\n    _this.onViewDetailBtnClick = _this.onViewDetailBtnClick.bind(_assertThisInitialized(_this));\n    _this.setInput = _this.setInput.bind(_assertThisInitialized(_this));\n    _this.resetEditData = _this.resetEditData.bind(_assertThisInitialized(_this));\n    _this.getInputDom = _this.getInputDom.bind(_assertThisInitialized(_this));\n    _this.deleteSelectedItem = _this.deleteSelectedItem.bind(_assertThisInitialized(_this));\n    _this.getSelectValue = _this.getSelectValue.bind(_assertThisInitialized(_this));\n    _this.onMouseDownPuzzyItem = _this.onMouseDownPuzzyItem.bind(_assertThisInitialized(_this));\n    _this.getLabelStylePositionStyle = _this.getLabelStylePositionStyle.bind(_assertThisInitialized(_this));\n    _this.labelStyleInputBlur = _this.labelStyleInputBlur.bind(_assertThisInitialized(_this));\n    _this._queryStatus = _baseDataConst.QueryStatus.loading;\n    _this._txtQSInput = undefined; // 输入框dom\n    _this._mulBaseDataQueryInfo = undefined; // { queryStr: '', startIndex: -1, endIndex: -1 } // 多选F7模糊查询数据\n    _this.noHandleFocus = false; // 用于onHandleFocus方法中判断是否要继续往下执行（用于标签模式中输入框焦点的保持）\n    _this.inputByUserFlag = false; // 用于记录区分是用户输入还是服务端值更新\n    _this.needLoadSelect = false; // 用于记录多选基础资料常用下拉列表选择后是否需要拉取后端最新数据\n    _this.searchValue = ''; // 记录从常用面板中呼出模糊搜索的查询值，在常用面板和后台交互后进行编辑值拼接\n    _this.hasChangeInputTextFlag = false; // 记录输入框的值是否修改过\n    _this.preInputText = null; // 用来记录上一次输入的值\n\n    _this.inputMirrorRef = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.bdElement = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.contentArea = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.panelRef = /*#__PURE__*/_react[\"default\"].createRef(); // 弹出面板元素、用于调用其重新计算位置的方法\n    return _this;\n  }\n\n  /* ======模糊查询下拉面板 start====== */\n  // 更多请求\n  _createClass(BaseData, [{\n    key: \"onClickMoreMenu\",\n    value: function onClickMoreMenu(e) {\n      var _this2 = this;\n      if (!this.isMoreMenuCanClick()) {\n        return;\n      }\n      var searchword = this.state.editValue || '';\n      if (this.isMulBaseData()) {\n        var searchwordArr = searchword.split(_const.F7_DELIMITER);\n        searchword = searchwordArr[searchwordArr.length - 1]; // 前面发送过请求的就不需要再次发送\n      }\n      var calllback = function calllback() {\n        _this2.unbindEvent();\n        _this2.props.showMoreClick && _this2.props.showMoreClick(searchword);\n      };\n      this.onTxtQSInputBlur();\n      this.resetEditData(calllback);\n    }\n\n    // 获取模糊查询设置信息\n  }, {\n    key: \"getLookUpInfo\",\n    value: function getLookUpInfo(editValue) {\n      var _this$state2 = this.state,\n        pipeiModelValue = _this$state2.pipeiModelValue,\n        countModelValue = _this$state2.countModelValue,\n        moreClickTimes = _this$state2.moreClickTimes;\n      return (0, _baseDataUtil.getLookUpInfoByEditValue)({\n        editValue: editValue,\n        pipeiModelValue: pipeiModelValue,\n        countModelValue: countModelValue,\n        moreClickTimes: moreClickTimes\n      });\n    }\n\n    // server返回的记录数量<请求的数量时，则说明server端无更多数据，则client端禁止发更多请求\n  }, {\n    key: \"isMoreMenuCanClick\",\n    value: function isMoreMenuCanClick() {\n      // 20180103 服务端新增标示'next'，表明是否有'更多'数据可以请求\n      return this.props.hasMore !== false && this.props.disableF7 !== true;\n    }\n  }, {\n    key: \"renderDropDownPanel\",\n    value: function renderDropDownPanel() {\n      if (this.props.openFuzzyQuery === false || !this.props.inited) {\n        return;\n      }\n      this.props.getPopupPanel && this.props.getPopupPanel(this.attachElement); // used by grid\n      this.forceUpdate();\n    }\n  }, {\n    key: \"destroyDropDownPanel\",\n    value: function destroyDropDownPanel() {\n      this._queryStatus = _baseDataConst.QueryStatus.loading;\n      if (this.attachElement) {\n        this.attachElement = null;\n      }\n    }\n\n    // 模糊查询下拉面板：回车或鼠标双击选中查询列表中一条记录\n  }, {\n    key: \"selectItem\",\n    value: function selectItem() {\n      var _this3 = this;\n      var newEditvalue = this.state.editValue; // 缓存当前编辑内容\n      var lst = this.state.lookUpList || (0, _immutable.List)();\n      this.setState({\n        // 如果选中的basedata值与编辑前的值相同，又因store中该[key,value]没变，服务端返回相同值时，不会重新render,所以这里把editValue重置为当前basedata，不需要重新render.\n        editValue: this.props.value,\n        // 与服务端通信前还原本地数据，帮助跳过其他event不触发\n        alias: this.props.alias,\n        showList: false,\n        dropDownType: _baseDataConst.DropDownType.none,\n        moreClickTimes: 0,\n        lookUpList: (0, _immutable.List)()\n      }, function () {\n        _this3.unbindEvent();\n        _this3.destroyDropDownPanel();\n        /*\n                手动选中某条记录后，会触发onBlure事件，KDField会触发setItemByNumber.\n                向服务端发送‘主键’(由服务端传过来)，而非basedata的编码\n               */\n        var selectedCode = lst.getIn([_this3.state.selectedIndex, 1]); // 编码. 模糊查询行数据格式:[pkId,编码,名称]\n        var isSameCode = selectedCode === _this3.props.code;\n        if (lst.count() > 0) {\n          // 当多选基础资料输入框没有多个值的时候，点击下拉项的时候发起'setItemByIdFromClient'，'setItemByNumber'这个接口数据量很大的时候有性能问题\n          if (_this3.isMulBaseData() && String(newEditvalue).split(_const.F7_DELIMITER).length === 1) {\n            _this3.doSetItemByIdFromClient(lst.getIn([_this3.state.selectedIndex, 0]), !isSameCode);\n          } else {\n            // 优化：当前没选or所选基础资料编码都为空时，最新模糊查询发‘SetItemByIdFromClient’，空编码匹配不上或不准确\n            if (_this3.isMulBaseData() && _this3.props.code && _this3.props.code.replaceAll(_const.F7_DELIMITER, '') !== '') {\n              // 多选基础资料时,为了点击下拉面板中某条记录产生多选效果，发送'setItemByNumber'替代'setItemByIdFromClient'\n              // this.props.setItemByNumber && this.props.setItemByNumber(this.getSetItemByNumberValues(lst.getIn([this.state.selectedIndex, 1])))\n              _this3.doSetItemByNumber(_this3.getSetItemByNumberValues(lst.getIn([_this3.state.selectedIndex, 1]), newEditvalue), true);\n            } else {\n              // 选中f7与当前f7的编码一致,就不清空本地f7内容(因为前后选中相同f7资料,服务端不会再发回前端)\n              // this.props.onBaseDataSelectItem && this.props.onBaseDataSelectItem(lst.getIn([this.state.selectedIndex, 0]), !isSameCode) // pkid在server回传数据的第一个位置\n              _this3.doSetItemByIdFromClient(lst.getIn([_this3.state.selectedIndex, 0]), !isSameCode);\n            }\n          }\n        } else {\n          // 临时特殊处理(一般在失去焦点菜触发'setItemByNumber'): 解决多选基础资料编辑后回车数据被清空的问题 -20180809\n          // this.props.setItemByNumber && this.props.setItemByNumber(this.state.editValue)\n          // 关闭了'模糊查询', 回车则直接往后端发送请求\n          _this3.doSetItemByNumber(_this3.props.openFuzzyQuery ? _this3.getSetItemByNumberValues(_this3.state.editValue) : newEditvalue, true);\n        }\n\n        // 还原本地显示内容\n        if (isSameCode) {\n          _this3.setState({\n            editValue: _this3.props.value,\n            alias: _this3.props.alias\n          });\n        }\n        if (_this3.isMulBaseData()) {\n          // 多选基础资料鼠标点击后也需要保持焦点\n          _this3._txtQSInput && _this3._txtQSInput.focus(); // 因为做了中间插入值自动添加分割符有统一处理其焦点，以为这里是无用代码，移除，但是this.noHandleFocus状态没变会导致handleFocus那里直接return 出去\n          _this3.noHandleFocus = false;\n        }\n      });\n    }\n\n    // 双击：手动选中某条记录\n  }, {\n    key: \"onItemDoubleClick\",\n    value: function onItemDoubleClick(e) {\n      e.stopPropagation();\n      this.selectItem();\n      // 如果编辑属性与查看属性不一致,要失焦 - 产品确认\n      var _this$props5 = this.props,\n        displayProp = _this$props5.displayProp,\n        editProp = _this$props5.editProp;\n      if (displayProp !== editProp) {\n        this.onTxtQSInputBlur();\n      }\n    }\n\n    // 处理当模糊查询区域出现滚动条时，上下键选择的元素在滚动区域外时需要滚动到可视区域内（正常情况下不会有出现滚动条的情况，但华为hr那边自定义控件里面做了些骚操作导致会出现）\n    // dir : 按键方向  up： 向上 down： 向下\n    // itemIndex: 元素所处索引值\n  }, {\n    key: \"handleQSKeyUpDownScroll\",\n    value: function handleQSKeyUpDownScroll(dir, itemIndex) {\n      var _this$attachElement,\n        _this4 = this;\n      if (!this.attachElement) return;\n      var list = (_this$attachElement = this.attachElement) === null || _this$attachElement === void 0 ? void 0 : _this$attachElement.getElementsByClassName(_index4[\"default\"]['qs-list-inner'])[0];\n      var _ref2 = list || {},\n        scrollHeight = _ref2.scrollHeight,\n        offsetHeight = _ref2.offsetHeight,\n        scrollTop = _ref2.scrollTop;\n      if (scrollHeight === offsetHeight) {\n        return;\n      }\n      this.isKeySelecting = true; // 添加上下键选择中标识，避免触发元素的mouseover的onItemMouseEnter选择事件导致上下选择时选中行不准确\n      this.setKeySelectStatusTimer && clearTimeout(this.setKeySelectStatusTimer);\n      var items = list.getElementsByClassName(_index4[\"default\"].item);\n      var itemHeight = items[0].offsetHeight;\n      var itemPosition = itemHeight * itemIndex;\n      if (dir === 'up') {\n        if (itemIndex === items.length - 1) {\n          // 向上选择跳到最后一个时滚到底部\n          list.scrollTop = scrollHeight - offsetHeight;\n        } else if (itemPosition < scrollTop) {\n          // 在滚动区域上方，如果显示不全会滚到显示全\n          list.scrollTop = itemHeight * itemIndex;\n        }\n      } else {\n        if (itemIndex === 0) {\n          // 向下选择回跳到第一个时滚到顶部\n          list.scrollTop = 0;\n        } else if (itemPosition > scrollTop + offsetHeight - itemHeight) {\n          // 在滚动区域下方，如果显示不全会滚到显示全\n          list.scrollTop = itemHeight * (itemIndex + 1) - offsetHeight;\n        }\n      }\n      this.setKeySelectStatusTimer = setTimeout(function () {\n        _this4.isKeySelecting = false;\n      }, 100);\n    }\n\n    // 键盘操作(支持上下键选条件)\n  }, {\n    key: \"onQSKeyDown\",\n    value: function onQSKeyDown(e) {\n      var _this5 = this;\n      switch (e.keyCode) {\n        case 38:\n          // up\n          (0, _baseDataUtil.stopDefault)(e);\n          if (this.state.showList && this.state.lookUpList) {\n            var sum = this.state.lookUpList.count();\n            var index = this.state.selectedIndex - 1;\n            if (index < 0) {\n              index = sum - 1;\n            }\n            // const newValue = this.state.lookUpList.getIn([index, 1]) // 显示编码\n            this.setState({\n              selectedIndex: index\n              // editValue: this.isMulBaseData() ? this.state.editValue : newValue\n            }, function () {\n              _this5.handleQSKeyUpDownScroll('up', index);\n              _this5.renderDropDownPanel();\n            });\n          } else if (this.state.dropDownType === _baseDataConst.DropDownType.myFrequent && this.state.filterFrequent) {\n            var _sum = this.state.filterFrequent.count();\n            var _index = this.state.frequentSelectedIndex - 1;\n            if (_index < 0) {\n              _index = _sum - 1;\n            }\n            this.setState({\n              frequentSelectedIndex: _index\n            });\n          } else {\n            var _this$props$onKeyDown, _this$props6;\n            (_this$props$onKeyDown = (_this$props6 = this.props).onKeyDown) === null || _this$props$onKeyDown === void 0 || _this$props$onKeyDown.call(_this$props6, e);\n          }\n          break;\n        case 40:\n          // down\n          // 防止方式光标跳转到文本最后\n          (0, _baseDataUtil.stopDefault)(e);\n          if (this.state.showList && this.state.lookUpList) {\n            var _sum2 = this.state.lookUpList.count();\n            var _index2 = this.state.selectedIndex + 1;\n            if (_index2 >= _sum2) {\n              _index2 = 0;\n            }\n            // const newValue = this.state.lookUpList.getIn([index, 1]) // 显示编码\n            this.setState({\n              selectedIndex: _index2\n              // editValue: this.isMulBaseData() ? this.state.editValue : newValue // 单选F7，键盘选择下拉列表中不同项时，文本框内容要显示对应编码\n            }, function () {\n              _this5.handleQSKeyUpDownScroll('down', _index2);\n              _this5.renderDropDownPanel();\n            });\n          } else if (this.state.dropDownType === _baseDataConst.DropDownType.myFrequent && this.state.filterFrequent) {\n            var _sum3 = this.state.filterFrequent.count();\n            var _index3 = this.state.frequentSelectedIndex + 1;\n            if (_index3 >= _sum3) {\n              _index3 = 0;\n            }\n            this.setState({\n              frequentSelectedIndex: _index3\n            });\n          } else {\n            var _this$props$onKeyDown2, _this$props7;\n            (_this$props$onKeyDown2 = (_this$props7 = this.props).onKeyDown) === null || _this$props$onKeyDown2 === void 0 || _this$props$onKeyDown2.call(_this$props7, e);\n          }\n          break;\n        case 118:\n          {\n            (0, _baseDataUtil.stopDefault)(e);\n            // 锁定、下拉模式和无选项模式不触发弹窗F7\n            if (this.props.disabled || this.isSelectModel() || this.props.isNoOption) return;\n            // const element = this.selectElement\n            // f7列表弹出之前，和后台交互一次保存当前状态，防止列表展示和输入框内不一致\n            this.noHandleFocus = false;\n            // 保存后需要保留焦点\n            if (this.isMulBaseData()) {\n              this.saveDataForMulBaseFrequent(false);\n            }\n            this.props.onClick && this.props.onClick(e);\n            var config = (0, _appModelFunction.getFormConfig)(this.props.pageId)((0, _global.getGlobalState)()) || {};\n            var formId = config.formId;\n            var billFormId = config.billFormId || '';\n            (0, _GlobalDataCacher.setData)(_symbolConst.KEY_UI_ACTION, {\n              appId: config.appId,\n              formId: formId,\n              billFormId: billFormId,\n              tableName: 'shortcut_key',\n              shortcutKey: 'F7',\n              methodName: '打开基础资料弹窗'\n            });\n            break;\n          }\n        case 13:\n          if (!this.state.showList && !this.props.enterToQuery) {\n            // 下拉面板弹出时不处理，防止与onEnterKeyDown冲突\n            var editValue = this.state.editValue;\n            if (this.props.value === editValue || this.props.value === '' && this.props.alias === '' && editValue === '') {\n              // do onthing\n            } else {\n              this.doSetItemByNumber(editValue);\n            }\n          }\n          break;\n        case 9:\n          this.handleClosePopUpPanel();\n          break;\n        case 8:\n          {\n            // 键盘backspace\n            var _this$props8 = this.props,\n              value = _this$props8.value,\n              alias = _this$props8.alias;\n            var mulEditCode = this.state.mulEditCode;\n            // 退格需要删除有两种情况：1.标签风格单选基础资料有已选值退格删除 2.多选基础资料常用数据删除\n            if (this.isLabelStyle() && this.getSelectValue() === '' && (alias || mulEditCode.length > 0)) {\n              var lastAliasIndex = mulEditCode.length > 0 ? mulEditCode.length - 1 : alias.split(_baseDataConst.AliasDelimiter).length - 1;\n              // 标签风格时在输入框内容为空时按退格键删除最后一个元素后记录该元素的value，然后在服务端处理完数据后把该value拼接回editValue实现将被删除的value回填到输入框的效果\n              this.cacheDeleteItemValue = value.substring(value.lastIndexOf(_const.F7_DELIMITER) + 1);\n              this.deleteSelectedItem(lastAliasIndex);\n            }\n            break;\n          }\n        default:\n          break;\n      }\n    }\n  }, {\n    key: \"onItemMouseEnter\",\n    value:\n    // 鼠标在下拉面板中移动时选中行\n    function onItemMouseEnter(index) {\n      var _this6 = this;\n      if (!this.isKeySelecting && (this.state.selectedIndex !== index || this.state.frequentSelectedIndex !== index)) {\n        if (this.state.showList && this.state.lookUpList) {\n          this.setState({\n            selectedIndex: index\n          }, function () {\n            _this6.renderDropDownPanel();\n          });\n        } else if (this.state.dropDownType === _baseDataConst.DropDownType.myFrequent && this.state.filterFrequent) {\n          this.setState({\n            frequentSelectedIndex: index\n          }, function () {\n            _this6.renderDropDownPanel();\n          });\n        }\n      }\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.unbindEvent();\n      this.destroyDropDownPanel();\n      this.scrollBlurLabelStyleInput && this.scrollBlurLabelStyleInput();\n    }\n  }, {\n    key: \"bindEvent\",\n    value: function bindEvent() {\n      var _this7 = this;\n      this.intervalTimer = setInterval(function () {\n        document.activeElement.tagName === 'IFRAME' && _this7.handleClosePopUpPanel();\n      }, 400);\n      var input = this.getInputDom();\n      if (input) {\n        if (this.props.fromSpread) {\n          this.enterKeyDownHandler = function (e) {\n            if (e.target === input) {\n              _this7.onEnterKeyDown(e);\n            }\n          };\n          window.addEventListener('keydown', this.enterKeyDownHandler, true);\n        } else {\n          input.addEventListener('keydown', this.onEnterKeyDown, true);\n        }\n      }\n    }\n  }, {\n    key: \"unbindEvent\",\n    value: function unbindEvent() {\n      this.intervalTimer && clearInterval(this.intervalTimer);\n      var input = this.getInputDom();\n      if (input) {\n        if (this.props.fromSpread) {\n          window.removeEventListener('keydown', this.enterKeyDownHandler, true);\n        } else {\n          input.removeEventListener('keydown', this.onEnterKeyDown, true);\n        }\n      }\n    }\n\n    /* ======模糊查询下拉面板 end====== */\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      var _this8 = this;\n      var newState = {};\n      var needQueryAgain = false;\n      var isLabelStyle = this.isLabelStyle();\n      if (this.state.countModelValue === 0 && nextProps.inited) {\n        // 使用server端回传的数据，初始化模糊查询界面数据\n        newState.countModelValue = nextProps.size;\n      }\n      if (nextProps.value !== this.props.value || nextProps.alias !== this.props.alias) {\n        /* basedata得到的数据都是服务端发指令指定的，server端都有，所以无需再放到postdata里回传 2016-12-28 */\n        if (this.searchValue) {\n          newState.editValue = nextProps.value + this.searchValue;\n          this.searchValue = '';\n        } else {\n          newState.editValue = nextProps.value;\n        }\n        newState.alias = nextProps.alias;\n        // 多选基础常用列表编辑态值初始化\n        newState.mulEditCode = this.isMulBaseData() && nextProps.code ? nextProps.code.split(_const.F7_DELIMITER) : [];\n        if (this.isMulBaseData() && nextProps.showFrequent) {\n          var _nextProps$selectedDa;\n          var selectedFrequentItems = (_nextProps$selectedDa = nextProps.selectedData) !== null && _nextProps$selectedDa !== void 0 && _nextProps$selectedDa.size ? nextProps.code.split(_const.F7_DELIMITER) : [];\n          selectedFrequentItems = selectedFrequentItems.map(function (item, index) {\n            var _nextProps$selectedDa2;\n            return item || ((_nextProps$selectedDa2 = nextProps.selectedData) === null || _nextProps$selectedDa2 === void 0 ? void 0 : _nextProps$selectedDa2.getIn([index, 1]));\n          });\n          newState.selectedFrequentItems = selectedFrequentItems;\n        }\n        /*\n        * 标签风格时在输入框内容为空时按退格键删除最后一个元素后记录该元素的value，然后在服务端处理完数据后把该value拼接回editValue实现将被删除的value回填到输入框的效果\n        */\n        if (isLabelStyle && this.cacheDeleteItemValue) {\n          newState.editValue += \"\".concat(newState.editValue ? _const.F7_DELIMITER : '').concat(this.cacheDeleteItemValue);\n          this.cacheDeleteItemValue = '';\n          needQueryAgain = true;\n        }\n      }\n\n      // 前后'refreshId'不同,表示前一次模糊查询结果已经回来\n      var refreshIdChanged = nextProps.refreshId !== this.props.refreshId;\n      if (refreshIdChanged && (!nextProps.lookUpList || nextProps.lookUpList.count() < 1)) {\n        this._queryStatus = _baseDataConst.QueryStatus.nodata;\n      }\n      // 前后'filterFrequentRefreshId'不同,表示前一次常用过滤结果已经回来\n      var filterFrequentRefreshIdChanged = nextProps.filterFrequentRefreshId !== this.props.filterFrequentRefreshId;\n      if (filterFrequentRefreshIdChanged && nextProps.filterFrequent.size < 1) {\n        newState.dropDownType = _baseDataConst.DropDownType.none;\n      }\n      newState.filterFrequent = nextProps.filterFrequent;\n      this.prePropValue = this.props.value; // 把传进来的value 进行保存、比较\n      var afterSetState = function afterSetState() {\n        if (_this8.isMulBaseData() && nextProps.editStyle !== 1 && nextProps.value !== _this8.prePropValue && _this8.inputByUserFlag) {\n          // 还有一种按钮编辑模式，这种模式无需处理\n          if (_this8.prePropValue.length <= nextProps.value.length) {\n            // 添加的情况\n            var startIndex = (0, _baseDataUtil.getFirstDiffIndex)(_this8.prePropValue, nextProps.value);\n            (0, _toolUtils.setCursorPosition)(_this8._txtQSInput, startIndex);\n          }\n        }\n        isLabelStyle && _this8.state.focused && _this8.contentArea.current && (0, _baseDataUtil.scrollIntoBottom)(_this8.contentArea.current);\n        needQueryAgain && _this8.onHandleChange(_this8.getSelectValue(), true);\n      };\n      // 模糊查询下拉列表数据changed 或 之前的被清空了\n      if (refreshIdChanged) {\n        var newLookUpList = newState.lookUpList = nextProps.lookUpList;\n        var newEditValue = this.state.editValue;\n        var selectedIndex = 0;\n        if ((newLookUpList === null || newLookUpList === void 0 ? void 0 : newLookUpList.count()) > 0 && newEditValue !== null && newEditValue !== '') {\n          var selIndex = newLookUpList.findIndex(function (item) {\n            return item.get(1) === newEditValue;\n          });\n          if (selIndex !== -1) {\n            selectedIndex = selIndex;\n          }\n        }\n        newState.selectedIndex = selectedIndex;\n        this.setState(newState, function () {\n          // 模糊查询更新弹出面板需要重新计算位置\n          // this.panelRef.current?.calcPosition()\n          _this8.renderDropDownPanel();\n          afterSetState();\n        });\n      } else {\n        this.setState(newState, afterSetState);\n      }\n    }\n  }, {\n    key: \"convertEditToCode\",\n    value: function convertEditToCode() {\n      // 转编码直接在内部处理，外面修改涉及到很多逻辑改动\n      var mulEditCode = this.state.mulEditCode;\n      var _this$props9 = this.props,\n        editConnector = _this$props9.editConnector,\n        editProp = _this$props9.editProp;\n      var alldata = this.getAllData();\n      return (0, _baseDataUtil.convertToCode)(mulEditCode.join(_const.F7_DELIMITER), alldata, editConnector, editProp, _serverproperties.Ctrls.KDMulBaseData);\n    }\n  }, {\n    key: \"saveDataForMulBaseFrequent\",\n    value: function saveDataForMulBaseFrequent(needBlur) {\n      var newqueryStr = this.convertEditToCode();\n      this.props.setItemByNumber && this.props.setItemByNumber(newqueryStr);\n      this.setState({\n        dropDownType: _baseDataConst.DropDownType.none,\n        focused: !needBlur\n      });\n      this.needLoadSelect = false;\n      this.noHandleFocus = false;\n    }\n  }, {\n    key: \"getFilterFrequent\",\n    value: function getFilterFrequent() {\n      var focused = this.state.focused;\n      this.props.onFilterFrequent && focused && this.props.onFilterFrequent(this.props.frequent);\n      this._queryStatus = _baseDataConst.QueryStatus.loading;\n    }\n\n    // 获取或失去焦点时\n  }, {\n    key: \"onHandleFocus\",\n    value: function onHandleFocus(isFocused, editValue) {\n      var _this9 = this;\n      var showList = this.state.showList;\n      if (this.isDisabled() || this.noHandleFocus) return; // 当不可编辑或者锁定的时候不执行f7事件(Text组件不使用原生disabled属性锁定，导致禁用时也可触发onFocus事件，这里做兼容处理)\n      // 在多选资料我的常用进行选择变更后，需要先从后台拿到最新的数据再做处理\n      if (this.needLoadSelect) {\n        this.saveDataForMulBaseFrequent(true);\n        return;\n      }\n      var isLabelStyle = this.isLabelStyle();\n      if (isLabelStyle) {\n        // 以选项标签风格时，输入框内的值只是当前新增的，不包含原先已选的，所以此处要拼接回完整的\n        editValue = \"\".concat(this.props.value).concat(this.props.value && editValue ? _const.F7_DELIMITER : '').concat(editValue);\n      }\n      // let input = ReactDOM.findDOMNode(this._txtQSInput)\n      var input = this.getInputDom();\n      clearTimeout(this.timer);\n      if (this.state.focused !== isFocused) {\n        this.setState({\n          focused: isFocused,\n          dropDownType: _baseDataConst.DropDownType.myFrequent,\n          frequentSelectedIndex: 0,\n          filterFrequent: (0, _immutable.List)()\n        }, function () {\n          // 单据体中需要绑定该面板，否则点击后会被取消编辑态\n          _this9.props.getPopupPanel && _this9.props.getPopupPanel(_this9.attachElement);\n          if (_this9.canShowMyFrequent()) {\n            _this9.bindEvent();\n            _this9.getFilterFrequent();\n          }\n          if (isLabelStyle && isFocused && _this9.contentArea.current) {\n            (0, _baseDataUtil.scrollIntoBottom)(_this9.contentArea.current);\n          }\n        });\n      }\n      // 枚举面板在F7取消后，焦点仍然在输入框，重新聚焦后面板判定逻辑需要刷新\n      if (isFocused && !!this.props.handleEnumChange && this.state.focused === isFocused) {\n        this.forceUpdate();\n      }\n      // if (editValue !== undefined) { //不做处理,防止服务端发送的空格(' ')字符串\n      //     editValue = editValue.trim()\n      // }\n      // 在多选基础资料中props传进来的value进行了分割符的拼接\n      if (this.isMulBaseData() && editValue && !editValue.endsWith(_const.F7_DELIMITER)) {\n        editValue += _const.F7_DELIMITER;\n      }\n      if (!isFocused && this.props.value !== editValue) {\n        // todo:发送精确匹配请求到server (清空旧的F7的值 (由服务端发指令清空，前端不处理))\n        if (this.props.value === '' && this.props.alias === '' && editValue === '') {\n          // todo: nothing\n        } else {\n          // server端机制:要发送的f7值与当前前端f7值一样,就不再重复发.\n          if (showList === false) {\n            // this.props.setItemByNumber && this.props.setItemByNumber(editValue) // onBlur and value(f7'code) changed.\n            // 如果是实时搜索，在关闭面板的时候发起请求前会先把值置回原来的值，但是如果设置为enter 才触发模糊查询，这里需要手动执行一次值还原\n            // 如果是没开启模糊查询也先把值还原\n            if (this.props.enterToQuery || this.props.openFuzzyQuery === false) {\n              this.setState({\n                editValue: this.props.value\n              });\n            }\n            if (!this.selectFromFrequent) {\n              this.doSetItemByNumber(this.getSetItemByNumberValues(editValue));\n            }\n            this.selectFromFrequent = false;\n            // 如果必录，则前端不自动清空旧的值(用户手动清空输入框中编辑值+之前F7已经有个旧值)\n            this.props.mustInput && this.resetEditData();\n          }\n        }\n      }\n      if (isFocused) {\n        if (this.props.getPopupPanel) {\n          // 在grid中\n          this.timer = setTimeout(function () {\n            input.select();\n          }, 0);\n        } else if (this.props.fromSpread) {\n          // do nothing\n        } else {\n          this.timer = setTimeout(function () {\n            // 单据头\n            input.select();\n          }, 0);\n        }\n        var _this$props10 = this.props,\n          showFrequent = _this$props10.showFrequent,\n          openFuzzyQuery = _this$props10.openFuzzyQuery,\n          enterToQuery = _this$props10.enterToQuery;\n        // 没值的时候焦点自动弹出模糊查询面板 只针对下拉模式\n        if (!showFrequent && openFuzzyQuery !== false && this.isSelectModel() && !enterToQuery) {\n          this.showLookUpListPanel();\n        }\n      }\n      if (!isFocused) {\n        this.inputByUserFlag = false;\n        this.preInputText = null;\n        this.enterQueryStr = null;\n        this.hasChangeInputTextFlag = false;\n      }\n    }\n  }, {\n    key: \"changeInputText\",\n    value: function changeInputText(value, flag) {\n      var val = value;\n      if (this.isMulBaseData() && !this.isLabelStyle() && this._txtQSInput && value && this.props.value.length < value.length) {\n        // 这里this.props.value最后包含分割符 eg: 1;2;3; 所以这里不能=\n        var selectionStart = this._txtQSInput.selectionStart; // selectionStart: 光标前面有几个字符\n        var preInputText = this.preInputText === null ? this.props.value : this.preInputText;\n        var isAdd = value.length - (preInputText === null || preInputText === void 0 ? void 0 : preInputText.length) > 0; // 只有值插入的时候才会自动添加分割符\n        var isInHead = selectionStart === 1 && value.length !== 1 && value[1] !== _const.F7_DELIMITER; // 在首部添加\n        var isInMid = selectionStart !== value.length && value[selectionStart - 2] === _const.F7_DELIMITER && value[selectionStart] !== _const.F7_DELIMITER; // 在中间添加 光标后也不能为分隔符，否则会出现多个分割符的问题\n        if (isAdd && (isInHead || isInMid)) {\n          var endWithDelimiter = (0, _lodash.endsWith)(value, _const.F7_DELIMITER);\n          this._txtQSInput.value = val = value.substring(0, selectionStart) + _const.F7_DELIMITER + value.substring(selectionStart, endWithDelimiter ? value.length - 1 : value.length);\n          (0, _toolUtils.setCursorPosition)(this._txtQSInput, selectionStart);\n        }\n      }\n      if (flag) {\n        this.preInputText = value; // preInputText 用来记录上一次输入的值\n      }\n      if (this.isMulbaseDataFrequent() && this.isLabelStyle()) {\n        var _this$state3 = this.state,\n          showList = _this$state3.showList,\n          mulEditCode = _this$state3.mulEditCode;\n        var code = this.props.code;\n        // 防止多选基础资料常用下拉列表退格时候误触发change事件导致逻辑错误\n        if (!value) {\n          if (!this.props.value && this.props.enterToQuery) {\n            this.setState({\n              editValue: ''\n            });\n          }\n          return;\n        }\n        // 标签风格多选基础资料常用列表中做了操作后，出现需要模糊搜索的交互，需要先做一次保存\n        if (mulEditCode.join(_const.F7_DELIMITER) !== code && !showList) {\n          this.saveDataForMulBaseFrequent(false);\n          this.searchValue = value;\n          return;\n        }\n      }\n      this.inputByUserFlag = true;\n      this.onHandleChange(val, flag);\n    }\n  }, {\n    key: \"handleCompositionStart\",\n    value: function handleCompositionStart(e) {\n      var value = e.target.value;\n      if (this.isMulBaseData() && this._txtQSInput && value && !this.isLabelStyle()) {\n        var selectionStart = this._txtQSInput.selectionStart; // selectionStart: 光标前面有几个字符\n        var selectionEnd = this._txtQSInput.selectionEnd; // 排除全选的那种情况\n        var isInHead = selectionStart === 0 && selectionEnd === 0 && value[0] !== _const.F7_DELIMITER; // 在首部添加\n        var isInMid = selectionStart !== value.length && value[selectionStart - 1] === _const.F7_DELIMITER && value[selectionStart] !== _const.F7_DELIMITER; // 不能是在最后并且光标前是分号\n        if (isInHead || isInMid) {\n          this._txtQSInput.value = value.substring(0, selectionStart) + _const.F7_DELIMITER + value.substring(selectionStart, value.length - 1);\n          (0, _toolUtils.setCursorPosition)(this._txtQSInput, selectionStart);\n        }\n      }\n    }\n\n    /**\n     *  值改变处理函数\n     * @param {*} editValue 编辑框内容\n     * @param {boolean} [triggerEvent=true] 是否触发模糊查询等相关请求(中文输入法会频繁触发模糊查询，所以在中文输入完成前不触发事件，其他字符输入不影响)\n     * @memberof BaseData\n     */\n  }, {\n    key: \"onHandleChange\",\n    value: function onHandleChange(inputValue) {\n      var _this10 = this;\n      var triggerEvent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n      if (this.isDisabled()) return;\n      var queryStr = this.getQueryStr(inputValue);\n      // 在uos系统浏览器下和某低版本360下，点击基础资料下拉模式在什么值都没变的时候会触发handleChange事件\n      if (triggerEvent && !this.hasChangeInputTextFlag && inputValue === this.props.value) return;\n      if (triggerEvent && inputValue !== this.props.value) {\n        this.hasChangeInputTextFlag = true;\n      }\n      if (this.isLabelStyle()) {\n        // 以选项标签风格时，输入框内的值只是当前新增的，不包含原先已选的，所以此处要拼接回完整的\n        inputValue = \"\".concat(this.props.value).concat(inputValue);\n      }\n      var afterChanged = function afterChanged() {\n        _this10.props.onChange && _this10.props.onChange(inputValue); // used by grid\n        if (_this10.props.openFuzzyQuery !== false) {\n          queryStr = inputValue !== '' && _this10.isMulBaseData() && queryStr === '' ? ' ' : queryStr; // 多选F7,编辑内容不为空但当前编辑关键字变为了空，则触发自动查询\n          if (!_this10.props.enterToQuery) {\n            _this10.props.onBaseDataChange && _this10.props.onBaseDataChange(_this10.getLookUpInfo(queryStr)); // 模糊查询\n          } else {\n            _this10.enterQueryStr = queryStr;\n          }\n        }\n        _this10.props.handleValidate && _this10.props.handleValidate(inputValue);\n      };\n      var newStateContent = {};\n      if (this.state.focused) {\n        newStateContent = {\n          editValue: inputValue,\n          alias: inputValue === this.props.value ? this.props.alias : '',\n          moreClickTimes: 0,\n          lookUpList: (0, _immutable.List)() // 清空前一次查询结果\n        };\n      }\n      // 下拉风格在关闭模糊查询时，当改变输入框值时，不需要显示模糊查询面板\n      if (this.props.openFuzzyQuery === false && this.isSelectModel()) {\n        this.setState({\n          showList: false\n        });\n      }\n      this._queryStatus = _baseDataConst.QueryStatus.loading;\n      if (inputValue === '') {\n        this.enterQueryStr = '';\n        this.setState(Object.assign({}, newStateContent, {\n          showList: false,\n          dropDownType: _baseDataConst.DropDownType.myFrequent,\n          frequentSelectedIndex: 0,\n          lookUpList: (0, _immutable.List)(),\n          mulEditCode: [],\n          selectedFrequentItems: []\n        }), function () {\n          if (this.canShowMyFrequent()) {\n            // 清空之后如果需要展示我的常用面板则重新绑定事件\n            this.bindEvent();\n            this.getFilterFrequent();\n          } else {\n            // 否则解绑事件并清空this.attachElement\n            this.unbindEvent();\n            this.destroyDropDownPanel();\n          }\n          if (triggerEvent) {\n            afterChanged();\n          }\n        });\n      } else {\n        var updateStateObj = {};\n        if (this.props.openFuzzyQuery !== false) {\n          if (!this.props.enterToQuery) {\n            updateStateObj.showList = true;\n            updateStateObj.dropDownType = _baseDataConst.DropDownType.fuzzyQuery;\n          } else {\n            // 开启了enter触发模糊查询，如果已弹出下拉面板再次输入值会关闭下拉面板\n            if (this.state.showList) {\n              updateStateObj.showList = false;\n              updateStateObj.dropDownType = _baseDataConst.DropDownType.none;\n            }\n          }\n        }\n        this.setState(Object.assign({}, newStateContent, updateStateObj), function () {\n          this.unbindEvent();\n          this.bindEvent();\n          if (triggerEvent) {\n            afterChanged();\n            if (this.props.openFuzzyQuery !== false) {\n              this.renderDropDownPanel();\n            }\n          }\n          // this.renderDropDownPanel()\n        });\n      }\n    }\n  }, {\n    key: \"showLookUpListPanel\",\n    value: function showLookUpListPanel(str) {\n      var _this11 = this;\n      this.setState({\n        selectedIndex: 0,\n        showList: true,\n        dropDownType: _baseDataConst.DropDownType.fuzzyQuery\n      }, function () {\n        _this11.unbindEvent();\n        _this11.bindEvent();\n        var queryStr = str === undefined ? ' ' : str;\n        _this11.props.onBaseDataChange && _this11.props.onBaseDataChange(_this11.getLookUpInfo(queryStr)); // 模糊查询\n        _this11.renderDropDownPanel();\n      });\n    }\n\n    /**\n     * 处理鼠标按下查询出来的列表元素时的事件\n     * @memberof BaseData\n     */\n  }, {\n    key: \"onMouseDownPuzzyItem\",\n    value: function onMouseDownPuzzyItem() {\n      // 多选基础资料点选后必选保持输入框焦点还在，所以此时不能触发onHandleFocus，\n      // 故先在输入框失焦前先告知onHandleFocus直接return，之后在selectItem后把焦点还回输入框\n      if (this.isMulBaseData()) {\n        this.noHandleFocus = true;\n      }\n    }\n\n    // 是否下拉模式\n  }, {\n    key: \"isSelectModel\",\n    value: function isSelectModel() {\n      return this.props.displayType - 0 === 1;\n    }\n  }, {\n    key: \"onClick\",\n    value: function onClick(e) {\n      var _this12 = this;\n      if (this.props.isDesigner) {\n        // 设计器中不响应\n        return;\n      }\n      var onClick = this.props.onClick;\n      if (this.isSelectModel()) {\n        // 点击下拉图标，主动发送(模糊)查询请求\n        if (this.state.showList) {\n          this.setState({\n            editValue: this.props.value,\n            alias: this.props.alias,\n            showList: false,\n            dropDownType: _baseDataConst.DropDownType.none,\n            lookUpList: (0, _immutable.List)()\n          }, function () {\n            _this12.unbindEvent();\n            _this12.destroyDropDownPanel();\n          });\n        } else {\n          if (!this.props.enterToQuery) {\n            this.onHandleChange(' '); // 模拟模糊查询\n            // // 如果没有开启模糊查询，UE要求也要展示模糊查询面板\n            if (this.props.openFuzzyQuery === false) {\n              this.showLookUpListPanel();\n              this.props.getPopupPanel && this.props.getPopupPanel(this.attachElement); // used by grid\n              this.forceUpdate();\n            } else {\n              this.onHandleChange(' '); // 模拟模糊查询\n            }\n          } else {\n            this.showLookUpListPanel();\n          }\n          setTimeout(function () {\n            var _this12$attachElement;\n            (_this12$attachElement = _this12.attachElement) === null || _this12$attachElement === void 0 || _this12$attachElement.focus();\n          }, 0);\n        }\n      } else {\n        onClick && onClick(e);\n      }\n    }\n\n    // 基础资料旁边的浮动按钮,点击打开基础资料详细信息界面\n  }, {\n    key: \"onViewDetailBtnClick\",\n    value: function onViewDetailBtnClick(e) {\n      this.props.onViewDetailBtnClick && this.props.onViewDetailBtnClick(this.props.value);\n    }\n\n    // 是否当前只选中了一个基础资料(当前是否有数据)\n  }, {\n    key: \"hasOneF7Data\",\n    value: function hasOneF7Data() {\n      var _this$props11 = this.props,\n        alias = _this$props11.alias,\n        value = _this$props11.value;\n      return alias !== undefined && alias !== '' && value !== undefined && value !== '';\n    }\n\n    // 搜索结果是否有记录\n  }, {\n    key: \"hasLookUpDatas\",\n    value: function hasLookUpDatas() {\n      var lookUpList = this.state.lookUpList;\n      return lookUpList !== undefined && lookUpList.count() > 0;\n    }\n\n    // 点击'模糊查询-下拉面板上'的'新增'按钮\n  }, {\n    key: \"onClickAddBtn\",\n    value: function onClickAddBtn(e) {\n      var editValue = this.state.editValue || '';\n      this.onTxtQSInputBlur();\n      this.resetEditData();\n      this.props.onClickAddBtn && this.props.onClickAddBtn(editValue);\n    }\n  }, {\n    key: \"resetEditData\",\n    value:\n    // 还原编辑前数据状态\n    function resetEditData(calllback) {\n      this.setState({\n        showList: false,\n        dropDownType: _baseDataConst.DropDownType.none,\n        focused: false,\n        lookUpList: (0, _immutable.List)(),\n        editValue: this.props.value || '',\n        alias: this.props.alias || ''\n      }, function () {\n        calllback && calllback();\n      });\n    }\n\n    // 中文输入，频繁触发\n  }, {\n    key: \"setInput\",\n    value: function setInput(input) {\n      var _this13 = this;\n      input = _reactDom[\"default\"].findDOMNode(input);\n      this._txtQSInput = input;\n      if (this.props.isMulLine && input) {\n        this._txtQSInput = input.childNodes[0]; // 多行文本外面包了div\n      }\n      if (this._txtQSInput) {\n        // this.input=input\n        this.removeListener = (0, _listenInput[\"default\"])(this._txtQSInput, function (value) {\n          // console.warn(`input-value: ${value}`);\n          // 这里listenInput 获取的value 偶发会是undefined\n          _this13.changeInputText(value !== null && value !== void 0 ? value : '', true);\n          // this.onHandleChange(value)\n        }, {\n          timeout: 0,\n          isCache: false,\n          isSupressChangeBreak: this.props.isSupressChangeBreak\n        });\n      } else {\n        this.removeListener && this.removeListener();\n        this._txtQSInput = undefined;\n      }\n    }\n\n    // 是否显示'我的常用'\n  }, {\n    key: \"canShowMyFrequent\",\n    value: function canShowMyFrequent() {\n      var _this$props12 = this.props,\n        type = _this$props12.type,\n        showFrequent = _this$props12.showFrequent;\n      // 多选基础资料当光标在已选择的值后面且后面没值得时候也要显示\n      if (type === _serverproperties.Ctrls.KDMulBaseData) {\n        return this.state.focused && !this.state.showList && showFrequent && this.props.frequent && this.props.frequent.size > 0;\n      }\n      return this.state.focused && !this.state.showList && showFrequent && !this.state.editValue && this.props.frequent && this.props.frequent.size > 0;\n    }\n  }, {\n    key: \"isDisabled\",\n    value:\n    // 是否锁定\n    function isDisabled() {\n      return this.props.disabled === true || this.props.editble === false || this.props.isDesigner;\n    }\n  }, {\n    key: \"getInputDom\",\n    value: function getInputDom() {\n      return this._txtQSInput;\n    }\n  }, {\n    key: \"componentDidUpdate\",\n    value: function componentDidUpdate() {\n      if (this.isLabelStyle() && this._txtQSInput) {\n        // 标签风格时根据内容动态设置输入框的宽度\n        this._txtQSInput.style.width = \"\".concat(this.getInputWidthByMirror(), \"px\");\n      }\n    }\n  }, {\n    key: \"isLabelStyle\",\n    value: function isLabelStyle() {\n      return this.props.selectedItemStyle === 'label';\n    }\n\n    // 是不是多选基础资料\n  }, {\n    key: \"isMulBaseData\",\n    value: function isMulBaseData() {\n      return this.props.type === _serverproperties.Ctrls.KDMulBaseData;\n    }\n\n    // 是不是处于多选基础资料我的常用列表展开情况下\n  }, {\n    key: \"isMulbaseDataFrequent\",\n    value: function isMulbaseDataFrequent() {\n      var dropDownType = this.state.dropDownType;\n      return this.props.type === _serverproperties.Ctrls.KDMulBaseData && dropDownType == _baseDataConst.DropDownType.myFrequent && this.canShowMyFrequent();\n    }\n\n    // 获取模糊查询关键字(单选F7:整个编辑内容; 多选F7:编辑的特定记录，即逗号分隔的内容)\n  }, {\n    key: \"getQueryStr\",\n    value: function getQueryStr(queryStr) {\n      if (!this.isMulBaseData()) {\n        return queryStr;\n      }\n      if (this._txtQSInput && queryStr) {\n        // 多选F7获取到焦点时只显示编码(单选可配置显示编码or名称)\n        // if (queryStr.indexOf(Delimiter) < 0) { // 只有一条记录\n        //   return queryStr\n        // }\n        // 如果输入框中用户录入内容是‘中文版分割符’,前端自动转为‘英文版分割符’\n        queryStr = (0, _baseDataUtil.replaceIllegalDelimiter)(queryStr);\n        var selectionStart = this._txtQSInput.selectionStart; // selectionStart: 光标前面有几个字符\n        var startIndex = queryStr.slice(0, selectionStart).lastIndexOf(_const.F7_DELIMITER) + 1; // 光标前面最近一个分隔符index\n        var endIndex = queryStr.slice(selectionStart).indexOf(_const.F7_DELIMITER); // 光标后面第一个分隔符index\n        // 已选项标签模式时由于输入框不包含已选的数据，所以startDelimiter为已选数据长度+1\n        // 末尾为空字符串的时候，需要把空字符串长度排除在外，否则计算 getSetItemByNumberValues 的时候会出现 [a, ,b]的参数，当后台存在空编码的情况下会有交互错误\n        var startDelimiter = queryStr.slice(0, selectionStart).split(_const.F7_DELIMITER).filter(Boolean).length;\n        endIndex = endIndex === -1 ? queryStr.length : selectionStart + endIndex; // 搜索关键字结束index\n        queryStr = queryStr.slice(startIndex, endIndex);\n        this._mulBaseDataQueryInfo = {\n          queryStr: queryStr,\n          startIndex: startIndex,\n          endIndex: endIndex,\n          startDelimiter: startDelimiter\n        };\n        return queryStr;\n      }\n      return queryStr;\n    }\n\n    /*\n      获取精确匹配的基础资料内容\n      newEditvalue: 当前输入框中编辑时的全部文本内容\n      currentEditvalue: 当前文本框中编辑值\n      return: '11,22,33'\n    */\n  }, {\n    key: \"getSetItemByNumberValues\",\n    value: function getSetItemByNumberValues(currentEditvalue, newEditvalue) {\n      if (this.isMulBaseData() && currentEditvalue) {\n        if (this._mulBaseDataQueryInfo && this.state.editValue) {\n          var result = [];\n          if (newEditvalue) {\n            newEditvalue = (0, _baseDataUtil.replaceIllegalDelimiter)(newEditvalue);\n            result = newEditvalue.split(_const.F7_DELIMITER);\n            if (newEditvalue === _const.F7_DELIMITER) {\n              // 特殊情况：只有一个逗号\n              result = [currentEditvalue];\n            } else {\n              // 标签风格，新选的值只可能出现在最后\n              if (this.isLabelStyle()) {\n                result[result.length - 1] = currentEditvalue;\n              } else {\n                result[this._mulBaseDataQueryInfo.startDelimiter - 1] = currentEditvalue;\n              }\n            }\n          } else {\n            var value = (0, _baseDataUtil.replaceIllegalDelimiter)(this.state.editValue);\n            result = value.split(_const.F7_DELIMITER);\n            if (value !== currentEditvalue) {\n              result[this._mulBaseDataQueryInfo.startDelimiter - 1] = currentEditvalue;\n            }\n          }\n          return result.join(_const.F7_DELIMITER);\n        }\n      }\n      return currentEditvalue;\n    }\n\n    // 模糊查询，根据pkid匹配数据\n  }, {\n    key: \"doSetItemByIdFromClient\",\n    value: function doSetItemByIdFromClient(pkid, isSameCode) {\n      this.preInputText = null;\n      this.props.onBaseDataSelectItem && this.props.onBaseDataSelectItem(pkid, isSameCode);\n    }\n\n    // 根据关键字做精确匹配\n    // isSelect 用来判断是否是选中操作,用来区分点击其他位置关闭面板操作\n  }, {\n    key: \"doSetItemByNumber\",\n    value: function doSetItemByNumber(queryStr, isSelect) {\n      var _this14 = this;\n      var newqueryStr = queryStr;\n      var onConvertToCode = this.props.onConvertToCode;\n      if (onConvertToCode) {\n        // 如果是编辑属性不是编码\n        newqueryStr = onConvertToCode(newqueryStr);\n      }\n      if (newqueryStr) {\n        var arr = [];\n        // 表格多选基础失焦时发送过来的值是A；B\n        // 单头发送过来的是codeA,B\n        var splitChar = newqueryStr.includes(',') ? ',' : _const.F7_DELIMITER;\n        newqueryStr.split(splitChar).forEach(function (str) {\n          var results = (_this14.state.lookUpList || (0, _immutable.fromJS)([])).filter(function (basedata) {\n            return basedata.get(2) === str;\n          });\n          if (results.size === 1) {\n            arr.push(results.get(0).get(1));\n          } else {\n            arr.push(str);\n          }\n        });\n        newqueryStr = arr.join(splitChar);\n      }\n      this.preInputText = null;\n      this.props.setItemByNumber && this.props.setItemByNumber(newqueryStr, isSelect);\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this15 = this;\n      var _this$props13 = this.props,\n        initPuzzyQueryValue = _this$props13.initPuzzyQueryValue,\n        value = _this$props13.value,\n        isMulLine = _this$props13.isMulLine,\n        showFrequent = _this$props13.showFrequent,\n        type = _this$props13.type,\n        code = _this$props13.code,\n        displayProp = _this$props13.displayProp,\n        editProp = _this$props13.editProp;\n\n      // 初始模糊查询的值\n      if (initPuzzyQueryValue && initPuzzyQueryValue !== value && !this.isDisabled()) {\n        var input = this.getInputDom();\n        if (input) {\n          input.focus();\n          setTimeout(function () {\n            var e = document.createEvent('Event');\n            e.initEvent('input', true, true); // 模拟一个input event，触发文本框值改变从而进行模糊查询\n            input.value = initPuzzyQueryValue;\n            input.dispatchEvent(e);\n          }, 0);\n        }\n      }\n      // 滚动时使标签风格的多选基础资料失去焦点，避免滚动过程浮层遮盖到其他元素\n      if (this.isLabelStyle() && this.props.labelStylePositionType === 'fixed') {\n        this.scrollBlurLabelStyleInput = document.addEventListener('scroll', this.labelStyleInputBlur, true);\n      }\n      if (this.isLabelStyle() && this._txtQSInput) {\n        // 标签风格时根据内容动态设置输入框的宽度\n        this._txtQSInput.style.width = \"\".concat(this.getInputWidthByMirror(), \"px\");\n      }\n      isMulLine && this.setTextareaHeight();\n\n      // 多选基础资料开启我的常用的需要在常用列表出现之前和请求一遍过滤后的数据\n      if (type === _serverproperties.Ctrls.KDMulBaseData && showFrequent) {\n        var _this$props$selectedD;\n        var selectedFrequentItems = (_this$props$selectedD = this.props.selectedData) !== null && _this$props$selectedD !== void 0 && _this$props$selectedD.size ? code.split(_const.F7_DELIMITER) : [];\n        selectedFrequentItems = selectedFrequentItems.map(function (item, index) {\n          var _this15$props$selecte;\n          return item || ((_this15$props$selecte = _this15.props.selectedData) === null || _this15$props$selecte === void 0 ? void 0 : _this15$props$selecte.getIn([index, 1]));\n        });\n        this.setState({\n          mulEditCode: code ? code.split(_const.F7_DELIMITER) : [],\n          selectedFrequentItems: selectedFrequentItems\n        });\n      }\n      if (this.bdElement.current && displayProp === editProp) {\n        this.bdElement.current[_const.DATA_BIND_SET_FOCUS_CALLBACK] = this._handleSetFocusEvent;\n      }\n      // f7快捷键打开的情况下焦点在输入框内，所以输入框也需要绑定回调\n      if (this._txtQSInput && displayProp === editProp) {\n        this._txtQSInput[_const.DATA_BIND_SET_FOCUS_CALLBACK] = this._handleSetFocusEvent;\n      }\n    }\n  }, {\n    key: \"labelStyleInputBlur\",\n    value:\n    // 滚动时使标签风格的多选基础资料失去焦点，避免滚动过程浮层遮盖到其他元素\n    function labelStyleInputBlur(event) {\n      var _this16 = this;\n      if (!this.isLabelStyle() || !this.state.focused || !this.bdElement.current || this.contentArea.current.contains(event.target) || this.isKeySelecting) {\n        return false;\n      }\n      if (this.isMulbaseDataFrequent()) {\n        return;\n      }\n      this.noHandleFocus = false;\n      if (this.state.showList) {\n        this.setState({\n          showList: false\n        }, function () {\n          _this16._txtQSInput.blur();\n        });\n      } else {\n        this._txtQSInput.blur();\n      }\n    }\n\n    // 已选项标签风格时计算在编辑状态下基础资料选框的定位位置（为了避免高度撑开影响其他字段布局，此处做fixed浮动处理） hwh\n  }, {\n    key: \"getLabelStylePositionStyle\",\n    value: function getLabelStylePositionStyle() {\n      var bdElementDom = this.bdElement.current;\n      var parentNode = bdElementDom.parentNode;\n      var labelStylePositionType = this.props.labelStylePositionType;\n      if (labelStylePositionType !== 'fixed') {\n        if (labelStylePositionType === 'absolute') {\n          return {\n            position: labelStylePositionType,\n            width: \"\".concat(parentNode.offsetWidth, \"px\"),\n            minHeight: \"\".concat(parentNode.offsetHeight, \"px\")\n          };\n        } else {\n          return {\n            position: labelStylePositionType\n          };\n        }\n      }\n      var postion = (0, _elementUtil.getPanelScreenByTrigger)({\n        panel: bdElementDom,\n        trigger: parentNode\n      });\n      var triggerScreen = parentNode.getBoundingClientRect(); // 将父元素作为定位基础元素\n      // 触发器下方剩余高度\n      var bottomHeight = window.innerHeight - triggerScreen.top - parentNode.offsetHeight;\n      // 触发器上方剩余高度\n      var topHeight = triggerScreen.top;\n      var isPostionInParentBottom = bottomHeight >= bdElementDom.offsetHeight || bottomHeight > topHeight;\n      var borderOffset = this.props.allBorder ? 0 : 1;\n      return {\n        position: labelStylePositionType,\n        width: \"\".concat(parentNode.offsetWidth, \"px\"),\n        minHeight: \"\".concat(parentNode.offsetHeight, \"px\"),\n        left: \"\".concat(postion.left, \"px\"),\n        top: \"\".concat(isPostionInParentBottom ? postion.top - parentNode.offsetHeight + borderOffset : postion.top + parentNode.offsetHeight + borderOffset, \"px\")\n      };\n    }\n\n    /**\n     * 删除选择的已选项\n     * @param {*} excludeValueIndex 要删除的值的索引\n     * @memberof BaseData\n     */\n  }, {\n    key: \"deleteSelectedItem\",\n    value: function deleteSelectedItem(excludeValueIndex) {\n      var _this$state4 = this.state,\n        alias = _this$state4.alias,\n        mulEditCode = _this$state4.mulEditCode,\n        selectedFrequentItems = _this$state4.selectedFrequentItems,\n        editValue = _this$state4.editValue;\n      var templateSelectedFrequentItems = _toConsumableArray(selectedFrequentItems);\n      // 多选基础资料在我的常用的下拉列表中，当用户进行删除标签的操作的时候，做假删除，在列表取消的时候再交互\n      if (this.isMulbaseDataFrequent()) {\n        var curTempLabel = mulEditCode.length > 0 ? mulEditCode : alias.split(_const.F7_DELIMITER);\n        var curEditValueArr = editValue.split(_const.F7_DELIMITER);\n        var needDeleteIndex = curEditValueArr.indexOf(this.getcurEdit(curTempLabel).split(_const.F7_DELIMITER)[excludeValueIndex]);\n        curEditValueArr.splice(needDeleteIndex, 1);\n        mulEditCode.splice(excludeValueIndex, 1);\n        templateSelectedFrequentItems.splice(excludeValueIndex, 1);\n        this.setState({\n          mulEditCode: _toConsumableArray(curTempLabel),\n          editValue: curEditValueArr.join(_const.F7_DELIMITER),\n          selectedFrequentItems: templateSelectedFrequentItems\n        });\n        // 进行删除交互后，也需要和后端交互一次\n        this.needLoadSelect = true;\n        this.state.focused && this._txtQSInput && this._txtQSInput.focus();\n      } else {\n        var valueArr = this.props.value ? this.props.value.split(_const.F7_DELIMITER) : [];\n        valueArr.splice(excludeValueIndex, 1);\n        var newValue = valueArr.join(_const.F7_DELIMITER);\n        this.doSetItemByNumber(newValue);\n        this.state.focused && this._txtQSInput && this._txtQSInput.focus();\n        this.noHandleFocus = false;\n      }\n    }\n\n    /**\n     * 标签模式根据已选数据渲染视图\n     *\n     * @returns\n     * @memberof BaseData\n     */\n  }, {\n    key: \"getLabelSelectedItemsView\",\n    value: function getLabelSelectedItemsView() {\n      var _this17 = this;\n      var focused = this.state.focused;\n      var _this$props14 = this.props,\n        alias = _this$props14.alias,\n        disabled = _this$props14.disabled,\n        editStyle = _this$props14.editStyle,\n        value = _this$props14.value;\n      var btnEditMode = editStyle === 1;\n      var seletedItemsAlias = this.isMulbaseDataFrequent() ? this.getCurLable() : alias ? alias.split(_const.F7_DELIMITER) : value === \"\".concat(_const.F7_DELIMITER) ? [''] : [];\n      if (seletedItemsAlias[0] === undefined || seletedItemsAlias[0] === null) {\n        var _this$props$clearCont, _this$props15;\n        (_this$props$clearCont = (_this$props15 = this.props).clearControlValue) === null || _this$props$clearCont === void 0 || _this$props$clearCont.call(_this$props15);\n      }\n      var clearIconCls = (0, _classnames12[\"default\"])('kdfont kdfont-guanbi8 hover-theme-fc1', _index4[\"default\"]['base-alia-clearIcon']);\n      var totalTagText = (0, _intlApi.getLangMsg)({\n        key: 'BaseData.key0011',\n        variables: {\n          length: seletedItemsAlias.length\n        }\n      });\n      if (focused || this.props.labelFoldingState === false) {\n        // 输入框获取焦点时显示完整\n        return seletedItemsAlias.map(function (alia, index) {\n          return /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: _index4[\"default\"]['base-selected-alia'],\n            key: index\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: (0, _classnames12[\"default\"])(_index4[\"default\"]['base-selected-alia-text'], 'primary-text-in-light'),\n            title: alia\n          }, alia), !disabled && !btnEditMode && /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n            className: clearIconCls,\n            onMouseEnter: function onMouseEnter() {\n              // 鼠标移入时标记不要触发handleFocus，让点击删除后焦点还在输入框\n              _this17.noHandleFocus = true;\n            },\n            onMouseLeave: function onMouseLeave() {\n              // 鼠标移入时移除不要触发handleFocus的标记\n              _this17.noHandleFocus = false;\n            },\n            onClick: function onClick() {\n              _this17.deleteSelectedItem(index);\n              // 删除之后，需要进入blur方法进行交互，所以要在这里把状态位设为false\n              _this17.noHandleFocus = false;\n            }\n          }));\n        });\n      }\n      return (\n        /*#__PURE__*/\n        // 输入框没有获取焦点时显示第一个元素，其后的所有元素合并为“共n个”\n        _react[\"default\"].createElement(_react[\"default\"].Fragment, null, seletedItemsAlias[0] !== undefined && seletedItemsAlias[0] !== null && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: (0, _classnames12[\"default\"])(_index4[\"default\"]['base-selected-alia'], _defineProperty({}, _index4[\"default\"]['base-first-tag'], seletedItemsAlias.length > 1))\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: (0, _classnames12[\"default\"])(_index4[\"default\"]['base-selected-alia-text'], 'primary-text-in-light'),\n          title: seletedItemsAlias[0]\n        }, seletedItemsAlias[0]), !disabled && !btnEditMode && /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n          className: clearIconCls,\n          onClick: function onClick() {\n            _this17.deleteSelectedItem(0);\n          }\n        })), seletedItemsAlias.length > 1 && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: (0, _classnames12[\"default\"])(_index4[\"default\"]['base-selected-alia'], _index4[\"default\"]['base-total-tag'], 'primary-text-in-light'),\n          onClick: function onClick() {\n            _this17._txtQSInput && _this17._txtQSInput.focus();\n          },\n          title: totalTagText\n        }, totalTagText))\n      );\n    }\n\n    /**\n     * 获取输入框内容\n     *\n     * @returns\n     * @memberof BaseData\n     */\n  }, {\n    key: \"getSelectValue\",\n    value: function getSelectValue() {\n      var _this18 = this;\n      var _this$state5 = this.state,\n        focused = _this$state5.focused,\n        editValue = _this$state5.editValue,\n        mulEditCode = _this$state5.mulEditCode;\n      var _this$props16 = this.props,\n        disabled = _this$props16.disabled,\n        value = _this$props16.value,\n        alias = _this$props16.alias,\n        _this$props16$noValue = _this$props16.noValue,\n        noValue = _this$props16$noValue === void 0 ? '' : _this$props16$noValue;\n      var selectValue = (focused ? editValue !== undefined ? editValue : value : alias) || '';\n      if (!disabled && this.isLabelStyle() && selectValue) {\n        // 锁定态走原文本模式的显示\n        if (focused) {\n          // 标签模式且焦点在输入框时，输入框的内容不包括已选的基础资料\n          // 多选基础资料我的常用下拉走特殊逻辑,当tempLabel有值得时候，直接和tempLabel交互\n          if (this.isMulbaseDataFrequent() && mulEditCode.length > 0) {\n            selectValue = selectValue.split(_const.F7_DELIMITER).filter(function (item) {\n              return _this18.getCurLable().indexOf(item) === -1;\n            }).join(_const.F7_DELIMITER);\n          } else {\n            var selectedItemsLength = alias ? alias.split(_baseDataConst.AliasDelimiter).length : value === \"\".concat(_const.F7_DELIMITER) ? 1 : 0;\n            selectValue = selectValue.split(_const.F7_DELIMITER).slice(selectedItemsLength).join(_const.F7_DELIMITER);\n          }\n        } else {\n          // 标签模式且焦点不在输入框时，输入框的内容为空\n          selectValue = '';\n        }\n      }\n      if (selectValue === '' && !this.isLabelStyle()) {\n        var _this$props$clearCont2, _this$props17;\n        (_this$props$clearCont2 = (_this$props17 = this.props).clearControlValue) === null || _this$props$clearCont2 === void 0 || _this$props$clearCont2.call(_this$props17);\n      }\n      if (disabled === true && selectValue === '') {\n        selectValue = noValue;\n      }\n      return selectValue;\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      return this.renderBDElement();\n    }\n  }]);\n  return BaseData;\n}(_react[\"default\"].Component);\nBaseData.propTypes = {\n  style: _propTypes[\"default\"].object,\n  className: _propTypes[\"default\"].string,\n  alias: _propTypes[\"default\"].string,\n  // f7页面展示的内容\n  value: _propTypes[\"default\"].string,\n  // f7的值\n  placeholder: _propTypes[\"default\"].string,\n  Grow: _propTypes[\"default\"].number,\n  Shrink: _propTypes[\"default\"].number,\n  isNoOption: _propTypes[\"default\"][\"boolean\"],\n  onClick: _propTypes[\"default\"].func,\n  // 搜索按钮点击事件\n  onChange: _propTypes[\"default\"].func\n};\nBaseData.defaultProps = {\n  openFuzzyQuery: true,\n  // 是否打开模糊查询功能(默认打开)\n  frequent: (0, _immutable.List)(),\n  // '我的常用'数据,数据结构与模糊查询列表一样\n  showFrequent: false,\n  // 是否显示'我的常用'下拉面板，默认为false\n  value: '',\n  // 编辑值\n  alias: '',\n  // 未获取焦点时显示内容\n  code: '',\n  // 编码\n  initPuzzyQueryValue: '',\n  // 初始自动做模糊查询的编辑值\n  mustInput: false,\n  // 必录为true,则编辑基础资料之后前端不自动清空\n  selectedItemStyle: 'text',\n  // 已选项风格，可选文本text或标签label，默认为文本text\n  labelStylePositionType: 'fixed',\n  // 标签风格时输入域获取到焦点时的定位方式（处理单据里面有tarnsfrom导致fixed定位偏差的问题）\n  contentAreaStyle: {},\n  isNoOption: false\n};\nvar _default = exports[\"default\"] = BaseData;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/BaseData/index.js?");

/***/ }),

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

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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[\"default\"] = void 0;\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _tableFactory = _interopRequireDefault(__webpack_require__(/*! @/component/common/table/tableFactory */ \"./src/component/common/table/tableFactory.js\"));\nvar _excluded = [\"tableType\"];\n/*\n * @Author: daosheng_chen\n * @Email: daosheng_chen@kingdee.com\n * @Date: 2021-05-18 13:48:29\n * @Last Modified by: daosheng_chen\n * @Last Modified time: 2021-05-18 14:35:53\n * @Description: 基类表格控件\n */\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction BaseTable(props) {\n  var tableType = props.tableType,\n    others = _objectWithoutProperties(props, _excluded);\n  var Table = (0, _tableFactory[\"default\"])(tableType);\n  if (!Table) {\n    throw new Error(\"Table no exist when tableType=\".concat(tableType));\n  }\n  return /*#__PURE__*/_react[\"default\"].createElement(Table, others);\n}\nvar _default = exports[\"default\"] = /*#__PURE__*/(0, _react.memo)(BaseTable, function () {\n  return true;\n}); // 只渲染一次\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/BaseTable.js?");

/***/ }),

/***/ "./src/component/web/base/BillList.jsx":
/*!*********************************************!*\
  !*** ./src/component/web/base/BillList.jsx ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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\");\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.parse-int.js */ \"../../node_modules/core-js/modules/es.parse-int.js\");\n__webpack_require__(/*! core-js/modules/es.promise.js */ \"../../node_modules/core-js/modules/es.promise.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _reactDom = __webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\");\nvar _BillList2 = _interopRequireDefault(__webpack_require__(/*! ../../web/base/BillList.less */ \"./src/component/web/base/BillList.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../../component/common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _excluded = [\"children\", \"style\", \"className\", \"rendPanel\", \"rendToolbar\", \"Wrap\", \"Direction\", \"JustifyContent\", \"AlignContent\", \"AlignItems\", \"Grow\", \"Shrink\", \"AlignSelf\", \"Overflow\", \"isFloatModel\", \"viewType\", \"isSelected\", \"switchOffset\"];\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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); }\nvar BillList = /*#__PURE__*/function (_Component) {\n  _inherits(BillList, _Component);\n  function BillList(props) {\n    var _this;\n    _classCallCheck(this, BillList);\n    _this = _callSuper(this, BillList);\n    _this.billListRef = function (element) {\n      _this.billListDom = element;\n    };\n    _this.state = {\n      billListDidMount: false // dom节点是否挂载完成\n    };\n    return _this;\n  }\n  _createClass(BillList, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      // dom节点挂载完成\n      this.setState({\n        billListDidMount: true\n      });\n    }\n  }, {\n    key: \"rendToolbar\",\n    value: function rendToolbar() {\n      if (this.props.rendToolbar) {\n        var offsetTop = -56; // 偏移的默认值(向上)\n        // 偏移量\n        var switchOffset = this.props.switchOffset;\n        if (switchOffset !== undefined) {\n          switchOffset = parseInt(switchOffset, 10);\n          if (!isNaN(switchOffset)) {\n            offsetTop = offsetTop - switchOffset;\n          }\n        }\n        var OffsetStyle = {\n          top: offsetTop + 'px'\n        };\n        var toolbarStyle = (0, _classnames[\"default\"])(_defineProperty({}, _BillList2[\"default\"].toolbar, true), _defineProperty({}, _BillList2[\"default\"]['toolbar-float'], this.props.isFloatModel));\n        var toolbar = this.props.rendToolbar();\n        return toolbar ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: toolbarStyle,\n          style: OffsetStyle\n        }, \" \", _react[\"default\"].Children.toArray(toolbar)) : null;\n      }\n      console.warn('没有实现rendToolbar方法');\n      return null;\n    }\n  }, {\n    key: \"rendPanel\",\n    value: function rendPanel() {\n      if (this.props.rendPanel) {\n        return this.props.rendPanel(this.props);\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, \"\\u6CA1\\u6709\\u5B9E\\u73B0rendPanel\\u65B9\\u6CD5\");\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        children = _this$props.children,\n        style = _this$props.style,\n        className = _this$props.className,\n        rendPanel = _this$props.rendPanel,\n        rendToolbar = _this$props.rendToolbar,\n        Wrap = _this$props.Wrap,\n        Direction = _this$props.Direction,\n        JustifyContent = _this$props.JustifyContent,\n        AlignContent = _this$props.AlignContent,\n        AlignItems = _this$props.AlignItems,\n        Grow = _this$props.Grow,\n        Shrink = _this$props.Shrink,\n        AlignSelf = _this$props.AlignSelf,\n        Overflow = _this$props.Overflow,\n        isFloatModel = _this$props.isFloatModel,\n        viewType = _this$props.viewType,\n        isSelected = _this$props.isSelected,\n        switchOffset = _this$props.switchOffset,\n        others = _objectWithoutProperties(_this$props, _excluded);\n      var panelStyle = (0, _classnames[\"default\"])(_defineProperty(_defineProperty({}, _BillList2[\"default\"]['bill-list'], true), className, className), (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf\n      }));\n      var toolbar = this.rendToolbar();\n      var listPanel = this.rendPanel();\n      var listStyle = (0, _classnames[\"default\"])(_defineProperty(_defineProperty({}, _BillList2[\"default\"].list, true), _BillList2[\"default\"]['l-visible'], this.props.isFloatModel == true && this.props.viewType === 'qingview'));\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        ref: this.billListRef,\n        className: panelStyle,\n        style: style\n      }, others), this.state.billListDidMount && isFloatModel ? /*#__PURE__*/(0, _reactDom.createPortal)(toolbar, this.billListDom.parentNode) : toolbar, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: listStyle\n      }, listPanel));\n    }\n  }]);\n  return BillList;\n}(_react.Component);\nBillList.propTypes = {\n  className: _propTypes[\"default\"].string,\n  style: _propTypes[\"default\"].object,\n  rendPanel: _propTypes[\"default\"].func,\n  rendToolbar: _propTypes[\"default\"].func\n};\nvar _default = exports[\"default\"] = BillList;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/BillList.jsx?");

/***/ }),

/***/ "./src/component/web/base/Carousel.jsx":
/*!*********************************************!*\
  !*** ./src/component/web/base/Carousel.jsx ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.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-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.getDefaultItems = exports.Carousel = 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.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.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.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 _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 _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _Carousel2 = _interopRequireDefault(__webpack_require__(/*! ./Carousel.less */ \"./src/component/web/base/Carousel.less\"));\nvar _blue = _interopRequireDefault(__webpack_require__(/*! ../img/theme/blue.png */ \"./src/component/web/img/theme/blue.png\"));\nvar _orange = _interopRequireDefault(__webpack_require__(/*! ../img/theme/orange.png */ \"./src/component/web/img/theme/orange.png\"));\nvar _purple = _interopRequireDefault(__webpack_require__(/*! ../img/theme/purple.png */ \"./src/component/web/img/theme/purple.png\"));\nvar _green = _interopRequireDefault(__webpack_require__(/*! ../img/theme/green.png */ \"./src/component/web/img/theme/green.png\"));\nvar _resizeObserve = _interopRequireDefault(__webpack_require__(/*! ../../../util/resizeObserve */ \"./src/util/resizeObserve.js\"));\nvar _kdesign = __webpack_require__(/*! @kdcloudjs/kdesign */ \"webpack/sharing/consume/default/@kdcloudjs/kdesign/@kdcloudjs/kdesign\");\nvar _excluded = [\"showArrow\", \"hoverStop\", \"dotPosition\", \"carouselRef\", \"children\", \"style\", \"needSlideBar\", \"sliderBarStyle\", \"Grow\", \"Shrink\", \"AlignSelf\", \"onClick\", \"className\", \"disabled\", \"height\"];\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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 * Carousel\n */\nvar DOT_POSITION = {\n  0: 'outside',\n  1: 'right',\n  2: 'bottom'\n};\nvar SHOW_ARROW = {\n  0: 'none',\n  1: 'hover',\n  2: 'always'\n};\nvar getDefaultItems = exports.getDefaultItems = function getDefaultItems(imgUrls) {\n  var imgStyle = {\n    display: 'block',\n    width: '100%',\n    height: '100%'\n  };\n  return imgUrls.map(function (item, index) {\n    return /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n      key: index,\n      style: imgStyle,\n      src: item,\n      alt: \"preview\"\n    });\n  });\n};\nvar defaultItems = getDefaultItems([_blue[\"default\"], _orange[\"default\"], _purple[\"default\"], _green[\"default\"]]);\nvar Carousel = exports.Carousel = /*#__PURE__*/function (_React$Component) {\n  _inherits(Carousel, _React$Component);\n  function Carousel(props) {\n    var _this;\n    _classCallCheck(this, Carousel);\n    _this = _callSuper(this, Carousel, [props]);\n    _this.itemClick = function (data) {\n      if (_this.props.itemClick) _this.props.itemClick(data);\n    };\n    _this.onHandleTransitionEnd = function (e) {\n      var currentIndex = _this.state.currentIndex;\n      var childrenL = _this.props.children.length;\n      if (currentIndex === -1) currentIndex = childrenL - 1;\n      if (currentIndex === childrenL) currentIndex = 0;\n      _this.setState({\n        currentIndex: currentIndex,\n        animating: false\n      }, function () {\n        if (_this.props.afterChange) _this.props.afterChange(_this.state.currentIndex);\n        if (_this.state.autoPlay) {\n          _this.setIsHandMove(false);\n          _this.autoPlay();\n        }\n        ;\n      });\n    };\n    _this.setIsHandMove = function (flag) {\n      _this.isHandMove = flag;\n    };\n    _this.prevItem = function () {\n      _this.jumpTo(_this.state.currentIndex - 1);\n    };\n    _this.nextItem = function () {\n      _this.jumpTo(_this.state.currentIndex + 1);\n    };\n    _this.jumpTo = function (index) {\n      if (index >= -1 && index <= _this.props.children.length) {\n        _this.setState({\n          currentIndex: index,\n          animating: true\n        });\n      }\n    };\n    _this.state = {\n      currentIndex: 0,\n      // -1 ~ items.length\n      animating: false,\n      autoPlay: _this.props.autoPlay,\n      isHover: false,\n      isRight: DOT_POSITION[props.dotPosition] === 'right'\n    };\n    _this.isHandMove = false;\n    _this.handleMouseEnter = _this.handleMouseEnter.bind(_assertThisInitialized(_this));\n    _this.handleMouseLeave = _this.handleMouseLeave.bind(_assertThisInitialized(_this));\n    _this.handleHoverEventEnter = _this.handleHoverEventEnter.bind(_assertThisInitialized(_this));\n    _this.handleHoverEventLeave = _this.handleHoverEventLeave.bind(_assertThisInitialized(_this));\n    // ['jumpTo', 'nextItem', 'prevItem', 'setIsHandMove'].forEach(item=>this[item]=this[item].bind(this))\n    return _this;\n  }\n  _createClass(Carousel, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      if (this.props.disabled) return;\n      if (this.state.autoPlay) {\n        this.autoPlay();\n      }\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.stopAutoPlay();\n    }\n  }, {\n    key: \"componentDidUpdate\",\n    value: function componentDidUpdate(prevProps) {\n      this.props.children !== prevProps.children && this.setState({\n        currentIndex: 0\n      });\n      if (this.props.disabled !== prevProps.disabled && !this.props.disabled && this.state.autoPlay) {\n        this.autoPlay();\n      }\n      this.props.dotPosition !== prevProps.dotPosition && this.setState({\n        currentIndex: 0,\n        isRight: DOT_POSITION[this.props.dotPosition] === 'right'\n      });\n    }\n  }, {\n    key: \"renderScrollBar\",\n    value: function renderScrollBar() {\n      var _this$props = this.props,\n        needSlideBar = _this$props.needSlideBar,\n        sliderBarStyle = _this$props.sliderBarStyle,\n        children = _this$props.children,\n        dotPosition = _this$props.dotPosition,\n        style = _this$props.style;\n      var cur = this.state.currentIndex;\n      var len = children.length;\n      if (!needSlideBar) return null;\n      if (len === 1) return null;\n\n      // style.borderRadius sliderBar的蒙层需要处理\n      return /*#__PURE__*/_react[\"default\"].createElement(SliderBar, {\n        dotPosition: dotPosition,\n        borderRadius: style.borderRadius,\n        sliderBarStyle: sliderBarStyle,\n        setIsHandMove: this.setIsHandMove,\n        jumpTo: this.jumpTo,\n        currentIndex: cur,\n        items: children\n      });\n    }\n  }, {\n    key: \"renderArrow\",\n    value: function renderArrow() {\n      var isHover = this.state.isHover;\n      var _this$props2 = this.props,\n        dotPosition = _this$props2.dotPosition,\n        showArrow = _this$props2.showArrow;\n      var show = SHOW_ARROW[showArrow] === 'always' ? true : isHover;\n      var style = {\n        visibility: show ? 'visible' : 'hidden',\n        opacity: show ? 1 : 0\n      };\n\n      // 给箭头也加一个鼠标事件，用于hover箭头时也触发hoverStop。因为hoverStop的事件只绑定给slider\n      return SHOW_ARROW[showArrow] !== 'none' && DOT_POSITION[dotPosition] !== 'right' ? /*#__PURE__*/_react[\"default\"].createElement(JumpArrow, {\n        onMouseEnter: this.handleMouseEnter,\n        onMouseLeave: this.handleMouseLeave,\n        style: style,\n        prevItem: this.prevItem,\n        nextItem: this.nextItem\n      }) : null;\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props3 = this.props,\n        showArrow = _this$props3.showArrow,\n        hoverStop = _this$props3.hoverStop,\n        dotPosition = _this$props3.dotPosition,\n        carouselRef = _this$props3.carouselRef,\n        children = _this$props3.children,\n        style = _this$props3.style,\n        needSlideBar = _this$props3.needSlideBar,\n        sliderBarStyle = _this$props3.sliderBarStyle,\n        Grow = _this$props3.Grow,\n        Shrink = _this$props3.Shrink,\n        AlignSelf = _this$props3.AlignSelf,\n        onClick = _this$props3.onClick,\n        className = _this$props3.className,\n        disabled = _this$props3.disabled,\n        height = _this$props3.height,\n        others = _objectWithoutProperties(_this$props3, _excluded);\n      var _this$state = this.state,\n        cur = _this$state.currentIndex,\n        animating = _this$state.animating;\n      var cn = (0, _classnames3[\"default\"])(_Carousel2[\"default\"].carousel, className, (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf\n      }));\n      return (\n        /*#__PURE__*/\n        // 外层的鼠标事件用于控制arrow的显示\n        _react[\"default\"].createElement(\"div\", _extends({\n          onMouseEnter: this.handleHoverEventEnter,\n          onMouseLeave: this.handleHoverEventLeave,\n          style: style,\n          className: cn,\n          onClick: onClick,\n          ref: carouselRef\n        }, others), /*#__PURE__*/_react[\"default\"].createElement(Slider\n        //  slider单独控制一份鼠标事件，用于stopHover\n        , {\n          onMouseEnter: this.handleMouseEnter,\n          onMouseLeave: this.handleMouseLeave,\n          style: {\n            height: height\n          },\n          handleTransitionEnd: this.onHandleTransitionEnd,\n          animating: animating,\n          currentIndex: cur,\n          prevItem: this.prevItem,\n          nextItem: this.nextItem,\n          isRight: this.state.isRight,\n          setIsHandMove: this.setIsHandMove,\n          itemClick: this.props.itemClick && this.itemClick,\n          items: children,\n          disabled: disabled\n        }), !!height && this.renderScrollBar(), this.renderArrow())\n      );\n    }\n  }, {\n    key: \"autoPlay\",\n    value: function autoPlay() {\n      var _this2 = this;\n      // return;\n      this.stopAutoPlay();\n      this.sliderTimer = setTimeout(function () {\n        if (_this2.isHandMove) {\n          _this2.stopAutoPlay();\n        } else {\n          _this2.nextItem();\n        }\n      }, this.props.slideSpeed);\n    }\n  }, {\n    key: \"stopAutoPlay\",\n    value: function stopAutoPlay() {\n      window.clearTimeout(this.sliderTimer);\n    }\n  }, {\n    key: \"handleMouseEnter\",\n    value: function handleMouseEnter(e) {\n      if (this.props.hoverStop) {\n        this.setState({\n          autoPlay: false\n        });\n        this.stopAutoPlay();\n      }\n    }\n  }, {\n    key: \"handleHoverEventEnter\",\n    value: function handleHoverEventEnter(e) {\n      if (SHOW_ARROW[this.props.showArrow] === 'hover') {\n        this.setState({\n          isHover: true\n        });\n      }\n    }\n  }, {\n    key: \"handleHoverEventLeave\",\n    value: function handleHoverEventLeave(e) {\n      if (SHOW_ARROW[this.props.showArrow] === 'hover') {\n        this.setState({\n          isHover: false\n        });\n      }\n    }\n  }, {\n    key: \"handleMouseLeave\",\n    value: function handleMouseLeave(e) {\n      var _this3 = this;\n      if (this.props.hoverStop) {\n        this.setState({\n          autoPlay: !!this.props.autoPlay\n        }, function () {\n          return _this3.state.autoPlay && _this3.autoPlay();\n        });\n      }\n    }\n  }]);\n  return Carousel;\n}(_react[\"default\"].Component);\nCarousel.propTypes = {\n  autoPlay: _propTypes[\"default\"].bool,\n  slideSpeed: _propTypes[\"default\"].number,\n  style: _propTypes[\"default\"].object,\n  width: _propTypes[\"default\"].string,\n  height: _propTypes[\"default\"].string.isRequired,\n  needSlideBar: _propTypes[\"default\"].bool,\n  sliderBarStyle: _propTypes[\"default\"].object,\n  itemClick: _propTypes[\"default\"].func,\n  showArrow: _propTypes[\"default\"].number,\n  dotPosition: _propTypes[\"default\"].number,\n  hoverStop: _propTypes[\"default\"].bool\n};\nCarousel.defaultProps = {\n  width: '100%',\n  height: '300px',\n  autoPlay: true,\n  slideSpeed: 2000,\n  needSlideBar: true,\n  children: defaultItems,\n  showArrow: 0,\n  dotPosition: 0,\n  hoverStop: false\n};\n\n// 轮播点位置：carouselpoint：[外部：0]、[右侧：1]、[底部：2]\n// 翻页按钮：carouselpt：[永不显示：0]、[悬浮显示：1]、[始终显示：2]\n// 悬浮式停止轮播：carouselsp\nvar Slider = /*#__PURE__*/function (_React$Component2) {\n  _inherits(Slider, _React$Component2);\n  function Slider(props) {\n    var _this4;\n    _classCallCheck(this, Slider);\n    _this4 = _callSuper(this, Slider, [props]);\n    _this4.state = {\n      perItemWidth: 0,\n      perItemHeight: 0,\n      operated: false\n    };\n    _this4.resizeListener = _this4.resizeListener.bind(_assertThisInitialized(_this4));\n    _this4.setTransformStyle = _this4.setTransformStyle.bind(_assertThisInitialized(_this4));\n    return _this4;\n  }\n  _createClass(Slider, [{\n    key: \"handleTouchStart\",\n    value: function handleTouchStart(e) {\n      if (this.props.disabled) return;\n\n      // 如果多点则返回\n      if (this.state.operated || e.touches.length > 1) return;\n      var point = e.touches[0];\n      this.startX = point.pageX;\n      this.startY = point.pageY;\n    }\n  }, {\n    key: \"handleTouchMove\",\n    value: function handleTouchMove(e) {\n      if (this.props.disabled) return;\n      if (this.state.operated || e.touches.length > 1) return;\n      var point = e.touches[0];\n      this.moveX = point.pageX - this.startX;\n      this.moveY = point.pageY - this.startY;\n    }\n  }, {\n    key: \"handleTouchEnd\",\n    value: function handleTouchEnd(e) {\n      if (this.props.disabled) return;\n\n      // 当向左滑动大于30px的时候出发滑动\n      if (this.moveX < -30 && Math.abs(this.moveY) <= 20) {\n        this.props.setIsHandMove(true);\n        this.props.nextItem();\n      }\n      if (this.moveX > 30 && Math.abs(this.moveY) <= 20) {\n        this.props.setIsHandMove(true);\n        this.props.prevItem();\n      }\n      this.moveX = 0;\n      this.moveY = 0;\n    }\n  }, {\n    key: \"handleClick\",\n    value: function handleClick(e, item) {\n      var itemClick = this.props.itemClick;\n      if (itemClick) {\n        e.stopPropagation();\n        itemClick && itemClick(item);\n      }\n    }\n  }, {\n    key: \"getItems\",\n    value: function getItems() {\n      var _this5 = this;\n      var items = this.props.items;\n      var _items = items.slice(-1).concat(items, items.slice(0, 1)); // 首位分别添加一项\n      return _items.map(function (item, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n          className: _Carousel2[\"default\"]['slider-item'],\n          key: index,\n          onClick: function onClick(e) {\n            return _this5.handleClick(e, item.key);\n          },\n          onTouchStart: function onTouchStart(e) {\n            return _this5.handleTouchStart(e);\n          },\n          onTouchEnd: function onTouchEnd(e) {\n            return _this5.handleTouchEnd(e);\n          },\n          onTouchMove: function onTouchMove(e) {\n            return _this5.handleTouchMove(e);\n          }\n        }, item);\n      });\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      this.resizeObserve = (0, _resizeObserve[\"default\"])(this.sliderBox, this.resizeListener);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.resizeObserve.removeResizeObserve();\n      this.resizeObserve = null;\n    }\n  }, {\n    key: \"shouldComponentUpdate\",\n    value: function shouldComponentUpdate(nextProps) {\n      var props = this.props;\n      if (props.isRight !== nextProps.isRight) {\n        this.setTransformStyle(nextProps);\n        return true;\n      }\n      if (props.items !== nextProps.items || props.style.height !== nextProps.style.height) {\n        return true;\n      } else {\n        if (props.currentIndex !== nextProps.currentIndex) {\n          this.setTransformStyle(nextProps);\n        }\n        return false;\n      }\n    }\n  }, {\n    key: \"resizeListener\",\n    value: function resizeListener(rect) {\n      var _this6 = this;\n      var width = rect.width,\n        hide = rect.hide,\n        height = rect.height;\n      if (!hide) {\n        this.setState({\n          perItemWidth: width,\n          perItemHeight: height\n        }, function () {\n          _this6.setTransformStyle(_this6.props);\n        });\n      }\n    }\n  }, {\n    key: \"setTransformStyle\",\n    value: function setTransformStyle(props) {\n      var animating = props.animating,\n        currentIndex = props.currentIndex,\n        isRight = props.isRight;\n      var _this$state2 = this.state,\n        perItemWidth = _this$state2.perItemWidth,\n        perItemHeight = _this$state2.perItemHeight;\n      var posX = -1 * (currentIndex + 1) * perItemWidth;\n      var posY = -1 * (currentIndex + 1) * perItemHeight;\n      var style = {\n        transition: animating ? 'all 0.3s ease-in-out' : 'none'\n      };\n      // dotPosition为right时需要切换轮播方向\n      style.transform = !isRight ? \"translateX(\".concat(posX, \"px)\") : \"translateY(\".concat(posY, \"px)\");\n      Object.assign(this.panel.style, style);\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this7 = this;\n      var _this$props4 = this.props,\n        style = _this$props4.style,\n        handleTransitionEnd = _this$props4.handleTransitionEnd,\n        isRight = _this$props4.isRight;\n      var els = this.getItems();\n      var ulcn = (0, _classnames3[\"default\"])(_defineProperty(_defineProperty({}, _Carousel2[\"default\"].items, true), _Carousel2[\"default\"]['flex-column'], isRight));\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        onMouseEnter: this.props.onMouseEnter,\n        onMouseLeave: this.props.onMouseLeave,\n        ref: function ref(n) {\n          return _this7.sliderBox = n;\n        },\n        className: _Carousel2[\"default\"].slider,\n        style: style,\n        onTransitionEnd: function onTransitionEnd(e) {\n          return handleTransitionEnd(e);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        ref: function ref(dom) {\n          return _this7.panel = dom;\n        },\n        className: ulcn\n      }, els));\n    }\n  }]);\n  return Slider;\n}(_react[\"default\"].Component);\nvar JumpArrow = /*#__PURE__*/(0, _react.memo)(function (_ref) {\n  var prevItem = _ref.prevItem,\n    nextItem = _ref.nextItem,\n    style = _ref.style,\n    onMouseEnter = _ref.onMouseEnter,\n    onMouseLeave = _ref.onMouseLeave;\n  return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Icon, {\n    onMouseEnter: onMouseEnter,\n    onMouseLeave: onMouseLeave,\n    style: style,\n    className: (0, _classnames3[\"default\"])(_Carousel2[\"default\"].arrow, _Carousel2[\"default\"]['arrow-left']),\n    onClick: prevItem,\n    type: \"arrow-left-circle-solid\"\n  }), /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Icon, {\n    onMouseEnter: onMouseEnter,\n    onMouseLeave: onMouseLeave,\n    style: style,\n    className: (0, _classnames3[\"default\"])(_Carousel2[\"default\"].arrow, _Carousel2[\"default\"]['arrow-right']),\n    onClick: nextItem,\n    type: \"arrow-right-circle-solid\"\n  }));\n});\n\n// 图片等于或小于四张时候\nvar SliderBar = function SliderBar(_ref2) {\n  var currentIndex = _ref2.currentIndex,\n    items = _ref2.items,\n    sliderBarStyle = _ref2.sliderBarStyle,\n    setIsHandMove = _ref2.setIsHandMove,\n    jumpTo = _ref2.jumpTo,\n    dotPosition = _ref2.dotPosition,\n    borderRadius = _ref2.borderRadius;\n  // let items = props.items || imgUrls\n  var curIndex = currentIndex === -1 ? items.length - 1 : currentIndex === items.length ? 0 : currentIndex;\n  var dots = items.map(function (item, index) {\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      key: index,\n      onClick: function onClick(e) {\n        e.stopPropagation();\n        setIsHandMove(true);\n        jumpTo(index);\n      },\n      className: (0, _classnames3[\"default\"])(_defineProperty(_defineProperty({}, _Carousel2[\"default\"]['slider-dot'], true), _Carousel2[\"default\"]['cur-dot'], curIndex === index))\n    });\n  });\n  var cls = (0, _react.useMemo)(function () {\n    return DOT_POSITION[dotPosition] === 'right' ? _Carousel2[\"default\"]['slider-bar-right'] : DOT_POSITION[dotPosition] === 'bottom' ? _Carousel2[\"default\"]['slider-bar-bottom'] : '';\n  }, [dotPosition]);\n  var borderStyle = (0, _react.useMemo)(function () {\n    return {\n      borderRadius: DOT_POSITION[dotPosition] === 'right' ? \"0 \".concat(borderRadius, \" \").concat(borderRadius, \" 0\") : DOT_POSITION[dotPosition] === 'bottom' ? \"0 0 \".concat(borderRadius, \" \").concat(borderRadius) : 'none'\n    };\n  }, [dotPosition, borderRadius]);\n  var cn = (0, _classnames3[\"default\"])(_Carousel2[\"default\"]['slider-bar'], cls);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: cn,\n    style: _objectSpread(_objectSpread({}, borderStyle), sliderBarStyle)\n  }, dots);\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Carousel.jsx?");

/***/ }),

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

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.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-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/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.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.array.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.js\");\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.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.js\");\n__webpack_require__(/*! core-js/modules/es.array.join.js */ \"../../node_modules/core-js/modules/es.array.join.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.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\");\n__webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\"));\nvar _classnames6 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _lodash = _interopRequireDefault(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nvar _Cascader2 = _interopRequireDefault(__webpack_require__(/*! ./Cascader.less */ \"./src/component/web/base/Cascader.less\"));\nvar _baseComponent = _interopRequireDefault(__webpack_require__(/*! ./baseComponent.less */ \"./src/component/web/base/baseComponent.less\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _Group2x = _interopRequireDefault(__webpack_require__(/*! ../img/default/Group@2x.png */ \"./src/component/web/img/default/Group@2x.png\"));\nvar _PanelWithOutside = _interopRequireDefault(__webpack_require__(/*! ../../common/PanelWithOutside */ \"./src/component/common/PanelWithOutside.js\"));\nvar _commonAnimation = _interopRequireDefault(__webpack_require__(/*! ../../common/commonAnimation.less */ \"./src/component/common/commonAnimation.less\"));\nvar _defaultPropsUtil = __webpack_require__(/*! @/util/defaultPropsUtil */ \"./src/util/defaultPropsUtil.js\");\nvar _emotionalConst = __webpack_require__(/*! @/constant/emotionalConst */ \"./src/constant/emotionalConst.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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 _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 Cascader = /*#__PURE__*/function (_React$Component) {\n  _inherits(Cascader, _React$Component);\n  function Cascader(props) {\n    var _this;\n    _classCallCheck(this, Cascader);\n    _this = _callSuper(this, Cascader, [props]);\n    _this.state = {\n      show: false,\n      selValue: _this.props.value || [],\n      isItemClick: false\n    };\n    _this.onScrollOutSide = _this.onScrollOutSide.bind(_assertThisInitialized(_this));\n    _this.closeSelectPanel = _this.closeSelectPanel.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(Cascader, [{\n    key: \"componentDidUpdate\",\n    value: function componentDidUpdate(prevProps, prevState) {\n      var prevShow = prevState.show;\n      var show = this.state.show;\n      if (prevShow === false && show) {\n        document.addEventListener('scroll', this.onScrollOutSide, true);\n        window.addEventListener('resize', this.closeSelectPanel);\n      } else if (prevShow && show === false) {\n        document.removeEventListener('scroll', this.onScrollOutSide, true);\n        window.removeEventListener('resize', this.closeSelectPanel);\n      }\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.unmount = true;\n      document.removeEventListener('scroll', this.onScrollOutSide, true);\n      window.removeEventListener('resize', this.closeSelectPanel);\n    }\n  }, {\n    key: \"closeSelectPanel\",\n    value: function closeSelectPanel() {\n      var _this2 = this;\n      setTimeout(function () {\n        !_this2.unmount && _this2.setState({\n          show: false\n        }, function () {\n          _this2.props.onSelectPanelClosed && _this2.props.onSelectPanelClosed(); //表格分录的监听面板关闭事件\n        });\n      }, 0); //输入框点击事件需要先执行，延后执行outSide\n    }\n  }, {\n    key: \"updateStateValue\",\n    value: function updateStateValue(value, isLeaf) {\n      this.setState({\n        selValue: value,\n        show: isLeaf ? false : true,\n        isItemClick: false\n      });\n    }\n  }, {\n    key: \"onScrollOutSide\",\n    value: function onScrollOutSide(e) {\n      if (!this.state.show || this.unmount) return;\n      var target = e.target;\n      if (target && !this.listPanel.contains(target)) {\n        this.closeSelectPanel();\n      }\n    }\n  }, {\n    key: \"onDeleteItem\",\n    value: function onDeleteItem(e, value) {\n      e.stopPropagation();\n      this.setState({\n        selValue: []\n      });\n      this.props.onChange && this.props.onChange(value);\n    }\n  }, {\n    key: \"onItemClick\",\n    value: function onItemClick(value, index, isLeaf, isImmeBackfill) {\n      var selValue = this.state.selValue ? this.state.selValue.concat([]) : [];\n      selValue = selValue.splice(0, index);\n      selValue.push(value);\n      this.updateStateValue(selValue, isLeaf);\n      if (isLeaf) {\n        if (this.props.isDesigner) {\n          this.closeSelectPanel();\n        } else if (this.props.onChange) {\n          var val = selValue.join(',');\n          this.props.onChange(val);\n          this.closeSelectPanel();\n        }\n      } else {\n        if (isImmeBackfill) {\n          var _val = selValue.join(',');\n          this.props.onChange(_val);\n        }\n      }\n    }\n  }, {\n    key: \"onInputClick\",\n    value: function onInputClick(e) {\n      if (this.props.disabled) return;\n      var show = this.state.show;\n      this.setState({\n        show: !show,\n        isItemClick: true\n      });\n    }\n  }, {\n    key: \"renderSelectPanel\",\n    value: function renderSelectPanel() {\n      var _this3 = this;\n      var _this$props = this.props,\n        isImmeBackfill = _this$props.isImmeBackfill,\n        getLang = _this$props.getLang,\n        isDesigner = _this$props.isDesigner,\n        options = _this$props.options,\n        disabled = _this$props.disabled;\n      var _this$state = this.state,\n        show = _this$state.show,\n        selValue = _this$state.selValue,\n        isItemClick = _this$state.isItemClick;\n      if (!show || disabled) return null;\n      var rootEle = this.casdom;\n      var rect = rootEle.getBoundingClientRect();\n      var left = rect.left + (document.documentElement.scrollLeft || document.body.scrollLeft);\n      var top = rect.bottom + (document.documentElement.scrollTop || document.body.scrollTop);\n      var optionCount = 0;\n      var index = 0;\n      var optionItems = options && options.concat();\n      var _loop = function _loop() {\n        optionCount = optionItems.size > optionCount ? optionItems.size : optionCount;\n        var selValue = _this3.state.selValue[index];\n        var selOption = optionItems.filter(function (option) {\n          return option.get('value') === selValue;\n        });\n        optionItems = selOption && selOption.getIn([0, 'children']);\n        if (selValue == undefined) return 1; // break\n        index++;\n      };\n      while (optionItems && optionItems.size > 0 && index < 4) {\n        if (_loop()) break;\n      }\n      var showPanelHeight = optionCount > 10 ? 300 : optionCount === 0 ? 236 : optionCount * 30;\n      var fieldTitleHeight = this.props.theme === 'flat' ? 0 : 17;\n      var showPanelWidth = isItemClick ? index * 115 : (index + 1) * 115;\n      top = top + 5;\n      if (top + showPanelHeight > window.innerHeight) {\n        // 展出面板超出屏幕，向上展示\n        top = rect.top - showPanelHeight - fieldTitleHeight;\n      }\n      if (left + showPanelWidth > window.innerWidth) {\n        // 展出面板超出屏幕，向左展示\n        left = rect.left + rect.width - showPanelWidth;\n      }\n      var style = {\n        top: top + 'px',\n        left: left + 'px',\n        position: 'fixed',\n        'zIndex': 1050,\n        height: showPanelHeight + 'px'\n      };\n      return /*#__PURE__*/_reactDom[\"default\"].createPortal( /*#__PURE__*/_react[\"default\"].createElement(_PanelWithOutside[\"default\"], {\n        onCLickOutside: this.closeSelectPanel\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        style: style,\n        className: (0, _classnames6[\"default\"])(_Cascader2[\"default\"]['list-container'], _commonAnimation[\"default\"]['panel-drop-down-animation']),\n        ref: function ref(_ref) {\n          _this3.listPanel = _ref;\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(ListItem, {\n        style: style,\n        options: options,\n        selValue: selValue,\n        isImmeBackfill: isImmeBackfill,\n        getLang: getLang,\n        onClick: function onClick(val, level, isLeaf, isImmeBackfill) {\n          return _this3.onItemClick(val, level, isLeaf, isImmeBackfill);\n        },\n        isDesigner: isDesigner\n      }))), document.body);\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this4 = this;\n      var _this$props2 = this.props,\n        _this$props2$noValue = _this$props2.noValue,\n        noValue = _this$props2$noValue === void 0 ? '' : _this$props2$noValue,\n        isNoUnderLineLockStyle = _this$props2.isNoUnderLineLockStyle,\n        showTitle = _this$props2.showTitle,\n        style = _this$props2.style,\n        Grow = _this$props2.Grow,\n        Shrink = _this$props2.Shrink,\n        className = _this$props2.className,\n        options = _this$props2.options,\n        onChange = _this$props2.onChange,\n        value = _this$props2.value,\n        disabled = _this$props2.disabled,\n        required = _this$props2.required,\n        theme = _this$props2.theme,\n        isDesigner = _this$props2.isDesigner,\n        _this$props2$placehol = _this$props2.placeholder,\n        placeholder = _this$props2$placehol === void 0 ? '' : _this$props2$placehol,\n        isImmeBackfill = _this$props2.isImmeBackfill,\n        getLang = _this$props2.getLang,\n        localLang = _this$props2.localLang,\n        onSelectPanelClosed = _this$props2.onSelectPanelClosed;\n      value = value || [];\n      className = (0, _classnames6[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _baseComponent[\"default\"]['input'], true), _baseComponent[\"default\"]['input-' + (theme || 'default')], true), _baseComponent[\"default\"]['disabled'], disabled && value.length > 0), _baseComponent[\"default\"]['field-disabled-no-value-color'], disabled && value.length === 0), _Cascader2[\"default\"]['select'], true), className, className), (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink\n      }));\n      var valueContainerClassNames = (0, _classnames6[\"default\"])(_defineProperty(_defineProperty({}, _Cascader2[\"default\"]['value-container'], true), _Cascader2[\"default\"]['plaseholder'], placeholder && !disabled && value.length === 0));\n      var valueClassNames = (0, _classnames6[\"default\"])(_defineProperty({}, _Cascader2[\"default\"]['value-item'], true));\n      var iconClassName = (0, _classnames6[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Cascader2[\"default\"]['select-icon'], true), _Cascader2[\"default\"]['select-icon-inverse'], this.state.show), 'kdfont', true), 'kdfont-xiala', true));\n      var title = [];\n      var selOption;\n      value.forEach(function (itemValue) {\n        var children = selOption ? selOption.getIn([0, 'children']) : options;\n        if (!children || children.size === 0) return;\n        selOption = children.filter(function (option) {\n          return option.get('value') === itemValue;\n        });\n        var label = selOption.getIn([0, 'caption']);\n        var text = getLang && getLang(label);\n        title.push(text);\n      });\n      title = title.join('/');\n      var selectOption = '';\n      var clearIconCls = (0, _classnames6[\"default\"])('kdfont kdfont-guanbi8', 'kd-hover-color', _Cascader2[\"default\"]['close']);\n      if (value.length > 0) {\n        selectOption = /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: valueClassNames\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: _Cascader2[\"default\"]['text'],\n          title: title\n        }, title), required ? null : /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n          className: clearIconCls,\n          onMouseDown: function onMouseDown(e) {\n            return _this4.onDeleteItem(e, null);\n          }\n        }));\n      } else {\n        selectOption = disabled ? noValue : placeholder;\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, {\n        key: \"cascader\"\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: className,\n        style: style,\n        onMouseDown: function onMouseDown(e) {\n          return _this4.onInputClick(e);\n        },\n        ref: function ref(_ref2) {\n          _this4.casdom = _ref2;\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: valueContainerClassNames\n      }, selectOption), disabled ? null : /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: iconClassName\n      })), this.renderSelectPanel());\n    }\n  }]);\n  return Cascader;\n}(_react[\"default\"].Component);\nCascader.propTypes = {\n  style: _propTypes[\"default\"].object,\n  className: _propTypes[\"default\"].string,\n  Grow: _propTypes[\"default\"].number,\n  Shrink: _propTypes[\"default\"].number,\n  required: _propTypes[\"default\"].bool,\n  onChange: _propTypes[\"default\"].func,\n  isImmeBackfill: _propTypes[\"default\"].bool\n};\nvar _default = exports[\"default\"] = Cascader;\nvar ListItem = function ListItem(props) {\n  var options = props.options,\n    selValue = props.selValue,\n    isImmeBackfill = props.isImmeBackfill,\n    getLang = props.getLang,\n    onClick = props.onClick,\n    isDesigner = props.isDesigner,\n    style = props.style;\n  var listPanels = [];\n  var index = 0;\n  var _loop2 = function _loop2() {\n    var selV = selValue[index];\n    var optionDoms = options.map(function (option) {\n      var isSelected = false;\n      if (option.get('value') === selV) {\n        isSelected = true;\n        options = option.get('children');\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(Option, {\n        key: option.get('value'),\n        option: option,\n        level: index,\n        selected: isSelected,\n        isImmeBackfill: isImmeBackfill,\n        getLang: getLang,\n        onClick: onClick,\n        isDesigner: isDesigner\n      });\n    });\n    listPanels.push( /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n      key: index,\n      className: (0, _classnames6[\"default\"])(_Cascader2[\"default\"]['list'], _Cascader2[\"default\"]['panel-list-animation']),\n      style: {\n        width: '115px'\n      }\n    }, optionDoms));\n    if (selV === undefined) return 1; // break\n    index++;\n  };\n  while (options && options.size > 0 && index < 4) {\n    if (_loop2()) break;\n  }\n  if (index === 0 && (!options || options.size === 0)) {\n    // 获取情感化图片设置\n    var _getCommonEmotionalIn = (0, _defaultPropsUtil.getCommonEmotionalInfo)(_emotionalConst.EMOTIONAL_TYPE_NO_DATA),\n      imagePath = _getCommonEmotionalIn.imagePath,\n      description = _getCommonEmotionalIn.description;\n    listPanels.push( /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      key: \"nonedate\",\n      className: (0, _classnames6[\"default\"])('kd-cq-empty', _Cascader2[\"default\"]['nonePanel'])\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n      src: imagePath || _Group2x[\"default\"],\n      className: _Cascader2[\"default\"]['noneimg']\n    }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n      className: \"kd-cq-empty-description\"\n    }, description || (0, _intlApi.getLangMsg)({\n      key: 'Field.noDateMsg'\n    }))));\n  }\n  return listPanels;\n};\nvar Option = function Option(props) {\n  var option = props.option,\n    selected = props.selected,\n    level = props.level,\n    onClick = props.onClick,\n    isImmeBackfill = props.isImmeBackfill,\n    getLang = props.getLang,\n    isDesigner = props.isDesigner;\n  var value = option && option.get('value');\n  var label = option && option.get('caption');\n  var children = option && option.get('children');\n  var disable = option && option.get('disable');\n  var title = isDesigner ? label && label.get('zh_CN') : getLang && getLang(label);\n  var isLeaf = !children || children.size === 0 || level === 3;\n  var classNames = (0, _classnames6[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Cascader2[\"default\"]['item'], true), 'kd-hover-color', !selected && !disable), _Cascader2[\"default\"]['selected'], selected), 'kd-hover-bgcolor', !selected && !disable), 'theme-bg', selected), _Cascader2[\"default\"]['optin_lock'], disable));\n  return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n    className: classNames,\n    key: value,\n    onClick: disable ? null : function (e) {\n      return onClick(value, level, isLeaf, isImmeBackfill);\n    }\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    title: title,\n    className: _Cascader2[\"default\"]['text']\n  }, title));\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Cascader.js?");

/***/ }),

/***/ "./src/component/web/base/CheckBoxGroup.jsx":
/*!**************************************************!*\
  !*** ./src/component/web/base/CheckBoxGroup.jsx ***!
  \**************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.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.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.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.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = exports.ReadonlyCompontent = 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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.join.js */ \"../../node_modules/core-js/modules/es.array.join.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.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _BaseComponents = __webpack_require__(/*! @/component/web/base/BaseComponents */ \"./src/component/web/base/BaseComponents/index.js\");\nvar _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _CheckBoxGroup = _interopRequireDefault(__webpack_require__(/*! ./CheckBoxGroup.less */ \"./src/component/web/base/CheckBoxGroup.less\"));\nvar _TextEllipsisWrap = _interopRequireDefault(__webpack_require__(/*! @/component/common/TextEllipsisWrap */ \"./src/component/common/TextEllipsisWrap.js\"));\nvar _keyCode = __webpack_require__(/*! @/constant/keyCode */ \"./src/constant/keyCode.js\");\nvar _baseComponentsConst = __webpack_require__(/*! @/constant/baseComponentsConst.js */ \"./src/constant/baseComponentsConst.js\");\nvar _excluded = [\"items\", \"values\", \"onClick\", \"commonClassNames\", \"onMouseDown\"],\n  _excluded2 = [\"items\", \"values\", \"onClick\", \"commonClassNames\"],\n  _excluded3 = [\"flatStyle\", \"flatLayout\", \"items\", \"value\", \"className\", \"disabled\", \"isView\", \"noValue\", \"style\", \"onContainerClick\"];\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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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 _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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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); }\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; } /*\n  多选控件\n**/\n// 只读文本\nvar ReadonlyCompontent = exports.ReadonlyCompontent = function ReadonlyCompontent(_ref) {\n  var items = _ref.items,\n    valueList = _ref.valueList,\n    noValue = _ref.noValue,\n    style = _ref.style;\n  var readonlyText = '';\n  if (valueList.length === 0) {\n    readonlyText = noValue;\n  } else {\n    for (var i = 0; i < items.length; i++) {\n      var item = items[i];\n      if (valueList.includes(item.value)) {\n        if (readonlyText === '') {\n          readonlyText += item.text;\n        } else {\n          readonlyText += \"\\uFF1B\".concat(item.text);\n        }\n      }\n    }\n  }\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: \"disabled-fc\",\n    style: style\n  }, /*#__PURE__*/_react[\"default\"].createElement(_TextEllipsisWrap[\"default\"], null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames2[\"default\"])('kd-cq-readonly-text', _CheckBoxGroup[\"default\"]['readonly-block']),\n    title: readonlyText\n  }, readonlyText)));\n};\n\n// 标签选中框\nvar Square = function Square(props) {\n  var _props$shortcutInfo;\n  var value = props.value,\n    text = props.text,\n    disabled = props.disabled,\n    onClick = props.onClick,\n    tabIndex = props.tabIndex,\n    style = props.style;\n  var _useState = (0, _react.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    isFocus = _useState2[0],\n    setFocus = _useState2[1];\n  var handleClick = function handleClick(e) {\n    var isKeyDown = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n    if (disabled) return;\n    if (!isKeyDown) {\n      setFocus(false);\n    }\n    onClick === null || onClick === void 0 || onClick(e);\n    e.preventDefault();\n  };\n  var handleFocus = function handleFocus() {\n    if (disabled) return;\n    if (isFocus) return;\n    setFocus(true);\n  };\n  var handleBlur = function handleBlur() {\n    if (disabled) return;\n    if (!isFocus) return;\n    setFocus(false);\n  };\n  var handleKeyDown = function handleKeyDown(e) {\n    if (disabled) return;\n    if (e.keyCode === _keyCode.KEYS.SPACE) {\n      e.preventDefault();\n      e.stopPropagation();\n      handleClick(e, true);\n    }\n  };\n  var classNames = (0, _classnames2[\"default\"])('kd-cq-checkboxgroup-square-block', _CheckBoxGroup[\"default\"]['square-block'], _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, \"kd-cq-checkboxgroup-squarechecked \".concat(_CheckBoxGroup[\"default\"]['square-checked']), !!value), \"kd-cq-checkboxgroup-disabled \".concat(_CheckBoxGroup[\"default\"].disabled), disabled), 'hover-theme-bdcolor hover-theme-fc1', !disabled), 'theme-bdcolor', !!value && !disabled), _CheckBoxGroup[\"default\"].focus, isFocus && !disabled));\n  var dataShortcut = (_props$shortcutInfo = props.shortcutInfo) === null || _props$shortcutInfo === void 0 ? void 0 : _props$shortcutInfo['data-shortcut'];\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: classNames,\n    onClick: handleClick,\n    tabIndex: disabled !== true ? tabIndex : undefined,\n    \"data-shortcut\": disabled !== true ? dataShortcut : undefined,\n    onFocus: handleFocus,\n    onBlur: handleBlur,\n    onKeyDown: handleKeyDown,\n    style: style,\n    \"data-errorfocus\": true\n  }, /*#__PURE__*/_react[\"default\"].createElement(_TextEllipsisWrap[\"default\"], null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _CheckBoxGroup[\"default\"]['square-text'],\n    title: text\n  }, text)), !!value && /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: (0, _classnames2[\"default\"])('kdfont kdfont-dagou', _CheckBoxGroup[\"default\"]['ckecked-icon'])\n  }));\n};\n\n// 方框勾选风格\nvar CheckBoxComponent = function CheckBoxComponent(props) {\n  var items = props.items,\n    values = props.values,\n    onClick = props.onClick,\n    commonClassNames = props.commonClassNames,\n    onMouseDown = props.onMouseDown,\n    rest = _objectWithoutProperties(props, _excluded);\n  delete rest.onChange; // 不需要给checkbox传递onChange事件，避免复选框也发送一个值更新\n\n  var handleMouseDown = function handleMouseDown(itemValue, disabled) {\n    if (disabled !== true) {\n      onClick === null || onClick === void 0 || onClick(itemValue);\n      onMouseDown === null || onMouseDown === void 0 || onMouseDown();\n    }\n  };\n  var checkboxClassNames = (0, _classnames2[\"default\"])(_CheckBoxGroup[\"default\"]['checkbox-wrapper'], commonClassNames);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: checkboxClassNames\n  }, items.map(function (item, index) {\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: (0, _classnames2[\"default\"])('kd-cq-checkboxgroup-checkbox-item', _CheckBoxGroup[\"default\"]['checkbox-item']),\n      key: \"\".concat(item.value, \"-\").concat(index)\n    }, /*#__PURE__*/_react[\"default\"].createElement(_BaseComponents.CheckBox, _extends({\n      styleType: 2,\n      value: values.includes(item.value),\n      text: item.text,\n      onMouseDown: function onMouseDown(e) {\n        return handleMouseDown(item.value, item.disabled);\n      },\n      disabled: item.disabled,\n      hasErrorfocus: true\n    }, rest)));\n  }));\n};\n\n// 标签勾选风格\nvar LabelComponent = function LabelComponent(props) {\n  var items = props.items,\n    values = props.values,\n    onClick = props.onClick,\n    commonClassNames = props.commonClassNames,\n    rest = _objectWithoutProperties(props, _excluded2);\n  var handleClick = function handleClick(itemValue) {\n    onClick === null || onClick === void 0 || onClick(itemValue);\n  };\n  var labelClassNames = (0, _classnames2[\"default\"])(_CheckBoxGroup[\"default\"]['square-wrapper'], commonClassNames);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: labelClassNames\n  }, items.map(function (item, index) {\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: (0, _classnames2[\"default\"])('kd-cq-checkboxgroup-square-item', _CheckBoxGroup[\"default\"]['square-item']),\n      key: \"\".concat(item.value, \"-\").concat(index)\n    }, /*#__PURE__*/_react[\"default\"].createElement(Square, _extends({\n      onClick: function onClick() {\n        return handleClick(item.value);\n      },\n      value: values.includes(item.value),\n      text: item.text,\n      disabled: item.disabled\n    }, rest)));\n  }));\n};\nvar CheckBoxGroup = function CheckBoxGroup(props) {\n  var _props$flatStyle = props.flatStyle,\n    flatStyle = _props$flatStyle === void 0 ? _baseComponentsConst.FLAT_STYLE_MAP.Default : _props$flatStyle,\n    _props$flatLayout = props.flatLayout,\n    flatLayout = _props$flatLayout === void 0 ? _baseComponentsConst.FLAT_LAYOUT_MAP.Horizontal : _props$flatLayout,\n    _props$items = props.items,\n    items = _props$items === void 0 ? [] : _props$items,\n    value = props.value,\n    className = props.className,\n    formDisabled = props.disabled,\n    isView = props.isView,\n    noValue = props.noValue,\n    style = props.style,\n    onContainerClick = props.onContainerClick,\n    rest = _objectWithoutProperties(props, _excluded3);\n  var valueList = !value ? [] : value.split(',');\n  var handleItemClick = function handleItemClick(itemValue) {\n    var _props$onChange;\n    var newList = valueList.includes(itemValue) ? valueList.filter(function (f) {\n      return f !== itemValue;\n    }) : [].concat(_toConsumableArray(valueList), [itemValue]);\n    var newVal = newList.length === 1 ? newList[0] : newList.join(',');\n    (_props$onChange = props.onChange) === null || _props$onChange === void 0 || _props$onChange.call(props, newVal);\n  };\n  var handleContainerClick = function handleContainerClick(e) {\n    onContainerClick === null || onContainerClick === void 0 || onContainerClick(e); // 表格需要容器点击事件\n  };\n\n  // 根据optionType渲染不同类型\n  var renderControl = function renderControl() {\n    if (items.length === 0) {\n      return null;\n    }\n    var visibleItems = items.filter(function (f) {\n      return f.itemVisible !== false;\n    });\n    var _items = visibleItems.length > _baseComponentsConst.MAX_NUMS ? visibleItems.slice(0, _baseComponentsConst.MAX_NUMS) : visibleItems;\n    // 查看态\n    if (formDisabled && isView) {\n      return /*#__PURE__*/_react[\"default\"].createElement(ReadonlyCompontent, {\n        items: _items,\n        valueList: valueList,\n        noValue: noValue,\n        style: style\n      });\n    }\n    var commonProps = _objectSpread({\n      items: _items.map(function (item) {\n        return _objectSpread(_objectSpread({}, item), {}, {\n          disabled: formDisabled === true ? formDisabled : item.disabled // 如果表单上层锁定，则全部置灰\n        });\n      }),\n      values: valueList,\n      onClick: handleItemClick,\n      style: style,\n      commonClassNames: _defineProperty(_defineProperty(_defineProperty({}, className, className), _CheckBoxGroup[\"default\"].horizontal, flatLayout === _baseComponentsConst.FLAT_LAYOUT_MAP.Horizontal), _CheckBoxGroup[\"default\"].vertical, flatLayout === _baseComponentsConst.FLAT_LAYOUT_MAP.Vertical)\n    }, rest);\n    switch (flatStyle) {\n      case _baseComponentsConst.FLAT_STYLE_MAP.Default:\n        return /*#__PURE__*/_react[\"default\"].createElement(CheckBoxComponent, commonProps);\n      case _baseComponentsConst.FLAT_STYLE_MAP.Square:\n        return /*#__PURE__*/_react[\"default\"].createElement(LabelComponent, commonProps);\n      default:\n        return null;\n    }\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    style: style,\n    className: (0, _classnames2[\"default\"])('kd-cq-checkboxgroup-wrapper'),\n    onClick: handleContainerClick\n  }, renderControl());\n};\nvar _default = exports[\"default\"] = CheckBoxGroup;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/CheckBoxGroup.jsx?");

/***/ }),

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

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.LoadingPanel = LoadingPanel;\nexports.NoDataPanel = NoDataPanel;\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _f7_no_data = _interopRequireDefault(__webpack_require__(/*! @/component/web/img/default/f7_no_data.png */ \"./src/component/web/img/default/f7_no_data.png\"));\nvar _LoadingGIF = _interopRequireDefault(__webpack_require__(/*! @/component/common/LoadingGIF */ \"./src/component/common/LoadingGIF.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction NoDataPanel(props) {\n  var className = props.className;\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: className\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n    src: _f7_no_data[\"default\"]\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, (0, _intlApi.getLangMsg)({\n    key: 'City.key0013'\n  })));\n}\nfunction LoadingPanel(props) {\n  var className = props.className;\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: className\n  }, /*#__PURE__*/_react[\"default\"].createElement(_LoadingGIF[\"default\"], null));\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/City/CityOtherPanel.js?");

/***/ }),

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

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.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[\"default\"] = void 0;\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.array.join.js */ \"../../node_modules/core-js/modules/es.array.join.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.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.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.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\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _City = _interopRequireDefault(__webpack_require__(/*! ./City.less */ \"./src/component/web/base/City/City.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 _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); }\nfunction CityItem(props) {\n  var isSelected = props.isSelected,\n    city = props.city,\n    onClick = props.onClick,\n    value = props.value,\n    isInternational = props.isInternational;\n  var liRef = (0, _react.useRef)(null);\n  (0, _react.useEffect)(function () {\n    /**\n     * 如果为true，元素的顶端将和其所在滚动区的可视区域的顶端对齐\n     * 如果为false，元素的底端将和其所在滚动区的可视区域的底端对齐\n    */\n    isSelected && liRef.current.scrollIntoView({\n      behavior: 'smooth',\n      block: 'end'\n    });\n  }, [isSelected]);\n  var handleClick = function handleClick() {\n    onClick(city);\n  };\n  var liClass = (0, _classnames3[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, _City[\"default\"]['search-li'], true), 'hover-bg', isSelected), 'kd-hover', true));\n  var additionInfoClass = (0, _classnames3[\"default\"])(_defineProperty({}, _City[\"default\"]['search-li-additionInfo'], true));\n  var name = city.name;\n  var additionInfo = '';\n  if (isInternational) {\n    var countryName = city.c || '';\n    var provinceName = city.p || '';\n    var seperator = /^[\\u4e00-\\u9fa5]/.test(name) ? '，' : ', ';\n    var infos = [''];\n    if (provinceName.length > 0) {\n      infos.push(provinceName);\n    }\n    if (countryName.length > 0) {\n      infos.push(countryName);\n    }\n    additionInfo = infos.join(seperator);\n  }\n  return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n    ref: liRef,\n    onClick: handleClick,\n    className: liClass\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    dangerouslySetInnerHTML: {\n      __html: name.replace(value, '<span class=\"theme-fc\">' + value + '</span>')\n    }\n  }), isInternational && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: additionInfoClass\n  }, additionInfo));\n}\nvar _default = exports[\"default\"] = CityItem;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/City/CitySearchItem.js?");

/***/ }),

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

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.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[\"default\"] = void 0;\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.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.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 _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _City = _interopRequireDefault(__webpack_require__(/*! ./City.less */ \"./src/component/web/base/City/City.less\"));\nvar _CityTabArea = _interopRequireDefault(__webpack_require__(/*! ./CityTabArea */ \"./src/component/web/base/City/CityTabArea.js\"));\nvar _CitySearchItem = _interopRequireDefault(__webpack_require__(/*! ./CitySearchItem */ \"./src/component/web/base/City/CitySearchItem.js\"));\nvar _CityOtherPanel = __webpack_require__(/*! ./CityOtherPanel */ \"./src/component/web/base/City/CityOtherPanel.js\");\nvar _const = __webpack_require__(/*! @/constant/const.js */ \"./src/constant/const.js\");\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher */ \"./src/model/GlobalDataCacher.js\");\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\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 _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); }\nfunction CitySearchPanel(props) {\n  var dataAry = props.dataAry,\n    value = props.value,\n    setValue = props.setValue,\n    searchIndex = props.searchIndex,\n    activeTabIndex = props.activeTabIndex,\n    setActiveTabIndex = props.setActiveTabIndex,\n    searchLoading = props.searchLoading;\n  (0, _react.useEffect)(function () {\n    return function () {\n      (0, _GlobalDataCacher.setData)(_symbolConst.KEY_CITY_SEARCH_DATA, (0, _immutable.fromJS)([{}, {}]));\n    };\n  }, []);\n  var onClick = function onClick(city) {\n    // 将选择的城市设置到输入框\n    setValue(city);\n  };\n  var tabDivClass = (0, _classnames2[\"default\"])(_defineProperty({}, _City[\"default\"]['search-tabarea'], true));\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: tabDivClass\n  }, /*#__PURE__*/_react[\"default\"].createElement(_CityTabArea[\"default\"], {\n    activeTabIndex: activeTabIndex,\n    setActiveTabIndex: setActiveTabIndex\n  })), searchLoading === _const.QUERY_STATUS.loaded && (dataAry.length ? /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n    className: _City[\"default\"]['search-ul']\n  }, dataAry.map(function (city, index) {\n    return /*#__PURE__*/_react[\"default\"].createElement(_CitySearchItem[\"default\"], {\n      key: \"city_\".concat(city.id),\n      isSelected: searchIndex === index,\n      onClick: onClick,\n      city: city,\n      value: value,\n      isInternational: activeTabIndex !== 0\n    });\n  })) : /*#__PURE__*/_react[\"default\"].createElement(_CityOtherPanel.NoDataPanel, {\n    className: _City[\"default\"]['search-no-data']\n  })), searchLoading === _const.QUERY_STATUS.nodata && /*#__PURE__*/_react[\"default\"].createElement(_CityOtherPanel.NoDataPanel, {\n    className: _City[\"default\"]['search-no-data']\n  }), searchLoading === _const.QUERY_STATUS.loading && /*#__PURE__*/_react[\"default\"].createElement(_CityOtherPanel.LoadingPanel, {\n    className: _City[\"default\"]['search-loading']\n  }));\n}\nvar _default = exports[\"default\"] = CitySearchPanel;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/City/CitySearchPanel.js?");

/***/ }),

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

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[\"default\"] = void 0;\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.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.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.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.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames4 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _City = _interopRequireDefault(__webpack_require__(/*! ./City.less */ \"./src/component/web/base/City/City.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); }\nfunction CitySelectGroup(_ref) {\n  var setValue = _ref.setValue,\n    cityNameAry = _ref.cityNameAry,\n    groupKey = _ref.groupKey;\n  var cityIdDataCache = {};\n  var _onClick = function onClick(e, city) {\n    // 将选择的城市设置到输入框\n    setValue(city);\n  };\n  var cityNameDDATagClassName = function cityNameDDATagClassName(index) {\n    return (0, _classnames4[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _City[\"default\"]['city-name-dd-a'], true), 'hover-hover-bg', true), 'theme-border-radius', true), 'active-theme-light-bg', true), _City[\"default\"]['city-name-dd-a-often'], groupKey === ''), _City[\"default\"]['city-name-dd-a-last'], cityNameAry.length % 4 > 0 && cityNameAry.length - 1 === index));\n  };\n  var cityNameDtClassName = (0, _classnames4[\"default\"])(_defineProperty(_defineProperty({}, _City[\"default\"]['city-name-dt'], true), 'theme-fc', true));\n  var cityNameDdClassName = (0, _classnames4[\"default\"])(_defineProperty(_defineProperty({}, _City[\"default\"]['city-name-dd'], true), _City[\"default\"]['city-name-dd-often'], groupKey === ''));\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _City[\"default\"]['city-name-dl']\n  }, groupKey && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: cityNameDtClassName\n  }, groupKey), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: cityNameDdClassName\n  }, cityNameAry && cityNameAry.map(function (city, index) {\n    if (!city) return null;\n    // 如果有人改了行政区划，导致排序位置变了，那么可能返回重复的id，因此判断去重\n    if (groupKey && city.id) {\n      // 存在重复的城市id，直接去掉\n      if (cityIdDataCache[city.id]) return null;\n      cityIdDataCache[city.id] = true;\n    }\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      key: \"cityName_\".concat(index),\n      onClick: function onClick(e) {\n        return _onClick(e, city);\n      },\n      className: cityNameDDATagClassName(index),\n      title: city.name\n    }, city.name);\n  })));\n}\nvar _default = exports[\"default\"] = CitySelectGroup;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/City/CitySelectGroup.js?");

/***/ }),

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

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[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _City = _interopRequireDefault(__webpack_require__(/*! ./City.less */ \"./src/component/web/base/City/City.less\"));\nvar _CitySelectGroup = _interopRequireDefault(__webpack_require__(/*! ./CitySelectGroup */ \"./src/component/web/base/City/CitySelectGroup.js\"));\nvar _CityOtherPanel = __webpack_require__(/*! ./CityOtherPanel */ \"./src/component/web/base/City/CityOtherPanel.js\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _const = __webpack_require__(/*! @/constant/const.js */ \"./src/constant/const.js\");\nvar _SelectNodata = _interopRequireDefault(__webpack_require__(/*! ../SelectNodata */ \"./src/component/web/base/SelectNodata.jsx\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction CitySelectGroupList(_ref) {\n  var cityList = _ref.cityList,\n    setValue = _ref.setValue,\n    activeTabIndex = _ref.activeTabIndex,\n    getCityGroupList = _ref.getCityGroupList;\n  var getMoreCityList = function getMoreCityList(_ref2) {\n    var extraMsg = _ref2.extraMsg,\n      groupKey = _ref2.groupKey,\n      cityAry = _ref2.cityAry;\n    // 判断剩余数量是否超过CITY_LIMIT_MAX_PAGE_SIZE，超过则按照CITY_LIMIT_PAGE_SIZE继续请求\n    var requestCount = (extraMsg === null || extraMsg === void 0 ? void 0 : extraMsg.remainCount) > _const.CITY_LIMIT_MAX_PAGE_SIZE ? _const.CITY_LIMIT_PAGE_SIZE : extraMsg === null || extraMsg === void 0 ? void 0 : extraMsg.remainCount;\n    getCityGroupList(activeTabIndex, groupKey, requestCount, cityAry[cityAry.length - 1].id);\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _City[\"default\"]['city-div']\n  }, cityList.length > 0 ? cityList.map(function (item, index) {\n    var groupKey = item.groupKey,\n      cityAry = item.cityAry,\n      extraMsg = item.extraMsg;\n    if (cityAry && cityAry.length !== 0) {\n      return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, /*#__PURE__*/_react[\"default\"].createElement(_CitySelectGroup[\"default\"], {\n        key: \"cityAry_\".concat(index),\n        groupKey: groupKey,\n        cityNameAry: cityAry,\n        setValue: setValue\n      }), groupKey && (extraMsg === null || extraMsg === void 0 ? void 0 : extraMsg.remainCount) > 0 && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        key: \"cityName_more\",\n        className: _City[\"default\"]['city-div-loadMore'],\n        onClick: function onClick() {\n          return getMoreCityList(item);\n        }\n      }, (0, _intlApi.getLangMsg)({\n        key: 'City.key0015'\n      })));\n    }\n\n    // 下拉框没有数据的时候\n    if (groupKey === '' && cityAry.length === 0) {\n      return /*#__PURE__*/_react[\"default\"].createElement(_SelectNodata[\"default\"], {\n        className: _City[\"default\"]['select-no-data'],\n        content: (0, _intlApi.getLangMsg)({\n          key: 'BaseData.key0003'\n        })\n      });\n    }\n  }) : /*#__PURE__*/_react[\"default\"].createElement(_CityOtherPanel.NoDataPanel, {\n    className: _City[\"default\"]['select-no-data']\n  }));\n}\nvar _default = exports[\"default\"] = CitySelectGroupList;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/City/CitySelectGroupList.js?");

/***/ }),

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

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[\"default\"] = void 0;\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 _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _City = _interopRequireDefault(__webpack_require__(/*! ./City.less */ \"./src/component/web/base/City/City.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); }\nfunction CitySelectGruopTitle(props) {\n  var titleText = props.titleText,\n    current = props.current,\n    onTitleTabClick = props.onTitleTabClick,\n    tabInx = props.tabInx;\n  var onClick = function onClick(e) {\n    onTitleTabClick(tabInx);\n  };\n  var divEleClass = (0, _classnames2[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _City[\"default\"]['title-tab-div'], true), _City[\"default\"]['title-tab-div-current'], current), 'theme-2px-border-bottom', current), 'hover-theme-fc1', true), 'theme-fc', current));\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: divEleClass,\n    onClick: onClick\n  }, titleText);\n}\nvar _default = exports[\"default\"] = CitySelectGruopTitle;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/City/CitySelectGroupTitle.js?");

/***/ }),

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

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.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[\"default\"] = void 0;\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.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.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.is.js */ \"../../node_modules/core-js/modules/es.object.is.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.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 _lodash = _interopRequireDefault(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nvar _CitySelectGroupTitle = _interopRequireDefault(__webpack_require__(/*! ./CitySelectGroupTitle */ \"./src/component/web/base/City/CitySelectGroupTitle.js\"));\nvar _global = _interopRequireWildcard(__webpack_require__(/*! @/global */ \"./src/global/index.js\"));\nvar _City = _interopRequireDefault(__webpack_require__(/*! ./City.less */ \"./src/component/web/base/City/City.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 _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); }\nfunction CitySelectGroupTitleList(props) {\n  var onTitleTabClick = props.onTitleTabClick,\n    titleAry = props.titleAry,\n    activeTabIndex = props.activeTabIndex; // activeTabIndex为国内、国际页签index，props.index为ABCD分组的index\n\n  var wheelIndexRef = (0, _react.useRef)(0);\n  var titleListRef = (0, _react.useRef)(null);\n\n  // 通过鼠标滚轮切换分组\n  var wheelToTab = function wheelToTab(index) {\n    onTitleTabClick(index);\n  };\n\n  // 通过点击切换分组\n  var clickToTab = function clickToTab(index) {\n    onTitleTabClick(index);\n    wheelIndexRef.current = index;\n  };\n\n  // 国内、国际页签之间切换时，刷新分组初始位置\n  (0, _react.useEffect)(function () {\n    wheelIndexRef.current = 0;\n  }, [activeTabIndex]);\n  (0, _react.useEffect)(function () {\n    var handleWheelEvent = _lodash[\"default\"].debounce(function (e) {\n      var event = e || window.event;\n      if (event.wheelDelta) {\n        // 判断浏览器IE，谷歌滑轮事件\n        if (event.wheelDelta > 0) {\n          // 当滑轮向上滚动时\n          wheelIndexRef.current > 0 && wheelIndexRef.current--;\n          wheelToTab(wheelIndexRef.current > 0 ? wheelIndexRef.current : 0);\n        }\n        if (event.wheelDelta < 0) {\n          // 当滑轮向下滚动时\n          wheelIndexRef.current < titleAry.length - 1 && wheelIndexRef.current++;\n          wheelToTab(wheelIndexRef.current);\n        }\n      } else if (event.detail) {\n        // Firefox滑轮事件\n        if (event.detail > 0) {\n          // 当滑轮向下滚动时\n          wheelIndexRef.current < titleAry.length - 1 && wheelIndexRef.current++;\n          wheelToTab(wheelIndexRef.current);\n        }\n        if (event.detail < 0) {\n          // 当滑轮向上滚动时\n          wheelIndexRef.current > 0 && wheelIndexRef.current--;\n          wheelToTab(wheelIndexRef.current > 0 ? wheelIndexRef.current : 0);\n        }\n      }\n    }, 50);\n\n    // FireFox浏览器下监听DOMMouseScroll，chrome、IE、safari浏览器下监听mousewheel\n    var mousewheelMethodName = 'mousewheel';\n    if (_global[\"default\"][_global.IS_FIREFOX]) {\n      mousewheelMethodName = 'DOMMouseScroll';\n    }\n    titleListRef.current && titleListRef.current.addEventListener(mousewheelMethodName, handleWheelEvent, false);\n    return function () {\n      titleListRef.current && titleListRef.current.removeEventListener(mousewheelMethodName, handleWheelEvent, false);\n    };\n  }, [titleListRef.current, wheelIndexRef.current]);\n  var titleClassName = (0, _classnames2[\"default\"])(_defineProperty({}, _City[\"default\"]['title-list-div'], true));\n  return titleAry && titleAry.length === 0 ? null : /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    ref: titleListRef,\n    className: titleClassName\n  }, titleAry.map(function (item, index) {\n    return /*#__PURE__*/_react[\"default\"].createElement(_CitySelectGroupTitle[\"default\"], {\n      key: \"title_\".concat(index),\n      current: Object.is(index, props.index),\n      tabInx: index,\n      titleText: item,\n      onTitleTabClick: clickToTab\n    });\n  }));\n}\nvar _default = exports[\"default\"] = CitySelectGroupTitleList;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/City/CitySelectGroupTitleList.js?");

/***/ }),

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

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[\"default\"] = void 0;\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.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _CityTabArea = _interopRequireDefault(__webpack_require__(/*! ./CityTabArea */ \"./src/component/web/base/City/CityTabArea.js\"));\nvar _CitySelectGroupTitleList = _interopRequireDefault(__webpack_require__(/*! ./CitySelectGroupTitleList */ \"./src/component/web/base/City/CitySelectGroupTitleList.js\"));\nvar _CitySelectGroupList = _interopRequireDefault(__webpack_require__(/*! ./CitySelectGroupList */ \"./src/component/web/base/City/CitySelectGroupList.js\"));\nvar _CityOtherPanel = __webpack_require__(/*! ./CityOtherPanel */ \"./src/component/web/base/City/CityOtherPanel.js\");\nvar _City = _interopRequireDefault(__webpack_require__(/*! ./City.less */ \"./src/component/web/base/City/City.less\"));\nvar _const = __webpack_require__(/*! @/constant/const.js */ \"./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 CitySelectPanel(props) {\n  var activeTabIndex = props.activeTabIndex,\n    cityList = props.cityList,\n    setValue = props.setValue,\n    setActiveTabIndex = props.setActiveTabIndex,\n    getCityGroupList = props.getCityGroupList,\n    titleAry = props.titleAry,\n    panelLoading = props.panelLoading,\n    cityListLoading = props.cityListLoading,\n    groupIndex = props.groupIndex,\n    setGroupIndex = props.setGroupIndex;\n  (0, _react.useEffect)(function () {\n    if (panelLoading === _const.QUERY_STATUS.loaded) {\n      var _cityList = cityList.filter(function (item) {\n        return item.cityAry.length !== 0;\n      });\n      if (_cityList.length === 0 && groupIndex !== 0) {\n        getCityGroupList(activeTabIndex, titleAry[groupIndex], _const.CITY_LIMIT_PAGE_SIZE);\n      }\n    }\n  }, [groupIndex]);\n  var handleActiveTab = function handleActiveTab(index) {\n    setGroupIndex(0);\n    setActiveTabIndex(index);\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, panelLoading === _const.QUERY_STATUS.loading && /*#__PURE__*/_react[\"default\"].createElement(_CityOtherPanel.LoadingPanel, {\n    className: _City[\"default\"]['select-loading-higher']\n  }), panelLoading === _const.QUERY_STATUS.loaded && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _City[\"default\"]['city-select-root']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _City[\"default\"]['tab-div']\n  }, /*#__PURE__*/_react[\"default\"].createElement(_CityTabArea[\"default\"], {\n    activeTabIndex: activeTabIndex,\n    setActiveTabIndex: handleActiveTab\n  })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _City[\"default\"]['city-panel']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, /*#__PURE__*/_react[\"default\"].createElement(_CitySelectGroupTitleList[\"default\"], {\n    titleAry: titleAry,\n    activeTabIndex: activeTabIndex,\n    index: groupIndex,\n    onTitleTabClick: setGroupIndex\n  }), cityListLoading === _const.QUERY_STATUS.loading && /*#__PURE__*/_react[\"default\"].createElement(_CityOtherPanel.LoadingPanel, {\n    className: _City[\"default\"]['select-loading']\n  }), cityListLoading === _const.QUERY_STATUS.nodata && /*#__PURE__*/_react[\"default\"].createElement(_CityOtherPanel.NoDataPanel, {\n    className: _City[\"default\"]['select-no-data']\n  }), cityListLoading === _const.QUERY_STATUS.loaded && /*#__PURE__*/_react[\"default\"].createElement(_CitySelectGroupList[\"default\"], {\n    getCityGroupList: getCityGroupList,\n    activeTabIndex: activeTabIndex,\n    cityList: cityList,\n    setValue: setValue\n  })))), panelLoading === _const.QUERY_STATUS.nodata && /*#__PURE__*/_react[\"default\"].createElement(_CityOtherPanel.NoDataPanel, {\n    className: _City[\"default\"]['select-no-data']\n  }));\n}\nvar _default = exports[\"default\"] = CitySelectPanel;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/City/CitySelectPanel.js?");

/***/ }),

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

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.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.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/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\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); }\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\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _City = _interopRequireDefault(__webpack_require__(/*! ./City.less */ \"./src/component/web/base/City/City.less\"));\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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); }\nfunction CityTabArea(props) {\n  var activeTabIndex = props.activeTabIndex,\n    setActiveTabIndex = props.setActiveTabIndex;\n  var content = [(0, _intlApi.getLangMsg)({\n    key: 'City.key0002'\n  }), (0, _intlApi.getLangMsg)({\n    key: 'City.key0003'\n  })].map(function (name, index) {\n    var _className = (0, _classnames2[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _City[\"default\"]['right-trapezoid-active'], index === activeTabIndex && index === 0), _City[\"default\"]['right-trapezoid'], index !== activeTabIndex && index === 0), _City[\"default\"].trapezoid, index !== activeTabIndex && index !== 0), _City[\"default\"]['trapezoid-active'], index === activeTabIndex && index !== 0), 'theme-fc', index === activeTabIndex), _City[\"default\"]['tab-active-z-index'], index === activeTabIndex), _City[\"default\"]['tab-div-item'], true));\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      key: \"tab_\".concat(index),\n      className: _className,\n      onClick: function onClick() {\n        return setActiveTabIndex(index);\n      }\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _City[\"default\"]['content-overflow']\n    }, name));\n  });\n  return content;\n}\nvar _default = exports[\"default\"] = CityTabArea;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/City/CityTabArea.js?");

/***/ }),

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

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.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.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.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.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.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.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.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.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.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 _reactDom = __webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\");\nvar _classnames5 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _City = _interopRequireDefault(__webpack_require__(/*! ./City.less */ \"./src/component/web/base/City/City.less\"));\nvar _commonAnimation = _interopRequireDefault(__webpack_require__(/*! @/component/common/commonAnimation.less */ \"./src/component/common/commonAnimation.less\"));\nvar _baseComponent = _interopRequireDefault(__webpack_require__(/*! @/component/web/base/baseComponent.less */ \"./src/component/web/base/baseComponent.less\"));\nvar _keyCodeTool = __webpack_require__(/*! @/util/keyCodeTool */ \"./src/util/keyCodeTool.js\");\nvar _CitySelectPanel = _interopRequireDefault(__webpack_require__(/*! ./CitySelectPanel */ \"./src/component/web/base/City/CitySelectPanel.js\"));\nvar _CitySearchPanel = _interopRequireDefault(__webpack_require__(/*! ./CitySearchPanel */ \"./src/component/web/base/City/CitySearchPanel.js\"));\nvar _PanelWrapper = _interopRequireDefault(__webpack_require__(/*! @/component/common/PanelWrapper */ \"./src/component/common/PanelWrapper.js\"));\nvar _cityUtil = __webpack_require__(/*! @/util/cityUtil */ \"./src/util/cityUtil.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 _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 _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); }\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; }\n/**\n * @author zejie_liao\n * @description 2019年10月14日，城市字段React Hooks重构第一版\n * @param {Object} props\n */\nfunction City(props) {\n  var _this = this;\n  var _props$noValue = props.noValue,\n    noValue = _props$noValue === void 0 ? '' : _props$noValue,\n    value = props.value,\n    placeholder = props.placeholder,\n    disabled = props.disabled,\n    style = props.style,\n    theme = props.theme,\n    onHandleChange = props.onHandleChange,\n    showCityPanel = props.showCityPanel,\n    getPopupContainer = props.getPopupContainer,\n    cityGroup = props.cityGroup,\n    cityData = props.cityData,\n    citySearchList = props.citySearchList,\n    getCityGroupList = props.getCityGroupList,\n    getCitySearchList = props.getCitySearchList,\n    panelLoading = props.panelLoading,\n    searchLoading = props.searchLoading,\n    cityListLoading = props.cityListLoading,\n    containerStyle = props.containerStyle,\n    shortcutInfo = props.shortcutInfo,\n    lock = props.lock,\n    onKeyDown = props.onKeyDown;\n  var _useState = (0, _react.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    cityPanelShow = _useState2[0],\n    setCityPanelShow = _useState2[1];\n  var _useState3 = (0, _react.useState)(false),\n    _useState4 = _slicedToArray(_useState3, 2),\n    searchPanelShow = _useState4[0],\n    setSearchPanelShow = _useState4[1];\n  var _useState5 = (0, _react.useState)(''),\n    _useState6 = _slicedToArray(_useState5, 2),\n    inputValue = _useState6[0],\n    setInputValue = _useState6[1];\n  var _useState7 = (0, _react.useState)(''),\n    _useState8 = _slicedToArray(_useState7, 2),\n    additionValue = _useState8[0],\n    setAdditionValue = _useState8[1];\n  var _useState9 = (0, _react.useState)(-1),\n    _useState10 = _slicedToArray(_useState9, 2),\n    searchIndex = _useState10[0],\n    setSearchIndex = _useState10[1];\n  var _useState11 = (0, _react.useState)(0),\n    _useState12 = _slicedToArray(_useState11, 2),\n    activeTabIndex = _useState12[0],\n    setActiveTabIndex = _useState12[1];\n  var _useState13 = (0, _react.useState)(0),\n    _useState14 = _slicedToArray(_useState13, 2),\n    groupIndex = _useState14[0],\n    setGroupIndex = _useState14[1];\n  var rootRef = (0, _react.useRef)(null);\n  var inputRef = (0, _react.useRef)(null);\n  var cityPanelRef = (0, _react.useRef)(null);\n  var searchPanelRef = (0, _react.useRef)(null);\n  var handleSearchRef = (0, _react.useRef)(null);\n  var searchList = citySearchList.getIn([activeTabIndex, inputValue], []);\n\n  /**\n   * 将选择的城市名设置到输入框中\n   * @param {object} city 城市对象，包括城市名和城市id\n  */\n  var setValue = function setValue(city) {\n    onHandleChange(city);\n    if (rootRef.current) {\n      var name = city.name,\n        _city$p = city.p,\n        p = _city$p === void 0 ? '' : _city$p,\n        _city$c = city.c,\n        c = _city$c === void 0 ? '' : _city$c;\n      // inputRef.current.focus()\n      setInputValue(name);\n      setAdditionValue(activeTabIndex !== 0 ? \"\".concat(p, \" \").concat(c) : '');\n      setCityPanelShow(false);\n      setSearchPanelShow(false);\n    }\n  };\n  var handleKeyDown = function handleKeyDown(e) {\n    /**\n     * 左：keyCode 37, key 'ArrowLeft'\n     * 右：keyCode 39, key 'ArrowRight'\n     * 上：keyCode 38, key 'ArrowUp'\n     * 下：keyCode 40, key 'ArrowDown'\n     * 回车键：keyCode 13, key 'Enter'\n     * ESC键：keyCode 27, key 'Escape'\n     * Tab键：keyCode 9, key 'Tab'\n    */\n    var keyCode = (0, _keyCodeTool.getKeyCode)(e);\n    if (searchList.length !== 0) {\n      switch (keyCode) {\n        case 37:\n        case 39:\n          break;\n        case 38:\n          e.preventDefault();\n          if (searchIndex !== -1 && searchIndex !== 0) {\n            setSearchIndex(searchIndex - 1);\n          }\n          onKeyDown === null || onKeyDown === void 0 || onKeyDown(e);\n          break;\n        case 40:\n          if (searchIndex === -1) {\n            setSearchIndex(0);\n            onKeyDown === null || onKeyDown === void 0 || onKeyDown(e);\n            break;\n          }\n          if (searchIndex < searchList.length - 1) {\n            setSearchIndex(searchIndex + 1);\n          } else {\n            setSearchIndex(searchList.length - 1);\n          }\n          onKeyDown === null || onKeyDown === void 0 || onKeyDown(e);\n          break;\n        case 13:\n          setValue(searchList[searchIndex]);\n          onKeyDown === null || onKeyDown === void 0 || onKeyDown(e);\n          break;\n        case 27:\n        case 9:\n          if (searchList.length === 0 || inputValue === '') {\n            setValue({\n              name: '',\n              id: ''\n            });\n          } else {\n            setValue(searchList[0]);\n          }\n          break;\n        default:\n          return;\n      }\n    }\n    if (!cityPanelShow && keyCode === 40 && !searchPanelShow) {\n      setCityPanelShow(true);\n    }\n  };\n  (0, _react.useEffect)(function () {\n    var debounce = function debounce(fn) {\n      var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 300;\n      var timer;\n      return function () {\n        for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n          args[_key] = arguments[_key];\n        }\n        if (timer) {\n          clearTimeout(timer);\n        }\n        timer = setTimeout(function () {\n          fn.apply(_this, args);\n        }, delay);\n      };\n    };\n    handleSearchRef.current = debounce(getCitySearchList, 300);\n  }, []);\n  (0, _react.useEffect)(function () {\n    if (disabled || lock) {\n      setInputValue(inputValue || noValue);\n    }\n  }, [disabled, lock]);\n  (0, _react.useEffect)(function () {\n    // 单据体点击时控制城市面板显示需要通过showCityPanel控制\n    if (showCityPanel && !disabled) {\n      setCityPanelShow(showCityPanel);\n    }\n  }, [showCityPanel]);\n  (0, _react.useEffect)(function () {\n    if (cityPanelShow) setSearchPanelShow(false);\n  }, [cityPanelShow]);\n  (0, _react.useEffect)(function () {\n    if (searchPanelShow) {\n      setCityPanelShow(false);\n      if (inputValue) {\n        handleSearchRef.current(activeTabIndex, inputValue);\n      }\n    }\n  }, [searchPanelShow, activeTabIndex, inputValue]);\n  (0, _react.useEffect)(function () {\n    if (value) {\n      if (lock) {\n        setInputValue(value[0] || noValue);\n      } else {\n        setInputValue(value[0]);\n      }\n      setAdditionValue(value ? \"\".concat(value[3] || '', \" \").concat(value[2] || '') : '');\n    }\n  }, [value, lock]);\n\n  /**\n   * 值改变，边输边搜索过滤\n  */\n  var search = function search(value) {\n    setAdditionValue('');\n    var customerInputValue = value;\n    if (!customerInputValue) {\n      setValue({\n        name: '',\n        id: ''\n      });\n      setSearchPanelShow(false);\n      setCityPanelShow(true);\n    } else {\n      setInputValue(customerInputValue);\n      setCityPanelShow(false);\n      setSearchPanelShow(true);\n      setSearchIndex(-1);\n    }\n  };\n  var onClose = function onClose() {\n    if (rootRef.current) {\n      setSearchPanelShow(false);\n      setCityPanelShow(false);\n    }\n  };\n\n  /**\n   * 聚焦时搜索面板还在，就显示搜索面板，否则显示城市面板\n   */\n  var handleFocus = function handleFocus() {\n    if (disabled) return;\n    setCityPanelShow(true);\n  };\n  var handleBlur = function handleBlur() {\n    if (disabled) return;\n    if (value[0] !== inputValue) {\n      setInputValue(value[0]);\n    }\n    setCityPanelShow(false);\n    setSearchPanelShow(false);\n  };\n  var handleChange = function handleChange(e) {\n    if (disabled) return;\n    var value = e.target.value;\n    search(value);\n  };\n\n  // 箭头的点击事件\n  var handleArrowClick = function handleArrowClick() {\n    if (searchPanelShow) {\n      // inputRef.current.focus()\n      setSearchPanelShow(false);\n      if (searchList.length === 0) {\n        setValue({\n          name: '',\n          id: ''\n        });\n      } else {\n        setValue(searchList[0]);\n      }\n      return;\n    }\n    if (cityPanelShow) {\n      setCityPanelShow(false);\n    } else {\n      setCityPanelShow(true);\n    }\n  };\n  var renderCityPanel = function renderCityPanel() {\n    var rootDiv = rootRef.current;\n    // 获取表格传入的弹窗父级容器\n    var containter = getPopupContainer && getPopupContainer();\n    var titleAry = (0, _cityUtil.parseCityGroup)(cityGroup, activeTabIndex);\n    var cityList = (0, _cityUtil.getCityList)(cityData, activeTabIndex, cityGroup, groupIndex, titleAry);\n    var cityListLoadingKey = \"\".concat(activeTabIndex, \"_\").concat(titleAry[groupIndex]);\n    var _cityListLoading = cityListLoading[cityListLoadingKey] === undefined ? _const.QUERY_STATUS.loaded : cityListLoading[cityListLoadingKey];\n    return /*#__PURE__*/(0, _reactDom.createPortal)( /*#__PURE__*/_react[\"default\"].createElement(_PanelWrapper[\"default\"], {\n      onClose: onClose,\n      trigger: rootDiv\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      ref: cityPanelRef\n    }, /*#__PURE__*/_react[\"default\"].createElement(_CitySelectPanel[\"default\"], {\n      cityList: cityList,\n      setValue: setValue,\n      panelLoading: panelLoading,\n      titleAry: titleAry,\n      getCityGroupList: getCityGroupList,\n      cityListLoading: _cityListLoading,\n      activeTabIndex: activeTabIndex,\n      setActiveTabIndex: setActiveTabIndex,\n      groupIndex: groupIndex,\n      setGroupIndex: setGroupIndex\n    }))), containter || document.body);\n  };\n  var renderSearchPanel = function renderSearchPanel() {\n    var rootDiv = rootRef.current;\n    // 所有城市合集，包括国内和国际\n    var containter = getPopupContainer && getPopupContainer();\n    var searchLoadingKey = \"\".concat(activeTabIndex, \"_\").concat(inputValue);\n    var _searchLoading = searchLoading[searchLoadingKey];\n    return /*#__PURE__*/(0, _reactDom.createPortal)( /*#__PURE__*/_react[\"default\"].createElement(_PanelWrapper[\"default\"], {\n      onClose: onClose,\n      trigger: rootDiv\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      ref: searchPanelRef,\n      className: (0, _classnames5[\"default\"])(_City[\"default\"]['search-panel'], _commonAnimation[\"default\"]['panel-drop-down-animation'])\n    }, /*#__PURE__*/_react[\"default\"].createElement(_CitySearchPanel[\"default\"], {\n      searchLoading: _searchLoading,\n      dataAry: searchList,\n      value: inputValue,\n      setValue: setValue,\n      searchIndex: searchIndex,\n      activeTabIndex: activeTabIndex,\n      setActiveTabIndex: setActiveTabIndex\n    }))), containter || document.body);\n  };\n  var classNames = (0, _classnames5[\"default\"])(_defineProperty({}, _City[\"default\"]['input-div'], true));\n  var imgSpanStyle = (0, _classnames5[\"default\"])(_City[\"default\"]['input-img-span'], 'kdfont kdfont-xiala', _commonAnimation[\"default\"]['arrow-move-in-animation'], _defineProperty({}, _commonAnimation[\"default\"]['arrow-move-out-animation'], cityPanelShow || searchPanelShow));\n  var additionInfoClass = (0, _classnames5[\"default\"])('kd-cq-city-addition-info', _defineProperty({}, _City[\"default\"]['input-additionInfo'], true));\n  var inputClass = (0, _classnames5[\"default\"])('kd-cq-input', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _City[\"default\"]['input-class'], true), _City[\"default\"]['font-size-' + theme], true), _baseComponent[\"default\"]['field-disabled-no-value-color'], disabled && inputValue === noValue), _City[\"default\"]['lock-with-no-value'], lock && inputValue === noValue), \"CityInput\", true));\n  var inputEvents = !disabled && {\n    onFocus: handleFocus,\n    onChange: handleChange,\n    onBlur: handleBlur,\n    onKeyDown: handleKeyDown\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: classNames,\n    ref: rootRef,\n    \"data-base-ctrl\": true,\n    style: containerStyle\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n    type: \"text\",\n    readOnly: disabled,\n    ref: inputRef,\n    tabIndex: \"-1\",\n    placeholder: placeholder,\n    style: style,\n    className: inputClass,\n    title: inputValue,\n    value: inputValue\n  }, inputEvents, shortcutInfo)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: additionInfoClass,\n    title: additionValue\n  }, additionValue), !disabled && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: imgSpanStyle,\n    onClick: handleArrowClick\n  }), cityPanelShow && renderCityPanel(), searchPanelShow && renderSearchPanel());\n}\nvar _default = exports[\"default\"] = City;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/City/index.js?");

/***/ }),

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

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\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.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.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.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.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 _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\"));\nvar _codemirror = _interopRequireDefault(__webpack_require__(/*! codemirror */ \"../../node_modules/codemirror/lib/codemirror.js\"));\n__webpack_require__(/*! codemirror/mode/javascript/javascript */ \"../../node_modules/codemirror/mode/javascript/javascript.js\");\n__webpack_require__(/*! codemirror/mode/xml/xml */ \"../../node_modules/codemirror/mode/xml/xml.js\");\n__webpack_require__(/*! codemirror/mode/markdown/markdown */ \"../../node_modules/codemirror/mode/markdown/markdown.js\");\n__webpack_require__(/*! codemirror/mode/clike/clike */ \"../../node_modules/codemirror/mode/clike/clike.js\");\n__webpack_require__(/*! codemirror/mode/sql/sql */ \"../../node_modules/codemirror/mode/sql/sql.js\");\n__webpack_require__(/*! codemirror/mode/css/css */ \"../../node_modules/codemirror/mode/css/css.js\");\n__webpack_require__(/*! codemirror/addon/fold/xml-fold */ \"../../node_modules/codemirror/addon/fold/xml-fold.js\");\n__webpack_require__(/*! codemirror/addon/selection/active-line */ \"../../node_modules/codemirror/addon/selection/active-line.js\");\n__webpack_require__(/*! codemirror/addon/fold/foldcode */ \"../../node_modules/codemirror/addon/fold/foldcode.js\");\n__webpack_require__(/*! codemirror/addon/fold/foldgutter */ \"../../node_modules/codemirror/addon/fold/foldgutter.js\");\n__webpack_require__(/*! codemirror/addon/fold/brace-fold */ \"../../node_modules/codemirror/addon/fold/brace-fold.js\");\n__webpack_require__(/*! codemirror/addon/fold/markdown-fold */ \"../../node_modules/codemirror/addon/fold/markdown-fold.js\");\n__webpack_require__(/*! codemirror/addon/search/search */ \"../../node_modules/codemirror/addon/search/search.js\");\n__webpack_require__(/*! codemirror/addon/search/searchcursor */ \"../../node_modules/codemirror/addon/search/searchcursor.js\");\n__webpack_require__(/*! codemirror/addon/dialog/dialog */ \"../../node_modules/codemirror/addon/dialog/dialog.js\");\n__webpack_require__(/*! codemirror/addon/edit/matchbrackets */ \"../../node_modules/codemirror/addon/edit/matchbrackets.js\");\n__webpack_require__(/*! codemirror/addon/edit/closebrackets */ \"../../node_modules/codemirror/addon/edit/closebrackets.js\");\n__webpack_require__(/*! codemirror/addon/wrap/hardwrap */ \"../../node_modules/codemirror/addon/wrap/hardwrap.js\");\n__webpack_require__(/*! codemirror/addon/hint/javascript-hint */ \"../../node_modules/codemirror/addon/hint/javascript-hint.js\");\n__webpack_require__(/*! ./sql-hint */ \"./src/component/web/base/CodeEdit/sql-hint.js\");\n__webpack_require__(/*! codemirror/addon/hint/show-hint */ \"../../node_modules/codemirror/addon/hint/show-hint.js\");\n__webpack_require__(/*! codemirror/addon/comment/comment */ \"../../node_modules/codemirror/addon/comment/comment.js\");\n__webpack_require__(/*! codemirror/addon/hint/show-hint.css */ \"../../node_modules/codemirror/addon/hint/show-hint.css\");\nvar _lodash = _interopRequireDefault(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nvar _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _CodeEdit2 = _interopRequireDefault(__webpack_require__(/*! ./CodeEdit.less */ \"./src/component/web/base/CodeEdit/CodeEdit.less\"));\n__webpack_require__(/*! ./CodeEdit_formatting */ \"./src/component/web/base/CodeEdit/CodeEdit_formatting.js\");\nvar _copyToClipboard = _interopRequireDefault(__webpack_require__(/*! copy-to-clipboard */ \"../../node_modules/copy-to-clipboard/index.js\"));\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _memoryCacher = __webpack_require__(/*! @/model/memoryCacher */ \"./src/model/memoryCacher.js\");\nvar _util = __webpack_require__(/*! @/component/web/base/CodeEdit/util.js */ \"./src/component/web/base/CodeEdit/util.js\");\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _action = __webpack_require__(/*! @/action/action.js */ \"./src/action/action.js\");\nvar _fieldaction = __webpack_require__(/*! @/action/fieldaction.js */ \"./src/action/fieldaction.js\");\nvar _const = __webpack_require__(/*! @/constant/const.js */ \"./src/constant/const.js\");\nvar _excluded = [\"className\", \"style\", \"Grow\", \"Shrink\", \"AlignSelf\", \"value\", \"path\", \"fileType\", \"isShowLineNumber\", \"isShowCopyBtn\", \"theme\", \"pageId\", \"isLock\"];\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 _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 _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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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); } // import 'codemirror/addon/hint/sql-hint'\nvar CodeEdit = /*#__PURE__*/function (_React$Component) {\n  _inherits(CodeEdit, _React$Component);\n  function CodeEdit(props) {\n    var _this;\n    _classCallCheck(this, CodeEdit);\n    _this = _callSuper(this, CodeEdit, [props]);\n    _this.getEditorValue = function () {\n      var doc = _this.codeMirror.getDoc();\n      var value = doc.getValue();\n      return value;\n    };\n    _this.handleMouseEnter = function () {\n      _this.setState({\n        mouseEnter: true\n      });\n    };\n    _this.handleMouseLeave = function () {\n      _this.setState({\n        mouseEnter: false\n      });\n    };\n    _this.state = {\n      isFocused: false,\n      value: props.value,\n      isLock: props.isLock,\n      mouseEnter: false\n    };\n    _this.requested = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.onSelect = _this.onSelect.bind(_assertThisInitialized(_this));\n    _this.inputing = false; // 记录用户是否正在输入\n    _this.inputTimer = null;\n    return _this;\n  }\n\n  // componentWillMount () {\n  //   this.componentWillReceiveProps = _.debounce(this.componentWillReceiveProps, 0)\n  // }\n  _createClass(CodeEdit, [{\n    key: \"onSelect\",\n    value: function onSelect() {\n      var selection = this.codeMirror.getSelection();\n      this.props.onSelect && this.props.onSelect(selection);\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this2 = this;\n      var textareaNode = _reactDom[\"default\"].findDOMNode(this.refs.textarea);\n      var _this$props = this.props,\n        fileType = _this$props.fileType,\n        theme = _this$props.theme,\n        _this$props$isShowLin = _this$props.isShowLineNumber,\n        isShowLineNumber = _this$props$isShowLin === void 0 ? false : _this$props$isShowLin,\n        isLock = _this$props.isLock,\n        _this$props$openDynam = _this$props.openDynamicHints,\n        openDynamicHints = _this$props$openDynam === void 0 ? false : _this$props$openDynam,\n        _this$props$lineWrapp = _this$props.lineWrapping,\n        lineWrapping = _this$props$lineWrapp === void 0 ? false : _this$props$lineWrapp;\n      fileType = this.transferType(fileType);\n      var op = {\n        lineNumbers: isShowLineNumber,\n        mode: this.getTransferTypeMode(fileType),\n        highlightSelectionMatches: {\n          showToken: /\\w/\n        },\n        lineWrapping: lineWrapping,\n        autoCloseBrackets: true,\n        showCursorWhenSelecting: true,\n        theme: this.getTransferTheme(theme),\n        autoMatchParens: true,\n        styleActiveLine: true,\n        matchBrackets: true,\n        readOnly: isLock,\n        // 锁定时不可编辑\n        cursorBlinkRate: isLock ? -1 : 530,\n        // 锁定时，光标闪动间隔设置为负数会隐藏，默认是530（ms）\n        extraKeys: {\n          'Alt-F': 'findPersistent',\n          'Alt-/': 'autocomplete',\n          'Shift-Ctrl-F': autoFormat\n        },\n        hintOptions: {\n          // 自定义提示选项\n          completeSingle: false,\n          // 当匹配只有一项的时候是否自动补全\n          tables: {},\n          needMatch: !openDynamicHints // 是否关闭提示语自动筛选\n        }\n      };\n      op = isShowLineNumber ? Object.assign({}, op, {\n        foldGutter: true,\n        gutters: ['CodeMirror-linenumbers', 'CodeMirror-foldgutter']\n      }) : op;\n      this.codeMirror = _codemirror[\"default\"].fromTextArea(textareaNode, 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('cursorActivity', this.onSelect);\n      this.codeMirror.setValue(this.props.value || '');\n      this.initCodeEdit();\n      // 监听Tab页签切换\n      this.removeTabListener = (0, _memoryCacher.addDataChangeListener)(this.props.pageId, 'tabactive', function (tabDatePageId) {\n        var datePageId = _this2.props.pageId + '_' + tabDatePageId;\n        var dom = null;\n        var target = _reactDom[\"default\"].findDOMNode(_this2.refs.textarea);\n        while (target && target !== document) {\n          if (target.getAttribute('data-page-id') === datePageId) {\n            dom = target;\n          }\n          target = target.parentNode;\n        }\n        if (dom) {\n          _this2.codeMirror.toTextArea();\n          op = isShowLineNumber ? Object.assign({}, op, {\n            foldGutter: true,\n            gutters: ['CodeMirror-linenumbers', 'CodeMirror-foldgutter']\n          }) : op;\n          _this2.codeMirror = _codemirror[\"default\"].fromTextArea(textareaNode, op);\n          _this2.codeMirror.on('change', _this2.codemirrorValueChanged.bind(_this2));\n          _this2.codeMirror.on('focus', _this2.focusChanged.bind(_this2, true));\n          _this2.codeMirror.on('blur', _this2.focusChanged.bind(_this2, false));\n          _this2.codeMirror.setValue(_this2.state.value);\n          _this2.initCodeEdit();\n        }\n      });\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      if (this.codeMirror) {\n        this.codeMirror.toTextArea();\n      }\n      clearTimeout(this.inputTimer);\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      var _this3 = this;\n      if (this.codeMirror) {\n        if (nextProps.value !== undefined && this.codeMirror.getValue() !== nextProps.value && this.state.value !== nextProps.value) {\n          this.setState({\n            value: nextProps.value\n          }, function () {\n            _this3.codeMirror.setValue(nextProps.value);\n          });\n        }\n        if (this.state.isLock !== nextProps.isLock) {\n          this.codeMirror.setOption('readOnly', nextProps.isLock);\n          this.codeMirror.setOption('cursorBlinkRate', nextProps.isLock ? -1 : 530);\n          this.setState({\n            isLock: nextProps.isLock\n          });\n        }\n      }\n      if (this.props.codeChanege !== nextProps.codeChanege) {\n        var codeHints = nextProps.codeHints,\n          fileType = nextProps.fileType,\n          id = nextProps.id,\n          pageId = nextProps.pageId,\n          openDynamicHints = nextProps.openDynamicHints,\n          dynamicHintsCodes = nextProps.dynamicHintsCodes;\n        var args = {\n          allCode: codeHints,\n          model: {\n            id: id,\n            pageId: pageId\n          },\n          showType: 'fixed',\n          openDynamicHints: openDynamicHints,\n          dynamicHintsCodes: dynamicHintsCodes\n        };\n        var tables = (0, _util.getHints)(fileType)(args);\n        this.setHintOptions(this.codeMirror, {\n          tables: tables,\n          needMatch: !openDynamicHints\n        });\n      }\n      if (!(0, _immutable.is)(this.props.keyWords, nextProps.keyWords)) {\n        (0, _util.setKeyWords)(nextProps.fileType)(_codemirror[\"default\"], nextProps.keyWords.toJS());\n      }\n    }\n  }, {\n    key: \"componentDidUpdate\",\n    value: function componentDidUpdate(prevProps) {\n      this.initCodeEdit();\n    }\n\n    // 在设计器中设置的属性是挂在最外层，每次渲染之后要让内部的高度去适配外层dom的高度\n  }, {\n    key: \"initCodeEdit\",\n    value: function initCodeEdit() {\n      var dom = this.codeMirror.display.wrapper;\n      dom.style.height = _reactDom[\"default\"].findDOMNode(this).clientHeight + 'px';\n      this.codeMirror.refresh();\n    }\n  }, {\n    key: \"focusChanged\",\n    value: function focusChanged(focused, doc) {\n      var onBlur = this.props.onBlur;\n      if (!focused && doc) {\n        onBlur && onBlur(doc === null || doc === void 0 ? void 0 : doc.getValue());\n      }\n      this.setState({\n        isFocused: focused\n      });\n    }\n\n    // 设置提示语配置\n  }, {\n    key: \"setHintOptions\",\n    value: function setHintOptions(codeMirror, _ref) {\n      var _ref$completeSingle = _ref.completeSingle,\n        completeSingle = _ref$completeSingle === void 0 ? false : _ref$completeSingle,\n        tables = _ref.tables,\n        _ref$needMatch = _ref.needMatch,\n        needMatch = _ref$needMatch === void 0 ? true : _ref$needMatch;\n      // completeSingle:false  提示框仅有一项时不自动填充\n      // needMatch:false, 关闭提示语自动过滤，后端返回什么提示什么\n      var option = {\n        completeSingle: completeSingle,\n        tables: tables,\n        needMatch: needMatch\n      };\n      codeMirror.setOption('hintOptions', option);\n    }\n\n    // 缓存查询参数\n  }, {\n    key: \"cacheGetHintParams\",\n    value: function cacheGetHintParams(params) {\n      var _this$props2 = this.props,\n        id = _this$props2.id,\n        pageId = _this$props2.pageId;\n      (0, _memoryCacher.setPageData)(pageId, [_const.GET_HINT_PARAMS, id], params);\n    }\n\n    // 查找缓存中是否存在提示语\n  }, {\n    key: \"getcacheHint\",\n    value: function getcacheHint(userInput) {\n      var _this$props3 = this.props,\n        id = _this$props3.id,\n        pageId = _this$props3.pageId;\n      var cacheHint = (0, _memoryCacher.getPageData)(pageId, [_const.CACHE_HINT, id, userInput]);\n      return cacheHint !== null && cacheHint !== void 0 && cacheHint.length ? cacheHint : false;\n    }\n\n    // 展示提示面板\n  }, {\n    key: \"showAutocomplete\",\n    value: function showAutocomplete() {\n      if (this.inputing) {\n        this.codeMirror.execCommand('autocomplete');\n        this.inputing = false;\n      }\n    }\n  }, {\n    key: \"handledynamicHints\",\n    value: function handledynamicHints(doc, change) {\n      var _this4 = this;\n      var isHasPrefix = false;\n      var _this$props4 = this.props,\n        fileType = _this$props4.fileType,\n        codeHints = _this$props4.codeHints,\n        id = _this$props4.id,\n        pageId = _this$props4.pageId,\n        openDynamicHints = _this$props4.openDynamicHints;\n      if (change.origin === '+input') {\n        // 用户输入时，动态设置提示内容\n        this.inputing = true;\n        var currentStr = (0, _util.getUserInput)(doc, change);\n        isHasPrefix = (0, _util.hasPrefix)(currentStr, this.props.prefix);\n        if (isHasPrefix) {\n          // 是否符合前缀\n          // 节流处理\n          if (this.inputTimer) return;\n          this.inputTimer = setTimeout(function () {\n            var hintData = _this4.getcacheHint(currentStr);\n            // 查询缓存提示语，没有就发起请求\n            if (hintData) {\n              var tables = (0, _util.getHints)(fileType)({\n                allCode: codeHints,\n                showType: 'fixed',\n                model: {\n                  id: id,\n                  pageId: pageId\n                },\n                openDynamicHints: openDynamicHints,\n                dynamicHintsCodes: hintData\n              });\n              _this4.setHintOptions(_this4.codeMirror, {\n                tables: tables,\n                needMatch: !openDynamicHints\n              });\n              _this4.showAutocomplete();\n              _this4.inputTimer = null;\n            } else {\n              // 缓存发出的查询参数\n              _this4.cacheGetHintParams(currentStr);\n              _this4.props.dispatch((0, _fieldaction.getHint)({\n                pageId: pageId,\n                key: id\n              }, [{\n                userInput: currentStr\n              }]));\n              _this4.inputTimer = null;\n            }\n          }, 200);\n        }\n      } else {\n        this.inputing = false;\n      }\n      return isHasPrefix;\n    }\n  }, {\n    key: \"codemirrorValueChanged\",\n    value: function codemirrorValueChanged(doc, change) {\n      var _this5 = this;\n      var _this$props5 = this.props,\n        realTimeGetHint = _this$props5.realTimeGetHint,\n        fileType = _this$props5.fileType,\n        autoComplete = _this$props5.autoComplete,\n        codeHints = _this$props5.codeHints,\n        id = _this$props5.id,\n        pageId = _this$props5.pageId,\n        openDynamicHints = _this$props5.openDynamicHints,\n        dynamicHintsCodes = _this$props5.dynamicHintsCodes;\n      if (this.props.onChange && change.origin !== 'setValue') {\n        this.setState({\n          value: doc.getValue()\n        }, function () {\n          _this5.props.onChange(doc.getValue());\n        });\n      }\n      if (autoComplete && /[a-zA-Z.]/.test(change.text[0])) {\n        // 处理动态提示\n        var isHasPrefix = this.handledynamicHints(doc, change);\n        if (realTimeGetHint) {\n          var model = {\n            id: id,\n            pageId: pageId\n          };\n          var _getKeys = (0, _util.getKeys)(fileType)({\n              doc: doc,\n              codemirror: _codemirror[\"default\"],\n              model: model,\n              requested: this.requested.current,\n              openDynamicHints: openDynamicHints\n            }),\n            keys = _getKeys.keys,\n            noRequestedKeys = _getKeys.noRequestedKeys;\n          var tables = (0, _util.getHints)(fileType)({\n            allCode: codeHints,\n            keys: keys,\n            showType: 'temporary',\n            model: model,\n            openDynamicHints: openDynamicHints,\n            dynamicHintsCodes: dynamicHintsCodes\n          });\n          this.setHintOptions(this.codeMirror, {\n            tables: tables,\n            needMatch: !isHasPrefix\n          });\n          // 避免相同字段重复发请求\n          if (noRequestedKeys.length > 0) {\n            this.requested.current = this.requested.current || [];\n            this.requested.current.push(noRequestedKeys);\n            this.props.dispatch((0, _action.invokeControlService)({\n              pageId: pageId,\n              key: id\n            }, 'getCustomHints', [{\n              word: noRequestedKeys\n            }]));\n          }\n        }\n        if (change.origin === '+input') {\n          doc.execCommand('autocomplete');\n        }\n      }\n    }\n  }, {\n    key: \"transferType\",\n    value: function transferType(fileType) {\n      switch (fileType) {\n        case 'json':\n          fileType = 'javascript';\n          break;\n        case 'less':\n          fileType = 'css';\n          break;\n        default:\n          return fileType;\n      }\n      return fileType;\n    }\n  }, {\n    key: \"getTransferTypeMode\",\n    value: function getTransferTypeMode(fileType) {\n      if (fileType === 'sql') {\n        return 'text/x-mariadb';\n      }\n      return {\n        name: fileType,\n        globalVars: true\n      };\n    }\n  }, {\n    key: \"getTransferTheme\",\n    value: function getTransferTheme(theme) {\n      // 产品建议把eclipse风格改成codemirror 默认风格\n      if (theme === 'eclipse') {\n        theme = 'default';\n      }\n      return theme;\n    }\n  }, {\n    key: \"insertContent\",\n    value: function insertContent(val) {\n      var doc = this.codeMirror.getDoc();\n      var cursor = doc.getCursor();\n      var line = cursor === null || cursor === void 0 ? void 0 : cursor.line;\n      var ch = cursor === null || cursor === void 0 ? void 0 : cursor.ch;\n      doc.replaceRange(val, {\n        line: line,\n        ch: ch\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props6 = this.props,\n        className = _this$props6.className,\n        style = _this$props6.style,\n        Grow = _this$props6.Grow,\n        Shrink = _this$props6.Shrink,\n        AlignSelf = _this$props6.AlignSelf,\n        value = _this$props6.value,\n        path = _this$props6.path,\n        fileType = _this$props6.fileType,\n        isShowLineNumber = _this$props6.isShowLineNumber,\n        isShowCopyBtn = _this$props6.isShowCopyBtn,\n        theme = _this$props6.theme,\n        pageId = _this$props6.pageId,\n        isLock = _this$props6.isLock,\n        other = _objectWithoutProperties(_this$props6, _excluded);\n      var editorClassName = (0, _classnames3[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, className, className), _CodeEdit2[\"default\"].ReactCodeMirror, true), 'ReactCodeMirror--focused', this.state.isFocused), (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf\n      }));\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        className: editorClassName,\n        style: style\n      }, other, {\n        onMouseEnter: this.handleMouseEnter,\n        onMouseLeave: this.handleMouseLeave\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"textarea\", {\n        ref: \"textarea\",\n        name: path,\n        defaultValue: value,\n        autoComplete: \"off\"\n      }), isShowCopyBtn && this.state.mouseEnter && /*#__PURE__*/_react[\"default\"].createElement(CopyBtn, {\n        getEditorValue: this.getEditorValue\n      }));\n    }\n  }]);\n  return CodeEdit;\n}(_react[\"default\"].Component);\nCodeEdit.propTypes = {\n  className: _propTypes[\"default\"].any,\n  defaultValue: _propTypes[\"default\"].string,\n  onChange: _propTypes[\"default\"].func,\n  path: _propTypes[\"default\"].string,\n  value: _propTypes[\"default\"].string,\n  style: _propTypes[\"default\"].object,\n  multistAgeLenovo: _propTypes[\"default\"].bool,\n  // 多级联想\n  customTable: _propTypes[\"default\"].object,\n  // 表\n  autocomplete: _propTypes[\"default\"].bool,\n  // 代码补全\n  ignoreText: _propTypes[\"default\"].array // 忽略指定字符的代码提示\n};\nfunction CopyBtn(props) {\n  var _useState = (0, _react.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    copyStatus = _useState2[0],\n    setCopyStatus = _useState2[1];\n  (0, _react.useEffect)(function () {\n    var timer = null;\n    if (copyStatus) {\n      timer = setTimeout(function () {\n        setCopyStatus(false);\n      }, 1000);\n    }\n    return function () {\n      clearTimeout(timer);\n    };\n  }, [copyStatus]);\n  var handleCopy = function handleCopy() {\n    // 当代码编辑器没有值时，无法复制，剪切板还是上一次复制的值，因此给它一个空格内容\n    var value = props.getEditorValue() || ' ';\n    (0, _copyToClipboard[\"default\"])(value);\n    setCopyStatus(true);\n  };\n  var iconClass = (0, _classnames3[\"default\"])(_defineProperty(_defineProperty({}, _CodeEdit2[\"default\"].copyIcon, true), 'kdfont kdfont-fuzhidaima', true));\n  var btnText = copyStatus ? (0, _intlApi.getLangMsg)('codeedit.key0002') : (0, _intlApi.getLangMsg)('codeedit.key0001');\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _CodeEdit2[\"default\"].copyBox,\n    onClick: handleCopy\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: iconClass\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _CodeEdit2[\"default\"].copyText\n  }, btnText));\n}\nfunction autoFormat(codeMirror) {\n  var range = {\n    from: codeMirror.getCursor(true),\n    to: codeMirror.getCursor(false)\n  };\n  codeMirror.autoFormatRange(range.from, range.to);\n}\nvar _default = exports[\"default\"] = CodeEdit;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/CodeEdit/CodeEdit.js?");

/***/ }),

/***/ "./src/component/web/base/CodeEdit/CodeEdit_formatting.js":
/*!****************************************************************!*\
  !*** ./src/component/web/base/CodeEdit/CodeEdit_formatting.js ***!
  \****************************************************************/
/***/ (function(module, exports, __webpack_require__) {

eval("/* module decorator */ module = __webpack_require__.nmd(module);\nvar __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;\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.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.last-index-of.js */ \"../../node_modules/core-js/modules/es.array.last-index-of.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.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.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/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\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(function (mod) {\n  if (( false ? 0 : _typeof(exports)) === 'object' && ( false ? 0 : _typeof(module)) === 'object')\n    // CommonJS\n    {\n      mod(__webpack_require__(/*! codemirror/lib/codemirror */ \"../../node_modules/codemirror/lib/codemirror.js\"));\n    } else if (true)\n    // AMD\n    {\n      !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! codemirror/lib/codemirror */ \"../../node_modules/codemirror/lib/codemirror.js\")], __WEBPACK_AMD_DEFINE_FACTORY__ = (mod),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n    } else\n    // Plain browser env\n    {}\n})(function (CodeMirror) {\n  CodeMirror.extendMode('css', {\n    commentStart: '/*',\n    commentEnd: '*/',\n    newlineAfterToken: function newlineAfterToken(_type, content) {\n      return /^[;{}]$/.test(content);\n    }\n  });\n  CodeMirror.extendMode('javascript', {\n    commentStart: '/*',\n    commentEnd: '*/',\n    // FIXME semicolons inside of for\n    newlineAfterToken: function newlineAfterToken(_type, content, textAfter, state) {\n      if (this.jsonMode) {\n        return /^[\\[,{]$/.test(content) || /^}/.test(textAfter);\n      } else {\n        if (content == ';' && state.lexical && state.lexical.type == ')') return false;\n        return /^[;{}]$/.test(content) && !/^;/.test(textAfter);\n      }\n    }\n  });\n  var inlineElements = /^(a|abbr|acronym|area|base|bdo|big|br|button|caption|cite|code|col|colgroup|dd|del|dfn|em|frame|hr|iframe|img|input|ins|kbd|label|legend|link|map|object|optgroup|option|param|q|samp|script|select|small|span|strong|sub|sup|textarea|tt|var)$/;\n  CodeMirror.extendMode('xml', {\n    commentStart: '<!--',\n    commentEnd: '-->',\n    newlineAfterToken: function newlineAfterToken(type, content, textAfter, state) {\n      var inline = false;\n      if (this.configuration == 'html') {\n        inline = state.context ? inlineElements.test(state.context.tagName) : false;\n      }\n      return !inline && (type == 'tag' && />$/.test(content) && state.context || /^</.test(textAfter));\n    }\n  });\n\n  // Comment/uncomment the specified range\n  CodeMirror.defineExtension('commentRange', function (isComment, from, to) {\n    var cm = this;\n    var curMode = CodeMirror.innerMode(cm.getMode(), cm.getTokenAt(from).state).mode;\n    cm.operation(function () {\n      if (isComment) {\n        // Comment range\n        cm.replaceRange(curMode.commentEnd, to);\n        cm.replaceRange(curMode.commentStart, from);\n        if (from.line == to.line && from.ch == to.ch)\n          // An empty comment inserted - put cursor inside\n          {\n            cm.setCursor(from.line, from.ch + curMode.commentStart.length);\n          }\n      } else {\n        // Uncomment range\n        var selText = cm.getRange(from, to);\n        var startIndex = selText.indexOf(curMode.commentStart);\n        var endIndex = selText.lastIndexOf(curMode.commentEnd);\n        if (startIndex > -1 && endIndex > -1 && endIndex > startIndex) {\n          // Take string till comment start\n          selText = selText.substr(0, startIndex) +\n          // From comment start till comment end\n          selText.substring(startIndex + curMode.commentStart.length, endIndex) +\n          // From comment end till string end\n          selText.substr(endIndex + curMode.commentEnd.length);\n        }\n        cm.replaceRange(selText, from, to);\n      }\n    });\n  });\n\n  // Applies automatic mode-aware indentation to the specified range\n  CodeMirror.defineExtension('autoIndentRange', function (from, to) {\n    var cmInstance = this;\n    this.operation(function () {\n      for (var i = from.line; i <= to.line; i++) {\n        cmInstance.indentLine(i, 'smart');\n      }\n    });\n  });\n\n  // Applies automatic formatting to the specified range\n  CodeMirror.defineExtension('autoFormatRange', function (from, to) {\n    var cm = this;\n    var outer = cm.getMode();\n    var text = cm.getRange(from, to).split('\\n');\n    var state = CodeMirror.copyState(outer, cm.getTokenAt(from).state);\n    var tabSize = cm.getOption('tabSize');\n    var out = '';\n    var lines = 0;\n    var atSol = from.ch === 0;\n    function newline() {\n      out += '\\n';\n      atSol = true;\n      ++lines;\n    }\n    for (var i = 0; i < text.length; ++i) {\n      var stream = new CodeMirror.StringStream(text[i], tabSize);\n      while (!stream.eol()) {\n        var inner = CodeMirror.innerMode(outer, state);\n        var style = outer.token(stream, state);\n        var cur = stream.current();\n        stream.start = stream.pos;\n        if (!atSol || /\\S/.test(cur)) {\n          out += cur;\n          atSol = false;\n        }\n        if (!atSol && inner.mode.newlineAfterToken && inner.mode.newlineAfterToken(style, cur, stream.string.slice(stream.pos) || text[i + 1] || '', inner.state)) {\n          newline();\n        }\n      }\n      if (!stream.pos && outer.blankLine) outer.blankLine(state);\n      if (!atSol && i < text.length - 1) newline();\n    }\n    cm.operation(function () {\n      cm.replaceRange(out, from, to);\n      for (var cur = from.line + 1, end = from.line + lines; cur <= end; ++cur) {\n        cm.indentLine(cur, 'smart');\n      }\n      cm.setSelection(from, cm.getCursor(false));\n    });\n  });\n});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/CodeEdit/CodeEdit_formatting.js?");

/***/ }),

/***/ "./src/component/web/base/CodeEdit/sql-hint.js":
/*!*****************************************************!*\
  !*** ./src/component/web/base/CodeEdit/sql-hint.js ***!
  \*****************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

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.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.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\");\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.join.js */ \"../../node_modules/core-js/modules/es.array.join.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-string.js */ \"../../node_modules/core-js/modules/es.date.to-string.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.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.split.js */ \"../../node_modules/core-js/modules/es.string.split.js\");\nvar _codemirror = _interopRequireDefault(__webpack_require__(/*! codemirror */ \"../../node_modules/codemirror/lib/codemirror.js\"));\n__webpack_require__(/*! codemirror/mode/sql/sql */ \"../../node_modules/codemirror/mode/sql/sql.js\");\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); } // CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n(function (CodeMirror) {\n  'use strict';\n\n  var tables;\n  var defaultTable;\n  var keywords;\n  var identifierQuote;\n  var CONS = {\n    QUERY_DIV: ';',\n    ALIAS_KEYWORD: 'AS'\n  };\n  var Pos = CodeMirror.Pos;\n  var cmpPos = CodeMirror.cmpPos;\n  function isArray(val) {\n    return Object.prototype.toString.call(val) === '[object Array]';\n  }\n  function getKeywords(editor) {\n    var mode = editor.doc.modeOption;\n    if (mode === 'sql') mode = 'text/x-sql';\n    return CodeMirror.resolveMode(mode).keywords;\n  }\n  function getIdentifierQuote(editor) {\n    var mode = editor.doc.modeOption;\n    if (mode === 'sql') mode = 'text/x-sql';\n    return CodeMirror.resolveMode(mode).identifierQuote || '`';\n  }\n  function getText(item) {\n    return typeof item === 'string' ? item : item.text;\n  }\n  function wrapTable(name, value) {\n    if (isArray(value)) value = {\n      columns: value\n    };\n    if (!value.text) value.text = name;\n    return value;\n  }\n  function parseTables(input) {\n    var result = {};\n    if (isArray(input)) {\n      for (var i = input.length - 1; i >= 0; i--) {\n        var item = input[i];\n        result[getText(item).toUpperCase()] = wrapTable(getText(item), item);\n      }\n    } else if (input) {\n      for (var name in input) {\n        result[name.toUpperCase()] = wrapTable(name, input[name]);\n      }\n    }\n    return result;\n  }\n  function getTable(name) {\n    return tables[name.toUpperCase()];\n  }\n  function shallowClone(object) {\n    var result = {};\n    for (var key in object) {\n      if (Object.hasOwnProperty.call(object, key)) {\n        result[key] = object[key];\n      }\n    }\n    return result;\n  }\n  function match(string, word) {\n    var len = string.length;\n    var sub = getText(word).substr(0, len);\n    return string.toUpperCase() === sub.toUpperCase();\n  }\n  function addMatches(result, search, wordlist, formatter) {\n    var needMatch = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;\n    if (isArray(wordlist)) {\n      // 插件重写，needMatch为false时，不对输入的单词进行匹配\n      for (var i = 0; i < wordlist.length; i++) {\n        if (!needMatch || match(search, wordlist[i])) result.push(formatter(wordlist[i]));\n      }\n    } else {\n      for (var word in wordlist) {\n        if (Object.hasOwnProperty.call(wordlist, word)) {\n          var val = wordlist[word];\n          if (!val || val === true) {\n            val = word;\n          } else {\n            val = val.displayText ? {\n              text: val.text,\n              displayText: val.displayText\n            } : val.text;\n          }\n          // 插件重写，needMatch为false时，不对输入的单词进行匹配\n          if (!needMatch || match(search, val)) result.push(formatter(val));\n        }\n      }\n    }\n  }\n  function cleanName(name) {\n    // Get rid name from identifierQuote and preceding dot(.)\n    if (name.charAt(0) === '.') {\n      name = name.substr(1);\n    }\n    // replace duplicated identifierQuotes with single identifierQuotes\n    // and remove single identifierQuotes\n    var nameParts = name.split(identifierQuote + identifierQuote);\n    for (var i = 0; i < nameParts.length; i++) {\n      nameParts[i] = nameParts[i].replace(new RegExp(identifierQuote, 'g'), '');\n    }\n    return nameParts.join(identifierQuote);\n  }\n  function insertIdentifierQuotes(name) {\n    var nameParts = getText(name).split('.');\n    for (var i = 0; i < nameParts.length; i++) {\n      nameParts[i] = identifierQuote +\n      // duplicate identifierQuotes\n      nameParts[i].replace(new RegExp(identifierQuote, 'g'), identifierQuote + identifierQuote) + identifierQuote;\n    }\n    var escaped = nameParts.join('.');\n    if (typeof name === 'string') return escaped;\n    name = shallowClone(name);\n    name.text = escaped;\n    return name;\n  }\n  function nameCompletion(cur, token, result, editor) {\n    // Try to complete table, column names and return start position of completion\n    var useIdentifierQuotes = false;\n    var nameParts = [];\n    var start = token.start;\n    var cont = true;\n    while (cont) {\n      cont = token.string.charAt(0) === '.';\n      useIdentifierQuotes = useIdentifierQuotes || token.string.charAt(0) === identifierQuote;\n      start = token.start;\n      nameParts.unshift(cleanName(token.string));\n      token = editor.getTokenAt(Pos(cur.line, token.start));\n      if (token.string === '.') {\n        cont = true;\n        token = editor.getTokenAt(Pos(cur.line, token.start));\n      }\n    }\n\n    // Try to complete table names\n    var string = nameParts.join('.');\n    addMatches(result, string, tables, function (w) {\n      return useIdentifierQuotes ? insertIdentifierQuotes(w) : w;\n    });\n\n    // Try to complete columns from defaultTable\n    addMatches(result, string, defaultTable, function (w) {\n      return useIdentifierQuotes ? insertIdentifierQuotes(w) : w;\n    });\n\n    // Try to complete columns\n    string = nameParts.pop();\n    var table = nameParts.join('.');\n    var alias = false;\n    var aliasTable = table;\n    // Check if table is available. If not, find table by Alias\n    if (!getTable(table)) {\n      var oldTable = table;\n      table = findTableByAlias(table, editor);\n      if (table !== oldTable) alias = true;\n    }\n    var columns = getTable(table);\n    if (columns && columns.columns) {\n      columns = columns.columns;\n    }\n    if (columns) {\n      addMatches(result, string, columns, function (w) {\n        var tableInsert = table;\n        if (alias === true) tableInsert = aliasTable;\n        if (typeof w === 'string') {\n          w = tableInsert + '.' + w;\n        } else {\n          w = shallowClone(w);\n          w.text = tableInsert + '.' + w.text;\n        }\n        return useIdentifierQuotes ? insertIdentifierQuotes(w) : w;\n      });\n    }\n    return start;\n  }\n  function eachWord(lineText, f) {\n    var words = lineText.split(/\\s+/);\n    for (var i = 0; i < words.length; i++) {\n      if (words[i]) f(words[i].replace(/[`,;]/g, ''));\n    }\n  }\n  function findTableByAlias(alias, editor) {\n    var doc = editor.doc;\n    var fullQuery = doc.getValue();\n    var aliasUpperCase = alias.toUpperCase();\n    var previousWord = '';\n    var table = '';\n    var separator = [];\n    var validRange = {\n      start: Pos(0, 0),\n      end: Pos(editor.lastLine(), editor.getLineHandle(editor.lastLine()).length)\n    };\n\n    // add separator\n    var indexOfSeparator = fullQuery.indexOf(CONS.QUERY_DIV);\n    while (indexOfSeparator !== -1) {\n      separator.push(doc.posFromIndex(indexOfSeparator));\n      indexOfSeparator = fullQuery.indexOf(CONS.QUERY_DIV, indexOfSeparator + 1);\n    }\n    separator.unshift(Pos(0, 0));\n    separator.push(Pos(editor.lastLine(), editor.getLineHandle(editor.lastLine()).text.length));\n\n    // find valid range\n    var prevItem = null;\n    var current = editor.getCursor();\n    for (var i = 0; i < separator.length; i++) {\n      if ((prevItem == null || cmpPos(current, prevItem) > 0) && cmpPos(current, separator[i]) <= 0) {\n        validRange = {\n          start: prevItem,\n          end: separator[i]\n        };\n        break;\n      }\n      prevItem = separator[i];\n    }\n    if (validRange.start) {\n      var query = doc.getRange(validRange.start, validRange.end, false);\n      for (var _i = 0; _i < query.length; _i++) {\n        var lineText = query[_i];\n        eachWord(lineText, function (word) {\n          var wordUpperCase = word.toUpperCase();\n          if (wordUpperCase === aliasUpperCase && getTable(previousWord)) {\n            table = previousWord;\n          }\n          if (wordUpperCase !== CONS.ALIAS_KEYWORD) {\n            previousWord = word;\n          }\n        });\n        if (table) break;\n      }\n    }\n    return table;\n  }\n  CodeMirror.registerHelper('hint', 'sql', function (editor, options) {\n    tables = parseTables(options && options.tables);\n    var defaultTableName = options && options.defaultTable;\n    var disableKeywords = options && options.disableKeywords;\n    var needMatch = options && options.needMatch; // 插件重写，新增needMatch，控制是否需要匹配提示语单词\n    defaultTable = defaultTableName && getTable(defaultTableName);\n    keywords = getKeywords(editor);\n    identifierQuote = getIdentifierQuote(editor);\n    if (defaultTableName && !defaultTable) {\n      defaultTable = findTableByAlias(defaultTableName, editor);\n    }\n    defaultTable = defaultTable || [];\n    if (defaultTable.columns) {\n      defaultTable = defaultTable.columns;\n    }\n    var cur = editor.getCursor();\n    var result = [];\n    var token = editor.getTokenAt(cur);\n    var start;\n    var end;\n    var search;\n    if (token.end > cur.ch) {\n      token.end = cur.ch;\n      token.string = token.string.slice(0, cur.ch - token.start);\n    }\n    if (token.string.match(/^[.`\"'\\w@][\\w$#]*$/g)) {\n      search = token.string;\n      start = token.start;\n      end = token.end;\n    } else {\n      start = end = cur.ch;\n      search = '';\n    }\n    if (search.charAt(0) === '.' || search.charAt(0) === identifierQuote) {\n      start = nameCompletion(cur, token, result, editor);\n    } else {\n      var objectOrClass = function objectOrClass(w, className) {\n        if (_typeof(w) === 'object') {\n          w.className = className;\n        } else {\n          w = {\n            text: w,\n            className: className\n          };\n        }\n        return w;\n      };\n      addMatches(result, search, defaultTable, function (w) {\n        return objectOrClass(w, 'CodeMirror-hint-table CodeMirror-hint-default-table');\n      });\n      addMatches(result, search, tables, function (w) {\n        return objectOrClass(w, 'CodeMirror-hint-table');\n      }, needMatch);\n      if (!disableKeywords) {\n        addMatches(result, search, keywords, function (w) {\n          return objectOrClass(w.toUpperCase(), 'CodeMirror-hint-keyword');\n        });\n      }\n    }\n    return {\n      list: result,\n      from: Pos(cur.line, start),\n      to: Pos(cur.line, end)\n    };\n  });\n})(_codemirror[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/CodeEdit/sql-hint.js?");

/***/ }),

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

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.setKeyWords = exports.hasPrefix = exports.getUserInput = exports.getKeys = exports.getHints = void 0;\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.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.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.join.js */ \"../../node_modules/core-js/modules/es.array.join.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.array.some.js */ \"../../node_modules/core-js/modules/es.array.some.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/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.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nvar _memoryCacher = __webpack_require__(/*! @/model/memoryCacher */ \"./src/model/memoryCacher.js\");\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar setCode = function setCode(model, codes, path) {\n  var pageId = model.pageId,\n    id = model.id;\n  // 表改变时清除缓存\n  (0, _memoryCacher.deletePageData)(pageId, [path, id]);\n  var table = (0, _immutable.OrderedMap)();\n  codes.forEach(function (code) {\n    table = table.set(code.name, []);\n  });\n  (0, _memoryCacher.setPageData)(pageId, [path, id], table);\n  return table.toJS();\n};\n\n// 获取自定义提示内容\nvar getHints = exports.getHints = function getHints(type) {\n  var hintsFuns = {};\n  hintsFuns.sql = function (_ref) {\n    var model = _ref.model,\n      allCode = _ref.allCode,\n      showType = _ref.showType,\n      keys = _ref.keys,\n      _ref$openDynamicHints = _ref.openDynamicHints,\n      openDynamicHints = _ref$openDynamicHints === void 0 ? false : _ref$openDynamicHints,\n      _ref$dynamicHintsCode = _ref.dynamicHintsCodes,\n      dynamicHintsCodes = _ref$dynamicHintsCode === void 0 ? [] : _ref$dynamicHintsCode;\n    var pageId = model.pageId,\n      id = model.id;\n    if (showType === 'fixed') {\n      // 固定提示语\n      var table = setCode(model, allCode, 'fixedCodeHints');\n      // 动态提示语\n      var dynamicTable = setCode(model, dynamicHintsCodes, 'dynamicHintsCodes');\n      return openDynamicHints ? dynamicTable : table;\n    } else {\n      var _getPageData;\n      var patch = openDynamicHints ? 'dynamicHintsCodes' : 'fixedCodeHints';\n      var hintCode = (_getPageData = (0, _memoryCacher.getPageData)(pageId, [patch, id])) === null || _getPageData === void 0 ? void 0 : _getPageData.toJS();\n      allCode.forEach(function (code) {\n        if (keys.includes(code.name)) {\n          if (code.child) {\n            hintCode[code.name] = code.child.map(function (item) {\n              return item.name;\n            });\n            code.child.forEach(function (code) {\n              hintCode[code.name] = [];\n            });\n          }\n        }\n      });\n      return hintCode;\n    }\n  };\n  return hintsFuns[type];\n};\n\n// 过滤出表名、类、文件名\nvar getKeys = exports.getKeys = function getKeys(type) {\n  var keysFuns = {};\n  keysFuns.sql = function (_ref2) {\n    var _getPageData2;\n    var doc = _ref2.doc,\n      codemirror = _ref2.codemirror,\n      model = _ref2.model,\n      requested = _ref2.requested,\n      _ref2$openDynamicHint = _ref2.openDynamicHints,\n      openDynamicHints = _ref2$openDynamicHint === void 0 ? false : _ref2$openDynamicHint;\n    var pageId = model.pageId,\n      id = model.id;\n    var keys = [];\n    var noRequestedKeys = [];\n    var patch = openDynamicHints ? 'dynamicHintsCodes' : 'fixedCodeHints';\n    var codeHints = (_getPageData2 = (0, _memoryCacher.getPageData)(pageId, [patch, id])) === null || _getPageData2 === void 0 ? void 0 : _getPageData2.toJS();\n    var cursorArea = getCurrentSQLArea(doc);\n    var text = cursorArea ? doc.getRange({\n      line: cursorArea.startLine,\n      ch: cursorArea.startCh\n    }, {\n      line: cursorArea.endLine,\n      ch: cursorArea.endCh\n    }, ' ') : doc.getValue();\n    if (!text || text.toUpperCase().indexOf('FROM') === -1) return {\n      keys: keys,\n      noRequestedKeys: noRequestedKeys\n    };\n    var textArr = text.split(' ').filter(function (v) {\n      return v !== '';\n    });\n    textArr.forEach(function (val, i) {\n      var value = val.toUpperCase();\n      for (var key in codeHints) {\n        if (value === key.toUpperCase()) {\n          var _requested$map;\n          keys.push(key);\n          !(requested !== null && requested !== void 0 && (_requested$map = requested.map(function (key) {\n            return key[0][0];\n          })) !== null && _requested$map !== void 0 && _requested$map.includes(val)) && noRequestedKeys.push([val]);\n        }\n      }\n    });\n    return {\n      keys: keys,\n      noRequestedKeys: noRequestedKeys\n    };\n  };\n  return keysFuns[type];\n};\n\n// 修改系统默认的关键字提示\nvar setKeyWords = exports.setKeyWords = function setKeyWords(type) {\n  var keyWordFuns = {};\n  keyWordFuns.sql = function (codemirror, keyWords) {\n    var option = codemirror.resolveMode('text/x-mariadb');\n    var _keyWords$blacklist = keyWords.blacklist,\n      blacklist = _keyWords$blacklist === void 0 ? [] : _keyWords$blacklist,\n      _keyWords$whiteList = keyWords.whiteList,\n      whiteList = _keyWords$whiteList === void 0 ? [] : _keyWords$whiteList,\n      _keyWords$addList = keyWords.addList,\n      addList = _keyWords$addList === void 0 ? [] : _keyWords$addList;\n    var keyWordsObj = {};\n    // 白名单优先级大于黑名单\n    if (whiteList.length > 0) {\n      whiteList.forEach(function (keyWord) {\n        keyWordsObj[keyWord] = true;\n      });\n    } else if (blacklist.length > 0) {\n      for (var key in option.keywords) {\n        if (blacklist.includes(key.toUpperCase())) {\n          delete option.keywords[key];\n        }\n      }\n      Object.assign(keyWordsObj, option.keywords);\n    }\n    if (addList.length > 0) {\n      addList.join(' ').split(' ').forEach(function (keyWord) {\n        keyWordsObj[keyWord] = true;\n      });\n    }\n    option.keywords = keyWordsObj;\n    codemirror.defineMIME('text/x-mariadb', option);\n  };\n  return keyWordFuns[type];\n};\n\n// sql获取鼠标所在语句\nvar getCurrentSQLArea = function getCurrentSQLArea(doc) {\n  var _doc$getCursor = doc.getCursor(),\n    cursorLine = _doc$getCursor.line,\n    cursorCh = _doc$getCursor.ch;\n  var area;\n  var codeRange = [];\n  doc.eachLine(function (line) {\n    var lineNumber = doc.getLineNumber(line);\n    var lineText = line.text;\n    var regex = /;/g;\n    var current = regex.exec(lineText);\n    while (current) {\n      codeRange.push({\n        line: lineNumber,\n        ch: current.index\n      });\n      var newLineText = lineText.substring(current.index);\n      current = regex.exec(newLineText);\n    }\n  });\n  var currentRange = codeRange.find(function (_ref3, i) {\n    var line = _ref3.line,\n      ch = _ref3.ch;\n    var nextLineIndex = codeRange.length - 1 === i ? i : i + 1;\n    var nextLine = codeRange[nextLineIndex].line;\n    var nextCh = codeRange[nextLineIndex].ch;\n    // 光标在第一个语句中\n    if (i === 0 && (cursorLine < line || cursorLine === line && cursorCh < ch)) {\n      area = {\n        startLine: 0,\n        startCh: 0,\n        endLine: nextLine,\n        endCh: nextCh\n      };\n      // 光标在最后一个语句中\n    } else if (i === codeRange.length - 1 && (cursorLine > line || cursorLine === line && cursorCh > ch)) {\n      area = {\n        startLine: line,\n        startCh: ch,\n        endLine: doc.lineCount(),\n        endCh: 99999\n      };\n    } else if (cursorLine >= line && cursorLine <= nextLine) {\n      // 鼠标所在行有多条sql语句时\n      if (codeRange.filter(function (_ref4) {\n        var ch = _ref4.ch;\n        return line === cursorLine;\n      }) > 1) {\n        area = cursorCh >= ch && cursorCh <= codeRange[nextLine].ch && {\n          startLine: line,\n          startCh: ch,\n          endLine: nextLine,\n          endCh: nextCh\n        };\n      } else {\n        area = {\n          startLine: line,\n          startCh: ch,\n          endLine: nextLine,\n          endCh: nextCh\n        };\n      }\n    }\n    return area;\n  });\n  return currentRange && area;\n};\n\n// 获取当前鼠标处的单个语句\nvar getCurrentStr = function getCurrentStr(str, index) {\n  var separator = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [' ', ';'];\n  var start = index;\n  var end = index;\n  while (start > 0) {\n    var hasSeparator = separator.includes(str[start]);\n    if (hasSeparator) {\n      start++;\n      break;\n    }\n    start--;\n  }\n  for (; end < str.length; end++) {\n    var _hasSeparator = separator.includes(str[end]);\n    if (_hasSeparator) {\n      break;\n    }\n  }\n  return str.slice(start, end);\n};\n\n// 获取用户输入的字符串\nvar getUserInput = exports.getUserInput = function getUserInput(doc, change) {\n  // 鼠标光标位置\n  var _doc$getCursor2 = doc.getCursor(),\n    cursorLine = _doc$getCursor2.line,\n    cursorCh = _doc$getCursor2.ch;\n  // 获取指定内容\n  var text = doc.getLine(cursorLine);\n  var currentStr = getCurrentStr(text, cursorCh - 1);\n  return currentStr;\n};\n\n// 输入字符串是否符合触发前缀\nvar hasPrefix = exports.hasPrefix = function hasPrefix(str) {\n  var prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n  return prefix.some(function (item) {\n    var reg = new RegExp(\"^\".concat(item));\n    return reg.test(str);\n  });\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/CodeEdit/util.js?");

/***/ }),

/***/ "./src/component/web/base/Cropper/Cropper.jsx":
/*!****************************************************!*\
  !*** ./src/component/web/base/Cropper/Cropper.jsx ***!
  \****************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.aspectRatioData = void 0;\nexports[\"default\"] = Cropper;\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _Dialog = _interopRequireDefault(__webpack_require__(/*! ../../Dialog */ \"./src/component/web/Dialog.js\"));\nvar _PictureCropperByFrame = _interopRequireDefault(__webpack_require__(/*! ./PictureCropperByFrame */ \"./src/component/web/base/Cropper/PictureCropperByFrame.jsx\"));\nvar _intlApi = __webpack_require__(/*! ../../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _excluded = [\"isShow\", \"onClose\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction Cropper(_ref) {\n  var isShow = _ref.isShow,\n    onClose = _ref.onClose,\n    others = _objectWithoutProperties(_ref, _excluded);\n  var defaultProps = {\n    isShowClose: true,\n    isShowTitle: true,\n    title: (0, _intlApi.getLangMsg)({\n      key: 'image.key0012'\n    }),\n    onClose: onClose,\n    width: 860,\n    height: 630,\n    isFS: false,\n    isFullScreenOpened: false\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(_Dialog[\"default\"], defaultProps, /*#__PURE__*/_react[\"default\"].createElement(_PictureCropperByFrame[\"default\"], _extends({}, others, {\n    onClose: onClose,\n    btnText: (0, _intlApi.getLangMsg)({\n      key: 'image.key0013'\n    })\n  })));\n}\nvar aspectRatioData = exports.aspectRatioData = [{\n  icon: 'kdfont kdfont-ziyoubilv',\n  title: (0, _intlApi.getLangMsg)('image.key0018'),\n  value: NaN\n}, {\n  icon: 'kdfont kdfont-yuantubilv',\n  title: (0, _intlApi.getLangMsg)('image.key0019'),\n  value: 'origin'\n}, {\n  icon: 'kdfont kdfont-11bilv',\n  title: '1:1',\n  value: 1\n}, {\n  icon: 'kdfont kdfont-23bilv',\n  title: '2:3',\n  value: 2 / 3\n}, {\n  icon: 'kdfont kdfont-32bilv',\n  title: '3:2',\n  value: 3 / 2\n}, {\n  icon: 'kdfont kdfont-34bilv',\n  title: '3:4',\n  value: 3 / 4\n}, {\n  icon: 'kdfont kdfont-43bilv',\n  title: '4:3',\n  value: 4 / 3\n}, {\n  icon: 'kdfont kdfont-916bilv',\n  title: '9:16',\n  value: 9 / 16\n}, {\n  icon: 'kdfont kdfont-169bilv',\n  title: '16:9',\n  value: 16 / 9\n}, {\n  icon: 'kdfont kdfont-45bilv',\n  title: '4:5',\n  value: 4 / 5\n}, {\n  icon: 'kdfont kdfont-54bilv',\n  title: '5:4',\n  value: 5 / 4\n}];\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Cropper/Cropper.jsx?");

/***/ }),

/***/ "./src/component/web/base/Cropper/PictureCropperByFrame.jsx":
/*!******************************************************************!*\
  !*** ./src/component/web/base/Cropper/PictureCropperByFrame.jsx ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.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.slice.js */ \"../../node_modules/core-js/modules/es.array.slice.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.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.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\"] = PictureCropper;\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.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array-buffer.slice.js */ \"../../node_modules/core-js/modules/es.array-buffer.slice.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/es.parse-int.js */ \"../../node_modules/core-js/modules/es.parse-int.js\");\n__webpack_require__(/*! core-js/modules/es.promise.js */ \"../../node_modules/core-js/modules/es.promise.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.typed-array.uint8-array.js */ \"../../node_modules/core-js/modules/es.typed-array.uint8-array.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.copy-within.js */ \"../../node_modules/core-js/modules/es.typed-array.copy-within.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.every.js */ \"../../node_modules/core-js/modules/es.typed-array.every.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.fill.js */ \"../../node_modules/core-js/modules/es.typed-array.fill.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.filter.js */ \"../../node_modules/core-js/modules/es.typed-array.filter.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.find.js */ \"../../node_modules/core-js/modules/es.typed-array.find.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.find-index.js */ \"../../node_modules/core-js/modules/es.typed-array.find-index.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.for-each.js */ \"../../node_modules/core-js/modules/es.typed-array.for-each.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.includes.js */ \"../../node_modules/core-js/modules/es.typed-array.includes.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.index-of.js */ \"../../node_modules/core-js/modules/es.typed-array.index-of.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.iterator.js */ \"../../node_modules/core-js/modules/es.typed-array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.join.js */ \"../../node_modules/core-js/modules/es.typed-array.join.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.last-index-of.js */ \"../../node_modules/core-js/modules/es.typed-array.last-index-of.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.map.js */ \"../../node_modules/core-js/modules/es.typed-array.map.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.reduce.js */ \"../../node_modules/core-js/modules/es.typed-array.reduce.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.reduce-right.js */ \"../../node_modules/core-js/modules/es.typed-array.reduce-right.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.reverse.js */ \"../../node_modules/core-js/modules/es.typed-array.reverse.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.set.js */ \"../../node_modules/core-js/modules/es.typed-array.set.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.slice.js */ \"../../node_modules/core-js/modules/es.typed-array.slice.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.some.js */ \"../../node_modules/core-js/modules/es.typed-array.some.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.sort.js */ \"../../node_modules/core-js/modules/es.typed-array.sort.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.subarray.js */ \"../../node_modules/core-js/modules/es.typed-array.subarray.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.to-locale-string.js */ \"../../node_modules/core-js/modules/es.typed-array.to-locale-string.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.to-string.js */ \"../../node_modules/core-js/modules/es.typed-array.to-string.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 _cropperjs = _interopRequireDefault(__webpack_require__(/*! cropperjs */ \"../../node_modules/cropperjs/dist/cropper.js\"));\nvar _Cropper = __webpack_require__(/*! ../Cropper/Cropper */ \"./src/component/web/base/Cropper/Cropper.jsx\");\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _componentutil = __webpack_require__(/*! ../../../../util/componentutil */ \"./src/util/componentutil.js\");\nvar _toolUtils = __webpack_require__(/*! ../../../../util/toolUtils */ \"./src/util/toolUtils.js\");\nvar _imageUtil = __webpack_require__(/*! ../../../../util/imageUtil */ \"./src/util/imageUtil.js\");\nvar _app = __webpack_require__(/*! ../../../../app */ \"./src/app.js\");\nvar _BaseComponents = __webpack_require__(/*! ../BaseComponents */ \"./src/component/web/base/BaseComponents/index.js\");\nvar _Slider = _interopRequireDefault(__webpack_require__(/*! ../Slider */ \"./src/component/web/base/Slider.js\"));\nvar _nishizhen = _interopRequireDefault(__webpack_require__(/*! ../../img/default/nishizhen.png */ \"./src/component/web/img/default/nishizhen.png\"));\nvar _add = _interopRequireDefault(__webpack_require__(/*! ../../img/default/add.png */ \"./src/component/web/img/default/add.png\"));\nvar _sub = _interopRequireDefault(__webpack_require__(/*! ../../img/default/sub.png */ \"./src/component/web/img/default/sub.png\"));\nvar _cropper = _interopRequireDefault(__webpack_require__(/*! ./cropper.less */ \"./src/component/web/base/Cropper/cropper.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 _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; }\n// base64 转blob对象\nfunction dataURLtoBlob(data_url) {\n  var arr = data_url.split(',');\n  var mime = arr[0].match(/:(.*?);/)[1];\n  var bstr = atob(arr[1]);\n  var n = bstr.length;\n  var u8arr = new Uint8Array(n);\n  var blob = false;\n  while (n--) {\n    u8arr[n] = bstr.charCodeAt(n);\n  }\n  try {\n    blob = new Blob([u8arr], {\n      type: mime\n    });\n  } catch (e) {}\n  return blob;\n}\n\n// 上传图片\nvar postImg = function postImg(url, formdata) {\n  return fetch(url, {\n    method: 'POST',\n    body: formdata,\n    mode: 'cors',\n    processData: false,\n    contentType: false,\n    credentials: 'include'\n  }).then(function (response) {\n    if (response.ok) {\n      return response.json();\n    } else {\n      throw new Error(response.statusText);\n    }\n  });\n};\nvar minScale = 0.1;\nvar maxScale = 2.5;\nfunction PictureCropper(_ref) {\n  var beforeUpload = _ref.beforeUpload,\n    imgOriginalUrl = _ref.url,\n    file = _ref.file,\n    appId = _ref.appId,\n    formId = _ref.formId,\n    fileServer = _ref.fileServer,\n    onCropperSuccess = _ref.onCropperSuccess,\n    btnText = _ref.btnText,\n    uploadUrl = _ref.uploadUrl,\n    cropInitData = _ref.cropInitData;\n  // 裁剪类\n  var _useState = (0, _react.useState)(null),\n    _useState2 = _slicedToArray(_useState, 2),\n    cropper = _useState2[0],\n    setCropper = _useState2[1];\n  // 裁剪类\n  var _useState3 = (0, _react.useState)(1),\n    _useState4 = _slicedToArray(_useState3, 2),\n    ratio = _useState4[0],\n    setRatio = _useState4[1];\n  // 图片\n  var imgRef = (0, _react.useRef)({});\n  var _ref2 = cropInitData !== null && cropInitData !== void 0 ? cropInitData : {},\n    _ref2$aspectRatio = _ref2.aspectRatio,\n    aspectRatio = _ref2$aspectRatio === void 0 ? _Cropper.aspectRatioData[0].value : _ref2$aspectRatio;\n  var aspectRatioStateRef = (0, _react.useRef)(aspectRatio);\n  (0, _react.useEffect)(function () {\n    if (imgRef.current) {\n      imgRef.current.onload = function () {\n        if (!imgRef.current) {\n          return;\n        }\n        if (_app.browserType.isIE) {\n          (0, _imageUtil.toBlobForIE)();\n        }\n        var cropper = new _cropperjs[\"default\"](imgRef.current, {\n          aspectRatio: aspectRatioStateRef.current,\n          viewMode: 1,\n          responsive: false,\n          restore: false,\n          zoomOnWheel: false,\n          autoCropArea: 0.5,\n          ready: function ready(evt) {\n            if (aspectRatio === 'origin') {\n              try {\n                var _cropper$getCanvasDat = cropper === null || cropper === void 0 ? void 0 : cropper.getCanvasData(),\n                  width = _cropper$getCanvasDat.width,\n                  height = _cropper$getCanvasDat.height;\n                aspectRatioStateRef.current = width / height;\n                cropper.setAspectRatio(aspectRatioStateRef.current);\n              } catch (error) {\n                console.error(\"\\u56FE\\u7247\\u539F\\u59CB\\u6BD4\\u4F8B\\u8BBE\\u7F6E\\u51FA\\u9519\".concat(error));\n              }\n            }\n          },\n          crop: function crop() {}\n        });\n        setCropper(cropper);\n      };\n    }\n  }, [imgRef.current]);\n\n  // 图片上传成功后的回调\n  var onSuccess = function onSuccess(res) {\n    // 销毁\n    cropper.destroy();\n    onCropperSuccess(res);\n  };\n\n  // 将canvas转为可上传的文件流, 并按照原先图片上传逻辑, 上传图片\n  var toFileByCanvas = function toFileByCanvas() {\n    var canvas = cropper.getCroppedCanvas();\n    var imgBase64 = canvas.toDataURL();\n    var context = (0, _toolUtils.getContextPath)();\n    var blob = dataURLtoBlob(imgBase64);\n    beforeUpload === null || beforeUpload === void 0 || beforeUpload();\n    if (_app.browserType.isIE) {\n      return canvas.toBlob(function (blob) {\n        var fd = new FormData();\n        fd.append('files', blob, file.name);\n        postImg(\"\".concat(uploadUrl), fd).then(function (data) {\n          onSuccess(data);\n        });\n      }, file.type, 1);\n    }\n    (0, _imageUtil.upload)({\n      action: \"\".concat(uploadUrl),\n      file: new File([blob], file.name, {\n        type: file.type\n      }),\n      data: {\n        url: \"\".concat(file.name)\n      },\n      filename: \"\".concat(file.name),\n      onSuccess: onSuccess,\n      onError: function onError(e) {\n        return console.log(e);\n      },\n      withCredentials: true\n    });\n  };\n\n  // 顺时针旋转\n  var handlerRotate = (0, _react.useCallback)(function () {\n    cropper.rotate(90);\n  }, [cropper]);\n\n  // 缩放\n  var handlerZoom = (0, _react.useCallback)(function (range) {\n    var tempRatio = range.get(1);\n    var scaleRatioArr = [];\n    setRatio(tempRatio);\n    var scaleRatio = (tempRatio - ratio) * 10;\n    scaleRatio = Math.round(scaleRatio) / 10;\n    var absScaleRatio = Math.abs(scaleRatio);\n    while (absScaleRatio >= 1) {\n      scaleRatioArr.push(0.9);\n      absScaleRatio = absScaleRatio - 0.9;\n    }\n    scaleRatioArr.push(Math.abs(absScaleRatio));\n    scaleRatioArr.forEach(function (item) {\n      if (scaleRatio < 0) {\n        return cropper.zoom(-item);\n      }\n      return cropper.zoom(item);\n    });\n  }, [ratio, cropper]);\n\n  // 按钮缩小\n  var handleSub = function handleSub() {\n    if (ratio <= minScale) {\n      return;\n    }\n    handlerZoom((0, _immutable.List)([minScale, Math.round((ratio - minScale) * 10) / 10]));\n  };\n\n  // 按钮放大\n  var handleAdd = function handleAdd() {\n    if (ratio >= maxScale) {\n      return;\n    }\n    handlerZoom((0, _immutable.List)([minScale, Math.round((ratio + minScale) * 10) / 10]));\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _cropper[\"default\"]['cropper-container']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    style: {\n      width: 800,\n      height: 450\n    }\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n    ref: imgRef,\n    style: {\n      maxWidth: 800,\n      maxHeight: 450,\n      display: 'none'\n    },\n    src: imgOriginalUrl\n  })), /*#__PURE__*/_react[\"default\"].createElement(PictureOperation, {\n    toFileByCanvas: toFileByCanvas,\n    handlerRotate: handlerRotate,\n    handlerZoom: handlerZoom,\n    handleSub: handleSub,\n    handleAdd: handleAdd,\n    ratio: ratio,\n    btnText: btnText\n  }));\n}\nvar PictureOperation = function PictureOperation(_ref3) {\n  var toFileByCanvas = _ref3.toFileByCanvas,\n    handlerRotate = _ref3.handlerRotate,\n    handlerZoom = _ref3.handlerZoom,\n    ratio = _ref3.ratio,\n    handleAdd = _ref3.handleAdd,\n    handleSub = _ref3.handleSub,\n    btnText = _ref3.btnText;\n  var confirmCropClass = (0, _classnames[\"default\"])(_cropper[\"default\"]['confirm-crop']);\n  var buttonStyle = {\n    backgroundColor: '#5582F3',\n    color: '#fff !important'\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _cropper[\"default\"]['picture-operation-wrap']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _cropper[\"default\"]['picture-operation-box']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: (0, _classnames[\"default\"])(_cropper[\"default\"]['picture-operation-img'], 'kdfont kdfont-xuanzhuan ', 'kd-hover-color '),\n    onClick: handlerRotate,\n    style: {\n      fontWeight: 'bold'\n    }\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: (0, _classnames[\"default\"])(_cropper[\"default\"]['picture-operation-img'], 'kdfont kdfont-jianshao ', 'kd-hover-color'),\n    onClick: handleSub,\n    style: {\n      marginRight: 0,\n      fontSize: '20px'\n    }\n  }), /*#__PURE__*/_react[\"default\"].createElement(_Slider[\"default\"], {\n    onAfterChange: handlerZoom,\n    style: {\n      width: 100\n    },\n    defaultValue: (0, _immutable.List)([minScale, ratio]),\n    showValue: false,\n    min: minScale,\n    max: maxScale,\n    step: minScale\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    style: {\n      display: 'block',\n      width: 40\n    }\n  }, parseInt(ratio * 100), \"%\"), /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: (0, _classnames[\"default\"])(_cropper[\"default\"]['picture-operation-img'], 'kdfont kdfont-tianjia ', 'kd-hover-color'),\n    onClick: handleAdd,\n    style: {\n      marginRight: 6,\n      fontSize: '20px'\n    }\n  }), /*#__PURE__*/_react[\"default\"].createElement(_BaseComponents.Button, {\n    FollowTheme: true,\n    text: btnText,\n    name: btnText,\n    onClick: toFileByCanvas,\n    className: confirmCropClass\n  })));\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Cropper/PictureCropperByFrame.jsx?");

/***/ }),

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

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.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.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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\"] = BaseCustomCtrl;\nexports.initCustomComponentInstance = initCustomComponentInstance;\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.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.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.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.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 _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _global = _interopRequireWildcard(__webpack_require__(/*! @/global */ \"./src/global/index.js\"));\nvar _customComponentManage = __webpack_require__(/*! ../../../common/customComponentManage */ \"./src/component/common/customComponentManage.js\");\nvar _customCtrlUtil = __webpack_require__(/*! ../../../../util/customCtrlUtil */ \"./src/util/customCtrlUtil.js\");\nvar _memoryCacher = __webpack_require__(/*! @/model/memoryCacher */ \"./src/model/memoryCacher.js\");\nvar _customCtrlUtil2 = __webpack_require__(/*! @/util/customCtrlUtil.js */ \"./src/util/customCtrlUtil.js\");\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher */ \"./src/model/GlobalDataCacher.js\");\nvar _useThemeChange2 = _interopRequireDefault(__webpack_require__(/*! @/use/useThemeChange */ \"./src/use/useThemeChange.js\"));\nvar _sharePageScope = __webpack_require__(/*! @/pagescope/sharePageScope */ \"./src/pagescope/sharePageScope.js\");\nvar _excluded = [\"pageId\", \"controlKey\", \"metaData\", \"schemaId\", \"isvId\", \"moduleId\", \"invokeCustomMethod\", \"innerForms\", \"outerForms\", \"customProps\", \"fileServer\", \"style\", \"className\", \"setPostData\", \"attachDataInstance\", \"model\"]; // import useThemeContext from '@/use/useThemeContext'\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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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); }\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nvar TABLE_NAME = 'cusctrl_action'; // 自定义控件用户行为数据表\n\nfunction BaseCustomCtrl(props) {\n  var _attachDataInstance$g;\n  // extendData：表格或者卡片中传给自定义控件的数据\n  var pageId = props.pageId,\n    controlKey = props.controlKey,\n    metaData = props.metaData,\n    schemaId = props.schemaId,\n    isvId = props.isvId,\n    moduleId = props.moduleId,\n    invokeCustomMethod = props.invokeCustomMethod,\n    innerForms = props.innerForms,\n    outerForms = props.outerForms,\n    customProps = props.customProps,\n    fileServer = props.fileServer,\n    style = props.style,\n    className = props.className,\n    setPostData = props.setPostData,\n    attachDataInstance = props.attachDataInstance,\n    model = props.model,\n    others = _objectWithoutProperties(props, _excluded);\n  // const theme = useThemeContext()\n  // 主题参数改为在主题切换hook中提取\n  var _useThemeChange = (0, _useThemeChange2[\"default\"])(),\n    theme = _useThemeChange.themeNum,\n    themeColor = _useThemeChange.themeColor;\n  var _useState = (0, _react.useState)(null),\n    _useState2 = _slicedToArray(_useState, 2),\n    customComponent = _useState2[0],\n    setCustomComponent = _useState2[1];\n  var customComponentRef = (0, _react.useRef)(null);\n  var customDomRef = (0, _react.useRef)(null);\n  var controlMethodDataCache = (0, _react.useRef)([]);\n  var customChildRendered = (0, _react.useRef)(false);\n  var _useState3 = (0, _react.useState)(innerForms),\n    _useState4 = _slicedToArray(_useState3, 2),\n    forms = _useState4[0],\n    setForms = _useState4[1];\n  var userDataReporting = function userDataReporting(data) {\n    var newData = Object.assign({}, (0, _customCtrlUtil2.filterNestedData)(data), {\n      pageId: pageId,\n      key: controlKey,\n      schemaId: schemaId,\n      isvId: isvId,\n      moduleId: moduleId,\n      lang: customProps.lang,\n      methodName: 'private_method',\n      tableName: TABLE_NAME\n    });\n    (0, _GlobalDataCacher.setData)(_symbolConst.KEY_UI_ACTION, newData);\n  };\n  (0, _react.useEffect)(function () {\n    // 存储moduleId,isvId,schemaId到KDApi\n    (0, _customComponentManage.saveModel)({\n      schemaId: schemaId,\n      isvId: isvId,\n      moduleId: moduleId,\n      pageId: pageId,\n      lang: lang,\n      controlKey: controlKey\n    }, schemaId);\n    var cardRowData = customProps.cardRowData,\n      gridRowData = customProps.gridRowData,\n      lang = customProps.lang;\n    var indexpath = window.KDApi.nameSpace({\n      schemaId: schemaId,\n      isvId: isvId,\n      moduleId: moduleId,\n      pageId: pageId,\n      controlKey: controlKey,\n      lang: lang\n    }) + 'index.js';\n    var customModel = (0, _customComponentManage.createCustomModel)({\n      userDataReporting: userDataReporting,\n      pageId: pageId,\n      controlKey: controlKey,\n      dom: customDomRef.current,\n      schemaId: schemaId,\n      isvId: isvId,\n      moduleId: moduleId,\n      fileServer: fileServer,\n      metaData: metaData,\n      cardRowData: cardRowData,\n      gridRowData: gridRowData,\n      lang: lang,\n      invokeCustomMethod: invokeCustomMethod,\n      setPostData: setPostData,\n      injectAttachData: attachDataInstance === null || attachDataInstance === void 0 ? void 0 : attachDataInstance.setAttachData\n    });\n    (0, _customCtrlUtil.getCurrentCustomComponent)(customModel, schemaId, indexpath, isvId).then(function (CustomComponent) {\n      customComponentRef.current = new CustomComponent(customModel);\n      setCustomComponent(customComponentRef.current);\n    })[\"catch\"](function (err) {\n      console.error(err);\n    });\n    return function () {\n      if (!customComponentRef.current) {\n        // 没有custom则不进行\n        return;\n      }\n      // 这里的destoryed单词可能拼错了，正确的应该是destroyed，但很多业务和客户都在用了，不好改，只能将错就错\n      (0, _customCtrlUtil.executeCustomCtrlMethod)(customComponentRef.current, 'destoryed');\n    };\n  }, []);\n  (0, _react.useEffect)(function () {\n    var removeCustomDomObserver;\n    try {\n      if (customComponent) {\n        var _customDomRef$current;\n        // todo :获取页面脚本引擎，可以订阅值改变事件，以及存取字段属性值\n        // const scope = getSharePageScope(pageId)\n\n        // 通过isImmediateUpdate标识，判断是否需要立即更新\n        var isImmediateUpdate = (0, _customCtrlUtil.executeCustomCtrlMethod)(customComponentRef.current, 'init', customProps) !== true;\n        isImmediateUpdate && (0, _customCtrlUtil.executeCustomCtrlMethod)(customComponentRef.current, 'update', customProps); // 这里将错就错，前人留下的坑，埋不掉\n        if ((_customDomRef$current = customDomRef.current) !== null && _customDomRef$current !== void 0 && (_customDomRef$current = _customDomRef$current.children) !== null && _customDomRef$current !== void 0 && _customDomRef$current.length) {\n          handleDomChangeCallback();\n        }\n        // 监听自定义控件里节点变化\n        removeCustomDomObserver = (0, _customCtrlUtil.customDomObserver)(customDomRef.current, function (mutations) {\n          handleDomChangeCallback();\n        });\n        var isLoadFile = (0, _GlobalDataCacher.getData)(_symbolConst.KEY_CUSTOM_CTRL_INIT);\n        if (!isLoadFile) {\n          (0, _GlobalDataCacher.setData)(_symbolConst.KEY_CUSTOM_CTRL_INIT, true);\n          (0, _GlobalDataCacher.setData)(_symbolConst.KEY_UI_ACTION, {\n            pageId: pageId,\n            key: controlKey,\n            schemaId: schemaId,\n            isvId: isvId,\n            moduleId: moduleId,\n            lang: customProps.lang,\n            methodName: 'KDApi.register(init)',\n            tableName: TABLE_NAME\n          });\n        }\n        // setData(KEY_UI_ACTION, { pageId, key: controlKey, schemaId, isvId, moduleId, lang: customProps.lang, methodName: 'KDApi.register(init)', tableName: TABLE_NAME })\n      }\n    } catch (e) {\n      console.log(e);\n    }\n    return function () {\n      removeCustomDomObserver && removeCustomDomObserver.disconnect();\n    };\n  }, [customComponent]);\n  (0, _react.useEffect)(function () {\n    try {\n      var _getCurrentTheme = (0, _customCtrlUtil.getCurrentTheme)(),\n        _themeColor = _getCurrentTheme.themeColor;\n      (0, _customCtrlUtil.executeCustomCtrlMethod)(customComponentRef.current, 'update', _objectSpread(_objectSpread({}, customProps), {}, {\n        themeColor: _themeColor,\n        themeNum: theme\n      }));\n    } catch (e) {\n      console.log(e);\n    }\n  }, [(0, _immutable.fromJS)(customProps).hashCode(), theme, themeColor]);\n  (0, _react.useEffect)(function () {\n    var removeSubscribeControlMethod = (0, _memoryCacher.subscribeControlMethod)(pageId, controlKey, 'directives', function () {\n      var results = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n      // 当自定义控件dom子元素还没有加载成功的时候，直接执行，会导致自定义控件拿不到数据\n      // 解决：先把数据缓存起来，等到自定义控件内部的元素加载完的时候才去执行\n      if (customChildRendered.current) {\n        subscribeControlMethodCallback(results);\n      } else {\n        var _controlMethodDataCac;\n        (_controlMethodDataCac = controlMethodDataCache.current) === null || _controlMethodDataCac === void 0 || _controlMethodDataCac.push(results);\n      }\n    });\n    return function () {\n      removeSubscribeControlMethod();\n    };\n  }, []);\n  (0, _react.useEffect)(function () {\n    // 监听自定义控件里节点变化\n    if (innerForms.length) {\n      if (filterInnerForms(innerForms).length) {\n        setForms(filterInnerForms(innerForms));\n      } else {\n        (0, _customCtrlUtil.customDomObserver)(customDomRef.current, function (mutations) {\n          setForms(filterInnerForms(innerForms));\n        });\n      }\n    } else {\n      setForms([]);\n    }\n  }, [(0, _immutable.fromJS)(innerForms).hashCode()]);\n  var filterInnerForms = function filterInnerForms() {\n    var innerForms = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n    return innerForms.filter(function (formInfo) {\n      var elementId = formInfo.elementId;\n      return elementId && document.getElementById(elementId);\n    });\n  };\n  var handleDomChangeCallback = function handleDomChangeCallback() {\n    innerForms.length && setForms(filterInnerForms(innerForms));\n    customChildRendered.current = true;\n    if (Array.isArray(controlMethodDataCache.current) && controlMethodDataCache.current.length > 0) {\n      controlMethodDataCache.current.forEach(function (results) {\n        subscribeControlMethodCallback(results);\n      });\n      controlMethodDataCache.current = [];\n    }\n  };\n\n  // 订阅回调\n  var subscribeControlMethodCallback = function subscribeControlMethodCallback(results) {\n    if (Array.isArray(results)) {\n      results.forEach(function (_ref) {\n        var methodname = _ref.methodname,\n          args = _ref.args;\n        if (methodname) {\n          (0, _customCtrlUtil.executeCustomCtrlMethod)(customComponentRef.current, 'handleDirective', customProps, methodname, args);\n        }\n      });\n    }\n  };\n\n  // rootElements = { elementId1: element }\n  var innerFormsRootElement = attachDataInstance === null || attachDataInstance === void 0 || (_attachDataInstance$g = attachDataInstance.getAttachData()) === null || _attachDataInstance$g === void 0 ? void 0 : _attachDataInstance$g.innerFormsRootElement;\n\n  // 这里没有把others去掉是因为后端与可能会往dom上挂载一些自定义属性给二开用\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n    ref: customDomRef,\n    style: style,\n    className: className\n  }, others), outerForms.length ? _react[\"default\"].Children.toArray(outerForms) : null, innerForms.length ? _react[\"default\"].Children.toArray((0, _customCtrlUtil.parseInnerForms)(customDomRef, forms, innerFormsRootElement)) : null);\n}\nfunction initCustomComponentInstance(props) {\n  var pageId = props.pageId,\n    controlKey = props.controlKey,\n    schemaId = props.schemaId,\n    isvId = props.isvId,\n    moduleId = props.moduleId,\n    invokeCustomMethod = props.invokeCustomMethod,\n    fileServer = props.fileServer,\n    customProps = props.customProps;\n  var lang = customProps.lang;\n  var customComponent = (0, _customComponentManage.getCustomComponent)(schemaId);\n  if (customComponent) {\n    return new Promise(function (resolve) {\n      resolve(customComponent);\n    });\n  }\n  var indexpath = window.KDApi.nameSpace({\n    schemaId: schemaId,\n    isvId: isvId,\n    moduleId: moduleId,\n    pageId: pageId,\n    controlKey: controlKey,\n    lang: lang\n  }) + 'index.js'; // 'https://localhost:8443/ierp/dev/helloworld/index.js'\n  var customModel = (0, _customComponentManage.createCustomModel)({\n    pageId: pageId,\n    controlKey: controlKey,\n    schemaId: schemaId,\n    isvId: isvId,\n    moduleId: moduleId,\n    fileServer: fileServer,\n    lang: lang,\n    invokeCustomMethod: invokeCustomMethod\n  });\n  return (0, _customCtrlUtil.getCurrentCustomComponent)(customModel, schemaId, indexpath, isvId);\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/CustomCtrl/BaseCustomCtrl.js?");

/***/ }),

/***/ "./src/component/web/base/DatePicker.jsx":
/*!***********************************************!*\
  !*** ./src/component/web/base/DatePicker.jsx ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.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-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.find.js */ \"../../node_modules/core-js/modules/es.array.find.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.join.js */ \"../../node_modules/core-js/modules/es.array.join.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.is.js */ \"../../node_modules/core-js/modules/es.object.is.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.parse-int.js */ \"../../node_modules/core-js/modules/es.parse-int.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.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\n__webpack_require__(/*! core-js/modules/es.string.pad-start.js */ \"../../node_modules/core-js/modules/es.string.pad-start.js\");\n__webpack_require__(/*! core-js/modules/es.string.replace.js */ \"../../node_modules/core-js/modules/es.string.replace.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _DateTimePicker = _interopRequireDefault(__webpack_require__(/*! ./DateTimePicker */ \"./src/component/web/base/DateTimePicker/index.js\"));\nvar _moment = _interopRequireDefault(__webpack_require__(/*! moment */ \"../../node_modules/moment/moment.js\"));\nvar _lodash = _interopRequireDefault(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nvar _dateUtil = __webpack_require__(/*! @/util/dateUtil */ \"./src/util/dateUtil.js\");\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _formatUtil = __webpack_require__(/*! ../../../util/formatUtil */ \"./src/util/formatUtil.js\");\nvar _keyCode = __webpack_require__(/*! ../../../constant/keyCode */ \"./src/constant/keyCode.js\");\nvar _PanelWrapper = _interopRequireDefault(__webpack_require__(/*! ../../common/PanelWrapper */ \"./src/component/common/PanelWrapper.js\"));\nvar _baseComponent = _interopRequireDefault(__webpack_require__(/*! ./baseComponent.less */ \"./src/component/web/base/baseComponent.less\"));\nvar _DatePicker2 = _interopRequireDefault(__webpack_require__(/*! ./DatePicker.less */ \"./src/component/web/base/DatePicker.less\"));\nvar locale = _interopRequireWildcard(__webpack_require__(/*! ./DateTimePicker/locale */ \"./src/component/web/base/DateTimePicker/locale/index.js\"));\nvar _commonAnimation = _interopRequireDefault(__webpack_require__(/*! ../../common/commonAnimation.less */ \"./src/component/common/commonAnimation.less\"));\nvar _defaultPropsUtil = __webpack_require__(/*! @/util/defaultPropsUtil */ \"./src/util/defaultPropsUtil.js\");\nvar _LoadingGIF = _interopRequireDefault(__webpack_require__(/*! @/component/common/LoadingGIF */ \"./src/component/common/LoadingGIF.js\"));\nvar _customCtrlName = _interopRequireDefault(__webpack_require__(/*! @/constant/customCtrlName */ \"./src/constant/customCtrlName.js\"));\nvar _excluded = [\"noValue\", \"Grow\", \"Shrink\", \"disabled\", \"theme\", \"timeZone\", \"regionType\", \"displayFormat\", \"mask\", \"type\", \"localeCode\", \"minDate\", \"maxDate\", \"showTitle\", \"isNoUnderLineLockStyle\", \"isAttachToBody\", \"clearIconStyle\", \"iconStyle\", \"style\", \"inputStyle\", \"valueLocale\", \"lock\", \"highlightWhenFocus\", \"onChange\", \"onBlur\", \"onFocus\", \"onKeyDown\", \"onKeyUp\", \"showClear\", \"enabledDates\", \"disabledDates\", \"validDate\", \"realTimeUpdate\", \"calendarLocale\", \"firstDayOfWeek\", \"onYearChange\", \"loading\"];\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 _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 _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 DatePicker = /*#__PURE__*/function (_React$Component) {\n  _inherits(DatePicker, _React$Component);\n  function DatePicker(props) {\n    var _this;\n    _classCallCheck(this, DatePicker);\n    _this = _callSuper(this, DatePicker, [props]);\n    _this.isValidDate = function (_ref) {\n      var curDate = _ref.curDate,\n        _ref$isForCalendar = _ref.isForCalendar,\n        isForCalendar = _ref$isForCalendar === void 0 ? true : _ref$isForCalendar,\n        _ref$type = _ref.type,\n        type = _ref$type === void 0 ? 'day' : _ref$type;\n      if (_typeof(curDate) !== 'object') {\n        curDate = (0, _moment[\"default\"])(curDate);\n      }\n      var _this$props = _this.props,\n        minDate = _this$props.minDate,\n        maxDate = _this$props.maxDate,\n        _this$props$enabledDa = _this$props.enabledDates,\n        enabledDates = _this$props$enabledDa === void 0 ? [] : _this$props$enabledDa,\n        _this$props$disabledD = _this$props.disabledDates,\n        disabledDates = _this$props$disabledD === void 0 ? [] : _this$props$disabledD;\n      if (minDate && (0, _moment[\"default\"])(minDate).isValid()) {\n        minDate = (0, _moment[\"default\"])(minDate);\n        if (type !== 'day' && curDate.isBefore(minDate, type)) {\n          // 年/月选择器比较年份/月份\n          return false;\n        } else if (type === 'day') {\n          if (!isForCalendar && curDate.isBefore(minDate)) return false;\n          // 日历面板判断日期用\n          var start = curDate.clone().set({\n            hour: 0,\n            minute: 0,\n            second: 0,\n            millisecond: 0\n          });\n          // 当日期与最小值同一天时，判断时分秒，如果小于00:00:00，该天不可选\n          if (minDate.isSame(curDate, 'day') && minDate.isBefore(start)) return false;\n          // 当日期与最小值非同一天时，仅需判断年月日即可\n          if (!minDate.isSame(curDate, 'day') && curDate.isBefore(minDate)) return false;\n        }\n      }\n      if (maxDate && (0, _moment[\"default\"])(maxDate).isValid()) {\n        maxDate = (0, _moment[\"default\"])(maxDate);\n        if (type !== 'day' && curDate.isAfter(maxDate, type)) {\n          // 年/月选择器比较年份/月份\n          return false;\n        } else if (type === 'day') {\n          if (!isForCalendar && curDate.isAfter(maxDate)) return false;\n          // 日历面板判断日期用\n          var end = curDate.clone().set({\n            hour: 23,\n            minute: 59,\n            second: 59,\n            millisecond: 999\n          });\n          // 当日期与最大值同一天时，判断时分秒，如果大于23:59:59，该天不可选\n          if (maxDate.isSame(curDate, 'day') && maxDate.isAfter(end)) return false;\n          // 当日期与最大值非同一天时，仅需判断年月日即可\n          if (!maxDate.isSame(curDate, 'day') && curDate.isAfter(maxDate)) return false;\n        }\n      }\n\n      // 根据传入的可选或者不可选日期进行日期判断\n      var hasEnabledDate = enabledDates.length > 0;\n      var hasDisabledDate = disabledDates.length > 0;\n      if (hasEnabledDate || hasDisabledDate) {\n        if (hasEnabledDate) {\n          if (enabledDates.find(function (date) {\n            return date.isSame(curDate, type);\n          })) {\n            return 1;\n          }\n          return 0;\n        }\n        if (disabledDates.find(function (date) {\n          return date.isSame(curDate, 'day');\n        })) {\n          return 0;\n        }\n        return 1;\n      }\n      return 1;\n    };\n    /**\n     * 输入框失去焦点\n     * @param {object} e\n     */\n    _this.handleBlur = function (e) {\n      _this.setState({\n        isFocus: false\n      });\n      var value = e.target.value;\n      if (!value) {\n        // 存在旧值，不存在新值 => 删除原来的值\n        if (_this.props.value) {\n          _this.props.onChange && _this.props.onChange(null);\n        } else {\n          // 不存在旧值，不存在新值 => 直接失焦\n          _this.props.onBlur && _this.props.onBlur(value);\n        }\n        return;\n      }\n      var mask = (0, _formatUtil.convertDateTimeFormat)(_this.props.mask);\n      // 最后一位自动拼接\n      if (mask && value.length === mask.length - 1 && !/[YyMDdHhmSs]/.test(mask[mask.length - 1])) {\n        value = \"\".concat(value).concat(mask[mask.length - 1]);\n      }\n      _this.updateParentValue(value, e.target, true);\n      _this.props.onBlur && _this.props.onBlur(e.target.value);\n    };\n    // 输入框值发生变化时，打开日历面板\n    _this.handleInputValueChange = function (e) {\n      if (!_this.state.showCalendar) {\n        _this.setState({\n          showCalendar: true\n        });\n      }\n      var value = _this.appendMask(e.target.value);\n      e.target.value = value;\n      _this.setInputValue(value);\n\n      // 20210329 表格在切换 Cell 的时候可能不会调用到 blur 事件\n      // 在基类中传入业务的判断，感觉这样的实现不合理，但是目前AgGrid没有其他好的做法\n      // triggerUpdateWhenChange\n      if (_this.props.triggerUpdateWhenChange) {\n        var mask = (0, _formatUtil.convertDateTimeFormat)(_this.props.mask);\n        if (!mask) {\n          var momentObj = (0, _dateUtil.getFormattedValue)({\n            value: value,\n            locale: _this.props.valueLocale,\n            type: _this.props.type\n          });\n          if (momentObj !== null && momentObj !== void 0 && momentObj.isValid() && _this.validateDate(momentObj)) {\n            _this.props.onChange(momentObj.format(_this.state.dataFormat));\n          }\n          _this.setInputValue(value);\n          return;\n        }\n        var type = _this.props.type;\n        var regExp = type === 'date' ? /\\d{4}-\\d{2}-\\d{2}/ : type === 'datetime' ? /\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}/ : null;\n        if (!mask && regExp && !regExp.test(value)) return;\n\n        // 最后一位自动拼接\n        if (mask && value.length === mask.length - 1 && !/[YyMDdHhmSs]/.test(mask[mask.length - 1])) {\n          value = \"\".concat(value).concat(mask[mask.length - 1]);\n        }\n        if (value.length === mask.length) {\n          _this.updateParentValue(value);\n        } else {\n          _this.setInputValue(value);\n        }\n      }\n    };\n    /**\n     * 点击日历面板选中日期后会触发此方法\n     */\n    _this.onChange = function (date, closeCalendar) {\n      var _this$props$onChange, _this$props3;\n      var must = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n      if (!_this.state.showCalendar) return;\n      if (!date) {\n        return _this.closeCalendar();\n      }\n      var _this$props2 = _this.props,\n        type = _this$props2.type,\n        regionType = _this$props2.regionType;\n      // 短日期在选中日期后，会直接关闭日历面板\n      if (type === 'date' || type === 'datetime' && regionType === 1) {\n        _this.closeCalendar();\n      }\n      var dateClone = date.clone().locale(_this.props.valueLocale || 'zh_CN');\n      var _this$state = _this.state,\n        format = _this$state.format,\n        dataFormat = _this$state.dataFormat;\n      // 长日期掩码仅显示时分时，秒数需要传 0 给后端\n      if (type === 'datetime') {\n        if (!format.includes('H') && !format.includes('h')) dateClone.set('hour', 0);\n        if (!format.includes('m')) dateClone.set('minute', 0);\n        if (!format.includes('s')) dateClone.set('second', 0);\n      }\n      var formatDate = dateClone.format(dataFormat);\n      (_this$props$onChange = (_this$props3 = _this.props).onChange) === null || _this$props$onChange === void 0 || _this$props$onChange.call(_this$props3, formatDate);\n    };\n    _this.handleKeyDown = function (e) {\n      var currentDate = _this.state.value || (0, _moment[\"default\"])(_this.props.value || _this.props.today, _this.state.dataFormat, _this.props.valueLocale);\n      if (!currentDate.isValid()) {\n        currentDate = (0, _moment[\"default\"])().locale(_this.props.valueLocale);\n      }\n      if (_this.state.showCalendar) {\n        var stopDefault = true;\n        switch (e.keyCode) {\n          case _keyCode.KEYS.PAGEUP:\n            _this.setState({\n              value: currentDate.clone().add(-1, 'months')\n            });\n            break;\n          case _keyCode.KEYS.PAGEDOWN:\n            _this.setState({\n              value: currentDate.clone().add(1, 'months')\n            });\n            break;\n          case _keyCode.KEYS.END:\n            _this.setState({\n              value: null,\n              showCalendar: false\n            });\n            break;\n          case _keyCode.KEYS.HOME:\n            // this.setState({value: currentDate.clone().add(-1, 'day')})\n            break;\n          case _keyCode.KEYS.ARROWLEFT:\n            _this.setState({\n              value: currentDate.clone().add(-1, 'day')\n            });\n            break;\n          case _keyCode.KEYS.ARROWUP:\n            _this.setState({\n              value: currentDate.clone().add(-7, 'day')\n            });\n            break;\n          case _keyCode.KEYS.ARROWRIGHT:\n            _this.setState({\n              value: currentDate.clone().add(1, 'day')\n            });\n            break;\n          case _keyCode.KEYS.ARROWDOWN:\n            _this.setState({\n              value: currentDate.clone().add(7, 'day')\n            });\n            break;\n          case _keyCode.KEYS.ESCAPE:\n            _this.closeCalendar();\n            break;\n          case _keyCode.KEYS.ENTER:\n            // 面板显示时，enter事件的处理在keyDownHandler\n            _this.onChange(currentDate, true);\n            break;\n          case _keyCode.KEYS.TAB:\n            _this.closeCalendar();\n            stopDefault = false;\n            break;\n          default:\n            stopDefault = false;\n            break;\n        }\n        stopDefault && e.preventDefault();\n      } else {\n        if (e.keyCode === _keyCode.KEYS.ARROWDOWN) {\n          _this.openCalendar();\n        }\n      }\n      _this.props.onKeyDown && _this.props.onKeyDown(e);\n    };\n    _this.openCalendar = function () {\n      if (_this.props.disabled || _this.props.readOnly) return;\n      _this.setState({\n        isFocus: true\n      });\n      if (!_this.state.showCalendar) {\n        var _this$state$value;\n        _this.handleYearChange(((_this$state$value = _this.state.value) === null || _this$state$value === void 0 ? void 0 : _this$state$value.year()) || (0, _moment[\"default\"])().year());\n        _this.setState({\n          showCalendar: true\n        });\n      }\n      _this.inputNode && _this.inputNode.focus();\n    };\n    _this.closeCalendar = function () {\n      if (_this.state.showCalendar) {\n        _this.setState({\n          showCalendar: false\n        });\n      }\n    };\n    /**\n     * 校验所选择的日期值是否合法\n     * @param {object}} date Moment 对象\n     */\n    _this.validateDate = function (date) {\n      if (!date || !_moment[\"default\"].isMoment(date)) return false;\n      var dateStr = date.format(_this.state.dataFormat);\n      var validDate = _this.props.validDate;\n      return !(!_this.isValidDate({\n        curDate: dateStr,\n        isForCalendar: false\n      }) || validDate && !validDate(dateStr));\n    };\n    /**\n     * 长日期字段，点击确定按钮时，需要关闭面板\n     */\n    _this.confirm = function () {\n      _this.closeCalendar();\n      _this.inputNode.blur();\n      _this.props.confirm && _this.props.confirm();\n    };\n    _this.keyDownHandler = function (e) {\n      if (e.keyCode === _keyCode.KEYS.ENTER) {\n        if (_this.container.contains(document.activeElement) && _this.validateDate(_this.state.value)) {\n          _this.onChange(_this.state.value, true, true);\n        }\n        _this.closeCalendar();\n        _this.props.onPannelEnter && _this.props.onPannelEnter();\n      }\n    };\n    _this.isValueChange = function (newValue) {\n      if (newValue) {\n        return _this.props.value ? newValue !== _this.props.value : true;\n      } else {\n        return !!_this.props.value;\n      }\n    };\n    _this.handleYearChange = function (newYear) {\n      _this.props.onYearChange && _this.props.onYearChange(newYear);\n    };\n    _this.handlePanelWrapperClose = function () {\n      _this.closeCalendar();\n      _this.props.onPanelWrapperClose && _this.props.onPanelWrapperClose(_this.state.value);\n    };\n    _this.handleClearClick = function (evt) {\n      evt.stopPropagation();\n      _this.closeCalendar();\n      _this.isValueChange('') && _this.props.onChange && _this.props.onChange(null);\n    };\n    _this.setInputValue = function (value) {\n      // const newDate = moment(value, this.state.format, this.props.valueLocale, true)\n      var newDate = (0, _dateUtil.getFormattedValue)({\n        value: value,\n        format: _this.props.mask,\n        locale: _this.props.valueLocale,\n        type: _this.props.type\n      });\n      var newState = {\n        inputValue: value,\n        value: newDate !== null && newDate !== void 0 && newDate.isValid() ? newDate : null\n      };\n      _this.setState(newState);\n    };\n    _this.appendMask = function (value) {\n      if (!_this.props.mask || !value) return value;\n      var val = value;\n      var valLength = val.length;\n      var mask = (0, _formatUtil.convertDateTimeFormat)(_this.props.mask);\n      var maskLength = mask.length;\n      // 长度大于掩码的，进行截断\n      if (valLength > maskLength) {\n        return val.substring(0, maskLength);\n      }\n\n      // 下一位是非分隔符的话，将其拼接到内容上\n      // 为分隔符的话，就拼接一个分隔符（留意连续分隔符的情况）\n      var index = valLength - 1;\n      var curChar = mask[index];\n      while (curChar && !/[YyMDdHhmSs]/.test(curChar) && curChar !== val[index]) {\n        val = valLength === maskLength ? \"\".concat(val.substr(0, valLength - 1)).concat(curChar) : \"\".concat(val.substr(0, valLength - 1)).concat(curChar).concat(val.substr(-1));\n        valLength = val.length;\n        curChar = mask[++index];\n      }\n      return val;\n    };\n    _this.updateParentValue = function (value, control, appendZero) {\n      var _newDate;\n      // 对于 DD-MMM-YYYY, moment 需要与 localeCode 进行匹配\n      // 存在 en-US 校验不过，但是 en_US 校验通过的\n      var newDate = (0, _dateUtil.getFormattedValue)({\n        value: value,\n        format: _this.state.mask,\n        locale: _this.props.valueLocale,\n        type: _this.props.type,\n        appendZero: appendZero\n      });\n      if (!((_newDate = newDate) !== null && _newDate !== void 0 && _newDate.isValid())) {\n        var valueLocale = _this.props.valueLocale;\n        valueLocale = valueLocale.indexOf('_') > -1 ? valueLocale.replace('_', '-') : valueLocale.replace('-', '_');\n        newDate = (0, _moment[\"default\"])(value, _this.state.format, valueLocale, true);\n      }\n      if (newDate.isValid()) {\n        var panelValue = (0, _moment[\"default\"])(_this.state.value);\n        // 设置了hh格式化的话，输入框的值与实际值相差12小时，兼容一下特殊场景\n        if (_this.state.format.includes('h') && panelValue.diff(newDate, 'hours') !== 0) {\n          newDate = newDate.add(panelValue.diff(newDate, 'hours'), 'h');\n        }\n        if (_this.validateDate(newDate)) {\n          if (control) control.value = newDate.format(_this.state.displayFormat);\n          _this.props.onChange && _this.props.onChange(newDate.format(_this.state.dataFormat));\n        } else {\n          var val = _this.props.value ? (0, _moment[\"default\"])(_this.props.value, _this.state.dataFormat, _this.props.valueLocale, true) : null;\n          _this.setState({\n            value: val,\n            inputValue: ''\n          });\n        }\n      } else {\n        // 日期有误，将原值挂回去\n        var _val = _this.props.value ? (0, _moment[\"default\"])(_this.props.value, _this.state.dataFormat, _this.props.valueLocale, true) : null;\n        _this.setState({\n          value: _val,\n          inputValue: ''\n        });\n      }\n    };\n    _this.handlePanelTypeChange = function (type) {\n      if (!_this.state.showCalendar) return;\n      // panelWrapper 的 calcPosition 方法在渲染前就获取面板宽高\n      // 导致计算出来的位置是宽高变化前的，使用 setTimeout 做一个延迟\n      // setTimeout(() => {\n      //   this.panelRef.current?.calcPosition()\n      // }, 0)\n    };\n    _this.renderCalendar = function () {\n      if (!_this.state.showCalendar) return null;\n      var _this$props4 = _this.props,\n        Grow = _this$props4.Grow,\n        Shrink = _this$props4.Shrink,\n        getPopupContainer = _this$props4.getPopupContainer,\n        loading = _this$props4.loading,\n        type = _this$props4.type,\n        defaultTime = _this$props4.defaultTime,\n        ctrlKey = _this$props4.ctrlKey;\n      var calendarCls = (0, _classnames[\"default\"])(_defineProperty({}, _DatePicker2[\"default\"]['input-strech-flat'], Object.is(_this.props.theme, 'flat')), _DatePicker2[\"default\"].input, _commonAnimation[\"default\"]['panel-drop-down-animation'], (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink\n      }));\n\n      // 渲染日期面板\n      var calendar = _this.calendar;\n      if (_this.props.isAttachToBody) {\n        if (!calendar) {\n          calendar = document.createElement('div');\n          // 新增自定义属性，标记下拉面板来自哪个控件，支持修改单个控件下拉样式\n          calendar.setAttribute('data-fromctrl', ctrlKey);\n          document.body.appendChild(calendar);\n          _this.calendar = calendar;\n        }\n      } else {\n        calendar = _this.container;\n      }\n\n      // 单据体，日期面板点击不转成非编辑态，将日期面板dom元素传递给单据体\n      _this.props.getPopupPanel && _this.props.getPopupPanel(calendar);\n      var _this$props5 = _this.props,\n        calendarLocale = _this$props5.calendarLocale,\n        valueLocale = _this$props5.valueLocale;\n      var localeData = (0, _dateUtil.getLocaleData)(calendarLocale, locale);\n      var _this$state2 = _this.state,\n        value = _this$state2.value,\n        dataFormat = _this$state2.dataFormat;\n\n      // 暂时在这里增加多语言 理应提取到业务层去\n      var today = (0, _moment[\"default\"])(_this.props.today, dataFormat, calendarLocale);\n      if (!today.isValid()) {\n        today = (0, _moment[\"default\"])().locale(calendarLocale || 'zh_CN');\n      }\n      if (type === 'datetime') {\n        today = (0, _dateUtil.setDefaultTime)(today, defaultTime);\n      }\n      var localeValue = value && value.locale(calendarLocale || 'zh_CN');\n      return /*#__PURE__*/_reactDom[\"default\"].createPortal( /*#__PURE__*/_react[\"default\"].createElement(_PanelWrapper[\"default\"], {\n        onClose: _this.handlePanelWrapperClose,\n        trigger: _this.container,\n        onWindowKeyDown: _this.keyDownHandler,\n        ref: _this.panelRef,\n        style: {\n          zIndex: 1053\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        style: {\n          position: 'relative'\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(_DateTimePicker[\"default\"], {\n        locale: localeData,\n        localeCode: valueLocale,\n        format: _this.state.format,\n        type: _this.props.regionType === 1 ? 'date' : _this.props.type,\n        value: localeValue,\n        className: calendarCls,\n        viewMode: _this.getViewMode(_this.state.format),\n        isValidDate: _this.isValidDate,\n        today: today,\n        minDate: _this.props.minDate ? (0, _moment[\"default\"])(_this.props.minDate) : null,\n        maxDate: _this.props.maxDate ? (0, _moment[\"default\"])(_this.props.maxDate) : null,\n        onChange: _this.onChange,\n        onYearChange: _this.handleYearChange,\n        clearDateTime: function clearDateTime() {\n          return _this.setState({\n            value: null,\n            inputValue: ''\n          });\n        },\n        close: _this.closeCalendar,\n        confirm: _this.confirm,\n        firstDayOfWeek: _this.props.firstDayOfWeek,\n        onPanelTypeChange: _this.handlePanelTypeChange\n      }), loading && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_DatePicker2[\"default\"]['loading-container'], 'kd-cq-dropdown-loading-container')\n      }, /*#__PURE__*/_react[\"default\"].createElement(_LoadingGIF[\"default\"], null)))), getPopupContainer && getPopupContainer() || calendar);\n    };\n    _this.defaultFormat = {\n      dateFormat: 'YYYY-MM-DD',\n      timeFormat: 'HH:mm:ss'\n    };\n    var defaultFormat = props.type === 'date' ? _this.defaultFormat.dateFormat : _this.defaultFormat.dateFormat + ' ' + _this.defaultFormat.timeFormat;\n    var _format = (0, _formatUtil.convertDateTimeFormat)(props.mask);\n    var displayFormat = (0, _formatUtil.convertDateTimeFormat)(props.displayFormat);\n\n    // 获取当前系统语言\n    var _date = (0, _moment[\"default\"])(props.value, defaultFormat, props.valueLocale, true);\n    if (!_date.isValid()) _date = null;\n    _this.state = {\n      value: _date,\n      inputValue: '',\n      showCalendar: false,\n      displayFormat: displayFormat || _format || defaultFormat,\n      format: _format || defaultFormat,\n      dataFormat: defaultFormat,\n      isFocus: false\n    };\n    _this.panelRef = /*#__PURE__*/_react[\"default\"].createRef(null);\n    return _this;\n  }\n  _createClass(DatePicker, [{\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      var nextValue = nextProps.value,\n        nextValueLocale = nextProps.valueLocale,\n        nextType = nextProps.type,\n        nextMask = nextProps.mask,\n        nextDisplayFormat = nextProps.displayFormat;\n      var _this$props6 = this.props,\n        value = _this$props6.value,\n        valueLocale = _this$props6.valueLocale,\n        type = _this$props6.type,\n        mask = _this$props6.mask,\n        displayFormat = _this$props6.displayFormat;\n      var needToUpdateValue = value !== nextValue || valueLocale !== nextValueLocale || type !== nextType || mask !== nextMask || displayFormat !== nextDisplayFormat || value !== this.state.inputValue;\n      if (needToUpdateValue) {\n        var defaultFormat = nextProps.type === 'date' ? this.defaultFormat.dateFormat : this.defaultFormat.dateFormat + ' ' + this.defaultFormat.timeFormat;\n        var format = (0, _formatUtil.convertDateTimeFormat)(nextProps.mask) || defaultFormat;\n        var _displayFormat = (0, _formatUtil.convertDateTimeFormat)(nextProps.displayFormat) || (0, _formatUtil.convertDateTimeFormat)(format) || defaultFormat;\n        var date = (0, _moment[\"default\"])(nextProps.value, this.state.dataFormat, nextProps.valueLocale, true);\n        if (!date.isValid()) date = null;\n        this.setState({\n          value: date,\n          inputValue: '',\n          displayFormat: _displayFormat,\n          format: format,\n          dataFormat: defaultFormat\n        });\n      }\n    }\n  }, {\n    key: \"componentDidUpdate\",\n    value: function componentDidUpdate(preprops, preState) {\n      var oldShowCalendar = preState.showCalendar;\n      var _this$state3 = this.state,\n        showCalendar = _this$state3.showCalendar,\n        value = _this$state3.value,\n        format = _this$state3.format;\n      if (oldShowCalendar !== showCalendar) {\n        this.props.showCalendarCallBack && this.props.showCalendarCallBack(showCalendar, value === null || value === void 0 ? void 0 : value.format(format));\n      }\n    }\n  }, {\n    key: \"isSeparator\",\n    value: function isSeparator(formatString) {\n      return !/^[YyMDdHhmSs]+$/.test(formatString);\n    }\n  }, {\n    key: \"getViewMode\",\n    value: function getViewMode(format) {\n      if (this.props.type === 'date') {\n        return !format ? 'days' : /D|d/g.test(format) ? 'days'\n        // : /^(?!.*(y|Y)).*M/g.test(format) ? 'months'\n        : /M/g.test(format) ? 'months' : /y|Y/g.test(format) ? 'years' : 'days';\n      }\n      if (this.props.type === 'datetime') {\n        return !format ? 'days' : /^(?!.*(y|Y|d|D|M)).*(H|h|m|S|s)/g.test(format) ? 'time' : /D|d/g.test(format) ? 'days' : /M/g.test(format) ? 'months' : /y|Y/g.test(format) ? 'years' : 'days';\n      }\n      if (this.props.type === 'daterange') {\n        return 'days';\n      }\n    }\n  }, {\n    key: \"getFormatSegment\",\n    value: function getFormatSegment(dateTimeFormat) {\n      var formatSegment = []; // [yyyy,-,MM,dd,' ',hh,mm,ss]\n      var formatSegmentString = '';\n      var startIndex = 0;\n      var searchChar = '';\n      for (var i = 0; i < dateTimeFormat.length; i++) {\n        var formatChar = dateTimeFormat.charAt(i);\n        if (formatChar !== searchChar) {\n          formatSegmentString = dateTimeFormat.substring(startIndex, i);\n          if (formatSegmentString) {\n            formatSegment.push(formatSegmentString);\n          }\n          startIndex = i;\n          searchChar = formatChar;\n        }\n      }\n      formatSegmentString = dateTimeFormat.substring(startIndex);\n      formatSegment.push(formatSegmentString);\n      return formatSegment;\n    }\n  }, {\n    key: \"getDateStringSegment\",\n    value: function getDateStringSegment(dateString, dateTimeFormat) {\n      dateString = dateString.replace(/\\s+/g, ' ');\n      var formatSegment = typeof dateTimeFormat === 'string' ? this.getFormatSegment(dateTimeFormat) : dateTimeFormat;\n      var dateSegment = [];\n      var startIndex = 0;\n      for (var i = 0; i < formatSegment.length && startIndex < dateString.length; i++) {\n        var formatString = formatSegment[i];\n        var val = formatString;\n        if (!this.isSeparator(formatString)) {\n          var nextFormatString = formatSegment[i + 1] || '';\n          var strLength = formatString.length;\n          if (this.isSeparator(nextFormatString)) {\n            var index = _lodash[\"default\"].indexOf(dateString, nextFormatString, startIndex);\n            if (index === -1) {\n              val = dateString.substring(startIndex);\n              val = val.replace(/[^0-9]/ig, '');\n              if (val.length > strLength) {\n                val = dateString.substr(startIndex, strLength);\n                dateString = dateString.substring(0, startIndex + strLength) + nextFormatString + dateString.substring(startIndex + strLength); // 将分隔符插入\n              }\n            } else {\n              val = dateString.substring(startIndex, index);\n            }\n          } else {\n            val = dateString.substr(startIndex, strLength);\n          }\n        }\n        dateSegment.push(val);\n        startIndex += val.length;\n      }\n      // 对于YYYY年MM月DD日这种掩码会校验不过...详见 BT-00295155\n      // 这里是临时方案，对于用户手动输入的各种格式可能存在问题\n      // if (!/^\\d+$/g.test(dateSegment[dateSegment.length - 1])) {\n      //   dateSegment.splice(dateSegment.length - 1, 1)\n      // }\n      return dateSegment;\n    }\n  }, {\n    key: \"getDateString\",\n    value: function getDateString(dateString, dateTimeFormat) {\n      var isFormat = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n      var formatSegment = this.getFormatSegment(dateTimeFormat);\n      var dateSegment = this.getDateStringSegment(dateString, formatSegment);\n      for (var i = 0; i < dateSegment.length; i++) {\n        var maxValue = void 0;\n        var minValue = 0;\n        var formatString = formatSegment[i];\n        var val = dateSegment[i];\n        if (!this.isSeparator(formatString)) {\n          val = val.replace(/[^0-9]/ig, '');\n        }\n        val = val.substr(0, formatString.length);\n        if (/^[M]+$/.test(formatString)) {\n          maxValue = 12;\n          minValue = isFormat ? 1 : 0;\n        } else if (/^[Dd]+$/.test(formatString)) {\n          maxValue = 31;\n          minValue = isFormat ? 1 : 0;\n        } else if (/^[Hh]+$/.test(formatString)) {\n          maxValue = 23;\n        } else if (/^[m]+$/.test(formatString) || /^[Ss]+$/.test(formatString)) {\n          maxValue = 59;\n        }\n        if (maxValue != null) {\n          var intVal = parseInt(val);\n          if (!isNaN(intVal)) {\n            val = intVal > maxValue ? maxValue : intVal < minValue ? minValue : val;\n          }\n        }\n        dateSegment[i] = isFormat ? _lodash[\"default\"].padStart(val + '', formatString.length, '0') : val;\n      }\n      return dateSegment.join('');\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props7 = this.props,\n        _this$props7$noValue = _this$props7.noValue,\n        noValue = _this$props7$noValue === void 0 ? '' : _this$props7$noValue,\n        Grow = _this$props7.Grow,\n        Shrink = _this$props7.Shrink,\n        disabled = _this$props7.disabled,\n        theme = _this$props7.theme,\n        timeZone = _this$props7.timeZone,\n        regionType = _this$props7.regionType,\n        displayFormat = _this$props7.displayFormat,\n        mask = _this$props7.mask,\n        type = _this$props7.type,\n        localeCode = _this$props7.localeCode,\n        minDate = _this$props7.minDate,\n        maxDate = _this$props7.maxDate,\n        showTitle = _this$props7.showTitle,\n        isNoUnderLineLockStyle = _this$props7.isNoUnderLineLockStyle,\n        isAttachToBody = _this$props7.isAttachToBody,\n        clearIconStyle = _this$props7.clearIconStyle,\n        iconStyle = _this$props7.iconStyle,\n        _this$props7$style = _this$props7.style,\n        style = _this$props7$style === void 0 ? {} : _this$props7$style,\n        _this$props7$inputSty = _this$props7.inputStyle,\n        inputStyle = _this$props7$inputSty === void 0 ? {} : _this$props7$inputSty,\n        valueLocale = _this$props7.valueLocale,\n        lock = _this$props7.lock,\n        highlightWhenFocus = _this$props7.highlightWhenFocus,\n        onChange = _this$props7.onChange,\n        onBlur = _this$props7.onBlur,\n        onFocus = _this$props7.onFocus,\n        onKeyDown = _this$props7.onKeyDown,\n        onKeyUp = _this$props7.onKeyUp,\n        showClearProp = _this$props7.showClear,\n        enabledDates = _this$props7.enabledDates,\n        disabledDates = _this$props7.disabledDates,\n        validDate = _this$props7.validDate,\n        realTimeUpdate = _this$props7.realTimeUpdate,\n        calendarLocale = _this$props7.calendarLocale,\n        firstDayOfWeek = _this$props7.firstDayOfWeek,\n        onYearChange = _this$props7.onYearChange,\n        loading = _this$props7.loading,\n        other = _objectWithoutProperties(_this$props7, _excluded);\n      var showClear = this.props.showClear !== false;\n      var format = displayFormat || mask;\n      var formatType = !format && regionType === 1 ? 'date' : this.props.type;\n      var innerValue = this.state.inputValue || '';\n      if (this.state.value) {\n        var val = this.state.value.clone();\n        val.locale(valueLocale);\n        innerValue = this.state.showCalendar || document.activeElement === this.inputNode ? val.format(this.state.format) : (0, _formatUtil.formatDate)(val, format, formatType);\n      }\n      if (this.props.readOnly || this.props.disabled) {\n        innerValue = innerValue ? (0, _formatUtil.formatDate)(this.state.value, format, formatType) : noValue;\n        showClear = false;\n      }\n      var utc = timeZone;\n      var datePickerCls = (0, _classnames[\"default\"])(_DatePicker2[\"default\"].input, _defineProperty(_defineProperty({}, _DatePicker2[\"default\"]['input-strech-flat'], Object.is(theme, 'flat')), 'date-picker-input-focused', highlightWhenFocus && this.state.isFocus), (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink\n      }));\n      var inputCls = (0, _classnames[\"default\"])('kd-cq-input', _DatePicker2[\"default\"]['pr-18'], _defineProperty(_defineProperty(_defineProperty({}, \"\".concat(_baseComponent[\"default\"].disabled, \" disabled-fc\"), disabled && innerValue !== noValue), _baseComponent[\"default\"]['field-disabled-no-value-color'], disabled && innerValue === noValue), _DatePicker2[\"default\"]['lock-with-no-value'], lock && innerValue === noValue), _baseComponent[\"default\"].input, _baseComponent[\"default\"]['input-' + (theme || 'default')], _DatePicker2[\"default\"]['input-' + (theme || 'default')], this.props.className);\n      var events = this.props.readOnly || this.props.disabled ? {} : {\n        onBlur: this.handleBlur,\n        onFocus: this.openCalendar,\n        onChange: this.handleInputValueChange,\n        onKeyDown: this.handleKeyDown,\n        onKeyUp: this.handleKeyUp\n      };\n      var defaultIcon = (0, _defaultPropsUtil.getCommonFieldIcon)(this.props.type) || (0, _defaultPropsUtil.getCommonFieldIcon)(_customCtrlName[\"default\"].DATE);\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: datePickerCls,\n        \"data-base-ctrl\": true,\n        style: this.props.style,\n        ref: function ref(node) {\n          _this2.container = node;\n        },\n        onClick: this.openCalendar,\n        title: innerValue\n      }, disabled || !utc ? null : /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: disabled ? _DatePicker2[\"default\"].utcD : _DatePicker2[\"default\"].utc\n      }, utc), showClear && this.state.value && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        onClick: this.handleClearClick,\n        className: (0, _classnames[\"default\"])(_DatePicker2[\"default\"].close, 'kdfont', 'kdfont-guanbi8'),\n        style: clearIconStyle\n      }), !disabled && this.props.showIcon !== false && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_DatePicker2[\"default\"].icon, _defineProperty({\n          'kdfont kdfont-riqixuanze kd-cq-trigger-icon': !defaultIcon\n        }, defaultIcon, true)),\n        style: iconStyle\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n        id: this.props.ctrlKey,\n        ref: function ref(node) {\n          _this2.inputNode = node;\n        }\n      }, other, {\n        value: innerValue,\n        className: inputCls,\n        style: _objectSpread(_objectSpread({}, style), inputStyle),\n        readOnly: this.props.readOnly || this.props.disabled,\n        placeholder: this.props.disabled ? '' : this.props.placeholder,\n        \"data-locale\": this.props.valueLocale,\n        \"data-format\": this.props.mask,\n        autoComplete: \"off\"\n      }, events)), this.renderCalendar() // 渲染日期面板\n      );\n    }\n  }]);\n  return DatePicker;\n}(_react[\"default\"].Component);\nDatePicker.propTypes = {\n  style: _propTypes[\"default\"].object,\n  className: _propTypes[\"default\"].string,\n  disabled: _propTypes[\"default\"].bool,\n  Grow: _propTypes[\"default\"].number,\n  Shrink: _propTypes[\"default\"].number,\n  minDate: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].object, _propTypes[\"default\"].string]),\n  maxDate: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].object, _propTypes[\"default\"].string]),\n  mask: _propTypes[\"default\"].string,\n  // 掩码\n  displayFormat: _propTypes[\"default\"].string,\n  // 显示格式\n  unavailableDates: _propTypes[\"default\"].array,\n  // 不可选日期\n  availableDates: _propTypes[\"default\"].array,\n  // 可选日期\n  // 当用户输入不符合规范的数据的时候触发，不触发值改变事件\n  onError: _propTypes[\"default\"].func,\n  // 日期的值改变的时候触发(输出正确的日期)\n  onChange: _propTypes[\"default\"].func\n};\nDatePicker.defaultProps = {\n  // 多语言 默认中文\n  localeCode: 'zh_CN',\n  // dateFormat: 'YYYY-MM-DD',\n  // datetimeFormat: 'YYYY-MM-DD HH:mm:ss'\n  // 是否渲染到body， 默认为true\n  isAttachToBody: true\n};\nvar _default = exports[\"default\"] = DatePicker;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DatePicker.jsx?");

/***/ }),

/***/ "./src/component/web/base/DateRangePicker.jsx":
/*!****************************************************!*\
  !*** ./src/component/web/base/DateRangePicker.jsx ***!
  \****************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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.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.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.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.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.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.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.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.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 _moment = _interopRequireDefault(__webpack_require__(/*! moment */ \"../../node_modules/moment/moment.js\"));\nvar _reactDom = __webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\");\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _RangeCalendar = _interopRequireDefault(__webpack_require__(/*! ./DateTimePicker/calendar/RangeCalendar */ \"./src/component/web/base/DateTimePicker/calendar/RangeCalendar.js\"));\nvar _MonthRangeCalendar = _interopRequireDefault(__webpack_require__(/*! ./DateTimePicker/calendar/MonthRangeCalendar */ \"./src/component/web/base/DateTimePicker/calendar/MonthRangeCalendar.jsx\"));\nvar _YearRangeCalendar = _interopRequireDefault(__webpack_require__(/*! ./DateTimePicker/calendar/YearRangeCalendar */ \"./src/component/web/base/DateTimePicker/calendar/YearRangeCalendar.jsx\"));\nvar _PanelWrapper = _interopRequireDefault(__webpack_require__(/*! ../../common/PanelWrapper */ \"./src/component/common/PanelWrapper.js\"));\nvar _baseComponent = _interopRequireDefault(__webpack_require__(/*! ./baseComponent.less */ \"./src/component/web/base/baseComponent.less\"));\nvar _DateRangePicker = _interopRequireDefault(__webpack_require__(/*! ./DateRangePicker.less */ \"./src/component/web/base/DateRangePicker.less\"));\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar locale = _interopRequireWildcard(__webpack_require__(/*! ./DateTimePicker/locale */ \"./src/component/web/base/DateTimePicker/locale/index.js\"));\nvar _keyCode = __webpack_require__(/*! ../../../constant/keyCode */ \"./src/constant/keyCode.js\");\nvar _defaultPropsUtil = __webpack_require__(/*! @/util/defaultPropsUtil */ \"./src/util/defaultPropsUtil.js\");\nvar _customCtrlName = _interopRequireDefault(__webpack_require__(/*! @/constant/customCtrlName */ \"./src/constant/customCtrlName.js\"));\nvar _dateUtil = __webpack_require__(/*! @/util/dateUtil */ \"./src/util/dateUtil.js\");\nvar _lodash = __webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\");\nvar _excluded = [\"className\", \"clearIconStyle\", \"customRange\", \"dataFormat\", \"disabled\", \"displayFormat\", \"endOption\", \"firstDayOfWeek\", \"focusOpen\", \"format\", \"iconStyle\", \"inputProps\", \"isAttachToBody\", \"isDesigner\", \"isNoUnderLineLockStyle\", \"linkage\", \"localeCode\", \"lock\", \"jioner\", \"mask\", \"maxDate\", \"minDate\", \"noValue\", \"placeholder\", \"readOnly\", \"showClose\", \"showNow\", \"showTitle\", \"startMonth\", \"startOption\", \"style\", \"theme\", \"timeZone\", \"today\", \"type\", \"value\", \"valueLocale\", \"getPopupContainer\", \"onChange\", \"onError\", \"onKeyDown\"];\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 _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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); }\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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n// dataFormat-和后端规定的日期格式\nfunction DateRangePicker(_ref) {\n  var className = _ref.className,\n    clearIconStyle = _ref.clearIconStyle,\n    customRange = _ref.customRange,\n    _ref$dataFormat = _ref.dataFormat,\n    dataFormat = _ref$dataFormat === void 0 ? 'YYYY-MM-DD' : _ref$dataFormat,\n    disabled = _ref.disabled,\n    displayFormat = _ref.displayFormat,\n    endOption = _ref.endOption,\n    firstDayOfWeek = _ref.firstDayOfWeek,\n    focusOpen = _ref.focusOpen,\n    _ref$format = _ref.format,\n    format = _ref$format === void 0 ? 'YYYY-MM-DD' : _ref$format,\n    iconStyle = _ref.iconStyle,\n    _ref$inputProps = _ref.inputProps,\n    inputProps = _ref$inputProps === void 0 ? {} : _ref$inputProps,\n    _ref$isAttachToBody = _ref.isAttachToBody,\n    isAttachToBody = _ref$isAttachToBody === void 0 ? true : _ref$isAttachToBody,\n    isDesigner = _ref.isDesigner,\n    isNoUnderLineLockStyle = _ref.isNoUnderLineLockStyle,\n    _ref$linkage = _ref.linkage,\n    linkage = _ref$linkage === void 0 ? true : _ref$linkage,\n    _ref$localeCode = _ref.localeCode,\n    localeCode = _ref$localeCode === void 0 ? 'zh_CN' : _ref$localeCode,\n    lock = _ref.lock,\n    _ref$jioner = _ref.jioner,\n    jioner = _ref$jioner === void 0 ? '~' : _ref$jioner,\n    mask = _ref.mask,\n    maxDate = _ref.maxDate,\n    minDate = _ref.minDate,\n    _ref$noValue = _ref.noValue,\n    noValue = _ref$noValue === void 0 ? '' : _ref$noValue,\n    placeholder = _ref.placeholder,\n    readOnly = _ref.readOnly,\n    showClose = _ref.showClose,\n    showNow = _ref.showNow,\n    showTitle = _ref.showTitle,\n    startMonth = _ref.startMonth,\n    startOption = _ref.startOption,\n    style = _ref.style,\n    theme = _ref.theme,\n    timeZone = _ref.timeZone,\n    today = _ref.today,\n    type = _ref.type,\n    value = _ref.value,\n    _ref$valueLocale = _ref.valueLocale,\n    valueLocale = _ref$valueLocale === void 0 ? 'zh_CN' : _ref$valueLocale,\n    getPopupContainer = _ref.getPopupContainer,\n    onChange = _ref.onChange,\n    onError = _ref.onError,\n    onKeyDown = _ref.onKeyDown,\n    other = _objectWithoutProperties(_ref, _excluded);\n  format = format.replace(/y/g, 'Y').replace(/d/g, 'D');\n  // 今天 如果后端未传递则取系统的今天\n  var todayDate = (today ? (0, _moment[\"default\"])(today) : (0, _moment[\"default\"])()).locale(localeCode);\n  var initialViewValue = startMonth === 'lastMonth' ? [todayDate.clone().add(-1, 'months'), todayDate] : [todayDate, todayDate.clone().add(1, 'months')];\n  var _useState = (0, _react.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    open = _useState2[0],\n    setOpen = _useState2[1];\n  var trigger = (0, _react.useRef)(null);\n  var startDateInputRef = (0, _react.useRef)(null);\n  var endDateInputRef = (0, _react.useRef)(null);\n  var _useState3 = (0, _react.useState)(null),\n    _useState4 = _slicedToArray(_useState3, 2),\n    startDate = _useState4[0],\n    setStartDate = _useState4[1];\n  var _useState5 = (0, _react.useState)(null),\n    _useState6 = _slicedToArray(_useState5, 2),\n    endDate = _useState6[0],\n    setEndDate = _useState6[1];\n  // 输入框显示值\n  var _useState7 = (0, _react.useState)(''),\n    _useState8 = _slicedToArray(_useState7, 2),\n    startDateStr = _useState8[0],\n    setStartDateStr = _useState8[1];\n  var _useState9 = (0, _react.useState)(''),\n    _useState10 = _slicedToArray(_useState9, 2),\n    endDateStr = _useState10[0],\n    setEndDateStr = _useState10[1];\n\n  // 区分挂载阶段和更新阶段\n  var isMounted = (0, _react.useRef)(false);\n\n  // 初始化state\n  // 日历面板可视值\n  var _useState11 = (0, _react.useState)(initialViewValue),\n    _useState12 = _slicedToArray(_useState11, 2),\n    viewValue = _useState12[0],\n    setViewValue = _useState12[1];\n  // 日历面板选中值\n  var _useState13 = (0, _react.useState)(value),\n    _useState14 = _slicedToArray(_useState13, 2),\n    selectedValue = _useState14[0],\n    setSelectedValue = _useState14[1];\n  // 日历面板选中范围中的所有值\n  var _useState15 = (0, _react.useState)([]),\n    _useState16 = _slicedToArray(_useState15, 2),\n    hoverValue = _useState16[0],\n    setHoverValue = _useState16[1];\n  var _useState17 = (0, _react.useState)(true),\n    _useState18 = _slicedToArray(_useState17, 2),\n    typing = _useState18[0],\n    setTyping = _useState18[1];\n  var prevValueRef = (0, _react.useRef)([]);\n  var jumpToAnotherInputRef = (0, _react.useRef)(true);\n  var prevInputRef = (0, _react.useRef)(null);\n  var _useState19 = (0, _react.useState)(null),\n    _useState20 = _slicedToArray(_useState19, 2),\n    currentInput = _useState20[0],\n    setCurrentInput = _useState20[1];\n  var pickerType = !mask || mask.includes('D') ? 'day' : mask && mask.includes('M') && !mask.includes('D') ? 'month' : 'year';\n  var isSameValue = (0, _react.useCallback)(function () {\n    var _prevValueRef$current = _slicedToArray(prevValueRef.current, 2),\n      prevStart = _prevValueRef$current[0],\n      prevEnd = _prevValueRef$current[1];\n    if (!prevStart && !prevEnd && value[0] && value[1] || prevStart && prevStart.isSame(value[0]) && prevEnd && prevEnd.isSame(value[1])) {\n      if (value[0] && value[1]) {\n        var _format = open ? format : mask || displayFormat || format;\n        // 平铺视图会刷两次，一次value为空，一次有值，\n        var isNotSame = value[0].format(_format) !== startDateStr || value[1].format(_format) !== endDateStr;\n        if (isNotSame || !open) {\n          setStartDate(value[0]);\n          setEndDate(value[1]);\n          setStartDateStr(value[0].locale(valueLocale).format(_format));\n          setEndDateStr(value[1].locale(valueLocale).format(_format));\n        }\n      } else if (isNoValue(value) && !startDate && !endDate) {\n        if (disabled) {\n          setStartDateStr(noValue || '');\n          setEndDateStr(noValue || '');\n        } else {\n          // 从提交到撤销时，value仍为[]，所以需要重新设置下\n          setEndDateStr(function (str) {\n            return str === noValue ? '' : str;\n          });\n          setStartDateStr(function (str) {\n            return str === noValue ? '' : str;\n          });\n        }\n      }\n      _setViewValue(value[0], value[1]);\n      prevValueRef.current = (0, _lodash.cloneDeep)(value);\n      return true;\n    }\n    return false;\n  }, [value, valueLocale, mask, displayFormat, format, disabled, open]);\n  (0, _react.useEffect)(function () {\n    if (isSameValue()) {\n      return;\n    }\n    prevValueRef.current = (0, _lodash.cloneDeep)(value);\n    if (disabled && isNoValue(value)) {\n      setStartDate(null);\n      setEndDate(null);\n      setStartDateStr(noValue || '');\n      setEndDateStr(noValue || '');\n      return;\n    }\n    setStartDate(value[0]);\n    setEndDate(value[1]);\n    var getStr = function getStr(focusType, value) {\n      var dateFormat = mask || (currentInput === focusType ? format : displayFormat || format);\n      var result = value ? _moment[\"default\"].isMoment(value) && value.locale(valueLocale) ? value.format(dateFormat) : value : '';\n      return result;\n    };\n    var startStr = getStr('start', value[0]);\n    setStartDateStr(startStr);\n    var endStr = getStr('end', value[1]);\n    setEndDateStr(endStr);\n    if (value[0] && value[1]) {\n      _setViewValue(value[0], value[1]);\n    } else {\n      setViewValue(initialViewValue);\n    }\n  }, [disabled, value, valueLocale, format, displayFormat, isSameValue]);\n  (0, _react.useEffect)(function () {\n    if (isMounted.current) {\n      var showCalendarCallBack = other.showCalendarCallBack;\n      var timeString = (0, _dateUtil.getShowCalendarValue)(value, {\n        valueLocale: valueLocale,\n        localeCode: localeCode,\n        format: format\n      });\n      showCalendarCallBack && showCalendarCallBack(open, timeString);\n    } else {\n      isMounted.current = true;\n    }\n  }, [open]);\n  (0, _react.useEffect)(function () {\n    if (!open) {\n      setHoverValue([]);\n      var isSelectOnlyDate = startDate && !endDate || !startDate && endDate;\n      if (isSelectOnlyDate) {\n        updateValues(value[0], value[1]);\n      }\n    }\n  }, [open]);\n  var updateValue = function updateValue(newViewValue) {\n    var _newViewValue$, _newViewValue$2;\n    setViewValue([(_newViewValue$ = newViewValue[0]) === null || _newViewValue$ === void 0 ? void 0 : _newViewValue$.clone().locale(localeCode || valueLocale), (_newViewValue$2 = newViewValue[1]) === null || _newViewValue$2 === void 0 ? void 0 : _newViewValue$2.clone().locale(localeCode || valueLocale)]);\n  };\n  var updateHoverValue = function updateHoverValue(newHoverValue) {\n    var _document = document,\n      activeElement = _document.activeElement;\n    // 只选中一个日期的话， 保留 hover 值\n    if (activeElement === startDateInputRef.current && !endDate && newHoverValue[0]) {\n      setHoverValue([newHoverValue[0]]);\n      return;\n    }\n    if (activeElement === endDateInputRef.current && !startDate && newHoverValue[0]) {\n      setHoverValue([newHoverValue[0]]);\n      return;\n    }\n    setHoverValue(newHoverValue); // 更新移入值\n  };\n\n  /**\n   * 在日历面板选中值时触发\n   * @param {object}} newSelectedValue 选中值\n   * @returns\n   */\n  var updateSelectedValue = function updateSelectedValue(newSelectedDate) {\n    var locale = 'zh_CN';\n    var format = 'YYYY-MM-DD';\n    var str = newSelectedDate.clone().locale(locale).format(mask || format);\n    var displayStr = newSelectedDate.clone().locale(valueLocale).format(mask || displayFormat || format);\n    var nextFocusInputEle;\n    var newValue;\n    if (currentInput === 'start') {\n      setStartDate(newSelectedDate);\n      setStartDateStr(str);\n      setHoverValue([newSelectedDate]);\n      if (!endDate) {\n        setStartDateStr(displayStr);\n        endDateInputRef.current.focus();\n        jumpToAnotherInputRef.current = false;\n        return;\n      }\n      if (newSelectedDate.isAfter(endDate)) {\n        setStartDateStr(displayStr);\n        endDateInputRef.current.focus();\n        setEndDate(null);\n        setEndDateStr('');\n        jumpToAnotherInputRef.current = false;\n        return;\n      }\n      nextFocusInputEle = endDateInputRef.current;\n      newValue = [newSelectedDate.clone().locale('zh_CN'), endDate.clone().locale('zh_CN')];\n    }\n    if (currentInput === 'end') {\n      setEndDate(newSelectedDate);\n      setEndDateStr(str);\n      setHoverValue([newSelectedDate]);\n      if (!startDate) {\n        setEndDateStr(displayStr);\n        startDateInputRef.current.focus();\n        jumpToAnotherInputRef.current = false;\n        return;\n      }\n      if (newSelectedDate.isBefore(startDate)) {\n        setEndDateStr(displayStr);\n        startDateInputRef.current.focus();\n        setStartDate(null);\n        setStartDateStr('');\n        jumpToAnotherInputRef.current = false;\n        return;\n      }\n      nextFocusInputEle = startDateInputRef.current;\n      newValue = [startDate.clone().locale('zh_CN'), newSelectedDate.clone().locale('zh_CN')];\n    }\n    if (jumpToAnotherInputRef.current) {\n      var _nextFocusInputEle;\n      jumpToAnotherInputRef.current = false;\n      (_nextFocusInputEle = nextFocusInputEle) === null || _nextFocusInputEle === void 0 || _nextFocusInputEle.focus();\n    } else {\n      setOpen(false);\n      jumpToAnotherInputRef.current = true;\n    }\n    newValue && onChange(newValue);\n  };\n\n  /**\n   * 在日历面板选中一个值时触发\n   * 注意：选中其中一个日期，另一个为空时，焦点会去到另一个输入框，此时将焦点手动切换到已选的日期输入框，再选择新的日期的话，不会调用此方法，而是调用 onlySelectOneValue\n   * @param {object} date moment 对象\n   */\n  var updateSingleValue = function updateSingleValue(date) {\n    if (document.activeElement === startDateInputRef.current) {\n      if (endDate && endDate.isAfter(date)) {\n        updateSelectedValue([date, endDate]);\n      } else {\n        updateValues(date, null);\n        endDateInputRef.current.focus();\n      }\n    } else if (document.activeElement === endDateInputRef.current) {\n      if (startDate && startDate.isBefore(date)) {\n        updateSelectedValue([startDate, date]);\n      } else {\n        updateValues(null, date);\n        startDateInputRef.current.focus();\n      }\n    }\n  };\n\n  /**\n   * 更新选中值、开始日期、结束日期、悬停值\n   * @param {object} start 开始日期\n   * @param {object} end 结束日期\n   */\n  var updateValues = function updateValues(start, end) {\n    var localeStart = start && start.clone().locale(valueLocale);\n    var localeEnd = end && end.clone().locale(valueLocale);\n    setStartDate(localeStart);\n    setEndDate(localeEnd);\n    // 当 start 和 end 同时存在或者同时不存在时，清空 hover 值\n    setHoverValue(!start && end || start && !end ? [start, end] : []);\n    _setViewValue(localeStart, localeEnd);\n  };\n  var isNoValue = function isNoValue(value) {\n    if (!value) return true;\n    if (value.length === 0) return true;\n    if (!value[0] && !value[1]) return true;\n    // if (value.trim() === ',') return true\n    return false;\n  };\n  var createCalendar = function createCalendar() {\n    var localeData = (0, _dateUtil.getLocaleData)(localeCode, locale);\n    var _ref2 = hoverValue.length > 1 ? hoverValue.map(function (date) {\n        return date === null || date === void 0 ? void 0 : date.clone();\n      }) : [startDate === null || startDate === void 0 ? void 0 : startDate.clone(), endDate === null || endDate === void 0 ? void 0 : endDate.clone()],\n      _ref3 = _slicedToArray(_ref2, 2),\n      first = _ref3[0],\n      end = _ref3[1];\n    var count = first && end ? end.isBefore(first) ? _moment[\"default\"].duration(first.startOf('day').diff(end.startOf('day'))).asDays() + 1 : _moment[\"default\"].duration(end.startOf('day').diff(first.startOf('day'))).asDays() + 1 : 0;\n    localeData.countDate = count ? (0, _intlApi.getLangMsg)({\n      key: 'Datetime.key0003',\n      variables: {\n        count: Math.floor(count)\n      }\n    }) : '';\n    var format = mask || displayFormat;\n    var handleClose = function handleClose() {\n      if (!startDate || !endDate) {\n        var _value$, _value$2;\n        setStartDateStr(((_value$ = value[0]) === null || _value$ === void 0 ? void 0 : _value$.format(format)) || '');\n        setEndDateStr(((_value$2 = value[1]) === null || _value$2 === void 0 ? void 0 : _value$2.format(format)) || '');\n        setStartDate(value[0]);\n        setEndDate(value[1]);\n        setViewValue(initialViewValue);\n        setHoverValue([]);\n      } else {\n        onChange([startDate.clone().locale('zh_CN'), endDate.clone().locale('zh_CN')]);\n      }\n      setTimeout(function () {\n        setOpen(false);\n      }, 0);\n    };\n    var _startOption = startOption !== null && startOption !== void 0 ? startOption : {\n      disabledSuperNext: true,\n      disabledNext: true\n    };\n    var _endOption = endOption !== null && endOption !== void 0 ? endOption : {\n      disabledSuperPrev: true,\n      disabledPrev: true\n    };\n    var Calendar = pickerType === 'day' ? _RangeCalendar[\"default\"] : pickerType === 'month' ? _MonthRangeCalendar[\"default\"] : _YearRangeCalendar[\"default\"];\n    return /*#__PURE__*/(0, _reactDom.createPortal)( /*#__PURE__*/_react[\"default\"].createElement(_PanelWrapper[\"default\"], {\n      onClose: handleClose,\n      trigger: trigger.current\n    }, /*#__PURE__*/_react[\"default\"].createElement(Calendar, {\n      value: viewValue,\n      today: todayDate,\n      linkage: linkage,\n      locale: localeData,\n      customRange: customRange,\n      hoverValue: hoverValue,\n      updateValue: updateValue,\n      updateHoverValue: updateHoverValue,\n      updateSelectedValue: updateSelectedValue,\n      updateSingleValue: updateSingleValue,\n      selectedValue: [startDate, endDate],\n      isValidDate: isValidDate,\n      firstDayOfWeek: firstDayOfWeek,\n      direction: currentInput,\n      showNow: showNow,\n      startOption: _startOption,\n      endOption: _endOption\n    })), getPopupContainer && getPopupContainer() || (isAttachToBody ? document.body : trigger.current));\n  };\n  var isValidDate = function isValidDate(_ref4) {\n    var date = _ref4.curDate,\n      _ref4$type = _ref4.type,\n      type = _ref4$type === void 0 ? 'day' : _ref4$type;\n    date = _typeof(date) !== 'object' ? (0, _moment[\"default\"])(date) : date;\n    var momentMinDate = null;\n    var momentMaxDate = null;\n    // 最小值\n    if (minDate) {\n      momentMinDate = (0, _moment[\"default\"])(minDate);\n      if (!momentMinDate.isValid()) momentMinDate = null;\n    }\n\n    // 最大值\n    if (maxDate) {\n      momentMaxDate = (0, _moment[\"default\"])(maxDate);\n      if (!momentMaxDate.isValid()) momentMaxDate = null;\n    }\n\n    // 根据开始/结束日期做限制\n    if (startDate && endDate && value[0] && value[1]) {\n      // 已选日期进行修改\n      var _isPrevSelectedDateEqualToValue = isPrevSelectedDateEqualToValue();\n      if (_isPrevSelectedDateEqualToValue && currentInput === 'end' && date.isBefore(startDate, type)) return 0;\n      if (_isPrevSelectedDateEqualToValue && currentInput === 'start' && date.isAfter(endDate, type)) return 0;\n    }\n    if (startDate && !endDate && _moment[\"default\"].isMoment(startDate, type)) {\n      // 已选开始日期，且当前焦点仍处于开始日期时，开始日期的最小值为系统给定值\n      momentMinDate = momentMinDate && momentMinDate.isBefore(startDate, type) && currentInput === 'end' ? startDate : momentMinDate || startDate;\n    }\n    if (momentMinDate && date.isBefore(momentMinDate, type)) return 0;\n    if (!startDate && endDate && _moment[\"default\"].isMoment(endDate, type)) {\n      // 已选结束日期，且当前焦点仍处于结束日期时，结束日期的最大值为系统给定值\n      momentMaxDate = momentMaxDate && momentMaxDate.isAfter(endDate, type) && currentInput === 'start' ? endDate : momentMaxDate || endDate;\n    }\n    if (momentMaxDate && date.isAfter(momentMaxDate, type)) return 0;\n    return 1;\n  };\n  var onOperateKeyDown = function onOperateKeyDown(e) {\n    var updateHoverValueByKeyDown = function updateHoverValueByKeyDown(cb) {\n      var dateValues = hoverValue.length === 0 ? selectedValue.length > 0 ? [selectedValue[0].clone()] : [today.clone()] : hoverValue;\n      var newHoverValue = dateValues.length === 1 ? [cb(dateValues[0])] : [dateValues[0], cb(dateValues[1])];\n      updateHoverValue(newHoverValue);\n      !newHoverValue[0].isSame(newHoverValue[1], 'month') && updateValue(newHoverValue);\n    };\n    switch (e.keyCode) {\n      case _keyCode.KEYS.ARROWLEFT:\n        e.preventDefault();\n        e.stopPropagation();\n        updateHoverValueByKeyDown(function (date) {\n          return date.clone().add(-1, 'day');\n        });\n        break;\n      case _keyCode.KEYS.ARROWUP:\n        e.preventDefault();\n        e.stopPropagation();\n        updateHoverValueByKeyDown(function (date) {\n          return date.clone().add(-7, 'day');\n        });\n        break;\n      case _keyCode.KEYS.ARROWRIGHT:\n        e.preventDefault();\n        e.stopPropagation();\n        updateHoverValueByKeyDown(function (date) {\n          return date.clone().add(1, 'day');\n        });\n        break;\n      case _keyCode.KEYS.ARROWDOWN:\n        e.preventDefault();\n        e.stopPropagation();\n        updateHoverValueByKeyDown(function (date) {\n          return date.clone().add(7, 'day');\n        });\n        break;\n      default:\n        break;\n    }\n  };\n  var setInputtingValue = function setInputtingValue(isInputting, evt) {\n    var locale = 'zh_CN';\n    var format = mask || 'YYYY-MM-DD';\n    if (evt.target === startDateInputRef.current && startDate) {\n      var str = startDate.locale(locale).format(format);\n      str !== startDateStr && setStartDateStr(str);\n    } else if (evt.target === endDateInputRef.current && endDate) {\n      var _str = endDate.locale(locale).format(format);\n      _str !== endDateStr && setEndDateStr(_str);\n    }\n  };\n  var _handleKeyDown = (0, _react.useCallback)(function (evt, shouldUpdateViewValue) {\n    var _momentObj, _momentObj2;\n    var newValue = evt.target.value;\n    var momentObj = (0, _dateUtil.getMomentObj)(newValue, mask) || (0, _dateUtil.getMomentObj)(newValue, displayFormat);\n    if (momentObj) {\n      newValue = momentObj.format(dataFormat);\n    }\n    momentObj = (0, _dateUtil.getFormattedValue)({\n      value: newValue,\n      format: mask,\n      locale: valueLocale,\n      appendZero: true\n    });\n    var isMomentValid = (_momentObj = momentObj) === null || _momentObj === void 0 ? void 0 : _momentObj.isValid();\n    if (!isMomentValid) return;\n    if (minDate && maxDate && !((_momentObj2 = momentObj) !== null && _momentObj2 !== void 0 && _momentObj2.isBetween(minDate, maxDate, undefined, '[]'))) {\n      reset();\n      return;\n    }\n    if (pickerType !== 'day') {\n      var momentFn = currentInput === 'start' ? 'startOf' : 'endOf';\n      momentObj = momentObj[momentFn](pickerType);\n    }\n    updateSelectedValue(momentObj);\n  }, [mask, valueLocale, startDate, endDate, minDate, maxDate, currentInput]);\n  var handleFocus = function handleFocus(evt) {\n    if (disabled || readOnly) return;\n    if (evt.target === startDateInputRef.current) {\n      setCurrentInput('start');\n    } else if (evt.target === endDateInputRef.current) {\n      setCurrentInput('end');\n    }\n    // hasBeenClickedRef.current = true\n    if (focusOpen && !open) {\n      jumpToAnotherInputRef.current = true;\n      prevInputRef.current = null;\n      setOpen(true);\n    }\n\n    // 修改值的情况，当值相等时，不用再往回跳\n    if (isPrevSelectedDateEqualToValue()) {\n      jumpToAnotherInputRef.current = false;\n    }\n    setInputtingValue(true, evt);\n    onError && onError(true);\n  };\n  var handleBlur = function handleBlur(evt) {\n    if (!prevInputRef.current) {\n      prevInputRef.current = currentInput;\n    }\n    setCurrentInput(null);\n  };\n  var handleChange = function handleChange(evt) {\n    if (disabled || readOnly) return;\n    var value = evt.target.value;\n\n    // 手动输入值的话，根据展示的字符串格式判定\n    // 符合展示的格式且日期有效的话，才会设置选中\n    // const expressions = generateRegExp(mask)\n    var date = (0, _dateUtil.getFormattedValue)({\n      value: value,\n      format: mask,\n      locale: localeCode\n    });\n    if (evt.target === startDateInputRef.current) {\n      var _date;\n      setStartDateStr(value);\n      // if (!expressions.find(exp => exp.test(value))) return\n      if (!((_date = date) !== null && _date !== void 0 && _date.isValid()) || endDate && date.isAfter(endDate) || maxDate && date.isAfter(maxDate) || minDate && date.isBefore(minDate)) {\n        return;\n      }\n      if (pickerType !== 'date') {\n        date = date.clone().startOf(pickerType);\n      }\n      updateValues(date, endDate);\n    }\n    if (evt.target === endDateInputRef.current) {\n      var _date2;\n      setEndDateStr(value);\n      if (!((_date2 = date) !== null && _date2 !== void 0 && _date2.isValid()) || startDate && date.isBefore(startDate) || maxDate && date.isAfter(maxDate) || minDate && date.isBefore(minDate)) {\n        return;\n      }\n      if (pickerType !== 'date') {\n        date = date.clone().endOf(pickerType);\n      }\n      updateValues(startDate, date);\n    }\n  };\n  var handleKeyDown = function handleKeyDown(evt) {\n    if (disabled || readOnly) return;\n    switch (evt.keyCode) {\n      case _keyCode.KEYS.ARROWDOWN:\n        open && typing && setTyping(false);\n        break;\n      case _keyCode.KEYS.ESCAPE:\n        setOpen(false);\n        setTyping(true);\n        // onChange(value)\n        return;\n      case _keyCode.KEYS.TAB:\n      case _keyCode.KEYS.ENTER:\n        evt.preventDefault();\n        evt.stopPropagation();\n        if (typing) {\n          _handleKeyDown(evt);\n        }\n        break;\n      default:\n        break;\n    }\n    if (!open) {\n      jumpToAnotherInputRef.current = true;\n      prevInputRef.current = null;\n      setOpen(true);\n    }\n    !typing && onOperateKeyDown(evt);\n    onKeyDown && onKeyDown(evt);\n  };\n  var handleIconClick = function handleIconClick(evt) {\n    var _startDateInputRef$cu, _startDateInputRef$cu2;\n    if (disabled || readOnly) return;\n    (_startDateInputRef$cu = (_startDateInputRef$cu2 = startDateInputRef.current).focus) === null || _startDateInputRef$cu === void 0 || _startDateInputRef$cu.call(_startDateInputRef$cu2);\n    jumpToAnotherInputRef.current = true;\n  };\n  var handleClick = function handleClick(e) {\n    var _startDateInputRef$cu3, _startDateInputRef$cu4;\n    // 在 PannelWrapper 中使用时，由于 PanelWrapper 拦截了 mousedown 事件，导致 input 的 focus 不会触发\n    // 在此手动触发一次 focus\n    if (disabled || readOnly) return;\n    if ([startDateInputRef.current, endDateInputRef.current].includes(e.target) && open) {\n      var _e$target$focus, _e$target;\n      (_e$target$focus = (_e$target = e.target).focus) === null || _e$target$focus === void 0 || _e$target$focus.call(_e$target);\n      return;\n    }\n    prevInputRef.current = null;\n    setOpen(!open);\n    if (document.activeElement === endDateInputRef.current) return;\n    (_startDateInputRef$cu3 = (_startDateInputRef$cu4 = startDateInputRef.current).focus) === null || _startDateInputRef$cu3 === void 0 || _startDateInputRef$cu3.call(_startDateInputRef$cu4);\n  };\n  var handleClear = function handleClear(e) {\n    e.stopPropagation();\n    onChange([]);\n    setHoverValue([]);\n    setOpen(false);\n  };\n  var reset = function reset() {\n    var start = value[0] || null;\n    var end = value[1] || null;\n    setStartDate(start);\n    setEndDate(end);\n    setStartDateStr((start === null || start === void 0 ? void 0 : start.format(mask || displayFormat)) || '');\n    setEndDateStr((end === null || end === void 0 ? void 0 : end.format(mask || displayFormat)) || '');\n    setViewValue(initialViewValue);\n  };\n  var _setViewValue = function _setViewValue(start, end) {\n    var _ref5, _ref6;\n    var leftDate = (_ref5 = start || viewValue[0]) === null || _ref5 === void 0 ? void 0 : _ref5.clone().locale(localeCode || valueLocale);\n    var rightDate = (_ref6 = end || viewValue[1]) === null || _ref6 === void 0 ? void 0 : _ref6.clone().locale(localeCode || valueLocale);\n    if (!leftDate && !rightDate) return;\n    if (leftDate.isSame(rightDate, 'month') && (!mask || mask.includes('D'))) {\n      setViewValue([leftDate, leftDate.clone().add(1, 'month')]);\n      return;\n    }\n\n    // 月份范围\n    if (leftDate.isSame(rightDate, 'year') && !(mask !== null && mask !== void 0 && mask.includes('D')) && mask !== null && mask !== void 0 && mask.includes('M')) {\n      setViewValue([leftDate, leftDate.clone().add(1, 'year')]);\n      return;\n    }\n    setViewValue([leftDate, rightDate]);\n  };\n\n  // 判读上一个选择的值是否等同于value，如果相等，则在修改已选值的时候不用往回跳，并且需要设置禁用的日期\n  var isPrevSelectedDateEqualToValue = function isPrevSelectedDateEqualToValue() {\n    if (prevInputRef.current === 'end') return endDate && endDate.isSame(value[1], type);\n    if (prevInputRef.current === 'start') return startDate && startDate.isSame(value[0], type);\n    return false;\n  };\n  var inputExtraProps = inputProps || {};\n  var inputStyle = Object.assign({}, style, inputProps.style || {}, {\n    flexGrow: 1,\n    border: 'none'\n  });\n  inputExtraProps.placeholder = disabled ? '' : placeholder;\n  var inputClz = (0, _classnames[\"default\"])(_baseComponent[\"default\"].input, _baseComponent[\"default\"]['input-' + (theme || 'default')], inputProps.className, _defineProperty(_defineProperty({}, _baseComponent[\"default\"].disabled, disabled), _baseComponent[\"default\"]['field-disabled-no-value-color'], disabled));\n  var startInputContainerClz = (0, _classnames[\"default\"])(_DateRangePicker[\"default\"]['input-container'], {\n    'daterange-input-bottom-border': currentInput === 'start'\n  });\n  var startInputClz = (0, _classnames[\"default\"])('kd-cq-input', inputClz, _DateRangePicker[\"default\"]['start-input'], _defineProperty({}, _DateRangePicker[\"default\"]['lock-with-no-value'], lock && startDateStr === noValue));\n  var endInputContainerClz = (0, _classnames[\"default\"])(_DateRangePicker[\"default\"]['input-container'], {\n    'daterange-input-bottom-border': currentInput === 'end'\n  });\n  var endInputClz = (0, _classnames[\"default\"])('kd-cq-input', inputClz, _DateRangePicker[\"default\"]['end-input'], _defineProperty({}, _DateRangePicker[\"default\"]['lock-with-no-value'], lock && endDateStr === noValue));\n  var title = startDate && endDate ? \"\".concat(startDateStr, \"~\").concat(endDateStr) : '';\n  var inputEvents = !disabled && {\n    onFocus: handleFocus,\n    onBlur: handleBlur,\n    onChange: handleChange,\n    onKeyDown: handleKeyDown\n  };\n  var defaultIcon = (0, _defaultPropsUtil.getCommonFieldIcon)(_customCtrlName[\"default\"].DATE);\n  if (lock && startDateStr === noValue && endDateStr === noValue) {\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _DateRangePicker[\"default\"]['lock-with-no-value'],\n      \"data-base-ctrl\": \"true\"\n    }, noValue);\n  }\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_DateRangePicker[\"default\"]['range-container'], className),\n    style: style,\n    ref: trigger,\n    \"data-base-ctrl\": true,\n    title: title,\n    onClick: handleClick\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: startInputContainerClz\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n    ref: startDateInputRef,\n    style: inputStyle\n  }, other, {\n    disabled: disabled,\n    readOnly: readOnly || !typing\n  }, inputEvents, inputExtraProps, {\n    value: startDateStr,\n    className: startInputClz\n  }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _DateRangePicker[\"default\"]['date-range-joiner']\n  }, jioner), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: endInputContainerClz\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n    ref: endDateInputRef,\n    style: inputStyle\n  }, other, {\n    disabled: disabled,\n    readOnly: readOnly || !typing\n  }, inputEvents, inputExtraProps, {\n    value: endDateStr,\n    className: endInputClz\n  }))), showClose && !isNoValue(value) && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    onClick: handleClear,\n    className: (0, _classnames[\"default\"])(_DateRangePicker[\"default\"].close, 'kdfont kdfont-guanbi8'),\n    style: clearIconStyle\n  }), !disabled && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: (0, _classnames[\"default\"])(_DateRangePicker[\"default\"].icon, 'theme hover-theme-fc-icon', _defineProperty({\n      'kdfont kdfont-riqixuanze kd-cq-trigger-icon': !defaultIcon\n    }, defaultIcon, true)),\n    style: iconStyle,\n    onClick: handleIconClick\n  }), open && createCalendar());\n}\nvar _default = exports[\"default\"] = DateRangePicker;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateRangePicker.jsx?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/calendar/CalendarFooter.js":
/*!**************************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/calendar/CalendarFooter.js ***!
  \**************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _index = _interopRequireDefault(__webpack_require__(/*! ../styles/index.less */ \"./src/component/web/base/DateTimePicker/styles/index.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction CalendarFooter(_ref) {\n  var children = _ref.children;\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_index[\"default\"]['calendar-footer'])\n  }, children);\n}\nvar _default = exports[\"default\"] = CalendarFooter;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/calendar/CalendarFooter.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/calendar/CalendarHeader.js":
/*!**************************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/calendar/CalendarHeader.js ***!
  \**************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\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 _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _dateUtil = __webpack_require__(/*! @/util/dateUtil */ \"./src/util/dateUtil.js\");\nvar _index = _interopRequireDefault(__webpack_require__(/*! ../styles/index.less */ \"./src/component/web/base/DateTimePicker/styles/index.less\"));\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\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); }\nfunction CalendarHeader(props) {\n  var disabledSuperPrev = props.disabledSuperPrev,\n    value = props.value,\n    mode = props.mode,\n    _props$showPrev = props.showPrev,\n    showPrev = _props$showPrev === void 0 ? true : _props$showPrev,\n    _props$showSuperPrev = props.showSuperPrev,\n    showSuperPrev = _props$showSuperPrev === void 0 ? true : _props$showSuperPrev,\n    _props$showNext = props.showNext,\n    showNext = _props$showNext === void 0 ? true : _props$showNext,\n    _props$showSuperNext = props.showSuperNext,\n    showSuperNext = _props$showSuperNext === void 0 ? true : _props$showSuperNext,\n    locale = props.locale,\n    showNow = props.showNow,\n    titleElement = props.titleElement,\n    onNowClick = props.onNowClick,\n    onTypeChange = props.onTypeChange,\n    onValueChange = props.onValueChange,\n    onYearRangeChange = props.onYearRangeChange,\n    onMonthRangeChange = props.onMonthRangeChange,\n    renderHeaderComponent = props.renderHeaderComponent;\n  var renderTitleEl = function renderTitleEl(locale, date, mode) {\n    var isDate = mode === 'day';\n    var isMonth = mode === 'month';\n    var isYear = mode === 'year';\n    var handleMonthClick = function handleMonthClick() {\n      return onTypeChange && onTypeChange('month');\n    };\n    var month = /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n      style: {\n        padding: '0 2px'\n      },\n      onClick: handleMonthClick\n    }, date.clone().format('MMM'));\n    var handleYearClick = function handleYearClick() {\n      return onTypeChange && onTypeChange('year');\n    };\n    var year = /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n      style: {\n        padding: '0 2px'\n      },\n      onClick: handleYearClick\n    }, date.format(locale.yearFormat));\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: (0, _classnames2[\"default\"])(_index[\"default\"]['calendar-header-title'], 'calendar-header-hover')\n    }, isDate ? locale.monthBeforeYear && isDate ? month : year : null, isDate ? locale.monthBeforeYear && isDate ? year : month : null, isMonth && (titleElement || year), isYear && titleElement);\n  };\n  var setDate = mode === 'day' ? function (data, direction) {\n    return data.add(direction, 'months');\n  } : mode === 'month' ? function (data, direction) {\n    return data.add(direction, 'years');\n  } : mode === 'year' ? function (data, direction) {\n    return data.add(direction, 'years');\n  } : null;\n  var onChange = function onChange(direction) {\n    if (mode === 'year') {\n      onYearRangeChange === null || onYearRangeChange === void 0 || onYearRangeChange(direction);\n      return;\n    } else if (mode === 'month') {\n      onMonthRangeChange === null || onMonthRangeChange === void 0 || onMonthRangeChange(direction);\n      return;\n    }\n    var selected = setDate === null || setDate === void 0 ? void 0 : setDate(value.clone(), direction);\n    selected && (onValueChange === null || onValueChange === void 0 ? void 0 : onValueChange(selected));\n  };\n  var handleSuperPrevClick = function handleSuperPrevClick() {\n    if (disabledSuperPrev) return;\n    var diff = mode === 'month' ? -1 : -12;\n    onChange(diff);\n  };\n  var handleSuperNextClick = function handleSuperNextClick() {\n    var diff = mode === 'month' ? 1 : 12;\n    onChange(diff);\n  };\n  var handleNowClick = function handleNowClick() {\n    onNowClick === null || onNowClick === void 0 || onNowClick();\n  };\n  var superPreCls = (0, _classnames2[\"default\"])('kdfont kdfont-qianfanshuangjiantou rdt-pre', _index[\"default\"]['calendar-header-super-prev'], {\n    'btn-disabled': disabledSuperPrev\n  });\n  var preCls = (0, _classnames2[\"default\"])('kdfont kdfont-shangyiyue rdt-pre', _index[\"default\"]['calendar-header-prev']);\n  var nextCls = (0, _classnames2[\"default\"])('kdfont kdfont-xiayiyue rdt-next', _index[\"default\"]['calendar-header-next']);\n  var superNextCls = (0, _classnames2[\"default\"])('kdfont kdfont-houfanshuangjiantou rdt-next', _index[\"default\"]['calendar-header-super-next']);\n  var todayCls = (0, _classnames2[\"default\"])('kdfont kdfont-dangqian2 rdt-now', _index[\"default\"]['calendar-header-now']);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames2[\"default\"])('kd-cq-date-picker-header', _index[\"default\"]['calendar-header'], _defineProperty({}, _index[\"default\"].showNow, showNow))\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: superPreCls,\n    style: !showSuperPrev ? {\n      visibility: 'hidden'\n    } : null,\n    onClick: handleSuperPrevClick\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: preCls,\n    style: !showPrev ? {\n      visibility: 'hidden'\n    } : null,\n    onClick: function onClick() {\n      return onChange(-1);\n    }\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['calendar-header-title-container']\n  }, renderTitleEl(locale, value, mode)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: nextCls,\n    style: !showNext ? {\n      visibility: 'hidden'\n    } : null,\n    onClick: function onClick() {\n      return onChange(1);\n    }\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: superNextCls,\n    style: !showSuperNext ? {\n      visibility: 'hidden'\n    } : null,\n    onClick: handleSuperNextClick\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: todayCls,\n    onClick: handleNowClick,\n    title: (0, _intlApi.getLangMsg)('Date.key0028')\n  })), renderHeaderComponent ? renderHeaderComponent() : null);\n}\nvar _default = exports[\"default\"] = CalendarHeader;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/calendar/CalendarHeader.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/calendar/DateCalendar.js":
/*!************************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/calendar/DateCalendar.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.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.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.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.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.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.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.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 _YearCalendar = _interopRequireDefault(__webpack_require__(/*! ./YearCalendar */ \"./src/component/web/base/DateTimePicker/calendar/YearCalendar.js\"));\nvar _MonthCalendar = _interopRequireDefault(__webpack_require__(/*! ./MonthCalendar.jsx */ \"./src/component/web/base/DateTimePicker/calendar/MonthCalendar.jsx\"));\nvar _CalendarHeader = _interopRequireDefault(__webpack_require__(/*! ./CalendarHeader */ \"./src/component/web/base/DateTimePicker/calendar/CalendarHeader.js\"));\nvar _CalendarFooter = _interopRequireDefault(__webpack_require__(/*! ./CalendarFooter */ \"./src/component/web/base/DateTimePicker/calendar/CalendarFooter.js\"));\nvar _DateTable = _interopRequireDefault(__webpack_require__(/*! ../date/DateTable */ \"./src/component/web/base/DateTimePicker/date/DateTable.js\"));\nvar _DateInput = _interopRequireDefault(__webpack_require__(/*! ../date/DateInput */ \"./src/component/web/base/DateTimePicker/date/DateInput.js\"));\nvar _OKButton = _interopRequireDefault(__webpack_require__(/*! ../calendar/OKButton */ \"./src/component/web/base/DateTimePicker/calendar/OKButton.js\"));\nvar _TimeHead = _interopRequireDefault(__webpack_require__(/*! ../time/TimeHead */ \"./src/component/web/base/DateTimePicker/time/TimeHead.js\"));\nvar _TimeSelect = _interopRequireDefault(__webpack_require__(/*! ../time/TimeSelect */ \"./src/component/web/base/DateTimePicker/time/TimeSelect.js\"));\nvar _index = _interopRequireDefault(__webpack_require__(/*! ../styles/index.less */ \"./src/component/web/base/DateTimePicker/styles/index.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 _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 _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); }\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 DateCalendar(props) {\n  var direction = props.direction,\n    type = props.type,\n    value = props.value,\n    selectedValue = props.selectedValue,\n    today = props.today,\n    prevMonthDateDisable = props.prevMonthDateDisable,\n    nextMonthDateDisable = props.nextMonthDateDisable,\n    _props$showInput = props.showInput,\n    showInput = _props$showInput === void 0 ? true : _props$showInput,\n    showNext = props.showNext,\n    showPrev = props.showPrev,\n    format = props.format,\n    locale = props.locale,\n    localeCode = props.localeCode,\n    showTimePicker = props.showTimePicker,\n    showFooter = props.showFooter,\n    isValidDate = props.isValidDate,\n    clearDateTime = props.clearDateTime,\n    confirmDateTime = props.confirmDateTime,\n    updateValue = props.updateValue,\n    updateSelectValue = props.updateSelectValue,\n    firstDayOfWeek = props.firstDayOfWeek,\n    showNow = props.showNow,\n    handleDateHover = props.onHover,\n    hoverValue = props.hoverValue,\n    handleDateLeave = props.onLeave,\n    updatePanelType = props.onPanelTypeChange;\n  var panelRef = (0, _react.useRef)();\n  var _useState = (0, _react.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    disabledTime = _useState2[0],\n    setDisabledTime = _useState2[1];\n  var _useState3 = (0, _react.useState)('date'),\n    _useState4 = _slicedToArray(_useState3, 2),\n    panelType = _useState4[0],\n    setPanelType = _useState4[1];\n  var returnPaneType = (0, _react.useRef)('date');\n  var isValidFalse = function isValidFalse() {\n    return false;\n  };\n  var inputValue = selectedValue && !Array.isArray(selectedValue) ? selectedValue.format(format) : '';\n  var handleTypeChange = function handleTypeChange(type) {\n    if (type === 'year' && panelType === 'month') {\n      returnPaneType.current = 'month';\n    } else {\n      returnPaneType.current = 'date';\n    }\n    setPanelType(type);\n    updatePanelType === null || updatePanelType === void 0 || updatePanelType(type);\n  };\n  var updateDate = function updateDate(newValue) {\n    if (type === 'date') {\n      updateSelectValue(newValue);\n    } else if (type === 'datetime') {\n      updateSelectValue(newValue, !showTimePicker && !showFooter);\n    }\n  };\n  var updateYear = function updateYear(newValue) {\n    returnPaneType.current === 'month' ? setPanelType('month') : setPanelType('date');\n    returnPaneType.current = 'date';\n    updatePanelType === null || updatePanelType === void 0 || updatePanelType(type);\n    updateValue(newValue);\n  };\n  var updateMonth = function updateMonth(newValue) {\n    setPanelType('date');\n    updatePanelType === null || updatePanelType === void 0 || updatePanelType(type);\n    returnPaneType.current = 'date';\n    updateValue(newValue);\n  };\n  var handleNowClick = function handleNowClick() {\n    var val = today.clone();\n    if (Array.isArray(selectedValue)) {\n      var time = direction === 'left' ? selectedValue[0] : selectedValue[1];\n      if (time) {\n        val.set({\n          hour: time.hour(),\n          second: time.second(),\n          minute: time.minute()\n        });\n      }\n    }\n    showNow && updateValue(val);\n  };\n  var _selectedValue = Array.isArray(selectedValue) ? selectedValue[direction === 'left' ? 0 : 1] : selectedValue;\n  var isOkButtonDisabled = !_selectedValue;\n  var isTimeDisabled = function isTimeDisabled(time, type) {\n    return isValidDate({\n      curDate: value.clone().set(type, time)\n    });\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames2[\"default\"])(_index[\"default\"].calendar, 'kd-cq-dropdown kd-cq-dropdown-date-type'),\n    ref: panelRef\n  }, panelType === 'date' && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['calendar-panel']\n  }, showInput && /*#__PURE__*/_react[\"default\"].createElement(_DateInput[\"default\"], {\n    format: format,\n    locale: locale,\n    value: inputValue,\n    type: showTimePicker ? 'datetime' : 'date',\n    onChange: function onChange(newDate) {\n      updateSelectValue(newDate.locale(localeCode));\n    }\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['calendar-content']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['calendar-date-panel']\n  }, /*#__PURE__*/_react[\"default\"].createElement(_CalendarHeader[\"default\"], {\n    mode: \"day\",\n    locale: locale,\n    type: type,\n    value: value.clone(),\n    showNext: showNext,\n    showPrev: showPrev,\n    showNow: showNow,\n    onNowClick: handleNowClick,\n    onValueChange: updateValue,\n    onTypeChange: handleTypeChange\n  }), /*#__PURE__*/_react[\"default\"].createElement(_DateTable[\"default\"], {\n    value: value.clone(),\n    hoverValue: hoverValue,\n    selectedValue: selectedValue,\n    today: today,\n    isValidDate: isValidDate || isValidFalse,\n    onSelect: updateDate,\n    firstDayOfWeek: firstDayOfWeek,\n    onHover: handleDateHover,\n    onLeave: handleDateLeave,\n    prevMonthDateDisable: prevMonthDateDisable,\n    nextMonthDateDisable: nextMonthDateDisable\n  })), showTimePicker && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames2[\"default\"])(_index[\"default\"]['calendar-time-panel'], 'kd-cq-date-picker-time', _defineProperty({}, _index[\"default\"]['calendar-time-panel-disabled'], disabledTime))\n  }, /*#__PURE__*/_react[\"default\"].createElement(_TimeHead[\"default\"], {\n    value: value.clone() || today.clone(),\n    format: format\n  }), /*#__PURE__*/_react[\"default\"].createElement(_TimeSelect[\"default\"], {\n    value: value.clone() || today.clone(),\n    format: format,\n    isValid: isTimeDisabled,\n    updateTime: function updateTime(newValue) {\n      return updateSelectValue(newValue, true);\n    }\n  }))), showFooter && /*#__PURE__*/_react[\"default\"].createElement(_CalendarFooter[\"default\"], {\n    locale: locale,\n    onClear: clearDateTime,\n    onConfirm: confirmDateTime\n  }, /*#__PURE__*/_react[\"default\"].createElement(_OKButton[\"default\"], {\n    locale: locale,\n    onClick: confirmDateTime,\n    disabled: isOkButtonDisabled\n  }))), panelType === 'month' && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['calendar-month-panel']\n  }, /*#__PURE__*/_react[\"default\"].createElement(_MonthCalendar[\"default\"], _extends({}, props, {\n    selectedValue: _selectedValue,\n    updateSelectValue: updateMonth,\n    onTypeChange: handleTypeChange\n  }))), panelType === 'year' && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['calendar-year-panel']\n  }, /*#__PURE__*/_react[\"default\"].createElement(_YearCalendar[\"default\"], _extends({}, props, {\n    selectedValue: _selectedValue,\n    updateSelectValue: updateYear\n  }))));\n}\nvar _default = exports[\"default\"] = DateCalendar;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/calendar/DateCalendar.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/calendar/MonthCalendar.jsx":
/*!**************************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/calendar/MonthCalendar.jsx ***!
  \**************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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-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.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.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.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.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _moment = _interopRequireDefault(__webpack_require__(/*! moment */ \"../../node_modules/moment/moment.js\"));\nvar _CalendarHeader = _interopRequireDefault(__webpack_require__(/*! ./CalendarHeader */ \"./src/component/web/base/DateTimePicker/calendar/CalendarHeader.js\"));\nvar _MonthPanel = _interopRequireDefault(__webpack_require__(/*! ../month/MonthPanel */ \"./src/component/web/base/DateTimePicker/month/MonthPanel.js\"));\nvar _YearCalendar = _interopRequireDefault(__webpack_require__(/*! ./YearCalendar */ \"./src/component/web/base/DateTimePicker/calendar/YearCalendar.js\"));\nvar _dateUtil = __webpack_require__(/*! @/util/dateUtil */ \"./src/util/dateUtil.js\");\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _index = _interopRequireDefault(__webpack_require__(/*! ../styles/index.less */ \"./src/component/web/base/DateTimePicker/styles/index.less\"));\nvar _langUtil = __webpack_require__(/*! @/util/langUtil */ \"./src/util/langUtil.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 _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; } /**\n * 月份选择面板\n */\nfunction MonthCalendar(props) {\n  var _value$_locale;\n  var value = props.value,\n    locale = props.locale,\n    selectedValue = props.selectedValue,\n    today = props.today,\n    style = props.style,\n    isValidDate = props.isValidDate,\n    onTypeChange = props.onTypeChange,\n    updateValue = props.updateValue,\n    updateSelectValue = props.updateSelectValue;\n  var _useState = (0, _react.useState)('month'),\n    _useState2 = _slicedToArray(_useState, 2),\n    panelType = _useState2[0],\n    setPanelType = _useState2[1];\n  var _useState3 = (0, _react.useState)(value.year()),\n    _useState4 = _slicedToArray(_useState3, 2),\n    year = _useState4[0],\n    setYear = _useState4[1];\n  var handleTypeChange = function handleTypeChange(type) {\n    if (onTypeChange) {\n      return onTypeChange(type);\n    }\n    setPanelType(type);\n  };\n  var isValid = function isValid(month) {\n    var curDate = value.clone().set({\n      year: year,\n      month: month,\n      date: 1\n    });\n    if (isValidDate) return isValidDate({\n      curDate: curDate,\n      type: 'month'\n    });\n    return true;\n  };\n  var handleSelect = function handleSelect(month) {\n    var newDate = (value || today).clone().year(year).month(month);\n    updateSelectValue(newDate);\n  };\n  var updateYear = function updateYear(newValue) {\n    updateValue(newValue);\n    setYear(newValue.year());\n    setPanelType('month');\n  };\n  var handleMonthRangeChange = function handleMonthRangeChange(diff) {\n    setYear(year + diff);\n  };\n  var isToday = function isToday(index) {\n    var now = (0, _moment[\"default\"])();\n    return year === now.year() && index === now.month();\n  };\n  var titleElement = /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n    onClick: function onClick() {\n      return handleTypeChange('year');\n    }\n  }, \"\".concat(year));\n  var defaultLang = (0, _langUtil.getDefaultLangUtil)();\n  var localMonth = value !== null && value !== void 0 && (_value$_locale = value._locale) !== null && _value$_locale !== void 0 && _value$_locale._monthsShorts ? value._locale._monthsShorts : value._locale._monthsShort || value.clone().locale(defaultLang)._locale._monthsShorts || value.clone().locale('zh_CN')._locale._monthsShorts || [];\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])('kd-cq-dropdown kd-cq-dropdown-date-type kd-cq-dropdown-no-border', _index[\"default\"].calendar),\n    style: style\n  }, panelType === 'month' && /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, /*#__PURE__*/_react[\"default\"].createElement(_CalendarHeader[\"default\"], {\n    mode: \"month\",\n    locale: locale,\n    value: value && value.clone(),\n    titleElement: titleElement,\n    onValueChange: updateValue,\n    onMonthRangeChange: handleMonthRangeChange,\n    onTypeChange: handleTypeChange,\n    showPrev: false,\n    showNext: false\n  }), /*#__PURE__*/_react[\"default\"].createElement(_MonthPanel[\"default\"], {\n    date: selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.clone(),\n    isToday: isToday,\n    isValid: isValid,\n    localMonth: localMonth,\n    year: year,\n    onSelect: handleSelect\n  })), panelType === 'year' && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['calendar-year-panel']\n  }, /*#__PURE__*/_react[\"default\"].createElement(_YearCalendar[\"default\"], _extends({}, props, {\n    updateSelectValue: updateYear\n  }))));\n}\nvar _default = exports[\"default\"] = MonthCalendar;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/calendar/MonthCalendar.jsx?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/calendar/MonthRangeCalendar.jsx":
/*!*******************************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/calendar/MonthRangeCalendar.jsx ***!
  \*******************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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.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-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.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.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _moment = _interopRequireDefault(__webpack_require__(/*! moment */ \"../../node_modules/moment/moment.js\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _CalendarHeader = _interopRequireDefault(__webpack_require__(/*! ./CalendarHeader */ \"./src/component/web/base/DateTimePicker/calendar/CalendarHeader.js\"));\nvar _MonthPanel = _interopRequireDefault(__webpack_require__(/*! ../month/MonthPanel */ \"./src/component/web/base/DateTimePicker/month/MonthPanel.js\"));\nvar _YearCalendar = _interopRequireDefault(__webpack_require__(/*! ./YearCalendar */ \"./src/component/web/base/DateTimePicker/calendar/YearCalendar.js\"));\nvar _dateUtil = __webpack_require__(/*! @/util/dateUtil */ \"./src/util/dateUtil.js\");\nvar _langUtil = __webpack_require__(/*! @/util/langUtil */ \"./src/util/langUtil.js\");\nvar _index = _interopRequireDefault(__webpack_require__(/*! ../styles/index.less */ \"./src/component/web/base/DateTimePicker/styles/index.less\"));\nvar _excluded = [\"direction\", \"endOption\", \"value\", \"hoverValue\", \"linkage\", \"selectedValue\", \"type\", \"today\", \"prevMonthDateDisable\", \"nextMonthDateDisable\", \"isValidDate\", \"updateValue\", \"updateHoverValue\", \"updateSelectedValue\", \"locale\", \"showNow\", \"startOption\"];\n/**\n * 年月范围选择器\n */\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nvar calculatePickerStartDate = function calculatePickerStartDate(value, selectedValue, today, direction, isLink) {\n  var left = (value[0] || today).clone();\n  var right = (value[1] || today).clone();\n  if (!isLink) {\n    if (left.year() === right.year()) {\n      right = left.clone().add(1, 'year');\n    }\n    return [left, right];\n  }\n\n  // 焦点在结束日期\n  if (direction === 'start' && !selectedValue[0] && selectedValue[1]) {\n    left = right.clone().add(-1, 'year');\n  } else if (direction === 'end' && selectedValue[0] && !selectedValue[1]) {\n    right = left.clone().add(1, 'year');\n  } else if (direction === 'end' && selectedValue[1] && left.year() + 1 !== selectedValue[1].year()) {\n    left = right.clone().add(-1, 'year');\n  } else {\n    right = left.clone().add(1, 'year');\n  }\n  return [left, right];\n};\nfunction MonthRangeCalendar(_ref) {\n  var direction = _ref.direction,\n    endOption = _ref.endOption,\n    value = _ref.value,\n    hoverValue = _ref.hoverValue,\n    linkage = _ref.linkage,\n    selectedValue = _ref.selectedValue,\n    type = _ref.type,\n    today = _ref.today,\n    prevMonthDateDisable = _ref.prevMonthDateDisable,\n    nextMonthDateDisable = _ref.nextMonthDateDisable,\n    isValidDate = _ref.isValidDate,\n    updateValue = _ref.updateValue,\n    updateHoverValue = _ref.updateHoverValue,\n    updateSelectedValue = _ref.updateSelectedValue,\n    locale = _ref.locale,\n    showNow = _ref.showNow,\n    startOption = _ref.startOption,\n    other = _objectWithoutProperties(_ref, _excluded);\n  var _useMemo = (0, _react.useMemo)(function () {\n      return calculatePickerStartDate(value, selectedValue, today, direction, linkage);\n    }, [value, selectedValue, today, direction, linkage]),\n    _useMemo2 = _slicedToArray(_useMemo, 2),\n    leftPickerDate = _useMemo2[0],\n    rightPickerDate = _useMemo2[1];\n  var _useState = (0, _react.useState)('month'),\n    _useState2 = _slicedToArray(_useState, 2),\n    panelType = _useState2[0],\n    setPanelType = _useState2[1];\n  var _useState3 = (0, _react.useState)(false),\n    _useState4 = _slicedToArray(_useState3, 2),\n    isMouseEnter = _useState4[0],\n    setIsMouseEnter = _useState4[1];\n  var directionRef = (0, _react.useRef)(null);\n  var getComparedDate = function getComparedDate(pickerDirection, month) {\n    var _month = month + 1 < 10 ? \"0\".concat(month + 1) : \"\".concat(month + 1);\n    var comparedDate = pickerDirection === 'left' ? (0, _moment[\"default\"])(\"\".concat(leftPickerDate.year(), \"-\").concat(_month)) : (0, _moment[\"default\"])(\"\".concat(rightPickerDate.year(), \"-\").concat(_month));\n    return comparedDate;\n  };\n  var isValid = function isValid(pickerDirection) {\n    return function (month) {\n      var comparedDate = getComparedDate(pickerDirection, month);\n      return isValidDate({\n        curDate: comparedDate,\n        type: 'month'\n      });\n    };\n  };\n  var isInSelectedRange = function isInSelectedRange(pickerDirection) {\n    return function (month) {\n      var _selectedValue = _slicedToArray(selectedValue, 2),\n        startDate = _selectedValue[0],\n        endDate = _selectedValue[1];\n      var comparedDate = getComparedDate(pickerDirection, month);\n      if (startDate && !endDate && hoverValue[0]) {\n        return comparedDate.isBetween(startDate, hoverValue[0], 'month', '()');\n      }\n      if (!startDate && endDate && hoverValue[0]) {\n        return comparedDate.isBetween(hoverValue[0], endDate, 'month', '()');\n      }\n      if (startDate && endDate && hoverValue[0]) {\n        var min = _moment[\"default\"].min(startDate, hoverValue[0]);\n        var max = _moment[\"default\"].max(endDate, hoverValue[0]);\n        return comparedDate.isBetween(min, max, 'month', '()');\n      }\n      return startDate && endDate && comparedDate.isBetween(startDate, endDate, 'month', '()');\n    };\n  };\n  var isRangeStart = function isRangeStart(pickerDirection) {\n    return function (month) {\n      var comparedDate = getComparedDate(pickerDirection, month);\n      return selectedValue[0] && (comparedDate === null || comparedDate === void 0 ? void 0 : comparedDate.isSame(selectedValue[0], 'month'));\n    };\n  };\n  var isRangeEnd = function isRangeEnd(pickerDirection) {\n    return function (month) {\n      var comparedDate = getComparedDate(pickerDirection, month);\n      return selectedValue[1] && (comparedDate === null || comparedDate === void 0 ? void 0 : comparedDate.isSame(selectedValue[1], 'month'));\n    };\n  };\n  var isToday = function isToday(pickerDirection) {\n    return function (month) {\n      var comparedDate = pickerDirection === 'left' ? leftPickerDate : rightPickerDate;\n      return comparedDate.isSame(today, 'year') && today.month() === month;\n    };\n  };\n  var isHover = function isHover(pickerDirection) {\n    return function (month) {\n      var _selectedValue2 = _slicedToArray(selectedValue, 2),\n        startDate = _selectedValue2[0],\n        endDate = _selectedValue2[1];\n      var comparedDate = getComparedDate(pickerDirection, month);\n      if (startDate && !endDate) return comparedDate.isAfter(startDate, 'month');\n      if (!startDate && endDate) return comparedDate.isBefore(endDate, 'month');\n      if (startDate && endDate) return true;\n    };\n  };\n  var isInHoverRange = function isInHoverRange(pickerDirection) {\n    return function (month) {\n      if (!isMouseEnter) return false;\n      var _selectedValue3 = _slicedToArray(selectedValue, 2),\n        startDate = _selectedValue3[0],\n        endDate = _selectedValue3[1];\n      if (!startDate || !endDate || !hoverValue[0]) return false;\n      var comparedDate = getComparedDate(pickerDirection, month);\n      if (hoverValue[0].isBefore(startDate) || hoverValue[0].isAfter(endDate)) {\n        return comparedDate.isBetween(startDate, endDate, 'day', '[]');\n      }\n      if (hoverValue[0].isBetween(startDate, endDate, 'day', '[]')) {\n        if (direction === 'end') {\n          return comparedDate.isBetween(startDate, hoverValue[0], 'day', '[]');\n        }\n        return comparedDate.isBetween(hoverValue[0], endDate, 'day', '[]');\n      }\n    };\n  };\n  var handleMonthSelect = function handleMonthSelect(pickerDirection) {\n    return function (month) {\n      var year = pickerDirection === 'left' ? leftPickerDate.year() : rightPickerDate.year();\n      // 火狐123版本无法格式化2023-1这种格式\n      var _month = month + 1 < 10 ? \"0\".concat(month + 1) : \"\".concat(month + 1);\n      var newObj = (0, _moment[\"default\"])(\"\".concat(year, \"-\").concat(_month));\n      newObj = direction === 'start' ? newObj.startOf('month') : newObj.endOf('month');\n      updateSelectedValue(newObj);\n      if (!newObj.isBetween(leftPickerDate.startOf('year'), rightPickerDate.endOf('year'), undefined, '[]')) {\n        var newVal = direction === 'start' ? [newObj, rightPickerDate] : [leftPickerDate, newObj];\n        updateValue(newVal, 'month');\n      }\n      updateValue([leftPickerDate, rightPickerDate]);\n    };\n  };\n  var handleMouseEnter = function handleMouseEnter(direction) {\n    return function (month) {\n      setIsMouseEnter(true);\n      var comparedDate = getComparedDate(direction, month);\n      updateHoverValue([comparedDate]);\n    };\n  };\n  var handleMouseLeave = function handleMouseLeave(pickerDirection) {\n    return function () {\n      setIsMouseEnter(false);\n      updateHoverValue([]);\n    };\n  };\n  var handlePickerTypeChange = function handlePickerTypeChange(pickerDirection) {\n    return function () {\n      directionRef.current = pickerDirection === 'left' ? 0 : 1;\n      setPanelType('year');\n    };\n  };\n  var handleMonthRangeChange = function handleMonthRangeChange(pickerDirection) {\n    return function (diff) {\n      var isChangeLeftSide = pickerDirection === 'left';\n      var isLeft = directionRef.current === 0;\n      var left = leftPickerDate;\n      var right = rightPickerDate;\n      if (isChangeLeftSide) {\n        left = left.clone().add(diff, 'year');\n        right = left.clone().add(1, 'year');\n      } else {\n        right = right.clone().add(diff, 'year');\n        left = right.clone().add(-1, 'year');\n      }\n      if (left.isAfter(right)) {\n        if (isLeft) {\n          right = left.clone().add(1, 'year');\n        } else {\n          left = right.clone().add(-1, 'year');\n        }\n      }\n      updateValue([left, right], 'month');\n    };\n  };\n  var handleYearUpdate = function handleYearUpdate(date) {\n    var isLeft = directionRef.current === 0;\n    var left = isLeft ? date : leftPickerDate;\n    var right = !isLeft ? date : rightPickerDate;\n    if (isLeft) {\n      right = left.clone().add(1, 'year');\n    } else {\n      left = right.clone().add(-1, 'year');\n    }\n    setPanelType('month');\n    updateValue([left, right], 'month');\n  };\n  var getHeaderOption = function getHeaderOption(pickerDirection) {\n    return {\n      onTypeChange: handlePickerTypeChange(pickerDirection),\n      onMonthRangeChange: handleMonthRangeChange(pickerDirection)\n    };\n  };\n  var getPickerOpiton = function getPickerOpiton(pickerDirection) {\n    return {\n      isHover: isHover(pickerDirection),\n      isToday: isToday(pickerDirection),\n      isRangeStart: isRangeStart(pickerDirection),\n      isRangeEnd: isRangeEnd(pickerDirection),\n      isInHoverRange: isInHoverRange(pickerDirection),\n      isInSelectedRange: isInSelectedRange(pickerDirection),\n      isValid: isValid(pickerDirection),\n      onMouseEnter: handleMouseEnter(pickerDirection),\n      onMouseLeave: handleMouseLeave(pickerDirection),\n      onSelect: handleMonthSelect(pickerDirection)\n    };\n  };\n  if (!direction) return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null);\n  var defaultLang = (0, _langUtil.getDefaultLangUtil)();\n  var leftLocalMonth = leftPickerDate._locale._monthsShorts ? leftPickerDate._locale._monthsShorts : leftPickerDate._locale._monthsShort || leftPickerDate.clone().locale(defaultLang)._locale._monthsShorts || leftPickerDate.clone().locale('zh_CN')._locale._monthsShorts || [];\n  var rightLocalMonth = rightPickerDate._locale._monthsShorts ? rightPickerDate._locale._monthsShorts : rightPickerDate._locale._monthsShort || rightPickerDate.clone().locale(defaultLang)._locale._monthsShorts || rightPickerDate.clone().locale('zh_CN')._locale._monthsShorts || [];\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_index[\"default\"]['calendar-container'], 'kd-cq-dropdown kd-cq-dropdown-date-type')\n  }, panelType === 'month' && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])('kd-cq-calendar-date-range', _index[\"default\"].calendar, _index[\"default\"]['calendar-datarange'], _index[\"default\"]['calendar-datarange-left'])\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_index[\"default\"]['calendar-datarange-part'], _index[\"default\"]['calendar-datarange-left'])\n  }, /*#__PURE__*/_react[\"default\"].createElement(_CalendarHeader[\"default\"], _extends({\n    value: leftPickerDate,\n    type: type,\n    locale: locale,\n    mode: \"month\",\n    showSuperNext: false,\n    showNext: false,\n    showSuperPrev: (startOption === null || startOption === void 0 ? void 0 : startOption.disabledSuperPrev) !== undefined ? !startOption.disabledSuperPrev : true,\n    showPrev: false,\n    showNow: showNow\n  }, getHeaderOption('left'))), /*#__PURE__*/_react[\"default\"].createElement(_MonthPanel[\"default\"], _extends({\n    date: leftPickerDate,\n    localMonth: leftLocalMonth\n  }, getPickerOpiton('left')))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['calendar-month-range-separator']\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_index[\"default\"]['calendar-datarange-part'], _index[\"default\"]['calendar-datarange-right'])\n  }, /*#__PURE__*/_react[\"default\"].createElement(_CalendarHeader[\"default\"], _extends({\n    value: rightPickerDate,\n    type: type,\n    locale: locale,\n    mode: \"month\",\n    showSuperNext: (endOption === null || endOption === void 0 ? void 0 : endOption.disabledSuperNext) !== undefined ? !endOption.disabledSuperNext : true,\n    showNext: false,\n    showSuperPrev: false,\n    showPrev: false\n  }, getHeaderOption('right'))), /*#__PURE__*/_react[\"default\"].createElement(_MonthPanel[\"default\"], _extends({\n    date: rightPickerDate,\n    localMonth: rightLocalMonth\n  }, getPickerOpiton('right'))))), panelType === 'year' && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['calendar-year-panel']\n  }, /*#__PURE__*/_react[\"default\"].createElement(_YearCalendar[\"default\"], {\n    value: (directionRef.current === 0 ? leftPickerDate : rightPickerDate).clone(),\n    locale: locale,\n    isValidDate: isValidDate,\n    updateSelectValue: handleYearUpdate\n  })));\n}\nvar _default = exports[\"default\"] = MonthRangeCalendar;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/calendar/MonthRangeCalendar.jsx?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/calendar/OKButton.js":
/*!********************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/calendar/OKButton.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _index = _interopRequireDefault(__webpack_require__(/*! ../styles/index.less */ \"./src/component/web/base/DateTimePicker/styles/index.less\"));\nvar _excluded = [\"locale\", \"disabled\", \"onClick\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction OKButton(_ref) {\n  var locale = _ref.locale,\n    _ref$disabled = _ref.disabled,\n    disabled = _ref$disabled === void 0 ? false : _ref$disabled,\n    onClick = _ref.onClick,\n    otherProps = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"a\", _extends({\n    className: ('kd-cq-control kd-cq-btn', (0, _classnames[\"default\"])(_index[\"default\"]['calendar-ok-btn'], {\n      'follow-theme-disabled-bg-fc': disabled,\n      'follow-theme-bg-fc hover-theme-bg1 active-theme-bg1': !disabled\n    })),\n    onClick: disabled ? null : onClick\n  }, otherProps), locale.ok);\n}\nvar _default = exports[\"default\"] = OKButton;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/calendar/OKButton.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/calendar/RangeCalendar.js":
/*!*************************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/calendar/RangeCalendar.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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.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-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.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.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 _CalendarHeader = _interopRequireDefault(__webpack_require__(/*! ./CalendarHeader */ \"./src/component/web/base/DateTimePicker/calendar/CalendarHeader.js\"));\nvar _DateTable = _interopRequireDefault(__webpack_require__(/*! ../date/DateTable */ \"./src/component/web/base/DateTimePicker/date/DateTable.js\"));\nvar _MonthCalendar = _interopRequireDefault(__webpack_require__(/*! ./MonthCalendar.jsx */ \"./src/component/web/base/DateTimePicker/calendar/MonthCalendar.jsx\"));\nvar _YearCalendar = _interopRequireDefault(__webpack_require__(/*! ./YearCalendar */ \"./src/component/web/base/DateTimePicker/calendar/YearCalendar.js\"));\nvar _index = _interopRequireDefault(__webpack_require__(/*! ../styles/index.less */ \"./src/component/web/base/DateTimePicker/styles/index.less\"));\nvar _excluded = [\"endOption\", \"value\", \"linkage\", \"hoverValue\", \"selectedValue\", \"type\", \"today\", \"prevMonthDateDisable\", \"nextMonthDateDisable\", \"isValidDate\", \"updateValue\", \"updateHoverValue\", \"updateSelectedValue\", \"locale\", \"customRange\", \"updateSingleValue\", \"firstDayOfWeek\", \"direction\", \"showNow\", \"startOption\"];\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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nvar calculatePickerStartDate = function calculatePickerStartDate(value, selectedValue, today, direction, isLink) {\n  // 左右面板联动\n  var left = (value[0] || today).clone();\n  var right = (value[1] || today).clone();\n  var isSameMonth = left.isSame(right, 'month');\n  if (isLink) {\n    // 存在已选值时，优先级的处理高于其他条件\n    if (direction === 'start' && !selectedValue[0] && selectedValue[1]) {\n      left = right.clone().add(-1, 'month');\n    } else if (direction === 'end' && selectedValue[0] && !selectedValue[1]) {\n      right = left.clone().add(1, 'month');\n    } else if (direction === 'start' || direction === 'end' && isSameMonth) {\n      right = left.clone().add(1, 'month');\n    } else if (direction === 'end' && !left.clone().add(1, 'month').isSame(right, 'month')) {\n      left = right.clone().add(-1, 'month');\n    }\n    return [left, right];\n  }\n\n  // 非联动情况需要判断是否同一年\n  if (isSameMonth) {\n    if (direction === 'start') {\n      right = left.clone().add(1, 'month');\n    } else {\n      left = right.clone().add(-1, 'month');\n    }\n  }\n  return [left, right];\n};\nfunction RangeCalendar(_ref) {\n  var endOption = _ref.endOption,\n    value = _ref.value,\n    linkage = _ref.linkage,\n    hoverValue = _ref.hoverValue,\n    selectedValue = _ref.selectedValue,\n    type = _ref.type,\n    today = _ref.today,\n    prevMonthDateDisable = _ref.prevMonthDateDisable,\n    nextMonthDateDisable = _ref.nextMonthDateDisable,\n    isValidDate = _ref.isValidDate,\n    updateValue = _ref.updateValue,\n    updateHoverValue = _ref.updateHoverValue,\n    updateSelectedValue = _ref.updateSelectedValue,\n    locale = _ref.locale,\n    customRange = _ref.customRange,\n    updateSingleValue = _ref.updateSingleValue,\n    firstDayOfWeek = _ref.firstDayOfWeek,\n    direction = _ref.direction,\n    showNow = _ref.showNow,\n    startOption = _ref.startOption,\n    other = _objectWithoutProperties(_ref, _excluded);\n  var _useState = (0, _react.useState)('date'),\n    _useState2 = _slicedToArray(_useState, 2),\n    panelType = _useState2[0],\n    setPanelType = _useState2[1];\n  var currentIndex = (0, _react.useRef)(-1); // 0: 开始日期，1: 结束日期\n  var returnPaneType = (0, _react.useRef)('date');\n  var currentPanelRef = (0, _react.useRef)('');\n  var _useMemo = (0, _react.useMemo)(function () {\n      return calculatePickerStartDate(value, selectedValue, today, direction, linkage);\n    }, [value, selectedValue, today, direction, linkage]),\n    _useMemo2 = _slicedToArray(_useMemo, 2),\n    leftPickerDate = _useMemo2[0],\n    rightPickerDate = _useMemo2[1];\n  var isValidFalse = function isValidFalse() {\n    return false;\n  };\n  var onDaySelect = function onDaySelect(newValue) {\n    var _value$, _value$2;\n    if (hoverValue.length === 0) {\n      updateHoverValue([newValue]);\n    }\n    updateSelectedValue(newValue);\n    if (direction === 'start' && !((_value$ = value[1]) !== null && _value$ !== void 0 && _value$.isSame(newValue, 'month'))) {\n      updateValue([newValue.clone(), newValue.clone().add(1, 'month')]);\n    }\n    if (direction === 'end' && !((_value$2 = value[0]) !== null && _value$2 !== void 0 && _value$2.isSame(newValue, 'month'))) {\n      updateValue([newValue.clone().add(-1, 'month'), newValue.clone()]);\n    }\n  };\n  var onDayHover = function onDayHover(newValue) {\n    if (selectedValue !== null && selectedValue !== void 0 && selectedValue[0] && selectedValue !== null && selectedValue !== void 0 && selectedValue[1]) {\n      // 已有选中值，重新打开面板更新值\n      var _selectedValue = _slicedToArray(selectedValue, 2),\n        selectedStart = _selectedValue[0],\n        selectedEnd = _selectedValue[1];\n      if (newValue.isBefore(selectedStart)) {\n        updateHoverValue([newValue, selectedEnd]);\n      } else if (newValue.isBetween(selectedStart, selectedEnd, null, '[]')) {\n        var _newHoverValue = direction === 'start' ? [newValue, selectedEnd] : [selectedStart, newValue];\n        updateHoverValue(_newHoverValue);\n      } else if (newValue.isAfter(selectedEnd)) {\n        updateHoverValue([selectedStart, newValue]);\n      }\n      return;\n    }\n    if (hoverValue.length === 0 || selectedValue[0] && newValue.isBefore(selectedValue[0]) || selectedValue[1] && newValue.isAfter(selectedValue[1])) {\n      return;\n    }\n    var newHoverValue = [hoverValue[0], newValue];\n    updateHoverValue(newHoverValue);\n  };\n  var onDayLeave = function onDayLeave() {\n    updateHoverValue([hoverValue[0]]);\n  };\n  var handleTypeChangeOfStart = function handleTypeChangeOfStart(type) {\n    currentIndex.current = 0;\n    handleTypeChange(type, 'left');\n  };\n  var handleTypeChangeOfEnd = function handleTypeChangeOfEnd(type) {\n    currentIndex.current = 1;\n    handleTypeChange(type, 'right');\n  };\n  var handleTypeChange = function handleTypeChange(type, direction) {\n    if (type === 'year' && panelType === 'month') {\n      returnPaneType.current = 'month';\n    } else {\n      returnPaneType.current = 'date';\n    }\n    currentPanelRef.current = direction;\n    setPanelType(type);\n  };\n\n  /**\n   * 年份、月份选择面板更新值时调用\n   * @param {object} date moment 对象\n   */\n  var handleUpdate = function handleUpdate(date) {\n    var newValue = currentPanelRef.current === 'right' ? [value[0], date.clone()] : [date.clone(), value[1]];\n    if (!linkage && newValue[0].isSameOrAfter(newValue[1])) {\n      if (currentPanelRef.current === 'right') {\n        newValue[0] = newValue[1].clone().add(-1, 'month');\n      } else {\n        newValue[1] = newValue[0].clone().add(1, 'month');\n      }\n    }\n    updateValue(getNewValue(newValue));\n    returnPaneType.current === 'month' ? setPanelType('month') : setPanelType('date');\n    returnPaneType.current = 'date';\n  };\n  var handleStartNowClick = function handleStartNowClick() {\n    var _value$3;\n    if (!showNow) return;\n    if ((_value$3 = value[1]) !== null && _value$3 !== void 0 && _value$3.isSameOrBefore(today, 'month')) {\n      updateValue([today.clone(), today.clone().add(1, 'month')]);\n      return;\n    }\n    updateValue(getNewValue([today.clone(), value[1].clone()]));\n  };\n  var handleEndNowClick = function handleEndNowClick() {\n    var _value$4;\n    if (!showNow) return;\n    if ((_value$4 = value[0]) !== null && _value$4 !== void 0 && _value$4.isSameOrAfter(today, 'month')) {\n      updateValue([today.clone().add(-1, 'month'), today.clone()]);\n      return;\n    }\n    updateValue(getNewValue([value[0].clone(), today.clone()]));\n  };\n  var handleStartPanelValueChange = function handleStartPanelValueChange(newValue) {\n    var left = newValue.clone();\n    var right = value[1].clone();\n    if (left.isSame(right, 'month')) {\n      right = right.add(1, 'month');\n    }\n    if (!linkage && left.isSameOrAfter(right)) {\n      right = left.clone().add(1, 'month');\n    }\n    updateValue(getNewValue([left, right]));\n  };\n  var handleEndPanelValueChange = function handleEndPanelValueChange(newValue) {\n    var right = newValue.clone();\n    var left = value[0].clone();\n    if (left.isSame(right, 'month')) {\n      left = left.add(-1, 'month');\n    }\n    if (!linkage && left.isSameOrAfter(right)) {\n      left = right.clone().add(-1, 'month');\n    }\n    updateValue(getNewValue([left, right]));\n  };\n  var getNewValue = function getNewValue(newValue) {\n    if (!linkage) {\n      return newValue;\n    }\n    if (newValue[0].isSame(value[0])) {\n      return [newValue[1].clone().add(-1, 'month'), newValue[1]];\n    }\n    return [newValue[0], newValue[0].clone().add(1, 'month')];\n  };\n  if (!direction) return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_index[\"default\"]['calendar-container'], 'kd-cq-dropdown kd-cq-dropdown-date-type')\n  }, panelType === 'date' && /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])('kd-cq-calendar-date-range', _index[\"default\"].calendar, _index[\"default\"]['calendar-datarange'], _index[\"default\"]['calendar-datarange-left'])\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_index[\"default\"]['calendar-datarange-part'], _index[\"default\"]['calendar-datarange-left'])\n  }, /*#__PURE__*/_react[\"default\"].createElement(_CalendarHeader[\"default\"], {\n    value: leftPickerDate,\n    type: type,\n    locale: locale,\n    mode: \"day\",\n    showSuperNext: (startOption === null || startOption === void 0 ? void 0 : startOption.disabledSuperNext) !== undefined ? !startOption.disabledSuperNext : false,\n    showNext: (startOption === null || startOption === void 0 ? void 0 : startOption.disabledNext) !== undefined ? !startOption.disabledNext : leftPickerDate.diff(rightPickerDate, 'months', true) > 1,\n    showSuperPrev: (startOption === null || startOption === void 0 ? void 0 : startOption.disabledSuperPrev) !== undefined ? !startOption.disabledSuperPrev : true,\n    showPrev: (startOption === null || startOption === void 0 ? void 0 : startOption.disabledPrev) !== undefined ? !startOption.disabledPrev : true,\n    showNow: showNow,\n    onNowClick: handleStartNowClick,\n    onValueChange: handleStartPanelValueChange,\n    onTypeChange: handleTypeChangeOfStart\n  }), /*#__PURE__*/_react[\"default\"].createElement(_DateTable[\"default\"], {\n    value: leftPickerDate,\n    hoverValue: hoverValue,\n    selectedValue: selectedValue,\n    today: today,\n    shadow: true,\n    onSelect: onDaySelect,\n    onHover: onDayHover,\n    onLeave: hoverValue.length === 2 ? onDayLeave : null,\n    isValidDate: isValidDate || isValidFalse,\n    firstDayOfWeek: firstDayOfWeek\n  })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['calendar-datarange-separator']\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_index[\"default\"]['calendar-datarange-part'], _index[\"default\"]['calendar-datarange-right'])\n  }, /*#__PURE__*/_react[\"default\"].createElement(_CalendarHeader[\"default\"], {\n    value: rightPickerDate,\n    type: type,\n    locale: locale,\n    mode: \"day\",\n    showSuperNext: (endOption === null || endOption === void 0 ? void 0 : endOption.disabledSuperNext) !== undefined ? !endOption.disabledSuperNext : true,\n    showNext: (endOption === null || endOption === void 0 ? void 0 : endOption.disabledNext) !== undefined ? !endOption.disabledNext : true,\n    showSuperPrev: (endOption === null || endOption === void 0 ? void 0 : endOption.disabledSuperPrev) !== undefined ? !endOption.disabledSuperPrev : false,\n    showPrev: (endOption === null || endOption === void 0 ? void 0 : endOption.disabledPrev) !== undefined ? !endOption.disabledPrev : rightPickerDate.diff(leftPickerDate, 'months', true) > 1,\n    showNow: showNow,\n    onNowClick: handleEndNowClick,\n    onValueChange: handleEndPanelValueChange,\n    onTypeChange: handleTypeChangeOfEnd\n  }), /*#__PURE__*/_react[\"default\"].createElement(_DateTable[\"default\"], {\n    value: rightPickerDate,\n    hoverValue: hoverValue,\n    selectedValue: selectedValue,\n    today: today,\n    shadow: true,\n    onSelect: onDaySelect,\n    onHover: onDayHover,\n    onLeave: hoverValue.length === 2 ? onDayLeave : null,\n    isValidDate: isValidDate || isValidFalse,\n    firstDayOfWeek: firstDayOfWeek\n  })), customRange && Array.isArray(customRange) && customRange.length > 0 && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['calendar-datarange-custom']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"ul\", null, customRange.map(function (range, index) {\n    return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n      key: \"datarange_\".concat(index),\n      className: (0, _classnames[\"default\"])(_index[\"default\"]['calendar-datarange-custom-item'], 'kd-hover'),\n      onClick: function onClick(e) {\n        e.stopPropagation();\n        updateSelectedValue(range.value);\n      }\n    }, range.title);\n  })))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_index[\"default\"]['calendar-datarange-count'], 'kd-cq-date-picker-footer')\n  }, locale.countDate)), panelType === 'month' && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['calendar-month-panel']\n  }, /*#__PURE__*/_react[\"default\"].createElement(_MonthCalendar[\"default\"], {\n    value: (value[currentIndex.current] || today).clone(),\n    locale: locale,\n    isValidDate: isValidDate,\n    selectedValue: (value[currentIndex.current] || today).clone(),\n    updateSelectValue: handleUpdate,\n    onTypeChange: handleTypeChange\n  })), panelType === 'year' && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['calendar-year-panel']\n  }, /*#__PURE__*/_react[\"default\"].createElement(_YearCalendar[\"default\"], {\n    value: (value[currentIndex.current] || today).clone(),\n    selectedValue: (value[currentIndex.current] || today).clone(),\n    locale: locale,\n    isValidDate: isValidDate,\n    updateSelectValue: handleUpdate\n  })));\n}\nvar _default = exports[\"default\"] = RangeCalendar;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/calendar/RangeCalendar.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/calendar/TimeCalendar.js":
/*!************************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/calendar/TimeCalendar.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _TimeHead = _interopRequireDefault(__webpack_require__(/*! ../time/TimeHead */ \"./src/component/web/base/DateTimePicker/time/TimeHead.js\"));\nvar _DateInput = _interopRequireDefault(__webpack_require__(/*! ../date/DateInput */ \"./src/component/web/base/DateTimePicker/date/DateInput.js\"));\nvar _TimeSelect = _interopRequireDefault(__webpack_require__(/*! ../time/TimeSelect */ \"./src/component/web/base/DateTimePicker/time/TimeSelect.js\"));\nvar _index = _interopRequireDefault(__webpack_require__(/*! ../styles/index.less */ \"./src/component/web/base/DateTimePicker/styles/index.less\"));\nvar _excluded = [\"className\", \"format\", \"value\", \"today\", \"showHead\", \"showInput\", \"isValidDate\", \"updateSelectValue\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction TimeCalendar(props) {\n  var className = props.className,\n    format = props.format,\n    value = props.value,\n    today = props.today,\n    showHead = props.showHead,\n    showInput = props.showInput,\n    isValidDate = props.isValidDate,\n    updateSelectValue = props.updateSelectValue,\n    other = _objectWithoutProperties(props, _excluded);\n  var date = value || today;\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n    className: (0, _classnames[\"default\"])(_index[\"default\"]['calendar-time'], className)\n  }, other), showInput ? /*#__PURE__*/_react[\"default\"].createElement(_DateInput[\"default\"], {\n    value: date,\n    format: format,\n    onChange: updateSelectValue,\n    type: \"time\"\n  }) : null, showHead ? /*#__PURE__*/_react[\"default\"].createElement(_TimeHead[\"default\"], {\n    value: date,\n    format: format\n  }) : null, /*#__PURE__*/_react[\"default\"].createElement(_TimeSelect[\"default\"], {\n    value: date,\n    format: format,\n    isValid: isValidDate,\n    updateTime: function updateTime(newValue) {\n      return updateSelectValue(newValue, false);\n    }\n  }));\n}\nvar _default = exports[\"default\"] = TimeCalendar;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/calendar/TimeCalendar.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/calendar/YearCalendar.js":
/*!************************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/calendar/YearCalendar.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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-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.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.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.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.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\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _moment = _interopRequireDefault(__webpack_require__(/*! moment */ \"../../node_modules/moment/moment.js\"));\nvar _CalendarHeader = _interopRequireDefault(__webpack_require__(/*! ./CalendarHeader */ \"./src/component/web/base/DateTimePicker/calendar/CalendarHeader.js\"));\nvar _YearPanel = _interopRequireDefault(__webpack_require__(/*! ../year/YearPanel */ \"./src/component/web/base/DateTimePicker/year/YearPanel.js\"));\nvar _index = _interopRequireDefault(__webpack_require__(/*! ../styles/index.less */ \"./src/component/web/base/DateTimePicker/styles/index.less\"));\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 _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; }\nvar setYearRange = function setYearRange(year, format) {\n  var startYearStr = (0, _moment[\"default\"])().year(year).format(format);\n  var endYearStr = (0, _moment[\"default\"])().year(year + 14).format(format);\n  return [startYearStr, endYearStr];\n};\nfunction YearCalendar(_ref) {\n  var _range$, _range$2;\n  var type = _ref.type,\n    value = _ref.value,\n    selectedValue = _ref.selectedValue,\n    today = _ref.today,\n    locale = _ref.locale,\n    isValidDate = _ref.isValidDate,\n    updateValue = _ref.updateValue,\n    updateSelectValue = _ref.updateSelectValue,\n    style = _ref.style;\n  var initYear = (value || today).clone().year();\n  initYear = initYear - initYear % 15;\n  var _useState = (0, _react.useState)(initYear),\n    _useState2 = _slicedToArray(_useState, 2),\n    startYear = _useState2[0],\n    setStartYear = _useState2[1];\n  var _useState3 = (0, _react.useState)(setYearRange(initYear, locale.yearFormat)),\n    _useState4 = _slicedToArray(_useState3, 2),\n    range = _useState4[0],\n    setRange = _useState4[1];\n  (0, _react.useEffect)(function () {\n    setStartYear(initYear);\n    setRange(setYearRange(initYear, locale.yearFormat));\n  }, [initYear, locale.yearFormat]);\n  var isValid = function isValid(year) {\n    var curDate = value.clone().set({\n      year: year,\n      month: 0,\n      date: 1\n    });\n    if (isValidDate) return isValidDate({\n      curDate: curDate,\n      type: 'year'\n    });\n    return true;\n  };\n  var handleYearRangeChange = function handleYearRangeChange(direction) {\n    var diff = direction < 0 ? -15 : 15;\n    setStartYear(startYear + diff);\n    setRange(setYearRange(startYear + diff, locale.yearFormat));\n  };\n  var handleSelect = function handleSelect(year) {\n    var newDate = (value || today).clone().year(year);\n    updateSelectValue(newDate);\n  };\n  var isToday = function isToday(index) {\n    var now = (0, _moment[\"default\"])();\n    return startYear + index === now.year();\n  };\n  var titleElement = /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, range === null || range === void 0 || (_range$ = range[0]) === null || _range$ === void 0 ? void 0 : _range$.replace('年', ''), \"-\", range === null || range === void 0 || (_range$2 = range[1]) === null || _range$2 === void 0 ? void 0 : _range$2.replace('年', ''));\n  var panelValue = selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.year();\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_index[\"default\"].calendar, 'kd-cq-dropdown kd-cq-dropdown-date-type kd-cq-dropdown-no-border'),\n    style: style\n  }, /*#__PURE__*/_react[\"default\"].createElement(_CalendarHeader[\"default\"], {\n    mode: \"year\",\n    value: value && value.clone(),\n    type: type,\n    locale: locale,\n    titleElement: titleElement,\n    onValueChange: updateValue,\n    onYearRangeChange: handleYearRangeChange,\n    showPrev: false,\n    showNext: false\n  }), /*#__PURE__*/_react[\"default\"].createElement(_YearPanel[\"default\"], {\n    start: startYear,\n    value: panelValue,\n    isToday: isToday,\n    isValid: isValid,\n    onSelect: handleSelect\n  }));\n}\nvar _default = exports[\"default\"] = YearCalendar;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/calendar/YearCalendar.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/calendar/YearRangeCalendar.jsx":
/*!******************************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/calendar/YearRangeCalendar.jsx ***!
  \******************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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.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-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.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.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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.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\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _moment = _interopRequireDefault(__webpack_require__(/*! moment */ \"../../node_modules/moment/moment.js\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _CalendarHeader = _interopRequireDefault(__webpack_require__(/*! ./CalendarHeader */ \"./src/component/web/base/DateTimePicker/calendar/CalendarHeader.js\"));\nvar _YearPanel = _interopRequireDefault(__webpack_require__(/*! ../year/YearPanel */ \"./src/component/web/base/DateTimePicker/year/YearPanel.js\"));\nvar _index = _interopRequireDefault(__webpack_require__(/*! ../styles/index.less */ \"./src/component/web/base/DateTimePicker/styles/index.less\"));\nvar _excluded = [\"direction\", \"endOption\", \"linkage\", \"value\", \"hoverValue\", \"selectedValue\", \"type\", \"today\", \"prevMonthDateDisable\", \"nextMonthDateDisable\", \"isValidDate\", \"updateValue\", \"updateHoverValue\", \"updateSelectedValue\", \"locale\", \"customRange\", \"updateSingleValue\", \"firstDayOfWeek\", \"isLeft\", \"showNow\", \"startOption\"];\n/**\n * 年月范围选择器\n */\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nvar YEAR_INTERVAL = 15;\n\n/**\n * 计算单个面板的年份范围\n * @param {number} year 年份\n * @param {string} format 格式\n * @returns 面板年份范围\n */\nvar getYearRange = function getYearRange(year, format) {\n  var yearIndex = year % YEAR_INTERVAL;\n  var startYearStr = (0, _moment[\"default\"])().year(year - yearIndex).format(format);\n  var endYearStr = (0, _moment[\"default\"])().year(year + 14 - yearIndex).format(format);\n  return [startYearStr, endYearStr];\n};\n\n/**\n * 获取左右面板的年份开始日期\n * @param {number} left 左边面板开始年份\n * @param {number} right 右边面板开始年份\n * @returns 年份开始数组\n */\nvar getPickerStartDate = function getPickerStartDate(left, right) {\n  return [(0, _moment[\"default\"])().year(left).startOf('year'), (0, _moment[\"default\"])().year(right).endOf('year')];\n};\nvar calculatePickerStartDate = function calculatePickerStartDate(value, selectedValue, today, direction, isLink) {\n  if (!direction) return value;\n  var left = (value[0] || today).clone();\n  var right = (value[1] || today).clone();\n  var leftPickerStartYear = left.year() - left.year() % YEAR_INTERVAL;\n  var rightPickerStartYear = right.year() - right.year() % YEAR_INTERVAL;\n\n  // 非联动\n  if (!isLink) {\n    if (leftPickerStartYear > rightPickerStartYear) {\n      if (direction === 'start') {\n        rightPickerStartYear = leftPickerStartYear + YEAR_INTERVAL;\n      } else {\n        leftPickerStartYear = rightPickerStartYear - YEAR_INTERVAL;\n      }\n    }\n    if (leftPickerStartYear === rightPickerStartYear) {\n      rightPickerStartYear = leftPickerStartYear + YEAR_INTERVAL;\n    }\n    return getPickerStartDate(leftPickerStartYear, rightPickerStartYear);\n  }\n  if (direction === 'start' && !selectedValue[0] && selectedValue[1]) {\n    leftPickerStartYear = rightPickerStartYear - YEAR_INTERVAL;\n  } else if (direction === 'end' && selectedValue[0] && !selectedValue[1]) {\n    rightPickerStartYear = leftPickerStartYear + YEAR_INTERVAL;\n  } else if (direction === 'end' && selectedValue[1] && (leftPickerStartYear > selectedValue[1].year() || leftPickerStartYear + YEAR_INTERVAL * 2 <= selectedValue[1].year())) {\n    leftPickerStartYear = rightPickerStartYear - YEAR_INTERVAL;\n  }\n  left = (0, _moment[\"default\"])().year(leftPickerStartYear).startOf('year');\n  right = left.clone().add(YEAR_INTERVAL, 'year').endOf('year');\n  return [left, right];\n};\nfunction YearRangeCalendar(_ref) {\n  var _leftRange$, _rightRange$, _selectedValue$, _selectedValue$2;\n  var direction = _ref.direction,\n    endOption = _ref.endOption,\n    linkage = _ref.linkage,\n    value = _ref.value,\n    hoverValue = _ref.hoverValue,\n    selectedValue = _ref.selectedValue,\n    type = _ref.type,\n    today = _ref.today,\n    prevMonthDateDisable = _ref.prevMonthDateDisable,\n    nextMonthDateDisable = _ref.nextMonthDateDisable,\n    isValidDate = _ref.isValidDate,\n    updateValue = _ref.updateValue,\n    updateHoverValue = _ref.updateHoverValue,\n    updateSelectedValue = _ref.updateSelectedValue,\n    locale = _ref.locale,\n    customRange = _ref.customRange,\n    updateSingleValue = _ref.updateSingleValue,\n    firstDayOfWeek = _ref.firstDayOfWeek,\n    isLeft = _ref.isLeft,\n    showNow = _ref.showNow,\n    startOption = _ref.startOption,\n    other = _objectWithoutProperties(_ref, _excluded);\n  var _useMemo = (0, _react.useMemo)(function () {\n      return calculatePickerStartDate(value, selectedValue, today, direction, linkage);\n    }, [value, selectedValue, today, direction, linkage]),\n    _useMemo2 = _slicedToArray(_useMemo, 2),\n    leftPickerDate = _useMemo2[0],\n    rightPickerDate = _useMemo2[1];\n  var _useState = (0, _react.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    isMouseEnter = _useState2[0],\n    setIsMouseEnter = _useState2[1];\n  var getComparedDate = function getComparedDate(pickerDirection, year) {\n    var startYear = pickerDirection === 'left' ? leftPickerDate.year() : rightPickerDate.year();\n    return (0, _moment[\"default\"])(\"\".concat(startYear + year));\n  };\n  var isValid = function isValid(pickerDirection) {\n    return function (year) {\n      var comparedDate = (0, _moment[\"default\"])(\"\".concat(year));\n      return isValidDate({\n        curDate: comparedDate,\n        type: 'year'\n      });\n    };\n  };\n  var isInSelectedRange = function isInSelectedRange(pickerDirection) {\n    return function (year) {\n      var _selectedValue = _slicedToArray(selectedValue, 2),\n        startDate = _selectedValue[0],\n        endDate = _selectedValue[1];\n      var comparedDate = getComparedDate(pickerDirection, year);\n      if (startDate && !endDate && hoverValue[0]) {\n        return comparedDate.isBetween(startDate, hoverValue[0], 'year', '()');\n      }\n      if (!startDate && endDate && hoverValue[0]) {\n        return comparedDate.isBetween(hoverValue[0], endDate, 'year', '()');\n      }\n      if (startDate && endDate && hoverValue[0]) {\n        var min = _moment[\"default\"].min(startDate, hoverValue[0]);\n        var max = _moment[\"default\"].max(endDate, hoverValue[0]);\n        return comparedDate.isBetween(min, max, 'year', '()');\n      }\n      return startDate && endDate && comparedDate.isBetween(startDate, endDate, 'year', '()');\n    };\n  };\n  var isRangeStart = function isRangeStart(pickerDirection) {\n    return function (year) {\n      var comparedDate = getComparedDate(pickerDirection, year);\n      return selectedValue[0] && (comparedDate === null || comparedDate === void 0 ? void 0 : comparedDate.isSame(selectedValue[0], 'year'));\n    };\n  };\n  var isRangeEnd = function isRangeEnd(pickerDirection) {\n    return function (year) {\n      var comparedDate = getComparedDate(pickerDirection, year);\n      return selectedValue[1] && (comparedDate === null || comparedDate === void 0 ? void 0 : comparedDate.isSame(selectedValue[1], 'year'));\n    };\n  };\n  var isToday = function isToday(pickerDirection) {\n    return function (year) {\n      var comparedDate = pickerDirection === 'left' ? leftPickerDate : rightPickerDate;\n      return today.year() === comparedDate.year() + year;\n    };\n  };\n  var isHover = function isHover(pickerDirection) {\n    return function (year) {\n      var _selectedValue2 = _slicedToArray(selectedValue, 2),\n        startDate = _selectedValue2[0],\n        endDate = _selectedValue2[1];\n      var comparedDate = getComparedDate(pickerDirection, year);\n      if (startDate && !endDate) return comparedDate.isAfter(startDate, 'year');\n      if (!startDate && endDate) return comparedDate.isBefore(endDate, 'year');\n      if (startDate && endDate) return true;\n    };\n  };\n  var isInHoverRange = function isInHoverRange(pickerDirection) {\n    return function (month) {\n      if (!isMouseEnter) {\n        return false;\n      }\n      var _selectedValue3 = _slicedToArray(selectedValue, 2),\n        startDate = _selectedValue3[0],\n        endDate = _selectedValue3[1];\n      if (!startDate || !endDate || !hoverValue[0]) return false;\n      var comparedDate = getComparedDate(pickerDirection, month);\n      if (hoverValue[0].isBefore(startDate) || hoverValue[0].isAfter(endDate)) {\n        return comparedDate.isBetween(startDate, endDate, 'day', '[]');\n      }\n      if (hoverValue[0].isBetween(startDate, endDate, 'day', '[]')) {\n        if (direction === 'end') {\n          return comparedDate.isBetween(startDate, hoverValue[0], 'day', '[]');\n        }\n        return comparedDate.isBetween(hoverValue[0], endDate, 'day', '[]');\n      }\n    };\n  };\n  var handleYearSelect = function handleYearSelect(pickerDirection) {\n    return function (year) {\n      var newObj = (0, _moment[\"default\"])(\"\".concat(year));\n      newObj = direction === 'start' ? newObj.startOf('year') : newObj.endOf('year');\n      updateSelectedValue(newObj);\n      if (newObj.year() < leftPickerDate.year() || newObj.year() > rightPickerDate.year() + 14) {\n        updateValue(direction === 'start' ? [newObj, rightPickerDate] : [leftPickerDate, newObj], 'year');\n        return;\n      }\n      updateValue([leftPickerDate, rightPickerDate]);\n    };\n  };\n  var handleMouseEnter = function handleMouseEnter(pickerDirection) {\n    return function (month) {\n      setIsMouseEnter(true);\n      var comparedDate = getComparedDate(pickerDirection, month);\n      updateHoverValue([comparedDate]);\n    };\n  };\n  var handleMouseLeave = function handleMouseLeave(direciton) {\n    return function () {\n      setIsMouseEnter(false);\n      updateHoverValue([]);\n    };\n  };\n  var handleYearRangeChange = function handleYearRangeChange(pickerDirection) {\n    return function (diff) {\n      var isChangeLeft = pickerDirection === 'left';\n      var left = leftPickerDate;\n      var right = rightPickerDate;\n      if (linkage) {\n        var _diff2 = isChangeLeft ? -YEAR_INTERVAL : YEAR_INTERVAL * 2;\n        left = left.clone().add(_diff2, 'year');\n        right = right.clone().add(_diff2, 'year');\n        updateValue([left, right], 'year');\n        return;\n      }\n      var _diff = diff < 0 ? -YEAR_INTERVAL : YEAR_INTERVAL;\n      if (isChangeLeft) {\n        left = left.clone().add(_diff, 'year');\n      } else {\n        right = right.clone().add(_diff, 'year');\n      }\n      if (left.isSame(right, 'year')) {\n        if (diff > 0) {\n          right = left.clone().add(YEAR_INTERVAL, 'year');\n        } else {\n          left = right.clone().add(-YEAR_INTERVAL, 'year');\n        }\n      }\n      updateValue([left, right], 'year');\n    };\n  };\n  var getHeaderOption = function getHeaderOption(direciton) {\n    return {\n      onYearRangeChange: handleYearRangeChange(direciton)\n    };\n  };\n  var getPickerOpiton = function getPickerOpiton(pickerDirection) {\n    return {\n      isHover: isHover(pickerDirection),\n      isToday: isToday(pickerDirection),\n      isRangeStart: isRangeStart(pickerDirection),\n      isRangeEnd: isRangeEnd(pickerDirection),\n      isInHoverRange: isInHoverRange(pickerDirection),\n      isInSelectedRange: isInSelectedRange(pickerDirection),\n      isValid: isValid(pickerDirection),\n      onMouseEnter: handleMouseEnter(pickerDirection),\n      onMouseLeave: handleMouseLeave(pickerDirection),\n      onSelect: handleYearSelect(pickerDirection)\n    };\n  };\n  var leftRange = getYearRange(leftPickerDate.year(), locale.yearFormat);\n  var rightRange = getYearRange(rightPickerDate.year(), locale.yearFormat);\n  var leftHeaderElement = /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _index[\"default\"]['year-header']\n  }, leftRange === null || leftRange === void 0 || (_leftRange$ = leftRange[0]) === null || _leftRange$ === void 0 ? void 0 : _leftRange$.replace('年', ''), \"-\", leftRange === null || leftRange === void 0 ? void 0 : leftRange[1]);\n  var rightHeaderElement = /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _index[\"default\"]['year-header']\n  }, rightRange === null || rightRange === void 0 || (_rightRange$ = rightRange[0]) === null || _rightRange$ === void 0 ? void 0 : _rightRange$.replace('年', ''), \"-\", rightRange === null || rightRange === void 0 ? void 0 : rightRange[1]);\n  if (!direction) return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_index[\"default\"]['calendar-container'], 'kd-cq-dropdown kd-cq-dropdown-date-type')\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])('kd-cq-calendar-date-range', _index[\"default\"].calendar, _index[\"default\"]['calendar-datarange'], _index[\"default\"]['calendar-datarange-left'])\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_index[\"default\"]['calendar-datarange-part'], _index[\"default\"]['calendar-datarange-left'])\n  }, /*#__PURE__*/_react[\"default\"].createElement(_CalendarHeader[\"default\"], _extends({\n    value: leftPickerDate,\n    type: type,\n    locale: locale,\n    mode: \"year\",\n    showSuperNext: !linkage,\n    showNext: false,\n    showSuperPrev: (startOption === null || startOption === void 0 ? void 0 : startOption.disabledSuperPrev) !== undefined ? !startOption.disabledSuperPrev : true,\n    showPrev: false,\n    disabledSuperPrev: leftPickerDate.year() < 1900,\n    titleElement: leftHeaderElement\n  }, getHeaderOption('left'))), /*#__PURE__*/_react[\"default\"].createElement(_YearPanel[\"default\"], _extends({\n    start: leftPickerDate.year(),\n    date: leftPickerDate,\n    value: (_selectedValue$ = selectedValue[0]) === null || _selectedValue$ === void 0 ? void 0 : _selectedValue$.clone().year()\n  }, getPickerOpiton('left')))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['calendar-month-range-separator']\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_index[\"default\"]['calendar-datarange-part'], _index[\"default\"]['calendar-datarange-right'])\n  }, /*#__PURE__*/_react[\"default\"].createElement(_CalendarHeader[\"default\"], _extends({\n    value: rightPickerDate,\n    type: type,\n    locale: locale,\n    mode: \"year\",\n    showSuperNext: (endOption === null || endOption === void 0 ? void 0 : endOption.disabledSuperNext) !== undefined ? !endOption.disabledSuperNext : true,\n    showNext: false,\n    showSuperPrev: !linkage,\n    showPrev: false,\n    titleElement: rightHeaderElement\n  }, getHeaderOption('right'))), /*#__PURE__*/_react[\"default\"].createElement(_YearPanel[\"default\"], _extends({\n    start: rightPickerDate.year(),\n    date: rightPickerDate,\n    value: (_selectedValue$2 = selectedValue[1]) === null || _selectedValue$2 === void 0 ? void 0 : _selectedValue$2.clone().year()\n  }, getPickerOpiton('right'))))));\n}\nvar _default = exports[\"default\"] = YearRangeCalendar;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/calendar/YearRangeCalendar.jsx?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/common/ColumnSelect.js":
/*!**********************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/common/ColumnSelect.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.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\");\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); }\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/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 _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _index = _interopRequireDefault(__webpack_require__(/*! ../styles/index.less */ \"./src/component/web/base/DateTimePicker/styles/index.less\"));\nvar _global = _interopRequireWildcard(__webpack_require__(/*! @/global */ \"./src/global/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 _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); }\nfunction ColumnSelect(_ref) {\n  var className = _ref.className,\n    options = _ref.options,\n    selectedIndex = _ref.selectedIndex,\n    onSelect = _ref.onSelect,\n    _ref$offSet = _ref.offSet,\n    offSet = _ref$offSet === void 0 ? 0 : _ref$offSet;\n  var selectRef = (0, _react.useRef)(null);\n  (0, _react.useEffect)(function () {\n    var select = selectRef.current;\n    var list = select.children[0];\n    if (!select) return;\n    if (list.children[selectedIndex]) {\n      select.scrollTop = list.children[selectedIndex].offsetTop + offSet;\n    } else {\n      select.scrollTop = offSet;\n    }\n  }, []);\n  (0, _react.useEffect)(function () {\n    return scrollToSelect(selectedIndex, 120);\n  }, [selectedIndex]);\n  var scrollToSelect = function scrollToSelect(index) {\n    var duration = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 120;\n    var cb = arguments.length > 2 ? arguments[2] : undefined;\n    var select = selectRef.current;\n    var list = select.children[0];\n    if (!list) return;\n    if (index < 0) index = 0;\n    var topOption = list.children[index];\n    var to = topOption.offsetTop + offSet;\n    scrollTo(select, to, duration, cb);\n  };\n  var scrollBar = _global[\"default\"][_global.IS_CHROME] ? _index[\"default\"].overlay : _index[\"default\"].auto;\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames2[\"default\"])(className, _index[\"default\"]['column-select'], scrollBar),\n    ref: selectRef\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"ul\", null, options.map(function (option, index) {\n    return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n      key: option.value,\n      className: (0, _classnames2[\"default\"])('kd-cq-dropdown-menu-item', _index[\"default\"]['time-column-list-item'], {\n        'hover-bg': selectedIndex === index,\n        'theme-bg-level1 theme-fc1': selectedIndex === index\n      }, _defineProperty(_defineProperty({}, \"kd-cq-time-column-list-item-disabled \".concat(_index[\"default\"]['time-column-list-item-disabled']), option.disabled), 'kd-hover', !option.disabled))\n      // onClick={() => scrollToSelect(index - 1, 120, () => onSelect(option))}\n      ,\n      onClick: function onClick() {\n        if (option.disabled) {\n          return;\n        }\n        onSelect(option);\n      }\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _index[\"default\"]['time-second']\n    }, option.label));\n  })));\n}\nvar scrollTo = function scrollTo(element, to, duration, cb) {\n  var requestAnimationFrame = window.requestAnimationFrame || function requestAnimationFrameTimeout() {\n    return setTimeout(arguments[0], 10);\n  };\n  if (duration <= 0) {\n    element.scrollTop = to;\n    cb && cb();\n    return;\n  }\n  var difference = to - element.scrollTop;\n  var perTick = difference / duration * 10;\n  requestAnimationFrame(function () {\n    element.scrollTop = element.scrollTop + perTick;\n    if (element.scrollTop === to) {\n      cb && cb();\n      return;\n    }\n    scrollTo(element, to, duration - 10, cb);\n  });\n};\nvar _default = exports[\"default\"] = ColumnSelect;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/common/ColumnSelect.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/date/DateInput.js":
/*!*****************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/date/DateInput.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.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-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.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.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.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.set.js */ \"../../node_modules/core-js/modules/es.set.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\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _moment = _interopRequireDefault(__webpack_require__(/*! moment */ \"../../node_modules/moment/moment.js\"));\nvar _index = _interopRequireDefault(__webpack_require__(/*! ../styles/index.less */ \"./src/component/web/base/DateTimePicker/styles/index.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 _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; }\nvar dateFormatMap = new Set(['YYYYMMDD', 'YYYY-M-D', 'YYYY-MM-DD', 'YYYY/MM/DD', 'YYYY/M/D']);\nvar dateTimeFormatMap = new Set(['YYYYMMDDHHmmss', 'YYYY-M-D HH:mm:ss', 'YYYY-MM-DD HH:mm:ss', 'YYYY/MM/DD HH:mm:ss', 'YYYY/M/D HH:mm:ss']);\nvar monthFormatMap = new Set(['YYYY-MM', 'YYYY/MM', 'YYYYMM']);\nfunction serializateMoment(dateString, format, type) {\n  var map = type === 'date' ? dateFormatMap : type === 'datetime' ? dateTimeFormatMap : type === 'month' ? monthFormatMap : dateFormatMap;\n  map.add(format);\n  var thisFormat = Array.from(map).find(function (dateFormat) {\n    return (0, _moment[\"default\"])(dateString, dateFormat, true).isValid();\n  });\n  return thisFormat ? (0, _moment[\"default\"])(dateString, thisFormat, true) : null;\n}\nfunction DateInput(_ref) {\n  var value = _ref.value,\n    format = _ref.format,\n    showClear = _ref.showClear,\n    onClear = _ref.onClear,\n    onChange = _ref.onChange,\n    locale = _ref.locale,\n    type = _ref.type;\n  var _useState = (0, _react.useState)(value),\n    _useState2 = _slicedToArray(_useState, 2),\n    inputValue = _useState2[0],\n    setInputValue = _useState2[1];\n  (0, _react.useEffect)(function () {\n    setInputValue(value);\n  }, [value]);\n  var inputChange = function inputChange(ev) {\n    setInputValue(ev.target.value);\n    if (!ev.target.value) {\n      if (onClear) onClear();\n      return;\n    }\n    var date = serializateMoment(ev.target.value, format, type);\n    if (date) onChange(date);\n    // const time = moment(ev.target.value, format, true)\n    // if (time.isValid()) onChange(time)\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['date-input']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n    value: inputValue || '',\n    onChange: inputChange\n  }), showClear && /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n    title: locale.clear,\n    className: _index[\"default\"]['date-input-clear'],\n    onClick: onClear\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: \"kdfont kdfont-guanbi8\"\n  })));\n}\nvar _default = exports[\"default\"] = DateInput;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/date/DateInput.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/date/DateTBody.js":
/*!*****************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/date/DateTBody.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.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.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.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.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/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.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _index = _interopRequireDefault(__webpack_require__(/*! ../styles/index.less */ \"./src/component/web/base/DateTimePicker/styles/index.less\"));\nvar _moment = _interopRequireDefault(__webpack_require__(/*! moment */ \"../../node_modules/moment/moment.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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); }\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; }\nvar DATE_ROW_COUNT = 6;\nvar DATE_COL_COUNT = 7;\nfunction DateTBody(props) {\n  var value = props.value,\n    hoverValue = props.hoverValue,\n    selectedValue = props.selectedValue,\n    today = props.today,\n    _props$nextMonthDateD = props.nextMonthDateDisable,\n    nextMonthDateDisable = _props$nextMonthDateD === void 0 ? false : _props$nextMonthDateD,\n    _props$prevMonthDateD = props.prevMonthDateDisable,\n    prevMonthDateDisable = _props$prevMonthDateD === void 0 ? false : _props$prevMonthDateD,\n    shadow = props.shadow,\n    onSelect = props.onSelect,\n    onHover = props.onHover,\n    onLeave = props.onLeave,\n    isValidDate = props.isValidDate,\n    firstDayOfWeek = props.firstDayOfWeek;\n  var getFirstDayOfWeek = function getFirstDayOfWeek(firstDayOfWeek) {\n    return firstDayOfWeek >= 0 && firstDayOfWeek <= 6 ? firstDayOfWeek : value.localeData().firstDayOfWeek();\n  };\n  var _firstDayOfWeek = getFirstDayOfWeek(firstDayOfWeek);\n  var date = value.clone();\n  // 取当月第一天\n  var firstDayInCurrentMonth = date.date(1);\n  // Moment#day适用于星期几\n  var lastMonthDiffDay = (firstDayInCurrentMonth.day() + 7 - _firstDayOfWeek) % 7;\n  var firstDay = date.clone().add(0 - lastMonthDiffDay, 'days');\n\n  // 判断当前日期是否可被点击\n  var dayIsDisable = function dayIsDisable(date) {\n    var isDisable = !isValidDate({\n      curDate: date\n    });\n    return isDisable;\n  };\n  var dayIsSelected = function dayIsSelected(date) {\n    if (Array.isArray(selectedValue)) {\n      if (selectedValue[0] && date.isSame(selectedValue[0], 'day')) return true;\n      if (selectedValue[1] && date.isSame(selectedValue[1], 'day')) return true;\n      return false;\n    } else {\n      return selectedValue ? date.isSame(selectedValue, 'day') : false;\n    }\n  };\n  var dayIsHover = function dayIsHover(date) {\n    if (!hoverValue || !hoverValue[0] || !hoverValue[1]) return false;\n    if (date.isBetween(hoverValue[0], hoverValue[1], 'day', '[]')) return true;\n    if (date.isBetween(hoverValue[1], hoverValue[0], 'day', '[]')) return true;\n  };\n\n  /**\n   * 判断 hover 日期是否在选中日期的范围内\n   * 已选中日期，重新开启面板进行日期修改时，新 hover 的日期需要有另外的样式\n   * @param {object} date 日期\n   */\n  var dayIsInHoverRange = function dayIsInHoverRange(date) {\n    if (!(hoverValue !== null && hoverValue !== void 0 && hoverValue[0]) || !(hoverValue !== null && hoverValue !== void 0 && hoverValue[1]) || !(selectedValue !== null && selectedValue !== void 0 && selectedValue[0]) || !(selectedValue !== null && selectedValue !== void 0 && selectedValue[1])) return [false, false, false];\n    var _hoverValue = _slicedToArray(hoverValue, 2),\n      hoverStart = _hoverValue[0],\n      hoverEnd = _hoverValue[1];\n    var _selectedValue = _slicedToArray(selectedValue, 2),\n      selectedStart = _selectedValue[0],\n      selectedEnd = _selectedValue[1];\n    var start = hoverStart.isSameOrBefore(selectedStart) ? selectedStart : hoverStart;\n    var end = hoverEnd.isSameOrAfter(selectedEnd) ? selectedEnd : hoverEnd;\n    var isRangeStart = date.isSame(hoverStart);\n    var isInRange = date.isBetween(start, end, 'day', '[]');\n    var isRangeEnd = date.isSame(hoverEnd);\n    return [isRangeStart, isInRange, isRangeEnd];\n  };\n  var dayIsToday = function dayIsToday(date) {\n    return today ? date.isSame(today, 'day') : date.isSame((0, _moment[\"default\"])(), 'day');\n  };\n  var daysEls = [];\n  for (var rowIndex = 0; rowIndex < DATE_ROW_COUNT; rowIndex++) {\n    var weekDaysEls = [];\n    var _loop = function _loop() {\n      var _classnames;\n      // 当前选项日期\n      var current = firstDay.clone().add(rowIndex * DATE_COL_COUNT + colIndex, 'days');\n\n      // 是否是上个月的日期\n      var isPrevMonthDate = current.month() > value.month() || current.year() > value.year();\n\n      // 是否是下个月的日期\n      var isNextMonthDate = current.month() < value.month() || current.year() < value.year();\n\n      // 当前选项日期是否被禁用\n      var isDisable = isPrevMonthDate && prevMonthDateDisable || isNextMonthDate && nextMonthDateDisable ? true : dayIsDisable(current);\n\n      // 是否被选中\n      var isSelected = isPrevMonthDate || isNextMonthDate || isDisable ? false : dayIsSelected(current);\n\n      // 是否是移入鼠标移入状态\n      var isHover = isPrevMonthDate || isNextMonthDate || isDisable ? false // 当前面板上一个月的日期、下一个月的日期没有移入效果\n      : dayIsHover(current) || isSelected;\n\n      // 是否是今天\n      var isToday = dayIsToday(current);\n\n      // 判断是否为选择范围\n      var isRange = Array.isArray(hoverValue) || Array.isArray(selectedValue);\n\n      // 判断是否为最后一个选中的\n      var sortedHoverValue = hoverValue && hoverValue[0] && hoverValue[1] ? hoverValue[0].isBefore(hoverValue[1]) ? [hoverValue[0], hoverValue[1]] : [hoverValue[1], hoverValue[0]] : [];\n      var isLastSelected = sortedHoverValue[1] && current.isSame(sortedHoverValue[1]) || (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue[1]) && current.isSame(selectedValue[1]);\n      // 判断是否在选中的日期的范围内，非选中的日期\n      var isInSelectedRange = (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue[0]) && (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue[1]) && current.isBetween(selectedValue[0], selectedValue[1], 'day') && value && current.isSame(value, 'month');\n      // 已选中日期，但是需要修改\n      var _dayIsInHoverRange = dayIsInHoverRange(current),\n        _dayIsInHoverRange2 = _slicedToArray(_dayIsInHoverRange, 3),\n        isRangeHoverStart = _dayIsInHoverRange2[0],\n        isInRangeHover = _dayIsInHoverRange2[1],\n        isRangeHoverEnd = _dayIsInHoverRange2[2];\n      var cellClz = (0, _classnames2[\"default\"])('kd-cq-calendar-date-cell', _index[\"default\"]['calendar-date-cell'], (_classnames = {\n        'calendar-date-cell-today': isToday\n      }, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_classnames, _index[\"default\"]['calendar-date-cell-in-view'], !isPrevMonthDate && !isNextMonthDate), 'calendar-date-cell-in-range', (isHover || isSelected || isInSelectedRange) && isRange), 'calendar-date-cell-selected', isSelected), 'calendar-date-cell-range-start', isRange && (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue[0]) && (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue[1]) && current.isSame(selectedValue[0])), 'calendar-date-cell-range-start-only', (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue[0]) && current.isSame(selectedValue[0]) && hoverValue.length === 1), 'calendar-date-cell-range-end', isRange && isLastSelected && !isPrevMonthDate && !isNextMonthDate), 'calendar-date-cell-range-end-only', (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue[1]) && current.isSame(selectedValue[1]) && hoverValue.length === 1), 'calendar-date-cell-range-hover-start', isRangeHoverStart && isInSelectedRange), 'calendar-date-cell-range-hover', isInRangeHover && isInSelectedRange), 'calendar-date-cell-range-hover-end', isRangeHoverEnd && isInSelectedRange), _defineProperty(_defineProperty(_defineProperty(_classnames, 'calendar-date-cell-disabled', isDisable), 'calendar-date-cell-hover', current.isSame(hoverValue === null || hoverValue === void 0 ? void 0 : hoverValue[0]) || current.isSame(hoverValue === null || hoverValue === void 0 ? void 0 : hoverValue[1])), _index[\"default\"]['calendar-date-cell-hover'], current.isSame(hoverValue === null || hoverValue === void 0 ? void 0 : hoverValue[0]) || current.isSame(hoverValue === null || hoverValue === void 0 ? void 0 : hoverValue[1]))));\n      var dayEl = /*#__PURE__*/_react[\"default\"].createElement(\"td\", {\n        key: current.format('YYYY-MM-DD'),\n        className: cellClz,\n        onMouseEnter: function onMouseEnter() {\n          onHover && onHover(current);\n        },\n        onMouseLeave: function onMouseLeave() {\n          onLeave && onLeave(current);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _index[\"default\"]['calendar-date-cell-inner'],\n        \"data-value\": current.date(),\n        onClick: !isDisable ? function (e) {\n          // e.stopPropagation()\n          onSelect(current);\n        } : null\n      }, current.date()));\n      weekDaysEls.push(dayEl);\n    };\n    for (var colIndex = 0; colIndex < DATE_COL_COUNT; colIndex++) {\n      _loop();\n    }\n    daysEls.push( /*#__PURE__*/_react[\"default\"].createElement(\"tr\", {\n      key: \"week_\".concat(rowIndex + 1)\n    }, weekDaysEls));\n  }\n  return /*#__PURE__*/_react[\"default\"].createElement(\"tbody\", {\n    className: _index[\"default\"]['calendar-tbody']\n  }, daysEls);\n}\nvar _default = exports[\"default\"] = DateTBody;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/date/DateTBody.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/date/DateTHead.js":
/*!*****************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/date/DateTHead.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _moment = _interopRequireDefault(__webpack_require__(/*! moment */ \"../../node_modules/moment/moment.js\"));\nvar _index = _interopRequireDefault(__webpack_require__(/*! ../styles/index.less */ \"./src/component/web/base/DateTimePicker/styles/index.less\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nvar DATE_COL_COUNT = 7;\n\n// 日期面板的星期头部 渲染之后不再触发重新渲染\nfunction DateTHead(_ref) {\n  var value = _ref.value,\n    firstDayOfWeek = _ref.firstDayOfWeek;\n  var localeData = value.localeData();\n  var getFirstDayOfWeek = function getFirstDayOfWeek(firstDayOfWeek) {\n    return firstDayOfWeek >= 0 && firstDayOfWeek <= 6 ? firstDayOfWeek : value.localeData().firstDayOfWeek();\n  };\n  firstDayOfWeek = getFirstDayOfWeek(firstDayOfWeek);\n  var now = (0, _moment[\"default\"])();\n  var veryShortWeekdays = [];\n  var weekDays = [];\n  for (var i = 0; i < DATE_COL_COUNT; i++) {\n    var index = (firstDayOfWeek + i) % DATE_COL_COUNT;\n    now.day(index);\n    veryShortWeekdays[i] = localeData.weekdaysMin(now);\n    weekDays[i] = localeData.weekdaysShort(now);\n  }\n  var weekDaysEls = weekDays.map(function (item, i) {\n    return /*#__PURE__*/_react[\"default\"].createElement(\"th\", {\n      key: i,\n      title: item\n    }, veryShortWeekdays[i]);\n  });\n  return /*#__PURE__*/_react[\"default\"].createElement(\"thead\", {\n    className: _index[\"default\"]['calendar-thead']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"tr\", null, weekDaysEls));\n}\nvar _default = exports[\"default\"] = DateTHead;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/date/DateTHead.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/date/DateTable.js":
/*!*****************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/date/DateTable.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _DateTHead = _interopRequireDefault(__webpack_require__(/*! ./DateTHead */ \"./src/component/web/base/DateTimePicker/date/DateTHead.js\"));\nvar _DateTBody = _interopRequireDefault(__webpack_require__(/*! ./DateTBody */ \"./src/component/web/base/DateTimePicker/date/DateTBody.js\"));\nvar _index = _interopRequireDefault(__webpack_require__(/*! ../styles/index.less */ \"./src/component/web/base/DateTimePicker/styles/index.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _excluded = [\"value\", \"firstDayOfWeek\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction DateTable(_ref) {\n  var value = _ref.value,\n    firstDayOfWeek = _ref.firstDayOfWeek,\n    other = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"table\", {\n    className: (0, _classnames[\"default\"])(_index[\"default\"]['calendar-table'], 'kd-cq-date-picker-calendar-item')\n  }, /*#__PURE__*/_react[\"default\"].createElement(_DateTHead[\"default\"], {\n    value: value,\n    firstDayOfWeek: firstDayOfWeek\n  }), /*#__PURE__*/_react[\"default\"].createElement(_DateTBody[\"default\"], _extends({\n    value: value,\n    firstDayOfWeek: firstDayOfWeek\n  }, other)));\n}\nvar _default = exports[\"default\"] = DateTable;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/date/DateTable.js?");

/***/ }),

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

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.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-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _moment = _interopRequireDefault(__webpack_require__(/*! moment */ \"../../node_modules/moment/moment.js\"));\nvar _MonthCalendar = _interopRequireDefault(__webpack_require__(/*! ./calendar/MonthCalendar.jsx */ \"./src/component/web/base/DateTimePicker/calendar/MonthCalendar.jsx\"));\nvar _YearCalendar = _interopRequireDefault(__webpack_require__(/*! ./calendar/YearCalendar */ \"./src/component/web/base/DateTimePicker/calendar/YearCalendar.js\"));\nvar _DateCalendar = _interopRequireDefault(__webpack_require__(/*! ./calendar/DateCalendar */ \"./src/component/web/base/DateTimePicker/calendar/DateCalendar.js\"));\nvar _TimeCalendar = _interopRequireDefault(__webpack_require__(/*! ./calendar/TimeCalendar */ \"./src/component/web/base/DateTimePicker/calendar/TimeCalendar.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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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); }\nvar Datetime = /*#__PURE__*/function (_Component) {\n  _inherits(Datetime, _Component);\n  function Datetime(props) {\n    var _this;\n    _classCallCheck(this, Datetime);\n    _this = _callSuper(this, Datetime, [props]);\n\n    // 初始化state\n    _this.viewComponents = {\n      days: _DateCalendar[\"default\"],\n      months: _MonthCalendar[\"default\"],\n      years: _YearCalendar[\"default\"],\n      time: _TimeCalendar[\"default\"]\n    };\n    _this.clearDateTime = function () {\n      _this.setState({\n        selectedValue: null\n      }, function () {\n        _this.props.clearDateTime && _this.props.clearDateTime();\n      });\n    };\n    _this.confirmDateTime = function () {\n      _this.props.confirm && _this.props.confirm();\n      // 对用户选择了年份、月份的时候直接点击确定的场景\n      _this.updateSelectValue(_this.state.value || _this.state.selectedValue || _this.props.today);\n    };\n    _this.updateValue = function (newValue) {\n      // 年份变更事件\n      if (newValue.year() !== _this.state.value.year() && _this.props.onYearChange) {\n        _this.props.onYearChange(newValue.year());\n      }\n      if (!_this.props.direction) {\n        _this.setState({\n          value: newValue.clone()\n        });\n      } else {\n        _this.setState({\n          value: newValue.clone()\n        }, function () {\n          _this.props.onViewValueChange(newValue);\n        });\n      }\n    };\n    _this.updateSelectValue = function (newValue) {\n      var closeCalendar = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n      _this.setState({\n        selectedValue: newValue.clone(),\n        value: newValue.clone()\n      }, function () {\n        var newDateObj = newValue.clone();\n        if (_this.state.currentView === 'months') {\n          newDateObj = newDateObj.set({\n            date: 1,\n            hour: 0,\n            minute: 0,\n            second: 0,\n            millisecond: 0\n          });\n        } else if (_this.state.currentView === 'years') {\n          newDateObj = newDateObj.set({\n            month: 0,\n            date: 1,\n            hour: 0,\n            minute: 0,\n            second: 0,\n            millisecond: 0\n          });\n        }\n        _this.props.onChange && _this.props.onChange(newDateObj, _this.props.direction, true);\n      });\n    };\n    var state = {};\n    var direction = props.direction,\n      today = props.today,\n      value = props.value,\n      selectedValue = props.selectedValue;\n    if (!selectedValue) {\n      state.selectedValue = value;\n    } else {\n      state.selectedValue = direction === 'right' ? selectedValue[1] : selectedValue[0];\n    }\n    state.currentView = props.viewMode;\n    _this.state = _objectSpread({\n      value: value || today\n    }, state);\n    return _this;\n  }\n  _createClass(Datetime, [{\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      if (nextProps.value && !nextProps.value.isSame(this.props.value)) {\n        this.setState({\n          value: nextProps.value || nextProps.today,\n          selectedValue: !nextProps.selectedValue ? nextProps.value : nextProps.direction === 'right' ? nextProps.selectedValue[1] : nextProps.selectedValue[0]\n        });\n      }\n    }\n  }, {\n    key: \"renderView\",\n    value: function renderView() {\n      var Component = this.viewComponents[this.state.currentView];\n      var rangeParam = this.props.direction ? {\n        prevMonthDateDisable: this.props.direction === 'right',\n        nextMonthDateDisable: this.props.direction === 'left'\n      } : {};\n      return /*#__PURE__*/_react[\"default\"].createElement(Component, _extends({}, rangeParam, {\n        showNext: this.props.showNext,\n        showPrev: this.props.showPrev,\n        locale: this.props.locale,\n        localeCode: this.props.localeCode,\n        format: this.props.format,\n        type: this.props.type,\n        isValidDate: this.props.isValidDate,\n        disabledDate: this.props.disabledDate,\n        clearDateTime: this.clearDateTime,\n        confirmDateTime: this.confirmDateTime,\n        today: this.props.today,\n        value: this.state.value,\n        minDate: this.props.minDate,\n        maxDate: this.props.maxDate,\n        selectedValue: this.state.selectedValue,\n        updateValue: this.updateValue,\n        updateSelectValue: this.updateSelectValue,\n        showInput: false,\n        showTimePicker: this.props.type === 'datetime' && /H|h|m|s|S/g.test(this.props.format),\n        showFooter: this.props.type !== 'date' && /H|h|m|s|S/g.test(this.props.format),\n        ref: this.props.ref,\n        firstDayOfWeek: this.props.firstDayOfWeek,\n        onPanelTypeChange: this.props.onPanelTypeChange\n      }));\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        key: \"dt\",\n        ref: function ref(_ref) {\n          _this2.input = _ref;\n        },\n        className: this.props.className\n      }, this.renderView());\n    }\n  }]);\n  return Datetime;\n}(_react.Component);\nDatetime.propTypes = {\n  onChange: _propTypes[\"default\"].func,\n  viewMode: _propTypes[\"default\"].oneOf(['years', 'months', 'days', 'time']),\n  isValidDate: _propTypes[\"default\"].func,\n  getPopupPanel: _propTypes[\"default\"].func,\n  // 供调用者获取日期面板Dom对象接口\n  close: _propTypes[\"default\"].func // 关闭当前面板 *\n};\nDatetime.defaultProps = {\n  // 表格调用-特定业务(传递dom给表格，dom点击时候表格不关闭当前控件)\n  getPopupPanel: function getPopupPanel() {},\n  // 是否显示头部下一个箭头\n  showNext: true,\n  // 是否显示头部上一个箭头\n  showPrev: true\n};\nDatetime.moment = _moment[\"default\"];\nvar _default = exports[\"default\"] = Datetime;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/index.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/ar_EG.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/ar_EG.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'اليوم',\n  now: 'الأن',\n  backToToday: 'العودة إلى اليوم',\n  ok: 'تأكيد',\n  clear: 'مسح',\n  month: 'الشهر',\n  year: 'السنة',\n  timeSelect: 'اختيار الوقت',\n  dateSelect: 'اختيار التاريخ',\n  monthSelect: 'اختيار الشهر',\n  yearSelect: 'اختيار السنة',\n  decadeSelect: 'اختيار العقد',\n  yearFormat: 'YYYY',\n  dateFormat: 'M/D/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'M/D/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'الشهر السابق (PageUp)',\n  nextMonth: 'الشهر التالى(PageDown)',\n  previousYear: 'العام السابق (Control + left)',\n  nextYear: 'العام التالى (Control + right)',\n  previousDecade: 'العقد السابق',\n  nextDecade: 'العقد التالى',\n  previousCentury: 'القرن السابق',\n  nextCentury: 'القرن التالى'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/ar_EG.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/bg_BG.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/bg_BG.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Днес',\n  now: 'Сега',\n  backToToday: 'Към днес',\n  ok: 'Добре',\n  clear: 'Изчистване',\n  month: 'Месец',\n  year: 'Година',\n  timeSelect: 'Избор на час',\n  dateSelect: 'Избор на дата',\n  monthSelect: 'Избор на месец',\n  yearSelect: 'Избор на година',\n  decadeSelect: 'Десетилетие',\n  yearFormat: 'YYYY',\n  dateFormat: 'D M YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D M YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Предишен месец (PageUp)',\n  nextMonth: 'Следващ месец (PageDown)',\n  previousYear: 'Последна година (Control + left)',\n  nextYear: 'Следваща година (Control + right)',\n  previousDecade: 'Предишно десетилетие',\n  nextDecade: 'Следващо десетилетие',\n  previousCentury: 'Последен век',\n  nextCentury: 'Следващ век'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/bg_BG.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/ca_ES.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/ca_ES.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Avui',\n  now: 'Ara',\n  backToToday: 'Tornar a avui',\n  ok: 'Acceptar',\n  clear: 'Netejar',\n  month: 'Mes',\n  year: 'Any',\n  timeSelect: 'Seleccionar hora',\n  dateSelect: 'Seleccionar data',\n  monthSelect: 'Escollir un mes',\n  yearSelect: 'Escollir un any',\n  decadeSelect: 'Escollir una dècada',\n  yearFormat: 'YYYY',\n  dateFormat: 'D/M/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D/M/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Mes anterior (PageUp)',\n  nextMonth: 'Mes següent (PageDown)',\n  previousYear: 'Any anterior (Control + left)',\n  nextYear: 'Mes següent (Control + right)',\n  previousDecade: 'Dècada anterior',\n  nextDecade: 'Dècada següent',\n  previousCentury: 'Segle anterior',\n  nextCentury: 'Segle següent'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/ca_ES.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/cs_CZ.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/cs_CZ.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Dnes',\n  now: 'Nyní',\n  backToToday: 'Zpět na dnešek',\n  ok: 'Ok',\n  clear: 'Vymazat',\n  month: 'Měsíc',\n  year: 'Rok',\n  timeSelect: 'Vybrat čas',\n  dateSelect: 'Vybrat datum',\n  monthSelect: 'Vyberte měsíc',\n  yearSelect: 'Vyberte rok',\n  decadeSelect: 'Vyberte dekádu',\n  yearFormat: 'YYYY',\n  dateFormat: 'D.M.YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D.M.YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Předchozí měsíc (PageUp)',\n  nextMonth: 'Následující (PageDown)',\n  previousYear: 'Předchozí rok (Control + left)',\n  nextYear: 'Následující rok (Control + right)',\n  previousDecade: 'Předchozí dekáda',\n  nextDecade: 'Následující dekáda',\n  previousCentury: 'Předchozí století',\n  nextCentury: 'Následující století'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/cs_CZ.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/da_DK.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/da_DK.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'I dag',\n  now: 'Nu',\n  backToToday: 'Gå til i dag',\n  ok: 'Ok',\n  clear: 'Annuller',\n  month: 'Måned',\n  year: 'År',\n  timeSelect: 'Vælg tidspunkt',\n  dateSelect: 'Vælg dato',\n  monthSelect: 'Vælg måned',\n  yearSelect: 'Vælg år',\n  decadeSelect: 'Vælg årti',\n  yearFormat: 'YYYY',\n  dateFormat: 'D/M/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D/M/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Forrige måned(PageUp)',\n  nextMonth: 'Næste måned (PageDown)',\n  previousYear: 'Forrige år (Control + left)',\n  nextYear: 'Næste r (Control + right)',\n  previousDecade: 'Forrige årti',\n  nextDecade: 'Næste årti',\n  previousCentury: 'Forrige århundrede',\n  nextCentury: 'Næste århundrede'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/da_DK.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/de_DE.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/de_DE.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Heute',\n  now: 'Jetzt',\n  backToToday: 'Zurück zu Heute',\n  ok: 'OK',\n  clear: 'Zurücksetzen',\n  month: 'Monat',\n  year: 'Jahr',\n  timeSelect: 'Zeit wählen',\n  dateSelect: 'Datum wählen',\n  monthSelect: 'Wähle einen Monat',\n  yearSelect: 'Wähle ein Jahr',\n  decadeSelect: 'Wähle ein Jahrzehnt',\n  yearFormat: 'YYYY',\n  dateFormat: 'D.M.YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D.M.YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Vorheriger Monat (PageUp)',\n  nextMonth: 'Nächster Monat (PageDown)',\n  previousYear: 'Vorheriges Jahr (Ctrl + left)',\n  nextYear: 'Nächstes Jahr (Ctrl + right)',\n  previousDecade: 'Vorheriges Jahrzehnt',\n  nextDecade: 'Nächstes Jahrzehnt',\n  previousCentury: 'Vorheriges Jahrhundert',\n  nextCentury: 'Nächstes Jahrhundert',\n  collapse: 'Zusammenbruch'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/de_DE.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/el_GR.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/el_GR.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Σήμερα',\n  now: 'Τώρα',\n  backToToday: 'Πίσω στη σημερινή μέρα',\n  ok: 'Ok',\n  clear: 'Καθαρισμός',\n  month: 'Μήνας',\n  year: 'Έτος',\n  timeSelect: 'Επιλογή ώρας',\n  dateSelect: 'Επιλογή ημερομηνίας',\n  monthSelect: 'Επιλογή μήνα',\n  yearSelect: 'Επιλογή έτους',\n  decadeSelect: 'Επιλογή δεκαετίας',\n  yearFormat: 'YYYY',\n  dateFormat: 'D/M/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D/M/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Προηγούμενος μήνας (PageUp)',\n  nextMonth: 'Επόμενος μήνας (PageDown)',\n  previousYear: 'Προηγούμενο έτος (Control + αριστερά)',\n  nextYear: 'Επόμενο έτος (Control + δεξιά)',\n  previousDecade: 'Προηγούμενη δεκαετία',\n  nextDecade: 'Επόμενη δεκαετία',\n  previousCentury: 'Προηγούμενος αιώνας',\n  nextCentury: 'Επόμενος αιώνας'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/el_GR.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/en_GB.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/en_GB.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Today',\n  now: 'Now',\n  backToToday: 'Back to today',\n  ok: 'Ok',\n  clear: 'Clear',\n  month: 'Month',\n  year: 'Year',\n  timeSelect: 'Select time',\n  dateSelect: 'Select date',\n  monthSelect: 'Choose a month',\n  yearSelect: 'Choose a year',\n  decadeSelect: 'Choose a decade',\n  yearFormat: 'YYYY',\n  dateFormat: 'D/M/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D/M/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Previous month (PageUp)',\n  nextMonth: 'Next month (PageDown)',\n  previousYear: 'Last year (Control + left)',\n  nextYear: 'Next year (Control + right)',\n  previousDecade: 'Last decade',\n  nextDecade: 'Next decade',\n  previousCentury: 'Last century',\n  nextCentury: 'Next century',\n  collapse: 'Collapse'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/en_GB.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/en_US.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/en_US.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Today',\n  now: 'Now',\n  backToToday: 'Back to today',\n  ok: 'OK',\n  clear: 'Clear',\n  month: 'Month',\n  year: 'Year',\n  timeSelect: 'Select Time',\n  dateSelect: 'select date',\n  weekSelect: 'Choose a week',\n  monthSelect: 'Choose a month',\n  yearSelect: 'Choose a year',\n  decadeSelect: 'Choose a decade',\n  yearFormat: 'YYYY',\n  dateFormat: 'M/D/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'M/D/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Previous month (PageUp)',\n  nextMonth: 'Next month (PageDown)',\n  previousYear: 'Last year (Control + left)',\n  nextYear: 'Next year (Control + right)',\n  previousDecade: 'Last decade',\n  nextDecade: 'Next decade',\n  previousCentury: 'Last century',\n  nextCentury: 'Next century',\n  collapse: 'Collapse'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/en_US.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/es_ES.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/es_ES.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Hoy',\n  now: 'Ahora',\n  backToToday: 'Volver a hoy',\n  ok: 'Aceptar',\n  clear: 'Limpiar',\n  month: 'Mes',\n  year: 'Año',\n  timeSelect: 'Seleccionar hora',\n  dateSelect: 'Seleccionar fecha',\n  monthSelect: 'Elegir un mes',\n  yearSelect: 'Elegir un año',\n  decadeSelect: 'Elegir una década',\n  yearFormat: 'YYYY',\n  dateFormat: 'D/M/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D/M/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Mes anterior (PageUp)',\n  nextMonth: 'Mes siguiente (PageDown)',\n  previousYear: 'Año anterior (Control + left)',\n  nextYear: 'Año siguiente (Control + right)',\n  previousDecade: 'Década anterior',\n  nextDecade: 'Década siguiente',\n  previousCentury: 'Siglo anterior',\n  nextCentury: 'Siglo siguiente',\n  collapse: 'Colapso'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/es_ES.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/et_EE.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/et_EE.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Täna',\n  now: 'Praegu',\n  backToToday: 'Tagasi tänase juurde',\n  ok: 'Ok',\n  clear: 'Tühista',\n  month: 'Kuu',\n  year: 'Aasta',\n  timeSelect: 'Vali aeg',\n  dateSelect: 'Vali kuupäev',\n  monthSelect: 'Vali kuu',\n  yearSelect: 'Vali aasta',\n  decadeSelect: 'Vali dekaad',\n  yearFormat: 'YYYY',\n  dateFormat: 'D.M.YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D.M.YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Eelmine kuu (PageUp)',\n  nextMonth: 'Järgmine kuu (PageDown)',\n  previousYear: 'Eelmine aasta (Control + left)',\n  nextYear: 'Järgmine aasta (Control + right)',\n  previousDecade: 'Eelmine dekaad',\n  nextDecade: 'Järgmine dekaad',\n  previousCentury: 'Eelmine sajand',\n  nextCentury: 'Järgmine sajand'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/et_EE.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/fa_IR.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/fa_IR.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'امروز',\n  now: 'اکنون',\n  backToToday: 'بازگشت به روز',\n  ok: 'باشه',\n  clear: 'پاک کردن',\n  month: 'ماه',\n  year: 'سال',\n  timeSelect: 'انتخاب زمان',\n  dateSelect: 'انتخاب تاریخ',\n  monthSelect: 'یک ماه را انتخاب کنید',\n  yearSelect: 'یک سال را انتخاب کنید',\n  decadeSelect: 'یک دهه را انتخاب کنید',\n  yearFormat: 'YYYY',\n  dateFormat: 'M/D/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'M/D/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'ماه قبل (PageUp)',\n  nextMonth: 'ماه بعد (PageDown)',\n  previousYear: 'سال قبل (Control + left)',\n  nextYear: 'سال بعد (Control + right)',\n  previousDecade: 'دهه قبل',\n  nextDecade: 'دهه بعد',\n  previousCentury: 'قرن قبل',\n  nextCentury: 'قرن بعد'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/fa_IR.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/fi_FI.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/fi_FI.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Tänään',\n  now: 'Nyt',\n  backToToday: 'Tämä päivä',\n  ok: 'Ok',\n  clear: 'Tyhjennä',\n  month: 'Kuukausi',\n  year: 'Vuosi',\n  timeSelect: 'Valise aika',\n  dateSelect: 'Valitse päivä',\n  monthSelect: 'Valitse kuukausi',\n  yearSelect: 'Valitse vuosi',\n  decadeSelect: 'Valitse vuosikymmen',\n  yearFormat: 'YYYY',\n  dateFormat: 'D.M.YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D.M.YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Edellinen kuukausi (PageUp)',\n  nextMonth: 'Seuraava kuukausi (PageDown)',\n  previousYear: 'Edellinen vuosi (Control + left)',\n  nextYear: 'Seuraava vuosi (Control + right)',\n  previousDecade: 'Edellinen vuosikymmen',\n  nextDecade: 'Seuraava vuosikymmen',\n  previousCentury: 'Edellinen vuosisata',\n  nextCentury: 'Seuraava vuosisata'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/fi_FI.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/fr_BE.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/fr_BE.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Aujourd\\'hui',\n  now: 'Maintenant',\n  backToToday: 'Aujourd\\'hui',\n  ok: 'Ok',\n  clear: 'Rétablir',\n  month: 'Mois',\n  year: 'Année',\n  timeSelect: 'Sélectionner l\\'heure',\n  dateSelect: 'Sélectionner l\\'heure',\n  monthSelect: 'Choisissez un mois',\n  yearSelect: 'Choisissez une année',\n  decadeSelect: 'Choisissez une décennie',\n  yearFormat: 'YYYY',\n  dateFormat: 'D/M/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D/M/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Mois précédent (PageUp)',\n  nextMonth: 'Mois suivant (PageDown)',\n  previousYear: 'Année précédente (Ctrl + gauche)',\n  nextYear: 'Année prochaine (Ctrl + droite)',\n  previousDecade: 'Décennie précédente',\n  nextDecade: 'Décennie suivante',\n  previousCentury: 'Siècle précédent',\n  nextCentury: 'Siècle suivant',\n  collapse: 'Effondrer'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/fr_BE.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/fr_FR.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/fr_FR.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Aujourd\\'hui',\n  now: 'Maintenant',\n  backToToday: 'Aujourd\\'hui',\n  ok: 'Ok',\n  clear: 'Rétablir',\n  month: 'Mois',\n  year: 'Année',\n  timeSelect: 'Sélectionner l\\'heure',\n  dateSelect: 'Sélectionner la date',\n  monthSelect: 'Choisissez un mois',\n  yearSelect: 'Choisissez une année',\n  decadeSelect: 'Choisissez une décennie',\n  yearFormat: 'YYYY',\n  dateFormat: 'DD/MM/YYYY',\n  dayFormat: 'DD',\n  dateTimeFormat: 'DD/MM/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Mois précédent (PageUp)',\n  nextMonth: 'Mois suivant (PageDown)',\n  previousYear: 'Année précédente (Ctrl + gauche)',\n  nextYear: 'Année prochaine (Ctrl + droite)',\n  previousDecade: 'Décennie précédente',\n  nextDecade: 'Décennie suivante',\n  previousCentury: 'Siècle précédent',\n  nextCentury: 'Siècle suivant',\n  collapse: 'Effondrer'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/fr_FR.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/he_IL.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/he_IL.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'היום',\n  now: 'עכשיו',\n  backToToday: 'חזור להיום',\n  ok: 'אישור',\n  clear: 'איפוס',\n  month: 'חודש',\n  year: 'שנה',\n  timeSelect: 'בחר שעה',\n  dateSelect: 'בחר תאריך',\n  weekSelect: 'בחר שבוע',\n  monthSelect: 'בחר חודש',\n  yearSelect: 'בחר שנה',\n  decadeSelect: 'בחר עשור',\n  yearFormat: 'YYYY',\n  dateFormat: 'M/D/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'M/D/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'חודש קודם (PageUp)',\n  nextMonth: 'חודש הבא (PageDown)',\n  previousYear: 'שנה שעברה (Control + left)',\n  nextYear: 'שנה הבאה (Control + right)',\n  previousDecade: 'העשור הקודם',\n  nextDecade: 'העשור הבא',\n  previousCentury: 'המאה הקודמת',\n  nextCentury: 'המאה הבאה'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/he_IL.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/hu_HU.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/hu_HU.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Ma',\n  // 'Today',\n  now: 'Most',\n  // 'Now',\n  backToToday: 'Vissza a mai napra',\n  // 'Back to today',\n  ok: 'Ok',\n  clear: 'Törlés',\n  // 'Clear',\n  month: 'Hónap',\n  // 'Month',\n  year: 'Év',\n  // 'Year',\n  timeSelect: 'Időpont kiválasztása',\n  // 'Select time',\n  dateSelect: 'Dátum kiválasztása',\n  // 'Select date',\n  monthSelect: 'Hónap kiválasztása',\n  // 'Choose a month',\n  yearSelect: 'Év kiválasztása',\n  // 'Choose a year',\n  decadeSelect: 'Évtized kiválasztása',\n  // 'Choose a decade',\n  yearFormat: 'YYYY',\n  dateFormat: 'YYYY/MM/DD',\n  // 'M/D/YYYY',\n  dayFormat: 'DD',\n  // 'D',\n  dateTimeFormat: 'YYYY/MM/DD HH:mm:ss',\n  // 'M/D/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Előző hónap (PageUp)',\n  // 'Previous month (PageUp)',\n  nextMonth: 'Következő hónap (PageDown)',\n  // 'Next month (PageDown)',\n  previousYear: 'Múlt év (Control + left)',\n  // 'Last year (Control + left)',\n  nextYear: 'Jövő év (Control + right)',\n  // 'Next year (Control + right)',\n  previousDecade: 'Előző évtized',\n  // 'Last decade',\n  nextDecade: 'Következő évtized',\n  // 'Next decade',\n  previousCentury: 'Múlt évszázad',\n  // 'Last century',\n  nextCentury: 'Jövő évszázad' // 'Next century',\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/hu_HU.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/id_ID.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/id_ID.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Hari ini',\n  now: 'Sekarang',\n  backToToday: 'Kembali ke hari ini',\n  ok: 'Baik',\n  clear: 'Bersih',\n  month: 'Bulan',\n  year: 'Tahun',\n  timeSelect: 'pilih waktu',\n  dateSelect: 'pilih tanggal',\n  weekSelect: 'Pilih satu minggu',\n  monthSelect: 'Pilih satu bulan',\n  yearSelect: 'Pilih satu tahun',\n  decadeSelect: 'Pilih satu dekade',\n  yearFormat: 'YYYY',\n  dateFormat: 'M/D/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'M/D/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Bulan sebelumnya (PageUp)',\n  nextMonth: 'Bulan depan (PageDown)',\n  previousYear: 'Tahun lalu (Control + kiri)',\n  nextYear: 'Tahun depan (Kontrol + kanan)',\n  previousDecade: 'Dekade terakhir',\n  nextDecade: 'Dekade berikutnya',\n  previousCentury: 'Abad terakhir',\n  nextCentury: 'Abad berikutnya',\n  collapse: 'Jatuh'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/id_ID.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/index.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/index.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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}));\nObject.defineProperty(exports, \"ar_EG\", ({\n  enumerable: true,\n  get: function get() {\n    return _ar_EG[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"bg_BG\", ({\n  enumerable: true,\n  get: function get() {\n    return _bg_BG[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"ca_ES\", ({\n  enumerable: true,\n  get: function get() {\n    return _ca_ES[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"cs_CZ\", ({\n  enumerable: true,\n  get: function get() {\n    return _cs_CZ[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"da_DK\", ({\n  enumerable: true,\n  get: function get() {\n    return _da_DK[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"de_DE\", ({\n  enumerable: true,\n  get: function get() {\n    return _de_DE[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"el_GR\", ({\n  enumerable: true,\n  get: function get() {\n    return _el_GR[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"en_GB\", ({\n  enumerable: true,\n  get: function get() {\n    return _en_GB[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"en_US\", ({\n  enumerable: true,\n  get: function get() {\n    return _en_US[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"es_ES\", ({\n  enumerable: true,\n  get: function get() {\n    return _es_ES[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"et_EE\", ({\n  enumerable: true,\n  get: function get() {\n    return _et_EE[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"fa_IR\", ({\n  enumerable: true,\n  get: function get() {\n    return _fa_IR[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"fi_FI\", ({\n  enumerable: true,\n  get: function get() {\n    return _fi_FI[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"fr_BE\", ({\n  enumerable: true,\n  get: function get() {\n    return _fr_BE[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"fr_FR\", ({\n  enumerable: true,\n  get: function get() {\n    return _fr_FR[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"he_IL\", ({\n  enumerable: true,\n  get: function get() {\n    return _he_IL[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"hu_HU\", ({\n  enumerable: true,\n  get: function get() {\n    return _hu_HU[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"id_ID\", ({\n  enumerable: true,\n  get: function get() {\n    return _id_ID[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"is_IS\", ({\n  enumerable: true,\n  get: function get() {\n    return _is_IS[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"it_IT\", ({\n  enumerable: true,\n  get: function get() {\n    return _it_IT[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"ja_JP\", ({\n  enumerable: true,\n  get: function get() {\n    return _ja_JP[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"ko_KR\", ({\n  enumerable: true,\n  get: function get() {\n    return _ko_KR[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"ku_IQ\", ({\n  enumerable: true,\n  get: function get() {\n    return _ku_IQ[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"mm_MM\", ({\n  enumerable: true,\n  get: function get() {\n    return _mm_MM[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"mn_MN\", ({\n  enumerable: true,\n  get: function get() {\n    return _mn_MN[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"nb_NO\", ({\n  enumerable: true,\n  get: function get() {\n    return _nb_NO[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"nl_BE\", ({\n  enumerable: true,\n  get: function get() {\n    return _nl_BE[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"nl_NL\", ({\n  enumerable: true,\n  get: function get() {\n    return _nl_NL[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"pl_PL\", ({\n  enumerable: true,\n  get: function get() {\n    return _pl_PL[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"pt_BR\", ({\n  enumerable: true,\n  get: function get() {\n    return _pt_BR[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"pt_PT\", ({\n  enumerable: true,\n  get: function get() {\n    return _pt_PT[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"ru_RU\", ({\n  enumerable: true,\n  get: function get() {\n    return _ru_RU[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"sk_SK\", ({\n  enumerable: true,\n  get: function get() {\n    return _sk_SK[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"sl_SI\", ({\n  enumerable: true,\n  get: function get() {\n    return _sl_SI[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"sr_RS\", ({\n  enumerable: true,\n  get: function get() {\n    return _sr_RS[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"sv_SE\", ({\n  enumerable: true,\n  get: function get() {\n    return _sv_SE[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"th_TH\", ({\n  enumerable: true,\n  get: function get() {\n    return _th_TH[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"tr_TR\", ({\n  enumerable: true,\n  get: function get() {\n    return _tr_TR[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"ug_CN\", ({\n  enumerable: true,\n  get: function get() {\n    return _ug_CN[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"uk_UA\", ({\n  enumerable: true,\n  get: function get() {\n    return _uk_UA[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"vi_VN\", ({\n  enumerable: true,\n  get: function get() {\n    return _vi_VN[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"zh_CN\", ({\n  enumerable: true,\n  get: function get() {\n    return _zh_CN[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"zh_TW\", ({\n  enumerable: true,\n  get: function get() {\n    return _zh_TW[\"default\"];\n  }\n}));\nvar _ar_EG = _interopRequireDefault(__webpack_require__(/*! ./ar_EG */ \"./src/component/web/base/DateTimePicker/locale/ar_EG.js\"));\nvar _bg_BG = _interopRequireDefault(__webpack_require__(/*! ./bg_BG */ \"./src/component/web/base/DateTimePicker/locale/bg_BG.js\"));\nvar _ca_ES = _interopRequireDefault(__webpack_require__(/*! ./ca_ES */ \"./src/component/web/base/DateTimePicker/locale/ca_ES.js\"));\nvar _cs_CZ = _interopRequireDefault(__webpack_require__(/*! ./cs_CZ */ \"./src/component/web/base/DateTimePicker/locale/cs_CZ.js\"));\nvar _da_DK = _interopRequireDefault(__webpack_require__(/*! ./da_DK */ \"./src/component/web/base/DateTimePicker/locale/da_DK.js\"));\nvar _de_DE = _interopRequireDefault(__webpack_require__(/*! ./de_DE */ \"./src/component/web/base/DateTimePicker/locale/de_DE.js\"));\nvar _el_GR = _interopRequireDefault(__webpack_require__(/*! ./el_GR */ \"./src/component/web/base/DateTimePicker/locale/el_GR.js\"));\nvar _en_GB = _interopRequireDefault(__webpack_require__(/*! ./en_GB */ \"./src/component/web/base/DateTimePicker/locale/en_GB.js\"));\nvar _en_US = _interopRequireDefault(__webpack_require__(/*! ./en_US */ \"./src/component/web/base/DateTimePicker/locale/en_US.js\"));\nvar _es_ES = _interopRequireDefault(__webpack_require__(/*! ./es_ES */ \"./src/component/web/base/DateTimePicker/locale/es_ES.js\"));\nvar _et_EE = _interopRequireDefault(__webpack_require__(/*! ./et_EE */ \"./src/component/web/base/DateTimePicker/locale/et_EE.js\"));\nvar _fa_IR = _interopRequireDefault(__webpack_require__(/*! ./fa_IR */ \"./src/component/web/base/DateTimePicker/locale/fa_IR.js\"));\nvar _fi_FI = _interopRequireDefault(__webpack_require__(/*! ./fi_FI */ \"./src/component/web/base/DateTimePicker/locale/fi_FI.js\"));\nvar _fr_BE = _interopRequireDefault(__webpack_require__(/*! ./fr_BE */ \"./src/component/web/base/DateTimePicker/locale/fr_BE.js\"));\nvar _fr_FR = _interopRequireDefault(__webpack_require__(/*! ./fr_FR */ \"./src/component/web/base/DateTimePicker/locale/fr_FR.js\"));\nvar _he_IL = _interopRequireDefault(__webpack_require__(/*! ./he_IL */ \"./src/component/web/base/DateTimePicker/locale/he_IL.js\"));\nvar _hu_HU = _interopRequireDefault(__webpack_require__(/*! ./hu_HU */ \"./src/component/web/base/DateTimePicker/locale/hu_HU.js\"));\nvar _id_ID = _interopRequireDefault(__webpack_require__(/*! ./id_ID */ \"./src/component/web/base/DateTimePicker/locale/id_ID.js\"));\nvar _is_IS = _interopRequireDefault(__webpack_require__(/*! ./is_IS */ \"./src/component/web/base/DateTimePicker/locale/is_IS.js\"));\nvar _it_IT = _interopRequireDefault(__webpack_require__(/*! ./it_IT */ \"./src/component/web/base/DateTimePicker/locale/it_IT.js\"));\nvar _ja_JP = _interopRequireDefault(__webpack_require__(/*! ./ja_JP */ \"./src/component/web/base/DateTimePicker/locale/ja_JP.js\"));\nvar _ko_KR = _interopRequireDefault(__webpack_require__(/*! ./ko_KR */ \"./src/component/web/base/DateTimePicker/locale/ko_KR.js\"));\nvar _ku_IQ = _interopRequireDefault(__webpack_require__(/*! ./ku_IQ */ \"./src/component/web/base/DateTimePicker/locale/ku_IQ.js\"));\nvar _mm_MM = _interopRequireDefault(__webpack_require__(/*! ./mm_MM */ \"./src/component/web/base/DateTimePicker/locale/mm_MM.js\"));\nvar _mn_MN = _interopRequireDefault(__webpack_require__(/*! ./mn_MN */ \"./src/component/web/base/DateTimePicker/locale/mn_MN.js\"));\nvar _nb_NO = _interopRequireDefault(__webpack_require__(/*! ./nb_NO */ \"./src/component/web/base/DateTimePicker/locale/nb_NO.js\"));\nvar _nl_BE = _interopRequireDefault(__webpack_require__(/*! ./nl_BE */ \"./src/component/web/base/DateTimePicker/locale/nl_BE.js\"));\nvar _nl_NL = _interopRequireDefault(__webpack_require__(/*! ./nl_NL */ \"./src/component/web/base/DateTimePicker/locale/nl_NL.js\"));\nvar _pl_PL = _interopRequireDefault(__webpack_require__(/*! ./pl_PL */ \"./src/component/web/base/DateTimePicker/locale/pl_PL.js\"));\nvar _pt_BR = _interopRequireDefault(__webpack_require__(/*! ./pt_BR */ \"./src/component/web/base/DateTimePicker/locale/pt_BR.js\"));\nvar _pt_PT = _interopRequireDefault(__webpack_require__(/*! ./pt_PT */ \"./src/component/web/base/DateTimePicker/locale/pt_PT.js\"));\nvar _ru_RU = _interopRequireDefault(__webpack_require__(/*! ./ru_RU */ \"./src/component/web/base/DateTimePicker/locale/ru_RU.js\"));\nvar _sk_SK = _interopRequireDefault(__webpack_require__(/*! ./sk_SK */ \"./src/component/web/base/DateTimePicker/locale/sk_SK.js\"));\nvar _sl_SI = _interopRequireDefault(__webpack_require__(/*! ./sl_SI */ \"./src/component/web/base/DateTimePicker/locale/sl_SI.js\"));\nvar _sr_RS = _interopRequireDefault(__webpack_require__(/*! ./sr_RS */ \"./src/component/web/base/DateTimePicker/locale/sr_RS.js\"));\nvar _sv_SE = _interopRequireDefault(__webpack_require__(/*! ./sv_SE */ \"./src/component/web/base/DateTimePicker/locale/sv_SE.js\"));\nvar _th_TH = _interopRequireDefault(__webpack_require__(/*! ./th_TH */ \"./src/component/web/base/DateTimePicker/locale/th_TH.js\"));\nvar _tr_TR = _interopRequireDefault(__webpack_require__(/*! ./tr_TR */ \"./src/component/web/base/DateTimePicker/locale/tr_TR.js\"));\nvar _ug_CN = _interopRequireDefault(__webpack_require__(/*! ./ug_CN */ \"./src/component/web/base/DateTimePicker/locale/ug_CN.js\"));\nvar _uk_UA = _interopRequireDefault(__webpack_require__(/*! ./uk_UA */ \"./src/component/web/base/DateTimePicker/locale/uk_UA.js\"));\nvar _vi_VN = _interopRequireDefault(__webpack_require__(/*! ./vi_VN */ \"./src/component/web/base/DateTimePicker/locale/vi_VN.js\"));\nvar _zh_CN = _interopRequireDefault(__webpack_require__(/*! ./zh_CN */ \"./src/component/web/base/DateTimePicker/locale/zh_CN.js\"));\nvar _zh_TW = _interopRequireDefault(__webpack_require__(/*! ./zh_TW */ \"./src/component/web/base/DateTimePicker/locale/zh_TW.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/index.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/is_IS.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/is_IS.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Í dag',\n  now: 'Núna',\n  backToToday: 'Til baka til dagsins í dag',\n  ok: 'Í lagi',\n  clear: 'Hreinsa',\n  month: 'Mánuður',\n  year: 'Ár',\n  timeSelect: 'Velja tíma',\n  dateSelect: 'Velja dag',\n  monthSelect: 'Velja mánuð',\n  yearSelect: 'Velja ár',\n  decadeSelect: 'Velja áratug',\n  yearFormat: 'YYYY',\n  dateFormat: 'D/M/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D/M/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Fyrri mánuður (PageUp)',\n  nextMonth: 'Næsti mánuður (PageDown)',\n  previousYear: 'Fyrra ár (Control + left)',\n  nextYear: 'Næsta ár (Control + right)',\n  previousDecade: 'Fyrri áratugur',\n  nextDecade: 'Næsti áratugur',\n  previousCentury: 'Fyrri öld',\n  nextCentury: 'Næsta öld'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/is_IS.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/it_IT.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/it_IT.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Oggi',\n  now: 'Adesso',\n  backToToday: 'Torna ad oggi',\n  ok: 'Ok',\n  clear: 'Cancella',\n  month: 'Mese',\n  year: 'Anno',\n  timeSelect: 'Seleziona l\\'ora',\n  dateSelect: 'Seleziona la data',\n  monthSelect: 'Seleziona il mese',\n  yearSelect: 'Seleziona l\\'anno',\n  decadeSelect: 'Seleziona il decennio',\n  yearFormat: 'YYYY',\n  dateFormat: 'D/M/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D/M/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Il mese scorso (PageUp)',\n  nextMonth: 'Il prossimo mese (PageDown)',\n  previousYear: 'L\\'anno scorso (Control + sinistra)',\n  nextYear: 'L\\'anno prossimo (Control + destra)',\n  previousDecade: 'Ultimo decennio',\n  nextDecade: 'Prossimo decennio',\n  previousCentury: 'Secolo precedente',\n  nextCentury: 'Prossimo secolo',\n  collapse: 'Crollo'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/it_IT.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/ja_JP.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/ja_JP.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: '今日',\n  now: '現在時刻',\n  backToToday: '今日に戻る',\n  ok: '決定',\n  timeSelect: '時間を選択',\n  dateSelect: '日時を選択',\n  clear: 'クリア',\n  month: '月',\n  year: '年',\n  previousMonth: '前月 (ページアップキー)',\n  nextMonth: '翌月 (ページダウンキー)',\n  monthSelect: '月を選択',\n  yearSelect: '年を選択',\n  decadeSelect: '年代を選択',\n  yearFormat: 'YYYY年',\n  dayFormat: 'D日',\n  dateFormat: 'YYYY年M月D日',\n  dateTimeFormat: 'YYYY年M月D日 HH時mm分ss秒',\n  previousYear: '前年 (Controlを押しながら左キー)',\n  nextYear: '翌年 (Controlを押しながら右キー)',\n  previousDecade: '前の年代',\n  nextDecade: '次の年代',\n  previousCentury: '前の世紀',\n  nextCentury: '次の世紀',\n  collapse: '崩壊'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/ja_JP.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/ko_KR.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/ko_KR.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: '오늘',\n  now: '현재 시각',\n  backToToday: '오늘로 돌아가기',\n  ok: '확인',\n  clear: '지우기',\n  month: '월',\n  year: '년',\n  timeSelect: '시간 선택',\n  dateSelect: '날짜 선택',\n  monthSelect: '달 선택',\n  yearSelect: '연 선택',\n  decadeSelect: '연대 선택',\n  yearFormat: 'YYYY년',\n  dateFormat: 'YYYY-MM-DD',\n  dayFormat: 'Do',\n  dateTimeFormat: 'YYYY-MM-DD HH:mm:ss',\n  monthBeforeYear: false,\n  previousMonth: '이전 달 (PageUp)',\n  nextMonth: '다음 달 (PageDown)',\n  previousYear: '이전 해 (Control + left)',\n  nextYear: '다음 해 (Control + right)',\n  previousDecade: '이전 연대',\n  nextDecade: '다음 연대',\n  previousCentury: '이전 세기',\n  nextCentury: '다음 세기',\n  collapse: '무너짐'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/ko_KR.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/ku_IQ.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/ku_IQ.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Îro',\n  now: 'Niha',\n  backToToday: 'Vegere îro',\n  ok: 'Temam',\n  clear: 'Paqij bike',\n  month: 'Meh',\n  year: 'Sal',\n  timeSelect: 'Demê hilbijêre',\n  dateSelect: 'Dîrok hilbijêre',\n  monthSelect: 'Meh hilbijêre',\n  yearSelect: 'Sal hilbijêre',\n  decadeSelect: 'Dehsal hilbijêre',\n  yearFormat: 'YYYY',\n  dateFormat: 'D/M/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D/M/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Meha peş (PageUp))',\n  nextMonth: 'Meha paş (PageDown)',\n  previousYear: 'Sala peş (Control + şep)',\n  nextYear: 'Sala paş (Control + rast)',\n  previousDecade: 'Dehsalen peş',\n  nextDecade: 'Dehsalen paş',\n  previousCentury: 'Sedsalen peş',\n  nextCentury: 'Sedsalen paş'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/ku_IQ.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/mm_MM.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/mm_MM.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'ယနေ့',\n  now: 'ယခု',\n  backToToday: 'ယနေ့ မတိုင်ခင် သို့',\n  ok: 'Ok',\n  clear: 'ရှင်းမည်',\n  month: 'လ',\n  year: 'နှစ်',\n  timeSelect: 'အချိန်ကို ရွေး',\n  dateSelect: 'နေ့ကို ရွေး',\n  weekSelect: 'အပတ်ကို ရွေး',\n  monthSelect: 'လကို ရွေး',\n  yearSelect: 'နှစ်ကို ရွေး',\n  decadeSelect: 'ဆယ်စုနှစ်ကို ရွေး',\n  yearFormat: 'YYYY',\n  dateFormat: 'M/D/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'M/D/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'ယခင် လ (PageUp)',\n  nextMonth: 'နောက် လ (PageDown)',\n  previousYear: 'ယခင် နှစ် (Control + left)',\n  nextYear: 'နောက် နှစ် (Control + right)',\n  previousDecade: 'ယခင် ဆယ်စုနှစ်',\n  nextDecade: 'နောက် ဆယ်စုနှစ်',\n  previousCentury: 'ယခင် ရာစုနှစ်',\n  nextCentury: 'နောက် ရာစုနှစ်'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/mm_MM.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/mn_MN.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/mn_MN.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Өнөөдөр',\n  now: 'Одоо',\n  backToToday: 'Өнөөдөрлүү буцах',\n  ok: 'Ok',\n  clear: 'Цэвэрлэх',\n  month: 'Сар',\n  year: 'Жил',\n  timeSelect: 'Цаг сонгох',\n  dateSelect: 'Огноо сонгох',\n  weekSelect: '7 хоног сонгох',\n  monthSelect: 'Сар сонгох',\n  yearSelect: 'Жил сонгох',\n  decadeSelect: 'Арван сонгох',\n  yearFormat: 'YYYY',\n  dateFormat: 'YYYY/MM/DD',\n  dayFormat: 'DD',\n  dateTimeFormat: 'YYYY/MM/DD HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Өмнөх сар (PageUp)',\n  nextMonth: 'Дараа сар (PageDown)',\n  previousYear: 'Өмнөх жил (Control + left)',\n  nextYear: 'Дараа жил (Control + right)',\n  previousDecade: 'Өмнөх арван',\n  nextDecade: 'Дараа арван',\n  previousCentury: 'Өмнөх зуун',\n  nextCentury: 'Дараа зуун'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/mn_MN.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/nb_NO.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/nb_NO.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'I dag',\n  now: 'Nå',\n  backToToday: 'Gå til i dag',\n  ok: 'Ok',\n  clear: 'Annuller',\n  month: 'Måned',\n  year: 'År',\n  timeSelect: 'Velg tidspunkt',\n  dateSelect: 'Velg dato',\n  monthSelect: 'Velg måned',\n  yearSelect: 'Velg år',\n  decadeSelect: 'Velg årti',\n  yearFormat: 'YYYY',\n  dateFormat: 'DD.MM.YYYY',\n  dayFormat: 'DD',\n  dateTimeFormat: 'DD.MM.YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Forrige måned(PageUp)',\n  nextMonth: 'Neste måned (PageDown)',\n  previousYear: 'Forrige år (Control + left)',\n  nextYear: 'Neste år (Control + right)',\n  previousDecade: 'Forrige tiår',\n  nextDecade: 'Neste tiår',\n  previousCentury: 'Forrige århundre',\n  nextCentury: 'Neste århundre'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/nb_NO.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/nl_BE.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/nl_BE.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Vandaag',\n  now: 'Nu',\n  backToToday: 'Terug naar vandaag',\n  ok: 'Ok',\n  clear: 'Reset',\n  month: 'Maand',\n  year: 'Jaar',\n  timeSelect: 'Selecteer tijd',\n  dateSelect: 'Selecteer datum',\n  monthSelect: 'Kies een maand',\n  yearSelect: 'Kies een jaar',\n  decadeSelect: 'Kies een decennium',\n  yearFormat: 'YYYY',\n  dateFormat: 'D-M-YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D-M-YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Vorige maand (PageUp)',\n  nextMonth: 'Volgende maand (PageDown)',\n  previousYear: 'Vorig jaar (Control + left)',\n  nextYear: 'Volgend jaar (Control + right)',\n  previousDecade: 'Vorig decennium',\n  nextDecade: 'Volgend decennium',\n  previousCentury: 'Vorige eeuw',\n  nextCentury: 'Volgende eeuw'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/nl_BE.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/nl_NL.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/nl_NL.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Vandaag',\n  now: 'Nu',\n  backToToday: 'Terug naar vandaag',\n  ok: 'Ok',\n  clear: 'Reset',\n  month: 'Maand',\n  year: 'Jaar',\n  timeSelect: 'Selecteer tijd',\n  dateSelect: 'Selecteer datum',\n  monthSelect: 'Kies een maand',\n  yearSelect: 'Kies een jaar',\n  decadeSelect: 'Kies een decennium',\n  yearFormat: 'YYYY',\n  dateFormat: 'D-M-YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D-M-YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Vorige maand (PageUp)',\n  nextMonth: 'Volgende maand (PageDown)',\n  previousYear: 'Vorig jaar (Control + left)',\n  nextYear: 'Volgend jaar (Control + right)',\n  previousDecade: 'Vorig decennium',\n  nextDecade: 'Volgend decennium',\n  previousCentury: 'Vorige eeuw',\n  nextCentury: 'Volgende eeuw'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/nl_NL.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/pl_PL.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/pl_PL.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Dzisiaj',\n  now: 'Teraz',\n  backToToday: 'Ustaw dzisiaj',\n  ok: 'Ok',\n  clear: 'Wyczyść',\n  month: 'Miesiąc',\n  year: 'Rok',\n  timeSelect: 'Ustaw czas',\n  dateSelect: 'Ustaw datę',\n  monthSelect: 'Wybierz miesiąc',\n  yearSelect: 'Wybierz rok',\n  decadeSelect: 'Wybierz dekadę',\n  yearFormat: 'YYYY',\n  dateFormat: 'D/M/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D/M/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Poprzedni miesiąc (PageUp)',\n  nextMonth: 'Następny miesiąc (PageDown)',\n  previousYear: 'Ostatni rok (Ctrl + left)',\n  nextYear: 'Następny rok (Ctrl + right)',\n  previousDecade: 'Ostatnia dekada',\n  nextDecade: 'Następna dekada',\n  previousCentury: 'Ostatni wiek',\n  nextCentury: 'Następny wiek',\n  collapse: 'Zawalić się'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/pl_PL.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/pt_BR.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/pt_BR.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Hoje',\n  now: 'Agora',\n  backToToday: 'Voltar para hoje',\n  ok: 'Ok',\n  clear: 'Limpar',\n  month: 'Mês',\n  year: 'Ano',\n  timeSelect: 'Selecionar tempo',\n  dateSelect: 'Selecionar data',\n  monthSelect: 'Escolher mês',\n  yearSelect: 'Escolher ano',\n  decadeSelect: 'Escolher década',\n  yearFormat: 'YYYY',\n  dateFormat: 'D/M/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D/M/YYYY HH:mm:ss',\n  monthBeforeYear: false,\n  previousMonth: 'Mês anterior (PageUp)',\n  nextMonth: 'Próximo mês (PageDown)',\n  previousYear: 'Ano anterior (Control + esquerda)',\n  nextYear: 'Próximo ano (Control + direita)',\n  previousDecade: 'Década anterior',\n  nextDecade: 'Próxima década',\n  previousCentury: 'Século anterior',\n  nextCentury: 'Próximo século',\n  collapse: 'Colapso'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/pt_BR.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/pt_PT.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/pt_PT.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Hoje',\n  now: 'Agora',\n  backToToday: 'Hoje',\n  ok: 'Ok',\n  clear: 'Limpar',\n  month: 'Mês',\n  year: 'Ano',\n  timeSelect: 'Selecionar hora',\n  dateSelect: 'Selecionar data',\n  monthSelect: 'Selecionar mês',\n  yearSelect: 'Selecionar ano',\n  decadeSelect: 'Selecionar década',\n  yearFormat: 'YYYY',\n  dateFormat: 'D/M/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D/M/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Mês anterior (PageUp)',\n  nextMonth: 'Mês seguinte (PageDown)',\n  previousYear: 'Ano anterior (Control + left)',\n  nextYear: 'Ano seguinte (Control + right)',\n  previousDecade: 'Década anterior',\n  nextDecade: 'Década seguinte',\n  previousCentury: 'Século anterior',\n  nextCentury: 'Século seguinte',\n  collapse: 'Colapso'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/pt_PT.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/ru_RU.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/ru_RU.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Сегодня',\n  now: 'Сейчас',\n  backToToday: 'Текущая дата',\n  ok: 'Ok',\n  clear: 'Очистить',\n  month: 'Месяц',\n  year: 'Год',\n  timeSelect: 'Выбрать время',\n  dateSelect: 'Выбрать дату',\n  monthSelect: 'Выбрать месяц',\n  yearSelect: 'Выбрать год',\n  decadeSelect: 'Выбрать десятилетие',\n  yearFormat: 'YYYY',\n  dateFormat: 'D-M-YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D-M-YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Предыдущий месяц (PageUp)',\n  nextMonth: 'Следующий месяц (PageDown)',\n  previousYear: 'Предыдущий год (Control + left)',\n  nextYear: 'Следующий год (Control + right)',\n  previousDecade: 'Предыдущее десятилетие',\n  nextDecade: 'Следущее десятилетие',\n  previousCentury: 'Предыдущий век',\n  nextCentury: 'Следующий век',\n  collapse: 'Свернуть'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/ru_RU.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/sk_SK.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/sk_SK.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Dnes',\n  now: 'Teraz',\n  backToToday: 'Späť na dnes',\n  ok: 'Ok',\n  clear: 'Vymazať',\n  month: 'Mesiac',\n  year: 'Rok',\n  timeSelect: 'Vybrať čas',\n  dateSelect: 'Vybrať dátum',\n  monthSelect: 'Vybrať mesiac',\n  yearSelect: 'Vybrať rok',\n  decadeSelect: 'Vybrať dekádu',\n  yearFormat: 'YYYY',\n  dateFormat: 'D.M.YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D.M.YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Predchádzajúci mesiac (PageUp)',\n  nextMonth: 'Nasledujúci mesiac (PageDown)',\n  previousYear: 'Predchádzajúci rok (Control + left)',\n  nextYear: 'Nasledujúci rok (Control + right)',\n  previousDecade: 'Predchádzajúca dekáda',\n  nextDecade: 'Nasledujúca dekáda',\n  previousCentury: 'Predchádzajúce storočie',\n  nextCentury: 'Nasledujúce storočie'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/sk_SK.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/sl_SI.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/sl_SI.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Danes',\n  now: 'Trenutno',\n  backToToday: 'Nazaj na danes',\n  ok: 'V redu',\n  clear: 'Počisti',\n  month: 'Mesec',\n  year: 'Leto',\n  timeSelect: 'Izberite čas',\n  dateSelect: 'Izberite datum',\n  monthSelect: 'Izberite mesec',\n  yearSelect: 'Izberite leto',\n  decadeSelect: 'Izberite desetletje',\n  yearFormat: 'YYYY',\n  dateFormat: 'DD.MM.YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'DD.MM.YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Prejšnji mesec (PageUp)',\n  nextMonth: 'Naslednji mesec (PageDown)',\n  previousYear: 'Prejšnje leto (Control + left)',\n  nextYear: 'Naslednje leto (Control + right)',\n  previousDecade: 'Prejšnje desetletje',\n  nextDecade: 'Naslednje desetletje',\n  previousCentury: 'Prejšnje stoletje',\n  nextCentury: 'Naslednje stoletje'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/sl_SI.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/sr_RS.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/sr_RS.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Danas',\n  now: 'Sada',\n  backToToday: 'Vrati se na danas',\n  ok: 'U redu',\n  clear: 'Obriši',\n  month: 'Mesec',\n  year: 'Godina',\n  timeSelect: 'Izaberi vreme',\n  dateSelect: 'Izaberi datum',\n  monthSelect: 'Izaberi mesec',\n  yearSelect: 'Izaberi godinu',\n  decadeSelect: 'Izaberi deceniju',\n  yearFormat: 'YYYY',\n  dateFormat: 'DD.MM.YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'DD.MM.YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Prethodni mesec (PageUp)',\n  nextMonth: 'Sledeći mesec (PageDown)',\n  previousYear: 'Prethodna godina (Control + left)',\n  nextYear: 'Sledeća godina (Control + right)',\n  previousDecade: 'Prethodna decenija',\n  nextDecade: 'Sledeća decenija',\n  previousCentury: 'Prethodni vek',\n  nextCentury: 'Sledeći vek'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/sr_RS.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/sv_SE.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/sv_SE.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'I dag',\n  now: 'Nu',\n  backToToday: 'Till idag',\n  ok: 'Ok',\n  clear: 'Avbryt',\n  month: 'Månad',\n  year: 'År',\n  timeSelect: 'Välj tidpunkt',\n  dateSelect: 'Välj datum',\n  monthSelect: 'Välj månad',\n  yearSelect: 'Välj år',\n  decadeSelect: 'Välj årtionde',\n  yearFormat: 'YYYY',\n  dateFormat: 'YYYY-MM-DD',\n  dayFormat: 'D',\n  dateTimeFormat: 'YYYY-MM-DD H:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Förra månaden (PageUp)',\n  nextMonth: 'Nästa månad (PageDown)',\n  previousYear: 'Föreg år (Control + left)',\n  nextYear: 'Nästa år (Control + right)',\n  previousDecade: 'Föreg årtionde',\n  nextDecade: 'Nästa årtionde',\n  previousCentury: 'Föreg århundrade',\n  nextCentury: 'Nästa århundrade',\n  collapse: 'Kollaps'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/sv_SE.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/th_TH.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/th_TH.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'วันนี้',\n  now: 'ตอนนี้',\n  backToToday: 'กลับไปยังวันนี้',\n  ok: 'ตกลง',\n  clear: 'ลบล้าง',\n  month: 'เดือน',\n  year: 'ปี',\n  timeSelect: 'เลือกเวลา',\n  dateSelect: 'เลือกวัน',\n  monthSelect: 'เลือกเดือน',\n  yearSelect: 'เลือกปี',\n  decadeSelect: 'เลือกทศวรรษ',\n  yearFormat: 'YYYY',\n  dateFormat: 'D/M/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D/M/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'เดือนก่อนหน้า (PageUp)',\n  nextMonth: 'เดือนถัดไป (PageDown)',\n  previousYear: 'ปีก่อนหน้า (Control + left)',\n  nextYear: 'ปีถัดไป (Control + right)',\n  previousDecade: 'ทศวรรษก่อนหน้า',\n  nextDecade: 'ทศวรรษถัดไป',\n  previousCentury: 'ศตวรรษก่อนหน้า',\n  nextCentury: 'ศตวรรษถัดไป',\n  collapse: 'ยุบ'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/th_TH.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/tr_TR.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/tr_TR.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Bugün',\n  now: 'Şimdi',\n  backToToday: 'Bugüne Geri Dön',\n  ok: 'tamam',\n  clear: 'Temizle',\n  month: 'Ay',\n  year: 'Yıl',\n  timeSelect: 'Zaman Seç',\n  dateSelect: 'Tarih Seç',\n  monthSelect: 'Ay Seç',\n  yearSelect: 'Yıl Seç',\n  decadeSelect: 'On Yıl Seç',\n  yearFormat: 'YYYY',\n  dateFormat: 'M/D/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'M/D/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Önceki Ay (PageUp)',\n  nextMonth: 'Sonraki Ay (PageDown)',\n  previousYear: 'Önceki Yıl (Control + Sol)',\n  nextYear: 'Sonraki Yıl (Control + Sağ)',\n  previousDecade: 'Önceki On Yıl',\n  nextDecade: 'Sonraki On Yıl',\n  previousCentury: 'Önceki Yüzyıl',\n  nextCentury: 'Sonraki Yüzyıl',\n  collapse: 'Çöküş'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/tr_TR.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/ug_CN.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/ug_CN.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'بۈگۈن',\n  now: 'ھازىر',\n  backToToday: 'بۈگۈنگە قايتىش',\n  ok: 'مۇقىملاشتۇرۇش',\n  timeSelect: 'ۋاقىت تاللاش',\n  dateSelect: 'كۈن تاللاش',\n  clear: 'تازىلاش',\n  month: 'ئاي',\n  year: 'يىل',\n  previousMonth: 'ئالدىنقى ئاي(ئالدىنقى بەت )',\n  nextMonth: 'كېلەركى ئاي (كېلەركى بەت)',\n  monthSelect: 'ئاي تاللاش',\n  yearSelect: 'يىل تاللاش',\n  decadeSelect: 'يىللارنى تاللاش',\n  yearFormat: 'YYYY-يىلى',\n  dayFormat: 'D-كۈنى',\n  dateFormat: 'YYYY-يىلىM-ئاينىڭD-كۈنى',\n  dateTimeFormat: 'YYYY-يىلىM—ئاينىڭD-كۈنى، HH:mm:ss',\n  previousYear: 'ئالدىنقى يىلى (Controlبىلەن يۆنىلىش كونۇپكىسى)',\n  nextYear: 'كېلەركى يىلى (Controlبىلەن يۆنىلىش كونۇپكىسى)',\n  previousDecade: 'ئالدىنقى يىللار',\n  nextDecade: 'كېيىنكى يىللار',\n  previousCentury: 'ئالدىنقى ئەسىر',\n  nextCentury: 'كېيىنكى ئەسىر'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/ug_CN.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/uk_UA.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/uk_UA.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Сьогодні',\n  now: 'Зараз',\n  backToToday: 'Поточна дата',\n  ok: 'Ok',\n  clear: 'Очистити',\n  month: 'Місяць',\n  year: 'Рік',\n  timeSelect: 'Обрати час',\n  dateSelect: 'Обрати дату',\n  monthSelect: 'Обрати місяць',\n  yearSelect: 'Обрати рік',\n  decadeSelect: 'Обрати десятиріччя',\n  yearFormat: 'YYYY',\n  dateFormat: 'D-M-YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D-M-YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Попередній місяць (PageUp)',\n  nextMonth: 'Наступний місяць (PageDown)',\n  previousYear: 'Попередній рік (Control + left)',\n  nextYear: 'Наступний рік (Control + right)',\n  previousDecade: 'Попереднє десятиріччя',\n  nextDecade: 'Наступне десятиріччя',\n  previousCentury: 'Попереднє століття',\n  nextCentury: 'Наступне століття'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/uk_UA.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/vi_VN.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/vi_VN.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: 'Hôm nay',\n  now: 'Bây giờ',\n  backToToday: 'Trở về hôm nay',\n  ok: 'Ok',\n  clear: 'Xóa',\n  month: 'Tháng',\n  year: 'Năm',\n  timeSelect: 'Chọn thời gian',\n  dateSelect: 'Chọn ngày',\n  weekSelect: 'Chọn tuần',\n  monthSelect: 'Chọn tháng',\n  yearSelect: 'Chọn năm',\n  decadeSelect: 'Chọn thập kỷ',\n  yearFormat: 'YYYY',\n  dateFormat: 'D/M/YYYY',\n  dayFormat: 'D',\n  dateTimeFormat: 'D/M/YYYY HH:mm:ss',\n  monthBeforeYear: true,\n  previousMonth: 'Tháng trước (PageUp)',\n  nextMonth: 'Tháng sau (PageDown)',\n  previousYear: 'Năm trước (Control + left)',\n  nextYear: 'Năm sau (Control + right)',\n  previousDecade: 'Thập kỷ trước',\n  nextDecade: 'Thập kỷ sau',\n  previousCentury: 'Thế kỷ trước',\n  nextCentury: 'Thế kỷ sau',\n  collapse: 'sập'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/vi_VN.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/zh_CN.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/zh_CN.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: '今天',\n  now: '此刻',\n  backToToday: '返回今天',\n  ok: '确定',\n  timeSelect: '选择时间',\n  dateSelect: '选择日期',\n  weekSelect: '选择周',\n  clear: '清空',\n  month: '月',\n  year: '年',\n  previousMonth: '上个月 (翻页上键)',\n  nextMonth: '下个月 (翻页下键)',\n  monthSelect: '选择月份',\n  yearSelect: '选择年份',\n  decadeSelect: '选择年代',\n  yearFormat: 'YYYY年',\n  dayFormat: 'D日',\n  dateFormat: 'YYYY年M月D日',\n  dateTimeFormat: 'YYYY年M月D日 HH时mm分ss秒',\n  previousYear: '上一年 (Control键加左方向键)',\n  nextYear: '下一年 (Control键加右方向键)',\n  previousDecade: '上一年代',\n  nextDecade: '下一年代',\n  previousCentury: '上一世纪',\n  nextCentury: '下一世纪',\n  collapse: '收起'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/zh_CN.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/locale/zh_TW.js":
/*!***************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/locale/zh_TW.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = void 0;\nvar _default = exports[\"default\"] = {\n  today: '今天',\n  now: '此刻',\n  backToToday: '返回今天',\n  ok: '確定',\n  timeSelect: '選擇時間',\n  dateSelect: '選擇日期',\n  clear: '清空',\n  month: '月',\n  year: '年',\n  previousMonth: '上個月 (翻頁上鍵)',\n  nextMonth: '下個月 (翻頁下鍵)',\n  monthSelect: '選擇月份',\n  yearSelect: '選擇年份',\n  decadeSelect: '選擇年代',\n  yearFormat: 'YYYY年',\n  dayFormat: 'D日',\n  dateFormat: 'YYYY年M月D日',\n  dateTimeFormat: 'YYYY年M月D日 HH時mm分ss秒',\n  previousYear: '上一年 (Control鍵加左方向鍵)',\n  nextYear: '下一年 (Control鍵加右方向鍵)',\n  previousDecade: '上一年代',\n  nextDecade: '下一年代',\n  previousCentury: '上一世紀',\n  nextCentury: '下一世紀',\n  collapse: '收起'\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/locale/zh_TW.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/month/MonthPanel.js":
/*!*******************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/month/MonthPanel.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.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/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\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); }\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\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _index = _interopRequireDefault(__webpack_require__(/*! ../styles/index.less */ \"./src/component/web/base/DateTimePicker/styles/index.less\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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// master 分支采用的面板显示，抽离出来\nvar MonthPanel = function MonthPanel(_ref) {\n  var date = _ref.date,\n    localMonth = _ref.localMonth,\n    isHover = _ref.isHover,\n    isInHoverRange = _ref.isInHoverRange,\n    isInSelectedRange = _ref.isInSelectedRange,\n    isRangeStart = _ref.isRangeStart,\n    isRangeEnd = _ref.isRangeEnd,\n    isToday = _ref.isToday,\n    isValid = _ref.isValid,\n    year = _ref.year,\n    onMouseEnter = _ref.onMouseEnter,\n    onMouseLeave = _ref.onMouseLeave,\n    onSelect = _ref.onSelect;\n  var columns = [0, 1, 2, 3];\n  var cloumnItems = [0, 1, 2];\n  var currentMonth = date === null || date === void 0 ? void 0 : date.month();\n  var currentYear = date === null || date === void 0 ? void 0 : date.year();\n  var onItemSelect = function onItemSelect(month, isDisable) {\n    if (isDisable) return;\n    return onSelect(month, true, true);\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames3[\"default\"])(_index[\"default\"]['datetime-month-panel'], 'kd-cq-date-picker-month')\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"table\", null, /*#__PURE__*/_react[\"default\"].createElement(\"tbody\", null, columns.map(function (i) {\n    return /*#__PURE__*/_react[\"default\"].createElement(\"tr\", {\n      key: \"month_tr_\".concat(i)\n    }, cloumnItems.map(function (j) {\n      var index = i * 3 + j;\n      var isActive = !isRangeStart && !isRangeEnd ? index === currentMonth && date && currentYear === year : isRangeStart(index) || isRangeEnd(index);\n      var isDisable = !isValid(index);\n      var itemCls = (0, _classnames3[\"default\"])(_index[\"default\"]['datetime-month-panel-item'], _defineProperty({\n        'datetime-month-panel-item-selected': isActive,\n        'datetime-range-picker-item-range-start': (isRangeStart === null || isRangeStart === void 0 ? void 0 : isRangeStart(index)) && !(isRangeEnd !== null && isRangeEnd !== void 0 && isRangeEnd(index)),\n        'datetime-range-picker-item-range': isInSelectedRange === null || isInSelectedRange === void 0 ? void 0 : isInSelectedRange(index),\n        'datetime-range-picker-item-range-end': (isRangeEnd === null || isRangeEnd === void 0 ? void 0 : isRangeEnd(index)) && !(isRangeStart !== null && isRangeStart !== void 0 && isRangeStart(index)),\n        'datetime-range-picker-item-hover': !isDisable && (isHover === null || isHover === void 0 ? void 0 : isHover(index)),\n        'datetime-range-picker-item-hover-range': (isInHoverRange === null || isInHoverRange === void 0 ? void 0 : isInHoverRange(index)) && !(isRangeStart !== null && isRangeStart !== void 0 && isRangeStart(index)) && !(isRangeEnd !== null && isRangeEnd !== void 0 && isRangeEnd(index)),\n        'datetime-range-picker-item-hover-range-start': (isInHoverRange === null || isInHoverRange === void 0 ? void 0 : isInHoverRange(index)) && (isRangeStart === null || isRangeStart === void 0 ? void 0 : isRangeStart(index)),\n        'datetime-range-picker-item-hover-range-end': (isInHoverRange === null || isInHoverRange === void 0 ? void 0 : isInHoverRange(index)) && (isRangeEnd === null || isRangeEnd === void 0 ? void 0 : isRangeEnd(index))\n      }, _index[\"default\"].disabled, isDisable));\n      var textCls = (0, _classnames3[\"default\"])('kd-cq-picker-cell-inner', _index[\"default\"]['datetime-month-panel-item-inner'], _defineProperty(_defineProperty({\n        'kd-cq-picker-cell-inner-disabled': isDisable\n      }, _index[\"default\"].disabled, isDisable), 'calendar-date-cell-today', isToday === null || isToday === void 0 ? void 0 : isToday(index)));\n      var handleMouseEnter = function handleMouseEnter(evt) {\n        if (isDisable) return;\n        onMouseEnter === null || onMouseEnter === void 0 || onMouseEnter(index);\n      };\n      var handleMouseLeave = function handleMouseLeave(evt) {\n        if (isDisable) return;\n        onMouseLeave === null || onMouseLeave === void 0 || onMouseLeave(index);\n      };\n      return /*#__PURE__*/_react[\"default\"].createElement(\"td\", {\n        key: \"month_cell_\".concat(index),\n        className: itemCls,\n        onMouseEnter: handleMouseEnter,\n        onMouseLeave: handleMouseLeave\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: textCls,\n        onClick: function onClick() {\n          return onItemSelect(index, isDisable);\n        }\n      }, localMonth[index]));\n    }));\n  }))));\n};\nvar _default = exports[\"default\"] = MonthPanel;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/month/MonthPanel.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/time/TimeHead.js":
/*!****************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/time/TimeHead.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.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/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\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); }\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.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _numberUtil = __webpack_require__(/*! @/util/numberUtil */ \"./src/util/numberUtil.js\");\nvar _index = _interopRequireDefault(__webpack_require__(/*! ../styles/index.less */ \"./src/component/web/base/DateTimePicker/styles/index.less\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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); }\nfunction TimeHead(_ref) {\n  var value = _ref.value,\n    format = _ref.format;\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames3[\"default\"])(_index[\"default\"]['time-head'], 'kd-cq-date-picker-time-header')\n  }, format.includes('H') || format.includes('h') ? /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n    className: (0, _classnames3[\"default\"])(_index[\"default\"]['time-title'], _defineProperty({}, _index[\"default\"].colons, format.includes('s') || format.includes('m')))\n  }, (0, _numberUtil.supplementZero)(value.hour())) : null, format.includes('m') ? /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n    className: (0, _classnames3[\"default\"])(_index[\"default\"]['time-title'], _defineProperty({}, _index[\"default\"].colons, format.includes('s')))\n  }, (0, _numberUtil.supplementZero)(value.minute())) : null, format.includes('s') ? /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n    className: (0, _classnames3[\"default\"])(_index[\"default\"]['time-title'])\n  }, (0, _numberUtil.supplementZero)(value.second())) : null);\n}\nvar _default = exports[\"default\"] = TimeHead;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/time/TimeHead.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/time/TimeSelect.js":
/*!******************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/time/TimeSelect.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.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/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\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); }\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.join.js */ \"../../node_modules/core-js/modules/es.array.join.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.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _ColumnSelect = _interopRequireDefault(__webpack_require__(/*! ../common/ColumnSelect */ \"./src/component/web/base/DateTimePicker/common/ColumnSelect.js\"));\nvar _index = _interopRequireDefault(__webpack_require__(/*! ../styles/index.less */ \"./src/component/web/base/DateTimePicker/styles/index.less\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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); }\nfunction TimeSelect(_ref) {\n  var value = _ref.value,\n    format = _ref.format,\n    isValid = _ref.isValid,\n    updateTime = _ref.updateTime;\n  var selectData = [];\n  // 时钟选择器\n  if (/H|h/g.test(format)) {\n    selectData.push(initTimeData(value, 'hour', [0, 23], isValid));\n  }\n  // 分钟选择器\n  if (/m/g.test(format)) {\n    selectData.push(initTimeData(value, 'minute', [0, 59], isValid));\n  }\n  // 秒钟选择器\n  if (/s/g.test(format)) {\n    selectData.push(initTimeData(value, 'second', [0, 59], isValid));\n  }\n  var containerClz = (0, _classnames2[\"default\"])(_index[\"default\"]['calendar-time-select'], _defineProperty(_defineProperty({}, _index[\"default\"]['first-border'], selectData.length > 1), _index[\"default\"]['second-border'], selectData.length > 2));\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: containerClz\n  }, selectData.map(function (_ref2, idx) {\n    var type = _ref2.type,\n      items = _ref2.items,\n      selectedIndex = _ref2.selectedIndex;\n    return /*#__PURE__*/_react[\"default\"].createElement(_ColumnSelect[\"default\"], {\n      key: type,\n      selectedIndex: selectedIndex,\n      options: items,\n      onSelect: function onSelect(option) {\n        return updateTime(value.clone()[type](option.value));\n      }\n    });\n  }));\n}\nvar initTimeData = function initTimeData(time, type, range, disabledDate) {\n  var items = [];\n  var index = range[0];\n  var selectedIndex = -1;\n  while (index <= range[1]) {\n    if (index === time[type]()) {\n      selectedIndex = index - range[0];\n    }\n    items.push({\n      label: supplementZero(index),\n      value: index,\n      disabled: !disabledDate(time[type](), type)\n    });\n    index++;\n  }\n  return {\n    items: items,\n    selectedIndex: selectedIndex,\n    type: type\n  };\n};\nvar supplementZero = function supplementZero(number) {\n  var lenght = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;\n  if (number.lenght > lenght) return number;\n  return (Array(lenght).join(0) + number).slice(-lenght);\n};\nvar _default = exports[\"default\"] = TimeSelect;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/time/TimeSelect.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/year/YearPanel.js":
/*!*****************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/year/YearPanel.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.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/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\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); }\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\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _index = _interopRequireDefault(__webpack_require__(/*! ../styles/index.less */ \"./src/component/web/base/DateTimePicker/styles/index.less\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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); }\nvar YearPanel = function YearPanel(_ref) {\n  var value = _ref.value,\n    start = _ref.start,\n    today = _ref.today,\n    handleSelect = _ref.onSelect,\n    isHover = _ref.isHover,\n    isInHoverRange = _ref.isInHoverRange,\n    isInSelectedRange = _ref.isInSelectedRange,\n    isRangeStart = _ref.isRangeStart,\n    isRangeEnd = _ref.isRangeEnd,\n    isValid = _ref.isValid,\n    isToday = _ref.isToday,\n    onMouseEnter = _ref.onMouseEnter,\n    onMouseLeave = _ref.onMouseLeave;\n  var columns = [0, 1, 2, 3, 4];\n  var columnItems = [0, 1, 2];\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames3[\"default\"])(_index[\"default\"]['datetime-year-panel'], 'kd-cq-date-picker-year')\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"table\", null, /*#__PURE__*/_react[\"default\"].createElement(\"tbody\", null, columns.map(function (i) {\n    return /*#__PURE__*/_react[\"default\"].createElement(\"tr\", {\n      key: \"year_line_\".concat(i)\n    }, columnItems.map(function (j) {\n      var index = i * 3 + j;\n      var year = start + index;\n      var isActive = year === value;\n      var isDisable = !isValid(year);\n      var itemCls = (0, _classnames3[\"default\"])(_index[\"default\"]['datetime-year-panel-item'], _defineProperty({\n        'datetime-year-panel-item-selected': isActive,\n        'datetime-range-picker-item-range-start': (isRangeStart === null || isRangeStart === void 0 ? void 0 : isRangeStart(index)) && !(isRangeEnd !== null && isRangeEnd !== void 0 && isRangeEnd(index)),\n        'datetime-range-picker-item-range': isInSelectedRange === null || isInSelectedRange === void 0 ? void 0 : isInSelectedRange(index),\n        'datetime-range-picker-item-range-end': (isRangeEnd === null || isRangeEnd === void 0 ? void 0 : isRangeEnd(index)) && !(isRangeStart !== null && isRangeStart !== void 0 && isRangeStart(index)),\n        'datetime-range-picker-item-hover': !isDisable && (isHover === null || isHover === void 0 ? void 0 : isHover(index)),\n        'datetime-range-picker-item-hover-range': (isInHoverRange === null || isInHoverRange === void 0 ? void 0 : isInHoverRange(index)) && !(isRangeStart !== null && isRangeStart !== void 0 && isRangeStart(index)) && !(isRangeEnd !== null && isRangeEnd !== void 0 && isRangeEnd(index)),\n        'datetime-range-picker-item-hover-range-start': (isInHoverRange === null || isInHoverRange === void 0 ? void 0 : isInHoverRange(index)) && (isRangeStart === null || isRangeStart === void 0 ? void 0 : isRangeStart(index)),\n        'datetime-range-picker-item-hover-range-end': (isInHoverRange === null || isInHoverRange === void 0 ? void 0 : isInHoverRange(index)) && (isRangeEnd === null || isRangeEnd === void 0 ? void 0 : isRangeEnd(index))\n      }, _index[\"default\"].disabled, isDisable));\n      var textCls = (0, _classnames3[\"default\"])('kd-cq-picker-cell-inner', _index[\"default\"]['datetime-year-panel-item-inner'], _defineProperty(_defineProperty({\n        'kd-cq-picker-cell-inner-disabled': isDisable\n      }, _index[\"default\"].disabled, isDisable), 'calendar-date-cell-today', isToday === null || isToday === void 0 ? void 0 : isToday(index)));\n      var handleMouseEnter = function handleMouseEnter(evt) {\n        if (isDisable) return;\n        onMouseEnter === null || onMouseEnter === void 0 || onMouseEnter(index);\n      };\n      var handleMouseLeave = function handleMouseLeave(evt) {\n        if (isDisable) return;\n        onMouseLeave === null || onMouseLeave === void 0 || onMouseLeave(index);\n      };\n      return /*#__PURE__*/_react[\"default\"].createElement(\"td\", {\n        key: \"year_cell_\".concat(year),\n        className: itemCls,\n        onMouseEnter: handleMouseEnter,\n        onMouseLeave: handleMouseLeave\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: textCls,\n        onClick: isDisable ? null : function () {\n          return handleSelect(year);\n        }\n      }, year));\n    }));\n  }))));\n};\nvar _default = exports[\"default\"] = YearPanel;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/year/YearPanel.js?");

/***/ }),

/***/ "./src/component/web/base/DateTimeRangePicker.jsx":
/*!********************************************************!*\
  !*** ./src/component/web/base/DateTimeRangePicker.jsx ***!
  \********************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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-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.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.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.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.array.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.js\");\n__webpack_require__(/*! core-js/modules/es.array.join.js */ \"../../node_modules/core-js/modules/es.array.join.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.some.js */ \"../../node_modules/core-js/modules/es.array.some.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\");\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 _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.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 _moment = _interopRequireDefault(__webpack_require__(/*! moment */ \"../../node_modules/moment/moment.js\"));\nvar _keyCode = __webpack_require__(/*! @/constant/keyCode */ \"./src/constant/keyCode.js\");\nvar _PanelWrapper = _interopRequireDefault(__webpack_require__(/*! @/component/common/PanelWrapper */ \"./src/component/common/PanelWrapper.js\"));\nvar _DateCalendar = _interopRequireDefault(__webpack_require__(/*! ./DateTimePicker/calendar/DateCalendar */ \"./src/component/web/base/DateTimePicker/calendar/DateCalendar.js\"));\nvar locale = _interopRequireWildcard(__webpack_require__(/*! ./DateTimePicker/locale */ \"./src/component/web/base/DateTimePicker/locale/index.js\"));\nvar _dateUtil = __webpack_require__(/*! @/util/dateUtil */ \"./src/util/dateUtil.js\");\nvar _DateRangePicker = _interopRequireDefault(__webpack_require__(/*! ./DateRangePicker.less */ \"./src/component/web/base/DateRangePicker.less\"));\nvar _baseComponent = _interopRequireDefault(__webpack_require__(/*! ./baseComponent.less */ \"./src/component/web/base/baseComponent.less\"));\nvar _commonAnimation = _interopRequireDefault(__webpack_require__(/*! @/component/common/commonAnimation.less */ \"./src/component/common/commonAnimation.less\"));\nvar _excluded = [\"data-shortcut\", \"className\", \"clearIconStyle\", \"customRange\", \"dataFormat\", \"defaultTime\", \"disabled\", \"displayFormat\", \"firstDayOfWeek\", \"focusOpen\", \"format\", \"iconStyle\", \"inputProps\", \"isAttachToBody\", \"isNoUnderLineLockStyle\", \"jioner\", \"linkage\", \"localeCode\", \"lock\", \"mask\", \"maxDate\", \"minDate\", \"noValue\", \"placeholder\", \"popupPanelStyle\", \"readOnly\", \"showClose\", \"showNow\", \"showTitle\", \"startMonth\", \"style\", \"tabIndex\", \"theme\", \"timeZone\", \"today\", \"type\", \"value\", \"valueLocale\", \"getPopupContainer\", \"onChange\", \"onKeyDown\"];\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 _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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); }\nvar ActionType = {\n  updateHoverValue: 'updateHoverValue',\n  // 更新悬浮值\n  clearHoverValue: 'clearHoverValue',\n  // 清空悬浮值\n  setDate: 'setDate'\n};\nvar initialStates = {\n  hoverDates: [],\n  // 悬浮值，Moment 对象数组\n  startDate: null,\n  // 开始日期，moment对象\n  endDate: null,\n  // 结束日期，moment对象\n  startDateStr: '',\n  endDateStr: ''\n};\nvar reducer = function reducer(prevState, action) {\n  switch (action.type) {\n    case ActionType.setDate:\n      {\n        return _objectSpread(_objectSpread({}, prevState), action.data);\n      }\n    case ActionType.updateHoverValue:\n      {\n        var prevHoverDates = prevState.hoverDates,\n          selectedDates = prevState.selectedDates;\n        var _action$data = action.data,\n          date = _action$data.date,\n          currentInput = _action$data.currentInput;\n        var hoverDates = [];\n        if (selectedDates !== null && selectedDates !== void 0 && selectedDates[0] && selectedDates !== null && selectedDates !== void 0 && selectedDates[1] && date) {\n          // 已有选中值，重新打开面板更新值\n          var _selectedDates = _slicedToArray(selectedDates, 2),\n            start = _selectedDates[0],\n            end = _selectedDates[1];\n          if (date.isBefore(start)) {\n            hoverDates = [date, end];\n          } else if (date.isBetween(start, end)) {\n            hoverDates = currentInput === 'start' ? [date, end] : [start, date];\n          } else if (date.isAfter(end)) {\n            hoverDates = [start, date];\n          }\n        } else {\n          hoverDates = [prevHoverDates[0], date === null || date === void 0 ? void 0 : date.clone()];\n        }\n        return _objectSpread(_objectSpread({}, prevState), {}, {\n          hoverDates: hoverDates\n        });\n      }\n    case ActionType.clearHoverValue:\n      {\n        return _objectSpread(_objectSpread({}, prevState), {}, {\n          hoverDates: []\n        });\n      }\n    default:\n      {\n        return prevState;\n      }\n  }\n};\n\n// dataFormat-和后端规定的日期格式\nfunction DateRangePicker(_ref) {\n  var shortCutInfo = _ref['data-shortcut'],\n    className = _ref.className,\n    clearIconStyle = _ref.clearIconStyle,\n    customRange = _ref.customRange,\n    dataFormat = _ref.dataFormat,\n    defaultTime = _ref.defaultTime,\n    disabled = _ref.disabled,\n    displayFormat = _ref.displayFormat,\n    firstDayOfWeek = _ref.firstDayOfWeek,\n    focusOpen = _ref.focusOpen,\n    _ref$format = _ref.format,\n    format = _ref$format === void 0 ? 'YYYY-MM-DD' : _ref$format,\n    iconStyle = _ref.iconStyle,\n    _ref$inputProps = _ref.inputProps,\n    inputProps = _ref$inputProps === void 0 ? {} : _ref$inputProps,\n    _ref$isAttachToBody = _ref.isAttachToBody,\n    isAttachToBody = _ref$isAttachToBody === void 0 ? true : _ref$isAttachToBody,\n    isNoUnderLineLockStyle = _ref.isNoUnderLineLockStyle,\n    _ref$jioner = _ref.jioner,\n    jioner = _ref$jioner === void 0 ? '~' : _ref$jioner,\n    _ref$linkage = _ref.linkage,\n    linkage = _ref$linkage === void 0 ? true : _ref$linkage,\n    _ref$localeCode = _ref.localeCode,\n    localeCode = _ref$localeCode === void 0 ? 'zh_CN' : _ref$localeCode,\n    lock = _ref.lock,\n    mask = _ref.mask,\n    maxDate = _ref.maxDate,\n    minDate = _ref.minDate,\n    _ref$noValue = _ref.noValue,\n    noValue = _ref$noValue === void 0 ? '' : _ref$noValue,\n    placeholder = _ref.placeholder,\n    popupPanelStyle = _ref.popupPanelStyle,\n    readOnly = _ref.readOnly,\n    showClose = _ref.showClose,\n    showNow = _ref.showNow,\n    showTitle = _ref.showTitle,\n    startMonth = _ref.startMonth,\n    _ref$style = _ref.style,\n    style = _ref$style === void 0 ? {} : _ref$style,\n    tabIndex = _ref.tabIndex,\n    theme = _ref.theme,\n    timeZone = _ref.timeZone,\n    today = _ref.today,\n    type = _ref.type,\n    value = _ref.value,\n    valueLocale = _ref.valueLocale,\n    getPopupContainer = _ref.getPopupContainer,\n    onChange = _ref.onChange,\n    onKeyDown = _ref.onKeyDown,\n    otherProps = _objectWithoutProperties(_ref, _excluded);\n  format = format.replace(/y/g, 'Y').replace(/d/g, 'D');\n  var containRef = (0, _react.useRef)(null);\n  var startPickerRef = (0, _react.useRef)();\n  var endPickerRef = (0, _react.useRef)();\n  var popupContainer = (0, _react.useRef)(null);\n  var panelRef = (0, _react.useRef)(null);\n  var jumpToAnotherInputRef = (0, _react.useRef)(true);\n  var prevInputRef = (0, _react.useRef)(null);\n  var _useState = (0, _react.useState)(null),\n    _useState2 = _slicedToArray(_useState, 2),\n    currentInput = _useState2[0],\n    setCurrentInput = _useState2[1];\n  var _useState3 = (0, _react.useState)(false),\n    _useState4 = _slicedToArray(_useState3, 2),\n    showCalendar = _useState4[0],\n    setShowCalendar = _useState4[1];\n  var _useReducer = (0, _react.useReducer)(reducer, initialStates),\n    _useReducer2 = _slicedToArray(_useReducer, 2),\n    state = _useReducer2[0],\n    dispatch = _useReducer2[1];\n  var _useState5 = (0, _react.useState)(today),\n    _useState6 = _slicedToArray(_useState5, 2),\n    calendarValue = _useState6[0],\n    setCalendarValue = _useState6[1];\n  // 区分挂载阶段和更新阶段\n  var isMounted = (0, _react.useRef)(false);\n  (0, _react.useEffect)(function () {\n    if (isMounted.current) {\n      var showCalendarCallBack = otherProps.showCalendarCallBack;\n      var timeString = (0, _dateUtil.getShowCalendarValue)(value, {\n        valueLocale: valueLocale,\n        localeCode: localeCode,\n        format: format\n      });\n      showCalendarCallBack && showCalendarCallBack(showCalendar, timeString);\n    } else {\n      isMounted.current = true;\n    }\n  }, [showCalendar]);\n  (0, _react.useEffect)(function () {\n    dispatch({\n      type: ActionType.setDate,\n      data: {\n        startDate: value[0],\n        endDate: value[1],\n        startDateStr: value[0] ? value[0].locale(valueLocale || localeCode).format(displayFormat) : '',\n        endDateStr: value[1] ? value[1].locale(valueLocale || localeCode).format(displayFormat) : ''\n      }\n    });\n  }, [value]);\n  var innerValue = value.map(function (item) {\n    var _item$locale$format;\n    return (_item$locale$format = item === null || item === void 0 ? void 0 : item.locale(valueLocale).format(displayFormat)) !== null && _item$locale$format !== void 0 ? _item$locale$format : '';\n  }).filter(function (item) {\n    return !!item;\n  }).join(jioner);\n  var handleClear = function handleClear() {\n    setShowCalendar(false);\n    onChange([]);\n  };\n  var handleIconClick = function handleIconClick(evt) {\n    var _startPickerRef$curre;\n    (_startPickerRef$curre = startPickerRef.current) === null || _startPickerRef$curre === void 0 || _startPickerRef$curre.focus();\n    prevInputRef.current = null;\n    setShowCalendar(true);\n  };\n  var handleStartInputFocus = function handleStartInputFocus(evt) {\n    handleFocus(evt, true);\n    var now = (0, _dateUtil.setDefaultTime)(today, defaultTime.get(0));\n    var date = (state.startDate || state.endDate || now).clone().locale(localeCode || valueLocale);\n    setCalendarValue(date);\n  };\n  var handleEndInputFocus = function handleEndInputFocus(evt) {\n    handleFocus(evt, false);\n    var now = (0, _dateUtil.setDefaultTime)(today, defaultTime.get(1));\n    var date = (state.endDate || state.startDate || now).clone().locale(localeCode || valueLocale);\n    setCalendarValue(date);\n  };\n  var handleFocus = function handleFocus(evt, isStart) {\n    var _currentInput = isStart ? 'start' : 'end';\n    setCurrentInput(_currentInput);\n    var date = isStart ? state.startDate : state.endDate;\n    var dateStr = date === null || date === void 0 ? void 0 : date.locale(valueLocale || localeCode).format(dataFormat);\n    if (dateStr) {\n      var data = isStart ? {\n        startDateStr: dateStr\n      } : {\n        endDateStr: dateStr\n      };\n      dispatch({\n        type: ActionType.setDate,\n        data: data\n      });\n    }\n    if (!showCalendar) {\n      setShowCalendar(true);\n      prevInputRef.current = null;\n    }\n\n    // 修改值的情况，当值相等时，不用再往回跳\n    if (isPrevSelectedDateEqualToValue()) {\n      jumpToAnotherInputRef.current = false;\n    }\n  };\n\n  /**\n   * 更新查看值\n   * @param {object} value moment 对象\n   * @param {boolean} changeByTimePicker 表明值的变更是否由时分秒选择器触发\n   */\n  var handleViewValueChange = function handleViewValueChange(value) {\n    var changeByTimePicker = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n    if (currentInput !== null) {\n      setCalendarValue(value.clone().locale(localeCode || valueLocale));\n    }\n  };\n  var handleSelectValueChange = function handleSelectValueChange(selectedDate) {\n    var changeByTimePicker = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n    var date = selectedDate.clone();\n    if (!changeByTimePicker) {\n      var idx = currentInput === 'start' ? 0 : 1;\n      var _splitTime = (0, _dateUtil.splitTime)(defaultTime.get(idx)),\n        _splitTime2 = _slicedToArray(_splitTime, 3),\n        hour = _splitTime2[0],\n        minute = _splitTime2[1],\n        second = _splitTime2[2];\n      var diff = {\n        hour: hour,\n        minute: minute,\n        second: second,\n        millisecond: 0\n      };\n      date = date.set(diff);\n    }\n    setCalendarValue(date.clone().locale(localeCode || valueLocale));\n    var dateStr = date.locale(valueLocale || localeCode).format(dataFormat);\n    var data = currentInput === 'start' ? {\n      startDate: date,\n      startDateStr: dateStr,\n      hoverDates: [date.clone(), null]\n    } : {\n      endDate: date,\n      endDateStr: dateStr,\n      hoverDates: [null, date.clone()]\n    };\n    dispatch({\n      type: ActionType.setDate,\n      data: data\n    });\n  };\n  var handleBlur = function handleBlur(inputValue, isStart) {\n    setCurrentInput(null);\n    if (!prevInputRef.current) {\n      prevInputRef.current = currentInput;\n    }\n    var startDate = state.startDate,\n      endDate = state.endDate;\n    if (startDate && endDate && startDate.isAfter(endDate)) {\n      var data = isStart ? {\n        endDate: null,\n        endDateStr: ''\n      } : {\n        startDate: null,\n        startDateStr: ''\n      };\n      dispatch({\n        type: ActionType.setDate,\n        data: data\n      });\n    }\n  };\n\n  // 失焦时可能有多种形态的日期格式\n  // 如果存在 displayFormat 的话，判定一下并修改\n  var getBlurValue = function getBlurValue(value) {\n    var momentObj = (0, _dateUtil.getMomentObj)(value, displayFormat) || (0, _dateUtil.getMomentObj)(value, mask) || (0, _dateUtil.getMomentObj)(value, dataFormat);\n    if (momentObj) {\n      value = momentObj.format(dataFormat);\n    }\n    var val = (0, _dateUtil.getFormattedValue)({\n      value: value,\n      locale: valueLocale,\n      type: 'datetime',\n      appendZero: true\n    });\n    return val;\n  };\n  var handleStartInputBlur = function handleStartInputBlur(evt) {\n    // evt.target.value 为了兜底，防止日期复制粘贴的情况\n    var value = getBlurValue(evt.target.value);\n    handleBlur(value, true);\n  };\n  var handleEndInputBlur = function handleEndInputBlur(evt) {\n    // evt.target.value 为了兜底，防止日期复制粘贴的情况\n    var value = getBlurValue(evt.target.value);\n    handleBlur(value, false);\n  };\n  var handleChange = function handleChange(evt, isStart) {\n    if (!showCalendar) {\n      setShowCalendar(true);\n      prevInputRef.current = null;\n    }\n    var value = evt.target.value;\n    var date = (0, _moment[\"default\"])(value, 'YYYY-MM-DD HH:mm:ss', localeCode, true);\n    var data = {};\n    var isLimit = minDate && maxDate && date.isAfter(minDate) && date.isBefore(maxDate) || minDate && !maxDate && date.isAfter(minDate) || !minDate && maxDate && date.isBefore(maxDate);\n    var noLimit = !minDate && !maxDate;\n    if (date.isValid() && (isLimit || noLimit)) {\n      data = isStart ? {\n        startDateStr: value,\n        startDate: date\n      } : {\n        endDateStr: value,\n        endDate: date\n      };\n    } else {\n      data = isStart ? {\n        startDateStr: value\n      } : {\n        endDateStr: value\n      };\n    }\n    dispatch({\n      type: ActionType.setDate,\n      data: data\n    });\n  };\n  var handleStartInputChange = function handleStartInputChange(evt) {\n    handleChange(evt, true);\n  };\n  var handleEndInputChange = function handleEndInputChange(evt) {\n    handleChange(evt, false);\n  };\n  var handleConfirmClick = function handleConfirmClick() {\n    var startDate = state.startDate,\n      endDate = state.endDate;\n    if (startDate && !endDate) {\n      endPickerRef.current.focus();\n      jumpToAnotherInputRef.current = false;\n    } else if (!startDate && endDate) {\n      startPickerRef.current.focus();\n      jumpToAnotherInputRef.current = false;\n    } else if (startDate && endDate && startDate.isAfter(endDate)) {\n      var dispatchData = currentInput === 'start' ? {\n        endDate: null,\n        endDateStr: ''\n      } : {\n        startDate: null,\n        startDateStr: ''\n      };\n      dispatch({\n        type: ActionType.setDate,\n        data: dispatchData\n      });\n      setTimeout(function () {\n        // 等数据更新完毕\n        (currentInput === 'start' ? endPickerRef : startPickerRef).current.focus();\n      }, 0);\n      jumpToAnotherInputRef.current = false;\n    } else {\n      if (jumpToAnotherInputRef.current) {\n        (currentInput === 'start' ? endPickerRef : startPickerRef).current.focus();\n        jumpToAnotherInputRef.current = false;\n        return;\n      }\n      closeCalendar();\n    }\n  };\n  var handleDateHover = function handleDateHover(date) {\n    var startDate = state.startDate,\n      endDate = state.endDate;\n    if (startDate && currentInput === 'start' && !endDate || endDate && currentInput === 'end' && !startDate) {\n      return;\n    }\n    dispatch({\n      type: ActionType.updateHoverValue,\n      data: {\n        date: date,\n        currentInput: currentInput\n      }\n    });\n  };\n  var handleDateLeave = function handleDateLeave() {\n    dispatch({\n      type: ActionType.updateHoverValue,\n      data: {}\n    });\n  };\n  var handlePanelTypeChange = function handlePanelTypeChange(type) {\n    if (!showCalendar) return;\n  };\n  var closeCalendar = function closeCalendar() {\n    if (!showCalendar) return;\n    var startDate = state.startDate,\n      endDate = state.endDate;\n    if (startDate && endDate) {\n      if (minDate && [startDate, endDate].some(function (date) {\n        return date && date.isBefore(minDate);\n      }) || maxDate && [startDate, endDate].some(function (date) {\n        return date && date.isAfter(maxDate);\n      })) {\n        dispatch({\n          type: ActionType.setDate,\n          data: {\n            startDate: value[0],\n            endDate: value[1],\n            startDateStr: value[0] ? value[0].locale(valueLocale || localeCode).format(displayFormat) : '',\n            endDateStr: value[1] ? value[1].locale(valueLocale || localeCode).format(displayFormat) : ''\n          }\n        });\n      } else {\n        onChange([startDate, endDate].map(function (momentObj) {\n          return momentObj.format('YYYY-MM-DD HH:mm:ss');\n        }));\n      }\n    } else {\n      onChange([]);\n    }\n    dispatch({\n      type: ActionType.clearHoverValue\n    });\n    setShowCalendar(false);\n    setCalendarValue(today.clone().locale(localeCode || valueLocale));\n    jumpToAnotherInputRef.current = true;\n  };\n  var renderCalendar = function renderCalendar() {\n    if (!showCalendar) return null;\n    var calendar = popupContainer.current;\n    if (isAttachToBody) {\n      if (!calendar) {\n        calendar = document.createElement('div');\n        document.body.appendChild(calendar);\n        popupContainer.current = calendar;\n      }\n    } else {\n      calendar = containRef.current;\n    }\n    var localeData = (0, _dateUtil.getLocaleData)(localeCode, locale);\n    var direction = currentInput === 'start' ? 'left' : 'right';\n    return /*#__PURE__*/_reactDom[\"default\"].createPortal( /*#__PURE__*/_react[\"default\"].createElement(_PanelWrapper[\"default\"], {\n      onClose: handlePanelWrapperClose,\n      trigger: containRef.current,\n      style: popupPanelStyle,\n      ref: panelRef\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: (0, _classnames2[\"default\"])(_DateRangePicker[\"default\"]['datetime-container'], _commonAnimation[\"default\"]['panel-drop-down-animation'])\n    }, /*#__PURE__*/_react[\"default\"].createElement(_DateCalendar[\"default\"], {\n      direction: direction,\n      firstDayOfWeek: firstDayOfWeek,\n      format: format,\n      isValidDate: isValidDate({\n        min: minDate,\n        max: maxDate\n      }),\n      hoverValue: state.hoverDates,\n      locale: localeData,\n      localeCode: localeCode,\n      value: calendarValue,\n      selectedValue: [state.startDate, state.endDate],\n      showFooter: true,\n      showInput: false,\n      showNow: showNow,\n      showTimePicker: true,\n      today: today,\n      type: \"datetime\",\n      confirmDateTime: handleConfirmClick,\n      onHover: handleDateHover,\n      onLeave: handleDateLeave,\n      updateValue: handleViewValueChange,\n      updateSelectValue: handleSelectValueChange,\n      onPanelTypeChange: handlePanelTypeChange\n    }))), (getPopupContainer === null || getPopupContainer === void 0 ? void 0 : getPopupContainer()) || calendar);\n  };\n  var handlePanelWrapperClose = function handlePanelWrapperClose() {\n    return closeCalendar();\n  };\n  var handleClick = function handleClick(evt) {\n    var isFocus = currentInput === 'start' && evt.target === startPickerRef.current || currentInput === 'end' && evt.target === endPickerRef.current;\n    if (isFocus && showCalendar) {\n      return;\n    }\n    if (evt.target === startPickerRef.current || evt.target === endPickerRef.current) {\n      // 在 PannelWrapper 中使用时，由于 PanelWrapper 拦截了 mousedown 事件，导致 input 的 focus 不会触发\n      // 在此手动触发一次 focus\n      evt.target.focus();\n      var calendarDate = evt.target === startPickerRef.current && state.startDate ? state.startDate : evt.target === endPickerRef.current && state.endDate ? state.endDate : today;\n      setShowCalendar(true);\n      setCalendarValue(calendarDate.clone().locale(localeCode || valueLocale));\n    }\n  };\n  var handleStartInputKeyDown = function handleStartInputKeyDown(evt) {\n    var updateStart = function updateStart(diff) {\n      var startDate = state.startDate;\n      if (!startDate) return;\n      var date = startDate.add(diff, 'day');\n      var data = {\n        startDate: date,\n        startDateStr: date.format(dataFormat)\n      };\n      dispatch({\n        type: ActionType.setDate,\n        data: data\n      });\n    };\n    switch (evt.keyCode) {\n      case _keyCode.KEYS.ESCAPE:\n        handlePanelWrapperClose();\n        break;\n      case _keyCode.KEYS.ENTER:\n        {\n          var val = evt.target.value;\n          var date = getBlurValue(val);\n          if (date && date.isValid()) {\n            // 通过是否带有空格+数值来判定是否手输了时分秒，条件不严谨，但是没有更好地判定方法\n            // 没有输入时分秒的话会启用默认的时分秒设置\n            var inputWithTime = /\\s\\d/.test(val);\n            handleSelectValueChange(date, inputWithTime);\n          } else {\n            dispatch({\n              type: ActionType.setDate,\n              data: {\n                startDate: null,\n                startDateStr: ''\n              }\n            });\n          }\n          handleConfirmClick();\n          evt.stopPropagation();\n        }\n        break;\n      case _keyCode.KEYS.ARROWLEFT:\n        updateStart(-1);\n        break;\n      case _keyCode.KEYS.ARROWUP:\n        updateStart(-7);\n        break;\n      case _keyCode.KEYS.ARROWRIGHT:\n        updateStart(1);\n        break;\n      case _keyCode.KEYS.ARROWDOWN:\n        updateStart(7);\n        break;\n      default:\n        break;\n    }\n  };\n  var handleEndInputKeyDown = function handleEndInputKeyDown(evt) {\n    var updateEnd = function updateEnd(diff) {\n      var endDate = state.endDate;\n      if (!endDate) return;\n      var date = endDate.add(diff, 'day');\n      var data = {\n        endDate: date,\n        endDateStr: date.format(dataFormat)\n      };\n      dispatch({\n        type: ActionType.setDate,\n        data: data\n      });\n    };\n    switch (evt.keyCode) {\n      case _keyCode.KEYS.ESCAPE:\n        handlePanelWrapperClose();\n        break;\n      case _keyCode.KEYS.ENTER:\n        {\n          var val = evt.target.value;\n          var date = getBlurValue(evt.target.value);\n          if (date && date.isValid()) {\n            // 通过是否带有空格+数值来判定是否手输了时分秒，条件不严谨，但是没有更好地判定方法\n            // 没有输入时分秒的话会启用默认的时分秒设置\n            var inputWithTime = /\\s\\d/.test(val);\n            handleSelectValueChange(date, inputWithTime);\n          } else {\n            dispatch({\n              type: ActionType.setDate,\n              data: {\n                endDate: null,\n                endDateStr: ''\n              }\n            });\n          }\n          // 因为值更新及格式校验是在失焦的时候处理，所以这里先手动触发一次失焦\n          endPickerRef.current.blur();\n          setTimeout(function () {\n            handleConfirmClick();\n          }, 0);\n        }\n        break;\n      case _keyCode.KEYS.ARROWLEFT:\n        updateEnd(-1);\n        break;\n      case _keyCode.KEYS.ARROWUP:\n        updateEnd(-7);\n        break;\n      case _keyCode.KEYS.ARROWRIGHT:\n        updateEnd(1);\n        break;\n      case _keyCode.KEYS.ARROWDOWN:\n        updateEnd(7);\n        break;\n      default:\n        break;\n    }\n  };\n\n  /**\n  * 判断日期是否在有效范围内\n  */\n  var isValidDate = function isValidDate(_ref2) {\n    var min = _ref2.min,\n      max = _ref2.max;\n    return function (_ref3) {\n      var date = _ref3.curDate,\n        _ref3$type = _ref3.type,\n        type = _ref3$type === void 0 ? 'day' : _ref3$type;\n      if (_typeof(date) !== 'object') {\n        date = (0, _moment[\"default\"])(date);\n      }\n      var start = date.clone().set({\n        hour: 0,\n        minute: 0,\n        second: 0,\n        millisecond: 0\n      });\n      var end = date.clone().set({\n        hour: 23,\n        minute: 59,\n        second: 59,\n        millisecond: 999\n      });\n      var startDate = state.startDate,\n        endDate = state.endDate;\n      // 根据开始/结束日期做限制\n      var _isPrevSelectedDateEqualToValue = isPrevSelectedDateEqualToValue();\n      if (startDate && endDate && value[0] && value[1]) {\n        // 已选日期进行修改\n        if (_isPrevSelectedDateEqualToValue && currentInput === 'end' && start.isBefore(startDate, type)) {\n          return false;\n        }\n        if (_isPrevSelectedDateEqualToValue && currentInput === 'start' && end.isAfter(endDate, type)) {\n          return false;\n        }\n      }\n      if (min && (0, _moment[\"default\"])(min).isValid()) {\n        min = (0, _moment[\"default\"])(min);\n\n        // 日历面板判断日期用\n        // 当日期与最小值同一天时，判断时分秒，如果小于00:00:00，该天不可选\n        if (min.isSame(date, 'day') && min.isBefore(start)) return false;\n        // 当日期与最小值非同一天时，仅需判断年月日即可\n        if (!min.isSame(date, 'day') && date.isBefore(min)) return false;\n      }\n      if (max && (0, _moment[\"default\"])(max).isValid()) {\n        max = (0, _moment[\"default\"])(max);\n\n        // 日历面板判断日期用\n        // 当日期与最大值同一天时，判断时分秒，如果大于23:59:59，该天不可选\n        if (max.isSame(date, 'day') && max.isAfter(end)) return false;\n        // 当日期与最大值非同一天时，仅需判断年月日即可\n        if (!max.isSame(date, 'day') && date.isAfter(max)) return false;\n      }\n\n      // 场景参考 antd\n      if (startDate && currentInput === 'end' && !jumpToAnotherInputRef.current && date.isBefore(startDate.clone().set({\n        hour: 0,\n        minute: 0,\n        second: 0,\n        millisecond: 0\n      }), type)) {\n        return false;\n      }\n\n      // 场景参考 antd\n      if (endDate && currentInput === 'start' && !jumpToAnotherInputRef.current && date.isAfter(endDate.clone().set({\n        hour: 23,\n        minute: 59,\n        second: 59,\n        millisecond: 999\n      }), type)) {\n        return false;\n      }\n      return true;\n    };\n  };\n\n  // 判读上一个选择的值是否等同于value，如果相等，则在修改已选值的时候不用往回跳，并且需要设置禁用的日期\n  var isPrevSelectedDateEqualToValue = function isPrevSelectedDateEqualToValue() {\n    var startDate = state.startDate,\n      endDate = state.endDate;\n    if (prevInputRef.current === 'end') return endDate && endDate.isSame(value[1], type);\n    if (prevInputRef.current === 'start') return startDate && startDate.isSame(value[0], type);\n    return false;\n  };\n\n  // 开始日期输入框无内边距\n  var startInputContainer = (0, _classnames2[\"default\"])(_DateRangePicker[\"default\"]['input-container'], {\n    'daterange-input-bottom-border': currentInput === 'start'\n  });\n  var startPickerClz = (0, _classnames2[\"default\"])('kd-cq-input', _DateRangePicker[\"default\"]['inner-input'], _DateRangePicker[\"default\"]['start-input']);\n  var endInputContainer = (0, _classnames2[\"default\"])(_DateRangePicker[\"default\"]['input-container'], {\n    'daterange-input-bottom-border': currentInput === 'end'\n  });\n  var endPickerClz = (0, _classnames2[\"default\"])('kd-cq-input', _DateRangePicker[\"default\"]['inner-input'], _DateRangePicker[\"default\"]['end-input']);\n  var inputStyle = _objectSpread(_objectSpread({}, style), {}, {\n    overflow: 'hidden',\n    textOverflow: 'ellipsis',\n    whiteSpace: 'nowrap',\n    backgroundColor: (style === null || style === void 0 ? void 0 : style.backgroundColor) || '#fff'\n  });\n  var startInputEvents = !disabled && {\n    onFocus: handleStartInputFocus,\n    onBlur: handleStartInputBlur,\n    onChange: handleStartInputChange,\n    onKeyDown: handleStartInputKeyDown\n  };\n  var endInputEvents = !disabled && {\n    onFocus: handleEndInputFocus,\n    onBlur: handleEndInputBlur,\n    onChange: handleEndInputChange,\n    onKeyDown: handleEndInputKeyDown\n  };\n  if (disabled || readOnly) {\n    if (!innerValue) {\n      innerValue = noValue;\n    }\n    // 如果只有一半, 则应该不显示，改为通过onPanelWrapperClose触发该逻辑\n    var cls = (0, _classnames2[\"default\"])(_baseComponent[\"default\"].input, _baseComponent[\"default\"]['input-' + (theme || 'default')], _defineProperty(_defineProperty({}, _baseComponent[\"default\"].disabled, disabled && value !== noValue), _DateRangePicker[\"default\"]['lock-with-no-value'], disabled && (value === noValue || innerValue === noValue)), className);\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      \"data-base-ctrl\": \"true\"\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n      readOnly: true,\n      ref: containRef\n    }, otherProps, {\n      className: cls,\n      title: innerValue,\n      style: {\n        paddingRight: 0,\n        overflow: 'hidden',\n        textOverflow: 'ellipsis',\n        whiteSpace: 'nowrap'\n      },\n      value: innerValue\n    })));\n  }\n\n  // const currentFormat = inputingField !== null ? dataFormat : displayFormat\n  // const startDateStr = startDate\n  //   ? startDate.locale(valueLocale || localeCode).format(currentFormat)\n  //   : ''\n  // const endDateStr = endDate\n  //   ? endDate.locale(valueLocale || localeCode).format(currentFormat)\n  //   : ''\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n    ref: containRef\n  }, otherProps, {\n    className: (0, _classnames2[\"default\"])(_DateRangePicker[\"default\"]['date-time-range-container'], className),\n    style: style,\n    title: innerValue,\n    onClick: handleClick\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: startInputContainer\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n    className: startPickerClz,\n    ref: startPickerRef,\n    style: inputStyle,\n    value: state.startDateStr\n  }, startInputEvents, {\n    // onFocus / onChange / onBlur / onKeyDown\n    placeholder: placeholder\n  }, inputProps, {\n    \"data-shortcut\": shortCutInfo,\n    tabIndex: tabIndex\n  }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _DateRangePicker[\"default\"]['date-range-joiner']\n  }, jioner), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: endInputContainer\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n    className: endPickerClz,\n    ref: endPickerRef,\n    style: inputStyle,\n    value: state.endDateStr\n  }, endInputEvents, {\n    // onFocus / onChange / onBlur / onKeyDown\n    placeholder: placeholder\n  }, inputProps, {\n    \"data-shortcut\": shortCutInfo,\n    tabIndex: tabIndex\n  }))), showClose && state.startDate && state.endDate && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    onClick: handleClear,\n    className: (0, _classnames2[\"default\"])(_DateRangePicker[\"default\"].close, 'kdfont kdfont-guanbi8'),\n    style: clearIconStyle\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: (0, _classnames2[\"default\"])(_DateRangePicker[\"default\"].icon, _DateRangePicker[\"default\"]['icon-nocursor'], 'kdfont kdfont-riqixuanze theme hover-theme-fc-icon kd-cq-trigger-icon'),\n    style: iconStyle,\n    onClick: handleIconClick\n  }), renderCalendar());\n}\nvar _default = exports[\"default\"] = DateRangePicker;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimeRangePicker.jsx?");

/***/ }),

/***/ "./src/component/web/base/Email.jsx":
/*!******************************************!*\
  !*** ./src/component/web/base/Email.jsx ***!
  \******************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.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.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.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.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.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\"] = Email;\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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.map.js */ \"../../node_modules/core-js/modules/es.array.map.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.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 _reactDom = __webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\");\nvar _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _baseComponent = _interopRequireDefault(__webpack_require__(/*! ./baseComponent.less */ \"./src/component/web/base/baseComponent.less\"));\nvar _componentutil = __webpack_require__(/*! @/util/componentutil */ \"./src/util/componentutil.js\");\nvar _keyCodeTool = __webpack_require__(/*! ../../../util/keyCodeTool */ \"./src/util/keyCodeTool.js\");\nvar _PanelWrapper = _interopRequireDefault(__webpack_require__(/*! @/component/common/PanelWrapper */ \"./src/component/common/PanelWrapper.js\"));\nvar _keyCode = __webpack_require__(/*! @/constant/keyCode */ \"./src/constant/keyCode.js\");\nvar _useListSelection2 = _interopRequireDefault(__webpack_require__(/*! @/hooks/useListSelection */ \"./src/hooks/useListSelection.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 _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); }\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 Email(props) {\n  var commonEmails = props.commonEmails,\n    value = props.value,\n    className = props.className,\n    style = props.style,\n    theme = props.theme,\n    disabled = props.disabled,\n    placeholder = props.placeholder,\n    tabIndex = props.tabIndex,\n    shortcutInfo = props.shortcutInfo,\n    lock = props.lock;\n  var _useState = (0, _react.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    showDropdown = _useState2[0],\n    setShowDropdown = _useState2[1]; // 显示下拉面板\n  var inputRef = (0, _react.useRef)(null); // 输入框ref\n  var listRef = (0, _react.useRef)(null); // 下拉列表ref\n  var hasSubValue = (0, _react.useRef)(false); // 历史变量，没有注释，看代码应该是用于判断是否超过最大字符被截断\n\n  var _useListSelection = (0, _useListSelection2[\"default\"])(0),\n    selectedIndex = _useListSelection.selectedIndex,\n    setSelectedIndex = _useListSelection.setSelectedIndex,\n    handleListMouseMove = _useListSelection.handleListMouseMove,\n    handleListKeyDown = _useListSelection.handleListKeyDown;\n  var _commonEmails = (0, _react.useMemo)(function () {\n    return commonEmails.filter(function (text) {\n      return text.indexOf(value) > -1;\n    });\n  }, [commonEmails, value]); // 输入框相当于一个搜索框，下拉项是搜索后的结果\n\n  var closeDropdown = function closeDropdown() {\n    hasSubValue.current = false;\n    setShowDropdown(false);\n    setSelectedIndex(0);\n  };\n  var openDropdown = function openDropdown() {\n    setShowDropdown(true);\n  };\n  var handleItemClick = function handleItemClick(value) {\n    var handleItemClick = props.handleItemClick;\n    handleItemClick && handleItemClick(value);\n    closeDropdown();\n  };\n  var handleChange = function handleChange(e) {\n    var value = e.target.value.trim();\n    var onHandleChange = props.onHandleChange,\n      maxLength = props.maxLength;\n    if (maxLength !== undefined && maxLength > 0 && value.length > maxLength) {\n      hasSubValue.current = true;\n      value = value.substring(0, maxLength);\n    }\n    onHandleChange(value);\n    if (!value) {\n      closeDropdown();\n    } else {\n      openDropdown();\n    }\n  };\n  var handleFocus = function handleFocus() {\n    if (disabled || !value) return;\n    openDropdown();\n  };\n  var handleBlur = function handleBlur() {\n    var onBlur = props.onBlur;\n    onBlur && onBlur();\n  };\n  var handlePanelClose = function handlePanelClose() {\n    setShowDropdown(false);\n  };\n  var handleMouseMove = function handleMouseMove(e) {\n    handleListMouseMove(e, 'data-index');\n  };\n  var scrollIntoView = function scrollIntoView(index) {\n    var _listRef$current, _item$scrollIntoView;\n    var item = (_listRef$current = listRef.current) === null || _listRef$current === void 0 ? void 0 : _listRef$current.children[index];\n    item === null || item === void 0 || (_item$scrollIntoView = item.scrollIntoView) === null || _item$scrollIntoView === void 0 || _item$scrollIntoView.call(item, {\n      behavior: 'instant',\n      block: 'nearest'\n    });\n  };\n  var handleKeyDown = function handleKeyDown(e) {\n    var _listRef$current2, _props$onKeyDown;\n    var keyCode = (0, _keyCodeTool.getKeyCode)(e);\n    var maxLength = (_listRef$current2 = listRef.current) === null || _listRef$current2 === void 0 ? void 0 : _listRef$current2.children.length;\n    handleListKeyDown(e, maxLength, scrollIntoView);\n    switch (keyCode) {\n      case _keyCode.KEYS.ENTER:\n        selectedIndex > -1 && handleItemClick(_commonEmails.get(selectedIndex));\n        break;\n      case _keyCode.KEYS.TAB:\n        closeDropdown();\n        break;\n      default:\n        break;\n    }\n    (_props$onKeyDown = props.onKeyDown) === null || _props$onKeyDown === void 0 || _props$onKeyDown.call(props, e);\n  };\n  var renderDropDownPanel = function renderDropDownPanel() {\n    var getPopupContainer = props.getPopupContainer;\n    var input = inputRef.current;\n    var containter = getPopupContainer && getPopupContainer();\n    if ((!_commonEmails || _commonEmails.size === 0) && !hasSubValue.current) {\n      closeDropdown();\n      return null;\n    }\n    return /*#__PURE__*/(0, _reactDom.createPortal)( /*#__PURE__*/_react[\"default\"].createElement(_PanelWrapper[\"default\"], {\n      trigger: input,\n      onClose: handlePanelClose\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n      className: (0, _classnames3[\"default\"])('kd-cq-dropdown kd-cq-dropdown-select-type', _baseComponent[\"default\"].dropdown),\n      ref: listRef,\n      onMouseMove: handleMouseMove\n    }, _commonEmails.map(function (text, index) {\n      return /*#__PURE__*/_react[\"default\"].createElement(Option, {\n        index: index,\n        key: index,\n        text: text,\n        focused: selectedIndex === index,\n        onHandleItemClick: handleItemClick\n      });\n    }))), containter || document.body);\n  };\n  var classNames = (0, _classnames3[\"default\"])('kd-cq-input', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, className, className), _baseComponent[\"default\"].input, true), _baseComponent[\"default\"]['input-' + (theme || 'default')], true), _baseComponent[\"default\"].disabled, disabled && value !== (0, _componentutil.getNOValue)()), _baseComponent[\"default\"]['field-disabled-no-value-color'], disabled && value === (0, _componentutil.getNOValue)()), 'lock-with-no-value', lock && value === (0, _componentutil.getNOValue)()));\n  var inputEvents = !disabled && {\n    onFocus: handleFocus,\n    onChange: handleChange,\n    onBlur: handleBlur\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _baseComponent[\"default\"]['email-wrap']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n    \"data-base-ctrl\": true,\n    ref: inputRef,\n    className: classNames,\n    style: style,\n    readOnly: disabled,\n    placeholder: placeholder,\n    value: value,\n    title: value,\n    tabIndex: tabIndex,\n    onKeyDown: handleKeyDown,\n    autoComplete: \"new-password\"\n  }, shortcutInfo, inputEvents)), showDropdown && renderDropDownPanel());\n}\nfunction Option(props) {\n  var index = props.index,\n    text = props.text,\n    focused = props.focused,\n    onHandleItemClick = props.onHandleItemClick;\n  var itemClass = (0, _classnames3[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, _baseComponent[\"default\"]['dropdown-item'], true), 'primary-text-in-light', true), 'hover-bg', focused), 'kd-cq-dropdown-menu-item');\n  var handleClick = function handleClick(e) {\n    e.stopPropagation();\n    onHandleItemClick(text);\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n    onClick: handleClick,\n    title: text,\n    className: itemClass,\n    \"data-index\": index\n  }, text);\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Email.jsx?");

/***/ }),

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

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[\"default\"] = void 0;\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\");\nvar _react = _interopRequireDefault(__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 _defaultPropsUtil = __webpack_require__(/*! @/util/defaultPropsUtil */ \"./src/util/defaultPropsUtil.js\");\nvar _emotionalConst = __webpack_require__(/*! @/constant/emotionalConst */ \"./src/constant/emotionalConst.js\");\nvar _no_data = _interopRequireDefault(__webpack_require__(/*! @/component/web/img/default/no_data.png */ \"./src/component/web/img/default/no_data.png\"));\nvar _Empty = _interopRequireDefault(__webpack_require__(/*! ./Empty.less */ \"./src/component/web/base/Empty.less\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n/*\n * @Author: wqhui\n * @Date: 2023-02-23 20:00:53\n * @Description:\n */\nvar _default = exports[\"default\"] = function _default(_ref) {\n  var className = _ref.className,\n    renderEmptyImg = _ref.renderEmptyImg;\n  // 获取情感化图片设置\n  var _getCommonEmotionalIn = (0, _defaultPropsUtil.getCommonEmotionalInfo)(_emotionalConst.EMOTIONAL_TYPE_NO_DATA),\n    imagePath = _getCommonEmotionalIn.imagePath,\n    description = _getCommonEmotionalIn.description;\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_Empty[\"default\"].empty, className)\n  }, renderEmptyImg ? renderEmptyImg(imagePath || _no_data[\"default\"]) : /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n    className: _Empty[\"default\"]['empty-img'],\n    src: imagePath || _no_data[\"default\"]\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _Empty[\"default\"]['empty-description']\n  }, description || (0, _intlApi.getLangMsg)({\n    key: 'cardview.key0002'\n  })));\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Empty.js?");

/***/ }),

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

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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.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-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.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.parse-float.js */ \"../../node_modules/core-js/modules/es.parse-float.js\");\n__webpack_require__(/*! core-js/modules/es.parse-int.js */ \"../../node_modules/core-js/modules/es.parse-int.js\");\n__webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.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 _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 _classnames7 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _BaseComponents = __webpack_require__(/*! ./BaseComponents */ \"./src/component/web/base/BaseComponents/index.js\");\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _AddFormStatusWrap = _interopRequireDefault(__webpack_require__(/*! ../../common/AddFormStatusWrap */ \"./src/component/common/AddFormStatusWrap.js\"));\nvar _memoryCacher = __webpack_require__(/*! ../../../model/memoryCacher */ \"./src/model/memoryCacher.js\");\nvar _componentutil = __webpack_require__(/*! @/util/componentutil */ \"./src/util/componentutil.js\");\nvar _serverproperties = __webpack_require__(/*! @/constant/serverproperties */ \"./src/constant/serverproperties.js\");\nvar _defaultPropsUtil = __webpack_require__(/*! @/util/defaultPropsUtil */ \"./src/util/defaultPropsUtil.js\");\nvar _customProperties = _interopRequireDefault(__webpack_require__(/*! @/constant/customProperties */ \"./src/constant/customProperties.js\"));\nvar _propnames = __webpack_require__(/*! ../../../designer/constant/propnames */ \"./src/designer/constant/propnames.js\");\nvar _doubleClickToChangePropertyUtil = __webpack_require__(/*! ../../../designer/utils/doubleClickToChangePropertyUtil */ \"./src/designer/utils/doubleClickToChangePropertyUtil.js\");\nvar _fieldType = _interopRequireDefault(__webpack_require__(/*! @/constant/fieldType */ \"./src/constant/fieldType.js\"));\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _fieldUtils = __webpack_require__(/*! @/util/fieldUtils */ \"./src/util/fieldUtils.js\");\nvar _FieldValidateBar = _interopRequireDefault(__webpack_require__(/*! @/component/web/base/FieldValidateBar */ \"./src/component/web/base/FieldValidateBar.jsx\"));\nvar _elementFromPoint = _interopRequireDefault(__webpack_require__(/*! @/component/common/elementFromPoint */ \"./src/component/common/elementFromPoint.js\"));\nvar _elementUtil = __webpack_require__(/*! @/component/common/elementUtil */ \"./src/component/common/elementUtil.js\");\nvar _FieldItem2 = _interopRequireDefault(__webpack_require__(/*! ./FieldItem.less */ \"./src/component/web/base/FieldItem.less\"));\nvar _toolUtils = __webpack_require__(/*! @/util/toolUtils */ \"./src/util/toolUtils.js\");\nvar _excluded = [\"userLocal\", \"isNoUnderLineLockStyle\", \"allBorder\", \"noBorder\", \"needBorder\", \"showTitle\", \"labelText\", \"labelProps\", \"labelDirection\", \"labelStyle\", \"children\", \"style\", \"className\", \"editableBtn\", \"mustInput\", \"Grow\", \"Shrink\", \"Overflow\", \"Direction\", \"Wrap\", \"AlignSelf\", \"labelTextAlign\", \"fieldType\", \"slot\", \"showFormByTips\", \"model\", \"clickTipsLink\", \"showType\", \"dataPageId\", \"billTipsHoverTriggerEvent\", \"radioStyle\", \"checkboxStyle\", \"onTwiceClick\", \"field\", \"showEditButton\", \"layoutOption\", \"isBaseDataSelectModel\", \"isCompact\", \"contentContainerStyle\", \"valueAreaClz\", \"formStatus\", \"isMultiLine\", \"isInLayoutFlex\", \"CtlTips\", \"displayType\"],\n  _excluded2 = [\"userLocal\", \"isNoUnderLineLockStyle\", \"allBorder\", \"noBorder\", \"needBorder\", \"showTitle\", \"labelText\", \"labelProps\", \"labelDirection\", \"labelStyle\", \"children\", \"style\", \"editableBtn\", \"mustInput\", \"Grow\", \"Shrink\", \"Overflow\", \"Direction\", \"Wrap\", \"AlignSelf\", \"labelTextAlign\", \"fieldType\", \"slot\", \"showFormByTips\", \"model\", \"clickTipsLink\", \"showType\", \"dataPageId\", \"billTipsHoverTriggerEvent\", \"radioStyle\", \"checkboxStyle\", \"onTwiceClick\", \"field\", \"showEditButton\", \"layoutOption\", \"isBaseDataSelectModel\", \"className\", \"contentContainerStyle\", \"inputStyle\", \"valueAreaClz\", \"isMultiLine\", \"formStatus\", \"isInLayoutFlex\", \"CtlTips\", \"displayType\"];\nvar _dec, _class;\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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 _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it[\"return\"] != null) it[\"return\"](); } finally { if (didErr) throw err; } } }; }\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 _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 TITLE_TYPE = {\n  normal: 'normal',\n  // 正常显示\n  newline: 'newline' // 超出一行换行显示\n};\nvar FieldItem = (_dec = (0, _AddFormStatusWrap[\"default\"])(), _dec(_class = /*#__PURE__*/function (_Component) {\n  _inherits(FieldItem, _Component);\n  function FieldItem(props) {\n    var _this;\n    _classCallCheck(this, FieldItem);\n    _this = _callSuper(this, FieldItem, [props]);\n    /**\n     * 监听焦点变化\n     * 2023.8.30\n     * 焦点监听使用react的capture事件，不再通过ref绑定，修复无法监听到城市控件失焦的问题\n     */\n    _this.addEventChangeListener = function (disabled, model) {\n      if (disabled) return;\n      // this.containerRef.current?.addEventListener('focus', this.setFocusTruthy, true)\n      // this.containerRef.current?.addEventListener('blur', this.setFocusFalsy, true)\n      // this.containerRef.current?.addEventListener('mouseenter', this.handleMouseEnter, true)\n      // this.containerRef.current?.addEventListener('mouseleave', this.handleMouseLeave, true)\n      // this.childrenRef.current?.addEventListener('click', this.handleClick, true)\n\n      // 设计器侧不存在 model\n      if (model) {\n        var pageId = model.pageId,\n          key = model.key;\n        _this.removeErrorFocusListener = (0, _memoryCacher.addDataChangeListener)(pageId, [key, 'errorFocus'], _this.handleErrorFocus);\n      }\n    };\n    _this.removeEventChangeListener = function (disabled) {\n      var _this$removeErrorFocu, _this2;\n      if (disabled) return;\n      // this.containerRef.current?.removeEventListener('focus', this.setFocusTruthy, true)\n      // this.containerRef.current?.removeEventListener('blur', this.setFocusFalsy, true)\n      // this.containerRef.current?.removeEventListener('mouseenter', this.handleMouseEnter, true)\n      // this.containerRef.current?.removeEventListener('mouseleave', this.handleMouseLeave, true)\n      // this.childrenRef.current?.removeEventListener('click', this.handleClick, true)\n      (_this$removeErrorFocu = (_this2 = _this).removeErrorFocusListener) === null || _this$removeErrorFocu === void 0 || _this$removeErrorFocu.call(_this2);\n    };\n    _this.setFocusTruthy = function (evt) {\n      // 忽略只读状态\n      if (evt.target.readOnly) return;\n      _this.isInputFocus = true;\n      _this.setState({\n        showError: true\n      });\n    };\n    _this.setFocusFalsy = function (evt) {\n      if (evt.target.readOnly) return;\n      _this.isInputFocus = false;\n      _this.setState({\n        showError: false\n      });\n    };\n    _this.handleMouseEnter = function (evt) {\n      if (evt.target.readOnly || _this.state.showError) return;\n      _this.setState({\n        showError: true\n      });\n    };\n    _this.handleMouseLeave = function (evt) {\n      if (evt.target.readOnly || !_this.state.showError) return;\n      if (!_this.isInputFocus) {\n        _this.setState({\n          showError: false\n        });\n      }\n    };\n    _this.handleClick = function (evt) {\n      if (!_this.props.isBaseDataSelectModel) return;\n      var spanList = evt.target.getElementsByTagName('input');\n      spanList.length && spanList[0].focus();\n    };\n    _this.handleErrorFocus = function () {\n      var _this$containerRef$cu, _this$containerRef$cu2, _this$containerRef$cu3, _this$containerRef$cu4;\n      if (_this.props.disabled) return;\n      var ele = ((_this$containerRef$cu = _this.containerRef.current) === null || _this$containerRef$cu === void 0 ? void 0 : _this$containerRef$cu.querySelector(\"input[tabindex='0']\")) || ((_this$containerRef$cu2 = _this.containerRef.current) === null || _this$containerRef$cu2 === void 0 ? void 0 : _this$containerRef$cu2.querySelector(\"textarea[tabindex='0']\")) || ((_this$containerRef$cu3 = _this.containerRef.current) === null || _this$containerRef$cu3 === void 0 ? void 0 : _this$containerRef$cu3.querySelector(\"[tabindex='0'][data-errorfocus='true']\")) || ((_this$containerRef$cu4 = _this.containerRef.current) === null || _this$containerRef$cu4 === void 0 ? void 0 : _this$containerRef$cu4.querySelector(\"input[type='checkbox'][tabindex='-1'][data-errorfocus='true']\"));\n      // CheckBox的data-shortcut是加在tabindex=-1的input上，不知道是不是特意这样做，只能按照原有的规则加判断>_<\n      if (!ele) return;\n      // 行政区划不需获取焦点展开面板\n      // 没有被其他覆盖的情况下，才获取焦点\n      if (_this.props.fieldType !== _fieldType[\"default\"].CascadeMenu) {\n        var rect = ele.getBoundingClientRect();\n        var x = rect.x,\n          y = rect.y;\n        setTimeout(function () {\n          // 有可能校验后后端会弹窗提示，为了避免与弹窗抢焦点，这里延时了100ms进行规避，\n          // 0ms的话有可能弹窗还没出来\n          var targetPoint = (0, _elementFromPoint[\"default\"])(x, y);\n          if (_this.props.fieldType === _fieldType[\"default\"].CheckBoxGroup && !(0, _componentutil.getComponentDataProperty)(_this.props.model, _serverproperties.FLAT_STYLE, ['item', _serverproperties.FLAT_STYLE])) {\n            targetPoint = targetPoint.querySelector('span > input');\n          } else if (_this.props.fieldType === _fieldType[\"default\"].RadioOptGroup && !(0, _componentutil.getComponentDataProperty)(_this.props.model, _serverproperties.FLAT_STYLE, ['item', _serverproperties.FLAT_STYLE])) {\n            // 单选字段默认情况下特殊处理\n            targetPoint = targetPoint.parentElement;\n          }\n          if (targetPoint === ele || !(0, _elementUtil.isElementInViewport)(rect)) {\n            ele.focus();\n          }\n        }, 100);\n      }\n      var _this$props$model = _this.props.model,\n        pageId = _this$props$model.pageId,\n        key = _this$props$model.key;\n      var lastestValidateMessageKey = (0, _memoryCacher.getPageData)(pageId, [_const.LATEST_VALIDATE_MESSAGE_KEY]);\n      if (!lastestValidateMessageKey || lastestValidateMessageKey !== key) {\n        (0, _memoryCacher.setPageData)(pageId, [_const.LATEST_VALIDATE_MESSAGE_KEY], key);\n      } else {\n        _this.setState({\n          flicker: true\n        }, function () {\n          setTimeout(function () {\n            _this.setState({\n              flicker: false\n            });\n          }, 100);\n        });\n      }\n    };\n    _this.customGetViewPortElement = [_fieldType[\"default\"].CheckBoxGroup, _fieldType[\"default\"].RadioOptGroup].includes(_this.props.fieldType) ? function (_ref) {\n      var x = _ref.x,\n        y = _ref.y,\n        element = _ref.element;\n      if (_this.props.fieldType === _fieldType[\"default\"].CheckBoxGroup) {\n        var elements = (0, _toolUtils.getElementsFromPoint)(x, y);\n        var _iterator = _createForOfIteratorHelper(elements),\n          _step;\n        try {\n          for (_iterator.s(); !(_step = _iterator.n()).done;) {\n            var el = _step.value;\n            if (el.contains(element)) {\n              return el; // 返回第一个包含element的元素\n            }\n          }\n        } catch (err) {\n          _iterator.e(err);\n        } finally {\n          _iterator.f();\n        }\n        return null;\n      }\n      return null;\n    } : null;\n    _this.getVerticalTitleStyle = function (fieldType, style) {\n      var result = {};\n      if (!style) return result;\n      var titleFontSize = style.fontSize ? style.fontSize : (0, _defaultPropsUtil.getFieldDefaultProps)(fieldType, _customProperties[\"default\"].TITLE_FONT_SIZE) ? (0, _defaultPropsUtil.getFieldDefaultProps)(fieldType, _customProperties[\"default\"].TITLE_FONT_SIZE) : '';\n      if (titleFontSize) {\n        result.fontSize = titleFontSize;\n      }\n      var lineHeight = (0, _fieldUtils.getFieldTitleLineHeight)(titleFontSize);\n      if (lineHeight) {\n        result.lineHeight = lineHeight;\n      }\n      return result;\n    };\n    _this.state = {\n      isFieldValidatorMsgShow: false,\n      showError: false,\n      flicker: false\n    };\n    _this.renderTitle = _this.renderTitle.bind(_assertThisInitialized(_this));\n    _this.renderHorizon = _this.renderHorizon.bind(_assertThisInitialized(_this));\n    _this.renderVertical = _this.renderVertical.bind(_assertThisInitialized(_this));\n    _this.handleValidateStateChange = _this.handleValidateStateChange.bind(_assertThisInitialized(_this));\n    _this.containerRef = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.childrenRef = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.isInputFocus = false;\n    return _this;\n  }\n  _createClass(FieldItem, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this$props$getField, _this$props;\n      this.addEventChangeListener(this.props.disabled, this.props.model);\n      (_this$props$getField = (_this$props = this.props).getField) === null || _this$props$getField === void 0 || _this$props$getField.call(_this$props, this.containerRef.current);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.removeEventChangeListener();\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      if (this.props.disabled && !nextProps.disabled) {\n        this.addEventChangeListener(nextProps.disabled, nextProps.model);\n      } else if (!this.props.disabled && nextProps.disabled) {\n        this.removeEventChangeListener(this.props.disabled);\n      }\n    }\n  }, {\n    key: \"handleValidateStateChange\",\n    value: function handleValidateStateChange(isFieldValidatorMsgShow) {\n      this.setState({\n        isFieldValidatorMsgShow: isFieldValidatorMsgShow\n      });\n    }\n  }, {\n    key: \"isMulField\",\n    value:\n    // 是否多行字段\n    function isMulField(fieldType) {\n      var isMultiLine = this.props.isMultiLine;\n      return fieldType === 'CheckBoxGroupField' || fieldType === _fieldType[\"default\"].CheckBoxGroup || [_serverproperties.Ctrls.KDRadioOptGroup, 'RadioOptGroupField'].includes(fieldType) || fieldType === _serverproperties.Ctrls.KDRadioOptGroup || fieldType === 'textarea' || [_serverproperties.Ctrls.KDMulBaseData, _serverproperties.Ctrls.KDBaseData].includes(fieldType) && this.props.model && this.props.model.getMetaProperty(['item', 'multiLine']) || fieldType === 'largeText' || fieldType === 'address' || this.isMulBasedataLabelNoFold(fieldType) || isMultiLine;\n    }\n\n    // 多选F7+标签模式+展开（非折叠）\n  }, {\n    key: \"isMulBasedataLabelNoFold\",\n    value: function isMulBasedataLabelNoFold(fieldType) {\n      return fieldType === _fieldType[\"default\"].MulBasedata && this.props.model && this.props.model.getMetaProperty(['item', _serverproperties.SELECTED_ITEM_STYLE]) === 'label' && this.props.model.getMetaProperty(['item', _serverproperties.F7_LABEL_FOLDING_STATE]) === false;\n    }\n  }, {\n    key: \"renderTitle\",\n    value:\n    /**\n     * 绘制字段标题\n     * @param {object} param0 参数\n     * @param {boolean} disabled 当前字段的禁用状态\n     * @param {object} titleStyle 标题样式\n     * @param {string} titleType 标题是否换行。水平布局下，值为 newline ，标题宽度 120px，超出一行换行显示。\n     * @returns\n     */\n    function renderTitle(_ref2) {\n      var disabled = _ref2.disabled,\n        titleStyle = _ref2.titleStyle,\n        _ref2$titleType = _ref2.titleType,\n        titleType = _ref2$titleType === void 0 ? TITLE_TYPE.normal : _ref2$titleType;\n      var _this$props2 = this.props,\n        labelDirection = _this$props2.labelDirection,\n        labelTextAlign = _this$props2.labelTextAlign,\n        labelText = _this$props2.labelText,\n        labelStyle = _this$props2.labelStyle,\n        showTitle = _this$props2.showTitle,\n        mustInput = _this$props2.mustInput,\n        slot = _this$props2.slot,\n        showFormByTips = _this$props2.showFormByTips,\n        clickTipsLink = _this$props2.clickTipsLink,\n        dataPageId = _this$props2.dataPageId,\n        style = _this$props2.style,\n        field = _this$props2.field,\n        isDesigner = _this$props2.isDesigner,\n        CtlTips = _this$props2.CtlTips;\n      if (!showTitle) return;\n      var textAlignClass = _FieldItem2[\"default\"]['label-text-' + labelTextAlign];\n      var labelClassName = (0, _classnames7[\"default\"])('kd-cq-field-title-wrap', _defineProperty(_defineProperty(_defineProperty({}, _FieldItem2[\"default\"]['label-wrap'], true), textAlignClass, textAlignClass), _FieldItem2[\"default\"]['label-newline'], titleType === TITLE_TYPE.newline && showTitle));\n      var titleContainerStyle = _objectSpread({}, titleStyle);\n      if (labelStyle.width) {\n        // 如果设置了宽度，则不启用压缩\n        titleContainerStyle = Object.assign({}, labelStyle, {\n          flexShrink: 0\n        });\n      }\n      titleContainerStyle.color = style && style.color;\n      // 默认没有设置值时和左对齐一样\n      var _labelTextAlign = labelTextAlign !== null && labelTextAlign !== void 0 ? labelTextAlign : 'left';\n      var titleContainerProps = (0, _doubleClickToChangePropertyUtil.getTitleProps)(field, _propnames.NAME, labelText);\n      var designTipsClassName = (0, _classnames7[\"default\"])('kdfont kdfont-tishixinxi', _defineProperty({}, _FieldItem2[\"default\"]['design-tips'], true));\n      var titleClz = (0, _classnames7[\"default\"])(_FieldItem2[\"default\"]['title-wrapper'], _FieldItem2[\"default\"][\"title-align-\".concat(_labelTextAlign)], _defineProperty({}, _FieldItem2[\"default\"]['horizontal-title'], labelDirection === 'h'));\n      // 左对齐时必填符号跟着标题，去除宽度设置\n      if (_labelTextAlign === 'left' && titleStyle.width) {\n        delete titleStyle.width;\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        className: labelClassName,\n        style: titleContainerStyle\n      }, titleContainerProps), titleType === TITLE_TYPE.normal && /*#__PURE__*/_react[\"default\"].createElement(_BaseComponents.Label, _extends({\n        text: labelText,\n        style: {\n          margin: 0,\n          padding: 0\n        }\n      }, this.props.labelProps)), titleType === TITLE_TYPE.newline && /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        className: titleClz,\n        style: titleStyle\n      }, this.props.labelProps, {\n        title: labelText\n      }), labelText), mustInput ? /*#__PURE__*/_react[\"default\"].createElement(\"label\", {\n        className: (0, _classnames7[\"default\"])(_FieldItem2[\"default\"].must, 'require-icon')\n      }, \"*\") : null, slot, isDesigner && CtlTips ? /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: designTipsClassName\n      }) : null);\n    }\n  }, {\n    key: \"renderHorizon\",\n    value: function renderHorizon(fieldClassName, disabled) {\n      var _classnames4, _getFieldDefaultProps, _getFieldDefaultProps2, _getFieldDefaultProps3;\n      var _this$props3 = this.props,\n        userLocal = _this$props3.userLocal,\n        isNoUnderLineLockStyle = _this$props3.isNoUnderLineLockStyle,\n        allBorder = _this$props3.allBorder,\n        noBorder = _this$props3.noBorder,\n        needBorder = _this$props3.needBorder,\n        showTitle = _this$props3.showTitle,\n        labelText = _this$props3.labelText,\n        labelProps = _this$props3.labelProps,\n        labelDirection = _this$props3.labelDirection,\n        labelStyle = _this$props3.labelStyle,\n        children = _this$props3.children,\n        style = _this$props3.style,\n        className = _this$props3.className,\n        editableBtn = _this$props3.editableBtn,\n        mustInput = _this$props3.mustInput,\n        Grow = _this$props3.Grow,\n        Shrink = _this$props3.Shrink,\n        Overflow = _this$props3.Overflow,\n        Direction = _this$props3.Direction,\n        Wrap = _this$props3.Wrap,\n        AlignSelf = _this$props3.AlignSelf,\n        labelTextAlign = _this$props3.labelTextAlign,\n        fieldType = _this$props3.fieldType,\n        slot = _this$props3.slot,\n        showFormByTips = _this$props3.showFormByTips,\n        model = _this$props3.model,\n        clickTipsLink = _this$props3.clickTipsLink,\n        showType = _this$props3.showType,\n        dataPageId = _this$props3.dataPageId,\n        billTipsHoverTriggerEvent = _this$props3.billTipsHoverTriggerEvent,\n        radioStyle = _this$props3.radioStyle,\n        checkboxStyle = _this$props3.checkboxStyle,\n        onTwiceClick = _this$props3.onTwiceClick,\n        field = _this$props3.field,\n        showEditButton = _this$props3.showEditButton,\n        _this$props3$layoutOp = _this$props3.layoutOption,\n        layoutOption = _this$props3$layoutOp === void 0 ? {} : _this$props3$layoutOp,\n        isBaseDataSelectModel = _this$props3.isBaseDataSelectModel,\n        isCompact = _this$props3.isCompact,\n        contentContainerStyle = _this$props3.contentContainerStyle,\n        valueAreaClz = _this$props3.valueAreaClz,\n        formStatus = _this$props3.formStatus,\n        isMultiLine = _this$props3.isMultiLine,\n        isInLayoutFlex = _this$props3.isInLayoutFlex,\n        CtlTips = _this$props3.CtlTips,\n        displayType = _this$props3.displayType,\n        other = _objectWithoutProperties(_this$props3, _excluded);\n      var selectBorder = showType === 1 && (fieldType === 'combo' || fieldType === 'ComboField');\n      var isMulField = fieldType === 'textarea' || fieldType === 'TextAreaField' || fieldType === 'largeText' || fieldType === 'address';\n      var mulField = this.isMulField(fieldType);\n      var isView = (0, _componentutil.isViewModel)(this.props.formStatus);\n      // allBorder 与 needBorder: needBorder 为历史产物，暂时不处理，二者基本上一样;noborder为无线框风格\n      var childrenClassH = (0, _classnames7[\"default\"])('kd-cq-field-value-wrap', valueAreaClz, (_classnames4 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_classnames4, _FieldItem2[\"default\"]['value-wrap'], true), _FieldItem2[\"default\"]['mul-value-wrap-h'], isMulField), _FieldItem2[\"default\"].showEditButton, showEditButton || fieldType === 'largeText'), _FieldItem2[\"default\"]['is-text'], ['text', 'passwordbox'].includes(fieldType) || !fieldType || fieldType === 'combo' && !allBorder), \"\".concat(_FieldItem2[\"default\"].borderAll, \" allBorder\"), allBorder && needBorder), _FieldItem2[\"default\"]['select-model-pointer'], !disabled && isBaseDataSelectModel), 'kd-field-border-all', allBorder && !disabled && needBorder), 'kd-hover-color', !disabled), 'theme field-in-lock', disabled && !isView), \"underLine\", !this.props.allBorder && !(noBorder && disabled)), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_classnames4, 'theme field-in-view', isView), 'theme field-in-edit', !isView && !disabled), 'error-color-border1', allBorder && !disabled && this.state.isFieldValidatorMsgShow && !this.state.flicker), 'kd-field-text-style-in-view', isView && noBorder && disabled), 'theme-border-color', allBorder && !disabled && needBorder && this.isInputFocus), _FieldItem2[\"default\"]['text-type'], ['text', 'passwordbox'].includes(fieldType) || !fieldType), 'error-color-field', !allBorder && !disabled && this.state.isFieldValidatorMsgShow && !this.state.flicker)));\n      var _style = _objectSpread(_objectSpread({}, style), other.fieldItemStyle);\n      if (isMulField || mulField) {\n        _style.minHeight = '34px';\n      }\n      if (style.height && style.height !== 'initial' && style.height !== 'auto') {\n        // 解决多行文本在高级字段面板内布局异常的问题\n        _style.minHeight = style.height;\n      }\n      if (fieldType === 'picture' || fieldType === 'PictureField' || fieldType === 'attachmentfield') {\n        var _height = style.height;\n        _style.height = _height || 'auto';\n      }\n      if (_style.width === '100%') {\n        _style.marginRight = 0;\n      }\n      var dataProps = {};\n      // 边框锁定风格显示下划线不显示边框\n      if (allBorder && disabled) {\n        dataProps['data-border-all-disabled'] = true;\n      }\n      // 多行文本和多语言文本增加标识\n      if (fieldType === 'textarea' || fieldType === 'localeText' || fieldType === 'largeText'\n      // fieldType === 'address') { // 地址字段没有下方统计数字，不需要加大下间距\n      ) {\n        dataProps['data-field-type'] = this.props.fieldType;\n        var addMarginBottom = (isMulField || mulField) && parseInt(_style.marginBottom) < 6 && this.isInputFocus;\n        if (addMarginBottom) {\n          // 紧凑主题要求输入态加大下间距，显示出下面的统计数字\n          _style.marginBottom = 11;\n        }\n      }\n      var fieldValueStyle = {};\n      // 设置边框模式且设置了值域背景色值，规避padding导致的背景色不一致\n      if (model !== null && model !== void 0 && model.getMetaProperty([_serverproperties.ITEM, _serverproperties.BACKGROUND_COLOR])) {\n        fieldValueStyle.backgroundColor = model.getMetaProperty([_serverproperties.ITEM, _serverproperties.BACKGROUND_COLOR]);\n      }\n\n      // 兼容设计器的场景\n      if (this.props.isDesigner) {\n        var _children$props;\n        fieldValueStyle.backgroundColor = children === null || children === void 0 || (_children$props = children.props) === null || _children$props === void 0 || (_children$props = _children$props.style) === null || _children$props === void 0 ? void 0 : _children$props.backgroundColor;\n      }\n\n      // 标题样式\n      var titleWidth = (_getFieldDefaultProps = (0, _defaultPropsUtil.getFieldDefaultProps)(fieldType, _customProperties[\"default\"].HORIZONTAL_FIELD_TITLE_WIDTH)) !== null && _getFieldDefaultProps !== void 0 ? _getFieldDefaultProps : _const.FIELD_DEFAULT_STYLE.horizontalTitleWidth;\n      var inputWidth = (_getFieldDefaultProps2 = (0, _defaultPropsUtil.getFieldDefaultProps)(fieldType, _customProperties[\"default\"].HORIZONTAL_FIELD_INPUT_WIDTH)) !== null && _getFieldDefaultProps2 !== void 0 ? _getFieldDefaultProps2 : _const.FIELD_DEFAULT_STYLE.horizontalInputWidth;\n      var titleMarginRight = (_getFieldDefaultProps3 = (0, _defaultPropsUtil.getFieldDefaultProps)(fieldType, _customProperties[\"default\"].HORIZONTAL_FIELD_TITLE_MARGIN_RIGHT)) !== null && _getFieldDefaultProps3 !== void 0 ? _getFieldDefaultProps3 : _const.FIELD_DEFAULT_STYLE.horizontalTitleMarginRight;\n      var titleStyle = {\n        fontSize: _style.fontSize ? _style.fontSize : (0, _defaultPropsUtil.getFieldDefaultProps)(fieldType, _customProperties[\"default\"].HORIZONTAL_TITLE_FONT_SIZE) ? (0, _defaultPropsUtil.getFieldDefaultProps)(fieldType, _customProperties[\"default\"].HORIZONTAL_TITLE_FONT_SIZE) : (0, _defaultPropsUtil.getFieldDefaultProps)(fieldType, _customProperties[\"default\"].TITLE_FONT_SIZE) ? (0, _defaultPropsUtil.getFieldDefaultProps)(fieldType, _customProperties[\"default\"].TITLE_FONT_SIZE) : '',\n        width: labelStyle.width === undefined || labelStyle.width === '' ? titleWidth : labelStyle.width\n      };\n      // 整体宽度\n      // 后端可能发送 { w: '' }或者 undefined 的数据\n      // 在主题设置了3个属性值时才开始计算宽度\n      var useDefault = (0, _defaultPropsUtil.getFieldDefaultProps)(fieldType, _customProperties[\"default\"].HORIZONTAL_FIELD_TITLE_WIDTH) === undefined && (0, _defaultPropsUtil.getFieldDefaultProps)(fieldType, _customProperties[\"default\"].HORIZONTAL_FIELD_INPUT_WIDTH) === undefined && (0, _defaultPropsUtil.getFieldDefaultProps)(fieldType, _customProperties[\"default\"].HORIZONTAL_FIELD_TITLE_MARGIN_RIGHT) === undefined;\n      _style.width = _style.width || useDefault ? _style.width : titleWidth + inputWidth + titleMarginRight;\n      var controlProps = (0, _doubleClickToChangePropertyUtil.getControlProps)(field, onTwiceClick);\n      var messageType = parseInt(_style.marginBottom, 10) <= 18 ? this.state.showError ? _const.ValidateMessageType.COVER : _const.ValidateMessageType.BORDER : _const.ValidateMessageType.NORMAL;\n      var containerStyle = _objectSpread(_objectSpread({\n        minWidth: '0px'\n      }, contentContainerStyle), {}, {\n        marginLeft: titleMarginRight\n      });\n      var FieldComponent = children;\n      if (this.props.fieldType === 'checkbox' && slot) {\n        FieldComponent = /*#__PURE__*/_react[\"default\"].cloneElement(children[1], {\n          slot: slot\n        });\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        className: fieldClassName,\n        style: _style\n      }, billTipsHoverTriggerEvent, other, dataProps, controlProps, {\n        ref: this.containerRef,\n        \"data-field-item\": true,\n        \"data-last-column\": layoutOption.isLastColumn,\n        onFocusCapture: !disabled && this.setFocusTruthy,\n        onBlurCapture: !disabled && this.setFocusFalsy,\n        onMouseEnter: !disabled && this.handleMouseEnter,\n        onMouseLeave: !disabled && this.handleMouseLeave,\n        onClickCapture: !disabled && this.handleClick\n      }), this.renderTitle({\n        disabled: disabled,\n        titleStyle: titleStyle,\n        titleType: TITLE_TYPE.newline\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _FieldItem2[\"default\"]['field-item-h-validate'],\n        style: containerStyle\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: childrenClassH,\n        style: fieldValueStyle,\n        ref: this.childrenRef\n      }, FieldComponent), isNoUnderLineLockStyle !== true && /*#__PURE__*/_react[\"default\"].createElement(_FieldValidateBar[\"default\"], {\n        validateStateChange: this.handleValidateStateChange,\n        pageId: model ? model.pageId : null,\n        ctlId: model ? model.key : null,\n        needBorder: needBorder && !selectBorder,\n        disabled: disabled,\n        allBorder: allBorder,\n        noBorder: noBorder,\n        type: messageType,\n        showError: this.state.showError,\n        flicker: this.state.flicker,\n        customGetViewPortElement: this.customGetViewPortElement\n      })));\n    }\n  }, {\n    key: \"renderVertical\",\n    value: function renderVertical(fieldClassName, disabled) {\n      var _classnames5;\n      var _this$props4 = this.props,\n        userLocal = _this$props4.userLocal,\n        isNoUnderLineLockStyle = _this$props4.isNoUnderLineLockStyle,\n        allBorder = _this$props4.allBorder,\n        noBorder = _this$props4.noBorder,\n        needBorder = _this$props4.needBorder,\n        showTitle = _this$props4.showTitle,\n        labelText = _this$props4.labelText,\n        labelProps = _this$props4.labelProps,\n        labelDirection = _this$props4.labelDirection,\n        labelStyle = _this$props4.labelStyle,\n        children = _this$props4.children,\n        style = _this$props4.style,\n        editableBtn = _this$props4.editableBtn,\n        mustInput = _this$props4.mustInput,\n        Grow = _this$props4.Grow,\n        Shrink = _this$props4.Shrink,\n        Overflow = _this$props4.Overflow,\n        Direction = _this$props4.Direction,\n        Wrap = _this$props4.Wrap,\n        AlignSelf = _this$props4.AlignSelf,\n        labelTextAlign = _this$props4.labelTextAlign,\n        fieldType = _this$props4.fieldType,\n        slot = _this$props4.slot,\n        showFormByTips = _this$props4.showFormByTips,\n        model = _this$props4.model,\n        clickTipsLink = _this$props4.clickTipsLink,\n        showType = _this$props4.showType,\n        dataPageId = _this$props4.dataPageId,\n        billTipsHoverTriggerEvent = _this$props4.billTipsHoverTriggerEvent,\n        radioStyle = _this$props4.radioStyle,\n        checkboxStyle = _this$props4.checkboxStyle,\n        onTwiceClick = _this$props4.onTwiceClick,\n        field = _this$props4.field,\n        showEditButton = _this$props4.showEditButton,\n        _this$props4$layoutOp = _this$props4.layoutOption,\n        layoutOption = _this$props4$layoutOp === void 0 ? {} : _this$props4$layoutOp,\n        isBaseDataSelectModel = _this$props4.isBaseDataSelectModel,\n        className = _this$props4.className,\n        contentContainerStyle = _this$props4.contentContainerStyle,\n        inputStyle = _this$props4.inputStyle,\n        valueAreaClz = _this$props4.valueAreaClz,\n        isMultiLine = _this$props4.isMultiLine,\n        formStatus = _this$props4.formStatus,\n        isInLayoutFlex = _this$props4.isInLayoutFlex,\n        CtlTips = _this$props4.CtlTips,\n        displayType = _this$props4.displayType,\n        other = _objectWithoutProperties(_this$props4, _excluded2);\n      var fieldValueStyle = _objectSpread({}, this.props.fieldValueStyle || {});\n      var selectBorder = showType === 1 && (fieldType === 'combo' || fieldType === 'ComboField');\n      // 20201230: 新增地址字段\n      var isMulField = fieldType === 'textarea' || fieldType === 'TextAreaField' || fieldType === 'largeText' || fieldType === 'address';\n      // 多行文本和多行的多语言文本的高度需要特殊处理\n      var mulField = this.isMulField(fieldType);\n      // 自适应时的多行文本和多行的多语言文本，上下padding需要特殊处理\n      var isAdaptive = (0, _defaultPropsUtil.getCommonDefaultProps)(_customProperties[\"default\"].FIELD_PANEL_ITEM_ADAPTIVE, true);\n      var isView = (0, _componentutil.isViewModel)(this.props.formStatus);\n      // allBorder 与 needBorder: needBorder 为历史产物，暂时不处理，二者基本上一样;noborder为无线框风格\n      var childrenClassV = (0, _classnames7[\"default\"])('kd-cq-field-value-wrap', valueAreaClz, (_classnames5 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_classnames5, _FieldItem2[\"default\"]['value-wrap'], true), _FieldItem2[\"default\"]['mul-value-wrap-v'], isMulField), _FieldItem2[\"default\"].wordBottom, !showTitle), _FieldItem2[\"default\"]['is-adaptive'], isAdaptive), _FieldItem2[\"default\"].showEditButton, showEditButton || fieldType === 'largeText'), _FieldItem2[\"default\"]['is-text'], ['text', 'passwordbox'].includes(fieldType) || !fieldType || fieldType === 'combo' && !allBorder), \"\".concat(_FieldItem2[\"default\"].borderAll, \" allBorder\"), allBorder && needBorder), _FieldItem2[\"default\"]['select-model-pointer'], !disabled && isBaseDataSelectModel), 'kd-field-border-all', allBorder && !disabled && needBorder), 'kd-hover-color', !disabled), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_classnames5, 'theme field-in-lock', disabled && !isView), \"underLine\", !this.props.allBorder && !(noBorder && disabled)), 'theme field-in-view', isView), 'theme field-in-edit', !isView && !disabled), 'error-color-border1', allBorder && !disabled && this.state.isFieldValidatorMsgShow && !this.state.flicker), 'theme-border-color', allBorder && !disabled && (this.state.showError && !this.state.isFieldValidatorMsgShow || needBorder && this.isInputFocus)), 'kd-field-text-style-in-view', isView && noBorder && disabled), _FieldItem2[\"default\"]['text-type'], ['text', 'passwordbox'].includes(fieldType) || !fieldType), 'error-color-field', !allBorder && !disabled && this.state.isFieldValidatorMsgShow && !this.state.flicker)));\n      var _style = Object.assign(_objectSpread({}, style));\n      if (isMulField || mulField) {\n        _style.minHeight = '44px';\n      }\n      var vOverallHeight = (0, _defaultPropsUtil.getFieldDefaultProps)(fieldType, _customProperties[\"default\"].V_OVERALL_HEIGHT);\n      var vOverallWidth = (0, _defaultPropsUtil.getFieldDefaultProps)(fieldType, _customProperties[\"default\"].V_OVERALL_WIDTH);\n      if (vOverallWidth !== undefined && !_style.width) {\n        // 垂直布局设置的默认宽度\n        _style.width = vOverallWidth;\n      }\n      if (vOverallHeight !== undefined) {\n        fieldValueStyle.marginTop = parseFloat(vOverallHeight) - 44 + 'px';\n        if (labelDirection === 'v' && !mulField) {\n          _style.height = vOverallHeight;\n        }\n        // 修复多语言多行文本高度问题\n        if (parseFloat(vOverallHeight) - parseFloat(style.minHeight) > 0) {\n          _style.minHeight = vOverallHeight;\n        }\n      }\n      if (style.height && style.height !== 'initial' && style.height !== 'auto') {\n        // 解决多行文本在高级字段面板内布局异常的问题\n        _style.minHeight = style.height;\n      }\n      if (fieldType === 'picture' || fieldType === 'PictureField' || fieldType === 'attachmentfield') {\n        var _height = style.height;\n        _style.height = _height || 'auto';\n      }\n      if (style.width === '100%') {\n        // chrome 91、火狐老版本之前子元素宽度设置了100%，再设置margin-right 不会生效，但是浏览器新版本margin-right会生效，导致滚动条的出现，让客户一个个去调整布局(父容器设置为溢出裁剪或者margin-right 改成0)不现实，目前暂时用此方法解决\n        _style.marginRight = 0;\n      }\n      var dataProps = {};\n      // 边框锁定风格显示下划线不显示边框\n      if (this.props.allBorder && disabled) {\n        dataProps['data-border-all-disabled'] = true;\n      }\n      // 多行文本、多语言文本、大文本增加标识\n      // 20201230: 新增地址字段\n      if (this.props.fieldType === 'textarea' || this.props.fieldType === 'localeText' || this.props.fieldType === 'largeText' || this.props.fieldType === 'address') {\n        dataProps['data-field-type'] = this.props.fieldType;\n        var addMarginBottom = (isMulField || mulField) && parseInt(_style.marginBottom) < 13 && this.isInputFocus;\n        if (addMarginBottom) {\n          // 紧凑主题要求输入态加大下间距，显示出下面的统计数字\n          _style.marginBottom = 13;\n        }\n      }\n      if (children && children.props && children.props.editingMode === 'largeText') {\n        dataProps['data-editing-mode'] = true;\n      }\n      var controlProps = (0, _doubleClickToChangePropertyUtil.getControlProps)(field, onTwiceClick);\n      // 全边框时可通过主题参数控制输入框高度\n      var FieldComponent = children;\n      if (this.props.fieldType === 'checkbox' && slot) {\n        FieldComponent = /*#__PURE__*/_react[\"default\"].cloneElement(children[1], {\n          slot: slot\n        });\n      }\n\n      // 设置边框模式且设置了值域背景色值，规避padding导致的背景色不一致\n      if (model !== null && model !== void 0 && model.getMetaProperty([_serverproperties.ITEM, _serverproperties.BACKGROUND_COLOR])) {\n        fieldValueStyle.backgroundColor = model.getMetaProperty([_serverproperties.ITEM, _serverproperties.BACKGROUND_COLOR]);\n      }\n\n      // 兼容设计器的场景\n      if (this.props.isDesigner) {\n        var _children$props2;\n        fieldValueStyle.backgroundColor = children === null || children === void 0 || (_children$props2 = children.props) === null || _children$props2 === void 0 || (_children$props2 = _children$props2.style) === null || _children$props2 === void 0 ? void 0 : _children$props2.backgroundColor;\n        if (allBorder && ['BillNoField', 'TextField', 'NameSegTextField', 'I18nNameField', 'ItemClassTypeField', 'ItemClassField'].includes(fieldType)) {\n          fieldValueStyle.padding = '0 8px';\n        }\n      }\n      var titleStyle = this.getVerticalTitleStyle(fieldType, _style);\n      var messageType = parseInt(_style.marginBottom, 10) <= 18 ? this.state.showError ? _const.ValidateMessageType.COVER : _const.ValidateMessageType.BORDER : _const.ValidateMessageType.NORMAL;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        className: fieldClassName,\n        style: _style\n      }, billTipsHoverTriggerEvent, other, dataProps, controlProps, {\n        ref: this.containerRef,\n        \"data-field-item\": true,\n        \"data-last-column\": layoutOption.isLastColumn,\n        onFocusCapture: !disabled && this.setFocusTruthy,\n        onBlurCapture: !disabled && this.setFocusFalsy,\n        onMouseEnter: !disabled && this.handleMouseEnter,\n        onMouseLeave: !disabled && this.handleMouseLeave,\n        onClickCapture: !disabled && this.handleClick\n      }), this.renderTitle({\n        disabled: disabled,\n        titleStyle: titleStyle\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: childrenClassV,\n        style: fieldValueStyle,\n        ref: this.childrenRef\n      }, FieldComponent), isNoUnderLineLockStyle !== true && /*#__PURE__*/_react[\"default\"].createElement(_FieldValidateBar[\"default\"], {\n        validateStateChange: this.handleValidateStateChange,\n        pageId: model ? model.pageId : null,\n        ctlId: model ? model.key : null,\n        needBorder: needBorder && !selectBorder,\n        disabled: disabled,\n        allBorder: allBorder,\n        noBorder: noBorder,\n        showError: this.state.showError,\n        type: messageType,\n        flicker: this.state.flicker,\n        customGetViewPortElement: this.customGetViewPortElement\n      }));\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _classnames6;\n      var _this$props5 = this.props,\n        contentContainerStyle = _this$props5.contentContainerStyle,\n        showTitle = _this$props5.showTitle,\n        labelDirection = _this$props5.labelDirection,\n        disabled = _this$props5.disabled,\n        className = _this$props5.className,\n        Overflow = _this$props5.Overflow,\n        Direction = _this$props5.Direction,\n        Wrap = _this$props5.Wrap,\n        AlignSelf = _this$props5.AlignSelf,\n        fieldType = _this$props5.fieldType,\n        radioStyle = _this$props5.radioStyle,\n        checkboxStyle = _this$props5.checkboxStyle,\n        _this$props5$layoutOp = _this$props5.layoutOption,\n        layoutOption = _this$props5$layoutOp === void 0 ? {} : _this$props5$layoutOp,\n        fullLine = _this$props5.fullLine;\n      // const disabled = this.isDisabled()\n      // 多行文本和多行的多语言文本的高度需要特殊处理\n      // 20201230: 新增地址字段\n      var mulField = this.isMulField(fieldType);\n      var isAdaptive = (0, _defaultPropsUtil.getCommonDefaultProps)(_customProperties[\"default\"].FIELD_PANEL_ITEM_ADAPTIVE, true);\n      // 主题设置了全边框字段的高度时，内容区域的paddingTop非0,\n      var fieldClassName = (0, _classnames7[\"default\"])(\"kd-cq-field kd-cq-\".concat(fieldType), (_classnames6 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_classnames6, _FieldItem2[\"default\"]['field-item'], true), _FieldItem2[\"default\"]['field-item-h'], labelDirection === 'h'), _FieldItem2[\"default\"]['field-item-v'], labelDirection === 'v'), _FieldItem2[\"default\"]['field-item-v-width'], labelDirection === 'v' && radioStyle !== 1 && checkboxStyle !== 1), _FieldItem2[\"default\"]['no-mul-field-v'], labelDirection === 'v' && !mulField), _FieldItem2[\"default\"]['no-mul-field-h'], labelDirection === 'h' && !mulField), className, className), 'kd-cq-field-with-title', showTitle), 'kd-field-item-border', !disabled), 'kd-cq-field-full-line', fullLine), _defineProperty(_classnames6, \"kd-cq-field-layout-\".concat(labelDirection), true)), (0, _commonUtils[\"default\"])({\n        Grow: layoutOption.isGrow && isAdaptive ? 1 : 0,\n        Shrink: 0,\n        Overflow: Overflow,\n        Direction: Direction,\n        Wrap: Wrap,\n        AlignSelf: AlignSelf\n      }));\n\n      // if ((fieldType === 'textarea' || fieldType === 'localeText') && ('ActiveXObject' in window || !!window.ActiveXObject)) { // ie浏览器下，textarea默认高度设为'auto',解决initial在ie下失效高度无法被撑开的bug\n      //   if (style.height === 'initial') {\n      //     // style.height = 'auto'\n      //   }\n      // }\n      return labelDirection === 'h' ? this.renderHorizon(fieldClassName, disabled) : this.renderVertical(fieldClassName, disabled);\n    }\n  }]);\n  return FieldItem;\n}(_react.Component)) || _class);\nFieldItem.propTypes = {\n  showTitle: _propTypes[\"default\"].bool,\n  labelText: _propTypes[\"default\"].string,\n  labelDirection: _propTypes[\"default\"].string,\n  // ['h','v']\n  labelStyle: _propTypes[\"default\"].object,\n  labelProps: _propTypes[\"default\"].object,\n  style: _propTypes[\"default\"].object,\n  className: _propTypes[\"default\"].string,\n  editableBtn: _propTypes[\"default\"].bool,\n  // 编辑按钮显示\n  mustInput: _propTypes[\"default\"].bool\n};\nFieldItem.defaultProps = {\n  labelDirection: 'v'\n};\nvar _default = exports[\"default\"] = FieldItem;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/FieldItem.js?");

/***/ }),

/***/ "./src/component/web/base/FieldValidateBar.jsx":
/*!*****************************************************!*\
  !*** ./src/component/web/base/FieldValidateBar.jsx ***!
  \*****************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.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.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.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/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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 _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\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 _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _memoryCacher = __webpack_require__(/*! @/model/memoryCacher */ \"./src/model/memoryCacher.js\");\nvar _elementFromPoint = _interopRequireDefault(__webpack_require__(/*! @/component/common/elementFromPoint */ \"./src/component/common/elementFromPoint.js\"));\nvar _FieldItem = _interopRequireDefault(__webpack_require__(/*! ./FieldItem.less */ \"./src/component/web/base/FieldItem.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 _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 _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 FieldValidateBar = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(FieldValidateBar, _Component);\n  function FieldValidateBar(props) {\n    var _this;\n    _classCallCheck(this, FieldValidateBar);\n    _this = _callSuper(this, FieldValidateBar, [props]);\n    _this.addScrollListener = function () {\n      _this.hasScrollListener = true;\n      document.addEventListener('scroll', _this.handleScroll, true);\n    };\n    _this.removeScrollListener = function () {\n      _this.hasScrollListener = false;\n      document.removeEventListener('scroll', _this.handleScroll, true);\n    };\n    _this.handleScroll = function () {\n      if (!_this.state.hide) {\n        _this.setState({\n          hide: true\n        }, function () {\n          clearTimeout(_this.timer);\n          _this.timer = setTimeout(function () {\n            if (!_this.ref.current || !_this.props.showError) return;\n            _this.setPortalMessageStyle();\n          }, 500);\n        });\n      }\n    };\n    /**\n     * 设置提示语的位置\n     */\n    _this.setPortalMessageStyle = function () {\n      var _viewportTopElement;\n      var hideError = function hideError() {\n        if (!_this.state.hide) {\n          _this.setState({\n            hide: true\n          });\n        }\n      };\n      if (!_this.ref.current) return;\n      var _this$ref$current$get = _this.ref.current.getBoundingClientRect(),\n        bottom = _this$ref$current$get.bottom,\n        left = _this$ref$current$get.left;\n      var viewportTopElement = (0, _elementFromPoint[\"default\"])(left, bottom);\n      if (_this.props.customGetViewPortElement) {\n        viewportTopElement = _this.props.customGetViewPortElement({\n          x: left,\n          y: bottom,\n          element: _this.ref.current\n        });\n      }\n      // 1. 当字段在视口时，根据位置有可能获取到的是 FieldItem，而不是 validatebar\n      // 2. 从不可见滚动到可见时，可能获取到是提示语本身\n      if (!((_viewportTopElement = viewportTopElement) !== null && _viewportTopElement !== void 0 && _viewportTopElement.contains(_this.ref.current)) && viewportTopElement !== _this.messageRef.current) {\n        hideError();\n        return;\n      } else {\n        _this.setState({\n          hide: false\n        });\n      }\n      var style = _this.calculatePosition(bottom, left);\n      _this.setState({\n        portalMessageStyle: style\n      });\n    };\n    // 清除字段红色提示\n    _this.handleCleanValidatorData = function () {\n      var _this$props = _this.props,\n        pageId = _this$props.pageId,\n        ctlId = _this$props.ctlId;\n      var validatorData = (0, _memoryCacher.getPageData)(pageId, [_const.VALIDATE_DATA]);\n      if (!validatorData || !validatorData.get(ctlId)) {\n        _this.setState({\n          value: undefined,\n          hide: true\n        });\n        _this.props.validateStateChange && _this.props.validateStateChange(false);\n      }\n    };\n    _this.focusField = function () {\n      setTimeout(function () {\n        if (_reactDom[\"default\"].findDOMNode(_assertThisInitialized(_this)).scrollIntoViewIfNeeded) {\n          _reactDom[\"default\"].findDOMNode(_assertThisInitialized(_this)).scrollIntoViewIfNeeded(true);\n        } else {\n          _reactDom[\"default\"].findDOMNode(_assertThisInitialized(_this)).scrollIntoView({\n            behavior: 'smooth',\n            block: 'end'\n          });\n        }\n        // ReactDOM.findDOMNode(this).parentElement.scrollIntoView({ behavior: 'smooth', block: 'end' })\n      }, 0);\n    };\n    /**\n     * 计算提示语位置\n     * @param {number} bottom 底部位置\n     * @param {number} left 左边位置\n     * @returns\n     */\n    _this.calculatePosition = function (bottom, left) {\n      if (!bottom && !left) {\n        if (!_this.ref.current) return {};\n        var rect = _this.ref.current.getBoundingClientRect();\n        bottom = rect.bottom;\n        left = rect.left;\n      }\n      var billElement = document.getElementById(_this.props.pageId);\n      if (!billElement) return {};\n      var _billElement$getBound = billElement.getBoundingClientRect(),\n        billTop = _billElement$getBound.top,\n        billLeft = _billElement$getBound.left;\n      var style = {\n        top: bottom - billTop + billElement.scrollTop,\n        left: left - billLeft + billElement.scrollLeft\n      };\n      return style;\n    };\n    _this.renderMessage = function (message) {\n      if (message === '' || message === undefined || message === null) return;\n      var element = document.getElementById(_this.props.pageId);\n      return /*#__PURE__*/_reactDom[\"default\"].createPortal( /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames2[\"default\"])('kd-cq-popup kd-cq-field-valid-tip-popup', _FieldItem[\"default\"]['tip-text']),\n        style: _this.state.portalMessageStyle,\n        ref: _this.messageRef\n      }, message), element);\n    };\n    _this.handleValidateDataChange = _this.handleValidateDataChange.bind(_assertThisInitialized(_this));\n    _this.state = {\n      value: undefined,\n      hide: true,\n      portalMessageStyle: {}\n    };\n    _this.ref = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.messageRef = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this;\n  }\n  _createClass(FieldValidateBar, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this2 = this;\n      var _this$props2 = this.props,\n        pageId = _this$props2.pageId,\n        ctlId = _this$props2.ctlId;\n      if (pageId && ctlId) {\n        this.listeners = Object.values(_const.VALIDATE_MSG_TYPE).map(function (type) {\n          var validateData = (0, _memoryCacher.getPageData)(pageId, [_const.VALIDATE_DATA, ctlId, type]);\n          if (validateData) {\n            _this2.handleValidateDataChange(validateData);\n          }\n          return (0, _memoryCacher.subscribeValidatorMethod)(pageId, ctlId, type, _this2.handleValidateDataChange);\n        });\n        this.cleanAllTipsListeners = (0, _memoryCacher.addDataChangeListener)(pageId, [_const.VALIDATE_DATA], this.handleCleanValidatorData);\n        this.cleanControlTipsListeners = (0, _memoryCacher.addDataChangeListener)(pageId, [_const.VALIDATE_DATA, ctlId], this.handleCleanValidatorData);\n      }\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      var value = this.state.value;\n      if (nextProps.showError && nextProps.type === _const.ValidateMessageType.COVER && value && !this.hasScrollListener) {\n        this.addScrollListener();\n      }\n      if (nextProps.showError && nextProps.showError !== this.props.showError && nextProps.type === _const.ValidateMessageType.COVER && value) {\n        this.setPortalMessageStyle();\n      }\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.listeners && this.listeners.forEach(function (unBindListener) {\n        return unBindListener();\n      });\n      this.cleanAllTipsListeners && this.cleanAllTipsListeners();\n      this.cleanControlTipsListeners && this.cleanControlTipsListeners();\n      this.removeErrorFocusListener && this.removeErrorFocusListener();\n      this.removeScrollListener();\n    }\n  }, {\n    key: \"handleValidateDataChange\",\n    value: function handleValidateDataChange(value) {\n      var isFieldValidatorMsgShow = false;\n      if (value) {\n        var success = value.success;\n        isFieldValidatorMsgShow = success === false;\n        if (isFieldValidatorMsgShow) {\n          var style = this.calculatePosition();\n          this.setState({\n            value: value,\n            hide: success,\n            portalMessageStyle: style\n          });\n        } else {\n          this.setState({\n            value: value,\n            hide: success\n          });\n        }\n        if (!this.removeErrorFocusListener) {\n          var _this$props3 = this.props,\n            pageId = _this$props3.pageId,\n            ctlId = _this$props3.ctlId;\n          this.removeErrorFocusListener = (0, _memoryCacher.addDataChangeListener)(pageId, [ctlId, 'errorFocus'], this.focusField);\n        }\n      } else {\n        this.setState({\n          value: undefined,\n          hide: true\n        });\n        if (this.removeErrorFocusListener) {\n          this.removeErrorFocusListener();\n          this.removeErrorFocusListener = null;\n        }\n      }\n      this.props.validateStateChange && this.props.validateStateChange(isFieldValidatorMsgShow);\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$state = this.state,\n        hide = _this$state.hide,\n        value = _this$state.value;\n      var _this$props4 = this.props,\n        needBorder = _this$props4.needBorder,\n        disabled = _this$props4.disabled,\n        allBorder = _this$props4.allBorder,\n        pageId = _this$props4.pageId,\n        showError = _this$props4.showError,\n        type = _this$props4.type,\n        flicker = _this$props4.flicker,\n        noBorder = _this$props4.noBorder;\n      var needNotBorder = needBorder === false || allBorder === true || noBorder === true && disabled; // 不需要下边框和 需要全边框或需要无线框 时该组件无需返回边框样式\n      if (hide === false && !disabled && value && value.success === false) {\n        var message = value.message;\n        var clz = (0, _classnames2[\"default\"])(\"\".concat(_FieldItem[\"default\"]['valid-tip'], \" kd-cq-field-valid-tip error-bg-color error-color error-color-border theme\"), _defineProperty(_defineProperty({}, _FieldItem[\"default\"]['valid-noBorder'], needNotBorder), _FieldItem[\"default\"].flicker, flicker));\n        var textClz = (0, _classnames2[\"default\"])(_FieldItem[\"default\"].clip);\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: clz,\n          \"data-valid\": pageId,\n          title: message,\n          ref: this.ref\n        }, type === _const.ValidateMessageType.NORMAL && !flicker && /*#__PURE__*/_react[\"default\"].createElement(\"p\", {\n          className: textClz\n        }, message), type === _const.ValidateMessageType.COVER && showError && this.renderMessage(message));\n      }\n      if (needNotBorder) return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        ref: this.ref\n      });\n      var divClass = (0, _classnames2[\"default\"])('kd-field-no-tip', {\n        'weak-border': disabled,\n        'theme-border-color': showError && !disabled\n      });\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: divClass,\n        ref: this.ref\n      });\n    }\n  }]);\n  return FieldValidateBar;\n}(_react.Component);\nFieldValidateBar.propTypes = {\n  pageId: _propTypes[\"default\"].string,\n  ctlId: _propTypes[\"default\"].string,\n  // 控件id\n  mustInput: _propTypes[\"default\"].bool,\n  // 字段是否必录\n  needBorder: _propTypes[\"default\"].bool,\n  // 是否需要下划线\n  allBorder: _propTypes[\"default\"].bool,\n  // 是否需要全边框\n  customGetViewPortElement: _propTypes[\"default\"].func // 自定义查找元素方法\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/FieldValidateBar.jsx?");

/***/ }),

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

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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.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.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-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.itemHW = exports[\"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.find.js */ \"../../node_modules/core-js/modules/es.array.find.js\");\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.number.to-fixed.js */ \"../../node_modules/core-js/modules/es.number.to-fixed.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.parse-float.js */ \"../../node_modules/core-js/modules/es.parse-float.js\");\n__webpack_require__(/*! core-js/modules/es.parse-int.js */ \"../../node_modules/core-js/modules/es.parse-int.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 _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 _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _FieldsetPanel2 = _interopRequireDefault(__webpack_require__(/*! ./FieldsetPanel.less */ \"./src/component/web/base/FieldsetPanel.less\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _CollapseWrap = _interopRequireDefault(__webpack_require__(/*! ../../common/CollapseWrap */ \"./src/component/common/CollapseWrap.js\"));\nvar _componentutil = __webpack_require__(/*! ../../../util/componentutil */ \"./src/util/componentutil.js\");\nvar _defaultPropsUtil = __webpack_require__(/*! @/util/defaultPropsUtil */ \"./src/util/defaultPropsUtil.js\");\nvar _customProperties = _interopRequireDefault(__webpack_require__(/*! @/constant/customProperties */ \"./src/constant/customProperties.js\"));\nvar _resizeObserve = _interopRequireDefault(__webpack_require__(/*! ../../../util/resizeObserve */ \"./src/util/resizeObserve.js\"));\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _fieldType = _interopRequireDefault(__webpack_require__(/*! @/constant/fieldType */ \"./src/constant/fieldType.js\"));\nvar _lodash = __webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\");\nvar _toolUtils = __webpack_require__(/*! ../../../util/toolUtils */ \"./src/util/toolUtils.js\");\nvar _excluded = [\"className\", \"style\", \"children\", \"runTime\", \"Collapsible\", \"defaultCollapse\", \"Name\", \"Direction\", \"Wrap\", \"Overflow\", \"Grow\", \"Shrink\", \"pageId\", \"isDesigner\", \"AlignSelf\", \"AlignContent\", \"AlignItems\", \"JustifyContent\", \"outlineList\", \"handleClick\", \"isSelected\", \"expendStatus\", \"tips\", \"showFormByTips\", \"clickTipsLink\", \"userLocal\", \"model\", \"dataPageId\", \"params\", \"rowData\", \"getFiledVisible\", \"getFieldLocked\", \"activeRowKey\", \"getColMetaByField\", \"getDivStyle\", \"addFieldControl\", \"resetColumn\", \"fieldSetSlot\"],\n  _excluded2 = [\"model\"];\nvar _class, _FieldsetPanel;\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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 _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 itemHW = exports.itemHW = 286;\nvar itemVW = 230;\nvar margin = 30;\nvar FieldsetPanel = (0, _CollapseWrap[\"default\"])(_class = (_FieldsetPanel = /*#__PURE__*/function (_React$Component) {\n  _inherits(FieldsetPanel, _React$Component);\n  function FieldsetPanel(props) {\n    var _this;\n    _classCallCheck(this, FieldsetPanel);\n    _this = _callSuper(this, FieldsetPanel, [props]);\n    _this.setIsCompact = function () {\n      var node = _reactDom[\"default\"].findDOMNode(_assertThisInitialized(_this));\n      var parentElement = node.parentElement;\n      while (parentElement) {\n        if (parentElement.dataset.fullscreen === '0') {\n          _this.setState({\n            isCompact: false\n          });\n          return;\n        }\n        parentElement = parentElement.parentElement;\n      }\n    };\n    _this.pushInvisibleItemKey = function (key) {\n      if (_this.state.invisibleItemKeys.includes(key)) return;\n      _this.setState(function (prevState) {\n        return _objectSpread(_objectSpread({}, prevState), {}, {\n          invisibleItemKeys: [].concat(_toConsumableArray(prevState.invisibleItemKeys), [key])\n        });\n      });\n    };\n    _this.removeInvisibleItemKey = function (key) {\n      if (!_this.state.invisibleItemKeys.includes(key)) return;\n      _this.setState(function (prevState) {\n        var keys = (0, _lodash.cloneDeep)(prevState.invisibleItemKeys);\n        var idx = keys.findIndex(function (k) {\n          return k === key;\n        });\n        keys.splice(idx, 1);\n        return _objectSpread(_objectSpread({}, prevState), {}, {\n          invisibleItemKeys: keys\n        });\n      });\n    };\n    _this.state = {\n      columns: 0,\n      // 字段布局容器可以放字段组合容器和字段。当字段组合容器中高度为0时，在页面中是不会显示出来的，但是会占据一个可视的位置，影响下方计算\n      // 使用 invisibleItemKeys 来存储高度为 0 的容器\n      invisibleItemKeys: [],\n      isCompact: true\n    };\n    _this.reSetColumn = _this.reSetColumn.bind(_assertThisInitialized(_this));\n    _this.fieldSetPanel = /*#__PURE__*/(0, _react.createRef)();\n    return _this;\n  }\n  _createClass(FieldsetPanel, [{\n    key: \"componentWillMount\",\n    value: function componentWillMount() {\n      var vOverallWidth = (0, _defaultPropsUtil.getCommonDefaultProps)(_customProperties[\"default\"].V_OVERALL_WIDTH, true);\n      if (vOverallWidth !== undefined) {\n        itemVW = parseFloat(vOverallWidth);\n      }\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      if (nextProps.resetColumn !== this.props.resetColumn) {\n        this.reSetColumn({\n          width: this.cacheWidth\n        }, true);\n      }\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      this.resizeObserve = (0, _resizeObserve[\"default\"])(this.fieldSetPanel.current, this.reSetColumn);\n      this.setIsCompact();\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.resizeObserve.removeResizeObserve();\n      this.resizeObserve = null;\n    }\n  }, {\n    key: \"reSetColumn\",\n    value: function reSetColumn(_ref) {\n      var _getCommonDefaultProp, _getCommonDefaultProp2, _getCommonDefaultProp3;\n      var width = _ref.width;\n      var forceReset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n      // 宽度相等时，不进行重绘，减少性能消耗\n      // Math.abs(this.cacheWidth - width) === 8 这个条件主要是因为滚动条的影响，滚动条会导致整个面板在反复计算\n      if (width === 0 || this.cacheWidth === width && !forceReset || this.cacheWidth - width === -8) {\n        return;\n      }\n      this.cacheWidth = width;\n      var _this$props = this.props,\n        children = _this$props.children,\n        runTime = _this$props.runTime,\n        getIsLabelDirectionEqualH = _this$props.getIsLabelDirectionEqualH;\n      var hasHItem = false; //  是否有水平布局\n      hasHItem = children && children.find(function (_ref2) {\n        var _ref2$props = _ref2.props,\n          model = _ref2$props.model,\n          field = _ref2$props.field,\n          uiInfo = _ref2$props.uiInfo;\n        if (runTime && model !== null && model !== void 0 && model.meta) {\n          var meta = model.meta;\n          var itemMeta = meta.get('item') || meta.get('editor'); // 兼容平铺视图数据\n          return itemMeta && itemMeta.get('lDir') === 'h';\n        } else {\n          var isLabelDirectionEqualH = getIsLabelDirectionEqualH({\n            childField: field\n          });\n          return isLabelDirectionEqualH;\n        }\n      });\n      var lDir = (0, _defaultPropsUtil.getCommonDefaultProps)(_customProperties[\"default\"].LABEL_DIRECTION, true);\n      // const itemWidth = (lDir === 'h' ? itemHW : itemVW) + margin\n      var titleWidth = (_getCommonDefaultProp = (0, _defaultPropsUtil.getCommonDefaultProps)(_customProperties[\"default\"].HORIZONTAL_FIELD_TITLE_WIDTH, true)) !== null && _getCommonDefaultProp !== void 0 ? _getCommonDefaultProp : _const.FIELD_DEFAULT_STYLE.horizontalTitleWidth;\n      var inputWidth = (_getCommonDefaultProp2 = (0, _defaultPropsUtil.getCommonDefaultProps)(_customProperties[\"default\"].HORIZONTAL_FIELD_INPUT_WIDTH, true)) !== null && _getCommonDefaultProp2 !== void 0 ? _getCommonDefaultProp2 : _const.FIELD_DEFAULT_STYLE.horizontalInputWidth;\n      var titleMarginRight = (_getCommonDefaultProp3 = (0, _defaultPropsUtil.getCommonDefaultProps)(_customProperties[\"default\"].HORIZONTAL_FIELD_TITLE_MARGIN_RIGHT, true)) !== null && _getCommonDefaultProp3 !== void 0 ? _getCommonDefaultProp3 : _const.FIELD_DEFAULT_STYLE.horizontalTitleMarginRight;\n      var horizontalWidth = this.state.isCompact ? titleWidth + inputWidth + titleMarginRight : itemHW;\n      // 最后一列的字段 marginRight 去除，平摊到其他列的宽度中\n      // FIELD_PANEL_ITEM_PRIOR_HORIZONTAL_MARGIN_RIGHT优先级高于MARGIN_RIGHT\n      var marginNum = margin;\n      if (lDir !== 'v' && this.state.isCompact) {\n        var _ref3, _getCommonDefaultProp4;\n        marginNum = (_ref3 = (_getCommonDefaultProp4 = (0, _defaultPropsUtil.getCommonDefaultProps)(_customProperties[\"default\"].FIELD_PANEL_ITEM_PRIOR_HORIZONTAL_MARGIN_RIGHT, true)) !== null && _getCommonDefaultProp4 !== void 0 ? _getCommonDefaultProp4 : (0, _defaultPropsUtil.getCommonDefaultProps)(_customProperties[\"default\"].MARGIN_RIGHT, true)) !== null && _ref3 !== void 0 ? _ref3 : marginNum;\n      }\n      if (lDir === 'v' && this.state.isCompact) {\n        var _ref4, _getCommonDefaultProp5;\n        marginNum = (_ref4 = (_getCommonDefaultProp5 = (0, _defaultPropsUtil.getCommonDefaultProps)(_customProperties[\"default\"].FIELD_PANEL_ITEM_PRIOR_VERTICAL_MARGIN_RIGHT, true)) !== null && _getCommonDefaultProp5 !== void 0 ? _getCommonDefaultProp5 : (0, _defaultPropsUtil.getCommonDefaultProps)(_customProperties[\"default\"].MARGIN_RIGHT, true)) !== null && _ref4 !== void 0 ? _ref4 : marginNum;\n      }\n      var itemWidth = (lDir === 'h' && this.state.isCompact || hasHItem ? horizontalWidth : itemVW) + marginNum;\n      var isAdaptive = (0, _defaultPropsUtil.getCommonDefaultProps)(_customProperties[\"default\"].FIELD_PANEL_ITEM_ADAPTIVE, true);\n      var maxColumns = (0, _defaultPropsUtil.getCommonDefaultProps)(_customProperties[\"default\"].FIELD_PANEL_ITEM_ADAPTIVE_MAX_COLUMNS, true);\n      var _columns = 0;\n      if (width < itemWidth * 2 - marginNum) {\n        _columns = 1;\n      } else if (width <= itemWidth * 3 - marginNum) {\n        _columns = 2;\n      } else if (width <= itemWidth * 6 - marginNum) {\n        _columns = Math.ceil(width / itemWidth) - 1;\n      } else {\n        _columns = 6;\n      }\n      this.setState({\n        columns: isAdaptive && maxColumns ? Math.min(_columns, maxColumns) : _columns\n      });\n    }\n  }, {\n    key: \"handleClick\",\n    value: function handleClick(e) {\n      if (this.fieldSetPanel.current != e.target) return;\n      this.props.handleClick && this.props.handleClick();\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props2 = this.props,\n        className = _this$props2.className,\n        style = _this$props2.style,\n        children = _this$props2.children,\n        runTime = _this$props2.runTime,\n        Collapsible = _this$props2.Collapsible,\n        defaultCollapse = _this$props2.defaultCollapse,\n        Name = _this$props2.Name,\n        Direction = _this$props2.Direction,\n        Wrap = _this$props2.Wrap,\n        Overflow = _this$props2.Overflow,\n        Grow = _this$props2.Grow,\n        Shrink = _this$props2.Shrink,\n        pageId = _this$props2.pageId,\n        isDesigner = _this$props2.isDesigner,\n        AlignSelf = _this$props2.AlignSelf,\n        AlignContent = _this$props2.AlignContent,\n        AlignItems = _this$props2.AlignItems,\n        JustifyContent = _this$props2.JustifyContent,\n        outlineList = _this$props2.outlineList,\n        handleClick = _this$props2.handleClick,\n        isSelected = _this$props2.isSelected,\n        expendStatus = _this$props2.expendStatus,\n        tips = _this$props2.tips,\n        showFormByTips = _this$props2.showFormByTips,\n        clickTipsLink = _this$props2.clickTipsLink,\n        userLocal = _this$props2.userLocal,\n        model = _this$props2.model,\n        dataPageId = _this$props2.dataPageId,\n        params = _this$props2.params,\n        rowData = _this$props2.rowData,\n        getFiledVisible = _this$props2.getFiledVisible,\n        getFieldLocked = _this$props2.getFieldLocked,\n        activeRowKey = _this$props2.activeRowKey,\n        getColMetaByField = _this$props2.getColMetaByField,\n        getDivStyle = _this$props2.getDivStyle,\n        addFieldControl = _this$props2.addFieldControl,\n        resetColumn = _this$props2.resetColumn,\n        fieldSetSlot = _this$props2.fieldSetSlot,\n        other = _objectWithoutProperties(_this$props2, _excluded);\n      var isCompact = this.state.isCompact;\n      if (!children) children = [];\n      var cn = (0, _classnames2[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _FieldsetPanel2[\"default\"].root, true), 'kd-cq-container kd-cq-fieldsetpanel', !Collapsible), _FieldsetPanel2[\"default\"].paddingStyle, !Collapsible), className, className), (0, _commonUtils[\"default\"])({\n        Direction: Direction,\n        Wrap: Wrap,\n        Overflow: Overflow,\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf,\n        AlignContent: AlignContent,\n        AlignItems: AlignItems,\n        JustifyContent: JustifyContent\n      }));\n      var widthInt = this.state.columns > 0 ? 100 / this.state.columns : 100;\n      var widthPercent = \"\".concat(widthInt, \"%\");\n      var divstyle = {\n        width: widthPercent\n      };\n      var fullWidthPercent = (this.state.columns - 1) * widthInt;\n      var childIndex = 0;\n      // firefox 125.0.3版本，由于小数点的影响会导致布局错乱，在此特殊处理\n      var isFirefox = (0, _toolUtils.getBrowserData)() === 'firefox' && window.devicePixelRatio.toFixed(1) === '0.9';\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        onClick: this.handleClick.bind(this),\n        ref: this.fieldSetPanel,\n        className: cn,\n        style: style\n      }, other), children.map(function (item, index) {\n        var _this2$props$getIsFie, _this2$props, _item$props2, _item$props3, _item$props4;\n        var isAdaptive = (0, _defaultPropsUtil.getCommonDefaultProps)(_customProperties[\"default\"].FIELD_PANEL_ITEM_ADAPTIVE, true);\n        var isDesignAndFullline = !runTime && ((_this2$props$getIsFie = (_this2$props = _this2.props).getIsFieldFullline) === null || _this2$props$getIsFie === void 0 ? void 0 : _this2$props$getIsFie.call(_this2$props, item.props));\n        var isVisible = true;\n        var isFullline = false;\n        var labelDirection;\n        if (item.props) {\n          var _item$props = item.props,\n            _model = _item$props.model,\n            restOfProps = _objectWithoutProperties(_item$props, _excluded2);\n          if (_model) {\n            isVisible = (0, _componentutil.getVisible)(_model);\n          }\n          divstyle = {\n            width: widthPercent\n          };\n          if (runTime && _model !== null && _model !== void 0 && _model.meta) {\n            var meta = _model.meta;\n            // 调整宽度\n            var itemMeta = meta.get('item') || meta.get('editor'); // 兼容平铺视图数据\n            labelDirection = itemMeta ? itemMeta.get('lDir') : undefined;\n            var itemW = labelDirection === 'h' ? \"\".concat(itemHW, \"px\") : \"\".concat(itemVW, \"px\");\n            // 字段占整行，富文本占整行\n            var fullline = meta.get('fullLine');\n            if (fullline) {\n              isFullline = true;\n              divstyle = isCompact && isAdaptive ? {\n                width: '100%'\n              } : {\n                width: \"calc(\".concat(itemW, \" + \").concat(fullWidthPercent, \"%)\")\n              };\n              // divstyle =\n            }\n            divstyle = (0, _componentutil.getVisibleStyle)(divstyle, isVisible);\n          } else {\n            divstyle = getDivStyle ? getDivStyle(_objectSpread({\n              itemHW: itemHW,\n              itemVW: itemVW,\n              fullWidthPercent: fullWidthPercent,\n              divstyle: divstyle\n            }, restOfProps)) : divstyle;\n          }\n        }\n        isVisible = isVisible && !_this2.state.invisibleItemKeys.includes((_item$props2 = item.props) === null || _item$props2 === void 0 || (_item$props2 = _item$props2.model) === null || _item$props2 === void 0 ? void 0 : _item$props2.key) && divstyle.display !== 'none';\n        // 单选按钮组渲染为 null，需要排除\n        var isRadioGroup = (item === null || item === void 0 || (_item$props3 = item.props) === null || _item$props3 === void 0 || (_item$props3 = _item$props3.model) === null || _item$props3 === void 0 || (_item$props3 = _item$props3.getMetaProperty('item')) === null || _item$props3 === void 0 ? void 0 : _item$props3.get('type')) === _fieldType[\"default\"].RadioGroup;\n        if (isVisible && !isFullline && !isRadioGroup) {\n          childIndex++;\n        }\n\n        // 占整行的元素出现在中间时，重置计数器\n        if (isVisible && (isFullline || isDesignAndFullline)) {\n          childIndex = 0;\n        }\n\n        // 字段布局面板中字段新增自适应\n        // 全边框输入框高度\n        var cols = parseInt(_this2.state.columns, 10);\n        var isLastColumnAndAdaptive = isCompact && childIndex % cols === 0 && isAdaptive;\n        var layoutOption = {\n          isGrow: isCompact,\n          isLastColumn: isLastColumnAndAdaptive ? 1 : 0\n        };\n        var child = /*#__PURE__*/_react[\"default\"].cloneElement(item, {\n          layoutOption: layoutOption,\n          pushInvisibleItemKey: _this2.pushInvisibleItemKey,\n          removeInvisibleItemKey: _this2.removeInvisibleItemKey\n        });\n        // 将最后一列的 marginRight 平分到每一列中\n        // 主题没有设置时，取默认值 30\n        var marginRightKey = labelDirection === 'v' ? _customProperties[\"default\"].FIELD_PANEL_ITEM_PRIOR_VERTICAL_MARGIN_RIGHT : _customProperties[\"default\"].FIELD_PANEL_ITEM_PRIOR_HORIZONTAL_MARGIN_RIGHT;\n        var mrFromTheme = (0, _defaultPropsUtil.getCommonDefaultProps)(marginRightKey, true) || 30;\n        if (isCompact && divstyle.width !== '100%' && mrFromTheme && !isFullline && isAdaptive) {\n          if (childIndex % cols === 0) {\n            divstyle.width = \"calc(\".concat(widthInt, \"% - \").concat(mrFromTheme * (cols - 1) / cols, \"px)\");\n          } else {\n            var diff = isFirefox ? mrFromTheme / cols - 0.6 : mrFromTheme / cols;\n            divstyle.width = \"calc(\".concat(widthInt, \"% + \").concat(diff, \"px)\");\n          }\n\n          // 设计时占整行\n          if (isDesignAndFullline) {\n            divstyle.width = isFirefox ? 'calc(100% - 0.6px)' : '100%';\n          }\n          if (!isVisible) {\n            divstyle.width = 0;\n          }\n        }\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          style: divstyle,\n          className: _FieldsetPanel2[\"default\"].fieldPanel,\n          key: item === null || item === void 0 || (_item$props4 = item.props) === null || _item$props4 === void 0 || (_item$props4 = _item$props4.model) === null || _item$props4 === void 0 ? void 0 : _item$props4.key,\n          \"data-last-column\": isLastColumnAndAdaptive\n        }, child);\n      }), isDesigner && addFieldControl ? addFieldControl : null, fieldSetSlot);\n    }\n  }]);\n  return FieldsetPanel;\n}(_react[\"default\"].Component), _FieldsetPanel.propTypes = {\n  className: _propTypes[\"default\"].string,\n  style: _propTypes[\"default\"].object\n}, _FieldsetPanel)) || _class;\nvar _default = exports[\"default\"] = FieldsetPanel;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/FieldsetPanel.js?");

/***/ }),

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

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.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.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-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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/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.FlexPanel = void 0;\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _FlexPanel2 = _interopRequireDefault(__webpack_require__(/*! ./FlexPanel.less */ \"./src/component/web/base/FlexPanel.less\"));\nvar _CollapseWrap = _interopRequireDefault(__webpack_require__(/*! ../../common/CollapseWrap */ \"./src/component/common/CollapseWrap.js\"));\nvar _FloatingDockPanelWrap = _interopRequireDefault(__webpack_require__(/*! ../../common/FloatingDockPanelWrap */ \"./src/component/common/FloatingDockPanelWrap.js\"));\nvar _advconUtil = __webpack_require__(/*! @/util/advconUtil */ \"./src/util/advconUtil.js\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _excluded = [\"children\", \"style\", \"handleClick\", \"className\", \"Direction\", \"Wrap\", \"shadow\", \"isDesigner\", \"Overflow\", \"Grow\", \"Shrink\", \"AlignSelf\", \"AlignContent\", \"AlignItems\", \"pageId\", \"onRef\", \"Maximize\", \"FloatingDock\", \"DockingPosition\", \"JustifyContent\", \"Collapsible\", \"Name\", \"defaultCollapse\", \"isSelected\", \"outlineList\", \"tips\", \"showFormByTips\", \"userLocal\", \"clickTipsLink\", \"model\", \"Clickable\", \"dataPageId\", \"renderDragActionDiv\", \"onEleReady\"];\nvar _class;\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 FlexPanel = exports.FlexPanel = (0, _CollapseWrap[\"default\"])(_class = (0, _FloatingDockPanelWrap[\"default\"])(_class = /*#__PURE__*/function (_React$Component) {\n  _inherits(FlexPanel, _React$Component);\n  function FlexPanel(props) {\n    var _this;\n    _classCallCheck(this, FlexPanel);\n    _this = _callSuper(this, FlexPanel, [props]);\n    _this.showFullScreen = function () {\n      var fullScreenStatus = !_this.state.fullScreen;\n      _this.setState({\n        fullScreen: fullScreenStatus\n      });\n      (0, _advconUtil.updateFullScreenGlobalData)(fullScreenStatus, _this.props['data-page-id']);\n    };\n    _this.state = {\n      fullScreen: false\n    };\n    return _this;\n  }\n  _createClass(FlexPanel, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      this.props.onRef && this.props.onRef(this);\n      this.props.onEleReady && this.props.onEleReady(this.flexPanel);\n    }\n\n    //容器滚动到底部或顶部(默认底部)\n  }, {\n    key: \"panelScroll\",\n    value: function panelScroll() {\n      var direction = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'bottom';\n      switch (direction) {\n        case 'top':\n          this.flexPanel.scrollTop = 0;\n          break;\n        case 'bottom':\n        default:\n          this.flexPanel.scrollTop = this.flexPanel.scrollHeight;\n          break;\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props = this.props,\n        children = _this$props.children,\n        style = _this$props.style,\n        handleClick = _this$props.handleClick,\n        className = _this$props.className,\n        Direction = _this$props.Direction,\n        Wrap = _this$props.Wrap,\n        shadow = _this$props.shadow,\n        isDesigner = _this$props.isDesigner,\n        Overflow = _this$props.Overflow,\n        Grow = _this$props.Grow,\n        Shrink = _this$props.Shrink,\n        AlignSelf = _this$props.AlignSelf,\n        AlignContent = _this$props.AlignContent,\n        AlignItems = _this$props.AlignItems,\n        pageId = _this$props.pageId,\n        onRef = _this$props.onRef,\n        Maximize = _this$props.Maximize,\n        FloatingDock = _this$props.FloatingDock,\n        DockingPosition = _this$props.DockingPosition,\n        JustifyContent = _this$props.JustifyContent,\n        Collapsible = _this$props.Collapsible,\n        Name = _this$props.Name,\n        defaultCollapse = _this$props.defaultCollapse,\n        isSelected = _this$props.isSelected,\n        outlineList = _this$props.outlineList,\n        tips = _this$props.tips,\n        showFormByTips = _this$props.showFormByTips,\n        userLocal = _this$props.userLocal,\n        clickTipsLink = _this$props.clickTipsLink,\n        model = _this$props.model,\n        Clickable = _this$props.Clickable,\n        dataPageId = _this$props.dataPageId,\n        renderDragActionDiv = _this$props.renderDragActionDiv,\n        onEleReady = _this$props.onEleReady,\n        other = _objectWithoutProperties(_this$props, _excluded);\n      var classNames = (0, _classnames3[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({\n        'kd-cq-container kd-cq-flexpanel': !Collapsible\n      }, _FlexPanel2[\"default\"]['flex-panel'], true), _FlexPanel2[\"default\"]['flex-panel-full-screen'], Maximize && !Collapsible && this.state.fullScreen), _FlexPanel2[\"default\"]['flex-panel-shadow'], shadow), _FlexPanel2[\"default\"]['cursor'], Clickable), className, className), (0, _commonUtils[\"default\"])({\n        Direction: Direction,\n        Wrap: Wrap,\n        Overflow: Overflow,\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf,\n        AlignContent: AlignContent,\n        AlignItems: AlignItems,\n        JustifyContent: JustifyContent\n      }));\n      var fullScreenIcon = (0, _classnames3[\"default\"])(_defineProperty(_defineProperty({\n        'kd-cq-full-screen-icon': !this.state.fullScreen,\n        'kd-cq-exit-full-screen-icon': this.state.fullScreen,\n        'kdfont kdfont-quanping': !this.state.fullScreen,\n        'kdfont kdfont-guanbiquanping': this.state.fullScreen\n      }, _FlexPanel2[\"default\"]['full-screen'], true), 'kd-hover-color', true));\n      var flexPanel = /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        ref: function ref(_ref) {\n          return _this2.flexPanel = _ref;\n        }\n      }, other, {\n        className: classNames,\n        style: style,\n        \"data-ctrl-type\": \"flexpanel\"\n      }), Maximize && !Collapsible && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: fullScreenIcon,\n        onClick: this.showFullScreen,\n        title: this.state.fullScreen ? (0, _intlApi.getLangMsg)({\n          key: 'tabs.key0002'\n        }) : (0, _intlApi.getLangMsg)({\n          key: 'tabs.key0001'\n        })\n      }), renderDragActionDiv && renderDragActionDiv(), children);\n      // return this.state.fullScreen ? ReactDOM.createPortal(flexPanel, document.body) : flexPanel\n      return flexPanel;\n    }\n  }]);\n  return FlexPanel;\n}(_react[\"default\"].Component)) || _class) || _class;\nFlexPanel.propTypes = {\n  style: _propTypes[\"default\"].object,\n  className: _propTypes[\"default\"].string,\n  Direction: _propTypes[\"default\"].string,\n  Grow: _propTypes[\"default\"].number,\n  Shrink: _propTypes[\"default\"].number,\n  Overflow: _propTypes[\"default\"].string,\n  Wrap: _propTypes[\"default\"].bool\n};\nvar _default = exports[\"default\"] = FlexPanel;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/FlexPanel.js?");

/***/ }),

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

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.FloatMenuPanel = exports.FloatMenuItem = 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.last-index-of.js */ \"../../node_modules/core-js/modules/es.array.last-index-of.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.is.js */ \"../../node_modules/core-js/modules/es.object.is.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\");\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 _FloatMenu2 = _interopRequireDefault(__webpack_require__(/*! ./FloatMenu.less */ \"./src/component/web/base/FloatMenu.less\"));\nvar _FontIcon = _interopRequireDefault(__webpack_require__(/*! ./FontIcon.less */ \"./src/component/web/base/FontIcon.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! @/component/common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher.js */ \"./src/model/GlobalDataCacher.js\");\nvar _const = __webpack_require__(/*! @/constant/const.js */ \"./src/constant/const.js\");\nvar _excluded = [\"style\", \"className\", \"children\", \"isDesigner\", \"top\"],\n  _excluded2 = [\"id\", \"style\", \"className\", \"children\", \"Grow\", \"Shrink\", \"Direction\"],\n  _excluded3 = [\"url\", \"hoverUrl\", \"id\", \"text\", \"style\", \"className\", \"operationKey\", \"onHandleItemClick\", \"fontClass\", \"Grow\", \"Shrink\", \"AlignSelf\"];\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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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/**\r\n * PC端主页浮动菜单\r\n */\nvar FloatMenu = exports[\"default\"] = /*#__PURE__*/function (_Component) {\n  _inherits(FloatMenu, _Component);\n  function FloatMenu(props) {\n    var _this$props$style3;\n    var _this;\n    _classCallCheck(this, FloatMenu);\n    _this = _callSuper(this, FloatMenu, [props]);\n    _this.topNotificationOffsetChange = function (data) {\n      var _this$props$style;\n      var top = parseInt(((_this$props$style = _this.props.style) === null || _this$props$style === void 0 ? void 0 : _this$props$style.top) || 0);\n      if (data && data.length > 0) {\n        _this.setState({\n          top: _const.TOPNOTIFICATIONOFFSET + top + 'px'\n        });\n      } else {\n        var _this$props$style2;\n        _this.setState({\n          top: ((_this$props$style2 = _this.props.style) === null || _this$props$style2 === void 0 ? void 0 : _this$props$style2.top) || 0\n        });\n      }\n    };\n    var dataAll = (0, _GlobalDataCacher.getData)(_symbolConst.KEY_TOPNOTIFICATIONINFO);\n    var topNotificationHeight = dataAll && dataAll.length > 0 ? _const.TOPNOTIFICATIONOFFSET : 0;\n    _this.state = {\n      top: topNotificationHeight + parseInt(((_this$props$style3 = _this.props.style) === null || _this$props$style3 === void 0 ? void 0 : _this$props$style3.top) || 0)\n    };\n    return _this;\n  }\n  _createClass(FloatMenu, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      this.removeListener = (0, _GlobalDataCacher.addDataChangeListener)(_symbolConst.KEY_TOPNOTIFICATIONINFO, this.topNotificationOffsetChange);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.removeListener && this.removeListener();\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        style = _this$props.style,\n        className = _this$props.className,\n        children = _this$props.children,\n        isDesigner = _this$props.isDesigner,\n        top = _this$props.top,\n        others = _objectWithoutProperties(_this$props, _excluded);\n      var otherStyle = {};\n      if (this.props['data-floatmenu-direction'] !== 'bottom') {\n        otherStyle.top = this.state.top;\n      }\n      var newStyle = Object.assign({}, style, otherStyle);\n      var floatMenuClass = (0, _classnames[\"default\"])(_defineProperty(_defineProperty({}, _FloatMenu2[\"default\"].floatmenu, true), className, className));\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        style: newStyle,\n        className: floatMenuClass\n      }, others), children);\n    }\n  }]);\n  return FloatMenu;\n}(_react.Component);\n/**\r\n * 浮动菜单面板\r\n */\nvar FloatMenuPanel = exports.FloatMenuPanel = /*#__PURE__*/function (_Component2) {\n  _inherits(FloatMenuPanel, _Component2);\n  function FloatMenuPanel() {\n    _classCallCheck(this, FloatMenuPanel);\n    return _callSuper(this, FloatMenuPanel, arguments);\n  }\n  _createClass(FloatMenuPanel, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props2 = this.props,\n        id = _this$props2.id,\n        style = _this$props2.style,\n        className = _this$props2.className,\n        children = _this$props2.children,\n        Grow = _this$props2.Grow,\n        Shrink = _this$props2.Shrink,\n        Direction = _this$props2.Direction,\n        others = _objectWithoutProperties(_this$props2, _excluded2);\n      var floatMenuPanelClass = (0, _classnames[\"default\"])(_defineProperty(_defineProperty({}, _FloatMenu2[\"default\"]['f-m-panel'], true), className, className));\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        id: id,\n        style: style,\n        className: floatMenuPanelClass\n      }, others), children);\n    }\n  }]);\n  return FloatMenuPanel;\n}(_react.Component);\n/**\r\n * pc端主页浮动菜单item\r\n */\nvar FloatMenuItem = exports.FloatMenuItem = /*#__PURE__*/function (_Component3) {\n  _inherits(FloatMenuItem, _Component3);\n  function FloatMenuItem(props) {\n    var _this2;\n    _classCallCheck(this, FloatMenuItem);\n    _this2 = _callSuper(this, FloatMenuItem, [props]);\n    _this2.getChildren = _this2.getChildren.bind(_assertThisInitialized(_this2));\n    _this2.isConfigImage = _this2.isConfigImage.bind(_assertThisInitialized(_this2));\n    // this.mouseOverHandler = this.mouseOverHandler.bind(this)\n    // this.mouseLeaveHandler = this.mouseLeaveHandler.bind(this)\n\n    _this2.state = {\n      showHoverImg: false\n    };\n    return _this2;\n  }\n\n  // onHandleItemClick (id, operationKey) {\n  //   if (this.props.onHandleItemClick) { this.props.onHandleItemClick(id, operationKey) }\n  // }\n\n  /**\r\n   * 设计时如有配置 图片则显示图片，没有配置显示文字\r\n   */\n  _createClass(FloatMenuItem, [{\n    key: \"getChildren\",\n    value: function getChildren(url) {\n      var text = this.props.text;\n      if (this.isConfigImage(url)) {\n        // 有配置显示图片或者悬停图片\n        return /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n          src: url\n        });\n      } else {\n        // 没有配置图片\n        return text;\n      }\n    }\n  }, {\n    key: \"isConfigImage\",\n    value: function isConfigImage(url) {\n      return !Object.is(url, undefined) && !Object.is(url, null) && !Object.is(url, '');\n    }\n\n    // mouseOverHandler (e) {\n    //   const { hoverUrl } = this.props\n    //   if (this.isConfigImage(hoverUrl)) {\n    //     const imgEle = e.currentTarget.firstElementChild\n    //     if (Object.is(imgEle, null)) {\n    //       this.setState({ showHoverImg: true })\n    //     } else {\n    //       imgEle.src = hoverUrl\n    //     }\n    //   }\n    // }\n\n    // mouseLeaveHandler (e) {\n    //   const { url } = this.props\n    //   if (this.isConfigImage(url)) {\n    //     e.currentTarget.firstElementChild.src = url\n    //   } else {\n    //     this.setState({ showHoverImg: false })\n    //   }\n    // }\n  }, {\n    key: \"render\",\n    value: function render() {\n      // let {url, hoverUrl, id, text, style, className, operationKey, onHandleItemClick, ...others} = this.props\n      // let floatMenuItemClass = classNames({\n      //   'kd-hover': true,\n      //   [styles['f-m-item']]: !this.isConfigImage(url) && !this.isConfigImage(hoverUrl),\n      //   [styles['f-m-item-image']]: this.isConfigImage(url) || this.isConfigImage(hoverUrl),\n      //   [className]: className\n      // })\n\n      // return <div ref='floatItem' id={id} title={text} style={style} className={floatMenuItemClass} onMouseOver={this.mouseOverHandler} onMouseLeave={this.mouseLeaveHandler} {...others} >\n      //   {this.state.showHoverImg ? this.getChildren(hoverUrl) : this.getChildren(url)}\n      // </div>\n\n      var _this$props3 = this.props,\n        url = _this$props3.url,\n        hoverUrl = _this$props3.hoverUrl,\n        id = _this$props3.id,\n        text = _this$props3.text,\n        style = _this$props3.style,\n        className = _this$props3.className,\n        operationKey = _this$props3.operationKey,\n        onHandleItemClick = _this$props3.onHandleItemClick,\n        fontClass = _this$props3.fontClass,\n        Grow = _this$props3.Grow,\n        Shrink = _this$props3.Shrink,\n        AlignSelf = _this$props3.AlignSelf,\n        others = _objectWithoutProperties(_this$props3, _excluded3);\n      var floatMenuItemClass = (0, _classnames[\"default\"])(_defineProperty(_defineProperty(_defineProperty({\n        'kd-hover': !fontClass\n      }, _FloatMenu2[\"default\"]['f-m-item'], !fontClass), _FloatMenu2[\"default\"]['f-m-item-icon'], fontClass), className, className), (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf\n      }));\n      if (fontClass && fontClass.includes('http')) {\n        var index = fontClass.lastIndexOf('/');\n        fontClass = fontClass.substring(index + 1, fontClass.length);\n      }\n      var iconStyle = {};\n      if (style.fontSize) {\n        iconStyle.fontSize = style.fontSize;\n      }\n      var iconClass = (0, _classnames[\"default\"])(_defineProperty(_defineProperty({\n        'kd-hover-color': fontClass\n      }, fontClass, fontClass), _FloatMenu2[\"default\"]['icon-font-size-default'], true));\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        ref: \"floatItem\",\n        id: id,\n        title: text,\n        style: style,\n        className: floatMenuItemClass\n      }, others), !fontClass ? text : /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: iconClass,\n        style: iconStyle\n      }));\n    }\n  }]);\n  return FloatMenuItem;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/FloatMenu.js?");

/***/ }),

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

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.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.FoldContainer = void 0;\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.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.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 _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _kdesign = __webpack_require__(/*! @kdcloudjs/kdesign */ \"webpack/sharing/consume/default/@kdcloudjs/kdesign/@kdcloudjs/kdesign\");\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/component/web/base/FoldContainer/utils.js\");\nvar _index = _interopRequireDefault(__webpack_require__(/*! ./index.less */ \"./src/component/web/base/FoldContainer/index.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 _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); }\nvar FoldContainer = exports.FoldContainer = function FoldContainer(_ref) {\n  var className = _ref.className,\n    getDropDownCom = _ref.getDropDownCom,\n    _ref$margin = _ref.margin,\n    margin = _ref$margin === void 0 ? 8 : _ref$margin,\n    _ref$foldBtnWidth = _ref.foldBtnWidth,\n    foldBtnWidth = _ref$foldBtnWidth === void 0 ? 31 : _ref$foldBtnWidth,\n    _ref$children = _ref.children,\n    children = _ref$children === void 0 ? [] : _ref$children;\n  var childLen = (children === null || children === void 0 ? void 0 : children.length) || (children === null || children === void 0 ? void 0 : children.size) || 0;\n  var containerRef = (0, _react.useRef)(null);\n  var renderCount = (0, _utils.useOverflowFold)(children, containerRef, margin, foldBtnWidth);\n  var classNames = (0, _classnames2[\"default\"])(className, _defineProperty({}, _index[\"default\"]['fold-container'], true));\n  var foldCount = childLen - renderCount;\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: classNames\n  }, children.slice(0, renderCount).map(function (child) {\n    return child;\n  }), foldCount > 0 && /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Dropdown, {\n    menu: getDropDownCom(foldCount)\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['fold-btn'],\n    style: {\n      width: foldBtnWidth\n    }\n  }, foldCount > 99 ? '99+' : \"+\".concat(foldCount))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['clone-container'],\n    ref: containerRef\n  }, _react[\"default\"].Children.map(children, function (child, index) {\n    return /*#__PURE__*/_react[\"default\"].cloneElement(child, {\n      'data-index': \"\".concat(index),\n      className: (0, _classnames2[\"default\"])(child.props.className, _index[\"default\"]['clone-item'])\n    });\n  })));\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/FoldContainer/index.js?");

/***/ }),

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

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.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-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.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.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/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.useOverflowFold = void 0;\n__webpack_require__(/*! core-js/modules/es.array.fill.js */ \"../../node_modules/core-js/modules/es.array.fill.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.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.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/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\nvar _resizeObserverPolyfill = _interopRequireDefault(__webpack_require__(/*! resize-observer-polyfill */ \"../../node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js\"));\nvar _react = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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 _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 _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it[\"return\"] != null) it[\"return\"](); } finally { if (didErr) throw err; } } }; }\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; }\n// 获取应该渲染的子元素个数\nvar useOverflowFold = exports.useOverflowFold = function useOverflowFold(children, containerRef, margin, foldBtnWidth) {\n  var childLen = (children === null || children === void 0 ? void 0 : children.length) || (children === null || children === void 0 ? void 0 : children.size) || 0;\n  var _useState = (0, _react.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    childNodeChange = _useState2[0],\n    setChildNodeChange = _useState2[1];\n  var _useState3 = (0, _react.useState)(Array(childLen).fill(0)),\n    _useState4 = _slicedToArray(_useState3, 2),\n    childWidth = _useState4[0],\n    setChildWidth = _useState4[1];\n  var _useState5 = (0, _react.useState)(childLen),\n    _useState6 = _slicedToArray(_useState5, 2),\n    containerWidth = _useState6[0],\n    setContainerWidth = _useState6[1];\n  var _useState7 = (0, _react.useState)(childLen),\n    _useState8 = _slicedToArray(_useState7, 2),\n    renderCount = _useState8[0],\n    setRenderCounter = _useState8[1];\n  var childChangeFlag = (0, _react.useRef)(childNodeChange);\n  var childWidthRef = (0, _react.useRef)(childWidth);\n  var childResizeCb = function childResizeCb(entries) {\n    var _iterator = _createForOfIteratorHelper(entries),\n      _step;\n    try {\n      for (_iterator.s(); !(_step = _iterator.n()).done;) {\n        var entry = _step.value;\n        var index = entry.target.dataset.index;\n        // childWidthRef[index] = entry.contentRect.width\n        childWidthRef.current[index] = entry.target.offsetWidth; // TODO 这里用ref是因为取不到最新state\n      }\n    } catch (err) {\n      _iterator.e(err);\n    } finally {\n      _iterator.f();\n    }\n    setChildWidth(_toConsumableArray(childWidthRef.current));\n  };\n  var containerResizeCb = function containerResizeCb(entries) {\n    setContainerWidth(entries[0].contentRect.width);\n  };\n  var mutationObserverCb = function mutationObserverCb(mutations) {\n    mutations.forEach(function (mutation) {\n      if (mutation.type === 'childList') {\n        var _containerRef$current;\n        // 子元素变化\n        var initChildWidth = Array(((_containerRef$current = containerRef.current.children) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.length) || 0).fill(0);\n        setChildWidth(initChildWidth);\n        childWidthRef.current = initChildWidth;\n        childChangeFlag.current = !childChangeFlag.current;\n        setChildNodeChange(childChangeFlag.current);\n      }\n    });\n  };\n  var childReseizeObserveRef = (0, _react.useRef)(new _resizeObserverPolyfill[\"default\"](childResizeCb));\n  var containerResizeObserveRef = (0, _react.useRef)(new _resizeObserverPolyfill[\"default\"](containerResizeCb));\n  var mutationObserverRef = (0, _react.useRef)(new window.MutationObserver(mutationObserverCb));\n  var addChildResizeObserve = function addChildResizeObserve() {\n    Array.from(containerRef.current.children).forEach(function (childNode) {\n      childReseizeObserveRef.current.observe(childNode);\n    });\n  };\n  (0, _react.useEffect)(function () {\n    // 监听容器大小变化\n    containerResizeObserveRef.current.observe(containerRef.current);\n    mutationObserverRef.current.observe(containerRef.current, {\n      childList: true\n    });\n    return function () {\n      var _childReseizeObserveR, _containerResizeObser, _mutationObserverRef$;\n      (_childReseizeObserveR = childReseizeObserveRef.current) === null || _childReseizeObserveR === void 0 || _childReseizeObserveR.disconnect();\n      (_containerResizeObser = containerResizeObserveRef.current) === null || _containerResizeObser === void 0 || _containerResizeObser.disconnect();\n      (_mutationObserverRef$ = mutationObserverRef.current) === null || _mutationObserverRef$ === void 0 || _mutationObserverRef$.disconnect();\n    };\n  }, []);\n\n  // 子元素变化时重新监听子元素大小变化\n  (0, _react.useEffect)(function () {\n    var _childReseizeObserveR2;\n    console.log('childchange effect');\n    (_childReseizeObserveR2 = childReseizeObserveRef.current) === null || _childReseizeObserveR2 === void 0 || _childReseizeObserveR2.disconnect();\n    addChildResizeObserve();\n  }, [childNodeChange]);\n  (0, _react.useEffect)(function () {\n    var count = getLastRenderCount(containerWidth, childWidth, margin, foldBtnWidth);\n    console.log(count, containerWidth, childWidth);\n    setRenderCounter(count);\n  }, [containerWidth, childWidth]);\n  return renderCount;\n};\n\n// 计算应该渲染的子元素个数\nvar getLastRenderCount = function getLastRenderCount(containerWidth, childWidth, margin, foldBtnWidth) {\n  var childCount = childWidth.length;\n  var lastRenderIndex = -1;\n  var lastRenderIndexWithFoldBtn = -1;\n  var sumWidth = 0;\n  for (var i = 0; i < childWidth.length; i++) {\n    sumWidth += Math.ceil(childWidth[i]) + (i === childWidth.length - 1 ? 0 : margin); // 最后一个不用计算边距\n    if (sumWidth > containerWidth) {\n      // 超过容器宽度\n      break;\n    } else if (sumWidth <= containerWidth - foldBtnWidth) {\n      // 容器宽度 - 折叠按钮宽度 < 宽度和 < 容器宽度\n      lastRenderIndexWithFoldBtn = i;\n    }\n    lastRenderIndex = i;\n  }\n  if (lastRenderIndex === childCount - 1) {\n    return childCount;\n  }\n  return lastRenderIndexWithFoldBtn + 1;\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/FoldContainer/utils.js?");

/***/ }),

/***/ "./src/component/web/base/FontIcon.jsx":
/*!*********************************************!*\
  !*** ./src/component/web/base/FontIcon.jsx ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.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.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames4 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _FontIcon = _interopRequireDefault(__webpack_require__(/*! ./FontIcon.less */ \"./src/component/web/base/FontIcon.less\"));\nvar _ControlLoading = _interopRequireDefault(__webpack_require__(/*! ../../common/ControlLoading */ \"./src/component/common/ControlLoading.jsx\"));\nvar _badgeWrap = __webpack_require__(/*! ../../common/badgeWrap */ \"./src/component/common/badgeWrap.js\");\nvar _componentutil = __webpack_require__(/*! ../../../util/componentutil */ \"./src/util/componentutil.js\");\nvar _excluded = [\"model\", \"opk\", \"id\", \"shortCutTips\", \"isThemeColor\", \"fontSelect\", \"active\", \"style\", \"locked\", \"clickable\", \"className\", \"fontClass\", \"hoverClass\", \"needHoverClass\", \"handleClick\", \"Grow\", \"Shrink\", \"AlignSelf\", \"isDesigner\", \"slot\", \"showFormByTips\", \"userLocal\", \"dispatch\", \"title\", \"showLoading\"];\nvar _dec, _class;\n/**\n * @description 字体图标选择控件\n * @date 2017-9-29\n * @暂时fontIcon不支持自定义前景背景色， 均随着主题色变化（包括hover效果），\n * fontSelect 属性区分是否来自字体图标选择面板， 用于处理不同的样式\n */\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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 FontIcon = (_dec = (0, _badgeWrap.badgeBaseWrap)(), _dec(_class = /*#__PURE__*/function (_Component) {\n  _inherits(FontIcon, _Component);\n  function FontIcon() {\n    _classCallCheck(this, FontIcon);\n    return _callSuper(this, FontIcon, arguments);\n  }\n  _createClass(FontIcon, [{\n    key: \"render\",\n    value: function render() {\n      // 字体图标的大小由fontsize控制\n      var _this$props = this.props,\n        model = _this$props.model,\n        opk = _this$props.opk,\n        id = _this$props.id,\n        shortCutTips = _this$props.shortCutTips,\n        isThemeColor = _this$props.isThemeColor,\n        fontSelect = _this$props.fontSelect,\n        active = _this$props.active,\n        styleProp = _this$props.style,\n        locked = _this$props.locked,\n        clickable = _this$props.clickable,\n        className = _this$props.className,\n        fontClass = _this$props.fontClass,\n        hoverClass = _this$props.hoverClass,\n        needHoverClass = _this$props.needHoverClass,\n        handleClick = _this$props.handleClick,\n        Grow = _this$props.Grow,\n        Shrink = _this$props.Shrink,\n        AlignSelf = _this$props.AlignSelf,\n        isDesigner = _this$props.isDesigner,\n        slot = _this$props.slot,\n        showFormByTips = _this$props.showFormByTips,\n        userLocal = _this$props.userLocal,\n        dispatch = _this$props.dispatch,\n        title = _this$props.title,\n        showLoading = _this$props.showLoading,\n        others = _objectWithoutProperties(_this$props, _excluded);\n      var style = Object.assign({}, styleProp || {});\n      var shortCutTipsProps = shortCutTips ? {\n        title: shortCutTips\n      } : {};\n      var wrapperClass = (0, _classnames4[\"default\"])(_defineProperty(_defineProperty(_defineProperty({\n        'kd-cq-control kd-cq-icon': true\n      }, _FontIcon[\"default\"]['font-icon'], true), className, className), 'secondary-text-in-light', true), (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf\n      }));\n      if (fontSelect) {\n        // 列表\n        var cn = (0, _classnames4[\"default\"])(fontClass, _FontIcon[\"default\"]['font-hover'], _defineProperty(_defineProperty({}, _FontIcon[\"default\"]['font-active'], active), _FontIcon[\"default\"].clickable, clickable !== false));\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n          className: wrapperClass,\n          onClick: handleClick,\n          \"data-opk\": opk,\n          \"data-btn-key\": id\n        }, shortCutTipsProps), /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n          className: cn\n        }));\n      } else {\n        // 单独展示\n        var _ref = model ? (0, _componentutil.getCommonStyle)(model) : style,\n          fontSize = _ref.fontSize;\n        var fontStyle = fontSize ? {\n          fontSize: fontSize\n        } : {};\n        var mouseLeaveHandler = function mouseLeaveHandler(e) {\n          if (needHoverClass && !locked && hoverClass) {\n            e.currentTarget.style.color = '';\n          }\n        };\n        var mouseOverHandler = function mouseOverHandler(e) {\n          if (needHoverClass && !locked && hoverClass) {\n            e.currentTarget.style.color = hoverClass;\n          }\n        };\n        var needHover = needHoverClass && !locked && !hoverClass;\n        var _cn = (0, _classnames4[\"default\"])(fontClass, _defineProperty({\n          // 'kd-hover-color': needHoverClass && !locked && !hoverClass,\n          'hover-theme-fc active-theme-active-fc': needHover && !isThemeColor,\n          'hover-theme-hover-fc active-theme-active-fc': needHover && isThemeColor,\n          // [styles['font-desc']]: true,\n          // [styles['lock-class']]: locked,\n          'disabled-fc cursor-not-allowed': locked\n        }, _FontIcon[\"default\"].clickable, clickable !== false && !locked));\n        if (showLoading) {\n          !style.width && (style.width = fontSize || 16 + 'px');\n          !style.height && (style.height = fontSize || 16 + 'px');\n          fontStyle.lineHeight = 1;\n          wrapperClass = (0, _classnames4[\"default\"])(wrapperClass, _FontIcon[\"default\"].isLoading);\n        }\n        var titleProp = title && !slot ? {\n          title: title\n        } : {};\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n          className: wrapperClass,\n          onClick: handleClick,\n          style: style\n        }, titleProp, {\n          \"data-opk\": opk,\n          \"data-btn-key\": id\n        }, shortCutTipsProps, others), showLoading ? /*#__PURE__*/_react[\"default\"].createElement(_ControlLoading[\"default\"], {\n          className: _FontIcon[\"default\"].loading\n        }) : /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n          style: fontStyle,\n          className: _cn,\n          onMouseOver: mouseOverHandler,\n          onMouseLeave: mouseLeaveHandler\n        }), slot);\n      }\n    }\n  }]);\n  return FontIcon;\n}(_react.Component)) || _class);\nvar _default = exports[\"default\"] = FontIcon;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/FontIcon.jsx?");

/***/ }),

/***/ "./src/component/web/base/GuideItem.jsx":
/*!**********************************************!*\
  !*** ./src/component/web/base/GuideItem.jsx ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.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); }\nvar GuideItem = /*#__PURE__*/function (_Component) {\n  _inherits(GuideItem, _Component);\n  function GuideItem(props) {\n    _classCallCheck(this, GuideItem);\n    return _callSuper(this, GuideItem, [props]);\n  }\n  _createClass(GuideItem, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        style = _this$props.style,\n        className = _this$props.className,\n        ImageKey = _this$props.ImageKey,\n        onClick = _this$props.onClick;\n      if (ImageKey) {\n        style = Object.assign({}, style, {\n          backgroundImage: 'url(' + ImageKey + ')'\n        });\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        style: style,\n        className: className,\n        onClick: onClick\n      }, this.props.children);\n    }\n  }]);\n  return GuideItem;\n}(_react.Component);\nvar _default = exports[\"default\"] = GuideItem;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/GuideItem.jsx?");

/***/ }),

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

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.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.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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[\"default\"] = void 0;\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 _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _HomePageSidebar = _interopRequireDefault(__webpack_require__(/*! ./HomePageSidebar.less */ \"./src/component/web/base/HomePageSidebar.less\"));\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher */ \"./src/model/GlobalDataCacher.js\");\nvar _excluded = [\"style\", \"className\", \"children\", \"collapse\", \"handleChangeCollapse\"],\n  _excluded2 = [\"handleChangeCollapse\", \"collapse\"];\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nvar COLLAPSE_CONTENT_PADDING_TOP = '14';\nvar _default = exports[\"default\"] = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {\n  var style = _ref.style,\n    className = _ref.className,\n    children = _ref.children,\n    collapse = _ref.collapse,\n    handleChangeCollapse = _ref.handleChangeCollapse,\n    other = _objectWithoutProperties(_ref, _excluded);\n  var collapseContent = (0, _react.useRef)();\n  var iconRef = (0, _react.useRef)();\n  (0, _react.useEffect)(function () {\n    // 收缩的时候设置收缩面板的top\n    if (collapse && iconRef.current && collapseContent.current) {\n      var _iconRef$current;\n      var _iconRef$current$getB = (_iconRef$current = iconRef.current) === null || _iconRef$current === void 0 ? void 0 : _iconRef$current.getBoundingClientRect(),\n        top = _iconRef$current$getB.top;\n\n      // top为展开的icon的位置，COLLAPSE_CONTENT_PADDING_TOP为收缩内容块的上内边距\n      // 这里设置的是收缩内容块的top。因此需要top-COLLAPSE_CONTENT_PADDING_TOP。使收缩内容块的icon与展开的icon位置对齐\n      collapseContent.current.style.top = \"\".concat(top - COLLAPSE_CONTENT_PADDING_TOP, \"px\");\n    }\n  }, [collapse]);\n  if (collapse) {\n    style.width = 0;\n    style.borderLeft = 'unset';\n  }\n  return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, /*#__PURE__*/_react[\"default\"].createElement(CollapseContent, {\n    handleChangeCollapse: handleChangeCollapse,\n    collapse: collapse,\n    ref: collapseContent\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n    className: (0, _classnames[\"default\"])(_HomePageSidebar[\"default\"].root, className),\n    ref: ref,\n    style: style\n  }, other), /*#__PURE__*/_react[\"default\"].createElement(SidebarContent, {\n    collapse: collapse,\n    ref: iconRef,\n    handleChangeCollapse: handleChangeCollapse\n  }, children)));\n});\nvar SidebarContent = /*#__PURE__*/_react[\"default\"].forwardRef(function (_ref2, ref) {\n  var handleChangeCollapse = _ref2.handleChangeCollapse,\n    children = _ref2.children;\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _HomePageSidebar[\"default\"].sidebarContent\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _HomePageSidebar[\"default\"]['sidebarContent-item']\n  }, children), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _HomePageSidebar[\"default\"]['sidebarContent-arrow'],\n    onClick: function onClick() {\n      return handleChangeCollapse(true);\n    }\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: (0, _classnames[\"default\"])('kdfont kdfont-xiayiyue', _HomePageSidebar[\"default\"]['sidebarContent-arrow-right']),\n    ref: ref\n  })));\n});\nvar CollapseContent = /*#__PURE__*/_react[\"default\"].forwardRef(function (_ref3, ref) {\n  var _getData;\n  var handleChangeCollapse = _ref3.handleChangeCollapse,\n    collapse = _ref3.collapse,\n    other = _objectWithoutProperties(_ref3, _excluded2);\n  // 面板固定的时候需要把收缩块给展示出来，但是因为面板的层级是1050。所以要动态设置zindex\n  var isFixationMode = (_getData = (0, _GlobalDataCacher.getData)(_symbolConst.KEY_FIX_INSIGHT_PANEL)) === null || _getData === void 0 ? void 0 : _getData.isFixationMode;\n  return /*#__PURE__*/_reactDom[\"default\"].createPortal( /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n    className: _HomePageSidebar[\"default\"].collapseContent,\n    style: {\n      width: collapse ? 16 : 0,\n      zIndex: isFixationMode ? 1050 : 1000\n    },\n    ref: ref,\n    onClick: function onClick() {\n      return handleChangeCollapse(false);\n    }\n  }, other), /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: (0, _classnames[\"default\"])('kdfont kdfont-xiayiyue', _HomePageSidebar[\"default\"]['collapseContent-arrow-left'])\n  })), document.body);\n});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/HomePageSidebar.js?");

/***/ }),

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

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.HomePageTabItem = exports.HomePageTab = 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.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.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.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.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _AttachDataWrap = __webpack_require__(/*! @/component/common/AttachDataWrap */ \"./src/component/common/AttachDataWrap.js\");\nvar _TextEllipsisWrap = _interopRequireDefault(__webpack_require__(/*! @/component/common/TextEllipsisWrap */ \"./src/component/common/TextEllipsisWrap.js\"));\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher */ \"./src/model/GlobalDataCacher.js\");\nvar _Tabs = __webpack_require__(/*! ./Tabs */ \"./src/component/web/base/Tabs/index.js\");\nvar _HomePageTab2 = _interopRequireDefault(__webpack_require__(/*! ./HomePageTab.less */ \"./src/component/web/base/HomePageTab.less\"));\nvar _Tab = _interopRequireDefault(__webpack_require__(/*! ./Tabs/styles/Tab.less */ \"./src/component/web/base/Tabs/styles/Tab.less\"));\nvar _excluded = [\"style\", \"className\", \"items\", \"isDesigner\", \"pageId\", \"tabCanFixed\", \"selectTab\"],\n  _excluded2 = [\"item\", \"style\", \"isDesigner\", \"tabCanFixed\", \"onItemClick\", \"additionInfo\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 selectedActItem = [];\nvar HomePageTab = exports.HomePageTab = /*#__PURE__*/function (_React$Component) {\n  _inherits(HomePageTab, _React$Component);\n  function HomePageTab() {\n    var _this;\n    _classCallCheck(this, HomePageTab);\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, HomePageTab, [].concat(args));\n    _this.generateTabBarProps = function () {\n      var _this$props = _this.props,\n        isDesigner = _this$props.isDesigner,\n        pageId = _this$props.pageId,\n        tabCanFixed = _this$props.tabCanFixed,\n        selectTab = _this$props.selectTab;\n      return {\n        customedRenderItem: function customedRenderItem(item, additionInfo) {\n          var info = (0, _AttachDataWrap.AttachDataManual)(pageId, item.key, 'homepagetab');\n          return /*#__PURE__*/_react[\"default\"].createElement(HomePageTabItem, _extends({\n            key: item.key,\n            isDesigner: isDesigner,\n            item: item,\n            onItemClick: selectTab\n          }, info, {\n            tabCanFixed: tabCanFixed,\n            additionInfo: additionInfo\n          }));\n        },\n        contextMenuRenderOption: {\n          closeCurrentTab: false,\n          closeOthers: false,\n          closeRightTab: false,\n          closeAll: false\n        }\n      };\n    };\n    return _this;\n  }\n  _createClass(HomePageTab, [{\n    key: \"render\",\n    value: function render() {\n      var _unStaticItems$find;\n      var _this$props2 = this.props,\n        style = _this$props2.style,\n        className = _this$props2.className,\n        items = _this$props2.items,\n        isDesigner = _this$props2.isDesigner,\n        pageId = _this$props2.pageId,\n        tabCanFixed = _this$props2.tabCanFixed,\n        selectTab = _this$props2.selectTab,\n        other = _objectWithoutProperties(_this$props2, _excluded);\n      var containerClz = (0, _classnames[\"default\"])('kd-cq-control kd-cq-homepage-tab', _defineProperty(_defineProperty(_defineProperty({}, className, className), _HomePageTab2[\"default\"].nav, true), _HomePageTab2[\"default\"].no_over_flow, true));\n\n      // 锁定与未锁定页签\n      var unStaticItems = items.filter(function (item) {\n        return item && (item.isFixed === 0 || item.isFixed === 1);\n      });\n      var unstaticItemContainerClz = (0, _classnames[\"default\"])('kd-cq-homepage-tab-unstatic', _Tab[\"default\"].appHomeTab, _Tab[\"default\"].tab);\n      var staticItemContainerClz = (0, _classnames[\"default\"])('kd-cq-homepage-tab-static', _HomePageTab2[\"default\"].nav, _HomePageTab2[\"default\"]['fix-nav'], _defineProperty({}, className, className && !isDesigner));\n      // 固定页签\n      var staticItems = items.filter(function (item) {\n        return !unStaticItems.includes(item);\n      });\n      var info;\n      var fixNavItems = (staticItems || []).map(function (item, index) {\n        info = (0, _AttachDataWrap.AttachDataManual)(pageId, item.key, 'homepagetab');\n        return /*#__PURE__*/_react[\"default\"].createElement(HomePageTabItem, _extends({\n          key: item.key,\n          isDesigner: isDesigner,\n          item: item,\n          onItemClick: selectTab\n        }, info, {\n          tabCanFixed: tabCanFixed\n        }));\n      });\n      var dividerClz = (0, _classnames[\"default\"])('kd-cq-homepage-tab-divider', _HomePageTab2[\"default\"].separator);\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        className: containerClz,\n        style: style\n      }, other), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: staticItemContainerClz\n      }, fixNavItems), unStaticItems.length > 0 && tabCanFixed ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: dividerClz\n      }) : '', unStaticItems.length > 0 && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: unstaticItemContainerClz\n      }, /*#__PURE__*/_react[\"default\"].createElement(_Tabs.TabBar, {\n        canSlide: true,\n        isAppHomeTabStyleMode: true,\n        appHomeTabModeProps: this.generateTabBarProps(),\n        items: unStaticItems.map(function (item) {\n          item.dynamicTab = true;\n          return item;\n        }),\n        activeKey: (_unStaticItems$find = unStaticItems.find(function (item) {\n          return item.isActive;\n        })) === null || _unStaticItems$find === void 0 ? void 0 : _unStaticItems$find.key\n      })));\n    }\n  }]);\n  return HomePageTab;\n}(_react[\"default\"].Component);\nHomePageTab.propTypes = {\n  className: _propTypes[\"default\"].string,\n  style: _propTypes[\"default\"].object,\n  items: _propTypes[\"default\"].array,\n  isDesigner: _propTypes[\"default\"].bool\n};\nvar HomePageTabItem = exports.HomePageTabItem = /*#__PURE__*/function (_React$Component2) {\n  _inherits(HomePageTabItem, _React$Component2);\n  function HomePageTabItem(props) {\n    var _this2;\n    _classCallCheck(this, HomePageTabItem);\n    _this2 = _callSuper(this, HomePageTabItem, [props]);\n    _this2.handleClick = _this2.handleClick.bind(_assertThisInitialized(_this2));\n    _this2.handleColse = _this2.handleColse.bind(_assertThisInitialized(_this2));\n    _this2.handleLock = _this2.handleLock.bind(_assertThisInitialized(_this2));\n    _this2.tabItem = [];\n    _this2.state = {\n      showTab: false\n    };\n    return _this2;\n  }\n  _createClass(HomePageTabItem, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var item = this.props.item;\n      // console.log(item.toJS())\n      if (selectedActItem && this.isSelected(selectedActItem, item)) {\n        selectedActItem = [];\n        if (item.isFixed !== undefined) {\n          this.setState({\n            showTab: true\n          });\n        }\n      }\n    }\n  }, {\n    key: \"isSelected\",\n    value: function isSelected(array, arrayItem) {\n      return array.filter(function (item) {\n        return item.pageId === arrayItem.pageid;\n      });\n    }\n  }, {\n    key: \"handleClick\",\n    value: function handleClick(event) {\n      if (!this.props.isDesigner) {\n        event.stopPropagation();\n        event.preventDefault();\n        this.props.onItemClick(this.props.item);\n      }\n    }\n  }, {\n    key: \"handleColse\",\n    value: function handleColse(event) {\n      event.stopPropagation();\n      event.preventDefault();\n      var item = this.props.item;\n      (0, _GlobalDataCacher.setData)(_symbolConst.KEY_CLOSE_TAB, item);\n      // this.props.colse && this.props.colse();\n    }\n  }, {\n    key: \"handleLock\",\n    value: function handleLock(fixed, event) {\n      var item = this.props.item;\n      // let { index } = item\n      event.stopPropagation();\n      event.preventDefault();\n      selectedActItem.push({\n        pageId: item.pageId,\n        fixed: fixed\n      });\n      item && item.clickFix && item.clickFix([{\n        fixed: fixed,\n        pageId: item.pageId\n      }]);\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this3 = this;\n      var _this$props3 = this.props,\n        item = _this$props3.item,\n        style = _this$props3.style,\n        isDesigner = _this$props3.isDesigner,\n        tabCanFixed = _this$props3.tabCanFixed,\n        onItemClick = _this$props3.onItemClick,\n        _this$props3$addition = _this$props3.additionInfo,\n        additionInfo = _this$props3$addition === void 0 ? {} : _this$props3$addition,\n        others = _objectWithoutProperties(_this$props3, _excluded2);\n      var title = item.title,\n        isActive = item.isActive,\n        canDelete = item.canDelete,\n        isFixed = item.isFixed,\n        canFixed = item.canFixed,\n        isHome = item.isHome;\n      var toolbarItemClz = (0, _classnames[\"default\"])('kd-cq-homepage-tab-item', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _HomePageTab2[\"default\"].item, true), 'kd-cq-homepage-tab-item-active', isActive), 'follow-theme-bg-fc', isActive), 'hover-theme-light-bg', !isActive), 'hover-theme-fc', !isActive), _HomePageTab2[\"default\"]['tab-show-animation'], this.state.showTab));\n      var titleClz = (0, _classnames[\"default\"])('kd-cq-homepage-tab-item-text', _defineProperty(_defineProperty({}, _HomePageTab2[\"default\"].title, !canDelete), _HomePageTab2[\"default\"].titleFixed, canDelete));\n      var topCloseIconClz = (0, _classnames[\"default\"])('kd-cq-homepage-tab-item-icon-close kdfont kdfont-toubudaohang_guanbi', _HomePageTab2[\"default\"].fontTop);\n      var centerCloseIconClz = (0, _classnames[\"default\"])('kd-cq-homepage-tab-item-icon-close kdfont kdfont-toubudaohang_guanbi', _HomePageTab2[\"default\"].fontCenter);\n      var lockIconClz = (0, _classnames[\"default\"])(_HomePageTab2[\"default\"].fontBottom, {\n        'kdfont kdfont-suoding_xian kd-cq-homepage-tab-item-icon-unlock': isFixed === 1,\n        'kdfont kdfont-jiesuo_xian kd-cq-homepage-tab-item-icon-lock': isFixed !== 1\n      });\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        className: toolbarItemClz,\n        style: style\n      }, additionInfo, {\n        onClick: this.handleClick\n      }, others), /*#__PURE__*/_react[\"default\"].createElement(_TextEllipsisWrap[\"default\"], null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: titleClz,\n        title: title\n      }, title)), tabCanFixed ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])('kd-cq-homepage-tab-item-icon', _HomePageTab2[\"default\"].icon)\n      },\n      // isFixed锁定状态，锁定时不显示删除标识\n      canDelete && isFixed === 0 ? /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: topCloseIconClz,\n        onClick: this.handleColse\n      }) : null, canFixed ? /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: lockIconClz,\n        onClick: function onClick(event) {\n          return _this3.handleLock(isFixed !== 1, event);\n        }\n      }) : null) : /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])('kd-cq-homepage-tab-item-icon', _HomePageTab2[\"default\"].notFixedIcon)\n      }, canDelete ? /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: centerCloseIconClz,\n        onClick: this.handleColse\n      }) : null));\n    }\n  }]);\n  return HomePageTabItem;\n}(_react[\"default\"].Component);\nHomePageTabItem.propTypes = {\n  title: _propTypes[\"default\"].string,\n  canDelete: _propTypes[\"default\"].bool,\n  canLock: _propTypes[\"default\"].bool,\n  lockState: _propTypes[\"default\"].number,\n  isActive: _propTypes[\"default\"].bool\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/HomePageTab.js?");

/***/ }),

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

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/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 = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _HtmlPanel = _interopRequireDefault(__webpack_require__(/*! ./HtmlPanel.less */ \"./src/component/web/base/HtmlPanel.less\"));\nvar _excluded = [\"style\", \"className\", \"HtmlContent\", \"children\", \"Direction\", \"Grow\", \"Shrink\", \"AlignSelf\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 HtmlPanel = /*#__PURE__*/function (_React$Component) {\n  _inherits(HtmlPanel, _React$Component);\n  function HtmlPanel(props) {\n    _classCallCheck(this, HtmlPanel);\n    return _callSuper(this, HtmlPanel, [props]);\n  }\n  _createClass(HtmlPanel, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        style = _this$props.style,\n        className = _this$props.className,\n        HtmlContent = _this$props.HtmlContent,\n        children = _this$props.children,\n        Direction = _this$props.Direction,\n        Grow = _this$props.Grow,\n        Shrink = _this$props.Shrink,\n        AlignSelf = _this$props.AlignSelf,\n        others = _objectWithoutProperties(_this$props, _excluded);\n      var htmlPanelClassName = (0, _classnames[\"default\"])(_defineProperty(_defineProperty({}, _HtmlPanel[\"default\"].root, true), className, className), (0, _commonUtils[\"default\"])({\n        Direction: Direction,\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf\n      }));\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        style: style,\n        className: htmlPanelClassName,\n        dangerouslySetInnerHTML: {\n          __html: HtmlContent || ''\n        }\n      }, others));\n    }\n  }]);\n  return HtmlPanel;\n}(_react[\"default\"].Component);\nHtmlPanel.propTypes = {\n  HtmlContent: _propTypes[\"default\"].string,\n  style: _propTypes[\"default\"].object,\n  className: _propTypes[\"default\"].string\n};\nvar _default = exports[\"default\"] = HtmlPanel;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/HtmlPanel.js?");

/***/ }),

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

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/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 = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _IFrame = _interopRequireDefault(__webpack_require__(/*! ./IFrame.less */ \"./src/component/web/base/IFrame.less\"));\nvar _classnames4 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _LoadingGIF = _interopRequireDefault(__webpack_require__(/*! ../../common/LoadingGIF */ \"./src/component/common/LoadingGIF.js\"));\nvar _excluded = [\"style\", \"className\", \"src\", \"frameBorder\", \"scrolling\", \"allowtransparency\", \"getIframeDom\", \"disabledPointer\", \"allowfullscreen\", \"noLoading\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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); } /**\r\n * html的iframe元素\r\n */\nvar IFrame = /*#__PURE__*/function (_React$Component) {\n  _inherits(IFrame, _React$Component);\n  function IFrame(props) {\n    var _this;\n    _classCallCheck(this, IFrame);\n    _this = _callSuper(this, IFrame, [props]);\n    _this.state = {\n      loaded: false // 是否已经加载完成\n    };\n    return _this;\n  }\n  _createClass(IFrame, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      if (this.iframeDom) {\n        var con = this;\n        var _this$props = this.props,\n          _this$props$isDesigne = _this$props.isDesigner,\n          isDesigner = _this$props$isDesigne === void 0 ? false : _this$props$isDesigne,\n          _this$props$onClick = _this$props.onClick,\n          onClick = _this$props$onClick === void 0 ? function () {} : _this$props$onClick;\n        // IE支持onreadystatechange，不支持onload\n        if (this.iframeDom.onreadystatechange !== undefined) {\n          this.iframeDom.onreadystatechange = function () {\n            con.setState({\n              loaded: true\n            });\n          };\n        } else if (this.iframeDom.onload !== undefined) {\n          this.iframeDom.onload = function () {\n            con.setState({\n              loaded: true\n            });\n          };\n        }\n        isDesigner && this.iframeDom.contentWindow.addEventListener('click', onClick, false);\n      }\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      var _this$props2 = this.props,\n        _this$props2$isDesign = _this$props2.isDesigner,\n        isDesigner = _this$props2$isDesign === void 0 ? false : _this$props2$isDesign,\n        _this$props2$onClick = _this$props2.onClick,\n        onClick = _this$props2$onClick === void 0 ? function () {} : _this$props2$onClick;\n      isDesigner && this.iframeDom.contentWindow.removeEventListener('click', onClick, false);\n    }\n  }, {\n    key: \"getIframeDom\",\n    value: function getIframeDom(iframeDom) {\n      this.iframeDom = iframeDom;\n      this.props.getIframeDom && this.props.getIframeDom(iframeDom);\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      // let iframeStyle = {\n      // \tborder: '1px solid blue',\n      // \tflexGrow:1\n      // };\n\n      var _this$props3 = this.props,\n        style = _this$props3.style,\n        className = _this$props3.className,\n        src = _this$props3.src,\n        frameBorder = _this$props3.frameBorder,\n        scrolling = _this$props3.scrolling,\n        allowtransparency = _this$props3.allowtransparency,\n        getIframeDom = _this$props3.getIframeDom,\n        disabledPointer = _this$props3.disabledPointer,\n        allowfullscreen = _this$props3.allowfullscreen,\n        noLoading = _this$props3.noLoading,\n        others = _objectWithoutProperties(_this$props3, _excluded);\n      var showLoading = !this.state.loaded && noLoading !== true;\n      var rootClassName = (0, _classnames4[\"default\"])(className, _IFrame[\"default\"]['iframe-base'], !showLoading ? _IFrame[\"default\"]['iframe-content-load-complete'] : _IFrame[\"default\"]['iframe-content-loading']);\n      // if(showLoading!==true){\n      // style = Object.assign({},style,{\n      // \tbackgroundImage: 'url(' + env.loading_gif_web() + ')'\n\n      // }\n\n      //test data\n      // allowfullscreen = true;\n\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        style: style,\n        className: rootClassName\n      }, others), showLoading ? /*#__PURE__*/_react[\"default\"].createElement(_LoadingGIF[\"default\"], {\n        className: _IFrame[\"default\"]['loading']\n      }) : null, /*#__PURE__*/_react[\"default\"].createElement(\"iframe\", {\n        ref: function ref(d) {\n          _this2.getIframeDom(d);\n        },\n        className: (0, _classnames4[\"default\"])(_defineProperty({}, _IFrame[\"default\"]['iframe-el'], true), _defineProperty({}, _IFrame[\"default\"]['iframe-hide'], showLoading), _defineProperty({}, _IFrame[\"default\"]['disabledPointer'], disabledPointer)),\n        src: src,\n        frameBorder: frameBorder,\n        scrolling: scrolling,\n        allowtransparency: allowtransparency,\n        allowFullScreen: allowfullscreen\n      }));\n\n      // return <iframe ref={d=>{this.iframeDom=d}} style={Object.assign({},style,iframeStyle)} className={rootClassName} {...others} />\n    }\n  }]);\n  return IFrame;\n}(_react[\"default\"].Component);\nIFrame.defaultProps = {\n  noLoading: false //是否关闭iframe控件的loading动画(默认不关闭)\n};\nvar _default = exports[\"default\"] = IFrame;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/IFrame.js?");

/***/ }),

/***/ "./src/component/web/base/Icon.jsx":
/*!*****************************************!*\
  !*** ./src/component/web/base/Icon.jsx ***!
  \*****************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/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.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.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _Icon = _interopRequireDefault(__webpack_require__(/*! ./Icon.less */ \"./src/component/web/base/Icon.less\"));\nvar _baseComponent_undefined_icon = _interopRequireDefault(__webpack_require__(/*! ../img/default/baseComponent_undefined_icon.png */ \"./src/component/web/img/default/baseComponent_undefined_icon.png\"));\nvar _excluded = [\"imageZoom\", \"clickable\", \"name\", \"isSelected\", \"className\", \"style\", \"bgColor\", \"onClick\", \"src\", \"Grow\", \"Shrink\", \"AlignSelf\", \"isDesigner\", \"dataPageId\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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); } // import selectedImg from '../img/default/icon_success.png';\nvar Icon = /*#__PURE__*/function (_React$Component) {\n  _inherits(Icon, _React$Component);\n  function Icon(props) {\n    _classCallCheck(this, Icon);\n    return _callSuper(this, Icon, [props]);\n  }\n  _createClass(Icon, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        imageZoom = _this$props.imageZoom,\n        _this$props$clickable = _this$props.clickable,\n        clickable = _this$props$clickable === void 0 ? true : _this$props$clickable,\n        name = _this$props.name,\n        isSelected = _this$props.isSelected,\n        className = _this$props.className,\n        style = _this$props.style,\n        bgColor = _this$props.bgColor,\n        onClick = _this$props.onClick,\n        src = _this$props.src,\n        Grow = _this$props.Grow,\n        Shrink = _this$props.Shrink,\n        AlignSelf = _this$props.AlignSelf,\n        isDesigner = _this$props.isDesigner,\n        dataPageId = _this$props.dataPageId,\n        others = _objectWithoutProperties(_this$props, _excluded);\n      var cn = (0, _classnames3[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, _Icon[\"default\"].icon, true), className, className), _Icon[\"default\"]['icon-radius'], className) /*, mergeCommonClassNames({Grow,Shrink,AlignSelf}) */);\n      var hoverClass = (0, _classnames3[\"default\"])(_defineProperty(_defineProperty({}, _Icon[\"default\"]['img-wrapper'], true), _Icon[\"default\"].hoverable, clickable));\n      if (bgColor) {\n        style = Object.assign({}, style, {\n          backgroundColor: bgColor\n        });\n      }\n      name = name === '图标' ? '' : name;\n      src = !src ? _baseComponent_undefined_icon[\"default\"] : src;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: cn,\n        style: style,\n        onClick: onClick,\n        title: name,\n        \"data-page-id\": dataPageId\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: hoverClass\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n        className: imageZoom ? _Icon[\"default\"]['img-zoom'] : '',\n        src: src,\n        alt: \"icon\"\n      })));\n    }\n  }]);\n  return Icon;\n}(_react[\"default\"].Component);\nvar _default = exports[\"default\"] = Icon;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Icon.jsx?");

/***/ }),

/***/ "./src/component/web/base/Image.jsx":
/*!******************************************!*\
  !*** ./src/component/web/base/Image.jsx ***!
  \******************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.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.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-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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/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.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _baseComponent = _interopRequireDefault(__webpack_require__(/*! ./baseComponent.less */ \"./src/component/web/base/baseComponent.less\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _baseComponent_undefined = _interopRequireDefault(__webpack_require__(/*! ../img/default/baseComponent_undefined.png */ \"./src/component/web/img/default/baseComponent_undefined.png\"));\nvar _badgeWrap = __webpack_require__(/*! ../../common/badgeWrap */ \"./src/component/common/badgeWrap.js\");\nvar _ControlLoading = _interopRequireDefault(__webpack_require__(/*! ../../common/ControlLoading */ \"./src/component/common/ControlLoading.jsx\"));\nvar _ImageLoupe = _interopRequireDefault(__webpack_require__(/*! ./ImageLoupe */ \"./src/component/web/base/ImageLoupe.js\"));\nvar _excluded = [\"className\", \"style\", \"url\", \"Grow\", \"Shrink\", \"AlignSelf\", \"name\", \"clickable\", \"disabled\", \"model\", \"dispatch\", \"slot\", \"showFormByTips\", \"userLocal\", \"sectionMagnifier\", \"styleWithOutDiv\", \"showLoading\", \"showDragMask\", \"imgContainerTitle\", \"imgTitle\"];\nvar _dec, _class;\n/*\n * 图片控件基类(从baseComponent从分离出来，与字段的图片基类分开)\n */\n// 后续把style也单独抽离到Image.less\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 Image = (_dec = (0, _badgeWrap.badgeBaseWrap)({}, true), _dec(_class = /*#__PURE__*/function (_React$Component) {\n  _inherits(Image, _React$Component);\n  function Image(props) {\n    var _this;\n    _classCallCheck(this, Image);\n    _this = _callSuper(this, Image, [props]);\n    _this.ref = /*#__PURE__*/_react[\"default\"].createRef(null);\n    return _this;\n  }\n  _createClass(Image, [{\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props = this.props,\n        className = _this$props.className,\n        style = _this$props.style,\n        url = _this$props.url,\n        Grow = _this$props.Grow,\n        Shrink = _this$props.Shrink,\n        AlignSelf = _this$props.AlignSelf,\n        name = _this$props.name,\n        clickable = _this$props.clickable,\n        disabled = _this$props.disabled,\n        model = _this$props.model,\n        dispatch = _this$props.dispatch,\n        slot = _this$props.slot,\n        showFormByTips = _this$props.showFormByTips,\n        userLocal = _this$props.userLocal,\n        sectionMagnifier = _this$props.sectionMagnifier,\n        styleWithOutDiv = _this$props.styleWithOutDiv,\n        showLoading = _this$props.showLoading,\n        _this$props$showDragM = _this$props.showDragMask,\n        showDragMask = _this$props$showDragM === void 0 ? false : _this$props$showDragM,\n        imgContainerTitle = _this$props.imgContainerTitle,\n        imgTitle = _this$props.imgTitle,\n        other = _objectWithoutProperties(_this$props, _excluded);\n      var imageClassName = (0, _classnames[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _baseComponent[\"default\"].image, true), className, className), _baseComponent[\"default\"].imgCursor, clickable), _baseComponent[\"default\"].containerMask, showLoading), (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf\n      }));\n      name = name === '图片' ? '' : name;\n      // if (url && (url.indexOf('printsuccess_json') > -1 || url.indexOf('printjson') > -1)) {\n      //   // 54看板演示使用\n      //   url = url.indexOf('success') > -1 ? printSuccessJson : printingJson\n      //   return <div className={styles['svg-json-div']} style={style}><Movin animationData={url} /></div>\n      // }\n      // return (\n      //   <div className={imageClassName} src={url || undefinedImg} style={style} title={name} {...other}>\n      //     <img\n      //     className={''}\n      //     src={url || undefinedImg}\n      //     />\n      //   </div>\n      // )\n\n      var width = style.width,\n        height = style.height,\n        borderRadius = style.borderRadius;\n      var outStyle = style;\n      //  styleWithOutDiv是否不继承包装样式\n      if (styleWithOutDiv) {\n        outStyle = {};\n      }\n      var innerStyle = {\n        width: width,\n        height: height,\n        borderRadius: borderRadius\n      };\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_defineProperty(_defineProperty({}, _baseComponent[\"default\"].imgContainer, true), _baseComponent[\"default\"]['drag-mask'], showDragMask), (0, _commonUtils[\"default\"])({\n          AlignSelf: AlignSelf\n        })),\n        style: outStyle,\n        title: imgContainerTitle\n      }, showLoading && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _baseComponent[\"default\"].imgLoading\n      }, /*#__PURE__*/_react[\"default\"].createElement(_ControlLoading[\"default\"], {\n        className: _baseComponent[\"default\"].movinLoading\n      })), sectionMagnifier ? /*#__PURE__*/_react[\"default\"].createElement(_ImageLoupe[\"default\"], _extends({\n        src: url || _baseComponent_undefined[\"default\"],\n        className: imageClassName,\n        style: innerStyle,\n        title: imgTitle,\n        ref: this.ref,\n        sectionMagnifier: sectionMagnifier,\n        clickable: clickable\n      }, other)) : /*#__PURE__*/_react[\"default\"].createElement(\"img\", _extends({\n        \"data-image-src\": url || _baseComponent_undefined[\"default\"],\n        ref: function ref(_ref) {\n          return _this2.image = _ref;\n        },\n        className: imageClassName,\n        style: innerStyle,\n        title: imgTitle\n      }, other)), slot);\n    }\n  }]);\n  return Image;\n}(_react[\"default\"].Component)) || _class);\nImage.propTypes = {\n  text: _propTypes[\"default\"].string,\n  Name: _propTypes[\"default\"].string,\n  style: _propTypes[\"default\"].object,\n  className: _propTypes[\"default\"].string,\n  disabled: _propTypes[\"default\"].bool,\n  Grow: _propTypes[\"default\"].number,\n  Shrink: _propTypes[\"default\"].number,\n  url: _propTypes[\"default\"].string,\n  // 图片路径\n  styleWithOutDiv: _propTypes[\"default\"].bool,\n  // 是否不继承包装控件的样式\n  showDragMask: _propTypes[\"default\"].bool\n};\nvar _default = exports[\"default\"] = Image;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Image.jsx?");

/***/ }),

/***/ "./src/component/web/base/ImageList.jsx":
/*!**********************************************!*\
  !*** ./src/component/web/base/ImageList.jsx ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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.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.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.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-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.ImageItem = void 0;\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.array.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.js\");\n__webpack_require__(/*! core-js/modules/es.array.every.js */ \"../../node_modules/core-js/modules/es.array.every.js\");\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.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.js\");\n__webpack_require__(/*! core-js/modules/es.array.join.js */ \"../../node_modules/core-js/modules/es.array.join.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.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.number.to-fixed.js */ \"../../node_modules/core-js/modules/es.number.to-fixed.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.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n__webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.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 _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _rcUpload = _interopRequireDefault(__webpack_require__(/*! rc-upload */ \"../../node_modules/rc-upload/es/index.js\"));\nvar _lodash = __webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\");\nvar _componentutil = __webpack_require__(/*! @/util/componentutil */ \"./src/util/componentutil.js\");\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! @/component/common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _classnames5 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _ImageList2 = _interopRequireDefault(__webpack_require__(/*! ./ImageList.less */ \"./src/component/web/base/ImageList.less\"));\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _imageUtil = __webpack_require__(/*! @/util/imageUtil */ \"./src/util/imageUtil.js\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _attachmentPanel_error = _interopRequireDefault(__webpack_require__(/*! ../img/default/attachmentPanel_error.png */ \"./src/component/web/img/default/attachmentPanel_error.png\"));\nvar _urlconst = __webpack_require__(/*! @/constant/urlconst */ \"./src/constant/urlconst.js\");\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _ImageListSort = _interopRequireWildcard(__webpack_require__(/*! @/component/common/ImageListSort */ \"./src/component/common/ImageListSort.js\"));\nvar _dragService = __webpack_require__(/*! @/service/web/dragService.js */ \"./src/service/web/dragService.js\");\nvar _useFlipTransition = _interopRequireDefault(__webpack_require__(/*! @/hooks/useFlipTransition */ \"./src/hooks/useFlipTransition.js\"));\nvar _requestParamsUtil = __webpack_require__(/*! @/util/requestParamsUtil */ \"./src/util/requestParamsUtil.js\");\nvar _excluded = [\"isDesigner\", \"style\", \"disabled\", \"Grow\", \"Shrink\", \"AlignSelf\", \"onClick\", \"className\", \"locked\"],\n  _excluded2 = [\"style\", \"className\", \"getImages\", \"getUploadBox\", \"list\", \"onClick\"];\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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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 _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// zhushi\n/*\ntypeof file === string 兼容移动pc\n*/\nfunction fileToObject(file) {\n  return {\n    lastModified: file.lastModified,\n    lastModifiedDate: file.lastModifiedDate,\n    name: file.filename || file.name,\n    size: file.size,\n    type: file.type,\n    uid: file.uid,\n    response: file.response,\n    error: file.error,\n    percent: 0,\n    originFileObj: file\n  };\n}\nfunction getFileItem(file, fileList) {\n  var matchKey = file.uid !== undefined ? 'uid' : 'name';\n  return fileList.filter(function (item) {\n    return item[matchKey] === file[matchKey];\n  })[0];\n}\nfunction removeFileItem(file, fileList, index) {\n  var argsLength = arguments.length;\n  if (argsLength > 2) {\n    fileList.splice(index, 1);\n    return fileList;\n  }\n  var matchKey = file.uid !== undefined ? 'uid' : 'name';\n  return fileList.filter(function (item) {\n    return item[matchKey] !== file[matchKey];\n  });\n}\nfunction emptyFunc() {}\nvar sizeProperty = ['width', 'height', 'marginTop', 'marginBottom', 'marginLeft', 'marginRight'];\n/**/\nvar DARG_ANIMATING_KEY = 'data-animating';\nvar ImageList = /*#__PURE__*/function (_React$Component) {\n  _inherits(ImageList, _React$Component);\n  function ImageList(props) {\n    var _this;\n    _classCallCheck(this, ImageList);\n    _this = _callSuper(this, ImageList, [props]);\n    _this.postFiles = [];\n    _this.state = {\n      imageList: [],\n      showDragMask: false\n    };\n    _this.beforeUpload = function (file, fileList) {\n      var isReject = !_this.canUpload(file, fileList);\n      var errorCallback = function errorCallback() {\n        var _this$props$showMessa, _this$props;\n        (_this$props$showMessa = (_this$props = _this.props).showMessage) === null || _this$props$showMessa === void 0 || _this$props$showMessa.call(_this$props, {\n          content: (0, _intlApi.getLangMsg)({\n            key: 'image.key0014'\n          }),\n          type: 1\n        });\n      };\n      return (0, _imageUtil.correctImageDirection)(file, isReject, errorCallback);\n    };\n    _this.canUpload = function (file, fileList) {\n      var extension = (file.name || '').split('.').pop();\n      if (!_const.ALLOWED_IMAGES.extensions.includes(\".\".concat(extension.toLowerCase()))) {\n        var _this$props$showMessa2, _this$props2;\n        (_this$props$showMessa2 = (_this$props2 = _this.props).showMessage) === null || _this$props$showMessa2 === void 0 || _this$props$showMessa2.call(_this$props2, {\n          content: (0, _intlApi.getLangMsg)({\n            key: 'image.key0015',\n            variables: {\n              types: _const.ALLOWED_IMAGES.extensions.join(',')\n            }\n          }),\n          type: 1\n        });\n        return false;\n      }\n      // 数量限制\n      if (_this.outOfMaxSize(fileList)) {\n        var _this$props$showMessa3, _this$props3;\n        (_this$props$showMessa3 = (_this$props3 = _this.props).showMessage) === null || _this$props$showMessa3 === void 0 || _this$props$showMessa3.call(_this$props3, {\n          content: \"\".concat((0, _intlApi.getLangMsg)({\n            key: 'image.key0003'\n          })).concat(_this.maxUploadImgNum || 1).concat((0, _intlApi.getLangMsg)({\n            key: 'image.key0004'\n          })),\n          type: 1\n        });\n        return false;\n      }\n\n      // 文件超过20M提示\n      if (file.size > _this.props.maxImgSize) {\n        var _this$props$showMessa4, _this$props4;\n        (_this$props$showMessa4 = (_this$props4 = _this.props).showMessage) === null || _this$props$showMessa4 === void 0 || _this$props$showMessa4.call(_this$props4, {\n          content: (0, _intlApi.getLangMsg)({\n            key: 'image.key0023',\n            variables: {\n              name: file.name,\n              size: (file.size / 1024 / 1024).toFixed(2),\n              maxSize: (_this.props.maxImgSize / 1024 / 1024).toFixed(2)\n            }\n          }),\n          type: 1\n        });\n        return false;\n      }\n      return true;\n    };\n    _this.onStart = function (file) {\n      var _this$props$beforeUpl, _this$props5;\n      var nextFileList = _this.state.imageList.concat();\n      var targetItem = fileToObject(file);\n      targetItem.status = 'uploading';\n      nextFileList.push(targetItem);\n      (_this$props$beforeUpl = (_this$props5 = _this.props).beforeUpload) === null || _this$props$beforeUpl === void 0 || _this$props$beforeUpl.call(_this$props5, file.uid);\n      _this.setState({\n        imageList: nextFileList\n      });\n    };\n    _this.onProgress = function (e, file) {\n      var imageList = _this.state.imageList;\n      var targetItem = getFileItem(file, imageList);\n      // removed\n      if (!targetItem) {\n        return;\n      }\n      targetItem.percent = e.percent;\n      _this.setState({\n        imageList: imageList\n      });\n    };\n    _this.onError = function (erro, res, file) {\n      var _this$props$afterUplo, _this$props6, _this$props$showMessa5, _this$props7;\n      var imageList = _this.state.imageList;\n      var targetItem = getFileItem(file, imageList);\n      // removed\n      (_this$props$afterUplo = (_this$props6 = _this.props).afterUpload) === null || _this$props$afterUplo === void 0 || _this$props$afterUplo.call(_this$props6, file.uid);\n      if (!targetItem) {\n        return;\n      }\n      targetItem.status = 'error';\n      _this.setState({\n        imageList: imageList\n      });\n      // 断网时，显示网络连接异常。\n      var errMessage = window.navigator.onLine ? (0, _intlApi.getLangMsg)({\n        key: 'image.key0014'\n      }) : (0, _intlApi.getLangMsg)({\n        key: 'System.key005'\n      });\n      (_this$props$showMessa5 = (_this$props7 = _this.props).showMessage) === null || _this$props$showMessa5 === void 0 || _this$props$showMessa5.call(_this$props7, {\n        content: errMessage,\n        type: 1\n      });\n    };\n    _this.onSuccess = function (res, file) {\n      var _this$props$afterUplo2, _this$props8;\n      var imageList = _this.state.imageList;\n      var targetItem = getFileItem(file, imageList);\n      (_this$props$afterUplo2 = (_this$props8 = _this.props).afterUpload) === null || _this$props$afterUplo2 === void 0 || _this$props$afterUplo2.call(_this$props8, file.uid);\n      if (res && res.status === 'success') {\n        var url = res.url;\n        // url = this.props.fileServer + url;\n        // url = getImgFullPath(this.props.fileServer, url, true)\n        url = _this.props.getImageUrl && _this.props.getImageUrl(url, true) || url;\n        if (res.data && res.data[0]) {\n          url = res.data[0].url;\n        }\n        url = (0, _imageUtil.scaleImage)(url, 'scalePic');\n        targetItem.url = url;\n        targetItem.name = res.filename;\n        // let lastDotIndex = url.lastIndexOf('.');\n        // targetItem.url = url.splice(lastDotIndex - 1, 0,  '_thumbnails_scalePic');\n\n        targetItem.status = 'success';\n        targetItem.percent = 0;\n        targetItem.originUrl = res.url;\n        _this.setState({\n          imageList: imageList\n        }, function () {\n          _this.props.updateControlValue((0, _immutable.fromJS)(_this.state.imageList));\n        });\n        // 保存处理过的文件路径\n        // this.props.onChange(url.split('fileserver/')[1]);\n        _this.handelPostFile(targetItem);\n      } else {\n        var _this$props$showMessa6, _this$props9;\n        (_this$props$showMessa6 = (_this$props9 = _this.props).showMessage) === null || _this$props$showMessa6 === void 0 || _this$props$showMessa6.call(_this$props9, {\n          content: res.description,\n          type: 1\n        });\n        targetItem.status = 'error';\n        targetItem.percent = 0;\n        _this.setState({\n          imageList: imageList\n        });\n      }\n    };\n    _this.handleDelete = function (file, index) {\n      var imageList = _this.state.imageList;\n      var nexImageList = removeFileItem(file, imageList, index);\n      _this.setState({\n        imageList: nexImageList\n      }, function () {\n        return _this.props.updateControlValue((0, _immutable.fromJS)(_this.state.imageList));\n      });\n      var thumbnailsParam = [{\n        scale: '0.20',\n        thumbnailsTag: 'scalePic'\n      }];\n      _this.props.removeFile(index, file.originUrl || file.url, thumbnailsParam); // 删除指令，改为发索引+原始相对url给后端\n    };\n    _this.handlePreview = function (index) {\n      var fileServer = _this.props.fileServer;\n      _this.props.imgPreview({\n        urls: _this.state.imageList.map(function (item) {\n          /**\n            * 图片列表，固定缩略图参数：thumbparam=[{\"scale\":\"0.50\",\"thumbnailsTag\":\"scalePic\"}]&defaultpic=scalePic\"\n            *\n            * 缩略图原图映射方式\n            * 缩略图： /pulic/picturefiled/foO3Wg6REbDzFd2yfz/red_thumbnails_1.png\n            * 原图： /pulic/picturefiled/foO3Wg6REbDzFd2yfz/red.png\n            */\n          var url = typeof item === 'string' ? item : item.url;\n          if (/_thumbnails_scalePic/.test(url)) {\n            url = url.replace('_thumbnails_scalePic', '');\n          }\n          // return getImgFullPath(fileServer, url, true)\n          return _this.props.getImageUrl && _this.props.getImageUrl(url) || url;\n        }),\n        activeIndex: index\n      });\n    };\n    _this.onDragEnd = function (data) {\n      var startIndex = data.startIndex,\n        destinationIndex = data.destinationIndex;\n      _this.props.dragImage({\n        startIndex: startIndex,\n        destinationIndex: destinationIndex\n      });\n      var newList = (0, _ImageListSort.arrayInsertBefore)(_this.state.imageList, startIndex, destinationIndex);\n      _this.setState({\n        imageList: newList\n      });\n    };\n    _this.getImages = function (onMoveFinish, parentRef) {\n      var imageList = _this.state.imageList;\n      return imageList.map(function (item, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(ImageItem, {\n          model: _this.props.model,\n          handlePreview: _this.handlePreview,\n          handleDelete: _this.handleDelete,\n          fileServer: _this.props.fileServer,\n          itemSizeStyle: _this.itemSizeStyle,\n          locked: _this.props.locked,\n          showName: _this.props.showName,\n          key: \"\".concat(index, \"_\").concat(item.url || item),\n          index: index,\n          file: item,\n          getImageUrl: _this.props.getImageUrl,\n          disabled: _this.props.disabled,\n          onDragEnd: _this.onDragEnd,\n          onMoveFinish: onMoveFinish,\n          uploadFinish: _this.props.uploadFinish,\n          parentElement: parentRef === null || parentRef === void 0 ? void 0 : parentRef.current\n        });\n      });\n    };\n    _this.canUploadImg = function (evt) {\n      var _this$props10 = _this.props,\n        disabled = _this$props10.disabled,\n        locked = _this$props10.locked,\n        isDesigner = _this$props10.isDesigner;\n      return !(disabled || locked || isDesigner);\n    };\n    _this.handleDragOver = function (evt) {\n      evt.stopPropagation();\n      if (!_this.canUploadImg()) return;\n      evt.preventDefault();\n      _this.setState({\n        showDragMask: true\n      });\n    };\n    _this.handleLeave = function (evt) {\n      var _this$imgContainerRef;\n      if (!_this.canUploadImg() || (_this$imgContainerRef = _this.imgContainerRef.current) !== null && _this$imgContainerRef !== void 0 && _this$imgContainerRef.contains(evt.relatedTarget)) return;\n      _this.setState({\n        showDragMask: false\n      });\n    };\n    _this.handleDrop = function (evt) {\n      var _evt$dataTransfer;\n      evt.stopPropagation();\n      if (!_this.canUploadImg()) return;\n      var fileList = ((_evt$dataTransfer = evt.dataTransfer) === null || _evt$dataTransfer === void 0 ? void 0 : _evt$dataTransfer.files) || [];\n      var file = fileList.length > 0 && fileList[0];\n      evt.preventDefault();\n      _this.setState({\n        showDragMask: false\n      });\n      if (!file || !_this.canUpload(file, fileList)) return;\n      _this.handleUpload(evt);\n    };\n    _this.handleUpload = function (evt) {\n      evt.preventDefault();\n      if (!_this.canUploadImg()) return;\n      var uploadComponent = _this.innerUploader.uploader;\n      if (evt.type && evt.type !== 'click') {\n        return uploadComponent.onFileDrop(evt);\n      }\n      var inputEl = uploadComponent.fileInput;\n      inputEl.click();\n    };\n    _this.getUploadBox = function () {\n      var canUpload = _this.canUploadImg();\n      var imgContainerClass = (0, _classnames5[\"default\"])(_ImageList2[\"default\"]['img-container'], 'img-hover-color', 'weak-1px-border-dashed', 'contain-bg', 'third-text-in-light', 'active-theme-fc', _defineProperty({}, _ImageList2[\"default\"]['drag-mask'], canUpload && _this.state.showDragMask));\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: imgContainerClass,\n        title: canUpload && (0, _intlApi.getLangMsg)({\n          key: 'image.key0021'\n        }),\n        ref: _this.imgContainerRef\n      }, /*#__PURE__*/_react[\"default\"].createElement(_rcUpload[\"default\"], _extends({}, _this.getUploaderOptions(), {\n        ref: function ref(n) {\n          _this.innerUploader = n;\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ImageList2[\"default\"]['inner-wrapper']\n      }, _this.state.showDragMask ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _ImageList2[\"default\"]['img-drag-text']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'image.key0022'\n      })) : /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: \"\".concat(_ImageList2[\"default\"]['plus-icon'], \" kdfont kdfont-tianjia\")\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, (0, _intlApi.getLangMsg)({\n        key: 'image.key0011'\n      }))))));\n    };\n    _this.maxUploadImgNum = props.maxUploadImgNum; // -1 or num\n    _this.itemSizeStyle = _this.getItemSizeStyle();\n    _this.listStyle = _this.getListStyle();\n    _this.extName = ['.jpeg', '.png', '.jpg', '.gif'];\n    _this.imgContainerRef = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this;\n  }\n  _createClass(ImageList, [{\n    key: \"outOfMaxSize\",\n    value:\n    // isFileTypeAllowed = file => {\n    // extName 按照accept属性标准格式填写\n    // let lastIndexOfDot = file.name.lastIndexOf('.')\n    // let _extName = file.name.slice(lastIndexOfDot + 1).toLowerCase()\n    // if (this.extName.includes(_extName)) return true\n    // }\n\n    function outOfMaxSize(fileList) {\n      if (this.outOfNumberMsg) this.outOfNumberMsg.destroy();\n      // if(this.fileTypeMsg) this.fileTypeMsg.destory();\n      if (this.maxUploadImgNum !== -1) {\n        var selectedFilesLength = fileList.length;\n        return selectedFilesLength + this.state.imageList.length > this.maxUploadImgNum;\n      }\n    }\n  }, {\n    key: \"handelPostFile\",\n    value: function handelPostFile(file) {\n      var _this2 = this;\n      // 上传动作节流处理\n      clearTimeout(this.timer);\n      this.postFiles.push({\n        url: file.originUrl,\n        name: file.name\n      }); // 上传指令，改发原始相对url给后端\n      this.timer = setTimeout(function () {\n        _this2.props.uploadImage && _this2.props.uploadImage(_this2.postFiles);\n        _this2.postFiles = [];\n      }, 1000);\n    }\n  }, {\n    key: \"getUploaderOptions\",\n    value: function getUploaderOptions() {\n      var _this3 = this;\n      var _this$props11 = this.props,\n        disabled = _this$props11.disabled,\n        imgPath = _this$props11.imgPath,\n        locked = _this$props11.locked,\n        isDesigner = _this$props11.isDesigner,\n        model = _this$props11.model;\n      return {\n        disabled: disabled || locked || isDesigner,\n        // true 禁用\n        className: _ImageList2[\"default\"]['upload-box'],\n        component: 'div',\n        action: (0, _requestParamsUtil.appendCtsynonce)(model, \"\".concat(_urlconst.IMAGE_SERVER_URL, \"?thumbparam=[{\\\"scale\\\":\\\"0.20\\\",\\\"thumbnailsTag\\\":\\\"scalePic\\\"}]\")),\n        multiple: true,\n        accept: _const.ALLOWED_IMAGES.extensions.join(','),\n        // accept: 'image/gif,image/jpeg,image/jpg,image/png,image/PNG',\n        // beforeUpload: file=>(/\\.(png|jpe?g|gif)$/).test(file.name.toLowerCase()),\n        beforeUpload: this.beforeUpload,\n        onStart: this.onStart,\n        onSuccess: this.onSuccess,\n        onError: this.onError,\n        onProgress: this.onProgress,\n        data: function data(file) {\n          if (file) {\n            if (imgPath) {\n              imgPath = imgPath.replace('.', \"\".concat((0, _componentutil.createNewId)(), \".\"));\n            } else {\n              imgPath = \"/pulic/imageList/\".concat((0, _componentutil.createNewId)(), \"/\").concat(file.name);\n            }\n            return {\n              url: imgPath,\n              appId: _this3.props.appId,\n              fId: _this3.props.fId,\n              pageId: _this3.props.pageId\n            };\n          }\n        },\n        customRequest: function customRequest(_ref) {\n          var action = _ref.action,\n            data = _ref.data,\n            file = _ref.file,\n            filename = _ref.filename,\n            headers = _ref.headers,\n            onError = _ref.onError,\n            onProgress = _ref.onProgress,\n            onSuccess = _ref.onSuccess,\n            withCredentials = _ref.withCredentials;\n          (0, _imageUtil.upload)({\n            action: action,\n            data: data,\n            file: file,\n            filename: filename,\n            headers: headers,\n            onError: onError,\n            onProgress: onProgress,\n            onSuccess: onSuccess,\n            withCredentials: withCredentials\n          });\n        }\n      };\n    }\n  }, {\n    key: \"getListStyle\",\n    value: function getListStyle() {\n      var style = this.props.style;\n      var listStyle = {};\n      if (style) {\n        for (var k in style) {\n          if (!sizeProperty.includes(k)) listStyle[k] = style[k];\n        }\n      }\n      return listStyle;\n    }\n  }, {\n    key: \"getItemSizeStyle\",\n    value: function getItemSizeStyle() {\n      var style = this.props.style;\n      var itemSizeStyle = {};\n      if (style) {\n        for (var k in sizeProperty) {\n          if (style[k] !== undefined) itemSizeStyle[k] = style[k];\n        }\n      }\n      return itemSizeStyle;\n    }\n  }, {\n    key: \"setDisplayData\",\n    value: function setDisplayData(imageData, shouldUpdateControlData) {\n      if (imageData) {\n        var size = imageData.length;\n        if (size > 0) {\n          var imageList = imageData;\n          // 兼容u指令没有uid的情况 兼容u指令直接设置['xxx']的情况\n          if (imageData.every(function (item) {\n            return _typeof(item) === 'object' && item !== null;\n          })) {\n            imageList = imageData.map(function (item) {\n              return _objectSpread(_objectSpread({}, item), {}, {\n                uid: item.uid || (0, _componentutil.createNewId)()\n              });\n            });\n          } else if (imageData.every(function (item) {\n            return typeof item === 'string';\n          })) {\n            imageList = imageData.map(function (item) {\n              return {\n                url: item,\n                status: 'success',\n                uid: (0, _componentutil.createNewId)()\n              };\n            });\n          }\n          this.setState({\n            imageList: imageList\n          });\n        }\n        if (size === 0) {\n          this.setState({\n            imageList: []\n          });\n        }\n      }\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var imageData = this.props.imageData;\n      this.setDisplayData(imageData);\n      if (this.imgContainerRef.current) {\n        this.imgContainerRef.current.addEventListener('dragover', this.handleDragOver, true);\n        this.imgContainerRef.current.addEventListener('dragleave', this.handleLeave, true);\n        this.imgContainerRef.current.addEventListener('drop', this.handleDrop, true);\n      }\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      if (this.imgContainerRef.current) {\n        this.imgContainerRef.current.removeEventListener('dragover', this.handleDragOver, true);\n        this.imgContainerRef.current.removeEventListener('dragleave', this.handleLeave, true);\n        this.imgContainerRef.current.removeEventListener('drop', this.handleDrop, true);\n      }\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      if (!(0, _lodash.isEqual)(nextProps.imageData, this.props.imageData)) {\n        this.setDisplayData(nextProps.imageData);\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props12 = this.props,\n        isDesigner = _this$props12.isDesigner,\n        style = _this$props12.style,\n        disabled = _this$props12.disabled,\n        Grow = _this$props12.Grow,\n        Shrink = _this$props12.Shrink,\n        AlignSelf = _this$props12.AlignSelf,\n        onClick = _this$props12.onClick,\n        className = _this$props12.className,\n        locked = _this$props12.locked,\n        others = _objectWithoutProperties(_this$props12, _excluded);\n      var imageListClass = (0, _classnames5[\"default\"])('kd-cq-control kd-cq-image-list', _ImageList2[\"default\"]['image-list'], className, (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf\n      }));\n      var getUploadBox = (!(disabled || locked) || isDesigner) && this.getUploadBox;\n      return /*#__PURE__*/_react[\"default\"].createElement(ImageItemWrap, _extends({\n        style: style,\n        className: imageListClass,\n        list: this.state.imageList,\n        getImages: this.getImages,\n        getUploadBox: getUploadBox,\n        onClick: onClick\n      }, others));\n    }\n  }]);\n  return ImageList;\n}(_react[\"default\"].Component);\nImageList.propTypes = {\n  fileServer: _propTypes[\"default\"].string,\n  disabled: _propTypes[\"default\"].bool,\n  imageData: _propTypes[\"default\"].array,\n  removeFile: _propTypes[\"default\"].func,\n  uploadImage: _propTypes[\"default\"].func,\n  updateControlValue: _propTypes[\"default\"].func,\n  onClick: _propTypes[\"default\"].func,\n  maxUploadImgNum: _propTypes[\"default\"].number,\n  dragImage: _propTypes[\"default\"].func,\n  uploadFinish: _propTypes[\"default\"].bool\n};\nImageList.defaultProps = {\n  fileServer: '',\n  disabled: false,\n  removeFile: emptyFunc,\n  uploadImage: emptyFunc,\n  updateControlValue: emptyFunc,\n  dragImage: emptyFunc,\n  uploadFinish: false\n};\nvar _default = exports[\"default\"] = ImageList;\nvar ImageItemWrap = /*#__PURE__*/(0, _react.memo)(function (_ref2) {\n  var _ref$current;\n  var style = _ref2.style,\n    className = _ref2.className,\n    getImages = _ref2.getImages,\n    getUploadBox = _ref2.getUploadBox,\n    list = _ref2.list,\n    _onClick = _ref2.onClick,\n    others = _objectWithoutProperties(_ref2, _excluded2);\n  var ref = (0, _react.useRef)();\n  var _useState = (0, _react.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    flag = _useState2[0],\n    setFlag = _useState2[1];\n  var onMoveFinish = function onMoveFinish() {\n    return setFlag(function (prevState) {\n      return !prevState;\n    });\n  };\n  (0, _useFlipTransition[\"default\"])({\n    elementList: (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.children,\n    animatingKey: DARG_ANIMATING_KEY,\n    reExecuteFlag: flag\n  });\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n    onClick: function onClick(e) {\n      return _onClick && _onClick(e);\n    },\n    className: className,\n    style: style,\n    ref: ref\n  }, others), getImages(onMoveFinish, ref), getUploadBox && getUploadBox());\n});\n\n/* ImageItem */\n\nvar ImageItem = exports.ImageItem = function ImageItem(props) {\n  var _imageItemRef$current;\n  // state = {\n  //   showDelete: false\n  // }\n  var imageItemRef = (0, _react.useRef)();\n  var handleDelete = function handleDelete(e) {\n    e.stopPropagation();\n    var file = props.file,\n      handleDelete = props.handleDelete,\n      index = props.index;\n    if (handleDelete) {\n      console.log('Delete ', file);\n      handleDelete(file, index);\n    }\n  };\n  var handlePreview = function handlePreview(e) {\n    e.stopPropagation();\n    var file = props.file,\n      handlePreview = props.handlePreview,\n      index = props.index;\n    if (file.status === 'success' || typeof file === 'string') {\n      handlePreview(index);\n    }\n  };\n\n  // showDeleteIcon = (e) => {\n  //   if (this.state.showDelete === true) return\n  //   this.setState({ showDelete: true })\n  // }\n\n  // hideDeleteIcon = (e) => {\n  //   if (this.state.showDelete === false) return\n  //   this.setState({ showDelete: false })\n  // }\n\n  var getUrl = function getUrl() {\n    var file = props.file,\n      model = props.model;\n    var url = file.url;\n    // return (!/^http(s)?/.test(url)) ? (fileServer + url) : url\n    // return getImgFullPath(fileServer, url, true)\n    return props.getImageUrl && props.getImageUrl(url) || url;\n  };\n  var file = props.file,\n    showName = props.showName,\n    fileServer = props.fileServer,\n    model = props.model;\n  var nameImgClass = (0, _classnames5[\"default\"])(_defineProperty({}, _ImageList2[\"default\"]['name-img'], true));\n  var itemWrapper = (0, _classnames5[\"default\"])('kd-cq-image-item', _defineProperty(_defineProperty(_defineProperty({}, _ImageList2[\"default\"]['item-wrapper'], true), 'is-error-border', file && file.status === 'error'), 'error-color', file && file.status === 'error'));\n  var iconClass = (0, _classnames5[\"default\"])(_defineProperty({\n    'error-bg-color1 kdfont kdfont-shanchu-s': true\n  }, _ImageList2[\"default\"]['delete-icon'], true));\n  var canDrag = !props.disabled && !props.locked && props.uploadFinish;\n  (0, _ImageListSort[\"default\"])({\n    parentElement: props.parentElement || (imageItemRef === null || imageItemRef === void 0 || (_imageItemRef$current = imageItemRef.current) === null || _imageItemRef$current === void 0 ? void 0 : _imageItemRef$current.parentNode),\n    dragItemRef: imageItemRef,\n    onDragEnd: props.onDragEnd,\n    onMoveFinish: props.onMoveFinish,\n    canDrag: canDrag,\n    animatingKey: DARG_ANIMATING_KEY,\n    dragElement: _dragService.dragElement,\n    removeDragElement: _dragService.removeDragElement\n  });\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _ImageList2[\"default\"]['image-item'],\n    ref: imageItemRef,\n    \"data-flip-key\": typeof file === 'string' ? file : file.uid,\n    \"data-drag-key\": props.index\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: itemWrapper\n  }, typeof file === 'string' ? /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n    href: \"javascript: void(0)\",\n    onClick: handlePreview,\n    style: {\n      width: '100%',\n      height: '100%'\n    }\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n    \"data-image-src\": props.getImageUrl && props.getImageUrl(file) || file\n  })) : file && file.status === 'uploading' ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n    key: 'image.key0002'\n  }))) : file && file.status === 'success' ? /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n    href: \"javascript: void(0)\",\n    onClick: handlePreview,\n    style: {\n      width: '100%',\n      height: '100%'\n    }\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n    \"data-image-src\": getUrl()\n  })) : /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: \"kdfont kdfont-tishi4\"\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    style: {\n      marginLeft: '5px'\n    }\n  }, (0, _intlApi.getLangMsg)({\n    key: 'image.key0001'\n  })))), showName ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _ImageList2[\"default\"]['item-name']\n  }, !(file.status === 'success' || file.status === 'uploading') ? /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n    className: nameImgClass,\n    src: _attachmentPanel_error[\"default\"]\n  }) : null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _ImageList2[\"default\"]['name-text']\n  }, file.name)) : null, !props.locked && !props.disabled && /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: iconClass,\n    onClick: handleDelete\n  }));\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/ImageList.jsx?");

/***/ }),

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

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.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.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.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 _ImageLoupe = _interopRequireDefault(__webpack_require__(/*! ./ImageLoupe.less */ \"./src/component/web/base/ImageLoupe.less\"));\nvar _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _excluded = [\"src\", \"className\", \"style\", \"title\", \"sectionMagnifier\", \"alt\", \"onClick\", \"clickable\", \"isOutermostLayer\"];\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 _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); }\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nvar scale = 2;\nfunction ImageLoupe(props, ref) {\n  var src = props.src,\n    className = props.className,\n    style = props.style,\n    title = props.title,\n    sectionMagnifier = props.sectionMagnifier,\n    alt = props.alt,\n    onClick = props.onClick,\n    clickable = props.clickable,\n    _props$isOutermostLay = props.isOutermostLayer,\n    isOutermostLayer = _props$isOutermostLay === void 0 ? false : _props$isOutermostLay,\n    other = _objectWithoutProperties(props, _excluded);\n  var _useState = (0, _react.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    isShowLoupe = _useState2[0],\n    setShowVal = _useState2[1];\n  var _useState3 = (0, _react.useState)({}),\n    _useState4 = _slicedToArray(_useState3, 2),\n    browserPosition = _useState4[0],\n    setBrowserPosition = _useState4[1];\n  var _useState5 = (0, _react.useState)({}),\n    _useState6 = _slicedToArray(_useState5, 2),\n    magnifierImgPosition = _useState6[0],\n    setMagnifierImgPosition = _useState6[1];\n  var imageEl = ref ? null : (0, _react.useRef)(null);\n  var getImageElInfo = function getImageElInfo(imageEl) {\n    if (!(imageEl && imageEl.current)) return {};\n    var imageElInfo = imageEl.current.getBoundingClientRect();\n    return imageElInfo;\n  };\n  var getPointerPosition = function getPointerPosition(e) {\n    // 兼容浏览器的鼠标x,y获得函数\n    var x = e.pageX || e.clientX + (document.documentElement.scrollLeft || document.body.scrollLeft);\n    var y = e.pageY || e.clientY + (document.documentElement.scrollTop || document.body.scrollTop);\n    return {\n      x: x,\n      y: y\n    };\n  };\n  var mouseMove = function mouseMove(e) {\n    if (!isShowLoupe || !sectionMagnifier) return;\n    e.stopPropagation();\n    var pos = getPointerPosition(e);\n    var imageElInfo = ref ? getImageElInfo(ref) : getImageElInfo(imageEl);\n    var bTop = Math.min(Math.max(pos.y - imageElInfo.top - imageElInfo.height / scale / 2, 0), imageElInfo.height - imageElInfo.height / scale);\n    var bLeft = Math.min(Math.max(pos.x - imageElInfo.left - imageElInfo.width / scale / 2, 0), imageElInfo.width - imageElInfo.width / scale);\n    var magnifierImgTop = -(bTop * scale);\n    var magnifierImgLeft = -(bLeft * scale);\n    setBrowserPosition({\n      top: bTop + 'px',\n      left: bLeft + 'px'\n    });\n    setMagnifierImgPosition({\n      top: magnifierImgTop + 'px',\n      left: magnifierImgLeft + 'px'\n    });\n  };\n  var mouseEnter = function mouseEnter(e) {\n    if (!sectionMagnifier) return;\n    e.stopPropagation();\n    setShowVal(true);\n  };\n  var mouseLeave = function mouseLeave(e) {\n    if (!sectionMagnifier) return;\n    e.stopPropagation();\n    setShowVal(false);\n  };\n  var LoupePanel = function LoupePanel() {\n    if (!isShowLoupe || !sectionMagnifier) return;\n    var imageElInfo = ref ? getImageElInfo(ref) : getImageElInfo(imageEl);\n    var magWidth = imageElInfo.width;\n    var magHeight = imageElInfo.height;\n    var magTop = imageElInfo.top + (document.documentElement.scrollTop || document.body.scrollTop);\n    var magLeft = imageElInfo.left + imageElInfo.width + 10 + (document.documentElement.scrollLeft || document.body.scrollLeft);\n    if (magLeft + magWidth > window.innerWidth) {\n      magLeft = imageElInfo.left + (document.documentElement.scrollLeft || document.body.scrollLeft) - imageElInfo.width - 10;\n    }\n    var style = {\n      width: magWidth + 'px',\n      height: magHeight + 'px',\n      top: magTop + 'px',\n      left: magLeft + 'px'\n    };\n    var magnifierImgStyle = Object.assign({}, {\n      width: magWidth * scale + 'px',\n      height: magHeight * scale + 'px'\n    }, magnifierImgPosition);\n    return /*#__PURE__*/_reactDom[\"default\"].createPortal( /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _ImageLoupe[\"default\"].mag,\n      style: style\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n      src: src,\n      className: _ImageLoupe[\"default\"].magnifierImg,\n      style: magnifierImgStyle\n    })), document.body);\n  };\n  var getBrowserStyle = function getBrowserStyle(imageEl) {\n    var cursor = 'crosshair';\n    if (clickable) {\n      cursor = 'pointer';\n    }\n    var imageElInfo = getImageElInfo(imageEl);\n    var bWidth = imageElInfo.width / scale + 'px';\n    var bHeight = imageElInfo.height / scale + 'px';\n    return {\n      width: bWidth,\n      height: bHeight,\n      cursor: cursor\n    };\n  };\n  var BrowserStyle = sectionMagnifier && (ref ? Object.assign({}, getBrowserStyle(ref), browserPosition) : Object.assign({}, getBrowserStyle(imageEl), browserPosition));\n  var imgref = ref || imageEl;\n  var imgContentCN = (0, _classnames2[\"default\"])(_defineProperty(_defineProperty({}, _ImageLoupe[\"default\"].imgContent, true), _ImageLoupe[\"default\"].imgContentWH, !isOutermostLayer));\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: imgContentCN,\n    onMouseEnter: function onMouseEnter(e) {\n      return mouseEnter(e);\n    },\n    onMouseLeave: function onMouseLeave(e) {\n      return mouseLeave(e);\n    },\n    onMouseMove: function onMouseMove(e) {\n      return mouseMove(e);\n    }\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", _extends({\n    \"data-image-src\": src,\n    className: className,\n    ref: imgref,\n    style: style,\n    title: title,\n    alt: alt,\n    onClick: onClick\n  }, other)), isShowLoupe && sectionMagnifier ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _ImageLoupe[\"default\"].Browser,\n    style: BrowserStyle,\n    onClick: onClick\n  }) : null, LoupePanel());\n}\nvar _default = exports[\"default\"] = /*#__PURE__*/_react[\"default\"].forwardRef(ImageLoupe);\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/ImageLoupe.js?");

/***/ }),

/***/ "./src/component/web/base/InputNumber.jsx":
/*!************************************************!*\
  !*** ./src/component/web/base/InputNumber.jsx ***!
  \************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.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.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.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.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/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.parse-float.js */ \"../../node_modules/core-js/modules/es.parse-float.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.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.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/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 _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! @/component/common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _formatUtil = __webpack_require__(/*! @/util/formatUtil */ \"./src/util/formatUtil.js\");\nvar _numberUtil = __webpack_require__(/*! @/util/numberUtil */ \"./src/util/numberUtil.js\");\nvar _baseComponent = _interopRequireDefault(__webpack_require__(/*! ./baseComponent.less */ \"./src/component/web/base/baseComponent.less\"));\nvar _excluded = [\"noValue\", \"isNoUnderLineLockStyle\", \"saveFieldShowValue\", \"symbol\", \"showSymbol\", \"className\", \"style\", \"Grow\", \"Shrink\", \"theme\", \"disabled\", \"readOnly\", \"placeholder\", \"value\", \"mask\", \"min\", \"minMark\", \"max\", \"maxMark\", \"digitLength\", \"decimalLength\", \"zeroShow\", \"noDisplayDecimalTailZero\", \"onFocus\", \"onBlur\", \"onChange\", \"showTitle\", \"isCard\", \"isDesigner\", \"setPageData\", \"deletePageData\", \"noformat\", \"getScope\", \"defaultFocus\", \"displayFormat\", \"roundMethod\", \"boxStyle\", \"mustInScope\", \"isSelect\", \"lock\", \"allBorder\", \"mustInPrecisionScope\"];\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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 InputNumber = /*#__PURE__*/function (_Component) {\n  _inherits(InputNumber, _Component);\n  function InputNumber(props) {\n    var _this;\n    _classCallCheck(this, InputNumber);\n    _this = _callSuper(this, InputNumber, [props]);\n    _this.handleComposition = function (evt) {\n      _this.isInComposition = evt.type !== 'compositionend';\n      if (!_this.isInComposition) {\n        _this.setState({\n          compositionValue: ''\n        });\n        _this.handleChange(evt);\n      }\n    };\n    /**\n     * 判断数值的整数、小数精度是否在范围内\n     * 1. 整数精度超出范围，不允许输入、粘贴\n     * 2. 小数精度超出范围，不允许输入。对于粘贴值做阶段处理\n     *\n     * @param {string} value 值\n     * @returns 截断后的值或者原值。当值不符合要求时，返回 null\n     */\n    _this.isWithinAccuracyRange = function (value) {\n      // 输入内容不允许超过最大精度\n      var _value$split = value.split('.'),\n        _value$split2 = _slicedToArray(_value$split, 2),\n        integerValue = _value$split2[0],\n        _value$split2$ = _value$split2[1],\n        decimalValue = _value$split2$ === void 0 ? '' : _value$split2$;\n      // 整数字段不允许输入小数点\n      if (_this.props.decimalLength === 0 && value.includes('.')) {\n        return null;\n      }\n      if (!_this.props.mustInPrecisionScope) return value;\n      // 负号不计入长度\n      var digitLength = value[0] === '-' ? _this.props.digitLength - _this.props.decimalLength + 1 : _this.props.digitLength - _this.props.decimalLength;\n      // 整数部分超出精度，不允许输入\n      if (integerValue.length > digitLength) return null;\n      // 小数精度超出精度时，区分粘贴以及输入的情况\n      if (decimalValue.length > _this.props.decimalLength) {\n        var res = decimalValue ? \".\".concat(decimalValue.substr(0, _this.props.decimalLength)) : '';\n        return \"\".concat(integerValue).concat(res);\n      }\n      return value;\n    };\n    _this.formatValue = function (value, param) {\n      if (!value && value !== 0) return '';\n      return (0, _formatUtil.formatNumber)(value, param);\n    };\n    _this.state = {\n      value: props.value === '' || props.value === null ? '' : _this.formatGridCell(props),\n      compositionValue: ''\n    };\n    _this.inputFocused = false;\n    _this.handleFocus = _this.handleFocus.bind(_assertThisInitialized(_this));\n    _this.handleBlur = _this.handleBlur.bind(_assertThisInitialized(_this));\n    _this.handleChange = _this.handleChange.bind(_assertThisInitialized(_this));\n    _this.handelKeyDown = _this.handelKeyDown.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(InputNumber, [{\n    key: \"formatGridCell\",\n    value: function formatGridCell(props) {\n      // 单据体每次进入编辑态需要重建这个组件，而且币别信息会带过去，需要特殊处理\n      var formatEditValue = props.formatEditValue,\n        value = props.value,\n        zeroShow = props.zeroShow,\n        decimalLength = props.decimalLength,\n        noDisplayDecimalTailZero = props.noDisplayDecimalTailZero,\n        roundMethod = props.roundMethod;\n      if (formatEditValue && typeof formatEditValue === 'function') {\n        return formatEditValue();\n      }\n      // return value\n      var symbol = props.symbol,\n        type = props.type,\n        code = props.code;\n      var mask = props.displayFormat || props.mask;\n      return this.formatValue(value, {\n        mask: mask,\n        zeroShow: zeroShow,\n        decimalLength: decimalLength,\n        noDisplayDecimalTailZero: noDisplayDecimalTailZero,\n        type: type,\n        symbol: symbol,\n        code: code,\n        roundMethod: roundMethod\n      });\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      var zeroShow = nextProps.zeroShow,\n        decimalLength = nextProps.decimalLength,\n        noDisplayDecimalTailZero = nextProps.noDisplayDecimalTailZero,\n        symbol = nextProps.symbol,\n        type = nextProps.type,\n        code = nextProps.code,\n        roundMethod = nextProps.roundMethod,\n        disabled = nextProps.disabled,\n        readOnly = nextProps.readOnly,\n        displayDecimalLength = nextProps.displayDecimalLength;\n      if (this.isHandleChange) return;\n      if (!this.inputFocused || Number(nextProps.value) !== Number(this.props.value)) {\n        var value = nextProps.value;\n        var mask = nextProps.displayFormat || nextProps.mask;\n        // 如果是编辑态，则赋值则是编辑态的值，如果是非编辑态，赋值则是非编辑态的值\n        var formatValue = this.inputDom.contains(document.activeElement) && !disabled && !readOnly // 存在焦点，编辑态\n        ? (0, _formatUtil.formatEditNumber)(value, {\n          zeroShow: zeroShow,\n          decimalLength: decimalLength,\n          noDisplayDecimalTailZero: noDisplayDecimalTailZero\n        }) : this.formatValue(value, {\n          mask: mask,\n          zeroShow: zeroShow,\n          decimalLength: displayDecimalLength !== null && displayDecimalLength !== void 0 ? displayDecimalLength : decimalLength,\n          noDisplayDecimalTailZero: noDisplayDecimalTailZero,\n          type: type,\n          symbol: symbol,\n          code: code,\n          roundMethod: roundMethod\n        });\n        this.setState({\n          value: nextProps.value === '' || nextProps.value === null ? '' : formatValue\n        });\n      }\n    }\n  }, {\n    key: \"handelKeyDown\",\n    value: function handelKeyDown(e) {\n      this.props.onKeyDown && this.props.onKeyDown(e);\n      if (e.keyCode === 13) {\n        // BT-00341408: enter 会触发两次 blur 事件，在 IE 下按下 enter 会导致发送给后台的是格式化后的值\n        document.activeElement === this.inputDom && this.inputDom.blur();\n        // this.handleBlur(e)\n        // e.target.blur()\n      }\n    }\n  }, {\n    key: \"handleFocus\",\n    value: function handleFocus(e) {\n      var _this2 = this;\n      this.inputFocused = true;\n      var _this$props = this.props,\n        value = _this$props.value,\n        noformat = _this$props.noformat,\n        _this$props$isSelect = _this$props.isSelect,\n        isSelect = _this$props$isSelect === void 0 ? true : _this$props$isSelect;\n      var _this$props2 = this.props,\n        zeroShow = _this$props2.zeroShow,\n        decimalLength = _this$props2.decimalLength,\n        noDisplayDecimalTailZero = _this$props2.noDisplayDecimalTailZero,\n        roundMethod = _this$props2.roundMethod;\n      var formatValue = noformat ? value : (0, _formatUtil.formatEditNumber)(value, {\n        zeroShow: zeroShow,\n        decimalLength: decimalLength,\n        noDisplayDecimalTailZero: noDisplayDecimalTailZero,\n        roundMethod: roundMethod\n      });\n      this.setState({\n        value: value === '' || value === null ? '' : formatValue\n      }, function () {\n        // 全选输入框内容\n        if (navigator.userAgent.match(/Edge/)) {\n          // 兼容edge浏览器\n          setTimeout(function () {\n            isSelect && _this2.inputDom.select();\n          }, 0);\n        } else {\n          isSelect && _this2.inputDom.select();\n        }\n        if (_this2.props.onFocus) {\n          _this2.props.onFocus(e);\n        }\n      });\n    }\n  }, {\n    key: \"handleBlur\",\n    value: function handleBlur(e) {\n      var _this3 = this;\n      this.inputFocused = false;\n      var newValue = (0, _numberUtil.convertToHalfWidth)(this.state.value);\n      /**\n       * BT-00120260 -start\n       * 字段显示为0%时，输入负号点击回车按钮，页面未重置显示为0%\n       * 看一下，这里问题就一个\n       * 当用户只输入负号’-‘，没有输入其他数字时，此时回车或者失去焦点结束编辑，负号被单独发到了后端。\n       * 建议前端把单独的负号处理掉。\n       * 我不推荐这么做，但是需要处理BUG-胡少伟\n       */\n      if (newValue === '-') {\n        newValue = '';\n        // 这里直接修改了值，并不会重新去触发 change 事件中的校验\n        // 所以手动调用一遍change\n        this.handleChange({\n          target: {\n            value: newValue\n          }\n        });\n        this.setState({\n          value: null\n        }, function () {\n          _this3.props.onBlur && _this3.props.onBlur({\n            target: {\n              value: newValue\n            }\n          });\n          _this3.isHandleChange = false;\n        });\n        return;\n      }\n      /** BT-00120260 -end */\n      // 非必填字段值为空时，不恢复极限值。\n      if (newValue !== '' || this.props.required) {\n        // 还原最小值\n        if (Number(newValue) < Number(this.props.min)) {\n          newValue = this.props.min.toString();\n        }\n        // 还原最大值\n        if (Number(newValue) > Number(this.props.max)) {\n          newValue = this.props.max.toString();\n        }\n      }\n\n      // 超过精度位数直接截断\n      var _newValue$split = newValue.split('.'),\n        _newValue$split2 = _slicedToArray(_newValue$split, 2),\n        integerValue = _newValue$split2[0],\n        _newValue$split2$ = _newValue$split2[1],\n        decimalValue = _newValue$split2$ === void 0 ? '' : _newValue$split2$;\n      var digitLength = integerValue[0] === '-' ? this.props.digitLength - this.props.decimalLength + 1 : this.props.digitLength - this.props.decimalLength;\n      if (integerValue.length > digitLength) {\n        newValue = integerValue.substr(0, this.props.digitLength - this.props.decimalLength);\n      } else if (decimalValue.length > this.props.decimalLength) {\n        newValue = integerValue + '.' + decimalValue.substr(0, this.props.decimalLength);\n      }\n      var _this$props3 = this.props,\n        zeroShow = _this$props3.zeroShow,\n        decimalLength = _this$props3.decimalLength,\n        noDisplayDecimalTailZero = _this$props3.noDisplayDecimalTailZero,\n        type = _this$props3.type,\n        symbol = _this$props3.symbol,\n        code = _this$props3.code,\n        shouldGetFormattedValueOnBlur = _this$props3.shouldGetFormattedValueOnBlur;\n      var mask = this.props.displayFormat || this.props.mask;\n      var formatValue = this.formatValue(newValue, {\n        mask: mask,\n        zeroShow: zeroShow,\n        decimalLength: decimalLength,\n        noDisplayDecimalTailZero: noDisplayDecimalTailZero,\n        type: type,\n        symbol: symbol,\n        code: code\n      });\n\n      // shouldGetFormattedValueOnBlur为true时，表明为弹性域小数字段，格式化的值不能带千分位，\n      var blurValue = shouldGetFormattedValueOnBlur ? this.formatValue(newValue, {\n        mask: '#',\n        zeroShow: zeroShow,\n        decimalLength: decimalLength,\n        noDisplayDecimalTailZero: noDisplayDecimalTailZero,\n        type: type,\n        symbol: symbol,\n        code: code\n      }) : newValue;\n      this.setState({\n        value: formatValue\n      }, function () {\n        _this3.props.onBlur && _this3.props.onBlur({\n          target: {\n            value: blurValue\n          }\n        });\n        _this3.isHandleChange = false;\n      });\n    }\n  }, {\n    key: \"handleChange\",\n    value: function handleChange(e) {\n      var _this4 = this;\n      if (this.isInComposition) {\n        // 中文输入法\n        this.setState({\n          compositionValue: e.target.value\n        });\n        return;\n      }\n      this.isHandleChange = true;\n      // 将 value 进行数字序列化 剔除非数字输入-复制粘贴的情况\n      var value = (0, _numberUtil.serialization)(e.target.value);\n\n      // 校验数字合法性\n      if (!/^-?[\\d|\\uff10-\\uff19]*[.|．]?[\\d|\\uff10-\\uff19]*$/.test(value)) return false;\n\n      // 输入内容超出数字范围不允许输入\n      if (this.props.mustInScope && !this.isScopeValid(value)) {\n        return false;\n      }\n      value = this.isWithinAccuracyRange(value);\n      if (value === null) {\n        return false;\n      }\n\n      // 超过最大值不允许输入\n      // if (this.props.max && value > this.props.max) return false\n      this.setState({\n        value: value\n      }, function () {\n        var normalValue = (0, _numberUtil.convertToHalfWidth)(value);\n        _this4.props.onChange && _this4.props.onChange({\n          target: {\n            value: normalValue\n          }\n        });\n      });\n    }\n  }, {\n    key: \"isScopeValid\",\n    value: function isScopeValid(value) {\n      if (value === '') return true;\n      var _this$props4 = this.props,\n        min = _this$props4.min,\n        minMark = _this$props4.minMark,\n        max = _this$props4.max,\n        maxMark = _this$props4.maxMark;\n      var numberValue = parseFloat(value) || 0;\n      if (min >= 0 && value.includes('-')) return false; // 数值范围>=0时,不允许输入负号\n      if (minMark === '[' && numberValue < min || minMark === '(' && numberValue <= min || maxMark === ']' && numberValue > max || maxMark === ')' && numberValue >= max) return false;\n      return true;\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this5 = this;\n      if (this.props.defaultFocus === true && this.inputDom) {\n        // 表格过滤组件需要默认选中\n        setTimeout(function () {\n          // 防止界面没渲染出来导致不触发\n          _this5.inputDom.focus();\n        }, 0);\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this6 = this;\n      var _this$props5 = this.props,\n        _this$props5$noValue = _this$props5.noValue,\n        noValue = _this$props5$noValue === void 0 ? '' : _this$props5$noValue,\n        isNoUnderLineLockStyle = _this$props5.isNoUnderLineLockStyle,\n        saveFieldShowValue = _this$props5.saveFieldShowValue,\n        symbol = _this$props5.symbol,\n        showSymbol = _this$props5.showSymbol,\n        className = _this$props5.className,\n        style = _this$props5.style,\n        Grow = _this$props5.Grow,\n        Shrink = _this$props5.Shrink,\n        theme = _this$props5.theme,\n        disabled = _this$props5.disabled,\n        readOnly = _this$props5.readOnly,\n        placeholder = _this$props5.placeholder,\n        value = _this$props5.value,\n        mask = _this$props5.mask,\n        min = _this$props5.min,\n        minMark = _this$props5.minMark,\n        max = _this$props5.max,\n        maxMark = _this$props5.maxMark,\n        digitLength = _this$props5.digitLength,\n        decimalLength = _this$props5.decimalLength,\n        zeroShow = _this$props5.zeroShow,\n        noDisplayDecimalTailZero = _this$props5.noDisplayDecimalTailZero,\n        onFocus = _this$props5.onFocus,\n        onBlur = _this$props5.onBlur,\n        onChange = _this$props5.onChange,\n        showTitle = _this$props5.showTitle,\n        isCard = _this$props5.isCard,\n        isDesigner = _this$props5.isDesigner,\n        setPageData = _this$props5.setPageData,\n        deletePageData = _this$props5.deletePageData,\n        noformat = _this$props5.noformat,\n        getScope = _this$props5.getScope,\n        defaultFocus = _this$props5.defaultFocus,\n        displayFormat = _this$props5.displayFormat,\n        roundMethod = _this$props5.roundMethod,\n        boxStyle = _this$props5.boxStyle,\n        mustInScope = _this$props5.mustInScope,\n        isSelect = _this$props5.isSelect,\n        lock = _this$props5.lock,\n        allBorder = _this$props5.allBorder,\n        mustInPrecisionScope = _this$props5.mustInPrecisionScope,\n        other = _objectWithoutProperties(_this$props5, _excluded);\n      value = this.state.compositionValue || this.state.value;\n\n      // 处理‘无下划线’锁定风格内容\n      if (disabled === true) {\n        if (value === 0) {\n          value = zeroShow ? 0 : '';\n        } else {\n          value = value || noValue;\n        }\n      }\n      var isLockWithNoValue = lock && value === noValue;\n      var inputThemeCls = _baseComponent[\"default\"]['input-' + (theme || 'default')];\n      className = (0, _classnames[\"default\"])('kd-cq-input', className, _baseComponent[\"default\"].input, inputThemeCls, _defineProperty(_defineProperty(_defineProperty({\n        'primary-text-in-light': true\n      }, \"\".concat(_baseComponent[\"default\"].disabled, \" disabled-fc\"), disabled && value !== noValue), _baseComponent[\"default\"]['field-disabled-no-value-color'], disabled && value === noValue), 'lock-with-no-value', isLockWithNoValue), (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink\n      }));\n      placeholder = disabled ? '' : placeholder;\n      var inputEvent = {};\n      if (!disabled && !readOnly && !isDesigner) {\n        inputEvent.onFocus = this.handleFocus;\n        inputEvent.onBlur = this.handleBlur;\n        inputEvent.onChange = this.handleChange;\n        inputEvent.onKeyDown = this.handelKeyDown;\n        inputEvent.onCompositionUpdate = this.handleComposition;\n        inputEvent.onCompositionEnd = this.handleComposition;\n        inputEvent.onCompositionStart = this.handleComposition;\n      } else {\n        inputEvent.onChange = function () {};\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _baseComponent[\"default\"]['input-number-div'],\n        style: boxStyle,\n        \"data-base-ctrl\": true\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({}, other, {\n        ref: function ref(r) {\n          _this6.inputDom = r;\n        },\n        type: \"text\",\n        readOnly: disabled || readOnly,\n        className: className,\n        style: style,\n        value: value,\n        title: value,\n        placeholder: placeholder,\n        min: min,\n        max: max\n      }, inputEvent)));\n    }\n  }]);\n  return InputNumber;\n}(_react.Component);\nInputNumber.propTypes = {\n  style: _propTypes[\"default\"].object,\n  className: _propTypes[\"default\"].string,\n  disabled: _propTypes[\"default\"].bool,\n  Grow: _propTypes[\"default\"].number,\n  Shrink: _propTypes[\"default\"].number,\n  digitLength: _propTypes[\"default\"].number,\n  // 数字的位数\n  decimalLength: _propTypes[\"default\"].number,\n  // 小数点后位数\n  zeroShow: _propTypes[\"default\"].bool,\n  // 为零是否显示\n  noDisplayDecimalTailZero: _propTypes[\"default\"].bool,\n  // 是否显示小数尾部0\n  mask: _propTypes[\"default\"].string,\n  // 掩码\n  min: _propTypes[\"default\"].number,\n  // 最小值\n  minMark: _propTypes[\"default\"].string,\n  // 最小值比较符\n  max: _propTypes[\"default\"].number,\n  // 最大值\n  maxMark: _propTypes[\"default\"].string,\n  // 最大值比较符\n  symbol: _propTypes[\"default\"].string,\n  // 货币符号\n  showSymbol: _propTypes[\"default\"].bool,\n  // 是否显示货币符号\n  noformat: _propTypes[\"default\"].bool,\n  mustInScope: _propTypes[\"default\"].bool,\n  // 输入内容是否必须在设定的数字范围内(不在范围内则不允许输入)\n  defaultFocus: _propTypes[\"default\"].bool\n};\nInputNumber.defaultProps = {\n  digitLength: 4,\n  decimalLength: 2,\n  zeroShow: false,\n  noDisplayDecimalTailZero: false,\n  maxMark: ']',\n  mask: '',\n  mustInScope: false,\n  // 输入限制在数值范围 默认-false\n  mustInPrecisionScope: true // 输入限制在精度范围 默认-true\n};\nvar _default = exports[\"default\"] = InputNumber;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/InputNumber.jsx?");

/***/ }),

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

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.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.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.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.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\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _classnames4 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _Label = _interopRequireDefault(__webpack_require__(/*! ./Label.less */ \"./src/component/web/base/Label.less\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _badgeWrap = __webpack_require__(/*! ../../common/badgeWrap */ \"./src/component/common/badgeWrap.js\");\nvar _xssFilters = _interopRequireDefault(__webpack_require__(/*! ../../../util/xssFilters */ \"./src/util/xssFilters.js\"));\nvar _ControlLoading = _interopRequireDefault(__webpack_require__(/*! ../../common/ControlLoading */ \"./src/component/common/ControlLoading.jsx\"));\nvar _propnames = __webpack_require__(/*! ../../../designer/constant/propnames */ \"./src/designer/constant/propnames.js\");\nvar _TextEllipsisWrap = _interopRequireDefault(__webpack_require__(/*! @/component/common/TextEllipsisWrap */ \"./src/component/common/TextEllipsisWrap.js\"));\nvar _doubleClickToChangePropertyUtil = __webpack_require__(/*! ../../../designer/utils/doubleClickToChangePropertyUtil */ \"./src/designer/utils/doubleClickToChangePropertyUtil.js\");\nvar _excluded = [\"width\"],\n  _excluded2 = [\"className\", \"AlignSelf\", \"Grow\", \"Shrink\", \"text\", \"Name\", \"clickable\", \"AutoTextWrap\", \"slot\", \"showFormByTips\", \"userLocal\", \"clickTipsLink\", \"dataPageId\", \"id\", \"model\", \"disabled\", \"dispatch\", \"LabelStyle\", \"fontColor\", \"style\", \"loading\", \"rowKey\", \"field\", \"onTwiceClick\"];\nvar _dec, _class;\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 Label = (_dec = (0, _badgeWrap.badgeBaseWrap)(), _dec(_class = /*#__PURE__*/function (_React$Component) {\n  _inherits(Label, _React$Component);\n  function Label() {\n    _classCallCheck(this, Label);\n    return _callSuper(this, Label, arguments);\n  }\n  _createClass(Label, [{\n    key: \"getSegment\",\n    value: function getSegment() {\n      var loading = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n      var html = arguments.length > 1 ? arguments[1] : undefined;\n      var rowIndex = arguments.length > 2 ? arguments[2] : undefined;\n      var autoTextWrap = arguments.length > 3 ? arguments[3] : undefined;\n      var segmentProps = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};\n      var _loading$showLoading = loading.showLoading,\n        showLoading = _loading$showLoading === void 0 ? false : _loading$showLoading,\n        loadingType = loading.loadingType,\n        rowKey = loading.rowKey;\n      var title = segmentProps.title;\n      var shouldshowLoading = showLoading && rowKey !== 'undefined' && rowIndex === rowKey;\n      var fragmentStyle = {};\n      if (this.props.slot) {\n        var _this$props$style = this.props.style,\n          labelWidth = _this$props$style.width,\n          rest = _objectWithoutProperties(_this$props$style, _excluded);\n        if (labelWidth) {\n          fragmentStyle.width = labelWidth;\n        }\n      }\n      var labelDom = /*#__PURE__*/_react[\"default\"].createElement(_TextEllipsisWrap[\"default\"], null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: title,\n        style: fragmentStyle,\n        dangerouslySetInnerHTML: {\n          __html: html\n        }\n      }));\n      switch (loadingType) {\n        case 3:\n          return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, showLoading ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: _Label[\"default\"].loadingType3\n          }, /*#__PURE__*/_react[\"default\"].createElement(_ControlLoading[\"default\"], {\n            className: _Label[\"default\"].movinLoading\n          }), labelDom) : labelDom);\n        case 1:\n          return labelDom;\n        case 2:\n        default:\n          {\n            var textClass = (0, _classnames4[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Label[\"default\"].maskLoading, JSON.stringify(loading) !== '{}' && !loading.showLoading && rowIndex === rowKey), _Label[\"default\"].textLoading, loading && loading.showLoading && rowIndex === rowKey), _Label[\"default\"].textnowrap, !autoTextWrap), _Label[\"default\"].textwrap, autoTextWrap), _Label[\"default\"].textBase, true));\n            return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, shouldshowLoading ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n              className: _Label[\"default\"].loadingType2\n            }, /*#__PURE__*/_react[\"default\"].createElement(_ControlLoading[\"default\"], {\n              className: _Label[\"default\"].movinLoading\n            })) : '', /*#__PURE__*/_react[\"default\"].createElement(_TextEllipsisWrap[\"default\"], null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n              title: title,\n              className: textClass,\n              style: fragmentStyle,\n              dangerouslySetInnerHTML: {\n                __html: html\n              }\n            })));\n          }\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        className = _this$props.className,\n        AlignSelf = _this$props.AlignSelf,\n        Grow = _this$props.Grow,\n        Shrink = _this$props.Shrink,\n        text = _this$props.text,\n        Name = _this$props.Name,\n        clickable = _this$props.clickable,\n        AutoTextWrap = _this$props.AutoTextWrap,\n        slot = _this$props.slot,\n        showFormByTips = _this$props.showFormByTips,\n        userLocal = _this$props.userLocal,\n        clickTipsLink = _this$props.clickTipsLink,\n        dataPageId = _this$props.dataPageId,\n        id = _this$props.id,\n        model = _this$props.model,\n        disabled = _this$props.disabled,\n        dispatch = _this$props.dispatch,\n        LabelStyle = _this$props.LabelStyle,\n        fontColor = _this$props.fontColor,\n        style = _this$props.style,\n        loading = _this$props.loading,\n        rowKey = _this$props.rowKey,\n        field = _this$props.field,\n        onTwiceClick = _this$props.onTwiceClick,\n        other = _objectWithoutProperties(_this$props, _excluded2);\n      if (LabelStyle === '2') {\n        className = (0, _classnames4[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Label[\"default\"].label, true), _Label[\"default\"].borderlabel, true), _Label[\"default\"].clickable, clickable), \"\".concat(_Label[\"default\"].disabled, \" disabled-fc\"), disabled), 'theme-1px-border', !fontColor), 'theme-fc', !fontColor), 'label-hover', !disabled && clickable && !fontColor), className, className), (0, _commonUtils[\"default\"])({\n          Grow: Grow,\n          Shrink: Shrink,\n          AlignSelf: AlignSelf\n        }));\n      } else {\n        className = (0, _classnames4[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Label[\"default\"].label, true), _Label[\"default\"].clickable, clickable), \"\".concat(_Label[\"default\"].disabled, \" disabled-fc\"), disabled), className, className), (0, _commonUtils[\"default\"])({\n          Grow: Grow,\n          Shrink: Shrink,\n          AlignSelf: AlignSelf\n        }));\n      }\n      var html;\n      text = text || Name || '';\n      text = (0, _xssFilters[\"default\"])(text);\n\n      // 换行缩进转义在防止注入之后做\n      html = text && text.replace(/(\\r\\n)|(\\n)|(\\r)/g, '<br />'); // 替换换行转义符\n      html = html && html.replace(/(\\t)/g, '<span style=\"padding-left: 2em\"></span>'); // 替换换行缩进转义符\n      // html = '<!-- \\\" --!><input value=\\\"><img src=xx:x onerror=alert(1)//\\\">\\n\\n<script/onload=alert(1)></script> IE9\\n\\n<style/onload=alert(1)>\\n\\nalert([0x0D]-->[0x0D]1<!--[0x0D])\\n\\n<script>alert(test)</script>'\n      var title = this.props.text || Name || ''; // title无需做xss防注入处理\n      var codeSegment = this.getSegment(loading, html, rowKey, AutoTextWrap, {\n        title: title\n      });\n      var titleProps = (0, _doubleClickToChangePropertyUtil.getTitleProps)(field, _propnames.NAME, Name);\n      var controlProps = (0, _doubleClickToChangePropertyUtil.getControlProps)(field, onTwiceClick);\n      var composedProps = _objectSpread(_objectSpread({}, titleProps), controlProps);\n      var _style = Object.assign({}, style);\n      if (slot && _style.width) {\n        delete _style.width;\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        className: className,\n        disabled: disabled,\n        style: _style\n      }, other, composedProps), codeSegment, slot);\n    }\n  }]);\n  return Label;\n}(_react[\"default\"].Component)) || _class);\nLabel.propTypes = {\n  style: _propTypes[\"default\"].object,\n  className: _propTypes[\"default\"].string,\n  disabled: _propTypes[\"default\"].bool,\n  AlignSelf: _propTypes[\"default\"].string,\n  Grow: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].string, _propTypes[\"default\"].number]),\n  Shrink: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].string, _propTypes[\"default\"].number]),\n  text: _propTypes[\"default\"].string,\n  Name: _propTypes[\"default\"].string,\n  clickable: _propTypes[\"default\"].bool,\n  autoTextWrap: _propTypes[\"default\"].bool\n};\nvar _default = exports[\"default\"] = Label;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Label.js?");

/***/ }),

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

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.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.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[\"default\"] = void 0;\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.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\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _classnames4 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _LargeText = _interopRequireDefault(__webpack_require__(/*! ./LargeText.less */ \"./src/component/web/base/LargeText.less\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _BaseComponents = __webpack_require__(/*! ./BaseComponents */ \"./src/component/web/base/BaseComponents/index.js\");\nvar _componentutil = __webpack_require__(/*! @/util/componentutil */ \"./src/util/componentutil.js\");\nvar _useResizeMeasure = _interopRequireDefault(__webpack_require__(/*! @/use/useResizeMeasure */ \"./src/use/useResizeMeasure.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 _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 _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 * 大文本控件\n * 文件名为‘LargeText’时，webpack编译warning有重名，则改为‘LargeTextCtl’\n */\nvar LargeText = function LargeText(props) {\n  var _props$editingMode = props.editingMode,\n    editingMode = _props$editingMode === void 0 ? 'summary' : _props$editingMode,\n    onChange = props.onChange,\n    onHandleEnter = props.onHandleEnter,\n    onHandleBtnClick = props.onHandleBtnClick,\n    isNoUnderLineLockStyle = props.isNoUnderLineLockStyle,\n    value = props.value,\n    className = props.className,\n    Grow = props.Grow,\n    Shrink = props.Shrink,\n    placeholder = props.placeholder,\n    readOnly = props.readOnly,\n    maxLength = props.maxLength,\n    onBlur = props.onBlur,\n    disabled = props.disabled,\n    inputStyle = props.inputStyle,\n    theme = props.theme,\n    tabIndex = props.tabIndex,\n    isLimitHeight = props.isLimitHeight,\n    lockedEmptyValue = props.lockedEmptyValue,\n    isDesigner = props.isDesigner,\n    btnStyle = props.btnStyle,\n    iconClass = props.iconClass,\n    lock = props.lock,\n    onKeyDown = props.onKeyDown,\n    notStopPropagationInEnter = props.notStopPropagationInEnter,\n    shortcutInfo = props.shortcutInfo,\n    autoSize = props.autoSize,\n    _props$showMaxLength = props.showMaxLength,\n    showMaxLength = _props$showMaxLength === void 0 ? true : _props$showMaxLength;\n  var largeTextRef = (0, _react.useRef)();\n  var textAreaBoxRef = (0, _react.useRef)();\n  var largeTextRect = (0, _useResizeMeasure[\"default\"])({\n    element: largeTextRef.current\n  });\n  var handleOnChange = function handleOnChange(event) {\n    onChange && onChange(event);\n  };\n  var handleOnKeyDown = function handleOnKeyDown(event) {\n    if (event && event.keyCode === 13) {\n      // enter\n      onHandleEnter && onHandleEnter(event.target.value);\n    }\n    onKeyDown && onKeyDown(event);\n  };\n  var handleOnBtnClick = function handleOnBtnClick(e) {\n    onHandleBtnClick && onHandleBtnClick(e, disabled);\n  };\n  var handleBlur = function handleBlur(event) {\n    onBlur && onBlur(event);\n  };\n  var largeTextclassName = (0, _classnames4[\"default\"])(_LargeText[\"default\"].largetext, className, (0, _commonUtils[\"default\"])({\n    Grow: Grow,\n    Shrink: Shrink\n  }));\n  var iconClassName = iconClass === undefined ? 'kdfont kdfont-zidingyi' : iconClass;\n  var toggleClassName = (0, _classnames4[\"default\"])('kd-cq-trigger-icon', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _LargeText[\"default\"]['toggle-' + (theme || 'default')], true), iconClassName, true), 'kd-hover-color', true), _LargeText[\"default\"].disabled, disabled), _LargeText[\"default\"].r6, isDesigner));\n  var isSummary = editingMode === 'summary'; // 是否摘要模式\n  var noValue = lockedEmptyValue || (0, _componentutil.getNOValue)(); // 获取”锁定非空提示“，如获取不到再取noValue\n\n  /** bug处理注释（BT-00148985）\n   * 该useEffect里的代码用于解决设计器设置了高度后导致TextArea里的文本仍然会超出的问题\n   * 正常解决方案是加多了下面带‘lt-text’样式的一层后可以解决，但是TextArea用的是'react-textarea-autosize'\n   * 设置高度0（或者高度为行高）和flex-grow：1 后会出现其自动拉伸高度计算不精准的问题导致其内部在刚好能换行时不换行\n   * 从而其内部多出现了一层滚动条\n   */\n  (0, _react.useEffect)(function () {\n    var containerHeight = largeTextRef.current && largeTextRef.current.offsetHeight;\n    textAreaBoxRef.current.style.height = isLimitHeight ? \"\".concat(containerHeight, \"px\") : '';\n  }, [isLimitHeight, largeTextRect.height]);\n  var getTextareaStyle = function getTextareaStyle() {\n    var containerHeight = largeTextRef.current && largeTextRef.current.offsetHeight;\n    if (isLimitHeight && containerHeight) {\n      return Object.assign({}, inputStyle, {\n        maxHeight: containerHeight,\n        minHeight: containerHeight\n      });\n    }\n    return inputStyle;\n  };\n  var textAreaProps = {};\n  // undefined时应该取底层控件的默认值，如果传该参数将修改底层控件的默认值\n  if (autoSize !== undefined) {\n    textAreaProps.autoSize = autoSize;\n  }\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: largeTextclassName,\n    ref: largeTextRef\n  }, isSummary && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: toggleClassName,\n    style: btnStyle,\n    onClick: handleOnBtnClick\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames4[\"default\"])(_defineProperty(_defineProperty({\n      'theme largetext': true\n    }, _LargeText[\"default\"]['lt-text'], true), _LargeText[\"default\"]['lt-overflowAuto'], isLimitHeight)),\n    ref: textAreaBoxRef\n  }, /*#__PURE__*/_react[\"default\"].createElement(_BaseComponents.TextArea, _extends({\n    value: value || '',\n    noValue: noValue,\n    onChange: handleOnChange,\n    onBlur: handleBlur,\n    onKeyDown: handleOnKeyDown,\n    placeholder: placeholder,\n    disabled: disabled,\n    maxLength: isSummary ? maxLength : '' // 多行文本模式时长度不限制\n    ,\n    readOnly: readOnly,\n    style: getTextareaStyle(),\n    theme: theme,\n    className: (0, _classnames4[\"default\"])(_LargeText[\"default\"]['lt-input'], _defineProperty({}, _LargeText[\"default\"]['lt-pr20'], isSummary)),\n    isNoUnderLineLockStyle: isNoUnderLineLockStyle,\n    tabIndex: tabIndex,\n    isDesigner: isDesigner,\n    lock: lock,\n    showMaxLength: showMaxLength\n  }, textAreaProps, shortcutInfo, {\n    \"data-support-enter-shortcut\": true,\n    notStopPropagationInEnter: notStopPropagationInEnter\n  }))));\n};\nLargeText.propTypes = {\n  value: _propTypes[\"default\"].string,\n  editingMode: _propTypes[\"default\"].string,\n  className: _propTypes[\"default\"].object,\n  Grow: _propTypes[\"default\"].number,\n  Shrink: _propTypes[\"default\"].number,\n  maxLength: _propTypes[\"default\"].number,\n  readOnly: _propTypes[\"default\"].bool,\n  disabled: _propTypes[\"default\"].bool,\n  inputStyle: _propTypes[\"default\"].object,\n  onHandleBtnClick: _propTypes[\"default\"].func,\n  onChange: _propTypes[\"default\"].func,\n  onBlur: _propTypes[\"default\"].func\n};\nvar _default = exports[\"default\"] = LargeText;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/LargeTextCtl.js?");

/***/ }),

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

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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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.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.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.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.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.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.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.date.to-string.js */ \"../../node_modules/core-js/modules/es.date.to-string.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.to-string.js */ \"../../node_modules/core-js/modules/es.regexp.to-string.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 _resizeObserve = _interopRequireDefault(__webpack_require__(/*! @/util/resizeObserve */ \"./src/util/resizeObserve.js\"));\nvar _List = _interopRequireDefault(__webpack_require__(/*! ./List.less */ \"./src/component/web/base/List/List.less\"));\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/component/web/base/List/utils.js\");\nvar _Empty = _interopRequireDefault(__webpack_require__(/*! ../Empty */ \"./src/component/web/base/Empty.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 _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); }\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; } /*\n * @Author: wqhui\n * @Date: 2023-02-22 17:40:02\n * @Description:  基础列表组件\n */\nvar List = /*#__PURE__*/_react[\"default\"].forwardRef(function (_ref, listDomRef) {\n  var _listDomRef;\n  var dataSource = _ref.dataSource,\n    renderItem = _ref.renderItem,\n    className = _ref.className,\n    _ref$itemHeight = _ref.itemHeight,\n    itemHeight = _ref$itemHeight === void 0 ? _utils.DEFAULT_ITEM_HEIGHT : _ref$itemHeight,\n    expectMoreOffset = _ref.expectMoreOffset,\n    next = _ref.next,\n    handleScroll = _ref.handleScroll,\n    _ref$overscanCount = _ref.overscanCount,\n    overscanCount = _ref$overscanCount === void 0 ? _utils.OVERSCAN_ITEM_COUNT : _ref$overscanCount;\n  var _useState = (0, _react.useState)(),\n    _useState2 = _slicedToArray(_useState, 2),\n    viewportHeight = _useState2[0],\n    setViewportHeight = _useState2[1];\n  var _useState3 = (0, _react.useState)(0),\n    _useState4 = _slicedToArray(_useState3, 2),\n    scrollTop = _useState4[0],\n    setScrollTop = _useState4[1];\n  var renderInfo = (0, _react.useRef)(getRenderInfo(-1, -1, -1));\n  listDomRef = (_listDomRef = listDomRef) !== null && _listDomRef !== void 0 ? _listDomRef : (0, _react.useRef)();\n  var isGetMoreLoading = (0, _react.useRef)(false);\n  var lastViewportHeightRef = (0, _react.useRef)();\n  var expectMoreOffsetRef = (0, _react.useRef)();\n  expectMoreOffsetRef.current = expectMoreOffset !== null && expectMoreOffset !== void 0 ? expectMoreOffset : itemHeight * overscanCount;\n  var nextRef = (0, _react.useRef)();\n  nextRef.current = next;\n  var getMore = function getMore() {\n    if (!isGetMoreLoading.current && (0, _utils.isTriggerMore)(listDomRef.current, expectMoreOffsetRef.current)) {\n      var _nextRef$current;\n      isGetMoreLoading.current = true; // 每次只进行一次加载更多\n      (_nextRef$current = nextRef.current) === null || _nextRef$current === void 0 || _nextRef$current.call(nextRef);\n    }\n  };\n\n  // 数据长度改变，可以继续滚动加载更多\n  // 暂无其他属性判断，后续增加滚动加载中效果再修改\n  (0, _react.useEffect)(function () {\n    isGetMoreLoading.current = false;\n  }, [dataSource.length]);\n  (0, _react.useEffect)(function () {\n    var handleListSizeChanged = function handleListSizeChanged(rect) {\n      var height = rect.height;\n      setViewportHeight(height);\n      setScrollTop(listDomRef.current.scrollTop);\n      if (lastViewportHeightRef.current && lastViewportHeightRef.current !== height) {\n        getMore(); // resize部分浏览器首次监听渲染也会触发，实际无需请求，这里判断高度改变再请求\n      }\n      lastViewportHeightRef.current = height;\n    };\n    var resizeObserveHandler = (0, _resizeObserve[\"default\"])(listDomRef.current, handleListSizeChanged);\n    return function () {\n      resizeObserveHandler.removeResizeObserve();\n    };\n  }, []);\n  var handleListScroll = function handleListScroll(e) {\n    if (e.currentTarget === e.target) {\n      var _scrollTop = e.target.scrollTop;\n      setScrollTop(_scrollTop);\n      getMore();\n      handleScroll === null || handleScroll === void 0 || handleScroll();\n    }\n  };\n  var _ref2 = function (dataSource, viewportHeight, scrollTop, renderInfo, _ref3) {\n      var itemHeight = _ref3.itemHeight,\n        overscanCount = _ref3.overscanCount;\n      if (dataSource.length === 0) {\n        return {\n          startIndex: 0,\n          endIndex: 0,\n          topOverscanHeight: 0\n        };\n      }\n\n      // TODO: 滚动距离较小，不更新数据源\n      // const { startIndex, endIndex, offsetY } = renderInfo.current\n      // if (startIndex !== -1 && Math.abs(scrollTop - offsetY) < getOverscanSize(overscanCount, itemHeight)) {\n      //   return dataSource.slice(startIndex, Math.min(dataSource.length, endIndex + 1))\n      // }\n\n      if (viewportHeight) {\n        var _getStart = (0, _utils.getStart)(scrollTop, itemHeight, overscanCount),\n          _startIndex = _getStart.startIndex,\n          _topOverscanHeight = _getStart.topOverscanHeight;\n        var _getEnd = (0, _utils.getEnd)(_startIndex * itemHeight, viewportHeight, itemHeight, overscanCount, dataSource.length),\n          _endIndex = _getEnd.endIndex;\n        // console.log(`scrollTop: ${scrollTop} ; range: [${startIndex},${endIndex}] `)\n        renderInfo.current = getRenderInfo(_startIndex, _endIndex, scrollTop);\n        return {\n          startIndex: _startIndex,\n          endIndex: _endIndex,\n          topOverscanHeight: _topOverscanHeight\n        };\n      }\n      return {\n        startIndex: 0,\n        endIndex: 0,\n        topOverscanHeight: 0\n      };\n    }(dataSource, viewportHeight, scrollTop, renderInfo, {\n      itemHeight: itemHeight,\n      overscanCount: overscanCount\n    }),\n    startIndex = _ref2.startIndex,\n    endIndex = _ref2.endIndex,\n    topOverscanHeight = _ref2.topOverscanHeight;\n  var style = {};\n  if (dataSource.length) {\n    style.height = itemHeight * dataSource.length;\n  }\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_List[\"default\"].list, _defineProperty({}, className, className)),\n    ref: listDomRef,\n    onScroll: handleListScroll\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _List[\"default\"]['list-virtual-holder'],\n    style: style\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n    className: _List[\"default\"]['list-items'],\n    style: {\n      transform: \"translateY(\".concat(scrollTop - topOverscanHeight, \"px)\")\n    }\n  }, dataSource.slice(startIndex, endIndex + 1).map(renderItem !== null && renderItem !== void 0 ? renderItem : renderDefaultItem), !dataSource.length ? /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n    className: _List[\"default\"]['list-empty-item']\n  }, /*#__PURE__*/_react[\"default\"].createElement(_Empty[\"default\"], null)) : null)));\n});\nfunction Item(_ref4) {\n  var className = _ref4.className,\n    children = _ref4.children;\n  return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n    className: (0, _classnames[\"default\"])(_List[\"default\"]['list-item'], 'kd-hover', _defineProperty({}, className, className))\n  }, children);\n}\nfunction renderDefaultItem(item, index) {\n  var displayValue = item && _typeof(item) === 'object' ? Object.prototype.toString.call(item) : item;\n  return /*#__PURE__*/_react[\"default\"].createElement(Item, {\n    key: \"\".concat(displayValue, \"_\").concat(index),\n    className: _List[\"default\"]['list-default-item']\n  }, displayValue, \" \");\n}\nfunction getRenderInfo(startIndex, endIndex, offsetY) {\n  return {\n    startIndex: startIndex,\n    endIndex: endIndex,\n    offsetY: offsetY\n  };\n}\nList.Item = Item;\nvar _default = exports[\"default\"] = List;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/List/index.js?");

/***/ }),

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

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.OVERSCAN_ITEM_COUNT = exports.DEFAULT_ITEM_HEIGHT = void 0;\nexports.getEnd = getEnd;\nexports.getOverscanSize = getOverscanSize;\nexports.getStart = getStart;\nexports.isTriggerMore = isTriggerMore;\n/*\n * @Author: wqhui\n * @Date: 2023-05-25 10:07:02\n * @Description:\n */\nvar OVERSCAN_ITEM_COUNT = exports.OVERSCAN_ITEM_COUNT = 2;\nvar DEFAULT_ITEM_HEIGHT = exports.DEFAULT_ITEM_HEIGHT = 32;\nfunction getStart(offset, itemHeight, overscanCount) {\n  var presetStartIndex = 0;\n  while (offset > presetStartIndex * itemHeight) {\n    presetStartIndex++;\n  }\n  var startIndex = Math.max(0, presetStartIndex - overscanCount);\n  var topOverscanHeight = (presetStartIndex - startIndex) * itemHeight;\n  return {\n    startIndex: startIndex,\n    topOverscanHeight: topOverscanHeight\n  };\n}\nfunction getEnd(offset, viewportHeight, itemHeight, overscanCount, dataSourceLength) {\n  var endIndex = Math.round((offset + viewportHeight) / itemHeight) + overscanCount;\n  return {\n    endIndex: Math.min(dataSourceLength - 1, endIndex)\n  };\n}\nfunction getOverscanSize(overscanCount, itemHeight) {\n  return overscanCount * itemHeight;\n}\nfunction hasVerticalScroll(element) {\n  return element.clientHeight !== element.scrollHeight;\n}\nfunction isTriggerMore(element, expectMoreOffset) {\n  return hasVerticalScroll(element) && element.scrollHeight - element.clientHeight - element.scrollTop < expectMoreOffset;\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/List/utils.js?");

/***/ }),

/***/ "./src/component/web/base/ListCardView.jsx":
/*!*************************************************!*\
  !*** ./src/component/web/base/ListCardView.jsx ***!
  \*************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/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.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.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\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _ListCardView = _interopRequireDefault(__webpack_require__(/*! ./ListCardView.less */ \"./src/component/web/base/ListCardView.less\"));\nvar _excluded = [\"horizonScroll\", \"LayoutStyle\", \"children\", \"style\", \"className\", \"Cols\", \"rendCards\", \"renderTimeLine\", \"isSelected\", \"Direction\", \"Wrap\", \"Overflow\", \"Grow\", \"Shrink\", \"AlignSelf\", \"AlignContent\", \"AlignItems\", \"JustifyContent\", \"disableClick\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 ListCardView = /*#__PURE__*/function (_React$Component) {\n  _inherits(ListCardView, _React$Component);\n  function ListCardView() {\n    _classCallCheck(this, ListCardView);\n    return _callSuper(this, ListCardView, arguments);\n  }\n  _createClass(ListCardView, [{\n    key: \"rendCards\",\n    value: function rendCards() {\n      if (this.props.rendCards) {\n        return this.props.rendCards(this.props);\n      }\n      return this.props.children;\n    }\n\n    // renderTimeLine() {\n    // if(this.props.renderTimeLine){\n    // return this.props.renderTimeLine(this.props);\n    // }\n    // return this.props.children;\n    // }\n  }, {\n    key: \"render\",\n    value: function render() {\n      /**\n       * {LayoutStyle}  设计时运行时属性一致:\n       * LayoutStyle === 1 横向滚动布局 带左右箭头\n       * LayoutStyle === 2 flex布局\n       */\n      var classNames;\n      var _this$props = this.props,\n        horizonScroll = _this$props.horizonScroll,\n        LayoutStyle = _this$props.LayoutStyle,\n        children = _this$props.children,\n        style = _this$props.style,\n        className = _this$props.className,\n        Cols = _this$props.Cols,\n        rendCards = _this$props.rendCards,\n        renderTimeLine = _this$props.renderTimeLine,\n        isSelected = _this$props.isSelected,\n        Direction = _this$props.Direction,\n        Wrap = _this$props.Wrap,\n        Overflow = _this$props.Overflow,\n        Grow = _this$props.Grow,\n        Shrink = _this$props.Shrink,\n        AlignSelf = _this$props.AlignSelf,\n        AlignContent = _this$props.AlignContent,\n        AlignItems = _this$props.AlignItems,\n        JustifyContent = _this$props.JustifyContent,\n        disableClick = _this$props.disableClick,\n        other = _objectWithoutProperties(_this$props, _excluded);\n      var newstyle = Object.assign({}, style);\n      if (LayoutStyle == 1) {\n        newstyle.overflow = 'auto';\n        classNames = (0, _classnames3[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, _ListCardView[\"default\"]['list-card-view'], true), _ListCardView[\"default\"].underline, true), className, className));\n      } else {\n        newstyle.overflow = 'auto';\n        classNames = (0, _classnames3[\"default\"])(_defineProperty(_defineProperty({}, _ListCardView[\"default\"]['list-card-view'], true), className, className), (0, _commonUtils[\"default\"])({\n          Direction: Direction,\n          Wrap: Wrap,\n          /* Overflow, */Grow: Grow,\n          Shrink: Shrink,\n          AlignSelf: AlignSelf,\n          AlignContent: AlignContent,\n          AlignItems: AlignItems,\n          JustifyContent: JustifyContent\n        }));\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({}, other, {\n        className: classNames,\n        style: newstyle\n      }), _react[\"default\"].Children.toArray(this.rendCards()));\n    }\n  }]);\n  return ListCardView;\n}(_react[\"default\"].Component);\nListCardView.propTypes = {\n  style: _propTypes[\"default\"].object,\n  className: _propTypes[\"default\"].string,\n  rendCards: _propTypes[\"default\"].func,\n  renderTimeLine: _propTypes[\"default\"].func\n};\nvar _default = exports[\"default\"] = ListCardView;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/ListCardView.jsx?");

/***/ }),

/***/ "./src/component/web/base/ListFilter/commonSearch/compactCommon/dateSelect/utils.js":
/*!******************************************************************************************!*\
  !*** ./src/component/web/base/ListFilter/commonSearch/compactCommon/dateSelect/utils.js ***!
  \******************************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.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.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\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); }\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.isDateType = exports.getDatePropsStyle = exports.getDateOptions = exports.getDateDisplayValue = exports.getDateComponet = void 0;\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.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.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.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n__webpack_require__(/*! core-js/modules/es.string.split.js */ \"../../node_modules/core-js/modules/es.string.split.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _moment = _interopRequireDefault(__webpack_require__(/*! moment */ \"../../node_modules/moment/moment.js\"));\nvar _index = _interopRequireDefault(__webpack_require__(/*! ./index.less */ \"./src/component/web/base/ListFilter/commonSearch/compactCommon/dateSelect/index.less\"));\nvar _utils = __webpack_require__(/*! ../../../utils */ \"./src/component/web/base/ListFilter/utils.js\");\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _serverproperties = __webpack_require__(/*! @/constant/serverproperties */ \"./src/constant/serverproperties.js\");\nvar _DateRangeField = _interopRequireDefault(__webpack_require__(/*! @/component/web/baseField/DateRangeField */ \"./src/component/web/baseField/DateRangeField.jsx\"));\nvar _formatUtil = __webpack_require__(/*! @/util/formatUtil */ \"./src/util/formatUtil.js\");\nvar _DateField = _interopRequireDefault(__webpack_require__(/*! @/component/web/baseField/DateField */ \"./src/component/web/baseField/DateField.jsx\"));\nvar _DateTimeField = _interopRequireDefault(__webpack_require__(/*! @/component/web/baseField/DateTimeField */ \"./src/component/web/baseField/DateTimeField.jsx\"));\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _componentutil = __webpack_require__(/*! @/util/componentutil */ \"./src/util/componentutil.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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); }\nvar getDateDisplayValue = exports.getDateDisplayValue = function getDateDisplayValue(value, options, showTime) {\n  var _curcompareType = (0, _utils.getCompareTyeFromValue)(value, options);\n  // 必录的过滤条件会传一个空值过来，前端表现就是什么都不渲染\n  if (value.length === 0 || value.length === 1 && value[0] === '') {\n    return /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n      className: _index[\"default\"].value\n    });\n  }\n  if (_curcompareType === _const.ENUM_TYPE) {\n    var option = options.find(function (_ref) {\n      var v = _ref.value;\n      return value[0] === v;\n    });\n    var displayValue = (option === null || option === void 0 ? void 0 : option.label) || '';\n    return /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n      className: _index[\"default\"].value,\n      title: displayValue\n    }, displayValue);\n  }\n  var displayformat, dateType;\n  var valueLocale = (0, _componentutil.getRootLocale)();\n  if (_curcompareType === _const.CUSTOM_TYPE) {\n    displayformat = '';\n    dateType = showTime ? 'datetime' : 'daterange';\n  } else {\n    var _ListFilterDateDisPla, _ListFilterDateDisPla2;\n    // 日期和时间使用国际化和用户设置，其他使用固定格式化显示配置\n    displayformat = (_ListFilterDateDisPla = _const.ListFilterDateDisPlayFormatInfo[_curcompareType]) === null || _ListFilterDateDisPla === void 0 ? void 0 : _ListFilterDateDisPla.displayformat;\n    dateType = (_ListFilterDateDisPla2 = _const.ListFilterDateDisPlayFormatInfo[_curcompareType]) === null || _ListFilterDateDisPla2 === void 0 ? void 0 : _ListFilterDateDisPla2.type;\n  }\n  var startDate = value[0] ? (0, _formatUtil.formatDate)((0, _moment[\"default\"])(value[0]).locale(valueLocale || 'zh_CN'), displayformat, dateType) : '';\n  var endDate = value[1] ? (0, _formatUtil.formatDate)((0, _moment[\"default\"])(value[1]).locale(valueLocale || 'zh_CN'), displayformat, dateType) : '';\n  return /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _index[\"default\"].value\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    title: startDate,\n    className: _index[\"default\"].time\n  }, startDate), endDate && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _index[\"default\"].split\n  }, \"~\"), endDate && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    title: endDate,\n    className: _index[\"default\"].time\n  }, endDate));\n};\nvar getDateOptions = exports.getDateOptions = function getDateOptions(compare, showTime) {\n  var _ListFilterDateInfo$c, _ListFilterDateDisPla3, _ListFilterDateInfo$c2, _ListFilterDateDisPla4;\n  var dateType = (_ListFilterDateInfo$c = _const.ListFilterDateInfo[compare]) === null || _ListFilterDateInfo$c === void 0 ? void 0 : _ListFilterDateInfo$c.type;\n  var options = _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _serverproperties.MASK, (_ListFilterDateDisPla3 = _const.ListFilterDateDisPlayFormatInfo[compare]) === null || _ListFilterDateDisPla3 === void 0 ? void 0 : _ListFilterDateDisPla3.displayformat), _serverproperties.FORMAT, (_ListFilterDateInfo$c2 = _const.ListFilterDateInfo[compare]) === null || _ListFilterDateInfo$c2 === void 0 ? void 0 : _ListFilterDateInfo$c2.format), _serverproperties.DISPLAY_FORMAT, (_ListFilterDateDisPla4 = _const.ListFilterDateDisPlayFormatInfo[compare]) === null || _ListFilterDateDisPla4 === void 0 ? void 0 : _ListFilterDateDisPla4.displayformat), _serverproperties.REGION_TYPE, showTime && (dateType === 'datetimerange' || dateType === 'datetime') ? _const.DATEREGION_LONGTIME : _const.DATEREGION_SHORTTIME);\n  // 部分类型需要使用基础控件内的逻辑，使用国际化的配置和用户配置去展示值, 不配置mask和displayformat\n  return (0, _immutable.fromJS)(options);\n};\nvar getDateComponet = exports.getDateComponet = function getDateComponet(dateType) {\n  switch (dateType) {\n    case 'date':\n    case 'month':\n    case 'year':\n      return _DateField[\"default\"];\n    case 'datetime':\n      return _DateTimeField[\"default\"];\n    case 'daterange':\n    case 'monthrange':\n    case 'yearrange':\n    case 'datetimerange':\n      return _DateRangeField[\"default\"];\n    default:\n      return _DateField[\"default\"];\n  }\n};\nvar isDateType = exports.isDateType = function isDateType(dateType) {\n  var shortDate = ['date', 'month', 'year', 'datetime'];\n  return shortDate.includes(dateType);\n};\nvar getDatePropsStyle = exports.getDatePropsStyle = function getDatePropsStyle(dateType) {\n  var listview = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'tield';\n  var additionClassName = arguments.length > 2 ? arguments[2] : undefined;\n  // additionClassName  存在，说明是旧版列表过滤，需要对平铺字体颜色单独设置\n  // const dateRange = ['daterange', 'monthrange', 'datetimerange', 'yearrange']\n  if (isDateType(dateType)) {\n    return listview === 'compact' ? {\n      style: {\n        overflow: 'hidden',\n        flex: '1',\n        height: '28px',\n        padding: '0px'\n      },\n      inputStyle: {\n        paddingLeft: '8px'\n      }\n    } : {\n      style: _objectSpread({\n        overflow: 'hidden',\n        flex: '1',\n        minWidth: '136px',\n        alignSelf: 'stretch'\n      }, additionClassName && {\n        color: '#666666'\n      })\n    };\n  } else {\n    return listview === 'compact' ? {\n      style: {\n        overflow: 'hidden',\n        flex: '1',\n        height: '28px',\n        alignSelf: 'center'\n      },\n      inputProps: {\n        style: {\n          padding: 0,\n          maxWidth: 154,\n          paddingRight: '16px',\n          textOverflow: 'ellipsis'\n        }\n      }\n    } : {\n      style: {\n        overflow: 'hidden',\n        flex: '1',\n        minWidth: '136px',\n        height: '24px',\n        alignSelf: 'center'\n      },\n      inputProps: {\n        style: _objectSpread({\n          padding: 0,\n          maxWidth: 154,\n          paddingRight: '16px',\n          textOverflow: 'ellipsis'\n        }, additionClassName && {\n          color: '#666666'\n        })\n      }\n    };\n  }\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/ListFilter/commonSearch/compactCommon/dateSelect/utils.js?");

/***/ }),

/***/ "./src/component/web/base/ListFilter/commonSearch/tiledCommon/dateOptions/index.js":
/*!*****************************************************************************************!*\
  !*** ./src/component/web/base/ListFilter/commonSearch/tiledCommon/dateOptions/index.js ***!
  \*****************************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.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.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.DateOptions = void 0;\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.array.join.js */ \"../../node_modules/core-js/modules/es.array.join.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.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\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _langUtil = __webpack_require__(/*! @/util/langUtil */ \"./src/util/langUtil.js\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _option = __webpack_require__(/*! ../option */ \"./src/component/web/base/ListFilter/commonSearch/tiledCommon/option/index.js\");\nvar _DateRangeField = _interopRequireDefault(__webpack_require__(/*! @/component/web/baseField/DateRangeField */ \"./src/component/web/baseField/DateRangeField.jsx\"));\nvar _index = _interopRequireDefault(__webpack_require__(/*! ./index.less */ \"./src/component/web/base/ListFilter/commonSearch/tiledCommon/dateOptions/index.less\"));\nvar _uitls = __webpack_require__(/*! ../uitls */ \"./src/component/web/base/ListFilter/commonSearch/tiledCommon/uitls.js\");\nvar _utils = __webpack_require__(/*! ../../compactCommon/dateSelect/utils */ \"./src/component/web/base/ListFilter/commonSearch/compactCommon/dateSelect/utils.js\");\nvar _utils2 = __webpack_require__(/*! ../../../utils */ \"./src/component/web/base/ListFilter/utils.js\");\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _kdesign = __webpack_require__(/*! @kdcloudjs/kdesign */ \"webpack/sharing/consume/default/@kdcloudjs/kdesign/@kdcloudjs/kdesign\");\nvar _moment = _interopRequireDefault(__webpack_require__(/*! moment */ \"../../node_modules/moment/moment.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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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); }\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 _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); }\nvar DateOptions = exports.DateOptions = /*#__PURE__*/_react[\"default\"].forwardRef(function (props, oldcontainerRef) {\n  if (oldcontainerRef) {\n    return /*#__PURE__*/_react[\"default\"].createElement(OldDateOption, _extends({}, props, {\n      ref: oldcontainerRef\n    }));\n  } else {\n    return /*#__PURE__*/_react[\"default\"].createElement(NewDateOption, props);\n  }\n});\nvar OldDateOption = /*#__PURE__*/_react[\"default\"].forwardRef(function (props, oldcontainerRef) {\n  return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['date-options-wrap']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames3[\"default\"])('kd-cq-querypanel-item-text', _index[\"default\"]['old-options-wrap']),\n    ref: oldcontainerRef\n  }, /*#__PURE__*/_react[\"default\"].createElement(ChildrenOptions, _extends({}, props, {\n    additionClassName: \"secondary-text-in-light\"\n  })))));\n});\nvar NewDateOption = function NewDateOption(props) {\n  var containerRef = (0, _react.useRef)(null);\n  var _useAdapt = (0, _uitls.useAdapt)(containerRef),\n    _useAdapt2 = _slicedToArray(_useAdapt, 1),\n    showExpand = _useAdapt2[0];\n  var _useState = (0, _react.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    expand = _useState2[0],\n    setExpand = _useState2[1];\n  var handleToggle = function handleToggle() {\n    setExpand(!expand);\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames3[\"default\"])(_index[\"default\"]['date-options-wrap'], _defineProperty(_defineProperty({}, _index[\"default\"].fold, !expand), _index[\"default\"].expand, expand))\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames3[\"default\"])('kd-cq-querypanel-item-text', _index[\"default\"]['options-wrap']),\n    ref: containerRef\n  }, /*#__PURE__*/_react[\"default\"].createElement(ChildrenOptions, props))), showExpand ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _index[\"default\"]['common-more'],\n    onClick: handleToggle\n  }, (0, _intlApi.getLangMsg)(expand ? 'listFilter.key0041' : 'listFilter.key0040')) : null);\n};\nvar ChildrenOptions = function ChildrenOptions(_ref) {\n  var _ListFilterDateInfo$c;\n  var lang = _ref.lang,\n    type = _ref.type,\n    value = _ref.value,\n    items = _ref.items,\n    mustInput = _ref.mustInput,\n    today = _ref.today,\n    isMulti = _ref.isMulti,\n    onSelect = _ref.onSelect,\n    onConditionChange = _ref.onConditionChange,\n    additionClassName = _ref.additionClassName;\n  var tempDateValue = (0, _react.useRef)({});\n  var calendarStatus = (0, _react.useRef)(false);\n  var _useReducer = (0, _react.useReducer)(function (x) {\n      return x + 1;\n    }, 0),\n    _useReducer2 = _slicedToArray(_useReducer, 2),\n    forceUpdate = _useReducer2[1];\n  var getDateFieldStyleProps = function getDateFieldStyleProps(dateType) {\n    return _objectSpread(_objectSpread({}, (0, _utils.getDatePropsStyle)(dateType, 'tiled', additionClassName)), {}, {\n      iconStyle: {\n        right: 6\n      },\n      clearIconStyle: {\n        right: 6\n      }\n    });\n  };\n  var enumItems = (0, _react.useMemo)(function () {\n    var _eunmItems = items.filter(function (_item) {\n      return !_const.ListFilterDateInfo[_item.get('compare')];\n    });\n    return _eunmItems;\n  }, [items]);\n  var customItems = (0, _react.useMemo)(function () {\n    var _customItems = items.filter(function (_item) {\n      return _const.ListFilterDateInfo[_item.get('compare')];\n    });\n    return _customItems;\n  }, [items]);\n  var isNoCustomItem = customItems.size === 0;\n  var isOneCustomDate = customItems.size === 1 && ((_ListFilterDateInfo$c = _const.ListFilterDateInfo[customItems.getIn(['0', 'compare'])]) === null || _ListFilterDateInfo$c === void 0 ? void 0 : _ListFilterDateInfo$c.type);\n  var getInitCustomCompare = function getInitCustomCompare() {\n    return customItems.size === 0 ? _const.CUSTOM_TYPE : customItems.getIn(['0', 'compare']);\n  };\n  var _useState3 = (0, _react.useState)(value),\n    _useState4 = _slicedToArray(_useState3, 2),\n    seletedValue = _useState4[0],\n    setSeletedValue = _useState4[1];\n  var _useState5 = (0, _react.useState)(getInitCustomCompare()),\n    _useState6 = _slicedToArray(_useState5, 2),\n    selectedCusCompare = _useState6[0],\n    setSelectedCusCompare = _useState6[1];\n  var showTime = type === 'datetime';\n  var customDateLabel = (0, _react.useMemo)(function () {\n    var _curItem = customItems.find(function (item) {\n      return item.get('compare') === selectedCusCompare;\n    });\n    return (0, _langUtil.getValueByPath)(_curItem, ['caption'], lang);\n  }, [selectedCusCompare]);\n  (0, _react.useEffect)(function () {\n    var _curCompare = _getCompareFromValue(value);\n    var _curItem = customItems.find(function (item) {\n      return item.get('compare') === _curCompare;\n    });\n    if (_curItem) {\n      var _ListFilterDateInfo$_;\n      setSeletedValue(value);\n      tempDateValue.current[_curCompare] = value;\n      if ((_ListFilterDateInfo$_ = _const.ListFilterDateInfo[_curItem.get('compare')]) !== null && _ListFilterDateInfo$_ !== void 0 && _ListFilterDateInfo$_.type) {\n        setSelectedCusCompare(_curItem.get('compare'));\n      }\n    } else if (_curCompare === _const.ENUM_TYPE) {\n      setSeletedValue(['']);\n      clearDateCache();\n    }\n  }, [value]);\n  var _getCompareFromValue = function _getCompareFromValue(value) {\n    // 枚举类型的 value 和compare 一致，可以直接使用 value 判断类型\n    return (0, _utils2.getCompareTyeFromValue)(value, items);\n  };\n  var formatValueAfterSelect = function formatValueAfterSelect(value, compare) {\n    var format = compare === _const.CUSTOM_TYPE ? showTime ? 'YYYY-MM-DD HH:mm:ss' : 'YYYY-MM-DD' : _const.ListFilterDateInfo[compare].format;\n    return value.split(',').map(function (_date) {\n      return (0, _moment[\"default\"])(_date).format(format);\n    });\n  };\n  var handleshowCalendarCallBack = function handleshowCalendarCallBack(showCalendar, newvalue) {\n    if (calendarStatus.current && !showCalendar) {\n      if (!newvalue) {\n        forceUpdate();\n        return;\n      }\n      if (newvalue !== value.join(',')) {\n        onConditionChange(newvalue.split(','));\n        clearDateCache();\n      }\n    }\n    calendarStatus.current = showCalendar;\n  };\n  var handleCustomDateChange = function handleCustomDateChange(dateRange, compare) {\n    if (!dateRange && mustInput) {\n      forceUpdate();\n      return;\n    }\n    if (!dateRange) {\n      setSeletedValue(['']);\n      // 触发查询\n      onConditionChange(['']);\n      clearDateCache();\n      return;\n    }\n    var newValue = compare === _const.CUSTOM_TYPE ? dateRange.split(',') : formatValueAfterSelect(dateRange, compare);\n    var formatValue = formatValueAfterSelect(dateRange, compare);\n    // 值相同的时候，不触发额外的查询,但是要重新刷值，防止非法值\n    if ((newValue === null || newValue === void 0 ? void 0 : newValue.join('')) === (value === null || value === void 0 ? void 0 : value.join(''))) {\n      setSeletedValue(formatValue);\n      return;\n    }\n    // onchange 更改状态，panelclosecallback 触发查询\n    setSeletedValue(formatValue);\n    tempDateValue.current[compare] = formatValue;\n  };\n  var handleSelect = function handleSelect(optionValue, compare) {\n    return function (selected) {\n      setSeletedValue(['']);\n      onSelect(optionValue, selected);\n      clearDateCache();\n    };\n  };\n  var handleSelectDateType = function handleSelectDateType(compare) {\n    setSelectedCusCompare(compare);\n    // 切换自定义日期类型的时候初始化值\n    setSeletedValue(tempDateValue.current[compare] ? tempDateValue.current[compare] : ['']);\n  };\n  var clearDateCache = function clearDateCache() {\n    tempDateValue.current = {};\n  };\n  var getValidDateValue = function getValidDateValue(value) {\n    return value.length === 2 ? value === null || value === void 0 ? void 0 : value.join(',') : '';\n  };\n  var getCustomDate = function getCustomDate(compare) {\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: (0, _classnames3[\"default\"])(additionClassName, _index[\"default\"]['custom-wrap'])\n    }, /*#__PURE__*/_react[\"default\"].createElement(_DateRangeField[\"default\"], _extends({\n      className: (0, _classnames3[\"default\"])(_index[\"default\"]['date-com'], 'hover-theme-bdcolor hover-theme-fc'),\n      value: getValidDateValue(seletedValue),\n      type: \"daterange\",\n      minDate: \"\",\n      maxDate: \"\",\n      onChange: function onChange(datarange) {\n        return handleCustomDateChange(datarange, compare);\n      },\n      showCalendarCallBack: handleshowCalendarCallBack,\n      today: today,\n      linkage: false,\n      localeCode: lang === null || lang === void 0 ? void 0 : lang.current,\n      isAttachToBody: false,\n      showTime: showTime,\n      mustInput: mustInput,\n      showClear: !mustInput,\n      showNow: true,\n      startOption: {\n        disabledSuperNext: false,\n        disabledNext: false\n      },\n      endOption: {\n        disabledSuperPrev: false,\n        disabledPrev: false\n      }\n    }, getDateFieldStyleProps('daterange'))));\n  };\n  var getDateComByCompare = function getDateComByCompare(compare) {\n    if (compare === _const.CUSTOM_TYPE) {\n      return getCustomDate(compare);\n    } else {\n      var _ListFilterDateInfo$c2;\n      var dateType = (_ListFilterDateInfo$c2 = _const.ListFilterDateInfo[compare]) === null || _ListFilterDateInfo$c2 === void 0 ? void 0 : _ListFilterDateInfo$c2.type;\n      var DateComponent = (0, _utils.getDateComponet)(dateType);\n      var dateOptioins = (0, _utils.getDateOptions)(compare, showTime);\n      return /*#__PURE__*/_react[\"default\"].createElement(DateComponent, _extends({\n        className: (0, _classnames3[\"default\"])(_index[\"default\"]['date-com'], 'hover-theme-bdcolor hover-theme-fc'),\n        value: (0, _utils2.getInnerValueFromType)(seletedValue, dateType),\n        option: dateOptioins,\n        type: dateType,\n        minDate: \"\",\n        maxDate: \"\",\n        onChange: function onChange(datarange) {\n          return handleCustomDateChange(datarange, compare);\n        },\n        showCalendarCallBack: handleshowCalendarCallBack,\n        today: today,\n        linkage: false,\n        mustInput: mustInput,\n        showClear: !mustInput,\n        localeCode: lang === null || lang === void 0 ? void 0 : lang.current,\n        isAttachToBody: false,\n        showTime: dateType === 'datetimerange' || dateType === 'datetime',\n        showNow: true,\n        startOption: {\n          disabledSuperNext: false,\n          disabledNext: false\n        },\n        endOption: {\n          disabledSuperPrev: false,\n          disabledPrev: false\n        }\n      }, getDateFieldStyleProps(dateType)));\n    }\n  };\n  var menuOptions = (0, _react.useMemo)(function () {\n    var optionItems = customItems.map(function (option, index) {\n      var label = (0, _langUtil.getValueByPath)(option, ['caption'], lang);\n      var compare = option.get('compare');\n      return /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Dropdown.Item, {\n        className: (0, _classnames3[\"default\"])('kd-cq-dropdown-menu-item', _index[\"default\"].item, _defineProperty({}, \"\".concat(_index[\"default\"].selected, \" kd-cq-dropdown-menu-item-active\"), selectedCusCompare === compare)),\n        key: index,\n        onClick: function onClick() {\n          return handleSelectDateType(compare);\n        }\n      }, label);\n    });\n    return optionItems;\n  }, [customItems, selectedCusCompare]);\n  var menu = /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Dropdown.Menu, {\n    className: (0, _classnames3[\"default\"])('kd-cq-dropdown kd-cq-dropdown-select-type', _index[\"default\"].menu)\n  }, menuOptions);\n  return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, enumItems.map(function (item) {\n    var label = (0, _langUtil.getValueByPath)(item, ['caption'], lang);\n    var optionValue = item.get('value');\n    var _curCompre = item.get('compare');\n    // 是否选中，时间特殊处理（主要用来判断不限和只选部分自定义日期）\n    var selected = value[0] === optionValue;\n    return /*#__PURE__*/_react[\"default\"].createElement(_option.Option, {\n      key: optionValue,\n      label: label,\n      isMulti: isMulti,\n      selected: selected,\n      additionClassName: additionClassName,\n      noTextStyle: !!additionClassName,\n      onChange: handleSelect(optionValue, _curCompre)\n    });\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames3[\"default\"])(additionClassName, _index[\"default\"]['custom-wrap'])\n  }, !(isNoCustomItem || isOneCustomDate) ? /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Dropdown, {\n    menu: menu,\n    trigger: \"click\",\n    popperClassName: _index[\"default\"]['custom-dropdown']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames3[\"default\"])(_index[\"default\"]['date-option-select'], 'hover-theme-bdcolor')\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _index[\"default\"]['current-date']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _index[\"default\"].value\n  }, customDateLabel)), /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Icon, {\n    type: \"arrow-down\",\n    className: (0, _classnames3[\"default\"])(_index[\"default\"].arrow)\n  }))) : /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['custom-label']\n  }, isNoCustomItem ? (0, _intlApi.getLangMsg)('listFilter.key0034') : (0, _langUtil.getValueByPath)(customItems.get('0'), ['caption'], lang)), getDateComByCompare(selectedCusCompare)));\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/ListFilter/commonSearch/tiledCommon/dateOptions/index.js?");

/***/ }),

/***/ "./src/component/web/base/ListFilter/commonSearch/tiledCommon/option/index.js":
/*!************************************************************************************!*\
  !*** ./src/component/web/base/ListFilter/commonSearch/tiledCommon/option/index.js ***!
  \************************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.Option = void 0;\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 _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _kdesign = __webpack_require__(/*! @kdcloudjs/kdesign */ \"webpack/sharing/consume/default/@kdcloudjs/kdesign/@kdcloudjs/kdesign\");\nvar _index = _interopRequireDefault(__webpack_require__(/*! ./index.less */ \"./src/component/web/base/ListFilter/commonSearch/tiledCommon/option/index.less\"));\nvar _defaultPropsUtil = __webpack_require__(/*! @/util/defaultPropsUtil */ \"./src/util/defaultPropsUtil.js\");\nvar _customProperties = _interopRequireDefault(__webpack_require__(/*! @/constant/customProperties */ \"./src/constant/customProperties.js\"));\nvar _customCtrlName = _interopRequireDefault(__webpack_require__(/*! @/constant/customCtrlName */ \"./src/constant/customCtrlName.js\"));\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); }\nvar Option = exports.Option = function Option(_ref) {\n  var label = _ref.label,\n    selected = _ref.selected,\n    onChange = _ref.onChange,\n    isMulti = _ref.isMulti,\n    additionClassName = _ref.additionClassName,\n    noTextStyle = _ref.noTextStyle;\n  var handleChange = function handleChange() {\n    if (!isMulti && selected) return; // 单选不允许取消\n    onChange(!selected);\n  };\n  var isTextStyle = (0, _defaultPropsUtil.getUIDefaultProps)(_customCtrlName[\"default\"].QUERYPANEL, _customProperties[\"default\"].MULTISTYLE) === 'text';\n  var optionStyle = isTextStyle && !noTextStyle ? _index[\"default\"]['single-text-option'] : _index[\"default\"]['single-option'];\n  if (isMulti) {\n    return isTextStyle ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _index[\"default\"]['multi-option-text'],\n      onClick: handleChange\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n      className: (0, _classnames3[\"default\"])(_index[\"default\"]['option-label'], _defineProperty({}, _index[\"default\"].selected, selected)),\n      title: label\n    }, label)) : /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _index[\"default\"]['multi-option'],\n      onClick: handleChange\n    }, /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Checkbox, {\n      checked: selected\n    }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n      className: _index[\"default\"]['option-label'],\n      title: label\n    }, label));\n  } else {\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: (0, _classnames3[\"default\"])(additionClassName, optionStyle, _defineProperty({}, _index[\"default\"].selected, selected)),\n      onClick: handleChange,\n      title: label\n    }, label);\n  }\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/ListFilter/commonSearch/tiledCommon/option/index.js?");

/***/ }),

/***/ "./src/component/web/base/ListFilter/commonSearch/tiledCommon/uitls.js":
/*!*****************************************************************************!*\
  !*** ./src/component/web/base/ListFilter/commonSearch/tiledCommon/uitls.js ***!
  \*****************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.array.from.js */ \"../../node_modules/core-js/modules/es.array.from.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-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.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.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/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.useAdaptWidth = exports.useAdapt = exports.getOtherOptions = 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.array.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\n__webpack_require__(/*! core-js/modules/es.array.reduce.js */ \"../../node_modules/core-js/modules/es.array.reduce.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.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 = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\");\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _langUtil = __webpack_require__(/*! @/util/langUtil */ \"./src/util/langUtil.js\");\nvar _resizeObserverPolyfill = _interopRequireDefault(__webpack_require__(/*! resize-observer-polyfill */ \"../../node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it[\"return\"] != null) it[\"return\"](); } finally { if (didErr) throw err; } } }; }\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; }\n// 超过两行才显示更多\nvar contentMaxSafeHeigt = 90;\n// 计算高度是否需要显示展开\nvar useAdapt = exports.useAdapt = function useAdapt(containerRef) {\n  var _useState = (0, _react.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    showExpand = _useState2[0],\n    setShowExpand = _useState2[1]; // 字段宽度\n  var containerResizeCb = function containerResizeCb(entries) {\n    var containterHeight = entries[0].contentRect.height;\n    setShowExpand(containterHeight > contentMaxSafeHeigt);\n  };\n  (0, _react.useEffect)(function () {\n    var resizeObserve = new _resizeObserverPolyfill[\"default\"](containerResizeCb);\n    resizeObserve.observe(containerRef.current);\n    return function () {\n      resizeObserve.disconnect();\n    };\n  }, []);\n  return [showExpand];\n};\nvar getOtherOptions = exports.getOtherOptions = function getOtherOptions(value, items, lang) {\n  var otherSelectedOptions = [];\n  var displayItems = items.slice(0, 20);\n  var displayItemsMap = displayItems.reduce(function (displayItemsMap, item) {\n    var value = item.get('value');\n    return displayItemsMap.set(value, item);\n  }, (0, _immutable.Map)());\n  var itemsMap = items.reduce(function (itemsMap, item) {\n    var value = item.get('value');\n    return itemsMap.set(value, item);\n  }, (0, _immutable.Map)());\n  value.forEach(function (v) {\n    var option = displayItemsMap.get(v);\n    if (!option) {\n      option = itemsMap.get(v);\n      if (option) {\n        var _value = option.get('value');\n        var label = (0, _langUtil.getValueByPath)(option, ['caption'], lang);\n        otherSelectedOptions.push({\n          value: _value,\n          label: label\n        });\n      }\n    }\n  });\n  return otherSelectedOptions;\n};\nvar useAdaptWidth = exports.useAdaptWidth = function useAdaptWidth(containerRef, showMultiGrids, commonOptions) {\n  var _useState3 = (0, _react.useState)(176),\n    _useState4 = _slicedToArray(_useState3, 2),\n    adaptWidth = _useState4[0],\n    setAdaptWidth = _useState4[1];\n  var labelWidth = (0, _react.useRef)([]);\n  var childResizeCb = function childResizeCb(entries) {\n    var _iterator = _createForOfIteratorHelper(entries),\n      _step;\n    try {\n      for (_iterator.s(); !(_step = _iterator.n()).done;) {\n        var entry = _step.value;\n        var index = entry.target.dataset.index;\n        labelWidth.current[index] = entry.target.offsetWidth + (index === '0' ? 45 : 0); // 查询范围加上图标和边距\n      }\n    } catch (err) {\n      _iterator.e(err);\n    } finally {\n      _iterator.f();\n    }\n    var maxWidth = getMaxWidth(labelWidth.current, 76);\n    setAdaptWidth(maxWidth > 176 ? 176 : maxWidth);\n  };\n  (0, _react.useEffect)(function () {\n    var resizeObserver = new _resizeObserverPolyfill[\"default\"](childResizeCb);\n    var labels = containerRef.current.getElementsByClassName('label');\n    labels.forEach(function (label) {\n      resizeObserver.observe(label);\n    });\n    return function () {\n      resizeObserver.disconnect();\n    };\n  }, [showMultiGrids, commonOptions.count()]);\n  return adaptWidth;\n};\nvar getMaxWidth = function getMaxWidth(widthArr, minWidth) {\n  return widthArr.reduce(function (maxWidth, width) {\n    return maxWidth > width ? maxWidth : width;\n  }, minWidth);\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/ListFilter/commonSearch/tiledCommon/uitls.js?");

/***/ }),

/***/ "./src/component/web/base/ListFilter/commonSearch/tiledCommon/userOptions.js":
/*!***********************************************************************************!*\
  !*** ./src/component/web/base/ListFilter/commonSearch/tiledCommon/userOptions.js ***!
  \***********************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.UserOptions = void 0;\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.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.array.some.js */ \"../../node_modules/core-js/modules/es.array.some.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.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 _langUtil = __webpack_require__(/*! @/util/langUtil */ \"./src/util/langUtil.js\");\nvar _kdesign = __webpack_require__(/*! @kdcloudjs/kdesign */ \"webpack/sharing/consume/default/@kdcloudjs/kdesign/@kdcloudjs/kdesign\");\nvar _option = __webpack_require__(/*! ./option */ \"./src/component/web/base/ListFilter/commonSearch/tiledCommon/option/index.js\");\nvar _FoldContainer = __webpack_require__(/*! ../../../FoldContainer */ \"./src/component/web/base/FoldContainer/index.js\");\nvar _index = _interopRequireDefault(__webpack_require__(/*! ./index.less */ \"./src/component/web/base/ListFilter/commonSearch/tiledCommon/index.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; }\nvar UserOptions = exports.UserOptions = function UserOptions(_ref) {\n  var _f7Items$map;\n  var lang = _ref.lang,\n    value = _ref.value,\n    items = _ref.items,\n    isMulti = _ref.isMulti,\n    onSelect = _ref.onSelect,\n    onCommonF7Click = _ref.onCommonF7Click,\n    mustInput = _ref.mustInput,\n    isInnerUser = _ref.isInnerUser,\n    _ref$additionClassNam = _ref.additionClassName,\n    additionClassName = _ref$additionClassNam === void 0 ? '' : _ref$additionClassNam,\n    fieldName = _ref.fieldName,\n    updateNoCompareUsers = _ref.updateNoCompareUsers;\n  var f7Items = (0, _react.useMemo)(function () {\n    var getF7Items = function getF7Items() {\n      return items.filter(function (item) {\n        return !(item !== null && item !== void 0 && item.has('compare'));\n      });\n    };\n    return getF7Items();\n  }, [value]);\n  var enumItems = (0, _react.useMemo)(function () {\n    var getEnumItems = function getEnumItems() {\n      return items.filter(function (item) {\n        // 通过判断是否有compare属性来判断是否属于枚举值\n        return item === null || item === void 0 ? void 0 : item.has('compare');\n      });\n    };\n    return getEnumItems();\n  }, [value]);\n  var containerRef = (0, _react.useRef)(null);\n  var handleClickMore = function handleClickMore() {\n    var selected = f7Items.map(function (item) {\n      return item === null || item === void 0 ? void 0 : item.get('value');\n    });\n    onCommonF7Click(selected === null || selected === void 0 ? void 0 : selected.toJS());\n  };\n  var handleSelect = function handleSelect(optionValue) {\n    return function (selected) {\n      updateNoCompareUsers(fieldName, false);\n      onSelect(optionValue, selected);\n    };\n  };\n  var handleDelete = function handleDelete(value) {\n    return function () {\n      onSelect(value, false);\n    };\n  };\n  var getDropDownCom = function getDropDownCom(count) {\n    return /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Dropdown.Menu, null, f7Items === null || f7Items === void 0 ? void 0 : f7Items.slice(f7Items.size - count).map(function (item) {\n      var label = (0, _langUtil.getValueByPath)(item, ['caption'], lang);\n      var value = item.get('value');\n      return /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Dropdown.Item, {\n        key: value,\n        className: _index[\"default\"]['dropdown-item']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _index[\"default\"].condition\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, label)), isMulti && !(mustInput && (f7Items === null || f7Items === void 0 ? void 0 : f7Items.size) === 1) && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])(_index[\"default\"].icon),\n        onClick: handleDelete(value)\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: (0, _classnames[\"default\"])('kd-cq-querypanel-item-icon', _index[\"default\"]['c-icon-close'], 'kdfont kdfont-shanchu-s')\n      })));\n    }));\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_index[\"default\"]['user-options-wrap'])\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])('kd-cq-querypanel-item-text', _index[\"default\"]['user-options-wrap']),\n    ref: containerRef\n  }, enumItems.map(function (item, index) {\n    var label = (0, _langUtil.getValueByPath)(item, ['caption'], lang);\n    var optionValue = item.get('value');\n    // 兼容 value 为 103 104 的场景\n    var selected = (value === null || value === void 0 ? void 0 : value.includes(optionValue)) && !f7Items.some(function (item) {\n      return item.get('value') === optionValue;\n    });\n    return /*#__PURE__*/_react[\"default\"].createElement(_option.Option, {\n      key: optionValue,\n      label: label,\n      isMulti: false,\n      selected: selected,\n      onChange: handleSelect(optionValue),\n      additionClassName: additionClassName,\n      noTextStyle: !!additionClassName\n    });\n  }), isInnerUser ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['user-selectoption']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(additionClassName, _index[\"default\"]['user-label']),\n    title: (0, _intlApi.getLangMsg)('listFilter.key0044')\n  }, (0, _intlApi.getLangMsg)('listFilter.key0044')), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(additionClassName, _index[\"default\"]['base-data-container'])\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _index[\"default\"]['options-container']\n  }, /*#__PURE__*/_react[\"default\"].createElement(_FoldContainer.FoldContainer, {\n    className: _index[\"default\"]['fold-container'],\n    getDropDownCom: getDropDownCom\n  }, f7Items === null || f7Items === void 0 || (_f7Items$map = f7Items.map(function (item, index) {\n    var label = (0, _langUtil.getValueByPath)(item, ['caption'], lang);\n    var value = item.get('value');\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      key: index,\n      className: (0, _classnames[\"default\"])(additionClassName, _index[\"default\"]['other-option'])\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n      className: _index[\"default\"]['option-label']\n    }, label), isMulti && !(mustInput && (f7Items === null || f7Items === void 0 ? void 0 : f7Items.size) === 1) ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n      className: (0, _classnames[\"default\"])('kd-cq-querypanel-item-icon', _index[\"default\"].icon, 'kdfont kdfont-shanchu-s'),\n      onClick: handleDelete(value)\n    }) : null);\n  })) === null || _f7Items$map === void 0 ? void 0 : _f7Items$map.toJS()), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    onClick: handleClickMore,\n    className: (0, _classnames[\"default\"])('kd-cq-querypanel-item-icon', _index[\"default\"]['base-data-icon'], 'kdfont kdfont-wode3')\n  })))) : null)));\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/ListFilter/commonSearch/tiledCommon/userOptions.js?");

/***/ }),

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

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.TODAY = exports.TITLE_ID = exports.TIME_ZONE = exports.TABLE_SORT_COLUMNS_KEY = exports.TABLE_COLUMNS_KEY = exports.SHARED_SCHEME = exports.SCHME_STATUS = exports.RECEIVED_SCHEME = exports.NOT_NULL = exports.NLP_SEARCH_KEY = exports.MUST_INPUT = exports.FIELD_COMPARE = exports.FAST_ALL_ID = exports.DEFAULT_VALUES = exports.DEFAULT_DIGIT_LENGTH = exports.DEFAULT_COMPARETYPE = exports.COMPARE_ONLY_SELECT = exports.COMPARE_NUMBER = exports.COMPARE_NEED_SEARCH = exports.COMPARE_NEED_INPUT = exports.COMPARE_MULTI = exports.COMPARE_BETWEEN = exports.COMPARE = exports.COMMON_ID = exports.CLIENT_TYPE = exports.BU_XIAN_ID = exports.ACTIVE_KEY = void 0;\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.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\nvar ACTIVE_KEY = exports.ACTIVE_KEY = {\n  common: '0',\n  scheme: '1'\n};\nvar COMMON_ID = exports.COMMON_ID = 'COMMON';\nvar TITLE_ID = exports.TITLE_ID = 'TITLE';\nvar BU_XIAN_ID = exports.BU_XIAN_ID = ''; // '不限'选项的id\n\nvar MUST_INPUT = exports.MUST_INPUT = 'mustInput'; // 是否必录\n\nvar NLP_SEARCH_KEY = exports.NLP_SEARCH_KEY = Symbol('nlpSearchKey'); // 智能搜索条件标识\nvar COMPARE = exports.COMPARE = 'compare'; // 常用查询的比较符，不做任何处理，用于回传server端\n\nvar SCHME_STATUS = exports.SCHME_STATUS = {\n  // 方案状态：点击查询/新增（正常方案条件没有状态）\n  search: 'search',\n  add: 'add'\n};\nvar FAST_ALL_ID = exports.FAST_ALL_ID = 'quanbu_id_6ab82085_7ef3_4a6d_9ad9_b02e54bfb06f';\nvar TODAY = exports.TODAY = 'today';\nvar DEFAULT_VALUES = exports.DEFAULT_VALUES = 'defaultValues'; // 过滤条件默认值标示\nvar DEFAULT_COMPARETYPE = exports.DEFAULT_COMPARETYPE = 'defaultCompareType'; // 方案查询：高级过滤条件的默认比较符\n\nvar COMPARE_NEED_INPUT = exports.COMPARE_NEED_INPUT = 'needInput'; // 比较符是否需要输入\nvar COMPARE_ONLY_SELECT = exports.COMPARE_ONLY_SELECT = 'onlySelect'; // 基础资料只允许选择，不允许输入\nvar COMPARE_NEED_SEARCH = exports.COMPARE_NEED_SEARCH = 'needSearch';\nvar COMPARE_MULTI = exports.COMPARE_MULTI = 'multi';\nvar COMPARE_NUMBER = exports.COMPARE_NUMBER = 'number';\nvar COMPARE_BETWEEN = exports.COMPARE_BETWEEN = 'between';\nvar TIME_ZONE = exports.TIME_ZONE = 'timeZone';\nvar FIELD_COMPARE = exports.FIELD_COMPARE = 'fieldCompare'; // 是否支持字段比较\nvar NOT_NULL = exports.NOT_NULL = 'NOTISNULL'; // 不为空(比较符)\n\nvar DEFAULT_DIGIT_LENGTH = exports.DEFAULT_DIGIT_LENGTH = 20;\n// 已经分享出去的方案\nvar SHARED_SCHEME = exports.SHARED_SCHEME = 1;\n// 别人分享的方案\nvar RECEIVED_SCHEME = exports.RECEIVED_SCHEME = 2;\nvar TABLE_COLUMNS_KEY = exports.TABLE_COLUMNS_KEY = '_scheme_tablecolumnsconfig_';\nvar TABLE_SORT_COLUMNS_KEY = exports.TABLE_SORT_COLUMNS_KEY = '_scheme_table_sort_columnsconfig_';\n\n// F7 交互类型 0 advance默认条件 1 add 新增条件 2 secondFilter 二次过滤条件\nvar CLIENT_TYPE = exports.CLIENT_TYPE = {\n  advance: 0,\n  add: 1,\n  secondfilter: 2\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/ListFilter/constants.js?");

/***/ }),

/***/ "./src/component/web/base/ListFilter/schemeSearch/schemeEditor/utils.js":
/*!******************************************************************************!*\
  !*** ./src/component/web/base/ListFilter/schemeSearch/schemeEditor/utils.js ***!
  \******************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.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-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.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.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/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.isSameSource = exports.getTreeOpitions = exports.getTips = exports.getSelectedSchemeByDependent = exports.getNewCondition = exports.getFilterValues = exports.getFieldOpitions = exports.getDefaltCondition = exports.getCompareOptions = exports.findAllKeys = exports.convertValuetoOption = 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.every.js */ \"../../node_modules/core-js/modules/es.array.every.js\");\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.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.join.js */ \"../../node_modules/core-js/modules/es.array.join.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.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.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 _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _langUtil = __webpack_require__(/*! @/util/langUtil */ \"./src/util/langUtil.js\");\nvar _constants = __webpack_require__(/*! ../../constants */ \"./src/component/web/base/ListFilter/constants.js\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _appModelFunction = __webpack_require__(/*! @/model/appModelFunction */ \"./src/model/appModelFunction.js\");\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; }\n// 后端约定在compareGroupId中含有9表示字段可比较\nvar PARAM_COMPAREABLE = '9';\nvar getFieldOpitions = exports.getFieldOpitions = function getFieldOpitions(options, grids, lang) {\n  var filedOptins = [];\n  options.forEach(function (option) {\n    var grid = option.get('entryEntity');\n    if (!grid || grids.includes(grid)) {\n      filedOptins.push({\n        alias: (0, _langUtil.getValueByPath)(option, ['fieldCaption'], lang),\n        value: option.get('fieldName')\n      });\n    }\n  });\n  return filedOptins;\n};\nvar getCompareOptions = exports.getCompareOptions = function getCompareOptions(compareTypes, lang) {\n  var compareOptions = [];\n  compareTypes.forEach(function (compare) {\n    compareOptions.push({\n      alias: (0, _langUtil.getValueByPath)(compare, ['name'], lang),\n      value: compare.get('id')\n    });\n  });\n  return compareOptions;\n};\n\n// 新增时获取默认条件\nvar getNewCondition = exports.getNewCondition = function getNewCondition(conditionOptions, fieldOpitions) {\n  var _fieldOpitions$;\n  var defaultField = (_fieldOpitions$ = fieldOpitions[0]) === null || _fieldOpitions$ === void 0 ? void 0 : _fieldOpitions$.value;\n  if (defaultField) {\n    var conditionOption = conditionOptions.find(function (conditionOption) {\n      return conditionOption.get('fieldName') === defaultField;\n    });\n    return getDefaltCondition(conditionOption);\n  }\n};\n\n// 通过条件选项获取条件默认值\nvar getDefaltCondition = exports.getDefaltCondition = function getDefaltCondition(conditionOption) {\n  var k = conditionOption.get('fieldName');\n  var items = conditionOption.get('items');\n  var id = conditionOption.get('id');\n  var compareTypes = conditionOption.get('compareTypes');\n  var defaultValues = conditionOption.get(_constants.DEFAULT_VALUES);\n  var defaultCompareType = conditionOption.get(_constants.DEFAULT_COMPARETYPE); // 方案查询的比较符只有一个\n\n  var v = ''; // 默认value\n  if (defaultValues) {\n    if (defaultValues instanceof _immutable.List) {\n      var type = conditionOption.get('type');\n      var basedataList = ['basedata', 'mulbasedata', 'org', 'user']; // 基础资料类型列表\n      if (basedataList.indexOf(type) > -1) {\n        v = defaultValues; // 是基础资料类型的，默认值server端传输格式：[xx,xx,xx]，保留。\n      } else if (defaultValues.count() === 0) {\n        v = '';\n      } else if (defaultValues.count() === 1) {\n        v = defaultValues.get(0);\n      } else {\n        v = defaultValues;\n      }\n    } else {\n      v = defaultValues;\n    }\n  } else if (items && items.count() > 0) {\n    v = items.first().get('value'); // value选项，默认取第一个\n  }\n  var c = ''; // 默认比较符\n  if (defaultCompareType) {\n    c = defaultCompareType;\n  } else if (compareTypes && compareTypes.count() > 0) {\n    c = compareTypes.first().get('id'); // 比较符，默认取第一个\n  }\n  return (0, _immutable.Map)({\n    k: k,\n    c: c,\n    v: v,\n    id: id,\n    logic: 0,\n    leftBracket: '',\n    rightBracket: ''\n  });\n};\nvar getTreeOpitions = exports.getTreeOpitions = function getTreeOpitions(entryEntities, lang) {\n  var treeOptions = [];\n  entryEntities.forEach(function (entryEntity) {\n    treeOptions.push({\n      key: entryEntity.get('key'),\n      parentKey: entryEntity.get('parentKey'),\n      label: (0, _langUtil.getValueByPath)(entryEntity, ['name'], lang)\n    });\n  });\n  return treeOptions;\n};\n\n// 判断当前选择项是在单头字段还是某单据体内字段，并获取所有层级的 key\nvar findAllKeys = exports.findAllKeys = function findAllKeys(entryenties, conditionOption) {\n  var parenetKeys = [];\n  var curentity = entryenties.find(function (item) {\n    return item.get('key') === conditionOption.get('entryEntity');\n  });\n  if (curentity.get('parentKey')) {\n    var _entryenties$filter;\n    var tempEntity = curentity;\n    while (tempEntity) {\n      parenetKeys.push(tempEntity.get('key'));\n      tempEntity = entryenties.find(function (item) {\n        return item.get('key') === tempEntity.get('parentKey');\n      });\n    }\n    var childKeys = (_entryenties$filter = entryenties.filter(function (item) {\n      return item.get('parentKey') === curentity.get('key');\n    })) === null || _entryenties$filter === void 0 ? void 0 : _entryenties$filter.map(function (childentity) {\n      return childentity.get('key');\n    });\n    return [].concat(parenetKeys, _toConsumableArray(childKeys));\n  }\n  return [];\n};\nvar isSameSource = exports.isSameSource = function isSameSource(option, conditionOption) {\n  return option.get('type') === conditionOption.get('type') && option.get('fieldName') !== conditionOption.get('fieldName') && option.get('compareGroupId').indexOf(PARAM_COMPAREABLE) > -1;\n};\n\n// 根据选择字段筛选可字段比较项\nvar getFilterValues = exports.getFilterValues = function getFilterValues(entryenties, conditionOption, conditionOptions, lang) {\n  var validKeys = findAllKeys(entryenties, conditionOption);\n  return conditionOptions.filter(function (option) {\n    // 若当前实体为单头，则所有同类型字段都可以比较\n    if (validKeys.length === 0) {\n      return isSameSource(option, conditionOption);\n    } else {\n      // 若当前实体为某单据体，则只能和单头和本单据体内字段比较，即同类型，同分录字段才可以互相比较\n      return isSameSource(option, conditionOption) && validKeys.includes(option.get('entryEntity'));\n    }\n  }).map(convertValuetoOption(lang));\n};\nvar convertValuetoOption = exports.convertValuetoOption = function convertValuetoOption(lang) {\n  return function (item) {\n    return {\n      alias: (0, _langUtil.getValueByPath)(item, ['fieldCaption'], lang),\n      value: item.get('fieldName')\n    };\n  };\n};\nvar getSelectedSchemeByDependent = exports.getSelectedSchemeByDependent = function getSelectedSchemeByDependent(_ref) {\n  var _currentCondition$get;\n  var newCondition = _ref.newCondition,\n    selectedScheme = _ref.selectedScheme,\n    fieldsDependent = _ref.fieldsDependent,\n    conditionOptions = _ref.conditionOptions,\n    showClearFieldMessage = _ref.showClearFieldMessage;\n  var compare = newCondition.get('c');\n  var fieldName = newCondition.get('k');\n  var dependentFields = fieldsDependent === null || fieldsDependent === void 0 ? void 0 : fieldsDependent.get(fieldName);\n  if (!dependentFields || dependentFields.count() === 0) return selectedScheme;\n  var currentCondition = conditionOptions.find(function (condition) {\n    return condition.get('fieldName') === fieldName;\n  });\n  var compareValue = currentCondition === null || currentCondition === void 0 || (_currentCondition$get = currentCondition.get('compareTypes').find(function (compareType) {\n    return compareType.get('id') === compare;\n  })) === null || _currentCondition$get === void 0 ? void 0 : _currentCondition$get.get('value');\n  if (compareValue === _constants.NOT_NULL) return selectedScheme; // 比较符为不为空时不处理\n\n  var clearedFields = [];\n  selectedScheme = selectedScheme.set('advance', getConditionByDependent(selectedScheme.get('advance'), dependentFields, clearedFields)).set('add', getConditionByDependent(selectedScheme.get('add'), dependentFields, clearedFields));\n  if (clearedFields.length > 0) {\n    showClearFieldMessage(currentCondition, clearedFields, conditionOptions);\n  }\n  return selectedScheme;\n};\nvar getConditionByDependent = function getConditionByDependent(conditions, dependentFields, clearedFields) {\n  return conditions.map(function (condition) {\n    var fieldName = condition.get('k');\n    var conditionValue = condition.get('v');\n    if (!isEmptyValue(conditionValue) && dependentFields.includes(fieldName)) {\n      clearedFields.push(fieldName);\n      return condition.set('v', _immutable.List.isList(conditionValue) ? (0, _immutable.fromJS)(['']) : '')[\"delete\"]('id');\n    }\n    return condition;\n  });\n};\nvar isEmptyValue = function isEmptyValue(value) {\n  if (!value) return;\n  return _immutable.List.isList(value) && value.every(function (v) {\n    return !v;\n  });\n};\nvar getTips = exports.getTips = function getTips(currentCondition, clearedFields, conditionOptions, lang) {\n  var currentFieldStr = \"\\\"\".concat((0, _langUtil.getValueByPath)(currentCondition, ['fieldCaption'], lang), \"\\\"\");\n  var clearedFieldsStr = clearedFields.map(function (fieldName) {\n    var currentCondition = conditionOptions.find(function (condition) {\n      return condition.get('fieldName') === fieldName;\n    });\n    return \"\\\"\".concat((0, _langUtil.getValueByPath)(currentCondition || (0, _immutable.Map)(), ['fieldCaption'], lang), \"\\\"\");\n  }).join('、');\n  return \"\".concat(currentFieldStr).concat((0, _intlApi.getLangMsg)({\n    key: 'QueryPanel.key0051'\n  })).concat(clearedFieldsStr, \"\\u3002\");\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/ListFilter/schemeSearch/schemeEditor/utils.js?");

/***/ }),

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

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.array.slice.js */ \"../../node_modules/core-js/modules/es.array.slice.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.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.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\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.getCommonConditions = void 0;\nexports.getCompareTyeFromValue = getCompareTyeFromValue;\nexports.getConditionCount = getConditionCount;\nexports.getFilterOptions = exports.getFastOptions = exports.getFastConditions = exports.getF7FilterOptions = exports.getDefaultSchemeId = exports.getDefaultGrids = exports.getDefaultAdvanceConditions = void 0;\nexports.getInnerValueFromType = getInnerValueFromType;\nexports.getSchmeSearchConditons = exports.getSchemeSecondFilterConditions = void 0;\nexports.getSecondFilterOptions = getSecondFilterOptions;\nexports.getSelectedScheme = exports.getSelectedGrids = exports.getSelectedEntryEntity = void 0;\nexports.hasCustomDimension = hasCustomDimension;\nexports.useFitlerSelectInfo = exports.useEventTracking = exports.orderedFixedFilter = exports.mixSecondFilterValues = exports.initSecondFilterValues = 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.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.array.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.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.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.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.join.js */ \"../../node_modules/core-js/modules/es.array.join.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.reduce.js */ \"../../node_modules/core-js/modules/es.array.reduce.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.set.js */ \"../../node_modules/core-js/modules/es.set.js\");\n__webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nvar _react = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\");\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _constants = __webpack_require__(/*! ./constants */ \"./src/component/web/base/ListFilter/constants.js\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _utils = __webpack_require__(/*! ./schemeSearch/schemeEditor/utils */ \"./src/component/web/base/ListFilter/schemeSearch/schemeEditor/utils.js\");\nvar _utils2 = __webpack_require__(/*! @/component/web/KDListFilter/utils */ \"./src/component/web/KDListFilter/utils.js\");\nvar _constants2 = __webpack_require__(/*! @/component/web/KDListFilter/constants */ \"./src/component/web/KDListFilter/constants.js\");\nvar _moment = _interopRequireDefault(__webpack_require__(/*! moment */ \"../../node_modules/moment/moment.js\"));\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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; }\nvar useFitlerSelectInfo = exports.useFitlerSelectInfo = function useFitlerSelectInfo(selectedScheme, _ref) {\n  var showCommon = _ref.showCommon;\n  var schemeStatus = selectedScheme.get('status');\n  var schemeId = selectedScheme.getIn(['currentScheme', 'id']);\n  var schemeName = selectedScheme.getIn(['currentScheme', 'schemeName'], '');\n  var _useState = (0, _react.useState)(showCommon && !schemeStatus && !schemeId),\n    _useState2 = _slicedToArray(_useState, 2),\n    isCommon = _useState2[0],\n    setIsCommon = _useState2[1];\n  var _useState3 = (0, _react.useState)(isCommon ? (0, _intlApi.getLangMsg)('ListFilter.key0001') : schemeName),\n    _useState4 = _slicedToArray(_useState3, 2),\n    currentFilterName = _useState4[0],\n    setCurrentFilterName = _useState4[1];\n  (0, _react.useEffect)(function () {\n    if (schemeStatus || schemeId && schemeId !== (0, _intlApi.getLangMsg)('ListFilter.key0001')) {\n      // 新增方案/点击查询/正常方案查询/排除F7下拉选中基础资料原标题\n      var _currentFilterName = schemeStatus === _constants.SCHME_STATUS.add ? '' : schemeName;\n      setCurrentFilterName(_currentFilterName);\n      setIsCommon(false);\n    } else {\n      setCurrentFilterName(showCommon ? (0, _intlApi.getLangMsg)('ListFilter.key0001') : '');\n      setIsCommon(showCommon);\n    }\n  }, [selectedScheme, showCommon]);\n  return [isCommon, currentFilterName];\n};\nvar getSchemeOption = function getSchemeOption(scheme, additionOption) {\n  var commonSchemes = scheme.get('commonSchemes', (0, _immutable.List)());\n  return commonSchemes.reduce(function (options, schemeItem) {\n    options.push({\n      label: schemeItem.get('schemeName'),\n      value: schemeItem.get('id'),\n      type: schemeItem.get('type')\n    });\n    return options;\n  }, additionOption);\n};\nvar getFilterOptions = exports.getFilterOptions = function getFilterOptions(scheme, showCommon) {\n  var baseOptions = showCommon ? [{\n    label: (0, _intlApi.getLangMsg)('ListFilter.key0001'),\n    value: _constants.COMMON_ID\n  }] : [];\n  var filterOptions = getSchemeOption(scheme, baseOptions);\n  return filterOptions;\n};\nvar getF7FilterOptions = exports.getF7FilterOptions = function getF7FilterOptions(scheme, title) {\n  var titleOption = [{\n    label: title,\n    value: _constants.TITLE_ID\n  }];\n  var filterOptions = getSchemeOption(scheme, titleOption);\n  return filterOptions;\n};\nvar getDefaultSchemeId = exports.getDefaultSchemeId = function getDefaultSchemeId(schemes) {\n  var defaultScheme = schemes.find(function (scheme) {\n    return scheme.get('default');\n  });\n  return (defaultScheme === null || defaultScheme === void 0 ? void 0 : defaultScheme.get('id')) || '';\n};\n\n/**\n * 获取快速搜索条件选项（查询范围内）\n * @param {*} fastOptions\n * @param {*} selected\n * @returns fastCondition[]\n */\nvar getFastOptions = exports.getFastOptions = function getFastOptions(fastOptions, selected) {\n  var grids = selected.getIn(['scheme', 'grids']); // 选中查询范围\n  return fastOptions === null || fastOptions === void 0 ? void 0 : fastOptions.filter(function (option) {\n    var entryEntity = option.get('entryEntity');\n    return !entryEntity || grids.contains(entryEntity);\n  });\n};\n\n/**\n * 获取快速搜索条件\n * @param {*} fastConditions List()\n * @param {*} fastOptions List()\n */\nvar getFastConditions = exports.getFastConditions = function getFastConditions(fastConditionsList, fastOptions) {\n  var fastConditons = [];\n  fastConditionsList.forEach(function (conditionMap) {\n    var key = conditionMap.get('k');\n    var v = conditionMap.get('v');\n    var value = _immutable.List.isList(v) ? v.toJS() : [];\n    var isNlpSearch = conditionMap.get('isNlpSearch');\n    if (key === _constants.FAST_ALL_ID) {\n      // '全部'选项\n      var fieldNameArray = [];\n      fastOptions.forEach(function (option) {\n        var optionFieldName = option.get('fieldName');\n        if (optionFieldName !== _constants.FAST_ALL_ID) {\n          fieldNameArray.push(optionFieldName);\n        }\n      });\n      fastConditons.push({\n        FieldName: fieldNameArray,\n        Value: value\n      });\n    } else if (isNlpSearch) {\n      // 智能搜索条件\n      var nlpSearchResult = conditionMap.get('nlpSearchResult');\n      nlpSearchResult.forEach(function (nlpCondition) {\n        var v = nlpCondition.get('value');\n        var value = _immutable.List.isList(v) ? v.toJS() : [];\n        fastConditons.push({\n          FieldName: [nlpCondition.get('field', '')],\n          Compare: [nlpCondition.get('id', 0)],\n          Value: value\n        });\n      });\n    } else {\n      fastConditons.push({\n        FieldName: [key],\n        Value: value\n      });\n    }\n  });\n  return fastConditons;\n};\nvar getDateCompareParam = function getDateCompareParam(value, optionItems) {\n  var compareArr = [];\n  var compare = '';\n  // 必录项存在value为空的情况\n  if (value.size !== 0) {\n    var dateoptionItemsMap = optionItems.reduce(function (tempMap, item) {\n      return tempMap.set(item.get('compare'), item);\n    }, new _immutable.Map());\n    var _timeCompare = getCompareTyeFromValue(value, optionItems);\n    // “自定义” 的compare 需要为空\n    if (dateoptionItemsMap.size === 0) {\n      compare = '';\n    } else {\n      compare = _timeCompare === _const.ENUM_TYPE ? dateoptionItemsMap.get(value.get(0)).get(_constants.COMPARE, '') : _timeCompare === _const.CUSTOM_TYPE ? '' : _timeCompare;\n    }\n    compareArr.push(compare);\n  }\n  return compareArr;\n};\n\n/**\n * 获取常用条件\n * @param {*} commonConditionsList List()\n * @param {*} commonOptions List()\n * @returns []\n */\nvar getCommonConditions = exports.getCommonConditions = function getCommonConditions(commonConditionsList, commonOptions, needCompareParam) {\n  var _ref2 = needCompareParam || {},\n    _ref2$latestF7User = _ref2.latestF7User,\n    latestF7User = _ref2$latestF7User === void 0 ? '' : _ref2$latestF7User,\n    _ref2$noCompareUsers = _ref2.noCompareUsers,\n    noCompareUsers = _ref2$noCompareUsers === void 0 ? {} : _ref2$noCompareUsers;\n  var commonConditions = [];\n  commonConditionsList.forEach(function (condition) {\n    var fieldName = condition.get('k');\n    var value = condition.get('v');\n    if (value !== undefined) {\n      var compareArr = [];\n      var compare;\n      var currentOption = commonOptions.find(function (option) {\n        return option.get('fieldName') === fieldName;\n      });\n      if (currentOption) {\n        var type = currentOption.get('type');\n        var optionItems = currentOption.get('items'); // 选项集合\n        var optionItemsMap = optionItems.reduce(function (tempMap, item) {\n          return tempMap.set(item.get('value'), item);\n        }, new _immutable.Map());\n        // 时间类型支持自定义后，类型的compare逻辑需要特殊处理\n        if (type === 'date' || type === 'datetime') {\n          compareArr = getDateCompareParam(value, optionItems);\n        } else {\n          value.forEach(function (valueKey) {\n            var compareObj = optionItemsMap.get(valueKey);\n            // 获取选项的比较符'compare',即常用查询的比较符(只用于回传server，前端不处理)\n            if (type === 'user') {\n              var noNeedCompare = noCompareUsers[fieldName] || (latestF7User === null || latestF7User === void 0 ? void 0 : latestF7User.includes(fieldName));\n              compare = noNeedCompare ? '' : compareObj ? compareObj.get(_constants.COMPARE, '') : '';\n            } else {\n              compare = compareObj ? compareObj.get(_constants.COMPARE, '') : '';\n            }\n            compareArr.push(compare);\n          });\n        }\n      }\n      commonConditions.push({\n        FieldName: [fieldName],\n        Value: value,\n        Compare: compareArr\n      });\n    }\n  });\n  return commonConditions;\n};\n\n/**\n * 获取方案查询条件\n * @param {*} scheme Map()\n * @returns []\n */\nvar getSchmeSearchConditons = exports.getSchmeSearchConditons = function getSchmeSearchConditons(scheme) {\n  var advance = scheme.get('advance').toJS();\n  var add = scheme.get('add').toJS();\n  var conditions = advance.concat(add);\n  return conditions.map(function (item, index) {\n    var id = item.id;\n    var value = item.v || '';\n    if (!Array.isArray(value)) {\n      value = [value];\n    }\n    var k = item.k,\n      c = item.c,\n      leftBracket = item.leftBracket,\n      rightBracket = item.rightBracket,\n      logic = item.logic;\n    var condition = {\n      FieldName: [k],\n      Compare: [c || ''],\n      Value: value,\n      Left: [leftBracket || ''],\n      Right: [rightBracket || ''],\n      Logic: [logic || 0]\n    };\n    if (id) {\n      // F7接口需要id\n      condition.Id = id;\n    }\n    return condition;\n  });\n};\nvar getSchemeSecondFilterConditions = exports.getSchemeSecondFilterConditions = function getSchemeSecondFilterConditions() {\n  var additionalCondition = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (0, _immutable.Map)();\n  var dataConditions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (0, _immutable.List)();\n  var addtionalConditionArr = [];\n  if ((dataConditions === null || dataConditions === void 0 ? void 0 : dataConditions.size) > 0) {\n    dataConditions.forEach(function (_item) {\n      // 有值，则构造进参数，否则忽略\n      var curKey = _item.get('fieldName');\n      var curValue = additionalCondition.get(curKey);\n      var addtionConditionCompare = dataConditions.find(function (item) {\n        return item.get('fieldName') === curKey;\n      }).get('inCompareId');\n      if (curValue !== undefined) {\n        if (curValue.get && curValue.get('ids')) {\n          addtionalConditionArr.push({\n            k: curKey,\n            c: addtionConditionCompare,\n            v: curValue.get('values'),\n            id: curValue.get('ids')\n          });\n        } else {\n          addtionalConditionArr.push({\n            k: curKey,\n            c: addtionConditionCompare,\n            v: curValue\n          });\n        }\n      }\n    });\n  }\n  return addtionalConditionArr.map(function (item, index) {\n    var id = item.id;\n    var value = item.v || '';\n    if (!Array.isArray(value) && !_immutable.List.isList(value)) {\n      value = [value];\n    }\n    var k = item.k,\n      c = item.c,\n      leftBracket = item.leftBracket,\n      rightBracket = item.rightBracket,\n      logic = item.logic;\n    var condition = {\n      FieldName: [k],\n      Compare: [c || ''],\n      Value: value,\n      Left: [leftBracket || ''],\n      Right: [rightBracket || ''],\n      Logic: [logic || 0]\n    };\n    if (id) {\n      // F7接口需要id\n      condition.Id = id;\n    }\n    return condition;\n  });\n};\n// 获取选中的子单据体或单据体或单据头\\\n// TODO 老代码\n// 目前查询范围的结构只有单据头、单据体、子单据体，只需要最子级的标识（自动选中父级）就可以获取查询范围\n// 所以后端规定只用传最子级的标识\nvar getSelectedEntryEntity = exports.getSelectedEntryEntity = function getSelectedEntryEntity(selectedGrids, entryenties) {\n  if (selectedGrids.count() === 1) {\n    // 只选中了单据头\n    return selectedGrids.getIn([0]);\n  } else {\n    // todo:寻找子单据体或父单据体(没有子单据的情况)\n    var subEntryEntity, subEntryEntityId, entryEntityId, entryHead;\n    // 查找单据头\n    selectedGrids.forEach(function (id) {\n      if (entryHead) {\n        return;\n      }\n      entryHead = entryenties.find(function (item) {\n        return item.get('key') === id && item.get('parentKey') === '';\n      });\n    });\n    if (!entryHead) {\n      console.warn('Entry Head not exist...');\n    }\n    var entryHeadId = entryHead.get('key');\n    // 查找子单据体\n    selectedGrids.forEach(function (id) {\n      if (subEntryEntity || id === entryHeadId) {\n        return;\n      }\n      subEntryEntity = entryenties.find(function (item) {\n        return item.get('key') === id && item.get('parentKey') !== entryHeadId;\n      });\n    });\n    if (subEntryEntity) {\n      subEntryEntityId = subEntryEntity.get('key');\n    }\n    // 查找单据体\n    if (!subEntryEntityId) {\n      selectedGrids.forEach(function (id) {\n        if (entryEntityId || id === entryHeadId) {\n          return;\n        }\n        entryEntityId = id;\n      });\n    }\n    return subEntryEntityId === undefined ? entryEntityId === undefined ? entryHeadId === undefined ? '' : entryHeadId : entryEntityId : subEntryEntityId;\n  }\n};\n\n/**\n * 获取选中方案后的方案数据\n * @param {*} data\n * @param {*} selected\n * @param {*} schemeId\n * @returns\n */\nvar getSelectedScheme = exports.getSelectedScheme = function getSelectedScheme(data, selected, schemeId) {\n  var schemeOptions = data.getIn(['scheme', 'commonSchemes']);\n  var currentScheme = schemeOptions.find(function (scheme) {\n    return scheme.get('id') === schemeId;\n  });\n  if (currentScheme) {\n    var schemeName = currentScheme.get('schemeName');\n    var schemeConditions = currentScheme.get('scheme');\n    var advance = [];\n    var add = [];\n    var grids = [];\n    if (schemeConditions) {\n      var conditionOptions = data.getIn(['scheme', 'conditions']);\n      var basedataList = ['basedata', 'mulbasedata', 'org', 'user']; // 基础资料类型列表\n      schemeConditions.forEach(function (item) {\n        var value = item.get('Value');\n        var condition = conditionOptions.find(function (con) {\n          return con.get('fieldName') === item.getIn(['FieldName', 0]);\n        });\n        var type = condition === null || condition === void 0 ? void 0 : condition.get('type');\n        if (type && basedataList.indexOf(type) > -1) {\n          // 基础资料类型的，value格式为\"[[key，name]]\"，不需要再处理\n        } else if (value instanceof _immutable.List && value.count() > 1) {\n          // 条件内容为多选时，Value：格式为'[a1,a2,a3]'(下拉且多选)，不需要再处理\n        } else {\n          value = item.getIn(['Value', 0]);\n        }\n        var conditionItem = {\n          k: item.getIn(['FieldName', 0]),\n          c: item.getIn(['Compare', 0]),\n          v: value,\n          leftBracket: item.getIn(['Left', 0]),\n          rightBracket: item.getIn(['Right', 0]),\n          logic: item.getIn(['Logic', 0])\n        };\n        var id = item.getIn(['id']);\n        if (id) {\n          conditionItem.id = id;\n        }\n        if (item.get('fixed') === true) {\n          advance.push(conditionItem);\n        } else {\n          add.push(conditionItem);\n        }\n      });\n    }\n\n    // 选中方案对应查询范围\n\n    // 自动选中单据头\n    data.getIn(['scheme', 'entryenties']).forEach(function (item) {\n      if (item.get('parentKey') === '') {\n        grids.push(item.get('key'));\n      }\n    });\n    var entryEntityId = currentScheme.get('entryEntity');\n    if (entryEntityId) {\n      grids.push(entryEntityId);\n      // 查看是否有父单据体，有则选中\n      var entryEntity = data.getIn(['scheme', 'entryenties']).find(function (entry) {\n        return entry.get('key') === entryEntityId;\n      });\n      if (entryEntity) {\n        var entryEntityParentKey = entryEntity.get('parentKey');\n        if (entryEntityParentKey) {\n          grids.push(entryEntityParentKey);\n        } // 暂时只考虑'单据体/子单据体'的情况，不考虑超过2层的。\n      }\n    }\n    var selectedScheme = selected.get('scheme');\n    var newSelectedScheme = selectedScheme.set('add', (0, _immutable.fromJS)(add)).set('advance', (0, _immutable.fromJS)(advance)).set('grids', (0, _immutable.fromJS)(Array.from(new Set(grids)))).setIn(['currentScheme', 'id'], schemeId).setIn(['currentScheme', 'schemeName'], schemeName).set('type', currentScheme.get('type')).set('isDefault', currentScheme.get('default')).set('fixed', currentScheme.get('fixed'));\n    return newSelectedScheme;\n  }\n};\n\n// 新增方案时获取默认查询范围（自动添加单据头）\nvar getDefaultGrids = exports.getDefaultGrids = function getDefaultGrids(schemeData, grids) {\n  var entryenties = schemeData.get('entryenties');\n  var entryHead = entryenties.find(function (entry) {\n    return entry.get('parentKey') === '';\n  });\n  if (entryHead && !grids.includes(entryHead.get('key'))) {\n    grids.push(entryHead.get('key'));\n  }\n  return grids;\n};\n\n/**\n * 通过当前entryEntity获取所有选中的grids\n */\nvar getSelectedGrids = exports.getSelectedGrids = function getSelectedGrids(entryEntityKey, entryenties) {\n  var grids = (0, _immutable.List)([entryEntityKey]);\n  var addParent = function addParent(_entryEntityKey, entryenties) {\n    var entryEntity = entryenties.find(function (entryEntity) {\n      return entryEntity.get('key') === _entryEntityKey;\n    });\n    var parentKey = entryEntity.get('parentKey');\n    if (parentKey) {\n      grids = grids.push(parentKey);\n      addParent(parentKey, entryenties);\n    }\n  };\n  addParent(entryEntityKey, entryenties);\n  return grids;\n};\n\n// 获取默认的新增方案\nvar getDefaultAdvanceConditions = exports.getDefaultAdvanceConditions = function getDefaultAdvanceConditions(schemeData) {\n  var advanceConditions = schemeData.get('advance');\n  return advanceConditions.map(function (condition, index) {\n    return (0, _utils.getDefaltCondition)(condition);\n  });\n};\n\n// 数据埋点\nvar useEventTracking = exports.useEventTracking = function useEventTracking(isLookUp, visibleInfo, expand, commonLayoutType) {\n  var _useContext = (0, _react.useContext)(_utils2.FilterContext),\n    eventTracking = _useContext.eventTracking;\n  var showCommon = visibleInfo.showCommon,\n    showScheme = visibleInfo.showScheme;\n  (0, _react.useEffect)(function () {\n    eventTracking(_constants2.EVENT_TRACK_PROP.version, 'new');\n    eventTracking(_constants2.EVENT_TRACK_PROP.panelStatus, expand ? 'expand' : 'fold');\n    if (!isLookUp) {\n      // 非f7下隐藏方案或常用条件\n      !showCommon && eventTracking(_constants2.EVENT_TRACK_PROP.hideCommon, 'true');\n      !showScheme && eventTracking(_constants2.EVENT_TRACK_PROP.hideScheme, 'true');\n    }\n    if (showCommon) {\n      eventTracking(_constants2.EVENT_TRACK_PROP.commonType, commonLayoutType === 1 ? 'tiled' : 'compact');\n    }\n  }, []);\n};\n\n// 根据日期的值反推日期的自定义类型\nfunction getCompareTyeFromValue(dateArray, options) {\n  var _dateArray = dateArray.toJS ? dateArray.toJS() : dateArray;\n  var dateLength = _dateArray.length;\n  var firstDate = _dateArray[0];\n  var isRangeType = dateLength === 2;\n  if ((0, _moment[\"default\"])(firstDate, 'YYYY', true).isValid()) {\n    return isRangeType ? _const.DateTypeToCompare.yearrange : _const.DateTypeToCompare.year;\n  } else if ((0, _moment[\"default\"])(firstDate, 'YYYY-MM', true).isValid()) {\n    return isRangeType ? _const.DateTypeToCompare.monthrange : _const.DateTypeToCompare.month;\n  } else if ((0, _moment[\"default\"])(firstDate, 'YYYY-MM-DD', true).isValid()) {\n    return isRangeType ? hasCustomDimension(options) ? _const.DateTypeToCompare.daterange : _const.CUSTOM_TYPE : _const.DateTypeToCompare.date;\n  } else if ((0, _moment[\"default\"])(firstDate, 'YYYY-MM-DD HH:mm:ss', true).isValid()) {\n    return isRangeType ? hasCustomDimension(options) ? _const.DateTypeToCompare.datetimerange : _const.CUSTOM_TYPE : _const.DateTypeToCompare.datetime;\n  } else {\n    return _const.ENUM_TYPE;\n  }\n}\n\n// 获取日期字段是否配置了自定义维度\nfunction hasCustomDimension(options) {\n  var _options = options.toJS ? options.toJS() : options;\n  var _customerKeys = Object.keys(_const.ListFilterDateInfo);\n  for (var i = 0; i < _options.length; i++) {\n    if (_customerKeys.includes(_options[i].compare)) {\n      return true;\n    }\n  }\n  return false;\n}\n\n// 根据类型获取传入DatePicker的value\nfunction getInnerValueFromType(selectedValue, dateType) {\n  var format = dateType === 'datetime' || dateType === 'datetimerange' ? 'YYYY-MM-DD HH:mm:ss' : 'YYYY-MM-DD';\n  var formatedValue = selectedValue.map(function (_time) {\n    var curValue = (0, _moment[\"default\"])(_time).isValid() ? (0, _moment[\"default\"])(_time).format(format) : '';\n    return curValue;\n  });\n  return formatedValue.join(',');\n}\n\n// 根据当前方案参数获取二次过滤的配置选项\nfunction getSecondFilterOptions(optionsKeys, dataConditions) {\n  var relevantKeys = ['fieldCaption', 'fieldName', 'isMulti', _constants.TODAY, 'mustInput', 'entityId', 'type', 'items', 'inCompareId'];\n  var conditionsMap = dataConditions.reduce(function (map, condition) {\n    return map.set(condition.get('fieldName'), condition);\n  }, (0, _immutable.Map)());\n\n  // 过滤和构造最终结果\n  var filteredOptions = optionsKeys.reduce(function (filteredList, key) {\n    var condition = conditionsMap.get(key);\n    if (!condition) {\n      return filteredList;\n    }\n\n    // 拷贝所有需要映射的值\n    var relevantData = relevantKeys.reduce(function (dataMap, relevantKey) {\n      return dataMap.set(relevantKey, condition.get(relevantKey));\n    }, (0, _immutable.Map)());\n    return filteredList.push(relevantData);\n  }, (0, _immutable.List)());\n  return filteredOptions;\n}\n\n// 获取方案的条件数\nfunction getConditionCount(scheme) {\n  var advanceConditions = scheme.get('advance', (0, _immutable.List)());\n  var addConditions = scheme.get('add', (0, _immutable.List)());\n  return advanceConditions.count() + addConditions.count();\n}\nvar initSecondFilterValues = exports.initSecondFilterValues = function initSecondFilterValues(secondFilterOptions) {\n  var initValues = (0, _immutable.Map)();\n  secondFilterOptions.forEach(function (option) {\n    initValues = initValues.set(option.get('fieldName'), undefined);\n  });\n  return initValues;\n};\nvar mixSecondFilterValues = exports.mixSecondFilterValues = function mixSecondFilterValues(secondFilterOptions, curFilterValus) {\n  var newValues = (0, _immutable.Map)();\n  secondFilterOptions.forEach(function (option) {\n    var _curFilterValus$get;\n    var curKey = option.get('fieldName');\n    newValues = newValues.set(curKey, (_curFilterValus$get = curFilterValus.get(curKey)) !== null && _curFilterValus$get !== void 0 ? _curFilterValus$get : undefined);\n  });\n  return newValues;\n};\n\n// 保证初始化的时候字段和conditions顺序一致，保证取值的时候下标正确\nvar orderedFixedFilter = exports.orderedFixedFilter = function orderedFixedFilter(fixfilter, conditions) {\n  var newFilter = [];\n  conditions.forEach(function (item) {\n    var keyInCondition = item.get('fieldName');\n    if (fixfilter.indexOf(keyInCondition) > -1) {\n      newFilter.push(keyInCondition);\n    }\n  });\n  return newFilter;\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/ListFilter/utils.js?");

/***/ }),

/***/ "./src/component/web/base/Listbox.jsx":
/*!********************************************!*\
  !*** ./src/component/web/base/Listbox.jsx ***!
  \********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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.ItemList = exports.Item = void 0;\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.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\");\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 _Listbox = _interopRequireDefault(__webpack_require__(/*! ./Listbox.less */ \"./src/component/web/base/Listbox.less\"));\nvar _memoryCacher = __webpack_require__(/*! ../../../model/memoryCacher */ \"./src/model/memoryCacher.js\");\nvar _const = __webpack_require__(/*! ../../../constant/const */ \"./src/constant/const.js\");\nvar _excluded = [\"items\", \"id\", \"className\", \"style\", \"onClick\", \"listboxItemClick\", \"diraction\", \"pageId\"];\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 _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); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nvar Listbox = function Listbox(props) {\n  var items = props.items,\n    id = props.id,\n    className = props.className,\n    style = props.style,\n    onClick = props.onClick,\n    listboxItemClick = props.listboxItemClick,\n    diraction = props.diraction,\n    pageId = props.pageId,\n    others = _objectWithoutProperties(props, _excluded);\n  if (items) {\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n      id: id,\n      className: (0, _classnames2[\"default\"])('kd-cq-control kd-cq-listbox', _Listbox[\"default\"]['root-class'], className),\n      style: style,\n      onClick: onClick\n    }, others), /*#__PURE__*/_react[\"default\"].createElement(ItemList, {\n      items: items,\n      listboxItemClick: listboxItemClick,\n      diraction: diraction,\n      pageId: pageId,\n      ctrlKey: id\n    }));\n  }\n  return null;\n};\nvar _default = exports[\"default\"] = Listbox;\nvar ItemList = exports.ItemList = /*#__PURE__*/function (_Component) {\n  _inherits(ItemList, _Component);\n  function ItemList(props) {\n    var _this;\n    _classCallCheck(this, ItemList);\n    _this = _callSuper(this, ItemList, [props]);\n    _this.handlItemClick = _this.handlItemClick.bind(_assertThisInitialized(_this));\n    _this.setActiveItemId = _this.setActiveItemId.bind(_assertThisInitialized(_this));\n    _this.state = {\n      activeId: null\n    };\n    return _this;\n  }\n  _createClass(ItemList, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this$props = this.props,\n        pageId = _this$props.pageId,\n        ctrlKey = _this$props.ctrlKey;\n      var aId = (0, _memoryCacher.getPageData)(pageId, [ctrlKey, _const.LISTBOX_ACTIVE_ITEM]);\n      aId && this.setState({\n        activeId: aId\n      });\n      this.unbindDataChangeListener = (0, _memoryCacher.addDataChangeListener)(pageId, [ctrlKey, _const.LISTBOX_ACTIVE_ITEM], this.setActiveItemId);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.unbindDataChangeListener && this.unbindDataChangeListener();\n    }\n\n    /**\n     * 通过指令动态激活某一项\n     */\n  }, {\n    key: \"setActiveItemId\",\n    value: function setActiveItemId(activeId) {\n      if (Array.isArray(activeId)) {\n        activeId = activeId[0];\n      }\n      activeId && this.setState({\n        activeId: activeId\n      });\n    }\n  }, {\n    key: \"handlItemClick\",\n    value: function handlItemClick(itemId) {\n      var listboxItemClick = this.props.listboxItemClick;\n      var activeId = this.state.activeId;\n      activeId !== itemId && listboxItemClick && listboxItemClick(itemId);\n      this.setState({\n        activeId: itemId\n      });\n    }\n  }, {\n    key: \"renderItems\",\n    value: function renderItems() {\n      var _this2 = this;\n      var _this$props2 = this.props,\n        items = _this$props2.items,\n        diraction = _this$props2.diraction;\n      var activeId = this.state.activeId;\n      if (items) {\n        return items.map(function (item, index) {\n          var id = item.get('id');\n          if (activeId === null && index === 0) {\n            return /*#__PURE__*/_react[\"default\"].createElement(Item, {\n              key: id,\n              item: item,\n              active: true,\n              listboxItemClick: _this2.handlItemClick,\n              diraction: diraction\n            });\n          }\n          return /*#__PURE__*/_react[\"default\"].createElement(Item, {\n            key: id,\n            item: item,\n            active: activeId === id,\n            listboxItemClick: _this2.handlItemClick,\n            diraction: diraction\n          });\n        });\n      }\n      return 'Listbox';\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props3 = this.props,\n        style = _this$props3.style,\n        diraction = _this$props3.diraction;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: (0, _classnames2[\"default\"])('kd-cq-listbox-list', diraction === 'v' ? _Listbox[\"default\"]['ul-v-class'] : _Listbox[\"default\"]['ul-h-class']),\n        style: style\n      }, \" \", this.renderItems(), \" \");\n    }\n  }]);\n  return ItemList;\n}(_react.Component);\nvar Item = exports.Item = /*#__PURE__*/function (_Component2) {\n  _inherits(Item, _Component2);\n  function Item(props) {\n    var _this3;\n    _classCallCheck(this, Item);\n    _this3 = _callSuper(this, Item, [props]);\n    _this3.renderItem = _this3.renderItem.bind(_assertThisInitialized(_this3));\n    _this3.handleLiClick = _this3.handleLiClick.bind(_assertThisInitialized(_this3));\n    return _this3;\n  }\n  _createClass(Item, [{\n    key: \"handleLiClick\",\n    value: function handleLiClick() {\n      var _this$props4 = this.props,\n        item = _this$props4.item,\n        active = _this$props4.active,\n        listboxItemClick = _this$props4.listboxItemClick;\n      var id = item.get('id');\n      active === false && listboxItemClick(id);\n    }\n\n    /**\n     * 暂时不做多级处理\n     */\n  }, {\n    key: \"renderItem\",\n    value: function renderItem() {\n      var _this$props5 = this.props,\n        item = _this$props5.item,\n        listboxItemClick = _this$props5.listboxItemClick;\n      var id = item.get('id');\n      var content = item.get('content');\n      var subItems = item.get('items');\n      if (subItems) {\n        return /*#__PURE__*/_react[\"default\"].createElement(\"li\", null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, content), /*#__PURE__*/_react[\"default\"].createElement(ItemList, {\n          items: subItems,\n          style: {\n            paddingLeft: '18px'\n          },\n          listboxItemClick: listboxItemClick\n        }));\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        onClick: function onClick() {\n          return listboxItemClick(id);\n        }\n      }, content);\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props6 = this.props,\n        item = _this$props6.item,\n        active = _this$props6.active,\n        diraction = _this$props6.diraction;\n      var content = item.get('content');\n      var _className = (0, _classnames2[\"default\"])('kd-cq-listbox-item', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Listbox[\"default\"]['li-v-class'], diraction === 'v'), _Listbox[\"default\"]['li-h-class'], diraction !== 'v'), _Listbox[\"default\"]['li-active'], active), \"theme\", true), 'secondary-text-in-light', true), 'list-box-item-h', diraction !== 'v'), 'list-box-item-active', active), 'list-box-item-hover', !active), 'theme-bg', active), 'theme-fc', active));\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        title: content,\n        className: _className,\n        onClick: this.handleLiClick\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _Listbox[\"default\"]['list-box-item-title']\n      }, content));\n    }\n  }]);\n  return Item;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Listbox.jsx?");

/***/ }),

/***/ "./src/component/web/base/LittleK.jsx":
/*!********************************************!*\
  !*** ./src/component/web/base/LittleK.jsx ***!
  \********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = LittleK;\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _Movin = _interopRequireDefault(__webpack_require__(/*! @/page/Movin */ \"./src/page/Movin.js\"));\nvar _LittleK = _interopRequireDefault(__webpack_require__(/*! ./LittleK.less */ \"./src/component/web/base/LittleK.less\"));\nvar _littleK = __webpack_require__(/*! @/component/web/json/littleK */ \"./src/component/web/json/littleK/index.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction LittleK(props) {\n  var style = props.style,\n    status = props.status,\n    onClick = props.onClick;\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _LittleK[\"default\"].box,\n    style: style,\n    onClick: onClick\n  }, /*#__PURE__*/_react[\"default\"].createElement(KMovin, {\n    animationData: _littleK.silentJson,\n    isShow: status === 'silent'\n  }), /*#__PURE__*/_react[\"default\"].createElement(KMovin, {\n    animationData: _littleK.floatJson,\n    isShow: status === 'float'\n  }), /*#__PURE__*/_react[\"default\"].createElement(KMovin, {\n    animationData: _littleK.welcomeJson,\n    isShow: status === 'welcome'\n  }), /*#__PURE__*/_react[\"default\"].createElement(KMovin, {\n    animationData: _littleK.processingJson,\n    isShow: status === 'processing'\n  }), /*#__PURE__*/_react[\"default\"].createElement(KMovin, {\n    animationData: _littleK.successJson,\n    isShow: status === 'success'\n  }), /*#__PURE__*/_react[\"default\"].createElement(KMovin, {\n    animationData: _littleK.failJson,\n    isShow: status === 'fail'\n  }));\n}\nfunction KMovin(props) {\n  var isShow = props.isShow,\n    animationData = props.animationData;\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    style: {\n      display: isShow ? 'block' : 'none'\n    }\n  }, /*#__PURE__*/_react[\"default\"].createElement(_Movin[\"default\"], {\n    animationData: animationData,\n    isShow: isShow\n  }));\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/LittleK.jsx?");

/***/ }),

/***/ "./src/component/web/base/Map/AMap.jsx":
/*!*********************************************!*\
  !*** ./src/component/web/base/Map/AMap.jsx ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.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-string.js */ \"../../node_modules/core-js/modules/es.date.to-string.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.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.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.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.array.join.js */ \"../../node_modules/core-js/modules/es.array.join.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/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 _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _mapUtil = __webpack_require__(/*! @/util/mapUtil */ \"./src/util/mapUtil.js\");\nvar _MapSearchBox = _interopRequireDefault(__webpack_require__(/*! ./MapSearchBox */ \"./src/component/web/base/Map/MapSearchBox.jsx\"));\nvar _lodash = __webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _AMap = _interopRequireDefault(__webpack_require__(/*! ./AMap.less */ \"./src/component/web/base/Map/AMap.less\"));\nvar _this = void 0;\n/**\n * 高德地图: https://lbs.amap.com/api/javascript-api/reference/location\n */\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 _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; }\nvar MAP_CONTAINER_ID = '__map_of_lbs__';\nvar useEffectEvent = function useEffectEvent(cb) {\n  var fn = (0, _react.useRef)(null);\n  fn.current = cb;\n  return function () {\n    fn.current.apply(fn, arguments);\n  };\n};\nvar loadScript = function loadScript(url, callback, failedCallback) {\n  var target = document.getElementById('lbs_amap');\n  if (target) {\n    _this.onLoad();\n    console.warn('map js has loaded.');\n    return;\n  }\n  var script = document.createElement('script');\n  script.id = 'mapbase'; // 唯一标示，防止html文件中重复添加.\n  script.type = 'text/javascript';\n  script.onerror = function () {\n    return failedCallback === null || failedCallback === void 0 ? void 0 : failedCallback();\n  };\n  if (typeof callback === 'function') {\n    if (script.readyState) {\n      script.onreadystatechange = function () {\n        if (script.readyState === 'loaded' || script.readyState === 'complete') {\n          script.onreadystatechange = null;\n          callback();\n        }\n      };\n    } else {\n      script.onload = function () {\n        callback();\n      };\n    }\n  }\n  script.src = url;\n  document.body.appendChild(script);\n};\nvar AMap = function AMap(_ref, ref) {\n  var address = _ref.address,\n    _ref$autoPosition = _ref.autoPosition,\n    autoPosition = _ref$autoPosition === void 0 ? true : _ref$autoPosition,\n    code = _ref.code,\n    containerClassName = _ref.containerClassName,\n    containerStyle = _ref.containerStyle,\n    _ref$dragEnable = _ref.dragEnable,\n    dragEnable = _ref$dragEnable === void 0 ? false : _ref$dragEnable,\n    id = _ref.id,\n    isWatch = _ref.isWatch,\n    mapKey = _ref.mapKey,\n    locked = _ref.locked,\n    mapClassName = _ref.mapClassName,\n    mapStyle = _ref.mapStyle,\n    _ref$markerDraggable = _ref.markerDraggable,\n    markerDraggable = _ref$markerDraggable === void 0 ? false : _ref$markerDraggable,\n    placeholder = _ref.placeholder,\n    point = _ref.point,\n    _ref$showSearchBox = _ref.showSearchBox,\n    showSearchBox = _ref$showSearchBox === void 0 ? true : _ref$showSearchBox,\n    onLoaded = _ref.onLoaded,\n    onMove = _ref.onMove,\n    onMoveStart = _ref.onMoveStart,\n    onMoveEnd = _ref.onMoveEnd,\n    selectPoint = _ref.selectPoint,\n    showMessage = _ref.showMessage,\n    pageId = _ref.pageId;\n  var mapRef = (0, _react.useRef)();\n  var watchId = (0, _react.useRef)();\n  var geolocation = (0, _react.useRef)(); // 定位实例\n  var searchInputId = (0, _react.useRef)();\n  var infoWindowRef = (0, _react.useRef)();\n  var isMapComplete = (0, _react.useRef)(false);\n  var _useState = (0, _react.useState)([]),\n    _useState2 = _slicedToArray(_useState, 2),\n    searchResults = _useState2[0],\n    setSearchResults = _useState2[1];\n  var _useState3 = (0, _react.useState)(false),\n    _useState4 = _slicedToArray(_useState3, 2),\n    showSearchBar = _useState4[0],\n    setShowSearchBar = _useState4[1];\n\n  // 加载脚本\n  (0, _react.useEffect)(function () {\n    if (!mapKey) return;\n    var successCb = function successCb() {\n      mapRef.current = new window.AMap.Map(\"\".concat(MAP_CONTAINER_ID, \"_\").concat(id), {\n        zoom: 15,\n        dragEnable: !locked && dragEnable,\n        zoomEnable: !locked\n      });\n      mapRef.current.on('complete', handleMapComplete);\n    };\n    var failedCb = function failedCb() {\n      showMessage === null || showMessage === void 0 || showMessage((0, _intlApi.getLangMsg)({\n        key: 'MapBase.key0010'\n      }), 1);\n    };\n    loadScript((0, _mapUtil.getAMapUrl)(mapKey), successCb, failedCb);\n    return function () {\n      var _geolocation$current, _mapRef$current, _mapRef$current$desto;\n      (_geolocation$current = geolocation.current) === null || _geolocation$current === void 0 || _geolocation$current.clearWatch(watchId.current);\n      removeMapEventListeners();\n      (_mapRef$current = mapRef.current) === null || _mapRef$current === void 0 || (_mapRef$current$desto = _mapRef$current.destory) === null || _mapRef$current$desto === void 0 || _mapRef$current$desto.call(_mapRef$current);\n    };\n  }, [mapKey, id]);\n\n  // 选中地点\n  (0, _react.useEffect)(function () {\n    if (!isMapComplete.current || !point) return;\n    var lng = point.get('point').get('lng');\n    var lat = point.get('point').get('lat');\n    window.AMap.convertFrom([lng, lat], 'baidu', function (status, result) {\n      var _result$info;\n      if (status === 'complete' && ((_result$info = result.info) === null || _result$info === void 0 ? void 0 : _result$info.toLowerCase()) === 'ok') {\n        var _result$locations = _slicedToArray(result.locations, 1),\n          res = _result$locations[0];\n        var location = {\n          lng: res.lng,\n          lat: res.lat\n        };\n        addMarker({\n          location: location\n        });\n      }\n    });\n  }, [point, isMapComplete.current]);\n\n  // 选中地址\n  (0, _react.useEffect)(function () {\n    if (!isMapComplete.current || point || !address) return;\n    var geocoder = new window.AMap.Geocoder({\n      city: '全国'\n    });\n    geocoder.getLocation(address, function (status, result) {\n      var _result$info2;\n      if (status === 'complete' && ((_result$info2 = result.info) === null || _result$info2 === void 0 ? void 0 : _result$info2.toLowerCase()) === 'ok') {\n        var _result$geocodes = _slicedToArray(result.geocodes, 1),\n          geocode = _result$geocodes[0];\n        var location = geocode.location,\n          formattedAddress = geocode.formattedAddress;\n        var loc = {\n          lng: location.lng,\n          lat: location.lat\n        };\n        var _point = {\n          name: formattedAddress,\n          location: loc\n        };\n        addMarker(_point);\n      }\n    });\n  }, [point, address, isMapComplete.current]);\n  (0, _react.useEffect)(function () {\n    if (!code) return;\n    (0, _mapUtil.executeJsFunction)(code, mapRef.current);\n  }, [code]);\n  (0, _react.useImperativeHandle)(ref, function () {\n    return {\n      getAddress: getAddress,\n      getCenter: getCenter,\n      locate: locate,\n      search: search,\n      searchNearBy: searchNearBy,\n      setCenter: setCenter\n    };\n  }, []);\n  var handleMapComplete = useEffectEvent(function () {\n    if (locked) return;\n    isMapComplete.current = true;\n    showSearchBox && setShowSearchBar(showSearchBox); // 地图加载完成后再显示搜索框\n    onLoaded && onLoaded();\n    dragEnable && addMapEventListeners();\n    !point && !address && locate();\n  });\n  var addMapEventListeners = useEffectEvent(function () {\n    if (onMoveStart) {\n      mapRef.current.on('movestart', onMoveStart);\n    }\n    if (onMove) {\n      mapRef.current.on('mapmove', onMove);\n    }\n    if (onMoveEnd) {\n      mapRef.current.on('moveend', onMoveEnd);\n    }\n  });\n  var removeMapEventListeners = useEffectEvent(function () {\n    if (!mapRef.current || !mapRef.current.off) return;\n    if (onMoveStart) {\n      mapRef.current.off('movestart', onMoveStart);\n    }\n    if (onMove) {\n      mapRef.current.off('mapmove', onMove);\n    }\n    if (onMoveEnd) {\n      mapRef.current.off('moveend', onMoveEnd);\n    }\n  });\n\n  /**\n   * 定位\n   * @param {Function} cb 定位回调函数 (status, result) => {...}\n   */\n  var locate = useEffectEvent(function (cb) {\n    if (!mapRef.current) {\n      return;\n    }\n    mapRef.current.plugin('AMap.Geolocation', function () {\n      geolocation.current = new window.AMap.Geolocation({\n        enableHighAccuracy: true,\n        // 是否使用高精度定位，默认:true\n        timeout: 10000,\n        // 超过10秒后停止定位，默认：无穷大\n        maximumAge: 10000,\n        // 定位结果缓存0毫秒，默认：0\n        convert: true,\n        // 自动偏移坐标，偏移后的坐标为高德坐标，默认：true\n        showButton: true,\n        // 显示定位按钮，默认：true\n        buttonPosition: 'RB',\n        // 定位按钮停靠位置，默认：'LB'，左下角\n        buttonOffset: new window.AMap.Pixel(10, 20),\n        // 定位按钮与设置的停靠位置的偏移量，默认：Pixel(10, 20)\n        showMarker: true,\n        // 定位成功后在定位到的位置显示点标记，默认：true\n        showCircle: true,\n        // 定位成功后用圆圈表示定位精度范围，默认：true\n        panToLocation: true,\n        // 定位成功后将定位到的位置作为地图中心点，默认：true\n        zoomToAccuracy: false,\n        // 定位成功后调整地图视野范围使定位位置及精度范围视野内可见，默认：false\n        extensions: 'all'\n      });\n      mapRef.current.addControl(geolocation.current);\n      geolocation.current.getCurrentPosition();\n      if (isWatch) {\n        watchId.current = geolocation.current.watchPosition();\n      }\n      window.AMap.Event.addListener(geolocation.current, 'error', function (data) {\n        var originMessage = data.originMessage;\n        showMessage === null || showMessage === void 0 || showMessage(originMessage);\n      });\n    });\n  });\n\n  /**\n   * 逆地理编码\n   * @param {number} lng 经度\n   * @param {number} lat 纬度\n   * @param {Function} cb 回调函数 (status, result) => {...}\n   */\n  var getAddress = function getAddress(lng, lat, cb) {\n    if (!lng || !lat) {\n      return;\n    }\n    var geocoder = new window.AMap.Geocoder();\n    geocoder.getAddress([lng, lat], cb);\n  };\n\n  /**\n   * 根据关键字搜索\n   * @param {string} keyword 关键字\n   * @param {string} city 城市\n   * @param {string} type 兴趣点\n   * @param {number} pageSize 每页结果数\n   * @param {number} pageIndex 请求页码\n   * @param {Function} cb 回调函数 (status, res) => {...}\n   */\n  var search = function search(_ref2) {\n    var _ref2$keyword = _ref2.keyword,\n      keyword = _ref2$keyword === void 0 ? '' : _ref2$keyword,\n      _ref2$city = _ref2.city,\n      city = _ref2$city === void 0 ? '全国' : _ref2$city,\n      _ref2$type = _ref2.type,\n      type = _ref2$type === void 0 ? '' : _ref2$type,\n      _ref2$pageSize = _ref2.pageSize,\n      pageSize = _ref2$pageSize === void 0 ? 20 : _ref2$pageSize,\n      _ref2$pageIndex = _ref2.pageIndex,\n      pageIndex = _ref2$pageIndex === void 0 ? 1 : _ref2$pageIndex,\n      cb = _ref2.cb;\n    if (!mapRef.current) {\n      return;\n    }\n    var placeSearch = new window.AMap.PlaceSearch({\n      city: city,\n      pageSize: pageSize,\n      pageIndex: pageIndex,\n      type: type,\n      extensions: 'all'\n    });\n    placeSearch.search(keyword, cb);\n  };\n\n  /**\n   * 根据关键字进行中心点周边搜索\n   * @param {string} keyword 关键字\n   * @param {string} city 城市\n   * @param {object} center 中心点经纬度 [lng, lat]\n   * @param {number} radius 搜索半径 0-50000\n   * @param {string} type 兴趣点类型\n   * @param {number} pageSize 每页结果数\n   * @param {number} pageIndex 请求页码\n   * @param {Function} cb 回调函数 (status, res) => {...}\n   */\n  var searchNearBy = function searchNearBy(_ref3) {\n    var _ref3$keyword = _ref3.keyword,\n      keyword = _ref3$keyword === void 0 ? '' : _ref3$keyword,\n      city = _ref3.city,\n      center = _ref3.center,\n      _ref3$radius = _ref3.radius,\n      radius = _ref3$radius === void 0 ? 500 : _ref3$radius,\n      type = _ref3.type,\n      pageSize = _ref3.pageSize,\n      pageIndex = _ref3.pageIndex,\n      cb = _ref3.cb;\n    if (!center || !mapRef.current) {\n      return;\n    }\n    var placeSearch = new window.AMap.PlaceSearch({\n      city: city,\n      pageSize: pageSize,\n      pageIndex: pageIndex,\n      type: type,\n      extensions: 'all'\n    });\n    placeSearch.searchNearBy(keyword, center, radius, cb);\n  };\n\n  /**\n   * 将给定地点坐标设置为地图中心点\n   * @param {number} lng 经度\n   * @param {number} lat 纬度\n   */\n  var setCenter = function setCenter(lng, lat) {\n    if (!mapRef.current || !lng || !lat) {\n      return;\n    }\n    var position = new window.AMap.LngLat(lng, lat);\n    mapRef.current.setCenter(position);\n    mapRef.current.setZoom(17);\n  };\n\n  /**\n   * 获取当前地图中心点坐标\n   * @returns 地图中心点经纬度\n   */\n  var getCenter = function getCenter() {\n    if (!mapRef.current || !mapRef.current.getCenter) return;\n    var center = mapRef.current.getCenter();\n    return {\n      lat: center.lat,\n      lng: center.lng\n    };\n  };\n\n  /**\n   * 搜索框值变化处理\n   */\n  var handleSearchValChange = (0, _lodash.debounce)(function (value) {\n    // const { value } = evt.target\n    var autoComplete = new window.AMap.AutoComplete({\n      city: '全国',\n      input: searchInputId.current\n    });\n    autoComplete.search(value, function (status, result) {\n      if (status === 'complete') {\n        var info = result.info,\n          tips = result.tips;\n        if (info !== 'OK') {\n          setSearchResults([]);\n        }\n        setSearchResults(tips);\n      } else {\n        setSearchResults([]);\n      }\n    });\n  }, 300);\n\n  /**\n   * 选中搜索框搜索结果\n   */\n  var handleSelectResult = function handleSelectResult(id) {\n    // const poi =\n    var result = searchResults.find(function (result) {\n      return result.id === id;\n    });\n    if (!result) return;\n    setSearchResults([]);\n    var placeSearch = new window.AMap.PlaceSearch({\n      city: result.adcode\n    });\n    placeSearch.search(result.name, function (status, result) {\n      if (status === 'complete') {\n        var info = result.info,\n          poiList = result.poiList;\n        if (info === 'OK') {\n          var firstPoi = poiList.pois[0];\n          mapRef.current.clearMap();\n          addMarker(firstPoi);\n        }\n      }\n    });\n  };\n\n  /**\n   * 添加标记\n   * @param {object} poi 地址\n   */\n  var addMarker = useEffectEvent(function (poi) {\n    var name = poi.name,\n      location = poi.location;\n    var lng = location.lng,\n      lat = location.lat;\n    var position = new window.AMap.LngLat(lng, lat);\n    var marker = new window.AMap.Marker({\n      position: position,\n      title: name\n    });\n    if (markerDraggable) {\n      marker.setDraggable(true);\n      marker.on('dragend', handleMarkerDragEnd);\n      marker.on('dragstart', handleMarkerDragStart);\n      marker.on('click', handleMarkerClick);\n    }\n    mapRef.current.add(marker);\n    mapRef.current.setCenter(position);\n  });\n  var handleMarkerDragStart = function handleMarkerDragStart() {\n    var _infoWindowRef$curren;\n    (_infoWindowRef$curren = infoWindowRef.current) === null || _infoWindowRef$curren === void 0 || _infoWindowRef$curren.close();\n  };\n  var handleMarkerDragEnd = function handleMarkerDragEnd(evt) {\n    var lat = evt.target._position[1] || evt.target._position.getLat();\n    var lng = evt.target._position[0] || evt.target._position.getLng();\n    getAddress(lng, lat, function (status, result) {\n      var _result$info3;\n      if (status === 'complete' && ((_result$info3 = result.info) === null || _result$info3 === void 0 ? void 0 : _result$info3.toLowerCase()) === 'ok') {\n        var _result$regeocode = result.regeocode,\n          addressComponent = _result$regeocode.addressComponent,\n          formattedAddress = _result$regeocode.formattedAddress;\n        var street = addressComponent.street,\n          streetNumber = addressComponent.streetNumber,\n          province = addressComponent.province,\n          city = addressComponent.city,\n          district = addressComponent.district,\n          township = addressComponent.township;\n        var content = [\"\".concat(province).concat(city).concat(district).concat(township).concat(street).concat(streetNumber), \"<div style='font-size:14px;margin-top: 10px'>\".concat(formattedAddress, \"</div>\")];\n        var lngLat = new window.AMap.LngLat(lng, lat);\n        createInfoWindow(lngLat, content.join('<br />'));\n        selectPoint === null || selectPoint === void 0 || selectPoint({\n          latitude: lat,\n          longitude: lng,\n          province: province,\n          city: city,\n          district: district,\n          name: '',\n          address: \"\".concat(street).concat(streetNumber),\n          addressdetail: formattedAddress\n        }, {\n          from: 'gcj02',\n          to: 'bd09ll'\n        });\n      }\n    });\n  };\n  var handleMarkerClick = function handleMarkerClick(evt) {\n    var lat = evt.target._position[1] || evt.target._position.getLat();\n    var lng = evt.target._position[0] || evt.target._position.getLng();\n    getAddress(lng, lat, function (status, result) {\n      var _result$info4;\n      if (status === 'complete' && ((_result$info4 = result.info) === null || _result$info4 === void 0 ? void 0 : _result$info4.toLowerCase()) === 'ok') {\n        var _result$regeocode2 = result.regeocode,\n          addressComponent = _result$regeocode2.addressComponent,\n          formattedAddress = _result$regeocode2.formattedAddress;\n        var street = addressComponent.street,\n          streetNumber = addressComponent.streetNumber,\n          province = addressComponent.province,\n          city = addressComponent.city,\n          district = addressComponent.district,\n          township = addressComponent.township;\n        if (infoWindowRef.current) {\n          infoWindowRef.current.close();\n        } else {\n          var content = [\"\".concat(province).concat(city).concat(district).concat(township).concat(street).concat(streetNumber), \"<div style='font-size:14px;margin-top: 10px'>\".concat(formattedAddress, \"</div>\")];\n          var lngLat = new window.AMap.LngLat(lng, lat);\n          createInfoWindow(lngLat, content.join('<br />'));\n        }\n        selectPoint === null || selectPoint === void 0 || selectPoint({\n          latitude: lat,\n          longitude: lng,\n          province: province,\n          city: city,\n          district: district,\n          name: '',\n          address: \"\".concat(street).concat(streetNumber),\n          addressdetail: formattedAddress\n        }, {\n          from: 'gcj02',\n          to: 'bd09ll'\n        });\n      }\n    });\n  };\n  var createInfoWindow = function createInfoWindow(lngLat, content) {\n    infoWindowRef.current = new window.AMap.InfoWindow({\n      content: content\n    });\n    infoWindowRef.current.open(mapRef.current, lngLat);\n  };\n  var containerClz = (0, _classnames[\"default\"])(_AMap[\"default\"]['amap-container'], containerClassName);\n  var mapClz = (0, _classnames[\"default\"])(_AMap[\"default\"].amap, mapClassName);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: containerClz,\n    ref: ref,\n    style: containerStyle,\n    \"data-page-id\": \"\".concat(pageId, \"_\").concat(id)\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    id: \"\".concat(MAP_CONTAINER_ID, \"_\").concat(id),\n    ref: mapRef,\n    className: mapClz,\n    style: mapStyle\n  }), showSearchBar && !locked && /*#__PURE__*/_react[\"default\"].createElement(_MapSearchBox[\"default\"], {\n    placeholder: placeholder,\n    searchResults: searchResults,\n    onChange: handleSearchValChange,\n    onSelectResult: handleSelectResult\n  }));\n};\nvar _default = exports[\"default\"] = /*#__PURE__*/_react[\"default\"].forwardRef(AMap);\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Map/AMap.jsx?");

/***/ }),

/***/ "./src/component/web/base/Map/GMap.jsx":
/*!*********************************************!*\
  !*** ./src/component/web/base/Map/GMap.jsx ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.async-iterator.js */ \"../../node_modules/core-js/modules/es.symbol.async-iterator.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.symbol.to-string-tag.js */ \"../../node_modules/core-js/modules/es.symbol.to-string-tag.js\");\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.from.js */ \"../../node_modules/core-js/modules/es.array.from.js\");\n__webpack_require__(/*! core-js/modules/es.array.reverse.js */ \"../../node_modules/core-js/modules/es.array.reverse.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.json.to-string-tag.js */ \"../../node_modules/core-js/modules/es.json.to-string-tag.js\");\n__webpack_require__(/*! core-js/modules/es.math.to-string-tag.js */ \"../../node_modules/core-js/modules/es.math.to-string-tag.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-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.to-string.js */ \"../../node_modules/core-js/modules/es.regexp.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.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.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.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.join.js */ \"../../node_modules/core-js/modules/es.array.join.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/es.promise.js */ \"../../node_modules/core-js/modules/es.promise.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.set.js */ \"../../node_modules/core-js/modules/es.set.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/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\n__webpack_require__(/*! core-js/modules/web.url-search-params.js */ \"../../node_modules/core-js/modules/web.url-search-params.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 _mapUtil = __webpack_require__(/*! @/util/mapUtil */ \"./src/util/mapUtil.js\");\nvar _GMapSearchBox = _interopRequireDefault(__webpack_require__(/*! ./GMapSearchBox */ \"./src/component/web/base/Map/GMapSearchBox.jsx\"));\nvar _lodash = __webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _GMap = _interopRequireDefault(__webpack_require__(/*! ./GMap.less */ \"./src/component/web/base/Map/GMap.less\"));\nvar _mapConst = __webpack_require__(/*! @/constant/mapConst */ \"./src/constant/mapConst.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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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); }\nfunction _regeneratorRuntime() { \"use strict\"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = \"function\" == typeof Symbol ? Symbol : {}, a = i.iterator || \"@@iterator\", c = i.asyncIterator || \"@@asyncIterator\", u = i.toStringTag || \"@@toStringTag\"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, \"\"); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, \"_invoke\", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: \"normal\", arg: t.call(e, r) }; } catch (t) { return { type: \"throw\", arg: t }; } } e.wrap = wrap; var h = \"suspendedStart\", l = \"suspendedYield\", f = \"executing\", s = \"completed\", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { [\"next\", \"throw\", \"return\"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if (\"throw\" !== c.type) { var u = c.arg, h = u.value; return h && \"object\" == _typeof(h) && n.call(h, \"__await\") ? e.resolve(h.__await).then(function (t) { invoke(\"next\", t, i, a); }, function (t) { invoke(\"throw\", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke(\"throw\", t, i, a); }); } a(c.arg); } var r; o(this, \"_invoke\", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error(\"Generator is already running\"); if (o === s) { if (\"throw\" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if (\"next\" === n.method) n.sent = n._sent = n.arg;else if (\"throw\" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else \"return\" === n.method && n.abrupt(\"return\", n.arg); o = f; var p = tryCatch(e, r, n); if (\"normal\" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } \"throw\" === p.type && (o = s, n.method = \"throw\", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, \"throw\" === n && e.iterator[\"return\"] && (r.method = \"return\", r.arg = t, maybeInvokeDelegate(e, r), \"throw\" === r.method) || \"return\" !== n && (r.method = \"throw\", r.arg = new TypeError(\"The iterator does not provide a '\" + n + \"' method\")), y; var i = tryCatch(o, e.iterator, r.arg); if (\"throw\" === i.type) return r.method = \"throw\", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, \"return\" !== r.method && (r.method = \"next\", r.arg = t), r.delegate = null, y) : a : (r.method = \"throw\", r.arg = new TypeError(\"iterator result is not an object\"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = \"normal\", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: \"root\" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || \"\" === e) { var r = e[a]; if (r) return r.call(e); if (\"function\" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + \" is not iterable\"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, \"constructor\", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, \"constructor\", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, \"GeneratorFunction\"), e.isGeneratorFunction = function (t) { var e = \"function\" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || \"GeneratorFunction\" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, \"GeneratorFunction\")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, \"Generator\"), define(g, a, function () { return this; }), define(g, \"toString\", function () { return \"[object Generator]\"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) \"t\" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if (\"throw\" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = \"throw\", a.arg = e, r.next = n, o && (r.method = \"next\", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if (\"root\" === i.tryLoc) return handle(\"end\"); if (i.tryLoc <= this.prev) { var c = n.call(i, \"catchLoc\"), u = n.call(i, \"finallyLoc\"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error(\"try statement without catch or finally\"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, \"finallyLoc\") && this.prev < o.finallyLoc) { var i = o; break; } } i && (\"break\" === t || \"continue\" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = \"next\", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if (\"throw\" === t.type) throw t.arg; return \"break\" === t.type || \"continue\" === t.type ? this.next = t.arg : \"return\" === t.type ? (this.rval = this.arg = t.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, \"catch\": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if (\"throw\" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error(\"illegal catch attempt\"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, \"next\" === this.method && (this.arg = t), y; } }, e; }\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 _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 asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\nfunction _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\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; } /**\n * google地图: https://developers.google.com/maps/documentation/javascript/reference\n */\nvar MAP_CONTAINER_ID = '__map_of_lbs__';\nvar useEffectEvent = function useEffectEvent(cb) {\n  var fn = (0, _react.useRef)(null);\n  fn.current = cb;\n  return function () {\n    fn.current.apply(fn, arguments);\n  };\n};\nvar GMap = function GMap(_ref, ref) {\n  var address = _ref.address,\n    _ref$autoPosition = _ref.autoPosition,\n    autoPosition = _ref$autoPosition === void 0 ? true : _ref$autoPosition,\n    code = _ref.code,\n    containerClassName = _ref.containerClassName,\n    containerStyle = _ref.containerStyle,\n    _ref$dragEnable = _ref.dragEnable,\n    dragEnable = _ref$dragEnable === void 0 ? false : _ref$dragEnable,\n    id = _ref.id,\n    isWatch = _ref.isWatch,\n    mapKey = _ref.mapKey,\n    locked = _ref.locked,\n    mapClassName = _ref.mapClassName,\n    mapStyle = _ref.mapStyle,\n    _ref$markerDraggable = _ref.markerDraggable,\n    markerDraggable = _ref$markerDraggable === void 0 ? false : _ref$markerDraggable,\n    placeholder = _ref.placeholder,\n    point = _ref.point,\n    _ref$showSearchBox = _ref.showSearchBox,\n    showSearchBox = _ref$showSearchBox === void 0 ? true : _ref$showSearchBox,\n    onLoaded = _ref.onLoaded,\n    onMove = _ref.onMove,\n    onMoveStart = _ref.onMoveStart,\n    onMoveEnd = _ref.onMoveEnd,\n    selectPoint = _ref.selectPoint,\n    showMessage = _ref.showMessage,\n    pageId = _ref.pageId,\n    mapOptions = _ref.mapOptions,\n    _ref$locale = _ref.locale,\n    locale = _ref$locale === void 0 ? 'zh_CN' : _ref$locale;\n  var mapRef = (0, _react.useRef)();\n  var watchId = (0, _react.useRef)();\n  var geolocation = (0, _react.useRef)(); // 定位实例\n  var searchInputId = (0, _react.useRef)();\n  var infoWindowRef = (0, _react.useRef)();\n  var isMapLoaded = (0, _react.useRef)(false);\n  var searchboxRef = (0, _react.useRef)();\n  var markerListeners = (0, _react.useRef)([]);\n  var _useState = (0, _react.useState)([]),\n    _useState2 = _slicedToArray(_useState, 2),\n    searchResults = _useState2[0],\n    setSearchResults = _useState2[1];\n  var _useState3 = (0, _react.useState)(false),\n    _useState4 = _slicedToArray(_useState3, 2),\n    showSearchBar = _useState4[0],\n    setShowSearchBar = _useState4[1];\n  (0, _react.useEffect)(function () {\n    if (!mapKey) return;\n    (function (g) {\n      var h,\n        a,\n        k,\n        p = \"The Google Maps JavaScript API\",\n        c = \"google\",\n        l = \"importLibrary\",\n        q = \"__ib__\",\n        m = document,\n        b = window;\n      b = b[c] || (b[c] = {});\n      var d = b.maps || (b.maps = {}),\n        r = new Set(),\n        e = new URLSearchParams(),\n        u = function u() {\n          return h || (h = new Promise( /*#__PURE__*/function () {\n            var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(f, n) {\n              var _m$querySelector;\n              return _regeneratorRuntime().wrap(function _callee$(_context) {\n                while (1) switch (_context.prev = _context.next) {\n                  case 0:\n                    _context.next = 2;\n                    return a = m.createElement(\"script\");\n                  case 2:\n                    e.set(\"libraries\", _toConsumableArray(r) + \"\");\n                    for (k in g) e.set(k.replace(/[A-Z]/g, function (t) {\n                      return \"_\" + t[0].toLowerCase();\n                    }), g[k]);\n                    e.set(\"callback\", c + \".maps.\" + q);\n                    a.src = \"https://maps.\".concat(c, \"apis.com/maps/api/js?\") + e;\n                    d[q] = f;\n                    a.onerror = function () {\n                      return h = n(Error(p + \" could not load.\"));\n                    };\n                    a.nonce = ((_m$querySelector = m.querySelector(\"script[nonce]\")) === null || _m$querySelector === void 0 ? void 0 : _m$querySelector.nonce) || \"\";\n                    m.head.append(a);\n                  case 10:\n                  case \"end\":\n                    return _context.stop();\n                }\n              }, _callee);\n            }));\n            return function (_x, _x2) {\n              return _ref2.apply(this, arguments);\n            };\n          }()));\n        };\n      d[l] ? console.warn(p + \" only loads once. Ignoring:\", g) : d[l] = function (f) {\n        for (var _len = arguments.length, n = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n          n[_key - 1] = arguments[_key];\n        }\n        return r.add(f) && u().then(function () {\n          return d[l].apply(d, [f].concat(n));\n        });\n      };\n    })({\n      key: mapKey,\n      language: locale,\n      v: \"weekly\",\n      libraries: ['places']\n    });\n    initMap();\n    return function () {\n      markerListeners.current.forEach(function (listener) {\n        google.maps.event.removeListener(listener);\n      });\n      google.maps.event.clearInstanceListeners(mapRef.current);\n      mapRef.current = null;\n      var mapContainer = document.getElementById(\"\".concat(MAP_CONTAINER_ID, \"_\").concat(id));\n      mapContainer.parentNode.removeChild(mapContainer);\n    };\n  }, [mapKey, locale]);\n  function initMap() {\n    return _initMap.apply(this, arguments);\n  } // 选中地点\n  function _initMap() {\n    _initMap = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {\n      var _yield$google$maps$im, Map, gestureHandling;\n      return _regeneratorRuntime().wrap(function _callee2$(_context2) {\n        while (1) switch (_context2.prev = _context2.next) {\n          case 0:\n            _context2.next = 2;\n            return google.maps.importLibrary(\"maps\");\n          case 2:\n            _yield$google$maps$im = _context2.sent;\n            Map = _yield$google$maps$im.Map;\n            gestureHandling = !locked && dragEnable ? '' : 'none';\n            mapRef.current = new Map(document.getElementById(\"\".concat(MAP_CONTAINER_ID, \"_\").concat(id)), _objectSpread({\n              center: {\n                lat: 39.915,\n                lng: 116.404\n              },\n              zoom: 8,\n              mapTypeId: 'roadmap',\n              mapTypeControlOptions: {\n                mapTypeIds: []\n              },\n              // 隐藏标准地图和卫星地图切换按钮\n              gestureHandling: gestureHandling,\n              // 'none' 停用拖动功能\n              zoomControl: !locked,\n              // 缩放控件的启用/停用状态\n              streetViewControl: false\n            }, mapOptions));\n            handleMaploaded();\n          case 7:\n          case \"end\":\n            return _context2.stop();\n        }\n      }, _callee2);\n    }));\n    return _initMap.apply(this, arguments);\n  }\n  (0, _react.useEffect)(function () {\n    if (!isMapLoaded.current || !point) return;\n    var lng = point.get('point').get('lng');\n    var lat = point.get('point').get('lat');\n    var location = {\n      lng: lng,\n      lat: lat\n    };\n    addMarker({\n      location: location\n    });\n  }, [point, isMapLoaded.current]);\n\n  // 选中地址\n  (0, _react.useEffect)(function () {\n    if (!isMapLoaded.current || !address) return;\n    var newAddress = address.get('detailAddress').get(0);\n    // 地理位置编码\n    var cb = function cb(result, status) {\n      var formatted_address = result.formatted_address,\n        geometry = result.geometry;\n      var location = geometry.location;\n      var loc = {\n        lng: location.lng(),\n        lat: location.lat()\n      };\n      var point = {\n        name: formatted_address,\n        location: loc\n      };\n      addMarker(point);\n    };\n    geocode({\n      address: newAddress,\n      cb: cb\n    });\n  }, [address, isMapLoaded.current]);\n  (0, _react.useEffect)(function () {\n    if (!code) return;\n    (0, _mapUtil.executeJsFunction)(code, mapRef.current);\n  }, [code]);\n  (0, _react.useImperativeHandle)(ref, function () {\n    return {\n      geocode: geocode,\n      getCenter: getCenter,\n      locate: locate,\n      search: search,\n      nearbySearch: nearbySearch,\n      setCenter: setCenter\n    };\n  }, []);\n  var handleMaploaded = useEffectEvent(function () {\n    if (locked) return;\n    isMapLoaded.current = true;\n    showSearchBox && setShowSearchBar(showSearchBox); // 地图加载完成后再显示搜索框\n    onLoaded && onLoaded();\n    dragEnable && addMapEventListeners();\n    !point && !address && locate();\n  });\n  var addMapEventListeners = useEffectEvent(function () {\n    if (onMoveStart) {\n      mapRef.current.addListener('dragstart', onMoveStart);\n    }\n    if (onMove) {\n      mapRef.current.addListener('drag', onMove);\n    }\n    if (onMoveEnd) {\n      mapRef.current.addListener('dragend', onMoveEnd);\n    }\n  });\n\n  /**\n   * 定位\n   * @param {Function} cb 定位回调函数 (status, result) => {...}\n   */\n  var locate = useEffectEvent(function (cb) {\n    if (!mapRef.current) {\n      return;\n    }\n    // Try HTML5 geolocation.\n    if (navigator.geolocation) {\n      navigator.geolocation.getCurrentPosition(function (position) {\n        var _infoWindowRef$curren, _infoWindowRef$curren2, _infoWindowRef$curren3;\n        var lng = position.coords.longitude;\n        var lat = position.coords.latitude;\n        var pos = {\n          lat: lat,\n          lng: lng\n        };\n        (_infoWindowRef$curren = infoWindowRef.current) === null || _infoWindowRef$curren === void 0 || _infoWindowRef$curren.setPosition(pos);\n        (_infoWindowRef$curren2 = infoWindowRef.current) === null || _infoWindowRef$curren2 === void 0 || _infoWindowRef$curren2.setContent(\"Location found.\");\n        (_infoWindowRef$curren3 = infoWindowRef.current) === null || _infoWindowRef$curren3 === void 0 || _infoWindowRef$curren3.open(mapRef.current);\n        setCenter(lng, lat);\n      }, function (data) {\n        handleLocationError(true, mapRef.current.getCenter(), data);\n      });\n    } else {\n      // Browser doesn't support Geolocation\n      handleLocationError(false, mapRef.current.getCenter());\n    }\n    // }\n    var handleLocationError = function handleLocationError(browserHasGeolocation, pos, data) {\n      if (data) {\n        var originMessage = data.originMessage;\n        showMessage === null || showMessage === void 0 || showMessage(originMessage);\n        console.log(\"Error: The Geolocation service failed.\");\n      } else {\n        console.log(\"Error: Your browser doesn't support geolocation.\");\n      }\n    };\n  });\n\n  /**\n   * 逆地理编码、地理编码，google map为同一个api\n   * @param {number} location 要搜索的 LatLng\n   * @param {number} address 要进行地理编码的地址\n   * @param {Function} cb 回调函数 (status, result) => {...}\n   */\n  var geocode = function geocode(_ref3) {\n    var location = _ref3.location,\n      address = _ref3.address,\n      cb = _ref3.cb;\n    if (!location && !address) {\n      return;\n    }\n    var geocoder = new window.google.maps.Geocoder();\n    geocoder.geocode({\n      location: location,\n      address: address\n    }).then(function (response) {\n      if (response.results[0]) {\n        cb(response.results[0]);\n      } else {\n        console.log(\"No results found\");\n      }\n    })[\"catch\"](function (e) {\n      return console.log(\"Geocoder failed due to: \" + e);\n    });\n  };\n\n  /**\n   * 根据关键字搜索\n   * @param {string} keyword 关键字\n   * @param {string} type 兴趣点\n   * @param {Function} cb 回调函数 (status, res) => {...}\n   */\n  var search = function search(_ref4) {\n    var _ref4$keyword = _ref4.keyword,\n      keyword = _ref4$keyword === void 0 ? '' : _ref4$keyword,\n      _ref4$type = _ref4.type,\n      type = _ref4$type === void 0 ? '' : _ref4$type,\n      cb = _ref4.cb;\n    if (!mapRef.current) {\n      return;\n    }\n    var service = new window.google.maps.places.PlacesService(mapRef.current);\n    var request = {\n      query: keyword,\n      // 搜索关键词\n      type: type\n    };\n    service.textSearch(request, cb);\n  };\n\n  /**\n   * 根据关键字进行中心点周边搜索\n   * @param {string} keyword 关键字\n   * @param {object} center 中心点经纬度 [lng, lat]\n   * @param {number} radius 搜索半径 0-50000\n   * @param {string} type 兴趣点类型\n   * @param {Function} cb 回调函数 (status, res) => {...}\n   */\n  var nearbySearch = function nearbySearch(_ref5) {\n    var _ref5$keyword = _ref5.keyword,\n      keyword = _ref5$keyword === void 0 ? '' : _ref5$keyword,\n      center = _ref5.center,\n      _ref5$radius = _ref5.radius,\n      radius = _ref5$radius === void 0 ? 500 : _ref5$radius,\n      type = _ref5.type,\n      cb = _ref5.cb;\n    if (!center || !mapRef.current) {\n      return;\n    }\n    var pyrmont = new google.maps.LatLng(center.lat, center.lng);\n    var request = {\n      location: pyrmont,\n      // 可选，提供位置信息以获得更精确的本地搜索结果\n      radius: radius,\n      // 可选，搜索半径（单位：米）\n      query: keyword,\n      // 搜索关键词\n      type: type\n    };\n    var service = new window.google.maps.places.PlacesService(mapRef.current);\n    service.nearbySearch(request, cb);\n  };\n\n  /**\n   * 将给定地点坐标设置为地图中心点\n   * @param {number} lng 经度\n   * @param {number} lat 纬度\n   */\n  var setCenter = function setCenter(lng, lat) {\n    if (!mapRef.current || !lng || !lat) {\n      return;\n    }\n    mapRef.current.setCenter({\n      lng: lng,\n      lat: lat\n    });\n    mapRef.current.setZoom(18);\n  };\n\n  /**\n   * 获取当前地图中心点坐标\n   * @returns 地图中心点经纬度\n   */\n  var getCenter = function getCenter() {\n    if (!mapRef.current || !mapRef.current.getCenter) return;\n    var center = mapRef.current.getCenter();\n    return {\n      lat: center.lat,\n      lng: center.lng\n    };\n  };\n\n  /**\n   * 搜索框值变化处理\n   */\n  var handleSearchValChange = (0, _lodash.debounce)(function (value) {\n    // 地点自动补全服务\n    var service = new google.maps.places.AutocompleteService();\n    service.getPlacePredictions({\n      input: value\n    }, function (results, status) {\n      if (status === 'OK' && results) {\n        setSearchResults(results);\n      } else {\n        setSearchResults([]);\n      }\n    });\n  }, 300);\n\n  /**\n   * 选中搜索框搜索结果\n   */\n  var handleSelectResult = function handleSelectResult(id) {\n    var result = searchResults.find(function (result) {\n      return result.place_id === id;\n    });\n    if (!result) return;\n    setSearchResults([]);\n    var request = {\n      placeId: result.place_id,\n      fields: [\"name\", \"formatted_address\", \"place_id\", \"geometry\"]\n    };\n    var service = new window.google.maps.places.PlacesService(mapRef.current);\n    service.getDetails(request, function (place, status) {\n      if (status === 'OK' && place && place.geometry) {\n        var _place$geometry$locat, _place$geometry$locat2;\n        var name = place.formatted_address;\n        var location = {\n          lng: (_place$geometry$locat = place.geometry.location) === null || _place$geometry$locat === void 0 ? void 0 : _place$geometry$locat.lng(),\n          lat: (_place$geometry$locat2 = place.geometry.location) === null || _place$geometry$locat2 === void 0 ? void 0 : _place$geometry$locat2.lat()\n        };\n        addMarker({\n          name: name,\n          location: location\n        });\n      }\n    });\n  };\n\n  /**\n   * 添加标记\n   * @param {object} poi 地址\n   */\n  var addMarker = useEffectEvent(function (poi) {\n    var name = poi.name,\n      location = poi.location;\n    var lng = location.lng,\n      lat = location.lat;\n    var marker = new google.maps.Marker({\n      position: location,\n      title: name,\n      map: mapRef.current\n    });\n    if (markerDraggable) {\n      marker.setDraggable(true);\n      var clickListener = marker.addListener('click', handleMarkerClick);\n      var dragStartListener = marker.addListener('dragstart', handleMarkerDragStart);\n      var dragEndListener = marker.addListener('dragend', handleMarkerClick);\n      markerListeners.current = markerListeners.current.concat([clickListener, dragStartListener, dragEndListener]);\n    }\n    setCenter(lng, lat);\n  });\n  var handleMarkerDragStart = function handleMarkerDragStart() {\n    var _infoWindowRef$curren4;\n    (_infoWindowRef$curren4 = infoWindowRef.current) === null || _infoWindowRef$curren4 === void 0 || _infoWindowRef$curren4.close();\n  };\n  var handleMarkerClick = function handleMarkerClick(evt) {\n    // 此处lat、lng参数获取需要重写\n    var lat = evt.target._position[1] || evt.target._position.getLat();\n    var lng = evt.target._position[0] || evt.target._position.getLng();\n    var location = {\n      lng: lng,\n      lat: lat\n    };\n    var cb = function cb(result) {\n      var addressComponents = result.address_components,\n        formattedAddress = result.formatted_address;\n      var components = {};\n      addressComponents.forEach(function (item) {\n        var types = item.types[0];\n        components[types] = item['long_name'];\n      });\n      var streetNumber = components.street_number,\n        street = components.route,\n        district = components.neighborhood,\n        city = components.administrative_area_level_2,\n        province = components.administrative_area_level_1,\n        country = components.country;\n      if (infoWindowRef.current) {\n        infoWindowRef.current.close();\n      } else {\n        var content = [\"\".concat(province).concat(city).concat(district).concat(street).concat(streetNumber), \"<div style='font-size:14px;margin-top: 10px'>\".concat(formatted_address, \"</div>\")];\n        var LatLng = new window.AMap.LatLng(lng, lat);\n        createInfoWindow(LatLng, content.join('<br />'));\n      }\n      selectPoint === null || selectPoint === void 0 || selectPoint({\n        latitude: lat,\n        longitude: lng,\n        province: province,\n        city: city,\n        district: district,\n        // 区\n        name: '',\n        address: \"\".concat(street).concat(streetNumber),\n        addressdetail: formattedAddress\n      }, {\n        from: 'gcj02',\n        to: 'bd09ll'\n      });\n    };\n    geocode({\n      location: location,\n      cb: cb\n    });\n  };\n  var createInfoWindow = function createInfoWindow(LatLng, content) {\n    infoWindowRef.current = new window.google.maps.InfoWindow({\n      content: content\n    });\n    infoWindowRef.current.open(mapRef.current, LatLng);\n  };\n  var containerClz = (0, _classnames[\"default\"])(_GMap[\"default\"]['gmap-container'], containerClassName);\n  var mapClz = (0, _classnames[\"default\"])(_GMap[\"default\"].gmap, mapClassName);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: containerClz,\n    ref: ref,\n    style: containerStyle,\n    \"data-page-id\": \"\".concat(pageId, \"_\").concat(id)\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    id: \"\".concat(MAP_CONTAINER_ID, \"_\").concat(id),\n    ref: mapRef,\n    className: mapClz,\n    style: mapStyle\n  }), showSearchBar && !locked && /*#__PURE__*/_react[\"default\"].createElement(_GMapSearchBox[\"default\"], {\n    placeholder: placeholder,\n    searchResults: searchResults,\n    onChange: handleSearchValChange,\n    onSelectResult: handleSelectResult\n  }));\n};\nvar _default = exports[\"default\"] = /*#__PURE__*/_react[\"default\"].forwardRef(GMap);\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Map/GMap.jsx?");

/***/ }),

/***/ "./src/component/web/base/Map/GMapSearchBox.jsx":
/*!******************************************************!*\
  !*** ./src/component/web/base/Map/GMapSearchBox.jsx ***!
  \******************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.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.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-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.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.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.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.array.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.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.map.js */ \"../../node_modules/core-js/modules/es.array.map.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 _GMapSearchBox = _interopRequireDefault(__webpack_require__(/*! ./GMapSearchBox.less */ \"./src/component/web/base/Map/GMapSearchBox.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 _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 GMapSearchBox(_ref) {\n  var placeholder = _ref.placeholder,\n    searchResults = _ref.searchResults,\n    onChange = _ref.onChange,\n    onSearch = _ref.onSearch,\n    onSelectResult = _ref.onSelectResult;\n  var _useState = (0, _react.useState)(''),\n    _useState2 = _slicedToArray(_useState, 2),\n    searchVal = _useState2[0],\n    setSearchVal = _useState2[1];\n  var handleChange = function handleChange(evt) {\n    var value = evt.target.value;\n    setSearchVal(value);\n    onChange === null || onChange === void 0 || onChange(value);\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _GMapSearchBox[\"default\"].container\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _GMapSearchBox[\"default\"]['input-container']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n    className: _GMapSearchBox[\"default\"]['search-input'],\n    value: searchVal,\n    placeholder: placeholder,\n    onChange: handleChange\n  }), (searchResults === null || searchResults === void 0 ? void 0 : searchResults.length) > 0 && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _GMapSearchBox[\"default\"]['search-result']\n  }, searchResults.map(function (result) {\n    // id 可能为空\n    var id = result.place_id,\n      name = result.description,\n      typecode = result.typecode;\n    var handleClick = function handleClick(evt) {\n      evt.stopPropagation();\n      setSearchVal(name);\n      onSelectResult === null || onSelectResult === void 0 || onSelectResult(id);\n    };\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      key: \"\".concat(id, \"_\").concat(typecode),\n      className: _GMapSearchBox[\"default\"]['search-item'],\n      onClick: handleClick,\n      title: name\n    }, name);\n  }))), /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: (0, _classnames[\"default\"])(_GMapSearchBox[\"default\"]['search-btn'], 'kdfont kdfont-f'),\n    onClick: onSearch\n  }));\n}\nvar _default = exports[\"default\"] = GMapSearchBox;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Map/GMapSearchBox.jsx?");

/***/ }),

/***/ "./src/component/web/base/Map/MapSearchBox.jsx":
/*!*****************************************************!*\
  !*** ./src/component/web/base/Map/MapSearchBox.jsx ***!
  \*****************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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-string.js */ \"../../node_modules/core-js/modules/es.date.to-string.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.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.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.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.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.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 _MapSearchBox = _interopRequireDefault(__webpack_require__(/*! ./MapSearchBox.less */ \"./src/component/web/base/Map/MapSearchBox.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 _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 MapSearchBox(_ref) {\n  var placeholder = _ref.placeholder,\n    searchResults = _ref.searchResults,\n    onChange = _ref.onChange,\n    onSearch = _ref.onSearch,\n    onSelectResult = _ref.onSelectResult;\n  var _useState = (0, _react.useState)(''),\n    _useState2 = _slicedToArray(_useState, 2),\n    searchVal = _useState2[0],\n    setSearchVal = _useState2[1];\n  var handleChange = function handleChange(evt) {\n    var value = evt.target.value;\n    setSearchVal(value);\n    onChange === null || onChange === void 0 || onChange(value);\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _MapSearchBox[\"default\"].container\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _MapSearchBox[\"default\"]['input-container']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n    className: _MapSearchBox[\"default\"]['search-input'],\n    value: searchVal,\n    placeholder: placeholder,\n    onChange: handleChange\n  }), (searchResults === null || searchResults === void 0 ? void 0 : searchResults.length) > 0 && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _MapSearchBox[\"default\"]['search-result']\n  }, searchResults.map(function (result) {\n    // id 可能为空\n    var id = result.id,\n      name = result.name,\n      typecode = result.typecode;\n    var handleClick = function handleClick(evt) {\n      evt.stopPropagation();\n      setSearchVal(name);\n      onSelectResult === null || onSelectResult === void 0 || onSelectResult(id);\n    };\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      key: \"\".concat(id, \"_\").concat(typecode),\n      className: _MapSearchBox[\"default\"]['search-item'],\n      onClick: handleClick\n    }, name);\n  }))), /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: (0, _classnames[\"default\"])(_MapSearchBox[\"default\"]['search-btn'], 'kdfont kdfont-f'),\n    onClick: onSearch\n  }));\n}\nvar _default = exports[\"default\"] = MapSearchBox;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Map/MapSearchBox.jsx?");

/***/ }),

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

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.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.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-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/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.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.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.reduce.js */ \"../../node_modules/core-js/modules/es.array.reduce.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\");\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.object.values.js */ \"../../node_modules/core-js/modules/es.object.values.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.search.js */ \"../../node_modules/core-js/modules/es.string.search.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\n__webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _MapBase2 = _interopRequireDefault(__webpack_require__(/*! ./MapBase.less */ \"./src/component/web/base/MapBase.less\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _componentutil = __webpack_require__(/*! ../../../util/componentutil */ \"./src/util/componentutil.js\");\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _mapUtil = __webpack_require__(/*! @/util/mapUtil */ \"./src/util/mapUtil.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher */ \"./src/model/GlobalDataCacher.js\");\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _geoLocation = _interopRequireDefault(__webpack_require__(/*! @/component/images/geo-location.png */ \"./src/component/images/geo-location.png\"));\nvar _excluded = [\"className\", \"style\", \"AlignSelf\", \"Grow\", \"Shrink\", \"showSearchBox\", \"placeHolder\", \"selectPoint\", \"selPoint\", \"selAddress\", \"canMarkerDraggble\", \"onLoad\", \"mapKey\", \"apiKey\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction _construct(t, e, r) { if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); var o = [null]; o.push.apply(o, e); var p = new (t.bind.apply(t, o))(); return r && _setPrototypeOf(p, r.prototype), p; }\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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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 _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 * 20171221,百度地图(最新版本v2.0)\n * 百度地图使用：\n * 加载相关api(放到html文件中，目前的key'eBGR7XzaPhB5UbYARl3E7ksdkMdgrCw7'来自网络)：\n * <script type=\"text/javascript\" src=\"http://api.map.baidu.com/api?v=2.0&ak=eBGR7XzaPhB5UbYARl3E7ksdkMdgrCw7\"></script>\n *\n */ // import fetchJsonp from 'fetch-jsonp';\nvar MapBase = /*#__PURE__*/function (_React$Component) {\n  _inherits(MapBase, _React$Component);\n  function MapBase(props) {\n    var _this;\n    _classCallCheck(this, MapBase);\n    _this = _callSuper(this, MapBase, [props]);\n    _this.addCurrentLocationMarker = function (point) {\n      var _this$map, _this$map2;\n      if (_this.currentLocation && _this.map) {\n        _this.map.removeOverlay(_this.currentLocation.marker);\n        _this.map.removeOverlay(_this.currentLocation.circle);\n      }\n      var size = new BMapGL.Size(36, 36);\n      var icon = new BMapGL.Icon(_geoLocation[\"default\"], size, {\n        imageSize: size\n      });\n      var marker = new BMapGL.Marker(point, {\n        icon: icon\n      });\n      var circle = new BMapGL.Circle(point, 20, {\n        strokeColor: '#276FF5',\n        strokeOpacity: 0.2,\n        strokeWidth: 0,\n        fillColor: '#276FF5',\n        fillOpacity: 0.2\n      });\n      _this.currentLocation = {\n        point: point,\n        marker: marker,\n        circle: circle\n      };\n      (_this$map = _this.map) === null || _this$map === void 0 || _this$map.addOverlay(circle);\n      (_this$map2 = _this.map) === null || _this$map2 === void 0 || _this$map2.addOverlay(marker);\n    };\n    _this.enableEvents = function () {\n      if (!_this.map) return;\n      _this.map.enableDragging(); // 启用地图拖拽事件，默认启用(可不写)\n      _this.map.enableScrollWheelZoom(); // 启用地图滚轮放大缩小\n      _this.map.enableDoubleClickZoom(); // 启用鼠标双击放大，默认启用(可不写)\n      _this.map.enableKeyboard(); // 启用键盘上下左右键移动地图\n    };\n    _this.disableEvents = function () {\n      if (!_this.map) return;\n      _this.map.disableDragging(); // 启用地图拖拽事件，默认启用(可不写)\n      _this.map.disableScrollWheelZoom(); // 启用地图滚轮放大缩小\n      _this.map.disableDoubleClickZoom(); // 启用鼠标双击放大，默认启用(可不写)\n      _this.map.disableKeyboard(); // 启用键盘上下左右键移动地图\n    };\n    _this.loadMore = function () {\n      if (!_this.localSearch) return;\n      _this.localSearch.gotoPage(_this.page);\n    };\n    _this.locateAndCenter = function (shouldSearchNearby) {\n      if (!_this.map) return;\n      var self = _assertThisInitialized(_this);\n      var geolocation = new BMapGL.Geolocation();\n      geolocation.enableSDKLocation(); // 开启SDK辅助定位\n      geolocation.getCurrentPosition(function (r) {\n        if (geolocation.getStatus() !== window.BMAP_STATUS_SUCCESS) return;\n        self.addCurrentLocationMarker(r.point);\n        // self.map.setCenter(r.point)\n        self.map.centerAndZoom(r.point, 18);\n        self.props.getUserLocation && self.props.getUserLocation(r.point);\n        if (shouldSearchNearby) {\n          var point = new BMapGL.Point(r.point.lng, r.point.lat);\n          var _self$props$searchOpt = self.props.searchOption,\n            _self$props$searchOpt2 = _self$props$searchOpt.keyword,\n            keyword = _self$props$searchOpt2 === void 0 ? '' : _self$props$searchOpt2,\n            _self$props$searchOpt3 = _self$props$searchOpt.distance,\n            distance = _self$props$searchOpt3 === void 0 ? 500 : _self$props$searchOpt3;\n          self.asyncSearchNearby(keyword, point, distance);\n        }\n      });\n    };\n    _this.centerAndZoom = function (poi) {\n      _this.map && _this.map.centerAndZoom(poi, 18);\n    };\n    _this.map = undefined; // map对象\n    _this.mapId = 'mapId_' + (0, _componentutil.createNewId)(); // 地图渲染节点的'id'，保持全局唯一性\n    _this.suggestInfoId = 'suggestInfo_' + (0, _componentutil.createNewId)(); // 搜索框id，保持全局唯一性\n    _this.keyword = ''; // 搜索关键字\n    _this.localSearch = undefined; // 搜索实例\n    _this.currentLocation = undefined;\n    ['onClickSearchBox', 'onChangeSerchBox', 'onKeyDownSearchBox', 'doCustomInvoke', 'onLoad'].forEach(function (item) {\n      _this[item] = _this[item].bind(_assertThisInitialized(_this));\n    });\n\n    // test data\n    //   this.LaySignAddress = Map({ detailAddress: '青岛' })\n\n    // 动态加载baidu地图js\n    _this.loadScript((0, _mapUtil.getMapJSUrl)(props.mapKey), function () {\n      // todo:加载,并执行回调函数\n      _this.onLoad();\n    }, function () {\n      var _this$props$showMessa, _this$props;\n      return (_this$props$showMessa = (_this$props = _this.props).showMessage) === null || _this$props$showMessa === void 0 ? void 0 : _this$props$showMessa.call(_this$props, (0, _intlApi.getLangMsg)({\n        key: 'MapBase.key0010'\n      }), 1);\n    });\n\n    // 数据处理(兼容meta+data渲染二合一，第一次'componentWillReceiveProps'数据提前到构造)\n    _this.LaySignPoint = props.selPoint;\n    _this.LaySignAddress = props.selAddress;\n    return _this;\n  }\n\n  /*\n  * 动态加载js脚本\n  * 调用callback时，js文件已经加载完成\n  */\n  _createClass(MapBase, [{\n    key: \"loadScript\",\n    value: function loadScript(url, callback, failedCallback) {\n      var target = document.getElementById('baidumapbase');\n      if (target) {\n        this.onLoad();\n        console.warn('map js has loaded.');\n        return;\n      }\n      var script = document.createElement('script');\n      script.id = 'mapbase'; // 唯一标示，防止html文件中重复添加.\n      script.type = 'text/javascript';\n      script.onerror = function () {\n        return failedCallback === null || failedCallback === void 0 ? void 0 : failedCallback();\n      };\n      if (typeof callback === 'function') {\n        if (script.readyState) {\n          script.onreadystatechange = function () {\n            if (script.readyState == 'loaded' || script.readyState == 'complete') {\n              script.onreadystatechange = null;\n              callback();\n            }\n          };\n        } else {\n          script.onload = function () {\n            callback();\n          };\n        }\n      }\n      script.src = url;\n      document.body.appendChild(script);\n    }\n  }, {\n    key: \"initMap\",\n    value: function initMap() {\n      var _this2 = this;\n      // 加个延时，防止map没有初始化结束，new Map会报错。\n      setTimeout(function () {\n        _this2.createMap(); // 创建地图\n        _this2.setMapSetting(); // 地图设置\n        _this2.setMapEvent(); // 设置地图事件\n        _this2.addMapControl(); // 向地图添加控件\n        _this2.initSearchBox();\n        setTimeout(function () {\n          _this2.setSearchResultPanel();\n        }, 1000);\n      }, 300);\n    }\n\n    // 创建地图\n  }, {\n    key: \"createMap\",\n    value: function createMap() {\n      var BMapGL = window.BMapGL; // 加载map API初始化后，BMap对象会自动被附加到window对象上.\n      // 注意:BMapGL.Map可能是undefined的，猜测可能是地图初始化没彻底完成!!\n      this.map = new BMapGL.Map(this.mapId, {\n        enableMapClick: false\n      }); // 关闭默认POI事件\n      // createAndZoom 用于地图初始化，需要在这里先初始化一个点后，才能正常使用\n      var point = new BMapGL.Point(116.404, 39.915);\n      this.map.centerAndZoom(point, 15);\n      var address = {};\n      if (this.LaySignPoint) {\n        // 延迟标记的信息\n        var pointObj = this.LaySignPoint.get('point');\n        address.title = this.LaySignPoint.get('title');\n        address.point = {\n          lng: pointObj.get('lng'),\n          lat: pointObj.get('lat')\n        };\n        address.address = this.LaySignPoint.get('address');\n        address.city = this.LaySignPoint.get('city');\n        address.province = this.LaySignPoint.get('province');\n        address.coordsys = this.LaySignPoint.get('coordsys');\n        this.LaySignPoint = undefined;\n        if (this.LaySignAddress) {\n          this.LaySignAddress = undefined; // 优先处理LaySignPoint，同时使LaySignAddress无效\n          console.warn('map: selectPoint first, invalid selectAddress!');\n        }\n        this.setSignPointWhenCreate(address);\n      } else if (this.LaySignAddress) {\n        this.selectAddress(this.LaySignAddress.get('detailAddress') || '', true, this.props);\n        this.LaySignAddress = undefined;\n      } else {\n        // 自动定位(可能定位失败或不准确)\n        var con = this;\n\n        // 方式1: html5定位\n        // let options = {\n        //   enableHighAccuracy: true,\n        //   timeout: 5000,\n        //   maximumAge: 0\n        // };\n        // let success = function success(pos) {\n        //   let crd = pos.coords;\n        //   // console.warn('Your current position is:');\n        //   // console.warn('Latitude : ' + crd.latitude);\n        //   // console.warn('Longitude: ' + crd.longitude);\n        //   // console.warn('More or less ' + crd.accuracy + ' meters.');\n        //   let point = {lng:crd.longitude, lat:crd.latitude};\n        //   con.convertStandardPoint2Baidu(new BMapGL.Point(crd.longitude,crd.latitude),(data)=>{\n        //  \t      if(data.status === 0) {\n        //  \t      \tlet newPoint = data.points[0];//转换后坐标\n        //  \t      \tcon.parsePoint2Address(newPoint,(address)=>{\n        //   \t\t\tcon.setSignPointWhenCreate(address);\n        //   \t\t});\n        //       }\n        //   });\n        // };\n        // let error = function error(err) {\n        //   console.warn('ERROR(' + err.code + '): ' + err.message);\n        // };\n        // //注: html5方式定位，需要使用https或localhost或127.0.0.1等访问才可以，http无法成功调用。\n        // navigator.geolocation.getCurrentPosition(success, error, options);\n\n        // 方式2: 百度地图定位对象\n        var geolocation = new BMapGL.Geolocation();\n        geolocation.getCurrentPosition(function (e) {\n          if (this.getStatus() == window.BMAP_STATUS_SUCCESS) {\n            // 定位成功事件\n            address.province = e.address.province;\n            address.city = e.address.city;\n            address.title = \"\".concat(e.address.province).concat(e.address.city);\n            address.point = {\n              lng: e.point.lng,\n              lat: e.point.lat\n            };\n            address.address = \"\".concat(e.address.province).concat(e.address.city);\n          } else {\n            // 定位失败事件\n            con.doAlert(\"\\u81EA\\u52A8\\u5B9A\\u4F4D\\u5931\\u8D25: \".concat(e.message));\n\n            // 默认标记\n            address.title = '';\n            address.point = {\n              lng: 113.961387,\n              lat: 22.539845\n            };\n            address.address = (0, _intlApi.getLangMsg)({\n              key: 'MapBase.key0002'\n            });\n            address.city = (0, _intlApi.getLangMsg)({\n              key: 'MapBase.key0003'\n            });\n            address.province = (0, _intlApi.getLangMsg)({\n              key: 'MapBase.key0004'\n            });\n          }\n          con.props.getUserLocation && con.props.getUserLocation(address);\n          con.setSignPointWhenCreate(address);\n        });\n      }\n      this.props.createMapSuccess && this.props.createMapSuccess();\n    }\n\n    // 根据详细信息定位(经纬度,城市等)某个地址并设置城市\n  }, {\n    key: \"setSignPointWhenCreate\",\n    value: function setSignPointWhenCreate(address) {\n      var point = new BMapGL.Point(address.point.lng, address.point.lat); // 深圳金蝶软件园\n      // const that = this\n      this.setCity(address.city); // 设置地图城市，注意当地图初始化时的类型设置为BMAP_NORMAL_MAP时，需要在调用centerAndZoom之前调用此方法设置地图所在城市。\n      // this.map.centerAndZoom(point, 18) // 初始化地图,设置中心点坐标和地图级别(缩放级别)\n      this.addCurrentLocationMarker(point);\n\n      // 添加标注\n      // const marker = new BMapGL.Marker(point)\n      // that.map.addOverlay(marker)\n      // marker.setAnimation(window.BMAP_ANIMATION_BOUNCE)\n\n      // 添加信息窗口\n      // const options = {\n      //   // width: 200,\n      //   // height: 100,\n      //   title: address.province + ' ' + address.city + ' ' + (address.title || ''),\n      //   enableMessage: false, // 是否显示发送短信按钮\n      //   message: getLangMsg({ key: 'MapBase.key0005' }), // 短信内容\n      //   offset: new BMapGL.Size(0, -30)\n      // }\n\n      // const openInfoWindow = new BMapGL.InfoWindow(`${getLangMsg({ key: 'MapBase.key0006' })} ${address.address}`, options)\n      // marker.addEventListener('click', () => {\n      //   that.map.openInfoWindow(openInfoWindow, point)\n      //   that.triggerSelectPoint(that, address)\n      // })\n      // 文字标示\n      // let label = new BMapGL.Label('点我试试',{offset: new BMapGL.Size(20,-10)});\n      // marker.setLabel(label);\n    }\n  }, {\n    key: \"setMapSetting\",\n    value:\n    // 地图设置\n    function setMapSetting() {\n      this.props.locked ? this.disableEvents() : this.enableEvents();\n    }\n  }, {\n    key: \"setMapEvent\",\n    value:\n    // 地图事件\n    function setMapEvent() {\n      var _this3 = this;\n      var map = this.map;\n\n      // map.addEventListener('click', (e) => {\n      // \tthis.doAlert('点击位置: ' + JSON.stringify(e.point))\n\n      // 根据坐标，获取相应地址信息\n      // \tconst geoc = new BMapGL.Geocoder()\n      // \tgeoc.getLocation(e.point, (rs) => {\n      // \t\tconst addComp = rs.addressComponents\n      // \t\tthis.doAlert(addComp.province + ', ' + addComp.city + ', ' + addComp.district + ', ' + addComp.street + ', ' + addComp.streetNumber)\n      // \t})\n      // })\n\n      map.addEventListener('dragend', function (e) {\n        var center = _this3.map.getCenter();\n        // const geoc = new BMapGL.Geocoder()\n        // geoc.getLocation(center, (point) => {\n        //   this.props.onDragEnd && this.props.onDragEnd(point)\n        // })\n        _this3.doAlert('地图中心点变更为: ' + center.lng + ', ' + center.lat);\n      });\n      map.addEventListener('zoomend', function (e) {\n        _this3.doAlert('地图缩放至: ' + _this3.map.getZoom() + '级');\n      });\n      map.addEventListener('tilesloaded', function (e) {\n        _this3.doAlert('地图加载完毕!!');\n      });\n      map.addEventListener('resize', function (evt) {\n        _this3.doAlert('地图 Resize!!');\n        _this3.props.onResize && _this3.props.onResize();\n      });\n\n      // 移除事件\n      // map.removeEventListener('click',fun);\n    }\n\n    // 地图控件添加函数：\n  }, {\n    key: \"addMapControl\",\n    value: function addMapControl() {\n      var map = this.map;\n      // const con = this\n      // 向地图中添加缩放控件\n      // let ctrl_nav = new BMapGL.NavigationControl({anchor:BMAP_ANCHOR_TOP_LEFT,type:BMAP_NAVIGATION_CONTROL_LARGE});\n      // map.addControl(ctrl_nav);\n\n      // 向地图中添加缩略图控件\n      // const ctrl_ove = BMapGL.OverviewMapControl && new BMapGL.OverviewMapControl({ anchor: BMAP_ANCHOR_BOTTOM_RIGHT, isOpen: 1 })\n      // map.addControl(ctrl_ove)\n\n      // 向地图中添加比例尺控件\n      // let ctrl_sca = new BMapGL.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_LEFT});\n      // map.addControl(ctrl_sca);\n\n      // 添加地图类型控件(地图/卫星/三维视图)\n      // map.addControl(new BMapGL.MapTypeControl({mapTypes: [window.BMAP_NORMAL_MAP,window.BMAP_SATELLITE_MAP,window.BMAP_HYBRID_MAP ]}));\n\n      // 添加带有定位的导航控件\n      // let navigationControl = new BMapGL.NavigationControl({\n      // \t// 靠左上角位置\n      // \tanchor: BMAP_ANCHOR_TOP_LEFT,\n      // \t// LARGE类型\n      // \ttype: BMAP_NAVIGATION_CONTROL_LARGE,\n      // \t// 启用显示定位\n      // \tenableGeolocation: true\n      // });\n      // map.addControl(navigationControl);\n\n      // 添加定位控件\n      // let geolocationControl = new GL.GeolocationControl();\n      // geolocationControl.addEventListener(\"locationSuccess\", function(e){\n      // \t// 定位成功事件\n      // \tlet address = '';\n      // \taddress += e.addressComponent.province;\n      // \taddress += e.addressComponent.city;\n      // \taddress += e.addressComponent.district;\n      // \taddress += e.addressComponent.street;\n      // \taddress += e.addressComponent.streetNumber;\n      // \tcon.doAlert(\"当前定位地址为：\" + address);\n      // });\n      // geolocationControl.addEventListener(\"locationError\",function(e){\n      // \t// 定位失败事件\n      // \tcon.doAlert(e.message);\n      // });\n      // map.addControl(geolocationControl);\n\n      // 城市列表控件\n      // let size = new BMapGL.Size(10, 20);\n      // map.addControl(new BMapGL.CityListControl({\n      //     anchor: BMAP_ANCHOR_TOP_RIGHT,\n      //     offset: size,\n      //     // 切换城市之间事件\n      //     // onChangeBefore: function(){\n      //     //    alert('before');\n      //     // },\n      //     // 切换城市之后事件\n      //     // onChangeAfter:function(){\n      //     //   alert('after');\n      //     // }\n      // }));\n    }\n\n    // 初始化搜索框\n  }, {\n    key: \"initSearchBox\",\n    value: function initSearchBox() {\n      if (this.props.showSearchBox == false) {\n        return;\n      }\n      var map = this.map;\n      var ac = new BMapGL.Autocomplete(\n      // 建立一个自动完成的对象\n      {\n        input: this.suggestInfoId,\n        location: map\n      });\n      var con = this;\n      // 鼠标停留在某一项\n      ac.addEventListener('onhighlight', function (e) {\n        // 鼠标放在下拉列表上的事件\n        var str = '';\n        var _value = e.fromitem.value;\n        var value = '';\n        if (e.fromitem.index > -1) {\n          value = _value.province + _value.city + _value.district + _value.street + _value.business;\n        }\n        str = 'FromItem<br />index = ' + e.fromitem.index + '<br />value = ' + value;\n        value = '';\n        if (e.toitem.index > -1) {\n          _value = e.toitem.value;\n          value = _value.province + _value.city + _value.district + _value.street + _value.business;\n        }\n        str += '<br />ToItem<br />index = ' + e.toitem.index + '<br />value = ' + value;\n        con.searchResultPanel.innerHTML = str;\n      });\n      var myValue;\n      // 点击下拉列表某一项\n      ac.addEventListener('onconfirm', function (e) {\n        // 鼠标点击下拉列表后的事件\n        var _value = e.item.value;\n        myValue = _value.province + _value.city + _value.district + _value.street + _value.business;\n        con.searchResultPanel.innerHTML = 'onconfirm<br />index = ' + e.item.index + '<br />myValue = ' + myValue;\n        con.setPlace(myValue, true);\n      });\n    }\n\n    // 设置百度地图搜索结果显示元素的样式，保证可以显示出来\n  }, {\n    key: \"setSearchResultPanel\",\n    value: function setSearchResultPanel() {\n      if (document.getElementsByClassName) {\n        // 百度地图搜索结果显示的dom对象，由百度地图自动添加\n        var suggestionList = document.getElementsByClassName('tangram-suggestion-main');\n        if (suggestionList && suggestionList.length > 0) {\n          for (var i = 0; i < suggestionList.length; i++) {\n            suggestionList[i].style.zIndex = 2000;\n          }\n        }\n      } else {\n        console.warn('not support api: document.getElementsByClassName');\n      }\n    }\n\n    /* 根据地址在地图上标记出某个地点\n    * addressStr:字符串地址, eg: '广东省深圳市南山区金蝶软件园'\n    * triggerAtOnce:boolean, 是否理解发送定位信息到server(不需要click操作触发)\n    */\n  }, {\n    key: \"setPlace\",\n    value: function setPlace(addressStr) {\n      var triggerAtOnce = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n      if (addressStr == '') {\n        console.warn('map search keyword can not be empty!');\n      }\n      var map = this.map;\n      var con = this;\n      map.clearOverlays(); // 清除地图上所有覆盖物\n      var resultFun = function resultFun(e) {\n        if (local.getStatus() == window.BMAP_STATUS_SUCCESS) {\n          var result = local.getResults();\n          var addressObj = result.getPoi(0); // 获取第一个智能搜索的结果\n          var point = addressObj.point;\n          var newMarker = new BMapGL.Marker(point);\n          var address = {};\n          address.title = addressObj.title;\n          address.point = addressObj.point;\n          address.address = addressObj.address;\n          address.city = addressObj.city || result.city;\n          address.province = addressObj.province || result.province;\n          // con.bindMarkerOpenWnd(newMarker,address);\n\n          // 添加信息窗口\n          var opts = {\n            title: address.province + ' ' + address.city + ' ' + (address.title || ''),\n            enableMessage: false,\n            // 是否显示发送短信按钮\n            message: (0, _intlApi.getLangMsg)({\n              key: 'MapBase.key0005'\n            }),\n            // 短信内容\n            offset: new BMapGL.Size(0, -30),\n            raiseOnDrag: true\n          };\n          var openInfoWindow = new BMapGL.InfoWindow(\"\".concat((0, _intlApi.getLangMsg)({\n            key: 'MapBase.key0006'\n          }), \" \").concat(addressObj.address), opts);\n          newMarker.addEventListener('click', function (e) {\n            map.openInfoWindow(openInfoWindow, point);\n            con.triggerSelectPoint(con, address);\n          });\n          // 可拖拽\n          if (con.props.canMarkerDraggble) {\n            newMarker.enableDragging();\n            newMarker.addEventListener('dragend', function (e) {\n              // getDetailAddressByCoodinate(e.point.lat, e.point.lng, (addressObj) => {\n              (0, _mapUtil.getDetailAddressByCoodinate)({\n                lat: e.latLng.lat,\n                lng: e.latLng.lng\n              }, con.props.apiKey, function (addressObj) {\n                con.setSignPoint(addressObj, false, true);\n              });\n            });\n          }\n          map.centerAndZoom(point, 18);\n          map.addOverlay(newMarker); // 添加标注\n          // newMarker.setAnimation(window.BMAP_ANIMATION_BOUNCE);//跳动的动画\n\n          if (triggerAtOnce) {\n            con.triggerSelectPoint(con, address);\n          }\n        } else {\n          // alert(`地图搜索结果异常, 状态码: ${local.getStatus()}`)\n          (0, _GlobalDataCacher.setData)(_symbolConst.KEY_SHOW_CONFIRM_EVENT, {\n            msg: (0, _intlApi.getLangMsg)({\n              key: 'MapBase.key0009',\n              variables: {\n                status: local.getStatus()\n              }\n            })\n          });\n        }\n      };\n      var options = {\n        onSearchComplete: resultFun // 搜索完成\n      };\n      var local = new BMapGL.LocalSearch(map, options);\n      local.search(addressStr);\n    }\n  }, {\n    key: \"selectAddress\",\n    value: function selectAddress(addressStr) {\n      var triggerAtOnce = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n      var nextProps = arguments.length > 2 ? arguments[2] : undefined;\n      if (addressStr == '') {\n        console.warn('map search keyword can not be empty!');\n      }\n\n      // const map = this.map\n      var con = this;\n      (0, _mapUtil.getCoodinateByDetailAddress)(addressStr, con.props.apiKey, function (data) {\n        if (data) {\n          (0, _mapUtil.getDetailAddressByCoodinate)({\n            lat: data.latitude,\n            lng: data.longitude\n          }, con.props.apiKey, function (addressObj) {\n            con.setSignPoint(addressObj, false, true, nextProps, addressStr);\n          });\n        }\n      });\n    }\n\n    // 根据坐标和地址在地图上标记某个地点出来\n    // address:{title:xx, provice:xxx, point:{lng:xx, lat:xx}, city:xxx, address:xxx}. 不可变对象/object\n  }, {\n    key: \"setSignPoint\",\n    value: function setSignPoint(addressObj) {\n      var animate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n      var triggerAtOnce = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n      var nextProps = arguments.length > 3 ? arguments[3] : undefined;\n      var originKeyWord = arguments.length > 4 ? arguments[4] : undefined;\n      var con = this;\n      var map = this.map;\n      map.clearOverlays(); // 清除地图上所有覆盖物\n\n      if (addressObj.toJS) {\n        addressObj = addressObj.toJS();\n      }\n      var pointObj = addressObj.point || {\n        lng: addressObj.longitude,\n        lat: addressObj.latitude\n      };\n      var point = new BMapGL.Point(pointObj.lng, pointObj.lat); // 这里的经纬度一定不能为空，因为是根据经纬度去定位显示标注的\n      var newMarker = new BMapGL.Marker(point);\n\n      // 添加信息窗口\n      var opts = {\n        title: addressObj.province + ' ' + addressObj.city + ' ' + (addressObj.title || ''),\n        enableMessage: false,\n        // 是否显示发送短信按钮\n        message: (0, _intlApi.getLangMsg)({\n          key: 'MapBase.key0005'\n        }),\n        // 短信内容\n        offset: new BMapGL.Size(0, -30),\n        raiseOnDrag: true\n      };\n      var openInfoWindow = new BMapGL.InfoWindow(\"\".concat((0, _intlApi.getLangMsg)({\n        key: 'MapBase.key0006'\n      }), \" \").concat(addressObj.address), opts);\n      newMarker.addEventListener('click', function (e) {\n        map.openInfoWindow(openInfoWindow, point);\n        con.triggerSelectPoint(con, addressObj);\n      });\n\n      // 可拖拽\n      var props = nextProps || con.props;\n      if (props.canMarkerDraggble) {\n        newMarker.enableDragging();\n        newMarker.addEventListener('dragend', function (e) {\n          (0, _mapUtil.getDetailAddressByCoodinate)({\n            lat: e.latLng.lat,\n            lng: e.latLng.lng\n          }, con.props.apiKey, function (addressObj) {\n            con.setSignPoint(addressObj, false, true);\n          });\n        });\n      }\n      map.centerAndZoom(point, 18);\n      map.addOverlay(newMarker); // 添加标注\n      if (animate) {\n        newMarker.setAnimation(window.BMAP_ANIMATION_BOUNCE); // 跳动的动画\n      }\n      if (triggerAtOnce) {\n        if (originKeyWord !== undefined) {\n          addressObj.origin = originKeyWord;\n        }\n        con.triggerSelectPoint(con, addressObj);\n      }\n    }\n\n    // 点击:搜索框的搜索按钮\n  }, {\n    key: \"onClickSearchBox\",\n    value: function onClickSearchBox(e) {\n      this.search(this.keyword);\n    }\n\n    // change:搜索关键字\n  }, {\n    key: \"onChangeSerchBox\",\n    value: function onChangeSerchBox(e) {\n      this.keyword = e.target.value;\n    }\n\n    // 回车操作：搜索框 (注意：使用‘BMap.Autocomplete’绑定了的input，监测不到回车键，其他键可以)\n  }, {\n    key: \"onKeyDownSearchBox\",\n    value: function onKeyDownSearchBox(e) {\n      if (e.keyCode == 13) {\n        // enter\n        this.search(this.keyword);\n      }\n    }\n  }, {\n    key: \"doAlert\",\n    value: function doAlert(msg) {\n      // alert(msg);\n      console.warn(msg);\n    }\n\n    /** **地图API接口封装-start****/\n\n    // 检索服务:检索关键字并定位到地图上(包含多个检索结果)\n    // keyword: string\n  }, {\n    key: \"search\",\n    value: function search(keyword) {\n      var map = this.map;\n      map.clearOverlays(); // 清除地图上所有覆盖物\n      if (map) {\n        var resultFun = function resultFun(results) {\n          // 判断状态是否正确\n          if (local.getStatus() == window.BMAP_STATUS_SUCCESS) {\n            var s = [];\n            for (var i = 0; i < results.getCurrentNumPois(); i++) {\n              s.push(results.getPoi(i).title + ', ' + results.getPoi(i).address);\n            }\n            console.warn('search: ', s);\n          }\n        };\n        var MarkersFun = function MarkersFun(results) {\n          console.warn('onMarkersSet: ' + results);\n        };\n        var options = {\n          renderOptions: {\n            map: map\n          },\n          onSearchComplete: resultFun,\n          // 搜索完成\n          onMarkersSet: MarkersFun\n        };\n        var local = new BMapGL.LocalSearch(map, options);\n        // 标注的回调\n        var con = this;\n        local.setMarkersSetCallback(function (pois) {\n          // let markerArr = [], resultAddress = [];\n          var address;\n          for (var i = 0; i < pois.length; i++) {\n            // markerArr[i] = pois[i].marker;\n            // resultAddress.push(pois[i].address);\n            // pois[i].marker.addEventListener(\"infowindowopen\", function(e){\n            //     //标注打开infoWindow时触发的回调\n            //     console.log('click address is: ' + resultAddress);\n            // });\n            address = {};\n            address.title = pois[i].title;\n            address.point = pois[i].point;\n            address.address = pois[i].address;\n            address.city = pois[i].city;\n            address.province = pois[i].province;\n            con.bindMarkerOpenWnd(pois[i].marker, address);\n          }\n        });\n        local.search(keyword); // 检索并将结果显示在地图上\n      }\n    }\n\n    /**\n     * 根据关键字查询并返回结果（异步）\n     * @param {string|number} keyword 关键字\n     */\n  }, {\n    key: \"asyncSearch\",\n    value: function asyncSearch(keyword) {\n      var _this4 = this;\n      var map = this.map;\n      if (!map) return;\n      var handleSearchComplete = function handleSearchComplete() {\n        if (localSearch.getStatus() === window.BMAP_STATUS_SUCCESS) {\n          var results = localSearch.getResults();\n          var list = [];\n          var numsOfPosition = results.getCurrentNumPois();\n          for (var i = 0; i < numsOfPosition; i++) {\n            list.push(_objectSpread({}, results.getPoi(i)));\n          }\n          _this4.props.getSearchResults && _this4.props.getSearchResults(list);\n        }\n      };\n      var searchOption = {\n        onSearchComplete: handleSearchComplete\n      };\n      var localSearch = new BMapGL.LocalSearch(map, searchOption);\n      localSearch.search(keyword);\n    }\n  }, {\n    key: \"asyncSearchNearby\",\n    value: function asyncSearchNearby(keyword, center, distance) {\n      var _this5 = this;\n      var map = this.map;\n      if (!map) return;\n      this.page = 0;\n      var self = this;\n      var handleSearchComplete = function handleSearchComplete(results) {\n        var list = [];\n        if (self.localSearch.getStatus() === window.BMAP_STATUS_SUCCESS) {\n          // 多关键字时， results 是个数组\n          ++_this5.page;\n          for (var nums = 0; nums < results.length; nums++) {\n            var currentNum = self.localSearch.getResults()[nums].getCurrentNumPois();\n            for (var i = 0; i < currentNum; i++) {\n              list.push(_objectSpread({}, self.localSearch.getResults()[nums].getPoi(i)));\n            }\n          }\n        }\n        _this5.props.getSearchResults && _this5.props.getSearchResults(list);\n      };\n      var searchOption = {\n        pageCapacity: 100,\n        onSearchComplete: handleSearchComplete\n      };\n      this.localSearch = new BMapGL.LocalSearch(map, searchOption);\n      // console.log(center)\n      this.localSearch.searchNearby(keyword, center, distance);\n    }\n  }, {\n    key: \"bindMarkerOpenWnd\",\n    value: function bindMarkerOpenWnd(marker, address) {\n      var con = this;\n      marker.addEventListener('infowindowopen', function (e) {\n        // 打开标注的infoWindow时触发的回调\n        con.triggerSelectPoint(con, address);\n      });\n    }\n\n    // 触发地点选中消息/接口\n    // con: this/context\n  }, {\n    key: \"triggerSelectPoint\",\n    value: function triggerSelectPoint(con, address) {\n      con.props.selectPoint && con.props.selectPoint(address);\n    }\n\n    // 设置城市\n  }, {\n    key: \"setCity\",\n    value: function setCity(cityName) {\n      if (this.map) {\n        // 设置地图显示的城市 此项是必须设置的\n        this.map.setCurrentCity && this.map.setCurrentCity(cityName);\n      }\n    }\n\n    // 坐标转换：原始(标准)坐标转为百度坐标\n    // point: BMapGL.Point\n  }, {\n    key: \"convertStandardPoint2Baidu\",\n    value: function convertStandardPoint2Baidu(point, callback) {\n      if (this.map) {\n        var convertor = new BMapGL.Convertor();\n        var pointArr = [];\n        pointArr.push(point);\n        convertor.translate(pointArr, 1, 5, callback);\n      }\n    }\n\n    // 地址解析(经纬度->地址) (经验证,该接口获取到的详细地址不包含具体街道)\n    // point: BMapGL.Point\n  }, {\n    key: \"parsePoint2Address\",\n    value: function parsePoint2Address(point, callback) {\n      var address = {};\n      if (this.map && callback) {\n        var geoc = new BMapGL.Geocoder();\n        geoc.getLocation(point, function (rs) {\n          var addComp = rs.addressComponents;\n          address.province = addComp.province;\n          address.city = addComp.city;\n          address.point = rs.point;\n          address.address = rs.address;\n          address.title = '';\n          address.district = addComp.district;\n          address.point = (0, _immutable.fromJS)({\n            lng: point.lng,\n            lat: point.lat\n          });\n          address = (0, _immutable.fromJS)(address);\n          callback(address);\n        });\n      }\n    }\n\n    // 地址解析(地址->经纬度)\n  }, {\n    key: \"parseAddress2Point\",\n    value: function parseAddress2Point(address) {\n      var result = {\n        address: address\n      };\n      if (this.map) {\n        var geoc = new BMapGL.Geocoder();\n        geoc.getPoint(address, function (point) {\n          result.point = point;\n        });\n      }\n    }\n\n    // 路线规划(开车)\n  }, {\n    key: \"setRoute\",\n    value: function setRoute() {\n      if (this.map) {\n        var driving = new BMapGL.DrivingRoute(map, {\n          renderOptions: {\n            map: this.map,\n            autoViewport: true\n          }\n        });\n        driving.search('金蝶软件园', '高新园地铁站');\n      }\n    }\n\n    // 定位(H5[浏览器]定位>ip定位>SDK辅助定位)\n  }, {\n    key: \"locate\",\n    value: function locate() {\n      if (this.map) {\n        var geolocation = new BMapGL.Geolocation();\n        geolocation.enableSDKLocation(); // 开启SDK辅助定位\n        var con = this;\n        geolocation.getCurrentPosition(function (r) {\n          if (geolocation.getStatus() == window.BMAP_STATUS_SUCCESS) {\n            var mk = new BMapGL.Marker(r.point);\n            con.map.addOverlay(mk);\n            con.map.panTo(r.point);\n            // con.doAlert('您的位置是: ' + r.point.lng + ',' + r.point.lat);\n            mk.setAnimation(window.BMAP_ANIMATION_BOUNCE); // 跳动的动画\n\n            // 设置文字标注\n            var label = new BMapGL.Label(\"\".concat((0, _intlApi.getLangMsg)({\n              key: 'MapBase.key0007'\n            }), \" \").concat(r.point.lng, \",\").concat(r.point.lat), {\n              offset: new BMapGL.Size(20, -10)\n            });\n            mk.setLabel(label);\n          } else {\n            con.doAlert('faild' + geolocation.getStatus());\n          }\n        });\n      }\n    }\n  }, {\n    key: \"onLoad\",\n    value: function onLoad() {\n      this.props.onLoad && this.props.onLoad();\n    }\n\n    /*\n      地图通用接口(要考虑支持批量)\n      通用接口数据格式：\n      {\n        actionObjectName: 'DrivingRoute',\n        actionObjectParam: {\n          renderOptions:{\n            map: 'map', //?? 前端地图对象[做成固定判断，只要属性名称是‘map’，就自动附加地图对象]\n            autoViewport: true\n          },\n          policy: route //?? server传的数据\n        },\n        clearOverlays: true, //默认为ture，清空地图上显示内容\n        action: 'search'\n        actionParam: {\n          p1: 'xxx',\n          p2: {options:{}, test: true}\n        },\n        actionParam1: ['北京', '深圳'],\n        mapReplacePath: [['actionObjectParam','renderOptions','map']] //需要替换为本地map对象的属性路径\n      }\n       *\n      *\n       地图通用接口调用示例数据：\n      spyApi.doPostActions('','InvokeControlMethod',[{args: [\n      {\n          actionObjectName: 'LocalSearch',\n          actionObjectParam: {\n          renderOptions:{map: 'map'}\n        },\n          clearOverlays: true,\n          action: 'search',\n          actionParam: ['金蝶软件'],\n          mapReplacePath: [['actionObjectParam','renderOptions','map']]\n      }\n      ], key: \"mapcontrolap\", methodname: \"customInvoke\"}])\n    */\n  }, {\n    key: \"doCustomInvoke\",\n    value: function doCustomInvoke() {\n      var _this6 = this;\n      var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (0, _immutable.Map)();\n      if (this.map) {\n        var mapReplacePath = action.get('mapReplacePath');\n        if (mapReplacePath && mapReplacePath.size > 0) {\n          mapReplacePath.forEach(function (path) {\n            action = action.setIn(path, _this6.map);\n          });\n        }\n        if (action.toJS) {\n          action = action.toJS();\n        }\n        try {\n          var _actionObject;\n          if (action.clearOverlays !== false) {\n            this.map.clearOverlays();\n          }\n          var actionObject;\n          if (action.actionObjectName) {\n            actionObject = new BMapGL[action.actionObjectName](this.map, action.actionObjectParam);\n          } else {\n            actionObject = this.map;\n          }\n          (_actionObject = actionObject)[action.action].apply(_actionObject, _toConsumableArray(this.getActionParam(action.actionParam)));\n        } catch (error) {\n          console.error(\"doCustomInvoke faild, error: \".concat(error));\n        }\n      } else {\n        console.warn('doCustomInvoke: invoke faild，maybe the map is not loaded success！');\n      }\n    }\n\n    // 处理参数也是map内部类型的复杂情况\n  }, {\n    key: \"getActionParam\",\n    value: function getActionParam(actionParam) {\n      // 解析map内部对象\n      var parseMIOFun = function parseMIOFun(mio) {\n        if (mio.MapInternalObject) {\n          // MapInternalObject：是否是map内部对象\n          try {\n            return _construct(BMapGL[mio.type], _toConsumableArray(mio.param));\n          } catch (error) {\n            console.error(\"parseMIOFun: \".concat(error));\n          }\n        } else {\n          return Object.prototype.toString.call(mio).toLowerCase() === '[object object]' ? Object.values(mio) : mio; // 常用类型，eg: int,string\n        }\n      };\n      // 遍历参数\n      if (Array.isArray(actionParam)) {\n        return actionParam.reduce(function (pre, next) {\n          return pre.concat(parseMIOFun(next));\n        }, []);\n      } else {\n        return parseMIOFun(actionParam);\n      }\n    }\n\n    // resize () {\n    //   this.map && this.map.resize()\n    // }\n\n    // centerTo (point) {\n    //   point && this.map && this.map.panTo(point)\n    // }\n  }, {\n    key: \"setCenter\",\n    value: function setCenter(point) {\n      if (!point) {\n        var geolocation = new BMapGL.Geolocation();\n        var self = this;\n        geolocation.getCurrentPosition(function (e) {\n          if (this.getStatus() === window.BMAP_STATUS_SUCCESS) {\n            // 定位成功事件\n            point = e.point;\n          } else {\n            // 定位失败事件\n            self.doAlert(\"\\u81EA\\u52A8\\u5B9A\\u4F4D\\u5931\\u8D25: \".concat(e.message));\n\n            // 默认标记\n            point = {\n              lng: 113.961387,\n              lat: 22.539845\n            };\n          }\n          self.map && self.map.setCenter(point);\n        });\n        return;\n      }\n      point && this.map && this.map.setCenter(point);\n    }\n\n    /** **地图API接口封装-end****/\n\n    // componentWillMount(){\n    // \tthis.loadScript(mapJSUrl, function () {\n    // \t\t//todo:加载,并执行回调函数\n    // \t});\n    // }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this7 = this;\n      // 二开会在 loadData 中调用 selectPoint，此时页面只渲染一次\n      // 创建地图后，LaySignPoint 并不会在 componentWillReceiveProps 被赋值\n      if (this.props.selPoint) {\n        this.LaySignPoint = this.props.selPoint;\n      }\n\n      // 定时轮询地图api是否已加载\n      this.loadMapFun = setInterval(function () {\n        if (window.BMapGL) {\n          clearInterval(_this7.loadMapFun);\n          _this7.initMap();\n        }\n      }, 200);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      if (this.map) {\n        var _this$map$destroy, _this$map3;\n        (_this$map$destroy = (_this$map3 = this.map).destroy) === null || _this$map$destroy === void 0 || _this$map$destroy.call(_this$map3);\n        // 释放地图资源\n        this.map = null;\n      }\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      var oldPoint = this.props.selPoint;\n      var newPoint = nextProps.selPoint;\n      if (newPoint && oldPoint !== newPoint) {\n        if (this.map) {\n          // 在地图上标记newPoint\n          this.setSignPoint(nextProps.selPoint);\n        } else {\n          // 当单据刚加载完成时，map可能还未初始化完成，则等待map初始完成后再标记.\n          this.LaySignPoint = nextProps.selPoint;\n        }\n      }\n\n      /*\n        控件方法-测试指令:\n        spyApi.doPostActions('','InvokeControlMethod',[{args: [{detailAddress:\"广东省深圳市南山区金蝶大厦A座\"}], key: \"mapcontrolap\", methodname: \"selectAddress\"}])\n      */\n      var oldAddress = this.props.selAddress;\n      var newAddress = nextProps.selAddress;\n      if (newAddress && oldAddress !== newAddress) {\n        if (this.map) {\n          this.selectAddress(newAddress.get('detailAddress') || '', true, nextProps);\n        } else {\n          //   console.warn(`map is loading, select Address faild: ${newAddress.get('detailAddress')}`)\n          // 当单据刚加载完成时，map可能还未初始化完成，则等待map初始完成后再标记.\n          this.LaySignAddress = nextProps.selAddress;\n        }\n      }\n\n      // 自定义调用指令\n      var oldCustomInvoke = this.props.customInvoke;\n      var newCustomInvoke = nextProps.customInvoke;\n      if (newCustomInvoke && (!oldCustomInvoke || oldCustomInvoke.get('customInvokeId') !== newCustomInvoke.get('customInvokeId'))) {\n        this.doCustomInvoke(newCustomInvoke);\n      }\n      if (nextProps.locked !== this.props.locked) {\n        nextProps.locked ? this.disableEvents() : this.enableEvents();\n      }\n      if (nextProps.code && nextProps.code !== this.props.code) {\n        (0, _mapUtil.executeJsFunction)(nextProps.code, this.map);\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this8 = this;\n      // selPoint:服务端调用控件selectPoint方法指定要在地图上标记的点\n      var _this$props2 = this.props,\n        className = _this$props2.className,\n        style = _this$props2.style,\n        AlignSelf = _this$props2.AlignSelf,\n        Grow = _this$props2.Grow,\n        Shrink = _this$props2.Shrink,\n        showSearchBox = _this$props2.showSearchBox,\n        placeHolder = _this$props2.placeHolder,\n        selectPoint = _this$props2.selectPoint,\n        selPoint = _this$props2.selPoint,\n        selAddress = _this$props2.selAddress,\n        canMarkerDraggble = _this$props2.canMarkerDraggble,\n        onLoad = _this$props2.onLoad,\n        mapKey = _this$props2.mapKey,\n        apiKey = _this$props2.apiKey,\n        others = _objectWithoutProperties(_this$props2, _excluded);\n      className = (0, _classnames3[\"default\"])(_defineProperty(_defineProperty({}, _MapBase2[\"default\"].mapbase, true), className, className), (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf\n      }));\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        style: style,\n        className: className\n      }, others), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        id: this.mapId,\n        className: _MapBase2[\"default\"].map\n      }, (0, _intlApi.getLangMsg)({\n        key: 'MapBase.key0008'\n      })), showSearchBox ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _MapBase2[\"default\"]['search-container']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _MapBase2[\"default\"]['search-input']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n        id: this.suggestInfoId,\n        type: \"text\",\n        className: _MapBase2[\"default\"]['s-suggestInfo'],\n        placeholder: placeHolder,\n        onChange: function onChange(e) {\n          return _this8.onChangeSerchBox(e);\n        }\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        ref: function ref(d) {\n          _this8.searchResultPanel = d;\n        },\n        className: _MapBase2[\"default\"]['s-searchResult']\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: (0, _classnames3[\"default\"])(_defineProperty(_defineProperty({}, _MapBase2[\"default\"]['s-button'], true), 'kdfont kdfont-f', true)),\n        onClick: function onClick(e) {\n          return _this8.onClickSearchBox(e);\n        }\n      })) : null);\n    }\n  }]);\n  return MapBase;\n}(_react[\"default\"].Component);\nMapBase.defaultProps = {\n  showSearchBox: true,\n  canMarkerDraggble: false,\n  placeHolder: (0, _intlApi.getLangMsg)({\n    key: 'MapBase.key0001'\n  })\n};\nvar _default = exports[\"default\"] = MapBase;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/MapBase.js?");

/***/ }),

/***/ "./src/component/web/base/Message.jsx":
/*!********************************************!*\
  !*** ./src/component/web/base/Message.jsx ***!
  \********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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-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/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.every.js */ \"../../node_modules/core-js/modules/es.array.every.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.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.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.reduce.js */ \"../../node_modules/core-js/modules/es.array.reduce.js\");\n__webpack_require__(/*! core-js/modules/es.array.reverse.js */ \"../../node_modules/core-js/modules/es.array.reverse.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.parse-int.js */ \"../../node_modules/core-js/modules/es.parse-int.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/es.string.split.js */ \"../../node_modules/core-js/modules/es.string.split.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 _lodash = _interopRequireDefault(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nvar _react = _interopRequireDefault(__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 _classnames10 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _Message2 = _interopRequireDefault(__webpack_require__(/*! ./Message.less */ \"./src/component/web/base/Message.less\"));\nvar _Dialog = _interopRequireDefault(__webpack_require__(/*! ../Dialog */ \"./src/component/web/Dialog.js\"));\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _defaultPropsUtil = __webpack_require__(/*! @/util/defaultPropsUtil */ \"./src/util/defaultPropsUtil.js\");\nvar _customProperties = _interopRequireDefault(__webpack_require__(/*! @/constant/customProperties */ \"./src/constant/customProperties.js\"));\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher */ \"./src/model/GlobalDataCacher.js\");\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _MsgFeedback = _interopRequireDefault(__webpack_require__(/*! ./MsgFeedback */ \"./src/component/web/base/MsgFeedback.js\"));\nvar _TextEllipsisWrap = _interopRequireDefault(__webpack_require__(/*! @/component/common/TextEllipsisWrap */ \"./src/component/common/TextEllipsisWrap.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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 _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 _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 _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 ButtonType = {\n  OK: 0,\n  // 有确定按钮的消息框\n  OKCancel: 1,\n  // 有取消按钮的消息框\n  AbortRetryIgnore: 2,\n  // 有终止、重试、忽略按钮的对话框\n  YesNoCancel: 3,\n  // 有是、否和取消按钮的对话框\n  YesNo: 4,\n  // 有是、否按钮的对话框\n  RetryCancel: 5,\n  // 有重试、取消按钮的对话框\n  Toast: 6 // 简短的消息tips，会自动关闭（已取消）\n};\nvar BtnKey = {\n  None: 0,\n  // 无结果\n  OK: 1,\n  // 确定\n  Cancel: 2,\n  // 取消\n  Abort: 3,\n  // 终止\n  Retry: 4,\n  // 重试\n  Ignore: 5,\n  // 忽略\n  Yes: 6,\n  // 是\n  No: 7,\n  // 否\n  CUSTOM: 8 // 自定义按钮（链接）\n};\n\n// 消息包装器\nvar MessageItem = function MessageItem(props) {\n  return props.children;\n};\n// spyApi.doPostActions(\"\",'showMessage',[{msg: \"PC主页面性能审计不达标！方法名:loadData\",messageType: \"Default\"}])\n/**\n * 弹出类消息框基类，只负责展示，不含有业务逻辑\n */\nvar Message = /*#__PURE__*/function (_React$Component) {\n  _inherits(Message, _React$Component);\n  function Message(props) {\n    var _this;\n    _classCallCheck(this, Message);\n    _this = _callSuper(this, Message, [props]);\n    // 展开并行的多条消息\n    _this.handleSpreadOutParallel = function () {\n      _this.setState({\n        showParallel: true\n      });\n    };\n    _this.getIsShowFeedback = function () {\n      var _this$props = _this.props,\n        isConfirm = _this$props.isConfirm,\n        messageType = _this$props.messageType;\n      return !isConfirm && messageType !== 1 && messageType !== 3;\n    };\n    _this.getIsMsgCodeSame = function (msgcodeArr) {\n      var firstMsgCode = msgcodeArr[0].msgcode;\n      return msgcodeArr.every(function (obj) {\n        return obj.msgcode === firstMsgCode;\n      });\n    };\n    _this.selectMessage = function (index) {\n      _this.setState({\n        selectIndex: index\n      });\n    };\n    _this.state = {\n      visible: true,\n      // 是否显示\n      showDetailButton: false,\n      // 显示‘展示详情’按钮\n      showParallel: false,\n      selectIndex: 0,\n      textHeight: ''\n    };\n    _this.handleClose = _this.handleClose.bind(_assertThisInitialized(_this));\n    _this.renderButtonDiv = _this.renderButtonDiv.bind(_assertThisInitialized(_this));\n    _this.buttonClick = _this.buttonClick.bind(_assertThisInitialized(_this));\n    _this.getDetailDiv = _this.getDetailDiv.bind(_assertThisInitialized(_this));\n    _this.spreadOut = _this.spreadOut.bind(_assertThisInitialized(_this));\n    _this.onMessageClick = _this.onMessageClick.bind(_assertThisInitialized(_this));\n    _this.getBtnNameByKey = _this.getBtnNameByKey.bind(_assertThisInitialized(_this));\n    _this.parseWarpContent = _this.parseWarpContent.bind(_assertThisInitialized(_this));\n    _this.isOverFlow = _this.isOverFlow.bind(_assertThisInitialized(_this));\n    _this.dialogRef = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.parallelMsgRef = /*#__PURE__*/_react[\"default\"].createRef();\n    return _this;\n  }\n  _createClass(Message, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this2 = this;\n      if (this.isOverFlow(this.defaultDetailRef)) {\n        this.setState({\n          showDetailButton: true\n        });\n      }\n      this.initTextHeight();\n      this.removeDataChangeListener = (0, _GlobalDataCacher.addDataChangeListener)(_symbolConst.KEY_CLOSE_CALLBACK_DIALOG, function (arg) {\n        if (!arg) return;\n        var activeFormEle = document.activeElement;\n        while (activeFormEle && activeFormEle !== _this2.dialogRef.current) {\n          activeFormEle = activeFormEle.parentElement;\n        }\n        if (activeFormEle === _this2.dialogRef.current) {\n          var buttonType = _this2.props.buttonType;\n          if (buttonType > 0 && buttonType < 6) {\n            _this2.buttonClick(BtnKey.Yes);\n          } else {\n            _this2.buttonClick(BtnKey.Cancel);\n          }\n          (0, _GlobalDataCacher.setData)(_symbolConst.KEY_UI_ACTION, {\n            tableName: 'shortcut_key',\n            shortcutKey: 'Enter',\n            methodName: '提交弹窗'\n          });\n        }\n      });\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.removeDataChangeListener && this.removeDataChangeListener();\n    }\n  }, {\n    key: \"componentDidUpdate\",\n    value: function componentDidUpdate(prevProps, prevState) {\n      var msg = this.getAllMsg(this.props.message);\n      // 修复弹出一个消息弹窗后立刻弹出一个模态弹窗，此时模态弹窗会将消息弹窗遮挡住，后续弹出的相同类型的消息弹窗都会被遮挡在后面的问题，将dom移到body最后\n      if (Array.isArray(msg)) {\n        this.moveMessageElementToBody();\n      }\n    }\n\n    // 获取详情内容高度\n  }, {\n    key: \"initTextHeight\",\n    value: function initTextHeight() {\n      var textHeight = '';\n      // 简约弹窗 最多显示5行\n      if (this.props.dialogType === _const.DIALOG_TYPES.simple) {\n        var lineHeight = this.getTextHeight(this.defaultDetailRef) || this.getTextHeight(this.parallelMsgRef.current);\n        lineHeight && (textHeight = \"\".concat(parseInt(lineHeight) * 5, \"px\"));\n      }\n      textHeight && this.setState({\n        textHeight: textHeight\n      });\n    }\n\n    // 获取字体行高\n  }, {\n    key: \"getTextHeight\",\n    value: function getTextHeight(dom) {\n      var _window$getComputedSt;\n      return dom && ((_window$getComputedSt = window.getComputedStyle(dom)) === null || _window$getComputedSt === void 0 ? void 0 : _window$getComputedSt.lineHeight);\n    }\n  }, {\n    key: \"moveMessageElementToBody\",\n    value: function moveMessageElementToBody() {\n      var lastNode = document.body.lastElementChild;\n      var dialogNode = _reactDom[\"default\"].findDOMNode(this.dialogRef.current);\n      lastNode !== dialogNode && this.dialogRef.current && document.body.appendChild(dialogNode);\n    }\n\n    /**\n     * 关闭消息框\n     * @return {[type]} [description]\n     */\n  }, {\n    key: \"handleClose\",\n    value: function handleClose() {\n      var destroy = this.props.destroy;\n      this.setState({\n        visible: false\n      });\n      this.clickCallback();\n      destroy && destroy();\n    }\n\n    /**\n     * 关闭消息框\n     * @return {[type]} [description]\n     */\n  }, {\n    key: \"clickCallback\",\n    value: function clickCallback() {\n      var _this$props2 = this.props,\n        clickCallback = _this$props2.clickCallback,\n        pageId = _this$props2.pageId,\n        id = _this$props2.id,\n        buttonType = _this$props2.buttonType,\n        callbackValue = _this$props2.callbackValue;\n      if (clickCallback) {\n        var key;\n        switch (buttonType) {\n          case ButtonType.OKCancel:\n            key = BtnKey.Cancel;\n            break;\n          case ButtonType.AbortRetryIgnore:\n            key = BtnKey.Ignore;\n            break;\n          case ButtonType.YesNoCancel:\n            key = BtnKey.Cancel;\n            break;\n          case ButtonType.YesNo:\n            key = BtnKey.No;\n            break;\n          case ButtonType.RetryCancel:\n            key = BtnKey.Cancel;\n            break;\n          default:\n            key = BtnKey.Cancel;\n        }\n        clickCallback(pageId, id, key, callbackValue);\n      }\n    }\n\n    /**\n     * 按钮点击后触发回调函数\n     * @param  {[type]} key [description]\n     * @return {[type]}     [description]\n     */\n  }, {\n    key: \"buttonClick\",\n    value: function buttonClick(key) {\n      var _this$props3 = this.props,\n        clickCallback = _this$props3.clickCallback,\n        pageId = _this$props3.pageId,\n        id = _this$props3.id,\n        closeAndCallBack = _this$props3.closeAndCallBack,\n        destroy = _this$props3.destroy,\n        callbackValue = _this$props3.callbackValue;\n      this.setState({\n        visible: false\n      });\n      clickCallback && clickCallback(pageId, id, key, callbackValue);\n\n      // 确定、重试 按钮才需要回调\n      if (key === BtnKey.OK || key === BtnKey.Retry || key === BtnKey.Yes) {\n        closeAndCallBack && closeAndCallBack();\n      }\n      destroy && destroy();\n    }\n  }, {\n    key: \"getTitle\",\n    value: function getTitle() {\n      var title = this.props.title;\n      if (!title || title.trim().length === 0) {\n        title = (0, _intlApi.getLangMsg)('msg.tips');\n      }\n      return title;\n    }\n  }, {\n    key: \"onMessageClick\",\n    value: function onMessageClick(frag) {\n      var message = this.props.message;\n      var showParallel = this.state.showParallel;\n      var msg = this.getAllMsg(message);\n      var _this$props4 = this.props,\n        pageId = _this$props4.pageId,\n        id = _this$props4.id,\n        callbackValue = _this$props4.callbackValue,\n        destroy = _this$props4.destroy,\n        clickCallback = _this$props4.clickCallback;\n      frag && clickCallback && clickCallback(pageId, id, BtnKey.CUSTOM, frag.value || callbackValue);\n      this.clickCallback();\n      if (!Array.isArray(msg) && !showParallel && destroy) {\n        // 消息并行时，点击超链接不会自动关闭窗口\n        destroy();\n      }\n    }\n\n    /**\n     * 解析换行文本\n     * @param {array|string} content 内容\n     */\n  }, {\n    key: \"parseWarpContent\",\n    value: function parseWarpContent(content, contentType) {\n      var warpReg = new RegExp(/(\\r\\n)/);\n      var warpReg2 = new RegExp(/(\\\\r\\\\n)/);\n      var contentArray = [];\n      if (_lodash[\"default\"].isString(content) && (warpReg.test(content) || warpReg2.test(content))) {\n        var index = warpReg.test(content) ? content.search(warpReg) : content.search(warpReg2);\n        var startStr = content.substr(0, index);\n        var len = warpReg.test(content) ? 2 : 4; // 换行符的长度\n        var endStr = content.substr(index + len);\n        if (contentType === 'message') {\n          contentArray = contentArray.concat([startStr, /*#__PURE__*/_react[\"default\"].createElement(\"br\", {\n            key: \"br\"\n          })].concat(_toConsumableArray(this.parseWarpContent(endStr, contentType))));\n          return contentArray;\n        }\n        if (contentType === 'title') {\n          // title解析换行符成<br>会显示为[object object]，所以需用\\n处理\n          return startStr + '\\n' + endStr;\n        }\n      }\n      return content;\n    }\n\n    // msg包含超链接的数据格式, msg = { args: [{ text: '点击此处', value: 'clickthis', index:'0' }], temp: '报表公式取数失败2条, #{0}查看采集失败日志' }\n  }, {\n    key: \"getMessageTitle\",\n    value: function getMessageTitle() {\n      var msg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n      var subLength = arguments.length > 1 ? arguments[1] : undefined;\n      if (_typeof(msg) !== 'object') {\n        return subLength == null ? this.parseWarpContent(msg, 'title') : msg.substring(0, subLength);\n      } else {\n        var fragment = this.getMessageFragment(msg);\n        var str = '';\n        var msgLength = 0;\n        _lodash[\"default\"].forEach(fragment, function (frag, index) {\n          if (_typeof(frag) === 'object') {\n            msgLength += frag.text.length;\n            if (subLength != null && msgLength > subLength) {\n              str += frag.text.substr(0, frag.text.length - (msgLength - subLength));\n              return false;\n            } else {\n              str += frag.text;\n            }\n          } else {\n            msgLength += frag.length;\n            if (subLength != null && msgLength > subLength) {\n              str += frag.substr(0, frag.length - (msgLength - subLength));\n              return false;\n            } else {\n              str += frag;\n            }\n          }\n        });\n        return str;\n      }\n    }\n  }, {\n    key: \"getMessage\",\n    value: function getMessage() {\n      var _this3 = this;\n      var msg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n      var subLength = arguments.length > 1 ? arguments[1] : undefined;\n      if (_typeof(msg) !== 'object') {\n        return subLength == null ? this.parseWarpContent(msg, 'message') : msg.substring(0, subLength);\n      } else {\n        var fragment = this.getMessageFragment(msg);\n        var controls = [];\n        var msgLength = 0;\n        _lodash[\"default\"].forEach(fragment, function (frag, index) {\n          if (_typeof(frag) === 'object') {\n            msgLength += frag.text.length;\n            if (subLength != null && msgLength > subLength) {\n              controls.push( /*#__PURE__*/_react[\"default\"].createElement(MessageItem, {\n                key: index\n              }, frag.text.substr(0, frag.text.length - (msgLength - subLength))));\n              return false;\n            } else {\n              var control;\n              if (frag.url) {\n                var url = frag.url,\n                  text = frag.text;\n                control = /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n                  className: _Message2[\"default\"]['message-link'],\n                  href: url,\n                  rel: \"noopener noreferrer\",\n                  target: \"_blank\",\n                  onClick: function onClick() {\n                    return _this3.onMessageClick();\n                  }\n                }, text);\n              } else {\n                control = /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n                  className: _Message2[\"default\"]['message-link'],\n                  href: \"javascript:void(0);\",\n                  onClick: function onClick() {\n                    return _this3.onMessageClick(frag);\n                  }\n                }, frag.text);\n              }\n              controls.push( /*#__PURE__*/_react[\"default\"].createElement(MessageItem, {\n                key: index\n              }, control));\n            }\n          } else {\n            msgLength += frag.length;\n            if (subLength != null && msgLength > subLength) {\n              controls.push( /*#__PURE__*/_react[\"default\"].createElement(MessageItem, {\n                key: index\n              }, frag.substr(0, frag.length - (msgLength - subLength))));\n              return false;\n            } else {\n              controls.push( /*#__PURE__*/_react[\"default\"].createElement(MessageItem, {\n                key: index\n              }, frag));\n            }\n          }\n        });\n        return controls;\n      }\n    }\n  }, {\n    key: \"getMessageLength\",\n    value: function getMessageLength() {\n      var msg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n      if (_typeof(msg) !== 'object') {\n        return msg.length;\n      } else {\n        var fragment = this.getMessageFragment(msg);\n        return _lodash[\"default\"].reduce(fragment, function (sum, frag) {\n          sum += _typeof(frag) === 'object' ? (frag.text || '').length : frag.length;\n          return sum;\n        }, 0);\n      }\n    }\n  }, {\n    key: \"getMessageFragment\",\n    value: function getMessageFragment(msg) {\n      var message = (msg === null || msg === void 0 ? void 0 : msg.temp) || '';\n      var args = (msg === null || msg === void 0 ? void 0 : msg.args) || [];\n      var placeholderChar = '_@_#_#_@_';\n      message = message.replace(/(\\#\\{\\d*\\})/g, \"\".concat(placeholderChar, \"$1\").concat(placeholderChar));\n      var fragment = message.split(placeholderChar);\n      _lodash[\"default\"].forEach(args, function (formatObj, index) {\n        if (!formatObj) return;\n        var _char = \"#{\".concat(index, \"}\");\n        fragment = _lodash[\"default\"].map(fragment, function (frag) {\n          return frag === _char ? formatObj : frag;\n        });\n      });\n      return fragment;\n    }\n  }, {\n    key: \"spreadOut\",\n    value: function spreadOut() {\n      this.setState({\n        showDetailButton: false\n      });\n    }\n  }, {\n    key: \"renderMsg\",\n    value: function renderMsg(message) {\n      var _this4 = this;\n      var textHeight = this.state.textHeight;\n      var detail = this.getAllDetail(this.props.message);\n      var isMsgCodeSame = this.getIsMsgCodeSame(message);\n      var style = {};\n      textHeight && (style.maxHeight = this.state.textHeight);\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _Message2[\"default\"]['content-div']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames10[\"default\"])(_Message2[\"default\"]['content-div-span'], 'primary-text-in-light'),\n        title: (0, _intlApi.getLangMsg)('msg.defaultMsg')\n      }, (0, _intlApi.getLangMsg)('msg.defaultMsg')), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _Message2[\"default\"]['detail-div-line']\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames10[\"default\"])('kd-cq-message-confirm-tip', _Message2[\"default\"]['detail-div-pre'], 'third-text-in-light'),\n        ref: this.parallelMsgRef,\n        style: style\n      }, Array.isArray(message) && message.map(function (item, index) {\n        var msgStr = _this4.getMessage(item.msg);\n        return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n          key: \"\".concat(msgStr, \"_\").concat(index),\n          className: _Message2[\"default\"]['detail-li']\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, msgStr), !isMsgCodeSame && _this4.getIsShowFeedback() && /*#__PURE__*/_react[\"default\"].createElement(_MsgFeedback[\"default\"], {\n          key: item.msgcode,\n          type: \"message\",\n          msgcode: item.msgcode,\n          href: item.href\n        }));\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _Message2[\"default\"]['content-div-botton']\n      }, Array.isArray(detail) && detail.length > 0 ? /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n        className: _Message2[\"default\"]['content-div-show'],\n        onClick: this.handleSpreadOutParallel\n      }, (0, _intlApi.getLangMsg)({\n        key: 'msg.checkDetail',\n        variables: {\n          length: message.length\n        }\n      })) : null, isMsgCodeSame && this.getIsShowFeedback() && /*#__PURE__*/_react[\"default\"].createElement(_MsgFeedback[\"default\"], {\n        key: message[0].msgcode,\n        type: \"message\",\n        msgcode: message[0].msgcode,\n        href: message[0].href\n      })));\n    }\n  }, {\n    key: \"getDetailDiv\",\n    value: function getDetailDiv(msg) {\n      var _this5 = this;\n      var _this$props5 = this.props,\n        detail = _this$props5.detail,\n        msgcode = _this$props5.msgcode,\n        href = _this$props5.href;\n      var _this$state = this.state,\n        showDetailButton = _this$state.showDetailButton,\n        textHeight = _this$state.textHeight;\n      var style = {};\n      textHeight && (style.maxHeight = this.state.textHeight);\n      var preClassName = (0, _classnames10[\"default\"])('kd-cq-message-confirm-tip', _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Message2[\"default\"]['detail-div-default'], showDetailButton), _Message2[\"default\"]['detail-div-pre'], !showDetailButton), _Message2[\"default\"]['content-div-overflow'], this.isOverFlow(this.defaultDetailRef) && showDetailButton), 'third-text-in-light', true));\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _Message2[\"default\"]['content-div']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames10[\"default\"])(_Message2[\"default\"]['content-div-span'], 'primary-text-in-light'),\n        title: this.getMessageTitle(msg)\n      }, this.getMessage(msg)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _Message2[\"default\"]['detail-div-line']\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"pre\", {\n        className: preClassName,\n        ref: function ref(r) {\n          _this5.defaultDetailRef = r;\n        },\n        style: style\n      }, this.getMessage(detail)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _Message2[\"default\"]['content-div-botton']\n      }, showDetailButton ? /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n        className: _Message2[\"default\"]['content-div-a'],\n        onClick: this.spreadOut\n      }, (0, _intlApi.getLangMsg)('msg.showDetail')) : null, this.getIsShowFeedback() && /*#__PURE__*/_react[\"default\"].createElement(_MsgFeedback[\"default\"], {\n        key: msgcode,\n        type: \"message\",\n        className: _Message2[\"default\"].feedback,\n        msgcode: msgcode,\n        href: href\n      })));\n    }\n  }, {\n    key: \"getMsgContent\",\n    value: function getMsgContent(message, index) {\n      return Array.isArray(message) && message[index];\n    }\n  }, {\n    key: \"getMsgTitle\",\n    value: function getMsgTitle(msg, index) {\n      return Array.isArray(msg) && this.getMessage(msg[index]);\n    }\n  }, {\n    key: \"getParallelDiv\",\n    value: function getParallelDiv(message) {\n      var _this6 = this;\n      var msg = this.getAllMsg(message);\n      var selectIndex = this.state.selectIndex;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _Message2[\"default\"]['parallel-div-dialog']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: _Message2[\"default\"]['parallel-div-side']\n      }, Array.isArray(msg) && msg.map(function (item, i) {\n        var listClassName = (0, _classnames10[\"default\"])(_defineProperty(_defineProperty({}, _Message2[\"default\"]['parallel-div-side-list'], true), _Message2[\"default\"]['side-list-selected'], selectIndex === i));\n        var msgStr = _this6.getMessageTitle(item);\n        return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n          key: \"\".concat(msgStr, \"_\").concat(i),\n          className: listClassName,\n          onClick: function onClick() {\n            return _this6.selectMessage(i);\n          }\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: _Message2[\"default\"]['parallel-div-side-title']\n        }, msgStr));\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: _Message2[\"default\"]['parallel-div-content-list']\n      }, Array.isArray(message) && message.map(function (item, i) {\n        var detail = item.detail,\n          msg = item.msg,\n          msgcode = item.msgcode,\n          href = item.href;\n        var msgStr = _this6.getMessage(msg);\n        var listClassName = (0, _classnames10[\"default\"])(_defineProperty(_defineProperty({}, _Message2[\"default\"]['parallel-div-content'], true), _Message2[\"default\"]['content-list-selected'], selectIndex === i));\n        return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n          key: \"\".concat(msgStr, \"_\").concat(i),\n          className: listClassName\n        }, /*#__PURE__*/_react[\"default\"].createElement(_TextEllipsisWrap[\"default\"], null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          title: msgStr,\n          className: _Message2[\"default\"]['parallel-div-title']\n        }, msgStr)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: _Message2[\"default\"]['parallel-div-detail']\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, detail, _this6.getIsShowFeedback() && /*#__PURE__*/_react[\"default\"].createElement(_MsgFeedback[\"default\"], {\n          key: msgcode,\n          type: \"message\",\n          className: _Message2[\"default\"].feedback,\n          msgcode: msgcode,\n          href: href\n        }))));\n      })));\n    }\n  }, {\n    key: \"isOverFlow\",\n    value: function isOverFlow(ref) {\n      var _this$props6;\n      if (!ref) {\n        return false;\n      }\n      // 简约弹窗不需要这个省略号\n      if (((_this$props6 = this.props) === null || _this$props6 === void 0 ? void 0 : _this$props6.dialogType) === _const.DIALOG_TYPES.simple) return false;\n      var clientHeight = ref.clientHeight,\n        scrollHeight = ref.scrollHeight;\n      return scrollHeight > clientHeight;\n    }\n  }, {\n    key: \"getBtnNameByKey\",\n    value: function getBtnNameByKey(btnKey, defaultName) {\n      var buttonNames = this.props.buttonNames;\n      if (!buttonNames) return defaultName;\n      return buttonNames[btnKey] || defaultName;\n    }\n\n    /**\n     * 渲染按钮部分\n     * @param  {[type]} buttonType [description]\n     * @return {[type]}             [description]\n     */\n  }, {\n    key: \"renderButtonDiv\",\n    value: function renderButtonDiv(buttonType) {\n      var _this7 = this;\n      var buttonDiv = null;\n      var btnBlueClass = (0, _classnames10[\"default\"])(_Message2[\"default\"]['but-blue'], 'theme btn-follow-theme');\n      var butLargeGreyClass = (0, _classnames10[\"default\"])(_Message2[\"default\"]['but-large-grey'], 'theme btn-ghost');\n      var butGreyClass = (0, _classnames10[\"default\"])(_Message2[\"default\"]['but-grey'], 'theme btn-ghost');\n      var butGapGreyClass = (0, _classnames10[\"default\"])(_Message2[\"default\"]['but-gap-grey'], 'theme btn-ghost');\n      var cancelConfirmBtnPositionExchange = (0, _defaultPropsUtil.getCommonDefaultProps)(_customProperties[\"default\"].CANCEL_CONFIRM_BTN_POSITION_EXCHANGE);\n      var commonGhostPrimaryBtn = (0, _classnames10[\"default\"])('kd-cq-control kd-cq-btn', _Message2[\"default\"]['button-div'], _defineProperty({}, _Message2[\"default\"].reverse, cancelConfirmBtnPositionExchange));\n      var buttonStyle = this.state.showParallel ? {\n        paddingBottom: '0px',\n        paddingTop: ' 0px',\n        // flexGrow: '1',\n        alignItems: 'center',\n        height: '50px'\n      } : null;\n      switch (buttonType) {\n        case ButtonType.OKCancel:\n          buttonDiv = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: commonGhostPrimaryBtn,\n            style: buttonStyle\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n            className: butGreyClass,\n            onClick: function onClick() {\n              return _this7.buttonClick(BtnKey.Cancel);\n            }\n          }, this.getBtnNameByKey(BtnKey.Cancel, (0, _intlApi.getLangMsg)('msg.cancel'))), /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n            className: btnBlueClass,\n            title: (0, _intlApi.getLangMsg)('msg.tipsEnter'),\n            onClick: function onClick() {\n              return _this7.buttonClick(BtnKey.Yes);\n            }\n          }, this.getBtnNameByKey(BtnKey.Yes, (0, _intlApi.getLangMsg)('msg.submit'))));\n          break;\n        case ButtonType.AbortRetryIgnore:\n          buttonDiv = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: (0, _classnames10[\"default\"])('kd-cq-control kd-cq-btn', _Message2[\"default\"]['button-div']),\n            style: buttonStyle\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n            className: butGreyClass,\n            onClick: function onClick() {\n              return _this7.buttonClick(BtnKey.Abort);\n            }\n          }, this.getBtnNameByKey(BtnKey.Abort, (0, _intlApi.getLangMsg)('msg.terminal'))), /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n            className: butGapGreyClass,\n            onClick: function onClick() {\n              return _this7.buttonClick(BtnKey.Ignore);\n            }\n          }, this.getBtnNameByKey(BtnKey.Ignore, (0, _intlApi.getLangMsg)('msg.ignore'))), /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n            className: btnBlueClass,\n            title: (0, _intlApi.getLangMsg)('msg.tipsEnter'),\n            onClick: function onClick() {\n              return _this7.buttonClick(BtnKey.Retry);\n            }\n          }, this.getBtnNameByKey(BtnKey.Retry, (0, _intlApi.getLangMsg)('msg.retry'))));\n          break;\n        case ButtonType.YesNoCancel:\n          buttonDiv = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: (0, _classnames10[\"default\"])('kd-cq-control kd-cq-btn', _Message2[\"default\"]['button-div']),\n            style: buttonStyle\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n            className: butGreyClass,\n            onClick: function onClick() {\n              return _this7.buttonClick(BtnKey.Cancel);\n            }\n          }, this.getBtnNameByKey(BtnKey.Cancel, (0, _intlApi.getLangMsg)('msg.cancel'))), /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n            className: butGapGreyClass,\n            onClick: function onClick() {\n              return _this7.buttonClick(BtnKey.No);\n            }\n          }, this.getBtnNameByKey(BtnKey.No, (0, _intlApi.getLangMsg)('msg.no'))), /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n            className: btnBlueClass,\n            title: (0, _intlApi.getLangMsg)('msg.tipsEnter'),\n            onClick: function onClick() {\n              return _this7.buttonClick(BtnKey.Yes);\n            }\n          }, this.getBtnNameByKey(BtnKey.Yes, (0, _intlApi.getLangMsg)('msg.yes'))));\n          break;\n        case ButtonType.YesNo:\n          buttonDiv = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: commonGhostPrimaryBtn,\n            style: buttonStyle\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n            className: butGreyClass,\n            onClick: function onClick() {\n              return _this7.buttonClick(BtnKey.No);\n            }\n          }, this.getBtnNameByKey(BtnKey.No, (0, _intlApi.getLangMsg)('msg.no'))), /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n            className: btnBlueClass,\n            title: (0, _intlApi.getLangMsg)('msg.tipsEnter'),\n            onClick: function onClick() {\n              return _this7.buttonClick(BtnKey.Yes);\n            }\n          }, this.getBtnNameByKey(BtnKey.Yes, (0, _intlApi.getLangMsg)('msg.yes'))));\n          break;\n        case ButtonType.RetryCancel:\n          buttonDiv = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: commonGhostPrimaryBtn,\n            style: buttonStyle\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n            className: butGreyClass,\n            onClick: function onClick() {\n              return _this7.buttonClick(BtnKey.Cancel);\n            }\n          }, this.getBtnNameByKey(BtnKey.Cancel, (0, _intlApi.getLangMsg)('msg.cancel'))), /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n            className: btnBlueClass,\n            title: (0, _intlApi.getLangMsg)('msg.tipsEnter'),\n            onClick: function onClick() {\n              return _this7.buttonClick(BtnKey.Retry);\n            }\n          }, this.getBtnNameByKey(BtnKey.Retry, (0, _intlApi.getLangMsg)('msg.retry'))));\n          break;\n        default:\n          buttonDiv = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: (0, _classnames10[\"default\"])('kd-cq-control kd-cq-btn', _Message2[\"default\"]['button-div']),\n            style: buttonStyle\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n            className: butLargeGreyClass,\n            title: (0, _intlApi.getLangMsg)('msg.tipsEnter'),\n            onClick: function onClick() {\n              return _this7.buttonClick(BtnKey.Cancel);\n            }\n          }, this.getBtnNameByKey(BtnKey.Cancel, (0, _intlApi.getLangMsg)('msg.iKnow'))));\n      }\n      return buttonDiv;\n    }\n  }, {\n    key: \"getAllMsg\",\n    value: function getAllMsg(message) {\n      var msg = this.props.msg;\n      if (Array.isArray(message) && message.length === 1) {\n        msg = this.props.msg;\n      } else if (Array.isArray(message)) {\n        msg = message.map(function (item) {\n          return item.msg;\n        });\n      }\n      return msg;\n    }\n  }, {\n    key: \"getAllDetail\",\n    value: function getAllDetail(message) {\n      var detail = this.props.detail;\n      if (Array.isArray(message) && message.length === 1) {\n        detail = this.props.detail;\n      } else if (Array.isArray(message)) {\n        detail = message.map(function (item) {\n          return item.detail;\n        });\n      }\n      return detail;\n    }\n  }, {\n    key: \"getDefaultDiv\",\n    value: function getDefaultDiv(msg) {\n      var _this$props7 = this.props,\n        msgcode = _this$props7.msgcode,\n        href = _this$props7.href;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames10[\"default\"])(_Message2[\"default\"]['word-div'], 'primary-text-in-light'),\n        title: this.getMessageTitle(msg)\n      }, this.getMessage(msg), this.getIsShowFeedback() && /*#__PURE__*/_react[\"default\"].createElement(_MsgFeedback[\"default\"], {\n        key: msgcode,\n        type: \"message\",\n        className: _Message2[\"default\"].feedback,\n        msgcode: msgcode,\n        href: href\n      }));\n    }\n  }, {\n    key: \"renderParallel\",\n    value: function renderParallel() {\n      var showParallel = this.state.showParallel;\n      var message = this.props.message;\n      return showParallel ? this.getParallelDiv(message) : this.renderMsg(message);\n    }\n  }, {\n    key: \"renderMessage\",\n    value: function renderMessage() {\n      var _this$props8 = this.props,\n        message = _this$props8.message,\n        detail = _this$props8.detail;\n      var msg = this.getAllMsg(message);\n      if (Array.isArray(msg)) {\n        // 多条消息\n        return this.renderParallel();\n      } else if (detail) {\n        // 有详情\n        return this.getDetailDiv(msg);\n      }\n      // 无详情\n      return this.getDefaultDiv(msg);\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      if (this.state.visible === false) return null;\n      var _this$props9 = this.props,\n        title = _this$props9.title,\n        imgUrl = _this$props9.imgUrl,\n        buttonType = _this$props9.buttonType,\n        isConfirm = _this$props9.isConfirm,\n        style = _this$props9.style,\n        setDragRef = _this$props9.setDragRef,\n        setDialogRef = _this$props9.setDialogRef,\n        dialogType = _this$props9.dialogType,\n        dotClz = _this$props9.dotClassName;\n      var footer = this.renderButtonDiv(buttonType);\n      var showParallel = this.state.showParallel;\n      var rootClassName = (0, _classnames10[\"default\"])(\"kd-cq-control kd-cq-message kd-cq-message_type_\".concat(dialogType, \" kd-cq-confirm\"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Message2[\"default\"]['root-parallel'], showParallel), _Message2[\"default\"].root, !showParallel), _Message2[\"default\"][\"dialog_type_\".concat(dialogType)], true), 'kd-cq-confirm-confirm', isConfirm), 'kd-cq-confirm-message', !isConfirm));\n      var titleDivClassName = (0, _classnames10[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, _Message2[\"default\"]['title-div-parallel'], showParallel), _Message2[\"default\"]['title-div'], !showParallel), _Message2[\"default\"].dialog_type_1_title, true));\n      var dotClassName = (0, _classnames10[\"default\"])('kd-cq-message-dot', dotClz, _defineProperty(_defineProperty({}, \"\".concat(_Message2[\"default\"].dot_confirm, \" ongoing-bg-ongoing-color\"), isConfirm), \"\".concat(_Message2[\"default\"].dot_message, \" warning-bg-warning-color\"), !isConfirm));\n      var closeIconClassName = (0, _classnames10[\"default\"])(_defineProperty({\n        'kdfont-guanbi8': true,\n        'hover-theme-fc': true,\n        kdfont: true\n      }, _Message2[\"default\"]['close-div-style'], true));\n      var dialogIconTip = (0, _classnames10[\"default\"])(_defineProperty(_defineProperty({\n        kdfont: true,\n        'kdfont-jinggao-mian': !isConfirm,\n        'kdfont-tishi-mianxing': isConfirm\n      }, \"\".concat(_Message2[\"default\"].dot_confirm_dialogIconTip, \" ongoing-color\"), isConfirm), \"\".concat(_Message2[\"default\"].dot_message_dialogIconTip, \" warning-color\"), !isConfirm));\n      return /*#__PURE__*/_react[\"default\"].createElement(_Dialog[\"default\"], {\n        isShowClose: false,\n        isShowTitle: false,\n        onClose: this.handleClose,\n        width: \"460px\",\n        height: \"auto\",\n        style: style,\n        setDragRef: setDragRef,\n        ref: this.dialogRef\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: rootClassName,\n        ref: setDialogRef\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: titleDivClassName\n      }, !showParallel && dialogType !== _const.DIALOG_TYPES.simple ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: dotClassName\n      }) : null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames10[\"default\"])('kd-cq-message-title', _Message2[\"default\"]['title-body'], 'primary-text-in-light'),\n        title: title\n      }, this.getTitle()), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _Message2[\"default\"]['title-grow-div']\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        title: (0, _intlApi.getLangMsg)('msg.tipsESC'),\n        className: closeIconClassName,\n        onClick: this.handleClose\n      })), dialogType !== _const.DIALOG_TYPES.simple && !showParallel ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames10[\"default\"])('kd-cq-message-img', _Message2[\"default\"]['img-div'])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n        src: imgUrl\n      })) : null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames10[\"default\"])('kd-cq-message-text', _Message2[\"default\"].dialog_type_1_content)\n      }, !showParallel && dialogType === _const.DIALOG_TYPES.simple ? /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: dialogIconTip\n      }) : null, this.renderMessage()), footer));\n    }\n  }]);\n  return Message;\n}(_react[\"default\"].Component);\nvar _default = exports[\"default\"] = Message;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Message.jsx?");

/***/ }),

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

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.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.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.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.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.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\"] = MsgFeedback;\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.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.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.link.js */ \"../../node_modules/core-js/modules/es.string.link.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 _kdesign = __webpack_require__(/*! @kdcloudjs/kdesign */ \"webpack/sharing/consume/default/@kdcloudjs/kdesign/@kdcloudjs/kdesign\");\nvar _clipboardUtil = __webpack_require__(/*! @/util/clipboardUtil */ \"./src/util/clipboardUtil.js\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _MsgFeedback = _interopRequireDefault(__webpack_require__(/*! ./MsgFeedback.less */ \"./src/component/web/base/MsgFeedback.less\"));\nvar _classnames3 = _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 _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 _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); }\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; }\nvar defaultCopyTips = (0, _intlApi.getLangMsg)('msg.copyTips');\nvar defaultUselessTips = (0, _intlApi.getLangMsg)('msg.useless');\nfunction MsgFeedback(_ref) {\n  var msgcode = _ref.msgcode,\n    href = _ref.href,\n    className = _ref.className,\n    style = _ref.style,\n    type = _ref.type;\n  if (!msgcode) return null;\n  var _useState = (0, _react.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    uselessClicked = _useState2[0],\n    setUselessClicked = _useState2[1];\n  var _useState3 = (0, _react.useState)(false),\n    _useState4 = _slicedToArray(_useState3, 2),\n    copyClicked = _useState4[0],\n    setCopyClicked = _useState4[1];\n  var _useState5 = (0, _react.useState)(defaultCopyTips),\n    _useState6 = _slicedToArray(_useState5, 2),\n    copyTips = _useState6[0],\n    setCopyTips = _useState6[1];\n  var handleCopyClick = function handleCopyClick() {\n    if (copyClicked) return;\n    (0, _clipboardUtil.copy2Clipboard)(msgcode, function () {\n      setCopyClicked(true);\n      setCopyTips((0, _intlApi.getLangMsg)({\n        key: 'msg.copyCodeSuccess',\n        variables: {\n          msgcode: msgcode\n        }\n      }));\n      // 3s后回到原状态\n      setTimeout(function () {\n        setCopyClicked(false);\n        setCopyTips(defaultCopyTips);\n      }, 3000);\n    });\n  };\n  var handleUselessClick = function handleUselessClick() {\n    setUselessClicked(!uselessClicked);\n  };\n  var uselessTips = (0, _react.useMemo)(function () {\n    return uselessClicked ? (0, _intlApi.getLangMsg)('msg.uselessFeedback') : defaultUselessTips;\n  }, [uselessClicked]);\n  var copyClass = (0, _classnames3[\"default\"])(_defineProperty(_defineProperty({\n    'kdfont kdfont-fuzhi7': !copyClicked,\n    'kdfont kdfont-shenpiwancheng': copyClicked\n  }, _MsgFeedback[\"default\"].copy, true), _MsgFeedback[\"default\"]['button-clicked'], copyClicked));\n  var uselessClass = (0, _classnames3[\"default\"])(_defineProperty(_defineProperty({\n    'kdfont kdfont-meiyoubangzhu': true\n  }, _MsgFeedback[\"default\"].useless, true), _MsgFeedback[\"default\"]['button-clicked'], uselessClicked));\n  var linkAttr = _defineProperty({}, \"data-\".concat(type, \"-button\"), 'link');\n  var copyAttr = _defineProperty({}, \"data-\".concat(type, \"-button\"), 'copy');\n  var uselessAttr = _defineProperty({}, \"data-\".concat(type, \"-button\"), 'useless');\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    \"data-msgcode\": msgcode,\n    className: (0, _classnames3[\"default\"])(_MsgFeedback[\"default\"]['msg-feedback'], className),\n    style: style\n  }, href ? /*#__PURE__*/_react[\"default\"].createElement(Link, {\n    className: _MsgFeedback[\"default\"].link,\n    href: href,\n    name: (0, _intlApi.getLangMsg)('msg.href'),\n    code: href,\n    linkAttr: linkAttr\n  }) : null, /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Tooltip, {\n    placement: \"top\",\n    tip: copyTips\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", _extends({}, copyAttr, {\n    onClick: handleCopyClick,\n    className: copyClass\n  }))), /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Tooltip, {\n    placement: \"top\",\n    tip: uselessTips\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", _extends({}, uselessAttr, {\n    onClick: handleUselessClick,\n    className: uselessClass\n  }))));\n}\nvar Link = function Link(props) {\n  var name = props.name,\n    code = props.code,\n    callback = props.callback,\n    linkAttr = props.linkAttr;\n  var isOutsizeLink = code.startsWith('www') || code.startsWith('http://') || code.startsWith('https://');\n  var linkClass = (0, _classnames3[\"default\"])(_MsgFeedback[\"default\"].link, props.className);\n  return isOutsizeLink ? /*#__PURE__*/_react[\"default\"].createElement(\"a\", _extends({}, linkAttr, {\n    className: linkClass,\n    onClick: function onClick() {\n      return callback === null || callback === void 0 ? void 0 : callback();\n    },\n    href: code.startsWith('www') ? \"http://\".concat(code) : code,\n    rel: \"noopener noreferrer\",\n    target: \"_blank\"\n  }), name) : /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n    \"data-message-Button\": \"link\",\n    className: linkClass,\n    href: \"javascript:void(0);\",\n    onClick: function onClick() {\n      return callback === null || callback === void 0 ? void 0 : callback(code);\n    }\n  }, name);\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/MsgFeedback.js?");

/***/ }),

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

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.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.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.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.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.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/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.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.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.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.is.js */ \"../../node_modules/core-js/modules/es.object.is.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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 _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\"));\nvar _classnames4 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _MulLangText2 = _interopRequireDefault(__webpack_require__(/*! ./MulLangText.less */ \"./src/component/web/base/MulLangText.less\"));\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _toolUtils = __webpack_require__(/*! ../../../util/toolUtils */ \"./src/util/toolUtils.js\");\nvar _BaseComponents = __webpack_require__(/*! ./BaseComponents */ \"./src/component/web/base/BaseComponents/index.js\");\nvar _componentutil = __webpack_require__(/*! @/util/componentutil */ \"./src/util/componentutil.js\");\nvar _commonAnimation = _interopRequireDefault(__webpack_require__(/*! ../../common/commonAnimation.less */ \"./src/component/common/commonAnimation.less\"));\nvar _MultilingualTextPanel = _interopRequireDefault(__webpack_require__(/*! @/component/web/base/MultilingualText/MultilingualTextPanel */ \"./src/component/web/base/MultilingualText/MultilingualTextPanel.jsx\"));\nvar _lodash = _interopRequireDefault(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nvar _resizeObserve = _interopRequireDefault(__webpack_require__(/*! @/util/resizeObserve */ \"./src/util/resizeObserve.js\"));\nvar _keyCode = __webpack_require__(/*! ../../../constant/keyCode */ \"./src/constant/keyCode.js\");\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher */ \"./src/model/GlobalDataCacher.js\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _excluded = [\"isNoUnderLineLockStyle\", \"value\", \"langList\", \"className\", \"Grow\", \"Shrink\", \"placeholder\", \"readOnly\", \"maxLength\", \"onChange\", \"onBlur\", \"disabled\", \"inputStyle\", \"theme\", \"multiLine\", \"lang\", \"defaultLang\", \"tabIndex\", \"isGrid\", \"wrapStyle\", \"lockedEmptyValue\", \"lock\", \"allBorder\", \"langIconStyle\", \"onKeyDown\", \"shortcutInfo\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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 _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 */\n// 默认多语言列表\nvar defaultLangLst = [{\n  code: 'zh_CN',\n  no: 'ZH',\n  name: (0, _intlApi.getLangMsg)('MulLangText.key001')\n}, {\n  code: 'en_US',\n  no: 'EN',\n  name: 'English'\n}, {\n  code: 'zh_TW',\n  no: 'ZF',\n  name: (0, _intlApi.getLangMsg)('MulLangText.key002')\n}];\nvar zh_CN = 'zh_CN';\nvar zh_TW = 'zh_TW';\nvar DEFAULT_INPUT_WIDTH = 230;\n// 通用语言key\nvar GLang = 'GLang';\nvar MulLangText = /*#__PURE__*/function (_React$Component) {\n  _inherits(MulLangText, _React$Component);\n  function MulLangText(props) {\n    var _this;\n    _classCallCheck(this, MulLangText);\n    _this = _callSuper(this, MulLangText, [props]);\n    _this.handleKeyDown = function (e) {\n      switch (e.keyCode) {\n        case _keyCode.KEYS.ESC:\n          if (!_this.state.show) return;\n          _this.closeList();\n          (0, _GlobalDataCacher.setData)(_symbolConst.KEY_UI_ACTION, {\n            tableName: 'shortcut_key',\n            shortcutKey: 'Esc',\n            methodName: '关闭弹窗'\n          });\n          e.stopPropagation();\n          _this.closeList();\n          break;\n        default:\n          break;\n      }\n    };\n    /**\n     * 多行文本时，需要监听高度变化\n     */\n    _this.addTextareaResizeHandler = function () {\n      var dom = _reactDom[\"default\"].findDOMNode(_this.containerRef.current);\n      _this.resizeDomHandler = (0, _resizeObserve[\"default\"])(dom, function (_ref) {\n        var height = _ref.height;\n        _this.diff = height - (_this.currentHeight || 0);\n        _this.currentHeight = height;\n        if (_this.diff !== 0) {\n          _this.diff !== 0 && _this.resetPanelTop();\n        }\n      });\n    };\n    _this.resetPanelTop = function () {\n      var input = _reactDom[\"default\"].findDOMNode(_this.refs.txtMulLang);\n      var div = _this.attachElement;\n      if (!input || !div) return;\n      div.style.cssText = div.style.cssText.replace(/( top: )(\\d+)px/, function (match, $0, $1) {\n        var newTop = Number($1) + _this.diff;\n        return $0 + newTop + 'px';\n      });\n    };\n    /**\n     * 多语言面板输入内容发生变化\n     * @param {string} val 内容\n     * @param {string} code 对应的语言 code\n     */\n    _this.handlePanelValChange = function (val, code) {\n      _this._langValue = _objectSpread(_objectSpread({}, _this._langValue), {}, _defineProperty({}, code, val));\n      if (code === 'zh_CN' || code === 'zh_TW') {\n        _this.convertLangST(val);\n      }\n      if (_this.props.onChange) {\n        _this.props.onChange(_this._langValue); // 自动写入'data',引发重新渲染\n      }\n    };\n    _this.handlePanelBlur = function (evt) {\n      setTimeout(function () {\n        var _document$activeEleme;\n        if (((_document$activeEleme = document.activeElement) === null || _document$activeEleme === void 0 ? void 0 : _document$activeEleme.nodeName) === 'IFRAME') {\n          _this.setState({\n            show: false\n          }, function () {\n            _this.unBindEventOfSelectPanel();\n            _this.destroyDropDownPanel();\n          });\n        }\n      }, 100);\n    };\n    _this.computePanelPosition = function (height, isCloseToRight) {\n      if (!_this.isCloseToRight) {\n        _this.isCloseToRight = isCloseToRight;\n      }\n      var input = _reactDom[\"default\"].findDOMNode(_this.refs.txtMulLang);\n      var div = _this.attachElement;\n      if (!input || !div) return;\n      var position = _this.containerRef.current.getBoundingClientRect();\n      var scrollTop = document.documentElement.scrollTop || document.body.scrollTop;\n      var top = position.bottom + scrollTop;\n      top = top + 4;\n      var left = position.left + (document.documentElement.scrollLeft || document.body.scrollLeft) - _this.containerRef.current.offsetLeft;\n      // 下面空间不够放时，放到上面\n      // 暂时使用这种方式解决\n      var itemHeight = 33;\n      var length = _this._langList.length > 10 ? 10 : _this._langList.length;\n      var panelHeight = height !== null && height !== void 0 ? height : itemHeight * length;\n      var _document$body$getBou = document.body.getBoundingClientRect(),\n        bottom = _document$body$getBou.bottom,\n        right = _document$body$getBou.right;\n      if (top + panelHeight > bottom) {\n        top = position.top - panelHeight - scrollTop;\n      }\n\n      // div.style.cssText = `position:absolute;display:block;width: ${position.width}px;top: ${top}px; left: ${left}px;z-index: 1050;`\n      _this.inputWidth = position.width;\n      if (_this.isCloseToRight) {\n        div.style.cssText = \"position:absolute;display:block;top: \".concat(top, \"px; right: \").concat(right - position.right, \"px;z-index: 1050;\");\n      } else {\n        div.style.cssText = \"position:absolute;display:block;top: \".concat(top, \"px; left: \").concat(left, \"px;z-index: 1050;\");\n      }\n    };\n    _this.hideList = function (e) {\n      var target = e.target;\n      while (target) {\n        if (target === _this.attachElement) return;\n        target = target.parentNode;\n      }\n      _this.setState(Object.assign({}, _this.state, {\n        show: false\n      }), function () {\n        this.unBindEventOfSelectPanel();\n        this.destroyDropDownPanel();\n      });\n    };\n    _this.hideByScroll = function (evt) {\n      var _this$panelRef$curren;\n      // 弹框的输入框内容超出宽度时，会触发滚动事件\n      if (evt.target.nodeName === 'INPUT' || evt.target.nodeName === 'TEXTAREA' || evt.target === ((_this$panelRef$curren = _this.panelRef.current) === null || _this$panelRef$curren === void 0 ? void 0 : _this$panelRef$curren.ref.current) || !_this.state.show) return;\n      _this.setState(Object.assign({}, _this.state, {\n        show: false\n      }), function () {\n        this.unBindEventOfSelectPanel();\n        this.destroyDropDownPanel();\n      });\n    };\n    _this.setTextareaHeight = function () {\n      var style = _this.props.style;\n      var input = _reactDom[\"default\"].findDOMNode(_this.refs.txtMulLang);\n      if (input && style && style.height) {\n        var textarea = input.children[0];\n        var setHeight = function setHeight(offsetHeight) {\n          textarea.style.cssText += \";max-height: \".concat(offsetHeight, \"px;min-height: \").concat(offsetHeight - 5, \"px;\");\n        };\n        if (textarea) {\n          var offsetHeight = input.offsetHeight;\n          // 在两个页签或者单选菜单切换时（设计器帮助文本），隐藏的多语言文本会被加载，但是此时 offsetHeight 为 0\n          // 故在 offsetHeight 为 0 时添加监听\n          if (offsetHeight > 0) {\n            setHeight(offsetHeight);\n          } else {\n            _this.intersectionObserver = new window.IntersectionObserver(function (entries) {\n              var _entries = _slicedToArray(entries, 1),\n                entry = _entries[0];\n              if (entry.intersectionRatio > 0) {\n                var _entry$target;\n                setHeight(((_entry$target = entry.target) === null || _entry$target === void 0 ? void 0 : _entry$target.clientHeight) || offsetHeight);\n                _this.intersectionObserver.disconnect();\n              }\n            });\n            _this.intersectionObserver.observe(input);\n          }\n        }\n      }\n    };\n    /**\n     * 获取初始显示语言内容\n     * 处理规则：先取当前语言内容，没有内容再取默认语言内容，还没有内容就取有内容的第一个语言\n     */\n    // getInitLang (nextProps) {\n    //   const { value, lang, defaultLang } = nextProps\n    //   return getLanguage(value, lang, defaultLang)\n    // }\n    _this.handleScroll = function (event) {\n      event.stopPropagation();\n      if (!_this.scrollTimer) {\n        clearTimeout(_this.scrollTimer);\n      }\n      _this.setState({\n        showScrollBar: true\n      });\n      _this.scrollTimer = setTimeout(function () {\n        _this.setState({\n          showScrollBar: false\n        });\n      }, 1000);\n    };\n    // 获取语言值，并当不是聚焦状态时记录当前展示的语言类型\n    _this.getLangValue = function (langTypeArr) {\n      var isFocus = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n      var langValueType = langTypeArr.find(function (type) {\n        return type && _this._langValue[type];\n      });\n      if (langValueType) {\n        !isFocus && (_this.curShowLangType = langValueType);\n        return _this._langValue[langValueType];\n      } else {\n        // 当语言为空时，将当前展示的语言类型重置为当前语言\n        !isFocus && (_this.curShowLangType = _this.props.lang);\n        return '';\n      }\n    };\n    /**\n     * 获取展示的值。取值规则:\n     *\n     * 1. 当前语言\n     * 2. 通用语言\n     * 3. 默认语言\n     * 4. 第一个值不为空字符串的\n     */\n    _this.getText = function () {\n      var _this$props = _this.props,\n        lock = _this$props.lock,\n        disabled = _this$props.disabled,\n        defaultLang = _this$props.defaultLang;\n      if (lock || disabled) {\n        return _this.getLangValue([_this.props.lang, GLang]);\n      }\n      // 输入框聚焦时的值\n      if (_this.isInputFocus) {\n        return _this.getLangValue([_this.props.lang], _this.isInputFocus);\n      }\n\n      // 如果所有语言都为空，但是通用语言非空时 - 输入值都被删了\n      var langWithVal = Object.keys(_this._langValue).find(function (key) {\n        return key !== GLang && _this._langValue[key].length > 0;\n      });\n      if (!langWithVal) {\n        // 当语言为空时，将当前展示的语言类型重置为当前语言\n        _this.curShowLangType = _this.props.lang;\n        return '';\n      }\n\n      // 第一个符合通用值的语种\n      var lang = Object.keys(_this._langValue).find(function (key) {\n        return key !== GLang && _this._langValue[GLang] && _this._langValue[key] === _this._langValue[GLang];\n      });\n      return _this.getLangValue([_this.props.lang, lang && GLang, defaultLang, langWithVal]);\n    };\n    _this.handleFocus = function (evt) {\n      _this.isInputFocus = true;\n      _this.props.onFocus && _this.props.onFocus(evt);\n    };\n    _this.handleChange = function (evt) {\n      _this.changeValue(evt.target.value);\n    };\n    _this.handleBlur = function (evt) {\n      _this.isInputFocus = false;\n      // 在输入框失焦时，如果值为空，需要查找有值的填进去\n      if (!(evt !== null && evt !== void 0 && evt.target.value)) {\n        _this.forceUpdate();\n      }\n      _this.props.onBlur && _this.props.onBlur(evt);\n    };\n    _this.flag = false; // 处理第一次后端u指令回来的值的标识\n    _this.state = {\n      show: false,\n      // 是否显示下拉面板\n      showScrollBar: false\n    };\n    _this._langValue = _immutable.Map.isMap(props.value) ? props.value.toJS() : props.isGrid ? props.value : {};\n    _this._langList = []; // 语言列表\n    _this.closeList = _this.closeList.bind(_assertThisInitialized(_this));\n    _this.resizeHandler = _lodash[\"default\"].throttle(_this.closeList, 300);\n    _this.scrollTimer = null;\n\n    // 用于判断用户是否切换过语言，用于平铺、卡片字段\n    _this.isLangChanged = false;\n    _this.inputWidth = DEFAULT_INPUT_WIDTH; // 默认值\n    _this.containerRef = /*#__PURE__*/_react[\"default\"].createRef(null);\n    _this.panelRef = /*#__PURE__*/_react[\"default\"].createRef(null);\n    _this.isInputFocus = false;\n    // 记录当前展示的语言类型\n    _this.curShowLangType = props.lang;\n    return _this;\n  }\n  _createClass(MulLangText, [{\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      var _this$panelRef;\n      if (_lodash[\"default\"].eq(nextProps.value, this.props.value)) {\n        return;\n      }\n\n      // 单据体绑定平铺时，页面初始化时，虽然只显示单据体，但是平铺字段也会被初始化\n      // 但是后续单据体获取值后再渲染，此时平铺字段又不会重新获取 value\n      // 只能在 componentWillReceiveProps 中进行调整\n      // if (nextProps.isTiled && !this.isLangChanged) {\n      //   const lang = this.getInitLang(nextProps)\n      //   this.setState({ curLang: lang })\n      // }\n\n      var value = nextProps.value;\n      if (_immutable.Map.isMap(value)) {\n        this._langValue = value.toJS();\n      } else {\n        this._langValue = value === undefined || value === '' ? {} : value;\n      }\n      (_this$panelRef = this.panelRef) === null || _this$panelRef === void 0 || (_this$panelRef = _this$panelRef.current) === null || _this$panelRef === void 0 || _this$panelRef.updateVal(this._langValue);\n    }\n\n    /* React生命周期 */\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      this.setTextareaHeight();\n      if (this.props.multiLine || this.props.isGrid) {\n        this.addTextareaResizeHandler();\n      }\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.destroyDropDownPanel();\n      this.scrollTimer && clearTimeout(this.scrollTimer);\n      this.resizeDomHandler && this.resizeDomHandler.removeResizeObserve();\n    }\n  }, {\n    key: \"handleEditBtnClick\",\n    value:\n    // 点击按钮\n    function handleEditBtnClick(value, e) {\n      if (this.props.isDesigner) {\n        return;\n      }\n      this.isInputFocus = false;\n      this.showMulLangePanel();\n    }\n\n    // 显示,隐藏多语言面板\n  }, {\n    key: \"showMulLangePanel\",\n    value: function showMulLangePanel() {\n      this.setState(Object.assign({}, this.state, {\n        show: !this.state.show\n      }), function () {\n        if (this.state.show) {\n          this.renderDropDownPanel();\n          this.unBindEventOfSelectPanel();\n          this.bindEventOfSelectPanel();\n        } else {\n          this.unBindEventOfSelectPanel();\n          this.destroyDropDownPanel();\n        }\n      });\n    }\n  }, {\n    key: \"renderDropDownPanel\",\n    value: function renderDropDownPanel() {\n      var _this2 = this;\n      var _this$props2 = this.props,\n        langList = _this$props2.langList,\n        maxLength = _this$props2.maxLength,\n        multiLine = _this$props2.multiLine,\n        onBlur = _this$props2.onBlur,\n        disabled = _this$props2.disabled,\n        lockedEmptyValue = _this$props2.lockedEmptyValue,\n        isPrivacy = _this$props2.isPrivacy;\n      var div = this.attachElement;\n      if (!div) {\n        var panel = document.body;\n        div = document.createElement('div');\n        panel.appendChild(div);\n        this.attachElement = div;\n      }\n      this.computePanelPosition(null, this.isCloseToRight);\n      this.props.getPopupPanel && this.props.getPopupPanel(this.attachElement); // used by grid\n      var panelInputStyle = {};\n      var panelStyle = {};\n      var titleStyle = {};\n      if (this.inputWidth >= 360) {\n        panelStyle = {\n          width: this.inputWidth\n        };\n        panelInputStyle = {\n          flexGrow: 1\n        };\n        titleStyle = {\n          minWidth: 48\n        };\n      } else {\n        panelInputStyle = {\n          width: this.inputWidth || DEFAULT_INPUT_WIDTH,\n          minWidth: this.inputWidth || DEFAULT_INPUT_WIDTH\n        };\n      }\n      var noValue = lockedEmptyValue || (0, _componentutil.getNOValue)();\n      _reactDom[\"default\"].render( /*#__PURE__*/_react[\"default\"].createElement(_MultilingualTextPanel[\"default\"], {\n        ref: this.panelRef,\n        className: _commonAnimation[\"default\"]['panel-drop-down-animation'],\n        disabled: disabled,\n        containerStyle: panelStyle,\n        titleStyle: titleStyle,\n        inputStyle: panelInputStyle,\n        localeList: langList,\n        maxLength: maxLength,\n        multiLine: multiLine,\n        noValue: noValue,\n        values: this._langValue,\n        onChange: this.handlePanelValChange,\n        onBlur: onBlur,\n        onPanelBlur: this.handlePanelBlur,\n        updatePosition: this.computePanelPosition\n      }), div);\n      setTimeout(function () {\n        var _this2$panelRef$curre;\n        (_this2$panelRef$curre = _this2.panelRef.current) === null || _this2$panelRef$curre === void 0 || _this2$panelRef$curre.panelFocus();\n      }, 100);\n    }\n  }, {\n    key: \"destroyDropDownPanel\",\n    value: function destroyDropDownPanel() {\n      if (this.attachElement) {\n        _reactDom[\"default\"].unmountComponentAtNode(this.attachElement);\n        this.attachElement.parentNode.removeChild(this.attachElement);\n        this.attachElement = null;\n      }\n    }\n  }, {\n    key: \"closeList\",\n    value: function closeList() {\n      var _this3 = this;\n      if (this.state.show) {\n        this.setState({\n          show: false\n        }, function () {\n          _this3.unBindEventOfSelectPanel();\n          _this3.destroyDropDownPanel();\n        });\n      }\n    }\n\n    // 删除key\n  }, {\n    key: \"getDelKey\",\n    value: function getDelKey(key) {\n      var _this4 = this;\n      // 判断是否是通用语种，是则判断是否有唯一对应的语种有则返回对应语种，有多个则返回false；如果不是通用语种直接返回key\n      if (key === GLang) {\n        var glangKeys = Object.keys(this._langValue).filter(function (key) {\n          return key !== GLang && _this4._langValue[key] === _this4._langValue[GLang];\n        });\n        return glangKeys.length === 1 && glangKeys[0];\n      }\n      return key;\n    }\n\n    // 内容更改\n  }, {\n    key: \"changeValue\",\n    value: function changeValue(value) {\n      // this._langValue = Object.assign({}, this._langValue, {\"zh_CN\": value,\"zh_TW\": value,\"en_US\": value});\n      var newLang = {};\n      newLang[this.props.lang] = value;\n      // 删除值，语种为聚焦前的语种,当值为空时才删除聚焦前的语种\n      if (!value) {\n        var delKey = this.getDelKey(this.curShowLangType);\n        delKey && (newLang[delKey] = value);\n      }\n      this._langValue = Object.assign({}, this._langValue, newLang);\n      // if (value !== '') {\n      // todo:确认操作语言是CN或TW-》确认TW或CN内容为空-》简繁体转换\n      this.convertLangST(value);\n      // }\n\n      if (this.props.onChange) {\n        this.props.onChange(this._langValue); // 自动写入'data',引发重新渲染\n      }\n    }\n\n    // 简繁体转换\n  }, {\n    key: \"convertLangST\",\n    value: function convertLangST(value) {\n      if (value || value === '') {\n        if (this.props.lang == zh_CN) {\n          if (Object.keys(this._langValue).indexOf(zh_TW) > -1 || this._langList) {\n            this._langValue = Object.assign({}, this._langValue, _defineProperty({}, zh_TW, (0, _toolUtils.convertST)(zh_CN, value)));\n          }\n        } else if (this.props.lang == zh_TW) {\n          if (Object.keys(this._langValue).indexOf(zh_CN) > -1 || this._langList) {\n            this._langValue = Object.assign({}, this._langValue, _defineProperty({}, zh_CN, (0, _toolUtils.convertST)(zh_TW, value)));\n          }\n        }\n      }\n    }\n\n    // 是否空对象\n  }, {\n    key: \"isEmptyObj\",\n    value: function isEmptyObj(obj) {\n      for (var key in obj) {\n        return false;\n      }\n      return true;\n    }\n  }, {\n    key: \"bindEventOfSelectPanel\",\n    value:\n    // 绑定弹出面板相关event\n    function bindEventOfSelectPanel() {\n      document.body.addEventListener('click', this.hideList);\n      document.addEventListener('scroll', this.hideByScroll, true);\n      window.addEventListener('resize', this.resizeHandler);\n      document.body.addEventListener('keydown', this.handleKeyDown, true);\n    }\n\n    // 解除event绑定\n  }, {\n    key: \"unBindEventOfSelectPanel\",\n    value: function unBindEventOfSelectPanel() {\n      document.body.removeEventListener('click', this.hideList);\n      document.removeEventListener('scroll', this.hideByScroll, true);\n      window.removeEventListener('resize', this.resizeHandler);\n      document.body.removeEventListener('keydown', this.handleKeyDown, true);\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this5 = this;\n      var _this$props3 = this.props,\n        isNoUnderLineLockStyle = _this$props3.isNoUnderLineLockStyle,\n        value = _this$props3.value,\n        langList = _this$props3.langList,\n        className = _this$props3.className,\n        Grow = _this$props3.Grow,\n        Shrink = _this$props3.Shrink,\n        placeholder = _this$props3.placeholder,\n        readOnly = _this$props3.readOnly,\n        maxLength = _this$props3.maxLength,\n        onChange = _this$props3.onChange,\n        onBlur = _this$props3.onBlur,\n        disabled = _this$props3.disabled,\n        inputStyle = _this$props3.inputStyle,\n        theme = _this$props3.theme,\n        multiLine = _this$props3.multiLine,\n        lang = _this$props3.lang,\n        defaultLang = _this$props3.defaultLang,\n        tabIndex = _this$props3.tabIndex,\n        isGrid = _this$props3.isGrid,\n        wrapStyle = _this$props3.wrapStyle,\n        lockedEmptyValue = _this$props3.lockedEmptyValue,\n        lock = _this$props3.lock,\n        allBorder = _this$props3.allBorder,\n        langIconStyle = _this$props3.langIconStyle,\n        onKeyDown = _this$props3.onKeyDown,\n        shortcutInfo = _this$props3.shortcutInfo,\n        others = _objectWithoutProperties(_this$props3, _excluded);\n      this._langList = langList == undefined ? defaultLangLst : langList.toJS();\n      className = (0, _classnames4[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _MulLangText2[\"default\"]['flat-dir-col-class'], Object.is(theme, 'flat')), _MulLangText2[\"default\"]['multiLine-textareaoverheight'], multiLine), _MulLangText2[\"default\"].highlight, this.state.show), _MulLangText2[\"default\"]['one-langList'], this._langList.length <= 1), _MulLangText2[\"default\"].root, className, (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink\n      }));\n      placeholder = disabled ? '' : placeholder;\n\n      // test data\n      // multiLine = true; //是否多行\n\n      // 临时解决 wenqiao-2017/05/12\n      if (_immutable.Map.isMap(value) && this.isEmptyObj(this._langValue)) {\n        this._langValue = value.toJS();\n      }\n      var textClass = (0, _classnames4[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _MulLangText2[\"default\"].input, true), _MulLangText2[\"default\"]['pr-20'], true), _MulLangText2[\"default\"]['line-height'], multiLine), _MulLangText2[\"default\"].ellipsis, !multiLine));\n      var toggleClassName = (0, _classnames4[\"default\"])('kdfont kdfont-duoyuyan2 kd-cq-trigger-icon', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _MulLangText2[\"default\"]['toggle-' + (theme || 'default')], true), 'theme toggle-default', Object.is(theme, 'default')), 'toggle-flat', Object.is(theme, 'flat')), _MulLangText2[\"default\"]['align-items'], multiLine), _MulLangText2[\"default\"]['cursor-pointer'], !this.props.isDesigner));\n      var textValue = this.getText();\n      var noValue = lockedEmptyValue || (0, _componentutil.getNOValue)(); // 获取”锁定非空提示“，如获取不到再取noValue\n      // 在多行输入框没值的情况下，高度会少4px\n      var margin = {};\n      if (multiLine && !allBorder && inputStyle) {\n        if (inputStyle.marginTop === undefined) margin.marginTop = 2;\n        if (inputStyle.marginBottom === undefined) margin.marginBottom = 2;\n      }\n      var inputEvents = !(disabled || readOnly) && {\n        onFocus: this.handleFocus,\n        onChange: this.handleChange,\n        onBlur: this.handleBlur\n      };\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: className,\n        style: wrapStyle,\n        \"data-base-ctrl\": true,\n        \"data-summary\": textValue,\n        ref: this.containerRef\n      }, this._langList.length > 1 && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        style: langIconStyle,\n        className: toggleClassName,\n        onClick: function onClick(e) {\n          return _this5.handleEditBtnClick(e);\n        }\n      }), multiLine === true ? isGrid ? /*#__PURE__*/_react[\"default\"].createElement(\"textarea\", _extends({\n        ref: \"txtMulLang\",\n        style: {\n          paddingRight: 16\n        },\n        value: textValue,\n        placeholder: placeholder,\n        maxLength: maxLength,\n        onKeyDown: !disabled && onKeyDown,\n        \"data-support-enter-shortcut\": true\n      }, inputEvents)) : /*#__PURE__*/_react[\"default\"].createElement(_BaseComponents.TextArea, _extends({\n        ref: \"txtMulLang\",\n        noValue: noValue,\n        value: textValue\n      }, inputEvents, {\n        // onFocus / onBlur / onChange\n        placeholder: placeholder,\n        readOnly: readOnly,\n        className: textClass,\n        theme: theme,\n        maxLength: maxLength,\n        disabled: disabled,\n        style: _objectSpread(_objectSpread({}, inputStyle), margin),\n        isNoUnderLineLockStyle: isNoUnderLineLockStyle,\n        tabIndex: tabIndex,\n        onHeightChange: function onHeightChange(p1, p2, p3) {\n          console.log(p1, p2, p3);\n        },\n        lock: lock,\n        \"data-support-enter-shortcut\": true\n      }, shortcutInfo)) : /*#__PURE__*/_react[\"default\"].createElement(_BaseComponents.Text, _extends({\n        ref: \"txtMulLang\",\n        noValue: noValue,\n        value: textValue,\n        placeholder: placeholder,\n        readOnly: readOnly,\n        className: textClass,\n        theme: theme,\n        maxLength: maxLength,\n        disabled: disabled,\n        style: inputStyle,\n        type: \"text\",\n        isNoUnderLineLockStyle: isNoUnderLineLockStyle,\n        tabIndex: tabIndex\n      }, shortcutInfo, inputEvents)));\n    }\n  }]);\n  return MulLangText;\n}(_react[\"default\"].Component);\nMulLangText.propTypes = {\n  // value:PropTypes.string,\n  className: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].string, _propTypes[\"default\"].object]),\n  //  因为通过classnames 这个转换处理出来的是string 类型\n  Grow: _propTypes[\"default\"].number,\n  Shrink: _propTypes[\"default\"].number,\n  maxLength: _propTypes[\"default\"].number,\n  readOnly: _propTypes[\"default\"].bool,\n  disabled: _propTypes[\"default\"].bool,\n  inputStyle: _propTypes[\"default\"].object,\n  onChange: _propTypes[\"default\"].func,\n  onBlur: _propTypes[\"default\"].func,\n  onFocus: _propTypes[\"default\"].func\n};\nvar _default = exports[\"default\"] = MulLangText;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/MulLangText.js?");

/***/ }),

/***/ "./src/component/web/base/MultilingualText/MultilingualTextPanel.jsx":
/*!***************************************************************************!*\
  !*** ./src/component/web/base/MultilingualText/MultilingualTextPanel.jsx ***!
  \***************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.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.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.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\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.map.js */ \"../../node_modules/core-js/modules/es.array.map.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.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.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 _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _kdesign = __webpack_require__(/*! @kdcloudjs/kdesign */ \"webpack/sharing/consume/default/@kdcloudjs/kdesign/@kdcloudjs/kdesign\");\nvar _style = _interopRequireDefault(__webpack_require__(/*! ./style.less */ \"./src/component/web/base/MultilingualText/style.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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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); }\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; }\nvar MultilingualTextPanel = /*#__PURE__*/_react[\"default\"].forwardRef(function (_ref, ref) {\n  var className = _ref.className,\n    disabled = _ref.disabled,\n    _ref$titleStyle = _ref.titleStyle,\n    titleStyle = _ref$titleStyle === void 0 ? {} : _ref$titleStyle,\n    _ref$containerStyle = _ref.containerStyle,\n    containerStyle = _ref$containerStyle === void 0 ? {} : _ref$containerStyle,\n    _ref$inputStyle = _ref.inputStyle,\n    inputStyle = _ref$inputStyle === void 0 ? {} : _ref$inputStyle,\n    _ref$localeList = _ref.localeList,\n    localeList = _ref$localeList === void 0 ? (0, _immutable.List)() : _ref$localeList,\n    maxLength = _ref.maxLength,\n    multiLine = _ref.multiLine,\n    noValue = _ref.noValue,\n    _ref$values = _ref.values,\n    values = _ref$values === void 0 ? {} : _ref$values,\n    handleBlur = _ref.onBlur,\n    handleChange = _ref.onChange,\n    onPanelBlur = _ref.onPanelBlur,\n    updatePosition = _ref.updatePosition;\n  var _useState = (0, _react.useState)(values || {}),\n    _useState2 = _slicedToArray(_useState, 2),\n    vals = _useState2[0],\n    setVals = _useState2[1];\n  var ulRef = _react[\"default\"].useRef();\n  (0, _react.useEffect)(function () {\n    setTimeout(function () {\n      var _ulRef$current, _ulRef$current2;\n      if (!ulRef.current) {\n        return;\n      }\n      var _ulRef$current$getBou = (_ulRef$current = ulRef.current) === null || _ulRef$current === void 0 ? void 0 : _ulRef$current.getBoundingClientRect(),\n        right = _ulRef$current$getBou.right;\n      var isCloseToRight = false;\n      // firefox高版本，right可能有12位小数...这里取可接受的差值进行处理\n      if (document.body.offsetWidth - right <= 0.001) {\n        isCloseToRight = true;\n      }\n      updatePosition === null || updatePosition === void 0 || updatePosition((_ulRef$current2 = ulRef.current) === null || _ulRef$current2 === void 0 ? void 0 : _ulRef$current2.clientHeight, isCloseToRight);\n    }, 0);\n  }, [values]);\n  (0, _react.useImperativeHandle)(ref, function () {\n    return {\n      updateVal: function updateVal(val) {\n        return setVals(val);\n      },\n      panelFocus: function panelFocus() {\n        return ulRef.current.focus();\n      },\n      ref: ulRef\n    };\n  }, []);\n  var handleValChange = function handleValChange(evt) {\n    var localeCode = evt.target.id;\n    var inputVal = evt.target.value;\n    var temp = _objectSpread({}, vals);\n    temp[localeCode] = inputVal;\n    setVals(temp);\n    handleChange && handleChange(inputVal, localeCode);\n  };\n  var containerClz = (0, _classnames2[\"default\"])('kd-cq-dropdown kd-cq-dropdown-select-type kd-cq-mullangtext-dropdown', _style[\"default\"]['panel-container'], className);\n  var inputAreaClz = (0, _classnames2[\"default\"])('kd-cq-dropdown-menu-item-input', _defineProperty(_defineProperty(_defineProperty({}, _style[\"default\"]['locale-textarea'], multiLine), _style[\"default\"]['locale-input'], !multiLine), _style[\"default\"]['bottom-border'], disabled));\n  var _inputStyle = _objectSpread({}, inputStyle);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n    className: containerClz,\n    style: containerStyle,\n    ref: ulRef,\n    onBlur: onPanelBlur,\n    tabIndex: -1\n  }, localeList.map(function (locale) {\n    var localeKey = locale.get('no');\n    var localeName = locale.get('name');\n    var localeCode = locale.get('code');\n    var val = disabled ? vals[localeCode] || noValue : vals[localeCode];\n    var borderType = disabled ? 'underline' : 'bordered';\n    _inputStyle.color = val === noValue ? '#b2b2b2' : '#212121';\n    return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n      className: (0, _classnames2[\"default\"])('kd-cq-dropdown-menu-item', _style[\"default\"]['locale-item']),\n      key: localeKey\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n      className: (0, _classnames2[\"default\"])('kd-cq-dropdown-menu-item-title', _style[\"default\"]['locale-label']),\n      style: titleStyle,\n      title: localeName\n    }, localeName), multiLine ? /*#__PURE__*/_react[\"default\"].createElement(_kdesign.TextArea, {\n      tabIndex: -1,\n      id: localeCode,\n      className: inputAreaClz,\n      contentEditable: !disabled,\n      style: _inputStyle,\n      title: val,\n      value: val,\n      count: false,\n      onChange: !disabled && handleValChange,\n      onBlur: !disabled && handleBlur,\n      borderType: borderType,\n      maxLength: maxLength,\n      disabled: disabled\n    }) : /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n      id: localeCode,\n      className: inputAreaClz,\n      style: _inputStyle,\n      onChange: !disabled && handleValChange,\n      onBlur: !disabled && handleBlur,\n      readOnly: disabled,\n      title: val,\n      value: val,\n      maxLength: maxLength\n    }));\n  }));\n});\nvar _default = exports[\"default\"] = MultilingualTextPanel;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/MultilingualText/MultilingualTextPanel.jsx?");

/***/ }),

/***/ "./src/component/web/base/Picture.jsx":
/*!********************************************!*\
  !*** ./src/component/web/base/Picture.jsx ***!
  \********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\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.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-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = exports.Toolbar = exports.ProgressBar = exports.OperationBar = void 0;\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.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.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.join.js */ \"../../node_modules/core-js/modules/es.array.join.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.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.number.to-fixed.js */ \"../../node_modules/core-js/modules/es.number.to-fixed.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.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.parse-float.js */ \"../../node_modules/core-js/modules/es.parse-float.js\");\n__webpack_require__(/*! core-js/modules/es.parse-int.js */ \"../../node_modules/core-js/modules/es.parse-int.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.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\n__webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\n__webpack_require__(/*! core-js/modules/web.url.js */ \"../../node_modules/core-js/modules/web.url.js\");\n__webpack_require__(/*! core-js/modules/web.url-search-params.js */ \"../../node_modules/core-js/modules/web.url-search-params.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 _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _BaseComponents = __webpack_require__(/*! ./BaseComponents */ \"./src/component/web/base/BaseComponents/index.js\");\nvar _Cropper = _interopRequireWildcard(__webpack_require__(/*! ./Cropper/Cropper */ \"./src/component/web/base/Cropper/Cropper.jsx\"));\nvar _Picture2 = _interopRequireDefault(__webpack_require__(/*! ./Picture.less */ \"./src/component/web/base/Picture.less\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _rcUpload = _interopRequireDefault(__webpack_require__(/*! rc-upload */ \"../../node_modules/rc-upload/es/index.js\"));\nvar _componentutil = __webpack_require__(/*! ../../../util/componentutil */ \"./src/util/componentutil.js\");\nvar _toolUtils = __webpack_require__(/*! ../../../util/toolUtils */ \"./src/util/toolUtils.js\");\nvar _imageUtil = __webpack_require__(/*! ../../../util/imageUtil */ \"./src/util/imageUtil.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _urlconst = __webpack_require__(/*! ../../../constant/urlconst */ \"./src/constant/urlconst.js\");\nvar _ImageLoupe = _interopRequireDefault(__webpack_require__(/*! ./ImageLoupe */ \"./src/component/web/base/ImageLoupe.js\"));\nvar _serverproperties = __webpack_require__(/*! ../../../constant/serverproperties */ \"./src/constant/serverproperties.js\");\nvar _appModelFunction = __webpack_require__(/*! @/model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _getWebRootPath = _interopRequireDefault(__webpack_require__(/*! @/api/getWebRootPath */ \"./src/api/getWebRootPath.js\"));\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _requestParamsUtil = __webpack_require__(/*! @/util/requestParamsUtil */ \"./src/util/requestParamsUtil.js\");\nvar _memoryCacher = __webpack_require__(/*! @/model/memoryCacher */ \"./src/model/memoryCacher.js\");\nvar _kdesign = __webpack_require__(/*! @kdcloudjs/kdesign */ \"webpack/sharing/consume/default/@kdcloudjs/kdesign/@kdcloudjs/kdesign\");\nvar _excluded = [\"src\", \"imgPath\", \"isDesigner\", \"fileServer\", \"disabled\", \"showPicture\", \"showTitle\", \"labelText\", \"labelProps\", \"labelDirection\", \"labelStyle\", \"style\", \"className\", \"editableBtn\", \"showStyle\", \"onClick\", \"sectionMagnifier\", \"validate\", \"Grow\", \"Shrink\", \"Overflow\", \"Direction\", \"Wrap\", \"AlignSelf\", \"labelTextAlign\", \"fieldType\", \"lockPreview\", \"pictureModel\"],\n  _excluded2 = [\"src\", \"imgPath\", \"isDesigner\", \"fileServer\", \"disabled\", \"showPicture\", \"showTitle\", \"labelText\", \"appId\", \"formId\", \"labelProps\", \"labelDirection\", \"labelStyle\", \"style\", \"className\", \"editableBtn\", \"showStyle\", \"radius\", \"sectionMagnifier\", \"validate\", \"Grow\", \"Shrink\", \"Overflow\", \"Direction\", \"Wrap\", \"AlignSelf\", \"labelTextAlign\", \"fieldType\", \"mustInput\", \"id\", \"pictureModel\", \"cutAspectRatio\"];\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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 _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/* 图片字段 */\nvar Picture = /*#__PURE__*/function (_Component) {\n  _inherits(Picture, _Component);\n  // ================================= Lifecycle ====================================\n  function Picture(props) {\n    var _this;\n    _classCallCheck(this, Picture);\n    _this = _callSuper(this, Picture, [props]);\n    // ================================================================================\n    // =================================== Listeners ==================================\n    _this.addListeners = function () {\n      var pictureModel = _this.props.pictureModel;\n      if (!pictureModel) return;\n      var pageId = pictureModel.pageId,\n        key = pictureModel.key;\n      _this.removeValidatorListener = (0, _memoryCacher.subscribeValidatorMethod)(pageId, key, _const.VALIDATE_MSG_TYPE.notNull, _this.handleValidateDataChange);\n      _this.removeErrorFocusListener = (0, _memoryCacher.addDataChangeListener)(pageId, [key, 'errorFocus'], _this.handleErrorFocus);\n    };\n    _this.removeListeners = function () {\n      var _this$removeValidator, _this2, _this$removeCleanVali, _this3;\n      (_this$removeValidator = (_this2 = _this).removeValidatorListener) === null || _this$removeValidator === void 0 || _this$removeValidator.call(_this2);\n      (_this$removeCleanVali = (_this3 = _this).removeCleanValidatorTipsListeners) === null || _this$removeCleanVali === void 0 || _this$removeCleanVali.call(_this3);\n    };\n    /**\n     * 处理校验结果\n     * @param {object} param0\n     * @param {boolean} success 校验结果，成功返回 true\n     */\n    _this.handleValidateDataChange = function (changeInfo) {\n      _this.setState({\n        showError: changeInfo !== undefined && !changeInfo.success\n      });\n    };\n    _this.handleErrorFocus = function () {\n      _this.scrollIntoView();\n      _this.flicker();\n    };\n    _this.scrollIntoView = function () {\n      if (_reactDom[\"default\"].findDOMNode(_assertThisInitialized(_this)).scrollIntoViewIfNeeded) {\n        _reactDom[\"default\"].findDOMNode(_assertThisInitialized(_this)).scrollIntoViewIfNeeded(true);\n      } else {\n        _reactDom[\"default\"].findDOMNode(_assertThisInitialized(_this)).scrollIntoView({\n          behavior: 'smooth',\n          block: 'end'\n        });\n      }\n    };\n    _this.flicker = function () {\n      var _this$props$pictureMo = _this.props.pictureModel,\n        pageId = _this$props$pictureMo.pageId,\n        key = _this$props$pictureMo.key;\n      var lastestValidateMessageKey = (0, _memoryCacher.getPageData)(pageId, [_const.LATEST_VALIDATE_MESSAGE_KEY]);\n      if (!lastestValidateMessageKey || lastestValidateMessageKey !== key) {\n        (0, _memoryCacher.setPageData)(pageId, [_const.LATEST_VALIDATE_MESSAGE_KEY], key);\n      } else {\n        _this.setState({\n          showError: false\n        }, function () {\n          setTimeout(function () {\n            _this.setState({\n              showError: true\n            });\n          }, 100);\n        });\n      }\n    };\n    _this.handleImageUrl = function (response) {\n      var _response$data;\n      // let url = response.url\n      var responseUrl = response.url;\n      var appendedUrl = responseUrl;\n      // url = this._fileServer + url;\n      var pictureModel = _this.props.pictureModel;\n      var _ref = pictureModel.getFormConfig() || {},\n        imageurl = _ref.imageurl;\n      appendedUrl = ((_response$data = response.data) === null || _response$data === void 0 || (_response$data = _response$data[0]) === null || _response$data === void 0 ? void 0 : _response$data.url) || (0, _imageUtil.getImageUrl)({\n        imageurl: imageurl,\n        fileserver: _this._fileServer,\n        appendFileServer: true,\n        isUpload: true,\n        pageId: pictureModel.pageId\n      }, appendedUrl);\n\n      // 保存处理过的文件路径\n      _this.props.onChange(responseUrl);\n      // 上传预览不采用缩略图\n      // 处理缩略图\n      appendedUrl = _this.dealImageSrcByMode({\n        url: appendedUrl\n      });\n      return appendedUrl;\n    };\n    _this.onCropperSuccess = function (res) {\n      (0, _imageUtil.reduceUploadingImgNum)(_this.props.pictureModel.pageId);\n      if (res && res.status === 'success') {\n        var _this$props$reportUpl, _this$props, _this$state$file;\n        // 保存处理过的文件路径\n        var url = _this.handleImageUrl(res);\n        _this.setState({\n          url: url,\n          showAllowCropper: false\n        });\n        (_this$props$reportUpl = (_this$props = _this.props).reportUploadResult) === null || _this$props$reportUpl === void 0 || _this$props$reportUpl.call(_this$props, [[{\n          uid: (_this$state$file = _this.state.file) === null || _this$state$file === void 0 ? void 0 : _this$state$file.uid,\n          status: 'success'\n        }]]);\n        return;\n      }\n      var errMsg = !res ? (0, _intlApi.getLangMsg)({\n        key: 'image.key0001'\n      }) : res.description;\n      _this.showErr(errMsg);\n    };\n    _this.beforeUploadInCropper = function () {\n      var _this$props$beforeUpl, _this$props2;\n      var file = _this.state.file;\n      (_this$props$beforeUpl = (_this$props2 = _this.props).beforeUpload) === null || _this$props$beforeUpl === void 0 || _this$props$beforeUpl.call(_this$props2, [[{\n        uid: file.uid,\n        name: file.name,\n        size: file.size,\n        type: file.type\n      }]]);\n      (0, _imageUtil.addUploadingImgNum)(_this.props.pictureModel.pageId);\n    };\n    _this.showErr = function () {\n      var msg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n      (0, _appModelFunction.setDataMessages)(_this.props.pictureModel.pageId, {\n        content: msg,\n        type: _const.AlertType.ERROR\n      });\n      _this.setState({\n        status: 'error',\n        progress: 0,\n        showAllowCropper: false\n      });\n      console.error(\"\\u4E0A\\u4F20\\u56FE\\u7247\\u5931\\u8D25: \".concat(msg));\n    };\n    _this.transFileToUrl = function (file, imgLoadErrorCallback) {\n      if (!_this.canUpload(file)) return;\n      var objectURL = URL.createObjectURL(file);\n      // 无效图片，不进行剪切\n      var img = new Image();\n      img.onload = function () {\n        _this.setState({\n          url: objectURL,\n          showAllowCropper: true,\n          file: file\n        });\n      };\n      img.onerror = function (event) {\n        imgLoadErrorCallback && imgLoadErrorCallback(event);\n      };\n      img.src = objectURL;\n    };\n    _this.canUpload = function (file) {\n      var extension = (file.name || '').split('.').pop();\n      var maxSize = _this.props.maxSize;\n      if (extension && _const.ALLOWED_IMAGES.extensions.includes(\".\".concat(extension.toLowerCase())) && (maxSize === 0 || file.size < maxSize)) {\n        return true;\n      }\n      var msgContent = maxSize > 0 && file.size > maxSize ? (0, _intlApi.getLangMsg)({\n        key: 'image.key0016',\n        variables: {\n          name: file.name,\n          size: parseFloat(maxSize / 1024 / 1024).toFixed(2)\n        }\n      }) : (0, _intlApi.getLangMsg)({\n        key: 'image.key0015',\n        variables: {\n          types: _const.ALLOWED_IMAGES.extensions.join(',')\n        }\n      });\n      (0, _appModelFunction.setDataMessages)(_this.props.pictureModel.pageId, {\n        content: msgContent,\n        type: _const.AlertType.ERROR\n      });\n      _this.setState({\n        status: 'error',\n        progress: 0\n      });\n      return false;\n    };\n    _this.handleUpload = function (e) {\n      // 设计器和锁定状态不可上传\n      e.preventDefault();\n      if (_this.props.isDesigner || _this.props.disabled) return;\n      var uploadComponent = _this.refs.inner.uploader;\n      if (e.type && e.type != 'click') {\n        return uploadComponent.onFileDrop(e);\n      }\n      var inputEl = uploadComponent.fileInput;\n      inputEl.click();\n    };\n    _this.handleDelete = function (e) {\n      e.preventDefault();\n      e.stopPropagation();\n      _this.setState({\n        status: 'init',\n        url: ''\n      }, function () {\n        return _this.props.onChange(null);\n      });\n      _this.deleteImg();\n    };\n    _this.deleteImg = function () {\n      if (!_this.props.src) return;\n      var edition = _this.props.pictureModel.getMetaProperty('item');\n      var params = {\n        url: _this.props.src\n      };\n      var thumbparam = edition.get('thumbparam');\n      if (thumbparam) {\n        params.thumbparam = thumbparam;\n      }\n      setTimeout(function () {\n        var _this$props$onDelete, _this$props3;\n        (_this$props$onDelete = (_this$props3 = _this.props).onDelete) === null || _this$props$onDelete === void 0 || _this$props$onDelete.call(_this$props3, params);\n      }, 0);\n    };\n    _this.handlePreview = function (e) {\n      var _this$props4 = _this.props,\n        disabled = _this$props4.disabled,\n        lockPreview = _this$props4.lockPreview;\n      if (disabled && lockPreview === false) return;\n      e.preventDefault();\n      e.stopPropagation();\n      _this.props.showPicture && _this.props.showPicture({\n        urls: _this.dealImageSrcByMode({\n          url: _this.state.url,\n          isDealScale: false\n        }),\n        activeIndex: 0\n      });\n    };\n    _this.canDragImg = function () {\n      return [_const.IMAGE_STATUS.INIT, _const.IMAGE_STATUS.FAILURE, _const.IMAGE_STATUS.SUCCESS].indexOf(_this.state.status) > -1 && !_this.props.isDesigner && !_this.props.disabled;\n    };\n    _this.handleDragOver = function (evt) {\n      if (!_this.canDragImg()) return;\n      evt.preventDefault();\n      _this.setState({\n        showDragMask: true\n      });\n    };\n    _this.handleDragLeave = function (evt) {\n      var _this$valueWrap;\n      if (!_this.canDragImg() || (_this$valueWrap = _this.valueWrap) !== null && _this$valueWrap !== void 0 && _this$valueWrap.contains(evt.relatedTarget)) return;\n      _this.setState({\n        showDragMask: false\n      });\n    };\n    _this.handleDrop = function (evt) {\n      var _evt$dataTransfer;\n      if (!_this.canDragImg()) return;\n      evt.preventDefault();\n      _this.setState({\n        showDragMask: false\n      });\n      var fileList = ((_evt$dataTransfer = evt.dataTransfer) === null || _evt$dataTransfer === void 0 ? void 0 : _evt$dataTransfer.files) || [];\n      var file = fileList.length > 0 && fileList[0];\n      if (!file || !_this.canUpload(file)) return;\n      _this.handleUpload(evt);\n    };\n    _this.renderByStatus = function () {\n      var _this$props5 = _this.props,\n        disabled = _this$props5.disabled,\n        sectionMagnifier = _this$props5.sectionMagnifier,\n        lockPreview = _this$props5.lockPreview,\n        pictureModel = _this$props5.pictureModel,\n        style = _this$props5.style;\n      var imgCn = (0, _classnames[\"default\"])(_defineProperty({}, _Picture2[\"default\"].imgCursor, !disabled || lockPreview));\n      var edition = pictureModel.getMetaProperty('item');\n      var BG_IMG_URL = edition.get(_serverproperties.BACKGROUND_IMAGE) || '';\n      // 背景图片属性, 只支持全路径图片地址(或base64)\n      // BG_IMG_URL = getImgFullPath(this._fileServer, BG_IMG_URL)\n      var _ref2 = pictureModel.getFormConfig() || {},\n        imageurl = _ref2.imageurl;\n      BG_IMG_URL = (0, _imageUtil.getImageUrl)({\n        imageurl: imageurl,\n        pageId: pictureModel.pageId,\n        fileServer: _this._fileServer\n      }, BG_IMG_URL);\n      // const DEF_IMG_URL = getImgFullPath(this._fileServer, edition.get(DEFAULT_IMAGE) || '')\n      var DEF_IMG_URL = (0, _imageUtil.getImageUrl)({\n        imageurl: imageurl,\n        pageId: pictureModel.pageId,\n        fileServer: _this._fileServer\n      }, edition.get(_serverproperties.DEFAULT_IMAGE) || '');\n\n      // 默认图片存在则渲染默认图片，hover显示上传提示\n      // 默认图片不存在则显示背景图片\n      // 背景图片也不存在则显示上传提示\n      var SHOW_IMG_URL = DEF_IMG_URL || BG_IMG_URL;\n      var initUploadStyle = {};\n      if (SHOW_IMG_URL) {\n        initUploadStyle.backgroundImage = \"url(\".concat(SHOW_IMG_URL, \")\");\n        initUploadStyle.backgroundSize = '100% 100%';\n      } else {\n        delete initUploadStyle.backgroundImage;\n        delete initUploadStyle.backgroundSize;\n      }\n      var initialContainerStyle = SHOW_IMG_URL ? initUploadStyle : {};\n      if (style && style.borderRadius) {\n        initialContainerStyle.borderRadius = style.borderRadius;\n      }\n      var errorSmallStyle = {};\n      // 兼容用户自己设置太过小的宽高上传失败的展示的情况\n      if (style && (parseInt(style.width) < 140 || parseInt(style.height) < 142)) {\n        errorSmallStyle = {\n          padding: 0,\n          justifyContent: 'center'\n        };\n      }\n      var imgUrl = (0, _requestParamsUtil.appendParamsToUrl)(_this.dealImageSrcByMode({\n        url: _this.state.url\n      }), {\n        pageId: _this.props.pictureModel.pageId\n      });\n      var initialClz = (0, _classnames[\"default\"])(_Picture2[\"default\"].initial, _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Picture2[\"default\"]['initial-container'], !disabled), 'img-hover-color', !disabled), 'weak-1px-border-dashed', !disabled), _Picture2[\"default\"]['required-empty'], _this.state.showError), 'contain-bg', 'third-text-in-light', 'active-theme-fc');\n      return {\n        init: /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames[\"default\"])('kd-cq-upload-tip', _Picture2[\"default\"]['picture-upload']),\n          title: !disabled && (0, _intlApi.getLangMsg)({\n            key: 'image.key0021'\n          }),\n          onClick: _this.handleUpload\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: initialClz,\n          style: initialContainerStyle\n        }, !disabled && DEF_IMG_URL ? _this.state.showDragMask ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: _Picture2[\"default\"]['def-img-hover']\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"p\", {\n          className: _Picture2[\"default\"]['img-drag-text']\n        }, (0, _intlApi.getLangMsg)({\n          key: 'image.key0022'\n        }))) : /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: _Picture2[\"default\"]['def-img-hover']\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n          className: \"kdfont kdfont-tianjia\"\n        }), /*#__PURE__*/_react[\"default\"].createElement(\"p\", null, (0, _intlApi.getLangMsg)({\n          key: 'image.key0011'\n        })))) : null, disabled || SHOW_IMG_URL ? null : _this.state.showDragMask ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, /*#__PURE__*/_react[\"default\"].createElement(\"p\", {\n          className: _Picture2[\"default\"]['img-drag-text']\n        }, (0, _intlApi.getLangMsg)({\n          key: 'image.key0022'\n        }))) : /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n          className: \"kdfont kdfont-tianjia\"\n        }), /*#__PURE__*/_react[\"default\"].createElement(\"p\", null, (0, _intlApi.getLangMsg)({\n          key: 'image.key0011'\n        }))))),\n        uploading: /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames[\"default\"])('kd-cq-upload-tip', _Picture2[\"default\"]['picture-upload'])\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: _Picture2[\"default\"]['uploading-status']\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: _Picture2[\"default\"]['info-wrapper']\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: _Picture2[\"default\"]['file-info']\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: _Picture2[\"default\"]['file-name']\n        }, _this.state.file && _this.state.file.name)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: _Picture2[\"default\"]['progress-bar']\n        }, /*#__PURE__*/_react[\"default\"].createElement(ProgressBar, {\n          percent: _this.state.progress\n        }))))),\n        error: /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames[\"default\"])('kd-cq-upload-tip', _Picture2[\"default\"]['picture-upload'])\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: _Picture2[\"default\"]['error-status']\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames[\"default\"])(_Picture2[\"default\"]['info-wrapper'], 'is-error-border', 'error-color', 'error-bg-color'),\n          style: errorSmallStyle\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: _Picture2[\"default\"]['error-tips']\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n          className: \"kdfont kdfont-tishi4\"\n        }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n          key: 'image.key0001'\n        }))), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: (0, _classnames[\"default\"])('link-color'),\n          onClick: function onClick(e) {\n            return _this.handleUpload(e);\n          }\n        }, (0, _intlApi.getLangMsg)({\n          key: 'image.key0010'\n        }))))),\n        success: /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames[\"default\"])('kd-cq-upload-tip', _Picture2[\"default\"]['picture-upload'])\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames[\"default\"])(_defineProperty({}, _Picture2[\"default\"]['drag-mask'], _this.state.showDragMask), _Picture2[\"default\"]['success-status'])\n        }, sectionMagnifier ? /*#__PURE__*/_react[\"default\"].createElement(_ImageLoupe[\"default\"], {\n          clickable: !disabled || lockPreview,\n          src: imgUrl,\n          alt: \"pic\",\n          onClick: disabled && lockPreview === false ? null : _this.handlePreview,\n          sectionMagnifier: sectionMagnifier\n        }) : /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n          \"data-image-src\": imgUrl,\n          alt: \"pic\",\n          className: imgCn,\n          onClick: disabled && lockPreview === false ? null : _this.handlePreview\n        })))\n      };\n    };\n    _this.onClose = function () {\n      _this.setState({\n        showAllowCropper: false\n      });\n    };\n    _this.state = {\n      file: null,\n      url: '',\n      status: 'init',\n      progress: 0,\n      disabled: false,\n      showAllowCropper: false,\n      showError: false,\n      showDragMask: false\n    };\n    _this._fileServer = props.fileServer;\n    return _this;\n  }\n  _createClass(Picture, [{\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(_ref3) {\n      var src = _ref3.src,\n        pictureModel = _ref3.pictureModel;\n      if ([null, ' ', ''].includes(src) && this.props.src === src) {\n        return;\n      }\n      // 处理图片拖拽特殊情况\n      if (this.state.status === _const.IMAGE_STATUS.FAILURE && this.props.src === src) {\n        return;\n      }\n      var _src = src;\n      // 兼容表格 空格 的情况\n      if ((_src === null || _src === ' ' || _src === '') && this.state.status !== 'uploading') {\n        this.setState({\n          status: 'init',\n          url: '',\n          showError: false\n        });\n      } else if (_src) {\n        var _ref4 = pictureModel.getFormConfig() || {},\n          imageurl = _ref4.imageurl;\n        _src = (0, _imageUtil.getImageUrl)({\n          imageurl: imageurl,\n          fileserver: this._fileServer,\n          appendFileServer: true,\n          pageId: pictureModel.pageId\n        }, _src);\n        _src = this.dealImageSrcByMode({\n          url: _src,\n          pictureModel: pictureModel\n        });\n        this.setState({\n          status: 'success',\n          url: _src,\n          showError: false\n        });\n      }\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this$props6 = this.props,\n        src = _this$props6.src,\n        pictureModel = _this$props6.pictureModel;\n      if (src) {\n        var _src = src;\n        var _ref5 = pictureModel.getFormConfig() || {},\n          imageurl = _ref5.imageurl;\n        _src = (0, _imageUtil.getImageUrl)({\n          imageurl: imageurl,\n          fileserver: this._fileServer,\n          appendFileServer: true,\n          pageId: pictureModel.pageId\n        }, _src);\n        _src = this.dealImageSrcByMode({\n          url: _src,\n          pictureModel: pictureModel\n        });\n        this.setState({\n          status: 'success',\n          url: _src\n        });\n      }\n      this.addListeners();\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.removeListeners();\n    }\n  }, {\n    key: \"onStart\",\n    value:\n    // ================================================================================\n\n    function onStart(file) {\n      this.props.beforeUpload && this.props.beforeUpload([[{\n        uid: file.uid,\n        name: file.name,\n        size: file.size,\n        type: file.type\n      }]]);\n      this.setState({\n        file: file,\n        status: 'uploading',\n        showError: false\n      });\n      this.deleteImg();\n      (0, _imageUtil.addUploadingImgNum)(this.props.pictureModel.pageId);\n    }\n  }, {\n    key: \"onProgress\",\n    value: function onProgress(e, file) {\n      this.setState({\n        progress: e.percent\n      });\n    }\n  }, {\n    key: \"onError\",\n    value: function onError(err, res, file) {\n      var errMessage = typeof err === 'string' ? err : err.message ? err.message : err.type === 'error' && err.target !== undefined // 断网的情况下\n      ? (0, _intlApi.getLangMsg)({\n        key: 'System.key005'\n      }) : JSON.stringify(err);\n      // wxf 要求图片所有的 403 不显示头部提示语\n      var isNot403 = _typeof(err) === 'object' && err.status !== 403 || typeof err === 'string' && !err.includes('403');\n      if (isNot403) {\n        (0, _appModelFunction.setDataMessages)(this.props.pictureModel.pageId, {\n          content: errMessage,\n          type: _const.AlertType.ERROR\n        });\n      }\n      this.setState({\n        status: 'error',\n        progress: 0\n      });\n      this.props.reportUploadResult && this.props.reportUploadResult([[{\n        uid: file.uid,\n        description: errMessage,\n        status: 'error'\n      }]]);\n      console.error(err);\n      (0, _imageUtil.reduceUploadingImgNum)(this.props.pictureModel.pageId);\n    }\n  }, {\n    key: \"onSuccess\",\n    value: function onSuccess(res, file) {\n      if (res && res.status === 'success') {\n        var url = this.handleImageUrl(res);\n        this.setState({\n          url: url,\n          status: 'success',\n          progress: 0\n        });\n        this.props.reportUploadResult && this.props.reportUploadResult([[{\n          uid: file.uid,\n          status: 'success'\n        }]]);\n      } else {\n        this.props.reportUploadResult && this.props.reportUploadResult([[{\n          uid: file.uid,\n          description: res.description,\n          status: 'error'\n        }]]);\n        this.showErr(res.description);\n      }\n      (0, _imageUtil.reduceUploadingImgNum)(this.props.pictureModel.pageId);\n    }\n  }, {\n    key: \"beforeUpload\",\n    value: function beforeUpload(file) {\n      var _this4 = this;\n      if (!this.canUpload(file)) return false;\n      var allowCropper = this.props.allowCropper;\n\n      // 图片无效或者无法找到时，触发回调\n      var errorCallback = function errorCallback(event) {\n        (0, _appModelFunction.setDataMessages)(_this4.props.pictureModel.pageId, {\n          content: (0, _intlApi.getLangMsg)({\n            key: 'image.key0014'\n          }),\n          type: _const.AlertType.ERROR\n        });\n        _this4.setState({\n          status: 'error',\n          progress: 0\n        });\n      };\n      if (allowCropper) {\n        this.transFileToUrl(file, errorCallback);\n      }\n      // 避免 correctImageDirection 第二个参数为 undefined\n      return !allowCropper && (0, _imageUtil.correctImageDirection)(file, false, errorCallback);\n    }\n\n    /**\n     * @param isDealScale @Boolean true返回缩略图路径，false则是返回原图路径\n     */\n  }, {\n    key: \"dealImageSrcByMode\",\n    value: function dealImageSrcByMode(_ref6) {\n      var url = _ref6.url,\n        _ref6$isDealScale = _ref6.isDealScale,\n        isDealScale = _ref6$isDealScale === void 0 ? true : _ref6$isDealScale,\n        _ref6$pictureModel = _ref6.pictureModel,\n        pictureModel = _ref6$pictureModel === void 0 ? this.props.pictureModel : _ref6$pictureModel;\n      if (pictureModel) {\n        var edition = pictureModel.getMetaProperty('item');\n        var defaultPic = edition && edition.get('defaultpic');\n        if (defaultPic) {\n          if (isDealScale) {\n            url = (0, _imageUtil.scaleImage)(url, defaultPic);\n          } else {\n            url = (0, _imageUtil.getOriginImageUrl)(url, defaultPic);\n          }\n        }\n      }\n      return (0, _imageUtil.removeCacheVersion)(url);\n    }\n  }, {\n    key: \"getFileSize\",\n    value: function getFileSize(size) {\n      if (size > 1024 * 1024) {\n        return (Math.round(size * 100 / (1024 * 1024)) / 100).toString() + 'MB';\n      } else {\n        return (Math.round(size * 100 / 1024) / 100).toString() + 'KB';\n      }\n    }\n  }, {\n    key: \"renderTitle\",\n    value: function renderTitle(disabled) {\n      if (!this.props.showTitle) return null;\n      var _this$props7 = this.props,\n        slot = _this$props7.slot,\n        field = _this$props7.field,\n        onTwiceClick = _this$props7.onTwiceClick,\n        showTitle = _this$props7.showTitle,\n        labelStyle = _this$props7.labelStyle,\n        style = _this$props7.style;\n      var textAlignClass = _Picture2[\"default\"]['label-text-' + this.props.labelTextAlign];\n      var labelClassName = (0, _classnames[\"default\"])('kd-cq-field-title-wrap', _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Picture2[\"default\"]['label-wrap'], true), _Picture2[\"default\"]['no-width'], parseFloat(labelStyle.width) === 0 && showTitle), _Picture2[\"default\"]['label-disabled'], disabled), textAlignClass, textAlignClass));\n      var labelText = this.props.labelText;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: labelClassName,\n        style: _objectSpread(_objectSpread({}, this.props.labelStyle), {}, {\n          color: style.color\n        })\n      }, this.props.showTitle ? /*#__PURE__*/_react[\"default\"].createElement(_BaseComponents.Label, _extends({\n        text: labelText,\n        Name: labelText,\n        style: {\n          margin: 0,\n          padding: 0\n        }\n      }, this.props.labelProps, {\n        field: field,\n        onTwiceClick: onTwiceClick\n      })) : null, this.props.mustInput ? /*#__PURE__*/_react[\"default\"].createElement(\"label\", {\n        className: (0, _classnames[\"default\"])(_Picture2[\"default\"].must, 'require-icon')\n      }, \"*\") : null, slot);\n    }\n  }, {\n    key: \"renderImgStyle\",\n    value: function renderImgStyle() {\n      var _this$props8 = this.props,\n        src = _this$props8.src,\n        imgPath = _this$props8.imgPath,\n        isDesigner = _this$props8.isDesigner,\n        fileServer = _this$props8.fileServer,\n        disabled = _this$props8.disabled,\n        showPicture = _this$props8.showPicture,\n        showTitle = _this$props8.showTitle,\n        labelText = _this$props8.labelText,\n        labelProps = _this$props8.labelProps,\n        labelDirection = _this$props8.labelDirection,\n        labelStyle = _this$props8.labelStyle,\n        style = _this$props8.style,\n        className = _this$props8.className,\n        editableBtn = _this$props8.editableBtn,\n        showStyle = _this$props8.showStyle,\n        _onClick = _this$props8.onClick,\n        sectionMagnifier = _this$props8.sectionMagnifier,\n        validate = _this$props8.validate,\n        Grow = _this$props8.Grow,\n        Shrink = _this$props8.Shrink,\n        Overflow = _this$props8.Overflow,\n        Direction = _this$props8.Direction,\n        Wrap = _this$props8.Wrap,\n        AlignSelf = _this$props8.AlignSelf,\n        labelTextAlign = _this$props8.labelTextAlign,\n        fieldType = _this$props8.fieldType,\n        lockPreview = _this$props8.lockPreview,\n        pictureModel = _this$props8.pictureModel,\n        other = _objectWithoutProperties(_this$props8, _excluded);\n      var _ref7 = pictureModel.getFormConfig() || {},\n        imageurl = _ref7.imageurl;\n      var _src = (0, _imageUtil.getImageUrl)({\n        imageurl: imageurl,\n        fileserver: this._fileServer,\n        appendFileServer: true,\n        pageId: pictureModel.pageId\n      }, src);\n      var picClassName = (0, _classnames[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, _Picture2[\"default\"].purePicure, true), className, className), _Picture2[\"default\"]['no-src'], !src), (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink,\n        Overflow: Overflow,\n        Direction: Direction,\n        Wrap: Wrap,\n        AlignSelf: AlignSelf\n      }));\n      return sectionMagnifier ? /*#__PURE__*/_react[\"default\"].createElement(_ImageLoupe[\"default\"], {\n        className: picClassName,\n        style: style,\n        src: _src,\n        onClick: function onClick(e) {\n          e.stopPropagation();\n          _onClick();\n        },\n        clickable: !disabled || lockPreview,\n        sectionMagnifier: sectionMagnifier\n      }) : /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: picClassName,\n        style: Object.assign({}, style, {\n          backgroundImage: 'url(' + _src + ')'\n        }),\n        onClick: function onClick(e) {\n          e.stopPropagation();\n          _onClick();\n        }\n      });\n      // return <img className={picClassName} style={style} src={src} onClick={e=>{e.stopPropagation();onClick()}}/>\n    }\n  }, {\n    key: \"getUploadUrl\",\n    value: function getUploadUrl() {\n      // 普通字段， 列表，分录字段\n      var pictureModel = this.props.pictureModel;\n      if (!pictureModel) return _urlconst.IMAGE_SERVER_URL;\n      var edition = pictureModel.getMetaProperty('item');\n      // let defaultPic = edition.get('defaultpic');\n      var thumbnailsParam = edition.get('thumbparam');\n      var queryString = '';\n      if (thumbnailsParam && thumbnailsParam.size > 0) {\n        try {\n          queryString = '?thumbparam=' + JSON.stringify(thumbnailsParam.toJS());\n        } catch (e) {\n          console.log(e);\n        }\n      }\n      if (pictureModel.getMetaProperty([_serverproperties.ITEM, _serverproperties.ENCRYPT_IMAGE], false)) {\n        queryString = !queryString ? '?encryptStorage=true' : \"\".concat(queryString, \"&encryptStorage=true\");\n      }\n      // if(defaultPic) queryString = queryString + '&defaultpic=' + defaultPic\n      var uploadUrl = _urlconst.IMAGE_SERVER_URL + queryString;\n      return uploadUrl;\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this5 = this;\n      var _this$props9 = this.props,\n        src = _this$props9.src,\n        imgPath = _this$props9.imgPath,\n        isDesigner = _this$props9.isDesigner,\n        fileServer = _this$props9.fileServer,\n        disabled = _this$props9.disabled,\n        showPicture = _this$props9.showPicture,\n        showTitle = _this$props9.showTitle,\n        labelText = _this$props9.labelText,\n        appId = _this$props9.appId,\n        formId = _this$props9.formId,\n        labelProps = _this$props9.labelProps,\n        labelDirection = _this$props9.labelDirection,\n        labelStyle = _this$props9.labelStyle,\n        style = _this$props9.style,\n        className = _this$props9.className,\n        editableBtn = _this$props9.editableBtn,\n        showStyle = _this$props9.showStyle,\n        radius = _this$props9.radius,\n        sectionMagnifier = _this$props9.sectionMagnifier,\n        validate = _this$props9.validate,\n        Grow = _this$props9.Grow,\n        Shrink = _this$props9.Shrink,\n        Overflow = _this$props9.Overflow,\n        Direction = _this$props9.Direction,\n        Wrap = _this$props9.Wrap,\n        AlignSelf = _this$props9.AlignSelf,\n        labelTextAlign = _this$props9.labelTextAlign,\n        fieldType = _this$props9.fieldType,\n        mustInput = _this$props9.mustInput,\n        id = _this$props9.id,\n        pictureModel = _this$props9.pictureModel,\n        cutAspectRatio = _this$props9.cutAspectRatio,\n        other = _objectWithoutProperties(_this$props9, _excluded2);\n      var isLabelHorizontal = labelDirection == 'h';\n      var picClassName = (0, _classnames[\"default\"])('kd-cq-field kd-cq-picture', _defineProperty(_defineProperty(_defineProperty({}, _Picture2[\"default\"]['field-item'], true), className, className), _Picture2[\"default\"]['pic-label'], isLabelHorizontal), (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink,\n        Overflow: Overflow,\n        Direction: Direction,\n        Wrap: Wrap,\n        AlignSelf: AlignSelf\n      }));\n      var status = this.state.status;\n      var uploadUrl = isDesigner ? '' : this.getUploadUrl();\n      var options = {\n        disabled: !isDesigner && !disabled,\n        // true 禁用\n        action: (0, _requestParamsUtil.appendCtsynonce)(pictureModel, (0, _getWebRootPath[\"default\"])(uploadUrl)),\n        // 'image/uploadImage.do',\n        multiple: false,\n        // ?thumbnailsParam=[{ “thumbnailsTag”:”test1”,”scale”:”0.5”},{ “thumbnailsTag”:”test2”,”scale”:”0.2”}]& defaultpic =test1\n        accept: _const.ALLOWED_IMAGES.extensions.join(','),\n        beforeUpload: this.beforeUpload.bind(this),\n        onStart: this.onStart.bind(this),\n        onSuccess: this.onSuccess.bind(this),\n        onError: this.onError.bind(this),\n        onProgress: this.onProgress.bind(this),\n        data: function data(file) {\n          if (file) {\n            /**\n             * @param {string} imgPath 路径带文件名\n             */\n            if (!imgPath) {\n              imgPath = \"\".concat(file.name);\n            }\n            return (0, _requestParamsUtil.getRequestParams)(pictureModel, {\n              url: imgPath\n            });\n          }\n        },\n        customRequest: function customRequest(_ref8) {\n          var action = _ref8.action,\n            data = _ref8.data,\n            file = _ref8.file,\n            filename = _ref8.filename,\n            headers = _ref8.headers,\n            onError = _ref8.onError,\n            onProgress = _ref8.onProgress,\n            onSuccess = _ref8.onSuccess,\n            withCredentials = _ref8.withCredentials;\n          (0, _imageUtil.upload)({\n            action: action,\n            data: data,\n            file: file,\n            filename: filename,\n            headers: headers,\n            onError: onError,\n            onProgress: onProgress,\n            onSuccess: onSuccess,\n            withCredentials: withCredentials\n          });\n        }\n      };\n      var picStyle = _objectSpread({}, style || {});\n      // 上传失败是方框\n      if (picStyle && this.state.status === 'error') {\n        if (picStyle.borderRadius) {\n          delete picStyle.borderRadius;\n        }\n      }\n      if (isDesigner) {\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n          className: picClassName,\n          style: picStyle\n        }, other), this.renderTitle(disabled), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames[\"default\"])('kd-cq-field-value-wrap', _Picture2[\"default\"]['value-wrap'])\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames[\"default\"])('kd-cq-upload-tip', _Picture2[\"default\"]['picture-upload'])\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames[\"default\"])(_Picture2[\"default\"].initial, _Picture2[\"default\"]['initial-container'], {\n            'hover-theme-hover-bdcolor1': !disabled\n          }, {\n            'weak-1px-border-dashed': !disabled\n          }, 'contain-bg', 'third-text-in-light')\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n          className: \"kdfont kdfont-tianjia\"\n        }), /*#__PURE__*/_react[\"default\"].createElement(\"p\", null, (0, _intlApi.getLangMsg)({\n          key: 'image.key0011'\n        })))))));\n      }\n\n      // 查看模式，非上传模式\n      if (showStyle && showStyle == 'view') {\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, this.renderImgStyle());\n      }\n      var valueWrap = (0, _classnames[\"default\"])('kd-cq-field-value-wrap', _defineProperty(_defineProperty({}, _Picture2[\"default\"]['value-wrap'], true), _Picture2[\"default\"]['drag-mask'], !disabled && this.state.showDragMask));\n      var dataValid = this.state.showError ? pictureModel.pageId : null;\n      var cropInitData = {\n        aspectRatio: _Cropper.aspectRatioData[0].value\n      };\n      if (cutAspectRatio < _Cropper.aspectRatioData.length) {\n        cropInitData.aspectRatio = _Cropper.aspectRatioData[cutAspectRatio].value;\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: picClassName,\n        style: picStyle,\n        id: id,\n        \"data-valid\": dataValid,\n        \"data-page-id\": pictureModel.pageId + '_' + id\n      }, /*#__PURE__*/_react[\"default\"].createElement(_rcUpload[\"default\"], _extends({}, options, {\n        ref: \"inner\"\n      })), this.renderTitle(disabled), this.state.showAllowCropper && /*#__PURE__*/_react[\"default\"].createElement(_Cropper[\"default\"], {\n        isShow: this.state.showAllowCropper,\n        onClose: this.onClose,\n        file: this.state.file,\n        appId: appId,\n        formId: formId,\n        url: this.state.url,\n        uploadUrl: (0, _requestParamsUtil.appendParamsToUrl)(uploadUrl, {\n          model: this.props.pictureModel\n        }),\n        fileServer: fileServer,\n        onCropperSuccess: this.onCropperSuccess,\n        beforeUpload: this.beforeUploadInCropper,\n        cropInitData: cropInitData\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: valueWrap,\n        ref: function ref(r) {\n          _this5.valueWrap = r;\n        },\n        onDragOver: this.handleDragOver,\n        onDragLeave: this.handleDragLeave,\n        onDrop: this.handleDrop\n      }, this.renderByStatus()[status], !disabled && status == 'success' && /*#__PURE__*/_react[\"default\"].createElement(OperationBar, {\n        id: id,\n        handleUpload: this.handleUpload,\n        handleDelete: this.handleDelete,\n        handlePreview: this.handlePreview,\n        imagEle: this.valueWrap,\n        disabled: disabled,\n        mustInput: mustInput\n      })));\n    }\n  }]);\n  return Picture;\n}(_react.Component);\nvar ProgressBar = exports.ProgressBar = /*#__PURE__*/function (_React$Component) {\n  _inherits(ProgressBar, _React$Component);\n  function ProgressBar() {\n    _classCallCheck(this, ProgressBar);\n    return _callSuper(this, ProgressBar, arguments);\n  }\n  _createClass(ProgressBar, [{\n    key: \"render\",\n    value: function render() {\n      var outerStyle = {\n        width: '80%',\n        height: '6px',\n        margin: '0 auto',\n        borderRadius: '3px',\n        backgroundColor: '#e5e5e5',\n        overflow: 'hidden'\n      };\n      var innerStyle = {\n        width: this.props.percent + '%',\n        height: '6px',\n        borderRadius: '3px',\n        backgroundColor: '#4093F5'\n      };\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        style: outerStyle\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        style: innerStyle\n      }));\n    }\n  }]);\n  return ProgressBar;\n}(_react[\"default\"].Component);\nvar OperationBar = exports.OperationBar = /*#__PURE__*/function (_React$Component2) {\n  _inherits(OperationBar, _React$Component2);\n  function OperationBar(props) {\n    var _this6;\n    _classCallCheck(this, OperationBar);\n    _this6 = _callSuper(this, OperationBar, [props]);\n    var imagEle = props.imagEle;\n    var imagEleInfo = imagEle && imagEle.getBoundingClientRect();\n    var height = imagEleInfo.height || 0;\n    _this6.state = {\n      height: height\n    };\n    return _this6;\n  }\n  _createClass(OperationBar, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this7 = this;\n      this.observer = new IntersectionObserver(function (entries) {\n        entries.forEach(function (entry) {\n          if (entry.intersectionRatio === 1) {\n            _this7.setState({\n              height: entry.boundingClientRect.height\n            });\n          }\n        });\n      });\n      this.observer.observe(this.props.imagEle);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.observer && this.observer.disconnect();\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var height = this.state.height;\n      var _this$props10 = this.props,\n        disabled = _this$props10.disabled,\n        mustInput = _this$props10.mustInput,\n        handleDelete = _this$props10.handleDelete,\n        handlePreview = _this$props10.handlePreview,\n        handleUpload = _this$props10.handleUpload,\n        id = _this$props10.id;\n      // const imagEleInfo = imagEle && imagEle.getBoundingClientRect()\n      // const height = imagEleInfo.height\n      // const width = imagEleInfo.width\n      var deleteIcon = (0, _classnames[\"default\"])(_defineProperty({\n        'kdfont kdfont-shanchu': true\n      }, _Picture2[\"default\"].icon, true));\n      var changeIcon = (0, _classnames[\"default\"])(_defineProperty({\n        'kdfont kdfont-genggai': true\n      }, _Picture2[\"default\"].icon, true));\n      var moreIcon = (0, _classnames[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, _Picture2[\"default\"].icon, true), _Picture2[\"default\"].imgCursor, true), 'kdfont kdfont-gengduo', true));\n      var operationBar = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        style: {\n          display: 'none'\n        }\n      });\n      if (height >= 56) {\n        operationBar = !disabled && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: _Picture2[\"default\"]['pic-edit']\n        }, mustInput ? /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n          href: \"\",\n          title: (0, _intlApi.getLangMsg)({\n            key: 'image.key0008'\n          }),\n          onClick: handleUpload,\n          className: changeIcon\n        }) : /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n          href: \"\",\n          title: (0, _intlApi.getLangMsg)({\n            key: 'image.key0007'\n          }),\n          onClick: handleDelete,\n          className: deleteIcon\n        }));\n      } else if (height < 56) {\n        var tooltipClass = (0, _classnames[\"default\"])(_Picture2[\"default\"]['tooltips-class'], _Picture2[\"default\"].tips);\n        var text = /*#__PURE__*/_react[\"default\"].createElement(Toolbar, {\n          disabled: disabled,\n          mustInput: mustInput,\n          handleUpload: handleUpload,\n          handleDelete: handleDelete,\n          handlePreview: handlePreview\n        });\n        operationBar = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: _Picture2[\"default\"]['pic-edit'],\n          style: {\n            height: \"\".concat(height, \"px\")\n          }\n        }, /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Tooltip, {\n          tip: text,\n          popperClassName: tooltipClass,\n          placement: \"bottom\",\n          mouseLeaveDelay: 0.3,\n          disabled: disabled\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: moreIcon\n        })));\n      }\n      return operationBar;\n    }\n  }]);\n  return OperationBar;\n}(_react[\"default\"].Component);\nvar Toolbar = exports.Toolbar = /*#__PURE__*/function (_React$Component3) {\n  _inherits(Toolbar, _React$Component3);\n  function Toolbar() {\n    _classCallCheck(this, Toolbar);\n    return _callSuper(this, Toolbar, arguments);\n  }\n  _createClass(Toolbar, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props11 = this.props,\n        disabled = _this$props11.disabled,\n        mustInput = _this$props11.mustInput,\n        handleDelete = _this$props11.handleDelete,\n        handlePreview = _this$props11.handlePreview,\n        handleUpload = _this$props11.handleUpload;\n      var barItemClass = (0, _classnames[\"default\"])(_Picture2[\"default\"].barItem, 'link-color');\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _Picture2[\"default\"].toolbarBox\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: barItemClass,\n        onClick: handlePreview\n      }, (0, _intlApi.getLangMsg)({\n        key: 'image.key0006'\n      })), !disabled && (mustInput ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: barItemClass,\n        onClick: handleUpload\n      }, (0, _intlApi.getLangMsg)({\n        key: 'image.key0008'\n      })) : /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: barItemClass,\n        onClick: handleDelete\n      }, (0, _intlApi.getLangMsg)({\n        key: 'image.key0007'\n      }))));\n    }\n  }]);\n  return Toolbar;\n}(_react[\"default\"].Component);\nvar _default = exports[\"default\"] = Picture;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Picture.jsx?");

/***/ }),

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

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/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 = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _QingControl = _interopRequireDefault(__webpack_require__(/*! ./QingControl.less */ \"./src/component/web/base/QingControl.less\"));\nvar _IFrame = _interopRequireDefault(__webpack_require__(/*! ./IFrame */ \"./src/component/web/base/IFrame.js\"));\nvar _excluded = [\"src\", \"style\", \"className\", \"refreshId\", \"showFrameBorder\", \"scrolling\", \"allowTransparency\", \"allowfullscreen\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 QingControl = /*#__PURE__*/function (_React$Component) {\n  _inherits(QingControl, _React$Component);\n  function QingControl(props) {\n    var _this;\n    _classCallCheck(this, QingControl);\n    _this = _callSuper(this, QingControl, [props]);\n    _this._qingIFrame = undefined;\n    _this.getIframeDom = _this.getIframeDom.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n\n  // 触发轻应用分析页面(第三方web link)刷新\n  _createClass(QingControl, [{\n    key: \"reExtractData\",\n    value: function reExtractData() {\n      // let qingIFrame = ReactDOM.findDOMNode(this.refs.qingviewIframe);\n      var qingIFrame = this._qingIFrame;\n      if (qingIFrame.contentWindow && qingIFrame.contentWindow.QingFacade && qingIFrame.contentWindow.QingFacade.reExtractData) {\n        qingIFrame.contentWindow.QingFacade.reExtractData();\n      }\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      var newRefreshId = nextProps.refreshId;\n      var refresId = this.props.refresId;\n      if (newRefreshId && newRefreshId !== refresId) {\n        this.reExtractData(); // 触发轻分析刷新\n      }\n    }\n  }, {\n    key: \"getIframeDom\",\n    value: function getIframeDom(iframeDom) {\n      this._qingIFrame = iframeDom;\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        src = _this$props.src,\n        style = _this$props.style,\n        className = _this$props.className,\n        refreshId = _this$props.refreshId,\n        showFrameBorder = _this$props.showFrameBorder,\n        scrolling = _this$props.scrolling,\n        allowTransparency = _this$props.allowTransparency,\n        allowfullscreen = _this$props.allowfullscreen,\n        others = _objectWithoutProperties(_this$props, _excluded);\n      var classNames = (0, _classnames2[\"default\"])(_defineProperty(_defineProperty({}, _QingControl[\"default\"].qingcontrol, true), className, className));\n      // let showFrameBorder = 0; //show iframe border [1:yes,0:no]\n      // let scrolling='auto';    //show scrollbar or not [no,yes,auto]\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({}, others, {\n        className: classNames,\n        style: style\n      }), /*#__PURE__*/_react[\"default\"].createElement(_IFrame[\"default\"], {\n        src: src,\n        frameBorder: showFrameBorder == undefined ? 0 : showFrameBorder,\n        scrolling: scrolling == undefined ? 'auto' : scrolling,\n        allowtransparency: allowTransparency == undefined ? true : allowTransparency,\n        getIframeDom: this.getIframeDom,\n        allowfullscreen: true\n      }));\n    }\n  }]);\n  return QingControl;\n}(_react[\"default\"].Component);\nQingControl.propTypes = {\n  style: _propTypes[\"default\"].object,\n  className: _propTypes[\"default\"].string\n};\nvar _default = exports[\"default\"] = QingControl;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/QingControl.js?");

/***/ }),

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

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.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.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.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.parse-float.js */ \"../../node_modules/core-js/modules/es.parse-float.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _RichText = _interopRequireDefault(__webpack_require__(/*! ./RichText.less */ \"./src/component/web/base/RichText.less\"));\nvar _index = __webpack_require__(/*! @/component/web/base/RichTextEditor/index */ \"./src/component/web/base/RichTextEditor/index.js\");\nvar _const = __webpack_require__(/*! @/component/web/base/RichTextEditor/TinymceEditor/const */ \"./src/component/web/base/RichTextEditor/TinymceEditor/const.js\");\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! @/component/common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _classnames4 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _BaseComponents = __webpack_require__(/*! @/component/web/base/BaseComponents */ \"./src/component/web/base/BaseComponents/index.js\");\nvar _const2 = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _doubleClickToChangePropertyUtil = __webpack_require__(/*! @/designer/utils/doubleClickToChangePropertyUtil */ \"./src/designer/utils/doubleClickToChangePropertyUtil.js\");\nvar _propnames = __webpack_require__(/*! @/designer/constant/propnames */ \"./src/designer/constant/propnames.js\");\nvar _excluded = [\"field\", \"className\", \"style\", \"showTitle\", \"mustInput\", \"placeholder\", \"labelDirection\", \"labelText\", \"labelTextAlign\", \"labelStyle\", \"labelProps\", \"Grow\", \"Shrink\", \"AlignSelf\", \"onClick\", \"onTwiceClick\", \"getPropertyValue\", \"getDataProperty\", \"slot\", \"ctlTips\", \"toolbarItems\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nvar DEFAULT_HEIGHT = '300px';\nfunction RichText(_ref) {\n  var _style$fontSize, _style$height;\n  var field = _ref.field,\n    className = _ref.className,\n    style = _ref.style,\n    showTitle = _ref.showTitle,\n    mustInput = _ref.mustInput,\n    placeholder = _ref.placeholder,\n    labelDirection = _ref.labelDirection,\n    labelText = _ref.labelText,\n    labelTextAlign = _ref.labelTextAlign,\n    labelStyle = _ref.labelStyle,\n    labelProps = _ref.labelProps,\n    Grow = _ref.Grow,\n    Shrink = _ref.Shrink,\n    AlignSelf = _ref.AlignSelf,\n    onClick = _ref.onClick,\n    onTwiceClick = _ref.onTwiceClick,\n    getPropertyValue = _ref.getPropertyValue,\n    getDataProperty = _ref.getDataProperty,\n    slot = _ref.slot,\n    ctlTips = _ref.ctlTips,\n    _ref$toolbarItems = _ref.toolbarItems,\n    toolbarItems = _ref$toolbarItems === void 0 ? _const.DEFAULT_SIMPLE_TOOLBARITEMS : _ref$toolbarItems,\n    others = _objectWithoutProperties(_ref, _excluded);\n  var renderTitle = function renderTitle(disabled) {\n    var titleWidth = isLabelHorizontal ? _const2.FIELD_DEFAULT_STYLE.horizontalTitleWidth : '';\n    var titleStyle = {\n      width: labelStyle.width === undefined || labelStyle.width === '' ? titleWidth : labelStyle.width\n    };\n    var titleContainerStyle = _objectSpread({}, titleStyle);\n    if (labelStyle.width) {\n      // 如果设置了宽度，则不启用压缩\n      titleContainerStyle = Object.assign({}, labelStyle, {\n        flexShrink: 0\n      });\n    }\n    titleContainerStyle.color = style && style.color;\n\n    // 左对齐时必填符号跟着标题，去除宽度设置\n    if ((labelTextAlign === 'left' || !labelTextAlign) && titleStyle.width) {\n      delete titleStyle.width;\n    }\n    var textAlignClass = _RichText[\"default\"]['label-text-' + labelTextAlign];\n    var labelClz = (0, _classnames4[\"default\"])('kd-cq-field-title-wrap', _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _RichText[\"default\"]['label-wrap'], true), _RichText[\"default\"]['no-width'], parseFloat(labelStyle.width) === 0 && showTitle), _RichText[\"default\"]['label-disabled'], disabled), textAlignClass, textAlignClass));\n    var designTipsClassName = (0, _classnames4[\"default\"])('kdfont kdfont-tishixinxi', _defineProperty({}, _RichText[\"default\"]['design-tips'], true));\n    var titleClz = (0, _classnames4[\"default\"])(_RichText[\"default\"]['title-wrapper'], _RichText[\"default\"][\"title-align-\".concat(labelTextAlign || 'left')]);\n    var titleContainerProps = (0, _doubleClickToChangePropertyUtil.getTitleProps)(field, _propnames.NAME, labelText);\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n      className: labelClz,\n      style: titleContainerStyle\n    }, titleContainerProps), isLabelHorizontal ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n      className: titleClz,\n      style: titleStyle\n    }, labelProps, {\n      title: labelText\n    }), labelText) : /*#__PURE__*/_react[\"default\"].createElement(_BaseComponents.Label, _extends({\n      text: labelText,\n      Name: labelText,\n      style: {\n        margin: 0,\n        padding: 0\n      }\n    }, labelProps, {\n      field: field\n    })), mustInput ? /*#__PURE__*/_react[\"default\"].createElement(\"label\", {\n      className: (0, _classnames4[\"default\"])(_RichText[\"default\"].must, 'require-icon')\n    }, \"*\") : null, slot, ctlTips ? /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n      className: designTipsClassName\n    }) : null);\n  };\n  var isLabelHorizontal = labelDirection === 'h';\n  var richTextClz = (0, _classnames4[\"default\"])('kd-cq-field kd-cq-richtext', _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _RichText[\"default\"]['field-item'], true), _RichText[\"default\"]['richtext-label'], isLabelHorizontal), \"kd-cq-field-layout-\".concat(labelDirection), true), className, className), (0, _commonUtils[\"default\"])({\n    Grow: Grow,\n    Shrink: Shrink,\n    AlignSelf: AlignSelf\n  }));\n  var autoFocusOnInit = false;\n  var editorStyle = Object.assign({}, {\n    height: ''\n  }, {\n    fontSize: (_style$fontSize = style === null || style === void 0 ? void 0 : style.fontSize) !== null && _style$fontSize !== void 0 ? _style$fontSize : '14px'\n  });\n  var richTextStyle = Object.assign({}, style, {\n    height: ''\n  });\n  var containerStyle = {\n    height: (_style$height = style === null || style === void 0 ? void 0 : style.height) !== null && _style$height !== void 0 ? _style$height : DEFAULT_HEIGHT\n  };\n  var content = '';\n  var controlProps = (0, _doubleClickToChangePropertyUtil.getControlProps)(field, onTwiceClick);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n    className: richTextClz,\n    style: richTextStyle\n  }, others, {\n    onClick: onClick\n  }, controlProps), showTitle && renderTitle(), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _RichText[\"default\"]['value-wrap'],\n    style: containerStyle\n  }, /*#__PURE__*/_react[\"default\"].createElement(_index.TinymceEditor, _extends({\n    style: editorStyle,\n    disabled: true,\n    readOnly: false,\n    content: content,\n    placeholder: placeholder,\n    autoFocusOnInit: autoFocusOnInit,\n    Grow: Grow,\n    Shrink: Shrink,\n    AlignSelf: AlignSelf,\n    isDesigner: true,\n    toolbarItems: toolbarItems,\n    wordCount: false\n  }, others)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _RichText[\"default\"].mask,\n    onClick: onClick\n  })));\n}\nvar _default = exports[\"default\"] = RichText;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/RichText.js?");

/***/ }),

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

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.js\");\n__webpack_require__(/*! core-js/modules/es.array.join.js */ \"../../node_modules/core-js/modules/es.array.join.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.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.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.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 _react = _interopRequireDefault(__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 _classnames6 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _SearchBox2 = _interopRequireDefault(__webpack_require__(/*! ./SearchBox.less */ \"./src/component/web/base/SearchBox.less\"));\nvar _serverproperties = __webpack_require__(/*! ../../../constant/serverproperties */ \"./src/constant/serverproperties.js\");\nvar _filter_delete = _interopRequireDefault(__webpack_require__(/*! ../img/default/filter_delete.png */ \"./src/component/web/img/default/filter_delete.png\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _listenInput = _interopRequireDefault(__webpack_require__(/*! ../../../util/listenInput */ \"./src/util/listenInput.js\"));\nvar _defaultPropsUtil = __webpack_require__(/*! @/util/defaultPropsUtil */ \"./src/util/defaultPropsUtil.js\");\nvar _customProperties = _interopRequireDefault(__webpack_require__(/*! @/constant/customProperties */ \"./src/constant/customProperties.js\"));\nvar _keyCode = __webpack_require__(/*! @/constant/keyCode */ \"./src/constant/keyCode.js\");\nvar _lodash = _interopRequireDefault(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nvar _excluded = [\"value\", \"style\", \"className\", \"disabled\", \"placeholder\", \"Overflow\", \"Grow\", \"Shrink\", \"AlignSelf\", \"AlignContent\", \"AlignItems\", \"JustifyContent\", \"isDesigner\", \"showModel\", \"searchConditions\", \"searchSelected\", \"autocompleteitems\", \"onQSKeyDown\", \"onQSSelectItem\", \"onHandleBlur\", \"onHandleChange\", \"onQSDelCondition\", \"searchShowStyle\", \"userLocal\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 _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 SearchBox = /*#__PURE__*/function (_React$Component) {\n  _inherits(SearchBox, _React$Component);\n  function SearchBox(props) {\n    var _this;\n    _classCallCheck(this, SearchBox);\n    _this = _callSuper(this, SearchBox, [props]);\n    _this.hideList = function (e) {\n      var target = e.target;\n      while (target) {\n        if (target === _this.attachElement) return;\n        target = target.parentNode;\n      }\n      _this.setState(Object.assign({}, _this.state, {\n        showList: false\n      }), function () {\n        this.unBindEventOfSelectPanel();\n        this.destroyDropDownPanel();\n      });\n    };\n    _this.onSearchIconMouseEnter = function () {\n      // 如果显示风格不为自动收起或者搜索框已展开 则不执行后面动画逻辑\n      if (!_this.state.collapse || !_this.props.searchShowStyle) return;\n      // 搜索框内有内容时不收起\n      if (_this.txtInput.value) return;\n      // 搜索框展开\n      var txtQSInput = _reactDom[\"default\"].findDOMNode(_this.refs.txtQSInput);\n      txtQSInput.classList.add(_SearchBox2[\"default\"]['expanding']);\n      setTimeout(function () {\n        _this.setState({\n          collapse: false\n        });\n        _this.txtInput.focus();\n      }, 300);\n    };\n    _this.collapseSearchBox = function () {\n      // 如果显示风格不为自动收起或者搜索框已展开 则不执行后面动画逻辑\n      if (_this.state.collapse || !_this.props.searchShowStyle) return;\n      // 已存在搜索条件时不收起\n      if (_this.props.searchSelected && _this.props.searchSelected.size > 0) return;\n      // 搜索框内有内容时不收起\n      if (_this.txtInput.value) return;\n      // 搜索框收起\n      var txtQSInput = _reactDom[\"default\"].findDOMNode(_this.refs.txtQSInput);\n      txtQSInput.classList.remove('borderBottom');\n      txtQSInput.classList.add(_SearchBox2[\"default\"]['collapsing']);\n      setTimeout(function () {\n        _this.setState({\n          collapse: true\n        });\n      }, 300);\n    };\n    _this.state = {\n      // focus: false,\n      showList: false,\n      // value: '',\n      collapse: true,\n      selectedIndex: 0 // 搜索弹出的下拉面板,默认选中第一项\n    };\n\n    // this.txtInputDom\n\n    _this.closeList = _this.closeList.bind(_assertThisInitialized(_this));\n    _this.resizeHandler = _lodash[\"default\"].throttle(_this.closeList, 300);\n    _this.onQSKeyDown = _this.onQSKeyDown.bind(_assertThisInitialized(_this));\n    _this.onItemMouseEnter = _this.onItemMouseEnter.bind(_assertThisInitialized(_this));\n    _this.setInput = _this.setInput.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  // 中文输入，频繁触发\n  _createClass(SearchBox, [{\n    key: \"setInput\",\n    value: function setInput(input) {\n      var _this2 = this;\n      this.txtInput = input;\n      input = _reactDom[\"default\"].findDOMNode(input);\n      if (input) {\n        // this.input=input\n        this.removeListener = (0, _listenInput[\"default\"])(input, function (value) {\n          // console.warn(`input-value: ${value}`);\n          _this2.onHandleChange(value);\n        }, {\n          timeout: 0,\n          isCache: false\n        });\n      } else {\n        this.removeListener && this.removeListener();\n        this.txtInput = undefined;\n      }\n    }\n\n    // 默认模式,输入框内容change\n  }, {\n    key: \"onHandleChange\",\n    value: function onHandleChange(editValue) {\n      var triggerEvent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n      // this.searchInfoChanged(editValue);\n      this.props.onHandleChange && this.props.onHandleChange(editValue, triggerEvent);\n      if (!triggerEvent) return;\n      if (editValue === '') {\n        this.setState({\n          showList: false\n        }, function () {\n          this.unBindEventOfSelectPanel();\n          this.destroyDropDownPanel();\n        });\n      } else {\n        this.setState({\n          showList: true\n        }, function () {\n          this.unBindEventOfSelectPanel();\n          this.bindEventOfSelectPanel();\n          this.renderDropDownPanel();\n        });\n      }\n    }\n\n    // 是否有配置搜索字段\n  }, {\n    key: \"hasFields\",\n    value: function hasFields() {\n      return !!(this.props.searchConditions && this.props.searchConditions.count() > 0);\n    }\n\n    // key down\n  }, {\n    key: \"onQSKeyDown\",\n    value: function onQSKeyDown(e) {\n      var _this3 = this;\n      if (e.keyCode == 13) {\n        // enter\n        this.props.onQSKeyDown && this.props.onQSKeyDown(e.target.value, this.state.selectedIndex);\n        if (this.hasFields()) {\n          this.props.onHandleChange && this.props.onHandleChange(''); // 清空输入框文本\n        }\n        this.setState({\n          showList: false\n        }, function () {\n          _this3.unBindEventOfSelectPanel();\n          _this3.destroyDropDownPanel();\n          // let input = ReactDOM.findDOMNode(this.refs.txtInput);\n          var input = _this3.getTxtInputDom();\n          if (input) {\n            input.focus();\n          }\n        });\n      } else if (e.keyCode == 8) {\n        // backspace\n        if (this.hasFields()) {\n          this.props.onQSKeyDown && this.props.onQSKeyDown(e.target.value, undefined, e.keyCode);\n        }\n      } else if (e.keyCode == 37) {// left\n      } else if (e.keyCode == 38) {\n        // top(支持键盘上下键选条件)\n        e.preventDefault();\n        e.stopPropagation();\n        if (this.state.showList && this.props.searchConditions) {\n          var sum = this.props.searchConditions.count();\n          var index = this.state.selectedIndex - 1;\n          if (index < 0) {\n            index = sum - 1;\n          }\n          this.setState({\n            selectedIndex: index\n          }, function () {\n            _this3.renderDropDownPanel();\n          });\n        }\n      } else if (e.keyCode == 39) {// right\n      } else if (e.keyCode == 40) {\n        // down\n        e.preventDefault();\n        e.stopPropagation();\n        if (this.state.showList && this.props.searchConditions) {\n          var _sum = this.props.searchConditions.count();\n          var _index = this.state.selectedIndex + 1;\n          if (_index >= _sum) {\n            _index = 0;\n          }\n          this.setState({\n            selectedIndex: _index\n          }, function () {\n            _this3.renderDropDownPanel();\n          });\n        }\n      } else if (e.keyCode === _keyCode.KEYS.ESC) {\n        if (!this.state.showList) return;\n        e.stopPropagation();\n        this.closeList();\n      }\n    }\n\n    // 鼠标移到下拉列表中某一项上面\n  }, {\n    key: \"onItemMouseEnter\",\n    value: function onItemMouseEnter(index) {\n      var _this4 = this;\n      if (this.state.showList && this.props.searchConditions) {\n        // let sum = this.props.searchConditions.count()\n        this.setState({\n          selectedIndex: index\n        }, function () {\n          _this4.renderDropDownPanel();\n        });\n      }\n    }\n\n    // 选中下拉列表中某一项\n  }, {\n    key: \"selectItem\",\n    value: function selectItem(key, searchValue) {\n      var _this5 = this;\n      this.props.onQSSelectItem && this.props.onQSSelectItem(key, searchValue);\n      // this.searchInfoChanged('');\n      this.props.onHandleChange && this.props.onHandleChange(''); // 清空输入框文本\n\n      this.setState({\n        showList: false\n        // value:''\n      }, function () {\n        _this5.unBindEventOfSelectPanel();\n        _this5.destroyDropDownPanel();\n        // let input = ReactDOM.findDOMNode(this.refs.txtInput);\n        var input = _this5.getTxtInputDom();\n        if (input) {\n          input.focus();\n        }\n      });\n    }\n  }, {\n    key: \"closeList\",\n    value: function closeList() {\n      var _this6 = this;\n      if (this.state.showList) {\n        this.setState({\n          showList: false\n        }, function () {\n          _this6.unBindEventOfSelectPanel();\n          _this6.destroyDropDownPanel();\n        });\n      }\n    }\n  }, {\n    key: \"isDesinger\",\n    value: function isDesinger() {\n      return this.props.isDesigner == true;\n    }\n  }, {\n    key: \"renderDropDownPanel\",\n    value: function renderDropDownPanel() {\n      var _this7 = this;\n      if (this.isDesinger() || !this.props.searchConditions || this.props.searchConditions.count() < 1) {\n        return;\n      }\n      var div = this.attachElement;\n      if (!div) {\n        var panel = document.body;\n        div = document.createElement('div');\n        panel.appendChild(div);\n        this.attachElement = div;\n        this.setState({\n          selectedIndex: 0\n        });\n      }\n      this.computePanelPosition();\n      var dropDropPanelStyle = {};\n      // let input = ReactDOM.findDOMNode(this.refs.txtQSInput);\n      // if (!input){\n      // \tdropDropPanelStyle.width = input.getBoundingClientRect().width;\n      // }\n      if (this.attachElement) {\n        dropDropPanelStyle.width = this.attachElement.clientWidth;\n      }\n      _reactDom[\"default\"].render( /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: (0, _classnames6[\"default\"])('kd-cq-dropdown kd-cq-dropdown-select-type kd-cq-search-result-dropdown', _SearchBox2[\"default\"]['qs-list'], _defineProperty({}, _SearchBox2[\"default\"]['hide'], !this.state.showList)),\n        style: dropDropPanelStyle\n      }, this.props.searchConditions.map(function (item, index) {\n        var key = item.get('fieldName');\n        return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n          className: (0, _classnames6[\"default\"])('kd-cq-dropdown-menu-item', _defineProperty(_defineProperty({}, _SearchBox2[\"default\"]['item'], true), 'theme select-selected', index == _this7.state.selectedIndex)),\n          onClick: function onClick() {\n            return _this7.selectItem(key, _this7.props.value);\n          },\n          key: key,\n          onMouseEnter: function onMouseEnter() {\n            return _this7.onItemMouseEnter(index);\n          }\n        }, \"\".concat(item.getIn(['fieldCaption', _this7.props.userLocal]), \"\\uFF1A \") + _this7.props.value);\n      })), div);\n    }\n  }, {\n    key: \"destroyDropDownPanel\",\n    value: function destroyDropDownPanel() {\n      if (this.attachElement) {\n        _reactDom[\"default\"].unmountComponentAtNode(this.attachElement);\n        this.attachElement.parentNode.removeChild(this.attachElement);\n        this.attachElement = null;\n      }\n    }\n  }, {\n    key: \"computePanelPosition\",\n    value: function computePanelPosition() {\n      var input = _reactDom[\"default\"].findDOMNode(this.refs.txtQSInput);\n      var div = this.attachElement;\n      if (!input || !div) return;\n      var position = input.getBoundingClientRect();\n      var top = position.bottom + (document.documentElement.scrollTop || document.body.scrollTop);\n      var left = position.left + (document.documentElement.scrollLeft || document.body.scrollLeft);\n      div.style.cssText = \"position:absolute;display:block;width: \".concat(position.width, \"px;top: \").concat(top, \"px;left: \").concat(left, \"px;\");\n    }\n\n    // 绑定弹出面板相关event\n  }, {\n    key: \"bindEventOfSelectPanel\",\n    value: function bindEventOfSelectPanel() {\n      document.body.addEventListener('click', this.hideList);\n      window.addEventListener('resize', this.resizeHandler);\n    }\n    // 解除event绑定\n  }, {\n    key: \"unBindEventOfSelectPanel\",\n    value: function unBindEventOfSelectPanel() {\n      document.body.removeEventListener('click', this.hideList);\n      window.removeEventListener('resize', this.resizeHandler);\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      // document.body.addEventListener('click', this.hideList);\n      // window.addEventListener('resize', this.closeList);\n      if (!this.isDesinger()) {\n        this.getTxtInputDom();\n      }\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      // document.body.removeEventListener('click', this.hideList);\n      // window.removeEventListener('resize', this.closeList);\n      this.destroyDropDownPanel();\n      this.txtInputDom = null;\n    }\n  }, {\n    key: \"getTxtInputDom\",\n    value: function getTxtInputDom() {\n      if (!this.txtInputDom) {\n        this.txtInputDom = _reactDom[\"default\"].findDOMNode(this.txtInput);\n      }\n      return this.txtInputDom;\n    }\n\n    // 渲染搜索条件\n  }, {\n    key: \"renderQSCondition\",\n    value: function renderQSCondition() {\n      var _this8 = this;\n      var _this$props = this.props,\n        searchSelected = _this$props.searchSelected,\n        searchConditions = _this$props.searchConditions,\n        value = _this$props.value,\n        disabled = _this$props.disabled,\n        readOnly = _this$props.readOnly,\n        isDesigner = _this$props.isDesigner;\n      var InputEle = /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n        value: value,\n        disabled: disabled,\n        ref: this.setInput,\n        readOnly: readOnly || isDesigner,\n        placeholder: this.getPlaceHolder(),\n        autoComplete: \"new-password\",\n        className: (0, _classnames6[\"default\"])('kd-cq-search-box-input', _SearchBox2[\"default\"]['qc-input'], 'primary-text-in-light'),\n        onChange: function onChange(e) {\n          return _this8.onHandleChange(e.target.value, false);\n        },\n        onKeyDown: function onKeyDown(e) {\n          return _this8.onQSKeyDown(e);\n        },\n        \"data-support-enter-shortcut\": true,\n        onBlur: function onBlur(e) {\n          return _this8.handleOnBlur(e.target.value);\n        }\n      });\n      if (searchSelected && searchSelected.count() > 0) {\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: _SearchBox2[\"default\"]['qc-label-out']\n        }, searchSelected.map(function (item, index) {\n          var key = item.get('k');\n          var title = key;\n          searchConditions.map(function (item) {\n            if (item.get('fieldName') == key) {\n              title = item.get('fieldName') === _serverproperties.QP_QUAN_BU_ID ? (0, _intlApi.getLangMsg)({\n                key: 'QueryPanel.key0052'\n              }) : item.getIn(['fieldCaption', _this8.props.userLocal]);\n            }\n          });\n          var conditions = '';\n          var conList = item.get('v');\n          conList.map(function (con, index) {\n            // index 0开始\n            conditions += (index > 0 ? \" \".concat((0, _intlApi.getLangMsg)({\n              key: 'SearchBox.key0001'\n            }), \" \") : '') + con;\n          });\n          return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            key: index,\n            className: (0, _classnames6[\"default\"])('kd-cq-search-box-label', _SearchBox2[\"default\"]['qc-label'])\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n            src: _filter_delete[\"default\"],\n            className: _SearchBox2[\"default\"]['qc-l-delete'],\n            onClick: function onClick() {\n              _this8.props.onQSDelCondition && _this8.props.onQSDelCondition(key);\n            }\n          }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: _SearchBox2[\"default\"]['qc-l-title']\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: _SearchBox2[\"default\"]['qc-l-text-overflow']\n          }, title)), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: _SearchBox2[\"default\"]['qc-l-con']\n          }, conditions));\n        }), InputEle);\n      } else {\n        return InputEle;\n      }\n    }\n\n    // 输入框提示信息\n  }, {\n    key: \"getQSInputTips\",\n    value: function getQSInputTips() {\n      var _this$props2 = this.props,\n        placeholder = _this$props2.placeholder,\n        searchConditions = _this$props2.searchConditions,\n        userLocal = _this$props2.userLocal;\n      if (placeholder) {\n        return placeholder;\n      }\n      if (searchConditions && searchConditions.count() > 0) {\n        return (0, _intlApi.getLangMsg)({\n          key: 'SearchBox.key0002'\n        }).replace(/%s/, '') + searchConditions.filter(function (item) {\n          return _serverproperties.QP_QUAN_BU_ID !== item.get('fieldName');\n        }).map(function (item, index) {\n          return item.getIn(['fieldCaption', userLocal]);\n        }).join('/');\n      } else {\n        // return '未设置搜索字段';\n        return '';\n      }\n    }\n\n    // onBlur(e){\n    // \tthis.setState({\n    // \t\tfocus: false\n    // \t});\n    // }\n\n    // onFocus(e){\n    // \tthis.setState({\n    // \t\tfocus: true\n    // \t});\n    // }\n\n    // 是否已设置了快速查询条件\n  }, {\n    key: \"hasCondition\",\n    value: function hasCondition() {\n      var searchSelected = this.props.searchSelected;\n      var hasCondition = searchSelected ? searchSelected.count() > 0 : false;\n      return hasCondition;\n    }\n  }, {\n    key: \"getPlaceHolder\",\n    value: function getPlaceHolder() {\n      // return this.state.focus?'':(this.props.searchSelected&&this.props.searchSelected.count()>0)? '':this.getQSInputTips();\n      return this.props.searchSelected && this.props.searchSelected.count() > 0 ? '' : this.getQSInputTips();\n    }\n  }, {\n    key: \"handleOnBlur\",\n    value: function handleOnBlur(newValue) {\n      this.props.onHandleBlur && this.props.onHandleBlur(newValue);\n      this.collapseSearchBox();\n    }\n  }, {\n    key: \"render\",\n    value:\n    // searchInfoChanged(newWord,doAutoComplete){\n    // \tthis.props.onSearchInfoChanged&&this.props.onSearchInfoChanged(newWord,doAutoComplete);\n    // }\n\n    /** *******************自动完成下拉模式-end***********************/\n\n    function render() {\n      var _this$props3 = this.props,\n        value = _this$props3.value,\n        _this$props3$style = _this$props3.style,\n        style = _this$props3$style === void 0 ? {} : _this$props3$style,\n        className = _this$props3.className,\n        disabled = _this$props3.disabled,\n        placeholder = _this$props3.placeholder,\n        Overflow = _this$props3.Overflow,\n        Grow = _this$props3.Grow,\n        Shrink = _this$props3.Shrink,\n        AlignSelf = _this$props3.AlignSelf,\n        AlignContent = _this$props3.AlignContent,\n        AlignItems = _this$props3.AlignItems,\n        JustifyContent = _this$props3.JustifyContent,\n        isDesigner = _this$props3.isDesigner,\n        showModel = _this$props3.showModel,\n        searchConditions = _this$props3.searchConditions,\n        searchSelected = _this$props3.searchSelected,\n        autocompleteitems = _this$props3.autocompleteitems,\n        onQSKeyDown = _this$props3.onQSKeyDown,\n        onQSSelectItem = _this$props3.onQSSelectItem,\n        onHandleBlur = _this$props3.onHandleBlur,\n        onHandleChange = _this$props3.onHandleChange,\n        onQSDelCondition = _this$props3.onQSDelCondition,\n        searchShowStyle = _this$props3.searchShowStyle,\n        userLocal = _this$props3.userLocal,\n        others = _objectWithoutProperties(_this$props3, _excluded);\n      var collapse = this.state.collapse;\n\n      // 是否允许控制整个输入框的大小 (条件：显示方式为默认 && 搜索字段为空)\n      if (!(this.props.showModel === 2 && !this.props.searchConditions)) delete style.fontSize;\n      var searchWithAllBorder = (0, _defaultPropsUtil.getCommonDefaultProps)(_customProperties[\"default\"].FIELD_STYLE, true) === 2;\n      var isShowAnimate = this.props.showModel === 2;\n      var defCls = (0, _classnames6[\"default\"])('kd-cq-control kd-cq-search-box', className, (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf\n      }), _SearchBox2[\"default\"]['quick-search'], _defineProperty({}, \"\".concat(_SearchBox2[\"default\"]['all-border'], \" weak-1px-border hover-theme-bdcolor\"), searchWithAllBorder && (!isShowAnimate || !collapse)));\n      var qsCls = (0, _classnames6[\"default\"])(_SearchBox2[\"default\"]['qs-c'], _defineProperty(_defineProperty({\n        'borderBottom': !isShowAnimate || !collapse\n      }, _SearchBox2[\"default\"]['qs-animate'], isShowAnimate), _SearchBox2[\"default\"]['collapse'], isShowAnimate && collapse));\n      var iCls = (0, _classnames6[\"default\"])(_SearchBox2[\"default\"]['qc-flag'], 'kd-cq-search-box-icon kdfont kdfont-f input-color', _defineProperty({}, _SearchBox2[\"default\"]['collapse'], isShowAnimate && collapse));\n\n      // 未展开不允许被点击\n      var readOnly = !searchShowStyle ? false : !!collapse;\n      // 搜索控件,默认宽度200px由设计器传过来,在'defaultReducer'中处理.\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        style: style,\n        className: defCls\n      }, others), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: qsCls,\n        ref: \"txtQSInput\"\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: iCls,\n        onMouseEnter: this.onSearchIconMouseEnter\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _SearchBox2[\"default\"]['qc-container']\n      }, this.renderQSCondition())));\n    }\n  }]);\n  return SearchBox;\n}(_react[\"default\"].Component);\nvar _default = exports[\"default\"] = SearchBox;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/SearchBox.js?");

/***/ }),

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

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.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.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.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-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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\");\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.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.array.find-index.js */ \"../../node_modules/core-js/modules/es.array.find-index.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.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.join.js */ \"../../node_modules/core-js/modules/es.array.join.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.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.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.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.parse-int.js */ \"../../node_modules/core-js/modules/es.parse-int.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.set.js */ \"../../node_modules/core-js/modules/es.set.js\");\n__webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\n__webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _reactDom = __webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\");\nvar _classnames19 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _lodash = _interopRequireDefault(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nvar _global = __webpack_require__(/*! @/global */ \"./src/global/index.js\");\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _TransferContainer = __webpack_require__(/*! ./TransferContainer */ \"./src/component/web/base/TransferContainer.jsx\");\nvar _keyCode = __webpack_require__(/*! @/constant/keyCode */ \"./src/constant/keyCode.js\");\nvar _PanelWrapper = _interopRequireDefault(__webpack_require__(/*! ../../common/PanelWrapper */ \"./src/component/common/PanelWrapper.js\"));\nvar _defaultImg = _interopRequireDefault(__webpack_require__(/*! ../img/default/defaultImg.png */ \"./src/component/web/img/default/defaultImg.png\"));\nvar _elementUtil = __webpack_require__(/*! @/component/common/elementUtil */ \"./src/component/common/elementUtil.js\");\nvar _defaultPropsUtil = __webpack_require__(/*! @/util/defaultPropsUtil */ \"./src/util/defaultPropsUtil.js\");\nvar _customCtrlName = _interopRequireDefault(__webpack_require__(/*! @/constant/customCtrlName */ \"./src/constant/customCtrlName.js\"));\nvar _TextEllipsisWrap = _interopRequireDefault(__webpack_require__(/*! @/component/common/TextEllipsisWrap */ \"./src/component/common/TextEllipsisWrap.js\"));\nvar _memoryCacher = __webpack_require__(/*! @/model/memoryCacher */ \"./src/model/memoryCacher.js\");\nvar _List = __webpack_require__(/*! react-virtualized/dist/commonjs/List */ \"../../node_modules/react-virtualized/dist/commonjs/List/index.js\");\nvar _initListenShortCutEvent = __webpack_require__(/*! @/service/web/initListenShortCutEvent */ \"./src/service/web/initListenShortCutEvent.js\");\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher */ \"./src/model/GlobalDataCacher.js\");\nvar _appModelFunction = __webpack_require__(/*! @/model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _toolUtils = __webpack_require__(/*! @/util/toolUtils */ \"./src/util/toolUtils.js\");\nvar _fieldConst = __webpack_require__(/*! @/constant/fieldConst */ \"./src/constant/fieldConst.js\");\nvar _select = __webpack_require__(/*! @/util/select */ \"./src/util/select.js\");\nvar _baseComponent = _interopRequireDefault(__webpack_require__(/*! ./baseComponent.less */ \"./src/component/web/base/baseComponent.less\"));\nvar _commonAnimation = _interopRequireDefault(__webpack_require__(/*! ../../common/commonAnimation.less */ \"./src/component/common/commonAnimation.less\"));\nvar _Select2 = _interopRequireDefault(__webpack_require__(/*! ./Select.less */ \"./src/component/web/base/Select.less\"));\nvar _excluded = [\"items\", \"noValue\", \"isNoUnderLineLockStyle\", \"model\", \"style\", \"showOption\", \"Grow\", \"Shrink\", \"className\", \"showStyle\", \"onChange\", \"value\", \"disabled\", \"multiple\", \"placeholder\", \"required\", \"theme\", \"getPopupPanel\", \"showType\", \"showFilter\", \"tabIndex\", \"dropdownClassName\", \"selectedItemStyle\", \"isSelectedItemWrap\", \"allBorder\", \"isCollapseTags\", \"isJustShowSelectedValueText\", \"labelStylePositionType\", \"maxLength\", \"singleClearIconStyle\", \"lock\", \"isDesigner\", \"tiggerParent\", \"onHandleClickAreaTracking\", \"showClearBtn\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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 _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 _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 itemHeight = 24;\nvar MAX_WIDTH = 600;\nvar SELECT_OPTION_DELIMITER = '；';\nvar Select = /*#__PURE__*/function (_React$Component) {\n  _inherits(Select, _React$Component);\n  function Select(_props) {\n    var _this;\n    _classCallCheck(this, Select);\n    _this = _callSuper(this, Select, [_props]);\n    // 是否是输入框搜索模式\n    _this.isInputSearchType = function () {\n      return _this.props.searchType === _fieldConst.SEARCH_TYPE.INPUT && !_this.props.multiple;\n    };\n    // 当前Select是否是input元素，当开启临时输入与输入框搜索时，Select就是input元素\n    _this.isInputDom = function () {\n      return _this.state.inputable || _this.isInputSearchType();\n    };\n    // 统一发送onChange数据, key/value:下拉字段选项是键值对, reset:重置\n    _this.doPostChange = function (key, value) {\n      var reset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n      if (reset) {\n        _this._preOnPostChange = '';\n      } else {\n        _this._preOnPostChange = value;\n      }\n      _this.props.onChange && _this.props.onChange(key);\n    };\n    _this.onChangeHandle = function (e) {\n      var value = e.target.value;\n      _this.setState({\n        inputableValue: value\n      });\n      if (_this.isInputSearchType()) {\n        if (!_this.state.show) _this.openSelectPanel();\n        _this.handleFilterChange(value);\n      }\n    };\n    /*\n     * 输入框失去焦点(只有'单选下拉'才支持手动输入):\n     * 用户在select中手动输入的内容不应该直接触发onChange，否则会因KDField层的'即时触发值更新'而立刻且频繁的往server发送数据,\n     * 要在失去焦点时把用户手动输入的内容发出去,KDField层接收到select的onChange消息就会马上往server发数据('即时触发值更新')\n     * 这里这样处理，兼容了select的通过下拉项选择内容和手动录入内容2种交互\n     */\n    _this.onBlurHandle = function (e) {\n      if (_this.isInputSearchType()) {\n        _this.setState({\n          inputableValue: ''\n        }); // 焦点失焦时，需要将输入值清空\n      } else {\n        if (_this._preOnPostChange !== _this.state.inputableValue) {\n          _this._preOnPostChange = _this.state.inputableValue;\n          _this.doPostChange(_this._preOnPostChange);\n        }\n        // this.openSelectPanel() // 自动弹出面板（历史就有的代码，不知道为什么会弹出）\n      }\n      _this.setFocus(e, false);\n    };\n    _this.onFocusHandle = function (e) {\n      if (_this.isInputSearchType()) {\n        _this.handleSelectDomFocus();\n      }\n      if (_this.isSetDomFocus) {\n        // 手动设置焦点时，不需要触发设置focus\n        _this.isSetDomFocus = false;\n        return;\n      }\n      _this.setFocus(e, true);\n    };\n    _this.handleMouseMove = function (e) {\n      var listItemEle = e.target;\n      while (listItemEle !== document.body) {\n        if (listItemEle.nodeName === 'LI') {\n          break;\n        }\n        listItemEle = listItemEle.parentElement;\n      }\n      if (listItemEle.nodeName !== 'LI') return;\n      var targetIndex = parseInt(listItemEle.getAttribute('data-index'));\n      _this.setState({\n        index: targetIndex\n      });\n    };\n    _this.scrollIntoView = function (index) {\n      if (_this.vListRef.current) {\n        _this.vListRef.current.scrollToRow(index);\n      } else {\n        var _this$listRef$current, _item$scrollIntoView;\n        var item = (_this$listRef$current = _this.listRef.current) === null || _this$listRef$current === void 0 ? void 0 : _this$listRef$current.children[index];\n        item === null || item === void 0 || (_item$scrollIntoView = item.scrollIntoView) === null || _item$scrollIntoView === void 0 || _item$scrollIntoView.call(item, {\n          behavior: 'instant',\n          block: 'nearest'\n        });\n      }\n    };\n    _this.setIndex = function () {\n      var _this$state$options = _this.state.options,\n        options = _this$state$options === void 0 ? [] : _this$state$options;\n      var selectIndex = options.findIndex(function (item) {\n        return item.value === _this.props.value;\n      }); // this.selectIndex的使用场景太局限，因此自定义一个selectIndex\n      var index = selectIndex === -1 ? 0 : selectIndex;\n      _this.setState({\n        index: index\n      });\n    };\n    _this.setFocus = function (e) {\n      var isFocus = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n      if (_this.dispose) return;\n      _this.setState({\n        isFocus: isFocus\n      });\n    };\n    _this.inputHandleKeydown = function (e) {\n      if (!_this.isInputSearchType() && e.which === _keyCode.KEYS.ARROWDOWN && _this.state.show === false && !_this.props.disabled && _this.openSelectPanel) {\n        e.preventDefault();\n        _this.openSelectPanel();\n      }\n    };\n    _this.handleSelectDomFocus = function (e) {\n      _this.timer && clearTimeout(_this.timer);\n      if (_this.isSetDomFocus) {\n        // 手动设置焦点时，不需要触发设置focus\n        _this.isSetDomFocus = false;\n        return;\n      }\n      _this.setFocus(e, true);\n      if (!_this.state.show && !_this.props.disabled && !_this.inClickFlag) {\n        _this.timer = setTimeout(function () {\n          _this.openSelectPanel();\n        }, 0);\n      }\n    };\n    _this.invokeControlMethods = function (events) {\n      events.forEach(function (event) {\n        var methodName = event.methodname,\n          args = event.args;\n        switch (methodName) {\n          case 'inputable':\n            {\n              var flag = args[0];\n              _this.setState({\n                inputable: !!flag\n              });\n            }\n            break;\n          default:\n            console.info(\"\".concat(methodName, \" is not been implemented\"));\n            break;\n        }\n      });\n    };\n    _this.closeSelectPanel = function () {\n      var needSetFocus = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n      if (_this.dispose) return;\n      if (_this.state.show === false) return; // 因为可能触发两次关闭，itemClick 和enter 事件\n      _this.setState({\n        show: false,\n        index: -1,\n        filterStr: ''\n      }, function () {\n        var _this$props = _this.props,\n          isSelectedItemWrap = _this$props.isSelectedItemWrap,\n          multiple = _this$props.multiple;\n        if (isSelectedItemWrap && multiple) {\n          _this.cleanMultipleWrapAreaPosition();\n        }\n        if (needSetFocus) {\n          _this.isSetDomFocus = true;\n          _this.selectDom.focus();\n        }\n        _this.props.onPanelClosed && _this.props.onPanelClosed();\n      });\n      var nextOptions = _this.props.items.filter(function (item) {\n        return item && item.value !== null && item.value !== '';\n      });\n      _this.setState({\n        options: nextOptions\n      });\n    };\n    _this.onInputClick = function (e) {\n      if (_this.props.disabled) return;\n      // 这里的上报逻辑处理，在大约2年之后需要移除 - 2022.10.18\n      var _this$props2 = _this.props,\n        onHandleClickAreaTracking = _this$props2.onHandleClickAreaTracking,\n        required = _this$props2.required;\n      // 在没选中内容的时候或者设置了必填的情况下才进行上报\n      if ((required || !_this.hasSelectedValueFlag) && onHandleClickAreaTracking) {\n        var _this$arrowRef;\n        var clickArea = e.target === ((_this$arrowRef = _this.arrowRef) === null || _this$arrowRef === void 0 ? void 0 : _this$arrowRef.current) ? 'right' : 'left';\n        onHandleClickAreaTracking(clickArea);\n      }\n      if (_this.state.show) {\n        !_this.isInputSearchType() && _this.closeSelectPanel();\n      } else {\n        _this.openSelectPanel();\n        _this.setFocus(e, true);\n      }\n    };\n    _this.handleMouseDown = function () {\n      if (_this.props.disabled) return;\n      if (_this.isInputDom() && _this.inputDom) {\n        setTimeout(function () {\n          return _this.inputDom.focus();\n        }, 0);\n      }\n      _this.inClickFlag = true; // 标识是否触发点击事件\n    };\n    _this.handleMouseUp = function () {\n      _this.inClickFlag = false;\n    };\n    _this.handleSelectAll = function () {\n      if (_this.props.isDesigner) return;\n      // 需要全选中或者取消全选中的value列表，如果是全选状态，则清空，不是全选状态，则是可见和不置灰的数据\n      var canSelectValue = _this.isAllSelected() ? '' : _this.state.options.map(function (item) {\n        return item.itemVisible === false || item.disabled ? '' : item.value;\n      }).join(',');\n      // 合并\n      var prevSelectedValues = _this.props.value.toString().split(',').filter(function (v) {\n        return !!v;\n      });\n      var currentSelectedValues = canSelectValue.split(',').filter(function (v) {\n        return !!v;\n      });\n      var newValues = [];\n      if (currentSelectedValues.length === 0) {\n        // 取消全选\n        // prevSelectedValues.forEach(value => {\n        //   if (!this.state.options.find(o => o.value === value) || this.state.options.find(o => o.disabled && o.value === value)) {\n        //     newValues.push(value)\n        //   }\n        // })\n        // 遍历选中数组，如果存在置灰选中的，则加入newValues\n        for (var i = 0; i < prevSelectedValues.length; i++) {\n          var value = prevSelectedValues[i];\n          var optionItem = _this.optionsMap.get(value);\n          if (!optionItem || optionItem.disabled) {\n            newValues.push(value);\n          }\n        }\n      } else {\n        // 全选\n        newValues = currentSelectedValues;\n        var _loop = function _loop() {\n          // 遍历之前选中的列表，如果存在之前选中的value不存在全选列表中，需要添加，例如会存在置灰选中的\n          var value = prevSelectedValues[_i];\n          if (!currentSelectedValues.find(function (v) {\n            return v === value;\n          }) && !newValues.includes(value)) {\n            newValues.push(value);\n          }\n        };\n        for (var _i = 0; _i < prevSelectedValues.length; _i++) {\n          _loop();\n        }\n        // currentSelectedValues.forEach(value => {\n        //   if (!prevSelectedValues.find(v => v === value) && !newValues.includes(value)) {\n        //     newValues.push(value)\n        //   }\n        // })\n      }\n      _this._preOnPostChange = newValues.join(',');\n      _this.doPostChange(newValues.join(','));\n    };\n    _this._handleClosePannelWrap = function (eventType) {\n      // 这里是兼容点击的是上传等会暂时中断浏览器渲染等操作的行为\n      setTimeout(function () {\n        // 当是滚动事件触发的关闭面板，还是应该把焦点设置回selectDom，否则，焦点跳转的时候如果触发了滚动会中断整个跳转；如果是其他事件触发的关闭面板，不应该设置焦点\n        _this.closeSelectPanel(eventType === 'scroll');\n      }, 300);\n    };\n    _this.handleClosePannelWrap = function (e) {\n      // 因为clickOutSide 那里的事件设置了setTimeOut, 所以可能导致触发顺序是 scroll -> clickoutside 但实际上顺序应该是clickoutside -> scroll, 因为click 是不会设置回焦点的，导致两者行为不一致；\n      var eventType = e && _typeof(e) === 'object' && e.type;\n      if (eventType === 'scroll') {\n        setTimeout(function () {\n          _this._handleClosePannelWrap(eventType);\n        }, 0);\n      } else {\n        _this._handleClosePannelWrap(eventType);\n      }\n      _this.setFocus(e, false);\n    };\n    _this.handleSort = function () {\n      if (_this.props.value === '') return;\n      var selectedValues = _this.props.value == null || _this.props.value === '' ? [] : _this.props.value.toString().split(',');\n      var selectOptions = [];\n      selectedValues.forEach(function (value) {\n        var option = _this.state.options.find(function (option) {\n          return option.value === value;\n        });\n        option && selectOptions.push(option);\n      });\n      var otherOptions = _this.state.options.filter(function (option) {\n        return selectedValues.indexOf(option.value) === -1;\n      });\n      _this.setState({\n        options: [].concat(selectOptions, _toConsumableArray(otherOptions))\n      });\n    };\n    // 搜索下拉内容\n    // pramas：filterStr 搜索关键字\n    _this.handleFilterChange = function (filterStr) {\n      if (filterStr && filterStr.length > 0) {\n        var handleToLower = function handleToLower(value) {\n          return String(value).toLowerCase();\n        };\n        var searchFunc = function searchFunc(text, search) {\n          return text !== null && handleToLower(text).indexOf(handleToLower(search)) > -1;\n        };\n        var newOptions = _this.props.items.filter(function (item) {\n          return item && item.value !== null && item.value !== '';\n        }).filter(function (item) {\n          return searchFunc(item.alias, filterStr);\n        }).map(function (item) {\n          return _objectSpread(_objectSpread({}, item), {}, {\n            fontColor: '#000000'\n          });\n        });\n        _this.setState({\n          options: newOptions\n        }, function () {\n          _this.setIndex();\n        });\n      } else {\n        var _newOptions = _this.props.items.filter(function (item) {\n          return item && item.value !== null && item.value !== '';\n        }).map(function (item) {\n          return _objectSpread(_objectSpread({}, item), {}, {\n            fontColor: undefined\n          });\n        });\n        _this.setState({\n          options: _newOptions\n        }, function () {\n          _this.setIndex();\n        });\n      }\n    };\n    _this.handleKeydown = function (e) {\n      var _this$props$onKeyDown2, _this$props4;\n      var keycode = e.which;\n      var newItems = _this.state.options;\n      // 过滤置灰的选项，并保留原有index\n      var fliterItems = _this.state.options.map(function (it, index) {\n        return !it.disabled && _objectSpread(_objectSpread({}, it), {}, {\n          index: index\n        });\n      }).filter(Boolean);\n      var FLENGTH = fliterItems.length || 0;\n      var findIndex = fliterItems.findIndex(function (f) {\n        return f.index === _this.state.index;\n      }) || 0;\n      var shiftKey = e.shiftKey;\n      switch (keycode) {\n        case _keyCode.KEYS.ENTER:\n          e.stopPropagation(); // 否则焦点服务里面的enter 事件会被触发\n          if (_this.props.multiple) {\n            _this.closeSelectPanel();\n          } else {\n            _this.state.index >= 0 && _this.onItemClick(newItems[_this.state.index].value, newItems[_this.state.index].alias);\n            _this.closeSelectPanel();\n          }\n          // 这里加一个延时是因为onItemClick 关闭面板那里设置了一个setTimeout. 这里要保证在弹出面板上的焦点已返回到selectDom 上之后执行\n          setTimeout(function () {\n            var _this$props$onKeyDown, _this$props3;\n            (0, _initListenShortCutEvent.triggerToNextFieldByEnter)(shiftKey, _this.selectDom);\n            (_this$props$onKeyDown = (_this$props3 = _this.props).onKeyDown) === null || _this$props$onKeyDown === void 0 || _this$props$onKeyDown.call(_this$props3, _objectSpread(_objectSpread({}, e), {}, {\n              shiftKey: shiftKey,\n              keyCode: keycode\n            }));\n          }, 0);\n          break;\n        case _keyCode.KEYS.ARROWUP:\n          {\n            var _fliterItems, _fliterItems2;\n            e.preventDefault();\n            e.stopPropagation();\n            /*\n            ↑ 如果index === -1 或者fliterItems的第一个元素 则选中fliterItems的最后一个，反之选中fliterItems的上一个\n            */\n            if (FLENGTH === 0) {\n              return;\n            }\n            var index = [-1, fliterItems[0].index].includes(_this.state.index) ? (_fliterItems = fliterItems[FLENGTH - 1]) === null || _fliterItems === void 0 ? void 0 : _fliterItems.index : (_fliterItems2 = fliterItems[findIndex - 1]) === null || _fliterItems2 === void 0 ? void 0 : _fliterItems2.index;\n            _this.setState({\n              index: index\n            });\n            _this.scrollIntoView(index);\n            break;\n          }\n        case _keyCode.KEYS.ARROWDOWN:\n          {\n            var _fliterItems3, _fliterItems$, _fliterItems4;\n            e.preventDefault();\n            e.stopPropagation();\n            /*\n            ↓ 如果index === fliterItems最后一个元素 则选中fliterItems的第一个，反之选中fliterItems的下一个\n            */\n            if (FLENGTH === 0) {\n              return;\n            }\n            var _index = _this.state.index === ((_fliterItems3 = fliterItems[FLENGTH - 1]) === null || _fliterItems3 === void 0 ? void 0 : _fliterItems3.index) ? (_fliterItems$ = fliterItems[0]) === null || _fliterItems$ === void 0 ? void 0 : _fliterItems$.index : (_fliterItems4 = fliterItems[findIndex + 1]) === null || _fliterItems4 === void 0 ? void 0 : _fliterItems4.index;\n            _this.setState({\n              index: _index\n            });\n            _this.scrollIntoView(_index);\n            break;\n          }\n        case _keyCode.KEYS.SPACE:\n          e.preventDefault();\n          if (_this.props.multiple) {\n            var _newItems$_this$state, _newItems$_this$state2;\n            _this.onItemClick((_newItems$_this$state = newItems[_this.state.index]) === null || _newItems$_this$state === void 0 ? void 0 : _newItems$_this$state.value, (_newItems$_this$state2 = newItems[_this.state.index]) === null || _newItems$_this$state2 === void 0 ? void 0 : _newItems$_this$state2.alias);\n          }\n          break;\n        case _keyCode.KEYS.TAB:\n          if (_this.props.multiple) {\n            // 产品建议：tab直接切换输入框（多选标签历史问题无法直接切换）\n            e.preventDefault();\n            e.stopPropagation();\n          }\n          _this.closeSelectPanel();\n          break;\n        case _keyCode.KEYS.ESC:\n          {\n            if (!_this.state.show) return;\n            e.stopPropagation();\n            _this.closeSelectPanel(true);\n            var config = (0, _appModelFunction.getFormConfig)(_this.props.pageId)((0, _global.getGlobalState)()) || {};\n            var formId = config.formId;\n            var billFormId = config.billFormId || '';\n            (0, _GlobalDataCacher.setData)(_symbolConst.KEY_UI_ACTION, {\n              appId: config.appId,\n              formId: formId,\n              billFormId: billFormId,\n              tableName: 'shortcut_key',\n              shortcutKey: 'Esc',\n              methodName: '关闭下拉面板'\n            });\n            break;\n          }\n        default:\n          break;\n      }\n      keycode !== _keyCode.KEYS.ENTER && ((_this$props$onKeyDown2 = (_this$props4 = _this.props).onKeyDown) === null || _this$props$onKeyDown2 === void 0 ? void 0 : _this$props$onKeyDown2.call(_this$props4, e)); // 回车在回车逻辑里面单独回调\n    };\n    // 渲染options\n    // 参数：arg: index,style(由虚拟列表返回)；item：列表数据\n    _this.renderRow = function (_ref, item) {\n      var index = _ref.index,\n        style = _ref.style;\n      var _this$props5 = _this.props,\n        showStyle = _this$props5.showStyle,\n        showType = _this$props5.showType,\n        multiple = _this$props5.multiple;\n      var proStyle = _this.props.style;\n      var isCurr = _this.state.index === index;\n      var optionClass = (0, _classnames19[\"default\"])(_defineProperty(_defineProperty({}, item.className, !!item.className), 'hover-bg', isCurr));\n      var fontColor = item.fontColor || proStyle && proStyle.color;\n      var fontSize = proStyle && proStyle.fontSize;\n      var disabled = item.disabled;\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        style: style\n      }, /*#__PURE__*/_react[\"default\"].createElement(Option, {\n        index: index,\n        key: item.value,\n        alias: item.alias,\n        showStyle: showStyle,\n        value: item.value,\n        icon: item.imgkey || _defaultImg[\"default\"],\n        className: optionClass,\n        style: item.style,\n        selected: _this.isSelected(item),\n        focused: isCurr,\n        showType: showType,\n        fontColor: fontColor,\n        fontSize: fontSize,\n        multiple: multiple,\n        onClick: function onClick(val) {\n          return _this.onItemClick(val, item.alias);\n        },\n        isVirtual: true,\n        keyText: _this.isInputSearchType() ? _this.state.inputableValue : '',\n        disabled: disabled,\n        optionRender: _this.props.optionRender\n      }));\n    };\n    _this.createPanel = function (dropdownClassName, model) {\n      var _useVList;\n      // 渲染日期面板\n      var panel = _this.panel;\n      if (!panel) {\n        panel = document.createElement('div');\n        // 新增自定义属性，标记下拉面板来自哪个控件，支持修改单个控件下拉样式\n        model && panel.setAttribute('data-fromctrl', model.key);\n        panel.className = (0, _classnames19[\"default\"])('kd-cq-dropdown kd-cq-dropdown-select-type kd-cq-select-dropdown');\n        var mountEle = document.fullscreenElement ? document.fullscreenElement : document.body;\n        mountEle.appendChild(panel);\n        _this.panel = panel;\n      }\n      var locale = {\n        selectAll: (0, _intlApi.getLangMsg)({\n          key: 'Select.key0008'\n        }),\n        selected: (0, _intlApi.getLangMsg)({\n          key: 'Select.key0009'\n        }),\n        // total: getLangMsg({ key: 'Select.key0010' }),\n        noResultsFound: (0, _intlApi.getLangMsg)({\n          key: 'Select.key0011'\n        })\n      };\n\n      // 单据体，日期面板点击不转成非编辑态，将日期面板dom元素传递给单据体\n      _this.props.getPopupPanel && _this.props.getPopupPanel(panel);\n      var selectedValues = _this.props.value == null || _this.props.value === '' ? [] : _this.props.value.toString().split(',');\n      // const isSelectAll = this.state.options\n      //   .every(item => (\n      //     item.itemVisible === false || selectedValues.indexOf(item.value) > -1\n      //   ))\n      var isSelectAll = _this.isAllSelected();\n      var cls = (0, _classnames19[\"default\"])('kd-cq-dropdown-menu', _Select2[\"default\"].panel, _commonAnimation[\"default\"]['panel-drop-down-animation'], dropdownClassName, _defineProperty({}, _Select2[\"default\"]['panel-multiple'], _this.props.multiple));\n      var items = _this.state.options.filter(function (item) {\n        return item.itemVisible !== false;\n      });\n      var rect = (0, _reactDom.findDOMNode)(_assertThisInitialized(_this)).getBoundingClientRect(); // eslint-disable-line\n      var style = {\n        minWidth: rect.width,\n        maxWidth: rect.width > MAX_WIDTH ? rect.width : MAX_WIDTH\n      };\n      if (_this.props.showType === 1) {\n        // 风格一\n        style.maxWidth = 400;\n        style.minWidth = 180;\n      }\n      // 不能小于搜索框的宽度\n      if (style.maxWidth < 196) style.maxWidth = 196;\n      var trigger = _this.props.tiggerParent && !_this.props.isSelectedItemWrap ? _this.selectDom.parentNode : _this.selectDom; // 下拉面板的触发，通过tiggerParent判断\n      var styleProp = _this.props.style;\n      var getPopupContainer = _this.props.getPopupContainer;\n      // 设置容器高度\n      var boxHeight = Math.min(328, items.length * 32);\n      var boxWidth = _this.showFilter() && rect.width < 196 ? 196 : rect.width; // 不能小于搜索框宽度\n\n      var panelAlign = _this.props.panelAlign ? _this.isInputSearchType() || _this.state.inputable ? 'topOrBottom' : _this.props.panelAlign : undefined;\n      var useVList = items.length > 200;\n      var transferFilterStyle = {\n        width: boxWidth - 20 // class中filter的左右margin为10\n      };\n      (_useVList = !useVList) !== null && _useVList !== void 0 ? _useVList : delete transferFilterStyle.width;\n      return /*#__PURE__*/(0, _reactDom.createPortal)( /*#__PURE__*/_react[\"default\"].createElement(_PanelWrapper[\"default\"], {\n        trigger: trigger,\n        onKeyDown: !_this.isInputDom() && _this.handleKeydown,\n        panelAlign: panelAlign,\n        onClose: _this.handleClosePannelWrap,\n        keepFocus: !_this.isInputDom(),\n        ref: _this.panelWrapperRef\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: cls,\n        onClick: function onClick(e) {\n          return e.stopPropagation();\n        },\n        onMouseMove: _this.handleMouseMove,\n        style: style,\n        ref: _this.panelRef\n      }, _this.showFilter() && /*#__PURE__*/_react[\"default\"].createElement(_TransferContainer.TransferFilter, {\n        style: transferFilterStyle,\n        className: (0, _classnames19[\"default\"])(_Select2[\"default\"].filter),\n        onFilterChange: _this.handleFilterChange,\n        placeholder: _this.props.filterPlaceholder\n      }), items.length > 0 ? useVList ? /*#__PURE__*/_react[\"default\"].createElement(_List.List, {\n        ref: _this.vListRef,\n        width: boxWidth,\n        height: boxHeight,\n        className: _Select2[\"default\"].list,\n        rowCount: items.length,\n        rowHeight: 32,\n        scrollToIndex: _this.selectIndex,\n        rowRenderer: function rowRenderer(arg) {\n          return _this.renderRow(arg, items[arg.index]);\n        }\n      }) : /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: _Select2[\"default\"].list,\n        ref: _this.listRef\n      }, _lodash[\"default\"].map(items, function (item, i) {\n        var isCurr = _this.state.index === i;\n        var optionClass = (0, _classnames19[\"default\"])(_defineProperty(_defineProperty({}, item.className, !!item.className), 'hover-bg', isCurr));\n        var fontColor = item.fontColor || styleProp && styleProp.color;\n        var fontSize = styleProp && styleProp.fontSize;\n        var disabled = item.disabled;\n        return /*#__PURE__*/_react[\"default\"].createElement(Option, {\n          index: i,\n          key: item.value,\n          alias: item.alias,\n          showStyle: _this.props.showStyle,\n          value: item.value,\n          icon: item.imgkey || _defaultImg[\"default\"],\n          className: optionClass,\n          style: item.style,\n          selected: _this.isSelected(item),\n          focused: isCurr,\n          showType: _this.props.showType,\n          fontColor: fontColor,\n          fontSize: fontSize,\n          multiple: _this.props.multiple,\n          onClick: function onClick(val) {\n            return _this.onItemClick(val, item.alias);\n          },\n          keyText: _this.isInputSearchType() ? _this.state.inputableValue : '',\n          disabled: disabled,\n          optionRender: _this.props.optionRender\n        });\n      })) : /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames19[\"default\"])('kd-cq-empty-description kd-cq-empty-select-popup', _Select2[\"default\"]['select-noResultsFound'])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, locale.noResultsFound)), _this.props.multiple && items.length > 0 && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames19[\"default\"])('kd-cq-dropdown-menu-item kd-cq-dropdown-bottom-menu-item', _Select2[\"default\"]['select-panel-buttom'])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _Select2[\"default\"]['select-all'],\n        onClick: _this.handleSelectAll\n      }, /*#__PURE__*/_react[\"default\"].createElement(CheckBox, {\n        value: \"all\",\n        className: _Select2[\"default\"]['all-checkbox'],\n        checked: isSelectAll,\n        indeterminate: !isSelectAll && selectedValues.length > 0\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _Select2[\"default\"]['select-all-selected']\n      }, locale.selectAll)), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _Select2[\"default\"]['select-hasSelected']\n      }, locale.selected), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _Select2[\"default\"]['select-selectedCount']\n      }, (0, _intlApi.getLangMsg)({\n        key: 'Select.key0010',\n        variables: {\n          total:\n          /*#__PURE__*/\n          // onClick={this.handleSort} 晓锋确认移除此事件 二改: 客户在使用，不能移除\n          _react[\"default\"].createElement(\"a\", {\n            className: (0, _classnames19[\"default\"])(_Select2[\"default\"]['select-totalSelected'], 'theme-fc'),\n            onClick: _this.handleSort\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, selectedValues.filter(function (v) {\n            return v !== '';\n          }).length))\n        }\n      }))))), panel);\n    };\n    // 生成选中数据，无需重复执行此方法，故挂组件实例上\n    _this.getSelectItems = function (props) {\n      var value = props.value,\n        multiple = props.multiple,\n        items = props.items;\n      var selectItems = [];\n      if (!multiple) {\n        for (var i = 0; i < items.length; i++) {\n          var item = items[i];\n          if (!item || item.value == null || item.value === '') continue;\n          _this.isSelected(item, value) && selectItems.push(item);\n        }\n        // 值不是在下拉项里面的值\n        if (value && selectItems.length === 0) {\n          selectItems.push(value);\n        }\n      } else {\n        // const newItems = value && value.toString().split(',')\n        var newItems = value == null || value === '' ? [] : value.toString().split(',');\n        for (var _i2 = 0; _i2 < newItems.length; _i2++) {\n          if (_this.optionsMap.get(newItems[_i2])) {\n            selectItems.push(_this.optionsMap.get(newItems[_i2]));\n          }\n        }\n      }\n      return selectItems;\n    };\n    // 生成选中标签\n    _this.getSelectItemsDom = function () {\n      var show = _this.state.show;\n      var _this$props6 = _this.props,\n        multiple = _this$props6.multiple,\n        ellipsis = _this$props6.ellipsis,\n        disabled = _this$props6.disabled,\n        isCollapseTags = _this$props6.isCollapseTags,\n        showStyle = _this$props6.showStyle,\n        required = _this$props6.required,\n        _this$props6$noValue = _this$props6.noValue,\n        noValue = _this$props6$noValue === void 0 ? '' : _this$props6$noValue,\n        showType = _this$props6.showType,\n        style = _this$props6.style,\n        selectedItemStyle = _this$props6.selectedItemStyle;\n      var clearIconCls = (0, _classnames19[\"default\"])('kd-cq-select-close-icon kdfont kdfont-guanbi8 kd-hover-color', _Select2[\"default\"].close, {\n        'hover-theme-fc': !disabled\n      });\n      var isLabelStyle = selectedItemStyle === 'label';\n      var selectItems = _this.selectItems;\n      var selectItemsDom = [];\n      var titles = [];\n      if (multiple && disabled && isCollapseTags) {\n        var setectedItemsText = selectItems.map(function (item) {\n          return item.alias;\n        }).join('、');\n        selectItemsDom.push( /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames19[\"default\"])(_Select2[\"default\"]['disable-selectedItem-area'], _defineProperty({}, _Select2[\"default\"]['lock-with-no-value'], !(selectItems !== null && selectItems !== void 0 && selectItems.length))),\n          title: selectItems && selectItems.length ? setectedItemsText : noValue\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: _Select2[\"default\"]['disabled-seletctItems']\n        }, selectItems && selectItems.length ? setectedItemsText : noValue), selectItems.length > 0 && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: _Select2[\"default\"]['disabled-total']\n        }, (0, _intlApi.getLangMsg)({\n          key: 'Select.key0012',\n          variables: {\n            length: selectItems.length\n          }\n        }))));\n      } else {\n        // 面板收起状态 在面板中显示的选中标签需要截断并且加上剩余数量\n        var totalText = (0, _intlApi.getLangMsg)({\n          key: 'Select.key0012',\n          variables: {\n            length: selectItems.length\n          }\n        });\n        if (multiple && isCollapseTags && !show && selectItems.length > 1) {\n          selectItemsDom.push(_this.getSelectedItemDom(selectItems[0], _Select2[\"default\"]['collapseTags-first-Item']));\n          var totalDom = /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            title: totalText,\n            key: \"total\",\n            className: (0, _classnames19[\"default\"])(_Select2[\"default\"]['collapseTags-total'], _defineProperty({}, \"\".concat(_Select2[\"default\"]['value-item-labelStyle'], \" kd-cq-select-label\"), isLabelStyle && !disabled))\n          }, totalText);\n          selectItemsDom.push(totalDom);\n        } else {\n          // 只展示前100个标签，多余的显示【共xx个】\n          var maxLength = 100;\n          var isOver100 = selectItems.length > maxLength;\n          var itemLength = isOver100 ? maxLength : selectItems.length;\n          var _loop2 = function _loop2() {\n            var item = selectItems[index];\n            titles.push(item.alias);\n            // const icon = item.imgkey ? <img src={item.imgkey} /> : null\n            // 修改: 原有逻辑, 未设置图片不显示图片 修改为 未设置图片显示默认图片\n            if (ellipsis) {\n              var icon = /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n                src: item.imgkey || _defaultImg[\"default\"]\n              });\n              var textStyle = item.fontColor && {\n                color: item.fontColor\n              } || style && style.color && {\n                color: style.color\n              };\n              var text = /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n                className: (0, _classnames19[\"default\"])(_Select2[\"default\"].text, {\n                  'primary-text-in-light': !disabled\n                }, 'kd-cq-combo-selected'),\n                style: textStyle\n              }, item.alias);\n              if (index <= ellipsis.index) {\n                var valueItemStyle = {};\n                if (ellipsis.index === index && ellipsis.width) {\n                  if (selectItems.length > ellipsis.index + 1) {\n                    ellipsis.width = ellipsis.width - 10;\n                  }\n                  valueItemStyle.width = ellipsis.width + 'px';\n                }\n                selectItemsDom.push( /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n                  key: item.value,\n                  className: (0, _classnames19[\"default\"])(_Select2[\"default\"]['value-item'], _defineProperty({\n                    'hover-theme-fc': !disabled\n                  }, _Select2[\"default\"]['is-pic'], showStyle === 1)),\n                  style: valueItemStyle\n                }, showStyle ? icon : null, showStyle !== 1 ? text : null, !multiple && required || disabled || showType === 1 ? null : multiple && /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n                  className: clearIconCls,\n                  onClick: function onClick(e) {\n                    return _this.onDeleteItem(e, item.value);\n                  }\n                })));\n              }\n            } else {\n              selectItemsDom.push(_this.getSelectedItemDom(item));\n            }\n          };\n          for (var index = 0; index < itemLength; index++) {\n            _loop2();\n          }\n          if (isOver100) {\n            titles.push(totalText);\n            selectItemsDom.push( /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n              className: (0, _classnames19[\"default\"])(_Select2[\"default\"]['value-item'], _defineProperty({}, \"\".concat(_Select2[\"default\"]['value-item-labelStyle'], \" kd-cq-select-label\"), isLabelStyle && !disabled))\n            }, totalText));\n          }\n        }\n      }\n      return {\n        selectItemsDom: selectItemsDom,\n        titles: titles\n      };\n    };\n    _this.state = {\n      show: false,\n      inputable: false,\n      inputableValue: _props.searchType === _fieldConst.SEARCH_TYPE.INPUT ? '' : _props.value || '',\n      ellipsis: null,\n      index: 0,\n      // 光标位置，默认第一个就是\n      isFocus: false,\n      filterStr: '',\n      // 过滤关键字\n      options: _props.items.filter(function (item) {\n        return item && item.value !== null && item.value !== '';\n      })\n    };\n    _this.selectIndex = _props.items.findIndex(function (item) {\n      return _props.value === item.value;\n    }) || 0;\n    _this._preOnPostChange = ''; // 前一次onChange发送的数据\n    _this.panelWrapperRef = /*#__PURE__*/_react[\"default\"].createRef(null);\n    _this.panelRef = /*#__PURE__*/_react[\"default\"].createRef(null);\n    _this.valueContainerRef = /*#__PURE__*/_react[\"default\"].createRef(null);\n    _this.arrowRef = /*#__PURE__*/_react[\"default\"].createRef(null);\n    _this.vListRef = /*#__PURE__*/_react[\"default\"].createRef(null); // 虚拟列表ref\n    _this.listRef = /*#__PURE__*/_react[\"default\"].createRef(null); // 普通列表ref\n    _this.renderRow = _this.renderRow.bind(_assertThisInitialized(_this));\n    _this.optionsMap = (0, _select.dataToMap)(_this.state.options);\n    _this.selectItems = _this.getSelectItems(_this.props);\n    return _this;\n  }\n  _createClass(Select, [{\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      // eslint-disable-line\n      var itemsUnEqual = JSON.stringify(nextProps.items) !== JSON.stringify(this.props.items);\n      var valueUnEqual = nextProps.value !== this.props.value;\n      var multipleUnEqual = nextProps.multiple !== this.props.multiple;\n      // 需要将设置options提前到设置selectItems之前\n      if (itemsUnEqual) {\n        var nextOptions = nextProps.items.filter(function (item) {\n          return item && item.value !== null && item.value !== '';\n        });\n        this.setState({\n          options: nextOptions\n        });\n        this.optionsMap = (0, _select.dataToMap)(nextOptions);\n      }\n      if (valueUnEqual || multipleUnEqual || itemsUnEqual) {\n        this.selectItems = this.getSelectItems(nextProps); // 当这些值有变化的时候 重新计算selectItems\n      }\n      if (valueUnEqual && this.state.inputable && !nextProps.multiple) {\n        var nextValue = nextProps.value;\n        nextProps.items.forEach(function (item) {\n          if (item.value === nextProps.value) {\n            nextValue = item.alias;\n          }\n        });\n        this.setState({\n          inputableValue: nextValue\n        });\n      }\n      if (this.props.showOption !== true && nextProps.showOption === true) {\n        this.setState({\n          show: true\n        });\n      }\n      if (valueUnEqual && (this.props.multiple || multipleUnEqual)) {\n        this.setState({\n          ellipsis: null\n        });\n      }\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this2 = this;\n      this.selectDom && this.selectDom.addEventListener('keydown', this.inputHandleKeydown);\n      this.selectDom && this.selectDom.addEventListener('focus', this.handleSelectDomFocus);\n      var model = this.props.model;\n      if (model) {\n        this.removeDirectivesListener = (0, _memoryCacher.subscribeControlMethod)(model.pageId, model.key, 'directives', function (pageData) {\n          if (pageData === undefined) {\n            return;\n          }\n          _this2.invokeControlMethods(pageData);\n        });\n      }\n      if (this.state.inputable && !this.props.multiple) {\n        var _this$props7 = this.props,\n          items = _this$props7.items,\n          value = _this$props7.value;\n        var nextValue = value;\n        items.forEach(function (item) {\n          if (item.value === value) {\n            nextValue = item.alias;\n          }\n        });\n        this.setState({\n          inputableValue: nextValue\n        });\n      }\n    }\n  }, {\n    key: \"componentDidUpdate\",\n    value: function componentDidUpdate(prevProps) {\n      var _this$props8 = this.props,\n        multiple = _this$props8.multiple,\n        isSelectedItemWrap = _this$props8.isSelectedItemWrap,\n        value = _this$props8.value,\n        inputable = _this$props8.inputable;\n      var show = this.state.show;\n      if (!inputable && isSelectedItemWrap && multiple && show && value !== prevProps.value) {\n        // const panelWrapperDom = this.panelWrapperRef.current\n        var valueContainerDom = this.valueContainerRef.current;\n        // panelWrapperDom && panelWrapperDom.calcPosition && panelWrapperDom.calcPosition()\n        // 保证新加的元素后元素滚动条一直在底部\n        if (value.split(',').length > prevProps.value.split(',').length && valueContainerDom) {\n          valueContainerDom.scrollTop = value.split(',').length * itemHeight;\n        }\n      }\n      if (!inputable && isSelectedItemWrap && multiple && !show) {\n        var _valueContainerDom = this.valueContainerRef.current;\n        _valueContainerDom.scrollTop = 0;\n      }\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.dispose = true;\n      this.selectDom && this.selectDom.removeEventListener('keydown', this.inputHandleKeydown);\n      this.selectDom && this.selectDom.removeEventListener('focus', this.handleSelectDomFocus);\n      this.removeDirectivesListener && this.removeDirectivesListener();\n    }\n  }, {\n    key: \"setMultipleWrapAreaPosition\",\n    value: function setMultipleWrapAreaPosition() {\n      var parentNode = this.selectDom.parentNode;\n      var postion = (0, _elementUtil.getPanelScreenByTrigger)({\n        panel: this.selectDom,\n        trigger: parentNode\n      });\n      var triggerScreen = parentNode.getBoundingClientRect();\n      var parentOffsetHeight = parentNode.offsetHeight,\n        parentOffsetWidth = parentNode.offsetWidth;\n      // 触发器下方剩余高度\n      var bottomHeight = window.innerHeight - triggerScreen.top - parentOffsetHeight;\n      // 触发器上方剩余高度\n      var topHeight = triggerScreen.top;\n      var isPostionInParentBottom = bottomHeight >= this.selectDom.offsetHeight || bottomHeight > topHeight;\n      this.selectDom.style.width = \"\".concat(parentOffsetWidth, \"px\");\n      this.selectDom.style.minHeight = \"\".concat(parentOffsetHeight, \"px\");\n      this.selectDom.style.left = \"\".concat(postion.left, \"px\");\n      this.selectDom.style.top = \"\".concat(isPostionInParentBottom ? postion.top - parentOffsetHeight : postion.top + parentOffsetHeight, \"px\");\n    }\n\n    // 清除多选且以选项区域的定位相关属性\n  }, {\n    key: \"cleanMultipleWrapAreaPosition\",\n    value: function cleanMultipleWrapAreaPosition() {\n      this.selectDom.style.width = '';\n      this.selectDom.style.minHeight = '';\n      this.selectDom.style.left = '';\n      this.selectDom.style.top = '';\n    }\n  }, {\n    key: \"openSelectPanel\",\n    value: function openSelectPanel() {\n      var _this$props9 = this.props,\n        isSelectedItemWrap = _this$props9.isSelectedItemWrap,\n        multiple = _this$props9.multiple,\n        labelStylePositionType = _this$props9.labelStylePositionType;\n      if (isSelectedItemWrap && multiple && labelStylePositionType === 'fixed') {\n        this.setMultipleWrapAreaPosition();\n      }\n      if (this.isInputSearchType()) {\n        this.handleFilterChange(this.state.inputableValue);\n      } else {\n        this.setIndex();\n      }\n      this.setState({\n        show: true\n      });\n    }\n  }, {\n    key: \"onDeleteItem\",\n    value: function onDeleteItem(e, value) {\n      e.stopPropagation();\n      var key = this.props.multiple ? this.getSelectedValues(value) : '';\n      this.doPostChange(key, value, true);\n    }\n  }, {\n    key: \"onItemClick\",\n    value: function onItemClick(value, alias) {\n      var _this3 = this;\n      var inputable = this.state.inputable;\n      if (inputable) {\n        this.setState({\n          inputableValue: alias\n        });\n      }\n      if (this.isInputSearchType()) {\n        this.setState({\n          inputableValue: ''\n        });\n      }\n      this.selectIndex = this.props.items.findIndex(function (item) {\n        return item.value === value;\n      });\n      this.doPostChange(this.getSelectedValues(value), value);\n      if (!this.props.multiple) {\n        // setTimeout,兼容edge浏览器渲染机制\n        setTimeout(function () {\n          _this3.closeSelectPanel();\n        }, 0);\n      }\n      // 多选不需要关闭面板\n      // else {\n      //   this.openSelectPanel()\n      // }\n    }\n  }, {\n    key: \"isSelected\",\n    value: function isSelected(item) {\n      var selValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.props.value;\n      var value = item.value;\n      var multiple = this.props.multiple;\n      if (value == null) return false;\n      if (multiple) {\n        if (selValue == null || selValue === '') return false;\n        if (value === '') return this.isAllSelected();\n        var selectedValues = selValue.toString().split(',');\n        return selectedValues.indexOf(value) > -1;\n      }\n      return selValue === value;\n    }\n  }, {\n    key: \"isAllSelected\",\n    value: function isAllSelected() {\n      // const items = this.state.options.map((item) => (item.itemVisible && !item.disabled)) || []\n      // 选中的数据\n      var selectedValues = this.props.value == null || this.props.value === '' ? [] : this.props.value.toString().split(',');\n      var optionItems = []; // 所有能选的选项\n      for (var i = 0; i < this.state.options.length; i++) {\n        var item = this.state.options[i];\n        if (item.itemVisible !== false && !item.disabled) {\n          optionItems.push(item.value);\n        } else if ((item.itemVisible === false || item.disabled) && selectedValues.includes(item.value)) {\n          // 置灰选中的数据和已选中然后被隐藏的数据，需要添加到数组中\n          optionItems.push(item.value);\n        }\n      }\n      if (this.props.value == null || this.props.value === '') {\n        return false;\n      }\n      if (optionItems.length !== selectedValues.length) {\n        return false;\n      }\n      var setSelectedValues = new Set(selectedValues);\n      for (var _i3 = 0; _i3 < optionItems.length; _i3++) {\n        var _item = optionItems[_i3];\n        if (!setSelectedValues.has(_item)) {\n          return false;\n        }\n      }\n      return true;\n    }\n  }, {\n    key: \"getSelectedValues\",\n    value: function getSelectedValues(value) {\n      if (!this.props.multiple) return value;\n      var selValue = this.props.value;\n      var selectedValues = selValue == null || selValue === '' ? [] : selValue.toString().split(',');\n      var index = selectedValues.indexOf(value);\n      if (index === -1) {\n        selectedValues.push(value);\n      } else {\n        selectedValues.splice(index, 1);\n      }\n      value = selectedValues.join(',');\n      return value;\n    }\n  }, {\n    key: \"showFilter\",\n    value:\n    /*\n      是否显示过滤框\n      默认打开过滤框；前提条件：下拉面板条目数量超过一屏(即超过10条) && searchType为dropdown（PRJ-00332560新增条件）\n    */\n    function showFilter() {\n      var _this$props10 = this.props,\n        showFilter = _this$props10.showFilter,\n        items = _this$props10.items;\n      return showFilter !== false && items && items.length > 10 && this.props.searchType === _fieldConst.SEARCH_TYPE.DROPDOWN;\n    }\n  }, {\n    key: \"getSelectedItemDom\",\n    value: function getSelectedItemDom(item, itemClassName) {\n      var _this4 = this;\n      var _this$props11 = this.props,\n        selectedItemStyle = _this$props11.selectedItemStyle,\n        disabled = _this$props11.disabled,\n        showStyle = _this$props11.showStyle,\n        showType = _this$props11.showType,\n        style = _this$props11.style,\n        isJustShowSelectedValueText = _this$props11.isJustShowSelectedValueText,\n        multiple = _this$props11.multiple,\n        required = _this$props11.required;\n      var _this$state = this.state,\n        isFocus = _this$state.isFocus,\n        show = _this$state.show,\n        inputableValue = _this$state.inputableValue;\n      var isLabelStyle = selectedItemStyle === 'label';\n      var clearIconCls = (0, _classnames19[\"default\"])('kd-cq-select-close-icon kdfont kdfont-guanbi8 kd-hover-color', _Select2[\"default\"].close, {\n        'hover-theme-fc': !disabled\n      });\n      var icon = /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n        src: item.imgkey || _defaultImg[\"default\"]\n      });\n      var textStyle = item.fontColor && {\n        color: item.fontColor\n      } || style && style.color && {\n        color: style.color\n      } || {}; // 后端返回的fc 为空字符串会导致报错\n      var textClassName = (0, _classnames19[\"default\"])(_Select2[\"default\"].text, 'kd-cq-combo-selected', _defineProperty(_defineProperty({\n        'primary-text-in-light': !disabled\n      }, \"kd-cq-selected-grey-text \".concat(_Select2[\"default\"]['grey-text']), this.isInputSearchType() && isFocus && show), _Select2[\"default\"]['hide-text'], this.isInputSearchType() && inputableValue !== ''));\n      var text = /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: textClassName,\n        style: textStyle\n      }, item.alias);\n      return /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: isLabelStyle ? item.alias : undefined,\n        key: item.value,\n        className: (0, _classnames19[\"default\"])(itemClassName, _Select2[\"default\"]['value-item'], _defineProperty({}, _Select2[\"default\"]['item-disabled'], item.disabled), _defineProperty(_defineProperty({\n          'hover-theme-fc': !disabled\n        }, _Select2[\"default\"]['is-pic'], showStyle === 1), \"\".concat(_Select2[\"default\"]['value-item-labelStyle'], \" kd-cq-select-label\"), isLabelStyle && !disabled))\n      }, !!showStyle && !isJustShowSelectedValueText && icon, showStyle !== 1 && text, !isLabelStyle && multiple && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _Select2[\"default\"]['option-delimiter']\n      }, SELECT_OPTION_DELIMITER), !(!multiple && required || disabled || showType === 1) && multiple && !item.disabled && /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: clearIconCls,\n        onClick: function onClick(e) {\n          return _this4.onDeleteItem(e, item.value);\n        }\n      }));\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this5 = this,\n        _selectItems$;\n      var _this$state2 = this.state,\n        inputableValue = _this$state2.inputableValue,\n        isFocus = _this$state2.isFocus,\n        show = _this$state2.show,\n        inputable = _this$state2.inputable;\n      var _this$props12 = this.props,\n        items = _this$props12.items,\n        _this$props12$noValue = _this$props12.noValue,\n        noValue = _this$props12$noValue === void 0 ? '' : _this$props12$noValue,\n        isNoUnderLineLockStyle = _this$props12.isNoUnderLineLockStyle,\n        model = _this$props12.model,\n        style = _this$props12.style,\n        showOption = _this$props12.showOption,\n        Grow = _this$props12.Grow,\n        Shrink = _this$props12.Shrink,\n        className = _this$props12.className,\n        showStyle = _this$props12.showStyle,\n        onChange = _this$props12.onChange,\n        value = _this$props12.value,\n        disabled = _this$props12.disabled,\n        multiple = _this$props12.multiple,\n        placeholder = _this$props12.placeholder,\n        required = _this$props12.required,\n        theme = _this$props12.theme,\n        getPopupPanel = _this$props12.getPopupPanel,\n        showType = _this$props12.showType,\n        showFilter = _this$props12.showFilter,\n        tabIndex = _this$props12.tabIndex,\n        dropdownClassName = _this$props12.dropdownClassName,\n        selectedItemStyle = _this$props12.selectedItemStyle,\n        isSelectedItemWrap = _this$props12.isSelectedItemWrap,\n        allBorder = _this$props12.allBorder,\n        isCollapseTags = _this$props12.isCollapseTags,\n        isJustShowSelectedValueText = _this$props12.isJustShowSelectedValueText,\n        labelStylePositionType = _this$props12.labelStylePositionType,\n        maxLength = _this$props12.maxLength,\n        singleClearIconStyle = _this$props12.singleClearIconStyle,\n        lock = _this$props12.lock,\n        isDesigner = _this$props12.isDesigner,\n        tiggerParent = _this$props12.tiggerParent,\n        onHandleClickAreaTracking = _this$props12.onHandleClickAreaTracking,\n        showClearBtn = _this$props12.showClearBtn,\n        other = _objectWithoutProperties(_this$props12, _excluded);\n      var isLabelStyle = selectedItemStyle === 'label';\n      var isWrapArea = isSelectedItemWrap && multiple && show;\n      var isInput = this.isInputDom() && !multiple;\n      var alignMatchObj = {\n        // 值域对齐方式在多选下拉列表需要特殊处理\n        center: 'center',\n        left: 'flex-start',\n        right: 'flex-end'\n      };\n      var valueContainerClassNames = (0, _classnames19[\"default\"])(_Select2[\"default\"]['value-container'], multiple ? _Select2[\"default\"]['multiple-value-container'] : _Select2[\"default\"]['single-value-container'], _defineProperty(_defineProperty(_defineProperty({}, _Select2[\"default\"]['value-container-newType'], showType === 1), _Select2[\"default\"]['white-bg'], allBorder && isDesigner), _Select2[\"default\"]['is-label'], isLabelStyle));\n      var defaultIcon = (0, _defaultPropsUtil.getCommonFieldIcon)(_customCtrlName[\"default\"].SELECT);\n      var iconClassName = (0, _classnames19[\"default\"])({\n        'kdfont kdfont-xiala kd-cq-trigger-icon': !defaultIcon\n      }, showType === 1 ? _Select2[\"default\"]['select-icon-style'] : _Select2[\"default\"]['select-icon-' + (theme || 'default')], _defineProperty(_defineProperty(_defineProperty({}, _Select2[\"default\"]['select-icon-inverse'], this.state.show), 'theme-fc', isFocus), defaultIcon, true));\n      // const clearIconCls = classnames('kdfont kdfont-guanbi8 kd-hover-color', styles.close, { 'hover-theme-fc': !disabled })\n      singleClearIconStyle = _objectSpread(_objectSpread({}, singleClearIconStyle), {}, {\n        backgroundColor: (style === null || style === void 0 ? void 0 : style.backgroundColor) || '#fff'\n      });\n      var selectItems = this.selectItems;\n      var _this$getSelectItemsD = this.getSelectItemsDom(),\n        selectItemsDom = _this$getSelectItemsD.selectItemsDom,\n        titles = _this$getSelectItemsD.titles;\n      // 适配字段‘无下划线’锁定风格\n      var classNames = (0, _classnames19[\"default\"])('kd-cq-select', className, (0, _commonUtils[\"default\"])({\n        Grow: 0,\n        Shrink: 0\n      }), _Select2[\"default\"].select, _baseComponent[\"default\"].input, _baseComponent[\"default\"]['input-' + (theme || 'default')], _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, \"\".concat(_baseComponent[\"default\"].disabled, \" transparent-bg disabled-fc\"), disabled && selectItemsDom.length !== 0), \"\".concat(_baseComponent[\"default\"]['field-disabled-no-value-color'], \" transparent-bg disabled-fc\"), disabled && selectItemsDom.length === 0), _Select2[\"default\"].autoWrapSelect, isWrapArea), _Select2[\"default\"]['all-border-focus'], isFocus), _Select2[\"default\"].allBorderAutoWrapSelect, isWrapArea && allBorder), 'theme-border-color1 strong-border', isWrapArea), 'strong-1px-border', isWrapArea && allBorder), _Select2[\"default\"]['select-area'], !disabled), _Select2[\"default\"]['select-area-no-wraparea'], !isWrapArea), _Select2[\"default\"]['padding-vertical-4'], allBorder && isDesigner));\n      if (selectItemsDom.length === 0 && disabled) {\n        // 适配字段锁定风格，往数组中push一个显示提示\n        selectItemsDom.push(noValue);\n      }\n      var inputHandleProps = {};\n      if (!isInput) {\n        inputHandleProps.onBlur = function (e) {\n          // 面板展开时，焦点会聚焦到面板上，此时也会触发失焦，但是此时用户感知焦点还是在select控件上，因此设置失焦需要在面板不存在时触发\n          if (!_this5.state.show) {\n            _this5.setFocus(e, false);\n          }\n        };\n        inputHandleProps.tabIndex = tabIndex;\n      } else {\n        !disabled && (inputHandleProps.onFocus = this.onFocusHandle);\n      }\n      valueContainerClassNames = (0, _classnames19[\"default\"])(valueContainerClassNames, _defineProperty({}, _Select2[\"default\"]['lock-with-no-value'], (lock || disabled) && selectItemsDom && selectItemsDom[0] === noValue));\n      var inputEvents = !disabled && {\n        onChange: this.onChangeHandle,\n        onBlur: this.onBlurHandle,\n        onKeyDown: this.handleKeydown\n      };\n      this.hasSelectedValueFlag = (selectItemsDom === null || selectItemsDom === void 0 ? void 0 : selectItemsDom.length) > 0; // 记录下拉列表是否有选中值\n\n      var closeIconClass = (0, _classnames19[\"default\"])('kd-cq-select-close-icon kdfont kd-hover-color', {\n        'kdfont-guanbi8': !((_selectItems$ = selectItems[0]) !== null && _selectItems$ !== void 0 && _selectItems$.disabled)\n      }, _Select2[\"default\"]['single-close'], {\n        'hover-theme-fc': !disabled\n      });\n      var selectRender;\n      if (inputable) {\n        // 可录入状态\n        selectRender = /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n          ref: function ref(dom) {\n            _this5.inputDom = dom;\n          },\n          className: (0, _classnames19[\"default\"])('kd-cq-input', _Select2[\"default\"]['value-input']),\n          type: \"text\",\n          value: inputableValue,\n          placeholder: placeholder\n        }, inputHandleProps, {\n          tabIndex: tabIndex,\n          maxLength: maxLength\n        }, inputEvents));\n      } else if (this.isInputSearchType()) {\n        // 可搜索状态\n        var placeholderClass = (0, _classnames19[\"default\"])(_defineProperty(_defineProperty({\n          'placeholder-text-in-light': true\n        }, _Select2[\"default\"]['empty-tip'], true), _Select2[\"default\"]['hide-text'], this.isInputSearchType() && inputableValue !== ''));\n        selectRender = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: valueContainerClassNames,\n          ref: this.valueContainerRef,\n          style: {\n            justifyContent: alignMatchObj[style === null || style === void 0 ? void 0 : style.textAlign],\n            alignItems: 'center'\n          }\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n          ref: function ref(dom) {\n            _this5.inputDom = dom;\n          },\n          className: (0, _classnames19[\"default\"])('kd-cq-input', _Select2[\"default\"]['value-input'], _Select2[\"default\"]['value-inputable'], _defineProperty({}, _Select2[\"default\"].disabled, disabled)),\n          type: \"text\",\n          value: inputableValue\n        }, inputHandleProps, {\n          tabIndex: tabIndex,\n          maxLength: maxLength\n        }, inputEvents, {\n          \"data-shortcut\": other['data-shortcut'],\n          readOnly: disabled\n        })), selectItemsDom.length === 0 ? /*#__PURE__*/_react[\"default\"].createElement(_TextEllipsisWrap[\"default\"], null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: placeholderClass,\n          title: placeholder\n        }, lock ? noValue : placeholder)) : selectItemsDom, !multiple && !(required || disabled || showType === 1) && showClearBtn !== false && /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n          className: closeIconClass,\n          onClick: function onClick(e) {\n            var _selectItems$2;\n            return _this5.onDeleteItem(e, (_selectItems$2 = selectItems[0]) === null || _selectItems$2 === void 0 ? void 0 : _selectItems$2.value);\n          },\n          style: singleClearIconStyle\n        }));\n      } else {\n        // 默认状态\n        var _placeholderClass = (0, _classnames19[\"default\"])('placeholder-text-in-light', _Select2[\"default\"]['empty-tip']);\n        selectRender = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: valueContainerClassNames,\n          ref: this.valueContainerRef,\n          style: {\n            justifyContent: alignMatchObj[style === null || style === void 0 ? void 0 : style.textAlign],\n            alignItems: 'center'\n          },\n          tabIndex: tabIndex,\n          \"data-errorfocus\": true\n        }, selectItemsDom.length === 0 ? /*#__PURE__*/_react[\"default\"].createElement(_TextEllipsisWrap[\"default\"], null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: _placeholderClass,\n          title: placeholder\n        }, lock ? noValue : placeholder)) : selectItemsDom, !multiple && !(required || disabled || showType === 1) && showClearBtn !== false && /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n          className: closeIconClass,\n          onClick: function onClick(e) {\n            var _selectItems$3;\n            return _this5.onDeleteItem(e, (_selectItems$3 = selectItems[0]) === null || _selectItems$3 === void 0 ? void 0 : _selectItems$3.value);\n          },\n          style: singleClearIconStyle\n        }));\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        ref: function ref(dom) {\n          _this5.selectDom = dom;\n        },\n        className: classNames,\n        \"data-base-ctrl\": true\n      }, other, {\n        \"data-shortcut\": isInput ? undefined : other['data-shortcut'],\n        style: Object.assign({}, style, {\n          position: isWrapArea ? labelStylePositionType : ''\n        }),\n        title: titles.join(SELECT_OPTION_DELIMITER),\n        onClick: this.onInputClick // eslint-disable-line\n        ,\n        onMouseDown: this.handleMouseDown,\n        onMouseUp: this.handleMouseUp\n      }, inputHandleProps), selectRender, disabled !== true && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames19[\"default\"])(_Select2[\"default\"].iconBox, 'kd-cq-select-arrow-icon')\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: iconClassName,\n        ref: this.arrowRef\n      })), this.state.show && this.createPanel(dropdownClassName, model));\n    }\n  }]);\n  return Select;\n}(_react[\"default\"].Component);\nSelect.propTypes = {\n  style: _propTypes[\"default\"].object,\n  className: _propTypes[\"default\"].string,\n  dropdownClassName: _propTypes[\"default\"].string,\n  // 下拉面板的className\n  Grow: _propTypes[\"default\"].number,\n  Shrink: _propTypes[\"default\"].number,\n  onChange: _propTypes[\"default\"].func,\n  value: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].number, _propTypes[\"default\"].string]),\n  searchType: _propTypes[\"default\"].string,\n  // 搜索模式，分为两种，输入框搜索与下拉面板搜索\n  multiple: _propTypes[\"default\"].bool,\n  required: _propTypes[\"default\"].bool,\n  items: _propTypes[\"default\"].array,\n  // 下拉列表\n  getPopupPanel: _propTypes[\"default\"].func,\n  // 供调用者获取日期面板Dom对象接口\n  selectedItemStyle: _propTypes[\"default\"].string,\n  // 已选项展示风格 label 标签 text文本\n  isSelectedItemWrap: _propTypes[\"default\"].bool,\n  // 是否开启展开下拉选择时已选项自动换行（只在多选情况下有效）\n  isCollapseTags: _propTypes[\"default\"].bool,\n  // 是否合并已选项\n  isJustShowSelectedValueText: _propTypes[\"default\"].bool,\n  // 已选项是否只显示文本（不带图）\n  labelStylePositionType: _propTypes[\"default\"].string,\n  // 标签风格时输入域获取到焦点时的定位方式（处理单据里面有tarnsfrom导致fixed定位偏差的问题）\n  filterPlaceholder: _propTypes[\"default\"].string\n};\nSelect.defaultProps = {\n  selectedItemStyle: 'text',\n  labelStylePositionType: 'fixed',\n  searchType: _fieldConst.SEARCH_TYPE.DROPDOWN\n};\nvar _default = exports[\"default\"] = Select;\nvar Option = /*#__PURE__*/function (_React$Component2) {\n  _inherits(Option, _React$Component2);\n  function Option() {\n    _classCallCheck(this, Option);\n    return _callSuper(this, Option, arguments);\n  }\n  _createClass(Option, [{\n    key: \"componentDidMount\",\n    value:\n    // 使用虚拟列表之后，此处滚动与虚拟列表冲突\n    function componentDidMount() {\n      var _this6 = this;\n      if (this.props.selected && !this.props.isVirtual) {\n        // 初始化滚动到选中项的视口\n        /**\n         * 如果为true，元素的顶端将和其所在滚动区的可视区域的顶端对齐\n         * 如果为false，元素的底端将和其所在滚动区的可视区域的底端对齐\n         */\n        // findDOMNode(this).scrollIntoView(true)\n        setTimeout(function () {\n          if (_this6.unmounted) return;\n          var dom = (0, _reactDom.findDOMNode)(_this6); // eslint-disable-line\n          dom.scrollIntoView({\n            behavior: 'instant',\n            block: 'nearest'\n          });\n          // 无法复现51版本的bug，那个时候还没有帮助文本，不确定tip是指title还是其他的，试了title和后期的帮助文本，都没有复现该问题，先注释掉，如果复选问题再进行修改\n        }, 300); // 修复在Chrome51版本下，下拉列表出现tip时点击下拉，页面会出现滚动状态的bug\n      }\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.unmounted = true;\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props13 = this.props,\n        index = _this$props13.index,\n        value = _this$props13.value,\n        alias = _this$props13.alias,\n        icon = _this$props13.icon,\n        selected = _this$props13.selected,\n        multiple = _this$props13.multiple,\n        className = _this$props13.className,\n        _onClick = _this$props13.onClick,\n        showStyle = _this$props13.showStyle,\n        showType = _this$props13.showType,\n        fontColor = _this$props13.fontColor,\n        fontSize = _this$props13.fontSize,\n        _this$props13$keyText = _this$props13.keyText,\n        keyText = _this$props13$keyText === void 0 ? '' : _this$props13$keyText,\n        disabled = _this$props13.disabled,\n        optionRender = _this$props13.optionRender;\n      var classNames = (0, _classnames19[\"default\"])(className, 'primary-text-in-light', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Select2[\"default\"].item, showType !== 1), _Select2[\"default\"].itemStyle, showType === 1), _Select2[\"default\"].selected, !disabled && selected && !multiple && showType !== 1), 'theme select-selected kd-cq-dropdown-menu-item-active', !disabled && selected && !multiple), \"kd-cq-select-item-disabled \".concat(_Select2[\"default\"].disabled), disabled), 'kd-cq-dropdown-menu-item');\n      if (typeof icon === 'string') {\n        icon = /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n          className: showType === 1 ? _Select2[\"default\"].iconS : _Select2[\"default\"].icon,\n          src: icon\n        });\n      }\n      var textClassName = showType === 1 ? _Select2[\"default\"].textS : _Select2[\"default\"].text;\n      var textStyle = fontColor && {\n        color: fontColor\n      } || {};\n      if (fontSize) {\n        textStyle.fontSize = fontSize;\n      }\n      var disableClassName = disabled ? \"\".concat(_Select2[\"default\"]['disable-text'], \" kd-cq-select-item-disable\") : '';\n      var optionText = /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        title: alias,\n        className: (0, _classnames19[\"default\"])(textClassName, disableClassName),\n        style: textStyle,\n        dangerouslySetInnerHTML: {\n          __html: (0, _toolUtils.highLight)(alias, keyText, disabled ? _Select2[\"default\"]['disable-text'] : '')\n        }\n      });\n      if (_lodash[\"default\"].isFunction(optionRender) && !multiple) {\n        optionText = optionRender(optionText, value);\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        \"data-index\": index,\n        className: classNames,\n        key: value,\n        onClick: function onClick(e) {\n          if (disabled) {\n            return;\n          }\n          e.stopPropagation();\n          _onClick(value);\n        }\n      }, multiple && /*#__PURE__*/_react[\"default\"].createElement(CheckBox, {\n        value: value,\n        checked: selected,\n        className: _Select2[\"default\"]['item-checkbox'],\n        disabled: disabled\n      }), showStyle ? icon : null, showStyle !== 1 ? optionText : null);\n    }\n  }]);\n  return Option;\n}(_react[\"default\"].Component);\nOption.propTypes = {\n  value: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].number, _propTypes[\"default\"].string]),\n  alias: _propTypes[\"default\"].string,\n  icon: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].object, _propTypes[\"default\"].string]),\n  selected: _propTypes[\"default\"].bool,\n  multiple: _propTypes[\"default\"].bool,\n  className: _propTypes[\"default\"].string,\n  style: _propTypes[\"default\"].object,\n  onClick: _propTypes[\"default\"].func,\n  disabled: _propTypes[\"default\"].bool\n};\nfunction CheckBox(_ref2) {\n  var value = _ref2.value,\n    checked = _ref2.checked,\n    className = _ref2.className,\n    indeterminate = _ref2.indeterminate,\n    disabled = _ref2.disabled;\n  var cls = (0, _classnames19[\"default\"])('kdfont', className, _defineProperty({\n    'theme-fc': !disabled && (checked || indeterminate),\n    'kdfont-fuxuankuangxuanzhong_fang': !disabled && checked,\n    'kdfont-fuxuankuang5': indeterminate && !checked,\n    'kdfont-fuxuankuangweixuanzhong_fang': !checked && !indeterminate,\n    'kdfont-duoxuankuang-xuanzhongqiejinyong': disabled\n  }, _Select2[\"default\"]['checkbox-disabled'], disabled));\n  return /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: cls\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n    type: \"checkbox\",\n    value: value,\n    checked: checked,\n    className: _Select2[\"default\"].select_checkbox,\n    readOnly: true\n  }));\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Select.js?");

/***/ }),

/***/ "./src/component/web/base/SelectNodata.jsx":
/*!*************************************************!*\
  !*** ./src/component/web/base/SelectNodata.jsx ***!
  \*************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = SelectNodataComponent;\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _select_nodata = _interopRequireDefault(__webpack_require__(/*! @/component/web/img/default/select_nodata.png */ \"./src/component/web/img/default/select_nodata.png\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n// 下拉框无数据缺省页，参考KUI设计规范\nfunction SelectNodataComponent(_ref) {\n  var className = _ref.className,\n    content = _ref.content;\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: className\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n    src: _select_nodata[\"default\"]\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, content));\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/SelectNodata.jsx?");

/***/ }),

/***/ "./src/component/web/base/Signature/Signature.jsx":
/*!********************************************************!*\
  !*** ./src/component/web/base/Signature/Signature.jsx ***!
  \********************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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.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.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.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.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 _classnames4 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _Signature = _interopRequireDefault(__webpack_require__(/*! ./Signature.less */ \"./src/component/web/base/Signature/Signature.less\"));\nvar _BaseComponents = __webpack_require__(/*! ../BaseComponents */ \"./src/component/web/base/BaseComponents/index.js\");\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _SignatureBoard = _interopRequireDefault(__webpack_require__(/*! ./SignatureBoard */ \"./src/component/web/base/Signature/SignatureBoard.jsx\"));\nvar _kdesign = __webpack_require__(/*! @kdcloudjs/kdesign */ \"webpack/sharing/consume/default/@kdcloudjs/kdesign/@kdcloudjs/kdesign\");\nvar _excluded = [\"isDesigner\", \"imgUrl\", \"className\", \"style\", \"disabled\", \"mustInput\", \"showStyle\", \"showTitle\", \"labelDirection\", \"labelTextAlign\", \"labelStyle\", \"labelProps\", \"labelText\", \"field\", \"onClick\", \"onTwiceClick\", \"isAsDefaultSignature\", \"uploadStatus\", \"handleDelete\", \"handleUpload\", \"handleReUpload\", \"uploadSignatureImg\", \"mandatoryHandSigning\", \"slot\", \"showError\"];\n/**\n * PC端手写签名字段\n */\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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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); }\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction Signature(_ref) {\n  var isDesigner = _ref.isDesigner,\n    imgUrl = _ref.imgUrl,\n    className = _ref.className,\n    style = _ref.style,\n    disabled = _ref.disabled,\n    mustInput = _ref.mustInput,\n    showStyle = _ref.showStyle,\n    _ref$showTitle = _ref.showTitle,\n    showTitle = _ref$showTitle === void 0 ? true : _ref$showTitle,\n    labelDirection = _ref.labelDirection,\n    labelTextAlign = _ref.labelTextAlign,\n    _ref$labelStyle = _ref.labelStyle,\n    labelStyle = _ref$labelStyle === void 0 ? {} : _ref$labelStyle,\n    _ref$labelProps = _ref.labelProps,\n    labelProps = _ref$labelProps === void 0 ? {} : _ref$labelProps,\n    labelText = _ref.labelText,\n    field = _ref.field,\n    _onClick = _ref.onClick,\n    onTwiceClick = _ref.onTwiceClick,\n    isAsDefaultSignature = _ref.isAsDefaultSignature,\n    uploadStatus = _ref.uploadStatus,\n    handleDelete = _ref.handleDelete,\n    handleUpload = _ref.handleUpload,\n    handleReUpload = _ref.handleReUpload,\n    uploadSignatureImg = _ref.uploadSignatureImg,\n    mandatoryHandSigning = _ref.mandatoryHandSigning,\n    slot = _ref.slot,\n    _ref$showError = _ref.showError,\n    showError = _ref$showError === void 0 ? false : _ref$showError,\n    other = _objectWithoutProperties(_ref, _excluded);\n  var _useState = (0, _react.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    showSignatureBoard = _useState2[0],\n    setShowSignatureBoard = _useState2[1];\n  var isLabelHorizontal = labelDirection === 'h';\n  var handleAreaClick = function handleAreaClick() {\n    setShowSignatureBoard(true);\n  };\n  var handleConfirm = function handleConfirm(data) {\n    handleUpload === null || handleUpload === void 0 || handleUpload(data.imgUrl, data.isAsDefaultSignature);\n  };\n  var handleCloseBoard = function handleCloseBoard() {\n    setShowSignatureBoard(false);\n  };\n\n  // 计算图片显示高度\n  var calcImgHeight = function calcImgHeight() {\n    // 98 = 72图片 + 26标题\n    var containerHeight = style !== null && style !== void 0 && style.height ? Number(style.height.split('px')[0]) : 98;\n    // 显示标题时，需要去除标题高度。水平布局不需要\n    if ((showTitle || !(style !== null && style !== void 0 && style.height)) && !isLabelHorizontal) {\n      containerHeight -= 26;\n    }\n    return containerHeight;\n  };\n  var picStyle = {\n    height: calcImgHeight() + 'px'\n  };\n  var renderTitle = function renderTitle() {\n    var textAlignClass = _Signature[\"default\"]['label-text-' + labelTextAlign];\n    var labelClassName = (0, _classnames4[\"default\"])('kd-cq-field-title-wrap', _defineProperty(_defineProperty(_defineProperty({}, _Signature[\"default\"]['label-wrap'], true), _Signature[\"default\"]['label-disabled'], disabled), textAlignClass, textAlignClass));\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: labelClassName,\n      style: _objectSpread(_objectSpread({}, labelStyle), {}, {\n        color: style.color\n      })\n    }, /*#__PURE__*/_react[\"default\"].createElement(_BaseComponents.Label, _extends({\n      text: labelText,\n      Name: labelText,\n      style: {\n        margin: 0,\n        padding: 0\n      }\n    }, labelProps, {\n      field: field,\n      onTwiceClick: onTwiceClick\n    })), mustInput ? /*#__PURE__*/_react[\"default\"].createElement(\"label\", {\n      className: (0, _classnames4[\"default\"])(_Signature[\"default\"].must, 'require-icon')\n    }, \"*\") : null, slot);\n  };\n  var signatureClz = (0, _classnames4[\"default\"])('kd-cq-field kd-cq-signature', _defineProperty(_defineProperty(_defineProperty({}, _Signature[\"default\"]['field-item'], true), _Signature[\"default\"]['signature-label'], isLabelHorizontal), className, className));\n  var valueClassName = (0, _classnames4[\"default\"])(_Signature[\"default\"]['value-wrap'], 'kd-cq-field-value-wrap', 'kd-cq-signature-tip');\n  var containerClz = (0, _classnames4[\"default\"])(_Signature[\"default\"]['initial-container'], _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Signature[\"default\"]['initial-container-hover'], !showError), _Signature[\"default\"]['required-empty'], showError), 'signature-hover-color', !(disabled || isDesigner || showError)), 'weak-1px-border-dashed', !disabled && (uploadStatus === _const.SIGNATURE_UPLOAD_STATUS.init || isDesigner) && !showError), 'active-theme-fc', !(disabled || isDesigner || showError)), 'contain-bg', 'third-text-in-light');\n  var errorContainerClz = (0, _classnames4[\"default\"])(_Signature[\"default\"]['error-container'], 'is-error-border', 'error-color', 'error-bg-color');\n  var penIconClz = (0, _classnames4[\"default\"])(_Signature[\"default\"]['pen-icon'], 'kdfont kdfont-bianji7');\n  if (isDesigner) {\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n      className: signatureClz,\n      style: style,\n      onClick: function onClick(e) {\n        e.stopPropagation();\n        _onClick === null || _onClick === void 0 || _onClick(e);\n      }\n    }, other), showTitle && renderTitle(), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: valueClassName\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: containerClz\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n      className: penIconClz\n    }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _Signature[\"default\"].signature\n    }, (0, _intlApi.getLangMsg)('Signature.clickSignature')))));\n  }\n  var valueEle;\n  if (uploadStatus === _const.SIGNATURE_UPLOAD_STATUS.init) {\n    valueEle = disabled ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _Signature[\"default\"]['init-disabled']\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)('Signature.undesigned'))) : /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: containerClz,\n      onClick: handleAreaClick\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n      className: penIconClz\n    }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _Signature[\"default\"].signature\n    }, (0, _intlApi.getLangMsg)('Signature.clickSignature')));\n  } else if (uploadStatus === _const.SIGNATURE_UPLOAD_STATUS.uploading) {\n    valueEle = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: containerClz\n    }, /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Spin, {\n      type: \"component\"\n    }));\n  } else if (uploadStatus === _const.SIGNATURE_UPLOAD_STATUS.error) {\n    valueEle = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: errorContainerClz\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _Signature[\"default\"]['error-tips']\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n      className: \"kdfont kdfont-tishi4\"\n    }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _intlApi.getLangMsg)({\n      key: 'Signature.failure'\n    }))), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n      className: (0, _classnames4[\"default\"])('link-color'),\n      onClick: handleReUpload\n    }, (0, _intlApi.getLangMsg)({\n      key: 'Signature.reUpload'\n    })));\n  } else {\n    valueEle = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _Signature[\"default\"]['signature-pic'],\n      style: _objectSpread({}, picStyle)\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n      className: _Signature[\"default\"]['signature-img'],\n      src: imgUrl\n    }), disabled ? null : /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _Signature[\"default\"]['signature-edit']\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n      className: (0, _classnames4[\"default\"])([_Signature[\"default\"]['delete-icon']], 'kdfont kdfont-shanchu'),\n      onClick: handleDelete\n    })));\n  }\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n    className: signatureClz,\n    style: style\n  }, other), showTitle && renderTitle(), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: valueClassName\n  }, valueEle), showSignatureBoard && /*#__PURE__*/_reactDom[\"default\"].createPortal( /*#__PURE__*/_react[\"default\"].createElement(_SignatureBoard[\"default\"]\n  // {...boardOptions} // 签名版参数\n  , {\n    isAsDefaultSignature: isAsDefaultSignature,\n    onClose: handleCloseBoard,\n    onConfirm: handleConfirm,\n    mandatoryHandSigning: mandatoryHandSigning\n  }), document.body));\n}\nvar _default = exports[\"default\"] = Signature;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Signature/Signature.jsx?");

/***/ }),

/***/ "./src/component/web/base/Signature/SignatureBoard.jsx":
/*!*************************************************************!*\
  !*** ./src/component/web/base/Signature/SignatureBoard.jsx ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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.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.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.fill.js */ \"../../node_modules/core-js/modules/es.array.fill.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.date.to-string.js */ \"../../node_modules/core-js/modules/es.date.to-string.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 _SignatureBoard = _interopRequireDefault(__webpack_require__(/*! ./SignatureBoard.less */ \"./src/component/web/base/Signature/SignatureBoard.less\"));\nvar _Dialog = _interopRequireDefault(__webpack_require__(/*! @/component/web/Dialog */ \"./src/component/web/Dialog.js\"));\nvar _componentutil = __webpack_require__(/*! @/util/componentutil */ \"./src/util/componentutil.js\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _classnames4 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _point = _interopRequireDefault(__webpack_require__(/*! ./point */ \"./src/component/web/base/Signature/point.js\"));\nvar _bezier = _interopRequireDefault(__webpack_require__(/*! ./bezier */ \"./src/component/web/base/Signature/bezier.js\"));\nvar _BaseComponents = __webpack_require__(/*! @/component/web/base/BaseComponents */ \"./src/component/web/base/BaseComponents/index.js\");\nvar _signatureUtil = __webpack_require__(/*! @/component/common/signature/signatureUtil */ \"./src/component/common/signature/signatureUtil.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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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); }\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 SignatureBoard(_ref) {\n  var canvasBgColor = _ref.canvasBgColor,\n    _ref$velocityFilterWe = _ref.velocityFilterWeight,\n    velocityFilterWeight = _ref$velocityFilterWe === void 0 ? 0.7 : _ref$velocityFilterWe,\n    _ref$minWidth = _ref.minWidth,\n    minWidth = _ref$minWidth === void 0 ? 0.5 : _ref$minWidth,\n    _ref$maxWidth = _ref.maxWidth,\n    maxWidth = _ref$maxWidth === void 0 ? 2.5 : _ref$maxWidth,\n    _ref$dotSize = _ref.dotSize,\n    dotSize = _ref$dotSize === void 0 ? 0 : _ref$dotSize,\n    _ref$penColor = _ref.penColor,\n    penColor = _ref$penColor === void 0 ? 'black' : _ref$penColor,\n    _ref$minDistance = _ref.minDistance,\n    minDistance = _ref$minDistance === void 0 ? 5 : _ref$minDistance,\n    onConfirm = _ref.onConfirm,\n    onClose = _ref.onClose,\n    isDefaultSignature = _ref.isAsDefaultSignature,\n    mandatoryHandSigning = _ref.mandatoryHandSigning;\n  var _useState = (0, _react.useState)(true),\n    _useState2 = _slicedToArray(_useState, 2),\n    showDesc = _useState2[0],\n    setShowDesc = _useState2[1];\n  var _useState3 = (0, _react.useState)(false),\n    _useState4 = _slicedToArray(_useState3, 2),\n    isFullScreen = _useState4[0],\n    setFullScreen = _useState4[1];\n  var _useState5 = (0, _react.useState)(true),\n    _useState6 = _slicedToArray(_useState5, 2),\n    isAsDefaultSignature = _useState6[0],\n    setIsAsDefaultSignature = _useState6[1];\n  // canvas 分为画布尺寸和画板尺寸，二者需要统一\n  var _useState7 = (0, _react.useState)({\n      width: 0,\n      height: 0\n    }),\n    _useState8 = _slicedToArray(_useState7, 2),\n    canvasRect = _useState8[0],\n    setCanvasRect = _useState8[1];\n  var canvasRef = (0, _react.useRef)({\n    width: 570,\n    height: 360\n  });\n  var canvasCtxRef = (0, _react.useRef)(); // canvas绘图功能\n  var canvasIdRef = (0, _react.useRef)((0, _componentutil.createNewId)());\n  var $canvasId = canvasIdRef.current;\n  var canvasDataRef = (0, _react.useRef)();\n  var dataRef = (0, _react.useRef)([]); // 保存所有点\n  var lastPointsRef = (0, _react.useRef)([]); // 保存最近的4个点，用于生成曲线\n  var pointsGroupOptionRef = (0, _react.useRef)({\n    velocityFilterWeight: velocityFilterWeight,\n    minWidth: minWidth,\n    maxWidth: maxWidth,\n    dotSize: dotSize,\n    penColor: penColor,\n    background: canvasBgColor,\n    points: []\n  });\n  var lastVelocityRef = (0, _react.useRef)(0); // last绘画速度\n  var lastWidthRef = (0, _react.useRef)(0); // last计算的线宽\n  var isDrawing = (0, _react.useRef)(false); // 是否正在绘画\n\n  (0, _react.useEffect)(function () {\n    // 强制手签时，禁止默认手签\n    mandatoryHandSigning && setIsAsDefaultSignature(false);\n  }, [mandatoryHandSigning]);\n\n  // canvas清除\n  var clear = function clear() {\n    if (canvasBgColor) {\n      canvasCtxRef.current.fillStyle = canvasBgColor;\n    }\n    canvasCtxRef.current.clearRect(0, 0, canvasRect.width, canvasRect.height);\n    dataRef.current = [];\n    setShowDesc(true);\n    reset();\n  };\n  (0, _react.useEffect)(function () {\n    canvasCtxRef.current = canvasRef.current.getContext('2d');\n    document.addEventListener('mouseup', handleCanvasMouseUp);\n    return function () {\n      document.addEventListener('mouseup', handleCanvasMouseUp);\n    };\n  }, []);\n\n  // 全屏后重新计算canvas画布尺寸和画板尺寸\n  (0, _react.useEffect)(function () {\n    if (isFullScreen) {\n      // 计算canvas画布大小\n      var _document$body = document.body,\n        clientWidth = _document$body.clientWidth,\n        clientHeight = _document$body.clientHeight;\n      var canvasWidth = clientWidth - 40;\n      var canvasHeight = clientHeight - 140;\n      setCanvasRect({\n        width: canvasWidth,\n        height: canvasHeight\n      });\n    } else {\n      setCanvasRect({\n        width: 570,\n        height: 360\n      });\n    }\n  }, [isFullScreen]);\n\n  // 全屏\n  var handleFullScreenButClick = function handleFullScreenButClick() {\n    // 保存canvas内容\n    canvasDataRef.current = canvasCtxRef.current.getImageData(0, 0, canvasRect.width, canvasRect.height);\n    setFullScreen(!isFullScreen);\n    setTimeout(function () {\n      canvasCtxRef.current.putImageData(canvasDataRef.current, 0, 0);\n    }, 0);\n    // 解决全屏缩小后，超出内容被截断问题\n    var _document$body2 = document.body,\n      clientWidth = _document$body2.clientWidth,\n      clientHeight = _document$body2.clientHeight;\n    var canvasWidth = clientWidth - 40;\n    var canvasHeight = clientHeight - 140;\n    // 创建临时canvas\n    var tempCanvas = document.createElement('canvas');\n    tempCanvas.width = isFullScreen ? 570 : canvasWidth;\n    tempCanvas.height = isFullScreen ? 360 : canvasHeight;\n    var tempCtx = tempCanvas.getContext('2d');\n    // 在临时canvas上绘制并缩放\n    tempCtx.drawImage(canvasRef.current, 0, 0, canvasRef.current.width, canvasRef.current.height, 0, 0, tempCanvas.width, tempCanvas.height);\n    // 从临时canvas中获取ImageData\n    canvasDataRef.current = tempCtx.getImageData(0, 0, tempCanvas.width, tempCanvas.height);\n    // 将缩放后的 ImageData 放入较小的 Canvas\n    setTimeout(function () {\n      canvasCtxRef.current.putImageData(canvasDataRef.current, 0, 0);\n    }, 0);\n    setFullScreen(!isFullScreen);\n  };\n  var handleCancelClick = function handleCancelClick() {\n    onClose();\n  };\n\n  // 保存签名\n  var handleConfirmClick = function handleConfirmClick() {\n    if (showDesc) return;\n    // 图片裁剪，只获取中间签名部分\n    var dataURL = getCroppedImageUrl();\n    var result = {\n      imgUrl: dataURL,\n      isAsDefaultSignature: isAsDefaultSignature\n    };\n    onConfirm(result);\n    reset();\n    onClose();\n  };\n\n  // 图片裁剪\n  var getCroppedImageUrl = function getCroppedImageUrl() {\n    // 获取所有点，找出边界点\n    var points = (0, _signatureUtil.getPoints)(dataRef.current);\n    var _getBoundary = (0, _signatureUtil.getBoundary)(points, 'portrait', isFullScreen),\n      left = _getBoundary.left,\n      top = _getBoundary.top,\n      right = _getBoundary.right,\n      bottom = _getBoundary.bottom;\n    var _left = left - 2;\n    var _top = top - 2;\n    var _right = right + 2;\n    var _bottom = bottom + 2;\n    var signatureWidth = _right - _left;\n    var signatureHeight = _bottom - _top;\n    // 创建临Canvas， 尺寸和截取区域一致\n    var tempCanvas = document.createElement('canvas');\n    tempCanvas.width = signatureWidth;\n    tempCanvas.height = signatureHeight;\n    var tempCtx = tempCanvas.getContext('2d');\n    var originalCanvas = document.getElementById($canvasId);\n    tempCtx.drawImage(originalCanvas, _left, _top,\n    // 裁剪区域左上角坐标\n    signatureWidth, signatureHeight,\n    // 裁剪区域的宽度和高度\n    0, 0,\n    // 目标Canvas绘制的起始点\n    signatureWidth, signatureHeight // 目标Canvas上绘制的宽高\n    );\n    var croppedImageUrl = tempCanvas.toDataURL();\n    return croppedImageUrl;\n  };\n  var handleCanvasMouseDown = function handleCanvasMouseDown(evt) {\n    evt.preventDefault();\n    isDrawing.current = true;\n    setShowDesc(false);\n    strokeBegin(evt);\n  };\n  var handleCanvasMouseMove = function handleCanvasMouseMove(evt) {\n    if (isDrawing.current) {\n      strokeUpdate(evt);\n    }\n  };\n  var handleCanvasMouseUp = function handleCanvasMouseUp(evt) {\n    var wasCanvasTouched = evt.target === canvasRef.current;\n    if (wasCanvasTouched) {\n      if (evt.cancelable) {\n        evt.preventDefault();\n      }\n    }\n    isDrawing.current = false;\n    // 重启起点\n    reset();\n  };\n  var handleClearClick = function handleClearClick() {\n    clear();\n  };\n  var handleDefaultChange = function handleDefaultChange(evt) {\n    setIsAsDefaultSignature(evt.target.checked);\n  };\n  var handleChangeDFValue = function handleChangeDFValue() {\n    setIsAsDefaultSignature(!isAsDefaultSignature);\n  };\n\n  // ------------------------- 绘制曲线 -------------------------\n  var strokeBegin = function strokeBegin(evt) {\n    if (!canvasCtxRef.current) {\n      canvasCtxRef.current = canvasRef.current.getContext('2d');\n    }\n    reset();\n    dataRef.current.push(_objectSpread(_objectSpread({}, pointsGroupOptionRef), {}, {\n      points: []\n    }));\n    strokeUpdate(evt);\n  };\n  var strokeUpdate = function strokeUpdate(evt) {\n    // 生成当前点\n    var x = evt.clientX;\n    var y = evt.clientY;\n    if (!x || !y) return;\n    var point = createPoint(x, y);\n    // 获取上次最后的点\n    var lastPointGroup = dataRef.current[dataRef.current.length - 1];\n    var lastPoints = lastPointGroup.points;\n    var lastPoint = lastPoints.length > 0 && lastPoints[lastPoints.length - 1];\n    // 两个点之间距离是否比较近\n    var isLastPointTooClose = lastPoint ? point.distanceTo(lastPoint) <= minDistance : false;\n    if (!lastPoint || !(lastPoint && isLastPointTooClose)) {\n      // 没有上一个点，或两个点相隔较远，添加点\n      var curve = addPoint(point, pointsGroupOptionRef.current);\n      if (!lastPoint) {\n        // 画点\n        drawDot(point, pointsGroupOptionRef.current);\n      } else if (curve) {\n        // 画弧线\n        drawCurve(curve, pointsGroupOptionRef.current);\n      }\n      lastPoints.push(point);\n    }\n  };\n  var createPoint = function createPoint(x, y) {\n    var rect = canvasRef.current.getBoundingClientRect();\n    var _document$body3 = document.body,\n      clientWidth = _document$body3.clientWidth,\n      clientHeight = _document$body3.clientHeight;\n    var canvasWidth = clientWidth - 40;\n    var canvasHeight = clientHeight - 140;\n    var widthRatio = isFullScreen ? 570 / canvasWidth : canvasWidth / 570;\n    var heightRatio = isFullScreen ? 360 / canvasHeight : canvasHeight / 360;\n    return new _point[\"default\"](x - rect.left, y - rect.top, 0, +new Date(), 'portrait', {\n      isFullScreen: isFullScreen,\n      widthRatio: widthRatio,\n      heightRatio: heightRatio\n    });\n  };\n  var addPoint = function addPoint(point, options) {\n    lastPointsRef.current.push(point); // 添加到最近4个点\n    if (lastPointsRef.current.length > 2) {\n      if (lastPointsRef.current.length === 3) {\n        // 如果有3个点，将第一个重复添加进来\n        lastPointsRef.current.unshift(lastPointsRef.current[0]);\n      }\n      // 有4个点，计算弧线的宽度\n      var widths = calculateCurveWidths(lastPointsRef.current[1], lastPointsRef.current[2], options);\n      var curve = _bezier[\"default\"].fromPoints(lastPointsRef.current, widths);\n      lastPointsRef.current.shift();\n      return curve;\n    }\n  };\n\n  // 计算弧线起始点和终点的宽度\n  var calculateCurveWidths = function calculateCurveWidths(startPoint, endPoint, options) {\n    // 计算绘画速度\n    var velocity = options.velocityFilterWeight * endPoint.velocityFrom(startPoint) + (1 - options.velocityFilterWeight) * lastVelocityRef.current;\n    // 计算的线宽\n    var newWidth = strokeWidth(velocity, options);\n    var widths = {\n      end: newWidth,\n      start: lastWidthRef.current\n    };\n    lastVelocityRef.current = velocity;\n    lastWidthRef.current = newWidth;\n    return widths;\n  };\n\n  // 计算线宽\n  var strokeWidth = function strokeWidth(velocity, options) {\n    return Math.max(options.maxWidth / (velocity + 1), options.minWidth);\n  };\n\n  // 绘制\n  var drawCurveSegment = function drawCurveSegment(x, y, width) {\n    canvasCtxRef.current.moveTo(x, y);\n    canvasCtxRef.current.arc(x, y, width, 0, 2 * Math.PI, false);\n  };\n\n  // 画点\n  var drawDot = function drawDot(point, options) {\n    var width = options.dotSize > 0 ? options.dotSize : (options.minWidth + options.maxWidth) / 2;\n    canvasCtxRef.current.beginPath();\n    drawCurveSegment(point.x, point.y, width);\n    canvasCtxRef.current.closePath();\n    canvasCtxRef.current.fillStyle = options.penColor;\n    canvasCtxRef.current.fill();\n  };\n\n  // 画弧线\n  var drawCurve = function drawCurve(curve, options) {\n    var widthDelta = curve.endWidth - curve.startWidth;\n    var drawSteps = Math.ceil(curve.length()) * 2;\n    canvasCtxRef.current.beginPath();\n    canvasCtxRef.current.fillStyle = options.penColor;\n    for (var i = 0; i < drawSteps; i++) {\n      var t = i / drawSteps;\n      var tt = t * t;\n      var ttt = tt * t;\n      var u = 1 - t;\n      var uu = u * u;\n      var uuu = uu * u;\n      var x = uuu * curve.startPoint.x;\n      x += 3 * uu * t * curve.control1.x;\n      x += 3 * u * tt * curve.control2.x;\n      x += ttt * curve.endPoint.x;\n      var y = uuu * curve.startPoint.y;\n      y += 3 * uu * t * curve.control1.y;\n      y += 3 * u * tt * curve.control2.y;\n      y += ttt * curve.endPoint.y;\n      var width = Math.min(curve.startWidth + ttt * widthDelta, options.maxWidth);\n      drawCurveSegment(x, y, width);\n    }\n    canvasCtxRef.current.closePath();\n    canvasCtxRef.current.fill();\n  };\n  var reset = function reset() {\n    // 将最后4点集合、上次的绘制速度、上次计算的宽度、canvas的填充色reset\n    lastPointsRef.current = [];\n    lastVelocityRef.current = 0;\n    lastWidthRef.current = (pointsGroupOptionRef.current.minWidth + pointsGroupOptionRef.current.maxWidth) / 2;\n    canvasCtxRef.current.fillStyle = pointsGroupOptionRef.current.penColor;\n  };\n  var descClz = (0, _classnames4[\"default\"])(_SignatureBoard[\"default\"].desc, 'kd-cq-empty-description', _defineProperty({}, _SignatureBoard[\"default\"].hide, !showDesc));\n  var clearBtnClz = (0, _classnames4[\"default\"])(_SignatureBoard[\"default\"]['clear-btn'], 'kdfont kdfont-shanchu', _defineProperty({\n    'hover-theme-fc1': !showDesc,\n    'active-theme-active-fc1': !showDesc\n  }, _SignatureBoard[\"default\"].disabled, showDesc));\n  var cancelClz = (0, _classnames4[\"default\"])(_SignatureBoard[\"default\"]['cancel-btn'], 'kd-cq-control kd-cq-btn', 'secondary-text-in-light', 'hover-theme-fc1', 'hover-theme-border-color1', 'active-theme-active-fc1', 'active-theme-active-bdcolor1');\n  var okClz = (0, _classnames4[\"default\"])(_SignatureBoard[\"default\"]['ok-btn'], 'kd-cq-control kd-cq-btn', 'secondary-text-in-light', 'follow-theme-bg-fc1', _defineProperty({\n    'hover-theme-bg1': !showDesc,\n    'active-theme-bg1': !showDesc\n  }, _SignatureBoard[\"default\"].disabled, showDesc));\n  return /*#__PURE__*/_react[\"default\"].createElement(_Dialog[\"default\"], {\n    width: isFullScreen ? '100%' : '610px',\n    height: isFullScreen ? '100%' : '500px',\n    isShowTitle: true,\n    title: (0, _intlApi.getLangMsg)('Signature.signatureTitle'),\n    onClose: onClose,\n    isShowClose: true,\n    isFS: isFullScreen,\n    isFullScreenOpened: true,\n    handleFullScreenButClick: handleFullScreenButClick\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _SignatureBoard[\"default\"].content\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"canvas\", {\n    id: $canvasId,\n    className: _SignatureBoard[\"default\"]['signature-area'],\n    ref: canvasRef,\n    width: canvasRect.width,\n    height: canvasRect.height,\n    style: {\n      width: canvasRect.width,\n      height: canvasRect.height\n    },\n    onMouseDown: handleCanvasMouseDown,\n    onMouseMove: handleCanvasMouseMove,\n    onMouseUp: handleCanvasMouseUp\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: clearBtnClz,\n    onClick: handleClearClick\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"p\", {\n    className: descClz\n  }, (0, _intlApi.getLangMsg)('Signature.signHerePC'))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _SignatureBoard[\"default\"].footer\n  }, mandatoryHandSigning ? null : /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _SignatureBoard[\"default\"]['footer-left']\n  }, /*#__PURE__*/_react[\"default\"].createElement(_BaseComponents.CheckBox, {\n    styleType: 2,\n    text: (0, _intlApi.getLangMsg)('Signature.saveAsDefault'),\n    value: isAsDefaultSignature,\n    onChange: handleDefaultChange,\n    onClick: handleChangeDFValue\n  })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: cancelClz,\n    onClick: handleCancelClick\n  }, (0, _intlApi.getLangMsg)('Signature.cancel')), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: okClz,\n    onClick: handleConfirmClick\n  }, (0, _intlApi.getLangMsg)('Signature.ok'))));\n}\nvar _default = exports[\"default\"] = SignatureBoard;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Signature/SignatureBoard.jsx?");

/***/ }),

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

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[\"default\"] = void 0;\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 _point = _interopRequireDefault(__webpack_require__(/*! ./point */ \"./src/component/web/base/Signature/point.js\"));\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 _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); } /**\n * 计算贝塞尔曲线\n * 参考链接: https://developer.squareup.com/blog/smoother-signatures/\n */\nvar Bezier = /*#__PURE__*/function () {\n  function Bezier(startPoint, control2, control1, endPoint, startWidth, endWidth) {\n    _classCallCheck(this, Bezier);\n    this.startPoint = startPoint;\n    this.control2 = control2;\n    this.control1 = control1;\n    this.endPoint = endPoint;\n    this.startWidth = startWidth;\n    this.endWidth = endWidth;\n  }\n  _createClass(Bezier, [{\n    key: \"length\",\n    value: function length() {\n      var steps = 10;\n      var length = 0;\n      var px;\n      var py;\n      for (var i = 0; i <= steps; i += 1) {\n        var t = i / steps;\n        var cx = this.point(t, this.startPoint.x, this.control1.x, this.control2.x, this.endPoint.x);\n        var cy = this.point(t, this.startPoint.y, this.control1.y, this.control2.y, this.endPoint.y);\n        if (i > 0) {\n          var xdiff = cx - px;\n          var ydiff = cy - py;\n          length += Math.sqrt(xdiff * xdiff + ydiff * ydiff);\n        }\n        px = cx;\n        py = cy;\n      }\n      return length;\n    }\n  }, {\n    key: \"point\",\n    value: function point(t, start, c1, c2, end) {\n      return start * (1.0 - t) * (1.0 - t) * (1.0 - t) + 3.0 * c1 * (1.0 - t) * (1.0 - t) * t + 3.0 * c2 * (1.0 - t) * t * t + end * t * t * t;\n    }\n  }], [{\n    key: \"fromPoints\",\n    value: function fromPoints(points, widths) {\n      var c2 = this.calculateControlPoints(points[0], points[1], points[2]).c2;\n      var c3 = this.calculateControlPoints(points[1], points[2], points[3]).c1;\n      return new Bezier(points[1], c2, c3, points[2], widths.start, widths.end);\n    }\n  }, {\n    key: \"calculateControlPoints\",\n    value: function calculateControlPoints(s1, s2, s3) {\n      var dx1 = s1.x - s2.x;\n      var dy1 = s1.y - s2.y;\n      var dx2 = s2.x - s3.x;\n      var dy2 = s2.y - s3.y;\n      var m1 = {\n        x: (s1.x + s2.x) / 2.0,\n        y: (s1.y + s2.y) / 2.0\n      };\n      var m2 = {\n        x: (s2.x + s3.x) / 2.0,\n        y: (s2.y + s3.y) / 2.0\n      };\n      var l1 = Math.sqrt(dx1 * dx1 + dy1 * dy1);\n      var l2 = Math.sqrt(dx2 * dx2 + dy2 * dy2);\n      var dxm = m1.x - m2.x;\n      var dym = m1.y - m2.y;\n      var k = l2 / (l1 + l2);\n      var cm = {\n        x: m2.x + dxm * k,\n        y: m2.y + dym * k\n      };\n      var tx = s2.x - cm.x;\n      var ty = s2.y - cm.y;\n      return {\n        c1: new _point[\"default\"](m1.x + tx, m1.y + ty),\n        c2: new _point[\"default\"](m2.x + tx, m2.y + ty)\n      };\n    }\n  }]);\n  return Bezier;\n}();\nvar _default = exports[\"default\"] = Bezier;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Signature/bezier.js?");

/***/ }),

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

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[\"default\"] = void 0;\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.now.js */ \"../../node_modules/core-js/modules/es.date.now.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.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\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); }\n/**\n * 绘制点\n * 参考链接: https://developer.squareup.com/blog/smoother-signatures/\n */\nvar Point = /*#__PURE__*/function () {\n  function Point(x, y, pressure, time) {\n    var orientation = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 'portrait';\n    var boardRatio = arguments.length > 5 ? arguments[5] : undefined;\n    _classCallCheck(this, Point);\n    this.x = +x;\n    this.y = +y;\n    this.pressure = pressure || 0;\n    this.time = time || Date.now(); // 时间用于计算从点A到点B的绘制速度，可在绘制过程中计算笔画的大小\n    this.orientation = orientation;\n    this.boardRatio = boardRatio;\n  }\n\n  /**\n   * 计算两个点之间的距离\n   * @param {Point} point 点\n   * @returns 两个点的距离\n   */\n  _createClass(Point, [{\n    key: \"distanceTo\",\n    value: function distanceTo(point) {\n      return Math.sqrt(Math.pow(this.x - point.x, 2) + Math.pow(this.y - point.y, 2));\n    }\n\n    /**\n     * 判断两个点是否相等\n     * @param {Point} point 点\n     * @returns 相等返回 true\n     */\n  }, {\n    key: \"isEqual\",\n    value: function isEqual(point) {\n      return this.x === point.x && this.y === point.y && this.pressure === point.pressure && this.time === point.time;\n    }\n\n    /**\n     * 计算两点之间的绘制速度\n     * @param {Point} point 点\n     * @returns 两点间的绘制速度\n     */\n  }, {\n    key: \"velocityFrom\",\n    value: function velocityFrom(point) {\n      return this.time !== point.time ? this.distanceTo(point) / (this.time - point.time) : 0;\n    }\n  }]);\n  return Point;\n}();\nvar _default = exports[\"default\"] = Point;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Signature/point.js?");

/***/ }),

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

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.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.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.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.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.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.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.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 _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _classnames4 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _big = _interopRequireDefault(__webpack_require__(/*! big.js */ \"../../node_modules/big.js/big.js\"));\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _Slider = _interopRequireDefault(__webpack_require__(/*! ./Slider.less */ \"./src/component/web/base/Slider.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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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 _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); }\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; }\nvar initMarks = (0, _immutable.Map)({});\nvar initDefaultValue = (0, _immutable.List)([0, 0]); // 如果直接给defaultValue赋默认值[0, 0],那么当外面没传defaultValue时每次重渲都会重新赋值一个[0, 0]，在effect中作为依赖项会导致一直重渲\nvar Slider = function Slider(props) {\n  var onClick = props.onClick,\n    value = props.value,\n    onChange = props.onChange,\n    onAfterChange = props.onAfterChange,\n    _props$range = props.range,\n    range = _props$range === void 0 ? false : _props$range,\n    _props$disabled = props.disabled,\n    disabled = _props$disabled === void 0 ? false : _props$disabled,\n    _props$showValue = props.showValue,\n    showValue = _props$showValue === void 0 ? false : _props$showValue,\n    _props$isDesigner = props.isDesigner,\n    isDesigner = _props$isDesigner === void 0 ? false : _props$isDesigner,\n    _props$sliderClassNam = props.sliderClassName,\n    sliderClassName = _props$sliderClassNam === void 0 ? '' : _props$sliderClassNam,\n    _props$sliderMainBgCo = props.sliderMainBgColor,\n    sliderMainBgColor = _props$sliderMainBgCo === void 0 ? '#3279FC' : _props$sliderMainBgCo,\n    _props$step = props.step,\n    step = _props$step === void 0 ? 1 : _props$step,\n    _props$min = props.min,\n    min = _props$min === void 0 ? 0 : _props$min,\n    _props$max = props.max,\n    max = _props$max === void 0 ? 100 : _props$max,\n    _props$defaultValue = props.defaultValue,\n    defaultValue = _props$defaultValue === void 0 ? initDefaultValue : _props$defaultValue,\n    _props$style = props.style,\n    style = _props$style === void 0 ? {} : _props$style,\n    _props$marks = props.marks,\n    marks = _props$marks === void 0 ? initMarks : _props$marks,\n    _props$attachData = props.attachData,\n    attachData = _props$attachData === void 0 ? {} : _props$attachData;\n  var _useState = (0, _react.useState)(\n    // 滑块值，设置滑块值\n    getSliderValue(value || defaultValue, range, max, min) // 初始通过props传入的值进行计算\n    ),\n    _useState2 = _slicedToArray(_useState, 2),\n    sliderValue = _useState2[0],\n    setSliderValue = _useState2[1];\n  var _useState3 = (0, _react.useState)(''),\n    _useState4 = _slicedToArray(_useState3, 2),\n    movingHandleKey = _useState4[0],\n    setMovingHandleKey = _useState4[1]; // 当前正在滑动的滑块key（handleOne 第一滑块  handleTwo 第二滑块）\n  var sliderRef = (0, _react.useRef)(null);\n  var sliderAreaRef = (0, _react.useRef)(null);\n  var handleOneRef = (0, _react.useRef)(null);\n  var handleTwoRef = (0, _react.useRef)(null);\n  var handleOneTitleRef = (0, _react.useRef)(null);\n  var handleTwoTitleRef = (0, _react.useRef)(null);\n  var sliderTrackRef = (0, _react.useRef)(null);\n  var startMoveStatus = (0, _react.useRef)(false);\n  // 滑动时计算用属性，在touchstart时会先计算需要的参数供touchmove使用，提升性能\n  var sliderComputePropsRef = (0, _react.useRef)(getSliderComputeProps({}, sliderAreaRef.current, {\n    min: min,\n    max: max,\n    step: step\n  }));\n\n  // 手指按下时先计算滑动时需要的相关参数\n  var handleTouchStart = (0, _react.useCallback)(function (event) {\n    if (disabled || isDesigner) {\n      return;\n    }\n    startMoveStatus.current = true;\n    document.addEventListener('mousemove', handleTouchMove, false);\n    document.addEventListener('mouseup', handleTouchEnd, false);\n    var targetHandleKey = event.target.getAttribute('data-handle-key');\n    !showValue && setMovingHandleKey(targetHandleKey);\n    var sliderDom = sliderRef.current;\n    sliderComputePropsRef.current = getSliderComputeProps(sliderComputePropsRef.current, sliderAreaRef.current, {\n      max: max,\n      min: min,\n      step: step\n    });\n    sliderComputePropsRef.current.bigStartX = (0, _big[\"default\"])(event.pageX); // 开始值，用于后续判断滑动方向\n    sliderComputePropsRef.current.bigHandleValue = (0, _big[\"default\"])(targetHandleKey === 'handleOne' ? sliderValue.get(0) : sliderValue.get(1)); // 开始值，用于后续判断滑动方向\n    sliderComputePropsRef.current.isHandleOne = targetHandleKey === 'handleOne'; // 按住的是不是第一滑块\n    sliderDom.addEventListener('mousemove', preventDefault); // 在sliderDom上禁止浏览器默认事件，避免浏览器默认的左滑右滑触发前进后退事件\n  }, [showValue, disabled, isDesigner, sliderValue, max, min, step]);\n  // 手指按下时先计算滑动时需要的相关参数\n  // const handleTouchStart = event => {\n  //   if (disabled || isDesigner) {\n  //     return\n  //   }\n  //   const targetHandleKey = event.target.getAttribute('data-handle-key')\n  //   !showValue && setMovingHandleKey(targetHandleKey)\n  //   const sliderDom = sliderRef.current\n  //   sliderComputePropsRef.current = getSliderComputeProps(sliderComputePropsRef.current, sliderAreaRef.current, { max, min, step })\n  //   sliderComputePropsRef.current.bigStartX = Big(event.pageX) // 开始值，用于后续判断滑动方向\n  //   sliderComputePropsRef.current.bigHandleValue = Big(targetHandleKey === 'handleOne' ? sliderValue.get(0) : sliderValue.get(1)) // 开始值，用于后续判断滑动方向\n  //   sliderComputePropsRef.current.isHandleOne = targetHandleKey === 'handleOne' // 按住的是不是第一滑块\n  //   sliderDom.addEventListener('mousemove', preventDefault) // 在sliderDom上禁止浏览器默认事件，避免浏览器默认的左滑右滑触发前进后退事件\n  // }\n\n  // 滑动事件 (big开头的属性名均为Big对象，用于处理计算精度问题)\n  var handleTouchMove = (0, _react.useCallback)(function (event) {\n    if (disabled || isDesigner || !startMoveStatus.current) {\n      return;\n    }\n    var _sliderComputePropsRe = sliderComputePropsRef.current,\n      bigMinPoint = _sliderComputePropsRe.bigMinPoint,\n      bigHalfStepValue = _sliderComputePropsRe.bigHalfStepValue,\n      eachValueWidth = _sliderComputePropsRe.eachValueWidth,\n      bigStartX = _sliderComputePropsRe.bigStartX,\n      bigStep = _sliderComputePropsRe.bigStep,\n      isHandleOne = _sliderComputePropsRe.isHandleOne,\n      bigMin = _sliderComputePropsRe.bigMin,\n      bigMax = _sliderComputePropsRe.bigMax,\n      bigHandleValue = _sliderComputePropsRe.bigHandleValue;\n    var bigXPoint = (0, _big[\"default\"])('pageX' in event ? event.pageX : event.clientX); // 当前x坐标\n    var isMoveRight = bigXPoint.gt(bigStartX); // 是否向右滑 xPoint > startX\n    sliderComputePropsRef.current.bigStartX = bigXPoint;\n    if (bigHandleValue.eq(bigMin) && !isMoveRight || bigHandleValue.eq(bigMax) && isMoveRight) {\n      return;\n    }\n    var bigNewHandleValue = bigHandleValue;\n    // 当前值对应的x坐标 handleValue * stepLength + minPoint\n    var bigHandlePoint = bigHandleValue.minus(bigMin).times(eachValueWidth).plus(bigMinPoint);\n    var moveRightToChangeValue = isMoveRight && bigXPoint.minus(bigHandlePoint).gt(bigHalfStepValue);\n    var moveLeftToChangeValue = !isMoveRight && bigHandlePoint.minus(bigXPoint).gt(bigHalfStepValue);\n    if (!moveRightToChangeValue && !moveLeftToChangeValue) {\n      return;\n    }\n    // 向右滑动距离超过一个步长对应的宽度的一半时，新值 = 当前值 + 步长 xPoint - handlePoint > halfStepValue\n    if (moveRightToChangeValue) {\n      bigNewHandleValue = bigHandleValue.plus(bigStep); // handleValue + step\n      if (bigNewHandleValue.gt(bigMax)) {\n        // newHandleValue > max\n        bigNewHandleValue = bigMax; // newHandleValue = max\n      }\n    } else if (moveLeftToChangeValue) {\n      // 向左滑动距离超过一个步长对应的宽度的一半时，新值 = 当前值 - 步长  handlePoint - xPoint > halfStepValue\n      bigNewHandleValue = bigHandleValue.minus(bigStep); // handleValue - step\n      if (bigNewHandleValue.lt(bigMin)) {\n        // newHandleValue < min\n        bigNewHandleValue = bigMin; // newHandleValue = min\n      }\n    }\n    sliderComputePropsRef.current.bigHandleValue = bigNewHandleValue;\n    var otherValue = sliderValue.get(isHandleOne ? 1 : 0);\n    var newHandleValue = Number(bigNewHandleValue.valueOf());\n    var targetHandle = (isHandleOne ? handleOneRef : handleTwoRef).current;\n    var sliderTrack = sliderTrackRef.current;\n    var newTrackProgress = getTrackProgress(newHandleValue, max, min);\n    var valueTitleDom = (isHandleOne ? handleOneTitleRef : handleTwoTitleRef).current;\n    targetHandle.style.left = \"\".concat(newTrackProgress, \"%\");\n    valueTitleDom.innerText = newHandleValue;\n    if (range) {\n      sliderTrack.style.cssText += \";left: \".concat(getTrackProgress(Math.min(newHandleValue, otherValue), max, min), \"%;width: \").concat(getTrackProgress(Math.abs(newHandleValue - otherValue) + min, max, min), \"%;\");\n    } else {\n      sliderTrack.style.width = \"\".concat(newTrackProgress, \"%\");\n    }\n    onChange && onChange(handleSliderValue(newHandleValue, otherValue));\n  }, [sliderValue, value, onChange, disabled, isDesigner, range]);\n\n  // 滑动结束事件\n  var handleTouchEnd = (0, _react.useCallback)(function (event) {\n    if (disabled || isDesigner) {\n      return;\n    }\n    startMoveStatus.current = false;\n    document.removeEventListener('mousemove', handleTouchMove, false);\n    document.removeEventListener('mouseup', handleTouchEnd, false);\n    var _sliderComputePropsRe2 = sliderComputePropsRef.current,\n      isHandleOne = _sliderComputePropsRe2.isHandleOne,\n      bigHandleValue = _sliderComputePropsRe2.bigHandleValue;\n    sliderRef.current.removeEventListener('mousemove', preventDefault, false);\n    !showValue && setMovingHandleKey('');\n    var newSliderValue = handleSliderValue(Number(bigHandleValue.valueOf()), isHandleOne ? sliderValue.get(1) : sliderValue.get(0));\n    !value && setSliderValue(newSliderValue);\n    onAfterChange && onAfterChange(newSliderValue);\n  }, [sliderValue, showValue, onAfterChange]);\n\n  // 点击滑动条改变值事件\n  var handleClickRail = function handleClickRail(event) {\n    if (disabled || isDesigner) {\n      return;\n    }\n    var handleOneValue = sliderValue.get(0);\n    var handleTwoValue = sliderValue.get(1);\n    var clickPoint = event.pageX; // 当前点击的x坐标\n    var sliderAreaDom = sliderAreaRef.current;\n    var sliderAreaWidth = sliderAreaDom.offsetWidth;\n    var minPoint = sliderAreaDom.getBoundingClientRect().x; // 最小坐标\n    // 通过点击位置计算出该位置对应的值  (clickPoint - minPoint) / sliderAreaWidth * (max - min + 1)\n    var bigClickValue = (0, _big[\"default\"])(clickPoint).minus(minPoint).div(sliderAreaWidth).times((0, _big[\"default\"])(max).minus(min));\n    var bigMultiple = bigClickValue.div(step).round(0, 0); // Math.floor(clickValue / step)\n    var bigRemainder = bigClickValue.mod(step); // clickValue % step\n    // 余数大于步长的一半时向右取值，否则向左取值 remainder > step / 2 ? (multiple * step + step) : multiple * step\n    var bigNewHandleValue = (bigRemainder.gt((0, _big[\"default\"])(step).div(2)) ? bigMultiple.times(step).plus(step) : bigMultiple.times(step)).plus(min);\n    // 第一滑块值跟点击后计算出的新值得差值 Math.abs(newHandleValue - handleOneValue)\n    var bigOntHandleToNewHandleDistance = bigNewHandleValue.minus(handleOneValue).abs();\n    // 第二滑块值跟点击后计算出的新值得差值\n    var bigTwoHandleToNewHandleDistance = bigNewHandleValue.minus(handleTwoValue).abs();\n    var newSliderValue;\n    var newHandleValue = Number(bigNewHandleValue.valueOf());\n    // 单数值模式或新值离第二滑块较近时直接赋值给第二滑块 !range || ontHandleToNewHandleDistance > twoHandleToNewHandleDistance\n    if (!range || bigOntHandleToNewHandleDistance.gt(bigTwoHandleToNewHandleDistance)) {\n      newSliderValue = handleSliderValue(newHandleValue, handleOneValue);\n    } else {\n      // 离第一滑块较近时直接赋值给第一滑块\n      newSliderValue = handleSliderValue(newHandleValue, handleTwoValue);\n    }\n    onChange && onChange(newSliderValue);\n    onAfterChange && onAfterChange(newSliderValue);\n    !value && setSliderValue(newSliderValue);\n  };\n  (0, _react.useEffect)(function () {\n    // 当涉及到计算属性的属性改变时重新计算计算属性，保证下次滑动准确\n    sliderComputePropsRef.current = getSliderComputeProps(sliderComputePropsRef.current, sliderAreaRef.current, {\n      max: max,\n      min: min,\n      step: step\n    });\n  }, [max, min, step, sliderAreaRef.current]);\n  (0, _react.useEffect)(function () {\n    // 当控件值被约束（由外部value决定）时根据外部传进来的value值对控件内部值进行改变\n    if (!value) {\n      return;\n    }\n    var newSliderValue = getSliderValue(value, range, max, min);\n    setSliderValue(newSliderValue);\n  }, [value, range, max, min]);\n  (0, _react.useEffect)(function () {\n    if (value) {\n      return;\n    }\n    var newSliderValue = getSliderValue(defaultValue, range, max, min);\n    setSliderValue(newSliderValue);\n  }, [defaultValue, value, range, max, min]);\n  (0, _react.useEffect)(function () {\n    return function () {\n      sliderRef.current.removeEventListener('mousemove', preventDefault, false);\n      document.removeEventListener('mousemove', handleTouchMove, false);\n      document.removeEventListener('mouseup', handleTouchEnd, false);\n    };\n  }, []);\n  var handleOneProgress = getTrackProgress(sliderValue.get(0), max, min);\n  var handleTwoProgress = getTrackProgress(sliderValue.get(1), max, min);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n    className: (0, _classnames4[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, _Slider[\"default\"].slider, true), _Slider[\"default\"].disabled, disabled), sliderClassName, true)),\n    style: style,\n    ref: sliderRef,\n    onClick: onClick\n  }, attachData), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _Slider[\"default\"].slideContainer\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _Slider[\"default\"]['slider-rail']\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _Slider[\"default\"]['slider-track'],\n    ref: sliderTrackRef,\n    style: {\n      width: \"\".concat(range ? Math.abs(handleTwoProgress - handleOneProgress) : handleTwoProgress, \"%\"),\n      left: \"\".concat(range ? Math.min(handleOneProgress, handleTwoProgress) : 0, \"%\"),\n      backgroundColor: sliderMainBgColor\n    },\n    onClick: handleClickRail\n  }), range && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    \"data-handle-key\": \"handleOne\",\n    className: (0, _classnames4[\"default\"])(_defineProperty(_defineProperty({}, _Slider[\"default\"]['slider-handle'], true), _Slider[\"default\"]['moving-handle'], movingHandleKey === 'handleOne')),\n    ref: handleOneRef,\n    style: {\n      left: \"\".concat(handleOneProgress, \"%\")\n    },\n    onMouseDown: handleTouchStart\n    // onMouseMove={handleTouchMove}\n    // onMouseUp={handleTouchEnd}\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _Slider[\"default\"]['slider-handle-circle'],\n    \"data-handle-key\": \"handleOne\",\n    style: {\n      backgroundColor: sliderMainBgColor\n    }\n  }), (showValue || movingHandleKey === 'handleOne') && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    ref: handleOneTitleRef,\n    className: _Slider[\"default\"]['value-title']\n  }, sliderValue.get(0))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    \"data-handle-key\": \"handleTwo\",\n    className: (0, _classnames4[\"default\"])(_defineProperty(_defineProperty({}, _Slider[\"default\"]['slider-handle'], true), _Slider[\"default\"]['moving-handle'], movingHandleKey === 'handleTwo')),\n    ref: handleTwoRef,\n    style: {\n      left: \"\".concat(handleTwoProgress, \"%\")\n    },\n    onMouseDown: handleTouchStart\n    // onMouseMove={handleTouchMove}\n    // onMouseUp={handleTouchEnd}\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: [_Slider[\"default\"]['slider-handle-circle']],\n    \"data-handle-key\": \"handleTwo\",\n    style: {\n      backgroundColor: sliderMainBgColor\n    }\n  }), (showValue || movingHandleKey === 'handleTwo') && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    ref: handleTwoTitleRef,\n    \"data-handle-key\": \"handleTwo\",\n    className: _Slider[\"default\"]['value-title']\n  }, sliderValue.get(1))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _Slider[\"default\"]['slider-marks']\n  }, getMarksItem(marks, max, min)), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    ref: sliderAreaRef,\n    className: _Slider[\"default\"]['slider-click-area'],\n    onClick: handleClickRail\n  })));\n};\nvar preventDefault = function preventDefault(event) {\n  event.preventDefault();\n};\n\n/**\n * 根据滑块上某一点的值在整个滑条上的百分比位置\n * @param {number} value 滑块的值\n * @param {number} max 最大值\n */\nvar getTrackProgress = function getTrackProgress(value, max, min) {\n  var intervalLength = (0, _big[\"default\"])(max).minus(min);\n  return Number((0, _big[\"default\"])(value).minus(min).div(intervalLength).times(100).valueOf()); // (value / (max - intervalLength)) * 100\n};\n\n/**\n * 根据两个滑块对应的值获取sliderValue （小值在左，大值在右）\n * @param {number} handleOneValue 滑块1的值\n * @param {number} handleTwoValue 滑块2的值\n */\nvar handleSliderValue = function handleSliderValue(handleOneValue, handleTwoValue) {\n  return (0, _immutable.List)([Math.min(handleOneValue, handleTwoValue), Math.max(handleOneValue, handleTwoValue)]);\n};\n\n/**\n * 获取sliderValue\n * @param {Array} value 标注对象\n * @param {boolean} range 是否双数值\n * @param {number} max 最大值\n * @param {number} min 最小值\n */\nvar getSliderValue = function getSliderValue(value, range, max, min) {\n  var sliderValue = range ? value : (0, _immutable.List)([min, value.get(1)]);\n  if (sliderValue.get(0) < min) {\n    sliderValue = sliderValue.set(0, min);\n  }\n  if (sliderValue.get(0) > max) {\n    sliderValue = sliderValue.set(0, max);\n  }\n  if (sliderValue.get(1) < min) {\n    sliderValue = sliderValue.set(1, min);\n  }\n  if (sliderValue.get(1) > max) {\n    sliderValue = sliderValue.set(1, max);\n  }\n  return sliderValue;\n};\n/**\n * 获取标注元素\n * @param {Immutable.Map} marks 标注对象\n * @param {number} max 最大值\n */\nvar getMarksItem = function getMarksItem(marks, max, min) {\n  var marksItem = [];\n  marks.forEach(function (markItem, markKey) {\n    var itemProgress = getTrackProgress(markKey, max, min);\n    var markItemStyle = markItem.get('style');\n    var itemCustomStyle = _immutable.Map.isMap(markItemStyle) ? markItemStyle.toJS() : markItem.style || {};\n    marksItem.push( /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      key: markKey,\n      className: _Slider[\"default\"]['mark-item'],\n      style: _objectSpread({\n        left: \"\".concat(itemProgress, \"%\")\n      }, itemCustomStyle)\n    }, markItem.get('label') || ''));\n  });\n  return marksItem;\n};\n\n/**\n * 获取相关计算属性\n * @param {object} sliderComputeProps 现有相关计算属性\n * @param {dom} sliderDom slider dom元素\n * @param {object} computeProps { min: 最小值, max: 最大值, step: 步长 } 可选\n */\nvar getSliderComputeProps = function getSliderComputeProps(sliderComputeProps, sliderAreaDom, computeProps) {\n  var _ref = computeProps || {},\n    max = _ref.max,\n    min = _ref.min,\n    step = _ref.step;\n  var bigMax = computeProps ? (0, _big[\"default\"])(max) : sliderComputeProps.bigMax;\n  var bigMin = computeProps ? (0, _big[\"default\"])(min) : sliderComputeProps.bigMin;\n  var bigStep = computeProps ? (0, _big[\"default\"])(step) : sliderComputeProps.bigStep;\n  var sliderDomComputeProps = {};\n  if (sliderAreaDom) {\n    var bigSliderWidth = (0, _big[\"default\"])(sliderAreaDom.offsetWidth); // 滑动组件宽度\n    var bigMinPoint = (0, _big[\"default\"])(sliderAreaDom.getBoundingClientRect().x); // 最小坐标\n    var eachValueWidth = bigSliderWidth.div(bigMax.minus(bigMin)); // 每一份值对应的宽度 sliderWidth / (max - min)\n    var bigHalfStepValue = eachValueWidth.div(2).times(bigStep); // 半步对应的宽度，滑动距离过半则切换值 (stepLength / 2) * step\n    sliderDomComputeProps = {\n      bigMinPoint: bigMinPoint,\n      bigHalfStepValue: bigHalfStepValue,\n      eachValueWidth: eachValueWidth,\n      bigMax: bigMax,\n      bigMin: bigMin,\n      bigStep: bigStep\n    };\n  }\n  return Object.assign({}, sliderComputeProps, sliderDomComputeProps);\n};\nSlider.propTypes = {\n  isDesigner: _propTypes[\"default\"].bool,\n  disabled: _propTypes[\"default\"].bool,\n  range: _propTypes[\"default\"].bool,\n  showValue: _propTypes[\"default\"].bool,\n  sliderClassName: _propTypes[\"default\"].string,\n  sliderMainBgColor: _propTypes[\"default\"].string,\n  step: _propTypes[\"default\"].number,\n  min: _propTypes[\"default\"].number,\n  max: _propTypes[\"default\"].number,\n  onChange: _propTypes[\"default\"].func,\n  onAfterChange: _propTypes[\"default\"].func,\n  onClick: _propTypes[\"default\"].func,\n  defaultValue: _propTypes[\"default\"].object,\n  value: _propTypes[\"default\"].object,\n  style: _propTypes[\"default\"].object,\n  marks: _propTypes[\"default\"].object,\n  attachData: _propTypes[\"default\"].object\n};\nvar _default = exports[\"default\"] = Slider;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Slider.js?");

/***/ }),

/***/ "./src/component/web/base/SplitContainer.jsx":
/*!***************************************************!*\
  !*** ./src/component/web/base/SplitContainer.jsx ***!
  \***************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n__webpack_require__(/*! core-js/modules/es.array.join.js */ \"../../node_modules/core-js/modules/es.array.join.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.is.js */ \"../../node_modules/core-js/modules/es.object.is.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.parse-float.js */ \"../../node_modules/core-js/modules/es.parse-float.js\");\n__webpack_require__(/*! core-js/modules/es.parse-int.js */ \"../../node_modules/core-js/modules/es.parse-int.js\");\n__webpack_require__(/*! core-js/modules/es.promise.js */ \"../../node_modules/core-js/modules/es.promise.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.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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 _lodash = _interopRequireDefault(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _SplitContainer2 = _interopRequireDefault(__webpack_require__(/*! ./SplitContainer.less */ \"./src/component/web/base/SplitContainer.less\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _resizeObserve = _interopRequireDefault(__webpack_require__(/*! ../../../util/resizeObserve */ \"./src/util/resizeObserve.js\"));\nvar _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\"));\nvar _excluded = [\"defaultCollapseDir\", \"updateSplitCollapseFlag\", \"children\", \"style\", \"hiddenDir\", \"hiddenState\", \"panelDefaultCollapse\", \"className\", \"isHorizon\", \"splitPercent\", \"isDesign\", \"minWidth\", \"minHeight\", \"Direction\", \"Wrap\", \"Overflow\", \"Grow\", \"Shrink\", \"AlignSelf\", \"AlignContent\", \"AlignItems\", \"JustifyContent\", \"auxiliaryLine\"];\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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 _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 BOUNDARY_BUFFER = 10; //  能拖动的与可视区域边界的距离\nvar SplitContainer = /*#__PURE__*/function (_React$Component) {\n  _inherits(SplitContainer, _React$Component);\n  function SplitContainer(props) {\n    var _this;\n    _classCallCheck(this, SplitContainer);\n    _this = _callSuper(this, SplitContainer, [props]);\n    // split container resize callback (用于监听分割容器元素大小变化)\n    _this.handleContainerResize = function (rect) {\n      _this.initEnableSize(rect);\n      // 窗口大小变化后重新计算子窗口宽度\n      _this.initStateData(_this.props);\n    };\n    _this.getContainerVerticalMargin = function (containerRef) {\n      var containerEle = containerRef.current && _reactDom[\"default\"].findDOMNode(containerRef.current);\n      var containerStyles = containerEle && window.getComputedStyle(containerEle);\n      return parseInt(containerStyles === null || containerStyles === void 0 ? void 0 : containerStyles.marginLeft) + parseInt(containerStyles === null || containerStyles === void 0 ? void 0 : containerStyles.marginRight);\n    };\n    _this.resizeListener = function () {\n      var _this$props = _this.props,\n        limitInVisibleArea = _this$props.limitInVisibleArea,\n        isHorizon = _this$props.isHorizon;\n      if (limitInVisibleArea) {\n        var _this$splitWrap$curre, _this$splitWrap$curre2;\n        !isHorizon && ((_this$splitWrap$curre = _this.splitWrap.current) === null || _this$splitWrap$curre === void 0 || (_this$splitWrap$curre = _this$splitWrap$curre.style) === null || _this$splitWrap$curre === void 0 ? void 0 : _this$splitWrap$curre.removeProperty('max-width'));\n        isHorizon && ((_this$splitWrap$curre2 = _this.splitWrap.current) === null || _this$splitWrap$curre2 === void 0 || (_this$splitWrap$curre2 = _this$splitWrap$curre2.style) === null || _this$splitWrap$curre2 === void 0 ? void 0 : _this$splitWrap$curre2.removeProperty('max-height'));\n      }\n    };\n    _this.getContainerStyles = function (isHorizon, forwardValue, totalSize, topLeftVisiable, bottomRightVisiable) {\n      var firstChildVerticalMargin = _this.getContainerVerticalMargin(_this.firstChild) || 0;\n      var secondChildVerticalMargin = _this.getContainerVerticalMargin(_this.secondChild) || 0;\n      var topLeftVisiableStyle = {};\n      var bottomRightVisiableStyle = {};\n      var moveValue;\n      if (topLeftVisiable && bottomRightVisiable) {\n        moveValue = isHorizon ? forwardValue : forwardValue - firstChildVerticalMargin - secondChildVerticalMargin;\n      } else if (topLeftVisiable && !bottomRightVisiable) {\n        moveValue = isHorizon ? totalSize + 1 : totalSize + 1 - firstChildVerticalMargin; // 加一个像素避免当分割线被隐藏时分割容器的总体宽度（分割容器未设置宽度，宽度由内容撑开的情况下）发生1px的变化而引起onWindowResize触发\n        topLeftVisiableStyle.display = 'none';\n      } else if (!topLeftVisiable && bottomRightVisiable) {\n        moveValue = 0;\n        bottomRightVisiableStyle.display = 'none';\n      }\n      return {\n        moveValue: moveValue,\n        topLeftVisiableStyle: topLeftVisiableStyle,\n        bottomRightVisiableStyle: bottomRightVisiableStyle\n      };\n    };\n    _this.state = {\n      preMoveValue: 0,\n      // 上一次移动距离\n      forwardValue: 0,\n      // 前进距离\n      topLeftVisiable: true,\n      // 左/上面板是否可见\n      bottomRightVisiable: true // 右/下面板是否可见\n    };\n    _this.defaultCollapse = 'left';\n    _this.dragBarSize = 1;\n    _this.onWindowResize = _this.onWindowResize.bind(_assertThisInitialized(_this));\n    _this.initEnableSize = _this.initEnableSize.bind(_assertThisInitialized(_this));\n    _this.onResize = _this.onResize.bind(_assertThisInitialized(_this));\n    _this.clearMoveValue = _this.clearMoveValue.bind(_assertThisInitialized(_this));\n    _this.setCollapse = _this.setCollapse.bind(_assertThisInitialized(_this));\n    _this.getSplitProps = _this.getSplitProps.bind(_assertThisInitialized(_this));\n    _this.getMinWidth = _this.getMinWidth.bind(_assertThisInitialized(_this));\n    _this.getMinHeight = _this.getMinHeight.bind(_assertThisInitialized(_this));\n    _this.getMinSize = _this.getMinSize.bind(_assertThisInitialized(_this));\n    _this.getHorizonMoveValue = _this.getHorizonMoveValue.bind(_assertThisInitialized(_this));\n    _this.getVerticalMoveValue = _this.getVerticalMoveValue.bind(_assertThisInitialized(_this));\n    _this.getCommonPara = _this.getCommonPara.bind(_assertThisInitialized(_this));\n    _this.getSplitValue = _this.getSplitValue.bind(_assertThisInitialized(_this));\n    _this.debounceContainerSizeChange = _lodash[\"default\"].debounce(_this.handleContainerResize, 100, {\n      leading: true,\n      trailing: true\n    }); // 添加防抖后的回调(添加在class中方便remove)\n    _this.splitWrap = /*#__PURE__*/(0, _react.createRef)();\n    _this.firstChild = /*#__PURE__*/(0, _react.createRef)();\n    _this.secondChild = /*#__PURE__*/(0, _react.createRef)();\n    return _this;\n  }\n  _createClass(SplitContainer, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      /**\n       * 组件挂载后初始化默认数据\n       */\n      // this.initEnableSize()\n      this.initStateData(this.props);\n      // 监听窗口尺寸变化\n      this.observerListener = (0, _resizeObserve[\"default\"])(this.splitWrap.current, this.onWindowResize);\n      window.addEventListener('resize', this.resizeListener);\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      /**\n       * 设计时重新设置分割方向和分割位置比例时，需要重置拖动的位置\n       * 达到所设即所得\n       */\n      if (this.props.splitPercent !== nextProps.splitPercent) {\n        this.initStateData(nextProps);\n      }\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      // 移除监听\n      this.observerListener && this.observerListener.removeResizeObserve();\n      window.removeEventListener('resize', this.resizeListener);\n      this.dispose = true;\n    }\n  }, {\n    key: \"getMinHeight\",\n    value: function getMinHeight(props) {\n      // 处理子面板最小高度边界问题\n      var _ref = props || this.props,\n        minHeight = _ref.minHeight;\n      return minHeight >= this.enableHeight || minHeight < 5 ? 65 : minHeight;\n    }\n  }, {\n    key: \"getMinWidth\",\n    value: function getMinWidth(props) {\n      // 处理子面板最小宽度边界问题\n      var _ref2 = props || this.props,\n        minWidth = _ref2.minWidth;\n      return minWidth >= this.enableWidth || minWidth < 5 ? 300 : minWidth;\n    }\n  }, {\n    key: \"getMinSize\",\n    value: function getMinSize(props) {\n      return {\n        minHeight: this.getMinHeight(props),\n        minWidth: this.getMinWidth(props)\n      };\n    }\n\n    /**\n     * 获取分割值，已处理过边界值\n     * 1. 如果是像素分割，返回具体像素值\n     * 2. 如果是百分比分割，返回分割比例\n     */\n  }, {\n    key: \"getSplitValue\",\n    value: function getSplitValue(props) {\n      var _ref3 = props || this.props,\n        splitPercent = _ref3.splitPercent,\n        isHorizon = _ref3.isHorizon;\n      var _this$getMinSize = this.getMinSize(props),\n        minHeight = _this$getMinSize.minHeight,\n        minWidth = _this$getMinSize.minWidth;\n      var _this$getSplitProps = this.getSplitProps(this.moveInPrecent || splitPercent),\n        splitValue = _this$getSplitProps.splitValue,\n        isPercent = _this$getSplitProps.isPercent;\n      var _splitValue = splitValue;\n      if (!isPercent && (isHorizon && splitValue >= this.enableHeight || !isHorizon && splitValue >= this.enableWidth)) {\n        // 具体像素分割，分割位置超过最大值，设置为300\n        _splitValue = isHorizon ? minHeight : minWidth;\n      }\n      return _splitValue;\n    }\n  }, {\n    key: \"getHorizonMoveValue\",\n    value: function getHorizonMoveValue(props) {\n      var _this$getCommonPara = this.getCommonPara(props),\n        isPercent = _this$getCommonPara.isPercent,\n        splitValue = _this$getCommonPara.splitValue,\n        minHeight = _this$getCommonPara.minHeight;\n      // 水平分隔\n      var _forwardValue = isPercent ? parseFloat(this.enableHeight * splitValue / 100) : splitValue;\n      // 水平，变动的是高度值\n      // 处理边界问题\n      if (_forwardValue < minHeight) {\n        _forwardValue = minHeight;\n      } else if (_forwardValue > this.enableHeight - minHeight) {\n        _forwardValue = this.enableHeight - minHeight;\n      }\n\n      // 处理边界问题，百分比分割也不能小于最小值\n      return _forwardValue;\n    }\n  }, {\n    key: \"getVerticalMoveValue\",\n    value: function getVerticalMoveValue(props) {\n      var _this$getCommonPara2 = this.getCommonPara(props),\n        isPercent = _this$getCommonPara2.isPercent,\n        splitValue = _this$getCommonPara2.splitValue,\n        minWidth = _this$getCommonPara2.minWidth;\n      // 垂直分割，默认\n      var _forwardValue = isPercent ? parseFloat(this.enableWidth * splitValue / 100) : splitValue;\n      // 垂直，变动的是宽度值\n      // 处理边界问题\n      if (_forwardValue < minWidth) {\n        _forwardValue = minWidth;\n      } else if (_forwardValue > this.enableWidth - minWidth) {\n        _forwardValue = this.enableWidth - minWidth;\n      }\n\n      // 处理边界问题，百分比分割也不能小于最小值\n      return _forwardValue;\n    }\n  }, {\n    key: \"getCommonPara\",\n    value: function getCommonPara(props) {\n      var _ref4 = props || this.props,\n        splitPercent = _ref4.splitPercent;\n      var _this$getSplitProps2 = this.getSplitProps(this.moveInPrecent || splitPercent),\n        isPercent = _this$getSplitProps2.isPercent;\n      var splitValue = this.getSplitValue(props);\n      return _objectSpread({\n        isPercent: isPercent,\n        splitValue: splitValue\n      }, this.getMinSize(props));\n    }\n  }, {\n    key: \"initStateData\",\n    value: function initStateData(props) {\n      var isHorizon = props.isHorizon;\n      this.setState({\n        forwardValue: isHorizon ? this.getHorizonMoveValue(props) : this.getVerticalMoveValue(props)\n      });\n    }\n  }, {\n    key: \"initEnableSize\",\n    value: function initEnableSize(rect) {\n      var width = rect.width,\n        height = rect.height;\n      // 获取组件总尺寸\n      var totalWidth = window.parseFloat(width);\n      var totalHeight = window.parseFloat(height);\n\n      // 减去分割线宽度 计算可分配宽高\n      this.enableWidth = totalWidth - this.dragBarSize;\n      this.enableHeight = totalHeight - this.dragBarSize;\n      var _this$props2 = this.props,\n        limitInVisibleArea = _this$props2.limitInVisibleArea,\n        isHorizon = _this$props2.isHorizon; // 限制整个分割容器在可视区域内，而不是拖拽条不能超出可视区域\n      if (limitInVisibleArea) {\n        var _this$splitWrap$curre3;\n        var splitWrapRec = (_this$splitWrap$curre3 = this.splitWrap.current) === null || _this$splitWrap$curre3 === void 0 ? void 0 : _this$splitWrap$curre3.getBoundingClientRect();\n        if (!splitWrapRec) return;\n        var splitMaxWidth = window.parseFloat(window.innerWidth - splitWrapRec.left - BOUNDARY_BUFFER);\n        var splitMaxHeight = window.parseFloat(window.innerHeight - splitWrapRec.top - BOUNDARY_BUFFER);\n        if (isHorizon) {\n          this.splitWrap.current.style.maxHeight = splitMaxHeight + 'px';\n        } else {\n          this.splitWrap.current.style.maxWidth = splitMaxWidth + 'px';\n        }\n      }\n    }\n  }, {\n    key: \"getSplitProps\",\n    value: function getSplitProps(value) {\n      var splitOps = {\n        splitValue: 0,\n        isPercent: false\n      };\n      var _splitValue;\n      if (value.indexOf('%') !== -1) {\n        // 按照百分比分割\n        _splitValue = Math.round(value.replace('%', ''));\n        if (_splitValue > 100 || _splitValue < 0) {\n          _splitValue = 50;\n        }\n        splitOps.isPercent = true;\n      } else if (value.indexOf('px') !== -1) {\n        // 按照具体像素分割\n        _splitValue = Math.round(value.replace('px', ''));\n        if (_splitValue < 0) {\n          _splitValue = 250;\n        }\n      }\n      splitOps.splitValue = _splitValue;\n      return splitOps;\n    }\n\n    // getDomStyle (ele) {\n    // const { currentStyle } = ele\n    // const domStyle = currentStyle || window.getComputedStyle(ele, null)\n    // let { width, height } = domStyle\n    // // 当宽度和高度为百分数时使用计算后的值\n    // if (_.isString(width) && width.indexOf('%') !== -1) {\n    //   width = window.getComputedStyle(ele, null).width\n    // }\n    // if (_.isString(height) && height.indexOf('%') !== -1) {\n    //   height = window.getComputedStyle(ele, null).height\n    // }\n    // return { width: width === 'auto' ? ele.clientWidth : width, height: height === 'auto' ? ele.clientHeight : height }\n    // }\n  }, {\n    key: \"setCollapse\",\n    value: function setCollapse(dir) {\n      this.setState({\n        topLeftVisiable: !(dir === 'top' || dir === 'left'),\n        bottomRightVisiable: !(dir === 'bottom' || dir === 'right')\n      });\n    }\n  }, {\n    key: \"onResize\",\n    value: function onResize(value, initValue) {\n      var _this2 = this;\n      var isHorizon = this.props.isHorizon;\n      var _this$getMinSize2 = this.getMinSize(),\n        minHeight = _this$getMinSize2.minHeight,\n        minWidth = _this$getMinSize2.minWidth;\n      this.setState(function (preState) {\n        var forwardValue = preState.forwardValue,\n          preMoveValue = preState.preMoveValue;\n        // 移动差值\n        var minus = value - preMoveValue;\n        var _forwardValue = forwardValue ? forwardValue + minus : initValue + minus;\n        if (isHorizon) {\n          // 水平，变动的是高度值\n          // 处理边界问题\n          if (_forwardValue < minHeight) {\n            _forwardValue = minHeight;\n          } else if (_forwardValue > _this2.enableHeight - minHeight) {\n            _forwardValue = _this2.enableHeight - minHeight;\n          }\n          // 记录拖动位置的百分比\n          _this2.moveInPrecent = _forwardValue / _this2.enableHeight * 100 + '%';\n        } else {\n          // 垂直，变动的是宽度值\n          // 处理边界问题\n          if (_forwardValue < minWidth) {\n            _forwardValue = minWidth;\n          } else if (_forwardValue > _this2.enableWidth - minWidth) {\n            _forwardValue = _this2.enableWidth - minWidth;\n          }\n          // 记录拖动位置的百分比\n          _this2.moveInPrecent = _forwardValue / _this2.enableWidth * 100 + '%';\n        }\n        return {\n          preMoveValue: value,\n          forwardValue: _forwardValue\n        };\n      });\n    }\n  }, {\n    key: \"clearMoveValue\",\n    value: function clearMoveValue() {\n      // 保存用户uistate\n      var onSaveSplitPositionState = this.props.onSaveSplitPositionState;\n      onSaveSplitPositionState === null || onSaveSplitPositionState === void 0 || onSaveSplitPositionState(this.moveInPrecent, this.splitWrap.current);\n      this.setState({\n        preMoveValue: 0\n      });\n    }\n  }, {\n    key: \"onWindowResize\",\n    value: function onWindowResize(rect) {\n      var hide = rect.hide;\n      if (hide) return;\n      var _this$props3 = this.props,\n        hiddenDir = _this$props3.hiddenDir,\n        hiddenState = _this$props3.hiddenState;\n      var isHiddenFirst = this.isHiddenTop(hiddenDir, hiddenState) || this.isHiddenLeft(hiddenDir, hiddenState);\n      var isHiddenSecond = this.isHiddenBottom(hiddenDir, hiddenState) || this.isHiddenRight(hiddenDir, hiddenState);\n      if (this.props.children.length === 1 || isHiddenFirst || isHiddenSecond) return;\n      this.debounceContainerSizeChange(rect);\n      var _firstChild = this.firstChild.current;\n      if (_firstChild) {\n        clearTimeout(this.resizeTimer);\n        this.resizeTimer = setTimeout(function () {\n          _firstChild.props.style.flex = '1 0 auto';\n        }, 500);\n      }\n    }\n  }, {\n    key: \"isHiddenLeft\",\n    value: function isHiddenLeft(dir, state) {\n      return dir === 0 && state === true;\n    }\n  }, {\n    key: \"isHiddenRight\",\n    value: function isHiddenRight(dir, state) {\n      return dir === 1 && state === true;\n    }\n  }, {\n    key: \"isHiddenTop\",\n    value: function isHiddenTop(dir, state) {\n      return dir === 3 && state === true;\n    }\n  }, {\n    key: \"isHiddenBottom\",\n    value: function isHiddenBottom(dir, state) {\n      return dir === 2 && state === true;\n    }\n  }, {\n    key: \"getSubContainerMinStyle\",\n    value: function getSubContainerMinStyle() {\n      var _this$props4 = this.props,\n        isHorizon = _this$props4.isHorizon,\n        minWidth = _this$props4.minWidth,\n        minHeight = _this$props4.minHeight;\n      return _defineProperty({}, isHorizon ? 'minHeight' : 'minWidth', isHorizon ? minHeight : minWidth);\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this3 = this;\n      var _this$props5 = this.props,\n        defaultCollapseDir = _this$props5.defaultCollapseDir,\n        updateSplitCollapseFlag = _this$props5.updateSplitCollapseFlag,\n        children = _this$props5.children,\n        style = _this$props5.style,\n        hiddenDir = _this$props5.hiddenDir,\n        hiddenState = _this$props5.hiddenState,\n        panelDefaultCollapse = _this$props5.panelDefaultCollapse,\n        className = _this$props5.className,\n        isHorizon = _this$props5.isHorizon,\n        splitPercent = _this$props5.splitPercent,\n        isDesign = _this$props5.isDesign,\n        minWidth = _this$props5.minWidth,\n        minHeight = _this$props5.minHeight,\n        Direction = _this$props5.Direction,\n        Wrap = _this$props5.Wrap,\n        Overflow = _this$props5.Overflow,\n        Grow = _this$props5.Grow,\n        Shrink = _this$props5.Shrink,\n        AlignSelf = _this$props5.AlignSelf,\n        AlignContent = _this$props5.AlignContent,\n        AlignItems = _this$props5.AlignItems,\n        JustifyContent = _this$props5.JustifyContent,\n        auxiliaryLine = _this$props5.auxiliaryLine,\n        others = _objectWithoutProperties(_this$props5, _excluded);\n      var _className = (0, _classnames[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, _SplitContainer2[\"default\"]['root-div-column'], isHorizon), _SplitContainer2[\"default\"]['root-div-row'], !isHorizon), className, className), (0, _commonUtils[\"default\"])({\n        Direction: Direction,\n        Wrap: Wrap,\n        Overflow: Overflow,\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf,\n        AlignContent: AlignContent,\n        AlignItems: AlignItems,\n        JustifyContent: JustifyContent\n      }));\n      var subContainerMinStyle = this.getSubContainerMinStyle();\n      var commonStyle = Object.assign({}, isHorizon ? {\n        borderBottom: auxiliaryLine ? '1px dashed burlywood' : 'none'\n      } : {\n        borderRight: auxiliaryLine ? '1px dashed burlywood' : 'none'\n      });\n      var subControls = [];\n      var _this$state = this.state,\n        forwardValue = _this$state.forwardValue,\n        topLeftVisiable = _this$state.topLeftVisiable,\n        bottomRightVisiable = _this$state.bottomRightVisiable;\n      var totalSize = isHorizon ? this.enableHeight : this.enableWidth;\n      var _this$getContainerSty = this.getContainerStyles(isHorizon, forwardValue, totalSize, topLeftVisiable, bottomRightVisiable),\n        moveValue = _this$getContainerSty.moveValue,\n        bottomRightVisiableStyle = _this$getContainerSty.bottomRightVisiableStyle,\n        topLeftVisiableStyle = _this$getContainerSty.topLeftVisiableStyle;\n\n      // 在后端不会把两个分割容器面板内容都发过来的情况(设置元素隐藏或者初始不可见)下做的兼容处理，在只有一个可见的情况下，发过来的元素我们无法知道其顺序(只有一个)，所以可能存在渲染不正确的情况，要最终完美解决，需要后续后端把分割容器面板的隐藏元素和初始可见隐藏(保证两个子元素都会正确发送)\n      // 隐藏上面板和分割条，加载第二个面板\n      var isHiddenFirst = this.isHiddenTop(hiddenDir, hiddenState) || this.isHiddenLeft(hiddenDir, hiddenState);\n      // 隐藏下面板和分隔条，只加载第一个面板\n      var isHiddenSecond = this.isHiddenBottom(hiddenDir, hiddenState) || this.isHiddenRight(hiddenDir, hiddenState);\n      // 通过样式来控制分割容器的隐藏展示、否则会导致里面元素重新渲染\n      var fullShowStyle = Object.assign({}, commonStyle, {\n        flex: 1\n      }); // 只展示一个的样式\n      var hiddenStyle = {\n        display: 'none'\n      };\n      children.forEach(function (subControl, index) {\n        if (index === 0) {\n          var _style = Object.assign({}, subContainerMinStyle, commonStyle, bottomRightVisiableStyle, {\n            flex: '0 0 auto'\n          }, moveValue ? isHorizon ? {\n            height: \"\".concat(moveValue, \"px\")\n          } : {\n            width: \"\".concat(moveValue, \"px\")\n          } : null);\n          if (isHiddenFirst) {\n            _style = hiddenStyle;\n          }\n          if (isHiddenSecond || topLeftVisiable && !bottomRightVisiable) {\n            _style = fullShowStyle;\n          }\n          subControls.push( /*#__PURE__*/(0, _react.cloneElement)(subControl, {\n            style: _style,\n            ref: _this3.firstChild\n          }));\n          if (!isHiddenSecond && !isHiddenFirst) {\n            subControls.push( /*#__PURE__*/_react[\"default\"].createElement(DragBar, {\n              defaultCollapseDir: defaultCollapseDir,\n              updateSplitCollapseFlag: updateSplitCollapseFlag,\n              isDesign: isDesign,\n              onResize: _this3.onResize,\n              clearMoveValue: _this3.clearMoveValue,\n              isHorizon: isHorizon,\n              dragBarSize: _this3.dragBarSize,\n              setCollapse: _this3.setCollapse,\n              firstChild: _this3.firstChild,\n              secondChild: _this3.secondChild\n            }));\n          }\n        } else {\n          var _style2 = Object.assign({}, subContainerMinStyle, commonStyle, {\n            flex: 1\n          }, topLeftVisiableStyle);\n          if (isHiddenFirst || !topLeftVisiable && bottomRightVisiable) {\n            _style2 = fullShowStyle;\n          }\n          if (isHiddenSecond) {\n            _style2 = hiddenStyle;\n          }\n          subControls.push( /*#__PURE__*/(0, _react.cloneElement)(subControl, {\n            style: _style2,\n            ref: _this3.secondChild\n          }));\n        }\n      });\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        className: _className,\n        style: style,\n        ref: this.splitWrap\n      }, others), _react[\"default\"].Children.toArray(subControls));\n    }\n  }]);\n  return SplitContainer;\n}(_react[\"default\"].Component);\nSplitContainer.propTypes = {\n  SplitStyle: _propTypes[\"default\"].number,\n  SplitPosition: _propTypes[\"default\"].string,\n  className: _propTypes[\"default\"].string,\n  style: _propTypes[\"default\"].object,\n  PanelHeight: _propTypes[\"default\"].number,\n  PanelWidth: _propTypes[\"default\"].number\n};\nvar _default = exports[\"default\"] = SplitContainer;\nvar DragBar = /*#__PURE__*/function (_Component) {\n  _inherits(DragBar, _Component);\n  function DragBar(props) {\n    var _this4;\n    _classCallCheck(this, DragBar);\n    _this4 = _callSuper(this, DragBar, [props]);\n    _this4.handleMouseDown = _this4.handleMouseDown.bind(_assertThisInitialized(_this4));\n    _this4.handleMouseUp = _this4.handleMouseUp.bind(_assertThisInitialized(_this4));\n    _this4.handleDrag = _this4.handleDrag.bind(_assertThisInitialized(_this4));\n    _this4.handleClick = _this4.handleClick.bind(_assertThisInitialized(_this4));\n    _this4.handleMouseEnter = _this4.handleMouseEnter.bind(_assertThisInitialized(_this4));\n    _this4.handleMouseLeave = _this4.handleMouseLeave.bind(_assertThisInitialized(_this4));\n    _this4.setCollapseByDir = _this4.setCollapseByDir.bind(_assertThisInitialized(_this4));\n    _this4.currentX = 0;\n    _this4.currentY = 0;\n    _this4.state = {\n      topLeftVisiable: true,\n      bottomRightVisiable: true,\n      hover: false\n    };\n    return _this4;\n  }\n  _createClass(DragBar, [{\n    key: \"handleMouseLeave\",\n    value: function handleMouseLeave(e) {\n      var hover = this.state.hover;\n      hover && this.setState({\n        hover: false\n      });\n    }\n  }, {\n    key: \"handleMouseEnter\",\n    value: function handleMouseEnter(e) {\n      var hover = this.state.hover;\n      !hover && this.setState({\n        hover: true\n      });\n    }\n  }, {\n    key: \"handleMouseDown\",\n    value: function handleMouseDown(e) {\n      var _firstChild$current, _secondChild$current;\n      // 屏蔽右键\n      if (e.button === 2) {\n        return;\n      }\n      var _this$state2 = this.state,\n        topLeftVisiable = _this$state2.topLeftVisiable,\n        bottomRightVisiable = _this$state2.bottomRightVisiable;\n      if (topLeftVisiable && !bottomRightVisiable || !topLeftVisiable && bottomRightVisiable) {\n        return;\n      }\n\n      // 记录拖动时的开始位置\n      this.currentX = e.clientX;\n      this.currentY = e.clientY;\n      document.addEventListener('mousemove', this.handleDrag);\n      document.addEventListener('mouseup', this.handleMouseUp);\n\n      // 设置pointerEvents，防止iframe监听不到mouseup\n      var _this$props6 = this.props,\n        firstChild = _this$props6.firstChild,\n        secondChild = _this$props6.secondChild;\n      var _ref6 = ((_firstChild$current = firstChild.current) === null || _firstChild$current === void 0 || (_firstChild$current = _firstChild$current.props) === null || _firstChild$current === void 0 ? void 0 : _firstChild$current.model) || {},\n        fcPageId = _ref6.pageId,\n        fckey = _ref6.key;\n      var _ref7 = ((_secondChild$current = secondChild.current) === null || _secondChild$current === void 0 || (_secondChild$current = _secondChild$current.props) === null || _secondChild$current === void 0 ? void 0 : _secondChild$current.model) || {},\n        scPageId = _ref7.pageId,\n        sckey = _ref7.key;\n      var firstId = [fcPageId, fckey].join('_');\n      var secondId = [scPageId, sckey].join('_');\n      this.firstEle = document.querySelector(\"[data-page-id='\".concat(firstId, \"']\"));\n      this.secondEle = document.querySelector(\"[data-page-id='\".concat(secondId, \"']\"));\n      if (!this.firstEle || !this.secondEle) return;\n      this.pointerEvents = {\n        firstChild: this.firstEle.style.pointerEvents,\n        secondChild: this.secondEle.style.pointerEvents\n      };\n      this.firstEle.style.pointerEvents = 'none';\n      this.secondEle.style.pointerEvents = 'none';\n    }\n  }, {\n    key: \"handleMouseUp\",\n    value: function handleMouseUp(e) {\n      // 恢复pointerEvents\n      if (this.firstEle && this.firstEle.style) {\n        this.firstEle.style.pointerEvents = this.pointerEvents.firstChild;\n      }\n      if (this.secondEle && this.secondEle.style) {\n        this.secondEle.style.pointerEvents = this.pointerEvents.secondChild;\n      }\n\n      // 清除document事件监听\n      document.removeEventListener('mousemove', this.handleDrag);\n      document.removeEventListener('mouseup', this.handleMouseUp);\n\n      // 清除上一次存留的拖拽位移\n      var clearMoveValue = this.props.clearMoveValue;\n      clearMoveValue && clearMoveValue();\n    }\n  }, {\n    key: \"handleDrag\",\n    value: function handleDrag(e) {\n      var dragValue = 0;\n      var initValue = this.props.isHorizon ? this.getInitValue.offsetTop : this.getInitValue.offsetLeft;\n      var _this$props7 = this.props,\n        isHorizon = _this$props7.isHorizon,\n        onResize = _this$props7.onResize;\n      if (isHorizon) {\n        dragValue = e.clientY - this.currentY;\n      } else {\n        dragValue = e.clientX - this.currentX;\n      }\n\n      // 将拖拽距离传给父组件\n      onResize(dragValue, initValue);\n      e.stopPropagation();\n      e.preventDefault();\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      /**\n       * 默认折叠功能，加载完成后模拟一次点击\n       */\n      var defaultCollapseDir = this.props.defaultCollapseDir;\n      this.setCollapseByDir(defaultCollapseDir);\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      var newDefaultCollapseDir = nextProps.defaultCollapseDir;\n      var oldDefaultCollapseDir = this.props.defaultCollapseDir;\n      if (!Object.is(newDefaultCollapseDir, oldDefaultCollapseDir)) {\n        this.setCollapseByDir(newDefaultCollapseDir);\n      }\n      if (this.props.updateSplitCollapseFlag !== nextProps.updateSplitCollapseFlag) {\n        // 强制更新折叠状态\n        this.setCollapseByDir(newDefaultCollapseDir);\n      }\n    }\n  }, {\n    key: \"handleClick\",\n    value: function handleClick(e, dir) {\n      var _this$state3 = this.state,\n        topLeftVisiable = _this$state3.topLeftVisiable,\n        bottomRightVisiable = _this$state3.bottomRightVisiable;\n      if (bottomRightVisiable && topLeftVisiable) {\n        // 两边展开到一遍折叠折叠\n        this.setCollapseByDir(dir);\n      } else {\n        // 一遍折叠折叠到两边展开\n        this.setCollapseByDir();\n      }\n      e && e.stopPropagation();\n    }\n  }, {\n    key: \"setCollapseByDir\",\n    value: function setCollapseByDir(dir) {\n      var setCollapse = this.props.setCollapse;\n      setCollapse(dir);\n      this.setState({\n        topLeftVisiable: !(dir === 'top' || dir === 'left'),\n        bottomRightVisiable: !(dir === 'bottom' || dir === 'right')\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this5 = this;\n      var _this$props8 = this.props,\n        dragBarSize = _this$props8.dragBarSize,\n        isHorizon = _this$props8.isHorizon,\n        isDesign = _this$props8.isDesign;\n      var _this$state4 = this.state,\n        topLeftVisiable = _this$state4.topLeftVisiable,\n        bottomRightVisiable = _this$state4.bottomRightVisiable,\n        hover = _this$state4.hover;\n      var isCollapse = !topLeftVisiable || !bottomRightVisiable;\n      var rootStyle = isHorizon ? {\n        height: \"\".concat(dragBarSize, \"px\")\n      } : {\n        width: \"\".concat(dragBarSize, \"px\")\n      };\n      rootStyle = isDesign ? Object.assign({}, rootStyle, {\n        cursor: 'auto'\n      }) : rootStyle; // 设计时分隔条鼠标改为默认样式\n      var splitLineFloatStyle;\n      var topLeftArrowStyle;\n      var bottomRightArrowStyle;\n      // 设计时不加鼠标事件\n      var mouseEvent = isDesign ? {} : {\n        onMouseEnter: this.handleMouseEnter,\n        onMouseLeave: this.handleMouseLeave,\n        onMouseDown: this.handleMouseDown\n      };\n      if (isCollapse) {\n        // 折叠情况\n        rootStyle = isHorizon ? {\n          height: '0px',\n          border: 'none'\n        } : {\n          width: '0px',\n          border: 'none'\n        }; // 折叠情况下分隔条宽高设\n        splitLineFloatStyle = isHorizon ? {\n          height: '0px'\n        } : {\n          width: '0px'\n        }; // 折叠情况下分隔条浮层宽高\n        topLeftArrowStyle = isHorizon ? {\n          bottom: '0px'\n        } : {\n          right: '0px'\n        }; // 折叠情况下上箭头和左箭头绝对定位\n        bottomRightArrowStyle = isHorizon ? {\n          top: '-5px'\n        } : {\n          left: '-5px'\n        }; // 折叠情况下箭头和右箭头绝对定位\n        mouseEvent = {}; // 折叠情况下分隔条没有鼠标事件\n      }\n      var containerClz = (0, _classnames[\"default\"])('kd-cq-kd-cq-splitcontainer-drag-bar-row', _defineProperty(_defineProperty(_defineProperty({}, _SplitContainer2[\"default\"]['drag-bar-row'], isHorizon), _SplitContainer2[\"default\"]['drag-bar-col'], !isHorizon), _SplitContainer2[\"default\"]['without-pt'], isHorizon && bottomRightVisiable && !topLeftVisiable));\n      var topLeftVisiableClass = (0, _classnames[\"default\"])('kdfont', 'kd-hover-color', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({\n        'kdfont-top': isHorizon,\n        'kdfont-left': !isHorizon\n      }, _SplitContainer2[\"default\"]['arrow-top'], isHorizon), _SplitContainer2[\"default\"]['arrow-left'], !isHorizon), 'kdfont-zuoshouqi', hover), 'kdfont-zuozhankai', isCollapse), _SplitContainer2[\"default\"]['arrow-left-animation'], !isCollapse && !isHorizon && hover), _SplitContainer2[\"default\"]['arrow-top-animation'], !isCollapse && isHorizon && hover), _SplitContainer2[\"default\"]['arrow-top-collapse'], isCollapse && isHorizon), _SplitContainer2[\"default\"]['arrow-left-collapse'], isCollapse && !isHorizon));\n      var bottomRightVisiableClass = (0, _classnames[\"default\"])('kdfont', 'kd-hover-color', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({\n        'kdfont-bottom': isHorizon && !isCollapse && !hover,\n        'kdfont-right': !isHorizon && !isCollapse && !hover\n      }, _SplitContainer2[\"default\"]['arrow-bottom'], isHorizon), _SplitContainer2[\"default\"]['arrow-right'], !isHorizon), 'kdfont-youshouqi', hover), 'kdfont-youzhankai', isCollapse), _SplitContainer2[\"default\"]['arrow-right-animation'], !isCollapse && !isHorizon && hover), _SplitContainer2[\"default\"]['arrow-bottom-animation'], !isCollapse && isHorizon && hover), _SplitContainer2[\"default\"]['arrow-bottom-collapse'], isCollapse && isHorizon), _SplitContainer2[\"default\"]['arrow-right-collapse'], isCollapse && !isHorizon));\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        style: rootStyle,\n        className: containerClz,\n        ref: function ref(_ref8) {\n          _this5.getInitValue = _ref8;\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        style: splitLineFloatStyle,\n        className: isHorizon ? _SplitContainer2[\"default\"]['split-line-float-row'] : _SplitContainer2[\"default\"]['split-line-float-col']\n      }, mouseEvent), !isDesign && topLeftVisiable && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        style: topLeftArrowStyle,\n        className: topLeftVisiableClass,\n        onClick: function onClick(e) {\n          return _this5.handleClick(e, isHorizon ? 'top' : 'left');\n        }\n      }), !isDesign && bottomRightVisiable && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        style: bottomRightArrowStyle,\n        className: bottomRightVisiableClass,\n        onClick: function onClick(e) {\n          return _this5.handleClick(e, isHorizon ? 'bottom' : 'right');\n        }\n      })));\n    }\n  }]);\n  return DragBar;\n}(_react.Component);\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/SplitContainer.jsx?");

/***/ }),

/***/ "./src/component/web/base/SplitPanel.jsx":
/*!***********************************************!*\
  !*** ./src/component/web/base/SplitPanel.jsx ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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 _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _FlexPanel = _interopRequireDefault(__webpack_require__(/*! ./FlexPanel.less */ \"./src/component/web/base/FlexPanel.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _excluded = [\"children\", \"style\", \"className\", \"Direction\", \"Wrap\", \"Overflow\", \"Grow\", \"Shrink\", \"AlignSelf\", \"AlignContent\", \"AlignItems\", \"JustifyContent\"];\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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 SplitPanel = /*#__PURE__*/function (_Component) {\n  _inherits(SplitPanel, _Component);\n  function SplitPanel() {\n    _classCallCheck(this, SplitPanel);\n    return _callSuper(this, SplitPanel, arguments);\n  }\n  _createClass(SplitPanel, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        children = _this$props.children,\n        style = _this$props.style,\n        className = _this$props.className,\n        Direction = _this$props.Direction,\n        Wrap = _this$props.Wrap,\n        Overflow = _this$props.Overflow,\n        Grow = _this$props.Grow,\n        Shrink = _this$props.Shrink,\n        AlignSelf = _this$props.AlignSelf,\n        AlignContent = _this$props.AlignContent,\n        AlignItems = _this$props.AlignItems,\n        JustifyContent = _this$props.JustifyContent,\n        others = _objectWithoutProperties(_this$props, _excluded);\n      var panelStyle = (0, _classnames[\"default\"])(_defineProperty(_defineProperty({}, _FlexPanel[\"default\"]['flex-panel'], true), className, className), (0, _commonUtils[\"default\"])({\n        Direction: Direction,\n        Wrap: Wrap,\n        Overflow: Overflow,\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf,\n        AlignContent: AlignContent,\n        AlignItems: AlignItems,\n        JustifyContent: JustifyContent\n      }));\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        className: panelStyle,\n        style: style\n      }, others), children);\n    }\n  }]);\n  return SplitPanel;\n}(_react.Component);\nSplitPanel.propTypes = {\n  className: _propTypes[\"default\"].string,\n  style: _propTypes[\"default\"].object\n};\nvar _default = exports[\"default\"] = SplitPanel;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/SplitPanel.jsx?");

/***/ }),

/***/ "./src/component/web/base/Stepper.jsx":
/*!********************************************!*\
  !*** ./src/component/web/base/Stepper.jsx ***!
  \********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.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-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.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.number.to-fixed.js */ \"../../node_modules/core-js/modules/es.number.to-fixed.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.to-string.js */ \"../../node_modules/core-js/modules/es.regexp.to-string.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 _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _classnames11 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _Stepper2 = _interopRequireDefault(__webpack_require__(/*! ./Stepper.less */ \"./src/component/web/base/Stepper.less\"));\nvar _serverproperties = __webpack_require__(/*! ../../../constant/serverproperties */ \"./src/constant/serverproperties.js\");\nvar _InputNumber = _interopRequireDefault(__webpack_require__(/*! ./InputNumber */ \"./src/component/web/base/InputNumber.jsx\"));\nvar _numberUtil = __webpack_require__(/*! @/util/numberUtil */ \"./src/util/numberUtil.js\");\nvar _excluded = [\"className\", \"Grow\", \"Shrink\", \"group\", \"text\", \"disabled\", \"isDesigner\", \"tabIndex\", \"theme\", \"option\", \"precision\", \"visible\", \"stepValue\", \"fieldStyle\", \"code\", \"symbol\", \"mask\", \"displayFormat\", \"min\", \"max\", \"minMark\", \"maxMark\", \"zeroShow\", \"noDisplayDecimalTailZero\", \"roundMethod\", \"stepperStyle\", \"handelOperatorClick\", \"style\", \"decimalLength\", \"inputBodyStyle\", \"operatorBoxStyle\", \"operatorBoxClassName\"];\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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 MAX_VALUE = 10000000000000; // 后端数据库的最大值要小于这个值\nvar MIN_VALUE = -10000000000000; // 后端数据库的最小值要大于这个值\nvar Stepper = /*#__PURE__*/function (_Component) {\n  _inherits(Stepper, _Component);\n  function Stepper(props) {\n    var _this;\n    _classCallCheck(this, Stepper);\n    _this = _callSuper(this, Stepper, [props]);\n    _this.handleBlur = function (e) {\n      var _this$props = _this.props,\n        minMark = _this$props.minMark,\n        min = _this$props.min,\n        onBlur = _this$props.onBlur,\n        max = _this$props.max,\n        maxMark = _this$props.maxMark;\n      var value = e.target.value;\n      var newVal = value;\n      var minVal = Math.max(min || MIN_VALUE, MIN_VALUE);\n      var maxVal = Math.min(max || MAX_VALUE, MAX_VALUE);\n      var diffValue = value - minVal; // 这里value 可能为-\n      var diffValue2 = value - maxVal;\n      var isLessThanMin = isNaN(diffValue) || minMark === '[' && diffValue < 0 || minMark === '(' && diffValue <= 0;\n      var isGreaterThanMax = isNaN(diffValue) || maxMark === ']' && diffValue2 > 0 || maxMark === ')' && diffValue2 >= 0;\n      if (isLessThanMin) {\n        // 控制输入值比最小值限制更小的情况\n        newVal = minVal;\n      } else if (isGreaterThanMax) {\n        newVal = maxVal;\n      }\n      _this.setState({\n        value: newVal\n      }, function () {\n        onBlur && onBlur({\n          target: {\n            value: newVal\n          }\n        });\n      });\n    };\n    _this.handleKeyDown = function (e) {\n      var _this$props2 = _this.props,\n        disabled = _this$props2.disabled,\n        isDesigner = _this$props2.isDesigner;\n      if (disabled || isDesigner) return;\n      if (e.keyCode === 38) {\n        // 上键\n        _this.handleButClick(e, 'plus');\n      } else if (e.keyCode === 40) {\n        // 下键\n        _this.handleButClick(e, 'reduce');\n      }\n    };\n    /* 用来得到精确的加法结果\n    *说明：javascript的加法结果会有误差，在两个浮点数相加的时候会比较明显。这个函数返回较为精确的加法结果。\n    *调用：accAdd(arg1,arg2)\n    *返回值：arg1加上arg2的精确结果\n    */\n    _this.accAdd = function (arg1, arg2) {\n      var r1;\n      var r2;\n      try {\n        r1 = arg1.toString().split('.')[1].length;\n      } catch (e) {\n        r1 = 0;\n      }\n      try {\n        r2 = arg2.toString().split('.')[1].length;\n      } catch (e) {\n        r2 = 0;\n      }\n      var m = Math.pow(10, Math.max(r1, r2));\n      return (arg1 * m + arg2 * m) / m + '';\n    };\n    // 减法函数\n    _this.accSub = function (arg1, arg2) {\n      var r1, r2;\n      try {\n        r1 = arg1.toString().split('.')[1].length;\n      } catch (e) {\n        r1 = 0;\n      }\n      try {\n        r2 = arg2.toString().split('.')[1].length;\n      } catch (e) {\n        r2 = 0;\n      }\n      var m = Math.pow(10, Math.max(r1, r2));\n      // last modify by deeka\n      // 动态控制精度长度\n      var n = r1 >= r2 ? r1 : r2;\n      return ((arg1 * m - arg2 * m) / m).toFixed(n) + '';\n    };\n    _this.handleMouseDown = function (e, operationType) {\n      _this.longPressFlag = false;\n      // 定义长按300 豪秒触发长按事件\n      _this.timeIntervalEvent = setTimeout(function () {\n        _this.longPress(e, operationType);\n      }, 300);\n      return false;\n    };\n    _this.handleMouseOut = function () {\n      if (_this.longPressFlag) {\n        // 解决鼠标按下后移到其他地方再放开鼠标，步进器停不下来的bug\n        _this.intervalTimer && clearInterval(_this.intervalTimer);\n      }\n    };\n    _this.longPress = function (e, operationType) {\n      _this.longPressFlag = true;\n      _this.intervalTimer = setInterval(function () {\n        _this.handleButClick(e, operationType);\n      }, 300);\n    };\n    _this.handleMouseUp = function (e, operationType, isDisabled) {\n      _this.intervalTimer && clearInterval(_this.intervalTimer);\n      _this.timeIntervalEvent && clearTimeout(_this.timeIntervalEvent);\n      if (!_this.longPressFlag) {\n        // 触发的是点击事件 这里需要判断是否需要触发click 事件\n        if (operationType === 'reduce' && !isDisabled || operationType === 'plus' && !isDisabled) {\n          // mouseUp的不要阻止冒泡，避免影响上层的拖拽事件\n          _this.handleButClick(e, operationType, false);\n        }\n      }\n      return false;\n    };\n    _this.handleButClick = function (e, operationType) {\n      var shouldStopPropagation = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n      clearTimeout(_this.timer); // 清除没执行的timer定时器\n      var _this$props3 = _this.props,\n        disabled = _this$props3.disabled,\n        isDesigner = _this$props3.isDesigner,\n        _this$props3$stepValu = _this$props3.stepValue,\n        stepValue = _this$props3$stepValu === void 0 ? 1 : _this$props3$stepValu,\n        min = _this$props3.min,\n        minMark = _this$props3.minMark,\n        max = _this$props3.max,\n        maxMark = _this$props3.maxMark;\n      var val = _this.state.value;\n      if (disabled || isDesigner) return;\n      shouldStopPropagation && e.stopPropagation();\n      // this.inputNumberDom.stepperFocus()\n      var oldval = typeof val === 'string' ? (0, _numberUtil.serialization)(val) * 1 : val;\n      var newval = 0;\n      if (operationType === 'reduce') {\n        newval = _this.accSub(oldval, stepValue);\n        if (minMark === '[' && newval < min || minMark === '(' && newval <= min) {\n          newval = oldval;\n        }\n      } else if (operationType === 'plus') {\n        newval = _this.accAdd(oldval, stepValue);\n        if (maxMark === ']' && newval > max || maxMark === ')' && newval >= max || newval >= MAX_VALUE) {\n          newval = oldval;\n        }\n      }\n      _this.setState({\n        value: newval\n      }, function () {\n        _this.timer = setTimeout(function () {\n          _this.props.handelOperatorClick && _this.props.handelOperatorClick(newval, true);\n        }, 200);\n      });\n    };\n    _this.state = {\n      value: props.value\n    };\n    return _this;\n  }\n  _createClass(Stepper, [{\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      if (this.props.value !== nextProps.value) {\n        this.setState({\n          value: nextProps.value\n        });\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props4 = this.props,\n        className = _this$props4.className,\n        Grow = _this$props4.Grow,\n        Shrink = _this$props4.Shrink,\n        group = _this$props4.group,\n        text = _this$props4.text,\n        disabled = _this$props4.disabled,\n        isDesigner = _this$props4.isDesigner,\n        tabIndex = _this$props4.tabIndex,\n        theme = _this$props4.theme,\n        option = _this$props4.option,\n        precision = _this$props4.precision,\n        visible = _this$props4.visible,\n        stepValue = _this$props4.stepValue,\n        fieldStyle = _this$props4.fieldStyle,\n        code = _this$props4.code,\n        symbol = _this$props4.symbol,\n        mask = _this$props4.mask,\n        displayFormat = _this$props4.displayFormat,\n        min = _this$props4.min,\n        max = _this$props4.max,\n        minMark = _this$props4.minMark,\n        maxMark = _this$props4.maxMark,\n        zeroShow = _this$props4.zeroShow,\n        noDisplayDecimalTailZero = _this$props4.noDisplayDecimalTailZero,\n        roundMethod = _this$props4.roundMethod,\n        _this$props4$stepperS = _this$props4.stepperStyle,\n        stepperStyle = _this$props4$stepperS === void 0 ? 0 : _this$props4$stepperS,\n        handelOperatorClick = _this$props4.handelOperatorClick,\n        style = _this$props4.style,\n        decimalLength = _this$props4.decimalLength,\n        inputBodyStyle = _this$props4.inputBodyStyle,\n        operatorBoxStyle = _this$props4.operatorBoxStyle,\n        operatorBoxClassName = _this$props4.operatorBoxClassName,\n        other = _objectWithoutProperties(_this$props4, _excluded);\n      var value = this.state.value;\n      if (stepperStyle === 2 && style && !style.textAlign) {\n        style.textAlign = 'center';\n      }\n      var inputBody =\n      /*#__PURE__*/\n      // boxStyle={{ height: '100%' }} 这个100% 会导致对不齐 inputNumber 组件里面的input 默认设置了21px 基础风格不可加12px右边距，否则显示区域很小\n      _react[\"default\"].createElement(_InputNumber[\"default\"], _extends({\n        boxStyle: inputBodyStyle,\n        digitLength: option && option.get(_serverproperties.PRECISION),\n        decimalLength: decimalLength,\n        showSymbol: visible,\n        code: code,\n        symbol: symbol,\n        mask: mask,\n        displayFormat: displayFormat,\n        min: min,\n        max: max,\n        minMark: minMark,\n        maxMark: maxMark,\n        zeroShow: zeroShow,\n        noDisplayDecimalTailZero: noDisplayDecimalTailZero,\n        roundMethod: roundMethod || '0',\n        disabled: disabled,\n        style: _objectSpread(_objectSpread({}, style), {}, {\n          paddingRight: stepperStyle !== 2 && '12px'\n        }),\n        isDesigner: isDesigner\n      }, other, {\n        ref: function ref(r) {\n          _this2.inputNumberDom = r;\n        },\n        isSelect: false,\n        value: this.state.value,\n        onBlur: this.handleBlur,\n        tabIndex: tabIndex\n      }));\n      var plusNewVal = value - 0 + (stepValue - 0);\n      var reduceNewVal = value - stepValue;\n      var beyondLimits = value - MAX_VALUE >= 0 || value - MIN_VALUE <= 0; // 进行最大最小值的限制，因为前端的计算在超出范围的时候会计算不正确\n      var plusDisabled = beyondLimits || maxMark === ']' && plusNewVal > max || maxMark === ')' && plusNewVal >= max;\n      var reduceDisabled = beyondLimits || minMark === '[' && reduceNewVal < min || minMark === '(' && reduceNewVal <= min;\n      if (stepperStyle === 1) {\n        // 嵌入式边框样式\n        var embedBox = (0, _classnames11[\"default\"])(_defineProperty({\n          className: true,\n          'disabled-fc': disabled,\n          'strong-border kd-hover-bdcolor': !disabled\n        }, [_Stepper2[\"default\"].embedBox], true));\n        var upperBut = (0, _classnames11[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Stepper2[\"default\"].button, true), _Stepper2[\"default\"].upperBut, true), _Stepper2[\"default\"].activeBut, !disabled), 'kdfont kdfont-shangla strong-border', true), 'active-theme-fc1', !disabled && !plusDisabled), 'disabled-fc', plusDisabled));\n        var lowerBut = (0, _classnames11[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Stepper2[\"default\"].button, true), _Stepper2[\"default\"].activeBut, !disabled), 'active-theme-fc1', !disabled && !reduceDisabled), 'kdfont kdfont-xiala not-theme', true), 'disabled-fc', reduceDisabled));\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: embedBox,\n          style: fieldStyle,\n          tabIndex: tabIndex,\n          onKeyDown: this.handleKeyDown\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: _Stepper2[\"default\"].inputBox\n        }, inputBody), !disabled && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames11[\"default\"])(_Stepper2[\"default\"].embedArrowBox, 'strong-border', operatorBoxClassName)\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          \"data-operational-icon\": true,\n          className: upperBut,\n          onMouseDown: function onMouseDown(e) {\n            return _this2.handleMouseDown(e, 'plus');\n          },\n          onMouseUp: function onMouseUp(e) {\n            return _this2.handleMouseUp(e, 'plus', plusDisabled);\n          },\n          onMouseOut: function onMouseOut() {\n            return _this2.handleMouseOut();\n          }\n        }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          \"data-operational-icon\": true,\n          className: lowerBut,\n          onMouseDown: function onMouseDown(e) {\n            return _this2.handleMouseDown(e, 'reduce');\n          },\n          onMouseUp: function onMouseUp(e) {\n            return _this2.handleMouseUp(e, 'reduce', reduceDisabled);\n          },\n          onMouseOut: function onMouseOut() {\n            return _this2.handleMouseOut();\n          }\n        })));\n      } else if (stepperStyle === 2) {\n        // 基础样式\n        var stepperBox = (0, _classnames11[\"default\"])(_defineProperty(_defineProperty(_defineProperty({\n          className: true,\n          'strong-border': true\n        }, [_Stepper2[\"default\"].stepperBox], true), 'kd-hover-bdcolor', !disabled), 'kd-active-bdcolor', !disabled));\n        var inputBox = (0, _classnames11[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Stepper2[\"default\"].inputBox, true), 'strong-border', true), 'disabled-fc', disabled), _Stepper2[\"default\"].disabledInput, disabled), _Stepper2[\"default\"].activeInput, !disabled), \"checkbox1_checked\", this.state.isEditing));\n        var plusBut = (0, _classnames11[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Stepper2[\"default\"].button, true), _Stepper2[\"default\"].activeBut, !disabled), 'disabled-fc', disabled || plusDisabled), _Stepper2[\"default\"].disabledBut, disabled), 'kdfont kdfont-tianjia', true), 'active-theme-fc1', !disabled && !plusDisabled));\n        var reduceBut = (0, _classnames11[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Stepper2[\"default\"].button, true), _Stepper2[\"default\"]['boder-style'], true), _Stepper2[\"default\"].activeBut, !disabled), 'disabled-fc', disabled || reduceDisabled), _Stepper2[\"default\"].disabledBut, disabled), 'kdfont kdfont-fengexian', true), 'active-theme-fc1', !disabled && !reduceDisabled));\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: stepperBox,\n          style: fieldStyle,\n          tabIndex: tabIndex,\n          onKeyDown: this.handleKeyDown\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          \"data-operational-icon\": true,\n          className: reduceBut,\n          onMouseDown: function onMouseDown(e) {\n            return _this2.handleMouseDown(e, 'reduce');\n          },\n          onMouseUp: function onMouseUp(e) {\n            return _this2.handleMouseUp(e, 'reduce', reduceDisabled);\n          },\n          onMouseOut: function onMouseOut() {\n            return _this2.handleMouseOut();\n          }\n        }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: inputBox\n        }, inputBody), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          \"data-operational-icon\": true,\n          className: plusBut,\n          onMouseDown: function onMouseDown(e) {\n            return _this2.handleMouseDown(e, 'plus');\n          },\n          onMouseUp: function onMouseUp(e) {\n            return _this2.handleMouseUp(e, 'plus', plusDisabled);\n          },\n          onMouseOut: function onMouseOut() {\n            return _this2.handleMouseOut();\n          }\n        }));\n      } else {\n        // 嵌入式样式，默认\n        var defaultStyleBox = (0, _classnames11[\"default\"])(_defineProperty(_defineProperty({\n          className: true\n        }, [_Stepper2[\"default\"].defaultStyleBox], true), _Stepper2[\"default\"].paddingRight, (style === null || style === void 0 ? void 0 : style.textAlign) === 'right'));\n        var _upperBut = (0, _classnames11[\"default\"])('kdfont-f', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Stepper2[\"default\"].button, true), _Stepper2[\"default\"].activeBut, !disabled), 'kdfont kdfont-shangla', true), 'active-theme-fc1', !disabled && !plusDisabled), 'disabled-fc', plusDisabled));\n        var _lowerBut = (0, _classnames11[\"default\"])('kdfont-f', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Stepper2[\"default\"].button, true), _Stepper2[\"default\"].activeBut, !disabled), 'active-theme-fc1', !disabled && !reduceDisabled), 'kdfont kdfont-xiala not-theme', true), 'disabled-fc', reduceDisabled));\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: defaultStyleBox,\n          tabIndex: tabIndex,\n          style: fieldStyle,\n          onKeyDown: this.handleKeyDown\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: _Stepper2[\"default\"].inputBox\n        }, inputBody), !disabled && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames11[\"default\"])(_Stepper2[\"default\"].arrowBox, operatorBoxClassName),\n          style: operatorBoxStyle\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          \"data-operational-icon\": true,\n          className: _upperBut,\n          onMouseDown: function onMouseDown(e) {\n            return _this2.handleMouseDown(e, 'plus');\n          },\n          onMouseUp: function onMouseUp(e) {\n            return _this2.handleMouseUp(e, 'plus', plusDisabled);\n          },\n          onMouseOut: function onMouseOut() {\n            return _this2.handleMouseOut();\n          }\n        }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          \"data-operational-icon\": true,\n          className: _lowerBut,\n          onMouseDown: function onMouseDown(e) {\n            return _this2.handleMouseDown(e, 'reduce');\n          },\n          onMouseUp: function onMouseUp(e) {\n            return _this2.handleMouseUp(e, 'reduce', reduceDisabled);\n          },\n          onMouseOut: function onMouseOut() {\n            return _this2.handleMouseOut();\n          }\n        })));\n      }\n    }\n  }]);\n  return Stepper;\n}(_react.Component);\nStepper.propTypes = {\n  style: _propTypes[\"default\"].object,\n  className: _propTypes[\"default\"].string,\n  disabled: _propTypes[\"default\"].bool\n};\nvar _default = exports[\"default\"] = Stepper;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Stepper.jsx?");

/***/ }),

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

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-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/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.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 = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _Switch = _interopRequireDefault(__webpack_require__(/*! ./Switch.less */ \"./src/component/web/base/Switch.less\"));\nvar _excluded = [\"className\", \"style\", \"value\", \"size\", \"cssClass\", \"disabled\", \"isOpenTheme\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 Switch = /*#__PURE__*/function (_React$Component) {\n  _inherits(Switch, _React$Component);\n  function Switch() {\n    _classCallCheck(this, Switch);\n    return _callSuper(this, Switch, arguments);\n  }\n  _createClass(Switch, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        className = _this$props.className,\n        style = _this$props.style,\n        value = _this$props.value,\n        size = _this$props.size,\n        cssClass = _this$props.cssClass,\n        disabled = _this$props.disabled,\n        isOpenTheme = _this$props.isOpenTheme,\n        other = _objectWithoutProperties(_this$props, _excluded);\n      var styles = cssClass || _Switch[\"default\"];\n      if ([1, 2, 3, 4, 5].indexOf(size) < 0) {\n        size = 1;\n      }\n      var wrapperCls = (0, _classnames3[\"default\"])(styles.wrapper, styles['wrapper-' + size], _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, styles.open, value), className, className), styles['bk-color'], value && isOpenTheme), styles.pointer, !disabled), styles['wrap-disabled'], value && disabled));\n      var inner = (0, _classnames3[\"default\"])('kd-cq-switch-handle', _defineProperty(_defineProperty(_defineProperty({}, styles.inner, true), styles['small-inner'], size >= 4), styles['inner-disabled'], !value && disabled));\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        className: wrapperCls,\n        style: style\n      }, other), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: inner\n      }));\n    }\n  }]);\n  return Switch;\n}(_react[\"default\"].Component);\nSwitch.propTypes = {\n  cssClass: _propTypes[\"default\"].object,\n  value: _propTypes[\"default\"].bool,\n  size: _propTypes[\"default\"].number // 开关的尺寸: 1-large;2-normal;3-small\n};\nSwitch.defaultProps = {\n  size: 1\n};\nvar _default = exports[\"default\"] = Switch;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Switch.js?");

/***/ }),

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

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.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.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.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\"] = TabIconMenu;\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.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _TabIconMenu = _interopRequireDefault(__webpack_require__(/*! ./TabIconMenu.less */ \"./src/component/web/base/TabIconMenu.less\"));\nvar _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _HelpPanel = _interopRequireDefault(__webpack_require__(/*! @/page/HelpPanel */ \"./src/page/HelpPanel.js\"));\nvar _TeamWorkPanel = _interopRequireDefault(__webpack_require__(/*! @/page/TeamWorkPanel */ \"./src/page/TeamWorkPanel.js\"));\nvar _InsightPanel = _interopRequireDefault(__webpack_require__(/*! @/page/InsightPanel */ \"./src/page/InsightPanel.js\"));\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _helpCenter = _interopRequireDefault(__webpack_require__(/*! @/component/images/helpCenter.png */ \"./src/component/images/helpCenter.png\"));\nvar _teamwork = _interopRequireDefault(__webpack_require__(/*! @/component/images/teamwork.png */ \"./src/component/images/teamwork.png\"));\nvar _insight = _interopRequireDefault(__webpack_require__(/*! @/component/images/insight.png */ \"./src/component/images/insight.png\"));\nvar _SlidePanel = _interopRequireDefault(__webpack_require__(/*! @/page/SlidePanel */ \"./src/page/SlidePanel.js\"));\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher */ \"./src/model/GlobalDataCacher.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 _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 _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 TabIconMenu(_ref) {\n  var pageId = _ref.pageId,\n    handleIconClick = _ref.handleIconClick,\n    activeKey = _ref.activeKey,\n    _ref$showList = _ref.showList,\n    showHelp = _ref$showList.showHelp,\n    showTeamWork = _ref$showList.showTeamWork,\n    showInsight = _ref$showList.showInsight,\n    itemClassName = _ref.itemClassName,\n    placement = _ref.placement,\n    triggerParentRef = _ref.triggerParentRef,\n    iconClassName = _ref.iconClassName,\n    showColorsIcon = _ref.showColorsIcon;\n  var _useState = (0, _react.useState)(null),\n    _useState2 = _slicedToArray(_useState, 2),\n    curPanelComponent = _useState2[0],\n    setCurPanelComponent = _useState2[1];\n  var tabIconMenuRef = (0, _react.useRef)(null);\n  var panelRef = (0, _react.useRef)(null);\n\n  // 右上角icon菜单配置\n  var tabIconMenuData = _defineProperty(_defineProperty(_defineProperty({}, _const.INSIGHT_ICON, {\n    showIcon: showInsight,\n    iconfont: showColorsIcon ? _TabIconMenu[\"default\"].insightIcon : 'kdfont-dongcha',\n    panelContentComponent: _InsightPanel[\"default\"],\n    title: (0, _intlApi.getLangMsg)({\n      key: 'tabIcon.key0001'\n    }),\n    imageUrl: _insight[\"default\"]\n  }), _const.TEAMWORK_ICON, {\n    showIcon: showTeamWork,\n    iconfont: showColorsIcon ? _TabIconMenu[\"default\"].teamworkIcon : 'kdfont-bangongxietong',\n    panelContentComponent: _TeamWorkPanel[\"default\"],\n    title: (0, _intlApi.getLangMsg)({\n      key: 'tabIcon.key0002'\n    }),\n    imageUrl: _teamwork[\"default\"]\n  }), _const.HELP_ICON, {\n    showIcon: showHelp,\n    iconfont: showColorsIcon ? _TabIconMenu[\"default\"].helpcenterIcon : 'kdfont-bangzhu',\n    panelContentComponent: _HelpPanel[\"default\"],\n    title: (0, _intlApi.getLangMsg)({\n      key: 'tabIcon.key0003'\n    }),\n    imageUrl: _helpCenter[\"default\"]\n  });\n  var handleItemIconClick = function handleItemIconClick(key) {\n    var _panelRef$current;\n    // 切换面板时，面板会失焦\n    (_panelRef$current = panelRef.current) === null || _panelRef$current === void 0 || _panelRef$current.focus();\n    // 当重复点击已经触发的元素的时候\n    if (curPanelComponent === key) return;\n    handleIconClick(key);\n    setCurPanelComponent(key);\n  };\n\n  // 判断是否允许关闭协同面板\n  var canCloseTeamWorkPanel = function canCloseTeamWorkPanel() {\n    var dialogDom = document.querySelector('#dialogShow');\n    var yzjDialogDom = document.querySelector('#yl_iframe_dialog_modal');\n\n    // 不存在苍穹弹窗或者不存在云之家弹窗的时候可以关闭\n    return !(dialogDom || yzjDialogDom && yzjDialogDom.style.display !== 'none') || (dialogDom === null || dialogDom === void 0 ? void 0 : dialogDom.contains(tabIconMenuRef === null || tabIconMenuRef === void 0 ? void 0 : tabIconMenuRef.current));\n  };\n\n  // 判断是否允许关闭洞察面板\n  var canCloseInsightPanel = function canCloseInsightPanel() {\n    // 固定面板的时候\n    var fixInsightData = (0, _GlobalDataCacher.getData)(_symbolConst.KEY_FIX_INSIGHT_PANEL);\n    if (fixInsightData !== null && fixInsightData !== void 0 && fixInsightData.isFixationMode) return;\n\n    // 有弹窗的时候不允许关闭\n    var dialogDom = document.querySelector('#dialogShow');\n    if (dialogDom && !dialogDom.contains(tabIconMenuRef === null || tabIconMenuRef === void 0 ? void 0 : tabIconMenuRef.current)) return;\n    return true;\n  };\n  var handleClose = function handleClose(type, e) {\n    var _tabIconMenuRef$curre;\n    if (curPanelComponent === _const.INSIGHT_ICON && !canCloseInsightPanel()) return;\n    if (curPanelComponent === _const.TEAMWORK_ICON && !canCloseTeamWorkPanel()) return;\n    if (!e || e !== null && e !== void 0 && e.target && !((_tabIconMenuRef$curre = tabIconMenuRef.current) !== null && _tabIconMenuRef$curre !== void 0 && _tabIconMenuRef$curre.contains(e.target))) {\n      setCurPanelComponent(null);\n    }\n  };\n  var renderPanelContainer = function renderPanelContainer() {\n    var _tabIconMenuData$curP;\n    if (!curPanelComponent) return null;\n    var Component = (_tabIconMenuData$curP = tabIconMenuData[curPanelComponent]) === null || _tabIconMenuData$curP === void 0 ? void 0 : _tabIconMenuData$curP.panelContentComponent;\n    if (!Component) return null;\n    return /*#__PURE__*/_react[\"default\"].createElement(_SlidePanel[\"default\"], {\n      onClose: handleClose,\n      trigger: tabIconMenuRef === null || tabIconMenuRef === void 0 ? void 0 : tabIconMenuRef.current,\n      placement: placement,\n      triggerParentRef: triggerParentRef === null || triggerParentRef === void 0 ? void 0 : triggerParentRef.current,\n      panelRef: panelRef\n    }, /*#__PURE__*/_react[\"default\"].createElement(Component, {\n      pageId: pageId,\n      activeKey: activeKey,\n      placement: placement,\n      triggerParentRef: triggerParentRef === null || triggerParentRef === void 0 ? void 0 : triggerParentRef.current,\n      iconRef: tabIconMenuRef,\n      onClose: handleClose,\n      postData: handleIconClick\n    }));\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames3[\"default\"])(_defineProperty({}, _TabIconMenu[\"default\"].tabMenuIconList, placement !== 'left')),\n    ref: tabIconMenuRef\n  }, Object.keys(tabIconMenuData).map(function (key) {\n    var item = tabIconMenuData[key];\n    if (!item.showIcon) return null;\n    var className = (0, _classnames3[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({\n      'theme-fc': curPanelComponent === key\n    }, _TabIconMenu[\"default\"].tabMenuIcon, true), item.iconfont, true), 'kd-hover-fontIcon', true), \"kdfont\", true), iconClassName);\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      id: key,\n      key: key,\n      className: itemClassName,\n      onClick: function onClick() {\n        return handleItemIconClick(key);\n      }\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n      className: className,\n      title: item.title\n    }));\n  })), renderPanelContainer());\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/TabIconMenu.js?");

/***/ }),

/***/ "./src/component/web/base/Tabs/FullscreenIcon.jsx":
/*!********************************************************!*\
  !*** ./src/component/web/base/Tabs/FullscreenIcon.jsx ***!
  \********************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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-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.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.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.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.js\");\n__webpack_require__(/*! core-js/modules/es.array.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.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 _useToggle3 = _interopRequireDefault(__webpack_require__(/*! @/use/useToggle */ \"./src/use/useToggle.js\"));\nvar _useFullscreen = _interopRequireDefault(__webpack_require__(/*! @/use/useFullscreen */ \"./src/use/useFullscreen.js\"));\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher */ \"./src/model/GlobalDataCacher.js\");\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _Tab = _interopRequireDefault(__webpack_require__(/*! ./styles/Tab.less */ \"./src/component/web/base/Tabs/styles/Tab.less\"));\nvar _advconUtil = __webpack_require__(/*! @/util/advconUtil */ \"./src/util/advconUtil.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 _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 FullscreenIcon(_ref) {\n  var localeData = _ref.localeData,\n    verticalClassNameTag = _ref.verticalClassNameTag,\n    activeKey = _ref.activeKey,\n    pageId = _ref.pageId;\n  var _useToggle = (0, _useToggle3[\"default\"])(false),\n    _useToggle2 = _slicedToArray(_useToggle, 2),\n    show = _useToggle2[0],\n    toggle = _useToggle2[1];\n  var isChangeFlexVisable = (0, _react.useRef)(null);\n  var prevFlexDisplay = (0, _react.useRef)('');\n  var isFullscreen = (0, _useFullscreen[\"default\"])({\n    current: document.body\n  }, show, {\n    onClose: function onClose() {\n      return toggle(false);\n    }\n  });\n  var cls = (0, _classnames[\"default\"])(_Tab[\"default\"]['bar-icon'], verticalClassNameTag, {\n    'kdfont kdfont-quanping': !isFullscreen,\n    'kdfont kdfont-guanbiquanping': isFullscreen,\n    'kd-hover-fontIcon': true\n  });\n  (0, _react.useEffect)(function () {\n    // 直接修改顶部flex的属性 ===硬编码******\n    if (document.querySelectorAll('#flexpanelap').length > 1) {\n      var flexpanelap = document.getElementById('flexpanelap');\n      var flexDisplay = flexpanelap.style.display;\n      if (isFullscreen) {\n        if (flexDisplay !== 'none') {\n          prevFlexDisplay.current = flexpanelap.style.display;\n          flexpanelap.style.display = 'none';\n          isChangeFlexVisable.current = true;\n        }\n      } else if (isChangeFlexVisable.current) {\n        flexpanelap.style.display = prevFlexDisplay.current || '';\n      }\n      var tabHeight = flexpanelap.style.display === 'none' ? 0 : flexpanelap.style.height; // 这里要取最新的flexpanelap的display\n      (0, _GlobalDataCacher.setData)(_symbolConst.KEY_CHANGE_PANEL_POSITION, {\n        top: tabHeight\n      });\n    }\n    (0, _advconUtil.updateFullScreenGlobalData)(isFullscreen, \"\".concat(pageId, \"_\").concat(activeKey));\n  }, [isFullscreen]);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    title: isFullscreen ? localeData.fullscreen : localeData.cancelFullscreen,\n    className: cls,\n    onClick: function onClick() {\n      var documentElement = document.body;\n      if (show) {\n        documentElement.style.width = 'auto';\n      } else {\n        // 解决ie浏览器全屏下宽度异常的问题\n        documentElement.style.width = '100%';\n      }\n      toggle();\n      (0, _GlobalDataCacher.setData)(_symbolConst.KEY_FIX_INSIGHT_PANEL, {\n        isFixationMode: false,\n        pageId: activeKey\n      });\n    }\n  });\n}\nvar _default = exports[\"default\"] = FullscreenIcon;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Tabs/FullscreenIcon.jsx?");

/***/ }),

/***/ "./src/component/web/base/Tabs/Menus.jsx":
/*!***********************************************!*\
  !*** ./src/component/web/base/Tabs/Menus.jsx ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.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-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/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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.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.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.number.max-safe-integer.js */ \"../../node_modules/core-js/modules/es.number.max-safe-integer.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 = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\"));\nvar _lodash = __webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\");\nvar _kdesign = __webpack_require__(/*! @kdcloudjs/kdesign */ \"webpack/sharing/consume/default/@kdcloudjs/kdesign/@kdcloudjs/kdesign\");\nvar _PanelWrapper = _interopRequireDefault(__webpack_require__(/*! @/component/common/PanelWrapper */ \"./src/component/common/PanelWrapper.js\"));\nvar _resizeObserve = _interopRequireDefault(__webpack_require__(/*! @/util/resizeObserve */ \"./src/util/resizeObserve.js\"));\nvar _keyCodeTool = __webpack_require__(/*! @/util/keyCodeTool */ \"./src/util/keyCodeTool.js\");\nvar _TextEllipsisWrap = _interopRequireDefault(__webpack_require__(/*! @/component/common/TextEllipsisWrap */ \"./src/component/common/TextEllipsisWrap.js\"));\nvar _ToolbarMorePanel = _interopRequireDefault(__webpack_require__(/*! @/component/web/ToolbarMorePanel/ToolbarMorePanel */ \"./src/component/web/ToolbarMorePanel/ToolbarMorePanel.jsx\"));\nvar _Select = _interopRequireDefault(__webpack_require__(/*! ./Select */ \"./src/component/web/base/Tabs/Select.jsx\"));\nvar _Tab = _interopRequireDefault(__webpack_require__(/*! ./styles/Tab.less */ \"./src/component/web/base/Tabs/styles/Tab.less\"));\nvar _UpdateShortCutWrap = _interopRequireDefault(__webpack_require__(/*! @/component/common/UpdateShortCutWrap */ \"./src/component/common/UpdateShortCutWrap.js\"));\nvar _class;\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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); }\nvar BAR_ITEM_MARGIN = 24;\nvar MORE_BTN_WIDTH = 60;\nvar Menus = (0, _UpdateShortCutWrap[\"default\"])(_class = /*#__PURE__*/function (_React$Component) {\n  _inherits(Menus, _React$Component);\n  function Menus(props) {\n    var _this;\n    _classCallCheck(this, Menus);\n    _this = _callSuper(this, Menus, [props]);\n    _this.addResizeListener = function () {\n      var _this$menuRef$current;\n      if (!((_this$menuRef$current = _this.menuRef.current) !== null && _this$menuRef$current !== void 0 && _this$menuRef$current.parentElement)) return;\n      _this.resizeHandler = (0, _resizeObserve[\"default\"])(_this.menuRef.current.parentElement, (0, _lodash.throttle)(_this.handleWindowResize, 300));\n    };\n    _this.handleWindowResize = function (rect) {\n      if (!_this.menuRef.current || !_this.menuRef.current.parentElement) return;\n      if (_this.isParentVisible !== rect.hide) {\n        if (_this.isParentVisible === true && rect.hide === false) {\n          _this.needRecalculate = true;\n        }\n        _this.isParentVisible = rect.hide;\n      }\n      if (rect.hide) return;\n      _this.parentWidth = rect.width;\n      var remainingWidth = _this.parentWidth - _this.props.tabWidth > MORE_BTN_WIDTH ? _this.parentWidth - _this.props.tabWidth : MORE_BTN_WIDTH;\n      var width = 0;\n      for (var idx = 0; idx < _this.cacheItemsWidth.length; idx++) {\n        if (width + _this.cacheItemsWidth[idx] + BAR_ITEM_MARGIN > remainingWidth) {\n          _this.setState({\n            firstInvisibleIndex: idx\n          });\n          return;\n        } else if (idx === _this.cacheItemsWidth.length - 1 && width + _this.cacheItemsWidth[idx] < remainingWidth) {\n          _this.setState({\n            firstInvisibleIndex: Number.MAX_SAFE_INTEGER\n          });\n          return;\n        }\n        width += _this.cacheItemsWidth[idx] + BAR_ITEM_MARGIN;\n      }\n    };\n    /**\n     * 缓存当前工具栏的按钮宽度\n     */\n    _this.cacheWidth = function () {\n      if (!_this.menuShadowRef.current) return;\n      _this.menuShadowRef.current.children.forEach(function (child, index) {\n        var clientWidth = child.clientWidth;\n        _this.cacheItemsWidth[index] = clientWidth;\n      });\n      _this.calculateIndex(_this.props.tabWidth);\n    };\n    /**\n     * 重新计算显示的按钮\n     * @param {number} tabWidth 页签的总宽度\n     */\n    _this.calculateIndex = function (tabWidth) {\n      var _this$parentWidth;\n      if (!_this.menuRef.current || _this.cacheItemsWidth.length === 0) return;\n      var parentWidth = (_this$parentWidth = _this.parentWidth) !== null && _this$parentWidth !== void 0 ? _this$parentWidth : _this.menuRef.current.parentElement.clientWidth;\n      var remainingWidth = tabWidth !== 0 && parentWidth - tabWidth > 60 ? parentWidth - tabWidth : 60;\n      var width = 0;\n      for (var idx = 0; idx < _this.cacheItemsWidth.length; idx++) {\n        if (width + _this.cacheItemsWidth[idx] + BAR_ITEM_MARGIN > remainingWidth) {\n          _this.setState({\n            firstInvisibleIndex: idx\n          });\n          return;\n        } else if (idx === _this.cacheItemsWidth.length - 1 && width + _this.cacheItemsWidth[idx] < remainingWidth) {\n          _this.setState({\n            firstInvisibleIndex: Number.MAX_SAFE_INTEGER\n          });\n          return;\n        }\n        width += _this.cacheItemsWidth[idx] + BAR_ITEM_MARGIN;\n      }\n    };\n    _this.renderMoreMenusPanel = function () {\n      var menus = _this.props.menus || (0, _immutable.List)();\n      if (!_immutable.Map.isMap(menus)) {\n        menus = (0, _immutable.fromJS)(menus);\n      }\n      menus = menus.slice(_this.state.firstInvisibleIndex);\n      menus = menus.filter(function (menu) {\n        return _this.props.getVisibleInfo(menu.get('key'), menu.get('vi'));\n      });\n      var _this$props = _this.props,\n        locale = _this$props.locale,\n        defaultLang = _this$props.defaultLang;\n      var options = menus.map(function (menu) {\n        var key = menu.get('key');\n        var title = menu.getIn(['title', locale]) || menu.getIn(['title', defaultLang]); // 取多语言\n        var operationKey = menu.get('operationKey');\n        var lock = _this.props.getLockedInfo(key, menu.get('l'));\n        return {\n          key: key,\n          title: title,\n          lock: lock,\n          operationKey: operationKey\n        };\n      });\n      return /*#__PURE__*/_reactDom[\"default\"].createPortal( /*#__PURE__*/_react[\"default\"].createElement(_PanelWrapper[\"default\"], {\n        defaultAlign: {\n          right: true\n        },\n        trigger: _this.moreTrigger,\n        onClose: function onClose() {\n          return _this.setState({\n            showMoreMenus: false\n          });\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _Tab[\"default\"]['menus-more']\n      }, /*#__PURE__*/_react[\"default\"].createElement(_Select[\"default\"], {\n        options: options,\n        onSelect: function onSelect(e, option) {\n          _this.props.onClick(_this.props.id, option.key, option.operationKey, option.lock);\n          _this.setState({\n            showMoreMenus: false\n          });\n        }\n      }))), document.body);\n    };\n    _this.handleClick = function (id, opk, isLocked) {\n      var onClick = _this.props.onClick;\n      onClick && onClick(_this.props.id, id, opk, isLocked);\n    };\n    _this.state = {\n      showMoreMenus: false,\n      firstInvisibleIndex: Number.MAX_SAFE_INTEGER\n    };\n    _this.menuRef = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.menuShadowRef = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.isFirstTime = true;\n    _this.cacheItemsWidth = [];\n    _this.isParentVisible = true;\n    return _this;\n  }\n  _createClass(Menus, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      this.addResizeListener();\n      this.cacheWidth();\n    }\n  }, {\n    key: \"componentDidUpdate\",\n    value: function componentDidUpdate() {\n      if (this.needRecalculate) {\n        this.cacheWidth();\n        this.needRecalculate = false;\n      }\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      if (!(0, _immutable.is)(nextProps.menus, this.props.menus) || nextProps.tabWidth !== this.props.tabWidth) {\n        this.needRecalculate = true;\n        this.calculateIndex(nextProps.tabWidth);\n      }\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.resizeHandler && this.resizeHandler.removeResizeObserve();\n      this.resizeHandler = null;\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var menus = this.props.menus || (0, _immutable.List)();\n      if (!_immutable.Map.isMap(menus)) {\n        menus = (0, _immutable.fromJS)(menus);\n      }\n      var _this$props2 = this.props,\n        locale = _this$props2.locale,\n        localeData = _this$props2.localeData,\n        defaultLang = _this$props2.defaultLang,\n        verticalClassNameTag = _this$props2.verticalClassNameTag,\n        pageId = _this$props2.pageId;\n      var showMore = this.state.firstInvisibleIndex !== Number.MAX_SAFE_INTEGER && this.state.firstInvisibleIndex < menus.size;\n      var createMenuItem = function createMenuItem(menu, index) {\n        var _getkeyCodeInfoByOpk;\n        var key = menu.get('key');\n        // let title = menu.get('title') //不取多语言\n        var title = menu.getIn(['title', locale]) || menu.getIn(['title', defaultLang]); // 取多语言\n\n        var operationKey = menu.get('operationKey');\n        var vi = menu.get('vi');\n        var l = menu.get('l');\n        var visible = _this2.props.getVisibleInfo(key, vi);\n        var lock = _this2.props.getLockedInfo(key, l);\n        // const subItems = menu.get('item')\n        var liCN = (0, _classnames2[\"default\"])('kd-cq-control kd-cq-btn kd-cq-tabs-btn kd-cq-container-toolbar-item', _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, verticalClassNameTag, true), _Tab[\"default\"].menuInfo, true), _Tab[\"default\"]['menu-disable'], lock), _Tab[\"default\"]['menu-able'], !lock));\n        var shortCutTips = (_getkeyCodeInfoByOpk = (0, _keyCodeTool.getkeyCodeInfoByOpk)(operationKey)) === null || _getkeyCodeInfoByOpk === void 0 ? void 0 : _getkeyCodeInfoByOpk.name;\n        return visible ? /*#__PURE__*/_react[\"default\"].createElement(_TextEllipsisWrap[\"default\"], {\n          key: index\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n          title: title,\n          key: index,\n          className: liCN,\n          \"data-key\": key,\n          \"data-opk\": operationKey,\n          \"data-title\": title,\n          \"data-type\": \"tabtoolbar\",\n          \"data-page-id\": pageId,\n          onClick: function onClick(e) {\n            return _this2.props.onClick(_this2.props.id, key, operationKey, lock);\n          },\n          \"data-btn-key\": key,\n          shortcuttips: shortCutTips\n        }, title)) : /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          key: index,\n          id: key ? key + '_hide_visible' : 'hide_visible',\n          style: {\n            display: 'none'\n          }\n        });\n      };\n      var MoreMenu;\n      if (showMore) {\n        var moreMenus = menus.slice(this.state.firstInvisibleIndex);\n        moreMenus = moreMenus.filter(function (menu) {\n          return _this2.props.getVisibleInfo(menu.get('key'), menu.get('vi'));\n        });\n        var _this$props3 = this.props,\n          _locale = _this$props3.locale,\n          _defaultLang = _this$props3.defaultLang;\n        var options = moreMenus.map(function (menu) {\n          var key = menu.get('key');\n          var title = menu.getIn(['title', _locale]) || menu.getIn(['title', _defaultLang]); // 取多语言\n          var opk = menu.get('operationKey');\n          var lock = _this2.props.getLockedInfo(key, menu.get('l'));\n          return (0, _immutable.fromJS)({\n            key: key,\n            title: title,\n            lock: lock,\n            opk: opk\n          });\n        });\n        MoreMenu = moreMenus.size > 0 && (0, _ToolbarMorePanel[\"default\"])({\n          items: options,\n          onClick: this.handleClick\n        });\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: (0, _classnames2[\"default\"])('kd-cq-container-toolbar', _Tab[\"default\"].menus, verticalClassNameTag),\n        ref: this.menuRef\n      }, menus.take(this.state.firstInvisibleIndex).map(createMenuItem), showMore && MoreMenu && /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Dropdown, {\n        menu: MoreMenu,\n        popperClassName: \"kd-cq-dropdown kd-cq-dropdown-select-type kd-cq-toolbar-more-dropdown\",\n        trigger: \"click\",\n        visible: this.state.dropdownVisible,\n        onVisibleChange: this.handleDropdownVisibleChange\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames2[\"default\"])('kd-cq-control kd-cq-btn kd-cq-tabs-btn kd-cq-container-toolbar-item', _Tab[\"default\"].menuInfo, verticalClassNameTag, _Tab[\"default\"]['menu-able']),\n        title: localeData.more\n      }, \"\\xB7\\xB7\\xB7\"))), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: (0, _classnames2[\"default\"])(_Tab[\"default\"].menus, verticalClassNameTag),\n        ref: this.menuShadowRef,\n        style: {\n          position: 'absolute',\n          visibility: 'hidden'\n        }\n      }, (this.props.menus || []).map(createMenuItem)));\n    }\n  }]);\n  return Menus;\n}(_react[\"default\"].Component)) || _class;\nvar _default = exports[\"default\"] = Menus;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Tabs/Menus.jsx?");

/***/ }),

/***/ "./src/component/web/base/Tabs/Select.jsx":
/*!************************************************!*\
  !*** ./src/component/web/base/Tabs/Select.jsx ***!
  \************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.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.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/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\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _Tab = _interopRequireDefault(__webpack_require__(/*! ./styles/Tab.less */ \"./src/component/web/base/Tabs/styles/Tab.less\"));\nvar _excluded = [\"options\", \"className\", \"enableSearch\", \"onSelect\", \"onClose\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction Select(_ref) {\n  var options = _ref.options,\n    className = _ref.className,\n    enableSearch = _ref.enableSearch,\n    onSelect = _ref.onSelect,\n    onClose = _ref.onClose,\n    other = _objectWithoutProperties(_ref, _excluded);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"ul\", _extends({\n    className: (0, _classnames2[\"default\"])(_Tab[\"default\"].select, className)\n  }, other), options.map(function (option) {\n    if (option.visible === false) {\n      return null;\n    }\n    var cls = (0, _classnames2[\"default\"])(_Tab[\"default\"]['select-item'], 'kd-cq-context-menu-item', _defineProperty(_defineProperty(_defineProperty({}, _Tab[\"default\"]['select-item-disable'], option.disable), 'hover-hover-bg', !option.disable), 'active-theme-bg-fc1', !option.disable));\n    return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n      key: option.key,\n      className: cls,\n      onClick: function onClick(e) {\n        var onClick = option.onClick ? option.onClick : onSelect;\n        if (!option.disable && onClick) {\n          onClick(e, option);\n        }\n      }\n    }, option.title, option.enableClose && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n      className: (0, _classnames2[\"default\"])(_Tab[\"default\"]['icon-close'], 'kdfont kdfont-toubudaohang_guanbi'),\n      onClick: function onClick(e) {\n        return onClose(e, option.key);\n      }\n    }));\n  }));\n}\nvar _default = exports[\"default\"] = Select;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Tabs/Select.jsx?");

/***/ }),

/***/ "./src/component/web/base/Tabs/TabBar.jsx":
/*!************************************************!*\
  !*** ./src/component/web/base/Tabs/TabBar.jsx ***!
  \************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.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-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.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.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\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); }\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.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.array.find-index.js */ \"../../node_modules/core-js/modules/es.array.find-index.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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.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.reverse.js */ \"../../node_modules/core-js/modules/es.array.reverse.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.array.some.js */ \"../../node_modules/core-js/modules/es.array.some.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.set.js */ \"../../node_modules/core-js/modules/es.set.js\");\n__webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.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 _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _classnames17 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _lodash = _interopRequireWildcard(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nvar _kdesign = __webpack_require__(/*! @kdcloudjs/kdesign */ \"webpack/sharing/consume/default/@kdcloudjs/kdesign/@kdcloudjs/kdesign\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _resizeObserve = _interopRequireDefault(__webpack_require__(/*! @/util/resizeObserve */ \"./src/util/resizeObserve.js\"));\nvar _PanelWrapper = _interopRequireDefault(__webpack_require__(/*! @/component/common/PanelWrapper */ \"./src/component/common/PanelWrapper.js\"));\nvar _PanelWithOutside = _interopRequireDefault(__webpack_require__(/*! @/component/common/PanelWithOutside */ \"./src/component/common/PanelWithOutside.js\"));\nvar _AttachDataWrap = __webpack_require__(/*! @/component/common/AttachDataWrap */ \"./src/component/common/AttachDataWrap.js\");\nvar _TabIconMenu = _interopRequireDefault(__webpack_require__(/*! ../TabIconMenu */ \"./src/component/web/base/TabIconMenu.js\"));\nvar _Select = _interopRequireDefault(__webpack_require__(/*! ./Select */ \"./src/component/web/base/Tabs/Select.jsx\"));\nvar _TabBarMore = _interopRequireDefault(__webpack_require__(/*! ./TabBarMore */ \"./src/component/web/base/Tabs/TabBarMore.jsx\"));\nvar _Menus = _interopRequireDefault(__webpack_require__(/*! ./Menus */ \"./src/component/web/base/Tabs/Menus.jsx\"));\nvar _FullscreenIcon = _interopRequireDefault(__webpack_require__(/*! ./FullscreenIcon */ \"./src/component/web/base/Tabs/FullscreenIcon.jsx\"));\nvar _Tab = _interopRequireDefault(__webpack_require__(/*! ./styles/Tab.less */ \"./src/component/web/base/Tabs/styles/Tab.less\"));\nvar _TabSimple = _interopRequireDefault(__webpack_require__(/*! ./styles/TabSimple.less */ \"./src/component/web/base/Tabs/styles/TabSimple.less\"));\nvar _useDragSort = _interopRequireDefault(__webpack_require__(/*! ./hooks/useDragSort */ \"./src/component/web/base/Tabs/hooks/useDragSort.js\"));\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _memoryCacher = __webpack_require__(/*! @/model/memoryCacher */ \"./src/model/memoryCacher.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 _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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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 _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 _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); }\nvar APP_HOME_MODE_STYLE_SUBFFIX = 'appHomeMode';\nfunction calcToAppHomeModeClassNameByDefaultClassName(classname, isAppHomeMode) {\n  var stl = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _Tab[\"default\"];\n  return _defineProperty(_defineProperty({}, stl[classname], true), stl[\"\".concat(classname, \"-\").concat(APP_HOME_MODE_STYLE_SUBFFIX)], isAppHomeMode);\n}\nvar TabBar = /*#__PURE__*/function (_React$Component) {\n  _inherits(TabBar, _React$Component);\n  function TabBar(props) {\n    var _this;\n    _classCallCheck(this, TabBar);\n    _this = _callSuper(this, TabBar, [props]);\n    _this.addValidateListeners = function () {\n      _this.tabsValidateListeners = [];\n      var _this$props = _this.props,\n        pageId = _this$props.pageId,\n        items = _this$props.items;\n      items.forEach(function (tab) {\n        var key = tab.key;\n        var listener = (0, _memoryCacher.addDataChangeListener)(pageId, [_const.CHILDREN_VALIDATE_ERROR, key], function (show) {\n          if (show) {\n            !_this.errorTabs.has(key) && _this.errorTabs.add(key);\n          } else {\n            _this.errorTabs[\"delete\"](key);\n          }\n          _this.setState({\n            errorTabs: Array.from(_this.errorTabs)\n          });\n        });\n        var switchListener = (0, _memoryCacher.addDataChangeListener)(pageId, [_const.ACTIVATE_TAB, key], function (data) {\n          if (data && !tab.locked) {\n            _this.props.onHandleClick('', key);\n          }\n        });\n        _this.tabsValidateListeners.push(listener, switchListener);\n      });\n    };\n    _this.removeValidateListeners = function () {\n      _this.tabsValidateListeners.forEach(function (removeListener) {\n        return removeListener();\n      });\n    };\n    _this.isImmutableListSame = function (data, newData) {\n      if (!_immutable.Map.isMap(data)) data = (0, _immutable.fromJS)(data);\n      if (!_immutable.Map.isMap(newData)) newData = (0, _immutable.fromJS)(newData);\n      data = data && data.toJS() || [];\n      newData = newData && newData.toJS() || [];\n      return _lodash[\"default\"].isEqual(data, newData);\n    };\n    _this.shouldCalculate = function () {\n      if (_this.props.tabStyle === 2) {\n        return false;\n      }\n      return true;\n    };\n    _this.reCalcTabBar = function (rect) {\n      // 初始化componentDidMount会调用setShow,这里初始不执行，避免重复执行造成回流\n      // 但是，新版设计器componentDidMount调用setShow，offsetwidth为0，故注释，在这里初始执行\n      // if (!this.hasResizeObserve) {\n      //   this.hasResizeObserve = true\n      //   return\n      // }\n      var hide = rect.hide;\n      if (hide) return;\n      var _this$props2 = _this.props,\n        canSlide = _this$props2.canSlide,\n        showMore = _this$props2.showMore;\n      if ((canSlide || showMore) && _this.props.items.length) {\n        _this.setShow();\n      }\n    };\n    _this.calcTabBarInsideVisible = function (items) {\n      // 默认风格页签则固定根页签\n      var fixedHomeTab = _this.isDefaultTabStyle(_this.props.tabStyle);\n      var _this$refs = _this.refs,\n        nav = _this$refs.nav,\n        navWrap = _this$refs.navWrap;\n      var tabBarChildren = Array.from(nav.children);\n      var isHomeTabBarEleFunc = function isHomeTabBarEleFunc(ele) {\n        return ele && fixedHomeTab && ele.hasAttribute('data-bar-home');\n      };\n      var homeTabBarEleArray = _lodash[\"default\"].filter(tabBarChildren, isHomeTabBarEleFunc);\n      if (fixedHomeTab && homeTabBarEleArray.length > 1) {\n        throw new Error('根页签只允许存在一个!');\n      }\n      var homeTab = homeTabBarEleArray[0];\n      var tabStyle = _this.props.tabStyle;\n      var isDefaultTabStyle = _this.isDefaultTabStyle;\n      var getTabBarEleOffset = function getTabBarEleOffset(ele) {\n        var offsetWidth = ele.offsetWidth;\n        if (isHomeTabBarEleFunc(ele) && isDefaultTabStyle(tabStyle)) {\n          return offsetWidth;\n        }\n        if (isDefaultTabStyle(tabStyle)) {\n          return offsetWidth + 30;\n        }\n        if (_this.props.tabStyle === 1) {\n          return offsetWidth;\n        }\n        if (_this.props.tabStyle === 2) {\n          return offsetWidth;\n        }\n        if (_this.props.tabStyle === 3) {\n          return offsetWidth + 30;\n        }\n        if (_this.props.tabStyle === 4) {\n          return offsetWidth + 30;\n        }\n      };\n      var totalOffset = 0;\n      // 根页签宽度\n      if (homeTab) {\n        totalOffset += getTabBarEleOffset(homeTab);\n      }\n      var isActiveKey = function isActiveKey(item) {\n        return item.key === _this.props.activeKey;\n      };\n      var activeTabIndex = items.findIndex(isActiveKey);\n      // 更多页签的宽度\n      totalOffset += 40;\n      // 新增页签add的宽度\n      if (_this.props.showAddIcon) {\n        totalOffset += 40;\n      }\n      var setInsideVisible = function setInsideVisible(dataPageId, datTabKey, insideVisible) {\n        items = _lodash[\"default\"].map(items, function (item) {\n          if (item.dataPageId === dataPageId || item.key === datTabKey) {\n            return _objectSpread(_objectSpread({}, item), {}, {\n              insideVisible: insideVisible\n            });\n          }\n          return item;\n        });\n      };\n      var afterAticeTabEls = _lodash[\"default\"].slice(tabBarChildren, activeTabIndex);\n      var beforeActiveTabEls = _lodash[\"default\"].slice(tabBarChildren, 0, activeTabIndex);\n      var setTnsideVisibleTrueByEle = function setTnsideVisibleTrueByEle(el) {\n        var datPageId = el.getAttribute('data-page-id');\n        var dataTabKey = el.getAttribute('data-tab-key');\n        if (el.hasAttribute('data-bar-key')) {\n          return;\n        }\n        if (el.hasAttribute('data-bar-home')) {\n          setInsideVisible(datPageId, dataTabKey, true);\n          return;\n        }\n        var eleOffset = getTabBarEleOffset(el);\n        if (totalOffset + eleOffset < navWrap.offsetWidth) {\n          totalOffset += eleOffset;\n          setInsideVisible(datPageId, dataTabKey, true);\n        } else {\n          setInsideVisible(datPageId, dataTabKey, false);\n        }\n      };\n      _lodash[\"default\"].forEach(afterAticeTabEls, setTnsideVisibleTrueByEle);\n      _lodash[\"default\"].forEachRight(beforeActiveTabEls, setTnsideVisibleTrueByEle);\n      return items;\n    };\n    _this.updateTabBarPanels = function (newTabBarPanels) {\n      if (!_lodash[\"default\"].isEqual(newTabBarPanels, _this.state.tabBarPanels)) {\n        _this.setState({\n          tabBarPanels: newTabBarPanels\n        });\n      }\n    };\n    _this.getTabBarOperations = function (dynamicTabBars, activeTabBar) {\n      var excludeActiveTab = function excludeActiveTab(tabs, activeKey) {\n        return _lodash[\"default\"].filter(tabs, function (tab) {\n          return tab.key !== activeKey;\n        });\n      };\n      var excludeActiveDynamicTabs = excludeActiveTab(dynamicTabBars, activeTabBar.key);\n      var operations = [{\n        key: 'closeCurrentTab',\n        title: _this.localeData.closeCurrentTab,\n        // disable: !activeTabBar.dynamicTab,\n        visible: activeTabBar.dynamicTab,\n        onClick: function onClick(e) {\n          _this.props.onHandleCloseClick(e, _this.contextMenuActiveTabKey);\n        }\n      }, {\n        key: 'closeOthers',\n        title: _this.localeData.closeOthers,\n        // disable: excludeActiveDynamicTabs.length === 0,\n        visible: excludeActiveDynamicTabs.length !== 0,\n        onClick: function onClick(e) {\n          _this.props.onHandleCloseOthersClick(e, _this.contextMenuActiveTabKey);\n        }\n      }, {\n        key: 'closeAll',\n        title: _this.localeData.closeAll,\n        // disable: dynamicTabBars.length === 0,\n        visible: dynamicTabBars.length !== 0,\n        onClick: function onClick(e) {\n          return _this.props.onHandleCloseAllClick(e);\n        }\n      }, {\n        key: 'reOpenTab',\n        title: _this.localeData.reOpenTab,\n        // disable: dynamicTabBars.length === 0,\n        visible: dynamicTabBars.length !== 0,\n        onClick: function onClick(e) {\n          return _this.props.onHandleReOpenTab(e, _this.contextMenuActiveTabKey);\n        }\n      }];\n      // if (_.every(operations, ['visible', false])) {\n      //   return []\n      // }\n      return operations;\n    };\n    _this.renderMorePanel = function () {\n      var tabBarPanels = _toConsumableArray(_this.props.items);\n      var items = _lodash[\"default\"].reverse(_lodash[\"default\"].filter(tabBarPanels, ['insideVisible', false]));\n      var dynamicTabBars = _lodash[\"default\"].filter(tabBarPanels, ['dynamicTab', true]);\n      var activeTabBar = _lodash[\"default\"].find(tabBarPanels, ['key', _this.props.activeKey]);\n      var operations = _this.getTabBarOperations(dynamicTabBars, activeTabBar);\n      // const operations = []\n      return /*#__PURE__*/_reactDom[\"default\"].createPortal( /*#__PURE__*/_react[\"default\"].createElement(_PanelWrapper[\"default\"], {\n        defaultAlign: {\n          right: true\n        },\n        trigger: _this.moreTrigger,\n        onClose: function onClose() {\n          return _this.setState({\n            showMoreTabBarPanel: false\n          });\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(_TabBarMore[\"default\"], {\n        items: items,\n        localeData: _this.localeData,\n        onItemClose: function onItemClose(e, key) {\n          _this.props.onHandleCloseClick(e, key);\n        },\n        onItemClick: function onItemClick(e, key) {\n          _this.setState({\n            showMoreTabBarPanel: false\n          });\n          _this.props.onHandleClick(e, key);\n        },\n        operations: operations\n      })), document.body);\n    };\n    _this.handleDropdownClose = function () {\n      _this.setState({\n        contextMenuVisible: false,\n        dropdownVisible: false\n      });\n    };\n    _this.renderContextMenu = function () {\n      var activeTabBar = _lodash[\"default\"].find(_this.props.items, ['key', _this.props.activeKey]);\n      var _this$props3 = _this.props,\n        isAppHomeTabStyleMode = _this$props3.isAppHomeTabStyleMode,\n        _this$props3$appHomeT = _this$props3.appHomeTabModeProps,\n        appHomeTabModeProps = _this$props3$appHomeT === void 0 ? {} : _this$props3$appHomeT;\n      var contextMenuRenderOption = appHomeTabModeProps.contextMenuRenderOption;\n      if (isAppHomeTabStyleMode && !Object.keys(contextMenuRenderOption).some(function (key) {\n        return contextMenuRenderOption[key];\n      })) return;\n      if (!activeTabBar || !activeTabBar.dynamicTab) {\n        // 不是动态页签，不开启右键菜单\n        return null;\n      }\n      var excludeActiveTab = function excludeActiveTab(tabs, activeKey) {\n        return _lodash[\"default\"].filter(tabs, function (tab) {\n          return tab.key !== activeKey;\n        });\n      };\n      var dynamicTabBars = _lodash[\"default\"].filter(_this.props.items, ['dynamicTab', true]);\n      var excludeActiveDynamicTabs = excludeActiveTab(dynamicTabBars, activeTabBar.key);\n      var contextMenuActiveKeyIndex = _this.props.items.findIndex(function (i) {\n        return i.key === _this.contextMenuActiveTabKey;\n      });\n      var exitRightTab = contextMenuActiveKeyIndex !== _this.props.items.length - 1;\n      var exitLeftTab = dynamicTabBars.findIndex(function (i) {\n        return i.key === _this.contextMenuActiveTabKey;\n      }) !== 0;\n      var options = [{\n        key: 'closeCurrentTab',\n        title: _this.localeData.closeCurrentTab,\n        visible: activeTabBar.dynamicTab,\n        onClick: function onClick(e) {\n          _this.handleDropdownClose();\n          _this.props.onHandleCloseClick(e, _this.contextMenuActiveTabKey);\n        }\n      }, {\n        key: 'closeOthers',\n        title: _this.localeData.closeOthers,\n        visible: excludeActiveDynamicTabs.length !== 0,\n        onClick: function onClick(e) {\n          _this.handleDropdownClose();\n          _this.props.onHandleCloseOthersClick(e, _this.contextMenuActiveTabKey);\n        }\n      }, {\n        key: 'closeLeftTab',\n        title: _this.localeData.closeLeftTab,\n        visible: exitLeftTab,\n        onClick: function onClick(e) {\n          e.stopPropagation();\n          _this.handleDropdownClose();\n          var LeftTabKeys = _this.props.items.slice(0, contextMenuActiveKeyIndex).map(function (i) {\n            return i.key;\n          });\n          _this.props.onHandleCloseRightTabClick(_this.contextMenuActiveTabKey, LeftTabKeys);\n        }\n      }, {\n        key: 'closeRightTab',\n        title: _this.localeData.closeRightTab,\n        visible: exitRightTab,\n        onClick: function onClick(e) {\n          e.stopPropagation();\n          _this.handleDropdownClose();\n          var rightTabKeys = _this.props.items.slice(contextMenuActiveKeyIndex + 1).map(function (i) {\n            return i.key;\n          });\n          _this.props.onHandleCloseRightTabClick(_this.contextMenuActiveTabKey, rightTabKeys);\n        }\n      }, {\n        key: 'closeAll',\n        title: _this.localeData.closeAll,\n        visible: dynamicTabBars.length > 1,\n        // 只有一个也是不会展示关闭全部\n        onClick: function onClick(e) {\n          _this.handleDropdownClose();\n          _this.props.onHandleCloseAllClick(e);\n        }\n      }, {\n        key: 'reOpenTab',\n        title: _this.localeData.reOpenTab,\n        visible: dynamicTabBars.length > 0,\n        // 只有一个也是不会展示关闭全部\n        onClick: function onClick(e) {\n          _this.handleDropdownClose();\n          _this.props.onHandleReOpenTab(e, _this.contextMenuActiveTabKey);\n        }\n      }];\n      return /*#__PURE__*/_reactDom[\"default\"].createPortal( /*#__PURE__*/_react[\"default\"].createElement(_PanelWithOutside[\"default\"], {\n        onCLickOutside: _this.handleDropdownClose\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        ref: _this.contextMenuPanelRef,\n        className: (0, _classnames17[\"default\"])(_Tab[\"default\"]['context-menu'], 'kd-cq-context-menu'),\n        style: _this.contextMenuStyle\n      }, /*#__PURE__*/_react[\"default\"].createElement(_Select[\"default\"], {\n        options: options\n      }))), document.body);\n    };\n    _this.isDefaultTabStyle = function (tabStyle) {\n      return ![1, 2, 3, 4].includes(tabStyle);\n    };\n    _this.onTabbarHover = function (e) {\n      e.target.addEventListener('contextmenu', _this.contextMenuHandler);\n    };\n    _this.onTabbarLeave = function (e) {\n      e.target.removeEventListener('contextmenu', _this.contextMenuHandler);\n    };\n    _this.contextMenuHandler = function (e) {\n      var target = e.target;\n      while (!target.hasAttribute('data-tab-key')) {\n        target = target.parentElement;\n      }\n      _this.contextMenuActiveTabKey = target.getAttribute('data-tab-key');\n      _this.contextMenuStyle = {\n        position: 'fixed',\n        top: e.clientY + 'px',\n        left: e.clientX + 10 + 'px',\n        zIndex: 1050\n      };\n      _this.setState({\n        contextMenuVisible: true\n      });\n      e.preventDefault();\n    };\n    _this.getDataPageId = function (tabPageModel) {\n      // if (!tabPageModel) return\n      // let dataPageId = getDataPageId(tabPageModel.pageId, tabPageModel.key)\n      // dataPageId = dataPageId + '_tabpage'\n      return _this.props.dataPageId;\n    };\n    _this.getDataValidSelector = function (tabPageModel) {\n      if (!tabPageModel) return;\n      var dataPageId = (0, _AttachDataWrap.getDataPageId)(tabPageModel.pageId, tabPageModel.key);\n      return \"[data-page-id=\\\"\".concat(dataPageId, \"_tabpage\\\"] [data-valid=\\\"\").concat(tabPageModel.pageId, \"\\\"]\");\n    };\n    _this.onDragEnd = function (data) {\n      var _this$props$onDragEnd, _this$props4;\n      (_this$props$onDragEnd = (_this$props4 = _this.props).onDragEnd) === null || _this$props$onDragEnd === void 0 || _this$props$onDragEnd.call(_this$props4, data);\n    };\n    _this.handleMoreBtnMouseEnter = function () {\n      _this.setState({\n        dropdownVisible: true\n      });\n    };\n    _this.handleDropdownVisibleChange = function (visible) {\n      if (_this.state.contextMenuVisible) {\n        return;\n      }\n      if (visible !== _this.state.dropdownVisible) {\n        _this.setState({\n          dropdownVisible: visible\n        });\n      }\n    };\n    _this.state = {\n      next: false,\n      prev: false,\n      isShow: false,\n      contextMenuVisible: false,\n      dropdownVisible: false,\n      tabWidth: 0,\n      errorTabs: []\n    };\n    _this.errorTabs = new Set();\n    _this.prev = _this.prev.bind(_assertThisInitialized(_this));\n    _this.next = _this.next.bind(_assertThisInitialized(_this));\n    _this.activeTabRef = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.contextMenuPanelRef = /*#__PURE__*/_react[\"default\"].createRef();\n    _this.localeData = {\n      cancelFullscreen: (0, _intlApi.getLangMsg)({\n        key: 'tabs.key0001'\n      }),\n      fullscreen: (0, _intlApi.getLangMsg)({\n        key: 'tabs.key0002'\n      }),\n      more: (0, _intlApi.getLangMsg)({\n        key: 'tabs.key0003'\n      }),\n      closeCurrentTab: (0, _intlApi.getLangMsg)({\n        key: 'tabs.key0004'\n      }),\n      closeOthers: (0, _intlApi.getLangMsg)({\n        key: 'tabs.key0005'\n      }),\n      closeAll: (0, _intlApi.getLangMsg)({\n        key: 'tabs.key0006'\n      }),\n      pleaseInput: (0, _intlApi.getLangMsg)({\n        key: 'tabs.key0007'\n      }),\n      closeRightTab: (0, _intlApi.getLangMsg)({\n        key: 'tabs.key0008'\n      }),\n      reOpenTab: (0, _intlApi.getLangMsg)({\n        key: 'tabs.key0010'\n      }),\n      closeLeftTab: (0, _intlApi.getLangMsg)({\n        key: 'tabs.key0011'\n      })\n    };\n    // this.hasResizeObserve = false\n    return _this;\n  }\n  _createClass(TabBar, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this2 = this;\n      var _this$props5 = this.props,\n        canSlide = _this$props5.canSlide,\n        showMore = _this$props5.showMore;\n      if (canSlide || showMore) {\n        this.setOffset(0);\n        if (this.props.items.length) {\n          this.setShow();\n        }\n      }\n      if (this.shouldCalculate()) {\n        // 添加resize监听\n        this.resizeObserve = (0, _resizeObserve[\"default\"])(this.refs.barContainer, _lodash[\"default\"].debounce(this.reCalcTabBar, 200));\n        this.navResizeObserver = (0, _resizeObserve[\"default\"])(this.refs.nav, function (rect) {\n          if (rect.hide) return;\n          _this2.setState({\n            tabWidth: rect.width\n          });\n        });\n        this.navWrapResizeObserver = (0, _resizeObserve[\"default\"])(this.refs.navWrap, function (rect) {\n          if (rect.hide) return;\n          _this2.scrollToActiveTab();\n          if (!_this2.activeTabRef.current) return;\n          var right = _this2.activeTabRef.current.getBoundingClientRect().right;\n          var wrapRight = _this2.refs.navWrap.getBoundingClientRect().right;\n          if (right > wrapRight) {\n            _this2.setState({\n              next: true\n            });\n          }\n        });\n      }\n      this.addValidateListeners();\n    }\n  }, {\n    key: \"componentDidUpdate\",\n    value: function componentDidUpdate(prevProps, prevState) {\n      var _this$props6 = this.props,\n        canSlide = _this$props6.canSlide,\n        tabBarPosition = _this$props6.tabBarPosition,\n        activeKey = _this$props6.activeKey,\n        showMore = _this$props6.showMore,\n        isVertical = _this$props6.isVertical,\n        items = _this$props6.items;\n      if (canSlide || showMore) {\n        var _prevProps$items;\n        var tabCount = (items === null || items === void 0 ? void 0 : items.length) || 0;\n        var prevTabCount = (prevProps === null || prevProps === void 0 || (_prevProps$items = prevProps.items) === null || _prevProps$items === void 0 ? void 0 : _prevProps$items.length) || 0;\n        /**\n         * 左右切换按钮显示判断触发逻辑：\n         * 1.新开页签\n         * 2.删除页签，左右切换的按钮处于显示状态\n         */\n        var tabChange = tabCount > prevTabCount || tabCount < prevTabCount && this.state.isShow;\n        if (tabChange || !isVertical && prevProps.isVertical) {\n          this.setShow();\n        }\n        if (prevProps.tabBarPosition !== tabBarPosition) {\n          this.setOffset(0);\n          return;\n        }\n        if (prevState.isShow !== this.state.isShow) {\n          this.setNextPrev();\n        }\n        if (activeKey && activeKey !== prevProps.activeKey || tabCount !== prevTabCount) {\n          this.scrollToActiveTab();\n        }\n\n        // activeKey相等，但是标题可能发生变更\n        if (activeKey && activeKey === prevProps.activeKey) {\n          var currentTitle = items.find(function (item) {\n            return item.key === activeKey;\n          });\n          var prevTitle = prevProps.items.find(function (item) {\n            return item.key === activeKey;\n          });\n          if (currentTitle !== prevTitle) {\n            this.scrollToActiveTab();\n          }\n        }\n      }\n\n      // 重新调整面板位置，仅解决平铺试图的场景\n      if (this.state.dropdownVisible && this.state.contextMenuVisible && this.contextMenuPanelRef.current) {\n        var _this$contextMenuPane = this.contextMenuPanelRef.current.getBoundingClientRect(),\n          x = _this$contextMenuPane.x,\n          width = _this$contextMenuPane.width;\n        var _document$body$getBou = document.body.getBoundingClientRect(),\n          bodyWidth = _document$body$getBou.width;\n        if (x + width > bodyWidth) {\n          var _this$contextMenuStyl = this.contextMenuStyle,\n            position = _this$contextMenuStyl.position,\n            top = _this$contextMenuStyl.top,\n            zIndex = _this$contextMenuStyl.zIndex;\n          var cssText = \"position: \".concat(position, \"; top: \").concat(top, \"; left: \").concat(bodyWidth - width, \"px; z-index: \").concat(zIndex, \";\");\n          this.contextMenuPanelRef.current.style.cssText = cssText;\n        }\n      }\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      if (this.resizeObserve) {\n        this.resizeObserve.removeResizeObserve();\n        this.resizeObserve = null;\n      }\n      if (this.navResizeObserver) {\n        this.navResizeObserver.removeResizeObserve();\n        this.navResizeObserver = null;\n      }\n      if (this.navWrapResizeObserver) {\n        this.navWrapResizeObserver.removeResizeObserve();\n        this.navWrapResizeObserver = null;\n      }\n      this.removeValidateListeners();\n    }\n  }, {\n    key: \"setShow\",\n    value: function setShow() {\n      var _this3 = this;\n      window.requestAnimationFrame(function () {\n        var _this3$refs = _this3.refs,\n          navWrap = _this3$refs.navWrap,\n          nav = _this3$refs.nav;\n        var isShow = navWrap.offsetWidth < nav.offsetWidth;\n        if (isShow !== _this3.state.isShow) {\n          _this3.setState({\n            isShow: isShow\n          });\n        }\n      });\n    }\n  }, {\n    key: \"setOffset\",\n    value: function setOffset(offset) {\n      var _this4 = this;\n      var checkNextPrev = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n      window.requestAnimationFrame(function () {\n        var target = Math.min(0, offset);\n        if (_this4.offset !== target) {\n          _this4.offset = target;\n          var navOffset = {};\n          var tabBarPosition = _this4.props.tabBarPosition;\n          var navStyle = _this4.refs.nav.style;\n          var transformSupported = _this4.isTransformSupported(navStyle);\n          if (transformSupported) {\n            navOffset = {\n              value: \"translate3d(\".concat(target, \"px,0,0)\")\n            };\n          } else {\n            navOffset = {\n              name: 'left',\n              value: \"\".concat(target, \"px\")\n            };\n          }\n          if (transformSupported) {\n            _this4.setTransform(navStyle, navOffset.value);\n          } else {\n            navStyle[navOffset.name] = navOffset.value;\n          }\n          if (checkNextPrev) {\n            _this4.setNextPrev();\n          }\n        }\n      });\n    }\n  }, {\n    key: \"setPrev\",\n    value: function setPrev(v) {\n      if (this.state.prev !== v) {\n        this.setState({\n          prev: v\n        });\n      }\n    }\n  }, {\n    key: \"setNext\",\n    value: function setNext(v) {\n      if (this.state.next !== v) {\n        this.setState({\n          next: v\n        });\n      }\n    }\n  }, {\n    key: \"setNextPrev\",\n    value: function setNextPrev() {\n      var _this5 = this;\n      window.requestAnimationFrame(function () {\n        var navNode = _this5.refs.nav;\n        var navNodeWH = _this5.getOffsetWH(navNode);\n        var navWrapNode = _this5.refs.navWrap;\n        var navWrapNodeWH = _this5.getOffsetWH(navWrapNode);\n        // console.log(navNode, navWrapNode, navNodeWH, navWrapNodeWH)\n        var offset = _this5.offset;\n        var minOffset = navWrapNodeWH - navNodeWH;\n        var _this5$state = _this5.state,\n          next = _this5$state.next,\n          prev = _this5$state.prev;\n        if (minOffset >= 0) {\n          next = false;\n          _this5.setOffset(0, false);\n          offset = 0;\n        } else if (minOffset < offset) {\n          next = true;\n        } else {\n          next = false;\n          _this5.setOffset(minOffset, false);\n          offset = minOffset;\n        }\n        if (offset < 0) {\n          prev = true;\n        } else {\n          prev = false;\n        }\n        _this5.setNext(next);\n        _this5.setPrev(prev);\n        return {\n          next: next,\n          prev: prev\n        };\n      });\n    }\n  }, {\n    key: \"prev\",\n    value: function prev(e) {\n      var navWrapNode = this.refs.navWrap;\n      var navWrapNodeWH = this.getOffsetWH(navWrapNode);\n      var offset = this.offset;\n      this.setOffset(offset + navWrapNodeWH);\n    }\n  }, {\n    key: \"next\",\n    value: function next(e) {\n      var navWrapNode = this.refs.navWrap;\n      var navWrapNodeWH = this.getOffsetWH(navWrapNode);\n      var offset = this.offset;\n      this.setOffset(offset - navWrapNodeWH);\n    }\n  }, {\n    key: \"isNextPrevShown\",\n    value: function isNextPrevShown(state) {\n      return state.next || state.prev;\n    }\n  }, {\n    key: \"scrollToActiveTab\",\n    value: function scrollToActiveTab() {\n      var _this6 = this;\n      window.requestAnimationFrame(function () {\n        var _this6$refs = _this6.refs,\n          navWrap = _this6$refs.navWrap,\n          nav = _this6$refs.nav;\n        var activeTabRef = _this6.activeTabRef;\n        var _this6$props = _this6.props,\n          activeKey = _this6$props.activeKey,\n          items = _this6$props.items;\n        var navWrapNodeWH = _this6.getOffsetWH(navWrap);\n        var navNodeWH = _this6.getOffsetWH(nav);\n        var isHorizontal = _this6.props.tabBarPosition === 'left' || _this6.props.tabBarPosition === 'right';\n        var activeTab = activeTabRef.current;\n        if (activeTab) {\n          var activeTabWH = _this6.getOffsetWH(activeTab);\n          var offset = _this6.offset;\n          var wrapRect = navWrap.getBoundingClientRect();\n          var activeTabRect = activeTab.getBoundingClientRect();\n          var navRect = nav.getBoundingClientRect();\n          var wrapOffset = isHorizontal ? wrapRect.top : wrapRect.left;\n          var activeTabOffset = isHorizontal ? activeTabRect.top : activeTabRect.left;\n          var isLastTab = items[items.length - 1].key === activeKey;\n          // 最后一个 tab 关闭时，如果倒数第二个 tab 是 active，将其滚动到最右贴边\n          if (!isHorizontal && isLastTab && offset < 0) {\n            // this.setOffset(offset + wrapRect.right - activeTabRect.right)\n            // 滚动到最后一元素\n            _this6.setOffset(navWrapNodeWH - navNodeWH);\n            return;\n          }\n          if (wrapOffset > activeTabOffset) {\n            offset += wrapOffset - activeTabOffset;\n            _this6.setOffset(offset);\n          } else if (wrapOffset + navWrapNodeWH < activeTabOffset + activeTabWH) {\n            offset -= activeTabOffset + activeTabWH - (wrapOffset + navWrapNodeWH);\n            _this6.setOffset(offset);\n          } else {\n            var overRight = wrapRect.right - navRect.right;\n            if (!isHorizontal && offset !== 0 && overRight > 0) {\n              // 处理右边留白的情况\n              offset += overRight;\n              _this6.setOffset(offset);\n            }\n          }\n        }\n        if (!activeTab && !isHorizontal && _this6.offset < 0) {\n          // 滚动页签时，处理 activeTab不存在，关闭右侧tab时的留白问题\n          // 滚动到最后一元素\n          _this6.setOffset(navWrapNodeWH - navNodeWH);\n        }\n      });\n    }\n  }, {\n    key: \"getOffsetWH\",\n    value: function getOffsetWH(node) {\n      var tabBarPosition = this.props.tabBarPosition;\n      var prop = 'offsetWidth';\n      if (tabBarPosition === 'left' || tabBarPosition === 'right') {\n        prop = 'offsetHeight';\n      }\n      return node[prop];\n    }\n  }, {\n    key: \"getOffsetLT\",\n    value: function getOffsetLT(node) {\n      var tabBarPosition = this.props.tabBarPosition;\n      var prop = 'left';\n      if (tabBarPosition === 'left' || tabBarPosition === 'right') {\n        prop = 'top';\n      }\n      return node.getBoundingClientRect()[prop];\n    }\n  }, {\n    key: \"isTransformSupported\",\n    value: function isTransformSupported(style) {\n      return 'transform' in style || 'webkitTransform' in style || 'MozTransform' in style;\n    }\n  }, {\n    key: \"setTransform\",\n    value: function setTransform(style, v) {\n      style.transform = v;\n      style.webkitTransform = v;\n      style.mozTransform = v;\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this7 = this;\n      var _this$props7 = this.props,\n        showAddIcon = _this$props7.showAddIcon,\n        isStorageMode = _this$props7.isStorageMode,\n        hideNavigation = _this$props7.hideNavigation,\n        canCloseAll = _this$props7.canCloseAll,\n        canSlide = _this$props7.canSlide,\n        canFull = _this$props7.canFull,\n        showHelp = _this$props7.showHelp,\n        showTeamWork = _this$props7.showTeamWork,\n        showInsight = _this$props7.showInsight,\n        isfullTab = _this$props7.isfullTab,\n        tabStyle = _this$props7.tabStyle,\n        items = _this$props7.items,\n        onHandleClick = _this$props7.onHandleClick,\n        onHandeAddClick = _this$props7.onHandeAddClick,\n        onHandleCloseClick = _this$props7.onHandleCloseClick,\n        menus = _this$props7.menus,\n        activeKey = _this$props7.activeKey,\n        locale = _this$props7.locale,\n        defaultLang = _this$props7.defaultLang,\n        getVisibleInfo = _this$props7.getVisibleInfo,\n        getLockedInfo = _this$props7.getLockedInfo,\n        pageId = _this$props7.pageId,\n        handleIconClick = _this$props7.handleIconClick,\n        showMore = _this$props7.showMore,\n        isVertical = _this$props7.isVertical,\n        _this$props7$appHomeT = _this$props7.appHomeTabModeProps,\n        appHomeTabModeProps = _this$props7$appHomeT === void 0 ? {} : _this$props7$appHomeT,\n        isAppHomeTabStyleMode = _this$props7.isAppHomeTabStyleMode,\n        fullScreenSlot = _this$props7.fullScreenSlot,\n        locked = _this$props7.locked;\n      var customedRenderItem = appHomeTabModeProps.customedRenderItem;\n      var _this$state = this.state,\n        next = _this$state.next,\n        prev = _this$state.prev,\n        errorTabs = _this$state.errorTabs;\n      var closeAllSpan, barItem, bardiv, prevspan, nextspan, selectSpan;\n      var tabMenus = menus;\n      var simpleVerticalClassNameTag = (0, _classnames17[\"default\"])(_defineProperty({}, _TabSimple[\"default\"].verticalTag, isVertical));\n      var verticalClassNameTag = (0, _classnames17[\"default\"])(_defineProperty({}, _Tab[\"default\"].verticalTag, isVertical));\n      var dotStyle = {\n        marginLeft: '2px'\n      };\n      if ([1, 2, 3, 4].includes(tabStyle)) {\n        barItem = items.map(function (item, index) {\n          var key = item.key;\n          var itemCN = null;\n          item.label = item.title;\n          if (item.locked) {\n            item.disabled = true;\n          }\n          if (tabStyle == 1) {\n            var interactionClass = (0, _classnames17[\"default\"])({\n              'follow-theme-bg-fc1': item.active,\n              'tab-item-active': item.active,\n              'tab-item-hover': !item.active,\n              'active-theme-bg-fc1': true,\n              'active-theme-border-color1': true\n            });\n            itemCN = (0, _classnames17[\"default\"])('kd-cq-tabs-tab', _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _TabSimple[\"default\"].item, true), simpleVerticalClassNameTag, true), 'theme tab-item', true), interactionClass, !item.locked));\n          } else {\n            var _interactionClass = (0, _classnames17[\"default\"])({\n              'theme tab-active': item.active,\n              'hover-theme-fc': true,\n              'after-theme-bg': true,\n              'active-theme-fc1': true\n            });\n            itemCN = (0, _classnames17[\"default\"])('kd-cq-tabs-tab', _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _TabSimple[\"default\"].item, true), simpleVerticalClassNameTag, true), _TabSimple[\"default\"]['bar-card-borderStyle'], tabStyle === 4 && !(canSlide && _this7.state.isShow)), _interactionClass, !item.locked));\n          }\n          itemCN = (0, _classnames17[\"default\"])(itemCN, _defineProperty({}, \"kd-cq-tabs-tab-locked \".concat(_TabSimple[\"default\"].locked), item.locked) /*, { [styles['inside-hide']]: item.insideVisible === false } */);\n          // , 'theme-bg': item.active\n\n          var ref = {};\n          if (item.active) {\n            ref.ref = _this7.activeTabRef;\n          }\n          return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n            key: key,\n            \"data-tab-key\": key,\n            \"data-page-id\": item.dataPageId,\n            onClick: function onClick(e) {\n              return onHandleClick(e, key);\n            },\n            className: itemCN\n          }, ref), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: (0, _classnames17[\"default\"])(_TabSimple[\"default\"]['item-title'])\n          }, item.title), !item.active && (errorTabs === null || errorTabs === void 0 ? void 0 : errorTabs.includes(key)) && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: _Tab[\"default\"]['dot-icon-wrap']\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: (0, _classnames17[\"default\"])(_Tab[\"default\"]['dot-icon'], 'kdfont kdfont-jinggao-mian')\n          })), item.slot, item.badgeEle);\n        });\n        if (showAddIcon) {\n          barItem.push( /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: (0, _classnames17[\"default\"])(_TabSimple[\"default\"].add, simpleVerticalClassNameTag),\n            key: \"@tab-bar-add\",\n            \"data-bar-key\": \"tab-bar-add\",\n            onClick: function onClick(e) {\n              onHandeAddClick();\n            }\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, \"+\")));\n        }\n        if ([1, 3, 4].includes(tabStyle)) {\n          // 格子、迷你、卡片页签\n          prevspan = canSlide && this.state.isShow && !isVertical ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: (0, _classnames17[\"default\"])(_TabSimple[\"default\"][\"bar-prev-\".concat(tabStyle)], _defineProperty({}, _TabSimple[\"default\"]['bar-btn-disabled'], !prev)),\n            onClick: prev ? this.prev : null,\n            unselectable: \"unselectable\"\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n            className: \"kdfont kdfont-qianfan\"\n          })) : null;\n          nextspan = canSlide && this.state.isShow && !isVertical ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: (0, _classnames17[\"default\"])(_TabSimple[\"default\"][\"bar-next-\".concat(tabStyle)], _defineProperty({}, _TabSimple[\"default\"]['bar-btn-disabled'], !next)),\n            onClick: next ? this.next : null,\n            unselectable: \"unselectable\"\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n            className: \"kdfont kdfont-houfan\"\n          })) : null;\n        }\n        bardiv = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames17[\"default\"])(_TabSimple[\"default\"][\"bar-panel-\".concat(tabStyle)], simpleVerticalClassNameTag),\n          ref: \"navWrap\"\n        }, tabStyle === 4 && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames17[\"default\"])(_TabSimple[\"default\"]['bar-card-border'], 'strong-border')\n        }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames17[\"default\"])(_TabSimple[\"default\"]['bar-nav-scroll'], simpleVerticalClassNameTag)\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames17[\"default\"])(_TabSimple[\"default\"]['bar-nav-animated'], simpleVerticalClassNameTag),\n          ref: \"nav\"\n        }, barItem)));\n      } else {\n        var showPrevNextSpan = canSlide && this.state.isShow && !isVertical;\n        if (customedRenderItem) {\n          barItem = items.map(function (item) {\n            var ref = {};\n            if (item.isActive) {\n              ref.ref = _this7.activeTabRef;\n            }\n            return customedRenderItem(item, _objectSpread({\n              'data-tab-key': item.key,\n              'data-page-id': item.dataPageId,\n              onClick: function onClick(e) {\n                return onHandleClick(e, item.key);\n              }\n            }, ref));\n          });\n        } else {\n          barItem = items.map(function (item, index) {\n            var closeSpan;\n            var key = item.key;\n            item.label = item.title;\n            if (item.dynamicTab) {\n              closeSpan = /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n                className: (0, _classnames17[\"default\"])(_Tab[\"default\"].close, {\n                  'kdfont kdfont-toubudaohang_guanbi': true\n                }),\n                onClick: function onClick(e) {\n                  onHandleCloseClick(e, key);\n                }\n              });\n            }\n            var ref = {};\n            if (item.active) {\n              ref.ref = _this7.activeTabRef;\n            }\n            // 页签头部\n            if (item.homeTab) {\n              return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n                key: key,\n                \"data-page-id\": item.dataPageId,\n                \"data-tab-key\": key,\n                \"data-bar-home\": true,\n                onClick: function onClick(e) {\n                  return onHandleClick(e, key);\n                },\n                className: (0, _classnames17[\"default\"])(_Tab[\"default\"]['home-item'], _defineProperty(_defineProperty({}, _Tab[\"default\"]['home-active'], item.active), _Tab[\"default\"]['home-more'], showPrevNextSpan))\n              }, ref), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n                className: (0, _classnames17[\"default\"])(_Tab[\"default\"]['item-content'], verticalClassNameTag)\n              }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n                className: (0, _classnames17[\"default\"])('kdfont', 'kdfont-gongzuotai hover-theme-fc active-theme-active-fc', {\n                  'tab-home-active': item.active\n                }),\n                style: {\n                  fontSize: '20px'\n                }\n              })), item.slot, item.badgeEle);\n            } else {\n              return /*#__PURE__*/_react[\"default\"].createElement(TabBarItem, _extends({}, item, {\n                closeSpan: closeSpan,\n                draggable: tabStyle === 5,\n                getDataPageId: _this7.getDataPageId,\n                navRef: _this7.refs.nav,\n                other: ref,\n                showDot: !item.active && (errorTabs === null || errorTabs === void 0 ? void 0 : errorTabs.includes(key)),\n                tabBarItemIndex: index,\n                tabKey: key,\n                verticalClassNameTag: verticalClassNameTag,\n                getDataValidSelector: _this7.getDataValidSelector,\n                onDragEnd: _this7.onDragEnd,\n                onHandleClick: onHandleClick,\n                onTabbarHover: _this7.onTabbarHover,\n                onTabbarLeave: _this7.onTabbarLeave\n              }));\n            }\n          });\n        }\n\n        // if (!this.props.canSlide && (hasDynamicTab || hasInsideVisible)) {\n        // if (!this.props.canSlide && (hasDynamicTab)) {\n        //   barItem.push(\n        //     <div\n        //       key='@tab-bar-more'\n        //       data-bar-key='tab-bar-more'\n        //       className={styles['bar-more']}\n        //       ref={r => { this.moreTrigger = r }}\n        //     >\n        //       <span\n        //         className={classnames(styles['bar-more-icon'])}\n        //         onClick={() => { this.setState({ showMoreTabBarPanel: true }) }}\n        //       >\n        //         ...\n        //       </span>\n        //     </div>\n        //   )\n        // }\n        if (showAddIcon) {\n          barItem.push( /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n            className: (0, _classnames17[\"default\"])(_Tab[\"default\"].add, verticalClassNameTag),\n            key: \"@tab-bar-add\",\n            \"data-bar-key\": \"tab-bar-add\",\n            onClick: function onClick(e) {\n              onHandeAddClick();\n            }\n          }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, \"+\")));\n        }\n        bardiv =\n        /*#__PURE__*/\n        // onWheel={(e) => this.scrollHandler(e)}\n        _react[\"default\"].createElement(\"div\", {\n          ref: \"navWrap\",\n          className: (0, _classnames17[\"default\"])(calcToAppHomeModeClassNameByDefaultClassName('bar-panel', isAppHomeTabStyleMode), _defineProperty(_defineProperty(_defineProperty({}, _Tab[\"default\"]['bar-panel-prev'], showPrevNextSpan && prev), _Tab[\"default\"]['bar-panel-next'], showPrevNextSpan && next), _Tab[\"default\"]['bar-panel-prev-next'], showPrevNextSpan && next && prev), verticalClassNameTag, _TabSimple[\"default\"]['bar-panel-0'] /* , { [styles['bar-panel-inside']]: hasInsideVisible } */)\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames17[\"default\"])(_Tab[\"default\"]['bar-nav-scroll'], verticalClassNameTag)\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames17[\"default\"])(_Tab[\"default\"]['bar-nav-animated'], verticalClassNameTag),\n          ref: \"nav\"\n        }, barItem)));\n        prevspan = showPrevNextSpan ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: (0, _classnames17[\"default\"])('kd-cq-homepage-tab-pre', calcToAppHomeModeClassNameByDefaultClassName('bar-prev', isAppHomeTabStyleMode), _defineProperty(_defineProperty({}, _Tab[\"default\"]['bar-btn-disabled'], !prev), _Tab[\"default\"]['show-next'], showPrevNextSpan && next && tabStyle === 5)),\n          onClick: prev ? this.prev : null,\n          unselectable: \"unselectable\"\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n          className: (0, _classnames17[\"default\"])('kdfont', {\n            'kdfont-qianfan': tabStyle !== 5,\n            'kdfont-left': tabStyle === 5\n          })\n        })) : null;\n        nextspan = showPrevNextSpan ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: (0, _classnames17[\"default\"])('kd-cq-homepage-tab-next', calcToAppHomeModeClassNameByDefaultClassName('bar-next', isAppHomeTabStyleMode), _defineProperty({}, _Tab[\"default\"]['bar-btn-disabled'], !next)),\n          onClick: next ? this.next : null,\n          unselectable: \"unselectable\"\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n          className: (0, _classnames17[\"default\"])('kdfont', {\n            'kdfont-houfan': tabStyle !== 5,\n            'kdfont-right': tabStyle === 5\n          })\n        })) : null;\n      }\n\n      // 动态页签的下拉应该和静态页签不一样，否则右键菜单、关闭等功能会不存在\n      var dynamicTabDropDownMenu = /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Dropdown.Menu, null, items.map(function (item, index) {\n        var ref = {};\n        if (item.active) {\n          ref.ref = _this7.activeTabRef;\n        }\n        var closeSpan = /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: (0, _classnames17[\"default\"])(_Tab[\"default\"].close, {\n            'kdfont kdfont-toubudaohang_guanbi': true\n          }),\n          onClick: function onClick(e) {\n            onHandleCloseClick(e, item.key);\n          }\n        });\n        return /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Dropdown.Item, {\n          key: item.key,\n          className: (0, _classnames17[\"default\"])(_Tab[\"default\"]['dropdown-menu-item'], _defineProperty({}, _Tab[\"default\"]['dropdown-active-menu-item'], item.active))\n        }, /*#__PURE__*/_react[\"default\"].createElement(TabBarItem, _extends({}, item, {\n          dragDirection: \"y\",\n          navRef: _this7.refs.nav,\n          onDragEnd: _this7.onDragEnd,\n          tabBarItemIndex: index,\n          tabKey: item.key,\n          verticalClassNameTag: verticalClassNameTag,\n          closeSpan: closeSpan,\n          getDataPageId: _this7.getDataPageId,\n          onHandleClick: onHandleClick,\n          onTabbarHover: _this7.onTabbarHover,\n          onTabbarLeave: _this7.onTabbarLeave,\n          getDataValidSelector: _this7.getDataValidSelector,\n          dotStyle: dotStyle,\n          draggable: tabStyle === 5\n        })));\n      }));\n      selectSpan = (tabStyle === 5 && showMore && items.length || showMore && this.state.isShow && !isVertical) && /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Dropdown, {\n        popperClassName: (0, _classnames17[\"default\"])(_Tab[\"default\"].dropdown, 'kd-cq-dropdown kd-cq-dropdown-select-type kd-cq-tabs-dropdown'),\n        menu: tabStyle === 5 ? dynamicTabDropDownMenu : items,\n        visible: this.state.dropdownVisible,\n        onItemClick: function onItemClick(key) {\n          return onHandleClick('', key);\n        },\n        onVisibleChange: this.handleDropdownVisibleChange\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames17[\"default\"])(_Tab[\"default\"]['bar-moreBtn'], _TabSimple[\"default\"][\"bar-moreBtn-\".concat(tabStyle || 0)], \"kd-cq-tabs-bar-\".concat(tabStyle || 0)),\n        onMouseEnter: this.handleMoreBtnMouseEnter\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: (0, _classnames17[\"default\"])('kdfont theme hover-theme-fc', {\n          'kdfont-shuangjiantouxia': tabStyle === 5,\n          'kdfont-xiala': tabStyle !== 5\n        })\n      })));\n      var cls = (0, _classnames17[\"default\"])(calcToAppHomeModeClassNameByDefaultClassName('bar', isAppHomeTabStyleMode), verticalClassNameTag, _Tab[\"default\"][\"bar-\".concat(tabStyle || 0)], _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Tab[\"default\"].barHide, hideNavigation && showAddIcon), _Tab[\"default\"]['bar-slide'], canSlide), _Tab[\"default\"].barRunHide, hideNavigation && !showAddIcon), _Tab[\"default\"].barStretch, tabStyle === 2));\n      var staticTab = function staticTab() {\n        var _this7$props$staticIt;\n        if (!((_this7$props$staticIt = _this7.props.staticItems) !== null && _this7$props$staticIt !== void 0 && _this7$props$staticIt.length)) return null;\n        var showPrevNextSpan = canSlide && _this7.state.isShow && !isVertical;\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames17[\"default\"])(_Tab[\"default\"]['static-tab'], _defineProperty({}, _Tab[\"default\"]['show-prev'], showPrevNextSpan && prev))\n        }, _this7.props.staticItems.map(function (item) {\n          return /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: (0, _classnames17[\"default\"])(_Tab[\"default\"]['static-tab-item']),\n            onClick: function onClick() {\n              return onHandleClick('', item.key);\n            }\n          }, item.icon ? /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n            className: (0, _classnames17[\"default\"])(item.icon, 'hover-theme-fc active-theme-active-fc', _defineProperty({}, _Tab[\"default\"].active, _this7.props.activeKey === item.key)),\n            style: {\n              fontSize: '20px'\n            },\n            title: item.title\n          }) : item.title);\n        }));\n      };\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        ref: \"barContainer\",\n        className: cls\n      }, tabStyle === 5 && staticTab(), tabStyle !== 5 && prevspan, bardiv, tabStyle === 5 && prevspan, nextspan, selectSpan, ![1, 2, 3, 4].includes(tabStyle) && /*#__PURE__*/_react[\"default\"].createElement(_TabIconMenu[\"default\"], {\n        showList: {\n          showHelp: showHelp,\n          showTeamWork: showTeamWork,\n          showInsight: showInsight\n        },\n        pageId: pageId,\n        handleIconClick: handleIconClick,\n        activeKey: this.props.activeKey\n      }),\n      // 全屏按钮(默认风格才有)\n      !tabStyle && canFull && /*#__PURE__*/_react[\"default\"].createElement(_FullscreenIcon[\"default\"], {\n        localeData: this.localeData,\n        verticalClassNameTag: verticalClassNameTag,\n        activeKey: this.props.activeKey,\n        getTabsDom: this.props.getTabsDom,\n        pageId: pageId\n      }), /*#__PURE__*/_react[\"default\"].createElement(_Menus[\"default\"], {\n        id: activeKey,\n        tabWidth: this.state.tabWidth,\n        menus: tabMenus,\n        locale: locale,\n        localeData: this.localeData,\n        defaultLang: defaultLang,\n        onClick: this.props.onMenuInfoClick,\n        getVisibleInfo: getVisibleInfo,\n        getLockedInfo: getLockedInfo,\n        verticalClassNameTag: verticalClassNameTag,\n        pageId: pageId\n      }), this.state.contextMenuVisible && this.renderContextMenu(), isStorageMode && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        \"data-toolbar-slot\": true\n      }), fullScreenSlot);\n    }\n  }]);\n  return TabBar;\n}(_react[\"default\"].Component);\nvar TabBarItem = function TabBarItem(_ref2) {\n  var tabKey = _ref2.tabKey,\n    navRef = _ref2.navRef,\n    showDot = _ref2.showDot,\n    tabBarItemIndex = _ref2.tabBarItemIndex,\n    verticalClassNameTag = _ref2.verticalClassNameTag,\n    dataPageId = _ref2.dataPageId,\n    active = _ref2.active,\n    title = _ref2.title,\n    badgeEle = _ref2.badgeEle,\n    slot = _ref2.slot,\n    closeSpan = _ref2.closeSpan,\n    onHandleClick = _ref2.onHandleClick,\n    onTabbarHover = _ref2.onTabbarHover,\n    onTabbarLeave = _ref2.onTabbarLeave,\n    getDataPageId = _ref2.getDataPageId,\n    onDragEnd = _ref2.onDragEnd,\n    _ref2$getDataValidSel = _ref2.getDataValidSelector,\n    getDataValidSelector = _ref2$getDataValidSel === void 0 ? function () {} : _ref2$getDataValidSel,\n    other = _ref2.other,\n    draggable = _ref2.draggable,\n    _ref2$dragDirection = _ref2.dragDirection,\n    dragDirection = _ref2$dragDirection === void 0 ? 'x' : _ref2$dragDirection,\n    dotStyle = _ref2.dotStyle;\n  // 添加拖拽元素\n  draggable && dragDirection === 'x' && (0, _useDragSort[\"default\"])({\n    dragItemRef: other.ref,\n    onDragEnd: onDragEnd\n  });\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n    key: tabKey,\n    \"data-tab-key\": tabKey,\n    \"data-page-id\": dataPageId,\n    \"data-splitscreen-pageid\": tabKey,\n    \"data-drag-key\": tabBarItemIndex,\n    className: (0, _classnames17[\"default\"])('kd-cq-tabs-tab', _Tab[\"default\"].item, verticalClassNameTag, 'hover-theme-fc' /*, { [styles['inside-hide']]: item.insideVisible === false } */)\n  }, other), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: (0, _classnames17[\"default\"])(_Tab[\"default\"]['item-content'], verticalClassNameTag, {\n      'theme tab-active': active\n    })\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: (0, _classnames17[\"default\"])(_Tab[\"default\"]['item-title'], _defineProperty({\n      'theme tab-item-content': true\n    }, _Tab[\"default\"]['bar-0-tab-active'], active)),\n    onClick: function onClick(e) {\n      return onHandleClick(e, tabKey);\n    },\n    onMouseEnter: onTabbarHover,\n    onMouseLeave: onTabbarLeave\n  }, title), showDot && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _Tab[\"default\"]['dot-icon-wrap']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: (0, _classnames17[\"default\"])(_Tab[\"default\"]['dot-icon'], 'kdfont kdfont-jinggao-mian')\n  })), closeSpan), slot, badgeEle);\n};\nvar _default = exports[\"default\"] = TabBar;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Tabs/TabBar.jsx?");

/***/ }),

/***/ "./src/component/web/base/Tabs/TabBarContextMenu.jsx":
/*!***********************************************************!*\
  !*** ./src/component/web/base/Tabs/TabBarContextMenu.jsx ***!
  \***********************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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[\"default\"] = TabBarContextMenu;\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _Select = _interopRequireDefault(__webpack_require__(/*! ./Select */ \"./src/component/web/base/Tabs/Select.jsx\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction TabBarContextMenu(_ref) {\n  var options = _ref.options,\n    onMenuClick = _ref.onMenuClick;\n  return /*#__PURE__*/_react[\"default\"].createElement(_Select[\"default\"], {\n    enableSearch: false,\n    options: options,\n    onSelect: onMenuClick\n  });\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Tabs/TabBarContextMenu.jsx?");

/***/ }),

/***/ "./src/component/web/base/Tabs/TabBarMore.jsx":
/*!****************************************************!*\
  !*** ./src/component/web/base/Tabs/TabBarMore.jsx ***!
  \****************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.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.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.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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.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 _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _lodash = __webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\");\nvar _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _Select = _interopRequireDefault(__webpack_require__(/*! ./Select */ \"./src/component/web/base/Tabs/Select.jsx\"));\nvar _Tab = _interopRequireDefault(__webpack_require__(/*! ./styles/Tab.less */ \"./src/component/web/base/Tabs/styles/Tab.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 _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); }\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 TabBarMore(_ref) {\n  var items = _ref.items,\n    operations = _ref.operations,\n    arrowPoint = _ref.arrowPoint,\n    enableSearch = _ref.enableSearch,\n    localeData = _ref.localeData,\n    onItemClick = _ref.onItemClick,\n    onItemClose = _ref.onItemClose;\n  var _useState = (0, _react.useState)(items),\n    _useState2 = _slicedToArray(_useState, 2),\n    tabBarItems = _useState2[0],\n    setTabBarItems = _useState2[1];\n  var timer = null;\n  var handleChange = function handleChange(e) {\n    if (timer) {\n      clearTimeout(timer);\n    }\n    var searchValue = e.target.value;\n    timer = setTimeout(function () {\n      if (searchValue) {\n        var newItems = items.filter(function (item) {\n          return item.title.indexOf(searchValue) >= 0;\n        });\n        if (!(0, _lodash.isEqual)(newItems, items)) {\n          setTabBarItems(newItems);\n        }\n      } else {\n        setTabBarItems(items);\n      }\n    }, 300);\n  };\n  (0, _react.useEffect)(function () {\n    setTabBarItems(items);\n  }, [items]);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _Tab[\"default\"]['bar-more-panel']\n  }, operations && operations.length > 0 && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames2[\"default\"])(_Tab[\"default\"]['operations-more'], _defineProperty({}, _Tab[\"default\"]['border-padding_10'], items.length > 0))\n  }, /*#__PURE__*/_react[\"default\"].createElement(_Select[\"default\"], {\n    options: operations\n  })), items.length > 5 && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _Tab[\"default\"]['more-search']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n    className: _Tab[\"default\"]['more-search-inner'],\n    placeholder: localeData.pleaseInput,\n    onChange: handleChange\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: (0, _classnames2[\"default\"])('kdfont kdfont-f', _Tab[\"default\"]['more-search-i'])\n  })), tabBarItems && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _Tab[\"default\"]['items-more']\n    // style={tabBarItems.length > 8 ? { width: '180px' } : {}}\n  }, /*#__PURE__*/_react[\"default\"].createElement(_Select[\"default\"], {\n    options: tabBarItems,\n    enableSearch: enableSearch,\n    onClose: onItemClose,\n    onSelect: function onSelect(e, item) {\n      return onItemClick(e, item.key);\n    }\n  })));\n}\nvar _default = exports[\"default\"] = TabBarMore;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Tabs/TabBarMore.jsx?");

/***/ }),

/***/ "./src/component/web/base/Tabs/TabPanel.jsx":
/*!**************************************************!*\
  !*** ./src/component/web/base/Tabs/TabPanel.jsx ***!
  \**************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/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 = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher */ \"./src/model/GlobalDataCacher.js\");\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _ParentIsHidingContext = _interopRequireDefault(__webpack_require__(/*! @/component/common/ParentIsHidingContext */ \"./src/component/common/ParentIsHidingContext.js\"));\nvar _excluded = [\"active\", \"title\", \"children\", \"lazyLoaded\", \"className\", \"tabtip\", \"tabtipcolor\", \"dynamicTab\", \"homeTab\", \"menus\", \"badgeEle\", \"style\", \"reservedSpace\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 TabPanel = /*#__PURE__*/function (_React$Component) {\n  _inherits(TabPanel, _React$Component);\n  function TabPanel(props) {\n    var _this;\n    _classCallCheck(this, TabPanel);\n    _this = _callSuper(this, TabPanel, [props]);\n    _this.isHidding = function () {\n      return !_this.props.active;\n    };\n    _this.state = {\n      loaded: !props.lazyLoaded,\n      // 根据loaded实现页签内容懒加载\n      isFixationMode: false // true 固定状态 false 非固定状态\n    };\n    return _this;\n  }\n  _createClass(TabPanel, [{\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      if (nextProps.active && !this.state.loaded) {\n        this.setState({\n          loaded: true\n        });\n      }\n    }\n  }, {\n    key: \"componentWillMount\",\n    value: function componentWillMount() {\n      if (this.props.active) {\n        this.setState({\n          loaded: true\n        });\n      }\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this2 = this;\n      var id = this.props.id;\n      if (id) {\n        this.removeListener = (0, _GlobalDataCacher.addDataChangeListener)(_symbolConst.KEY_FIX_INSIGHT_PANEL, function (data) {\n          var isFixationMode = data.isFixationMode,\n            pageId = data.pageId;\n\n          // 当id和pageId相同时为同一个页面，依赖isFixationMode来判断是固定模式还是非固定模式\n          // 否则则是切换页面的时候或者不是同一个页面的时候，这时候是非固定模式\n          isFixationMode = id === pageId ? isFixationMode : false;\n          if (!_this2.isUnMount) {\n            _this2.setState({\n              isFixationMode: isFixationMode\n            });\n          }\n        });\n      }\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.isUnMount = true;\n      this.removeListener && this.removeListener();\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      if (!this.state.loaded) return null;\n      var _this$props = this.props,\n        active = _this$props.active,\n        title = _this$props.title,\n        children = _this$props.children,\n        lazyLoaded = _this$props.lazyLoaded,\n        className = _this$props.className,\n        tabtip = _this$props.tabtip,\n        tabtipcolor = _this$props.tabtipcolor,\n        dynamicTab = _this$props.dynamicTab,\n        homeTab = _this$props.homeTab,\n        menus = _this$props.menus,\n        badgeEle = _this$props.badgeEle,\n        _this$props$style = _this$props.style,\n        style = _this$props$style === void 0 ? {} : _this$props$style,\n        reservedSpace = _this$props.reservedSpace,\n        other = _objectWithoutProperties(_this$props, _excluded);\n      var isFixationMode = this.state.isFixationMode;\n      className = active ? className : className + ' hidden '; // 用于子元素监视父级容器是否隐藏\n\n      if (isFixationMode) {\n        style.width = 'calc(100% - 360px)';\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(_ParentIsHidingContext[\"default\"].Provider, {\n        value: this.isHidding\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"li\", _extends({}, other, {\n        className: className,\n        \"data-tab-hidden\": !active,\n        style: style\n      }), children));\n    }\n  }]);\n  return TabPanel;\n}(_react[\"default\"].Component);\nTabPanel.propTypes = {\n  title: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].string, _propTypes[\"default\"].element]).isRequired,\n  // 页签title\n  dynamicTab: _propTypes[\"default\"].bool,\n  // 是否动态加载的页签\n  lazyLoaded: _propTypes[\"default\"].bool,\n  // 是否懒加载\n  className: _propTypes[\"default\"].string,\n  style: _propTypes[\"default\"].object\n};\nvar _default = exports[\"default\"] = TabPanel;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Tabs/TabPanel.jsx?");

/***/ }),

/***/ "./src/component/web/base/Tabs/Tabs.jsx":
/*!**********************************************!*\
  !*** ./src/component/web/base/Tabs/Tabs.jsx ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/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.find.js */ \"../../node_modules/core-js/modules/es.array.find.js\");\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.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\");\n__webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _lodash = _interopRequireDefault(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! @/component/common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher */ \"./src/model/GlobalDataCacher.js\");\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _TabBar = _interopRequireDefault(__webpack_require__(/*! ./TabBar */ \"./src/component/web/base/Tabs/TabBar.jsx\"));\nvar _Tab = _interopRequireDefault(__webpack_require__(/*! ./styles/Tab.less */ \"./src/component/web/base/Tabs/styles/Tab.less\"));\nvar _TabSimple = _interopRequireDefault(__webpack_require__(/*! ./styles/TabSimple.less */ \"./src/component/web/base/Tabs/styles/TabSimple.less\"));\nvar _excluded = [\"activeKey\", \"style\", \"className\", \"children\", \"showAddIcon\", \"handleAddClick\", \"handleCloseClick\", \"handleTabClick\", \"setCurrentTab\", \"handleMenuClick\", \"tabStyle\", \"canFull\", \"showHelp\", \"showTeamWork\", \"showInsight\", \"Grow\", \"Shrink\", \"AlignSelf\", \"AlignItems\", \"AlignContent\", \"JustifyContent\", \"hideNavigation\", \"canCloseAll\", \"defaultActivePage\", \"canSlide\", \"isDesigner\", \"locale\", \"defaultLang\", \"handleIconClick\", \"getVisibleInfo\", \"getLockedInfo\", \"activeIndex\", \"handleCloseAllClick\", \"onHandleCloseRightTabClick\", \"handleCloseOthersClick\", \"pageId\", \"tabDirection\", \"showMore\", \"cannotClickInLock\", \"isStorageMode\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 Tabs = /*#__PURE__*/function (_React$Component) {\n  _inherits(Tabs, _React$Component);\n  function Tabs(props) {\n    var _this;\n    _classCallCheck(this, Tabs);\n    _this = _callSuper(this, Tabs, [props]);\n    _this.handleCloseOthersClick = function (e, pageId) {\n      e.stopPropagation();\n      _this.props.handleCloseOthersClick && _this.props.handleCloseOthersClick(pageId);\n    };\n    _this.handleCloseAllClick = function (e) {\n      e.stopPropagation();\n      _this.props.handleCloseAllClick && _this.props.handleCloseAllClick();\n    };\n    _this.handleReOpenTab = function (e, tabKey) {\n      var _this$props$handleReO, _this$props;\n      e.stopPropagation();\n      (_this$props$handleReO = (_this$props = _this.props).handleReOpenTab) === null || _this$props$handleReO === void 0 || _this$props$handleReO.call(_this$props, tabKey);\n    };\n    _this.getTabsDom = function () {\n      return _this.refs.kdtab;\n    };\n    _this.handleDragEnd = function (data) {\n      var _this$props$onDragEnd, _this$props2;\n      (_this$props$onDragEnd = (_this$props2 = _this.props).onDragEnd) === null || _this$props$onDragEnd === void 0 || _this$props$onDragEnd.call(_this$props2, data);\n    };\n    var activeKey = props.activeKey;\n    if (!props.activeKey) {\n      var childrens = _react[\"default\"].Children.toArray(props.children);\n      var first = _lodash[\"default\"].first(childrens);\n      activeKey = first ? first.props.id : '';\n    }\n    _this.previousTab = activeKey;\n    _this.state = {\n      activeKey: activeKey\n    };\n    _this.handeleTabCloseEvent = _this.handeleTabCloseEvent.bind(_assertThisInitialized(_this));\n    _this.handleTabClick = _this.handleTabClick.bind(_assertThisInitialized(_this));\n    _this.handleAddClick = _this.handleAddClick.bind(_assertThisInitialized(_this));\n    _this.handleCloseClick = _this.handleCloseClick.bind(_assertThisInitialized(_this));\n    _this.handleClosewindow = _this.handleClosewindow.bind(_assertThisInitialized(_this));\n    _this.handleMenuClick = _this.handleMenuClick.bind(_assertThisInitialized(_this));\n    _this.handleIconClick = _this.handleIconClick.bind(_assertThisInitialized(_this));\n    _this.getTabsDom = _this.getTabsDom.bind(_assertThisInitialized(_this));\n    // 激活发送‘selectTab’消息\n    if (_this.props.activeIndex !== 0 && !_this.props.isDesigner) {\n      _this.props.handleTabClick && _this.props.handleTabClick(_this.props.activeKey);\n    }\n    return _this;\n  }\n\n  /** ***定义事件给pc端首页导航****Begin****/\n  _createClass(Tabs, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      if (this.props.hideNavigation) {\n        this.removeGlobalCloseTabChangeListener = (0, _GlobalDataCacher.addDataChangeListener)(_symbolConst.KEY_CLOSE_TAB, this.handeleTabCloseEvent);\n      }\n      // 优化页签关闭\n      this.removeGlobalDataChangeListener = (0, _GlobalDataCacher.addDataChangeListener)(_symbolConst.KEY_CLOSE_WINDOW_EVENT, this.handleClosewindow);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      if (this.props.hideNavigation) {\n        this.removeGlobalCloseTabChangeListener && this.removeGlobalCloseTabChangeListener();\n      }\n      this.removeGlobalDataChangeListener && this.removeGlobalDataChangeListener();\n    }\n  }, {\n    key: \"handeleTabCloseEvent\",\n    value: function handeleTabCloseEvent(data) {\n      if (this.props.id === data.tabId) {\n        var nextActiveTab = this.normalCloseLogic(data.key);\n        this.props.handleCloseClick && this.props.handleCloseClick(data.key, nextActiveTab);\n      }\n    }\n  }, {\n    key: \"handleClosewindow\",\n    value: function handleClosewindow(data) {\n      var childrens = _react[\"default\"].Children.toArray(this.props.children);\n      var colseItem = _lodash[\"default\"].find(childrens, function (child) {\n        return child.props.id == data.pageId;\n      });\n      if (colseItem) {\n        // this.setState({\n        //   closeKey:data.pageId\n        // },() =>{\n        //   let nextActiveTab = this.normalCloseLogic(data.pageId);\n        //   this.props.setCurrentTab && this.props.setCurrentTab(nextActiveTab);\n        // })\n\n        var nextActiveTab = this.normalCloseLogic(data.pageId);\n        this.props.setCurrentTab && setTimeout(this.props.setCurrentTab(nextActiveTab), 0);\n      }\n    }\n    /** ***定义事件给pc端首页导航***End*****/\n  }, {\n    key: \"handleTabClick\",\n    value: function handleTabClick(event, key) {\n      var _event$target,\n        _this2 = this;\n      // event && event.stopPropagation()\n      // 如果点击的是帮助文本,不触发页签切换\n      if (event !== null && event !== void 0 && (_event$target = event.target) !== null && _event$target !== void 0 && (_event$target = _event$target.dataset) !== null && _event$target !== void 0 && _event$target.tipsId) return;\n      event && event.preventDefault();\n      if (key != this.state.activeKey) {\n        this.previousTab = this.state.activeKey;\n      }\n      (0, _GlobalDataCacher.setData)(_symbolConst.KEY_FIX_INSIGHT_PANEL, {\n        isFixationMode: false,\n        pageId: this.props.id\n      });\n      this.setState({\n        activeKey: key\n      }, function () {\n        _this2.props.handleTabClick && _this2.props.handleTabClick(key);\n      });\n    }\n  }, {\n    key: \"handleMenuClick\",\n    value: function handleMenuClick(id, key, opk, lock) {\n      if (lock) return;\n      this.props.handleMenuClick && this.props.handleMenuClick(id, key, opk);\n    }\n  }, {\n    key: \"handleIconClick\",\n    value: function handleIconClick(key) {\n      this.props.handleIconClick && this.props.handleIconClick(key);\n    }\n  }, {\n    key: \"handleAddClick\",\n    value: function handleAddClick() {\n      this.props.handleAddClick && this.props.handleAddClick();\n    }\n\n    /**\n     * 正常自定义的关闭逻辑\n     * @param  {[type]} pageId [description]\n     * @return {[type]}        [description]\n     */\n  }, {\n    key: \"normalCloseLogic\",\n    value: function normalCloseLogic(pageId) {\n      var _this3 = this;\n      var nextActiveTab;\n      // 当前激活的页签是关闭的页签\n      if (this.state.activeKey === pageId) {\n        var childrens = _react[\"default\"].Children.toArray(this.props.children);\n        var first = _lodash[\"default\"].first(childrens);\n        var last = _lodash[\"default\"].last(childrens);\n        var previousItem = _lodash[\"default\"].find(childrens, function (item) {\n          return _this3.previousTab === item.props.id;\n        });\n        // 如果上一个页签是当前关闭的页签(找到的上一页就是要关闭的页面，则将上一页信息置为undefined)\n        if (this.previousTab === pageId) {\n          previousItem = undefined;\n        }\n        if (previousItem) {\n          nextActiveTab = this.previousTab;\n        } else {\n          var childrenCount = childrens.length;\n          // 关闭的最后一个页签同时不是第一个\n          if (last.props.id === pageId && first.props.id != pageId) {\n            nextActiveTab = childrens[childrenCount - 2].props.id;\n          } else if (last.props.id === first.props.id) {\n            // 关闭最后一个页签\n            return '';\n          } else {\n            var closeIndex = _lodash[\"default\"].findIndex(childrens, function (item) {\n              return item.props.id === pageId;\n            });\n            nextActiveTab = childrens[closeIndex + 1].props.id;\n          }\n        }\n      } else {\n        nextActiveTab = this.state.activeKey;\n      }\n      return nextActiveTab;\n    }\n\n    /**\n     * 模拟浏览关闭页签的逻辑实现获取下一个打开的页签\n     * @param  {[type]} pageId [description]\n     * @return {[type]}        [description]\n     */\n  }, {\n    key: \"chromeCloseLogic\",\n    value: function chromeCloseLogic(pageId) {\n      var nextActiveTab;\n      // 当前激活的页签是关闭的页签\n      if (this.state.activeKey === pageId) {\n        var childrens = _react[\"default\"].Children.toArray(this.props.children);\n        var first = _lodash[\"default\"].first(childrens);\n        var last = _lodash[\"default\"].last(childrens);\n        nextActiveTab = first.props.id;\n        var currentActiveKey = this.previousTab == 0 ? first.props.id : this.previousTab;\n        var childrenCount = childrens.length;\n        // 关闭的最后一个页签同时不是第一个\n        if (last.props.id === pageId && first.props.id != pageId) {\n          nextActiveTab = childrens[childrenCount - 2].props.id;\n        } else {\n          var closeIndex = _lodash[\"default\"].findIndex(childrens, function (item) {\n            return item.props.id === pageId;\n          });\n          nextActiveTab = childrens[closeIndex + 1].props.id;\n        }\n      } else {\n        nextActiveTab = this.state.activeKey;\n      }\n      return nextActiveTab;\n    }\n  }, {\n    key: \"handleCloseClick\",\n    value: function handleCloseClick(e, pageId) {\n      e.stopPropagation();\n      var nextActiveTab = this.normalCloseLogic(pageId);\n      this.props.handleCloseClick && this.props.handleCloseClick(pageId, nextActiveTab);\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      if (nextProps.activeKey && nextProps.activeKey !== this.state.activeKey) {\n        var aKey = this.state.activeKey;\n        var getPreviousTab = nextProps.getPreviousTab;\n        this.previousTab = this.state.activeKey;\n        if (getPreviousTab) {\n          var previousTab = getPreviousTab();\n          if (previousTab) {\n            this.previousTab = previousTab;\n          }\n        }\n        this.setState({\n          activeKey: nextProps.activeKey\n        });\n        // 动态新增tab页，激活也要发送‘selectTab’消息\n        if (aKey !== nextProps.activeKey && !this.props.isDesigner) {\n          (0, _GlobalDataCacher.setData)(_symbolConst.KEY_FIX_INSIGHT_PANEL, {\n            isFixationMode: false,\n            pageId: nextProps.id\n          });\n          this.props.handleTabClick && this.props.handleTabClick(nextProps.activeKey);\n        }\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this4 = this;\n      var _this$props3 = this.props,\n        activeKey = _this$props3.activeKey,\n        style = _this$props3.style,\n        className = _this$props3.className,\n        children = _this$props3.children,\n        showAddIcon = _this$props3.showAddIcon,\n        handleAddClick = _this$props3.handleAddClick,\n        handleCloseClick = _this$props3.handleCloseClick,\n        handleTabClick = _this$props3.handleTabClick,\n        setCurrentTab = _this$props3.setCurrentTab,\n        handleMenuClick = _this$props3.handleMenuClick,\n        tabStyle = _this$props3.tabStyle,\n        canFull = _this$props3.canFull,\n        showHelp = _this$props3.showHelp,\n        showTeamWork = _this$props3.showTeamWork,\n        showInsight = _this$props3.showInsight,\n        Grow = _this$props3.Grow,\n        Shrink = _this$props3.Shrink,\n        AlignSelf = _this$props3.AlignSelf,\n        AlignItems = _this$props3.AlignItems,\n        AlignContent = _this$props3.AlignContent,\n        JustifyContent = _this$props3.JustifyContent,\n        hideNavigation = _this$props3.hideNavigation,\n        canCloseAll = _this$props3.canCloseAll,\n        defaultActivePage = _this$props3.defaultActivePage,\n        canSlide = _this$props3.canSlide,\n        isDesigner = _this$props3.isDesigner,\n        locale = _this$props3.locale,\n        defaultLang = _this$props3.defaultLang,\n        handleIconClick = _this$props3.handleIconClick,\n        getVisibleInfo = _this$props3.getVisibleInfo,\n        getLockedInfo = _this$props3.getLockedInfo,\n        activeIndex = _this$props3.activeIndex,\n        handleCloseAllClick = _this$props3.handleCloseAllClick,\n        onHandleCloseRightTabClick = _this$props3.onHandleCloseRightTabClick,\n        handleCloseOthersClick = _this$props3.handleCloseOthersClick,\n        pageId = _this$props3.pageId,\n        tabDirection = _this$props3.tabDirection,\n        showMore = _this$props3.showMore,\n        cannotClickInLock = _this$props3.cannotClickInLock,\n        isStorageMode = _this$props3.isStorageMode,\n        other = _objectWithoutProperties(_this$props3, _excluded);\n      var _style = _lodash[\"default\"].assignIn({}, this.props.style);\n      var items = [];\n      var staticItems = [];\n      var panel = [];\n      var isVertical = tabDirection === 'vertical';\n      var _index = 0;\n      var tabMenus = [];\n      var fullScreenSlot = null;\n      var addedTabClassName = '';\n      _react[\"default\"].Children.forEach(children, function (child, index) {\n        if (child) {\n          var isActive, item;\n          if (_this4.state.activeKey) {\n            isActive = child.key === _this4.state.activeKey; // 点击选中\n          } else {\n            isActive = _index === 0; // 初始化选中第一个\n          }\n          item = {\n            key: child.key,\n            title: child.props.title,\n            homeTab: child.props.homeTab,\n            dynamicTab: child.props.dynamicTab,\n            dataPageId: child.props.dataPageId,\n            icon: child.props.icon,\n            active: isActive,\n            badgeEle: child.props.badgeEle,\n            // 徽标\n            slot: child.props.slot,\n            tabPageModel: child.props.model,\n            locked: cannotClickInLock && child.props.locked // 是否锁定\n          };\n          if (isActive) {\n            tabMenus = child.props.menus;\n            fullScreenSlot = child.props.fullScreenSlot;\n            addedTabClassName = child.props.addedTabClassName;\n          }\n          if (tabStyle === 5) {\n            if (item.dynamicTab) {\n              items.push(item);\n            } else {\n              staticItems.push(item);\n            }\n          } else {\n            items.push(item);\n          }\n          // 页签内容\n          var _className = child.props.className;\n          panel.push( /*#__PURE__*/_react[\"default\"].cloneElement(child, {\n            active: isActive,\n            className: (0, _classnames3[\"default\"])('kd-cq-tabpage', _Tab[\"default\"]['panel-item'], _defineProperty(_defineProperty(_defineProperty({}, _Tab[\"default\"]['reserved-space'], child.props.reservedSpace), _Tab[\"default\"].active, isActive), _className, _className))\n          }));\n          _index++;\n        }\n      });\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        ref: \"kdtab\",\n        className: (0, _classnames3[\"default\"])('kd-cq-tabs kd-cq-control', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Tab[\"default\"].tab, true), className, className), addedTabClassName, true), _Tab[\"default\"].verticalBar, isVertical), _TabSimple[\"default\"].verticalBar, isVertical), (0, _commonUtils[\"default\"])({\n          Grow: Grow,\n          Shrink: Shrink,\n          AlignSelf: AlignSelf,\n          AlignItems: AlignItems,\n          AlignContent: AlignContent,\n          JustifyContent: JustifyContent\n        })),\n        style: _style,\n        \"data-module\": true\n      }, other), /*#__PURE__*/_react[\"default\"].createElement(_TabBar[\"default\"], {\n        getTabsDom: this.getTabsDom,\n        showAddIcon: showAddIcon,\n        hideNavigation: hideNavigation,\n        canCloseAll: canCloseAll,\n        canSlide: canSlide,\n        canFull: canFull,\n        showHelp: showHelp,\n        showTeamWork: showTeamWork,\n        showInsight: showInsight,\n        tabStyle: tabStyle,\n        items: items,\n        staticItems: staticItems,\n        onHandleClick: this.handleTabClick,\n        onHandeAddClick: this.handleAddClick,\n        onHandleCloseClick: this.handleCloseClick,\n        activeKey: this.state.activeKey,\n        menus: tabMenus,\n        fullScreenSlot: fullScreenSlot,\n        locale: locale,\n        defaultLang: defaultLang,\n        onMenuInfoClick: this.handleMenuClick,\n        handleIconClick: this.handleIconClick,\n        getVisibleInfo: getVisibleInfo,\n        getLockedInfo: getLockedInfo,\n        dataPageId: other['data-page-id'],\n        onHandleCloseOthersClick: this.handleCloseOthersClick,\n        onHandleCloseAllClick: this.handleCloseAllClick,\n        onHandleReOpenTab: this.handleReOpenTab,\n        onHandleCloseRightTabClick: this.props.onHandleCloseRightTabClick,\n        pageId: pageId,\n        tabDirection: tabDirection,\n        showMore: showMore,\n        isVertical: isVertical,\n        onDragEnd: this.handleDragEnd,\n        isStorageMode: isStorageMode\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"ol\", {\n        className: (0, _classnames3[\"default\"])('kd-cq-tab-panel', _Tab[\"default\"].panel)\n      }, panel));\n    }\n  }]);\n  return Tabs;\n}(_react[\"default\"].Component);\nTabs.propTypes = {\n  activeKey: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].string, _propTypes[\"default\"].number]),\n  // 默认显示的页签,-1显示最后一页\n  style: _propTypes[\"default\"].object,\n  className: _propTypes[\"default\"].string,\n  handleTabClick: _propTypes[\"default\"].func,\n  showAddIcon: _propTypes[\"default\"].bool,\n  // 是否显示新增页签按钮\n  handleAddClick: _propTypes[\"default\"].func,\n  // 点击新增页面按钮触发事件\n  handleCloseClick: _propTypes[\"default\"].func,\n  // 点击关闭页签事件\n  canSlide: _propTypes[\"default\"].bool,\n  // 页签头部是否可以滑动\n  canFull: _propTypes[\"default\"].bool,\n  // 页签是否允许全屏\n  hideNavigation: _propTypes[\"default\"].bool,\n  // 是否隐藏页签头部\n  canCloseAll: _propTypes[\"default\"].bool,\n  // 是否允许关闭全部\n  tabStyle: _propTypes[\"default\"].number // 页签风格 格子（1）、简洁（2）、迷你（3）、卡片风格（4）、导航风格（5）-支持拖拽、更多下拉与翻页图标有差异\n};\nvar _default = exports[\"default\"] = Tabs;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Tabs/Tabs.jsx?");

/***/ }),

/***/ "./src/component/web/base/Tabs/hooks/useDragSort.js":
/*!**********************************************************!*\
  !*** ./src/component/web/base/Tabs/hooks/useDragSort.js ***!
  \**********************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.checkIfCanExchange = exports.addTransformStyle = exports.DATA_DRAG_KEY = void 0;\nexports[\"default\"] = useDragSort;\nexports.removeTransformStyle = void 0;\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.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\");\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 = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\");\nvar _Tab = _interopRequireDefault(__webpack_require__(/*! ../styles/Tab.less */ \"./src/component/web/base/Tabs/styles/Tab.less\"));\nvar _dragService = __webpack_require__(/*! @/service/web/dragService.js */ \"./src/service/web/dragService.js\");\nvar _toolUtils = __webpack_require__(/*! @/util/toolUtils */ \"./src/util/toolUtils.js\");\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher */ \"./src/model/GlobalDataCacher.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nvar DATA_DRAG_KEY = exports.DATA_DRAG_KEY = 'data-drag-key';\n\n// 添加动画\nvar addTransformStyle = exports.addTransformStyle = function addTransformStyle(_ref) {\n  var sourceElement = _ref.sourceElement,\n    destinationElement = _ref.destinationElement,\n    dragElementWidth = _ref.dragElementWidth,\n    moveDirection = _ref.moveDirection;\n  if (!sourceElement || !destinationElement) return;\n  var parentNode = sourceElement === null || sourceElement === void 0 ? void 0 : sourceElement.parentElement;\n  if (!parentNode) return;\n  var startIndex = Number(sourceElement.getAttribute(DATA_DRAG_KEY));\n  var destinationIndex = Number(destinationElement.getAttribute(DATA_DRAG_KEY));\n  parentNode.children.forEach(function (item, index) {\n    var transform = 0;\n    if (index >= startIndex) {\n      transform -= dragElementWidth;\n    }\n    // 向左移\n    if (moveDirection === 'left' && index >= destinationIndex) {\n      transform += dragElementWidth;\n    }\n    // 向右移\n    if (moveDirection === 'right' && index > destinationIndex) {\n      transform += dragElementWidth;\n    }\n    item.style.cssText += \"transform: translate(\".concat(transform, \"px, 0px); transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1)\");\n  });\n};\n\n// 移除动画\nvar removeTransformStyle = exports.removeTransformStyle = function removeTransformStyle(sourceElement) {\n  if (!sourceElement) return;\n  sourceElement.parentNode.children.forEach(function (item) {\n    item.style.transform = '';\n    item.style.transition = '';\n  });\n};\nvar checkIfCanExchange = exports.checkIfCanExchange = function checkIfCanExchange(x, sourceElement, destinationElement, moveDirection) {\n  if (!sourceElement || !destinationElement) return;\n  var _destinationElement$g = destinationElement.getBoundingClientRect(),\n    right = _destinationElement$g.right,\n    width = _destinationElement$g.width;\n  if (moveDirection === 'left') {\n    // 向左移\n    return x < right - width / 2;\n  } else {\n    // 向右移\n    return x > right - width / 2;\n  }\n};\n\n// 根据坐标位置获取目标元素\nvar getTarget = function getTarget(x, y) {\n  var targets = (0, _toolUtils.getElementsFromPoint)(x - 1, y);\n  var destinationElement = targets.find(function (ele) {\n    return ele.getAttribute(DATA_DRAG_KEY) !== undefined && ele.getAttribute('data-drag-element') && !ele.getAttribute('data-clone-item');\n  });\n  return destinationElement;\n};\nvar handleRemoveDragElement = function handleRemoveDragElement(element) {\n  var parentNode = element === null || element === void 0 ? void 0 : element.parentElement;\n  if (!parentNode) return;\n  parentNode.children.forEach(function (item) {\n    (0, _dragService.removeDragElement)(item);\n  });\n};\nvar handleAddDragElement = function handleAddDragElement(element, option) {\n  var parentNode = element === null || element === void 0 ? void 0 : element.parentElement;\n  if (!parentNode) return;\n  parentNode.children.forEach(function (item) {\n    (0, _dragService.dragElement)(item, option);\n  });\n};\n\n// 停靠目标元素信息： 目标元素、移动方向\nvar destinationInfo = {}; // element、moveDirection\n\n// 记录被拖拽元素的宽度信息\nvar dragElementWidth;\n\n// 记录移动的x位置\nvar moveX;\nfunction useDragSort(_ref2) {\n  var dragItemRef = _ref2.dragItemRef,\n    onDragEnd = _ref2.onDragEnd,\n    onDragStart = _ref2.onDragStart,\n    parentElement = _ref2.parentElement;\n  var onMove = function onMove(dragElement, x, y, width, height, dragState) {\n    window.requestIdleCallback(function () {\n      if (dragState === 'finished') {\n        var _destinationInfo$elem;\n        // 拖拽结束，进行排序\n        // 移除动画、被拖拽元素恢复可见性\n        destinationInfo.element && removeTransformStyle(dragElement);\n        dragElement && dragElement.classList.remove(_Tab[\"default\"]['in-drag-item']);\n        // 执行排序\n        var sourceIndex = (dragElement === null || dragElement === void 0 ? void 0 : dragElement.getAttribute(DATA_DRAG_KEY)) - 0;\n        var insertIndex = (((_destinationInfo$elem = destinationInfo.element) === null || _destinationInfo$elem === void 0 ? void 0 : _destinationInfo$elem.getAttribute(DATA_DRAG_KEY)) || (dragElement === null || dragElement === void 0 ? void 0 : dragElement.getAttribute(DATA_DRAG_KEY))) - 0;\n        var insertDirection = destinationInfo.moveDirection;\n        var offsetIndex = sourceIndex > insertIndex ? insertDirection === 'left' ? 0 : 1 : insertDirection === 'left' ? -1 : 0;\n        onDragEnd({\n          sourceKey: sourceIndex,\n          destinationKey: insertIndex + offsetIndex\n        });\n        // 变量值复原\n        dragElementWidth = moveX = null;\n        destinationInfo = {};\n      } else {\n        if (moveX) {\n          var moveDirection = x - moveX > 0 ? 'right' : 'left';\n          var targetX = moveDirection === 'right' ? x + width : x;\n          var destinateTarget = getTarget(targetX, y);\n          if (!destinateTarget) {\n            var _parentNode$children;\n            var parentNode = dragElement === null || dragElement === void 0 ? void 0 : dragElement.parentNode;\n            var index = moveDirection === 'left' ? 0 : ((_parentNode$children = parentNode.children) === null || _parentNode$children === void 0 ? void 0 : _parentNode$children.length) - 1;\n            destinateTarget = parentNode === null || parentNode === void 0 ? void 0 : parentNode.children[index];\n          }\n          moveX = x;\n          // 如果超过目标元素一半再修改样式，更新destinationElement\n          // 修改样式\n          if (destinateTarget && (destinationInfo.moveDirection && destinationInfo.moveDirection !== moveDirection || destinateTarget !== destinationInfo.element) && checkIfCanExchange(targetX, dragElement, destinateTarget, moveDirection)) {\n            destinationInfo = {\n              element: destinateTarget,\n              moveDirection: moveDirection\n            };\n            addTransformStyle({\n              sourceElement: dragElement,\n              destinationElement: destinationInfo.element,\n              dragElementWidth: dragElementWidth,\n              moveDirection: moveDirection\n            });\n          }\n        } else {\n          moveX = x;\n        }\n      }\n    });\n  };\n  var onStart = function onStart(cloneElement, startElement) {\n    var _startElement$getBoun;\n    // 被拖拽占位元素样式修改\n    startElement.classList.add(_Tab[\"default\"]['in-drag-item']);\n    // 被拖拽克隆元素样式修改\n    cloneElement.removeAttribute(DATA_DRAG_KEY);\n    cloneElement.setAttribute('data-clone-item', true);\n    cloneElement.classList.add(_Tab[\"default\"]['clone-drag-item']);\n    // 记录被拖拽元素的宽度信息\n    dragElementWidth = startElement === null || startElement === void 0 || (_startElement$getBoun = startElement.getBoundingClientRect()) === null || _startElement$getBoun === void 0 ? void 0 : _startElement$getBoun.width;\n    // 被拖拽占位元素设置成占位不可见\n    onDragStart === null || onDragStart === void 0 || onDragStart();\n  };\n  (0, _react.useEffect)(function () {\n    var _getData;\n    var dragItem = dragItemRef === null || dragItemRef === void 0 ? void 0 : dragItemRef.current;\n    if (!dragItem) return;\n    var option = {\n      isPreventDefault: false,\n      parentElement: parentElement || (dragItem === null || dragItem === void 0 ? void 0 : dragItem.parentNode),\n      onStart: onStart,\n      onMove: onMove,\n      savePosition: false,\n      placeHolder: true,\n      isLimit: false,\n      cursor: 'pointer',\n      direction: 'x',\n      moveToBody: true\n    };\n    (0, _dragService.dragElement)(dragItem, option);\n\n    // 如果开启分屏，就不支持拖拽排序\n    var splitScreenVisible = (_getData = (0, _GlobalDataCacher.getData)(_symbolConst.KEY_SPLIT_SCREEN_VISIBLE)) === null || _getData === void 0 ? void 0 : _getData.visible;\n    if (splitScreenVisible) {\n      handleRemoveDragElement(dragItem);\n    }\n    var removeSetSplitScreenListener = (0, _GlobalDataCacher.addDataChangeListener)(_symbolConst.KEY_SPLIT_SCREEN_VISIBLE, function (data) {\n      var splitScreenVisible = data.visible;\n      if (splitScreenVisible) {\n        handleRemoveDragElement(dragItem);\n      } else {\n        handleAddDragElement(dragItem, option);\n      }\n    });\n    return function () {\n      removeSetSplitScreenListener();\n    };\n  }, []);\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Tabs/hooks/useDragSort.js?");

/***/ }),

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

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}));\nObject.defineProperty(exports, \"FullscreenIcon\", ({\n  enumerable: true,\n  get: function get() {\n    return _FullscreenIcon[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"Menus\", ({\n  enumerable: true,\n  get: function get() {\n    return _Menus[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"Select\", ({\n  enumerable: true,\n  get: function get() {\n    return _Select[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"TabBar\", ({\n  enumerable: true,\n  get: function get() {\n    return _TabBar[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"TabBarContextMenu\", ({\n  enumerable: true,\n  get: function get() {\n    return _TabBarContextMenu[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"TabBarMore\", ({\n  enumerable: true,\n  get: function get() {\n    return _TabBarMore[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"TabPanel\", ({\n  enumerable: true,\n  get: function get() {\n    return _TabPanel[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"Tabs\", ({\n  enumerable: true,\n  get: function get() {\n    return _Tabs[\"default\"];\n  }\n}));\nvar _Tabs = _interopRequireDefault(__webpack_require__(/*! ./Tabs */ \"./src/component/web/base/Tabs/Tabs.jsx\"));\nvar _TabPanel = _interopRequireDefault(__webpack_require__(/*! ./TabPanel */ \"./src/component/web/base/Tabs/TabPanel.jsx\"));\nvar _FullscreenIcon = _interopRequireDefault(__webpack_require__(/*! ./FullscreenIcon */ \"./src/component/web/base/Tabs/FullscreenIcon.jsx\"));\nvar _Menus = _interopRequireDefault(__webpack_require__(/*! ./Menus */ \"./src/component/web/base/Tabs/Menus.jsx\"));\nvar _Select = _interopRequireDefault(__webpack_require__(/*! ./Select */ \"./src/component/web/base/Tabs/Select.jsx\"));\nvar _TabBar = _interopRequireDefault(__webpack_require__(/*! ./TabBar */ \"./src/component/web/base/Tabs/TabBar.jsx\"));\nvar _TabBarMore = _interopRequireDefault(__webpack_require__(/*! ./TabBarMore */ \"./src/component/web/base/Tabs/TabBarMore.jsx\"));\nvar _TabBarContextMenu = _interopRequireDefault(__webpack_require__(/*! ./TabBarContextMenu */ \"./src/component/web/base/Tabs/TabBarContextMenu.jsx\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Tabs/index.js?");

/***/ }),

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

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[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.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 _Telephone = _interopRequireDefault(__webpack_require__(/*! ./Telephone.less */ \"./src/component/web/base/Telephone/Telephone.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; }\n/**\n * @description via列表项\n * @param {Object} props\n */\nfunction ViaListItem(props) {\n  var index = props.index,\n    item = props.item,\n    checkVia = props.checkVia,\n    isSelected = props.isSelected,\n    isFocused = props.isFocused;\n  var handleLiClick = function handleLiClick() {\n    checkVia(item);\n  };\n  var classLi = (0, _classnames[\"default\"])(_Telephone[\"default\"]['search-li'], 'kd-cq-dropdown-menu-item primary-text-in-light', {\n    'hover-bg': isFocused,\n    'theme select-selected': isSelected\n  });\n  return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n    \"data-index\": index,\n    onClick: handleLiClick,\n    className: classLi\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, item.name), /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, item.id));\n}\nvar _default = exports[\"default\"] = ViaListItem;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Telephone/ViaListItem.js?");

/***/ }),

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

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.from.js */ \"../../node_modules/core-js/modules/es.array.from.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-string.js */ \"../../node_modules/core-js/modules/es.date.to-string.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.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.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.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.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _ViaListItem = _interopRequireDefault(__webpack_require__(/*! ./ViaListItem */ \"./src/component/web/base/Telephone/ViaListItem.js\"));\nvar _keyCodeTool = __webpack_require__(/*! @/util/keyCodeTool */ \"./src/util/keyCodeTool.js\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _telephoneUtils = __webpack_require__(/*! @/util/telephoneUtils */ \"./src/util/telephoneUtils.js\");\nvar _Telephone = _interopRequireDefault(__webpack_require__(/*! ./Telephone.less */ \"./src/component/web/base/Telephone/Telephone.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _keyCode = __webpack_require__(/*! @/constant/keyCode */ \"./src/constant/keyCode.js\");\nvar _useListSelection2 = _interopRequireDefault(__webpack_require__(/*! @/hooks/useListSelection */ \"./src/hooks/useListSelection.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 _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; }\n/**\n * @description 手机号码via列表面板\n * @param {Object} props\n */\nfunction ViaListPanel(props) {\n  var viaList = props.viaList,\n    checkVia = props.checkVia,\n    index = props.index;\n  var _useState = (0, _react.useState)(''),\n    _useState2 = _slicedToArray(_useState, 2),\n    searchWord = _useState2[0],\n    setSearchWord = _useState2[1];\n  var searchInputRef = (0, _react.useRef)(null);\n  var viaListRef = (0, _react.useRef)(null);\n  var _useListSelection = (0, _useListSelection2[\"default\"])(index),\n    selectedIndex = _useListSelection.selectedIndex,\n    setSelectedIndex = _useListSelection.setSelectedIndex,\n    handleListMouseMove = _useListSelection.handleListMouseMove,\n    handleListKeyDown = _useListSelection.handleListKeyDown;\n  var resultAry = (0, _react.useMemo)(function () {\n    return (0, _telephoneUtils.getEnableData)(searchWord, viaList);\n  });\n  var handleMouseMove = function handleMouseMove(e) {\n    handleListMouseMove(e, 'data-index');\n  };\n  var scrollIntoView = function scrollIntoView(index) {\n    var _viaListRef$current;\n    var item = (_viaListRef$current = viaListRef.current) === null || _viaListRef$current === void 0 ? void 0 : _viaListRef$current.children[index];\n    item.scrollIntoView({\n      behavior: 'instant',\n      block: 'nearest'\n    });\n  };\n  var handleKeyDown = function handleKeyDown(e) {\n    if (resultAry.length) {\n      var _viaListRef$current2;\n      var keyCode = (0, _keyCodeTool.getKeyCode)(e);\n      var maxLength = (_viaListRef$current2 = viaListRef.current) === null || _viaListRef$current2 === void 0 ? void 0 : _viaListRef$current2.children.length;\n      handleListKeyDown(e, maxLength, scrollIntoView);\n      switch (keyCode) {\n        // 搜索改版，下拉面板中的搜索框自动聚焦，因此空格不再有效\n        case _keyCode.KEYS.TAB:\n          e.preventDefault();\n          if (selectedIndex !== -1) {\n            checkVia(resultAry[selectedIndex]);\n          }\n          break;\n        case _keyCode.KEYS.ENTER:\n          e.stopPropagation();\n          if (selectedIndex !== -1) {\n            checkVia(resultAry[selectedIndex]);\n          }\n          break;\n        default:\n          break;\n      }\n    }\n  };\n  (0, _react.useEffect)(function () {\n    var _viaListRef$current3, _item$scrollIntoView;\n    searchInputRef.current && searchInputRef.current.focus();\n    var item = (_viaListRef$current3 = viaListRef.current) === null || _viaListRef$current3 === void 0 ? void 0 : _viaListRef$current3.children[index];\n    item === null || item === void 0 || (_item$scrollIntoView = item.scrollIntoView) === null || _item$scrollIntoView === void 0 || _item$scrollIntoView.call(item, {\n      behavior: 'instant',\n      block: 'start'\n    }); // 初始定位到选中的下拉项\n  }, []);\n  var search = function search(e) {\n    var searchWord = e.target.value;\n    setSearchWord(searchWord);\n    setSelectedIndex(0);\n  };\n  return viaList.length > 0 ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_Telephone[\"default\"]['search-input-div'], 'weak-1px-border')\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: \"kdfont kdfont-f disabled-fc\",\n    style: {\n      cursor: 'pointer'\n    }\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n    ref: searchInputRef,\n    className: (0, _classnames[\"default\"])('kd-cq-input', _Telephone[\"default\"]['search-input']),\n    placeholder: (0, _intlApi.getLangMsg)('telephone.searchPlaceholder'),\n    onChange: search,\n    onKeyDown: handleKeyDown,\n    autoComplete: \"new-password\"\n  })), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n    ref: viaListRef,\n    className: _Telephone[\"default\"]['search-ul'],\n    onMouseMove: handleMouseMove\n  }, resultAry.length > 0 ? resultAry.map(function (item, vIndex) {\n    return /*#__PURE__*/_react[\"default\"].createElement(_ViaListItem[\"default\"], {\n      index: vIndex,\n      key: \"\".concat(item.name, \"_\").concat(item.id, \"_\").concat(vIndex),\n      item: item,\n      isFocused: selectedIndex === vIndex,\n      isSelected: index === vIndex,\n      checkVia: checkVia\n    });\n  }) : /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n    className: (0, _classnames[\"default\"])('kd-cq-empty-description kd-cq-empty-telephone', _Telephone[\"default\"]['no-result-li'])\n  }, (0, _intlApi.getLangMsg)('telephone.noResult')))) : /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _Telephone[\"default\"]['no-data-tip-class']\n  }, (0, _intlApi.getLangMsg)('City.key0005'));\n}\nvar _default = exports[\"default\"] = ViaListPanel;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Telephone/ViaListPanel.js?");

/***/ }),

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

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.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.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.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.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[\"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.find-index.js */ \"../../node_modules/core-js/modules/es.array.find-index.js\");\n__webpack_require__(/*! core-js/modules/es.array.flat.js */ \"../../node_modules/core-js/modules/es.array.flat.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.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\n__webpack_require__(/*! core-js/modules/es.array.unscopables.flat.js */ \"../../node_modules/core-js/modules/es.array.unscopables.flat.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.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.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.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.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 _reactDom = __webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\");\nvar _classnames4 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _ViaListPanel = _interopRequireDefault(__webpack_require__(/*! ./ViaListPanel */ \"./src/component/web/base/Telephone/ViaListPanel.js\"));\nvar _telephoneUtils = __webpack_require__(/*! @/util/telephoneUtils */ \"./src/util/telephoneUtils.js\");\nvar _PanelWrapper = _interopRequireDefault(__webpack_require__(/*! @/component/common/PanelWrapper */ \"./src/component/common/PanelWrapper.js\"));\nvar _Telephone = _interopRequireDefault(__webpack_require__(/*! ./Telephone.less */ \"./src/component/web/base/Telephone/Telephone.less\"));\nvar _commonAnimation = _interopRequireDefault(__webpack_require__(/*! @/component/common/commonAnimation.less */ \"./src/component/common/commonAnimation.less\"));\nvar _baseComponent = _interopRequireDefault(__webpack_require__(/*! @/component/web/base/baseComponent.less */ \"./src/component/web/base/baseComponent.less\"));\nvar _keyCode = __webpack_require__(/*! @/constant/keyCode */ \"./src/constant/keyCode.js\");\nvar _keyCodeTool = __webpack_require__(/*! @/util/keyCodeTool */ \"./src/util/keyCodeTool.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 _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); }\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; }\n/**\n * @author zejie_liao\n * @description 2019年9月29日，手机号码控件React Hooks重构第一版\n * @param {Object} props\n */\nfunction Telephone(props) {\n  var disabled = props.disabled,\n    value = props.value,\n    onChange = props.onChange,\n    onBlur = props.onBlur,\n    _props$viaList = props.viaList,\n    viaList = _props$viaList === void 0 ? [] : _props$viaList,\n    theme = props.theme,\n    getPopupContainer = props.getPopupContainer,\n    _props$noValue = props.noValue,\n    noValue = _props$noValue === void 0 ? '' : _props$noValue,\n    maxLength = props.maxLength,\n    placeholder = props.placeholder,\n    style = props.style,\n    className = props.className,\n    tabIndex = props.tabIndex,\n    selectCountry = props.selectCountry,\n    country = props.country,\n    shortcutInfo = props.shortcutInfo,\n    lock = props.lock;\n  var _useState = (0, _react.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    viaPanelShow = _useState2[0],\n    setViaPanelShow = _useState2[1]; // 显示选择号码via面板\n  // const [viaData, setViaData] = useState(undefined) // 用户选择的数据\n  var viaRef = (0, _react.useRef)(null); // via的Input输入框关联DOM节点\n  var telInputRef = (0, _react.useRef)(null); // 手机号码输入框关联DOM节点\n  var rootRef = (0, _react.useRef)(null); // 字段根节点\n\n  // useEffect(() => {\n  //   const via = viaList.find(item => item.id === '+86' || item.id === '86' || !!item.id) || DEFAULT_VIA\n  //   setViaData(via)\n  //   selectCountry && selectCountry(via)\n  // }, [viaList])\n\n  // useEffect(() => {\n  //   if (!value) return\n  //   const via = getViaFromValue(value, viaList, true)\n  //   setViaData(via)\n  //   selectCountry && selectCountry(via)\n  // }, [value])\n\n  var checkVia = function checkVia(item) {\n    // 将选中的值保存到state，并关闭面板\n    // 如果已经输入了号码，切换国家区号也需要更新值到store\n    selectCountry && selectCountry(item);\n    var result = value ? \"\".concat(item.id, \"-\").concat(getValue(value)) : value;\n    onChange(result);\n    closeViaPanel();\n    telInputRef.current.focus();\n  };\n\n  /**\n   * @description 用于viaListPanel键盘事件或者选择之后关闭自身的函数\n   */\n  var closeViaPanel = function closeViaPanel() {\n    setViaPanelShow(false);\n  };\n  var openViaPanel = function openViaPanel() {\n    setViaPanelShow(true);\n  };\n  var handleArrowClick = function handleArrowClick(e) {\n    e.stopPropagation();\n    setViaPanelShow(!viaPanelShow);\n  };\n  var handleFocus = function handleFocus(e) {\n    e.target.select();\n  };\n  var handleKeyDown = function handleKeyDown(e) {\n    var _telInputRef$current;\n    var keyCode = (0, _keyCodeTool.getKeyCode)(e);\n    switch (keyCode) {\n      case _keyCode.KEYS.ARROWDOWN:\n        e.preventDefault();\n        openViaPanel();\n        break;\n      case _keyCode.KEYS.ENTER:\n        e.stopPropagation();\n        (_telInputRef$current = telInputRef.current) === null || _telInputRef$current === void 0 || _telInputRef$current.focus();\n        break;\n      default:\n        return;\n    }\n    props.onViaKeyDown && props.onViaKeyDown(e);\n  };\n  var handleChange = function handleChange(e) {\n    var value = e.target.value.trim();\n    var result = value;\n    if (value) {\n      result = \"\".concat(country === null || country === void 0 ? void 0 : country.id, \"-\").concat(value);\n    }\n    onChange && onChange(result);\n  };\n  var getValue = function getValue(value) {\n    if (disabled) return value || noValue;\n    if (!value) return value;\n    var reg = null;\n    // 先按照+86-的格式去找，不兼容没有用-隔开区号和手机号的数据\n    var viaId = country === null || country === void 0 ? void 0 : country.id;\n    if (!viaId) {\n      var via = (0, _telephoneUtils.getViaFromValue)(value, viaList, true);\n      viaId = via.id;\n      reg = new RegExp(viaId.replace('+', '\\\\$&'));\n    } else {\n      if (value.includes('+') && !viaId.includes('+')) {\n        viaId = \"+\".concat(viaId);\n      } else if (!value.includes('+') && viaId.includes('+')) {\n        viaId = viaId.substring(1);\n      }\n      reg = new RegExp(viaId.replace('+', '\\\\$&') + '\\\\-');\n    }\n    return value.replace(reg, '');\n  };\n  var renderViaPanel = function renderViaPanel() {\n    var rootEle = rootRef.current;\n    // 获取表格传入的弹窗父级容器\n    var containter = getPopupContainer && getPopupContainer();\n    // const via = getVia()\n    // 已选via值在列表中的位置\n    var index = viaList.findIndex(function (value) {\n      return (country === null || country === void 0 ? void 0 : country.id) === value.id && (country === null || country === void 0 ? void 0 : country.name) === value.name;\n    });\n    return /*#__PURE__*/(0, _reactDom.createPortal)( /*#__PURE__*/_react[\"default\"].createElement(_PanelWrapper[\"default\"], {\n      onClose: closeViaPanel,\n      trigger: rootEle,\n      keepFocus: true\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: (0, _classnames4[\"default\"])('kd-cq-dropdown kd-cq-dropdown-select-type kd-cq-telephone-dropdown', _Telephone[\"default\"]['search-panel'], _commonAnimation[\"default\"]['panel-drop-down-animation'])\n    }, /*#__PURE__*/_react[\"default\"].createElement(_ViaListPanel[\"default\"], {\n      index: index,\n      viaList: viaList,\n      checkVia: checkVia,\n      close: closeViaPanel\n    }))), containter || document.body);\n  };\n  var _value = getValue(value);\n  var rootClass = (0, _classnames4[\"default\"])(_Telephone[\"default\"].root, _defineProperty(_defineProperty({}, className, className), _Telephone[\"default\"].flat, theme === 'flat'));\n  var arrowClass = (0, _classnames4[\"default\"])('kdfont kdfont-xiala', _Telephone[\"default\"]['arrow-' + (theme || 'default')], _commonAnimation[\"default\"]['arrow-move-in-animation'], _defineProperty({}, _commonAnimation[\"default\"]['arrow-move-out-animation'], viaPanelShow));\n  var inputClass = (0, _classnames4[\"default\"])('kd-cq-input', _baseComponent[\"default\"].input, _baseComponent[\"default\"]['input-' + (theme || 'default')], _defineProperty(_defineProperty(_defineProperty({}, _baseComponent[\"default\"].disabled, disabled && _value !== noValue), _baseComponent[\"default\"]['field-disabled-no-value-color'], disabled && _value === noValue), _Telephone[\"default\"]['lock-with-no-value'], lock && _value === noValue));\n  var viaInputClass = (0, _classnames4[\"default\"])('kd-cq-input', _baseComponent[\"default\"].input, _baseComponent[\"default\"]['input-' + (theme || 'default')]);\n  var isRenderViaPanel = !viaPanelShow || disabled;\n  var inputEvents = !disabled && {\n    onBlur: onBlur,\n    onChange: handleChange\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: rootClass,\n    ref: rootRef,\n    \"data-base-ctrl\": true\n  }, disabled ? null : /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    ref: viaRef,\n    className: _Telephone[\"default\"].via,\n    onClick: openViaPanel\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n    className: viaInputClass,\n    readOnly: true,\n    value: country === null || country === void 0 ? void 0 : country.id\n  }, shortcutInfo, {\n    onFocus: handleFocus,\n    onKeyDown: handleKeyDown,\n    style: style\n  })), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: arrowClass,\n    onClick: handleArrowClick\n  })), /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n    ref: telInputRef,\n    onFocus: closeViaPanel,\n    type: \"tel\",\n    style: style,\n    value: _value,\n    className: inputClass,\n    readOnly: disabled,\n    autoComplete: \"new-password\"\n  }, inputEvents, {\n    // onChange / onBlur\n    maxLength: maxLength,\n    placeholder: placeholder,\n    tabIndex: tabIndex\n  }, shortcutInfo)), isRenderViaPanel ? null : renderViaPanel());\n}\nvar _default = exports[\"default\"] = Telephone;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Telephone/index.js?");

/***/ }),

/***/ "./src/component/web/base/Time.jsx":
/*!*****************************************!*\
  !*** ./src/component/web/base/Time.jsx ***!
  \*****************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.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.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.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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\"] = Time;\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.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.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.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 _moment = _interopRequireDefault(__webpack_require__(/*! moment */ \"../../node_modules/moment/moment.js\"));\nvar _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _reactDom = __webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\");\nvar _numberUtil = __webpack_require__(/*! ../../../util/numberUtil */ \"./src/util/numberUtil.js\");\nvar _PanelWrapper = _interopRequireDefault(__webpack_require__(/*! ../../common/PanelWrapper */ \"./src/component/common/PanelWrapper.js\"));\nvar _ColumnSelect = _interopRequireDefault(__webpack_require__(/*! ./DateTimePicker/common/ColumnSelect */ \"./src/component/web/base/DateTimePicker/common/ColumnSelect.js\"));\nvar _keyCode = __webpack_require__(/*! ../../../constant/keyCode */ \"./src/constant/keyCode.js\");\nvar _Time = _interopRequireDefault(__webpack_require__(/*! ./Time.less */ \"./src/component/web/base/Time.less\"));\nvar _baseComponent = _interopRequireDefault(__webpack_require__(/*! ../base/baseComponent.less */ \"./src/component/web/base/baseComponent.less\"));\nvar _defaultPropsUtil = __webpack_require__(/*! @/util/defaultPropsUtil */ \"./src/util/defaultPropsUtil.js\");\nvar _customCtrlName = _interopRequireDefault(__webpack_require__(/*! @/constant/customCtrlName */ \"./src/constant/customCtrlName.js\"));\nvar _initListenShortCutEvent = __webpack_require__(/*! @/service/web/initListenShortCutEvent */ \"./src/service/web/initListenShortCutEvent.js\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _excluded = [\"value\", \"className\", \"style\", \"theme\", \"disabled\", \"readOnly\", \"AlignSelf\", \"Grow\", \"format\", \"noValue\", \"showClear\", \"focusOpen\", \"getPopupContainer\", \"onChange\", \"onImmediateChange\", \"onBlur\", \"iconStyle\", \"clearIconStyle\", \"inputStyle\", \"onKeyDown\", \"locale\", \"lock\"];\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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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); }\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nvar initCols = function initCols(format) {\n  return [(format.includes('H') || format.includes('h')) && 'hour', format.includes('m') && 'minute', format.includes('s') && 'second'].filter(function (col) {\n    return !!col;\n  });\n};\nfunction Time(_ref) {\n  var value = _ref.value,\n    className = _ref.className,\n    style = _ref.style,\n    theme = _ref.theme,\n    disabled = _ref.disabled,\n    readOnly = _ref.readOnly,\n    AlignSelf = _ref.AlignSelf,\n    Grow = _ref.Grow,\n    _ref$format = _ref.format,\n    format = _ref$format === void 0 ? 'HH:mm:ss' : _ref$format,\n    _ref$noValue = _ref.noValue,\n    noValue = _ref$noValue === void 0 ? '' : _ref$noValue,\n    _ref$showClear = _ref.showClear,\n    showClear = _ref$showClear === void 0 ? true : _ref$showClear,\n    focusOpen = _ref.focusOpen,\n    getPopupContainer = _ref.getPopupContainer,\n    onChange = _ref.onChange,\n    onImmediateChange = _ref.onImmediateChange,\n    _onBlur = _ref.onBlur,\n    iconStyle = _ref.iconStyle,\n    _ref$clearIconStyle = _ref.clearIconStyle,\n    clearIconStyle = _ref$clearIconStyle === void 0 ? {} : _ref$clearIconStyle,\n    inputStyle = _ref.inputStyle,\n    _onKeyDown = _ref.onKeyDown,\n    _ref$locale = _ref.locale,\n    locale = _ref$locale === void 0 ? 'zh_CN' : _ref$locale,\n    lock = _ref.lock,\n    other = _objectWithoutProperties(_ref, _excluded);\n  var cols = initCols(format);\n  var inputRef = (0, _react.useRef)(null);\n  var containerRef = (0, _react.useRef)(null);\n  var _useState = (0, _react.useState)(true),\n    _useState2 = _slicedToArray(_useState, 2),\n    typing = _useState2[0],\n    setTyping = _useState2[1];\n  var _useState3 = (0, _react.useState)(value),\n    _useState4 = _slicedToArray(_useState3, 2),\n    viewValue = _useState4[0],\n    setViewValue = _useState4[1];\n  var _useState5 = (0, _react.useState)(''),\n    _useState6 = _slicedToArray(_useState5, 2),\n    innerValue = _useState6[0],\n    setInnerValue = _useState6[1];\n  var _useState7 = (0, _react.useState)(false),\n    _useState8 = _slicedToArray(_useState7, 2),\n    open = _useState8[0],\n    setOpen = _useState8[1];\n  var _useState9 = (0, _react.useState)(-1),\n    _useState10 = _slicedToArray(_useState9, 2),\n    activeIndex = _useState10[0],\n    setActiveIndex = _useState10[1];\n  var footerLocale = {\n    ok: (0, _intlApi.getLangMsg)('timeRange.ok')\n  };\n  (0, _react.useEffect)(function () {\n    return setViewValue(value);\n  }, [value]);\n  (0, _react.useEffect)(function () {\n    setInnerValue(disabled && !value ? noValue : (value || '') && value.locale(locale).format(format));\n  }, [disabled, value]);\n  var onOperateKeyDown = function onOperateKeyDown(e) {\n    var op = null;\n    switch (e.keyCode) {\n      case _keyCode.KEYS.ARROWLEFT:\n        setActiveIndex(function (activeIndex) {\n          return activeIndex === 0 ? cols.length - 1 : activeIndex - 1;\n        });\n        break;\n      case _keyCode.KEYS.ARROWRIGHT:\n        setActiveIndex(function (activeIndex) {\n          return activeIndex === cols.length - 1 ? 0 : activeIndex + 1;\n        });\n        break;\n      case _keyCode.KEYS.ARROWUP:\n        op = function op(value, max) {\n          return value === 0 ? max : value - 1;\n        };\n        break;\n      case _keyCode.KEYS.ARROWDOWN:\n        op = function op(value, max) {\n          return value === max ? 0 : value + 1;\n        };\n        break;\n      case _keyCode.KEYS.ENTER:\n        e.stopPropagation();\n        setOpen(false);\n        (0, _initListenShortCutEvent.triggerToNextFieldByEnter)(e.shiftKey, inputRef.current);\n        break;\n      default:\n        break;\n    }\n    if (op) {\n      var newValue = viewValue && viewValue.clone() || (0, _moment[\"default\"])('00:00:00', 'HH:mm:ss');\n      var colValue = newValue[cols[activeIndex]]();\n      var maxColValue = cols[activeIndex] === 'hour' ? 23 : 59;\n      newValue.set(cols[activeIndex], op(colValue, maxColValue));\n      setViewValue(newValue);\n      setInnerValue(newValue.format(format));\n      onImmediateChange && onImmediateChange(newValue);\n    }\n    e.preventDefault();\n  };\n  var handleClear = function handleClear(e) {\n    e.stopPropagation();\n    setViewValue(null);\n    setInnerValue('');\n    onChange(null);\n  };\n  var matchMomentValue = function matchMomentValue(strValue) {\n    // const match = ['HH:mm:ss', 'HH:mm', 'mm:ss', 'HHmmss']\n    // const match = [format, format.replace(':', '')]\n    var momentValue = (0, _moment[\"default\"])(strValue, format, true);\n    return momentValue.isValid() && momentValue;\n  };\n  var inputEvents = disabled || readOnly ? {} : {\n    onKeyDown: function onKeyDown(e) {\n      if (e.keyCode === _keyCode.KEYS.TAB) {\n        setOpen(false);\n        return;\n      }\n      // open && e.preventDefault()\n      switch (e.keyCode) {\n        case _keyCode.KEYS.ARROWRIGHT:\n          e.stopPropagation();\n          break;\n        case _keyCode.KEYS.ARROWDOWN:\n          // 面板打开按下箭头，关闭输入框输入，聚焦面板操作\n          if (typing) {\n            setTyping(false);\n            setActiveIndex(0);\n            e.preventDefault();\n          }\n          e.stopPropagation();\n          break;\n        case _keyCode.KEYS.ESCAPE:\n          setOpen(false);\n          setTyping(true);\n          setActiveIndex(-1);\n          setViewValue(value);\n          setInnerValue(value ? value.format(format) : '');\n          onChange(value);\n          break;\n        case _keyCode.KEYS.ENTER:\n          setOpen(false);\n          setTyping(true);\n          setActiveIndex(-1);\n          onChange((e.target.value || null) && (matchMomentValue(e.target.value) || value));\n          break;\n        default:\n          break;\n      }\n      !open && setOpen(true);\n      !typing && onOperateKeyDown(e);\n      _onKeyDown && _onKeyDown(e);\n    },\n    onBlur: function onBlur(e) {\n      setOpen(false);\n      setTyping(true);\n      setActiveIndex(-1);\n      var val = value ? value.format(format) : '';\n      setInnerValue(val);\n      // 卡片字段会失焦和值变化时会发送两个请求到后台\n      if (e.target.value === '') {\n        // 当前输入框值为空，置空\n        setViewValue(null);\n        onChange && value !== null && onChange(null);\n      } else if (e.target.value !== innerValue || val !== e.target.value) {\n        onChange && onChange(viewValue);\n      }\n      _onBlur && _onBlur(e);\n    },\n    onFocus: function onFocus() {\n      return focusOpen && setOpen(true);\n    },\n    onChange: function onChange(e) {\n      setInnerValue(e.target.value);\n      var newValue = matchMomentValue(e.target.value);\n      if (newValue) {\n        setViewValue(newValue);\n        setInnerValue(newValue.format(format));\n        onImmediateChange && onImmediateChange(newValue);\n      }\n    }\n  };\n  var containEvents = disabled || readOnly ? {} : {\n    onClick: function onClick(e) {\n      setOpen(true);\n      setTyping(true);\n      setActiveIndex(-1);\n      inputRef.current.focus();\n    }\n  };\n  var timeCls = (0, _classnames3[\"default\"])(_Time[\"default\"].time, className);\n  var defaultIcon = (0, _defaultPropsUtil.getCommonFieldIcon)(_customCtrlName[\"default\"].TIME);\n  var iconCls = (0, _classnames3[\"default\"])(_Time[\"default\"]['time-icon'], 'kd-cq-trigger-icon', _defineProperty({\n    'kdfont kdfont-shenpijilu': !defaultIcon\n  }, defaultIcon, true));\n  var clearIconCls = (0, _classnames3[\"default\"])(_Time[\"default\"]['time-clear-icon'], 'kdfont kdfont-guanbi8');\n  var inputCls = (0, _classnames3[\"default\"])('kd-cq-input', _baseComponent[\"default\"].input, _baseComponent[\"default\"]['input-' + (theme || 'default')], _Time[\"default\"]['pr-18'], _Time[\"default\"]['time-input'], _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Time[\"default\"]['pr-36'], showClear && innerValue), _baseComponent[\"default\"].disabled, disabled && innerValue !== noValue), _baseComponent[\"default\"]['field-disabled-no-value-color'], disabled && !value), _Time[\"default\"]['lock-with-no-value'], lock && innerValue === noValue));\n  var clearIconStyleWithBC = _objectSpread(_objectSpread({}, clearIconStyle), {}, {\n    backgroundColor: (inputStyle === null || inputStyle === void 0 ? void 0 : inputStyle.backgroundColor) || '#fff'\n  });\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n    className: timeCls,\n    ref: containerRef,\n    style: style,\n    \"data-base-ctrl\": true,\n    title: innerValue\n  }, containEvents), /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n    ref: inputRef\n  }, other, {\n    style: inputStyle,\n    disabled: disabled,\n    readOnly: readOnly || !typing,\n    className: inputCls,\n    value: innerValue\n  }, inputEvents)), !disabled && /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: iconCls,\n    style: iconStyle\n  }), showClear && innerValue && /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: clearIconCls,\n    onClick: handleClear,\n    style: clearIconStyleWithBC\n  }), open && /*#__PURE__*/(0, _reactDom.createPortal)( /*#__PURE__*/_react[\"default\"].createElement(_PanelWrapper[\"default\"], {\n    onClose: function onClose() {\n      return setOpen(false);\n    },\n    trigger: containerRef.current\n  }, /*#__PURE__*/_react[\"default\"].createElement(TimePickerPanel, {\n    value: viewValue,\n    format: format\n    // openInput={false}\n    ,\n    activeColType: cols[activeIndex],\n    updateValue: onChange,\n    locale: footerLocale,\n    onConfirm: function onConfirm(e) {\n      setOpen(false);\n      e.stopPropagation();\n    }\n  })), getPopupContainer && getPopupContainer() || document.body));\n}\n\n// function TimePickerPanel ({ value, format, openInput, activeColType, updateValue }) {\nfunction TimePickerPanel(_ref2) {\n  var value = _ref2.value,\n    format = _ref2.format,\n    activeColType = _ref2.activeColType,\n    updateValue = _ref2.updateValue,\n    locale = _ref2.locale,\n    onConfirm = _ref2.onConfirm;\n  // value = value || moment('00:00:00', 'HH:mm:ss')\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames3[\"default\"])('kd-cq-dropdown kd-cq-dropdown-select-type', _Time[\"default\"]['time-panel'])\n  }, /*#__PURE__*/_react[\"default\"].createElement(TimePicker, {\n    value: value,\n    format: format,\n    activeColType: activeColType,\n    onSelect: updateValue\n  }), /*#__PURE__*/_react[\"default\"].createElement(TimeFooter, {\n    locale: locale,\n    onConfirm: onConfirm,\n    value: value\n  }));\n}\n\n// function TimeInput ({ value, format, updateValue }) {\n//   const [innerValue, setInnerValue] = useState(value)\n//   useEffect(() => setInnerValue(value), [value])\n//   const inputChange = ev => {\n//     setInnerValue(ev.target.value)\n//     const newValue = moment(ev.target.value, format, true)\n//     if (newValue.isValid()) updateValue(newValue)\n//   }\n//   return <input className={styles['time-input']} value={innerValue || ''} onChange={inputChange} />\n// }\n\nfunction TimeTitle(_ref3) {\n  var value = _ref3.value,\n    format = _ref3.format;\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames3[\"default\"])(_Time[\"default\"]['time-title'], 'theme-bg1')\n  }, (format.includes('H') || format.includes('h')) && /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _numberUtil.supplementZero)(value.hour())), format.includes('m') && /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _numberUtil.supplementZero)(value.minute())), format.includes('s') && /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _numberUtil.supplementZero)(value.second())));\n}\nfunction TimePicker(_ref4) {\n  var value = _ref4.value,\n    format = _ref4.format,\n    activeColType = _ref4.activeColType,\n    _onSelect = _ref4.onSelect;\n  var initData = function initData(_ref5, value, type) {\n    var _ref6 = _slicedToArray(_ref5, 2),\n      start = _ref6[0],\n      end = _ref6[1];\n    var selectedValue = value ? value[type]() : undefined;\n    var items = []; // 初始化时分秒的选择item\n    var selectedIndex = -1;\n    for (var index = start; index <= end; index++) {\n      if (index === selectedValue) selectedIndex = index - start;\n      items.push({\n        value: index,\n        disabled: false,\n        label: (0, _numberUtil.supplementZero)(index)\n      });\n    }\n    return {\n      options: items,\n      selectedIndex: selectedIndex\n    };\n  };\n  var renderTimeCol = function renderTimeCol(type) {\n    var cloneValue = value ? value.clone() : (0, _moment[\"default\"])('00:00:00', 'HH:mm:ss').clone();\n    return /*#__PURE__*/_react[\"default\"].createElement(_ColumnSelect[\"default\"], _extends({\n      key: type,\n      className: (0, _classnames3[\"default\"])(_Time[\"default\"]['time-column-picker'], {\n        'theme-1px-border-right theme-1px-border-left theme-1px-border-bottom': activeColType === type\n      }),\n      onSelect: function onSelect(option) {\n        return _onSelect(cloneValue[type](option.value));\n      }\n    }, initData([0, type === 'hour' ? 23 : 59], value, type)));\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _Time[\"default\"]['time-picker']\n  }, (format.includes('H') || format.includes('h')) && renderTimeCol('hour'), format.includes('m') && renderTimeCol('minute'), format.includes('s') && renderTimeCol('second'));\n}\nvar TimeFooter = function TimeFooter(_ref7) {\n  var locale = _ref7.locale,\n    onConfirm = _ref7.onConfirm,\n    value = _ref7.value;\n  var isDisabled = !value;\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _Time[\"default\"]['time-picker-footer']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"button\", {\n    className: (0, _classnames3[\"default\"])('kd-btn-bg kd-cq-control kd-cq-btn', _Time[\"default\"]['time-picker-footer-ok'], {\n      'follow-theme-disabled-bg-fc': isDisabled,\n      'follow-theme-bg-fc hover-theme-bg1 active-theme-bg1': !isDisabled\n    }),\n    onClick: function onClick(e) {\n      !isDisabled && onConfirm(e);\n    }\n  }, locale.ok));\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Time.jsx?");

/***/ }),

/***/ "./src/component/web/base/TimeRange.jsx":
/*!**********************************************!*\
  !*** ./src/component/web/base/TimeRange.jsx ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.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.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.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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\"] = TimeRange;\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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.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.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\n__webpack_require__(/*! core-js/modules/es.string.split.js */ \"../../node_modules/core-js/modules/es.string.split.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 _classnames3 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\"));\nvar _moment = _interopRequireDefault(__webpack_require__(/*! moment */ \"../../node_modules/moment/moment.js\"));\nvar _PanelWrapper = _interopRequireDefault(__webpack_require__(/*! ../../common/PanelWrapper */ \"./src/component/common/PanelWrapper.js\"));\nvar _ColumnSelect = _interopRequireDefault(__webpack_require__(/*! ./DateTimePicker/common/ColumnSelect */ \"./src/component/web/base/DateTimePicker/common/ColumnSelect.js\"));\nvar _numberUtil = __webpack_require__(/*! ../../../util/numberUtil */ \"./src/util/numberUtil.js\");\nvar _keyCode = __webpack_require__(/*! ../../../constant/keyCode */ \"./src/constant/keyCode.js\");\nvar _TimeRange = _interopRequireDefault(__webpack_require__(/*! ./TimeRange.less */ \"./src/component/web/base/TimeRange.less\"));\nvar _baseComponent = _interopRequireDefault(__webpack_require__(/*! ../base/baseComponent.less */ \"./src/component/web/base/baseComponent.less\"));\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _defaultPropsUtil = __webpack_require__(/*! @/util/defaultPropsUtil */ \"./src/util/defaultPropsUtil.js\");\nvar _customCtrlName = _interopRequireDefault(__webpack_require__(/*! @/constant/customCtrlName */ \"./src/constant/customCtrlName.js\"));\nvar _initListenShortCutEvent = __webpack_require__(/*! @/service/web/initListenShortCutEvent */ \"./src/service/web/initListenShortCutEvent.js\");\nvar _excluded = [\"value\", \"className\", \"readOnly\", \"disabled\", \"theme\", \"Grow\", \"style\", \"format\", \"separator\", \"noValue\", \"showClear\", \"focusOpen\", \"legalTimes\", \"onChange\", \"onBlur\", \"getPopupContainer\", \"onImmediateChange\", \"iconStyle\", \"clearIconStyle\", \"inputStyle\", \"onKeyDown\", \"locale\", \"lock\"];\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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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); }\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 _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 _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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nvar initCols = function initCols(format) {\n  return [(format.includes('H') || format.includes('h')) && 'hour', format.includes('m') && 'minute', format.includes('s') && 'second'].filter(function (col) {\n    return !!col;\n  });\n};\nfunction TimeRange(_ref) {\n  var value = _ref.value,\n    className = _ref.className,\n    readOnly = _ref.readOnly,\n    disabled = _ref.disabled,\n    theme = _ref.theme,\n    Grow = _ref.Grow,\n    style = _ref.style,\n    _ref$format = _ref.format,\n    format = _ref$format === void 0 ? 'HH:mm:ss' : _ref$format,\n    _ref$separator = _ref.separator,\n    separator = _ref$separator === void 0 ? '～' : _ref$separator,\n    _ref$noValue = _ref.noValue,\n    noValue = _ref$noValue === void 0 ? '' : _ref$noValue,\n    _ref$showClear = _ref.showClear,\n    showClear = _ref$showClear === void 0 ? true : _ref$showClear,\n    focusOpen = _ref.focusOpen,\n    legalTimes = _ref.legalTimes,\n    onChange = _ref.onChange,\n    _onBlur = _ref.onBlur,\n    getPopupContainer = _ref.getPopupContainer,\n    onImmediateChange = _ref.onImmediateChange,\n    iconStyle = _ref.iconStyle,\n    clearIconStyle = _ref.clearIconStyle,\n    inputStyle = _ref.inputStyle,\n    _onKeyDown = _ref.onKeyDown,\n    _ref$locale = _ref.locale,\n    locale = _ref$locale === void 0 ? 'zh_CN' : _ref$locale,\n    lock = _ref.lock,\n    other = _objectWithoutProperties(_ref, _excluded);\n  var cols = initCols(format);\n  var rangeCols = [].concat(_toConsumableArray(cols), _toConsumableArray(cols));\n  var inputRef = (0, _react.useRef)(null);\n  var containerRef = (0, _react.useRef)(null);\n  var _useState = (0, _react.useState)(true),\n    _useState2 = _slicedToArray(_useState, 2),\n    typing = _useState2[0],\n    setTyping = _useState2[1];\n  var _useState3 = (0, _react.useState)(value),\n    _useState4 = _slicedToArray(_useState3, 2),\n    viewValue = _useState4[0],\n    setViewValue = _useState4[1];\n  var _useState5 = (0, _react.useState)(''),\n    _useState6 = _slicedToArray(_useState5, 2),\n    inputValue = _useState6[0],\n    setInputValue = _useState6[1];\n  var _useState7 = (0, _react.useState)(false),\n    _useState8 = _slicedToArray(_useState7, 2),\n    open = _useState8[0],\n    setOpen = _useState8[1];\n  var _useState9 = (0, _react.useState)(-1),\n    _useState10 = _slicedToArray(_useState9, 2),\n    activeIndex = _useState10[0],\n    setActiveIndex = _useState10[1];\n  (0, _react.useEffect)(function () {\n    return setViewValue(value);\n  }, [value]);\n  (0, _react.useEffect)(function () {\n    setInputValue(disabled && (!value || !value.length) ? noValue : formatValue(value));\n  }, [disabled, value]);\n  var formatValue = function formatValue(value) {\n    if (!value) return '';\n    if (value.length === 0) return '';\n    var startValueString = value[0] && value[0].locale(locale).format(format);\n    var endValueString = value[1] && value[1].locale(locale).format(format);\n    return \"\".concat(startValueString || '').concat(separator).concat(endValueString || '');\n  };\n  var handleClear = function handleClear(e) {\n    e.stopPropagation();\n    onChange([]);\n  };\n  var onOperateKeyDown = function onOperateKeyDown(e) {\n    var op = null;\n    switch (e.keyCode) {\n      case _keyCode.KEYS.ARROWLEFT:\n        setActiveIndex(function (index) {\n          return index === 0 ? rangeCols.length - 1 : index - 1;\n        });\n        break;\n      case _keyCode.KEYS.ARROWRIGHT:\n        setActiveIndex(function (index) {\n          return index === rangeCols.length - 1 ? 0 : index + 1;\n        });\n        break;\n      case _keyCode.KEYS.ARROWUP:\n        op = function op(value, max) {\n          return value === 0 ? max : value - 1;\n        };\n        break;\n      case _keyCode.KEYS.ARROWDOWN:\n        op = function op(value, max) {\n          return value === max ? 0 : value + 1;\n        };\n        break;\n      case _keyCode.KEYS.ENTER:\n        e.stopPropagation();\n        setOpen(false);\n        (0, _initListenShortCutEvent.triggerToNextFieldByEnter)(e.shiftKey, inputRef.current);\n        break;\n    }\n    if (op) {\n      var _viewValue = _slicedToArray(viewValue, 2),\n        _viewValue$ = _viewValue[0],\n        start = _viewValue$ === void 0 ? (0, _moment[\"default\"])('00:00:00', 'HH:mm:ss') : _viewValue$,\n        _viewValue$2 = _viewValue[1],\n        end = _viewValue$2 === void 0 ? (0, _moment[\"default\"])('00:00:00', 'HH:mm:ss') : _viewValue$2;\n      var isStart = activeIndex < 3;\n      var opValue = (isStart ? start : end).clone();\n      var colValue = opValue[rangeCols[activeIndex]]();\n      var maxColValue = rangeCols[activeIndex] === 'hour' ? 23 : 59;\n      opValue.set(rangeCols[activeIndex], op(colValue, maxColValue));\n      var newValue = legalTimes(isStart ? [opValue, end] : [start, opValue]);\n      setViewValue(newValue);\n      setInputValue(formatValue(newValue));\n      onImmediateChange && onImmediateChange(newValue);\n    }\n    e.preventDefault();\n  };\n  var inputEvents = disabled || readOnly ? {} : {\n    onKeyDown: function onKeyDown(e) {\n      if (e.keyCode === _keyCode.KEYS.TAB) {\n        open && setOpen(false);\n        return;\n      }\n      switch (e.keyCode) {\n        case _keyCode.KEYS.ARROWRIGHT:\n          e.stopPropagation();\n          break;\n        case _keyCode.KEYS.ARROWDOWN:\n          // 面板打开按下箭头，关闭输入框输入，聚焦面板操作\n          if (open && typing) {\n            setTyping(false);\n            setActiveIndex(0);\n            e.preventDefault();\n          }\n          e.stopPropagation();\n          break;\n        case _keyCode.KEYS.ESCAPE:\n          setOpen(false);\n          setTyping(true);\n          setActiveIndex(-1);\n          setViewValue(value);\n          setInputValue(formatValue(value));\n          onChange(value);\n          break;\n        case _keyCode.KEYS.ENTER:\n          {\n            setOpen(false);\n            setTyping(true);\n            setActiveIndex(-1);\n            var newValue = matchMomentValues(e.target.value);\n            onChange(newValue.length > 0 ? newValue : value);\n            break;\n          }\n        default:\n          break;\n      }\n      !open && setOpen(true);\n      !typing && onOperateKeyDown(e);\n      _onKeyDown && _onKeyDown(e);\n    },\n    onBlur: function onBlur(e) {\n      setOpen(false);\n      setTyping(true);\n      // 卡片字段会失焦和值变化时会发送两个请求到后台\n      var newValue = matchMomentValues(e.target.value);\n      if (newValue.length === 0 && viewValue.length === 2) {\n        // 清空值时进行更新\n        onChange([]);\n      } else {\n        var isSameWithValue = newValue[0] && newValue[0].isSame(viewValue[0]) && newValue[1] && newValue[1].isSame(viewValue[1]);\n        var isSameWithProps = newValue[0] && newValue[0].isSame(value[0]) && newValue[1] && newValue[1].isSame(value[1]);\n        if (!isSameWithValue || !isSameWithProps) {\n          onChange(viewValue);\n        }\n      }\n      _onBlur && _onBlur(e);\n    },\n    onFocus: function onFocus(e) {\n      return focusOpen && setOpen(true);\n    },\n    onChange: function onChange(e) {\n      setInputValue(e.target.value);\n      var newValue = matchMomentValues(e.target.value);\n      if (newValue && newValue[0] && newValue[1]) {\n        setViewValue(newValue);\n        setInputValue(formatValue(newValue));\n        onImmediateChange && onImmediateChange(newValue);\n      }\n    }\n  };\n  var containEvents = disabled || readOnly ? {} : {\n    onClick: function onClick(e) {\n      !open && setOpen(true);\n      activeIndex !== -1 && setActiveIndex(-1);\n      inputRef.current.focus();\n    }\n  };\n  var matchMomentValues = function matchMomentValues(strValues) {\n    var _strValues$split = strValues.split('～'),\n      _strValues$split2 = _slicedToArray(_strValues$split, 2),\n      startStr = _strValues$split2[0],\n      endStr = _strValues$split2[1];\n    var startValue = (0, _moment[\"default\"])(startStr, format, locale, true);\n    var endValue = (0, _moment[\"default\"])(endStr, format, locale, true);\n    var res = [];\n    if (startValue.isValid() || endValue.isValid()) {\n      res.push(startValue.isValid() ? startValue : null);\n      res.push(endValue.isValid() ? endValue : null);\n    }\n    return res;\n  };\n  var defaultIcon = (0, _defaultPropsUtil.getCommonFieldIcon)(_customCtrlName[\"default\"].TIME);\n  var footerLocale = {\n    ok: (0, _intlApi.getLangMsg)('timeRange.ok'),\n    clear: (0, _intlApi.getLangMsg)('timeRange.clear')\n  };\n  var timeRangCls = (0, _classnames3[\"default\"])(_TimeRange[\"default\"]['time-range'], className);\n  var iconCls = (0, _classnames3[\"default\"])(_TimeRange[\"default\"]['time-range-icon'], 'kd-cq-trigger-icon', _defineProperty({\n    'kdfont kdfont-shenpijilu': !defaultIcon\n  }, defaultIcon, true));\n  var clearIconCls = (0, _classnames3[\"default\"])(_TimeRange[\"default\"]['time-clear-icon'], 'kdfont kdfont-guanbi8');\n  var inputCls = (0, _classnames3[\"default\"])('kd-cq-input', _baseComponent[\"default\"].input, _baseComponent[\"default\"]['input-' + (theme || 'default')], _TimeRange[\"default\"]['pr-18'], _TimeRange[\"default\"]['time-input'], _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _TimeRange[\"default\"]['pr-36'], showClear && value.length !== 0), _baseComponent[\"default\"].disabled, disabled && inputValue !== noValue), _baseComponent[\"default\"]['field-disabled-no-value-color'], disabled && !value[0] && !value[1]), _TimeRange[\"default\"]['lock-with-no-value'], lock && inputValue === noValue));\n  clearIconStyle = _objectSpread(_objectSpread({}, clearIconStyle), {}, {\n    backgroundColor: (inputStyle === null || inputStyle === void 0 ? void 0 : inputStyle.backgroundColor) || '#fff'\n  });\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n    className: timeRangCls,\n    \"data-base-ctrl\": true,\n    ref: containerRef,\n    style: style,\n    title: inputValue\n  }, containEvents), /*#__PURE__*/_react[\"default\"].createElement(\"input\", _extends({\n    ref: inputRef\n  }, other, {\n    style: inputStyle,\n    value: inputValue,\n    className: inputCls,\n    disabled: disabled,\n    readOnly: readOnly || !typing\n  }, inputEvents)), showClear && value.length !== 0 && /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: clearIconCls,\n    style: clearIconStyle,\n    onClick: handleClear\n  }), !disabled && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: iconCls,\n    style: iconStyle\n  }), open && /*#__PURE__*/_reactDom[\"default\"].createPortal( /*#__PURE__*/_react[\"default\"].createElement(_PanelWrapper[\"default\"], {\n    onClose: function onClose() {\n      return setOpen(false);\n    },\n    trigger: containerRef.current\n  }, /*#__PURE__*/_react[\"default\"].createElement(TimeRangePanel, {\n    showInput: false,\n    activeColType: [rangeCols[activeIndex < 3 && activeIndex], rangeCols[activeIndex >= 3 && activeIndex]],\n    onConfirm: function onConfirm(e) {\n      setOpen(false);\n      e.stopPropagation();\n    },\n    updateValue: onChange,\n    value: viewValue,\n    separator: separator,\n    format: format,\n    locale: footerLocale\n  })), getPopupContainer && getPopupContainer() || document.body));\n}\nfunction TimeRangePanel(_ref2) {\n  var value = _ref2.value,\n    separator = _ref2.separator,\n    format = _ref2.format,\n    locale = _ref2.locale,\n    showInput = _ref2.showInput,\n    activeColType = _ref2.activeColType,\n    onClear = _ref2.onClear,\n    onConfirm = _ref2.onConfirm,\n    updateValue = _ref2.updateValue;\n  var _value = _slicedToArray(value, 2),\n    firstTime = _value[0],\n    endTime = _value[1];\n  var inputValue = value[0] && value[1] ? \"\".concat(value[0].format(format)).concat(separator).concat(value[1].format(format)) : '';\n  // 由于去除了firstTime&endTime的默认值，这里用于传给onChange，避免首次设置值时另外一个面板数值为undefined\n  var _firstTime = firstTime || (0, _moment[\"default\"])('00:00:00', 'HH:mm:ss');\n  var _endTime = endTime || (0, _moment[\"default\"])('00:00:00', 'HH:mm:ss');\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames3[\"default\"])('kd-cq-dropdown kd-cq-dropdown-select-type kd-cq-time-range-dropdown', _TimeRange[\"default\"]['time-range-panel'])\n  }, showInput && /*#__PURE__*/_react[\"default\"].createElement(TimeRangeInput, {\n    value: inputValue,\n    format: format,\n    separator: separator,\n    updateValue: updateValue\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _TimeRange[\"default\"]['time-range-panel-content']\n  }, /*#__PURE__*/_react[\"default\"].createElement(TimePicker, {\n    value: firstTime,\n    format: format,\n    activeColType: activeColType[0],\n    onSelect: function onSelect(newValue) {\n      return updateValue([newValue, _endTime]);\n    }\n  }), /*#__PURE__*/_react[\"default\"].createElement(TimePicker, {\n    value: endTime,\n    format: format,\n    activeColType: activeColType[1],\n    onSelect: function onSelect(newValue) {\n      return updateValue([_firstTime, newValue]);\n    },\n    preValue: firstTime\n  })), /*#__PURE__*/_react[\"default\"].createElement(TimeRangeFooter, {\n    locale: locale,\n    onClear: onClear,\n    onConfirm: onConfirm,\n    value: value\n  }));\n}\nfunction TimeRangeInput(_ref3) {\n  var value = _ref3.value,\n    format = _ref3.format,\n    separator = _ref3.separator,\n    updateValue = _ref3.updateValue;\n  var _useState11 = (0, _react.useState)(value || ''),\n    _useState12 = _slicedToArray(_useState11, 2),\n    inputValue = _useState12[0],\n    setInputValue = _useState12[1];\n  (0, _react.useEffect)(function () {\n    setInputValue(value);\n  }, [value]);\n  var inputChange = function inputChange(ev) {\n    setInputValue(ev.target.value);\n    var _ev$target$value$spli = ev.target.value.split(separator),\n      _ev$target$value$spli2 = _slicedToArray(_ev$target$value$spli, 2),\n      _ev$target$value$spli3 = _ev$target$value$spli2[0],\n      startTimeStr = _ev$target$value$spli3 === void 0 ? '' : _ev$target$value$spli3,\n      _ev$target$value$spli4 = _ev$target$value$spli2[1],\n      endTimeStr = _ev$target$value$spli4 === void 0 ? '' : _ev$target$value$spli4;\n    var startTime = (0, _moment[\"default\"])(startTimeStr.trim(), format, true);\n    var endTime = (0, _moment[\"default\"])(endTimeStr.trim(), format, true);\n    if (startTime.isValid() && endTime.isValid()) updateValue([startTime, endTime]);\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n    className: (0, _classnames3[\"default\"])('kd-cq-input', _TimeRange[\"default\"]['time-range-input']),\n    value: inputValue,\n    onChange: inputChange\n  });\n}\nfunction TimeRangeTitle(_ref4) {\n  var value = _ref4.value,\n    format = _ref4.format,\n    _ref4$separator = _ref4.separator,\n    separator = _ref4$separator === void 0 ? '~' : _ref4$separator;\n  var _value2 = _slicedToArray(value, 2),\n    start = _value2[0],\n    end = _value2[1];\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames3[\"default\"])(_TimeRange[\"default\"]['time-range-title'], 'theme-bg1')\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _TimeRange[\"default\"]['time-range-title-left']\n  }, /h|H/g.test(format) && /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _numberUtil.supplementZero)(start.hour())), /M|m/g.test(format) && /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _numberUtil.supplementZero)(start.minute())), /S|s/g.test(format) && /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _numberUtil.supplementZero)(start.second()))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _TimeRange[\"default\"]['time-range-title-center']\n  }, separator), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _TimeRange[\"default\"]['time-range-title-right']\n  }, /h|H/g.test(format) && /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _numberUtil.supplementZero)(end.hour())), /M|m/g.test(format) && /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _numberUtil.supplementZero)(end.minute())), /S|s/g.test(format) && /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, (0, _numberUtil.supplementZero)(end.second()))));\n}\nvar TimeRangeFooter = function TimeRangeFooter(_ref5) {\n  var locale = _ref5.locale,\n    onConfirm = _ref5.onConfirm,\n    value = _ref5.value;\n  var isDisabled = !value[0] || !value[1];\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _TimeRange[\"default\"]['time-range-picker-footer']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"button\", {\n    className: (0, _classnames3[\"default\"])('kd-btn-bg kd-cq-control kd-cq-btn', _TimeRange[\"default\"]['time-range-picker-footer-ok'], {\n      'follow-theme-disabled-bg-fc': isDisabled,\n      'follow-theme-bg-fc hover-theme-bg1 active-theme-bg1': !isDisabled\n    }),\n    title: locale.ok,\n    onClick: function onClick(e) {\n      !isDisabled && onConfirm(e);\n    }\n  }, locale.ok));\n};\nvar TimePicker = function TimePicker(_ref6) {\n  var value = _ref6.value,\n    format = _ref6.format,\n    activeColType = _ref6.activeColType,\n    _onSelect = _ref6.onSelect,\n    preValue = _ref6.preValue;\n  var initData = function initData(_ref7, value, type) {\n    var _ref8 = _slicedToArray(_ref7, 2),\n      start = _ref8[0],\n      end = _ref8[1];\n    var selectedValue = value ? value[type]() : undefined;\n    // 初始化时分秒的选择item\n    var items = [];\n    var selectedIndex = -1;\n    for (var index = start; index <= end; index++) {\n      if (index === selectedValue) {\n        selectedIndex = index - start;\n      }\n      items.push({\n        value: index,\n        label: (0, _numberUtil.supplementZero)(index),\n        disabled: preValue ? isDisabled(index, preValue, type, value) : false\n      });\n    }\n    return {\n      options: items,\n      selectedIndex: selectedIndex\n    };\n  };\n  var renderTimeCol = function renderTimeCol(type) {\n    var cloneValue = value ? value.clone() : (0, _moment[\"default\"])('00:00:00', 'HH:mm:ss').clone();\n    return /*#__PURE__*/_react[\"default\"].createElement(_ColumnSelect[\"default\"], _extends({\n      key: type,\n      className: (0, _classnames3[\"default\"])(_TimeRange[\"default\"]['time-column-picker'], {\n        'theme-1px-border-right theme-1px-border-left theme-1px-border-bottom': activeColType === type\n      })\n    }, initData([0, type === 'hour' ? 23 : 59], value, type), {\n      onSelect: function onSelect(option) {\n        return _onSelect(cloneValue[type](option.value));\n      }\n    }));\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _TimeRange[\"default\"]['time-picker']\n  }, (format.includes('H') || format.includes('h')) && renderTimeCol('hour'), format.includes('m') && renderTimeCol('minute'), format.includes('s') && renderTimeCol('second'));\n};\n\n/*\n 置灰条件：\n 1：当左边时间选择和右边相同时，右边小于当前选中时间的全部置灰\n 2：当右边时间小时或者分钟大于左边的时间或者分钟时，右边仅置灰小时列或者分钟列小于左边的时间\n eg：12:25:25 ~ 12:25:25，右边时分秒小于12:25:25全部置灰\n     12:25:25 ~ 14:25:25，右边仅置灰小时列中小于12的数字，分秒全部可选\n     12:25:25 ~ 12:30:25，右边置灰小时列小于12&分钟列小于25，秒全部可选\n*/\nvar isDisabled = function isDisabled(index, preValue, type, curValue) {\n  var value = preValue[type]();\n  if (['minute', 'second'].includes(type) && curValue.hour() > preValue.hour() || type === 'second' && curValue.minute() > preValue.minute()) {\n    return false;\n  }\n  return index < value;\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/TimeRange.jsx?");

/***/ }),

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

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.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-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.hasSetColorContext = exports[\"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 = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _Toolbar = _interopRequireDefault(__webpack_require__(/*! ./Toolbar.less */ \"./src/component/web/base/Toolbar.less\"));\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _commonAnimation = _interopRequireDefault(__webpack_require__(/*! ../../common/commonAnimation.less */ \"./src/component/common/commonAnimation.less\"));\nvar _excluded = [\"style\", \"className\", \"children\", \"isDesigner\", \"onAddItem\", \"showMore\", \"hasSetColor\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 hasSetColorContext = exports.hasSetColorContext = /*#__PURE__*/_react[\"default\"].createContext();\nvar Toolbar = /*#__PURE__*/function (_React$Component) {\n  _inherits(Toolbar, _React$Component);\n  function Toolbar(props) {\n    var _this;\n    _classCallCheck(this, Toolbar);\n    _this = _callSuper(this, Toolbar, [props]);\n    _this.state = {\n      show: false\n    };\n    return _this;\n  }\n  _createClass(Toolbar, [{\n    key: \"addItem\",\n    value: function addItem() {\n      if (this.props.onAddItem) {\n        this.props.onAddItem();\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props = this.props,\n        style = _this$props.style,\n        className = _this$props.className,\n        children = _this$props.children,\n        isDesigner = _this$props.isDesigner,\n        onAddItem = _this$props.onAddItem,\n        showMore = _this$props.showMore,\n        hasSetColor = _this$props.hasSetColor,\n        other = _objectWithoutProperties(_this$props, _excluded);\n      var toolbarCN = (0, _classnames[\"default\"])('kd-cq-control kd-cq-toolbar', _defineProperty(_defineProperty({}, className, className), _Toolbar[\"default\"].toolbar, true));\n      var toolbarItemCN = (0, _classnames[\"default\"])(_defineProperty(_defineProperty({}, _Toolbar[\"default\"].toolbarItemSingle, true), 'theme-bg-disabled', true));\n      var customStyle = _objectSpread({}, style);\n      if (style.height) {\n        customStyle.minHeight = style.height;\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        className: toolbarCN,\n        style: customStyle\n      }, other), /*#__PURE__*/_react[\"default\"].createElement(hasSetColorContext.Provider, {\n        value: hasSetColor\n      }, children), !!isDesigner && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])(_defineProperty({}, _Toolbar[\"default\"].moreBtn, showMore))\n      }, !!showMore && /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        className: toolbarItemCN,\n        onClick: function onClick(e) {\n          _this2.onClick(e);\n          _this2.setState({\n            show: !_this2.state.show\n          });\n        }\n      }, other), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: (0, _classnames[\"default\"])('kd-cq-control kd-cq-btn', _Toolbar[\"default\"].textspan)\n      }, (0, _intlApi.getLangMsg)({\n        key: 'toolbar.more'\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _Toolbar[\"default\"].add,\n        onClick: function onClick() {\n          _this2.addItem();\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: \"kdfont kdfont-tianjia\"\n      }))));\n    }\n  }]);\n  return Toolbar;\n}(_react[\"default\"].Component);\nToolbar.propTypes = {\n  className: _propTypes[\"default\"].string,\n  style: _propTypes[\"default\"].object,\n  isDesigner: _propTypes[\"default\"].bool,\n  // 是否设计期\n  onAddItem: _propTypes[\"default\"].func // 添加工具栏项方法\n};\nvar _default = exports[\"default\"] = Toolbar;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Toolbar.js?");

/***/ }),

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

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.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-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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[\"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.every.js */ \"../../node_modules/core-js/modules/es.array.every.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.some.js */ \"../../node_modules/core-js/modules/es.array.some.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.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.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.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\");\n__webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _lodash = _interopRequireDefault(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nvar _global = _interopRequireWildcard(__webpack_require__(/*! @/global */ \"./src/global/index.js\"));\nvar _Toolbar = __webpack_require__(/*! ./Toolbar */ \"./src/component/web/base/Toolbar.js\");\nvar _defaultproperties = __webpack_require__(/*! ../../../constant/defaultproperties */ \"./src/constant/defaultproperties.js\");\nvar _commonAnimation = _interopRequireDefault(__webpack_require__(/*! ../../common/commonAnimation.less */ \"./src/component/common/commonAnimation.less\"));\nvar _ControlLoading = _interopRequireDefault(__webpack_require__(/*! ../../common/ControlLoading */ \"./src/component/common/ControlLoading.jsx\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _defaultPropsUtil = __webpack_require__(/*! @/util/defaultPropsUtil */ \"./src/util/defaultPropsUtil.js\");\nvar _customProperties = _interopRequireDefault(__webpack_require__(/*! @/constant/customProperties */ \"./src/constant/customProperties.js\"));\nvar _customCtrlName = _interopRequireDefault(__webpack_require__(/*! @/constant/customCtrlName */ \"./src/constant/customCtrlName.js\"));\nvar _propnames = __webpack_require__(/*! ../../../designer/constant/propnames */ \"./src/designer/constant/propnames.js\");\nvar _doubleClickToChangePropertyUtil = __webpack_require__(/*! ../../../designer/utils/doubleClickToChangePropertyUtil */ \"./src/designer/utils/doubleClickToChangePropertyUtil.js\");\nvar _TextEllipsisWrap = _interopRequireDefault(__webpack_require__(/*! @/component/common/TextEllipsisWrap */ \"./src/component/common/TextEllipsisWrap.js\"));\nvar _keyCode = __webpack_require__(/*! @/constant/keyCode */ \"./src/constant/keyCode.js\");\nvar _Toolbar2 = _interopRequireDefault(__webpack_require__(/*! ./Toolbar.less */ \"./src/component/web/base/Toolbar.less\"));\nvar _fieldConst = __webpack_require__(/*! ./../../../constant/fieldConst */ \"./src/constant/fieldConst.js\");\nvar _elementUtil = __webpack_require__(/*! ./../../common/elementUtil */ \"./src/component/common/elementUtil.js\");\nvar _excluded = [\"model\", \"opk\", \"barItemShowType\", \"type\", \"shortCutTips\", \"id\", \"title\", \"className\", \"style\", \"operationKey\", \"replacedOperationKey\", \"operationStyle\", \"dropDownItems\", \"onClick\", \"isDesigner\", \"onDropDownClick\", \"getVisible\", \"getLocked\", \"locked\", \"locale\", \"Grow\", \"Shrink\", \"AlignSelf\", \"toolbarLoading\", \"hasBorder\", \"isThemeColor\", \"isWhiteBg\", \"isThemeBorder\", \"hasNonThemeBg\", \"field\", \"onTwiceClick\", \"slot\", \"showFormByTips\"];\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 _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 _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 delayMethod = (window.requestAnimationFrame || window.setTimeout).bind(window);\nvar ToolbarItem = /*#__PURE__*/function (_React$Component) {\n  _inherits(ToolbarItem, _React$Component);\n  function ToolbarItem(props) {\n    var _this;\n    _classCallCheck(this, ToolbarItem);\n    _this = _callSuper(this, ToolbarItem, [props]);\n    _this.handleWindowResize = function () {\n      _this.closeSelectPanel();\n    };\n    _this.onClickOutSide = _this.onClickOutSide.bind(_assertThisInitialized(_this));\n    _this.debounceOnClickOutSide = _lodash[\"default\"].debounce(_this.onClickOutSide, 300, {\n      leading: true,\n      trailing: true\n    });\n    _this.handleDropDown = _this.handleDropDown.bind(_assertThisInitialized(_this));\n    _this.handleKeyDown = _this.handleKeyDown.bind(_assertThisInitialized(_this));\n    _this.state = {\n      show: false,\n      loadingTitle: ''\n    };\n    _this.calPopupWindowPositionWhenResize = _lodash[\"default\"].debounce(_this.computePanelPosition.bind(_assertThisInitialized(_this)), 200);\n    // if (props.isDesigner) {\n    _this.onClick = _this.onClick.bind(_assertThisInitialized(_this));\n    // } else {\n    //   // 运行时, 需禁止连续点击\n    //   this.onClick = disposeDoubleClick(this.onClick.bind(this))\n    // }\n    return _this;\n  }\n  _createClass(ToolbarItem, [{\n    key: \"addClickEvent\",\n    value: function addClickEvent() {\n      var _this2 = this;\n      document.addEventListener('mousedown', this.onClickOutSide, true);\n      document.addEventListener('keydown', this.handleKeyDown, true);\n      if (_global[\"default\"][_global.IS_FIREFOX]) {\n        document.addEventListener('DOMMouseScroll', this.debounceOnClickOutSide, true);\n      } else {\n        document.addEventListener('scroll', this.debounceOnClickOutSide, true);\n      }\n      this.timer = setInterval(function () {\n        document.activeElement.tagName === 'IFRAME' && _this2.closeSelectPanel();\n      }, 400);\n    }\n  }, {\n    key: \"removeClickEvent\",\n    value: function removeClickEvent() {\n      document.removeEventListener('mousedown', this.onClickOutSide, true);\n      document.removeEventListener('keydown', this.handleKeyDown, true);\n      if (_global[\"default\"][_global.IS_FIREFOX]) {\n        document.removeEventListener('DOMMouseScroll', this.debounceOnClickOutSide, true);\n      } else {\n        document.removeEventListener('scroll', this.debounceOnClickOutSide, true);\n      }\n      this.timer && clearInterval(this.timer);\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      window.addEventListener('resize', this.handleWindowResize);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.closeSelectPanel();\n      window.removeEventListener('resize', this.handleWindowResize);\n      this.timer && clearInterval(this.timer);\n      this.destroySelectPanel();\n    }\n  }, {\n    key: \"onClickOutSide\",\n    value: function onClickOutSide(e) {\n      if (!this.state.show && !this.attachElement) return;\n      var target = e.target;\n      while (target) {\n        if (target === this.attachElement || target === _reactDom[\"default\"].findDOMNode(this)) {\n          return;\n        }\n        target = target.parentNode;\n      }\n      this.closeSelectPanel();\n    }\n  }, {\n    key: \"handleDropDown\",\n    value: function handleDropDown(e, locaked) {\n      if (locaked) return;\n      var _this$props = this.props,\n        isDesigner = _this$props.isDesigner,\n        onClick = _this$props.onClick;\n      if (isDesigner) {\n        onClick(e);\n      }\n      e.stopPropagation();\n      if (this.state.show) {\n        this.closeSelectPanel();\n      } else {\n        this.openSelectPanel();\n      }\n    }\n  }, {\n    key: \"handleKeyDown\",\n    value: function handleKeyDown(e) {\n      switch (e.keyCode) {\n        case _keyCode.KEYS.ESC:\n          if (!this.state.show && !this.attachElement) return;\n          e.stopPropagation();\n          this.closeSelectPanel();\n          break;\n        default:\n          break;\n      }\n    }\n  }, {\n    key: \"openSelectPanel\",\n    value: function openSelectPanel() {\n      var _this3 = this;\n      this.setState({\n        show: true\n      }, function () {\n        _this3.renderSelectPanel();\n        _this3.addClickEvent();\n      });\n    }\n  }, {\n    key: \"closeSelectPanel\",\n    value: function closeSelectPanel(title, id) {\n      var _this4 = this;\n      this.setState({\n        show: false,\n        loadingTitle: title,\n        subItemId: id\n      }, function () {\n        _this4.destroySelectPanel();\n        _this4.removeClickEvent();\n      });\n    }\n\n    // l：锁定性数值\n  }, {\n    key: \"handleDropDownItemClick\",\n    value: function handleDropDownItemClick(id, opk, locked, title) {\n      this.closeSelectPanel(title, id);\n      if (!this.props.isDesigner) {\n        // (锁定值：默认0,表示meta里不锁定)\n        // 锁定了,则不发消息。toolbar的下拉项菜单meta没有'l'属性,因设计器不支持设置。\n        if (locked !== true) {\n          this.props.onDropDownClick && this.props.onDropDownClick(id, opk);\n        }\n      }\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      var loading = this.props.toolbarLoading;\n      var nextloading = nextProps.toolbarLoading;\n      if (loading && nextloading.key === this.state.subItemId && loading.showLoading !== nextloading.showLoading && !nextloading.showLoading) {\n        this.closeSelectPanel('', nextloading.key);\n      }\n    }\n  }, {\n    key: \"renderSelectPanel\",\n    value: function renderSelectPanel() {\n      var _this5 = this;\n      var container = this.attachElement;\n      if (!container) {\n        container = document.createElement('div');\n        // 动画需要在计算位置之后添加\n        container.className = (0, _classnames[\"default\"])(_Toolbar2[\"default\"].toolbarItemPanel);\n        document.body.appendChild(container);\n        this.attachElement = container;\n      }\n      var options = [];\n      var _this$props2 = this.props,\n        toolbarLoading = _this$props2.toolbarLoading,\n        isWhiteBg = _this$props2.isWhiteBg;\n      var showLoading, loadingType;\n      (this.props.dropDownItems || []).forEach(function (item) {\n        if (toolbarLoading) {\n          showLoading = toolbarLoading.key === item.key && toolbarLoading.showLoading;\n          loadingType = showLoading && toolbarLoading.loadingType;\n        }\n        var isVisible = _this5.props.getVisible ? _this5.props.getVisible(item.key, item.vi == undefined ? _defaultproperties.DEFAULT_CTRL_VISIBLE : item.vi) : true;\n        if (isVisible !== false) {\n          // 二级菜单不可见，则不渲染\n          var styleTmp = {\n            background: item.background ? item.background.trim() : ''\n          };\n          var itemLocked = _this5.props.getLocked ? _this5.props.getLocked(item.key, item.l == undefined ? _defaultproperties.DEFAULT_CTRL_LOCK : item.l) : false;\n          var dropItemCN = (0, _classnames[\"default\"])(_defineProperty(_defineProperty({}, _Toolbar2[\"default\"].dropdownItemSpan, true), _Toolbar2[\"default\"].itemLocked, itemLocked));\n          var dropDownItem = /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n            className: (0, _classnames[\"default\"])(_Toolbar2[\"default\"].dropdownItem + ' kd-cq-dropdown-menu-item', {\n              'kd-hover': !itemLocked,\n              'disabled-fc': itemLocked\n            }),\n            style: styleTmp,\n            key: item.key,\n            onClick: function onClick(e) {\n              return _this5.handleDropDownItemClick(item.key, item.opk, itemLocked, item.title);\n            }\n          }, loadingType === 1 && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: (0, _classnames[\"default\"])(_Toolbar2[\"default\"].maskMoving)\n          }), /*#__PURE__*/_react[\"default\"].createElement(_TextEllipsisWrap[\"default\"], null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n            className: dropItemCN,\n            title: item.title\n          }, item.title)), loadingType === 2 && /*#__PURE__*/_react[\"default\"].createElement(_ControlLoading[\"default\"], {\n            className: (0, _classnames[\"default\"])(_defineProperty({}, _Toolbar2[\"default\"].dropDownLoading, true)),\n            hasBg: !isWhiteBg\n          }));\n          options.push(dropDownItem);\n        }\n      });\n      var rect = _reactDom[\"default\"].findDOMNode(this).getBoundingClientRect(); // eslint-disable-line\n      var style = {\n        minWidth: rect.width,\n        maxWidth: _fieldConst.TOOLBAR_ITEM_MAX_WIDTH\n      };\n\n      // this.attachElement.style.cssText = ';display: none;' 这里设置为none 会导致位置计算不准确\n      _reactDom[\"default\"].render( /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        style: style,\n        className: (0, _classnames[\"default\"])('kd-cq-dropdown kd-cq-dropdown-select-type', _Toolbar2[\"default\"].list)\n      }, options), container);\n      this.computePanelPosition();\n    }\n  }, {\n    key: \"destroySelectPanel\",\n    value: function destroySelectPanel() {\n      if (this.attachElement) {\n        _reactDom[\"default\"].unmountComponentAtNode(this.attachElement);\n        this.attachElement.parentNode.removeChild(this.attachElement);\n        this.attachElement = null;\n      }\n    }\n  }, {\n    key: \"computePanelPosition\",\n    value: function computePanelPosition() {\n      var _this6 = this;\n      delayMethod(function () {\n        var input = _reactDom[\"default\"].findDOMNode(_this6);\n        var div = _this6.attachElement;\n        if (!input || !div) return;\n        var _getPanelScreenByTrig = (0, _elementUtil.getPanelScreenByTrigger)({\n            panel: div,\n            trigger: input,\n            defaultAlign: 'bottom',\n            panelAlign: 'topOrBottom'\n          }),\n          top = _getPanelScreenByTrig.top,\n          left = _getPanelScreenByTrig.left;\n        div.style.cssText += \";display: block;top: \".concat(top + 4, \"px;left: \").concat(left, \"px;\");\n        div.classList.add(_commonAnimation[\"default\"]['panel-drop-down-animation']);\n      });\n    }\n  }, {\n    key: \"onClick\",\n    value: function onClick(e) {\n      var _this$props3 = this.props,\n        locked = _this$props3.locked,\n        onClick = _this$props3.onClick,\n        id = _this$props3.id,\n        title = _this$props3.title;\n      this.setState({\n        subItemId: id,\n        loadingTitle: title\n      });\n      if (locked !== true) {\n        onClick && onClick(e);\n      }\n      if (this.attachElement) {\n        this.closeSelectPanel();\n      }\n    }\n  }, {\n    key: \"isDropDownItemLoading\",\n    value: function isDropDownItemLoading(dropDownItems, key) {\n      return dropDownItems.some(function (item) {\n        return item.key === key;\n      });\n    }\n  }, {\n    key: \"getThemeClassName\",\n    value: function getThemeClassName(followThemeDisabledStyle, isItemGroup) {\n      var _this$props4 = this.props,\n        locked = _this$props4.locked,\n        hasBorder = _this$props4.hasBorder,\n        isWhiteBg = _this$props4.isWhiteBg,\n        hasNonThemeBg = _this$props4.hasNonThemeBg,\n        isThemeColor = _this$props4.isThemeColor,\n        isThemeBorder = _this$props4.isThemeBorder;\n      var ghostTypeActiveWithLightBg = (0, _defaultPropsUtil.getUIDefaultProps)(_customCtrlName[\"default\"].TOOLBARITEM, _customProperties[\"default\"].GHOST_TYPE_ACTIVE_WITH_LIGHT_BG);\n      return (0, _classnames[\"default\"])(_defineProperty({\n        'theme-bg': !locked,\n        'hover-theme-bg1 active-theme-bg1': !locked && !isWhiteBg && !hasNonThemeBg && !isItemGroup,\n        'disabled-contain': locked && hasBorder,\n        // && isWhiteBg\n        'disabled-fc': locked && isWhiteBg && !hasBorder,\n        'hover-theme-fc1 active-theme-active-fc1': !locked && isWhiteBg && !hasBorder && !isThemeColor,\n        'hover-theme-hover-fc1 active-theme-active-fc1': !locked && isWhiteBg && !hasBorder && isThemeColor,\n        'hover-theme-fc1 hover-theme-border-color1 active-theme-active-fc1 active-theme-active-bdcolor1': !ghostTypeActiveWithLightBg && !locked && isWhiteBg && hasBorder && !isThemeBorder,\n        //  && !isThemeColor\n        'active-theme-light-bg1 hover-theme-fc1 hover-theme-border-color1': ghostTypeActiveWithLightBg && !locked && isWhiteBg && hasBorder && !isThemeBorder,\n        'theme hover-follow-theme-bg-fc1 hover-theme-hover-bdcolor1 active-follow-theme-bg-fc1': !locked && isWhiteBg && hasBorder && isThemeColor && isThemeBorder\n      }, _Toolbar2[\"default\"].masker, !locked && !isWhiteBg && hasNonThemeBg && !isItemGroup));\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this7 = this;\n      // operationStyle新增交互风格参数，需要兼容以前元数据\n      var _this$props5 = this.props,\n        model = _this$props5.model,\n        opk = _this$props5.opk,\n        _this$props5$barItemS = _this$props5.barItemShowType,\n        barItemShowType = _this$props5$barItemS === void 0 ? 0 : _this$props5$barItemS,\n        type = _this$props5.type,\n        shortCutTips = _this$props5.shortCutTips,\n        id = _this$props5.id,\n        title = _this$props5.title,\n        className = _this$props5.className,\n        styleProp = _this$props5.style,\n        operationKey = _this$props5.operationKey,\n        replacedOperationKey = _this$props5.replacedOperationKey,\n        operationStyle = _this$props5.operationStyle,\n        dropDownItems = _this$props5.dropDownItems,\n        onClick = _this$props5.onClick,\n        isDesigner = _this$props5.isDesigner,\n        onDropDownClick = _this$props5.onDropDownClick,\n        getVisible = _this$props5.getVisible,\n        getLocked = _this$props5.getLocked,\n        locked = _this$props5.locked,\n        locale = _this$props5.locale,\n        Grow = _this$props5.Grow,\n        _this$props5$Shrink = _this$props5.Shrink,\n        Shrink = _this$props5$Shrink === void 0 ? 0 : _this$props5$Shrink,\n        AlignSelf = _this$props5.AlignSelf,\n        toolbarLoading = _this$props5.toolbarLoading,\n        hasBorder = _this$props5.hasBorder,\n        isThemeColor = _this$props5.isThemeColor,\n        isWhiteBg = _this$props5.isWhiteBg,\n        isThemeBorder = _this$props5.isThemeBorder,\n        hasNonThemeBg = _this$props5.hasNonThemeBg,\n        field = _this$props5.field,\n        onTwiceClick = _this$props5.onTwiceClick,\n        slot = _this$props5.slot,\n        showFormByTips = _this$props5.showFormByTips,\n        other = _objectWithoutProperties(_this$props5, _excluded);\n      // 如果已设置了字体颜色/背景颜色/边框颜色, 工具栏就不可设置其他风格\n      if (this.context === true) {\n        barItemShowType = 0;\n      }\n      var style = Object.assign({}, styleProp || {});\n      var _this$state = this.state,\n        loadingTitle = _this$state.loadingTitle,\n        subItemId = _this$state.subItemId;\n      var allSubHide = getVisible ? dropDownItems.length > 0 && dropDownItems.every(function (value) {\n        return getVisible(value.key, value.vi == undefined ? _defaultproperties.DEFAULT_CTRL_VISIBLE : value.vi) === false;\n      }) : false;\n      var replacedWithOpk = replacedOperationKey !== undefined && replacedOperationKey; // 被替换上来的且被替换的那一项是带操作代码的要无条件能被点击\n      var isItemGroup = dropDownItems && dropDownItems.length > 0 && !allSubHide && (operationKey && !operationStyle || operationStyle === 1 || replacedWithOpk); // 组合下拉模式\n      var followThemeDisabledStyle = (0, _defaultPropsUtil.getUIDefaultProps)(_customCtrlName[\"default\"].TOOLBARITEM, _customProperties[\"default\"].FOLLOW_THEME_DISABLED_STYLE);\n      var themeClassName = Number(barItemShowType) === 0 ? this.getThemeClassName(followThemeDisabledStyle, isItemGroup) : '';\n      var titleProps = (0, _doubleClickToChangePropertyUtil.getTitleProps)(field, _propnames.NAME, title);\n      var controlProps = (0, _doubleClickToChangePropertyUtil.getControlProps)(field, onTwiceClick);\n      var composedProps = _objectSpread(_objectSpread({}, titleProps), controlProps);\n      var showLoading, loadingType, textLoaded;\n      var minWidth = (0, _defaultPropsUtil.getUIDefaultProps)(_customCtrlName[\"default\"].TOOLBARITEM, _customProperties[\"default\"].MIN_WIDTH);\n      if (minWidth !== undefined) {\n        style.minWidth = minWidth;\n      }\n      if (followThemeDisabledStyle !== undefined && locked && !isWhiteBg) {\n        Object.assign(style, {\n          cursor: 'not-allowed'\n        }, followThemeDisabledStyle.toJS());\n      }\n      if (toolbarLoading) {\n        showLoading = toolbarLoading.key === subItemId && toolbarLoading.showLoading;\n        loadingType = showLoading && toolbarLoading.loadingType;\n        textLoaded = toolbarLoading.key === subItemId && toolbarLoading.loadingType === 2 && !toolbarLoading.showLoading;\n      }\n      var renderToolbarItem;\n      if (isItemGroup) {\n        // 有下拉菜单有操作代码，交互风格为点击\n        var toolbarItemCN = (0, _classnames[\"default\"])('kd-cq-control kd-cq-btn kd-cq-toolbar-item kd-cq-toolbar-group', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, className, className), _Toolbar2[\"default\"].toolbarItemGroup, true), \"\".concat(_Toolbar2[\"default\"].toolbarItemGroupL, \" kd-cq-toolbar-group-lock\"), locked), \"\".concat(_Toolbar2[\"default\"].isWhiteBg, \" theme toolBarItem-whiteBg\"), isWhiteBg), themeClassName, !isWhiteBg), _Toolbar2[\"default\"].toolbarItemLoading, loadingType === 3), _Toolbar2[\"default\"].toolbarloading, showLoading && loadingType === 3), (0, _commonUtils[\"default\"])({\n          Grow: Grow,\n          Shrink: Shrink,\n          AlignSelf: AlignSelf\n        }));\n        var titleCN = (0, _classnames[\"default\"])('kd-cq-toolbar-group-item', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Toolbar2[\"default\"].textspan, true), _Toolbar2[\"default\"].textspanL, locked), _Toolbar2[\"default\"].defaultspan, !locked && !showLoading), _Toolbar2[\"default\"].masker, !locked && !isWhiteBg && hasNonThemeBg), _Toolbar2[\"default\"].showLoading, showLoading), 'hover-theme-bg1 active-theme-bg1', Number(barItemShowType) === 0 && !locked && !isWhiteBg && !hasNonThemeBg));\n        // 单独处理圆角属性\n        var leftBorderRadius = {};\n        var rightBorderRadius = {};\n        if (style.borderRadius) {\n          rightBorderRadius.borderBottomRightRadius = style.borderRadius;\n          rightBorderRadius.borderTopRightRadius = style.borderRadius;\n          leftBorderRadius.borderBottomLeftRadius = style.borderRadius;\n          leftBorderRadius.borderTopLeftRadius = style.borderRadius;\n        }\n        var borderColor; // 设置的边框颜色要传进去\n        var borderLeft = style.borderLeft;\n        if (borderLeft) {\n          borderColor = borderLeft.split(' ')[2];\n        }\n        // 判断是否是下拉列表中的子项在loading\n        var downItemLoading = this.isDropDownItemLoading(dropDownItems, subItemId);\n        // 非下拉项按钮样式\n        var mainItemClass = (0, _classnames[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, _Toolbar2[\"default\"].dropDownTextLoaded, showLoading && downItemLoading), _Toolbar2[\"default\"].textLoaded, textLoaded && !downItemLoading), _Toolbar2[\"default\"].textLoading, showLoading && !downItemLoading));\n        var downdivClass = (0, _classnames[\"default\"])('kd-cq-toolbar-group-down', _Toolbar2[\"default\"].downdiv, _defineProperty(_defineProperty({}, \"\".concat(_Toolbar2[\"default\"].isWhiteBg, \" strong-border2 ghost-btn\"), isWhiteBg), 'theme theme-bg', Number(barItemShowType) === 0));\n        var titleDOM = /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, /*#__PURE__*/_react[\"default\"].createElement(_TextEllipsisWrap[\"default\"], null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: (0, _classnames[\"default\"])(titleCN, _defineProperty(_defineProperty({}, _Toolbar2[\"default\"].loading, showLoading), _Toolbar2[\"default\"].mask, loadingType === 2 || loadingType === 1)),\n          style: leftBorderRadius,\n          title: title,\n          shortcuttips: shortCutTips\n        }, showLoading && loadingType !== 1 && !downItemLoading && /*#__PURE__*/_react[\"default\"].createElement(_ControlLoading[\"default\"], {\n          className: (0, _classnames[\"default\"])(loadingType === 2 ? _Toolbar2[\"default\"].buttonLoading : _Toolbar2[\"default\"].movinLoading),\n          hasBg: !isWhiteBg\n        }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: mainItemClass\n        }, showLoading && loadingType === 3 ? loadingTitle : title))));\n        renderToolbarItem = /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n          className: toolbarItemCN,\n          \"data-opk\": opk,\n          \"data-title\": title,\n          \"data-type\": type,\n          \"data-btn-key\": id,\n          style: style,\n          onClick: function onClick(e) {\n            return _this7.onClick(e);\n          },\n          id: id\n        }, other, composedProps), isWhiteBg ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames[\"default\"])(_Toolbar2[\"default\"]['title-wrap'], {\n            'disabled-contain': locked,\n            'ghost-btn': !locked\n          }),\n          style: _objectSpread({\n            borderColor: borderColor\n          }, leftBorderRadius)\n        }, titleDOM) : titleDOM, (!showLoading || loadingType !== 3) && /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: downdivClass,\n          style: Object.assign({\n            backgroundColor: style.backgroundColor,\n            borderColor: borderColor\n          }, rightBorderRadius),\n          onClick: this.handleDropDown\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: (0, _classnames[\"default\"])(_Toolbar2[\"default\"].downIcon, 'kd-cq-btn-arrow kdfont kdfont-xiala', _commonAnimation[\"default\"]['arrow-move-in-animation'], _defineProperty({}, _commonAnimation[\"default\"]['arrow-move-out-animation'], this.state.show))\n        })), isWhiteBg && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: (0, _classnames[\"default\"])(_Toolbar2[\"default\"]['mid-border'], 'ghost-btn-mid-bd'),\n          style: {\n            backgroundColor: borderColor\n          }\n        })));\n      } else if (dropDownItems && dropDownItems.length > 0 && !allSubHide && (!operationKey && !operationStyle || operationStyle == 2)) {\n        // 有下拉菜单没有操作代码，交互风格为下拉\n        var _toolbarItemCN = (0, _classnames[\"default\"])('kd-cq-control kd-cq-btn kd-cq-toolbar-item', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, className, className), _Toolbar2[\"default\"].toolbarItemSet, !locked), _Toolbar2[\"default\"].toolbarItemSetL, locked), themeClassName, true), _Toolbar2[\"default\"].toolbarItemLoading, loadingType === 3), _Toolbar2[\"default\"].toolbarloading, showLoading && loadingType === 3), _Toolbar2[\"default\"].showLoading, showLoading), (0, _commonUtils[\"default\"])({\n          Grow: Grow,\n          Shrink: Shrink,\n          AlignSelf: AlignSelf\n        }));\n        renderToolbarItem = /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n          className: _toolbarItemCN,\n          \"data-opk\": opk,\n          \"data-title\": title,\n          \"data-type\": type,\n          \"data-btn-key\": id,\n          style: style,\n          onClick: function onClick(e) {\n            return _this7.handleDropDown(e, locked);\n          },\n          id: id\n        }, other, composedProps), /*#__PURE__*/_react[\"default\"].createElement(_TextEllipsisWrap[\"default\"], null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          title: title,\n          shortcuttips: shortCutTips,\n          className: (0, _classnames[\"default\"])(_Toolbar2[\"default\"].textspan, _defineProperty(_defineProperty({}, _Toolbar2[\"default\"].loading, showLoading), _Toolbar2[\"default\"].mask, loadingType === 2 || loadingType === 1))\n        }, showLoading && loadingType === 3 && /*#__PURE__*/_react[\"default\"].createElement(_ControlLoading[\"default\"], {\n          className: (0, _classnames[\"default\"])(_Toolbar2[\"default\"].movinLoading),\n          hasBg: !isWhiteBg\n        }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: (0, _classnames[\"default\"])(_defineProperty({}, _Toolbar2[\"default\"].dropDownTextLoaded, showLoading))\n        }, showLoading && loadingType === 3 ? loadingTitle : title))), (!showLoading || loadingType !== 3) && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: _Toolbar2[\"default\"].downdiv\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: (0, _classnames[\"default\"])(_Toolbar2[\"default\"].downIcon, 'kd-cq-btn-arrow kdfont kdfont-xiala', _commonAnimation[\"default\"]['arrow-move-in-animation'], _defineProperty({}, _commonAnimation[\"default\"]['arrow-move-out-animation'], this.state.show))\n        })));\n      } else if (dropDownItems && dropDownItems.length > 0 && allSubHide && (!operationKey && !operationStyle || operationStyle === 2)) {\n        renderToolbarItem = null;\n      } else {\n        // 没有下拉菜单\n        var _toolbarItemCN2 = (0, _classnames[\"default\"])('kd-cq-control kd-cq-btn kd-cq-toolbar-item', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, className, className), _Toolbar2[\"default\"].toolbarItemSingle, !locked), _Toolbar2[\"default\"].toolbarItemSingleL, locked), _Toolbar2[\"default\"]['theme-bg'], locked && !isWhiteBg && !hasNonThemeBg), themeClassName, true), _Toolbar2[\"default\"].toolbarItemLoading, loadingType === 3), \"\".concat(_Toolbar2[\"default\"].toolbarloading, \" \").concat(_Toolbar2[\"default\"].showLoading), showLoading), 'disabled-fc', locked && [1, 2].includes(Number(barItemShowType))), (0, _commonUtils[\"default\"])({\n          Grow: Grow,\n          Shrink: Shrink,\n          AlignSelf: AlignSelf\n        }));\n        renderToolbarItem = /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n          className: _toolbarItemCN2,\n          \"data-opk\": opk,\n          \"data-title\": title,\n          \"data-type\": type,\n          \"data-btn-key\": id,\n          style: style,\n          onClick: function onClick(e) {\n            return _this7.onClick(e);\n          },\n          id: id\n        }, other, composedProps), /*#__PURE__*/_react[\"default\"].createElement(_TextEllipsisWrap[\"default\"], null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          title: title,\n          shortcuttips: shortCutTips,\n          className: (0, _classnames[\"default\"])(_Toolbar2[\"default\"].textspan, _defineProperty(_defineProperty({}, _Toolbar2[\"default\"].loading, showLoading), _Toolbar2[\"default\"].mask, loadingType === 2 || loadingType === 1))\n        }, showLoading && loadingType === 1 && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: (0, _classnames[\"default\"])(_Toolbar2[\"default\"].maskMoving)\n        }), showLoading && loadingType !== 1 && /*#__PURE__*/_react[\"default\"].createElement(_ControlLoading[\"default\"], {\n          className: (0, _classnames[\"default\"])(_Toolbar2[\"default\"].movinLoading, _defineProperty({}, _Toolbar2[\"default\"].movinType2, loadingType === 2)),\n          hasBg: !isWhiteBg\n        }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: (0, _classnames[\"default\"])(_defineProperty(_defineProperty({}, _Toolbar2[\"default\"].textLoaded, textLoaded), _Toolbar2[\"default\"].textLoading, showLoading))\n        }, title))));\n      }\n      return slot ? /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null, renderToolbarItem, slot) : renderToolbarItem;\n    }\n  }]);\n  return ToolbarItem;\n}(_react[\"default\"].Component);\nToolbarItem.contextType = _Toolbar.hasSetColorContext;\nToolbarItem.propTypes = {\n  title: _propTypes[\"default\"].string,\n  className: _propTypes[\"default\"].string,\n  style: _propTypes[\"default\"].object,\n  operationKey: _propTypes[\"default\"].string,\n  dropDownItems: _propTypes[\"default\"].array\n};\nvar _default = exports[\"default\"] = ToolbarItem;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/ToolbarItem.js?");

/***/ }),

/***/ "./src/component/web/base/TransferContainer.jsx":
/*!******************************************************!*\
  !*** ./src/component/web/base/TransferContainer.jsx ***!
  \******************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.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.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.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.TransferFilter = TransferFilter;\nexports[\"default\"] = void 0;\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.array.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.js\");\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.array.find-index.js */ \"../../node_modules/core-js/modules/es.array.find-index.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.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.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\");\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 _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"../../node_modules/prop-types/index.js\"));\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _BaseComponents = __webpack_require__(/*! ./BaseComponents */ \"./src/component/web/base/BaseComponents/index.js\");\nvar _Tree = _interopRequireDefault(__webpack_require__(/*! ./Tree */ \"./src/component/web/base/Tree.js\"));\nvar _transferContainer_nodata = _interopRequireDefault(__webpack_require__(/*! ../img/default/transferContainer_nodata.png */ \"./src/component/web/img/default/transferContainer_nodata.png\"));\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _defaultPropsUtil = __webpack_require__(/*! @/util/defaultPropsUtil */ \"./src/util/defaultPropsUtil.js\");\nvar _emotionalConst = __webpack_require__(/*! @/constant/emotionalConst */ \"./src/constant/emotionalConst.js\");\nvar _TransferContainer = _interopRequireDefault(__webpack_require__(/*! ./TransferContainer.less */ \"./src/component/web/base/TransferContainer.less\"));\nvar _excluded = [\"style\", \"className\", \"dataSource\", \"selected\", \"Grow\", \"Shrink\", \"Overflow\", \"listStyle\", \"titles\", \"showFilter\", \"onSelectChanged\", \"showModel\", \"userLocal\"],\n  _excluded2 = [\"style\", \"className\", \"title\", \"handleMenu\", \"canUseHandleMenu\", \"listStyle\", \"dataSource\", \"showFilter\", \"onItemClick\", \"selected\", \"selectedInner\", \"onHandleClick\", \"showAppendInfo\", \"appendInfos\", \"noDataTipsType\", \"indeterminate\", \"allSelected\"],\n  _excluded3 = [\"style\", \"className\", \"data\", \"onItemClick\", \"selected\", \"showAppendInfo\", \"appendInfo\"],\n  _excluded4 = [\"style\", \"className\", \"onFilterChange\", \"placeholder\", \"inputStyle\", \"searchIconClassName\"],\n  _excluded5 = [\"style\", \"className\", \"icon\", \"title\", \"onClick\", \"disabled\"],\n  _excluded6 = [\"style\", \"className\", \"value\"],\n  _excluded7 = [\"style\", \"className\", \"title\", \"listStyle\", \"childNodes\", \"showFilter\", \"selected\", \"selectedInner\", \"canUseHandleMenu\", \"handleMenu\", \"onHandleClick\", \"onSelectNodeChange\", \"onTreeNodeClick\", \"onTreeNodeExpand\", \"showAppendInfo\", \"showNoDataTips\", \"indeterminate\", \"allSelected\"];\n/**\n * 穿梭框控件基类\n */\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 _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); }\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction TransferContainer(props) {\n  var style = props.style,\n    className = props.className,\n    dataSource = props.dataSource,\n    selected = props.selected,\n    Grow = props.Grow,\n    Shrink = props.Shrink,\n    Overflow = props.Overflow,\n    listStyle = props.listStyle,\n    titles = props.titles,\n    showFilter = props.showFilter,\n    onSelectChanged = props.onSelectChanged,\n    showModel = props.showModel,\n    userLocal = props.userLocal,\n    others = _objectWithoutProperties(props, _excluded);\n  var _useState = (0, _react.useState)((0, _immutable.List)()),\n    _useState2 = _slicedToArray(_useState, 2),\n    sourceSelectedKeys = _useState2[0],\n    setSourceSelectedKeys = _useState2[1]; // 左框勾选选项id集合 List['1','2','3']\n  var _useState3 = (0, _react.useState)((0, _immutable.List)()),\n    _useState4 = _slicedToArray(_useState3, 2),\n    targetSelectedKeys = _useState4[0],\n    setTargetSelectedKeys = _useState4[1];\n  var _useState5 = (0, _react.useState)((0, _immutable.List)()),\n    _useState6 = _slicedToArray(_useState5, 2),\n    newDataSource = _useState6[0],\n    setNewDataSource = _useState6[1]; // 左框当前数据源集合 List[{id:xx, name:xx, disabled: true},{id:xx, name:xx}]\n  var _useState7 = (0, _react.useState)((0, _immutable.List)()),\n    _useState8 = _slicedToArray(_useState7, 2),\n    newTargetDataSource = _useState8[0],\n    setNewTargetDataSource = _useState8[1];\n  var _useState9 = (0, _react.useState)((0, _immutable.List)()),\n    _useState10 = _slicedToArray(_useState9, 2),\n    newTreeDataSource = _useState10[0],\n    setNewTreeDataSource = _useState10[1]; // 树形模式数据源集合 List[{}]\n  var initSourceData = dataSource.getIn(['source', 'data']) || (0, _immutable.List)(); // 总的数据集合 List([{}])\n  var _useState11 = (0, _react.useState)({}),\n    _useState12 = _slicedToArray(_useState11, 2),\n    appendInfos = _useState12[0],\n    setAppendInfos = _useState12[1]; // 附加信息集合 {treeNodeId1:['root','parent1', 'parent2'], treeNodeId2:['p1','p2'], ...]}\n  // 默认宽高\n  // useEffect(() => {\n  //   if (listStyle.get('width') == 0) {\n  //     listStyle = listStyle.set('width', 250)\n  //   }\n  //   if (listStyle.get('height') == 0) {\n  //     listStyle = listStyle.set('height', 300)\n  //   }\n  // }, [listStyle])\n  // 默认模式(初始化数据,计算左框数据源)\n  (0, _react.useEffect)(function () {\n    if (isTreeModel()) {\n      return;\n    }\n    // 过滤已选\n    setNewDataSource(initSourceData.filter(function (item) {\n      return !selected.contains(item.get('id'));\n    }));\n    // 排除已选(保留用户选中顺序)\n    var tmpTargetDataSource = (0, _immutable.List)();\n    var tmpTargetItem;\n    selected.forEach(function (id) {\n      tmpTargetItem = initSourceData.find(function (item) {\n        return item.get('id') === id;\n      });\n      if (tmpTargetItem) {\n        tmpTargetDataSource = tmpTargetDataSource.push(tmpTargetItem);\n      }\n    });\n    setNewTargetDataSource(tmpTargetDataSource);\n  }, [selected, initSourceData]);\n  // 树形模式(初始化数据,计算左框数据源)\n  (0, _react.useEffect)(function () {\n    if (isTreeModel()) {\n      console.warn('transfer-tree init data... ');\n      var treeNodes = initSourceData;\n      if (selected.size > 0) {\n        // 预处理(锁定)默认选中的节点\n        selected.forEach(function (id) {\n          treeNodes = doTreeNodeDisabledByManual(treeNodes, id, true);\n        });\n      }\n      setNewTreeDataSource((0, _immutable.fromJS)(treeNodes));\n      setNewTargetDataSource((0, _immutable.List)());\n    }\n  }, [initSourceData]);\n  // 树形模式，已选数据源变化，则重新计算右边框数据源\n  (0, _react.useEffect)(function () {\n    if (isTreeModel()) {\n      // 右边数据源\n      var targetSource = (0, _immutable.List)();\n      var tmpTreeNode;\n      selected.forEach(function (id) {\n        tmpTreeNode = findTreeNodeById(newTreeDataSource && newTreeDataSource.size === 0 ? initSourceData : newTreeDataSource, id, undefined, appendInfos);\n        if (tmpTreeNode) {\n          targetSource = targetSource.push((0, _immutable.fromJS)(tmpTreeNode));\n        }\n      });\n      console.log('targetSource', newTreeDataSource.toJS(), selected.toJS());\n      setNewTargetDataSource(targetSource);\n    }\n  }, [selected]);\n  // 左穿梭\n  var onTargetBtnClick = function onTargetBtnClick() {\n    var newTreeDS = newTreeDataSource;\n    var newSelected = selected;\n    targetSelectedKeys.map(function (targetId) {\n      newSelected = newSelected.splice(newSelected.findIndex(function (id) {\n        return id == targetId;\n      }), 1);\n      // 解除左边数据源部分数据手动锁定状态\n      if (isTreeModel()) {\n        newTreeDS = doTreeNodeDisabledByManual(newTreeDS, targetId, false);\n      }\n    });\n    setTargetSelectedKeys((0, _immutable.List)());\n    isTreeModel() && setNewTreeDataSource((0, _immutable.fromJS)(newTreeDS));\n    onSelectChanged && onSelectChanged(getSelectedItems(newSelected));\n  };\n  // 右穿梭\n  var onSourceBtnClick = function onSourceBtnClick() {\n    var newTreeDS = newTreeDataSource;\n    var newSelected = selected;\n    sourceSelectedKeys.map(function (id) {\n      newSelected = newSelected.push(id);\n      // 修改左边数据源部分数据手动锁定状态\n      if (isTreeModel()) {\n        newTreeDS = doTreeNodeDisabledByManual(newTreeDS, id, true);\n      }\n    });\n    setSourceSelectedKeys((0, _immutable.List)());\n    isTreeModel() && setNewTreeDataSource((0, _immutable.fromJS)(newTreeDS));\n    onSelectChanged && onSelectChanged(getSelectedItems(newSelected));\n  };\n  // 点击勾选/取消勾选\n  var _onItemClick = function onItemClick(id) {\n    var selectedKeysStr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'sourceSelectedKeys';\n    var selectedKeys = selectedKeysStr === 'sourceSelectedKeys' ? sourceSelectedKeys : targetSelectedKeys;\n    var updateFun = selectedKeysStr === 'sourceSelectedKeys' ? setSourceSelectedKeys : setTargetSelectedKeys;\n    var srouceKeyIndex = selectedKeys.findIndex(function (key) {\n      return key == id;\n    });\n    if (srouceKeyIndex > -1) {\n      updateFun(selectedKeys[\"delete\"](srouceKeyIndex));\n    } else {\n      updateFun(selectedKeys.push(id));\n    }\n  };\n  // return : List([{id:xx, text:xx}])\n  var getSelectedItems = function getSelectedItems(newSelected) {\n    var selectedItems = (0, _immutable.List)();\n    var isTM = isTreeModel();\n    var targetItem;\n    newSelected.forEach(function (id) {\n      if (isTM) {\n        selectedItems = selectedItems.push((0, _immutable.fromJS)(findTreeNodeById(newTreeDataSource, id)));\n      } else {\n        targetItem = initSourceData.find(function (item) {\n          return item.get('id') == id;\n        });\n        if (targetItem) {\n          // 无效数据不做处理\n          selectedItems = selectedItems.push(targetItem);\n        } else {\n          console.log(\"transfercontainer: can not find id \".concat(id));\n        }\n      }\n    });\n    return selectedItems;\n  };\n  // 点击全选\n  var onSelectAllClick = function onSelectAllClick(checked) {\n    var newSourceSelectedKeys = (0, _immutable.List)();\n    checked && newDataSource.map(function (item) {\n      if (!item.get('disabled')) {\n        newSourceSelectedKeys = newSourceSelectedKeys.push(item.get('id'));\n      }\n    });\n    setSourceSelectedKeys(newSourceSelectedKeys);\n  };\n  // 点击全选\n  var onResetClick = function onResetClick(checked) {\n    var newTargetSelectedKeys = (0, _immutable.List)();\n    checked && newTargetDataSource.map(function (item) {\n      if (!item.get('disabled')) {\n        newTargetSelectedKeys = newTargetSelectedKeys.push(item.get('id'));\n      }\n    });\n    setTargetSelectedKeys(newTargetSelectedKeys);\n  };\n\n  // 全选是否可用\n  var canUseOfSelectAllMenu = function canUseOfSelectAllMenu() {\n    return initSourceData && initSourceData.size > 0;\n  };\n  // 全选操作按钮是否可用\n  var canUseOfReset = function canUseOfReset() {\n    return newTargetDataSource && newTargetDataSource.size > 0;\n  };\n  var isTreeModel = function isTreeModel() {\n    return showModel === 1;\n  };\n  var onTreeNodeClick = function onTreeNodeClick(nodeInfo) {\n    var treeNodes = doTreeNodeSelect(newTreeDataSource, nodeInfo, appendInfos); // appendInfos不用set**也能更新，不需要触发重新渲染\n    setNewTreeDataSource((0, _immutable.fromJS)(treeNodes));\n    // 保留用户选中顺序\n    var selectedKeys = sourceSelectedKeys || (0, _immutable.List)();\n    if (nodeInfo && nodeInfo.checked) {\n      selectedKeys = selectedKeys.push(nodeInfo.id);\n    } else {\n      selectedKeys = selectedKeys[\"delete\"](selectedKeys.findIndex(function (id) {\n        return id === nodeInfo.id;\n      }));\n    }\n    setSourceSelectedKeys(selectedKeys);\n  };\n  var onTreeNodeExpand = function onTreeNodeExpand(id, parentid, hasChildL, isOpened) {\n    var treeNodes = doTreeNodeExpand(newTreeDataSource, id, parentid, hasChildL, isOpened);\n    setNewTreeDataSource((0, _immutable.fromJS)(treeNodes));\n  };\n  // 点击树全选\n  var onTreeSelectAllClick = function onTreeSelectAllClick(checked) {\n    /**\n     *  树形节点数据结构:\n     *  treeNode = {\n          id: 'id', // id\n          text: 'name',\n          parentId: 'parentId',\n          isOpen: 'true', // 是否展开\n          isChecked: true, // 是否勾选\n          disabled: true // 是否锁定\n        }\n     */\n\n    // todo: 除了已选(已穿梭到右边框)+锁定的，其他全部勾选上\n    var allSelectedKeys = [];\n    var treeNodes = doTreeSelectAllNode(newTreeDataSource, allSelectedKeys, checked);\n    setNewTreeDataSource((0, _immutable.fromJS)(treeNodes));\n    setSourceSelectedKeys((0, _immutable.fromJS)(allSelectedKeys));\n  };\n\n  // 全选是否可用\n  // const canTreeUseOfSelectAllMenu = () => {\n  //   return true\n  // }\n\n  // 获取后端发过来的标题（兼容单个string or 多语言map的情况）\n  var getTitle = function getTitle(title) {\n    if (_immutable.Map.isMap(title)) {\n      return title.get(userLocal);\n    }\n    return title;\n  };\n  var isSelectedAll = function isSelectedAll(dataSource, selectedData) {\n    var canSelectDataCount = 0;\n    dataSource.forEach(function (item) {\n      if (!item.get('disabled')) {\n        canSelectDataCount++;\n      }\n    });\n    return !!canSelectDataCount && selectedData.size === canSelectDataCount;\n  };\n  var isSelectedAllTreeNode = function isSelectedAllTreeNode(newChildNodes) {\n    var canSelectDataCount = 0;\n    var treeNodes = newChildNodes;\n    treeNodes = treeNodes.toJS ? treeNodes.toJS() : treeNodes;\n    function computeCanSelectDataCount(treeNodes) {\n      if (!treeNodes || !treeNodes.length) return;\n      for (var i = 0; i < treeNodes.length; i++) {\n        if (!treeNodes[i].disabled) {\n          canSelectDataCount++;\n        }\n        if (treeNodes[i].children && treeNodes[i].children.length) {\n          computeCanSelectDataCount(treeNodes[i].children);\n        }\n      }\n    }\n    computeCanSelectDataCount(treeNodes);\n    return !!canSelectDataCount && sourceSelectedKeys.size === canSelectDataCount;\n  };\n  var allSourceSelected = isTreeModel() ? isSelectedAllTreeNode(newTreeDataSource) : isSelectedAll(newDataSource, sourceSelectedKeys);\n  var allTargetSelected = isSelectedAll(newTargetDataSource, targetSelectedKeys);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n    style: style,\n    className: (0, _classnames[\"default\"])('kd-cq-control kd-cq-transfer', _TransferContainer[\"default\"].root, _defineProperty({}, [_TransferContainer[\"default\"].treemodel], isTreeModel()), className, (0, _commonUtils[\"default\"])({\n      Grow: Grow,\n      Shrink: Shrink,\n      Overflow: Overflow\n    }))\n  }, others), isTreeModel() ? /*#__PURE__*/_react[\"default\"].createElement(TransferTree, {\n    allSelected: allSourceSelected,\n    indeterminate: sourceSelectedKeys.size && !allSourceSelected,\n    childNodes: newTreeDataSource,\n    listStyle: listStyle,\n    title: getTitle(titles.get(0)) || (0, _intlApi.getLangMsg)({\n      key: 'TransferContainer.key001'\n    }),\n    handleMenu: (0, _intlApi.getLangMsg)({\n      key: 'TransferContainer.key003'\n    }),\n    showFilter: true,\n    selectedInner: sourceSelectedKeys,\n    onTreeNodeClick: onTreeNodeClick,\n    onTreeNodeExpand: onTreeNodeExpand,\n    onHandleClick: function onHandleClick(checked) {\n      onTreeSelectAllClick(checked);\n    },\n    canUseHandleMenu: canUseOfSelectAllMenu\n  }) : /*#__PURE__*/_react[\"default\"].createElement(TransferListBox, {\n    allSelected: allSourceSelected,\n    indeterminate: sourceSelectedKeys.size && !allSourceSelected,\n    listStyle: listStyle,\n    title: getTitle(titles.get(0)) || (0, _intlApi.getLangMsg)({\n      key: 'TransferContainer.key001'\n    }),\n    handleMenu: (0, _intlApi.getLangMsg)({\n      key: 'TransferContainer.key003'\n    }),\n    showFilter: showFilter,\n    dataSource: newDataSource,\n    selected: selected,\n    selectedInner: sourceSelectedKeys,\n    onItemClick: function onItemClick(id) {\n      return _onItemClick(id, 'sourceSelectedKeys');\n    },\n    onHandleClick: function onHandleClick(checked) {\n      onSelectAllClick(checked);\n    },\n    canUseHandleMenu: canUseOfSelectAllMenu,\n    noDataTipsType: 1\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _TransferContainer[\"default\"].btncontainer\n  }, /*#__PURE__*/_react[\"default\"].createElement(TransferButton, {\n    className: _TransferContainer[\"default\"]['btn-top'],\n    title: \"\",\n    icon: \"kdfont kdfont-houfan\",\n    disabled: sourceSelectedKeys.size < 1,\n    onClick: function onClick(e) {\n      onSourceBtnClick();\n    }\n  }), /*#__PURE__*/_react[\"default\"].createElement(TransferButton, {\n    title: \"\",\n    icon: \"kdfont kdfont-qianfan\",\n    disabled: targetSelectedKeys.size < 1,\n    onClick: function onClick(e) {\n      onTargetBtnClick();\n    }\n  })), isTreeModel() ? /*#__PURE__*/_react[\"default\"].createElement(TransferListBox, {\n    allSelected: allTargetSelected,\n    indeterminate: targetSelectedKeys.size && !allTargetSelected,\n    className: _TransferContainer[\"default\"]['listbox-treemodel'],\n    listStyle: listStyle,\n    title: getTitle(titles.get(1)) || (0, _intlApi.getLangMsg)({\n      key: 'TransferContainer.key002'\n    }),\n    handleMenu: (0, _intlApi.getLangMsg)({\n      key: 'TransferContainer.key003'\n    }),\n    showFilter: showFilter,\n    dataSource: newTargetDataSource,\n    selectedInner: targetSelectedKeys,\n    onItemClick: function onItemClick(id) {\n      return _onItemClick(id, 'targetSelectedKeys');\n    },\n    onHandleClick: function onHandleClick(checked) {\n      onResetClick(checked);\n    },\n    canUseHandleMenu: canUseOfReset,\n    showAppendInfo: true,\n    appendInfos: appendInfos,\n    noDataTipsType: 0\n  }) : /*#__PURE__*/_react[\"default\"].createElement(TransferListBox, {\n    allSelected: allTargetSelected,\n    indeterminate: targetSelectedKeys.size && !allTargetSelected,\n    listStyle: listStyle,\n    title: getTitle(titles.get(1)) || (0, _intlApi.getLangMsg)({\n      key: 'TransferContainer.key002'\n    }),\n    handleMenu: (0, _intlApi.getLangMsg)({\n      key: 'TransferContainer.key003'\n    }),\n    showFilter: showFilter,\n    dataSource: newTargetDataSource,\n    selectedInner: targetSelectedKeys,\n    onItemClick: function onItemClick(id) {\n      return _onItemClick(id, 'targetSelectedKeys');\n    },\n    onHandleClick: function onHandleClick(checked) {\n      onResetClick(checked);\n    },\n    canUseHandleMenu: canUseOfReset,\n    noDataTipsType: 0\n  }));\n}\nTransferContainer.propTypes = {\n  style: _propTypes[\"default\"].object,\n  className: _propTypes[\"default\"].string,\n  showFilter: _propTypes[\"default\"].bool,\n  // 是否显示搜索框\n  listStyle: _propTypes[\"default\"].object,\n  // 尺寸宽高'{width: 250,height: 300}'\n  dataSource: _propTypes[\"default\"].object,\n  // 所有操作数据集合\n  selected: _propTypes[\"default\"].object,\n  // 已选内容\n  titles: _propTypes[\"default\"].object,\n  // 左右框标题\n  showModel: _propTypes[\"default\"].number // 显示模式(0/不传：左右打平模式，1:左树右打平模式，2:左右都是树模式(暂不支持))\n};\nTransferContainer.defaultProps = {\n  listStyle: (0, _immutable.Map)({\n    width: 250,\n    height: 300\n  }),\n  showFilter: true,\n  dataSource: (0, _immutable.Map)(),\n  titles: (0, _immutable.List)(),\n  selected: (0, _immutable.List)(),\n  showModel: 0\n};\nvar _default = exports[\"default\"] = TransferContainer;\nfunction getListBoxSize(listStyle) {\n  var sizeStyle = {};\n  sizeStyle.width = listStyle.get('width') || 250;\n  sizeStyle.height = listStyle.get('height') || 300;\n  return sizeStyle;\n}\n\n// 左右数据框\nfunction TransferListBox(props) {\n  var style = props.style,\n    className = props.className,\n    title = props.title,\n    handleMenu = props.handleMenu,\n    canUseHandleMenu = props.canUseHandleMenu,\n    listStyle = props.listStyle,\n    dataSource = props.dataSource,\n    showFilter = props.showFilter,\n    _onItemClick2 = props.onItemClick,\n    selected = props.selected,\n    selectedInner = props.selectedInner,\n    onHandleClick = props.onHandleClick,\n    showAppendInfo = props.showAppendInfo,\n    appendInfos = props.appendInfos,\n    noDataTipsType = props.noDataTipsType,\n    indeterminate = props.indeterminate,\n    allSelected = props.allSelected,\n    others = _objectWithoutProperties(props, _excluded2);\n  var _useState13 = (0, _react.useState)(''),\n    _useState14 = _slicedToArray(_useState13, 2),\n    filterStr = _useState14[0],\n    setFilterStr = _useState14[1];\n  var _onFilterChange = function onFilterChange(keyWord) {\n    setFilterStr(keyWord);\n  };\n  // 显示提示信息(默认不显示))\n  var showTips = function showTips() {\n    return dataSource.size < 1 && noDataTipsType !== undefined;\n  };\n  // tips元素，左右框复用，提示信息则分2种\n  var getTips = function getTips() {\n    // 获取情感化图片设置\n    var _getCommonEmotionalIn = (0, _defaultPropsUtil.getCommonEmotionalInfo)(_emotionalConst.EMOTIONAL_TYPE_NO_DATA),\n      imagePath = _getCommonEmotionalIn.imagePath,\n      description = _getCommonEmotionalIn.description;\n    var tipEle = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: \"\".concat(_TransferContainer[\"default\"]['item-nodata'], \" disabled-fc kd-cq-empty\")\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n      className: \"kd-cq-empty-description kd-cq-empty-transfer\"\n    }, (0, _intlApi.getLangMsg)({\n      key: 'TransferContainer.key005'\n    })));\n    if (noDataTipsType === 1) {\n      tipEle = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames[\"default\"])('kd-cq-empty', _TransferContainer[\"default\"]['item-nodata'], _TransferContainer[\"default\"]['nodata-type1'])\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n        height: 96,\n        src: imagePath || _transferContainer_nodata[\"default\"]\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: \"kd-cq-empty-description kd-cq-empty-transfer\"\n      }, description || (0, _intlApi.getLangMsg)({\n        key: 'TransferContainer.key004'\n      })));\n    }\n    return tipEle;\n  };\n  var hangleCheckBoxChange = function hangleCheckBoxChange(e) {\n    onHandleClick && onHandleClick(e.target.checked);\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n    id: \"TransferListBox\",\n    style: Object.assign({}, style, getListBoxSize(listStyle)),\n    className: (0, _classnames[\"default\"])(_TransferContainer[\"default\"].listbox, 'kd-cq-transfer-list', 'strong-1px-border', className)\n  }, others), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_TransferContainer[\"default\"].topheader, 'kd-cq-transfer-list-header strong-border')\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _TransferContainer[\"default\"].lefttitle + ' secondary-text-in-light'\n  }, /*#__PURE__*/_react[\"default\"].createElement(_BaseComponents.CheckBox, {\n    indeterminate: indeterminate,\n    style: style,\n    iconClassName: _TransferContainer[\"default\"].iconClassName,\n    value: allSelected,\n    text: \"\",\n    disabled: canUseHandleMenu ? !canUseHandleMenu() : true,\n    styleType: 2,\n    onClick: function onClick(e) {\n      e.stopPropagation();\n    },\n    onChange: hangleCheckBoxChange,\n    className: _TransferContainer[\"default\"]['title-checkbox']\n  }), title), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _TransferContainer[\"default\"].lefttitle + ' secondary-text-in-light'\n  }, \"(\".concat(selectedInner.size || 0, \"/\").concat(dataSource.size, \")\"))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _TransferContainer[\"default\"]['listbox-content']\n  }, showFilter !== false ? /*#__PURE__*/_react[\"default\"].createElement(TransferFilter, {\n    className: \"strong-1px-border\",\n    searchIconClassName: \"hover-theme-fc\",\n    onFilterChange: function onFilterChange(keyWord) {\n      _onFilterChange(keyWord);\n    },\n    placeholder: (0, _intlApi.getLangMsg)({\n      key: 'TransferContainer.key006'\n    })\n  }) : null, !showTips() ? /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n    className: (0, _classnames[\"default\"])('kd-cq-transfer-list-content', _TransferContainer[\"default\"]['item-list'])\n  }, dataSource && dataSource.filter(function (t) {\n    return t.get('text').indexOf(filterStr) > -1;\n  }).map(function (item) {\n    return /*#__PURE__*/_react[\"default\"].createElement(TransferItem, {\n      key: item.get('id'),\n      data: item,\n      onItemClick: function onItemClick(id) {\n        return _onItemClick2 && _onItemClick2(id);\n      },\n      selected: selectedInner.findIndex(function (id) {\n        return id == item.get('id');\n      }) > -1,\n      showAppendInfo: showAppendInfo,\n      appendInfo: appendInfos && appendInfos[item.get('id')]\n    });\n  })) : getTips()));\n}\nTransferListBox.propTypes = {\n  showAppendInfo: _propTypes[\"default\"].bool // 是否显示附加信息\n};\nTransferListBox.defaultProps = {\n  dataSource: (0, _immutable.List)(),\n  selected: (0, _immutable.List)(),\n  showAppendInfo: false\n};\n\n// 每个选项\nfunction TransferItem(props) {\n  // data: Map{id:'xx', name:'xx' disabled: true}\n  var style = props.style,\n    className = props.className,\n    data = props.data,\n    onItemClick = props.onItemClick,\n    selected = props.selected,\n    showAppendInfo = props.showAppendInfo,\n    appendInfo = props.appendInfo,\n    others = _objectWithoutProperties(props, _excluded3);\n  var locked = data.get('disabled');\n  var name = data.get('text');\n  var appendTxt = getAppendInfo();\n  var onHandleClickInside = function onHandleClickInside(e) {\n    e.stopPropagation();\n    if (!locked) {\n      onItemClick && onItemClick(data.get('id'));\n    }\n  };\n\n  // 保留2个层级, appendInfo: ['xxx1','xxxx2','xxxxx3']\n  function getAppendInfo() {\n    if (showAppendInfo && appendInfo && appendInfo.length > 0) {\n      var lastParent = appendInfo[appendInfo.length - 1];\n      var parent = appendInfo[appendInfo.length - 2];\n      return (parent ? parent + '\\\\' : '') + lastParent;\n      // test data\n      // return '测试数据名称有点长可怎么显示呀你说说'\n    }\n    return '';\n  }\n  return /*#__PURE__*/_react[\"default\"].createElement(\"li\", _extends({\n    style: style,\n    className: (0, _classnames[\"default\"])(_TransferContainer[\"default\"].item, 'kd-cq-transfer-list-content-item hover-hover-bg', _defineProperty({}, _TransferContainer[\"default\"].locked, locked), className)\n  }, others, {\n    onClick: function onClick(e) {\n      return onHandleClickInside(e);\n    }\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _TransferContainer[\"default\"]['name-container']\n  }, /*#__PURE__*/_react[\"default\"].createElement(TransferCheckBox, {\n    disabled: locked,\n    value: selected,\n    className: _TransferContainer[\"default\"].checkbox\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: (0, _classnames[\"default\"])('kd-cq-transfer-list-content-item-text', _TransferContainer[\"default\"].name, 'primary-text-in-light', _defineProperty(_defineProperty({}, _TransferContainer[\"default\"].locked, locked), 'disabled-fc', locked)),\n    title: name\n  }, name)), showAppendInfo ? /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: (0, _classnames[\"default\"])('kd-cq-transfer-list-content-item-text', _TransferContainer[\"default\"].name, _TransferContainer[\"default\"].append),\n    title: appendTxt\n  }, appendTxt) : null);\n}\nTransferItem.defaultProps = {\n  data: (0, _immutable.Map)(),\n  appendInfo: (0, _immutable.Map)()\n};\n\n// 过滤\nfunction TransferFilter(props) {\n  var style = props.style,\n    className = props.className,\n    onFilterChange = props.onFilterChange,\n    placeholder = props.placeholder,\n    inputStyle = props.inputStyle,\n    searchIconClassName = props.searchIconClassName,\n    others = _objectWithoutProperties(props, _excluded4);\n  var _useState15 = (0, _react.useState)(''),\n    _useState16 = _slicedToArray(_useState15, 2),\n    filterStr = _useState16[0],\n    setFilterStr = _useState16[1];\n  var _useState17 = (0, _react.useState)(false),\n    _useState18 = _slicedToArray(_useState17, 2),\n    isFocus = _useState18[0],\n    setIsFocus = _useState18[1];\n  var filterInput = (0, _react.useRef)(undefined);\n  var onClickClear = function onClickClear(e) {\n    setTimeout(function () {\n      setFilterStr('');\n      onFilterChange && onFilterChange('');\n      filterInput.current.focus();\n    }, 0);\n  };\n  var _onChange = function onChange(e) {\n    var text = e.target.value;\n    setFilterStr(text);\n    onFilterChange && onFilterChange(text);\n  };\n  var handleFocus = function handleFocus() {\n    return setIsFocus(true);\n  };\n  var handleBlur = function handleBlur() {\n    return setIsFocus(false);\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n    key: \"TransferFilter\",\n    style: style,\n    className: (0, _classnames[\"default\"])(_TransferContainer[\"default\"].filter, className, _defineProperty({}, _TransferContainer[\"default\"]['outline-color'], isFocus))\n  }, others), /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: (0, _classnames[\"default\"])('kdfont kdfont-f', _TransferContainer[\"default\"]['filter-icon'], searchIconClassName)\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"input\", {\n    type: \"text\",\n    className: \"kd-cq-transfer-list-filter-input\",\n    style: inputStyle,\n    placeholder: placeholder || '',\n    value: filterStr,\n    onChange: function onChange(e) {\n      return _onChange(e);\n    },\n    onFocus: handleFocus,\n    onBlur: handleBlur,\n    ref: filterInput\n  }), filterStr.length > 0 ? /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: (0, _classnames[\"default\"])('kdfont kdfont-qingkong', _TransferContainer[\"default\"]['del-icon']),\n    onClick: onClickClear\n  }) : null);\n}\n// 穿梭按钮\nfunction TransferButton(props) {\n  var style = props.style,\n    className = props.className,\n    icon = props.icon,\n    title = props.title,\n    _onClick = props.onClick,\n    disabled = props.disabled,\n    others = _objectWithoutProperties(props, _excluded5);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n    style: style,\n    className: (0, _classnames[\"default\"])(_TransferContainer[\"default\"]['btn-primary'], className, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _TransferContainer[\"default\"].disabled, disabled), 'disabled-contain-bg', disabled), 'theme-bg1', !disabled), 'theme-border-color1', !disabled), 'strong-1px-border', disabled))\n  }, others, {\n    onClick: function onClick(e) {\n      disabled !== true && _onClick && _onClick();\n    }\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    className: (0, _classnames[\"default\"])(icon, _TransferContainer[\"default\"].icon)\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: title ? _TransferContainer[\"default\"].title : ''\n  }, title));\n}\n\n// 复选框\nfunction TransferCheckBox(props) {\n  // value: 是否选中\n  var style = props.style,\n    className = props.className,\n    value = props.value,\n    others = _objectWithoutProperties(props, _excluded6);\n  return /*#__PURE__*/_react[\"default\"].createElement(_BaseComponents.CheckBox, _extends({\n    style: style,\n    className: className,\n    iconClassName: _TransferContainer[\"default\"].iconClassName,\n    value: !!value,\n    text: \"\",\n    styleType: 2\n    // onClick={e => { e.stopPropagation() }}\n  }, others));\n}\nfunction TransferTree(props) {\n  // childNode: 树节点集合、showTips: 是否显示无数据提示信息\n  var style = props.style,\n    className = props.className,\n    title = props.title,\n    listStyle = props.listStyle,\n    childNodes = props.childNodes,\n    showFilter = props.showFilter,\n    selected = props.selected,\n    selectedInner = props.selectedInner,\n    canUseHandleMenu = props.canUseHandleMenu,\n    handleMenu = props.handleMenu,\n    onHandleClick = props.onHandleClick,\n    onSelectNodeChange = props.onSelectNodeChange,\n    onTreeNodeClick = props.onTreeNodeClick,\n    onTreeNodeExpand = props.onTreeNodeExpand,\n    showAppendInfo = props.showAppendInfo,\n    showNoDataTips = props.showNoDataTips,\n    indeterminate = props.indeterminate,\n    allSelected = props.allSelected,\n    others = _objectWithoutProperties(props, _excluded7);\n  var isMulti = true;\n  var rootExpand = true; // 是否展开根结点\n  var checkChildNode = false; // 是否及联勾选子节点\n  var _rootVisible = true; // 根结点是否可见\n  var isDragable = false; // 是否可拖拽\n  var _useState19 = (0, _react.useState)(''),\n    _useState20 = _slicedToArray(_useState19, 2),\n    filterStr = _useState20[0],\n    setFilterStr = _useState20[1];\n  var _useState21 = (0, _react.useState)(0),\n    _useState22 = _slicedToArray(_useState21, 2),\n    sourceCount = _useState22[0],\n    setSourceCount = _useState22[1];\n  (0, _react.useEffect)(function () {\n    setSourceCount(doGetAllNodeCount(childNodes, true));\n  }, [childNodes]);\n  var onFilterChange = function onFilterChange(keyWord) {\n    setFilterStr(keyWord);\n  };\n  var onHandleClickItem = function onHandleClickItem(nodeInfo) {\n    console.warn('handleClick', JSON.stringify(nodeInfo));\n    // onTreeNodeClick && onTreeNodeClick(nodeInfo)\n  };\n  var onHandleCheck = function onHandleCheck(id, parentid, checked, checkChildNode) {\n    console.warn('handleCheck:', id, parentid, checked, checkChildNode);\n    onTreeNodeClick && onTreeNodeClick({\n      id: id,\n      parentid: parentid,\n      checked: checked,\n      checkChildNode: checkChildNode\n    });\n  };\n  var onHandleExpand = function onHandleExpand(id, parentid, hasChildL, isOpened) {\n    console.warn('expand:', id, parentid, hasChildL, isOpened);\n    onTreeNodeExpand && onTreeNodeExpand(id, parentid, hasChildL, isOpened);\n  };\n  // 显示提示信息(默认显示))\n  var showTips = function showTips() {\n    return childNodes.size < 1 && showNoDataTips !== false;\n  };\n  var hangleCheckBoxChange = function hangleCheckBoxChange(e) {\n    onHandleClick && onHandleClick(e.target.checked);\n  };\n  // {Object.assign({}, style, { width: listStyle.get('width'), height: listStyle.get('height') })}\n  // 获取情感化图片设置\n  var _getCommonEmotionalIn2 = (0, _defaultPropsUtil.getCommonEmotionalInfo)(_emotionalConst.EMOTIONAL_TYPE_NO_DATA),\n    imagePath = _getCommonEmotionalIn2.imagePath,\n    description = _getCommonEmotionalIn2.description;\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n    id: \"TransferTree\",\n    style: Object.assign({}, style, getListBoxSize(listStyle)),\n    className: (0, _classnames[\"default\"])(_TransferContainer[\"default\"].listbox, 'kd-cq-transfer-list', _TransferContainer[\"default\"].transfertree, 'strong-1px-border', className)\n  }, others), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])(_TransferContainer[\"default\"].topheader, 'kd-cq-transfer-list-header strong-border')\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _TransferContainer[\"default\"].lefttitle + ' secondary-text-in-light'\n  }, /*#__PURE__*/_react[\"default\"].createElement(_BaseComponents.CheckBox, {\n    indeterminate: indeterminate,\n    style: style,\n    iconClassName: _TransferContainer[\"default\"].iconClassName,\n    value: allSelected,\n    text: \"\",\n    disabled: canUseHandleMenu ? !canUseHandleMenu() : true,\n    styleType: 2,\n    onClick: function onClick(e) {\n      e.stopPropagation();\n    },\n    onChange: hangleCheckBoxChange,\n    className: _TransferContainer[\"default\"]['title-checkbox']\n  }), title), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: _TransferContainer[\"default\"].lefttitle + ' secondary-text-in-light'\n  }, \"(\".concat(selectedInner.size || 0, \"/\").concat(sourceCount, \")\"))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _TransferContainer[\"default\"]['listbox-content']\n  }, !showTips() ? /*#__PURE__*/_react[\"default\"].createElement(_Tree[\"default\"], _extends({\n    childNodes: childNodes.toJS(),\n    focusedNode: \"\",\n    style: {},\n    className: _TransferContainer[\"default\"].tree,\n    isMulti: isMulti,\n    rootExpand: rootExpand,\n    checkChildNode: checkChildNode,\n    rootView: _rootVisible,\n    isDragable: isDragable,\n    handleCheck: function handleCheck(id, parentid, checked, checkChildNode) {\n      return onHandleCheck(id, parentid, checked, checkChildNode);\n    },\n    handleClick: function handleClick(e) {\n      return onHandleClickItem(e);\n    },\n    handleExpand: function handleExpand(id, parentid, hasChildL, isOpened) {\n      return onHandleExpand(id, parentid, hasChildL, isOpened);\n    },\n    handleDoubleClick: function handleDoubleClick(id, parentid) {\n      return console.warn('handleDoubleClick:', id, parentid);\n    },\n    handleDrag: function handleDrag(fromId, parentId, toId) {\n      return console.warn('handleDrag', fromId, parentId, toId);\n    }\n  }, others)) : /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames[\"default\"])('kd-cq-empty', _TransferContainer[\"default\"]['item-nodata'], _TransferContainer[\"default\"]['nodata-type1'])\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"img\", {\n    height: 96,\n    src: imagePath || _transferContainer_nodata[\"default\"]\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: \"kd-cq-empty-description kd-cq-empty-transfer\"\n  }, description || (0, _intlApi.getLangMsg)({\n    key: 'TransferContainer.key004'\n  })))));\n}\nTransferTree.defaultProps = {\n  childNodes: (0, _immutable.List)()\n};\n\n// 根据id查找节点对象, allTreeNodes: List(), return: {}\nfunction findTreeNodeById(allTreeNodes, targetId) {\n  var keepChildNodes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n  var appendInfos = arguments.length > 3 ? arguments[3] : undefined;\n  var isFinded = false;\n  var targetAppendInfo = []; // 节点路径\n  var targetNode;\n  var treeNodes = allTreeNodes || (0, _immutable.List)();\n  treeNodes = treeNodes.toJS();\n  function recursion(treeNodes, targetId) {\n    if (!treeNodes || !treeNodes.length) return;\n    for (var i = 0; i < treeNodes.length; i++) {\n      targetAppendInfo.push(treeNodes[i].text);\n      if (treeNodes[i].id == targetId) {\n        targetNode = treeNodes[i];\n        if (targetNode.disabledByManual) {\n          delete targetNode.disabled;\n          delete targetNode.disabledByManual;\n        }\n        if (!keepChildNodes) {\n          delete targetNode.children;\n        }\n        targetAppendInfo.pop(); // 删除自己\n        isFinded = true;\n        break;\n      }\n      if (treeNodes[i].children && treeNodes[i].children.length) {\n        if (!recursion(treeNodes[i].children, targetId)) {\n          targetAppendInfo.pop();\n        } else {\n          break; // 已找到，退出循环\n        }\n      } else {\n        targetAppendInfo.pop(); // 无子节点，自身也不是目标，删除自己\n      }\n    }\n    return isFinded;\n  }\n  recursion(treeNodes, targetId);\n  if (isFinded && appendInfos) {\n    appendInfos[targetId] = targetAppendInfo;\n  }\n  return targetNode;\n}\n\n// 节点勾选/取消选中, nodeInfo: {}\nfunction doTreeNodeSelect(newChildNodes, nodeInfo) {\n  var appendInfos = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n  var isFinded = false;\n  var targetAppendInfo = []; // 节点路径\n  var treeNodes = newChildNodes && newChildNodes.toJS();\n  function recursion(treeNodes, id) {\n    if (!treeNodes || !treeNodes.length) return;\n    for (var i = 0; i < treeNodes.length; i++) {\n      // console.warn(`遍历节点为: ${treeNodes[i].text}`)\n      targetAppendInfo.push(treeNodes[i].text);\n      if (treeNodes[i].id == id) {\n        treeNodes[i].isChecked = !treeNodes[i].isChecked; // 反选\n        targetAppendInfo.pop(); // 删除自己\n        isFinded = true;\n        break;\n      }\n      if (treeNodes[i].children && treeNodes[i].children.length) {\n        if (!recursion(treeNodes[i].children, id)) {\n          targetAppendInfo.pop();\n        } else {\n          break; // 已找到，退出循环\n        }\n      } else {\n        targetAppendInfo.pop(); // 无子节点，自身也不是目标，删除自己\n      }\n    }\n    return isFinded;\n  }\n  recursion(treeNodes, nodeInfo.id);\n  if (isFinded) {\n    appendInfos[nodeInfo.id] = targetAppendInfo;\n  }\n  return treeNodes;\n}\n\n// 记录节点展开状态\nfunction doTreeNodeExpand(newChildNodes, id, parentid, hasChildL, isOpened) {\n  var isFinded = false;\n  var treeNodes = newChildNodes;\n  treeNodes = treeNodes.toJS();\n  // let recursionResult\n  function recursion(treeNodes, id) {\n    if (!treeNodes || !treeNodes.length) return;\n    for (var i = 0; i < treeNodes.length; i++) {\n      if (treeNodes[i].id == id) {\n        treeNodes[i].isOpened = isOpened;\n        // recursionResult = treeNodes[i]\n        isFinded = true;\n        break;\n      }\n      if (treeNodes[i].children && treeNodes[i].children.length) {\n        if (recursion(treeNodes[i].children, id)) break;\n      }\n    }\n    return isFinded;\n  }\n  recursion(treeNodes, id);\n  return treeNodes;\n  // setNewChildNodes(fromJS(treeNodes))\n}\n\n// 获取已选节点集合, treeNodes: [], return: [id1,id2,id3...]\nfunction getCheckedKeys(treeNodes) {\n  var checkedKeys = [];\n  function f(treeNodes) {\n    for (var i = 0; i < treeNodes.length; i++) {\n      if (treeNodes[i].isChecked) {\n        // let _node = {\n        //   id: treeNodes[i].id,\n        //   parentid: treeNodes[i].parentid,\n        //   text: treeNodes[i].text,\n        //   isParent: !!treeNodes[i].children\n        // }\n        // checkedKeys.push(_node)\n        checkedKeys.push(treeNodes[i].id);\n      }\n      if (treeNodes[i].children) {\n        f(treeNodes[i].children);\n      }\n    }\n  }\n  f(treeNodes);\n  return checkedKeys;\n}\n\n// 手动锁定特定树节点, return: object\nfunction doTreeNodeDisabledByManual(newChildNodes, id, disabled) {\n  var isFinded = false;\n  var treeNodes = newChildNodes;\n  treeNodes = treeNodes.toJS ? treeNodes.toJS() : treeNodes;\n  function recursion(treeNodes, id) {\n    if (!treeNodes || !treeNodes.length) return;\n    for (var i = 0; i < treeNodes.length; i++) {\n      if (treeNodes[i].id == id) {\n        if (treeNodes[i].disabled && disabled) {\n          // do nothing\n        } else {\n          treeNodes[i].isChecked = false;\n          treeNodes[i].disabled = disabled;\n          treeNodes[i].disabledByManual = disabled; // 临时手动锁定，非真正的节点锁定（用于标记已经勾选并穿梭到右框去的左框的节点，树节点不能删除）\n        }\n        isFinded = true;\n        break;\n      }\n      if (treeNodes[i].children && treeNodes[i].children.length) {\n        if (recursion(treeNodes[i].children, id)) break;\n      }\n    }\n    return isFinded;\n  }\n  recursion(treeNodes, id);\n  return treeNodes;\n}\n\n// 选中所有可选节点\nfunction doTreeSelectAllNode(newChildNodes) {\n  var allSelectedKeys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n  var isCheckedAll = arguments.length > 2 ? arguments[2] : undefined;\n  var treeNodes = newChildNodes;\n  treeNodes = treeNodes.toJS ? treeNodes.toJS() : treeNodes;\n  function recursion(treeNodes) {\n    if (!treeNodes || !treeNodes.length) return;\n    for (var i = 0; i < treeNodes.length; i++) {\n      if (treeNodes[i].disabled !== true) {\n        treeNodes[i].isChecked = isCheckedAll;\n        isCheckedAll && allSelectedKeys.push(treeNodes[i].id);\n      }\n      if (treeNodes[i].children && treeNodes[i].children.length) {\n        recursion(treeNodes[i].children);\n      }\n    }\n  }\n  recursion(treeNodes);\n  return treeNodes;\n}\n\n// 获取所有节点数量, includeDisabled: 是否包含已锁定节点\nfunction doGetAllNodeCount(newChildNodes, includeDisabled) {\n  var count = 0;\n  var treeNodes = newChildNodes;\n  treeNodes = treeNodes.toJS ? treeNodes.toJS() : treeNodes;\n  function recursion(treeNodes) {\n    if (!treeNodes || !treeNodes.length) return;\n    for (var i = 0; i < treeNodes.length; i++) {\n      if (!treeNodes[i].disabled || treeNodes[i].disabled && includeDisabled) {\n        count++;\n      }\n      if (treeNodes[i].children && treeNodes[i].children.length) {\n        recursion(treeNodes[i].children);\n      }\n    }\n  }\n  recursion(treeNodes);\n  return count;\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/TransferContainer.jsx?");

/***/ }),

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

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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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-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/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.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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _reactDom = __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 _classnames7 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _Tree2 = _interopRequireDefault(__webpack_require__(/*! ./Tree.less */ \"./src/component/web/base/Tree.less\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _scrollUtil = __webpack_require__(/*! ../../../util/scrollUtil */ \"./src/util/scrollUtil.js\");\nvar _defaultPropsUtil = __webpack_require__(/*! @/util/defaultPropsUtil */ \"./src/util/defaultPropsUtil.js\");\nvar _customProperties = _interopRequireDefault(__webpack_require__(/*! @/constant/customProperties */ \"./src/constant/customProperties.js\"));\nvar _customCtrlName = _interopRequireDefault(__webpack_require__(/*! @/constant/customCtrlName */ \"./src/constant/customCtrlName.js\"));\nvar _kdesign = __webpack_require__(/*! @kdcloudjs/kdesign */ \"webpack/sharing/consume/default/@kdcloudjs/kdesign/@kdcloudjs/kdesign\");\nvar _excluded = [\"focusedNode\", \"isDesigner\", \"style\", \"className\", \"childNodes\", \"checkChildNode\", \"handleExpand\", \"rootExpand\", \"rootView\", \"isDragable\", \"handleDrag\", \"handleDoubleClick\", \"handleCheck\", \"isMulti\", \"Grow\", \"Shrink\", \"AlignSelf\", \"onClick\", \"accordion\"],\n  _excluded2 = [\"children\", \"isSelected\", \"isChecked\", \"hasPartialChildNodeSelected\", \"color\", \"selectedFromBE\", \"isOpened\"],\n  _excluded3 = [\"isRootNode\", \"id\", \"parentid\", \"childNodes\", \"color\", \"isSelected\", \"rootView\", \"isOpened\", \"selectedFromBE\", \"text\", \"isDragable\", \"handleClick\", \"handleDoubleClick\", \"isMulti\", \"labelPara\", \"disabled\", \"icon\"],\n  _excluded4 = [\"isSelected\", \"isChecked\", \"isOpened\", \"hasPartialChildNodeSelected\", \"color\", \"selectedFromBE\", \"icon\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 Tree = /*#__PURE__*/function (_React$Component) {\n  _inherits(Tree, _React$Component);\n  function Tree(props) {\n    var _this;\n    _classCallCheck(this, Tree);\n    _this = _callSuper(this, Tree, [props]);\n    _this.handleCheck = function (id, parentid, checked, checkChildNode) {\n      _this.props.handleCheck && _this.props.handleCheck(id, parentid, checked, checkChildNode);\n    };\n    _this.handleClick = function (nodeInfo) {\n      _this.props.handleClick && _this.props.handleClick(nodeInfo);\n    };\n    _this.handleDoubleClick = function (id, parentid) {\n      _this.props.handleDoubleClick && _this.props.handleDoubleClick(id, parentid);\n    };\n    _this.handleExpand = function (id, parentid, hasChildL, isOpened) {\n      _this.props.handleExpand && _this.props.handleExpand(id, parentid, hasChildL, isOpened);\n    };\n    _this.state = {\n      shouldNodeScroll: !!props.focusedNode\n    };\n    return _this;\n  }\n  _createClass(Tree, [{\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      var focusedNode = nextProps.focusedNode;\n      if (focusedNode && this.props.focusedNode !== focusedNode) {\n        this.setState({\n          shouldNodeScroll: true\n        });\n      } else {\n        this.setState({\n          shouldNodeScroll: false\n        });\n      }\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var focusedNode = this.props.focusedNode;\n      if (focusedNode) {\n        this.setState({\n          shouldNodeScroll: true\n        });\n      } else {\n        this.setState({\n          shouldNodeScroll: false\n        });\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props = this.props,\n        focusedNode = _this$props.focusedNode,\n        isDesigner = _this$props.isDesigner,\n        style = _this$props.style,\n        className = _this$props.className,\n        childNodes = _this$props.childNodes,\n        checkChildNode = _this$props.checkChildNode,\n        handleExpand = _this$props.handleExpand,\n        _this$props$rootExpan = _this$props.rootExpand,\n        rootExpand = _this$props$rootExpan === void 0 ? false : _this$props$rootExpan,\n        _this$props$rootView = _this$props.rootView,\n        rootView = _this$props$rootView === void 0 ? true : _this$props$rootView,\n        isDragable = _this$props.isDragable,\n        handleDrag = _this$props.handleDrag,\n        handleDoubleClick = _this$props.handleDoubleClick,\n        handleCheck = _this$props.handleCheck,\n        isMulti = _this$props.isMulti,\n        Grow = _this$props.Grow,\n        Shrink = _this$props.Shrink,\n        AlignSelf = _this$props.AlignSelf,\n        onClick = _this$props.onClick,\n        accordion = _this$props.accordion,\n        other = _objectWithoutProperties(_this$props, _excluded);\n      var classNames = (0, _classnames7[\"default\"])(_Tree2[\"default\"].tree, className, (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf\n      }));\n      var ulStyle = {\n        paddingLeft: '0px'\n      };\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        className: classNames,\n        style: style,\n        onClick: onClick\n      }, other), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n        className: \"\".concat(_Tree2[\"default\"].node, \" \").concat(_Tree2[\"default\"]['root-node'], \" kd-cq-transfer-list-content\"),\n        style: ulStyle\n      }, childNodes.map(function (child, index) {\n        var children = child.children,\n          _child$isSelected = child.isSelected,\n          isSelected = _child$isSelected === void 0 ? false : _child$isSelected,\n          isChecked = child.isChecked,\n          _child$hasPartialChil = child.hasPartialChildNodeSelected,\n          hasPartialChildNodeSelected = _child$hasPartialChil === void 0 ? false : _child$hasPartialChil,\n          color = child.color,\n          selectedFromBE = child.selectedFromBE,\n          isOpened = child.isOpened,\n          other = _objectWithoutProperties(child, _excluded2);\n        return /*#__PURE__*/_react[\"default\"].createElement(TreeNode, _extends({}, other, {\n          className: _Tree2[\"default\"].treeClass,\n          isDesigner: isDesigner,\n          key: 'tree_' + child.id,\n          shouldNodeScroll: _this2.state.shouldNodeScroll,\n          childNodes: children,\n          isSelected: isSelected,\n          isChecked: isChecked,\n          hasPartialChildNodeSelected: hasPartialChildNodeSelected,\n          isOpened: isOpened,\n          isDragable: isDragable,\n          selectedFromBE: selectedFromBE,\n          isMulti: isMulti,\n          rootExpand: rootExpand,\n          rootView: rootView,\n          isRootNode: true // 根节点标志\n          ,\n          handleClick: _this2.handleClick,\n          handleCheck: _this2.handleCheck,\n          handleDoubleClick: _this2.handleDoubleClick,\n          handleExpand: _this2.handleExpand,\n          handleDrag: handleDrag,\n          color: color // 指定节点颜色\n          ,\n          checkChildNode: checkChildNode,\n          accordion: accordion\n        }));\n      })));\n    }\n  }]);\n  return Tree;\n}(_react[\"default\"].Component);\nTree.defaultProps = {\n  isMulti: false\n};\nTree.propTypes = {\n  style: _propTypes[\"default\"].object,\n  className: _propTypes[\"default\"].string,\n  childNodes: _propTypes[\"default\"].array,\n  // 子节点数组：[{id,parentId,text,children}]\n  handleClick: _propTypes[\"default\"].func,\n  // 选中节点回调事件\n  handleDoubleClick: _propTypes[\"default\"].func,\n  // 节点双击事件\n  handleExpand: _propTypes[\"default\"].func,\n  // 节点展开事件\n  isMulti: _propTypes[\"default\"].bool,\n  // 展示类型(单选：0；多选：1)\n  handleCheck: _propTypes[\"default\"].func // 多选时节点checkbox状态改变响应事件，返回选中的id\n};\nvar count = 0;\nvar TreeNode = /*#__PURE__*/function (_React$Component2) {\n  _inherits(TreeNode, _React$Component2);\n  function TreeNode(props) {\n    var _this3;\n    _classCallCheck(this, TreeNode);\n    _this3 = _callSuper(this, TreeNode, [props]);\n    _this3.switcherClick = function (e, id, parentid) {\n      // e.stopPropagation();\n      var childNodes = _this3.props.childNodes;\n      /**\n       * [hasChildL description] children length存在不发送查询请求\n       * @type {Boolean}\n      */\n      var hasChildL = childNodes && childNodes.length;\n      _this3.setState(function (preState, props) {\n        return {\n          isOpened: !preState.isOpened\n        };\n      }, function () {\n        if (!_this3.props.isDesigner) {\n          _this3.props.handleExpand(id, parentid, hasChildL, _this3.state.isOpened);\n          _this3.closeSiblings(parentid, id);\n        }\n      });\n    };\n    /**\n     * 关闭除当前节点外的所有兄弟节点\n     * @param {string} parentId 当前点击节点的父节点\n     * @param {string} excludeId 当前点击节点\n     */\n    _this3.closeSiblings = function (parentId, excludeId) {\n      _this3.idle && window.cancelIdleCallback(_this3.idle);\n      var _this3$props = _this3.props,\n        siblingNodes = _this3$props.siblingNodes,\n        handleExpand = _this3$props.handleExpand,\n        accordion = _this3$props.accordion;\n      if (!accordion) {\n        return false;\n      }\n      var arrFn = [];\n      siblingNodes.forEach(function (node) {\n        // 叶子节点/非叶子节点，没展开或者节点下没有子节点 无需处理\n        if (node.leaf || !node.leaf && !node.isOpened && node.id !== excludeId) return false;\n        if (node.id !== excludeId) {\n          arrFn.push(function () {\n            handleExpand(node.id, parentId, true, false);\n          });\n        }\n      });\n      _this3.idle = window.requestIdleCallback(function () {\n        arrFn.forEach(function (fn) {\n          fn();\n        });\n      });\n    };\n    _this3.handleCheckboxChange = function (e) {\n      var _this3$props2 = _this3.props,\n        id = _this3$props2.id,\n        parentid = _this3$props2.parentid,\n        checkChildNode = _this3$props2.checkChildNode,\n        isChecked = _this3$props2.isChecked,\n        disabled = _this3$props2.disabled,\n        handleCheck = _this3$props2.handleCheck;\n      // 判断复选框状态是否(partchecked||unchecked) ,(checked)\n      !disabled && handleCheck && handleCheck(id, parentid, !isChecked, checkChildNode);\n    };\n    _this3.doNodeClick = function (e) {\n      e.stopPropagation();\n      var _this3$props3 = _this3.props,\n        id = _this3$props3.id,\n        parentid = _this3$props3.parentid,\n        text = _this3$props3.text,\n        childNodes = _this3$props3.childNodes,\n        handleClick = _this3$props3.handleClick,\n        isChecked = _this3$props3.isChecked,\n        checkChildNode = _this3$props3.checkChildNode,\n        disabled = _this3$props3.disabled;\n      if (disabled) {\n        return;\n      }\n      var hasChild = !!childNodes;\n      if (handleClick) {\n        handleClick({\n          id: id,\n          parentid: parentid,\n          text: text,\n          isParent: hasChild\n        });\n      }\n      if (_this3.props.isMulti && _this3.props.handleCheck) {\n        _this3.props.handleCheck(id, parentid, !isChecked, checkChildNode);\n      }\n      _this3.closeSiblings(parentid, id);\n    };\n    _this3.afterLabelPanelShow = function () {\n      var nodeDom = (0, _reactDom.findDOMNode)(_assertThisInitialized(_this3));\n      if (nodeDom) {\n        var rectObj = nodeDom.getBoundingClientRect();\n        var w = rectObj.width;\n      }\n    };\n    _this3.getNodeLabelPanel = function () {\n      var labelPara = _this3.props.labelPara;\n      labelPara = labelPara || [{\n        label: (0, _intlApi.getLangMsg)({\n          key: 'tree.key0001'\n        }),\n        bgcolor: 'red'\n      }, {\n        label: (0, _intlApi.getLangMsg)({\n          key: 'tree.key0002'\n        }),\n        bgcolor: 'red'\n      }, {\n        label: (0, _intlApi.getLangMsg)({\n          key: 'tree.key0003'\n        }),\n        bgcolor: 'red'\n      }];\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _Tree2[\"default\"]['label-panel']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"ul\", null, labelPara.map(function (item, idx) {\n        return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n          key: idx,\n          className: _Tree2[\"default\"]['label-item']\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          style: {\n            backgroundColor: item.bgcolor\n          },\n          className: _Tree2[\"default\"]['item-content']\n        }, item.label));\n      })));\n    };\n    _this3.state = {\n      isOpened: props.isOpened,\n      showDragLine: false,\n      scrollTop: 0 // 记录滚动位置\n    };\n    return _this3;\n  }\n  _createClass(TreeNode, [{\n    key: \"renderCheckbox\",\n    value: function renderCheckbox() {\n      var checkChildNode = this.props.checkChildNode;\n      if (!this.props.isMulti) return null;\n      // let cn = classnames({ [styles['checked']]: this.props.isChecked }, styles['checkbox'])\n      var cn;\n      if (this.props.isChecked) {\n        cn = (0, _classnames7[\"default\"])(_Tree2[\"default\"].checkbox, 'kdfont kdfont-fuxuankuangxuanzhong_fang', 'theme-fc');\n      } else {\n        if (checkChildNode && this.props.hasPartialChildNodeSelected) {\n          cn = (0, _classnames7[\"default\"])(_Tree2[\"default\"].checkbox, 'kdfont kdfont-fuxuankuang5', 'theme-fc');\n        } else {\n          cn = (0, _classnames7[\"default\"])(_Tree2[\"default\"].checkbox, 'kdfont kdfont-fuxuankuangweixuanzhong_fang strong-fc', {\n            'hover-theme-fc': !this.props.disabled\n          });\n        }\n      }\n\n      // return <span className={cn} onClick={this.handleCheckboxChange} />\n      return /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n        className: (0, _classnames7[\"default\"])(cn, _defineProperty({}, _Tree2[\"default\"].disabled, this.props.disabled)),\n        onClick: this.handleCheckboxChange\n      });\n    }\n  }, {\n    key: \"renderNode\",\n    value: function renderNode() {\n      var _this4 = this;\n      var _this$props2 = this.props,\n        isRootNode = _this$props2.isRootNode,\n        id = _this$props2.id,\n        parentid = _this$props2.parentid,\n        childNodes = _this$props2.childNodes,\n        color = _this$props2.color,\n        isSelected = _this$props2.isSelected,\n        _this$props2$rootView = _this$props2.rootView,\n        rootView = _this$props2$rootView === void 0 ? true : _this$props2$rootView,\n        isOpened = _this$props2.isOpened,\n        selectedFromBE = _this$props2.selectedFromBE,\n        text = _this$props2.text,\n        isDragable = _this$props2.isDragable,\n        handleClick = _this$props2.handleClick,\n        handleDoubleClick = _this$props2.handleDoubleClick,\n        isMulti = _this$props2.isMulti,\n        labelPara = _this$props2.labelPara,\n        disabled = _this$props2.disabled,\n        icon = _this$props2.icon,\n        other = _objectWithoutProperties(_this$props2, _excluded3);\n      var _isOpened = this.state.isOpened;\n      var hasChild = !!childNodes;\n      var openCls = (0, _defaultPropsUtil.getUIDefaultProps)(_customCtrlName[\"default\"].TREE, [_customProperties[\"default\"].GROUP_EXPANDED_FONT_CLASS]) || 'kdfont kdfont-bottom';\n      var contractedCls = (0, _defaultPropsUtil.getUIDefaultProps)(_customCtrlName[\"default\"].TREE, [_customProperties[\"default\"].GROUP_CONTRACTED_FONT_CLASS]) || 'kdfont kdfont-right';\n      var notSelectAndContracted = contractedCls + ' color';\n      var openWithColorCls = openCls + ' openColor';\n      var switcherClass = (0, _classnames7[\"default\"])(_Tree2[\"default\"].switcher, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Tree2[\"default\"]['switcher-selected'], isSelected && !isMulti), notSelectAndContracted, !isSelected && !_isOpened), openWithColorCls, _isOpened), openCls, isSelected && _isOpened && !isMulti), contractedCls, isSelected && !_isOpened), 'theme tree-selected-icon', isSelected && !isMulti));\n      if (rootView) {\n        return /*#__PURE__*/_react[\"default\"].createElement(\"a\", {\n          ref: function ref(n) {\n            _this4.treeNodeDOM = n;\n          },\n          className: (0, _classnames7[\"default\"])('kd-cq-transfer-list-content-item', _Tree2[\"default\"].title, _defineProperty({\n            /* [styles['selected']]: isSelected&&(!isMulti), */'theme tree-selected': isSelected && !isMulti,\n            'theme tree-hover': true\n          }, _Tree2[\"default\"]['root-node'], isRootNode)),\n          onDragOver: function onDragOver(e) {\n            return _this4.handleDragOver(e);\n          },\n          onDrop: function onDrop(e) {\n            return _this4.handleDrop(e, id);\n          },\n          onDragEnter: function onDragEnter(e) {\n            return _this4.handleDragEnter(e);\n          },\n          onDragLeave: function onDragLeave(e) {\n            return _this4.handleDragLeave(e);\n          },\n          onDragStart: function onDragStart(e) {\n            return _this4.handleDragStart(e, id, parentid);\n          },\n          \"data-for\": id,\n          \"data-tip\": true\n        }, hasChild ? /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n          className: switcherClass,\n          onClick: function onClick(e) {\n            _this4.switcherClick(e, id, parentid);\n          }\n        }) : /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n          className: _Tree2[\"default\"]['no-switcher']\n        }), this.renderCheckbox(), icon && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: (0, _classnames7[\"default\"])(icon, _Tree2[\"default\"]['tree-icon'])\n        }), (labelPara === null || labelPara === void 0 ? void 0 : labelPara.length) > 0 ? /*#__PURE__*/_react[\"default\"].createElement(_kdesign.Tooltip, {\n          placement: \"right\",\n          popperClassName: _Tree2[\"default\"]['tree-tooltip'],\n          tip: this.getNodeLabelPanel\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          style: {\n            color: color\n          },\n          className: (0, _classnames7[\"default\"])(_defineProperty(_defineProperty({}, _Tree2[\"default\"].content, true), 'theme tree-selected-text', isSelected && !isMulti)),\n          onClick: this.doNodeClick,\n          onDoubleClick: function onDoubleClick(e) {\n            return handleDoubleClick(id, parentid);\n          },\n          draggable: isDragable ? 'true' : 'false'\n        }, text, this.state.showDragLine && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: _Tree2[\"default\"]['drag-line']\n        }))) : /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          style: {\n            color: color\n          },\n          className: (0, _classnames7[\"default\"])(_defineProperty(_defineProperty({}, _Tree2[\"default\"].content, true), 'theme tree-selected-text', isSelected && !isMulti)),\n          onClick: this.doNodeClick,\n          onDoubleClick: function onDoubleClick(e) {\n            return handleDoubleClick(id, parentid);\n          },\n          draggable: isDragable ? 'true' : 'false'\n        }, text, this.state.showDragLine && /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n          className: _Tree2[\"default\"]['drag-line']\n        })));\n      }\n      return null;\n    }\n  }, {\n    key: \"renderChildren\",\n    value: function renderChildren() {\n      var _isOpened = this.state.isOpened;\n      var childNodes = this.props.childNodes;\n      if (_isOpened && childNodes && childNodes.length) {\n        var _this$props3 = this.props,\n          shouldNodeScroll = _this$props3.shouldNodeScroll,\n          isDesigner = _this$props3.isDesigner,\n          id = _this$props3.id,\n          isDragable = _this$props3.isDragable,\n          handleDrag = _this$props3.handleDrag,\n          checkChildNode = _this$props3.checkChildNode,\n          handleClick = _this$props3.handleClick,\n          handleDoubleClick = _this$props3.handleDoubleClick,\n          handleExpand = _this$props3.handleExpand,\n          isMulti = _this$props3.isMulti,\n          handleCheck = _this$props3.handleCheck,\n          accordion = _this$props3.accordion;\n        return /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n          className: (0, _classnames7[\"default\"])(_defineProperty({}, _Tree2[\"default\"].node, true))\n        }, childNodes.map(function (child, index) {\n          var isSelected = child.isSelected,\n            isChecked = child.isChecked,\n            isOpened = child.isOpened,\n            _child$hasPartialChil2 = child.hasPartialChildNodeSelected,\n            hasPartialChildNodeSelected = _child$hasPartialChil2 === void 0 ? false : _child$hasPartialChil2,\n            color = child.color,\n            selectedFromBE = child.selectedFromBE,\n            icon = child.icon,\n            other = _objectWithoutProperties(child, _excluded4);\n          return /*#__PURE__*/_react[\"default\"].createElement(TreeNode, _extends({}, other, {\n            isDesigner: isDesigner,\n            key: 'tree_' + child.id,\n            shouldNodeScroll: shouldNodeScroll,\n            isSelected: isSelected,\n            isChecked: isChecked,\n            hasPartialChildNodeSelected: hasPartialChildNodeSelected,\n            isOpened: isOpened,\n            isDragable: isDragable,\n            isMulti: isMulti,\n            selectedFromBE: selectedFromBE,\n            childNodes: child.children,\n            handleClick: handleClick,\n            handleDoubleClick: handleDoubleClick,\n            handleExpand: handleExpand,\n            handleDrag: handleDrag,\n            handleCheck: handleCheck,\n            color: color,\n            icon: icon,\n            checkChildNode: checkChildNode,\n            siblingNodes: childNodes,\n            accordion: accordion\n          }));\n        }));\n      } else {\n        return null;\n      }\n    }\n  }, {\n    key: \"handleDragStart\",\n    value: function handleDragStart(e, id, parentId) {\n      e.stopPropagation();\n      // e.preventDefault();\n      e.dataTransfer.setData('id', id);\n      e.dataTransfer.setData('parentid', parentId);\n    }\n  }, {\n    key: \"handleDragOver\",\n    value: function handleDragOver(e) {\n      e.preventDefault();\n      e.stopPropagation();\n    }\n  }, {\n    key: \"handleDragEnter\",\n    value: function handleDragEnter(e) {\n      e.preventDefault();\n      e.stopPropagation();\n      this.setState({\n        showDragLine: true\n      });\n    }\n  }, {\n    key: \"handleDragLeave\",\n    value: function handleDragLeave(e) {\n      e.preventDefault();\n      e.stopPropagation();\n      this.setState({\n        showDragLine: false\n      });\n    }\n  }, {\n    key: \"handleDrop\",\n    value: function handleDrop(e, toId) {\n      e.preventDefault();\n      e.stopPropagation();\n      var fromId = e.dataTransfer.getData('id');\n      var parentId = e.dataTransfer.getData('parentid');\n      this.setState({\n        showDragLine: false\n      });\n      this.props.handleDrag(fromId, parentId, toId);\n    }\n  }, {\n    key: \"doExpand\",\n    value: function doExpand() {\n      var _this$props4 = this.props,\n        id = _this$props4.id,\n        parentid = _this$props4.parentid,\n        isOpened = _this$props4.isOpened,\n        childNodes = _this$props4.childNodes;\n      if (isOpened && childNodes && !childNodes.length) {\n        this.props.handleExpand(id, parentid, false, true);\n      }\n    }\n  }, {\n    key: \"scrollInto\",\n    value: function scrollInto() {\n      /**\n       * focus 的节点只有一个。\n       * 后端focus可视\n      */\n      var _this$props5 = this.props,\n        shouldNodeScroll = _this$props5.shouldNodeScroll,\n        selectedFromBE = _this$props5.selectedFromBE;\n      if (shouldNodeScroll && selectedFromBE) {\n        try {\n          var treeNodeDOM = this.treeNodeDOM;\n\n          // if ('ActiveXObject' in window) { // 判断是否为ie\n          // treeNodeDOM.scrollIntoView(true)\n          // return false\n          // }\n          var treeDOM;\n          var tplNode = treeNodeDOM.parentNode;\n          while (tplNode.nodeName !== 'DIV') {\n            tplNode = tplNode.parentNode;\n          }\n          treeDOM = tplNode;\n          var treeBox = treeDOM.getBoundingClientRect();\n          var nodeBox = treeNodeDOM.getBoundingClientRect();\n          if (nodeBox.top > treeBox.bottom || nodeBox.top < treeBox.bottom && nodeBox.bottom > treeBox.bottom) {\n            // 可视区域下面\n            // treeNodeDOM.scrollIntoView({ behavior: 'smooth', block: 'end' })\n            // treeDOM.scrollTop = treeDOM.scrollTop + (treeBox.height / 2)\n            /* scrollIntoView加动画是异步的 后面的赋值scrollTop会导致前面动画效果失效 */\n            (0, _scrollUtil.scrollTo)(treeDOM, treeDOM.scrollTop + nodeBox.top - treeBox.top - treeBox.height / 2 + nodeBox.height);\n          } else if (nodeBox.bottom < treeBox.top || nodeBox.bottom > treeBox.top && nodeBox.top < treeBox.top) {\n            // 可视区域上面\n            // treeNodeDOM.scrollIntoView({ behavior: 'smooth' })\n            // treeDOM.scrollTop = treeDOM.scrollTop - (treeBox.height / 2)\n            (0, _scrollUtil.scrollTo)(treeDOM, treeDOM.scrollTop + nodeBox.top - treeBox.top - treeBox.height / 2 + nodeBox.height);\n          } else {\n            // treeNodeDOM.scrollIntoView(true)\n          }\n        } catch (e) {\n          console.log(e);\n        }\n      }\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      this.doExpand();\n      this.scrollInto();\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nP) {\n      if (!this.props.isDesigner) {\n        this.setState(function (preState, props) {\n          return {\n            isOpened: !!nP.isOpened\n          };\n        });\n      }\n    }\n  }, {\n    key: \"removeFunc\",\n    value: function removeFunc(prop) {\n      var newP = {};\n      // Object.entries + for...of 性能太差\n      Object.keys(prop).forEach(function (key) {\n        var value = prop[key];\n        if (typeof value !== 'function' && key !== 'shouldNodeScroll' && key !== 'siblingNodes') {\n          newP[key] = value;\n        }\n      });\n      return newP;\n    }\n  }, {\n    key: \"shouldComponentUpdate\",\n    value: function shouldComponentUpdate(nP, nS) {\n      // this.count = count++\n      var newNextP = this.removeFunc(nP);\n      var newP = this.removeFunc(this.props);\n      if (!(0, _immutable.is)((0, _immutable.fromJS)(newNextP), (0, _immutable.fromJS)(newP))) {\n        return true;\n      }\n      var _this$state = this.state,\n        preShowDragLine = _this$state.showDragLine,\n        preIsOpened = _this$state.isOpened;\n      var nextShowDragLine = nS.showDragLine,\n        nextIsOpened = nS.isOpened;\n      if (preShowDragLine != nextShowDragLine || preIsOpened != nextIsOpened) {\n        return true;\n      }\n      return false;\n    }\n  }, {\n    key: \"componentDidUpdate\",\n    value: function componentDidUpdate() {\n      // this.doExpand()\n      this.scrollInto();\n      // console.timeEnd('start'+ this.count)\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      // 需要手动释放内存，不然每个节点的内存没法销毁\n      this.treeNodeDOM = null;\n      this.idle && window.cancelIdleCallback(this.idle);\n      this.idle = null;\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        className: _Tree2[\"default\"].leaf\n      }, this.renderNode(), this.renderChildren());\n    }\n  }]);\n  return TreeNode;\n}(_react[\"default\"].Component);\nTreeNode.propTypes = {\n  id: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].string, _propTypes[\"default\"].number]),\n  parentid: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].string, _propTypes[\"default\"].number]),\n  parent: _propTypes[\"default\"].bool,\n  text: _propTypes[\"default\"].string,\n  childNodes: _propTypes[\"default\"].array,\n  // 子节点\n  selected: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].string, _propTypes[\"default\"].object]),\n  // 选中的节点\n  handleClick: _propTypes[\"default\"].func,\n  handleDoubleClick: _propTypes[\"default\"].func,\n  handleExpand: _propTypes[\"default\"].func,\n  isMulti: _propTypes[\"default\"].bool,\n  // 是否多选\n  disabled: _propTypes[\"default\"].bool // 是否禁用节点\n};\nvar _default = exports[\"default\"] = Tree;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Tree.js?");

/***/ }),

/***/ "./src/component/web/base/TreeMenuFoldBlock.jsx":
/*!******************************************************!*\
  !*** ./src/component/web/base/TreeMenuFoldBlock.jsx ***!
  \******************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.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.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-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.object.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.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.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.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 _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _reactTransitionGroup = __webpack_require__(/*! react-transition-group */ \"../../node_modules/react-transition-group/index.js\");\nvar _classnames4 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _TreeMenu = _interopRequireDefault(__webpack_require__(/*! ./TreeMenu.less */ \"./src/component/web/base/TreeMenu.less\"));\nvar _GrayScaleIcon = _interopRequireDefault(__webpack_require__(/*! @/component/common/GrayScaleIcon */ \"./src/component/common/GrayScaleIcon.jsx\"));\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 _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 _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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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); }\nvar LevelText = {\n  Second: 'second',\n  Third: 'third'\n};\nvar DURATION = 200;\nvar TransitionComponent = function TransitionComponent(_ref) {\n  var isShow = _ref[\"in\"],\n    children = _ref.children;\n  var itemRef = (0, _react.useRef)(null);\n  var transition = \"height \".concat(DURATION, \"ms cubic-bezier(.34, .69, .1, 1)\");\n  var defaultStyle = {\n    transition: transition,\n    height: 0,\n    overflow: 'hidden'\n  };\n\n  // 进入状态前\n  var onEnter = function onEnter(el) {\n    el.style.cssText += \";transition:\".concat(transition, \";height:0px;overflow:hidden\");\n  };\n\n  // 进入状态中\n  var onEntering = function onEntering(el) {\n    el.style.cssText += \";height:\".concat(el.scrollHeight, \"px;\");\n  };\n\n  // 进入状态后\n  var onEntered = function onEntered(el) {\n    el.style.cssText += ';height:auto;overflow:\"\"';\n  };\n\n  // 退出状态前\n  var onExit = function onExit(el) {\n    el.style.cssText += \";height:\".concat(el.scrollHeight, \"px;\");\n  };\n\n  // 退出状态中\n  var onExiting = function onExiting(el) {\n    if (el.scrollHeight !== 0) {\n      el.style.cssText += \";transition:\".concat(transition, \";height:0px;overflow:hidden\");\n    }\n  };\n\n  // 退出状态后\n  var onExited = function onExited(el) {\n    el.style.cssText += ';transition:\"\";height:0px;overflow:hidden';\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(_reactTransitionGroup.Transition, {\n    itemRef: itemRef,\n    \"in\": isShow,\n    timeout: DURATION,\n    onEnter: onEnter,\n    onEntering: onEntering,\n    onEntered: onEntered,\n    onExit: onExit,\n    onExiting: onExiting,\n    onExited: onExited\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    style: _objectSpread({}, defaultStyle),\n    ref: itemRef\n  }, children));\n};\nvar TreeMenuFoldBlock = function TreeMenuFoldBlock(_ref2) {\n  var item = _ref2.item,\n    expandData = _ref2.expandData,\n    renderCollectIcon = _ref2.renderCollectIcon,\n    renderFoldIcon = _ref2.renderFoldIcon,\n    handleClick = _ref2.handleClick,\n    hide = _ref2.hide;\n  var _useState = (0, _react.useState)(''),\n    _useState2 = _slicedToArray(_useState, 2),\n    foldHoverItem = _useState2[0],\n    setFoldHoverItem = _useState2[1];\n  var handleMouseEnterFoldItem = function handleMouseEnterFoldItem(id, e) {\n    setFoldHoverItem(id);\n    e.stopPropagation();\n  };\n  var handleMouseLeaveFoldItem = function handleMouseLeaveFoldItem(e) {\n    setFoldHoverItem('');\n  };\n  var renderItem = function renderItem(item) {\n    var _item$get;\n    var level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n    var text = item.get('text') || '';\n    var id = item.get('id') || '';\n    var grayValid = item.get(_const.GRAY_VALID);\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: (0, _classnames4[\"default\"])(\"kd-cq-treemenu-fold-\".concat(level, \"-level-item\"), _defineProperty(_defineProperty({}, _TreeMenu[\"default\"].iconItem, true), \"kd-cq-treemenu-fold-hoverItem \".concat(_TreeMenu[\"default\"].hoverItem), foldHoverItem === id)),\n      onMouseEnter: function onMouseEnter(e) {\n        handleMouseEnterFoldItem(id, e);\n      },\n      onMouseLeave: handleMouseLeaveFoldItem,\n      onClick: function onClick(e) {\n        return handleClick(e, item);\n      }\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _TreeMenu[\"default\"]['empty-icon']\n    }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: (0, _classnames4[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _TreeMenu[\"default\"].titleItem, true), _TreeMenu[\"default\"].hoverItem, foldHoverItem === id), _TreeMenu[\"default\"].noIcon, item.get('children')), _TreeMenu[\"default\"]['no-fold'], !item.get('children')), _TreeMenu[\"default\"]['third-level-item'], level === LevelText.Third))\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, text), renderCollectIcon(item), ((_item$get = item.get('children')) === null || _item$get === void 0 ? void 0 : _item$get.size) > 0 && renderFoldIcon(item)), grayValid && /*#__PURE__*/_react[\"default\"].createElement(_GrayScaleIcon[\"default\"], {\n      value: grayValid\n    }));\n  };\n  var renderScondLevelBlock = function renderScondLevelBlock(item) {\n    var itemChildren = item.get('children');\n    var scondLevelItemList = (itemChildren || []).map(function (secondItem) {\n      var secondChildren = secondItem.get('children');\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        key: secondItem.get('id'),\n        className: (0, _classnames4[\"default\"])('kd-cq-treemenu-fold-second-level', _defineProperty({}, _TreeMenu[\"default\"].hide, hide))\n      }, renderItem(secondItem, LevelText.Second), secondChildren && /*#__PURE__*/_react[\"default\"].createElement(TransitionComponent, {\n        \"in\": expandData[secondItem.get('id')]\n      }, (secondChildren || []).map(function (thirdItem) {\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n          className: \"kd-cq-treemenu-fold-third-level\",\n          key: thirdItem.get('id')\n        }, renderItem(thirdItem, LevelText.Third));\n      })));\n    });\n    return scondLevelItemList;\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(TransitionComponent, {\n    \"in\": expandData[item.get('id')]\n  }, renderScondLevelBlock(item));\n};\nvar _default = exports[\"default\"] = TreeMenuFoldBlock;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/TreeMenuFoldBlock.jsx?");

/***/ }),

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

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.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.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.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.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.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.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.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-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.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.ChildChunk = void 0;\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.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.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.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\");\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 _reactDom = _interopRequireWildcard(__webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\"));\nvar _TreeMenu = _interopRequireDefault(__webpack_require__(/*! ./TreeMenu.less */ \"./src/component/web/base/TreeMenu.less\"));\nvar _classnames13 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _memoryCacher = __webpack_require__(/*! ../../../model/memoryCacher */ \"./src/model/memoryCacher.js\");\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _TreeMenuThirdLevel = _interopRequireDefault(__webpack_require__(/*! ./TreeMenuThirdLevel */ \"./src/component/web/base/TreeMenuThirdLevel.jsx\"));\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _elementUtil = __webpack_require__(/*! ../../common/elementUtil */ \"./src/component/common/elementUtil.js\");\nvar _TextEllipsisWrap = _interopRequireDefault(__webpack_require__(/*! @/component/common/TextEllipsisWrap */ \"./src/component/common/TextEllipsisWrap.js\"));\nvar _CollapseTransition = __webpack_require__(/*! @/component/common/CollapseTransition */ \"./src/component/common/CollapseTransition.js\");\nvar _debounce = _interopRequireDefault(__webpack_require__(/*! lodash/debounce */ \"../../node_modules/lodash/debounce.js\"));\nvar _GrayScaleIcon = _interopRequireDefault(__webpack_require__(/*! @/component/common/GrayScaleIcon */ \"./src/component/common/GrayScaleIcon.jsx\"));\nvar _const = __webpack_require__(/*! @/constant/const */ \"./src/constant/const.js\");\nvar _TreeMenuFoldBlock = _interopRequireDefault(__webpack_require__(/*! ./TreeMenuFoldBlock */ \"./src/component/web/base/TreeMenuFoldBlock.jsx\"));\nvar _excluded = [\"childNodes\", \"showStyle\", \"className\", \"onClick\", \"attachData\", \"nodeClick\", \"isDesigner\", \"showCollectIcon\", \"checkIsCollect\", \"model\", \"clickMenuMark\", \"collectMenu\", \"isExpand\", \"Grow\", \"Shrink\", \"AlignItems\", \"Overflow\", \"showType\", \"thirdMenuItemWidth\", \"treeMenuMode\"];\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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\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); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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; }\n// const useForceUpdate = () => {\n//   const [, updateState] = React.useState()\n//   const forceUpdate = React.useCallback(() => {\n//     updateState({})\n//   }, [])\n//   return forceUpdate\n// }\nvar MIN_SIZE = 50;\nvar NO_ICON_TYPE_MIN_SIZE = 30;\nvar TREE_MENU_MODE = {\n  Default: '0',\n  Fold: '1'\n};\nvar TreeMenu = function TreeMenu(props) {\n  var _React$useState = _react[\"default\"].useState(false),\n    _React$useState2 = _slicedToArray(_React$useState, 2),\n    showFirstLevel = _React$useState2[0],\n    setShowFirstLevel = _React$useState2[1];\n  var _React$useState3 = _react[\"default\"].useState(-1),\n    _React$useState4 = _slicedToArray(_React$useState3, 2),\n    hoverItem = _React$useState4[0],\n    sethoverItem = _React$useState4[1];\n  var _React$useState5 = _react[\"default\"].useState(props.isExpand),\n    _React$useState6 = _slicedToArray(_React$useState5, 2),\n    isExpand = _React$useState6[0],\n    setIsExpand = _React$useState6[1];\n  var _React$useState7 = _react[\"default\"].useState(0),\n    _React$useState8 = _slicedToArray(_React$useState7, 2),\n    panelLeft = _React$useState8[0],\n    setPanelLeft = _React$useState8[1];\n  var _React$useState9 = _react[\"default\"].useState(false),\n    _React$useState10 = _slicedToArray(_React$useState9, 2),\n    isScroll = _React$useState10[0],\n    setIsScroll = _React$useState10[1];\n  var _React$useState11 = _react[\"default\"].useState(false),\n    _React$useState12 = _slicedToArray(_React$useState11, 2),\n    isFirstLevelhasScrollBar = _React$useState12[0],\n    setIsFirstLevelhasScrollBar = _React$useState12[1];\n  var _React$useState13 = _react[\"default\"].useState(0),\n    _React$useState14 = _slicedToArray(_React$useState13, 2),\n    top = _React$useState14[0],\n    setTop = _React$useState14[1];\n  var _React$useState15 = _react[\"default\"].useState(false),\n    _React$useState16 = _slicedToArray(_React$useState15, 2),\n    showSecondLevel = _React$useState16[0],\n    setShowSecondLevel = _React$useState16[1];\n  var scrollTimerId = _react[\"default\"].useRef();\n  var showNavTimerId = _react[\"default\"].useRef();\n  var showItemTimerId = _react[\"default\"].useRef();\n  var enterItemTimerId = _react[\"default\"].useRef();\n  var navPanelRef = _react[\"default\"].useRef();\n  var iconPanelRef = _react[\"default\"].useRef();\n  var itemPanelRef = _react[\"default\"].useRef();\n  var hoverItemRef = _react[\"default\"].useRef();\n  var scrollTopRef = _react[\"default\"].useRef();\n  var chunkRef = _react[\"default\"].useRef();\n  var _React$useState17 = _react[\"default\"].useState({}),\n    _React$useState18 = _slicedToArray(_React$useState17, 2),\n    expandData = _React$useState18[0],\n    setExpandData = _React$useState18[1]; // 菜单展开状态\n\n  var childNodes = props.childNodes,\n    showStyle = props.showStyle,\n    className = props.className,\n    onClick = props.onClick,\n    attachData = props.attachData,\n    nodeClick = props.nodeClick,\n    isDesigner = props.isDesigner,\n    showCollectIcon = props.showCollectIcon,\n    checkIsCollect = props.checkIsCollect,\n    model = props.model,\n    clickMenuMark = props.clickMenuMark,\n    collectMenu = props.collectMenu,\n    isExpandProp = props.isExpand,\n    Grow = props.Grow,\n    Shrink = props.Shrink,\n    AlignItems = props.AlignItems,\n    Overflow = props.Overflow,\n    showType = props.showType,\n    thirdMenuItemWidth = props.thirdMenuItemWidth,\n    treeMenuMode = props.treeMenuMode,\n    other = _objectWithoutProperties(props, _excluded);\n  var isFoldMenu = treeMenuMode === TREE_MENU_MODE.Fold; // 是否是折叠菜单\n\n  var navClass = (0, _classnames13[\"default\"])('kd-cq-treemenu kd-cq-control', _defineProperty(_defineProperty(_defineProperty({}, _TreeMenu[\"default\"].vertivalNav, true), className, className), _TreeMenu[\"default\"][\"style-\".concat(showStyle)], true));\n  var switchDivClass = (0, _classnames13[\"default\"])('kd-cq-treemenu-switch-level1-button', _defineProperty(_defineProperty({}, _TreeMenu[\"default\"]['switch-level1-button'], true), _TreeMenu[\"default\"]['switch-level1-icon'], false));\n  var switchIconClass = (0, _classnames13[\"default\"])({\n    'kdfont kdfont-shouqi8': isExpand,\n    'kdfont kdfont-zhankai5': !isExpand\n  });\n  var iconPanelClass = (0, _classnames13[\"default\"])('kd-cq-treemenu-first-level', _defineProperty(_defineProperty(_defineProperty({}, _TreeMenu[\"default\"].iconPanel, true), _TreeMenu[\"default\"]['hover-panel'], !isDesigner && !isExpand && showFirstLevel), _TreeMenu[\"default\"]['fold-panel'], isExpand && isFoldMenu));\n  var title = isExpand ? (0, _intlApi.getLangMsg)({\n    key: 'treemenu.key0002'\n  }) : (0, _intlApi.getLangMsg)({\n    key: 'treemenu.key0001'\n  });\n  var handleShowTitle = (0, _react.useCallback)(function () {\n    if (isExpand) return;\n    clearTimeout(showNavTimerId.current);\n    showNavTimerId.current = delayRunCallback(function () {\n      setShowFirstLevel(true);\n    }, 0);\n  });\n  var handleHideTitle = (0, _react.useCallback)(function (e) {\n    e.stopPropagation();\n    if (isExpand) return;\n    if (showNavTimerId.current) {\n      clearTimeout(showNavTimerId.current);\n    }\n    setShowFirstLevel(false);\n  }, [isExpand, showNavTimerId.current]);\n  var handleHoverItem = function handleHoverItem(index) {\n    clearTimeout(showItemTimerId.current);\n    sethoverItem(index);\n  };\n  var handleClick = function handleClick(e, item) {\n    e.stopPropagation();\n    var children = item.get('children');\n    if (!children || children.size === 0) {\n      var parentid = item.get('parentid');\n      var id = item.get('id');\n      var nodeInfo = {\n        parentid: parentid,\n        id: id\n      };\n      nodeClick && nodeClick(nodeInfo);\n    } else if (isFoldMenu) {\n      var _id = item.get('id');\n      var isItemExpand = expandData[_id];\n      setExpandData(function (prev) {\n        return _objectSpread(_objectSpread({}, prev), {}, _defineProperty({}, _id, !isItemExpand));\n      });\n    }\n  };\n  var saveCollapseStatus = function saveCollapseStatus(isExpand) {\n    (0, _memoryCacher.setUserUIState)(model.pageId, ['isTreeMenuExpand'], isExpand, true);\n  };\n  var handleIconClick = (0, _react.useCallback)(function (e, item) {\n    e.stopPropagation();\n    clickMenuMark(item);\n  }, [clickMenuMark]);\n  var handleChangeCollapse = function handleChangeCollapse(isFromIconPanel) {\n    if (isDesigner) return;\n    if (isExpand) {\n      setIsExpand(false);\n      sethoverItem(isFromIconPanel ? -2 : -1);\n      saveCollapseStatus(false);\n      setShowFirstLevel(false);\n    } else {\n      setIsExpand(true);\n      saveCollapseStatus(true);\n    }\n  };\n  var renderCollectIcon = function renderCollectIcon(item) {\n    if (!showCollectIcon || isDesigner) return;\n    var isCollect = checkIsCollect(item);\n    var collectionClass = (0, _classnames13[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({\n      kdfont: true\n    }, _TreeMenu[\"default\"].collection, isCollect), _TreeMenu[\"default\"]['no-collect'], !isCollect), 'kdfont-shoucang', !isCollect), 'kdfont-shoucangxuanzhong', isCollect), _TreeMenu[\"default\"].isCollection, isCollect));\n    return !item.get('children') ? /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n      onClick: function onClick(e) {\n        return handleIconClick(e, item);\n      },\n      className: collectionClass\n    }) : null;\n  };\n\n  // 展开折叠图标\n  var renderFoldIcon = function renderFoldIcon(item) {\n    var isExpand = expandData[item.get('id')];\n    var iconClass = (0, _classnames13[\"default\"])('kdfont', _defineProperty({\n      'kdfont-shangla': isExpand,\n      'kdfont-xiala': !isExpand\n    }, _TreeMenu[\"default\"].foldIcon, true));\n    return /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n      className: iconClass\n    });\n  };\n  var getFirstLevelDom = function getFirstLevelDom() {\n    return navPanelRef.current;\n  };\n  var getIconPanel = function getIconPanel() {\n    return iconPanelRef.current;\n  };\n  var hasThirdLevel = function hasThirdLevel(active, items) {\n    var children = items.get('children');\n    if (active && children) {\n      var list = children.filter(function (item) {\n        return !!item.get('children');\n      });\n      return list.size > 0;\n    }\n    return false;\n  };\n\n  // 根据dom节点定位，isHeightMatch代表是否要适应dom的高度\n  var createPortalStyle = function createPortalStyle(refDom, isHeightMatch) {\n    var position = refDom.getBoundingClientRect();\n    var left = (0, _elementUtil.getScreenLeft)(refDom) + position.width;\n    var top = (0, _elementUtil.getScreenTop)(refDom);\n    var height = isHeightMatch ? position.height + 'px' : 'auto';\n    var style = {\n      top: top + 'px',\n      left: left + 'px',\n      height: height,\n      position: 'fixed',\n      zIndex: 1051\n    };\n    return style;\n  };\n  var resetSecondPanelStyleLeft = function resetSecondPanelStyleLeft() {\n    var position = iconPanelRef.current.getBoundingClientRect();\n    var left = (0, _elementUtil.getScreenLeft)(iconPanelRef.current) + position.width;\n    panelLeft !== left && setPanelLeft(left);\n  };\n  useMutationObserver(iconPanelRef.current, resetSecondPanelStyleLeft);\n  var repaintPanel = function repaintPanel() {\n    var ele = itemPanelRef.current;\n    if ((ele === null || ele === void 0 ? void 0 : ele.scrollHeight) > (ele === null || ele === void 0 ? void 0 : ele.clientHeight)) {\n      setIsFirstLevelhasScrollBar(true);\n    } else {\n      setIsFirstLevelhasScrollBar(false);\n    }\n  };\n  var handleResize = (0, _debounce[\"default\"])(repaintPanel, 300);\n  var onMouseEnterSecondLevel = (0, _react.useCallback)(function () {\n    setShowSecondLevel(true);\n    clearTimeout(enterItemTimerId.current);\n    clearTimeout(showItemTimerId.current);\n  }, [enterItemTimerId.current, showItemTimerId.current]);\n  var renderSecondLevelPanel = function renderSecondLevelPanel(isExpand, active, item, index) {\n    var style = {};\n    var Chunk = null;\n    if (hasThirdLevel(active, item)) {\n      Chunk = _TreeMenuThirdLevel[\"default\"];\n    } else {\n      Chunk = ChildChunk;\n    }\n    var firstLevelDom = isExpand || showFirstLevel ? getIconPanel() : getFirstLevelDom();\n    if (!firstLevelDom || !active) return;\n    style = createPortalStyle(firstLevelDom, false);\n    style.top = top;\n    var maxHeight = navPanelRef.current.getBoundingClientRect().height;\n    return active && /*#__PURE__*/(0, _reactDom.createPortal)( /*#__PURE__*/_react[\"default\"].createElement(Chunk, {\n      ref: chunkRef,\n      showType: showType,\n      style: style,\n      renderCollectIcon: renderCollectIcon,\n      nodeInfo: item,\n      nodeClick: nodeClick,\n      active: active,\n      handleHoverItem: handleHoverItem,\n      hideFirstLevel: handleHideTitle,\n      onMouseEnterSecondLevel: onMouseEnterSecondLevel,\n      maxHeight: maxHeight,\n      thirdMenuItemWidth: thirdMenuItemWidth\n    }), document.body);\n  };\n  (0, _react.useEffect)(function () {\n    var position = iconPanelRef.current.getBoundingClientRect();\n    var left = (0, _elementUtil.getScreenLeft)(iconPanelRef.current) + position.width;\n    setPanelLeft(left);\n    itemPanelRef.current && itemPanelRef.current.addEventListener('mouseover', mouseOverCallback);\n    window.addEventListener('resize', handleResize);\n    return function () {\n      window.removeEventListener('resize', handleResize);\n      hoverItemRef.current && hoverItemRef.current.removeEventListener('hover', scrollCallback, false);\n      itemPanelRef.current && itemPanelRef.current.removeEventListener('mouseover', mouseOverCallback);\n      clearTimeout(enterItemTimerId.current);\n    };\n  }, []);\n  (0, _react.useEffect)(function () {\n    childNodes && handleResize();\n  }, [childNodes]);\n  var itemClass = (0, _classnames13[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _TreeMenu[\"default\"].item, true), _TreeMenu[\"default\"]['item-wrap'], true), _TreeMenu[\"default\"]['hide-scroll'], !isExpand && !showFirstLevel), _TreeMenu[\"default\"]['scrollPanel'], isFirstLevelhasScrollBar));\n  var getMouseElement = function getMouseElement(mouseY) {\n    return document.elementFromPoint(0, Math.abs(mouseY));\n  };\n  var getHoverItemTop = function getHoverItemTop(currentTarget) {\n    var top = currentTarget && currentTarget.getBoundingClientRect().top;\n    return top;\n  };\n  var delayRunCallback = function delayRunCallback(callback) {\n    var timer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 100;\n    return setTimeout(function () {\n      callback();\n    }, timer);\n  };\n  var scrollCallback = (0, _react.useCallback)(function () {\n    hoverItemRef.current && hoverItemRef.current.removeEventListener('hover', scrollCallback, false);\n    clearTimeout(showItemTimerId.current);\n    clearTimeout(enterItemTimerId.current);\n    var element = getMouseElement(scrollTopRef.current);\n    var currentTarget;\n    var index;\n    if (element.dataset.menuIndex) {\n      currentTarget = element;\n      index = Number(element.dataset.menuIndex);\n      hoverItem !== -1 && handleHoverItem(index);\n    } else {\n      currentTarget = element.parentElement;\n      index = Number(element.parentElement.dataset.menuIndex);\n      hoverItem !== -1 && handleHoverItem(index);\n    }\n    enterItemTimerId.current = delayRunCallback(function () {\n      var offsetTop = getHoverItemTop(currentTarget);\n      setPanelTop(offsetTop);\n      setIsScroll(false);\n      setShowSecondLevel(true);\n    }, 0);\n    setShowFirstLevel(true);\n  }, [showItemTimerId.current, enterItemTimerId.current, scrollTopRef.current, getMouseElement, handleHoverItem, delayRunCallback, getHoverItemTop, hoverItem]);\n  var createEvent = function createEvent() {\n    var event = document.createEvent('Event');\n    event.initEvent('hover', false, true);\n    return event;\n  };\n  var handleScroll = (0, _react.useCallback)(function (e) {\n    if (!isExpand && !showFirstLevel) return; // 点击收起图标火狐下自动触发了handlescroll，原因还没确定，暂时先这样兼容处理\n    var event = createEvent();\n    setIsScroll(true);\n    clearTimeout(scrollTimerId.current);\n    scrollTimerId.current = delayRunCallback(function () {\n      hoverItemRef.current && hoverItemRef.current.addEventListener('hover', scrollCallback, false);\n      setIsScroll(false);\n      hoverItemRef.current && hoverItemRef.current.dispatchEvent(event);\n    }, 100);\n  }, [hoverItemRef.current, delayRunCallback, scrollCallback, isExpand, showFirstLevel]);\n  var setPanelTop = function setPanelTop(offsetTop) {\n    var minTop = (0, _elementUtil.getScreenTop)(navPanelRef.current);\n    if (offsetTop < minTop) {\n      setTop(minTop);\n    } else {\n      setTop(offsetTop);\n    }\n  };\n  var handleMouseLeaveItem = (0, _react.useCallback)(function () {\n    clearTimeout(enterItemTimerId.current);\n    clearTimeout(showItemTimerId.current);\n    var mouseLeaveCallback = function mouseLeaveCallback() {\n      handleHoverItem(-1);\n      if (!isFoldMenu) {\n        setShowSecondLevel(true);\n      }\n    };\n    showItemTimerId.current = delayRunCallback(mouseLeaveCallback, 100);\n    // setShowFirstLevel(true)\n  }, [enterItemTimerId.current, handleHoverItem, delayRunCallback]);\n  var mouseOverCallback = function mouseOverCallback(e) {\n    var event = e || window.Event;\n    var scrollY = document.documentElement.scrollTop || document.body.scrollTop;\n    var y = event.pageY || event.clientY + scrollY;\n    setScrollTopRef(y);\n  };\n  var setScrollTopRef = function setScrollTopRef(scrollTop) {\n    scrollTopRef.current = scrollTop;\n  };\n  var setHoverItemRef = function setHoverItemRef(e) {\n    hoverItemRef.current = e.currentTarget;\n    hoverItemRef.current && hoverItemRef.current.removeEventListener('hover', scrollCallback, false);\n  };\n  var mouseEnterCallback = (0, _react.useCallback)(function (index, currentTarget) {\n    var hoverItemTop = getHoverItemTop(currentTarget);\n    handleHoverItem(index);\n    setShowSecondLevel(true);\n    setPanelTop(hoverItemTop);\n  }, [getHoverItemTop, hoverItem]);\n  var handleMouseEnterItem = function handleMouseEnterItem(index, e) {\n    if (isFoldMenu) {\n      handleHoverItem(index);\n      return;\n    }\n    clearTimeout(showItemTimerId.current);\n    clearTimeout(enterItemTimerId.current);\n    setHoverItemRef(e);\n    var currentTarget = e.currentTarget;\n    enterItemTimerId.current = delayRunCallback(function () {\n      return mouseEnterCallback(index, currentTarget);\n    });\n  };\n  var handleMouseLeaveMenu = (0, _react.useCallback)(function (e) {\n    var _chunkRef$current;\n    // 统信UOS 1302版本在某些情况下，会出现mousedown触发时触发了mouseleave事件，导致点击事件失效\n    // isExpand 为减小影响\n    if (isExpand && (_chunkRef$current = chunkRef.current) !== null && _chunkRef$current !== void 0 && _chunkRef$current.contains(e.target)) {\n      return;\n    }\n    handleHideTitle(e);\n    handleHoverItem(-1);\n  }, [handleHideTitle, handleHoverItem]);\n  return /*#__PURE__*/_react[\"default\"].createElement(_CollapseTransition.CollapseTransition, {\n    expand: isExpand,\n    minSize: showStyle !== 1 ? MIN_SIZE : NO_ICON_TYPE_MIN_SIZE\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n    ref: navPanelRef,\n    className: navClass,\n    \"data-tree-menu-mode\": treeMenuMode,\n    \"data-tree-menu-show-type\": showType\n  }, attachData, other), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    ref: iconPanelRef,\n    className: iconPanelClass,\n    onClick: onClick\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    ref: itemPanelRef,\n    className: itemClass,\n    onMouseEnter: handleShowTitle,\n    onMouseLeave: handleMouseLeaveMenu,\n    onScroll: handleScroll\n  }, childNodes.map(function (item, index) {\n    var _item$get;\n    var fontClass = 'kdfont kdfont-jichuziliao';\n    if (item.get('iconUrl')) {\n      fontClass = item.get('iconUrl');\n    }\n    var active = index === hoverItem;\n    var panelActive = index === hoverItem && showSecondLevel;\n    var cn = (0, _classnames13[\"default\"])(fontClass, _TreeMenu[\"default\"].icon);\n    var itemClass = (0, _classnames13[\"default\"])('kd-cq-treemenu-first-level-item', _defineProperty(_defineProperty({}, _TreeMenu[\"default\"].iconItem, true), \"kd-cq-treemenu-first-level-hoverItem \".concat(_TreeMenu[\"default\"].hoverItem), active));\n    var itemTitleClass = (0, _classnames13[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _TreeMenu[\"default\"].titleItem, true), _TreeMenu[\"default\"].hoverItem, active), _TreeMenu[\"default\"].level1, true), _TreeMenu[\"default\"].noIcon, item.get('children')), _TreeMenu[\"default\"]['no-fold'], !item.get('children')));\n    var text = item.get('text') || '';\n    var grayValid = item.get(_const.GRAY_VALID);\n    var defaultFirstLevelItem = /*#__PURE__*/_react[\"default\"].createElement(_TextEllipsisWrap[\"default\"], {\n      key: index\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      key: index,\n      className: itemClass,\n      onMouseEnter: function onMouseEnter(e) {\n        handleMouseEnterItem(index, e);\n      },\n      onMouseLeave: handleMouseLeaveItem,\n      title: text,\n      onClick: function onClick(e) {\n        return handleClick(e, item);\n      },\n      \"data-menu-index\": index\n    }, showStyle !== 1 && /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n      className: cn\n    }), (isExpand || showFirstLevel) && /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: itemTitleClass\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", null, text), renderCollectIcon(item), !isScroll && !isFoldMenu && renderSecondLevelPanel(isExpand, panelActive, item, index), isFoldMenu && ((_item$get = item.get('children')) === null || _item$get === void 0 ? void 0 : _item$get.size) > 0 && renderFoldIcon(item)), (isExpand || showFirstLevel) && grayValid && /*#__PURE__*/_react[\"default\"].createElement(_GrayScaleIcon[\"default\"], {\n      value: grayValid\n    })));\n    var foldItem = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: (0, _classnames13[\"default\"])('kd-cq-treemenu-fold-first-level-item-wrap'),\n      key: index\n    }, defaultFirstLevelItem, item.get('children') && /*#__PURE__*/_react[\"default\"].createElement(_TreeMenuFoldBlock[\"default\"], {\n      item: item,\n      expandData: expandData,\n      renderCollectIcon: renderCollectIcon,\n      renderFoldIcon: renderFoldIcon,\n      handleClick: handleClick,\n      hide: !(isExpand || showFirstLevel)\n    }));\n    return isFoldMenu ? foldItem : defaultFirstLevelItem;\n  }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _TreeMenu[\"default\"].space\n  })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: \"kd-cq-treemenu-switch-level1 \".concat(_TreeMenu[\"default\"]['switch-level1'])\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: switchDivClass,\n    onClick: function onClick() {\n      return handleChangeCollapse(!isExpand);\n    },\n    onMouseEnter: function onMouseEnter() {\n      return handleHoverItem(-2);\n    },\n    onMouseLeave: function onMouseLeave() {\n      return handleHoverItem(-1);\n    }\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"i\", {\n    title: title,\n    className: switchIconClass\n  }))))));\n};\nvar useMutationObserver = function useMutationObserver(element, handler) {\n  (0, _react.useEffect)(function () {\n    var MutationObserver = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver;\n    var observerMutationSupport = !!MutationObserver;\n    var observer;\n    if (observerMutationSupport) {\n      observer = new MutationObserver(function (mutations) {\n        handler && handler(mutations);\n      });\n      var options = {\n        attributeFilter: ['class'],\n        // 过滤监听的属性\n        childList: false,\n        // 子节点的变动\n        attributes: true,\n        // 属性的变动\n        characterData: false,\n        // 节点内容或节点文本的变动\n        subtree: true,\n        // 所有后代节点的变动\n        attributeOldValue: true,\n        // 表示观察attributes变动时，是否需要记录变动前的属性\n        characterDataOldValue: false // 表示观察characterData变动时，是否需要记录变动前的值\n      };\n      observer && element && observer.observe(element, options);\n    }\n    return function () {\n      observer && element && observer.disconnect();\n    };\n  }, [element, handler]);\n};\nvar ChildChunk = exports.ChildChunk = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {\n  var chunkRef = ref || _react[\"default\"].useRef();\n  (0, _react.useEffect)(function () {\n    setTimeout(function () {\n      return handleTranslate();\n    }, 100);\n  }, []);\n  var nodeClick = props.nodeClick,\n    nodeInfo = props.nodeInfo,\n    active = props.active,\n    renderCollectIcon = props.renderCollectIcon,\n    style = props.style,\n    onMouseEnterSecondLevel = props.onMouseEnterSecondLevel,\n    hideFirstLevel = props.hideFirstLevel,\n    handleHoverItem = props.handleHoverItem,\n    showType = props.showType;\n  var handleClick = function handleClick(e, item) {\n    if (!item.get('children') || item.get('children').size === 0) {\n      var _nodeInfo = {};\n      _nodeInfo.parentid = item.get('parentid');\n      _nodeInfo.id = item.get('id');\n      nodeClick && nodeClick(_nodeInfo);\n      handleHoverItem && handleHoverItem(-1);\n      hideFirstLevel && hideFirstLevel(e);\n    }\n  };\n  var handleTranslate = function handleTranslate() {\n    var ele = chunkRef.current;\n    if (ele) {\n      ele.style.transform = 'none';\n      var position = ele.getBoundingClientRect();\n      var windowHeight = document.body.offsetHeight;\n      if (position.bottom > windowHeight) {\n        ele.style.transform = \"translate(0px,-\".concat(position.bottom - windowHeight, \"px)\");\n      }\n      ele.style.opacity = 1;\n    }\n  };\n  var childItem = nodeInfo.get('children') || (0, _immutable.List)();\n  var chunkClass = (0, _classnames13[\"default\"])('kd-cq-treemenu-second-level', _defineProperty(_defineProperty({}, _TreeMenu[\"default\"].chunk, true), _TreeMenu[\"default\"].activeChunk, active));\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames13[\"default\"])('kd-cq-control kd-cq-treemenu-popper', _TreeMenu[\"default\"].chunkWrapper),\n    \"data-tree-menu-show-type\": showType,\n    ref: chunkRef,\n    style: style\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n    style: {\n      maxHeight: props.maxHeight\n    },\n    className: chunkClass,\n    onMouseEnter: function onMouseEnter() {\n      return onMouseEnterSecondLevel();\n    },\n    onScroll: function onScroll(e) {\n      e.stopPropagation();\n    }\n  }, active && childItem.map(function (item, index) {\n    var children = item.get('children');\n    var title = item.get('text');\n    var grayValid = item.get(_const.GRAY_VALID);\n    var itemClass = (0, _classnames13[\"default\"])('kd-cq-treemenu-second-level-item', _defineProperty(_defineProperty(_defineProperty({}, _TreeMenu[\"default\"].item, true), _TreeMenu[\"default\"]['item-hover'], !(children && children.size)), _TreeMenu[\"default\"].border, !!children));\n    var textClass = (0, _classnames13[\"default\"])(_defineProperty(_defineProperty(_defineProperty({}, _TreeMenu[\"default\"]['item-text'], true), _TreeMenu[\"default\"].title, !!(children && children.size)), _TreeMenu[\"default\"]['item-text-expand'], true));\n    return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n      key: index,\n      className: itemClass,\n      onClick: function onClick(e) {\n        handleClick(e, item);\n      }\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _TreeMenu[\"default\"].level2\n    }, /*#__PURE__*/_react[\"default\"].createElement(_TextEllipsisWrap[\"default\"], null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n      className: textClass,\n      title: title\n    }, title)), renderCollectIcon(item)), children ? /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n      className: _TreeMenu[\"default\"]['level3-menu']\n    }, children.map(function (ele, i) {\n      var eleClass = (0, _classnames13[\"default\"])(_defineProperty(_defineProperty({}, _TreeMenu[\"default\"].item, true), _TreeMenu[\"default\"]['item-hover'], true));\n      return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n        key: ele.get('id'),\n        className: eleClass,\n        onClick: function onClick(e) {\n          e.stopPropagation();\n          handleClick(e, ele);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _TreeMenu[\"default\"].level3\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _TreeMenu[\"default\"]['item-text']\n      }, ele.get('text')), renderCollectIcon(ele)));\n    })) : null, grayValid && /*#__PURE__*/_react[\"default\"].createElement(_GrayScaleIcon[\"default\"], {\n      value: grayValid\n    }));\n  })));\n});\nvar _default = exports[\"default\"] = TreeMenu;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/TreeMenuHooks.js?");

/***/ }),

/***/ "./src/component/web/base/TreeMenuThirdLevel.jsx":
/*!*******************************************************!*\
  !*** ./src/component/web/base/TreeMenuThirdLevel.jsx ***!
  \*******************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.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.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.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.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.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\");\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); }\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.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.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 _TreeMenuThirdLevel = _interopRequireDefault(__webpack_require__(/*! ./TreeMenuThirdLevel.less */ \"./src/component/web/base/TreeMenuThirdLevel.less\"));\nvar _classnames4 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _TextEllipsisWrap = _interopRequireWildcard(__webpack_require__(/*! @/component/common/TextEllipsisWrap */ \"./src/component/common/TextEllipsisWrap.js\"));\nvar _GrayScaleIcon = _interopRequireDefault(__webpack_require__(/*! @/component/common/GrayScaleIcon */ \"./src/component/common/GrayScaleIcon.jsx\"));\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 _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 _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 _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); }\nvar THIRD_MENU_PADDING = 20;\nvar MAX_CHUNKLI_NUM = 5;\nvar TreeMenuThirdLevel = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {\n  var renderCollectIcon = props.renderCollectIcon,\n    nodeInfo = props.nodeInfo,\n    nodeClick = props.nodeClick,\n    active = props.active,\n    style = props.style,\n    handleHoverItem = props.handleHoverItem,\n    hideFirstLevel = props.hideFirstLevel,\n    showType = props.showType,\n    thirdMenuItemWidth = props.thirdMenuItemWidth;\n  var panelRef = ref || (0, _react.useRef)(null);\n  var handleClick = (0, _react.useCallback)(function (e, item) {\n    var children = item.get('children');\n    if (!children || children.size === 0) {\n      var parentid = item.get('parentid');\n      var id = item.get('id');\n      var _nodeInfo = {};\n      _nodeInfo.parentid = parentid;\n      _nodeInfo.id = id;\n      nodeClick && nodeClick(_nodeInfo);\n      handleHoverItem && handleHoverItem(-1);\n      hideFirstLevel && hideFirstLevel(e);\n    }\n  }, []);\n  var getColumnWidthList = function getColumnWidthList(nodelist) {\n    var arr = [];\n    var cellWidth = thirdMenuItemWidth + THIRD_MENU_PADDING;\n    var nodelistChild = nodelist.get('children') || (0, _immutable.List)();\n    nodelistChild.forEach(function (item) {\n      var children = item.get('children');\n      if (!children || children.size <= 5) {\n        arr.push(cellWidth);\n      } else {\n        var width = cellWidth * Math.ceil(children.size / 5);\n        arr.push(width);\n      }\n    });\n    return arr;\n  };\n  /**\n     * max-width: 814px, 最多四列（800px），每列200px\n     * 外层初始width：0px，叠加width：0px，\n     * 第一个菜单（200px）加进，叠加width+200\n     * if 叠加width > 外层width 且 叠加width < max-width，则外层width = 叠加width\n     * 第二个菜单（200px）进，......\n     * 第三个菜单（200px）进，......，叠加width = 600px， 外层width = 600px，\n     * 第四个菜单（400px）进，叠加width = 1000px\n     * 叠加width > 814px，外层width不变，换行， 叠加width = 400px\n     * 第五个菜单（400px）进，叠加width = 800px，外层width = 800px\n     * 第六个菜单（200px）进，叠加width = 1000px\n     * 叠加width > 814px，外层width不变，换行，叠加width = 200px\n     * ......\n     * ......\n     */\n\n  // 有数组arr，前n项和最大值为maxWidth，将该前n项和添加到新数组， 余下数组的值依次类推，最后输出该数组\n  // 如：[200, 200, 600, 600] 最大值800 输出 [400, 600, 600]\n  // [800, 200, 200, 600, 100, 100] 最大值800 输出 [800, 400, 800]\n\n  /*\n  此处200修改为定制主题中的宽度大小+边距大小，其他逻辑不变\n  */\n  var calWidthArr = function calWidthArr() {\n    var arr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n    var maxWidth = arguments.length > 1 ? arguments[1] : undefined;\n    var index = 0;\n    var result = [];\n    var total = 0;\n    while (index < arr.length) {\n      total = arr[index] + total;\n      if (total < maxWidth) {\n        if (arr[index + 1]) {\n          if (total + arr[index + 1] > maxWidth) {\n            result.push(total);\n            total = 0;\n          }\n        } else {\n          result.push(total);\n          total = 0;\n        }\n      } else {\n        result.push(total);\n        total = 0;\n      }\n      index++;\n    }\n    return result;\n  };\n  var getArrMaxValue = function getArrMaxValue(arr) {\n    var max = 0;\n    arr.forEach(function (item) {\n      max = item > max ? item : max;\n    });\n    return max;\n  };\n  var getWrapWidth = function getWrapWidth(nodelist) {\n    var maxWidth = 800;\n    var columnWidthList = getColumnWidthList(nodelist); // 假如[200, 200, 200, 400, 400, 200, 200]\n    var rowWidthArr = calWidthArr(columnWidthList, maxWidth);\n    var width = getArrMaxValue(rowWidthArr);\n    return width + 24 + 8; // +24是左边距 +8是预留滚动条宽度\n  };\n  (0, _react.useEffect)(function () {\n    var ele = panelRef.current;\n    if (ele) {\n      ele.style.transform = 'none';\n      var position = ele.getBoundingClientRect();\n      var windowHeight = document.body.offsetHeight;\n      if (position.bottom > windowHeight) {\n        ele.style.transform = \"translate(0px,-\".concat(position.bottom - windowHeight, \"px)\");\n      }\n      ele.style.opacity = 1;\n    }\n  });\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    ref: panelRef,\n    className: (0, _classnames4[\"default\"])('kd-cq-control kd-cq-treemenu-popper', _TreeMenuThirdLevel[\"default\"].thirdLevel_wrap),\n    \"data-tree-menu-show-type\": showType,\n    style: style,\n    onScroll: function onScroll(e) {\n      return e.stopPropagation();\n    }\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: (0, _classnames4[\"default\"])('kd-cq-treemenu-third-level', _TreeMenuThirdLevel[\"default\"].thirdLevel),\n    style: {\n      width: getWrapWidth(nodeInfo),\n      maxHeight: props.maxHeight\n    }\n  }, active && nodeInfo.get('children').map(function (item, index) {\n    return /*#__PURE__*/_react[\"default\"].createElement(Chunk, {\n      key: item.get('id'),\n      childNodes: item,\n      onClick: handleClick,\n      renderCollectIcon: renderCollectIcon,\n      width: getColumnWidthList(nodeInfo)[index],\n      thirdMenuItemWidth: thirdMenuItemWidth\n    });\n  })));\n});\nfunction Chunk(props) {\n  var childNodes = props.childNodes,\n    renderCollectIcon = props.renderCollectIcon,\n    onClick = props.onClick,\n    width = props.width,\n    thirdMenuItemWidth = props.thirdMenuItemWidth;\n  var commonProps = {\n    thirdMenuItemWidth: thirdMenuItemWidth,\n    renderCollectIcon: renderCollectIcon\n  };\n  var children = childNodes.get('children') || (0, _immutable.List)();\n  var titleClass = (0, _classnames4[\"default\"])('kd-cq-treemenu-third-level-title', _defineProperty({}, _TreeMenuThirdLevel[\"default\"].chunk_title, true));\n  var ulClass = (0, _classnames4[\"default\"])(_defineProperty({}, _TreeMenuThirdLevel[\"default\"].chunk_ul, true));\n\n  // 将三级菜单划分为5个一组\n  var getChunkGroup = function getChunkGroup(children) {\n    var group = [];\n    if (children.length <= MAX_CHUNKLI_NUM) {\n      group.push(_toConsumableArray(children));\n    } else {\n      children.forEach(function (item, index) {\n        var groupId = Math.floor(index / MAX_CHUNKLI_NUM);\n        if (!group[groupId]) {\n          group[groupId] = [];\n        }\n        group[groupId].push(item);\n      });\n    }\n    return group;\n  };\n  var grayValid = childNodes.get(_const.GRAY_VALID);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _TreeMenuThirdLevel[\"default\"].chunk,\n    style: {\n      width: width\n    }\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: titleClass,\n    style: {\n      width: width - 20\n    }\n  }, /*#__PURE__*/_react[\"default\"].createElement(_TextEllipsisWrap[\"default\"], null, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    title: childNodes.get('text')\n  }, childNodes.get('text'))), grayValid && /*#__PURE__*/_react[\"default\"].createElement(_GrayScaleIcon[\"default\"], {\n    value: grayValid\n  })), /*#__PURE__*/_react[\"default\"].createElement(\"ul\", {\n    className: ulClass\n  }, children.size > 0 ? getChunkGroup(children).map(function (itemList, index) {\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _TreeMenuThirdLevel[\"default\"].chunkWrapper,\n      key: index\n    }, itemList.map(function (item) {\n      return /*#__PURE__*/_react[\"default\"].createElement(Item, _extends({\n        onClick: onClick,\n        key: item.get('id')\n      }, commonProps, {\n        item: item\n      }));\n    }));\n  }) : /*#__PURE__*/_react[\"default\"].createElement(Item, _extends({\n    onClick: onClick,\n    key: childNodes.get('text')\n  }, commonProps, {\n    item: childNodes\n  }))));\n}\nfunction Item(props) {\n  var _onClick = props.onClick,\n    item = props.item,\n    renderCollectIcon = props.renderCollectIcon,\n    thirdMenuItemWidth = props.thirdMenuItemWidth;\n  var classNames = (0, _classnames4[\"default\"])('kd-cq-treemenu-third-level-item', _defineProperty({}, _TreeMenuThirdLevel[\"default\"].chunk_li, true));\n  var grayValid = item.get(_const.GRAY_VALID);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"li\", {\n    className: classNames,\n    onClick: function onClick(e) {\n      return _onClick(e, item);\n    },\n    style: {\n      width: thirdMenuItemWidth\n    }\n  }, /*#__PURE__*/_react[\"default\"].createElement(_TextEllipsisWrap[\"default\"], {\n    lineType: _TextEllipsisWrap.LINE_TYPE.ALL\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    title: item.get('text')\n  }, item.get('text'))), renderCollectIcon(item), grayValid && /*#__PURE__*/_react[\"default\"].createElement(_GrayScaleIcon[\"default\"], {\n    value: grayValid\n  }));\n}\nvar _default = exports[\"default\"] = TreeMenuThirdLevel;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/TreeMenuThirdLevel.jsx?");

/***/ }),

/***/ "./src/component/web/base/WorkCalendar.jsx":
/*!*************************************************!*\
  !*** ./src/component/web/base/WorkCalendar.jsx ***!
  \*************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

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.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.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.array.find-index.js */ \"../../node_modules/core-js/modules/es.array.find-index.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.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.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.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _lodash = _interopRequireDefault(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nvar _moment = _interopRequireDefault(__webpack_require__(/*! moment */ \"../../node_modules/moment/moment.js\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _WorkCalendar2 = _interopRequireDefault(__webpack_require__(/*! ./WorkCalendar.less */ \"./src/component/web/base/WorkCalendar.less\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _intlApi = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar locales = _interopRequireWildcard(__webpack_require__(/*! ./DateTimePicker/locale */ \"./src/component/web/base/DateTimePicker/locale/index.js\"));\nvar _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\"));\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _excluded = [\"Grow\", \"Shrink\", \"className\", \"style\", \"year\", \"readOnly\", \"holidays\", \"workdays\", \"onClick\", \"isPass\"];\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 _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\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 nof = function nof() {};\nvar isMouseDown = false;\nvar DEFAULT_LOCALE = 'zh_CN';\nvar DaysView = /*#__PURE__*/function (_Component) {\n  _inherits(DaysView, _Component);\n  function DaysView(props) {\n    var _this;\n    _classCallCheck(this, DaysView);\n    _this = _callSuper(this, DaysView, [props]);\n    _this.onMouseDown = _this.onMouseDown.bind(_assertThisInitialized(_this));\n    _this.onMouseOver = _this.onMouseOver.bind(_assertThisInitialized(_this));\n    _this.onMouseUp = _this.onMouseUp.bind(_assertThisInitialized(_this));\n    _this.resetState = _this.resetState.bind(_assertThisInitialized(_this));\n    _this.mouseoverTarget = undefined;\n    return _this;\n  }\n  _createClass(DaysView, [{\n    key: \"shouldComponentUpdate\",\n    value: function shouldComponentUpdate(nextProps, nextState) {\n      var thisProps = this.props;\n      if (!thisProps.viewDate.isSame(nextProps.viewDate, 'months')) return true;\n      if ((_lodash[\"default\"].findIndex(thisProps.selectedDate || [], function (selDate) {\n        return selDate.isSame(thisProps.viewDate, 'months');\n      }) >= 0 || _lodash[\"default\"].findIndex(nextProps.selectedDate || [], function (selDate) {\n        return selDate.isSame(nextProps.viewDate, 'months');\n      }) >= 0) && !_lodash[\"default\"].isEqual(thisProps.selectedDate, nextProps.selectedDate)) {\n        return true;\n      }\n      if ((_lodash[\"default\"].findIndex(thisProps.workdays || [], function (selDate) {\n        return selDate.isSame(thisProps.viewDate, 'months');\n      }) >= 0 || _lodash[\"default\"].findIndex(nextProps.workdays || [], function (selDate) {\n        return selDate.isSame(nextProps.viewDate, 'months');\n      }) >= 0) && !_lodash[\"default\"].isEqual(thisProps.workdays, nextProps.workdays)) {\n        return true;\n      }\n      if ((_lodash[\"default\"].findIndex(thisProps.halfdays || [], function (selDate) {\n        return selDate.isSame(thisProps.viewDate, 'months');\n      }) >= 0 || _lodash[\"default\"].findIndex(nextProps.halfdays || [], function (selDate) {\n        return selDate.isSame(nextProps.viewDate, 'months');\n      }) >= 0) && !_lodash[\"default\"].isEqual(thisProps.halfdays, nextProps.halfdays)) {\n        return true;\n      }\n      if ((_lodash[\"default\"].findIndex(thisProps.holidays || [], function (selDate) {\n        return selDate.isSame(thisProps.viewDate, 'months');\n      }) >= 0 || _lodash[\"default\"].findIndex(nextProps.holidays || [], function (selDate) {\n        return selDate.isSame(nextProps.viewDate, 'months');\n      }) >= 0) && !_lodash[\"default\"].isEqual(thisProps.holidays, nextProps.holidays)) {\n        return true;\n      }\n      if ((_lodash[\"default\"].findIndex(thisProps.weekends || [], function (selDate) {\n        return selDate.isSame(thisProps.viewDate, 'months');\n      }) >= 0 || _lodash[\"default\"].findIndex(nextProps.weekends || [], function (selDate) {\n        return selDate.isSame(nextProps.viewDate, 'months');\n      }) >= 0) && !_lodash[\"default\"].isEqual(thisProps.weekends, nextProps.weekends)) {\n        return true;\n      }\n      if (!_lodash[\"default\"].isEqual(thisProps.isPass, nextProps.isPass)) return true;\n      if (!_lodash[\"default\"].isEqual(thisProps.today, nextProps.today)) return true;\n      return false;\n    }\n  }, {\n    key: \"onMouseDown\",\n    value: function onMouseDown(e, date) {\n      isMouseDown = true;\n      this.mouseoverTarget = e.nativeEvent.target;\n      var _this$props$onSelect = this.props.onSelect,\n        onSelect = _this$props$onSelect === void 0 ? nof : _this$props$onSelect;\n      onSelect(e, date, false);\n    }\n  }, {\n    key: \"onMouseOver\",\n    value: function onMouseOver(e, date) {\n      if (!isMouseDown) return;\n      var _this$props = this.props,\n        _this$props$onSelect2 = _this$props.onSelect,\n        onSelect = _this$props$onSelect2 === void 0 ? nof : _this$props$onSelect2,\n        _this$props$selectedD = _this$props.selectedDate,\n        selectedDate = _this$props$selectedD === void 0 ? [] : _this$props$selectedD;\n      var startDate = selectedDate[0];\n      var endDate;\n      if (!startDate) return;\n      if (date.isBefore(startDate)) {\n        endDate = startDate;\n        startDate = date;\n      } else {\n        endDate = date;\n      }\n      selectedDate = [];\n      while (startDate && !startDate.isAfter(endDate)) {\n        selectedDate.push(startDate.clone());\n        startDate.add(1, 'days');\n      }\n      this.mouseoverTarget = e.nativeEvent.target;\n      onSelect(e, selectedDate, false);\n    }\n  }, {\n    key: \"onMouseUp\",\n    value: function onMouseUp(e, date, target) {\n      if (!isMouseDown) return;\n      e.stopPropagation();\n      this.resetState();\n      var _this$props2 = this.props,\n        _this$props2$onSelect = _this$props2.onSelect,\n        onSelect = _this$props2$onSelect === void 0 ? nof : _this$props2$onSelect,\n        _this$props2$selected = _this$props2.selectedDate,\n        selectedDate = _this$props2$selected === void 0 ? [] : _this$props2$selected;\n      onSelect(e, selectedDate.slice(0), true, target);\n    }\n  }, {\n    key: \"resetState\",\n    value: function resetState() {\n      isMouseDown = false;\n    }\n  }, {\n    key: \"renderTitleEl\",\n    value: function renderTitleEl(locale, date) {\n      var localeData = date.localeData();\n      var monthFormat = locale && locale.monthFormat;\n      var month = monthFormat ? date.format(monthFormat) : localeData.monthsShort(date);\n      var year = date.format(locale.yearFormat);\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].title\n      }, locale.monthBeforeYear ? month : year, \"\\xA0\", locale.monthBeforeYear ? year : month);\n    }\n  }, {\n    key: \"renderHeader\",\n    value: function renderHeader() {\n      var viewDate = this.props.viewDate;\n      var title = (0, _intlApi.getLangMsg)({\n        key: 'WorkCalendar.key0001',\n        variables: {\n          year: viewDate.year(),\n          month: viewDate.month() + 1\n        }\n      });\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].title\n      }, title);\n    }\n  }, {\n    key: \"isWeekend\",\n    value: function isWeekend(week, firstDayOfWeek) {\n      var sunday = 7 - firstDayOfWeek >= 7 ? 0 : 7 - firstDayOfWeek;\n      var saturday = sunday - 1 >= 0 ? sunday - 1 : 6;\n      return week.length === sunday || week.length === saturday;\n    }\n  }, {\n    key: \"renderDays\",\n    value: function renderDays() {\n      var _this$props3 = this.props,\n        _this$props3$style = _this$props3.style,\n        style = _this$props3$style === void 0 ? {} : _this$props3$style,\n        viewDate = _this$props3.viewDate,\n        workdays = _this$props3.workdays,\n        halfdays = _this$props3.halfdays,\n        holidays = _this$props3.holidays,\n        weekends = _this$props3.weekends,\n        _this$props3$selected = _this$props3.selectedDate,\n        selectedDate = _this$props3$selected === void 0 ? [] : _this$props3$selected,\n        isPass = _this$props3.isPass,\n        _this$props3$onSelect = _this$props3.onSelect,\n        onSelect = _this$props3$onSelect === void 0 ? nof : _this$props3$onSelect,\n        holidayColor = _this$props3.holidayColor,\n        workdayColor = _this$props3.workdayColor,\n        halfworkdayColor = _this$props3.halfworkdayColor,\n        weekendColor = _this$props3.weekendColor,\n        lockeddayColor = _this$props3.lockeddayColor,\n        effectiveDate = _this$props3.effectiveDate,\n        today = _this$props3.today,\n        firstDayOfWeek = _this$props3.firstDayOfWeek;\n      var curMonth = viewDate.clone().startOf('months');\n      var weeks = [];\n      var week = [];\n      var DATE_COL_COUNT = 7;\n      // 表格头部\n      var localeData = viewDate.localeData();\n      var now = (0, _moment[\"default\"])();\n      var veryShortWeekdays = [];\n      var weekDays = [];\n      var _firstDayOfWeek = firstDayOfWeek !== undefined || firstDayOfWeek !== null ? firstDayOfWeek : curMonth.day();\n      for (var i = 0; i < DATE_COL_COUNT; i++) {\n        var index = (_firstDayOfWeek + i) % DATE_COL_COUNT;\n        now.day(index);\n        veryShortWeekdays[i] = localeData.weekdaysMin(now);\n        weekDays[i] = localeData.weekdaysShort(now);\n      }\n      var weekDaysEls = weekDays.map(function (item, index) {\n        return /*#__PURE__*/_react[\"default\"].createElement(\"td\", {\n          key: 'tr-header-' + index,\n          className: _WorkCalendar2[\"default\"].workday\n        }, veryShortWeekdays[index]);\n      });\n      weeks.push( /*#__PURE__*/_react[\"default\"].createElement(\"tr\", {\n        key: \"tr-header\"\n      }, weekDaysEls));\n      week = [];\n\n      // 表体具体日期渲染\n      var day = curMonth.day();\n      if (day < _firstDayOfWeek) {\n        day += 7;\n      }\n      for (var _i = _firstDayOfWeek; _i < day; _i++) {\n        week.push( /*#__PURE__*/_react[\"default\"].createElement(\"td\", {\n          key: 'blank-header-' + _i\n        }));\n      }\n      while (curMonth.isSame(viewDate, 'months')) {\n        var _day = curMonth.date();\n        var className = _WorkCalendar2[\"default\"].day;\n        var cloneDate = curMonth.clone();\n        var elementProps = {};\n        style = {};\n        if (isPass && curMonth.isBefore(today, 'days')) {\n          className += ' ' + _WorkCalendar2[\"default\"].disable;\n          style.color = lockeddayColor;\n        } else if (effectiveDate && effectiveDate.get('startDate') && curMonth.isBefore(effectiveDate.get('startDate'), 'days') || effectiveDate && effectiveDate.get('endDate') && curMonth.isAfter(effectiveDate.get('endDate'), 'days')) {\n          // 设置有效日期范围外的日期锁定\n          className += ' ' + _WorkCalendar2[\"default\"].disable;\n          style.color = lockeddayColor;\n        } else if (!isPass) {\n          // 历史日不锁定，但是未设置的历史日置灰(包括周末)，设置了的保持不变\n          this.addMouseEvent(elementProps, cloneDate);\n          if (curMonth.isSame(today, 'days')) {\n            className += ' ' + _WorkCalendar2[\"default\"].today;\n          }\n          if (_lodash[\"default\"].findIndex(holidays, function (holiday) {\n            return holiday.isSame(curMonth, 'days');\n          }) >= 0) {\n            className += ' ' + _WorkCalendar2[\"default\"].holiday;\n            style.backgroundColor = holidayColor;\n          } else if (_lodash[\"default\"].findIndex(weekends, function (weekend) {\n            return weekend.isSame(curMonth, 'days');\n          }) >= 0) {\n            style.color = weekendColor;\n          } else if (_lodash[\"default\"].findIndex(halfdays, function (halfday) {\n            return halfday.isSame(curMonth, 'days');\n          }) >= 0) {\n            className += ' ' + _WorkCalendar2[\"default\"].halfday;\n            style.backgroundColor = halfworkdayColor;\n          } else if (_lodash[\"default\"].findIndex(workdays, function (workday) {\n            return workday.isSame(curMonth, 'days');\n          }) >= 0) {\n            className += ' ' + _WorkCalendar2[\"default\"]['unlocked-workday'];\n            style.color = workdayColor;\n          } else if (this.isWeekend(week, firstDayOfWeek)) {\n            // } else if (week.length === 0 || week.length === 6) {\n            className += ' ' + _WorkCalendar2[\"default\"]['unlocked-weekend'];\n          } else {\n            className += ' ' + _WorkCalendar2[\"default\"]['unlocked-notset-workday'];\n          }\n          if (_lodash[\"default\"].findIndex(selectedDate, function (selDate) {\n            return selDate.isSame(curMonth, 'days');\n          }) >= 0) {\n            className += ' ' + _WorkCalendar2[\"default\"]['day-active'];\n          }\n        } else {\n          // 锁定状态下，非历史日\n          this.addMouseEvent(elementProps, cloneDate);\n          if (curMonth.isSame(today, 'days')) {\n            className += ' ' + _WorkCalendar2[\"default\"].today;\n          }\n          if (_lodash[\"default\"].findIndex(holidays, function (holiday) {\n            return holiday.isSame(curMonth, 'days');\n          }) >= 0) {\n            className += ' ' + _WorkCalendar2[\"default\"].holiday;\n            style.backgroundColor = holidayColor;\n          } else if (_lodash[\"default\"].findIndex(weekends, function (weekend) {\n            return weekend.isSame(curMonth, 'days');\n          }) >= 0) {\n            className += ' ' + _WorkCalendar2[\"default\"].weekend;\n            style.color = weekendColor;\n          } else if (_lodash[\"default\"].findIndex(halfdays, function (halfday) {\n            return halfday.isSame(curMonth, 'days');\n          }) >= 0) {\n            className += ' ' + _WorkCalendar2[\"default\"].halfday;\n            style.backgroundColor = halfworkdayColor;\n          } else if (_lodash[\"default\"].findIndex(workdays, function (workday) {\n            return workday.isSame(curMonth, 'days');\n          }) >= 0) {\n            className += ' ' + _WorkCalendar2[\"default\"].workday;\n            style.color = workdayColor;\n          } else if (this.isWeekend(week, firstDayOfWeek)) {\n            // } else if (week.length === 0 || week.length === 6) {\n            className += ' ' + _WorkCalendar2[\"default\"].weekend;\n            style.color = weekendColor;\n          } else {\n            className += ' ' + _WorkCalendar2[\"default\"].workday;\n            style.color = workdayColor;\n          }\n          if (_lodash[\"default\"].findIndex(selectedDate, function (selDate) {\n            return selDate.isSame(curMonth, 'days');\n          }) >= 0) {\n            className += ' ' + _WorkCalendar2[\"default\"]['day-active'];\n          }\n        }\n        week.push( /*#__PURE__*/_react[\"default\"].createElement(\"td\", {\n          key: 'day-' + _day\n        }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n          className: className,\n          \"data-value\": _day,\n          style: style\n        }, elementProps), _day)));\n        if (week.length === 7) {\n          weeks.push( /*#__PURE__*/_react[\"default\"].createElement(\"tr\", {\n            key: 'tr-' + _day\n          }, week));\n          week = [];\n        }\n        curMonth.add(1, 'd');\n      }\n      if (week.length > 0) {\n        for (var _i2 = week.length; _i2 < 7; _i2++) {\n          week.push( /*#__PURE__*/_react[\"default\"].createElement(\"td\", {\n            key: 'blank-footer-' + _i2\n          }));\n        }\n        weeks.push( /*#__PURE__*/_react[\"default\"].createElement(\"tr\", {\n          key: \"blank-footer\"\n        }, week));\n      }\n      return weeks;\n    }\n  }, {\n    key: \"addMouseEvent\",\n    value: function addMouseEvent(elementProps, cloneDate) {\n      var _this2 = this;\n      elementProps.onMouseDown = function (e) {\n        return _this2.onMouseDown(e, cloneDate.clone());\n      };\n      elementProps.onMouseOver = function (e) {\n        return _this2.onMouseOver(e, cloneDate.clone());\n      };\n      elementProps.onMouseUp = function (e) {\n        return _this2.onMouseUp(e, cloneDate.clone(), _this2.mouseoverTarget);\n      };\n      window.onmouseup = function (e) {\n        _this2.onMouseUp(e, cloneDate.clone(), _this2.mouseoverTarget);\n      };\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var className = _WorkCalendar2[\"default\"].view;\n      var today = this.props.today;\n      if (this.props.viewDate.isSame(today, 'months')) {\n        className += ' ' + _WorkCalendar2[\"default\"]['current-month'];\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: className\n      }, this.renderTitleEl(locales[this.props.locale] || locales[DEFAULT_LOCALE], this.props.viewDate), /*#__PURE__*/_react[\"default\"].createElement(\"table\", null, /*#__PURE__*/_react[\"default\"].createElement(\"tbody\", null, this.renderDays())));\n    }\n  }]);\n  return DaysView;\n}(_react.Component);\nvar WorkCalendar = /*#__PURE__*/function (_Component2) {\n  _inherits(WorkCalendar, _Component2);\n  function WorkCalendar(props) {\n    var _this3;\n    _classCallCheck(this, WorkCalendar);\n    _this3 = _callSuper(this, WorkCalendar, [props]);\n    _this3.dayType = {\n      workday: '1',\n      halfday: '2',\n      holiday: '3',\n      weekend: '4'\n    };\n    _this3.state = {\n      viewDate: null,\n      selectedDate: []\n    };\n    _this3.updateViewDate = _this3.updateViewDate.bind(_assertThisInitialized(_this3));\n    _this3.onSelect = _this3.onSelect.bind(_assertThisInitialized(_this3));\n    _this3.onClickOutSide = _this3.onClickOutSide.bind(_assertThisInitialized(_this3));\n    _this3.destroyPanel = _this3.destroyPanel.bind(_assertThisInitialized(_this3));\n    _this3.destroyPanelDebounce = _lodash[\"default\"].debounce(_this3.destroyPanel, 300, {\n      leading: true,\n      trailing: true\n    });\n    _this3.renderPanel = _this3.renderPanel.bind(_assertThisInitialized(_this3));\n    // props.firstDayOfWeek && moment.updateLocale('en-us', weekdaysData['en-us'][props.firstDayOfWeek])\n    // props.firstDayOfWeek && moment.updateLocale('zh-cn', weekdaysData['zh-cn'][props.firstDayOfWeek])\n    return _this3;\n  }\n  _createClass(WorkCalendar, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      document.addEventListener('mousedown', this.onClickOutSide);\n      document.addEventListener('scroll', this.destroyPanelDebounce, true);\n      window.addEventListener('resize', this.destroyPanelDebounce);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      document.removeEventListener('mousedown', this.onClickOutSide);\n      document.removeEventListener('scroll', this.destroyPanelDebounce, true);\n      window.removeEventListener('resize', this.destroyPanelDebounce);\n      this.destroyPanel();\n    }\n  }, {\n    key: \"localMoment\",\n    value: function localMoment(date, format, locale) {\n      if (!date) return null;\n      var m = (0, _moment[\"default\"])(date, format);\n      if (!m.isValid()) return null;\n      if (locale) m.locale(locale);\n      return m;\n    }\n  }, {\n    key: \"getViewDate\",\n    value: function getViewDate() {\n      var _this$props4 = this.props,\n        year = _this$props4.year,\n        locale = _this$props4.locale;\n      var date = this.state.viewDate;\n      if (!date) {\n        date = year;\n        if (typeof year === 'number') {\n          date = this.localMoment((0, _moment[\"default\"])({\n            year: year\n          }), null, locale);\n        } else {\n          date = this.localMoment(year, null, locale);\n        }\n        if (!date || !date.isValid()) {\n          date = this.localMoment((0, _moment[\"default\"])(), null, locale);\n        }\n      }\n      date = date.startOf('year');\n      return date;\n    }\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps(nextProps) {\n      var _this4 = this;\n      var nextSelectedDate = _lodash[\"default\"].map(nextProps.selectedDate, function (day) {\n        return _this4.localMoment(day, null, _this4.props.locale);\n      });\n      var thisSelectedDate = this.state.selectedDate;\n      if (!(0, _immutable.is)(nextSelectedDate, thisSelectedDate)) {\n        this.setState({\n          selectedDate: nextSelectedDate\n        });\n      }\n    }\n  }, {\n    key: \"updateViewDate\",\n    value: function updateViewDate(date) {\n      date = date.startOf('year');\n      this.setState({\n        viewDate: date\n      });\n    }\n  }, {\n    key: \"onSelect\",\n    value: function onSelect(e, date, open, target) {\n      var _e,\n        _this5 = this;\n      var _this$props5 = this.props,\n        readOnly = _this$props5.readOnly,\n        isOpenPanel = _this$props5.isOpenPanel,\n        onSelect = _this$props5.onSelect;\n      if (readOnly) return;\n      e.stopPropagation();\n      e = e.nativeEvent;\n      this.clickDom = (_e = e) === null || _e === void 0 ? void 0 : _e.target;\n      var selectedDate = Array.isArray(date) ? date : [date];\n      this.setState({\n        selectedDate: selectedDate\n      }, function () {\n        if (open && isOpenPanel) {\n          _this5.renderPanel(e, target);\n        } else if (open) {\n          onSelect && onSelect(date);\n        }\n      });\n    }\n  }, {\n    key: \"onChangeType\",\n    value: function onChangeType(type) {\n      if (this.props.onDateTypeChange) {\n        this.props.onDateTypeChange(this.state.selectedDate, type);\n      }\n      this.destroyPanel();\n    }\n  }, {\n    key: \"onClickOutSide\",\n    value: function onClickOutSide(e) {\n      if (!this.attachElement) return;\n      var target = e.target;\n      while (target && target != document) {\n        if (target === this.attachElement || target === this.clickDom) {\n          return;\n        }\n        target = target.parentNode;\n      }\n      if (!target) return;\n      this.destroyPanel();\n    }\n  }, {\n    key: \"renderPanel\",\n    value: function renderPanel(e, target) {\n      var _this6 = this;\n      var container = this.attachElement;\n      if (!container) {\n        container = document.createElement('div');\n        container.className = _WorkCalendar2[\"default\"].panel;\n        document.body.appendChild(container);\n        this.attachElement = container;\n      }\n      _reactDom[\"default\"].render( /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].daytype\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].item,\n        onClick: function onClick() {\n          return _this6.onChangeType(_this6.dayType.weekend);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].icon + ' ' + _WorkCalendar2[\"default\"].weekend\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].text\n      }, (0, _intlApi.getLangMsg)({\n        key: 'WorkCalendar.key0002'\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].item,\n        onClick: function onClick() {\n          return _this6.onChangeType(_this6.dayType.holiday);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].icon + ' ' + _WorkCalendar2[\"default\"].holiday\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].text\n      }, (0, _intlApi.getLangMsg)({\n        key: 'WorkCalendar.key0003'\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].item,\n        onClick: function onClick() {\n          return _this6.onChangeType(_this6.dayType.workday);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].icon + ' ' + _WorkCalendar2[\"default\"].workday\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].text\n      }, (0, _intlApi.getLangMsg)({\n        key: 'WorkCalendar.key0004'\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].item,\n        onClick: function onClick() {\n          return _this6.onChangeType(_this6.dayType.halfday);\n        }\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].icon + ' ' + _WorkCalendar2[\"default\"].halfday\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].text\n      }, (0, _intlApi.getLangMsg)({\n        key: 'WorkCalendar.key0005'\n      })))), container, function () {\n        _this6.computePanelPosition(e, target);\n      });\n    }\n  }, {\n    key: \"computePanelPosition\",\n    value: function computePanelPosition(e, target) {\n      target = target || e.target;\n      var scrollTop = document.documentElement.scrollTop || document.body.scrollTop;\n      var scrollLeft = document.documentElement.scrollLeft || document.body.scrollLeft;\n      var winHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;\n      var panelHeight = this.attachElement.offsetHeight;\n      var parentTarget = target;\n      while (parentTarget) {\n        if (parentTarget.className.indexOf(_WorkCalendar2[\"default\"].view) >= 0) break;\n        parentTarget = parentTarget.parentNode;\n      }\n      var position = parentTarget.getBoundingClientRect();\n      var left = position.left + scrollLeft;\n      var rect = target.getBoundingClientRect();\n      var top = rect.top - 5;\n      if (top < panelHeight) {\n        top = rect.bottom + scrollTop + 5;\n      } else {\n        top += scrollTop - panelHeight;\n      }\n      this.attachElement.style.cssText += \";top: \".concat(top, \"px;left: \").concat(left, \"px;\");\n    }\n  }, {\n    key: \"destroyPanel\",\n    value: function destroyPanel() {\n      var isOpenPanel = this.props.isOpenPanel;\n      if (this.attachElement) {\n        _reactDom[\"default\"].unmountComponentAtNode(this.attachElement);\n        this.attachElement.parentNode.removeChild(this.attachElement);\n        this.attachElement = null;\n      }\n      if (isOpenPanel) {\n        this.setState({\n          selectedDate: []\n        }); // 滚动清除当前选中日期\n      }\n    }\n  }, {\n    key: \"renderHeader\",\n    value: function renderHeader() {\n      var _this7 = this;\n      var viewDate = this.getViewDate();\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].header\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"]['detail-container']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].block\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].weekend\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, (0, _intlApi.getLangMsg)({\n        key: 'WorkCalendar.key0002'\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].block\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].holiday\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, (0, _intlApi.getLangMsg)({\n        key: 'WorkCalendar.key0003'\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].block\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].halfday\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, (0, _intlApi.getLangMsg)({\n        key: 'WorkCalendar.key0004'\n      }))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].block\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].workday\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, (0, _intlApi.getLangMsg)({\n        key: 'WorkCalendar.key0005'\n      })))), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"]['title-container']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"]['arrow-left'],\n        onClick: function onClick() {\n          return _this7.updateViewDate(viewDate.add(-1, 'years'));\n        }\n      }, \"\\uFF1C\"), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].title\n      }, (0, _intlApi.getLangMsg)({\n        key: 'WorkCalendar.key0006',\n        variables: {\n          year: viewDate.year()\n        }\n      })), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"]['arrow-right'],\n        onClick: function onClick() {\n          return _this7.updateViewDate(viewDate.add(1, 'years'));\n        }\n      }, \"\\uFF1E\")), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"]['button-container']\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].btn\n      }, (0, _intlApi.getLangMsg)({\n        key: 'WorkCalendar.key0007'\n      }))));\n    }\n  }, {\n    key: \"renderViews\",\n    value: function renderViews() {\n      var _this8 = this;\n      var _this$props6 = this.props,\n        _this$props6$holidays = _this$props6.holidays,\n        holidays = _this$props6$holidays === void 0 ? [] : _this$props6$holidays,\n        _this$props6$workdays = _this$props6.workdays,\n        workdays = _this$props6$workdays === void 0 ? [] : _this$props6$workdays,\n        _this$props6$halfdays = _this$props6.halfdays,\n        halfdays = _this$props6$halfdays === void 0 ? [] : _this$props6$halfdays,\n        _this$props6$weekends = _this$props6.weekends,\n        weekends = _this$props6$weekends === void 0 ? [] : _this$props6$weekends,\n        locale = _this$props6.locale,\n        isPass = _this$props6.isPass,\n        holidayColor = _this$props6.holidayColor,\n        workdayColor = _this$props6.workdayColor,\n        halfworkdayColor = _this$props6.halfworkdayColor,\n        weekendColor = _this$props6.weekendColor,\n        lockeddayColor = _this$props6.lockeddayColor,\n        effectiveDate = _this$props6.effectiveDate,\n        today = _this$props6.today,\n        firstDayOfWeek = _this$props6.firstDayOfWeek;\n      workdays = _lodash[\"default\"].map(workdays, function (day) {\n        return _this8.localMoment(day, null, locale);\n      });\n      halfdays = _lodash[\"default\"].map(halfdays, function (day) {\n        return _this8.localMoment(day, null, locale);\n      });\n      holidays = _lodash[\"default\"].map(holidays, function (day) {\n        return _this8.localMoment(day, null, locale);\n      });\n      weekends = _lodash[\"default\"].map(weekends, function (day) {\n        return _this8.localMoment(day, null, locale);\n      });\n      var _today = this.localMoment(today, null, locale) || (0, _moment[\"default\"])();\n      var date = this.getViewDate();\n      var month = date.clone();\n      var views = [];\n      while (month.isSame(date, 'year')) {\n        views.push( /*#__PURE__*/_react[\"default\"].createElement(DaysView, {\n          key: month.format('YYYY-MM'),\n          viewDate: month.clone(),\n          selectedDate: this.state.selectedDate,\n          workdays: workdays,\n          halfdays: halfdays,\n          holidays: holidays,\n          weekends: weekends,\n          holidayColor: holidayColor,\n          workdayColor: workdayColor,\n          halfworkdayColor: halfworkdayColor,\n          weekendColor: weekendColor,\n          lockeddayColor: lockeddayColor,\n          isPass: isPass,\n          onSelect: this.onSelect,\n          locale: locale,\n          effectiveDate: effectiveDate,\n          today: _today,\n          firstDayOfWeek: firstDayOfWeek\n        }));\n        month = month.add(1, 'months');\n      }\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _WorkCalendar2[\"default\"].body\n      }, views);\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props7 = this.props,\n        Grow = _this$props7.Grow,\n        Shrink = _this$props7.Shrink,\n        className = _this$props7.className,\n        style = _this$props7.style,\n        year = _this$props7.year,\n        readOnly = _this$props7.readOnly,\n        _this$props7$holidays = _this$props7.holidays,\n        holidays = _this$props7$holidays === void 0 ? [] : _this$props7$holidays,\n        _this$props7$workdays = _this$props7.workdays,\n        workdays = _this$props7$workdays === void 0 ? [] : _this$props7$workdays,\n        onClick = _this$props7.onClick,\n        isPass = _this$props7.isPass,\n        others = _objectWithoutProperties(_this$props7, _excluded);\n      className = (0, _classnames[\"default\"])(_defineProperty(_defineProperty({}, _WorkCalendar2[\"default\"].root, true), className, className), (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink\n      }));\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: className,\n        style: style,\n        onClick: onClick\n      }, this.renderViews());\n    }\n  }]);\n  return WorkCalendar;\n}(_react.Component);\nWorkCalendar.defaultProps = {\n  locale: 'zh_CN',\n  isOpenPanel: true\n};\nvar _default = exports[\"default\"] = WorkCalendar;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/WorkCalendar.jsx?");

/***/ }),

/***/ "./src/component/web/base/Address.less":
/*!*********************************************!*\
  !*** ./src/component/web/base/Address.less ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"address-container\":\"Address_address-container_eoyw\",\"text\":\"Address_text_GIkR\",\"icon\":\"Address_icon_1P6h\",\"item\":\"Address_item_3_My\",\"item-text\":\"Address_item-text_2Kve\",\"qs-list\":\"Address_qs-list_24G1\",\"qs-list-inner\":\"Address_qs-list-inner_eh3z\",\"item-container\":\"Address_item-container_28T1\",\"ad_no_data\":\"Address_ad_no_data_2agi\",\"nd\":\"Address_nd_2tj_\",\"nd_flag\":\"Address_nd_flag_Fkxq\",\"nd_text\":\"Address_nd_text_3JT0\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Address.less?");

/***/ }),

/***/ "./src/component/web/base/AdminDivision/AdminDivision.less":
/*!*****************************************************************!*\
  !*** ./src/component/web/base/AdminDivision/AdminDivision.less ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"address\":\"AdminDivision_address_l-b-\",\"address-div-default\":\"AdminDivision_address-div-default_3bpk\",\"right\":\"AdminDivision_right_B7oN\",\"address-div-flat\":\"AdminDivision_address-div-flat_5VzA\",\"address-select-click\":\"AdminDivision_address-select-click_20PI\",\"input-default\":\"AdminDivision_input-default_9drU\",\"input-flat\":\"AdminDivision_input-flat_1AsI\",\"country-input-lock\":\"AdminDivision_country-input-lock_3pnJ\",\"region-div\":\"AdminDivision_region-div_1QbW\",\"region-select\":\"AdminDivision_region-select_WRAO\",\"split-span\":\"AdminDivision_split-span_qQQn\",\"region-div-default\":\"AdminDivision_region-div-default_10jF\",\"region-div-flat\":\"AdminDivision_region-div-flat_BeF2\",\"left\":\"AdminDivision_left_1eLF\",\"region-input-wrapper\":\"AdminDivision_region-input-wrapper_15xq\",\"region-div-content\":\"AdminDivision_region-div-content_2TMI\",\"region-div-content-span-default\":\"AdminDivision_region-div-content-span-default_3Jja\",\"region-div-content-span-flat\":\"AdminDivision_region-div-content-span-flat_2MSq\",\"address-hover\":\"AdminDivision_address-hover_B4wa\",\"drop-down-div\":\"AdminDivision_drop-down-div_1s-U\",\"search-panel\":\"AdminDivision_search-panel_3Vb-\",\"search-input-div\":\"AdminDivision_search-input-div_1vhK\",\"search-input\":\"AdminDivision_search-input_1sYK\",\"no-data-tip-class\":\"AdminDivision_no-data-tip-class_2YTq\",\"no-result-li\":\"AdminDivision_no-result-li_UWqD\",\"drop-down-div-root\":\"AdminDivision_drop-down-div-root_3-D6\",\"drop-down-div-span\":\"AdminDivision_drop-down-div-span_2k5X\",\"address-select\":\"AdminDivision_address-select_3GuB\",\"select-no-data\":\"AdminDivision_select-no-data_2Ig0\",\"address-select-content\":\"AdminDivision_address-select-content_2kko\",\"province-content\":\"AdminDivision_province-content_3xhS\",\"next-admindivision-content\":\"AdminDivision_next-admindivision-content_4UFE\",\"province-content-item\":\"AdminDivision_province-content-item_ipBP\",\"next-admindivision-content-item\":\"AdminDivision_next-admindivision-content-item_nOIe\",\"cur\":\"AdminDivision_cur_2iXX\",\"tab-content\":\"AdminDivision_tab-content_3rBX\",\"no-data\":\"AdminDivision_no-data_27x4\",\"admindivision-input-div\":\"AdminDivision_admindivision-input-div_1KJh\",\"lock-with-no-value\":\"AdminDivision_lock-with-no-value_1_do\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/AdminDivision/AdminDivision.less?");

/***/ }),

/***/ "./src/component/web/base/AdvConToolbar.less":
/*!***************************************************!*\
  !*** ./src/component/web/base/AdvConToolbar.less ***!
  \***************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"advTollBar\":\"AdvConToolbar_advTollBar_1N7Q\",\"pos-relative\":\"AdvConToolbar_pos-relative_2gce\",\"toolbarItemGroup\":\"AdvConToolbar_toolbarItemGroup_2N9e\",\"no-lock\":\"AdvConToolbar_no-lock_3zxD\",\"toolbarItemSingle\":\"AdvConToolbar_toolbarItemSingle_2Dyl\",\"toolbarItemSet\":\"AdvConToolbar_toolbarItemSet_3S7o\",\"textType\":\"AdvConToolbar_textType_k4ve\",\"disable\":\"AdvConToolbar_disable_brc5\",\"toolbarItemSingle_cursor\":\"AdvConToolbar_toolbarItemSingle_cursor_4VRy\",\"textspan\":\"AdvConToolbar_textspan_1GFa\",\"toolbarItem\":\"AdvConToolbar_toolbarItem_GPY1\",\"disable-item\":\"AdvConToolbar_disable-item_7X8R\",\"downdiv\":\"AdvConToolbar_downdiv_zSf5\",\"add\":\"AdvConToolbar_add_11Ln\",\"add-icon\":\"AdvConToolbar_add-icon_285D\",\"toolbarItemPanel\":\"AdvConToolbar_toolbarItemPanel_3JzR\",\"list\":\"AdvConToolbar_list_t2fy\",\"dropdownItem\":\"AdvConToolbar_dropdownItem_3Vy4\",\"dropdownItemSpan\":\"AdvConToolbar_dropdownItemSpan_1xg5\",\"loading\":\"AdvConToolbar_loading_3j1f\",\"toolbarItemLoading\":\"AdvConToolbar_toolbarItemLoading_HaUI\",\"toolbarItemGroupLoading\":\"AdvConToolbar_toolbarItemGroupLoading_3TM5\",\"more-btn\":\"AdvConToolbar_more-btn_fWXZ\",\"div-placeholder\":\"AdvConToolbar_div-placeholder_2TEd\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/AdvConToolbar.less?");

/***/ }),

/***/ "./src/component/web/base/AnchorControl.less":
/*!***************************************************!*\
  !*** ./src/component/web/base/AnchorControl.less ***!
  \***************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"anchor\":\"AnchorControl_anchor_2FYc\",\"sticky-list\":\"AnchorControl_sticky-list_1nW2\",\"fixed-list\":\"AnchorControl_fixed-list_3G7H\",\"abosolute-list\":\"AnchorControl_abosolute-list_3QhV\",\"foldable-panel\":\"AnchorControl_foldable-panel_1Ehi\",\"anchor-line\":\"AnchorControl_anchor-line_1F81\",\"anchor-sign\":\"AnchorControl_anchor-sign_3l7H\",\"anchor-list\":\"AnchorControl_anchor-list_1T7t\",\"level1\":\"AnchorControl_level1_2ChZ\",\"title-link\":\"AnchorControl_title-link_QWIr\",\"title-selected\":\"AnchorControl_title-selected_1C6b\",\"level1-item\":\"AnchorControl_level1-item_2yf3\",\"level1-foldable\":\"AnchorControl_level1-foldable_3bre\",\"level2\":\"AnchorControl_level2_3FbE\",\"level2-item-top\":\"AnchorControl_level2-item-top_2Lyp\",\"level2-item\":\"AnchorControl_level2-item_k3QQ\",\"anchor-list-l\":\"AnchorControl_anchor-list-l_4xBn\",\"no-data\":\"AnchorControl_no-data_1SNv\",\"left-padding\":\"AnchorControl_left-padding_1Xlv\",\"title-c\":\"AnchorControl_title-c_3--w\",\"separetor\":\"AnchorControl_separetor_1lsm\",\"fold-icon\":\"AnchorControl_fold-icon_38Bz\",\"float-icon\":\"AnchorControl_float-icon_2d-_\",\"anchor_hl\":\"AnchorControl_anchor_hl_2Yq7\",\"glow\":\"AnchorControl_glow_e0AR\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/AnchorControl.less?");

/***/ }),

/***/ "./src/component/web/base/Attachment/style/attachment.less":
/*!*****************************************************************!*\
  !*** ./src/component/web/base/Attachment/style/attachment.less ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"attachmentPanel\":\"attachment_attachmentPanel_1Ccq\",\"horizontal-field\":\"attachment_horizontal-field_2ewI\",\"horizontal-field-border-box\":\"attachment_horizontal-field-border-box_1D1Y\",\"padding\":\"attachment_padding_3C8j\",\"upload-area\":\"attachment_upload-area_1-23\",\"upload-area-disabled\":\"attachment_upload-area-disabled_1GOj\",\"upload-tips\":\"attachment_upload-tips_2qzB\",\"card-tips\":\"attachment_card-tips_2L6j\",\"upload\":\"attachment_upload_3JLB\",\"upload-btn\":\"attachment_upload-btn_3GmG\",\"disabled\":\"attachment_disabled_2ptO\",\"expand-name\":\"attachment_expand-name_24Gr\",\"fieldupload\":\"attachment_fieldupload_3JbK\",\"btnbox\":\"attachment_btnbox_kDoo\",\"fieldbtn\":\"attachment_fieldbtn_27UY\",\"field-expand-name\":\"attachment_field-expand-name_q93I\",\"textcontent\":\"attachment_textcontent_2rbE\",\"download-btn\":\"attachment_download-btn_3DT8\",\"listbox\":\"attachment_listbox_mLqh\",\"filelist\":\"attachment_filelist_3voH\",\"imglist\":\"attachment_imglist_3cnk\",\"list\":\"attachment_list_jryL\",\"not-field\":\"attachment_not-field_1s3i\",\"uploadProperty\":\"attachment_uploadProperty_2sFy\",\"uploader\":\"attachment_uploader_1ljl\",\"uploadtime\":\"attachment_uploadtime_9xzZ\",\"remarkPanel\":\"attachment_remarkPanel_7H3-\",\"remark\":\"attachment_remark_1nI3\",\"disabledRemark\":\"attachment_disabledRemark_pizs\",\"remarkContent\":\"attachment_remarkContent_r8Zb\",\"list-item-alone\":\"attachment_list-item-alone_3hfj\",\"previewed\":\"attachment_previewed_3KDv\",\"list-item\":\"attachment_list-item_L0MI\",\"imgbox\":\"attachment_imgbox_3nxP\",\"icon-14\":\"attachment_icon-14_2lSf\",\"attach-icon\":\"attachment_attach-icon_ykqi\",\"space\":\"attachment_space_1Id3\",\"spaceName\":\"attachment_spaceName_2zLW\",\"spacebox\":\"attachment_spacebox_jTDf\",\"size-item\":\"attachment_size-item_X6DH\",\"error\":\"attachment_error_3S3b\",\"re-upload\":\"attachment_re-upload_Z2pa\",\"cancel\":\"attachment_cancel_2z8q\",\"delete-item\":\"attachment_delete-item_3jFN\",\"btn\":\"attachment_btn_WTZk\",\"list-view-item\":\"attachment_list-view-item_3AVH\",\"progress-bar\":\"attachment_progress-bar_1-ig\",\"markcontent\":\"attachment_markcontent_22N9\",\"inputField\":\"attachment_inputField_3wfV\",\"buttonBar\":\"attachment_buttonBar_Naz0\",\"close\":\"attachment_close_1RpW\",\"confirm\":\"attachment_confirm_pEGM\",\"btn-default\":\"attachment_btn-default_3AkF\",\"btn-cancel\":\"attachment_btn-cancel_3XX_\",\"tooltips-class\":\"attachment_tooltips-class_2bGI\",\"tooltips-rename\":\"attachment_tooltips-rename_2iq7\",\"messagebox\":\"attachment_messagebox_1pLx\",\"MessageMoveIn\":\"attachment_MessageMoveIn_24PD\",\"img-style\":\"attachment_img-style_3wGs\",\"messagetext\":\"attachment_messagetext_1cWu\",\"delImg-style\":\"attachment_delImg-style_2iv2\",\"titlebox\":\"attachment_titlebox_2--Y\",\"attachmentname\":\"attachment_attachmentname_14Ut\",\"attachmentnum\":\"attachment_attachmentnum_QT-M\",\"buttonsbox\":\"attachment_buttonsbox_2ckx\",\"actionbutton\":\"attachment_actionbutton_3iI1\",\"disabled-btn\":\"attachment_disabled-btn_3lfD\",\"deleteBut\":\"attachment_deleteBut_112P\",\"BanDelBut\":\"attachment_BanDelBut_2tBQ\",\"allowDelBut\":\"attachment_allowDelBut_2wYE\",\"pasteimgbox\":\"attachment_pasteimgbox_3dSU\",\"pastetext\":\"attachment_pastetext_19Ys\",\"pasteImg\":\"attachment_pasteImg_1Sgf\",\"required\":\"attachment_required_1jwm\",\"tooltip-input-container\":\"attachment_tooltip-input-container_3E95\",\"tooltip-input\":\"attachment_tooltip-input_6ZxI\",\"mt-0\":\"attachment_mt-0_RRdO\",\"horizontal-attachment-container\":\"attachment_horizontal-attachment-container_1xlu\",\"align-center\":\"attachment_align-center_1C60\",\"title-container\":\"attachment_title-container_3lml\",\"title\":\"attachment_title_2tZ7\",\"content-container\":\"attachment_content-container_2xMv\",\"content-with-max-width\":\"attachment_content-with-max-width_yc91\",\"upload-title\":\"attachment_upload-title_2tAP\",\"pointer\":\"attachment_pointer_D9eZ\",\"btn-container\":\"attachment_btn-container_1EZg\",\"noPreview\":\"attachment_noPreview_JQep\",\"in-drag-item\":\"attachment_in-drag-item_1OZt\",\"clone-drag-item\":\"attachment_clone-drag-item_2ycH\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Attachment/style/attachment.less?");

/***/ }),

/***/ "./src/component/web/base/Attachment/style/attachmentImgItem.less":
/*!************************************************************************!*\
  !*** ./src/component/web/base/Attachment/style/attachmentImgItem.less ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"imgcontainer\":\"attachmentImgItem_imgcontainer_3VY8\",\"imgitem\":\"attachmentImgItem_imgitem_2tkK\",\"statusbox\":\"attachmentImgItem_statusbox_g7jh\",\"uploadingImg\":\"attachmentImgItem_uploadingImg_1ehk\",\"errorImg\":\"attachmentImgItem_errorImg_N9Iq\",\"errorborder\":\"attachmentImgItem_errorborder_1QzR\",\"unabledToPreview\":\"attachmentImgItem_unabledToPreview_3MS8\",\"uploadingborder\":\"attachmentImgItem_uploadingborder_2LuZ\",\"notShowPreview\":\"attachmentImgItem_notShowPreview_1OSg\",\"imgName\":\"attachmentImgItem_imgName_2zGY\",\"previewed\":\"attachmentImgItem_previewed_1uL5\",\"name\":\"attachmentImgItem_name_1ssq\",\"imgbuttonsbox\":\"attachmentImgItem_imgbuttonsbox_3Jsv\",\"imgactionbutton\":\"attachmentImgItem_imgactionbutton_2lFh\",\"BanDelBut\":\"attachmentImgItem_BanDelBut_3m3-\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Attachment/style/attachmentImgItem.less?");

/***/ }),

/***/ "./src/component/web/base/BaseComponents/Radio.less":
/*!**********************************************************!*\
  !*** ./src/component/web/base/BaseComponents/Radio.less ***!
  \**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"radio-opt\":\"Radio_radio-opt_3_e5\",\"radio-group-layout\":\"Radio_radio-group-layout_39lN\",\"radio-group-wrap\":\"Radio_radio-group-wrap_2zbN\",\"radio\":\"Radio_radio_2xDG\",\"radio-square\":\"Radio_radio-square_J8KE\",\"label-width\":\"Radio_label-width_3X_P\",\"label-align\":\"Radio_label-align_FY8D\",\"radio-square-label\":\"Radio_radio-square-label_3mu-\",\"checked-square\":\"Radio_checked-square_2vFm\",\"radio-default\":\"Radio_radio-default_NSF-\",\"radio-readonly\":\"Radio_radio-readonly_1Z_e\",\"focus-square-radio\":\"Radio_focus-square-radio_2bZv\",\"focus-default-radio\":\"Radio_focus-default-radio_5nC-\",\"focus-radio-on-font\":\"Radio_focus-radio-on-font_1Gyw\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/BaseComponents/Radio.less?");

/***/ }),

/***/ "./src/component/web/base/BaseComponents/style.less":
/*!**********************************************************!*\
  !*** ./src/component/web/base/BaseComponents/style.less ***!
  \**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"hidden\":\"style_hidden_2Mn3\",\"inputbox\":\"style_inputbox_2xKy\",\"close\":\"style_close_2a9A\",\"close-padding\":\"style_close-padding_1qQr\",\"close-padding-lock\":\"style_close-padding-lock_b-GZ\",\"link-content\":\"style_link-content_6sFX\",\"input\":\"style_input_fP5z\",\"textarea\":\"style_textarea_2QP5\",\"input-flat\":\"style_input-flat_2be-\",\"disabled\":\"style_disabled_18t5\",\"input-default\":\"style_input-default_Vd99\",\"placeholder-control\":\"style_placeholder-control_1WfW\",\"card-row-panel\":\"style_card-row-panel_aenb\",\"card-row-panel-content\":\"style_card-row-panel-content_THH3\",\"empty-card-row-panel\":\"style_empty-card-row-panel_1hRK\",\"textBox\":\"style_textBox_2VfC\",\"panelHover\":\"style_panelHover_QURG\",\"pointer\":\"style_pointer_16OV\",\"triangle\":\"style_triangle_3cJW\",\"selectstyel1\":\"style_selectstyel1_2NPR\",\"label\":\"style_label_3e-x\",\"btn\":\"style_btn_22Q0\",\"btn-icon\":\"style_btn-icon_3_Wm\",\"icon\":\"style_icon_n871\",\"btn-default\":\"style_btn-default_131-\",\"has-min-width\":\"style_has-min-width_1WWc\",\"min-width\":\"style_min-width_rBVd\",\"masker\":\"style_masker_3N_f\",\"btn-text\":\"style_btn-text_2-qK\",\"btn-border\":\"style_btn-border_3yMH\",\"btn-upimgdowntxt\":\"style_btn-upimgdowntxt_2PEI\",\"img-upimgdowntxt\":\"style_img-upimgdowntxt_21Me\",\"btn-img\":\"style_btn-img_1wfu\",\"is-icon\":\"style_is-icon_3oHe\",\"loading\":\"style_loading_jpgC\",\"buttonLoading\":\"style_buttonLoading_fIgr\",\"btn-leftimgrighttxt\":\"style_btn-leftimgrighttxt_j_wJ\",\"img-leftimgrighttxt\":\"style_img-leftimgrighttxt_3fTh\",\"text-upimgdowntxt\":\"style_text-upimgdowntxt_2oI6\",\"text-leftimgrighttxt\":\"style_text-leftimgrighttxt_1RGa\",\"btn-text-overflow\":\"style_btn-text-overflow_2Joc\",\"checkbox\":\"style_checkbox_rkD3\",\"checkbox-check\":\"style_checkbox-check_2nKk\",\"checkboxBtn\":\"style_checkboxBtn_3qLs\",\"is-grid-no-label\":\"style_is-grid-no-label_YLjz\",\"ie-font\":\"style_ie-font_2Q1w\",\"checkbox1\":\"style_checkbox1_3SAO\",\"ck1-label\":\"style_ck1-label_lfbN\",\"checked\":\"style_checked_1rB0\",\"checkbox2\":\"style_checkbox2_3TsO\",\"switchBtn\":\"style_switchBtn_1tgQ\",\"switchOpen\":\"style_switchOpen_1_0j\",\"select\":\"style_select_3MGC\",\"image\":\"style_image_2U8H\",\"imgCursor\":\"style_imgCursor_1D1r\",\"hyperlink\":\"style_hyperlink_3Dno\",\"underline\":\"style_underline_1Jlf\",\"input-number-div\":\"style_input-number-div_2nVd\",\"symbol-class\":\"style_symbol-class_3iSn\",\"input-p\":\"style_input-p_3-6i\",\"checkbox-disabled\":\"style_checkbox-disabled_1mlo\",\"tag-checkbox\":\"style_tag-checkbox_2w5o\",\"svg-json-div\":\"style_svg-json-div_37-V\",\"mul-text\":\"style_mul-text_1KAN\",\"text-mark\":\"style_text-mark_3HUS\",\"over-length\":\"style_over-length_1KG2\",\"flex-field\":\"style_flex-field_3125\",\"dropdown\":\"style_dropdown_NyTj\",\"dropdown-item\":\"style_dropdown-item_2ToC\",\"field-disabled-no-value-color\":\"style_field-disabled-no-value-color_9gFM\",\"loadingType2\":\"style_loadingType2_2iSt\",\"containerMask\":\"style_containerMask_2sil\",\"imgContainer\":\"style_imgContainer_1ckE\",\"imgLoading\":\"style_imgLoading_2Qfr\",\"movinLoading\":\"style_movinLoading_1Jlh\",\"textLoading\":\"style_textLoading_-I0M\",\"maskLoading\":\"style_maskLoading_2_xY\",\"changeOpactity\":\"style_changeOpactity_3v5m\",\"btn-masker\":\"style_btn-masker_3loF\",\"btn-disabled\":\"style_btn-disabled_G-cd\",\"email-wrap\":\"style_email-wrap_1gAP\",\"showEditButton\":\"style_showEditButton_1PvC\",\"checkbox-content\":\"style_checkbox-content_1Cot\",\"text-wrap\":\"style_text-wrap_1CBh\",\"pr18\":\"style_pr18_vje6\",\"eye-icon\":\"style_eye-icon_d-sl\",\"show\":\"style_show_1Gs0\",\"tipsContainer\":\"style_tipsContainer_31NA\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/BaseComponents/style.less?");

/***/ }),

/***/ "./src/component/web/base/BaseData/index.less":
/*!****************************************************!*\
  !*** ./src/component/web/base/BaseData/index.less ***!
  \****************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"base-data\":\"index_base-data_3K7u\",\"base-data-contentArea\":\"index_base-data-contentArea_1yUr\",\"base-data-text\":\"index_base-data-text_14RZ\",\"single\":\"index_single_CAzR\",\"base-data-iconArea\":\"index_base-data-iconArea_sesB\",\"icon\":\"index_icon_fPTc\",\"icon-view-detail\":\"index_icon-view-detail_39Mh\",\"h-icon\":\"index_h-icon_BWvS\",\"icon-positon-viewdetail\":\"index_icon-positon-viewdetail_3BPn\",\"icon-keep-pos-viewdetail\":\"index_icon-keep-pos-viewdetail_1aTr\",\"icon-no-icon\":\"index_icon-no-icon_zRoo\",\"icon-select-model\":\"index_icon-select-model_3m6y\",\"qs-list\":\"index_qs-list_3PBk\",\"dl-more\":\"index_dl-more_31Mg\",\"qs-list-inner\":\"index_qs-list-inner_2uaf\",\"frequent-list-inner\":\"index_frequent-list-inner_dZwA\",\"qs-list-select\":\"index_qs-list-select_1Dz8\",\"qs-list-select-has-data\":\"index_qs-list-select-has-data_21HM\",\"qs-list-frequent-panel\":\"index_qs-list-frequent-panel_3dXP\",\"hide\":\"index_hide_3sZ4\",\"item\":\"index_item_1AUU\",\"item-selected\":\"index_item-selected_2FjL\",\"item-top\":\"index_item-top_1NWq\",\"item-text\":\"index_item-text_2-Js\",\"item-t-pos\":\"index_item-t-pos_1y39\",\"item-t-onetitle\":\"index_item-t-onetitle_2cbe\",\"item-t-onedata\":\"index_item-t-onedata_3Hhm\",\"item-t-data\":\"index_item-t-data_3uey\",\"item-t-ani\":\"index_item-t-ani_JKZy\",\"item-t-selectmodel\":\"index_item-t-selectmodel_1fYx\",\"item-t-aditional\":\"index_item-t-aditional_10sw\",\"bottomMenu\":\"index_bottomMenu_1r9x\",\"hidden\":\"index_hidden_2Gf1\",\"droplist\":\"index_droplist_2yY9\",\"dl-pipei\":\"index_dl-pipei_26_z\",\"dl-cm\":\"index_dl-cm_2t98\",\"dl-title\":\"index_dl-title_2apG\",\"dl-count\":\"index_dl-count_1UDD\",\"disable\":\"index_disable_29CE\",\"dl-more-item\":\"index_dl-more-item_2NUQ\",\"item-first\":\"index_item-first_2sAM\",\"myfrequent-title\":\"index_myfrequent-title_20vH\",\"item-container\":\"index_item-container_2gVA\",\"checkboxitem\":\"index_checkboxitem_2GpB\",\"checkbox-code\":\"index_checkbox-code_2t2Y\",\"checkbox-name\":\"index_checkbox-name_bnYS\",\"kd-checkbox-default-wrapper\":\"index_kd-checkbox-default-wrapper_F-hP\",\"item-content-center\":\"index_item-content-center_Jycz\",\"qs-list-enumcontainer\":\"index_qs-list-enumcontainer_3Nlh\",\"item-container-enum\":\"index_item-container-enum_1f_m\",\"enum-list\":\"index_enum-list_2hJd\",\"enumitem\":\"index_enumitem_2alf\",\"flat-flex-align-items\":\"index_flat-flex-align-items_2EC9\",\"v-content\":\"index_v-content_2zjA\",\"text-input-margin-right\":\"index_text-input-margin-right_11vN\",\"input-select-model\":\"index_input-select-model_3ySP\",\"select-icon-default\":\"index_select-icon-default_2Qjq\",\"select-icon-flat\":\"index_select-icon-flat_2UKL\",\"select-icon-inverse\":\"index_select-icon-inverse_vdWN\",\"select-icon\":\"index_select-icon_HC9T\",\"f7_no_data\":\"index_f7_no_data_29BN\",\"nd_flag\":\"index_nd_flag_2rei\",\"nd_text\":\"index_nd_text_eUEf\",\"nd_add_btn\":\"index_nd_add_btn_3IGs\",\"no_data_select\":\"index_no_data_select_1_ux\",\"nd_text_select\":\"index_nd_text_select_2GEt\",\"nd_add_btn_select\":\"index_nd_add_btn_select_3qv6\",\"base-labelStyle\":\"index_base-labelStyle_WXL1\",\"base-selected-alia\":\"index_base-selected-alia_1wo_\",\"base-selected-alia-text\":\"index_base-selected-alia-text_3ctK\",\"base-alia-clearIcon\":\"index_base-alia-clearIcon_3BSr\",\"base-first-tag\":\"index_base-first-tag_2neB\",\"base-total-tag\":\"index_base-total-tag_1lwX\",\"base-labelStyle-input\":\"index_base-labelStyle-input_oqJ3\",\"no-wrap\":\"index_no-wrap_2Tth\",\"input-mirror\":\"index_input-mirror_3U0l\",\"base-labelStyle-editMode\":\"index_base-labelStyle-editMode_1Seg\",\"base-noneBorder\":\"index_base-noneBorder_c46x\",\"btn-edit-mode\":\"index_btn-edit-mode_VD2t\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/BaseData/index.less?");

/***/ }),

/***/ "./src/component/web/base/BillList.less":
/*!**********************************************!*\
  !*** ./src/component/web/base/BillList.less ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"bill-list\":\"BillList_bill-list_xXUD\",\"toolbar\":\"BillList_toolbar_31FP\",\"toolbar-float\":\"BillList_toolbar-float_1ujt\",\"tb-f-down\":\"BillList_tb-f-down_1fo6\",\"list\":\"BillList_list_3zWc\",\"l-visible\":\"BillList_l-visible_34fq\",\"page-nav\":\"BillList_page-nav_2_du\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/BillList.less?");

/***/ }),

/***/ "./src/component/web/base/Carousel.less":
/*!**********************************************!*\
  !*** ./src/component/web/base/Carousel.less ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"carousel\":\"Carousel_carousel_2qwx\",\"slider\":\"Carousel_slider_jqKN\",\"items\":\"Carousel_items_1URH\",\"flex-column\":\"Carousel_flex-column_vrPU\",\"slider-item\":\"Carousel_slider-item_seXm\",\"arrow\":\"Carousel_arrow_1YtU\",\"arrow-left\":\"Carousel_arrow-left_17gv\",\"arrow-right\":\"Carousel_arrow-right_k6Qx\",\"slider-bar\":\"Carousel_slider-bar_2OUu\",\"slider-dot\":\"Carousel_slider-dot_pgat\",\"cur-dot\":\"Carousel_cur-dot_J5gl\",\"slider-dot-mb\":\"Carousel_slider-dot-mb_1Gcq\",\"slider-bar-bottom\":\"Carousel_slider-bar-bottom_2VDa\",\"slider-bar-right\":\"Carousel_slider-bar-right_3N-U\",\"scroll-bar\":\"Carousel_scroll-bar_26Np\",\"scroll-dot\":\"Carousel_scroll-dot_12p3\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Carousel.less?");

/***/ }),

/***/ "./src/component/web/base/Cascader.less":
/*!**********************************************!*\
  !*** ./src/component/web/base/Cascader.less ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"select\":\"Cascader_select_OGBf\",\"plaseholder\":\"Cascader_plaseholder_TZTy\",\"value-container\":\"Cascader_value-container_3GdI\",\"value-item\":\"Cascader_value-item_1bEY\",\"text\":\"Cascader_text_16Ip\",\"close\":\"Cascader_close_KaYW\",\"select-icon\":\"Cascader_select-icon_1MvS\",\"select-icon-inverse\":\"Cascader_select-icon-inverse_lyEQ\",\"list-container\":\"Cascader_list-container_kHp2\",\"nonePanel\":\"Cascader_nonePanel_FYeB\",\"noneimg\":\"Cascader_noneimg_ZOtP\",\"panel-list-animation\":\"Cascader_panel-list-animation_1c6n\",\"panel-list\":\"Cascader_panel-list_6bjV\",\"list\":\"Cascader_list_1U0i\",\"item\":\"Cascader_item_35gp\",\"optin_lock\":\"Cascader_optin_lock_2qp5\",\"selected\":\"Cascader_selected_3aHn\",\"icon\":\"Cascader_icon_2l5V\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Cascader.less?");

/***/ }),

/***/ "./src/component/web/base/CheckBoxGroup.less":
/*!***************************************************!*\
  !*** ./src/component/web/base/CheckBoxGroup.less ***!
  \***************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"text-ellipsis\":\"CheckBoxGroup_text-ellipsis_1-La\",\"checkbox-wrapper\":\"CheckBoxGroup_checkbox-wrapper_3rla\",\"checkbox-item\":\"CheckBoxGroup_checkbox-item_21bC\",\"horizontal\":\"CheckBoxGroup_horizontal_3cDu\",\"vertical\":\"CheckBoxGroup_vertical_KzQY\",\"square-wrapper\":\"CheckBoxGroup_square-wrapper_DXAm\",\"square-item\":\"CheckBoxGroup_square-item_2umg\",\"square-block\":\"CheckBoxGroup_square-block_3Rcz\",\"square-checked\":\"CheckBoxGroup_square-checked_1X7-\",\"ckecked-icon\":\"CheckBoxGroup_ckecked-icon_3EMz\",\"disabled\":\"CheckBoxGroup_disabled_1UAx\",\"focus\":\"CheckBoxGroup_focus_3jXV\",\"square-text\":\"CheckBoxGroup_square-text_1LWX\",\"readonly-block\":\"CheckBoxGroup_readonly-block_2npE\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/CheckBoxGroup.less?");

/***/ }),

/***/ "./src/component/web/base/City/City.less":
/*!***********************************************!*\
  !*** ./src/component/web/base/City/City.less ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"arrow-move-in-animation\":\"City_arrow-move-in-animation_36bW\",\"arrow-move-out-animation\":\"City_arrow-move-out-animation_3nhr\",\"panel-drop-down-animation\":\"City_panel-drop-down-animation_18Nd\",\"panel-drop-down\":\"City_panel-drop-down_3fSd\",\"input-div\":\"City_input-div_1_5f\",\"input-class\":\"City_input-class_38PQ\",\"input-additionInfo\":\"City_input-additionInfo_x8Vn\",\"font-size-default\":\"City_font-size-default_3lxJ\",\"font-size-flat\":\"City_font-size-flat_dUbb\",\"input-img-span\":\"City_input-img-span_2u-I\",\"city-select-root\":\"City_city-select-root_1ckn\",\"city-panel\":\"City_city-panel_3r1U\",\"title-list-div\":\"City_title-list-div_37DX\",\"title-tab-div\":\"City_title-tab-div_7wBQ\",\"title-tab-div-a\":\"City_title-tab-div-a_33G8\",\"title-tab-div-a-current\":\"City_title-tab-div-a-current_1XuX\",\"title-tab-div-current\":\"City_title-tab-div-current_2Cch\",\"city-div\":\"City_city-div_1A0H\",\"city-div-loadMore\":\"City_city-div-loadMore_2V3J\",\"city-name-dl\":\"City_city-name-dl_27nS\",\"city-name-dt\":\"City_city-name-dt_1o9P\",\"city-name-dd\":\"City_city-name-dd_pBEi\",\"city-name-dd-often\":\"City_city-name-dd-often_3790\",\"city-name-dd-a\":\"City_city-name-dd-a_AhsL\",\"city-name-dd-a-last\":\"City_city-name-dd-a-last_1mEp\",\"city-name-dd-a-often\":\"City_city-name-dd-a-often_1Ntz\",\"no-data-tip-class\":\"City_no-data-tip-class_3nDY\",\"no-data-tip-panel\":\"City_no-data-tip-panel_2hZ-\",\"select-no-data\":\"City_select-no-data_31aW\",\"select-loading\":\"City_select-loading_1jfX\",\"select-loading-higher\":\"City_select-loading-higher_1FEF\",\"search-panel\":\"City_search-panel_2I0g\",\"search-no-data\":\"City_search-no-data_qWHO\",\"search-tabarea\":\"City_search-tabarea_2fzU\",\"search-ul\":\"City_search-ul_1Q12\",\"search-li\":\"City_search-li_nToL\",\"search-failed\":\"City_search-failed_3D-o\",\"search-word\":\"City_search-word_1CNI\",\"search-li-additionInfo\":\"City_search-li-additionInfo_2ayZ\",\"search-li-span\":\"City_search-li-span_1L-q\",\"base-trapezoid\":\"City_base-trapezoid_1R_0\",\"right-trapezoid\":\"City_right-trapezoid_3xAf\",\"right-trapezoid-active\":\"City_right-trapezoid-active_2U5q\",\"trapezoid\":\"City_trapezoid_2Dqi\",\"content-overflow\":\"City_content-overflow_ZM5Y\",\"trapezoid-active\":\"City_trapezoid-active_2gKM\",\"tab-div\":\"City_tab-div_3dhy\",\"tab-div-item\":\"City_tab-div-item_3VPZ\",\"tab-active-z-index\":\"City_tab-active-z-index_6gi1\",\"search-loading\":\"City_search-loading_3O-s\",\"lock-with-no-value\":\"City_lock-with-no-value_2J7_\",\"arrow-move-in\":\"City_arrow-move-in_1-u3\",\"arrow-move-out\":\"City_arrow-move-out_1y5y\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/City/City.less?");

/***/ }),

/***/ "./src/component/web/base/CodeEdit/CodeEdit.less":
/*!*******************************************************!*\
  !*** ./src/component/web/base/CodeEdit/CodeEdit.less ***!
  \*******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"ReactCodeMirror\":\"CodeEdit_ReactCodeMirror_2cRF\",\"copyBox\":\"CodeEdit_copyBox_2vo4\",\"copyIcon\":\"CodeEdit_copyIcon_18ak\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/CodeEdit/CodeEdit.less?");

/***/ }),

/***/ "./src/component/web/base/Column.css":
/*!*******************************************!*\
  !*** ./src/component/web/base/Column.css ***!
  \*******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"root\":\"Column_root_G5IO\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Column.css?");

/***/ }),

/***/ "./src/component/web/base/ColumnPanel.css":
/*!************************************************!*\
  !*** ./src/component/web/base/ColumnPanel.css ***!
  \************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"root\":\"ColumnPanel_root_sShn\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/ColumnPanel.css?");

/***/ }),

/***/ "./src/component/web/base/Cropper/cropper.less":
/*!*****************************************************!*\
  !*** ./src/component/web/base/Cropper/cropper.less ***!
  \*****************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"cropper-container\":\"cropper_cropper-container_2lTT\",\"cropper-wrap\":\"cropper_cropper-wrap_3j5B\",\"cropper-wrap-box\":\"cropper_cropper-wrap-box_2oH8\",\"cropper-canvas\":\"cropper_cropper-canvas_1EK-\",\"cropper-modal\":\"cropper_cropper-modal_hUr8\",\"cropper-crop-box\":\"cropper_cropper-crop-box_2Z6V\",\"cropper-view-box\":\"cropper_cropper-view-box_2MT_\",\"cropper-dashed\":\"cropper_cropper-dashed_gvla\",\"cropper-dashed-v\":\"cropper_cropper-dashed-v_2mFf\",\"cropper-dashed-h\":\"cropper_cropper-dashed-h_5XP0\",\"cropper-center\":\"cropper_cropper-center_XFmA\",\"cropper-face\":\"cropper_cropper-face_1TqB\",\"cropper-move\":\"cropper_cropper-move_2wUv\",\"cropper-line\":\"cropper_cropper-line_Jw9-\",\"cropper-line-e\":\"cropper_cropper-line-e_HfsN\",\"cropper-line-s\":\"cropper_cropper-line-s_hK8S\",\"cropper-line-w\":\"cropper_cropper-line-w_1t9r\",\"cropper-line-n\":\"cropper_cropper-line-n_niHh\",\"cropper-point\":\"cropper_cropper-point_32v9\",\"cropper-point-e\":\"cropper_cropper-point-e_1MV2\",\"cropper-point-s\":\"cropper_cropper-point-s_1xpg\",\"cropper-point-w\":\"cropper_cropper-point-w_29YK\",\"cropper-point-n\":\"cropper_cropper-point-n_1bJW\",\"cropper-point-ne\":\"cropper_cropper-point-ne_ElBb\",\"cropper-point-se\":\"cropper_cropper-point-se_3Iye\",\"cropper-point-nw\":\"cropper_cropper-point-nw_1wdz\",\"cropper-point-sw\":\"cropper_cropper-point-sw_WOfz\",\"picture-operation-wrap\":\"cropper_picture-operation-wrap_2Xji\",\"picture-operation-box\":\"cropper_picture-operation-box_1EK-\",\"confirm-crop\":\"cropper_confirm-crop_2p6z\",\"picture-operation-img\":\"cropper_picture-operation-img_3UCh\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Cropper/cropper.less?");

/***/ }),

/***/ "./src/component/web/base/DatePicker.less":
/*!************************************************!*\
  !*** ./src/component/web/base/DatePicker.less ***!
  \************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"icon\":\"DatePicker_icon_1BEx\",\"input\":\"DatePicker_input_13jg\",\"close\":\"DatePicker_close_2MQm\",\"pr-18\":\"DatePicker_pr-18_2P2u\",\"pr-36\":\"DatePicker_pr-36_2LAT\",\"input-default\":\"DatePicker_input-default_2SWE\",\"input-flat\":\"DatePicker_input-flat_2EpF\",\"input-strech-flat\":\"DatePicker_input-strech-flat_1H8l\",\"utc\":\"DatePicker_utc_b5Pn\",\"utcD\":\"DatePicker_utcD_2Jzy\",\"lock-with-no-value\":\"DatePicker_lock-with-no-value_3jdv\",\"loading-container\":\"DatePicker_loading-container_1Aw_\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DatePicker.less?");

/***/ }),

/***/ "./src/component/web/base/DateRangePicker.less":
/*!*****************************************************!*\
  !*** ./src/component/web/base/DateRangePicker.less ***!
  \*****************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"arrow-move-in-animation\":\"DateRangePicker_arrow-move-in-animation_WiIB\",\"arrow-move-out-animation\":\"DateRangePicker_arrow-move-out-animation_16_i\",\"panel-drop-down-animation\":\"DateRangePicker_panel-drop-down-animation_3237\",\"panel-drop-down\":\"DateRangePicker_panel-drop-down_1Fa6\",\"panel\":\"DateRangePicker_panel_105O\",\"container\":\"DateRangePicker_container_2mr-\",\"datetime-container\":\"DateRangePicker_datetime-container_1v4C\",\"datetime-left\":\"DateRangePicker_datetime-left_gt1C\",\"datetime-right\":\"DateRangePicker_datetime-right_3vEj\",\"datetime-detail\":\"DateRangePicker_datetime-detail_o9nM\",\"icon\":\"DateRangePicker_icon_wQuq\",\"icon-nocursor\":\"DateRangePicker_icon-nocursor_31aw\",\"range-container\":\"DateRangePicker_range-container_2N5l\",\"date-time-range-container\":\"DateRangePicker_date-time-range-container_10Z6\",\"input-container\":\"DateRangePicker_input-container_WWLu\",\"start-input\":\"DateRangePicker_start-input_2flc\",\"end-input\":\"DateRangePicker_end-input_2D5k\",\"date-range-joiner\":\"DateRangePicker_date-range-joiner_-__N\",\"close\":\"DateRangePicker_close_3L-8\",\"left-mask\":\"DateRangePicker_left-mask_1iUm\",\"right-mask\":\"DateRangePicker_right-mask_1LGy\",\"dividing-line\":\"DateRangePicker_dividing-line_2Ot8\",\"inner-input\":\"DateRangePicker_inner-input_1Zb_\",\"lock-with-no-value\":\"DateRangePicker_lock-with-no-value_kxne\",\"arrow-move-in\":\"DateRangePicker_arrow-move-in_9SGG\",\"arrow-move-out\":\"DateRangePicker_arrow-move-out_3WlT\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateRangePicker.less?");

/***/ }),

/***/ "./src/component/web/base/DateTimePicker/styles/index.less":
/*!*****************************************************************!*\
  !*** ./src/component/web/base/DateTimePicker/styles/index.less ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"transfrom-list\":\"index_transfrom-list_1u39\",\"fadedown\":\"index_fadedown_2Q0f\",\"datetime-year-panel\":\"index_datetime-year-panel_vgIr\",\"disabled\":\"index_disabled_2nOr\",\"datetime-year-panel-item-inner\":\"index_datetime-year-panel-item-inner_KfCY\",\"datetime-year-panel-item-last\":\"index_datetime-year-panel-item-last_l8gd\",\"datetime-year-panel-item-next\":\"index_datetime-year-panel-item-next_2H7R\",\"datetime-year-panel-item-active\":\"index_datetime-year-panel-item-active_1QwD\",\"datetime-year-panel-item-disabled\":\"index_datetime-year-panel-item-disabled_1OeN\",\"datetime-month-panel\":\"index_datetime-month-panel_AZc-\",\"datetime-month-panel-item-inner\":\"index_datetime-month-panel-item-inner_3bL1\",\"datetime-month-panel-item-last\":\"index_datetime-month-panel-item-last_2-Yo\",\"datetime-month-panel-item-next\":\"index_datetime-month-panel-item-next_2ZMM\",\"datetime-month-panel-item-active\":\"index_datetime-month-panel-item-active_1jUN\",\"datetime-month-panel-item-disabled\":\"index_datetime-month-panel-item-disabled_x2Rq\",\"calendar-picker\":\"index_calendar-picker_67au\",\"calendar\":\"index_calendar_1SlW\",\"calendar-datarange-part\":\"index_calendar-datarange-part_1BJ6\",\"calendar-panel\":\"index_calendar-panel_1DjU\",\"calendar-month-panel\":\"index_calendar-month-panel_3D1Q\",\"calendar-year-panel\":\"index_calendar-year-panel_3JBh\",\"calendar-content\":\"index_calendar-content_1YwK\",\"calendar-date-panel\":\"index_calendar-date-panel_1pwa\",\"calendar-table\":\"index_calendar-table_1pHe\",\"calendar-thead\":\"index_calendar-thead_20sM\",\"calendar-tbody\":\"index_calendar-tbody_48F0\",\"calendar-date-item\":\"index_calendar-date-item_1mkD\",\"calendar-date-cell\":\"index_calendar-date-cell_3an0\",\"calendar-date-cell-in-view\":\"index_calendar-date-cell-in-view_3koU\",\"calendar-date-cell-inner\":\"index_calendar-date-cell-inner_bGqv\",\"calendar-date-cell-hover\":\"index_calendar-date-cell-hover_1qyT\",\"calendar-date-item-active\":\"index_calendar-date-item-active_3MEh\",\"calendar-date-item-today\":\"index_calendar-date-item-today_NnlP\",\"calendar-date-item-next\":\"index_calendar-date-item-next_2u7L\",\"calendar-date-item-prev\":\"index_calendar-date-item-prev_81QR\",\"calendar-time-panel\":\"index_calendar-time-panel_19gI\",\"calendar-time-panel-disabled\":\"index_calendar-time-panel-disabled_1Exg\",\"calendar-month-head\":\"index_calendar-month-head_1Oe4\",\"calendar-month-head-month\":\"index_calendar-month-head-month_1GvJ\",\"calendar-month-content\":\"index_calendar-month-content_1krx\",\"column-select\":\"index_column-select_34RF\",\"calendar-time\":\"index_calendar-time_T1Ct\",\"calendar-time-select\":\"index_calendar-time-select_3Z5i\",\"calendar-daterange\":\"index_calendar-daterange_2-Ic\",\"calendar-disable\":\"index_calendar-disable_38pX\",\"calendar-header\":\"index_calendar-header_Esip\",\"calendar-header-prev\":\"index_calendar-header-prev_3gd7\",\"calendar-header-next\":\"index_calendar-header-next_-Pc_\",\"calendar-header-super-prev\":\"index_calendar-header-super-prev_1gYw\",\"calendar-header-super-next\":\"index_calendar-header-super-next_1-xV\",\"calendar-header-now\":\"index_calendar-header-now_1wRR\",\"calendar-header-title-container\":\"index_calendar-header-title-container_qhnL\",\"calendar-header-title\":\"index_calendar-header-title_1rbU\",\"showNow\":\"index_showNow_1ITW\",\"year-header\":\"index_year-header_yvyY\",\"btn-disabled\":\"index_btn-disabled_1R5-\",\"calendar-footer\":\"index_calendar-footer_aE2v\",\"calendar-ok-btn\":\"index_calendar-ok-btn_1RXI\",\"calendar-timepicker-btn\":\"index_calendar-timepicker-btn_3qFJ\",\"date-input\":\"index_date-input_1xzk\",\"date-input-clear\":\"index_date-input-clear_fftk\",\"time-head\":\"index_time-head_2dYa\",\"time-title\":\"index_time-title_3fhf\",\"colons\":\"index_colons_2SwU\",\"overlay\":\"index_overlay_-9wB\",\"auto\":\"index_auto_24oR\",\"first-border\":\"index_first-border_1WjT\",\"second-border\":\"index_second-border_2mWV\",\"time-second\":\"index_time-second_1UUp\",\"calendar-container\":\"index_calendar-container_2TLU\",\"panel-drop-down\":\"index_panel-drop-down_23VI\",\"calendar-datarange\":\"index_calendar-datarange_35l5\",\"calendar-datarange-separator\":\"index_calendar-datarange-separator_3PZw\",\"calendar-month-range-separator\":\"index_calendar-month-range-separator_3skb\",\"calendar-datarange-count\":\"index_calendar-datarange-count_1wum\",\"calendar-datarange-custom\":\"index_calendar-datarange-custom_1rw9\",\"calendar-datarange-custom-item\":\"index_calendar-datarange-custom-item_2647\",\"arrow-move-in-animation\":\"index_arrow-move-in-animation_3vPW\",\"arrow-move-out-animation\":\"index_arrow-move-out-animation_2giF\",\"panel-drop-down-animation\":\"index_panel-drop-down-animation_2CpF\",\"time-column-list-item-disabled\":\"index_time-column-list-item-disabled_3Jwl\",\"fadeup\":\"index_fadeup_OiS8\",\"arrow-move-in\":\"index_arrow-move-in_CvXK\",\"arrow-move-out\":\"index_arrow-move-out_2JqC\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/DateTimePicker/styles/index.less?");

/***/ }),

/***/ "./src/component/web/base/Empty.less":
/*!*******************************************!*\
  !*** ./src/component/web/base/Empty.less ***!
  \*******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"empty\":\"Empty_empty_sxmg\",\"empty-description\":\"Empty_empty-description_1_Gm\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Empty.less?");

/***/ }),

/***/ "./src/component/web/base/F7SelectedList.less":
/*!****************************************************!*\
  !*** ./src/component/web/base/F7SelectedList.less ***!
  \****************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"root\":\"F7SelectedList_root_Adj6\",\"header\":\"F7SelectedList_header_1s05\",\"toolbar\":\"F7SelectedList_toolbar_t2zj\",\"toolitem\":\"F7SelectedList_toolitem_2OZs\",\"body\":\"F7SelectedList_body_3M2L\",\"item-box\":\"F7SelectedList_item-box_19ka\",\"disabled\":\"F7SelectedList_disabled_shnC\",\"item\":\"F7SelectedList_item_nXwc\",\"text\":\"F7SelectedList_text_1BEF\",\"close\":\"F7SelectedList_close_9jQ5\",\"center\":\"F7SelectedList_center_1-13\",\"item-hover\":\"F7SelectedList_item-hover_1q35\",\"dragBoxBottomLine\":\"F7SelectedList_dragBoxBottomLine_3M4j\",\"dragBoxTopLine\":\"F7SelectedList_dragBoxTopLine_1UBj\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/F7SelectedList.less?");

/***/ }),

/***/ "./src/component/web/base/FieldItem.less":
/*!***********************************************!*\
  !*** ./src/component/web/base/FieldItem.less ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"field-item\":\"FieldItem_field-item_IotO\",\"grow\":\"FieldItem_grow_1E5m\",\"title-placeholder\":\"FieldItem_title-placeholder_2--S\",\"label-wrap\":\"FieldItem_label-wrap_3E_7\",\"label-newline\":\"FieldItem_label-newline_IKuX\",\"design-tips\":\"FieldItem_design-tips_lvZa\",\"title-wrapper\":\"FieldItem_title-wrapper_2_Nk\",\"title-align-left\":\"FieldItem_title-align-left_3lnT\",\"title-align-right\":\"FieldItem_title-align-right_3Jic\",\"title-align-center\":\"FieldItem_title-align-center_3iwS\",\"value-wrap\":\"FieldItem_value-wrap_uGTw\",\"select-model-pointer\":\"FieldItem_select-model-pointer_2wnE\",\"mul-value-wrap-h\":\"FieldItem_mul-value-wrap-h_3-NC\",\"mul-value-wrap-v\":\"FieldItem_mul-value-wrap-v_2N3Z\",\"wordBottom\":\"FieldItem_wordBottom_7SVG\",\"must\":\"FieldItem_must_RlKP\",\"valid-tip\":\"FieldItem_valid-tip_3iVq\",\"clip\":\"FieldItem_clip_1v7G\",\"valid-noBorder\":\"FieldItem_valid-noBorder_2ZHs\",\"label-text-left\":\"FieldItem_label-text-left_hNsS\",\"label-text-center\":\"FieldItem_label-text-center_39Ux\",\"label-text-right\":\"FieldItem_label-text-right_3o7b\",\"tip-text\":\"FieldItem_tip-text_5QOg\",\"field-item-h-border\":\"FieldItem_field-item-h-border_5-QE\",\"field-item-h-border-validate\":\"FieldItem_field-item-h-border-validate_3Tzz\",\"field-item-v-border-validate\":\"FieldItem_field-item-v-border-validate_3lJp\",\"field-item-h\":\"FieldItem_field-item-h_1hsM\",\"label-disabled\":\"FieldItem_label-disabled_tAFq\",\"field-item-v\":\"FieldItem_field-item-v_4U5w\",\"validate-value-warp\":\"FieldItem_validate-value-warp_2sMR\",\"field-item-v-width\":\"FieldItem_field-item-v-width_3YIX\",\"field-item-h-validate\":\"FieldItem_field-item-h-validate_qObV\",\"text-type\":\"FieldItem_text-type_1s7P\",\"borderAll\":\"FieldItem_borderAll_2tzF\",\"showEditButton\":\"FieldItem_showEditButton_T3nE\",\"is-adaptive\":\"FieldItem_is-adaptive_2RRx\",\"is-text\":\"FieldItem_is-text_3Oqn\",\"lt-input\":\"FieldItem_lt-input_O9Fc\",\"no-mul-field-v\":\"FieldItem_no-mul-field-v_JMMw\",\"no-mul-field-h\":\"FieldItem_no-mul-field-h_13Y8\",\"flicker\":\"FieldItem_flicker_323C\",\"horizontal-title\":\"FieldItem_horizontal-title_khtn\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/FieldItem.less?");

/***/ }),

/***/ "./src/component/web/base/FieldsetPanel.less":
/*!***************************************************!*\
  !*** ./src/component/web/base/FieldsetPanel.less ***!
  \***************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"root\":\"FieldsetPanel_root_2xdk\",\"paddingStyle\":\"FieldsetPanel_paddingStyle_1OWD\",\"fieldPanel\":\"FieldsetPanel_fieldPanel_uTD8\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/FieldsetPanel.less?");

/***/ }),

/***/ "./src/component/web/base/FlexPanel.less":
/*!***********************************************!*\
  !*** ./src/component/web/base/FlexPanel.less ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"flex-panel\":\"FlexPanel_flex-panel_1uIy\",\"flex-panel-full-screen\":\"FlexPanel_flex-panel-full-screen_1r9B\",\"full-screen\":\"FlexPanel_full-screen_2XmY\",\"cursor\":\"FlexPanel_cursor_23gf\",\"flex-panel-shadow\":\"FlexPanel_flex-panel-shadow_24Zo\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/FlexPanel.less?");

/***/ }),

/***/ "./src/component/web/base/FloatMenu.less":
/*!***********************************************!*\
  !*** ./src/component/web/base/FloatMenu.less ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"floatmenu\":\"FloatMenu_floatmenu_3-1B\",\"f-m-panel\":\"FloatMenu_f-m-panel_rOFU\",\"f-m-item\":\"FloatMenu_f-m-item_35wU\",\"f-m-item-image\":\"FloatMenu_f-m-item-image_1Qi8\",\"f-m-item-icon\":\"FloatMenu_f-m-item-icon_2w_9\",\"icon-font-size-default\":\"FloatMenu_icon-font-size-default_1wRq\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/FloatMenu.less?");

/***/ }),

/***/ "./src/component/web/base/FoldContainer/index.less":
/*!*********************************************************!*\
  !*** ./src/component/web/base/FoldContainer/index.less ***!
  \*********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"fold-container\":\"index_fold-container_3g6Q\",\"fold-btn\":\"index_fold-btn_1McG\",\"clone-container\":\"index_clone-container_3csu\",\"clone-item\":\"index_clone-item_12m6\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/FoldContainer/index.less?");

/***/ }),

/***/ "./src/component/web/base/FontIcon.less":
/*!**********************************************!*\
  !*** ./src/component/web/base/FontIcon.less ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"font-icon\":\"FontIcon_font-icon_US6V\",\"isLoading\":\"FontIcon_isLoading_1LEh\",\"font-hover\":\"FontIcon_font-hover_AqJL\",\"lock-class\":\"FontIcon_lock-class_3Str\",\"clickable\":\"FontIcon_clickable_2QnP\",\"loading\":\"FontIcon_loading_1BZX\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/FontIcon.less?");

/***/ }),

/***/ "./src/component/web/base/GuidePage.less":
/*!***********************************************!*\
  !*** ./src/component/web/base/GuidePage.less ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"root\":\"GuidePage_root_oHtS\",\"nav\":\"GuidePage_nav_2iAz\",\"avtive\":\"GuidePage_avtive_SgW3\",\"add\":\"GuidePage_add_BH9s\",\"content\":\"GuidePage_content_1iAV\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/GuidePage.less?");

/***/ }),

/***/ "./src/component/web/base/HomePageSidebar.less":
/*!*****************************************************!*\
  !*** ./src/component/web/base/HomePageSidebar.less ***!
  \*****************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"root\":\"HomePageSidebar_root_AAyr\",\"sidebarContent\":\"HomePageSidebar_sidebarContent_jKdO\",\"sidebarContent-item\":\"HomePageSidebar_sidebarContent-item_2neV\",\"sidebarContent-arrow\":\"HomePageSidebar_sidebarContent-arrow_2D6S\",\"sidebarContent-arrow-right\":\"HomePageSidebar_sidebarContent-arrow-right_29vf\",\"collapseConten\":\"HomePageSidebar_collapseConten_3Tzp\",\"collapseContent\":\"HomePageSidebar_collapseContent_15AC\",\"collapseContent-arrow-left\":\"HomePageSidebar_collapseContent-arrow-left_3G0S\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/HomePageSidebar.less?");

/***/ }),

/***/ "./src/component/web/base/HomePageTab.less":
/*!*************************************************!*\
  !*** ./src/component/web/base/HomePageTab.less ***!
  \*************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"nav\":\"HomePageTab_nav_1jkr\",\"add\":\"HomePageTab_add_1D7W\",\"fix-nav\":\"HomePageTab_fix-nav_16-u\",\"no_over_flow\":\"HomePageTab_no_over_flow_2VQ6\",\"item\":\"HomePageTab_item_oym9\",\"icon\":\"HomePageTab_icon_3hHk\",\"notFixedIcon\":\"HomePageTab_notFixedIcon_1Yqh\",\"titleFixed\":\"HomePageTab_titleFixed_1PQ5\",\"title\":\"HomePageTab_title_1STN\",\"fontTop\":\"HomePageTab_fontTop_14Sj\",\"fontBottom\":\"HomePageTab_fontBottom_6ERW\",\"fontCenter\":\"HomePageTab_fontCenter_35Ds\",\"separator\":\"HomePageTab_separator_3DRg\",\"tab-hide-animation\":\"HomePageTab_tab-hide-animation_2dVA\",\"tab-hide\":\"HomePageTab_tab-hide_2z92\",\"tab-show-animation\":\"HomePageTab_tab-show-animation_Tmdc\",\"tab-show\":\"HomePageTab_tab-show_deEW\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/HomePageTab.less?");

/***/ }),

/***/ "./src/component/web/base/HtmlPanel.less":
/*!***********************************************!*\
  !*** ./src/component/web/base/HtmlPanel.less ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"root\":\"HtmlPanel_root_sf6Y\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/HtmlPanel.less?");

/***/ }),

/***/ "./src/component/web/base/IFrame.less":
/*!********************************************!*\
  !*** ./src/component/web/base/IFrame.less ***!
  \********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"iframe-content-loading\":\"IFrame_iframe-content-loading_3wTl\",\"iframe-content-load-complete\":\"IFrame_iframe-content-load-complete_3pCO\",\"iframe-base\":\"IFrame_iframe-base_3CBh\",\"loading\":\"IFrame_loading_2tte\",\"disabledPointer\":\"IFrame_disabledPointer_1kPd\",\"iframe-el\":\"IFrame_iframe-el_2zUi\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/IFrame.less?");

/***/ }),

/***/ "./src/component/web/base/Icon.less":
/*!******************************************!*\
  !*** ./src/component/web/base/Icon.less ***!
  \******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"icon\":\"Icon_icon_2N1q\",\"img-wrapper\":\"Icon_img-wrapper_1Zep\",\"img-zoom\":\"Icon_img-zoom_2OiD\",\"icon-radius\":\"Icon_icon-radius_2OYI\",\"hoverable\":\"Icon_hoverable_KY9h\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Icon.less?");

/***/ }),

/***/ "./src/component/web/base/ImageList.less":
/*!***********************************************!*\
  !*** ./src/component/web/base/ImageList.less ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"image-list\":\"ImageList_image-list_2luY\",\"img-container\":\"ImageList_img-container_3xZ4\",\"inner-wrapper\":\"ImageList_inner-wrapper_3DGq\",\"img-drag-text\":\"ImageList_img-drag-text_K6_1\",\"upload-box\":\"ImageList_upload-box_5Px3\",\"drag-mask\":\"ImageList_drag-mask_6K9I\",\"image-item\":\"ImageList_image-item_Xf2R\",\"item-wrapper\":\"ImageList_item-wrapper_3j_0\",\"delete-icon\":\"ImageList_delete-icon_17KE\",\"item-name\":\"ImageList_item-name_3B5b\",\"name-text\":\"ImageList_name-text_2Vk_\",\"name-img\":\"ImageList_name-img_1t3b\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/ImageList.less?");

/***/ }),

/***/ "./src/component/web/base/ImageLoupe.less":
/*!************************************************!*\
  !*** ./src/component/web/base/ImageLoupe.less ***!
  \************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"imgContent\":\"ImageLoupe_imgContent_UO4d\",\"loupe\":\"ImageLoupe_loupe_1eTG\",\"Browser\":\"ImageLoupe_Browser_335A\",\"imgContentWH\":\"ImageLoupe_imgContentWH_1uuS\",\"mag\":\"ImageLoupe_mag_2rM9\",\"magnifierImg\":\"ImageLoupe_magnifierImg_3p58\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/ImageLoupe.less?");

/***/ }),

/***/ "./src/component/web/base/Label.less":
/*!*******************************************!*\
  !*** ./src/component/web/base/Label.less ***!
  \*******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"label\":\"Label_label_1ir-\",\"borderlabel\":\"Label_borderlabel_ja6w\",\"textBase\":\"Label_textBase_2tjL\",\"textnowrap\":\"Label_textnowrap_3wxk\",\"textwrap\":\"Label_textwrap_30jc\",\"clickable\":\"Label_clickable_3mHA\",\"disabled\":\"Label_disabled_N3-2\",\"loadingType3\":\"Label_loadingType3_2ycw\",\"movinLoading\":\"Label_movinLoading_1k81\",\"loadingType2\":\"Label_loadingType2_39rI\",\"textLoading\":\"Label_textLoading_1qTg\",\"maskLoading\":\"Label_maskLoading_zPXB\",\"changeOpactity\":\"Label_changeOpactity_1jeL\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Label.less?");

/***/ }),

/***/ "./src/component/web/base/LargeText.less":
/*!***********************************************!*\
  !*** ./src/component/web/base/LargeText.less ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"largetext\":\"LargeText_largetext_3nuY\",\"lt-text\":\"LargeText_lt-text_WrOx\",\"lt-overflowAuto\":\"LargeText_lt-overflowAuto_2fBW\",\"lt-input\":\"LargeText_lt-input_1S-M\",\"lt-pr20\":\"LargeText_lt-pr20_7OkO\",\"toggle-default\":\"LargeText_toggle-default_yeLW\",\"toggle-flat\":\"LargeText_toggle-flat_2hMt\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/LargeText.less?");

/***/ }),

/***/ "./src/component/web/base/List/List.less":
/*!***********************************************!*\
  !*** ./src/component/web/base/List/List.less ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"list\":\"List_list_O59J\",\"list-virtual-holder\":\"List_list-virtual-holder_3gST\",\"list-items\":\"List_list-items_2bUd\",\"list-default-item\":\"List_list-default-item_kPqE\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/List/List.less?");

/***/ }),

/***/ "./src/component/web/base/ListCardView.less":
/*!**************************************************!*\
  !*** ./src/component/web/base/ListCardView.less ***!
  \**************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"list-card-view\":\"ListCardView_list-card-view_17un\",\"underline\":\"ListCardView_underline_3OTW\",\"triangle\":\"ListCardView_triangle_3EBy\",\"timeline-panel\":\"ListCardView_timeline-panel_25oz\",\"time-line\":\"ListCardView_time-line_34Md\",\"first-line\":\"ListCardView_first-line_3zzq\",\"last-line\":\"ListCardView_last-line_iPSb\",\"dot\":\"ListCardView_dot_F0OA\",\"current\":\"ListCardView_current_1-8u\",\"panel\":\"ListCardView_panel_QsCv\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/ListCardView.less?");

/***/ }),

/***/ "./src/component/web/base/ListFilter/commonSearch/compactCommon/dateSelect/index.less":
/*!********************************************************************************************!*\
  !*** ./src/component/web/base/ListFilter/commonSearch/compactCommon/dateSelect/index.less ***!
  \********************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"date-select-wrap\":\"index_date-select-wrap_1mXL\",\"date-select\":\"index_date-select_1G7s\",\"value\":\"index_value_3YQu\",\"time\":\"index_time_125c\",\"split\":\"index_split_2ouh\",\"close\":\"index_close_3FiI\",\"icon\":\"index_icon_3O2k\",\"expand\":\"index_expand_317k\",\"date-select-date-wrap\":\"index_date-select-date-wrap_3K5r\",\"single-date-select\":\"index_single-date-select_1aan\",\"panel-container\":\"index_panel-container_1DcG\",\"select-item\":\"index_select-item_3vY2\",\"selected\":\"index_selected_1TGb\",\"date-com-wrap\":\"index_date-com-wrap_kw8p\",\"date-com\":\"index_date-com_2PJd\",\"single-date-com\":\"index_single-date-com_3n9R\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/ListFilter/commonSearch/compactCommon/dateSelect/index.less?");

/***/ }),

/***/ "./src/component/web/base/ListFilter/commonSearch/tiledCommon/dateOptions/index.less":
/*!*******************************************************************************************!*\
  !*** ./src/component/web/base/ListFilter/commonSearch/tiledCommon/dateOptions/index.less ***!
  \*******************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"date-options-wrap\":\"index_date-options-wrap_25qx\",\"fold\":\"index_fold_1Pt8\",\"expand\":\"index_expand_2LC8\",\"options-wrap\":\"index_options-wrap_2OXf\",\"custom-label\":\"index_custom-label_331a\",\"old-options-wrap\":\"index_old-options-wrap_3s9_\",\"date-option-select\":\"index_date-option-select_1A-D\",\"current-date\":\"index_current-date_zu9K\",\"value\":\"index_value_3MbD\",\"close\":\"index_close_3NvE\",\"arrow\":\"index_arrow_2Rx0\",\"menu\":\"index_menu_30nF\",\"item\":\"index_item_sat-\",\"selected\":\"index_selected_2-HE\",\"custom-dropdown\":\"index_custom-dropdown_2YOg\",\"custom-wrap\":\"index_custom-wrap_gPIF\",\"date-com\":\"index_date-com_28uD\",\"common-more\":\"index_common-more_1kWw\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/ListFilter/commonSearch/tiledCommon/dateOptions/index.less?");

/***/ }),

/***/ "./src/component/web/base/ListFilter/commonSearch/tiledCommon/index.less":
/*!*******************************************************************************!*\
  !*** ./src/component/web/base/ListFilter/commonSearch/tiledCommon/index.less ***!
  \*******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"tiled-container\":\"index_tiled-container_2Uo8\",\"tiled-item\":\"index_tiled-item_-eF_\",\"grids-select\":\"index_grids-select_3nRb\",\"tree-select\":\"index_tree-select_2D74\",\"label\":\"index_label_1KhK\",\"label-content\":\"index_label-content_1VFl\",\"label-content-grids\":\"index_label-content-grids_2VJ2\",\"label-text\":\"index_label-text_1mzZ\",\"label-text-content\":\"index_label-text-content_1ktS\",\"label-content-nomal\":\"index_label-content-nomal_2clu\",\"tips-icon\":\"index_tips-icon_wI6A\",\"common-options-wrap\":\"index_common-options-wrap_1-dx\",\"fold\":\"index_fold_2j5u\",\"expand\":\"index_expand_bv4F\",\"options-wrap\":\"index_options-wrap_21w-\",\"multi\":\"index_multi_1n2W\",\"more\":\"index_more_3prl\",\"base-data-container\":\"index_base-data-container_1QLu\",\"options-container\":\"index_options-container_3RDG\",\"fold-container\":\"index_fold-container_Q4-J\",\"other-option\":\"index_other-option_8f0c\",\"option-label\":\"index_option-label_147z\",\"icon\":\"index_icon_1KjH\",\"base-data-icon\":\"index_base-data-icon_qcJz\",\"clear-all\":\"index_clear-all_1LkX\",\"common-more\":\"index_common-more_323S\",\"operation_part\":\"index_operation_part_16mt\",\"user-options-wrap\":\"index_user-options-wrap_3UMC\",\"user-selectoption\":\"index_user-selectoption_3E9-\",\"user-label\":\"index_user-label_1Um1\",\"single-text-option\":\"index_single-text-option_kQTm\",\"selected\":\"index_selected_1ci-\",\"dropdown-item\":\"index_dropdown-item_1Y8C\",\"condition\":\"index_condition_XHel\",\"c-icon-close\":\"index_c-icon-close_3Qzp\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/ListFilter/commonSearch/tiledCommon/index.less?");

/***/ }),

/***/ "./src/component/web/base/ListFilter/commonSearch/tiledCommon/option/index.less":
/*!**************************************************************************************!*\
  !*** ./src/component/web/base/ListFilter/commonSearch/tiledCommon/option/index.less ***!
  \**************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"single-option\":\"index_single-option_BeCX\",\"selected\":\"index_selected_2x9-\",\"multi-option-text\":\"index_multi-option-text_1z-l\",\"option-label\":\"index_option-label_1oTc\",\"single-text-option\":\"index_single-text-option_1he8\",\"multi-option\":\"index_multi-option_24Sw\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/ListFilter/commonSearch/tiledCommon/option/index.less?");

/***/ }),

/***/ "./src/component/web/base/Listbox.less":
/*!*********************************************!*\
  !*** ./src/component/web/base/Listbox.less ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"root-class\":\"Listbox_root-class_2xgb\",\"ul-class-base\":\"Listbox_ul-class-base_1-dS\",\"ul-v-class\":\"Listbox_ul-v-class_29Kc\",\"ul-h-class\":\"Listbox_ul-h-class_34SI\",\"li-v-class\":\"Listbox_li-v-class_3Tzn\",\"li-h-class\":\"Listbox_li-h-class_1TmO\",\"li-active\":\"Listbox_li-active_23kC\",\"list-box-item-title\":\"Listbox_list-box-item-title_1x4x\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Listbox.less?");

/***/ }),

/***/ "./src/component/web/base/LittleK.less":
/*!*********************************************!*\
  !*** ./src/component/web/base/LittleK.less ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"box\":\"LittleK_box_2yiy\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/LittleK.less?");

/***/ }),

/***/ "./src/component/web/base/Map/AMap.less":
/*!**********************************************!*\
  !*** ./src/component/web/base/Map/AMap.less ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"amap-container\":\"AMap_amap-container_3fQf\",\"amap\":\"AMap_amap_2QEe\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Map/AMap.less?");

/***/ }),

/***/ "./src/component/web/base/Map/GMap.less":
/*!**********************************************!*\
  !*** ./src/component/web/base/Map/GMap.less ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"gmap-container\":\"GMap_gmap-container_LKTJ\",\"gmap\":\"GMap_gmap_sxQq\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Map/GMap.less?");

/***/ }),

/***/ "./src/component/web/base/Map/GMapSearchBox.less":
/*!*******************************************************!*\
  !*** ./src/component/web/base/Map/GMapSearchBox.less ***!
  \*******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"container\":\"GMapSearchBox_container_1qmx\",\"input-container\":\"GMapSearchBox_input-container_2whc\",\"search-input\":\"GMapSearchBox_search-input_2UE4\",\"search-result\":\"GMapSearchBox_search-result_65KZ\",\"search-item\":\"GMapSearchBox_search-item_1-Va\",\"search-btn\":\"GMapSearchBox_search-btn_1vto\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Map/GMapSearchBox.less?");

/***/ }),

/***/ "./src/component/web/base/Map/MapSearchBox.less":
/*!******************************************************!*\
  !*** ./src/component/web/base/Map/MapSearchBox.less ***!
  \******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"container\":\"MapSearchBox_container_11kp\",\"input-container\":\"MapSearchBox_input-container_3oYd\",\"search-input\":\"MapSearchBox_search-input_3uo9\",\"search-result\":\"MapSearchBox_search-result_df8O\",\"search-item\":\"MapSearchBox_search-item_C7yc\",\"search-btn\":\"MapSearchBox_search-btn_2Syp\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Map/MapSearchBox.less?");

/***/ }),

/***/ "./src/component/web/base/MapBase.less":
/*!*********************************************!*\
  !*** ./src/component/web/base/MapBase.less ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"mapbase\":\"MapBase_mapbase_3tkp\",\"map\":\"MapBase_map_1g7M\",\"search-container\":\"MapBase_search-container_8Hg4\",\"search-input\":\"MapBase_search-input_Lw9l\",\"s-suggestInfo\":\"MapBase_s-suggestInfo_1DIp\",\"s-searchResult\":\"MapBase_s-searchResult_3S8T\",\"s-button\":\"MapBase_s-button_24kW\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/MapBase.less?");

/***/ }),

/***/ "./src/component/web/base/Message.less":
/*!*********************************************!*\
  !*** ./src/component/web/base/Message.less ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"confirm-btn\":\"Message_confirm-btn_d7S7\",\"content\":\"Message_content_2QbM\",\"toast-content\":\"Message_toast-content_3V02\",\"toast-text\":\"Message_toast-text_12gw\",\"root\":\"Message_root_13d6\",\"root-parallel\":\"Message_root-parallel_1-gp\",\"img-div\":\"Message_img-div_1_mi\",\"title-div\":\"Message_title-div_3rb5\",\"title-div-parallel\":\"Message_title-div-parallel_3OJM\",\"title-body\":\"Message_title-body_1bCi\",\"dot_confirm\":\"Message_dot_confirm_ZohP\",\"dot_message\":\"Message_dot_message_3q9p\",\"title-grow-div\":\"Message_title-grow-div_cYhc\",\"word-div\":\"Message_word-div_2M3Q\",\"feedback\":\"Message_feedback_31Bo\",\"close-div-style\":\"Message_close-div-style_3zg-\",\"button-div-parallel\":\"Message_button-div-parallel_38Y5\",\"button-div\":\"Message_button-div_9fOZ\",\"reverse\":\"Message_reverse_1iyB\",\"but-blue\":\"Message_but-blue_3qE7\",\"button\":\"Message_button_1jvd\",\"but-grey\":\"Message_but-grey_yv70\",\"but-large-grey\":\"Message_but-large-grey_1HVi\",\"but-gap-grey\":\"Message_but-gap-grey_2OJG\",\"content-div\":\"Message_content-div_1ppA\",\"content-div-span\":\"Message_content-div-span_2Bc2\",\"content-div-overflow\":\"Message_content-div-overflow_2GBJ\",\"content-div-a\":\"Message_content-div-a_1GXA\",\"content-div-show\":\"Message_content-div-show_lkGH\",\"detail-div\":\"Message_detail-div_3E2a\",\"detail-div-default\":\"Message_detail-div-default_73j2\",\"detail-div-pre\":\"Message_detail-div-pre_2RTh\",\"detail-li\":\"Message_detail-li_3p3y\",\"detail-div-line\":\"Message_detail-div-line_1m3R\",\"message-link\":\"Message_message-link_3ece\",\"parallel-div-dialog\":\"Message_parallel-div-dialog_3nSg\",\"parallel-div-side\":\"Message_parallel-div-side_2Ngr\",\"parallel-div-side-list\":\"Message_parallel-div-side-list_3YBy\",\"parallel-div-side-title\":\"Message_parallel-div-side-title_3cvZ\",\"side-list-selected\":\"Message_side-list-selected_209e\",\"parallel-div-content-list\":\"Message_parallel-div-content-list_Uxi9\",\"parallel-div-content\":\"Message_parallel-div-content_112d\",\"content-list-selected\":\"Message_content-list-selected_2MQb\",\"parallel-div-title\":\"Message_parallel-div-title_TnWw\",\"parallel-div-detail\":\"Message_parallel-div-detail_1vLa\",\"dialog_type_1\":\"Message_dialog_type_1_3pf1\",\"dialog_type_1_title\":\"Message_dialog_type_1_title_Xoz4\",\"dialog_type_1_content\":\"Message_dialog_type_1_content_2c3Y\",\"content-div-botton\":\"Message_content-div-botton_2CAz\",\"dot_confirm_dialogIconTip\":\"Message_dot_confirm_dialogIconTip_11Vo\",\"dot_message_dialogIconTip\":\"Message_dot_message_dialogIconTip_18T1\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Message.less?");

/***/ }),

/***/ "./src/component/web/base/MsgFeedback.less":
/*!*************************************************!*\
  !*** ./src/component/web/base/MsgFeedback.less ***!
  \*************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"msg-feedback\":\"MsgFeedback_msg-feedback_2HhZ\",\"link\":\"MsgFeedback_link_15pf\",\"copy\":\"MsgFeedback_copy_atd4\",\"useless\":\"MsgFeedback_useless_1N_s\",\"button-clicked\":\"MsgFeedback_button-clicked_1boF\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/MsgFeedback.less?");

/***/ }),

/***/ "./src/component/web/base/MulLangText.less":
/*!*************************************************!*\
  !*** ./src/component/web/base/MulLangText.less ***!
  \*************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"input\":\"MulLangText_input_1qRg\",\"root\":\"MulLangText_root_mdTc\",\"toggle-default\":\"MulLangText_toggle-default_3um2\",\"toggle-flat\":\"MulLangText_toggle-flat_3rOy\",\"cursor-pointer\":\"MulLangText_cursor-pointer_2j41\",\"highlight\":\"MulLangText_highlight_35Af\",\"line-height\":\"MulLangText_line-height_2qnp\",\"align-items\":\"MulLangText_align-items_2yml\",\"ellipsis\":\"MulLangText_ellipsis_3jHi\",\"dropdown\":\"MulLangText_dropdown_QMhM\",\"alias\":\"MulLangText_alias_x3sb\",\"text\":\"MulLangText_text_yjxQ\",\"flat-dir-col-class\":\"MulLangText_flat-dir-col-class_1hOh\",\"multiLine-textareaoverheight\":\"MulLangText_multiLine-textareaoverheight_1-t9\",\"one-langList\":\"MulLangText_one-langList_20jC\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/MulLangText.less?");

/***/ }),

/***/ "./src/component/web/base/MultilingualText/style.less":
/*!************************************************************!*\
  !*** ./src/component/web/base/MultilingualText/style.less ***!
  \************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"panel-container\":\"style_panel-container_3Fsu\",\"locale-item\":\"style_locale-item_2UZh\",\"locale-label\":\"style_locale-label_3K4Q\",\"locale-input\":\"style_locale-input_3-RG\",\"locale-textarea\":\"style_locale-textarea_1J3o\",\"bottom-border\":\"style_bottom-border_1GyZ\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/MultilingualText/style.less?");

/***/ }),

/***/ "./src/component/web/base/Picture.less":
/*!*********************************************!*\
  !*** ./src/component/web/base/Picture.less ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"picture-upload\":\"Picture_picture-upload_1gPU\",\"def-img-hover\":\"Picture_def-img-hover_3hr2\",\"img-drag-text\":\"Picture_img-drag-text_bxMa\",\"initial\":\"Picture_initial_-13c\",\"initial-container\":\"Picture_initial-container_3ydR\",\"required-empty\":\"Picture_required-empty_74VV\",\"uploading-status\":\"Picture_uploading-status_3Wat\",\"info-wrapper\":\"Picture_info-wrapper_6mi1\",\"file-info\":\"Picture_file-info_2zLQ\",\"file-name\":\"Picture_file-name_Q3zT\",\"progress-bar\":\"Picture_progress-bar_aOCM\",\"error-status\":\"Picture_error-status_IAOT\",\"error-tips\":\"Picture_error-tips_koLy\",\"upload-wrapper\":\"Picture_upload-wrapper_3RxF\",\"success-status\":\"Picture_success-status_1jXq\",\"field-item\":\"Picture_field-item_3t8n\",\"drag-mask\":\"Picture_drag-mask_2Ouc\",\"pic-edit\":\"Picture_pic-edit_29nq\",\"icon\":\"Picture_icon_2sDS\",\"label-disabled\":\"Picture_label-disabled_1_Iv\",\"label-wrap\":\"Picture_label-wrap_3tm1\",\"must\":\"Picture_must_EBNK\",\"no-width\":\"Picture_no-width_3Toj\",\"value-wrap\":\"Picture_value-wrap_2Pbm\",\"label-text-left\":\"Picture_label-text-left_3FVt\",\"label-text-center\":\"Picture_label-text-center_3wbR\",\"label-text-right\":\"Picture_label-text-right_31aW\",\"pic-label\":\"Picture_pic-label_178J\",\"purePicure\":\"Picture_purePicure_2gqm\",\"no-src\":\"Picture_no-src_1FWm\",\"toolbarBox\":\"Picture_toolbarBox_2X6g\",\"barItem\":\"Picture_barItem_1XTP\",\"tooltips-class\":\"Picture_tooltips-class_1shQ\",\"tips\":\"Picture_tips_wodz\",\"imgCursor\":\"Picture_imgCursor_VM_o\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Picture.less?");

/***/ }),

/***/ "./src/component/web/base/QingControl.less":
/*!*************************************************!*\
  !*** ./src/component/web/base/QingControl.less ***!
  \*************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"qingcontrol\":\"QingControl_qingcontrol_2Baw\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/QingControl.less?");

/***/ }),

/***/ "./src/component/web/base/Rate.less":
/*!******************************************!*\
  !*** ./src/component/web/base/Rate.less ***!
  \******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"rate\":\"Rate_rate_tSgG\",\"rate-container\":\"Rate_rate-container_2_T0\",\"rate-emotionalIcon\":\"Rate_rate-emotionalIcon_1CuT\",\"rate-emotional-image\":\"Rate_rate-emotional-image_E9hj\",\"rate-emotional-text\":\"Rate_rate-emotional-text_3Q5e\",\"rate-text\":\"Rate_rate-text_30Sp\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Rate.less?");

/***/ }),

/***/ "./src/component/web/base/RichText.less":
/*!**********************************************!*\
  !*** ./src/component/web/base/RichText.less ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"field-item\":\"RichText_field-item_3eyD\",\"value-wrap\":\"RichText_value-wrap_2o7p\",\"mask\":\"RichText_mask_k0RB\",\"label-wrap\":\"RichText_label-wrap_14PA\",\"must\":\"RichText_must_2S7A\",\"no-width\":\"RichText_no-width_m0-j\",\"title-wrapper\":\"RichText_title-wrapper_O_YW\",\"title-align-left\":\"RichText_title-align-left_15yd\",\"title-align-right\":\"RichText_title-align-right_7auJ\",\"title-align-center\":\"RichText_title-align-center_oGmG\",\"design-tips\":\"RichText_design-tips_3Gap\",\"label-text-left\":\"RichText_label-text-left_K3iP\",\"label-text-center\":\"RichText_label-text-center_37Nd\",\"label-text-right\":\"RichText_label-text-right_1w_c\",\"richtext-label\":\"RichText_richtext-label_3NTZ\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/RichText.less?");

/***/ }),

/***/ "./src/component/web/base/SearchBox.less":
/*!***********************************************!*\
  !*** ./src/component/web/base/SearchBox.less ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"quick-search\":\"SearchBox_quick-search_mMzt\",\"all-border\":\"SearchBox_all-border_3tAf\",\"qs-c\":\"SearchBox_qs-c_3sM3\",\"qc-flag\":\"SearchBox_qc-flag_yiWM\",\"qc-container\":\"SearchBox_qc-container_27gd\",\"qc-input\":\"SearchBox_qc-input_Z83y\",\"qc-label-out\":\"SearchBox_qc-label-out_2Yg7\",\"qc-label\":\"SearchBox_qc-label_3iRC\",\"qc-l-delete\":\"SearchBox_qc-l-delete_3s18\",\"qc-l-title\":\"SearchBox_qc-l-title_2ko9\",\"qc-l-text-overflow\":\"SearchBox_qc-l-text-overflow_3w7_\",\"qc-l-con\":\"SearchBox_qc-l-con_j0j4\",\"qs-list\":\"SearchBox_qs-list_wR_e\",\"hide\":\"SearchBox_hide_2jXv\",\"item\":\"SearchBox_item_37ox\",\"item-selected\":\"SearchBox_item-selected_3QlD\",\"quick-search-autocomplete\":\"SearchBox_quick-search-autocomplete_BomD\",\"qsa-c\":\"SearchBox_qsa-c_22EV\",\"qca-input\":\"SearchBox_qca-input_OJfc\",\"qca-container\":\"SearchBox_qca-container_3qk3\",\"qs-list-autocompelte\":\"SearchBox_qs-list-autocompelte_2g_t\",\"itemac\":\"SearchBox_itemac_3qC2\",\"itemac-selected\":\"SearchBox_itemac-selected_2HHO\",\"qs-animate\":\"SearchBox_qs-animate_2Y_k\",\"collapse\":\"SearchBox_collapse_kojq\",\"expanding\":\"SearchBox_expanding_3LVh\",\"collapsing\":\"SearchBox_collapsing_TqJp\",\"leftToRgith\":\"SearchBox_leftToRgith_22IJ\",\"widthLess\":\"SearchBox_widthLess_16H4\",\"rightToLeft\":\"SearchBox_rightToLeft_3XbU\",\"widthFill\":\"SearchBox_widthFill_BBW6\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/SearchBox.less?");

/***/ }),

/***/ "./src/component/web/base/Select.less":
/*!********************************************!*\
  !*** ./src/component/web/base/Select.less ***!
  \********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"select\":\"Select_select_1e2o\",\"white-bg\":\"Select_white-bg_1FBV\",\"padding-vertical-4\":\"Select_padding-vertical-4_QwqD\",\"single-close\":\"Select_single-close_zs7y\",\"value-item\":\"Select_value-item_3e_7\",\"value-container\":\"Select_value-container_2XHj\",\"text\":\"Select_text_29It\",\"close\":\"Select_close_21OF\",\"option-delimiter\":\"Select_option-delimiter_2W-e\",\"value-item-labelStyle\":\"Select_value-item-labelStyle_3Iui\",\"collapseTags-total\":\"Select_collapseTags-total_n5r4\",\"lock-with-no-value\":\"Select_lock-with-no-value_MOT7\",\"value-input\":\"Select_value-input_2vQj\",\"disabled\":\"Select_disabled_2DU2\",\"value-inputable\":\"Select_value-inputable_3x89\",\"single-value-container\":\"Select_single-value-container_3UVT\",\"is-pic\":\"Select_is-pic_zotV\",\"grey-text\":\"Select_grey-text_16kw\",\"hide-text\":\"Select_hide-text_3QqJ\",\"multiple-value-container\":\"Select_multiple-value-container_3Obi\",\"value-container-newType\":\"Select_value-container-newType_1WgK\",\"select-icon-default\":\"Select_select-icon-default_L5Yv\",\"iconBox\":\"Select_iconBox_3Isw\",\"select-icon-style\":\"Select_select-icon-style_24dU\",\"select-icon-flat\":\"Select_select-icon-flat_2oMn\",\"select-icon-inverse\":\"Select_select-icon-inverse_JLQV\",\"autoWrapSelect\":\"Select_autoWrapSelect_1uiX\",\"allBorderAutoWrapSelect\":\"Select_allBorderAutoWrapSelect_2wN_\",\"all-border-focus\":\"Select_all-border-focus_2sJv\",\"select-area\":\"Select_select-area_11Ti\",\"select-area-no-wraparea\":\"Select_select-area-no-wraparea_3lMo\",\"disable-selectedItem-area\":\"Select_disable-selectedItem-area_2B8_\",\"disabled-seletctItems\":\"Select_disabled-seletctItems_KCdU\",\"disabled-total\":\"Select_disabled-total_GD3L\",\"collapseTags-first-Item\":\"Select_collapseTags-first-Item_1MPg\",\"panel\":\"Select_panel_3ak_\",\"list\":\"Select_list_3amG\",\"item\":\"Select_item_HrRa\",\"selected\":\"Select_selected_9ErL\",\"icon\":\"Select_icon_2vBg\",\"disable-text\":\"Select_disable-text_3gSU\",\"item-checkbox\":\"Select_item-checkbox_2SDE\",\"itemStyle\":\"Select_itemStyle_ZoFG\",\"iconS\":\"Select_iconS_2Z1G\",\"textS\":\"Select_textS_3PYM\",\"default-wrapper\":\"Select_default-wrapper_8KV6\",\"default-text\":\"Select_default-text_1r0P\",\"default-block\":\"Select_default-block_39WT\",\"default-block-left\":\"Select_default-block-left_1qol\",\"default-icon\":\"Select_default-icon_1YE5\",\"default-block-right\":\"Select_default-block-right_A3td\",\"select_checkbox\":\"Select_select_checkbox_qfq6\",\"filter\":\"Select_filter_2p7F\",\"frameFilter\":\"Select_frameFilter_PZyT\",\"all-checkbox\":\"Select_all-checkbox_3NkT\",\"select-panel-buttom\":\"Select_select-panel-buttom_3Xjm\",\"select-all\":\"Select_select-all_1IQJ\",\"select-all-selected\":\"Select_select-all-selected_298p\",\"select-hasSelected\":\"Select_select-hasSelected_rZfF\",\"select-selectedCount\":\"Select_select-selectedCount_ASGJ\",\"select-totalSelected\":\"Select_select-totalSelected_1dE_\",\"select-noResultsFound\":\"Select_select-noResultsFound_uMWH\",\"empty-tip\":\"Select_empty-tip_2H13\",\"item-disabled\":\"Select_item-disabled_2UEm\",\"is-label\":\"Select_is-label_3PZT\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Select.less?");

/***/ }),

/***/ "./src/component/web/base/Signature/Signature.less":
/*!*********************************************************!*\
  !*** ./src/component/web/base/Signature/Signature.less ***!
  \*********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"field-item\":\"Signature_field-item_25pI\",\"signature-edit\":\"Signature_signature-edit_1mjz\",\"init-disabled\":\"Signature_init-disabled_11rf\",\"label-wrap\":\"Signature_label-wrap_Xt_5\",\"must\":\"Signature_must_9Zoe\",\"label-text-left\":\"Signature_label-text-left_3DSI\",\"label-text-center\":\"Signature_label-text-center_Pt2r\",\"label-text-right\":\"Signature_label-text-right_iKdC\",\"label-disabled\":\"Signature_label-disabled_3h6N\",\"value-wrap\":\"Signature_value-wrap_2hHb\",\"initial-container\":\"Signature_initial-container_29MR\",\"initial-container-hover\":\"Signature_initial-container-hover_1x4u\",\"pen-icon\":\"Signature_pen-icon_21bP\",\"signature\":\"Signature_signature_1hj0\",\"required-empty\":\"Signature_required-empty_1mNG\",\"signature-pic\":\"Signature_signature-pic_1ykI\",\"signature-img\":\"Signature_signature-img_337C\",\"delete-icon\":\"Signature_delete-icon_BosU\",\"error-container\":\"Signature_error-container_3-ln\",\"error-tips\":\"Signature_error-tips_1r8Y\",\"signature-label\":\"Signature_signature-label_1grJ\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Signature/Signature.less?");

/***/ }),

/***/ "./src/component/web/base/Signature/SignatureBoard.less":
/*!**************************************************************!*\
  !*** ./src/component/web/base/Signature/SignatureBoard.less ***!
  \**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"content\":\"SignatureBoard_content_2DwS\",\"signature-area\":\"SignatureBoard_signature-area_2dzX\",\"clear-btn\":\"SignatureBoard_clear-btn_p2JO\",\"disabled\":\"SignatureBoard_disabled_2N8n\",\"desc\":\"SignatureBoard_desc_3fcj\",\"hide\":\"SignatureBoard_hide_bXp3\",\"footer\":\"SignatureBoard_footer_2k-0\",\"footer-left\":\"SignatureBoard_footer-left_YsxT\",\"checkbox-input\":\"SignatureBoard_checkbox-input_2NIt\",\"cancel-btn\":\"SignatureBoard_cancel-btn_K0vm\",\"ok-btn\":\"SignatureBoard_ok-btn_3ruJ\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Signature/SignatureBoard.less?");

/***/ }),

/***/ "./src/component/web/base/Slider.less":
/*!********************************************!*\
  !*** ./src/component/web/base/Slider.less ***!
  \********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"slider\":\"Slider_slider__-_e\",\"slideContainer\":\"Slider_slideContainer_1wvR\",\"slider-click-area\":\"Slider_slider-click-area_1H-N\",\"slider-rail\":\"Slider_slider-rail_1VRE\",\"slider-track\":\"Slider_slider-track_3GRD\",\"slider-handle\":\"Slider_slider-handle_UY87\",\"slider-handle-circle\":\"Slider_slider-handle-circle_3ptQ\",\"value-title\":\"Slider_value-title_1SWA\",\"moving-handle\":\"Slider_moving-handle_3It9\",\"slider-marks\":\"Slider_slider-marks_20h_\",\"mark-item\":\"Slider_mark-item_1_U9\",\"disabled\":\"Slider_disabled_GKaD\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Slider.less?");

/***/ }),

/***/ "./src/component/web/base/SplitContainer.less":
/*!****************************************************!*\
  !*** ./src/component/web/base/SplitContainer.less ***!
  \****************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"root-div-row\":\"SplitContainer_root-div-row_13r1\",\"root-div-column\":\"SplitContainer_root-div-column_2Qvk\",\"drag-bar-base\":\"SplitContainer_drag-bar-base_1iOM\",\"drag-bar-row\":\"SplitContainer_drag-bar-row_2-7s\",\"drag-bar-col\":\"SplitContainer_drag-bar-col_38XI\",\"arrow-base\":\"SplitContainer_arrow-base_3jcV\",\"arrow-left\":\"SplitContainer_arrow-left_1mBd\",\"arrow-right\":\"SplitContainer_arrow-right_2Gn6\",\"arrow-top\":\"SplitContainer_arrow-top_3KmS\",\"arrow-bottom\":\"SplitContainer_arrow-bottom_3e4-\",\"arrow-right-hover\":\"SplitContainer_arrow-right-hover_2Ibx\",\"arrow-left-animation\":\"SplitContainer_arrow-left-animation_t79C\",\"arrow-right-animation\":\"SplitContainer_arrow-right-animation_deJr\",\"arrow-top-animation\":\"SplitContainer_arrow-top-animation_yArS\",\"arrow-bottom-animation\":\"SplitContainer_arrow-bottom-animation_3_yp\",\"arrow-right-collapse\":\"SplitContainer_arrow-right-collapse_2Za0\",\"arrow-left-collapse\":\"SplitContainer_arrow-left-collapse_2MX0\",\"arrow-top-collapse\":\"SplitContainer_arrow-top-collapse_1QRS\",\"arrow-bottom-collapse\":\"SplitContainer_arrow-bottom-collapse_3mh3\",\"split-line-float-base\":\"SplitContainer_split-line-float-base_VsbQ\",\"split-line-float-col\":\"SplitContainer_split-line-float-col_1Q2r\",\"split-line-float-row\":\"SplitContainer_split-line-float-row_1M5w\",\"without-pt\":\"SplitContainer_without-pt_ss3q\",\"bottom_arrow\":\"SplitContainer_bottom_arrow_2pPf\",\"top_arrow\":\"SplitContainer_top_arrow_3_Pu\",\"right_arrow\":\"SplitContainer_right_arrow_1Wx5\",\"left_arrow\":\"SplitContainer_left_arrow_1HQz\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/SplitContainer.less?");

/***/ }),

/***/ "./src/component/web/base/Stepper.less":
/*!*********************************************!*\
  !*** ./src/component/web/base/Stepper.less ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"stepperBox\":\"Stepper_stepperBox_3Go6\",\"button\":\"Stepper_button_u6Fp\",\"activeBut\":\"Stepper_activeBut_298u\",\"disabledBut\":\"Stepper_disabledBut_1lWj\",\"inputBox\":\"Stepper_inputBox_2h9m\",\"disabledInput\":\"Stepper_disabledInput_RwKM\",\"activeInput\":\"Stepper_activeInput_2eP2\",\"defaultStyleBox\":\"Stepper_defaultStyleBox_17so\",\"arrowBox\":\"Stepper_arrowBox_29nx\",\"paddingRight\":\"Stepper_paddingRight_1mmv\",\"embedBox\":\"Stepper_embedBox_1xey\",\"embedArrowBox\":\"Stepper_embedArrowBox_1qdq\",\"upperBut\":\"Stepper_upperBut_3goe\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Stepper.less?");

/***/ }),

/***/ "./src/component/web/base/Switch.less":
/*!********************************************!*\
  !*** ./src/component/web/base/Switch.less ***!
  \********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"wrapper\":\"Switch_wrapper_1HdI\",\"wrap-disabled\":\"Switch_wrap-disabled_29Yr\",\"inner\":\"Switch_inner_fNqk\",\"bk-color\":\"Switch_bk-color_VIfL\",\"pointer\":\"Switch_pointer_3et5\",\"open\":\"Switch_open_2-zz\",\"wrapper-1\":\"Switch_wrapper-1_3ILk\",\"wrapper-2\":\"Switch_wrapper-2_1Sib\",\"wrapper-3\":\"Switch_wrapper-3_FdHE\",\"wrapper-4\":\"Switch_wrapper-4_3cAU\",\"wrapper-5\":\"Switch_wrapper-5_oUcW\",\"small-inner\":\"Switch_small-inner_3IxL\",\"inner-disabled\":\"Switch_inner-disabled_3aGj\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Switch.less?");

/***/ }),

/***/ "./src/component/web/base/TabIconMenu.less":
/*!*************************************************!*\
  !*** ./src/component/web/base/TabIconMenu.less ***!
  \*************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"tabMenuIconList\":\"TabIconMenu_tabMenuIconList_3x-C\",\"tabMenuIcon\":\"TabIconMenu_tabMenuIcon_IyFB\",\"teamworkIcon\":\"TabIconMenu_teamworkIcon_3o9y\",\"insightIcon\":\"TabIconMenu_insightIcon_ugqB\",\"helpcenterIcon\":\"TabIconMenu_helpcenterIcon_1GXT\",\"popover\":\"TabIconMenu_popover_3mUG\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/TabIconMenu.less?");

/***/ }),

/***/ "./src/component/web/base/Tabs/styles/Tab.less":
/*!*****************************************************!*\
  !*** ./src/component/web/base/Tabs/styles/Tab.less ***!
  \*****************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"tab-item-common\":\"Tab_tab-item-common_1j4E\",\"locked\":\"Tab_locked_99GF\",\"close\":\"Tab_close_t8gF\",\"item-content\":\"Tab_item-content_1yGu\",\"item-title\":\"Tab_item-title_v8ze\",\"bar-0-tab-active\":\"Tab_bar-0-tab-active_353M\",\"bar-panel-common\":\"Tab_bar-panel-common_3TXg\",\"bar-prev-common\":\"Tab_bar-prev-common_3vEQ\",\"bar-next-common\":\"Tab_bar-next-common_2gdZ\",\"tab\":\"Tab_tab_1-rc\",\"appHomeTab\":\"Tab_appHomeTab_3qvO\",\"bar\":\"Tab_bar_3wzP\",\"bar-5\":\"Tab_bar-5_3mXz\",\"static-tab\":\"Tab_static-tab_1BWb\",\"static-tab-item\":\"Tab_static-tab-item_1Vmw\",\"active\":\"Tab_active_3QxQ\",\"show-prev\":\"Tab_show-prev_2doM\",\"bar-panel\":\"Tab_bar-panel_1ygR\",\"bar-nav-scroll\":\"Tab_bar-nav-scroll_177B\",\"bar-nav-animated\":\"Tab_bar-nav-animated_SdsU\",\"item\":\"Tab_item_2oSx\",\"bar-prev\":\"Tab_bar-prev_1qrQ\",\"bar-next\":\"Tab_bar-next_fW1g\",\"bar-btn-disabled\":\"Tab_bar-btn-disabled_2gLP\",\"show-next\":\"Tab_show-next_3nzk\",\"bar-panel-prev\":\"Tab_bar-panel-prev_pV0F\",\"bar-panel-next\":\"Tab_bar-panel-next_3VLb\",\"bar-panel-prev-next\":\"Tab_bar-panel-prev-next_2wVQ\",\"home-item\":\"Tab_home-item_8pvl\",\"home-more\":\"Tab_home-more_3_TK\",\"add\":\"Tab_add_2Agf\",\"bar-panel-appHomeMode\":\"Tab_bar-panel-appHomeMode_3yXY\",\"bar-prev-appHomeMode\":\"Tab_bar-prev-appHomeMode_1_Hl\",\"bar-next-appHomeMode\":\"Tab_bar-next-appHomeMode_ZFWy\",\"bar-icon\":\"Tab_bar-icon_2TRp\",\"bar-moreBtn\":\"Tab_bar-moreBtn_1AMu\",\"bar-appHomeMode\":\"Tab_bar-appHomeMode_2Svd\",\"barStretch\":\"Tab_barStretch_2XYG\",\"barHide\":\"Tab_barHide_2Yos\",\"barRunHide\":\"Tab_barRunHide_1iHo\",\"panel\":\"Tab_panel_1bef\",\"panel-item\":\"Tab_panel-item_1NpS\",\"reserved-space\":\"Tab_reserved-space_3UkZ\",\"full\":\"Tab_full_1fIn\",\"menus\":\"Tab_menus_1tPS\",\"menuInfo\":\"Tab_menuInfo_2pjF\",\"menu-able\":\"Tab_menu-able_2J0w\",\"menu-disable\":\"Tab_menu-disable_24Z-\",\"home-tab-fix\":\"Tab_home-tab-fix_3D-1\",\"bar-more\":\"Tab_bar-more_bEYg\",\"bar-more-icon\":\"Tab_bar-more-icon_E8sZ\",\"bar-more-panel\":\"Tab_bar-more-panel_1CQi\",\"operations-more\":\"Tab_operations-more_3D72\",\"items-more\":\"Tab_items-more_YeKL\",\"select\":\"Tab_select_1pVn\",\"select-item\":\"Tab_select-item_2I0F\",\"icon-close\":\"Tab_icon-close_3JzD\",\"select-item-disable\":\"Tab_select-item-disable_11hV\",\"bar-0\":\"Tab_bar-0_3vXw\",\"bar-1\":\"Tab_bar-1_1T3k\",\"bar-2\":\"Tab_bar-2_PYwF\",\"bar-3\":\"Tab_bar-3_83NY\",\"bar-4\":\"Tab_bar-4_1Yf6\",\"menus-more\":\"Tab_menus-more_2bqe\",\"inside-hide\":\"Tab_inside-hide_1VAq\",\"border-padding_10\":\"Tab_border-padding_10_2YC0\",\"more-search\":\"Tab_more-search_1JmD\",\"more-search-inner\":\"Tab_more-search-inner_3TzB\",\"more-search-i\":\"Tab_more-search-i_4mrS\",\"context-menu\":\"Tab_context-menu_2mW3\",\"verticalBar\":\"Tab_verticalBar_plpW\",\"verticalTag\":\"Tab_verticalTag_3Phc\",\"dropdown\":\"Tab_dropdown_2Abq\",\"dropdown-active-menu-item\":\"Tab_dropdown-active-menu-item_2WiH\",\"clone-drag-item\":\"Tab_clone-drag-item_2KYl\",\"in-drag-item\":\"Tab_in-drag-item_p1qJ\",\"dropdown-menu-item\":\"Tab_dropdown-menu-item_3PAK\",\"full-screen\":\"Tab_full-screen_2TBR\",\"dot-icon-wrap\":\"Tab_dot-icon-wrap_1Yuu\",\"dot-icon\":\"Tab_dot-icon_FuPg\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Tabs/styles/Tab.less?");

/***/ }),

/***/ "./src/component/web/base/Tabs/styles/TabSimple.less":
/*!***********************************************************!*\
  !*** ./src/component/web/base/Tabs/styles/TabSimple.less ***!
  \***********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"bar-moreBtn-0\":\"TabSimple_bar-moreBtn-0_2p8F\",\"bar-panel-1\":\"TabSimple_bar-panel-1_1ns5\",\"bar-nav-scroll\":\"TabSimple_bar-nav-scroll_Ldin\",\"bar-nav-animated\":\"TabSimple_bar-nav-animated_1fry\",\"item\":\"TabSimple_item_2ips\",\"add\":\"TabSimple_add_1AIy\",\"bar-prev-1\":\"TabSimple_bar-prev-1_m4Lt\",\"bar-next-1\":\"TabSimple_bar-next-1_1u1L\",\"bar-moreBtn-1\":\"TabSimple_bar-moreBtn-1_3O4e\",\"bar-panel-2\":\"TabSimple_bar-panel-2_2Fy3\",\"bar-panel-3\":\"TabSimple_bar-panel-3_35SW\",\"item-title\":\"TabSimple_item-title_23p0\",\"bar-prev-3\":\"TabSimple_bar-prev-3_fTIb\",\"bar-next-3\":\"TabSimple_bar-next-3_3CqI\",\"bar-moreBtn-3\":\"TabSimple_bar-moreBtn-3_1mfS\",\"bar-panel-4\":\"TabSimple_bar-panel-4_2uhj\",\"bar-card-borderStyle\":\"TabSimple_bar-card-borderStyle_4lQb\",\"bar-card-border\":\"TabSimple_bar-card-border_2VNx\",\"bar-prev-4\":\"TabSimple_bar-prev-4_3HEU\",\"bar-next-4\":\"TabSimple_bar-next-4_jJbH\",\"bar-moreBtn-4\":\"TabSimple_bar-moreBtn-4_9IwY\",\"bar-moreBtn-5\":\"TabSimple_bar-moreBtn-5_2DXX\",\"bar-btn-disabled\":\"TabSimple_bar-btn-disabled_23QS\",\"verticalBar\":\"TabSimple_verticalBar_2UPz\",\"verticalTag\":\"TabSimple_verticalTag_3D8f\",\"locked\":\"TabSimple_locked_39ew\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Tabs/styles/TabSimple.less?");

/***/ }),

/***/ "./src/component/web/base/Telephone/Telephone.less":
/*!*********************************************************!*\
  !*** ./src/component/web/base/Telephone/Telephone.less ***!
  \*********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"root\":\"Telephone_root_3GAj\",\"flat\":\"Telephone_flat_tJHy\",\"via\":\"Telephone_via_2BBc\",\"input-area\":\"Telephone_input-area_3nLo\",\"arrow-base\":\"Telephone_arrow-base_NQLg\",\"arrow-default\":\"Telephone_arrow-default_14Hp\",\"arrow-flat\":\"Telephone_arrow-flat_2D1Q\",\"no-data-tip-class\":\"Telephone_no-data-tip-class_1Yng\",\"search-panel\":\"Telephone_search-panel_3gDs\",\"search-ul\":\"Telephone_search-ul_ZDCl\",\"search-li\":\"Telephone_search-li_3sjc\",\"search-input-div\":\"Telephone_search-input-div_A1Gz\",\"search-icon\":\"Telephone_search-icon_3wlP\",\"search-input\":\"Telephone_search-input_36VU\",\"no-result-li\":\"Telephone_no-result-li_1UJD\",\"lock-with-no-value\":\"Telephone_lock-with-no-value_1c-g\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Telephone/Telephone.less?");

/***/ }),

/***/ "./src/component/web/base/Time.less":
/*!******************************************!*\
  !*** ./src/component/web/base/Time.less ***!
  \******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"arrow-move-in-animation\":\"Time_arrow-move-in-animation_2czy\",\"arrow-move-out-animation\":\"Time_arrow-move-out-animation_iZh9\",\"panel-drop-down-animation\":\"Time_panel-drop-down-animation_2fbi\",\"panel-drop-down\":\"Time_panel-drop-down_34EY\",\"time\":\"Time_time_2SK-\",\"time-clear-icon\":\"Time_time-clear-icon_2sSw\",\"pr-36\":\"Time_pr-36_1ZNT\",\"pr-18\":\"Time_pr-18_9C6B\",\"lock-with-no-value\":\"Time_lock-with-no-value_1xJ6\",\"time-icon\":\"Time_time-icon_1DI1\",\"time-input\":\"Time_time-input_1IjX\",\"time-title\":\"Time_time-title_3WoU\",\"time-panel\":\"Time_time-panel_M8m6\",\"time-picker\":\"Time_time-picker_2ZU2\",\"time-column-picker\":\"Time_time-column-picker_1E7F\",\"time-picker-footer\":\"Time_time-picker-footer_3H74\",\"time-picker-footer-ok\":\"Time_time-picker-footer-ok_3n6J\",\"arrow-move-in\":\"Time_arrow-move-in_2APE\",\"arrow-move-out\":\"Time_arrow-move-out_25kK\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Time.less?");

/***/ }),

/***/ "./src/component/web/base/TimeRange.less":
/*!***********************************************!*\
  !*** ./src/component/web/base/TimeRange.less ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"arrow-move-in-animation\":\"TimeRange_arrow-move-in-animation_1ZyF\",\"arrow-move-out-animation\":\"TimeRange_arrow-move-out-animation_dV_s\",\"panel-drop-down-animation\":\"TimeRange_panel-drop-down-animation_32tQ\",\"panel-drop-down\":\"TimeRange_panel-drop-down_2sdP\",\"time-range\":\"TimeRange_time-range_3aww\",\"time-range-icon\":\"TimeRange_time-range-icon_1emq\",\"lock-with-no-value\":\"TimeRange_lock-with-no-value_1z18\",\"time-clear-icon\":\"TimeRange_time-clear-icon_2CG4\",\"pr-36\":\"TimeRange_pr-36_zYSw\",\"pr-18\":\"TimeRange_pr-18_38s3\",\"time-input\":\"TimeRange_time-input_1s52\",\"time-range-input\":\"TimeRange_time-range-input_3lX1\",\"time-range-panel\":\"TimeRange_time-range-panel_3_2m\",\"time-range-panel-content\":\"TimeRange_time-range-panel-content_1K7G\",\"time-range-title\":\"TimeRange_time-range-title_d36d\",\"time-range-title-left\":\"TimeRange_time-range-title-left_3zPi\",\"time-range-title-right\":\"TimeRange_time-range-title-right_3qjU\",\"time-range-picker-footer\":\"TimeRange_time-range-picker-footer_2vFW\",\"time-range-picker-footer-ok\":\"TimeRange_time-range-picker-footer-ok_2oEw\",\"time-range-picker-footer-clear\":\"TimeRange_time-range-picker-footer-clear_Xbly\",\"time-picker\":\"TimeRange_time-picker_1Y_y\",\"time-column-picker\":\"TimeRange_time-column-picker_2l52\",\"arrow-move-in\":\"TimeRange_arrow-move-in_3vzw\",\"arrow-move-out\":\"TimeRange_arrow-move-out_kQ1G\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/TimeRange.less?");

/***/ }),

/***/ "./src/component/web/base/Toolbar.less":
/*!*********************************************!*\
  !*** ./src/component/web/base/Toolbar.less ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"toolbar\":\"Toolbar_toolbar_2cY1\",\"textspan\":\"Toolbar_textspan_2gee\",\"loading\":\"Toolbar_loading_2glc\",\"movinLoading\":\"Toolbar_movinLoading_3Jte\",\"mask\":\"Toolbar_mask_1wws\",\"buttonLoading\":\"Toolbar_buttonLoading_3xDJ\",\"dropDownLoading\":\"Toolbar_dropDownLoading_o4km\",\"movinType2\":\"Toolbar_movinType2_L4dI\",\"textLoading\":\"Toolbar_textLoading_15te\",\"textLoaded\":\"Toolbar_textLoaded_2zTf\",\"changeOpactity\":\"Toolbar_changeOpactity_1Jg4\",\"dropDownTextLoaded\":\"Toolbar_dropDownTextLoaded_1Rla\",\"changeDropDownOpactity\":\"Toolbar_changeDropDownOpactity_2ev7\",\"maskMoving\":\"Toolbar_maskMoving_3l4Y\",\"changebg\":\"Toolbar_changebg_VfQa\",\"toolbarItem\":\"Toolbar_toolbarItem_3toe\",\"maskerMinxin\":\"Toolbar_maskerMinxin_1QR1\",\"masker\":\"Toolbar_masker_1UPY\",\"groupMaskerMinxin\":\"Toolbar_groupMaskerMinxin_1mai\",\"toolbarItemSingle\":\"Toolbar_toolbarItemSingle_28zC\",\"toolbarItemSingleL\":\"Toolbar_toolbarItemSingleL_3o_N\",\"theme-bg\":\"Toolbar_theme-bg_2SYL\",\"toolbarItemSet\":\"Toolbar_toolbarItemSet_pSv6\",\"toolbarItemSetL\":\"Toolbar_toolbarItemSetL_3HS2\",\"downdiv\":\"Toolbar_downdiv_LQ0l\",\"downIcon\":\"Toolbar_downIcon_16rb\",\"toolbarItemGroup\":\"Toolbar_toolbarItemGroup_3Eel\",\"isWhiteBg\":\"Toolbar_isWhiteBg_21AF\",\"title-wrap\":\"Toolbar_title-wrap_3SEf\",\"mid-border\":\"Toolbar_mid-border_1fKV\",\"textspanL\":\"Toolbar_textspanL_T17D\",\"defaultspan\":\"Toolbar_defaultspan_2wr4\",\"disable-item\":\"Toolbar_disable-item_1tRI\",\"toolbarItemGroupL\":\"Toolbar_toolbarItemGroupL_yziU\",\"moreBtn\":\"Toolbar_moreBtn_3uvB\",\"toolbarItemPanel\":\"Toolbar_toolbarItemPanel_1H8y\",\"list\":\"Toolbar_list_3dJh\",\"dropdownItem\":\"Toolbar_dropdownItem_VLVa\",\"dropdownItemSpan\":\"Toolbar_dropdownItemSpan_1X4N\",\"itemLocked\":\"Toolbar_itemLocked_cZoY\",\"add\":\"Toolbar_add_fUWx\",\"toolbarItemLoading\":\"Toolbar_toolbarItemLoading_3e8C\",\"toolbarloading\":\"Toolbar_toolbarloading_1dwQ\",\"toolbarItemContainer\":\"Toolbar_toolbarItemContainer_1si3\",\"toolbaritem\":\"Toolbar_toolbaritem_3V4Z\",\"hoverActive\":\"Toolbar_hoverActive_u3Br\",\"showLoading\":\"Toolbar_showLoading_2337\",\"iconrotate\":\"Toolbar_iconrotate_1rvF\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Toolbar.less?");

/***/ }),

/***/ "./src/component/web/base/TransferContainer.less":
/*!*******************************************************!*\
  !*** ./src/component/web/base/TransferContainer.less ***!
  \*******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"topheader-title\":\"TransferContainer_topheader-title_2dyX\",\"root\":\"TransferContainer_root_2KZ9\",\"listbox\":\"TransferContainer_listbox_1dky\",\"topheader\":\"TransferContainer_topheader_2IJI\",\"lefttitle\":\"TransferContainer_lefttitle_2AhO\",\"handlemenu\":\"TransferContainer_handlemenu_FaN0\",\"treemodel\":\"TransferContainer_treemodel_1y4c\",\"treeClass\":\"TransferContainer_treeClass_3gkn\",\"iconClassName\":\"TransferContainer_iconClassName_103y\",\"title-checkbox\":\"TransferContainer_title-checkbox_HhJ4\",\"disabled\":\"TransferContainer_disabled_12iR\",\"listbox-content\":\"TransferContainer_listbox-content_2rOR\",\"item-list\":\"TransferContainer_item-list_1xi4\",\"item\":\"TransferContainer_item_XOte\",\"locked\":\"TransferContainer_locked_1wEe\",\"name\":\"TransferContainer_name_1SF3\",\"append\":\"TransferContainer_append_uJOM\",\"checkbox\":\"TransferContainer_checkbox_3BKH\",\"name-container\":\"TransferContainer_name-container_1-Cc\",\"tree\":\"TransferContainer_tree_pp_r\",\"item-nodata\":\"TransferContainer_item-nodata_2EU6\",\"nodata-type1\":\"TransferContainer_nodata-type1_3lkw\",\"btncontainer\":\"TransferContainer_btncontainer_21xC\",\"btn-primary\":\"TransferContainer_btn-primary_3Xur\",\"icon\":\"TransferContainer_icon_1PGO\",\"title\":\"TransferContainer_title_3v5N\",\"btn-top\":\"TransferContainer_btn-top_1WMV\",\"transfertree\":\"TransferContainer_transfertree_33fe\",\"listbox-treemodel\":\"TransferContainer_listbox-treemodel_3Exf\",\"outline-color\":\"TransferContainer_outline-color_2NHT\",\"filter\":\"TransferContainer_filter_8oK-\",\"filter-icon\":\"TransferContainer_filter-icon_3Ptv\",\"del-icon\":\"TransferContainer_del-icon_2jeo\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/TransferContainer.less?");

/***/ }),

/***/ "./src/component/web/base/Tree.less":
/*!******************************************!*\
  !*** ./src/component/web/base/Tree.less ***!
  \******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"tree\":\"Tree_tree_3RZ2\",\"node\":\"Tree_node_2zRH\",\"hide\":\"Tree_hide_vYT-\",\"root-node\":\"Tree_root-node_10f6\",\"title\":\"Tree_title_3NnT\",\"content\":\"Tree_content_sR6y\",\"no-child\":\"Tree_no-child_xQ92\",\"disabled\":\"Tree_disabled_3c9n\",\"drag-line\":\"Tree_drag-line_7iNI\",\"switcher\":\"Tree_switcher_2MG0\",\"on\":\"Tree_on_1sOB\",\"white-on\":\"Tree_white-on_mKUJ\",\"white-off\":\"Tree_white-off_1Pa-\",\"no-switcher\":\"Tree_no-switcher_3pdq\",\"checkbox\":\"Tree_checkbox_dp3a\",\"label-panel\":\"Tree_label-panel_199d\",\"label-item\":\"Tree_label-item_bXEH\",\"item-content\":\"Tree_item-content_26fG\",\"tree-tooltip\":\"Tree_tree-tooltip_iVho\",\"switcher-selected\":\"Tree_switcher-selected_1yzP\",\"tree-icon\":\"Tree_tree-icon_2uUU\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Tree.less?");

/***/ }),

/***/ "./src/component/web/base/TreeMenu.less":
/*!**********************************************!*\
  !*** ./src/component/web/base/TreeMenu.less ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"vertivalNav\":\"TreeMenu_vertivalNav_2f8k\",\"iconPanel\":\"TreeMenu_iconPanel_q3wi\",\"icon\":\"TreeMenu_icon_2gl8\",\"item\":\"TreeMenu_item_3LFI\",\"activeChunk\":\"TreeMenu_activeChunk_2rV1\",\"switch-level1\":\"TreeMenu_switch-level1_JNUd\",\"switch-level1-button\":\"TreeMenu_switch-level1-button_1dWR\",\"item-wrap\":\"TreeMenu_item-wrap_2KKS\",\"hoverItem\":\"TreeMenu_hoverItem_2mhs\",\"titleItem\":\"TreeMenu_titleItem_uU4I\",\"collection\":\"TreeMenu_collection_2goR\",\"no-collect\":\"TreeMenu_no-collect_KtmZ\",\"level1\":\"TreeMenu_level1_3Wq4\",\"style-1\":\"TreeMenu_style-1_3Pfo\",\"iconItem\":\"TreeMenu_iconItem_1E6C\",\"title-not-Expand\":\"TreeMenu_title-not-Expand_2izJ\",\"hover-panel\":\"TreeMenu_hover-panel_1913\",\"scrollPanel\":\"TreeMenu_scrollPanel_2sRr\",\"noIcon\":\"TreeMenu_noIcon_2qMm\",\"space\":\"TreeMenu_space_3jLA\",\"switch-level1-icon\":\"TreeMenu_switch-level1-icon_3UlB\",\"fold-panel\":\"TreeMenu_fold-panel_aI7r\",\"foldIcon\":\"TreeMenu_foldIcon_3Bhb\",\"no-fold\":\"TreeMenu_no-fold_1JSB\",\"third-level-item\":\"TreeMenu_third-level-item_2To4\",\"second-level-wrap\":\"TreeMenu_second-level-wrap_10w2\",\"empty-icon\":\"TreeMenu_empty-icon_3erc\",\"hide\":\"TreeMenu_hide_1jwg\",\"chunk\":\"TreeMenu_chunk_1ADI\",\"level2\":\"TreeMenu_level2_3Djb\",\"level3-menu\":\"TreeMenu_level3-menu_1KAt\",\"level3\":\"TreeMenu_level3_1DyS\",\"item-text\":\"TreeMenu_item-text_G85Y\",\"item-text-expand\":\"TreeMenu_item-text-expand_2UOE\",\"item-hover\":\"TreeMenu_item-hover_BY8R\",\"border\":\"TreeMenu_border_1_Rf\",\"title\":\"TreeMenu_title_mQK6\",\"chunkWrapper\":\"TreeMenu_chunkWrapper_6oFT\",\"isCollection\":\"TreeMenu_isCollection_piuQ\",\"hide-scroll\":\"TreeMenu_hide-scroll_Pr4j\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/TreeMenu.less?");

/***/ }),

/***/ "./src/component/web/base/TreeMenuThirdLevel.less":
/*!********************************************************!*\
  !*** ./src/component/web/base/TreeMenuThirdLevel.less ***!
  \********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"thirdLevel_wrap\":\"TreeMenuThirdLevel_thirdLevel_wrap_3b5B\",\"thirdLevel\":\"TreeMenuThirdLevel_thirdLevel_1-1G\",\"chunk\":\"TreeMenuThirdLevel_chunk_1gry\",\"chunk_li\":\"TreeMenuThirdLevel_chunk_li_ovSU\",\"chunk_title\":\"TreeMenuThirdLevel_chunk_title_2Wvw\",\"chunk_title_canClick\":\"TreeMenuThirdLevel_chunk_title_canClick_uZx9\",\"chunk_ul\":\"TreeMenuThirdLevel_chunk_ul_1hLx\",\"chunkWrapper\":\"TreeMenuThirdLevel_chunkWrapper_1hR0\",\"chunk_maxHeightUl\":\"TreeMenuThirdLevel_chunk_maxHeightUl_h2zg\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/TreeMenuThirdLevel.less?");

/***/ }),

/***/ "./src/component/web/base/Widget.less":
/*!********************************************!*\
  !*** ./src/component/web/base/Widget.less ***!
  \********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"container\":\"Widget_container_2bUb\",\"group-panel\":\"Widget_group-panel_1_3O\",\"widget\":\"Widget_widget_a0vU\",\"group-panel-with-title\":\"Widget_group-panel-with-title_IW0Q\",\"title\":\"Widget_title_1zq1\",\"empty-cart-text\":\"Widget_empty-cart-text_2Yxb\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Widget.less?");

/***/ }),

/***/ "./src/component/web/base/Wizard.less":
/*!********************************************!*\
  !*** ./src/component/web/base/Wizard.less ***!
  \********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"wizard\":\"Wizard_wizard_1ELx\",\"wizard-ver\":\"Wizard_wizard-ver_2Ifd\",\"item-left\":\"Wizard_item-left_1xJd\",\"box\":\"Wizard_box_2VhL\",\"num\":\"Wizard_num_2K4i\",\"text\":\"Wizard_text_-AsW\",\"item-bottom\":\"Wizard_item-bottom_3oL_\",\"item-top\":\"Wizard_item-top_3YcU\",\"item-right\":\"Wizard_item-right_1JPw\",\"box-cursor\":\"Wizard_box-cursor_2lom\",\"item-ver\":\"Wizard_item-ver_1B7Z\",\"text-ver\":\"Wizard_text-ver_2_OF\",\"num-ver\":\"Wizard_num-ver_MSpB\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/Wizard.less?");

/***/ }),

/***/ "./src/component/web/base/WorkCalendar.less":
/*!**************************************************!*\
  !*** ./src/component/web/base/WorkCalendar.less ***!
  \**************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"root\":\"WorkCalendar_root_3AMU\",\"panel\":\"WorkCalendar_panel_1YEQ\",\"daytype\":\"WorkCalendar_daytype_3HDO\",\"item\":\"WorkCalendar_item_3rSN\",\"icon\":\"WorkCalendar_icon_2JK9\",\"workday\":\"WorkCalendar_workday_30x7\",\"weekend\":\"WorkCalendar_weekend_1KOP\",\"holiday\":\"WorkCalendar_holiday_1_Rv\",\"halfday\":\"WorkCalendar_halfday_8KEH\",\"text\":\"WorkCalendar_text_32Vi\",\"header\":\"WorkCalendar_header_Dyyk\",\"detail-container\":\"WorkCalendar_detail-container_3CFZ\",\"block\":\"WorkCalendar_block_NJt5\",\"title-container\":\"WorkCalendar_title-container_2M9d\",\"arrow-left\":\"WorkCalendar_arrow-left_G75y\",\"arrow-right\":\"WorkCalendar_arrow-right_rOxZ\",\"title\":\"WorkCalendar_title_3x7K\",\"button-container\":\"WorkCalendar_button-container_VI4R\",\"btn\":\"WorkCalendar_btn_1M6u\",\"body\":\"WorkCalendar_body_2h-d\",\"view\":\"WorkCalendar_view_26oF\",\"current-month\":\"WorkCalendar_current-month_3aZn\",\"day\":\"WorkCalendar_day_1tgy\",\"day-active\":\"WorkCalendar_day-active_3qQS\",\"disable\":\"WorkCalendar_disable_3hAv\",\"unlocked-weekend\":\"WorkCalendar_unlocked-weekend_12B_\",\"unlocked-notset-workday\":\"WorkCalendar_unlocked-notset-workday_KEKL\",\"unlocked-workday\":\"WorkCalendar_unlocked-workday_2_H_\",\"today\":\"WorkCalendar_today_2G4b\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/WorkCalendar.less?");

/***/ }),

/***/ "./src/component/web/base/baseComponent.less":
/*!***************************************************!*\
  !*** ./src/component/web/base/baseComponent.less ***!
  \***************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"hidden\":\"baseComponent_hidden_3y7D\",\"inputbox\":\"baseComponent_inputbox_sbJJ\",\"close\":\"baseComponent_close_2RPg\",\"close-padding\":\"baseComponent_close-padding_39En\",\"close-padding-lock\":\"baseComponent_close-padding-lock_1VDd\",\"input\":\"baseComponent_input_3MN-\",\"input-flat\":\"baseComponent_input-flat_2wCu\",\"disabled\":\"baseComponent_disabled_2yUP\",\"input-default\":\"baseComponent_input-default_3oih\",\"textarea\":\"baseComponent_textarea_Asj4\",\"placeholder-control\":\"baseComponent_placeholder-control_1HnU\",\"card-row-panel\":\"baseComponent_card-row-panel_2QEf\",\"card-row-panel-content\":\"baseComponent_card-row-panel-content_2NaF\",\"empty-card-row-panel\":\"baseComponent_empty-card-row-panel_2jAU\",\"textBox\":\"baseComponent_textBox_1zw6\",\"panelHover\":\"baseComponent_panelHover_M9MX\",\"pointer\":\"baseComponent_pointer_1dUN\",\"triangle\":\"baseComponent_triangle_11Lh\",\"selectstyel1\":\"baseComponent_selectstyel1_1zEG\",\"label\":\"baseComponent_label_2gZk\",\"btn\":\"baseComponent_btn_1V1i\",\"btn-icon\":\"baseComponent_btn-icon_1ESE\",\"icon\":\"baseComponent_icon_1PIc\",\"btn-default\":\"baseComponent_btn-default_3R2V\",\"has-min-width\":\"baseComponent_has-min-width_20fw\",\"min-width\":\"baseComponent_min-width_1tDr\",\"masker\":\"baseComponent_masker_27Fv\",\"btn-text\":\"baseComponent_btn-text_3aNG\",\"btn-border\":\"baseComponent_btn-border_1Ic1\",\"btn-upimgdowntxt\":\"baseComponent_btn-upimgdowntxt_3Pqe\",\"img-upimgdowntxt\":\"baseComponent_img-upimgdowntxt_2he3\",\"btn-img\":\"baseComponent_btn-img_26Mg\",\"is-icon\":\"baseComponent_is-icon_1xWU\",\"loading\":\"baseComponent_loading_172j\",\"buttonLoading\":\"baseComponent_buttonLoading_2Bs8\",\"btn-leftimgrighttxt\":\"baseComponent_btn-leftimgrighttxt_1rwO\",\"img-leftimgrighttxt\":\"baseComponent_img-leftimgrighttxt_jgsB\",\"text-upimgdowntxt\":\"baseComponent_text-upimgdowntxt_2p64\",\"text-leftimgrighttxt\":\"baseComponent_text-leftimgrighttxt_2llA\",\"btn-text-overflow\":\"baseComponent_btn-text-overflow_Q8i6\",\"radio\":\"baseComponent_radio_2Id1\",\"checkbox\":\"baseComponent_checkbox_qC_I\",\"checkbox-check\":\"baseComponent_checkbox-check_2ZC9\",\"checkboxBtn\":\"baseComponent_checkboxBtn_3lCq\",\"is-grid-no-label\":\"baseComponent_is-grid-no-label_10Wl\",\"ie-font\":\"baseComponent_ie-font_491w\",\"checkbox1\":\"baseComponent_checkbox1_5GJX\",\"ck1-label\":\"baseComponent_ck1-label_xgf1\",\"checked\":\"baseComponent_checked_1S7x\",\"checkbox2\":\"baseComponent_checkbox2_2ZTZ\",\"switchBtn\":\"baseComponent_switchBtn_1dUW\",\"switchOpen\":\"baseComponent_switchOpen_1HBB\",\"select\":\"baseComponent_select_4VX0\",\"image\":\"baseComponent_image_2g9_\",\"imgCursor\":\"baseComponent_imgCursor_1Oc8\",\"hyperlink\":\"baseComponent_hyperlink_2wX0\",\"underline\":\"baseComponent_underline_3os2\",\"input-number-div\":\"baseComponent_input-number-div_1VGF\",\"symbol-class\":\"baseComponent_symbol-class_2Rfd\",\"input-p\":\"baseComponent_input-p_2cW8\",\"checkbox-disabled\":\"baseComponent_checkbox-disabled_3CtL\",\"radio-tag-style-default\":\"baseComponent_radio-tag-style-default_Qebm\",\"label-style-width\":\"baseComponent_label-style-width_2g8P\",\"label-style-align\":\"baseComponent_label-style-align_14UU\",\"radio-tag-style-checked\":\"baseComponent_radio-tag-style-checked_2cB3\",\"radio-tag-style-disabled\":\"baseComponent_radio-tag-style-disabled_2-vK\",\"radio-tag-style-label\":\"baseComponent_radio-tag-style-label_2cr2\",\"radio-default-style\":\"baseComponent_radio-default-style_2BKv\",\"radio-default-disabled-style\":\"baseComponent_radio-default-disabled-style_10Vz\",\"radio-default-label-disabled\":\"baseComponent_radio-default-label-disabled_3E7I\",\"check-tag-style\":\"baseComponent_check-tag-style_kXxX\",\"tag-checkbox\":\"baseComponent_tag-checkbox_37Ws\",\"svg-json-div\":\"baseComponent_svg-json-div_13ww\",\"mul-text\":\"baseComponent_mul-text_Hthg\",\"text-mark\":\"baseComponent_text-mark_Ba54\",\"over-length\":\"baseComponent_over-length_3MsK\",\"flex-field\":\"baseComponent_flex-field_13Gz\",\"flex-field-view-icon\":\"baseComponent_flex-field-view-icon_290q\",\"dropdown\":\"baseComponent_dropdown_1SV9\",\"dropdown-item\":\"baseComponent_dropdown-item_2iJp\",\"field-disabled-no-value-color\":\"baseComponent_field-disabled-no-value-color_mR0R\",\"loadingType2\":\"baseComponent_loadingType2_3yaJ\",\"containerMask\":\"baseComponent_containerMask_3xi3\",\"imgContainer\":\"baseComponent_imgContainer_Xg-G\",\"drag-mask\":\"baseComponent_drag-mask_1zHQ\",\"imgLoading\":\"baseComponent_imgLoading_2mHN\",\"movinLoading\":\"baseComponent_movinLoading_1Y0w\",\"textLoading\":\"baseComponent_textLoading_3c1L\",\"maskLoading\":\"baseComponent_maskLoading_3K2l\",\"changeOpactity\":\"baseComponent_changeOpactity_2k29\",\"btn-masker\":\"baseComponent_btn-masker_1cYm\",\"btn-disabled\":\"baseComponent_btn-disabled_3RL2\",\"email-wrap\":\"baseComponent_email-wrap_3_8C\",\"showEditButton\":\"baseComponent_showEditButton_GQr_\",\"checkbox-content\":\"baseComponent_checkbox-content_1ViP\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/baseComponent.less?");

/***/ }),

/***/ "./src/component/web/base/kdfont.json":
/*!********************************************!*\
  !*** ./src/component/web/base/kdfont.json ***!
  \********************************************/
/***/ (function(module) {

eval("module.exports = /*#__PURE__*/JSON.parse('[{\"key\":\"default\",\"group_name\":\"default\",\"layout\":0,\"icons\":[]},{\"key\":\"mobile_mianxing\",\"group_name\":\"移动端-面性\",\"layout\":1,\"icons\":[{\"key\":\"kdfont_xuanzhuan4\",\"name\":\"旋转\",\"fontClass\":\"kdfont kdfont-xuanzhuan4\"},{\"key\":\"kdfont_shezhixuanzhong\",\"name\":\"设置选中\",\"fontClass\":\"kdfont kdfont-shezhixuanzhong\"},{\"key\":\"kdfont_shenqingxuanzhong\",\"name\":\"申请选中\",\"fontClass\":\"kdfont kdfont-shenqingxuanzhong\"},{\"key\":\"kdfont_tongjixuanzhong\",\"name\":\"统计选中\",\"fontClass\":\"kdfont kdfont-tongjixuanzhong\"},{\"key\":\"kdfont_changjianwenti\",\"name\":\"常见问题\",\"fontClass\":\"kdfont kdfont-changjianwenti\"},{\"key\":\"kdfont_danju11\",\"name\":\"单据\",\"fontClass\":\"kdfont kdfont-danju11\"},{\"key\":\"kdfont_paixingbang\",\"name\":\"排行榜\",\"fontClass\":\"kdfont kdfont-paixingbang\"},{\"key\":\"kdfont_tongji11\",\"name\":\"统计\",\"fontClass\":\"kdfont kdfont-tongji11\"},{\"key\":\"kdfont_yinxing11\",\"name\":\"银行\",\"fontClass\":\"kdfont kdfont-yinxing11\"},{\"key\":\"kdfont_shiti3\",\"name\":\"实体\",\"fontClass\":\"kdfont kdfont-shiti3\"},{\"key\":\"kdfont_kuozhandingyi2\",\"name\":\"扩展定义\",\"fontClass\":\"kdfont kdfont-kuozhandingyi2\"},{\"key\":\"kdfont_yuanshuju5\",\"name\":\"元数据\",\"fontClass\":\"kdfont kdfont-yuanshuju5\"},{\"key\":\"kdfont_buju3\",\"name\":\"布局\",\"fontClass\":\"kdfont kdfont-buju3\"},{\"key\":\"kdfont_shiti2\",\"name\":\"实体\",\"fontClass\":\"kdfont kdfont-shiti2\"},{\"key\":\"kdfont_shanchu9\",\"name\":\"删除\",\"fontClass\":\"kdfont kdfont-shanchu9\"},{\"key\":\"kdfont_tianjia5\",\"name\":\"添加\",\"fontClass\":\"kdfont kdfont-tianjia5\"},{\"key\":\"kdfont_tiaoxingma\",\"name\":\"条形码\",\"fontClass\":\"kdfont kdfont-tiaoxingma\"},{\"key\":\"kdfont_gouwudai3\",\"name\":\"购物袋\",\"fontClass\":\"kdfont kdfont-gouwudai3\"},{\"key\":\"kdfont_chalv5\",\"name\":\"差旅\",\"fontClass\":\"kdfont kdfont-chalv5\"},{\"key\":\"kdfont_cengji2\",\"name\":\"层级\",\"fontClass\":\"kdfont kdfont-cengji2\"},{\"key\":\"kdfont_chushimao\",\"name\":\"厨师帽\",\"fontClass\":\"kdfont kdfont-chushimao\"},{\"key\":\"kdfont_fenxiang4\",\"name\":\"分享\",\"fontClass\":\"kdfont kdfont-fenxiang4\"},{\"key\":\"kdfont_cangku3\",\"name\":\"仓库\",\"fontClass\":\"kdfont kdfont-cangku3\"},{\"key\":\"kdfont_liuliang3\",\"name\":\"流量\",\"fontClass\":\"kdfont kdfont-liuliang3\"},{\"key\":\"kdfont_biaoqian4\",\"name\":\"标签\",\"fontClass\":\"kdfont kdfont-biaoqian4\"},{\"key\":\"kdfont_bianjixiugai2\",\"name\":\"编辑、修改\",\"fontClass\":\"kdfont kdfont-bianjixiugai2\"},{\"key\":\"kdfont_dianhua3\",\"name\":\"电话\",\"fontClass\":\"kdfont kdfont-dianhua3\"},{\"key\":\"kdfont_daijiesuan2\",\"name\":\"待结算\",\"fontClass\":\"kdfont kdfont-daijiesuan2\"},{\"key\":\"kdfont_daishouhuo2\",\"name\":\"待收货\",\"fontClass\":\"kdfont kdfont-daishouhuo2\"},{\"key\":\"kdfont_diandongche\",\"name\":\"电动车\",\"fontClass\":\"kdfont kdfont-diandongche\"},{\"key\":\"kdfont_dianpu2\",\"name\":\"店铺\",\"fontClass\":\"kdfont kdfont-dianpu2\"},{\"key\":\"kdfont_dingdan7\",\"name\":\"订单\",\"fontClass\":\"kdfont kdfont-dingdan7\"},{\"key\":\"kdfont_dingwei3\",\"name\":\"定位\",\"fontClass\":\"kdfont kdfont-dingwei3\"},{\"key\":\"kdfont_guanbi7\",\"name\":\"关闭\",\"fontClass\":\"kdfont kdfont-guanbi7\"},{\"key\":\"kdfont_gouwuche3\",\"name\":\"购物车\",\"fontClass\":\"kdfont kdfont-gouwuche3\"},{\"key\":\"kdfont_gongwenbao2\",\"name\":\"公文包\",\"fontClass\":\"kdfont kdfont-gongwenbao2\"},{\"key\":\"kdfont_gengduo4\",\"name\":\"更多\",\"fontClass\":\"kdfont kdfont-gengduo4\"},{\"key\":\"kdfont_lingzhong2\",\"name\":\"铃铛、钟\",\"fontClass\":\"kdfont kdfont-lingzhong2\"},{\"key\":\"kdfont_kehu3\",\"name\":\"客户\",\"fontClass\":\"kdfont kdfont-kehu3\"},{\"key\":\"kdfont_liwu\",\"name\":\"礼物\",\"fontClass\":\"kdfont kdfont-liwu\"},{\"key\":\"kdfont_luxiangji\",\"name\":\"录像机\",\"fontClass\":\"kdfont kdfont-luxiangji\"},{\"key\":\"kdfont_naicha\",\"name\":\"奶茶\",\"fontClass\":\"kdfont kdfont-naicha\"},{\"key\":\"kdfont_qiandai2\",\"name\":\"钱袋\",\"fontClass\":\"kdfont kdfont-qiandai2\"},{\"key\":\"kdfont_rili2\",\"name\":\"日历\",\"fontClass\":\"kdfont kdfont-rili2\"},{\"key\":\"kdfont_suo16\",\"name\":\"锁\",\"fontClass\":\"kdfont kdfont-suo16\"},{\"key\":\"kdfont_shuiguoshengxian\",\"name\":\"水果生鲜\",\"fontClass\":\"kdfont kdfont-shuiguoshengxian\"},{\"key\":\"kdfont_shuqian2\",\"name\":\"书签\",\"fontClass\":\"kdfont kdfont-shuqian2\"},{\"key\":\"kdfont_qianbao2\",\"name\":\"钱包\",\"fontClass\":\"kdfont kdfont-qianbao2\"},{\"key\":\"kdfont_pingmuqiehuan\",\"name\":\"屏幕切换\",\"fontClass\":\"kdfont kdfont-pingmuqiehuan\"},{\"key\":\"kdfont_shezhi12\",\"name\":\"设置\",\"fontClass\":\"kdfont kdfont-shezhi12\"},{\"key\":\"kdfont_shouji3\",\"name\":\"手机\",\"fontClass\":\"kdfont kdfont-shouji3\"},{\"key\":\"kdfont_piaoju2\",\"name\":\"票据\",\"fontClass\":\"kdfont kdfont-piaoju2\"},{\"key\":\"kdfont_shandian2\",\"name\":\"闪电\",\"fontClass\":\"kdfont kdfont-shandian2\"},{\"key\":\"kdfont_peisonghuoche2\",\"name\":\"配送、货车\",\"fontClass\":\"kdfont kdfont-peisonghuoche2\"},{\"key\":\"kdfont_jian41\",\"name\":\"减\",\"fontClass\":\"kdfont kdfont-jian41\"},{\"key\":\"kdfont_fenxi18\",\"name\":\"分析\",\"fontClass\":\"kdfont kdfont-fenxi18\"},{\"key\":\"kdfont_duoren4\",\"name\":\"多人\",\"fontClass\":\"kdfont kdfont-duoren4\"},{\"key\":\"kdfont_huiyuan\",\"name\":\"会员\",\"fontClass\":\"kdfont kdfont-huiyuan\"},{\"key\":\"kdfont_paiming\",\"name\":\"排名\",\"fontClass\":\"kdfont kdfont-paiming\"},{\"key\":\"kdfont_shaixuan2\",\"name\":\"筛选\",\"fontClass\":\"kdfont kdfont-shaixuan2\"},{\"key\":\"kdfont_tupian4\",\"name\":\"图片\",\"fontClass\":\"kdfont kdfont-tupian4\"},{\"key\":\"kdfont_wenjianjia2\",\"name\":\"文件夹\",\"fontClass\":\"kdfont kdfont-wenjianjia2\"},{\"key\":\"kdfont_wenhao3\",\"name\":\"问号\",\"fontClass\":\"kdfont kdfont-wenhao3\"},{\"key\":\"kdfont_xiawucha\",\"name\":\"下午茶\",\"fontClass\":\"kdfont kdfont-xiawucha\"},{\"key\":\"kdfont_xianshikejian\",\"name\":\"显示、可见\",\"fontClass\":\"kdfont kdfont-xianshikejian\"},{\"key\":\"kdfont_xiangji3\",\"name\":\"相机\",\"fontClass\":\"kdfont kdfont-xiangji3\"},{\"key\":\"kdfont_xiaoxi6\",\"name\":\"消息\",\"fontClass\":\"kdfont kdfont-xiaoxi6\"},{\"key\":\"kdfont_yiyaoxiang\",\"name\":\"医药箱\",\"fontClass\":\"kdfont kdfont-yiyaoxiang\"},{\"key\":\"kdfont_xuanxiang4\",\"name\":\"选项\",\"fontClass\":\"kdfont kdfont-xuanxiang4\"},{\"key\":\"kdfont_xingxing4\",\"name\":\"星形\",\"fontClass\":\"kdfont kdfont-xingxing4\"},{\"key\":\"kdfont_yun5\",\"name\":\"云\",\"fontClass\":\"kdfont kdfont-yun5\"},{\"key\":\"kdfont_xinfeng\",\"name\":\"信封\",\"fontClass\":\"kdfont kdfont-xinfeng\"},{\"key\":\"kdfont_xinzengdanju\",\"name\":\"新增单据\",\"fontClass\":\"kdfont kdfont-xinzengdanju\"},{\"key\":\"kdfont_xinxing2\",\"name\":\"心形\",\"fontClass\":\"kdfont kdfont-xinxing2\"},{\"key\":\"kdfont_xiaoK2\",\"name\":\"小K\",\"fontClass\":\"kdfont kdfont-xiaoK2\"},{\"key\":\"kdfont_yinxingka2\",\"name\":\"银行卡\",\"fontClass\":\"kdfont kdfont-yinxingka2\"},{\"key\":\"kdfont_yincangbukejian\",\"name\":\"隐藏、不可见\",\"fontClass\":\"kdfont kdfont-yincangbukejian\"},{\"key\":\"kdfont_youhuiquan2\",\"name\":\"优惠券\",\"fontClass\":\"kdfont kdfont-youhuiquan2\"},{\"key\":\"kdfont_zengjia3\",\"name\":\"增加\",\"fontClass\":\"kdfont kdfont-zengjia3\"},{\"key\":\"kdfont_zhiding3\",\"name\":\"置顶\",\"fontClass\":\"kdfont kdfont-zhiding3\"},{\"key\":\"kdfont_baocuncunchu2\",\"name\":\"保存、存储\",\"fontClass\":\"kdfont kdfont-baocuncunchu2\"},{\"key\":\"kdfont_bingtu\",\"name\":\"饼图\",\"fontClass\":\"kdfont kdfont-bingtu\"},{\"key\":\"kdfont_wode2\",\"name\":\"我的\",\"fontClass\":\"kdfont kdfont-wode2\"},{\"key\":\"kdfont_yingyong6\",\"name\":\"应用\",\"fontClass\":\"kdfont kdfont-yingyong6\"},{\"key\":\"kdfont_zhuyefangzi\",\"name\":\"主页、房子\",\"fontClass\":\"kdfont kdfont-zhuyefangzi\"}]},{\"key\":\"mobile_xianxing\",\"group_name\":\"移动端-线性\",\"layout\":2,\"icons\":[{\"key\":\"kdfont_chakanmingxi\",\"name\":\"查看明细\",\"fontClass\":\"kdfont kdfont-chakanmingxi\"},{\"key\":\"kdfont_xiujia\",\"name\":\"休假\",\"fontClass\":\"kdfont kdfont-xiujia\"},{\"key\":\"kdfont_kaoqin\",\"name\":\"考勤\",\"fontClass\":\"kdfont kdfont-kaoqin\"},{\"key\":\"kdfont_jiaban2\",\"name\":\"加班\",\"fontClass\":\"kdfont kdfont-jiaban2\"},{\"key\":\"kdfont_chucha4\",\"name\":\"出差\",\"fontClass\":\"kdfont kdfont-chucha4\"},{\"key\":\"kdfont_biyan2\",\"name\":\"闭眼\",\"fontClass\":\"kdfont kdfont-biyan2\"},{\"key\":\"kdfont_shenqingweixuanzhong\",\"name\":\"申请未选中\",\"fontClass\":\"kdfont kdfont-shenqingweixuanzhong\"},{\"key\":\"kdfont_shezhiweixuanzhong\",\"name\":\"设置未选中\",\"fontClass\":\"kdfont kdfont-shezhiweixuanzhong\"},{\"key\":\"kdfont_tongjiweixuanzhong\",\"name\":\"统计未选中\",\"fontClass\":\"kdfont kdfont-tongjiweixuanzhong\"},{\"key\":\"kdfont_yanjingguanbi2\",\"name\":\"眼睛关闭\",\"fontClass\":\"kdfont kdfont-yanjingguanbi2\"},{\"key\":\"kdfont_qiehuan4\",\"name\":\"切换\",\"fontClass\":\"kdfont kdfont-qiehuan4\"},{\"key\":\"kdfont_yemianshezhi\",\"name\":\"页面设置\",\"fontClass\":\"kdfont kdfont-yemianshezhi\"},{\"key\":\"kdfont_qiehuanbilv\",\"name\":\"切换比率\",\"fontClass\":\"kdfont kdfont-qiehuanbilv\"},{\"key\":\"kdfont_chuizhifanzhuan\",\"name\":\"垂直翻转\",\"fontClass\":\"kdfont kdfont-chuizhifanzhuan\"},{\"key\":\"kdfont_shuipingfanzhuan\",\"name\":\"水平翻转\",\"fontClass\":\"kdfont kdfont-shuipingfanzhuan\"},{\"key\":\"kdfont_23bilv\",\"name\":\"2:3比率\",\"fontClass\":\"kdfont kdfont-23bilv\"},{\"key\":\"kdfont_11bilv\",\"name\":\"1:1比率\",\"fontClass\":\"kdfont kdfont-11bilv\"},{\"key\":\"kdfont_32bilv\",\"name\":\"3：2比率\",\"fontClass\":\"kdfont kdfont-32bilv\"},{\"key\":\"kdfont_34bilv\",\"name\":\"3:4比率\",\"fontClass\":\"kdfont kdfont-34bilv\"},{\"key\":\"kdfont_43bilv\",\"name\":\"4：3比率\",\"fontClass\":\"kdfont kdfont-43bilv\"},{\"key\":\"kdfont_916bilv\",\"name\":\"9:16比率\",\"fontClass\":\"kdfont kdfont-916bilv\"},{\"key\":\"kdfont_169bilv\",\"name\":\"16:9比率\",\"fontClass\":\"kdfont kdfont-169bilv\"},{\"key\":\"kdfont_yuantubilv\",\"name\":\"原图比率\",\"fontClass\":\"kdfont kdfont-yuantubilv\"},{\"key\":\"kdfont_ziyoubilv\",\"name\":\"自由比率\",\"fontClass\":\"kdfont kdfont-ziyoubilv\"},{\"key\":\"kdfont_tuozhuai2\",\"name\":\"拖拽\",\"fontClass\":\"kdfont kdfont-tuozhuai2\"},{\"key\":\"kdfont_guanbixiaoxi\",\"name\":\"关闭消息\",\"fontClass\":\"kdfont kdfont-guanbixiaoxi\"},{\"key\":\"kdfont_piaojuzijin\",\"name\":\"票据资金\",\"fontClass\":\"kdfont kdfont-piaojuzijin\"},{\"key\":\"kdfont_xianjin3\",\"name\":\"现金\",\"fontClass\":\"kdfont kdfont-xianjin3\"},{\"key\":\"kdfont_yinxingcunkuan\",\"name\":\"银行存款\",\"fontClass\":\"kdfont kdfont-yinxingcunkuan\"},{\"key\":\"kdfont_danwei3\",\"name\":\"单位\",\"fontClass\":\"kdfont kdfont-danwei3\"},{\"key\":\"kdfont_baogaobi\",\"name\":\"报告币\",\"fontClass\":\"kdfont kdfont-baogaobi\"},{\"key\":\"kdfont_liuliang2\",\"name\":\"流量\",\"fontClass\":\"kdfont kdfont-liuliang2\"},{\"key\":\"kdfont_gongyingshang5\",\"name\":\"供应商\",\"fontClass\":\"kdfont kdfont-gongyingshang5\"},{\"key\":\"kdfont_fenxiang3\",\"name\":\"分享\",\"fontClass\":\"kdfont kdfont-fenxiang3\"},{\"key\":\"kdfont_cengji\",\"name\":\"层级\",\"fontClass\":\"kdfont kdfont-cengji\"},{\"key\":\"kdfont_cangku2\",\"name\":\"仓库\",\"fontClass\":\"kdfont kdfont-cangku2\"},{\"key\":\"kdfont_caidan4\",\"name\":\"菜单\",\"fontClass\":\"kdfont kdfont-caidan4\"},{\"key\":\"kdfont_biaoqianzu\",\"name\":\"标签组\",\"fontClass\":\"kdfont kdfont-biaoqianzu\"},{\"key\":\"kdfont_biaoqian2\",\"name\":\"标签\",\"fontClass\":\"kdfont kdfont-biaoqian2\"},{\"key\":\"kdfont_bianjixiugai\",\"name\":\"编辑、修改\",\"fontClass\":\"kdfont kdfont-bianjixiugai\"},{\"key\":\"kdfont_daishouhuo\",\"name\":\"待收货\",\"fontClass\":\"kdfont kdfont-daishouhuo\"},{\"key\":\"kdfont_dizhidingwei\",\"name\":\"地址定位\",\"fontClass\":\"kdfont kdfont-dizhidingwei\"},{\"key\":\"kdfont_dingdan6\",\"name\":\"订单\",\"fontClass\":\"kdfont kdfont-dingdan6\"},{\"key\":\"kdfont_dianpu\",\"name\":\"店铺\",\"fontClass\":\"kdfont kdfont-dianpu\"},{\"key\":\"kdfont_dianhua2\",\"name\":\"电话\",\"fontClass\":\"kdfont kdfont-dianhua2\"},{\"key\":\"kdfont_fangxiangzuo\",\"name\":\"方向左\",\"fontClass\":\"kdfont kdfont-fangxiangzuo\"},{\"key\":\"kdfont_fujian3\",\"name\":\"附件\",\"fontClass\":\"kdfont kdfont-fujian3\"},{\"key\":\"kdfont_guanbi6\",\"name\":\"关闭\",\"fontClass\":\"kdfont kdfont-guanbi6\"},{\"key\":\"kdfont_gouwudai2\",\"name\":\"购物袋2\",\"fontClass\":\"kdfont kdfont-gouwudai2\"},{\"key\":\"kdfont_fenxi16\",\"name\":\"分析\",\"fontClass\":\"kdfont kdfont-fenxi16\"},{\"key\":\"kdfont_gouwudai\",\"name\":\"购物袋\",\"fontClass\":\"kdfont kdfont-gouwudai\"},{\"key\":\"kdfont_gouwuche2\",\"name\":\"购物车\",\"fontClass\":\"kdfont kdfont-gouwuche2\"},{\"key\":\"kdfont_fangxiangyou\",\"name\":\"方向右\",\"fontClass\":\"kdfont kdfont-fangxiangyou\"},{\"key\":\"kdfont_gongwenbao\",\"name\":\"公文包\",\"fontClass\":\"kdfont kdfont-gongwenbao\"},{\"key\":\"kdfont_fanhui2\",\"name\":\"返回\",\"fontClass\":\"kdfont kdfont-fanhui2\"},{\"key\":\"kdfont_daijiesuan\",\"name\":\"待结算\",\"fontClass\":\"kdfont kdfont-daijiesuan\"},{\"key\":\"kdfont_chuanwenjiandaodiannao\",\"name\":\"传文件到电脑\",\"fontClass\":\"kdfont kdfont-chuanwenjiandaodiannao\"},{\"key\":\"kdfont_duoren3\",\"name\":\"多人\",\"fontClass\":\"kdfont kdfont-duoren3\"},{\"key\":\"kdfont_gengduo3\",\"name\":\"更多\",\"fontClass\":\"kdfont kdfont-gengduo3\"},{\"key\":\"kdfont_jisuanqi\",\"name\":\"计算器\",\"fontClass\":\"kdfont kdfont-jisuanqi\"},{\"key\":\"kdfont_jian-yuan\",\"name\":\"减-圆\",\"fontClass\":\"kdfont kdfont-jian-yuan\"},{\"key\":\"kdfont_jiandao2\",\"name\":\"剪刀\",\"fontClass\":\"kdfont kdfont-jiandao2\"},{\"key\":\"kdfont_jinzhi\",\"name\":\"禁止\",\"fontClass\":\"kdfont kdfont-jinzhi\"},{\"key\":\"kdfont_jinzhimai\",\"name\":\"禁止麦\",\"fontClass\":\"kdfont kdfont-jinzhimai\"},{\"key\":\"kdfont_liebiao10\",\"name\":\"列表\",\"fontClass\":\"kdfont kdfont-liebiao10\"},{\"key\":\"kdfont_qiandai\",\"name\":\"钱袋\",\"fontClass\":\"kdfont kdfont-qiandai\"},{\"key\":\"kdfont_lianjie3\",\"name\":\"链接\",\"fontClass\":\"kdfont kdfont-lianjie3\"},{\"key\":\"kdfont_qianbao\",\"name\":\"钱包\",\"fontClass\":\"kdfont kdfont-qianbao\"},{\"key\":\"kdfont_qian15\",\"name\":\"钱\",\"fontClass\":\"kdfont kdfont-qian15\"},{\"key\":\"kdfont_lianmai\",\"name\":\"连麦\",\"fontClass\":\"kdfont kdfont-lianmai\"},{\"key\":\"kdfont_laba\",\"name\":\"喇叭\",\"fontClass\":\"kdfont kdfont-laba\"},{\"key\":\"kdfont_piaoju\",\"name\":\"票据\",\"fontClass\":\"kdfont kdfont-piaoju\"},{\"key\":\"kdfont_kehu2\",\"name\":\"客户\",\"fontClass\":\"kdfont kdfont-kehu2\"},{\"key\":\"kdfont_peisonghuoche\",\"name\":\"配送、货车\",\"fontClass\":\"kdfont kdfont-peisonghuoche\"},{\"key\":\"kdfont_liumeiti\",\"name\":\"流媒体\",\"fontClass\":\"kdfont kdfont-liumeiti\"},{\"key\":\"kdfont_junhengqi\",\"name\":\"均衡器\",\"fontClass\":\"kdfont kdfont-junhengqi\"},{\"key\":\"kdfont_huatongmai\",\"name\":\"话筒、麦\",\"fontClass\":\"kdfont kdfont-huatongmai\"},{\"key\":\"kdfont_guolvqi\",\"name\":\"过滤器\",\"fontClass\":\"kdfont kdfont-guolvqi\"},{\"key\":\"kdfont_jingshi2\",\"name\":\"警示\",\"fontClass\":\"kdfont kdfont-jingshi2\"},{\"key\":\"kdfont_lingzhong\",\"name\":\"铃铛、钟\",\"fontClass\":\"kdfont kdfont-lingzhong\"},{\"key\":\"kdfont_rili\",\"name\":\"日历\",\"fontClass\":\"kdfont kdfont-rili\"},{\"key\":\"kdfont_saoyisao\",\"name\":\"扫一扫\",\"fontClass\":\"kdfont kdfont-saoyisao\"},{\"key\":\"kdfont_shaixuan\",\"name\":\"筛选\",\"fontClass\":\"kdfont kdfont-shaixuan\"},{\"key\":\"kdfont_shanchu7\",\"name\":\"删除\",\"fontClass\":\"kdfont kdfont-shanchu7\"},{\"key\":\"kdfont_shandian\",\"name\":\"闪电\",\"fontClass\":\"kdfont kdfont-shandian\"},{\"key\":\"kdfont_shezhi11\",\"name\":\"设置\",\"fontClass\":\"kdfont kdfont-shezhi11\"},{\"key\":\"kdfont_shijian\",\"name\":\"时间\",\"fontClass\":\"kdfont kdfont-shijian\"},{\"key\":\"kdfont_sousuo2\",\"name\":\"搜索\",\"fontClass\":\"kdfont kdfont-sousuo2\"},{\"key\":\"kdfont_shuangjiantouxia\",\"name\":\"双箭头下\",\"fontClass\":\"kdfont kdfont-shuangjiantouxia\"},{\"key\":\"kdfont_shuangjiantoushang\",\"name\":\"双箭头上\",\"fontClass\":\"kdfont kdfont-shuangjiantoushang\"},{\"key\":\"kdfont_shuaxin3\",\"name\":\"刷新\",\"fontClass\":\"kdfont kdfont-shuaxin3\"},{\"key\":\"kdfont_shuziliebiao\",\"name\":\"数字列表\",\"fontClass\":\"kdfont kdfont-shuziliebiao\"},{\"key\":\"kdfont_shuqian\",\"name\":\"书签\",\"fontClass\":\"kdfont kdfont-shuqian\"},{\"key\":\"kdfont_shouji2\",\"name\":\"手机\",\"fontClass\":\"kdfont kdfont-shouji2\"},{\"key\":\"kdfont_yanjing\",\"name\":\"眼睛\",\"fontClass\":\"kdfont kdfont-yanjing\"},{\"key\":\"kdfont_xiazai2\",\"name\":\"下载\",\"fontClass\":\"kdfont kdfont-xiazai2\"},{\"key\":\"kdfont_suo15\",\"name\":\"锁\",\"fontClass\":\"kdfont kdfont-suo15\"},{\"key\":\"kdfont_taiyang\",\"name\":\"太阳\",\"fontClass\":\"kdfont kdfont-taiyang\"},{\"key\":\"kdfont_xiangji\",\"name\":\"相机\",\"fontClass\":\"kdfont kdfont-xiangji\"},{\"key\":\"kdfont_xiangmufuhaoliebiao\",\"name\":\"项目符号列表\",\"fontClass\":\"kdfont kdfont-xiangmufuhaoliebiao\"},{\"key\":\"kdfont_tupiannishizhenxuanzhuan\",\"name\":\"图片逆时针旋转\",\"fontClass\":\"kdfont kdfont-tupiannishizhenxuanzhuan\"},{\"key\":\"kdfont_tousu\",\"name\":\"投诉\",\"fontClass\":\"kdfont kdfont-tousu\"},{\"key\":\"kdfont_xiaoxi5\",\"name\":\"消息\",\"fontClass\":\"kdfont kdfont-xiaoxi5\"},{\"key\":\"kdfont_waibulianjie\",\"name\":\"外部链接\",\"fontClass\":\"kdfont kdfont-waibulianjie\"},{\"key\":\"kdfont_wenjianjia\",\"name\":\"文件夹\",\"fontClass\":\"kdfont kdfont-wenjianjia\"},{\"key\":\"kdfont_wenhao2\",\"name\":\"问号\",\"fontClass\":\"kdfont kdfont-wenhao2\"},{\"key\":\"kdfont_xuanxiang3\",\"name\":\"选项\",\"fontClass\":\"kdfont kdfont-xuanxiang3\"},{\"key\":\"kdfont_xinxing\",\"name\":\"心形\",\"fontClass\":\"kdfont kdfont-xinxing\"},{\"key\":\"kdfont_xingxing3\",\"name\":\"星形\",\"fontClass\":\"kdfont kdfont-xingxing3\"},{\"key\":\"kdfont_yinxingka\",\"name\":\"银行卡\",\"fontClass\":\"kdfont kdfont-yinxingka\"},{\"key\":\"kdfont_youhuiquan\",\"name\":\"优惠券\",\"fontClass\":\"kdfont kdfont-youhuiquan\"},{\"key\":\"kdfont_youjianxinjian\",\"name\":\"邮件、信件\",\"fontClass\":\"kdfont kdfont-youjianxinjian\"},{\"key\":\"kdfont_yunxiazai\",\"name\":\"云下载\",\"fontClass\":\"kdfont kdfont-yunxiazai\"},{\"key\":\"kdfont_zengjia-yuan\",\"name\":\"增加-圆\",\"fontClass\":\"kdfont kdfont-zengjia-yuan\"},{\"key\":\"kdfont_zhongzhi3\",\"name\":\"重置\",\"fontClass\":\"kdfont kdfont-zhongzhi3\"},{\"key\":\"kdfont_chalv4\",\"name\":\"差旅\",\"fontClass\":\"kdfont kdfont-chalv4\"},{\"key\":\"kdfont_baocuncunchu\",\"name\":\"保存、存储\",\"fontClass\":\"kdfont kdfont-baocuncunchu\"},{\"key\":\"kdfont_bingtu2\",\"name\":\"饼图\",\"fontClass\":\"kdfont kdfont-bingtu2\"},{\"key\":\"kdfont_gengduo2\",\"name\":\"更多\",\"fontClass\":\"kdfont kdfont-gengduo2\"},{\"key\":\"kdfont_tijiao8\",\"name\":\"提交\",\"fontClass\":\"kdfont kdfont-tijiao8\"},{\"key\":\"kdfont_wode3\",\"name\":\"我的\",\"fontClass\":\"kdfont kdfont-wode3\"},{\"key\":\"kdfont_yingyong7\",\"name\":\"应用\",\"fontClass\":\"kdfont kdfont-yingyong7\"},{\"key\":\"kdfont_zhuyefangzi2\",\"name\":\"主页、房子\",\"fontClass\":\"kdfont kdfont-zhuyefangzi2\"}]},{\"key\":\"mobile_tongyong\",\"group_name\":\"移动端-通用\",\"layout\":3,\"icons\":[{\"key\":\"kdfont_xuanxianggou\",\"name\":\"选项勾\",\"fontClass\":\"kdfont kdfont-xuanxianggou\"},{\"key\":\"kdfont_loadingbeijing\",\"name\":\"loading背景\",\"fontClass\":\"kdfont kdfont-loadingbeijing\"},{\"key\":\"kdfont_loadingqianjing\",\"name\":\"loading前景\",\"fontClass\":\"kdfont kdfont-loadingqianjing\"},{\"key\":\"kdfont_zhuangtai_tishi\",\"name\":\"状态_提示\",\"fontClass\":\"kdfont kdfont-zhuangtai_tishi\"},{\"key\":\"kdfont_zhuangtai_jingshi\",\"name\":\"状态_警示\",\"fontClass\":\"kdfont kdfont-zhuangtai_jingshi\"},{\"key\":\"kdfont_zhuangtai_jinxingzhong\",\"name\":\"状态_进行中\",\"fontClass\":\"kdfont kdfont-zhuangtai_jinxingzhong\"},{\"key\":\"kdfont_zhuangtai_cuowu\",\"name\":\"状态_错误\",\"fontClass\":\"kdfont kdfont-zhuangtai_cuowu\"},{\"key\":\"kdfont_zhuangtai_wancheng\",\"name\":\"状态_完成\",\"fontClass\":\"kdfont kdfont-zhuangtai_wancheng\"},{\"key\":\"kdfont_wenquandanxuanxuanzhong\",\"name\":\"问券单选选中\",\"fontClass\":\"kdfont kdfont-wenquandanxuanxuanzhong\"},{\"key\":\"kdfont_wenquandanxuanweixuan\",\"name\":\"问券单选未选\",\"fontClass\":\"kdfont kdfont-wenquandanxuanweixuan\"},{\"key\":\"kdfont_wenquanduoxuanweixuan\",\"name\":\"问券多选未选\",\"fontClass\":\"kdfont kdfont-wenquanduoxuanweixuan\"},{\"key\":\"kdfont_wenquanduoxuanxuanzhong\",\"name\":\"问券多选选中\",\"fontClass\":\"kdfont kdfont-wenquanduoxuanxuanzhong\"},{\"key\":\"kdfont_shurukuangqingkongtubiao\",\"name\":\"输入框清空图标\",\"fontClass\":\"kdfont kdfont-shurukuangqingkongtubiao\"},{\"key\":\"kdfont_cuowuweixian\",\"name\":\"错误、危险\",\"fontClass\":\"kdfont kdfont-cuowuweixian\"},{\"key\":\"kdfont_Toast-jinggao\",\"name\":\"Toast-警告\",\"fontClass\":\"kdfont kdfont-Toast-jinggao\"},{\"key\":\"kdfont_Toast-tishi\",\"name\":\"Toast-提示\",\"fontClass\":\"kdfont kdfont-Toast-tishi\"},{\"key\":\"kdfont_Toast-wanchengzhengque\",\"name\":\"Toast-完成、正确\",\"fontClass\":\"kdfont kdfont-Toast-wanchengzhengque\"},{\"key\":\"kdfont_paixushang\",\"name\":\"排序上\",\"fontClass\":\"kdfont kdfont-paixushang\"},{\"key\":\"kdfont_guolvxia\",\"name\":\"过滤下\",\"fontClass\":\"kdfont kdfont-guolvxia\"},{\"key\":\"kdfont_guolvshang\",\"name\":\"过滤上\",\"fontClass\":\"kdfont kdfont-guolvshang\"},{\"key\":\"kdfont_paixuxia3\",\"name\":\"排序下\",\"fontClass\":\"kdfont kdfont-paixuxia3\"},{\"key\":\"kdfont_danliexuanze\",\"name\":\"单列选择\",\"fontClass\":\"kdfont kdfont-danliexuanze\"},{\"key\":\"kdfont_shanchuxing2\",\"name\":\"删除行\",\"fontClass\":\"kdfont kdfont-shanchuxing2\"},{\"key\":\"kdfont_fuxuanweixuan\",\"name\":\"移动复选未选\",\"fontClass\":\"kdfont kdfont-fuxuanweixuan\"},{\"key\":\"kdfont_fuxuanxuanzhong\",\"name\":\"移动复选选中\",\"fontClass\":\"kdfont kdfont-fuxuanxuanzhong\"},{\"key\":\"kdfont_jinru\",\"name\":\"进入\",\"fontClass\":\"kdfont kdfont-jinru\"},{\"key\":\"kdfont_shouqi7\",\"name\":\"收起\",\"fontClass\":\"kdfont kdfont-shouqi7\"},{\"key\":\"kdfont_zhankai4\",\"name\":\"展开\",\"fontClass\":\"kdfont kdfont-zhankai4\"}]},{\"key\":\"pc_yingyongcaidan\",\"group_name\":\"PC端-应用菜单\",\"layout\":4,\"icons\":[{\"key\":\"kdfont_tiqujilukfont-tiqujilu-tiqu\",\"name\":\"提取记录\",\"fontClass\":\"kdfont kdfont-tiqujilukfont-tiqujilu-tiqu\"},{\"key\":\"kdfont_shangchuanfujiankfont-shangchaunfujian-tiqu\",\"name\":\"上传附件\",\"fontClass\":\"kdfont kdfont-shangchuanfujiankfont-shangchaunfujian-tiqu\"},{\"key\":\"kdfont_qianduankuozhan\",\"name\":\"前端扩展\",\"fontClass\":\"kdfont kdfont-qianduankuozhan\"},{\"key\":\"kdfont_hetongchuangjian\",\"name\":\"合同创建\",\"fontClass\":\"kdfont kdfont-hetongchuangjian\"},{\"key\":\"kdfont_shourulvyue\",\"name\":\"收入履约\",\"fontClass\":\"kdfont kdfont-shourulvyue\"},{\"key\":\"kdfont_canshushezhi2\",\"name\":\"参数设置\",\"fontClass\":\"kdfont kdfont-canshushezhi2\"},{\"key\":\"kdfont_hetongtiaokuan\",\"name\":\"合同条款\",\"fontClass\":\"kdfont kdfont-hetongtiaokuan\"},{\"key\":\"kdfont_hetongbiangeng3\",\"name\":\"合同变更\",\"fontClass\":\"kdfont kdfont-hetongbiangeng3\"},{\"key\":\"kdfont_anjianguanli\",\"name\":\"案件管理\",\"fontClass\":\"kdfont kdfont-anjianguanli\"},{\"key\":\"kdfont_jichuziliao17\",\"name\":\"基础资料\",\"fontClass\":\"kdfont kdfont-jichuziliao17\"},{\"key\":\"kdfont_hetongleixing\",\"name\":\"合同类型\",\"fontClass\":\"kdfont kdfont-hetongleixing\"},{\"key\":\"kdfont_zhichulvyue\",\"name\":\"支出履约\",\"fontClass\":\"kdfont kdfont-zhichulvyue\"},{\"key\":\"kdfont_jiufendengji\",\"name\":\"纠纷登记\",\"fontClass\":\"kdfont kdfont-jiufendengji\"},{\"key\":\"kdfont_hetongyushen\",\"name\":\"合同预审\",\"fontClass\":\"kdfont kdfont-hetongyushen\"},{\"key\":\"kdfont_hetongyaosu\",\"name\":\"合同要素\",\"fontClass\":\"kdfont kdfont-hetongyaosu\"},{\"key\":\"kdfont_hetongfanben\",\"name\":\"合同范本\",\"fontClass\":\"kdfont kdfont-hetongfanben\"},{\"key\":\"kdfont_zhinengtiqu\",\"name\":\"智能提取\",\"fontClass\":\"kdfont kdfont-zhinengtiqu\"},{\"key\":\"kdfont_zhinengshencha\",\"name\":\"智能审查\",\"fontClass\":\"kdfont kdfont-zhinengshencha\"},{\"key\":\"kdfont_lvyuejilu\",\"name\":\"履约记录\",\"fontClass\":\"kdfont kdfont-lvyuejilu\"},{\"key\":\"kdfont_gudingzichanbaozhang\",\"name\":\"固定资产报账\",\"fontClass\":\"kdfont kdfont-gudingzichanbaozhang\"},{\"key\":\"kdfont_yingfubaozhang\",\"name\":\"应付报账\",\"fontClass\":\"kdfont kdfont-yingfubaozhang\"},{\"key\":\"kdfont_yingshoubaozhang\",\"name\":\"应收报账\",\"fontClass\":\"kdfont kdfont-yingshoubaozhang\"},{\"key\":\"kdfont_zongzhangfukuanshenqingdanbeifen\",\"name\":\"总账付款申请单\",\"fontClass\":\"kdfont kdfont-zongzhangfukuanshenqingdanbeifen\"},{\"key\":\"kdfont_zongzhangshoukuanshenqingdan\",\"name\":\"总账收款申请单\",\"fontClass\":\"kdfont kdfont-zongzhangshoukuanshenqingdan\"},{\"key\":\"kdfont_baobiaoxiangmu\",\"name\":\"报表项目\",\"fontClass\":\"kdfont kdfont-baobiaoxiangmu\"},{\"key\":\"kdfont_zhangbuzhesuanguize\",\"name\":\"账簿折算规则\",\"fontClass\":\"kdfont kdfont-zhangbuzhesuanguize\"},{\"key\":\"kdfont_huijifenleizhang\",\"name\":\"会计分类帐\",\"fontClass\":\"kdfont kdfont-huijifenleizhang\"},{\"key\":\"kdfont_jiezhangzhuangtai\",\"name\":\"结账状态\",\"fontClass\":\"kdfont kdfont-jiezhangzhuangtai\"},{\"key\":\"kdfont_duizhangguanli2\",\"name\":\"对账管理\",\"fontClass\":\"kdfont kdfont-duizhangguanli2\"},{\"key\":\"kdfont_shujubulu\",\"name\":\"数据补录\",\"fontClass\":\"kdfont kdfont-shujubulu\"},{\"key\":\"kdfont_dingyueguanli2\",\"name\":\"订阅管理\",\"fontClass\":\"kdfont kdfont-dingyueguanli2\"},{\"key\":\"kdfont_fenxiangguanli\",\"name\":\"分享管理\",\"fontClass\":\"kdfont kdfont-fenxiangguanli\"},{\"key\":\"kdfont_paixuquanzhongpeizhi\",\"name\":\"排序权重配置\",\"fontClass\":\"kdfont kdfont-paixuquanzhongpeizhi\"},{\"key\":\"kdfont_AIcixing\",\"name\":\"AI 词性\",\"fontClass\":\"kdfont kdfont-AIcixing\"},{\"key\":\"kdfont_sousuochangjing\",\"name\":\"搜索场景\",\"fontClass\":\"kdfont kdfont-sousuochangjing\"},{\"key\":\"kdfont_sousuoduixiang\",\"name\":\"搜索对象\",\"fontClass\":\"kdfont kdfont-sousuoduixiang\"},{\"key\":\"kdfont_zichanqingsuan2\",\"name\":\"资产清算\",\"fontClass\":\"kdfont kdfont-zichanqingsuan2\"},{\"key\":\"kdfont_GPT4\",\"name\":\"GPT\",\"fontClass\":\"kdfont kdfont-GPT4\"},{\"key\":\"kdfont_huaban4\",\"name\":\"数据工作台\",\"fontClass\":\"kdfont kdfont-huaban4\"},{\"key\":\"kdfont_bangzhuzhongxin3\",\"name\":\"帮助中心\",\"fontClass\":\"kdfont kdfont-bangzhuzhongxin3\"},{\"key\":\"kdfont_kexinceng\",\"name\":\"可信层\",\"fontClass\":\"kdfont kdfont-kexinceng\"},{\"key\":\"kdfont_chajian3\",\"name\":\"插件\",\"fontClass\":\"kdfont kdfont-chajian3\"},{\"key\":\"kdfont_zhinengti\",\"name\":\"智能体\",\"fontClass\":\"kdfont kdfont-zhinengti\"},{\"key\":\"kdfont_zhishiku\",\"name\":\"知识库\",\"fontClass\":\"kdfont kdfont-zhishiku\"},{\"key\":\"kdfont_tishici\",\"name\":\"提示词\",\"fontClass\":\"kdfont kdfont-tishici\"},{\"key\":\"kdfont_renwuliu\",\"name\":\"任务流\",\"fontClass\":\"kdfont kdfont-renwuliu\"},{\"key\":\"kdfont_jiankongyouhua\",\"name\":\"监控优化\",\"fontClass\":\"kdfont kdfont-jiankongyouhua\"},{\"key\":\"kdfont_zhishikuxianxing\",\"name\":\"知识库线性\",\"fontClass\":\"kdfont kdfont-zhishikuxianxing\"},{\"key\":\"kdfont_tishicixianxing\",\"name\":\"提示词线性\",\"fontClass\":\"kdfont kdfont-tishicixianxing\"},{\"key\":\"kdfont_zidingyicaozuoxianxing\",\"name\":\"自定义操作线性\",\"fontClass\":\"kdfont kdfont-zidingyicaozuoxianxing\"},{\"key\":\"kdfont_chajianxianxing\",\"name\":\"插件线性\",\"fontClass\":\"kdfont kdfont-chajianxianxing\"},{\"key\":\"kdfont_xiaoxixianxing\",\"name\":\"消息线性\",\"fontClass\":\"kdfont kdfont-xiaoxixianxing\"},{\"key\":\"kdfont_gptcaozuoxianxing\",\"name\":\"gpt操作线性\",\"fontClass\":\"kdfont kdfont-gptcaozuoxianxing\"},{\"key\":\"kdfont_HRgongxiangyunyingzhongxin\",\"name\":\"HR共享运营中心\",\"fontClass\":\"kdfont kdfont-HRgongxiangyunyingzhongxin\"},{\"key\":\"kdfont_HRgongxiangrenwuzhongxin\",\"name\":\"HR共享任务中心\",\"fontClass\":\"kdfont kdfont-HRgongxiangrenwuzhongxin\"},{\"key\":\"kdfont_baobiaomoban\",\"name\":\"报表模板\",\"fontClass\":\"kdfont kdfont-baobiaomoban\"},{\"key\":\"kdfont_shujucaijirenwu\",\"name\":\"数据采集任务\",\"fontClass\":\"kdfont kdfont-shujucaijirenwu\"},{\"key\":\"kdfont_shujutianbaorenwu\",\"name\":\"数据填报任务\",\"fontClass\":\"kdfont kdfont-shujutianbaorenwu\"},{\"key\":\"kdfont_zhouqicaijirenwu\",\"name\":\"周期采集任务\",\"fontClass\":\"kdfont kdfont-zhouqicaijirenwu\"},{\"key\":\"kdfont_tiaomaguanli\",\"name\":\"条码管理\",\"fontClass\":\"kdfont kdfont-tiaomaguanli\"},{\"key\":\"kdfont_diaobanfangan\",\"name\":\"调班方案\",\"fontClass\":\"kdfont kdfont-diaobanfangan\"},{\"key\":\"kdfont_jiagejiankong2\",\"name\":\"价格监控\",\"fontClass\":\"kdfont kdfont-jiagejiankong2\"},{\"key\":\"kdfont_xiaoxibaimingdan\",\"name\":\"消息白名单\",\"fontClass\":\"kdfont kdfont-xiaoxibaimingdan\"},{\"key\":\"kdfont_chajianchaxun\",\"name\":\"插件查询\",\"fontClass\":\"kdfont kdfont-chajianchaxun\"},{\"key\":\"kdfont_anxucaigou\",\"name\":\"按需采购\",\"fontClass\":\"kdfont kdfont-anxucaigou\"},{\"key\":\"kdfont_waishitaizhang\",\"name\":\"外事台账\",\"fontClass\":\"kdfont kdfont-waishitaizhang\"},{\"key\":\"kdfont_zhibiaotixiguanli\",\"name\":\"指标体系管理\",\"fontClass\":\"kdfont kdfont-zhibiaotixiguanli\"},{\"key\":\"kdfont_chushihuaxiangdao\",\"name\":\"初始化向导\",\"fontClass\":\"kdfont kdfont-chushihuaxiangdao\"},{\"key\":\"kdfont_zhengtifenxi\",\"name\":\"整体分析\",\"fontClass\":\"kdfont kdfont-zhengtifenxi\"},{\"key\":\"kdfont_xiaoshoufenxi\",\"name\":\"销售分析\",\"fontClass\":\"kdfont kdfont-xiaoshoufenxi\"},{\"key\":\"kdfont_kucunfenxi\",\"name\":\"库存分析\",\"fontClass\":\"kdfont kdfont-kucunfenxi\"},{\"key\":\"kdfont_caigoufenxi\",\"name\":\"采购分析\",\"fontClass\":\"kdfont kdfont-caigoufenxi\"},{\"key\":\"kdfont_xietongyun\",\"name\":\"协同云\",\"fontClass\":\"kdfont kdfont-xietongyun\"},{\"key\":\"kdfont_yuruzhishenqing\",\"name\":\"预入职申请\",\"fontClass\":\"kdfont kdfont-yuruzhishenqing\"},{\"key\":\"kdfont_houbeiganbuguanli\",\"name\":\"后备干部管理\",\"fontClass\":\"kdfont kdfont-houbeiganbuguanli\"},{\"key\":\"kdfont_shoutuoyewu\",\"name\":\"受托业务\",\"fontClass\":\"kdfont kdfont-shoutuoyewu\"},{\"key\":\"kdfont_zhengzhaoguanli\",\"name\":\"证照管理\",\"fontClass\":\"kdfont kdfont-zhengzhaoguanli\"},{\"key\":\"kdfont_waishizizhu\",\"name\":\"外事自助\",\"fontClass\":\"kdfont kdfont-waishizizhu\"},{\"key\":\"kdfont_beianrenyuan\",\"name\":\"备案人员\",\"fontClass\":\"kdfont kdfont-beianrenyuan\"},{\"key\":\"kdfont_rencaichuruchishenqing\",\"name\":\"人才出入池申请\",\"fontClass\":\"kdfont kdfont-rencaichuruchishenqing\"},{\"key\":\"kdfont_churuchishenqing\",\"name\":\"出入池申请\",\"fontClass\":\"kdfont kdfont-churuchishenqing\"},{\"key\":\"kdfont_chubeirencai\",\"name\":\"储备人才\",\"fontClass\":\"kdfont kdfont-chubeirencai\"},{\"key\":\"kdfont_rencaituijian\",\"name\":\"人才推荐\",\"fontClass\":\"kdfont kdfont-rencaituijian\"},{\"key\":\"kdfont_daichulituijian\",\"name\":\"待处理推荐\",\"fontClass\":\"kdfont kdfont-daichulituijian\"},{\"key\":\"kdfont_rencaichubeichi\",\"name\":\"人才储备池\",\"fontClass\":\"kdfont kdfont-rencaichubeichi\"},{\"key\":\"kdfont_yingyonglianlianjie\",\"name\":\"应用链连接\",\"fontClass\":\"kdfont kdfont-yingyonglianlianjie\"},{\"key\":\"kdfont_xitongshezhi\",\"name\":\"系统设置\",\"fontClass\":\"kdfont kdfont-xitongshezhi\"},{\"key\":\"kdfont_shijianyuan\",\"name\":\"事件源\",\"fontClass\":\"kdfont kdfont-shijianyuan\"},{\"key\":\"kdfont_shijianjiankong\",\"name\":\"事件监控\",\"fontClass\":\"kdfont kdfont-shijianjiankong\"},{\"key\":\"kdfont_dingyueguanli\",\"name\":\"订阅管理\",\"fontClass\":\"kdfont kdfont-dingyueguanli\"},{\"key\":\"kdfont_renmiangenzong\",\"name\":\"任免跟踪\",\"fontClass\":\"kdfont kdfont-renmiangenzong\"},{\"key\":\"kdfont_renmianguanli\",\"name\":\"任免管理\",\"fontClass\":\"kdfont kdfont-renmianguanli\"},{\"key\":\"kdfont_GPTzhushou\",\"name\":\"GPT助手\",\"fontClass\":\"kdfont kdfont-GPTzhushou\"},{\"key\":\"kdfont_yingyongkaifa\",\"name\":\"应用开发\",\"fontClass\":\"kdfont kdfont-yingyongkaifa\"},{\"key\":\"kdfont_zitiku\",\"name\":\"字体库\",\"fontClass\":\"kdfont kdfont-zitiku\"},{\"key\":\"kdfont_chushihuaqianyigongju\",\"name\":\"初始化迁移工具\",\"fontClass\":\"kdfont kdfont-chushihuaqianyigongju\"},{\"key\":\"kdfont_yibanshenpidan\",\"name\":\"一般审批单\",\"fontClass\":\"kdfont kdfont-yibanshenpidan\"},{\"key\":\"kdfont_wentibaogao\",\"name\":\"问题报告\",\"fontClass\":\"kdfont kdfont-wentibaogao\"},{\"key\":\"kdfont_wuliao5\",\"name\":\"物料\",\"fontClass\":\"kdfont kdfont-wuliao5\"},{\"key\":\"kdfont_biaoqianzu2\",\"name\":\"标签组\",\"fontClass\":\"kdfont kdfont-biaoqianzu2\"},{\"key\":\"kdfont_wendang\",\"name\":\"文档\",\"fontClass\":\"kdfont kdfont-wendang\"},{\"key\":\"kdfont_biangengtongzhidan\",\"name\":\"变更通知单\",\"fontClass\":\"kdfont kdfont-biangengtongzhidan\"},{\"key\":\"kdfont_biangengshenqingdan\",\"name\":\"变更申请单\",\"fontClass\":\"kdfont kdfont-biangengshenqingdan\"},{\"key\":\"kdfont_shengchengshiAIjinengguanli2\",\"name\":\"生成式AI技能管理\",\"fontClass\":\"kdfont kdfont-shengchengshiAIjinengguanli2\"},{\"key\":\"kdfont_peizhizhongxin2\",\"name\":\"配置中心\",\"fontClass\":\"kdfont kdfont-peizhizhongxin2\"},{\"key\":\"kdfont_ic-zuzhuangchaixie-moren2\",\"name\":\"组装拆卸\",\"fontClass\":\"kdfont kdfont-ic-zuzhuangchaixie-moren2\"},{\"key\":\"kdfont_wentizhenggai\",\"name\":\"问题整改\",\"fontClass\":\"kdfont kdfont-wentizhenggai\"},{\"key\":\"kdfont_wentijilu\",\"name\":\"问题记录\",\"fontClass\":\"kdfont kdfont-wentijilu\"},{\"key\":\"kdfont_zhiliangloudongkanban\",\"name\":\"质量楼栋看板\",\"fontClass\":\"kdfont kdfont-zhiliangloudongkanban\"},{\"key\":\"kdfont_qijianxunhuan\",\"name\":\"期间循环\",\"fontClass\":\"kdfont kdfont-qijianxunhuan\"},{\"key\":\"kdfont_jiabanfangan\",\"name\":\"加班方案\",\"fontClass\":\"kdfont kdfont-jiabanfangan\"},{\"key\":\"kdfont_chuchafangan\",\"name\":\"出差方案\",\"fontClass\":\"kdfont kdfont-chuchafangan\"},{\"key\":\"kdfont_jiaqidangan\",\"name\":\"假期档案\",\"fontClass\":\"kdfont kdfont-jiaqidangan\"},{\"key\":\"kdfont_shujuqingli\",\"name\":\"数据清理\",\"fontClass\":\"kdfont kdfont-shujuqingli\"},{\"key\":\"kdfont_qijianguanzhangguanli\",\"name\":\"期间关账管理\",\"fontClass\":\"kdfont kdfont-qijianguanzhangguanli\"},{\"key\":\"kdfont_shebaogeshuirenyuanziduandingyi\",\"name\":\"社保个税人员字段定义\",\"fontClass\":\"kdfont kdfont-shebaogeshuirenyuanziduandingyi\"},{\"key\":\"kdfont_shebaogeshuirenyuanshitupeizhi\",\"name\":\"社保个税人员视图配置\",\"fontClass\":\"kdfont kdfont-shebaogeshuirenyuanshitupeizhi\"},{\"key\":\"kdfont_shebaogeshuirenyuanpeizhi\",\"name\":\"社保个税人员配置\",\"fontClass\":\"kdfont kdfont-shebaogeshuirenyuanpeizhi\"},{\"key\":\"kdfont_shebaoshenbao\",\"name\":\"社保申报\",\"fontClass\":\"kdfont kdfont-shebaoshenbao\"},{\"key\":\"kdfont_shouruzhengmingbanli\",\"name\":\"收入证明办理\",\"fontClass\":\"kdfont kdfont-shouruzhengmingbanli\"},{\"key\":\"kdfont_shouruzhengmingpeizhi\",\"name\":\"收入证明配置\",\"fontClass\":\"kdfont kdfont-shouruzhengmingpeizhi\"},{\"key\":\"kdfont_chengbenhesuanshezhi\",\"name\":\"成本核算设置\",\"fontClass\":\"kdfont kdfont-chengbenhesuanshezhi\"},{\"key\":\"kdfont_xinzichengbenguihua\",\"name\":\"薪资成本规划\",\"fontClass\":\"kdfont kdfont-xinzichengbenguihua\"},{\"key\":\"kdfont_biaodiqingdan\",\"name\":\"标底清单\",\"fontClass\":\"kdfont kdfont-biaodiqingdan\"},{\"key\":\"kdfont_biaozhunqingdanku\",\"name\":\"标准清单库\",\"fontClass\":\"kdfont kdfont-biaozhunqingdanku\"},{\"key\":\"kdfont_biaozhunzhibiaoku\",\"name\":\"标准指标库\",\"fontClass\":\"kdfont kdfont-biaozhunzhibiaoku\"},{\"key\":\"kdfont_dingbiaoqingdan2\",\"name\":\"定标清单\",\"fontClass\":\"kdfont kdfont-dingbiaoqingdan2\"},{\"key\":\"kdfont_qingdandiaobupingheng\",\"name\":\"清单调不平衡\",\"fontClass\":\"kdfont kdfont-qingdandiaobupingheng\"},{\"key\":\"kdfont_zaojiazhibiaoku\",\"name\":\"造价指标库\",\"fontClass\":\"kdfont kdfont-zaojiazhibiaoku\"},{\"key\":\"kdfont_feilvshezhi\",\"name\":\"费率设置\",\"fontClass\":\"kdfont kdfont-feilvshezhi\"},{\"key\":\"kdfont_yonghuguanli\",\"name\":\"用户管理\",\"fontClass\":\"kdfont kdfont-yonghuguanli\"},{\"key\":\"kdfont_zashouzafa\",\"name\":\"杂收杂发\",\"fontClass\":\"kdfont kdfont-zashouzafa\"},{\"key\":\"kdfont_cwxtjzzt\",\"name\":\"财务系统结账状态\",\"fontClass\":\"kdfont kdfont-cwxtjzzt\"},{\"key\":\"kdfont_hongdingyi\",\"name\":\"宏定义\",\"fontClass\":\"kdfont kdfont-hongdingyi\"},{\"key\":\"kdfont_jiandanshengchan\",\"name\":\"简单生产\",\"fontClass\":\"kdfont kdfont-jiandanshengchan\"},{\"key\":\"kdfont_BOMchaxun\",\"name\":\"BOM查询\",\"fontClass\":\"kdfont kdfont-BOMchaxun\"},{\"key\":\"kdfont_shuyuku\",\"name\":\"术语库\",\"fontClass\":\"kdfont kdfont-shuyuku\"},{\"key\":\"kdfont_fanyicitiao2\",\"name\":\"翻译词条\",\"fontClass\":\"kdfont kdfont-fanyicitiao2\"},{\"key\":\"kdfont_fanyipeizhi3\",\"name\":\"翻译配置\",\"fontClass\":\"kdfont kdfont-fanyipeizhi3\"},{\"key\":\"kdfont_fanyijiyiku2\",\"name\":\"翻译记忆库\",\"fontClass\":\"kdfont kdfont-fanyijiyiku2\"},{\"key\":\"kdfont_gongka\",\"name\":\"工卡\",\"fontClass\":\"kdfont kdfont-gongka\"},{\"key\":\"kdfont_pz\",\"name\":\"凭证\",\"fontClass\":\"kdfont kdfont-pz\"},{\"key\":\"kdfont_kmxjllgx\",\"name\":\"科目现金流量关系\",\"fontClass\":\"kdfont kdfont-kmxjllgx\"},{\"key\":\"kdfont_xjllxm\",\"name\":\"现金流量项目\",\"fontClass\":\"kdfont kdfont-xjllxm\"},{\"key\":\"kdfont_cebianlan4\",\"name\":\"扩展报表\",\"fontClass\":\"kdfont kdfont-cebianlan4\"},{\"key\":\"kdfont_fengxianchuli\",\"name\":\"风险处理\",\"fontClass\":\"kdfont kdfont-fengxianchuli\"},{\"key\":\"kdfont_fengxianfenxi\",\"name\":\"风险分析\",\"fontClass\":\"kdfont kdfont-fengxianfenxi\"},{\"key\":\"kdfont_fengxianjiancha\",\"name\":\"风险检查\",\"fontClass\":\"kdfont kdfont-fengxianjiancha\"},{\"key\":\"kdfont_jiegoutuyangshishezhi\",\"name\":\"结构图样式设置\",\"fontClass\":\"kdfont kdfont-jiegoutuyangshishezhi\"},{\"key\":\"kdfont_kapianyangshishezhi\",\"name\":\"卡片样式设置\",\"fontClass\":\"kdfont kdfont-kapianyangshishezhi\"},{\"key\":\"kdfont_shujuchaxun\",\"name\":\"数据查询\",\"fontClass\":\"kdfont kdfont-shujuchaxun\"},{\"key\":\"kdfont_jupyter\",\"name\":\"jupyter\",\"fontClass\":\"kdfont kdfont-jupyter\"},{\"key\":\"kdfont_fengxiandingyi\",\"name\":\"风险定义\",\"fontClass\":\"kdfont kdfont-fengxiandingyi\"},{\"key\":\"kdfont_renyuanshebaodangan\",\"name\":\"人员社保档案\",\"fontClass\":\"kdfont kdfont-renyuanshebaodangan\"},{\"key\":\"kdfont_shebaojisuan\",\"name\":\"社保计算\",\"fontClass\":\"kdfont kdfont-shebaojisuan\"},{\"key\":\"kdfont_kuozhanbaobiao\",\"name\":\"轻报表\",\"fontClass\":\"kdfont kdfont-kuozhanbaobiao\"},{\"key\":\"kdfont_ruzhiguanli\",\"name\":\"入职管理\",\"fontClass\":\"kdfont kdfont-ruzhiguanli\"},{\"key\":\"kdfont_peizhizhiyin\",\"name\":\"配置指引\",\"fontClass\":\"kdfont kdfont-peizhizhiyin\"},{\"key\":\"kdfont_mubiaoshi\",\"name\":\"目标实\",\"fontClass\":\"kdfont kdfont-mubiaoshi\"},{\"key\":\"kdfont_bianzhizhixing\",\"name\":\"编制执行\",\"fontClass\":\"kdfont kdfont-bianzhizhixing\"},{\"key\":\"kdfont_yewumingxibaobiao\",\"name\":\"业务明细报表\",\"fontClass\":\"kdfont kdfont-yewumingxibaobiao\"},{\"key\":\"kdfont_yewutongjibaobiao\",\"name\":\"业务统计报表\",\"fontClass\":\"kdfont kdfont-yewutongjibaobiao\"},{\"key\":\"kdfont_yewufenxibaobiao\",\"name\":\"业务分析报表\",\"fontClass\":\"kdfont kdfont-yewufenxibaobiao\"},{\"key\":\"kdfont_yongjinfafang\",\"name\":\"佣金发放\",\"fontClass\":\"kdfont kdfont-yongjinfafang\"},{\"key\":\"kdfont_yongjindengji\",\"name\":\"佣金登记\",\"fontClass\":\"kdfont kdfont-yongjindengji\"},{\"key\":\"kdfont_jizhongxuanfang\",\"name\":\"集中选房\",\"fontClass\":\"kdfont kdfont-jizhongxuanfang\"},{\"key\":\"kdfont_waichangxiaokong\",\"name\":\"外场销控\",\"fontClass\":\"kdfont kdfont-waichangxiaokong\"},{\"key\":\"kdfont_kaipanqiandao\",\"name\":\"开盘签到\",\"fontClass\":\"kdfont kdfont-kaipanqiandao\"},{\"key\":\"kdfont_genjinfenxi\",\"name\":\"跟进分析\",\"fontClass\":\"kdfont kdfont-genjinfenxi\"},{\"key\":\"kdfont_yuyuepaihao\",\"name\":\"预约排号\",\"fontClass\":\"kdfont kdfont-yuyuepaihao\"},{\"key\":\"kdfont_fenpeixiaoshoudan\",\"name\":\"分配销售单\",\"fontClass\":\"kdfont kdfont-fenpeixiaoshoudan\"},{\"key\":\"kdfont_fenpeikehu\",\"name\":\"分配客户\",\"fontClass\":\"kdfont kdfont-fenpeikehu\"},{\"key\":\"kdfont_huifanggenjin\",\"name\":\"回放跟进\",\"fontClass\":\"kdfont kdfont-huifanggenjin\"},{\"key\":\"kdfont_xiaoshoujihui\",\"name\":\"销售机会\",\"fontClass\":\"kdfont kdfont-xiaoshoujihui\"},{\"key\":\"kdfont_xiansuoguanli\",\"name\":\"线索管理\",\"fontClass\":\"kdfont kdfont-xiansuoguanli\"},{\"key\":\"kdfont_kehutaizhang\",\"name\":\"客户台账\",\"fontClass\":\"kdfont kdfont-kehutaizhang\"},{\"key\":\"kdfont_daikaifapiao\",\"name\":\"待开发票\",\"fontClass\":\"kdfont kdfont-daikaifapiao\"},{\"key\":\"kdfont_fapiaohongchong\",\"name\":\"发票红冲\",\"fontClass\":\"kdfont kdfont-fapiaohongchong\"},{\"key\":\"kdfont_fapiaozuofei\",\"name\":\"发票作废\",\"fontClass\":\"kdfont kdfont-fapiaozuofei\"},{\"key\":\"kdfont_biaoqianguanli2\",\"name\":\"标签管理\",\"fontClass\":\"kdfont kdfont-biaoqianguanli2\"},{\"key\":\"kdfont_jianlihuishouzhan\",\"name\":\"简历回收站\",\"fontClass\":\"kdfont kdfont-jianlihuishouzhan\"},{\"key\":\"kdfont_jianlishaixuan\",\"name\":\"简历筛选\",\"fontClass\":\"kdfont kdfont-jianlishaixuan\"},{\"key\":\"kdfont_luyongjuece\",\"name\":\"录用决策\",\"fontClass\":\"kdfont kdfont-luyongjuece\"},{\"key\":\"kdfont_mianshiguandangan\",\"name\":\"面试官档案\",\"fontClass\":\"kdfont kdfont-mianshiguandangan\"},{\"key\":\"kdfont_mianshiguanshenqingjilu\",\"name\":\"面试官申请记录\",\"fontClass\":\"kdfont kdfont-mianshiguanshenqingjilu\"},{\"key\":\"kdfont_qudaoguanggao\",\"name\":\"渠道广告\",\"fontClass\":\"kdfont kdfont-qudaoguanggao\"},{\"key\":\"kdfont_qudaoguanli\",\"name\":\"渠道管理\",\"fontClass\":\"kdfont kdfont-qudaoguanli\"},{\"key\":\"kdfont_neituishouyeshezhi\",\"name\":\"内推首页设置\",\"fontClass\":\"kdfont kdfont-neituishouyeshezhi\"},{\"key\":\"kdfont_neibutuijian\",\"name\":\"内部推荐\",\"fontClass\":\"kdfont kdfont-neibutuijian\"},{\"key\":\"kdfont_mianshipingjia\",\"name\":\"面试评价\",\"fontClass\":\"kdfont kdfont-mianshipingjia\"},{\"key\":\"kdfont_mianshiguanli\",\"name\":\"面试管理\",\"fontClass\":\"kdfont kdfont-mianshiguanli\"},{\"key\":\"kdfont_mianshiguanzizhiguanli\",\"name\":\"面试官资质管理\",\"fontClass\":\"kdfont kdfont-mianshiguanzizhiguanli\"},{\"key\":\"kdfont_rencaiku\",\"name\":\"人才库\",\"fontClass\":\"kdfont kdfont-rencaiku\"},{\"key\":\"kdfont_rencaikuguanli\",\"name\":\"人才库管理\",\"fontClass\":\"kdfont kdfont-rencaikuguanli\"},{\"key\":\"kdfont_tuijianguanli\",\"name\":\"推荐管理\",\"fontClass\":\"kdfont kdfont-tuijianguanli\"},{\"key\":\"kdfont_xiaoyuanzhaopin\",\"name\":\"校园招聘\",\"fontClass\":\"kdfont kdfont-xiaoyuanzhaopin\"},{\"key\":\"kdfont_zhaopinxuqiu\",\"name\":\"招聘需求\",\"fontClass\":\"kdfont kdfont-zhaopinxuqiu\"},{\"key\":\"kdfont_zhaopinyewupeizhi\",\"name\":\"招聘业务配置\",\"fontClass\":\"kdfont kdfont-zhaopinyewupeizhi\"},{\"key\":\"kdfont_offerguanli\",\"name\":\"offer管理\",\"fontClass\":\"kdfont kdfont-offerguanli\"},{\"key\":\"kdfont_yujing4\",\"name\":\"预警\",\"fontClass\":\"kdfont kdfont-yujing4\"},{\"key\":\"kdfont_xiaoshoumubiao\",\"name\":\"销售目标\",\"fontClass\":\"kdfont kdfont-xiaoshoumubiao\"},{\"key\":\"kdfont_shouhoufuwu\",\"name\":\"售后服务\",\"fontClass\":\"kdfont kdfont-shouhoufuwu\"},{\"key\":\"kdfont_yongjinguanli\",\"name\":\"佣金管理\",\"fontClass\":\"kdfont kdfont-yongjinguanli\"},{\"key\":\"kdfont_caiwuguanli\",\"name\":\"财务管理\",\"fontClass\":\"kdfont kdfont-caiwuguanli\"},{\"key\":\"kdfont_jiaoyiguanli2\",\"name\":\"交易管理\",\"fontClass\":\"kdfont kdfont-jiaoyiguanli2\"},{\"key\":\"kdfont_shangjiguanli\",\"name\":\"商机管理\",\"fontClass\":\"kdfont kdfont-shangjiguanli\"},{\"key\":\"kdfont_dingjiaguanli\",\"name\":\"定价管理\",\"fontClass\":\"kdfont kdfont-dingjiaguanli\"},{\"key\":\"kdfont_huozhipandian\",\"name\":\"货值盘点\",\"fontClass\":\"kdfont kdfont-huozhipandian\"},{\"key\":\"kdfont_xiangmuzhunbei\",\"name\":\"项目准备\",\"fontClass\":\"kdfont kdfont-xiangmuzhunbei\"},{\"key\":\"kdfont_zijinguankongcelue2\",\"name\":\"资金管控策略\",\"fontClass\":\"kdfont kdfont-zijinguankongcelue2\"},{\"key\":\"kdfont_hetongbaobiao2\",\"name\":\"合同报表\",\"fontClass\":\"kdfont kdfont-hetongbaobiao2\"},{\"key\":\"kdfont_chengbenbaobiao\",\"name\":\"成本报表\",\"fontClass\":\"kdfont kdfont-chengbenbaobiao\"},{\"key\":\"kdfont_gongsidongtaifukuanjihua\",\"name\":\"公司动态付款计划\",\"fontClass\":\"kdfont kdfont-gongsidongtaifukuanjihua\"},{\"key\":\"kdfont_xiangmudongtaifukuanjihua\",\"name\":\"项目动态付款计划\",\"fontClass\":\"kdfont kdfont-xiangmudongtaifukuanjihua\"},{\"key\":\"kdfont_hetongfukuanjihua\",\"name\":\"合同付款计划\",\"fontClass\":\"kdfont kdfont-hetongfukuanjihua\"},{\"key\":\"kdfont_gongsifukuanjihua2\",\"name\":\"公司付款计划\",\"fontClass\":\"kdfont kdfont-gongsifukuanjihua2\"},{\"key\":\"kdfont_bumenfukuanjihua2\",\"name\":\"部门付款计划\",\"fontClass\":\"kdfont kdfont-bumenfukuanjihua2\"},{\"key\":\"kdfont_xiangmujichuziliao2\",\"name\":\"项目基础资料\",\"fontClass\":\"kdfont kdfont-xiangmujichuziliao2\"},{\"key\":\"kdfont_zhiweiweihu\",\"name\":\"职位维护\",\"fontClass\":\"kdfont kdfont-zhiweiweihu\"},{\"key\":\"kdfont_zhiweitixifangan2\",\"name\":\"职位体系方案\",\"fontClass\":\"kdfont kdfont-zhiweitixifangan2\"},{\"key\":\"kdfont_xiangmutuanduiguanli\",\"name\":\"项目团队管理\",\"fontClass\":\"kdfont kdfont-xiangmutuanduiguanli\"},{\"key\":\"kdfont_hetongfukuantiaomutaizhang\",\"name\":\"合同付款条目台账\",\"fontClass\":\"kdfont kdfont-hetongfukuantiaomutaizhang\"},{\"key\":\"kdfont_hetongshoukuantiaomutaizhang\",\"name\":\"合同收款条目台账\",\"fontClass\":\"kdfont kdfont-hetongshoukuantiaomutaizhang\"},{\"key\":\"kdfont_kuaijiejian3\",\"name\":\"快捷键\",\"fontClass\":\"kdfont kdfont-kuaijiejian3\"},{\"key\":\"kdfont_xml\",\"name\":\"xml\",\"fontClass\":\"kdfont kdfont-xml\"},{\"key\":\"kdfont_jiancha7\",\"name\":\"检查\",\"fontClass\":\"kdfont kdfont-jiancha7\"},{\"key\":\"kdfont_yunguanli\",\"name\":\"云管理\",\"fontClass\":\"kdfont kdfont-yunguanli\"},{\"key\":\"kdfont_shujumoxing\",\"name\":\"数据模型\",\"fontClass\":\"kdfont kdfont-shujumoxing\"},{\"key\":\"kdfont_jisuanfuwupeizhi\",\"name\":\"计算服务配置\",\"fontClass\":\"kdfont kdfont-jisuanfuwupeizhi\"},{\"key\":\"kdfont_leijiaqi\",\"name\":\"累加器\",\"fontClass\":\"kdfont kdfont-leijiaqi\"},{\"key\":\"kdfont_qianduanyewushuju\",\"name\":\"前端业务数据\",\"fontClass\":\"kdfont kdfont-qianduanyewushuju\"},{\"key\":\"kdfont_shuilvbiao\",\"name\":\"税率表\",\"fontClass\":\"kdfont kdfont-shuilvbiao\"},{\"key\":\"kdfont_yewushujuchuli\",\"name\":\"业务数据处理\",\"fontClass\":\"kdfont kdfont-yewushujuchuli\"},{\"key\":\"kdfont_baozhangxinyongguanli\",\"name\":\"报账信用管理\",\"fontClass\":\"kdfont kdfont-baozhangxinyongguanli\"},{\"key\":\"kdfont_xiangmushouruyusuanzhixingjiankongliebiao\",\"name\":\"项目收入预算执行监控列表\",\"fontClass\":\"kdfont kdfont-xiangmushouruyusuanzhixingjiankongliebiao\"},{\"key\":\"kdfont_fenbushishiwu\",\"name\":\"分布式事务\",\"fontClass\":\"kdfont kdfont-fenbushishiwu\"},{\"key\":\"kdfont_guolvfanganpeizhi\",\"name\":\"过滤方案配置\",\"fontClass\":\"kdfont kdfont-guolvfanganpeizhi\"},{\"key\":\"kdfont_jichuziliaotongbu\",\"name\":\"基础资料同步\",\"fontClass\":\"kdfont kdfont-jichuziliaotongbu\"},{\"key\":\"kdfont_shuipingfenbiao\",\"name\":\"水平分表\",\"fontClass\":\"kdfont kdfont-shuipingfenbiao\"},{\"key\":\"kdfont_manyidudiaocha\",\"name\":\"满意度调查\",\"fontClass\":\"kdfont kdfont-manyidudiaocha\"},{\"key\":\"kdfont_wodetousu\",\"name\":\"我的投诉\",\"fontClass\":\"kdfont kdfont-wodetousu\"},{\"key\":\"kdfont_wodetoubiao\",\"name\":\"我的投标\",\"fontClass\":\"kdfont kdfont-wodetoubiao\"},{\"key\":\"kdfont_xiaoshoudingdan2\",\"name\":\"销售订单\",\"fontClass\":\"kdfont kdfont-xiaoshoudingdan2\"},{\"key\":\"kdfont_fahuojihua2\",\"name\":\"发货计划\",\"fontClass\":\"kdfont kdfont-fahuojihua2\"},{\"key\":\"kdfont_fahuoguanli\",\"name\":\"发货管理\",\"fontClass\":\"kdfont kdfont-fahuoguanli\"},{\"key\":\"kdfont_xiugaitongzhi\",\"name\":\"修改通知\",\"fontClass\":\"kdfont kdfont-xiugaitongzhi\"},{\"key\":\"kdfont_yifasongtongzhi\",\"name\":\"已发送通知\",\"fontClass\":\"kdfont kdfont-yifasongtongzhi\"},{\"key\":\"kdfont_mianshiguan\",\"name\":\"面试官\",\"fontClass\":\"kdfont kdfont-mianshiguan\"},{\"key\":\"kdfont_bupipei\",\"name\":\"不匹配\",\"fontClass\":\"kdfont kdfont-bupipei\"},{\"key\":\"kdfont_pipei2\",\"name\":\"匹配\",\"fontClass\":\"kdfont kdfont-pipei2\"},{\"key\":\"kdfont_fujiaxiang\",\"name\":\"附加项\",\"fontClass\":\"kdfont kdfont-fujiaxiang\"},{\"key\":\"kdfont_anpaitongzhi\",\"name\":\"安排通知\",\"fontClass\":\"kdfont kdfont-anpaitongzhi\"},{\"key\":\"kdfont_quxiaotongzhi\",\"name\":\"取消通知\",\"fontClass\":\"kdfont kdfont-quxiaotongzhi\"},{\"key\":\"kdfont_faqiyuyue\",\"name\":\"发起预约\",\"fontClass\":\"kdfont kdfont-faqiyuyue\"},{\"key\":\"kdfont_zhongfutoudi\",\"name\":\"重复投递\",\"fontClass\":\"kdfont kdfont-zhongfutoudi\"},{\"key\":\"kdfont_heimingdan2\",\"name\":\"黑名单\",\"fontClass\":\"kdfont kdfont-heimingdan2\"},{\"key\":\"kdfont_yisizhongfu\",\"name\":\"疑似重复\",\"fontClass\":\"kdfont kdfont-yisizhongfu\"},{\"key\":\"kdfont_lianxixinxiqueshi\",\"name\":\"联系信息缺失\",\"fontClass\":\"kdfont kdfont-lianxixinxiqueshi\"},{\"key\":\"kdfont_ziduanmoxing\",\"name\":\"字段模型\",\"fontClass\":\"kdfont kdfont-ziduanmoxing\"},{\"key\":\"kdfont_huidanpeizhiguanli\",\"name\":\"回单配置管理\",\"fontClass\":\"kdfont kdfont-huidanpeizhiguanli\"},{\"key\":\"kdfont_huidanrenwuguanli\",\"name\":\"回单任务管理\",\"fontClass\":\"kdfont kdfont-huidanrenwuguanli\"},{\"key\":\"kdfont_huidantongjifenxi\",\"name\":\"回单统计分析\",\"fontClass\":\"kdfont kdfont-huidantongjifenxi\"},{\"key\":\"kdfont_gongzuodigao\",\"name\":\"工作底稿\",\"fontClass\":\"kdfont kdfont-gongzuodigao\"},{\"key\":\"kdfont_wenjianjia3\",\"name\":\"文件夹\",\"fontClass\":\"kdfont kdfont-wenjianjia3\"},{\"key\":\"kdfont_geshibiaoge\",\"name\":\"格式表格\",\"fontClass\":\"kdfont kdfont-geshibiaoge\"},{\"key\":\"kdfont_dongtaibiaoge\",\"name\":\"动态表格\",\"fontClass\":\"kdfont kdfont-dongtaibiaoge\"},{\"key\":\"kdfont_duoweichaxunfenxi2\",\"name\":\"多维查询分析\",\"fontClass\":\"kdfont kdfont-duoweichaxunfenxi2\"},{\"key\":\"kdfont_zhuanzhiwei\",\"name\":\"转职位\",\"fontClass\":\"kdfont kdfont-zhuanzhiwei\"},{\"key\":\"kdfont_touxiang\",\"name\":\"头像\",\"fontClass\":\"kdfont kdfont-touxiang\"},{\"key\":\"kdfont_renlichengbenduixiangshezhikongzhicelue\",\"name\":\"人力成本对象设置控制策略\",\"fontClass\":\"kdfont kdfont-renlichengbenduixiangshezhikongzhicelue\"},{\"key\":\"kdfont_gangweixinchouchengbenhesuan\",\"name\":\"岗位薪酬成本核算\",\"fontClass\":\"kdfont kdfont-gangweixinchouchengbenhesuan\"},{\"key\":\"kdfont_faxindangandanganhesuan\",\"name\":\"发薪档案档案核算\",\"fontClass\":\"kdfont kdfont-faxindangandanganhesuan\"},{\"key\":\"kdfont_bumenxinchouchengbenhesuan\",\"name\":\"部门薪酬成本核算\",\"fontClass\":\"kdfont kdfont-bumenxinchouchengbenhesuan\"},{\"key\":\"kdfont_renlichengbenhesuanjichushezhi\",\"name\":\"人力成本核算基础设置\",\"fontClass\":\"kdfont kdfont-renlichengbenhesuanjichushezhi\"},{\"key\":\"kdfont_renlichengbenhesuanweiduzuhe\",\"name\":\"人力成本核算维度组合\",\"fontClass\":\"kdfont kdfont-renlichengbenhesuanweiduzuhe\"},{\"key\":\"kdfont_renlichengbenxiangmu\",\"name\":\"人力成本项目\",\"fontClass\":\"kdfont kdfont-renlichengbenxiangmu\"},{\"key\":\"kdfont_renlichengbenyewuleixing\",\"name\":\"人力成本业务类型\",\"fontClass\":\"kdfont kdfont-renlichengbenyewuleixing\"},{\"key\":\"kdfont_renyuanxinzichengbenhesuan\",\"name\":\"人员薪资成本核算\",\"fontClass\":\"kdfont kdfont-renyuanxinzichengbenhesuan\"},{\"key\":\"kdfont_xinchouxiangmuchengbenhesuan\",\"name\":\"薪酬项目成本核算\",\"fontClass\":\"kdfont kdfont-xinchouxiangmuchengbenhesuan\"},{\"key\":\"kdfont_caiwubaobiaobaosong\",\"name\":\"财务报表报送\",\"fontClass\":\"kdfont kdfont-caiwubaobiaobaosong\"},{\"key\":\"kdfont_dianzihuidanchaxun\",\"name\":\"电子回单查询\",\"fontClass\":\"kdfont kdfont-dianzihuidanchaxun\"},{\"key\":\"kdfont_yichangdanjuguanli\",\"name\":\"异常单据管理\",\"fontClass\":\"kdfont kdfont-yichangdanjuguanli\"},{\"key\":\"kdfont_yonghushouquan\",\"name\":\"用户授权\",\"fontClass\":\"kdfont kdfont-yonghushouquan\"},{\"key\":\"kdfont_gerenjichupeizhi\",\"name\":\"个人基础配置\",\"fontClass\":\"kdfont kdfont-gerenjichupeizhi\"},{\"key\":\"kdfont_gerendanganshitupeizhi\",\"name\":\"个人档案视图配置\",\"fontClass\":\"kdfont kdfont-gerendanganshitupeizhi\"},{\"key\":\"kdfont_chaobaoshuiguanli\",\"name\":\"抄报税管理\",\"fontClass\":\"kdfont kdfont-chaobaoshuiguanli\"},{\"key\":\"kdfont_fapiaoliebiao\",\"name\":\"发票列表\",\"fontClass\":\"kdfont kdfont-fapiaoliebiao\"},{\"key\":\"kdfont_fapiaoxukeshouquan\",\"name\":\"发票许可授权\",\"fontClass\":\"kdfont kdfont-fapiaoxukeshouquan\"},{\"key\":\"kdfont_kaipiaogongzuotai\",\"name\":\"开票工作台\",\"fontClass\":\"kdfont kdfont-kaipiaogongzuotai\"},{\"key\":\"kdfont_kaipiaopeizhi\",\"name\":\"开票配置\",\"fontClass\":\"kdfont kdfont-kaipiaopeizhi\"},{\"key\":\"kdfont_kaipiaotongji\",\"name\":\"开票统计\",\"fontClass\":\"kdfont kdfont-kaipiaotongji\"},{\"key\":\"kdfont_biaoqianguanli\",\"name\":\"标签管理\",\"fontClass\":\"kdfont kdfont-biaoqianguanli\"},{\"key\":\"kdfont_guanliv1\",\"name\":\"管理\",\"fontClass\":\"kdfont kdfont-guanliv1\"},{\"key\":\"kdfont_xiangmududaogongzuotai\",\"name\":\"项目督导工作台\",\"fontClass\":\"kdfont kdfont-xiangmududaogongzuotai\"},{\"key\":\"kdfont_zuoyejindujihua\",\"name\":\"作业进度计划\",\"fontClass\":\"kdfont kdfont-zuoyejindujihua\"},{\"key\":\"kdfont_jichuziyuan\",\"name\":\"基础资源\",\"fontClass\":\"kdfont kdfont-jichuziyuan\"},{\"key\":\"kdfont_qudaoyun-quanyizhongxin\",\"name\":\"渠道云-权益中心\",\"fontClass\":\"kdfont kdfont-qudaoyun-quanyizhongxin\"},{\"key\":\"kdfont_kucunfumai\",\"name\":\"库存负卖\",\"fontClass\":\"kdfont kdfont-kucunfumai\"},{\"key\":\"kdfont_xiansuo\",\"name\":\"线索\",\"fontClass\":\"kdfont kdfont-xiansuo\"},{\"key\":\"kdfont_xingming2\",\"name\":\"姓名\",\"fontClass\":\"kdfont kdfont-xingming2\"},{\"key\":\"kdfont_gongzuori2\",\"name\":\"工作日\",\"fontClass\":\"kdfont kdfont-gongzuori2\"},{\"key\":\"kdfont_jiaqi2\",\"name\":\"假期\",\"fontClass\":\"kdfont kdfont-jiaqi2\"},{\"key\":\"kdfont_xiuxiri\",\"name\":\"休息日\",\"fontClass\":\"kdfont kdfont-xiuxiri\"},{\"key\":\"kdfont_huijishijian2\",\"name\":\"会计事件\",\"fontClass\":\"kdfont kdfont-huijishijian2\"},{\"key\":\"kdfont_shijianleixing\",\"name\":\"事件类型\",\"fontClass\":\"kdfont kdfont-shijianleixing\"},{\"key\":\"kdfont_jiaoyichuli\",\"name\":\"交易处理\",\"fontClass\":\"kdfont kdfont-jiaoyichuli\"},{\"key\":\"kdfont_cankaolilvshuju\",\"name\":\"参考利率数据\",\"fontClass\":\"kdfont kdfont-cankaolilvshuju\"},{\"key\":\"kdfont_jiaoyiguanli\",\"name\":\"交易管理\",\"fontClass\":\"kdfont kdfont-jiaoyiguanli\"},{\"key\":\"kdfont_lilvlei\",\"name\":\"利率类\",\"fontClass\":\"kdfont kdfont-lilvlei\"},{\"key\":\"kdfont_lilvshangxianbodonglvqumian\",\"name\":\"利率上限波动率曲面\",\"fontClass\":\"kdfont kdfont-lilvshangxianbodonglvqumian\"},{\"key\":\"kdfont_waihuibodonglvquxian\",\"name\":\"外汇波动率曲线\",\"fontClass\":\"kdfont kdfont-waihuibodonglvquxian\"},{\"key\":\"kdfont_zhaiquanbodonglvqumianbeifen\",\"name\":\"债券波动率曲面备份\",\"fontClass\":\"kdfont kdfont-zhaiquanbodonglvqumianbeifen\"},{\"key\":\"kdfont_zhaiquanlei\",\"name\":\"债券类\",\"fontClass\":\"kdfont kdfont-zhaiquanlei\"},{\"key\":\"kdfont_zhishushuju\",\"name\":\"指数数据\",\"fontClass\":\"kdfont kdfont-zhishushuju\"},{\"key\":\"kdfont_tongxunlu\",\"name\":\"通讯录\",\"fontClass\":\"kdfont kdfont-tongxunlu\"},{\"key\":\"kdfont_guanlizhongxin\",\"name\":\"管理中心\",\"fontClass\":\"kdfont kdfont-guanlizhongxin\"},{\"key\":\"kdfont_yibanshenqing\",\"name\":\"已办申请\",\"fontClass\":\"kdfont kdfont-yibanshenqing\"},{\"key\":\"kdfont_fuwuliucheng\",\"name\":\"服务流程\",\"fontClass\":\"kdfont kdfont-fuwuliucheng\"},{\"key\":\"kdfont_dianziqianzhangfuwu\",\"name\":\"电子签章服务\",\"fontClass\":\"kdfont kdfont-dianziqianzhangfuwu\"},{\"key\":\"kdfont_shouyedingzhi\",\"name\":\"首页定制\",\"fontClass\":\"kdfont kdfont-shouyedingzhi\"},{\"key\":\"kdfont_jichengyuanshuju\",\"name\":\"集成元数据\",\"fontClass\":\"kdfont kdfont-jichengyuanshuju\"},{\"key\":\"kdfont_APIjicheng\",\"name\":\"API集成\",\"fontClass\":\"kdfont kdfont-APIjicheng\"},{\"key\":\"kdfont_qita2\",\"name\":\"其他\",\"fontClass\":\"kdfont kdfont-qita2\"},{\"key\":\"kdfont_shujuzhilibeifen\",\"name\":\"数据治理\",\"fontClass\":\"kdfont kdfont-shujuzhilibeifen\"},{\"key\":\"kdfont_shujujicheng\",\"name\":\"数据集成\",\"fontClass\":\"kdfont kdfont-shujujicheng\"},{\"key\":\"kdfont_jichengyun\",\"name\":\"集成云\",\"fontClass\":\"kdfont kdfont-jichengyun\"},{\"key\":\"kdfont_huijishijian\",\"name\":\"会计事件\",\"fontClass\":\"kdfont kdfont-huijishijian\"},{\"key\":\"kdfont_denglurizhi\",\"name\":\"登陆日志\",\"fontClass\":\"kdfont kdfont-denglurizhi\"},{\"key\":\"kdfont_dengluyepeizhi\",\"name\":\"登陆页配置\",\"fontClass\":\"kdfont kdfont-dengluyepeizhi\"},{\"key\":\"kdfont_huiduyonghushezhi\",\"name\":\"灰度用户设置\",\"fontClass\":\"kdfont kdfont-huiduyonghushezhi\"},{\"key\":\"kdfont_yinsishengmingfuwu\",\"name\":\"隐私声明服务\",\"fontClass\":\"kdfont kdfont-yinsishengmingfuwu\"},{\"key\":\"kdfont_IPguankong\",\"name\":\"IP管控\",\"fontClass\":\"kdfont kdfont-IPguankong\"},{\"key\":\"kdfont_geshuiyewubaobiao\",\"name\":\"个税业务报表\",\"fontClass\":\"kdfont kdfont-geshuiyewubaobiao\"},{\"key\":\"kdfont_geshuiyuanshuju\",\"name\":\"个税源数据\",\"fontClass\":\"kdfont kdfont-geshuiyuanshuju\"},{\"key\":\"kdfont_geshuitixi\",\"name\":\"个税体系\",\"fontClass\":\"kdfont kdfont-geshuitixi\"},{\"key\":\"kdfont_renyuangeshuidangan\",\"name\":\"人员个税档案\",\"fontClass\":\"kdfont kdfont-renyuangeshuidangan\"},{\"key\":\"kdfont_geshuijisuanjishenbao\",\"name\":\"个税计算及申报\",\"fontClass\":\"kdfont kdfont-geshuijisuanjishenbao\"},{\"key\":\"kdfont_geshuishenbaoshezhi\",\"name\":\"个税申报设置\",\"fontClass\":\"kdfont kdfont-geshuishenbaoshezhi\"},{\"key\":\"kdfont_kemubanbenhua\",\"name\":\"科目版本化\",\"fontClass\":\"kdfont kdfont-kemubanbenhua\"},{\"key\":\"kdfont_shujuzhongtai\",\"name\":\"数据中台\",\"fontClass\":\"kdfont kdfont-shujuzhongtai\"},{\"key\":\"kdfont_duiwaitouzidengjidan\",\"name\":\"对外投资登记单\",\"fontClass\":\"kdfont kdfont-duiwaitouzidengjidan\"},{\"key\":\"kdfont_gongyingshangrending\",\"name\":\"供应商认定\",\"fontClass\":\"kdfont kdfont-gongyingshangrending\"},{\"key\":\"kdfont_xiangmuchushe\",\"name\":\"项目初设\",\"fontClass\":\"kdfont kdfont-xiangmuchushe\"},{\"key\":\"kdfont_xiangmuyijiao\",\"name\":\"项目移交\",\"fontClass\":\"kdfont kdfont-xiangmuyijiao\"},{\"key\":\"kdfont_xiangmuxingxiangjinduhuibao\",\"name\":\"项目形象进度汇报\",\"fontClass\":\"kdfont kdfont-xiangmuxingxiangjinduhuibao\"},{\"key\":\"kdfont_xiangmujungongyanshou\",\"name\":\"项目竣工验收\",\"fontClass\":\"kdfont kdfont-xiangmujungongyanshou\"},{\"key\":\"kdfont_xiangmujuesuanshenji\",\"name\":\"项目决算审计\",\"fontClass\":\"kdfont kdfont-xiangmujuesuanshenji\"},{\"key\":\"kdfont_xiangmujiaogongyanshou\",\"name\":\"项目交工验收\",\"fontClass\":\"kdfont kdfont-xiangmujiaogongyanshou\"},{\"key\":\"kdfont_xiangmuhoupingjia\",\"name\":\"项目后评价\",\"fontClass\":\"kdfont kdfont-xiangmuhoupingjia\"},{\"key\":\"kdfont_xiangmuguochengwenjian\",\"name\":\"项目过程文件\",\"fontClass\":\"kdfont kdfont-xiangmuguochengwenjian\"},{\"key\":\"kdfont_xiangmuzhichuyusuandiaojidan\",\"name\":\"项目支出预算调剂单\",\"fontClass\":\"kdfont kdfont-xiangmuzhichuyusuandiaojidan\"},{\"key\":\"kdfont_xiangmuzhichuyusuanzhixingjiankong\",\"name\":\"项目支出预算执行监控\",\"fontClass\":\"kdfont kdfont-xiangmuzhichuyusuanzhixingjiankong\"},{\"key\":\"kdfont_xiangmuzhuanxiangyanshou\",\"name\":\"项目专项验收\",\"fontClass\":\"kdfont kdfont-xiangmuzhuanxiangyanshou\"},{\"key\":\"kdfont_zhanluexieyiliebiao\",\"name\":\"战略协议列表\",\"fontClass\":\"kdfont kdfont-zhanluexieyiliebiao\"},{\"key\":\"kdfont_zhichuyusuankongzhishezhi\",\"name\":\"支出预算控制设置\",\"fontClass\":\"kdfont kdfont-zhichuyusuankongzhishezhi\"},{\"key\":\"kdfont_leibie\",\"name\":\"类别\",\"fontClass\":\"kdfont kdfont-leibie\"},{\"key\":\"kdfont_zhanluexieyiqianding\",\"name\":\"战略协议签订\",\"fontClass\":\"kdfont kdfont-zhanluexieyiqianding\"},{\"key\":\"kdfont_yewuduixiangbeifen\",\"name\":\"业务对象\",\"fontClass\":\"kdfont kdfont-yewuduixiangbeifen\"},{\"key\":\"kdfont_jiezhangjianchaxiangbeifen\",\"name\":\"结账检查项\",\"fontClass\":\"kdfont kdfont-jiezhangjianchaxiangbeifen\"},{\"key\":\"kdfont_jianchaxiangzhixingrizhibeifen\",\"name\":\"检查项执行日志\",\"fontClass\":\"kdfont kdfont-jianchaxiangzhixingrizhibeifen\"},{\"key\":\"kdfont_xiangmu18\",\"name\":\"项目\",\"fontClass\":\"kdfont kdfont-xiangmu18\"},{\"key\":\"kdfont_tengxunhaina\",\"name\":\"腾讯海纳\",\"fontClass\":\"kdfont kdfont-tengxunhaina\"},{\"key\":\"kdfont_qiyebiaozhun\",\"name\":\"企业标准\",\"fontClass\":\"kdfont kdfont-qiyebiaozhun\"},{\"key\":\"kdfont_qimochuli2\",\"name\":\"期末处理\",\"fontClass\":\"kdfont kdfont-qimochuli2\"},{\"key\":\"kdfont_baobiaofenxi2\",\"name\":\"报表分析\",\"fontClass\":\"kdfont kdfont-baobiaofenxi2\"},{\"key\":\"kdfont_beijiancaigoujihua\",\"name\":\"备件采购计划\",\"fontClass\":\"kdfont kdfont-beijiancaigoujihua\"},{\"key\":\"kdfont_chubeiku\",\"name\":\"储备库\",\"fontClass\":\"kdfont kdfont-chubeiku\"},{\"key\":\"kdfont_niandutouziyusuanshenqing\",\"name\":\"年度投资预算申请\",\"fontClass\":\"kdfont kdfont-niandutouziyusuanshenqing\"},{\"key\":\"kdfont_niandutouziyusuanshenpi\",\"name\":\"年度投资预算审批\",\"fontClass\":\"kdfont kdfont-niandutouziyusuanshenpi\"},{\"key\":\"kdfont_touziyusuanku\",\"name\":\"投资预算库\",\"fontClass\":\"kdfont kdfont-touziyusuanku\"},{\"key\":\"kdfont_xiangmujianyishu\",\"name\":\"项目建议书\",\"fontClass\":\"kdfont kdfont-xiangmujianyishu\"},{\"key\":\"kdfont_duizhangbuguanli\",\"name\":\"对账簿管理\",\"fontClass\":\"kdfont kdfont-duizhangbuguanli\"},{\"key\":\"kdfont_faxinricheng\",\"name\":\"发薪日程\",\"fontClass\":\"kdfont kdfont-faxinricheng\"},{\"key\":\"kdfont_renyuandanganguanli\",\"name\":\"人员档案管理\",\"fontClass\":\"kdfont kdfont-renyuandanganguanli\"},{\"key\":\"kdfont_dianzihuidantaodamobanzhiding\",\"name\":\"电子回单套打模板指定\",\"fontClass\":\"kdfont kdfont-dianzihuidantaodamobanzhiding\"},{\"key\":\"kdfont_dailixing\",\"name\":\"代理行\",\"fontClass\":\"kdfont kdfont-dailixing\"},{\"key\":\"kdfont_dianzihuidanzhixingliebiao\",\"name\":\"电子回单执行列表\",\"fontClass\":\"kdfont kdfont-dianzihuidanzhixingliebiao\"},{\"key\":\"kdfont_muzizhanghushezhi\",\"name\":\"母子账户设置\",\"fontClass\":\"kdfont kdfont-muzizhanghushezhi\"},{\"key\":\"kdfont_neibuhuoqicunkuanjixi\",\"name\":\"内部活期存款计息\",\"fontClass\":\"kdfont kdfont-neibuhuoqicunkuanjixi\"},{\"key\":\"kdfont_duiwaifukuanjiesuandan\",\"name\":\"对外付款结算单\",\"fontClass\":\"kdfont kdfont-duiwaifukuanjiesuandan\"},{\"key\":\"kdfont_duiwaishoukuanjiesuandan\",\"name\":\"对外收款结算单\",\"fontClass\":\"kdfont kdfont-duiwaishoukuanjiesuandan\"},{\"key\":\"kdfont_neibuhuoqicunkuanlixichaxun\",\"name\":\"内部活期存款利息查询\",\"fontClass\":\"kdfont kdfont-neibuhuoqicunkuanlixichaxun\"},{\"key\":\"kdfont_neibuhuoqilixihuizongbiao\",\"name\":\"内部活期利息汇总表\",\"fontClass\":\"kdfont kdfont-neibuhuoqilixihuizongbiao\"},{\"key\":\"kdfont_jizhunlixi\",\"name\":\"基准利息\",\"fontClass\":\"kdfont kdfont-jizhunlixi\"},{\"key\":\"kdfont_jiexishezhi\",\"name\":\"结息设置\",\"fontClass\":\"kdfont kdfont-jiexishezhi\"},{\"key\":\"kdfont_neibujixiduixiang\",\"name\":\"内部计息对象\",\"fontClass\":\"kdfont kdfont-neibujixiduixiang\"},{\"key\":\"kdfont_neibujiesuandan\",\"name\":\"内部结算单\",\"fontClass\":\"kdfont kdfont-neibujiesuandan\"},{\"key\":\"kdfont_jiuxuanhuchaxun\",\"name\":\"久悬户查询\",\"fontClass\":\"kdfont kdfont-jiuxuanhuchaxun\"},{\"key\":\"kdfont_lilvfangan\",\"name\":\"利率方案\",\"fontClass\":\"kdfont kdfont-lilvfangan\"},{\"key\":\"kdfont_neibuzhanghuchaxun\",\"name\":\"内部账户查询\",\"fontClass\":\"kdfont kdfont-neibuzhanghuchaxun\"},{\"key\":\"kdfont_weijiesuanyujingshezhi\",\"name\":\"未结算预警设置\",\"fontClass\":\"kdfont kdfont-weijiesuanyujingshezhi\"},{\"key\":\"kdfont_qingkuanshenqingxinzeng\",\"name\":\"请款申请新增\",\"fontClass\":\"kdfont kdfont-qingkuanshenqingxinzeng\"},{\"key\":\"kdfont_qingkuanshenqingchaxun\",\"name\":\"请款申请查询\",\"fontClass\":\"kdfont kdfont-qingkuanshenqingchaxun\"},{\"key\":\"kdfont_tongmingdiaobodanxinzeng\",\"name\":\"同名调拨单新增\",\"fontClass\":\"kdfont kdfont-tongmingdiaobodanxinzeng\"},{\"key\":\"kdfont_tongmingdiaobodanchaxun\",\"name\":\"同名调拨单查询\",\"fontClass\":\"kdfont kdfont-tongmingdiaobodanchaxun\"},{\"key\":\"kdfont_neibuzhanghuyuebiandonghuizongbiao\",\"name\":\"内部账户余额变动汇总表\",\"fontClass\":\"kdfont kdfont-neibuzhanghuyuebiandonghuizongbiao\"},{\"key\":\"kdfont_neibuzhanghuxinzeng\",\"name\":\"内部账户新增\",\"fontClass\":\"kdfont kdfont-neibuzhanghuxinzeng\"},{\"key\":\"kdfont_shanghuashenqingxinzeng\",\"name\":\"上划申请新增\",\"fontClass\":\"kdfont kdfont-shanghuashenqingxinzeng\"},{\"key\":\"kdfont_shanghuashenqingchaxun\",\"name\":\"上划申请查询\",\"fontClass\":\"kdfont kdfont-shanghuashenqingchaxun\"},{\"key\":\"kdfont_neibuzhanghumingxi\",\"name\":\"内部账户明细\",\"fontClass\":\"kdfont kdfont-neibuzhanghumingxi\"},{\"key\":\"kdfont_neibuzhanghukaihushenqingchaxun\",\"name\":\"内部账户开户申请查询\",\"fontClass\":\"kdfont kdfont-neibuzhanghukaihushenqingchaxun\"},{\"key\":\"kdfont_neibuzhanghukaihushenqingxinzeng\",\"name\":\"内部账户开户申请新增\",\"fontClass\":\"kdfont kdfont-neibuzhanghukaihushenqingxinzeng\"},{\"key\":\"kdfont_shanghuadanxinzeng\",\"name\":\"上划单新增\",\"fontClass\":\"kdfont kdfont-shanghuadanxinzeng\"},{\"key\":\"kdfont_shanghuadanchaxun\",\"name\":\"上划单查询\",\"fontClass\":\"kdfont kdfont-shanghuadanchaxun\"},{\"key\":\"kdfont_xiabodanchaxun\",\"name\":\"下拨单查询\",\"fontClass\":\"kdfont kdfont-xiabodanchaxun\"},{\"key\":\"kdfont_xiabodanxinzeng\",\"name\":\"下拨单新增\",\"fontClass\":\"kdfont kdfont-xiabodanxinzeng\"},{\"key\":\"kdfont_yinxingshanghuadan\",\"name\":\"银行上划单\",\"fontClass\":\"kdfont kdfont-yinxingshanghuadan\"},{\"key\":\"kdfont_yinxingxiabodan\",\"name\":\"银行下拨单\",\"fontClass\":\"kdfont kdfont-yinxingxiabodan\"},{\"key\":\"kdfont_yinxingzhanghuchaxun\",\"name\":\"银行账户查询\",\"fontClass\":\"kdfont kdfont-yinxingzhanghuchaxun\"},{\"key\":\"kdfont_yinxingzhanghukaihushenqing\",\"name\":\"银行账户开户申请\",\"fontClass\":\"kdfont kdfont-yinxingzhanghukaihushenqing\"},{\"key\":\"kdfont_yinxingzhanghukaihushenqingchaxun\",\"name\":\"银行账户开户申请查询\",\"fontClass\":\"kdfont kdfont-yinxingzhanghukaihushenqingchaxun\"},{\"key\":\"kdfont_zhanghuyuechaxun\",\"name\":\"账户余额查询\",\"fontClass\":\"kdfont kdfont-zhanghuyuechaxun\"},{\"key\":\"kdfont_zhanghuyongtu\",\"name\":\"账户用途\",\"fontClass\":\"kdfont kdfont-zhanghuyongtu\"},{\"key\":\"kdfont_zhanghumingxibiao\",\"name\":\"账户明细表\",\"fontClass\":\"kdfont kdfont-zhanghumingxibiao\"},{\"key\":\"kdfont_zhanghujiaoyimingxichaxun\",\"name\":\"账户交易明细查询\",\"fontClass\":\"kdfont kdfont-zhanghujiaoyimingxichaxun\"},{\"key\":\"kdfont_zhanghuguanlicelue\",\"name\":\"账户管理策略\",\"fontClass\":\"kdfont kdfont-zhanghuguanlicelue\"},{\"key\":\"kdfont_yinxingzhanghuxiaohushenqingchaxun\",\"name\":\"银行账户销户申请查询\",\"fontClass\":\"kdfont kdfont-yinxingzhanghuxiaohushenqingchaxun\"},{\"key\":\"kdfont_yinxingzhanghuxiaohushenqing\",\"name\":\"银行账户销户申请\",\"fontClass\":\"kdfont kdfont-yinxingzhanghuxiaohushenqing\"},{\"key\":\"kdfont_zhipiaoxinxi\",\"name\":\"支票信息\",\"fontClass\":\"kdfont kdfont-zhipiaoxinxi\"},{\"key\":\"kdfont_zijinjiesuanhuizongbiao\",\"name\":\"资金结算汇总表\",\"fontClass\":\"kdfont kdfont-zijinjiesuanhuizongbiao\"},{\"key\":\"kdfont_zidonghuaborenwushezhi\",\"name\":\"自动划拨任务设置\",\"fontClass\":\"kdfont kdfont-zidonghuaborenwushezhi\"},{\"key\":\"kdfont_wanzhengxingxiaoyan\",\"name\":\"完整性校验\",\"fontClass\":\"kdfont kdfont-wanzhengxingxiaoyan\"},{\"key\":\"kdfont_xuqiushenqing\",\"name\":\"需求申请\",\"fontClass\":\"kdfont kdfont-xuqiushenqing\"},{\"key\":\"kdfont_zhanghuhuizongbiao\",\"name\":\"账户汇总表\",\"fontClass\":\"kdfont kdfont-zhanghuhuizongbiao\"},{\"key\":\"kdfont_zijindiaodumingxi\",\"name\":\"资金调度明细\",\"fontClass\":\"kdfont kdfont-zijindiaodumingxi\"},{\"key\":\"kdfont_jifenguanli\",\"name\":\"积分管理\",\"fontClass\":\"kdfont kdfont-jifenguanli\"},{\"key\":\"kdfont_rongqidanganpeizhi\",\"name\":\"容器档案配置\",\"fontClass\":\"kdfont kdfont-rongqidanganpeizhi\"},{\"key\":\"kdfont_rongqiguanli\",\"name\":\"容器管理\",\"fontClass\":\"kdfont kdfont-rongqiguanli\"},{\"key\":\"kdfont_paigongdanzhunbei\",\"name\":\"派工单准备\",\"fontClass\":\"kdfont kdfont-paigongdanzhunbei\"},{\"key\":\"kdfont_paigongdanzhixing\",\"name\":\"派工单执行\",\"fontClass\":\"kdfont kdfont-paigongdanzhixing\"},{\"key\":\"kdfont_jichushuju2\",\"name\":\"基础数据\",\"fontClass\":\"kdfont kdfont-jichushuju2\"},{\"key\":\"kdfont_gongyiwenjianguanli\",\"name\":\"工艺文件管理\",\"fontClass\":\"kdfont kdfont-gongyiwenjianguanli\"},{\"key\":\"kdfont_gongdanfabu\",\"name\":\"工单发布\",\"fontClass\":\"kdfont kdfont-gongdanfabu\"},{\"key\":\"kdfont_fanxiubaofeiguanli\",\"name\":\"返修报废管理 \",\"fontClass\":\"kdfont kdfont-fanxiubaofeiguanli\"},{\"key\":\"kdfont_peisongjihuashezhi\",\"name\":\"配送计划设置\",\"fontClass\":\"kdfont kdfont-peisongjihuashezhi\"},{\"key\":\"kdfont_peisongxuqiushezhi\",\"name\":\"配送需求设置\",\"fontClass\":\"kdfont kdfont-peisongxuqiushezhi\"},{\"key\":\"kdfont_shengchankongzhi\",\"name\":\"生产控制\",\"fontClass\":\"kdfont kdfont-shengchankongzhi\"},{\"key\":\"kdfont_shengchanxinxichaxun\",\"name\":\"生产信息查询\",\"fontClass\":\"kdfont kdfont-shengchanxinxichaxun\"},{\"key\":\"kdfont_wuliaodanguanli\",\"name\":\"物料单管理\",\"fontClass\":\"kdfont kdfont-wuliaodanguanli\"},{\"key\":\"kdfont_yichangkanban\",\"name\":\"异常看板\",\"fontClass\":\"kdfont kdfont-yichangkanban\"},{\"key\":\"kdfont_chanpinxuanpei\",\"name\":\"产品选配\",\"fontClass\":\"kdfont kdfont-chanpinxuanpei\"},{\"key\":\"kdfont_zhaomugonggao2\",\"name\":\"招募公告\",\"fontClass\":\"kdfont kdfont-zhaomugonggao2\"},{\"key\":\"kdfont_chuanboshuiyuanxinxi\",\"name\":\"船舶税源信息\",\"fontClass\":\"kdfont kdfont-chuanboshuiyuanxinxi\"},{\"key\":\"kdfont_huabanbeifen3\",\"name\":\"印花税应税凭证\",\"fontClass\":\"kdfont kdfont-huabanbeifen3\"},{\"key\":\"kdfont_fangchanshuiyuanxinxi\",\"name\":\"房产税源信息\",\"fontClass\":\"kdfont kdfont-fangchanshuiyuanxinxi\"},{\"key\":\"kdfont_qianhujituanbaosong\",\"name\":\"千户集团报送\",\"fontClass\":\"kdfont kdfont-qianhujituanbaosong\"},{\"key\":\"kdfont_shuiwuyuansu\",\"name\":\"税务元素\",\"fontClass\":\"kdfont kdfont-shuiwuyuansu\"},{\"key\":\"kdfont_tudishuiyuanxinxi\",\"name\":\"土地税源信息\",\"fontClass\":\"kdfont kdfont-tudishuiyuanxinxi\"},{\"key\":\"kdfont_zhongdianshuiyuanbaosong\",\"name\":\"重点税源报送\",\"fontClass\":\"kdfont kdfont-zhongdianshuiyuanbaosong\"},{\"key\":\"kdfont_jiageguankong\",\"name\":\"价格管控\",\"fontClass\":\"kdfont kdfont-jiageguankong\"},{\"key\":\"kdfont_goujijilu\",\"name\":\"勾稽记录\",\"fontClass\":\"kdfont kdfont-goujijilu\"},{\"key\":\"kdfont_neibudixiao\",\"name\":\"内部抵销\",\"fontClass\":\"kdfont kdfont-neibudixiao\"},{\"key\":\"kdfont_shoutuojiagong\",\"name\":\"受托加工\",\"fontClass\":\"kdfont kdfont-shoutuojiagong\"},{\"key\":\"kdfont_xiangmushouquan\",\"name\":\"项目授权\",\"fontClass\":\"kdfont kdfont-xiangmushouquan\"},{\"key\":\"kdfont_xiangmudengji\",\"name\":\"项目登记\",\"fontClass\":\"kdfont kdfont-xiangmudengji\"},{\"key\":\"kdfont_tudixinxi\",\"name\":\"土地信息\",\"fontClass\":\"kdfont kdfont-tudixinxi\"},{\"key\":\"kdfont_bangzhuzhongxin\",\"name\":\"帮助中心\",\"fontClass\":\"kdfont kdfont-bangzhuzhongxin\"},{\"key\":\"kdfont_lianxiwomen\",\"name\":\"联系我们\",\"fontClass\":\"kdfont kdfont-lianxiwomen\"},{\"key\":\"kdfont_zhaobiaogonggao\",\"name\":\"招标公告\",\"fontClass\":\"kdfont kdfont-zhaobiaogonggao\"},{\"key\":\"kdfont_zhaomugonggao\",\"name\":\"招募公告\",\"fontClass\":\"kdfont kdfont-zhaomugonggao\"},{\"key\":\"kdfont_zhongbiaogonggao\",\"name\":\"中标公告\",\"fontClass\":\"kdfont kdfont-zhongbiaogonggao\"},{\"key\":\"kdfont_xinzenggongyingshang2\",\"name\":\"新增供应商\",\"fontClass\":\"kdfont kdfont-xinzenggongyingshang2\"},{\"key\":\"kdfont_kemuduizhaoguanxi\",\"name\":\"科目对照关系\",\"fontClass\":\"kdfont kdfont-kemuduizhaoguanxi\"},{\"key\":\"kdfont_jiezhangjiancha\",\"name\":\"结账检查\",\"fontClass\":\"kdfont kdfont-jiezhangjiancha\"},{\"key\":\"kdfont_zhuanxiangshenpi\",\"name\":\"专项审批\",\"fontClass\":\"kdfont kdfont-zhuanxiangshenpi\"},{\"key\":\"kdfont_xiangmu8\",\"name\":\"项目\",\"fontClass\":\"kdfont kdfont-xiangmu8\"},{\"key\":\"kdfont_weituodaixiaojiesuan\",\"name\":\"委托代销结算\",\"fontClass\":\"kdfont kdfont-weituodaixiaojiesuan\"},{\"key\":\"kdfont_weituodaixiaokucunchaxun\",\"name\":\"委托代销库存查询\",\"fontClass\":\"kdfont kdfont-weituodaixiaokucunchaxun\"},{\"key\":\"kdfont_weituodaixiaoshouchu\",\"name\":\"委托代销售出\",\"fontClass\":\"kdfont kdfont-weituodaixiaoshouchu\"},{\"key\":\"kdfont_weituodaixiaotuihuo\",\"name\":\"委托代销退货\",\"fontClass\":\"kdfont kdfont-weituodaixiaotuihuo\"},{\"key\":\"kdfont_weituodaixiaozhixing\",\"name\":\"委托代销执行\",\"fontClass\":\"kdfont kdfont-weituodaixiaozhixing\"},{\"key\":\"kdfont_mubiaochengben\",\"name\":\"目标成本\",\"fontClass\":\"kdfont kdfont-mubiaochengben\"},{\"key\":\"kdfont_kuaqifentan\",\"name\":\"跨期分摊\",\"fontClass\":\"kdfont kdfont-kuaqifentan\"},{\"key\":\"kdfont_dongtaichengben\",\"name\":\"动态成本\",\"fontClass\":\"kdfont kdfont-dongtaichengben\"},{\"key\":\"kdfont_chengbenchaifen\",\"name\":\"成本拆分\",\"fontClass\":\"kdfont kdfont-chengbenchaifen\"},{\"key\":\"kdfont_chengbencesuan\",\"name\":\"成本测算\",\"fontClass\":\"kdfont kdfont-chengbencesuan\"},{\"key\":\"kdfont_heyueguihuamoban\",\"name\":\"合约规划模版\",\"fontClass\":\"kdfont kdfont-heyueguihuamoban\"},{\"key\":\"kdfont_chengbenduibi\",\"name\":\"成本对比\",\"fontClass\":\"kdfont kdfont-chengbenduibi\"},{\"key\":\"kdfont_baobiaoguanli2\",\"name\":\"报表管理\",\"fontClass\":\"kdfont kdfont-baobiaoguanli2\"},{\"key\":\"kdfont_biangengqingdan\",\"name\":\"变更清单\",\"fontClass\":\"kdfont kdfont-biangengqingdan\"},{\"key\":\"kdfont_dingbiaoqingdan\",\"name\":\"定标清单\",\"fontClass\":\"kdfont kdfont-dingbiaoqingdan\"},{\"key\":\"kdfont_biaoqiangusuanbiaodi\",\"name\":\"标前估算（标底）\",\"fontClass\":\"kdfont kdfont-biaoqiangusuanbiaodi\"},{\"key\":\"kdfont_heyueguihua\",\"name\":\"合约规划\",\"fontClass\":\"kdfont kdfont-heyueguihua\"},{\"key\":\"kdfont_hetongqingdan\",\"name\":\"合同清单\",\"fontClass\":\"kdfont kdfont-hetongqingdan\"},{\"key\":\"kdfont_pingbiaobaogao\",\"name\":\"评标报告\",\"fontClass\":\"kdfont kdfont-pingbiaobaogao\"},{\"key\":\"kdfont_zhinengqingbiao\",\"name\":\"智能清标\",\"fontClass\":\"kdfont kdfont-zhinengqingbiao\"},{\"key\":\"kdfont_zhaobiaoqingdan\",\"name\":\"招标清单\",\"fontClass\":\"kdfont kdfont-zhaobiaoqingdan\"},{\"key\":\"kdfont_toubiaobaojia\",\"name\":\"投标报价\",\"fontClass\":\"kdfont kdfont-toubiaobaojia\"},{\"key\":\"kdfont_qingdanmoban\",\"name\":\"清单模版\",\"fontClass\":\"kdfont kdfont-qingdanmoban\"},{\"key\":\"kdfont_jiesuanqingdan\",\"name\":\"结算清单\",\"fontClass\":\"kdfont kdfont-jiesuanqingdan\"},{\"key\":\"kdfont_zhongjiliangqingdan\",\"name\":\"重计量清单\",\"fontClass\":\"kdfont kdfont-zhongjiliangqingdan\"},{\"key\":\"kdfont_chanzhiqueren\",\"name\":\"产值确认\",\"fontClass\":\"kdfont kdfont-chanzhiqueren\"},{\"key\":\"kdfont_qingdanzimu\",\"name\":\"清单子目\",\"fontClass\":\"kdfont kdfont-qingdanzimu\"},{\"key\":\"kdfont_hetongbaobiao\",\"name\":\"合同报表\",\"fontClass\":\"kdfont kdfont-hetongbaobiao\"},{\"key\":\"kdfont_hetongfukuan\",\"name\":\"合同付款\",\"fontClass\":\"kdfont kdfont-hetongfukuan\"},{\"key\":\"kdfont_hetongjiesuan\",\"name\":\"合同结算\",\"fontClass\":\"kdfont kdfont-hetongjiesuan\"},{\"key\":\"kdfont_jieduanjiesuan\",\"name\":\"阶段结算\",\"fontClass\":\"kdfont kdfont-jieduanjiesuan\"},{\"key\":\"kdfont_chechuanshui\",\"name\":\"车船税\",\"fontClass\":\"kdfont kdfont-chechuanshui\"},{\"key\":\"kdfont_huanbaoshui\",\"name\":\"环保税\",\"fontClass\":\"kdfont kdfont-huanbaoshui\"},{\"key\":\"kdfont_yanyeshui\",\"name\":\"烟叶税\",\"fontClass\":\"kdfont kdfont-yanyeshui\"},{\"key\":\"kdfont_ziyuanshui\",\"name\":\"资源税\",\"fontClass\":\"kdfont kdfont-ziyuanshui\"},{\"key\":\"kdfont_gongchengzhiling\",\"name\":\"工程指令\",\"fontClass\":\"kdfont kdfont-gongchengzhiling\"},{\"key\":\"kdfont_hetongqianding\",\"name\":\"合同签订\",\"fontClass\":\"kdfont kdfont-hetongqianding\"},{\"key\":\"kdfont_fukuanshenqing\",\"name\":\"付款申请\",\"fontClass\":\"kdfont kdfont-fukuanshenqing\"},{\"key\":\"kdfont_xianchangqianzheng\",\"name\":\"现场签证\",\"fontClass\":\"kdfont kdfont-xianchangqianzheng\"},{\"key\":\"kdfont_wangongqueren\",\"name\":\"完工确认\",\"fontClass\":\"kdfont kdfont-wangongqueren\"},{\"key\":\"kdfont_shejibiangeng\",\"name\":\"设计变更\",\"fontClass\":\"kdfont kdfont-shejibiangeng\"},{\"key\":\"kdfont_jianglikoukuan\",\"name\":\"奖励扣款\",\"fontClass\":\"kdfont kdfont-jianglikoukuan\"},{\"key\":\"kdfont_fukuanchaifen\",\"name\":\"付款拆分\",\"fontClass\":\"kdfont kdfont-fukuanchaifen\"},{\"key\":\"kdfont_hetongbiangeng2\",\"name\":\"合同变更\",\"fontClass\":\"kdfont kdfont-hetongbiangeng2\"},{\"key\":\"kdfont_hetongxiuding\",\"name\":\"合同修订\",\"fontClass\":\"kdfont kdfont-hetongxiuding\"},{\"key\":\"kdfont_xiaoshoudingdan\",\"name\":\"销售订单\",\"fontClass\":\"kdfont kdfont-xiaoshoudingdan\"},{\"key\":\"kdfont_biangengjiesuan\",\"name\":\"变更结算\",\"fontClass\":\"kdfont kdfont-biangengjiesuan\"},{\"key\":\"kdfont_feiyonghetong\",\"name\":\"费用合同\",\"fontClass\":\"kdfont kdfont-feiyonghetong\"},{\"key\":\"kdfont_zhanluexieyi\",\"name\":\"战略协议\",\"fontClass\":\"kdfont kdfont-zhanluexieyi\"},{\"key\":\"kdfont_jicaixieyi\",\"name\":\"集采协议\",\"fontClass\":\"kdfont kdfont-jicaixieyi\"},{\"key\":\"kdfont_buchonghetong\",\"name\":\"补充合同\",\"fontClass\":\"kdfont kdfont-buchonghetong\"},{\"key\":\"kdfont_fahuojihua\",\"name\":\"发货计划\",\"fontClass\":\"kdfont kdfont-fahuojihua\"},{\"key\":\"kdfont_hetongzhongxin\",\"name\":\"合同中心\",\"fontClass\":\"kdfont kdfont-hetongzhongxin\"},{\"key\":\"kdfont_pingbiao\",\"name\":\"评标\",\"fontClass\":\"kdfont kdfont-pingbiao\"},{\"key\":\"kdfont_jichuziliao\",\"name\":\"基础设置\",\"fontClass\":\"kdfont kdfont-jichuziliao\"},{\"key\":\"kdfont_gongfangruwei\",\"name\":\"供方入围\",\"fontClass\":\"kdfont kdfont-gongfangruwei\"},{\"key\":\"kdfont_fabiao\",\"name\":\"发标\",\"fontClass\":\"kdfont kdfont-fabiao\"},{\"key\":\"kdfont_caigoujihua\",\"name\":\"采购计划\",\"fontClass\":\"kdfont kdfont-caigoujihua\"},{\"key\":\"kdfont_dayi4\",\"name\":\"答疑\",\"fontClass\":\"kdfont kdfont-dayi4\"},{\"key\":\"kdfont_jiaofei\",\"name\":\"缴费\",\"fontClass\":\"kdfont kdfont-jiaofei\"},{\"key\":\"kdfont_toubiaoguanli\",\"name\":\"投标管理\",\"fontClass\":\"kdfont kdfont-toubiaoguanli\"},{\"key\":\"kdfont_tongzhidan\",\"name\":\"通知单\",\"fontClass\":\"kdfont kdfont-tongzhidan\"},{\"key\":\"kdfont_zhaobiaolixiang\",\"name\":\"招标立项\",\"fontClass\":\"kdfont kdfont-zhaobiaolixiang\"},{\"key\":\"kdfont_zhaobiaozhongxin\",\"name\":\"招标中心\",\"fontClass\":\"kdfont kdfont-zhaobiaozhongxin\"},{\"key\":\"kdfont_zaixianpingbiao\",\"name\":\"在线评标\",\"fontClass\":\"kdfont kdfont-zaixianpingbiao\"},{\"key\":\"kdfont_biaoshubianzhi2\",\"name\":\"标书编制\",\"fontClass\":\"kdfont kdfont-biaoshubianzhi2\"},{\"key\":\"kdfont_peizhizhongxin\",\"name\":\"配置中心\",\"fontClass\":\"kdfont kdfont-peizhizhongxin\"},{\"key\":\"kdfont_keyongjineng\",\"name\":\"可用技能\",\"fontClass\":\"kdfont kdfont-keyongjineng\"},{\"key\":\"kdfont_chakantubiao\",\"name\":\"查看图表\",\"fontClass\":\"kdfont kdfont-chakantubiao\"},{\"key\":\"kdfont_xiangmuzuzhi\",\"name\":\"项目组织\",\"fontClass\":\"kdfont kdfont-xiangmuzuzhi\"},{\"key\":\"kdfont_maodian\",\"name\":\"锚点\",\"fontClass\":\"kdfont kdfont-maodian\"},{\"key\":\"kdfont_xialingshi\",\"name\":\"夏令时\",\"fontClass\":\"kdfont kdfont-xialingshi\"},{\"key\":\"kdfont_tongzhi3\",\"name\":\"通知\",\"fontClass\":\"kdfont kdfont-tongzhi3\"},{\"key\":\"kdfont_shishou\",\"name\":\"实收\",\"fontClass\":\"kdfont kdfont-shishou\"},{\"key\":\"kdfont_xiangmutuandui2\",\"name\":\"项目团队\",\"fontClass\":\"kdfont kdfont-xiangmutuandui2\"},{\"key\":\"kdfont_yingshou\",\"name\":\"应收\",\"fontClass\":\"kdfont kdfont-yingshou\"},{\"key\":\"kdfont_chakanbaobiao\",\"name\":\"查看报表\",\"fontClass\":\"kdfont kdfont-chakanbaobiao\"},{\"key\":\"kdfont_laodonghetong3\",\"name\":\"劳动合同\",\"fontClass\":\"kdfont kdfont-laodonghetong3\"},{\"key\":\"kdfont_ruzhibaobiao\",\"name\":\"入职报表\",\"fontClass\":\"kdfont kdfont-ruzhibaobiao\"},{\"key\":\"kdfont_shiqu\",\"name\":\"时区\",\"fontClass\":\"kdfont kdfont-shiqu\"},{\"key\":\"kdfont_yuangonghuamingce\",\"name\":\"员工花名册\",\"fontClass\":\"kdfont kdfont-yuangonghuamingce\"},{\"key\":\"kdfont_yuangonglvli\",\"name\":\"员工履历\",\"fontClass\":\"kdfont kdfont-yuangonglvli\"},{\"key\":\"kdfont_yuangongxinxibaobiao\",\"name\":\"员工信息报表\",\"fontClass\":\"kdfont kdfont-yuangongxinxibaobiao\"},{\"key\":\"kdfont_jihuafenxizhongxin\",\"name\":\"计划分析中心\",\"fontClass\":\"kdfont kdfont-jihuafenxizhongxin\"},{\"key\":\"kdfont_jihuabianzhizhongxin\",\"name\":\"计划编制中心\",\"fontClass\":\"kdfont kdfont-jihuabianzhizhongxin\"},{\"key\":\"kdfont_jihuazhixingzhongxin\",\"name\":\"计划执行中心\",\"fontClass\":\"kdfont kdfont-jihuazhixingzhongxin\"},{\"key\":\"kdfont_yewuxiezuopeizhi\",\"name\":\"业务协作配置\",\"fontClass\":\"kdfont kdfont-yewuxiezuopeizhi\"},{\"key\":\"kdfont_xiezuoxiaoxijieshou\",\"name\":\"协作消息接收\",\"fontClass\":\"kdfont kdfont-xiezuoxiaoxijieshou\"},{\"key\":\"kdfont_xiezuorenwuguanli\",\"name\":\"协作任务管理\",\"fontClass\":\"kdfont kdfont-xiezuorenwuguanli\"},{\"key\":\"kdfont_xiangmutuandui\",\"name\":\"项目团队\",\"fontClass\":\"kdfont kdfont-xiangmutuandui\"},{\"key\":\"kdfont_jixianUIzidonghuafugailv\",\"name\":\"基线UI自动化覆盖率\",\"fontClass\":\"kdfont kdfont-jixianUIzidonghuafugailv\"},{\"key\":\"kdfont_jixiandanyuanceshifugailv\",\"name\":\"基线单元测试覆盖率\",\"fontClass\":\"kdfont kdfont-jixiandanyuanceshifugailv\"},{\"key\":\"kdfont_quexianguanbixiaolvkanban\",\"name\":\"缺陷关闭效率看板\",\"fontClass\":\"kdfont kdfont-quexianguanbixiaolvkanban\"},{\"key\":\"kdfont_daimawenjiantijiaoliangtongjitu\",\"name\":\"代码文件提交量统计图\",\"fontClass\":\"kdfont kdfont-daimawenjiantijiaoliangtongjitu\"},{\"key\":\"kdfont_jixian1\",\"name\":\"基线1\",\"fontClass\":\"kdfont kdfont-jixian1\"},{\"key\":\"kdfont_quexianxiufuqipaotu\",\"name\":\"缺陷修复气泡图\",\"fontClass\":\"kdfont kdfont-quexianxiufuqipaotu\"},{\"key\":\"kdfont_featurefenzhidanyuanceshifugailv\",\"name\":\"feature分支单元测试覆盖率\",\"fontClass\":\"kdfont kdfont-featurefenzhidanyuanceshifugailv\"},{\"key\":\"kdfont_budinganzhuangshenqing\",\"name\":\"补丁安装申请\",\"fontClass\":\"kdfont kdfont-budinganzhuangshenqing\"},{\"key\":\"kdfont_yonghufenxi\",\"name\":\"用户分析\",\"fontClass\":\"kdfont kdfont-yonghufenxi\"},{\"key\":\"kdfont_zhongjianjianliebiao\",\"name\":\"中间键列表\",\"fontClass\":\"kdfont kdfont-zhongjianjianliebiao\"},{\"key\":\"kdfont_ditiexiankanban\",\"name\":\"地铁线看板\",\"fontClass\":\"kdfont kdfont-ditiexiankanban\"},{\"key\":\"kdfont_zhugandanyuanceshifugailv\",\"name\":\"主干单元测试覆盖率\",\"fontClass\":\"kdfont kdfont-zhugandanyuanceshifugailv\"},{\"key\":\"kdfont_xuqiufabuqipaotu\",\"name\":\"需求发布气泡图\",\"fontClass\":\"kdfont kdfont-xuqiufabuqipaotu\"},{\"key\":\"kdfont_featurezhugandanyuanceshifugailv\",\"name\":\"feature主干单元测试覆盖率\",\"fontClass\":\"kdfont kdfont-featurezhugandanyuanceshifugailv\"},{\"key\":\"kdfont_SonarQubeshujufenxi\",\"name\":\"SonarQube数据分析\",\"fontClass\":\"kdfont kdfont-SonarQubeshujufenxi\"},{\"key\":\"kdfont_ditiexianrenwujiedian\",\"name\":\"地铁线任务节点\",\"fontClass\":\"kdfont kdfont-ditiexianrenwujiedian\"},{\"key\":\"kdfont_ditiexianxinxi\",\"name\":\"地铁线信息\",\"fontClass\":\"kdfont kdfont-ditiexianxinxi\"},{\"key\":\"kdfont_yichangliebiao\",\"name\":\"异常列表\",\"fontClass\":\"kdfont kdfont-yichangliebiao\"},{\"key\":\"kdfont_yunrongqixinxi\",\"name\":\"云容器信息\",\"fontClass\":\"kdfont kdfont-yunrongqixinxi\"},{\"key\":\"kdfont_budingguanli\",\"name\":\"补丁管理\",\"fontClass\":\"kdfont kdfont-budingguanli\"},{\"key\":\"kdfont_moxingzhongxin\",\"name\":\"模型中心\",\"fontClass\":\"kdfont kdfont-moxingzhongxin\"},{\"key\":\"kdfont_xinzengfangan\",\"name\":\"新增方案\",\"fontClass\":\"kdfont kdfont-xinzengfangan\"},{\"key\":\"kdfont_shishizhichudongcha\",\"name\":\"实时支出洞察\",\"fontClass\":\"kdfont kdfont-shishizhichudongcha\"},{\"key\":\"kdfont_fanganliebiao\",\"name\":\"方案列表\",\"fontClass\":\"kdfont kdfont-fanganliebiao\"},{\"key\":\"kdfont_shenhefanganliebiao\",\"name\":\"审核方案列表\",\"fontClass\":\"kdfont kdfont-shenhefanganliebiao\"},{\"key\":\"kdfont_fukuanpaicheng\",\"name\":\"付款排程\",\"fontClass\":\"kdfont kdfont-fukuanpaicheng\"},{\"key\":\"kdfont_duihuajiqirenpingtaibeifen\",\"name\":\"对话机器人平台\",\"fontClass\":\"kdfont kdfont-duihuajiqirenpingtaibeifen\"},{\"key\":\"kdfont_yewuxietongfuwu\",\"name\":\"业务协同服务\",\"fontClass\":\"kdfont kdfont-yewuxietongfuwu\"},{\"key\":\"kdfont_faxinhuodongshezhi\",\"name\":\"发薪活动设置\",\"fontClass\":\"kdfont kdfont-faxinhuodongshezhi\"},{\"key\":\"kdfont_xiaoxirenwuxietong\",\"name\":\"消息任务协同\",\"fontClass\":\"kdfont kdfont-xiaoxirenwuxietong\"},{\"key\":\"kdfont_kehuguanxiguanli\",\"name\":\"客户关系管理\",\"fontClass\":\"kdfont kdfont-kehuguanxiguanli\"},{\"key\":\"kdfont_cailiaofenpei\",\"name\":\"材料分配\",\"fontClass\":\"kdfont kdfont-cailiaofenpei\"},{\"key\":\"kdfont_zhizaofeiyongfenpei\",\"name\":\"制造费用分配\",\"fontClass\":\"kdfont kdfont-zhizaofeiyongfenpei\"},{\"key\":\"kdfont_chengbenjisuan\",\"name\":\"成本计算\",\"fontClass\":\"kdfont kdfont-chengbenjisuan\"},{\"key\":\"kdfont_chayijijiezhuan\",\"name\":\"差异及结转\",\"fontClass\":\"kdfont kdfont-chayijijiezhuan\"},{\"key\":\"kdfont_chanliangguiji\",\"name\":\"产量归集\",\"fontClass\":\"kdfont kdfont-chanliangguiji\"},{\"key\":\"kdfont_fenpeibiaozhunguiji\",\"name\":\"分配标准归集\",\"fontClass\":\"kdfont kdfont-fenpeibiaozhunguiji\"},{\"key\":\"kdfont_danganxieruguize\",\"name\":\"档案写入规则\",\"fontClass\":\"kdfont kdfont-danganxieruguize\"},{\"key\":\"kdfont_duoshitudanganpeizhi\",\"name\":\"多视图档案配置\",\"fontClass\":\"kdfont kdfont-duoshitudanganpeizhi\"},{\"key\":\"kdfont_fanpin\",\"name\":\"返聘\",\"fontClass\":\"kdfont kdfont-fanpin\"},{\"key\":\"kdfont_laowupaiqian\",\"name\":\"劳务派遣\",\"fontClass\":\"kdfont kdfont-laowupaiqian\"},{\"key\":\"kdfont_renshishiwubiandong\",\"name\":\"人事事务变动\",\"fontClass\":\"kdfont kdfont-renshishiwubiandong\"},{\"key\":\"kdfont_tuixiu\",\"name\":\"退休\",\"fontClass\":\"kdfont kdfont-tuixiu\"},{\"key\":\"kdfont_waipai\",\"name\":\"外派\",\"fontClass\":\"kdfont kdfont-waipai\"},{\"key\":\"kdfont_mendianxitongcanshu\",\"name\":\"门店系统参数\",\"fontClass\":\"kdfont kdfont-mendianxitongcanshu\"},{\"key\":\"kdfont_shangpin2\",\"name\":\"商品\",\"fontClass\":\"kdfont kdfont-shangpin2\"},{\"key\":\"kdfont_renyuan4\",\"name\":\"人员\",\"fontClass\":\"kdfont kdfont-renyuan4\"},{\"key\":\"kdfont_lingshou3\",\"name\":\"零售\",\"fontClass\":\"kdfont kdfont-lingshou3\"},{\"key\":\"kdfont_jichushuju\",\"name\":\"基础数据\",\"fontClass\":\"kdfont kdfont-jichushuju\"},{\"key\":\"kdfont_zhucefaka\",\"name\":\"注册发卡\",\"fontClass\":\"kdfont kdfont-zhucefaka\"},{\"key\":\"kdfont_liquanweihu\",\"name\":\"礼券维护\",\"fontClass\":\"kdfont kdfont-liquanweihu\"},{\"key\":\"kdfont_kucunchaxun\",\"name\":\"库存查询\",\"fontClass\":\"kdfont kdfont-kucunchaxun\"},{\"key\":\"kdfont_hetong12\",\"name\":\"合同\",\"fontClass\":\"kdfont kdfont-hetong12\"},{\"key\":\"kdfont_shoukuanyewu\",\"name\":\"收款业务\",\"fontClass\":\"kdfont kdfont-shoukuanyewu\"},{\"key\":\"kdfont_chanzhi\",\"name\":\"产值\",\"fontClass\":\"kdfont kdfont-chanzhi\"},{\"key\":\"kdfont_chengben5\",\"name\":\"成本\",\"fontClass\":\"kdfont kdfont-chengben5\"},{\"key\":\"kdfont_fukuanyewu\",\"name\":\"付款业务\",\"fontClass\":\"kdfont kdfont-fukuanyewu\"},{\"key\":\"kdfont_qiyeziyuanku\",\"name\":\"企业资源库\",\"fontClass\":\"kdfont kdfont-qiyeziyuanku\"},{\"key\":\"kdfont_zijinjihua\",\"name\":\"资金计划\",\"fontClass\":\"kdfont kdfont-zijinjihua\"},{\"key\":\"kdfont_qibiaozhungongchengliangqingdanBOQ\",\"name\":\"企标准工程量清单（BOQ）\",\"fontClass\":\"kdfont kdfont-qibiaozhungongchengliangqingdanBOQ\"},{\"key\":\"kdfont_shouru3\",\"name\":\"收入\",\"fontClass\":\"kdfont kdfont-shouru3\"},{\"key\":\"kdfont_qiyechengbenjiegouCBS\",\"name\":\"企业成本结构（CBS）\",\"fontClass\":\"kdfont kdfont-qiyechengbenjiegouCBS\"},{\"key\":\"kdfont_qiyechengbenkemuCA\",\"name\":\"企业成本科目（CA）\",\"fontClass\":\"kdfont kdfont-qiyechengbenkemuCA\"},{\"key\":\"kdfont_huoyuanguanli\",\"name\":\"货源管理\",\"fontClass\":\"kdfont kdfont-huoyuanguanli\"},{\"key\":\"kdfont_peieguanli\",\"name\":\"配额管理\",\"fontClass\":\"kdfont kdfont-peieguanli\"},{\"key\":\"kdfont_keyanzhuanxiangshenpi\",\"name\":\"可研专项审批\",\"fontClass\":\"kdfont kdfont-keyanzhuanxiangshenpi\"},{\"key\":\"kdfont_keyanshenbao\",\"name\":\"可研申报\",\"fontClass\":\"kdfont kdfont-keyanshenbao\"},{\"key\":\"kdfont_touzijihualeixing\",\"name\":\"投资计划类型\",\"fontClass\":\"kdfont kdfont-touzijihualeixing\"},{\"key\":\"kdfont_touzishenbao\",\"name\":\"投资申报\",\"fontClass\":\"kdfont kdfont-touzishenbao\"},{\"key\":\"kdfont_touzishenpi\",\"name\":\"投资审批\",\"fontClass\":\"kdfont kdfont-touzishenpi\"},{\"key\":\"kdfont_xiangmujieduan\",\"name\":\"项目阶段\",\"fontClass\":\"kdfont kdfont-xiangmujieduan\"},{\"key\":\"kdfont_xiangmuyusuanzhixinghuizongfenxibiao\",\"name\":\"项目预算执行汇总分析表\",\"fontClass\":\"kdfont kdfont-xiangmuyusuanzhixinghuizongfenxibiao\"},{\"key\":\"kdfont_yusuanjieduan\",\"name\":\"预算阶段\",\"fontClass\":\"kdfont kdfont-yusuanjieduan\"},{\"key\":\"kdfont_xinzixiezuocaozuo\",\"name\":\"薪资协作操作\",\"fontClass\":\"kdfont kdfont-xinzixiezuocaozuo\"},{\"key\":\"kdfont_xiaoshoubaojia2\",\"name\":\"销售报价\",\"fontClass\":\"kdfont kdfont-xiaoshoubaojia2\"},{\"key\":\"kdfont_caigoubaojia2\",\"name\":\"采购报价\",\"fontClass\":\"kdfont kdfont-caigoubaojia2\"},{\"key\":\"kdfont_lingshoudingdan\",\"name\":\"零售订单\",\"fontClass\":\"kdfont kdfont-lingshoudingdan\"},{\"key\":\"kdfont_lingshoushouyin\",\"name\":\"零售收银\",\"fontClass\":\"kdfont kdfont-lingshoushouyin\"},{\"key\":\"kdfont_jianzhi2\",\"name\":\"兼职\",\"fontClass\":\"kdfont kdfont-jianzhi2\"},{\"key\":\"kdfont_lizhi4\",\"name\":\"离职\",\"fontClass\":\"kdfont kdfont-lizhi4\"},{\"key\":\"kdfont_shiyongjizhuanzheng\",\"name\":\"试用及转正\",\"fontClass\":\"kdfont kdfont-shiyongjizhuanzheng\"},{\"key\":\"kdfont_xiangmupeizhi\",\"name\":\"项目配置 \",\"fontClass\":\"kdfont kdfont-xiangmupeizhi\"},{\"key\":\"kdfont_shoufeijichuziliao\",\"name\":\"收费基础资料\",\"fontClass\":\"kdfont kdfont-shoufeijichuziliao\"},{\"key\":\"kdfont_hesuanhanshu\",\"name\":\"核算函数\",\"fontClass\":\"kdfont kdfont-hesuanhanshu\"},{\"key\":\"kdfont_hanshufenlei\",\"name\":\"函数分类\",\"fontClass\":\"kdfont kdfont-hanshufenlei\"},{\"key\":\"kdfont_xinchoufeiyongfenpei\",\"name\":\"薪酬费用分配\",\"fontClass\":\"kdfont kdfont-xinchoufeiyongfenpei\"},{\"key\":\"kdfont_guanlicelve\",\"name\":\"管理策略\",\"fontClass\":\"kdfont kdfont-guanlicelve\"},{\"key\":\"kdfont_kuaisubaozhang\",\"name\":\"快速报障\",\"fontClass\":\"kdfont kdfont-kuaisubaozhang\"},{\"key\":\"kdfont_chengbengengxin\",\"name\":\"成本更新\",\"fontClass\":\"kdfont kdfont-chengbengengxin\"},{\"key\":\"kdfont_goujian\",\"name\":\"构建\",\"fontClass\":\"kdfont kdfont-goujian\"},{\"key\":\"kdfont_yibiaopan\",\"name\":\"仪表盘\",\"fontClass\":\"kdfont kdfont-yibiaopan\"},{\"key\":\"kdfont_shejiaofuwu\",\"name\":\"社交服务\",\"fontClass\":\"kdfont kdfont-shejiaofuwu\"},{\"key\":\"kdfont_goutong\",\"name\":\"沟通 \",\"fontClass\":\"kdfont kdfont-goutong\"},{\"key\":\"kdfont_gongzuotai\",\"name\":\"工作台\",\"fontClass\":\"kdfont kdfont-gongzuotai\"},{\"key\":\"kdfont_xianjinguanli\",\"name\":\"现金管理\",\"fontClass\":\"kdfont kdfont-xianjinguanli\"},{\"key\":\"kdfont_jixiaoguanli\",\"name\":\"绩效管理\",\"fontClass\":\"kdfont kdfont-jixiaoguanli\"},{\"key\":\"kdfont_kefu\",\"name\":\"客服\",\"fontClass\":\"kdfont kdfont-kefu\"},{\"key\":\"kdfont_fanyipingtai\",\"name\":\"翻译平台\",\"fontClass\":\"kdfont kdfont-fanyipingtai\"},{\"key\":\"kdfont_anquanrenzheng\",\"name\":\"安全认证\",\"fontClass\":\"kdfont kdfont-anquanrenzheng\"},{\"key\":\"kdfont_heimingdan\",\"name\":\"黑名单\",\"fontClass\":\"kdfont kdfont-heimingdan\"},{\"key\":\"kdfont_duoyuyan\",\"name\":\"多语言\",\"fontClass\":\"kdfont kdfont-duoyuyan\"},{\"key\":\"kdfont_qiyejichuziliao\",\"name\":\"企业基础资料\",\"fontClass\":\"kdfont kdfont-qiyejichuziliao\"},{\"key\":\"kdfont_ganbudangan\",\"name\":\"干部档案\",\"fontClass\":\"kdfont kdfont-ganbudangan\"},{\"key\":\"kdfont_huaban\",\"name\":\"画板\",\"fontClass\":\"kdfont kdfont-huaban\"},{\"key\":\"kdfont_ganbudiaopei\",\"name\":\"干部调配\",\"fontClass\":\"kdfont kdfont-ganbudiaopei\"},{\"key\":\"kdfont_ganbujiren\",\"name\":\"干部继任\",\"fontClass\":\"kdfont kdfont-ganbujiren\"},{\"key\":\"kdfont_ganbujianzhi\",\"name\":\"干部兼职\",\"fontClass\":\"kdfont kdfont-ganbujianzhi\"},{\"key\":\"kdfont_ganbukaocha\",\"name\":\"干部考察\",\"fontClass\":\"kdfont kdfont-ganbukaocha\"},{\"key\":\"kdfont_ganbupandian\",\"name\":\"干部盘点\",\"fontClass\":\"kdfont kdfont-ganbupandian\"},{\"key\":\"kdfont_renzhizigerenzheng\",\"name\":\"任职资格认证\",\"fontClass\":\"kdfont kdfont-renzhizigerenzheng\"},{\"key\":\"kdfont_rengangpipei\",\"name\":\"人岗匹配\",\"fontClass\":\"kdfont kdfont-rengangpipei\"},{\"key\":\"kdfont_ganburenyong\",\"name\":\"干部任用\",\"fontClass\":\"kdfont kdfont-ganburenyong\"},{\"key\":\"kdfont_ganbutuichu\",\"name\":\"干部退出\",\"fontClass\":\"kdfont kdfont-ganbutuichu\"},{\"key\":\"kdfont_yinsichuguo\",\"name\":\"因私出国\",\"fontClass\":\"kdfont kdfont-yinsichuguo\"},{\"key\":\"kdfont_zhuanjiarenming\",\"name\":\"专家任命\",\"fontClass\":\"kdfont kdfont-zhuanjiarenming\"},{\"key\":\"kdfont_ganbuduiwufenxi\",\"name\":\"干部队伍分析\",\"fontClass\":\"kdfont kdfont-ganbuduiwufenxi\"},{\"key\":\"kdfont_zhiwei\",\"name\":\"职位\",\"fontClass\":\"kdfont kdfont-zhiwei\"},{\"key\":\"kdfont_pingzhengguidang\",\"name\":\"凭证归档\",\"fontClass\":\"kdfont kdfont-pingzhengguidang\"},{\"key\":\"kdfont_shixi\",\"name\":\"实习\",\"fontClass\":\"kdfont kdfont-shixi\"},{\"key\":\"kdfont_ruzhi\",\"name\":\"入职\",\"fontClass\":\"kdfont kdfont-ruzhi\"},{\"key\":\"kdfont_gangwei\",\"name\":\"岗位\",\"fontClass\":\"kdfont kdfont-gangwei\"},{\"key\":\"kdfont_lizhi\",\"name\":\"离职\",\"fontClass\":\"kdfont kdfont-lizhi\"},{\"key\":\"kdfont_zhijizhideng\",\"name\":\"职等\",\"fontClass\":\"kdfont kdfont-zhijizhideng\"},{\"key\":\"kdfont_yujingpingtai\",\"name\":\"预警平台\",\"fontClass\":\"kdfont kdfont-yujingpingtai\"},{\"key\":\"kdfont_shuiyinpeizhi\",\"name\":\"水印配置\",\"fontClass\":\"kdfont kdfont-shuiyinpeizhi\"},{\"key\":\"kdfont_quanwensuoyin2\",\"name\":\"全文索引\",\"fontClass\":\"kdfont kdfont-quanwensuoyin2\"},{\"key\":\"kdfont_chaxunpeizhi\",\"name\":\"查询配置\",\"fontClass\":\"kdfont kdfont-chaxunpeizhi\"},{\"key\":\"kdfont_zichanweihu\",\"name\":\"资产维护\",\"fontClass\":\"kdfont kdfont-zichanweihu\"},{\"key\":\"kdfont_daiban\",\"name\":\"代办\",\"fontClass\":\"kdfont kdfont-daiban\"},{\"key\":\"kdfont_baobiao\",\"name\":\"报表\",\"fontClass\":\"kdfont kdfont-baobiao\"},{\"key\":\"kdfont_gonggongshuju\",\"name\":\"公共数据\",\"fontClass\":\"kdfont kdfont-gonggongshuju\"},{\"key\":\"kdfont_liebiao\",\"name\":\"列表\",\"fontClass\":\"kdfont kdfont-liebiao\"},{\"key\":\"kdfont_quanxianguanli\",\"name\":\"权限管理\",\"fontClass\":\"kdfont kdfont-quanxianguanli\"},{\"key\":\"kdfont_shezhi\",\"name\":\"设置\",\"fontClass\":\"kdfont kdfont-shezhi\"},{\"key\":\"kdfont_baogao\",\"name\":\"报告\",\"fontClass\":\"kdfont kdfont-baogao\"},{\"key\":\"kdfont_shanglv\",\"name\":\"商旅\",\"fontClass\":\"kdfont kdfont-shanglv\"},{\"key\":\"kdfont_shoukuanxinxi\",\"name\":\"收款信息\",\"fontClass\":\"kdfont kdfont-shoukuanxinxi\"},{\"key\":\"kdfont_xitongjicheng\",\"name\":\"系统集成\",\"fontClass\":\"kdfont kdfont-xitongjicheng\"},{\"key\":\"kdfont_zaiban\",\"name\":\"在办\",\"fontClass\":\"kdfont kdfont-zaiban\"},{\"key\":\"kdfont_zhushuju\",\"name\":\"主数据\",\"fontClass\":\"kdfont kdfont-zhushuju\"},{\"key\":\"kdfont_xitongguanli\",\"name\":\"系统管理\",\"fontClass\":\"kdfont kdfont-xitongguanli\"},{\"key\":\"kdfont_renwu\",\"name\":\"任务\",\"fontClass\":\"kdfont kdfont-renwu\"},{\"key\":\"kdfont_zhinengjizhang\",\"name\":\"智能记账\",\"fontClass\":\"kdfont kdfont-zhinengjizhang\"},{\"key\":\"kdfont_weituojiaoyi\",\"name\":\"委托交易\",\"fontClass\":\"kdfont kdfont-weituojiaoyi\"},{\"key\":\"kdfont_yingxiang\",\"name\":\"影像\",\"fontClass\":\"kdfont kdfont-yingxiang\"},{\"key\":\"kdfont_shitu_tubiao\",\"name\":\"视图_图表\",\"fontClass\":\"kdfont kdfont-shitu_tubiao\"},{\"key\":\"kdfont_jichengguanli\",\"name\":\"集成管理\",\"fontClass\":\"kdfont kdfont-jichengguanli\"},{\"key\":\"kdfont_baobiaoguanli\",\"name\":\"报表管理\",\"fontClass\":\"kdfont kdfont-baobiaoguanli\"},{\"key\":\"kdfont_fenxiguanli\",\"name\":\"分析管理\",\"fontClass\":\"kdfont kdfont-fenxiguanli\"},{\"key\":\"kdfont_hebingzhongxin\",\"name\":\"合并中心\",\"fontClass\":\"kdfont kdfont-hebingzhongxin\"},{\"key\":\"kdfont_renwuguanli\",\"name\":\"任务管理\",\"fontClass\":\"kdfont kdfont-renwuguanli\"},{\"key\":\"kdfont_hebingtixi\",\"name\":\"合并体系\",\"fontClass\":\"kdfont kdfont-hebingtixi\"},{\"key\":\"kdfont_pilouguanli\",\"name\":\"披露管理\",\"fontClass\":\"kdfont kdfont-pilouguanli\"},{\"key\":\"kdfont_waihuiguanli\",\"name\":\"外汇管理\",\"fontClass\":\"kdfont kdfont-waihuiguanli\"},{\"key\":\"kdfont_jichushezhi\",\"name\":\"基础设置\",\"fontClass\":\"kdfont kdfont-jichushezhi\"},{\"key\":\"kdfont_tongjibaobiao\",\"name\":\"统计报表\",\"fontClass\":\"kdfont kdfont-tongjibaobiao\"},{\"key\":\"kdfont_chushihua\",\"name\":\"初始化\",\"fontClass\":\"kdfont kdfont-chushihua\"},{\"key\":\"kdfont_yinhangfukuan\",\"name\":\"银行付款\",\"fontClass\":\"kdfont kdfont-yinhangfukuan\"},{\"key\":\"kdfont_yinqishezhi\",\"name\":\"银企设置\",\"fontClass\":\"kdfont kdfont-yinqishezhi\"},{\"key\":\"kdfont_qimochuli\",\"name\":\"期末处理\",\"fontClass\":\"kdfont kdfont-qimochuli\"},{\"key\":\"kdfont_richangchuli\",\"name\":\"日常处理\",\"fontClass\":\"kdfont kdfont-richangchuli\"},{\"key\":\"kdfont_yinhangcunkuan\",\"name\":\"银行存款\",\"fontClass\":\"kdfont kdfont-yinhangcunkuan\"},{\"key\":\"kdfont_zuzhiguanli\",\"name\":\"组织管理\",\"fontClass\":\"kdfont kdfont-zuzhiguanli\"},{\"key\":\"kdfont_tiaodufuwu\",\"name\":\"调度服务\",\"fontClass\":\"kdfont kdfont-tiaodufuwu\"},{\"key\":\"kdfont_renyuanguanli\",\"name\":\"人员管理\",\"fontClass\":\"kdfont kdfont-renyuanguanli\"},{\"key\":\"kdfont_danjuleixing\",\"name\":\"单据类型\",\"fontClass\":\"kdfont kdfont-danjuleixing\"},{\"key\":\"kdfont_zhejiuguanli\",\"name\":\"折旧管理\",\"fontClass\":\"kdfont kdfont-zhejiuguanli\"},{\"key\":\"kdfont_zhinenghuiji\",\"name\":\"智能会计\",\"fontClass\":\"kdfont kdfont-zhinenghuiji\"},{\"key\":\"kdfont_qimotiaodu\",\"name\":\"期末调度\",\"fontClass\":\"kdfont kdfont-qimotiaodu\"},{\"key\":\"kdfont_pingzhengchuli\",\"name\":\"凭证处理\",\"fontClass\":\"kdfont kdfont-pingzhengchuli\"},{\"key\":\"kdfont_shuiwubaobiao\",\"name\":\"税务报表\",\"fontClass\":\"kdfont kdfont-shuiwubaobiao\"},{\"key\":\"kdfont_zhangbiaochaxun\",\"name\":\"账表查询\",\"fontClass\":\"kdfont kdfont-zhangbiaochaxun\"},{\"key\":\"kdfont_richanghesuan\",\"name\":\"日常核算\",\"fontClass\":\"kdfont kdfont-richanghesuan\"},{\"key\":\"kdfont_zhiliangguanli\",\"name\":\"质量管理\",\"fontClass\":\"kdfont kdfont-zhiliangguanli\"},{\"key\":\"kdfont_baojiaguanli\",\"name\":\"报价管理\",\"fontClass\":\"kdfont kdfont-baojiaguanli\"},{\"key\":\"kdfont_caigouzhengce\",\"name\":\"采购政策\",\"fontClass\":\"kdfont kdfont-caigouzhengce\"},{\"key\":\"kdfont_jingjiaguanli\",\"name\":\"竞价管理\",\"fontClass\":\"kdfont kdfont-jingjiaguanli\"},{\"key\":\"kdfont_shouhuoguanli\",\"name\":\"收货管理\",\"fontClass\":\"kdfont kdfont-shouhuoguanli\"},{\"key\":\"kdfont_zhangwuxietong\",\"name\":\"账务协同\",\"fontClass\":\"kdfont kdfont-zhangwuxietong\"},{\"key\":\"kdfont_xiaoxigonggao\",\"name\":\"消息公告\",\"fontClass\":\"kdfont kdfont-xiaoxigonggao\"},{\"key\":\"kdfont_xunjiaguanli\",\"name\":\"询价管理\",\"fontClass\":\"kdfont kdfont-xunjiaguanli\"},{\"key\":\"kdfont_tuihuoguanli\",\"name\":\"退货管理\",\"fontClass\":\"kdfont kdfont-tuihuoguanli\"},{\"key\":\"kdfont_zhaobiaoguanli\",\"name\":\"招标管理\",\"fontClass\":\"kdfont kdfont-zhaobiaoguanli\"},{\"key\":\"kdfont_zhucerenzheng\",\"name\":\"注册认证\",\"fontClass\":\"kdfont kdfont-zhucerenzheng\"},{\"key\":\"kdfont_weiwaicaigou\",\"name\":\"委外采购\",\"fontClass\":\"kdfont kdfont-weiwaicaigou\"},{\"key\":\"kdfont_xuqiuguanli\",\"name\":\"需求管理\",\"fontClass\":\"kdfont kdfont-xuqiuguanli\"},{\"key\":\"kdfont_vmicaigou\",\"name\":\"vmi采购\",\"fontClass\":\"kdfont kdfont-vmicaigou\"},{\"key\":\"kdfont_daifu\",\"name\":\"贷付\",\"fontClass\":\"kdfont kdfont-daifu\"},{\"key\":\"kdfont_shangpin\",\"name\":\"商品\",\"fontClass\":\"kdfont kdfont-shangpin\"},{\"key\":\"kdfont_jihua\",\"name\":\"计划\",\"fontClass\":\"kdfont kdfont-jihua\"},{\"key\":\"kdfont_peisong\",\"name\":\"配送\",\"fontClass\":\"kdfont kdfont-peisong\"},{\"key\":\"kdfont_kucun\",\"name\":\"库存\",\"fontClass\":\"kdfont kdfont-kucun\"},{\"key\":\"kdfont_qudao\",\"name\":\"渠道\",\"fontClass\":\"kdfont kdfont-qudao\"},{\"key\":\"kdfont_fanli\",\"name\":\"返利\",\"fontClass\":\"kdfont kdfont-fanli\"},{\"key\":\"kdfont_yaohuo\",\"name\":\"要货\",\"fontClass\":\"kdfont kdfont-yaohuo\"},{\"key\":\"kdfont_zijin\",\"name\":\"资金\",\"fontClass\":\"kdfont kdfont-zijin\"},{\"key\":\"kdfont_cuxiao\",\"name\":\"促销\",\"fontClass\":\"kdfont kdfont-cuxiao\"},{\"key\":\"kdfont_yingxiao\",\"name\":\"营销\",\"fontClass\":\"kdfont kdfont-yingxiao\"},{\"key\":\"kdfont_dingdan\",\"name\":\"订单\",\"fontClass\":\"kdfont kdfont-dingdan\"},{\"key\":\"kdfont_qukuailian\",\"name\":\"区块链\",\"fontClass\":\"kdfont kdfont-qukuailian\"},{\"key\":\"kdfont_caiwuchuli\",\"name\":\"财务处理\",\"fontClass\":\"kdfont kdfont-caiwuchuli\"},{\"key\":\"kdfont_duizhangguanli\",\"name\":\"对账管理\",\"fontClass\":\"kdfont kdfont-duizhangguanli\"},{\"key\":\"kdfont_xianjinliuliang\",\"name\":\"现金流量\",\"fontClass\":\"kdfont kdfont-xianjinliuliang\"},{\"key\":\"kdfont_gengxinguanli\",\"name\":\"更新管理\",\"fontClass\":\"kdfont kdfont-gengxinguanli\"},{\"key\":\"kdfont_yingyongguanli\",\"name\":\"应用管理\",\"fontClass\":\"kdfont kdfont-yingyongguanli\"},{\"key\":\"kdfont_huanjingweihu\",\"name\":\"环境维护\",\"fontClass\":\"kdfont kdfont-huanjingweihu\"},{\"key\":\"kdfont_qiyexinxiweihu\",\"name\":\"企业信息维护\",\"fontClass\":\"kdfont kdfont-qiyexinxiweihu\"},{\"key\":\"kdfont_zhihangrizhi\",\"name\":\"执行日志\",\"fontClass\":\"kdfont kdfont-zhihangrizhi\"},{\"key\":\"kdfont_danzuzhiqiye\",\"name\":\"单组织企业\",\"fontClass\":\"kdfont kdfont-danzuzhiqiye\"},{\"key\":\"kdfont_duozuzhiqiyejituan\",\"name\":\"多组织企业(集团)\",\"fontClass\":\"kdfont kdfont-duozuzhiqiyejituan\"},{\"key\":\"kdfont_duozuzhiqiye\",\"name\":\"多组织企业\",\"fontClass\":\"kdfont kdfont-duozuzhiqiye\"},{\"key\":\"kdfont_wuliu\",\"name\":\"物流\",\"fontClass\":\"kdfont kdfont-wuliu\"},{\"key\":\"kdfont_fuzhuziliao\",\"name\":\"辅助资料\",\"fontClass\":\"kdfont kdfont-fuzhuziliao\"},{\"key\":\"kdfont_quanwensuoyin\",\"name\":\"全文索引\",\"fontClass\":\"kdfont kdfont-quanwensuoyin\"},{\"key\":\"kdfont_xitongpeizhi\",\"name\":\"系统配置\",\"fontClass\":\"kdfont kdfont-xitongpeizhi\"},{\"key\":\"kdfont_huidanchaxun\",\"name\":\"回单查询\",\"fontClass\":\"kdfont kdfont-huidanchaxun\"},{\"key\":\"kdfont_zhinengshoukuan\",\"name\":\"智能收款\",\"fontClass\":\"kdfont kdfont-zhinengshoukuan\"},{\"key\":\"kdfont_yingfuchuli\",\"name\":\"应付处理\",\"fontClass\":\"kdfont kdfont-yingfuchuli\"},{\"key\":\"kdfont_fapiaochuli\",\"name\":\"发票处理\",\"fontClass\":\"kdfont kdfont-fapiaochuli\"},{\"key\":\"kdfont_hexiaochuli\",\"name\":\"核销处理\",\"fontClass\":\"kdfont kdfont-hexiaochuli\"},{\"key\":\"kdfont_jiesuanchuli\",\"name\":\"结算处理\",\"fontClass\":\"kdfont kdfont-jiesuanchuli\"},{\"key\":\"kdfont_fentan\",\"name\":\"分摊\",\"fontClass\":\"kdfont kdfont-fentan\"},{\"key\":\"kdfont_yusuanshuweihu\",\"name\":\"预算数维护\",\"fontClass\":\"kdfont kdfont-yusuanshuweihu\"},{\"key\":\"kdfont_huijikemu\",\"name\":\"会计科目\",\"fontClass\":\"kdfont kdfont-huijikemu\"},{\"key\":\"kdfont_hesuanweidu\",\"name\":\"核算维度\",\"fontClass\":\"kdfont kdfont-hesuanweidu\"},{\"key\":\"kdfont_neibutouzi\",\"name\":\"内部投资\",\"fontClass\":\"kdfont kdfont-neibutouzi\"},{\"key\":\"kdfont_lirunfenpei\",\"name\":\"利润分配\",\"fontClass\":\"kdfont kdfont-lirunfenpei\"},{\"key\":\"kdfont_qijian\",\"name\":\"期间\",\"fontClass\":\"kdfont kdfont-qijian\"},{\"key\":\"kdfont_xitongzhuangtai\",\"name\":\"系统状态\",\"fontClass\":\"kdfont kdfont-xitongzhuangtai\"},{\"key\":\"kdfont_yewuleixing\",\"name\":\"业务类型\",\"fontClass\":\"kdfont kdfont-yewuleixing\"},{\"key\":\"kdfont_yewuguize\",\"name\":\"业务规则\",\"fontClass\":\"kdfont kdfont-yewuguize\"},{\"key\":\"kdfont_xukeguanli\",\"name\":\"许可管理\",\"fontClass\":\"kdfont kdfont-xukeguanli\"},{\"key\":\"kdfont_neibujiaoyi\",\"name\":\"内部交易\",\"fontClass\":\"kdfont kdfont-neibujiaoyi\"},{\"key\":\"kdfont_shijishu\",\"name\":\"实际数\",\"fontClass\":\"kdfont kdfont-shijishu\"},{\"key\":\"kdfont_shujujishi\",\"name\":\"数据集市\",\"fontClass\":\"kdfont kdfont-shujujishi\"},{\"key\":\"kdfont_genzonghao\",\"name\":\"跟踪号\",\"fontClass\":\"kdfont kdfont-genzonghao\"},{\"key\":\"kdfont_pihaoguanli\",\"name\":\"批号管理\",\"fontClass\":\"kdfont kdfont-pihaoguanli\"},{\"key\":\"kdfont_cangkucangwei\",\"name\":\"仓库仓位\",\"fontClass\":\"kdfont kdfont-cangkucangwei\"},{\"key\":\"kdfont_zhinengfangan\",\"name\":\"智能方案\",\"fontClass\":\"kdfont kdfont-zhinengfangan\"},{\"key\":\"kdfont_sheji\",\"name\":\"设计\",\"fontClass\":\"kdfont kdfont-sheji\"},{\"key\":\"kdfont_jiankong\",\"name\":\"监控\",\"fontClass\":\"kdfont kdfont-jiankong\"},{\"key\":\"kdfont_hebingtiaozhengchongxiao\",\"name\":\"合并调整冲销\",\"fontClass\":\"kdfont kdfont-hebingtiaozhengchongxiao\"},{\"key\":\"kdfont_waibihuansuan\",\"name\":\"外币换算\",\"fontClass\":\"kdfont kdfont-waibihuansuan\"},{\"key\":\"kdfont_yijianhebing\",\"name\":\"一键合并\",\"fontClass\":\"kdfont kdfont-yijianhebing\"},{\"key\":\"kdfont_dayinpeizhicopy\",\"name\":\"打印配置 copy\",\"fontClass\":\"kdfont kdfont-dayinpeizhicopy\"},{\"key\":\"kdfont_shujucaiji\",\"name\":\"数据采集\",\"fontClass\":\"kdfont kdfont-shujucaiji\"},{\"key\":\"kdfont_yinruyinchu\",\"name\":\"导入导出\",\"fontClass\":\"kdfont kdfont-yinruyinchu\"},{\"key\":\"kdfont_dayinpeizhi\",\"name\":\"打印配置\",\"fontClass\":\"kdfont kdfont-dayinpeizhi\"},{\"key\":\"kdfont_chalvbiaozhun\",\"name\":\"差旅标准\",\"fontClass\":\"kdfont kdfont-chalvbiaozhun\"},{\"key\":\"kdfont_shanglvshezhi\",\"name\":\"商旅设置\",\"fontClass\":\"kdfont kdfont-shanglvshezhi\"},{\"key\":\"kdfont_tiaozhengchuli\",\"name\":\"调整处理\",\"fontClass\":\"kdfont kdfont-tiaozhengchuli\"},{\"key\":\"kdfont_chukuchuli\",\"name\":\"渠道入库\",\"fontClass\":\"kdfont kdfont-chukuchuli\"},{\"key\":\"kdfont_rukuchuli\",\"name\":\"渠道出库\",\"fontClass\":\"kdfont kdfont-rukuchuli\"},{\"key\":\"kdfont_biaoshubianzhi\",\"name\":\"标书编制\",\"fontClass\":\"kdfont kdfont-biaoshubianzhi\"},{\"key\":\"kdfont_zhanlvexieyi\",\"name\":\"战略协议\",\"fontClass\":\"kdfont kdfont-zhanlvexieyi\"},{\"key\":\"kdfont_jiaoben_yemian\",\"name\":\"脚本_页面\",\"fontClass\":\"kdfont kdfont-jiaoben_yemian\"},{\"key\":\"kdfont_zichanbiangeng\",\"name\":\"资产变更\",\"fontClass\":\"kdfont kdfont-zichanbiangeng\"},{\"key\":\"kdfont_yujing\",\"name\":\"预警\",\"fontClass\":\"kdfont kdfont-yujing\"},{\"key\":\"kdfont_tongzhi\",\"name\":\"通知\",\"fontClass\":\"kdfont kdfont-tongzhi\"},{\"key\":\"kdfont_jiaoben_yewuyun\",\"name\":\"脚本_业务云\",\"fontClass\":\"kdfont kdfont-jiaoben_yewuyun\"},{\"key\":\"kdfont_jiaoben_kswenjian\",\"name\":\"脚本_ks文件\",\"fontClass\":\"kdfont kdfont-jiaoben_kswenjian\"},{\"key\":\"kdfont_jiaoben_yingyong\",\"name\":\"脚本_应用\",\"fontClass\":\"kdfont kdfont-jiaoben_yingyong\"},{\"key\":\"kdfont_jiaoben_gongnengfenzu\",\"name\":\"脚本_功能分组\",\"fontClass\":\"kdfont kdfont-jiaoben_gongnengfenzu\"},{\"key\":\"kdfont_xieban\",\"name\":\"协办\",\"fontClass\":\"kdfont kdfont-xieban\"},{\"key\":\"kdfont_HRjiaoseshezhi\",\"name\":\"角色设置\",\"fontClass\":\"kdfont kdfont-HRjiaoseshezhi\"},{\"key\":\"kdfont_zichanqingsuan\",\"name\":\"资产清算\",\"fontClass\":\"kdfont kdfont-zichanqingsuan\"},{\"key\":\"kdfont_qitarenyuan\",\"name\":\"其他人员\",\"fontClass\":\"kdfont kdfont-qitarenyuan\"},{\"key\":\"kdfont_yibiaoban\",\"name\":\"仪表版\",\"fontClass\":\"kdfont kdfont-yibiaoban\"},{\"key\":\"kdfont_hetong\",\"name\":\"合同\",\"fontClass\":\"kdfont kdfont-hetong\"},{\"key\":\"kdfont_hetongdingdan\",\"name\":\"合同订单\",\"fontClass\":\"kdfont kdfont-hetongdingdan\"},{\"key\":\"kdfont_caigou\",\"name\":\"采购\",\"fontClass\":\"kdfont kdfont-caigou\"},{\"key\":\"kdfont_qinggan\",\"name\":\"情感\",\"fontClass\":\"kdfont kdfont-qinggan\"},{\"key\":\"kdfont_gongyingshangpeizhi\",\"name\":\"供应商配置\",\"fontClass\":\"kdfont kdfont-gongyingshangpeizhi\"},{\"key\":\"kdfont_bangzhufankui\",\"name\":\"帮助反馈\",\"fontClass\":\"kdfont kdfont-bangzhufankui\"},{\"key\":\"kdfont_zichanpandian\",\"name\":\"资产盘点\",\"fontClass\":\"kdfont kdfont-zichanpandian\"},{\"key\":\"kdfont_tongjiguanli\",\"name\":\"统计管理\",\"fontClass\":\"kdfont kdfont-tongjiguanli\"},{\"key\":\"kdfont_shujufenxi\",\"name\":\"数据分析\",\"fontClass\":\"kdfont kdfont-shujufenxi\"},{\"key\":\"kdfont_jinkoubaoguan\",\"name\":\"进口报关\",\"fontClass\":\"kdfont kdfont-jinkoubaoguan\"},{\"key\":\"kdfont_gongyingshangguanli\",\"name\":\"供应商管理\",\"fontClass\":\"kdfont kdfont-gongyingshangguanli\"},{\"key\":\"kdfont_chukouhetong\",\"name\":\"出口合同\",\"fontClass\":\"kdfont kdfont-chukouhetong\"},{\"key\":\"kdfont_keyanhetongfenxi\",\"name\":\"科研合同分析\",\"fontClass\":\"kdfont kdfont-keyanhetongfenxi\"},{\"key\":\"kdfont_masaike\",\"name\":\"马赛克\",\"fontClass\":\"kdfont kdfont-masaike\"},{\"key\":\"kdfont_xiezuochuli\",\"name\":\"协作处理\",\"fontClass\":\"kdfont kdfont-xiezuochuli\"},{\"key\":\"kdfont_dianzilaodonghetong\",\"name\":\"电子劳动合同\",\"fontClass\":\"kdfont kdfont-dianzilaodonghetong\"},{\"key\":\"kdfont_hetongxuqian\",\"name\":\"合同续签\",\"fontClass\":\"kdfont kdfont-hetongxuqian\"},{\"key\":\"kdfont_hetongbiangeng\",\"name\":\"合同变更\",\"fontClass\":\"kdfont kdfont-hetongbiangeng\"},{\"key\":\"kdfont_icon_qqxz_normal\",\"name\":\"全球薪资核算\",\"fontClass\":\"kdfont kdfont-icon_qqxz_normal\"},{\"key\":\"kdfont_laodonghetongdangan\",\"name\":\"劳动合同档案\",\"fontClass\":\"kdfont kdfont-laodonghetongdangan\"},{\"key\":\"kdfont_icon_sbgl_normal\",\"name\":\"社保管理\",\"fontClass\":\"kdfont kdfont-icon_sbgl_normal\"},{\"key\":\"kdfont_zhiweitixifangan\",\"name\":\"职位体系方案\",\"fontClass\":\"kdfont kdfont-zhiweitixifangan\"},{\"key\":\"kdfont_qiepian\",\"name\":\"评估管理\",\"fontClass\":\"kdfont kdfont-qiepian\"},{\"key\":\"kdfont_fanyipeizhi\",\"name\":\"翻译配置\",\"fontClass\":\"kdfont kdfont-fanyipeizhi\"},{\"key\":\"kdfont_zhaobiaoyaoqing\",\"name\":\"招标邀请\",\"fontClass\":\"kdfont kdfont-zhaobiaoyaoqing\"},{\"key\":\"kdfont_duorenchalvbaoxiao\",\"name\":\"多人差旅报销\",\"fontClass\":\"kdfont kdfont-duorenchalvbaoxiao\"},{\"key\":\"kdfont_duorenchuchashenqing\",\"name\":\"多人出差申请\",\"fontClass\":\"kdfont kdfont-duorenchuchashenqing\"},{\"key\":\"kdfont_chalvbaoxiao\",\"name\":\"差旅报销\",\"fontClass\":\"kdfont kdfont-chalvbaoxiao\"},{\"key\":\"kdfont_xinzenggongyingshang\",\"name\":\"新增供应商\",\"fontClass\":\"kdfont kdfont-xinzenggongyingshang\"},{\"key\":\"kdfont_quexianguanli\",\"name\":\"缺陷管理\",\"fontClass\":\"kdfont kdfont-quexianguanli\"},{\"key\":\"kdfont_shujubiaoqian\",\"name\":\"数据标签\",\"fontClass\":\"kdfont kdfont-shujubiaoqian\"},{\"key\":\"kdfont_renrenjixiao\",\"name\":\"人人绩效\",\"fontClass\":\"kdfont kdfont-renrenjixiao\"},{\"key\":\"kdfont_fenpei\",\"name\":\"分配\",\"fontClass\":\"kdfont kdfont-fenpei\"},{\"key\":\"kdfont_chengbenzhongxin\",\"name\":\"成本中心\",\"fontClass\":\"kdfont kdfont-chengbenzhongxin\"},{\"key\":\"kdfont_shujuweihu\",\"name\":\"数据维护\",\"fontClass\":\"kdfont kdfont-shujuweihu\"},{\"key\":\"kdfont_shujuchuanshu\",\"name\":\"数据传输\",\"fontClass\":\"kdfont kdfont-shujuchuanshu\"},{\"key\":\"kdfont_gongzitiaopeizhi\",\"name\":\"工资条配置\",\"fontClass\":\"kdfont kdfont-gongzitiaopeizhi\"},{\"key\":\"kdfont_xinchouhesuanfafang\",\"name\":\"薪酬核算发放\",\"fontClass\":\"kdfont kdfont-xinchouhesuanfafang\"},{\"key\":\"kdfont_icon_sbg\",\"name\":\"国际社保管理\",\"fontClass\":\"kdfont kdfont-icon_sbg\"},{\"key\":\"kdfont_huijizhangbu\",\"name\":\"会计账簿\",\"fontClass\":\"kdfont kdfont-huijizhangbu\"},{\"key\":\"kdfont_icon_gzxz\",\"name\":\"国际薪资核算\",\"fontClass\":\"kdfont kdfont-icon_gzxz\"},{\"key\":\"kdfont_huibaoguanxi\",\"name\":\"汇报关系\",\"fontClass\":\"kdfont kdfont-huibaoguanxi\"},{\"key\":\"kdfont_gongzuojiaose\",\"name\":\"工作角色\",\"fontClass\":\"kdfont kdfont-gongzuojiaose\"},{\"key\":\"kdfont_gongzitiaofabu\",\"name\":\"工资条发布\",\"fontClass\":\"kdfont kdfont-gongzitiaofabu\"},{\"key\":\"kdfont_xinchouhesuanxiangdao\",\"name\":\"薪酬核算向导\",\"fontClass\":\"kdfont kdfont-xinchouhesuanxiangdao\"},{\"key\":\"kdfont_jixinrenyuan\",\"name\":\"计薪人员\",\"fontClass\":\"kdfont kdfont-jixinrenyuan\"},{\"key\":\"kdfont_jingqingqidai\",\"name\":\"敬请期待\",\"fontClass\":\"kdfont kdfont-jingqingqidai\"},{\"key\":\"kdfont_baobiaofenxi\",\"name\":\"报表分析\",\"fontClass\":\"kdfont kdfont-baobiaofenxi\"},{\"key\":\"kdfont_shouruhetong\",\"name\":\"收入合同\",\"fontClass\":\"kdfont kdfont-shouruhetong\"},{\"key\":\"kdfont_feihetongshixiang\",\"name\":\"非合同事项\",\"fontClass\":\"kdfont kdfont-feihetongshixiang\"},{\"key\":\"kdfont_quanxianpeizhi\",\"name\":\"权限配置\",\"fontClass\":\"kdfont kdfont-quanxianpeizhi\"},{\"key\":\"kdfont_zongzhangwanglaiguanli\",\"name\":\"总账往来管理\",\"fontClass\":\"kdfont kdfont-zongzhangwanglaiguanli\"},{\"key\":\"kdfont_kuaididaishou\",\"name\":\"快递代收\",\"fontClass\":\"kdfont kdfont-kuaididaishou\"},{\"key\":\"kdfont_yewufenxi\",\"name\":\"业务分析\",\"fontClass\":\"kdfont kdfont-yewufenxi\"},{\"key\":\"kdfont_zhengmingbanligongzuotai\",\"name\":\"证明办理工作台\",\"fontClass\":\"kdfont kdfont-zhengmingbanligongzuotai\"},{\"key\":\"kdfont_zhengmingbanlishezhi\",\"name\":\"证明办理设置\",\"fontClass\":\"kdfont kdfont-zhengmingbanlishezhi\"},{\"key\":\"kdfont_zhengmingshenqing\",\"name\":\"证明申请\",\"fontClass\":\"kdfont kdfont-zhengmingshenqing\"},{\"key\":\"kdfont_gongyingshangzhaomu\",\"name\":\"供应商招募\",\"fontClass\":\"kdfont kdfont-gongyingshangzhaomu\"},{\"key\":\"kdfont_xiangmuzhichuyusuan\",\"name\":\"项目支出预算\",\"fontClass\":\"kdfont kdfont-xiangmuzhichuyusuan\"},{\"key\":\"kdfont_xiangmushouruyusuan\",\"name\":\"项目收入预算\",\"fontClass\":\"kdfont kdfont-xiangmushouruyusuan\"}]},{\"key\":\"pc_jiantou\",\"group_name\":\"PC端-箭头\",\"layout\":5,\"icons\":[{\"key\":\"kdfont_qiehuanzhou\",\"name\":\"切换轴\",\"fontClass\":\"kdfont kdfont-qiehuanzhou\"},{\"key\":\"kdfont_jiangji\",\"name\":\"降级\",\"fontClass\":\"kdfont kdfont-jiangji\"},{\"key\":\"kdfont_shengji\",\"name\":\"升级\",\"fontClass\":\"kdfont kdfont-shengji\"},{\"key\":\"kdfont_xiayi4\",\"name\":\"下移\",\"fontClass\":\"kdfont kdfont-xiayi4\"},{\"key\":\"kdfont_shangyi3\",\"name\":\"上移\",\"fontClass\":\"kdfont kdfont-shangyi3\"},{\"key\":\"kdfont_wancheng7\",\"name\":\"完成\",\"fontClass\":\"kdfont kdfont-wancheng7\"},{\"key\":\"kdfont_chaifen\",\"name\":\"拆分\",\"fontClass\":\"kdfont kdfont-chaifen\"},{\"key\":\"kdfont_hebing6\",\"name\":\"合并\",\"fontClass\":\"kdfont kdfont-hebing6\"},{\"key\":\"kdfont_shouqiquanbu\",\"name\":\"收起全部\",\"fontClass\":\"kdfont kdfont-shouqiquanbu\"},{\"key\":\"kdfont_zhankaiquanbu\",\"name\":\"展开全部\",\"fontClass\":\"kdfont kdfont-zhankaiquanbu\"},{\"key\":\"kdfont_shangyiyue\",\"name\":\"前翻单箭头\",\"fontClass\":\"kdfont kdfont-shangyiyue\"},{\"key\":\"kdfont_xiayiyue\",\"name\":\"后翻单箭头\",\"fontClass\":\"kdfont kdfont-xiayiyue\"},{\"key\":\"kdfont_qianfanshuangjiantou\",\"name\":\"前翻双箭头\",\"fontClass\":\"kdfont kdfont-qianfanshuangjiantou\"},{\"key\":\"kdfont_houfanshuangjiantou\",\"name\":\"后翻双箭头\",\"fontClass\":\"kdfont kdfont-houfanshuangjiantou\"},{\"key\":\"kdfont_gengduoxiala\",\"name\":\"更多下拉\",\"fontClass\":\"kdfont kdfont-gengduoxiala\"},{\"key\":\"kdfont_nishizhenxuanzhuan2\",\"name\":\"逆时针旋转\",\"fontClass\":\"kdfont kdfont-nishizhenxuanzhuan2\"},{\"key\":\"kdfont_bizhongzhuanhuan\",\"name\":\"币种转换\",\"fontClass\":\"kdfont kdfont-bizhongzhuanhuan\"},{\"key\":\"kdfont_shangchuan2\",\"name\":\"上传\",\"fontClass\":\"kdfont kdfont-shangchuan2\"},{\"key\":\"kdfont_quanping\",\"name\":\"全屏\",\"fontClass\":\"kdfont kdfont-quanping\"},{\"key\":\"kdfont_xuanzhuan\",\"name\":\"旋转\",\"fontClass\":\"kdfont kdfont-xuanzhuan\"},{\"key\":\"kdfont_shuaxin\",\"name\":\"刷新\",\"fontClass\":\"kdfont kdfont-shuaxin\"},{\"key\":\"kdfont_shangsheng\",\"name\":\"上升\",\"fontClass\":\"kdfont kdfont-shangsheng\"},{\"key\":\"kdfont_xiajiang\",\"name\":\"下降\",\"fontClass\":\"kdfont kdfont-xiajiang\"},{\"key\":\"kdfont_tiaozhengbuju\",\"name\":\"调整布局\",\"fontClass\":\"kdfont kdfont-tiaozhengbuju\"},{\"key\":\"kdfont_zengjiasuojinliang\",\"name\":\"增加缩进量\",\"fontClass\":\"kdfont kdfont-zengjiasuojinliang\"},{\"key\":\"kdfont_jianshaosuojinliang\",\"name\":\"减少缩进量\",\"fontClass\":\"kdfont kdfont-jianshaosuojinliang\"},{\"key\":\"kdfont_huajiantou\",\"name\":\"画箭头\",\"fontClass\":\"kdfont kdfont-huajiantou\"},{\"key\":\"kdfont_zuiqian\",\"name\":\"最前\",\"fontClass\":\"kdfont kdfont-zuiqian\"},{\"key\":\"kdfont_zuihou\",\"name\":\"最后\",\"fontClass\":\"kdfont kdfont-zuihou\"},{\"key\":\"kdfont_qianfan\",\"name\":\"前翻\",\"fontClass\":\"kdfont kdfont-qianfan\"},{\"key\":\"kdfont_houfan\",\"name\":\"后翻\",\"fontClass\":\"kdfont kdfont-houfan\"},{\"key\":\"kdfont_xiazai\",\"name\":\"下载\",\"fontClass\":\"kdfont kdfont-xiazai\"},{\"key\":\"kdfont_shangxiajuzhong\",\"name\":\"上下居中\",\"fontClass\":\"kdfont kdfont-shangxiajuzhong\"},{\"key\":\"kdfont_zhidi\",\"name\":\"置底\",\"fontClass\":\"kdfont kdfont-zhidi\"},{\"key\":\"kdfont_xiayi\",\"name\":\"下移\",\"fontClass\":\"kdfont kdfont-xiayi\"},{\"key\":\"kdfont_shangyi\",\"name\":\"上移\",\"fontClass\":\"kdfont kdfont-shangyi\"},{\"key\":\"kdfont_zhiding\",\"name\":\"置顶\",\"fontClass\":\"kdfont kdfont-zhiding\"},{\"key\":\"kdfont_shangchuan\",\"name\":\"上传\",\"fontClass\":\"kdfont kdfont-shangchuan\"},{\"key\":\"kdfont_fanhui\",\"name\":\"返回\",\"fontClass\":\"kdfont kdfont-fanhui\"},{\"key\":\"kdfont_shuangjiantou_zuo\",\"name\":\"左双箭头\",\"fontClass\":\"kdfont kdfont-shuangjiantou_zuo\"},{\"key\":\"kdfont_fenxianghuilai\",\"name\":\"分享(回来）\",\"fontClass\":\"kdfont kdfont-fenxianghuilai\"},{\"key\":\"kdfont_shuangjiantou\",\"name\":\"右双箭头\",\"fontClass\":\"kdfont kdfont-shuangjiantou\"},{\"key\":\"kdfont_xiatui\",\"name\":\"下推\",\"fontClass\":\"kdfont kdfont-xiatui\"},{\"key\":\"kdfont_houfan1\",\"name\":\"后翻\",\"fontClass\":\"kdfont kdfont-houfan1\"},{\"key\":\"kdfont_qianfan1\",\"name\":\"前翻\",\"fontClass\":\"kdfont kdfont-qianfan1\"},{\"key\":\"kdfont_daoru\",\"name\":\"导入\",\"fontClass\":\"kdfont kdfont-daoru\"},{\"key\":\"kdfont_daochu\",\"name\":\"导出\",\"fontClass\":\"kdfont kdfont-daochu\"},{\"key\":\"kdfont_jichengcaozuo\",\"name\":\"继承操作\",\"fontClass\":\"kdfont kdfont-jichengcaozuo\"},{\"key\":\"kdfont_zidonghuanhang\",\"name\":\"自动换行\",\"fontClass\":\"kdfont kdfont-zidonghuanhang\"},{\"key\":\"kdfont_shangjia\",\"name\":\"上架\",\"fontClass\":\"kdfont kdfont-shangjia\"},{\"key\":\"kdfont_xiala\",\"name\":\"下拉\",\"fontClass\":\"kdfont kdfont-xiala\"},{\"key\":\"kdfont_shangla\",\"name\":\"上拉\",\"fontClass\":\"kdfont kdfont-shangla\"},{\"key\":\"kdfont_paixuxiangxia\",\"name\":\"排序向下\",\"fontClass\":\"kdfont kdfont-paixuxiangxia\"},{\"key\":\"kdfont_paixuxiangshang\",\"name\":\"排序向上\",\"fontClass\":\"kdfont kdfont-paixuxiangshang\"},{\"key\":\"kdfont_qiehuanfangan\",\"name\":\"切换\",\"fontClass\":\"kdfont kdfont-qiehuanfangan\"},{\"key\":\"kdfont_fenxiang\",\"name\":\"分享\",\"fontClass\":\"kdfont kdfont-fenxiang\"},{\"key\":\"kdfont_chexiao\",\"name\":\"撤销\",\"fontClass\":\"kdfont kdfont-chexiao\"},{\"key\":\"kdfont_yitijiao\",\"name\":\"已提交\",\"fontClass\":\"kdfont kdfont-yitijiao\"},{\"key\":\"kdfont_bottom\",\"name\":\"down\",\"fontClass\":\"kdfont kdfont-bottom\"},{\"key\":\"kdfont_top\",\"name\":\"up\",\"fontClass\":\"kdfont kdfont-top\"},{\"key\":\"kdfont_right\",\"name\":\"right\",\"fontClass\":\"kdfont kdfont-right\"},{\"key\":\"kdfont_left\",\"name\":\"left\",\"fontClass\":\"kdfont kdfont-left\"},{\"key\":\"kdfont_baobiaokongjianxiala\",\"name\":\"报表控件下拉\",\"fontClass\":\"kdfont kdfont-baobiaokongjianxiala\"}]},{\"key\":\"pc_gongjulei\",\"group_name\":\"PC端-工具类\",\"layout\":6,\"icons\":[{\"key\":\"kdfont_kdfont-quanmaoyulan1x\",\"name\":\"kdfont-quanmaoyulan\",\"fontClass\":\"kdfont kdfont-kdfont-quanmaoyulan1x\"},{\"key\":\"kdfont_manyidudiaoyanrukou\",\"name\":\"满意度调研入口\",\"fontClass\":\"kdfont kdfont-manyidudiaoyanrukou\"},{\"key\":\"kdfont_yinpin\",\"name\":\"音频\",\"fontClass\":\"kdfont kdfont-yinpin\"},{\"key\":\"kdfont_weizhiwenjian\",\"name\":\"未知文件\",\"fontClass\":\"kdfont kdfont-weizhiwenjian\"},{\"key\":\"kdfont_WPSwenjian\",\"name\":\"WPS文件\",\"fontClass\":\"kdfont kdfont-WPSwenjian\"},{\"key\":\"kdfont_PPT2\",\"name\":\"PPT\",\"fontClass\":\"kdfont kdfont-PPT2\"},{\"key\":\"kdfont_PDF2\",\"name\":\"PDF\",\"fontClass\":\"kdfont kdfont-PDF2\"},{\"key\":\"kdfont_tupian9\",\"name\":\"图片\",\"fontClass\":\"kdfont kdfont-tupian9\"},{\"key\":\"kdfont_shipin3\",\"name\":\"视频\",\"fontClass\":\"kdfont kdfont-shipin3\"},{\"key\":\"kdfont_Word2\",\"name\":\"Word\",\"fontClass\":\"kdfont kdfont-Word2\"},{\"key\":\"kdfont_EXCEL2\",\"name\":\"EXCEL\",\"fontClass\":\"kdfont kdfont-EXCEL2\"},{\"key\":\"kdfont_yasuobao2\",\"name\":\"压缩包\",\"fontClass\":\"kdfont kdfont-yasuobao2\"},{\"key\":\"kdfont_huodebangzhu\",\"name\":\"获得帮助\",\"fontClass\":\"kdfont kdfont-huodebangzhu\"},{\"key\":\"kdfont_lianjie2\",\"name\":\"链接\",\"fontClass\":\"kdfont kdfont-lianjie2\"},{\"key\":\"kdfont_zitiyanse2\",\"name\":\"字体颜色\",\"fontClass\":\"kdfont kdfont-zitiyanse2\"},{\"key\":\"kdfont_daochu6\",\"name\":\"导出\",\"fontClass\":\"kdfont kdfont-daochu6\"},{\"key\":\"kdfont_daoru5\",\"name\":\"导入\",\"fontClass\":\"kdfont kdfont-daoru5\"},{\"key\":\"kdfont_jingezhongfenlei\",\"name\":\"净额重分类\",\"fontClass\":\"kdfont kdfont-jingezhongfenlei\"},{\"key\":\"kdfont_qushucanshushezhi\",\"name\":\"取数参数设置\",\"fontClass\":\"kdfont kdfont-qushucanshushezhi\"},{\"key\":\"kdfont_suofangbili\",\"name\":\"缩放比例\",\"fontClass\":\"kdfont kdfont-suofangbili\"},{\"key\":\"kdfont_tianchongyangshifangan\",\"name\":\"填充样式方案\",\"fontClass\":\"kdfont kdfont-tianchongyangshifangan\"},{\"key\":\"kdfont_weiduzhitianchong2\",\"name\":\"维度值填充\",\"fontClass\":\"kdfont kdfont-weiduzhitianchong2\"},{\"key\":\"kdfont_zhishitu2\",\"name\":\"值视图\",\"fontClass\":\"kdfont kdfont-zhishitu2\"},{\"key\":\"kdfont_Itemgongshishitu\",\"name\":\"Item公式视图\",\"fontClass\":\"kdfont kdfont-Itemgongshishitu\"},{\"key\":\"kdfont_qushu1\",\"name\":\"重算\",\"fontClass\":\"kdfont kdfont-qushu1\"},{\"key\":\"kdfont_sheweipinghengbeifen\",\"name\":\"舍位平衡\",\"fontClass\":\"kdfont kdfont-sheweipinghengbeifen\"},{\"key\":\"kdfont_zhuanhuan3\",\"name\":\"转换\",\"fontClass\":\"kdfont kdfont-zhuanhuan3\"},{\"key\":\"kdfont_daochu4\",\"name\":\"导出\",\"fontClass\":\"kdfont kdfont-daochu4\"},{\"key\":\"kdfont_daoru4\",\"name\":\"导入\",\"fontClass\":\"kdfont kdfont-daoru4\"},{\"key\":\"kdfont_shuzhisuoxiao\",\"name\":\"数值缩小\",\"fontClass\":\"kdfont kdfont-shuzhisuoxiao\"},{\"key\":\"kdfont_gongshiqushucanshu\",\"name\":\"公式取数参数\",\"fontClass\":\"kdfont kdfont-gongshiqushucanshu\"},{\"key\":\"kdfont_gongsi4\",\"name\":\"公司\",\"fontClass\":\"kdfont kdfont-gongsi4\"},{\"key\":\"kdfont_suoding8\",\"name\":\"锁定\",\"fontClass\":\"kdfont kdfont-suoding8\"},{\"key\":\"kdfont_tianchongmoban\",\"name\":\"填充模版\",\"fontClass\":\"kdfont kdfont-tianchongmoban\"},{\"key\":\"kdfont_goujiguanxi\",\"name\":\"勾稽关系\",\"fontClass\":\"kdfont kdfont-goujiguanxi\"},{\"key\":\"kdfont_liancha\",\"name\":\"联查\",\"fontClass\":\"kdfont kdfont-liancha\"},{\"key\":\"kdfont_weiduzhitianchong\",\"name\":\"维度值填充\",\"fontClass\":\"kdfont kdfont-weiduzhitianchong\"},{\"key\":\"kdfont_youjian3\",\"name\":\"邮件\",\"fontClass\":\"kdfont kdfont-youjian3\"},{\"key\":\"kdfont_zhongfenleifangan\",\"name\":\"重分类方案\",\"fontClass\":\"kdfont kdfont-zhongfenleifangan\"},{\"key\":\"kdfont_zhishitu\",\"name\":\"Item公式视图\",\"fontClass\":\"kdfont kdfont-zhishitu\"},{\"key\":\"kdfont_qushu2\",\"name\":\"值视图\",\"fontClass\":\"kdfont kdfont-qushu2\"},{\"key\":\"kdfont_liekuanzishiying\",\"name\":\"列宽自适应\",\"fontClass\":\"kdfont kdfont-liekuanzishiying\"},{\"key\":\"kdfont_fangdasuoxiaobili\",\"name\":\"放大、缩小比例\",\"fontClass\":\"kdfont kdfont-fangdasuoxiaobili\"},{\"key\":\"kdfont_shuzhifangda\",\"name\":\"数值放大\",\"fontClass\":\"kdfont kdfont-shuzhifangda\"},{\"key\":\"kdfont_bibiejingdu\",\"name\":\"币种精度\",\"fontClass\":\"kdfont kdfont-bibiejingdu\"},{\"key\":\"kdfont_baoqiandiaozheng\",\"name\":\"报前调整\",\"fontClass\":\"kdfont kdfont-baoqiandiaozheng\"},{\"key\":\"kdfont_baobiaojiancha\",\"name\":\"报表检查\",\"fontClass\":\"kdfont kdfont-baobiaojiancha\"},{\"key\":\"kdfont_qianfenwei\",\"name\":\"千分位\",\"fontClass\":\"kdfont kdfont-qianfenwei\"},{\"key\":\"kdfont_jianshaoxiaoshuweishu\",\"name\":\"减少小数位数\",\"fontClass\":\"kdfont kdfont-jianshaoxiaoshuweishu\"},{\"key\":\"kdfont_baifenbi\",\"name\":\"百分比\",\"fontClass\":\"kdfont kdfont-baifenbi\"},{\"key\":\"kdfont_zengjiaxiaoshuweishu\",\"name\":\"增加小数位数\",\"fontClass\":\"kdfont kdfont-zengjiaxiaoshuweishu\"},{\"key\":\"kdfont_huobi\",\"name\":\"货币\",\"fontClass\":\"kdfont kdfont-huobi\"},{\"key\":\"kdfont_youxiaoxing\",\"name\":\"有效性\",\"fontClass\":\"kdfont kdfont-youxiaoxing\"},{\"key\":\"kdfont_xuanqudanyuange2\",\"name\":\"选取单元格\",\"fontClass\":\"kdfont kdfont-xuanqudanyuange2\"},{\"key\":\"kdfont_tuichuxuanqudanyuange\",\"name\":\"退出选取单元格\",\"fontClass\":\"kdfont kdfont-tuichuxuanqudanyuange\"},{\"key\":\"kdfont_duoyuyan2\",\"name\":\"多语言\",\"fontClass\":\"kdfont kdfont-duoyuyan2\"},{\"key\":\"kdfont_tongzhi10\",\"name\":\"通知\",\"fontClass\":\"kdfont kdfont-tongzhi10\"},{\"key\":\"kdfont_tuichu3\",\"name\":\"退出\",\"fontClass\":\"kdfont kdfont-tuichu3\"},{\"key\":\"kdfont_dongtaibiaoge2\",\"name\":\"动态表格 2\",\"fontClass\":\"kdfont kdfont-dongtaibiaoge2\"},{\"key\":\"kdfont_geshibiaoge2\",\"name\":\"格式表格 2\",\"fontClass\":\"kdfont kdfont-geshibiaoge2\"},{\"key\":\"kdfont_wenjianjia3\",\"name\":\"文件夹 2\",\"fontClass\":\"kdfont kdfont-wenjianjia3\"},{\"key\":\"kdfont_gongzuodigao2\",\"name\":\"工作底稿 2\",\"fontClass\":\"kdfont kdfont-gongzuodigao2\"},{\"key\":\"kdfont_duoweichaxunfenxi2\",\"name\":\"多维查询分析 2\",\"fontClass\":\"kdfont kdfont-duoweichaxunfenxi2\"},{\"key\":\"kdfont_fuzhidaima\",\"name\":\"复制代码\",\"fontClass\":\"kdfont kdfont-fuzhidaima\"},{\"key\":\"kdfont_geshishua\",\"name\":\"格式刷\",\"fontClass\":\"kdfont kdfont-geshishua\"},{\"key\":\"kdfont_chaxuntiaojian\",\"name\":\"查询条件\",\"fontClass\":\"kdfont kdfont-chaxuntiaojian\"},{\"key\":\"kdfont_tianjiatongji\",\"name\":\"添加同级\",\"fontClass\":\"kdfont kdfont-tianjiatongji\"},{\"key\":\"kdfont_tianjiaziji\",\"name\":\"添加子级\",\"fontClass\":\"kdfont kdfont-tianjiaziji\"},{\"key\":\"kdfont_bianxieshitu\",\"name\":\"编写视图\",\"fontClass\":\"kdfont kdfont-bianxieshitu\"},{\"key\":\"kdfont_xujisuan\",\"name\":\"需计算\",\"fontClass\":\"kdfont kdfont-xujisuan\"},{\"key\":\"kdfont_zidingyi\",\"name\":\"自定义\",\"fontClass\":\"kdfont kdfont-zidingyi\"},{\"key\":\"kdfont_youjian\",\"name\":\"邮件\",\"fontClass\":\"kdfont kdfont-youjian\"},{\"key\":\"kdfont_shanchuxian\",\"name\":\"删除线\",\"fontClass\":\"kdfont kdfont-shanchuxian\"},{\"key\":\"kdfont_gengduo\",\"name\":\"更多\",\"fontClass\":\"kdfont kdfont-gengduo\"},{\"key\":\"kdfont_fengexian\",\"name\":\"分割线\",\"fontClass\":\"kdfont kdfont-fengexian\"},{\"key\":\"kdfont_daima\",\"name\":\"代码\",\"fontClass\":\"kdfont kdfont-daima\"},{\"key\":\"kdfont_yuyinshuru\",\"name\":\"语音输入\",\"fontClass\":\"kdfont kdfont-yuyinshuru\"},{\"key\":\"kdfont_xuliexiang\",\"name\":\"序列项\",\"fontClass\":\"kdfont kdfont-xuliexiang\"},{\"key\":\"kdfont_shitu_gaikuang\",\"name\":\"视图\",\"fontClass\":\"kdfont kdfont-shitu_gaikuang\"},{\"key\":\"kdfont_shitu_liebiao\",\"name\":\"视图_列表\",\"fontClass\":\"kdfont kdfont-shitu_liebiao\"},{\"key\":\"kdfont_xiabiankuang\",\"name\":\"下边框\",\"fontClass\":\"kdfont kdfont-xiabiankuang\"},{\"key\":\"kdfont_zuobiankuang\",\"name\":\"左边框\",\"fontClass\":\"kdfont kdfont-zuobiankuang\"},{\"key\":\"kdfont_youbiankuang\",\"name\":\"右边框\",\"fontClass\":\"kdfont kdfont-youbiankuang\"},{\"key\":\"kdfont_suoyoukuangxian\",\"name\":\"所有框线\",\"fontClass\":\"kdfont kdfont-suoyoukuangxian\"},{\"key\":\"kdfont_cuxiakuangxian\",\"name\":\"粗匣框线\",\"fontClass\":\"kdfont kdfont-cuxiakuangxian\"},{\"key\":\"kdfont_shangbiankuang\",\"name\":\"上边框\",\"fontClass\":\"kdfont kdfont-shangbiankuang\"},{\"key\":\"kdfont_waicekuangxian\",\"name\":\"外侧框线\",\"fontClass\":\"kdfont kdfont-waicekuangxian\"},{\"key\":\"kdfont_wukuangxian\",\"name\":\"无框线\",\"fontClass\":\"kdfont kdfont-wukuangxian\"},{\"key\":\"kdfont_shitu_qiapian\",\"name\":\"视图_卡片\",\"fontClass\":\"kdfont kdfont-shitu_qiapian\"},{\"key\":\"kdfont_shanchuxing\",\"name\":\"删除行\",\"fontClass\":\"kdfont kdfont-shanchuxing\"},{\"key\":\"kdfont_dongjiechuangti\",\"name\":\"冻结窗体\",\"fontClass\":\"kdfont kdfont-dongjiechuangti\"},{\"key\":\"kdfont_charuxing\",\"name\":\"插入行\",\"fontClass\":\"kdfont kdfont-charuxing\"},{\"key\":\"kdfont_yulan5\",\"name\":\"预览\",\"fontClass\":\"kdfont kdfont-yulan5\"},{\"key\":\"kdfont_icon_bianji_nor\",\"name\":\"icon_编辑_nor\",\"fontClass\":\"kdfont kdfont-icon_bianji_nor\"},{\"key\":\"kdfont_yulan\",\"name\":\"预览\",\"fontClass\":\"kdfont kdfont-yulan\"},{\"key\":\"kdfont_diaojie\",\"name\":\"调节\",\"fontClass\":\"kdfont kdfont-diaojie\"},{\"key\":\"kdfont_hebingdanyuange\",\"name\":\"合并单元格\",\"fontClass\":\"kdfont kdfont-hebingdanyuange\"},{\"key\":\"kdfont_bianjishouye\",\"name\":\"编辑首页\",\"fontClass\":\"kdfont kdfont-bianjishouye\"},{\"key\":\"kdfont_quxiaofabu\",\"name\":\"取消发布\",\"fontClass\":\"kdfont kdfont-quxiaofabu\"},{\"key\":\"kdfont_jiacu\",\"name\":\"加粗\",\"fontClass\":\"kdfont kdfont-jiacu\"},{\"key\":\"kdfont_xiahuaxian\",\"name\":\"下划线\",\"fontClass\":\"kdfont kdfont-xiahuaxian\"},{\"key\":\"kdfont_biaoti\",\"name\":\"标题\",\"fontClass\":\"kdfont kdfont-biaoti\"},{\"key\":\"kdfont_xieti\",\"name\":\"斜体\",\"fontClass\":\"kdfont kdfont-xieti\"},{\"key\":\"kdfont_zitiyanse\",\"name\":\"字体颜色\",\"fontClass\":\"kdfont kdfont-zitiyanse\"},{\"key\":\"kdfont_dayin\",\"name\":\"打印\",\"fontClass\":\"kdfont kdfont-dayin\"},{\"key\":\"kdfont_liebiao1\",\"name\":\"列表\",\"fontClass\":\"kdfont kdfont-liebiao1\"},{\"key\":\"kdfont_lingcun\",\"name\":\"另存\",\"fontClass\":\"kdfont kdfont-lingcun\"},{\"key\":\"kdfont_shuruwenzi\",\"name\":\"输入文字\",\"fontClass\":\"kdfont kdfont-shuruwenzi\"},{\"key\":\"kdfont_tuichu\",\"name\":\"退出\",\"fontClass\":\"kdfont kdfont-tuichu\"},{\"key\":\"kdfont_shuangshitu\",\"name\":\"双视图\",\"fontClass\":\"kdfont kdfont-shuangshitu\"},{\"key\":\"kdfont_chaolianjie\",\"name\":\"超链接\",\"fontClass\":\"kdfont kdfont-chaolianjie\"},{\"key\":\"kdfont_fuxuankuangxuanzhong_yuan\",\"name\":\"复选框选中_圆\",\"fontClass\":\"kdfont kdfont-fuxuankuangxuanzhong_yuan\"},{\"key\":\"kdfont_zitibeijingse\",\"name\":\"字体背景色\",\"fontClass\":\"kdfont kdfont-zitibeijingse\"},{\"key\":\"kdfont_danxuanxiang\",\"name\":\"单选项\",\"fontClass\":\"kdfont kdfont-danxuanxiang\"},{\"key\":\"kdfont_qingchu\",\"name\":\"清除\",\"fontClass\":\"kdfont kdfont-qingchu\"},{\"key\":\"kdfont_guolvpaixu\",\"name\":\"过滤排序\",\"fontClass\":\"kdfont kdfont-guolvpaixu\"},{\"key\":\"kdfont_yinyong\",\"name\":\"引用\",\"fontClass\":\"kdfont kdfont-yinyong\"},{\"key\":\"kdfont_tupian\",\"name\":\"图片\",\"fontClass\":\"kdfont kdfont-tupian\"},{\"key\":\"kdfont_yulanshitu\",\"name\":\"预览视图\",\"fontClass\":\"kdfont kdfont-yulanshitu\"},{\"key\":\"kdfont_danyuangegeshi\",\"name\":\"单元格格式\",\"fontClass\":\"kdfont kdfont-danyuangegeshi\"},{\"key\":\"kdfont_baocun\",\"name\":\"保存\",\"fontClass\":\"kdfont kdfont-baocun\"},{\"key\":\"kdfont_tuya\",\"name\":\"涂鸦\",\"fontClass\":\"kdfont kdfont-tuya\"},{\"key\":\"kdfont_wenbenzuoduiqi\",\"name\":\"文本左对齐\",\"fontClass\":\"kdfont kdfont-wenbenzuoduiqi\"},{\"key\":\"kdfont_wenbenyouduiqi\",\"name\":\"文本右对齐\",\"fontClass\":\"kdfont kdfont-wenbenyouduiqi\"},{\"key\":\"kdfont_wenbenjuzhong\",\"name\":\"文本居中\",\"fontClass\":\"kdfont kdfont-wenbenjuzhong\"},{\"key\":\"kdfont_xiangmu\",\"name\":\"项目\",\"fontClass\":\"kdfont kdfont-xiangmu\"},{\"key\":\"kdfont_jiaobentiaoshi\",\"name\":\"脚本调试\",\"fontClass\":\"kdfont kdfont-jiaobentiaoshi\"},{\"key\":\"kdfont_youfujian\",\"name\":\"有附件\",\"fontClass\":\"kdfont kdfont-youfujian\"},{\"key\":\"kdfont_fujian\",\"name\":\"附件\",\"fontClass\":\"kdfont kdfont-fujian\"}]},{\"key\":\"pc_shuzi\",\"group_name\":\"PC端-数字\",\"layout\":7,\"icons\":[{\"key\":\"kdfont_dibu1\",\"name\":\"第1步\",\"fontClass\":\"kdfont kdfont-dibu1\"},{\"key\":\"kdfont_dibu\",\"name\":\"第2步\",\"fontClass\":\"kdfont kdfont-dibu\"},{\"key\":\"kdfont_dibu3\",\"name\":\"第3步\",\"fontClass\":\"kdfont kdfont-dibu3\"},{\"key\":\"kdfont_dibu2\",\"name\":\"第4步\",\"fontClass\":\"kdfont kdfont-dibu2\"},{\"key\":\"kdfont_dibu4\",\"name\":\"第5步\",\"fontClass\":\"kdfont kdfont-dibu4\"}]},{\"key\":\"pc_zhongwen\",\"group_name\":\"PC端-中文\",\"layout\":8,\"icons\":[{\"key\":\"kdfont_xin140\",\"name\":\"新\",\"fontClass\":\"kdfont kdfont-xin140\"},{\"key\":\"kdfont_yi131\",\"name\":\"移\",\"fontClass\":\"kdfont kdfont-yi131\"},{\"key\":\"kdfont_shan55\",\"name\":\"删\",\"fontClass\":\"kdfont kdfont-shan55\"},{\"key\":\"kdfont_yisijianli\",\"name\":\"疑似简历\",\"fontClass\":\"kdfont kdfont-yisijianli\"},{\"key\":\"kdfont_kuojian\",\"name\":\"扩建\",\"fontClass\":\"kdfont kdfont-kuojian\"},{\"key\":\"kdfont_yuanchang\",\"name\":\"原厂\",\"fontClass\":\"kdfont kdfont-yuanchang\"},{\"key\":\"kdfont_jicheng2\",\"name\":\"继承\",\"fontClass\":\"kdfont kdfont-jicheng2\"},{\"key\":\"kdfont_zijian\",\"name\":\"自建\",\"fontClass\":\"kdfont kdfont-zijian\"},{\"key\":\"kdfont_yuan\",\"name\":\"源\",\"fontClass\":\"kdfont kdfont-yuan\"},{\"key\":\"kdfont_jicheng1\",\"name\":\"继承\",\"fontClass\":\"kdfont kdfont-jicheng1\"},{\"key\":\"kdfont_huozhe\",\"name\":\"或者\",\"fontClass\":\"kdfont kdfont-huozhe\"},{\"key\":\"kdfont_bingqie\",\"name\":\"并且\",\"fontClass\":\"kdfont kdfont-bingqie\"}]},{\"key\":\"pc_yingwen\",\"group_name\":\"PC端-英文\",\"layout\":9,\"icons\":[{\"key\":\"kdfont_shuzhi3\",\"name\":\"数值\",\"fontClass\":\"kdfont kdfont-shuzhi3\"},{\"key\":\"kdfont_wenben6\",\"name\":\"文本\",\"fontClass\":\"kdfont kdfont-wenben6\"},{\"key\":\"kdfont_NEW\",\"name\":\"NEW\",\"fontClass\":\"kdfont kdfont-NEW\"},{\"key\":\"kdfont_fx2\",\"name\":\"fx\",\"fontClass\":\"kdfont kdfont-fx2\"},{\"key\":\"kdfont_if7\",\"name\":\"if\",\"fontClass\":\"kdfont kdfont-if7\"},{\"key\":\"kdfont_abs\",\"name\":\"abs\",\"fontClass\":\"kdfont kdfont-abs\"},{\"key\":\"kdfont_and4\",\"name\":\"and\",\"fontClass\":\"kdfont kdfont-and4\"},{\"key\":\"kdfont_or7\",\"name\":\"or\",\"fontClass\":\"kdfont kdfont-or7\"},{\"key\":\"kdfont_GIT\",\"name\":\"GIT\",\"fontClass\":\"kdfont kdfont-GIT\"},{\"key\":\"kdfont_fx\",\"name\":\"fx\",\"fontClass\":\"kdfont kdfont-fx\"},{\"key\":\"kdfont_round\",\"name\":\"round\",\"fontClass\":\"kdfont kdfont-round\"},{\"key\":\"kdfont_yuyannengli\",\"name\":\"语言能力\",\"fontClass\":\"kdfont kdfont-yuyannengli\"}]},{\"key\":\"pc_caozuo\",\"group_name\":\"PC端-操作\",\"layout\":10,\"icons\":[{\"key\":\"kdfont_tianjiamoban\",\"name\":\"添加模板\",\"fontClass\":\"kdfont kdfont-tianjiamoban\"},{\"key\":\"kdfont_tianjiaziji2\",\"name\":\"添加子集\",\"fontClass\":\"kdfont kdfont-tianjiaziji2\"},{\"key\":\"kdfont_zhankai12\",\"name\":\"展开\",\"fontClass\":\"kdfont kdfont-zhankai12\"},{\"key\":\"kdfont_liuchengtu\",\"name\":\"流程图\",\"fontClass\":\"kdfont kdfont-liuchengtu\"},{\"key\":\"kdfont_danyuangejianchengshezhi\",\"name\":\"单元格简称设置\",\"fontClass\":\"kdfont kdfont-danyuangejianchengshezhi\"},{\"key\":\"kdfont_shuaxindiaozhengqian\",\"name\":\"刷新调整前\",\"fontClass\":\"kdfont kdfont-shuaxindiaozhengqian\"},{\"key\":\"kdfont_shuzhi4\",\"name\":\"数值\",\"fontClass\":\"kdfont kdfont-shuzhi4\"},{\"key\":\"kdfont_zifu\",\"name\":\"字符\",\"fontClass\":\"kdfont kdfont-zifu\"},{\"key\":\"kdfont_zhishiku3\",\"name\":\"知识库\",\"fontClass\":\"kdfont kdfont-zhishiku3\"},{\"key\":\"kdfont_huifu2\",\"name\":\"回复\",\"fontClass\":\"kdfont kdfont-huifu2\"},{\"key\":\"kdfont_tianbaoguizeshezhi\",\"name\":\"填报规则设置\",\"fontClass\":\"kdfont kdfont-tianbaoguizeshezhi\"},{\"key\":\"kdfont_diancai\",\"name\":\"点踩\",\"fontClass\":\"kdfont kdfont-diancai\"},{\"key\":\"kdfont_dianzan\",\"name\":\"点赞\",\"fontClass\":\"kdfont kdfont-dianzan\"},{\"key\":\"kdfont_fuxuankuangxuanzhong2\",\"name\":\"复选框选中2\",\"fontClass\":\"kdfont kdfont-fuxuankuangxuanzhong2\"},{\"key\":\"kdfont_xiangqinggenzong\",\"name\":\"详情跟踪\",\"fontClass\":\"kdfont kdfont-xiangqinggenzong\"},{\"key\":\"kdfont_lianchadanju\",\"name\":\"联查单据\",\"fontClass\":\"kdfont kdfont-lianchadanju\"},{\"key\":\"kdfont_fuxuankuangweixuanzhong3\",\"name\":\"复选框未选中\",\"fontClass\":\"kdfont kdfont-fuxuankuangweixuanzhong3\"},{\"key\":\"kdfont_yonghuchengqing\",\"name\":\"用户澄清\",\"fontClass\":\"kdfont kdfont-yonghuchengqing\"},{\"key\":\"kdfont_Cosmic\",\"name\":\"Cosmic\",\"fontClass\":\"kdfont kdfont-Cosmic\"},{\"key\":\"kdfont_54bilv\",\"name\":\"5:4比率\",\"fontClass\":\"kdfont kdfont-54bilv\"},{\"key\":\"kdfont_45bilv\",\"name\":\"4:5比率\",\"fontClass\":\"kdfont kdfont-45bilv\"},{\"key\":\"kdfont_sheweisuodingqu\",\"name\":\"设为锁定区\",\"fontClass\":\"kdfont kdfont-sheweisuodingqu\"},{\"key\":\"kdfont_zidongdiaozhengliekuan\",\"name\":\"自动调整列宽\",\"fontClass\":\"kdfont kdfont-zidongdiaozhengliekuan\"},{\"key\":\"kdfont_zidongdiaozhengxinggao\",\"name\":\"自动调整行高\",\"fontClass\":\"kdfont kdfont-zidongdiaozhengxinggao\"},{\"key\":\"kdfont_qingchuquyu\",\"name\":\"清除区域\",\"fontClass\":\"kdfont kdfont-qingchuquyu\"},{\"key\":\"kdfont_sheweidongtailuoliequ\",\"name\":\"设为动态罗列区\",\"fontClass\":\"kdfont kdfont-sheweidongtailuoliequ\"},{\"key\":\"kdfont_sheweiluoliehuizongqu\",\"name\":\"设为罗列汇总区\",\"fontClass\":\"kdfont kdfont-sheweiluoliehuizongqu\"},{\"key\":\"kdfont_sheweishangnianqushuqu\",\"name\":\"设为上年取数区\",\"fontClass\":\"kdfont kdfont-sheweishangnianqushuqu\"},{\"key\":\"kdfont_sheweishangniantongqiqu\",\"name\":\"设为上年同期区\",\"fontClass\":\"kdfont kdfont-sheweishangniantongqiqu\"},{\"key\":\"kdfont_sheweitianbaoqu\",\"name\":\"设为填报区\",\"fontClass\":\"kdfont kdfont-sheweitianbaoqu\"},{\"key\":\"kdfont_shezhixitongqushuqu\",\"name\":\"设置系统取数区\",\"fontClass\":\"kdfont kdfont-shezhixitongqushuqu\"},{\"key\":\"kdfont_fanchashezhi\",\"name\":\"反查设置\",\"fontClass\":\"kdfont kdfont-fanchashezhi\"},{\"key\":\"kdfont_daorubianliang\",\"name\":\"导入变量\",\"fontClass\":\"kdfont kdfont-daorubianliang\"},{\"key\":\"kdfont_baifenbizhuzhuangtu\",\"name\":\"百分比柱状图\",\"fontClass\":\"kdfont kdfont-baifenbizhuzhuangtu\"},{\"key\":\"kdfont_bingtu3\",\"name\":\"饼图\",\"fontClass\":\"kdfont kdfont-bingtu3\"},{\"key\":\"kdfont_gongge\",\"name\":\"宫格\",\"fontClass\":\"kdfont kdfont-gongge\"},{\"key\":\"kdfont_liebiao23\",\"name\":\"列表\",\"fontClass\":\"kdfont kdfont-liebiao23\"},{\"key\":\"kdfont_sandiantu\",\"name\":\"散点图\",\"fontClass\":\"kdfont kdfont-sandiantu\"},{\"key\":\"kdfont_zhanbitu\",\"name\":\"占比图\",\"fontClass\":\"kdfont kdfont-zhanbitu\"},{\"key\":\"kdfont_zhexiantu\",\"name\":\"折线图\",\"fontClass\":\"kdfont kdfont-zhexiantu\"},{\"key\":\"kdfont_zhuzhuangtu2\",\"name\":\"柱状图\",\"fontClass\":\"kdfont kdfont-zhuzhuangtu2\"},{\"key\":\"kdfont_chexiao5\",\"name\":\"撤销\",\"fontClass\":\"kdfont kdfont-chexiao5\"},{\"key\":\"kdfont_daxiaoxieqiehuan\",\"name\":\"大小写切换 \",\"fontClass\":\"kdfont kdfont-daxiaoxieqiehuan\"},{\"key\":\"kdfont_daxiaoxieqiehuanxuanzhong\",\"name\":\"大小写切换选中\",\"fontClass\":\"kdfont kdfont-daxiaoxieqiehuanxuanzhong\"},{\"key\":\"kdfont_jianpanshuru\",\"name\":\"键盘输入\",\"fontClass\":\"kdfont kdfont-jianpanshuru\"},{\"key\":\"kdfont_zhengque3\",\"name\":\"正确\",\"fontClass\":\"kdfont kdfont-zhengque3\"},{\"key\":\"kdfont_jineng3\",\"name\":\"技能\",\"fontClass\":\"kdfont kdfont-jineng3\"},{\"key\":\"kdfont_faqiduihua\",\"name\":\"发起对话\",\"fontClass\":\"kdfont kdfont-faqiduihua\"},{\"key\":\"kdfont_youlanshouqi\",\"name\":\"右栏收起\",\"fontClass\":\"kdfont kdfont-youlanshouqi\"},{\"key\":\"kdfont_xihuan3\",\"name\":\"喜欢\",\"fontClass\":\"kdfont kdfont-xihuan3\"},{\"key\":\"kdfont_buxihuan\",\"name\":\"不喜欢\",\"fontClass\":\"kdfont kdfont-buxihuan\"},{\"key\":\"kdfont_diaozheng3\",\"name\":\"调整\",\"fontClass\":\"kdfont kdfont-diaozheng3\"},{\"key\":\"kdfont_baifenbaixianshi\",\"name\":\"百分百显示\",\"fontClass\":\"kdfont kdfont-baifenbaixianshi\"},{\"key\":\"kdfont_zongpaixianshi\",\"name\":\"纵排显示\",\"fontClass\":\"kdfont kdfont-zongpaixianshi\"},{\"key\":\"kdfont_suoluetu\",\"name\":\"缩略图\",\"fontClass\":\"kdfont kdfont-suoluetu\"},{\"key\":\"kdfont_copy2\",\"name\":\"copy\",\"fontClass\":\"kdfont kdfont-copy2\"},{\"key\":\"kdfont_huanbibianhua\",\"name\":\"环比变化\",\"fontClass\":\"kdfont kdfont-huanbibianhua\"},{\"key\":\"kdfont_tongbibianhua\",\"name\":\"同比变化\",\"fontClass\":\"kdfont kdfont-tongbibianhua\"},{\"key\":\"kdfont_zhibiaofenxi\",\"name\":\"指标分析\",\"fontClass\":\"kdfont kdfont-zhibiaofenxi\"},{\"key\":\"kdfont_miaoshu\",\"name\":\"描述\",\"fontClass\":\"kdfont kdfont-miaoshu\"},{\"key\":\"kdfont_xuxie\",\"name\":\"续写\",\"fontClass\":\"kdfont kdfont-xuxie\"},{\"key\":\"kdfont_runse\",\"name\":\"润色\",\"fontClass\":\"kdfont kdfont-runse\"},{\"key\":\"kdfont_suoxieduanluo\",\"name\":\"缩写段落\",\"fontClass\":\"kdfont kdfont-suoxieduanluo\"},{\"key\":\"kdfont_kuoxieduanluo\",\"name\":\"扩写段落\",\"fontClass\":\"kdfont kdfont-kuoxieduanluo\"},{\"key\":\"kdfont_zongjie\",\"name\":\"总结\",\"fontClass\":\"kdfont kdfont-zongjie\"},{\"key\":\"kdfont_cezhuangtu\",\"name\":\"侧状图\",\"fontClass\":\"kdfont kdfont-cezhuangtu\"},{\"key\":\"kdfont_shuzhuangtu\",\"name\":\"树状图\",\"fontClass\":\"kdfont kdfont-shuzhuangtu\"},{\"key\":\"kdfont_dangqian2\",\"name\":\"当前\",\"fontClass\":\"kdfont kdfont-dangqian2\"},{\"key\":\"kdfont_xiayi3\",\"name\":\"下移\",\"fontClass\":\"kdfont kdfont-xiayi3\"},{\"key\":\"kdfont_duihua4\",\"name\":\"对话\",\"fontClass\":\"kdfont kdfont-duihua4\"},{\"key\":\"kdfont_xunizuzhitianjia\",\"name\":\"虚拟组织添加\",\"fontClass\":\"kdfont kdfont-xunizuzhitianjia\"},{\"key\":\"kdfont_anheiqiehuan\",\"name\":\"暗黑切换\",\"fontClass\":\"kdfont kdfont-anheiqiehuan\"},{\"key\":\"kdfont_mingxizhankai\",\"name\":\"明细展开\",\"fontClass\":\"kdfont kdfont-mingxizhankai\"},{\"key\":\"kdfont_mingxishouqi\",\"name\":\"明细收起\",\"fontClass\":\"kdfont kdfont-mingxishouqi\"},{\"key\":\"kdfont_zangua\",\"name\":\"暂挂\",\"fontClass\":\"kdfont kdfont-zangua\"},{\"key\":\"kdfont_tongguo6\",\"name\":\"通过\",\"fontClass\":\"kdfont kdfont-tongguo6\"},{\"key\":\"kdfont_butongguo2\",\"name\":\"不通过\",\"fontClass\":\"kdfont kdfont-butongguo2\"},{\"key\":\"kdfont_tuisao\",\"name\":\"退扫\",\"fontClass\":\"kdfont kdfont-tuisao\"},{\"key\":\"kdfont_fanwei\",\"name\":\"范围\",\"fontClass\":\"kdfont kdfont-fanwei\"},{\"key\":\"kdfont_weidongjie2\",\"name\":\"未冻结\",\"fontClass\":\"kdfont kdfont-weidongjie2\"},{\"key\":\"kdfont_fasong3\",\"name\":\"发送\",\"fontClass\":\"kdfont kdfont-fasong3\"},{\"key\":\"kdfont_dongjie2\",\"name\":\"冻结\",\"fontClass\":\"kdfont kdfont-dongjie2\"},{\"key\":\"kdfont_jisuanqingqiuguanli\",\"name\":\"计算请求管理\",\"fontClass\":\"kdfont kdfont-jisuanqingqiuguanli\"},{\"key\":\"kdfont_faqixinliaotian\",\"name\":\"发起新聊天\",\"fontClass\":\"kdfont kdfont-faqixinliaotian\"},{\"key\":\"kdfont_gengduocaozuo\",\"name\":\"更多操作\",\"fontClass\":\"kdfont kdfont-gengduocaozuo\"},{\"key\":\"kdfont_fuzhi7\",\"name\":\"复制\",\"fontClass\":\"kdfont kdfont-fuzhi7\"},{\"key\":\"kdfont_meiyoubangzhu\",\"name\":\"没有帮助\",\"fontClass\":\"kdfont kdfont-meiyoubangzhu\"},{\"key\":\"kdfont_duihua2\",\"name\":\"对话\",\"fontClass\":\"kdfont kdfont-duihua2\"},{\"key\":\"kdfont_xuanze4\",\"name\":\"选择\",\"fontClass\":\"kdfont kdfont-xuanze4\"},{\"key\":\"kdfont_chaifen4\",\"name\":\"组织拆分\",\"fontClass\":\"kdfont kdfont-chaifen4\"},{\"key\":\"kdfont_shuaxin4\",\"name\":\"刷新\",\"fontClass\":\"kdfont kdfont-shuaxin4\"},{\"key\":\"kdfont_qiehuan5\",\"name\":\"切换\",\"fontClass\":\"kdfont kdfont-qiehuan5\"},{\"key\":\"kdfont_bianji11\",\"name\":\"编辑\",\"fontClass\":\"kdfont kdfont-bianji11\"},{\"key\":\"kdfont_guanlian5\",\"name\":\"关联\",\"fontClass\":\"kdfont kdfont-guanlian5\"},{\"key\":\"kdfont_chakanyuangongdangandangqianzhi\",\"name\":\"查看员工档案当前值\",\"fontClass\":\"kdfont kdfont-chakanyuangongdangandangqianzhi\"},{\"key\":\"kdfont_lishixinxi\",\"name\":\"历史信息\",\"fontClass\":\"kdfont kdfont-lishixinxi\"},{\"key\":\"kdfont_wenben4\",\"name\":\"文本\",\"fontClass\":\"kdfont kdfont-wenben4\"},{\"key\":\"kdfont_gengxin5\",\"name\":\"更新\",\"fontClass\":\"kdfont kdfont-gengxin5\"},{\"key\":\"kdfont_shitu-kanban\",\"name\":\"视图-看板\",\"fontClass\":\"kdfont kdfont-shitu-kanban\"},{\"key\":\"kdfont_shitu-gantetu\",\"name\":\"视图-甘特图\",\"fontClass\":\"kdfont kdfont-shitu-gantetu\"},{\"key\":\"kdfont_shijianzhou\",\"name\":\"时间轴\",\"fontClass\":\"kdfont kdfont-shijianzhou\"},{\"key\":\"kdfont_qizi\",\"name\":\"旗子\",\"fontClass\":\"kdfont kdfont-qizi\"},{\"key\":\"kdfont_tuozhuai3\",\"name\":\"拖拽\",\"fontClass\":\"kdfont kdfont-tuozhuai3\"},{\"key\":\"kdfont_mianbanshouqi\",\"name\":\"面板收起\",\"fontClass\":\"kdfont kdfont-mianbanshouqi\"},{\"key\":\"kdfont_jichuziliao4\",\"name\":\"基础资料4\",\"fontClass\":\"kdfont kdfont-jichuziliao4\"},{\"key\":\"kdfont_jichuziliao3\",\"name\":\"基础资料3\",\"fontClass\":\"kdfont kdfont-jichuziliao3\"},{\"key\":\"kdfont_jichuziliao1\",\"name\":\"基础资料2\",\"fontClass\":\"kdfont kdfont-jichuziliao1\"},{\"key\":\"kdfont_shubiaoshouqi1\",\"name\":\"树表收起1\",\"fontClass\":\"kdfont kdfont-shubiaoshouqi1\"},{\"key\":\"kdfont_shubiaoshouqi2\",\"name\":\"树表收起2\",\"fontClass\":\"kdfont kdfont-shubiaoshouqi2\"},{\"key\":\"kdfont_shubiaoshouqi3\",\"name\":\"树表收起3\",\"fontClass\":\"kdfont kdfont-shubiaoshouqi3\"},{\"key\":\"kdfont_shubiaozhankai1\",\"name\":\"树表展开1\",\"fontClass\":\"kdfont kdfont-shubiaozhankai1\"},{\"key\":\"kdfont_shubiaozhankai2\",\"name\":\"树表展开2\",\"fontClass\":\"kdfont kdfont-shubiaozhankai2\"},{\"key\":\"kdfont_shubiaozhankai3\",\"name\":\"树表展开3\",\"fontClass\":\"kdfont kdfont-shubiaozhankai3\"},{\"key\":\"kdfont_xialasanjiao\",\"name\":\"下拉三角\",\"fontClass\":\"kdfont kdfont-xialasanjiao\"},{\"key\":\"kdfont_jichengshu\",\"name\":\"继承树\",\"fontClass\":\"kdfont kdfont-jichengshu\"},{\"key\":\"kdfont_suoluezuzhi\",\"name\":\"缩略组织\",\"fontClass\":\"kdfont kdfont-suoluezuzhi\"},{\"key\":\"kdfont_yingpinjianli\",\"name\":\"应聘简历\",\"fontClass\":\"kdfont kdfont-yingpinjianli\"},{\"key\":\"kdfont_Aidongcha\",\"name\":\"Ai洞察\",\"fontClass\":\"kdfont kdfont-Aidongcha\"},{\"key\":\"kdfont_diaozheng\",\"name\":\"调整\",\"fontClass\":\"kdfont kdfont-diaozheng\"},{\"key\":\"kdfont_danliexianshi\",\"name\":\"单列显示\",\"fontClass\":\"kdfont kdfont-danliexianshi\"},{\"key\":\"kdfont_hengxiangxianshi\",\"name\":\"横向显示\",\"fontClass\":\"kdfont kdfont-hengxiangxianshi\"},{\"key\":\"kdfont_putongjiedian\",\"name\":\"普通节点\",\"fontClass\":\"kdfont kdfont-putongjiedian\"},{\"key\":\"kdfont_shuangliexianshi\",\"name\":\"双列显示\",\"fontClass\":\"kdfont kdfont-shuangliexianshi\"},{\"key\":\"kdfont_xiangxiapingpu\",\"name\":\"向下平铺\",\"fontClass\":\"kdfont kdfont-xiangxiapingpu\"},{\"key\":\"kdfont_youcejiedian\",\"name\":\"右侧节点\",\"fontClass\":\"kdfont kdfont-youcejiedian\"},{\"key\":\"kdfont_zongxiangxianshi\",\"name\":\"纵向显示\",\"fontClass\":\"kdfont kdfont-zongxiangxianshi\"},{\"key\":\"kdfont_zuocejiedian\",\"name\":\"左侧节点\",\"fontClass\":\"kdfont kdfont-zuocejiedian\"},{\"key\":\"kdfont_jianshao3\",\"name\":\"减少_线\",\"fontClass\":\"kdfont kdfont-jianshao3\"},{\"key\":\"kdfont_tianjia6\",\"name\":\"添加_线\",\"fontClass\":\"kdfont kdfont-tianjia6\"},{\"key\":\"kdfont_tianjia\",\"name\":\"添加\",\"fontClass\":\"kdfont kdfont-tianjia\"},{\"key\":\"kdfont_jianshao\",\"name\":\"减少\",\"fontClass\":\"kdfont kdfont-jianshao\"},{\"key\":\"kdfont_biyan\",\"name\":\"闭眼\",\"fontClass\":\"kdfont kdfont-biyan\"},{\"key\":\"kdfont_biaoji\",\"name\":\"标记\",\"fontClass\":\"kdfont kdfont-biaoji\"},{\"key\":\"kdfont_yibiaoji\",\"name\":\"已标记\",\"fontClass\":\"kdfont kdfont-yibiaoji\"},{\"key\":\"kdfont_hejishitu\",\"name\":\"汇总视图\",\"fontClass\":\"kdfont kdfont-hejishitu\"},{\"key\":\"kdfont_mingxishitu\",\"name\":\"明细视图\",\"fontClass\":\"kdfont kdfont-mingxishitu\"},{\"key\":\"kdfont_tuichu4\",\"name\":\"退出\",\"fontClass\":\"kdfont kdfont-tuichu4\"},{\"key\":\"kdfont_f\",\"name\":\"f7\",\"fontClass\":\"kdfont kdfont-f\"},{\"key\":\"kdfont_shouqi\",\"name\":\"收起\",\"fontClass\":\"kdfont kdfont-shouqi\"},{\"key\":\"kdfont_unfolded-s\",\"name\":\"展开\",\"fontClass\":\"kdfont kdfont-unfolded-s\"},{\"key\":\"kdfont_quanbuyingyong-mianxing\",\"name\":\"全部应用- 面性\",\"fontClass\":\"kdfont kdfont-quanbuyingyong-mianxing\"},{\"key\":\"kdfont_quanbuyingyong-xianxing\",\"name\":\"全部应用-线性\",\"fontClass\":\"kdfont kdfont-quanbuyingyong-xianxing\"},{\"key\":\"kdfont_shitu_tubiao3\",\"name\":\"视图_图表\",\"fontClass\":\"kdfont kdfont-shitu_tubiao3\"},{\"key\":\"kdfont_shitu_gaikuang3\",\"name\":\"视图_概况\",\"fontClass\":\"kdfont kdfont-shitu_gaikuang3\"},{\"key\":\"kdfont_shitu_kapian2\",\"name\":\"视图_卡片\",\"fontClass\":\"kdfont kdfont-shitu_kapian2\"},{\"key\":\"kdfont_shitu_liebiao3\",\"name\":\"视图_列表\",\"fontClass\":\"kdfont kdfont-shitu_liebiao3\"},{\"key\":\"kdfont_xingxing_xianxing\",\"name\":\"星星\",\"fontClass\":\"kdfont kdfont-xingxing_xianxing\"},{\"key\":\"kdfont_cuowujiancha\",\"name\":\"错误检查\",\"fontClass\":\"kdfont kdfont-cuowujiancha\"},{\"key\":\"kdfont_xiaoK4\",\"name\":\"小K\",\"fontClass\":\"kdfont kdfont-xiaoK4\"},{\"key\":\"kdfont_yingyongshichang\",\"name\":\"应用市场\",\"fontClass\":\"kdfont kdfont-yingyongshichang\"},{\"key\":\"kdfont_yunzhijiatongxunlu\",\"name\":\"云之家通讯录\",\"fontClass\":\"kdfont kdfont-yunzhijiatongxunlu\"},{\"key\":\"kdfont_dongcha\",\"name\":\"洞察\",\"fontClass\":\"kdfont kdfont-dongcha\"},{\"key\":\"kdfont_fuyuan\",\"name\":\"复原\",\"fontClass\":\"kdfont kdfont-fuyuan\"},{\"key\":\"kdfont_nishizhen3\",\"name\":\"逆时针\",\"fontClass\":\"kdfont kdfont-nishizhen3\"},{\"key\":\"kdfont_shangchuanfujian\",\"name\":\"上传附件\",\"fontClass\":\"kdfont kdfont-shangchuanfujian\"},{\"key\":\"kdfont_shunshizhen\",\"name\":\"顺时针\",\"fontClass\":\"kdfont kdfont-shunshizhen\"},{\"key\":\"kdfont_charubanci\",\"name\":\"插入班次\",\"fontClass\":\"kdfont kdfont-charubanci\"},{\"key\":\"kdfont_fuzhi4\",\"name\":\"复制\",\"fontClass\":\"kdfont kdfont-fuzhi4\"},{\"key\":\"kdfont_huanban\",\"name\":\"换班\",\"fontClass\":\"kdfont kdfont-huanban\"},{\"key\":\"kdfont_suoding5\",\"name\":\"锁定\",\"fontClass\":\"kdfont kdfont-suoding5\"},{\"key\":\"kdfont_zhantie2\",\"name\":\"粘贴\",\"fontClass\":\"kdfont kdfont-zhantie2\"},{\"key\":\"kdfont_jiesuo3\",\"name\":\"解锁\",\"fontClass\":\"kdfont kdfont-jiesuo3\"},{\"key\":\"kdfont_xiudingshijian\",\"name\":\"修订时间\",\"fontClass\":\"kdfont kdfont-xiudingshijian\"},{\"key\":\"kdfont_paixu-xianxing\",\"name\":\"排序-线性\",\"fontClass\":\"kdfont kdfont-paixu-xianxing\"},{\"key\":\"kdfont_bianji\",\"name\":\"编辑\",\"fontClass\":\"kdfont kdfont-bianji\"},{\"key\":\"kdfont_bianji6\",\"name\":\"编辑-面性\",\"fontClass\":\"kdfont kdfont-bianji6\"},{\"key\":\"kdfont_paixu-mianxing\",\"name\":\"排序-面性\",\"fontClass\":\"kdfont kdfont-paixu-mianxing\"},{\"key\":\"kdfont_chajian\",\"name\":\"插件\",\"fontClass\":\"kdfont kdfont-chajian\"},{\"key\":\"kdfont_yulan2\",\"name\":\"预览2\",\"fontClass\":\"kdfont kdfont-yulan2\"},{\"key\":\"kdfont_juxing\",\"name\":\"矩形\",\"fontClass\":\"kdfont kdfont-juxing\"},{\"key\":\"kdfont_lingxing\",\"name\":\"菱形\",\"fontClass\":\"kdfont kdfont-lingxing\"},{\"key\":\"kdfont_yuanxing\",\"name\":\"圆形\",\"fontClass\":\"kdfont kdfont-yuanxing\"},{\"key\":\"kdfont_quanjugongxiang\",\"name\":\"全局共享\",\"fontClass\":\"kdfont kdfont-quanjugongxiang\"},{\"key\":\"kdfont_qingkong-xianxing\",\"name\":\"清空-线性\",\"fontClass\":\"kdfont kdfont-qingkong-xianxing\"},{\"key\":\"kdfont_yunpaixu\",\"name\":\"云排序\",\"fontClass\":\"kdfont kdfont-yunpaixu\"},{\"key\":\"kdfont_shouqi8\",\"name\":\"收起\",\"fontClass\":\"kdfont kdfont-shouqi8\"},{\"key\":\"kdfont_zhankai5\",\"name\":\"展开\",\"fontClass\":\"kdfont kdfont-zhankai5\"},{\"key\":\"kdfont_suoding\",\"name\":\"锁定\",\"fontClass\":\"kdfont kdfont-suoding\"},{\"key\":\"kdfont_jiechusuoding\",\"name\":\"解除锁定\",\"fontClass\":\"kdfont kdfont-jiechusuoding\"},{\"key\":\"kdfont_guanbi8\",\"name\":\"关闭\",\"fontClass\":\"kdfont kdfont-guanbi8\"},{\"key\":\"kdfont_dizhiguanli\",\"name\":\"地址管理\",\"fontClass\":\"kdfont kdfont-dizhiguanli\"},{\"key\":\"kdfont_paixu6\",\"name\":\"排序\",\"fontClass\":\"kdfont kdfont-paixu6\"},{\"key\":\"kdfont_qingkong2\",\"name\":\"清空2\",\"fontClass\":\"kdfont kdfont-qingkong2\"},{\"key\":\"kdfont_fanchexiao\",\"name\":\"反撤销\",\"fontClass\":\"kdfont kdfont-fanchexiao\"},{\"key\":\"kdfont_jianqie\",\"name\":\"剪切\",\"fontClass\":\"kdfont kdfont-jianqie\"},{\"key\":\"kdfont_chexiao2\",\"name\":\"撤销\",\"fontClass\":\"kdfont kdfont-chexiao2\"},{\"key\":\"kdfont_fuzhi3\",\"name\":\"复制\",\"fontClass\":\"kdfont kdfont-fuzhi3\"},{\"key\":\"kdfont_zhantie\",\"name\":\"粘贴\",\"fontClass\":\"kdfont kdfont-zhantie\"},{\"key\":\"kdfont_guolv_xian\",\"name\":\"过滤_线\",\"fontClass\":\"kdfont kdfont-guolv_xian\"},{\"key\":\"kdfont_wangye\",\"name\":\"网页\",\"fontClass\":\"kdfont kdfont-wangye\"},{\"key\":\"kdfont_sheweimoren\",\"name\":\"设为默认\",\"fontClass\":\"kdfont kdfont-sheweimoren\"},{\"key\":\"kdfont_liucheng\",\"name\":\"流程\",\"fontClass\":\"kdfont kdfont-liucheng\"},{\"key\":\"kdfont_fuxuankuang5\",\"name\":\"复选框_部分已选_方\",\"fontClass\":\"kdfont kdfont-fuxuankuang5\"},{\"key\":\"kdfont_bangongxietong\",\"name\":\"办公协同\",\"fontClass\":\"kdfont kdfont-bangongxietong\"},{\"key\":\"kdfont_huakuang\",\"name\":\"画框\",\"fontClass\":\"kdfont kdfont-huakuang\"},{\"key\":\"kdfont_shanchu\",\"name\":\"删除\",\"fontClass\":\"kdfont kdfont-shanchu\"},{\"key\":\"kdfont_shanchu-s\",\"name\":\"删除\",\"fontClass\":\"kdfont kdfont-shanchu-s\"},{\"key\":\"kdfont_duoxuanxiang\",\"name\":\"多选项\",\"fontClass\":\"kdfont kdfont-duoxuanxiang\"},{\"key\":\"kdfont_shenpijilu\",\"name\":\"审批记录\",\"fontClass\":\"kdfont kdfont-shenpijilu\"},{\"key\":\"kdfont_huifuchuchangshezhi\",\"name\":\"恢复出厂设置\",\"fontClass\":\"kdfont kdfont-huifuchuchangshezhi\"},{\"key\":\"kdfont_anquanjiance\",\"name\":\"安全检测\",\"fontClass\":\"kdfont kdfont-anquanjiance\"},{\"key\":\"kdfont_tianxie\",\"name\":\"填写\",\"fontClass\":\"kdfont kdfont-tianxie\"},{\"key\":\"kdfont_fangda\",\"name\":\"放大\",\"fontClass\":\"kdfont kdfont-fangda\"},{\"key\":\"kdfont_suoxiao\",\"name\":\"缩小\",\"fontClass\":\"kdfont kdfont-suoxiao\"},{\"key\":\"kdfont_guanbiyulan\",\"name\":\"关闭预览\",\"fontClass\":\"kdfont kdfont-guanbiyulan\"},{\"key\":\"kdfont_fuxuankuangweixuanzhong_fang\",\"name\":\"复选框未选中\",\"fontClass\":\"kdfont kdfont-fuxuankuangweixuanzhong_fang\"},{\"key\":\"kdfont_xingxing_shixin\",\"name\":\"星星\",\"fontClass\":\"kdfont kdfont-xingxing_shixin\"},{\"key\":\"kdfont_guanbiquanping\",\"name\":\"关闭全屏\",\"fontClass\":\"kdfont kdfont-guanbiquanping\"},{\"key\":\"kdfont_toubudaohang_guanbi\",\"name\":\"头部导航_关闭\",\"fontClass\":\"kdfont kdfont-toubudaohang_guanbi\"},{\"key\":\"kdfont_duoxuankuang-bufenyixuan\",\"name\":\"多选框-部分已选\",\"fontClass\":\"kdfont kdfont-duoxuankuang-bufenyixuan\"},{\"key\":\"kdfont_tupianyulanguanbi\",\"name\":\"图片预览关闭\",\"fontClass\":\"kdfont kdfont-tupianyulanguanbi\"},{\"key\":\"kdfont_danxuankuang-weixuan\",\"name\":\"单选框-未选\",\"fontClass\":\"kdfont kdfont-danxuankuang-weixuan\"},{\"key\":\"kdfont_yiwancheng\",\"name\":\"已完成\",\"fontClass\":\"kdfont kdfont-yiwancheng\"},{\"key\":\"kdfont_caidanshouqi\",\"name\":\"菜单收起\",\"fontClass\":\"kdfont kdfont-caidanshouqi\"},{\"key\":\"kdfont_yidongduanshanchu\",\"name\":\"移动端删除\",\"fontClass\":\"kdfont kdfont-yidongduanshanchu\"},{\"key\":\"kdfont_renwuchuli\",\"name\":\"任务处理\",\"fontClass\":\"kdfont kdfont-renwuchuli\"},{\"key\":\"kdfont_caidanzhankai\",\"name\":\"菜单展开\",\"fontClass\":\"kdfont kdfont-caidanzhankai\"},{\"key\":\"kdfont_duoxuankuang-xuanzhongqiejinyong\",\"name\":\"多选框-选中且禁用\",\"fontClass\":\"kdfont kdfont-duoxuankuang-xuanzhongqiejinyong\"},{\"key\":\"kdfont_liebiaodanxuankuangxuanzhong\",\"name\":\"列表单选框选中\",\"fontClass\":\"kdfont kdfont-liebiaodanxuankuangxuanzhong\"},{\"key\":\"kdfont_jiesuohuise\",\"name\":\"解锁 灰色\",\"fontClass\":\"kdfont kdfont-jiesuohuise\"},{\"key\":\"kdfont_guding-xianxing\",\"name\":\"固定-线性\",\"fontClass\":\"kdfont kdfont-guding-xianxing\"},{\"key\":\"kdfont_guding-shixin\",\"name\":\"固定-实心\",\"fontClass\":\"kdfont kdfont-guding-shixin\"},{\"key\":\"kdfont_xihuan\",\"name\":\"喜欢\",\"fontClass\":\"kdfont kdfont-xihuan\"},{\"key\":\"kdfont_suodinghuise\",\"name\":\"锁定 灰色\",\"fontClass\":\"kdfont kdfont-suodinghuise\"},{\"key\":\"kdfont_qingkong\",\"name\":\"清空\",\"fontClass\":\"kdfont kdfont-qingkong\"},{\"key\":\"kdfont_fuxuankuangweixuanzhong_yuan\",\"name\":\"复选框未选中_圆\",\"fontClass\":\"kdfont kdfont-fuxuankuangweixuanzhong_yuan\"},{\"key\":\"kdfont_shanchukapian\",\"name\":\"删除卡片\",\"fontClass\":\"kdfont kdfont-shanchukapian\"},{\"key\":\"kdfont_fuxuankuangxuanzhong_fang\",\"name\":\"复选框选中\",\"fontClass\":\"kdfont kdfont-fuxuankuangxuanzhong_fang\"},{\"key\":\"kdfont_zuozhankai\",\"name\":\"左展开\",\"fontClass\":\"kdfont kdfont-zuozhankai\"},{\"key\":\"kdfont_youzhankai\",\"name\":\"右展开\",\"fontClass\":\"kdfont kdfont-youzhankai\"},{\"key\":\"kdfont_genggai\",\"name\":\"更改\",\"fontClass\":\"kdfont kdfont-genggai\"},{\"key\":\"kdfont_shezhixian\",\"name\":\"设置（线）\",\"fontClass\":\"kdfont kdfont-shezhixian\"},{\"key\":\"kdfont_caidan3\",\"name\":\"菜单\",\"fontClass\":\"kdfont kdfont-caidan3\"},{\"key\":\"kdfont_youshouqi\",\"name\":\"右收起\",\"fontClass\":\"kdfont kdfont-youshouqi\"},{\"key\":\"kdfont_zuoshouqi\",\"name\":\"左收起\",\"fontClass\":\"kdfont kdfont-zuoshouqi\"},{\"key\":\"kdfont_tuozhuai\",\"name\":\"拖拽\",\"fontClass\":\"kdfont kdfont-tuozhuai\"},{\"key\":\"kdfont_tianjiaqiapian\",\"name\":\"添加卡片\",\"fontClass\":\"kdfont kdfont-tianjiaqiapian\"},{\"key\":\"kdfont_yiguidang\",\"name\":\"已归档\",\"fontClass\":\"kdfont kdfont-yiguidang\"},{\"key\":\"kdfont_biaotoushezhi\",\"name\":\"表头设置 \",\"fontClass\":\"kdfont kdfont-biaotoushezhi\"},{\"key\":\"kdfont_pinglun\",\"name\":\"评论\",\"fontClass\":\"kdfont kdfont-pinglun\"},{\"key\":\"kdfont_guolv_mian\",\"name\":\"过滤\",\"fontClass\":\"kdfont kdfont-guolv_mian\"}]},{\"key\":\"pc_zhuangshi\",\"group_name\":\"PC端-装饰\",\"layout\":11,\"icons\":[{\"key\":\"kdfont_rencaichi\",\"name\":\"人才池\",\"fontClass\":\"kdfont kdfont-rencaichi\"},{\"key\":\"kdfont_renzhizige2\",\"name\":\"任职资格\",\"fontClass\":\"kdfont kdfont-renzhizige2\"},{\"key\":\"kdfont_zhijidiaozheng\",\"name\":\"职级调整\",\"fontClass\":\"kdfont kdfont-zhijidiaozheng\"},{\"key\":\"kdfont_zidong6\",\"name\":\"自动\",\"fontClass\":\"kdfont kdfont-zidong6\"},{\"key\":\"kdfont_zhengti2\",\"name\":\"智能体\",\"fontClass\":\"kdfont kdfont-zhengti2\"},{\"key\":\"kdfont_zuzhi18\",\"name\":\"组织\",\"fontClass\":\"kdfont kdfont-zuzhi18\"},{\"key\":\"kdfont_yonghuchengqing2\",\"name\":\"用户澄清\",\"fontClass\":\"kdfont kdfont-yonghuchengqing2\"},{\"key\":\"kdfont_gongju4\",\"name\":\"工具\",\"fontClass\":\"kdfont kdfont-gongju4\"},{\"key\":\"kdfont_xunhuan3\",\"name\":\"循环\",\"fontClass\":\"kdfont kdfont-xunhuan3\"},{\"key\":\"kdfont_daima14\",\"name\":\"代码\",\"fontClass\":\"kdfont kdfont-daima14\"},{\"key\":\"kdfont_zhongzhixunhuan\",\"name\":\"终止循环\",\"fontClass\":\"kdfont kdfont-zhongzhixunhuan\"},{\"key\":\"kdfont_tishi12\",\"name\":\"提示\",\"fontClass\":\"kdfont kdfont-tishi12\"},{\"key\":\"kdfont_zidingyicaozuo2\",\"name\":\"自定义操作\",\"fontClass\":\"kdfont kdfont-zidingyicaozuo2\"},{\"key\":\"kdfont_xiaoxi15\",\"name\":\"消息\",\"fontClass\":\"kdfont kdfont-xiaoxi15\"},{\"key\":\"kdfont_bianliang4\",\"name\":\"变量\",\"fontClass\":\"kdfont kdfont-bianliang4\"},{\"key\":\"kdfont_zhishiku4\",\"name\":\"知识库\",\"fontClass\":\"kdfont kdfont-zhishiku4\"},{\"key\":\"kdfont_yonghuwenti\",\"name\":\"用户问题\",\"fontClass\":\"kdfont kdfont-yonghuwenti\"},{\"key\":\"kdfont_huifu3\",\"name\":\"回复\",\"fontClass\":\"kdfont kdfont-huifu3\"},{\"key\":\"kdfont_jieshu\",\"name\":\"结束\",\"fontClass\":\"kdfont kdfont-jieshu\"},{\"key\":\"kdfont_yonghuhuihua\",\"name\":\"用户会话\",\"fontClass\":\"kdfont kdfont-yonghuhuihua\"},{\"key\":\"kdfont_kaishi4\",\"name\":\"开始\",\"fontClass\":\"kdfont kdfont-kaishi4\"},{\"key\":\"kdfont_jindujiedian\",\"name\":\"进度节点\",\"fontClass\":\"kdfont kdfont-jindujiedian\"},{\"key\":\"kdfont_dayuyanmoxingbiaoshi\",\"name\":\"大语言模型标识\",\"fontClass\":\"kdfont kdfont-dayuyanmoxingbiaoshi\"},{\"key\":\"kdfont_ziranyuyanshuru\",\"name\":\"自然语言输入\",\"fontClass\":\"kdfont kdfont-ziranyuyanshuru\"},{\"key\":\"kdfont_xml-mianxing\",\"name\":\"xml-面性\",\"fontClass\":\"kdfont kdfont-xml-mianxing\"},{\"key\":\"kdfont_XML3\",\"name\":\"XML\",\"fontClass\":\"kdfont kdfont-XML3\"},{\"key\":\"kdfont_JS-yidong\",\"name\":\"JS-移动\",\"fontClass\":\"kdfont kdfont-JS-yidong\"},{\"key\":\"kdfont_JS-mianxing-yidong\",\"name\":\"JS-面性-移动\",\"fontClass\":\"kdfont kdfont-JS-mianxing-yidong\"},{\"key\":\"kdfont_xiangqingjieshao-mianxing\",\"name\":\"详情介绍-面性\",\"fontClass\":\"kdfont kdfont-xiangqingjieshao-mianxing\"},{\"key\":\"kdfont_xiangqingjieshao-xianxing\",\"name\":\"详情介绍-线性\",\"fontClass\":\"kdfont kdfont-xiangqingjieshao-xianxing\"},{\"key\":\"kdfont_JS-mianxing\",\"name\":\"JS-面性\",\"fontClass\":\"kdfont kdfont-JS-mianxing\"},{\"key\":\"kdfont_JS2\",\"name\":\"JS\",\"fontClass\":\"kdfont kdfont-JS2\"},{\"key\":\"kdfont_erweimadenglu\",\"name\":\"二维码登录\",\"fontClass\":\"kdfont kdfont-erweimadenglu\"},{\"key\":\"kdfont_yingshe2\",\"name\":\"映射\",\"fontClass\":\"kdfont kdfont-yingshe2\"},{\"key\":\"kdfont_wufayingshe\",\"name\":\"无法映射\",\"fontClass\":\"kdfont kdfont-wufayingshe\"},{\"key\":\"kdfont_moren3\",\"name\":\"默认\",\"fontClass\":\"kdfont kdfont-moren3\"},{\"key\":\"kdfont_danju12\",\"name\":\"单据\",\"fontClass\":\"kdfont kdfont-danju12\"},{\"key\":\"kdfont_xunizuzhi2\",\"name\":\"虚拟组织\",\"fontClass\":\"kdfont kdfont-xunizuzhi2\"},{\"key\":\"kdfont_gongwenbao3\",\"name\":\"岗位\",\"fontClass\":\"kdfont kdfont-gongwenbao3\"},{\"key\":\"kdfont_kongyubianzhi\",\"name\":\"空余编制\",\"fontClass\":\"kdfont kdfont-kongyubianzhi\"},{\"key\":\"kdfont_bianzhirenshu\",\"name\":\"编制人数\",\"fontClass\":\"kdfont kdfont-bianzhirenshu\"},{\"key\":\"kdfont_shuru4\",\"name\":\"输入\",\"fontClass\":\"kdfont kdfont-shuru4\"},{\"key\":\"kdfont_shuchu\",\"name\":\"输出\",\"fontClass\":\"kdfont kdfont-shuchu\"},{\"key\":\"kdfont_nirenzhi\",\"name\":\"拟任职\",\"fontClass\":\"kdfont kdfont-nirenzhi\"},{\"key\":\"kdfont_nimianzhi\",\"name\":\"拟免职\",\"fontClass\":\"kdfont kdfont-nimianzhi\"},{\"key\":\"kdfont_mianzhizangua\",\"name\":\"免职暂挂\",\"fontClass\":\"kdfont kdfont-mianzhizangua\"},{\"key\":\"kdfont_chuchibiaozhun2\",\"name\":\"出池标准\",\"fontClass\":\"kdfont kdfont-chuchibiaozhun2\"},{\"key\":\"kdfont_ruchibiaozhun\",\"name\":\"入池标准\",\"fontClass\":\"kdfont kdfont-ruchibiaozhun\"},{\"key\":\"kdfont_duihua3\",\"name\":\"对话\",\"fontClass\":\"kdfont kdfont-duihua3\"},{\"key\":\"kdfont_daimawenti\",\"name\":\"代码问题\",\"fontClass\":\"kdfont kdfont-daimawenti\"},{\"key\":\"kdfont_geren5\",\"name\":\"个人\",\"fontClass\":\"kdfont kdfont-geren5\"},{\"key\":\"kdfont_guanjian2\",\"name\":\"关键\",\"fontClass\":\"kdfont kdfont-guanjian2\"},{\"key\":\"kdfont_jiajian2\",\"name\":\"加减\",\"fontClass\":\"kdfont kdfont-jiajian2\"},{\"key\":\"kdfont_qian39\",\"name\":\"钱\",\"fontClass\":\"kdfont kdfont-qian39\"},{\"key\":\"kdfont_wendang3\",\"name\":\"文档\",\"fontClass\":\"kdfont kdfont-wendang3\"},{\"key\":\"kdfont_xuexi\",\"name\":\"学习\",\"fontClass\":\"kdfont kdfont-xuexi\"},{\"key\":\"kdfont_zhibiao3\",\"name\":\"指标\",\"fontClass\":\"kdfont kdfont-zhibiao3\"},{\"key\":\"kdfont_shangchuantupian\",\"name\":\"上传图片\",\"fontClass\":\"kdfont kdfont-shangchuantupian\"},{\"key\":\"kdfont_xinGPT\",\"name\":\"新GPT\",\"fontClass\":\"kdfont kdfont-xinGPT\"},{\"key\":\"kdfont_xiezuojigongju\",\"name\":\"协作及工具\",\"fontClass\":\"kdfont kdfont-xiezuojigongju\"},{\"key\":\"kdfont_xiaozhunhui\",\"name\":\"校准会\",\"fontClass\":\"kdfont kdfont-xiaozhunhui\"},{\"key\":\"kdfont_pandianduixiang\",\"name\":\"盘点对象\",\"fontClass\":\"kdfont kdfont-pandianduixiang\"},{\"key\":\"kdfont_guanjianshijian\",\"name\":\"关键事件\",\"fontClass\":\"kdfont kdfont-guanjianshijian\"},{\"key\":\"kdfont_biaodan3\",\"name\":\"表单\",\"fontClass\":\"kdfont kdfont-biaodan3\"},{\"key\":\"kdfont_zhishi4\",\"name\":\"知识\",\"fontClass\":\"kdfont kdfont-zhishi4\"},{\"key\":\"kdfont_wenjian15\",\"name\":\"文件\",\"fontClass\":\"kdfont kdfont-wenjian15\"},{\"key\":\"kdfont_wendang2\",\"name\":\"文档\",\"fontClass\":\"kdfont kdfont-wendang2\"},{\"key\":\"kdfont_renyuanbiandong\",\"name\":\"人员变动\",\"fontClass\":\"kdfont kdfont-renyuanbiandong\"},{\"key\":\"kdfont_qitaxingbie\",\"name\":\"其他性别\",\"fontClass\":\"kdfont kdfont-qitaxingbie\"},{\"key\":\"kdfont_nvxing\",\"name\":\"女性\",\"fontClass\":\"kdfont kdfont-nvxing\"},{\"key\":\"kdfont_nanxing\",\"name\":\"男性\",\"fontClass\":\"kdfont kdfont-nanxing\"},{\"key\":\"kdfont_zhuguanzerenzuzhi\",\"name\":\"主管责任组织\",\"fontClass\":\"kdfont kdfont-zhuguanzerenzuzhi\"},{\"key\":\"kdfont_luyongshenpi\",\"name\":\"录用审批\",\"fontClass\":\"kdfont kdfont-luyongshenpi\"},{\"key\":\"kdfont_zhideng2\",\"name\":\"职等\",\"fontClass\":\"kdfont kdfont-zhideng2\"},{\"key\":\"kdfont_mubiao5\",\"name\":\"目标\",\"fontClass\":\"kdfont kdfont-mubiao5\"},{\"key\":\"kdfont_sp-zengjiaxiaoshuweishu\",\"name\":\"sp-增加小数位数\",\"fontClass\":\"kdfont kdfont-sp-zengjiaxiaoshuweishu\"},{\"key\":\"kdfont_jiajiang2\",\"name\":\"嘉奖\",\"fontClass\":\"kdfont kdfont-jiajiang2\"},{\"key\":\"kdfont_lishichaxun\",\"name\":\"历史查询\",\"fontClass\":\"kdfont kdfont-lishichaxun\"},{\"key\":\"kdfont_pingjia3\",\"name\":\"评价\",\"fontClass\":\"kdfont kdfont-pingjia3\"},{\"key\":\"kdfont_mubiaoxian\",\"name\":\"目标线\",\"fontClass\":\"kdfont kdfont-mubiaoxian\"},{\"key\":\"kdfont_xiangmutuandui4\",\"name\":\"项目团队\",\"fontClass\":\"kdfont kdfont-xiangmutuandui4\"},{\"key\":\"kdfont_nianling\",\"name\":\"年龄\",\"fontClass\":\"kdfont kdfont-nianling\"},{\"key\":\"kdfont_zuzhimofang\",\"name\":\"组织魔方\",\"fontClass\":\"kdfont kdfont-zuzhimofang\"},{\"key\":\"kdfont_wenjianjia5\",\"name\":\"文件夹\",\"fontClass\":\"kdfont kdfont-wenjianjia5\"},{\"key\":\"kdfont_zuzhi12\",\"name\":\"组织\",\"fontClass\":\"kdfont kdfont-zuzhi12\"},{\"key\":\"kdfont_gongsi\",\"name\":\"公司\",\"fontClass\":\"kdfont kdfont-gongsi\"},{\"key\":\"kdfont_gongzuodi3\",\"name\":\"工作地\",\"fontClass\":\"kdfont kdfont-gongzuodi3\"},{\"key\":\"kdfont_bumen2\",\"name\":\"部门\",\"fontClass\":\"kdfont kdfont-bumen2\"},{\"key\":\"kdfont_qi128\",\"name\":\"旗\",\"fontClass\":\"kdfont kdfont-qi128\"},{\"key\":\"kdfont_kuaijiejian2\",\"name\":\"快捷键\",\"fontClass\":\"kdfont kdfont-kuaijiejian2\"},{\"key\":\"kdfont_shequ\",\"name\":\"社区\",\"fontClass\":\"kdfont kdfont-shequ\"},{\"key\":\"kdfont_xinshouyindao\",\"name\":\"新手引导\",\"fontClass\":\"kdfont kdfont-xinshouyindao\"},{\"key\":\"kdfont_faren\",\"name\":\"法人\",\"fontClass\":\"kdfont kdfont-faren\"},{\"key\":\"kdfont_jiediankuai\",\"name\":\"节点块\",\"fontClass\":\"kdfont kdfont-jiediankuai\"},{\"key\":\"kdfont_cuowuzhuanyi\",\"name\":\"错误转移\",\"fontClass\":\"kdfont kdfont-cuowuzhuanyi\"},{\"key\":\"kdfont_buchangtubiao\",\"name\":\"补偿图标\",\"fontClass\":\"kdfont kdfont-buchangtubiao\"},{\"key\":\"kdfont_renyuantongguotubiao\",\"name\":\"人员通过图标\",\"fontClass\":\"kdfont kdfont-renyuantongguotubiao\"},{\"key\":\"kdfont_api1-1\",\"name\":\"api1-1\",\"fontClass\":\"kdfont kdfont-api1-1\"},{\"key\":\"kdfont_api2\",\"name\":\"api1\",\"fontClass\":\"kdfont kdfont-api2\"},{\"key\":\"kdfont_api2-1\",\"name\":\"api2-1\",\"fontClass\":\"kdfont kdfont-api2-1\"},{\"key\":\"kdfont_api3\",\"name\":\"api2\",\"fontClass\":\"kdfont kdfont-api3\"},{\"key\":\"kdfont_api3-1\",\"name\":\"api3-1\",\"fontClass\":\"kdfont kdfont-api3-1\"},{\"key\":\"kdfont_api4\",\"name\":\"api3\",\"fontClass\":\"kdfont kdfont-api4\"},{\"key\":\"kdfont_naozhong\",\"name\":\"闹钟\",\"fontClass\":\"kdfont kdfont-naozhong\"},{\"key\":\"kdfont_mokuai2\",\"name\":\"模块\",\"fontClass\":\"kdfont kdfont-mokuai2\"},{\"key\":\"kdfont_shitizuzhi\",\"name\":\"实体组织\",\"fontClass\":\"kdfont kdfont-shitizuzhi\"},{\"key\":\"kdfont_xiangmuxingtuandui\",\"name\":\"项目型团队\",\"fontClass\":\"kdfont kdfont-xiangmuxingtuandui\"},{\"key\":\"kdfont_wenda\",\"name\":\"问答\",\"fontClass\":\"kdfont kdfont-wenda\"},{\"key\":\"kdfont_kecheng\",\"name\":\"课程\",\"fontClass\":\"kdfont kdfont-kecheng\"},{\"key\":\"kdfont_wenzhang\",\"name\":\"文章\",\"fontClass\":\"kdfont kdfont-wenzhang\"},{\"key\":\"kdfont_zhishi\",\"name\":\"知识\",\"fontClass\":\"kdfont kdfont-zhishi\"},{\"key\":\"kdfont_zhinengbiaoqian\",\"name\":\"智能标签\",\"fontClass\":\"kdfont kdfont-zhinengbiaoqian\"},{\"key\":\"kdfont_gongyingshangfenlei\",\"name\":\"供应商分类\",\"fontClass\":\"kdfont kdfont-gongyingshangfenlei\"},{\"key\":\"kdfont_gongyingshang8\",\"name\":\"供应商\",\"fontClass\":\"kdfont kdfont-gongyingshang8\"},{\"key\":\"kdfont_gongzuorili\",\"name\":\"工作日历\",\"fontClass\":\"kdfont kdfont-gongzuorili\"},{\"key\":\"kdfont_shangwuhuoban\",\"name\":\"商务伙伴\",\"fontClass\":\"kdfont kdfont-shangwuhuoban\"},{\"key\":\"kdfont_guojiadiqu\",\"name\":\"国家地区\",\"fontClass\":\"kdfont kdfont-guojiadiqu\"},{\"key\":\"kdfont_hezuojinrongjigou\",\"name\":\"合作金融机构\",\"fontClass\":\"kdfont kdfont-hezuojinrongjigou\"},{\"key\":\"kdfont_huilv\",\"name\":\"汇率\",\"fontClass\":\"kdfont kdfont-huilv\"},{\"key\":\"kdfont_jiliangdanwei\",\"name\":\"计量单位\",\"fontClass\":\"kdfont kdfont-jiliangdanwei\"},{\"key\":\"kdfont_kehu4\",\"name\":\"客户\",\"fontClass\":\"kdfont kdfont-kehu4\"},{\"key\":\"kdfont_kehufenlei\",\"name\":\"客户分类\",\"fontClass\":\"kdfont kdfont-kehufenlei\"},{\"key\":\"kdfont_kehufenleibiaozhun\",\"name\":\"客户分类标准\",\"fontClass\":\"kdfont kdfont-kehufenleibiaozhun\"},{\"key\":\"kdfont_xingmingxinghao\",\"name\":\"行名行号\",\"fontClass\":\"kdfont kdfont-xingmingxinghao\"},{\"key\":\"kdfont_xiangmufenlei\",\"name\":\"项目分类\",\"fontClass\":\"kdfont kdfont-xiangmufenlei\"},{\"key\":\"kdfont_xiangmu15\",\"name\":\"项目\",\"fontClass\":\"kdfont kdfont-xiangmu15\"},{\"key\":\"kdfont_wuliaofenleibiaozhun\",\"name\":\"物料分类标准\",\"fontClass\":\"kdfont kdfont-wuliaofenleibiaozhun\"},{\"key\":\"kdfont_wuliaofenlei\",\"name\":\"物料分类\",\"fontClass\":\"kdfont kdfont-wuliaofenlei\"},{\"key\":\"kdfont_wuliao\",\"name\":\"物料\",\"fontClass\":\"kdfont kdfont-wuliao\"},{\"key\":\"kdfont_xingzhengquhua\",\"name\":\"行政区划\",\"fontClass\":\"kdfont kdfont-xingzhengquhua\"},{\"key\":\"kdfont_BOMbanben\",\"name\":\"BOM版本\",\"fontClass\":\"kdfont kdfont-BOMbanben\"},{\"key\":\"kdfont_BOMbanbenguize\",\"name\":\"BOM版本规则\",\"fontClass\":\"kdfont kdfont-BOMbanbenguize\"},{\"key\":\"kdfont_bibie\",\"name\":\"币种\",\"fontClass\":\"kdfont kdfont-bibie\"},{\"key\":\"kdfont_jiesuanfangshi\",\"name\":\"结算方式\",\"fontClass\":\"kdfont kdfont-jiesuanfangshi\"},{\"key\":\"kdfont_gongyingshangfenleibiaozhun\",\"name\":\"供应商分类标准\",\"fontClass\":\"kdfont kdfont-gongyingshangfenleibiaozhun\"},{\"key\":\"kdfont_tongyongdanweihuansuan\",\"name\":\"通用单位换算\",\"fontClass\":\"kdfont kdfont-tongyongdanweihuansuan\"},{\"key\":\"kdfont_Bos\",\"name\":\"Bos\",\"fontClass\":\"kdfont kdfont-Bos\"},{\"key\":\"kdfont_leijigongyingshang\",\"name\":\"累计供应商\",\"fontClass\":\"kdfont kdfont-leijigongyingshang\"},{\"key\":\"kdfont_leijiyewu2\",\"name\":\"累计业务\",\"fontClass\":\"kdfont kdfont-leijiyewu2\"},{\"key\":\"kdfont_leijiyewujine\",\"name\":\"累计业务金额\",\"fontClass\":\"kdfont kdfont-leijiyewujine\"},{\"key\":\"kdfont_zidingyi2\",\"name\":\"自定义\",\"fontClass\":\"kdfont kdfont-zidingyi2\"},{\"key\":\"kdfont_dizhiweihu\",\"name\":\"地址维护\",\"fontClass\":\"kdfont kdfont-dizhiweihu\"},{\"key\":\"kdfont_xiaoxitongzhi\",\"name\":\"消息通知\",\"fontClass\":\"kdfont kdfont-xiaoxitongzhi\"},{\"key\":\"kdfont_weixin\",\"name\":\"微信\",\"fontClass\":\"kdfont kdfont-weixin\"},{\"key\":\"kdfont_shouqianrexian\",\"name\":\"售前热线\",\"fontClass\":\"kdfont kdfont-shouqianrexian\"},{\"key\":\"kdfont_kefu2\",\"name\":\"客服\",\"fontClass\":\"kdfont kdfont-kefu2\"},{\"key\":\"kdfont_kuaijiejian\",\"name\":\"快捷键\",\"fontClass\":\"kdfont kdfont-kuaijiejian\"},{\"key\":\"kdfont_dianhua\",\"name\":\"电话\",\"fontClass\":\"kdfont kdfont-dianhua\"},{\"key\":\"kdfont_lianxifangshi\",\"name\":\"联系方式\",\"fontClass\":\"kdfont kdfont-lianxifangshi\"},{\"key\":\"kdfont_fenxi\",\"name\":\"分析\",\"fontClass\":\"kdfont kdfont-fenxi\"},{\"key\":\"kdfont_pingtai\",\"name\":\"平台\",\"fontClass\":\"kdfont kdfont-pingtai\"},{\"key\":\"kdfont_riqixuanze\",\"name\":\"日期选择\",\"fontClass\":\"kdfont kdfont-riqixuanze\"},{\"key\":\"kdfont_wodedingdan\",\"name\":\"我的订单\",\"fontClass\":\"kdfont kdfont-wodedingdan\"},{\"key\":\"kdfont_xiaowei\",\"name\":\"小微\",\"fontClass\":\"kdfont kdfont-xiaowei\"},{\"key\":\"kdfont_yunzhijia\",\"name\":\"云之家\",\"fontClass\":\"kdfont kdfont-yunzhijia\"},{\"key\":\"kdfont_dingweisousuo\",\"name\":\"定位搜索\",\"fontClass\":\"kdfont kdfont-dingweisousuo\"},{\"key\":\"kdfont_gouwuche\",\"name\":\"购物车\",\"fontClass\":\"kdfont kdfont-gouwuche\"},{\"key\":\"kdfont_daishengxiao\",\"name\":\"待生效\",\"fontClass\":\"kdfont kdfont-daishengxiao\"},{\"key\":\"kdfont_doufang\",\"name\":\"斗方\",\"fontClass\":\"kdfont kdfont-doufang\"},{\"key\":\"kdfont_chakanjichuziliao\",\"name\":\"查看基础资料\",\"fontClass\":\"kdfont kdfont-chakanjichuziliao\"},{\"key\":\"kdfont_chakanxiangqing\",\"name\":\"查看详情\",\"fontClass\":\"kdfont kdfont-chakanxiangqing\"},{\"key\":\"kdfont_xinjianguize\",\"name\":\"新建规则\",\"fontClass\":\"kdfont kdfont-xinjianguize\"},{\"key\":\"kdfont_shouqianzaixianzixun\",\"name\":\"售前在线咨询\",\"fontClass\":\"kdfont kdfont-shouqianzaixianzixun\"},{\"key\":\"kdfont_tidanfankui\",\"name\":\"提单反馈\",\"fontClass\":\"kdfont kdfont-tidanfankui\"},{\"key\":\"kdfont_xinxi9\",\"name\":\"联系\",\"fontClass\":\"kdfont kdfont-xinxi9\"},{\"key\":\"kdfont_xuelizheng\",\"name\":\"学历证\",\"fontClass\":\"kdfont kdfont-xuelizheng\"},{\"key\":\"kdfont_yinhangqia\",\"name\":\"银行卡\",\"fontClass\":\"kdfont kdfont-yinhangqia\"},{\"key\":\"kdfont_lizhibaogao\",\"name\":\"离职报告\",\"fontClass\":\"kdfont kdfont-lizhibaogao\"},{\"key\":\"kdfont_xueweizheng\",\"name\":\"学位证\",\"fontClass\":\"kdfont kdfont-xueweizheng\"},{\"key\":\"kdfont_tijianbaogao\",\"name\":\"体检报告\",\"fontClass\":\"kdfont kdfont-tijianbaogao\"},{\"key\":\"kdfont_shenfenzheng\",\"name\":\"身份证\",\"fontClass\":\"kdfont kdfont-shenfenzheng\"},{\"key\":\"kdfont_xiaoK\",\"name\":\"小K\",\"fontClass\":\"kdfont kdfont-xiaoK\"},{\"key\":\"kdfont_zhiyezige\",\"name\":\"职业资格\",\"fontClass\":\"kdfont kdfont-zhiyezige\"},{\"key\":\"kdfont_zhichengxinxi\",\"name\":\"职称信息\",\"fontClass\":\"kdfont kdfont-zhichengxinxi\"},{\"key\":\"kdfont_peixunjingli\",\"name\":\"培训经历\",\"fontClass\":\"kdfont kdfont-peixunjingli\"},{\"key\":\"kdfont_gongzuojingli\",\"name\":\"工作经历\",\"fontClass\":\"kdfont kdfont-gongzuojingli\"},{\"key\":\"kdfont_fankui\",\"name\":\"反馈\",\"fontClass\":\"kdfont kdfont-fankui\"},{\"key\":\"kdfont_jiaocha\",\"name\":\"较差\",\"fontClass\":\"kdfont kdfont-jiaocha\"},{\"key\":\"kdfont_hencha\",\"name\":\"很差\",\"fontClass\":\"kdfont kdfont-hencha\"},{\"key\":\"kdfont_henbang\",\"name\":\"很棒\",\"fontClass\":\"kdfont kdfont-henbang\"},{\"key\":\"kdfont_yiban\",\"name\":\"一般\",\"fontClass\":\"kdfont kdfont-yiban\"},{\"key\":\"kdfont_bucuo\",\"name\":\"不错\",\"fontClass\":\"kdfont kdfont-bucuo\"},{\"key\":\"kdfont_yingyongpingfen\",\"name\":\"应用评分\",\"fontClass\":\"kdfont kdfont-yingyongpingfen\"}]},{\"key\":\"pc_zhuangtai\",\"group_name\":\"PC端-状态\",\"layout\":12,\"icons\":[{\"key\":\"kdfont_zanting\",\"name\":\"暂停\",\"fontClass\":\"kdfont kdfont-zanting\"},{\"key\":\"kdfont_huaban3\",\"name\":\"提示-面性\",\"fontClass\":\"kdfont kdfont-huaban3\"},{\"key\":\"kdfont_tishi-mianxing\",\"name\":\"tishi-mianxing\",\"fontClass\":\"kdfont kdfont-tishi-mianxing\"},{\"key\":\"kdfont_dibuyichang\",\"name\":\"底部异常\",\"fontClass\":\"kdfont kdfont-dibuyichang\"},{\"key\":\"kdfont_dingbuyichang\",\"name\":\"顶部异常\",\"fontClass\":\"kdfont kdfont-dingbuyichang\"},{\"key\":\"kdfont_tiyanxinban\",\"name\":\"体验新版\",\"fontClass\":\"kdfont kdfont-tiyanxinban\"},{\"key\":\"kdfont_yewuduixiangkekuozhandingyigongju\",\"name\":\" 业务对象可扩展定义工具\",\"fontClass\":\"kdfont kdfont-yewuduixiangkekuozhandingyigongju\"},{\"key\":\"kdfont_daizhongxintijiao\",\"name\":\"待重新提交\",\"fontClass\":\"kdfont kdfont-daizhongxintijiao\"},{\"key\":\"kdfont_yiyuqi\",\"name\":\"已逾期\",\"fontClass\":\"kdfont kdfont-yiyuqi\"},{\"key\":\"kdfont_daifasong\",\"name\":\"待发送\",\"fontClass\":\"kdfont kdfont-daifasong\"},{\"key\":\"kdfont_jinggao-mian\",\"name\":\"警告-面\",\"fontClass\":\"kdfont kdfont-jinggao-mian\"},{\"key\":\"kdfont_tongguo3\",\"name\":\"通过\",\"fontClass\":\"kdfont kdfont-tongguo3\"},{\"key\":\"kdfont_tongzhi-mianxing\",\"name\":\"通知-面性\",\"fontClass\":\"kdfont kdfont-tongzhi-mianxing\"},{\"key\":\"kdfont_bangzhu\",\"name\":\"帮助\",\"fontClass\":\"kdfont kdfont-bangzhu\"},{\"key\":\"kdfont_jiazai\",\"name\":\"加载\",\"fontClass\":\"kdfont kdfont-jiazai\"},{\"key\":\"kdfont_liebiaozhuangtailan\",\"name\":\"列表状态栏\",\"fontClass\":\"kdfont kdfont-liebiaozhuangtailan\"},{\"key\":\"kdfont_liuchengzhong\",\"name\":\"流程中\",\"fontClass\":\"kdfont kdfont-liuchengzhong\"},{\"key\":\"kdfont_daikaishi\",\"name\":\"待开始\",\"fontClass\":\"kdfont kdfont-daikaishi\"},{\"key\":\"kdfont_hetongzhongzhi\",\"name\":\"合同终止\",\"fontClass\":\"kdfont kdfont-hetongzhongzhi\"},{\"key\":\"kdfont_shenpiwancheng\",\"name\":\"审批完成\",\"fontClass\":\"kdfont kdfont-shenpiwancheng\"},{\"key\":\"kdfont_fankuixinxi\",\"name\":\"反馈信息\",\"fontClass\":\"kdfont kdfont-fankuixinxi\"},{\"key\":\"kdfont_guanlianxinxi_l\",\"name\":\"关联信息\",\"fontClass\":\"kdfont kdfont-guanlianxinxi_l\"},{\"key\":\"kdfont_tishixinxi_l\",\"name\":\"提示信息\",\"fontClass\":\"kdfont kdfont-tishixinxi_l\"},{\"key\":\"kdfont_guanlianxinxi\",\"name\":\"关联信息\",\"fontClass\":\"kdfont kdfont-guanlianxinxi\"},{\"key\":\"kdfont_tishixinxi\",\"name\":\"提示信息\",\"fontClass\":\"kdfont kdfont-tishixinxi\"},{\"key\":\"kdfont_yifeiqi\",\"name\":\"已废弃\",\"fontClass\":\"kdfont kdfont-yifeiqi\"},{\"key\":\"kdfont_gouxuan\",\"name\":\"勾选\",\"fontClass\":\"kdfont kdfont-gouxuan\"},{\"key\":\"kdfont_shenpizhongzhi\",\"name\":\"审批终止\",\"fontClass\":\"kdfont kdfont-shenpizhongzhi\"},{\"key\":\"kdfont_yitijiao2\",\"name\":\"已提交\",\"fontClass\":\"kdfont kdfont-yitijiao2\"},{\"key\":\"kdfont_daitijiao\",\"name\":\"待提交\",\"fontClass\":\"kdfont kdfont-daitijiao\"},{\"key\":\"kdfont_daikaishi2\",\"name\":\"待开始\",\"fontClass\":\"kdfont kdfont-daikaishi2\"},{\"key\":\"kdfont_jianchatongguo\",\"name\":\"检查通过\",\"fontClass\":\"kdfont kdfont-jianchatongguo\"},{\"key\":\"kdfont_jianchabutongguo\",\"name\":\"检查不通过\",\"fontClass\":\"kdfont kdfont-jianchabutongguo\"},{\"key\":\"kdfont_jinxingzhong\",\"name\":\"进行中\",\"fontClass\":\"kdfont kdfont-jinxingzhong\"},{\"key\":\"kdfont_tishi4\",\"name\":\"提示\",\"fontClass\":\"kdfont kdfont-tishi4\"},{\"key\":\"kdfont_wenhao\",\"name\":\"问号\",\"fontClass\":\"kdfont kdfont-wenhao\"},{\"key\":\"kdfont_dagou\",\"name\":\"打勾\",\"fontClass\":\"kdfont kdfont-dagou\"},{\"key\":\"kdfont_jinggao\",\"name\":\"警告\",\"fontClass\":\"kdfont kdfont-jinggao\"},{\"key\":\"kdfont_jinhangzhong\",\"name\":\"进行中\",\"fontClass\":\"kdfont kdfont-jinhangzhong\"},{\"key\":\"kdfont_shuaxin2\",\"name\":\"刷新\",\"fontClass\":\"kdfont kdfont-shuaxin2\"}]},{\"key\":\"pc_moren\",\"group_name\":\"PC端-默认\",\"layout\":13,\"icons\":[{\"key\":\"kdfont_tarenjianchu\",\"name\":\"他人检出\",\"fontClass\":\"kdfont kdfont-tarenjianchu\"},{\"key\":\"kdfont_wenjianchuanshuzhong\",\"name\":\"文件传输中\",\"fontClass\":\"kdfont kdfont-wenjianchuanshuzhong\"},{\"key\":\"kdfont_wenjianjieyong\",\"name\":\"文件借用\",\"fontClass\":\"kdfont kdfont-wenjianjieyong\"},{\"key\":\"kdfont_zijijianchu\",\"name\":\"自己检出\",\"fontClass\":\"kdfont kdfont-zijijianchu\"},{\"key\":\"kdfont_tongyongtubiao6\",\"name\":\"通用图标6\",\"fontClass\":\"kdfont kdfont-tongyongtubiao6\"},{\"key\":\"kdfont_tongyongtubiao5\",\"name\":\"通用图标5\",\"fontClass\":\"kdfont kdfont-tongyongtubiao5\"},{\"key\":\"kdfont_tongyongtubiao4\",\"name\":\"通用图标4\",\"fontClass\":\"kdfont kdfont-tongyongtubiao4\"},{\"key\":\"kdfont_tongyongtubiao3\",\"name\":\"通用图标3\",\"fontClass\":\"kdfont kdfont-tongyongtubiao3\"},{\"key\":\"kdfont_cebianlantubiao6beifen\",\"name\":\"通用图标2\",\"fontClass\":\"kdfont kdfont-cebianlantubiao6beifen\"},{\"key\":\"kdfont_cebianlantubiao1beifen\",\"name\":\"通用图标\",\"fontClass\":\"kdfont kdfont-cebianlantubiao1beifen\"}]},{\"key\":\"pc_kaifazhemenhu\",\"group_name\":\"PC端-开发者门户\",\"layout\":14,\"icons\":[{\"key\":\"kdfont_qiehuanyemianneirong\",\"name\":\"切换页面内容\",\"fontClass\":\"kdfont kdfont-qiehuanyemianneirong\"},{\"key\":\"kdfont_shili\",\"name\":\"示例\",\"fontClass\":\"kdfont kdfont-shili\"},{\"key\":\"kdfont_yindao2\",\"name\":\"引导\",\"fontClass\":\"kdfont kdfont-yindao2\"},{\"key\":\"kdfont_jicheng12\",\"name\":\"继承\",\"fontClass\":\"kdfont kdfont-jicheng12\"},{\"key\":\"kdfont_kuo11\",\"name\":\"kuo\",\"fontClass\":\"kdfont kdfont-kuo11\"},{\"key\":\"kdfont_yuan57\",\"name\":\"yuan\",\"fontClass\":\"kdfont kdfont-yuan57\"},{\"key\":\"kdfont_pingheng4\",\"name\":\"平衡\",\"fontClass\":\"kdfont kdfont-pingheng4\"},{\"key\":\"kdfont_chuangyi\",\"name\":\"创意\",\"fontClass\":\"kdfont kdfont-chuangyi\"},{\"key\":\"kdfont_jingzhun\",\"name\":\"精准\",\"fontClass\":\"kdfont kdfont-jingzhun\"},{\"key\":\"kdfont_icon_Prompt\",\"name\":\"icon_Prompt\",\"fontClass\":\"kdfont kdfont-icon_Prompt\"},{\"key\":\"kdfont_icon_Plugin\",\"name\":\"icon_Plugin\",\"fontClass\":\"kdfont kdfont-icon_Plugin\"},{\"key\":\"kdfont_icon_Knowledge\",\"name\":\"icon_Knowledge\",\"fontClass\":\"kdfont kdfont-icon_Knowledge\"},{\"key\":\"kdfont_icon_Flow\",\"name\":\"icon_Flow\",\"fontClass\":\"kdfont kdfont-icon_Flow\"},{\"key\":\"kdfont_bianji14\",\"name\":\"编辑\",\"fontClass\":\"kdfont kdfont-bianji14\"},{\"key\":\"kdfont_shangchuanfujian2\",\"name\":\"上传附件\",\"fontClass\":\"kdfont kdfont-shangchuanfujian2\"},{\"key\":\"kdfont_jineng4\",\"name\":\"技能\",\"fontClass\":\"kdfont kdfont-jineng4\"},{\"key\":\"kdfont_guanbi15\",\"name\":\"关闭\",\"fontClass\":\"kdfont kdfont-guanbi15\"},{\"key\":\"kdfont_quanping4\",\"name\":\"全屏\",\"fontClass\":\"kdfont kdfont-quanping4\"},{\"key\":\"kdfont_guding3\",\"name\":\"固定\",\"fontClass\":\"kdfont kdfont-guding3\"},{\"key\":\"kdfont_lishiduihua\",\"name\":\"历史对话\",\"fontClass\":\"kdfont kdfont-lishiduihua\"},{\"key\":\"kdfont_xinduihua\",\"name\":\"新对话\",\"fontClass\":\"kdfont kdfont-xinduihua\"},{\"key\":\"kdfont_yuyin2\",\"name\":\"语音\",\"fontClass\":\"kdfont kdfont-yuyin2\"},{\"key\":\"kdfont_fuzhi8\",\"name\":\"复制\",\"fontClass\":\"kdfont kdfont-fuzhi8\"},{\"key\":\"kdfont_charu3\",\"name\":\"插入\",\"fontClass\":\"kdfont kdfont-charu3\"},{\"key\":\"kdfont_daimapianduan\",\"name\":\"代码片段\",\"fontClass\":\"kdfont kdfont-daimapianduan\"},{\"key\":\"kdfont_daimajiedian\",\"name\":\"代码节点\",\"fontClass\":\"kdfont kdfont-daimajiedian\"},{\"key\":\"kdfont_daimabiaoqian\",\"name\":\"代码标签\",\"fontClass\":\"kdfont kdfont-daimabiaoqian\"},{\"key\":\"kdfont_shouxieqianming\",\"name\":\"手写签名\",\"fontClass\":\"kdfont kdfont-shouxieqianming\"},{\"key\":\"kdfont_qidongchengxu\",\"name\":\"启动程序\",\"fontClass\":\"kdfont kdfont-qidongchengxu\"},{\"key\":\"kdfont_daimadiaoshi\",\"name\":\"代码调试\",\"fontClass\":\"kdfont kdfont-daimadiaoshi\"},{\"key\":\"kdfont_danbutiaochu\",\"name\":\"单步跳出\",\"fontClass\":\"kdfont kdfont-danbutiaochu\"},{\"key\":\"kdfont_danbudiaoshi\",\"name\":\"单步调试\",\"fontClass\":\"kdfont kdfont-danbudiaoshi\"},{\"key\":\"kdfont_zhuguocheng\",\"name\":\"逐过程\",\"fontClass\":\"kdfont kdfont-zhuguocheng\"},{\"key\":\"kdfont_jixuduandian\",\"name\":\"继续断点\",\"fontClass\":\"kdfont kdfont-jixuduandian\"},{\"key\":\"kdfont_tingzhidiaoshi\",\"name\":\"停止调试\",\"fontClass\":\"kdfont kdfont-tingzhidiaoshi\"},{\"key\":\"kdfont_yingyong16\",\"name\":\"应用\",\"fontClass\":\"kdfont kdfont-yingyong16\"},{\"key\":\"kdfont_yifabu\",\"name\":\"已发布\",\"fontClass\":\"kdfont kdfont-yifabu\"},{\"key\":\"kdfont_daiceshi\",\"name\":\"带测试\",\"fontClass\":\"kdfont kdfont-daiceshi\"},{\"key\":\"kdfont_daifabu\",\"name\":\"待发布\",\"fontClass\":\"kdfont kdfont-daifabu\"},{\"key\":\"kdfont_moniceshi\",\"name\":\"模拟测试\",\"fontClass\":\"kdfont kdfont-moniceshi\"},{\"key\":\"kdfont_gaibianduixiang\",\"name\":\"改变对象\",\"fontClass\":\"kdfont kdfont-gaibianduixiang\"},{\"key\":\"kdfont_chuangjianduixiang\",\"name\":\"创建对象\",\"fontClass\":\"kdfont kdfont-chuangjianduixiang\"},{\"key\":\"kdfont_huoquduixiang\",\"name\":\"获取对象\",\"fontClass\":\"kdfont kdfont-huoquduixiang\"},{\"key\":\"kdfont_tijiaoduixiang\",\"name\":\"提交对象\",\"fontClass\":\"kdfont kdfont-tijiaoduixiang\"},{\"key\":\"kdfont_chuangjianbianliang\",\"name\":\"创建变量\",\"fontClass\":\"kdfont kdfont-chuangjianbianliang\"},{\"key\":\"kdfont_gaibianbianliang\",\"name\":\"改变变量\",\"fontClass\":\"kdfont kdfont-gaibianbianliang\"},{\"key\":\"kdfont_dakaiyemian\",\"name\":\"打开页面\",\"fontClass\":\"kdfont kdfont-dakaiyemian\"},{\"key\":\"kdfont_diaoyongyemiancaozuo\",\"name\":\"调用页面操作\",\"fontClass\":\"kdfont kdfont-diaoyongyemiancaozuo\"},{\"key\":\"kdfont_fasongtishi\",\"name\":\"发送提示\",\"fontClass\":\"kdfont kdfont-fasongtishi\"},{\"key\":\"kdfont_gaibianyemianyangshi\",\"name\":\"改变页面样式\",\"fontClass\":\"kdfont kdfont-gaibianyemianyangshi\"},{\"key\":\"kdfont_gengxinjiluziduan\",\"name\":\"更新记录字段 \",\"fontClass\":\"kdfont kdfont-gengxinjiluziduan\"},{\"key\":\"kdfont_gengxinyemianziduan\",\"name\":\"更新页面字段\",\"fontClass\":\"kdfont kdfont-gengxinyemianziduan\"},{\"key\":\"kdfont_guanbiyemian\",\"name\":\"关闭页面 \",\"fontClass\":\"kdfont kdfont-guanbiyemian\"},{\"key\":\"kdfont_huoqujilu\",\"name\":\"获取记录\",\"fontClass\":\"kdfont kdfont-huoqujilu\"},{\"key\":\"kdfont_shanchuduixiang\",\"name\":\"删除对象\",\"fontClass\":\"kdfont kdfont-shanchuduixiang\"},{\"key\":\"kdfont_xinzengjilufenlu\",\"name\":\"新增记录分录\",\"fontClass\":\"kdfont kdfont-xinzengjilufenlu\"},{\"key\":\"kdfont_xinzengyemianfenlu\",\"name\":\"新增页面分录\",\"fontClass\":\"kdfont kdfont-xinzengyemianfenlu\"},{\"key\":\"kdfont_shanchuyemianfenlu2\",\"name\":\"删除页面分录\",\"fontClass\":\"kdfont kdfont-shanchuyemianfenlu2\"},{\"key\":\"kdfont_yiyinyong\",\"name\":\"已引用\",\"fontClass\":\"kdfont kdfont-yiyinyong\"},{\"key\":\"kdfont_weiyinyong\",\"name\":\"未引用\",\"fontClass\":\"kdfont kdfont-weiyinyong\"},{\"key\":\"kdfont_shuxingzidanjuti\",\"name\":\"树型子单据体\",\"fontClass\":\"kdfont kdfont-shuxingzidanjuti\"},{\"key\":\"kdfont_fasongxiaoxi\",\"name\":\"发送消息\",\"fontClass\":\"kdfont kdfont-fasongxiaoxi\"},{\"key\":\"kdfont_daimabuquan\",\"name\":\"代码补全\",\"fontClass\":\"kdfont kdfont-daimabuquan\"},{\"key\":\"kdfont_youhuadaima\",\"name\":\"优化代码\",\"fontClass\":\"kdfont kdfont-youhuadaima\"},{\"key\":\"kdfont_daimajieshi\",\"name\":\"代码解释\",\"fontClass\":\"kdfont kdfont-daimajieshi\"},{\"key\":\"kdfont_shengchengzhushi\",\"name\":\"生成注释\",\"fontClass\":\"kdfont kdfont-shengchengzhushi\"},{\"key\":\"kdfont_shengchengdaima\",\"name\":\"生成代码\",\"fontClass\":\"kdfont kdfont-shengchengdaima\"},{\"key\":\"kdfont_daimabianji\",\"name\":\"代码编辑\",\"fontClass\":\"kdfont kdfont-daimabianji\"},{\"key\":\"kdfont_meixiaoshituntuliang\",\"name\":\"每小时吞吐量\",\"fontClass\":\"kdfont kdfont-meixiaoshituntuliang\"},{\"key\":\"kdfont_MQxiaoxishujuku\",\"name\":\"MQ消息数据库\",\"fontClass\":\"kdfont kdfont-MQxiaoxishujuku\"},{\"key\":\"kdfont_MQxingneng\",\"name\":\"MQ性能\",\"fontClass\":\"kdfont kdfont-MQxingneng\"},{\"key\":\"kdfont_meifenzhongruduishuliang\",\"name\":\"每分钟入队数量\",\"fontClass\":\"kdfont kdfont-meifenzhongruduishuliang\"},{\"key\":\"kdfont_meifenzhongchuduishuliang\",\"name\":\"每分钟出队数量\",\"fontClass\":\"kdfont kdfont-meifenzhongchuduishuliang\"},{\"key\":\"kdfont_bangzhuzhongxin2\",\"name\":\"帮助中心\",\"fontClass\":\"kdfont kdfont-bangzhuzhongxin2\"},{\"key\":\"kdfont_gitguanli\",\"name\":\"git管理\",\"fontClass\":\"kdfont kdfont-gitguanli\"},{\"key\":\"kdfont_git3\",\"name\":\"git\",\"fontClass\":\"kdfont kdfont-git3\"},{\"key\":\"kdfont_fabu6\",\"name\":\"发布\",\"fontClass\":\"kdfont kdfont-fabu6\"},{\"key\":\"kdfont_kuozhan3\",\"name\":\"扩展\",\"fontClass\":\"kdfont kdfont-kuozhan3\"},{\"key\":\"kdfont_yuanchang2\",\"name\":\"原厂\",\"fontClass\":\"kdfont kdfont-yuanchang2\"},{\"key\":\"kdfont_yijinyong1\",\"name\":\"已禁用1\",\"fontClass\":\"kdfont kdfont-yijinyong1\"},{\"key\":\"kdfont_yikuozhan\",\"name\":\"已扩展\",\"fontClass\":\"kdfont kdfont-yikuozhan\"},{\"key\":\"kdfont_kuozhan9\",\"name\":\"扩展1\",\"fontClass\":\"kdfont kdfont-kuozhan9\"},{\"key\":\"kdfont_bianji10\",\"name\":\"全员应用\",\"fontClass\":\"kdfont kdfont-bianji10\"},{\"key\":\"kdfont_bianji7\",\"name\":\"编辑\",\"fontClass\":\"kdfont kdfont-bianji7\"},{\"key\":\"kdfont_fenxiang5\",\"name\":\"分享\",\"fontClass\":\"kdfont kdfont-fenxiang5\"},{\"key\":\"kdfont_bianma\",\"name\":\"编码\",\"fontClass\":\"kdfont kdfont-bianma\"},{\"key\":\"kdfont_kuozhankaifaku\",\"name\":\"扩展开发库\",\"fontClass\":\"kdfont kdfont-kuozhankaifaku\"},{\"key\":\"kdfont_bianji8\",\"name\":\"表单\",\"fontClass\":\"kdfont kdfont-bianji8\"},{\"key\":\"kdfont_bianji9\",\"name\":\"编码\",\"fontClass\":\"kdfont kdfont-bianji9\"},{\"key\":\"kdfont_yijinyong2\",\"name\":\"已禁用2\",\"fontClass\":\"kdfont kdfont-yijinyong2\"},{\"key\":\"kdfont_guanlian2\",\"name\":\"关联\",\"fontClass\":\"kdfont kdfont-guanlian2\"},{\"key\":\"kdfont_shanchu2\",\"name\":\"删除\",\"fontClass\":\"kdfont kdfont-shanchu2\"},{\"key\":\"kdfont_shoucang\",\"name\":\"收藏\",\"fontClass\":\"kdfont kdfont-shoucang\"},{\"key\":\"kdfont_shoucangxuanzhong\",\"name\":\"收藏选中\",\"fontClass\":\"kdfont kdfont-shoucangxuanzhong\"},{\"key\":\"kdfont_xianshikongjian2\",\"name\":\"显示控件\",\"fontClass\":\"kdfont kdfont-xianshikongjian2\"},{\"key\":\"kdfont_yincangkongjian2\",\"name\":\"隐藏控件\",\"fontClass\":\"kdfont kdfont-yincangkongjian2\"},{\"key\":\"kdfont_yingyongquanxianshezhi\",\"name\":\"应用权限设置\",\"fontClass\":\"kdfont kdfont-yingyongquanxianshezhi\"},{\"key\":\"kdfont_danjusuodingliebiao\",\"name\":\"单据锁定列表\",\"fontClass\":\"kdfont kdfont-danjusuodingliebiao\"},{\"key\":\"kdfont_biaozhundanju\",\"name\":\"标准单据\",\"fontClass\":\"kdfont kdfont-biaozhundanju\"},{\"key\":\"kdfont_daizuzhidanju\",\"name\":\"带组织单据\",\"fontClass\":\"kdfont kdfont-daizuzhidanju\"},{\"key\":\"kdfont_kongbaidanju\",\"name\":\"空白单据\",\"fontClass\":\"kdfont kdfont-kongbaidanju\"},{\"key\":\"kdfont_baoxiaoshenqingdan\",\"name\":\"报销申请单\",\"fontClass\":\"kdfont kdfont-baoxiaoshenqingdan\"},{\"key\":\"kdfont_biaozhunjichuziliao\",\"name\":\"标准基础资料\",\"fontClass\":\"kdfont kdfont-biaozhunjichuziliao\"},{\"key\":\"kdfont_biaodan2\",\"name\":\"表单\",\"fontClass\":\"kdfont kdfont-biaodan2\"},{\"key\":\"kdfont_daizuzhidejichuziliao\",\"name\":\"带组织的基础资料\",\"fontClass\":\"kdfont kdfont-daizuzhidejichuziliao\"},{\"key\":\"kdfont_danjucanshu\",\"name\":\"单据参数\",\"fontClass\":\"kdfont kdfont-danjucanshu\"},{\"key\":\"kdfont_danjuleixingcanshu\",\"name\":\"单据类型参数\",\"fontClass\":\"kdfont kdfont-danjuleixingcanshu\"},{\"key\":\"kdfont_jisuanziduan\",\"name\":\"计算字段\",\"fontClass\":\"kdfont kdfont-jisuanziduan\"},{\"key\":\"kdfont_fuzhiziduan\",\"name\":\"复制字段\",\"fontClass\":\"kdfont kdfont-fuzhiziduan\"},{\"key\":\"kdfont_gerenxinxi\",\"name\":\"个人信息\",\"fontClass\":\"kdfont kdfont-gerenxinxi\"},{\"key\":\"kdfont_fenzujichuziliao\",\"name\":\"分组基础资料\",\"fontClass\":\"kdfont kdfont-fenzujichuziliao\"},{\"key\":\"kdfont_fenzudaizuzhidejichuziliao\",\"name\":\"分组带组织的基础资料\",\"fontClass\":\"kdfont kdfont-fenzudaizuzhidejichuziliao\"},{\"key\":\"kdfont_fenzubaobiao\",\"name\":\"分组报表\",\"fontClass\":\"kdfont kdfont-fenzubaobiao\"},{\"key\":\"kdfont_danweiguanlianziduan\",\"name\":\"单位关联字段\",\"fontClass\":\"kdfont kdfont-danweiguanlianziduan\"},{\"key\":\"kdfont_jiesuokongjian\",\"name\":\"解锁控件\",\"fontClass\":\"kdfont kdfont-jiesuokongjian\"},{\"key\":\"kdfont_kapian3\",\"name\":\"卡片\",\"fontClass\":\"kdfont kdfont-kapian3\"},{\"key\":\"kdfont_kongbaijichuziliao\",\"name\":\"空白基础资料\",\"fontClass\":\"kdfont kdfont-kongbaijichuziliao\"},{\"key\":\"kdfont_kongbaikapian\",\"name\":\"空白卡片\",\"fontClass\":\"kdfont kdfont-kongbaikapian\"},{\"key\":\"kdfont_kongbaiyemian\",\"name\":\"空白页面\",\"fontClass\":\"kdfont kdfont-kongbaiyemian\"},{\"key\":\"kdfont_liebiao17\",\"name\":\"列表\",\"fontClass\":\"kdfont kdfont-liebiao17\"},{\"key\":\"kdfont_liebiaoxuanxiangcanshu\",\"name\":\"列表选项参数\",\"fontClass\":\"kdfont kdfont-liebiaoxuanxiangcanshu\"},{\"key\":\"kdfont_shuxingdaizuzhidejichuziliao\",\"name\":\"树形带组织的基础资料\",\"fontClass\":\"kdfont kdfont-shuxingdaizuzhidejichuziliao\"},{\"key\":\"kdfont_qingchuziduan\",\"name\":\"清除字段\",\"fontClass\":\"kdfont kdfont-qingchuziduan\"},{\"key\":\"kdfont_qingliangkapian\",\"name\":\"轻量卡片\",\"fontClass\":\"kdfont kdfont-qingliangkapian\"},{\"key\":\"kdfont_qingfenxibaobiao\",\"name\":\"轻分析报表\",\"fontClass\":\"kdfont kdfont-qingfenxibaobiao\"},{\"key\":\"kdfont_putongbaobiao\",\"name\":\"普通报表\",\"fontClass\":\"kdfont kdfont-putongbaobiao\"},{\"key\":\"kdfont_neirongdanchuang\",\"name\":\"内容弹窗\",\"fontClass\":\"kdfont kdfont-neirongdanchuang\"},{\"key\":\"kdfont_menhu\",\"name\":\"门户\",\"fontClass\":\"kdfont kdfont-menhu\"},{\"key\":\"kdfont_shuxingjichuziliao\",\"name\":\"树形基础资料\",\"fontClass\":\"kdfont kdfont-shuxingjichuziliao\"},{\"key\":\"kdfont_suodingkongjian\",\"name\":\"锁定控件\",\"fontClass\":\"kdfont kdfont-suodingkongjian\"},{\"key\":\"kdfont_tongyongchaxunbaobiao\",\"name\":\"通用查询报表\",\"fontClass\":\"kdfont kdfont-tongyongchaxunbaobiao\"},{\"key\":\"kdfont_tongyongluru\",\"name\":\"通用录入\",\"fontClass\":\"kdfont kdfont-tongyongluru\"},{\"key\":\"kdfont_xianshikongjian\",\"name\":\"显示控件\",\"fontClass\":\"kdfont kdfont-xianshikongjian\"},{\"key\":\"kdfont_xiangdao2\",\"name\":\"向导\",\"fontClass\":\"kdfont kdfont-xiangdao2\"},{\"key\":\"kdfont_xingzhuangjiehe\",\"name\":\"形状结合\",\"fontClass\":\"kdfont kdfont-xingzhuangjiehe\"},{\"key\":\"kdfont_yincangkongjian\",\"name\":\"隐藏控件\",\"fontClass\":\"kdfont kdfont-yincangkongjian\"},{\"key\":\"kdfont_yingyongcanshu\",\"name\":\"应用参数\",\"fontClass\":\"kdfont kdfont-yingyongcanshu\"},{\"key\":\"kdfont_yingyongshouye-zhage\",\"name\":\"应用首页-栅格\",\"fontClass\":\"kdfont kdfont-yingyongshouye-zhage\"},{\"key\":\"kdfont_yonghuxuanxiangcanshu\",\"name\":\"用户选项参数\",\"fontClass\":\"kdfont kdfont-yonghuxuanxiangcanshu\"},{\"key\":\"kdfont_yonghuzuzhicanshu\",\"name\":\"用户组织参数\",\"fontClass\":\"kdfont kdfont-yonghuzuzhicanshu\"},{\"key\":\"kdfont_yunchanpincanshu\",\"name\":\"云产品参数\",\"fontClass\":\"kdfont kdfont-yunchanpincanshu\"},{\"key\":\"kdfont_zhushi\",\"name\":\"注释\",\"fontClass\":\"kdfont kdfont-zhushi\"},{\"key\":\"kdfont_hot\",\"name\":\"hot\",\"fontClass\":\"kdfont kdfont-hot\"},{\"key\":\"kdfont_tijiaoshichayibijiaohuise\",\"name\":\"提交时差异比较\",\"fontClass\":\"kdfont kdfont-tijiaoshichayibijiaohuise\"},{\"key\":\"kdfont_disanfangyingyong\",\"name\":\"第三方应用\",\"fontClass\":\"kdfont kdfont-disanfangyingyong\"},{\"key\":\"kdfont_yonglizhihanghuise\",\"name\":\"用例执行\",\"fontClass\":\"kdfont kdfont-yonglizhihanghuise\"},{\"key\":\"kdfont_fenxi1\",\"name\":\"分析\",\"fontClass\":\"kdfont kdfont-fenxi1\"},{\"key\":\"kdfont_fuzhi\",\"name\":\"复制\",\"fontClass\":\"kdfont kdfont-fuzhi\"},{\"key\":\"kdfont_diannao\",\"name\":\"电脑\",\"fontClass\":\"kdfont kdfont-diannao\"},{\"key\":\"kdfont_buju\",\"name\":\"布局\",\"fontClass\":\"kdfont kdfont-buju\"},{\"key\":\"kdfont_fenxifangan\",\"name\":\"分析方案\",\"fontClass\":\"kdfont kdfont-fenxifangan\"},{\"key\":\"kdfont_tijiaoSVNshiwenjianchongtujiejue\",\"name\":\"提交SVN时文件冲突解决\",\"fontClass\":\"kdfont kdfont-tijiaoSVNshiwenjianchongtujiejue\"},{\"key\":\"kdfont_yanzheng\",\"name\":\"验证\",\"fontClass\":\"kdfont kdfont-yanzheng\"},{\"key\":\"kdfont_xiangqing\",\"name\":\"详情\",\"fontClass\":\"kdfont kdfont-xiangqing\"},{\"key\":\"kdfont_SVNguanlihuise\",\"name\":\"SVN管理\",\"fontClass\":\"kdfont kdfont-SVNguanlihuise\"},{\"key\":\"kdfont_shouji\",\"name\":\"手机\",\"fontClass\":\"kdfont kdfont-shouji\"},{\"key\":\"kdfont_fabu\",\"name\":\"发布\",\"fontClass\":\"kdfont kdfont-fabu\"},{\"key\":\"kdfont_hangliezhihuan\",\"name\":\"行列置换\",\"fontClass\":\"kdfont kdfont-hangliezhihuan\"},{\"key\":\"kdfont_kaishizhihang\",\"name\":\"开始执行\",\"fontClass\":\"kdfont kdfont-kaishizhihang\"},{\"key\":\"kdfont_zanhuanzhihang\",\"name\":\"暂缓执行\",\"fontClass\":\"kdfont kdfont-zanhuanzhihang\"},{\"key\":\"kdfont_xiangxia\",\"name\":\"向下\",\"fontClass\":\"kdfont kdfont-xiangxia\"},{\"key\":\"kdfont_xiangshang\",\"name\":\"向上\",\"fontClass\":\"kdfont kdfont-xiangshang\"},{\"key\":\"kdfont_chakanceshijieguohuise\",\"name\":\"查看测试结果\",\"fontClass\":\"kdfont kdfont-chakanceshijieguohuise\"},{\"key\":\"kdfont_congmouyiSVNlishibanbengengxin\",\"name\":\"从某一SVN历史版本更新\",\"fontClass\":\"kdfont kdfont-congmouyiSVNlishibanbengengxin\"},{\"key\":\"kdfont_qianru\",\"name\":\"签入\",\"fontClass\":\"kdfont kdfont-qianru\"},{\"key\":\"kdfont_lishijiluchayibijiaohuise\",\"name\":\"历史记录差异比较 灰色\",\"fontClass\":\"kdfont kdfont-lishijiluchayibijiaohuise\"},{\"key\":\"kdfont_liulanSVNziyuanku\",\"name\":\"浏览SVN资源库\",\"fontClass\":\"kdfont kdfont-liulanSVNziyuanku\"},{\"key\":\"kdfont_jiesuo_xian\",\"name\":\"解锁\",\"fontClass\":\"kdfont kdfont-jiesuo_xian\"},{\"key\":\"kdfont_suoding_xian\",\"name\":\"锁定\",\"fontClass\":\"kdfont kdfont-suoding_xian\"},{\"key\":\"kdfont_tijiaolishijilushituhuise\",\"name\":\"提交历史记录视图\",\"fontClass\":\"kdfont kdfont-tijiaolishijilushituhuise\"},{\"key\":\"kdfont_yijiaoyingyonghuise\",\"name\":\"移交应用\",\"fontClass\":\"kdfont kdfont-yijiaoyingyonghuise\"},{\"key\":\"kdfont_congSVNgengxinyuanshuju\",\"name\":\"从SVN更新元数据\",\"fontClass\":\"kdfont kdfont-congSVNgengxinyuanshuju\"},{\"key\":\"kdfont_SVNlishibanbenjiandebijiao\",\"name\":\"SVN历史版本间的比较\",\"fontClass\":\"kdfont kdfont-SVNlishibanbenjiandebijiao\"},{\"key\":\"kdfont_SVNyuanshujuqianchu\",\"name\":\"SVN元数据签出\",\"fontClass\":\"kdfont kdfont-SVNyuanshujuqianchu\"},{\"key\":\"kdfont_jicheng\",\"name\":\"继承\",\"fontClass\":\"kdfont kdfont-jicheng\"},{\"key\":\"kdfont_kuozhan\",\"name\":\"扩展\",\"fontClass\":\"kdfont kdfont-kuozhan\"},{\"key\":\"kdfont_xianshidefuben\",\"name\":\"显示\",\"fontClass\":\"kdfont kdfont-xianshidefuben\"},{\"key\":\"kdfont_yincang\",\"name\":\"隐藏\",\"fontClass\":\"kdfont kdfont-yincang\"},{\"key\":\"kdfont_yuansheng\",\"name\":\"原生\",\"fontClass\":\"kdfont kdfont-yuansheng\"}]}]');\n\n//# sourceURL=webpack://bos-platform/./src/component/web/base/kdfont.json?");

/***/ })

}]);