/*
 * 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([[5656],{

/***/ "../../node_modules/@kdcloudjs/kdesign/es/_utils/KeyCode.js":
/*!******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/_utils/KeyCode.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/**\n * @ignore\n * some key-codes definition and utils from closure-library\n * @author yiminghe@gmail.com\n */\nvar KeyCode = {\n  /**\n   * MAC_ENTER\n   */\n  MAC_ENTER: 3,\n  /**\n   * BACKSPACE\n   */\n  BACKSPACE: 8,\n  /**\n   * TAB\n   */\n  TAB: 9,\n  /**\n   * NUMLOCK on FF/Safari Mac\n   */\n  NUM_CENTER: 12,\n  /**\n   * ENTER\n   */\n  ENTER: 13,\n  /**\n   * SHIFT\n   */\n  SHIFT: 16,\n  /**\n   * CTRL\n   */\n  CTRL: 17,\n  /**\n   * ALT\n   */\n  ALT: 18,\n  /**\n   * PAUSE\n   */\n  PAUSE: 19,\n  /**\n   * CAPS_LOCK\n   */\n  CAPS_LOCK: 20,\n  /**\n   * ESC\n   */\n  ESC: 27,\n  /**\n   * SPACE\n   */\n  SPACE: 32,\n  /**\n   * PAGE_UP\n   */\n  PAGE_UP: 33,\n  /**\n   * PAGE_DOWN\n   */\n  PAGE_DOWN: 34,\n  /**\n   * END\n   */\n  END: 35,\n  /**\n   * HOME\n   */\n  HOME: 36,\n  /**\n   * LEFT\n   */\n  LEFT: 37,\n  /**\n   * UP\n   */\n  UP: 38,\n  /**\n   * RIGHT\n   */\n  RIGHT: 39,\n  /**\n   * DOWN\n   */\n  DOWN: 40,\n  /**\n   * PRINT_SCREEN\n   */\n  PRINT_SCREEN: 44,\n  /**\n   * INSERT\n   */\n  INSERT: 45,\n  /**\n   * DELETE\n   */\n  DELETE: 46,\n  /**\n   * ZERO\n   */\n  ZERO: 48,\n  /**\n   * ONE\n   */\n  ONE: 49,\n  /**\n   * TWO\n   */\n  TWO: 50,\n  /**\n   * THREE\n   */\n  THREE: 51,\n  /**\n   * FOUR\n   */\n  FOUR: 52,\n  /**\n   * FIVE\n   */\n  FIVE: 53,\n  /**\n   * SIX\n   */\n  SIX: 54,\n  /**\n   * SEVEN\n   */\n  SEVEN: 55,\n  /**\n   * EIGHT\n   */\n  EIGHT: 56,\n  /**\n   * NINE\n   */\n  NINE: 57,\n  /**\n   * QUESTION_MARK\n   */\n  QUESTION_MARK: 63,\n  /**\n   * A\n   */\n  A: 65,\n  /**\n   * B\n   */\n  B: 66,\n  /**\n   * C\n   */\n  C: 67,\n  /**\n   * D\n   */\n  D: 68,\n  /**\n   * E\n   */\n  E: 69,\n  /**\n   * F\n   */\n  F: 70,\n  /**\n   * G\n   */\n  G: 71,\n  /**\n   * H\n   */\n  H: 72,\n  /**\n   * I\n   */\n  I: 73,\n  /**\n   * J\n   */\n  J: 74,\n  /**\n   * K\n   */\n  K: 75,\n  /**\n   * L\n   */\n  L: 76,\n  /**\n   * M\n   */\n  M: 77,\n  /**\n   * N\n   */\n  N: 78,\n  /**\n   * O\n   */\n  O: 79,\n  /**\n   * P\n   */\n  P: 80,\n  /**\n   * Q\n   */\n  Q: 81,\n  /**\n   * R\n   */\n  R: 82,\n  /**\n   * S\n   */\n  S: 83,\n  /**\n   * T\n   */\n  T: 84,\n  /**\n   * U\n   */\n  U: 85,\n  /**\n   * V\n   */\n  V: 86,\n  /**\n   * W\n   */\n  W: 87,\n  /**\n   * X\n   */\n  X: 88,\n  /**\n   * Y\n   */\n  Y: 89,\n  /**\n   * Z\n   */\n  Z: 90,\n  /**\n   * META\n   */\n  META: 91,\n  /**\n   * WIN_KEY_RIGHT\n   */\n  WIN_KEY_RIGHT: 92,\n  /**\n   * CONTEXT_MENU\n   */\n  CONTEXT_MENU: 93,\n  /**\n   * NUM_ZERO\n   */\n  NUM_ZERO: 96,\n  /**\n   * NUM_ONE\n   */\n  NUM_ONE: 97,\n  /**\n   * NUM_TWO\n   */\n  NUM_TWO: 98,\n  /**\n   * NUM_THREE\n   */\n  NUM_THREE: 99,\n  /**\n   * NUM_FOUR\n   */\n  NUM_FOUR: 100,\n  /**\n   * NUM_FIVE\n   */\n  NUM_FIVE: 101,\n  /**\n   * NUM_SIX\n   */\n  NUM_SIX: 102,\n  /**\n   * NUM_SEVEN\n   */\n  NUM_SEVEN: 103,\n  /**\n   * NUM_EIGHT\n   */\n  NUM_EIGHT: 104,\n  /**\n   * NUM_NINE\n   */\n  NUM_NINE: 105,\n  /**\n   * NUM_MULTIPLY\n   */\n  NUM_MULTIPLY: 106,\n  /**\n   * NUM_PLUS\n   */\n  NUM_PLUS: 107,\n  /**\n   * NUM_MINUS\n   */\n  NUM_MINUS: 109,\n  /**\n   * NUM_PERIOD\n   */\n  NUM_PERIOD: 110,\n  /**\n   * NUM_DIVISION\n   */\n  NUM_DIVISION: 111,\n  /**\n   * F1\n   */\n  F1: 112,\n  /**\n   * F2\n   */\n  F2: 113,\n  /**\n   * F3\n   */\n  F3: 114,\n  /**\n   * F4\n   */\n  F4: 115,\n  /**\n   * F5\n   */\n  F5: 116,\n  /**\n   * F6\n   */\n  F6: 117,\n  /**\n   * F7\n   */\n  F7: 118,\n  /**\n   * F8\n   */\n  F8: 119,\n  /**\n   * F9\n   */\n  F9: 120,\n  /**\n   * F10\n   */\n  F10: 121,\n  /**\n   * F11\n   */\n  F11: 122,\n  /**\n   * F12\n   */\n  F12: 123,\n  /**\n   * NUMLOCK\n   */\n  NUMLOCK: 144,\n  /**\n   * SEMICOLON\n   */\n  SEMICOLON: 186,\n  /**\n   * DASH\n   */\n  DASH: 189,\n  /**\n   * EQUALS\n   */\n  EQUALS: 187,\n  /**\n   * COMMA\n   */\n  COMMA: 188,\n  /**\n   * PERIOD\n   */\n  PERIOD: 190,\n  /**\n   * SLASH\n   */\n  SLASH: 191,\n  /**\n   * APOSTROPHE\n   */\n  APOSTROPHE: 192,\n  /**\n   * SINGLE_QUOTE\n   */\n  SINGLE_QUOTE: 222,\n  /**\n   * OPEN_SQUARE_BRACKET\n   */\n  OPEN_SQUARE_BRACKET: 219,\n  /**\n   * BACKSLASH\n   */\n  BACKSLASH: 220,\n  /**\n   * CLOSE_SQUARE_BRACKET\n   */\n  CLOSE_SQUARE_BRACKET: 221,\n  /**\n   * WIN_KEY\n   */\n  WIN_KEY: 224,\n  /**\n   * MAC_FF_META\n   */\n  MAC_FF_META: 224,\n  /**\n   * WIN_IME\n   */\n  WIN_IME: 229,\n  // ======================== Function ========================\n  /**\n   * whether text and modified key is entered at the same time.\n   */\n  isTextModifyingKeyEvent: function isTextModifyingKeyEvent(e) {\n    var keyCode = e.keyCode;\n    if (e.altKey && !e.ctrlKey || e.metaKey ||\n    // Function keys don't generate text\n    keyCode >= KeyCode.F1 && keyCode <= KeyCode.F12) {\n      return false;\n    }\n    // The following keys are quite harmless, even in combination with\n    // CTRL, ALT or SHIFT.\n    switch (keyCode) {\n      case KeyCode.ALT:\n      case KeyCode.CAPS_LOCK:\n      case KeyCode.CONTEXT_MENU:\n      case KeyCode.CTRL:\n      case KeyCode.DOWN:\n      case KeyCode.END:\n      case KeyCode.ESC:\n      case KeyCode.HOME:\n      case KeyCode.INSERT:\n      case KeyCode.LEFT:\n      case KeyCode.MAC_FF_META:\n      case KeyCode.META:\n      case KeyCode.NUMLOCK:\n      case KeyCode.NUM_CENTER:\n      case KeyCode.PAGE_DOWN:\n      case KeyCode.PAGE_UP:\n      case KeyCode.PAUSE:\n      case KeyCode.PRINT_SCREEN:\n      case KeyCode.RIGHT:\n      case KeyCode.SHIFT:\n      case KeyCode.UP:\n      case KeyCode.WIN_KEY:\n      case KeyCode.WIN_KEY_RIGHT:\n        return false;\n      default:\n        return true;\n    }\n  },\n  /**\n   * whether character is entered.\n   */\n  isCharacterKey: function isCharacterKey(keyCode) {\n    if (keyCode >= KeyCode.ZERO && keyCode <= KeyCode.NINE) {\n      return true;\n    }\n    if (keyCode >= KeyCode.NUM_ZERO && keyCode <= KeyCode.NUM_MULTIPLY) {\n      return true;\n    }\n    if (keyCode >= KeyCode.A && keyCode <= KeyCode.Z) {\n      return true;\n    }\n    // Safari sends zero key code for non-latin characters.\n    if (window.navigator.userAgent.indexOf('WebKit') !== -1 && keyCode === 0) {\n      return true;\n    }\n    switch (keyCode) {\n      case KeyCode.SPACE:\n      case KeyCode.QUESTION_MARK:\n      case KeyCode.NUM_PLUS:\n      case KeyCode.NUM_MINUS:\n      case KeyCode.NUM_PERIOD:\n      case KeyCode.NUM_DIVISION:\n      case KeyCode.SEMICOLON:\n      case KeyCode.DASH:\n      case KeyCode.EQUALS:\n      case KeyCode.COMMA:\n      case KeyCode.PERIOD:\n      case KeyCode.SLASH:\n      case KeyCode.APOSTROPHE:\n      case KeyCode.SINGLE_QUOTE:\n      case KeyCode.OPEN_SQUARE_BRACKET:\n      case KeyCode.BACKSLASH:\n      case KeyCode.CLOSE_SQUARE_BRACKET:\n        return true;\n      default:\n        return false;\n    }\n  }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (KeyCode);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/_utils/KeyCode.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/_utils/arrayUtil.js":
/*!********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/_utils/arrayUtil.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   getStringToArray: function() { return /* binding */ getStringToArray; },\n/* harmony export */   isArrayValueRepeat: function() { return /* binding */ isArrayValueRepeat; }\n/* harmony export */ });\n/**\n * 检查数组value的值是否唯一\n * @param value 需要检查值是否唯一的数组\n */\nvar isArrayValueRepeat = function isArrayValueRepeat(value) {\n  var hash = {};\n  for (var i in value) {\n    if (hash[value[i]]) {\n      return true;\n    }\n    hash[value[i]] = true;\n  }\n  return false;\n};\n/**\n * 将字符串转为数组\n * @param { string } val - 字符串\n */\nvar getStringToArray = function getStringToArray(val) {\n  if (val) {\n    var result = [];\n    val.split(' ').forEach(function (item) {\n      if (item !== '') {\n        result.push(item);\n      }\n    });\n    return result;\n  }\n  return [];\n};\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/_utils/arrayUtil.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0__);\n\nvar warned = {};\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(valid, component, message) {\n  if ( true && valid && !warned[message]) {\n    var _context;\n    warned[message] = true;\n    console.warn(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context = \"Warning: [kdesign]-\".concat(component, \": \")).call(_context, message));\n  }\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/_utils/domUtil.js":
/*!******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/_utils/domUtil.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   scrollToDirectory: function() { return /* binding */ scrollToDirectory; }\n/* harmony export */ });\n/* harmony import */ var dom_scroll_into_view__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! dom-scroll-into-view */ \"../../node_modules/@kdcloudjs/kdesign/node_modules/dom-scroll-into-view/dist-web/index.js\");\n\nvar scrollToDirectory = function scrollToDirectory(ref) {\n  var directoryElement = ref.current;\n  if (directoryElement) {\n    var rect = ref.current.getBoundingClientRect();\n    var parent = ref.current.parentElement;\n    var parentRect = parent.getBoundingClientRect();\n    var relativeTop = rect.top - parentRect.top;\n    var relativeBottom = rect.bottom - parentRect.top;\n    var isHide = relativeTop < 0 || relativeBottom > parent.clientHeight;\n    if (isHide) {\n      (0,dom_scroll_into_view__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(ref.current, ref.current.parentElement);\n    }\n  }\n};\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/_utils/domUtil.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/_utils/formatUtil.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/_utils/formatUtil.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   formatEditNumber: function() { return /* binding */ formatEditNumber; },\n/* harmony export */   formatNumber: function() { return /* binding */ formatNumber; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_parse_float__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/number/parse-float */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/number/parse-float.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_parse_float__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_number_parse_float__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/number/is-nan */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/number/is-nan.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _numberUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./numberUtil */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/numberUtil.js\");\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n/**\n * [数值类型格式化]\n * @param  {[type]}  num                              [待格式化的数字]\n * @param  {String}  mask                             [数值掩码\n * 0：必须输入数字（0—9）\n * 9：可选择输入数字（0—9）或空格\n * #：可选择输入数字（0—9） 递归\n * .: 小数点\n * ,: 千位符\n * %: 对最终值除以100处理\n * %%: 对最终值不做处理\n * //A: [a-zA-Z0-9]\n * //S: [a-zA-Z]\n * //&：必须输入任一字符或空格\n * //C：可选择输入任一字符或空格\n * $: 货币\n * ]\n * @param  {Boolean} zeroShow                         [为零显示]\n * @param  {[type]}  decimalLength                    [小数精度的位数]\n * @param  {Boolean} showDecimalTailZero              [是否显示尾部零]\n * @return                                            [格式化后的数值]\n */\nfunction formatNumber(num, formatParams) {\n  var _context;\n  var _formatParams$mask = formatParams.mask,\n    mask = _formatParams$mask === void 0 ? '' : _formatParams$mask,\n    _formatParams$zeroSho = formatParams.zeroShow,\n    zeroShow = _formatParams$zeroSho === void 0 ? false : _formatParams$zeroSho,\n    decimalLength = formatParams.decimalLength,\n    _formatParams$showDec = formatParams.showDecimalTailZero,\n    showDecimalTailZero = _formatParams$showDec === void 0 ? false : _formatParams$showDec,\n    isRound = formatParams.isRound,\n    param = __rest(formatParams, [\"mask\", \"zeroShow\", \"decimalLength\", \"showDecimalTailZero\", \"isRound\"]);\n  if (decimalLength !== undefined && (decimalLength < 0 || decimalLength > 100)) return num + '';\n  if (num === undefined || num === null) num = '';\n  var numInfo = {\n    numStr: '',\n    intStr: '',\n    decimalStr: ''\n  };\n  if (typeof num === 'number') {\n    numInfo.numStr = num + '';\n  } else {\n    numInfo.numStr = num.replace(/,/g, '');\n    if ((0,_numberUtil__WEBPACK_IMPORTED_MODULE_5__.isExp)(numInfo.numStr)) {\n      numInfo.numStr = (0,_numberUtil__WEBPACK_IMPORTED_MODULE_5__.exponentToFloat)(numInfo.numStr);\n    }\n  }\n  var floatNum = _babel_runtime_corejs3_core_js_stable_number_parse_float__WEBPACK_IMPORTED_MODULE_1___default()(numInfo.numStr);\n  // 非纯数字不处理，直接返回''\n  // if (Number.isNaN(floatNum)) return ''\n  if (_babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_2___default()(Number(num))) {\n    // throw new Error('toFixed() number argument must be a valid number')\n    return num + '';\n  }\n  // 为零不显示，且等于零,直接返回''\n  if (!zeroShow && Number(num) === 0) return '';\n  var maskInfo = analyzMask(mask);\n  if (maskInfo.errorMask) return numInfo.numStr;\n  var isIncludePercent = _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(_context = numInfo.numStr).call(_context, '%');\n  if (maskInfo.percent) {\n    if (!isIncludePercent) {\n      var _context2;\n      var point = numInfo.numStr.indexOf('.');\n      var length = numInfo.numStr.length;\n      if (point < 0) {\n        numInfo.numStr = numInfo.numStr + '00';\n      } else if (point === length - 1) {\n        numInfo.numStr = numInfo.numStr.replace('.', '') + '00';\n      } else if (point === length - 2) {\n        numInfo.numStr = numInfo.numStr.replace('.', '') + '0';\n      } else {\n        var numStr = numInfo.numStr.replace('.', '');\n        numInfo.numStr = numStr.substring(0, point + 2) + '.' + numStr.substring(point + 2);\n      }\n      // 去掉数字前面的零\n      numInfo.numStr = numInfo.numStr.replace(/^0+/, '');\n      if (numInfo.numStr === '.') numInfo.numStr = '0';\n      if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(_context2 = numInfo.numStr).call(_context2, '-')) {\n        // 负数的情况 去掉前面的0\n        numInfo.numStr = numInfo.numStr.replace('-', '');\n        numInfo.numStr = numInfo.numStr.replace(/^0+/, '');\n        numInfo.numStr = '-' + numInfo.numStr;\n      }\n      floatNum = floatNum * 100;\n    }\n  }\n  var isNegativeNumber = floatNum < 0; // 是否是负数\n  if (isNegativeNumber) {\n    var _context3;\n    floatNum = Math.abs(floatNum);\n    numInfo.numStr = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = numInfo.numStr).call(_context3, 1); // 去除第一个负号\n  }\n\n  var numStrArr = numInfo.numStr.split('.');\n  numInfo.intStr = numStrArr[0];\n  numInfo.decimalStr = numStrArr[1] || '';\n  if (!showDecimalTailZero) {\n    numInfo = cutTailZero(numInfo);\n  }\n  // 小数部分处理。暂时不考虑其他。只校验位数和尾数补零问题,整数\n  if (decimalLength !== undefined && decimalLength >= 0) {\n    // floatNum = Number.parseFloat(numInfo.numStr) // 当整数位数大于16位时，parseFloat会丢掉末尾的值,有问题！！！\n    numInfo.numStr = (0,_numberUtil__WEBPACK_IMPORTED_MODULE_5__.toFixed)(numInfo.numStr, decimalLength, isRound);\n    numStrArr = numInfo.numStr.split('.');\n    // 去除整数部分多余的 0\n    var intStr = numStrArr[0].replace(/^0+/, '');\n    numInfo.intStr = intStr === '' ? '0' : intStr;\n    numInfo.decimalStr = numStrArr[1] || '';\n    if (!showDecimalTailZero) {\n      numInfo = cutTailZero(numInfo);\n    }\n  }\n  // 整数部分格式化\n  var formatValue = intFormatMask(maskInfo.intMask, numInfo.intStr);\n  var currencySign = maskInfo.currencySign ? '$' : '';\n  if (param.symbol) {\n    currencySign = param.symbol;\n  }\n  return currencySign + (isNegativeNumber ? '-' : '') + (formatValue || numInfo.intStr || '0') + (numInfo.decimalStr.length > 0 ? '.' : '') + numInfo.decimalStr + (maskInfo.percent ? '%' : '');\n}\n/**\n * 格式化数字字段编辑态的值\n * 不支持掩码的格式化信息\n * @param {*} num\n * @param {*} param\n */\nfunction formatEditNumber(num, _ref) {\n  var _ref$zeroShow = _ref.zeroShow,\n    zeroShow = _ref$zeroShow === void 0 ? false : _ref$zeroShow,\n    decimalLength = _ref.decimalLength,\n    _ref$showDecimalTailZ = _ref.showDecimalTailZero,\n    showDecimalTailZero = _ref$showDecimalTailZ === void 0 ? false : _ref$showDecimalTailZ,\n    _ref$roundMethod = _ref.roundMethod,\n    roundMethod = _ref$roundMethod === void 0 ? '0' : _ref$roundMethod,\n    symbol = _ref.symbol;\n  // 如果精度超过100，直接返回数值\n  if (decimalLength && (decimalLength < 0 || decimalLength > 100)) return num + '';\n  if (num === undefined || num === null) num = '';\n  var numInfo = {\n    numStr: '',\n    intStr: '',\n    decimalStr: ''\n  };\n  if (zeroShow && num === '') return '';\n  if (typeof num === 'number') {\n    numInfo.numStr = num + '';\n  } else {\n    numInfo.numStr = num.replace(/,/g, '');\n    if ((0,_numberUtil__WEBPACK_IMPORTED_MODULE_5__.isExp)(numInfo.numStr)) {\n      numInfo.numStr = (0,_numberUtil__WEBPACK_IMPORTED_MODULE_5__.exponentToFloat)(numInfo.numStr);\n    }\n    if (symbol && numInfo.numStr.indexOf(symbol) === 0) {\n      numInfo.numStr = numInfo.numStr.replace(symbol, '');\n    }\n  }\n  var floatNum = _babel_runtime_corejs3_core_js_stable_number_parse_float__WEBPACK_IMPORTED_MODULE_1___default()(numInfo.numStr);\n  // 非纯数字不处理，直接返回''\n  if (_babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_2___default()(floatNum)) return '';\n  // 为零不显示，且等于零,直接返回''\n  if (!zeroShow && floatNum === 0) return '';\n  var isNegativeNumber = floatNum < 0; // 是否是负数\n  if (isNegativeNumber) {\n    var _context4;\n    floatNum = Math.abs(floatNum);\n    numInfo.numStr = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default()(_context4 = numInfo.numStr).call(_context4, 1); // 去除第一个负号\n  }\n\n  var numStrArr = numInfo.numStr.split('.');\n  numInfo.intStr = numStrArr[0];\n  numInfo.decimalStr = numStrArr[1] || '';\n  if (!showDecimalTailZero) {\n    numInfo = cutTailZero(numInfo);\n  }\n  // 小数部分处理。暂时不考虑其他。只校验位数和尾数补零问题,整数\n  if (decimalLength != null && decimalLength >= 0) {\n    // floatNum = Number.parseFloat(numInfo.numStr) // 当整数位数大于16位时，parseFloat会丢掉末尾的值\n    var isRound = roundMethod.toString() === '1'; // 是否四舍五入\n    numInfo.numStr = (0,_numberUtil__WEBPACK_IMPORTED_MODULE_5__.toFixed)(numInfo.numStr, decimalLength, isRound);\n    numStrArr = numInfo.numStr.split('.');\n    numInfo.intStr = numStrArr[0];\n    numInfo.decimalStr = numStrArr[1] || '';\n    if (!showDecimalTailZero) {\n      numInfo = cutTailZero(numInfo);\n    }\n  }\n  return (isNegativeNumber ? '-' : '') + (numInfo.intStr || '0') + (numInfo.decimalStr.length > 0 ? '.' : '') + numInfo.decimalStr;\n}\nfunction analyzMask(mask) {\n  var maskInfo = {\n    errorMask: false,\n    currencySign: false,\n    percent: false,\n    intMask: '',\n    decimalMask: '',\n    formatMask: ''\n  };\n  mask = mask.replace(/%%/g, '');\n  maskInfo.currencySign = mask.indexOf('$') >= 0; // 是否显示货币标识\n  maskInfo.percent = mask.indexOf('%') >= 0; // 是否有百分号\n  mask = mask.replace(/%/g, '').replace(/\\$/g, ''); // 清楚上面的特殊字符\n  var masks = mask.split('.'); // 以小数点为界切分掩码\n  if (masks.length > 2) {\n    maskInfo.errorMask = true;\n  }\n  maskInfo.intMask = masks[0];\n  maskInfo.decimalMask = masks[1];\n  maskInfo.formatMask = mask;\n  return maskInfo;\n}\nfunction cutTailZero(numInfo) {\n  var decimalStr = numInfo.decimalStr;\n  var len = decimalStr.length;\n  if (len > 0) {\n    for (var i = len - 1; i >= 0; i--) {\n      if (decimalStr[i] === '0') {\n        decimalStr = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default()(decimalStr).call(decimalStr, 0, i);\n      } else {\n        break;\n      }\n    }\n    numInfo.decimalStr = decimalStr;\n  }\n  return numInfo;\n}\nfunction intFormatMask(intMask, intValue) {\n  var numGroupFormat = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';\n  var index = 0;\n  var firstHashIndex = intMask.indexOf('#');\n  var lastHashIndex = intMask.lastIndexOf('#');\n  var formatValue = '';\n  if (intMask.split(',').length > 1) {\n    // 如果包含多个分隔符，则认为是末尾分隔符为分组数\n    lastHashIndex = intMask.length - 1 - intMask.lastIndexOf(',');\n  }\n  for (var i = intMask.length - 1; i >= 0;) {\n    var char = intMask.charAt(i);\n    switch (char) {\n      case '0':\n        // 数字必录\n        formatValue = (intValue.charAt(intValue.length - 1 - index) || '0') + formatValue;\n        index++;\n        i--;\n        break;\n      case '9':\n        // 数字可选\n        formatValue = intValue.charAt(intValue.length - 1 - index) + formatValue;\n        index++;\n        i--;\n        break;\n      case '#':\n        // 递归\n        formatValue = intValue.charAt(intValue.length - 1 - index) + formatValue;\n        index++;\n        i = i === firstHashIndex ? lastHashIndex : i - 1;\n        break;\n      default:\n        if (numGroupFormat) char = numGroupFormat;\n        formatValue = char + formatValue;\n        i--;\n        break;\n    }\n    if (index >= intValue.length) break;\n  }\n  // 如果第一个字符不是数字，去掉\n  if (formatValue && !/^[0-9]*$/.test(formatValue.charAt(0))) {\n    formatValue = formatValue.substring(1);\n  }\n  return formatValue;\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/_utils/formatUtil.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/_utils/getStringLength.js":
/*!**************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/_utils/getStringLength.js ***!
  \**************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }\n/* harmony export */ });\n// 计算字符串长度，中文字符占两个长度\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(str) {\n  var len = 0;\n  for (var i = 0; i < str.length; i++) {\n    if (str.charCodeAt(i) > 127 || str.charCodeAt(i) === 94) {\n      len += 2;\n    } else {\n      len++;\n    }\n  }\n  return len;\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/_utils/getStringLength.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   useForceUpdate: function() { return /* binding */ useForceUpdate; },\n/* harmony export */   useHideDocumentScrollBar: function() { return /* binding */ useHideDocumentScrollBar; },\n/* harmony export */   useIsFirstRender: function() { return /* binding */ useIsFirstRender; },\n/* harmony export */   useMergedState: function() { return /* binding */ useMergedState; },\n/* harmony export */   useOnClickOutside: function() { return /* binding */ useOnClickOutside; },\n/* harmony export */   useOverflowHidden: function() { return /* binding */ useOverflowHidden; },\n/* harmony export */   usePrevious: function() { return /* binding */ usePrevious; },\n/* harmony export */   useResizeObserver: function() { return /* binding */ useResizeObserver; },\n/* harmony export */   useStateWithPromise: function() { return /* binding */ useStateWithPromise; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/from */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/symbol */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/symbol.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/get-iterator-method */ \"../../node_modules/@babel/runtime-corejs3/core-js/get-iterator-method.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/promise */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/promise.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var resize_observer_polyfill__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! resize-observer-polyfill */ \"../../node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js\");\n/* harmony import */ var _devwarning__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n\n\n\n\n\n\n\n\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof (_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_2___default()) !== \"undefined\" && _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_3___default()(o) || 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) { var _context2; if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_0___default()(_context2 = Object.prototype.toString.call(o)).call(_context2, 8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_1___default()(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; }\n\n\n\n/**\n * @description 点击指定区域外执行回调\n *\n * @export\n * @param {RefObject<HTMLElement>[]} refs\n * @param {(e: Event) => void} handler\n */\nfunction useOnClickOutside(refs, handler) {\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    var listener = function listener(event) {\n      var _iterator = _createForOfIteratorHelper(refs),\n        _step;\n      try {\n        for (_iterator.s(); !(_step = _iterator.n()).done;) {\n          var ref = _step.value;\n          if (!ref.current || ref.current.contains(event.target)) {\n            return;\n          }\n        }\n      } catch (err) {\n        _iterator.e(err);\n      } finally {\n        _iterator.f();\n      }\n      handler(event);\n    };\n    document.addEventListener('mousedown', listener);\n    document.addEventListener('touchstart', listener);\n    return function () {\n      document.removeEventListener('mousedown', listener);\n      document.removeEventListener('touchstart', listener);\n    };\n  }, [refs, handler]);\n}\n/**\n * @description 合并状态\n *\n * @export\n * @template T\n * @template R\n * @param {(T | (() => T))} defaultStateValue\n * @param {({\n *     defaultValue?: T | (() => T)\n *     value?: T\n *     onChange?: (value: T, prevValue: T) => void\n *     postState?: (value: T) => T\n *   })} [option]\n * @returns {[R, (value: T) => void]}\n */\nfunction useMergedState(defaultStateValue,\n// 初始state\noption) {\n  var _ref = option || {},\n    defaultValue = _ref.defaultValue,\n    value = _ref.value,\n    onChange = _ref.onChange,\n    postState = _ref.postState;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)(function () {\n      if (value !== undefined) {\n        return value;\n      }\n      if (defaultValue !== undefined) {\n        return typeof defaultValue === 'function' ? defaultValue() : defaultValue;\n      }\n      return typeof defaultStateValue === 'function' ? defaultStateValue() : defaultStateValue;\n    }),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_useState, 2),\n    innerValue = _useState2[0],\n    setInnerValue = _useState2[1];\n  var mergedValue = value !== undefined ? value : innerValue;\n  if (postState) {\n    mergedValue = postState(mergedValue);\n  }\n  function triggerChange(newValue) {\n    setInnerValue(newValue);\n    if (mergedValue !== newValue && onChange) {\n      onChange(newValue, mergedValue);\n    }\n  }\n  var firstRenderRef = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)(true);\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    if (firstRenderRef.current) {\n      firstRenderRef.current = false;\n      return;\n    }\n    if (value === undefined) {\n      setInnerValue(value);\n    }\n  }, [value]);\n  return [mergedValue, triggerChange];\n}\n/**\n * @description 获取之前的值\n *\n * @export\n * @param {P} value\n */\nfunction usePrevious(value) {\n  var ref = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)(value);\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    ref.current = value;\n  }, [value]);\n  return ref.current;\n}\nfunction useHideDocumentScrollBar(visible, isBody, mask) {\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    var isChange = false;\n    var previousDocumentOverflow = document.documentElement.style.overflow;\n    if (visible && isBody && mask) {\n      document.documentElement.style.overflow = 'hidden';\n      isChange = true;\n    }\n    return function () {\n      if (isChange) {\n        document.documentElement.style.overflow = previousDocumentOverflow;\n      }\n    };\n  }, [visible, isBody, mask]);\n}\nfunction useOverflowHidden(container, hidden, allowDisable) {\n  var needResetContainerStyle = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)(false);\n  var originContainerStyle = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)({});\n  var getScrollBarWidth = function getScrollBarWidth(element) {\n    return element.tagName === 'BODY' ? window.innerWidth - (document.body.clientWidth || document.documentElement.clientWidth) : element.offsetWidth - element.clientWidth;\n  };\n  var setContainerStyle = function setContainerStyle() {\n    if (container && container.style.overflow !== 'hidden') {\n      var originStyle = container.style;\n      needResetContainerStyle.current = true;\n      var containerScrollBarWidth = getScrollBarWidth(container);\n      if (containerScrollBarWidth) {\n        var _context;\n        originContainerStyle.current.width = originStyle.width;\n        container.style.width = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context = \"calc(\".concat(container.style.width || '100%', \" - \")).call(_context, containerScrollBarWidth, \"px)\");\n      }\n      originContainerStyle.current.overflow = originStyle.overflow;\n      container.style.overflow = 'hidden';\n    }\n  };\n  var resetContainerStyle = function resetContainerStyle() {\n    if (needResetContainerStyle.current && container) {\n      var originStyle = originContainerStyle.current;\n      _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_7___default()(originStyle).forEach(function (i) {\n        return container.style[i] = originStyle[i];\n      });\n    }\n    needResetContainerStyle.current = false;\n    originContainerStyle.current = {};\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    if (!allowDisable) return;\n    hidden ? setContainerStyle() : resetContainerStyle();\n    return function () {\n      resetContainerStyle();\n    };\n  }, [container, hidden, allowDisable]);\n  return [resetContainerStyle, setContainerStyle];\n}\nfunction useResizeObserver(element, handler) {\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    if (typeof element === 'function') {\n      element = element();\n    }\n    if (!element) {\n      (0,_devwarning__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(!element && element !== null, 'useResizeMeasure', 'useResizeMeasure指定的元素不存在');\n      return;\n    }\n    var measure = function measure(entries) {\n      if (!entries[0] || !entries[0].contentRect) {\n        return;\n      }\n      var contentRect = entries[0].contentRect;\n      var hide = contentRect.width === 0 && contentRect.height === 0; // 隐藏条件：高宽都为0\n      // DOMRectReadOnly 对象不可读, 不可赋值\n      var rect = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_4__[\"default\"])({\n        hide: hide\n      }, contentRect);\n      ['width', 'height', 'x', 'y', 'bottom', 'top', 'left', 'right'].forEach(function (prop) {\n        rect[prop] = contentRect[prop];\n      });\n      handler && handler(rect);\n    };\n    var resizeObserver = new resize_observer_polyfill__WEBPACK_IMPORTED_MODULE_10__[\"default\"](measure);\n    resizeObserver && resizeObserver.observe(element);\n    return function () {\n      resizeObserver && resizeObserver.disconnect();\n    };\n  }, [element, handler]);\n}\nfunction useIsFirstRender() {\n  var isFirst = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)(true);\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    isFirst.current = false;\n  }, []);\n  return isFirst.current;\n}\nfunction useForceUpdate() {\n  var _useReducer = (0,react__WEBPACK_IMPORTED_MODULE_9__.useReducer)(function (v) {\n      return v + 1;\n    }, 0),\n    _useReducer2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_useReducer, 2),\n    dispatch = _useReducer2[1];\n  return dispatch;\n}\nfunction useStateWithPromise(defaultVal) {\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)({\n      value: defaultVal,\n      resolve: function resolve(e) {\n        // eslint-disable-next-line no-unused-expressions, @typescript-eslint/no-unused-expressions\n        e;\n      }\n    }),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_useState3, 2),\n    state = _useState4[0],\n    setState = _useState4[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    state.resolve(state.value);\n  }, [state]);\n  return [state.value, function (updater) {\n    return new (_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_8___default())(function (resolve) {\n      setState(function (prevState) {\n        var nextVal = updater;\n        if (typeof updater === 'function') {\n          nextVal = updater(prevState.value);\n        }\n        return {\n          value: nextVal,\n          resolve: resolve\n        };\n      });\n    });\n  }];\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/_utils/ieUtil.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/_utils/ieUtil.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   getFileUtil: function() { return /* binding */ getFileUtil; },\n/* harmony export */   isIE: function() { return /* binding */ isIE; }\n/* harmony export */ });\nvar _a;\nvar isIE = ((_a = window) === null || _a === void 0 ? void 0 : _a.ActiveXObject) || 'ActiveXObject' in window;\nvar getFileUtil = function getFileUtil(file) {\n  var name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n  if (file) {\n    if (isIE) {\n      var blob = new Blob([file], {\n        type: file.type\n      });\n      blob.fileName = name || file.name;\n      blob.lastModifiedDate = (file === null || file === void 0 ? void 0 : file.lastModifiedDate) || Date.now();\n      return blob;\n    } else {\n      return new File([file], name || file.name, {\n        type: file.type\n      });\n    }\n  }\n  return file;\n};\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/_utils/ieUtil.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   getCompProps: function() { return /* binding */ getCompProps; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _config_provider_compDefaultProps__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../config-provider/compDefaultProps */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/compDefaultProps.js\");\n\n // kdesign提供组件默认属性\n/**\n * 结合compDefaultProps、用户自定义默认属性和组件当前属性获取组件实际应用属性\n * @param {keyof typeof compDefaultProps} compName 组件名\n * @param {any} userDefaultProps 用户自定义组件默认属性\n * @param {any} compProps 组件接收到的属性\n */\nvar getCompProps = function getCompProps(compName, userDefaultProps, compProps) {\n  var defaultProps = _config_provider_compDefaultProps__WEBPACK_IMPORTED_MODULE_1__[\"default\"][compName];\n  var userProps = userDefaultProps && userDefaultProps[compName] || {};\n  return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, defaultProps, userProps, compProps || {});\n};\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/_utils/numberUtil.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/_utils/numberUtil.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   exponentToFloat: function() { return /* binding */ exponentToFloat; },\n/* harmony export */   getMaxNumberByPrecision: function() { return /* binding */ getMaxNumberByPrecision; },\n/* harmony export */   isExp: function() { return /* binding */ isExp; },\n/* harmony export */   serialization: function() { return /* binding */ serialization; },\n/* harmony export */   supplementZero: function() { return /* binding */ supplementZero; },\n/* harmony export */   toFixed: function() { return /* binding */ toFixed; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/number/is-nan */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/number/is-nan.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_fill__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/fill */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/fill.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_fill__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_fill__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var big_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! big.js */ \"../../node_modules/@kdcloudjs/kdesign/node_modules/big.js/big.mjs\");\n\n\n\n\n/**\n * 使用定点表示法来格式化一个数\n * @param  {String|Number}  number     [必选，数字或者表示数字的字符串,范围为[0,20],超过范围则报错]\n * @param  {Number}  digits  [必选，小数点后数字的个数]\n * @param  {Boolean} isRound [可选，格式化时是否四舍五入，默认为false，即进行四舍五入,为false时直接截取，不满足位数的往后补0]\n * @return {String}          [结果]\n */\nfunction toFixed(number, digits) {\n  var isRound = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n  // 非数字\n  // if (!/(^-\\d+|^\\d+)\\.?\\d*$/gi.test(number)) { // Number.isFinite(number)\n  //   throw new Error('toFixed() number argument must be a valid number')\n  // }\n  if (_babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_0___default()(Number(number))) {\n    throw new Error('toFixed() number argument must be a valid number');\n  }\n  // 是否为正数\n  var isPositive = +number >= 0;\n  // 转化为字符串\n  number += '';\n  isRound = Boolean(isRound);\n  // 去掉正负号，统一按照正数来处理，最后再加上符号\n  number = number.replace(/^(?:-|\\+)/gi, '');\n  // 小数点过大\n  if (digits > 20 || digits < 0) {\n    throw new RangeError('toFixed() digits argument must be between 0 and 20');\n  }\n  // 如果是简写如.11则整数位补0，变成0.11\n  if (/^\\./gi.test(number)) {\n    number = '0' + number;\n  }\n  var numParts = number.split('.');\n  var result = '';\n  // 在str后面加n个0\n  var _paddingZero = function _paddingZero(str, n) {\n    for (var i = 0; i < n; i++) {\n      str += '0';\n    }\n    return str;\n  };\n  // 在str后面加0，直至str的长度达到n\n  // 如果超过了n，则直接截取前n个字符串\n  var _paddingZeroTo = function _paddingZeroTo(str, n) {\n    if (str.length >= n) {\n      return str.substr(0, n);\n    } else {\n      return _paddingZero(str, n - str.length);\n    }\n  };\n  // 直接就是整数\n  if (numParts.length < 2) {\n    result = numParts[0] + '.' + _paddingZero('', digits);\n  } else {\n    // 为浮点数\n    // 如果为截取\n    if (isRound === false) {\n      result = numParts[0] + '.' + _paddingZeroTo(numParts[1], digits);\n      // 如果为四舍五入\n    } else {\n      // 放大10的N次方倍\n      var enlarge = numParts[0] + _paddingZeroTo(numParts[1], digits) + '.' + numParts[1].substr(digits);\n      // 取整\n      enlarge = Math.round(parseFloat(enlarge)) + '';\n      // 缩小10的N次方\n      while (enlarge.length <= digits) {\n        enlarge = '0' + enlarge;\n      }\n      result = enlarge.substr(0, enlarge.length - digits) + '.' + enlarge.substr(enlarge.length - digits);\n    }\n  }\n  // 如果最后一位为.,则去除\n  result = result.replace(/\\.$/gi, '').replace(/^\\./gi, '0.');\n  // 加上正负数符号位\n  result = isPositive ? result : '-' + result;\n  return result;\n}\n/**\n * 将已有的数字进行前面补零的方法\n * @param {String|Number} number [需要在前面补零的数字]\n * @param {Number} lenght [补零后的数字长度]\n * 如：supplementZero(1, 4) return '0001'\n */\nfunction supplementZero(number) {\n  var _context;\n  var length = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;\n  number += '';\n  if (number.length > length) return number;\n  return _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1___default()(_context = Array(length).join('0') + number).call(_context, -length);\n}\n/**\n *\n * 序列化字符串为数字，只取字符串中的数字、小数点、正负号\n * @param {String} strNumber 字符串\n */\nfunction serialization(strNumber) {\n  var numberList = strNumber.match(/\\d|^-|\\./g);\n  if (!numberList) return '';\n  // 取出正负号\n  var sign = numberList[0] === '-' ? '-' : '';\n  if (sign === '-') {\n    // 有负号, 去掉数组的负号\n    numberList.shift();\n  }\n  var numberString = numberList.join('');\n  // .replace('.', 'a').replace(/\\./g, '').replace('a', '.')\n  var res = numberString.replace(/^0{2,}/gi, '0');\n  if (/^(0[^.])/gi.test(res)) {\n    return sign + _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1___default()(res).call(res, 1);\n  }\n  return sign + res;\n}\n// 根据整数精度和小数精度获取最大值\nfunction getMaxNumberByPrecision(integerPrecision, decimalPrecision) {\n  var _context2, _context3;\n  var integerString = _babel_runtime_corejs3_core_js_stable_instance_fill__WEBPACK_IMPORTED_MODULE_2___default()(_context2 = Array(integerPrecision)).call(_context2, '9').reduce(function (res, value) {\n    return res += value;\n  }, '');\n  return decimalPrecision <= 0 ? Number(integerString) : Number(_babel_runtime_corejs3_core_js_stable_instance_fill__WEBPACK_IMPORTED_MODULE_2___default()(_context3 = Array(decimalPrecision)).call(_context3, '9').reduce(function (res, value) {\n    return res += value;\n  }, integerString + '.'));\n}\n/**\n * 判断是否为正则表达式\n * @param {string|number} number 待判断的值\n */\nfunction isExp(number) {\n  return /\\d+\\.?\\d*e[+-]*\\d+/i.test(number.toString());\n}\n/**\n * 将科学计数法显示的数字格式化为正常浮点数\n * 1e-6 => 0.000006\n * @param {Number} number 待格式化的科学计数法\n * @returns num 格式化后的数值，如果不满足科学计数法的话，则原值返回\n */\nfunction exponentToFloat(number) {\n  var tempNumber = Number(number);\n  if (isNaN(tempNumber) || !isFinite(tempNumber) || number === '') return tempNumber.toString();\n  var bigNum = new big_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"](number);\n  var bigNumValue = bigNum.valueOf();\n  var exponentReg = /^(?!-0(\\.0+)?(e|$))-?(0|[1-9]\\d*)(\\.\\d+)?(e-?(0|[1-9]\\d*))?$/i;\n  if (exponentReg.test(bigNumValue)) {\n    // 获取精度， 默认 10\n    var lenArr = exponentReg.exec(bigNumValue);\n    var len = Number(lenArr && lenArr[6] ? lenArr[6] : 10);\n    var fixedNumber = bigNum.toFixed(len).valueOf();\n    var zeros = /^(\\d{1,}(?:,\\d{3})*\\.(?:0*[1-9]+)?)(0*)?$/.exec(fixedNumber);\n    if (zeros) {\n      var res = zeros[1];\n      return res[res.length - 1] === '.' ? res.substr(0, res.length - 1) : res;\n    } else {\n      return fixedNumber;\n    }\n  }\n  return bigNumValue;\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/_utils/numberUtil.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/_utils/omit.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/_utils/omit.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   omit: function() { return /* binding */ omit; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n\nfunction omit(obj, fields) {\n  var shallowCopy = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, obj);\n  for (var i = 0; i < fields.length; i++) {\n    var key = fields[i];\n    delete shallowCopy[key];\n  }\n  return shallowCopy;\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/_utils/omit.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/_utils/raf.js":
/*!**************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/_utils/raf.js ***!
  \**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   caf: function() { return /* binding */ caf; },\n/* harmony export */   raf: function() { return /* binding */ raf; }\n/* harmony export */ });\nvar target = typeof window === 'undefined' ? __webpack_require__.g : window;\nvar vendors = ['webkit', 'ms', 'moz', 'o'];\nvar raf = target.requestAnimationFrame; // eslint-disable-line\nvar caf = target.cancelAnimationFrame; // eslint-disable-line\nif (!raf || !caf) {\n  vendors.some(function (prefix) {\n    raf = target[\"\".concat(prefix, \"RequestAnimationFrame\")];\n    caf = target[\"\".concat(prefix, \"CancelAnimationFrame\")] || target[\"\".concat(prefix, \"CancelRequestAnimationFrame\")];\n    return raf && caf;\n  });\n  if (!raf || !caf) {\n    var lastTime = 0;\n    raf = function raf(cb) {\n      var currentTime = Date.now();\n      var diff = Math.max(0, 16 - (currentTime - lastTime));\n      var timer = setTimeout(function () {\n        cb();\n        lastTime = currentTime + diff;\n      }, diff);\n      return timer;\n    };\n    caf = function caf(timer) {\n      clearTimeout(timer);\n    };\n  }\n}\nraf = raf.bind(target);\ncaf = caf.bind(target);\n\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/_utils/raf.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/_utils/react-children.js":
/*!*************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/_utils/react-children.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   toArray: function() { return /* binding */ toArray; }\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\nfunction toArray(children) {\n  var childrens = [];\n  react__WEBPACK_IMPORTED_MODULE_0___default().Children.forEach(children, function each(c) {\n    childrens.push(c);\n  });\n  return childrens;\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/_utils/react-children.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/_utils/reactNode.js":
/*!********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/_utils/reactNode.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   cloneElement: function() { return /* binding */ cloneElement; },\n/* harmony export */   isFragment: function() { return /* binding */ isFragment; },\n/* harmony export */   isValidElement: function() { return /* binding */ isValidElement; },\n/* harmony export */   replaceElement: function() { return /* binding */ replaceElement; }\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\nvar isValidElement = react__WEBPACK_IMPORTED_MODULE_0__.isValidElement;\n\nfunction replaceElement(element, replacement, props) {\n  if (!isValidElement(element)) return replacement;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(element, typeof props === 'function' ? props(element.props || {}) : props);\n}\nfunction isFragment(child) {\n  return child && isValidElement(child) && child.type === react__WEBPACK_IMPORTED_MODULE_0__.Fragment;\n}\nfunction cloneElement(element, props) {\n  return replaceElement(element, element, props);\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/_utils/reactNode.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/_utils/resizeObserver.js":
/*!*************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/_utils/resizeObserver.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/reflect/construct */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/reflect/construct.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/classCallCheck */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/classCallCheck.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/createClass */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/createClass.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/assertThisInitialized */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/assertThisInitialized.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/inherits */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/inherits.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/possibleConstructorReturn */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/possibleConstructorReturn.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/getPrototypeOf */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/getPrototypeOf.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var resize_observer_polyfill__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! resize-observer-polyfill */ \"../../node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?fcc5\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_9__);\n\n\n\n\n\n\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0,_babel_runtime_corejs3_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0,_babel_runtime_corejs3_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(this).constructor; result = _babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0___default()(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0,_babel_runtime_corejs3_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !(_babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0___default())) return false; if ((_babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0___default().sham)) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(_babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0___default()(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\n\n\nvar ResizeObserverComponent = /*#__PURE__*/function (_React$Component) {\n  (0,_babel_runtime_corejs3_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(ResizeObserverComponent, _React$Component);\n  var _super = _createSuper(ResizeObserverComponent);\n  function ResizeObserverComponent() {\n    var _this;\n    (0,_babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(this, ResizeObserverComponent);\n    _this = _super.apply(this, arguments);\n    _this.componentWillUnmount = function () {\n      if (_this.resizeObserver) {\n        _this.destroyResizeObserver();\n      }\n    };\n    _this.createResizeObserver = function () {\n      _this.resizeObserver = new resize_observer_polyfill__WEBPACK_IMPORTED_MODULE_8__[\"default\"](function (entry) {\n        var onResize = _this.props.onResize;\n        onResize && onResize(entry);\n      });\n      // eslint-disable-next-line react/no-find-dom-node\n      _this.resizeObserver.observe((0,react_dom__WEBPACK_IMPORTED_MODULE_9__.findDOMNode)((0,_babel_runtime_corejs3_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_this)));\n    };\n    _this.destroyResizeObserver = function () {\n      _this.resizeObserver && _this.resizeObserver.disconnect();\n      _this.resizeObserver = null;\n    };\n    return _this;\n  }\n  (0,_babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(ResizeObserverComponent, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      if (! /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().isValidElement(this.props.children)) {\n        console.warn('The children of ResizeObserver is invalid.');\n      } else {\n        this.createResizeObserver();\n      }\n    }\n  }, {\n    key: \"componentDidUpdate\",\n    value: function componentDidUpdate() {\n      // eslint-disable-next-line react/no-find-dom-node\n      if (!this.resizeObserver && (0,react_dom__WEBPACK_IMPORTED_MODULE_9__.findDOMNode)(this)) {\n        this.createResizeObserver();\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      return this.props.children;\n    }\n  }]);\n  return ResizeObserverComponent;\n}((react__WEBPACK_IMPORTED_MODULE_7___default().Component));\n/* harmony default export */ __webpack_exports__[\"default\"] = (ResizeObserverComponent);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/_utils/resizeObserver.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/_utils/testBrowserType.js":
/*!**************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/_utils/testBrowserType.js ***!
  \**************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   testBrowserType: function() { return /* binding */ testBrowserType; }\n/* harmony export */ });\nfunction testBrowserType(reg, type) {\n  var external = window.external || {};\n  for (var i in external) {\n    if (reg.test(type ? external[i] : i)) {\n      return true;\n    }\n  }\n  return false;\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/_utils/testBrowserType.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   tuple: function() { return /* binding */ tuple; },\n/* harmony export */   tupleNum: function() { return /* binding */ tupleNum; }\n/* harmony export */ });\n// https://stackoverflow.com/questions/46176165/ways-to-get-string-literal-type-of-array-values-without-enum-overhead\nvar tuple = function tuple() {\n  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n    args[_key] = arguments[_key];\n  }\n  return args;\n};\nvar tupleNum = function tupleNum() {\n  for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n    args[_key2] = arguments[_key2];\n  }\n  return args;\n};\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/_utils/usePopper.js":
/*!********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/_utils/usePopper.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Placements: function() { return /* binding */ Placements; },\n/* harmony export */   Triggers: function() { return /* binding */ Triggers; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/promise */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/promise.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?fcc5\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var lodash_debounce__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! lodash/debounce */ \"../../node_modules/lodash/debounce.js\");\n/* harmony import */ var lodash_debounce__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(lodash_debounce__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./hooks */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar Placements = (0,_utils_type__WEBPACK_IMPORTED_MODULE_12__.tuple)('top', 'left', 'right', 'bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'leftTop', 'leftBottom', 'rightTop', 'rightBottom');\nvar Triggers = (0,_utils_type__WEBPACK_IMPORTED_MODULE_12__.tuple)('hover', 'focus', 'click', 'contextMenu');\nfunction getTranslate(node, param) {\n  var _a;\n  var translates = ((_a = document.defaultView) === null || _a === void 0 ? void 0 : _a.getComputedStyle(node, null).transform.substring(7)) || '';\n  var result = translates.match(/\\(([^)]*)\\)/);\n  var matrix = result ? result[1].split(',') : translates.split(',');\n  if (param === 'x' || param === undefined) {\n    return matrix.length > 6 ? parseFloat(matrix[12]) : parseFloat(matrix[4]);\n  } else if (param === 'y') {\n    return matrix.length > 6 ? parseFloat(matrix[13]) : parseFloat(matrix[5]);\n  } else if (param === 'z') {\n    return matrix.length > 6 ? parseFloat(matrix[14]) : 0;\n  } else if (param === 'rotate') {\n    return matrix.length > 6 ? getRotate([parseFloat(matrix[0]), parseFloat(matrix[1]), parseFloat(matrix[4]), parseFloat(matrix[5])]) : getRotate(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default()(matrix).call(matrix, function (i) {\n      return parseFloat(i);\n    }));\n  }\n}\nfunction getRotate(matrix) {\n  var aa = Math.round(180 * Math.asin(matrix[0]) / Math.PI);\n  var bb = Math.round(180 * Math.acos(matrix[1]) / Math.PI);\n  var cc = Math.round(180 * Math.asin(matrix[2]) / Math.PI);\n  var dd = Math.round(180 * Math.acos(matrix[3]) / Math.PI);\n  var deg = 0;\n  if (aa === bb || -aa === bb) {\n    deg = dd;\n  } else if (-aa + bb === 180) {\n    deg = 180 + cc;\n  } else if (aa + bb === 180) {\n    deg = 360 - cc || 360 - dd;\n  }\n  return deg >= 360 ? 0 : deg;\n}\nvar getTranslatePos = function getTranslatePos(el) {\n  var elPos = {\n    top: getTranslate(el, 'y') || 0,\n    left: getTranslate(el, 'x') || 0\n  };\n  if (el.parentElement) {\n    var parentPos = getTranslatePos(el.parentElement);\n    elPos.top += parentPos.top;\n    elPos.left += parentPos.left;\n  }\n  return elPos;\n};\nvar getOffsetPos = function getOffsetPos(el) {\n  var elPos = {\n    top: el.offsetTop,\n    left: el.offsetLeft\n  };\n  if (el.offsetParent) {\n    var parentPos = getOffsetPos(el.offsetParent);\n    elPos.top += parentPos.top;\n    elPos.left += parentPos.left;\n  }\n  return elPos;\n};\nvar getBorderWidth = function getBorderWidth(el) {\n  var border = {\n    top: 0,\n    left: 0\n  };\n  if (el.offsetParent) {\n    var _context, _context2;\n    var parentBorder = getBorderWidth(el.offsetParent);\n    border.top += parentBorder.top + parseInt(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default()(_context = getComputedStyle(el.offsetParent, null).borderTopWidth).call(_context, 0, -2));\n    border.left += parentBorder.left + parseInt(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = getComputedStyle(el.offsetParent, null).borderLeftWidth).call(_context2, 0, -2));\n  }\n  return border;\n};\nvar getScrollDist = function getScrollDist(el, container) {\n  var elScroll = {\n    top: el.scrollTop,\n    left: el.scrollLeft\n  };\n  var isFixed = getComputedStyle(el, null).getPropertyValue('position') === 'fixed';\n  if (isFixed) {\n    elScroll.top -= document.documentElement.scrollTop;\n    elScroll.left -= document.documentElement.scrollLeft;\n  } else if (el.parentElement && container.contains(el.parentElement)) {\n    var parentScroll = getScrollDist(el.parentElement, container);\n    elScroll.top += parentScroll.top;\n    elScroll.left += parentScroll.left;\n  }\n  return elScroll;\n};\nvar getRealDom = function getRealDom(locatorRef, locatorElement) {\n  var _a;\n  if (!locatorRef.current) return locatorRef.current;\n  var REF_NAME_OBJ = {\n    Input: 'input',\n    InputNumber: 'input',\n    Select: 'select',\n    Upload: 'input'\n  };\n  if (locatorRef.current.tagName) return locatorRef.current;\n  var name = REF_NAME_OBJ[(_a = locatorElement === null || locatorElement === void 0 ? void 0 : locatorElement.type) === null || _a === void 0 ? void 0 : _a.displayName];\n  return locatorRef === null || locatorRef === void 0 ? void 0 : locatorRef.current[name];\n};\nvar DEFAULT_PLACEMENT = 'top';\nfunction usePopper(locatorElement, popperElement, props) {\n  var _context3, _context4, _arrowStyle;\n  var prefixCls = props.prefixCls,\n    onTrigger = props.onTrigger,\n    popperStyle = props.popperStyle,\n    _props$arrow = props.arrow,\n    arrow = _props$arrow === void 0 ? false : _props$arrow,\n    onVisibleChange = props.onVisibleChange,\n    popperClassName = props.popperClassName,\n    _props$arrowOffset = props.arrowOffset,\n    arrowOffset = _props$arrowOffset === void 0 ? 12 : _props$arrowOffset,\n    _props$arrowSize = props.arrowSize,\n    arrowSize = _props$arrowSize === void 0 ? 4.25 : _props$arrowSize,\n    _props$disabled = props.disabled,\n    disabled = _props$disabled === void 0 ? false : _props$disabled,\n    _props$trigger = props.trigger,\n    trigger = _props$trigger === void 0 ? 'click' : _props$trigger,\n    _props$placement = props.placement,\n    placement = _props$placement === void 0 ? DEFAULT_PLACEMENT : _props$placement,\n    _props$gap = props.gap,\n    defaultGap = _props$gap === void 0 ? 4 : _props$gap,\n    _props$scrollHidden = props.scrollHidden,\n    scrollHidden = _props$scrollHidden === void 0 ? false : _props$scrollHidden,\n    _props$mouseEnterDela = props.mouseEnterDelay,\n    mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0.1 : _props$mouseEnterDela,\n    _props$mouseLeaveDela = props.mouseLeaveDelay,\n    mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela,\n    _props$defaultVisible = props.defaultVisible,\n    defaultVisible = _props$defaultVisible === void 0 ? false : _props$defaultVisible,\n    _props$autoPlacement = props.autoPlacement,\n    autoPlacement = _props$autoPlacement === void 0 ? true : _props$autoPlacement,\n    _props$clickToClose = props.clickToClose,\n    clickToClose = _props$clickToClose === void 0 ? true : _props$clickToClose,\n    _props$getTriggerElem = props.getTriggerElement,\n    getTriggerElement = _props$getTriggerElem === void 0 ? function (locatorNode) {\n      return locatorNode;\n    } : _props$getTriggerElem,\n    _props$getPopupContai = props.getPopupContainer,\n    getPopupContainer = _props$getPopupContai === void 0 ? function () {\n      return document.body;\n    } : _props$getPopupContai,\n    onTransitionEnd = props.onTransitionEnd;\n  var arrowWidth = Math.sqrt(2 * Math.pow(arrowSize, 2));\n  var componentName = (prefixCls === null || prefixCls === void 0 ? void 0 : prefixCls.split('-')[1]) || '';\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(Placements.indexOf(placement) === -1, componentName, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context3 = \"cannot found \".concat(componentName, \" placement '\")).call(_context3, placement, \"'\"));\n  var isWrongTrigger = Array.isArray(trigger) ? trigger.some(function (v) {\n    return !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6___default()(Triggers).call(Triggers, v);\n  }) : Triggers.indexOf(trigger) === -1;\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(isWrongTrigger, componentName, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context4 = \"cannot found \".concat(componentName, \" trigger '\")).call(_context4, trigger, \"'\"));\n  var locatorEl = (0,react__WEBPACK_IMPORTED_MODULE_8__.useRef)();\n  var popperEl = (0,react__WEBPACK_IMPORTED_MODULE_8__.useRef)();\n  var locatorRef = locatorElement.ref || locatorEl;\n  var popperRef = popperElement.ref || popperEl;\n  var container = getPopupContainer(getRealDom(locatorRef, locatorElement) || document.body);\n  _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_7___default().resolve().then(function () {\n    var realDom = getRealDom(locatorRef, locatorElement);\n    var triggerNode = getTriggerElement(realDom);\n    var container = getPopupContainer(realDom);\n    (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(!triggerNode, componentName, \"getTriggerElement() must return a HTMLElement, but now it does not return anything\");\n    (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(!container, componentName, \"getPopupContainer() must return a HTMLElement, but now it does not return anything\");\n  });\n  var initPos = {\n    top: 0,\n    left: 0,\n    right: 0,\n    bottom: 0,\n    height: 0,\n    width: 0\n  };\n  var initAlign = {\n    top: 0,\n    left: 0\n  };\n  var gap = defaultGap + (arrow ? 10 : 0);\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(initPos),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    mousePos = _useState2[0],\n    setMousePos = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(initAlign),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState3, 2),\n    arrowPos = _useState4[0],\n    setArrowPos = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(!!props.visible || defaultVisible),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState5, 2),\n    exist = _useState6[0],\n    setExist = _useState6[1];\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(!!props.visible || defaultVisible),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState7, 2),\n    canAlign = _useState8[0],\n    setCanAlign = _useState8[1];\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(false),\n    _useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState9, 2),\n    visible = _useState10[0],\n    setVisible = _useState10[1];\n  var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(false),\n    _useState12 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState11, 2),\n    active = _useState12[0],\n    setActive = _useState12[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    if (props.visible) {\n      !exist && setExist(true);\n      setCanAlign(true);\n      setVisible(true);\n    } else {\n      setVisible(false);\n    }\n  }, [exist, props.visible]);\n  var _useState13 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(''),\n    _useState14 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState13, 2),\n    evType = _useState14[0],\n    setEvType = _useState14[1];\n  var _useState15 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(),\n    _useState16 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState15, 2),\n    align = _useState16[0],\n    setAlign = _useState16[1];\n  var _useState17 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6___default()(Placements).call(Placements, placement) ? placement : DEFAULT_PLACEMENT),\n    _useState18 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState17, 2),\n    nextPlacement = _useState18[0],\n    setNextPlacement = _useState18[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    if (nextPlacement !== placement && _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6___default()(Placements).call(Placements, placement)) {\n      setNextPlacement(placement);\n    }\n  }, [placement]);\n  var alignPopper = (0,react__WEBPACK_IMPORTED_MODULE_8__.useCallback)(function () {\n    var realDom = getRealDom(locatorRef, locatorElement);\n    if (realDom && (popperRef === null || popperRef === void 0 ? void 0 : popperRef.current)) {\n      var _popperRef$current$ge = popperRef.current.getBoundingClientRect(),\n        popperWidth = _popperRef$current$ge.width,\n        popperHeight = _popperRef$current$ge.height;\n      var _realDom$getBoundingC = realDom.getBoundingClientRect(),\n        top = _realDom$getBoundingC.top,\n        bottom = _realDom$getBoundingC.bottom,\n        left = _realDom$getBoundingC.left,\n        right = _realDom$getBoundingC.right,\n        height = _realDom$getBoundingC.height,\n        width = _realDom$getBoundingC.width;\n      if (height === 0 && width === 0) {\n        hidePopper();\n        return;\n      }\n      var _getOffsetPos = getOffsetPos(container),\n        containerTop = _getOffsetPos.top,\n        containerLeft = _getOffsetPos.left;\n      var _getOffsetPos2 = getOffsetPos(realDom),\n        locatorTop = _getOffsetPos2.top,\n        locatorLeft = _getOffsetPos2.left;\n      var _getTranslatePos = getTranslatePos(realDom),\n        translateTop = _getTranslatePos.top,\n        translateLeft = _getTranslatePos.left;\n      var _getBorderWidth = getBorderWidth(realDom),\n        borderTop = _getBorderWidth.top,\n        borderLeft = _getBorderWidth.left;\n      var _getScrollDist = getScrollDist(realDom.parentElement, container),\n        scrollTop = _getScrollDist.top,\n        scrollLeft = _getScrollDist.left;\n      var locatorPos = {\n        width: width,\n        height: height,\n        top: locatorTop + borderTop + translateTop - containerTop - scrollTop,\n        left: locatorLeft + borderLeft + translateLeft - containerLeft - scrollLeft,\n        right: locatorLeft + borderLeft + translateLeft + width - containerLeft - scrollLeft,\n        bottom: locatorTop + borderTop + translateTop + height - containerTop - scrollTop\n      };\n      var currentPos = trigger === 'contextMenu' ? mousePos : locatorPos;\n      var currentPlacement = nextPlacement;\n      if (autoPlacement) {\n        var _context5;\n        if (top - gap - popperHeight <= 5 && bottom + gap + popperHeight < document.body.clientHeight - 5) {\n          currentPlacement = currentPlacement.replace('top', 'bottom');\n        }\n        if (bottom + gap + popperHeight >= document.body.clientHeight - 5 && top - gap - popperHeight > 5) {\n          currentPlacement = currentPlacement.replace('bottom', 'top');\n        }\n        if (left + popperWidth >= document.body.clientWidth - 5 && right - popperWidth > 5) {\n          currentPlacement = currentPlacement.replace('Left', 'Right');\n        }\n        if (right - popperWidth <= 5 && left + popperWidth < document.body.clientWidth - 5) {\n          currentPlacement = currentPlacement.replace('Right', 'Left');\n        }\n        if (top + popperHeight >= document.body.clientHeight - 5 && bottom - popperHeight > 5) {\n          currentPlacement = currentPlacement.replace('Top', 'Bottom');\n        }\n        if (bottom - popperHeight <= 5 && top + popperHeight < document.body.clientHeight - 5) {\n          currentPlacement = currentPlacement.replace('Bottom', 'Top');\n        }\n        if (left - gap - popperWidth <= 5 && right + gap + popperWidth < document.body.clientWidth - 5) {\n          currentPlacement = currentPlacement.replace('left', 'right');\n        }\n        if (right + gap + popperWidth >= document.body.clientWidth - 5 && left - gap - popperWidth > 5) {\n          currentPlacement = currentPlacement.replace('right', 'left');\n        }\n        if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6___default()(_context5 = ['top', 'bottom']).call(_context5, currentPlacement)) {\n          if (right - width / 2 + popperWidth / 2 >= document.body.clientWidth - 5 && right - popperWidth > 5) {\n            currentPlacement += 'Right';\n          }\n          if (left - width / 2 - popperWidth / 2 <= 5 && left + popperWidth < document.body.clientWidth - 5) {\n            currentPlacement += 'Left';\n          }\n        }\n      }\n      var leftLeft = currentPos.left - popperWidth - gap;\n      var topTop = currentPos.top - gap - popperHeight;\n      var bottomTop = currentPos.top + currentPos.height + gap;\n      var rightLeft = currentPos.left + currentPos.width - popperWidth;\n      var centerLeft = currentPos.left + (currentPos.width - popperWidth) / 2;\n      var centerTop = currentPos.top - (popperHeight - currentPos.height) / 2;\n      var topBottom = currentPos.bottom - popperHeight;\n      var leftRight = currentPos.right + gap;\n      var mapAlign = {\n        topLeft: {\n          left: currentPos.left,\n          top: topTop\n        },\n        top: {\n          left: centerLeft,\n          top: topTop\n        },\n        topRight: {\n          left: rightLeft,\n          top: topTop\n        },\n        bottomLeft: {\n          left: currentPos.left,\n          top: bottomTop\n        },\n        bottom: {\n          left: centerLeft,\n          top: bottomTop\n        },\n        bottomRight: {\n          left: rightLeft,\n          top: bottomTop\n        },\n        leftTop: {\n          left: leftLeft,\n          top: currentPos.top\n        },\n        left: {\n          left: leftLeft,\n          top: centerTop\n        },\n        leftBottom: {\n          left: leftLeft,\n          top: topBottom\n        },\n        rightTop: {\n          left: leftRight,\n          top: currentPos.top\n        },\n        right: {\n          left: leftRight,\n          top: centerTop\n        },\n        rightBottom: {\n          left: leftRight,\n          top: topBottom\n        }\n      };\n      var alignPos = mapAlign[currentPlacement];\n      var _arrowPos = {\n        top: 0,\n        left: 0\n      };\n      if (/left/.test(currentPlacement) || /right/.test(currentPlacement)) {\n        if (/Top/.test(currentPlacement)) {\n          _arrowPos.top = arrowOffset;\n        } else if (/Bottom/.test(currentPlacement)) {\n          _arrowPos.top = popperHeight - arrowOffset - 2 * arrowSize;\n        } else {\n          _arrowPos.top = (popperHeight - arrowWidth) / 2 - 1;\n        }\n        if (top <= 0) {\n          alignPos.top = locatorPos.top;\n          _arrowPos.top = arrowOffset;\n        } else if (bottom - height / 4 >= document.body.clientHeight) {\n          alignPos.top = locatorPos.bottom - popperHeight;\n          _arrowPos.top = popperHeight - arrowOffset - 2 * arrowSize;\n        } else {\n          var _scrollTop = alignPos.top - window.pageYOffset;\n          var scrollBottom = alignPos.top + popperHeight - 5 - window.pageYOffset;\n          if (_scrollTop < 0) {\n            alignPos.top -= _scrollTop;\n            _arrowPos.top += _scrollTop;\n          }\n          if (scrollBottom > document.body.clientHeight) {\n            alignPos.top += document.body.clientHeight - scrollBottom;\n            _arrowPos.top += scrollBottom - document.body.clientHeight;\n          }\n        }\n      } else if (/top/.test(currentPlacement) || /bottom/.test(currentPlacement)) {\n        if (/Left/.test(currentPlacement)) {\n          _arrowPos.left = arrowOffset;\n        } else if (/Right/.test(currentPlacement)) {\n          _arrowPos.left = popperWidth - arrowOffset - 2 * arrowSize;\n        } else {\n          _arrowPos.left = (popperWidth - arrowWidth) / 2 - 1;\n        }\n        if (left <= 0) {\n          alignPos.left = locatorPos.left;\n          _arrowPos.left = arrowOffset;\n        } else if (right >= document.body.clientWidth) {\n          delete alignPos.left;\n          alignPos.right = -1 * (right - document.body.clientWidth);\n          _arrowPos.left = popperWidth - arrowOffset - 2 * arrowSize;\n        }\n      }\n      setAlign(alignPos);\n      setArrowPos(_arrowPos);\n      setNextPlacement(currentPlacement);\n    }\n  }, [locatorRef, popperRef, container, trigger, mousePos, autoPlacement, gap, arrowOffset, arrowSize, arrowWidth, align === null || align === void 0 ? void 0 : align.left, align === null || align === void 0 ? void 0 : align.top, nextPlacement]);\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    if (canAlign) {\n      alignPopper();\n      setCanAlign(false);\n      props.visible === undefined && setVisible(true);\n      onVisibleChange && onVisibleChange(true);\n      setActive(true);\n      setTimeout(function () {\n        return setActive(false);\n      }, 200);\n    }\n  }, [alignPopper, canAlign, onVisibleChange, props]);\n  var arrowStyle = (_arrowStyle = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_arrowStyle, \"--arrowSize\", arrowSize + 'px'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_arrowStyle, \"--arrowSpill\", arrowWidth / -2 + 'px'), _arrowStyle);\n  if (arrowPos.top) arrowStyle[\"--arrowTop\"] = arrowPos.top + 'px';\n  if (arrowPos.left) arrowStyle[\"--arrowLeft\"] = arrowPos.left + 'px';\n  var popperContainerStyle = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    position: 'absolute'\n  }, align), arrow ? arrowStyle : {}), popperStyle);\n  var popperProps = {\n    ref: popperRef,\n    style: popperContainerStyle,\n    className: classnames__WEBPACK_IMPORTED_MODULE_11___default()(prefixCls, popperClassName, nextPlacement, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n      arrow: arrow,\n      hidden: !visible\n    }, \"\".concat(nextPlacement, \"-active\"), active)),\n    onTransitionEnd: typeof onTransitionEnd === 'function' ? onTransitionEnd : undefined\n  };\n  var popperNode = popperRef.current;\n  var locatorNode = getRealDom(locatorRef, locatorElement);\n  (0,_hooks__WEBPACK_IMPORTED_MODULE_14__.useResizeObserver)(popperNode || document.body, alignPopper);\n  (0,_hooks__WEBPACK_IMPORTED_MODULE_14__.useResizeObserver)(locatorNode || document.body, alignPopper);\n  var showPopper = (0,react__WEBPACK_IMPORTED_MODULE_8__.useCallback)(function (evType) {\n    if (!disabled) {\n      !exist && setExist(true);\n      setEvType(evType);\n      if (onTrigger) {\n        var mapTrigger = {\n          mouseenter: 'hover',\n          mouseup: 'click',\n          focus: 'focus',\n          contextmenu: 'contextMenu'\n        };\n        onTrigger(mapTrigger[evType]);\n      }\n      if (!visible || evType === 'contextmenu') {\n        setCanAlign(true);\n      }\n    }\n  }, [disabled, exist, onTrigger, visible]);\n  var hidePopper = (0,react__WEBPACK_IMPORTED_MODULE_8__.useCallback)(function () {\n    props.visible === undefined && setVisible(false);\n    onVisibleChange && onVisibleChange(false);\n  }, [onVisibleChange, props.visible]);\n  var matchTrigger = function matchTrigger(words) {\n    return Array.isArray(trigger) ? _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6___default()(trigger).call(trigger, words) : trigger === words;\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    if (exist && visible) {\n      var mouseleaveTimer;\n      var realDom = getRealDom(locatorRef, locatorElement);\n      var triggerNode = getTriggerElement(realDom);\n      var handleHidePopper = function handleHidePopper(e) {\n        var triggerRect = triggerNode.getBoundingClientRect();\n        var popperRect = popperRef.current.getBoundingClientRect();\n        var left = triggerRect.left;\n        var right = triggerRect.right;\n        var top = triggerRect.top;\n        var bottom = triggerRect.bottom;\n        var X = e.clientX,\n          Y = e.clientY;\n        var inTriggerRect = X > left + 2 && X < right - 2 && Y > top + 2 && Y < bottom - 2;\n        var inPopperRect = X > popperRect.left && X < popperRect.right && Y > popperRect.top && Y < popperRect.bottom;\n        var ableArea = matchTrigger('contextMenu') ? inPopperRect : inTriggerRect || inPopperRect;\n        if (ableArea) {\n          mouseleaveTimer && clearTimeout(mouseleaveTimer);\n          matchTrigger('focus') && triggerNode.focus();\n        } else {\n          if (matchTrigger('hover')) {\n            mouseleaveTimer && clearTimeout(mouseleaveTimer);\n            mouseleaveTimer = window.setTimeout(hidePopper, mouseLeaveDelay * 1000);\n          } else {\n            hidePopper();\n          }\n        }\n      };\n      var debounceHidePopper = lodash_debounce__WEBPACK_IMPORTED_MODULE_10___default()(handleHidePopper, 10, {\n        leading: true\n      });\n      var mapEvent = {\n        hover: 'mousemove',\n        click: 'mousedown',\n        focus: 'mousedown',\n        contextMenu: 'mousedown'\n      };\n      if (matchTrigger('hover')) {\n        triggerNode === null || triggerNode === void 0 ? void 0 : triggerNode.removeEventListener('mouseleave', debounceHidePopper);\n        popperNode === null || popperNode === void 0 ? void 0 : popperNode.removeEventListener('mouseleave', debounceHidePopper);\n        triggerNode === null || triggerNode === void 0 ? void 0 : triggerNode.addEventListener('mouseleave', debounceHidePopper);\n        popperNode === null || popperNode === void 0 ? void 0 : popperNode.addEventListener('mouseleave', debounceHidePopper);\n      }\n      Array.isArray(trigger) ? trigger.forEach(function (action) {\n        return document.addEventListener(mapEvent[action], debounceHidePopper);\n      }) : document.addEventListener(mapEvent[trigger], debounceHidePopper);\n      return function () {\n        triggerNode === null || triggerNode === void 0 ? void 0 : triggerNode.removeEventListener('mouseleave', debounceHidePopper);\n        popperNode === null || popperNode === void 0 ? void 0 : popperNode.removeEventListener('mouseleave', debounceHidePopper);\n        Array.isArray(trigger) ? trigger.forEach(function (action) {\n          return document.removeEventListener(mapEvent[action], debounceHidePopper);\n        }) : document.removeEventListener(mapEvent[trigger], debounceHidePopper);\n      };\n    }\n  }, [nextPlacement, evType, exist, getTriggerElement, hidePopper, locatorRef, mouseLeaveDelay, popperRef, visible]);\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    if (visible) {\n      var scrollAlign = lodash_debounce__WEBPACK_IMPORTED_MODULE_10___default()(function (e) {\n        var isPopperScroll = e.target === popperRef.current || popperRef.current.contains(e.target);\n        if (scrollHidden && !isPopperScroll) {\n          props.visible === undefined && setVisible(false);\n          onVisibleChange && onVisibleChange(false);\n        }\n        alignPopper();\n      }, 10);\n      window.addEventListener('resize', alignPopper);\n      document.addEventListener('scroll', scrollAlign, true);\n      return function () {\n        window.removeEventListener('resize', alignPopper);\n        document.removeEventListener('scroll', scrollAlign, true);\n      };\n    }\n  }, [alignPopper, exist, onVisibleChange, popperNode, props.visible, scrollHidden, locatorNode, visible, popperRef]);\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    var realDom = getRealDom(locatorRef, locatorElement);\n    var triggerNode = getTriggerElement(realDom);\n    if (triggerNode) {\n      var mouseenterTimer;\n      var clearMouseLeave = function clearMouseLeave() {\n        return clearTimeout(mouseenterTimer);\n      };\n      var addAction = function addAction(action) {\n        if (action === 'hover') {\n          triggerNode.addEventListener('mouseenter', debounceShowPopper);\n          triggerNode.addEventListener('mouseleave', clearMouseLeave);\n        } else {\n          triggerNode.addEventListener(action, debounceShowPopper);\n        }\n      };\n      var removeAction = function removeAction(action) {\n        if (action === 'hover') {\n          triggerNode.removeEventListener('mouseenter', debounceShowPopper);\n          triggerNode.removeEventListener('mouseleave', clearMouseLeave);\n        } else {\n          triggerNode.removeEventListener(action, debounceShowPopper);\n        }\n      };\n      var handleShowPopper = function handleShowPopper(e) {\n        e.preventDefault();\n        if (e.type === 'contextmenu') {\n          var currentMousePos = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, mousePos), {\n            left: e.pageX,\n            top: e.pageY,\n            right: e.pageX,\n            bottom: e.pageY\n          });\n          setMousePos(currentMousePos);\n        }\n        if (e.type === 'mouseenter') {\n          mouseenterTimer = window.setTimeout(function () {\n            return showPopper(e.type);\n          }, mouseEnterDelay * 1000);\n        } else if (e.type === 'mouseup' && visible) {\n          clickToClose && hidePopper();\n        } else {\n          showPopper(e.type);\n        }\n      };\n      var debounceShowPopper = lodash_debounce__WEBPACK_IMPORTED_MODULE_10___default()(handleShowPopper, 10, {\n        leading: true\n      });\n      var mapEvent = {\n        hover: 'hover',\n        click: 'mouseup',\n        focus: 'focus',\n        contextMenu: 'contextmenu'\n      };\n      Array.isArray(trigger) ? trigger.forEach(function (action) {\n        return addAction(mapEvent[action]);\n      }) : addAction(mapEvent[trigger]);\n      return function () {\n        Array.isArray(trigger) ? trigger.forEach(function (action) {\n          return removeAction(mapEvent[action]);\n        }) : removeAction(mapEvent[trigger]);\n      };\n    }\n  }, [getTriggerElement, hidePopper, locatorRef, mouseEnterDelay, mousePos, showPopper, trigger, visible]);\n  var Locator = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_8__.cloneElement)(locatorElement, {\n    ref: locatorRef\n  });\n  var Popper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, popperProps), popperElement);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement((react__WEBPACK_IMPORTED_MODULE_8___default().Fragment), null, Locator, exist && container && /*#__PURE__*/react_dom__WEBPACK_IMPORTED_MODULE_9___default().createPortal(Popper, container));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (usePopper);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/_utils/usePopper.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/alert/alert.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/alert/alert.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   AlertTypes: function() { return /* binding */ AlertTypes; },\n/* harmony export */   allBannerAlertPortals: function() { return /* binding */ allBannerAlertPortals; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/from */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?fcc5\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../_utils/hooks */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n\n\n\n\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\n\nvar AlertTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_12__.tuple)('success', 'info', 'warning', 'error');\nvar IconTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_12__.tuple)('right-solid', 'notice', 'warning-solid', 'warning-solid');\nvar allBannerAlertPortals = new (_babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_4___default())();\nvar allBannerAlertPortalsContainer = document.querySelector('body');\nvar setContainerStyle = function setContainerStyle(dom, posInfo) {\n  var styles = {\n    left: posInfo[0] + 'px',\n    top: posInfo[1] + 'px'\n  };\n  _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5___default()(styles).forEach(function (prop) {\n    dom.style.setProperty(prop, styles[prop]);\n  });\n};\n/**\n * @description 创建悬浮顶部的反馈浮层容器\n * @param alertContainer 反馈浮层容器ref\n * @param alertPrefixCls 反馈浮层前缀class\n * @param bannerOffset 反馈浮层悬浮顶部的坐标量\n *\n */\nfunction createAlertContainer(alertContainer, alertPrefixCls, bannerOffset) {\n  var posKey = bannerOffset.join(',');\n  var container = document.createElement('div');\n  container.classList.add(\"\".concat(alertPrefixCls, \"-banner-container\"));\n  // container.classList.add(`${alertPrefixCls}-banner-container-flex`)\n  setContainerStyle(container, bannerOffset);\n  alertContainer.current = container;\n  allBannerAlertPortalsContainer.appendChild(container);\n  allBannerAlertPortals.set(posKey, container);\n}\nvar Alert = function Alert(props) {\n  var _classNames, _classNames2;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_9__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_13__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var alertProps = (0,_utils__WEBPACK_IMPORTED_MODULE_14__.getCompProps)('Alert', userDefaultProps, props); // 属性需要合并一遍用户定义的默认属性\n  var type = alertProps.type,\n    message = alertProps.message,\n    showIcon = alertProps.showIcon,\n    icon = alertProps.icon,\n    className = alertProps.className,\n    style = alertProps.style,\n    customPrefixcls = alertProps.prefixCls,\n    closable = alertProps.closable,\n    closeNode = alertProps.closeNode,\n    delayOffTime = alertProps.delayOffTime,\n    onClose = alertProps.onClose,\n    extra = alertProps.extra,\n    banner = alertProps.banner,\n    bannerOffset = alertProps.bannerOffset,\n    othersProps = __rest(alertProps, [\"type\", \"message\", \"showIcon\", \"icon\", \"className\", \"style\", \"prefixCls\", \"closable\", \"closeNode\", \"delayOffTime\", \"onClose\", \"extra\", \"banner\", \"bannerOffset\"]);\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_15__[\"default\"])(AlertTypes.indexOf(type) === -1, 'alert', \"cannot found alert type '\".concat(type, \"'\"));\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)(true),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    visible = _useState2[0],\n    setVisible = _useState2[1];\n  var previousBannerOffset = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_16__.usePrevious)(bannerOffset);\n  var timerRef = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)();\n  var alertRef = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)(null);\n  var alertContainer = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)(allBannerAlertPortalsContainer);\n  var forceUpdate = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)(0)[1];\n  var previousMessage = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_16__.usePrevious)(message);\n  var alertPrefixCls = getPrefixCls(prefixCls, 'alert', customPrefixcls);\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    if (banner) {\n      var previousPosKey = previousBannerOffset.join(',');\n      var posKey = bannerOffset.join(',');\n      if (previousPosKey !== posKey || !alertContainer.current || alertContainer.current === allBannerAlertPortalsContainer) {\n        var oldContainer = allBannerAlertPortals.get(previousPosKey);\n        setTimeout(function () {\n          var _a;\n          if (((_a = oldContainer === null || oldContainer === void 0 ? void 0 : oldContainer.children) === null || _a === void 0 ? void 0 : _a.length) === 0) {\n            var _context;\n            _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6___default()(_context = _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_7___default()(allBannerAlertPortalsContainer.children)).call(_context, oldContainer) && allBannerAlertPortalsContainer.removeChild(oldContainer);\n            allBannerAlertPortals.delete(previousPosKey);\n          }\n        }, 0);\n        var newContainer = allBannerAlertPortals.get(posKey);\n        if (newContainer) {\n          alertContainer.current = newContainer;\n        } else {\n          createAlertContainer(alertContainer, alertPrefixCls, bannerOffset);\n        }\n      }\n      forceUpdate(function (val) {\n        return val + 1;\n      });\n    }\n  }, [banner, bannerOffset, previousBannerOffset, forceUpdate, alertPrefixCls]);\n  var showAlert = function showAlert() {\n    setVisible(true);\n  };\n  var hideAlert = (0,react__WEBPACK_IMPORTED_MODULE_9__.useCallback)(function () {\n    timerRef.current = window.setTimeout(function () {\n      setVisible(false);\n    }, delayOffTime);\n  }, [delayOffTime]);\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    if (delayOffTime === 0 || message !== previousMessage) {\n      showAlert();\n      clearTimer();\n    }\n    if (delayOffTime === 0) {\n      return function () {\n        clearTimeout(timerRef.current);\n      };\n    }\n    hideAlert();\n    return function () {\n      clearTimeout(timerRef.current);\n    };\n  }, [delayOffTime, message, previousMessage, timerRef, hideAlert]);\n  var alertClasses = classnames__WEBPACK_IMPORTED_MODULE_11___default()(alertPrefixCls, className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(alertPrefixCls, \"-closable\"), closable), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(alertPrefixCls, \"-banner\"), banner), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(alertPrefixCls, \"-leave\"), !visible || !message), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(alertPrefixCls, \"-visible\"), visible && message), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(alertPrefixCls, \"-container\"), true), _classNames));\n  var handleClose = function handleClose() {\n    onClose && onClose();\n    setVisible(false);\n    clearTimer();\n  };\n  function clearTimer() {\n    if (timerRef.current) {\n      clearTimeout(timerRef.current);\n      timerRef.current = undefined;\n    }\n  }\n  function handleMouseOut() {\n    hideAlert();\n  }\n  var events = {};\n  if (delayOffTime) {\n    events.onMouseOver = clearTimer;\n    events.onMouseOut = handleMouseOut;\n  }\n  var alertIconType = IconTypes[AlertTypes.indexOf(type)];\n  var getAlertColorType = function getAlertColorType(mode) {\n    var _context2;\n    return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_8___default()(_context2 = \"alert-\".concat(type, \"-\")).call(_context2, mode, \"-color\");\n  };\n  var iconNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_11___default()(\"\".concat(alertPrefixCls, \"-icon\"), getAlertColorType('icon'))\n  }, icon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(_index__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n    type: alertIconType\n  }));\n  var AlertComp = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    className: classnames__WEBPACK_IMPORTED_MODULE_11___default()(alertClasses, getAlertColorType('bg'), getAlertColorType('border'))\n  }, events, {\n    ref: alertRef,\n    style: style\n  }, othersProps), showIcon && iconNode, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_11___default()((_classNames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(alertPrefixCls, \"-message\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(alertPrefixCls, \"-without-icon-message\"), !showIcon), _classNames2))\n  }, message), extra, closable && type !== 'success' && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"div\", {\n    className: \"\".concat(alertPrefixCls, \"-close-icon\"),\n    onClick: handleClose\n  }, closeNode || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(_index__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n    type: \"close\"\n  })));\n  if (banner) {\n    return /*#__PURE__*/react_dom__WEBPACK_IMPORTED_MODULE_10___default().createPortal(AlertComp, alertContainer.current);\n  } else {\n    return AlertComp;\n  }\n};\nAlert.displayName = 'Alert';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Alert);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/alert/alert.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/alert/index.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/alert/index.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _alert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./alert */ \"../../node_modules/@kdcloudjs/kdesign/es/alert/alert.js\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_alert__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/alert/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/anchor/anchor-link.js":
/*!**********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/anchor/anchor-link.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./context */ \"../../node_modules/@kdcloudjs/kdesign/es/anchor/context.js\");\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../_utils/hooks */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js\");\n\n\n\n\n\n\nvar AnchorLink = function AnchorLink(props) {\n  var customPrefixcls = props.prefixCls,\n    href = props.href,\n    title = props.title,\n    children = props.children,\n    className = props.className,\n    isFirstLevel = props.isFirstLevel;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_3__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var anchorLinkPrefixCls = getPrefixCls(prefixCls, 'anchor', customPrefixcls); // 锚点样式前缀\n  var _useContext2 = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(_context__WEBPACK_IMPORTED_MODULE_4__[\"default\"]),\n    activeLink = _useContext2.activeLink,\n    scrollTo = _useContext2.scrollTo,\n    onClick = _useContext2.onClick,\n    type = _useContext2.type,\n    registerLink = _useContext2.registerLink;\n  var prevHref = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_5__.usePrevious)(href);\n  var mounting = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(true);\n  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () {\n    if (mounting.current) {\n      registerLink(href);\n      mounting.current = false;\n      return;\n    }\n    if (prevHref !== href) {\n      registerLink(href);\n    }\n  }, [href, registerLink, prevHref]);\n  var handleClick = function handleClick(e) {\n    onClick === null || onClick === void 0 ? void 0 : onClick(e, {\n      title: title,\n      href: href\n    });\n    scrollTo(href);\n  };\n  var renderAnchorLink = function renderAnchorLink() {\n    var _classNames2;\n    var active = activeLink === href;\n    var anchorLinkClasses = classnames__WEBPACK_IMPORTED_MODULE_2___default()(\"\".concat(anchorLinkPrefixCls, \"-link\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(anchorLinkPrefixCls, \"-link-active\"), active), className);\n    var titleClassName = classnames__WEBPACK_IMPORTED_MODULE_2___default()(\"\".concat(anchorLinkPrefixCls, \"-link-title\"), (_classNames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(anchorLinkPrefixCls, \"-link-title-active\"), active), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(anchorLinkPrefixCls, \"-link-title-secondary\"), !isFirstLevel && type === 'bookmarks'), _classNames2));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n      className: anchorLinkClasses\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"span\", {\n      title: typeof title === 'string' ? title : '',\n      className: titleClassName,\n      onClick: handleClick\n    }, title), type !== 'menu' && children);\n  };\n  return renderAnchorLink();\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (AnchorLink);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/anchor/anchor-link.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/anchor/anchor.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/anchor/anchor.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   AnchorTypes: function() { return /* binding */ AnchorTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/from */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./context */ \"../../node_modules/@kdcloudjs/kdesign/es/anchor/context.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _utils_usePopper__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../_utils/usePopper */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/usePopper.js\");\n/* harmony import */ var _utils_react_children__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../_utils/react-children */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/react-children.js\");\n/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../_utils/hooks */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar sharpMatcherRegx = /#(\\S+)$/;\nvar AnchorTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_10__.tuple)('bookmarks', 'menu', 'advanced');\nfunction getDefaultContainer() {\n  return window;\n}\nfunction getOffsetTop(element, container) {\n  if (!element.getClientRects().length) {\n    return 0;\n  }\n  var rect = element.getBoundingClientRect();\n  if (rect.width || rect.height) {\n    if (container === window) {\n      container = element.ownerDocument.documentElement;\n      return rect.top - container.clientTop;\n    }\n    return rect.top - container.getBoundingClientRect().top;\n  }\n  return rect.top;\n}\nfunction isWindow(obj) {\n  return obj !== null && obj !== undefined && obj === obj.window;\n}\nfunction getScroll(target, top) {\n  var _a;\n  if (typeof window === 'undefined') {\n    return 0;\n  }\n  var method = top ? 'scrollTop' : 'scrollLeft';\n  var result = 0;\n  if (isWindow(target)) {\n    result = target[top ? 'pageYOffset' : 'pageXOffset'];\n  } else if (target instanceof Document) {\n    result = target.documentElement[method];\n  } else if (target) {\n    result = target[method];\n  }\n  if (target && !isWindow(target) && typeof result !== 'number') {\n    result = (_a = (target.ownerDocument || target).documentElement) === null || _a === void 0 ? void 0 : _a[method];\n  }\n  return result;\n}\nfunction easeInOutCubic(t, b, c, d) {\n  var cc = c - b;\n  t /= d / 2;\n  if (t < 1) {\n    return cc / 2 * t * t * t + b;\n  }\n  return cc / 2 * ((t -= 2) * t * t + 2) + b;\n}\nfunction scrollTo(y) {\n  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  var _options$getContainer = options.getContainer,\n    getContainer = _options$getContainer === void 0 ? function () {\n      return window;\n    } : _options$getContainer,\n    callback = options.callback,\n    _options$duration = options.duration,\n    duration = _options$duration === void 0 ? 450 : _options$duration;\n  var container = getContainer();\n  var scrollTop = getScroll(container, true);\n  var startTime = Date.now();\n  var frameFunc = function frameFunc() {\n    var timestamp = Date.now();\n    var time = timestamp - startTime;\n    var nextScrollTop = easeInOutCubic(time > duration ? duration : time, scrollTop, y, duration);\n    if (isWindow(container)) {\n      ;\n      container.scrollTo(window.pageXOffset, nextScrollTop);\n    } else if (container instanceof HTMLDocument || container.constructor.name === 'HTMLDocument') {\n      ;\n      container.documentElement.scrollTop = nextScrollTop;\n    } else {\n      ;\n      container.scrollTop = nextScrollTop;\n    }\n    if (time < duration) {\n      window.requestAnimationFrame(frameFunc);\n    } else if (typeof callback === 'function') {\n      callback();\n    }\n  };\n  window.requestAnimationFrame(frameFunc);\n}\nvar InternalAnchor = function InternalAnchor(props, ref) {\n  var _a;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_8__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_11__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var anchorProps = (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getCompProps)('Anchor', userDefaultProps, props);\n  var customPrefixcls = anchorProps.prefixCls,\n    className = anchorProps.className,\n    children = anchorProps.children,\n    type = anchorProps.type,\n    onChange = anchorProps.onChange,\n    onClick = anchorProps.onClick,\n    getCurrentAnchor = anchorProps.getCurrentAnchor,\n    _anchorProps$offsetTo = anchorProps.offsetTop,\n    offsetTop = _anchorProps$offsetTo === void 0 ? 0 : _anchorProps$offsetTo,\n    targetOffset = anchorProps.targetOffset,\n    getContainer = anchorProps.getContainer,\n    _anchorProps$bounds = anchorProps.bounds,\n    bounds = _anchorProps$bounds === void 0 ? 5 : _anchorProps$bounds,\n    style = anchorProps.style,\n    _anchorProps$lockedIc = anchorProps.lockedIcon,\n    lockedIcon = _anchorProps$lockedIc === void 0 ? true : _anchorProps$lockedIc,\n    icon = anchorProps.icon,\n    affix = anchorProps.affix,\n    dropdownStyle = anchorProps.dropdownStyle,\n    onVisibleChange = anchorProps.onVisibleChange;\n  var anchorPrefixCls = getPrefixCls(prefixCls, 'anchor', customPrefixcls); // 锚点样式前缀\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(AnchorTypes.indexOf(type) === -1, 'anchor', \"cannot found anchor type '\".concat(type, \"'\"));\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(null),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState, 2),\n    activeLink = _useState2[0],\n    setActiveLink = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(false),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState3, 2),\n    fixedTop = _useState4[0],\n    setFixedTop = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)([]),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState5, 2),\n    links = _useState6[0],\n    setLinks = _useState6[1];\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)({}),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState7, 2),\n    anchorPosition = _useState8[0],\n    setAnchorPosition = _useState8[1];\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(0),\n    _useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState9, 2),\n    listWidth = _useState10[0],\n    setListWidth = _useState10[1];\n  var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(0),\n    _useState12 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState11, 2),\n    menuWrapWidth = _useState12[0],\n    setMenuWrapWidth = _useState12[1];\n  var _useState13 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(0),\n    _useState14 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState13, 2),\n    listPostion = _useState14[0],\n    setListPosition = _useState14[1];\n  var _useState15 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)([0]),\n    _useState16 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState15, 2),\n    positionHistory = _useState16[0],\n    setPositionHistory = _useState16[1];\n  var _useState17 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(!!props.visible),\n    _useState18 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState17, 2),\n    optionShow = _useState18[0],\n    setOptionShow = _useState18[1];\n  var _useState19 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(false),\n    _useState20 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState19, 2),\n    isLocked = _useState20[0],\n    setIsLocked = _useState20[1];\n  var isAdcanced = type === 'advanced';\n  // ref\n  var wrapperRef = react__WEBPACK_IMPORTED_MODULE_8___default().useRef(null);\n  var inkRef = react__WEBPACK_IMPORTED_MODULE_8___default().useRef(null);\n  var linkContentRef = react__WEBPACK_IMPORTED_MODULE_8___default().useRef(null);\n  var iconRef = react__WEBPACK_IMPORTED_MODULE_8___default().useRef(null);\n  var menuWrapRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createRef();\n  var normalRef = react__WEBPACK_IMPORTED_MODULE_8___default().useRef(null);\n  var anchorRef = ref || normalRef;\n  var linksWidthRef = react__WEBPACK_IMPORTED_MODULE_8___default().useRef([]);\n  var animating = react__WEBPACK_IMPORTED_MODULE_8___default().useRef(false);\n  var wrapperClass = classnames__WEBPACK_IMPORTED_MODULE_9___default()(className, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, \"\".concat(anchorPrefixCls, \"-wrapper\"), true));\n  // classes\n  var anchorMenuClass = classnames__WEBPACK_IMPORTED_MODULE_9___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, \"\".concat(anchorPrefixCls, \"-menu\"), true));\n  var anchorAdvancedClass = classnames__WEBPACK_IMPORTED_MODULE_9___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, \"\".concat(anchorPrefixCls, \"-advanced\"), true));\n  var inkClass = classnames__WEBPACK_IMPORTED_MODULE_9___default()(\"\".concat(anchorPrefixCls, \"-line-slider\"), {\n    visible: activeLink\n  });\n  react__WEBPACK_IMPORTED_MODULE_8___default().useEffect(function () {\n    setOptionShow(!!props.visible);\n  }, [props.visible]);\n  var updateInk = (0,react__WEBPACK_IMPORTED_MODULE_8__.useCallback)(function () {\n    var anchorNode = (isAdcanced ? wrapperRef : anchorRef).current;\n    var inkNode = inkRef.current;\n    var linkNode = anchorNode === null || anchorNode === void 0 ? void 0 : anchorNode.getElementsByClassName(\"\".concat(anchorPrefixCls, \"-link-title-active\"))[0];\n    if (linkNode && inkNode) {\n      inkNode.style.top = \"\".concat(linkNode.offsetTop + 1, \"px\");\n    }\n  }, [anchorPrefixCls, anchorRef, isAdcanced]);\n  var mounting = react__WEBPACK_IMPORTED_MODULE_8___default().useRef(true);\n  // eslint-disable-next-line react-hooks/exhaustive-deps\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    var _a;\n    if (mounting.current) {\n      mounting.current = false;\n      if (linkContentRef.current) {\n        var _context;\n        var nodelist = (_a = linkContentRef.current) === null || _a === void 0 ? void 0 : _a.children;\n        var linksWidth = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default()(_context = _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_5___default()(nodelist)).call(_context, function (item) {\n          return item.getBoundingClientRect().width;\n        });\n        linksWidthRef.current = linksWidth;\n      }\n      return;\n    }\n    updateInk();\n  });\n  (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_14__.useResizeObserver)(anchorRef.current, function () {\n    var _context2;\n    var _a;\n    var nodelist = (_a = linkContentRef.current) === null || _a === void 0 ? void 0 : _a.children;\n    if (!nodelist) return;\n    var linksWidth = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_5___default()(nodelist)).call(_context2, function (item) {\n      return item.getBoundingClientRect().width;\n    });\n    linksWidthRef.current = linksWidth;\n  });\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    if (linkContentRef.current) {\n      setTimeout(function () {\n        var _a;\n        var width = ((_a = linkContentRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width) || 0;\n        setListWidth(width);\n      }, 0);\n    }\n  }, [linkContentRef, menuWrapRef, children]);\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    if (menuWrapRef.current) {\n      setTimeout(function () {\n        var _a;\n        setMenuWrapWidth(((_a = menuWrapRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width) || 0);\n      }, 0);\n    }\n  }, [menuWrapRef]);\n  var registerLink = function registerLink(link) {\n    if (!_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6___default()(links).call(links, link)) {\n      setLinks(function (pre) {\n        var _context3;\n        return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7___default()(_context3 = []).call(_context3, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(pre), [link]);\n      });\n    }\n  };\n  var getScrollContainer = (0,react__WEBPACK_IMPORTED_MODULE_8__.useCallback)(function () {\n    var getFunc = getContainer || getDefaultContainer;\n    return getFunc();\n  }, [getContainer]);\n  var getAnchor = (0,react__WEBPACK_IMPORTED_MODULE_8__.useCallback)(function () {\n    var offsetTop = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n    var bounds = arguments.length > 1 ? arguments[1] : undefined;\n    var linkSections = [];\n    var container = getScrollContainer();\n    links.forEach(function (link) {\n      var sharpLinkMatch = sharpMatcherRegx.exec(link.toString());\n      if (!sharpLinkMatch) {\n        return;\n      }\n      var target = document.getElementById(sharpLinkMatch[1]);\n      if (target) {\n        var top = getOffsetTop(target, container);\n        if (top < offsetTop + bounds) {\n          linkSections.push({\n            link: link,\n            top: top\n          });\n        }\n      }\n    });\n    if (linkSections.length) {\n      var maxSection = linkSections.reduce(function (prev, curr) {\n        return curr.top > prev.top ? curr : prev;\n      });\n      return maxSection.link;\n    }\n    return '';\n  }, [getScrollContainer, links]);\n  var handleScrollTo = function handleScrollTo(link) {\n    setCurrentActiveLink(link);\n    var container = getScrollContainer();\n    var scrollTop = getScroll(container, true);\n    var sharpLinkMatch = sharpMatcherRegx.exec(link);\n    if (!sharpLinkMatch) {\n      return;\n    }\n    var targetElement = document.getElementById(sharpLinkMatch[1]);\n    if (!targetElement) {\n      return;\n    }\n    var eleOffsetTop = getOffsetTop(targetElement, container);\n    var y = scrollTop + eleOffsetTop;\n    y -= targetOffset !== undefined ? targetOffset : offsetTop || 0;\n    animating.current = true;\n    scrollTo(y, {\n      getContainer: getScrollContainer,\n      callback: function callback() {\n        animating.current = false;\n      }\n    });\n  };\n  var setCurrentActiveLink = (0,react__WEBPACK_IMPORTED_MODULE_8__.useCallback)(function (link) {\n    if (activeLink === link) {\n      return undefined;\n    }\n    setActiveLink(typeof getCurrentAnchor === 'function' ? getCurrentAnchor() : link);\n    onChange === null || onChange === void 0 ? void 0 : onChange(link);\n  }, [onChange, setActiveLink, activeLink, getCurrentAnchor]);\n  var handleScroll = (0,react__WEBPACK_IMPORTED_MODULE_8__.useCallback)(function () {\n    if (affix && type !== 'advanced' && anchorRef.current) {\n      var container = getScrollContainer();\n      var top = getOffsetTop(anchorRef.current, container);\n      if (top <= offsetTop) {\n        setFixedTop(true);\n      }\n      if (top > offsetTop) {\n        setFixedTop(false);\n      }\n    }\n    if (animating.current) {\n      return;\n    }\n    var currentActiveLink = getAnchor(targetOffset !== undefined ? targetOffset : offsetTop || 0, bounds);\n    currentActiveLink && setCurrentActiveLink(currentActiveLink);\n  }, [affix, setFixedTop, offsetTop, bounds, getAnchor, setCurrentActiveLink, type, getScrollContainer, anchorRef, targetOffset]);\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    getScrollContainer().addEventListener('scroll', handleScroll);\n    handleScroll();\n    return function () {\n      var _a;\n      return (_a = getScrollContainer()) === null || _a === void 0 ? void 0 : _a.removeEventListener('scroll', handleScroll);\n    };\n  }, [handleScroll, getScrollContainer]);\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    if (!isAdcanced && anchorRef && anchorRef.current) {\n      var _anchorRef$current$ge = anchorRef.current.getBoundingClientRect(),\n        top = _anchorRef$current$ge.top,\n        width = _anchorRef$current$ge.width,\n        height = _anchorRef$current$ge.height;\n      setAnchorPosition({\n        top: top,\n        width: width,\n        height: height\n      });\n    }\n  }, [anchorRef, getScrollContainer, isAdcanced]);\n  var handleVisibleChange = function handleVisibleChange(visible) {\n    !isLocked && onVisibleChange && onVisibleChange(visible);\n    if (props.visible !== undefined) return;\n    !isLocked && setOptionShow(visible);\n  };\n  var popperProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    autoPlacement: false\n  }, anchorProps), {\n    prefixCls: anchorPrefixCls,\n    defaultVisible: optionShow,\n    visible: optionShow,\n    gap: -(((_a = (ref || iconRef).current) === null || _a === void 0 ? void 0 : _a.offsetHeight) || 0),\n    onVisibleChange: handleVisibleChange\n  });\n  var fixedRef = react__WEBPACK_IMPORTED_MODULE_8___default().useRef(null);\n  if (type === 'advanced' && isLocked) {\n    if (fixedRef.current) {\n      var _fixedRef$current$get = fixedRef.current.getBoundingClientRect(),\n        left = _fixedRef$current$get.left,\n        top = _fixedRef$current$get.top;\n      popperProps.popperStyle = {\n        position: 'fixed',\n        left: left,\n        top: top\n      };\n    }\n  }\n  var addChildrenProps = function addChildrenProps(linksChildren) {\n    var _context4;\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default()(_context4 = (0,_utils_react_children__WEBPACK_IMPORTED_MODULE_15__.toArray)(linksChildren)).call(_context4, function (item, indx) {\n      if (!item) return item;\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().cloneElement(item, {\n        isFirstLevel: true,\n        key: indx\n      });\n    });\n  };\n  var anchorBookmarksContent = function anchorBookmarksContent(ref) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", {\n      ref: ref,\n      className: wrapperClass,\n      style: style\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", {\n      className: anchorPrefixCls,\n      style: fixedTop ? {\n        position: 'fixed',\n        top: offsetTop || 0,\n        width: anchorPosition.width\n      } : undefined\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", {\n      className: \"\".concat(anchorPrefixCls, \"-line\")\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"span\", {\n      className: inkClass,\n      ref: inkRef\n    })), addChildrenProps(children)));\n  };\n  var renderLeftArrow = function renderLeftArrow() {\n    var leftClasses = classnames__WEBPACK_IMPORTED_MODULE_9___default()(\"\".concat(anchorMenuClass, \"-left-arrows\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, \"\".concat(anchorMenuClass, \"-left-arrows-disabled\"), listPostion === 0));\n    var handleLeft = function handleLeft() {\n      if (listPostion === 0) return;\n      var positions = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(positionHistory);\n      positions.pop();\n      setPositionHistory(positions);\n      setListPosition(positions[positions.length - 1]);\n    };\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"span\", {\n      className: leftClasses,\n      onClick: handleLeft\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_index__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n      type: \"arrow-left\"\n    }));\n  };\n  var findCurrentLinkPosition = function findCurrentLinkPosition(linksWidth, boxWidth, position) {\n    if (!linksWidth.length) return 0;\n    var offset = 0;\n    for (var index = 0; index < linksWidth.length - 1; index++) {\n      if (linksWidth[index] + offset < boxWidth - position) {\n        offset += linksWidth[index];\n      }\n    }\n    return offset;\n  };\n  var renderRightArrow = function renderRightArrow() {\n    var canActionRightArrow = listPostion === menuWrapWidth - listWidth;\n    var rightClasses = classnames__WEBPACK_IMPORTED_MODULE_9___default()(\"\".concat(anchorMenuClass, \"-right-arrows\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, \"\".concat(anchorMenuClass, \"-right-arrows-disabled\"), canActionRightArrow));\n    var handleRight = function handleRight() {\n      if (canActionRightArrow) return;\n      var offset = findCurrentLinkPosition(linksWidthRef.current, menuWrapWidth, listPostion);\n      var posiostion = offset + menuWrapWidth >= listWidth ? menuWrapWidth - listWidth : -offset;\n      setPositionHistory(function (pre) {\n        var _context5;\n        return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7___default()(_context5 = []).call(_context5, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(pre), [posiostion]);\n      });\n      setListPosition(posiostion);\n    };\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"span\", {\n      className: rightClasses,\n      onClick: handleRight\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_index__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n      type: \"arrow-right\"\n    }));\n  };\n  var anchorMenuContent = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", {\n    ref: anchorRef,\n    className: \"\".concat(anchorPrefixCls, \"-menu-wrapper\"),\n    style: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n      width: '100%'\n    }, style)\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", {\n    className: anchorMenuClass,\n    style: fixedTop ? {\n      position: 'fixed',\n      top: offsetTop || 0,\n      width: (style === null || style === void 0 ? void 0 : style.width) || '100px'\n    } : {\n      width: style === null || style === void 0 ? void 0 : style.width\n    }\n  }, renderLeftArrow(), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", {\n    className: \"\".concat(anchorPrefixCls, \"-menu-wrap\"),\n    ref: menuWrapRef,\n    style: {\n      maxWidth: listWidth\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", {\n    ref: linkContentRef,\n    className: \"\".concat(anchorPrefixCls, \"-menu-link-list\"),\n    style: {\n      left: \"\".concat(listPostion, \"px\")\n    }\n  }, children)), renderRightArrow()));\n  var renderAnchorAdvanced = function renderAnchorAdvanced() {\n    var iconList = (0,_utils_react_children__WEBPACK_IMPORTED_MODULE_15__.toArray)(lockedIcon);\n    var unlock = iconList[0] || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_index__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n      type: \"unlock-solid\"\n    });\n    var lock = iconList[1] || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_index__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n      type: \"lock-solid\"\n    });\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", {\n      ref: fixedRef,\n      className: anchorAdvancedClass,\n      style: dropdownStyle\n    }, lockedIcon !== false && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"span\", {\n      className: \"\".concat(anchorPrefixCls, \"-advanced-lock\"),\n      onClick: function onClick() {\n        return setIsLocked(!isLocked);\n      }\n    }, isLocked ? lock : unlock), anchorBookmarksContent(wrapperRef));\n  };\n  var anchorAdvancedContent = (0,_utils_usePopper__WEBPACK_IMPORTED_MODULE_17__[\"default\"])( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"span\", {\n    className: \"\".concat(anchorPrefixCls, \"-advanced-arrows\"),\n    ref: isAdcanced ? ref || iconRef : null\n  }, icon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_index__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    type: \"location-solid\"\n  })), renderAnchorAdvanced(), popperProps);\n  var renderAnchorContent = function renderAnchorContent(anchorType) {\n    switch (anchorType) {\n      case 'bookmarks':\n        return anchorBookmarksContent(anchorRef);\n      case 'menu':\n        return anchorMenuContent;\n      case 'advanced':\n        return anchorAdvancedContent;\n      default:\n        return anchorBookmarksContent(anchorRef);\n    }\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_context__WEBPACK_IMPORTED_MODULE_18__[\"default\"].Provider, {\n    value: {\n      registerLink: registerLink,\n      activeLink: activeLink,\n      scrollTo: handleScrollTo,\n      onClick: onClick,\n      type: type\n    }\n  }, renderAnchorContent(type));\n};\nvar Anchor = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().forwardRef(InternalAnchor);\nAnchor.displayName = 'Anchor';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Anchor);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/anchor/anchor.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/anchor/context.js":
/*!******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/anchor/context.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\nvar AnchorContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null);\n/* harmony default export */ __webpack_exports__[\"default\"] = (AnchorContext);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/anchor/context.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/anchor/index.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/anchor/index.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _anchor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./anchor */ \"../../node_modules/@kdcloudjs/kdesign/es/anchor/anchor.js\");\n/* harmony import */ var _anchor_link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./anchor-link */ \"../../node_modules/@kdcloudjs/kdesign/es/anchor/anchor-link.js\");\n\n\nvar Anchor = _anchor__WEBPACK_IMPORTED_MODULE_0__[\"default\"];\nAnchor.Link = _anchor_link__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\n/* harmony default export */ __webpack_exports__[\"default\"] = (Anchor);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/anchor/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/avatar/avatar.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/avatar/avatar.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   AvatarShapes: function() { return /* binding */ AvatarShapes; },\n/* harmony export */   AvatarSizes: function() { return /* binding */ AvatarSizes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n\n\n\n\n\n\n\n\n\n\n\nvar AvatarSizes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('large', 'middle', 'small', 'extra-small');\nvar AvatarShapes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('circle', 'square');\nvar InternalAvatar = function InternalAvatar(props, ref) {\n  var _classNames, _context, _classNames2;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var avatarProps = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCompProps)('Avatar', userDefaultProps, props);\n  var className = avatarProps.className,\n    style = avatarProps.style,\n    customPrefixcls = avatarProps.prefixCls,\n    shape = avatarProps.shape,\n    size = avatarProps.size,\n    icon = avatarProps.icon,\n    src = avatarProps.src,\n    draggable = avatarProps.draggable,\n    alt = avatarProps.alt,\n    children = avatarProps.children,\n    gap = avatarProps.gap,\n    disabled = avatarProps.disabled,\n    srcSet = avatarProps.srcSet;\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(AvatarSizes.indexOf(size) === -1 && typeof size !== 'number', 'avatar', \"cannot found avatar type '\".concat(size, \"'\"));\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(AvatarShapes.indexOf(shape) === -1, 'avatar', \"cannot found avatar shape '\".concat(shape, \"'\"));\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_4___default().useState(true),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_React$useState, 2),\n    isImgExist = _React$useState2[0],\n    setIsImgExist = _React$useState2[1];\n  var _React$useState3 = react__WEBPACK_IMPORTED_MODULE_4___default().useState(1),\n    _React$useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_React$useState3, 2),\n    scale = _React$useState4[0],\n    setScale = _React$useState4[1];\n  var _React$useState5 = react__WEBPACK_IMPORTED_MODULE_4___default().useState(false),\n    _React$useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_React$useState5, 2),\n    mounted = _React$useState6[0],\n    setMounted = _React$useState6[1];\n  // ref\n  var avatarRef = ref || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createRef();\n  var avatarChildrenRef = react__WEBPACK_IMPORTED_MODULE_4___default().useRef();\n  // class\n  var avatarPrefixCls = getPrefixCls(prefixCls, 'avatar', customPrefixcls);\n  var sizeClasses = classnames__WEBPACK_IMPORTED_MODULE_5___default()((_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(avatarPrefixCls, \"-lg\"), size === 'large'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(avatarPrefixCls, \"-md\"), size === 'middle'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(avatarPrefixCls, \"-sm\"), size === 'small'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(avatarPrefixCls, \"-xs\"), size === 'extra-small'), _classNames));\n  var hasImageElement = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().isValidElement(src);\n  var isShowDefaultIcon = !src && !icon && !children;\n  var avatarClasses = classnames__WEBPACK_IMPORTED_MODULE_5___default()(avatarPrefixCls, sizeClasses, (_classNames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(avatarPrefixCls, \"-\")).call(_context, shape), !!shape), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(avatarPrefixCls, \"-image\"), hasImageElement || src && isImgExist), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(avatarPrefixCls, \"-icon\"), !!icon || isShowDefaultIcon), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(avatarPrefixCls, \"-disabled\"), disabled), _classNames2), className);\n  var sizeStyle = typeof size === 'number' ? {\n    width: size,\n    height: size,\n    lineHeight: \"\".concat(size, \"px\"),\n    fontSize: icon ? size / 2 : 18\n  } : {};\n  react__WEBPACK_IMPORTED_MODULE_4___default().useEffect(function () {\n    setIsImgExist(true);\n    setScale(1);\n  }, [src]);\n  react__WEBPACK_IMPORTED_MODULE_4___default().useEffect(function () {\n    setScaleParam();\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n  }, [gap]);\n  react__WEBPACK_IMPORTED_MODULE_4___default().useEffect(function () {\n    setMounted(true);\n  }, []);\n  var handleImgLoadError = function handleImgLoadError() {\n    var onError = props.onError;\n    var errorFlag = onError ? onError() : undefined;\n    if (errorFlag !== false) {\n      setIsImgExist(false);\n    }\n  };\n  var setScaleParam = function setScaleParam() {\n    if (!avatarChildrenRef.current || !avatarRef.current) {\n      return;\n    }\n    var childrenWidth = avatarChildrenRef.current.offsetWidth;\n    var nodeWidth = avatarRef.current.offsetWidth;\n    if (childrenWidth !== 0 && nodeWidth !== 0) {\n      if (gap * 2 < nodeWidth) {\n        setScale(nodeWidth - gap * 2 < childrenWidth ? (nodeWidth - gap * 2) / childrenWidth : 1);\n      }\n    }\n  };\n  var childrenToRender;\n  if (typeof src === 'string' && isImgExist) {\n    childrenToRender = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"img\", {\n      src: src,\n      srcSet: srcSet,\n      draggable: draggable,\n      onError: handleImgLoadError,\n      alt: alt\n    });\n  } else if (hasImageElement) {\n    childrenToRender = src;\n  } else if (icon) {\n    childrenToRender = icon;\n  } else if (!children) {\n    childrenToRender = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_index__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n      type: \"avatar-solid\"\n    });\n  } else if (mounted || scale !== 1) {\n    var childrenStyle = {\n      transform: \"scale(\".concat(scale, \") translateX(-50%)\")\n    };\n    var sizeChildrenStyle = typeof size === 'number' ? {\n      lineHeight: \"\".concat(size, \"px\")\n    } : {};\n    childrenToRender = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n      className: \"\".concat(avatarPrefixCls, \"-string\"),\n      ref: function ref(node) {\n        avatarChildrenRef.current = node;\n      },\n      style: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, sizeChildrenStyle), childrenStyle)\n    }, children);\n  } else {\n    childrenToRender = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n      className: \"\".concat(avatarPrefixCls, \"-string\"),\n      style: {\n        opacity: 0\n      },\n      ref: function ref(node) {\n        avatarChildrenRef.current = node;\n      }\n    }, children);\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n    ref: avatarRef,\n    className: avatarClasses,\n    style: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, sizeStyle), style)\n  }, childrenToRender);\n};\nvar Avatar = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().forwardRef(InternalAvatar);\nAvatar.displayName = 'Avatar';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Avatar);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/avatar/avatar.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/avatar/index.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/avatar/index.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   AvatarShapes: function() { return /* reexport safe */ _avatar__WEBPACK_IMPORTED_MODULE_0__.AvatarShapes; },\n/* harmony export */   AvatarSizes: function() { return /* reexport safe */ _avatar__WEBPACK_IMPORTED_MODULE_0__.AvatarSizes; }\n/* harmony export */ });\n/* harmony import */ var _avatar__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./avatar */ \"../../node_modules/@kdcloudjs/kdesign/es/avatar/avatar.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_avatar__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/avatar/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/badge/badge.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/badge/badge.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   BadgeSizes: function() { return /* binding */ BadgeSizes; },\n/* harmony export */   PresetStatusColorTypes: function() { return /* binding */ PresetStatusColorTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_reactNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils/reactNode */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/reactNode.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\nvar PresetStatusColorTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_7__.tuple)('success', 'processing', 'error', 'default', 'warning');\nvar BadgeSizes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_7__.tuple)('default', 'small');\nvar Badge = function Badge(props) {\n  var _classNames, _context, _classNames2, _context2, _classNames3;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_5__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var badgeProps = (0,_utils__WEBPACK_IMPORTED_MODULE_9__.getCompProps)('Badge', userDefaultProps, props);\n  var customPrefixcls = badgeProps.prefixCls,\n    children = badgeProps.children,\n    status = badgeProps.status,\n    text = badgeProps.text,\n    color = badgeProps.color,\n    _badgeProps$count = badgeProps.count,\n    count = _badgeProps$count === void 0 ? null : _badgeProps$count,\n    _badgeProps$overflowC = badgeProps.overflowCount,\n    overflowCount = _badgeProps$overflowC === void 0 ? 99 : _badgeProps$overflowC,\n    _badgeProps$dot = badgeProps.dot,\n    dot = _badgeProps$dot === void 0 ? false : _badgeProps$dot,\n    _badgeProps$size = badgeProps.size,\n    size = _badgeProps$size === void 0 ? 'default' : _badgeProps$size,\n    title = badgeProps.title,\n    offset = badgeProps.offset,\n    style = badgeProps.style,\n    className = badgeProps.className,\n    _badgeProps$showZero = badgeProps.showZero,\n    showZero = _badgeProps$showZero === void 0 ? false : _badgeProps$showZero,\n    restProps = __rest(badgeProps, [\"prefixCls\", \"children\", \"status\", \"text\", \"color\", \"count\", \"overflowCount\", \"dot\", \"size\", \"title\", \"offset\", \"style\", \"className\", \"showZero\"]);\n  var badgePrefixCls = getPrefixCls(prefixCls, 'badge', customPrefixcls); // 徽标数样式前缀\n  // ================================ Misc ================================\n  var numberedDisplayCount = count > overflowCount ? \"\".concat(overflowCount, \"+\") : count;\n  var hasStatus = status !== null && status !== undefined || color !== null && color !== undefined;\n  var isZero = numberedDisplayCount === '0' || numberedDisplayCount === 0;\n  var isSingleNumber = !count || (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(count) !== 'object';\n  var showAsDot = hasStatus || !isZero && dot;\n  var mergedCount = showAsDot ? '' : numberedDisplayCount;\n  var isHidden = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(function () {\n    var isEmpty = mergedCount === null || mergedCount === undefined || mergedCount === '';\n    return (isEmpty || isZero && !showZero) && !showAsDot;\n  }, [mergedCount, isZero, showZero, showAsDot]);\n  var isDotRef = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(showAsDot);\n  if (!isHidden) {\n    isDotRef.current = showAsDot;\n  }\n  // =============================== Styles ===============================\n  var mergedStyle = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(function () {\n    if (!offset) {\n      return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, style);\n    }\n    var offsetStyle = {\n      marginTop: offset[1]\n    };\n    offsetStyle.right = -parseInt(offset[0], 10);\n    return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, offsetStyle), style);\n  }, [offset, style]);\n  // =============================== Render ===============================\n  var badgeClassName = classnames__WEBPACK_IMPORTED_MODULE_6___default()(badgePrefixCls, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(badgePrefixCls, \"-status\"), hasStatus), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(badgePrefixCls, \"-not-a-wrapper\"), !children), _classNames), className);\n  var isDot = isDotRef.current;\n  var scrollNumberCls = classnames__WEBPACK_IMPORTED_MODULE_6___default()((_classNames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(badgePrefixCls, \"-dot\"), isDot), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(badgePrefixCls, \"-count\"), !isDot), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(badgePrefixCls, \"-count-sm\"), size === 'small'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(badgePrefixCls, \"-multiple-words\"), !isDot && mergedCount && mergedCount.toString().length > 1), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = \"\".concat(badgePrefixCls, \"-status-\")).call(_context, status), !!status), _classNames2));\n  var statusCls = classnames__WEBPACK_IMPORTED_MODULE_6___default()((_classNames3 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames3, \"\".concat(badgePrefixCls, \"-status-dot\"), hasStatus), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames3, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = \"\".concat(badgePrefixCls, \"-status-\")).call(_context2, status), !!status), _classNames3));\n  var statusStyle = {};\n  if (color) {\n    statusStyle.background = color;\n  }\n  // Title\n  var titleNode = title !== null && title !== void 0 ? title : typeof count === 'string' || typeof count === 'number' ? count : undefined;\n  // Status Text\n  var statusTextNode = isHidden || !text ? null : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-status-text\")\n  }, text);\n  // Display Component\n  var displayNode = isSingleNumber ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"sup\", {\n    className: scrollNumberCls,\n    style: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, mergedStyle), {\n      backgroundColor: color\n    }),\n    title: titleNode\n  }, mergedCount) : (0,_utils_reactNode__WEBPACK_IMPORTED_MODULE_10__.cloneElement)(count, function (oriProps) {\n    return {\n      style: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, mergedStyle), oriProps.style),\n      className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(badgePrefixCls, \"-custom-component\"), oriProps === null || oriProps === void 0 ? void 0 : oriProps.className)\n    };\n  });\n  if (!children && hasStatus) {\n    var statusTextColor = mergedStyle.color;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, restProps, {\n      className: badgeClassName,\n      style: mergedStyle\n    }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n      className: statusCls,\n      style: statusStyle\n    }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n      style: {\n        color: statusTextColor\n      },\n      className: \"\".concat(badgePrefixCls, \"-status-text\")\n    }, text));\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, restProps, {\n    className: badgeClassName\n  }), children, !isHidden && displayNode, statusTextNode);\n};\nBadge.displayName = 'Badge';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Badge);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/badge/badge.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/badge/index.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/badge/index.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   BadgeSizes: function() { return /* reexport safe */ _badge__WEBPACK_IMPORTED_MODULE_0__.BadgeSizes; },\n/* harmony export */   PresetStatusColorTypes: function() { return /* reexport safe */ _badge__WEBPACK_IMPORTED_MODULE_0__.PresetStatusColorTypes; }\n/* harmony export */ });\n/* harmony import */ var _badge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./badge */ \"../../node_modules/@kdcloudjs/kdesign/es/badge/badge.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_badge__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/badge/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/base-data/base-data.js":
/*!***********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/base-data/base-data.js ***!
  \***********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/splice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/json/stringify */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/json/stringify.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find-index */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find-index.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/input/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/checkbox/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/spin/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/tabs/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/empty/index.js\");\n/* harmony import */ var _utils_usePopper__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../_utils/usePopper */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/usePopper.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar InternalBaseData = function InternalBaseData(props, ref) {\n  var _context2;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_12__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_14__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps,\n    getLangMsg = _useContext.locale.getLangMsg;\n  var advancedSelectortProps = (0,_utils__WEBPACK_IMPORTED_MODULE_15__.getCompProps)('BaseData', userDefaultProps, props);\n  var customPrefixcls = advancedSelectortProps.prefixCls,\n    className = advancedSelectortProps.className,\n    mode = advancedSelectortProps.mode,\n    disabled = advancedSelectortProps.disabled,\n    _advancedSelectortPro = advancedSelectortProps.delimiter,\n    delimiter = _advancedSelectortPro === void 0 ? '，' : _advancedSelectortPro,\n    _advancedSelectortPro2 = advancedSelectortProps.placeholder,\n    placeholder = _advancedSelectortPro2 === void 0 ? getLangMsg('global', 'selectholder') : _advancedSelectortPro2,\n    showDetailIcon = advancedSelectortProps.showDetailIcon,\n    showFrequent = advancedSelectortProps.showFrequent,\n    showCollectIcon = advancedSelectortProps.showCollectIcon,\n    columns = advancedSelectortProps.columns,\n    _advancedSelectortPro3 = advancedSelectortProps.options,\n    options = _advancedSelectortPro3 === void 0 ? [] : _advancedSelectortPro3,\n    value = advancedSelectortProps.value,\n    optionLabelProp = advancedSelectortProps.optionLabelProp,\n    size = advancedSelectortProps.size,\n    style = advancedSelectortProps.style,\n    dropdownFooterRender = advancedSelectortProps.dropdownFooterRender,\n    _advancedSelectortPro4 = advancedSelectortProps.collectList,\n    collectList = _advancedSelectortPro4 === void 0 ? [] : _advancedSelectortPro4,\n    _advancedSelectortPro5 = advancedSelectortProps.historyList,\n    historyList = _advancedSelectortPro5 === void 0 ? [] : _advancedSelectortPro5,\n    loading = advancedSelectortProps.loading,\n    searchField = advancedSelectortProps.searchField,\n    dropdownStyle = advancedSelectortProps.dropdownStyle,\n    onChange = advancedSelectortProps.onChange,\n    onSearch = advancedSelectortProps.onSearch,\n    onSelect = advancedSelectortProps.onSelect,\n    onShowDetail = advancedSelectortProps.onShowDetail,\n    onCollect = advancedSelectortProps.onCollect,\n    onShowMore = advancedSelectortProps.onShowMore,\n    onVisibleChange = advancedSelectortProps.onVisibleChange;\n  var isMultiple = mode === 'multiple'; // 是否多选\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_12__.useState)([]),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState, 2),\n    seletedOptions = _useState2[0],\n    setSeletedOptions = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_12__.useState)(''),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState3, 2),\n    inputValue = _useState4[0],\n    setInputValue = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_12__.useState)([]),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState5, 2),\n    indxPosList = _useState6[0],\n    setIndxPosList = _useState6[1];\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_12__.useState)(false),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState7, 2),\n    showTotal = _useState8[0],\n    setShowTotal = _useState8[1];\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_12__.useState)(false),\n    _useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState9, 2),\n    isFocused = _useState10[0],\n    setFocused = _useState10[1];\n  var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_12__.useState)(!!props.visible),\n    _useState12 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState11, 2),\n    optionShow = _useState12[0],\n    setOptionShow = _useState12[1];\n  var innerRef = (0,react__WEBPACK_IMPORTED_MODULE_12__.useRef)();\n  var advancedSelectorRef = ref || innerRef;\n  var inputRef = (0,react__WEBPACK_IMPORTED_MODULE_12__.useRef)();\n  var searchInfo = (0,react__WEBPACK_IMPORTED_MODULE_12__.useRef)({\n    previousInputValue: '',\n    searchIndex: 0,\n    editOptions: [],\n    selectionStart: 0,\n    previousEditValue: '',\n    deleteEndIndx: 0\n  });\n  var advancedSelectorfixCls = getPrefixCls(prefixCls, 'baseData', customPrefixcls);\n  // class\n  var advancedSelectorCls = classnames__WEBPACK_IMPORTED_MODULE_13___default()(advancedSelectorfixCls, className, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, \"\".concat(advancedSelectorfixCls, \"-disabled\"), disabled));\n  // 多选模式下 维护新增选中的下标\n  (0,react__WEBPACK_IMPORTED_MODULE_12__.useEffect)(function () {\n    searchInfo.current.searchIndex = seletedOptions.length;\n    searchInfo.current.editOptions = seletedOptions;\n  }, [seletedOptions]);\n  // 记录每个选项的开始与结束下标\n  var setValIndxPosition = (0,react__WEBPACK_IMPORTED_MODULE_12__.useCallback)(function () {\n    var _context;\n    var str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n    var arr = [];\n    _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(_context = (str || inputValue).split(delimiter)).call(_context, function (item) {\n      return !!item;\n    }).reduce(function (pre, next) {\n      arr.push({\n        start: pre,\n        end: pre + next.length\n      });\n      return pre + next.length + 1;\n    }, 0);\n    return arr;\n  }, [delimiter, inputValue]);\n  var initInputValue = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = searchInfo.current.editOptions || []).call(_context2, function (item) {\n    return !!item;\n  }).reduce(function (pre, next, index, arr) {\n    var _context3, _context4;\n    return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context3 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context4 = \"\".concat(pre)).call(_context4, next[optionLabelProp])).call(_context3, index !== arr.length - 1 ? delimiter : '');\n  }, '');\n  var initIndexPos = setValIndxPosition(initInputValue);\n  (0,react__WEBPACK_IMPORTED_MODULE_12__.useEffect)(function () {\n    var list = setValIndxPosition();\n    setIndxPosList(list);\n  }, [setValIndxPosition]);\n  (0,react__WEBPACK_IMPORTED_MODULE_12__.useEffect)(function () {\n    var seletedItems = [];\n    // 多选\n    if (isMultiple && Array.isArray(value)) {\n      seletedItems = value;\n    }\n    // 单选\n    if (!isMultiple && value) {\n      seletedItems = [value];\n    }\n    setSeletedOptions(seletedItems);\n    searchInfo.current.editOptions = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(seletedItems);\n  }, [value, isMultiple]);\n  (0,react__WEBPACK_IMPORTED_MODULE_12__.useEffect)(function () {\n    var _a, _b;\n    if (!searchInfo.current.previousEditValue) return;\n    var posList = setValIndxPosition();\n    var preValueArr = getStrToArr(searchInfo.current.previousEditValue, delimiter);\n    var valueArr = getStrToArr(inputValue, delimiter);\n    var selectionStart = ((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.selectionStart) || 0;\n    var index = findSelectionIndex(selectionStart, posList);\n    searchInfo.current.searchIndex = index;\n    // 新增一个\n    var list = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(searchInfo.current.editOptions || []);\n    if (valueArr.length - preValueArr.length === 1) {\n      _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_6___default()(list).call(list, index, 0, null);\n    }\n    if (valueArr.length < preValueArr.length) {\n      var val = searchInfo.current.previousEditValue;\n      /**\n       * selectionStart 被删除的字符串开始下标\n       * deleteEndIndx 被删除的字符串结束下标\n       * 多选时，判断删除的字符包含了几个已选项\n       * 单选时，判断selectionStart与deleteEndIndx相等（都为0），则表示选项被删除\n       */\n      var deleteEndIndx = isMultiple ? val.length - inputValue.length + selectionStart : 0;\n      var _findDeleteInterval = findDeleteInterval(selectionStart, deleteEndIndx, indxPosList),\n        start = _findDeleteInterval.start,\n        end = _findDeleteInterval.end;\n      list === null || list === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_6___default()(list).call(list, start, end - start + 1);\n    }\n    // 判断每次单个按del键时删除了分隔符后下一次触发\n    if (searchInfo.current.deleteEndIndx > 0 && selectionStart !== searchInfo.current.deleteEndIndx) {\n      var _findDeleteInterval2 = findDeleteInterval(selectionStart, searchInfo.current.deleteEndIndx, initIndexPos),\n        _start = _findDeleteInterval2.start,\n        _end = _findDeleteInterval2.end;\n      // 单个删除时找到合理的下标触发\n      if (_start !== null && _end !== null && _start <= _end) {\n        list === null || list === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_6___default()(list).call(list, _start, _end - _start + 1);\n        searchInfo.current.deleteEndIndx = 0;\n      }\n    }\n    searchInfo.current.editOptions = list;\n    searchInfo.current.previousEditValue = inputValue;\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n  }, [delimiter, inputValue, isMultiple, setValIndxPosition]);\n  var getStrToArr = function getStrToArr() {\n    var _context5;\n    var str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n    var delimiter = arguments.length > 1 ? arguments[1] : undefined;\n    return _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(_context5 = str.split(delimiter)).call(_context5, function (item) {\n      return item;\n    });\n  };\n  // 当选中项文字超出输入框时，显示共多少项\n  (0,react__WEBPACK_IMPORTED_MODULE_12__.useLayoutEffect)(function () {\n    var _a;\n    var inputDom = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input;\n    if (!inputDom) return;\n    if (inputDom.scrollWidth - inputDom.offsetWidth > 0) {\n      setShowTotal(true);\n    } else {\n      setShowTotal(false);\n    }\n  }, [inputRef, inputValue]);\n  // 通过选中项显示input文字， optionLabelProp为回填到选择框的属性\n  var setValueBySeleted = (0,react__WEBPACK_IMPORTED_MODULE_12__.useCallback)(function () {\n    var _context8;\n    var defaultInputValue = seletedOptions.reduce(function (pre, next, index, arr) {\n      var _context6, _context7;\n      return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context6 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context7 = \"\".concat(pre)).call(_context7, next[optionLabelProp])).call(_context6, index !== arr.length - 1 ? delimiter : '');\n    }, '');\n    searchInfo.current.previousInputValue = defaultInputValue;\n    setInputValue(defaultInputValue);\n    searchInfo.current.previousEditValue = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context8 = \"\".concat(defaultInputValue)).call(_context8, delimiter);\n  }, [delimiter, optionLabelProp, seletedOptions]);\n  (0,react__WEBPACK_IMPORTED_MODULE_12__.useEffect)(function () {\n    setValueBySeleted();\n  }, [setValueBySeleted]);\n  var findDeletedChar = function findDeletedChar(prev, current) {\n    if (prev.length > current.length) {\n      for (var i = 0; i < prev.length; i++) {\n        if (prev[i] !== current[i]) {\n          return prev[i];\n        }\n      }\n      return prev[prev.length - 1];\n    }\n    return null;\n  };\n  var changeInputText = function changeInputText(e) {\n    var _a;\n    setOptionShow(true);\n    var textValue = e.target.value;\n    var val = textValue;\n    var inputDom = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input;\n    var selectionStart = inputDom.selectionStart || 0; // selectionStart: 光标前面有几个字符\n    if (isMultiple && inputDom && textValue && textValue.length > inputValue.length) {\n      searchInfo.current.selectionStart = selectionStart;\n      var isInHead = selectionStart === 1 && textValue[1] !== delimiter && textValue.length !== 1; // 在首部添加\n      var isInMid = selectionStart !== textValue.length && textValue[selectionStart - 2] === delimiter && textValue[selectionStart] !== delimiter;\n      if (isInHead || isInMid) {\n        inputDom.value = val = textValue.substring(0, selectionStart) + delimiter + textValue.substring(selectionStart, textValue.length);\n        setCursorPosition(inputDom, selectionStart);\n      }\n    }\n    // 单个删除时 当删除的字符为分隔符delimiter 记录位置\n    if (findDeletedChar(searchInfo.current.previousEditValue || '', textValue) === delimiter) {\n      searchInfo.current.deleteEndIndx = selectionStart;\n    }\n    setInputValue(val);\n    handleChange(val);\n  };\n  var handleChange = function handleChange(val) {\n    var str = getQueryStr(val);\n    searchInfo.current.searchValue = str;\n    onSearch === null || onSearch === void 0 ? void 0 : onSearch(str);\n  };\n  var getQueryStr = function getQueryStr(queryStr) {\n    var _a, _b;\n    if (!isMultiple) {\n      return queryStr;\n    }\n    if (inputRef.current && queryStr) {\n      if (queryStr.indexOf(delimiter) < 0) {\n        // 只有一条记录\n        return queryStr;\n      }\n      var selectionStart = ((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.selectionStart) || 0;\n      var startIndex = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7___default()(queryStr).call(queryStr, 0, selectionStart).lastIndexOf(delimiter) + 1; // 光标前面最近分隔符index\n      var endIndex = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7___default()(queryStr).call(queryStr, selectionStart).indexOf(delimiter);\n      endIndex = endIndex === -1 ? queryStr.length : selectionStart + endIndex; // 光标后面最近分隔符index\n      queryStr = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7___default()(queryStr).call(queryStr, startIndex, endIndex);\n      return queryStr;\n    }\n    return queryStr;\n  };\n  var handleFocus = function handleFocus() {\n    var _context9;\n    if (disabled) return;\n    setFocused(true);\n    isMultiple && seletedOptions.length && setInputValue(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context9 = \"\".concat(inputValue)).call(_context9, delimiter));\n  };\n  var handleBlur = function handleBlur() {\n    var _context10, _context11;\n    if (disabled) return;\n    setFocused(false);\n    setInputValue(searchInfo.current.previousInputValue);\n    searchInfo.current.previousEditValue = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context10 = \"\".concat(searchInfo.current.previousInputValue)).call(_context10, delimiter);\n    // 多选失去焦点时，通过editOptions去改写选中项\n    var list = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(_context11 = searchInfo.current.editOptions || []).call(_context11, function (item) {\n      return item;\n    }) || [];\n    if (_babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_8___default()(list) !== _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_8___default()(seletedOptions)) {\n      var _context12;\n      onChange === null || onChange === void 0 ? void 0 : onChange(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(_context12 = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(list).call(list, function (item) {\n        return item;\n      })).call(_context12, function (v) {\n        return v.value;\n      }), _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(list).call(list, function (item) {\n        return item;\n      }));\n    }\n    if (value !== undefined) {\n      return;\n    }\n    setSeletedOptions(list);\n  };\n  var showInputTotal = function showInputTotal() {\n    var _a;\n    if (disabled) return;\n    var inputDom = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input;\n    if (inputDom) {\n      var scrollToWidth = inputDom.scrollWidth - inputDom.offsetWidth;\n      inputDom.scrollLeft = scrollToWidth;\n      setTimeout(function () {\n        setCursorPosition(inputDom, inputValue.length + 1);\n      }, 0);\n    }\n  };\n  var handleShowDetail = function handleShowDetail(e) {\n    e.stopPropagation();\n    onShowDetail === null || onShowDetail === void 0 ? void 0 : onShowDetail(seletedOptions);\n  };\n  var handleShowMore = function handleShowMore(e) {\n    e.stopPropagation();\n    onShowMore === null || onShowMore === void 0 ? void 0 : onShowMore();\n  };\n  // 设置光标位置\n  var setCursorPosition = function setCursorPosition(element, prePosition) {\n    if (element.setSelectionRange) {\n      // Chrome Firefox\n      element.focus();\n      window.setTimeout(element.setSelectionRange(prePosition, prePosition), 0);\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  var handleDoubleClick = function handleDoubleClick() {\n    var _a;\n    var inputDom = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input;\n    var _findDbClickSelectedP = findDbClickSelectedPos((inputDom === null || inputDom === void 0 ? void 0 : inputDom.selectionStart) || 0, (inputDom === null || inputDom === void 0 ? void 0 : inputDom.selectionEnd) || 0),\n      start = _findDbClickSelectedP.start,\n      end = _findDbClickSelectedP.end;\n    handleSeletedText(inputDom, start, end);\n  };\n  var findDbClickSelectedPos = function findDbClickSelectedPos(selectionStart, selectionEnd) {\n    for (var index = 0; index < indxPosList.length; index++) {\n      var item = indxPosList[index];\n      if (item.start <= selectionStart && item.end >= selectionEnd) {\n        return item;\n      }\n    }\n    return {};\n  };\n  // 多选，找到光标停留的当前项的下标\n  var findSelectionIndex = function findSelectionIndex(selectionStart, posList) {\n    var indx = 0;\n    for (var index = 0; index < posList.length; index++) {\n      var v = posList[index];\n      if (v.start <= selectionStart && v.end >= selectionStart) {\n        indx = index;\n      }\n    }\n    return indx;\n  };\n  /**\n   * 找出删除项的下标\n   *\n   * @param start 删除时文字光标的起始位置\n   * @param end 删除时文字光标的终止位置\n   * @param posList 每个选中项的下标区间\n   */\n  var findDeleteInterval = function findDeleteInterval(start, end, posList) {\n    var delIndex = {\n      start: null,\n      end: null\n    };\n    for (var index = 0; index < posList.length; index++) {\n      var v = posList[index];\n      if (v.start >= start && delIndex.start === null) delIndex.start = index;\n      if (v.end <= end) delIndex.end = index;\n    }\n    return delIndex;\n  };\n  var handleSeletedText = function handleSeletedText(element, start, end) {\n    element.setSelectionRange(start, end);\n  };\n  var handleSelect = function handleSelect(item) {\n    var _context17;\n    searchInfo.current.searchValue = undefined;\n    if (_babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_10___default()(seletedOptions).call(seletedOptions, function (v) {\n      return v.value === item.value;\n    }) !== -1) {\n      var _context13;\n      var _list = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(seletedOptions).call(seletedOptions, function (v) {\n        return v.value !== item.value;\n      });\n      // 取消选中(非受控状态下)\n      isMultiple && value === undefined && setSeletedOptions(_list);\n      onChange === null || onChange === void 0 ? void 0 : onChange(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(_context13 = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(_list).call(_list, function (item) {\n        return item;\n      })).call(_context13, function (v) {\n        return v.value;\n      }), _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(_list).call(_list, function (item) {\n        return item;\n      }));\n      return;\n    }\n    var list = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(searchInfo.current.editOptions || []);\n    list === null || list === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_6___default()(list).call(list, searchInfo.current.searchIndex || 0, 1, item);\n    if (isMultiple) {\n      var _context14, _context15, _context16;\n      onChange === null || onChange === void 0 ? void 0 : onChange(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(_context14 = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(_context15 = list || []).call(_context15, function (item) {\n        return item;\n      })).call(_context14, function (v) {\n        return v.value;\n      }), _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(_context16 = list || []).call(_context16, function (item) {\n        return item;\n      }));\n    } else {\n      onChange === null || onChange === void 0 ? void 0 : onChange(item.value, item);\n    }\n    onSelect === null || onSelect === void 0 ? void 0 : onSelect(item.value, item);\n    if (value !== undefined) {\n      return;\n    }\n    searchInfo.current.editOptions = list;\n    setSeletedOptions(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(_context17 = list || []).call(_context17, function (item) {\n      return item;\n    }));\n  };\n  var handleSelectAll = function handleSelectAll(e) {\n    var list = e.target.checked ? options : [];\n    onChange(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(list).call(list, function (item) {\n      return item.value;\n    }), list);\n    if (value !== undefined) {\n      return;\n    }\n    setSeletedOptions(list);\n  };\n  var handleCollect = (0,react__WEBPACK_IMPORTED_MODULE_12__.useCallback)(function (item, flag) {\n    onCollect === null || onCollect === void 0 ? void 0 : onCollect(flag, item);\n  }, [onCollect]);\n  var isShowDetailBtn = showDetailIcon && !isMultiple && !isFocused;\n  var renderAdvancedSelector = function renderAdvancedSelector() {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(\"div\", {\n      className: advancedSelectorCls,\n      ref: advancedSelectorRef,\n      style: style\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(_index__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n      ref: inputRef,\n      borderType: \"none\",\n      disabled: disabled,\n      onChange: changeInputText,\n      placeholder: placeholder,\n      value: inputValue,\n      onDoubleClick: handleDoubleClick,\n      onFocus: handleFocus,\n      onBlur: handleBlur\n    }), showTotal && !isFocused && isMultiple && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(\"span\", {\n      className: \"\".concat(advancedSelectorfixCls, \"-total\"),\n      onClick: showInputTotal\n    }, \"\\u5171\".concat(seletedOptions.length, \"\\u9879\")), isShowDetailBtn && !disabled && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(\"span\", {\n      className: \"\".concat(advancedSelectorfixCls, \"-detail\"),\n      onClick: handleShowDetail\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(_index__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n      type: \"material\"\n    })), !disabled && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(\"span\", {\n      className: \"\".concat(advancedSelectorfixCls, \"-suffix\"),\n      onClick: handleShowMore\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(_index__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n      type: \"search\"\n    })));\n  };\n  // 渲染下拉列表框\n  var renderContent = function renderContent() {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(\"div\", {\n      className: \"\".concat(advancedSelectorfixCls, \"-dropdown\")\n    }, searchInfo.current.searchValue ? renderDropdownContent(options, columns, true, true) : renderHistoryContent());\n  };\n  /**\n   * 判断Checkbox半选状态\n   *\n   * @param {string[]} value 选中项数组\n   * @returns {boolean}\n   */\n  var getIndeterminate = (0,react__WEBPACK_IMPORTED_MODULE_12__.useCallback)(function (value) {\n    return value.length > 0 && value.length < options.length;\n  }, [options]);\n  var getChecked = function getChecked(value) {\n    return options.length && value.length === options.length;\n  };\n  /**\n   * 渲染下拉列表\n   *\n   * @param {IOptionsProps} data 下拉列表的数据\n   * @param {IColumnsProps} myColumns 下拉列表的展示列\n   * @param {boolean} showFooter 是否显示下拉框footer\n   * @param {boolean} showCheckbox 是否显示多选框\n   * @returns {React.ReactNode}\n   */\n  var renderDropdownContent = function renderDropdownContent(data, myColumns) {\n    var _context18;\n    var showFooter = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n    var showCheckbox = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n    var dropDownColumns = myColumns && Array.isArray(myColumns) ? myColumns : data && Array.isArray(data) && data.length ? _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(_context18 = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_11___default()(data[0])).call(_context18, function (v) {\n      return {\n        key: v\n      };\n    }) : [];\n    var indeterminate = getIndeterminate(seletedOptions);\n    var checked = getChecked(seletedOptions);\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement((react__WEBPACK_IMPORTED_MODULE_12___default().Fragment), null, myColumns && Array.isArray(myColumns) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(\"div\", {\n      className: \"\".concat(advancedSelectorfixCls, \"-dropdown-columns\")\n    }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(dropDownColumns).call(dropDownColumns, function (item, index) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(\"span\", {\n        key: item.key,\n        className: \"\".concat(advancedSelectorfixCls, \"-dropdown-columns-item\"),\n        title: item.title\n      }, isMultiple && index === 0 && showCheckbox && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(_index__WEBPACK_IMPORTED_MODULE_18__[\"default\"], {\n        style: {\n          marginRight: 5\n        },\n        checked: checked,\n        indeterminate: indeterminate,\n        onChange: handleSelectAll\n      }), item.title);\n    })), loading ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(\"div\", {\n      className: \"\".concat(advancedSelectorfixCls, \"-dropdown-loading\")\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(_index__WEBPACK_IMPORTED_MODULE_19__[\"default\"], null)) : data.length ? renderOptionsContent(data, dropDownColumns, showCheckbox) : renderNotContent(), showFooter && dropdownFooterRender && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(\"div\", {\n      className: \"\".concat(advancedSelectorfixCls, \"-dropdown-footer\")\n    }, dropdownFooterRender));\n  };\n  /**\n   * 渲染收藏图标\n   *\n   * @param {IOptionsProps} item\n   * @returns {React.ReactNode}\n   */\n  var renderCollect = (0,react__WEBPACK_IMPORTED_MODULE_12__.useCallback)(function (item) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(\"span\", {\n      className: \"\".concat(advancedSelectorfixCls, \"-dropdown-options-item-collect\"),\n      onMouseDown: function onMouseDown(e) {\n        return e.stopPropagation();\n      }\n    }, _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_10___default()(collectList).call(collectList, function (v) {\n      return v.value === item.value;\n    }) === -1 ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(_index__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n      className: \"\".concat(advancedSelectorfixCls, \"-dropdown-options-item-collect-not-icon\"),\n      type: \"collect\",\n      onClick: function onClick() {\n        return handleCollect(item, true);\n      }\n    }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(_index__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n      className: \"\".concat(advancedSelectorfixCls, \"-dropdown-options-item-collect-icon\"),\n      type: \"star\",\n      onClick: function onClick() {\n        return handleCollect(item, false);\n      },\n      style: {\n        visibility: 'visible'\n      }\n    }));\n  }, [advancedSelectorfixCls, collectList, handleCollect]);\n  var renderSearchValue = function renderSearchValue(item, column) {\n    return searchField === 'all' || searchField === column.key ? findSearchValue(item[column.key]) : item[column.key];\n  };\n  /**\n   * 渲染下拉项\n   *\n   * @param {IOptionsProps} data 下拉列表的数据\n   * @param {IColumnsProps} myColumns 下拉列表的展示列\n   * @param {boolean} showCheckbox 是否显示多选框\n   * @returns {React.ReactNode}\n   */\n  var renderOptionsContent = function renderOptionsContent(data, myColumns) {\n    var showCheckbox = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement((react__WEBPACK_IMPORTED_MODULE_12___default().Fragment), null, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(data).call(data, function (item, index) {\n      if (index + 1 > size) {\n        return null;\n      }\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(\"div\", {\n        key: item.value,\n        className: classnames__WEBPACK_IMPORTED_MODULE_13___default()(\"\".concat(advancedSelectorfixCls, \"-dropdown-options\"), {\n          selected: seletedOptions.some(function (v) {\n            return v.value === item.value;\n          })\n        }),\n        onMouseDown: function onMouseDown() {\n          return handleSelect(item);\n        }\n      }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(myColumns).call(myColumns, function (column, index) {\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(\"span\", {\n          key: column.key,\n          className: \"\".concat(advancedSelectorfixCls, \"-dropdown-options-item\"),\n          title: item[column.key]\n        }, isMultiple && showCheckbox && index === 0 && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(_index__WEBPACK_IMPORTED_MODULE_18__[\"default\"], {\n          style: {\n            marginRight: 5\n          },\n          value: item.value,\n          checked: seletedOptions.some(function (v) {\n            return v.value === item.value;\n          })\n        }), renderSearchValue(item, column), showCollectIcon && myColumns.length - 1 === index && renderCollect(item));\n      }));\n    }));\n  };\n  /**\n   * 标注出搜索的文字\n   *\n   * @param {string} title 搜索的文字\n   * @returns {React.ReactNode}\n   */\n  var findSearchValue = function findSearchValue(title) {\n    var _searchInfo$current$s = searchInfo.current.searchValue,\n      searchValue = _searchInfo$current$s === void 0 ? '' : _searchInfo$current$s;\n    var index = title.indexOf(searchValue);\n    var beforeStr = title.substr(0, index);\n    var afterStr = title.substr(index + searchValue.length);\n    var content = index > -1 ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(\"span\", null, beforeStr, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(\"span\", {\n      className: \"\".concat(advancedSelectorfixCls, \"-dropdown-options-item-search\")\n    }, searchValue), afterStr) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(\"span\", null, title);\n    return content;\n  };\n  var renderHistoryContent = function renderHistoryContent() {\n    if (!showFrequent) {\n      return null;\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(_index__WEBPACK_IMPORTED_MODULE_20__[\"default\"], {\n      defaultActiveKey: \"history\"\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(_index__WEBPACK_IMPORTED_MODULE_20__[\"default\"].TabPane, {\n      key: \"history\",\n      tab: \"\\u5386\\u53F2\\u8BB0\\u5F55\"\n    }, renderDropdownContent(historyList, columns)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(_index__WEBPACK_IMPORTED_MODULE_20__[\"default\"].TabPane, {\n      key: \"collect\",\n      tab: \"\\u6211\\u7684\\u6536\\u85CF\"\n    }, renderDropdownContent(collectList, columns)));\n  };\n  var renderNotContent = (0,react__WEBPACK_IMPORTED_MODULE_12__.useCallback)(function () {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(\"div\", {\n      className: \"\".concat(advancedSelectorfixCls, \"-dropdown-empty\")\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(_index__WEBPACK_IMPORTED_MODULE_21__[\"default\"], null));\n  }, [advancedSelectorfixCls]);\n  var catchStyle = function catchStyle() {\n    if (advancedSelectorRef === null || advancedSelectorRef === void 0 ? void 0 : advancedSelectorRef.current) {\n      return {\n        width: (dropdownStyle === null || dropdownStyle === void 0 ? void 0 : dropdownStyle.width) || 330,\n        zIndex: 1050\n      };\n    }\n  };\n  var handleVisibleChange = function handleVisibleChange(visible) {\n    onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(visible);\n    if (props.visible !== undefined) return;\n    if (visible) {\n      isFocused && setOptionShow(visible);\n      return;\n    }\n    setOptionShow(visible);\n  };\n  var popperProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    popperStyle: catchStyle(),\n    placement: 'bottomLeft'\n  }, advancedSelectortProps), {\n    defaultVisible: optionShow,\n    visible: optionShow,\n    prefixCls: \"\".concat(advancedSelectorfixCls, \"-dropdown-wrapper\"),\n    onVisibleChange: handleVisibleChange\n  });\n  return (0,_utils_usePopper__WEBPACK_IMPORTED_MODULE_22__[\"default\"])(renderAdvancedSelector(), renderContent(), popperProps);\n};\nvar BaseData = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().forwardRef(InternalBaseData);\nBaseData.displayName = 'BaseData';\n/* harmony default export */ __webpack_exports__[\"default\"] = (BaseData);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/base-data/base-data.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/base-data/index.js":
/*!*******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/base-data/index.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _base_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base-data */ \"../../node_modules/@kdcloudjs/kdesign/es/base-data/base-data.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_base_data__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/base-data/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/breadcrumb/breadcrumb.js":
/*!*************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/breadcrumb/breadcrumb.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/splice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/from */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _breadcrumbItem__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./breadcrumbItem */ \"../../node_modules/@kdcloudjs/kdesign/es/breadcrumb/breadcrumbItem.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../tooltip */ \"../../node_modules/@kdcloudjs/kdesign/es/tooltip/index.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_10__);\n\n\n\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\nvar Breadcrumb = function Breadcrumb(props) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_8__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_11__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var breadcrumbProps = (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getCompProps)('Breadcrumb', userDefaultProps, props);\n  var className = breadcrumbProps.className,\n    customPrefixcls = breadcrumbProps.prefixCls,\n    items = breadcrumbProps.items,\n    separator = breadcrumbProps.separator,\n    colorModel = breadcrumbProps.colorModel,\n    onItemClick = breadcrumbProps.onItemClick,\n    others = __rest(breadcrumbProps, [\"className\", \"prefixCls\", \"items\", \"separator\", \"colorModel\", \"onItemClick\"]);\n  var breadcrumbRef = (0,react__WEBPACK_IMPORTED_MODULE_8__.useRef)(null);\n  var breadcrumbHideIconRef = (0,react__WEBPACK_IMPORTED_MODULE_8__.useRef)(null);\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_8___default().useState(items),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_React$useState, 2),\n    itemsConfig = _React$useState2[0],\n    setItemsConfig = _React$useState2[1];\n  var _React$useState3 = react__WEBPACK_IMPORTED_MODULE_8___default().useState(),\n    _React$useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_React$useState3, 2),\n    itemsArray = _React$useState4[0],\n    setItemsArray = _React$useState4[1];\n  var _React$useState5 = react__WEBPACK_IMPORTED_MODULE_8___default().useState(),\n    _React$useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_React$useState5, 2),\n    breadcrumbWidth = _React$useState6[0],\n    setBreadcrumbWidth = _React$useState6[1];\n  var _React$useState7 = react__WEBPACK_IMPORTED_MODULE_8___default().useState(false),\n    _React$useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_React$useState7, 2),\n    openEllipsis = _React$useState8[0],\n    setOpenEllipsis = _React$useState8[1];\n  var breadcrumbPrefixCls = getPrefixCls(prefixCls, 'breadcrumb', customPrefixcls);\n  var breadcrumbClass = classnames__WEBPACK_IMPORTED_MODULE_9___default()(breadcrumbPrefixCls, className);\n  var breadcrumbPopperClass = classnames__WEBPACK_IMPORTED_MODULE_9___default()(\"\".concat(breadcrumbPrefixCls, \"-popper\"));\n  var breadcrumbMorePanelClass = classnames__WEBPACK_IMPORTED_MODULE_9___default()(\"\".concat(breadcrumbPrefixCls, \"-more-panel\"));\n  var breadcrumbSeparatorClass = classnames__WEBPACK_IMPORTED_MODULE_9___default()(\"\".concat(breadcrumbPrefixCls, \"-item-separator\"));\n  var breadcrumbHideIconClass = classnames__WEBPACK_IMPORTED_MODULE_9___default()(\"\".concat(breadcrumbPrefixCls, \"-hide-icon\"));\n  var getBreadcrumbItemClass = function getBreadcrumbItemClass(item, isLast) {\n    var _context, _context2, _classNames;\n    return classnames__WEBPACK_IMPORTED_MODULE_9___default()(item.className, \"\".concat(breadcrumbPrefixCls, \"-item\"), (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(breadcrumbPrefixCls, \"-item-link\"), (item === null || item === void 0 ? void 0 : item.path) || (item === null || item === void 0 ? void 0 : item.href)), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = \"\".concat(breadcrumbPrefixCls, \"-item-\")).call(_context, colorModel || 'emphasize', \"-model-current\"), isLast), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = \"\".concat(breadcrumbPrefixCls, \"-item-\")).call(_context2, colorModel || 'emphasize', \"-model\"), !isLast), _classNames));\n  };\n  var MIN_ITEM = 3; // 加上more只显示3个元素的时候，末尾元素开启省略号\n  var isLastItem = function isLastItem(index, items) {\n    return index === (items === null || items === void 0 ? void 0 : items.length) - 1;\n  };\n  var getSeparator = function getSeparator(index, items) {\n    if (isLastItem(index, items)) {\n      return null;\n    } else {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"span\", {\n        className: breadcrumbSeparatorClass\n      }, separator);\n    }\n  };\n  var getMoreIconContent = function getMoreIconContent(items) {\n    var MoreItems = function MoreItems() {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", {\n        className: breadcrumbMorePanelClass\n      }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default()(items).call(items, function (item, index) {\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_breadcrumbItem__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n          key: \"breadcrumb--more-item-\".concat(index),\n          index: index,\n          item: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, item), {\n            className: getBreadcrumbItemClass(item, false)\n          }),\n          separator: getSeparator(index, items)\n        });\n      }));\n    };\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement((react__WEBPACK_IMPORTED_MODULE_8___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n      popperClassName: breadcrumbPopperClass,\n      arrow: false,\n      tip: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(MoreItems, null),\n      trigger: \"hover\",\n      placement: \"bottomLeft\"\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n      type: \"more\"\n    })));\n  };\n  var getElementWidth = function getElementWidth(ref) {\n    if (ref.current) {\n      return ref.current.offsetWidth;\n    } else {\n      return 0;\n    }\n  };\n  var getItemsConfig = function getItemsConfig(widthArr, breadcrumbWidth) {\n    var difference = getElementWidth(breadcrumbRef) - breadcrumbWidth;\n    if (difference < 0) {\n      var number = -difference;\n      var removeItem = widthArr === null || widthArr === void 0 ? void 0 : widthArr.reduce(function (acc, cur, ind) {\n        if (ind > 0 && ind < widthArr.length - 1) {\n          if (acc.width < number + getElementWidth(breadcrumbHideIconRef)) {\n            acc.width += cur.width;\n            acc.index = ind;\n            return acc;\n          } else {\n            return acc;\n          }\n        } else {\n          return acc;\n        }\n      }, {\n        width: 0,\n        index: 0\n      });\n      if (removeItem.index > 0 && removeItem.index < items.length - 1) {\n        var _context3;\n        var newItemsConfig = (0,lodash__WEBPACK_IMPORTED_MODULE_10__.cloneDeep)(items);\n        _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_6___default()(newItemsConfig).call(newItemsConfig, 1, removeItem.index, {\n          title: getMoreIconContent(_babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_6___default()(_context3 = (0,lodash__WEBPACK_IMPORTED_MODULE_10__.cloneDeep)(items)).call(_context3, 1, removeItem.index))\n        });\n        setItemsConfig(newItemsConfig);\n      }\n    } else {\n      setItemsConfig(items);\n    }\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    var isMore = itemsConfig === null || itemsConfig === void 0 ? void 0 : itemsConfig.some(function (item) {\n      var _a, _b;\n      return ((_b = (_a = item === null || item === void 0 ? void 0 : item.title) === null || _a === void 0 ? void 0 : _a.props) === null || _b === void 0 ? void 0 : _b.children.type.displayName) === 'Tooltip';\n    });\n    setOpenEllipsis(isMore && itemsConfig.length === MIN_ITEM);\n  }, [itemsConfig]);\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    if (breadcrumbRef === null || breadcrumbRef === void 0 ? void 0 : breadcrumbRef.current) {\n      var _itemsArray = _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_7___default()(breadcrumbRef.current.children, function (item, index) {\n        return {\n          width: item.offsetWidth,\n          index: index\n        };\n      });\n      var _breadcrumbWidth = _itemsArray.reduce(function (acc, cur) {\n        return acc + cur.width;\n      }, 0);\n      setItemsArray(_itemsArray);\n      setBreadcrumbWidth(_breadcrumbWidth);\n      if (_itemsArray && _breadcrumbWidth) {\n        getItemsConfig(_itemsArray, _breadcrumbWidth);\n      }\n    }\n  }, []);\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    if (itemsArray && breadcrumbWidth) {\n      window.addEventListener('resize', function () {\n        getItemsConfig(itemsArray, breadcrumbWidth);\n      });\n    }\n    return function () {\n      return window.removeEventListener('resize', function () {\n        getItemsConfig(itemsArray, breadcrumbWidth);\n      });\n    };\n  }, [itemsArray, breadcrumbWidth]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement((react__WEBPACK_IMPORTED_MODULE_8___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    className: breadcrumbClass\n  }, others, {\n    ref: breadcrumbRef\n  }), (itemsConfig === null || itemsConfig === void 0 ? void 0 : itemsConfig.length) > 0 && _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default()(itemsConfig).call(itemsConfig, function (item, index) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_breadcrumbItem__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n      key: \"breadcrumb-item-\".concat(index),\n      item: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, item), {\n        className: getBreadcrumbItemClass(item, isLastItem(index, itemsConfig))\n      }),\n      onItemClick: onItemClick,\n      index: index,\n      separator: getSeparator(index, itemsConfig),\n      openEllipsis: isLastItem(index, itemsConfig) ? openEllipsis : false\n    });\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", {\n    className: breadcrumbHideIconClass,\n    ref: breadcrumbHideIconRef\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n    type: \"more\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"span\", {\n    className: breadcrumbSeparatorClass\n  }, separator)));\n};\nBreadcrumb.displayName = 'Breadcrumb';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Breadcrumb);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/breadcrumb/breadcrumb.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/breadcrumb/breadcrumbItem.js":
/*!*****************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/breadcrumb/breadcrumbItem.js ***!
  \*****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../dropdown */ \"../../node_modules/@kdcloudjs/kdesign/es/dropdown/index.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n\n\n\n\n\n\nvar BreadcrumbItem = function BreadcrumbItem(props) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_2__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var item = props.item,\n    index = props.index,\n    separator = props.separator,\n    openEllipsis = props.openEllipsis,\n    onItemClick = props.onItemClick;\n  var title = item.title,\n    className = item.className,\n    dropdownProps = item.dropdownProps,\n    href = item.href,\n    path = item.path,\n    icon = item.icon;\n  var breadcrumbPrefixCls = getPrefixCls(prefixCls, 'breadcrumb');\n  var itemTextCls = \"\".concat(breadcrumbPrefixCls, \"-item-text\");\n  var itemIconCls = \"\".concat(breadcrumbPrefixCls, \"-item-icon\");\n  var handleItemClick = function handleItemClick() {\n    if (href && !path) {\n      window.open(href, '_self');\n    } else if (!href && path) {\n      window.location.pathname = path + (title && \"/\".concat(title));\n    } else if (href && path) {\n      (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(true, 'breadcrumb', '`href` and `path` not coexist  within the `item` object');\n    }\n    onItemClick && onItemClick(item, index);\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n    className: className,\n    onClick: handleItemClick\n  }, icon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n    className: itemIconCls\n  }, icon), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n    className: itemTextCls,\n    title: typeof title === 'string' ? title : '',\n    style: {\n      maxWidth: openEllipsis ? '170px' : 'unset',\n      overflow: openEllipsis ? 'hidden' : 'inherit'\n    }\n  }, title), dropdownProps && 'menu' in dropdownProps && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_dropdown__WEBPACK_IMPORTED_MODULE_4__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    placement: \"bottomRight\"\n  }, dropdownProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    type: \"arrow-down\"\n  })), separator));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (BreadcrumbItem);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/breadcrumb/breadcrumbItem.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/breadcrumb/index.js":
/*!********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/breadcrumb/index.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _breadcrumb__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./breadcrumb */ \"../../node_modules/@kdcloudjs/kdesign/es/breadcrumb/breadcrumb.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_breadcrumb__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/breadcrumb/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/button/button.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/button/button.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ButtonHTMLTypes: function() { return /* binding */ ButtonHTMLTypes; },\n/* harmony export */   ButtonIconPlaces: function() { return /* binding */ ButtonIconPlaces; },\n/* harmony export */   ButtonShapes: function() { return /* binding */ ButtonShapes; },\n/* harmony export */   ButtonSizes: function() { return /* binding */ ButtonSizes; },\n/* harmony export */   ButtonTypes: function() { return /* binding */ ButtonTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\nvar ButtonTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('second', 'primary', 'ghost', 'text');\nvar ButtonSizes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('large', 'middle', 'small');\nvar ButtonShapes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('circle', 'round', 'none');\nvar ButtonIconPlaces = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('left', 'right');\nvar ButtonHTMLTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('submit', 'button', 'reset');\nvar InternalButton = function InternalButton(props, ref) {\n  var _context, _context2, _context3, _classNames, _context4, _context5;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var buttonProps = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCompProps)('Button', userDefaultProps, props); // 按钮属性需要合并一遍用户定义的默认属性\n  var type = buttonProps.type,\n    iconPlace = buttonProps.iconPlace,\n    children = buttonProps.children,\n    className = buttonProps.className,\n    customPrefixcls = buttonProps.prefixCls,\n    size = buttonProps.size,\n    loading = buttonProps.loading,\n    shape = buttonProps.shape,\n    bordered = buttonProps.bordered,\n    onClick = buttonProps.onClick,\n    icon = buttonProps.icon,\n    ghost = buttonProps.ghost,\n    block = buttonProps.block,\n    disabled = buttonProps.disabled,\n    _buttonProps$htmlType = buttonProps.htmlType,\n    htmlType = _buttonProps$htmlType === void 0 ? 'button' : _buttonProps$htmlType,\n    others = __rest(buttonProps, [\"type\", \"iconPlace\", \"children\", \"className\", \"prefixCls\", \"size\", \"loading\", \"shape\", \"bordered\", \"onClick\", \"icon\", \"ghost\", \"block\", \"disabled\", \"htmlType\"]);\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(ButtonTypes.indexOf(type) === -1, 'button', \"cannot found button type '\".concat(type, \"'\"));\n  var btnPrefixCls = getPrefixCls(prefixCls, 'btn', customPrefixcls); // 按钮样式前缀\n  /**\n   * 按钮click事件处理\n   * @param {React.MouseEvent<HTMLButtonElement | HTMLAnchorElement, MouseEvent>} e 事件对象\n   */\n  var handleClick = function handleClick(e) {\n    if (loading || disabled) {\n      // 加载中和禁用状态不触发点击事件\n      return;\n    }\n    var waveStatus = buttonRef.current.getAttribute('click-animating-wave');\n    // 进入时是否在加载动画\n    if (waveStatus === 'true') {\n      buttonRef.current.setAttribute('click-animating-wave', false);\n      // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n      window.getComputedStyle(buttonRef.current).animationPlayState;\n    }\n    // 启动动画\n    buttonRef.current.setAttribute('click-animating-wave', true);\n    buttonRef.current.addEventListener('animationend', onAnimationEnd);\n    onClick && onClick(e);\n  };\n  var onAnimationEnd = function onAnimationEnd(e) {\n    if (e.animationName === 'waveEffect') {\n      return;\n    }\n    e.target.setAttribute('click-animating-wave', 'false');\n    removeEventListener('animationend', onAnimationEnd);\n  };\n  // ref\n  var buttonRef = ref || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createRef();\n  // 对children进行进一步处理，目前只处理typeof child === 'string'的情况，后续有特殊情况的在此方法处理\n  var handleChild = function handleChild(child) {\n    if (typeof child === 'string') {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", null, child); // 包一层span,该层span的dsiplay为inline-block, 用于处理没内容时按钮高度位置跳动问题\n    }\n\n    return child;\n  };\n  var isTextBtn = type === 'text'; // 判断按钮是否文本类型。这些类型下有部分样式不适用\n  var btnClasses = classnames__WEBPACK_IMPORTED_MODULE_5___default()(btnPrefixCls, className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(btnPrefixCls, \"-\")).call(_context, type), type), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context2 = \"\".concat(btnPrefixCls, \"-size-\")).call(_context2, size), size), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context3 = \"\".concat(btnPrefixCls, \"-shape-\")).call(_context3, shape), shape && !isTextBtn), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(btnPrefixCls, \"-no-border\"), !bordered), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(btnPrefixCls, \"-background-ghost\"), ghost && !disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(btnPrefixCls, \"-loading\"), loading && !isTextBtn), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(btnPrefixCls, \"-block\"), block && !shape), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(btnPrefixCls, \"-icon-only\"), !children && children !== 0 && icon), _classNames));\n  var iconWrapperClassName = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context4 = \"\".concat(btnPrefixCls, \"-iconWrapper-\")).call(_context4, iconPlace === 'left' ? 'left' : 'right');\n  var iconNode = icon && !loading ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n    className: iconWrapperClassName\n  }, icon) : loading ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n    className: iconWrapperClassName\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_index__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context5 = \"\".concat(btnPrefixCls, \"-\")).call(_context5, type === ButtonTypes[1] ? 'primary-loadingIcon' : 'loadingIcon'),\n    type: \"loadding\",\n    spin: true\n  })) : null;\n  var btnChild = handleChild(children);\n  switch (type) {\n    case 'text':\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n        ref: buttonRef,\n        className: btnClasses,\n        onClick: handleClick,\n        disabled: disabled\n      }, others), iconNode, children);\n    default:\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"button\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n        ref: buttonRef,\n        className: btnClasses,\n        onClick: handleClick,\n        disabled: disabled,\n        type: htmlType\n      }, others, {\n        \"click-animating-wave\": \"false\"\n      }), iconPlace === 'left' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement((react__WEBPACK_IMPORTED_MODULE_4___default().Fragment), null, iconNode, !!(iconNode && children) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n        className: \"btn-space\"\n      }), btnChild) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement((react__WEBPACK_IMPORTED_MODULE_4___default().Fragment), null, btnChild, !!(iconNode && children) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n        className: \"btn-space\"\n      }), iconNode));\n  }\n};\nvar Button = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().forwardRef(InternalButton);\nButton.displayName = 'Button';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Button);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/button/button.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/button/group.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/button/group.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ButtonGroupTypes: function() { return /* binding */ ButtonGroupTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/button/index.js\");\n/* harmony import */ var _utils_usePopper__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../_utils/usePopper */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/usePopper.js\");\n/* harmony import */ var _utils_react_children__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils/react-children */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/react-children.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar ButtonGroupTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_7__.tuple)('basic', 'similar');\nvar InternalButtonGroup = function InternalButtonGroup(props, ref) {\n  var _context;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_5__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var buttonGoupProps = (0,_utils__WEBPACK_IMPORTED_MODULE_9__.getCompProps)('ButtonGroup', userDefaultProps, props);\n  var style = buttonGoupProps.style,\n    className = buttonGoupProps.className,\n    children = buttonGoupProps.children,\n    customPrefixcls = buttonGoupProps.prefixCls,\n    onClick = buttonGoupProps.onClick,\n    onItemClick = buttonGoupProps.onItemClick,\n    overlay = buttonGoupProps.overlay,\n    icon = buttonGoupProps.icon,\n    type = buttonGoupProps.type,\n    size = buttonGoupProps.size,\n    buttonType = buttonGoupProps.buttonType,\n    disabled = buttonGoupProps.disabled,\n    onVisibleChange = buttonGoupProps.onVisibleChange,\n    loading = buttonGoupProps.loading;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    optionShow = _useState2[0],\n    setOptionShow = _useState2[1]; // 下拉列表是否展示\n  var refBtnGroup = react__WEBPACK_IMPORTED_MODULE_5___default().useRef(null) || ref;\n  var triggerRef = react__WEBPACK_IMPORTED_MODULE_5___default().useRef(null);\n  var isBsicType = type === 'basic';\n  var btnGroupPrefixCls = getPrefixCls(prefixCls, 'btn-group', customPrefixcls);\n  var btnGroupClasses = classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(btnGroupPrefixCls), className, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(btnGroupPrefixCls, \"-\")).call(_context, type), type));\n  var renderTriggerButton = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function () {\n    var _toArray = (0,_utils_react_children__WEBPACK_IMPORTED_MODULE_10__.toArray)(icon),\n      _toArray2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_toArray, 2),\n      _toArray2$ = _toArray2[0],\n      iconUp = _toArray2$ === void 0 ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_index__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n        type: \"arrow-up\"\n      }) : _toArray2$,\n      _toArray2$2 = _toArray2[1],\n      iconDown = _toArray2$2 === void 0 ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_index__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n        type: \"arrow-down\"\n      }) : _toArray2$2;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n      style: style,\n      className: btnGroupClasses,\n      ref: refBtnGroup\n    }, isBsicType && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_index__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n      type: buttonType,\n      size: size,\n      disabled: disabled,\n      loading: loading\n    }, children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n      className: \"\".concat(btnGroupPrefixCls, \"-basic-icon\")\n    }, optionShow ? iconUp : iconDown)), !isBsicType && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_index__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n      type: buttonType,\n      size: size,\n      disabled: disabled,\n      onClick: onClick,\n      loading: loading\n    }, children), !isBsicType && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n      className: \"\".concat(btnGroupPrefixCls, \"-trigger\"),\n      ref: triggerRef\n    }, optionShow ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_index__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n      icon: iconUp,\n      type: buttonType,\n      size: size,\n      disabled: disabled\n    }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_index__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n      icon: iconDown,\n      type: buttonType,\n      size: size,\n      disabled: disabled\n    })));\n  }, [icon, btnGroupPrefixCls, style, btnGroupClasses, refBtnGroup, isBsicType, buttonType, disabled, children, optionShow, onClick, size]);\n  var handleItemClick = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function (data) {\n    onItemClick === null || onItemClick === void 0 ? void 0 : onItemClick(data);\n    setOptionShow(false);\n  }, [onItemClick]);\n  var renderContent = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function () {\n    var _context2;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n      className: \"\".concat(btnGroupPrefixCls, \"-dropdown\")\n    }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = overlay || []).call(_context2, function (item) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n        key: item.value,\n        className: \"\".concat(btnGroupPrefixCls, \"-dropdown-item\"),\n        onClick: function onClick() {\n          return handleItemClick === null || handleItemClick === void 0 ? void 0 : handleItemClick(item);\n        }\n      }, item.label);\n    }));\n  }, [btnGroupPrefixCls, overlay, handleItemClick]);\n  var handleVisibleChange = function handleVisibleChange(visible) {\n    setOptionShow(visible);\n    onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(visible);\n  };\n  var popperProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    placement: 'bottomLeft',\n    trigger: 'click',\n    gap: 0\n  }, buttonGoupProps), {\n    prefixCls: btnGroupPrefixCls,\n    defaultVisible: optionShow,\n    visible: optionShow,\n    onVisibleChange: handleVisibleChange,\n    getTriggerElement: function getTriggerElement(locatorNode) {\n      return isBsicType ? locatorNode : triggerRef.current;\n    }\n  });\n  return (0,_utils_usePopper__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(renderTriggerButton(), renderContent(), popperProps);\n};\nvar ButtonGroup = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().forwardRef(InternalButtonGroup);\nButtonGroup.displayName = 'ButtonGroup';\n/* harmony default export */ __webpack_exports__[\"default\"] = (ButtonGroup);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/button/group.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/button/index.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/button/index.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./button */ \"../../node_modules/@kdcloudjs/kdesign/es/button/button.js\");\n/* harmony import */ var _group__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./group */ \"../../node_modules/@kdcloudjs/kdesign/es/button/group.js\");\n\n\nvar Button = _button__WEBPACK_IMPORTED_MODULE_0__[\"default\"];\nButton.Dropdown = _group__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\n/* harmony default export */ __webpack_exports__[\"default\"] = (Button);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/button/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/card/card.js":
/*!*************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/card/card.js ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _checkbox__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../checkbox */ \"../../node_modules/@kdcloudjs/kdesign/es/checkbox/index.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\nvar Card = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function (props, ref) {\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_4__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    pkgPrefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  // 属性需要合并一遍用户定义的默认属性\n  var _a = (0,_utils__WEBPACK_IMPORTED_MODULE_5__.getCompProps)('Card', userDefaultProps, props),\n    tags = _a.tags,\n    style = _a.style,\n    title = _a.title,\n    avatar = _a.avatar,\n    actions = _a.actions,\n    extra = _a.extra,\n    children = _a.children,\n    className = _a.className,\n    hoverable = _a.hoverable,\n    headStyle = _a.headStyle,\n    bodyStyle = _a.bodyStyle,\n    selectable = _a.selectable,\n    checkboxProps = _a.checkboxProps,\n    customPrefixcls = _a.prefixCls,\n    others = __rest(_a, [\"tags\", \"style\", \"title\", \"avatar\", \"actions\", \"extra\", \"children\", \"className\", \"hoverable\", \"headStyle\", \"bodyStyle\", \"selectable\", \"checkboxProps\", \"prefixCls\"]);\n  // className前缀\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'card', customPrefixcls);\n  var cardClassName = classnames__WEBPACK_IMPORTED_MODULE_3___default()(prefixCls, {\n    hoverable: hoverable\n  }, className);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    ref: ref,\n    className: cardClassName,\n    style: style\n  }, others), title && !avatar && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(\"header\", {\n    className: \"\".concat(prefixCls, \"-header\"),\n    style: headStyle\n  }, title), avatar && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(\"header\", {\n    className: \"\".concat(prefixCls, \"-avatar\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(prefixCls, \"-avatar-img\"), {\n      circle: !avatar.square\n    })\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(\"img\", {\n    src: avatar.src\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(\"div\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(\"h4\", {\n    className: \"\".concat(prefixCls, \"-avatar-title\")\n  }, avatar.title), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-avatar-desc\")\n  }, avatar.description))), selectable && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_checkbox__WEBPACK_IMPORTED_MODULE_6__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, checkboxProps)), tags && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-tags\")\n  }, tags), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-body\"),\n    style: bodyStyle\n  }, children), actions && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-actions\")\n  }, actions), extra && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-extra\")\n  }, extra));\n});\nCard.displayName = 'Card';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Card);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/card/card.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/card/index.js":
/*!**************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/card/index.js ***!
  \**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _card__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./card */ \"../../node_modules/@kdcloudjs/kdesign/es/card/card.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_card__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/card/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/carousel/carousel.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/carousel/carousel.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   DotPositionTypes: function() { return /* binding */ DotPositionTypes; },\n/* harmony export */   EffectTypes: function() { return /* binding */ EffectTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var resize_observer_polyfill__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! resize-observer-polyfill */ \"../../node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var lodash_isBoolean__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash/isBoolean */ \"../../node_modules/lodash/isBoolean.js\");\n/* harmony import */ var lodash_isBoolean__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash_isBoolean__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _fadeList__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./fadeList */ \"../../node_modules/@kdcloudjs/kdesign/es/carousel/fadeList.js\");\n/* harmony import */ var _slideList__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./slideList */ \"../../node_modules/@kdcloudjs/kdesign/es/carousel/slideList.js\");\n/* harmony import */ var _displayList__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./displayList */ \"../../node_modules/@kdcloudjs/kdesign/es/carousel/displayList.js\");\n/* harmony import */ var _slidebar__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./slidebar */ \"../../node_modules/@kdcloudjs/kdesign/es/carousel/slidebar.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar DotPositionTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_8__.tuple)('top', 'left', 'bottom', 'right');\nvar EffectTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_8__.tuple)('scrollx', 'fade');\nvar InternalCarousel = function InternalCarousel(props, ref) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_9__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var carouselProps = (0,_utils__WEBPACK_IMPORTED_MODULE_10__.getCompProps)('Carousel', userDefaultProps, props);\n  var autoplay = carouselProps.autoplay,\n    jumpNode = carouselProps.jumpNode,\n    dotPosition = carouselProps.dotPosition,\n    children = carouselProps.children,\n    dots = carouselProps.dots,\n    easing = carouselProps.easing,\n    effect = carouselProps.effect,\n    intervalTime = carouselProps.intervalTime,\n    afterChange = carouselProps.afterChange,\n    beforeChange = carouselProps.beforeChange,\n    customPrefixcls = carouselProps.prefixCls,\n    className = carouselProps.className,\n    style = carouselProps.style;\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(DotPositionTypes.indexOf(dotPosition) === -1, 'carousel', \"cannot found dotPosition type '\".concat(dotPosition, \"'\"));\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(EffectTypes.indexOf(effect) === -1, 'carousel', \"cannot found effect type '\".concat(effect, \"'\"));\n  var carouselPrefixCls = getPrefixCls(prefixCls, 'carousel', customPrefixcls); // 按钮样式前缀\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_4___default().useState(0),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_React$useState, 2),\n    itemWidth = _React$useState2[0],\n    setItemWidth = _React$useState2[1];\n  var _React$useState3 = react__WEBPACK_IMPORTED_MODULE_4___default().useState(false),\n    _React$useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_React$useState3, 2),\n    needAnimation = _React$useState4[0],\n    setNeedAnimation = _React$useState4[1];\n  var _React$useState5 = react__WEBPACK_IMPORTED_MODULE_4___default().useState(0),\n    _React$useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_React$useState5, 2),\n    currentIndex = _React$useState6[0],\n    setCurrentIndex = _React$useState6[1];\n  var carouselRef = react__WEBPACK_IMPORTED_MODULE_4___default().useRef();\n  var listRef = react__WEBPACK_IMPORTED_MODULE_4___default().useRef();\n  var autoplayRef = react__WEBPACK_IMPORTED_MODULE_4___default().useRef();\n  var isScrollxEffect = react__WEBPACK_IMPORTED_MODULE_4___default().useMemo(function () {\n    return effect === 'scrollx';\n  }, [effect]);\n  var isFadeEffect = react__WEBPACK_IMPORTED_MODULE_4___default().useMemo(function () {\n    return effect === 'fade';\n  }, [effect]);\n  var isNoneEffect = react__WEBPACK_IMPORTED_MODULE_4___default().useMemo(function () {\n    return effect === 'none';\n  }, [effect]);\n  var posX = react__WEBPACK_IMPORTED_MODULE_4___default().useMemo(function () {\n    return -1 * (currentIndex + 1) * itemWidth;\n  }, [currentIndex, itemWidth]);\n  var reSize = react__WEBPACK_IMPORTED_MODULE_4___default().useCallback(function (rect) {\n    if (itemWidth !== rect.width && !rect.hide) {\n      setItemWidth(rect.width);\n    }\n  }, [itemWidth]);\n  var setScrollXEffectStyle = react__WEBPACK_IMPORTED_MODULE_4___default().useCallback(function () {\n    var _context;\n    if (!listRef.current) return;\n    listRef.current.style.cssText = needAnimation ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"transform: translateX(\".concat(posX, \"px); transition:all 0.3s \")).call(_context, easing) : \"transform: translateX(\".concat(posX, \"px); transition:none\");\n  }, [children === null || children === void 0 ? void 0 : children.length, needAnimation, easing, posX]);\n  var jumpTo = react__WEBPACK_IMPORTED_MODULE_4___default().useCallback(function (index, needAnimation) {\n    if (isFadeEffect) {\n      if (index === -1 || index === children.length) index = 0;\n      beforeChange && beforeChange(currentIndex, index);\n      setCurrentIndex(index);\n      setNeedAnimation(needAnimation);\n    } else if (index >= -1 && index <= children.length) {\n      beforeChange && beforeChange(currentIndex, index);\n      setCurrentIndex(index);\n      setNeedAnimation(needAnimation);\n    }\n  }, [isFadeEffect, beforeChange, currentIndex, children === null || children === void 0 ? void 0 : children.length]);\n  var next = react__WEBPACK_IMPORTED_MODULE_4___default().useCallback(function () {\n    jumpTo(currentIndex + 1, true);\n  }, [currentIndex, jumpTo]);\n  var prev = react__WEBPACK_IMPORTED_MODULE_4___default().useCallback(function () {\n    jumpTo(currentIndex - 1, true);\n  }, [currentIndex, jumpTo]);\n  var play = react__WEBPACK_IMPORTED_MODULE_4___default().useCallback(function () {\n    autoplayRef.current && clearTimeout(autoplayRef.current);\n    autoplayRef.current = setTimeout(function () {\n      next();\n    }, intervalTime);\n  }, [intervalTime, next]);\n  react__WEBPACK_IMPORTED_MODULE_4___default().useEffect(function () {\n    var element = carouselRef.current;\n    var handler = reSize;\n    if (!element) {\n      (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(!element && element !== null, 'useResizeMeasure', 'useResizeMeasure指定的元素不存在');\n      return;\n    }\n    var measure = function measure(entries) {\n      if (!entries[0] || !entries[0].contentRect) {\n        return;\n      }\n      var contentRect = entries[0].contentRect;\n      var hide = contentRect.width === 0 && contentRect.height === 0; // 隐藏条件：高宽都为0\n      var bottom = contentRect.bottom,\n        height = contentRect.height,\n        left = contentRect.left,\n        right = contentRect.right,\n        top = contentRect.top,\n        width = contentRect.width,\n        x = contentRect.x,\n        y = contentRect.y;\n      handler && handler({\n        bottom: bottom,\n        height: height,\n        left: left,\n        right: right,\n        top: top,\n        width: width,\n        x: x,\n        y: y,\n        hide: hide\n      });\n    };\n    var resizeObserver = new resize_observer_polyfill__WEBPACK_IMPORTED_MODULE_6__[\"default\"](measure);\n    resizeObserver && resizeObserver.observe(element);\n    return function () {\n      resizeObserver && resizeObserver.disconnect();\n    };\n  }, [reSize]);\n  react__WEBPACK_IMPORTED_MODULE_4___default().useLayoutEffect(function () {\n    isScrollxEffect && setScrollXEffectStyle();\n  }, [setScrollXEffectStyle, isScrollxEffect]);\n  react__WEBPACK_IMPORTED_MODULE_4___default().useEffect(function () {\n    if (autoplay) {\n      play();\n    }\n    return function () {\n      autoplayRef.current && clearTimeout(autoplayRef.current);\n    };\n  }, [currentIndex, autoplay, intervalTime, play]);\n  var showDot = function showDot() {\n    return lodash_isBoolean__WEBPACK_IMPORTED_MODULE_7___default()(dots) ? dots : true;\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_4__.useImperativeHandle)(ref, function () {\n    return {\n      next: next,\n      prev: prev,\n      jumpTo: jumpTo,\n      getRef: function getRef() {\n        return carouselRef.current;\n      }\n    };\n  });\n  var handleClick = react__WEBPACK_IMPORTED_MODULE_4___default().useCallback(function (index) {\n    beforeChange && beforeChange(currentIndex, index);\n    setCurrentIndex(index);\n    setNeedAnimation(true);\n  }, [beforeChange, currentIndex]);\n  var handleTransitionEnd = react__WEBPACK_IMPORTED_MODULE_4___default().useCallback(function () {\n    if (!autoplay || !(children === null || children === void 0 ? void 0 : children.length)) return;\n    var childrenL = children.length;\n    var newCurrentIndex = currentIndex;\n    if (isScrollxEffect) {\n      if (currentIndex === -1) {\n        newCurrentIndex = childrenL - 1;\n      }\n      if (currentIndex === childrenL) {\n        newCurrentIndex = 0;\n      }\n    }\n    afterChange && afterChange(currentIndex);\n    setCurrentIndex(newCurrentIndex);\n    isScrollxEffect && setNeedAnimation(false);\n  }, [currentIndex, children === null || children === void 0 ? void 0 : children.length, afterChange, isScrollxEffect, autoplay]);\n  var handleMouseEnter = react__WEBPACK_IMPORTED_MODULE_4___default().useCallback(function () {\n    autoplayRef.current && clearTimeout(autoplayRef.current);\n  }, []);\n  var handleMouseLeave = react__WEBPACK_IMPORTED_MODULE_4___default().useCallback(function () {\n    autoplay && play();\n  }, [play, autoplay]);\n  var rootClassName = classnames__WEBPACK_IMPORTED_MODULE_5___default()(className, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(carouselPrefixCls, \"-root\"), true));\n  var renderDisplayList = function renderDisplayList() {\n    var content;\n    if (isFadeEffect) {\n      content = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_fadeList__WEBPACK_IMPORTED_MODULE_12__.FadeList, {\n        items: children,\n        parentPrefixCls: carouselPrefixCls,\n        needAnimation: needAnimation,\n        currentIndex: currentIndex,\n        ref: listRef,\n        itemWidth: itemWidth\n      });\n    } else if (isNoneEffect) {\n      content = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_displayList__WEBPACK_IMPORTED_MODULE_13__.DisplayList, {\n        items: children,\n        parentPrefixCls: carouselPrefixCls,\n        currentIndex: currentIndex,\n        ref: listRef\n      });\n    } else {\n      content = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_slideList__WEBPACK_IMPORTED_MODULE_14__.SlideList, {\n        items: children,\n        parentPrefixCls: carouselPrefixCls,\n        currentIndex: currentIndex,\n        ref: listRef\n      });\n    }\n    return content;\n  };\n  var renderJumpNode = function renderJumpNode() {\n    if ((children === null || children === void 0 ? void 0 : children.length) && jumpNode) {\n      var jumpClassPrefix = \"\".concat(carouselPrefixCls, \"-jump\");\n      var leftClick = function leftClick(e) {\n        e.stopPropagation();\n        if (currentIndex !== 0) {\n          prev();\n        }\n      };\n      var rightClick = function rightClick(e) {\n        e.stopPropagation();\n        if (currentIndex !== children.length - 1) {\n          next();\n        }\n      };\n      var mergeNode = function mergeNode(node, type) {\n        var onClick = function onClick(evt) {\n          var chClick = node.props.onClick;\n          if (type === 'left') {\n            leftClick(evt);\n          } else {\n            rightClick(evt);\n          }\n          if (typeof chClick === 'function') {\n            chClick(evt);\n          }\n        };\n        return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, node.props), {\n          onClick: onClick\n        });\n      };\n      var leftNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n        className: classnames__WEBPACK_IMPORTED_MODULE_5___default()(jumpClassPrefix, \"\".concat(jumpClassPrefix, \"-left\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(jumpClassPrefix, \"-disabled\"), currentIndex <= 0))\n      }, Array.isArray(jumpNode) && jumpNode.length > 0 && /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_4__.isValidElement)(jumpNode[0]) ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().cloneElement(jumpNode[0], mergeNode(jumpNode[0], 'left')) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n        className: \"\".concat(jumpClassPrefix, \"-icon\"),\n        type: 'arrow-left-circle-solid',\n        onClick: leftClick\n      }));\n      var rightNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n        className: classnames__WEBPACK_IMPORTED_MODULE_5___default()(jumpClassPrefix, \"\".concat(jumpClassPrefix, \"-right\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(jumpClassPrefix, \"-disabled\"), currentIndex >= children.length - 1))\n      }, Array.isArray(jumpNode) && jumpNode.length > 1 && /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_4__.isValidElement)(jumpNode[1]) ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().cloneElement(jumpNode[1], mergeNode(jumpNode[1], 'right')) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n        className: \"\".concat(jumpClassPrefix, \"-icon\"),\n        type: 'arrow-right-circle-solid',\n        onClick: rightClick\n      }));\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement((react__WEBPACK_IMPORTED_MODULE_4___default().Fragment), null, leftNode, rightNode);\n    }\n    return null;\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: rootClassName,\n    ref: carouselRef,\n    onTransitionEnd: function onTransitionEnd() {\n      return handleTransitionEnd();\n    },\n    style: style,\n    onMouseEnter: handleMouseEnter,\n    onMouseLeave: handleMouseLeave\n  }, (children === null || children === void 0 ? void 0 : children.length) ? renderDisplayList() : null, (children === null || children === void 0 ? void 0 : children.length) && showDot() ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_slidebar__WEBPACK_IMPORTED_MODULE_16__.Slidebar, {\n    number: children.length,\n    currentIndex: currentIndex,\n    dotsClassName: dots,\n    parentPrefixCls: carouselPrefixCls,\n    dotPosition: dotPosition,\n    onClick: handleClick\n  }) : null, renderJumpNode());\n};\nvar Carousel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().forwardRef(InternalCarousel);\nCarousel.displayName = 'Carousel';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Carousel);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/carousel/carousel.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/carousel/displayList.js":
/*!************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/carousel/displayList.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   DisplayList: function() { return /* binding */ DisplayList; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n\n\n\n\nvar DisplayList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forwardRef(function (props, ref) {\n  var _context;\n  var items = props.items,\n    parentPrefixCls = props.parentPrefixCls,\n    currentIndex = props.currentIndex;\n  var itemRef = react__WEBPACK_IMPORTED_MODULE_2___default().useRef(null);\n  var displayListPrefixCls = \"\".concat(parentPrefixCls, \"-list-display\");\n  var listPrefixCls = \"\".concat(parentPrefixCls, \"-list\");\n  var renderItems = function renderItems() {\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0___default()(items).call(items, function (item, index) {\n      var opacityClassName = index === currentIndex ? \"\".concat(listPrefixCls, \"-item-not-hidden\") : \"\".concat(listPrefixCls, \"-item-hidden\");\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"li\", {\n        className: classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(listPrefixCls, \"-item\"), opacityClassName),\n        key: index,\n        ref: itemRef\n      }, item);\n    });\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"ul\", {\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default()(_context = \"\".concat(listPrefixCls, \" \")).call(_context, displayListPrefixCls),\n    ref: ref\n  }, renderItems());\n});\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/carousel/displayList.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/carousel/fadeList.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/carousel/fadeList.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   FadeList: function() { return /* binding */ FadeList; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n\n\n\n\nvar FadeList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forwardRef(function (props, ref) {\n  var _context;\n  var items = props.items,\n    parentPrefixCls = props.parentPrefixCls,\n    needAnimation = props.needAnimation,\n    currentIndex = props.currentIndex,\n    itemWidth = props.itemWidth;\n  var itemRef = react__WEBPACK_IMPORTED_MODULE_2___default().useRef(null);\n  var fadeListPrefixCls = \"\".concat(parentPrefixCls, \"-list-fade\");\n  var listPrefixCls = \"\".concat(parentPrefixCls, \"-list\");\n  var renderItems = function renderItems() {\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0___default()(items).call(items, function (item, index) {\n      var opacityClassName = index === currentIndex ? \"\".concat(listPrefixCls, \"-item-not-hidden\") : \"\".concat(listPrefixCls, \"-item-hidden\");\n      var animationClassName = needAnimation ? \"\".concat(listPrefixCls, \"-item-animation\") : \"\".concat(listPrefixCls, \"-item-none-animation\");\n      var posx = -1 * index * itemWidth;\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"li\", {\n        className: classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(listPrefixCls, \"-item\"), opacityClassName, animationClassName),\n        key: index,\n        ref: itemRef,\n        style: {\n          left: \"\".concat(posx, \"px\")\n        }\n      }, item);\n    });\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"ul\", {\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default()(_context = \"\".concat(listPrefixCls, \" \")).call(_context, fadeListPrefixCls),\n    ref: ref\n  }, renderItems());\n});\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/carousel/fadeList.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/carousel/index.js":
/*!******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/carousel/index.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   DotPositionTypes: function() { return /* reexport safe */ _carousel__WEBPACK_IMPORTED_MODULE_0__.DotPositionTypes; },\n/* harmony export */   EffectTypes: function() { return /* reexport safe */ _carousel__WEBPACK_IMPORTED_MODULE_0__.EffectTypes; },\n/* harmony export */   FadeList: function() { return /* reexport safe */ _fadeList__WEBPACK_IMPORTED_MODULE_2__.FadeList; },\n/* harmony export */   SlideList: function() { return /* reexport safe */ _slideList__WEBPACK_IMPORTED_MODULE_3__.SlideList; },\n/* harmony export */   Slidebar: function() { return /* reexport safe */ _slidebar__WEBPACK_IMPORTED_MODULE_1__.Slidebar; }\n/* harmony export */ });\n/* harmony import */ var _carousel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./carousel */ \"../../node_modules/@kdcloudjs/kdesign/es/carousel/carousel.js\");\n/* harmony import */ var _slidebar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./slidebar */ \"../../node_modules/@kdcloudjs/kdesign/es/carousel/slidebar.js\");\n/* harmony import */ var _slideList__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./slideList */ \"../../node_modules/@kdcloudjs/kdesign/es/carousel/slideList.js\");\n/* harmony import */ var _fadeList__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fadeList */ \"../../node_modules/@kdcloudjs/kdesign/es/carousel/fadeList.js\");\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_carousel__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/carousel/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/carousel/slideList.js":
/*!**********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/carousel/slideList.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   SlideList: function() { return /* binding */ SlideList; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n\n\n\n\n\n\nvar SlideList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().forwardRef(function (props, ref) {\n  var _context2;\n  var items = props.items,\n    parentPrefixCls = props.parentPrefixCls,\n    currentIndex = props.currentIndex;\n  var slideListPrefixCls = \"\".concat(parentPrefixCls, \"-list-slide\");\n  var listPrefixCls = \"\".concat(parentPrefixCls, \"-list\");\n  var renderItems = function renderItems() {\n    var _context;\n    var _items = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default()(_context = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_2___default()(items).call(items, -1)).call(_context, items, _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_2___default()(items).call(items, 0, 1)); // 首位分别添加一项\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default()(_items).call(_items, function (item, index) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"li\", {\n        className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(listPrefixCls, \"-item\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(listPrefixCls, \"-item-active\"), currentIndex === index - 1)),\n        key: index\n      }, item);\n    });\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"ul\", {\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default()(_context2 = \"\".concat(listPrefixCls, \" \")).call(_context2, slideListPrefixCls),\n    ref: ref\n  }, renderItems());\n});\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/carousel/slideList.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/carousel/slidebar.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/carousel/slidebar.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Slidebar: function() { return /* binding */ Slidebar; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var lodash_isObject__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash/isObject */ \"../../node_modules/lodash/isObject.js\");\n/* harmony import */ var lodash_isObject__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash_isObject__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n\n\nvar Slidebar = function Slidebar(props) {\n  var _context, _classNames;\n  var number = props.number,\n    currentIndex = props.currentIndex,\n    dotPosition = props.dotPosition,\n    dotsClassName = props.dotsClassName,\n    parentPrefixCls = props.parentPrefixCls,\n    _onClick = props.onClick;\n  var slideBarPrefixCls = \"\".concat(parentPrefixCls, \"-slidebar\");\n  var slideClassName = classnames__WEBPACK_IMPORTED_MODULE_3___default()((_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(slideBarPrefixCls), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default()(_context = \"\".concat(slideBarPrefixCls, \"-\")).call(_context, dotPosition), true), _classNames));\n  var renderDot = function renderDot() {\n    var element = [];\n    var _loop = function _loop(i) {\n      var _classNames2, _classNames3;\n      var dotClassName = lodash_isObject__WEBPACK_IMPORTED_MODULE_4___default()(dotsClassName) ? classnames__WEBPACK_IMPORTED_MODULE_3___default()((_classNames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(dotsClassName.dotsClassName), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(dotsClassName.activeDotsClassName), i === currentIndex), _classNames2)) : classnames__WEBPACK_IMPORTED_MODULE_3___default()((_classNames3 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames3, \"\".concat(slideBarPrefixCls, \"-dot\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames3, \"\".concat(slideBarPrefixCls, \"-dot-active\"), i === currentIndex), _classNames3));\n      var li = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"li\", {\n        key: i,\n        className: dotClassName\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"button\", {\n        onClick: function onClick() {\n          return _onClick(i);\n        }\n      }));\n      element.push(li);\n    };\n    for (var i = 0; i <= number - 1; i++) {\n      _loop(i);\n    }\n    return element;\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"ul\", {\n    className: slideClassName\n  }, renderDot());\n};\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/carousel/slidebar.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/cascader/cascader.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/cascader/cascader.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   CascaderPlacement: function() { return /* binding */ CascaderPlacement; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/json/stringify */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/json/stringify.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/splice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils_usePopper__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../_utils/usePopper */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/usePopper.js\");\n/* harmony import */ var _utils_domUtil__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../_utils/domUtil */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/domUtil.js\");\n/* harmony import */ var _input__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../input */ \"../../node_modules/@kdcloudjs/kdesign/es/input/index.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _empty__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../empty */ \"../../node_modules/@kdcloudjs/kdesign/es/empty/index.js\");\n/* harmony import */ var _checkbox__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../checkbox */ \"../../node_modules/@kdcloudjs/kdesign/es/checkbox/index.js\");\n/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../tag */ \"../../node_modules/@kdcloudjs/kdesign/es/tag/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./util */ \"../../node_modules/@kdcloudjs/kdesign/es/cascader/util.js\");\n\n\n\n\n\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar CascaderPlacement = (0,_utils_type__WEBPACK_IMPORTED_MODULE_12__.tuple)('topLeft', 'topRight', 'bottomLeft', 'bottomRight');\nvar CascaderMenuSubmenu = function CascaderMenuSubmenu(props) {\n  var optionProps = props.optionProps,\n    label = props.label,\n    children = props.children,\n    selected = props.selected,\n    isMultiple = props.isMultiple;\n  var ref = (0,react__WEBPACK_IMPORTED_MODULE_10__.useRef)(null);\n  var isFirst = (0,react__WEBPACK_IMPORTED_MODULE_10__.useRef)(!isMultiple);\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(function () {\n    if (typeof selected === 'boolean' && isFirst.current && ref.current) {\n      isFirst.current = false;\n      if (selected && !isMultiple) {\n        (0,_utils_domUtil__WEBPACK_IMPORTED_MODULE_13__.scrollToDirectory)(ref);\n      }\n    }\n  }, [selected]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({\n    ref: ref\n  }, optionProps, {\n    title: label\n  }), children);\n};\nvar Cascader = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().forwardRef(function (props, ref) {\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_10___default().useContext(_config_provider__WEBPACK_IMPORTED_MODULE_14__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    pkgPrefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  // 属性需要合并一遍用户定义的默认属性\n  var allProps = (0,_utils__WEBPACK_IMPORTED_MODULE_15__.getCompProps)('Cascader', userDefaultProps, props);\n  var mode = allProps.mode,\n    style = allProps.style,\n    options = allProps.options,\n    bordered = allProps.bordered,\n    disabled = allProps.disabled,\n    children = allProps.children,\n    loadData = allProps.loadData,\n    clearIcon = allProps.clearIcon,\n    className = allProps.className,\n    fieldNames = allProps.fieldNames,\n    placeholder = allProps.placeholder,\n    defaultValue = allProps.defaultValue,\n    maxTagPlaceholder = allProps.maxTagPlaceholder,\n    displayRender = allProps.displayRender,\n    expandTrigger = allProps.expandTrigger,\n    changeOnSelect = allProps.changeOnSelect,\n    dropdownRender = allProps.dropdownRender,\n    notFoundContent = allProps.notFoundContent,\n    getPopupContainer = allProps.getPopupContainer,\n    defaultPopupVisible = allProps.defaultPopupVisible,\n    onPopupVisibleChange = allProps.onPopupVisibleChange,\n    onPopperVisibleChange = allProps.onPopperVisibleChange,\n    customPrefixcls = allProps.prefixCls,\n    customAllowClear = allProps.allowClear,\n    popupPlacement = allProps.popupPlacement,\n    maxTagCount = allProps.maxTagCount,\n    autoFocus = allProps.autoFocus,\n    otherProps = __rest(allProps\n    // className前缀\n    , [\"mode\", \"style\", \"options\", \"bordered\", \"disabled\", \"children\", \"loadData\", \"clearIcon\", \"className\", \"fieldNames\", \"placeholder\", \"defaultValue\", \"maxTagPlaceholder\", \"displayRender\", \"expandTrigger\", \"changeOnSelect\", \"dropdownRender\", \"notFoundContent\", \"getPopupContainer\", \"defaultPopupVisible\", \"onPopupVisibleChange\", \"onPopperVisibleChange\", \"prefixCls\", \"allowClear\", \"popupPlacement\", \"maxTagCount\", \"autoFocus\"]);\n  // className前缀\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'cascader', customPrefixcls);\n  var mergeRef = (0,react__WEBPACK_IMPORTED_MODULE_10__.useRef)();\n  var inputRef = (0,react__WEBPACK_IMPORTED_MODULE_10__.useRef)();\n  var suffixRef = (0,react__WEBPACK_IMPORTED_MODULE_10__.useRef)(null);\n  var wrapperRef = (0,react__WEBPACK_IMPORTED_MODULE_10__.useRef)();\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    visible = _useState2[0],\n    setVisible = _useState2[1];\n  react__WEBPACK_IMPORTED_MODULE_10___default().useEffect(function () {\n    setVisible(!!props.popperVisible || !!props.popupVisible);\n  }, [props.popperVisible, props.popupVisible]);\n  react__WEBPACK_IMPORTED_MODULE_10___default().useEffect(function () {\n    if (!!props.popperVisible || !!props.popupVisible || defaultPopupVisible) {\n      setVisible(true);\n    }\n  }, []);\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)([options]),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState3, 2),\n    menus = _useState4[0],\n    setMenus = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)([]),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState5, 2),\n    currentOptions = _useState6[0],\n    setCurrentOptions = _useState6[1];\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)([]),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState7, 2),\n    selectedOptions = _useState8[0],\n    setSelectedOptions = _useState8[1];\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(props.value || defaultValue || []),\n    _useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState9, 2),\n    value = _useState10[0],\n    setValue = _useState10[1];\n  react__WEBPACK_IMPORTED_MODULE_10___default().useEffect(function () {\n    props.value && setValue(props.value);\n  }, [props.value]);\n  var isMultiple = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(function () {\n    return mode === 'multiple';\n  }, [mode]);\n  var _useMemo = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(function () {\n      return (0,_util__WEBPACK_IMPORTED_MODULE_16__.flattenAll)(options, []);\n    }, [options]),\n    flattenData = _useMemo.flattenData,\n    keysData = _useMemo.keysData;\n  var _useChecked = (0,_util__WEBPACK_IMPORTED_MODULE_16__.useChecked)(value, flattenData, keysData, isMultiple),\n    _useChecked2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useChecked, 2),\n    checkedKeys = _useChecked2[0],\n    halfCheckedKeys = _useChecked2[1];\n  react__WEBPACK_IMPORTED_MODULE_10___default().useEffect(function () {\n    if (!isMultiple && value && (options === null || options === void 0 ? void 0 : options.length) > 0) {\n      var _currentOptions = [];\n      var _menus = [options];\n      var scanOptions = function scanOptions(options) {\n        options.forEach(function (option) {\n          var _a;\n          if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default()(value).call(value, String(option[fieldNames.value]))) {\n            _currentOptions.push(option);\n            if ((_a = option[fieldNames.children]) === null || _a === void 0 ? void 0 : _a.length) {\n              _menus.push(option[fieldNames.children]);\n              scanOptions(option[fieldNames.children]);\n            }\n          }\n        });\n      };\n      scanOptions(options);\n      setMenus(_menus);\n      setCurrentOptions(_currentOptions);\n    }\n  }, [options, value, selectedOptions, fieldNames, isMultiple]);\n  react__WEBPACK_IMPORTED_MODULE_10___default().useEffect(function () {\n    if (isMultiple && value && (options === null || options === void 0 ? void 0 : options.length) > 0) {\n      var _currentOptions2 = [];\n      var lastselectedOptions = value[(value === null || value === void 0 ? void 0 : value.length) - 1] || [];\n      var _menus2 = [options];\n      var scanOptions = function scanOptions(options) {\n        options.forEach(function (option) {\n          var _a;\n          if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default()(lastselectedOptions).call(lastselectedOptions, String(option[fieldNames.value]))) {\n            _currentOptions2.push(option);\n            if ((_a = option[fieldNames.children]) === null || _a === void 0 ? void 0 : _a.length) {\n              _menus2.push(option[fieldNames.children]);\n              scanOptions(option[fieldNames.children]);\n            }\n          }\n        });\n      };\n      scanOptions(options);\n      var newMultipleOptions = value === null || value === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(value).call(value, function (item) {\n        return Array.isArray(item) ? _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(item).call(item, function (key) {\n          return keysData[key];\n        }) : [];\n      });\n      setMenus(_menus2);\n      setCurrentOptions(newMultipleOptions);\n    }\n  }, [options, value, fieldNames, isMultiple]);\n  var handleFocus = function handleFocus() {\n    var _a, _b;\n    if (!disabled) {\n      if (isMultiple) {\n        (_a = mergeRef.current) === null || _a === void 0 ? void 0 : _a.focus();\n      } else {\n        (_b = inputRef.current) === null || _b === void 0 ? void 0 : _b.focus();\n      }\n    }\n  };\n  var handleBlur = function handleBlur() {\n    var _a, _b;\n    if (!disabled) {\n      if (isMultiple) {\n        (_a = mergeRef.current) === null || _a === void 0 ? void 0 : _a.blur();\n      } else {\n        (_b = inputRef.current) === null || _b === void 0 ? void 0 : _b.blur();\n      }\n    }\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useImperativeHandle)(ref, function () {\n    return {\n      focus: handleFocus,\n      blur: handleBlur,\n      dom: mergeRef.current\n    };\n  });\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(function () {\n    if (autoFocus) {\n      handleFocus();\n    }\n  }, [autoFocus, inputRef]);\n  var handleMouseUp = function handleMouseUp(e) {\n    var _a;\n    var cln = (_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.className;\n    var isCloseBtn = cln.indexOf('kd-tag-close-icon') > -1 || cln.indexOf('kdicon') > -1;\n    if (isCloseBtn) {\n      e.stopPropagation();\n    }\n  };\n  react__WEBPACK_IMPORTED_MODULE_10___default().useEffect(function () {\n    var _a;\n    ;\n    (_a = (isMultiple ? suffixRef : wrapperRef).current) === null || _a === void 0 ? void 0 : _a.addEventListener('mouseup', handleMouseUp);\n    return function () {\n      var _a;\n      ;\n      (_a = (isMultiple ? suffixRef : wrapperRef).current) === null || _a === void 0 ? void 0 : _a.removeEventListener('mouseup', handleMouseUp);\n    };\n  }, []);\n  var labels = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(function () {\n    return !isMultiple ? _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(currentOptions).call(currentOptions, function (_ref) {\n      var label = _ref[fieldNames.label];\n      return label;\n    }) : _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(currentOptions).call(currentOptions, function (option) {\n      return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(option).call(option, function (_ref2) {\n        var label = _ref2[fieldNames.label];\n        return label;\n      });\n    });\n  }, [currentOptions, fieldNames.label, isMultiple]);\n  var values = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(function () {\n    return !isMultiple ? _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(currentOptions).call(currentOptions, function (_ref3) {\n      var value = _ref3.value;\n      return value;\n    }) : _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(currentOptions).call(currentOptions, function (option) {\n      return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(option).call(option, function (_ref4) {\n        var value = _ref4.value;\n        return value;\n      });\n    });\n  }, [currentOptions, isMultiple]);\n  var allowClear = customAllowClear && value.length > 0 && !disabled;\n  var handleClear = function handleClear() {\n    handleBlur();\n    setVisible(false);\n    onChange([]);\n  };\n  var renderSuffix = function renderSuffix() {\n    var _classNames;\n    var suffixIcon = allProps.suffixIcon;\n    // 选择器下拉icon样式\n    var arrowIconCls = classnames__WEBPACK_IMPORTED_MODULE_11___default()((_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-icon-arrow\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-icon-arrow-up\"), visible), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-icon-arrow-down\"), !visible), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-icon-arrow-focus\"), visible), _classNames));\n    var iconShow = allowClear && !disabled && currentOptions.length > 0;\n    var clearIconCls = classnames__WEBPACK_IMPORTED_MODULE_11___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(prefixCls, \"-icon-clear\"), true));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement((react__WEBPACK_IMPORTED_MODULE_10___default().Fragment), null, iconShow ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"span\", {\n      onClick: handleClear,\n      className: clearIconCls\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n      type: \"close-solid\"\n    }) || clearIcon) : null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"span\", {\n      className: arrowIconCls\n    }, suffixIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n      type: \"arrow-down\"\n    })));\n  };\n  var handleMaxTagHolder = (0,react__WEBPACK_IMPORTED_MODULE_10__.useCallback)(function () {\n    if (typeof maxTagPlaceholder === 'function') {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_tag__WEBPACK_IMPORTED_MODULE_18__[\"default\"], {\n        type: \"edit\",\n        disabled: disabled\n      }, maxTagPlaceholder(currentOptions));\n    } else {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_tag__WEBPACK_IMPORTED_MODULE_18__[\"default\"], {\n        type: \"edit\",\n        disabled: disabled\n      }, maxTagPlaceholder);\n    }\n  }, [disabled, maxTagPlaceholder, currentOptions]);\n  var handleRemove = function handleRemove(e, opt) {\n    e.stopPropagation();\n    onMultipleChecked((0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(opt).pop(), false);\n  };\n  var renderMultiple = function renderMultiple() {\n    var _classNames3, _classNames4;\n    var multipleCls = classnames__WEBPACK_IMPORTED_MODULE_11___default()((_classNames3 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames3, \"\".concat(prefixCls, \"-expand\"), visible), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames3, \"\".concat(prefixCls, \"-disabled\"), disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames3, \"\".concat(prefixCls, \"-multiple\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames3, \"\".concat(prefixCls, \"-bordered\"), bordered), _classNames3));\n    var itemCls = classnames__WEBPACK_IMPORTED_MODULE_11___default()((_classNames4 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames4, \"\".concat(prefixCls, \"-selection-item\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames4, \"\".concat(prefixCls, \"-tag-describe\"), true), _classNames4));\n    var TagStyle = {\n      margin: '2px 8px 2px 0',\n      maxWidth: '100%'\n    };\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({\n      className: multipleCls,\n      ref: mergeRef,\n      style: style\n    }, otherProps, {\n      tabIndex: -1\n    }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", {\n      className: \"\".concat(prefixCls, \"-multiple-wrapper\"),\n      ref: wrapperRef\n    }, Array.isArray(currentOptions) ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement((react__WEBPACK_IMPORTED_MODULE_10___default().Fragment), null, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(currentOptions).call(currentOptions, function (option, index) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"span\", {\n        key: _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_7___default()(values[index]),\n        className: classnames__WEBPACK_IMPORTED_MODULE_11___default()(\"\".concat(prefixCls, \"-selection-tag\"))\n      }, !maxTagCount || index <= maxTagCount - 1 ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_tag__WEBPACK_IMPORTED_MODULE_18__[\"default\"], {\n        type: \"edit\",\n        disabled: disabled,\n        style: TagStyle,\n        closable: true,\n        onClose: function onClose(e) {\n          return handleRemove(e, option);\n        }\n      }, displayRender(labels[index], option)) : null);\n    }), maxTagCount && currentOptions.length > maxTagCount ? maxTagPlaceholder ? handleMaxTagHolder() : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"span\", {\n      className: itemCls\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-tag-describe-content\")\n    }, \"\\u5171\", currentOptions.length, \"\\u9879\")) : null) : null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-placeholder\")\n    }, !currentOptions.length ? placeholder : null)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"span\", {\n      ref: suffixRef,\n      className: \"\".concat(prefixCls, \"-suffix\")\n    }, renderSuffix()));\n  };\n  var renderSingle = function renderSingle() {\n    var _classNames5;\n    var inputProps = {\n      value: value,\n      ref: inputRef,\n      placeholder: placeholder,\n      readOnly: true,\n      borderType: bordered ? 'bordered' : 'underline',\n      disabled: disabled,\n      className: classnames__WEBPACK_IMPORTED_MODULE_11___default()(\"\".concat(prefixCls, \"-picker-input\"), {\n        expand: visible\n      }),\n      suffix: props.suffixIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n        type: \"arrow-down\",\n        className: classnames__WEBPACK_IMPORTED_MODULE_11___default()({\n          expand: visible\n        })\n      })\n    };\n    var singleProps = {\n      style: style,\n      tabIndex: 0,\n      className: classnames__WEBPACK_IMPORTED_MODULE_11___default()(\"\".concat(prefixCls, \"-picker\"), className, (_classNames5 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames5, \"\".concat(prefixCls, \"-single\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames5, \"\".concat(prefixCls, \"-expand\"), visible), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames5, \"allowClear\", allowClear), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames5, \"\".concat(prefixCls, \"-disabled\"), disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames5, \"\".concat(prefixCls, \"-bordered\"), bordered), _classNames5))\n    };\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({}, singleProps, {\n      ref: mergeRef\n    }, otherProps), react__WEBPACK_IMPORTED_MODULE_10___default().Children.count(children) === 1 && children.type ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().cloneElement(children) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement((react__WEBPACK_IMPORTED_MODULE_10___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", {\n      className: \"\".concat(prefixCls, \"-single-wrapper\"),\n      ref: wrapperRef\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_input__WEBPACK_IMPORTED_MODULE_19__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({}, inputProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-picker-label\")\n    }, (labels === null || labels === void 0 ? void 0 : labels.length) ? displayRender(labels, currentOptions) : ''), allowClear ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n      type: \"close-solid\",\n      className: \"\".concat(prefixCls, \"-picker-close\"),\n      onClick: handleClear\n    }) : null)));\n  };\n  var cascaderLocator = isMultiple ? renderMultiple() : renderSingle();\n  var onExpend = function onExpend(index, opt, opts) {\n    _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_8___default()(selectedOptions).call(selectedOptions, index, selectedOptions.length - index, opt);\n    setSelectedOptions(selectedOptions);\n    if (!(opts === null || opts === void 0 ? void 0 : opts.length) && opt.isLeaf !== false || changeOnSelect) {\n      onChange(selectedOptions);\n    }\n    !(opts === null || opts === void 0 ? void 0 : opts.length) && opt.isLeaf !== false && setVisible(false);\n    var newMenus = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(menus);\n    if ((opts === null || opts === void 0 ? void 0 : opts.length) || opt.isLeaf === false) {\n      _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_8___default()(newMenus).call(newMenus, index + 1, newMenus.length - index + 1, opts);\n    }\n    setMenus(newMenus);\n    loadData && opt.isLeaf === false && !(opts === null || opts === void 0 ? void 0 : opts.length) && loadData(selectedOptions);\n  };\n  var onMultipleExpend = function onMultipleExpend(index, opt, opts) {\n    _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_8___default()(selectedOptions).call(selectedOptions, index, selectedOptions.length - index, opt);\n    setSelectedOptions(selectedOptions);\n    var newMenus = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(menus);\n    if ((opts === null || opts === void 0 ? void 0 : opts.length) || opt.isLeaf === false) {\n      _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_8___default()(newMenus).call(newMenus, index + 1, newMenus.length - index + 1, opts);\n    }\n    setMenus(newMenus);\n    loadData && opt.isLeaf === false && !(opts === null || opts === void 0 ? void 0 : opts.length) && loadData(selectedOptions);\n  };\n  var onMultipleChecked = function onMultipleChecked(opt, checked) {\n    var _a;\n    var checkState = (0,_util__WEBPACK_IMPORTED_MODULE_16__.getAllCheckedKeys)(opt.value, checked, checkedKeys, keysData, halfCheckedKeys);\n    var newValue = (0,_util__WEBPACK_IMPORTED_MODULE_16__.getMultipleCheckValue)(value, opt, checked, flattenData, checkState.checkedKeys);\n    var newMultipleOptions = newValue === null || newValue === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(newValue).call(newValue, function (item) {\n      return Array.isArray(item) ? _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(item).call(item, function (key) {\n        return keysData[key];\n      }) : [];\n    });\n    if (!('value' in props)) {\n      setValue(newValue);\n    }\n    (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, newValue, newMultipleOptions);\n  };\n  var onChange = function onChange(selectedOptions) {\n    var selectedValue = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(selectedOptions).call(selectedOptions, function (_ref5) {\n      var value = _ref5[fieldNames.value];\n      return value;\n    });\n    if (typeof props.value === 'undefined') {\n      setCurrentOptions(selectedOptions);\n      setValue(selectedValue);\n    }\n    props.onChange && props.onChange(selectedValue, selectedOptions);\n  };\n  var onVisibleChange = function onVisibleChange(v) {\n    setVisible(v);\n    onPopupVisibleChange && onPopupVisibleChange(v);\n    onPopperVisibleChange && onPopperVisibleChange(v);\n    v && setSelectedOptions(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_9___default()(currentOptions).call(currentOptions, 0));\n  };\n  var cascaderMenus = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement((react__WEBPACK_IMPORTED_MODULE_10___default().Fragment), null, (options === null || options === void 0 ? void 0 : options.length) ? (menus === null || menus === void 0 ? void 0 : menus.length) ? _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(menus).call(menus, function (opts, index) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"ul\", {\n      key: index,\n      className: \"\".concat(prefixCls, \"-menu\")\n    }, (opts === null || opts === void 0 ? void 0 : opts.length) ? _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(opts).call(opts, function (opt) {\n      var isLeaf = opt.isLeaf,\n        loading = opt.loading,\n        value = opt[fieldNames.value],\n        label = opt[fieldNames.label],\n        children = opt[fieldNames.children];\n      var expendEvent = expandTrigger === 'click' || !(children && children.length) ? 'onClick' : 'onMouseEnter';\n      var selected = selectedOptions[index] && selectedOptions[index][fieldNames.value] === value;\n      var optionProps = {\n        role: 'menuitem',\n        className: classnames__WEBPACK_IMPORTED_MODULE_11___default()(\"\".concat(prefixCls, \"-menu-item\"), {\n          disabled: opt.disabled,\n          last: !(children === null || children === void 0 ? void 0 : children.length) && isLeaf !== false,\n          selected: selected\n        })\n      };\n      if (!opt.disabled) {\n        optionProps[expendEvent] = isMultiple ? onMultipleExpend.bind(null, index, opt, children) : onExpend.bind(null, index, opt, children);\n      }\n      var node = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement((react__WEBPACK_IMPORTED_MODULE_10___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"span\", {\n        className: \"\".concat(prefixCls, \"-menu-item-label\")\n      }, label), loading ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n        type: \"loadding-circle\",\n        spin: true\n      }) : (children === null || children === void 0 ? void 0 : children.length) || isLeaf === false ? props.expandIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n        type: \"arrow-right\"\n      }) : null);\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(CascaderMenuSubmenu, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({\n        key: value\n      }, {\n        isMultiple: isMultiple,\n        optionProps: optionProps,\n        label: label,\n        selected: selected\n      }), isMultiple ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement((react__WEBPACK_IMPORTED_MODULE_10___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_checkbox__WEBPACK_IMPORTED_MODULE_20__[\"default\"], {\n        checked: (0,_util__WEBPACK_IMPORTED_MODULE_16__.getChecked)(checkedKeys, value),\n        indeterminate: (0,_util__WEBPACK_IMPORTED_MODULE_16__.getHalfChecked)(halfCheckedKeys, value),\n        disabled: opt.disabled,\n        onChange: function onChange(e) {\n          return onMultipleChecked(opt, e.target.checked);\n        },\n        className: \"\".concat(prefixCls, \"-checkbox\")\n      }), node) : node);\n    }) : null);\n  }) : null : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_empty__WEBPACK_IMPORTED_MODULE_21__[\"default\"], {\n    description: notFoundContent\n  }));\n  var cascaderPopper = dropdownRender(cascaderMenus);\n  var popperProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({}, allProps), {\n    gap: 4,\n    visible: visible,\n    onVisibleChange: onVisibleChange,\n    trigger: expandTrigger,\n    getPopupContainer: getPopupContainer,\n    prefixCls: \"\".concat(prefixCls, \"-menus\"),\n    placement: allProps.popperPlacement || popupPlacement,\n    popperClassName: allProps.popperClassName || allProps.popupClassName,\n    getTriggerElement: function getTriggerElement() {\n      return mergeRef.current;\n    }\n  });\n  return (0,_utils_usePopper__WEBPACK_IMPORTED_MODULE_22__[\"default\"])(cascaderLocator, cascaderPopper, popperProps);\n});\nCascader.displayName = 'Cascader';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Cascader);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/cascader/cascader.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/cascader/index.js":
/*!******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/cascader/index.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   CascaderPlacement: function() { return /* reexport safe */ _cascader__WEBPACK_IMPORTED_MODULE_0__.CascaderPlacement; }\n/* harmony export */ });\n/* harmony import */ var _cascader__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cascader */ \"../../node_modules/@kdcloudjs/kdesign/es/cascader/cascader.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_cascader__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/cascader/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/cascader/util.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/cascader/util.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ValueSeparator: function() { return /* binding */ ValueSeparator; },\n/* harmony export */   addKeys: function() { return /* binding */ addKeys; },\n/* harmony export */   delKey: function() { return /* binding */ delKey; },\n/* harmony export */   flattenAll: function() { return /* binding */ flattenAll; },\n/* harmony export */   getAllCheckedKeys: function() { return /* binding */ getAllCheckedKeys; },\n/* harmony export */   getChecked: function() { return /* binding */ getChecked; },\n/* harmony export */   getChildNodeKeys: function() { return /* binding */ getChildNodeKeys; },\n/* harmony export */   getHalfChecked: function() { return /* binding */ getHalfChecked; },\n/* harmony export */   getMultipleCheckValue: function() { return /* binding */ getMultipleCheckValue; },\n/* harmony export */   isHalfChecked: function() { return /* binding */ isHalfChecked; },\n/* harmony export */   setNodeCheckedByValue: function() { return /* binding */ setNodeCheckedByValue; },\n/* harmony export */   transformValuesToSet: function() { return /* binding */ transformValuesToSet; },\n/* harmony export */   useChecked: function() { return /* binding */ useChecked; },\n/* harmony export */   valueInSet: function() { return /* binding */ valueInSet; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/set.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/from */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/splice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! lodash/cloneDeep */ \"../../node_modules/lodash/cloneDeep.js\");\n/* harmony import */ var lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_13__);\n\n\n\n\n\n\n\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\nvar useChecked = function useChecked(value, flattenData, keysData, isMultiple) {\n  var initialCheckedState = (0,react__WEBPACK_IMPORTED_MODULE_12__.useMemo)(function () {\n    return setNodeCheckedByValue(value, flattenData, keysData);\n  }, [value, flattenData, keysData]);\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_12__.useState)(initialCheckedState.checkedKeys),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    checkedKeys = _useState2[0],\n    setCheckedKeys = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_12__.useState)(initialCheckedState.halfCheckedKeys),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState3, 2),\n    halfCheckedKeys = _useState4[0],\n    setHalfCheckedKeys = _useState4[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_12__.useEffect)(function () {\n    setCheckedKeys(initialCheckedState.checkedKeys);\n  }, [initialCheckedState.checkedKeys]);\n  (0,react__WEBPACK_IMPORTED_MODULE_12__.useEffect)(function () {\n    setHalfCheckedKeys(initialCheckedState.halfCheckedKeys);\n  }, [initialCheckedState.halfCheckedKeys]);\n  if (!isMultiple) return [];\n  return [checkedKeys, halfCheckedKeys, setCheckedKeys, setHalfCheckedKeys];\n};\nvar flattenAll = function flattenAll(data) {\n  var newTreeData = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n  var keysData = {};\n  var formatData = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_13___default()(data);\n  var fn = function fn(data) {\n    var newTreeData = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n    var parent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n    var newParent = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_13___default()(parent);\n    if (newParent) {\n      newParent.children = null;\n    }\n    data && data.forEach(function (item) {\n      var _context, _context2;\n      var children = item.children,\n        label = item.label,\n        value = item.value,\n        others = __rest(item, [\"children\", \"label\", \"value\"]);\n      var flattenNode = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n        label: label,\n        value: value,\n        children: children,\n        parent: newParent,\n        parentKey: (parent === null || parent === void 0 ? void 0 : parent.value) || null,\n        pathKeys: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = []).call(_context, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((parent === null || parent === void 0 ? void 0 : parent.pathKeys) || []), [value]),\n        _level: parent ? parent._level + 1 : 0\n      }, others);\n      item.parent = newParent;\n      item.parentKey = (parent === null || parent === void 0 ? void 0 : parent.value) || null;\n      item.pathKeys = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = []).call(_context2, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((parent === null || parent === void 0 ? void 0 : parent.pathKeys) || []), [value]);\n      item._level = parent ? parent._level + 1 : 0;\n      value && (keysData[value] = flattenNode);\n      newTreeData.push(flattenNode);\n      children && fn(children, newTreeData, flattenNode);\n    });\n    return newTreeData;\n  };\n  var flattenData = fn(formatData, newTreeData);\n  return {\n    formatData: formatData,\n    keysData: keysData,\n    flattenData: flattenData\n  };\n};\nvar isHalfChecked = function isHalfChecked(data) {\n  var checkedLen = data.reduce(function (total, prev) {\n    var num = prev._halfChecked ? 0.5 : prev._checked ? 1 : 0;\n    return total + num;\n  }, 0);\n  return checkedLen !== data.length && checkedLen > 0;\n};\nvar ValueSeparator = '__kdm_cascader__';\nvar transformValuesToSet = function transformValuesToSet(values) {\n  var _values = values || [];\n  var valuesSet = _values.reduce(function (set, next) {\n    var _context3;\n    set.add(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = []).call(_context3, next).join(ValueSeparator));\n    return set;\n  }, new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())());\n  return valuesSet;\n};\nvar valueInSet = function valueInSet(set, value) {\n  var _value = value || [];\n  return set.has(_value.join(ValueSeparator));\n};\nfunction getChildNodeKeys(node, keysNodeProps) {\n  var nodes = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())();\n  var loop = function loop(children) {\n    _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(children).call(children, function (child) {\n      var key = child.value;\n      if (!key) return;\n      var item = keysNodeProps[key];\n      if (!item || item.disabled) {\n        return;\n      }\n      key && nodes.add(key);\n      loop(item.children || []);\n    });\n  };\n  if (node) {\n    loop(node.children || []);\n  }\n  return nodes;\n}\nvar setNodeCheckedByValue = function setNodeCheckedByValue(initValues, flatNodes, keysNodeProps) {\n  var _context4, _context5;\n  var valuesSet = transformValuesToSet(initValues);\n  var checkedSet = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())();\n  var halfCheckedSet = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())();\n  var childCheckedKeysSet = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())();\n  flatNodes.forEach(function (node) {\n    if (node.pathKeys.some(function (_item, index, arr) {\n      return valueInSet(valuesSet, _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7___default()(arr).call(arr, 0, index + 1));\n    })) {\n      checkedSet.add(node.value);\n    }\n  });\n  _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(_context4 = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(checkedSet)).call(_context4, function (value) {\n    if (!childCheckedKeysSet.has(value)) {\n      var childKeys = getChildNodeKeys(keysNodeProps[value], keysNodeProps);\n      childKeys.forEach(function (v) {\n        childCheckedKeysSet.add(v);\n      });\n    }\n    updateParent(value, keysNodeProps, checkedSet, halfCheckedSet);\n  });\n  return {\n    checkedKeys: (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context5 = []).call(_context5, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(checkedSet), (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(childCheckedKeysSet)))),\n    halfCheckedKeys: (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(halfCheckedSet)\n  };\n};\nvar updateParent = function updateParent(key, keysNodeProps, allKeys, halfCheckedKeysSet) {\n  var pathKeys = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(keysNodeProps[key].pathKeys);\n  pathKeys.pop();\n  pathKeys.reverse().forEach(function (itemKey) {\n    var parent = keysNodeProps[itemKey];\n    if (parent && !parent.disabled) {\n      var total = 0;\n      var number = 0;\n      parent.children.some(function (_ref) {\n        var value = _ref.value;\n        var item = keysNodeProps[value];\n        if (!item || item.disabled) {\n          return false;\n        }\n        total++;\n        if (allKeys.has(value)) {\n          number++;\n        } else if (halfCheckedKeysSet.has(value)) {\n          number += 0.5;\n          return true;\n        }\n      });\n      if (!number || number === total) {\n        halfCheckedKeysSet.delete(itemKey);\n      } else {\n        halfCheckedKeysSet.add(itemKey);\n      }\n      if (number && number === total) {\n        allKeys.add(itemKey);\n      } else {\n        allKeys.delete(itemKey);\n      }\n    }\n  });\n};\nvar getHalfChecked = function getHalfChecked(halfCheckedKeys, key) {\n  return halfCheckedKeys === null || halfCheckedKeys === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_8___default()(halfCheckedKeys).call(halfCheckedKeys, key);\n};\nvar getChecked = function getChecked(checkedKeys, key) {\n  return checkedKeys === null || checkedKeys === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_8___default()(checkedKeys).call(checkedKeys, key);\n};\nvar getCheckedNodes = function getCheckedNodes(flatNodes, checkedKeys) {\n  var result = [];\n  for (var i = 0; i < checkedKeys.length; i++) {\n    var key = checkedKeys[i];\n    for (var j = 0; j < flatNodes.length; j++) {\n      var obj = flatNodes[j];\n      if (obj.value === key) {\n        result.push(obj);\n        break;\n      }\n    }\n  }\n  return result;\n};\nvar addKeys = function addKeys() {\n  var _context6;\n  var prevKeys = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n  var newKeys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n  return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_9___default()(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context6 = []).call(_context6, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(prevKeys), (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(newKeys))));\n};\nvar delKey = function delKey(prevKeys, delKeys) {\n  var keys = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])([], prevKeys);\n  delKeys.forEach(function (item) {\n    var index = keys.indexOf(item);\n    index > -1 && _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_10___default()(keys).call(keys, index, 1);\n  });\n  return keys;\n};\nvar getMultipleCheckValue = function getMultipleCheckValue(_propsValue, _option, _checked, flatNodes, checkedKeys) {\n  var _context7;\n  var checkedNodes = getCheckedNodes(flatNodes, checkedKeys);\n  var currentValue = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11___default()(_context7 = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(checkedNodes).call(checkedNodes, function (node) {\n    return !node.children && node.pathKeys;\n  })).call(_context7, function (node) {\n    return node;\n  });\n  return currentValue;\n};\nfunction getAllCheckedKeys(key, checked, checkedKeys, keysNodeProps, halfCheckedKeys) {\n  if (!keysNodeProps[key]) {\n    return {\n      checkedKeys: checkedKeys,\n      halfCheckedKeys: halfCheckedKeys\n    };\n  }\n  var checkedKeysSet = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())(checkedKeys);\n  var halfCheckedKeysSet = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())(halfCheckedKeys);\n  var childKeys = getChildNodeKeys(keysNodeProps[key], keysNodeProps);\n  var allKeys = checkedKeysSet;\n  if (checked) {\n    allKeys.add(key);\n    halfCheckedKeysSet.delete(key);\n    childKeys.forEach(function (v) {\n      allKeys.add(v);\n    });\n  } else {\n    halfCheckedKeysSet.delete(key);\n    allKeys.delete(key);\n    childKeys.forEach(function (v) {\n      allKeys.delete(v);\n    });\n  }\n  updateParent(key, keysNodeProps, checkedKeysSet, halfCheckedKeysSet);\n  return {\n    checkedKeys: (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(allKeys),\n    halfCheckedKeys: (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(halfCheckedKeysSet)\n  };\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/cascader/util.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/checkbox/checkbox.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/checkbox/checkbox.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _group__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./group */ \"../../node_modules/@kdcloudjs/kdesign/es/checkbox/group.js\");\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var lodash_isBoolean__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash/isBoolean */ \"../../node_modules/lodash/isBoolean.js\");\n/* harmony import */ var lodash_isBoolean__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash_isBoolean__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\nvar InternalCheckbox = function InternalCheckbox(props, ref) {\n  var _context, _context2, _context3, _classNames, _context4, _context5, _context6, _context7, _classNames2, _context8, _context9, _context10, _context11, _context12, _context13, _context14, _classNames4, _context15, _context16, _context17, _classNames5, _context18;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_5__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var CheckboxProps = (0,_utils__WEBPACK_IMPORTED_MODULE_9__.getCompProps)('Checkbox', userDefaultProps, props);\n  var checkboxType = CheckboxProps.checkboxType,\n    className = CheckboxProps.className,\n    customPrefixcls = CheckboxProps.prefixCls,\n    defaultChecked = CheckboxProps.defaultChecked,\n    checked = CheckboxProps.checked,\n    size = CheckboxProps.size,\n    onChange = CheckboxProps.onChange,\n    disabled = CheckboxProps.disabled,\n    children = CheckboxProps.children,\n    style = CheckboxProps.style,\n    value = CheckboxProps.value,\n    indeterminate = CheckboxProps.indeterminate,\n    name = CheckboxProps.name,\n    rest = __rest(CheckboxProps, [\"checkboxType\", \"className\", \"prefixCls\", \"defaultChecked\", \"checked\", \"size\", \"onChange\", \"disabled\", \"children\", \"style\", \"value\", \"indeterminate\", \"name\"]);\n  var checkboxGroup = react__WEBPACK_IMPORTED_MODULE_5___default().useContext(_group__WEBPACK_IMPORTED_MODULE_10__.GroupContext);\n  var mergedDisabled = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled;\n  var mergedCheckboxType = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.checkboxType) || checkboxType;\n  var mergedName = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.name) || name;\n  var mergedSize = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.size) || size;\n  var initChecked = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.groupValue) ? (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.groupValue.indexOf(value)) > -1 : lodash_isBoolean__WEBPACK_IMPORTED_MODULE_7___default()(checked) ? checked : defaultChecked;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(initChecked),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    selected = _useState2[0],\n    setSelected = _useState2[1];\n  var labelRef = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null);\n  react__WEBPACK_IMPORTED_MODULE_5___default().useEffect(function () {\n    setSelected((checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.groupValue) ? (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.groupValue.indexOf(value)) > -1 : lodash_isBoolean__WEBPACK_IMPORTED_MODULE_7___default()(checked) ? checked : defaultChecked);\n  }, [checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.groupValue, checked, defaultChecked]);\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(_group__WEBPACK_IMPORTED_MODULE_10__.CheckboxTypes.indexOf(mergedCheckboxType) === -1, 'checkbox', \"cannot found checkbox type '\".concat(mergedCheckboxType, \"'\"));\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(_group__WEBPACK_IMPORTED_MODULE_10__.CheckboxSizes.indexOf(mergedSize) === -1, 'checkbox', \"cannot found size type '\".concat(mergedSize, \"'\"));\n  var checkboxPrefixCls = getPrefixCls(prefixCls, 'checkbox', customPrefixcls);\n  var isDefaultType = function isDefaultType() {\n    return mergedCheckboxType === 'default';\n  };\n  var getIndeterminate = function getIndeterminate() {\n    return selected ? false : indeterminate;\n  };\n  var getDefaultClassName = classnames__WEBPACK_IMPORTED_MODULE_6___default()(className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(checkboxPrefixCls), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(checkboxPrefixCls, \"-no-child\"), !children), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = \"\".concat(checkboxPrefixCls, \"-\")).call(_context, mergedSize), !!children), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = \"\".concat(checkboxPrefixCls, \"-\")).call(_context2, mergedCheckboxType), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = \"\".concat(checkboxPrefixCls, \"-\")).call(_context3, mergedCheckboxType, \"-disabled\"), mergedDisabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"checked\", selected), _classNames));\n  var getSquareClassName = classnames__WEBPACK_IMPORTED_MODULE_6___default()(className, (_classNames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(checkboxPrefixCls), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context4 = \"\".concat(checkboxPrefixCls, \"-\")).call(_context4, mergedCheckboxType), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context5 = \"\".concat(checkboxPrefixCls, \"-\")).call(_context5, mergedSize), !!children), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context6 = \"\".concat(checkboxPrefixCls, \"-\")).call(_context6, mergedCheckboxType, \"-disabled\"), mergedDisabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context7 = \"\".concat(checkboxPrefixCls, \"-\")).call(_context7, mergedCheckboxType, \"-checked\"), selected && !mergedDisabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"checked\", selected), _classNames2));\n  var getRootClassName = isDefaultType() ? getDefaultClassName : getSquareClassName;\n  var inputClassName = classnames__WEBPACK_IMPORTED_MODULE_6___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(checkboxPrefixCls, \"-input\"), true));\n  var checkedWrapperClassName = classnames__WEBPACK_IMPORTED_MODULE_6___default()((_classNames4 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames4, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context8 = \"\".concat(checkboxPrefixCls, \"-\")).call(_context8, mergedCheckboxType, \"-wrapper\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames4, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context9 = \"\".concat(checkboxPrefixCls, \"-\")).call(_context9, mergedCheckboxType, \"-wrapper-size\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames4, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context10 = \"\".concat(checkboxPrefixCls, \"-\")).call(_context10, mergedCheckboxType, \"-margin\"), !!children), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames4, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context11 = \"\".concat(checkboxPrefixCls, \"-\")).call(_context11, mergedCheckboxType, \"-checked\"), selected), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames4, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context12 = \"\".concat(checkboxPrefixCls, \"-\")).call(_context12, mergedCheckboxType, \"-indeterminate\"), getIndeterminate()), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames4, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context13 = \"\".concat(checkboxPrefixCls, \"-\")).call(_context13, mergedCheckboxType, \"-disabled\"), mergedDisabled && !selected), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames4, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context14 = \"\".concat(checkboxPrefixCls, \"-\")).call(_context14, mergedCheckboxType, \"-checked-disabled\"), mergedDisabled && selected), _classNames4));\n  var triangleClassName = classnames__WEBPACK_IMPORTED_MODULE_6___default()((_classNames5 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames5, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context15 = \"\".concat(checkboxPrefixCls, \"-\")).call(_context15, mergedCheckboxType, \"-triangle\"), !selected), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames5, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context16 = \"\".concat(checkboxPrefixCls, \"-\")).call(_context16, mergedCheckboxType, \"-triangle-checked\"), selected), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames5, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context17 = \"\".concat(checkboxPrefixCls, \"-\")).call(_context17, mergedCheckboxType, \"-triangle-disabled\"), mergedDisabled), _classNames5));\n  var innerIconClassName = classnames__WEBPACK_IMPORTED_MODULE_6___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context18 = \"\".concat(checkboxPrefixCls, \"-\")).call(_context18, mergedCheckboxType, \"-inner\"), true));\n  var handleChange = function handleChange(e) {\n    onChange && onChange(e);\n    (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.onCheckboxGroupChange) && (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.onCheckboxGroupChange(value, e.target.checked, e));\n    if (!(checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.isControlled)) {\n      setSelected(e.target.checked);\n    }\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    lodash_isBoolean__WEBPACK_IMPORTED_MODULE_7___default()(checked) && checked !== selected && setSelected(checked);\n  }, [checked, selected]);\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    var _a;\n    var handleRepeatClick = function handleRepeatClick(e) {\n      var element = e.target;\n      if (element.tagName !== 'INPUT') {\n        e.stopPropagation();\n      }\n    };\n    (_a = labelRef === null || labelRef === void 0 ? void 0 : labelRef.current) === null || _a === void 0 ? void 0 : _a.addEventListener('click', handleRepeatClick);\n    return function () {\n      var _a;\n      // eslint-disable-next-line react-hooks/exhaustive-deps\n      (_a = labelRef === null || labelRef === void 0 ? void 0 : labelRef.current) === null || _a === void 0 ? void 0 : _a.removeEventListener('click', handleRepeatClick);\n    };\n  }, []);\n  var getDefaultCheckbox = function getDefaultCheckbox() {\n    var _context19, _context20;\n    var inputProps = {\n      type: 'checkbox',\n      className: inputClassName,\n      onChange: handleChange,\n      checked: selected,\n      disabled: mergedDisabled,\n      name: mergedName\n    };\n    if ((value !== null && value !== void 0 ? value : '') !== '') {\n      inputProps.value = value;\n    }\n    return (\n      /*#__PURE__*/\n      // eslint-disable-next-line\n      react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"label\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n        className: getRootClassName,\n        style: style,\n        ref: labelRef\n      }, rest), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n        className: checkedWrapperClassName\n      }, selected ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n        className: innerIconClassName\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n        type: \"right-bold\",\n        className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context19 = \"\".concat(checkboxPrefixCls, \"-\")).call(_context19, mergedCheckboxType, \"-inner-icon\")\n      })) : null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"input\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n        type: \"checkbox\",\n        ref: ref\n      }, inputProps))), children ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n        className: \"\".concat(checkboxPrefixCls, \"-children\")\n      }, children) : null, !isDefaultType() ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n        className: triangleClassName\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n        className: innerIconClassName\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n        type: \"right-bold\",\n        className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context20 = \"\".concat(checkboxPrefixCls, \"-\")).call(_context20, mergedCheckboxType, \"-inner-icon\")\n      }))) : null)\n    );\n  };\n  return getDefaultCheckbox();\n};\nvar Checkbox = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().forwardRef(InternalCheckbox);\nCheckbox.displayName = 'Checkbox';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Checkbox);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/checkbox/checkbox.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/checkbox/group.js":
/*!******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/checkbox/group.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   CheckboxSizes: function() { return /* binding */ CheckboxSizes; },\n/* harmony export */   CheckboxTypes: function() { return /* binding */ CheckboxTypes; },\n/* harmony export */   GroupContext: function() { return /* binding */ GroupContext; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var _utils_arrayUtil__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../_utils/arrayUtil */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/arrayUtil.js\");\n/* harmony import */ var _checkbox__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./checkbox */ \"../../node_modules/@kdcloudjs/kdesign/es/checkbox/checkbox.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n// import { Icon } from '../index'\n\n\n\n\n\n\n\nvar CheckboxTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_8__.tuple)('default', 'square');\nvar CheckboxSizes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_8__.tuple)('large', 'middle', 'small');\nvar GroupContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createContext(null);\nvar CheckboxGroup = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().forwardRef(function (props, ref) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_6__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_9__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var CheckboxProps = (0,_utils__WEBPACK_IMPORTED_MODULE_10__.getCompProps)('CheckboxGroup', userDefaultProps, props); // 多选组属性需要合并一遍用户定义的默认属性\n  var checkboxType = CheckboxProps.checkboxType,\n    className = CheckboxProps.className,\n    style = CheckboxProps.style,\n    customPrefixcls = CheckboxProps.prefixCls,\n    options = CheckboxProps.options,\n    size = CheckboxProps.size,\n    onChange = CheckboxProps.onChange,\n    disabled = CheckboxProps.disabled,\n    children = CheckboxProps.children,\n    defaultValue = CheckboxProps.defaultValue,\n    value = CheckboxProps.value,\n    name = CheckboxProps.name,\n    rest = __rest(CheckboxProps, [\"checkboxType\", \"className\", \"style\", \"prefixCls\", \"options\", \"size\", \"onChange\", \"disabled\", \"children\", \"defaultValue\", \"value\", \"name\"]);\n  var initData = value || (Array.isArray(defaultValue) ? defaultValue : typeof defaultValue !== 'undefined' ? [defaultValue] : []);\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_6___default().useState([]),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState, 2),\n    groupValue = _React$useState2[0],\n    setGroupValue = _React$useState2[1];\n  var innerValue = react__WEBPACK_IMPORTED_MODULE_6___default().useRef(initData);\n  react__WEBPACK_IMPORTED_MODULE_6___default().useEffect(function () {\n    innerValue.current = value || (Array.isArray(defaultValue) ? defaultValue : typeof defaultValue !== 'undefined' ? [defaultValue] : []);\n    setGroupValue(innerValue.current);\n  }, [value, defaultValue]);\n  var isControlled = typeof value !== 'undefined';\n  var checkboxGroupPrefixCls = getPrefixCls(prefixCls, 'checkbox-group', customPrefixcls); // 按钮样式前缀\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_11__[\"default\"])((0,_utils_arrayUtil__WEBPACK_IMPORTED_MODULE_12__.isArrayValueRepeat)(groupValue), 'checkboxGroup', \"variable value's value should be unique \");\n  var getReduceItem = function getReduceItem(targetValue) {\n    var _context;\n    return _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default()(_context = innerValue.current).call(_context, function (d) {\n      return d !== targetValue;\n    });\n  };\n  var getAddItem = function getAddItem(targetValue) {\n    var _context2;\n    return innerValue.current.indexOf(targetValue) > -1 ? innerValue.current : _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = innerValue.current).call(_context2, targetValue);\n  };\n  var onCheckboxChange = function onCheckboxChange(checkedValue, isChecked, e) {\n    var newVal = [];\n    if (isChecked) {\n      newVal = getAddItem(checkedValue);\n    } else {\n      newVal = getReduceItem(checkedValue);\n    }\n    if (!isControlled) {\n      innerValue.current = newVal;\n    }\n    onChange && onChange(newVal, e);\n  };\n  var context = {\n    groupValue: groupValue,\n    disabled: disabled,\n    name: name,\n    size: size,\n    isControlled: isControlled,\n    checkboxType: checkboxType,\n    onCheckboxGroupChange: function onCheckboxGroupChange(checkedValue, isChecked, e) {\n      onCheckboxChange(checkedValue, isChecked, e);\n    }\n  };\n  var renderByOptions = function renderByOptions() {\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default()(options).call(options, function (option, index) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_checkbox__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n        size: size,\n        disabled: option.disabled,\n        key: index,\n        name: name,\n        defaultChecked: option.defaultValue,\n        checked: option.checked,\n        checkboxType: checkboxType,\n        value: (option === null || option === void 0 ? void 0 : option.value) || option,\n        onChange: option.onChange\n      }, option.label || option);\n    });\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"ul\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(checkboxGroupPrefixCls, className),\n    style: style,\n    ref: ref\n  }, rest), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(GroupContext.Provider, {\n    value: context\n  }, options && options.length > 0 ? renderByOptions() : children));\n});\nCheckboxGroup.displayName = 'CheckboxGroup';\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().memo(CheckboxGroup));\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/checkbox/group.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/checkbox/index.js":
/*!******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/checkbox/index.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   CheckboxSizes: function() { return /* reexport safe */ _group__WEBPACK_IMPORTED_MODULE_0__.CheckboxSizes; },\n/* harmony export */   CheckboxTypes: function() { return /* reexport safe */ _group__WEBPACK_IMPORTED_MODULE_0__.CheckboxTypes; },\n/* harmony export */   Group: function() { return /* reexport safe */ _group__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _checkbox__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./checkbox */ \"../../node_modules/@kdcloudjs/kdesign/es/checkbox/checkbox.js\");\n/* harmony import */ var _group__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./group */ \"../../node_modules/@kdcloudjs/kdesign/es/checkbox/group.js\");\n\n\n\nvar Checkbox = _checkbox__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\nCheckbox.Group = _group__WEBPACK_IMPORTED_MODULE_0__[\"default\"];\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Checkbox);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/checkbox/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/city-picker/city-picker.js":
/*!***************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/city-picker/city-picker.js ***!
  \***************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../_utils/hooks */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/spin/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/tabs/index.js\");\n/* harmony import */ var _utils_usePopper__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../_utils/usePopper */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/usePopper.js\");\n/* harmony import */ var _option__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./option */ \"../../node_modules/@kdcloudjs/kdesign/es/city-picker/option.js\");\n/* harmony import */ var lodash_escapeRegExp__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! lodash/escapeRegExp */ \"../../node_modules/lodash/escapeRegExp.js\");\n/* harmony import */ var lodash_escapeRegExp__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(lodash_escapeRegExp__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _utils_KeyCode__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../_utils/KeyCode */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/KeyCode.js\");\n/* harmony import */ var lodash_isObject__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! lodash/isObject */ \"../../node_modules/lodash/isObject.js\");\n/* harmony import */ var lodash_isObject__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(lodash_isObject__WEBPACK_IMPORTED_MODULE_11__);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar getCityId = function getCityId(data) {\n  if (lodash_isObject__WEBPACK_IMPORTED_MODULE_11___default()(data)) {\n    return data === null || data === void 0 ? void 0 : data.id;\n  }\n  return data;\n};\nvar InternalSelect = function InternalSelect(props, ref) {\n  var _context, _classNames3, _classNames6;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_8__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_12__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps,\n    locale = _useContext.locale;\n  var selectProps = (0,_utils__WEBPACK_IMPORTED_MODULE_13__.getCompProps)('CityPicker', userDefaultProps, props);\n  var cityPickerLangMsg = locale.getCompLangMsg({\n    componentName: 'CityPicker'\n  });\n  var type = selectProps.type,\n    size = selectProps.size,\n    value = selectProps.value,\n    className = selectProps.className,\n    defaultOpen = selectProps.defaultOpen,\n    disabled = selectProps.disabled,\n    borderType = selectProps.borderType,\n    _selectProps$showArro = selectProps.showArrow,\n    showArrow = _selectProps$showArro === void 0 ? true : _selectProps$showArro,\n    allowClear = selectProps.allowClear,\n    customPrefixcls = selectProps.prefixCls,\n    onFocus = selectProps.onFocus,\n    onBlur = selectProps.onBlur,\n    onClear = selectProps.onClear,\n    onVisibleChange = selectProps.onVisibleChange,\n    onChange = selectProps.onChange,\n    onSearch = selectProps.onSearch,\n    defaultValue = selectProps.defaultValue,\n    placeholder = selectProps.placeholder,\n    _selectProps$dropdown = selectProps.dropdownStyle,\n    dropdownStyle = _selectProps$dropdown === void 0 ? {} : _selectProps$dropdown,\n    style = selectProps.style,\n    clearIcon = selectProps.clearIcon,\n    loading = selectProps.loading,\n    showDescription = selectProps.showDescription,\n    description = selectProps.description,\n    optionHighlightProps = selectProps.optionHighlightProps,\n    _selectProps$popperSt = selectProps.popperStyle,\n    popperStyle = _selectProps$popperSt === void 0 ? {} : _selectProps$popperSt,\n    _selectProps$commonLi = selectProps.commonList,\n    commonList = _selectProps$commonLi === void 0 ? [] : _selectProps$commonLi,\n    _selectProps$domestic = selectProps.domesticList,\n    domesticList = _selectProps$domestic === void 0 ? [] : _selectProps$domestic,\n    _selectProps$foreignL = selectProps.foreignList,\n    foreignList = _selectProps$foreignL === void 0 ? [] : _selectProps$foreignL,\n    itemRender = selectProps.itemRender,\n    onTabPaneChange = selectProps.onTabPaneChange;\n  var _useMergedState = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_14__.useMergedState)(undefined, {\n      value: getCityId(value),\n      defaultValue: getCityId(defaultValue)\n    }),\n    _useMergedState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useMergedState, 2),\n    initValue = _useMergedState2[0],\n    setInitValue = _useMergedState2[1];\n  var tabsData = [{\n    id: 'domestic',\n    name: cityPickerLangMsg === null || cityPickerLangMsg === void 0 ? void 0 : cityPickerLangMsg.tabsDomestic\n  }, {\n    id: 'foreign',\n    name: cityPickerLangMsg === null || cityPickerLangMsg === void 0 ? void 0 : cityPickerLangMsg.tabsInternation\n  }];\n  var innerRef = (0,react__WEBPACK_IMPORTED_MODULE_8__.useRef)();\n  var selectRef = ref || innerRef;\n  var searchRef = (0,react__WEBPACK_IMPORTED_MODULE_8__.useRef)(null); // 搜索框ref\n  var selectionRef = (0,react__WEBPACK_IMPORTED_MODULE_8__.useRef)(null);\n  var clearRef = (0,react__WEBPACK_IMPORTED_MODULE_8__.useRef)(null);\n  var optionsListRef = (0,react__WEBPACK_IMPORTED_MODULE_8__.useRef)(null);\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(typeof props.visible === 'undefined' ? !!defaultOpen : !!props.visible),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState, 2),\n    optionShow = _useState2[0],\n    setOptionShow = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(''),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState3, 2),\n    searchValue = _useState4[0],\n    setSearchValue = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(false),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState5, 2),\n    focusd = _useState6[0],\n    setFocusd = _useState6[1];\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(false),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState7, 2),\n    afterChangeFocus = _useState8[0],\n    setAfterChangeFocus = _useState8[1];\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(null),\n    _useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState9, 2),\n    seletedCity = _useState10[0],\n    setSeletedCity = _useState10[1];\n  var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)('domestic'),\n    _useState12 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState11, 2),\n    tabsValue = _useState12[0],\n    setTabsValue = _useState12[1];\n  var isDomestic = function isDomestic(type) {\n    return type === 'domestic';\n  };\n  var selectPrefixCls = getPrefixCls(prefixCls, 'city-picker', customPrefixcls);\n  var cityPickerCls = classnames__WEBPACK_IMPORTED_MODULE_9___default()(selectPrefixCls, className, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, \"\".concat(selectPrefixCls, \"-visible\"), optionShow));\n  var selectionCls = classnames__WEBPACK_IMPORTED_MODULE_9___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, \"\".concat(selectPrefixCls, \"-selector\"), true));\n  // 公共样式\n  var commCls = classnames__WEBPACK_IMPORTED_MODULE_9___default()((_classNames3 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames3, \"\".concat(selectPrefixCls, \"-bordered\"), borderType === 'bordered'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames3, \"\".concat(selectPrefixCls, \"-underline\"), borderType === 'underline'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames3, \"\".concat(selectPrefixCls, \"-borderless\"), borderType === 'none'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames3, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = \"\".concat(selectPrefixCls, \"-size-\")).call(_context, size), size), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames3, \"\".concat(selectPrefixCls, \"-wrapper\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames3, \"\".concat(selectPrefixCls, \"-show-search\"), focusd), _classNames3));\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    var _context2;\n    if (typeof value === 'undefined') return;\n    if (lodash_isObject__WEBPACK_IMPORTED_MODULE_11___default()(value)) {\n      setSeletedCity(value);\n      return;\n    }\n    var cityList = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = []).call(_context2, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(commonList), (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(domesticList), (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(foreignList));\n    var city = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_5___default()(cityList).call(cityList, function (city) {\n      return city.id === value;\n    });\n    setSeletedCity(city);\n  }, [commonList, domesticList, foreignList, value]);\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    if (typeof props.visible !== 'undefined') {\n      setOptionShow(props.visible);\n    }\n  }, [props.visible]);\n  var handleFocus = (0,react__WEBPACK_IMPORTED_MODULE_8__.useCallback)(function (e) {\n    e.stopPropagation();\n    setFocusd(true);\n    onFocus && onFocus(e);\n  }, [onFocus]);\n  var handleBlur = (0,react__WEBPACK_IMPORTED_MODULE_8__.useCallback)(function (e) {\n    e.stopPropagation();\n    setFocusd(false);\n    setAfterChangeFocus(false);\n    onBlur && onBlur(e);\n  }, [onBlur]);\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    selectionRef.current.addEventListener('mouseup', function (e) {\n      var _a;\n      var isCloseBtn = ((_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.className.indexOf('kd-tag-close-icon')) > -1;\n      if (isCloseBtn) {\n        e.stopPropagation();\n      }\n    });\n  }, []);\n  // 输入框变化搜索内容\n  var handleSearchChange = (0,react__WEBPACK_IMPORTED_MODULE_8__.useCallback)(function (event) {\n    var val = event.currentTarget.value;\n    setOptionShow(true);\n    setSearchValue(val);\n    onSearch === null || onSearch === void 0 ? void 0 : onSearch(val);\n  }, [onSearch]);\n  // 清除搜索内容\n  var handleClear = (0,react__WEBPACK_IMPORTED_MODULE_8__.useCallback)(function () {\n    if (searchRef.current) {\n      searchRef.current.value = '';\n      setSearchValue('');\n    }\n  }, [searchRef]);\n  // 清空选择器内容\n  var handleReset = function handleReset(e) {\n    e.stopPropagation();\n    onClear && onClear('');\n    setInitValue('');\n    setSeletedCity(null);\n    setSearchValue('');\n    onChange && onChange(undefined, '');\n  };\n  // 渲染后缀图标\n  var renderSuffix = function renderSuffix() {\n    var _classNames4;\n    if (disabled) return null;\n    var suffixIcon = selectProps.suffixIcon;\n    var arrowIconCls = classnames__WEBPACK_IMPORTED_MODULE_9___default()((_classNames4 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames4, \"\".concat(selectPrefixCls, \"-icon-arrow\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames4, \"\".concat(selectPrefixCls, \"-icon-arrow-up\"), optionShow), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames4, \"\".concat(selectPrefixCls, \"-icon-arrow-down\"), !optionShow), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames4, \"\".concat(selectPrefixCls, \"-icon-arrow-focus\"), optionShow), _classNames4));\n    var iconShow = allowClear && !disabled && (initValue !== null && initValue !== void 0 ? initValue : '') !== '';\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement((react__WEBPACK_IMPORTED_MODULE_8___default().Fragment), null, iconShow && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"span\", {\n      onClick: handleReset,\n      onMouseDown: function onMouseDown(e) {\n        return e.preventDefault();\n      },\n      className: \"\".concat(selectPrefixCls, \"-icon-clear\"),\n      ref: clearRef\n    }, clearIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_index__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n      type: \"close\"\n    })), showArrow && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"span\", {\n      className: arrowIconCls\n    }, suffixIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_index__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n      type: \"arrow-down\"\n    })));\n  };\n  // 下拉列表为空时显示的内容\n  var renderNotContent = function renderNotContent(msg) {\n    var notFoundContent = selectProps.notFoundContent;\n    var emptyContent = notFoundContent || msg;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", {\n      className: \"\".concat(selectPrefixCls, \"-dropdown-empty\")\n    }, emptyContent);\n  };\n  var getHighlightText = function getHighlightText(text, inputValue) {\n    if (!inputValue || !text) return text;\n    var regex = new RegExp(Array.isArray(inputValue) ? _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(inputValue).call(inputValue, function (item) {\n      return \"(\".concat(lodash_escapeRegExp__WEBPACK_IMPORTED_MODULE_10___default()(item), \")\");\n    }).join('|') : \"(\".concat(lodash_escapeRegExp__WEBPACK_IMPORTED_MODULE_10___default()(inputValue), \")\"), 'i');\n    var strArr = text === null || text === void 0 ? void 0 : text.split(regex);\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement((react__WEBPACK_IMPORTED_MODULE_8___default().Fragment), null, strArr === null || strArr === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(strArr).call(strArr, function (item, index) {\n      return (regex === null || regex === void 0 ? void 0 : regex.test(item)) ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"span\", {\n        key: index,\n        className: \"\".concat(selectPrefixCls, \"-highlight\")\n      }, item) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"span\", {\n        key: index\n      }, item);\n    }));\n  };\n  var handleOption = function handleOption(city) {\n    var _a;\n    handleVisibleChange(false);\n    if (!city.type) {\n      city.type = tabsValue === 'domestic' ? 'domestic' : 'foreign';\n    }\n    (city === null || city === void 0 ? void 0 : city.id) !== initValue && (onChange === null || onChange === void 0 ? void 0 : onChange(city === null || city === void 0 ? void 0 : city.id, city));\n    (_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.focus();\n    setAfterChangeFocus(true);\n    if (typeof value === 'undefined') {\n      setSeletedCity(city);\n      setInitValue(city === null || city === void 0 ? void 0 : city.id);\n    }\n  };\n  var renderNodeList = function renderNodeList(data, notContent) {\n    var isCommon = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n    if (!data.length) {\n      return renderNotContent(notContent);\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", {\n      className: \"\".concat(selectPrefixCls, \"-list\"),\n      ref: optionsListRef,\n      onMouseDown: function onMouseDown(e) {\n        return e === null || e === void 0 ? void 0 : e.preventDefault();\n      }\n    }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(data).call(data, function (item, index) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_option__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n        key: item.id,\n        value: initValue,\n        city: item,\n        className: searchValue ? \"\".concat(selectPrefixCls, \"-list-item-match\") : undefined,\n        renderCityInfo: function renderCityInfo(data, flag) {\n          return _renderCityInfo(data, isCommon, flag);\n        },\n        onChangeSelect: handleOption,\n        itemRender: itemRender,\n        activeIndex: activeIndex,\n        index: index,\n        onChangeActiveIndex: function onChangeActiveIndex(i) {\n          setActiveIndex(i);\n        }\n      }, searchValue ? getHighlightText(item === null || item === void 0 ? void 0 : item.name, (item === null || item === void 0 ? void 0 : item[optionHighlightProps]) || searchValue) : item === null || item === void 0 ? void 0 : item.name);\n    }));\n  };\n  var renderLoading = function renderLoading() {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", {\n      className: \"\".concat(selectPrefixCls, \"-dropdown-loading\")\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_index__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n      type: \"container\"\n    }));\n  };\n  var toggleTabPane = function toggleTabPane(type) {\n    setTabsValue(type);\n    onTabPaneChange === null || onTabPaneChange === void 0 ? void 0 : onTabPaneChange(type);\n  };\n  // 渲染下拉列表框\n  var renderContent = function renderContent() {\n    return loading ? renderLoading() : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement((react__WEBPACK_IMPORTED_MODULE_8___default().Fragment), null, searchValue ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement((react__WEBPACK_IMPORTED_MODULE_8___default().Fragment), null, isDomestic(type) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_index__WEBPACK_IMPORTED_MODULE_18__[\"default\"], {\n      noContainer: true,\n      onChange: toggleTabPane,\n      activeKey: tabsValue\n    }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(tabsData).call(tabsData, function (item) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_index__WEBPACK_IMPORTED_MODULE_18__[\"default\"].TabPane, {\n        key: item.id,\n        tab: item.name\n      }, item);\n    })), tabsValue === 'domestic' ? renderNodeList(domesticList, cityPickerLangMsg === null || cityPickerLangMsg === void 0 ? void 0 : cityPickerLangMsg.emptyText) : renderNodeList(foreignList, cityPickerLangMsg === null || cityPickerLangMsg === void 0 ? void 0 : cityPickerLangMsg.emptyText)) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement((react__WEBPACK_IMPORTED_MODULE_8___default().Fragment), null, !!commonList.length && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", {\n      className: \"\".concat(selectPrefixCls, \"-dropdown-common\")\n    }, cityPickerLangMsg === null || cityPickerLangMsg === void 0 ? void 0 : cityPickerLangMsg.common), renderNodeList(commonList, cityPickerLangMsg === null || cityPickerLangMsg === void 0 ? void 0 : cityPickerLangMsg.commonEmptyText, true)));\n  };\n  var _renderCityInfo = (0,react__WEBPACK_IMPORTED_MODULE_8__.useCallback)(function (data) {\n    var isCommon = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n    var flag = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n    var symbol = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : ', ';\n    if (!data) return null;\n    if (isDomestic(type)) {\n      var _context6, _context7;\n      if (isCommon) {\n        var _context3;\n        var _curVal = (data === null || data === void 0 ? void 0 : data.province) ? data === null || data === void 0 ? void 0 : data.province : (data === null || data === void 0 ? void 0 : data.country) || '';\n        return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = \"\".concat(flag && _curVal ? symbol : '')).call(_context3, _curVal);\n      }\n      if (data === null || data === void 0 ? void 0 : data.type) {\n        var _context4, _context5;\n        var _curVal2 = (data.type === 'domestic' ? (data === null || data === void 0 ? void 0 : data.province) || (data === null || data === void 0 ? void 0 : data.country) : _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default()(_context4 = [data === null || data === void 0 ? void 0 : data.province, data === null || data === void 0 ? void 0 : data.country]).call(_context4, Boolean).join(symbol)) || '';\n        return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context5 = \"\".concat(flag && _curVal2 ? symbol : '')).call(_context5, _curVal2);\n      }\n      var curVal = tabsValue === 'domestic' ? (data === null || data === void 0 ? void 0 : data.province) || (data === null || data === void 0 ? void 0 : data.country) || '' : _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default()(_context6 = [data === null || data === void 0 ? void 0 : data.province, data === null || data === void 0 ? void 0 : data.country]).call(_context6, Boolean).join(symbol);\n      return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context7 = \"\".concat(flag && curVal ? symbol : '')).call(_context7, curVal);\n    } else {\n      var _context8, _context9;\n      return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context8 = \"\".concat(flag && ((data === null || data === void 0 ? void 0 : data.province) || (data === null || data === void 0 ? void 0 : data.country)) ? symbol : '')).call(_context8, _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default()(_context9 = [data === null || data === void 0 ? void 0 : data.province, data === null || data === void 0 ? void 0 : data.country]).call(_context9, Boolean).join(symbol));\n    }\n  }, [type, tabsValue]);\n  var renderSingle = function renderSingle() {\n    var _classNames5;\n    var hiddenStyle = !!searchValue || (initValue !== null && initValue !== void 0 ? initValue : '') !== '' ? {\n      visibility: 'hidden'\n    } : undefined;\n    var itemCls = classnames__WEBPACK_IMPORTED_MODULE_9___default()((_classNames5 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames5, \"\".concat(selectPrefixCls, \"-content-item\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames5, \"\".concat(selectPrefixCls, \"-content-item-seleted\"), afterChangeFocus), _classNames5));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement((react__WEBPACK_IMPORTED_MODULE_8___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", {\n      className: singleCls,\n      ref: selectionRef\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", {\n      className: \"\".concat(selectPrefixCls, \"-content\")\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-content-search\")\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"input\", {\n      ref: searchRef,\n      value: searchValue,\n      className: \"\".concat(selectPrefixCls, \"-content-search-input\"),\n      onChange: handleSearchChange,\n      onFocus: handleFocus,\n      onBlur: handleBlur,\n      readOnly: !!disabled\n    }), !searchValue && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"span\", {\n      className: itemCls,\n      title: seletedCity === null || seletedCity === void 0 ? void 0 : seletedCity.name\n    }, seletedCity === null || seletedCity === void 0 ? void 0 : seletedCity.name)), !searchValue && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-content-info\")\n    }, _renderCityInfo(seletedCity))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-placeholder\"),\n      style: hiddenStyle\n    }, !disabled ? placeholder : null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-suffix\")\n    }, renderSuffix())));\n  };\n  var singleCls = classnames__WEBPACK_IMPORTED_MODULE_9___default()(commCls, (_classNames6 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames6, \"\".concat(selectPrefixCls, \"-disabled\"), disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames6, \"\".concat(selectPrefixCls, \"-focused\"), !disabled && focusd || optionShow), _classNames6));\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    if (optionShow && !disabled) {\n      var onDropdownVisibleChange = selectProps.onDropdownVisibleChange;\n      onDropdownVisibleChange && onDropdownVisibleChange(true);\n    }\n  }, [optionShow]);\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    var _a;\n    var fn = function fn(e) {\n      e.stopPropagation();\n    };\n    (_a = clearRef.current) === null || _a === void 0 ? void 0 : _a.addEventListener('mouseup', fn);\n    return function () {\n      var _a;\n      (_a = clearRef.current) === null || _a === void 0 ? void 0 : _a.removeEventListener('mouseup', fn);\n    };\n  }, [initValue]);\n  // keyboard\n  var curkeyboardList = (0,react__WEBPACK_IMPORTED_MODULE_8__.useMemo)(function () {\n    if (!searchValue) {\n      return commonList;\n    } else if (tabsValue === 'domestic') {\n      return domesticList;\n    } else {\n      return foreignList;\n    }\n  }, [commonList, domesticList, foreignList, searchValue, tabsValue]);\n  var getActiveIndex = function getActiveIndex(index) {\n    var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n    var len = curkeyboardList.length;\n    for (var i = 0; i < len; i += 1) {\n      var current = (index + i * offset + len) % len;\n      return current;\n    }\n    return -1;\n  };\n  var _useState13 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(-1),\n    _useState14 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState13, 2),\n    activeIndex = _useState14[0],\n    setActiveIndex = _useState14[1];\n  var initActiveIndex = function initActiveIndex() {\n    var index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;\n    setActiveIndex(index === undefined ? getActiveIndex(0) : index);\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    initActiveIndex(searchValue ? undefined : -1);\n  }, [searchValue, tabsValue, curkeyboardList]);\n  var onInternalKeyDown = function onInternalKeyDown(e) {\n    var _a, _b, _c;\n    var which = e.which;\n    // open\n    if (which === _utils_KeyCode__WEBPACK_IMPORTED_MODULE_19__[\"default\"].ENTER || which === _utils_KeyCode__WEBPACK_IMPORTED_MODULE_19__[\"default\"].UP || which === _utils_KeyCode__WEBPACK_IMPORTED_MODULE_19__[\"default\"].DOWN) {\n      e.preventDefault();\n      setOptionShow(true);\n    }\n    // up、down、enter、esc\n    if (optionShow) {\n      var offset = 0;\n      switch (which) {\n        case _utils_KeyCode__WEBPACK_IMPORTED_MODULE_19__[\"default\"].UP:\n          offset = -1;\n          break;\n        case _utils_KeyCode__WEBPACK_IMPORTED_MODULE_19__[\"default\"].DOWN:\n          offset = 1;\n          break;\n        case _utils_KeyCode__WEBPACK_IMPORTED_MODULE_19__[\"default\"].ENTER:\n          {\n            var item = curkeyboardList[activeIndex];\n            if (!item) return;\n            handleOption(item);\n            handleVisibleChange(false);\n            break;\n          }\n        case _utils_KeyCode__WEBPACK_IMPORTED_MODULE_19__[\"default\"].ESC:\n          handleVisibleChange(false);\n          break;\n        default:\n          break;\n      }\n      if (offset !== 0) {\n        var nextActiveIndex = getActiveIndex(activeIndex + offset, offset);\n        var curDom = (_b = (_a = optionsListRef.current) === null || _a === void 0 ? void 0 : _a.children) === null || _b === void 0 ? void 0 : _b[nextActiveIndex];\n        if (curDom) {\n          (_c = optionsListRef.current) === null || _c === void 0 ? void 0 : _c.children[nextActiveIndex].scrollIntoView({\n            behavior: 'auto',\n            block: 'nearest'\n          });\n        }\n        setActiveIndex(nextActiveIndex);\n        e.preventDefault();\n      }\n    }\n  };\n  var renderCityPicker = function renderCityPicker() {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", {\n      className: cityPickerCls,\n      ref: selectRef,\n      style: style\n    }, showDescription && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-description\")\n    }, description), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"span\", {\n      className: selectionCls,\n      tabIndex: disabled ? -1 : 0,\n      onFocus: function onFocus() {\n        var _a;\n        return (_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.focus();\n      },\n      onKeyDown: onInternalKeyDown\n    }, renderSingle()));\n  };\n  var catchStyle = function catchStyle() {\n    var _a;\n    if (selectRef === null || selectRef === void 0 ? void 0 : selectRef.current) {\n      var _ref = (_a = selectRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect(),\n        width = _ref.width;\n      return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n        minWidth: width,\n        maxWidth: 600\n      }, dropdownStyle), {\n        width: (dropdownStyle === null || dropdownStyle === void 0 ? void 0 : dropdownStyle.width) || 'auto',\n        zIndex: 1050\n      }), popperStyle);\n    }\n  };\n  var handleVisibleChange = function handleVisibleChange(visible) {\n    if (!visible) {\n      initActiveIndex(-1);\n    }\n    if (visible !== optionShow) {\n      props.visible === undefined && setOptionShow(visible);\n      onVisibleChange && onVisibleChange(visible);\n    }\n  };\n  var popperProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, selectProps), {\n    prefixCls: \"\".concat(selectPrefixCls, \"-dropdown\"),\n    placement: 'bottomLeft',\n    popperStyle: catchStyle(),\n    defaultVisible: optionShow,\n    visible: optionShow,\n    onVisibleChange: handleVisibleChange,\n    clickToClose: !searchValue,\n    onTransitionEnd: function onTransitionEnd() {\n      if (optionShow === false) {\n        handleClear();\n      }\n    }\n  });\n  return (0,_utils_usePopper__WEBPACK_IMPORTED_MODULE_20__[\"default\"])(renderCityPicker(), renderContent(), popperProps);\n};\nvar Select = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().forwardRef(InternalSelect);\nSelect.displayName = 'CityPicker';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Select);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/city-picker/city-picker.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/city-picker/index.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/city-picker/index.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _city_picker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./city-picker */ \"../../node_modules/@kdcloudjs/kdesign/es/city-picker/city-picker.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_city_picker__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/city-picker/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/city-picker/option.js":
/*!**********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/city-picker/option.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n\n\n\n\nvar InternalOption = function InternalOption(props, ref) {\n  var _classNames;\n  var optionRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null) || ref;\n  var children = props.children,\n    value = props.value,\n    disabled = props.disabled,\n    className = props.className,\n    activeIndex = props.activeIndex,\n    index = props.index,\n    onChangeSelect = props.onChangeSelect,\n    _props$city = props.city,\n    city = _props$city === void 0 ? {} : _props$city,\n    renderCityInfo = props.renderCityInfo,\n    itemRender = props.itemRender,\n    onChangeActiveIndex = props.onChangeActiveIndex;\n  var id = city.id,\n    name = city.name;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_3__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var selectOptionPrefixCls = getPrefixCls(prefixCls, 'city-picker-list-item');\n  var isSelected = id !== undefined ? id === value : false;\n  var optionCls = classnames__WEBPACK_IMPORTED_MODULE_2___default()(selectOptionPrefixCls, className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(selectOptionPrefixCls, \"-selected\"), isSelected), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(selectOptionPrefixCls, \"-disabled\"), disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(selectOptionPrefixCls, \"-active\"), activeIndex === index), _classNames));\n  var handleClick = function handleClick(e) {\n    e.preventDefault();\n    if (disabled || id === undefined) return;\n    onChangeSelect === null || onChangeSelect === void 0 ? void 0 : onChangeSelect(city);\n  };\n  var handleOnMouseEnter = function handleOnMouseEnter() {\n    onChangeActiveIndex && onChangeActiveIndex(index);\n  };\n  var handleOnMouseLeave = function handleOnMouseLeave() {\n    onChangeActiveIndex && onChangeActiveIndex(-1);\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n    ref: optionRef,\n    className: optionCls,\n    title: name,\n    onClick: handleClick,\n    onMouseEnter: handleOnMouseEnter,\n    onMouseLeave: handleOnMouseLeave\n  }, typeof itemRender === 'function' ? itemRender(city) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"span\", {\n    className: \"\".concat(selectOptionPrefixCls, \"-content\")\n  }, children), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"span\", {\n    className: \"\".concat(selectOptionPrefixCls, \"-info\")\n  }, renderCityInfo === null || renderCityInfo === void 0 ? void 0 : renderCityInfo(city, true)))));\n};\nvar Option = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(InternalOption);\nOption.displayName = 'CityPickerOption';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Option);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/city-picker/option.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/clipboard/clipboard.js":
/*!***********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/clipboard/clipboard.js ***!
  \***********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ClipboardActions: function() { return /* binding */ ClipboardActions; },\n/* harmony export */   ClipboardSizes: function() { return /* binding */ ClipboardSizes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./util */ \"../../node_modules/@kdcloudjs/kdesign/es/clipboard/util.js\");\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\nvar ClipboardActions = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('copy', 'cut');\nvar ClipboardSizes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('large', 'middle', 'small');\nvar InternalClipboard = function InternalClipboard(props, ref) {\n  var _context, _classNames;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_5__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  // 剪贴板参数，合并了系统默认参数、用户定义组件统一参数及组件传参\n  var clipboardProps = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCompProps)('Clipboard', userDefaultProps, props);\n  var className = clipboardProps.className,\n    customPrefixcls = clipboardProps.prefixCls,\n    action = clipboardProps.action,\n    content = clipboardProps.content,\n    children = clipboardProps.children,\n    disabled = clipboardProps.disabled,\n    icon = clipboardProps.icon,\n    size = clipboardProps.size,\n    target = clipboardProps.target,\n    onError = clipboardProps.onError,\n    onSuccess = clipboardProps.onSuccess,\n    others = __rest(clipboardProps, [\"className\", \"prefixCls\", \"action\", \"content\", \"children\", \"disabled\", \"icon\", \"size\", \"target\", \"onError\", \"onSuccess\"]);\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(ClipboardActions.indexOf(action) === -1, 'clipboard', \"cannot found clipboard action '\".concat(action, \"'\"));\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(ClipboardSizes.indexOf(size) === -1, 'clipboard', \"cannot found clipboard size '\".concat(size, \"'\"));\n  // 剪贴板样式前缀\n  var clipboardPrefixCls = getPrefixCls(prefixCls, 'clipboard', customPrefixcls);\n  var clipboardClass = classnames__WEBPACK_IMPORTED_MODULE_4___default()(clipboardPrefixCls, className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(clipboardPrefixCls, \"-size-\")).call(_context, size), size), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(clipboardPrefixCls, \"-icon-only\"), !children && children !== 0 && icon !== null), _classNames));\n  // ref\n  var clipboardRef = ref || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createRef();\n  // 如果没有传 icon，则使用默认图标\n  // 如果 icon 传 null，则不使用图标\n  var iconNode = icon || (icon === undefined ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    type: \"copy-code\"\n  }) : null);\n  // 如果传的 children 为 string，则将 children 包装成块标签\n  var childrenNode = typeof children === 'string' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", null, children) : children;\n  /**\n   * 剪贴板 click 事件处理\n   */\n  var handleClick = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function () {\n    if (disabled) {\n      // 禁用状态不触发点击事件\n      return;\n    }\n    var selectedText;\n    try {\n      if (content) {\n        // 如果传了 content，则直接复制 content\n        selectedText = (0,_util__WEBPACK_IMPORTED_MODULE_11__.onClipboardCopy)(content);\n      } else {\n        var targetElement = typeof target === 'string' ? document.querySelector(target) : target();\n        if (!targetElement) {\n          // 没有获取到元素，抛出异常\n          throw new Error(\"target element '\".concat(target, \"' does not exist\"));\n        } else {\n          if (action === 'copy' && targetElement.hasAttribute('disabled')) {\n            // 复制被置为 disabled 的元素，抛出异常\n            throw new Error(\"invalid \\\"target\\\" attribute of element '\".concat(targetElement, \"'. Please use \\\"readonly\\\" instead of \\\"disabled\\\" attribute\"));\n          }\n          if (action === 'cut' && (targetElement.hasAttribute('readonly') || targetElement.hasAttribute('disabled'))) {\n            // 剪切被置为 readonly 或 disabled 的元素，抛出异常\n            throw new Error(\"invalid \\\"target\\\" attribute of element '\".concat(targetElement, \"'. You can't cut text from elements with \\\"readonly\\\" or \\\"disabled\\\" attributes\"));\n          }\n        }\n        // 对 targetElement 的值进行复制或剪切\n        selectedText = action === 'copy' ? (0,_util__WEBPACK_IMPORTED_MODULE_11__.onClipboardCopy)(targetElement) : (0,_util__WEBPACK_IMPORTED_MODULE_11__.onClipboardCut)(targetElement);\n      }\n    } catch (error) {\n      // 触发失败的回调\n      onError === null || onError === void 0 ? void 0 : onError(error);\n      // 退出处理器\n      return;\n    }\n    // 触发成功的回调\n    onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(selectedText);\n  }, [action, content, disabled, onError, onSuccess, target]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    className: clipboardClass,\n    disabled: disabled,\n    onClick: handleClick,\n    ref: clipboardRef\n  }, others), iconNode, childrenNode);\n};\nvar Clipboard = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().forwardRef(InternalClipboard);\nClipboard.displayName = 'Clipboard';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Clipboard);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/clipboard/clipboard.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/clipboard/index.js":
/*!*******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/clipboard/index.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _clipboard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./clipboard */ \"../../node_modules/@kdcloudjs/kdesign/es/clipboard/clipboard.js\");\n\nvar Clipboard = _clipboard__WEBPACK_IMPORTED_MODULE_0__[\"default\"];\n/* harmony default export */ __webpack_exports__[\"default\"] = (Clipboard);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/clipboard/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/clipboard/util.js":
/*!******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/clipboard/util.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   onClipboardCopy: function() { return /* binding */ onClipboardCopy; },\n/* harmony export */   onClipboardCut: function() { return /* binding */ onClipboardCut; }\n/* harmony export */ });\n/**\n * 获取元素的内容\n * @param {HTMLElement} element\n * @return {string}\n */\nvar getContent = function getContent(element) {\n  var content;\n  if (element.nodeName === 'SELECT') {\n    content = element.value;\n  } else if (element.nodeName === 'INPUT') {\n    content = element.value;\n  } else if (element.nodeName === 'TEXTAREA') {\n    content = element.value;\n  } else {\n    // 其他类型通过 select 与 range 来获取文本\n    // 获取 select\n    var selection = window.getSelection();\n    // 创建 range\n    var range = document.createRange();\n    // 设置 range 的元素\n    range.selectNodeContents(element);\n    // 重置 select\n    selection.removeAllRanges();\n    // 设置 select 的 range\n    selection.addRange(range);\n    // 获取选中的文本\n    content = selection.toString();\n    // 获取到文本后清空选中范围\n    selection.removeAllRanges();\n  }\n  return content;\n};\n/**\n * 清空元素的内容\n * @param {HTMLElement} element\n */\nvar clearElement = function clearElement(element) {\n  if (element.nodeName === 'SELECT') {\n    ;\n    element.value = '';\n  } else if (element.nodeName === 'INPUT') {\n    ;\n    element.value = '';\n  } else if (element.nodeName === 'TEXTAREA') {\n    ;\n    element.value = '';\n  } else {\n    element.innerHTML = '';\n  }\n};\n/**\n * 由将被复制的文本为 value 创建一个 HTMLTextAreaElement 容器\n * @param {String} value\n * @return {HTMLTextAreaElement}\n */\nvar createContainer = function createContainer(value) {\n  var isRTL = document.documentElement.getAttribute('dir') === 'rtl';\n  var container = document.createElement('textarea');\n  // 防止在 ios 上缩放\n  container.style.fontSize = '12pt';\n  // 重置样式\n  container.style.border = '0';\n  container.style.padding = '0';\n  container.style.margin = '0';\n  // 把元素定位在视窗外\n  container.style.position = 'absolute';\n  container.style[isRTL ? 'right' : 'left'] = '-9999px';\n  var yPosition = window.pageYOffset || document.documentElement.scrollTop;\n  container.style.top = \"\".concat(yPosition, \"px\");\n  // 设置为只读\n  container.setAttribute('readonly', '');\n  // 将文本赋值给元素\n  container.value = value;\n  document.body.appendChild(container);\n  return container;\n};\n/**\n * 删除元素\n * @param {HTMLElement} container\n */\nvar removeContainer = function removeContainer(container) {\n  document.body.removeChild(container);\n};\n/**\n * 添加选中状态\n * @param {HTMLElement} element\n */\nvar addSelection = function addSelection(element) {\n  // 在 Firefox, Edge (非 Chromium 版本) 及 Internet Explorer 中，getSelection() 对 <textarea> 及 <input> 元素不起作用\n  // 使用 select 对 <textarea> 及 <input> 单独处理\n  if (element.nodeName === 'INPUT') {\n    ;\n    element.select();\n  } else if (element.nodeName === 'TEXTAREA') {\n    ;\n    element.select();\n  } else {\n    var selection = window.getSelection();\n    var range = document.createRange();\n    range.selectNodeContents(element);\n    selection.removeAllRanges();\n    selection.addRange(range);\n  }\n};\n/**\n * 移除选中状态\n * @param {HTMLElement} element\n */\nvar removeSelection = function removeSelection(element) {\n  var _a;\n  // 在 Firefox, Edge (非 Chromium 版本) 及 Internet Explorer 中，getSelection() 对 <textarea> 及 <input> 元素不起作用\n  // 使用 setSelectRange 对 <textarea> 及 <input> 单独处理\n  if (element.nodeName === 'INPUT') {\n    ;\n    element.setSelectionRange(0, 0);\n  } else if (element.nodeName === 'TEXTAREA') {\n    ;\n    element.setSelectionRange(0, 0);\n  } else {\n    (_a = window.getSelection()) === null || _a === void 0 ? void 0 : _a.removeAllRanges();\n  }\n};\n/**\n * 剪贴板复制操作\n * @param {string | HTMLElement} target\n * @return {string}\n */\nvar onClipboardCopy = function onClipboardCopy(target) {\n  var copiedValue;\n  if (typeof target === 'string') {\n    // 如果传的是字符串，直接复制值\n    copiedValue = target;\n    if (navigator.clipboard) {\n      // navigator.clipboard api 存在时，优先使用其进行复制操作\n      if (copiedValue !== '') {\n        navigator.clipboard.writeText(copiedValue).then(null, function () {\n          throw new Error(\"failed to copy to clipboard of value '\".concat(copiedValue, \"'\"));\n        });\n      }\n    } else {\n      var container = createContainer(copiedValue);\n      addSelection(container);\n      document.execCommand('copy');\n      removeSelection(container);\n      removeContainer(container);\n    }\n  } else {\n    // 通过元素来复制\n    copiedValue = getContent(target);\n    if (navigator.clipboard) {\n      if (copiedValue !== '') {\n        navigator.clipboard.writeText(copiedValue).then(null, function () {\n          throw new Error(\"failed to copy to clipboard of value '\".concat(copiedValue, \"'\"));\n        });\n      }\n    } else {\n      addSelection(target);\n      document.execCommand('copy');\n      removeSelection(target);\n    }\n  }\n  return copiedValue;\n};\n/**\n * 剪贴板剪切操作\n * @param {HTMLElement} target\n * @return {string}\n */\nvar onClipboardCut = function onClipboardCut(target) {\n  var cutValue = getContent(target);\n  if (target.nodeName === 'SELECT' || target.nodeName === 'INPUT' || target.nodeName === 'TEXTAREA') {\n    // 对于输入框，使用 document.execCommand('cut') 来剪切，防止受控的输入框无法清空内容\n    if (document.execCommand) {\n      addSelection(target);\n      document.execCommand('cut');\n      removeSelection(target);\n    } else {\n      // document.execCommand 命令不兼容，则抛出异常，因为受控的输入框无法清空元素内容\n      throw new Error(\"failed to cut to clipboard through unavailable api \\\"document.execCommand\\\"\");\n    }\n  } else {\n    // 对于其他标签的元素，使用 navigator 写入剪贴板，并手动清空内容，防止其他标签无法清空内容\n    if (navigator.clipboard) {\n      if (cutValue !== '') {\n        navigator.clipboard.writeText(cutValue).then(null, function () {\n          throw new Error(\"failed to cut to clipboard of value '\".concat(cutValue, \"'\"));\n        });\n      }\n      clearElement(target);\n    } else {\n      // navigator.clipboard 命令不兼容，则抛出异常，因为非输入框无法适用 document.execCommand('cut')\n      throw new Error(\"failed to cut to clipboard through unavailable api \\\"navigator.clipboard\\\"\");\n    }\n  }\n  return cutValue;\n};\n\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/clipboard/util.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/collapse/collapse.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/collapse/collapse.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   IconPositionTypes: function() { return /* binding */ IconPositionTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar IconPositionTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_10__.tuple)('left', 'right');\nvar InternalCollapse = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().forwardRef(function (props, ref) {\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_8___default().useContext(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_11__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    prefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  var _getCompProps = (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getCompProps)('Collapse', userDefaultProps, props),\n    accordion = _getCompProps.accordion,\n    activeKey = _getCompProps.activeKey,\n    bordered = _getCompProps.bordered,\n    defaultActiveKey = _getCompProps.defaultActiveKey,\n    expandIcon = _getCompProps.expandIcon,\n    expandIconPosition = _getCompProps.expandIconPosition,\n    onChange = _getCompProps.onChange,\n    style = _getCompProps.style,\n    className = _getCompProps.className,\n    children = _getCompProps.children,\n    customPrefixcls = _getCompProps.prefixCls;\n  var CollapsePrefixCls = getPrefixCls(prefixCls, 'collapse', customPrefixcls); // 样式前缀\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)([]),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState, 2),\n    innerKey = _useState2[0],\n    setInnerKey = _useState2[1];\n  var convertActiveKey = function convertActiveKey(newKey) {\n    var ret = [];\n    if (Array.isArray(newKey)) {\n      ret = newKey;\n    } else if (typeof newKey === 'string' || typeof newKey === 'number') {\n      ret = [newKey];\n    }\n    if (accordion && ret.length) {\n      ret = [ret[0]];\n    }\n    return ret;\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    if (typeof activeKey !== 'undefined') {\n      setInnerKey(convertActiveKey(activeKey));\n    }\n  }, [activeKey]);\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    if (typeof activeKey !== 'undefined' || typeof defaultActiveKey !== 'undefined') {\n      setInnerKey(convertActiveKey(typeof activeKey !== 'undefined' ? activeKey : defaultActiveKey));\n    }\n  }, []);\n  var onPanelChange = function onPanelChange(key) {\n    var newKey = [];\n    if (accordion) {\n      if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4___default()(innerKey).call(innerKey, key)) {\n        newKey = [];\n      } else {\n        newKey = [key];\n      }\n    } else {\n      if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4___default()(innerKey).call(innerKey, key)) {\n        newKey = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5___default()(innerKey).call(innerKey, function (d) {\n          return d !== key;\n        });\n      } else {\n        var _context;\n        newKey = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context = []).call(_context, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(innerKey), [key]);\n      }\n    }\n    if (typeof activeKey === 'undefined') {\n      setInnerKey(newKey);\n    }\n    onChange && onChange(newKey);\n  };\n  var renderPanel = function renderPanel() {\n    var _context2;\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7___default()(_context2 = (react__WEBPACK_IMPORTED_MODULE_8___default().Children)).call(_context2, children, function (item) {\n      var _a;\n      if (((_a = item === null || item === void 0 ? void 0 : item.type) === null || _a === void 0 ? void 0 : _a.displayName) !== 'Panel') {\n        (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(true, 'Collapse', 'children必须为Collapse.Panel');\n        return item;\n      }\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().cloneElement(item, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n        expandIcon: expandIcon,\n        expandIconPosition: expandIconPosition,\n        onChange: onPanelChange,\n        bordered: bordered,\n        innerKey: innerKey\n      }, item.props));\n    });\n  };\n  var rootClassName = classnames__WEBPACK_IMPORTED_MODULE_9___default()(className, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(CollapsePrefixCls), true));\n  var collapseRef = ref || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createRef();\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", {\n    className: rootClassName,\n    style: style,\n    ref: collapseRef\n  }, renderPanel());\n});\nInternalCollapse.displayName = 'Collapse';\n/* harmony default export */ __webpack_exports__[\"default\"] = (InternalCollapse);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/collapse/collapse.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/collapse/index.js":
/*!******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/collapse/index.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Panel: function() { return /* reexport safe */ _panel__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _collapse__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./collapse */ \"../../node_modules/@kdcloudjs/kdesign/es/collapse/collapse.js\");\n/* harmony import */ var _panel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./panel */ \"../../node_modules/@kdcloudjs/kdesign/es/collapse/panel.js\");\n\n\nvar Collapse = _collapse__WEBPACK_IMPORTED_MODULE_0__[\"default\"];\nCollapse.Panel = _panel__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Collapse);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/collapse/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/collapse/panel.js":
/*!******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/collapse/panel.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\nvar Panel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().forwardRef(function (props, ref) {\n  var _classNames6, _classNames7, _classNames8;\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_5___default().useContext(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    prefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  var _a = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCompProps)('CollapsePanel', userDefaultProps, props),\n    disabled = _a.disabled,\n    extra = _a.extra,\n    assist = _a.assist,\n    header = _a.header,\n    onChange = _a.onChange,\n    panelKey = _a.panelKey,\n    innerKey = _a.innerKey,\n    bordered = _a.bordered,\n    expandIcon = _a.expandIcon,\n    expandIconPosition = _a.expandIconPosition,\n    style = _a.style,\n    title = _a.title,\n    className = _a.className,\n    children = _a.children,\n    customPrefixcls = _a.prefixCls,\n    others = __rest(_a, [\"disabled\", \"extra\", \"assist\", \"header\", \"onChange\", \"panelKey\", \"innerKey\", \"bordered\", \"expandIcon\", \"expandIconPosition\", \"style\", \"title\", \"className\", \"children\", \"prefixCls\"]);\n  var panelPrefixCls = getPrefixCls(prefixCls, 'collapse-panel', customPrefixcls); // 样式前缀\n  var childrenRef = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)();\n  var setHeightTimerRef = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null);\n  var setAutoHeightTimerRef = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null);\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(null),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    expandAnimation = _useState2[0],\n    setExpandAnimation = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState3, 2),\n    expand = _useState4[0],\n    setExpand = _useState4[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    var newValue = _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4___default()(innerKey).call(innerKey, panelKey);\n    if (newValue !== expand) {\n      setExpand(newValue);\n      setExpandAnimation(true);\n    }\n  }, [innerKey]);\n  var handleClick = function handleClick() {\n    if (disabled) return;\n    onChange && onChange(panelKey);\n  };\n  var renderIcon = function renderIcon() {\n    var _classNames;\n    var iconClassName = classnames__WEBPACK_IMPORTED_MODULE_6___default()((_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(panelPrefixCls, \"-icon\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(panelPrefixCls, \"-animation-expand\"), !expand), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(panelPrefixCls, \"-animation-collapse\"), expand), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(panelPrefixCls, \"-disabled\"), disabled), _classNames));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n      className: iconClassName,\n      onClick: handleClick\n    }, expandIcon ? renderReactNode(expandIcon) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n      type: \"arrow-right-solid\"\n    }));\n  };\n  var renderLeft = function renderLeft() {\n    var _classNames2, _classNames3;\n    var className = classnames__WEBPACK_IMPORTED_MODULE_6___default()((_classNames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(panelPrefixCls, \"-left\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(panelPrefixCls, \"-disabled\"), disabled), _classNames2));\n    var headerClassName = classnames__WEBPACK_IMPORTED_MODULE_6___default()((_classNames3 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames3, \"\".concat(panelPrefixCls, \"-header\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames3, \"\".concat(panelPrefixCls, \"-disabled\"), disabled), _classNames3));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n      className: className,\n      onClick: handleClick\n    }, expandIconPosition === 'left' ? renderIcon() : null, header && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n      className: headerClassName,\n      title: title\n    }, renderReactNode(header)));\n  };\n  var renderRight = function renderRight() {\n    var _classNames4;\n    var className = classnames__WEBPACK_IMPORTED_MODULE_6___default()((_classNames4 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames4, \"\".concat(panelPrefixCls, \"-right\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames4, \"\".concat(panelPrefixCls, \"-disabled\"), disabled), _classNames4));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n      className: className\n    }, extra && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n      className: \"\".concat(panelPrefixCls, \"-extra\")\n    }, renderReactNode(extra)), expandIconPosition === 'right' ? renderIcon() : null);\n  };\n  var renderMiddle = function renderMiddle() {\n    var _classNames5;\n    var className = classnames__WEBPACK_IMPORTED_MODULE_6___default()((_classNames5 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames5, \"\".concat(panelPrefixCls, \"-middle\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames5, \"\".concat(panelPrefixCls, \"-disabled\"), disabled), _classNames5));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n      className: className\n    }, assist && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n      className: \"\".concat(panelPrefixCls, \"-assist\")\n    }, renderReactNode(assist)));\n  };\n  var renderReactNode = function renderReactNode(reactNode) {\n    if (typeof reactNode === 'function') {\n      return reactNode();\n    }\n    return reactNode;\n  };\n  var rootClassName = classnames__WEBPACK_IMPORTED_MODULE_6___default()(className, (_classNames6 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames6, \"\".concat(panelPrefixCls), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames6, \"\".concat(panelPrefixCls, \"-border\"), bordered), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames6, \"\".concat(panelPrefixCls, \"-opened\"), expand), _classNames6));\n  var topClassName = classnames__WEBPACK_IMPORTED_MODULE_6___default()((_classNames7 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames7, \"\".concat(panelPrefixCls, \"-top\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames7, \"\".concat(panelPrefixCls, \"-disabled\"), disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames7, \"\".concat(panelPrefixCls, \"-top-border\"), bordered && expand), _classNames7));\n  var childrenClassName = classnames__WEBPACK_IMPORTED_MODULE_6___default()((_classNames8 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames8, \"\".concat(panelPrefixCls, \"-children\"), expand), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames8, \"\".concat(panelPrefixCls, \"-children-hide\"), !expand), _classNames8));\n  var childrenBorderedClassName = classnames__WEBPACK_IMPORTED_MODULE_6___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(panelPrefixCls, \"-children-bordered\"), bordered));\n  var runExpandAnimation = function runExpandAnimation(element) {\n    element.style.height = '0px';\n    element.style.opacity = '0';\n    setHeightTimerRef.current && clearTimeout(setHeightTimerRef.current);\n    setHeightTimerRef.current = setTimeout(function () {\n      element.style.display = 'block';\n      element.style.opacity = '1';\n      element.style.height = \"\".concat(element.scrollHeight, \"px\");\n    }, 10);\n    setAutoHeightTimerRef.current && clearTimeout(setAutoHeightTimerRef.current);\n    setAutoHeightTimerRef.current = setTimeout(function () {\n      element.style.height = 'auto';\n    }, 350);\n  };\n  var runCollapseAnimation = function runCollapseAnimation(element) {\n    setAutoHeightTimerRef.current && clearTimeout(setAutoHeightTimerRef.current);\n    element.style.height = \"\".concat(element.scrollHeight, \"px\");\n    setAutoHeightTimerRef.current = setTimeout(function () {\n      element.style.height = '0px';\n      element.style.opacity = '0';\n    }, 0);\n  };\n  var expandWidthoutAnimation = function expandWidthoutAnimation(element) {\n    element.style.height = 'auto';\n    element.style.opacity = '1';\n  };\n  var panelPrefixClsRef = ref || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createRef();\n  react__WEBPACK_IMPORTED_MODULE_5___default().useLayoutEffect(function () {\n    if (!childrenRef.current) return;\n    if (expandAnimation) {\n      expand ? runExpandAnimation(childrenRef.current) : runCollapseAnimation(childrenRef.current);\n      setExpandAnimation(false);\n    } else if (!expandAnimation) {\n      expand ? expandWidthoutAnimation(childrenRef.current) : runCollapseAnimation(childrenRef.current);\n    }\n  }, [childrenRef.current, expandAnimation, expand]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    className: rootClassName,\n    style: style,\n    ref: panelPrefixClsRef\n  }, others), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n    className: topClassName\n  }, renderLeft(), renderMiddle(), renderRight()), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n    className: childrenClassName,\n    ref: childrenRef\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n    className: childrenBorderedClassName\n  }, children)));\n});\nPanel.displayName = 'Panel';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Panel);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/collapse/panel.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/color-picker/color-picker-panel.js":
/*!***********************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/color-picker/color-picker-panel.js ***!
  \***********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/select/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/switch/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/input/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _constant_systemPresetColor__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./constant/systemPresetColor */ \"../../node_modules/@kdcloudjs/kdesign/es/color-picker/constant/systemPresetColor.js\");\n/* harmony import */ var _utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/colorFormat */ \"../../node_modules/@kdcloudjs/kdesign/es/color-picker/utils/colorFormat.js\");\n/* harmony import */ var _constant_defaultColor__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./constant/defaultColor */ \"../../node_modules/@kdcloudjs/kdesign/es/color-picker/constant/defaultColor.js\");\n/* harmony import */ var _utils_validateColor__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./utils/validateColor */ \"../../node_modules/@kdcloudjs/kdesign/es/color-picker/utils/validateColor.js\");\n/* harmony import */ var _utils_convertLetters__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/convertLetters */ \"../../node_modules/@kdcloudjs/kdesign/es/color-picker/utils/convertLetters.js\");\n/* harmony import */ var color__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! color */ \"../../node_modules/color/index.js\");\n/* harmony import */ var color__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(color__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var react_color__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-color */ \"../../node_modules/react-color/es/index.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../_utils/hooks */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js\");\n/* harmony import */ var _utils_ieUtil__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_utils/ieUtil */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/ieUtil.js\");\n\n\n/* eslint-disable */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar ColorPickerPanel = function ColorPickerPanel(props) {\n  var _classNames, _classNames2, _context;\n  var setCorrectColorValue = props.setCorrectColorValue,\n    setInputColorValue = props.setInputColorValue,\n    setAlpha = props.setAlpha,\n    setAlphaNoVerifyVal = props.setAlphaNoVerifyVal,\n    setIsFollow = props.setIsFollow,\n    setClickedColorIndex = props.setClickedColorIndex,\n    setShowPanel = props.setShowPanel,\n    setColTypeArr = props.setColTypeArr,\n    setCurrentColorType = props.setCurrentColorType,\n    onChange = props.onChange,\n    onVisibleChange = props.onVisibleChange,\n    alpha = props.alpha,\n    alphaNoVerifyVal = props.alphaNoVerifyVal,\n    clickedColorIndex = props.clickedColorIndex,\n    colTypeArr = props.colTypeArr,\n    correctColorValue = props.correctColorValue,\n    currentColorType = props.currentColorType,\n    functionalColor = props.functionalColor,\n    functionalColorName = props.functionalColorName,\n    switchName = props.switchName,\n    inputRef = props.inputRef,\n    isFollow = props.isFollow,\n    presetColor = props.presetColor,\n    showSwitch = props.showSwitch,\n    showColorTransfer = props.showColorTransfer,\n    showPresetColor = props.showPresetColor,\n    showColorPickerBox = props.showColorPickerBox,\n    showColorPickerPanel = props.showColorPickerPanel,\n    value = props.value,\n    visible = props.visible,\n    showPanel = props.showPanel;\n  var panelInputRef = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(null);\n  var panelClsRef = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(null);\n  var Option = _index__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Option;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_config_provider__WEBPACK_IMPORTED_MODULE_6__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    locale = _useContext.locale;\n  var colorPickerPrefixCls = getPrefixCls(prefixCls, 'color-picker');\n  var panelCls = classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(colorPickerPrefixCls, \"-panel\"));\n  var panelChromePickerCls = classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(colorPickerPrefixCls, \"-panel-chrome\"), (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(colorPickerPrefixCls, \"-panel-chrome-no-box\"), !(showColorPickerBox === null || showColorPickerBox === void 0 ? void 0 : showColorPickerBox.showBox)), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(colorPickerPrefixCls, \"-panel-chrome-no-hue\"), !(showColorPickerBox === null || showColorPickerBox === void 0 ? void 0 : showColorPickerBox.showHue)), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(colorPickerPrefixCls, \"-panel-chrome-no-opacity\"), !(showColorPickerBox === null || showColorPickerBox === void 0 ? void 0 : showColorPickerBox.showOpacity)), _classNames));\n  var panelFollowThemeCls = classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(colorPickerPrefixCls, \"-panel-switch\"));\n  var panelContainerCls = classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(colorPickerPrefixCls, \"-panel-container\"));\n  var panelInputCls = classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(colorPickerPrefixCls, \"-panel-container-input\"));\n  var transparentCls = classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(colorPickerPrefixCls, \"-panel-container-transparent\"));\n  var colorDivContainerCls = classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(colorPickerPrefixCls, \"-panel-colorDivContainer\"), (_classNames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(colorPickerPrefixCls, \"-panel-colorDivContainer-unset-color\"), (presetColor === null || presetColor === void 0 ? void 0 : presetColor.length) === 0), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(colorPickerPrefixCls, \"-panel-colorDivContainer-ie11\"), _utils_ieUtil__WEBPACK_IMPORTED_MODULE_7__.isIE), _classNames2));\n  var colorLiClick = function colorLiClick(index, colorValue) {\n    var formatArr = (0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.colorFormat)(colorValue, alpha);\n    var formatValue = (0,_utils_convertLetters__WEBPACK_IMPORTED_MODULE_9__.toLowerCase)(formatArr[(0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.valOfCorrespondingType)(currentColorType)].value);\n    setIsFollow(false);\n    if (isFollow) {\n      setAlpha(1);\n      setAlphaNoVerifyVal(100 + '%');\n    }\n    if (value === undefined) {\n      setInputColorValue(formatValue);\n      setCorrectColorValue(formatValue);\n      setColTypeArr(formatArr);\n    }\n    setClickedColorIndex(index);\n    onChange && onChange(formatValue, formatArr);\n  };\n  var handleTypeChange = function handleTypeChange(selectValue, option) {\n    setCurrentColorType(option.label);\n    if (value === undefined) {\n      setCorrectColorValue(selectValue);\n      setInputColorValue(selectValue);\n    }\n    onChange && onChange(selectValue, colTypeArr);\n  };\n  var setPanelState = function setPanelState(formatArr, correctColorValue, inputColorValue, alpha, alphaStr) {\n    setColTypeArr(formatArr);\n    setCorrectColorValue(correctColorValue);\n    setInputColorValue(inputColorValue);\n    alpha && setAlpha(alpha);\n    alphaStr && setAlphaNoVerifyVal(alphaStr);\n  };\n  var handleAlphaChange = function handleAlphaChange(e) {\n    var regPercentage = /^(0|[1-9][0-9]?|100)%$/;\n    var regDot = /^(0(\\.\\d+)?|1(\\.0+)?)$/;\n    var val = e.target.value;\n    var formatArr, outValue;\n    if (value === undefined) {\n      setAlphaNoVerifyVal(e.target.value);\n      if (regPercentage.test(val)) {\n        formatArr = (0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.colorFormat)(correctColorValue, +val.replace('%', '') / 100, 'all', true);\n        outValue = formatArr[(0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.valOfCorrespondingType)(currentColorType)].value;\n        setPanelState(formatArr, outValue, outValue, +val.replace('%', '') / 100);\n        setClickedColorIndex((0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.highlightPresetColorIndex)(formatArr[0].value, (0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.presetColorToHEX)(presetColor || _constant_systemPresetColor__WEBPACK_IMPORTED_MODULE_10__.systemPresetColor)));\n      } else if (regDot.test(val)) {\n        formatArr = (0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.colorFormat)(correctColorValue, +val, 'all', true);\n        outValue = formatArr[(0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.valOfCorrespondingType)(currentColorType)].value;\n        setPanelState(formatArr, outValue, outValue, (0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.strFixed)(val, 2));\n        setClickedColorIndex((0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.highlightPresetColorIndex)(formatArr[0].value, (0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.presetColorToHEX)(presetColor || _constant_systemPresetColor__WEBPACK_IMPORTED_MODULE_10__.systemPresetColor)));\n      } else {\n        formatArr = (0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.colorFormat)(correctColorValue, 1, 'all', true);\n        outValue = formatArr[(0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.valOfCorrespondingType)(currentColorType)].value;\n        setPanelState(formatArr, outValue, outValue, 1);\n      }\n      onChange && onChange(outValue, formatArr);\n    }\n  };\n  var handleAlphaBlur = function handleAlphaBlur(e) {\n    var regPercentage = /^(0|[1-9][0-9]?|100)%$/;\n    var regDot = /^(0(\\.\\d+)?|1(\\.0+)?)$/;\n    var val = e.target.value;\n    if (regPercentage.test(val)) {\n      setAlphaNoVerifyVal(val);\n    } else if (regDot.test(val)) {\n      setAlphaNoVerifyVal((0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.strFixed)(+val * 100) + '%');\n    } else {\n      setAlphaNoVerifyVal('100%');\n    }\n  };\n  var handleSwitchChange = function handleSwitchChange(switchValue) {\n    var formatArr;\n    if (functionalColor) {\n      var inputValType = (0,_utils_validateColor__WEBPACK_IMPORTED_MODULE_11__.validateColor)(functionalColor);\n      if (inputValType) {\n        if (value === undefined) {\n          setIsFollow(switchValue);\n          if (switchValue) {\n            formatArr = (0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.colorFormat)(functionalColor, alpha);\n            setPanelState(formatArr, formatArr[(0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.valOfCorrespondingType)(currentColorType)].value, functionalColorName, (0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.strFixed)(color__WEBPACK_IMPORTED_MODULE_12___default()((0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.getColorObj)(functionalColor)).alpha(), 2), (0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.strFixed)(color__WEBPACK_IMPORTED_MODULE_12___default()((0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.getColorObj)(functionalColor)).alpha(), 2) * 100 + '%');\n            setClickedColorIndex((0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.highlightPresetColorIndex)(formatArr[0].value, (0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.presetColorToHEX)(presetColor || _constant_systemPresetColor__WEBPACK_IMPORTED_MODULE_10__.systemPresetColor)));\n          } else {\n            formatArr = (0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.colorFormat)(_constant_defaultColor__WEBPACK_IMPORTED_MODULE_13__.defaultSystemColor, 1, 'all', true);\n            setPanelState(formatArr, _constant_defaultColor__WEBPACK_IMPORTED_MODULE_13__.defaultSystemColor, '', 1, 100 + '%');\n            setClickedColorIndex(-1);\n          }\n        }\n      }\n      (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_14__[\"default\"])(!inputValType, 'color-picker', \"'themeColor' must be hexadecimal, RGB, HSB, HSL or English color name\");\n    }\n    if (switchValue) {\n      onChange && onChange(functionalColorName, formatArr);\n    } else {\n      onChange && onChange(_constant_defaultColor__WEBPACK_IMPORTED_MODULE_13__.defaultSystemColor, formatArr);\n    }\n  };\n  var handleChromeChange = function handleChromeChange(color) {\n    var formatArr = (0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.colorFormat)(color.hex, color.rgb.a);\n    var colorObj = formatArr[(0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.valOfCorrespondingType)(currentColorType)];\n    if (value === undefined) {\n      setIsFollow(false);\n      setPanelState(formatArr, colorObj.value, colorObj.value, color.rgb.a, (color.rgb.a * 100).toFixed() + '%');\n      setClickedColorIndex((0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.highlightPresetColorIndex)(formatArr[0].value, (0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.presetColorToHEX)(presetColor || _constant_systemPresetColor__WEBPACK_IMPORTED_MODULE_10__.systemPresetColor)));\n    }\n    onChange && onChange(colorObj.value, formatArr);\n  };\n  var checkUserPresetColor = function checkUserPresetColor(colorArr) {\n    if (!colorArr) return false;\n    var isTrueFormat = colorArr.every(function (hexColor) {\n      return ['HEX', 'HSB', 'RGB', 'HSL', 'colorName'].indexOf((0,_utils_validateColor__WEBPACK_IMPORTED_MODULE_11__.validateColor)(hexColor)) !== -1;\n    });\n    (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_14__[\"default\"])(!isTrueFormat, 'color-picker', \"'presetColor' must be an array of hexadecimal, RGB, HSB, HSL or English color name string type\");\n    return isTrueFormat;\n  };\n  (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_15__.useOnClickOutside)([panelClsRef, inputRef], function () {\n    if (typeof visible === 'undefined') {\n      setShowPanel(false);\n    }\n    showPanel && onVisibleChange && onVisibleChange(false);\n  });\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement((react__WEBPACK_IMPORTED_MODULE_2___default().Fragment), null, showColorPickerPanel && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: panelCls,\n    ref: panelClsRef\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(react_color__WEBPACK_IMPORTED_MODULE_4__.ChromePicker, {\n    className: panelChromePickerCls,\n    color: colTypeArr[2].value,\n    onChange: handleChromeChange\n  }), functionalColor && showSwitch && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: panelFollowThemeCls\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"span\", null, (switchName === null || switchName === void 0 ? void 0 : switchName.internationalName) && locale.getLangMsg('ColorPicker', switchName.internationalName) || switchName.name), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_index__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    checked: isFollow,\n    onChange: handleSwitchChange\n  })), showColorTransfer && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: panelContainerCls\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: panelInputCls,\n    ref: panelInputRef\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_index__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    disabled: isFollow,\n    borderType: \"bordered\",\n    value: correctColorValue,\n    placeholder: \"#\",\n    onChange: handleTypeChange,\n    optionLabelProp: \"value\",\n    getPopupContainer: function getPopupContainer() {\n      return panelInputRef.current;\n    }\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1___default()(colTypeArr).call(colTypeArr, function (obj, i) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(Option, {\n      title: obj.value,\n      value: obj.value,\n      className: classnames__WEBPACK_IMPORTED_MODULE_3___default()({\n        'active-option': obj.type === currentColorType && obj.value === correctColorValue\n      }),\n      key: i\n    }, obj.type);\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_index__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n    className: transparentCls,\n    onChange: handleAlphaChange,\n    onBlur: handleAlphaBlur,\n    borderType: \"bordered\",\n    value: alphaNoVerifyVal,\n    disabled: isFollow\n  })), showPresetColor && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: colorDivContainerCls\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1___default()(_context = checkUserPresetColor(presetColor) && (0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_8__.presetColorToHEX)(presetColor) || _constant_systemPresetColor__WEBPACK_IMPORTED_MODULE_10__.systemPresetColor).call(_context, function (colorValue, i) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"li\", {\n      key: i,\n      style: {\n        backgroundColor: \"\".concat(colorValue)\n      },\n      onClick: function onClick() {\n        colorLiClick(i, colorValue);\n      }\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('square', {\n        'square-click': clickedColorIndex === i\n      })\n    }));\n  }))));\n};\nColorPickerPanel.displayName = 'ColorPickerPanel';\n/* harmony default export */ __webpack_exports__[\"default\"] = (ColorPickerPanel);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/color-picker/color-picker-panel.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/color-picker/color-picker.js":
/*!*****************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/color-picker/color-picker.js ***!
  \*****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/input/index.js\");\n/* harmony import */ var _utils_validateColor__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/validateColor */ \"../../node_modules/@kdcloudjs/kdesign/es/color-picker/utils/validateColor.js\");\n/* harmony import */ var _constant_colorTypes__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./constant/colorTypes */ \"../../node_modules/@kdcloudjs/kdesign/es/color-picker/constant/colorTypes.js\");\n/* harmony import */ var _color_picker_panel__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./color-picker-panel */ \"../../node_modules/@kdcloudjs/kdesign/es/color-picker/color-picker-panel.js\");\n/* harmony import */ var _utils_colorFormat__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/colorFormat */ \"../../node_modules/@kdcloudjs/kdesign/es/color-picker/utils/colorFormat.js\");\n/* harmony import */ var _utils_convertLetters__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./utils/convertLetters */ \"../../node_modules/@kdcloudjs/kdesign/es/color-picker/utils/convertLetters.js\");\n/* harmony import */ var _constant_defaultColor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./constant/defaultColor */ \"../../node_modules/@kdcloudjs/kdesign/es/color-picker/constant/defaultColor.js\");\n/* harmony import */ var color__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! color */ \"../../node_modules/color/index.js\");\n/* harmony import */ var color__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(color__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_usePopper__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../_utils/usePopper */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/usePopper.js\");\n/* harmony import */ var _constant_systemPresetColor__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./constant/systemPresetColor */ \"../../node_modules/@kdcloudjs/kdesign/es/color-picker/constant/systemPresetColor.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar ColorPicker = function ColorPicker(props) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_3__.useContext)(_config_provider__WEBPACK_IMPORTED_MODULE_5__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var colorPickerProps = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getCompProps)('ColorPicker', userDefaultProps, props);\n  var value = colorPickerProps.value,\n    className = colorPickerProps.className,\n    style = colorPickerProps.style,\n    functionalColor = colorPickerProps.functionalColor,\n    functionalColorName = colorPickerProps.functionalColorName,\n    switchName = colorPickerProps.switchName,\n    showSwitch = colorPickerProps.showSwitch,\n    showColorTransfer = colorPickerProps.showColorTransfer,\n    showPresetColor = colorPickerProps.showPresetColor,\n    showColorPickerBox = colorPickerProps.showColorPickerBox,\n    borderType = colorPickerProps.borderType,\n    presetColor = colorPickerProps.presetColor,\n    placeholder = colorPickerProps.placeholder,\n    defaultValue = colorPickerProps.defaultValue,\n    defaultOpen = colorPickerProps.defaultOpen,\n    visible = colorPickerProps.visible,\n    suffixIcon = colorPickerProps.suffixIcon,\n    onChange = colorPickerProps.onChange,\n    onVisibleChange = colorPickerProps.onVisibleChange;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(defaultValue || ''),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    inputColorValue = _useState2[0],\n    setInputColorValue = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(defaultValue || _constant_defaultColor__WEBPACK_IMPORTED_MODULE_7__.defaultSystemColor),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState3, 2),\n    correctColorValue = _useState4[0],\n    setCorrectColorValue = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)('HEX'),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState5, 2),\n    currentColorType = _useState6[0],\n    setCurrentColorType = _useState6[1];\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(_constant_colorTypes__WEBPACK_IMPORTED_MODULE_8__.colorTypes),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState7, 2),\n    colTypeArr = _useState8[0],\n    setColTypeArr = _useState8[1];\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(typeof visible === 'undefined' ? !!defaultOpen : !!visible),\n    _useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState9, 2),\n    showPanel = _useState10[0],\n    setShowPanel = _useState10[1];\n  var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(1),\n    _useState12 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState11, 2),\n    alpha = _useState12[0],\n    setAlpha = _useState12[1];\n  var _useState13 = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(alpha * 100 + '%'),\n    _useState14 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState13, 2),\n    alphaNoVerifyVal = _useState14[0],\n    setAlphaNoVerifyVal = _useState14[1];\n  var _useState15 = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false),\n    _useState16 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState15, 2),\n    isFollow = _useState16[0],\n    setIsFollow = _useState16[1];\n  var _useState17 = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(),\n    _useState18 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState17, 2),\n    clickedColorIndex = _useState18[0],\n    setClickedColorIndex = _useState18[1];\n  var colorPickerPrefixCls = getPrefixCls(prefixCls, 'color-picker');\n  var popUpLayer = getPrefixCls(prefixCls, 'color-picker-pop');\n  var containerCls = classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(colorPickerPrefixCls, \"-container\"));\n  var inputCls = classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(colorPickerPrefixCls, \"-input\"), className);\n  var inputRef = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(null);\n  var showColorPickerPanel = showColorTransfer || typeof showPresetColor === 'boolean' && showPresetColor && (presetColor === null || presetColor === void 0 ? void 0 : presetColor.length) || typeof showPresetColor === 'undefined' || (functionalColor === null || functionalColor === void 0 ? void 0 : functionalColor.length) && showSwitch || (showColorPickerBox === null || showColorPickerBox === void 0 ? void 0 : showColorPickerBox.showBox) || (showColorPickerBox === null || showColorPickerBox === void 0 ? void 0 : showColorPickerBox.showHue) || (showColorPickerBox === null || showColorPickerBox === void 0 ? void 0 : showColorPickerBox.showOpacity);\n  var setIconColor = function setIconColor(value) {\n    value === functionalColorName ? setIsFollow(true) : setIsFollow(false);\n    var inpValue = value === functionalColorName ? functionalColor : value;\n    var inputValType = (0,_utils_validateColor__WEBPACK_IMPORTED_MODULE_9__.validateColor)(inpValue);\n    var setState = function setState(formatArr, correctColorValue, alpha, alphaStr) {\n      setColTypeArr(formatArr);\n      setCorrectColorValue(correctColorValue);\n      setAlpha(alpha);\n      setAlphaNoVerifyVal(alphaStr);\n    };\n    if (inputValType) {\n      var formatArr = (0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_10__.colorFormat)(inpValue, (0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_10__.strFixed)(color__WEBPACK_IMPORTED_MODULE_11___default()((0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_10__.getColorObj)(inpValue)).alpha(), 2));\n      setState(formatArr, formatArr[(0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_10__.valOfCorrespondingType)(currentColorType)].value, color__WEBPACK_IMPORTED_MODULE_11___default()((0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_10__.getColorObj)(inpValue)).alpha(), ((0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_10__.strFixed)(color__WEBPACK_IMPORTED_MODULE_11___default()((0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_10__.getColorObj)(inpValue)).alpha(), 2) * 100).toFixed() + '%');\n      setClickedColorIndex((0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_10__.highlightPresetColorIndex)(formatArr[0].value, (0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_10__.presetColorToHEX)(presetColor || _constant_systemPresetColor__WEBPACK_IMPORTED_MODULE_12__.systemPresetColor)));\n    } else {\n      var _formatArr = (0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_10__.colorFormat)(_constant_defaultColor__WEBPACK_IMPORTED_MODULE_7__.defaultSystemColor);\n      setState(_formatArr, _constant_defaultColor__WEBPACK_IMPORTED_MODULE_7__.defaultSystemColor, 1, '100%');\n    }\n  };\n  var handleChange = function handleChange(e) {\n    setClickedColorIndex(-1);\n    var inpValue = (0,_utils_convertLetters__WEBPACK_IMPORTED_MODULE_13__.toLowerCase)(e.target.value);\n    if (value === undefined) {\n      setIconColor(inpValue);\n      setInputColorValue(inpValue);\n    }\n    var callback = function callback(val, alpha) {\n      var formatArr = (0,_utils_colorFormat__WEBPACK_IMPORTED_MODULE_10__.colorFormat)(val, alpha);\n      onChange && onChange(inpValue, formatArr);\n    };\n    if ((0,_utils_validateColor__WEBPACK_IMPORTED_MODULE_9__.validateColor)(inpValue)) {\n      callback(inpValue, alpha);\n    } else {\n      callback(_constant_defaultColor__WEBPACK_IMPORTED_MODULE_7__.defaultSystemColor, alpha);\n    }\n    functionalColor && showSwitch && setIsFollow(false);\n  };\n  var handleClick = function handleClick() {\n    if (typeof visible === 'undefined') {\n      setShowPanel(!showPanel);\n    }\n    onVisibleChange && onVisibleChange(!showPanel);\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(function () {\n    if (typeof visible !== 'undefined') {\n      setShowPanel(visible);\n    }\n  }, [visible]);\n  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(function () {\n    if (value) {\n      setIconColor(value);\n    } else {\n      if (defaultValue) {\n        setIconColor(defaultValue);\n      }\n    }\n  }, [value, defaultValue]);\n  var afterIcon = function afterIcon() {\n    var _classNames;\n    var afterIconContainerCls = classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(colorPickerPrefixCls, \"-icon\"), (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(colorPickerPrefixCls, \"-icon-underline\"), borderType === 'underline'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(colorPickerPrefixCls, \"-icon-bordered\"), borderType === 'bordered'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(colorPickerPrefixCls, \"-icon-up\"), showPanel), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(colorPickerPrefixCls, \"-icon-down\"), !showPanel), _classNames));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n      className: afterIconContainerCls,\n      style: {\n        backgroundColor: \"\".concat(colTypeArr[2].value || _constant_defaultColor__WEBPACK_IMPORTED_MODULE_7__.defaultSystemColor)\n      }\n    }, showColorPickerPanel && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_index__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n      type: \"arrow-down\"\n    }));\n  };\n  var colorInputEle = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n    className: containerCls,\n    ref: inputRef\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_index__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n    borderType: borderType,\n    placeholder: placeholder,\n    value: value !== null && value !== void 0 ? value : inputColorValue,\n    className: inputCls,\n    onChange: handleChange,\n    style: style,\n    onClick: handleClick\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n    onClick: handleClick,\n    className: \"\".concat(colorPickerPrefixCls, \"-icon-container\")\n  }, suffixIcon && suffixIcon(colTypeArr[2].value) || afterIcon()));\n  var panel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_color_picker_panel__WEBPACK_IMPORTED_MODULE_16__[\"default\"]\n  // API\n  , {\n    // API\n    showSwitch: showSwitch,\n    showColorTransfer: showColorTransfer,\n    showPresetColor: showPresetColor,\n    showColorPickerBox: showColorPickerBox,\n    functionalColor: functionalColor,\n    functionalColorName: functionalColorName,\n    switchName: switchName,\n    presetColor: presetColor,\n    value: value,\n    visible: visible,\n    showPanel: showPanel,\n    onVisibleChange: onVisibleChange,\n    // private\n    setInputColorValue: setInputColorValue,\n    setCorrectColorValue: setCorrectColorValue,\n    correctColorValue: correctColorValue,\n    clickedColorIndex: clickedColorIndex,\n    setClickedColorIndex: setClickedColorIndex,\n    onChange: onChange,\n    alpha: alpha,\n    setAlpha: setAlpha,\n    alphaNoVerifyVal: alphaNoVerifyVal,\n    setAlphaNoVerifyVal: setAlphaNoVerifyVal,\n    isFollow: isFollow,\n    setIsFollow: setIsFollow,\n    setShowPanel: setShowPanel,\n    inputRef: inputRef,\n    colTypeArr: colTypeArr,\n    setColTypeArr: setColTypeArr,\n    currentColorType: currentColorType,\n    setCurrentColorType: setCurrentColorType,\n    showColorPickerPanel: showColorPickerPanel\n  });\n  var popperProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, colorPickerProps), {\n    popperClassName: popUpLayer,\n    placement: 'bottomLeft',\n    defaultVisible: showPanel,\n    visible: showPanel,\n    onVisibleChange: null,\n    clickToClose: false\n  });\n  return (0,_utils_usePopper__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(colorInputEle, panel, popperProps);\n};\nColorPicker.displayName = 'ColorPicker';\n/* harmony default export */ __webpack_exports__[\"default\"] = (ColorPicker);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/color-picker/color-picker.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/color-picker/constant/colorTypes.js":
/*!************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/color-picker/constant/colorTypes.js ***!
  \************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   colorTypes: function() { return /* binding */ colorTypes; }\n/* harmony export */ });\nvar colorTypes = [{\n  type: 'HEX',\n  value: '#b2b2b2'\n}, {\n  type: 'HSB',\n  value: 'hsb(0, 0%, 70%)'\n}, {\n  type: 'RGB',\n  value: 'rgb(178, 178, 178)'\n}, {\n  type: 'HSL',\n  value: 'hsl(0, 0%, 70%)'\n}];\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/color-picker/constant/colorTypes.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/color-picker/constant/defaultColor.js":
/*!**************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/color-picker/constant/defaultColor.js ***!
  \**************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   defaultSystemColor: function() { return /* binding */ defaultSystemColor; }\n/* harmony export */ });\nvar defaultSystemColor = '#b2b2b2';\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/color-picker/constant/defaultColor.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/color-picker/constant/systemPresetColor.js":
/*!*******************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/color-picker/constant/systemPresetColor.js ***!
  \*******************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   systemPresetColor: function() { return /* binding */ systemPresetColor; }\n/* harmony export */ });\nvar systemPresetColor = ['#A1ECFF', '#A1F5E8', '#A1E6B5', '#DDFF8F', '#FFEF8A', '#FFE0A6', '#FFCAA8', '#FFADB6', '#FF96AD', '#D4A8FF', '#99CCFF', '#B3D5FF', '#16B0F1', '#16B8B1', '#1BA854', '#77C404', '#FDC200', '#FF991C', '#FF5F1F', '#FB2323', '#F90D58', '#701DF0', '#0E5FD8', '#276FF5', '#FFFFFF', '#FAFAFA', '#F5F5F5', '#F2F2F2', '#E5E5E5', '#D9D9D9', '#CCCCCC', '#999999', '#666666', '#404040', '#212121', '#000000'];\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/color-picker/constant/systemPresetColor.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/color-picker/index.js":
/*!**********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/color-picker/index.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _color_picker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./color-picker */ \"../../node_modules/@kdcloudjs/kdesign/es/color-picker/color-picker.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_color_picker__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/color-picker/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/color-picker/utils/colorFormat.js":
/*!**********************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/color-picker/utils/colorFormat.js ***!
  \**********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   colorFormat: function() { return /* binding */ colorFormat; },\n/* harmony export */   getColorObj: function() { return /* binding */ getColorObj; },\n/* harmony export */   highlightPresetColorIndex: function() { return /* binding */ highlightPresetColorIndex; },\n/* harmony export */   presetColorToHEX: function() { return /* binding */ presetColorToHEX; },\n/* harmony export */   strFixed: function() { return /* binding */ strFixed; },\n/* harmony export */   valOfCorrespondingType: function() { return /* binding */ valOfCorrespondingType; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find-index */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find-index.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var color__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! color */ \"../../node_modules/color/index.js\");\n/* harmony import */ var color__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(color__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _validateColor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./validateColor */ \"../../node_modules/@kdcloudjs/kdesign/es/color-picker/utils/validateColor.js\");\n/* harmony import */ var _convertLetters__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./convertLetters */ \"../../node_modules/@kdcloudjs/kdesign/es/color-picker/utils/convertLetters.js\");\n\n\n\n\n\n\nvar colorFormat = function colorFormat(colorStr) {\n  var alpha = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n  var outType = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'all';\n  var formatHex = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n  var ColorTools = color__WEBPACK_IMPORTED_MODULE_3___default()(getColorObj(colorStr)).alpha(alpha);\n  var toHex = function toHex() {\n    if (/^#([0-9a-fA-F]{8})$/.test(colorStr)) {\n      if (formatHex) {\n        return (0,_convertLetters__WEBPACK_IMPORTED_MODULE_4__.toLowerCase)(alpha === 1 ? ColorTools.hex() : ColorTools.hexa());\n      } else {\n        return colorStr;\n      }\n    } else {\n      return (0,_convertLetters__WEBPACK_IMPORTED_MODULE_4__.toLowerCase)(alpha === 1 ? ColorTools.hex() : ColorTools.hexa());\n    }\n  };\n  var HEX = toHex();\n  var HSB = colorToStr(ColorTools.hsv());\n  var RGB = ColorTools.rgb().string();\n  var HSL = colorToStr(ColorTools.hsl());\n  if (outType === 'HEX') return HEX;\n  if (outType === 'HSB') return HSB;\n  if (outType === 'HSL') return HSL;\n  if (outType === 'RGB') return RGB;\n  if (outType === 'all') {\n    return [{\n      type: 'HEX',\n      value: HEX\n    }, {\n      type: 'HSB',\n      value: HSB\n    }, {\n      type: 'RGB',\n      value: RGB\n    }, {\n      type: 'HSL',\n      value: HSL\n    }];\n  }\n};\nvar getColorObj = function getColorObj(colorStr) {\n  var colorArray = colorStr.split(',');\n  var type = (0,_validateColor__WEBPACK_IMPORTED_MODULE_5__.validateColor)(colorStr);\n  if (type === 'HSB' || type === 'HSBA') {\n    var s = removePercentage(colorArray[1]);\n    if (type === 'HSB') {\n      var h = colorArray[0].replace('hsb(', '');\n      var b = colorArray[2].replace(')', '');\n      return {\n        h: h,\n        s: s,\n        v: removePercentage(b)\n      };\n    } else {\n      var _h = colorArray[0].replace('hsba(', '');\n      var _b = colorArray[2];\n      var a = colorArray[3].replace(')', '');\n      return {\n        h: +_h,\n        s: s,\n        v: removePercentage(_b),\n        alpha: +a\n      };\n    }\n  } else if (type === 'HSL' || type === 'HSLA') {\n    var _s = addPercentage(colorArray[1]);\n    if (type === 'HSL') {\n      var _context, _context2;\n      var _h2 = colorArray[0].replace('hsl(', '');\n      var l = colorArray[2].replace(')', '');\n      return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context2 = \"hsl(\".concat(_h2, \",\")).call(_context2, _s, \",\")).call(_context, addPercentage(l), \")\");\n    } else {\n      var _context3, _context4, _context5;\n      var _h3 = colorArray[0].replace('hsla(', '');\n      var _l = colorArray[2];\n      var _a = colorArray[3].replace(')', '');\n      return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context3 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context4 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context5 = \"hsla(\".concat(_h3, \",\")).call(_context5, _s, \",\")).call(_context4, addPercentage(_l), \",\")).call(_context3, _a, \")\");\n    }\n  } else if (type === 'RGB' || type === 'RGBA') {\n    var g = colorArray[1];\n    if (type === 'RGB') {\n      var _context6, _context7;\n      var r = colorArray[0].replace('rgb(', '');\n      var _b2 = colorArray[2].replace(')', '');\n      return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context6 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context7 = \"rgb(\".concat(strFixed(r), \",\")).call(_context7, strFixed(g), \",\")).call(_context6, strFixed(_b2), \")\");\n    } else {\n      var _context8, _context9, _context10;\n      var _r = colorArray[0].replace('rgba(', '');\n      var _b3 = colorArray[2];\n      var _a2 = colorArray[3].replace(')', '');\n      return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context8 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context9 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context10 = \"rgba(\".concat(strFixed(_r), \",\")).call(_context10, strFixed(g), \",\")).call(_context9, strFixed(_b3), \",\")).call(_context8, strFixed(_a2, 2), \")\");\n    }\n  } else {\n    return colorStr;\n  }\n};\nvar addPercentage = function addPercentage(parameter) {\n  return (parameter === null || parameter === void 0 ? void 0 : parameter.indexOf('%')) !== -1 ? parameter : +parameter > 0 && +parameter <= 1 ? +parameter * 100 + '%' : parameter + '%';\n};\nvar removePercentage = function removePercentage(parameter) {\n  return (parameter === null || parameter === void 0 ? void 0 : parameter.indexOf('%')) !== -1 ? +parameter.replace('%', '') : +parameter > 0 && +parameter <= 1 ? +parameter * 100 : +parameter;\n};\nvar colorToStr = function colorToStr(obj) {\n  var arr = obj.color;\n  if (obj.valpha === 1) {\n    var _context11, _context12, _context13;\n    return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context11 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context12 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context13 = \"\".concat(obj.model === 'hsv' ? 'hsb' : 'hsl', \"(\")).call(_context13, strFixed(arr[0]), \", \")).call(_context12, strFixed(arr[1]), \"%, \")).call(_context11, strFixed(arr[2]), \"%)\");\n  } else {\n    var _context14, _context15, _context16, _context17;\n    return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context14 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context15 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context16 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context17 = \"\".concat(obj.model === 'hsv' ? 'hsba' : 'hsla', \"(\")).call(_context17, strFixed(arr[0]), \", \")).call(_context16, strFixed(arr[1]), \"%, \")).call(_context15, strFixed(arr[2]), \"%, \")).call(_context14, strFixed(obj.valpha, 2), \")\");\n  }\n};\nvar strFixed = function strFixed(numStr) {\n  var num = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n  return +(+numStr).toFixed(num);\n};\nvar valOfCorrespondingType = function valOfCorrespondingType(currentColorType) {\n  var index;\n  switch (currentColorType) {\n    case 'HEX':\n      index = 0;\n      break;\n    case 'HSB':\n      index = 1;\n      break;\n    case 'RGB':\n      index = 2;\n      break;\n    case 'HSL':\n      index = 3;\n      break;\n  }\n  return index;\n};\nvar highlightPresetColorIndex = function highlightPresetColorIndex(color, colorArr) {\n  var index = _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_1___default()(colorArr).call(colorArr, function (val) {\n    return val === color;\n  });\n  return index;\n};\nvar presetColorToHEX = function presetColorToHEX(colorArr) {\n  if (!colorArr) return [];\n  var hexColorArr = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(colorArr).call(colorArr, function (color) {\n    return colorFormat(color, 1, 'HEX');\n  });\n  return hexColorArr;\n};\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/color-picker/utils/colorFormat.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/color-picker/utils/convertLetters.js":
/*!*************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/color-picker/utils/convertLetters.js ***!
  \*************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   toLowerCase: function() { return /* binding */ toLowerCase; }\n/* harmony export */ });\nfunction toLowerCase(str) {\n  var result = '';\n  for (var i = 0; i < str.length; i++) {\n    var charCode = str.charCodeAt(i);\n    if (charCode >= 65 && charCode <= 90) {\n      result += String.fromCharCode(charCode + 32);\n    } else {\n      result += str[i];\n    }\n  }\n  return result;\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/color-picker/utils/convertLetters.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/color-picker/utils/validateColor.js":
/*!************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/color-picker/utils/validateColor.js ***!
  \************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   validateColor: function() { return /* binding */ validateColor; }\n/* harmony export */ });\n// 输入框颜色类型校验\nfunction validateColor(color) {\n  var hexReg = /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/;\n  var hexaReg = /^#([0-9a-fA-F]{8})$/;\n  var hsbReg = /^hsb\\(\\s*(-?\\d+|-?\\d*\\.\\d+)(?:,\\s*(-?\\d+|-?\\d*\\.\\d+|-?\\d+%|-?\\d*\\.\\d+%)){2}\\s*\\)$/;\n  var hsbaReg = /^hsba\\(\\s*(-?\\d+|-?\\d*\\.\\d+)(?:,\\s*(-?\\d+|-?\\d*\\.\\d+|-?\\d+%|-?\\d*\\.\\d+%)){2}\\s*,\\s*(-?\\d+|-?\\d*\\.\\d+)\\)$/;\n  // const rgbaReg = /^rgba\\(\\s*(-?\\d+|-?\\d*\\.\\d+)(?:,\\s*(-?\\d+|-?\\d*\\.\\d+)){2},\\s*(-?\\d+|-?\\d*\\.\\d+)|(^\\d+%)\\s*\\)$/\n  var rgbaReg = /^rgba\\(\\s*(-?\\d+|-?\\d*\\.\\d+)(?:,\\s*(-?\\d+|-?\\d*\\.\\d+)){2},\\s*(-?\\d+|-?\\d*\\.\\d+)\\)$/;\n  var rgbReg = /^rgb\\(\\s*(-?\\d+|-?\\d*\\.\\d+)(?:,\\s*(-?\\d+|-?\\d*\\.\\d+)){2}\\)$/;\n  var hslReg = /^hsl\\(\\s*(-?\\d+|-?\\d*\\.\\d+)(?:,\\s*(-?\\d+|-?\\d*\\.\\d+|-?\\d+%|-?\\d*\\.\\d+%)){2}\\s*\\)$/;\n  var hslaReg = /^hsla\\(\\s*(-?\\d+|-?\\d*\\.\\d+)(?:,\\s*(-?\\d+|-?\\d*\\.\\d+|-?\\d+%|-?\\d*\\.\\d+%)){2}\\s*,\\s*(-?\\d+|-?\\d*\\.\\d+)\\)$/;\n  // const hslaReg = /^hsla\\(\\s*(-?\\d+|-?\\d*\\.\\d+)(?:,\\s*(-?\\d+|-?\\d*\\.\\d+)){2}\\s*,\\s*(-?\\d+|-?\\d*\\.\\d+)|(^\\d+%)\\s*\\)$/\n  var colorNameReg = /^(?:aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen)$/;\n  if (hexReg.test(color)) return 'HEX';\n  if (hexaReg.test(color)) return 'HEXA';\n  if (hsbReg.test(color)) return 'HSB';\n  if (hsbaReg.test(color)) return 'HSBA';\n  if (rgbaReg.test(color)) return 'RGBA';\n  if (rgbReg.test(color)) return 'RGB';\n  if (hslReg.test(color)) return 'HSL';\n  if (hslaReg.test(color)) return 'HSLA';\n  if (colorNameReg.test(color)) return 'colorName';\n  return '';\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/color-picker/utils/validateColor.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js":
/*!*********************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js ***!
  \*********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _defaultConfig__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./defaultConfig */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/defaultConfig.js\");\n/**\n * 提供外层注入属性的context\n */\n\n\nvar ConfigContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(_defaultConfig__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = (ConfigContext);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/config-provider/compDefaultProps.js":
/*!************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/config-provider/compDefaultProps.js ***!
  \************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n\n\n/**\n * 组件默认属性，所有组件的默认属性都在这里写，\n * 而不是在组件文件中以“componentName.defaultProps”的方式去写\n * componentName: defaultPropsObj\n * （用于处理用户自定义默认属性）\n */\nvar compDefaultProps = {\n  Alert: {\n    type: 'warning',\n    showIcon: false,\n    closable: false,\n    delayOffTime: 5000,\n    banner: false,\n    bannerOffset: [0, 0]\n  },\n  Breadcrumb: {\n    colorModel: 'emphasize',\n    separator: '/'\n  },\n  Button: {\n    type: 'second',\n    iconPlace: 'left',\n    size: 'middle',\n    bordered: true\n  },\n  ButtonGroup: {\n    buttonType: 'primary',\n    type: 'basic',\n    size: 'middle'\n  },\n  Card: {\n    hoverable: false,\n    selectable: false\n  },\n  Carousel: {\n    autoplay: false,\n    dotPosition: 'bottom',\n    dots: true,\n    easing: 'cubic-bezier(0.4,0,0.6,1)',\n    effect: 'scrollx',\n    intervalTime: 4000\n  },\n  Cascader: {\n    mode: 'single',\n    allowClear: true,\n    expandTrigger: 'click',\n    notFoundContent: 'No Data',\n    popupPlacement: 'bottomLeft',\n    dropdownRender: function dropdownRender(menus) {\n      return menus;\n    },\n    displayRender: function displayRender(labels) {\n      return labels.join('/');\n    },\n    fieldNames: {\n      label: 'label',\n      value: 'value',\n      children: 'children'\n    }\n  },\n  Col: {},\n  Collapse: {\n    accordion: false,\n    expandIconPosition: 'left',\n    bordered: false\n  },\n  CollapsePanel: {\n    disabled: false\n  },\n  ColorPicker: {\n    borderType: 'bordered',\n    defaultOpen: false,\n    functionalColorName: '#themeColor',\n    switchName: {\n      name: '跟随主题色',\n      internationalName: 'followFunctionalColor'\n    },\n    placeholder: '#',\n    showColorTransfer: true,\n    showPresetColor: true,\n    showColorPickerBox: {\n      showBox: false,\n      showHue: false,\n      showOpacity: false\n    }\n  },\n  Checkbox: {\n    defaultChecked: false,\n    checkboxType: 'default',\n    indeterminate: false,\n    disabled: false,\n    size: 'middle'\n  },\n  CheckboxGroup: {\n    checkboxType: 'default',\n    disabled: false\n  },\n  Dropdown: {\n    arrow: false,\n    placement: 'bottomLeft',\n    trigger: 'hover'\n  },\n  DropdownItem: {},\n  DropdownMenu: {},\n  DatePicker: {\n    allowClear: true,\n    autoFocus: false,\n    borderType: 'underline',\n    disabled: false,\n    inputReadOnly: false,\n    picker: 'date',\n    popupStyle: {},\n    size: 'middle',\n    showToday: false,\n    style: {},\n    showArrow: true,\n    defaultOpen: false,\n    showWeeksTitle: true,\n    yearItemNumber: 15,\n    hourStep: 1,\n    minuteStep: 1,\n    secondStep: 1\n  },\n  Divider: {\n    orientation: 'left',\n    orientationMargin: '74px',\n    type: 'horizontal',\n    borderStyle: 'solid'\n  },\n  Drawer: {\n    closable: true,\n    destroyOnClose: false,\n    forceRender: false,\n    getContainer: document.body,\n    keyboard: true,\n    mask: true,\n    maskClosable: true,\n    placement: 'right',\n    width: 320,\n    zIndex: 1050,\n    disableScroll: true\n  },\n  Empty: {},\n  Filter: {\n    fields: [],\n    schemes: [],\n    defaultTabKey: 'condition'\n  },\n  Form: {\n    layout: 'vertical',\n    labelAlign: 'left',\n    size: 'middle'\n  },\n  Icon: {\n    prefix: 'kdicon'\n  },\n  Input: {\n    type: 'text',\n    size: 'middle',\n    borderType: 'underline'\n  },\n  Select: {\n    size: 'middle',\n    borderType: 'underline',\n    mode: 'single',\n    defaultOpen: false,\n    showArrow: true,\n    placeholder: '请输入需要搜索的内容',\n    filterOption: true,\n    optionLabelProp: 'children',\n    optionFilterProp: 'label'\n  },\n  Image: {\n    preview: true,\n    scales: [25, 50, 75, 100, 125, 150, 200]\n  },\n  InputNumber: {\n    type: 'text',\n    size: 'middle',\n    borderType: 'underline',\n    minMark: '(',\n    maxMark: ']',\n    zeroShow: false,\n    showDecimalTailZero: false,\n    mask: '',\n    mustInScope: false,\n    mustInPrecisionScope: true,\n    numberMode: false\n  },\n  Layout: {},\n  Modal: {\n    type: 'normal',\n    keyboard: true,\n    mask: true,\n    maskClosable: true,\n    closable: true,\n    getContainer: document.body,\n    footerBtnOrder: 'normal',\n    width: 460,\n    height: 340,\n    focusTriggerAfterClose: true,\n    destroyOnClose: false,\n    draggable: true,\n    cancelButtonProps: {},\n    okButtonProps: {},\n    showline: true,\n    overroll: false,\n    resizable: false\n  },\n  Menu: {\n    mode: 'vertical',\n    inlineIndent: 50,\n    forceSubMenuRender: false,\n    triggerSubMenuAction: 'hover',\n    theme: 'dark',\n    collapsed: false\n  },\n  MenuItem: {\n    disabled: false\n  },\n  MenuSubMenu: {\n    disabled: false,\n    popupOffset: [0, 0]\n  },\n  Message: {\n    closable: false,\n    duration: 3000\n  },\n  Notice: {},\n  Notification: {},\n  Pagination: {\n    total: 0,\n    pageType: 'basic',\n    defaultCurrent: 1,\n    defaultPageSize: 10,\n    pageSizeOptions: [10, 20, 50, 100],\n    showTitle: true,\n    bordered: false,\n    hideOnSinglePage: false\n  },\n  Popconfirm: {\n    icon: false,\n    placement: 'top',\n    trigger: 'click',\n    okType: 'primary'\n  },\n  Progress: {\n    type: 'line',\n    // width: 88,\n    trailColor: '#E5E5E5',\n    percent: 0,\n    showInfo: true,\n    infoPosition: 'right',\n    trailWidth: 8,\n    strokeWidth: 4\n  },\n  Radio: {\n    defaultChecked: false,\n    disabled: false\n  },\n  RadioGroup: {},\n  Rate: {\n    allowHalf: true,\n    icon: function icon() {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_index__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n        type: \"star\"\n      });\n    },\n    count: 5,\n    defaultValue: 0,\n    disabled: false,\n    size: 'middle'\n  },\n  RangePicker: {\n    order: true,\n    allowClear: true,\n    autoFocus: false,\n    allowEmpty: [false, false],\n    borderType: 'underline',\n    disabled: false,\n    inputReadOnly: false,\n    picker: 'date',\n    separator: '~',\n    popupStyle: {},\n    size: 'middle',\n    showArrow: true,\n    defaultOpen: false,\n    showWeeksTitle: true,\n    hourStep: 1,\n    minuteStep: 1,\n    secondStep: 1\n  },\n  Row: {\n    align: 'top',\n    gutter: 12,\n    justify: 'start',\n    wrap: true\n  },\n  Switch: {\n    size: 'small',\n    defaultChecked: false,\n    disabled: false,\n    loading: false\n  },\n  Steps: {\n    direction: 'horizontal',\n    initial: 0,\n    labelPlacement: 'bottom'\n  },\n  Space: {\n    direction: 'horizontal',\n    size: 'small',\n    align: 'center'\n  },\n  SplitPanel: {\n    defaultSplit: 0.5,\n    mode: 'horizontal',\n    min: 0,\n    max: 0,\n    canFold: true\n  },\n  Spin: {\n    type: 'page',\n    spinning: true\n  },\n  TextArea: {\n    size: 'middle',\n    defaultValue: '',\n    autoSize: true,\n    canResize: false,\n    borderType: 'underline',\n    disabled: false,\n    count: true,\n    countPosition: 'outter',\n    maxLength: 255\n  },\n  Timeline: {\n    reverse: false,\n    mode: '',\n    labelWidth: 70,\n    lineHeight: 18\n  },\n  TimelineItem: {\n    color: 'blue',\n    pending: false,\n    position: ''\n  },\n  Tree: {\n    defaultExpandAll: false,\n    defaultExpandRoot: false,\n    checkable: false,\n    checkStrictly: false,\n    disabled: false,\n    draggable: false,\n    virtual: true,\n    switcherIcon: function switcherIcon() {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_index__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n        type: \"arrow-right-solid\"\n      });\n    },\n    estimatedItemSize: 32,\n    expandOnClickNode: true,\n    expandOnFilterNode: false\n  },\n  TreeNode: {},\n  ToolTip: {\n    placement: 'top',\n    trigger: 'hover',\n    arrow: true\n  },\n  Tabs: {\n    type: 'line',\n    size: 'middle'\n  },\n  TabPane: {},\n  Transfer: {\n    dataSource: [],\n    locale: {},\n    showSearch: false,\n    listStyle: {}\n  },\n  Tag: {\n    type: 'status',\n    closable: false,\n    clickable: false,\n    disabled: false,\n    size: 'middle'\n  },\n  Upload: {\n    multiple: false,\n    disabled: false,\n    directory: false,\n    method: 'post',\n    name: 'file',\n    type: 'select',\n    listType: 'text',\n    showUploadList: true,\n    withCredentials: false\n  },\n  ViewContainer: {},\n  Typography: {},\n  Search: {\n    size: 'middle',\n    borderType: 'underline',\n    type: 'basis',\n    disabled: false\n  },\n  Badge: {},\n  ImageCropper: {\n    containerWidth: 860,\n    containerHeight: 620,\n    dragMode: 'crop',\n    viewMode: 0,\n    aspectRatio: NaN,\n    okText: '确认裁剪',\n    autoCropArea: 0.5\n  },\n  Anchor: {\n    type: 'bookmarks',\n    affix: true,\n    trigger: 'hover',\n    placement: 'bottomRight'\n  },\n  Slider: {\n    default: 0,\n    disabled: false,\n    dots: false,\n    marks: [],\n    max: 100,\n    min: 0,\n    reverse: false,\n    step: 1,\n    tooltipPlacement: 'top',\n    vertical: false\n  },\n  Stepper: {\n    size: 'middle',\n    step: 1,\n    borderType: 'bordered',\n    minMark: '[',\n    maxMark: ']',\n    mustInScope: false,\n    zeroShow: true\n  },\n  BaseData: {\n    mode: 'single',\n    optionLabelProp: 'label',\n    searchField: 'all',\n    size: 10\n  },\n  Avatar: {\n    size: 'middle',\n    shape: 'circle',\n    gap: 4\n  },\n  Link: {\n    size: 'middle',\n    underscore: false\n  },\n  TreeSelect: {\n    size: 'middle',\n    borderType: 'underline',\n    mode: 'single',\n    defaultOpen: false,\n    showArrow: true,\n    placeholder: '请输入需要搜索的内容',\n    optionLabelProp: 'title',\n    treeNodeFilterProp: 'title',\n    treeExpandOnClickNode: true,\n    onlyExpandOnClickIcon: true,\n    showSearch: true,\n    switcherIcon: function switcherIcon() {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_index__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n        type: \"arrow-right-solid\"\n      });\n    },\n    expandOnClickNode: false,\n    listHeight: 184,\n    virtual: true\n  },\n  CityPicker: {\n    type: 'domestic',\n    loading: false,\n    size: 'small',\n    borderType: 'underline',\n    defaultOpen: false,\n    showArrow: true,\n    placeholder: '',\n    description: '城市',\n    showDescription: true,\n    optionHighlightProps: 'highlightText',\n    allowClear: true\n  },\n  Clipboard: {\n    action: 'copy',\n    disabled: false,\n    size: 'middle'\n  },\n  QRCode: {\n    value: 'https://www.kingdee.design/',\n    size: 86,\n    status: 'active',\n    type: 'canvas',\n    errorLevel: 'H',\n    color: '#000000'\n  },\n  Signature: {\n    penColor: 'black',\n    backgroundColor: 'white',\n    containerWidth: 610,\n    containerHeight: 500,\n    canFullScreen: true\n  }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (compDefaultProps);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/config-provider/compDefaultProps.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/config-provider/configProvider.js":
/*!**********************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/config-provider/configProvider.js ***!
  \**********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/assign */ \"../../node_modules/lodash/assign.js\");\n/* harmony import */ var lodash_assign__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_assign__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _ConfigContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _defaultConfig__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaultConfig */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/defaultConfig.js\");\n/* harmony import */ var _locale_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../locale/index */ \"../../node_modules/@kdcloudjs/kdesign/es/locale/index.js\");\n/* harmony import */ var _locale_index__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../locale/index */ \"../../node_modules/@kdcloudjs/kdesign/es/locale/locale.js\");\n/**\n * 对外暴露用于注入全局配置属性的Context.Provider\n */\n\n\n\n\n\nvar ConfigProvider = function ConfigProvider(props) {\n  // 处理当前语言\n  var value = props.value;\n  var localeConfig = value && value.localeConfig;\n  if (localeConfig) {\n    _locale_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].setLocalesData(localeConfig.locale, localeConfig.localeData);\n  }\n  var locale = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n    return {\n      getLangMsg: function getLangMsg(componentName, labelName, params) {\n        if (localeConfig && localeConfig.customGetLangMsg) {\n          return localeConfig.customGetLangMsg(componentName, labelName, params);\n        }\n        return (0,_locale_index__WEBPACK_IMPORTED_MODULE_3__.getLangMsg)(componentName, labelName, params);\n      },\n      getCompLangMsg: function getCompLangMsg(compLangMsgParams) {\n        return (0,_locale_index__WEBPACK_IMPORTED_MODULE_3__.getCompLangMsg)(compLangMsgParams, localeConfig === null || localeConfig === void 0 ? void 0 : localeConfig.customGetLangMsg);\n      },\n      locale: _locale_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].getLocal()\n    };\n  }, [localeConfig]);\n  // 处理组件默认属性\n  var providerValue = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n    return lodash_assign__WEBPACK_IMPORTED_MODULE_1___default()({}, _defaultConfig__WEBPACK_IMPORTED_MODULE_4__[\"default\"], value, {\n      locale: locale\n    });\n  }, [locale, value]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_ConfigContext__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Provider, {\n    value: providerValue\n  }, props.children);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (ConfigProvider);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/config-provider/configProvider.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/config-provider/defaultConfig.js":
/*!*********************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/config-provider/defaultConfig.js ***!
  \*********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../locale */ \"../../node_modules/@kdcloudjs/kdesign/es/locale/locale.js\");\n\n\nvar defaultConfig = {\n  getPrefixCls: function getPrefixCls(configPrefixCls, suffixCls, customizePrefixCls) {\n    var _context;\n    // 获取样式前缀方法\n    if (customizePrefixCls) return customizePrefixCls;\n    configPrefixCls = configPrefixCls || 'kd';\n    var t = suffixCls ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context = \"\".concat(configPrefixCls, \"-\")).call(_context, suffixCls) : configPrefixCls;\n    return t;\n  },\n  prefixCls: 'kd',\n  locale: {\n    getLangMsg: _locale__WEBPACK_IMPORTED_MODULE_1__.getLangMsg,\n    getCompLangMsg: _locale__WEBPACK_IMPORTED_MODULE_1__.getCompLangMsg\n  }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (defaultConfig);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/config-provider/defaultConfig.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/config-provider/index.js":
/*!*************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/config-provider/index.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ConfigContext: function() { return /* reexport safe */ _ConfigContext__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; },\n/* harmony export */   compDefaultProps: function() { return /* reexport safe */ _compDefaultProps__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; },\n/* harmony export */   defaultConfig: function() { return /* reexport safe */ _defaultConfig__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _configProvider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./configProvider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/configProvider.js\");\n/* harmony import */ var _compDefaultProps__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./compDefaultProps */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/compDefaultProps.js\");\n/* harmony import */ var _ConfigContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _defaultConfig__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./defaultConfig */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/defaultConfig.js\");\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_configProvider__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/config-provider/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/calendar.js":
/*!************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/calendar.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _panel_week_week__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./panel/week/week */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/week/week.js\");\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./context */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/context.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/date-fns */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/date-fns.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils/date-fns */ \"../../node_modules/date-fns/esm/addWeeks/index.js\");\n\n\n\n\n\n\n\nvar DATE_ROW_COUNT = 6;\nfunction Calendar(props) {\n  var context = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_context__WEBPACK_IMPORTED_MODULE_4__[\"default\"]);\n  var prefixCls = context.prefixCls,\n    viewDate = context.viewDate,\n    locale = context.locale;\n  var picker = props.picker,\n    showWeekNumber = props.showWeekNumber,\n    showWeeksTitle = props.showWeeksTitle,\n    showTime = props.showTime,\n    disabledDate = props.disabledDate;\n  var renderWeeksTitle = function renderWeeksTitle() {\n    var _context;\n    var dayNames = [];\n    var weekTitleCls = classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(prefixCls, \"-weektitle\"));\n    var weekTitleItemCls = classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(prefixCls, \"-weektitle-item\"));\n    if (showWeekNumber) {\n      var weekTitleNumberItemCls = classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(prefixCls, \"-weektitle-weeknumber\"));\n      dayNames.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n        key: \"W\",\n        className: weekTitleNumberItemCls\n      }));\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n      className: weekTitleCls\n    }, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(dayNames).call(dayNames, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1___default()(_context = [0, 1, 2, 3, 4, 5, 6]).call(_context, function (offset) {\n      var weekDayName = locale.weekTitle[offset];\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n        key: offset,\n        className: weekTitleItemCls\n      }, weekDayName);\n    })));\n  };\n  var renderWeeks = function renderWeeks() {\n    var currentWeekStart = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_5__.getStartOfWeek)((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_5__.getStartOfMonth)(viewDate));\n    var weeks = [];\n    var i = 0;\n    while (true) {\n      weeks.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_panel_week_week__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n        key: i,\n        day: currentWeekStart,\n        picker: picker,\n        showWeekNumber: showWeekNumber,\n        showTime: !!showTime,\n        disabledDate: disabledDate\n      }));\n      i++;\n      currentWeekStart = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(currentWeekStart, 1);\n      // 最少保证面板包含有六周，保证左右面板及切换面板时周数一致\n      if (i >= DATE_ROW_COUNT) {\n        break;\n      }\n      // const isNonFixedAndOutOfMonth = !isWeekInMonth(currentWeekStart)\n      // if (panelPosition) {\n      //   // range 模式时，最少保证面板包含有六周，保证左右面板周数一致\n      //   if (i >= DATE_ROW_COUNT) {\n      //     break\n      //   }\n      // } else {\n      //   if (isNonFixedAndOutOfMonth) {\n      //     break\n      //   }\n      // }\n    }\n\n    return weeks;\n  };\n  var calendarCls = classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(prefixCls, \"-calendar\"));\n  var calendarWarpperCls = classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(prefixCls, \"-calendar-warpper\"));\n  // let _showWeeksTitle\n  // if (picker === 'date' || picker === 'week') {\n  //   _showWeeksTitle = showWeeksTitle\n  // }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: calendarCls\n  }, showWeeksTitle ? renderWeeksTitle() : null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: calendarWarpperCls\n  }, renderWeeks()));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (Calendar);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/calendar.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/context.js":
/*!***********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/context.js ***!
  \***********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\nvar Context = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext({});\n/* harmony default export */ __webpack_exports__[\"default\"] = (Context);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/context.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/date-panel.js":
/*!**************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/date-panel.js ***!
  \**************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _panel_month_month__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./panel/month/month */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/month/month.js\");\n/* harmony import */ var _panel_year_year__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./panel/year/year */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/year/year.js\");\n/* harmony import */ var _panel_quarter_quarter__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./panel/quarter/quarter */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/quarter/quarter.js\");\n/* harmony import */ var _calendar__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./calendar */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/calendar.js\");\n/* harmony import */ var _panel_time_time__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./panel/time/time */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/time/time.js\");\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./context */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/context.js\");\n/* harmony import */ var _panel_header_header__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./panel/header/header */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/header/header.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils/date-fns */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/date-fns.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./utils/date-fns */ \"../../node_modules/date-fns/esm/getYear/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./utils/date-fns */ \"../../node_modules/date-fns/esm/getMonth/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./utils/date-fns */ \"../../node_modules/date-fns/esm/addYears/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./utils/date-fns */ \"../../node_modules/date-fns/esm/addMonths/index.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./utils */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/index.js\");\n/* harmony import */ var lodash_isBoolean__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash/isBoolean */ \"../../node_modules/lodash/isBoolean.js\");\n/* harmony import */ var lodash_isBoolean__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash_isBoolean__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _panel_date_time_date_time__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./panel/date-time/date-time */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/date-time/date-time.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction Panel(props) {\n  var context = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_context__WEBPACK_IMPORTED_MODULE_5__[\"default\"]);\n  var prefixCls = context.prefixCls,\n    viewDate = context.viewDate,\n    setViewDate = context.setViewDate,\n    panelPosition = context.panelPosition,\n    locale = context.locale,\n    innerPicker = context.innerPicker,\n    setInnerPicker = context.setInnerPicker;\n  var isInnerPicker = innerPicker !== undefined;\n  var isInnerYear = innerPicker === 'year';\n  var isInnerMonth = innerPicker === 'month';\n  var isPositionLeft = panelPosition === 'left';\n  var isPositionRight = panelPosition === 'right';\n  var isPositionUnset = typeof panelPosition === 'undefined';\n  var _props$picker = props.picker,\n    picker = _props$picker === void 0 ? 'date' : _props$picker,\n    format = props.format,\n    showTime = props.showTime,\n    mergedActivePickerIndex = props.mergedActivePickerIndex,\n    useWeekdaysShort = props.useWeekdaysShort,\n    showWeekNumber = props.showWeekNumber,\n    showWeeksTitle = props.showWeeksTitle,\n    disabledDate = props.disabledDate;\n  var getHeader = function getHeader() {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_panel_header_header__WEBPACK_IMPORTED_MODULE_6__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, headerProps, {\n      className: headerObj.className\n    }), headerObj.children);\n  };\n  var renderYearPanel = function renderYearPanel() {\n    var _props$yearItemNumber = props.yearItemNumber,\n      yearItemNumber = _props$yearItemNumber === void 0 ? _utils_date_fns__WEBPACK_IMPORTED_MODULE_7__.DEFAULT_YEAR_ITEM_NUMBER : _props$yearItemNumber;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_panel_year_year__WEBPACK_IMPORTED_MODULE_8__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, props, {\n      yearItemNumber: yearItemNumber\n    }));\n  };\n  var renderMonthPanel = function renderMonthPanel() {\n    if (isInnerYear) {\n      return renderYearPanel();\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_panel_month_month__WEBPACK_IMPORTED_MODULE_9__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, props));\n  };\n  var renderQuarterPanel = function renderQuarterPanel() {\n    if (isInnerYear) {\n      return renderYearPanel();\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_panel_quarter_quarter__WEBPACK_IMPORTED_MODULE_10__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, props));\n  };\n  var renderDatePanel = function renderDatePanel() {\n    if (isInnerPicker) {\n      if (isInnerYear) {\n        return renderYearPanel();\n      } else {\n        return renderMonthPanel();\n      }\n    }\n    if (!showTime) {\n      var dateProps = {\n        picker: picker,\n        useWeekdaysShort: useWeekdaysShort,\n        showWeekNumber: showWeekNumber,\n        showWeeksTitle: showWeeksTitle,\n        disabledDate: disabledDate\n      };\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_calendar__WEBPACK_IMPORTED_MODULE_11__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, dateProps, {\n        picker: picker\n      }));\n    } else {\n      var _props = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, props), showTime && !lodash_isBoolean__WEBPACK_IMPORTED_MODULE_4___default()(showTime) ? (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getTimeProps)((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n        format: format\n      }, showTime), {\n        picker: picker\n      })) : {}), picker === 'time' ? (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getTimeProps)((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n        format: format\n      }, props), {\n        picker: picker\n      })) : {});\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_panel_date_time_date_time__WEBPACK_IMPORTED_MODULE_13__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, _props, {\n        picker: picker,\n        dateHeader: getHeader()\n      }));\n    }\n  };\n  var renderTimePanel = function renderTimePanel() {\n    var _props = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, props), {\n      format: undefined\n    }), showTime && !lodash_isBoolean__WEBPACK_IMPORTED_MODULE_4___default()(showTime) ? (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getTimeProps)((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n      format: format\n    }, showTime), {\n      picker: picker\n    })) : {}), picker === 'time' ? (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getTimeProps)((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n      format: format\n    }, props), {\n      picker: picker\n    })) : {});\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_panel_time_time__WEBPACK_IMPORTED_MODULE_14__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, _props));\n  };\n  var renderYearHeader = function renderYearHeader() {\n    var _props$yearItemNumber2 = props.yearItemNumber,\n      yearItemNumber = _props$yearItemNumber2 === void 0 ? _utils_date_fns__WEBPACK_IMPORTED_MODULE_7__.DEFAULT_YEAR_ITEM_NUMBER : _props$yearItemNumber2;\n    var _getYearsPeriod = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__.getYearsPeriod)(viewDate, yearItemNumber),\n      startPeriod = _getYearsPeriod.startPeriod,\n      endPeriod = _getYearsPeriod.endPeriod;\n    var headerCls = classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(prefixCls, \"-header\"), \"\".concat(prefixCls, \"-header-year\"));\n    return {\n      children: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement((react__WEBPACK_IMPORTED_MODULE_2___default().Fragment), null, startPeriod, \" - \", endPeriod),\n      className: headerCls\n    };\n  };\n  var onHeaderYearClick = function onHeaderYearClick() {\n    setInnerPicker('year');\n  };\n  var onHeaderMonthClick = function onHeaderMonthClick() {\n    setInnerPicker('month');\n  };\n  var renderMonthHeader = function renderMonthHeader() {\n    var year = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_15__[\"default\"])(viewDate);\n    var headerCls = classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(prefixCls, \"-header\"), \"\".concat(prefixCls, \"-header-month\"), \"\".concat(prefixCls, \"-header-text-inner-hover\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(prefixCls, \"-header-text-inner-active\"), isInnerYear));\n    return {\n      children: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"span\", {\n        onClick: onHeaderYearClick\n      }, year + locale.year),\n      className: headerCls\n    };\n  };\n  var renderDateHeader = function renderDateHeader() {\n    var year = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_15__[\"default\"])(viewDate);\n    var month = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_16__[\"default\"])(viewDate);\n    var headerCls = classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(prefixCls, \"-header\"), \"\".concat(prefixCls, \"-header-date\"));\n    return {\n      children: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement((react__WEBPACK_IMPORTED_MODULE_2___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"span\", {\n        className: classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(prefixCls, \"-header-text-inner\"), \"\".concat(prefixCls, \"-header-text-inner-hover\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(prefixCls, \"-header-text-inner-active\"), isInnerYear)),\n        onClick: onHeaderYearClick\n      }, year + locale.year), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"span\", {\n        className: classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(prefixCls, \"-header-text-inner\"), \"\".concat(prefixCls, \"-header-text-inner-hover\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(prefixCls, \"-header-text-inner-active\"), isInnerMonth)),\n        onClick: onHeaderMonthClick\n      }, locale.monthTitle[month])),\n      className: headerCls\n    };\n  };\n  var onSuperPrev = function onSuperPrev() {\n    var date;\n    if (picker === 'year' || isInnerYear) {\n      var _props$yearItemNumber3 = props.yearItemNumber,\n        yearItemNumber = _props$yearItemNumber3 === void 0 ? _utils_date_fns__WEBPACK_IMPORTED_MODULE_7__.DEFAULT_YEAR_ITEM_NUMBER : _props$yearItemNumber3;\n      date = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(viewDate, 0 - yearItemNumber);\n    } else {\n      date = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(viewDate, -1);\n    }\n    setViewDate(date, mergedActivePickerIndex);\n  };\n  var onSuperNext = function onSuperNext() {\n    var date;\n    if (picker === 'year' || isInnerYear) {\n      var _props$yearItemNumber4 = props.yearItemNumber,\n        yearItemNumber = _props$yearItemNumber4 === void 0 ? _utils_date_fns__WEBPACK_IMPORTED_MODULE_7__.DEFAULT_YEAR_ITEM_NUMBER : _props$yearItemNumber4;\n      var _viewDate = viewDate;\n      if (panelPosition) {\n        _viewDate = (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getClosingViewDate)(viewDate, picker, -1, yearItemNumber);\n      }\n      date = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(_viewDate, yearItemNumber);\n    } else {\n      var _viewDate2 = viewDate;\n      if (panelPosition) {\n        _viewDate2 = (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getClosingViewDate)(viewDate, picker, -1);\n      }\n      date = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(_viewDate2, 1);\n    }\n    setViewDate(date, mergedActivePickerIndex);\n  };\n  var onPrev = function onPrev() {\n    var date = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_18__[\"default\"])(viewDate, -1);\n    setViewDate(date, mergedActivePickerIndex);\n  };\n  var onNext = function onNext() {\n    var date = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_18__[\"default\"])(viewDate, 1);\n    setViewDate(date, mergedActivePickerIndex);\n  };\n  var panel;\n  var headerProps = {};\n  var headerObj;\n  switch (picker) {\n    case 'year':\n      {\n        panel = renderYearPanel();\n        headerObj = renderYearHeader();\n        headerProps = {\n          onSuperPrev: isPositionRight ? undefined : onSuperPrev,\n          onSuperNext: isPositionLeft ? undefined : onSuperNext\n        };\n        break;\n      }\n    case 'month':\n      {\n        panel = renderMonthPanel();\n        headerObj = renderMonthHeader();\n        headerProps = {\n          onSuperPrev: !isPositionRight || innerPicker ? onSuperPrev : undefined,\n          onSuperNext: !isPositionLeft || innerPicker ? onSuperNext : undefined\n        };\n        break;\n      }\n    case 'quarter':\n      {\n        panel = renderQuarterPanel();\n        headerObj = renderMonthHeader();\n        headerProps = {\n          onSuperPrev: !isPositionRight || innerPicker ? onSuperPrev : undefined,\n          onSuperNext: !isPositionLeft || innerPicker ? onSuperNext : undefined\n        };\n        break;\n      }\n    // 时间面板，4个箭头的显隐，在时间范围时需要判断是否在快捷选择面板下\n    case 'date':\n      {\n        headerObj = renderDateHeader();\n        headerProps = {\n          onPrev: isPositionLeft && !isInnerPicker || isInnerMonth || isPositionUnset ? onPrev : undefined,\n          onNext: isPositionRight && !isInnerPicker || isInnerMonth || isPositionUnset ? onNext : undefined,\n          onSuperPrev: isPositionLeft && !isInnerPicker || isInnerYear || isPositionUnset ? onSuperPrev : undefined,\n          onSuperNext: isPositionRight && !isInnerPicker || isInnerYear || isPositionUnset ? onSuperNext : undefined\n        };\n        panel = renderDatePanel();\n        break;\n      }\n    case 'week':\n      {\n        panel = renderDatePanel();\n        headerObj = renderDateHeader();\n        headerProps = {\n          onPrev: isPositionLeft && !isInnerPicker || isInnerMonth || isPositionUnset ? onPrev : undefined,\n          onNext: isPositionRight && !isInnerPicker || isInnerMonth || isPositionUnset ? onNext : undefined,\n          onSuperPrev: isPositionLeft && !isInnerPicker || isInnerYear || isPositionUnset ? onSuperPrev : undefined,\n          onSuperNext: isPositionRight && !isInnerPicker || isInnerYear || isPositionUnset ? onSuperNext : undefined\n        };\n        break;\n      }\n    case 'time':\n      {\n        panel = renderTimePanel();\n        break;\n      }\n    default:\n      {\n        break;\n      }\n  }\n  var showHeader = !(picker === 'date' && showTime || picker === 'time') || innerPicker !== undefined;\n  var containerCls = classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(prefixCls, \"-warpper\"));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: containerCls\n  }, showHeader ? getHeader() : null, panel);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (Panel);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/date-panel.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/date-picker.js":
/*!***************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/date-picker.js ***!
  \***************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   mergeDateLocale: function() { return /* binding */ mergeDateLocale; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/from */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils/hooks */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./context */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/context.js\");\n/* harmony import */ var _date_panel__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./date-panel */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/date-panel.js\");\n/* harmony import */ var _single_input_date__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./single/input-date */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/single/input-date.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./utils */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/index.js\");\n/* harmony import */ var _hooks_use_value_texts__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./hooks/use-value-texts */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-value-texts.js\");\n/* harmony import */ var _hooks_use_hover_value__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./hooks/use-hover-value */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-hover-value.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/date-fns */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/date-fns.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./utils/date-fns */ \"../../node_modules/date-fns/esm/getHours/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./utils/date-fns */ \"../../node_modules/date-fns/esm/getMinutes/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./utils/date-fns */ \"../../node_modules/date-fns/esm/getSeconds/index.js\");\n/* harmony import */ var _hooks_use_text_value_mapping__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./hooks/use-text-value-mapping */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-text-value-mapping.js\");\n/* harmony import */ var _utils_get_extra_footer__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./utils/get-extra-footer */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/get-extra-footer.js\");\n/* harmony import */ var _utils_get_ranges__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./utils/get-ranges */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/get-ranges.js\");\n/* harmony import */ var _utils_usePopper__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../_utils/usePopper */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/usePopper.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar MONTH_DEFAULT_SUFFIX = '月';\nvar mergeDateLocale = function mergeDateLocale(globalLocale) {\n  var locale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  var mergeLocale = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, globalLocale, locale);\n  mergeLocale.weekTitle = _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_2___default()({\n    length: 7\n  }, function (_, index) {\n    return mergeLocale.weekTitle[index] || globalLocale.weekTitle[index];\n  });\n  mergeLocale.monthTitle = _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_2___default()({\n    length: 12\n  }, function (_, index) {\n    return mergeLocale.monthTitle[index] || globalLocale.monthTitle[index];\n  });\n  if ((mergeLocale === null || mergeLocale === void 0 ? void 0 : mergeLocale.month) && mergeLocale.month !== MONTH_DEFAULT_SUFFIX) {\n    var _context;\n    mergeLocale.monthTitle = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default()(_context = mergeLocale.monthTitle).call(_context, function (d) {\n      return d.toString().replace(MONTH_DEFAULT_SUFFIX, mergeLocale.month);\n    });\n  }\n  return mergeLocale;\n};\nvar InternalDatePicker = function InternalDatePicker(props, ref) {\n  var customPrefixcls = props.prefixCls;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_5__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps,\n    globalLocale = _useContext.locale;\n  var datePickerProps = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCompProps)('DatePicker', userDefaultProps, props);\n  var datePickerPrefixCls = getPrefixCls(prefixCls, 'date-picker', customPrefixcls);\n  var id = datePickerProps.id,\n    style = datePickerProps.style,\n    className = datePickerProps.className,\n    dropdownClassName = datePickerProps.dropdownClassName,\n    popupStyle = datePickerProps.popupStyle,\n    popupRef = datePickerProps.popupRef,\n    locale = datePickerProps.locale,\n    inputReadOnly = datePickerProps.inputReadOnly,\n    allowClear = datePickerProps.allowClear,\n    autoFocus = datePickerProps.autoFocus,\n    _datePickerProps$pick = datePickerProps.picker,\n    picker = _datePickerProps$pick === void 0 ? 'date' : _datePickerProps$pick,\n    mode = datePickerProps.mode,\n    format = datePickerProps.format,\n    value = datePickerProps.value,\n    defaultValue = datePickerProps.defaultValue,\n    defaultPickerValue = datePickerProps.defaultPickerValue,\n    open = datePickerProps.open,\n    defaultOpen = datePickerProps.defaultOpen,\n    suffixIcon = datePickerProps.suffixIcon,\n    clearIcon = datePickerProps.clearIcon,\n    disabled = datePickerProps.disabled,\n    placeholder = datePickerProps.placeholder,\n    borderType = datePickerProps.borderType,\n    size = datePickerProps.size,\n    showToday = datePickerProps.showToday,\n    showTime = datePickerProps.showTime,\n    showNow = datePickerProps.showNow,\n    use12Hours = datePickerProps.use12Hours,\n    components = datePickerProps.components,\n    _datePickerProps$hour = datePickerProps.hourStep,\n    hourStep = _datePickerProps$hour === void 0 ? 1 : _datePickerProps$hour,\n    _datePickerProps$minu = datePickerProps.minuteStep,\n    minuteStep = _datePickerProps$minu === void 0 ? 1 : _datePickerProps$minu,\n    _datePickerProps$seco = datePickerProps.secondStep,\n    secondStep = _datePickerProps$seco === void 0 ? 1 : _datePickerProps$seco,\n    disabledDate = datePickerProps.disabledDate,\n    disabledHours = datePickerProps.disabledHours,\n    disabledMinutes = datePickerProps.disabledMinutes,\n    disabledSeconds = datePickerProps.disabledSeconds,\n    getPopupContainer = datePickerProps.getPopupContainer,\n    panelRender = datePickerProps.panelRender,\n    renderExtraFooter = datePickerProps.renderExtraFooter,\n    onChange = datePickerProps.onChange,\n    onSelect = datePickerProps.onSelect,\n    onOpenChange = datePickerProps.onOpenChange,\n    onFocus = datePickerProps.onFocus,\n    onBlur = datePickerProps.onBlur,\n    onMouseDown = datePickerProps.onMouseDown,\n    onMouseUp = datePickerProps.onMouseUp,\n    onMouseEnter = datePickerProps.onMouseEnter,\n    onMouseLeave = datePickerProps.onMouseLeave,\n    onContextMenu = datePickerProps.onContextMenu,\n    onClick = datePickerProps.onClick,\n    _onOk = datePickerProps.onOk,\n    status = datePickerProps.status,\n    cellRender = datePickerProps.cellRender;\n  var inputDivRefDefault = react__WEBPACK_IMPORTED_MODULE_5___default().useRef(null);\n  var inputDivRef = ref || inputDivRefDefault;\n  var popperRefDefault = react__WEBPACK_IMPORTED_MODULE_5___default().useRef(null);\n  var popperRef = popupRef || popperRefDefault;\n  var inputRef = react__WEBPACK_IMPORTED_MODULE_5___default().useRef(null);\n  var isHourStepValid = 24 % hourStep === 0;\n  var isMinuteStepValid = 60 % minuteStep === 0;\n  var isSecondStepValid = 60 % secondStep === 0;\n  var needConfirmButton = picker === 'date' && !!showTime || picker === 'time';\n  var datePickerLang = mergeDateLocale(globalLocale.getCompLangMsg({\n    componentName: 'DatePicker'\n  }), locale || {});\n  var _useMergedState = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_9__.useMergedState)(null, {\n      value: value,\n      defaultValue: defaultValue\n    }),\n    _useMergedState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useMergedState, 2),\n    dateValue = _useMergedState2[0],\n    setDateValue = _useMergedState2[1];\n  var _useMergedState3 = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_9__.useMergedState)(null, {\n      value: dateValue,\n      postState: function postState(v) {\n        return v && !(0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_10__.isValid)(v) ? null : v;\n      }\n    }),\n    _useMergedState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useMergedState3, 2),\n    selectedValue = _useMergedState4[0],\n    setSelectedValue = _useMergedState4[1];\n  var hours;\n  var minutes;\n  var seconds;\n  var originHour;\n  var minute;\n  var second;\n  var disabledTimePanel = false;\n  if (picker === 'time' || picker === 'date' && showTime) {\n    originHour = selectedValue ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(selectedValue) : -1;\n    minute = selectedValue ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(selectedValue) : -1;\n    second = selectedValue ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(selectedValue) : -1;\n    hours = (0,_utils__WEBPACK_IMPORTED_MODULE_14__.generateUnits)(0, 23, hourStep, disabledHours && disabledHours());\n    minutes = (0,_utils__WEBPACK_IMPORTED_MODULE_14__.generateUnits)(0, 59, minuteStep, disabledMinutes && disabledMinutes(originHour));\n    seconds = (0,_utils__WEBPACK_IMPORTED_MODULE_14__.generateUnits)(0, 59, secondStep, disabledSeconds && disabledSeconds(originHour, minute));\n    if (hours && !_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default()(hours).call(hours, function (n) {\n      return !n.disabled;\n    }) || minutes && !_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default()(minutes).call(minutes, function (n) {\n      return !n.disabled;\n    }) || seconds && !_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default()(seconds).call(seconds, function (n) {\n      return !n.disabled;\n    })) {\n      disabledTimePanel = true;\n    }\n  }\n  var _format = (0,_utils__WEBPACK_IMPORTED_MODULE_14__.getDefaultFormat)(format, picker, showTime && !disabledTimePanel, use12Hours);\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(defaultPickerValue || dateValue || new Date()),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    viewDate = _useState2[0],\n    setInnerViewDate = _useState2[1];\n  var setViewDate = function setViewDate(date) {\n    setInnerViewDate((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_10__.isValid)(date) ? date : new Date());\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    setViewDate(dateValue);\n  }, [dateValue]);\n  var valueText = (0,_hooks_use_value_texts__WEBPACK_IMPORTED_MODULE_15__[\"default\"])(selectedValue, {\n    format: _format\n  });\n  var _useTextValueMapping = (0,_hooks_use_text_value_mapping__WEBPACK_IMPORTED_MODULE_16__[\"default\"])({\n      valueText: valueText,\n      onTextChange: function onTextChange(newText) {\n        if (newText === '') {\n          triggerChange(null);\n          setViewDate(null);\n        } else if (newText && newText.length >= _format.length) {\n          var inputTempDate = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_10__.parseDate)(newText, _format);\n          if (inputTempDate && (!disabledDate || !disabledDate(inputTempDate))) {\n            if (picker !== 'year') {\n              triggerChange(inputTempDate);\n              setViewDate(inputTempDate);\n            } else if ((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_10__.isValid)(inputTempDate)) {\n              triggerChange(inputTempDate);\n              setViewDate(inputTempDate);\n            }\n          }\n        }\n      }\n    }),\n    _useTextValueMapping2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useTextValueMapping, 3),\n    text = _useTextValueMapping2[0],\n    triggerTextChange = _useTextValueMapping2[1],\n    resetText = _useTextValueMapping2[2];\n  var _useHoverValue = (0,_hooks_use_hover_value__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(text, {\n      format: _format\n    }),\n    _useHoverValue2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useHoverValue, 3),\n    hoverValue = _useHoverValue2[0],\n    onEnter = _useHoverValue2[1],\n    onLeave = _useHoverValue2[2];\n  var _useMergedState5 = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_9__.useMergedState)(false, {\n      value: open,\n      defaultValue: defaultOpen,\n      postState: function postState(postOpen) {\n        return disabled ? false : postOpen;\n      },\n      onChange: function onChange(newOpen) {\n        if (onOpenChange) {\n          onOpenChange(newOpen);\n        }\n        // if (!newOpen && operationRef.current && operationRef.current.onClose) {\n        //   operationRef.current.onClose()\n        // }\n      }\n    }),\n    _useMergedState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useMergedState5, 2),\n    openValue = _useMergedState6[0],\n    triggerInnerOpen = _useMergedState6[1];\n  var _useMergedState7 = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_9__.useMergedState)(function () {\n      if (picker === 'time') {\n        return 'time';\n      }\n      return (0,_utils__WEBPACK_IMPORTED_MODULE_14__.getInternalNextMode)('date', picker);\n    }, {\n      value: mode\n    }),\n    _useMergedState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useMergedState7, 2),\n    mergedMode = _useMergedState8[0],\n    setInnerMode = _useMergedState8[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(undefined),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState3, 2),\n    innerPicker = _useState4[0],\n    setInnerPicker = _useState4[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    setInnerMode(picker);\n  }, [picker]);\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    if (!openValue) {\n      setSelectedValue(dateValue);\n      if (valueText !== text) {\n        resetText();\n      }\n      if (hoverValue) {\n        onLeave();\n      }\n    } else {\n      setInnerPicker(undefined);\n    }\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n  }, [openValue, valueText]);\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    if (!openValue) {\n      resetText();\n    }\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n  }, [picker]);\n  (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_9__.useOnClickOutside)([popperRef, inputDivRef], function () {\n    setViewDate(selectedValue || (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_10__.newDate)());\n    triggerOpen(false);\n  });\n  var triggerChange = function triggerChange(newValue) {\n    if (onSelect) {\n      onSelect(newValue);\n    }\n    if (onChange && !(0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_10__.isEqual)(dateValue, newValue)) {\n      onChange(newValue, newValue ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_10__.formatDate)(newValue, _format) : '');\n    }\n    setSelectedValue(newValue);\n    setDateValue(newValue);\n  };\n  var triggerOpen = function triggerOpen(newOpen) {\n    if (disabled && newOpen) {\n      return;\n    }\n    triggerInnerOpen(newOpen);\n  };\n  var onContextSelect = function onContextSelect(date, type) {\n    if (type === 'inner') {\n      setViewDate(date);\n    } else {\n      if (type === 'submit' || type !== 'key' && !needConfirmButton) {\n        setViewDate(date);\n        triggerChange(date);\n        triggerOpen(false);\n      } else {\n        setViewDate(date);\n        triggerChange(date);\n      }\n    }\n  };\n  var onNow = function onNow() {\n    var now = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_10__.newDate)();\n    var lowerBoundTime = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_10__.getLowerBoundTime)((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(now), (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(now), (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(now), isHourStepValid ? hourStep : 1, isMinuteStepValid ? minuteStep : 1, isSecondStepValid ? secondStep : 1);\n    var adjustedNow = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_10__.setTime)(now, {\n      hour: lowerBoundTime[0],\n      minute: lowerBoundTime[1],\n      second: lowerBoundTime[2]\n    });\n    if (disabledDate && disabledDate(adjustedNow) || disabledTimePanel) {\n      return;\n    }\n    onContextSelect(adjustedNow, 'submit');\n  };\n  var extraFooter = (0,_utils_get_extra_footer__WEBPACK_IMPORTED_MODULE_18__[\"default\"])(datePickerPrefixCls, mergedMode, renderExtraFooter);\n  var rangesNode = (0,_utils_get_ranges__WEBPACK_IMPORTED_MODULE_19__[\"default\"])({\n    prefixCls: datePickerPrefixCls,\n    components: components,\n    needConfirmButton: needConfirmButton,\n    okDisabled: !selectedValue || disabledDate && disabledDate(selectedValue),\n    locale: datePickerLang,\n    showNow: showNow,\n    onNow: needConfirmButton && onNow,\n    onOk: function onOk() {\n      if (selectedValue) {\n        onContextSelect(selectedValue, 'submit');\n        if (_onOk) {\n          _onOk(selectedValue);\n        }\n      }\n    }\n  });\n  var todayNode;\n  if (showToday && mergedMode === 'date' && picker === 'date' && !showTime) {\n    var now = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_10__.newDate)();\n    var todayCls = \"\".concat(datePickerPrefixCls, \"-today-btn\");\n    var _disabled = disabledDate && disabledDate(now);\n    todayNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(todayCls, _disabled && \"\".concat(datePickerPrefixCls, \"-btn-disabled\")),\n      \"aria-disabled\": _disabled,\n      onClick: function onClick() {\n        if (!_disabled) {\n          onContextSelect(now, 'mouse');\n        }\n      }\n    }, datePickerLang.today);\n  }\n  var panelProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, datePickerProps), {\n    format: _format,\n    onChange: setSelectedValue\n  });\n  var renderPanel = function renderPanel() {\n    var panelNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_date_panel__WEBPACK_IMPORTED_MODULE_20__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, panelProps));\n    if (panelRender) {\n      panelNode = panelRender(panelNode);\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_context__WEBPACK_IMPORTED_MODULE_21__[\"default\"].Provider, {\n      value: {\n        hours: hours,\n        minutes: minutes,\n        seconds: seconds,\n        originHour: originHour,\n        minute: minute,\n        second: second,\n        disabledTimePanel: disabledTimePanel,\n        prefixCls: datePickerPrefixCls,\n        dateValue: selectedValue,\n        viewDate: viewDate,\n        open: openValue,\n        locale: datePickerLang,\n        onSelect: onContextSelect,\n        setViewDate: setViewDate,\n        onDateMouseEnter: onEnter,\n        onDateMouseLeave: onLeave,\n        innerPicker: innerPicker,\n        setInnerPicker: setInnerPicker,\n        cellRender: cellRender\n      }\n    }, panelNode, (extraFooter || rangesNode || todayNode) && innerPicker === undefined ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n      className: \"\".concat(datePickerPrefixCls, \"-footer\")\n    }, extraFooter, rangesNode, todayNode) : null);\n  };\n  var inputProps = {\n    inputRef: inputRef,\n    panelDivRef: popperRef,\n    id: id,\n    autoFocus: autoFocus,\n    allowClear: allowClear,\n    className: className,\n    borderType: borderType,\n    disabled: disabled,\n    hoverValue: hoverValue,\n    picker: picker,\n    placeholder: placeholder,\n    style: style,\n    size: size,\n    text: text,\n    needConfirmButton: needConfirmButton,\n    suffixIcon: suffixIcon,\n    clearIcon: clearIcon,\n    dateValue: dateValue,\n    selectedValue: selectedValue,\n    format: _format,\n    open: openValue,\n    readOnly: inputReadOnly,\n    prefixCls: datePickerPrefixCls,\n    locale: datePickerLang,\n    dataOrAriaProps: (0,_utils__WEBPACK_IMPORTED_MODULE_14__.getDataOrAriaProps)(datePickerProps),\n    disabledDate: disabledDate,\n    onFocus: onFocus,\n    onBlur: onBlur,\n    onMouseDown: onMouseDown,\n    onMouseUp: onMouseUp,\n    onMouseEnter: onMouseEnter,\n    onMouseLeave: onMouseLeave,\n    onContextMenu: onContextMenu,\n    onClick: onClick,\n    setSelectedValue: setSelectedValue,\n    triggerTextChange: triggerTextChange,\n    triggerOpen: triggerOpen,\n    triggerChange: triggerChange,\n    resetText: resetText,\n    status: status\n  };\n  return (0,_utils_usePopper__WEBPACK_IMPORTED_MODULE_22__[\"default\"])( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_single_input_date__WEBPACK_IMPORTED_MODULE_23__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n    ref: inputDivRef\n  }, inputProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n    ref: popperRef,\n    onMouseDown: function onMouseDown(e) {\n      e.preventDefault();\n    }\n  }, renderPanel()), {\n    trigger: 'click',\n    prefixCls: \"\".concat(datePickerPrefixCls, \"-panel\"),\n    arrow: false,\n    popperClassName: dropdownClassName,\n    popperStyle: popupStyle,\n    visible: openValue,\n    placement: 'bottomLeft',\n    getPopupContainer: getPopupContainer\n  });\n};\nvar DatePicker = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().forwardRef(InternalDatePicker);\nDatePicker.displayName = 'DatePicker';\n/* harmony default export */ __webpack_exports__[\"default\"] = (DatePicker);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/date-picker.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-hover-value.js":
/*!*************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-hover-value.js ***!
  \*************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ useHoverValue; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var lodash_isNumber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/isNumber */ \"../../node_modules/lodash/isNumber.js\");\n/* harmony import */ var lodash_isNumber__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isNumber__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _use_value_texts__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./use-value-texts */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-value-texts.js\");\n\n\n\n\nfunction useHoverValue(valueText, _ref) {\n  var format = _ref.format;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(null),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    value = _useState2[0],\n    internalSetValue = _useState2[1];\n  var ref = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)();\n  function setValue(val) {\n    var immediately = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n    lodash_isNumber__WEBPACK_IMPORTED_MODULE_1___default()(ref.current) && cancelAnimationFrame(ref.current);\n    if (immediately) {\n      internalSetValue(val);\n      return;\n    }\n    ref.current = requestAnimationFrame(function () {\n      internalSetValue(val);\n    });\n  }\n  var valueTexts = (0,_use_value_texts__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(value, {\n    format: format\n  });\n  function onEnter(date) {\n    setValue(date);\n  }\n  function onLeave() {\n    var immediately = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n    setValue(null, immediately);\n  }\n  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () {\n    onLeave(true);\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n  }, [valueText]);\n  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () {\n    return function () {\n      if (lodash_isNumber__WEBPACK_IMPORTED_MODULE_1___default()(ref.current)) {\n        return cancelAnimationFrame(ref.current);\n      }\n    };\n  }, []);\n  return [valueTexts, onEnter, onLeave];\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-hover-value.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-picker-input.js":
/*!**************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-picker-input.js ***!
  \**************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ usePickerInput; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _utils_KeyCode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../_utils/KeyCode */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/KeyCode.js\");\n\n\n\n\nfunction usePickerInput(_ref) {\n  var preventBlurRef = _ref.preventBlurRef,\n    open = _ref.open,\n    value = _ref.value,\n    isClickOutside = _ref.isClickOutside,\n    triggerOpen = _ref.triggerOpen,\n    blurToCancel = _ref.blurToCancel,\n    onSubmit = _ref.onSubmit,\n    onCancel = _ref.onCancel,\n    _onFocus = _ref.onFocus,\n    _onBlur = _ref.onBlur;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    typing = _useState2[0],\n    setTyping = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(false),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState3, 2),\n    focused = _useState4[0],\n    setFocused = _useState4[1];\n  var valueChangedRef = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(false);\n  var inputProps = {\n    onMouseDown: function onMouseDown() {\n      setTyping(true);\n      triggerOpen(true);\n    },\n    onKeyDown: function onKeyDown(e) {\n      var _context;\n      switch (e.which) {\n        case _utils_KeyCode__WEBPACK_IMPORTED_MODULE_3__[\"default\"].ENTER:\n          {\n            if (!open) {\n              triggerOpen(true);\n            } else if (onSubmit() !== false) {\n              setTyping(true);\n            }\n            e.preventDefault();\n            return;\n          }\n        case _utils_KeyCode__WEBPACK_IMPORTED_MODULE_3__[\"default\"].TAB:\n          {\n            if (typing && open && !e.shiftKey) {\n              setTyping(false);\n              // e.preventDefault()\n            }\n\n            return;\n          }\n        case _utils_KeyCode__WEBPACK_IMPORTED_MODULE_3__[\"default\"].ESC:\n          {\n            setTyping(true);\n            onCancel();\n            return;\n          }\n      }\n      if (!open && !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default()(_context = [_utils_KeyCode__WEBPACK_IMPORTED_MODULE_3__[\"default\"].SHIFT]).call(_context, e.which)) {\n        triggerOpen(true);\n      }\n    },\n    onFocus: function onFocus(e) {\n      setTyping(true);\n      setFocused(true);\n      if (_onFocus) {\n        _onFocus(e);\n      }\n    },\n    onBlur: function onBlur(e) {\n      if (preventBlurRef.current || !isClickOutside(document.activeElement)) {\n        // preventBlurRef.current = false\n        return;\n      }\n      if (blurToCancel) {\n        setTimeout(function () {\n          if (isClickOutside(document.activeElement)) {\n            onCancel();\n          }\n        }, 0);\n      } else if (open) {\n        triggerOpen(false);\n      }\n      setFocused(false);\n      if (_onBlur) {\n        _onBlur(e);\n      }\n    }\n  };\n  // check if value changed\n  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () {\n    valueChangedRef.current = false;\n  }, [open]);\n  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () {\n    valueChangedRef.current = true;\n  }, [value]);\n  return [inputProps, {\n    focused: focused,\n    typing: typing\n  }];\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-picker-input.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-range-cls.js":
/*!***********************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-range-cls.js ***!
  \***********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ useRangeCls; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/date-fns */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/date-fns.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/date-fns */ \"../../node_modules/date-fns/esm/isAfter/index.js\");\n\n\n\n\n\nfunction useRangeCls(_ref) {\n  var prefixCls = _ref.prefixCls,\n    isRange = _ref.isRange,\n    rangeValue = _ref.rangeValue,\n    hoverRangedValue = _ref.hoverRangedValue,\n    isCurrentMonth = _ref.isCurrentMonth,\n    isAfterStart = _ref.isAfterStart,\n    isBeforeEnd = _ref.isBeforeEnd,\n    isStart = _ref.isStart,\n    isEnd = _ref.isEnd;\n  function getClassName(date) {\n    if (isRange) {\n      var _classnames;\n      var _rangeValue = rangeValue || [null, null];\n      if (hoverRangedValue === null || hoverRangedValue === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_1___default()(hoverRangedValue).call(hoverRangedValue, function (n) {\n        return n;\n      })) {\n        _rangeValue = hoverRangedValue;\n      }\n      if (_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2___default()(_rangeValue).call(_rangeValue, function (n) {\n        return n;\n      }).length !== _rangeValue.length) return {};\n      if ((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_4__.isSameDay)(_rangeValue[0], _rangeValue[1])) return {};\n      if (isCurrentMonth && !isCurrentMonth(date)) return {};\n      if (_rangeValue[0] && _rangeValue[1] && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_rangeValue[0], _rangeValue[1])) return {};\n      return classnames__WEBPACK_IMPORTED_MODULE_3___default()((_classnames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames, \"\".concat(prefixCls, \"-range-view\"), isAfterStart(date, _rangeValue) && isBeforeEnd(date, _rangeValue)), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames, \"\".concat(prefixCls, \"-range-start\"), isStart(date, _rangeValue)), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames, \"\".concat(prefixCls, \"-range-end\"), isEnd(date, _rangeValue)), _classnames));\n    }\n    return {};\n  }\n  return getClassName;\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-range-cls.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-range-disabled.js":
/*!****************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-range-disabled.js ***!
  \****************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ useRangeDisabled; }\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/date-fns */ \"../../node_modules/date-fns/esm/getYear/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/date-fns */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/date-fns.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/date-fns */ \"../../node_modules/date-fns/esm/getMonth/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/date-fns */ \"../../node_modules/date-fns/esm/getQuarter/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/date-fns */ \"../../node_modules/date-fns/esm/isAfter/index.js\");\n\n\n\nfunction useRangeDisabled(_ref, disabledStart, disabledEnd) {\n  var picker = _ref.picker,\n    selectedValue = _ref.selectedValue,\n    disabledDate = _ref.disabledDate,\n    disabled = _ref.disabled;\n  var startDate = (0,_utils__WEBPACK_IMPORTED_MODULE_1__.getValue)(selectedValue, 0);\n  var endDate = (0,_utils__WEBPACK_IMPORTED_MODULE_1__.getValue)(selectedValue, 1);\n  function weekNumber(date) {\n    var year = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(date);\n    var week = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_3__.getWeek)(date);\n    return year * 100 + week;\n  }\n  function monthNumber(date) {\n    var year = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(date);\n    var month = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(date);\n    return year * 100 + month;\n  }\n  function quarterNumber(date) {\n    var year = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(date);\n    var quarter = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(date);\n    return year * 10 + quarter;\n  }\n  var disabledStartDate = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(function (date) {\n    if (disabledDate && disabledDate(date)) {\n      return true;\n    }\n    if (disabled[1] && endDate) {\n      return !(0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_3__.isSameDay)(date, endDate) && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(date, endDate);\n    }\n    if (disabledStart && endDate) {\n      switch (picker) {\n        case 'quarter':\n          return quarterNumber(date) > quarterNumber(endDate);\n        case 'month':\n          return monthNumber(date) > monthNumber(endDate);\n        case 'week':\n          return weekNumber(date) > weekNumber(endDate);\n        default:\n          return !(0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_3__.isSameDay)(date, endDate) && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(date, endDate);\n      }\n    }\n    return false;\n  },\n  // eslint-disable-next-line react-hooks/exhaustive-deps\n  [disabledDate, disabled[1], endDate, disabledStart]);\n  var disabledEndDate = react__WEBPACK_IMPORTED_MODULE_0__.useCallback(function (date) {\n    if (disabledDate && disabledDate(date)) {\n      return true;\n    }\n    if (disabled[0] && startDate) {\n      return !(0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_3__.isSameDay)(date, endDate) && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(startDate, date);\n    }\n    if (disabledEnd && startDate) {\n      switch (picker) {\n        case 'quarter':\n          return quarterNumber(date) < quarterNumber(startDate);\n        case 'month':\n          return monthNumber(date) < monthNumber(startDate);\n        case 'week':\n          return weekNumber(date) < weekNumber(startDate);\n        default:\n          return !(0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_3__.isSameDay)(date, startDate) && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(startDate, date);\n      }\n    }\n    return false;\n  },\n  // eslint-disable-next-line react-hooks/exhaustive-deps\n  [disabledDate, disabled[0], startDate, disabledEnd]);\n  return [disabledStartDate, disabledEndDate];\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-range-disabled.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-range-view-dates.js":
/*!******************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-range-view-dates.js ***!
  \******************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ useRangeViewDates; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/values */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/values.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/date-fns */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/date-fns.js\");\n\n\n\n\n\n// import { getClosingViewDate, isSameYear, isSameMonth, isSameDecade } from '../utils/dateUtil'\nfunction getStartEndDistance(startDate, endDate, picker) {\n  var startNext = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getClosingViewDate)(startDate, picker, 1);\n  function getDistance(compareFunc) {\n    if (compareFunc(startDate, endDate)) {\n      return 'same';\n    }\n    if (compareFunc(startNext, endDate)) {\n      return 'closing';\n    }\n    return 'far';\n  }\n  switch (picker) {\n    // case 'year':\n    //   return getDistance((start, end) => isSameDecade(start, end))\n    case 'quarter':\n    case 'month':\n      return getDistance(function (start, end) {\n        return (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_4__.isSameYear)(start, end);\n      });\n    default:\n      return getDistance(function (start, end) {\n        return (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_4__.isSameMonth)(start, end);\n      });\n  }\n}\nfunction getRangeViewDate(values, index, picker) {\n  var startDate = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getValue)(values, 0);\n  var endDate = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getValue)(values, 1);\n  if (index === 0) {\n    return startDate;\n  }\n  if (startDate && endDate) {\n    var distance = getStartEndDistance(startDate, endDate, picker);\n    switch (distance) {\n      case 'same':\n        return startDate;\n      case 'closing':\n        return startDate;\n      default:\n        return (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getClosingViewDate)(endDate, picker, -1);\n    }\n  }\n  return startDate;\n}\nfunction checkViewDate(value) {\n  if (value && !(0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_4__.isValid)(value)) {\n    return false;\n  }\n  return value;\n}\nfunction useRangeViewDates(_ref) {\n  var values = _babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_1___default()(_ref),\n    picker = _ref.picker,\n    defaultDates = _ref.defaultDates;\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_2__.useState(function () {\n      return [(0,_utils__WEBPACK_IMPORTED_MODULE_3__.getValue)(defaultDates, 0), (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getValue)(defaultDates, 1)];\n    }),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_React$useState, 2),\n    defaultViewDates = _React$useState2[0],\n    setDefaultViewDates = _React$useState2[1];\n  var _React$useState3 = react__WEBPACK_IMPORTED_MODULE_2__.useState(null),\n    _React$useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_React$useState3, 2),\n    viewDates = _React$useState4[0],\n    setInternalViewDates = _React$useState4[1];\n  var startDate = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getValue)(values, 0);\n  var endDate = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getValue)(values, 1);\n  function getViewDate(index) {\n    if (defaultViewDates[index]) {\n      return defaultViewDates[index];\n    }\n    return checkViewDate((0,_utils__WEBPACK_IMPORTED_MODULE_3__.getValue)(viewDates, index)) || checkViewDate(getRangeViewDate(values, index, picker)) || checkViewDate(startDate) || checkViewDate(endDate) || (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_4__.newDate)();\n  }\n  function setViewDate(viewDate, index) {\n    if (viewDate) {\n      var newViewDates = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.updateValues)(viewDates, viewDate, index);\n      // Set view date will clean up default one\n      setDefaultViewDates(\n      // Should always be an array\n      (0,_utils__WEBPACK_IMPORTED_MODULE_3__.updateValues)(defaultViewDates, null, index) || [null, null]);\n      // Reset another one when not have value\n      var anotherIndex = (index + 1) % 2;\n      if (!(0,_utils__WEBPACK_IMPORTED_MODULE_3__.getValue)(values, anotherIndex)) {\n        newViewDates = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.updateValues)(newViewDates, viewDate, anotherIndex);\n      }\n      setInternalViewDates(newViewDates);\n    } else if (startDate || endDate) {\n      // Reset all when has values when `viewDate` is `null` which means from open trigger\n      setInternalViewDates(null);\n    }\n  }\n  return [getViewDate, setViewDate];\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-range-view-dates.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-state-memo.js":
/*!************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-state-memo.js ***!
  \************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ useStateMemo; }\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\nfunction useStateMemo(getValue, condition, shouldUpdate) {\n  var cacheRef = react__WEBPACK_IMPORTED_MODULE_0___default().useRef({});\n  if (!('value' in cacheRef.current) || shouldUpdate(cacheRef.current.condition, condition)) {\n    cacheRef.current.value = getValue();\n    cacheRef.current.condition = condition;\n  }\n  return cacheRef.current.value;\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-state-memo.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-text-value-mapping.js":
/*!********************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-text-value-mapping.js ***!
  \********************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ useTextValueMapping; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n\n\nfunction useTextValueMapping(_ref) {\n  var valueText = _ref.valueText,\n    onTextChange = _ref.onTextChange;\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_1__.useState(''),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_React$useState, 2),\n    text = _React$useState2[0],\n    setInnerText = _React$useState2[1];\n  var valueTextRef = react__WEBPACK_IMPORTED_MODULE_1__.useRef('');\n  valueTextRef.current = valueText;\n  function triggerTextChange(value) {\n    setInnerText(value);\n    onTextChange(value);\n  }\n  function resetText() {\n    setInnerText(valueTextRef.current);\n  }\n  react__WEBPACK_IMPORTED_MODULE_1__.useEffect(function () {\n    if (valueText !== text) {\n      resetText();\n    }\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n  }, [valueText]);\n  return [text, triggerTextChange, resetText];\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-text-value-mapping.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-value-texts.js":
/*!*************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-value-texts.js ***!
  \*************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ useValueTexts; }\n/* harmony export */ });\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/date-fns */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/date-fns.js\");\n/* harmony import */ var _use_state_memo__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./use-state-memo */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-state-memo.js\");\n\n\nfunction useValueTexts(value, _ref) {\n  var format = _ref.format;\n  return (0,_use_state_memo__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(function () {\n    if (!value) {\n      return '';\n    }\n    var valueTexts = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_1__.formatDate)(value, format);\n    return valueTexts;\n  }, [value], function (prev, next) {\n    return prev !== next;\n  });\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-value-texts.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/index.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/index.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   RangePicker: function() { return /* reexport safe */ _range_picker__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _date_picker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./date-picker */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/date-picker.js\");\n/* harmony import */ var _range_picker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./range-picker */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/range-picker.js\");\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_date_picker__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/locale/zh_CN.js":
/*!****************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/locale/zh_CN.js ***!
  \****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\nvar locale = {\n  // locale: 'zh_CN',\n  'DatePicker.placeholder': '请选择日期',\n  'DatePicker.yearPlaceholder': '请选择年份',\n  'DatePicker.quarterPlaceholder': '请选择季度',\n  'DatePicker.monthPlaceholder': '请选择月份',\n  'DatePicker.weekPlaceholder': '请选择周',\n  'DatePicker.timePlaceholder': '请选择时间',\n  'DatePicker.now': '此刻',\n  'DatePicker.confrim': '确定',\n  'DatePicker.today': '今天',\n  'DatePicker.month': '月',\n  'DatePicker.year': '年',\n  'DatePicker.weekTitle': ['日', '一', '二', '三', '四', '五', '六'],\n  'DatePicker.monthTitle': ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],\n  'DatePicker.rangePlaceholder': ['开始日期', '结束日期'],\n  'DatePicker.rangeYearPlaceholder': ['开始年份', '结束年份'],\n  'DatePicker.rangeMonthPlaceholder': ['开始月份', '结束月份'],\n  'DatePicker.rangeWeekPlaceholder': ['开始周', '结束周'],\n  'DatePicker.rangeQuarterPlaceholder': ['开始季度', '结束季度'],\n  'DatePicker.rangeTimePlaceholder': ['开始时间', '结束时间']\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (locale);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/locale/zh_CN.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/date-time/date-time.js":
/*!*****************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/date-time/date-time.js ***!
  \*****************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../context */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/context.js\");\n/* harmony import */ var _calendar__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../calendar */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/calendar.js\");\n/* harmony import */ var _time_time__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../time/time */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/time/time.js\");\n\n\n\n\n\n\n\nfunction DatetimePanel(props) {\n  var context = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_context__WEBPACK_IMPORTED_MODULE_4__[\"default\"]);\n  var prefixCls = context.prefixCls,\n    panelPosition = context.panelPosition,\n    dateValue = context.dateValue,\n    rangeValue = context.rangeValue;\n  var disabledTimePanel = props.disabledTimePanel,\n    showTime = props.showTime,\n    dateHeader = props.dateHeader;\n  var value = dateValue;\n  if (panelPosition === 'left') {\n    value = rangeValue[0];\n  } else if (panelPosition === 'right') {\n    value = rangeValue[1];\n  }\n  var timeProps = (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(showTime) === 'object' ? (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, showTime) : {};\n  var disabledTimes = disabledTimePanel ? disabledTimePanel(value || null) : {};\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(prefixCls, \"-datetime-panel\"), {\n      // [`${panelPrefixCls}-active`]: activePanel,\n    })\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(prefixCls, \"-date\"))\n  }, dateHeader, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_calendar__WEBPACK_IMPORTED_MODULE_5__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, props))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_time_time__WEBPACK_IMPORTED_MODULE_6__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, props, {\n    format: undefined\n  }, timeProps, disabledTimes, {\n    defaultValue: undefined\n  })));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (DatetimePanel);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/date-time/date-time.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/header/header.js":
/*!***********************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/header/header.js ***!
  \***********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../context */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/context.js\");\n\n\n\n\nfunction Header(props) {\n  var context = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_context__WEBPACK_IMPORTED_MODULE_2__[\"default\"]);\n  var prefixCls = context.prefixCls;\n  var className = props.className,\n    children = props.children,\n    prevIcon = props.prevIcon,\n    nextIcon = props.nextIcon,\n    superPrevIcon = props.superPrevIcon,\n    superNextIcon = props.superNextIcon,\n    onPrev = props.onPrev,\n    onNext = props.onNext,\n    onSuperPrev = props.onSuperPrev,\n    onSuperNext = props.onSuperNext;\n  var iconCls = classnames__WEBPACK_IMPORTED_MODULE_1___default()(\"\".concat(prefixCls, \"-header-icon\"));\n  var textCls = classnames__WEBPACK_IMPORTED_MODULE_1___default()(\"\".concat(prefixCls, \"-header-text\"));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: className\n  }, onSuperPrev ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", {\n    className: iconCls,\n    onClick: onSuperPrev\n  }, superPrevIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    type: \"double-arrow-left\"\n  })) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", {\n    className: iconCls\n  }), onPrev ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", {\n    className: iconCls,\n    onClick: onPrev\n  }, prevIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    type: \"arrow-left\"\n  })) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", {\n    className: iconCls\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", {\n    className: textCls\n  }, children), onNext ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", {\n    className: iconCls,\n    onClick: onNext\n  }, nextIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    type: \"arrow-right\"\n  })) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", {\n    className: iconCls\n  }), onSuperNext ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", {\n    className: iconCls,\n    onClick: onSuperNext\n  }, superNextIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    type: \"double-arrow-right\"\n  })) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", {\n    className: iconCls\n  }));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (Header);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/header/header.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/month/month.js":
/*!*********************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/month/month.js ***!
  \*********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/date-fns/esm/getMonth/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/date-fns/esm/getYear/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/date-fns.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/date-fns/esm/isAfter/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/date-fns/esm/isBefore/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/date-fns/esm/setMonth/index.js\");\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../context */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/context.js\");\n/* harmony import */ var _hooks_use_range_cls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../hooks/use-range-cls */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-range-cls.js\");\n\n\n\n\n\n\n\n\nvar monthsThreeColumns = [[0, 1, 2], [3, 4, 5], [6, 7, 8], [9, 10, 11]];\nfunction Month(props) {\n  var context = (0,react__WEBPACK_IMPORTED_MODULE_3__.useContext)(_context__WEBPACK_IMPORTED_MODULE_5__[\"default\"]);\n  var prefixCls = context.prefixCls,\n    dateValue = context.dateValue,\n    viewDate = context.viewDate,\n    onSelect = context.onSelect,\n    onDateMouseEnter = context.onDateMouseEnter,\n    onDateMouseLeave = context.onDateMouseLeave,\n    rangeValue = context.rangeValue,\n    panelPosition = context.panelPosition,\n    hoverRangedValue = context.hoverRangedValue,\n    locale = context.locale,\n    innerPicker = context.innerPicker,\n    setInnerPicker = context.setInnerPicker,\n    cellRender = context.cellRender,\n    range = context.range;\n  var disabledDate = props.disabledDate;\n  var _dateValue;\n  if (panelPosition) {\n    _dateValue = rangeValue;\n  } else {\n    _dateValue = dateValue;\n  }\n  var hasFindSelected = false;\n  var hasFindToday = false;\n  var getMonthSelected = function getMonthSelected(month) {\n    if (hasFindSelected) return false;\n    if (Array.isArray(_dateValue)) {\n      return _dateValue[0] && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_dateValue[0]) === month && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_dateValue[0]) === (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(viewDate) || _dateValue[1] && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_dateValue[1]) === month && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_dateValue[1]) === (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(viewDate);\n    } else {\n      if (_dateValue && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_dateValue) === month && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_dateValue) === (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(viewDate)) {\n        hasFindSelected = true;\n        return true;\n      }\n      return false;\n    }\n  };\n  var getMonthToday = function getMonthToday(month) {\n    if (hasFindToday) return false;\n    if ((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(viewDate) === (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__[\"default\"])((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.newDate)()) && month === (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.newDate)())) {\n      hasFindToday = true;\n      if (Array.isArray(_dateValue)) {\n        return _dateValue[0] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_dateValue[0]) !== month : _dateValue[1] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_dateValue[1]) !== month : true;\n      } else {\n        return _dateValue ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_dateValue) !== month : true;\n      }\n    }\n  };\n  var getMonthClassNames = function getMonthClassNames(i) {\n    var _classnames;\n    return classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(prefixCls, \"-month-text\"), (_classnames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames, \"\".concat(prefixCls, \"-month-text-selected\"), getMonthSelected(i)), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames, \"\".concat(prefixCls, \"-month-text-today\"), getMonthToday(i)), _classnames));\n  };\n  var getRangeCls = (0,_hooks_use_range_cls__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({\n    prefixCls: prefixCls,\n    rangeValue: rangeValue,\n    hoverRangedValue: hoverRangedValue,\n    isRange: !!panelPosition,\n    isAfterStart: function isAfterStart(date, rangedValue) {\n      return rangedValue[0] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_10__[\"default\"])((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.getStartOfMonth)(date), (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.getStartOfMonth)(rangedValue[0])) : false;\n    },\n    isBeforeEnd: function isBeforeEnd(date, rangedValue) {\n      return rangedValue[1] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_11__[\"default\"])((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.getStartOfMonth)(date), (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.getStartOfMonth)(rangedValue[1])) : false;\n    },\n    isStart: function isStart(date, rangedValue) {\n      return rangedValue[0] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.isSameMonth)(date, rangedValue[0]) : false;\n    },\n    isEnd: function isEnd(date, rangedValue) {\n      return rangedValue[1] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.isSameMonth)(date, rangedValue[1]) : false;\n    }\n  });\n  var handleClick = function handleClick(date) {\n    if (innerPicker === undefined) {\n      if (!(disabledDate && disabledDate(date))) {\n        onSelect(date, 'mouse');\n      }\n    } else {\n      //\n      var _viewDate = viewDate;\n      onSelect((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.setYearOrMonthOfDate)(_viewDate, date, 'month'), 'inner');\n      setInnerPicker(undefined);\n    }\n  };\n  var renderMonth = function renderMonth() {\n    var monthLayout = monthsThreeColumns;\n    var monthLineCls = classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(prefixCls, \"-month-line\"));\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(monthLayout).call(monthLayout, function (month, i) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n        className: monthLineCls,\n        key: i\n      }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(month).call(month, function (m, j) {\n        var month = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(viewDate, m);\n        var _props = {\n          onClick: function onClick() {\n            return handleClick(month);\n          },\n          onMouseEnter: function onMouseEnter() {\n            if (onDateMouseEnter && !(disabledDate && disabledDate(month))) {\n              onDateMouseEnter(month);\n            }\n          },\n          onMouseLeave: function onMouseLeave() {\n            if (onDateMouseLeave) {\n              onDateMouseLeave();\n            }\n          }\n        };\n        var monthItemCls = classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(prefixCls, \"-month-item\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(prefixCls, \"-month-item-disabled\"), disabledDate && disabledDate(month)), getRangeCls(month));\n        var originNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"span\", {\n          className: getMonthClassNames(m)\n        }, \"\".concat(locale.monthTitle[m]));\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n          className: monthItemCls,\n          key: j\n        }, _props), typeof cellRender === 'function' ? cellRender(m + 1, {\n          originNode: originNode,\n          panelType: 'month',\n          range: range,\n          date: month\n        }) || originNode : originNode);\n      }));\n    });\n  };\n  var monthCls = classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(prefixCls, \"-month\"));\n  var monthWarpperCls = classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(prefixCls, \"-month-warpper\"));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n    className: monthCls\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n    className: monthWarpperCls\n  }, renderMonth()));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (Month);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/month/month.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/quarter/quarter.js":
/*!*************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/quarter/quarter.js ***!
  \*************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../context */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/context.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/date-fns/esm/getQuarter/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/date-fns/esm/getYear/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/date-fns.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/date-fns/esm/isAfter/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/date-fns/esm/isBefore/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/date-fns/esm/setQuarter/index.js\");\n/* harmony import */ var _hooks_use_range_cls__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../hooks/use-range-cls */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-range-cls.js\");\n\n\n\n\n\n\n\n\nvar quarterList = ['Q1', 'Q2', 'Q3', 'Q4'];\nfunction Quarter(props) {\n  var context = (0,react__WEBPACK_IMPORTED_MODULE_3__.useContext)(_context__WEBPACK_IMPORTED_MODULE_5__[\"default\"]);\n  var prefixCls = context.prefixCls,\n    dateValue = context.dateValue,\n    viewDate = context.viewDate,\n    onSelect = context.onSelect,\n    onDateMouseEnter = context.onDateMouseEnter,\n    onDateMouseLeave = context.onDateMouseLeave,\n    rangeValue = context.rangeValue,\n    panelPosition = context.panelPosition,\n    hoverRangedValue = context.hoverRangedValue,\n    cellRender = context.cellRender,\n    range = context.range;\n  var disabledDate = props.disabledDate;\n  var _dateValue;\n  if (panelPosition) {\n    _dateValue = rangeValue;\n  } else {\n    _dateValue = dateValue;\n  }\n  var hasFindSelected = false;\n  var hasFindToday = false;\n  var getQuarterSelected = function getQuarterSelected(quarter) {\n    if (hasFindSelected) return false;\n    if (Array.isArray(_dateValue)) {\n      return _dateValue[0] && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_dateValue[0]) === quarter && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_dateValue[0]) === (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(viewDate) || _dateValue[1] && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_dateValue[1]) === quarter && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_dateValue[1]) === (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(viewDate);\n    } else {\n      if (_dateValue && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_dateValue) === quarter && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_dateValue) === (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(viewDate)) {\n        hasFindSelected = true;\n        return true;\n      }\n      return false;\n    }\n  };\n  var getQuarterToday = function getQuarterToday(quarter) {\n    if (hasFindToday) return false;\n    if ((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(viewDate) === (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__[\"default\"])((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.newDate)()) && quarter === (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.newDate)())) {\n      hasFindToday = true;\n      if (Array.isArray(_dateValue)) {\n        return _dateValue[0] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_dateValue[0]) !== quarter : _dateValue[1] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_dateValue[1]) !== quarter : true;\n      } else {\n        return _dateValue ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_dateValue) !== quarter : true;\n      }\n    }\n  };\n  var getQuarterClassNames = function getQuarterClassNames(q) {\n    var _classnames;\n    return classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(prefixCls, \"-quarter-text\"), (_classnames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames, \"\".concat(prefixCls, \"-quarter-text-selected\"), getQuarterSelected(q)), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames, \"\".concat(prefixCls, \"-quarter-text-today\"), getQuarterToday(q)), _classnames));\n  };\n  var getRangeCls = (0,_hooks_use_range_cls__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({\n    prefixCls: prefixCls,\n    rangeValue: rangeValue,\n    hoverRangedValue: hoverRangedValue,\n    isRange: !!panelPosition,\n    isAfterStart: function isAfterStart(date, rangedValue) {\n      return rangedValue[0] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_10__[\"default\"])((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.getStartOfQuarter)(date), (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.getStartOfQuarter)(rangedValue[0])) : false;\n    },\n    isBeforeEnd: function isBeforeEnd(date, rangedValue) {\n      return rangedValue[1] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_11__[\"default\"])((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.getStartOfQuarter)(date), (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.getStartOfQuarter)(rangedValue[1])) : false;\n    },\n    isStart: function isStart(date, rangedValue) {\n      return rangedValue[0] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.isSameQuarter)(date, rangedValue[0]) : false;\n    },\n    isEnd: function isEnd(date, rangedValue) {\n      return rangedValue[1] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.isSameQuarter)(date, rangedValue[1]) : false;\n    }\n  });\n  var handleClick = function handleClick(date) {\n    if (!(disabledDate && disabledDate(date))) {\n      onSelect(date, 'mouse');\n    }\n  };\n  var renderQuarter = function renderQuarter() {\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(quarterList).call(quarterList, function (n, i) {\n      var quarter = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(viewDate, i + 1);\n      var _props = {\n        onClick: function onClick() {\n          return handleClick(quarter);\n        },\n        onMouseEnter: function onMouseEnter() {\n          if (onDateMouseEnter && !(disabledDate && disabledDate(quarter))) {\n            onDateMouseEnter(quarter);\n          }\n        },\n        onMouseLeave: function onMouseLeave() {\n          if (onDateMouseLeave) {\n            onDateMouseLeave();\n          }\n        }\n      };\n      var quarterCls = classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(prefixCls, \"-quarter-item\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(prefixCls, \"-quarter-item-disabled\"), disabledDate && disabledDate(quarter)), getRangeCls(quarter));\n      var originNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n        className: getQuarterClassNames(i + 1)\n      }, _props), n);\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n        key: n,\n        className: quarterCls\n      }, typeof cellRender === 'function' ? cellRender(i + 1, {\n        originNode: originNode,\n        panelType: 'quarter',\n        range: range,\n        date: quarter\n      }) || originNode : originNode);\n    });\n  };\n  var quarterCls = classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(prefixCls, \"-quarter\"));\n  var quarterWarpperCls = classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(prefixCls, \"-quarter-warpper\"));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n    className: quarterCls\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n    className: quarterWarpperCls\n  }, renderQuarter()));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (Quarter);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/quarter/quarter.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/time/time-column.js":
/*!**************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/time/time-column.js ***!
  \**************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/index.js\");\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../context */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/context.js\");\n\n\n\n\n\n\n\n\nfunction TimeUnitColumn(props) {\n  var prefixCls = props.prefixCls,\n    units = props.units,\n    onSelect = props.onSelect,\n    value = props.value,\n    hideDisabledOptions = props.hideDisabledOptions,\n    selectValue = props.selectValue,\n    subType = props.subType;\n  var cellPrefixCls = \"\".concat(prefixCls, \"-cell\");\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_3__.useContext(_context__WEBPACK_IMPORTED_MODULE_5__[\"default\"]),\n    open = _React$useContext.open,\n    cellRender = _React$useContext.cellRender,\n    range = _React$useContext.range;\n  var ulRef = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(null);\n  var liRefs = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(new (_babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_1___default())());\n  var scrollRef = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)();\n  (0,react__WEBPACK_IMPORTED_MODULE_3__.useLayoutEffect)(function () {\n    var li = liRefs.current.get(value);\n    if (li && open !== false) {\n      (0,_utils__WEBPACK_IMPORTED_MODULE_6__.scrollTo)(ulRef.current, li.offsetTop, 120);\n    }\n  }, [value, selectValue]);\n  (0,react__WEBPACK_IMPORTED_MODULE_3__.useLayoutEffect)(function () {\n    if (open) {\n      var li = liRefs.current.get(value);\n      if (li) {\n        scrollRef.current = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.waitElementReady)(li, function () {\n          (0,_utils__WEBPACK_IMPORTED_MODULE_6__.scrollTo)(ulRef.current, li.offsetTop, 0);\n        });\n      }\n    }\n    return function () {\n      var _a;\n      (_a = scrollRef.current) === null || _a === void 0 ? void 0 : _a.call(scrollRef);\n    };\n  }, [open]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"ul\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(prefixCls, \"-column\"), {\n      // [`${prefixCls}-column-active`]: active,\n    }),\n    ref: ulRef,\n    style: {\n      position: 'relative'\n    }\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(units).call(units, function (unit) {\n    var _classNames;\n    if (hideDisabledOptions && unit.disabled) {\n      return null;\n    }\n    var originNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"div\", {\n      className: \"\".concat(cellPrefixCls, \"-inner\")\n    }, unit.label);\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"div\", {\n      key: unit.value,\n      ref: function ref(element) {\n        liRefs.current.set(unit.value, element);\n      },\n      className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(cellPrefixCls, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(cellPrefixCls, \"-disabled\"), unit.disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(cellPrefixCls, \"-selected\"), value === unit.value), _classNames)),\n      onClick: function onClick() {\n        if (unit.disabled) {\n          return;\n        }\n        onSelect(unit.value);\n      }\n    }, typeof cellRender === 'function' ? cellRender(unit.value, {\n      originNode: originNode,\n      panelType: 'time',\n      subType: subType,\n      range: range\n    }) || originNode : originNode);\n  }));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (TimeUnitColumn);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/time/time-column.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/time/time.js":
/*!*******************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/time/time.js ***!
  \*******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _time_column__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./time-column */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/time/time-column.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/date-fns.js\");\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../context */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/context.js\");\n/* harmony import */ var _hooks_use_state_memo__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../hooks/use-state-memo */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-state-memo.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../utils */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/index.js\");\n/* harmony import */ var _header_header__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../header/header */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/header/header.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n// export interface TimePanelProps extends SharedTimeProps {\n//   format?: string\n//   // active?: boolean\n// }\nfunction shouldUnitsUpdate(prevUnits, nextUnits) {\n  if (prevUnits.length !== nextUnits.length) return true;\n  for (var i = 0; i < prevUnits.length; i += 1) {\n    if (prevUnits[i].disabled !== nextUnits[i].disabled) return true;\n  }\n  return false;\n}\nfunction TimePanel(props) {\n  var context = react__WEBPACK_IMPORTED_MODULE_5__.useContext(_context__WEBPACK_IMPORTED_MODULE_7__[\"default\"]);\n  var prefixCls = context.prefixCls,\n    dateValue = context.dateValue,\n    onSelect = context.onSelect,\n    _context$originHour = context.originHour,\n    originHour = _context$originHour === void 0 ? -1 : _context$originHour,\n    _context$minute = context.minute,\n    minute = _context$minute === void 0 ? -1 : _context$minute,\n    _context$second = context.second,\n    second = _context$second === void 0 ? -1 : _context$second,\n    _context$hours = context.hours,\n    rawHours = _context$hours === void 0 ? [] : _context$hours,\n    _context$minutes = context.minutes,\n    minutes = _context$minutes === void 0 ? [] : _context$minutes,\n    _context$seconds = context.seconds,\n    seconds = _context$seconds === void 0 ? [] : _context$seconds,\n    disabledTimePanel = context.disabledTimePanel,\n    rangeValue = context.rangeValue,\n    panelPosition = context.panelPosition;\n  var picker = props.picker,\n    _props$format = props.format,\n    format = _props$format === void 0 ? 'HH:mm:ss' : _props$format,\n    showHour = props.showHour,\n    showMinute = props.showMinute,\n    showSecond = props.showSecond,\n    _props$use12Hours = props.use12Hours,\n    use12Hours = _props$use12Hours === void 0 ? false : _props$use12Hours,\n    hideDisabledOptions = props.hideDisabledOptions;\n  // console.log(rawHours)\n  if (disabledTimePanel) {\n    originHour = -1;\n    minute = -1;\n    second = -1;\n  }\n  // const bodyOperationRef = React.useRef<BodyOperationRef>()\n  // ======================= Keyboard =======================\n  // const [activeColumnIndex, setActiveColumnIndex] = React.useState(-1)\n  // debugger\n  var value = dateValue;\n  // if (mergedActivePickerIndex === 0) {\n  //   value = rangeValue![0]\n  // } else if (mergedActivePickerIndex === 1) {\n  //   value = rangeValue![1]\n  // }\n  var columns = [];\n  var columnPrefixCls = \"\".concat(prefixCls, \"-time\");\n  var isPM;\n  // const originHour = value ? getHours(value) : -1\n  var hour = originHour;\n  // const minute = value ? getMinutes(value) : -1\n  // const second = value ? getSeconds(value) : -1\n  var getDefaultDate = function getDefaultDate() {\n    if (panelPosition) {\n      if (rangeValue && rangeValue[0] && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.isValid)(rangeValue[0])) {\n        return rangeValue[0];\n      }\n      if (rangeValue && rangeValue[1] && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.isValid)(rangeValue[1])) {\n        return rangeValue[1];\n      }\n    } else if (value && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.isValid)(value)) {\n      return value;\n    }\n    return (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.newDate)();\n  };\n  var setTime = function setTime(isPM, newHour, newMinute, newSecond) {\n    var _a, _b, _c;\n    var date = getDefaultDate();\n    var _hour = newHour > -1 ? newHour : (_a = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default()(rawHours).call(rawHours, function (n) {\n      return !n.disabled;\n    })) === null || _a === void 0 ? void 0 : _a.value;\n    var _minute = newMinute > -1 ? newMinute : (_b = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default()(minutes).call(minutes, function (n) {\n      return !n.disabled;\n    })) === null || _b === void 0 ? void 0 : _b.value;\n    var _second = newSecond > -1 ? newSecond : (_c = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default()(seconds).call(seconds, function (n) {\n      return !n.disabled;\n    })) === null || _c === void 0 ? void 0 : _c.value;\n    if (!_hour && _hour !== 0) {\n      _hour = -1;\n    }\n    if (!_minute && _minute !== 0) {\n      _minute = -1;\n    }\n    if (!_second && _second !== 0) {\n      _second = -1;\n    }\n    // 所有时或分或秒 disabled 时，返回空（date-time）\n    if (_hour > -1 && _minute > -1 && _second > -1) {\n      date = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.setTime)(date, {\n        hour: !use12Hours || !isPM ? _hour : _hour + 12,\n        minute: _minute,\n        second: _second\n      });\n      return date;\n    }\n    return null;\n  };\n  // const rawHours = generateUnits(0, 23, hourStep, disabledHours && disabledHours())\n  var memorizedRawHours = (0,_hooks_use_state_memo__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(function () {\n    return rawHours;\n  }, rawHours, shouldUnitsUpdate);\n  if (use12Hours) {\n    isPM = hour >= 12;\n    hour %= 12;\n  }\n  var _React$useMemo = react__WEBPACK_IMPORTED_MODULE_5__.useMemo(function () {\n      if (!use12Hours) {\n        return [false, false];\n      }\n      var AMPMDisabled = [true, true];\n      memorizedRawHours.forEach(function (_ref) {\n        var disabled = _ref.disabled,\n          hourValue = _ref.value;\n        if (disabled) return;\n        if (hourValue >= 12) {\n          AMPMDisabled[1] = false;\n        } else {\n          AMPMDisabled[0] = false;\n        }\n      });\n      return AMPMDisabled;\n    }, [use12Hours, memorizedRawHours]),\n    _React$useMemo2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useMemo, 2),\n    AMDisabled = _React$useMemo2[0],\n    PMDisabled = _React$useMemo2[1];\n  var hours = react__WEBPACK_IMPORTED_MODULE_5__.useMemo(function () {\n    var _context;\n    if (!use12Hours) return memorizedRawHours;\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default()(_context = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(memorizedRawHours).call(memorizedRawHours, isPM ? function (hourMeta) {\n      return hourMeta.value >= 12;\n    } : function (hourMeta) {\n      return hourMeta.value < 12;\n    })).call(_context, function (hourMeta) {\n      var hourValue = hourMeta.value % 12;\n      var hourLabel = hourValue === 0 ? '12' : (0,_utils__WEBPACK_IMPORTED_MODULE_10__.leftPad)(hourValue, 2);\n      return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, hourMeta), {\n        label: hourLabel,\n        value: hourValue\n      });\n    });\n  }, [use12Hours, memorizedRawHours, isPM]);\n  // const minutes = generateUnits(0, 59, minuteStep, disabledMinutes && disabledMinutes(originHour))\n  // const seconds = generateUnits(0, 59, secondStep, disabledSeconds && disabledSeconds(originHour, minute))\n  function addColumnNode(condition, node, columnValue, units, onColumnSelect) {\n    if (condition !== false) {\n      columns.push({\n        node: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.cloneElement(node, {\n          prefixCls: columnPrefixCls,\n          value: columnValue,\n          onSelect: onColumnSelect,\n          units: units,\n          selectValue: value,\n          hideDisabledOptions: hideDisabledOptions\n        })\n      });\n    }\n  }\n  addColumnNode(showHour, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(_time_column__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    key: \"hour\",\n    subType: 'hour'\n  }), hour, hours, function (num) {\n    var time = setTime(isPM, num, minute, second);\n    if (time) {\n      onSelect(time, 'mouse');\n    }\n  });\n  addColumnNode(showMinute, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(_time_column__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    key: \"minute\",\n    subType: 'minute'\n  }), minute, minutes, function (num) {\n    var time = setTime(isPM, hour, num, second);\n    if (time) {\n      onSelect(time, 'mouse');\n    }\n  });\n  addColumnNode(showSecond, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(_time_column__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    key: \"second\",\n    subType: 'second'\n  }), second, seconds, function (num) {\n    var time = setTime(isPM, hour, minute, num);\n    if (time) {\n      onSelect(time, 'mouse');\n    }\n  });\n  var PMIndex = -1;\n  if (typeof isPM === 'boolean') {\n    PMIndex = isPM ? 1 : 0;\n  }\n  addColumnNode(use12Hours === true, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(_time_column__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    key: \"12hours\",\n    subType: '12Hours'\n  }), PMIndex, [{\n    label: 'AM',\n    value: 0,\n    disabled: AMDisabled\n  }, {\n    label: 'PM',\n    value: 1,\n    disabled: PMDisabled\n  }], function (num) {\n    var time = setTime(!!num, hour, minute, second);\n    if (time) {\n      onSelect(time, 'mouse');\n    }\n  });\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(prefixCls, \"-time\"), {\n      // [`${panelPrefixCls}-active`]: active,\n    })\n  }, picker !== 'time' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(_header_header__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n    className: \"\".concat(prefixCls, \"-time-header\")\n  }, !disabledTimePanel && value ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__.formatDate)(value, format) : null) : null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(prefixCls, \"-content\"), {\n      // [`${panelPrefixCls}-active`]: active,\n    })\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default()(columns).call(columns, function (_ref2) {\n    var node = _ref2.node;\n    return node;\n  })));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (TimePanel);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/time/time.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/week/week.js":
/*!*******************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/week/week.js ***!
  \*******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../context */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/context.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/date-fns.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/date-fns/esm/getMonth/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/date-fns/esm/isAfter/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/date-fns/esm/addDays/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/date-fns/esm/getDate/index.js\");\n/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! date-fns */ \"../../node_modules/date-fns/esm/isSameDay/index.js\");\n/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! date-fns */ \"../../node_modules/date-fns/esm/isSameWeek/index.js\");\n/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! date-fns */ \"../../node_modules/date-fns/esm/isBefore/index.js\");\n/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! date-fns */ \"../../node_modules/date-fns/esm/getHours/index.js\");\n/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! date-fns */ \"../../node_modules/date-fns/esm/getMinutes/index.js\");\n/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! date-fns */ \"../../node_modules/date-fns/esm/getSeconds/index.js\");\n/* harmony import */ var _hooks_use_range_cls__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../hooks/use-range-cls */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-range-cls.js\");\n\n\n\n\n\n\n\n\n\n\n\nvar formatWeekNumber = function formatWeekNumber(date) {\n  return (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__.getWeek)(date);\n};\nvar isDisabledTime = function isDisabledTime(value, units) {\n  var _a;\n  return (_a = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default()(units).call(units, function (n) {\n    return n.value === value;\n  })) === null || _a === void 0 ? void 0 : _a.disabled;\n};\nfunction Week(props) {\n  var context = (0,react__WEBPACK_IMPORTED_MODULE_5__.useContext)(_context__WEBPACK_IMPORTED_MODULE_8__[\"default\"]);\n  var prefixCls = context.prefixCls,\n    dateValue = context.dateValue,\n    rangeValue = context.rangeValue,\n    panelPosition = context.panelPosition,\n    hoverRangedValue = context.hoverRangedValue,\n    viewDate = context.viewDate,\n    _context$hours = context.hours,\n    hours = _context$hours === void 0 ? [] : _context$hours,\n    _context$minutes = context.minutes,\n    minutes = _context$minutes === void 0 ? [] : _context$minutes,\n    _context$seconds = context.seconds,\n    seconds = _context$seconds === void 0 ? [] : _context$seconds,\n    disabledTimePanel = context.disabledTimePanel,\n    onSelect = context.onSelect,\n    onDateMouseEnter = context.onDateMouseEnter,\n    onDateMouseLeave = context.onDateMouseLeave,\n    cellRender = context.cellRender,\n    range = context.range;\n  var showWeekNumber = props.showWeekNumber,\n    day = props.day,\n    picker = props.picker,\n    showTime = props.showTime,\n    disabledDate = props.disabledDate;\n  var currentMonth = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(viewDate);\n  var _dateValue;\n  if (panelPosition) {\n    _dateValue = rangeValue;\n  } else {\n    _dateValue = dateValue;\n  }\n  var hasFindToday = false;\n  var hasFindSelected = false;\n  var getSelected = function getSelected(date) {\n    if (hasFindSelected) return false;\n    if (Array.isArray(_dateValue)) {\n      return _dateValue[0] && (0,date_fns__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_dateValue[0], date) || _dateValue[1] && (0,date_fns__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_dateValue[1], date);\n    } else {\n      if (_dateValue && (0,date_fns__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_dateValue, date)) {\n        hasFindSelected = true;\n        return true;\n      }\n      return false;\n    }\n  };\n  var getToday = function getToday(date) {\n    if (hasFindToday) return false;\n    hasFindToday = (0,date_fns__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(date, (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__.newDate)());\n    // 如果 today 被选中则返回 false\n    if (hasFindToday) {\n      if (Array.isArray(_dateValue)) {\n        return !(_dateValue[0] && (0,date_fns__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_dateValue[0], date) || _dateValue[1] && (0,date_fns__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_dateValue[1], date));\n      } else {\n        return _dateValue ? !(0,date_fns__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_dateValue, date) : true;\n      }\n    }\n  };\n  var getWeekToday = function getWeekToday(date) {\n    if (hasFindToday) return false;\n    hasFindToday = (0,date_fns__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(date, (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__.newDate)());\n    return hasFindToday;\n  };\n  var getWeekSelected = function getWeekSelected(date) {\n    if (hasFindSelected) return false;\n    if (Array.isArray(_dateValue)) {\n      // 如果是 endSelected 需要判断选中的周最后一天是否为本月\n      return _dateValue[0] && (0,date_fns__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(_dateValue[0], date) || _dateValue[1] && (0,date_fns__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(_dateValue[1], date) && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__.isSameMonth)((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__.getEndOfWeek)(_dateValue[1]), viewDate);\n    } else {\n      if (_dateValue && (0,date_fns__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(_dateValue, date)) {\n        hasFindSelected = true;\n        return true;\n      }\n      return false;\n    }\n  };\n  var getDayClassNames = function getDayClassNames(date) {\n    var _classnames, _context, _context2;\n    return picker === 'date' ? classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(prefixCls, \"-calendar-text\"), (_classnames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames, \"\".concat(prefixCls, \"-calendar-text-selected\"), getSelected(date)), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames, \"\".concat(prefixCls, \"-calendar-text-today\"), getToday(date)), _classnames)) : picker === 'week' ? classnames__WEBPACK_IMPORTED_MODULE_6___default()(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(prefixCls, \"-calendar-\")).call(_context, picker, \"-text\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context2 = \"\".concat(prefixCls, \"-calendar-\")).call(_context2, picker, \"-text-today\"), getWeekToday(date))) : '';\n  };\n  var getRangeCls = (0,_hooks_use_range_cls__WEBPACK_IMPORTED_MODULE_12__[\"default\"])({\n    prefixCls: prefixCls,\n    rangeValue: rangeValue,\n    hoverRangedValue: hoverRangedValue,\n    isRange: picker !== 'time',\n    isCurrentMonth: function isCurrentMonth(date) {\n      return (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__.isSameMonth)(date, viewDate);\n    },\n    isAfterStart: function isAfterStart(date, rangedValue) {\n      return rangedValue[0] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(date, rangedValue[0]) : false;\n    },\n    isBeforeEnd: function isBeforeEnd(date, rangedValue) {\n      return rangedValue[1] ? (0,date_fns__WEBPACK_IMPORTED_MODULE_14__[\"default\"])(date, rangedValue[1]) : false;\n    },\n    isStart: function isStart(date, rangedValue) {\n      return rangedValue[0] ? (0,date_fns__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(date, rangedValue[0]) : false;\n    },\n    isEnd: function isEnd(date, rangedValue) {\n      if (rangedValue[1] && (0,date_fns__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(date, rangedValue[1])) {\n        if (picker === 'date') {\n          return true;\n        } else {\n          return (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__.isSameMonth)((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__.getStartOfWeek)(date), (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__.getEndOfWeek)(date));\n        }\n      }\n      return false;\n    }\n  });\n  var getEffectTime = function getEffectTime(date) {\n    if (showTime && !disabledTimePanel) {\n      // debugger\n      var dateHour = (0,date_fns__WEBPACK_IMPORTED_MODULE_15__[\"default\"])(date);\n      var dateMinute = (0,date_fns__WEBPACK_IMPORTED_MODULE_16__[\"default\"])(date);\n      var dateSecond = (0,date_fns__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(date);\n      var hour = isDisabledTime(dateHour, hours) ? _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default()(hours).call(hours, function (n) {\n        return !n.disabled;\n      }).value : dateHour;\n      var minute = isDisabledTime(dateMinute, minutes) ? _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default()(minutes).call(minutes, function (n) {\n        return !n.disabled;\n      }).value : dateMinute;\n      var second = isDisabledTime(dateSecond, seconds) ? _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default()(seconds).call(seconds, function (n) {\n        return !n.disabled;\n      }).value : dateSecond;\n      date = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__.setTime)(date, {\n        hour: hour,\n        minute: minute,\n        second: second\n      });\n    }\n    return date;\n  };\n  var handleDayClick = function handleDayClick(day) {\n    if (!(disabledDate && disabledDate(day))) {\n      onSelect(day, 'mouse');\n    }\n  };\n  var renderDays = function renderDays() {\n    var _context3, _classnames4;\n    var startOfWeek = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__.getStartOfWeek)(day);\n    var days = [];\n    var weekNumber = formatWeekNumber(startOfWeek);\n    if (showWeekNumber) {\n      var calenderWeekNumberCls = classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(prefixCls, \"-calendar-weeknumber\"));\n      days.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n        key: \"W\",\n        className: calenderWeekNumberCls\n      }, weekNumber));\n    }\n    var week = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(days).call(days, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = [0, 1, 2, 3, 4, 5, 6]).call(_context3, function (offset) {\n      var _classnames3;\n      var day = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_18__[\"default\"])(startOfWeek, offset);\n      var date = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_19__[\"default\"])(day);\n      var now;\n      if (panelPosition === 'left') {\n        now = rangeValue && rangeValue[0] || viewDate;\n      } else if (panelPosition === 'right') {\n        now = rangeValue && rangeValue[1] || viewDate;\n      } else {\n        now = dateValue || viewDate;\n      }\n      var dayTime = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_7__.setTime)(day, {\n        hour: (0,date_fns__WEBPACK_IMPORTED_MODULE_15__[\"default\"])(now),\n        minute: (0,date_fns__WEBPACK_IMPORTED_MODULE_16__[\"default\"])(now),\n        second: (0,date_fns__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(now)\n      });\n      var _props = {\n        onClick: function onClick() {\n          return handleDayClick(getEffectTime(dayTime));\n        },\n        onMouseEnter: function onMouseEnter() {\n          if (onDateMouseEnter) {\n            if (!(disabledDate && disabledDate(dayTime))) {\n              picker === 'week' ? onDateMouseEnter(startOfWeek) : onDateMouseEnter(getEffectTime(dayTime));\n            }\n          }\n        },\n        onMouseLeave: function onMouseLeave() {\n          if (onDateMouseLeave) {\n            onDateMouseLeave();\n          }\n        }\n      };\n      var originNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n        className: getDayClassNames(day)\n      }, date);\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n        key: day.valueOf(),\n        className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(prefixCls, \"-calendar-item\"), (_classnames3 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames3, \"\".concat(prefixCls, \"-calendar-item-disabled\"), disabledDate && disabledDate(day)), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames3, \"\".concat(prefixCls, \"-calendar-current\"), currentMonth === (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(day)), _classnames3), getRangeCls(day))\n      }, _props), typeof cellRender === 'function' ? cellRender(day, {\n        originNode: originNode,\n        panelType: 'date',\n        range: range,\n        date: day\n      }) || originNode : originNode);\n    }));\n    var originNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_6___default()((_classnames4 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames4, \"\".concat(prefixCls, \"-calendar-line\"), picker !== 'week'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames4, \"\".concat(prefixCls, \"-calendar-week-line\"), picker === 'week'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames4, \"\".concat(prefixCls, \"-calendar-week-selected\"), picker === 'week' && getWeekSelected(startOfWeek)), _classnames4))\n    }, week);\n    return typeof cellRender === 'function' ? cellRender(weekNumber, {\n      originNode: originNode,\n      panelType: 'week',\n      range: range,\n      date: startOfWeek\n    }) || originNode : originNode;\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement((react__WEBPACK_IMPORTED_MODULE_5___default().Fragment), null, renderDays());\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (Week);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/week/week.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/year/year.js":
/*!*******************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/year/year.js ***!
  \*******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../context */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/context.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/date-fns/esm/getYear/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/date-fns.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/date-fns/esm/isAfter/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/date-fns/esm/isBefore/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../utils/date-fns */ \"../../node_modules/date-fns/esm/setYear/index.js\");\n/* harmony import */ var _hooks_use_range_cls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../hooks/use-range-cls */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-range-cls.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../utils */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/index.js\");\n\n\n\n\n\n\n\n\nfunction Year(props) {\n  var context = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_context__WEBPACK_IMPORTED_MODULE_4__[\"default\"]);\n  var prefixCls = context.prefixCls,\n    dateValue = context.dateValue,\n    viewDate = context.viewDate,\n    onDateMouseEnter = context.onDateMouseEnter,\n    onDateMouseLeave = context.onDateMouseLeave,\n    onSelect = context.onSelect,\n    rangeValue = context.rangeValue,\n    panelPosition = context.panelPosition,\n    hoverRangedValue = context.hoverRangedValue,\n    innerPicker = context.innerPicker,\n    setInnerPicker = context.setInnerPicker,\n    cellRender = context.cellRender,\n    range = context.range;\n  var yearItemNumber = props.yearItemNumber,\n    disabledDate = props.disabledDate,\n    _props$picker = props.picker,\n    picker = _props$picker === void 0 ? 'date' : _props$picker;\n  var _dateValue;\n  if (panelPosition) {\n    _dateValue = rangeValue;\n  } else {\n    _dateValue = dateValue;\n  }\n  var hasFindSelected = false;\n  var hasFindToday = false;\n  var getYearSelected = function getYearSelected(year) {\n    if (hasFindSelected) return false;\n    if (Array.isArray(_dateValue)) {\n      return _dateValue[0] && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_dateValue[0]) === year || _dateValue[1] && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_dateValue[1]) === year;\n    } else {\n      if (_dateValue && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_dateValue) === year) {\n        hasFindSelected = true;\n        return true;\n      }\n      return false;\n    }\n  };\n  var getYearToday = function getYearToday(year) {\n    if (hasFindToday) return false;\n    if (year === (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_5__[\"default\"])((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__.newDate)())) {\n      hasFindToday = true;\n      if (Array.isArray(_dateValue)) {\n        return _dateValue[0] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_dateValue[0]) !== (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_5__[\"default\"])((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__.newDate)()) : _dateValue[1] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_dateValue[1]) !== (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_5__[\"default\"])((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__.newDate)()) : true;\n      } else {\n        return _dateValue ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_dateValue) !== year : true;\n      }\n    }\n  };\n  function getYearClassNames(y) {\n    var _classnames;\n    return classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(prefixCls, \"-year-text\"), (_classnames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames, \"\".concat(prefixCls, \"-year-text-selected\"), getYearSelected(y)), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames, \"\".concat(prefixCls, \"-year-text-today\"), getYearToday(y)), _classnames));\n  }\n  var getRangeCls = (0,_hooks_use_range_cls__WEBPACK_IMPORTED_MODULE_7__[\"default\"])({\n    prefixCls: prefixCls,\n    rangeValue: rangeValue,\n    hoverRangedValue: hoverRangedValue,\n    isRange: !!panelPosition,\n    isAfterStart: function isAfterStart(date, rangedValue) {\n      return rangedValue[0] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__[\"default\"])((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__.getStartOfYear)(date), (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__.getStartOfYear)(rangedValue[0])) : false;\n    },\n    isBeforeEnd: function isBeforeEnd(date, rangedValue) {\n      return rangedValue[1] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_9__[\"default\"])((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__.getStartOfYear)(date), (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__.getStartOfYear)(rangedValue[1])) : false;\n    },\n    isStart: function isStart(date, rangedValue) {\n      return rangedValue[0] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__.isSameYear)(date, rangedValue[0]) : false;\n    },\n    isEnd: function isEnd(date, rangedValue) {\n      return rangedValue[1] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__.isSameYear)(date, rangedValue[1]) : false;\n    }\n  });\n  var handleClick = function handleClick(date) {\n    if (innerPicker === undefined) {\n      if (!(disabledDate && disabledDate(date))) {\n        onSelect(date, 'mouse');\n      }\n    } else {\n      //\n      var _viewDate = viewDate;\n      if (panelPosition) {\n        _viewDate = (0,_utils__WEBPACK_IMPORTED_MODULE_10__.getClosingViewDate)(viewDate, picker, -1);\n      }\n      // date = addYears(_viewDate, 1)\n      onSelect((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__.setYearOrMonthOfDate)(_viewDate, date), 'inner');\n      setInnerPicker(undefined);\n    }\n  };\n  function getYearList() {\n    var yearsList = [];\n    var _getYearsPeriod = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_6__.getYearsPeriod)(viewDate, yearItemNumber),\n      startPeriod = _getYearsPeriod.startPeriod,\n      endPeriod = _getYearsPeriod.endPeriod;\n    var _loop = function _loop() {\n      var year = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(viewDate, y);\n      var _props = {\n        onClick: function onClick() {\n          return handleClick(year);\n        },\n        onMouseEnter: function onMouseEnter() {\n          if (onDateMouseEnter && !(disabledDate && disabledDate(year))) {\n            onDateMouseEnter(year);\n          }\n        },\n        onMouseLeave: function onMouseLeave() {\n          if (onDateMouseLeave) {\n            onDateMouseLeave();\n          }\n        }\n      };\n      var originNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"span\", {\n        className: getYearClassNames(y)\n      }, y);\n      yearsList.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n        className: classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(prefixCls, \"-year-item\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(prefixCls, \"-year-item-disabled\"), disabledDate && disabledDate(year)), getRangeCls(year)),\n        key: y\n      }, _props), typeof cellRender === 'function' ? cellRender(y, {\n        originNode: originNode,\n        panelType: 'year',\n        range: range,\n        date: year\n      }) || originNode : originNode));\n    };\n    for (var y = startPeriod; y <= endPeriod; y++) {\n      _loop();\n    }\n    return yearsList;\n  }\n  var yearCls = classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(prefixCls, \"-year\"));\n  var yearWarpperCls = classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(prefixCls, \"-year-warpper\"));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: yearCls\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: yearWarpperCls\n  }, getYearList()));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (Year);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/panel/year/year.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/range-picker.js":
/*!****************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/range-picker.js ***!
  \****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var date_fns_isSameWeek__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! date-fns/isSameWeek */ \"../../node_modules/date-fns/esm/isSameWeek/index.js\");\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../_utils/hooks */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./context */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/context.js\");\n/* harmony import */ var _date_panel__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./date-panel */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/date-panel.js\");\n/* harmony import */ var _range_input_range__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./range/input-range */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/range/input-range.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./utils */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/index.js\");\n/* harmony import */ var _hooks_use_value_texts__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./hooks/use-value-texts */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-value-texts.js\");\n/* harmony import */ var _hooks_use_hover_value__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./hooks/use-hover-value */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-hover-value.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/date-fns */ \"../../node_modules/date-fns/esm/isAfter/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./utils/date-fns */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/date-fns.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./utils/date-fns */ \"../../node_modules/date-fns/esm/getHours/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./utils/date-fns */ \"../../node_modules/date-fns/esm/getMinutes/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./utils/date-fns */ \"../../node_modules/date-fns/esm/getSeconds/index.js\");\n/* harmony import */ var _utils_date_fns__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./utils/date-fns */ \"../../node_modules/date-fns/esm/isDate/index.js\");\n/* harmony import */ var _hooks_use_text_value_mapping__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./hooks/use-text-value-mapping */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-text-value-mapping.js\");\n/* harmony import */ var _hooks_use_range_view_dates__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./hooks/use-range-view-dates */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-range-view-dates.js\");\n/* harmony import */ var _hooks_use_range_disabled__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./hooks/use-range-disabled */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-range-disabled.js\");\n/* harmony import */ var _date_picker__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./date-picker */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/date-picker.js\");\n/* harmony import */ var _utils_get_extra_footer__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./utils/get-extra-footer */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/get-extra-footer.js\");\n/* harmony import */ var _utils_get_ranges__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./utils/get-ranges */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/get-ranges.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _utils_usePopper__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../_utils/usePopper */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/usePopper.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// 范围时间顺序错误时重新排序\nfunction reorderValues(values) {\n  if (values && values[0] && values[1] && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(values[0], values[1])) {\n    return [values[1], values[0]];\n  }\n  return values;\n}\n// 是否可以切换选择器\nfunction canValueTrigger(value, index, disabled, allowEmpty) {\n  if (value) {\n    return true;\n  }\n  if (allowEmpty && allowEmpty[index]) {\n    return true;\n  }\n  if (disabled[(index + 1) % 2]) {\n    return true;\n  }\n  return false;\n}\nvar InternalRangePicker = function InternalRangePicker(props, ref) {\n  var customPrefixcls = props.prefixCls;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_6__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_9__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps,\n    globalLocale = _useContext.locale;\n  var datePickerProps = (0,_utils__WEBPACK_IMPORTED_MODULE_10__.getCompProps)('RangePicker', userDefaultProps, props);\n  var datePickerPrefixCls = getPrefixCls(prefixCls, 'date-picker', customPrefixcls);\n  var allowClear = datePickerProps.allowClear,\n    value = datePickerProps.value,\n    defaultValue = datePickerProps.defaultValue,\n    mode = datePickerProps.mode,\n    _datePickerProps$pick = datePickerProps.picker,\n    picker = _datePickerProps$pick === void 0 ? 'date' : _datePickerProps$pick,\n    defaultOpen = datePickerProps.defaultOpen,\n    open = datePickerProps.open,\n    disabled = datePickerProps.disabled,\n    inputReadOnly = datePickerProps.inputReadOnly,\n    size = datePickerProps.size,\n    placeholder = datePickerProps.placeholder,\n    allowEmpty = datePickerProps.allowEmpty,\n    className = datePickerProps.className,\n    style = datePickerProps.style,\n    popupStyle = datePickerProps.popupStyle,\n    dropdownClassName = datePickerProps.dropdownClassName,\n    popupRef = datePickerProps.popupRef,\n    borderType = datePickerProps.borderType,\n    separator = datePickerProps.separator,\n    ranges = datePickerProps.ranges,\n    format = datePickerProps.format,\n    showTime = datePickerProps.showTime,\n    yearItemNumber = datePickerProps.yearItemNumber,\n    use12Hours = datePickerProps.use12Hours,\n    defaultPickerValue = datePickerProps.defaultPickerValue,\n    order = datePickerProps.order,\n    locale = datePickerProps.locale,\n    components = datePickerProps.components,\n    _datePickerProps$hour = datePickerProps.hourStep,\n    hourStep = _datePickerProps$hour === void 0 ? 1 : _datePickerProps$hour,\n    _datePickerProps$minu = datePickerProps.minuteStep,\n    minuteStep = _datePickerProps$minu === void 0 ? 1 : _datePickerProps$minu,\n    _datePickerProps$seco = datePickerProps.secondStep,\n    secondStep = _datePickerProps$seco === void 0 ? 1 : _datePickerProps$seco,\n    suffixIcon = datePickerProps.suffixIcon,\n    clearIcon = datePickerProps.clearIcon,\n    panelRender = datePickerProps.panelRender,\n    renderExtraFooter = datePickerProps.renderExtraFooter,\n    disabledHours = datePickerProps.disabledHours,\n    disabledMinutes = datePickerProps.disabledMinutes,\n    disabledSeconds = datePickerProps.disabledSeconds,\n    disabledDate = datePickerProps.disabledDate,\n    onOpenChange = datePickerProps.onOpenChange,\n    onChange = datePickerProps.onChange,\n    onCalendarChange = datePickerProps.onCalendarChange,\n    onFocus = datePickerProps.onFocus,\n    onBlur = datePickerProps.onBlur,\n    _onOk = datePickerProps.onOk,\n    getPopupContainer = datePickerProps.getPopupContainer,\n    status = datePickerProps.status,\n    cellRender = datePickerProps.cellRender;\n  var needConfirmButton = picker === 'date' && !!showTime || picker === 'time';\n  var datePickerLang = (0,_date_picker__WEBPACK_IMPORTED_MODULE_11__.mergeDateLocale)(globalLocale.getCompLangMsg({\n    componentName: 'DatePicker'\n  }), locale || {});\n  // ref\n  var panelDivRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null);\n  var defaultRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null);\n  var inputDivRef = ref || defaultRef;\n  var startInputDivRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null);\n  var endInputDivRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null);\n  var separatorRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null);\n  var startInputRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null);\n  var endInputRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null);\n  var defaultPopupRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null);\n  var popperRef = popupRef || defaultPopupRef;\n  var openRecordsRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)({});\n  var mergedDisabled = (0,react__WEBPACK_IMPORTED_MODULE_6__.useMemo)(function () {\n    if (Array.isArray(disabled)) {\n      return disabled;\n    }\n    return [disabled || false, disabled || false];\n  }, [disabled]);\n  var _format = (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getDefaultFormat)(format, picker, showTime, use12Hours);\n  // Active picker\n  var _useMergedState = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_13__.useMergedState)(0, {\n      // value: activePickerIndex,\n    }),\n    _useMergedState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useMergedState, 2),\n    mergedActivePickerIndex = _useMergedState2[0],\n    setMergedActivePickerIndex = _useMergedState2[1];\n  // 原始数据\n  var _useMergedState3 = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_13__.useMergedState)(null, {\n      value: value,\n      defaultValue: defaultValue\n    }),\n    _useMergedState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useMergedState3, 2),\n    dateValue = _useMergedState4[0],\n    setInnerValue = _useMergedState4[1];\n  // 选中的数据\n  var _useMergedState5 = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_13__.useMergedState)(null, {\n      defaultValue: dateValue,\n      postState: function postState(values) {\n        var postValues = values;\n        if (mergedDisabled[0] && mergedDisabled[1]) {\n          return postValues;\n        }\n        // Fill disabled unit\n        for (var i = 0; i < 2; i++) {\n          var v = (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getValue)(postValues, i);\n          if (mergedDisabled[i] && !v && !(0,_utils__WEBPACK_IMPORTED_MODULE_12__.getValue)(allowEmpty, i)) {\n            postValues = (0,_utils__WEBPACK_IMPORTED_MODULE_12__.updateValues)(postValues, (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_14__.newDate)(), i);\n          } else if (v && !(0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_14__.isValid)(v)) {\n            postValues = (0,_utils__WEBPACK_IMPORTED_MODULE_12__.updateValues)(postValues, null, i);\n          }\n        }\n        return postValues;\n      }\n    }),\n    _useMergedState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useMergedState5, 2),\n    selectedValue = _useMergedState6[0],\n    setSelectedValue = _useMergedState6[1];\n  var hours;\n  var minutes;\n  var seconds;\n  var originHour;\n  var minute;\n  var second;\n  var disabledTimePanel = false;\n  if (picker === 'time' || picker === 'date' && showTime) {\n    originHour = -1;\n    minute = -1;\n    second = -1;\n    if (selectedValue && selectedValue[mergedActivePickerIndex]) {\n      originHour = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_15__[\"default\"])(selectedValue[mergedActivePickerIndex]);\n      minute = selectedValue ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_16__[\"default\"])(selectedValue[mergedActivePickerIndex]) : -1;\n      second = selectedValue ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(selectedValue[mergedActivePickerIndex]) : -1;\n    }\n    hours = (0,_utils__WEBPACK_IMPORTED_MODULE_12__.generateUnits)(0, 23, hourStep, disabledHours && disabledHours());\n    minutes = (0,_utils__WEBPACK_IMPORTED_MODULE_12__.generateUnits)(0, 59, minuteStep, disabledMinutes && disabledMinutes(originHour));\n    seconds = (0,_utils__WEBPACK_IMPORTED_MODULE_12__.generateUnits)(0, 59, secondStep, disabledSeconds && disabledSeconds(originHour, minute));\n    if (hours && !_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_3___default()(hours).call(hours, function (n) {\n      return !n.disabled;\n    }) || minutes && !_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_3___default()(minutes).call(minutes, function (n) {\n      return !n.disabled;\n    }) || seconds && !_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_3___default()(seconds).call(seconds, function (n) {\n      return !n.disabled;\n    })) {\n      disabledTimePanel = true;\n    }\n  }\n  // 面板展示日期\n  var _useRangeViewDates = (0,_hooks_use_range_view_dates__WEBPACK_IMPORTED_MODULE_18__[\"default\"])({\n      values: dateValue,\n      picker: picker,\n      defaultDates: defaultPickerValue\n    }),\n    _useRangeViewDates2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useRangeViewDates, 2),\n    getViewDate = _useRangeViewDates2[0],\n    setViewDate = _useRangeViewDates2[1];\n  // text\n  var startValueTexts = (0,_hooks_use_value_texts__WEBPACK_IMPORTED_MODULE_19__[\"default\"])((0,_utils__WEBPACK_IMPORTED_MODULE_12__.getValue)(selectedValue, 0), {\n    format: _format\n  });\n  var endValueTexts = (0,_hooks_use_value_texts__WEBPACK_IMPORTED_MODULE_19__[\"default\"])((0,_utils__WEBPACK_IMPORTED_MODULE_12__.getValue)(selectedValue, 1), {\n    format: _format\n  });\n  var _onTextChange = function onTextChange(newText, index) {\n    var inputTempDate;\n    if (newText === '') {\n      triggerChange((0,_utils__WEBPACK_IMPORTED_MODULE_12__.updateValues)(selectedValue, null, index), index);\n    } else if (newText && newText.length >= _format.length) {\n      inputTempDate = (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_14__.parseDate)(newText, _format);\n      var disabledFunc = index === 0 ? disabledStartDate : disabledEndDate;\n      if (inputTempDate && (!disabledFunc || !disabledFunc(inputTempDate))) {\n        if (picker !== 'year') {\n          triggerChange((0,_utils__WEBPACK_IMPORTED_MODULE_12__.updateValues)(selectedValue, inputTempDate, index), index);\n          setViewDate(inputTempDate, index);\n        } else if ((0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_14__.isValid)(inputTempDate)) {\n          triggerChange((0,_utils__WEBPACK_IMPORTED_MODULE_12__.updateValues)(selectedValue, inputTempDate, index), index);\n          setViewDate(inputTempDate, index);\n        }\n      }\n    }\n  };\n  // input 展示\n  var _useTextValueMapping = (0,_hooks_use_text_value_mapping__WEBPACK_IMPORTED_MODULE_20__[\"default\"])({\n      valueText: startValueTexts,\n      onTextChange: function onTextChange(newText) {\n        return _onTextChange(newText, 0);\n      }\n    }),\n    _useTextValueMapping2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useTextValueMapping, 3),\n    startText = _useTextValueMapping2[0],\n    triggerStartTextChange = _useTextValueMapping2[1],\n    resetStartText = _useTextValueMapping2[2];\n  var _useTextValueMapping3 = (0,_hooks_use_text_value_mapping__WEBPACK_IMPORTED_MODULE_20__[\"default\"])({\n      valueText: endValueTexts,\n      onTextChange: function onTextChange(newText) {\n        return _onTextChange(newText, 1);\n      }\n    }),\n    _useTextValueMapping4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useTextValueMapping3, 3),\n    endText = _useTextValueMapping4[0],\n    triggerEndTextChange = _useTextValueMapping4[1],\n    resetEndText = _useTextValueMapping4[2];\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)([null, null]),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    hoverRangedValue = _useState2[0],\n    setHoverRangedValue = _useState2[1];\n  var _useHoverValue = (0,_hooks_use_hover_value__WEBPACK_IMPORTED_MODULE_21__[\"default\"])(startText, {\n      format: _format\n    }),\n    _useHoverValue2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useHoverValue, 3),\n    startHoverValue = _useHoverValue2[0],\n    onStartEnter = _useHoverValue2[1],\n    onStartLeave = _useHoverValue2[2];\n  var _useHoverValue3 = (0,_hooks_use_hover_value__WEBPACK_IMPORTED_MODULE_21__[\"default\"])(endText, {\n      format: _format\n    }),\n    _useHoverValue4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useHoverValue3, 3),\n    endHoverValue = _useHoverValue4[0],\n    onEndEnter = _useHoverValue4[1],\n    onEndLeave = _useHoverValue4[2];\n  var _useMergedState7 = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_13__.useMergedState)(false, {\n      value: open,\n      defaultValue: defaultOpen,\n      postState: function postState(postOpen) {\n        return mergedDisabled[mergedActivePickerIndex] ? false : postOpen;\n      },\n      onChange: function onChange(newOpen) {\n        if (onOpenChange) {\n          onOpenChange(newOpen);\n        }\n      }\n    }),\n    _useMergedState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useMergedState7, 2),\n    mergedOpen = _useMergedState8[0],\n    triggerInnerOpen = _useMergedState8[1];\n  var startOpen = mergedOpen && mergedActivePickerIndex === 0;\n  var endOpen = mergedOpen && mergedActivePickerIndex === 1;\n  var _useMergedState9 = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_13__.useMergedState)([picker, picker], {\n      value: mode\n    }),\n    _useMergedState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useMergedState9, 2),\n    mergedModes = _useMergedState10[0],\n    setInnerModes = _useMergedState10[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(undefined),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState3, 2),\n    innerPicker = _useState4[0],\n    setInnerPicker = _useState4[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () {\n    setInnerModes([picker, picker]);\n  }, [picker]);\n  var _useRangeDisabled = (0,_hooks_use_range_disabled__WEBPACK_IMPORTED_MODULE_22__[\"default\"])({\n      picker: picker,\n      selectedValue: selectedValue,\n      disabled: mergedDisabled,\n      disabledDate: disabledDate\n    }, openRecordsRef.current[1], openRecordsRef.current[0]),\n    _useRangeDisabled2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useRangeDisabled, 2),\n    disabledStartDate = _useRangeDisabled2[0],\n    disabledEndDate = _useRangeDisabled2[1];\n  var triggerRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)();\n  var triggerOpen = function triggerOpen(newOpen, index) {\n    if (newOpen) {\n      clearTimeout(triggerRef.current);\n      openRecordsRef.current[index] = true;\n      setMergedActivePickerIndex(index);\n      triggerInnerOpen(newOpen);\n      // Open to reset view date\n      if (!mergedOpen) {\n        setViewDate(null, index);\n      }\n    } else if (mergedActivePickerIndex === index) {\n      triggerInnerOpen(newOpen);\n      var openRecords = openRecordsRef.current;\n      triggerRef.current = setTimeout(function () {\n        if (openRecords === openRecordsRef.current) {\n          openRecordsRef.current = {};\n        }\n      });\n    }\n  };\n  var triggerOpenAndFocus = function triggerOpenAndFocus(index) {\n    triggerOpen(true, index);\n    // Use setTimeout to make sure panel DOM exists\n    setTimeout(function () {\n      var inputRef = [startInputRef, endInputRef][index];\n      if (inputRef.current) {\n        inputRef.current.focus();\n      }\n    }, 0);\n  };\n  var triggerChangeInner = function triggerChangeInner(values) {\n    if (typeof value === 'undefined') {\n      setInnerValue(values);\n    }\n    if (onChange && (!(0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_14__.isEqual)((0,_utils__WEBPACK_IMPORTED_MODULE_12__.getValue)(dateValue, 0), (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getValue)(values, 0)) || !(0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_14__.isEqual)((0,_utils__WEBPACK_IMPORTED_MODULE_12__.getValue)(dateValue, 1), (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getValue)(values, 1)))) {\n      onChange(values, [values && values[0] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_14__.formatDate)(values[0], _format) : '', values && values[1] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_14__.formatDate)(values[1], _format) : '']);\n    }\n  };\n  var triggerChange = function triggerChange(newValue, sourceIndex) {\n    var values = newValue;\n    var startValue = (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getValue)(values, 0);\n    var endValue = (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getValue)(values, 1);\n    if (startValue && endValue && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(startValue, endValue)) {\n      if (picker === 'week' && !(0,date_fns_isSameWeek__WEBPACK_IMPORTED_MODULE_23__[\"default\"])(startValue, endValue) || picker === 'quarter' && !(0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_14__.isSameQuarter)(startValue, endValue) || picker === 'time' && !(0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_14__.isEqual)(startValue, endValue) || picker !== 'week' && picker !== 'quarter' && picker !== 'time' && !(0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_14__.isSameDay)(startValue, endValue)) {\n        if (sourceIndex === 0) {\n          values = [startValue, null];\n          endValue = null;\n        } else {\n          startValue = null;\n          values = [null, endValue];\n        }\n        openRecordsRef.current = (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, sourceIndex, true);\n      }\n    }\n    setSelectedValue(values);\n    var startStr = values && values[0] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_14__.formatDate)(values[0], _format) : '';\n    var endStr = values && values[1] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_14__.formatDate)(values[1], _format) : '';\n    if (onCalendarChange) {\n      var info = {\n        range: sourceIndex === 0 ? 'start' : 'end'\n      };\n      onCalendarChange(values, [startStr, endStr], info);\n    }\n    var canStartValueTrigger = canValueTrigger(startValue, 0, mergedDisabled, allowEmpty);\n    var canEndValueTrigger = canValueTrigger(endValue, 1, mergedDisabled, allowEmpty);\n    var canTrigger = values === null || canStartValueTrigger && canEndValueTrigger;\n    if (canTrigger) {\n      if (order) {\n        triggerChangeInner(reorderValues(values));\n      } else {\n        triggerChangeInner(values);\n      }\n    }\n    var curValue = (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getValue)(values, sourceIndex);\n    var nextOpenIndex = null;\n    if (sourceIndex === 0 && !mergedDisabled[1]) {\n      nextOpenIndex = 1;\n    } else if (sourceIndex === 1 && !mergedDisabled[0]) {\n      nextOpenIndex = 0;\n    }\n    if (nextOpenIndex !== null && nextOpenIndex !== mergedActivePickerIndex && (!openRecordsRef.current[nextOpenIndex] || !(0,_utils__WEBPACK_IMPORTED_MODULE_12__.getValue)(values, nextOpenIndex)) && curValue) {\n      triggerOpenAndFocus(nextOpenIndex);\n    } else if (curValue) {\n      triggerOpen(false, sourceIndex);\n    }\n  };\n  var onSelect = function onSelect(date, type) {\n    var values = (0,_utils__WEBPACK_IMPORTED_MODULE_12__.updateValues)(selectedValue, date, mergedActivePickerIndex);\n    if (type === 'inner') {\n      if (values && values[mergedActivePickerIndex] && (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_24__[\"default\"])(values[mergedActivePickerIndex])) {\n        setViewDate(values[mergedActivePickerIndex], mergedActivePickerIndex);\n      }\n    } else {\n      if (type === 'submit' || type !== 'key' && !needConfirmButton) {\n        triggerChange(values, mergedActivePickerIndex);\n        if (mergedActivePickerIndex === 0) {\n          onStartLeave();\n        } else {\n          onEndLeave();\n        }\n      } else {\n        setSelectedValue(values);\n      }\n    }\n  };\n  var onDateMouseEnter = function onDateMouseEnter(date) {\n    setHoverRangedValue((0,_utils__WEBPACK_IMPORTED_MODULE_12__.updateValues)(selectedValue, date, mergedActivePickerIndex));\n    if (mergedActivePickerIndex === 0) {\n      onStartEnter(date);\n    } else {\n      onEndEnter(date);\n    }\n  };\n  var onDateMouseLeave = function onDateMouseLeave() {\n    if (mergedActivePickerIndex === 0) {\n      onStartLeave();\n    } else {\n      onEndLeave();\n    }\n    setHoverRangedValue([null, null]);\n  };\n  var startStr = dateValue && dateValue[0] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_14__.formatDate)(dateValue[0], 'YYYYMMDDHHmmss') : '';\n  var endStr = dateValue && dateValue[1] ? (0,_utils_date_fns__WEBPACK_IMPORTED_MODULE_14__.formatDate)(dateValue[1], 'YYYYMMDDHHmmss') : '';\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () {\n    if (!mergedOpen) {\n      setSelectedValue(dateValue);\n      setViewDate(null, 0);\n      setViewDate(null, 1);\n      resetStartText();\n      resetEndText();\n      setHoverRangedValue([null, null]);\n    } else {\n      setInnerPicker(undefined);\n    }\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n  }, [mergedOpen, startValueTexts, endValueTexts]);\n  // Sync innerValue with control mode\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () {\n    setSelectedValue(dateValue);\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n  }, [startStr, endStr]);\n  var renderPanel = function renderPanel() {\n    var panelProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, datePickerProps), {\n      mergedActivePickerIndex: mergedActivePickerIndex,\n      disabledDate: mergedActivePickerIndex === 0 ? disabledStartDate : disabledEndDate\n    });\n    var panelNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_date_panel__WEBPACK_IMPORTED_MODULE_25__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, panelProps));\n    if (panelRender) {\n      panelNode = panelRender(panelNode);\n    }\n    return panelNode;\n  };\n  var extraNode = (0,_utils_get_extra_footer__WEBPACK_IMPORTED_MODULE_26__[\"default\"])(datePickerPrefixCls, mergedModes[mergedActivePickerIndex], renderExtraFooter);\n  var rangesNode = (0,_utils_get_ranges__WEBPACK_IMPORTED_MODULE_27__[\"default\"])({\n    prefixCls: datePickerPrefixCls,\n    components: components,\n    needConfirmButton: needConfirmButton,\n    okDisabled: !(0,_utils__WEBPACK_IMPORTED_MODULE_12__.getValue)(selectedValue, mergedActivePickerIndex) || !!(selectedValue && selectedValue[mergedActivePickerIndex] && disabledDate && disabledDate(selectedValue[mergedActivePickerIndex])),\n    locale: datePickerLang,\n    // rangeList,\n    onOk: function onOk() {\n      if ((0,_utils__WEBPACK_IMPORTED_MODULE_12__.getValue)(selectedValue, mergedActivePickerIndex)) {\n        // triggerChangeOld(selectedValue);\n        triggerChange(selectedValue, mergedActivePickerIndex);\n        if (_onOk) {\n          _onOk(selectedValue);\n        }\n      }\n    }\n  });\n  // 渲染日期选择表盘\n  var renderPanels = function renderPanels() {\n    var panels;\n    var viewDate = getViewDate(mergedActivePickerIndex);\n    if (picker !== 'time' && !showTime) {\n      var nextViewDate = (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getClosingViewDate)(viewDate, picker, 1, yearItemNumber);\n      var leftPanel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_context__WEBPACK_IMPORTED_MODULE_28__[\"default\"].Provider, {\n        value: {\n          hoverRangedValue: hoverRangedValue,\n          panelPosition: 'left',\n          prefixCls: datePickerPrefixCls,\n          rangeValue: selectedValue,\n          viewDate: viewDate,\n          locale: datePickerLang,\n          open: mergedOpen,\n          onSelect: onSelect,\n          setViewDate: setViewDate,\n          onDateMouseEnter: onDateMouseEnter,\n          onDateMouseLeave: onDateMouseLeave,\n          innerPicker: innerPicker,\n          setInnerPicker: setInnerPicker,\n          cellRender: cellRender,\n          range: mergedActivePickerIndex === 0 ? 'start' : 'end'\n        }\n      }, renderPanel());\n      var rightPanel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_context__WEBPACK_IMPORTED_MODULE_28__[\"default\"].Provider, {\n        value: {\n          hoverRangedValue: hoverRangedValue,\n          panelPosition: 'right',\n          prefixCls: datePickerPrefixCls,\n          rangeValue: selectedValue,\n          viewDate: nextViewDate,\n          locale: datePickerLang,\n          open: mergedOpen,\n          onSelect: onSelect,\n          setViewDate: setViewDate,\n          onDateMouseEnter: onDateMouseEnter,\n          onDateMouseLeave: onDateMouseLeave,\n          innerPicker: innerPicker,\n          setInnerPicker: setInnerPicker,\n          cellRender: cellRender,\n          range: mergedActivePickerIndex === 0 ? 'start' : 'end'\n        }\n      }, renderPanel());\n      panels = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n        className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(\"\".concat(datePickerPrefixCls, \"-container-date\"))\n      }, leftPanel, innerPicker === undefined ? rightPanel : null);\n    } else {\n      panels = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_context__WEBPACK_IMPORTED_MODULE_28__[\"default\"].Provider, {\n        value: {\n          hours: hours,\n          minutes: minutes,\n          seconds: seconds,\n          originHour: originHour,\n          minute: minute,\n          second: second,\n          disabledTimePanel: disabledTimePanel,\n          rangeValue: selectedValue,\n          prefixCls: datePickerPrefixCls,\n          dateValue: selectedValue ? selectedValue[mergedActivePickerIndex] : null,\n          viewDate: viewDate,\n          locale: datePickerLang,\n          open: mergedOpen,\n          onSelect: onSelect,\n          setViewDate: setViewDate,\n          onDateMouseEnter: onDateMouseEnter,\n          onDateMouseLeave: onDateMouseLeave,\n          innerPicker: innerPicker,\n          setInnerPicker: setInnerPicker,\n          cellRender: cellRender,\n          range: mergedActivePickerIndex === 0 ? 'start' : 'end'\n        }\n      }, renderPanel());\n    }\n    return panels;\n  };\n  // 箭头偏移(不展示箭头也需要计算)\n  var arrowLeft = 0;\n  if (mergedActivePickerIndex && startInputDivRef.current && separatorRef.current) {\n    // Arrow offset\n    arrowLeft = startInputDivRef.current.offsetWidth + separatorRef.current.offsetWidth - 10;\n  }\n  // input active Bar 宽度 偏移\n  var activeBarLeft = -10;\n  var activeBarWidth = 0;\n  if (startInputDivRef.current && endInputDivRef.current && separatorRef.current) {\n    if (mergedActivePickerIndex === 0) {\n      activeBarWidth = startInputDivRef.current.offsetWidth;\n    } else {\n      activeBarLeft = arrowLeft;\n      activeBarWidth = endInputDivRef.current.offsetWidth;\n    }\n  }\n  var activeBarPositionStyle = {\n    left: activeBarLeft\n  };\n  var inputProps = {\n    startInputRef: startInputRef,\n    endInputRef: endInputRef,\n    startInputDivRef: startInputDivRef,\n    endInputDivRef: endInputDivRef,\n    separatorRef: separatorRef,\n    panelDivRef: panelDivRef,\n    activeBarWidth: activeBarWidth,\n    activeBarPositionStyle: activeBarPositionStyle,\n    allowClear: allowClear,\n    picker: picker,\n    borderType: borderType,\n    className: className,\n    style: style,\n    size: size,\n    placeholder: placeholder,\n    startText: startText,\n    endText: endText,\n    dateValue: dateValue,\n    selectedValue: selectedValue,\n    startHoverValue: startHoverValue,\n    endHoverValue: endHoverValue,\n    mergedDisabled: mergedDisabled,\n    mergedActivePickerIndex: mergedActivePickerIndex,\n    separator: separator,\n    startOpen: startOpen,\n    endOpen: endOpen,\n    needConfirmButton: needConfirmButton,\n    suffixIcon: suffixIcon,\n    clearIcon: clearIcon,\n    format: _format,\n    open: mergedOpen,\n    readOnly: inputReadOnly,\n    prefixCls: datePickerPrefixCls,\n    locale: datePickerLang,\n    dataOrAriaProps: (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getDataOrAriaProps)(datePickerProps),\n    resetStartText: resetStartText,\n    resetEndText: resetEndText,\n    triggerStartTextChange: triggerStartTextChange,\n    triggerEndTextChange: triggerEndTextChange,\n    triggerOpen: triggerOpen,\n    setSelectedValue: setSelectedValue,\n    setMergedActivePickerIndex: setMergedActivePickerIndex,\n    setHoverRangedValue: setHoverRangedValue,\n    triggerOpenAndFocus: triggerOpenAndFocus,\n    triggerChange: triggerChange,\n    onFocus: onFocus,\n    onBlur: onBlur,\n    status: status\n  };\n  var renderConfig = function renderConfig() {\n    if (ranges) {\n      var rangeArray = [];\n      _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_4___default()(ranges).forEach(function (key) {\n        var range = ranges[key];\n        if (typeof range === 'function') {\n          range = range();\n        }\n        if (Array.isArray(range) && range.length === 2 && range[0] && range[1]) {\n          rangeArray.push({\n            key: key,\n            newValue: [new Date(range[0]), new Date(range[1])]\n          });\n        }\n      });\n      if (rangeArray.length) {\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n          className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(\"\".concat(datePickerPrefixCls, \"-ranges\"))\n        }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default()(rangeArray).call(rangeArray, function (_ref) {\n          var key = _ref.key,\n            newValue = _ref.newValue;\n          return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n            className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(\"\".concat(datePickerPrefixCls, \"-ranges-item\")),\n            key: key,\n            onClick: function onClick() {\n              triggerChange(newValue, 1);\n              if (_onOk) {\n                _onOk(newValue);\n              }\n              triggerInnerOpen(false);\n            }\n          }, key);\n        }));\n      }\n    }\n    return null;\n  };\n  return (0,_utils_usePopper__WEBPACK_IMPORTED_MODULE_29__[\"default\"])( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_range_input_range__WEBPACK_IMPORTED_MODULE_30__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    ref: inputDivRef\n  }, inputProps)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    ref: popperRef,\n    onMouseDown: function onMouseDown(e) {\n      e.preventDefault();\n    },\n    className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(\"\".concat(datePickerPrefixCls, \"-container\"))\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", null, renderPanels(), extraNode || rangesNode ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(datePickerPrefixCls, \"-footer\")\n  }, extraNode, rangesNode) : null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", null, renderConfig())), {\n    trigger: 'click',\n    prefixCls: \"\".concat(datePickerPrefixCls, \"-panel\"),\n    arrow: false,\n    popperStyle: popupStyle,\n    popperClassName: dropdownClassName,\n    visible: mergedOpen,\n    placement: 'bottomLeft',\n    getPopupContainer: getPopupContainer\n  });\n};\nvar RangePicker = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_6__.forwardRef)(InternalRangePicker);\nRangePicker.displayName = 'RangePicker';\n/* harmony default export */ __webpack_exports__[\"default\"] = (RangePicker);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/range-picker.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/range/input-range.js":
/*!*********************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/range/input-range.js ***!
  \*********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _hooks_use_picker_input__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../hooks/use-picker-input */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-picker-input.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/index.js\");\n\n\n\n\n\n\n\n\n\nfunction InputDate(props, ref) {\n  var _classnames, _context, _classnames2, _context2, _classnames3, _context3, _classnames4;\n  var startInputRef = props.startInputRef,\n    endInputRef = props.endInputRef,\n    startInputDivRef = props.startInputDivRef,\n    endInputDivRef = props.endInputDivRef,\n    separatorRef = props.separatorRef,\n    panelDivRef = props.panelDivRef,\n    activeBarPositionStyle = props.activeBarPositionStyle,\n    activeBarWidth = props.activeBarWidth,\n    id = props.id,\n    autoFocus = props.autoFocus,\n    allowClear = props.allowClear,\n    className = props.className,\n    borderType = props.borderType,\n    mergedDisabled = props.mergedDisabled,\n    mergedActivePickerIndex = props.mergedActivePickerIndex,\n    startHoverValue = props.startHoverValue,\n    endHoverValue = props.endHoverValue,\n    startText = props.startText,\n    endText = props.endText,\n    picker = props.picker,\n    propsPlaceholder = props.placeholder,\n    style = props.style,\n    size = props.size,\n    needConfirmButton = props.needConfirmButton,\n    dateValue = props.dateValue,\n    selectedValue = props.selectedValue,\n    startOpen = props.startOpen,\n    endOpen = props.endOpen,\n    separator = props.separator,\n    suffixIcon = props.suffixIcon,\n    clearIcon = props.clearIcon,\n    format = props.format,\n    open = props.open,\n    readOnly = props.readOnly,\n    prefixCls = props.prefixCls,\n    locale = props.locale,\n    dataOrAriaProps = props.dataOrAriaProps,\n    _onFocus = props.onFocus,\n    onBlur = props.onBlur,\n    onMouseDown = props.onMouseDown,\n    onMouseUp = props.onMouseUp,\n    onMouseEnter = props.onMouseEnter,\n    onMouseLeave = props.onMouseLeave,\n    onContextMenu = props.onContextMenu,\n    onClick = props.onClick,\n    resetStartText = props.resetStartText,\n    resetEndText = props.resetEndText,\n    setSelectedValue = props.setSelectedValue,\n    triggerStartTextChange = props.triggerStartTextChange,\n    triggerEndTextChange = props.triggerEndTextChange,\n    _triggerOpen = props.triggerOpen,\n    triggerChange = props.triggerChange,\n    triggerOpenAndFocus = props.triggerOpenAndFocus,\n    setMergedActivePickerIndex = props.setMergedActivePickerIndex,\n    setHoverRangedValue = props.setHoverRangedValue,\n    status = props.status;\n  var preventBlurRef = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(false);\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    isMouseEnter = _useState2[0],\n    setIsMouseEnter = _useState2[1];\n  var placeholder = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getRangePlaceholder)(picker, locale, propsPlaceholder);\n  var onInternalonClick = function onInternalonClick(e) {\n    if (onClick) {\n      onClick(e);\n    }\n    if (!open && !startInputRef.current.contains(e.target) && !endInputRef.current.contains(e.target)) {\n      if (!mergedDisabled[0]) {\n        triggerOpenAndFocus(0);\n      } else if (!mergedDisabled[1]) {\n        triggerOpenAndFocus(1);\n      }\n    }\n  };\n  var onInternalonMouseDown = function onInternalonMouseDown(e) {\n    if (onMouseDown) {\n      onMouseDown(e);\n    }\n    if (open) {\n      preventBlurRef.current = true;\n      requestAnimationFrame(function () {\n        preventBlurRef.current = false;\n      });\n    }\n    if (open && (startFocused || endFocused) && !startInputRef.current.contains(e.target) && !endInputRef.current.contains(e.target)) {\n      e.preventDefault();\n    }\n  };\n  var getSuffixNode = function getSuffixNode() {\n    if (isMouseEnter && (startHoverValue || endHoverValue || startText || endText) && allowClear && !mergedDisabled[0] && !mergedDisabled[1]) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n        onMouseUp: function onMouseUp(e) {\n          e.stopPropagation();\n        },\n        onClick: function onClick(e) {\n          e.stopPropagation();\n          var values = dateValue;\n          if (!mergedDisabled[0]) {\n            values = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.updateValues)(values, null, 0);\n          }\n          if (!mergedDisabled[1]) {\n            values = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.updateValues)(values, null, 1);\n          }\n          triggerChange(values);\n          _triggerOpen(false, mergedActivePickerIndex);\n          setHoverRangedValue([null, null]);\n        },\n        className: \"\".concat(prefixCls, \"-range-clear\")\n      }, clearIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_index__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n        type: \"close-solid\"\n      }));\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-suffix\")\n    }, suffixIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_index__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n      type: picker === 'time' ? 'waiting' : 'date'\n    }));\n  };\n  var getSharedInputHookProps = function getSharedInputHookProps(index, resetText) {\n    return {\n      preventBlurRef: preventBlurRef,\n      blurToCancel: needConfirmButton,\n      onBlur: onBlur,\n      isClickOutside: function isClickOutside(target) {\n        return !(0,_utils__WEBPACK_IMPORTED_MODULE_6__.elementsContains)([panelDivRef.current, startInputDivRef.current, endInputDivRef.current], target);\n      },\n      onFocus: function onFocus(e) {\n        setMergedActivePickerIndex(index);\n        if (_onFocus) {\n          _onFocus(e);\n        }\n      },\n      triggerOpen: function triggerOpen(newOpen) {\n        _triggerOpen(newOpen, index);\n      },\n      onSubmit: function onSubmit() {\n        triggerChange(selectedValue, index);\n        resetText();\n      },\n      onCancel: function onCancel() {\n        _triggerOpen(false, index);\n        setSelectedValue(dateValue);\n        resetText();\n      }\n    };\n  };\n  var _usePickerInput = (0,_hooks_use_picker_input__WEBPACK_IMPORTED_MODULE_8__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, getSharedInputHookProps(0, resetStartText)), {\n      open: startOpen,\n      value: startText\n    })),\n    _usePickerInput2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_usePickerInput, 2),\n    startInputProps = _usePickerInput2[0],\n    _usePickerInput2$ = _usePickerInput2[1],\n    startFocused = _usePickerInput2$.focused,\n    startTyping = _usePickerInput2$.typing;\n  var _usePickerInput3 = (0,_hooks_use_picker_input__WEBPACK_IMPORTED_MODULE_8__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, getSharedInputHookProps(1, resetEndText)), {\n      open: endOpen,\n      value: endText\n    })),\n    _usePickerInput4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_usePickerInput3, 2),\n    endInputProps = _usePickerInput4[0],\n    _usePickerInput4$ = _usePickerInput4[1],\n    endFocused = _usePickerInput4$.focused,\n    endTyping = _usePickerInput4$.typing;\n  var borderClass = classnames__WEBPACK_IMPORTED_MODULE_5___default()((_classnames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames, \"\".concat(prefixCls, \"-underline\"), borderType === 'underline'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames, \"\".concat(prefixCls, \"-borderless\"), borderType === 'none'), _classnames));\n  var mouseEnterHandle = function mouseEnterHandle(e) {\n    setIsMouseEnter(true);\n    if (typeof onMouseEnter === 'function') {\n      onMouseEnter(e);\n    }\n  };\n  var mouseLeaveHandle = function mouseLeaveHandle(e) {\n    setIsMouseEnter(false);\n    if (typeof onMouseLeave === 'function') {\n      onMouseLeave(e);\n    }\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n    ref: ref,\n    className: classnames__WEBPACK_IMPORTED_MODULE_5___default()(prefixCls, \"\".concat(prefixCls, \"-range\"), className, borderClass, (_classnames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames2, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(prefixCls, \"-\")).call(_context, size), size), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames2, \"\".concat(prefixCls, \"-disabled\"), mergedDisabled[0] && mergedDisabled[1]), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames2, \"\".concat(prefixCls, \"-focused\"), mergedActivePickerIndex === 0 ? startFocused : endFocused), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames2, \"\".concat(prefixCls, \"-error\"), status === 'error'), _classnames2)),\n    style: style,\n    onMouseDown: onInternalonMouseDown,\n    onMouseUp: onMouseUp,\n    onMouseEnter: mouseEnterHandle,\n    onMouseLeave: mouseLeaveHandle,\n    onContextMenu: onContextMenu,\n    onClick: onInternalonClick\n  }, dataOrAriaProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_5___default()(\"\".concat(prefixCls, \"-input\"), (_classnames3 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames3, \"\".concat(prefixCls, \"-input-active\"), mergedActivePickerIndex === 0), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames3, \"\".concat(prefixCls, \"-input-placeholder\"), !!startHoverValue), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames3, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context2 = \"\".concat(prefixCls, \"-input-\")).call(_context2, size), size), _classnames3)),\n    ref: startInputDivRef\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"input\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n    id: id,\n    ref: startInputRef,\n    disabled: mergedDisabled[0],\n    readOnly: readOnly || typeof format === 'function' || !startTyping,\n    value: startHoverValue || startText,\n    onChange: function onChange(e) {\n      triggerStartTextChange(e.target.value);\n    },\n    // eslint-disable-next-line jsx-a11y/no-autofocus\n    autoFocus: autoFocus,\n    placeholder: (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getValue)(placeholder, 0) || ''\n  }, startInputProps, {\n    size: (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getInputSize)(picker, format)\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-range-separator\"),\n    ref: separatorRef\n  }, separator), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_5___default()(\"\".concat(prefixCls, \"-input\"), (_classnames4 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames4, \"\".concat(prefixCls, \"-input-active\"), mergedActivePickerIndex === 1), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames4, \"\".concat(prefixCls, \"-input-placeholder\"), !!endHoverValue), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames4, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context3 = \"\".concat(prefixCls, \"-input-\")).call(_context3, size), size), _classnames4)),\n    ref: endInputDivRef\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"input\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n    ref: endInputRef,\n    disabled: mergedDisabled[1],\n    readOnly: readOnly || typeof format === 'function' || !endTyping,\n    value: endHoverValue || endText,\n    onChange: function onChange(e) {\n      triggerEndTextChange(e.target.value);\n    },\n    placeholder: (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getValue)(placeholder, 1) || ''\n  }, endInputProps, {\n    size: (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getInputSize)(picker, format)\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-active-bar\"),\n    style: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, activeBarPositionStyle), {\n      width: activeBarWidth,\n      position: 'absolute'\n    })\n  }), getSuffixNode());\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().forwardRef(InputDate));\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/range/input-range.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/single/input-date.js":
/*!*********************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/single/input-date.js ***!
  \*********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _hooks_use_picker_input__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../hooks/use-picker-input */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/hooks/use-picker-input.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/index.js\");\n\n\n\n\n\n\n\n\n\nfunction InputDate(props, ref) {\n  var _classnames, _context, _classnames2;\n  var inputRef = props.inputRef,\n    panelDivRef = props.panelDivRef,\n    id = props.id,\n    autoFocus = props.autoFocus,\n    allowClear = props.allowClear,\n    className = props.className,\n    borderType = props.borderType,\n    disabled = props.disabled,\n    hoverValue = props.hoverValue,\n    picker = props.picker,\n    propsPlaceholder = props.placeholder,\n    style = props.style,\n    size = props.size,\n    text = props.text,\n    needConfirmButton = props.needConfirmButton,\n    dateValue = props.dateValue,\n    selectedValue = props.selectedValue,\n    suffixIcon = props.suffixIcon,\n    clearIcon = props.clearIcon,\n    format = props.format,\n    open = props.open,\n    readOnly = props.readOnly,\n    prefixCls = props.prefixCls,\n    locale = props.locale,\n    dataOrAriaProps = props.dataOrAriaProps,\n    disabledDate = props.disabledDate,\n    onFocus = props.onFocus,\n    onBlur = props.onBlur,\n    onMouseDown = props.onMouseDown,\n    onMouseUp = props.onMouseUp,\n    onMouseEnter = props.onMouseEnter,\n    onMouseLeave = props.onMouseLeave,\n    onContextMenu = props.onContextMenu,\n    onClick = props.onClick,\n    resetText = props.resetText,\n    setSelectedValue = props.setSelectedValue,\n    triggerTextChange = props.triggerTextChange,\n    triggerOpen = props.triggerOpen,\n    triggerChange = props.triggerChange,\n    status = props.status;\n  var preventBlurRef = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(false);\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    isMouseEnter = _useState2[0],\n    setIsMouseEnter = _useState2[1];\n  var placeholder = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getPlaceholder)(picker, locale, propsPlaceholder);\n  var getSuffixNode = function getSuffixNode() {\n    if (isMouseEnter && (hoverValue || text) && allowClear && !disabled) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n        onMouseUp: function onMouseUp(e) {\n          e.stopPropagation();\n        },\n        onClick: function onClick(e) {\n          e.stopPropagation();\n          triggerChange(null);\n          triggerOpen(false);\n        },\n        className: \"\".concat(prefixCls, \"-clear\")\n      }, clearIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_index__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n        type: \"close-solid\"\n      }));\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-suffix\")\n    }, suffixIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_index__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n      type: picker === 'time' ? 'waiting' : 'date'\n    }));\n  };\n  var mouseEnterHandle = function mouseEnterHandle(e) {\n    setIsMouseEnter(true);\n    if (typeof onMouseEnter === 'function') {\n      onMouseEnter(e);\n    }\n  };\n  var mouseLeaveHandle = function mouseLeaveHandle(e) {\n    setIsMouseEnter(false);\n    if (typeof onMouseLeave === 'function') {\n      onMouseLeave(e);\n    }\n  };\n  var onInternalMouseUp = function onInternalMouseUp() {\n    if (onMouseUp) {\n      onMouseUp.apply(void 0, arguments);\n    }\n    if (inputRef.current) {\n      inputRef.current.focus();\n      triggerOpen(true);\n    }\n  };\n  var onInternalonMouseDown = function onInternalonMouseDown() {\n    if (onMouseDown) {\n      onMouseDown.apply(void 0, arguments);\n    }\n    if (open) {\n      preventBlurRef.current = true;\n      requestAnimationFrame(function () {\n        preventBlurRef.current = false;\n      });\n    }\n  };\n  var _usePickerInput = (0,_hooks_use_picker_input__WEBPACK_IMPORTED_MODULE_8__[\"default\"])({\n      preventBlurRef: preventBlurRef,\n      blurToCancel: needConfirmButton,\n      open: open,\n      value: text,\n      triggerOpen: triggerOpen,\n      // forwardKeyDown,\n      isClickOutside: function isClickOutside(target) {\n        return !(0,_utils__WEBPACK_IMPORTED_MODULE_6__.elementsContains)([panelDivRef.current, ref.current], target);\n      },\n      onSubmit: function onSubmit() {\n        if (selectedValue && disabledDate && disabledDate(selectedValue)) {\n          return false;\n        }\n        triggerChange(selectedValue);\n        triggerOpen(false);\n        resetText();\n        return true;\n      },\n      onCancel: function onCancel() {\n        triggerOpen(false);\n        setSelectedValue(dateValue);\n        resetText();\n      },\n      onFocus: onFocus,\n      onBlur: onBlur\n    }),\n    _usePickerInput2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_usePickerInput, 2),\n    inputProps = _usePickerInput2[0],\n    _usePickerInput2$ = _usePickerInput2[1],\n    focused = _usePickerInput2$.focused,\n    typing = _usePickerInput2$.typing;\n  var borderClass = classnames__WEBPACK_IMPORTED_MODULE_5___default()((_classnames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames, \"\".concat(prefixCls, \"-underline\"), borderType === 'underline'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames, \"\".concat(prefixCls, \"-borderless\"), borderType === 'none'), _classnames));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    ref: ref,\n    className: classnames__WEBPACK_IMPORTED_MODULE_5___default()(prefixCls, className, borderClass, (_classnames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames2, \"\".concat(prefixCls, \"-disabled\"), disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames2, \"\".concat(prefixCls, \"-focused\"), focused), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames2, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(prefixCls, \"-\")).call(_context, size), size), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames2, \"\".concat(prefixCls, \"-error\"), status === 'error'), _classnames2)),\n    style: style,\n    onMouseDown: onInternalonMouseDown,\n    onMouseUp: onInternalMouseUp,\n    onMouseEnter: mouseEnterHandle,\n    onMouseLeave: mouseLeaveHandle,\n    onContextMenu: onContextMenu,\n    onClick: onClick\n  }, dataOrAriaProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_5___default()(\"\".concat(prefixCls, \"-input\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(prefixCls, \"-input-placeholder\"), !!hoverValue))\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"input\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    // className={classnames({\n    //   [`${prefixCls}-input-${size}`]: size,\n    // })}\n    id: id,\n    ref: inputRef,\n    // tabIndex={tabIndex}\n    disabled: disabled,\n    readOnly: readOnly || typeof format === 'function' || !typing,\n    value: hoverValue || text,\n    onChange: function onChange(e) {\n      triggerTextChange(e.target.value);\n    },\n    // eslint-disable-next-line jsx-a11y/no-autofocus\n    autoFocus: autoFocus,\n    placeholder: placeholder,\n    title: text\n  }, inputProps, {\n    size: (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getInputSize)(picker, format)\n  })), getSuffixNode()));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().forwardRef(InputDate));\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/single/input-date.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/date-fns.js":
/*!******************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/date-fns.js ***!
  \******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   DEFAULT_YEAR_ITEM_NUMBER: function() { return /* binding */ DEFAULT_YEAR_ITEM_NUMBER; },\n/* harmony export */   addDays: function() { return /* reexport safe */ date_fns_addDays__WEBPACK_IMPORTED_MODULE_33__[\"default\"]; },\n/* harmony export */   addHours: function() { return /* reexport safe */ date_fns_addHours__WEBPACK_IMPORTED_MODULE_36__[\"default\"]; },\n/* harmony export */   addMinutes: function() { return /* reexport safe */ date_fns_addMinutes__WEBPACK_IMPORTED_MODULE_32__[\"default\"]; },\n/* harmony export */   addMonths: function() { return /* reexport safe */ date_fns_addMonths__WEBPACK_IMPORTED_MODULE_34__[\"default\"]; },\n/* harmony export */   addWeeks: function() { return /* reexport safe */ date_fns_addWeeks__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; },\n/* harmony export */   addYears: function() { return /* reexport safe */ date_fns_addYears__WEBPACK_IMPORTED_MODULE_35__[\"default\"]; },\n/* harmony export */   formatDate: function() { return /* binding */ formatDate; },\n/* harmony export */   getDate: function() { return /* reexport safe */ date_fns_getDate__WEBPACK_IMPORTED_MODULE_24__[\"default\"]; },\n/* harmony export */   getDay: function() { return /* reexport safe */ date_fns_getDay__WEBPACK_IMPORTED_MODULE_23__[\"default\"]; },\n/* harmony export */   getEndOfWeek: function() { return /* binding */ getEndOfWeek; },\n/* harmony export */   getFormattedWeekdayInLocale: function() { return /* binding */ getFormattedWeekdayInLocale; },\n/* harmony export */   getHours: function() { return /* reexport safe */ date_fns_getHours__WEBPACK_IMPORTED_MODULE_19__[\"default\"]; },\n/* harmony export */   getLowerBoundTime: function() { return /* binding */ getLowerBoundTime; },\n/* harmony export */   getMinutes: function() { return /* reexport safe */ date_fns_getMinutes__WEBPACK_IMPORTED_MODULE_18__[\"default\"]; },\n/* harmony export */   getMonth: function() { return /* reexport safe */ date_fns_getMonth__WEBPACK_IMPORTED_MODULE_20__[\"default\"]; },\n/* harmony export */   getMonthInLocale: function() { return /* binding */ getMonthInLocale; },\n/* harmony export */   getMonthShortInLocale: function() { return /* binding */ getMonthShortInLocale; },\n/* harmony export */   getQuarter: function() { return /* reexport safe */ date_fns_getQuarter__WEBPACK_IMPORTED_MODULE_21__[\"default\"]; },\n/* harmony export */   getQuarterShortInLocale: function() { return /* binding */ getQuarterShortInLocale; },\n/* harmony export */   getSeconds: function() { return /* reexport safe */ date_fns_getSeconds__WEBPACK_IMPORTED_MODULE_17__[\"default\"]; },\n/* harmony export */   getStartOfDay: function() { return /* binding */ getStartOfDay; },\n/* harmony export */   getStartOfMonth: function() { return /* binding */ getStartOfMonth; },\n/* harmony export */   getStartOfQuarter: function() { return /* binding */ getStartOfQuarter; },\n/* harmony export */   getStartOfWeek: function() { return /* binding */ getStartOfWeek; },\n/* harmony export */   getStartOfYear: function() { return /* binding */ getStartOfYear; },\n/* harmony export */   getTime: function() { return /* reexport safe */ date_fns_getTime__WEBPACK_IMPORTED_MODULE_25__[\"default\"]; },\n/* harmony export */   getWeek: function() { return /* binding */ getWeek; },\n/* harmony export */   getWeekdayMinInLocale: function() { return /* binding */ getWeekdayMinInLocale; },\n/* harmony export */   getWeekdayShortInLocale: function() { return /* binding */ getWeekdayShortInLocale; },\n/* harmony export */   getYear: function() { return /* reexport safe */ date_fns_getYear__WEBPACK_IMPORTED_MODULE_22__[\"default\"]; },\n/* harmony export */   getYearsPeriod: function() { return /* binding */ getYearsPeriod; },\n/* harmony export */   isAfter: function() { return /* reexport safe */ date_fns_isAfter__WEBPACK_IMPORTED_MODULE_10__[\"default\"]; },\n/* harmony export */   isBefore: function() { return /* reexport safe */ date_fns_isBefore__WEBPACK_IMPORTED_MODULE_43__[\"default\"]; },\n/* harmony export */   isDate: function() { return /* reexport safe */ date_fns_isDate__WEBPACK_IMPORTED_MODULE_8__[\"default\"]; },\n/* harmony export */   isEqual: function() { return /* binding */ isEqual; },\n/* harmony export */   isNullEqual: function() { return /* binding */ isNullEqual; },\n/* harmony export */   isSameDay: function() { return /* binding */ isSameDay; },\n/* harmony export */   isSameMonth: function() { return /* binding */ isSameMonth; },\n/* harmony export */   isSameQuarter: function() { return /* binding */ isSameQuarter; },\n/* harmony export */   isSameYear: function() { return /* binding */ isSameYear; },\n/* harmony export */   isValid: function() { return /* binding */ isValid; },\n/* harmony export */   localeParse: function() { return /* binding */ localeParse; },\n/* harmony export */   newDate: function() { return /* binding */ newDate; },\n/* harmony export */   parseDate: function() { return /* binding */ parseDate; },\n/* harmony export */   setHours: function() { return /* reexport safe */ date_fns_setHours__WEBPACK_IMPORTED_MODULE_11__[\"default\"]; },\n/* harmony export */   setMinutes: function() { return /* reexport safe */ date_fns_setMinutes__WEBPACK_IMPORTED_MODULE_12__[\"default\"]; },\n/* harmony export */   setMonth: function() { return /* reexport safe */ date_fns_setMonth__WEBPACK_IMPORTED_MODULE_14__[\"default\"]; },\n/* harmony export */   setQuarter: function() { return /* reexport safe */ date_fns_setQuarter__WEBPACK_IMPORTED_MODULE_15__[\"default\"]; },\n/* harmony export */   setTime: function() { return /* binding */ setTime; },\n/* harmony export */   setYear: function() { return /* reexport safe */ date_fns_setYear__WEBPACK_IMPORTED_MODULE_16__[\"default\"]; },\n/* harmony export */   setYearOrMonthOfDate: function() { return /* binding */ setYearOrMonthOfDate; },\n/* harmony export */   subDays: function() { return /* reexport safe */ date_fns_subDays__WEBPACK_IMPORTED_MODULE_39__[\"default\"]; },\n/* harmony export */   subHours: function() { return /* reexport safe */ date_fns_subHours__WEBPACK_IMPORTED_MODULE_38__[\"default\"]; },\n/* harmony export */   subMinutes: function() { return /* reexport safe */ date_fns_subMinutes__WEBPACK_IMPORTED_MODULE_37__[\"default\"]; },\n/* harmony export */   subMonths: function() { return /* reexport safe */ date_fns_subMonths__WEBPACK_IMPORTED_MODULE_41__[\"default\"]; },\n/* harmony export */   subWeeks: function() { return /* reexport safe */ date_fns_subWeeks__WEBPACK_IMPORTED_MODULE_40__[\"default\"]; },\n/* harmony export */   subYears: function() { return /* reexport safe */ date_fns_subYears__WEBPACK_IMPORTED_MODULE_42__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var date_fns_isDate__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! date-fns/isDate */ \"../../node_modules/date-fns/esm/isDate/index.js\");\n/* harmony import */ var date_fns_isValid__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! date-fns/isValid */ \"../../node_modules/date-fns/esm/isValid/index.js\");\n/* harmony import */ var date_fns_format__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! date-fns/format */ \"../../node_modules/date-fns/esm/format/index.js\");\n/* harmony import */ var date_fns_addMinutes__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! date-fns/addMinutes */ \"../../node_modules/date-fns/esm/addMinutes/index.js\");\n/* harmony import */ var date_fns_addHours__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! date-fns/addHours */ \"../../node_modules/date-fns/esm/addHours/index.js\");\n/* harmony import */ var date_fns_addDays__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! date-fns/addDays */ \"../../node_modules/date-fns/esm/addDays/index.js\");\n/* harmony import */ var date_fns_addWeeks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! date-fns/addWeeks */ \"../../node_modules/date-fns/esm/addWeeks/index.js\");\n/* harmony import */ var date_fns_addMonths__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! date-fns/addMonths */ \"../../node_modules/date-fns/esm/addMonths/index.js\");\n/* harmony import */ var date_fns_addYears__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! date-fns/addYears */ \"../../node_modules/date-fns/esm/addYears/index.js\");\n/* harmony import */ var date_fns_subMinutes__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! date-fns/subMinutes */ \"../../node_modules/date-fns/esm/subMinutes/index.js\");\n/* harmony import */ var date_fns_subHours__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! date-fns/subHours */ \"../../node_modules/date-fns/esm/subHours/index.js\");\n/* harmony import */ var date_fns_subDays__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! date-fns/subDays */ \"../../node_modules/date-fns/esm/subDays/index.js\");\n/* harmony import */ var date_fns_subWeeks__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! date-fns/subWeeks */ \"../../node_modules/date-fns/esm/subWeeks/index.js\");\n/* harmony import */ var date_fns_subMonths__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! date-fns/subMonths */ \"../../node_modules/date-fns/esm/subMonths/index.js\");\n/* harmony import */ var date_fns_subYears__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! date-fns/subYears */ \"../../node_modules/date-fns/esm/subYears/index.js\");\n/* harmony import */ var date_fns_getSeconds__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! date-fns/getSeconds */ \"../../node_modules/date-fns/esm/getSeconds/index.js\");\n/* harmony import */ var date_fns_getMinutes__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! date-fns/getMinutes */ \"../../node_modules/date-fns/esm/getMinutes/index.js\");\n/* harmony import */ var date_fns_getHours__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! date-fns/getHours */ \"../../node_modules/date-fns/esm/getHours/index.js\");\n/* harmony import */ var date_fns_getDay__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! date-fns/getDay */ \"../../node_modules/date-fns/esm/getDay/index.js\");\n/* harmony import */ var date_fns_getDate__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! date-fns/getDate */ \"../../node_modules/date-fns/esm/getDate/index.js\");\n/* harmony import */ var date_fns_getWeek__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! date-fns/getWeek */ \"../../node_modules/date-fns/esm/getWeek/index.js\");\n/* harmony import */ var date_fns_getMonth__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! date-fns/getMonth */ \"../../node_modules/date-fns/esm/getMonth/index.js\");\n/* harmony import */ var date_fns_getQuarter__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! date-fns/getQuarter */ \"../../node_modules/date-fns/esm/getQuarter/index.js\");\n/* harmony import */ var date_fns_getYear__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! date-fns/getYear */ \"../../node_modules/date-fns/esm/getYear/index.js\");\n/* harmony import */ var date_fns_getTime__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! date-fns/getTime */ \"../../node_modules/date-fns/esm/getTime/index.js\");\n/* harmony import */ var date_fns_setSeconds__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! date-fns/setSeconds */ \"../../node_modules/date-fns/esm/setSeconds/index.js\");\n/* harmony import */ var date_fns_setMinutes__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! date-fns/setMinutes */ \"../../node_modules/date-fns/esm/setMinutes/index.js\");\n/* harmony import */ var date_fns_setHours__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! date-fns/setHours */ \"../../node_modules/date-fns/esm/setHours/index.js\");\n/* harmony import */ var date_fns_setMonth__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! date-fns/setMonth */ \"../../node_modules/date-fns/esm/setMonth/index.js\");\n/* harmony import */ var date_fns_setQuarter__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! date-fns/setQuarter */ \"../../node_modules/date-fns/esm/setQuarter/index.js\");\n/* harmony import */ var date_fns_setYear__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! date-fns/setYear */ \"../../node_modules/date-fns/esm/setYear/index.js\");\n/* harmony import */ var date_fns_startOfDay__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! date-fns/startOfDay */ \"../../node_modules/date-fns/esm/startOfDay/index.js\");\n/* harmony import */ var date_fns_startOfWeek__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! date-fns/startOfWeek */ \"../../node_modules/date-fns/esm/startOfWeek/index.js\");\n/* harmony import */ var date_fns_startOfMonth__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! date-fns/startOfMonth */ \"../../node_modules/date-fns/esm/startOfMonth/index.js\");\n/* harmony import */ var date_fns_startOfQuarter__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! date-fns/startOfQuarter */ \"../../node_modules/date-fns/esm/startOfQuarter/index.js\");\n/* harmony import */ var date_fns_startOfYear__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! date-fns/startOfYear */ \"../../node_modules/date-fns/esm/startOfYear/index.js\");\n/* harmony import */ var date_fns_endOfWeek__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! date-fns/endOfWeek */ \"../../node_modules/date-fns/esm/endOfWeek/index.js\");\n/* harmony import */ var date_fns_isEqual__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! date-fns/isEqual */ \"../../node_modules/date-fns/esm/isEqual/index.js\");\n/* harmony import */ var date_fns_isSameDay__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! date-fns/isSameDay */ \"../../node_modules/date-fns/esm/isSameDay/index.js\");\n/* harmony import */ var date_fns_isSameMonth__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! date-fns/isSameMonth */ \"../../node_modules/date-fns/esm/isSameMonth/index.js\");\n/* harmony import */ var date_fns_isSameYear__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! date-fns/isSameYear */ \"../../node_modules/date-fns/esm/isSameYear/index.js\");\n/* harmony import */ var date_fns_isSameQuarter__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! date-fns/isSameQuarter */ \"../../node_modules/date-fns/esm/isSameQuarter/index.js\");\n/* harmony import */ var date_fns_isAfter__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! date-fns/isAfter */ \"../../node_modules/date-fns/esm/isAfter/index.js\");\n/* harmony import */ var date_fns_isBefore__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! date-fns/isBefore */ \"../../node_modules/date-fns/esm/isBefore/index.js\");\n/* harmony import */ var date_fns_toDate__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! date-fns/toDate */ \"../../node_modules/date-fns/esm/toDate/index.js\");\n/* harmony import */ var date_fns_parse__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! date-fns/parse */ \"../../node_modules/date-fns/esm/parse/index.js\");\n/* harmony import */ var date_fns_parseISO__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! date-fns/parseISO */ \"../../node_modules/date-fns/esm/parseISO/index.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar DEFAULT_YEAR_ITEM_NUMBER = 12;\n// ** Date Constructors **\nfunction parseWeek(text) {\n  // parse Wo\n  // 只处理 yyyy-wo 格式\n  var matchText = text.match(/[-\\d]+/g);\n  // 存在后缀\n  if (!matchText || matchText[0] !== text) {\n    return null;\n  }\n  var year = matchText.join('').split('-')[0];\n  var weekStr = matchText.join('').split('-')[1];\n  if (year && weekStr) {\n    var firstDate = (0,date_fns_startOfYear__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(new Date(year));\n    for (var j = 0; j <= 52; j += 1) {\n      var nextWeek = (0,date_fns_addWeeks__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(firstDate, j);\n      var nextWeekStr = (0,date_fns_format__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(nextWeek, 'w');\n      if (nextWeekStr === weekStr) {\n        return nextWeek;\n      }\n    }\n  }\n  return null;\n}\nvar localeParse = function localeParse(format) {\n  return format.replace(/Y/g, 'y').replace(/D/g, 'd').replace(/gggg/, 'yyyy').replace(/g/g, 'G').replace(/([Ww])o/g, 'wo');\n};\nfunction isNullEqual(value1, value2) {\n  if (!value1 && !value2) {\n    return true;\n  }\n  if (!value1 || !value2) {\n    return false;\n  }\n  return undefined;\n}\n/**\n * @description 接受一个参数（若没有，返回当前），返回一个Date\n *\n * @export\n * @param {DateType} value\n * @returns\n */\nfunction newDate(value) {\n  var d = value ? typeof value === 'string' || value instanceof String ? (0,date_fns_parseISO__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(value) : (0,date_fns_toDate__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(value) : new Date();\n  return isValid(d) ? d : null;\n}\nfunction parseDate(value, dateFormat) {\n  var parsedDate = null;\n  var strictParsingValueMatch = true;\n  if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_0___default()(dateFormat).call(dateFormat, 'wo')) {\n    return parseWeek(value);\n  }\n  parsedDate = (0,date_fns_parse__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(value, dateFormat, new Date());\n  if (!isValid(parsedDate)) {\n    if (value.length > 0) {\n      parsedDate = (0,date_fns_parse__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(value, _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1___default()(dateFormat).call(dateFormat, 0, value.length), new Date());\n    }\n    if (!isValid(parsedDate)) {\n      parsedDate = new Date(value);\n    }\n  }\n  return isValid(parsedDate) && strictParsingValueMatch ? parsedDate : null;\n}\n// ** Date \"Reflection\" **\n\nfunction isValid(date) {\n  // 1000 年以后为有效值\n  return (0,date_fns_isValid__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(date) && (0,date_fns_isAfter__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(date, new Date('1/1/1000'));\n}\n// ** Date Formatting **\nfunction formatDate(date, _format, _locale) {\n  if (!isValid(date)) {\n    return null;\n  }\n  // if (typeof _format === 'function') {\n  //   return _format(date)\n  // }\n  return (0,date_fns_format__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(date, localeParse(_format));\n}\n// ** Date Setters **\nfunction setTime(date, _ref) {\n  var _ref$hour = _ref.hour,\n    hour = _ref$hour === void 0 ? 0 : _ref$hour,\n    _ref$minute = _ref.minute,\n    minute = _ref$minute === void 0 ? 0 : _ref$minute,\n    _ref$second = _ref.second,\n    second = _ref$second === void 0 ? 0 : _ref$second;\n  return (0,date_fns_setHours__WEBPACK_IMPORTED_MODULE_11__[\"default\"])((0,date_fns_setMinutes__WEBPACK_IMPORTED_MODULE_12__[\"default\"])((0,date_fns_setSeconds__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(date, second), minute), hour);\n}\n\n// ** Date Getters **\n\nfunction getWeek(date) {\n  return (0,date_fns_getWeek__WEBPACK_IMPORTED_MODULE_26__[\"default\"])(date);\n}\n// *** Start of ***\nfunction getStartOfDay(date) {\n  return (0,date_fns_startOfDay__WEBPACK_IMPORTED_MODULE_27__[\"default\"])(date);\n}\nfunction getStartOfWeek(date) {\n  return (0,date_fns_startOfWeek__WEBPACK_IMPORTED_MODULE_28__[\"default\"])(date);\n  // return startOfWeek(date)\n}\n\nfunction getStartOfMonth(date) {\n  return (0,date_fns_startOfMonth__WEBPACK_IMPORTED_MODULE_29__[\"default\"])(date);\n}\nfunction getStartOfYear(date) {\n  return (0,date_fns_startOfYear__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(date);\n}\nfunction getStartOfQuarter(date) {\n  return (0,date_fns_startOfQuarter__WEBPACK_IMPORTED_MODULE_30__[\"default\"])(date);\n}\n// *** End of ***\nfunction getEndOfWeek(date) {\n  return (0,date_fns_endOfWeek__WEBPACK_IMPORTED_MODULE_31__[\"default\"])(date);\n}\n// ** Date Math **\n// *** Addition ***\n\n// *** Subtraction ***\n\n// ** Date Comparison **\n\nfunction isSameYear(date1, date2) {\n  var equal = isNullEqual(date1, date2);\n  if (typeof equal === 'boolean') {\n    return equal;\n  }\n  if (date1 && date2) {\n    return (0,date_fns_isSameYear__WEBPACK_IMPORTED_MODULE_44__[\"default\"])(date1, date2);\n  } else {\n    return !date1 && !date2;\n  }\n}\nfunction isSameMonth(date1, date2) {\n  var equal = isNullEqual(date1, date2);\n  if (typeof equal === 'boolean') {\n    return equal;\n  }\n  if (date1 && date2) {\n    return (0,date_fns_isSameMonth__WEBPACK_IMPORTED_MODULE_45__[\"default\"])(date1, date2);\n  } else {\n    return !date1 && !date2;\n  }\n}\nfunction isSameQuarter(date1, date2) {\n  var equal = isNullEqual(date1, date2);\n  if (typeof equal === 'boolean') {\n    return equal;\n  }\n  if (date1 && date2) {\n    return (0,date_fns_isSameQuarter__WEBPACK_IMPORTED_MODULE_46__[\"default\"])(date1, date2);\n  } else {\n    return !date1 && !date2;\n  }\n}\nfunction isSameDay(date1, date2) {\n  var equal = isNullEqual(date1, date2);\n  if (typeof equal === 'boolean') {\n    return equal;\n  }\n  if (date1 && date2) {\n    return (0,date_fns_isSameDay__WEBPACK_IMPORTED_MODULE_47__[\"default\"])(date1, date2);\n  } else {\n    return !date1 && !date2;\n  }\n}\nfunction isEqual(date1, date2) {\n  if (date1 && date2) {\n    return (0,date_fns_isEqual__WEBPACK_IMPORTED_MODULE_48__[\"default\"])(date1, date2);\n  } else {\n    return !date1 && !date2;\n  }\n}\nfunction getFormattedWeekdayInLocale(date, formatFunc, locale) {\n  return formatFunc(formatDate(date, 'EEEE', locale));\n}\nfunction getWeekdayMinInLocale(date, locale) {\n  return formatDate(date, 'EEEEEE', locale);\n}\nfunction getWeekdayShortInLocale(date, locale) {\n  return formatDate(date, 'EEE', locale);\n}\nfunction getMonthInLocale(month, locale) {\n  return formatDate((0,date_fns_setMonth__WEBPACK_IMPORTED_MODULE_14__[\"default\"])(newDate(), month), 'LLLL', locale);\n}\nfunction getMonthShortInLocale(month, locale) {\n  return formatDate((0,date_fns_setMonth__WEBPACK_IMPORTED_MODULE_14__[\"default\"])(newDate(), month), 'LLL', locale);\n}\nfunction getQuarterShortInLocale(quarter, locale) {\n  return formatDate((0,date_fns_setQuarter__WEBPACK_IMPORTED_MODULE_15__[\"default\"])(newDate(), quarter), 'QQQ', locale);\n}\n/**\n * @description 根据传入时间，展示年份数自动生成年份范围\n *\n * @export\n * @param {DateType} date\n * @param { number} yearItemNumber\n * @returns\n */\nfunction getYearsPeriod(date, yearItemNumber) {\n  var endPeriod = Math.ceil((0,date_fns_getYear__WEBPACK_IMPORTED_MODULE_22__[\"default\"])(date) / yearItemNumber) * yearItemNumber;\n  var startPeriod = endPeriod - (yearItemNumber - 1);\n  return {\n    startPeriod: startPeriod,\n    endPeriod: endPeriod\n  };\n}\nfunction getLowerBoundTime(hour, minute, second, hourStep, minuteStep, secondStep) {\n  var lowerBoundHour = Math.floor(hour / hourStep) * hourStep;\n  if (lowerBoundHour < hour) {\n    return [lowerBoundHour, 60 - minuteStep, 60 - secondStep];\n  }\n  var lowerBoundMinute = Math.floor(minute / minuteStep) * minuteStep;\n  if (lowerBoundMinute < minute) {\n    return [lowerBoundHour, lowerBoundMinute, 60 - secondStep];\n  }\n  var lowerBoundSecond = Math.floor(second / secondStep) * secondStep;\n  return [lowerBoundHour, lowerBoundMinute, lowerBoundSecond];\n}\nvar setYearOrMonthOfDate = function setYearOrMonthOfDate(date1, date2) {\n  var type = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'year';\n  var d1 = new Date(date1 || 0);\n  var d2 = new Date(date2 || 0);\n  if (type === 'year' && d1.getFullYear() !== d2.getFullYear()) {\n    d1.setDate(1);\n    d1.setFullYear(d2.getFullYear());\n  }\n  if (type === 'month' && d1.getMonth() !== d2.getMonth()) {\n    d1.setDate(1);\n    d1.setMonth(d2.getMonth());\n  }\n  return d1;\n};\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/date-fns.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/get-extra-footer.js":
/*!**************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/get-extra-footer.js ***!
  \**************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ getExtraFooter; }\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\nfunction getExtraFooter(prefixCls, mode, renderExtraFooter) {\n  if (!renderExtraFooter) {\n    return null;\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-footer-extra\")\n  }, renderExtraFooter(mode));\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/get-extra-footer.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/get-ranges.js":
/*!********************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/get-ranges.js ***!
  \********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ getRanges; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\nfunction getRanges(_ref) {\n  var prefixCls = _ref.prefixCls,\n    _ref$rangeList = _ref.rangeList,\n    rangeList = _ref$rangeList === void 0 ? [] : _ref$rangeList,\n    _ref$components = _ref.components,\n    components = _ref$components === void 0 ? {} : _ref$components,\n    needConfirmButton = _ref.needConfirmButton,\n    onNow = _ref.onNow,\n    onOk = _ref.onOk,\n    okDisabled = _ref.okDisabled,\n    showNow = _ref.showNow,\n    locale = _ref.locale;\n  var presetNode;\n  var okNode;\n  if (rangeList.length) {\n    var Item = components.rangeItem || 'span';\n    presetNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0___default()(rangeList).call(rangeList, function (_ref2) {\n      var label = _ref2.label,\n        onClick = _ref2.onClick,\n        onMouseEnter = _ref2.onMouseEnter,\n        onMouseLeave = _ref2.onMouseLeave;\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"li\", {\n        key: label,\n        className: \"\".concat(prefixCls, \"-preset\")\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Item, {\n        onClick: onClick,\n        onMouseEnter: onMouseEnter,\n        onMouseLeave: onMouseLeave\n      }, label));\n    }));\n  }\n  if (needConfirmButton) {\n    var Button = components.button || 'div';\n    if (onNow && !presetNode && showNow !== false) {\n      presetNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"li\", {\n        className: \"\".concat(prefixCls, \"-now\")\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"span\", {\n        className: \"\".concat(prefixCls, \"-now-btn\"),\n        onClick: onNow\n      }, locale.now));\n    }\n    okNode = needConfirmButton && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"li\", {\n      className: \"\".concat(prefixCls, \"-ok\")\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Button, {\n      onClick: onOk,\n      className: classnames__WEBPACK_IMPORTED_MODULE_2___default()(\"\".concat(prefixCls, \"-ok-btn\"), okDisabled && \"\".concat(prefixCls, \"-btn-disabled\"))\n    }, locale.confrim));\n  }\n  if (!presetNode && !okNode) {\n    return null;\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"ul\", {\n    className: \"\".concat(prefixCls, \"-btns\")\n  }, presetNode, okNode);\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/get-ranges.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/index.js":
/*!***************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/index.js ***!
  \***************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   PickerModeMap: function() { return /* binding */ PickerModeMap; },\n/* harmony export */   elementsContains: function() { return /* binding */ elementsContains; },\n/* harmony export */   generateUnits: function() { return /* binding */ generateUnits; },\n/* harmony export */   getClosingViewDate: function() { return /* binding */ getClosingViewDate; },\n/* harmony export */   getDataOrAriaProps: function() { return /* binding */ getDataOrAriaProps; },\n/* harmony export */   getDefaultFormat: function() { return /* binding */ getDefaultFormat; },\n/* harmony export */   getInputSize: function() { return /* binding */ getInputSize; },\n/* harmony export */   getInternalNextMode: function() { return /* binding */ getInternalNextMode; },\n/* harmony export */   getPlaceholder: function() { return /* binding */ getPlaceholder; },\n/* harmony export */   getRangePlaceholder: function() { return /* binding */ getRangePlaceholder; },\n/* harmony export */   getTimeProps: function() { return /* binding */ getTimeProps; },\n/* harmony export */   getValue: function() { return /* binding */ getValue; },\n/* harmony export */   isVisible: function() { return /* binding */ isVisible; },\n/* harmony export */   leftPad: function() { return /* binding */ leftPad; },\n/* harmony export */   scrollTo: function() { return /* binding */ scrollTo; },\n/* harmony export */   toArray: function() { return /* binding */ toArray; },\n/* harmony export */   updateValues: function() { return /* binding */ updateValues; },\n/* harmony export */   waitElementReady: function() { return /* binding */ waitElementReady; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! date-fns */ \"../../node_modules/date-fns/esm/addYears/index.js\");\n/* harmony import */ var date_fns__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! date-fns */ \"../../node_modules/date-fns/esm/addMonths/index.js\");\n/* harmony import */ var _date_fns__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./date-fns */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/date-fns.js\");\n\n\n\n\n\n\n\nfunction toArray(val) {\n  if (val === null || val === undefined) {\n    return [];\n  }\n  return Array.isArray(val) ? val : [val];\n}\nfunction getValue(values, index) {\n  return values ? values[index] : null;\n}\nfunction updateValues(values, value, index) {\n  var newValues = [getValue(values, 0), getValue(values, 1)];\n  newValues[index] = typeof value === 'function' ? value(newValues[index]) : value;\n  if (!newValues[0] && !newValues[1]) {\n    return null;\n  }\n  return newValues;\n}\nfunction getClosingViewDate(viewDate, picker) {\n  var offset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n  var yearItemNumber = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : _date_fns__WEBPACK_IMPORTED_MODULE_5__.DEFAULT_YEAR_ITEM_NUMBER;\n  switch (picker) {\n    case 'year':\n      return (0,date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(viewDate, offset * yearItemNumber);\n    case 'quarter':\n    case 'month':\n      return (0,date_fns__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(viewDate, offset);\n    default:\n      return (0,date_fns__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(viewDate, offset);\n  }\n}\n// ===================== Format =====================\nfunction getDefaultFormat(format, picker, showTime, use12Hours) {\n  var mergedFormat = format;\n  if (!mergedFormat) {\n    switch (picker) {\n      case 'time':\n        mergedFormat = use12Hours ? 'hh:mm:ss a' : 'HH:mm:ss';\n        break;\n      case 'week':\n        mergedFormat = 'gggg-wo';\n        break;\n      case 'month':\n        mergedFormat = 'YYYY-MM';\n        break;\n      case 'quarter':\n        mergedFormat = 'YYYY-QQQ';\n        break;\n      case 'year':\n        mergedFormat = 'YYYY';\n        break;\n      default:\n        if (showTime) {\n          if (use12Hours) {\n            mergedFormat = 'YYYY-MM-DD hh:mm:ss a';\n          } else {\n            mergedFormat = 'YYYY-MM-DD HH:mm:ss';\n          }\n        } else {\n          mergedFormat = 'YYYY-MM-DD';\n        }\n    }\n    mergedFormat = (0,_date_fns__WEBPACK_IMPORTED_MODULE_5__.localeParse)(mergedFormat);\n  }\n  return mergedFormat;\n}\nfunction getPlaceholder(picker, locale, customizePlaceholder) {\n  if (customizePlaceholder !== undefined) {\n    return customizePlaceholder;\n  }\n  if (picker === 'year' && locale.yearPlaceholder) {\n    return locale.yearPlaceholder;\n  }\n  if (picker === 'quarter' && locale.quarterPlaceholder) {\n    return locale.quarterPlaceholder;\n  }\n  if (picker === 'month' && locale.monthPlaceholder) {\n    return locale.monthPlaceholder;\n  }\n  if (picker === 'week' && locale.weekPlaceholder) {\n    return locale.weekPlaceholder;\n  }\n  if (picker === 'time' && locale.timePlaceholder) {\n    return locale.timePlaceholder;\n  }\n  return locale.placeholder;\n}\nfunction getRangePlaceholder(picker, locale, customizePlaceholder) {\n  if (customizePlaceholder !== undefined) {\n    return customizePlaceholder;\n  }\n  if (picker === 'year' && locale.rangeYearPlaceholder) {\n    return locale.rangeYearPlaceholder;\n  }\n  if (picker === 'quarter' && locale.rangeQuarterPlaceholder) {\n    return locale.rangeQuarterPlaceholder;\n  }\n  if (picker === 'month' && locale.rangeMonthPlaceholder) {\n    return locale.rangeMonthPlaceholder;\n  }\n  if (picker === 'week' && locale.rangeWeekPlaceholder) {\n    return locale.rangeWeekPlaceholder;\n  }\n  if (picker === 'time' && locale.rangeTimePlaceholder) {\n    return locale.rangeTimePlaceholder;\n  }\n  return locale.rangePlaceholder;\n}\nfunction elementsContains(elements, target) {\n  return elements.some(function (ele) {\n    return ele && ele.contains(target);\n  });\n}\nfunction getInputSize(picker, format) {\n  var defaultSize = picker === 'time' ? 8 : 10;\n  var length = format.length;\n  return Math.max(defaultSize, length) + 2;\n}\nfunction getDataOrAriaProps(props) {\n  var retProps = {};\n  _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_1___default()(props).forEach(function (key) {\n    if ((key.substr(0, 5) === 'data-' || key.substr(0, 5) === 'aria-' || key === 'role' || key === 'name') && key.substr(0, 7) !== 'data-__') {\n      retProps[key] = props[key];\n    }\n  });\n  return retProps;\n}\nfunction getTimeProps(props) {\n  var format = props.format,\n    picker = props.picker,\n    showHour = props.showHour,\n    showMinute = props.showMinute,\n    showSecond = props.showSecond,\n    use12Hours = props.use12Hours;\n  var firstFormat = toArray(format)[0];\n  var showTimeObj = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, props);\n  if (firstFormat) {\n    if (!_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default()(firstFormat).call(firstFormat, 's') && showSecond === undefined) {\n      showTimeObj.showSecond = false;\n    }\n    if (!_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default()(firstFormat).call(firstFormat, 'm') && showMinute === undefined) {\n      showTimeObj.showMinute = false;\n    }\n    if (!_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default()(firstFormat).call(firstFormat, 'H') && !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default()(firstFormat).call(firstFormat, 'h') && showHour === undefined) {\n      showTimeObj.showHour = false;\n    }\n    if ((_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default()(firstFormat).call(firstFormat, 'a') || _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default()(firstFormat).call(firstFormat, 'A')) && use12Hours === undefined) {\n      showTimeObj.use12Hours = true;\n    }\n  }\n  if (picker === 'time') {\n    return showTimeObj;\n  }\n  return {\n    showTime: showTimeObj\n  };\n}\nfunction leftPad(str, length) {\n  var fill = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '0';\n  var current = String(str);\n  while (current.length < length) {\n    var _context;\n    current = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(fill)).call(_context, str);\n  }\n  return current;\n}\nfunction isVisible(element) {\n  if (!element) {\n    return false;\n  }\n  if (element.offsetParent) {\n    return true;\n  }\n  if (element instanceof SVGGraphicsElement) {\n    var box = element.getBBox();\n    if (box.width || box.height) {\n      return true;\n    }\n  }\n  if (element instanceof HTMLElement) {\n    var _box = element.getBoundingClientRect();\n    if (_box.width || _box.height) {\n      return true;\n    }\n  }\n  return false;\n}\nvar raf = function raf(callback) {\n  return +setTimeout(callback, 16);\n};\nvar caf = function caf(num) {\n  return clearTimeout(num);\n};\nif (typeof window !== 'undefined' && 'requestAnimationFrame' in window) {\n  raf = function raf(callback) {\n    return window.requestAnimationFrame(callback);\n  };\n  caf = function caf(handle) {\n    return window.cancelAnimationFrame(handle);\n  };\n}\nfunction wrapperRaf(callback) {\n  return raf(callback);\n}\nwrapperRaf.cancel = caf;\nfunction waitElementReady(element, callback) {\n  var id;\n  function tryOrNextFrame() {\n    if (isVisible(element)) {\n      callback();\n    } else {\n      id = wrapperRaf(function () {\n        tryOrNextFrame();\n      });\n    }\n  }\n  tryOrNextFrame();\n  return function () {\n    wrapperRaf.cancel(id);\n  };\n}\nvar scrollIds = new (_babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_4___default())();\n/* eslint-disable no-param-reassign */\nfunction scrollTo(element, to, duration) {\n  if (scrollIds.get(element)) {\n    cancelAnimationFrame(scrollIds.get(element));\n  }\n  // jump to target if duration zero\n  if (duration <= 0) {\n    scrollIds.set(element, requestAnimationFrame(function () {\n      element.scrollTop = to;\n    }));\n    return;\n  }\n  var difference = to - element.scrollTop;\n  var perTick = difference / duration * 10;\n  scrollIds.set(element, requestAnimationFrame(function () {\n    element.scrollTop += perTick;\n    if (element.scrollTop !== to) {\n      scrollTo(element, to, duration - 10);\n    }\n  }));\n}\nvar getYearNextMode = function getYearNextMode(next) {\n  if (next === 'month' || next === 'date') {\n    return 'year';\n  }\n  return next;\n};\nvar getMonthNextMode = function getMonthNextMode(next) {\n  if (next === 'date') {\n    return 'month';\n  }\n  return next;\n};\nvar getQuarterNextMode = function getQuarterNextMode(next) {\n  if (next === 'month' || next === 'date') {\n    return 'quarter';\n  }\n  return next;\n};\nvar getWeekNextMode = function getWeekNextMode(next) {\n  if (next === 'date') {\n    return 'week';\n  }\n  return next;\n};\nvar PickerModeMap = {\n  year: getYearNextMode,\n  month: getMonthNextMode,\n  quarter: getQuarterNextMode,\n  week: getWeekNextMode,\n  time: null,\n  date: null\n};\nvar getInternalNextMode = function getInternalNextMode(nextMode, picker) {\n  var getNextMode = PickerModeMap[picker];\n  if (getNextMode) {\n    return getNextMode(nextMode);\n  }\n  return nextMode;\n};\nvar generateUnits = function generateUnits(start, end, step, disabledUnits) {\n  var units = [];\n  for (var i = start; i <= end; i += step) {\n    var _context2;\n    units.push({\n      label: leftPad(i, 2),\n      value: i,\n      disabled: _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default()(_context2 = disabledUnits || []).call(_context2, i)\n    });\n  }\n  return units;\n};\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/date-picker/utils/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/divider/divider.js":
/*!*******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/divider/divider.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   DividerBorderStyles: function() { return /* binding */ DividerBorderStyles; },\n/* harmony export */   DividerOrientations: function() { return /* binding */ DividerOrientations; },\n/* harmony export */   DividerTypes: function() { return /* binding */ DividerTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\nvar DividerTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('horizontal', 'vertical');\nvar DividerOrientations = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('left', 'center', 'right');\nvar DividerBorderStyles = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('solid', 'dashed', 'dotted');\nvar Divider = function Divider(props) {\n  var _context, _classNames;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var dividerProps = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCompProps)('Divider', userDefaultProps, props);\n  var className = dividerProps.className,\n    customPrefixcls = dividerProps.prefixCls,\n    children = dividerProps.children,\n    type = dividerProps.type,\n    orientationMargin = dividerProps.orientationMargin,\n    orientation = dividerProps.orientation,\n    borderStyle = dividerProps.borderStyle,\n    others = __rest(dividerProps, [\"className\", \"prefixCls\", \"children\", \"type\", \"orientationMargin\", \"orientation\", \"borderStyle\"]);\n  var dividerPrefixCls = getPrefixCls(prefixCls, 'divider', customPrefixcls);\n  var orientationPrefix = orientation.length > 0 ? \"-\".concat(orientation) : orientation;\n  var hasChildren = !!children;\n  var isHorizontal = type === 'horizontal';\n  var isVertical = type === 'vertical';\n  var optimizedOrientationMargin = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(function () {\n    if (/^[0-9]+$/.test(orientationMargin)) {\n      return orientationMargin + 'px';\n    }\n    return '';\n  }, [orientationMargin]);\n  var dividerClass = classnames__WEBPACK_IMPORTED_MODULE_5___default()(dividerPrefixCls, className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(dividerPrefixCls, \"-with-text\"), hasChildren && isHorizontal), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(dividerPrefixCls, \"-with-text\")).call(_context, orientationPrefix), hasChildren && isHorizontal), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(dividerPrefixCls, \"-solid\"), borderStyle === 'solid'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(dividerPrefixCls, \"-dashed\"), borderStyle === 'dashed'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(dividerPrefixCls, \"-dotted\"), borderStyle === 'dotted'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(dividerPrefixCls, \"-vertical\"), isVertical), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(dividerPrefixCls, \"-margin-left\"), isHorizontal && orientation === 'left' && optimizedOrientationMargin), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(dividerPrefixCls, \"-margin-right\"), isHorizontal && orientation === 'right' && optimizedOrientationMargin), _classNames));\n  var innerTextClass = classnames__WEBPACK_IMPORTED_MODULE_5___default()(\"\".concat(dividerPrefixCls, \"-inner-text\"));\n  var innerTextStyle = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, orientation === 'left' && {\n    marginLeft: optimizedOrientationMargin\n  }), orientation === 'right' && {\n    marginRight: optimizedOrientationMargin\n  });\n  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {\n    (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(isVertical && children, 'divider', '`children` not working in `vertical` mode.');\n  }, [children, isVertical]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    className: dividerClass\n  }, others), isHorizontal && hasChildren && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: innerTextClass,\n    style: innerTextStyle\n  }, children));\n};\nDivider.displayName = 'Divider';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Divider);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/divider/divider.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/divider/index.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/divider/index.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   DividerBorderStyles: function() { return /* reexport safe */ _divider__WEBPACK_IMPORTED_MODULE_0__.DividerBorderStyles; },\n/* harmony export */   DividerOrientations: function() { return /* reexport safe */ _divider__WEBPACK_IMPORTED_MODULE_0__.DividerOrientations; },\n/* harmony export */   DividerTypes: function() { return /* reexport safe */ _divider__WEBPACK_IMPORTED_MODULE_0__.DividerTypes; }\n/* harmony export */ });\n/* harmony import */ var _divider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./divider */ \"../../node_modules/@kdcloudjs/kdesign/es/divider/divider.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_divider__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/divider/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/drawer/drawer.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/drawer/drawer.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   PlacementTypes: function() { return /* binding */ PlacementTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?fcc5\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../_utils/hooks */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js\");\n/* harmony import */ var _utils_react_children__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../_utils/react-children */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/react-children.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// import { usePrevious } from '../_utils/hooks'\n\nvar PlacementTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_9__.tuple)('top', 'right', 'bottom', 'left');\nvar relativePostionTypes = ['relative', 'absolute', 'fixed'];\nvar horizontalPlacements = ['left', 'right'];\nvar verticalPlacements = ['top', 'bottom'];\nvar documentBody = document.body;\n// function transformSize(size: string | number, placement: string) {\n//   if (typeof size === 'string') {\n//     // 只考虑px 或者 %\n//     devWarning(\n//       !(size.endsWith('px') && size.endsWith('%')),\n//       'drawer',\n//       `cannot calculate drawer size: width | height for '${size}' besides px or %`,\n//     )\n//     if (placement === 'right' || placement === 'bottom') return size || 0\n//     return size ? '-' + size : 0\n//   }\n//   if (placement === 'right' || placement === 'bottom') return (size || 0) + 'px'\n//   return ('-' + size || 0) + 'px'\n// }\nvar InternalDrawer = function InternalDrawer(props, ref) {\n  var _classNames, _context2, _context3, _classNames2;\n  var _a;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_6__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_10__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var drawerProps = (0,_utils__WEBPACK_IMPORTED_MODULE_11__.getCompProps)('Drawer', userDefaultProps, props); // 属性需要合并一遍用户定义的默认属性\n  var className = drawerProps.className,\n    closable = drawerProps.closable,\n    closeIcon = drawerProps.closeIcon,\n    children = drawerProps.children,\n    onClose = drawerProps.onClose,\n    keyboard = drawerProps.keyboard,\n    mask = drawerProps.mask,\n    maskClosable = drawerProps.maskClosable,\n    maskStyle = drawerProps.maskStyle,\n    maskClassName = drawerProps.maskClassName,\n    placement = drawerProps.placement,\n    title = drawerProps.title,\n    titleStyle = drawerProps.titleStyle,\n    titleClassName = drawerProps.titleClassName,\n    footer = drawerProps.footer,\n    footerStyle = drawerProps.footerStyle,\n    footerClassName = drawerProps.footerClassName,\n    visible = drawerProps.visible,\n    width = drawerProps.width,\n    height = drawerProps.height,\n    headerStyle = drawerProps.headerStyle,\n    headerClassName = drawerProps.headerClassName,\n    zindex = drawerProps.zIndex,\n    getContainer = drawerProps.getContainer,\n    forceRender = drawerProps.forceRender,\n    destroyOnClose = drawerProps.destroyOnClose,\n    customPrefixcls = drawerProps.prefixCls,\n    disableScroll = drawerProps.disableScroll;\n  var drawerPrefixCls = getPrefixCls(prefixCls, 'drawer', customPrefixcls);\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    showChildren = _useState2[0],\n    setShowChildren = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(width),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState3, 2),\n    currentWidth = _useState4[0],\n    setCurrentWidth = _useState4[1];\n  // const previousWidthRef = usePrevious(currentWidth)\n  // const previousHeightRef = usePrevious(currentHeight)\n  var containerRef = ref || /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_6__.createRef)();\n  var contentRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null);\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(PlacementTypes.indexOf(placement) === -1, 'drawer', \"cannot found drawer type '\".concat(placement, \"'\"));\n  var drawerContainer = typeof getContainer === 'function' ? getContainer() : getContainer;\n  var isAtOriginalPlace = drawerContainer === false;\n  if (!(drawerContainer instanceof Element) && !isAtOriginalPlace) {\n    try {\n      drawerContainer = document.querySelector(drawerContainer);\n    } catch (error) {\n      (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(true, 'drawer', 'getContainer\"s returnValue/value is not a correct CSSSelector');\n    }\n    drawerContainer = documentBody;\n  }\n  var isBody = !drawerContainer && !isAtOriginalPlace || drawerContainer === document.body;\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () {\n    setShowChildren(!!forceRender);\n  }, [forceRender]);\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () {\n    var node = null;\n    var portalNode = containerRef.current;\n    // 应该只有可见才能影响\n    // 但是这样会有闪烁的问题\n    if (!isBody && drawerContainer) {\n      node = drawerContainer;\n    } else if (isAtOriginalPlace) {\n      node = portalNode && portalNode.parentElement;\n    }\n    if (node && !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(relativePostionTypes).call(relativePostionTypes, window.getComputedStyle(node).position)) {\n      (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(true, 'drawer', 'getContainer\"s returnValue/value is not a relative/absolute/fixed positioned DOM');\n    }\n  }, [drawerContainer, isBody, isAtOriginalPlace, containerRef]);\n  var handleContainerResize = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(function (_ref) {\n    var containerWidth = _ref.width;\n    if (!visible && width === currentWidth) return;\n    if (containerWidth < currentWidth) {\n      // 这里改成操作DOM？\n      setCurrentWidth(containerWidth);\n      // 这里拿不到正确的之前的宽度\n      //  if (width !== previousWidthRef!)\n      // 会一直触发\n    } else {\n      setCurrentWidth(width);\n    }\n  }, [width, visible, currentWidth]);\n  (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_13__.useResizeObserver)(function () {\n    var _a;\n    return drawerContainer || ((_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.parentNode);\n  }, handleContainerResize);\n  (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_13__.useOverflowHidden)(drawerContainer || ((_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.parentNode), visible && mask, disableScroll);\n  // 为了单测\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () {\n    setCurrentWidth(width);\n  }, [width]);\n  var closeDrawer = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(function () {\n    onClose && onClose();\n    destroyOnClose && setShowChildren(false);\n  }, [onClose, destroyOnClose]);\n  var escapeToCloseModal = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(function (evt) {\n    var _context;\n    // In Internet Explorer 9 and Firefox 36 and earlier, the Esc key returns \"Esc\" instead of \"Escape\"\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(_context = ['Escape', 'Esc']).call(_context, evt.key)) {\n      closeDrawer();\n    }\n  }, [closeDrawer]);\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () {\n    if (keyboard) {\n      document.body.addEventListener('keydown', escapeToCloseModal);\n    }\n    return function () {\n      document.body.removeEventListener('keydown', escapeToCloseModal);\n    };\n  }, [keyboard, closeDrawer, escapeToCloseModal]);\n  var handleMaskClick = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(function () {\n    if (maskClosable) {\n      closeDrawer();\n    }\n  }, [maskClosable, closeDrawer]);\n  var getHorizontalBoolAndPlacementName = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(function () {\n    var isHorizontal = placement === 'left' || placement === 'right';\n    var placementName = \"translate\".concat(isHorizontal ? 'X' : 'Y');\n    return {\n      isHorizontal: isHorizontal,\n      placementName: placementName\n    };\n  }, [placement]);\n  var setDraerTransform = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(function (_isOpen, _placementName, _value) {\n    if (!contentRef.current) return;\n    contentRef.current.style.transform = '';\n  }, [contentRef]);\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () {\n    var _getHorizontalBoolAnd = getHorizontalBoolAndPlacementName(),\n      isHorizontal = _getHorizontalBoolAnd.isHorizontal,\n      placementName = _getHorizontalBoolAnd.placementName;\n    var contentValue = contentRef.current ? contentRef.current.getBoundingClientRect()[isHorizontal ? 'width' : 'height'] : 0;\n    var value = (isHorizontal ? width : height) || contentValue;\n    if (visible) {\n      setDraerTransform(visible, placementName, value);\n    }\n  }, [contentRef, getHorizontalBoolAndPlacementName, height, setDraerTransform, visible, width]);\n  var drawerClasses = classnames__WEBPACK_IMPORTED_MODULE_8___default()(drawerPrefixCls, className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(drawerPrefixCls, \"-hide\"), !visible), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(drawerPrefixCls, \"-active\"), visible), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(drawerPrefixCls, \"-not-at-body\"), !isBody), _classNames));\n  var headerClass = \"\".concat(drawerPrefixCls, \"-header\");\n  var _getHorizontalBoolAnd2 = getHorizontalBoolAndPlacementName(),\n    placementName = _getHorizontalBoolAnd2.placementName;\n  var placementPos = placement === 'left' || placement === 'top' ? '-100%' : '100%';\n  var transform = visible ? '' : _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = \"\".concat(placementName, \"(\")).call(_context2, placementPos, \")\");\n  var containerStyle = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, placement, 0), _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(horizontalPlacements).call(horizontalPlacements, placement) ? {\n    width: width,\n    transform: transform\n  } : {\n    height: height,\n    transform: transform\n  });\n  var container = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_8___default()((_classNames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(drawerPrefixCls, \"-container-box\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(drawerPrefixCls, \"-has-container-box\"), drawerContainer), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = \"\".concat(drawerPrefixCls, \"-container-\")).call(_context3, placement), true), _classNames2)),\n    style: containerStyle,\n    ref: contentRef\n  }, (title || closable) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(headerClass, headerClassName),\n    style: headerStyle\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(drawerPrefixCls, \"-title\"), titleClassName),\n    style: titleStyle\n  }, title), closable && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(drawerPrefixCls, \"-close-icon\"),\n    onClick: function onClick() {\n      return closeDrawer();\n    }\n  }, closeIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_index__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n    type: \"close\"\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(drawerPrefixCls, \"-body\")\n  }, (showChildren || visible) && (0,_utils_react_children__WEBPACK_IMPORTED_MODULE_15__.toArray)(children)), footer && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(drawerPrefixCls, \"-footer\"), footerClassName),\n    style: footerStyle\n  }, footer));\n  var opposition = !mask && _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(PlacementTypes).call(PlacementTypes, placement) ? _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(horizontalPlacements).call(horizontalPlacements, placement) ? _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5___default()(horizontalPlacements).call(horizontalPlacements, function (p) {\n    return p !== placement;\n  })[0] : _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5___default()(verticalPlacements).call(verticalPlacements, function (p) {\n    return p !== placement;\n  })[0] : '';\n  var noneMaskStyle = !mask ? {\n    width: containerStyle.width\n  } : {};\n  var comp = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: drawerClasses,\n    style: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n      zIndex: zindex || 'auto'\n    }, noneMaskStyle), opposition ? (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, opposition, 'unset') : {}),\n    ref: containerRef\n  }, mask && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    onClick: handleMaskClick,\n    className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(drawerPrefixCls, \"-mask\"), maskClassName),\n    style: maskStyle\n  }), container);\n  if (drawerContainer instanceof HTMLElement) return /*#__PURE__*/react_dom__WEBPACK_IMPORTED_MODULE_7___default().createPortal(comp, drawerContainer);else if (drawerContainer !== false) {\n    return /*#__PURE__*/react_dom__WEBPACK_IMPORTED_MODULE_7___default().createPortal(comp, documentBody);\n  }\n  return comp;\n};\nvar Drawer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().forwardRef(InternalDrawer);\nDrawer.displayName = 'Drawer';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Drawer);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/drawer/drawer.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/drawer/index.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/drawer/index.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   PlacementTypes: function() { return /* reexport safe */ _drawer__WEBPACK_IMPORTED_MODULE_0__.PlacementTypes; }\n/* harmony export */ });\n/* harmony import */ var _drawer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./drawer */ \"../../node_modules/@kdcloudjs/kdesign/es/drawer/drawer.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_drawer__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/drawer/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/dropdown/dropdown.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/dropdown/dropdown.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./menu */ \"../../node_modules/@kdcloudjs/kdesign/es/dropdown/menu.js\");\n/* harmony import */ var _utils_usePopper__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils/usePopper */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/usePopper.js\");\n/* harmony import */ var _utils_reactNode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_utils/reactNode */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/reactNode.js\");\n\n\n\n\n\n\n\n\n\n\nvar findItem = function findItem(element) {\n  var isItem = /dropdown-menu-item/.test(element.className);\n  if (isItem) {\n    return element;\n  } else {\n    return element.parentNode ? findItem(element.parentNode) : null;\n  }\n};\nvar Dropdown = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.forwardRef(function (props, ref) {\n  var _a, _b, _c, _d;\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_3__.useContext(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_5__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    pkgPrefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  // 属性需要合并一遍用户定义的默认属性\n  var allProps = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getCompProps)('Dropdown', userDefaultProps, props);\n  var menu = allProps.menu,\n    disabled = allProps.disabled,\n    children = allProps.children,\n    selectable = allProps.selectable,\n    onItemClick = allProps.onItemClick,\n    defaultVisible = allProps.defaultVisible,\n    onVisibleChange = allProps.onVisibleChange,\n    trigger = allProps.trigger,\n    customPrefixcls = allProps.prefixCls,\n    menuAnimation = allProps.menuAnimation,\n    popperStyle = allProps.popperStyle;\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'dropdown', customPrefixcls);\n  var innerAnimation = typeof menuAnimation === 'boolean' ? menuAnimation : trigger !== 'contextMenu';\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_3__.useState(!!props.visible || defaultVisible),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState, 2),\n    visible = _React$useState2[0],\n    setVisible = _React$useState2[1];\n  react__WEBPACK_IMPORTED_MODULE_3__.useEffect(function () {\n    setVisible(!!props.visible);\n  }, [props.visible]);\n  var handleVisibleChange = function handleVisibleChange(visible) {\n    props.visible === undefined && setVisible(visible);\n    onVisibleChange && onVisibleChange(visible);\n  };\n  var child = children && ((_a = children === null || children === void 0 ? void 0 : children.type) === null || _a === void 0 ? void 0 : _a.displayName) === 'Input' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"span\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(prefixCls, \"-trigger\"), \"\".concat(prefixCls, \"-trigger-container\")),\n    ref: ref\n  }, trigger === 'focus' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.cloneElement(react__WEBPACK_IMPORTED_MODULE_3__.Children.only(children), {\n    onFocus: function onFocus(e) {\n      children.props.onFocus && children.props.onFocus(e);\n      handleVisibleChange(true);\n    },\n    onBlur: function onBlur(e) {\n      children.props.onBlur && children.props.onBlur(e);\n      handleVisibleChange(false);\n    }\n  }) : children) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.cloneElement( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.isValidElement(children) && !(0,_utils_reactNode__WEBPACK_IMPORTED_MODULE_7__.isFragment)(children) ? children : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"span\", null, children), {\n    ref: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.isValidElement(children) && !(0,_utils_reactNode__WEBPACK_IMPORTED_MODULE_7__.isFragment)(children) && children.ref ? children.ref : ref,\n    className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(prefixCls, \"-trigger\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.isValidElement(children) && !(0,_utils_reactNode__WEBPACK_IMPORTED_MODULE_7__.isFragment)(children) && children.props && children.props.className, {\n      disabled: disabled\n    })\n  });\n  var isMenu = menu.type === _menu__WEBPACK_IMPORTED_MODULE_8__.Menu;\n  var _React$useState3 = react__WEBPACK_IMPORTED_MODULE_3__.useState(props.selectedKey || ((_b = menu.props) === null || _b === void 0 ? void 0 : _b.defaultKey) || props.defaultKey || ''),\n    _React$useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState3, 2),\n    selectedKey = _React$useState4[0],\n    setSelectedKey = _React$useState4[1];\n  react__WEBPACK_IMPORTED_MODULE_3__.useEffect(function () {\n    if (typeof props.selectedKey !== 'undefined') {\n      setSelectedKey(props.selectedKey);\n    }\n  }, [props.selectedKey]);\n  var menuSelectable = ((_c = menu.props) === null || _c === void 0 ? void 0 : _c.selectable) === undefined ? selectable : (_d = menu.props) === null || _d === void 0 ? void 0 : _d.selectable;\n  var handleItemClick = function handleItemClick(e) {\n    var _a;\n    var item = findItem(e.target);\n    var key = (_a = item === null || item === void 0 ? void 0 : item.dataset) === null || _a === void 0 ? void 0 : _a.key;\n    if ((item === null || item === void 0 ? void 0 : item.className.indexOf('disabled')) === -1 && key) {\n      if (isMenu && menu.props.onClick) {\n        menu.props.onClick(key);\n      } else if (onItemClick) {\n        onItemClick(key);\n      }\n      menuSelectable && setSelectedKey(key);\n      props.visible === undefined && setVisible(false);\n    }\n  };\n  var cloneObj = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.cloneElement(menu, {\n    selectedKey: selectedKey,\n    onClick: handleItemClick,\n    selectable: menuSelectable\n  });\n  var menuElement = isMenu ? cloneObj : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"ul\", {\n    className: \"\".concat(prefixCls, \"-menu\"),\n    onClick: handleItemClick,\n    role: \"menu\"\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(menu).call(menu, function (_ref) {\n    var itemKey = _ref.key,\n      label = _ref.label,\n      href = _ref.href,\n      danger = _ref.danger,\n      divided = _ref.divided,\n      disabled = _ref.disabled;\n    var alinkProps = {\n      href: href,\n      target: '_blank',\n      rel: 'noopener noreferrer'\n    };\n    var key = itemKey || label;\n    var selected = selectable && String(selectedKey) === String(key);\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"li\", {\n      title: label,\n      key: key,\n      \"data-key\": key,\n      className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(prefixCls, \"-menu-item\"), {\n        danger: danger,\n        divided: divided,\n        disabled: disabled,\n        selected: selected\n      }),\n      role: \"menuitem\"\n    }, href === undefined || disabled ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"span\", null, label) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"a\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, alinkProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"span\", null, label)));\n  }));\n  var popperProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, allProps), {\n    visible: visible,\n    prefixCls: prefixCls,\n    popperStyle: innerAnimation ? popperStyle : (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n      animation: 'none'\n    }, popperStyle),\n    onVisibleChange: handleVisibleChange\n  });\n  return (0,_utils_usePopper__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(child, menuElement, popperProps);\n});\nDropdown.displayName = 'Dropdown';\nvar OuterDropdown = Dropdown;\nOuterDropdown.Menu = _menu__WEBPACK_IMPORTED_MODULE_8__.Menu;\nOuterDropdown.Item = _menu__WEBPACK_IMPORTED_MODULE_8__.Item;\n/* harmony default export */ __webpack_exports__[\"default\"] = (OuterDropdown);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/dropdown/dropdown.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/dropdown/index.js":
/*!******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/dropdown/index.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dropdown */ \"../../node_modules/@kdcloudjs/kdesign/es/dropdown/dropdown.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_dropdown__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/dropdown/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/dropdown/menu.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/dropdown/menu.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Item: function() { return /* binding */ Item; },\n/* harmony export */   Menu: function() { return /* binding */ Menu; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\nvar Menu = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.forwardRef(function (props, ref) {\n  var _context;\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_3__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_5__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    pkgPrefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  // 属性需要合并一遍用户定义的默认属性\n  var _a = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getCompProps)('DropdownMenu', userDefaultProps, props),\n    customPrefixcls = _a.prefixCls,\n    children = _a.children,\n    selectable = _a.selectable,\n    selectedKey = _a.selectedKey,\n    className = _a.className,\n    restProps = __rest(_a, [\"prefixCls\", \"children\", \"selectable\", \"selectedKey\", \"className\"]);\n  // className前缀\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'dropdown-menu', customPrefixcls);\n  var cloneItem = function cloneItem(item, index) {\n    if (! /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.isValidElement(item)) {\n      return item;\n    }\n    var key = item.key || index;\n    var selected = selectable && String(selectedKey) === String(key);\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.cloneElement(item, {\n      key: key,\n      selected: selected,\n      defaultKey: key\n    });\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"ul\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(prefixCls, className),\n    role: \"menu\"\n  }, restProps, {\n    ref: ref\n  }), _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(_context = react__WEBPACK_IMPORTED_MODULE_3__.Children).call(_context, children, cloneItem));\n});\nvar Item = function Item(props) {\n  var _a, _b;\n  var _React$useContext2 = react__WEBPACK_IMPORTED_MODULE_3__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_5__[\"default\"]),\n    getPrefixCls = _React$useContext2.getPrefixCls,\n    pkgPrefixCls = _React$useContext2.prefixCls,\n    userDefaultProps = _React$useContext2.compDefaultProps;\n  // 属性需要合并一遍用户定义的默认属性\n  var _c = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getCompProps)('DropdownItem', userDefaultProps, props),\n    customPrefixcls = _c.prefixCls,\n    danger = _c.danger,\n    divided = _c.divided,\n    disabled = _c.disabled,\n    children = _c.children,\n    selected = _c.selected,\n    defaultKey = _c.defaultKey,\n    className = _c.className,\n    restProps = __rest(_c, [\"prefixCls\", \"danger\", \"divided\", \"disabled\", \"children\", \"selected\", \"defaultKey\", \"className\"]);\n  // className前缀\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'dropdown-menu-item', customPrefixcls);\n  var childrenIsLink = children.type === 'a';\n  var linkChildren = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"span\", null, (_a = children.props) === null || _a === void 0 ? void 0 : _a.children);\n  var itemRef = react__WEBPACK_IMPORTED_MODULE_3__.useRef();\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    ref: itemRef,\n    \"data-key\": defaultKey,\n    title: (_b = itemRef.current) === null || _b === void 0 ? void 0 : _b.textContent,\n    className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(prefixCls, className, {\n      danger: danger,\n      divided: divided,\n      disabled: disabled,\n      selected: selected\n    }),\n    role: \"menuitem\"\n  }, restProps), childrenIsLink ? disabled ? linkChildren : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.cloneElement(children, {\n    children: linkChildren\n  }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"span\", null, children));\n};\nMenu.displayName = 'DropdownMenu';\nItem.displayName = 'DropdownMenuItem';\n\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/dropdown/menu.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/empty/defaultEmptyImg.js":
/*!*************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/empty/defaultEmptyImg.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/uniqueId */ \"../../node_modules/lodash/uniqueId.js\");\n/* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_1__);\n\n\n\nfunction DefaultEmptyImg(props) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_2__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var emptyPrefixCls = getPrefixCls(prefixCls, 'empty');\n  var linearGradientId = lodash_uniqueId__WEBPACK_IMPORTED_MODULE_1___default()(emptyPrefixCls + '-default-linearGradient');\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"svg\", {\n    className: \"\".concat(emptyPrefixCls, \"-image\"),\n    width: \"168px\",\n    height: \"96px\",\n    viewBox: \"0 0 168 96\",\n    version: \"1.1\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    style: props.style\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"defs\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"linearGradient\", {\n    x1: \"50%\",\n    y1: \"0%\",\n    x2: \"50%\",\n    y2: \"100%\",\n    id: linearGradientId\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"stop\", {\n    stopColor: \"#D6DCE7\",\n    offset: \"0%\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"stop\", {\n    stopColor: \"#D6DCE7\",\n    stopOpacity: \"0\",\n    offset: \"100%\"\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u9875\\u9762-1\",\n    stroke: \"none\",\n    strokeWidth: \"1\",\n    fill: \"none\",\n    fillRule: \"evenodd\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u7F16\\u7EC4\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    transform: \"translate(36.000000, 0.000000)\",\n    id: \"\\u7F16\\u7EC4\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M63,9 L63,24 L78,24 L78,84 C78,85.6568542 76.6568542,87 75,87 L21,87 C19.3431458,87 18,85.6568542 18,84 L18,12 C18,10.3431458 19.3431458,9 21,9 L63,9 Z\",\n    id: \"\\u8DEF\\u5F84\",\n    fill: \"#E2E8F3\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"rect\", {\n    id: \"\\u77E9\\u5F62\",\n    fill: \"#CAD0DB\",\n    x: \"24\",\n    y: \"24\",\n    width: \"9\",\n    height: \"9\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"polygon\", {\n    id: \"\\u77E9\\u5F62\",\n    fill: \"#EEF4FF\",\n    points: \"63 9 78 24 63 24\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"rect\", {\n    id: \"\\u77E9\\u5F62\",\n    fill: \"#CAD0DB\",\n    x: \"24\",\n    y: \"39\",\n    width: \"48\",\n    height: \"6\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"rect\", {\n    id: \"\\u77E9\\u5F62\",\n    fill: \"#CAD0DB\",\n    x: \"24\",\n    y: \"51\",\n    width: \"24\",\n    height: \"6\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    transform: \"translate(108.000000, 40.000000)\",\n    fill: \"url(#\".concat(linearGradientId, \")\"),\n    id: \"\\u80CC\\u666F/\\u4E91\",\n    opacity: \"0.300000012\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u5F62\\u72B6\\u7ED3\\u5408\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M3,39 L3,24 C3,15.7157288 9.71572875,9 18,9 C25.4616776,9 31.6508469,14.4482558 32.8063948,21.5836543 C33.797875,21.2064779 34.8748247,21 36,21 C40.9705627,21 45,25.0294373 45,30 L45,39 L3,39 Z\"\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    transform: \"translate(12.000000, 32.000000)\",\n    fill: \"url(#\".concat(linearGradientId, \")\"),\n    id: \"\\u80CC\\u666F/\\u4E91\",\n    opacity: \"0.300000012\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    transform: \"translate(24.000000, 24.000000) scale(-1, 1) translate(-24.000000, -24.000000) \",\n    id: \"\\u5F62\\u72B6\\u7ED3\\u5408\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M3,39 L3,24 C3,15.7157288 9.71572875,9 18,9 C25.4616776,9 31.6508469,14.4482558 32.8063948,21.5836543 C33.797875,21.2064779 34.8748247,21 36,21 C40.9705627,21 45,25.0294373 45,30 L45,39 L3,39 Z\"\n  }))))));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (DefaultEmptyImg);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/empty/defaultEmptyImg.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/empty/empty.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/empty/empty.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _defaultEmptyImg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaultEmptyImg */ \"../../node_modules/@kdcloudjs/kdesign/es/empty/defaultEmptyImg.js\");\n/* harmony import */ var _illustrationEmptyImg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./illustrationEmptyImg */ \"../../node_modules/@kdcloudjs/kdesign/es/empty/illustrationEmptyImg.js\");\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\nvar defaultEmptyImg = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_defaultEmptyImg__WEBPACK_IMPORTED_MODULE_4__[\"default\"], null);\nvar illustrationEmptyImg = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_illustrationEmptyImg__WEBPACK_IMPORTED_MODULE_5__[\"default\"], null);\nvar InteranalEmpty = function InteranalEmpty(props, ref) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_6__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps,\n    locale = _useContext.locale;\n  var emptyProps = (0,_utils__WEBPACK_IMPORTED_MODULE_7__.getCompProps)('Empty', userDefaultProps, props);\n  var className = emptyProps.className,\n    description = emptyProps.description,\n    _emptyProps$image = emptyProps.image,\n    image = _emptyProps$image === void 0 ? defaultEmptyImg : _emptyProps$image,\n    imageStyle = emptyProps.imageStyle,\n    style = emptyProps.style,\n    customPrefixcls = emptyProps.prefixCls,\n    children = emptyProps.children,\n    others = __rest(emptyProps, [\"className\", \"description\", \"image\", \"imageStyle\", \"style\", \"prefixCls\", \"children\"]);\n  var emptyPrefixCls = getPrefixCls(prefixCls, 'empty', customPrefixcls);\n  var emptyLangMsg = locale.getCompLangMsg({\n    componentName: 'Empty'\n  });\n  // ref\n  var thisEmptyRef = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)();\n  var emptyRef = ref || thisEmptyRef;\n  var imgClasses = classnames__WEBPACK_IMPORTED_MODULE_3___default()(\"\".concat(emptyPrefixCls, \"-image\"));\n  var imgNode = typeof image === 'string' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"img\", {\n    src: image,\n    className: imgClasses,\n    style: imageStyle,\n    alt: \"empty\"\n  }) : typeof image === 'boolean' ? null : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().cloneElement(image, {\n    style: imageStyle\n  });\n  var descriptionNode = description === undefined ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: \"\".concat(emptyPrefixCls, \"-description\")\n  }, emptyLangMsg.emptyText) : description ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: \"\".concat(emptyPrefixCls, \"-description\")\n  }, description) : null;\n  var emptyFooter = children ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: \"\".concat(emptyPrefixCls, \"-footer\")\n  }, children) : null;\n  var emptyClasses = classnames__WEBPACK_IMPORTED_MODULE_3___default()(emptyPrefixCls, className);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    ref: emptyRef,\n    className: emptyClasses,\n    style: style\n  }, others), imgNode, descriptionNode, emptyFooter);\n};\nvar Empty = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forwardRef(InteranalEmpty);\nEmpty.displayName = 'Empty';\nEmpty.DEFAULT_IMG = defaultEmptyImg;\nEmpty.ILLUSTRATION_IMG = illustrationEmptyImg;\n/* harmony default export */ __webpack_exports__[\"default\"] = (Empty);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/empty/empty.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/empty/illustrationEmptyImg.js":
/*!******************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/empty/illustrationEmptyImg.js ***!
  \******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/uniqueId */ \"../../node_modules/lodash/uniqueId.js\");\n/* harmony import */ var lodash_uniqueId__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_uniqueId__WEBPACK_IMPORTED_MODULE_1__);\n\n\n\nfunction IllustrationEmptyImg(props) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_2__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var emptyPrefixCls = getPrefixCls(prefixCls, 'empty');\n  var linearGradientId = lodash_uniqueId__WEBPACK_IMPORTED_MODULE_1___default()(emptyPrefixCls + '-illus-linearGradient-');\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"svg\", {\n    className: \"\".concat(emptyPrefixCls, \"-image\"),\n    width: \"200px\",\n    height: \"114px\",\n    viewBox: \"0 0 200 114\",\n    version: \"1.1\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    style: props.style\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"defs\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"rect\", {\n    id: \"illus-path-1\",\n    x: \"0\",\n    y: \"0\",\n    width: \"200\",\n    height: \"114\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"linearGradient\", {\n    x1: \"50%\",\n    y1: \"0%\",\n    x2: \"50%\",\n    y2: \"100%\",\n    id: linearGradientId\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"stop\", {\n    stopColor: \"#F2F5FA\",\n    offset: \"0%\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"stop\", {\n    stopColor: \"#F2F5FA\",\n    stopOpacity: \"0\",\n    offset: \"100%\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"linearGradient\", {\n    x1: \"50%\",\n    y1: \"0%\",\n    x2: \"50%\",\n    y2: \"100%\",\n    id: \"\".concat(linearGradientId, \"-1\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"stop\", {\n    stopColor: \"#F2F5FA\",\n    offset: \"0%\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"stop\", {\n    stopColor: \"#F2F5FA\",\n    stopOpacity: \"0\",\n    offset: \"100%\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M1.65924929,1.58062569 C1.8889022,0.50289476 2.95093586,-0.185073735 4.03136787,0.0440050452 C5.11179988,0.273083825 5.8014926,1.33246241 5.57183969,2.41019333 L5.56004989,2.46216547 L5.56004989,2.46216547 L3.39146206,11.2716446 C3.19461671,12.195414 2.28430214,12.7851013 1.35821756,12.588748 C0.432132984,12.3923948 -0.15903221,11.484356 0.037813143,10.5605866 L1.63752649,1.70000685 C1.64352938,1.66026552 1.65076142,1.62045814 1.65924929,1.58062569 Z\",\n    id: \"illus-path-5\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M3.2335764,0.0440050452 C4.31400841,0.273083825 5.00370113,1.33246241 4.77404822,2.41019333 L4.76225843,2.46216547 L4.76225843,2.46216547 L3.61607194,7.1179134 L-1.62409768e-13,6.35121513 L0.839735026,1.70000685 C0.845737915,1.66026552 0.85296995,1.62045814 0.861457819,1.58062569 C1.09111073,0.50289476 2.1531444,-0.185073735 3.2335764,0.0440050452 Z\",\n    id: \"illus-path-7\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M2.51813448,5.99787613 C1.45120227,6.28304504 0.354528358,5.65146297 0.0686447348,4.5871981 C-0.217238888,3.52293322 0.415926091,2.42900099 1.4828583,2.14383208 C1.51736247,2.13460983 1.55189774,2.12634636 1.5864357,2.11902531 L10.3881284,0.0586912483 C11.3026418,-0.185739249 12.242648,0.355616807 12.4876911,1.26784384 C12.7327342,2.18007088 12.1900213,3.11772708 11.275508,3.36215757 L2.6346324,5.96298498 C2.59640862,5.97569192 2.55756782,5.98733641 2.51813448,5.99787613 Z\",\n    id: \"illus-path-9\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M0.111983294,4.13319059 C-0.255581364,2.76485004 0.311368053,1.42441577 1.37830026,1.13924685 C1.41781627,1.12868504 1.4574639,1.11971891 1.49719789,1.11231428 L6.44654147,-4.05009359e-14 L7.35298648,4.65178191 L2.83125349,6.05655516 C2.79139485,6.07073359 2.75075844,6.08338397 2.70936963,6.09444634 C1.64243743,6.37961526 0.479547952,5.50153115 0.111983294,4.13319059 Z\",\n    id: \"illus-path-11\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M3.3628604,1.13914634 C3.3628604,1.13914634 4.96984445,2.41461745 4.75200088,3.35235885 C4.55443848,4.20156223 3.43408308,4.09719685 3.43408308,4.09719685 C3.43408308,4.09719685 2.56748085,3.91583671 1.68763621,3.46779149 C1.11105463,3.17397378 -0.0683547472,2.77864676 0.00310653282,2.44389212 C0.0961612881,2.00739016 1.23596274,2.60787786 1.48589827,2.39998012 C1.99233088,1.9785915 0.298853633,0.845566643 0.123123307,0.514858095 C-0.22022488,-0.131564658 1.44664825,-0.40550891 3.3628604,1.13914634\",\n    id: \"illus-path-13\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M5.71428571,1.87887927e-12 L5.14285714,14.82 L4.85714286,30.78 L0.857142857,30.78 L0.571428571,14.82 L0,1.87887927e-12 L5.71428571,1.87887927e-12 Z\",\n    id: \"illus-path-15\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u7A7A\\u7EC4\\u4EF6\",\n    stroke: \"none\",\n    strokeWidth: \"1\",\n    fill: \"none\",\n    fillRule: \"evenodd\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u7A7A\\u7EC4\\u4EF6\\u6807\\u6CE8\",\n    transform: \"translate(-65.000000, -512.000000)\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u7F16\\u7EC4\",\n    transform: \"translate(65.000000, 512.000000)\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"mask\", {\n    id: \"illus-mask-2\",\n    fill: \"white\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"use\", {\n    xlinkHref: \"#illus-path-1\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"use\", {\n    id: \"\\u77E9\\u5F62\",\n    fill: \"#FFFFFF\",\n    xlinkHref: \"#illus-path-1\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    mask: \"url(#illus-mask-2)\",\n    id: \"\\u80CC\\u666F/\\u4E91\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    transform: \"translate(11.428571, 37.050000)\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    transform: \"translate(34.285714, 34.200000) scale(-1, 1) translate(-34.285714, -34.200000) \",\n    fill: \"url(#\".concat(linearGradientId, \")\"),\n    id: \"\\u5F62\\u72B6\\u7ED3\\u5408\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M4.28571429,55.575 L4.28571429,34.2535714 C4.28571429,22.4188982 13.8796125,12.825 25.7142857,12.825 C36.3598894,12.825 45.1923741,20.587885 46.8597669,30.7616821 C48.2786739,30.2207368 49.8190861,29.925 51.4285714,29.925 C58.5293754,29.925 64.2857143,35.6813389 64.2857143,42.7821429 L64.2857143,55.575 L4.28571429,55.575 Z\"\n  })))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    mask: \"url(#illus-mask-2)\",\n    id: \"\\u80CC\\u666F/\\u4E91\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    transform: \"translate(142.857143, 51.300000)\",\n    fill: \"url(#\".concat(linearGradientId, \"-1)\"),\n    id: \"\\u5F62\\u72B6\\u7ED3\\u5408\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M17.1428571,8.55 C24.2401777,8.55 30.1286667,13.7256234 31.2399627,20.508509 C32.186033,20.1471098 33.2128549,19.95 34.2857143,19.95 C39.0195836,19.95 42.8571429,23.7875593 42.8571429,28.5214286 L42.8571429,37.05 L31.4281429,37.049 L31.4285714,37.05 L2.85714286,37.05 L2.85714286,22.8357143 C2.85714286,14.9459321 9.253075,8.55 17.1428571,8.55 Z\"\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    mask: \"url(#illus-mask-2)\",\n    id: \"\\u52A0\\u5BC6\\u7F51\\u9875\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    transform: \"translate(42.857143, 0.000000)\",\n    id: \"\\u7F16\\u7EC4-3\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"rect\", {\n    id: \"\\u77E9\\u5F62\",\n    x: \"0\",\n    y: \"0\",\n    width: \"114.285714\",\n    height: \"114\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u7F16\\u7EC4-2\",\n    transform: \"translate(7.142857, 17.812500)\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M0,14.25 L100,14.25 L100,74.8035714 C100,76.776017 98.401017,78.375 96.4285714,78.375 L3.57142857,78.375 C1.59898304,78.375 -2.42298035e-15,76.776017 0,74.8035714 L0,14.25 L0,14.25 Z\",\n    id: \"\\u77E9\\u5F62\",\n    fill: \"#E2E8F3\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M14.2857143,32.0625 C16.2581598,32.0625 17.8571429,33.6574856 17.8571429,35.625 C17.8571429,37.5925144 16.2581598,39.1875 14.2857143,39.1875 C12.3132688,39.1875 10.7142857,37.5925144 10.7142857,35.625 C10.7142857,33.6574856 12.3132688,32.0625 14.2857143,32.0625 Z M28.5714286,32.0625 C30.5438741,32.0625 32.1428571,33.6574856 32.1428571,35.625 C32.1428571,37.5925144 30.5438741,39.1875 28.5714286,39.1875 C26.598983,39.1875 25,37.5925144 25,35.625 C25,33.6574856 26.598983,32.0625 28.5714286,32.0625 Z M42.8571429,32.0625 C44.8295884,32.0625 46.4285714,33.6574856 46.4285714,35.625 C46.4285714,37.5925144 44.8295884,39.1875 42.8571429,39.1875 C40.8846973,39.1875 39.2857143,37.5925144 39.2857143,35.625 C39.2857143,33.6574856 40.8846973,32.0625 42.8571429,32.0625 Z\",\n    id: \"\\u5F62\\u72B6\\u7ED3\\u5408\",\n    fill: \"#CAD0DB\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M3.57142857,0 L96.4285714,0 C98.401017,6.20111266e-15 100,1.59898304 100,3.57142857 L100,14.25 L100,14.25 L0,14.25 L0,3.57142857 C-1.11749669e-15,1.59898304 1.59898304,8.06421577e-16 3.57142857,0 Z\",\n    id: \"\\u77E9\\u5F62\",\n    fill: \"#CAD0DB\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"ellipse\", {\n    id: \"\\u692D\\u5706\\u5F62\\u5907\\u4EFD-2\",\n    fill: \"#F2F5FA\",\n    cx: \"92.8571429\",\n    cy: \"7.125\",\n    rx: \"3.57142857\",\n    ry: \"3.5625\"\n  })))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    mask: \"url(#illus-mask-2)\",\n    id: \"\\u9501\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    transform: \"translate(88.571429, 47.025000)\",\n    id: \"\\u7F16\\u7EC4\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M41.2497143,5.878125 L41.25,15.675 L51.0707143,15.674125 L51.0714286,50.9290179 C51.0714286,54.183553 48.4331066,56.821875 45.1785714,56.821875 L13.75,56.821875 C12.665155,56.821875 11.7857143,55.9424343 11.7857143,54.8575893 L11.7857143,7.84241071 C11.7857143,6.75756567 12.665155,5.878125 13.75,5.878125 L41.2497143,5.878125 Z\",\n    id: \"\\u5F62\\u72B6\\u7ED3\\u5408\",\n    fill: \"#B3D5FF\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"polygon\", {\n    id: \"\\u77E9\\u5F62\",\n    fill: \"#85B8FF\",\n    points: \"41.25 5.878125 51.0714286 15.675 41.25 15.675\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"rect\", {\n    id: \"\\u77E9\\u5F62\",\n    fill: \"#85B8FF\",\n    x: \"15.7142857\",\n    y: \"15.675\",\n    width: \"5.89285714\",\n    height: \"5.878125\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"rect\", {\n    id: \"\\u77E9\\u5F62\",\n    fill: \"#85B8FF\",\n    x: \"15.7142857\",\n    y: \"25.471875\",\n    width: \"31.4285714\",\n    height: \"3.91875\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"rect\", {\n    id: \"\\u77E9\\u5F62\",\n    fill: \"#85B8FF\",\n    x: \"15.7142857\",\n    y: \"33.309375\",\n    width: \"15.7142857\",\n    height: \"3.91875\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M7.85714286,48.984375 L45.1785714,48.984375 L45.1785714,56.821875 L13.75,56.821875 C10.4954649,56.821875 7.85714286,54.183553 7.85714286,50.9290179 L7.85714286,48.984375 L7.85714286,48.984375 Z\",\n    id: \"\\u77E9\\u5F62\",\n    fill: \"#276FF5\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M45.1785714,56.821875 C48.4331066,56.821875 51.0714286,54.1901488 51.0714286,50.94375 C51.0714286,48.7794841 51.0714286,46.8201091 51.0714286,45.065625 L39.2857143,45.065625 C39.2857143,47.6555109 39.2857143,49.6148859 39.2857143,50.94375 C39.2857143,54.1901488 41.9240363,56.821875 45.1785714,56.821875 Z\",\n    id: \"\\u692D\\u5706\\u5F62\",\n    fill: \"#B3D5FF\"\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u7537-\\u6253\\u7535\\u8BDD\",\n    mask: \"url(#illus-mask-2)\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    transform: \"translate(148.571429, 68.400000) scale(-1, 1) translate(-148.571429, -68.400000) translate(102.857143, 22.800000)\",\n    id: \"\\u7F16\\u7EC4-6\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u7F16\\u7EC4-9\",\n    transform: \"translate(34.745657, 17.604294)\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u8DEF\\u5F84-3\",\n    transform: \"translate(0.000000, 11.579706)\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u8DEF\\u5F84-6\",\n    transform: \"translate(2.397200, 0.000000)\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"mask\", {\n    id: \"illus-mask-6\",\n    fill: \"white\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"use\", {\n    xlinkHref: \"#illus-path-5\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"use\", {\n    id: \"\\u8DEF\\u5F84\",\n    fill: \"#FFCDC0\",\n    xlinkHref: \"#illus-path-5\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"polygon\", {\n    id: \"\\u77E9\\u5F62\",\n    fill: \"#FFB3AB\",\n    mask: \"url(#illus-mask-6)\",\n    transform: \"translate(3.044116, 6.156000) rotate(24.000000) translate(-3.044116, -6.156000) \",\n    points: \"-0.381975864 5.01871224 6.47233097 5.01234242 6.4702077 7.29328776 -0.384099135 7.29965758\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u8DEF\\u5F84-5\",\n    transform: \"translate(3.194992, 0.000000)\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"mask\", {\n    id: \"illus-mask-8\",\n    fill: \"white\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"use\", {\n    xlinkHref: \"#illus-path-7\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"use\", {\n    id: \"\\u8DEF\\u5F84\",\n    fill: \"#276FF5\",\n    xlinkHref: \"#illus-path-7\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"polygon\", {\n    id: \"\\u77E9\\u5F62\",\n    fill: \"#000000\",\n    opacity: \"0.200000003\",\n    mask: \"url(#illus-mask-8)\",\n    transform: \"translate(2.862514, 5.850982) rotate(-353.000000) translate(-2.862514, -5.850982) \",\n    points: \"2.00626687 3.00113507 3.72048894 3.00061667 3.71876092 8.70082884 2.00453886 8.70134724\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M3.66726576,9.17667462 C4.61341774,9.20934905 5.35340873,10.0010002 5.32008189,10.9448769 C5.31780961,11.0092321 5.31200102,11.0726334 5.30284903,11.1349014 L4.3869672,21.1793963 L2.10275425,21.1005132 L1.89785972,11.0213312 C1.89287115,10.9572798 1.89144154,10.8922852 1.89376247,10.8265524 C1.9270893,9.88267563 2.72111377,9.1440002 3.66726576,9.17667462 Z\",\n    id: \"\\u8DEF\\u5F84\",\n    fill: \"#FFCDC0\",\n    transform: \"translate(3.606922, 15.177514) rotate(7.000000) translate(-3.606922, -15.177514) \"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M2.39900905,24.4545656 C2.39900905,24.4545656 0.363284205,24.6850884 -0.146910979,23.8661285 C-0.608733256,23.1242892 0.25497138,22.4069176 0.25497138,22.4069176 C0.25497138,22.4069176 0.994284532,21.9233985 1.93170376,21.6196682 C2.54615949,21.4207715 3.65745047,20.8680464 3.84402432,21.1559451 C4.08739599,21.5312599 2.85880692,21.9104995 2.82976519,22.2344965 C2.771015,22.8910922 4.76688683,22.4984446 5.12486238,22.6088636 C5.82448073,22.8247977 4.84327356,24.1965269 2.39900905,24.4545656\",\n    id: \"\\u5DE6\\u624B\",\n    fill: \"#FFCDC0\",\n    transform: \"translate(2.531251, 22.779499) rotate(109.000000) translate(-2.531251, -22.779499) \"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"circle\", {\n    id: \"\\u692D\\u5706\\u5F62\",\n    fill: \"#FFCDC0\",\n    transform: \"translate(6.012745, 13.632394) scale(-1, 1) rotate(12.000000) translate(-6.012745, -13.632394) \",\n    cx: \"6.01274478\",\n    cy: \"13.6323942\",\n    r: \"1\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"ellipse\", {\n    id: \"\\u692D\\u5706\\u5F62\",\n    fill: \"#FFCDC0\",\n    transform: \"translate(4.111838, 22.553100) scale(-1, 1) rotate(12.000000) translate(-4.111838, -22.553100) \",\n    cx: \"4.11183789\",\n    cy: \"22.5531003\",\n    rx: \"1.71410068\",\n    ry: \"1.71018549\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u8DEF\\u5F84-7\",\n    transform: \"translate(12.896734, 8.925065)\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"mask\", {\n    id: \"illus-mask-10\",\n    fill: \"white\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"use\", {\n    xlinkHref: \"#illus-path-9\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"use\", {\n    id: \"\\u8DEF\\u5F84\",\n    fill: \"#FFCDC0\",\n    xlinkHref: \"#illus-path-9\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"polygon\", {\n    id: \"\\u8DEF\\u5F84-8\",\n    fill: \"#FFB3AB\",\n    mask: \"url(#illus-mask-10)\",\n    points: \"7.25886778 0.118140667 6.11601063 0.688140667 9.68743921 2.68314067\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"polygon\", {\n    id: \"\\u8DEF\\u5F84-9\",\n    fill: \"#FFB3AB\",\n    mask: \"url(#illus-mask-10)\",\n    points: \"6.25886778 1.25814067 7.97315349 5.10564067 5.83029635 5.53314067\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u8DEF\\u5F84-4\",\n    transform: \"translate(12.705499, 9.968495)\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"mask\", {\n    id: \"illus-mask-12\",\n    fill: \"white\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"use\", {\n    xlinkHref: \"#illus-path-11\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"use\", {\n    id: \"\\u8DEF\\u5F84\",\n    fill: \"#276FF5\",\n    xlinkHref: \"#illus-path-11\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"polygon\", {\n    id: \"\\u77E9\\u5F62\",\n    fill: \"#000000\",\n    opacity: \"0.200000003\",\n    mask: \"url(#illus-mask-12)\",\n    transform: \"translate(3.142857, 5.985000) rotate(-10.000000) translate(-3.142857, -5.985000) \",\n    points: \"1.43196427 2.24210468 4.85057411 2.31733532 4.85375001 9.72789532 1.71112979 9.72655167\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"circle\", {\n    id: \"\\u692D\\u5706\\u5F62\",\n    transform: \"translate(14.897231, 12.995919) scale(-1, 1) rotate(-105.000000) translate(-14.897231, -12.995919) \",\n    cx: \"14.8972305\",\n    cy: \"12.9959193\",\n    r: \"1\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"ellipse\", {\n    id: \"\\u692D\\u5706\\u5F62\",\n    fill: \"#FFCDC0\",\n    transform: \"translate(23.728552, 10.635490) scale(-1, 1) rotate(-105.000000) translate(-23.728552, -10.635490) \",\n    cx: \"23.7285524\",\n    cy: \"10.6354896\",\n    rx: \"1.71028743\",\n    ry: \"1.71399897\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M24.93191,11.6652689 C24.3490178,12.4094717 23.2716827,12.5414211 22.5256147,11.9599862 C22.4747465,11.9203429 22.4267315,11.8784068 22.3816021,11.834439 L14.7721678,5.19413331 L16.1793941,3.3974688 L24.4760415,9.15385904 C24.5309331,9.18746541 24.5844969,9.22449748 24.6364541,9.2649894 C25.3825221,9.84642436 25.5148022,10.9210661 24.93191,11.6652689 Z\",\n    id: \"\\u8DEF\\u5F84\",\n    fill: \"#FFCDC0\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u5DE6\\u624B-2\",\n    transform: \"translate(11.952397, 1.350861)\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"mask\", {\n    id: \"illus-mask-14\",\n    fill: \"white\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"use\", {\n    xlinkHref: \"#illus-path-13\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"use\", {\n    id: \"\\u5DE6\\u624B\",\n    fill: \"#FFCDC0\",\n    xlinkHref: \"#illus-path-13\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"polygon\", {\n    id: \"\\u77E9\\u5F62\",\n    fill: \"#FFB3AB\",\n    mask: \"url(#illus-mask-14)\",\n    transform: \"translate(0.955615, 3.466523) rotate(-10.000000) translate(-0.955615, -3.466523) \",\n    points: \"1.03330198 1.85971337 2.29312065 2.08185339 2.9259469 4.5743354 -1.01471788 5.0733326\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M13.5841733,61.9076729 C13.9534636,61.361656 14.2984591,61.0557059 15.1913162,61.0557059 C15.7377262,61.0557059 16.5750567,62.0163458 17.7033079,63.9376257 C17.803288,64.1077089 17.746362,64.3266134 17.5762349,64.4265187 C17.5213906,64.4587255 17.4589421,64.4757059 17.3953403,64.4757059 L13.2962269,64.4757059 C13.0990517,64.4755804 12.9392095,64.3157383 12.9392095,64.118563 C12.9392095,64.0965743 12.941241,64.0746325 12.9452779,64.0530175 C13.1518118,62.947178 13.3647769,62.2320631 13.5841733,61.9076729 Z\",\n    id: \"\\u53F3\\u978B\",\n    fill: \"#001C5E\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u7F16\\u7EC4-4\",\n    transform: \"translate(14.265567, 46.231304) rotate(-2.000000) translate(-14.265567, -46.231304) translate(11.408424, 30.841304)\",\n    fill: \"#2C3E68\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u7F16\\u7EC4-7\\u5907\\u4EFD\",\n    transform: \"translate(0.000000, 0.000000)\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M5.71428571,0 L5.14285714,14.82 L4.85714286,30.78 L0.857142857,30.78 L0.571428571,14.82 L4.22240021e-12,0 L5.71428571,0 Z\",\n    id: \"\\u5F62\\u72B6\\u7ED3\\u5408\"\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M5.01274478,61.9076729 C5.38203501,61.361656 5.72703049,61.0557059 6.61988764,61.0557059 C7.1662976,61.0557059 8.00362818,62.0163458 9.13187937,63.9376257 C9.2318594,64.1077089 9.17493342,64.3266134 9.00480635,64.4265187 C8.94996199,64.4587255 8.88751349,64.4757059 8.82391177,64.4757059 L4.72479837,64.4757059 C4.52762311,64.4755804 4.36778098,64.3157383 4.36778098,64.118563 C4.36778098,64.0965743 4.36981241,64.0746325 4.37384937,64.0530175 C4.58038323,62.947178 4.79334837,62.2320631 5.01274478,61.9076729 Z\",\n    id: \"\\u53F3\\u978B\",\n    fill: \"#001C5E\",\n    transform: \"translate(6.869888, 62.765706) scale(-1, 1) translate(-6.869888, -62.765706) \"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u7F16\\u7EC4-3\",\n    transform: \"translate(8.045637, 46.231304) rotate(2.000000) translate(-8.045637, -46.231304) translate(5.188494, 30.841304)\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u7F16\\u7EC4-7\\u5907\\u4EFD\",\n    transform: \"translate(0.000000, 0.000000)\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"mask\", {\n    id: \"illus-mask-16\",\n    fill: \"white\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"use\", {\n    xlinkHref: \"#illus-path-15\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"use\", {\n    id: \"\\u5F62\\u72B6\\u7ED3\\u5408\",\n    fill: \"#2C3E68\",\n    xlinkHref: \"#illus-path-15\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M5.59120105,3.66623878 C5.21024867,3.57123878 4.63882009,3.28623878 3.87691533,2.81123878 C4.25786771,4.52123878 4.64172525,7.84894439 5.02848794,12.7943556 L5.59120105,3.66623878 Z\",\n    id: \"\\u8DEF\\u5F84-8\",\n    fill: \"#000000\",\n    opacity: \"0.200000003\",\n    mask: \"url(#illus-mask-16)\"\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M8.52956295,24.2907059 L13.8915371,24.2907059 C14.1862002,24.2906804 14.469477,24.4044894 14.6822368,24.6083512 C15.6233948,25.510148 16.1702008,26.4119448 16.3226549,27.3137416 C16.493009,28.3214202 16.5801818,29.496036 16.5841733,30.837589 L12.0355112,31.9528304 C11.9464437,31.974668 11.8550714,31.9857059 11.7633658,31.9857059 L10.646357,31.9857059 C10.556527,31.9857059 10.4670103,31.9751149 10.3796604,31.9541522 L5.72703049,30.837589 L5.72703049,30.837589 C5.73890809,29.6334467 5.83997208,28.5046345 6.03022245,27.4511523 C6.20076914,26.5067763 6.76699767,25.5624004 7.72890805,24.6180244 C7.94260866,24.4082443 8.23010402,24.2907059 8.52956295,24.2907059 Z\",\n    id: \"\\u88C6\\u90E8\",\n    fill: \"#2C3E68\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u5934\",\n    transform: \"translate(6.914955, 0.000000)\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u7F16\\u7EC4-2\",\n    transform: \"translate(4.158734, 9.759043) rotate(-4.000000) translate(-4.158734, -9.759043) translate(0.658529, 0.220316)\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M1.85755253,7.96245518 L5.28612396,7.96245518 L5.28612396,17.3631695 C5.28612396,18.3099433 4.5186121,19.0774552 3.57183825,19.0774552 C2.62506439,19.0774552 1.85755253,18.3099433 1.85755253,17.3631695 L1.85755253,7.96245518 L1.85755253,7.96245518 Z\",\n    id: \"\\u8116\\u5B50\\u5907\\u4EFD-4\",\n    fill: \"#FFB3AB\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M1.28612396,4.65722367 C0.65494139,4.38861917 0.143266818,4.60104799 0.143266818,5.19443267 C0.143266818,5.78781735 0.65494139,6.53745518 1.28612396,6.53745518 L1.28612396,4.65722367 Z\",\n    id: \"\\u8DEF\\u5F84\\u5907\\u4EFD-3\",\n    fill: \"#FFB9A7\",\n    transform: \"translate(0.714695, 5.539955) rotate(-360.000000) translate(-0.714695, -5.539955) \"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M7.00040968,4.65722367 C6.3692271,4.38861917 5.85755253,4.60104799 5.85755253,5.19443267 C5.85755253,5.78781735 6.3692271,6.53745518 7.00040968,6.53745518 L7.00040968,4.65722367 Z\",\n    id: \"\\u8DEF\\u5F84\\u5907\\u4EFD-4\",\n    fill: \"#FFB9A7\",\n    transform: \"translate(6.428981, 5.539955) scale(-1, 1) rotate(360.000000) translate(-6.428981, -5.539955) \"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M3.57183825,9.38745518 C5.14979467,9.38745518 6.4289811,7.34587364 6.4289811,4.82745518 C6.4289811,2.30903672 5.14979467,1.40745518 3.57183825,1.40745518 C1.99388182,1.40745518 0.71469539,2.30903672 0.71469539,4.82745518 C0.71469539,7.34587364 1.99388182,9.38745518 3.57183825,9.38745518 Z\",\n    id: \"\\u8499\\u7248\\u5907\\u4EFD-2\",\n    fill: \"#FFCDC0\",\n    transform: \"translate(3.571838, 5.397455) rotate(-360.000000) translate(-3.571838, -5.397455) \"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M6.23785443,5.75555102 C6.53280001,5.28258068 6.7192162,4.77676499 6.83539831,4.2243307 C6.90447814,3.89586307 6.95024106,2.70398891 6.83530533,2.09833194 C6.72036961,1.49267496 6.42144682,0.180764114 4.4001659,0.296217076 C3.07323445,-0.164935409 2.04954307,0.0946400842 1.19242579,0.664603127 C0.335308514,1.23456617 0.0496666736,2.08208134 0.0496666736,3.22581872 C0.0496666736,4.3695561 0.432814083,5.58487653 0.686806239,5.78646623 C0.717051517,5.81208939 0.74384452,5.77215094 0.743842895,5.73499643 C0.738869501,5.59197506 0.559435154,4.3169178 0.971259898,4.58076621 C1.38308464,4.84461463 2.33547318,5.03465632 3.09736074,4.65468927 C3.8592483,4.27472221 5.13891969,2.92930862 5.34315529,3.42434665 C5.80165354,4.84212829 6.01832676,4.69981215 6.14177191,4.8542567 C6.26521707,5.00870125 6.19072372,5.72234543 6.19072439,5.73748992 C6.19072505,5.75263441 6.21173772,5.79743137 6.23785443,5.75555102 Z\",\n    id: \"Fill-25\",\n    fill: \"#001C5E\",\n    transform: \"translate(3.477528, 2.926902) rotate(-1.000000) translate(-3.477528, -2.926902) \"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u7F16\\u7EC4-3\",\n    transform: \"translate(4.240647, 5.602470) rotate(-360.000000) translate(-4.240647, -5.602470) translate(0.812075, 1.612470)\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M15.7270305,26.0007059 L6.58417335,26.0007059 C5.82226859,19.7005923 5.44131621,16.269814 5.44131621,15.7083711 C5.44131621,14.7748878 5.58157734,13.4016217 5.86209959,11.5885729 C7.27494179,11.1954361 8.50319785,10.9644804 9.54686779,10.8957059 C9.91138165,11.3868959 10.3972003,11.7507059 11.111486,11.7507059 C11.8257717,11.7507059 12.4150103,11.3664296 12.7643361,10.8957059 C13.808006,10.9644804 15.4570454,11.1954361 16.8698876,11.5885729 L16.8698876,11.9453189 C17.0269801,12.9979656 16.6460277,17.6830946 15.7270305,26.0007059 Z\",\n    id: \"\\u8DEF\\u5F84\",\n    fill: \"#276FF5\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u7F16\\u7EC4-10\",\n    transform: \"translate(8.968629, 10.325706)\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"rect\", {\n    id: \"\\u77E9\\u5F62\",\n    fill: \"#5797FF\",\n    x: \"1.71428571\",\n    y: \"1.425\",\n    width: \"1.14285714\",\n    height: \"2.85\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"polygon\", {\n    id: \"\\u8DEF\\u5F84-23\\u5907\\u4EFD\",\n    fill: \"#85B8FF\",\n    points: \"-6.49639073e-14 0.7125 0.571428571 -9.72141118e-14 2.28571429 1.425 0.857142857 2.565\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"polygon\", {\n    id: \"\\u8DEF\\u5F84-23\\u5907\\u4EFD\",\n    fill: \"#85B8FF\",\n    transform: \"translate(3.428571, 1.282500) scale(-1, 1) translate(-3.428571, -1.282500) \",\n    points: \"2.28571429 0.7125 2.85714286 -9.72141118e-14 4.57142857 1.425 3.14285714 2.565\"\n  })))))))));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (IllustrationEmptyImg);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/empty/illustrationEmptyImg.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/empty/index.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/empty/index.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _empty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./empty */ \"../../node_modules/@kdcloudjs/kdesign/es/empty/empty.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_empty__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/empty/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/filter/condition.js":
/*!********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/filter/condition.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/splice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n\n\n\n\n\n\n\nvar ConditionFilter = function ConditionFilter(props) {\n  var value = props.value,\n    prefixCls = props.prefixCls,\n    conditions = props.conditions,\n    FilterLangMsg = props.FilterLangMsg,\n    onConditionRemove = props.onConditionRemove,\n    onConditionChange = props.onConditionChange;\n  var handleConditionFilter = function handleConditionFilter(condition, option) {\n    if (!option.component) {\n      var conditionValue = value[condition.key];\n      var optionValue = option.value;\n      var optionIndex = conditionValue === null || conditionValue === void 0 ? void 0 : conditionValue.indexOf(optionValue);\n      var nextValue = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, value);\n      delete nextValue.scheme;\n      var isSingleReSelect = !condition.multiple && conditionValue && conditionValue[0] === optionValue;\n      if (conditionValue && condition.multiple) {\n        if (optionIndex > -1) {\n          var isRequiredLastOptionReSelect = condition.required && conditionValue.length === 1 && conditionValue[0] === optionValue;\n          if (!isRequiredLastOptionReSelect) {\n            var _context;\n            conditionValue.length === 1 ? delete nextValue[condition.key] : _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_1___default()(_context = nextValue[condition.key]).call(_context, optionIndex, 1);\n          }\n        } else {\n          ;\n          nextValue[condition.key].push(optionValue);\n        }\n      } else if (!isSingleReSelect) {\n        nextValue[condition.key] = [optionValue];\n      }\n      onConditionChange && onConditionChange(nextValue, condition, option);\n    }\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(\"ul\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(prefixCls, \"-body-conditions\"), {\n      active: props.tab === 'condition'\n    })\n  }, conditions === null || conditions === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(conditions).call(conditions, function (condition) {\n    var _context2;\n    var conditionValue = value[condition.key];\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(\"li\", {\n      className: \"\".concat(prefixCls, \"-body-condition\"),\n      key: condition.key\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-body-condition-label\")\n    }, condition.label, \":\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(\"div\", {\n      className: \"\".concat(prefixCls, \"-body-condition-options\")\n    }, !condition.required && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(\"span\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(prefixCls, \"-body-condition-option\"), {\n        active: !conditionValue\n      }),\n      onClick: onConditionRemove.bind(null, condition.key)\n    }, FilterLangMsg.unlimited), _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(_context2 = condition.options).call(_context2, function (option) {\n      return option.component ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(react__WEBPACK_IMPORTED_MODULE_5__.Fragment, {\n        key: option.label\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(\"span\", {\n        title: option.label,\n        className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(prefixCls, \"-body-condition-option\"), {\n          active: conditionValue === null || conditionValue === void 0 ? void 0 : conditionValue.some(function (filterValue) {\n            var _context3;\n            return !_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_3___default()(_context3 = condition.options).call(_context3, function (option) {\n              return option.value === filterValue;\n            });\n          })\n        })\n      }, option.label), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(\"span\", {\n        className: \"\".concat(prefixCls, \"-body-condition-option-customer\")\n      }, option.component)) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(\"span\", {\n        key: option.value,\n        title: option.label || option.value,\n        className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(prefixCls, \"-body-condition-option\"), {\n          active: conditionValue === null || conditionValue === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4___default()(conditionValue).call(conditionValue, option.value)\n        }),\n        onClick: handleConditionFilter.bind(null, condition, option)\n      }, option.label || option.value);\n    })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(\"div\", {\n      className: \"\".concat(prefixCls, \"-body-condition-addition\")\n    }, condition.addition));\n  }));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (ConditionFilter);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/filter/condition.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/filter/filter.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/filter/filter.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../tag */ \"../../node_modules/@kdcloudjs/kdesign/es/tag/index.js\");\n/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../space */ \"../../node_modules/@kdcloudjs/kdesign/es/space/index.js\");\n/* harmony import */ var _search__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../search */ \"../../node_modules/@kdcloudjs/kdesign/es/search/index.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _scheme__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./scheme */ \"../../node_modules/@kdcloudjs/kdesign/es/filter/scheme.js\");\n/* harmony import */ var _condition__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./condition */ \"../../node_modules/@kdcloudjs/kdesign/es/filter/condition.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar Filter = function Filter(props) {\n  var _context;\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_6__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_8__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    pkgPrefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps,\n    locale = _React$useContext.locale;\n  var FilterLangMsg = locale.getCompLangMsg({\n    componentName: 'Filter'\n  });\n  // 属性需要合并一遍用户定义的默认属性\n  var _getCompProps = (0,_utils__WEBPACK_IMPORTED_MODULE_9__.getCompProps)('Filter', userDefaultProps, props),\n    style = _getCompProps.style,\n    fields = _getCompProps.fields,\n    schemes = _getCompProps.schemes,\n    onChange = _getCompProps.onChange,\n    className = _getCompProps.className,\n    conditions = _getCompProps.conditions,\n    onSchemeSave = _getCompProps.onSchemeSave,\n    defaultTabKey = _getCompProps.defaultTabKey,\n    onSpreadChange = _getCompProps.onSpreadChange,\n    getSchemeSettingMenu = _getCompProps.getSchemeSettingMenu,\n    customPrefixcls = _getCompProps.prefixCls;\n  // className前缀\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'filter', customPrefixcls);\n  var _React$useRef = react__WEBPACK_IMPORTED_MODULE_6__.useRef(typeof props.value === 'undefined' ? props.defaultValue || {} : props.value || {}),\n    defaultValue = _React$useRef.current;\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_6__.useState(defaultValue),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState, 2),\n    value = _React$useState2[0],\n    setValue = _React$useState2[1];\n  react__WEBPACK_IMPORTED_MODULE_6__.useEffect(function () {\n    props.value && setValue(props.value);\n  }, [props.value]);\n  var _React$useState3 = react__WEBPACK_IMPORTED_MODULE_6__.useState(defaultTabKey),\n    _React$useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState3, 2),\n    tab = _React$useState4[0],\n    setTab = _React$useState4[1];\n  var onConditionChange = function onConditionChange(nextValue, condition, option) {\n    props.value === undefined && setValue(nextValue);\n    onChange && onChange(nextValue, condition, option);\n  };\n  var onConditionRemove = function onConditionRemove(key, e) {\n    e.preventDefault();\n    if (key) {\n      var nextValue = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, value);\n      delete nextValue[key];\n      onConditionChange(nextValue);\n    }\n  };\n  var onSchemeSearch = function onSchemeSearch(scheme) {\n    onConditionChange({\n      scheme: scheme\n    });\n  };\n  var _React$useState5 = react__WEBPACK_IMPORTED_MODULE_6__.useState(props.spread || props.defaultSpread),\n    _React$useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState5, 2),\n    spread = _React$useState6[0],\n    setSpread = _React$useState6[1];\n  react__WEBPACK_IMPORTED_MODULE_6__.useEffect(function () {\n    props.spread !== undefined && setSpread(props.spread);\n  }, [props.spread]);\n  var handleSwitchSpread = function handleSwitchSpread() {\n    props.spread === undefined && setSpread(!spread);\n    onSpreadChange && onSpreadChange(!spread);\n  };\n  var tabs = [{\n    key: 'condition',\n    name: FilterLangMsg.commonCondition\n  }, {\n    key: 'scheme',\n    name: FilterLangMsg.schemeQuery\n  }];\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(prefixCls, className),\n    style: style\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"header\", {\n    className: \"\".concat(prefixCls, \"-header\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"h3\", {\n    className: \"\".concat(prefixCls, \"-header-title\")\n  }, props.title), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-header-condition\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-header-condition-label\")\n  }, FilterLangMsg.filterCondition), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_space__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    wrap: true,\n    size: [4, 4]\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(_context = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3___default()(value)).call(_context, function (conditionKey) {\n    var name, options, required;\n    if (conditionKey === 'scheme') {\n      options = value[conditionKey].name;\n      name = options && FilterLangMsg.scheme;\n    } else {\n      var _context2;\n      var condition = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default()(conditions).call(conditions, function (_ref) {\n        var key = _ref.key;\n        return key === conditionKey;\n      });\n      var labels = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(_context2 = value[conditionKey]).call(_context2, function (item) {\n        var _context3;\n        var filterOption = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = condition.options).call(_context3, function (_ref2) {\n          var optonValue = _ref2.value;\n          return optonValue === item;\n        }) || {};\n        return filterOption.label || filterOption.value || item;\n      });\n      name = condition.label;\n      options = labels.join(',');\n      required = condition.required;\n    }\n    var conditionProps = {\n      size: 'large',\n      closable: !required,\n      type: 'edit',\n      onClose: onConditionRemove.bind(null, conditionKey)\n    };\n    return name && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_tag__WEBPACK_IMPORTED_MODULE_11__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n      className: \"\".concat(prefixCls, \"-header-condition-item\"),\n      key: conditionKey\n    }, conditionProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-header-condition-item-text\"),\n      title: options\n    }, name, \"\\uFF1A\", options));\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_search__WEBPACK_IMPORTED_MODULE_12__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    className: \"\".concat(prefixCls, \"-header-search\"),\n    type: \"quick-search\"\n  }, props.search)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(\"\".concat(prefixCls, \"-header-handle\"), {\n      spread: spread\n    }),\n    onClick: handleSwitchSpread\n  }, FilterLangMsg[spread ? 'packup' : 'spread'], _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5___default()(FilterLangMsg), \" \", /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_icon__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n    type: \"arrow-down\"\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(\"\".concat(prefixCls, \"-body\"), {\n      spread: spread\n    })\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_space__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    size: 12,\n    className: \"\".concat(prefixCls, \"-body-tabs\"),\n    split: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-body-tabs-split\")\n    })\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(tabs).call(tabs, function (_ref3) {\n    var key = _ref3.key,\n      name = _ref3.name;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"span\", {\n      key: key,\n      onClick: function onClick() {\n        return setTab(key);\n      },\n      className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(\"\".concat(prefixCls, \"-body-tabs-item\"), {\n        active: key === tab\n      })\n    }, name);\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_condition__WEBPACK_IMPORTED_MODULE_14__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, {\n    tab: tab,\n    prefixCls: prefixCls,\n    conditions: conditions,\n    FilterLangMsg: FilterLangMsg,\n    onConditionChange: onConditionChange,\n    onConditionRemove: onConditionRemove,\n    value: value\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_scheme__WEBPACK_IMPORTED_MODULE_15__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, {\n    tab: tab,\n    fields: fields,\n    schemes: schemes,\n    prefixCls: prefixCls,\n    onSchemeSave: onSchemeSave,\n    FilterLangMsg: FilterLangMsg,\n    onSchemeSearch: onSchemeSearch,\n    getSchemeSettingMenu: getSchemeSettingMenu,\n    value: value\n  }))));\n};\nFilter.displayName = 'Filter';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Filter);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/filter/filter.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/filter/index.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/filter/index.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./filter */ \"../../node_modules/@kdcloudjs/kdesign/es/filter/filter.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_filter__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/filter/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/filter/scheme.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/filter/scheme.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/splice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! lodash/cloneDeep */ \"../../node_modules/lodash/cloneDeep.js\");\n/* harmony import */ var lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../button */ \"../../node_modules/@kdcloudjs/kdesign/es/button/index.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _input__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../input */ \"../../node_modules/@kdcloudjs/kdesign/es/input/index.js\");\n/* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../dropdown */ \"../../node_modules/@kdcloudjs/kdesign/es/dropdown/index.js\");\n/* harmony import */ var _select__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../select */ \"../../node_modules/@kdcloudjs/kdesign/es/select/index.js\");\n/* harmony import */ var _select_option__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../select/option */ \"../../node_modules/@kdcloudjs/kdesign/es/select/option.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar SchemeFilter = function SchemeFilter(props) {\n  var _context, _context5;\n  var value = props.value,\n    prefixCls = props.prefixCls,\n    fields = props.fields,\n    FilterLangMsg = props.FilterLangMsg,\n    onSchemeSearch = props.onSchemeSearch,\n    onSchemeSave = props.onSchemeSave,\n    getSchemeSettingMenu = props.getSchemeSettingMenu;\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_6__.useState(props.schemes || []),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState, 2),\n    schemes = _React$useState2[0],\n    setSchemes = _React$useState2[1];\n  react__WEBPACK_IMPORTED_MODULE_6__.useEffect(function () {\n    props.schemes !== undefined && setSchemes(props.schemes);\n  }, [props.schemes]);\n  var defaultItems = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(_context = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default()(fields).call(fields, function (_ref) {\n    var required = _ref.required;\n    return required;\n  })).call(_context, function (_ref2) {\n    var name = _ref2.name,\n      operators = _ref2.operators,\n      assignOptions = _ref2.assignOptions;\n    var _a;\n    var operator = operators === null || operators === void 0 ? void 0 : operators.props.defaultValue;\n    var defaultValue = (_a = assignOptions[operator] || assignOptions.default) === null || _a === void 0 ? void 0 : _a.props.defaultValue;\n    return {\n      operator: operator,\n      fieldName: name,\n      required: true,\n      value: defaultValue\n    };\n  });\n  var defaultScheme = {\n    name: '',\n    items: defaultItems\n  };\n  var _React$useState3 = react__WEBPACK_IMPORTED_MODULE_6__.useState(value.scheme || defaultScheme),\n    _React$useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState3, 2),\n    scheme = _React$useState4[0],\n    setScheme = _React$useState4[1];\n  react__WEBPACK_IMPORTED_MODULE_6__.useEffect(function () {\n    var _context2;\n    var nextScheme = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_8___default()(value.scheme || defaultScheme);\n    nextScheme.items = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(_context2 = nextScheme.items).call(_context2, function (item) {\n      var field = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default()(fields).call(fields, function (_ref3) {\n        var name = _ref3.name;\n        return name === item.fieldName;\n      });\n      item.required = field === null || field === void 0 ? void 0 : field.required;\n      return item;\n    });\n    setScheme(nextScheme);\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n  }, [value]);\n  react__WEBPACK_IMPORTED_MODULE_6__.useEffect(function () {\n    var nextScheme = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default()(schemes).call(schemes, function (_ref4) {\n      var name = _ref4.name;\n      return name === scheme.name;\n    });\n    if (!nextScheme && value.scheme) {\n      setScheme(defaultScheme);\n      onSchemeSearch && onSchemeSearch(defaultScheme);\n    }\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n  }, [schemes]);\n  var handleSwitchScheme = function handleSwitchScheme(name) {\n    var _context3;\n    var nextScheme = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_8___default()(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default()(schemes).call(schemes, function (scheme) {\n      return name === scheme.name;\n    }));\n    nextScheme.items = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(_context3 = nextScheme.items).call(_context3, function (item) {\n      var field = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default()(fields).call(fields, function (_ref5) {\n        var name = _ref5.name;\n        return name === item.fieldName;\n      });\n      if (field === null || field === void 0 ? void 0 : field.required) item.required = field === null || field === void 0 ? void 0 : field.required;\n      return item;\n    });\n    setScheme(nextScheme);\n    onSchemeSearch && onSchemeSearch(nextScheme);\n  };\n  var handleAddCondition = function handleAddCondition() {\n    var _a;\n    if (fields.length) {\n      var nextScheme = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_8___default()(scheme);\n      var _fields$filter$ = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default()(fields).call(fields, function (_ref6) {\n          var required = _ref6.required;\n          return !required;\n        })[0],\n        fieldName = _fields$filter$.name,\n        operators = _fields$filter$.operators,\n        assignOptions = _fields$filter$.assignOptions;\n      var operator = operators === null || operators === void 0 ? void 0 : operators.props.defaultValue;\n      var defaultValue = (_a = assignOptions[operator] || assignOptions.default) === null || _a === void 0 ? void 0 : _a.props.defaultValue;\n      nextScheme.items.push({\n        operator: operator,\n        fieldName: fieldName,\n        value: defaultValue\n      });\n      setScheme(nextScheme);\n    }\n  };\n  var handleDeleteCondition = function handleDeleteCondition(index) {\n    var _context4;\n    var nextScheme = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_8___default()(scheme);\n    _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_5___default()(_context4 = nextScheme.items).call(_context4, index, 1);\n    setScheme(nextScheme);\n  };\n  var handleChangeField = function handleChangeField(index, fieldName) {\n    var _a;\n    var nextScheme = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_8___default()(scheme);\n    var _fields$find = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default()(fields).call(fields, function (_ref7) {\n        var name = _ref7.name;\n        return name === fieldName;\n      }),\n      operators = _fields$find.operators,\n      assignOptions = _fields$find.assignOptions;\n    var operator = operators === null || operators === void 0 ? void 0 : operators.props.defaultValue;\n    var defaultValue = (_a = assignOptions[operator] || assignOptions.default) === null || _a === void 0 ? void 0 : _a.props.defaultValue;\n    nextScheme.items[index] = {\n      operator: operator,\n      fieldName: fieldName,\n      value: defaultValue\n    };\n    // debugger\n    setScheme(nextScheme);\n  };\n  var handleChangeOperator = function handleChangeOperator(index, assignOptions, operator) {\n    var _a;\n    var nextScheme = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_8___default()(scheme);\n    var defaultValue = (_a = assignOptions[operator] || assignOptions.default) === null || _a === void 0 ? void 0 : _a.props.defaultValue;\n    nextScheme.items[index] = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, nextScheme.items[index]), {\n      operator: operator,\n      value: defaultValue\n    });\n    setScheme(nextScheme);\n  };\n  var handleChangeOption = function handleChangeOption(index, value) {\n    var nextScheme = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_8___default()(scheme);\n    var realValue = value.target !== undefined ? value.target.value : value;\n    nextScheme.items[index] = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, nextScheme.items[index]), {\n      value: realValue\n    });\n    setScheme(nextScheme);\n  };\n  var handleChangeSchemeName = function handleChangeSchemeName(e) {\n    var nextScheme = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_8___default()(scheme);\n    nextScheme.name = e.target.value;\n    setScheme(nextScheme);\n  };\n  var handleSearch = function handleSearch() {\n    onSchemeSearch && onSchemeSearch(scheme);\n  };\n  var SettingMenu = getSchemeSettingMenu && getSchemeSettingMenu(scheme);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"ul\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(\"\".concat(prefixCls, \"-body-scheme\"), {\n      active: props.tab === 'scheme'\n    })\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"li\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-body-scheme-label\")\n  }, FilterLangMsg.commonScheme, \":\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"ol\", {\n    className: \"\".concat(prefixCls, \"-body-scheme-list\")\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(schemes).call(schemes, function (_ref8) {\n    var name = _ref8.name;\n    return (\n      /*#__PURE__*/\n      // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions\n      react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"li\", {\n        key: name,\n        className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(\"\".concat(prefixCls, \"-body-scheme-item\"), {\n          active: name === scheme.name\n        }),\n        onClick: handleSwitchScheme.bind(null, name)\n      }, name)\n    );\n  })), SettingMenu && scheme.name && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-body-scheme-action\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_dropdown__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n    menu: SettingMenu,\n    trigger: \"click\",\n    placement: \"bottomRight\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_button__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    type: \"ghost\",\n    size: \"small\"\n  }, FilterLangMsg.settings)))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"li\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-body-scheme-label\")\n  }, FilterLangMsg.advancedQuery, \"\\uFF1A\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"ol\", {\n    className: \"\".concat(prefixCls, \"-body-scheme-detail\")\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(_context5 = scheme.items).call(_context5, function (_ref9, index) {\n    var fieldName = _ref9.fieldName,\n      operator = _ref9.operator,\n      value = _ref9.value,\n      required = _ref9.required;\n    var field = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default()(fields).call(fields, function (_ref10) {\n      var name = _ref10.name;\n      return name === fieldName;\n    });\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"li\", {\n      key: index\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-body-scheme-detail-field\")\n    }, required ? field === null || field === void 0 ? void 0 : field.label : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_select__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n      borderType: \"bordered\",\n      style: {\n        width: '100%'\n      },\n      value: fieldName,\n      onChange: handleChangeField.bind(null, index)\n    }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(fields).call(fields, function (_ref11) {\n      var name = _ref11.name,\n        label = _ref11.label;\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_select_option__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n        key: name,\n        value: name,\n        title: label\n      }, label);\n    }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-body-scheme-detail-operator\")\n    }, (field === null || field === void 0 ? void 0 : field.operators) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.cloneElement(field.operators, {\n      value: operator,\n      style: {\n        width: '100%'\n      },\n      onChange: handleChangeOperator.bind(null, index, field.assignOptions)\n    })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-body-scheme-detail-value\")\n    }, (field === null || field === void 0 ? void 0 : field.assignOptions) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.cloneElement(field.assignOptions[operator] || field.assignOptions.default, {\n      value: value,\n      style: {\n        width: '100%'\n      },\n      onChange: handleChangeOption.bind(null, index)\n    })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-body-scheme-detail-and\")\n    }, FilterLangMsg.and), !required && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-body-scheme-detail-delete\"),\n      onClick: handleDeleteCondition.bind(null, index)\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_icon__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n      type: \"close-solid\"\n    })));\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"li\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_button__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    type: \"primary\",\n    ghost: true,\n    size: \"small\",\n    onClick: handleAddCondition\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_icon__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n    type: \"add\",\n    style: {\n      verticalAlign: 'top',\n      marginRight: 5\n    }\n  }), FilterLangMsg.addCondition)))), onSchemeSave && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"li\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-body-scheme-label\")\n  }, FilterLangMsg.schemeName, \"\\uFF1A\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-body-scheme-edit\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_input__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n    borderType: \"bordered\",\n    placeholder: FilterLangMsg.schemeNamePlaceholder,\n    style: {\n      width: 200\n    },\n    value: scheme.name,\n    onChange: handleChangeSchemeName\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_button__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    type: \"ghost\",\n    style: {\n      marginLeft: 12\n    },\n    onClick: onSchemeSave.bind(null, scheme)\n  }, FilterLangMsg.saveScheme)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-body-scheme-action\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_button__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    type: \"primary\",\n    onClick: handleSearch\n  }, FilterLangMsg.query))));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (SchemeFilter);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/filter/scheme.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/form/Field.js":
/*!**************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/form/Field.js ***!
  \**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   INNER_VALUE_PROPS_LIST: function() { return /* binding */ INNER_VALUE_PROPS_LIST; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var lodash_get__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! lodash/get */ \"../../node_modules/lodash/get.js\");\n/* harmony import */ var lodash_get__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(lodash_get__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _FieldLabel__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./FieldLabel */ \"../../node_modules/@kdcloudjs/kdesign/es/form/FieldLabel.js\");\n/* harmony import */ var _FieldWrapper__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./FieldWrapper */ \"../../node_modules/@kdcloudjs/kdesign/es/form/FieldWrapper.js\");\n/* harmony import */ var _hooks_useForceUpdate__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./hooks/useForceUpdate */ \"../../node_modules/@kdcloudjs/kdesign/es/form/hooks/useForceUpdate.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var _utils_react_children__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../_utils/react-children */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/react-children.js\");\n/* harmony import */ var _FieldContext__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./FieldContext */ \"../../node_modules/@kdcloudjs/kdesign/es/form/FieldContext.js\");\n/* harmony import */ var _hooks_useForm__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./hooks/useForm */ \"../../node_modules/@kdcloudjs/kdesign/es/form/hooks/useForm.js\");\n\n\n\n\n\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_5___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_5___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\n\n\n\nvar DEFAULT_TRIGGER = 'onChange';\nvar FormEventValuePropNames = ['value', 'checked'];\nvar generateEventHandler = function generateEventHandler(handler, validateTrigger) {\n  var eventHandler = {};\n  if (validateTrigger) {\n    if (typeof validateTrigger === 'string' && validateTrigger !== 'onChange') {\n      eventHandler[validateTrigger] = handler;\n    } else if (Array.isArray(validateTrigger)) {\n      validateTrigger.forEach(function (evt) {\n        if (evt !== 'onChange') {\n          eventHandler[evt] = handler;\n        }\n      });\n    }\n  }\n  return eventHandler;\n};\nvar INNER_VALUE_PROPS_LIST = [{\n  name: 'Radio',\n  propName: 'checked'\n}, {\n  name: 'Checkbox',\n  propName: 'checked'\n}, {\n  name: 'Switch',\n  propName: 'checked'\n}, {\n  name: 'Upload',\n  propName: 'fileList'\n}, {\n  name: 'Transfer',\n  propName: 'targetKeys'\n}];\nvar Field = function Field(props) {\n  var _context, _classnames;\n  var _a;\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(! /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().isValidElement(props.children), 'Form.Item', 'Children of Form.Item is not a valid element');\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(!props.name, 'Form.Item', 'Form.Item must have a name');\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_10__.useContext)(_config_provider__WEBPACK_IMPORTED_MODULE_14__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var fieldContext = react__WEBPACK_IMPORTED_MODULE_10___default().useContext(_FieldContext__WEBPACK_IMPORTED_MODULE_15__[\"default\"]);\n  var forceUpdate = (0,_hooks_useForceUpdate__WEBPACK_IMPORTED_MODULE_16__[\"default\"])();\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(undefined),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(_useState, 2),\n    fieldValue = _useState2[0],\n    setFieldValue = _useState2[1];\n  var getFieldValue = fieldContext.getFieldValue,\n    getFieldError = fieldContext.getFieldError,\n    getInternalHooks = fieldContext.getInternalHooks,\n    vertical = fieldContext.vertical,\n    getDefaultValue = fieldContext.getDefaultValue,\n    local = fieldContext.local,\n    formDisabled = fieldContext.disabled;\n  var _getInternalHooks = getInternalHooks(_hooks_useForm__WEBPACK_IMPORTED_MODULE_17__.INTERNAL_HOOK_KEY),\n    registerField = _getInternalHooks.registerField,\n    dispatch = _getInternalHooks.dispatch,\n    setDefaultValues = _getInternalHooks.setDefaultValues,\n    deleteField = _getInternalHooks.deleteField;\n  var name = props.name,\n    customizeHtmlFor = props.htmlFor,\n    children = props.children,\n    className = props.className,\n    disabled = props.disabled,\n    customizePrefixcls = props.prefixCls,\n    hidden = props.hidden,\n    label = props.label,\n    labelWidth = props.labelWidth,\n    labelAlign = props.labelAlign,\n    required = props.required,\n    rules = props.rules,\n    wrapperWidth = props.wrapperWidth,\n    validateTrigger = props.validateTrigger,\n    defaultValue = props.defaultValue,\n    valuePropName = props.valuePropName,\n    extra = props.extra;\n  var htmlFor = customizeHtmlFor || (name ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context = \"form_\".concat(name, \"_\")).call(_context, (Math.random() * 100).toFixed(0)) : undefined);\n  var childrenNode = null;\n  var innerValuePropName = 'value';\n  var childrenArray = (0,_utils_react_children__WEBPACK_IMPORTED_MODULE_18__.toArray)(children);\n  if (childrenArray.length) {\n    (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(childrenArray.length > 1, 'Form.Item', 'Form.Item must have only child');\n    childrenNode = childrenArray[0];\n  }\n  var innerDisplayName = (_a = childrenNode === null || childrenNode === void 0 ? void 0 : childrenNode.type) === null || _a === void 0 ? void 0 : _a.displayName;\n  if (valuePropName !== undefined) {\n    innerValuePropName = valuePropName;\n  } else if (innerDisplayName) {\n    var filter = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default()(INNER_VALUE_PROPS_LIST).call(INNER_VALUE_PROPS_LIST, function (item) {\n      return innerDisplayName === item.name;\n    });\n    if (filter.length) {\n      innerValuePropName = filter[0].propName;\n    }\n  }\n  var onStoreChange = function onStoreChange(stores, _namePathList, source) {\n    var prev = stores.prev,\n      curr = stores.curr;\n    var prevValue = lodash_get__WEBPACK_IMPORTED_MODULE_11___default()(prev, name);\n    var currValue = lodash_get__WEBPACK_IMPORTED_MODULE_11___default()(curr, name);\n    var isValueUpdated = prevValue !== currValue && source === 'updateValue';\n    var isExternalAction = source === 'externalUpdateValue';\n    var isValidatedFinish = source === 'validateFinish';\n    var isReset = source === 'reset';\n    if (isValueUpdated || isExternalAction || isValidatedFinish || isReset) {\n      forceUpdate();\n    }\n  };\n  var mergedRequired = required || (rules === null || rules === void 0 ? void 0 : rules.some(function (rule) {\n    if (rule && (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(rule) === 'object' && rule.required) {\n      return true;\n    }\n    if (typeof rule === 'function') {\n      var ruleEntity = rule(fieldContext);\n      return ruleEntity && ruleEntity.required;\n    }\n    return false;\n  }));\n  var mergeRule = function mergeRule() {\n    var mergeRules = Array.isArray(rules) ? (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(rules) : [];\n    if (!mergeRules.some(function (rule) {\n      return Object.prototype.hasOwnProperty.call(rule, 'required');\n    }) && required) {\n      var _context2;\n      mergeRules.push({\n        required: true,\n        message: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context2 = \"\".concat(local && local.requiredMessage)).call(_context2, label)\n      });\n    }\n    if (mergeRules.length) {\n      mergeRules = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8___default()(mergeRules).call(mergeRules, function (r) {\n        if (typeof r === 'function') {\n          return r(fieldContext);\n        }\n        return r;\n      });\n    }\n    return mergeRules;\n  };\n  var item = {\n    onStoreChange: onStoreChange,\n    meta: {\n      rules: mergeRule(),\n      name: name,\n      trigger: validateTrigger\n    }\n  };\n  var itemRef = react__WEBPACK_IMPORTED_MODULE_10___default().useRef(item);\n  itemRef.current = item;\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(function () {\n    registerField(name, itemRef);\n    if (defaultValue !== undefined) {\n      setDefaultValues((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, name, defaultValue));\n    }\n  }, [name, registerField]);\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(function () {\n    return function () {\n      deleteField(name);\n    };\n  }, []);\n  var formPrefixCls = getPrefixCls === null || getPrefixCls === void 0 ? void 0 : getPrefixCls(prefixCls, 'form', customizePrefixcls);\n  var formItemClassName = classnames__WEBPACK_IMPORTED_MODULE_12___default()((_classnames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames, \"\".concat(formPrefixCls), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames, \"\".concat(formPrefixCls, \"-field\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames, \"\".concat(formPrefixCls, \"-field-hidden\"), hidden), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames, \"\".concat(formPrefixCls, \"-field-vertical\"), vertical), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classnames, \"\".concat(formPrefixCls, \"-field-extra\"), extra), _classnames), className);\n  var value = getFieldValue(name);\n  var validateMessage = getFieldError(name);\n  var getInputValueFormProp = function getInputValueFormProp(evt) {\n    var payload = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n    var _a;\n    var inputValue;\n    if (innerDisplayName === 'RadioGroup' && payload) {\n      inputValue = payload[1];\n    } else if (evt && Object.prototype.hasOwnProperty.call(evt, 'target') && _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9___default()(FormEventValuePropNames).call(FormEventValuePropNames, innerValuePropName)) {\n      inputValue = (_a = evt.target) === null || _a === void 0 ? void 0 : _a[innerValuePropName];\n    } else {\n      inputValue = evt;\n    }\n    return inputValue;\n  };\n  var handleValueValidate = react__WEBPACK_IMPORTED_MODULE_10___default().useCallback(function () {\n    dispatch({\n      type: 'validateField',\n      namePath: name\n    });\n  }, [name]);\n  var mergeProps = function mergeProps(fa, ch) {\n    var _extends2;\n    if (!ch) {\n      return {};\n    }\n    var faRest = __rest(fa, []);\n    var _ch$props = ch.props,\n      chChange = _ch$props.onChange,\n      chValue = _ch$props[innerValuePropName],\n      chDisabled = _ch$props.disabled,\n      chDefaultValue = _ch$props.defaultValue;\n    var onChange = function onChange() {\n      for (var _len = arguments.length, evt = new Array(_len), _key = 0; _key < _len; _key++) {\n        evt[_key] = arguments[_key];\n      }\n      var iv = getInputValueFormProp(evt[0], evt);\n      if (chValue === undefined) {\n        setFieldValue(iv);\n      }\n      dispatch({\n        type: 'updateValue',\n        namePath: name,\n        value: iv\n      });\n      if (typeof chChange === 'function') {\n        chChange.apply(void 0, evt);\n      }\n    };\n    var mergeValue = chValue === undefined ? value : chValue;\n    if (mergeValue !== fieldValue) {\n      setFieldValue(mergeValue);\n    }\n    if (getDefaultValue(name) === undefined && (chDefaultValue !== undefined || chValue !== undefined)) {\n      setDefaultValues((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, name, chValue !== undefined ? chValue : chDefaultValue));\n      forceUpdate();\n    }\n    var mergeResult = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, faRest), (_extends2 = {\n      onChange: onChange,\n      defaultValue: defaultValue\n    }, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_extends2, innerValuePropName, fieldValue), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_extends2, \"disabled\", chDisabled !== undefined ? chDisabled : disabled !== undefined ? disabled : formDisabled), _extends2));\n    var mergeEventArray = [];\n    if (validateTrigger) {\n      if (Array.isArray(validateTrigger)) {\n        mergeEventArray.push.apply(mergeEventArray, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default()(validateTrigger).call(validateTrigger, function (v) {\n          return v !== DEFAULT_TRIGGER;\n        })));\n      } else if (validateTrigger !== DEFAULT_TRIGGER) {\n        mergeEventArray.push(validateTrigger);\n      }\n    }\n    mergeEventArray.forEach(function (eventName) {\n      mergeResult[eventName] = function () {\n        var _a;\n        if ((fa === null || fa === void 0 ? void 0 : fa[eventName]) && typeof fa[eventName] === 'function') {\n          fa[eventName]();\n        }\n        if (((_a = ch.props) === null || _a === void 0 ? void 0 : _a[eventName]) && typeof ch.props[eventName] === 'function') {\n          ch.props[eventName]();\n        }\n      };\n    });\n    return mergeResult;\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", {\n    className: formItemClassName\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_FieldLabel__WEBPACK_IMPORTED_MODULE_19__[\"default\"], {\n    htmlFor: htmlFor,\n    value: label,\n    width: labelWidth,\n    textAlign: labelAlign,\n    requiredMark: mergedRequired\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_FieldWrapper__WEBPACK_IMPORTED_MODULE_20__[\"default\"], {\n    width: wrapperWidth,\n    validateMessage: validateMessage,\n    extra: extra\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8___default()(childrenArray).call(childrenArray, function (child, index) {\n    var keys = mergeProps((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, generateEventHandler(handleValueValidate, validateTrigger)), {\n      key: index,\n      status: typeof validateMessage !== 'undefined' ? 'error' : undefined,\n      id: customizeHtmlFor ? undefined : htmlFor\n    }), child);\n    return child ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().cloneElement(child, keys) : child;\n  })));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Field);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/form/Field.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/form/FieldContext.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/form/FieldContext.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n\n\nvar warningFunc = function warningFunc() {\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(false, 'Form', 'Can not find FormContext. Please make sure you wrap Field under Form.');\n};\nvar context = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createContext({\n  getFieldError: warningFunc,\n  getFieldsError: warningFunc,\n  getFieldsValue: warningFunc,\n  getDefaultValue: warningFunc,\n  getFieldValue: warningFunc,\n  resetFields: warningFunc,\n  setFieldsValue: warningFunc,\n  setFieldValue: warningFunc,\n  submit: warningFunc,\n  validateFields: warningFunc,\n  getInternalHooks: function getInternalHooks() {\n    warningFunc();\n    return {\n      dispatch: warningFunc,\n      setDefaultValues: warningFunc,\n      registerField: warningFunc,\n      deleteField: warningFunc,\n      setCallbacks: warningFunc\n    };\n  }\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (context);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/form/FieldContext.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/form/FieldLabel.js":
/*!*******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/form/FieldLabel.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _FieldContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./FieldContext */ \"../../node_modules/@kdcloudjs/kdesign/es/form/FieldContext.js\");\n\n\n\n\n\n\nvar FieldLabel = function FieldLabel(props) {\n  var _classnames;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(_config_provider__WEBPACK_IMPORTED_MODULE_3__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var _useContext2 = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(_FieldContext__WEBPACK_IMPORTED_MODULE_4__[\"default\"]),\n    contextLabelWidth = _useContext2.labelWidth,\n    contextLabelAlign = _useContext2.labelAlign;\n  var _getCompProps = (0,_utils__WEBPACK_IMPORTED_MODULE_5__.getCompProps)('Form', userDefaultProps, props),\n    value = _getCompProps.value,\n    width = _getCompProps.width,\n    textAlign = _getCompProps.textAlign,\n    customizePrefixCls = _getCompProps.prefixCls,\n    requiredMark = _getCompProps.requiredMark,\n    htmlFor = _getCompProps.htmlFor;\n  if (value === undefined) return null;\n  var fieldLabelPrefixCls = getPrefixCls === null || getPrefixCls === void 0 ? void 0 : getPrefixCls(prefixCls, 'form-field-label', customizePrefixCls);\n  var mergedLabelWidth = width || contextLabelWidth;\n  var mergedLabelAlign = textAlign || contextLabelAlign;\n  var labelWrapperClassName = classnames__WEBPACK_IMPORTED_MODULE_2___default()((_classnames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames, \"\".concat(fieldLabelPrefixCls), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames, \"\".concat(fieldLabelPrefixCls, \"-right\"), mergedLabelAlign === 'right'), _classnames));\n  var labelClassName = classnames__WEBPACK_IMPORTED_MODULE_2___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(fieldLabelPrefixCls, \"-required-mark\"), requiredMark));\n  var style = {\n    width: mergedLabelWidth\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n    className: labelWrapperClassName,\n    style: style\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"label\", {\n    className: labelClassName,\n    title: value,\n    htmlFor: htmlFor\n  }, value));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (FieldLabel);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/form/FieldLabel.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/form/FieldWrapper.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/form/FieldWrapper.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n\n\n\n\nvar FieldWrapper = function FieldWrapper(props) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_config_provider__WEBPACK_IMPORTED_MODULE_2__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var wrapperProps = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getCompProps)('Form', userDefaultProps, props);\n  var children = wrapperProps.children,\n    customizePrefixCls = wrapperProps.prefixCls,\n    width = wrapperProps.width,\n    validateMessage = wrapperProps.validateMessage,\n    extra = wrapperProps.extra;\n  var wrapperPrefixCls = getPrefixCls === null || getPrefixCls === void 0 ? void 0 : getPrefixCls(prefixCls, 'form-field-wrapper', customizePrefixCls);\n  var wrapperClassName = classnames__WEBPACK_IMPORTED_MODULE_1___default()([\"\".concat(wrapperPrefixCls)]);\n  var messageClassName = classnames__WEBPACK_IMPORTED_MODULE_1___default()([\"\".concat(wrapperPrefixCls, \"-message\")]);\n  var validate = validateMessage ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"p\", {\n    className: messageClassName,\n    title: validateMessage\n  }, validateMessage) : null;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: wrapperClassName,\n    style: {\n      width: width\n    }\n  }, children, extra ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: \"\".concat(wrapperPrefixCls, \"-extra\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: \"\".concat(wrapperPrefixCls, \"-extra-message\")\n  }, validateMessage), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: \"\".concat(wrapperPrefixCls, \"-extra-text\")\n  }, extra)) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, validate));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (FieldWrapper);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/form/FieldWrapper.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/form/Form.js":
/*!*************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/form/Form.js ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _hooks_useForm__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./hooks/useForm */ \"../../node_modules/@kdcloudjs/kdesign/es/form/hooks/useForm.js\");\n/* harmony import */ var _FormContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./FormContext */ \"../../node_modules/@kdcloudjs/kdesign/es/form/FormContext.js\");\n/* harmony import */ var _FieldContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./FieldContext */ \"../../node_modules/@kdcloudjs/kdesign/es/form/FieldContext.js\");\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\nvar Form = function Form(props, ref) {\n  var _context, _classnames;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_5__.useContext)(_config_provider__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps,\n    globalLocale = _useContext.locale;\n  var formProps = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCompProps)('Form', userDefaultProps, props);\n  var formLang = globalLocale.getCompLangMsg({\n    componentName: 'Form'\n  });\n  var children = formProps.children,\n    defaultValues = formProps.defaultValues,\n    className = formProps.className,\n    form = formProps.form,\n    labelAlign = formProps.labelAlign,\n    labelWidth = formProps.labelWidth,\n    layout = formProps.layout,\n    name = formProps.name,\n    customizePrefixCls = formProps.prefixCls,\n    wrapperWidth = formProps.wrapperWidth,\n    onFinish = formProps.onFinish,\n    onFinishFailed = formProps.onFinishFailed,\n    onValuesChange = formProps.onValuesChange,\n    disabled = formProps.disabled,\n    restProps = __rest(formProps, [\"children\", \"defaultValues\", \"className\", \"form\", \"labelAlign\", \"labelWidth\", \"layout\", \"name\", \"prefixCls\", \"wrapperWidth\", \"onFinish\", \"onFinishFailed\", \"onValuesChange\", \"disabled\"]);\n  var formPrefixCls = getPrefixCls(prefixCls, 'form', customizePrefixCls);\n  var formClassName = classnames__WEBPACK_IMPORTED_MODULE_6___default()((_classnames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classnames, \"\".concat(formPrefixCls), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classnames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = \"\".concat(formPrefixCls, \"-\")).call(_context, layout), true), _classnames), className);\n  var formContext = (0,react__WEBPACK_IMPORTED_MODULE_5__.useContext)(_FormContext__WEBPACK_IMPORTED_MODULE_9__[\"default\"]);\n  var _useForm = (0,_hooks_useForm__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(form),\n    _useForm2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useForm, 1),\n    formInstance = _useForm2[0];\n  // 注册\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    formContext.registerForm(name, formInstance);\n    return function () {\n      formContext.unregisterForm(name);\n    };\n  }, [name, formInstance, formContext]);\n  // 暴露 formInstance\n  react__WEBPACK_IMPORTED_MODULE_5___default().useImperativeHandle(ref, function () {\n    return formInstance;\n  });\n  // 设置默认值及回调函数\n  var _formInstance$getInte = formInstance.getInternalHooks(_hooks_useForm__WEBPACK_IMPORTED_MODULE_10__.INTERNAL_HOOK_KEY),\n    setDefaultValues = _formInstance$getInte.setDefaultValues,\n    setCallbacks = _formInstance$getInte.setCallbacks;\n  setDefaultValues(defaultValues);\n  setCallbacks({\n    onFinish: onFinish,\n    onFinishFailed: onFinishFailed,\n    onValuesChange: onValuesChange\n  });\n  var formContextValue = react__WEBPACK_IMPORTED_MODULE_5___default().useMemo(function () {\n    return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, formInstance), {\n      labelAlign: labelAlign,\n      labelWidth: labelWidth,\n      wrapperWidth: wrapperWidth,\n      local: formLang,\n      disabled: disabled,\n      vertical: layout === 'vertical'\n    });\n  }, [formInstance, labelAlign, labelWidth, wrapperWidth, layout, formLang]);\n  var handleSubmit = function handleSubmit(evt) {\n    evt.preventDefault();\n    evt.stopPropagation();\n    formInstance.submit();\n  };\n  var handleReset = function handleReset(evt) {\n    evt.preventDefault();\n    evt.stopPropagation();\n    formInstance.resetFields();\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"form\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    className: formClassName\n  }, restProps, {\n    onSubmit: handleSubmit,\n    onReset: handleReset\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_FieldContext__WEBPACK_IMPORTED_MODULE_11__[\"default\"].Provider, {\n    value: formContextValue\n  }, children));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Form);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/form/Form.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/form/FormContext.js":
/*!********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/form/FormContext.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   FormProvider: function() { return /* binding */ FormProvider; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\nvar FormContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createContext({\n  // eslint-disable-next-line\n  registerForm: function registerForm() {},\n  // eslint-disable-next-line\n  unregisterForm: function unregisterForm() {}\n});\nvar FormProvider = function FormProvider(_ref) {\n  var children = _ref.children;\n  var formContext = react__WEBPACK_IMPORTED_MODULE_2___default().useContext(FormContext);\n  var formsRef = react__WEBPACK_IMPORTED_MODULE_2___default().useRef({});\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(FormContext.Provider, {\n    value: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, formContext), {\n      registerForm: function registerForm(name, form) {\n        if (name) {\n          formsRef.current = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, formsRef.current), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, name, form));\n        }\n        formContext.registerForm(name, form);\n      },\n      unregisterForm: function unregisterForm(name) {\n        var newForms = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, formsRef.current);\n        delete newForms[name];\n        formsRef.current = newForms;\n        formContext.unregisterForm(name);\n      }\n    })\n  }, children);\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (FormContext);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/form/FormContext.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/form/hooks/useForceUpdate.js":
/*!*****************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/form/hooks/useForceUpdate.js ***!
  \*****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n\n\nfunction useForceUpdate() {\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_1___default().useState(),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_React$useState, 2),\n    updateState = _React$useState2[1];\n  var forceUpdate = react__WEBPACK_IMPORTED_MODULE_1___default().useCallback(function () {\n    updateState({});\n  }, []);\n  return forceUpdate;\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useForceUpdate);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/form/hooks/useForceUpdate.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/form/hooks/useForm.js":
/*!**********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/form/hooks/useForm.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   INTERNAL_HOOK_KEY: function() { return /* binding */ INTERNAL_HOOK_KEY; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/createClass */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/createClass.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/classCallCheck */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/classCallCheck.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/promise */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/promise.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_values__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/values */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/values.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_values__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_values__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var async_validator__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! async-validator */ \"../../node_modules/async-validator/dist-web/index.js\");\n/* harmony import */ var lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! lodash/cloneDeep */ \"../../node_modules/lodash/cloneDeep.js\");\n/* harmony import */ var lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var lodash_get__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! lodash/get */ \"../../node_modules/lodash/get.js\");\n/* harmony import */ var lodash_get__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(lodash_get__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var lodash_merge__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! lodash/merge */ \"../../node_modules/lodash/merge.js\");\n/* harmony import */ var lodash_merge__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(lodash_merge__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var lodash_set__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! lodash/set */ \"../../node_modules/lodash/set.js\");\n/* harmony import */ var lodash_set__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(lodash_set__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar INTERNAL_HOOK_KEY = '__KD_INTERNAL_FORM_HOOK__';\nvar FormStore = /*#__PURE__*/(0,_babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(function FormStore() {\n  var _this = this;\n  (0,_babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(this, FormStore);\n  this.isMounted = false;\n  this.defaultValues = {};\n  this.store = {};\n  this.fields = {};\n  this.errorMessages = {};\n  this.callbacks = {};\n  this.getForm = function () {\n    return {\n      getFieldValue: _this.getFieldValue,\n      getFieldsValue: _this.getFieldsValue,\n      getDefaultValue: _this.getDefaultValue,\n      getFieldError: _this.getFieldError,\n      getFieldsError: _this.getFieldsError,\n      resetFields: _this.resetFields,\n      setFieldValue: _this.setFieldValue,\n      setFieldsValue: _this.setFieldsValue,\n      validateFields: _this.validateFields,\n      submit: _this.submit,\n      getInternalHooks: _this.getInternalHooks\n    };\n  };\n  this.getInternalHooks = function (key) {\n    if (key !== INTERNAL_HOOK_KEY) {\n      (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(false, 'Form', '`getInternalHooks` is internal usage.');\n      return null;\n    }\n    _this.isMounted = true;\n    return {\n      dispatch: _this.dispatch,\n      setDefaultValues: _this.setDefaultValues,\n      setCallbacks: _this.setCallbacks,\n      registerField: _this.registerField,\n      deleteField: _this.deleteField\n    };\n  };\n  this.warningUnhooked = function () {\n    !_this.isMounted && (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(false, 'Form', 'Instance created by `useForm` is not connected to any Form element. Forget to pass `form` prop?');\n  };\n  /**\n   * Dispath. 用于 Field 触发数据变更\n   * @param action\n   */\n  this.dispatch = function (action) {\n    _this.warningUnhooked();\n    var namePath = action.namePath;\n    switch (action.type) {\n      case 'updateValue':\n        _this.updateValue(namePath, action.value);\n        break;\n      case 'validateField':\n        _this.validateFields([namePath]);\n        break;\n      default:\n        break;\n    }\n  };\n  this.setDefaultValues = function (values) {\n    _this.warningUnhooked();\n    if (!values) return;\n    var copyDefaultValues = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_9___default()(_this.defaultValues);\n    var copyValues = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_9___default()(values);\n    _this.defaultValues = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, copyDefaultValues), copyValues);\n    _this.store = lodash_merge__WEBPACK_IMPORTED_MODULE_11___default()(_this.store, values);\n  };\n  this.getDefaultValue = function (name) {\n    _this.warningUnhooked();\n    return lodash_get__WEBPACK_IMPORTED_MODULE_10___default()(_this.defaultValues, name);\n  };\n  this.getFieldValue = function (name) {\n    _this.warningUnhooked();\n    return lodash_get__WEBPACK_IMPORTED_MODULE_10___default()(_this.store, name);\n  };\n  this.setFieldValue = function (name, value) {\n    _this.warningUnhooked();\n    _this.setFieldsValue((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, name, value));\n  };\n  this.getFieldsValue = function (namePathList) {\n    _this.warningUnhooked();\n    if (!namePathList) {\n      return lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_9___default()(_this.store);\n    }\n    var fieldsValue = {};\n    namePathList.forEach(function (name) {\n      fieldsValue[name] = lodash_get__WEBPACK_IMPORTED_MODULE_10___default()(_this.store, name);\n    });\n    return fieldsValue;\n  };\n  this.setFieldsValue = function (store) {\n    _this.warningUnhooked();\n    if (!store) return;\n    var prevStore = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_9___default()(_this.store);\n    _this.store = lodash_merge__WEBPACK_IMPORTED_MODULE_11___default()(_this.store, store);\n    _this.notifyObservers(prevStore, null, 'externalUpdateValue');\n  };\n  this.getFieldError = function (name) {\n    _this.warningUnhooked();\n    return lodash_get__WEBPACK_IMPORTED_MODULE_10___default()(_this.errorMessages, name);\n  };\n  this.getFieldsError = function (namePathList) {\n    _this.warningUnhooked();\n    if (!namePathList) {\n      return lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_9___default()(_this.errorMessages);\n    }\n    var result = {};\n    namePathList.forEach(function (name) {\n      result[name] = _this.errorMessages[name];\n    });\n    return result;\n  };\n  this.getRules = function (namePathList) {\n    _this.warningUnhooked();\n    var list = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_9___default()(namePathList);\n    if (!list) {\n      list = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_4___default()(_this.fields);\n    }\n    var rules = {};\n    list.forEach(function (name) {\n      var _a, _b;\n      var current = _this.fields[name].current;\n      if ((_a = current === null || current === void 0 ? void 0 : current.meta) === null || _a === void 0 ? void 0 : _a.rules) {\n        rules[name] = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_9___default()((_b = current === null || current === void 0 ? void 0 : current.meta) === null || _b === void 0 ? void 0 : _b.rules);\n      }\n    });\n    return _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_4___default()(rules).length === 0 ? null : rules;\n  };\n  this.setCallbacks = function (callbacks) {\n    _this.warningUnhooked();\n    _this.callbacks = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_9___default()(callbacks);\n  };\n  this.resetFields = function () {\n    _this.warningUnhooked();\n    var prevStore = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_9___default()(_this.store);\n    // 重置时，无默认值的 field value 不能设置为 undefined\n    // 部分控件 undefined 的话不会生效\n    var newStore = {};\n    for (var key in _this.store) {\n      newStore[key] = _this.defaultValues[key] ? _this.defaultValues[key] : '';\n    }\n    _this.store = newStore;\n    _this.errorMessages = {};\n    _this.notifyObservers(prevStore, null, 'reset');\n  };\n  this.updateValue = function (name, value) {\n    _this.warningUnhooked();\n    var prevStore = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_9___default()(_this.store);\n    lodash_set__WEBPACK_IMPORTED_MODULE_12___default()(_this.store, name, value);\n    var trigger = lodash_get__WEBPACK_IMPORTED_MODULE_10___default()(_this.fields, [name, 'meta', 'trigger']);\n    // 默认是 onChange 触发校验\n    if (trigger === undefined || trigger === 'onChange' || _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default()(trigger).call(trigger, 'onChange')) {\n      _this.validateFields([name]);\n    } else {\n      _this.notifyObservers(prevStore, [name], 'updateValue');\n    }\n    var onValuesChange = _this.callbacks.onValuesChange;\n    if (onValuesChange) {\n      onValuesChange((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, name, value), lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_9___default()(_this.store));\n    }\n  };\n  this.registerField = function (name, field) {\n    _this.warningUnhooked();\n    _this.fields[name] = field;\n  };\n  this.deleteField = function (name) {\n    _this.warningUnhooked();\n    Object.hasOwnProperty.call(_this.fields, name) && delete _this.fields[name];\n    Object.hasOwnProperty.call(_this.errorMessages, name) && delete _this.errorMessages[name];\n    Object.hasOwnProperty.call(_this.store, name) && delete _this.store[name];\n  };\n  this.validateFields = function (namePathList) {\n    _this.warningUnhooked();\n    var rules = _this.getRules(namePathList);\n    // 没有设置校验规则的情况下，不做校验\n    if (!rules) return _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_6___default().resolve({\n      values: lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_9___default()(_this.store)\n    });\n    var validator = new async_validator__WEBPACK_IMPORTED_MODULE_14__[\"default\"](rules);\n    var validatePromise = new (_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_6___default())(function (resolve, reject) {\n      validator.validate(_this.store).then(function () {\n        resolve({\n          values: lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_9___default()(_this.store)\n        });\n      }).catch(function (_ref) {\n        var errors = _ref.errors,\n          fields = _ref.fields;\n        // eslint-disable-next-line\n        console.log(errors);\n        // eslint-disable-next-line  prefer-promise-reject-errors\n        reject({\n          errors: errors,\n          errorInfos: {\n            values: lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_9___default()(_this.store),\n            fields: fields\n          }\n        });\n      });\n    });\n    /**\n     * 内部校验用\n     */\n    validatePromise.then(function () {\n      namePathList === null || namePathList === void 0 ? void 0 : namePathList.forEach(function (name) {\n        _this.errorMessages[name] && delete _this.errorMessages[name];\n      });\n      _this.notifyObservers(_this.store, namePathList || [], 'validateFinish');\n    }).catch(function (_ref2) {\n      var errorInfos = _ref2.errorInfos;\n      if (!namePathList) {\n        _this.errorMessages = {};\n      }\n      var _errorInfos$fields = errorInfos.fields,\n        fields = _errorInfos$fields === void 0 ? {} : _errorInfos$fields;\n      _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_4___default()(fields).forEach(function (name) {\n        _this.errorMessages[name] = fields[name][0].message;\n      });\n      _this.notifyObservers(_this.store, namePathList || [], 'validateFinish');\n    });\n    return validatePromise;\n  };\n  this.submit = function () {\n    _this.warningUnhooked();\n    _this.validateFields().then(function (values) {\n      var onFinish = _this.callbacks.onFinish;\n      if (onFinish) {\n        try {\n          onFinish(values);\n        } catch (err) {\n          console.error(err);\n        }\n      }\n    }).catch(function (_ref3) {\n      var errorInfos = _ref3.errorInfos;\n      var onFinishFailed = _this.callbacks.onFinishFailed;\n      if (onFinishFailed) {\n        onFinishFailed(errorInfos);\n      }\n    });\n  };\n  this.notifyObservers = function (prevStore, namePathList, source) {\n    _this.warningUnhooked();\n    _babel_runtime_corejs3_core_js_stable_object_values__WEBPACK_IMPORTED_MODULE_7___default()(_this.fields).forEach(function (_ref4) {\n      var onStoreChange = _ref4.current.onStoreChange;\n      var stores = {\n        prev: prevStore,\n        curr: _this.store\n      };\n      onStoreChange(stores, namePathList, source);\n    });\n  };\n});\nfunction useForm(form) {\n  var formRef = react__WEBPACK_IMPORTED_MODULE_8___default().useRef();\n  if (!formRef.current) {\n    if (form) {\n      formRef.current = form;\n    } else {\n      var formStore = new FormStore();\n      formRef.current = formStore.getForm();\n    }\n  }\n  return [formRef.current];\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useForm);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/form/hooks/useForm.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/form/index.js":
/*!**************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/form/index.js ***!
  \**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   FormProvider: function() { return /* reexport safe */ _FormContext__WEBPACK_IMPORTED_MODULE_2__.FormProvider; },\n/* harmony export */   Item: function() { return /* reexport safe */ _Field__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Field */ \"../../node_modules/@kdcloudjs/kdesign/es/form/Field.js\");\n/* harmony import */ var _hooks_useForm__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./hooks/useForm */ \"../../node_modules/@kdcloudjs/kdesign/es/form/hooks/useForm.js\");\n/* harmony import */ var _Form__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Form */ \"../../node_modules/@kdcloudjs/kdesign/es/form/Form.js\");\n/* harmony import */ var _FormContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./FormContext */ \"../../node_modules/@kdcloudjs/kdesign/es/form/FormContext.js\");\n\n\n\n\n\nvar InternalForm = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(_Form__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\nvar RefForm = InternalForm;\nRefForm.FormProvider = _FormContext__WEBPACK_IMPORTED_MODULE_2__.FormProvider;\nRefForm.Item = _Field__WEBPACK_IMPORTED_MODULE_3__[\"default\"];\nRefForm.Item.displayName = 'Item';\nRefForm.useForm = _hooks_useForm__WEBPACK_IMPORTED_MODULE_4__[\"default\"];\nRefForm.displayName = 'Form';\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (RefForm);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/form/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/grid/col.js":
/*!************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/grid/col.js ***!
  \************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils_testBrowserType__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils/testBrowserType */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/testBrowserType.js\");\n/* harmony import */ var _row__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./row */ \"../../node_modules/@kdcloudjs/kdesign/es/grid/row.js\");\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\nvar Col = function Col(props) {\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_3___default().useContext(_config_provider__WEBPACK_IMPORTED_MODULE_5__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    pkgPrefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  // 属性需要合并一遍用户定义的默认属性\n  var _a = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getCompProps)('Col', userDefaultProps, props),\n    xs = _a.xs,\n    sm = _a.sm,\n    md = _a.md,\n    lg = _a.lg,\n    xl = _a.xl,\n    flex = _a.flex,\n    span = _a.span,\n    pull = _a.pull,\n    push = _a.push,\n    style = _a.style,\n    order = _a.order,\n    offset = _a.offset,\n    children = _a.children,\n    className = _a.className,\n    customPrefixcls = _a.prefixCls,\n    others = __rest(_a, [\"xs\", \"sm\", \"md\", \"lg\", \"xl\", \"flex\", \"span\", \"pull\", \"push\", \"style\", \"order\", \"offset\", \"children\", \"className\", \"prefixCls\"]);\n  var rowGroup = (0,react__WEBPACK_IMPORTED_MODULE_3__.useContext)(_row__WEBPACK_IMPORTED_MODULE_7__.GapContext);\n  var mergedWinWidth = rowGroup.winWidth;\n  var gap = rowGroup.gap;\n  // 判断当前浏览器是否支持row-gap，如果不支持则使用margin负值模拟\n  var notSupportRowGap = function notSupportRowGap() {\n    // 判断是否是搜狗浏览器\n    if ((0,_utils_testBrowserType__WEBPACK_IMPORTED_MODULE_8__.testBrowserType)(/^sogou/i, 0)) return true;\n    // 判断是否是IE浏览器\n    if (/Trident|MSIE/.test(navigator.userAgent)) return true;\n    // 判断是否是chrome浏览器，chrome浏览器版本号小于83(统信浏览器)\n    if (/Chrome/.test(navigator.userAgent) && !/Chromium/.test(navigator.userAgent)) {\n      var version = navigator.userAgent.split('Chrome/')[1].split('.');\n      if (version[0] && parseInt(version[0]) <= 83) return true;\n    }\n    return false;\n  };\n  var colGapStyle = {\n    padding: \"0 \".concat(gap.h / 2, \"px\")\n  };\n  if (notSupportRowGap() && gap.v) colGapStyle.marginBottom = gap.v;\n  // className前缀\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'col', customPrefixcls);\n  var columns = 24;\n  var base = {\n    span: span,\n    pull: pull,\n    push: push,\n    offset: offset,\n    order: order\n  };\n  if (xs && mergedWinWidth > 0) {\n    if (xs.constructor === Number) base.span = xs;\n    if (xs.constructor === Object) base = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, base), xs);\n  }\n  if (sm && mergedWinWidth >= 600) {\n    if (sm.constructor === Number) base.span = sm;\n    if (sm.constructor === Object) base = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, base), sm);\n  }\n  if (md && mergedWinWidth >= 1024) {\n    if (md.constructor === Number) base.span = md;\n    if (md.constructor === Object) base = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, base), md);\n  }\n  if (lg && mergedWinWidth >= 1280) {\n    if (lg.constructor === Number) base.span = lg;\n    if (lg.constructor === Object) base = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, base), lg);\n  }\n  if (xl && mergedWinWidth >= 1920) {\n    if (xl.constructor === Number) base.span = xl;\n    if (xl.constructor === Object) base = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, base), xl);\n  }\n  var width = base.span ? base.span / columns * 100 + '%' : '100%';\n  var flexstr = \"0 0 \".concat(width);\n  if (flex) {\n    if (flex.constructor === Number) {\n      var _context;\n      flexstr = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default()(_context = \"\".concat(flex, \" \")).call(_context, flex, \" auto\");\n    }\n    if (flex.constructor === String) {\n      var flexArr = flex.split(' ');\n      if (flexArr.length === 1 && /px/.test(flexArr[0])) {\n        flexstr = \"0 0 \".concat(flexArr[0]);\n      } else {\n        flexstr = flex;\n      }\n    }\n  }\n  var styleString = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    flex: flexstr,\n    maxWidth: width,\n    order: base.order,\n    left: base.push && base.push / columns * 100 + '%',\n    right: base.pull && base.pull / columns * 100 + '%',\n    marginLeft: base.offset && base.offset / columns * 100 + '%'\n  }, colGapStyle), style);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(prefixCls, className),\n    style: styleString\n  }, others), children);\n};\nCol.displayName = 'Col';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Col);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/grid/col.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/grid/row.js":
/*!************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/grid/row.js ***!
  \************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   GapContext: function() { return /* binding */ GapContext; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var lodash_throttle__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash/throttle */ \"../../node_modules/lodash/throttle.js\");\n/* harmony import */ var lodash_throttle__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash_throttle__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _utils_testBrowserType__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_utils/testBrowserType */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/testBrowserType.js\");\n\n\n\n\n\n\n\n\nfunction getGap(gutter, width) {\n  var xs = gutter.xs,\n    sm = gutter.sm,\n    md = gutter.md,\n    lg = gutter.lg,\n    xl = gutter.xl;\n  var gap = 0;\n  if (xs && width > 0) gap = xs;\n  if (sm && width >= 600) gap = sm;\n  if (md && width >= 1024) gap = md;\n  if (lg && width >= 1280) gap = lg;\n  if (xl && width >= 1920) gap = xl;\n  return gap;\n}\nvar GapContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.createContext)({\n  gap: {\n    h: 0,\n    v: 0\n  },\n  winWidth: window.innerWidth\n});\nvar Row = function Row(props) {\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_2___default().useContext(_config_provider__WEBPACK_IMPORTED_MODULE_5__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    pkgPrefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  // 属性需要合并一遍用户定义的默认属性\n  var _getCompProps = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getCompProps)('Row', userDefaultProps, props),\n    style = _getCompProps.style,\n    className = _getCompProps.className,\n    children = _getCompProps.children,\n    wrap = _getCompProps.wrap,\n    gutter = _getCompProps.gutter,\n    align = _getCompProps.align,\n    justify = _getCompProps.justify,\n    customPrefixcls = _getCompProps.prefixCls;\n  // 判断当前浏览器是否支持row-gap，如果不支持则使用margin负值模拟\n  var notSupportRowGap = function notSupportRowGap() {\n    // 判断是否是搜狗浏览器\n    if ((0,_utils_testBrowserType__WEBPACK_IMPORTED_MODULE_7__.testBrowserType)(/^sogou/i, 0)) return true;\n    // 判断是否是IE浏览器\n    if (/Trident|MSIE/.test(navigator.userAgent)) return true;\n    // 判断是否是chrome浏览器，chrome浏览器版本号小于83(统信浏览器)\n    if (/Chrome/.test(navigator.userAgent) && !/Chromium/.test(navigator.userAgent)) {\n      var version = navigator.userAgent.split('Chrome/')[1].split('.');\n      if (version[0] && parseInt(version[0]) <= 83) return true;\n    }\n    return false;\n  };\n  // className前缀\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'row', customPrefixcls);\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_2___default().useState(window.innerWidth),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState, 2),\n    winWidth = _React$useState2[0],\n    setWinWidth = _React$useState2[1];\n  var updateWidth = lodash_throttle__WEBPACK_IMPORTED_MODULE_4___default()(function () {\n    return setWinWidth(window.innerWidth);\n  }, 500);\n  window.addEventListener('resize', updateWidth);\n  var gap = {\n    h: 0,\n    v: 0\n  };\n  if (gutter.constructor === Number) gap.h = gutter;\n  if (gutter.constructor === Object) {\n    gap.h = getGap(gutter, winWidth);\n  }\n  if (Array.isArray(gutter)) {\n    if (gutter[0].constructor === Object) {\n      gap.h = getGap(gutter[0], winWidth);\n    } else {\n      gap.h = gutter[0];\n    }\n    if (gutter[1].constructor === Object) {\n      gap.v = getGap(gutter[1], winWidth);\n    } else {\n      gap.v = gutter[1];\n    }\n  }\n  var rowStyle = {\n    rowGap: \"\".concat(gap.v, \"px\"),\n    margin: \"0 \".concat(-1 * gap.h / 2, \"px\")\n  };\n  if (gap.v && notSupportRowGap()) rowStyle.marginBottom = \"\".concat(-1 * gap.v, \"px\");\n  var toalign = {\n    top: 'flex-start',\n    middle: 'center',\n    bottom: 'flex-end'\n  };\n  var tojustify = {\n    start: 'flex-start',\n    end: 'flex-end'\n  };\n  var styleString = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, rowStyle), style), {\n    alignItems: toalign[align] || align,\n    justifyContent: tojustify[justify] || justify\n  });\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(GapContext.Provider, {\n    value: {\n      gap: gap,\n      winWidth: winWidth\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()(prefixCls, className, {\n      nowrap: !wrap\n    }),\n    style: styleString\n  }, children));\n};\nRow.displayName = 'Row';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Row);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/grid/row.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/icon/icon.js":
/*!*************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/icon/icon.js ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\nvar InternalIcon = function InternalIcon(props, ref) {\n  var _context, _classNames;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_6__[\"default\"]),\n    userDefaultProps = _useContext.compDefaultProps;\n  var iconProps = (0,_utils__WEBPACK_IMPORTED_MODULE_7__.getCompProps)('Icon', userDefaultProps, props);\n  var type = iconProps.type,\n    spin = iconProps.spin,\n    style = iconProps.style,\n    prefix = iconProps.prefix,\n    className = iconProps.className,\n    rotate = iconProps.rotate,\n    onClick = iconProps.onClick,\n    onMouseEnter = iconProps.onMouseEnter,\n    onMouseLeave = iconProps.onMouseLeave,\n    others = __rest(iconProps, [\"type\", \"spin\", \"style\", \"prefix\", \"className\", \"rotate\", \"onClick\", \"onMouseEnter\", \"onMouseLeave\"]);\n  var innerRef = react__WEBPACK_IMPORTED_MODULE_4___default().useRef();\n  var iconRef = ref || innerRef;\n  var iconPrefix = prefix || iconProps.iconPrefix;\n  var iconClass = classnames__WEBPACK_IMPORTED_MODULE_5___default()(iconPrefix, className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(iconPrefix, \"-\")).call(_context, type), type), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"icon-spin\", spin), _classNames));\n  var handleClick = function handleClick(e) {\n    onClick && onClick(e);\n  };\n  var handleMouseEnter = function handleMouseEnter(e) {\n    onMouseEnter && onMouseEnter(e);\n  };\n  var handleMouseLeave = function handleMouseLeave(e) {\n    onMouseLeave && onMouseLeave(e);\n  };\n  var iconStyle = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, style);\n  if (rotate !== undefined) {\n    iconStyle.transform = \"rotate(\".concat(rotate, \"deg)\");\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"i\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    className: iconClass,\n    onClick: handleClick,\n    onMouseEnter: handleMouseEnter,\n    onMouseLeave: handleMouseLeave,\n    style: iconStyle\n  }, others, {\n    ref: iconRef\n  }));\n};\nvar Icon = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().forwardRef(InternalIcon);\nIcon.displayName = 'Icon';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Icon);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/icon/icon.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/icon/index.js":
/*!**************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/icon/index.js ***!
  \**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/icon.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_icon__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/icon/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/image-cropper/cropper.js":
/*!*************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/image-cropper/cropper.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   DragModeTypes: function() { return /* binding */ DragModeTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/promise */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/promise.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var cropperjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! cropperjs */ \"../../node_modules/cropperjs/dist/cropper.js\");\n/* harmony import */ var cropperjs__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(cropperjs__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n\n\n\n\n\n// crop 形成新的裁剪框\n// move 图片可移动\n// none 都不能移动\nvar DragModeTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_4__.tuple)('crop', 'move', 'none');\nvar Cropper = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.forwardRef)(function (props, forwardedRef) {\n  var containerRef = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(null);\n  var imgRef = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(null);\n  var cropperRef = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(null);\n  (0,react__WEBPACK_IMPORTED_MODULE_2__.useImperativeHandle)(forwardedRef, function () {\n    return {\n      getImage: getImage,\n      reset: reset,\n      rotate: rotate,\n      zoom: zoom,\n      replace: replace,\n      cropper: cropperRef\n    };\n  });\n  var className = props.className,\n    _props$imgSrc = props.imgSrc,\n    imgSrc = _props$imgSrc === void 0 ? '' : _props$imgSrc,\n    dragMode = props.dragMode,\n    viewMode = props.viewMode,\n    aspectRatio = props.aspectRatio,\n    autoCropArea = props.autoCropArea,\n    _props$modal = props.modal,\n    modal = _props$modal === void 0 ? true : _props$modal,\n    _props$zoomOnWheel = props.zoomOnWheel,\n    zoomOnWheel = _props$zoomOnWheel === void 0 ? true : _props$zoomOnWheel,\n    _props$cropBoxMovable = props.cropBoxMovable,\n    cropBoxMovable = _props$cropBoxMovable === void 0 ? true : _props$cropBoxMovable;\n  var options = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(function () {\n    return {\n      aspectRatio: aspectRatio,\n      viewMode: viewMode,\n      responsive: false,\n      restore: false,\n      zoomOnWheel: zoomOnWheel,\n      dragMode: dragMode,\n      cropBoxMovable: cropBoxMovable,\n      modal: modal,\n      autoCropArea: autoCropArea\n    };\n  }, [aspectRatio, viewMode, zoomOnWheel, dragMode, cropBoxMovable, modal, autoCropArea]);\n  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () {\n    if (!imgRef.current) return;\n    if (!imgSrc) return;\n    if (cropperRef.current) {\n      cropperRef.current.destroy();\n    }\n    imgRef.current.onload = function () {\n      var img = imgRef.current;\n      cropperRef.current = new (cropperjs__WEBPACK_IMPORTED_MODULE_3___default())(img, options);\n    };\n    return function () {\n      if (cropperRef.current) {\n        cropperRef.current.destroy();\n      }\n    };\n  }, [imgSrc, options]);\n  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () {\n    return function () {\n      if (cropperRef.current) {\n        cropperRef.current.destroy();\n      }\n    };\n  }, []);\n  var getImage = function getImage() {\n    return new (_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_0___default())(function (resolve) {\n      if (!cropperRef.current) return resolve(null);\n      cropperRef.current.getCroppedCanvas().toBlob(function (blob) {\n        var _context;\n        if (!blob) return resolve(null);\n        resolve(new File([blob], \"\".concat(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1___default()(_context = Math.random().toString(36)).call(_context, -8), \".png\"), {\n          type: blob.type\n        }));\n      });\n    });\n  };\n  var reset = function reset() {\n    if (!cropperRef.current) return;\n    cropperRef.current.reset();\n  };\n  var rotate = function rotate() {\n    if (!cropperRef.current) return;\n    cropperRef.current.rotate(-90);\n  };\n  var zoom = function zoom(num) {\n    if (!cropperRef.current) return;\n    cropperRef.current.zoom(num);\n  };\n  var replace = function replace(src) {\n    if (!cropperRef.current) return;\n    cropperRef.current.replace(src);\n  };\n  var imgStyle = {\n    display: 'none'\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: className,\n    ref: containerRef\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"img\", {\n    ref: imgRef,\n    style: imgStyle,\n    src: imgSrc\n  }));\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (Cropper);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/image-cropper/cropper.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/image-cropper/image-cropper.js":
/*!*******************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/image-cropper/image-cropper.js ***!
  \*******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/regenerator */ \"../../node_modules/@babel/runtime-corejs3/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/promise */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/promise.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _modal__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../modal */ \"../../node_modules/@kdcloudjs/kdesign/es/modal/index.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _cropper__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./cropper */ \"../../node_modules/@kdcloudjs/kdesign/es/image-cropper/cropper.js\");\n/* harmony import */ var _operation_bar__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./operation-bar */ \"../../node_modules/@kdcloudjs/kdesign/es/image-cropper/operation-bar.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n\n\n\n\n\nvar __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {\n  function adopt(value) {\n    return value instanceof P ? value : new P(function (resolve) {\n      resolve(value);\n    });\n  }\n  return new (P || (P = (_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_3___default())))(function (resolve, reject) {\n    function fulfilled(value) {\n      try {\n        step(generator.next(value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function rejected(value) {\n      try {\n        step(generator[\"throw\"](value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function step(result) {\n      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n    }\n    step((generator = generator.apply(thisArg, _arguments || [])).next());\n  });\n};\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\nvar InternalImageCropper = function InternalImageCropper(props, forwardedRef) {\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(props.image || ''),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState, 2),\n    cropperSrc = _useState2[0],\n    setCropperSrc = _useState2[1];\n  var innerRef = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null);\n  var cropperRef = forwardedRef || innerRef;\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_5___default().useContext(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    pkgPrefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  var _a = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCompProps)('ImageCropper', userDefaultProps, props),\n    customPrefixcls = _a.prefixCls,\n    containerWidth = _a.containerWidth,\n    containerHeight = _a.containerHeight,\n    title = _a.title,\n    visible = _a.visible,\n    onClose = _a.onClose,\n    onCropSuccess = _a.onCropSuccess,\n    onCropFailed = _a.onCropFailed,\n    dragMode = _a.dragMode,\n    viewMode = _a.viewMode,\n    aspectRatio = _a.aspectRatio,\n    modal = _a.modal,\n    okText = _a.okText,\n    okBtn = _a.okBtn,\n    _a$image = _a.image,\n    image = _a$image === void 0 ? '' : _a$image,\n    zoomOnWheel = _a.zoomOnWheel,\n    imageMaxSize = _a.imageMaxSize,\n    cropBoxMovable = _a.cropBoxMovable,\n    customComponents = _a.customComponents,\n    showDeaultToolbar = _a.showDeaultToolbar,\n    autoCropArea = _a.autoCropArea,\n    restProps = __rest(_a, [\"prefixCls\", \"containerWidth\", \"containerHeight\", \"title\", \"visible\", \"onClose\", \"onCropSuccess\", \"onCropFailed\", \"dragMode\", \"viewMode\", \"aspectRatio\", \"modal\", \"okText\", \"okBtn\", \"image\", \"zoomOnWheel\", \"imageMaxSize\", \"cropBoxMovable\", \"customComponents\", \"showDeaultToolbar\", \"autoCropArea\"]);\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'image-cropper', customPrefixcls);\n  var handleOkClick = function handleOkClick() {\n    return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_2___default().mark(function _callee() {\n      var imgFile;\n      return _babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_2___default().wrap(function _callee$(_context) {\n        while (1) switch (_context.prev = _context.next) {\n          case 0:\n            _context.next = 2;\n            return cropperRef.current.getImage();\n          case 2:\n            imgFile = _context.sent;\n            imgFile ? onCropSuccess === null || onCropSuccess === void 0 ? void 0 : onCropSuccess(imgFile) : onCropFailed === null || onCropFailed === void 0 ? void 0 : onCropFailed();\n          case 4:\n          case \"end\":\n            return _context.stop();\n        }\n      }, _callee);\n    }));\n  };\n  var handleRotate = function handleRotate() {\n    var _a;\n    (_a = cropperRef.current) === null || _a === void 0 ? void 0 : _a.rotate();\n  };\n  var handleRevert = function handleRevert() {\n    var _a;\n    (_a = cropperRef.current) === null || _a === void 0 ? void 0 : _a.reset();\n  };\n  var handleZoom = function handleZoom(num) {\n    var _a;\n    (_a = cropperRef.current) === null || _a === void 0 ? void 0 : _a.zoom(num);\n  };\n  var handleReplace = function handleReplace(src) {\n    setCropperSrc(src);\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    setCropperSrc(image);\n  }, [image]);\n  var CropperNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_cropper__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n    className: \"\".concat(prefixCls, \"-container\"),\n    dragMode: dragMode,\n    viewMode: viewMode,\n    aspectRatio: aspectRatio,\n    modal: modal,\n    zoomOnWheel: zoomOnWheel,\n    cropBoxMovable: cropBoxMovable,\n    imgSrc: cropperSrc,\n    autoCropArea: autoCropArea,\n    ref: cropperRef\n  });\n  var OperationBarNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_operation_bar__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    className: \"\".concat(prefixCls, \"-bar-container\"),\n    btnClassName: \"\".concat(prefixCls, \"-btn-container\"),\n    imageMaxSize: imageMaxSize,\n    onClick: handleOkClick,\n    onRotate: handleRotate,\n    onRevert: handleRevert,\n    onZoom: handleZoom,\n    onReplace: handleReplace,\n    okText: okText,\n    okBtn: okBtn,\n    customComponents: customComponents,\n    getCropper: cropperRef,\n    showDeaultToolbar: showDeaultToolbar\n  });\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_modal__WEBPACK_IMPORTED_MODULE_11__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(prefixCls, \"-modal-container\")),\n    bodyClassName: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(prefixCls, \"-modal-body-container\")),\n    width: containerWidth,\n    height: containerHeight,\n    body: CropperNode,\n    footer: OperationBarNode,\n    visible: visible,\n    title: title,\n    onCancel: onClose\n  }, restProps));\n};\nvar ImageCropper = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_5__.forwardRef)(InternalImageCropper);\nImageCropper.displayName = 'ImageCropper';\n/* harmony default export */ __webpack_exports__[\"default\"] = (ImageCropper);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/image-cropper/image-cropper.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/image-cropper/index.js":
/*!***********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/image-cropper/index.js ***!
  \***********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _image_cropper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./image-cropper */ \"../../node_modules/@kdcloudjs/kdesign/es/image-cropper/image-cropper.js\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_image_cropper__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/image-cropper/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/image-cropper/operation-bar.js":
/*!*******************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/image-cropper/operation-bar.js ***!
  \*******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_url__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/url */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/url.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_url__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_url__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../button */ \"../../node_modules/@kdcloudjs/kdesign/es/button/index.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../upload */ \"../../node_modules/@kdcloudjs/kdesign/es/upload/index.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n\n\n\n\n\n\n\n\n\n\nvar ImageFileTypes = ['image/jpeg', 'image/jpg', 'image/png'];\nvar OperationBar = function OperationBar(props) {\n  var className = props.className,\n    btnClassName = props.btnClassName,\n    customComponents = props.customComponents,\n    _props$imageMaxSize = props.imageMaxSize,\n    imageMaxSize = _props$imageMaxSize === void 0 ? 2 : _props$imageMaxSize,\n    okText = props.okText,\n    okBtn = props.okBtn,\n    _props$showDeaultTool = props.showDeaultToolbar,\n    showDeaultToolbar = _props$showDeaultTool === void 0 ? true : _props$showDeaultTool,\n    getCropper = props.getCropper,\n    onClick = props.onClick,\n    onRevert = props.onRevert,\n    onRotate = props.onRotate,\n    onZoom = props.onZoom,\n    onReplace = props.onReplace;\n  var handleBtnClick = function handleBtnClick() {\n    onClick === null || onClick === void 0 ? void 0 : onClick();\n  };\n  var handleRotate = function handleRotate() {\n    onRotate === null || onRotate === void 0 ? void 0 : onRotate();\n  };\n  var handleRevert = function handleRevert() {\n    onRevert === null || onRevert === void 0 ? void 0 : onRevert();\n  };\n  var handleZoom = function handleZoom(value) {\n    onZoom === null || onZoom === void 0 ? void 0 : onZoom(value);\n  };\n  var beforeUpload = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function (file) {\n    var isImg = _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default()(ImageFileTypes).call(ImageFileTypes, file.type);\n    if (!isImg) {\n      (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(true, 'image-cropper', 'You can only upload JPG/PNG file!');\n    }\n    var sizeOk = file.size <= 1024 * 1024 * imageMaxSize;\n    if (!sizeOk) {\n      (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(true, 'image-cropper', \"Please upload a picture smaller than \".concat(imageMaxSize, \" MB.\"));\n    }\n    if (isImg && sizeOk) {\n      var src = _babel_runtime_corejs3_core_js_stable_url__WEBPACK_IMPORTED_MODULE_2___default().createObjectURL(file);\n      onReplace === null || onReplace === void 0 ? void 0 : onReplace(src);\n    }\n    return false;\n  }, [onReplace, imageMaxSize]);\n  var accept = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(function () {\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default()(ImageFileTypes).call(ImageFileTypes, function (type) {\n      return \".\".concat(type.replace('image/', ''));\n    }).join(',');\n  }, []);\n  var uploadProps = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(function () {\n    return {\n      accept: accept,\n      beforeUpload: beforeUpload,\n      showUploadList: false\n    };\n  }, [accept, beforeUpload]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: className\n  }, showDeaultToolbar && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_5___default()(btnClassName)\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    type: \"reduction\",\n    onClick: handleRevert\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_upload__WEBPACK_IMPORTED_MODULE_8__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, uploadProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    type: \"upload\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    type: \"spin\",\n    onClick: handleRotate\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    type: \"reduce\",\n    onClick: function onClick() {\n      return handleZoom(-0.1);\n    }\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    type: \"add\",\n    onClick: function onClick() {\n      return handleZoom(0.1);\n    }\n  })), customComponents && _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default()(customComponents).call(customComponents, function (Component, index) {\n    return Component(getCropper, index);\n  }), okBtn ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    onClick: handleBtnClick\n  }, okBtn) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_button__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n    className: classnames__WEBPACK_IMPORTED_MODULE_5___default()('ok-btn'),\n    type: \"primary\",\n    onClick: handleBtnClick\n  }, okText));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (OperationBar);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/image-cropper/operation-bar.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/image/image.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/image/image.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _preview__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./preview */ \"../../node_modules/@kdcloudjs/kdesign/es/image/preview.js\");\n/* harmony import */ var _preview_group__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./preview-group */ \"../../node_modules/@kdcloudjs/kdesign/es/image/preview-group.js\");\n\n\n\n\n\n\n\n\n\nvar ImageInternal = function ImageInternal(props, ref) {\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_3__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_5__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    pkgPrefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  // 属性需要合并一遍用户定义的默认属性\n  var allProps = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getCompProps)('Image', userDefaultProps, props);\n  var innerRef = react__WEBPACK_IMPORTED_MODULE_3__.useRef();\n  var previewRef = ref || innerRef;\n  var id = allProps.id,\n    alt = allProps.alt,\n    name = allProps.name,\n    size = allProps.size,\n    width = allProps.width,\n    height = allProps.height,\n    preview = allProps.preview,\n    fallback = allProps.fallback,\n    operations = allProps.operations,\n    _allProps$placeholder = allProps.placeholder,\n    placeholder = _allProps$placeholder === void 0 ? '' : _allProps$placeholder,\n    customPrefixcls = allProps.prefixCls;\n  // className前缀\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'image', customPrefixcls);\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_3__.useState(false),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState, 2),\n    exit = _React$useState2[0],\n    setExit = _React$useState2[1];\n  react__WEBPACK_IMPORTED_MODULE_3__.useEffect(function () {\n    if (exit) setVisible(true);\n  }, [exit]);\n  var _React$useState3 = react__WEBPACK_IMPORTED_MODULE_3__.useState(placeholder),\n    _React$useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState3, 2),\n    src = _React$useState4[0],\n    setSrc = _React$useState4[1];\n  var _React$useState5 = react__WEBPACK_IMPORTED_MODULE_3__.useState(true),\n    _React$useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState5, 2),\n    error = _React$useState6[0],\n    setError = _React$useState6[1];\n  var _React$useState7 = react__WEBPACK_IMPORTED_MODULE_3__.useState(false),\n    _React$useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState7, 2),\n    visible = _React$useState8[0],\n    setVisible = _React$useState8[1];\n  var _React$useState9 = react__WEBPACK_IMPORTED_MODULE_3__.useState(''),\n    _React$useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState9, 2),\n    transformOrigin = _React$useState10[0],\n    setTransformOrigin = _React$useState10[1];\n  react__WEBPACK_IMPORTED_MODULE_3__.useEffect(function () {\n    placeholder && setSrc(placeholder);\n    var img = new window.Image();\n    img.src = props.src;\n    img.onload = function () {\n      setError(false);\n      setSrc(props.src);\n    };\n    img.onerror = function () {\n      setError(true);\n      setSrc(fallback || props.src);\n    };\n  }, [props.src, fallback, placeholder]);\n  var imgProps = {\n    id: id,\n    src: src,\n    alt: alt,\n    style: {\n      height: height\n    },\n    className: \"\".concat(prefixCls, \"-img\")\n  };\n  if (!error) {\n    imgProps.onClick = function (e) {\n      preview && (exit ? setVisible(true) : setExit(true));\n      props.onClick && props.onClick(e);\n    };\n  }\n  var calcTransformOrigin = function calcTransformOrigin(element) {\n    var _context;\n    var transformOriginX = element.getBoundingClientRect().x + element.getBoundingClientRect().width / 2;\n    var transformOriginY = element.getBoundingClientRect().y + element.getBoundingClientRect().height / 2;\n    setTransformOrigin(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default()(_context = \"\".concat(transformOriginX, \"px \")).call(_context, transformOriginY, \"px\"));\n  };\n  react__WEBPACK_IMPORTED_MODULE_3__.useEffect(function () {\n    previewRef.current && calcTransformOrigin(previewRef.current);\n  });\n  var onClose = function onClose() {\n    return setVisible(false);\n  };\n  var previewProps = {\n    alt: alt,\n    name: name,\n    size: size,\n    visible: visible,\n    src: props.src,\n    type: props.previewType,\n    style: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, props.previewStyle), {\n      transformOrigin: transformOrigin\n    }),\n    className: props.previewClassName,\n    operations: props.previewOperations,\n    onClose: onClose\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(prefixCls, props.className, {\n      error: error\n    }),\n    style: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n      width: width,\n      height: height\n    }, props.style)\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"img\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, imgProps, {\n    ref: previewRef\n  })), (operations === null || operations === void 0 ? void 0 : operations.length) > 0 && !error && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-action\")\n  }, operations), preview && exit && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(_preview__WEBPACK_IMPORTED_MODULE_7__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, previewProps)));\n};\nvar Image = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.forwardRef(ImageInternal);\nvar ImageOuter = Image;\nImageOuter.Preview = _preview__WEBPACK_IMPORTED_MODULE_7__[\"default\"];\nImageOuter.PreviewGroup = _preview_group__WEBPACK_IMPORTED_MODULE_8__[\"default\"];\nImageOuter.displayName = 'Image';\n/* harmony default export */ __webpack_exports__[\"default\"] = (ImageOuter);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/image/image.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/image/index.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/image/index.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _image__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./image */ \"../../node_modules/@kdcloudjs/kdesign/es/image/image.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_image__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/image/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/image/preview-group.js":
/*!***********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/image/preview-group.js ***!
  \***********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _preview__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./preview */ \"../../node_modules/@kdcloudjs/kdesign/es/image/preview.js\");\n\n\n\n\n\n\n\nvar PreviewGroup = function PreviewGroup(_ref) {\n  var children = _ref.children,\n    className = _ref.className,\n    style = _ref.style,\n    previewType = _ref.previewType,\n    operations = _ref.operations;\n  var images = react__WEBPACK_IMPORTED_MODULE_5__.useMemo(function () {\n    var _context;\n    return Array.isArray(children) ? _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(_context = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default()(children).call(children, function (image) {\n      return image.props.src;\n    })).call(_context, function (image) {\n      return image.props;\n    }) : [children !== undefined ? children.props : {}];\n  }, [children]);\n  // eslint-disable-next-line react-hooks/rules-of-hooks\n  var refs = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(images).call(images, function () {\n    return react__WEBPACK_IMPORTED_MODULE_5__.useRef();\n  });\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_5__.useState(images[0] || {}),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState, 2),\n    image = _React$useState2[0],\n    setImage = _React$useState2[1];\n  var _React$useState3 = react__WEBPACK_IMPORTED_MODULE_5__.useState(0),\n    _React$useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState3, 2),\n    current = _React$useState4[0],\n    setCurrent = _React$useState4[1];\n  var _React$useState5 = react__WEBPACK_IMPORTED_MODULE_5__.useState(false),\n    _React$useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState5, 2),\n    exit = _React$useState6[0],\n    setExit = _React$useState6[1];\n  react__WEBPACK_IMPORTED_MODULE_5__.useEffect(function () {\n    exit && setVisible(true);\n  }, [exit]);\n  react__WEBPACK_IMPORTED_MODULE_5__.useEffect(function () {\n    if (images[current]) {\n      setImage(images[current]);\n    }\n  }, [current, images]);\n  var _React$useState7 = react__WEBPACK_IMPORTED_MODULE_5__.useState(false),\n    _React$useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState7, 2),\n    visible = _React$useState8[0],\n    setVisible = _React$useState8[1];\n  var _React$useState9 = react__WEBPACK_IMPORTED_MODULE_5__.useState(''),\n    _React$useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState9, 2),\n    transformOrigin = _React$useState10[0],\n    setTransformOrigin = _React$useState10[1];\n  var calcTransformOrigin = function calcTransformOrigin(element) {\n    var _context2;\n    var transformOriginX = element && element.getBoundingClientRect().x + element.getBoundingClientRect().width / 2;\n    var transformOriginY = element && element.getBoundingClientRect().y + element.getBoundingClientRect().height / 2;\n    setTransformOrigin(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = \"\".concat(transformOriginX, \"px \")).call(_context2, transformOriginY, \"px\"));\n  };\n  var onPreview = function onPreview(index) {\n    setCurrent(index);\n    calcTransformOrigin(refs[index].current);\n    exit ? setVisible(true) : setExit(true);\n  };\n  var onClose = function onClose() {\n    return setVisible(false);\n  };\n  var onNext = function onNext() {\n    return current < images.length - 1 && setCurrent(current + 1);\n  };\n  var onPrevious = function onPrevious() {\n    return current > 0 && setCurrent(current - 1);\n  };\n  var alt = image.alt,\n    src = image.src,\n    previewStyle = image.previewStyle,\n    previewClassName = image.previewClassName,\n    previewOperations = image.previewOperations;\n  var previewProps = {\n    alt: alt,\n    src: src,\n    visible: visible,\n    current: current,\n    type: previewType,\n    length: images.length,\n    style: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, previewStyle || style), {\n      transformOrigin: transformOrigin\n    }),\n    className: previewClassName || className,\n    operations: previewOperations || operations,\n    onNext: onNext,\n    onClose: onClose,\n    onPrevious: onPrevious\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(react__WEBPACK_IMPORTED_MODULE_5__.Fragment, null, images.length > 1 ? _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(children).call(children, function (image, index) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.cloneElement(image, {\n      key: image.key || index,\n      preview: false,\n      ref: refs[index],\n      onClick: onPreview.bind(null, index)\n    });\n  }) : children, exit && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(_preview__WEBPACK_IMPORTED_MODULE_6__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, previewProps)));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (PreviewGroup);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/image/preview-group.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/image/preview.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/image/preview.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?fcc5\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var lodash_throttle__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash/throttle */ \"../../node_modules/lodash/throttle.js\");\n/* harmony import */ var lodash_throttle__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash_throttle__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var lodash_findLast__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! lodash/findLast */ \"../../node_modules/lodash/findLast.js\");\n/* harmony import */ var lodash_findLast__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(lodash_findLast__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var react_draggable__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react-draggable */ \"../../node_modules/react-draggable/build/cjs/cjs.js\");\n/* harmony import */ var react_draggable__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(react_draggable__WEBPACK_IMPORTED_MODULE_9__);\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar Preview = function Preview(props) {\n  var _context;\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_4__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_10__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    pkgPrefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  // 属性需要合并一遍用户定义的默认属性\n  var allProps = (0,_utils__WEBPACK_IMPORTED_MODULE_11__.getCompProps)('Image', userDefaultProps, props);\n  var src = allProps.src,\n    alt = allProps.alt,\n    name = allProps.name,\n    size = allProps.size,\n    scales = allProps.scales,\n    visible = allProps.visible,\n    onClose = allProps.onClose,\n    current = allProps.current,\n    length = allProps.length,\n    operations = allProps.operations,\n    customPrefixcls = allProps.prefixCls;\n  // className前缀\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'image', customPrefixcls);\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_4__.useState(visible),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState, 2),\n    show = _React$useState2[0],\n    setShow = _React$useState2[1];\n  react__WEBPACK_IMPORTED_MODULE_4__.useEffect(function () {\n    setShow(visible);\n    visible && setPreviewSrc(src);\n  }, [visible, src]);\n  var _React$useState3 = react__WEBPACK_IMPORTED_MODULE_4__.useState(src),\n    _React$useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState3, 2),\n    previewSrc = _React$useState4[0],\n    setPreviewSrc = _React$useState4[1];\n  var _React$useState5 = react__WEBPACK_IMPORTED_MODULE_4__.useState(1),\n    _React$useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState5, 2),\n    scale = _React$useState6[0],\n    setScale = _React$useState6[1];\n  var maxScale = scales[scales.length - 1] / 100;\n  var minScale = scales[0] / 100;\n  react__WEBPACK_IMPORTED_MODULE_4__.useEffect(function () {\n    if (show) {\n      document.body.style.overflow = 'hidden';\n      var throMouseWheel = lodash_throttle__WEBPACK_IMPORTED_MODULE_7___default()(function (e) {\n        if (e.wheelDelta > 0) {\n          if (scale > maxScale) return;\n          if (scale + 0.1 > maxScale) {\n            setScale(maxScale);\n          } else {\n            setScale(scale + 0.1);\n          }\n        } else if (e.wheelDelta < 0) {\n          if (scale < minScale) return;\n          if (scale - 0.1 < minScale) {\n            setScale(minScale);\n          } else {\n            setScale(scale - 0.1);\n          }\n        }\n      }, 200);\n      document.addEventListener('mousewheel', throMouseWheel);\n      return function () {\n        document.removeEventListener('mousewheel', throMouseWheel);\n      };\n    } else {\n      document.body.style.overflow = '';\n      setScale(1);\n    }\n  }, [show, scale]);\n  var handleZoomOut = function handleZoomOut() {\n    var nextScale = lodash_findLast__WEBPACK_IMPORTED_MODULE_8___default()(scales, function (s) {\n      return s / 100 < scale;\n    });\n    if (nextScale !== undefined) setScale(nextScale / 100);\n  };\n  var handleZoomIn = function handleZoomIn() {\n    var nextScale = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default()(scales).call(scales, function (s) {\n      return s / 100 > scale;\n    });\n    if (nextScale !== undefined) setScale(nextScale / 100);\n  };\n  var previewImgProps = {\n    alt: alt,\n    src: previewSrc,\n    draggable: 'false',\n    className: \"\".concat(prefixCls, \"-preview-img\"),\n    style: {\n      transform: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"scale3d(\".concat(scale, \", \")).call(_context, scale, \", 1)\")\n    },\n    onClick: function onClick(e) {\n      return e.stopPropagation();\n    }\n  };\n  var peviewContainer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(prefixCls, \"-preview\"), props.className, {\n      show: show\n    }),\n    style: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, props.style)\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-preview-mask\"),\n    onClick: onClose\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement((react_draggable__WEBPACK_IMPORTED_MODULE_9___default()), {\n    defaultClassName: \"\".concat(prefixCls, \"-preview-wrap\"),\n    position: {\n      x: 0,\n      y: 0\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"div\", {\n    onClick: onClose\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"img\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, previewImgProps)))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-preview-action\")\n  }, props.type !== 'upload' && length && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(_icon__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n    type: \"arrow-left\",\n    className: classnames__WEBPACK_IMPORTED_MODULE_6___default()({\n      disabled: current <= 0\n    }),\n    onClick: props.onPrevious\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(_icon__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n    type: \"shrink\",\n    className: classnames__WEBPACK_IMPORTED_MODULE_6___default()({\n      disabled: scale <= minScale\n    }),\n    onClick: handleZoomOut\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(_icon__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n    type: \"zoom\",\n    className: classnames__WEBPACK_IMPORTED_MODULE_6___default()({\n      disabled: scale >= maxScale\n    }),\n    onClick: handleZoomIn\n  }), props.type !== 'upload' && operations, props.type !== 'upload' && length && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(_icon__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n    type: \"arrow-right\",\n    className: classnames__WEBPACK_IMPORTED_MODULE_6___default()({\n      disabled: current >= length - 1\n    }),\n    onClick: props.onNext\n  })), props.type === 'upload' && length && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(react__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-preview-previous\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(_icon__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n    type: \"arrow-left\",\n    style: {\n      fontSize: 20\n    },\n    className: classnames__WEBPACK_IMPORTED_MODULE_6___default()({\n      disabled: current <= 0\n    }),\n    onClick: props.onPrevious\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-preview-next\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(_icon__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n    type: \"arrow-right\",\n    style: {\n      fontSize: 20\n    },\n    className: classnames__WEBPACK_IMPORTED_MODULE_6___default()({\n      disabled: current >= length - 1\n    }),\n    onClick: props.onNext\n  }))), props.type !== 'upload' && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(_icon__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n    className: \"\".concat(prefixCls, \"-preview-close\"),\n    type: \"close-solid\",\n    onClick: onClose\n  }), props.type === 'upload' && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-preview-topbar\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-preview-topbar-info\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-preview-topbar-info-name\")\n  }, name), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-preview-topbar-info-size\")\n  }, size)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-preview-topbar-action\")\n  }, operations, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"span\", {\n    onClick: onClose\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(_icon__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n    type: \"close-solid\"\n  }), \"\\u5173\\u95ED\"))));\n  return /*#__PURE__*/react_dom__WEBPACK_IMPORTED_MODULE_5___default().createPortal(peviewContainer, document.body);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Preview);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/image/preview.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/index.js":
/*!*********************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/index.js ***!
  \*********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Alert: function() { return /* reexport safe */ _alert__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; },\n/* harmony export */   Anchor: function() { return /* reexport safe */ _anchor__WEBPACK_IMPORTED_MODULE_53__[\"default\"]; },\n/* harmony export */   Avatar: function() { return /* reexport safe */ _avatar__WEBPACK_IMPORTED_MODULE_54__[\"default\"]; },\n/* harmony export */   Badge: function() { return /* reexport safe */ _badge__WEBPACK_IMPORTED_MODULE_50__[\"default\"]; },\n/* harmony export */   BaseData: function() { return /* reexport safe */ _base_data__WEBPACK_IMPORTED_MODULE_58__[\"default\"]; },\n/* harmony export */   Breadcrumb: function() { return /* reexport safe */ _breadcrumb__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; },\n/* harmony export */   Button: function() { return /* reexport safe */ _button__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; },\n/* harmony export */   Card: function() { return /* reexport safe */ _card__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; },\n/* harmony export */   Carousel: function() { return /* reexport safe */ _carousel__WEBPACK_IMPORTED_MODULE_7__[\"default\"]; },\n/* harmony export */   Cascader: function() { return /* reexport safe */ _cascader__WEBPACK_IMPORTED_MODULE_8__[\"default\"]; },\n/* harmony export */   Checkbox: function() { return /* reexport safe */ _checkbox__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; },\n/* harmony export */   CityPicker: function() { return /* reexport safe */ _city_picker__WEBPACK_IMPORTED_MODULE_52__[\"default\"]; },\n/* harmony export */   Clipboard: function() { return /* reexport safe */ _clipboard__WEBPACK_IMPORTED_MODULE_62__[\"default\"]; },\n/* harmony export */   Col: function() { return /* reexport safe */ _grid__WEBPACK_IMPORTED_MODULE_17__[\"default\"]; },\n/* harmony export */   Collapse: function() { return /* reexport safe */ _collapse__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; },\n/* harmony export */   ColorPicker: function() { return /* reexport safe */ _color_picker__WEBPACK_IMPORTED_MODULE_61__[\"default\"]; },\n/* harmony export */   ConfigProvider: function() { return /* reexport safe */ _config_provider__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; },\n/* harmony export */   DatePicker: function() { return /* reexport safe */ _date_picker__WEBPACK_IMPORTED_MODULE_10__[\"default\"]; },\n/* harmony export */   Divider: function() { return /* reexport safe */ _divider__WEBPACK_IMPORTED_MODULE_64__[\"default\"]; },\n/* harmony export */   Drawer: function() { return /* reexport safe */ _drawer__WEBPACK_IMPORTED_MODULE_12__[\"default\"]; },\n/* harmony export */   Dropdown: function() { return /* reexport safe */ _dropdown__WEBPACK_IMPORTED_MODULE_9__[\"default\"]; },\n/* harmony export */   Empty: function() { return /* reexport safe */ _empty__WEBPACK_IMPORTED_MODULE_13__[\"default\"]; },\n/* harmony export */   Filter: function() { return /* reexport safe */ _filter__WEBPACK_IMPORTED_MODULE_14__[\"default\"]; },\n/* harmony export */   Form: function() { return /* reexport safe */ _form__WEBPACK_IMPORTED_MODULE_15__[\"default\"]; },\n/* harmony export */   Icon: function() { return /* reexport safe */ _icon__WEBPACK_IMPORTED_MODULE_21__[\"default\"]; },\n/* harmony export */   Image: function() { return /* reexport safe */ _image__WEBPACK_IMPORTED_MODULE_22__[\"default\"]; },\n/* harmony export */   ImageCropper: function() { return /* reexport safe */ _image_cropper__WEBPACK_IMPORTED_MODULE_51__[\"default\"]; },\n/* harmony export */   Input: function() { return /* reexport safe */ _input__WEBPACK_IMPORTED_MODULE_18__[\"default\"]; },\n/* harmony export */   InputNumber: function() { return /* reexport safe */ _input_number__WEBPACK_IMPORTED_MODULE_20__[\"default\"]; },\n/* harmony export */   Layout: function() { return /* reexport safe */ _layout__WEBPACK_IMPORTED_MODULE_23__[\"default\"]; },\n/* harmony export */   Link: function() { return /* reexport safe */ _link__WEBPACK_IMPORTED_MODULE_59__[\"default\"]; },\n/* harmony export */   Menu: function() { return /* reexport safe */ _menu__WEBPACK_IMPORTED_MODULE_25__[\"default\"]; },\n/* harmony export */   Message: function() { return /* reexport safe */ _message__WEBPACK_IMPORTED_MODULE_26__[\"default\"]; },\n/* harmony export */   Modal: function() { return /* reexport safe */ _modal__WEBPACK_IMPORTED_MODULE_24__[\"default\"]; },\n/* harmony export */   Notification: function() { return /* reexport safe */ _notification__WEBPACK_IMPORTED_MODULE_27__[\"default\"]; },\n/* harmony export */   Pagination: function() { return /* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_28__[\"default\"]; },\n/* harmony export */   Popconfirm: function() { return /* reexport safe */ _popconfirm__WEBPACK_IMPORTED_MODULE_30__[\"default\"]; },\n/* harmony export */   Progress: function() { return /* reexport safe */ _progress__WEBPACK_IMPORTED_MODULE_29__[\"default\"]; },\n/* harmony export */   QRCode: function() { return /* reexport safe */ _qr_code__WEBPACK_IMPORTED_MODULE_63__[\"default\"]; },\n/* harmony export */   Radio: function() { return /* reexport safe */ _radio__WEBPACK_IMPORTED_MODULE_31__[\"default\"]; },\n/* harmony export */   RangePicker: function() { return /* reexport safe */ _date_picker__WEBPACK_IMPORTED_MODULE_11__[\"default\"]; },\n/* harmony export */   Rate: function() { return /* reexport safe */ _rate__WEBPACK_IMPORTED_MODULE_32__[\"default\"]; },\n/* harmony export */   Row: function() { return /* reexport safe */ _grid__WEBPACK_IMPORTED_MODULE_16__[\"default\"]; },\n/* harmony export */   Search: function() { return /* reexport safe */ _search__WEBPACK_IMPORTED_MODULE_49__[\"default\"]; },\n/* harmony export */   Select: function() { return /* reexport safe */ _select__WEBPACK_IMPORTED_MODULE_33__[\"default\"]; },\n/* harmony export */   Signature: function() { return /* reexport safe */ _signature__WEBPACK_IMPORTED_MODULE_65__[\"default\"]; },\n/* harmony export */   Slider: function() { return /* reexport safe */ _slider__WEBPACK_IMPORTED_MODULE_55__[\"default\"]; },\n/* harmony export */   Space: function() { return /* reexport safe */ _space__WEBPACK_IMPORTED_MODULE_37__[\"default\"]; },\n/* harmony export */   Spin: function() { return /* reexport safe */ _spin__WEBPACK_IMPORTED_MODULE_39__[\"default\"]; },\n/* harmony export */   SplitPanel: function() { return /* reexport safe */ _split_panel__WEBPACK_IMPORTED_MODULE_38__[\"default\"]; },\n/* harmony export */   Step: function() { return /* reexport safe */ _steps__WEBPACK_IMPORTED_MODULE_36__[\"default\"]; },\n/* harmony export */   Stepper: function() { return /* reexport safe */ _stepper__WEBPACK_IMPORTED_MODULE_57__[\"default\"]; },\n/* harmony export */   Steps: function() { return /* reexport safe */ _steps__WEBPACK_IMPORTED_MODULE_35__[\"default\"]; },\n/* harmony export */   Switch: function() { return /* reexport safe */ _switch__WEBPACK_IMPORTED_MODULE_34__[\"default\"]; },\n/* harmony export */   Table: function() { return /* reexport safe */ _table__WEBPACK_IMPORTED_MODULE_56__[\"default\"]; },\n/* harmony export */   Tabs: function() { return /* reexport safe */ _tabs__WEBPACK_IMPORTED_MODULE_42__[\"default\"]; },\n/* harmony export */   Tag: function() { return /* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_46__[\"default\"]; },\n/* harmony export */   TextArea: function() { return /* reexport safe */ _input__WEBPACK_IMPORTED_MODULE_19__[\"default\"]; },\n/* harmony export */   Timeline: function() { return /* reexport safe */ _timeline__WEBPACK_IMPORTED_MODULE_40__[\"default\"]; },\n/* harmony export */   Tooltip: function() { return /* reexport safe */ _tooltip__WEBPACK_IMPORTED_MODULE_41__[\"default\"]; },\n/* harmony export */   Transfer: function() { return /* reexport safe */ _transfer__WEBPACK_IMPORTED_MODULE_43__[\"default\"]; },\n/* harmony export */   Tree: function() { return /* reexport safe */ _tree__WEBPACK_IMPORTED_MODULE_44__[\"default\"]; },\n/* harmony export */   TreeNode: function() { return /* reexport safe */ _tree_treeNode__WEBPACK_IMPORTED_MODULE_45__[\"default\"]; },\n/* harmony export */   TreeSelect: function() { return /* reexport safe */ _tree_select__WEBPACK_IMPORTED_MODULE_60__[\"default\"]; },\n/* harmony export */   Typography: function() { return /* reexport safe */ _typography__WEBPACK_IMPORTED_MODULE_48__[\"default\"]; },\n/* harmony export */   Upload: function() { return /* reexport safe */ _upload__WEBPACK_IMPORTED_MODULE_47__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _alert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./alert */ \"../../node_modules/@kdcloudjs/kdesign/es/alert/index.js\");\n/* harmony import */ var _breadcrumb__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./breadcrumb */ \"../../node_modules/@kdcloudjs/kdesign/es/breadcrumb/index.js\");\n/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./button */ \"../../node_modules/@kdcloudjs/kdesign/es/button/index.js\");\n/* harmony import */ var _card__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./card */ \"../../node_modules/@kdcloudjs/kdesign/es/card/index.js\");\n/* harmony import */ var _collapse__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./collapse */ \"../../node_modules/@kdcloudjs/kdesign/es/collapse/index.js\");\n/* harmony import */ var _checkbox__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./checkbox */ \"../../node_modules/@kdcloudjs/kdesign/es/checkbox/index.js\");\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/index.js\");\n/* harmony import */ var _carousel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./carousel */ \"../../node_modules/@kdcloudjs/kdesign/es/carousel/index.js\");\n/* harmony import */ var _cascader__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./cascader */ \"../../node_modules/@kdcloudjs/kdesign/es/cascader/index.js\");\n/* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./dropdown */ \"../../node_modules/@kdcloudjs/kdesign/es/dropdown/index.js\");\n/* harmony import */ var _date_picker__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./date-picker */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/index.js\");\n/* harmony import */ var _date_picker__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./date-picker */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/range-picker.js\");\n/* harmony import */ var _drawer__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./drawer */ \"../../node_modules/@kdcloudjs/kdesign/es/drawer/index.js\");\n/* harmony import */ var _empty__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./empty */ \"../../node_modules/@kdcloudjs/kdesign/es/empty/index.js\");\n/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./filter */ \"../../node_modules/@kdcloudjs/kdesign/es/filter/index.js\");\n/* harmony import */ var _form__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./form */ \"../../node_modules/@kdcloudjs/kdesign/es/form/index.js\");\n/* harmony import */ var _grid__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./grid */ \"../../node_modules/@kdcloudjs/kdesign/es/grid/row.js\");\n/* harmony import */ var _grid__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./grid */ \"../../node_modules/@kdcloudjs/kdesign/es/grid/col.js\");\n/* harmony import */ var _input__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./input */ \"../../node_modules/@kdcloudjs/kdesign/es/input/index.js\");\n/* harmony import */ var _input__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./input */ \"../../node_modules/@kdcloudjs/kdesign/es/input/TextArea.js\");\n/* harmony import */ var _input_number__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./input-number */ \"../../node_modules/@kdcloudjs/kdesign/es/input-number/index.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _image__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./image */ \"../../node_modules/@kdcloudjs/kdesign/es/image/index.js\");\n/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./layout */ \"../../node_modules/@kdcloudjs/kdesign/es/layout/index.js\");\n/* harmony import */ var _modal__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./modal */ \"../../node_modules/@kdcloudjs/kdesign/es/modal/index.js\");\n/* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./menu */ \"../../node_modules/@kdcloudjs/kdesign/es/menu/index.js\");\n/* harmony import */ var _message__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./message */ \"../../node_modules/@kdcloudjs/kdesign/es/message/index.js\");\n/* harmony import */ var _notification__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./notification */ \"../../node_modules/@kdcloudjs/kdesign/es/notification/index.js\");\n/* harmony import */ var _pagination__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./pagination */ \"../../node_modules/@kdcloudjs/kdesign/es/pagination/index.js\");\n/* harmony import */ var _progress__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./progress */ \"../../node_modules/@kdcloudjs/kdesign/es/progress/index.js\");\n/* harmony import */ var _popconfirm__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./popconfirm */ \"../../node_modules/@kdcloudjs/kdesign/es/popconfirm/index.js\");\n/* harmony import */ var _radio__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./radio */ \"../../node_modules/@kdcloudjs/kdesign/es/radio/index.js\");\n/* harmony import */ var _rate__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./rate */ \"../../node_modules/@kdcloudjs/kdesign/es/rate/index.js\");\n/* harmony import */ var _select__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./select */ \"../../node_modules/@kdcloudjs/kdesign/es/select/index.js\");\n/* harmony import */ var _switch__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./switch */ \"../../node_modules/@kdcloudjs/kdesign/es/switch/index.js\");\n/* harmony import */ var _steps__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./steps */ \"../../node_modules/@kdcloudjs/kdesign/es/steps/index.js\");\n/* harmony import */ var _steps__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./steps */ \"../../node_modules/@kdcloudjs/kdesign/es/steps/Step.js\");\n/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./space */ \"../../node_modules/@kdcloudjs/kdesign/es/space/index.js\");\n/* harmony import */ var _split_panel__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./split-panel */ \"../../node_modules/@kdcloudjs/kdesign/es/split-panel/index.js\");\n/* harmony import */ var _spin__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./spin */ \"../../node_modules/@kdcloudjs/kdesign/es/spin/index.js\");\n/* harmony import */ var _timeline__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./timeline */ \"../../node_modules/@kdcloudjs/kdesign/es/timeline/index.js\");\n/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./tooltip */ \"../../node_modules/@kdcloudjs/kdesign/es/tooltip/index.js\");\n/* harmony import */ var _tabs__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./tabs */ \"../../node_modules/@kdcloudjs/kdesign/es/tabs/index.js\");\n/* harmony import */ var _transfer__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./transfer */ \"../../node_modules/@kdcloudjs/kdesign/es/transfer/index.js\");\n/* harmony import */ var _tree__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./tree */ \"../../node_modules/@kdcloudjs/kdesign/es/tree/index.js\");\n/* harmony import */ var _tree_treeNode__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./tree/treeNode */ \"../../node_modules/@kdcloudjs/kdesign/es/tree/treeNode.js\");\n/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./tag */ \"../../node_modules/@kdcloudjs/kdesign/es/tag/index.js\");\n/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./upload */ \"../../node_modules/@kdcloudjs/kdesign/es/upload/index.js\");\n/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./typography */ \"../../node_modules/@kdcloudjs/kdesign/es/typography/index.js\");\n/* harmony import */ var _search__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./search */ \"../../node_modules/@kdcloudjs/kdesign/es/search/index.js\");\n/* harmony import */ var _badge__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./badge */ \"../../node_modules/@kdcloudjs/kdesign/es/badge/index.js\");\n/* harmony import */ var _image_cropper__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./image-cropper */ \"../../node_modules/@kdcloudjs/kdesign/es/image-cropper/index.js\");\n/* harmony import */ var _city_picker__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./city-picker */ \"../../node_modules/@kdcloudjs/kdesign/es/city-picker/index.js\");\n/* harmony import */ var _anchor__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./anchor */ \"../../node_modules/@kdcloudjs/kdesign/es/anchor/index.js\");\n/* harmony import */ var _avatar__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./avatar */ \"../../node_modules/@kdcloudjs/kdesign/es/avatar/index.js\");\n/* harmony import */ var _slider__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./slider */ \"../../node_modules/@kdcloudjs/kdesign/es/slider/index.js\");\n/* harmony import */ var _table__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./table */ \"../../node_modules/@kdcloudjs/kdesign/es/table/index.js\");\n/* harmony import */ var _stepper__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./stepper */ \"../../node_modules/@kdcloudjs/kdesign/es/stepper/index.js\");\n/* harmony import */ var _base_data__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./base-data */ \"../../node_modules/@kdcloudjs/kdesign/es/base-data/index.js\");\n/* harmony import */ var _link__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./link */ \"../../node_modules/@kdcloudjs/kdesign/es/link/index.js\");\n/* harmony import */ var _tree_select__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./tree-select */ \"../../node_modules/@kdcloudjs/kdesign/es/tree-select/index.js\");\n/* harmony import */ var _color_picker__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./color-picker */ \"../../node_modules/@kdcloudjs/kdesign/es/color-picker/index.js\");\n/* harmony import */ var _clipboard__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./clipboard */ \"../../node_modules/@kdcloudjs/kdesign/es/clipboard/index.js\");\n/* harmony import */ var _qr_code__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./qr-code */ \"../../node_modules/@kdcloudjs/kdesign/es/qr-code/index.js\");\n/* harmony import */ var _divider__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./divider */ \"../../node_modules/@kdcloudjs/kdesign/es/divider/index.js\");\n/* harmony import */ var _signature__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./signature */ \"../../node_modules/@kdcloudjs/kdesign/es/signature/index.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/input-number/index.js":
/*!**********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/input-number/index.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _inputNumber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./inputNumber */ \"../../node_modules/@kdcloudjs/kdesign/es/input-number/inputNumber.js\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_inputNumber__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/input-number/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/input-number/inputNumber.js":
/*!****************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/input-number/inputNumber.js ***!
  \****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _input__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../input */ \"../../node_modules/@kdcloudjs/kdesign/es/input/index.js\");\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_numberUtil__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils/numberUtil */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/numberUtil.js\");\n/* harmony import */ var _utils_formatUtil__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../_utils/formatUtil */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/formatUtil.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var big_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! big.js */ \"../../node_modules/@kdcloudjs/kdesign/node_modules/big.js/big.mjs\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _useSelectionRange__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./useSelectionRange */ \"../../node_modules/@kdcloudjs/kdesign/es/input-number/useSelectionRange.js\");\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\n\n\nvar InternalInputNumber = function InternalInputNumber(props, ref) {\n  var _a;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_5__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__[\"default\"]),\n    userDefaultProps = _useContext.compDefaultProps,\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var inputNumberProps = (0,_utils__WEBPACK_IMPORTED_MODULE_9__.getCompProps)('InputNumber', userDefaultProps, props);\n  var value = inputNumberProps.value,\n    defaultValue = inputNumberProps.defaultValue,\n    mustInScope = inputNumberProps.mustInScope,\n    decimalLength = inputNumberProps.decimalLength,\n    mustInPrecisionScope = inputNumberProps.mustInPrecisionScope,\n    digitLength = inputNumberProps.digitLength,\n    onChange = inputNumberProps.onChange,\n    symbol = inputNumberProps.symbol,\n    zeroShow = inputNumberProps.zeroShow,\n    showDecimalTailZero = inputNumberProps.showDecimalTailZero,\n    code = inputNumberProps.code,\n    roundMethod = inputNumberProps.roundMethod,\n    mask = inputNumberProps.mask,\n    stepOption = inputNumberProps.stepOption,\n    min = inputNumberProps.min,\n    minMark = inputNumberProps.minMark,\n    max = inputNumberProps.max,\n    maxMark = inputNumberProps.maxMark,\n    numberMode = inputNumberProps.numberMode,\n    prefix = inputNumberProps.prefix,\n    suffix = inputNumberProps.suffix,\n    formatter = inputNumberProps.formatter,\n    className = inputNumberProps.className,\n    onKeyDown = inputNumberProps.onKeyDown,\n    others = __rest(inputNumberProps, [\"value\", \"defaultValue\", \"mustInScope\", \"decimalLength\", \"mustInPrecisionScope\", \"digitLength\", \"onChange\", \"symbol\", \"zeroShow\", \"showDecimalTailZero\", \"code\", \"roundMethod\", \"mask\", \"stepOption\", \"min\", \"minMark\", \"max\", \"maxMark\", \"numberMode\", \"prefix\", \"suffix\", \"formatter\", \"className\", \"onKeyDown\"]);\n  var initVal = value === undefined ? defaultValue : value;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)((0,_utils_numberUtil__WEBPACK_IMPORTED_MODULE_10__.serialization)(initVal !== undefined ? initVal + '' : '')),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState, 2),\n    inputValue = _useState2[0],\n    setInputValue = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(1),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState3, 2),\n    forceUpdate = _useState4[0],\n    setForceUpdate = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(''),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState5, 2),\n    compositionValue = _useState6[0],\n    setCompositionValue = _useState6[1];\n  var inputStatus = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)({\n    isHandleChange: false,\n    inputFocused: false\n  });\n  var inputPrefixCls = getPrefixCls(prefixCls, 'inputNumber', inputNumberProps.prefixCls);\n  var thisInputNumberRef = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)();\n  var inputNumberRef = ref || thisInputNumberRef;\n  var stepMouseDownDelayTimer = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null);\n  var stepMouseDownIntervalTimer = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null);\n  var refIszComposition = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(false);\n  var isScopeValid = function isScopeValid(value) {\n    if (value === '') return true;\n    var numberValue = parseFloat(value) || 0;\n    if (min >= 0 && value.substr(0, 1) === '-') return false; // 数值范围>=0时,不允许输入负号\n    if (minMark === '[' && numberValue < min || minMark === '(' && numberValue <= min || maxMark === ']' && numberValue > max || maxMark === ')' && numberValue >= max) return false;\n    return true;\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    if (typeof value === 'undefined') {\n      return;\n    }\n    setInputValue((0,_utils_numberUtil__WEBPACK_IMPORTED_MODULE_10__.serialization)(value + ''));\n  }, [value]);\n  var handleEventAttachValue = function handleEventAttachValue(event, value) {\n    return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, event, {\n      target: {\n        value: value\n      }\n    });\n  };\n  var verifiValue = function verifiValue(initValue) {\n    // 将 value 进行数字序列化 剔除非数字输入-复制粘贴的情况\n    var value = (0,_utils_numberUtil__WEBPACK_IMPORTED_MODULE_10__.serialization)(initValue);\n    // 校验数字合法性\n    if (!/^-?\\d*\\.?\\d*$/.test(value)) return false;\n    // 输入内容超出数字范围不允许输入\n    if (mustInScope && !isScopeValid(value)) {\n      return false;\n    }\n    // 整数字段不允许输入小数点\n    if (decimalLength === 0 && _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(value).call(value, '.')) {\n      return false;\n    }\n    if (mustInPrecisionScope) {\n      value = handleNumericalAccuracy(value);\n      if (value === inputValue) return false;\n    }\n    return value;\n  };\n  var handleChange = function handleChange(event) {\n    inputStatus.current.isHandleChange = true;\n    var newValue = event.target.value;\n    if (!refIszComposition.current) {\n      compositionValue && setCompositionValue('');\n      var legalNumber = verifiValue(newValue);\n      if (legalNumber === false) {\n        setForceUpdate(forceUpdate + 1);\n        return false;\n      }\n      value === undefined && setInputValue(legalNumber);\n      onChange && onChange(handleEventAttachValue(event, numberMode ? Number(legalNumber) : legalNumber));\n      updateSelectionRangePosition(event);\n    } else {\n      setCompositionValue(newValue);\n    }\n  };\n  var handleFocus = function handleFocus(event) {\n    inputStatus.current.inputFocused = true;\n    var onFocus = inputNumberProps.onFocus;\n    var formatValue = (0,_utils_formatUtil__WEBPACK_IMPORTED_MODULE_11__.formatEditNumber)(inputValue, {\n      zeroShow: zeroShow,\n      decimalLength: decimalLength,\n      showDecimalTailZero: showDecimalTailZero,\n      roundMethod: roundMethod,\n      symbol: symbol\n    });\n    value === undefined && setInputValue(formatValue);\n    onFocus && onFocus(handleEventAttachValue(event, formatValue));\n  };\n  var handleFormatValue = function handleFormatValue(value, param) {\n    if (!value && value !== 0) return '';\n    return (0,_utils_formatUtil__WEBPACK_IMPORTED_MODULE_11__.formatNumber)(value, param);\n  };\n  var handleNumericalAccuracy = function handleNumericalAccuracy(numerical) {\n    var resultNumerical = '';\n    var _numerical$split = numerical.split('.'),\n      _numerical$split2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_numerical$split, 2),\n      integerValue = _numerical$split2[0],\n      _numerical$split2$ = _numerical$split2[1],\n      decimalValue = _numerical$split2$ === void 0 ? '' : _numerical$split2$;\n    var sign = '';\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(integerValue).call(integerValue, '-')) {\n      integerValue = integerValue.replace('-', '');\n      sign = '-';\n    }\n    var integerValueLength = integerValue.length;\n    var decimalValueLength = decimalValue.length;\n    if (typeof decimalLength === 'number' && typeof digitLength === 'number') {\n      if (decimalValueLength <= decimalLength && integerValueLength <= digitLength - decimalLength) {\n        resultNumerical = numerical;\n      } else if (integerValueLength > digitLength - decimalLength) {\n        var _context, _context2;\n        resultNumerical = mustInPrecisionScope ? inputValue : _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = \"\".concat(sign)).call(_context2, integerValue.substr(0, digitLength - decimalLength))).call(_context, decimalValue ? '.' + decimalValue : '');\n      } else if (decimalValueLength > decimalLength) {\n        var _context3, _context4;\n        resultNumerical = mustInPrecisionScope ? inputValue : _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context4 = \"\".concat(sign)).call(_context4, integerValue, \".\")).call(_context3, decimalValue.substr(0, decimalLength));\n      }\n    } else if (typeof decimalLength !== 'number' && typeof digitLength === 'number') {\n      if (integerValueLength >= digitLength) {\n        var _context5;\n        resultNumerical = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context5 = \"\".concat(sign)).call(_context5, integerValue.substr(0, digitLength));\n      } else {\n        var _context6, _context7, _context8;\n        resultNumerical = decimalValueLength ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context6 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context7 = \"\".concat(sign)).call(_context7, integerValue, \".\")).call(_context6, decimalValue.substr(0, digitLength - integerValueLength)) : _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context8 = \"\".concat(sign)).call(_context8, integerValue);\n      }\n    } else if (typeof decimalLength === 'number' && typeof digitLength !== 'number') {\n      var _context9, _context10, _context11;\n      resultNumerical = decimalValueLength ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context9 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context10 = \"\".concat(sign)).call(_context10, integerValue, \".\")).call(_context9, decimalValue.substr(0, decimalLength)) : _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context11 = \"\".concat(sign)).call(_context11, integerValue);\n    } else {\n      resultNumerical = numerical;\n    }\n    if (inputStatus.current.inputFocused && resultNumerical.indexOf('.') === -1 && numerical.indexOf('.') > -1 && numerical.indexOf('.') === numerical.length - 1) {\n      resultNumerical += '.';\n    }\n    return resultNumerical;\n  };\n  var handleStepChang = function handleStepChang(type) {\n    var _a, _b;\n    var step = stepOption.step === undefined ? 1 : parseFloat(stepOption.step);\n    if (typeof step !== 'number') {\n      (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(true, 'inputNumber', \"stepOption.step\\u5FC5\\u987B\\u4E3A\\u4E00\\u4E2A\\u6570\\u503C\");\n      return false;\n    }\n    var startingNumber = parseFloat((_b = (_a = inputNumberRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value) || 0;\n    var calculationResults = new big_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"](startingNumber)[type](step).valueOf();\n    var legalNumber = verifiValue(calculationResults);\n    if (legalNumber === false) {\n      return false;\n    }\n    setInputValue(legalNumber);\n    onChange && onChange({\n      target: {\n        value: legalNumber\n      }\n    });\n  };\n  var handleKeyDown = function handleKeyDown(event) {\n    var _context12;\n    onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event);\n    if (!stepOption || props.disabled || props.readOnly) {\n      return;\n    }\n    var keyCode = event.keyCode;\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(_context12 = [38, 40]).call(_context12, keyCode)) {\n      event.preventDefault();\n      handleStepChang(keyCode === 38 ? 'plus' : 'minus');\n    }\n  };\n  var clearAllTimer = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function () {\n    stepMouseDownDelayTimer.current && clearTimeout(stepMouseDownDelayTimer.current);\n    stepMouseDownIntervalTimer.current && clearInterval(stepMouseDownIntervalTimer.current);\n    document.removeEventListener('mouseup', clearAllTimer);\n    return false;\n  }, [stepMouseDownDelayTimer, stepMouseDownIntervalTimer]);\n  var handleBlur = function handleBlur(event) {\n    inputStatus.current.isHandleChange = false;\n    inputStatus.current.inputFocused = false;\n    var min = inputNumberProps.min,\n      max = inputNumberProps.max,\n      onBlur = inputNumberProps.onBlur;\n    var _inputValue = inputValue;\n    if (_inputValue === '-') {\n      _inputValue = '';\n    }\n    var bigValue = new big_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"](Number(_inputValue));\n    // 还原最小值\n    if (typeof min === 'number' && bigValue.lt(min)) {\n      _inputValue = min.toString();\n      onChange === null || onChange === void 0 ? void 0 : onChange(handleEventAttachValue(event, numberMode ? Number(_inputValue) : _inputValue));\n    }\n    // 还原最大值\n    if (typeof max === 'number' && bigValue.gt(max)) {\n      _inputValue = max.toString();\n      onChange === null || onChange === void 0 ? void 0 : onChange(handleEventAttachValue(event, numberMode ? Number(_inputValue) : _inputValue));\n    }\n    // 超过精度位数直接截断\n    _inputValue = handleNumericalAccuracy(_inputValue);\n    var formatValue = handleFormatValue(_inputValue, {\n      mask: mask,\n      zeroShow: zeroShow,\n      decimalLength: decimalLength,\n      showDecimalTailZero: showDecimalTailZero,\n      symbol: symbol,\n      code: code\n    });\n    setInputValue(formatValue);\n    onBlur && onBlur(handleEventAttachValue(event, _inputValue));\n    inputStatus.current.isHandleChange = false;\n    inputStatus.current.inputFocused = false;\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    if (typeof value === 'undefined') {\n      return;\n    }\n    var _inputStatus$current = inputStatus.current,\n      isHandleChange = _inputStatus$current.isHandleChange,\n      inputFocused = _inputStatus$current.inputFocused;\n    if (isHandleChange) {\n      return;\n    }\n    setInputValue(function (_inputValue) {\n      var isValueChange = value !== (inputFocused ? _inputValue : (0,_utils_formatUtil__WEBPACK_IMPORTED_MODULE_11__.formatEditNumber)(_inputValue, {\n        zeroShow: zeroShow,\n        decimalLength: decimalLength,\n        showDecimalTailZero: showDecimalTailZero,\n        roundMethod: roundMethod,\n        symbol: symbol\n      }));\n      if (!inputFocused || isValueChange) {\n        if (value === '' || value === null) {\n          return '';\n        } else {\n          var formatValue = inputFocused ? (0,_utils_formatUtil__WEBPACK_IMPORTED_MODULE_11__.formatEditNumber)(value, {\n            zeroShow: zeroShow,\n            decimalLength: decimalLength,\n            showDecimalTailZero: showDecimalTailZero\n          }) : handleFormatValue(value, {\n            mask: mask,\n            zeroShow: zeroShow,\n            decimalLength: decimalLength,\n            showDecimalTailZero: showDecimalTailZero,\n            symbol: symbol,\n            code: code\n          });\n          return formatValue;\n        }\n      }\n      return _inputValue;\n    });\n  }, [value, zeroShow, decimalLength, showDecimalTailZero, symbol, code, roundMethod, mask]);\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    return function () {\n      clearAllTimer();\n    };\n  }, [clearAllTimer]);\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useImperativeHandle)(props.stepperrref, function () {\n    return {\n      value: inputValue,\n      handleNumericalAccuracy: handleNumericalAccuracy,\n      verifiValue: verifiValue,\n      setValue: function setValue(value) {\n        return setInputValue(value);\n      }\n    };\n  });\n  var displayedInputValue = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(function () {\n    return formatter ? formatter(inputValue) : inputValue;\n  }, [inputValue, formatter]);\n  var updateSelectionRangePosition = (0,_useSelectionRange__WEBPACK_IMPORTED_MODULE_13__[\"default\"])({\n    inputElement: (_a = inputNumberRef.current) === null || _a === void 0 ? void 0 : _a.input,\n    inputValue: displayedInputValue,\n    forceUpdate: forceUpdate\n  });\n  var handleComposition = function handleComposition(e) {\n    refIszComposition.current = e.type !== 'compositionend';\n    if (!refIszComposition.current) {\n      setCompositionValue('');\n      handleChange(e);\n    }\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_input__WEBPACK_IMPORTED_MODULE_14__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, others, {\n    onCompositionStart: handleComposition,\n    onCompositionUpdate: handleComposition,\n    onCompositionEnd: handleComposition,\n    ref: inputNumberRef,\n    value: compositionValue || displayedInputValue,\n    prefix: prefix,\n    suffix: suffix,\n    onChange: handleChange,\n    onFocus: handleFocus,\n    onBlur: handleBlur,\n    onKeyDown: handleKeyDown,\n    className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(inputPrefixCls, className)\n  }));\n};\nvar InputNumber = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().forwardRef(InternalInputNumber);\nInputNumber.displayName = 'InputNumber';\n/* harmony default export */ __webpack_exports__[\"default\"] = (InputNumber);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/input-number/inputNumber.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/input-number/useSelectionRange.js":
/*!**********************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/input-number/useSelectionRange.js ***!
  \**********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ useSelectionRange; }\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var lodash_isNumber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/isNumber */ \"../../node_modules/lodash/isNumber.js\");\n/* harmony import */ var lodash_isNumber__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isNumber__WEBPACK_IMPORTED_MODULE_1__);\n\n\nfunction useSelectionRange(_ref) {\n  var inputElement = _ref.inputElement,\n    inputValue = _ref.inputValue,\n    forceUpdate = _ref.forceUpdate;\n  var refSelectionPosition = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect)(function () {\n    var position = refSelectionPosition.current;\n    if (inputElement && inputValue && lodash_isNumber__WEBPACK_IMPORTED_MODULE_1___default()(position)) {\n      var start = Math.max(0, inputValue.length - position);\n      inputElement.setSelectionRange(start, start);\n    }\n  }, [inputValue, forceUpdate]);\n  return function (event) {\n    var _event$target = event.target,\n      end = _event$target.selectionEnd,\n      value = _event$target.value;\n    if (lodash_isNumber__WEBPACK_IMPORTED_MODULE_1___default()(end)) {\n      refSelectionPosition.current = value.length - end;\n    }\n  };\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/input-number/useSelectionRange.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/input/ClearableLabeledInput.js":
/*!*******************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/input/ClearableLabeledInput.js ***!
  \*******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   hasPrefixSuffix: function() { return /* binding */ hasPrefixSuffix; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n\n\n\n\n\n\n\nvar ClearableInputType = (0,_utils_type__WEBPACK_IMPORTED_MODULE_5__.tuple)('input', 'text');\nfunction hasPrefixSuffix(props) {\n  return !!(props.prefix || props.suffix || props.allowClear || !!props.inputCount);\n}\nvar ClearableInput = function ClearableInput(props) {\n  var prefixCls = props.prefixCls,\n    prefix = props.prefix,\n    suffix = props.suffix,\n    allowClear = props.allowClear,\n    value = props.value,\n    disabled = props.disabled,\n    inputType = props.inputType,\n    handleReset = props.handleReset,\n    element = props.element,\n    className = props.className,\n    size = props.size,\n    borderType = props.borderType,\n    style = props.style,\n    addonBefore = props.addonBefore,\n    addonAfter = props.addonAfter,\n    focused = props.focused,\n    numberMark = props.numberMark,\n    inputCount = props.inputCount,\n    count = props.count,\n    status = props.status;\n  var fixRef = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(null);\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState, 2),\n    isMouseEnter = _useState2[0],\n    setIsMouseEnter = _useState2[1];\n  var mouseEnterHandle = function mouseEnterHandle() {\n    setIsMouseEnter(true);\n  };\n  var mouseLeaveHandle = function mouseLeaveHandle() {\n    setIsMouseEnter(false);\n  };\n  var mouseDownHandle = function mouseDownHandle(e) {\n    e.stopPropagation();\n    e.preventDefault();\n  };\n  var clickHandle = function clickHandle(e) {\n    var _a, _b;\n    e.stopPropagation();\n    (_b = (_a = fixRef.current) === null || _a === void 0 ? void 0 : _a.querySelector('input')) === null || _b === void 0 ? void 0 : _b.focus();\n  };\n  var renderClearIcon = function renderClearIcon() {\n    var _classNames;\n    if (!allowClear) {\n      return null;\n    }\n    var needClear = !disabled && value && isMouseEnter;\n    var clearIconCls = classnames__WEBPACK_IMPORTED_MODULE_4___default()((_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-textarea-clear-icon\"), inputType === ClearableInputType[1]), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-clear-icon\"), inputType === ClearableInputType[0]), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-clear-icon-hidden\"), !needClear), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-clear-icon-rightSpace\"), suffix), _classNames));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"span\", {\n      onMouseDown: mouseDownHandle,\n      onClick: handleReset,\n      className: clearIconCls\n    }, typeof allowClear === 'boolean' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_index__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n      type: \"close-solid\"\n    }) : allowClear);\n  };\n  var renderSuffix = function renderSuffix() {\n    if (suffix || inputCount) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"span\", {\n        className: \"\".concat(prefixCls, \"-suffix\"),\n        onMouseDown: mouseDownHandle\n      }, inputCount && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"span\", {\n        style: {\n          marginRight: suffix ? 9 : 0\n        }\n      }, inputCount), suffix);\n    }\n    return null;\n  };\n  var renderInputWithFixNode = function renderInputWithFixNode(originElement) {\n    var _context, _classNames2;\n    if (!hasPrefixSuffix(props) && !count) {\n      return originElement;\n    }\n    var suffixNode = renderSuffix();\n    var prefixNode = prefix ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-prefix\"),\n      onMouseDown: mouseDownHandle\n    }, prefix) : null;\n    var inputWrapperClasses = classnames__WEBPACK_IMPORTED_MODULE_4___default()((_classNames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(prefixCls, \"-wrapper\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(prefixCls, \"-wrapper-focused\"), focused && !disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default()(_context = \"\".concat(prefixCls, \"-wrapper-size-\")).call(_context, size), size), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(prefixCls, \"-wrapper-borderless\"), borderType === 'none'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(prefixCls, \"-wrapper-underline\"), borderType === 'underline'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(prefixCls, \"-error\"), status === 'error'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(prefixCls, \"-wrapper-disabled\"), disabled), _classNames2), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, className, className && !addonBefore && !addonAfter));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"span\", {\n      className: inputWrapperClasses,\n      ref: fixRef,\n      style: style,\n      onClick: clickHandle,\n      onMouseEnter: mouseEnterHandle,\n      onMouseLeave: mouseLeaveHandle\n    }, prefixNode, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(originElement, {\n      style: null\n    }), renderClearIcon(), suffixNode);\n  };\n  var renderInputWithLabel = function renderInputWithLabel(originElement) {\n    var _classNames4, _context2, _classNames5;\n    if (!addonBefore && !addonAfter && !count) {\n      return originElement;\n    }\n    var addonClassName = classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(prefixCls, \"-group-addon\"), (_classNames4 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames4, \"\".concat(prefixCls, \"-group-addon-borderless\"), borderType === 'none'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames4, \"\".concat(prefixCls, \"-group-addon-underline\"), borderType === 'underline'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames4, \"\".concat(prefixCls, \"-error\"), status === 'error'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames4, \"\".concat(prefixCls, \"-group-addon-disabled\"), disabled), _classNames4));\n    var addonBeforeNode = addonBefore ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"span\", {\n      className: addonClassName\n    }, addonBefore) : null;\n    var addonAfterNode = addonAfter ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"span\", {\n      className: addonClassName\n    }, addonAfter) : null;\n    var inputGroupClasses = classnames__WEBPACK_IMPORTED_MODULE_4___default()(className, (_classNames5 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames5, \"\".concat(prefixCls, \"-group\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames5, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default()(_context2 = \"\".concat(prefixCls, \"-group-size-\")).call(_context2, size), size), _classNames5));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-group-wrapper\")\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"span\", {\n      className: inputGroupClasses,\n      style: style\n    }, addonBeforeNode, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().cloneElement(originElement, {\n      style: null\n    }), addonAfterNode));\n  };\n  var renderTextAreaWithLabel = function renderTextAreaWithLabel(originElement) {\n    if (!allowClear) {\n      return originElement;\n    }\n    var _ref = style || {},\n      width = _ref.width,\n      margin = _ref.margin,\n      marginLeft = _ref.marginLeft,\n      marginRight = _ref.marginRight,\n      marginTop = _ref.marginTop,\n      marginBottom = _ref.marginBottom;\n    var wrapperStyle = style ? {\n      width: width,\n      margin: margin,\n      marginLeft: marginLeft,\n      marginRight: marginRight,\n      marginTop: marginTop,\n      marginBottom: marginBottom\n    } : {};\n    for (var key in wrapperStyle) {\n      if (wrapperStyle[key] === undefined) {\n        delete wrapperStyle[key];\n      }\n    }\n    var textAreaWrapperClasses = classnames__WEBPACK_IMPORTED_MODULE_4___default()(className, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(prefixCls, \"-wrapper-textarea\"), true));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"span\", {\n      className: textAreaWrapperClasses,\n      style: wrapperStyle,\n      onMouseEnter: mouseEnterHandle,\n      onMouseLeave: mouseLeaveHandle\n    }, originElement, renderClearIcon(), numberMark && numberMark);\n  };\n  if (inputType === ClearableInputType[0]) {\n    return renderInputWithLabel(renderInputWithFixNode(element));\n  }\n  return renderTextAreaWithLabel(element);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (ClearableInput);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/input/ClearableLabeledInput.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/input/TextArea.js":
/*!******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/input/TextArea.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_max_safe_integer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/number/max-safe-integer */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/number/max-safe-integer.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_max_safe_integer__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_number_max_safe_integer__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _ClearableLabeledInput__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./ClearableLabeledInput */ \"../../node_modules/@kdcloudjs/kdesign/es/input/ClearableLabeledInput.js\");\n/* harmony import */ var _input__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./input */ \"../../node_modules/@kdcloudjs/kdesign/es/input/input.js\");\n/* harmony import */ var _calculateNodeHeight__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./calculateNodeHeight */ \"../../node_modules/@kdcloudjs/kdesign/es/input/calculateNodeHeight.js\");\n/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../_utils/hooks */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\n\nvar InternalTextarea = function InternalTextarea(props, ref) {\n  var thisTextareaRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)();\n  var textareaRef = ref || thisTextareaRef;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_6__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var textAreaProps = (0,_utils__WEBPACK_IMPORTED_MODULE_9__.getCompProps)('TextArea', userDefaultProps, props); // 按钮属性需要合并一遍用户定义的默认属性\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)({}),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    textareaStyles = _useState2[0],\n    setTextareaStyles = _useState2[1];\n  var propsValue = textAreaProps.value,\n    allowClear = textAreaProps.allowClear,\n    borderType = textAreaProps.borderType,\n    defaultValue = textAreaProps.defaultValue,\n    count = textAreaProps.count,\n    countPosition = textAreaProps.countPosition,\n    autoSize = textAreaProps.autoSize,\n    className = textAreaProps.className,\n    customPrefixcls = textAreaProps.prefixCls,\n    canResize = textAreaProps.canResize,\n    maxLength = textAreaProps.maxLength,\n    disabled = textAreaProps.disabled,\n    onBlur = textAreaProps.onBlur,\n    onFocus = textAreaProps.onFocus,\n    onChange = textAreaProps.onChange,\n    placeholder = textAreaProps.placeholder,\n    style = textAreaProps.style,\n    size = textAreaProps.size,\n    status = textAreaProps.status,\n    others = __rest(textAreaProps, [\"value\", \"allowClear\", \"borderType\", \"defaultValue\", \"count\", \"countPosition\", \"autoSize\", \"className\", \"prefixCls\", \"canResize\", \"maxLength\", \"disabled\", \"onBlur\", \"onFocus\", \"onChange\", \"placeholder\", \"style\", \"size\", \"status\"]);\n  var textAreaPrefixCls = getPrefixCls(prefixCls, 'input', customPrefixcls); // TextArea样式前缀\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_input__WEBPACK_IMPORTED_MODULE_11__.BorderTypes.indexOf(borderType) === -1, 'textarea', \"cannot found textarea borderType '\".concat(borderType, \"'\"));\n  var _useMergedState = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_12__.useMergedState)('', {\n      value: propsValue,\n      defaultValue: defaultValue\n    }),\n    _useMergedState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useMergedState, 2),\n    value = _useMergedState2[0],\n    setValue = _useMergedState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState3, 2),\n    focused = _useState4[0],\n    setFocused = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState5, 2),\n    showNumberMark = _useState6[0],\n    setShowNumberMark = _useState6[1];\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState7, 2),\n    numberMarkError = _useState8[0],\n    setNumberMarkError = _useState8[1];\n  var resizeTextarea = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(function () {\n    if (!autoSize || !textareaRef.current) {\n      return;\n    }\n    var minRows = autoSize.minRows,\n      maxRows = autoSize.maxRows;\n    var textareaStyles = (0,_calculateNodeHeight__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(textareaRef.current, minRows, maxRows);\n    if (style) {\n      var height = style.height || (_babel_runtime_corejs3_core_js_stable_number_max_safe_integer__WEBPACK_IMPORTED_MODULE_4___default());\n      var maxHeight = style.maxHeight || (_babel_runtime_corejs3_core_js_stable_number_max_safe_integer__WEBPACK_IMPORTED_MODULE_4___default());\n      if (Math.min(height, maxHeight) > textareaStyles.height) {\n        textareaStyles.overflowY = 'hidden';\n      } else {\n        textareaStyles.overflowY = '';\n      }\n    }\n    setTextareaStyles(textareaStyles);\n  }, [autoSize, textareaRef, style]);\n  (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_12__.useResizeObserver)(textareaRef.current, resizeTextarea);\n  var handleChange = function handleChange(e) {\n    propsValue === undefined && setValue(e.target.value);\n    onChange && onChange(e);\n  };\n  var handleFocus = function handleFocus(e) {\n    setFocused(true);\n    onFocus && onFocus(e);\n  };\n  var handleBlur = function handleBlur(e) {\n    setFocused(false);\n    onBlur && onBlur(e);\n  };\n  var handleReset = function handleReset() {\n    setValue('');\n    var event = {\n      target: {\n        value: ''\n      }\n    };\n    if (textareaRef.current) {\n      textareaRef.current.value = '';\n      textareaRef.current.focus();\n      event.target = textareaRef.current;\n    }\n    onChange && onChange(event);\n  };\n  var renderNumberMark = function renderNumberMark() {\n    if (count && (showNumberMark || numberMarkError) && !disabled && maxLength !== '' && maxLength >= 0) {\n      var _classNames;\n      var countClass = classnames__WEBPACK_IMPORTED_MODULE_7___default()(\"\".concat(textAreaPrefixCls, \"-textarea-mark\"), (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(textAreaPrefixCls, \"-textarea-mark-inner\"), countPosition === 'inner'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(textAreaPrefixCls, \"-textarea-mark-error\"), numberMarkError), _classNames));\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n        className: countClass\n      }, value ? value.length : 0, \"/\", maxLength);\n    }\n    return null;\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () {\n    resizeTextarea();\n  }, [value, resizeTextarea]);\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () {\n    if (value && maxLength && value.length > maxLength) {\n      setNumberMarkError(true);\n    } else {\n      setNumberMarkError(false);\n    }\n  }, [value]);\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () {\n    if (focused && !showNumberMark) {\n      setShowNumberMark(true);\n    }\n    if (!focused && showNumberMark) {\n      setShowNumberMark(false);\n    }\n  }, [focused]);\n  var renderTextArea = function renderTextArea(prefixCls) {\n    var _context, _classNames2, _context2;\n    var hadCount = count && !disabled && !allowClear;\n    var _a = style || {},\n      width = _a.width,\n      margin = _a.margin,\n      marginLeft = _a.marginLeft,\n      marginRight = _a.marginRight,\n      marginTop = _a.marginTop,\n      marginBottom = _a.marginBottom,\n      otherStyles = __rest(_a, [\"width\", \"margin\", \"marginLeft\", \"marginRight\", \"marginTop\", \"marginBottom\"]);\n    var wrapperStyle = style ? {\n      width: width,\n      margin: margin,\n      marginLeft: marginLeft,\n      marginRight: marginRight,\n      marginTop: marginTop,\n      marginBottom: marginBottom\n    } : {};\n    for (var key in wrapperStyle) {\n      if (wrapperStyle[key] === undefined) {\n        delete wrapperStyle[key];\n      }\n    }\n    var textarea = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"textarea\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n      ref: textareaRef,\n      disabled: disabled,\n      style: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, textareaStyles, hadCount || !!allowClear ? otherStyles : style),\n      className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(\"\".concat(prefixCls, \"-textarea\"), (_classNames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context = \"\".concat(prefixCls, \"-size-\")).call(_context, size), size), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(prefixCls, \"-borderless\"), borderType === 'none'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(prefixCls, \"-underline\"), borderType === 'underline'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(prefixCls, \"-no-resize\"), canResize !== true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(prefixCls, \"-allowClear-spacing\"), !!allowClear), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(prefixCls, \"-error\"), status === 'error' || numberMarkError), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(prefixCls, \"-disabled\"), disabled), _classNames2), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, className, className && !allowClear && !hadCount)),\n      onChange: handleChange,\n      onFocus: !disabled ? handleFocus : undefined,\n      onBlur: !disabled ? handleBlur : undefined,\n      value: (0,_input__WEBPACK_IMPORTED_MODULE_11__.fixControlledValue)(value),\n      placeholder: placeholder,\n      maxLength: maxLength\n    }, others));\n    return hadCount ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"span\", {\n      style: wrapperStyle,\n      className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context2 = \"\".concat(prefixCls, \"-countWrapper \")).call(_context2, className && !allowClear ? className : '')\n    }, textarea, renderNumberMark()) : textarea;\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_ClearableLabeledInput__WEBPACK_IMPORTED_MODULE_14__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, textAreaProps, {\n    handleReset: handleReset,\n    value: value,\n    inputType: \"text\",\n    prefixCls: textAreaPrefixCls,\n    element: renderTextArea(textAreaPrefixCls),\n    numberMark: renderNumberMark()\n  }));\n};\nvar TextArea = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().forwardRef(InternalTextarea);\nTextArea.displayName = 'TextArea';\n/* harmony default export */ __webpack_exports__[\"default\"] = (TextArea);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/input/TextArea.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/input/calculateNodeHeight.js":
/*!*****************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/input/calculateNodeHeight.js ***!
  \*****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   calculateNodeStyling: function() { return /* binding */ calculateNodeStyling; },\n/* harmony export */   \"default\": function() { return /* binding */ calculateNodeHeight; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_min_safe_integer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/number/min-safe-integer */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/number/min-safe-integer.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_min_safe_integer__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_number_min_safe_integer__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_max_safe_integer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/number/max-safe-integer */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/number/max-safe-integer.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_max_safe_integer__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_number_max_safe_integer__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var big_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! big.js */ \"../../node_modules/@kdcloudjs/kdesign/node_modules/big.js/big.mjs\");\n\n\n\n\n\nvar HIDDEN_TEXTAREA_STYLE = \"\\n  min-height:0 !important;\\n\\tmax-height:none !important;\\n\\theight:0 !important;\\n\\tvisibility:hidden !important;\\n  position:absolute !important;\\n  overflow:hidden !important;\\n  z-index:-1000 !important;\\n  top:0 !important;\\n  right:0 !important;\\n\";\nvar SIZING_STYLE = ['letter-spacing', 'line-height', 'padding-top', 'padding-bottom', 'font-family', 'font-weight', 'font-size', 'font-variant', 'text-rendering', 'text-transform', 'width', 'text-indent', 'padding-left', 'padding-right', 'border-width', 'box-sizing', 'word-break'];\nvar hiddenTextarea;\nfunction calculateNodeStyling(node) {\n  var style = window.getComputedStyle(node);\n  var boxSizing = style.getPropertyValue('box-sizing') || style.getPropertyValue('-moz-box-sizing') || style.getPropertyValue('-webkit-box-sizing');\n  var paddingSize = parseFloat(new big_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"](parseFloat(style.getPropertyValue('padding-bottom')) || 0).plus(parseFloat(style.getPropertyValue('padding-top')) || 0).valueOf());\n  var borderSize = parseFloat(new big_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"](parseFloat(style.getPropertyValue('border-bottom-width')) || 0).plus(parseFloat(style.getPropertyValue('border-top-width')) || 0).valueOf());\n  var sizingStyle = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0___default()(SIZING_STYLE).call(SIZING_STYLE, function (name) {\n    var _context;\n    return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default()(_context = \"\".concat(name, \":\")).call(_context, style.getPropertyValue(name));\n  }).join(';');\n  var nodeInfo = {\n    sizingStyle: sizingStyle,\n    paddingSize: paddingSize,\n    borderSize: borderSize,\n    boxSizing: boxSizing\n  };\n  return nodeInfo;\n}\nfunction calculateNodeHeight(uiTextNode) {\n  var _context2;\n  var minRows = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n  var maxRows = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n  if (!hiddenTextarea) {\n    hiddenTextarea = document.createElement('textarea');\n    hiddenTextarea.setAttribute('tab-index', '-1');\n    hiddenTextarea.setAttribute('aria-hidden', 'true');\n    document.body.appendChild(hiddenTextarea);\n  }\n  if (uiTextNode.getAttribute('wrap')) {\n    hiddenTextarea.setAttribute('wrap', uiTextNode.getAttribute('wrap'));\n  } else {\n    hiddenTextarea.removeAttribute('wrap');\n  }\n  var _calculateNodeStyling = calculateNodeStyling(uiTextNode),\n    paddingSize = _calculateNodeStyling.paddingSize,\n    borderSize = _calculateNodeStyling.borderSize,\n    boxSizing = _calculateNodeStyling.boxSizing,\n    sizingStyle = _calculateNodeStyling.sizingStyle;\n  hiddenTextarea.setAttribute('style', _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default()(_context2 = \"\".concat(sizingStyle, \";\")).call(_context2, HIDDEN_TEXTAREA_STYLE));\n  hiddenTextarea.value = uiTextNode.value || uiTextNode.placeholder || '';\n  var minHeight = (_babel_runtime_corejs3_core_js_stable_number_min_safe_integer__WEBPACK_IMPORTED_MODULE_2___default());\n  var maxHeight = (_babel_runtime_corejs3_core_js_stable_number_max_safe_integer__WEBPACK_IMPORTED_MODULE_3___default());\n  var height = parseFloat(new big_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"](hiddenTextarea.scrollHeight).valueOf());\n  if (boxSizing === 'border-box') {\n    height = parseFloat(new big_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"](height).plus(borderSize).valueOf()); // height += borderSize\n  } else if (boxSizing === 'content-box') {\n    height = parseFloat(new big_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"](height).minus(paddingSize).valueOf()); // height -= paddingSize\n  }\n\n  if (minRows !== null || maxRows !== null) {\n    hiddenTextarea.value = ' ';\n    var bigSingleRowHeight = new big_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"](hiddenTextarea.scrollHeight).minus(paddingSize);\n    if (minRows !== null) {\n      minHeight = parseFloat(bigSingleRowHeight.times(minRows).valueOf());\n      if (boxSizing === 'border-box') {\n        minHeight = parseFloat(new big_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"](minHeight).plus(paddingSize).plus(borderSize).valueOf()); // minHeight + paddingSize + borderSize\n      }\n\n      height = new big_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"](minHeight).gt(height) ? minHeight : height; // Math.max(minHeight, height)\n    }\n\n    if (maxRows !== null) {\n      maxHeight = parseFloat(bigSingleRowHeight.times(maxRows).valueOf());\n      if (boxSizing === 'border-box') {\n        maxHeight = parseFloat(new big_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"](maxHeight).plus(paddingSize).plus(borderSize).valueOf()); // maxHeight + paddingSize + borderSize\n      }\n\n      height = new big_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"](maxHeight).lt(height) ? maxHeight : height; //  Math.min(maxHeight, height)\n    }\n  }\n\n  var overflowY = new big_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"](height).lt(maxHeight) ? 'hidden' : '';\n  return {\n    height: height,\n    minHeight: minHeight,\n    maxHeight: maxHeight,\n    overflowY: overflowY\n  };\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/input/calculateNodeHeight.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/input/index.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/input/index.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   BorderTypes: function() { return /* reexport safe */ _input__WEBPACK_IMPORTED_MODULE_0__.BorderTypes; },\n/* harmony export */   InputSiteTypes: function() { return /* reexport safe */ _input__WEBPACK_IMPORTED_MODULE_0__.InputSiteTypes; },\n/* harmony export */   TextArea: function() { return /* reexport safe */ _TextArea__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _input__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./input */ \"../../node_modules/@kdcloudjs/kdesign/es/input/input.js\");\n/* harmony import */ var _TextArea__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TextArea */ \"../../node_modules/@kdcloudjs/kdesign/es/input/TextArea.js\");\n\n\n\n// export { TextAreaProps } from './TextArea'\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_input__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/input/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/input/input.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/input/input.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   BorderTypes: function() { return /* binding */ BorderTypes; },\n/* harmony export */   InputSiteTypes: function() { return /* binding */ InputSiteTypes; },\n/* harmony export */   fixControlledValue: function() { return /* binding */ fixControlledValue; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var _ClearableLabeledInput__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ClearableLabeledInput */ \"../../node_modules/@kdcloudjs/kdesign/es/input/ClearableLabeledInput.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../_utils/hooks */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js\");\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\nvar InputSiteTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_7__.tuple)('large', 'middle', 'small');\nvar BorderTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_7__.tuple)('none', 'underline', 'bordered');\nfunction fixControlledValue(value) {\n  if (typeof value === 'undefined' || value === null) {\n    return '';\n  }\n  return value;\n}\nvar InternalInput = function InternalInput(props, ref) {\n  var _context, _classNames;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_5__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var inputProps = (0,_utils__WEBPACK_IMPORTED_MODULE_9__.getCompProps)('Input', userDefaultProps, props);\n  var type = inputProps.type,\n    size = inputProps.size,\n    disabled = inputProps.disabled,\n    onPressEnter = inputProps.onPressEnter,\n    borderType = inputProps.borderType,\n    customPrefixcls = inputProps.prefixCls,\n    onFocus = inputProps.onFocus,\n    onBlur = inputProps.onBlur,\n    onChange = inputProps.onChange,\n    placeholderTobeValue = inputProps.placeholderTobeValue,\n    defaultValue = inputProps.defaultValue,\n    propsValue = inputProps.value,\n    className = inputProps.className,\n    maxLength = inputProps.maxLength,\n    count = inputProps.count,\n    status = inputProps.status,\n    others = __rest(inputProps, [\"type\", \"size\", \"disabled\", \"onPressEnter\", \"borderType\", \"prefixCls\", \"onFocus\", \"onBlur\", \"onChange\", \"placeholderTobeValue\", \"defaultValue\", \"value\", \"className\", \"maxLength\", \"count\", \"status\"]);\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(InputSiteTypes.indexOf(size) === -1, 'input', \"cannot found input size '\".concat(size, \"'\"));\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(BorderTypes.indexOf(borderType) === -1, 'input', \"cannot found input borderType '\".concat(borderType, \"'\"));\n  var _useMergedState = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_11__.useMergedState)('', {\n      value: propsValue,\n      defaultValue: defaultValue\n    }),\n    _useMergedState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useMergedState, 2),\n    value = _useMergedState2[0],\n    setValue = _useMergedState2[1];\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    focused = _useState2[0],\n    setFocused = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(true),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState3, 2),\n    showNumberMark = _useState4[0],\n    setShowNumberMark = _useState4[1];\n  var inputRef = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)();\n  var inputPrefixCls = getPrefixCls(prefixCls, 'input', customPrefixcls); // 按钮样式前缀\n  var addonBefore = others.addonBefore,\n    addonAfter = others.addonAfter;\n  var inputClasses = classnames__WEBPACK_IMPORTED_MODULE_6___default()(inputPrefixCls, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = \"\".concat(inputPrefixCls, \"-size-\")).call(_context, size), size), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(inputPrefixCls, \"-borderless\"), borderType === 'none'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(inputPrefixCls, \"-underline\"), borderType === 'underline'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(inputPrefixCls, \"-error\"), status === 'error'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(inputPrefixCls, \"-disabled\"), disabled), _classNames), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, className, className && !(0,_ClearableLabeledInput__WEBPACK_IMPORTED_MODULE_12__.hasPrefixSuffix)(inputProps) && !addonBefore && !addonAfter));\n  var handleFocus = function handleFocus(event) {\n    setFocused(true);\n    onFocus && onFocus(event);\n  };\n  var handleBlur = function handleBlur(event) {\n    setFocused(false);\n    onBlur && onBlur(event);\n  };\n  var handleChange = function handleChange(event) {\n    propsValue === undefined && setValue(event.target.value);\n    onChange && onChange(event);\n  };\n  var handleReset = function handleReset() {\n    setValue('');\n    var event = {\n      target: {\n        value: ''\n      }\n    };\n    if (inputRef.current) {\n      inputRef.current.value = '';\n      inputRef.current.focus();\n      event.target = inputRef.current;\n    }\n    onChange && onChange(event);\n  };\n  var handleKeyUp = function handleKeyUp(event) {\n    if (onPressEnter && event.key === 'Enter') {\n      var newValue = placeholderTobeValue && !value && !defaultValue ? inputProps.placeholder : value || defaultValue;\n      onPressEnter && onPressEnter(newValue || '', event);\n    }\n    inputProps.onKeyUp && inputProps.onKeyUp(event);\n  };\n  var inputDomProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, others);\n  delete inputDomProps.allowClear;\n  delete inputDomProps.suffix;\n  delete inputDomProps.addonAfter;\n  delete inputDomProps.addonBefore;\n  delete inputDomProps.className;\n  var renderCount = function renderCount() {\n    var enteredLength = value ? value.length : 0;\n    if (maxLength !== undefined && enteredLength >= maxLength) {\n      enteredLength = maxLength;\n    }\n    if (count && showNumberMark && !disabled) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n        className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(inputPrefixCls, \"-input-mark-inner\"))\n      }, enteredLength, maxLength !== undefined ? \"/\".concat(maxLength) : null);\n    }\n    return null;\n  };\n  var renderInput = function renderInput() {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"input\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n      ref: inputRef,\n      type: type,\n      disabled: disabled,\n      className: inputClasses,\n      value: fixControlledValue(value),\n      maxLength: maxLength\n    }, inputDomProps, {\n      onFocus: handleFocus,\n      onBlur: handleBlur,\n      onChange: handleChange,\n      onKeyUp: handleKeyUp\n    }));\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    if (focused && !showNumberMark) {\n      setShowNumberMark(true);\n    }\n    if (!focused && showNumberMark) {\n      setShowNumberMark(false);\n    }\n  }, [focused]);\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useImperativeHandle)(ref, function () {\n    return {\n      input: inputRef.current,\n      focus: function focus() {\n        var _a;\n        setFocused(true);\n        (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus();\n      },\n      blur: function blur() {\n        var _a;\n        setFocused(false);\n        (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.blur();\n      },\n      select: function select() {\n        var _a;\n        (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.select();\n      }\n    };\n  });\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_ClearableLabeledInput__WEBPACK_IMPORTED_MODULE_12__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, inputProps, {\n    handleReset: handleReset,\n    value: value,\n    inputType: \"input\",\n    prefixCls: inputPrefixCls,\n    element: renderInput(),\n    focused: focused,\n    count: count,\n    inputCount: renderCount()\n  }));\n};\nvar Input = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().forwardRef(InternalInput);\nInput.displayName = 'Input';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Input);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/input/input.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/layout/index.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/layout/index.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./layout */ \"../../node_modules/@kdcloudjs/kdesign/es/layout/layout.js\");\n/* harmony import */ var _sider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./sider */ \"../../node_modules/@kdcloudjs/kdesign/es/layout/sider.js\");\n\n\nvar Layout = _layout__WEBPACK_IMPORTED_MODULE_0__[\"default\"];\nLayout.Header = _layout__WEBPACK_IMPORTED_MODULE_0__.Header;\nLayout.Footer = _layout__WEBPACK_IMPORTED_MODULE_0__.Footer;\nLayout.Content = _layout__WEBPACK_IMPORTED_MODULE_0__.Content;\nLayout.Sider = _sider__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\n/* harmony default export */ __webpack_exports__[\"default\"] = (Layout);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/layout/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/layout/layout.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/layout/layout.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Content: function() { return /* binding */ Content; },\n/* harmony export */   Footer: function() { return /* binding */ Footer; },\n/* harmony export */   Header: function() { return /* binding */ Header; },\n/* harmony export */   LayoutContext: function() { return /* binding */ LayoutContext; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n\n\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\nvar LayoutContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__.createContext({\n  siderHook: {\n    addSider: function addSider() {\n      return null;\n    },\n    removeSider: function removeSider() {\n      return null;\n    }\n  }\n});\nfunction generator(_ref) {\n  var suffixCls = _ref.suffixCls,\n    tagName = _ref.tagName,\n    displayName = _ref.displayName;\n  return function (BasicComponent) {\n    var Adapter = function Adapter(props) {\n      var _React$useContext = react__WEBPACK_IMPORTED_MODULE_7__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_9__[\"default\"]),\n        getPrefixCls = _React$useContext.getPrefixCls,\n        pkgPrefixCls = _React$useContext.prefixCls,\n        userDefaultProps = _React$useContext.compDefaultProps;\n      // 属性需要合并一遍用户定义的默认属性\n      var _getCompProps = (0,_utils__WEBPACK_IMPORTED_MODULE_10__.getCompProps)('Layout', userDefaultProps, props),\n        customPrefixcls = _getCompProps.prefixCls;\n      // className前缀\n      var prefixCls = getPrefixCls(pkgPrefixCls, suffixCls, customPrefixcls);\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__.createElement(BasicComponent, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({\n        prefixCls: prefixCls,\n        tagName: tagName\n      }, props));\n    };\n    Adapter.displayName = displayName;\n    return Adapter;\n  };\n}\nvar Basic = function Basic(props) {\n  var _React$useContext2 = react__WEBPACK_IMPORTED_MODULE_7__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_9__[\"default\"]),\n    userDefaultProps = _React$useContext2.compDefaultProps;\n  // 属性需要合并一遍用户定义的默认属性\n  var _a = (0,_utils__WEBPACK_IMPORTED_MODULE_10__.getCompProps)('Layout', userDefaultProps, props),\n    className = _a.className,\n    children = _a.children,\n    prefixCls = _a.prefixCls,\n    tagName = _a.tagName,\n    others = __rest(_a, [\"className\", \"children\", \"prefixCls\", \"tagName\"]);\n  var classString = classnames__WEBPACK_IMPORTED_MODULE_8___default()(prefixCls, className);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__.createElement(tagName, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({\n    className: classString\n  }, others), children);\n};\nvar BasicLayout = function BasicLayout(props) {\n  var _React$useContext3 = react__WEBPACK_IMPORTED_MODULE_7__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_9__[\"default\"]),\n    userDefaultProps = _React$useContext3.compDefaultProps;\n  // 属性需要合并一遍用户定义的默认属性\n  var _a = (0,_utils__WEBPACK_IMPORTED_MODULE_10__.getCompProps)('Layout', userDefaultProps, props),\n    style = _a.style,\n    className = _a.className,\n    children = _a.children,\n    prefixCls = _a.prefixCls,\n    hasSider = _a.hasSider,\n    Tag = _a.tagName,\n    others = __rest(_a, [\"style\", \"className\", \"children\", \"prefixCls\", \"hasSider\", \"tagName\"]);\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_7__.useState([]),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_React$useState, 2),\n    siders = _React$useState2[0],\n    setSiders = _React$useState2[1];\n  var classString = classnames__WEBPACK_IMPORTED_MODULE_8___default()(prefixCls, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(prefixCls, \"-has-sider\"), typeof hasSider === 'boolean' ? hasSider : siders.length > 0), className);\n  var styleString = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({}, style);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__.createElement(LayoutContext.Provider, {\n    value: {\n      siderHook: {\n        addSider: function addSider(id) {\n          setSiders(function (prev) {\n            var _context;\n            return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context = []).call(_context, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(prev), [id]);\n          });\n        },\n        removeSider: function removeSider(id) {\n          setSiders(function (prev) {\n            return _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6___default()(prev).call(prev, function (currentId) {\n              return currentId !== id;\n            });\n          });\n        }\n      }\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__.createElement(Tag, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({\n    className: classString\n  }, others, {\n    style: styleString\n  }), children));\n};\nvar Layout = generator({\n  suffixCls: 'layout',\n  tagName: 'section',\n  displayName: 'Layout'\n})(BasicLayout);\nvar Header = generator({\n  suffixCls: 'layout-header',\n  tagName: 'header',\n  displayName: 'Header'\n})(Basic);\nvar Footer = generator({\n  suffixCls: 'layout-footer',\n  tagName: 'footer',\n  displayName: 'Footer'\n})(Basic);\nvar Content = generator({\n  suffixCls: 'layout-content',\n  tagName: 'main',\n  displayName: 'Content'\n})(Basic);\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Layout);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/layout/layout.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/layout/sider.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/layout/sider.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   SiderContext: function() { return /* binding */ SiderContext; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _utils_omit__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../_utils/omit */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/omit.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./layout */ \"../../node_modules/@kdcloudjs/kdesign/es/layout/layout.js\");\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\nvar dimensionMaxMap = {\n  xs: '479.98px',\n  sm: '599.98px',\n  md: '1023.98px',\n  lg: '1279.98px',\n  xl: '1919.98px'\n};\nvar SiderContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createContext({});\nvar generateId = function () {\n  var i = 0;\n  return function (prefix) {\n    var _context;\n    i += 1;\n    return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = \"\".concat(prefix)).call(_context, i);\n  };\n}();\nvar Sider = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.forwardRef(function (props, ref) {\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_5__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    pkgPrefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  // 属性需要合并一遍用户定义的默认属性\n  var _a = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCompProps)('Layout', userDefaultProps, props),\n    customPrefixcls = _a.prefixCls,\n    className = _a.className,\n    trigger = _a.trigger,\n    children = _a.children,\n    _a$defaultCollapsed = _a.defaultCollapsed,\n    defaultCollapsed = _a$defaultCollapsed === void 0 ? false : _a$defaultCollapsed,\n    _a$theme = _a.theme,\n    theme = _a$theme === void 0 ? 'dark' : _a$theme,\n    _a$style = _a.style,\n    style = _a$style === void 0 ? {} : _a$style,\n    _a$collapsible = _a.collapsible,\n    collapsible = _a$collapsible === void 0 ? false : _a$collapsible,\n    _a$reverseArrow = _a.reverseArrow,\n    reverseArrow = _a$reverseArrow === void 0 ? false : _a$reverseArrow,\n    _a$width = _a.width,\n    width = _a$width === void 0 ? 200 : _a$width,\n    _a$collapsedWidth = _a.collapsedWidth,\n    collapsedWidth = _a$collapsedWidth === void 0 ? 50 : _a$collapsedWidth,\n    zeroWidthTriggerStyle = _a.zeroWidthTriggerStyle,\n    breakpoint = _a.breakpoint,\n    onCollapse = _a.onCollapse,\n    onBreakpoint = _a.onBreakpoint,\n    other = __rest(_a, [\"prefixCls\", \"className\", \"trigger\", \"children\", \"defaultCollapsed\", \"theme\", \"style\", \"collapsible\", \"reverseArrow\", \"width\", \"collapsedWidth\", \"zeroWidthTriggerStyle\", \"breakpoint\", \"onCollapse\", \"onBreakpoint\"]);\n  // className前缀\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'layout-sider', customPrefixcls);\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_5__.useContext)(_layout__WEBPACK_IMPORTED_MODULE_9__.LayoutContext),\n    siderHook = _useContext.siderHook;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)('collapsed' in props ? props.collapsed : defaultCollapsed),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    collapsed = _useState2[0],\n    setCollapsed = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState3, 2),\n    below = _useState4[0],\n    setBelow = _useState4[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    if ('collapsed' in other) {\n      setCollapsed(props.collapsed);\n    }\n  }, [props.collapsed]);\n  var handleSetCollapsed = function handleSetCollapsed(value, type) {\n    if (!('collapsed' in props)) {\n      setCollapsed(value);\n    }\n    onCollapse === null || onCollapse === void 0 ? void 0 : onCollapse(value, type);\n  };\n  // Responsive\n  var responsiveHandlerRef = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)();\n  responsiveHandlerRef.current = function (mql) {\n    setBelow(mql.matches);\n    onBreakpoint === null || onBreakpoint === void 0 ? void 0 : onBreakpoint(mql.matches);\n    if (collapsed !== mql.matches) {\n      handleSetCollapsed(mql.matches, 'responsive');\n    }\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    function responsiveHandler(mql) {\n      return responsiveHandlerRef.current(mql);\n    }\n    var mql;\n    if (typeof window !== 'undefined') {\n      var _window = window,\n        matchMedia = _window.matchMedia;\n      if (matchMedia && breakpoint && breakpoint in dimensionMaxMap) {\n        mql = matchMedia(\"(max-width: \".concat(dimensionMaxMap[breakpoint], \")\"));\n        try {\n          mql.addEventListener('change', responsiveHandler);\n        } catch (error) {\n          mql.addListener(responsiveHandler);\n        }\n        responsiveHandler(mql);\n      }\n    }\n    return function () {\n      try {\n        mql === null || mql === void 0 ? void 0 : mql.removeEventListener('change', responsiveHandler);\n      } catch (error) {\n        mql === null || mql === void 0 ? void 0 : mql.removeListener(responsiveHandler);\n      }\n    };\n  }, []);\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    var uniqueId = generateId('kd-sider-');\n    siderHook.addSider(uniqueId);\n    return function () {\n      return siderHook.removeSider(uniqueId);\n    };\n  }, []);\n  var toggle = function toggle() {\n    handleSetCollapsed(!collapsed, 'clickTrigger');\n  };\n  var getWidth = function getWidth(rawWidth) {\n    return rawWidth.constructor === Number ? \"\".concat(rawWidth, \"px\") : String(rawWidth);\n  };\n  var renderSider = function renderSider() {\n    var _context2, _context3, _classNames;\n    var siderWidth = getWidth(collapsed ? collapsedWidth : width);\n    var zeroWidthTrigger = parseFloat(String(collapsedWidth || 0)) === 0 ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(\"span\", {\n      onClick: toggle,\n      className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(prefixCls, \"-zero-width-trigger\"), _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = \"\".concat(prefixCls, \"-zero-width-trigger-\")).call(_context2, reverseArrow ? 'right' : 'left')),\n      style: zeroWidthTriggerStyle\n    }, trigger || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(_icon__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n      type: \"project\"\n    })) : null;\n    var iconObj = {\n      expanded: reverseArrow ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(_icon__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n        type: \"foldmenu\"\n      }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(_icon__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n        type: \"unfoldmenu\"\n      }),\n      collapsed: reverseArrow ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(_icon__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n        type: \"unfoldmenu\"\n      }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(_icon__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n        type: \"foldmenu\"\n      })\n    };\n    var status = collapsed ? 'collapsed' : 'expanded';\n    var defaultTrigger = iconObj[status];\n    var triggerDom = trigger !== null ? zeroWidthTrigger || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(\"div\", {\n      className: \"\".concat(prefixCls, \"-trigger\"),\n      onClick: toggle,\n      style: {\n        width: '100%'\n      }\n    }, trigger || defaultTrigger) : null;\n    var divStyle = {\n      flex: \"0 0 \".concat(siderWidth),\n      maxWidth: siderWidth,\n      minWidth: siderWidth,\n      width: siderWidth\n    };\n    var siderCls = classnames__WEBPACK_IMPORTED_MODULE_6___default()(prefixCls, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = \"\".concat(prefixCls, \"-\")).call(_context3, theme), (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-collapsed\"), !!collapsed), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-has-trigger\"), collapsible && trigger !== null && !zeroWidthTrigger), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-below\"), !!below), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-zero-width\"), parseFloat(siderWidth) === 0), _classNames), className);\n    var siderProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, (0,_utils_omit__WEBPACK_IMPORTED_MODULE_11__.omit)(props, ['collapsed', 'collapsible', 'onCollapse', 'onBreakpoint', 'collapsedWidth'])), {\n      className: siderCls,\n      style: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, style), divStyle),\n      ref: ref\n    });\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(\"aside\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, siderProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(\"div\", {\n      className: \"\".concat(prefixCls, \"-children\")\n    }, children), collapsible || below && zeroWidthTrigger ? triggerDom : null);\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(SiderContext.Provider, {\n    value: {\n      siderCollapsed: collapsed,\n      collapsedWidth: collapsedWidth\n    }\n  }, renderSider());\n});\nSider.displayName = 'Sider';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Sider);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/layout/sider.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/link/index.js":
/*!**************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/link/index.js ***!
  \**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   LinkSizes: function() { return /* reexport safe */ _link__WEBPACK_IMPORTED_MODULE_0__.LinkSizes; }\n/* harmony export */ });\n/* harmony import */ var _link__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./link */ \"../../node_modules/@kdcloudjs/kdesign/es/link/link.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_link__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/link/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/link/link.js":
/*!*************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/link/link.js ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   LinkSizes: function() { return /* binding */ LinkSizes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\nvar LinkSizes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('large', 'middle', 'small');\nvar InternalLink = function InternalLink(props, ref) {\n  var _context, _classNames, _classNames2;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var linkProps = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCompProps)('Link', userDefaultProps, props);\n  var size = linkProps.size,\n    style = linkProps.style,\n    className = linkProps.className,\n    target = linkProps.target,\n    href = linkProps.href,\n    underscore = linkProps.underscore,\n    children = linkProps.children,\n    prefix = linkProps.prefix,\n    suffix = linkProps.suffix,\n    disabled = linkProps.disabled,\n    onClick = linkProps.onClick,\n    customPrefixcls = linkProps.prefixCls,\n    others = __rest(linkProps\n    // ref\n    , [\"size\", \"style\", \"className\", \"target\", \"href\", \"underscore\", \"children\", \"prefix\", \"suffix\", \"disabled\", \"onClick\", \"prefixCls\"]);\n  // ref\n  var linkRef = ref || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createRef();\n  var linkPrefixCls = getPrefixCls(prefixCls, 'link', customPrefixcls); // 按钮样式前缀\n  var wrapperClasses = classnames__WEBPACK_IMPORTED_MODULE_5___default()((_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(linkPrefixCls), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(linkPrefixCls, \"-size-\")).call(_context, size), size), _classNames));\n  var linkClasses = classnames__WEBPACK_IMPORTED_MODULE_5___default()(className, (_classNames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(linkPrefixCls, \"-text\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(linkPrefixCls, \"-underscore\"), underscore), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(linkPrefixCls, \"-disabled\"), disabled), _classNames2));\n  var handleClick = function handleClick(e) {\n    // 禁用状态 不跳转\n    disabled && e.preventDefault();\n    onClick && (onClick === null || onClick === void 0 ? void 0 : onClick(e));\n  };\n  var prefixNode = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(function () {\n    return prefix ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n      className: \"\".concat(linkPrefixCls, \"-prefix\")\n    }, prefix) : null;\n  }, [prefix, linkPrefixCls]);\n  var suffixNode = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(function () {\n    return suffix ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n      className: \"\".concat(linkPrefixCls, \"-suffix\")\n    }, suffix) : null;\n  }, [suffix, linkPrefixCls]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    style: style,\n    className: wrapperClasses\n  }, prefixNode, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"a\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    ref: linkRef,\n    target: target,\n    disabled: disabled,\n    href: href,\n    className: linkClasses,\n    onClick: handleClick\n  }, others), children), suffixNode);\n};\nvar Link = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().forwardRef(InternalLink);\nLink.displayName = 'Link';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Link);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/link/link.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/locale/index.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/locale/index.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   getCompLangMsg: function() { return /* reexport safe */ _locale__WEBPACK_IMPORTED_MODULE_0__.getCompLangMsg; },\n/* harmony export */   getLangMsg: function() { return /* reexport safe */ _locale__WEBPACK_IMPORTED_MODULE_0__.getLangMsg; }\n/* harmony export */ });\n/* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./locale */ \"../../node_modules/@kdcloudjs/kdesign/es/locale/locale.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_locale__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/locale/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/locale/locale.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/locale/locale.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   getCompLangMsg: function() { return /* binding */ getCompLangMsg; },\n/* harmony export */   getLangMsg: function() { return /* binding */ getLangMsg; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/classCallCheck */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/classCallCheck.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/createClass */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/createClass.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/from */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/symbol */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/symbol.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/get-iterator-method */ \"../../node_modules/@babel/runtime-corejs3/core-js/get-iterator-method.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _zh_CN__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./zh-CN */ \"../../node_modules/@kdcloudjs/kdesign/es/locale/zh-CN.js\");\n\n\n\n\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof (_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_5___default()) !== \"undefined\" && _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_6___default()(o) || 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) { var _context2; if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7___default()(_context2 = Object.prototype.toString.call(o)).call(_context2, 8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_8___default()(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; }\n\n\n\n\n\n\n\nvar LocaleCache = /*#__PURE__*/function () {\n  function LocaleCache(localesData, locale) {\n    (0,_babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(this, LocaleCache);\n    this.locale = locale || _zh_CN__WEBPACK_IMPORTED_MODULE_11__[\"default\"].locale;\n    this.localesData = localesData;\n  }\n  /**\n   * 设置语言包并切换当前语言\n   * @param {LocaleDataType | string} localeData 语言数据集合 | 语言类型\n   * @returns 设置后的语言对应的语言包\n   */\n  (0,_babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(LocaleCache, [{\n    key: \"setLocalesData\",\n    value: function setLocalesData(locale, localeData) {\n      if (!(localeData || this.localesData[locale])) {\n        console.error(\"\\u7F3A\\u5C11\\u8BED\\u8A00\".concat(locale, \"\\u5BF9\\u5E94\\u7684\\u8BED\\u8A00\\u5305\\uFF0C\\u8BF7\\u68C0\\u67E5\\u540E\\u91CD\\u65B0\\u8BBE\\u7F6E\"));\n        return;\n      }\n      var newLocaleData = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, _zh_CN__WEBPACK_IMPORTED_MODULE_11__[\"default\"]), localeData);\n      var newLocale = locale || (newLocaleData === null || newLocaleData === void 0 ? void 0 : newLocaleData.locale);\n      this.locale = newLocale;\n      this.localesData[newLocale] = newLocaleData;\n      return localeData;\n    }\n    /**\n     * 获取当前语言包数据\n     */\n  }, {\n    key: \"getLocalData\",\n    value: function getLocalData() {\n      return this.localesData[this.locale];\n    }\n    /**\n     * 获取当前语言类型\n     */\n  }, {\n    key: \"getLocal\",\n    value: function getLocal() {\n      return this.locale;\n    }\n    /**\n     * 获取所有语言包数据\n     */\n  }, {\n    key: \"getLocalesData\",\n    value: function getLocalesData() {\n      return this.localesData;\n    }\n  }]);\n  return LocaleCache;\n}();\nvar localeCacher = new LocaleCache((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, _zh_CN__WEBPACK_IMPORTED_MODULE_11__[\"default\"].locale, _zh_CN__WEBPACK_IMPORTED_MODULE_11__[\"default\"]));\n/* harmony default export */ __webpack_exports__[\"default\"] = (localeCacher);\nvar getLangMsg = function getLangMsg(componentName, labelName, params) {\n  var _context;\n  var localData = localeCacher.getLocalData();\n  var msg = localData[_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_9___default()(_context = \"\".concat(componentName, \".\")).call(_context, labelName)] || localData[\"global.\".concat(labelName)] || '';\n  return analysVariables(msg, params);\n};\n/**\n * 解析模板字符串中的变量\n * @param {*} msg\n * @param {*} variables\n */\nfunction analysVariables(msg, variables) {\n  if (typeof msg === 'string') {\n    var reg = /{[\\w\\W]*?}/g;\n    var matchArr = msg.match(reg) || [];\n    var isObject = function isObject(value) {\n      return (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(value) === 'object' || typeof value === 'function';\n    };\n    var getVarName = function getVarName(str) {\n      var len = str.length;\n      return _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7___default()(str).call(str, 1, len - 1);\n    };\n    var stringVar = [];\n    var eleVar = [];\n    var _iterator = _createForOfIteratorHelper(matchArr),\n      _step;\n    try {\n      for (_iterator.s(); !(_step = _iterator.n()).done;) {\n        var item = _step.value;\n        var varName = getVarName(item);\n        var value = variables[varName];\n        if (isObject(value)) {\n          eleVar.push({\n            k: varName,\n            v: value\n          });\n        } else {\n          stringVar.push({\n            k: varName,\n            v: value\n          });\n        }\n      }\n    } catch (err) {\n      _iterator.e(err);\n    } finally {\n      _iterator.f();\n    }\n    msg = formatText(msg, stringVar);\n    var msgArr = [];\n    if (eleVar.length > 0) {\n      msgArr = formatElement(msg, variables);\n    }\n    return eleVar.length > 0 ? msgArr : msg;\n  } else {\n    return msg;\n  }\n}\n/**\n * 替换基本类型的变量\n * @param {*} msg\n * @param {*} stringVar\n */\nfunction formatText(msg, stringVar) {\n  stringVar.forEach(function (item) {\n    var k = item.k,\n      v = item.v;\n    var reg = new RegExp('{' + k + '}', 'g');\n    msg = msg.replace(reg, v);\n  });\n  return msg;\n}\n/**\n * 替换React元素类型的变量\n * @param {*} msg\n * @param {*} eleVar\n * @param {*} variables\n */\nfunction formatElement(msg, variables) {\n  var splitByElement = function splitByElement(msg) {\n    var array = [];\n    var item = {\n      t: 0,\n      v: ''\n    }; // 0-string 1-react\n    var len = msg.length;\n    msg.split('').forEach(function (c, i) {\n      if (c === '{') {\n        array.push(item);\n        item = {\n          t: 1,\n          v: ''\n        };\n      } else if (c === '}') {\n        array.push(item);\n        item = {\n          t: 0,\n          v: ''\n        };\n      } else {\n        item.v = item.v + c;\n      }\n      if (i === len - 1) {\n        array.push(item);\n      }\n    });\n    return array;\n  };\n  var elements = [];\n  var eleArr = splitByElement(msg);\n  eleArr.forEach(function (item, index) {\n    var t = item.t,\n      v = item.v;\n    if (t === 0 && v !== '') {\n      elements.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"span\", {\n        key: index\n      }, v));\n    } else if (t === 1) {\n      elements.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().cloneElement(variables[v], {\n        key: index\n      }));\n    }\n  });\n  return elements;\n}\nvar getCompLangMsg = function getCompLangMsg(compLangMsgParams, customGetLangMsg, localeDate) {\n  var componentName = compLangMsgParams.componentName,\n    labels = compLangMsgParams.labels,\n    labelParams = compLangMsgParams.labelParams;\n  labels = labels || [];\n  labelParams = labelParams || {};\n  localeDate = localeDate || _zh_CN__WEBPACK_IMPORTED_MODULE_11__[\"default\"];\n  if (!labels.length) {\n    for (var key in localeDate) {\n      var componentNameAndLabel = key.split('.');\n      if (componentName === componentNameAndLabel[0] && componentNameAndLabel[1]) {\n        labels.push(componentNameAndLabel[1]);\n      }\n    }\n  }\n  var componentLangMsg = {\n    locale: localeDate.locale\n  };\n  labels.forEach(function (label) {\n    if (customGetLangMsg && typeof customGetLangMsg === 'function') {\n      componentLangMsg[label] = customGetLangMsg(componentName, label, labelParams[label] || {});\n    } else {\n      componentLangMsg[label] = getLangMsg(componentName, label, labelParams[label] || {});\n    }\n  });\n  return componentLangMsg;\n};\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/locale/locale.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/locale/zh-CN.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/locale/zh-CN.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _date_picker_locale_zh_CN__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../date-picker/locale/zh_CN */ \"../../node_modules/@kdcloudjs/kdesign/es/date-picker/locale/zh_CN.js\");\n\n\nvar locale = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n  locale: 'zh-CN'\n}, _date_picker_locale_zh_CN__WEBPACK_IMPORTED_MODULE_1__[\"default\"]), {\n  'global.selectholder': '请选择',\n  'global.placeholder': '请输入...',\n  'global.cancel': '取消',\n  'global.confirm': '确定',\n  'Button.text': '按钮',\n  'Progress.circleLoadingDesc': '正在加载中',\n  'Progress.loading': '正在加载中...',\n  'Progress.fail': '加载失败',\n  'Progress.success': '加载成功',\n  'Pagination.prevPage': '上一页',\n  'Pagination.nextPage': '下一页',\n  'Pagination.total': '共 {page} 页 {row}条',\n  'Pagination.page': '共 {page} 页',\n  'Pagination.row': '共 {row} 条',\n  'Pagination.first': '第一页',\n  'Pagination.last': '最后一页',\n  'Pagination.perPage': '{size} 条/页',\n  'Pagination.order': '第 {order} 页',\n  'Pagination.forward': '向前 5 页',\n  'Pagination.backward': '向后 5 页',\n  'Transfer.selectAll': '全选',\n  'Transfer.searchPlaceholder': ['请输入需要搜索的内容', '请输入需要搜索的内容'],\n  'Transfer.leftTitle': '可选列表',\n  'Transfer.rightTitle': '已选列表',\n  'Transfer.emptyTip': '暂无数据',\n  'Modal.okText': '确定',\n  'Modal.cancelText': '取消',\n  'Modal.iknowText': '我知道了',\n  'Empty.emptyText': '暂无数据',\n  'Empty.searchEmptyText': '没有找到结果',\n  'QuickSearch.placeholder': '请输入需要搜索的内容',\n  'QuickSearch.desc': ['空格代表\"或\"，回车代表\"且\"'],\n  'QuickSearch.nplDesc': '智能搜索',\n  'QuickSearch.emptyTip': '暂无数据',\n  'QuickSearch.or': '或',\n  'CityPicker.domestic': '国内',\n  'CityPicker.common': '常用',\n  'CityPicker.emptyText': '暂无数据',\n  'CityPicker.commonEmptyText': '无常用城市',\n  'CityPicker.tabsDomestic': '国内',\n  'CityPicker.tabsInternation': '国际/中国港澳台',\n  'ColorPicker.followFunctionalColor': '跟随功能色',\n  'Search.placeholder': '请输入需要搜索的内容',\n  'Search.desc': ['空格代表\"或\"，回车代表\"且\"'],\n  'Search.nplDesc': '智能搜索',\n  'Search.emptyTip': '暂无数据',\n  'Search.or': '或',\n  'Filter.filterCondition': '筛选条件',\n  'Filter.commonCondition': '常用条件',\n  'Filter.schemeQuery': '方案查询',\n  'Filter.spread': '展开',\n  'Filter.packup': '收起',\n  'Filter.filter': '过滤',\n  'Filter.scheme': '方案',\n  'Filter.unlimited': '不限',\n  'Filter.commonScheme': '常用方案',\n  'Filter.advancedQuery': '高级查询',\n  'Filter.schemeName': '方案名称',\n  'Filter.addCondition': '添加条件',\n  'Filter.saveScheme': '保存方案',\n  'Filter.query': '查询',\n  'Filter.and': '并且',\n  'Filter.settings': '设置',\n  'Filter.schemeNamePlaceholder': '请输入方案名称',\n  'Form.requiredMessage': '请输入您的',\n  'Table.contain': '包含',\n  'Table.notContain': '不包含',\n  'Table.equal': '等于',\n  'Table.notEqual': '不等于',\n  'Table.isNull': '为空',\n  'Table.notIsNull': '不为空',\n  'Table.resetFilter': '重置',\n  'Table.confirmFilter': '确定',\n  'Select.selectAll': '全选',\n  'Select.seleted': '已选{size}项',\n  'Signature.clickToSign': '点击签名',\n  'Signature.pleaseWriteHere': '请在此处横向书写签名',\n  'Signature.okText': '确定',\n  'Signature.cancelText': '取消',\n  'Signature.handwrittenSignature': '手写签名'\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (locale);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/locale/zh-CN.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/menu/index.js":
/*!**************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/menu/index.js ***!
  \**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./menu */ \"../../node_modules/@kdcloudjs/kdesign/es/menu/menu.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_menu__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/menu/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/menu/menu.js":
/*!*************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/menu/menu.js ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/set.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _utils_react_children__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../_utils/react-children */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/react-children.js\");\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var _menuItem__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./menuItem */ \"../../node_modules/@kdcloudjs/kdesign/es/menu/menuItem.js\");\n/* harmony import */ var _subMenu__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./subMenu */ \"../../node_modules/@kdcloudjs/kdesign/es/menu/subMenu.js\");\n\n\n\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\nvar isFunction = function isFunction(fn) {\n  return fn && typeof fn === 'function';\n};\nvar openSubMenuSet = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())();\nvar Menu = function Menu(props) {\n  var _context2, _classNames;\n  var _a;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_8__.useContext)(_config_provider__WEBPACK_IMPORTED_MODULE_10__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    pkgPrefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var userSelectedKey = props.selectedKey,\n    userOpenKeys = props.openKeys;\n  var _b = (0,_utils__WEBPACK_IMPORTED_MODULE_11__.getCompProps)('Menu', userDefaultProps, props),\n    customPrefixcls = _b.prefixCls,\n    mode = _b.mode,\n    inlineIndent = _b.inlineIndent,\n    forceSubMenuRender = _b.forceSubMenuRender,\n    additionalTools = _b.additionalTools,\n    onClick = _b.onClick,\n    onOpenChange = _b.onOpenChange,\n    children = _b.children,\n    className = _b.className,\n    theme = _b.theme,\n    collapsed = _b.collapsed,\n    accordion = _b.accordion,\n    defaultOpenKeys = _b.defaultOpenKeys,\n    restProps = __rest(_b, [\"prefixCls\", \"mode\", \"inlineIndent\", \"forceSubMenuRender\", \"additionalTools\", \"onClick\", \"onOpenChange\", \"children\", \"className\", \"theme\", \"collapsed\", \"accordion\", \"defaultOpenKeys\"]);\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'menu', customPrefixcls);\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(['inline', 'vertical', undefined].indexOf(mode) === -1, 'menu', \"cannot found menu mode '\".concat(mode, \"'\"));\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(mode !== 'inline' && accordion !== undefined, 'menu', \"'accordion' is valid only in mode='inline'\");\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(''),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState, 2),\n    selectedKey = _useState2[0],\n    setSelectedKey = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)([]),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState3, 2),\n    selectedKeyPath = _useState4[0],\n    setSelectedKeyPath = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)([]),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState5, 2),\n    openKeys = _useState6[0],\n    setOpenKeys = _useState6[1];\n  if (mode === 'inline') {\n    restProps.triggerSubMenuAction = 'click';\n  }\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    setOpenKeys([]);\n    setSelectedKey('');\n    setSelectedKeyPath([]);\n    openSubMenuSet.clear();\n  }, [mode]);\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    if (userSelectedKey !== undefined) {\n      setSelectedKey(userSelectedKey);\n    }\n  }, [userSelectedKey]);\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    if (Array.isArray(defaultOpenKeys)) {\n      setOpenKeys(defaultOpenKeys);\n      defaultOpenKeys.forEach(function (d) {\n        openSubMenuSet.add(d);\n      });\n    }\n  }, []);\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    if (userOpenKeys !== undefined && Array.isArray(userOpenKeys)) {\n      setOpenKeys(userOpenKeys);\n      openSubMenuSet.clear();\n      userOpenKeys.forEach(function (d) {\n        openSubMenuSet.add(d);\n      });\n    }\n  }, [userOpenKeys]);\n  var handleOnClick = function handleOnClick(info) {\n    if (userSelectedKey === undefined) {\n      setSelectedKey(info.key);\n    }\n    if (mode !== 'inline' && openKeys.length > 0) {\n      setOpenKeys([]);\n      openSubMenuSet.clear();\n    }\n    onClick && onClick(info);\n  };\n  var handleMouseEnterMenu = function handleMouseEnterMenu() {\n    if (isFunction(restProps.onMouseEnter)) {\n      restProps.onMouseEnter();\n    }\n  };\n  var handleMouseLeaveMenu = function handleMouseLeaveMenu() {\n    if (isFunction(restProps.onMouseLeave)) {\n      restProps.onMouseLeave();\n    }\n  };\n  // 子菜单展开关闭的回调\n  var handleOnOpenChange = function handleOnOpenChange(openKey, isAdd) {\n    var clean = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n    if (clean) {\n      openSubMenuSet.clear();\n    } else {\n      if (mode === 'inline' && accordion) {\n        openSubMenuSet.clear();\n      }\n      if (isAdd) {\n        openSubMenuSet.add(openKey);\n      } else {\n        openSubMenuSet.delete(openKey);\n      }\n    }\n    if (userOpenKeys === undefined) {\n      setOpenKeys((0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(openSubMenuSet));\n    }\n    onOpenChange && onOpenChange((0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(openSubMenuSet));\n  };\n  var renderMenu = function renderMenu() {\n    var _context;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"ul\", null, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(_context = (0,_utils_react_children__WEBPACK_IMPORTED_MODULE_13__.toArray)(children)).call(_context, function (item, i) {\n      if (!item) return;\n      var key = (item === null || item === void 0 ? void 0 : item.key) || i;\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().cloneElement(item, {\n        key: key,\n        keyValue: key,\n        collapsed: collapsed,\n        mode: mode,\n        openKeys: openKeys,\n        selectedKey: selectedKey,\n        selectedKeyPath: selectedKeyPath,\n        setSelectedKeyPath: setSelectedKeyPath,\n        theme: theme,\n        triggerSubMenuAction: restProps.triggerSubMenuAction,\n        forceSubMenuRender: forceSubMenuRender,\n        handleOnOpenChange: handleOnOpenChange,\n        handleOnClick: handleOnClick,\n        inlineIndent: inlineIndent,\n        userOpenKeys: userOpenKeys,\n        userSelectedKey: userSelectedKey\n      });\n    }));\n  };\n  var style = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, restProps.style), {\n    width: !collapsed && ((_a = restProps.style) === null || _a === void 0 ? void 0 : _a.width),\n    transition: 'width 0.2s cubic-bezier(0,.4,.4,1)'\n  });\n  var mouseEvent = {\n    onMouseLeave: handleMouseLeaveMenu,\n    onMouseEnter: handleMouseEnterMenu\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n    className: classnames__WEBPACK_IMPORTED_MODULE_9___default()(prefixCls, className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-inline\"), mode === 'inline'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-vertical\"), mode !== 'inline'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-collapsed\"), collapsed), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7___default()(_context2 = \"\".concat(prefixCls, \"-\")).call(_context2, theme === 'light' ? 'light' : 'dark'), true), _classNames)),\n    role: \"menu\",\n    style: style\n  }, mouseEvent), children && renderMenu(), additionalTools);\n};\nMenu.displayName = 'Menu';\nMenu.Item = _menuItem__WEBPACK_IMPORTED_MODULE_14__[\"default\"];\nMenu.SubMenu = _subMenu__WEBPACK_IMPORTED_MODULE_15__[\"default\"];\n/* harmony default export */ __webpack_exports__[\"default\"] = (Menu);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/menu/menu.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/menu/menuItem.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/menu/menuItem.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   MENU_ITEM_CONTAINER_NAME: function() { return /* binding */ MENU_ITEM_CONTAINER_NAME; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./util */ \"../../node_modules/@kdcloudjs/kdesign/es/menu/util.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\nvar MENU_ITEM_CONTAINER_NAME = 'menu-item-content-container';\nvar InternalMenuItem = function InternalMenuItem(props, ref) {\n  var _context, _classNames;\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_5__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    pkgPrefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  // 属性需要合并一遍用户定义的默认属性\n  var _a = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCompProps)('MenuItem', userDefaultProps, props),\n    customPrefixcls = _a.prefixCls,\n    icon = _a.icon,\n    mode = _a.mode,\n    _a$level = _a.level,\n    level = _a$level === void 0 ? 1 : _a$level,\n    disabled = _a.disabled,\n    children = _a.children,\n    collapsed = _a.collapsed,\n    keyValue = _a.keyValue,\n    selectedKey = _a.selectedKey,\n    setSelectedKeyPath = _a.setSelectedKeyPath,\n    subMenuMode = _a.subMenuMode,\n    inlineIndent = _a.inlineIndent,\n    className = _a.className,\n    handleOnClick = _a.handleOnClick,\n    _a$paddingLeft = _a.paddingLeft,\n    paddingLeft = _a$paddingLeft === void 0 ? 0 : _a$paddingLeft,\n    style = _a.style,\n    parentPath = _a.parentPath,\n    restProps = __rest(_a, [\"prefixCls\", \"icon\", \"mode\", \"level\", \"disabled\", \"children\", \"collapsed\", \"keyValue\", \"selectedKey\", \"setSelectedKeyPath\", \"subMenuMode\", \"inlineIndent\", \"className\", \"handleOnClick\", \"paddingLeft\", \"style\", \"parentPath\"]);\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(!keyValue && keyValue !== 0, 'menuitem', 'cannot found children in Menu.Item');\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'menu-item', customPrefixcls);\n  var menuItemRef = ref || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createRef();\n  var menuItemParentPath = Array.isArray(parentPath) ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = []).call(_context, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(parentPath), [keyValue]) : [keyValue];\n  var renderItemChildren = function renderItemChildren(children) {\n    if (typeof children === 'string') {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(\"span\", {\n        className: MENU_ITEM_CONTAINER_NAME\n      }, children);\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(\"div\", {\n      className: MENU_ITEM_CONTAINER_NAME\n    }, typeof children === 'function' ? children() : children);\n  };\n  var preventClick = function preventClick() {\n    return !!(disabled || mode === 'inline');\n  };\n  var handleOnMouseEnter = function handleOnMouseEnter(e) {\n    if (preventClick()) return;\n    restProps.onMouseEnter && restProps.onMouseEnter(e);\n  };\n  var handleOnMouseLeave = function handleOnMouseLeave(e) {\n    if (preventClick()) return;\n    restProps.onMouseLeave && restProps.onMouseLeave(e);\n  };\n  var handleOnClickItem = function handleOnClickItem(e) {\n    if (disabled) return;\n    e.stopPropagation();\n    var info = {\n      key: keyValue,\n      keyPath: menuItemParentPath,\n      domEvent: e.nativeEvent\n    };\n    handleOnClick(info);\n  };\n  var getPaddingLeft = function getPaddingLeft() {\n    if (icon || subMenuMode === 'horizontal') {\n      return 0;\n    }\n    if (level > 1 && mode !== 'inline') {\n      return _util__WEBPACK_IMPORTED_MODULE_10__.DEFAUTL_PADDING;\n    }\n    // if (level === 1 && icon) {\n    //   return 0\n    // }\n    // 无图标显示首个字符不需要paddingleft\n    if (!icon && collapsed && level === 1 && typeof children === 'string') {\n      return 0;\n    }\n    return inlineIndent + paddingLeft;\n  };\n  var mouseEvent = {\n    onClick: handleOnClickItem,\n    onMouseLeave: handleOnMouseLeave,\n    onMouseEnter: handleOnMouseEnter\n  };\n  var titleStyle = {\n    paddingLeft: \"\".concat(getPaddingLeft(), \"px\"),\n    paddingRight: mode !== 'inline' && level > 1 ? \"\".concat(_util__WEBPACK_IMPORTED_MODULE_10__.DEFAUTL_PADDING, \"px\") : 0\n  };\n  var renderTitle = function renderTitle() {\n    if (!icon && collapsed && level === 1 && typeof children === 'string') {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(\"p\", null, children.charAt(0));\n    }\n    return renderItemChildren(children);\n  };\n  react__WEBPACK_IMPORTED_MODULE_5__.useEffect(function () {\n    if (selectedKey && selectedKey === keyValue) {\n      setSelectedKeyPath(menuItemParentPath);\n    }\n  }, [selectedKey]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n    ref: menuItemRef,\n    className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, prefixCls, subMenuMode !== 'horizontal'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-collapsed\"), collapsed && level === 1), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-disabled\"), disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-active\"), selectedKey === keyValue), _classNames)),\n    role: \"menuitem\",\n    style: style,\n    key: keyValue\n  }, mouseEvent), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(prefixCls, \"-title\")),\n    style: titleStyle\n  }, icon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.cloneElement((0,_util__WEBPACK_IMPORTED_MODULE_10__.renderReactNodeFunction)(icon), {\n    className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(prefixCls, \"-icon\"))\n  }), renderTitle()));\n};\nvar MenuItem = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__.forwardRef(InternalMenuItem);\nMenuItem.displayName = 'MenuItem';\n/* harmony default export */ __webpack_exports__[\"default\"] = (MenuItem);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/menu/menuItem.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/menu/subMenu.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/menu/subMenu.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_react_children__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../_utils/react-children */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/react-children.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./util */ \"../../node_modules/@kdcloudjs/kdesign/es/menu/util.js\");\n/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../_utils/hooks */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _utils_usePopper__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../_utils/usePopper */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/usePopper.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var _menuItem__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./menuItem */ \"../../node_modules/@kdcloudjs/kdesign/es/menu/menuItem.js\");\n\n\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\n\n\n\nvar SubMenu = function SubMenu(props) {\n  var _classNames2, _classNames3, _context4;\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_7___default().useContext(_config_provider__WEBPACK_IMPORTED_MODULE_9__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    pkgPrefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  // 属性需要合并一遍用户定义的默认属性\n  var _a = (0,_utils__WEBPACK_IMPORTED_MODULE_10__.getCompProps)('MenuSubMenu', userDefaultProps, props),\n    customPrefixcls = _a.prefixCls,\n    theme = _a.theme,\n    mode = _a.mode,\n    title = _a.title,\n    icon = _a.icon,\n    disabled = _a.disabled,\n    children = _a.children,\n    collapsed = _a.collapsed,\n    keyValue = _a.keyValue,\n    selectedKey = _a.selectedKey,\n    selectedKeyPath = _a.selectedKeyPath,\n    setSelectedKeyPath = _a.setSelectedKeyPath,\n    openKeys = _a.openKeys,\n    triggerSubMenuAction = _a.triggerSubMenuAction,\n    forceSubMenuRender = _a.forceSubMenuRender,\n    inlineIndent = _a.inlineIndent,\n    className = _a.className,\n    style = _a.style,\n    handleOnOpenChange = _a.handleOnOpenChange,\n    _a$paddingLeft = _a.paddingLeft,\n    paddingLeft = _a$paddingLeft === void 0 ? 0 : _a$paddingLeft,\n    restProps = __rest(_a, [\"prefixCls\", \"theme\", \"mode\", \"title\", \"icon\", \"disabled\", \"children\", \"collapsed\", \"keyValue\", \"selectedKey\", \"selectedKeyPath\", \"setSelectedKeyPath\", \"openKeys\", \"triggerSubMenuAction\", \"forceSubMenuRender\", \"inlineIndent\", \"className\", \"style\", \"handleOnOpenChange\", \"paddingLeft\"]);\n  var isVertical = mode === 'vertical';\n  // 初始化level\n  if (!restProps.level) {\n    restProps.level = 1;\n  }\n  if (Array.isArray(restProps.parentPath)) {\n    var _context;\n    restProps.parentPath = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = []).call(_context, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(restProps.parentPath), [keyValue]);\n  } else {\n    restProps.parentPath = [keyValue];\n  }\n  if (mode === 'inline') {\n    restProps.subMenuMode = 'vertical';\n    restProps.popupOffset = [];\n  }\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(!children, 'submenu', 'cannot found children in Menu.SubMenu');\n  // className前缀\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'menu-submenu', customPrefixcls);\n  var subMenuRef = react__WEBPACK_IMPORTED_MODULE_7___default().useRef(null);\n  var subMenuWrapperRef = react__WEBPACK_IMPORTED_MODULE_7___default().useRef(null);\n  var subMenuVerticalRef = react__WEBPACK_IMPORTED_MODULE_7___default().useRef(null);\n  var subMenuWrapperVerticalRef = react__WEBPACK_IMPORTED_MODULE_7___default().useRef(null);\n  var visible = Array.isArray(openKeys) && _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default()(openKeys).call(openKeys, keyValue);\n  react__WEBPACK_IMPORTED_MODULE_7___default().useEffect(function () {\n    if (!visible || isVertical) return;\n    var subMenuWrapperEle = subMenuWrapperRef.current;\n    var subMenuEle = subMenuRef.current;\n    if (subMenuWrapperEle && (0,_util__WEBPACK_IMPORTED_MODULE_12__.isElementInViewport)(subMenuEle)) {\n      var position = subMenuWrapperEle.getBoundingClientRect();\n      var windowHeight = document.body.offsetHeight;\n      if (position.bottom > windowHeight) {\n        subMenuWrapperEle.style.transform = \"translate(0px,-\".concat(position.bottom - windowHeight, \"px)\");\n      }\n    }\n  });\n  var getPaddingRight = function getPaddingRight() {\n    if (collapsed && restProps.level === 1) {\n      return 0;\n    }\n    return _util__WEBPACK_IMPORTED_MODULE_12__.DEFAUTL_PADDING;\n  };\n  var getPaddingLeft = function getPaddingLeft() {\n    if (restProps.level > 1 && mode !== 'inline') {\n      return _util__WEBPACK_IMPORTED_MODULE_12__.DEFAUTL_PADDING;\n    }\n    if (restProps.level === 1 && icon) {\n      return 0;\n    }\n    // 无图标显示首个字符不需要paddingleft\n    if (!icon && collapsed && restProps.level === 1 && typeof title === 'string') {\n      return 0;\n    }\n    return inlineIndent + paddingLeft;\n  };\n  var curPaddingRight = getPaddingRight();\n  var curPaddingLeft = getPaddingLeft();\n  var getCurrentStyle = react__WEBPACK_IMPORTED_MODULE_7___default().useCallback(function () {\n    var _a;\n    // 内嵌模式height主要是用来动画的，必须要设置overflow溢出隐藏\n    if (mode === 'inline') {\n      var height = ((_a = subMenuWrapperRef.current) === null || _a === void 0 ? void 0 : _a.scrollHeight) || 0;\n      return {\n        height: visible && !collapsed ? \"\".concat(height, \"px\") : '0px',\n        overflow: 'hidden',\n        opacity: visible && !collapsed ? 1 : 0,\n        transition: 'all 0.2s cubic-bezier(0,.4,.4,1)'\n      };\n    }\n    var style = {\n      visibility: forceSubMenuRender && !visible ? 'visible' : 'hidden'\n    };\n    if (restProps.subMenuMode === 'horizontal') {\n      style.display = 'flex';\n    }\n    var _ref = subMenuRef.current || {\n        offsetTop: 0\n      },\n      offsetTop = _ref.offsetTop;\n    var popupOffsetPosition = restProps.popupOffset;\n    if (!Array.isArray(popupOffsetPosition) || popupOffsetPosition.length === 0) {\n      popupOffsetPosition = [0, 0];\n    }\n    if (popupOffsetPosition.length === 1) {\n      popupOffsetPosition = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(popupOffsetPosition).call(popupOffsetPosition, 0);\n    }\n    return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(style, {\n      position: 'absolute',\n      top: \"\".concat(offsetTop, \"px\"),\n      left: '100%',\n      paddingLeft: \"\".concat(popupOffsetPosition[0], \"px\"),\n      paddingTop: \"\".concat(popupOffsetPosition[1], \"px\")\n    });\n  }, [subMenuRef, restProps.popupOffset, forceSubMenuRender, visible, mode, restProps.subMenuMode]);\n  var handleVisibleChange = function handleVisibleChange(status) {\n    var clean = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n    handleOnOpenChange(keyValue, status, clean);\n  };\n  var closeSubMenu = function closeSubMenu() {\n    handleVisibleChange(false, true);\n  };\n  // 点击区域外的地方关闭\n  (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_13__.useOnClickOutside)([subMenuVerticalRef, subMenuWrapperVerticalRef], function (e) {\n    var _a;\n    var className = ((_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.className) || '';\n    if (!_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default()(className).call(className, _menuItem__WEBPACK_IMPORTED_MODULE_14__.MENU_ITEM_CONTAINER_NAME)) {\n      closeSubMenu();\n    }\n  });\n  var handleMouseEvent = function handleMouseEvent(status) {\n    if (disabled || triggerSubMenuAction === 'click') return;\n    handleVisibleChange(status);\n  };\n  var handleOnMouseEnter = function handleOnMouseEnter() {\n    handleMouseEvent(true);\n  };\n  var handleOnMouseLeave = function handleOnMouseLeave() {\n    handleMouseEvent(false);\n  };\n  var handleOnClick = function handleOnClick(info) {\n    if (triggerSubMenuAction === 'click' && isVertical) {\n      closeSubMenu();\n    }\n    restProps.handleOnClick && restProps.handleOnClick(info);\n  };\n  // 子菜单展开收缩\n  var handleOnClickSubMenu = function handleOnClickSubMenu() {\n    if (disabled || triggerSubMenuAction === 'hover') return;\n    handleVisibleChange(!visible);\n  };\n  var renderItemTitle = function renderItemTitle() {\n    if (!icon && collapsed && restProps.level === 1 && (0,_util__WEBPACK_IMPORTED_MODULE_12__.isString)(title)) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"p\", null, title.charAt(0));\n    }\n    if ((0,_util__WEBPACK_IMPORTED_MODULE_12__.isString)(title)) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"span\", null, title);\n    }\n    return (0,_util__WEBPACK_IMPORTED_MODULE_12__.renderReactNodeFunction)(title);\n  };\n  var renderItemArrow = function renderItemArrow() {\n    var _context2;\n    if (mode !== 'inline' || collapsed) return null;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_index__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n      type: \"arrow-down\",\n      className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(prefixCls, \"-arrow\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = \"\".concat(prefixCls, \"-arrow-\")).call(_context2, visible ? 'up' : 'down'), true))\n    });\n  };\n  if (restProps.subMenuMode === 'horizontal' && restProps.level > 1 && children) {\n    var _context3;\n    var width = (0,_util__WEBPACK_IMPORTED_MODULE_12__.getItemWidth)(children);\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(prefixCls, \"-thrid-item\")),\n      style: {\n        width: width\n      }\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(prefixCls, \"-thrid-title\"))\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"span\", null, title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"ul\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(prefixCls, \"-thrid-list\"), restProps.popupClassName)\n    }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(_context3 = (0,_utils_react_children__WEBPACK_IMPORTED_MODULE_16__.toArray)(children)).call(_context3, function (item, i) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().cloneElement(item, {\n        level: restProps.level + 1,\n        subMenuMode: restProps.subMenuMode,\n        keyValue: item && item.key || i,\n        collapsed: collapsed,\n        mode: mode,\n        selectedKey: selectedKey,\n        openKeys: openKeys,\n        forceSubMenuRender: forceSubMenuRender,\n        triggerSubMenuAction: triggerSubMenuAction,\n        handleOnOpenChange: handleOnOpenChange,\n        handleOnClick: handleOnClick\n      });\n    })));\n  }\n  var mouseEvent = {\n    onMouseLeave: handleOnMouseLeave,\n    onMouseEnter: handleOnMouseEnter,\n    onClick: handleOnClickSubMenu\n  };\n  var titleStyle = {\n    paddingRight: \"\".concat(curPaddingRight, \"px\"),\n    paddingLeft: \"\".concat(curPaddingLeft, \"px\")\n  };\n  // eslint-disable-next-line react-hooks/rules-of-hooks\n  var verticalView = (0,_utils_usePopper__WEBPACK_IMPORTED_MODULE_17__[\"default\"])( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n    className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(prefixCls, className, (_classNames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"light\", theme === 'light'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(prefixCls, \"-collapsed\"), collapsed), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(prefixCls, \"-disabled\"), disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(prefixCls, \"-hover\"), !disabled && Array.isArray(openKeys) && _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default()(openKeys).call(openKeys, keyValue)), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(prefixCls, \"-active\"), Array.isArray(selectedKeyPath) && _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default()(selectedKeyPath).call(selectedKeyPath, keyValue)), _classNames2)),\n    ref: subMenuVerticalRef,\n    key: keyValue\n  }, {\n    onMouseLeave: handleOnMouseLeave,\n    onMouseEnter: handleOnMouseEnter,\n    onClick: handleOnClickSubMenu\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(prefixCls, \"-title\")),\n    style: titleStyle\n  }, icon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().cloneElement((0,_util__WEBPACK_IMPORTED_MODULE_12__.renderReactNodeFunction)(icon), {\n    className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(prefixCls, \"-icon\"))\n  }), renderItemTitle(), renderItemArrow())), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    ref: subMenuWrapperVerticalRef,\n    onMouseLeave: function onMouseLeave() {\n      handleOnMouseLeave();\n    },\n    onMouseEnter: function onMouseEnter() {\n      handleOnMouseEnter();\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"ul\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(prefixCls, \"-sub\"), restProps.popupClassName, (_classNames3 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames3, \"\".concat(prefixCls, \"-sub-second\"), restProps.level === 1), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames3, \"\".concat(prefixCls, \"-sub-third\"), restProps.level === 2), _classNames3))\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(_context4 = (0,_utils_react_children__WEBPACK_IMPORTED_MODULE_16__.toArray)(children)).call(_context4, function (item, index) {\n    var key = item.key || index;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().cloneElement(item, {\n      key: key,\n      level: restProps.level + 1,\n      keyValue: key,\n      collapsed: collapsed,\n      mode: mode,\n      theme: theme,\n      selectedKey: selectedKey,\n      setSelectedKeyPath: setSelectedKeyPath,\n      openKeys: openKeys,\n      forceSubMenuRender: forceSubMenuRender,\n      triggerSubMenuAction: triggerSubMenuAction,\n      handleOnOpenChange: handleOnOpenChange,\n      handleOnClick: handleOnClick,\n      inlineIndent: inlineIndent,\n      paddingLeft: curPaddingLeft,\n      parentPath: restProps.parentPath\n    });\n  }))), {\n    arrow: false,\n    placement: 'rightTop',\n    gap: 0,\n    visible: isVertical && !disabled ? visible : false,\n    disabled: isVertical ? undefined : true,\n    prefixCls: 'kd-menu-popper',\n    popperClassName: theme === 'light' ? 'light' : ''\n  });\n  if (isVertical) {\n    return verticalView;\n  } else {\n    var _classNames4, _context5;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n      ref: subMenuRef,\n      className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(prefixCls, className, (_classNames4 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames4, \"\".concat(prefixCls, \"-collapsed\"), collapsed), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames4, \"\".concat(prefixCls, \"-disabled\"), disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames4, \"\".concat(prefixCls, \"-active\"), Array.isArray(selectedKeyPath) && _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default()(selectedKeyPath).call(selectedKeyPath, keyValue)), _classNames4)),\n      key: keyValue\n    }, mouseEvent, {\n      style: style\n    }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(prefixCls, \"-title\")),\n      style: titleStyle\n    }, icon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().cloneElement((0,_util__WEBPACK_IMPORTED_MODULE_12__.renderReactNodeFunction)(icon), {\n      className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(prefixCls, \"-icon\"))\n    }), renderItemTitle(), renderItemArrow()), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n      style: getCurrentStyle(),\n      ref: subMenuWrapperRef\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"ul\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(prefixCls, \"-sub\"), restProps.popupClassName)\n    }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(_context5 = (0,_utils_react_children__WEBPACK_IMPORTED_MODULE_16__.toArray)(children)).call(_context5, function (item, index) {\n      var key = item.key || index;\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().cloneElement(item, {\n        key: key,\n        level: restProps.level + 1,\n        keyValue: key,\n        collapsed: collapsed,\n        mode: mode,\n        selectedKey: selectedKey,\n        setSelectedKeyPath: setSelectedKeyPath,\n        openKeys: openKeys,\n        forceSubMenuRender: forceSubMenuRender,\n        triggerSubMenuAction: triggerSubMenuAction,\n        handleOnOpenChange: handleOnOpenChange,\n        handleOnClick: handleOnClick,\n        inlineIndent: inlineIndent,\n        paddingLeft: curPaddingLeft,\n        parentPath: restProps.parentPath\n      });\n    }))));\n  }\n};\nSubMenu.displayName = 'SubMenu';\n/* harmony default export */ __webpack_exports__[\"default\"] = (SubMenu);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/menu/subMenu.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/menu/util.js":
/*!*************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/menu/util.js ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   DEFAUTL_PADDING: function() { return /* binding */ DEFAUTL_PADDING; },\n/* harmony export */   getColumnWidthList: function() { return /* binding */ getColumnWidthList; },\n/* harmony export */   getItemWidth: function() { return /* binding */ getItemWidth; },\n/* harmony export */   getWrapWidth: function() { return /* binding */ getWrapWidth; },\n/* harmony export */   isElementInViewport: function() { return /* binding */ isElementInViewport; },\n/* harmony export */   isNumber: function() { return /* binding */ isNumber; },\n/* harmony export */   isString: function() { return /* binding */ isString; },\n/* harmony export */   renderReactNodeFunction: function() { return /* binding */ renderReactNodeFunction; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var lodash_isArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/isArray */ \"../../node_modules/lodash/isArray.js\");\n/* harmony import */ var lodash_isArray__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_isArray__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _utils_react_children__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_utils/react-children */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/react-children.js\");\n\n\n\nvar DEFAULT_ITEM_WIDTH = 160;\nvar DEFAULT_MAX_WIDTH = 800;\nvar DEFAULT_MARGIN_WIDTH = 40;\nvar DEFAULT_ITEM_NUM = 5;\nvar isString = function isString(value) {\n  return typeof value === 'string';\n};\nvar isNumber = function isNumber(value) {\n  return typeof value === 'number';\n};\nvar getColumnWidthList = function getColumnWidthList(nodeList) {\n  var _context;\n  if (!nodeList) return [];\n  var columnWidthList = [];\n  _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0___default()(_context = (0,_utils_react_children__WEBPACK_IMPORTED_MODULE_2__.toArray)(nodeList)).call(_context, function (item) {\n    if (!item || isString(item) || isNumber(item)) return item;\n    var width = getItemWidth(item.props.children);\n    columnWidthList.push(width);\n    return item;\n  });\n  return columnWidthList;\n};\n// 计算外层面板的总宽度 DEFAULT_MAX_WIDTH: 824px, 最多四列（790px），\n// 每列160px+40px\n// 其中160px是width,40px是marginRight\nvar getWrapWidth = function getWrapWidth(nodelist) {\n  var wrapWidth = 0;\n  var totalWidth = 0;\n  var columnWidthList = getColumnWidthList(nodelist);\n  _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0___default()(columnWidthList).call(columnWidthList, function (width) {\n    totalWidth += width + DEFAULT_MARGIN_WIDTH;\n    if (totalWidth < DEFAULT_MAX_WIDTH) {\n      wrapWidth = totalWidth;\n    } else {\n      wrapWidth = DEFAULT_MAX_WIDTH;\n    }\n    return width;\n  });\n  return wrapWidth + 10;\n};\n// 计算子项的宽度\nvar getItemWidth = function getItemWidth(children) {\n  if (!lodash_isArray__WEBPACK_IMPORTED_MODULE_1___default()(children)) {\n    return DEFAULT_ITEM_WIDTH;\n  }\n  if (!children || children.length <= DEFAULT_ITEM_NUM) {\n    return DEFAULT_ITEM_WIDTH;\n  } else {\n    var width = (DEFAULT_ITEM_WIDTH + DEFAULT_MARGIN_WIDTH) * Math.ceil(children.length / DEFAULT_ITEM_NUM) - DEFAULT_MARGIN_WIDTH;\n    return width > DEFAULT_MAX_WIDTH ? DEFAULT_MAX_WIDTH : width;\n  }\n};\nvar renderReactNodeFunction = function renderReactNodeFunction(reactNode) {\n  if (typeof reactNode === 'function') {\n    return reactNode();\n  }\n  return reactNode;\n};\nvar isElementInViewport = function isElementInViewport(el) {\n  var rect = el.getBoundingClientRect();\n  return rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && rect.right <= (window.innerWidth || document.documentElement.clientWidth);\n};\nvar DEFAUTL_PADDING = 15;\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/menu/util.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/message/content.js":
/*!*******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/message/content.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n\n\n\n\nvar Content = function Content(args) {\n  var _context;\n  var icon = args.icon,\n    content = args.content,\n    closable = args.closable,\n    suffixCls = args.suffixCls,\n    type = args.type,\n    contentClose = args.contentClose,\n    closeNode = args.closeNode;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(_config_provider__WEBPACK_IMPORTED_MODULE_2__[\"default\"]),\n    prefixCls = _useContext.prefixCls;\n  var classPrefix = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context = \"\".concat(prefixCls, \"-\")).call(_context, suffixCls, \"-content\");\n  var iconMap = {\n    success: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n      type: \"right-solid\"\n    }),\n    warning: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n      type: \"warning-solid\"\n    }),\n    error: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n      type: \"warning-solid\"\n    }),\n    info: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n      type: \"notice\"\n    })\n  };\n  var renderIcon = function renderIcon() {\n    if (icon) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n      className: \"\".concat(classPrefix, \"-icon-wrapper\")\n    }, icon);\n    return iconMap[type] ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n      className: \"\".concat(classPrefix, \"-icon-wrapper\")\n    }, iconMap[type]) : null;\n  };\n  var handleClick = function handleClick(e) {\n    if (e) {\n      e.stopPropagation();\n    }\n    contentClose && contentClose();\n  };\n  var renderCloseIcon = function renderCloseIcon() {\n    if (!closable) return null;\n    if (closeNode) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n        className: \"\".concat(classPrefix, \"-close\"),\n        onClick: handleClick\n      }, closeNode);\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n      className: \"\".concat(classPrefix, \"-close\"),\n      onClick: handleClick\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n      type: \"close\"\n    }));\n  };\n  var getMainElement = function getMainElement() {\n    if (typeof content === 'string' || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().isValidElement(content)) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n        className: \"\".concat(classPrefix, \"-main\")\n      }, renderIcon(), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n        className: \"\".concat(classPrefix, \"-text\")\n      }, content)), renderCloseIcon());\n    }\n    return null;\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, getMainElement());\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Content);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/message/content.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/message/index.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/message/index.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _notification_base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../notification-base */ \"../../node_modules/@kdcloudjs/kdesign/es/notification-base/index.js\");\n/* harmony import */ var _content__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./content */ \"../../node_modules/@kdcloudjs/kdesign/es/message/content.js\");\n\n\n\n\nvar defaultStyle = {};\nvar defaultDuration = 3000;\nvar defaultClosable = false;\nvar defaultOffset = '40px';\nvar defaultSuffixCls = 'message';\nvar defaultPlacement = 'message';\nvar defaultType = 'info';\nvar messageKey = 1;\nvar messageElement = null;\nfunction isArgsProps(content) {\n  return Object.prototype.toString.call(content) === '[object Object]' && !!content.content;\n}\nvar getNotificationProps = function getNotificationProps(args) {\n  var _args$duration = args.duration,\n    duration = _args$duration === void 0 ? defaultDuration : _args$duration,\n    key = args.key,\n    className = args.className,\n    _args$style = args.style,\n    style = _args$style === void 0 ? defaultStyle : _args$style,\n    _args$type = args.type,\n    type = _args$type === void 0 ? defaultType : _args$type,\n    onClose = args.onClose,\n    _args$closable = args.closable,\n    closable = _args$closable === void 0 ? defaultClosable : _args$closable,\n    content = args.content,\n    icon = args.icon,\n    closeNode = args.closeNode;\n  // const placeStyle = getPlacementStyle(placement)\n  // const element = renderView(args)\n  var contentClose = function contentClose() {\n    onClose && onClose(key);\n    _notification_base__WEBPACK_IMPORTED_MODULE_2__[\"default\"].destroy(key);\n  };\n  var contentProps = {\n    type: type,\n    icon: icon,\n    closeNode: closeNode,\n    content: content,\n    closable: closable,\n    suffixCls: defaultSuffixCls,\n    contentClose: contentClose\n  };\n  return {\n    duration: duration,\n    key: key,\n    className: className,\n    style: style,\n    type: type,\n    closable: closable,\n    onClose: onClose,\n    placement: defaultPlacement,\n    content: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_content__WEBPACK_IMPORTED_MODULE_3__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, contentProps)),\n    suffixCls: defaultSuffixCls\n  };\n};\nvar getNotificationHTMLElement = function getNotificationHTMLElement() {\n  var prefixCls = 'kd';\n  var suffix = \"\".concat(prefixCls, \"-message\");\n  var htmlElement = document.querySelector(\"#\".concat(suffix));\n  if (!htmlElement) {\n    htmlElement = document.createElement('div');\n    htmlElement.id = suffix;\n    htmlElement.className = \"\".concat(suffix, \"-box\");\n    htmlElement.style.top = defaultOffset;\n    document.body.appendChild(htmlElement);\n  }\n  return htmlElement;\n};\nvar notice = function notice(args) {\n  var key = args.key || messageKey++;\n  var props = getNotificationProps((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, args), {\n    key: key\n  }));\n  var el;\n  if (messageElement) {\n    el = messageElement;\n  } else {\n    el = getNotificationHTMLElement();\n  }\n  _notification_base__WEBPACK_IMPORTED_MODULE_2__[\"default\"].add(props, el);\n};\nvar Message = {\n  open: notice,\n  destroy: function destroy(key) {\n    _notification_base__WEBPACK_IMPORTED_MODULE_2__[\"default\"].destroy(key);\n  }\n};\n['success', 'warning', 'error', 'info'].forEach(function (type) {\n  Message[type] = function (content, duration, onClose) {\n    if (isArgsProps(content)) {\n      return Message.open((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, content), {\n        type: type\n      }));\n    }\n    if (typeof duration === 'function') {\n      onClose = duration;\n      duration = undefined;\n    }\n    return Message.open({\n      content: content,\n      duration: duration,\n      type: type,\n      onClose: onClose\n    });\n  };\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (Message);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/message/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/modal/confirm.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/modal/confirm.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ confirm; },\n/* harmony export */   withConfirm: function() { return /* binding */ withConfirm; },\n/* harmony export */   withError: function() { return /* binding */ withError; },\n/* harmony export */   withWarning: function() { return /* binding */ withWarning; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?fcc5\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _modal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./modal */ \"../../node_modules/@kdcloudjs/kdesign/es/modal/modal.js\");\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\nfunction confirm(_a) {\n  var getContainer = _a.getContainer,\n    visible = _a.visible,\n    restProps = __rest(_a, [\"getContainer\", \"visible\"]);\n  var div = document.createElement('div');\n  document.body.appendChild(div);\n  function render(props) {\n    setTimeout(function () {\n      react_dom__WEBPACK_IMPORTED_MODULE_3___default().render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_modal__WEBPACK_IMPORTED_MODULE_4__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, props)), div);\n    });\n  }\n  render(restProps);\n}\nfunction withWarning(props) {\n  return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    showline: false\n  }, props), {\n    type: 'warning'\n  });\n}\nfunction withError(props) {\n  return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    showline: false\n  }, props), {\n    type: 'error'\n  });\n}\nfunction withConfirm(props) {\n  return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    showline: false\n  }, props), {\n    type: 'confirm'\n  });\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/modal/confirm.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/modal/index.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/modal/index.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ConfirmModalTypes: function() { return /* reexport safe */ _modal__WEBPACK_IMPORTED_MODULE_0__.ConfirmModalTypes; },\n/* harmony export */   ModalTypes: function() { return /* reexport safe */ _modal__WEBPACK_IMPORTED_MODULE_0__.ModalTypes; }\n/* harmony export */ });\n/* harmony import */ var _modal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./modal */ \"../../node_modules/@kdcloudjs/kdesign/es/modal/modal.js\");\n/* harmony import */ var _confirm__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./confirm */ \"../../node_modules/@kdcloudjs/kdesign/es/modal/confirm.js\");\n\n\n\nvar Modal = _modal__WEBPACK_IMPORTED_MODULE_0__[\"default\"];\nModal.warning = function infoFn(props) {\n  return (0,_confirm__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_confirm__WEBPACK_IMPORTED_MODULE_1__.withWarning)(props));\n};\nModal.error = function infoFn(props) {\n  return (0,_confirm__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_confirm__WEBPACK_IMPORTED_MODULE_1__.withError)(props));\n};\nModal.confirm = function infoFn(props) {\n  return (0,_confirm__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_confirm__WEBPACK_IMPORTED_MODULE_1__.withConfirm)(props));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Modal);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/modal/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/modal/modal.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/modal/modal.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ConfirmModalTypes: function() { return /* binding */ ConfirmModalTypes; },\n/* harmony export */   ModalTypes: function() { return /* binding */ ModalTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _button_button__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../button/button */ \"../../node_modules/@kdcloudjs/kdesign/es/button/button.js\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?fcc5\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var react_draggable__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react-draggable */ \"../../node_modules/react-draggable/build/cjs/cjs.js\");\n/* harmony import */ var react_draggable__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(react_draggable__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _locale_locale__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../locale/locale */ \"../../node_modules/@kdcloudjs/kdesign/es/locale/locale.js\");\n/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../_utils/hooks */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js\");\n/* harmony import */ var _utils_ieUtil__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../_utils/ieUtil */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/ieUtil.js\");\n\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar ConfirmModalTypes = ['confirm', 'normal'];\nvar ModalTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_10__.tuple)('confirm', 'warning', 'error', 'normal');\nvar DragDirection;\n(function (DragDirection) {\n  DragDirection[\"N\"] = \"n\";\n  DragDirection[\"E\"] = \"e\";\n  DragDirection[\"S\"] = \"s\";\n  DragDirection[\"W\"] = \"w\";\n  DragDirection[\"NE\"] = \"ne\";\n  DragDirection[\"NW\"] = \"nw\";\n  DragDirection[\"SE\"] = \"se\";\n  DragDirection[\"SW\"] = \"sw\";\n})(DragDirection || (DragDirection = {}));\nvar initPosition = {\n  initialX: 0,\n  initialY: 0,\n  initialWidth: 0,\n  initialHeight: 0,\n  top: 0,\n  left: 0,\n  x: 0,\n  y: 0,\n  type: null\n};\nvar InternalModal = function InternalModal(props, ref) {\n  var _classNames3, _classNames4, _context2, _context3, _context4, _context5, _context6, _context7, _context8, _context9, _context10, _context11, _context12;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_6__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_11__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var modalProps = (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getCompProps)('Modal', userDefaultProps, props); // 属性需要合并一遍用户定义的默认属性\n  var body = modalProps.body,\n    bodyClassName = modalProps.bodyClassName,\n    bodyStyle = modalProps.bodyStyle,\n    cancelButtonProps = modalProps.cancelButtonProps,\n    cancelText = modalProps.cancelText,\n    className = modalProps.className,\n    closable = modalProps.closable,\n    closeIcon = modalProps.closeIcon,\n    destroyOnClose = modalProps.destroyOnClose,\n    draggable = modalProps.draggable,\n    focusTriggerAfterClose = modalProps.focusTriggerAfterClose,\n    footer = modalProps.footer,\n    footerClassName = modalProps.footerClassName,\n    footerStyle = modalProps.footerStyle,\n    footerBtnOrder = modalProps.footerBtnOrder,\n    getContainer = modalProps.getContainer,\n    height = modalProps.height,\n    keyboard = modalProps.keyboard,\n    mask = modalProps.mask,\n    maskClosable = modalProps.maskClosable,\n    maskStyle = modalProps.maskStyle,\n    maskClassName = modalProps.maskClassName,\n    okButtonProps = modalProps.okButtonProps,\n    okText = modalProps.okText,\n    onCancel = modalProps.onCancel,\n    onOk = modalProps.onOk,\n    customPrefixcls = modalProps.prefixCls,\n    title = modalProps.title,\n    titleIcon = modalProps.titleIcon,\n    type = modalProps.type,\n    visible = modalProps.visible,\n    width = modalProps.width,\n    showline = modalProps.showline,\n    onDragStart = modalProps.onDragStart,\n    onDrag = modalProps.onDrag,\n    onDragStop = modalProps.onDragStop,\n    bounds = modalProps.bounds,\n    overroll = modalProps.overroll,\n    resizable = modalProps.resizable,\n    others = __rest(modalProps, [\"body\", \"bodyClassName\", \"bodyStyle\", \"cancelButtonProps\", \"cancelText\", \"className\", \"closable\", \"closeIcon\", \"destroyOnClose\", \"draggable\", \"focusTriggerAfterClose\", \"footer\", \"footerClassName\", \"footerStyle\", \"footerBtnOrder\", \"getContainer\", \"height\", \"keyboard\", \"mask\", \"maskClosable\", \"maskStyle\", \"maskClassName\", \"okButtonProps\", \"okText\", \"onCancel\", \"onOk\", \"prefixCls\", \"title\", \"titleIcon\", \"type\", \"visible\", \"width\", \"showline\", \"onDragStart\", \"onDrag\", \"onDragStop\", \"bounds\", \"overroll\", \"resizable\"]);\n  var isForceController = visible !== undefined;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(isForceController ? visible : true),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    innerVisible = _useState2[0],\n    setInnerVisible = _useState2[1]; // 需要根据visible来判断，不能一开始为true再去设置false\n  var previousActiveElement = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null);\n  var innerRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null);\n  var wrapperRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null);\n  var containerRef = ref || innerRef;\n  var modalPrefixCls = getPrefixCls(prefixCls, 'modal', customPrefixcls);\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(ModalTypes.indexOf(type) === -1, 'modal', \"cannot found modal type '\".concat(type, \"'\"));\n  var modalContainer = typeof getContainer === 'function' ? getContainer() : getContainer;\n  if (modalContainer !== false && !(modalContainer instanceof HTMLElement)) {\n    try {\n      modalContainer = document.querySelector(modalContainer);\n    } catch (error) {\n      (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(true, 'modal', 'getContainer\"s returnValue/value is not a correct CSSSelector');\n    }\n    modalContainer = document.body;\n  }\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(modalContainer && !overroll ? {\n      x: -(width / 2),\n      y: -(height / 2)\n    } : {\n      x: 0,\n      y: 0\n    }),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState3, 2),\n    position = _useState4[0],\n    setPosition = _useState4[1];\n  (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_14__.useHideDocumentScrollBar)(isForceController ? !!visible : !!innerVisible, modalContainer === document.body, !!mask);\n  var closeModal = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(function () {\n    setInnerVisible(false);\n  }, []);\n  var proxyCloseModal = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(function (onDoingAction, event) {\n    onDoingAction && onDoingAction(event);\n    if (isForceController) {\n      return;\n    }\n    closeModal();\n  }, [isForceController, closeModal]);\n  var escapeToCloseModal = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(function (evt) {\n    var _context;\n    // In Internet Explorer 9 and Firefox 36 and earlier, the Esc key returns \"Esc\" instead of \"Escape\"\n    var isModalVisible = destroyOnClose || (isForceController ? visible : innerVisible);\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4___default()(_context = ['Escape', 'Esc']).call(_context, evt.key) && isModalVisible) {\n      evt.preventDefault();\n      proxyCloseModal(onCancel);\n    }\n  }, [proxyCloseModal, onCancel]);\n  var enterToCloseModal = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(function (evt) {\n    if (evt.key === 'Enter' && evt.target === containerRef.current) {\n      proxyCloseModal(onOk);\n      // 无效\n      // evt.stopPropagation()\n    }\n  }, [proxyCloseModal, onOk]);\n  var isConfirmType = _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4___default()(ConfirmModalTypes).call(ConfirmModalTypes, type);\n  var isNormalBtn = !footerBtnOrder || footerBtnOrder === 'normal';\n  var finalCancelButtonProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n    onClick: (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(function (event) {\n      proxyCloseModal(onCancel, event);\n    }, [onCancel, proxyCloseModal]),\n    type: 'second',\n    className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(modalPrefixCls, \"-cancel-btn\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(modalPrefixCls, \"-margin-btn\"), isConfirmType && isNormalBtn))\n  }, cancelButtonProps);\n  var finalOkButtonProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n    onClick: (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(function (event) {\n      proxyCloseModal(onOk, event);\n    }, [onOk, proxyCloseModal]),\n    type: _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4___default()(ConfirmModalTypes).call(ConfirmModalTypes, type) ? 'primary' : 'second',\n    className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(modalPrefixCls, \"-ok-btn\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(modalPrefixCls, \"-margin-btn\"), isConfirmType && !isNormalBtn))\n  }, okButtonProps);\n  var generatorFooterByType = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(function () {\n    var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'confirm';\n    switch (type) {\n      case 'error':\n      case 'warning':\n        {\n          return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n            className: \"\".concat(modalPrefixCls, \"-iknow-node\")\n          }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_button_button__WEBPACK_IMPORTED_MODULE_15__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, finalOkButtonProps), okText || (0,_locale_locale__WEBPACK_IMPORTED_MODULE_16__.getLangMsg)('Modal', 'iknowText')));\n        }\n      case 'confirm':\n      case 'normal':\n      default:\n        {\n          return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement((react__WEBPACK_IMPORTED_MODULE_6___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n            className: \"\".concat(modalPrefixCls, \"-cancel-node\")\n          }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_button_button__WEBPACK_IMPORTED_MODULE_15__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, finalCancelButtonProps), cancelText || (0,_locale_locale__WEBPACK_IMPORTED_MODULE_16__.getLangMsg)('Modal', 'cancelText'))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n            className: \"\".concat(modalPrefixCls, \"-ok-node\")\n          }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_button_button__WEBPACK_IMPORTED_MODULE_15__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, finalOkButtonProps), okText || (0,_locale_locale__WEBPACK_IMPORTED_MODULE_16__.getLangMsg)('Modal', 'okText'))));\n        }\n    }\n  }, [modalPrefixCls, okText, cancelText, finalCancelButtonProps, finalOkButtonProps]);\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () {\n    if (isForceController) {\n      // 强控制下只有下面该条件成立获取焦点\n      if (focusTriggerAfterClose && visible === true) {\n        !previousActiveElement.current && (previousActiveElement.current = document.activeElement);\n      }\n    } else {\n      // 不控制时, 只有下面该条件成立获取焦点\n      focusTriggerAfterClose && !previousActiveElement.current && (previousActiveElement.current = document.activeElement);\n    }\n    return function () {\n      if (focusTriggerAfterClose && previousActiveElement.current) {\n        // 这里可能有种情况，如果回车触发弹窗，由于回车又可以关闭弹窗，会导致连续触发回车\n        ;\n        previousActiveElement.current.focus();\n        previousActiveElement.current = null;\n      }\n    };\n  }, [focusTriggerAfterClose, visible, isForceController]);\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () {\n    if (keyboard) {\n      document.body.addEventListener('keydown', escapeToCloseModal);\n    }\n    return function () {\n      document.body.removeEventListener('keydown', escapeToCloseModal);\n    };\n  }, [keyboard, escapeToCloseModal, proxyCloseModal, onCancel]);\n  var isResizing = false;\n  var initPositionRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(initPosition);\n  var startResize = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(function (event) {\n    var targetElement = event.target;\n    if (!targetElement.classList.contains(\"\".concat(modalPrefixCls, \"-resise-handle\")) || !containerRef.current) {\n      return;\n    }\n    var _containerRef$current = containerRef.current.getBoundingClientRect(),\n      initialWidth = _containerRef$current.width,\n      initialHeight = _containerRef$current.height,\n      top = _containerRef$current.top,\n      left = _containerRef$current.left;\n    initPositionRef.current = {\n      initialX: event.clientX,\n      initialY: event.clientY,\n      initialWidth: initialWidth,\n      initialHeight: initialHeight,\n      top: top,\n      left: left,\n      x: position.x,\n      y: position.y,\n      type: targetElement.dataset.type\n    };\n    event.preventDefault();\n    isResizing = true;\n    if (overroll && wrapperRef.current) {\n      wrapperRef.current.classList.add(\"\".concat(modalPrefixCls, \"-wrapper-resizable\"));\n      setPosition({\n        x: left,\n        y: top\n      });\n      initPositionRef.current.x = left;\n      initPositionRef.current.y = top;\n    }\n    document.addEventListener('mousemove', resize);\n    document.addEventListener('mouseup', stopResize);\n  }, [position]);\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () {\n    if (containerRef.current && visible) {\n      containerRef.current.addEventListener('mousedown', startResize);\n    }\n    return function () {\n      if (containerRef.current) {\n        containerRef.current.removeEventListener('mousedown', startResize);\n      }\n    };\n  }, [containerRef, startResize, visible]);\n  var resize = function resize(event) {\n    if (!containerRef.current) return;\n    if (!isResizing || !containerRef.current) return;\n    var _initPositionRef$curr = initPositionRef.current,\n      initialX = _initPositionRef$curr.initialX,\n      initialY = _initPositionRef$curr.initialY,\n      initialHeight = _initPositionRef$curr.initialHeight,\n      initialWidth = _initPositionRef$curr.initialWidth,\n      y = _initPositionRef$curr.y,\n      x = _initPositionRef$curr.x,\n      type = _initPositionRef$curr.type;\n    var curNHeight = initialY - event.clientY;\n    var curSHeight = -curNHeight;\n    var curEWidth = event.clientX - initialX;\n    var curWWidth = -curEWidth;\n    switch (type) {\n      case DragDirection.N:\n        {\n          containerRef.current.style.height = \"\".concat(curNHeight + initialHeight, \"px\");\n          setPosition(function (pre) {\n            return {\n              y: y - curNHeight,\n              x: pre.x\n            };\n          });\n          break;\n        }\n      case DragDirection.E:\n        {\n          containerRef.current.style.width = \"\".concat(curEWidth + initialWidth, \"px\");\n          break;\n        }\n      case DragDirection.S:\n        {\n          containerRef.current.style.height = \"\".concat(curSHeight + initialHeight, \"px\");\n          break;\n        }\n      case DragDirection.W:\n        {\n          containerRef.current.style.width = \"\".concat(curWWidth + initialWidth, \"px\");\n          setPosition(function (pre) {\n            return {\n              y: pre.y,\n              x: x - curWWidth\n            };\n          });\n          break;\n        }\n      case DragDirection.NE:\n        {\n          containerRef.current.style.height = \"\".concat(curNHeight + initialHeight, \"px\");\n          containerRef.current.style.width = \"\".concat(curEWidth + initialWidth, \"px\");\n          setPosition(function (pre) {\n            return {\n              y: y - curNHeight,\n              x: pre.x\n            };\n          });\n          break;\n        }\n      case DragDirection.NW:\n        {\n          containerRef.current.style.height = \"\".concat(curNHeight + initialHeight, \"px\");\n          containerRef.current.style.width = \"\".concat(curWWidth + initialWidth, \"px\");\n          setPosition({\n            y: y - curNHeight,\n            x: x - curWWidth\n          });\n          break;\n        }\n      case DragDirection.SE:\n        {\n          containerRef.current.style.height = \"\".concat(curSHeight + initialHeight, \"px\");\n          containerRef.current.style.width = \"\".concat(curEWidth + initialWidth, \"px\");\n          break;\n        }\n      case DragDirection.SW:\n        {\n          containerRef.current.style.width = \"\".concat(curWWidth + initialWidth, \"px\");\n          containerRef.current.style.height = \"\".concat(curSHeight + initialHeight, \"px\");\n          setPosition(function (pre) {\n            return {\n              y: pre.y,\n              x: x - curWWidth\n            };\n          });\n          break;\n        }\n      default:\n        {\n          break;\n        }\n    }\n  };\n  var stopResize = function stopResize() {\n    isResizing = false;\n    initPositionRef.current = initPosition;\n    document.removeEventListener('mousemove', resize);\n    document.removeEventListener('mouseup', stopResize);\n  };\n  var handleMaskClick = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(function () {\n    if (maskClosable) {\n      proxyCloseModal(onCancel);\n    }\n  }, [proxyCloseModal, onCancel, maskClosable]);\n  var handleWrapperClick = function handleWrapperClick(e) {\n    if (wrapperRef.current === e.target) {\n      handleMaskClick();\n    }\n  };\n  var isHidden = !destroyOnClose && !(isForceController ? visible : innerVisible);\n  var modalClasses = classnames__WEBPACK_IMPORTED_MODULE_8___default()(modalPrefixCls, className, (_classNames3 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames3, \"\".concat(modalPrefixCls, \"-container\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames3, \"\".concat(modalPrefixCls, \"-container-ie\"), _utils_ieUtil__WEBPACK_IMPORTED_MODULE_17__.isIE), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames3, \"\".concat(modalPrefixCls, \"-container-hidden\"), isHidden), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames3, \"\".concat(modalPrefixCls, \"-container-show\"), !isHidden), _classNames3));\n  var headerClass = \"\".concat(modalPrefixCls, \"-header\");\n  var container = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_8___default()((_classNames4 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames4, \"\".concat(modalPrefixCls, \"-container-box\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames4, \"\".concat(modalPrefixCls, \"-has-container-box\"), modalContainer && !overroll), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames4, \"\".concat(modalPrefixCls, \"-showline\"), showline), _classNames4)),\n    style: {\n      width: width,\n      height: height\n    },\n    ref: containerRef,\n    tabIndex: -1,\n    onKeyDown: enterToCloseModal\n  }, resizable && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement((react__WEBPACK_IMPORTED_MODULE_6___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    \"data-type\": \"n\",\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context2 = \"\".concat(modalPrefixCls, \"-resise-handle \")).call(_context2, modalPrefixCls, \"-resise-n\")\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    \"data-type\": \"e\",\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context3 = \"\".concat(modalPrefixCls, \"-resise-handle \")).call(_context3, modalPrefixCls, \"-resise-e\")\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    \"data-type\": \"s\",\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context4 = \"\".concat(modalPrefixCls, \"-resise-handle \")).call(_context4, modalPrefixCls, \"-resise-s\")\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    \"data-type\": \"w\",\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context5 = \"\".concat(modalPrefixCls, \"-resise-handle \")).call(_context5, modalPrefixCls, \"-resise-w\")\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    \"data-type\": \"ne\",\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context6 = \"\".concat(modalPrefixCls, \"-resise-handle \")).call(_context6, modalPrefixCls, \"-resise-ne\")\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    \"data-type\": \"se\",\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context7 = \"\".concat(modalPrefixCls, \"-resise-handle \")).call(_context7, modalPrefixCls, \"-resise-se\")\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    \"data-type\": \"sw\",\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context8 = \"\".concat(modalPrefixCls, \"-resise-handle \")).call(_context8, modalPrefixCls, \"-resise-sw\")\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    \"data-type\": \"nw\",\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context9 = \"\".concat(modalPrefixCls, \"-resise-handle \")).call(_context9, modalPrefixCls, \"-resise-nw\")\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: headerClass\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(modalPrefixCls, \"-title-container\")\n  }, titleIcon !== undefined ? titleIcon : type !== 'normal' && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(modalPrefixCls, \"-title-icon\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"modal-\".concat(type, \"-title-icon-bgcolor\"), type))\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(modalPrefixCls, \"-title\")\n  }, title)), closable && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(modalPrefixCls, \"-close-icon\"),\n    onClick: function onClick() {\n      return proxyCloseModal(onCancel);\n    }\n  }, closeIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_index__WEBPACK_IMPORTED_MODULE_18__[\"default\"], {\n    type: \"close\"\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(modalPrefixCls, \"-body\"), bodyClassName),\n    style: bodyStyle\n  }, body), footer !== null && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(modalPrefixCls, \"-footer\"), _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context10 = \"\".concat(modalPrefixCls, \"-\")).call(_context10, type, \"-footer\"), footerClassName),\n    style: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n      flexDirection: !footer && (!footerBtnOrder || footerBtnOrder === 'normal') ? 'row' : 'row-reverse'\n    }, footerStyle || {})\n  }, footer || generatorFooterByType(type)));\n  // 没有容器应该是不用居中的\n  // 但仍可拖拽\n  var handleDragStart = function handleDragStart(e, data) {\n    onDragStart === null || onDragStart === void 0 ? void 0 : onDragStart(e, data);\n  };\n  var handleDrag = function handleDrag(e, ui) {\n    setPosition({\n      x: ui.x,\n      y: ui.y\n    });\n    onDrag === null || onDrag === void 0 ? void 0 : onDrag(e, ui);\n  };\n  var comp = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n    className: modalClasses\n  }, others), mask && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    onClick: handleMaskClick,\n    className: classnames__WEBPACK_IMPORTED_MODULE_8___default()(maskClassName, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(modalPrefixCls, \"-mask\"), true)),\n    style: maskStyle\n  }), overroll ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    tabIndex: -1,\n    className: classnames__WEBPACK_IMPORTED_MODULE_8___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(modalPrefixCls, \"-wrapper\"), modalContainer && ((isForceController ? visible : innerVisible) || !destroyOnClose))),\n    ref: wrapperRef,\n    onMouseDown: handleWrapperClick\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(modalPrefixCls, \"-dialog\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement((react_draggable__WEBPACK_IMPORTED_MODULE_9___default()), {\n    position: position,\n    handle: \".\".concat(headerClass),\n    disabled: !draggable,\n    onStart: handleDragStart,\n    onDrag: handleDrag,\n    onStop: onDragStop,\n    bounds: bounds,\n    cancel: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context11 = \".\".concat(modalPrefixCls, \"-title-container, .\")).call(_context11, modalPrefixCls, \"-close-icon\")\n  }, container))) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement((react_draggable__WEBPACK_IMPORTED_MODULE_9___default()), {\n    handle: \".\".concat(headerClass),\n    disabled: !draggable,\n    position: position,\n    onStart: handleDragStart,\n    onDrag: handleDrag,\n    onStop: onDragStop,\n    bounds: bounds,\n    cancel: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context12 = \".\".concat(modalPrefixCls, \"-title-container, .\")).call(_context12, modalPrefixCls, \"-close-icon\")\n  }, container));\n  var renderComp = ((isForceController ? visible : innerVisible) || !destroyOnClose) && comp;\n  if (modalContainer && renderComp) return /*#__PURE__*/react_dom__WEBPACK_IMPORTED_MODULE_7___default().createPortal(renderComp, modalContainer);\n  return renderComp || null;\n};\nvar Modal = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().forwardRef(InternalModal);\nModal.displayName = 'Modal';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Modal);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/modal/modal.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/notification-base/index.js":
/*!***************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/notification-base/index.js ***!
  \***************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?fcc5\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _notification__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./notification */ \"../../node_modules/@kdcloudjs/kdesign/es/notification-base/notification.js\");\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\nvar notificationInstance = {};\nvar renderNotification = function renderNotification(properties, el, callback) {\n  var _properties$placement = properties.placement,\n    placement = _properties$placement === void 0 ? 'default' : _properties$placement,\n    props = __rest(properties, [\"placement\"]);\n  var called = false;\n  var ref = function ref(notices) {\n    notificationInstance[placement] = {\n      instance: notices,\n      el: el\n    };\n    if (called) {\n      return;\n    }\n    called = true;\n    callback && callback(notices);\n  };\n  react_dom__WEBPACK_IMPORTED_MODULE_4___default().render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_notification__WEBPACK_IMPORTED_MODULE_5__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, props, {\n    ref: ref\n  })), el);\n};\nvar NotificationApi = {\n  add: function add(props, el) {\n    var _props$placement = props.placement,\n      placement = _props$placement === void 0 ? 'default' : _props$placement;\n    if (notificationInstance[placement]) {\n      notificationInstance[placement].instance.add(props);\n    } else {\n      renderNotification(props, el, function (instance) {\n        instance.add(props);\n      });\n    }\n  },\n  destroy: function destroy(key) {\n    if (key) {\n      _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2___default()(notificationInstance).forEach(function (placement) {\n        var _a;\n        var instance = (_a = notificationInstance[placement]) === null || _a === void 0 ? void 0 : _a.instance;\n        if (instance) {\n          var notices = instance.notices;\n          if (Array.isArray(notices) && notices.length) {\n            var flag = notices.some(function (notice) {\n              return notice.key === key;\n            });\n            if (flag) {\n              instance.remove(key);\n            }\n          }\n        }\n      });\n    } else {\n      _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2___default()(notificationInstance).forEach(function (placement) {\n        var _a;\n        var el = (_a = notificationInstance[placement]) === null || _a === void 0 ? void 0 : _a.el;\n        if (el) {\n          react_dom__WEBPACK_IMPORTED_MODULE_4___default().unmountComponentAtNode(el);\n          if (el.parentNode) {\n            el.parentNode.removeChild(el);\n          }\n        }\n        notificationInstance[placement] = null;\n      });\n    }\n  }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (NotificationApi);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/notification-base/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/notification-base/notice.js":
/*!****************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/notification-base/notice.js ***!
  \****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   NotificationTypes: function() { return /* binding */ NotificationTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n\n\n\n\n\n\n\nvar NotificationTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_4__.tuple)('success', 'warning', 'error', 'info', 'primary');\nvar Notice = function Notice(props) {\n  var _context, _classNames;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_5__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var noticeProps = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getCompProps)('Notice', userDefaultProps, props);\n  var customPrefixcls = noticeProps.prefixCls,\n    className = noticeProps.className,\n    content = noticeProps.content,\n    closable = noticeProps.closable,\n    duration = noticeProps.duration,\n    style = noticeProps.style,\n    type = noticeProps.type,\n    onClose = noticeProps.onClose,\n    suffixCls = noticeProps.suffixCls,\n    key = noticeProps.key;\n  var noticePrefixCls = getPrefixCls(prefixCls, suffixCls, customPrefixcls);\n  var timer = null;\n  var isTransition = false;\n  var noticeRef = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)();\n  var noticeClasses = classnames__WEBPACK_IMPORTED_MODULE_3___default()(noticePrefixCls, className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default()(_context = \"\".concat(noticePrefixCls, \"-\")).call(_context, type), type), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(noticePrefixCls, \"-closable\"), closable), _classNames));\n  var animationEvent = function animationEvent() {\n    var _a, _b;\n    (_a = noticeRef.current) === null || _a === void 0 ? void 0 : _a.classList.remove(\"\".concat(noticePrefixCls, \"-leave\"));\n    (_b = noticeRef.current) === null || _b === void 0 ? void 0 : _b.classList.add(\"\".concat(noticePrefixCls, \"-leave-after\"));\n  };\n  var transitionEvent = function transitionEvent() {\n    if (!isTransition) {\n      onClose && onClose(key);\n    }\n    isTransition = true;\n  };\n  var clearEventListener = function clearEventListener() {\n    var _a, _b;\n    (_a = noticeRef.current) === null || _a === void 0 ? void 0 : _a.removeEventListener('animationend', animationEvent);\n    (_b = noticeRef.current) === null || _b === void 0 ? void 0 : _b.removeEventListener('transitionend', transitionEvent);\n  };\n  var handleClose = function handleClose() {\n    var _a, _b, _c;\n    isTransition = false;\n    (_a = noticeRef.current) === null || _a === void 0 ? void 0 : _a.classList.add(\"\".concat(noticePrefixCls, \"-leave\"));\n    (_b = noticeRef.current) === null || _b === void 0 ? void 0 : _b.addEventListener('animationend', animationEvent);\n    (_c = noticeRef.current) === null || _c === void 0 ? void 0 : _c.addEventListener('transitionend', transitionEvent);\n  };\n  var startCloseTimer = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(function () {\n    if (!duration) return;\n    timer = setTimeout(function () {\n      handleClose();\n    }, duration);\n  }, [duration]);\n  var clearCloseTimer = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(function () {\n    if (timer) {\n      clearTimeout(timer);\n      timer = null;\n    }\n  }, [duration]);\n  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () {\n    startCloseTimer();\n    return function () {\n      clearCloseTimer();\n      clearEventListener();\n    };\n  }, [duration]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: noticeClasses,\n    style: style,\n    onMouseEnter: clearCloseTimer,\n    onMouseLeave: startCloseTimer,\n    ref: noticeRef\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: \"\".concat(noticePrefixCls, \"-content\")\n  }, content));\n};\nNotice.displayName = 'Notice';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Notice);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/notification-base/notice.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/notification-base/notification.js":
/*!**********************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/notification-base/notification.js ***!
  \**********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/splice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _notice__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./notice */ \"../../node_modules/@kdcloudjs/kdesign/es/notification-base/notice.js\");\n\n\n\n\n\n\n\n\n\nvar seed = 0;\nvar now = Date.now();\nfunction getUuid() {\n  var _context;\n  var id = seed;\n  seed += 1;\n  return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"msg_\".concat(now, \"_\")).call(_context, id);\n}\nvar Notification = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().forwardRef(function (props, ref) {\n  var placement = props.placement;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)([]),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    notices = _useState2[0],\n    setNotices = _useState2[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_7__.useImperativeHandle)(ref, function () {\n    return {\n      add: add,\n      remove: remove,\n      placement: placement,\n      notices: notices\n    };\n  }, [notices]);\n  var add = function add(addProps) {\n    var key = addProps.key || getUuid();\n    var notice = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, addProps), {\n      key: key\n    });\n    var pns = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(notices);\n    var updatedNotices = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(pns).call(pns);\n    var noticeIndex = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default()(pns).call(pns, function (v) {\n      return v.key;\n    }).indexOf(key);\n    if (~noticeIndex) {\n      _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_5___default()(updatedNotices).call(updatedNotices, noticeIndex, 1, notice);\n    } else {\n      updatedNotices.push(notice);\n    }\n    setNotices(updatedNotices);\n  };\n  var remove = function remove(key) {\n    setNotices(function (preNotices) {\n      return _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6___default()(preNotices).call(preNotices, function (notice) {\n        return notice.key !== key;\n      });\n    });\n  };\n  var _onClose = function onClose(notice) {\n    remove(notice.key || '');\n    notice.onClose && notice.onClose(notice.key);\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement((react__WEBPACK_IMPORTED_MODULE_7___default().Fragment), null, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default()(notices).call(notices, function (notice) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_notice__WEBPACK_IMPORTED_MODULE_8__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, notice, {\n      key: notice.key,\n      onClose: function onClose() {\n        return _onClose(notice);\n      }\n    }));\n  }));\n});\nNotification.displayName = 'Notification';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Notification);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/notification-base/notification.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/notification/content.js":
/*!************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/notification/content.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n\n\n\n\nvar Content = function Content(args) {\n  var _context;\n  var title = args.title,\n    footer = args.footer,\n    content = args.content,\n    closable = args.closable,\n    suffixCls = args.suffixCls,\n    contentClose = args.contentClose,\n    showIcon = args.showIcon,\n    type = args.type,\n    icon = args.icon,\n    closeNode = args.closeNode;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_3__.useContext)(_config_provider__WEBPACK_IMPORTED_MODULE_5__[\"default\"]),\n    prefixCls = _useContext.prefixCls;\n  var classPrefix = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default()(_context = \"\".concat(prefixCls, \"-\")).call(_context, suffixCls, \"-content\");\n  var iconMap = {\n    info: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n      type: \"warning-solid\"\n    }),\n    primary: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n      type: \"warning-solid\"\n    })\n  };\n  var renderIcon = function renderIcon() {\n    if (icon) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(classPrefix, \"-title-left-icon\"))\n    }, icon);\n    if (!showIcon) return null;\n    return iconMap[type] ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(classPrefix, \"-title-left-icon\"))\n    }, iconMap[type]) : null;\n  };\n  var renderCloseIcon = function renderCloseIcon() {\n    if (!closable) return null;\n    if (closeNode) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n        className: \"\".concat(classPrefix, \"-title-close\"),\n        onClick: contentClose\n      }, closeNode);\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n      className: \"\".concat(classPrefix, \"-title-close\"),\n      onClick: contentClose\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n      type: \"close\"\n    }));\n  };\n  var getTitleElement = function getTitleElement() {\n    if ((0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(title) === null) {\n      return null;\n    }\n    if ( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().isValidElement(title)) {\n      return title;\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(classPrefix, \"-title\"))\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(classPrefix, \"-title-left\"))\n    }, renderIcon(), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(classPrefix, \"-title-left-text\"))\n    }, title)), renderCloseIcon());\n  };\n  var getFooterElement = function getFooterElement() {\n    if ( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().isValidElement(footer)) {\n      return footer;\n    }\n    if (Array.isArray(footer)) {\n      var arr = footer;\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n        className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(classPrefix, \"-footer\"))\n      }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(arr).call(arr, function (_ref) {\n        var name = _ref.name,\n          _onClick = _ref.onClick;\n        if (name) {\n          return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n            key: name,\n            onClick: function onClick(e) {\n              if (e) {\n                e.stopPropagation();\n              }\n              _onClick && _onClick();\n            }\n          }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", null, name));\n        }\n        return null;\n      }));\n    }\n    return null;\n  };\n  var getMainElement = function getMainElement() {\n    if (typeof content === 'string') {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n        className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(classPrefix, \"-description\"))\n      }, content);\n    }\n    if ( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().isValidElement(content)) {\n      return content;\n    }\n    return null;\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement((react__WEBPACK_IMPORTED_MODULE_3___default().Fragment), null, getTitleElement(), getMainElement(), getFooterElement());\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Content);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/notification/content.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/notification/index.js":
/*!**********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/notification/index.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _notification_base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../notification-base */ \"../../node_modules/@kdcloudjs/kdesign/es/notification-base/index.js\");\n/* harmony import */ var _content__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./content */ \"../../node_modules/@kdcloudjs/kdesign/es/notification/content.js\");\n\n\n\n\nvar defaultPlacement = 'bottomRight';\nvar defaultDuration = 0;\nvar defaultOffset = '40px';\nvar defaultStyle = {};\nvar defaultClosable = true;\nvar defaultShowIcon = false;\nvar defaultSuffixCls = 'notice';\nvar defaultType = 'primary';\nvar defaultTitle = '系统提示'; // 'notice'\nvar notificationElements = {};\nvar notificationKey = 1;\nvar getNotificationProps = function getNotificationProps(args) {\n  var _args$placement = args.placement,\n    placement = _args$placement === void 0 ? defaultPlacement : _args$placement,\n    _args$duration = args.duration,\n    duration = _args$duration === void 0 ? defaultDuration : _args$duration,\n    key = args.key,\n    className = args.className,\n    _args$style = args.style,\n    style = _args$style === void 0 ? defaultStyle : _args$style,\n    _args$type = args.type,\n    type = _args$type === void 0 ? defaultType : _args$type,\n    onClose = args.onClose,\n    _args$closable = args.closable,\n    closable = _args$closable === void 0 ? defaultClosable : _args$closable,\n    _args$title = args.title,\n    title = _args$title === void 0 ? defaultTitle : _args$title,\n    footer = args.footer,\n    content = args.content,\n    icon = args.icon,\n    closeNode = args.closeNode,\n    _args$showIcon = args.showIcon,\n    showIcon = _args$showIcon === void 0 ? defaultShowIcon : _args$showIcon;\n  var contentClose = function contentClose() {\n    onClose && onClose(key);\n    _notification_base__WEBPACK_IMPORTED_MODULE_2__[\"default\"].destroy(key);\n  };\n  var contentProps = {\n    icon: icon,\n    closeNode: closeNode,\n    type: type,\n    title: title,\n    footer: footer,\n    content: content,\n    closable: closable,\n    showIcon: showIcon,\n    suffixCls: defaultSuffixCls,\n    contentClose: contentClose\n  };\n  return {\n    duration: duration,\n    placement: placement,\n    key: key,\n    className: className,\n    style: style,\n    content: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_content__WEBPACK_IMPORTED_MODULE_3__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, contentProps)),\n    type: type,\n    closable: false,\n    onClose: onClose,\n    suffixCls: defaultSuffixCls\n  };\n};\nvar setStyleByPlacement = function setStyleByPlacement(placement, el) {\n  switch (placement) {\n    case 'topLeft':\n      el.style.left = defaultOffset;\n      el.style.top = defaultOffset;\n      el.style.bottom = 'auto';\n      break;\n    case 'topRight':\n      el.style.right = defaultOffset;\n      el.style.top = defaultOffset;\n      el.style.bottom = 'auto';\n      break;\n    case 'bottomLeft':\n      el.style.left = defaultOffset;\n      el.style.top = 'auto';\n      el.style.bottom = defaultOffset;\n      break;\n    default:\n      el.style.right = defaultOffset;\n      el.style.top = 'auto';\n      el.style.bottom = defaultOffset;\n      break;\n  }\n};\nvar getNotificationHTMLElement = function getNotificationHTMLElement(placement) {\n  var prefixCls = 'kd';\n  var suffix = \"\".concat(prefixCls, \"-notice\");\n  var htmlElement = document.querySelector(\"#\".concat(suffix, \"-\").concat(placement));\n  if (!htmlElement) {\n    htmlElement = document.createElement('div');\n    htmlElement.id = \"\".concat(suffix, \"-\").concat(placement);\n    htmlElement.className = \"\".concat(suffix, \"-box-\").concat(placement);\n    setStyleByPlacement(placement, htmlElement);\n    document.body.appendChild(htmlElement);\n  }\n  return htmlElement;\n};\nvar notice = function notice(args) {\n  var key = args.key || notificationKey++;\n  var props = getNotificationProps((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, args), {\n    key: key\n  }));\n  var placement = props.placement;\n  var el;\n  if (notificationElements[placement]) {\n    el = notificationElements[placement];\n  } else {\n    el = getNotificationHTMLElement(placement);\n  }\n  _notification_base__WEBPACK_IMPORTED_MODULE_2__[\"default\"].add(props, el);\n};\nvar Notification = {\n  open: notice,\n  info: function info(args) {\n    return notice((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, args), {\n      type: 'info'\n    }));\n  },\n  primary: function primary(args) {\n    return notice((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, args), {\n      type: 'primary'\n    }));\n  },\n  destroy: function destroy(key) {\n    _notification_base__WEBPACK_IMPORTED_MODULE_2__[\"default\"].destroy(key);\n  },\n  displayName: 'Notification'\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Notification);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/notification/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/pagination/index.js":
/*!********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/pagination/index.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _pagination__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./pagination */ \"../../node_modules/@kdcloudjs/kdesign/es/pagination/pagination.js\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_pagination__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/pagination/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/pagination/pagination.js":
/*!*************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/pagination/pagination.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   PageTypes: function() { return /* binding */ PageTypes; },\n/* harmony export */   TotalTypes: function() { return /* binding */ TotalTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var lodash_isBoolean__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! lodash/isBoolean */ \"../../node_modules/lodash/isBoolean.js\");\n/* harmony import */ var lodash_isBoolean__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(lodash_isBoolean__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../dropdown */ \"../../node_modules/@kdcloudjs/kdesign/es/dropdown/index.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar PageTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_9__.tuple)('basic', 'bill', 'simple', 'less', 'nicety');\nvar TotalTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_9__.tuple)('page', 'row', 'all');\nvar Pagination = function Pagination(props) {\n  var _context2;\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_6__.useContext(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_10__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    pkgPrefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps,\n    locale = _React$useContext.locale;\n  var paginationLangMsg = locale.getCompLangMsg({\n    componentName: 'Pagination'\n  });\n  // 属性需要合并一遍用户定义的默认属性\n  var _getCompProps = (0,_utils__WEBPACK_IMPORTED_MODULE_11__.getCompProps)('Pagination', userDefaultProps, props),\n    style = _getCompProps.style,\n    total = _getCompProps.total,\n    current = _getCompProps.current,\n    pageSize = _getCompProps.pageSize,\n    disabled = _getCompProps.disabled,\n    onChange = _getCompProps.onChange,\n    pageType = _getCompProps.pageType,\n    bordered = _getCompProps.bordered,\n    showTitle = _getCompProps.showTitle,\n    className = _getCompProps.className,\n    dropdownProps = _getCompProps.dropdownProps,\n    defaultCurrent = _getCompProps.defaultCurrent,\n    showQuickJumper = _getCompProps.showQuickJumper,\n    defaultPageSize = _getCompProps.defaultPageSize,\n    pageSizeOptions = _getCompProps.pageSizeOptions,\n    showSizeChanger = _getCompProps.showSizeChanger,\n    onShowSizeChange = _getCompProps.onShowSizeChange,\n    hideOnSinglePage = _getCompProps.hideOnSinglePage,\n    icons = _getCompProps.icons,\n    customPrefixcls = _getCompProps.prefixCls;\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(PageTypes.indexOf(pageType) === -1, 'Pagination', \"cannot found pageType '\".concat(pageType, \"'\"));\n  // className前缀\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'pagination', customPrefixcls);\n  // 每页显示的记录条数\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_6__.useState(pageSize || defaultPageSize),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_React$useState, 2),\n    size = _React$useState2[0],\n    setSize = _React$useState2[1];\n  react__WEBPACK_IMPORTED_MODULE_6__.useEffect(function () {\n    pageSize !== undefined && setSize(pageSize);\n  }, [pageSize]);\n  // 总页数\n  var totalPage = Math.max(Math.ceil(total / size), 1);\n  // 当前页码\n  var initPage = Math.min(totalPage, current || defaultCurrent);\n  var _React$useState3 = react__WEBPACK_IMPORTED_MODULE_6__.useState(Math.max(initPage, 1)),\n    _React$useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_React$useState3, 2),\n    page = _React$useState4[0],\n    setPage = _React$useState4[1];\n  react__WEBPACK_IMPORTED_MODULE_6__.useEffect(function () {\n    current !== undefined && setPage(current);\n  }, [current]);\n  // 输入的页码\n  var _React$useState5 = react__WEBPACK_IMPORTED_MODULE_6__.useState(undefined),\n    _React$useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_React$useState5, 2),\n    inputPage = _React$useState6[0],\n    setInputPage = _React$useState6[1];\n  // 是否显示pageSize切换器\n  var showSizeSelector = lodash_isBoolean__WEBPACK_IMPORTED_MODULE_8___default()(showSizeChanger) ? showSizeChanger : total > 50;\n  var defaultShowQuickJumper = pageType !== 'bill';\n  var showJumper = showQuickJumper === undefined ? defaultShowQuickJumper : showQuickJumper;\n  // pageSize切换器是否展开\n  var _React$useState7 = react__WEBPACK_IMPORTED_MODULE_6__.useState(false),\n    _React$useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_React$useState7, 2),\n    isOpen = _React$useState8[0],\n    setIsOpen = _React$useState8[1];\n  // icons\n  var innerIcon = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({\n    first: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_icon__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n      type: \"first\"\n    }),\n    last: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_icon__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n      type: \"last\"\n    }),\n    prev: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_icon__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n      type: \"arrow-left\"\n    }),\n    next: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_icon__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n      type: \"arrow-right\"\n    }),\n    down: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_icon__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n      type: \"arrow-down\"\n    }),\n    jumpPrev: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_icon__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n      type: \"double-arrow-left\"\n    }),\n    jumpNext: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_icon__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n      type: \"double-arrow-right\"\n    })\n  }, icons || {});\n  // 切换pageSize\n  var handleChangeSize = function handleChangeSize(key) {\n    var currentSize = Number(key);\n    if (currentSize !== size) {\n      if (pageSize === undefined) setSize(currentSize);\n      var currentPage = Math.min(Math.ceil(total / Number(currentSize)), page);\n      changePage(currentPage, currentSize);\n      onShowSizeChange && onShowSizeChange(currentPage, currentSize);\n    }\n    setIsOpen(false);\n  };\n  // 输入页码\n  var handleChangeCurrentPage = function handleChangeCurrentPage(e) {\n    return setInputPage(e.target.value);\n  };\n  // 回车确定页码\n  var handleKeyUp = function handleKeyUp(e) {\n    if (e.key === 'Enter') handleConfirmCurrentPage();\n  };\n  // 页码输入框回车或者失去焦点确定翻到输入的页码\n  var handleConfirmCurrentPage = function handleConfirmCurrentPage() {\n    if (inputPage !== undefined) {\n      // 正整数正则表达式\n      var inputReg = new RegExp(\"^-?\\\\d+$\");\n      if (inputReg.test(inputPage)) {\n        if (Number(inputPage) < 1) changePage(1);else if (Number(inputPage) > totalPage) changePage(totalPage);else changePage(Number(inputPage));\n      }\n      setInputPage(undefined);\n    }\n  };\n  // 翻页\n  var changePage = function changePage(page, pageSize) {\n    current === undefined && setPage(page);\n    onChange && onChange(page, pageSize || size);\n  };\n  // 翻到上一页\n  var handlePrev = function handlePrev() {\n    return changePage(page - 1);\n  };\n  // 翻到下一页\n  var handleNext = function handleNext() {\n    return changePage(page + 1);\n  };\n  // 翻到第一页\n  var handleFirst = function handleFirst() {\n    return changePage(1);\n  };\n  // 翻到最后一页\n  var handleLast = function handleLast() {\n    return changePage(totalPage);\n  };\n  // 向前跳转\n  var jumpPrev = function jumpPrev() {\n    return changePage(page - 5 || 1);\n  };\n  // 向后跳转\n  var jumpNext = function jumpNext() {\n    return changePage(page + 5 < totalPage ? page + 5 : totalPage);\n  };\n  var itemAttr = function itemAttr(prefix, title, active) {\n    var _context, _classNames;\n    return {\n      className: classnames__WEBPACK_IMPORTED_MODULE_7___default()((_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = \"\".concat(prefixCls, \"-\")).call(_context, prefix), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"bordered\", bordered), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"active\", active), _classNames)),\n      title: showTitle ? title : undefined\n    };\n  };\n  // 生成元素是连续数字的数组\n  function genArray(start, end) {\n    var result = [];\n    for (var i = start; i <= end; i++) {\n      result.push(i);\n    }\n    return result;\n  }\n  function dropdownVisibleChange(visible) {\n    setIsOpen(visible);\n    if (dropdownProps && typeof dropdownProps.onVisibleChange === 'function') {\n      dropdownProps.onVisibleChange(visible);\n    }\n  }\n  var sizeOptions = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_dropdown__WEBPACK_IMPORTED_MODULE_14__[\"default\"].Menu, null, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default()(pageSizeOptions).call(pageSizeOptions, function (size) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_dropdown__WEBPACK_IMPORTED_MODULE_14__[\"default\"].Item, {\n      key: size\n    }, pageType === 'nicety' ? size : locale.getLangMsg('Pagination', 'perPage', {\n      size: size\n    }));\n  }));\n  var mapShowTotal = {\n    basic: 'page',\n    nicety: 'row'\n  };\n  var mapTotalText = {\n    page: locale.getLangMsg('Pagination', 'page', {\n      page: totalPage\n    }),\n    row: locale.getLangMsg('Pagination', 'row', {\n      row: total\n    }),\n    all: locale.getLangMsg('Pagination', 'total', {\n      page: totalPage,\n      row: total\n    })\n  };\n  var showTotal = props.showTotal ? props.showTotal === true ? 'page' : props.showTotal : mapShowTotal[pageType];\n  var Total = showTotal && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-total\")\n  }, mapTotalText[showTotal]);\n  var normalPagination = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(prefixCls, className),\n    style: style\n  }, Total, showJumper && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-current\")\n  }, locale.getLangMsg('Pagination', 'order', {\n    order: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"input\", {\n      type: \"text\",\n      disabled: disabled,\n      onKeyUp: handleKeyUp,\n      onBlur: handleConfirmCurrentPage,\n      onChange: handleChangeCurrentPage,\n      className: \"\".concat(prefixCls, \"-current-input\"),\n      value: inputPage === undefined ? page : inputPage\n    })\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"ul\", {\n    className: \"\".concat(prefixCls, \"-action\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, itemAttr('action-item', paginationLangMsg.first)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"button\", {\n    onClick: handleFirst,\n    disabled: page === 1 || disabled\n  }, innerIcon.first)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, itemAttr('action-item', paginationLangMsg.prevPage)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"button\", {\n    onClick: handlePrev,\n    disabled: page === 1 || disabled\n  }, innerIcon.prev)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, itemAttr('action-item', paginationLangMsg.nextPage)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"button\", {\n    onClick: handleNext,\n    disabled: page === totalPage || disabled\n  }, innerIcon.next)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, itemAttr('action-item', paginationLangMsg.last)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"button\", {\n    onClick: handleLast,\n    disabled: page === totalPage || disabled\n  }, innerIcon.last))), showSizeSelector && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-selector\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_dropdown__WEBPACK_IMPORTED_MODULE_14__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({\n    selectable: true,\n    selectedKey: size,\n    menu: sizeOptions,\n    trigger: \"click\",\n    placement: \"bottomRight\",\n    disabled: disabled,\n    prefix: \"\".concat(prefixCls, \"-dropdown\"),\n    popperStyle: {\n      minWidth: 64\n    },\n    onItemClick: handleChangeSize,\n    getPopupContainer: function getPopupContainer(triggerNode) {\n      return triggerNode === null || triggerNode === void 0 ? void 0 : triggerNode.parentElement;\n    }\n  }, dropdownProps, {\n    onVisibleChange: dropdownVisibleChange\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"button\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(\"\".concat(prefixCls, \"-selector-size\"), \"\".concat(prefixCls, \"-options-dropdown\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(prefixCls, \"-options-dropdown-open\"), isOpen))\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"span\", null, locale.getLangMsg('Pagination', 'perPage', {\n    size: size\n  })), innerIcon.down))));\n  var simplePagination = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(prefixCls, 'simple', className),\n    style: style\n  }, Total, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"ul\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(\"\".concat(prefixCls, \"-action\"), {\n      bordered: bordered,\n      disabled: disabled\n    })\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, itemAttr('action-item', paginationLangMsg.prevPage)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"button\", {\n    onClick: handlePrev,\n    disabled: page === 1 || disabled\n  }, innerIcon.prev)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, itemAttr('action-item', _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = \"\".concat(page, \"/\")).call(_context2, totalPage))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-current\")\n  }, showJumper ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"input\", {\n    type: \"text\",\n    disabled: disabled,\n    onKeyUp: handleKeyUp,\n    onBlur: handleConfirmCurrentPage,\n    onChange: handleChangeCurrentPage,\n    className: \"\".concat(prefixCls, \"-current-input\"),\n    value: inputPage === undefined ? page : inputPage\n  }) : page), \"/ \", /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-total\")\n  }, totalPage)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, itemAttr('action-item', paginationLangMsg.nextPage)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"button\", {\n    onClick: handleNext,\n    disabled: page === totalPage || disabled\n  }, innerIcon.next))));\n  var lessPages = genArray(1, totalPage);\n  var lessPagination = null;\n  if (pageType === 'less') {\n    lessPagination = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(prefixCls, 'less', {\n        bordered: bordered,\n        disabled: disabled\n      }, className),\n      style: style\n    }, Total, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"ul\", {\n      className: \"\".concat(prefixCls, \"-pages\")\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, itemAttr('pages-item', paginationLangMsg.prevPage)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"button\", {\n      onClick: handlePrev,\n      disabled: page === 1 || disabled\n    }, innerIcon.prev)), _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default()(lessPages).call(lessPages, function (item, index) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({\n        key: index\n      }, itemAttr('pages-item', String(item), item === page)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"button\", {\n        onClick: function onClick() {\n          return changePage(item);\n        },\n        disabled: disabled\n      }, item));\n    }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, itemAttr('pages-item', paginationLangMsg.nextPage)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"button\", {\n      onClick: handleNext,\n      disabled: page === totalPage || disabled\n    }, innerIcon.next))));\n  }\n  var nicetyPages = lessPages;\n  if (totalPage >= 8) {\n    nicetyPages.length = 0;\n    if (page < 5) {\n      nicetyPages.push.apply(nicetyPages, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(genArray(1, 5)));\n    } else if (page > totalPage - 4) {\n      nicetyPages.push.apply(nicetyPages, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(genArray(totalPage - 4, totalPage)));\n    } else {\n      nicetyPages.push.apply(nicetyPages, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(genArray(page - 2, page + 2)));\n    }\n    page <= totalPage - 4 && nicetyPages.push('>>', totalPage);\n    page >= 5 && nicetyPages.unshift(1, '<<');\n  }\n  var nicetyPagination = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(prefixCls, 'nicety', {\n      bordered: bordered,\n      disabled: disabled\n    }, className),\n    style: style\n  }, Total, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"ul\", {\n    className: \"\".concat(prefixCls, \"-pages\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, itemAttr('pages-item', paginationLangMsg.prevPage)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"button\", {\n    onClick: handlePrev,\n    disabled: page === 1 || disabled\n  }, innerIcon.prev)), _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default()(nicetyPages).call(nicetyPages, function (item, index) {\n    var handleChangePage = function handleChangePage() {\n      return typeof item === 'string' ? item === '<<' ? jumpPrev() : jumpNext() : changePage(item);\n    };\n    var pageText = typeof item === 'string' ? '...' : item;\n    var jumperIconType = item === '<<' ? innerIcon.jumpPrev : innerIcon.jumpNext;\n    var title = typeof item === 'string' ? paginationLangMsg[item === '<<' ? 'forward' : 'backward'] : String(item);\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({\n      key: index\n    }, itemAttr('pages-item', title, item === page)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"button\", {\n      onClick: handleChangePage,\n      disabled: disabled\n    }, pageText, typeof item === 'string' && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.cloneElement(jumperIconType, {\n      className: \"\".concat(prefixCls, \"-pages-jumper-icon\")\n    })));\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, itemAttr('pages-item', paginationLangMsg.nextPage)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"button\", {\n    onClick: handleNext,\n    disabled: page === totalPage || disabled\n  }, innerIcon.next))), showJumper && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-jumper\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"input\", {\n    type: \"text\",\n    disabled: disabled,\n    onKeyUp: handleKeyUp,\n    onBlur: handleConfirmCurrentPage,\n    onChange: handleChangeCurrentPage,\n    className: \"\".concat(prefixCls, \"-jumper-input\"),\n    value: inputPage === undefined ? '' : inputPage\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"button\", {\n    className: \"\".concat(prefixCls, \"-jumper-button\"),\n    disabled: disabled,\n    onClick: handleConfirmCurrentPage\n  }, \"GO\")), showSizeSelector && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-options\")\n  }, locale.getLangMsg('Pagination', 'perPage', {\n    size: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(_dropdown__WEBPACK_IMPORTED_MODULE_14__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({\n      selectable: true,\n      trigger: \"click\",\n      selectedKey: size,\n      menu: sizeOptions,\n      disabled: disabled,\n      popperStyle: {\n        minWidth: 64\n      },\n      onItemClick: handleChangeSize,\n      getPopupContainer: function getPopupContainer(triggerNode) {\n        return triggerNode === null || triggerNode === void 0 ? void 0 : triggerNode.parentElement;\n      }\n    }, dropdownProps, {\n      onVisibleChange: dropdownVisibleChange\n    }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"button\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(\"\".concat(prefixCls, \"-options-size\"), \"\".concat(prefixCls, \"-options-dropdown\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(prefixCls, \"-options-dropdown-open\"), isOpen))\n    }, size, innerIcon.down))\n  })));\n  var mapPagination = {\n    basic: normalPagination,\n    bill: normalPagination,\n    simple: simplePagination,\n    less: lessPagination,\n    nicety: nicetyPagination\n  };\n  return hideOnSinglePage && totalPage === 1 ? null : mapPagination[pageType] || mapPagination.basic;\n};\nPagination.displayName = 'Pagination';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Pagination);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/pagination/pagination.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/popconfirm/index.js":
/*!********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/popconfirm/index.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _popconfirm__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./popconfirm */ \"../../node_modules/@kdcloudjs/kdesign/es/popconfirm/popconfirm.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_popconfirm__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/popconfirm/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/popconfirm/popconfirm.js":
/*!*************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/popconfirm/popconfirm.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../button */ \"../../node_modules/@kdcloudjs/kdesign/es/button/index.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils_usePopper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_utils/usePopper */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/usePopper.js\");\n\n\n\n\n\n\n\n\nvar Popconfirm = function Popconfirm(props) {\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    pkgPrefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps,\n    locale = _React$useContext.locale;\n  // 属性需要合并一遍用户定义的默认属性\n  var allProps = (0,_utils__WEBPACK_IMPORTED_MODULE_4__.getCompProps)('Popconfirm', userDefaultProps, props);\n  var icon = allProps.icon,\n    title = allProps.title,\n    okText = allProps.okText,\n    okType = allProps.okType,\n    message = allProps.message,\n    children = allProps.children,\n    onCancel = allProps.onCancel,\n    onConfirm = allProps.onConfirm,\n    cancelText = allProps.cancelText,\n    okButtonProps = allProps.okButtonProps,\n    defaultVisible = allProps.defaultVisible,\n    onVisibleChange = allProps.onVisibleChange,\n    cancelButtonProps = allProps.cancelButtonProps,\n    customPrefixcls = allProps.prefixCls;\n  // className前缀\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'popconfirm', customPrefixcls);\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_2__.useState(!!props.visible || defaultVisible),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState, 2),\n    visible = _React$useState2[0],\n    setVisible = _React$useState2[1];\n  react__WEBPACK_IMPORTED_MODULE_2__.useEffect(function () {\n    setVisible(!!props.visible);\n  }, [props.visible]);\n  var confirmLocator = react__WEBPACK_IMPORTED_MODULE_2__.Children.count(children) === 1 && children.type ? children : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(\"span\", null, children);\n  var confirmTitle = typeof title === 'function' ? title() : title;\n  var confirmMsg = typeof message === 'function' ? message() : message;\n  var handleCancel = function handleCancel(e) {\n    props.visible === undefined && setVisible(false);\n    onVisibleChange && onVisibleChange(false);\n    onCancel && onCancel(e);\n  };\n  var handleConfirm = function handleConfirm(e) {\n    props.visible === undefined && setVisible(false);\n    onVisibleChange && onVisibleChange(false);\n    onConfirm && onConfirm(e);\n  };\n  var confirmPopper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-content\")\n  }, confirmTitle && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(\"h3\", {\n    className: \"\".concat(prefixCls, \"-title\")\n  }, 'icon' in props ? icon === true ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_icon__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    type: \"warning-solid\"\n  }) : icon : null, confirmTitle), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-message\")\n  }, confirmMsg), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-interaction\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_button__WEBPACK_IMPORTED_MODULE_6__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, cancelButtonProps, {\n    onClick: handleCancel\n  }), cancelText || locale.getLangMsg('Popconfirm', 'cancel')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_button__WEBPACK_IMPORTED_MODULE_6__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, okButtonProps, {\n    type: okType,\n    onClick: handleConfirm\n  }), okText || locale.getLangMsg('Popconfirm', 'confirm'))));\n  var handleVisibleChange = function handleVisibleChange(visible) {\n    props.visible === undefined && setVisible(visible);\n    onVisibleChange && onVisibleChange(visible);\n  };\n  var popperProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, allProps), {\n    visible: visible,\n    prefixCls: prefixCls,\n    arrow: true,\n    onVisibleChange: handleVisibleChange\n  });\n  return (0,_utils_usePopper__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(confirmLocator, confirmPopper, popperProps);\n};\nPopconfirm.displayName = 'Popconfirm';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Popconfirm);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/popconfirm/popconfirm.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/progress/circle.js":
/*!*******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/progress/circle.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/sort */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/sort.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_7__);\n\n\n\n\n\n\n\n\nvar gradientSeed = 0;\nvar Circle = function Circle(props) {\n  var _context, _context2, _context3, _context4, _context5, _context6, _context7, _context8, _context9, _context10, _context11, _context12, _context13;\n  var prefixCls = props.prefixCls,\n    _props$percent = props.percent,\n    percent = _props$percent === void 0 ? 0 : _props$percent,\n    _props$width = props.width,\n    width = _props$width === void 0 ? 88 : _props$width,\n    _props$strokeWidth = props.strokeWidth,\n    strokeWidth = _props$strokeWidth === void 0 ? 4 : _props$strokeWidth,\n    trailColor = props.trailColor,\n    strokeColor = props.strokeColor,\n    children = props.children;\n  var circleStyle = {\n    width: \"\".concat(width, \"px\"),\n    height: \"\".concat(width, \"px\")\n  };\n  var gradientId = gradientSeed;\n  gradientSeed++;\n  var radius = 50 - strokeWidth / 2;\n  var beginPositionX = 0;\n  var beginPositionY = -radius;\n  var endPositionX = 0;\n  var endPositionY = radius * 2;\n  var len = Math.PI * 2 * radius;\n  var isGradient = Object.prototype.toString.call(strokeColor) === '[object Object]';\n  var stripPercentToNumber = function stripPercentToNumber(percent) {\n    return +percent.replace('%', '');\n  };\n  var toArray = function toArray(symArray) {\n    return Array.isArray(symArray) ? symArray : [symArray];\n  };\n  var gradientColor = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_1___default()(_context = toArray(strokeColor)).call(_context, function (color) {\n    return Object.prototype.toString.call(color) === '[object Object]';\n  });\n  var gradientArr = isGradient ? _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_2___default()(_context2 = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3___default()(gradientColor)).call(_context2, function (a, b) {\n    return stripPercentToNumber(a) - stripPercentToNumber(b);\n  }) : null;\n  var gradientDom = isGradient ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"defs\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"linearGradient\", {\n    id: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = \"\".concat(prefixCls, \"-gradient-\")).call(_context3, gradientId),\n    x1: \"100%\",\n    y1: \"0%\",\n    x2: \"0%\",\n    y2: \"0%\"\n  }, gradientArr === null || gradientArr === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default()(gradientArr).call(gradientArr, function (key, index) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"stop\", {\n      key: index,\n      offset: key,\n      stopColor: gradientColor[key]\n    });\n  }))) : null;\n  var pathColor = strokeColor && typeof strokeColor !== 'string' ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context4 = \"url(#\".concat(prefixCls, \"-gradient-\")).call(_context4, gradientId, \")\") : strokeColor;\n  var pathString = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context5 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context6 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context7 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context8 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context9 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context10 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context11 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context12 = \"M 50,50 m \".concat(beginPositionX, \",\").concat(beginPositionY, \" \\n\\n                      a \")).call(_context12, radius, \",\")).call(_context11, radius, \" 0 1 1 \")).call(_context10, endPositionX, \",\")).call(_context9, endPositionY, \" \\n\\n                      a \")).call(_context8, radius, \",\")).call(_context7, radius, \" 0 1 1 \")).call(_context6, endPositionX, \",\")).call(_context5, -endPositionY, \" \\n\");\n  var pathStyle = {\n    strokeDasharray: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context13 = \"\".concat(percent / 100 * len, \"px \")).call(_context13, len, \"px\"),\n    strokeDashoffset: '0px',\n    opacity: percent === 0 ? 0 : 1,\n    stroke: pathColor\n  };\n  var wrapperClassName = classnames__WEBPACK_IMPORTED_MODULE_7___default()(\"\".concat(prefixCls, \"-circle-box\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(prefixCls, \"-circle-gradient\"), isGradient));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement((react__WEBPACK_IMPORTED_MODULE_6___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: wrapperClassName,\n    style: circleStyle\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"svg\", {\n    className: \"\".concat(prefixCls, \"-circle\"),\n    viewBox: \"0 0 100 100\",\n    strokeWidth: strokeWidth\n  }, gradientDom, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"path\", {\n    className: \"\".concat(prefixCls, \"-circle-trail\"),\n    style: {\n      stroke: trailColor\n    },\n    d: pathString,\n    // stroke={trailColor}\n    strokeWidth: strokeWidth,\n    fillOpacity: \"0\",\n    strokeLinecap: \"round\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"path\", {\n    className: \"\".concat(prefixCls, \"-circle-path\"),\n    d: pathString,\n    // stroke={pathColor}\n    strokeWidth: strokeWidth,\n    style: pathStyle,\n    fillOpacity: \"0\",\n    strokeLinecap: \"round\"\n  })), children));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Circle);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/progress/circle.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/progress/index.js":
/*!******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/progress/index.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _progress__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./progress */ \"../../node_modules/@kdcloudjs/kdesign/es/progress/progress.js\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_progress__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/progress/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/progress/line.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/progress/line.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils */ \"../../node_modules/@kdcloudjs/kdesign/es/progress/utils.js\");\n\n\n\nvar Line = function Line(props) {\n  var prefixCls = props.prefixCls,\n    children = props.children,\n    percent = props.percent,\n    trailColor = props.trailColor,\n    strokeColor = props.strokeColor,\n    strokeWidth = props.strokeWidth;\n  var backgroundProps = strokeColor && typeof strokeColor !== 'string' ? (0,_utils__WEBPACK_IMPORTED_MODULE_2__.handleGradient)(strokeColor) : {\n    background: strokeColor\n  };\n  var trailStyle = {\n    backgroundColor: trailColor || undefined\n  };\n  var percentStyle = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    width: \"\".concat((0,_utils__WEBPACK_IMPORTED_MODULE_2__.validProgress)(percent), \"%\"),\n    height: strokeWidth && \"\".concat(strokeWidth, \"px\")\n  }, backgroundProps);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-outer\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-inner\"),\n    style: trailStyle\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-bg\"),\n    style: percentStyle\n  }))), children);\n};\nLine.displayName = 'Line';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Line);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/progress/line.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/progress/progress.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/progress/progress.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ProgressStatuses: function() { return /* binding */ ProgressStatuses; },\n/* harmony export */   ProgressTypes: function() { return /* binding */ ProgressTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _line__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./line */ \"../../node_modules/@kdcloudjs/kdesign/es/progress/line.js\");\n/* harmony import */ var _circle__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./circle */ \"../../node_modules/@kdcloudjs/kdesign/es/progress/circle.js\");\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var _utils_omit__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../_utils/omit */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/omit.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./utils */ \"../../node_modules/@kdcloudjs/kdesign/es/progress/utils.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar ProgressTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('line', 'circle');\nvar ProgressStatuses = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('normal', 'cycle', 'loading', 'failure', 'success');\nvar Progress = function Progress(props) {\n  var _context, _context2, _classNames;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps,\n    locale = _useContext.locale;\n  var progressProps = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCompProps)('Progress', userDefaultProps, props);\n  var type = progressProps.type,\n    className = progressProps.className,\n    customPrefixcls = progressProps.prefixCls,\n    showInfo = progressProps.showInfo,\n    percent = progressProps.percent,\n    onProcess = progressProps.onProcess;\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(ProgressTypes.indexOf(type) === -1, 'progress', \"cannot found progress type '\".concat(type, \"'\"));\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(type !== 'circle' && !!props.width, 'progress', 'props width only effect when type is circle');\n  if (props.strokeWidth === undefined) {\n    progressProps.strokeWidth = type === 'circle' ? progressProps.strokeWidth : progressProps.trailWidth;\n  }\n  var getPercentNumber = function getPercentNumber(props) {\n    var _props$percent = props.percent,\n      percent = _props$percent === void 0 ? 0 : _props$percent;\n    return parseInt(percent.toString(), 10);\n  };\n  var getProgressStatus = function getProgressStatus(props) {\n    var status = props.status;\n    if (ProgressStatuses.indexOf(status) < 0 && getPercentNumber(props) >= 100) {\n      return 'success';\n    }\n    return status || 'normal';\n  };\n  var progressStatus = getProgressStatus(progressProps);\n  var progressPrefixCls = getPrefixCls(prefixCls, 'progress', customPrefixcls);\n  var progressClasses = classnames__WEBPACK_IMPORTED_MODULE_5___default()(progressPrefixCls, className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default()(_context = \"\".concat(progressPrefixCls, \"-type-\")).call(_context, type), type), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default()(_context2 = \"\".concat(progressPrefixCls, \"-status-\")).call(_context2, progressStatus), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(progressPrefixCls, \"-show-info\"), showInfo), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(progressPrefixCls, \"-position-bottom\"), progressProps.infoPosition !== 'right' && progressStatus === 'normal'), _classNames));\n  var renderProgressInfo = function renderProgressInfo(prefixCls, progressStatus, props) {\n    var _props$type = props.type,\n      type = _props$type === void 0 ? 'line' : _props$type,\n      showInfo = props.showInfo,\n      format = props.format,\n      percent = props.percent,\n      infoPosition = props.infoPosition,\n      successIcon = props.successIcon,\n      failureIcon = props.failureIcon;\n    var isLoading = progressStatus !== 'failure' && progressStatus !== 'success';\n    if (!showInfo && type !== 'circle' || infoPosition !== 'right' && isLoading) return null;\n    var text;\n    var textFormatter = format || function (percentNumber) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement((react__WEBPACK_IMPORTED_MODULE_4___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n        className: \"\".concat(prefixCls, \"-text-percent\")\n      }, percentNumber), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n        className: \"\".concat(prefixCls, \"-text-unit\")\n      }, \"%\"));\n    };\n    var successNodeMap = {\n      line: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n        className: \"\".concat(prefixCls, \"-icon\"),\n        type: \"right-solid\"\n      }),\n      circle: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n        className: \"\".concat(prefixCls, \"-icon\"),\n        type: \"right-bold\"\n      }),\n      custom: successIcon\n    };\n    var failureNodeMap = {\n      line: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n        className: \"\".concat(prefixCls, \"-icon\"),\n        type: \"refresh-solid\"\n      }),\n      circle: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n        className: \"\".concat(prefixCls, \"-icon\"),\n        type: \"close-bold\"\n      }),\n      custom: failureIcon\n    };\n    if (format || isLoading) {\n      text = textFormatter((0,_utils__WEBPACK_IMPORTED_MODULE_11__.validProgress)(percent));\n    } else if (progressStatus === 'failure') {\n      text = failureNodeMap.custom || failureNodeMap[type];\n    } else if (progressStatus === 'success') {\n      text = successNodeMap.custom || successNodeMap[type];\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-text\")\n    }, text);\n  };\n  var renderSpecialInfo = function renderSpecialInfo(prefixCls, progressStatus, props) {\n    var type = props.type,\n      showInfo = props.showInfo,\n      infoPosition = props.infoPosition,\n      _props$textMap = props.textMap,\n      textMap = _props$textMap === void 0 ? [] : _props$textMap;\n    var langMsgs = locale.getCompLangMsg({\n      componentName: 'Progress'\n    });\n    var defaultTextMap = [langMsgs.loading, langMsgs.fail, langMsgs.success];\n    var isLoading = progressStatus !== 'failure' && progressStatus !== 'success';\n    if (!showInfo || infoPosition === 'right' && type !== 'circle') return null;\n    var concatMap = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default()(defaultTextMap).call(defaultTextMap, function (text, index) {\n      if (type === 'circle' && index === 0) return textMap[index] || langMsgs.circleLoadingDesc;\n      return textMap[index] || text;\n    });\n    var text;\n    if (isLoading) {\n      text = concatMap[0];\n    } else if (progressStatus === 'failure') {\n      text = concatMap[1];\n    } else if (progressStatus === 'success') {\n      text = concatMap[2];\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n      className: \"\".concat(prefixCls, \"-special-text\")\n    }, text);\n  };\n  var progress = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_line__WEBPACK_IMPORTED_MODULE_12__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, progressProps, {\n    prefixCls: progressPrefixCls\n  }), renderProgressInfo(progressPrefixCls, progressStatus, progressProps));\n  if (type === 'circle') {\n    progress = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_circle__WEBPACK_IMPORTED_MODULE_13__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, progressProps, {\n      prefixCls: progressPrefixCls\n    }), renderProgressInfo(progressPrefixCls, progressStatus, progressProps));\n  }\n  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {\n    onProcess && onProcess(percent);\n  }, [percent, onProcess]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, (0,_utils_omit__WEBPACK_IMPORTED_MODULE_14__.omit)(progressProps, ['status', 'format', 'width', 'strokeWidth', 'trailWidth', 'trailColor', 'strokeColor', 'percent', 'infoPosition', 'showInfo', 'textMap', 'onProcess']), {\n    className: progressClasses\n  }), progress, renderSpecialInfo(progressPrefixCls, progressStatus, progressProps));\n};\nProgress.displayName = 'Progress';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Progress);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/progress/progress.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/progress/utils.js":
/*!******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/progress/utils.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   handleGradient: function() { return /* binding */ handleGradient; },\n/* harmony export */   sortGradient: function() { return /* binding */ sortGradient; },\n/* harmony export */   validProgress: function() { return /* binding */ validProgress; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/sort */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/sort.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\nfunction validProgress(progress) {\n  if (!progress || progress < 0) {\n    return 0;\n  }\n  if (progress > 100) {\n    return 100;\n  }\n  return progress;\n}\nvar sortGradient = function sortGradient(gradients) {\n  var tempArr = [];\n  _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_1___default()(gradients).forEach(function (key) {\n    var formattedKey = parseFloat(key.replace(/%/g, ''));\n    if (!isNaN(formattedKey)) {\n      tempArr.push({\n        key: formattedKey,\n        value: gradients[key]\n      });\n    }\n  });\n  tempArr = _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_2___default()(tempArr).call(tempArr, function (a, b) {\n    return a.key - b.key;\n  });\n  return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default()(tempArr).call(tempArr, function (_ref) {\n    var _context;\n    var key = _ref.key,\n      value = _ref.value;\n    return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = \"\".concat(value, \" \")).call(_context, key, \"%\");\n  }).join(', ');\n};\nvar handleGradient = function handleGradient(strokeColor) {\n  var _context3, _context4;\n  var from = strokeColor.from,\n    to = strokeColor.to,\n    _strokeColor$directio = strokeColor.direction,\n    direction = _strokeColor$directio === void 0 ? 'to right' : _strokeColor$directio,\n    rest = __rest(strokeColor, [\"from\", \"to\", \"direction\"]);\n  if (_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_1___default()(rest).length !== 0) {\n    var _context2;\n    var sortedGradients = sortGradient(rest);\n    return {\n      backgroundImage: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = \"linear-gradient(\".concat(direction, \", \")).call(_context2, sortedGradients, \")\")\n    };\n  }\n  return {\n    backgroundImage: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context4 = \"linear-gradient(\".concat(direction, \", \")).call(_context4, from, \", \")).call(_context3, to, \")\")\n  };\n};\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/progress/utils.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/qr-code/index.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/qr-code/index.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   QRCodeErrorLevels: function() { return /* reexport safe */ _qr_code__WEBPACK_IMPORTED_MODULE_0__.QRCodeErrorLevels; },\n/* harmony export */   QRCodeStatus: function() { return /* reexport safe */ _qr_code__WEBPACK_IMPORTED_MODULE_0__.QRCodeStatus; },\n/* harmony export */   QRCodeTypes: function() { return /* reexport safe */ _qr_code__WEBPACK_IMPORTED_MODULE_0__.QRCodeTypes; }\n/* harmony export */ });\n/* harmony import */ var _qr_code__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./qr-code */ \"../../node_modules/@kdcloudjs/kdesign/es/qr-code/qr-code.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_qr_code__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/qr-code/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/qr-code/qr-code.js":
/*!*******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/qr-code/qr-code.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   QRCodeErrorLevels: function() { return /* binding */ QRCodeErrorLevels; },\n/* harmony export */   QRCodeStatus: function() { return /* binding */ QRCodeStatus; },\n/* harmony export */   QRCodeTypes: function() { return /* binding */ QRCodeTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var qrcode_react_ie__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! qrcode.react-ie */ \"../../node_modules/qrcode.react-ie/lib/esm/index.js\");\n/* harmony import */ var _spin__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../spin */ \"../../node_modules/@kdcloudjs/kdesign/es/spin/index.js\");\n/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../button */ \"../../node_modules/@kdcloudjs/kdesign/es/button/index.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n\n\n\n\n\n\n\n\n\n\n\n\nvar QRCodeTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_5__.tuple)('canvas', 'svg');\nvar QRCodeStatus = (0,_utils_type__WEBPACK_IMPORTED_MODULE_5__.tuple)('active', 'expired', 'loading');\nvar QRCodeErrorLevels = (0,_utils_type__WEBPACK_IMPORTED_MODULE_5__.tuple)('L', 'M', 'Q', 'H');\nvar QRCode = function QRCode(props) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_6__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var qrCodeProps = (0,_utils__WEBPACK_IMPORTED_MODULE_7__.getCompProps)('QRCode', userDefaultProps, props);\n  var value = qrCodeProps.value,\n    size = qrCodeProps.size,\n    status = qrCodeProps.status,\n    style = qrCodeProps.style,\n    type = qrCodeProps.type,\n    errorLevel = qrCodeProps.errorLevel,\n    color = qrCodeProps.color,\n    onRefresh = qrCodeProps.onRefresh,\n    icon = qrCodeProps.icon,\n    _qrCodeProps$iconSize = qrCodeProps.iconSize,\n    iconSize = _qrCodeProps$iconSize === void 0 ? 24 : _qrCodeProps$iconSize,\n    bgColor = qrCodeProps.bgColor,\n    _qrCodeProps$bordered = qrCodeProps.bordered,\n    bordered = _qrCodeProps$bordered === void 0 ? true : _qrCodeProps$bordered;\n  var className = qrCodeProps.className,\n    customPrefixcls = qrCodeProps.prefixCls;\n  var qrCodePrefixCls = getPrefixCls(prefixCls, 'qrcode', customPrefixcls);\n  var qrCodeClass = classnames__WEBPACK_IMPORTED_MODULE_3___default()(qrCodePrefixCls, className, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(qrCodePrefixCls, \"-borderless\"), !bordered));\n  var gap = 8;\n  var containerSize = size + gap * 2 + 2;\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(!value === false, 'QRCode', 'need to receive `value` props');\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(icon && errorLevel === 'L', 'QRCode', 'ErrorLevel `L` is not recommended to be used with `icon`, for scanning result would be affected by low level.');\n  var imageSettings = {\n    src: icon,\n    x: undefined,\n    y: undefined,\n    height: iconSize,\n    width: iconSize,\n    excavate: true\n  };\n  var codeProps = {\n    value: value,\n    size: size,\n    level: errorLevel,\n    fgColor: color,\n    imageSettings: icon ? imageSettings : undefined\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: qrCodeClass,\n    style: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, style), {\n      width: \"\".concat(containerSize, \"px\"),\n      height: \"\".concat(containerSize, \"px\"),\n      backgroundColor: bgColor\n    })\n  }, status !== 'active' && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: \"\".concat(qrCodePrefixCls, \"-mask\")\n  }, status === 'loading' && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_spin__WEBPACK_IMPORTED_MODULE_9__[\"default\"], null), status === 'expired' && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement((react__WEBPACK_IMPORTED_MODULE_2___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"p\", {\n    className: \"\".concat(qrCodePrefixCls, \"-expired\")\n  }, \"\\u4E8C\\u7EF4\\u7801\\u8FC7\\u671F\"), onRefresh && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_button__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    icon: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n      type: \"refresh\"\n    }),\n    type: \"text\",\n    onClick: onRefresh,\n    size: \"middle\"\n  }, \"\\u70B9\\u51FB\\u5237\\u65B0\"))), type === 'canvas' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(qrcode_react_ie__WEBPACK_IMPORTED_MODULE_4__.QRCodeCanvas, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, codeProps)) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(qrcode_react_ie__WEBPACK_IMPORTED_MODULE_4__.QRCodeSVG, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, codeProps)));\n};\nQRCode.displayName = 'QRCode';\n/* harmony default export */ __webpack_exports__[\"default\"] = (QRCode);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/qr-code/qr-code.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/radio/context.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/radio/context.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   RadioGroupContextProvider: function() { return /* binding */ RadioGroupContextProvider; }\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\nvar RadioGroupContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null);\nvar RadioGroupContextProvider = RadioGroupContext.Provider;\n/* harmony default export */ __webpack_exports__[\"default\"] = (RadioGroupContext);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/radio/context.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/radio/group.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/radio/group.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _radio__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./radio */ \"../../node_modules/@kdcloudjs/kdesign/es/radio/radio.js\");\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./context */ \"../../node_modules/@kdcloudjs/kdesign/es/radio/context.js\");\n\n\n\n\n\n\n\n\n\nvar RadioGroup = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.forwardRef(function (props, ref) {\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_3__.useContext(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_5__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    prefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  var initValue = typeof props.value === 'undefined' ? props.defaultValue : props.value;\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_3__.useState(initValue),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_React$useState, 2),\n    value = _React$useState2[0],\n    setValue = _React$useState2[1];\n  // 从props更新value值\n  react__WEBPACK_IMPORTED_MODULE_3__.useEffect(function () {\n    if (typeof props.value !== 'undefined') {\n      setValue(props.value);\n    }\n  }, [props.value]);\n  var onRadioChange = function onRadioChange(ev, checkedValue) {\n    var lastValue = value;\n    if (!('value' in props)) {\n      setValue(checkedValue);\n    }\n    var onChange = props.onChange;\n    if (onChange && checkedValue !== lastValue) {\n      onChange(ev, checkedValue);\n    }\n  };\n  var renderGroup = function renderGroup() {\n    var _getCompProps = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getCompProps)('RadioGroup', userDefaultProps, props),\n      id = _getCompProps.id,\n      style = _getCompProps.style,\n      options = _getCompProps.options,\n      disabled = _getCompProps.disabled,\n      children = _getCompProps.children,\n      className = _getCompProps.className,\n      optionType = _getCompProps.optionType,\n      customPrefixcls = _getCompProps.prefixCls; // 属性需要合并一遍用户定义的默认属性\n    var groupPrefixCls = getPrefixCls === null || getPrefixCls === void 0 ? void 0 : getPrefixCls(prefixCls, \"radio-group\", customPrefixcls); // 单选组样式前缀\n    var radioPrefixCls = getPrefixCls === null || getPrefixCls === void 0 ? void 0 : getPrefixCls(prefixCls, \"radio\", customPrefixcls); // 单选样式前缀\n    var childrenToRender = children;\n    // 如果存在 options, 优先使用\n    if (options && options.length > 0) {\n      var _context;\n      var optionsPrefixCls = optionType === undefined ? radioPrefixCls : _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default()(_context = \"\".concat(radioPrefixCls, \"-\")).call(_context, optionType);\n      childrenToRender = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(options).call(options, function (option) {\n        if (typeof option === 'string') {\n          // 此处类型自动推导为 string\n          return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(_radio__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n            key: option,\n            prefixCls: optionsPrefixCls,\n            disabled: disabled,\n            value: option,\n            checked: value === option\n          }, option);\n        }\n        // 此处类型自动推导为 { label: string value: string }\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(_radio__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n          key: \"radio-group-value-options-\".concat(option.value),\n          prefixCls: optionsPrefixCls,\n          disabled: option.disabled || disabled,\n          value: option.value,\n          checked: value === option.value,\n          style: option.style\n        }, option.label);\n      });\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(groupPrefixCls, className),\n      style: style,\n      id: id,\n      ref: ref\n    }, childrenToRender);\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(_context__WEBPACK_IMPORTED_MODULE_8__.RadioGroupContextProvider, {\n    value: {\n      value: value,\n      name: props.name,\n      onChange: onRadioChange,\n      disabled: props.disabled\n    }\n  }, renderGroup());\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.memo(RadioGroup));\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/radio/group.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/radio/index.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/radio/index.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Button: function() { return /* reexport safe */ _radio_button__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; },\n/* harmony export */   Group: function() { return /* reexport safe */ _group__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _radio__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./radio */ \"../../node_modules/@kdcloudjs/kdesign/es/radio/radio.js\");\n/* harmony import */ var _group__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./group */ \"../../node_modules/@kdcloudjs/kdesign/es/radio/group.js\");\n/* harmony import */ var _radio_button__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./radio-button */ \"../../node_modules/@kdcloudjs/kdesign/es/radio/radio-button.js\");\n\n\n\nvar Radio = _radio__WEBPACK_IMPORTED_MODULE_0__[\"default\"];\nRadio.Group = _group__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\nRadio.Group.displayName = 'RadioGroup';\nRadio.Button = _radio_button__WEBPACK_IMPORTED_MODULE_2__[\"default\"];\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Radio);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/radio/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/radio/radio-button.js":
/*!**********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/radio/radio-button.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _radio__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./radio */ \"../../node_modules/@kdcloudjs/kdesign/es/radio/radio.js\");\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./context */ \"../../node_modules/@kdcloudjs/kdesign/es/radio/context.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\nvar RadioButton = function RadioButton(props, ref) {\n  var radioGroupContext = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_context__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_4__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    prefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  var _a = (0,_utils__WEBPACK_IMPORTED_MODULE_5__.getCompProps)('Radio', userDefaultProps, props),\n    customPrefixcls = _a.prefixCls,\n    radioProps = __rest(_a, [\"prefixCls\"]);\n  var radioButtonPrefixCls = getPrefixCls === null || getPrefixCls === void 0 ? void 0 : getPrefixCls(prefixCls, \"radio-button\", customPrefixcls);\n  if (radioGroupContext) {\n    radioProps.checked = props.value === radioGroupContext.value;\n    radioProps.disabled = props.disabled || radioGroupContext.disabled;\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_radio__WEBPACK_IMPORTED_MODULE_6__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    prefixCls: radioButtonPrefixCls\n  }, radioProps, {\n    type: \"radio\",\n    ref: ref\n  }));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(RadioButton));\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/radio/radio-button.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/radio/radio.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/radio/radio.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var lodash_isBoolean__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! lodash/isBoolean */ \"../../node_modules/lodash/isBoolean.js\");\n/* harmony import */ var lodash_isBoolean__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(lodash_isBoolean__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var lodash_isNumber__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash/isNumber */ \"../../node_modules/lodash/isNumber.js\");\n/* harmony import */ var lodash_isNumber__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash_isNumber__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var lodash_isString__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! lodash/isString */ \"../../node_modules/lodash/isString.js\");\n/* harmony import */ var lodash_isString__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(lodash_isString__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./context */ \"../../node_modules/@kdcloudjs/kdesign/es/radio/context.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\n\nvar InternalRadio = function InternalRadio(props, ref) {\n  var _classNames;\n  var context = react__WEBPACK_IMPORTED_MODULE_4___default().useContext(_context__WEBPACK_IMPORTED_MODULE_9__[\"default\"]);\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_4___default().useContext(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_10__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    prefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  var innerRef = react__WEBPACK_IMPORTED_MODULE_4___default().useRef();\n  var mergedRef = ref || innerRef;\n  var _a = (0,_utils__WEBPACK_IMPORTED_MODULE_11__.getCompProps)('Radio', userDefaultProps, props),\n    style = _a.style,\n    checked = _a.checked,\n    children = _a.children,\n    className = _a.className,\n    radioType = _a.radioType,\n    value = _a.value,\n    disabled = _a.disabled,\n    defaultChecked = _a.defaultChecked,\n    customPrefixcls = _a.prefixCls,\n    restProps = __rest(_a, [\"style\", \"checked\", \"children\", \"className\", \"radioType\", \"value\", \"disabled\", \"defaultChecked\", \"prefixCls\"]); // 属性需要合并一遍用户定义的默认属性\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(!(lodash_isNumber__WEBPACK_IMPORTED_MODULE_7___default()(value) || lodash_isString__WEBPACK_IMPORTED_MODULE_8___default()(value)) && value !== '', 'radio', 'radio `value` type must string or number ');\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(value === '', 'radio', 'radio value type is not empty string ');\n  var mergedDisabled = (context === null || context === void 0 ? void 0 : context.disabled) || restProps.disabled;\n  var initValue = context ? value === context.value : lodash_isBoolean__WEBPACK_IMPORTED_MODULE_6___default()(checked) ? checked : defaultChecked;\n  var getPrefix = function getPrefix(radioType) {\n    return \"radio\".concat(radioType === 'square' ? \"-\".concat(radioType) : '');\n  };\n  var radioPrefixCls = getPrefixCls === null || getPrefixCls === void 0 ? void 0 : getPrefixCls(prefixCls, getPrefix(radioType), customPrefixcls); // 样式前缀\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_4___default().useState(initValue),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_React$useState, 2),\n    isChecked = _React$useState2[0],\n    setIsChecked = _React$useState2[1];\n  react__WEBPACK_IMPORTED_MODULE_4___default().useEffect(function () {\n    var checkedValue = context ? value === context.value : lodash_isBoolean__WEBPACK_IMPORTED_MODULE_6___default()(checked) ? checked : defaultChecked;\n    setIsChecked(checkedValue);\n  }, [checked, defaultChecked, context === null || context === void 0 ? void 0 : context.value]);\n  var onChange = function onChange(e) {\n    if (disabled) return;\n    if (typeof (context === null || context === void 0 ? void 0 : context.value) === 'undefined') {\n      setIsChecked(e.target.checked);\n    }\n    if (props.onChange) {\n      props.onChange(e);\n    }\n    if (context === null || context === void 0 ? void 0 : context.onChange) {\n      context.onChange(e, value);\n    }\n  };\n  var classString = classnames__WEBPACK_IMPORTED_MODULE_5___default()((_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(radioPrefixCls), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(radioPrefixCls, \"-disabled\"), disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(radioPrefixCls, \"-checked\"), isChecked), _classNames), className); // 单选包裹元素class名称\n  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {\n    var _a;\n    var handleRepeatClick = function handleRepeatClick(e) {\n      var element = e.target;\n      if (element.tagName !== 'INPUT') {\n        e.stopPropagation();\n      }\n    };\n    var radioRef = mergedRef;\n    (_a = radioRef === null || radioRef === void 0 ? void 0 : radioRef.current) === null || _a === void 0 ? void 0 : _a.addEventListener('click', handleRepeatClick);\n    return function () {\n      var _a;\n      // eslint-disable-next-line react-hooks/exhaustive-deps\n      (_a = radioRef === null || radioRef === void 0 ? void 0 : radioRef.current) === null || _a === void 0 ? void 0 : _a.removeEventListener('click', handleRepeatClick);\n    };\n  }, []);\n  return (\n    /*#__PURE__*/\n    // eslint-disable-next-line\n    react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"label\", {\n      className: classString,\n      style: style,\n      ref: mergedRef\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"input\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, restProps, {\n      type: \"radio\",\n      className: \"\".concat(radioPrefixCls, \"-input\"),\n      checked: isChecked,\n      onChange: onChange,\n      value: value,\n      name: context === null || context === void 0 ? void 0 : context.name,\n      disabled: mergedDisabled\n    })), children !== undefined ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n      className: \"\".concat(radioPrefixCls, \"-text\")\n    }, children) : null)\n  );\n};\nvar Radio = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().forwardRef(InternalRadio);\nRadio.displayName = 'Radio';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Radio);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/radio/radio.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/rate/index.js":
/*!**************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/rate/index.js ***!
  \**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _rate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./rate */ \"../../node_modules/@kdcloudjs/kdesign/es/rate/rate.js\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_rate__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/rate/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/rate/rate.js":
/*!*************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/rate/rate.js ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   SizeTypes: function() { return /* binding */ SizeTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_is_integer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/number/is-integer */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/number/is-integer.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_is_integer__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_number_is_integer__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n\n\n\n\n\n\n\n\n\n\nvar SizeTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('large', 'middle', 'small');\nvar Rate = function Rate(props) {\n  var _context2, _classnames2;\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_4__.useContext(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    pkgPrefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  var _getCompProps = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCompProps)('Rate', userDefaultProps, props),\n    customPrefixcls = _getCompProps.prefixCls,\n    allowHalf = _getCompProps.allowHalf,\n    icon = _getCompProps.icon,\n    activeIcon = _getCompProps.activeIcon,\n    count = _getCompProps.count,\n    defaultValue = _getCompProps.defaultValue,\n    value = _getCompProps.value,\n    onlyActiveCurrent = _getCompProps.onlyActiveCurrent,\n    disabled = _getCompProps.disabled,\n    color = _getCompProps.color,\n    size = _getCompProps.size,\n    className = _getCompProps.className,\n    style = _getCompProps.style,\n    onBlur = _getCompProps.onBlur,\n    onChange = _getCompProps.onChange,\n    onHoverChange = _getCompProps.onHoverChange,\n    onFocus = _getCompProps.onFocus;\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(SizeTypes.indexOf(size) === -1, 'Rate', \"cannot found SizeType '\".concat(size, \"'\"));\n  // className前缀\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'rate', customPrefixcls);\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_4__.useState(defaultValue),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState, 2),\n    selectedValue = _React$useState2[0],\n    setSelectedValue = _React$useState2[1]; // 当前选中的值，包含一位小数\n  var _React$useState3 = react__WEBPACK_IMPORTED_MODULE_4__.useState(0),\n    _React$useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState3, 2),\n    activeNumber = _React$useState4[0],\n    setActiveNumber = _React$useState4[1]; // 鼠标悬停icon位置对应的值\n  react__WEBPACK_IMPORTED_MODULE_4__.useEffect(function () {\n    if (value !== undefined && value !== selectedValue) {\n      setSelectedValue(value);\n    }\n  }, [value, selectedValue]);\n  // const shouldSetValue = (value: number) => {\n  //   return value && value !== 0 && value !== selectedValue\n  // }\n  var handleClick = react__WEBPACK_IMPORTED_MODULE_4__.useCallback(function (value) {\n    setSelectedValue(value);\n    onChange && onChange(value);\n  }, [onChange]);\n  var handleMouseEnter = react__WEBPACK_IMPORTED_MODULE_4__.useCallback(function (value) {\n    setActiveNumber(value);\n    onHoverChange && onHoverChange(value);\n  }, [onHoverChange]);\n  var handleMouseLeave = function handleMouseLeave() {\n    setActiveNumber(0);\n  };\n  var handleFocus = react__WEBPACK_IMPORTED_MODULE_4__.useCallback(function () {\n    onFocus && onFocus();\n  }, [onFocus]);\n  var handleBlur = react__WEBPACK_IMPORTED_MODULE_4__.useCallback(function () {\n    onBlur && onBlur();\n  }, [onBlur]);\n  /**\n   *获取图标\n   * @param icon\n   * @param index\n   */\n  var getIcon = function getIcon(icon, activeIcon, index, isActive) {\n    if (activeIcon && isActive) {\n      icon = activeIcon;\n    }\n    if (typeof icon === 'function') {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"span\", {\n        className: \"\".concat(prefixCls, \"-icon-wrapper\")\n      }, icon(index));\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-icon-second-content\")\n    }, icon);\n  };\n  /**\n   * 获取第一个图标状态\n   * @param value\n   * @param index\n   * @param onlyActiveCurrent\n   * @param isSecondIconActive\n   */\n  var getFirstIconStatus = function getFirstIconStatus(value, index, onlyActiveCurrent, secondIconStatus) {\n    var half = 0.5;\n    var isInteger = _babel_runtime_corejs3_core_js_stable_number_is_integer__WEBPACK_IMPORTED_MODULE_2___default()(value);\n    value = transferValue(value, index);\n    var isActiveAllLeft = value >= index || value === index - half;\n    var isActiveCurrent = value === index;\n    var isActiveFirst = value === index - half;\n    var mark;\n    if (secondIconStatus) {\n      // 第二个图标被激活则第一个也必须激活\n      mark = true;\n    } else if (!onlyActiveCurrent) {\n      // 激活点击位置所有左侧图标\n      mark = isActiveAllLeft;\n    } else if (isInteger) {\n      // 点击全图标只激活当前点击图标\n      mark = isActiveCurrent;\n    } else {\n      mark = isActiveFirst; // 点击半个图标只激活当前点击图标\n    }\n\n    return mark;\n  };\n  var transferValue = function transferValue(value, index) {\n    var half = 0.5;\n    if (index - value === half) {\n      return value;\n    } else {\n      return Math.round(value);\n    }\n  };\n  /**\n   * 获取第二个图标状态\n   * @param value\n   * @param index\n   * @param onlyActiveCurrent\n   */\n  var getSecondIconStatus = function getSecondIconStatus(value, index, onlyActiveCurrent) {\n    if (!onlyActiveCurrent) {\n      // 激活所有左侧图标\n      return value >= index;\n    } else {\n      return value === index; // 只激活当前点击图标\n    }\n  };\n  /**\n   * 返回图标的样式\n   * @param isActive\n   */\n  var getIconStyle = function getIconStyle(isActive) {\n    if (isActive) return {\n      color: color\n    };\n  };\n  /**\n   *\n   * @param selectActive 当前图标是否被选中\n   * @param mouseActive 当前图标是否触发鼠标hover效果\n   */\n  var isSelected = function isSelected(selectActive, mouseActive) {\n    return activeNumber !== 0 ? mouseActive : selectActive;\n  };\n  var getIconClassName = function getIconClassName(name, isActive) {\n    var _context, _classnames;\n    return classnames__WEBPACK_IMPORTED_MODULE_5___default()((_classnames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(prefixCls, \"-icon-\")).call(_context, name), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames, \"\".concat(prefixCls, \"-icon-selected\"), isActive), _classnames));\n  };\n  /**\n   * 获取图标视图\n   */\n  var getRateIconView = function getRateIconView() {\n    var half = 0.5;\n    var rateIconsView = [];\n    var _loop = function _loop(i) {\n      var isMouseOnSecondIcon = getSecondIconStatus(activeNumber, i, onlyActiveCurrent);\n      var isMouseOnFirstIcon = getFirstIconStatus(activeNumber, i, onlyActiveCurrent, isMouseOnSecondIcon);\n      var isSecondSelected = getSecondIconStatus(selectedValue, i, onlyActiveCurrent);\n      var isFirstSelected = getFirstIconStatus(selectedValue, i, onlyActiveCurrent, isSecondSelected);\n      var isFirstActive = isSelected(isFirstSelected, isMouseOnFirstIcon);\n      var isSecondActive = isSelected(isSecondSelected, isMouseOnSecondIcon);\n      var IconStyle = getIconStyle(isFirstActive);\n      var firstIconStyle = getIconStyle(isFirstActive);\n      var firstIconClassName = getIconClassName('first', isFirstActive);\n      var secondIconClassName = getIconClassName('second', isSecondActive);\n      rateIconsView.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"span\", {\n        className: \"\".concat(prefixCls, \"-item\"),\n        key: i\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"div\", {\n        className: \"\".concat(prefixCls, \"-icon-view\")\n      }, allowHalf && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"span\", {\n        style: firstIconStyle,\n        className: firstIconClassName,\n        onClick: function onClick() {\n          return handleClick(i - half);\n        },\n        onMouseEnter: function onMouseEnter() {\n          return handleMouseEnter(i - half);\n        },\n        onMouseLeave: function onMouseLeave() {\n          return handleMouseLeave();\n        }\n      }, getIcon(icon, activeIcon, i, isFirstActive)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"span\", {\n        style: IconStyle,\n        className: secondIconClassName,\n        onClick: function onClick() {\n          return handleClick(i);\n        },\n        onMouseEnter: function onMouseEnter() {\n          return handleMouseEnter(i);\n        },\n        onMouseLeave: function onMouseLeave() {\n          return handleMouseLeave();\n        }\n      }, getIcon(icon, activeIcon, i, isSecondActive)))));\n    };\n    for (var i = 1; i <= count; i++) {\n      _loop(i);\n    }\n    return rateIconsView;\n  };\n  /**\n   * 获取图标下方情感描述文字\n   * @param index 图标对应索引\n   */\n  //   const getEmotionalTextView = (index:number):React.ReactNode => {\n  //     return (\n  //         <span className={`${prefixCls}-item-text`}>\n  //           {emotionalText[index] ? emotionalText[index] : null}\n  //         </span>\n  //     )\n  //   }\n  var getRateClassName = classnames__WEBPACK_IMPORTED_MODULE_5___default()(prefixCls, className, (_classnames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames2, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context2 = \"\".concat(prefixCls, \"-size-\")).call(_context2, size), size), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classnames2, \"\".concat(prefixCls, \"-disabled\"), disabled), _classnames2));\n  var rate = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"span\", {\n    className: getRateClassName,\n    style: style,\n    onMouseLeave: function onMouseLeave() {\n      return handleBlur();\n    },\n    onMouseEnter: function onMouseEnter() {\n      return handleFocus();\n    }\n  }, getRateIconView());\n  return rate;\n};\nRate.displayName = 'Rate';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Rate);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/rate/rate.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/search/index.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/search/index.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   BorderTypes: function() { return /* reexport safe */ _interface__WEBPACK_IMPORTED_MODULE_0__.BorderTypes; },\n/* harmony export */   SearchSizeTypes: function() { return /* reexport safe */ _interface__WEBPACK_IMPORTED_MODULE_0__.SearchSizeTypes; },\n/* harmony export */   SearchTypes: function() { return /* reexport safe */ _interface__WEBPACK_IMPORTED_MODULE_0__.SearchTypes; }\n/* harmony export */ });\n/* harmony import */ var _search__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./search */ \"../../node_modules/@kdcloudjs/kdesign/es/search/search.js\");\n/* harmony import */ var _option__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./option */ \"../../node_modules/@kdcloudjs/kdesign/es/search/option.js\");\n/* harmony import */ var _interface__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interface */ \"../../node_modules/@kdcloudjs/kdesign/es/search/interface.js\");\n\n\n\nvar Search = _search__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\nSearch.Option = _option__WEBPACK_IMPORTED_MODULE_2__[\"default\"];\n/* harmony default export */ __webpack_exports__[\"default\"] = (Search);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/search/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/search/interface.js":
/*!********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/search/interface.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   BorderTypes: function() { return /* binding */ BorderTypes; },\n/* harmony export */   SearchSizeTypes: function() { return /* binding */ SearchSizeTypes; },\n/* harmony export */   SearchTypes: function() { return /* binding */ SearchTypes; }\n/* harmony export */ });\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n\nvar SearchTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_0__.tuple)('basis', 'quick-search', 'panel');\nvar BorderTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_0__.tuple)('none', 'underline', 'bordered');\nvar SearchSizeTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_0__.tuple)('large', 'middle', 'small');\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/search/interface.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/search/option.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/search/option.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils_arrayUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_utils/arrayUtil */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/arrayUtil.js\");\n\n\n\n\n\nvar InternalOption = function InternalOption(props, ref) {\n  var _classNames;\n  var optionRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null) || ref;\n  var className = props.className,\n    onChangeSelect = props.onChangeSelect,\n    tag = props.tag,\n    value = props.value,\n    searchValue = props.searchValue,\n    index = props.index,\n    selectedIndex = props.selectedIndex,\n    isFormatVal = props.isFormatVal;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_3__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    getLangMsg = _useContext.locale.getLangMsg;\n  var optionPrefixCls = getPrefixCls(prefixCls, 'quick-search');\n  var optionCls = classnames__WEBPACK_IMPORTED_MODULE_2___default()(className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(optionPrefixCls, \"-option\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(optionPrefixCls, \"-option-selected\"), index === selectedIndex), _classNames));\n  var optionTagCls = classnames__WEBPACK_IMPORTED_MODULE_2___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(optionPrefixCls, \"-option-tag\"), true));\n  var optionContentCls = classnames__WEBPACK_IMPORTED_MODULE_2___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(optionPrefixCls, \"-option-content\"), true));\n  var handleClick = function handleClick() {\n    // setSelected(!isSelected)\n    onChangeSelect && (onChangeSelect === null || onChangeSelect === void 0 ? void 0 : onChangeSelect({\n      tag: tag,\n      label: searchValue,\n      value: value\n    }));\n  };\n  var formatSearchValue = isFormatVal ? (0,_utils_arrayUtil__WEBPACK_IMPORTED_MODULE_4__.getStringToArray)(searchValue || '').join(\" \".concat(getLangMsg('Search', 'or'), \" \")) : searchValue;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n    ref: optionRef,\n    className: optionCls,\n    onClick: handleClick\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"span\", {\n    className: optionTagCls\n  }, \"\".concat(tag, \"\\uFF1A\")), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"span\", {\n    className: optionContentCls,\n    title: formatSearchValue\n  }, formatSearchValue));\n};\nvar Option = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(InternalOption);\nOption.displayName = 'Option';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Option);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/search/option.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/search/quick-search.js":
/*!***********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/search/quick-search.js ***!
  \***********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/json/stringify */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/json/stringify.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var lodash_debounce__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! lodash/debounce */ \"../../node_modules/lodash/debounce.js\");\n/* harmony import */ var lodash_debounce__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(lodash_debounce__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils_react_children__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../_utils/react-children */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/react-children.js\");\n/* harmony import */ var _utils_usePopper__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../_utils/usePopper */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/usePopper.js\");\n/* harmony import */ var _option__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./option */ \"../../node_modules/@kdcloudjs/kdesign/es/search/option.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _utils_arrayUtil__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../_utils/arrayUtil */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/arrayUtil.js\");\n\n\n\n\n\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_5___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_5___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\n\nvar INPUT_MIN_WIDTH = 4; // 输入框最小宽度\nvar InternalQuickSearch = function InternalQuickSearch(props, ref) {\n  var _classNames, _classNames2;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_10__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_13__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    getLangMsg = _useContext.locale.getLangMsg;\n  // const quickSearchProps = getCompProps('QuickSearch', userDefaultProps, props)\n  var customPrefixcls = props.prefixCls,\n    className = props.className,\n    placeholder = props.placeholder,\n    style = props.style,\n    desc = props.desc,\n    dropdownStyle = props.dropdownStyle,\n    _props$tags = props.tags,\n    tags = _props$tags === void 0 ? [] : _props$tags,\n    children = props.children,\n    onBlur = props.onBlur,\n    onFocus = props.onFocus,\n    onChange = props.onChange,\n    onSelect = props.onSelect,\n    onSearch = props.onSearch,\n    disabled = props.disabled,\n    borderType = props.borderType,\n    others = __rest(props, [\"prefixCls\", \"className\", \"placeholder\", \"style\", \"desc\", \"dropdownStyle\", \"tags\", \"children\", \"onBlur\", \"onFocus\", \"onChange\", \"onSelect\", \"onSearch\", \"disabled\", \"borderType\"]);\n  var realChildren = Array.isArray(tags) && tags.length ? tags : (0,_utils_react_children__WEBPACK_IMPORTED_MODULE_14__.toArray)(children); // tags配置项和默认children\n  var innerRef = (0,react__WEBPACK_IMPORTED_MODULE_10__.useRef)();\n  var quickSearchRef = ref || innerRef;\n  var dropDownRef = (0,react__WEBPACK_IMPORTED_MODULE_10__.useRef)(null);\n  var inputRef = (0,react__WEBPACK_IMPORTED_MODULE_10__.useRef)(null);\n  var measureRef = react__WEBPACK_IMPORTED_MODULE_10___default().useRef(null);\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(_useState, 2),\n    isFocused = _useState2[0],\n    setIsFocused = _useState2[1]; // input focus\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(false),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(_useState3, 2),\n    optionShow = _useState4[0],\n    setOptionShow = _useState4[1]; // 下拉列表是否展示\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(''),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(_useState5, 2),\n    searchValue = _useState6[0],\n    setSearchValue = _useState6[1]; // input输入值\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)([]),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(_useState7, 2),\n    tagsList = _useState8[0],\n    setTagsList = _useState8[1]; // tags\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(INPUT_MIN_WIDTH),\n    _useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(_useState9, 2),\n    inputWidth = _useState10[0],\n    setInputWidth = _useState10[1]; // 输入框宽度\n  var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(0),\n    _useState12 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(_useState11, 2),\n    selectedIndex = _useState12[0],\n    setSelectedIndex = _useState12[1]; // 下拉选中 默认第一个\n  // 处理智能搜索props\n  var getNlpSearchProps = function getNlpSearchProps() {\n    var nlpSearch = props.nlpSearch;\n    if (!nlpSearch) return {};\n    return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({\n      isSupportNlpSearch: true,\n      nlpSearchLoading: false,\n      nlpSearchResult: {}\n    }, (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(nlpSearch) === 'object' ? nlpSearch : null);\n  };\n  var _getNlpSearchProps = getNlpSearchProps(),\n    isSupportNlpSearch = _getNlpSearchProps.isSupportNlpSearch,\n    nlpSearchLoading = _getNlpSearchProps.nlpSearchLoading,\n    onNlpSearch = _getNlpSearchProps.onNlpSearch,\n    nlpSearchResult = _getNlpSearchProps.nlpSearchResult;\n  var onNlpSearchDebounce = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(function () {\n    return lodash_debounce__WEBPACK_IMPORTED_MODULE_12___default()(function (val) {\n      return onNlpSearch === null || onNlpSearch === void 0 ? void 0 : onNlpSearch(val);\n    }, 300);\n  }, [onNlpSearch]);\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useLayoutEffect)(function () {\n    measureRef.current && setInputWidth(measureRef.current.scrollWidth);\n    setOptionShow(!!searchValue);\n  }, [searchValue]);\n  var quickSearchPrefixCls = getPrefixCls(prefixCls, 'quick-search', customPrefixcls);\n  var quickSearchCls = classnames__WEBPACK_IMPORTED_MODULE_11___default()(quickSearchPrefixCls, className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(quickSearchPrefixCls, \"-focused\"), isFocused || tagsList.length), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(quickSearchPrefixCls, \"-disabled\"), disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(quickSearchPrefixCls, \"-borderless\"), borderType === 'none'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(quickSearchPrefixCls, \"-border\"), borderType === 'bordered'), _classNames));\n  var quickSearchSelectorCls = classnames__WEBPACK_IMPORTED_MODULE_11___default()((_classNames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(quickSearchPrefixCls, \"-selector\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(quickSearchPrefixCls, \"-selector-disabled\"), disabled), _classNames2));\n  var inputCls = classnames__WEBPACK_IMPORTED_MODULE_11___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(quickSearchPrefixCls, \"-input\"), true));\n  // 下拉列表样式\n  var dropDownCls = classnames__WEBPACK_IMPORTED_MODULE_11___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(quickSearchPrefixCls, \"-dropdown\"), true));\n  var dropContentCls = classnames__WEBPACK_IMPORTED_MODULE_11___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(quickSearchPrefixCls, \"-dropdown-scroll\"), true));\n  var setInputFocus = function setInputFocus() {\n    setIsFocused(true);\n    inputRef.current && inputRef.current.focus();\n  };\n  var handleFocus = (0,react__WEBPACK_IMPORTED_MODULE_10__.useCallback)(function (event) {\n    setIsFocused(true);\n    onFocus && (onFocus === null || onFocus === void 0 ? void 0 : onFocus(event));\n  }, [onFocus]);\n  var handleBlur = (0,react__WEBPACK_IMPORTED_MODULE_10__.useCallback)(function (event) {\n    setIsFocused(false);\n    setSelectedIndex(0);\n    onBlur && (onBlur === null || onBlur === void 0 ? void 0 : onBlur(event));\n  }, [onBlur]);\n  var handleAddTagsList = function handleAddTagsList(addTag) {\n    var _context;\n    setTagsList(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context = []).call(_context, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(tagsList), [addTag]));\n    setSelectedIndex(0);\n    setSearchValue('');\n    setOptionShow(false);\n    setInputFocus();\n  };\n  var handleKeyDownDel = function handleKeyDownDel(val, tags) {\n    if (!val && tags.length) {\n      var popItem = tags.pop();\n      setTagsList(tags);\n      setSearchValue(popItem === null || popItem === void 0 ? void 0 : popItem.label);\n    }\n  };\n  var handleKeyDownUp = function handleKeyDownUp(index, length) {\n    // index 为下标 length为长长度\n    var currentIndex = index;\n    if (index === 0) {\n      currentIndex = length - 1;\n    } else {\n      currentIndex--;\n    }\n    setSelectedIndex(currentIndex);\n  };\n  var handleKeyDownDown = function handleKeyDownDown(index, length) {\n    var currentIndex = index;\n    if (index === length - 1) {\n      currentIndex = 0;\n    } else {\n      currentIndex++;\n    }\n    setSelectedIndex(currentIndex);\n  };\n  var handleKeyDownEnter = function handleKeyDownEnter(val, index) {\n    if (!val) {\n      var seletedKeyList = getParamsListByKey(tagsList, 'value');\n      var formatedTagList = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7___default()(tagsList).call(tagsList, function (item) {\n        return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({}, item), {\n          label: formatSelectedTagsLabel(item.label || '')\n        });\n      });\n      onChange && (onChange === null || onChange === void 0 ? void 0 : onChange(seletedKeyList, formatedTagList));\n      return;\n    }\n    if (realChildren[index]) {\n      var selectedTag = realChildren[index];\n      if (realChildren[index].props && (realChildren[index].type.displayName === 'Option' || realChildren[index].type.name === 'Option')) {\n        var _realChildren$index$p = realChildren[index].props,\n          value = _realChildren$index$p.value,\n          tag = _realChildren$index$p.tag;\n        selectedTag = {\n          value: value,\n          tag: tag\n        };\n      }\n      handleAddTagsList((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({}, selectedTag), {\n        label: val\n      }));\n      handleOption((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({}, selectedTag), {\n        label: val\n      }));\n    } else {\n      var _tag = getLangMsg('Search', 'nplDesc');\n      handleAddTagsList((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({\n        tag: _tag\n      }, nlpSearchResult));\n      handleOption((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({\n        tag: _tag\n      }, nlpSearchResult));\n    }\n    setSelectedIndex(0);\n    setSearchValue('');\n    setOptionShow(false);\n    setInputFocus();\n  };\n  var onKeyDown = function onKeyDown(e) {\n    var val = e.target.value;\n    var tagsLength = realChildren.length;\n    var hasNlpSearchResult = isSupportNlpSearch && !nlpSearchLoading;\n    if (hasNlpSearchResult) {\n      tagsLength++;\n    }\n    switch (e.keyCode) {\n      // backspace\n      case 8:\n        !val && e.preventDefault();\n        handleKeyDownDel(val, JSON.parse(_babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_8___default()(tagsList), e));\n        break;\n      // enter\n      case 13:\n        handleKeyDownEnter(val, selectedIndex);\n        break;\n      // up\n      case 38:\n        !canShowDesc() && handleKeyDownUp(selectedIndex, tagsLength);\n        break;\n      // down\n      case 40:\n        !canShowDesc() && handleKeyDownDown(selectedIndex, tagsLength);\n        break;\n      default:\n        break;\n    }\n  };\n  var handleSearchChange = function handleSearchChange(event) {\n    var val = event.target.value;\n    setSearchValue(val);\n    onSearch && (onSearch === null || onSearch === void 0 ? void 0 : onSearch(event));\n    isSupportNlpSearch && (onNlpSearchDebounce === null || onNlpSearchDebounce === void 0 ? void 0 : onNlpSearchDebounce(val));\n  };\n  var getParamsListByKey = function getParamsListByKey(params, key) {\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7___default()(params).call(params, function (param) {\n      return param[key];\n    });\n  };\n  var handleOption = function handleOption(selectedTag) {\n    var _context2, _context3;\n    var value = selectedTag.value,\n      label = selectedTag.label;\n    var formatedTag = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({}, selectedTag), {\n      label: formatSelectedTagsLabel(label || '')\n    });\n    handleAddTagsList(selectedTag);\n    var seletedKeyList = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context2 = []).call(_context2, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(getParamsListByKey(tagsList, 'value')), [value]);\n    var formatedTagList = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7___default()(tagsList).call(tagsList, function (item) {\n      return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({}, item), {\n        label: formatSelectedTagsLabel(item.label || '')\n      });\n    });\n    onChange && (onChange === null || onChange === void 0 ? void 0 : onChange(seletedKeyList, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context3 = []).call(_context3, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(formatedTagList), [formatedTag])));\n    onSelect && (onSelect === null || onSelect === void 0 ? void 0 : onSelect(value, formatedTag));\n    setSearchValue('');\n  };\n  var handleDelSelectedTags = function handleDelSelectedTags(e, index) {\n    e.stopPropagation();\n    var newTagsList = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9___default()(tagsList).call(tagsList, function (_item, ind) {\n      return index !== ind;\n    });\n    setTagsList(newTagsList);\n    setInputFocus();\n    onChange && (onChange === null || onChange === void 0 ? void 0 : onChange(getParamsListByKey(newTagsList, 'value'), newTagsList));\n  };\n  var renderSelectedTags = function renderSelectedTags() {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement((react__WEBPACK_IMPORTED_MODULE_10___default().Fragment), null, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7___default()(tagsList).call(tagsList, function (item, index) {\n      var formatTag = formatSearchValue(item.label);\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", {\n        key: index,\n        className: classnames__WEBPACK_IMPORTED_MODULE_11___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(quickSearchPrefixCls, \"-selection-overflow-item\"), true))\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"span\", {\n        className: classnames__WEBPACK_IMPORTED_MODULE_11___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(quickSearchPrefixCls, \"-selection-overflow-item-tag\"), true)),\n        title: item.tag\n      }, item.tag), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"span\", {\n        className: classnames__WEBPACK_IMPORTED_MODULE_11___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(quickSearchPrefixCls, \"-selection-overflow-item-label\"), true)),\n        title: formatTag\n      }, formatTag), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_index__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n        className: classnames__WEBPACK_IMPORTED_MODULE_11___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(quickSearchPrefixCls, \"-selection-overflow-item-del\"), true)),\n        type: \"close-solid\",\n        onClick: function onClick(e) {\n          return handleDelSelectedTags(e, index);\n        }\n      }));\n    }));\n  };\n  var getInputPlaceholder = function getInputPlaceholder() {\n    return placeholder || getLangMsg('Search', 'placeholder');\n  };\n  // 实现input placeholder\n  var renderPlaceholder = function renderPlaceholder() {\n    if (tagsList.length > 0 || searchValue) return null;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"span\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_11___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(quickSearchPrefixCls, \"-selection-placeholder\"), true))\n    }, getInputPlaceholder());\n  };\n  var handleClickInputFosus = function handleClickInputFosus(e) {\n    e.stopPropagation();\n    !disabled && setInputFocus();\n  };\n  var renderSelect = function renderSelect() {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({\n      className: quickSearchCls,\n      ref: quickSearchRef,\n      style: style,\n      onClick: handleClickInputFosus\n    }, others), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"span\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_11___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(quickSearchPrefixCls, \"-prefix\"), true))\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_index__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n      type: \"search\"\n    })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", {\n      className: quickSearchSelectorCls\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_11___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(quickSearchPrefixCls, \"-selection-overflow\"), true)),\n      onClick: handleClickInputFosus\n    }, renderSelectedTags(), renderPlaceholder(), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", {\n      className: \"\".concat(quickSearchPrefixCls, \"-selection-search\"),\n      style: {\n        width: inputWidth\n      }\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"input\", {\n      ref: inputRef,\n      value: searchValue,\n      className: inputCls,\n      onChange: handleSearchChange,\n      onFocus: handleFocus,\n      onBlur: handleBlur,\n      onKeyDown: onKeyDown\n    }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"span\", {\n      ref: measureRef,\n      className: \"\".concat(quickSearchPrefixCls, \"-selection-search-mirror\")\n    }, searchValue, \"\\xA0\")))));\n  };\n  var formatSelectedTagsLabel = function formatSelectedTagsLabel(val) {\n    return val.indexOf(' ') !== -1 ? (0,_utils_arrayUtil__WEBPACK_IMPORTED_MODULE_16__.getStringToArray)(val) : val;\n  };\n  var formatSearchValue = function formatSearchValue(val) {\n    return (0,_utils_arrayUtil__WEBPACK_IMPORTED_MODULE_16__.getStringToArray)(val).join(\" \".concat(getLangMsg('Search', 'or'), \" \"));\n  };\n  var renderOption = function renderOption(child, index, val) {\n    var isFormatVal = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;\n    var _a, _b;\n    if ((child === null || child === void 0 ? void 0 : child.props) && (((_a = child.type) === null || _a === void 0 ? void 0 : _a.displayName) === 'Option' || ((_b = child.type) === null || _b === void 0 ? void 0 : _b.name) === 'Option')) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_option__WEBPACK_IMPORTED_MODULE_17__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({\n        key: index\n      }, child.props, {\n        index: index,\n        selectedIndex: selectedIndex,\n        searchValue: val,\n        onChangeSelect: handleOption,\n        isFormatVal: isFormatVal\n      }));\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_option__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {\n      key: index,\n      index: index,\n      selectedIndex: selectedIndex,\n      value: child === null || child === void 0 ? void 0 : child.value,\n      tag: child === null || child === void 0 ? void 0 : child.tag,\n      searchValue: val,\n      onChangeSelect: handleOption,\n      isFormatVal: isFormatVal\n    });\n  };\n  // 是否展示下拉提示\n  var canShowDesc = function canShowDesc() {\n    return !searchValue && !tagsList.length;\n  };\n  // loading\n  var renderLoading = function renderLoading() {\n    var loadingItemPrefixCls = classnames__WEBPACK_IMPORTED_MODULE_11___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(quickSearchPrefixCls, \"-npl-loading-item\"), true));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_11___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(quickSearchPrefixCls, \"-npl-loading\"), true))\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"span\", {\n      className: loadingItemPrefixCls\n    }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"span\", {\n      className: loadingItemPrefixCls\n    }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"span\", {\n      className: loadingItemPrefixCls\n    }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"span\", {\n      className: loadingItemPrefixCls\n    }));\n  };\n  // 智能搜索\n  var renderNlpSearch = function renderNlpSearch() {\n    var tag = getLangMsg('Search', 'nplDesc');\n    var value = nlpSearchResult.value,\n      label = nlpSearchResult.label;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_11___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(quickSearchPrefixCls, \"-npl\"), true))\n    }, nlpSearchLoading ? renderLoading() : renderOption({\n      tag: tag,\n      value: value\n    }, realChildren.length, label, false));\n  };\n  // 下拉列表为空时显示的内容\n  var renderNotContent = function renderNotContent() {\n    // 下拉列表为空\n    var emptyListCls = classnames__WEBPACK_IMPORTED_MODULE_11___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(quickSearchPrefixCls, \"-dropdown-empty\"), true));\n    // const { notFoundContent } = quickSearchProps\n    var notFoundContent = props.notFoundContent;\n    var emptyContent = notFoundContent || getLangMsg('Search', 'emptyTip');\n    // 当输入tags为空并且input的输入值不为空时展示\n    return realChildren.length === 0 && searchValue && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", {\n      className: emptyListCls\n    }, emptyContent);\n  };\n  // 下拉列表\n  var renderDropDownContent = function renderDropDownContent(tagsTorender, heightStyle) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", {\n      className: dropContentCls,\n      style: heightStyle\n    }, tagsTorender, isSupportNlpSearch && renderNlpSearch());\n  };\n  // 下拉提示\n  var renderDesc = function renderDesc() {\n    var dropDoenDescCls = classnames__WEBPACK_IMPORTED_MODULE_11___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(quickSearchPrefixCls, \"-dropdown-desc\"), true));\n    var dropDoenDesc = desc || getLangMsg('Search', 'desc');\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement((react__WEBPACK_IMPORTED_MODULE_10___default().Fragment), null, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7___default()(dropDoenDesc).call(dropDoenDesc, function (item, index) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", {\n        className: dropDoenDescCls,\n        key: index,\n        title: dropDoenDesc\n      }, item);\n    }));\n  };\n  var renderDropDown = function renderDropDown() {\n    // dropdownRender 自定义下拉列表 待完成\n    // const { listHeight } = quickSearchProps\n    var listHeight = props.listHeight;\n    var tagsTorender = realChildren;\n    if (Array.isArray(realChildren) && realChildren.length > 0) {\n      tagsTorender = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7___default()(realChildren).call(realChildren, function (item, index) {\n        if (item === null || item === undefined) return;\n        var temp = renderOption(item, index, searchValue);\n        return temp;\n      });\n    }\n    var heightStyle = {\n      maxHeight: listHeight || '300px'\n    };\n    // 下拉框style属性\n    var dropDownStyle = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({\n      width: style === null || style === void 0 ? void 0 : style.width\n    }, dropdownStyle);\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", {\n      className: dropDownCls,\n      style: dropDownStyle,\n      ref: dropDownRef\n    }, canShowDesc() ? renderDesc() : renderDropDownContent(tagsTorender, heightStyle), renderNotContent());\n  };\n  var catchStyle = function catchStyle() {\n    var _a;\n    if (quickSearchRef === null || quickSearchRef === void 0 ? void 0 : quickSearchRef.current) {\n      var _ref = (_a = quickSearchRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect(),\n        width = _ref.width;\n      return {\n        width: (dropdownStyle === null || dropdownStyle === void 0 ? void 0 : dropdownStyle.width) || (width > 75 ? width : 75),\n        zIndex: 1050\n      };\n    }\n  };\n  var canShowDropDown = function canShowDropDown() {\n    return !searchValue && !tagsList.length || searchValue;\n  };\n  var handleVisibleChange = function handleVisibleChange(visible) {\n    if (visible) {\n      canShowDropDown() && setOptionShow(visible);\n      return;\n    }\n    setIsFocused(false);\n    setOptionShow(visible);\n  };\n  var popperProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({}, props), {\n    placement: 'bottomLeft',\n    popperStyle: catchStyle(),\n    defaultVisible: optionShow,\n    visible: optionShow,\n    prefixCls: \"\".concat(quickSearchPrefixCls, \"-dropdown-wrapper\"),\n    onVisibleChange: handleVisibleChange\n  });\n  return (0,_utils_usePopper__WEBPACK_IMPORTED_MODULE_18__[\"default\"])(renderSelect(), renderDropDown(), popperProps);\n};\nvar QuickSearch = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().forwardRef(InternalQuickSearch);\nQuickSearch.displayName = 'QuickSearch';\n/* harmony default export */ __webpack_exports__[\"default\"] = (QuickSearch);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/search/quick-search.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/search/search-panel.js":
/*!***********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/search/search-panel.js ***!
  \***********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/tooltip/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/input/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/spin/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/image/index.js\");\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n\n\n\n\n\n\n\n\n\n\nvar InternalSearchPanel = function InternalSearchPanel(props, ref) {\n  var _context4, _context5;\n  var thisSearchPanelRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)();\n  var searchPanelRef = ref || thisSearchPanelRef;\n  var tooltipRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null);\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_6__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__[\"default\"]),\n    getLangMsg = _useContext.locale.getLangMsg;\n  var prefixCls = props.prefixCls,\n    className = props.className,\n    style = props.style,\n    placeholder = props.placeholder,\n    suffix = props.suffix,\n    _props$panelSearch = props.panelSearch,\n    panelSearch = _props$panelSearch === void 0 ? {} : _props$panelSearch;\n  var panelTypes = panelSearch.panelTypes,\n    _panelSearch$panelRes = panelSearch.panelResult,\n    panelResult = _panelSearch$panelRes === void 0 ? [] : _panelSearch$panelRes,\n    onPanelSelect = panelSearch.onPanelSelect,\n    onPanelSearch = panelSearch.onPanelSearch,\n    onPanelChange = panelSearch.onPanelChange,\n    _panelSearch$panelSea = panelSearch.panelSearchLoading,\n    panelSearchLoading = _panelSearch$panelSea === void 0 ? false : _panelSearch$panelSea,\n    displayList = panelSearch.displayList,\n    displayImg = panelSearch.displayImg;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    visible = _useState2[0],\n    setVisible = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(''),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState3, 2),\n    inputValue = _useState4[0],\n    setInputValue = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(Array.isArray(panelTypes) && panelTypes.length ? panelTypes[0] : {}),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState5, 2),\n    type = _useState6[0],\n    setType = _useState6[1];\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)({}),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState7, 2),\n    result = _useState8[0],\n    setResult = _useState8[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () {\n    setResult(Array.isArray(panelResult) && panelResult.length ? panelResult[0] : {});\n  }, [panelResult]);\n  var searchPanelCls = classnames__WEBPACK_IMPORTED_MODULE_7___default()(className, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(prefixCls, \"-panel\"), true));\n  var handleSearchChange = function handleSearchChange(e) {\n    setInputValue(e.target.value);\n    onPanelChange((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, type), {\n      value: e.target.value\n    }));\n  };\n  var handleMouseOver = function handleMouseOver(item) {\n    setResult(item);\n  };\n  var handleSelect = function handleSelect(item) {\n    onPanelSelect(item);\n  };\n  var handleSearch = function handleSearch() {\n    onPanelSearch((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, type), {\n      value: inputValue\n    }));\n  };\n  var onVisibleChange = function onVisibleChange(visible) {\n    setVisible(visible);\n  };\n  var handleSelectType = function handleSelectType(item) {\n    setType(item);\n    setVisible(false);\n    inputValue && (onPanelChange === null || onPanelChange === void 0 ? void 0 : onPanelChange((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, item), {\n      value: inputValue\n    })));\n  };\n  var text = function text() {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n      className: \"\".concat(prefixCls, \"-panel-type\")\n    }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default()(panelTypes).call(panelTypes, function (item, index) {\n      var _context;\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"span\", {\n        key: index,\n        className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = \"\".concat(prefixCls, \"-panel-type-list\")).call(_context, item.code === type.code ? \" \".concat(prefixCls, \"-panel-type-list-active\") : ''),\n        onClick: function onClick() {\n          return handleSelectType(item);\n        }\n      }, item.label);\n    }));\n  };\n  var renderDisplayListShow = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(function (left, right) {\n    var _context2;\n    var leftContent = left && right ? \"\".concat(left, \": \") : '';\n    var rightContent = right || '';\n    return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = \"\".concat(leftContent)).call(_context2, rightContent);\n  }, []);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement((react__WEBPACK_IMPORTED_MODULE_6___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    ref: searchPanelRef,\n    className: searchPanelCls,\n    style: style\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-panel-wrapper\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    ref: tooltipRef,\n    className: \"\".concat(prefixCls, \"-panel-tooltip-content\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_index__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n    placement: \"bottomLeft\",\n    visible: visible,\n    trigger: \"click\",\n    onVisibleChange: onVisibleChange,\n    tip: text(),\n    popperClassName: \"\".concat(prefixCls, \"-panel-tooltip\"),\n    getTriggerElement: function getTriggerElement(ele) {\n      return tooltipRef.current || ele;\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-panel-recommend\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    style: {\n      whiteSpace: 'nowrap'\n    }\n  }, type.label), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-panel-recommend-icon\"),\n    style: {\n      transform: \"\".concat(visible ? 'rotate(180deg)' : 'rotate(0deg)')\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_index__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    type: \"arrow-down\"\n  }))))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_index__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    placeholder: placeholder || getLangMsg('Search', 'placeholder'),\n    borderType: \"none\",\n    allowClear: true,\n    suffix: suffix,\n    onChange: handleSearchChange\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-panel-dropDown\"),\n    style: inputValue ? {\n      visibility: 'visible',\n      opacity: 1\n    } : {\n      visibility: 'hidden',\n      height: 0,\n      opacity: 0\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-panel-dropDown-result\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-panel-dropDown-result-wrapper\")\n  }, Array.isArray(panelResult) && _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default()(panelResult).call(panelResult, function (item, index) {\n    var _context3;\n    return (\n      /*#__PURE__*/\n      // eslint-disable-next-line jsx-a11y/mouse-events-have-key-events\n      react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n        className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = \"\".concat(prefixCls, \"-panel-dropDown-result-list\")).call(_context3, item.id === result.id ? \" \".concat(prefixCls, \"-panel-dropDown-result-list-active\") : ''),\n        key: index,\n        onMouseOver: function onMouseOver() {\n          return handleMouseOver(item);\n        },\n        onClick: function onClick() {\n          return handleSelect(item);\n        }\n      }, item.icon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"img\", {\n        src: item.icon,\n        alt: \"img\"\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n        style: {\n          display: 'flex',\n          justifyContent: 'space-between',\n          flex: 1\n        }\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n        style: {\n          width: '60%'\n        }\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n        className: \"\".concat(prefixCls, \"-panel-dropDown-result-list-title\"),\n        title: item.title\n      }, item.title), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n        className: \"\".concat(prefixCls, \"-panel-dropDown-result-list-type\")\n      }, item.typeName)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n        className: \"\".concat(prefixCls, \"-panel-dropDown-result-list-sub-title\")\n      }, item.subTitle)))\n    );\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context4 = \"\".concat(prefixCls, \"-panel-dropDown-search\")).call(_context4, result.id === 'search' ? \" \".concat(prefixCls, \"-panel-dropDown-search-active\") : ''),\n    onMouseOver: function onMouseOver() {\n      return handleMouseOver({\n        id: 'search'\n      });\n    },\n    onClick: handleSearch\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_index__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    style: {\n      fontSize: 18\n    },\n    type: \"search\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-panel-dropDown-search-value\")\n  }, \"\\u201C\".concat(inputValue, \"\\u201D\"))), panelSearchLoading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-panel-dropDown-loading\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_index__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n    type: \"container\"\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-panel-dropDown-summary\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-panel-dropDown-summary-pic\")\n  }, typeof displayImg === 'string' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_index__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n    src: displayImg,\n    preview: false\n  }) : displayImg), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-panel-dropDown-summary-title\")\n  }, result.id === 'search' ? \"\\u67E5\\u770B\\u66F4\\u591A\\\"\".concat(inputValue, \"\\\"\\u7684\\u641C\\u7D22\\u7ED3\\u679C\") : result.title), result.id === 'search' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-panel-dropDown-summary-list\")\n  }, \"\\u8303\\u56F4: \".concat(type.label)) : _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default()(_context5 = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5___default()(displayList)).call(_context5, function (item, index) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n      key: index,\n      className: \"\".concat(prefixCls, \"-panel-dropDown-summary-list\")\n    }, renderDisplayListShow(displayList[item], result[item]));\n  })))));\n};\nvar SearchPanel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().forwardRef(InternalSearchPanel);\nSearchPanel.displayName = 'SearchPanel';\n/* harmony default export */ __webpack_exports__[\"default\"] = (SearchPanel);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/search/search-panel.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/search/search.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/search/search.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _quick_search__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./quick-search */ \"../../node_modules/@kdcloudjs/kdesign/es/search/quick-search.js\");\n/* harmony import */ var _search_panel__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./search-panel */ \"../../node_modules/@kdcloudjs/kdesign/es/search/search-panel.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/input/index.js\");\n/* harmony import */ var _interface__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./interface */ \"../../node_modules/@kdcloudjs/kdesign/es/search/interface.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\n\nvar InternalSearch = function InternalSearch(props, ref) {\n  var _context, _classNames;\n  var thisSearchRef = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)();\n  var searchRef = ref || thisSearchRef;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_5__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps,\n    getLangMsg = _useContext.locale.getLangMsg;\n  var searchProps = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCompProps)('Search', userDefaultProps, props);\n  var customPrefixcls = searchProps.prefixCls,\n    className = searchProps.className,\n    style = searchProps.style,\n    size = searchProps.size,\n    disabled = searchProps.disabled,\n    onPressEnter = searchProps.onPressEnter,\n    prefix = searchProps.prefix,\n    suffix = searchProps.suffix,\n    borderType = searchProps.borderType,\n    children = searchProps.children,\n    type = searchProps.type,\n    placeholder = searchProps.placeholder,\n    onSearch = searchProps.onSearch,\n    onFocus = searchProps.onFocus,\n    onBlur = searchProps.onBlur,\n    restProps = __rest(searchProps, [\"prefixCls\", \"className\", \"style\", \"size\", \"disabled\", \"onPressEnter\", \"prefix\", \"suffix\", \"borderType\", \"children\", \"type\", \"placeholder\", \"onSearch\", \"onFocus\", \"onBlur\"]);\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(_interface__WEBPACK_IMPORTED_MODULE_10__.SearchSizeTypes.indexOf(size) === -1, 'search', \"cannot found search size '\".concat(size, \"'\"));\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(_interface__WEBPACK_IMPORTED_MODULE_10__.BorderTypes.indexOf(borderType) === -1, 'search', \"cannot found search borderType '\".concat(borderType, \"'\"));\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(_interface__WEBPACK_IMPORTED_MODULE_10__.SearchTypes.indexOf(type) === -1, 'search', \"cannot found search Search type '\".concat(type, \"'\"));\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    focused = _useState2[0],\n    setFocused = _useState2[1];\n  var searchPrefixCls = getPrefixCls(prefixCls, 'search', customPrefixcls);\n  var searchCls = classnames__WEBPACK_IMPORTED_MODULE_6___default()(searchPrefixCls, className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = \"\".concat(searchPrefixCls, \"-size-\")).call(_context, size), size), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(searchPrefixCls, \"-disabled\"), disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(searchPrefixCls, \"-focused\"), focused && !disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(searchPrefixCls, \"-borderless\"), borderType === 'none'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(searchPrefixCls, \"-border\"), borderType === 'bordered'), _classNames));\n  var handleSearchChange = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function (event) {\n    onSearch && (onSearch === null || onSearch === void 0 ? void 0 : onSearch(event));\n  }, [onSearch]);\n  var handlePressEnter = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function (_, event) {\n    var _a, _b;\n    onPressEnter && (onPressEnter === null || onPressEnter === void 0 ? void 0 : onPressEnter((_b = (_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, event));\n  }, [onPressEnter, searchRef]);\n  var handleFocus = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function (event) {\n    setFocused(true);\n    onFocus && onFocus(event);\n  }, [onFocus]);\n  var handleBlur = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function (event) {\n    setFocused(false);\n    onBlur && onBlur(event);\n  }, [onBlur]);\n  var renderPrefix = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function () {\n    if (!prefix) {\n      return null;\n    }\n    return prefix && typeof prefix === 'boolean' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n      className: \"\".concat(searchPrefixCls, \"-prefix\")\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_index__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n      type: \"search\"\n    })) : prefix;\n  }, [prefix, searchPrefixCls]);\n  var renderSuffix = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function () {\n    if (!suffix) {\n      return null;\n    }\n    return typeof suffix === 'boolean' && suffix ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n      className: \"\".concat(searchPrefixCls, \"-suffix\")\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_index__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n      className: \"kd-search-prefix\",\n      type: \"search\"\n    })) : suffix;\n  }, [suffix, searchPrefixCls]);\n  if (type === 'quick-search') {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_quick_search__WEBPACK_IMPORTED_MODULE_12__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, restProps, {\n      ref: ref,\n      borderType: borderType,\n      disabled: disabled,\n      onSearch: onSearch,\n      className: className,\n      style: style,\n      placeholder: placeholder,\n      onFocus: onFocus,\n      onBlur: onBlur\n    }), children);\n  }\n  if (type === 'panel') {\n    // prefixCls后面需要跟传下去的props合并\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_search_panel__WEBPACK_IMPORTED_MODULE_13__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, searchProps, {\n      prefixCls: searchPrefixCls\n    }));\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n    className: searchCls,\n    style: style\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_index__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n    ref: searchRef,\n    size: size,\n    disabled: disabled,\n    placeholder: placeholder || getLangMsg('Search', 'placeholder'),\n    borderType: \"none\",\n    prefix: renderPrefix(),\n    suffix: renderSuffix(),\n    onChange: handleSearchChange,\n    onPressEnter: handlePressEnter,\n    onFocus: handleFocus,\n    onBlur: handleBlur\n  }));\n};\nvar Search = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().forwardRef(InternalSearch);\nSearch.displayName = 'Search';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Search);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/search/search.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/select/index.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/select/index.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   BorderTypes: function() { return /* reexport safe */ _interface__WEBPACK_IMPORTED_MODULE_2__.BorderTypes; },\n/* harmony export */   Modes: function() { return /* reexport safe */ _interface__WEBPACK_IMPORTED_MODULE_2__.Modes; },\n/* harmony export */   SelectSizes: function() { return /* reexport safe */ _interface__WEBPACK_IMPORTED_MODULE_2__.SelectSizes; }\n/* harmony export */ });\n/* harmony import */ var _select__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./select */ \"../../node_modules/@kdcloudjs/kdesign/es/select/select.js\");\n/* harmony import */ var _option__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./option */ \"../../node_modules/@kdcloudjs/kdesign/es/select/option.js\");\n/* harmony import */ var _interface__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./interface */ \"../../node_modules/@kdcloudjs/kdesign/es/select/interface.js\");\n\n\nvar Select = _select__WEBPACK_IMPORTED_MODULE_0__[\"default\"];\nSelect.Option = _option__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Select);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/select/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/select/interface.js":
/*!********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/select/interface.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   BorderTypes: function() { return /* binding */ BorderTypes; },\n/* harmony export */   Modes: function() { return /* binding */ Modes; },\n/* harmony export */   SelectSizes: function() { return /* binding */ SelectSizes; }\n/* harmony export */ });\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n\nvar SelectSizes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_0__.tuple)('large', 'middle', 'small'); // 选择框大小\nvar BorderTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_0__.tuple)('none', 'underline', 'bordered');\nvar Modes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_0__.tuple)('multiple', 'single');\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/select/interface.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/select/option.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/select/option.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/values */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/values.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/checkbox/index.js\");\n\n\n\n\n\n\n\n\n\nvar InternalOption = function InternalOption(props, ref) {\n  var _classNames;\n  var optionRef = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null) || ref;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState, 2),\n    isSelected = _useState2[0],\n    setSelected = _useState2[1];\n  var className = props.className,\n    children = props.children,\n    _props$value = props.value,\n    value = _props$value === void 0 ? null : _props$value,\n    disabled = props.disabled,\n    values = _babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_4___default()(props),\n    isMultiple = props.isMultiple,\n    onChangeSelect = props.onChangeSelect,\n    onChangeActiveIndex = props.onChangeActiveIndex,\n    title = props.title,\n    activeIndex = props.activeIndex,\n    index = props.index;\n  var optionProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, props);\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_5__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var selectOptionPrefixCls = getPrefixCls(prefixCls, 'select-item');\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    if (isMultiple) {\n      setSelected((values === null || values === void 0 ? void 0 : values.indexOf(value)) > -1);\n    } else {\n      setSelected(value !== undefined ? value === values : false);\n    }\n  });\n  var optionCls = classnames__WEBPACK_IMPORTED_MODULE_6___default()(selectOptionPrefixCls, className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(selectOptionPrefixCls, \"-option\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(selectOptionPrefixCls, \"-option-active\"), activeIndex === index), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(selectOptionPrefixCls, \"-option-selected\"), isSelected), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(selectOptionPrefixCls, \"-option-disabled\"), disabled), _classNames));\n  var contentCls = classnames__WEBPACK_IMPORTED_MODULE_6___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(selectOptionPrefixCls, \"-option-content\"), true));\n  var handleClick = function handleClick(e) {\n    e.preventDefault();\n    if (optionProps.disabled || value === undefined) return;\n    if (isMultiple) {\n      setSelected(!isSelected);\n    }\n    onChangeSelect && onChangeSelect(value, children, isSelected);\n  };\n  var handleOnMouseEnter = function handleOnMouseEnter() {\n    onChangeActiveIndex && onChangeActiveIndex(index);\n  };\n  var handleOnMouseLeave = function handleOnMouseLeave() {\n    onChangeActiveIndex && onChangeActiveIndex(-1);\n  };\n  var titleText = title || ((0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(children) !== 'object' ? children : null);\n  var checkStyle = {\n    minHeight: '22px',\n    background: 'none'\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement((react__WEBPACK_IMPORTED_MODULE_5___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n    ref: optionRef,\n    className: optionCls,\n    title: titleText,\n    onClick: handleClick,\n    onMouseEnter: handleOnMouseEnter,\n    onMouseLeave: handleOnMouseLeave\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n    className: contentCls\n  }, isMultiple ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_index__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    style: checkStyle,\n    value: value,\n    disabled: disabled,\n    checked: isSelected\n  }, children) : children)));\n};\nvar Option = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().forwardRef(InternalOption);\nOption.displayName = 'Option';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Option);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/select/option.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/select/select.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/select/select.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/from */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/symbol */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/symbol.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/get-iterator-method */ \"../../node_modules/@babel/runtime-corejs3/core-js/get-iterator-method.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/splice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/set.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find-index */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find-index.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../_utils/hooks */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js\");\n/* harmony import */ var lodash_isBoolean__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! lodash/isBoolean */ \"../../node_modules/lodash/isBoolean.js\");\n/* harmony import */ var lodash_isBoolean__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(lodash_isBoolean__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_react_children__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../_utils/react-children */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/react-children.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/checkbox/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/tag/index.js\");\n/* harmony import */ var _option__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./option */ \"../../node_modules/@kdcloudjs/kdesign/es/select/option.js\");\n/* harmony import */ var _utils_usePopper__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../_utils/usePopper */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/usePopper.js\");\n/* harmony import */ var _virtual_list__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../virtual-list */ \"../../node_modules/@kdcloudjs/kdesign/es/virtual-list/index.js\");\n/* harmony import */ var _utils_KeyCode__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../_utils/KeyCode */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/KeyCode.js\");\n\n\n\n\n\n\n\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof (_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_2___default()) !== \"undefined\" && _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_3___default()(o) || 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) { var _context6; if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_0___default()(_context6 = Object.prototype.toString.call(o)).call(_context6, 8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_1___default()(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; }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar INPUT_MIN_WIDTH = 4; // 输入框最小宽度\nvar InternalSelect = function InternalSelect(props, ref) {\n  var _context, _classNames5, _classNames6, _classNames12, _context5;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_15__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_18__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps,\n    locale = _useContext.locale;\n  var selectProps = (0,_utils__WEBPACK_IMPORTED_MODULE_19__.getCompProps)('Select', userDefaultProps, props);\n  var selectLangMsg = locale.getCompLangMsg({\n    componentName: 'Select'\n  });\n  var size = selectProps.size,\n    value = selectProps.value,\n    autoFocus = selectProps.autoFocus,\n    className = selectProps.className,\n    defaultOpen = selectProps.defaultOpen,\n    dropdownClassName = selectProps.dropdownClassName,\n    disabled = selectProps.disabled,\n    borderType = selectProps.borderType,\n    _selectProps$showArro = selectProps.showArrow,\n    showArrow = _selectProps$showArro === void 0 ? true : _selectProps$showArro,\n    allowClear = selectProps.allowClear,\n    customPrefixcls = selectProps.prefixCls,\n    onFocus = selectProps.onFocus,\n    onBlur = selectProps.onBlur,\n    onClear = selectProps.onClear,\n    onVisibleChange = selectProps.onVisibleChange,\n    mode = selectProps.mode,\n    showSearch = selectProps.showSearch,\n    onChange = selectProps.onChange,\n    onSearch = selectProps.onSearch,\n    defaultValue = selectProps.defaultValue,\n    labelInValue = selectProps.labelInValue,\n    children = selectProps.children,\n    options = selectProps.options,\n    placeholder = selectProps.placeholder,\n    _selectProps$dropdown = selectProps.dropdownStyle,\n    dropdownStyle = _selectProps$dropdown === void 0 ? {} : _selectProps$dropdown,\n    style = selectProps.style,\n    clearIcon = selectProps.clearIcon,\n    filterOption = selectProps.filterOption,\n    optionFilterProp = selectProps.optionFilterProp,\n    optionLabelProp = selectProps.optionLabelProp,\n    _selectProps$popperSt = selectProps.popperStyle,\n    popperStyle = _selectProps$popperSt === void 0 ? {} : _selectProps$popperSt,\n    tagRender = selectProps.tagRender,\n    virtualListProps = selectProps.virtualListProps,\n    status = selectProps.status;\n  var isMultiple = mode === 'multiple'; // 是否多选\n  var _useMergedState = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_20__.useMergedState)(undefined, {\n      value: value,\n      defaultValue: defaultValue\n    }),\n    _useMergedState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_useMergedState, 2),\n    initValue = _useMergedState2[0],\n    setInitValue = _useMergedState2[1];\n  var realChildren = Array.isArray(options) ? options : (0,_utils_react_children__WEBPACK_IMPORTED_MODULE_21__.toArray)(children); // options配置项和默认children\n  var selectRef = (0,react__WEBPACK_IMPORTED_MODULE_15__.useRef)();\n  var searchRef = (0,react__WEBPACK_IMPORTED_MODULE_15__.useRef)(null); // 搜索框ref\n  var selectionRef = (0,react__WEBPACK_IMPORTED_MODULE_15__.useRef)(null);\n  var dropDownRef = (0,react__WEBPACK_IMPORTED_MODULE_15__.useRef)(null);\n  var multipleRef = (0,react__WEBPACK_IMPORTED_MODULE_15__.useRef)({\n    selectedVal: isMultiple ? [] : null,\n    selectMulOpts: []\n  }); // 多选ref已选中项\n  var measureRef = (0,react__WEBPACK_IMPORTED_MODULE_15__.useRef)(null);\n  var clearRef = (0,react__WEBPACK_IMPORTED_MODULE_15__.useRef)(null);\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)([]),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_useState, 2),\n    mulOptions = _useState2[0],\n    setMulOptions = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(''),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_useState3, 2),\n    singleVal = _useState4[0],\n    setSingleVal = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(typeof props.visible === 'undefined' ? !!defaultOpen : !!props.visible),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_useState5, 2),\n    optionShow = _useState6[0],\n    setOptionShow = _useState6[1];\n  // 下拉列表是否展示\n  // const [searchInput, setSearchInput] = useState<string>('') // 搜索框值\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(''),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_useState7, 2),\n    searchValue = _useState8[0],\n    setSearchValue = _useState8[1]; // 搜索框定时器\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(INPUT_MIN_WIDTH),\n    _useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_useState9, 2),\n    inputWidth = _useState10[0],\n    setInputWidth = _useState10[1]; // 输入框宽度\n  var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(autoFocus),\n    _useState12 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_useState11, 2),\n    focusd = _useState12[0],\n    setFocusd = _useState12[1];\n  var isShowSearch = (0,react__WEBPACK_IMPORTED_MODULE_15__.useMemo)(function () {\n    return lodash_isBoolean__WEBPACK_IMPORTED_MODULE_16___default()(showSearch) ? showSearch : isMultiple;\n  }, [isMultiple, showSearch]);\n  var selectPrefixCls = getPrefixCls(prefixCls, 'select', customPrefixcls);\n  // 选择器样式\n  var selectCls = classnames__WEBPACK_IMPORTED_MODULE_17___default()(selectPrefixCls, className, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])({}, \"\".concat(selectPrefixCls, \"-visible\"), optionShow));\n  var selectionCls = classnames__WEBPACK_IMPORTED_MODULE_17___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])({}, \"\".concat(selectPrefixCls, \"-selector\"), true));\n  // 下拉子项列表样式\n  var dropContentCls = classnames__WEBPACK_IMPORTED_MODULE_17___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])({}, \"\".concat(selectPrefixCls, \"-dropdown-scroll\"), (isMultiple ? (realChildren === null || realChildren === void 0 ? void 0 : realChildren.length) > 8 : (realChildren === null || realChildren === void 0 ? void 0 : realChildren.length) > 10) || selectProps.dropdownRender));\n  // 多选底部样式\n  var multipleFooterCls = classnames__WEBPACK_IMPORTED_MODULE_17___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])({}, \"\".concat(selectPrefixCls, \"-multiple-footer\"), true));\n  // 多选，单选公共样式\n  var commCls = classnames__WEBPACK_IMPORTED_MODULE_17___default()((_classNames5 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames5, \"\".concat(selectPrefixCls, \"-bordered\"), borderType === 'bordered'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames5, \"\".concat(selectPrefixCls, \"-underline\"), borderType === 'underline'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames5, \"\".concat(selectPrefixCls, \"-borderless\"), borderType === 'none'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames5, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_8___default()(_context = \"\".concat(selectPrefixCls, \"-size-\")).call(_context, size), size), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames5, \"\".concat(selectPrefixCls, \"-wrapper\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames5, \"\".concat(selectPrefixCls, \"-show-search\"), isShowSearch && focusd), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames5, \"\".concat(selectPrefixCls, \"-error\"), status === 'error'), _classNames5));\n  (0,react__WEBPACK_IMPORTED_MODULE_15__.useEffect)(function () {\n    if (typeof props.visible !== 'undefined') {\n      setOptionShow(props.visible);\n    }\n  }, [props.visible]);\n  // realchildren更新时数据处理---待解决\n  (0,react__WEBPACK_IMPORTED_MODULE_15__.useEffect)(function () {\n    if (isMultiple) {\n      multipleRef.current.selectedVal = Array.isArray(initValue) ? (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(initValue) : initValue || [];\n      if (Array.isArray(initValue)) {\n        if (realChildren === null || realChildren === void 0 ? void 0 : realChildren.length) {\n          var _context2;\n          var arr = [];\n          _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(initValue).call(initValue, function (item) {\n            var _a, _b;\n            var obj = realChildren === null || realChildren === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_10___default()(realChildren).call(realChildren, function (child) {\n              if (child && child.props) {\n                return child.props.value === item;\n              } else {\n                return child.value === item;\n              }\n            });\n            if (obj) {\n              if (options && options.length) {\n                arr.push({\n                  value: obj === null || obj === void 0 ? void 0 : obj.value,\n                  label: (obj === null || obj === void 0 ? void 0 : obj.label) || (obj === null || obj === void 0 ? void 0 : obj.value)\n                });\n              } else {\n                arr.push({\n                  value: (_a = obj.props) === null || _a === void 0 ? void 0 : _a.value,\n                  label: (_b = obj.props) === null || _b === void 0 ? void 0 : _b.children\n                });\n              }\n            } else {\n              arr.push({\n                value: item,\n                label: item\n              });\n            }\n          });\n          setMulOptions(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_8___default()(_context2 = []).call(_context2, arr));\n          multipleRef.current.selectMulOpts = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_8___default()(arr).call(arr);\n        }\n        if (!(initValue === null || initValue === void 0 ? void 0 : initValue.length)) {\n          setMulOptions([]);\n        }\n      }\n    }\n  }, [isMultiple, initValue, children, options]);\n  (0,react__WEBPACK_IMPORTED_MODULE_15__.useEffect)(function () {\n    if (!isMultiple) {\n      multipleRef.current.selectedVal = initValue; // 默认选中值\n      if (initValue !== undefined) {\n        var obj = realChildren === null || realChildren === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_10___default()(realChildren).call(realChildren, function (child) {\n          var _a;\n          if (child && child.props) {\n            return ((_a = child.props) === null || _a === void 0 ? void 0 : _a.value) === initValue;\n          } else {\n            return (child === null || child === void 0 ? void 0 : child.value) === initValue;\n          }\n        });\n        if (obj) {\n          if (options && options.length) {\n            setSingleVal(getOptionLabel(obj) || (obj === null || obj === void 0 ? void 0 : obj.value));\n          } else {\n            setSingleVal(getOptionLabel(obj));\n          }\n        } else {\n          setSingleVal(initValue);\n        }\n      } else {\n        setSingleVal(undefined);\n      }\n    }\n  }, [initValue, realChildren]);\n  (0,react__WEBPACK_IMPORTED_MODULE_15__.useEffect)(function () {\n    if (optionShow === false) {\n      handleClear();\n    }\n  }, [optionShow]);\n  var handleFocus = (0,react__WEBPACK_IMPORTED_MODULE_15__.useCallback)(function (e) {\n    e.stopPropagation();\n    setFocusd(true);\n    onFocus && onFocus(e);\n  }, [onFocus]);\n  var handleBlur = (0,react__WEBPACK_IMPORTED_MODULE_15__.useCallback)(function (e) {\n    e.stopPropagation();\n    setFocusd(false);\n    onBlur && onBlur(e);\n  }, [onBlur]);\n  // 点击组件\n  // const handleClick = () => {\n  //   if (disabled) return\n  //   if (optionShow) {\n  //     const { onDropdownVisibleChange } = selectProps\n  //     onDropdownVisibleChange && onDropdownVisibleChange(true)\n  //   }\n  // }\n  (0,react__WEBPACK_IMPORTED_MODULE_15__.useEffect)(function () {\n    selectionRef.current.addEventListener('mouseup', function (e) {\n      var _a;\n      var isCloseBtn = ((_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.className.indexOf('kd-tag-close-icon')) > -1;\n      if (isCloseBtn) {\n        e.stopPropagation();\n      }\n    });\n  }, []);\n  (0,react__WEBPACK_IMPORTED_MODULE_15__.useLayoutEffect)(function () {\n    measureRef.current && setInputWidth(measureRef.current.scrollWidth);\n  }, [searchValue]);\n  var filledOptions = (0,react__WEBPACK_IMPORTED_MODULE_15__.useMemo)(function () {\n    if (filterOption === false || !searchValue) {\n      return realChildren;\n    }\n    var childrenList = [];\n    var handleFilledOption = function handleFilledOption(option) {\n      if (filterOption === true) {\n        return String(option[optionFilterProp]).toLowerCase().indexOf(searchValue.toLowerCase()) !== -1;\n      } else if (typeof filterOption === 'function') {\n        return filterOption(searchValue, option);\n      }\n      return true;\n    };\n    _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(realChildren).call(realChildren, function (item) {\n      if (item === null || item === undefined) return;\n      var isValidOption = true;\n      if ((item === null || item === void 0 ? void 0 : item.props) && (item.type.displayName === 'Option' || item.type.name === 'Option')) {\n        isValidOption = handleFilledOption(item.props);\n      } else {\n        isValidOption = handleFilledOption(item);\n      }\n      if (isValidOption) {\n        childrenList.push(item);\n      }\n    });\n    return childrenList;\n  }, [searchValue, realChildren, filterOption, optionFilterProp]);\n  // 下拉列表框样式\n  var dropDownCls = classnames__WEBPACK_IMPORTED_MODULE_17___default()(dropdownClassName, (_classNames6 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames6, \"\".concat(selectPrefixCls, \"-dropdown\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames6, \"\".concat(selectPrefixCls, \"-dropdown-no-data\"), filledOptions.length === 0), _classNames6));\n  var getOptionLabel = (0,react__WEBPACK_IMPORTED_MODULE_15__.useCallback)(function (obj) {\n    var _a;\n    var text = Object.prototype.hasOwnProperty.call(selectProps, 'options') && !Object.prototype.hasOwnProperty.call(props, 'optionLabelProp') ? 'label' : optionLabelProp;\n    if (obj.props) {\n      if (text) {\n        return obj === null || obj === void 0 ? void 0 : obj.props[text];\n      }\n      return (_a = obj.props) === null || _a === void 0 ? void 0 : _a.children;\n    } else {\n      if (text) {\n        return obj[text];\n      }\n    }\n    return obj === null || obj === void 0 ? void 0 : obj.label;\n  }, [optionLabelProp, selectProps]);\n  // 点击下拉列表中某项回调\n  var handleOption = function handleOption(key, label, isSelected) {\n    var _a, _b;\n    var onSelect = selectProps.onSelect,\n      onDeselect = selectProps.onDeselect,\n      labelInValue = selectProps.labelInValue,\n      value = selectProps.value;\n    var obj = (realChildren === null || realChildren === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_10___default()(realChildren).call(realChildren, function (child) {\n      var _a;\n      if (child && child.props) {\n        return ((_a = child.props) === null || _a === void 0 ? void 0 : _a.value) === key;\n      } else {\n        return (child === null || child === void 0 ? void 0 : child.value) === key;\n      }\n    })) || {};\n    if (isMultiple) {\n      (_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.focus();\n    } else {\n      (_b = searchRef.current) === null || _b === void 0 ? void 0 : _b.blur();\n    }\n    var optionsObj = obj.props ? obj.props : obj || {};\n    if (value !== undefined) {\n      if (isMultiple) {\n        var _multipleRef$current = multipleRef.current,\n          selectedVal = _multipleRef$current.selectedVal,\n          selectMulOpts = _multipleRef$current.selectMulOpts;\n        var valArr = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(selectedVal);\n        var optsArr = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(selectMulOpts);\n        if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_11___default()(selectedVal).call(selectedVal, key)) {\n          var idx = selectedVal.indexOf(key);\n          _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_12___default()(valArr).call(valArr, idx, 1);\n          _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_12___default()(optsArr).call(optsArr, idx, 1);\n        } else {\n          valArr.push(key);\n          optsArr.push((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_4__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_4__[\"default\"])({}, optionsObj), {\n            value: key,\n            // label: obj.props ? obj.props?.children : obj.label || key,\n            label: getOptionLabel(obj) || key\n          }));\n        }\n        onChange && onChange(labelInValue ? optsArr : valArr, optsArr);\n        if (!isSelected) {\n          onDeselect && onDeselect(key); // 下拉项取消选中时调用，参数为选中项的value,多选模式下生效\n        }\n      } else {\n        handleVisibleChange(false);\n        initValue !== key && onChange && onChange(labelInValue ? {\n          value: key,\n          label: label\n        } : key, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_4__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_4__[\"default\"])({}, optionsObj), {\n          value: key,\n          label: label\n        }));\n      }\n      onSelect && onSelect(key);\n      return;\n    }\n    if (!isMultiple) {\n      setSingleVal(getOptionLabel(obj) || key);\n      multipleRef.current.selectedVal = key;\n      setInitValue(key);\n      handleVisibleChange(false);\n      initValue !== key && onChange && onChange(labelInValue ? {\n        value: key,\n        label: label\n      } : key, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_4__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_4__[\"default\"])({}, optionsObj), {\n        value: key,\n        label: label\n      }));\n    } else {\n      var _multipleRef$current2 = multipleRef.current,\n        _selectedVal = _multipleRef$current2.selectedVal,\n        _selectMulOpts = _multipleRef$current2.selectMulOpts;\n      if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_11___default()(_selectedVal).call(_selectedVal, key)) {\n        var _idx = _selectedVal.indexOf(key);\n        _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_12___default()(_selectedVal).call(_selectedVal, _idx, 1);\n        _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_12___default()(_selectMulOpts).call(_selectMulOpts, _idx, 1);\n      } else {\n        _selectedVal.push(key);\n        _selectMulOpts.push((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_4__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_4__[\"default\"])({}, optionsObj), {\n          value: key,\n          label: getOptionLabel(obj) || key\n        }));\n      }\n      setMulOptions((0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_selectMulOpts));\n      onChange && onChange(labelInValue ? _selectMulOpts : _selectedVal, _selectMulOpts);\n      if (!isSelected) {\n        onDeselect && onDeselect(key); // 下拉项取消选中时调用，参数为选中项的value,多选模式下生效\n      }\n    }\n\n    setSearchValue('');\n    onSelect && onSelect(key); // 下拉项被选中时调用，参数为选中项value或key\n  };\n\n  var removeIntersection = function removeIntersection(selectedItems, filteredItems) {\n    var filteredValues = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_13___default())(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(filteredItems).call(filteredItems, function (item) {\n      var _a;\n      return item.value || ((_a = item.props) === null || _a === void 0 ? void 0 : _a.value);\n    }));\n    var filteredSelectedItems = [];\n    var filteredSelectedValues = [];\n    var _iterator = _createForOfIteratorHelper(selectedItems),\n      _step;\n    try {\n      for (_iterator.s(); !(_step = _iterator.n()).done;) {\n        var item = _step.value;\n        if (!filteredValues.has(item.value)) {\n          filteredSelectedItems.push(item);\n          filteredSelectedValues.push(item.value);\n        }\n      }\n    } catch (err) {\n      _iterator.e(err);\n    } finally {\n      _iterator.f();\n    }\n    return [filteredSelectedValues, filteredSelectedItems];\n  };\n  // 多选模式下选中所有 与清除所有 (可以优化)\n  var handleSelectAll = function handleSelectAll(checked) {\n    var _multipleRef$current3 = multipleRef.current,\n      selectedVal = _multipleRef$current3.selectedVal,\n      selectMulOpts = _multipleRef$current3.selectMulOpts;\n    var newSelectedVal = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(selectedVal);\n    var newSelectMulOpts = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(selectMulOpts);\n    if (!checked) {\n      _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(filledOptions).call(filledOptions, function (child) {\n        var _ref = child.props || child,\n          value = _ref.value;\n        if (!_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_11___default()(newSelectedVal).call(newSelectedVal, value)) {\n          newSelectedVal.push(value);\n          newSelectMulOpts.push({\n            value: value,\n            label: getOptionLabel(child)\n          });\n        }\n      });\n      if (typeof value === 'undefined') {\n        multipleRef.current.selectedVal = newSelectedVal;\n        multipleRef.current.selectMulOpts = newSelectMulOpts;\n        setMulOptions((0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(newSelectMulOpts));\n        setSearchValue('');\n      }\n    } else {\n      ;\n      var _removeIntersection = removeIntersection(newSelectMulOpts, filledOptions);\n      var _removeIntersection2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_removeIntersection, 2);\n      newSelectedVal = _removeIntersection2[0];\n      newSelectMulOpts = _removeIntersection2[1];\n      if (typeof value === 'undefined') {\n        multipleRef.current.selectedVal = newSelectedVal;\n        multipleRef.current.selectMulOpts = newSelectMulOpts;\n        setMulOptions((0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(newSelectMulOpts));\n      }\n    }\n    onChange && onChange(labelInValue ? newSelectMulOpts : newSelectedVal, newSelectMulOpts);\n  };\n  // 输入框变化搜索内容\n  var handleSearchChange = function handleSearchChange(event) {\n    var val = event.currentTarget.value;\n    handleVisibleChange(true);\n    setSearchValue(val);\n    onSearch === null || onSearch === void 0 ? void 0 : onSearch(val);\n  };\n  // 清除搜索内容\n  var handleClear = (0,react__WEBPACK_IMPORTED_MODULE_15__.useCallback)(function () {\n    if (searchRef.current) {\n      searchRef.current.value = '';\n      setSearchValue('');\n    }\n  }, [searchRef]);\n  // 清空选择器内容\n  var handleReset = function handleReset(e) {\n    e.stopPropagation();\n    if (isMultiple) {\n      multipleRef.current.selectedVal = [];\n      multipleRef.current.selectMulOpts = [];\n      setMulOptions([]);\n    } else {\n      setInitValue('');\n    }\n    onClear && onClear('');\n    setSearchValue('');\n    onChange && onChange(isMultiple ? '' : undefined);\n  };\n  // 多选模式下清除某一项\n  var handleRemove = function handleRemove(e, tag) {\n    if (disabled) return;\n    var _multipleRef$current4 = multipleRef.current,\n      selectedVal = _multipleRef$current4.selectedVal,\n      selectMulOpts = _multipleRef$current4.selectMulOpts;\n    var idx = selectedVal.indexOf(tag);\n    _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_12___default()(selectedVal).call(selectedVal, idx, 1);\n    _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_12___default()(selectMulOpts).call(selectMulOpts, idx, 1);\n    setMulOptions((0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(selectMulOpts));\n    onChange && onChange(labelInValue ? selectMulOpts : selectedVal, selectMulOpts);\n    e.stopPropagation();\n  };\n  // 渲染后缀图标\n  var renderSuffix = function renderSuffix() {\n    var _classNames7;\n    var suffixIcon = selectProps.suffixIcon;\n    // 选择器下拉icon样式\n    var arrowIconCls = classnames__WEBPACK_IMPORTED_MODULE_17___default()((_classNames7 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames7, \"\".concat(selectPrefixCls, \"-icon-arrow\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames7, \"\".concat(selectPrefixCls, \"-icon-arrow-up\"), optionShow), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames7, \"\".concat(selectPrefixCls, \"-icon-arrow-down\"), !optionShow), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames7, \"\".concat(selectPrefixCls, \"-icon-arrow-focus\"), optionShow), _classNames7));\n    var iconShow = allowClear && !disabled && ((isMultiple ? mulOptions.length > 0 : (singleVal !== null && singleVal !== void 0 ? singleVal : '') !== '') || searchValue);\n    var clearIconCls = classnames__WEBPACK_IMPORTED_MODULE_17___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])({}, \"\".concat(selectPrefixCls, \"-icon-clear\"), true));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement((react__WEBPACK_IMPORTED_MODULE_15___default().Fragment), null, iconShow ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n      onClick: handleReset,\n      onMouseDown: function onMouseDown(e) {\n        return e.preventDefault();\n      },\n      className: clearIconCls,\n      ref: clearRef\n    }, clearIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_index__WEBPACK_IMPORTED_MODULE_22__[\"default\"], {\n      type: \"close\"\n    })) : null, showArrow ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n      className: arrowIconCls\n    }, suffixIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_index__WEBPACK_IMPORTED_MODULE_22__[\"default\"], {\n      type: \"arrow-down\"\n    })) : null);\n  };\n  var renderOption = function renderOption(child, index) {\n    if ((child === null || child === void 0 ? void 0 : child.props) && (child.type.displayName === 'Option' || child.type.name === 'Option')) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_option__WEBPACK_IMPORTED_MODULE_23__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_4__[\"default\"])({\n        isMultiple: isMultiple\n      }, child.props, {\n        key: index,\n        index: index,\n        activeIndex: activeIndex,\n        onChangeSelect: handleOption,\n        values: multipleRef.current.selectedVal,\n        onChangeActiveIndex: function onChangeActiveIndex(i) {\n          setActiveIndex(i);\n        }\n      }));\n    } else {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_option__WEBPACK_IMPORTED_MODULE_23__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_4__[\"default\"])({\n        isMultiple: isMultiple,\n        value: child === null || child === void 0 ? void 0 : child.value,\n        key: index,\n        index: index,\n        activeIndex: activeIndex,\n        onChangeSelect: handleOption,\n        values: multipleRef.current.selectedVal,\n        onChangeActiveIndex: function onChangeActiveIndex(i) {\n          setActiveIndex(i);\n        }\n      }, child), (child === null || child === void 0 ? void 0 : child.label) || (child === null || child === void 0 ? void 0 : child.value));\n    }\n  };\n  var dropRender = function dropRender(childrenToRender, heightStyle) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n      className: dropContentCls,\n      style: heightStyle\n    }, childrenToRender);\n  };\n  // 下拉列表为空时显示的内容\n  var renderNotContent = function renderNotContent() {\n    // 下拉列表为空\n    var emptyListCls = classnames__WEBPACK_IMPORTED_MODULE_17___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])({}, \"\".concat(selectPrefixCls, \"-dropdown-empty\"), true));\n    var notFoundContent = selectProps.notFoundContent;\n    var emptyContent = notFoundContent || '暂无数据';\n    return (filledOptions === null || filledOptions === void 0 ? void 0 : filledOptions.length) === 0 && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n      className: emptyListCls\n    }, emptyContent);\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_15__.useEffect)(function () {\n    var _a;\n    if (isShowSearch && autoFocus && !disabled) {\n      (_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.focus();\n    }\n  }, [isShowSearch, autoFocus, disabled]);\n  var optionsListRef = react__WEBPACK_IMPORTED_MODULE_15___default().useRef(null);\n  var getCheckedState = function getCheckedState(selectedItems, filteredItems) {\n    var _a;\n    var valuesSet = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_13___default())(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(selectedItems).call(selectedItems, function (item) {\n      return item.value;\n    }));\n    var number = 0;\n    var _iterator2 = _createForOfIteratorHelper(filteredItems),\n      _step2;\n    try {\n      for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n        var item = _step2.value;\n        if (valuesSet.has(item.value || ((_a = item.props) === null || _a === void 0 ? void 0 : _a.value))) {\n          number += 1;\n        }\n      }\n    } catch (err) {\n      _iterator2.e(err);\n    } finally {\n      _iterator2.f();\n    }\n    var checked = number > 0 && number === filteredItems.length;\n    var indeterminate = number > 0 && number < filteredItems.length;\n    return {\n      checked: checked,\n      indeterminate: indeterminate\n    };\n  };\n  // 渲染下拉列表框\n  var renderContent = function renderContent() {\n    var dropdownRender = selectProps.dropdownRender,\n      listHeight = selectProps.listHeight;\n    var selectedVal = multipleRef.current.selectedVal;\n    var childrenToRender = filledOptions;\n    var eleOptionList = filledOptions;\n    if (Array.isArray(childrenToRender) && childrenToRender.length > 0) {\n      childrenToRender = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(childrenToRender).call(childrenToRender, function (item, index) {\n        if (item === null || item === undefined) return;\n        var temp = renderOption(item, index);\n        return temp;\n      });\n      eleOptionList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_virtual_list__WEBPACK_IMPORTED_MODULE_24__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_4__[\"default\"])({\n        role: \"listbox\",\n        data: childrenToRender,\n        itemKey: function itemKey(child) {\n          var _a;\n          return (_a = child.props) === null || _a === void 0 ? void 0 : _a.value;\n        },\n        onMouseDown: function onMouseDown(e) {\n          return e === null || e === void 0 ? void 0 : e.preventDefault();\n        },\n        isStaticItemHeight: true,\n        height: listHeight || 300,\n        measureLongestItem: false,\n        ref: optionsListRef\n      }, virtualListProps), function (child) {\n        return child;\n      });\n    }\n    var heightStyle = {\n      maxHeight: listHeight || '300px'\n    };\n    // 下拉框style属性\n    var checkboxStyle = {\n      height: '30px',\n      background: 'none'\n    };\n    var _getCheckedState = getCheckedState(mulOptions, filledOptions),\n      checked = _getCheckedState.checked,\n      indeterminate = _getCheckedState.indeterminate;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement((react__WEBPACK_IMPORTED_MODULE_15___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n      className: dropDownCls,\n      style: dropdownStyle,\n      ref: dropDownRef\n    }, !dropdownRender && childrenToRender.length > 0 ? dropRender(eleOptionList, heightStyle) : null, renderNotContent(), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", null, dropdownRender ? dropdownRender(dropRender(eleOptionList, heightStyle)) : null), isMultiple && filledOptions.length > 0 ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n      className: multipleFooterCls\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_index__WEBPACK_IMPORTED_MODULE_25__[\"default\"], {\n      style: checkboxStyle,\n      checked: checked,\n      indeterminate: indeterminate,\n      onChange: function onChange() {\n        return handleSelectAll(checked);\n      }\n    }, selectLangMsg === null || selectLangMsg === void 0 ? void 0 : selectLangMsg.selectAll), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-multiple-footer-hadSelected\")\n    }, locale.getLangMsg('Select', 'seleted', {\n      size: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n        className: \"\".concat(selectPrefixCls, \"-multiple-footer-hadSelected-number\")\n      }, selectedVal === null || selectedVal === void 0 ? void 0 : selectedVal.length)\n    }))) : null));\n  };\n  // 处理多选tag\n  var handleMaxTagHolder = (0,react__WEBPACK_IMPORTED_MODULE_15__.useCallback)(function () {\n    var maxTagPlaceholder = selectProps.maxTagPlaceholder;\n    if (typeof maxTagPlaceholder === 'function') {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_index__WEBPACK_IMPORTED_MODULE_26__[\"default\"], {\n        type: \"edit\",\n        size: size,\n        disabled: disabled\n      }, maxTagPlaceholder(mulOptions));\n    } else {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_index__WEBPACK_IMPORTED_MODULE_26__[\"default\"], {\n        type: \"edit\",\n        size: size,\n        disabled: disabled\n      }, maxTagPlaceholder);\n    }\n  }, [mulOptions]);\n  var renderSingle = function renderSingle() {\n    var _a, _b, _c;\n    var obj = (realChildren === null || realChildren === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_10___default()(realChildren).call(realChildren, function (child) {\n      var _a;\n      if (child && child.props) {\n        return ((_a = child.props) === null || _a === void 0 ? void 0 : _a.value) === initValue;\n      } else {\n        return (child === null || child === void 0 ? void 0 : child.value) === initValue;\n      }\n    })) || {};\n    var title = '';\n    if (obj.props) {\n      title = ((_a = obj === null || obj === void 0 ? void 0 : obj.props) === null || _a === void 0 ? void 0 : _a.title) || ((_b = obj === null || obj === void 0 ? void 0 : obj.props) === null || _b === void 0 ? void 0 : _b.label) || ((_c = obj === null || obj === void 0 ? void 0 : obj.props) === null || _c === void 0 ? void 0 : _c.children);\n    } else {\n      title = (obj === null || obj === void 0 ? void 0 : obj.title) || (obj === null || obj === void 0 ? void 0 : obj.label) || (obj === null || obj === void 0 ? void 0 : obj.children);\n    }\n    var hiddenStyle = isShowSearch && !!searchValue || singleVal ? {\n      visibility: 'hidden'\n    } : undefined;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement((react__WEBPACK_IMPORTED_MODULE_15___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n      className: singleCls,\n      ref: selectionRef,\n      title: title\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-selection-search\")\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"input\", {\n      ref: searchRef,\n      value: searchValue,\n      className: \"\".concat(selectPrefixCls, \"-selection-search-input\"),\n      onChange: handleSearchChange,\n      onFocus: handleFocus,\n      onBlur: handleBlur,\n      readOnly: !isShowSearch || !!disabled\n    })), singleVal && !searchValue ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-selection-item\")\n    }, singleVal) : null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-placeholder\"),\n      style: hiddenStyle\n    }, placeholder), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-suffix\")\n    }, renderSuffix())));\n  };\n  // 渲染多选选择器 (待优化：多选框下拉按钮样式调整，限制tag数代码优化)\n  var renderMultiple = function renderMultiple() {\n    var _context3, _classNames10, _context4, _classNames11;\n    var maxTagCount = selectProps.maxTagCount,\n      maxTagPlaceholder = selectProps.maxTagPlaceholder;\n    var multipleCls = classnames__WEBPACK_IMPORTED_MODULE_17___default()(commCls, (_classNames10 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames10, \"\".concat(selectPrefixCls, \"-multiple-disabled\"), disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames10, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_8___default()(_context3 = \"\".concat(selectPrefixCls, \"-\")).call(_context3, mode), mode), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames10, \"\".concat(selectPrefixCls, \"-focused\"), focusd || optionShow), _classNames10));\n    var itemCls = classnames__WEBPACK_IMPORTED_MODULE_17___default()((_classNames11 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames11, \"\".concat(selectPrefixCls, \"-selection-item\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames11, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_8___default()(_context4 = \"\".concat(selectPrefixCls, \"-selection-item-\")).call(_context4, size), size), _classNames11));\n    var TagStyle = {\n      margin: '2px 8px 2px 0',\n      maxWidth: '100%'\n    };\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n      className: multipleCls,\n      ref: selectionRef\n    }, Array.isArray(mulOptions) ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement((react__WEBPACK_IMPORTED_MODULE_15___default().Fragment), null, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(mulOptions).call(mulOptions, function (item, index) {\n      var label = item.label,\n        value = item.value;\n      return !maxTagCount || index <= maxTagCount - 1 ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n        key: value,\n        className: classnames__WEBPACK_IMPORTED_MODULE_17___default()(\"\".concat(selectPrefixCls, \"-selection-tag\")),\n        onMouseDown: function onMouseDown(e) {\n          return e.preventDefault();\n        }\n      }, typeof tagRender === 'function' ? tagRender === null || tagRender === void 0 ? void 0 : tagRender({\n        onClose: handleRemove,\n        value: value,\n        label: label,\n        disabled: disabled,\n        size: size\n      }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_index__WEBPACK_IMPORTED_MODULE_26__[\"default\"], {\n        type: \"edit\",\n        style: TagStyle,\n        size: size,\n        closable: true,\n        disabled: disabled,\n        onClose: function onClose(e) {\n          return handleRemove(e, value);\n        },\n        \"data-tag\": value\n      }, label)) : null;\n    }), maxTagCount && mulOptions.length > maxTagCount ? maxTagPlaceholder ? handleMaxTagHolder() : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n      className: itemCls\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-selection-item-content\")\n    }, \"\\u5171\", mulOptions.length, \"\\u9879\")) : null) : null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-selection-search\"),\n      style: {\n        width: inputWidth\n      }\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"input\", {\n      ref: searchRef,\n      value: searchValue,\n      className: \"\".concat(selectPrefixCls, \"-selection-search-input\"),\n      onChange: handleSearchChange,\n      onFocus: handleFocus,\n      onBlur: handleBlur,\n      readOnly: !isShowSearch || !!disabled\n    }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n      ref: measureRef,\n      className: \"\".concat(selectPrefixCls, \"-selection-search-mirror\")\n    }, searchValue, \"\\xA0\")), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-placeholder\")\n    }, !mulOptions.length && !searchValue ? placeholder : null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-suffix\")\n    }, renderSuffix()));\n  };\n  var singleCls = classnames__WEBPACK_IMPORTED_MODULE_17___default()(commCls, (_classNames12 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames12, \"\".concat(selectPrefixCls, \"-single\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames12, \"\".concat(selectPrefixCls, \"-single-disabled\"), disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_classNames12, \"\".concat(selectPrefixCls, \"-single-focused\"), focusd && !disabled || optionShow), _classNames12));\n  // keyboard\n  var getActiveIndex = function getActiveIndex(index) {\n    var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n    var len = filledOptions.length;\n    for (var i = 0; i < len; i += 1) {\n      var current = (index + i * offset + len) % len;\n      var _props = filledOptions[current].props;\n      if (!(_props === null || _props === void 0 ? void 0 : _props.disabled)) {\n        return current;\n      }\n    }\n    return -1;\n  };\n  // reset activeIndex\n  (0,react__WEBPACK_IMPORTED_MODULE_15__.useEffect)(function () {\n    if (searchValue) {\n      setActiveIndex(getActiveIndex(0));\n    }\n  }, [searchValue]);\n  (0,react__WEBPACK_IMPORTED_MODULE_15__.useEffect)(function () {\n    if (optionShow && !disabled) {\n      var onDropdownVisibleChange = selectProps.onDropdownVisibleChange;\n      onDropdownVisibleChange && onDropdownVisibleChange(true);\n    }\n  }, [optionShow]);\n  (0,react__WEBPACK_IMPORTED_MODULE_15__.useEffect)(function () {\n    var _a;\n    var fn = function fn(e) {\n      e.stopPropagation();\n    };\n    (_a = clearRef.current) === null || _a === void 0 ? void 0 : _a.addEventListener('mouseup', fn);\n    return function () {\n      var _a;\n      (_a = clearRef.current) === null || _a === void 0 ? void 0 : _a.removeEventListener('mouseup', fn);\n    };\n  }, [singleVal, mulOptions]);\n  (0,react__WEBPACK_IMPORTED_MODULE_15__.useImperativeHandle)(ref, function () {\n    return {\n      select: selectRef.current,\n      focus: function focus() {\n        var _a;\n        setFocusd(true);\n        (_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.focus();\n      },\n      blur: function blur() {\n        var _a;\n        setFocusd(false);\n        (_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.blur();\n      }\n    };\n  });\n  var _useState13 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(isShowSearch ? getActiveIndex(0) : -1),\n    _useState14 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_useState13, 2),\n    activeIndex = _useState14[0],\n    setActiveIndex = _useState14[1];\n  var onInternalKeyDown = function onInternalKeyDown(e) {\n    var _a, _b;\n    var which = e.which;\n    // open\n    if (which === _utils_KeyCode__WEBPACK_IMPORTED_MODULE_27__[\"default\"].ENTER || which === _utils_KeyCode__WEBPACK_IMPORTED_MODULE_27__[\"default\"].UP || which === _utils_KeyCode__WEBPACK_IMPORTED_MODULE_27__[\"default\"].DOWN) {\n      e.preventDefault();\n      handleVisibleChange(true);\n    }\n    // backspace\n    var _multipleRef$current5 = multipleRef.current,\n      selectedVal = _multipleRef$current5.selectedVal,\n      selectMulOpts = _multipleRef$current5.selectMulOpts;\n    // isMultiple\n    if (which === _utils_KeyCode__WEBPACK_IMPORTED_MODULE_27__[\"default\"].BACKSPACE && !searchValue && isMultiple && (selectedVal === null || selectedVal === void 0 ? void 0 : selectedVal.length) && selectMulOpts.length) {\n      _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_12___default()(selectedVal).call(selectedVal, -1, 1);\n      _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_12___default()(selectMulOpts).call(selectMulOpts, -1, 1);\n      setMulOptions((0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(selectMulOpts));\n      onChange && onChange(labelInValue ? selectMulOpts : selectedVal, selectMulOpts);\n    }\n    // optionsList: up、down、enter\n    if (optionShow) {\n      var offset = 0;\n      if (which === _utils_KeyCode__WEBPACK_IMPORTED_MODULE_27__[\"default\"].UP) {\n        offset = -1;\n      } else if (which === _utils_KeyCode__WEBPACK_IMPORTED_MODULE_27__[\"default\"].DOWN) {\n        offset = 1;\n      } else if (which === _utils_KeyCode__WEBPACK_IMPORTED_MODULE_27__[\"default\"].ENTER) {\n        var item = filledOptions[activeIndex];\n        if (!item) return;\n        var key = ((_a = item.props) === null || _a === void 0 ? void 0 : _a.value) || item.value;\n        var label = ((_b = item.props) === null || _b === void 0 ? void 0 : _b.children) || item.label;\n        handleOption(key, label, true);\n        // search\n        if (searchValue) {\n          setActiveIndex(_babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_14___default()(realChildren).call(realChildren, function (child) {\n            var _a;\n            if (child && child.props) {\n              return ((_a = child.props) === null || _a === void 0 ? void 0 : _a.value) === key;\n            } else {\n              return (child === null || child === void 0 ? void 0 : child.value) === key;\n            }\n          }));\n        }\n        if (!isMultiple) {\n          handleVisibleChange(false);\n        }\n      } else if (which === _utils_KeyCode__WEBPACK_IMPORTED_MODULE_27__[\"default\"].ESC) {\n        handleVisibleChange(false);\n      }\n      if (offset !== 0) {\n        var nextActiveIndex = getActiveIndex(activeIndex + offset, offset);\n        if (optionsListRef.current) {\n          optionsListRef.current.scrollTo({\n            index: nextActiveIndex\n          });\n        }\n        setActiveIndex(nextActiveIndex);\n        e.preventDefault();\n      }\n    }\n  };\n  var renderSelect = function renderSelect() {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n      className: selectCls,\n      ref: selectRef,\n      style: style\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n      className: selectionCls,\n      tabIndex: disabled ? -1 : 0,\n      onFocus: function onFocus() {\n        var _a;\n        return (_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.focus();\n      },\n      onKeyDown: onInternalKeyDown\n    }, !isMultiple ? renderSingle() : renderMultiple()));\n  };\n  var catchStyle = function catchStyle() {\n    var _a;\n    if (selectRef === null || selectRef === void 0 ? void 0 : selectRef.current) {\n      var _ref2 = (_a = selectRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect(),\n        width = _ref2.width;\n      return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_4__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_4__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_4__[\"default\"])({\n        minWidth: width,\n        maxWidth: 600\n      }, dropdownStyle), {\n        width: (dropdownStyle === null || dropdownStyle === void 0 ? void 0 : dropdownStyle.width) || 'auto',\n        zIndex: 1050\n      }), popperStyle);\n    }\n  };\n  var handleVisibleChange = function handleVisibleChange(visible) {\n    if (!visible) {\n      setActiveIndex(isShowSearch ? getActiveIndex(0) : -1);\n    }\n    if (visible !== optionShow) {\n      props.visible === undefined && setOptionShow(visible);\n      onVisibleChange && onVisibleChange(visible);\n    }\n  };\n  var popperProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_4__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_4__[\"default\"])({}, selectProps), {\n    prefixCls: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_8___default()(_context5 = \"\".concat(selectPrefixCls, \"-dropdown-panel\")).call(_context5, isMultiple ? \" \".concat(selectPrefixCls, \"-multiple-dropdown-panel\") : ''),\n    placement: 'bottomLeft',\n    popperStyle: catchStyle(),\n    defaultVisible: optionShow,\n    visible: optionShow,\n    onVisibleChange: handleVisibleChange,\n    clickToClose: !(isShowSearch && searchValue)\n  });\n  return (0,_utils_usePopper__WEBPACK_IMPORTED_MODULE_28__[\"default\"])(renderSelect(), renderContent(), popperProps);\n};\nvar Select = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().forwardRef(InternalSelect);\nSelect.displayName = 'Select';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Select);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/select/select.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/signature/drawingBoard.js":
/*!**************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/signature/drawingBoard.js ***!
  \**************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n\n\n\n\n\n\n\n\nvar DrawingBoard = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_5__.forwardRef)(function (props, ref) {\n  var _classNames;\n  var prefixCls = props.prefixCls,\n    isEmpty = props.isEmpty,\n    setIsEmpty = props.setIsEmpty,\n    onClear = props.onClear,\n    signaturePad = props.signaturePad,\n    undo = props.undo,\n    redo = props.redo,\n    signatureLangMsg = props.signatureLangMsg;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(-1),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    currentHistoryIndex = _useState2[0],\n    setCurrentHistoryIndex = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)([]),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState3, 2),\n    signatureHistory = _useState4[0],\n    setSignatureHistory = _useState4[1];\n  var canvasRef = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)();\n  var canvasWrapperRef = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)();\n  var handleOnClear = function handleOnClear() {\n    var _a;\n    (_a = signaturePad()) === null || _a === void 0 ? void 0 : _a.clear();\n    setIsEmpty(true);\n    setSignatureHistory(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_3___default()(signatureHistory).call(signatureHistory, 0, 1));\n    setCurrentHistoryIndex(0);\n    onClear && onClear();\n  };\n  var saveSignatureToHistory = function saveSignatureToHistory() {\n    var _a;\n    if (signaturePad()) {\n      var data = (_a = signaturePad()) === null || _a === void 0 ? void 0 : _a.toDataURL();\n      if (data !== undefined) setSignatureHistory(function (prevHistory) {\n        var _context;\n        return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = []).call(_context, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(prevHistory), [{\n          data: data\n        }]);\n      });\n      setCurrentHistoryIndex(function (prevIndex) {\n        return prevIndex + 1;\n      });\n    }\n  };\n  var handleUndo = function handleUndo() {\n    var _a, _b;\n    if (currentHistoryIndex > 0) {\n      setCurrentHistoryIndex(function (prevIndex) {\n        return prevIndex - 1;\n      });\n      var historyItem = signatureHistory[currentHistoryIndex - 1];\n      if (signaturePad() && historyItem) {\n        (_a = signaturePad()) === null || _a === void 0 ? void 0 : _a.clear();\n        (_b = signaturePad()) === null || _b === void 0 ? void 0 : _b.fromDataURL(historyItem.data, {\n          ratio: 1\n        });\n        undo && undo();\n      }\n    }\n  };\n  var handleRedo = function handleRedo() {\n    var _a;\n    if (currentHistoryIndex < signatureHistory.length - 1) {\n      setCurrentHistoryIndex(function (prevIndex) {\n        return prevIndex + 1;\n      });\n      var historyItem = signatureHistory[currentHistoryIndex + 1];\n      if (signaturePad() && historyItem) {\n        (_a = signaturePad()) === null || _a === void 0 ? void 0 : _a.fromDataURL(historyItem.data, {\n          ratio: 1\n        });\n        redo && redo();\n      }\n    }\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    currentHistoryIndex > 0 ? setIsEmpty(false) : setIsEmpty(true);\n  }, [currentHistoryIndex]);\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useImperativeHandle)(ref, function () {\n    return {\n      getCanvasRef: function getCanvasRef() {\n        return canvasRef.current;\n      },\n      getCanvasWrapperRef: function getCanvasWrapperRef() {\n        return canvasWrapperRef.current;\n      },\n      saveSignatureToHistory: saveSignatureToHistory,\n      signatureHistory: signatureHistory,\n      setSignatureHistory: setSignatureHistory,\n      setCurrentHistoryIndex: setCurrentHistoryIndex\n    };\n  });\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-drawing-board\"),\n    ref: canvasWrapperRef\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_6___default()((_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-drawing-board-operation\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"enabled\", !isEmpty), _classNames))\n  }, undo ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n    onClick: function onClick() {\n      return handleUndo();\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"svg\", {\n    width: \"1em\",\n    height: \"1em\",\n    viewBox: \"0 0 32 32\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"g\", {\n    id: \"1016.\\u64A4\\u9500\",\n    stroke: \"none\",\n    \"stroke-width\": \"1\",\n    fill: \"none\",\n    \"fill-rule\": \"evenodd\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"g\", {\n    id: \"\\u7F16\\u7EC4\",\n    transform: \"translate(2.000000, 1.000000)\",\n    fill: \"#000000\",\n    \"fill-rule\": \"nonzero\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"path\", {\n    d: \"M9.16767025,16.9762781 C9.5300869,17.3386948 9.5300869,17.9262881 9.16767025,18.2887049 C8.84552213,18.6108529 8.34545651,18.6466472 7.98377112,18.3960875 L7.85524348,18.2887049 L0.815437446,11.2488988 C-0.203859357,10.229602 -0.267565411,8.61657722 0.624319283,7.52306442 L0.815437446,7.31161852 L7.85524348,0.271812484 C8.21766013,-0.0906041612 8.80525361,-0.0906041612 9.16767025,0.271812484 C9.48981838,0.593960608 9.5256126,1.09402626 9.27505297,1.45571158 L9.16767025,1.58423925 L2.39801882,8.35223283 L18.7197413,8.35223283 C24.8235066,8.35223283 28,11.88167 28,18.5605173 C28,25.0286774 25.0409921,28.8154573 19.1996764,29.6367412 L18.7197413,29.6968277 L3.87132753,29.6968277 C3.358793,29.6968277 2.94330165,29.2813365 2.94330165,28.7688019 C2.94330165,28.3132156 3.27159111,27.9343054 3.70451369,27.8557278 L3.87132753,27.840776 L18.6172581,27.846452 C23.6969089,27.2820464 26.1439483,24.2912204 26.1439483,18.5605173 C26.1439483,13.0283959 23.8870007,10.3626156 19.1446408,10.2148013 L18.7197413,10.2082845 L2.39987488,10.2082845 L9.16767025,16.9762781 Z\",\n    id: \"\\u8DEF\\u5F84\",\n    fill: \"currentColor\"\n  }))))) : null, redo ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n    onClick: function onClick() {\n      return handleRedo();\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"svg\", {\n    width: \"1em\",\n    height: \"1em\",\n    viewBox: \"0 0 32 32\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"g\", {\n    id: \"1016.\\u64A4\\u9500\",\n    stroke: \"none\",\n    \"stroke-width\": \"1\",\n    fill: \"none\",\n    \"fill-rule\": \"evenodd\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"g\", {\n    id: \"\\u7F16\\u7EC4\",\n    transform: \"translate(2.000000, 1.000000)\",\n    fill: \"#000000\",\n    \"fill-rule\": \"nonzero\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"path\", {\n    d: \"M9.16767025,16.9762781 C9.5300869,17.3386948 9.5300869,17.9262881 9.16767025,18.2887049 C8.84552213,18.6108529 8.34545651,18.6466472 7.98377112,18.3960875 L7.85524348,18.2887049 L0.815437446,11.2488988 C-0.203859357,10.229602 -0.267565411,8.61657722 0.624319283,7.52306442 L0.815437446,7.31161852 L7.85524348,0.271812484 C8.21766013,-0.0906041612 8.80525361,-0.0906041612 9.16767025,0.271812484 C9.48981838,0.593960608 9.5256126,1.09402626 9.27505297,1.45571158 L9.16767025,1.58423925 L2.39801882,8.35223283 L18.7197413,8.35223283 C24.8235066,8.35223283 28,11.88167 28,18.5605173 C28,25.0286774 25.0409921,28.8154573 19.1996764,29.6367412 L18.7197413,29.6968277 L3.87132753,29.6968277 C3.358793,29.6968277 2.94330165,29.2813365 2.94330165,28.7688019 C2.94330165,28.3132156 3.27159111,27.9343054 3.70451369,27.8557278 L3.87132753,27.840776 L18.6172581,27.846452 C23.6969089,27.2820464 26.1439483,24.2912204 26.1439483,18.5605173 C26.1439483,13.0283959 23.8870007,10.3626156 19.1446408,10.2148013 L18.7197413,10.2082845 L2.39987488,10.2082845 L9.16767025,16.9762781 Z\",\n    id: \"\\u8DEF\\u5F84\",\n    fill: \"currentColor\"\n  }))))) : null, onClear ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    type: \"delete\",\n    className: \"\".concat(prefixCls, \"-drawing-board-clear\"),\n    onClick: function onClick() {\n      return handleOnClear();\n    }\n  }) : null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-drawing-board-tip\")\n  }, isEmpty ? signatureLangMsg === null || signatureLangMsg === void 0 ? void 0 : signatureLangMsg.pleaseWriteHere : ''), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"canvas\", {\n    ref: canvasRef\n  }));\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (DrawingBoard);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/signature/drawingBoard.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/signature/index.js":
/*!*******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/signature/index.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   DataUrlTypes: function() { return /* reexport safe */ _signature__WEBPACK_IMPORTED_MODULE_0__.DataUrlTypes; }\n/* harmony export */ });\n/* harmony import */ var _signature__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./signature */ \"../../node_modules/@kdcloudjs/kdesign/es/signature/signature.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_signature__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/signature/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/signature/signature.js":
/*!***********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/signature/signature.js ***!
  \***********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   DataUrlTypes: function() { return /* binding */ DataUrlTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _utils_signature_pad__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/signature_pad */ \"../../node_modules/@kdcloudjs/kdesign/es/signature/utils/signature_pad.js\");\n/* harmony import */ var _modal__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../modal */ \"../../node_modules/@kdcloudjs/kdesign/es/modal/index.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _image__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../image */ \"../../node_modules/@kdcloudjs/kdesign/es/image/index.js\");\n/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../button */ \"../../node_modules/@kdcloudjs/kdesign/es/button/index.js\");\n/* harmony import */ var _drawingBoard__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./drawingBoard */ \"../../node_modules/@kdcloudjs/kdesign/es/signature/drawingBoard.js\");\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils/hooks */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\n\n\n\n\nvar DataUrlTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('png', 'jpeg', 'svg');\nvar typeMapping = {\n  png: 'image/png',\n  jpeg: 'image/jpeg',\n  svg: 'image/svg+xml'\n};\nvar Signature = function Signature(props) {\n  var _classNames2;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps,\n    locale = _useContext.locale;\n  var signatureProps = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCompProps)('Signature', userDefaultProps, props);\n  var signatureLangMsg = locale.getCompLangMsg({\n    componentName: 'Signature'\n  });\n  var className = signatureProps.className,\n    style = signatureProps.style,\n    customPrefixcls = signatureProps.prefixCls,\n    containerWidth = signatureProps.containerWidth,\n    containerHeight = signatureProps.containerHeight,\n    getSignatureData = signatureProps.getSignatureData,\n    onStart = signatureProps.onStart,\n    onEnd = signatureProps.onEnd,\n    onClear = signatureProps.onClear,\n    undo = signatureProps.undo,\n    redo = signatureProps.redo,\n    penColor = signatureProps.penColor,\n    backgroundColor = signatureProps.backgroundColor,\n    _signatureProps$dataU = signatureProps.dataUrlType,\n    dataUrlType = _signatureProps$dataU === void 0 ? 'png' : _signatureProps$dataU,\n    title = signatureProps.title,\n    onClose = signatureProps.onClose,\n    disabled = signatureProps.disabled,\n    preview = signatureProps.preview,\n    canFullScreen = signatureProps.canFullScreen,\n    restProps = __rest(signatureProps, [\"className\", \"style\", \"prefixCls\", \"containerWidth\", \"containerHeight\", \"getSignatureData\", \"onStart\", \"onEnd\", \"onClear\", \"undo\", \"redo\", \"penColor\", \"backgroundColor\", \"dataUrlType\", \"title\", \"onClose\", \"disabled\", \"preview\", \"canFullScreen\"]);\n  var signaturePrefixCls = getPrefixCls(prefixCls, 'signature', customPrefixcls);\n  var signatureClass = classnames__WEBPACK_IMPORTED_MODULE_5___default()(signaturePrefixCls, className, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, \"\".concat(signaturePrefixCls, \"-disabled\"), disabled));\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState, 2),\n    modalVisible = _useState2[0],\n    setModalVisible = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(''),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState3, 2),\n    dataUrl = _useState4[0],\n    setDataUrl = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(true),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState5, 2),\n    isEmpty = _useState6[0],\n    setIsEmpty = _useState6[1];\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState7, 2),\n    isFullScreen = _useState8[0],\n    setIsFullScreen = _useState8[1];\n  var modalRef = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)();\n  var modalBodyRef = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)();\n  var triggerRef = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)();\n  var signaturePadRef = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)();\n  var handleOnClick = function handleOnClick() {\n    if (disabled) return;\n    setModalVisible(true);\n  };\n  var setJpegBgColor = function setJpegBgColor() {\n    var canvas = modalBodyRef.current.getCanvasRef();\n    var ctx = canvas.getContext('2d');\n    ctx.globalCompositeOperation = 'destination-over';\n    ctx.fillStyle = backgroundColor;\n    ctx.fillRect(0, 0, canvas.width, canvas.height);\n  };\n  var handleModalOk = function handleModalOk() {\n    var _a, _b;\n    var type = typeMapping[dataUrlType] || '';\n    if (type === 'image/jpeg') setJpegBgColor();\n    var result = (_a = signaturePadRef.current) === null || _a === void 0 ? void 0 : _a.toDataURL(type);\n    result && setDataUrl(result);\n    getSignatureData && getSignatureData(result);\n    (_b = signaturePadRef.current) === null || _b === void 0 ? void 0 : _b.clear();\n    setModalVisible(false);\n  };\n  var handleDelete = function handleDelete() {\n    if (disabled) return;\n    setDataUrl('');\n  };\n  var handleModalCancel = function handleModalCancel() {\n    onClose && onClose();\n    setModalVisible(false);\n  };\n  var handleFullScreen = function handleFullScreen(type) {\n    setIsFullScreen(true);\n    type === 'open' ? setIsFullScreen(true) : setIsFullScreen(false);\n  };\n  (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_9__.useResizeObserver)(modalRef.current, function (rect) {\n    var width = rect.width,\n      height = rect.height;\n    var canvas = modalBodyRef.current.getCanvasRef();\n    canvas.width = width - 40;\n    canvas.height = height - 142;\n  });\n  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {\n    if (modalBodyRef.current) {\n      var canvas = modalBodyRef.current.getCanvasRef();\n      signaturePadRef.current = new _utils_signature_pad__WEBPACK_IMPORTED_MODULE_10__[\"default\"](canvas, {\n        penColor: penColor\n      });\n      signaturePadRef.current.addEventListener('beginStroke', function () {\n        setIsEmpty(false);\n        onStart && onStart();\n      });\n      signaturePadRef.current.addEventListener('endStroke', function () {\n        modalBodyRef.current.saveSignatureToHistory();\n        onEnd && onEnd();\n      });\n    }\n    return function () {\n      if (signaturePadRef.current) {\n        signaturePadRef.current.off();\n      }\n    };\n  }, []);\n  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {\n    var _a, _b;\n    if (modalVisible) {\n      (_a = signaturePadRef.current) === null || _a === void 0 ? void 0 : _a.on();\n      modalBodyRef.current.saveSignatureToHistory();\n    } else {\n      (_b = signaturePadRef.current) === null || _b === void 0 ? void 0 : _b.off();\n      modalBodyRef.current.setSignatureHistory([]);\n      modalBodyRef.current.setCurrentHistoryIndex(-1);\n    }\n  }, [modalVisible]);\n  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {\n    signaturePadRef.current && (signaturePadRef.current.penColor = penColor);\n  }, [penColor]);\n  var DrawingBoardProps = {\n    prefixCls: signaturePrefixCls,\n    signatureLangMsg: signatureLangMsg,\n    undo: undo,\n    redo: redo,\n    isEmpty: isEmpty,\n    onClear: onClear,\n    setDataUrl: setDataUrl,\n    setIsEmpty: setIsEmpty,\n    signaturePad: function signaturePad() {\n      return signaturePadRef.current;\n    }\n  };\n  var modalClasses = classnames__WEBPACK_IMPORTED_MODULE_5___default()((_classNames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames2, \"\".concat(signaturePrefixCls, \"-modal\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames2, \"\".concat(signaturePrefixCls, \"-modal-fullscreen\"), isFullScreen), _classNames2));\n  var footer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: \"\".concat(signaturePrefixCls, \"-modal-footer\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_button__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    onClick: handleModalCancel\n  }, signatureLangMsg === null || signatureLangMsg === void 0 ? void 0 : signatureLangMsg.cancelText), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_button__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    type: \"primary\",\n    onClick: handleModalOk,\n    disabled: isEmpty\n  }, signatureLangMsg === null || signatureLangMsg === void 0 ? void 0 : signatureLangMsg.okText));\n  var titleIcon = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement((react__WEBPACK_IMPORTED_MODULE_4___default().Fragment), null, !isFullScreen ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n    className: \"kd-modal-expand-icon\",\n    onClick: function onClick() {\n      return handleFullScreen('open');\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"svg\", {\n    width: \"1em\",\n    height: \"1em\",\n    viewBox: \"0 0 32 32\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"g\", {\n    id: \"977.\\u5168\\u5C4F\",\n    stroke: \"none\",\n    \"stroke-width\": \"1\",\n    fill: \"none\",\n    \"fill-rule\": \"evenodd\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"g\", {\n    id: \"\\u7F16\\u7EC4\",\n    transform: \"translate(2.000000, 2.000000)\",\n    fill: \"#000000\",\n    \"fill-rule\": \"nonzero\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"path\", {\n    d: \"M1.07692308,17.4339622 C1.67169125,17.4339622 2.15384615,17.9161171 2.15384615,18.5108853 L2.15169231,24.8518084 L8.50424095,18.2911144 C8.91128276,17.8706218 9.58213195,17.8597178 10.0026246,18.2667596 L10.0077312,18.2717362 C10.4291221,18.6851765 10.4378354,19.3612143 10.0272402,19.7853779 L4.12030769,25.8856545 L10.2510885,25.8867924 C10.8346347,25.8867924 11.3076923,26.35985 11.3076923,26.9433963 C11.3076923,27.5269424 10.8346347,28 10.2510885,28 L1.0566038,28 C0.473057639,28 0,27.5269424 0,26.9433963 L0,18.5108853 C0,17.9161171 0.4821549,17.4339622 1.07692308,17.4339622 Z M26.9230769,16.9056604 C27.5178452,16.9056604 28,17.3878153 28,17.9825835 L28,17.9825835 L28,26.4150942 C28,26.9986405 27.5269424,27.4716981 26.9433963,27.4716981 L26.9433963,27.4716981 L17.7489115,27.4716981 C17.1653653,27.4716981 16.6923077,26.9986405 16.6923077,26.4150942 C16.6923077,25.8315482 17.1653653,25.3584905 17.7489115,25.3584905 L17.7489115,25.3584905 L25.8461538,25.3573527 L25.8461538,17.9825835 C25.8461538,17.3878153 26.3283087,16.9056604 26.9230769,16.9056604 Z M26.9433963,0 C27.5269424,0 28,0.473057639 28,1.0566038 L28,9.48911467 C28,10.0838829 27.5178452,10.5660378 26.9230769,10.5660378 C26.3283087,10.5660378 25.8461538,10.0838829 25.8461538,9.48911467 L25.8483077,3.1481916 L19.495759,9.70888562 C19.0887172,10.1293782 18.417868,10.1402822 17.9973754,9.73324042 L17.9922688,9.72826376 C17.5708779,9.31482358 17.5621646,8.63878569 17.9727599,8.21462222 L23.8796923,2.11434544 L17.7489115,2.11320756 C17.1653653,2.11320756 16.6923077,1.64014992 16.6923077,1.0566038 C16.6923077,0.473057639 17.1653653,0 17.7489115,0 L26.9433963,0 Z M10.2510885,0 C10.8346347,0 11.3076923,0.473057639 11.3076923,1.0566038 C11.3076923,1.64014992 10.8346347,2.11320756 10.2510885,2.11320756 L10.2510885,2.11320756 L2.15384615,2.11434544 L2.15384615,9.48911467 C2.15384615,10.0838829 1.67169125,10.5660378 1.07692308,10.5660378 C0.4821549,10.5660378 0,10.0838829 0,9.48911467 L0,9.48911467 L0,1.0566038 C0,0.473057639 0.473057639,0 1.0566038,0 L1.0566038,0 L10.2510885,0 Z\",\n    id: \"\\u5F62\\u72B6\",\n    fill: \"#666666\"\n  }))))) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n    className: \"kd-modal-expand-icon\",\n    onClick: function onClick() {\n      return handleFullScreen('close');\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"svg\", {\n    width: \"16px\",\n    height: \"16px\",\n    viewBox: \"0 0 32 32\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"g\", {\n    id: \"1226-\\u5173\\u95ED\\u5168\\u5C4F\",\n    stroke: \"none\",\n    \"stroke-width\": \"1\",\n    fill: \"none\",\n    \"fill-rule\": \"evenodd\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"g\", {\n    id: \"\\u7F16\\u7EC4\",\n    transform: \"translate(4.000000, 4.000000)\",\n    fill: \"#000000\",\n    \"fill-rule\": \"nonzero\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"path\", {\n    d: \"M15.9569224,17.3691573 L15.9569224,22.6490507 C15.9569224,23.385811 16.0714999,23.9626957 15.336072,23.9626957 C14.6019762,23.9626957 14.6566004,23.385811 14.6566004,22.6490507 L14.6566004,15.9875652 C14.6566004,15.5932053 14.8191407,15.2747863 15.076274,15.0549573 C15.3252286,14.7994658 15.66681,14.6553386 16.0235372,14.6552681 L22.6370601,14.6552681 C23.3711558,14.6552681 23.9520373,14.6073054 23.9520373,15.3427334 C23.9520373,16.0794937 23.3711558,15.9022982 22.6370601,15.9022982 L17.2545798,15.9022982 L15.9569224,17.367825 L15.9569224,17.3691573 Z M8.00977019,17.4064616 L6.7107805,15.9382702 L1.32963251,15.9382702 C0.595536804,15.9382702 0.0146552671,16.116798 0.0146552671,15.3800378 C0.0146552671,14.6446098 0.595536804,14.6939048 1.32963251,14.6939048 L7.94315534,14.6939048 C8.31486623,14.6939048 8.6492728,14.8471189 8.88908626,15.0935939 C9.16260631,15.3252747 9.31724071,15.6678192 9.31009215,16.0262018 L9.31009215,22.6876874 C9.31009215,23.4231154 9.36471634,24 8.63062063,24 C7.89519263,24 8.00977017,23.4231153 8.00977019,22.6863551 L8.00977019,17.4064616 L8.00977019,17.4064616 Z M15.9569224,6.59487065 L17.2559121,8.06172976 L22.6370601,8.06172976 C23.3711558,8.06172976 23.9520373,7.88453425 23.9520373,8.62129455 C23.9520373,9.35539026 23.3711558,9.30742755 22.6370601,9.30742755 L16.0235372,9.30742755 C15.66681,9.30735708 15.3252286,9.16322991 15.076274,8.90773844 C14.8032501,8.675801 14.649122,8.33329396 14.6566004,7.97513047 L14.6566004,1.31364494 C14.6552817,0.578216941 14.6019762,0 15.3347396,0 C16.0701676,0 15.9555901,0.578216941 15.9555901,1.31364494 L15.9555901,6.59487065 L15.9569224,6.59487065 Z M7.9951149,6.59487065 L7.9951149,1.31364494 C7.99378262,0.578216941 7.88053736,0 8.61596536,0 C9.34872876,0 9.29543688,0.578216941 9.29543688,1.31364494 L9.29543688,7.97513047 C9.30291535,8.33329396 9.14878718,8.675801 8.87576331,8.90773844 C8.62648612,9.16356115 8.2843572,9.30771659 7.92716776,9.30742755 L1.31497725,9.30742755 C0.579549251,9.30742755 0,9.35539026 0,8.61996227 C0,7.88453427 0.579549251,8.06172978 1.31497725,8.06172976 L6.69612523,8.06172976 L7.99378262,6.59487065 L7.9951149,6.59487065 Z\",\n    id: \"\\u5F62\\u72B6\",\n    fill: \"#666666\"\n  }))))));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement((react__WEBPACK_IMPORTED_MODULE_4___default().Fragment), null, dataUrl ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_image__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n    preview: preview,\n    src: dataUrl,\n    title: \"\\u5220\\u9664\",\n    operations: !disabled ? [/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n      type: \"delete\",\n      key: \"delete\",\n      onClick: function onClick() {\n        return handleDelete();\n      }\n    })] : undefined\n  }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: signatureClass,\n    ref: triggerRef,\n    onClick: handleOnClick,\n    style: style\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n    type: \"edit\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", null, signatureLangMsg === null || signatureLangMsg === void 0 ? void 0 : signatureLangMsg.clickToSign)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_modal__WEBPACK_IMPORTED_MODULE_14__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    width: containerWidth,\n    height: containerHeight,\n    ref: modalRef,\n    className: modalClasses,\n    visible: modalVisible,\n    onOk: handleModalOk,\n    onCancel: handleModalCancel,\n    resizable: true,\n    title: title || (signatureLangMsg === null || signatureLangMsg === void 0 ? void 0 : signatureLangMsg.handwrittenSignature),\n    titleIcon: canFullScreen && titleIcon,\n    body: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_drawingBoard__WEBPACK_IMPORTED_MODULE_15__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, DrawingBoardProps, {\n      ref: modalBodyRef\n    })),\n    footer: footer\n  }, restProps)));\n};\nSignature.displayName = 'Signature';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Signature);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/signature/signature.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/signature/utils/signature_pad.js":
/*!*********************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/signature/utils/signature_pad.js ***!
  \*********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ SignaturePad; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/reflect/construct */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/reflect/construct.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/from */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/symbol */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/symbol.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/get-iterator-method */ \"../../node_modules/@babel/runtime-corejs3/core-js/get-iterator-method.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_inherits__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/inherits */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/inherits.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/possibleConstructorReturn */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/possibleConstructorReturn.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/getPrototypeOf */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/getPrototypeOf.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/classCallCheck */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/classCallCheck.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/createClass */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/createClass.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/promise */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/promise.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_fill__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/fill */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/fill.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_fill__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_fill__WEBPACK_IMPORTED_MODULE_14__);\n\n\n\n\n\n\n\n\n\n\n\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof (_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_3___default()) !== \"undefined\" && _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_4___default()(o) || 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) { var _context9; if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1___default()(_context9 = Object.prototype.toString.call(o)).call(_context9, 8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_2___default()(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 _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0,_babel_runtime_corejs3_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0,_babel_runtime_corejs3_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(this).constructor; result = _babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0___default()(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0,_babel_runtime_corejs3_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !(_babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0___default())) return false; if ((_babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0___default().sham)) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(_babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0___default()(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\n\n\n/*!\n * Signature Pad v4.1.7 | https://github.com/szimek/signature_pad\n * (c) 2023 Szymon Nowak | Released under the MIT license\n */\nvar Point = /*#__PURE__*/function () {\n  function Point(x, y, pressure, time) {\n    (0,_babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(this, Point);\n    if (isNaN(x) || isNaN(y)) {\n      var _context;\n      throw new Error(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12___default()(_context = \"Point is invalid: (\".concat(x, \", \")).call(_context, y, \")\"));\n    }\n    this.x = +x;\n    this.y = +y;\n    this.pressure = pressure || 0;\n    this.time = time || Date.now();\n  }\n  (0,_babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(Point, [{\n    key: \"distanceTo\",\n    value: function distanceTo(start) {\n      return Math.sqrt(Math.pow(this.x - start.x, 2) + Math.pow(this.y - start.y, 2));\n    }\n  }, {\n    key: \"equals\",\n    value: function equals(other) {\n      return this.x === other.x && this.y === other.y && this.pressure === other.pressure && this.time === other.time;\n    }\n  }, {\n    key: \"velocityFrom\",\n    value: function velocityFrom(start) {\n      return this.time !== start.time ? this.distanceTo(start) / (this.time - start.time) : 0;\n    }\n  }]);\n  return Point;\n}();\nvar Bezier = /*#__PURE__*/function () {\n  function Bezier(startPoint, control2, control1, endPoint, startWidth, endWidth) {\n    (0,_babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(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  (0,_babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(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(m1.x + tx, m1.y + ty),\n        c2: new Point(m2.x + tx, m2.y + ty)\n      };\n    }\n  }]);\n  return Bezier;\n}();\nvar SignatureEventTarget = /*#__PURE__*/function () {\n  function SignatureEventTarget() {\n    (0,_babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(this, SignatureEventTarget);\n    try {\n      this._et = new EventTarget();\n    } catch (error) {\n      this._et = document;\n    }\n  }\n  (0,_babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(SignatureEventTarget, [{\n    key: \"addEventListener\",\n    value: function addEventListener(type, listener) {\n      var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n      this._et.addEventListener(type, listener, options);\n    }\n  }, {\n    key: \"dispatchEvent\",\n    value: function dispatchEvent(event) {\n      return this._et.dispatchEvent(event);\n    }\n  }, {\n    key: \"removeEventListener\",\n    value: function removeEventListener(type, callback) {\n      var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n      this._et.removeEventListener(type, callback, options);\n    }\n  }]);\n  return SignatureEventTarget;\n}();\nfunction throttle(fn) {\n  var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 250;\n  var previous = 0;\n  var timeout = null;\n  var result;\n  var storedContext;\n  var storedArgs;\n  var later = function later() {\n    previous = Date.now();\n    timeout = null;\n    result = fn.apply(storedContext, storedArgs);\n    if (!timeout) {\n      storedContext = null;\n      storedArgs = [];\n    }\n  };\n  return function wrapper() {\n    var now = Date.now();\n    var remaining = wait - (now - previous);\n    storedContext = this;\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n    storedArgs = args;\n    if (remaining <= 0 || remaining > wait) {\n      if (timeout) {\n        clearTimeout(timeout);\n        timeout = null;\n      }\n      previous = now;\n      result = fn.apply(storedContext, storedArgs);\n      if (!timeout) {\n        storedContext = null;\n        storedArgs = [];\n      }\n    } else if (!timeout) {\n      timeout = window.setTimeout(later, remaining);\n    }\n    return result;\n  };\n}\nvar SignaturePad = /*#__PURE__*/function (_SignatureEventTarget) {\n  (0,_babel_runtime_corejs3_helpers_inherits__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(SignaturePad, _SignatureEventTarget);\n  var _super = _createSuper(SignaturePad);\n  function SignaturePad(canvas) {\n    var _this;\n    var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n    (0,_babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(this, SignaturePad);\n    _this = _super.call(this);\n    _this.canvas = canvas;\n    _this._drawingStroke = false;\n    _this._isEmpty = true;\n    _this._lastPoints = [];\n    _this._data = [];\n    _this._lastVelocity = 0;\n    _this._lastWidth = 0;\n    _this._handleMouseDown = function (event) {\n      if (event.buttons === 1) {\n        _this._strokeBegin(event);\n      }\n    };\n    _this._handleMouseMove = function (event) {\n      _this._strokeMoveUpdate(event);\n    };\n    _this._handleMouseUp = function (event) {\n      if (event.buttons === 1) {\n        _this._strokeEnd(event);\n      }\n    };\n    _this._handleTouchStart = function (event) {\n      if (event.cancelable) {\n        event.preventDefault();\n      }\n      if (event.targetTouches.length === 1) {\n        var touch = event.changedTouches[0];\n        _this._strokeBegin(touch);\n      }\n    };\n    _this._handleTouchMove = function (event) {\n      if (event.cancelable) {\n        event.preventDefault();\n      }\n      var touch = event.targetTouches[0];\n      _this._strokeMoveUpdate(touch);\n    };\n    _this._handleTouchEnd = function (event) {\n      var wasCanvasTouched = event.target === _this.canvas;\n      if (wasCanvasTouched) {\n        if (event.cancelable) {\n          event.preventDefault();\n        }\n        var touch = event.changedTouches[0];\n        _this._strokeEnd(touch);\n      }\n    };\n    _this._handlePointerStart = function (event) {\n      event.preventDefault();\n      _this._strokeBegin(event);\n    };\n    _this._handlePointerMove = function (event) {\n      _this._strokeMoveUpdate(event);\n    };\n    _this._handlePointerEnd = function (event) {\n      if (_this._drawingStroke) {\n        event.preventDefault();\n        _this._strokeEnd(event);\n      }\n    };\n    _this.velocityFilterWeight = options.velocityFilterWeight || 0.7;\n    _this.minWidth = options.minWidth || 0.5;\n    _this.maxWidth = options.maxWidth || 2.5;\n    _this.throttle = 'throttle' in options ? options.throttle : 16;\n    _this.minDistance = 'minDistance' in options ? options.minDistance : 5;\n    _this.dotSize = options.dotSize || 0;\n    _this.penColor = options.penColor || 'black';\n    _this.backgroundColor = options.backgroundColor || 'rgba(0,0,0,0)';\n    _this.compositeOperation = options.compositeOperation || 'source-over';\n    _this._strokeMoveUpdate = _this.throttle ? throttle(SignaturePad.prototype._strokeUpdate, _this.throttle) : SignaturePad.prototype._strokeUpdate;\n    _this._ctx = canvas.getContext('2d');\n    _this.clear();\n    _this.on();\n    return _this;\n  }\n  (0,_babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(SignaturePad, [{\n    key: \"clear\",\n    value: function clear() {\n      var ctx = this._ctx,\n        canvas = this.canvas;\n      ctx.fillStyle = this.backgroundColor;\n      ctx.clearRect(0, 0, canvas.width, canvas.height);\n      ctx.fillRect(0, 0, canvas.width, canvas.height);\n      this._data = [];\n      this._reset(this._getPointGroupOptions());\n      this._isEmpty = true;\n    }\n  }, {\n    key: \"fromDataURL\",\n    value: function fromDataURL(dataUrl) {\n      var _this2 = this;\n      var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      return new (_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_13___default())(function (resolve, reject) {\n        var image = new Image();\n        var ratio = options.ratio || window.devicePixelRatio || 1;\n        var width = options.width || _this2.canvas.width / ratio;\n        var height = options.height || _this2.canvas.height / ratio;\n        var xOffset = options.xOffset || 0;\n        var yOffset = options.yOffset || 0;\n        _this2._reset(_this2._getPointGroupOptions());\n        image.onload = function () {\n          _this2._ctx.drawImage(image, xOffset, yOffset, width, height);\n          resolve();\n        };\n        image.onerror = function (error) {\n          reject(error);\n        };\n        image.crossOrigin = 'anonymous';\n        image.src = dataUrl;\n        _this2._isEmpty = false;\n      });\n    }\n  }, {\n    key: \"toDataURL\",\n    value: function toDataURL() {\n      var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'image/png';\n      var encoderOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      switch (type) {\n        case 'image/svg+xml':\n          if ((0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(encoderOptions) !== 'object') {\n            encoderOptions = undefined;\n          }\n          return \"data:image/svg+xml;base64,\".concat(btoa(this.toSVG(encoderOptions)));\n        default:\n          if (typeof encoderOptions !== 'number') {\n            encoderOptions = undefined;\n          }\n          return this.canvas.toDataURL(type, encoderOptions);\n      }\n    }\n  }, {\n    key: \"on\",\n    value: function on() {\n      this.canvas.style.touchAction = 'none';\n      this.canvas.style.msTouchAction = 'none';\n      this.canvas.style.userSelect = 'none';\n      var isIOS = /Macintosh/.test(navigator.userAgent) && 'ontouchstart' in document;\n      if (window.PointerEvent && !isIOS) {\n        this._handlePointerEvents();\n      } else {\n        this._handleMouseEvents();\n        if ('ontouchstart' in window) {\n          this._handleTouchEvents();\n        }\n      }\n    }\n  }, {\n    key: \"off\",\n    value: function off() {\n      this.canvas.style.touchAction = 'auto';\n      this.canvas.style.msTouchAction = 'auto';\n      this.canvas.style.userSelect = 'auto';\n      this.canvas.removeEventListener('pointerdown', this._handlePointerStart);\n      this.canvas.removeEventListener('pointermove', this._handlePointerMove);\n      this.canvas.ownerDocument.removeEventListener('pointerup', this._handlePointerEnd);\n      this.canvas.removeEventListener('mousedown', this._handleMouseDown);\n      this.canvas.removeEventListener('mousemove', this._handleMouseMove);\n      this.canvas.ownerDocument.removeEventListener('mouseup', this._handleMouseUp);\n      this.canvas.removeEventListener('touchstart', this._handleTouchStart);\n      this.canvas.removeEventListener('touchmove', this._handleTouchMove);\n      this.canvas.removeEventListener('touchend', this._handleTouchEnd);\n    }\n  }, {\n    key: \"isEmpty\",\n    value: function isEmpty() {\n      return this._isEmpty;\n    }\n  }, {\n    key: \"fromData\",\n    value: function fromData(pointGroups) {\n      var _context2;\n      var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n        _ref$clear = _ref.clear,\n        clear = _ref$clear === void 0 ? true : _ref$clear;\n      if (clear) {\n        this.clear();\n      }\n      this._fromData(pointGroups, this._drawCurve.bind(this), this._drawDot.bind(this));\n      this._data = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12___default()(_context2 = this._data).call(_context2, pointGroups);\n    }\n  }, {\n    key: \"toData\",\n    value: function toData() {\n      return this._data;\n    }\n  }, {\n    key: \"_getPointGroupOptions\",\n    value: function _getPointGroupOptions(group) {\n      return {\n        penColor: group && 'penColor' in group ? group.penColor : this.penColor,\n        dotSize: group && 'dotSize' in group ? group.dotSize : this.dotSize,\n        minWidth: group && 'minWidth' in group ? group.minWidth : this.minWidth,\n        maxWidth: group && 'maxWidth' in group ? group.maxWidth : this.maxWidth,\n        velocityFilterWeight: group && 'velocityFilterWeight' in group ? group.velocityFilterWeight : this.velocityFilterWeight,\n        compositeOperation: group && 'compositeOperation' in group ? group.compositeOperation : this.compositeOperation\n      };\n    }\n  }, {\n    key: \"_strokeBegin\",\n    value: function _strokeBegin(event) {\n      // const cancelled = !this.dispatchEvent(new CustomEvent('beginStroke', { detail: event, cancelable: true }));\n      var customEvent = document.createEvent('CustomEvent');\n      customEvent.initCustomEvent('beginStroke', true, true, event);\n      var cancelled = !this.dispatchEvent(customEvent);\n      if (cancelled) {\n        return;\n      }\n      this._drawingStroke = true;\n      var pointGroupOptions = this._getPointGroupOptions();\n      var newPointGroup = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_5__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_5__[\"default\"])({}, pointGroupOptions), {\n        points: []\n      });\n      this._data.push(newPointGroup);\n      this._reset(pointGroupOptions);\n      this._strokeUpdate(event);\n    }\n  }, {\n    key: \"_strokeUpdate\",\n    value: function _strokeUpdate(event) {\n      if (!this._drawingStroke) {\n        return;\n      }\n      if (this._data.length === 0) {\n        this._strokeBegin(event);\n        return;\n      }\n      // this.dispatchEvent(new CustomEvent('beforeUpdateStroke', { detail: event }));\n      var customEvent_one = document.createEvent('CustomEvent');\n      customEvent_one.initCustomEvent('beforeUpdateStroke', true, true, event);\n      this.dispatchEvent(customEvent_one);\n      var x = event.clientX;\n      var y = event.clientY;\n      var pressure = event.pressure !== undefined ? event.pressure : event.force !== undefined ? event.force : 0;\n      var point = this._createPoint(x, y, pressure);\n      var lastPointGroup = this._data[this._data.length - 1];\n      var lastPoints = lastPointGroup.points;\n      var lastPoint = lastPoints.length > 0 && lastPoints[lastPoints.length - 1];\n      var isLastPointTooClose = lastPoint ? point.distanceTo(lastPoint) <= this.minDistance : false;\n      var pointGroupOptions = this._getPointGroupOptions(lastPointGroup);\n      if (!lastPoint || !(lastPoint && isLastPointTooClose)) {\n        var curve = this._addPoint(point, pointGroupOptions);\n        if (!lastPoint) {\n          this._drawDot(point, pointGroupOptions);\n        } else if (curve) {\n          this._drawCurve(curve, pointGroupOptions);\n        }\n        lastPoints.push({\n          time: point.time,\n          x: point.x,\n          y: point.y,\n          pressure: point.pressure\n        });\n      }\n      // this.dispatchEvent(new CustomEvent('afterUpdateStroke', { detail: event }));\n      var customEvent_two = document.createEvent('CustomEvent');\n      customEvent_two.initCustomEvent('afterUpdateStroke', true, true, event);\n      this.dispatchEvent(customEvent_two);\n    }\n  }, {\n    key: \"_strokeEnd\",\n    value: function _strokeEnd(event) {\n      if (!this._drawingStroke) {\n        return;\n      }\n      this._strokeUpdate(event);\n      this._drawingStroke = false;\n      // this.dispatchEvent(new CustomEvent('endStroke', { detail: event }));\n      var customEvent = document.createEvent('CustomEvent');\n      customEvent.initCustomEvent('endStroke', true, true, event);\n      this.dispatchEvent(customEvent);\n    }\n  }, {\n    key: \"_handlePointerEvents\",\n    value: function _handlePointerEvents() {\n      this._drawingStroke = false;\n      this.canvas.addEventListener('pointerdown', this._handlePointerStart);\n      this.canvas.addEventListener('pointermove', this._handlePointerMove);\n      this.canvas.ownerDocument.addEventListener('pointerup', this._handlePointerEnd);\n    }\n  }, {\n    key: \"_handleMouseEvents\",\n    value: function _handleMouseEvents() {\n      this._drawingStroke = false;\n      this.canvas.addEventListener('mousedown', this._handleMouseDown);\n      this.canvas.addEventListener('mousemove', this._handleMouseMove);\n      this.canvas.ownerDocument.addEventListener('mouseup', this._handleMouseUp);\n    }\n  }, {\n    key: \"_handleTouchEvents\",\n    value: function _handleTouchEvents() {\n      this.canvas.addEventListener('touchstart', this._handleTouchStart);\n      this.canvas.addEventListener('touchmove', this._handleTouchMove);\n      this.canvas.addEventListener('touchend', this._handleTouchEnd);\n    }\n  }, {\n    key: \"_reset\",\n    value: function _reset(options) {\n      this._lastPoints = [];\n      this._lastVelocity = 0;\n      this._lastWidth = (options.minWidth + options.maxWidth) / 2;\n      this._ctx.fillStyle = options.penColor;\n      this._ctx.globalCompositeOperation = options.compositeOperation;\n    }\n  }, {\n    key: \"_createPoint\",\n    value: function _createPoint(x, y, pressure) {\n      var rect = this.canvas.getBoundingClientRect();\n      return new Point(x - rect.left, y - rect.top, pressure, new Date().getTime());\n    }\n  }, {\n    key: \"_addPoint\",\n    value: function _addPoint(point, options) {\n      var _lastPoints = this._lastPoints;\n      _lastPoints.push(point);\n      if (_lastPoints.length > 2) {\n        if (_lastPoints.length === 3) {\n          _lastPoints.unshift(_lastPoints[0]);\n        }\n        var widths = this._calculateCurveWidths(_lastPoints[1], _lastPoints[2], options);\n        var curve = Bezier.fromPoints(_lastPoints, widths);\n        _lastPoints.shift();\n        return curve;\n      }\n      return null;\n    }\n  }, {\n    key: \"_calculateCurveWidths\",\n    value: function _calculateCurveWidths(startPoint, endPoint, options) {\n      var velocity = options.velocityFilterWeight * endPoint.velocityFrom(startPoint) + (1 - options.velocityFilterWeight) * this._lastVelocity;\n      var newWidth = this._strokeWidth(velocity, options);\n      var widths = {\n        end: newWidth,\n        start: this._lastWidth\n      };\n      this._lastVelocity = velocity;\n      this._lastWidth = newWidth;\n      return widths;\n    }\n  }, {\n    key: \"_strokeWidth\",\n    value: function _strokeWidth(velocity, options) {\n      return Math.max(options.maxWidth / (velocity + 1), options.minWidth);\n    }\n  }, {\n    key: \"_drawCurveSegment\",\n    value: function _drawCurveSegment(x, y, width) {\n      var ctx = this._ctx;\n      ctx.moveTo(x, y);\n      ctx.arc(x, y, width, 0, 2 * Math.PI, false);\n      this._isEmpty = false;\n    }\n  }, {\n    key: \"_drawCurve\",\n    value: function _drawCurve(curve, options) {\n      var ctx = this._ctx;\n      var widthDelta = curve.endWidth - curve.startWidth;\n      var drawSteps = Math.ceil(curve.length()) * 2;\n      ctx.beginPath();\n      ctx.fillStyle = options.penColor;\n      for (var i = 0; i < drawSteps; i += 1) {\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        this._drawCurveSegment(x, y, width);\n      }\n      ctx.closePath();\n      _babel_runtime_corejs3_core_js_stable_instance_fill__WEBPACK_IMPORTED_MODULE_14___default()(ctx).call(ctx);\n    }\n  }, {\n    key: \"_drawDot\",\n    value: function _drawDot(point, options) {\n      var ctx = this._ctx;\n      var width = options.dotSize > 0 ? options.dotSize : (options.minWidth + options.maxWidth) / 2;\n      ctx.beginPath();\n      this._drawCurveSegment(point.x, point.y, width);\n      ctx.closePath();\n      ctx.fillStyle = options.penColor;\n      _babel_runtime_corejs3_core_js_stable_instance_fill__WEBPACK_IMPORTED_MODULE_14___default()(ctx).call(ctx);\n    }\n  }, {\n    key: \"_fromData\",\n    value: function _fromData(pointGroups, drawCurve, drawDot) {\n      var _iterator = _createForOfIteratorHelper(pointGroups),\n        _step;\n      try {\n        for (_iterator.s(); !(_step = _iterator.n()).done;) {\n          var group = _step.value;\n          var points = group.points;\n          var pointGroupOptions = this._getPointGroupOptions(group);\n          if (points.length > 1) {\n            for (var j = 0; j < points.length; j += 1) {\n              var basicPoint = points[j];\n              var point = new Point(basicPoint.x, basicPoint.y, basicPoint.pressure, basicPoint.time);\n              if (j === 0) {\n                this._reset(pointGroupOptions);\n              }\n              var curve = this._addPoint(point, pointGroupOptions);\n              if (curve) {\n                drawCurve(curve, pointGroupOptions);\n              }\n            }\n          } else {\n            this._reset(pointGroupOptions);\n            drawDot(points[0], pointGroupOptions);\n          }\n        }\n      } catch (err) {\n        _iterator.e(err);\n      } finally {\n        _iterator.f();\n      }\n    }\n  }, {\n    key: \"toSVG\",\n    value: function toSVG() {\n      var _context3, _context4;\n      var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n        _ref2$includeBackgrou = _ref2.includeBackgroundColor,\n        includeBackgroundColor = _ref2$includeBackgrou === void 0 ? false : _ref2$includeBackgrou;\n      var pointGroups = this._data;\n      var ratio = Math.max(window.devicePixelRatio || 1, 1);\n      var minX = 0;\n      var minY = 0;\n      var maxX = this.canvas.width / ratio;\n      var maxY = this.canvas.height / ratio;\n      var svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\n      svg.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n      svg.setAttribute('xmlns:xlink', 'http://www.w3.org/1999/xlink');\n      svg.setAttribute('viewBox', _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12___default()(_context3 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12___default()(_context4 = \"\".concat(minX, \" \").concat(minY, \" \")).call(_context4, maxX, \" \")).call(_context3, maxY));\n      svg.setAttribute('width', maxX.toString());\n      svg.setAttribute('height', maxY.toString());\n      if (includeBackgroundColor && this.backgroundColor) {\n        var rect = document.createElement('rect');\n        rect.setAttribute('width', '100%');\n        rect.setAttribute('height', '100%');\n        rect.setAttribute('fill', this.backgroundColor);\n        svg.appendChild(rect);\n      }\n      this._fromData(pointGroups, function (curve, _ref3) {\n        var penColor = _ref3.penColor;\n        var path = document.createElement('path');\n        if (!isNaN(curve.control1.x) && !isNaN(curve.control1.y) && !isNaN(curve.control2.x) && !isNaN(curve.control2.y)) {\n          var _context5, _context6, _context7, _context8;\n          var attr = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12___default()(_context5 = \"M \".concat(curve.startPoint.x.toFixed(3), \",\")).call(_context5, curve.startPoint.y.toFixed(3), \" \") + _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12___default()(_context6 = \"C \".concat(curve.control1.x.toFixed(3), \",\")).call(_context6, curve.control1.y.toFixed(3), \" \") + _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12___default()(_context7 = \"\".concat(curve.control2.x.toFixed(3), \",\")).call(_context7, curve.control2.y.toFixed(3), \" \") + _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12___default()(_context8 = \"\".concat(curve.endPoint.x.toFixed(3), \",\")).call(_context8, curve.endPoint.y.toFixed(3));\n          path.setAttribute('d', attr);\n          path.setAttribute('stroke-width', (curve.endWidth * 2.25).toFixed(3));\n          path.setAttribute('stroke', penColor);\n          path.setAttribute('fill', 'none');\n          path.setAttribute('stroke-linecap', 'round');\n          svg.appendChild(path);\n        }\n      }, function (point, _ref4) {\n        var penColor = _ref4.penColor,\n          dotSize = _ref4.dotSize,\n          minWidth = _ref4.minWidth,\n          maxWidth = _ref4.maxWidth;\n        var circle = document.createElement('circle');\n        var size = dotSize > 0 ? dotSize : (minWidth + maxWidth) / 2;\n        circle.setAttribute('r', size.toString());\n        circle.setAttribute('cx', point.x.toString());\n        circle.setAttribute('cy', point.y.toString());\n        circle.setAttribute('fill', penColor);\n        svg.appendChild(circle);\n      });\n      return svg.outerHTML;\n    }\n  }]);\n  return SignaturePad;\n}(SignatureEventTarget);\n\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/signature/utils/signature_pad.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/slider/index.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/slider/index.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _slider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./slider */ \"../../node_modules/@kdcloudjs/kdesign/es/slider/slider.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_slider__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/slider/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/slider/marks.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/slider/marks.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/sort */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/sort.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_7__);\n\n\n\n\n\n\n\n\nfunction Marks(props) {\n  var _context, _context2, _context3;\n  var marks = props.marks,\n    prefixCls = props.prefixCls,\n    vertical = props.vertical,\n    reverse = props.reverse,\n    min = props.min,\n    max = props.max,\n    bound = props.bound,\n    onClickLabel = props.onClickLabel;\n  var range = max - min;\n  var elements = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default()(_context = _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default()(_context3 = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5___default()(marks)).call(_context3, parseFloat)).call(_context2, function (a, b) {\n    return a - b;\n  })).call(_context, function (point) {\n    var _classNames;\n    // 判断label元素 可能是reactNode 也可能是{label: reactNode, style: css}\n    var markNode = marks[point];\n    var isObject = (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(markNode) === 'object' && ! /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().isValidElement(markNode);\n    var markLabelElement = isObject ? markNode.label : markNode;\n    var markLabelStyle = isObject ? markNode.style : null;\n    // 根据vertical和reverse判断mark的样式\n    var offset = \"\".concat(Math.abs(point - min) / range * 100, \"%\");\n    var markStyle = vertical ? (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, reverse ? 'top' : 'bottom', offset), markLabelStyle) : (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, reverse ? 'right' : 'left', offset), markLabelStyle);\n    var isActived = bound >= point;\n    var markClass = classnames__WEBPACK_IMPORTED_MODULE_7___default()((_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-mark-text\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-mark-text-actived\"), isActived), _classNames));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"span\", {\n      className: markClass,\n      key: point,\n      style: markStyle,\n      onMouseDown: function onMouseDown(e) {\n        return onClickLabel(e, point);\n      },\n      onTouchStart: function onTouchStart(e) {\n        return onClickLabel(e, point);\n      }\n    }, markLabelElement);\n  });\n  var marksClass = classnames__WEBPACK_IMPORTED_MODULE_7___default()(\"\".concat(prefixCls, \"-mark\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(prefixCls, \"-reverse\"), reverse));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: marksClass\n  }, elements);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (Marks);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/slider/marks.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/slider/slider.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/slider/slider.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var _marks__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./marks */ \"../../node_modules/@kdcloudjs/kdesign/es/slider/marks.js\");\n/* harmony import */ var _steps__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./steps */ \"../../node_modules/@kdcloudjs/kdesign/es/slider/steps.js\");\n/* harmony import */ var _track__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./track */ \"../../node_modules/@kdcloudjs/kdesign/es/slider/track.js\");\n/* harmony import */ var _sliderTooltip__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./sliderTooltip */ \"../../node_modules/@kdcloudjs/kdesign/es/slider/sliderTooltip.js\");\n/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils/hooks */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils */ \"../../node_modules/@kdcloudjs/kdesign/es/slider/utils.js\");\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\n\n\n\n// remove this line and code Slider component here\nvar InteranalSlider = function InteranalSlider(props, ref) {\n  var _classNames;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_6__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var sliderProps = (0,_utils__WEBPACK_IMPORTED_MODULE_7__.getCompProps)('Slider', userDefaultProps, props);\n  var className = sliderProps.className,\n    style = sliderProps.style,\n    customPrefixcls = sliderProps.prefixCls,\n    defaultValue = sliderProps.defaultValue,\n    disabled = sliderProps.disabled,\n    dots = sliderProps.dots,\n    marks = sliderProps.marks,\n    min = sliderProps.min,\n    max = sliderProps.max,\n    vertical = sliderProps.vertical,\n    reverse = sliderProps.reverse,\n    step = sliderProps.step,\n    tipFormatter = sliderProps.tipFormatter,\n    tooltipVisible = sliderProps.tooltipVisible,\n    tooltipPlacement = sliderProps.tooltipPlacement,\n    propsValue = sliderProps.value,\n    getPopupContainer = sliderProps.getPopupContainer,\n    onAfterChange = sliderProps.onAfterChange,\n    onChange = sliderProps.onChange,\n    onBlur = sliderProps.onBlur,\n    others = __rest(sliderProps, [\"className\", \"style\", \"prefixCls\", \"defaultValue\", \"disabled\", \"dots\", \"marks\", \"min\", \"max\", \"vertical\", \"reverse\", \"step\", \"tipFormatter\", \"tooltipVisible\", \"tooltipPlacement\", \"value\", \"getPopupContainer\", \"onAfterChange\", \"onChange\", \"onBlur\"]);\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(className && className.indexOf('shit') > -1, 'slider', \"slider className can't include '\".concat(className, \"'\"));\n  var sliderPrefixCls = getPrefixCls(prefixCls, 'slider', customPrefixcls);\n  // ref\n  var thisSliderRef = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)();\n  var sliderRef = ref || thisSliderRef;\n  var handleRef = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)();\n  var sliderClasses = classnames__WEBPACK_IMPORTED_MODULE_5___default()(sliderPrefixCls, className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames, \"\".concat(sliderPrefixCls, \"-vertical\"), vertical), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames, \"\".concat(sliderPrefixCls, \"-disabled\"), disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames, \"\".concat(sliderPrefixCls, \"-reverse\"), reverse), _classNames));\n  var _useMergedState = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_9__.useMergedState)(0, {\n      defaultValue: defaultValue,\n      value: propsValue\n    }),\n    _useMergedState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useMergedState, 2),\n    value = _useMergedState2[0],\n    setValue = _useMergedState2[1];\n  var isDragging = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(false);\n  var valueRef = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)((0,_utils_hooks__WEBPACK_IMPORTED_MODULE_9__.useMergedState)(0, {\n    defaultValue: defaultValue,\n    value: propsValue\n  }));\n  var mouseOffset;\n  var addDocumentMouseEvents = function addDocumentMouseEvents() {\n    document.addEventListener('mousemove', handleMouseMove);\n    document.addEventListener('mouseup', handleMouseUp);\n  };\n  var removeDocumentEvents = function removeDocumentEvents() {\n    document.removeEventListener('mousemove', handleMouseMove);\n    document.removeEventListener('mouseup', handleMouseUp);\n  };\n  var noop = function noop() {\n    return undefined;\n  };\n  // 获取开始位置尺寸\n  var getSliderStart = function getSliderStart() {\n    var rect = sliderRef.current.getBoundingClientRect();\n    if (vertical) {\n      return reverse ? rect.bottom : rect.top;\n    }\n    return window.pageXOffset + (reverse ? rect.right : rect.left);\n  };\n  // 获取整个滑块的长度\n  var getSliderLength = function getSliderLength() {\n    var slider = sliderRef.current;\n    if (!slider) {\n      return 0;\n    }\n    var coords = slider.getBoundingClientRect();\n    return vertical ? coords.height : coords.width;\n  };\n  // 将鼠标点击位置距开始位置的偏移量转化为value\n  var calcValue = function calcValue(offset) {\n    var ratio = Math.abs(Math.max(offset, 0) / getSliderLength());\n    var value = vertical ? (1 - ratio) * (max - min) + min : ratio * (max - min) + min;\n    return value;\n  };\n  // 对值进行转化 1. 在[min, max]区间 2. 当设置了step或者marks时找到距离最近的点\n  var trimAlignValue = function trimAlignValue(v) {\n    var nextProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n    if (v === null) {\n      return null;\n    }\n    var mergedProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, sliderProps), nextProps);\n    var val = (0,_utils__WEBPACK_IMPORTED_MODULE_10__.ensureValueInRange)(v, mergedProps);\n    return (0,_utils__WEBPACK_IMPORTED_MODULE_10__.ensureValuePrecision)(val, mergedProps);\n  };\n  // 将鼠标点击的位置转化value\n  var calcValueByPos = function calcValueByPos(position) {\n    var sign = reverse ? -1 : +1;\n    var pixelOffset = sign * (position - getSliderStart());\n    var nextValue = trimAlignValue(calcValue(pixelOffset));\n    return nextValue;\n  };\n  var onEnd = function onEnd() {\n    removeDocumentEvents();\n    if (isDragging.current) {\n      onAfterChange && onAfterChange(valueRef.current);\n    }\n    isDragging.current = false;\n  };\n  var handleTouchStart = function handleTouchStart() {\n    // console.log('object :>> ', 'object', addDocumentMouseEvents)\n  };\n  var handleMouseDown = function handleMouseDown(e) {\n    // 移除document的鼠标事件\n    removeDocumentEvents();\n    // 获取当前鼠标的坐标位置\n    var position = vertical ? e.clientY : e.pageX;\n    // 判断当前点击的区域是否是拖拽点还是bar条\n    var isHandlePoint = handleRef.current === e.target;\n    if (!isHandlePoint) {\n      mouseOffset = 0;\n    } else {\n      var handlePosition = (0,_utils__WEBPACK_IMPORTED_MODULE_10__.getHandleCenterposition)(vertical, e.target);\n      mouseOffset = position - handlePosition;\n      position = handlePosition;\n    }\n    // 设置状态值\n    isDragging.current = true;\n    var newV = calcValueByPos(position);\n    if (newV !== value) {\n      setValue(newV);\n      valueRef.current = newV;\n    }\n    onChange && onChange(newV);\n    // 监听document的鼠标事件\n    addDocumentMouseEvents();\n  };\n  var handleMouseUp = function handleMouseUp() {\n    onEnd();\n  };\n  var handleKeyDown = function handleKeyDown() {\n    // console.log('object :>> ', 'object')\n  };\n  var handleFocus = function handleFocus() {\n    // console.log('object :>> ', 'object')\n  };\n  var handleBlur = function handleBlur(e) {\n    onEnd();\n    onBlur && onBlur(e);\n  };\n  var handleMouseMove = function handleMouseMove(e) {\n    if (!sliderRef.current) {\n      removeDocumentEvents();\n      if (isDragging.current) {\n        onAfterChange(value);\n      }\n      isDragging.current = false;\n      return;\n    }\n    var position = vertical ? e.clientY : e.pageX;\n    var newV = calcValueByPos(position - mouseOffset);\n    if (newV !== value) {\n      setValue(newV);\n      valueRef.current = newV;\n    }\n    onChange && onChange(newV);\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {\n    return function () {\n      removeDocumentEvents();\n    };\n  }, []);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    ref: sliderRef,\n    className: sliderClasses\n  }, others, {\n    style: style,\n    onTouchStart: disabled ? noop : handleTouchStart,\n    onMouseDown: disabled ? noop : handleMouseDown,\n    // onMouseUp={disabled ? noop : handleMouseUp}\n    onKeyDown: disabled ? noop : handleKeyDown,\n    onFocus: disabled ? noop : handleFocus,\n    onBlur: disabled ? noop : handleBlur\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: \"\".concat(sliderPrefixCls, \"-rail\")\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_track__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    prefixCls: sliderPrefixCls,\n    vertical: vertical,\n    reverse: reverse,\n    min: min,\n    max: max,\n    bound: value\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_steps__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n    marks: marks,\n    prefixCls: sliderPrefixCls,\n    vertical: vertical,\n    min: min,\n    max: max,\n    dots: dots,\n    step: step,\n    reverse: reverse,\n    bound: value\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_sliderTooltip__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n    ref: handleRef,\n    placement: tooltipPlacement,\n    tip: tipFormatter === null || tipFormatter === void 0 ? void 0 : tipFormatter(value),\n    visible: disabled ? false : tooltipVisible,\n    prefixCls: sliderPrefixCls,\n    vertical: vertical,\n    reverse: reverse,\n    min: min,\n    max: max,\n    bound: value,\n    getPopupContainer: getPopupContainer\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_marks__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n    marks: marks,\n    prefixCls: sliderPrefixCls,\n    vertical: vertical,\n    reverse: reverse,\n    min: min,\n    max: max,\n    bound: value,\n    onClickLabel: function onClickLabel() {\n      // console.log('hello world!')\n    }\n  }));\n};\nvar Slider = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().forwardRef(InteranalSlider);\nSlider.displayName = 'Slider';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Slider);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/slider/slider.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/slider/sliderTooltip.js":
/*!************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/slider/sliderTooltip.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../tooltip */ \"../../node_modules/@kdcloudjs/kdesign/es/tooltip/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\nvar SliderTooltip = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().forwardRef(function (props, ref) {\n  var _ref, _ref2;\n  var visible = props.visible,\n    prefixCls = props.prefixCls,\n    reverse = props.reverse,\n    vertical = props.vertical,\n    min = props.min,\n    max = props.max,\n    bound = props.bound,\n    tip = props.tip,\n    others = __rest(props, [\"visible\", \"prefixCls\", \"reverse\", \"vertical\", \"min\", \"max\", \"bound\", \"tip\"]);\n  var thisTooltipRef = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(null);\n  var tooltipRef = ref || thisTooltipRef;\n  var sliderHandleClass = classnames__WEBPACK_IMPORTED_MODULE_4___default()(\"\".concat(prefixCls, \"-handle\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(prefixCls, \"-reverse\"), reverse));\n  var range = max - min;\n  var offset = \"\".concat(Math.abs(bound - min) / range * 100, \"%\");\n  var handleStyle = vertical ? (_ref = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_ref, reverse ? 'top' : 'bottom', offset), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_ref, reverse ? 'bottom' : 'top', 'auto'), _ref) : (_ref2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_ref2, reverse ? 'right' : 'left', offset), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_ref2, reverse ? 'left' : 'right', 'auto'), _ref2);\n  var placement = vertical ? 'right' : 'top';\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_5__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    ref: tooltipRef\n  }, others, {\n    tip: tip || bound,\n    visible: tip !== null && visible,\n    placement: placement\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n    className: sliderHandleClass,\n    style: handleStyle\n  }));\n});\nSliderTooltip.displayName = 'SliderTooltip';\n/* harmony default export */ __webpack_exports__[\"default\"] = (SliderTooltip);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/slider/sliderTooltip.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/slider/steps.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/slider/steps.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/sort */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/sort.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n\n\n\n\n\n\n\nvar getAllMarkPoints = function getAllMarkPoints(marks, dots, step, min, max) {\n  var _context, _context2;\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(dots ? step > 0 : true, 'slider', '`Slider[step]` should be a positive number in order to make Slider[dots] work.');\n  var points = _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_1___default()(_context = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(_context2 = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3___default()(marks)).call(_context2, parseFloat)).call(_context, function (a, b) {\n    return a - b;\n  });\n  if (dots && step) {\n    for (var i = min; i <= max; i += step) {\n      if (points.indexOf(i) === -1) {\n        points.push(i);\n      }\n    }\n  }\n  return points;\n};\nfunction steps(props) {\n  var _context3;\n  var marks = props.marks,\n    prefixCls = props.prefixCls,\n    vertical = props.vertical,\n    reverse = props.reverse,\n    dots = props.dots,\n    step = props.step,\n    min = props.min,\n    max = props.max,\n    bound = props.bound;\n  var range = max - min;\n  var elements = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(_context3 = getAllMarkPoints(marks, dots, step, min, max)).call(_context3, function (point) {\n    var _classNames;\n    var isActived = bound >= point;\n    var offset = \"\".concat(Math.abs(point - min) / range * 100, \"%\");\n    var style = vertical ? (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, reverse ? 'top' : 'bottom', offset) : (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, reverse ? 'right' : 'left', offset);\n    var markPointClass = classnames__WEBPACK_IMPORTED_MODULE_5___default()((_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-dot\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-dot-actived\"), isActived), _classNames));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n      className: markPointClass,\n      key: point,\n      style: style\n    });\n  });\n  var stepClass = classnames__WEBPACK_IMPORTED_MODULE_5___default()(\"\".concat(prefixCls, \"-step\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(prefixCls, \"-reverse\"), reverse));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: stepClass\n  }, elements);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (steps);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/slider/steps.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/slider/track.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/slider/track.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n\n\nfunction Track(props) {\n  var _ref, _ref2;\n  var prefixCls = props.prefixCls,\n    vertical = props.vertical,\n    reverse = props.reverse,\n    bound = props.bound,\n    min = props.min,\n    max = props.max;\n  var range = max - min;\n  var offset = \"\".concat(Math.abs(bound - min) / range * 100, \"%\");\n  var trackStyle = vertical ? (_ref = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, reverse ? 'top' : 'bottom', '0%'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, reverse ? 'bottom' : 'top', 'auto'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, \"height\", offset), _ref) : (_ref2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref2, reverse ? 'right' : 'left', '0%'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref2, reverse ? 'left' : 'right', 'auto'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref2, \"width\", offset), _ref2);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-track\"),\n    style: trackStyle\n  });\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (Track);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/slider/track.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/slider/utils.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/slider/utils.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ensureValueInRange: function() { return /* binding */ ensureValueInRange; },\n/* harmony export */   ensureValuePrecision: function() { return /* binding */ ensureValuePrecision; },\n/* harmony export */   getClosestPoint: function() { return /* binding */ getClosestPoint; },\n/* harmony export */   getHandleCenterposition: function() { return /* binding */ getHandleCenterposition; },\n/* harmony export */   getPrecision: function() { return /* binding */ getPrecision; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\nfunction getHandleCenterposition(vertical, handle) {\n  var coords = handle.getBoundingClientRect();\n  return vertical ? coords.top + coords.height * 0.5 : window.pageXOffset + coords.left + coords.width * 0.5;\n}\nfunction getPrecision(step) {\n  var stepString = step.toString();\n  var precision = 0;\n  if (stepString.indexOf('.') >= 0) {\n    precision = stepString.length - stepString.indexOf('.') - 1;\n  }\n  return precision;\n}\nfunction getClosestPoint(val, props) {\n  var _context;\n  var marks = props.marks,\n    step = props.step,\n    min = props.min,\n    max = props.max;\n  var points = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1___default()(_context = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2___default()(marks)).call(_context, parseFloat);\n  if (step !== null) {\n    var baseNum = Math.pow(10, getPrecision(step));\n    var maxSteps = Math.floor((max * baseNum - min * baseNum) / (step * baseNum));\n    var steps = Math.min((val - min) / step, maxSteps);\n    var closestStep = Math.round(steps) * step + min;\n    points.push(closestStep);\n  }\n  var diffs = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1___default()(points).call(points, function (point) {\n    return Math.abs(val - point);\n  });\n  return points[diffs.indexOf(Math.min.apply(Math, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(diffs)))];\n}\nfunction ensureValueInRange(val, _ref) {\n  var max = _ref.max,\n    min = _ref.min;\n  if (val <= min) {\n    return min;\n  }\n  if (val >= max) {\n    return max;\n  }\n  return val;\n}\nfunction ensureValuePrecision(val, props) {\n  var step = props.step;\n  var closestPoint = isFinite(getClosestPoint(val, props)) ? getClosestPoint(val, props) : 0;\n  return step === null ? closestPoint : parseFloat(closestPoint.toFixed(getPrecision(step)));\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/slider/utils.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/space/index.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/space/index.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./space */ \"../../node_modules/@kdcloudjs/kdesign/es/space/space.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_space__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/space/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/space/space.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/space/space.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/splice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n\n\n\n\n\n\n\n\n\n\n\nvar Space = function Space(props) {\n  var _context, _context2;\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_7__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_9__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    pkgPrefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  // 属性需要合并一遍用户定义的默认属性\n  var _getCompProps = (0,_utils__WEBPACK_IMPORTED_MODULE_10__.getCompProps)('Space', userDefaultProps, props),\n    style = _getCompProps.style,\n    className = _getCompProps.className,\n    children = _getCompProps.children,\n    direction = _getCompProps.direction,\n    align = _getCompProps.align,\n    size = _getCompProps.size,\n    split = _getCompProps.split,\n    wrap = _getCompProps.wrap,\n    customPrefixcls = _getCompProps.prefixCls;\n  // className前缀\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'space', customPrefixcls);\n  var mapSize = {\n    small: 8,\n    middle: 16,\n    large: 24\n  };\n  var getGap = function getGap(size) {\n    return mapSize[size] || size || 0;\n  };\n  var gap = {\n    col: 0\n  };\n  if (Array.isArray(size)) {\n    var _size = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(size, 2),\n      col = _size[0],\n      row = _size[1];\n    gap.col = getGap(col);\n    gap.row = getGap(row);\n  } else {\n    gap.col = getGap(size);\n  }\n  var styleString = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({\n    '--cgap': gap.col + 'px',\n    '--rgap': gap.row && gap.row + 'px'\n  }, style);\n  var spaceClass = classnames__WEBPACK_IMPORTED_MODULE_8___default()(prefixCls, className, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = \"\".concat(prefixCls, \"-\")).call(_context, direction), _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = \"\".concat(prefixCls, \"-align-\")).call(_context2, align), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(prefixCls, \"-wrap\"), wrap));\n  var renderItems = function renderItems(children) {\n    var _context3;\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default()(_context3 = react__WEBPACK_IMPORTED_MODULE_7__.Children).call(_context3, children, function (child) {\n      if (child === null || child === void 0 ? void 0 : child.type) {\n        if ((0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(child.type) === 'symbol') {\n          return renderItems(child.props.children);\n        }\n        return child;\n      }\n      if (child) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__.createElement(\"span\", null, child);\n    });\n  };\n  var Items = renderItems(children);\n  if (split) {\n    for (var i = 1; i < Items.length; i += 2) {\n      _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_6___default()(Items).call(Items, i, 0, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__.cloneElement((split === null || split === void 0 ? void 0 : split.type) ? split : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__.createElement(\"span\", null, split), {\n        key: i\n      }));\n    }\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__.createElement(\"div\", {\n    className: spaceClass,\n    style: styleString\n  }, Items);\n};\nSpace.displayName = 'Space';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Space);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/space/space.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/spin/index.js":
/*!**************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/spin/index.js ***!
  \**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   SpinTypes: function() { return /* reexport safe */ _spin__WEBPACK_IMPORTED_MODULE_0__.SpinTypes; }\n/* harmony export */ });\n/* harmony import */ var _spin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./spin */ \"../../node_modules/@kdcloudjs/kdesign/es/spin/spin.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_spin__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/spin/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/spin/spin.js":
/*!*************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/spin/spin.js ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   SpinTypes: function() { return /* binding */ SpinTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\nvar SpinTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('page', 'container', 'component');\n// remove this line and code Spin component here\nvar InteranalSpin = function InteranalSpin(props, ref) {\n  var _context, _classNames;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var spinProps = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCompProps)('Spin', userDefaultProps, props);\n  var children = spinProps.children,\n    className = spinProps.className,\n    indicator = spinProps.indicator,\n    spinning = spinProps.spinning,\n    style = spinProps.style,\n    tip = spinProps.tip,\n    type = spinProps.type,\n    customPrefixcls = spinProps.prefixCls,\n    others = __rest(spinProps, [\"children\", \"className\", \"indicator\", \"spinning\", \"style\", \"tip\", \"type\", \"prefixCls\"]);\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(SpinTypes.indexOf(type) === -1, 'spin', \"cannot found spin type '\".concat(type, \"'\"));\n  var spinPrefixCls = getPrefixCls(prefixCls, 'spin', customPrefixcls);\n  var spinClasses = classnames__WEBPACK_IMPORTED_MODULE_5___default()(spinPrefixCls, className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(spinPrefixCls, \"-\")).call(_context, type), type), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(spinPrefixCls, \"-indicator-container\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(spinPrefixCls, \"-has-children\"), children), _classNames));\n  // ref\n  var thisSpinRef = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)();\n  var spinRef = ref || thisSpinRef;\n  var handleIndicator = function handleIndicator(indicator) {\n    if (indicator) {\n      return indicator;\n    }\n    switch (type) {\n      case 'page':\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n          className: \"\".concat(spinPrefixCls, \"-dot-spin\")\n        }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"i\", {\n          className: \"\".concat(spinPrefixCls, \"-dot-item\")\n        }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"i\", {\n          className: \"\".concat(spinPrefixCls, \"-dot-item\")\n        }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"i\", {\n          className: \"\".concat(spinPrefixCls, \"-dot-item\")\n        }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"i\", {\n          className: \"\".concat(spinPrefixCls, \"-dot-item\")\n        }));\n      case 'container':\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n          className: \"\".concat(spinPrefixCls, \"-dot-spin\")\n        }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"i\", {\n          className: \"\".concat(spinPrefixCls, \"-dot-item\")\n        }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"i\", {\n          className: \"\".concat(spinPrefixCls, \"-dot-item\")\n        }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"i\", {\n          className: \"\".concat(spinPrefixCls, \"-dot-item\")\n        }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"i\", {\n          className: \"\".concat(spinPrefixCls, \"-dot-item\")\n        }));\n      case 'component':\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n          className: \"\".concat(spinPrefixCls, \"-dot-spin\")\n        }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"i\", {\n          className: \"\".concat(spinPrefixCls, \"-dot-item\")\n        }));\n    }\n  };\n  var indicatorNode = handleIndicator(indicator);\n  var hasChildrenStyle = children ? style : null;\n  var singleStyle = children ? null : style;\n  var hasChildrenRef = children ? spinRef : null;\n  var singleRef = children ? null : spinRef;\n  var spinNode = spinning ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    className: spinClasses,\n    ref: singleRef,\n    style: singleStyle\n  }, others), indicatorNode, tip || '') : null;\n  var childrenParentClasses = classnames__WEBPACK_IMPORTED_MODULE_5___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(spinPrefixCls, \"-children-container\"), children && spinning));\n  var spinHasChildren = children ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: \"\".concat(spinPrefixCls, \"-children-wrapper\"),\n    style: hasChildrenStyle,\n    ref: hasChildrenRef\n  }, spinNode, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: childrenParentClasses\n  }, children)) : spinNode;\n  return spinHasChildren;\n};\nvar Spin = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().forwardRef(InteranalSpin);\nSpin.displayName = 'Spin';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Spin);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/spin/spin.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/split-panel/index.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/split-panel/index.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   SplitPanelModes: function() { return /* reexport safe */ _split_panel__WEBPACK_IMPORTED_MODULE_0__.SplitPanelModes; }\n/* harmony export */ });\n/* harmony import */ var _split_panel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./split-panel */ \"../../node_modules/@kdcloudjs/kdesign/es/split-panel/split-panel.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_split_panel__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/split-panel/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/split-panel/split-panel.js":
/*!***************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/split-panel/split-panel.js ***!
  \***************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   SplitPanelModes: function() { return /* binding */ SplitPanelModes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/number/is-nan */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/number/is-nan.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _trigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./trigger */ \"../../node_modules/@kdcloudjs/kdesign/es/split-panel/trigger.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var resize_observer_polyfill__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! resize-observer-polyfill */ \"../../node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js\");\n\n\n\n\n\n\n\n\n\n\n\n\nvar SplitPanelModes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_7__.tuple)('horizontal', 'vertical');\nfunction pxToScale(numerator, denominator) {\n  var percent = parseFloat(numerator) / parseFloat(denominator);\n  return calcNumber(percent);\n}\nfunction calcNumber(value) {\n  if (value > 1) return 1;\n  if (value < 0) return 0;\n  return value;\n}\nfunction valueIsNaN(value) {\n  return _babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_2___default()(parseFloat(value));\n}\nvar SplitPanel = function SplitPanel(props) {\n  var _context;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var splitPanelProps = (0,_utils__WEBPACK_IMPORTED_MODULE_9__.getCompProps)('SplitPanel', userDefaultProps, props); // props\n  var customPrefixcls = splitPanelProps.prefixCls,\n    className = splitPanelProps.className,\n    style = splitPanelProps.style,\n    disabled = splitPanelProps.disabled,\n    defaultSplit = splitPanelProps.defaultSplit,\n    mode = splitPanelProps.mode,\n    lineStyle = splitPanelProps.lineStyle,\n    min = splitPanelProps.min,\n    max = splitPanelProps.max,\n    firstSlot = splitPanelProps.firstSlot,\n    secondSlot = splitPanelProps.secondSlot,\n    canFold = splitPanelProps.canFold,\n    foldIcons = splitPanelProps.foldIcons,\n    onFold = splitPanelProps.onFold,\n    onMoving = splitPanelProps.onMoving,\n    onMoveStart = splitPanelProps.onMoveStart,\n    onMoveEnd = splitPanelProps.onMoveEnd;\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(SplitPanelModes.indexOf(mode) === -1, 'split-panel', \"cannot found split-panel mode '\".concat(mode, \"'\"));\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(valueIsNaN(defaultSplit), 'split-panel', \"incorrect prop 'defaultSplit'\");\n  var splitPanelPrefixCls = getPrefixCls(prefixCls, 'split', customPrefixcls);\n  var isHorizontal = mode === 'horizontal';\n  var offsetSizeProperty = isHorizontal ? 'clientWidth' : 'clientHeight';\n  var pos = isHorizontal ? 'left' : 'top';\n  var oppositePos = isHorizontal ? 'right' : 'bottom';\n  var oppositeMode = isHorizontal ? 'vertical' : 'horizontal';\n  var outerWrapper = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(null);\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState, 2),\n    isMoving = _useState2[0],\n    setIsMoving = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(0),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState3, 2),\n    offset = _useState4[0],\n    setOffset = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(100),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState5, 2),\n    anotherOffset = _useState6[0],\n    setAnotherOffset = _useState6[1];\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(0),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState7, 2),\n    computeMin = _useState8[0],\n    setComputeMin = _useState8[1];\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(100),\n    _useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState9, 2),\n    computeMax = _useState10[0],\n    setComputeMax = _useState10[1];\n  var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(0),\n    _useState12 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState11, 2),\n    offsetCache = _useState12[0],\n    setOffsetCache = _useState12[1];\n  var isFirstPanelHide = offset === 0;\n  var isSecondPanelHide = offset === 100;\n  var canDrag = offset >= computeMin && offset <= computeMax;\n  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {\n    setAnotherOffset(100 - offset);\n  }, [offset]);\n  // 将defaultOffset转换成百分比\n  var getComputeOffset = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function (value) {\n    var newVal = typeof value === 'string' ? pxToScale(value, outerWrapper.current[offsetSizeProperty]) : calcNumber(value);\n    return newVal * 100;\n  }, [offsetSizeProperty]);\n  // 将min和max转换为百分比\n  var getComputedThresholdValue = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function (val) {\n    var size = outerWrapper.current[offsetSizeProperty];\n    var newVal = typeof val === 'string' ? pxToScale(val, size) : calcNumber(val);\n    return newVal * 100;\n  }, [offsetSizeProperty]);\n  // 初始化分割线、min和max\n  var initPanel = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function () {\n    var thresholdMin = getComputedThresholdValue(min);\n    var thresholdMax = 100 - getComputedThresholdValue(max);\n    var computeOffset = getComputeOffset(defaultSplit);\n    // 边界处理，计算出的min和max进行判断\n    if (thresholdMin > thresholdMax) {\n      thresholdMin = thresholdMax;\n    }\n    // 计算出的offset值的边界处理\n    if (computeOffset < thresholdMin) {\n      computeOffset = thresholdMin;\n    } else if (computeOffset > thresholdMax) {\n      computeOffset = thresholdMax;\n    }\n    setOffset(computeOffset);\n    setOffsetCache(computeOffset);\n    setComputeMin(thresholdMin);\n    setComputeMax(thresholdMax);\n  }, [min, max, defaultSplit, getComputedThresholdValue, getComputeOffset]);\n  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {\n    initPanel();\n    var element = outerWrapper.current;\n    if (!element) {\n      (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(!element && element !== null, 'useResizeMeasure', 'useResizeMeasure指定的元素不存在');\n      return;\n    }\n    var resizeObserver = new resize_observer_polyfill__WEBPACK_IMPORTED_MODULE_6__[\"default\"](function (entries) {\n      var entry = entries[0];\n      if (entry.contentRect) {\n        initPanel();\n      }\n    });\n    resizeObserver.observe(element);\n    return function () {\n      resizeObserver.disconnect();\n    };\n  }, [initPanel]);\n  var handleMove = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function (e) {\n    // 将鼠标移动距离与offset进行处理\n    var scrollX = document.documentElement.scrollLeft || document.body.scrollLeft;\n    var scrollY = document.documentElement.scrollTop || document.body.scrollTop;\n    var wrapperOffset = outerWrapper.current.getBoundingClientRect()[pos];\n    var mouseOffset = isHorizontal ? e.pageX - scrollX : e.pageY - scrollY;\n    var moveInstance = mouseOffset - wrapperOffset;\n    var outerWidth = outerWrapper.current[offsetSizeProperty];\n    var value = pxToScale(moveInstance, outerWidth) * 100;\n    // 边界阈值处理\n    if (value <= computeMin) value = Math.max(value, computeMin);\n    if (value >= computeMax) value = Math.min(value, computeMax);\n    setOffset(value);\n    setOffsetCache(value);\n    onMoving && onMoving(e);\n  }, [pos, offsetSizeProperty, isHorizontal, onMoving, computeMin, computeMax]);\n  var handleUp = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function (e) {\n    setIsMoving(false);\n    document.removeEventListener('mouseup', handleUp);\n    document.removeEventListener('mousemove', handleMove);\n    onMoveEnd && onMoveEnd(e);\n  }, [handleMove, onMoveEnd]);\n  var handleMousedown = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function (e) {\n    if (disabled || !canDrag) return;\n    e.stopPropagation();\n    setIsMoving(true);\n    document.addEventListener('mousemove', handleMove);\n    document.addEventListener('mouseup', handleUp);\n    onMoveStart && onMoveStart(e);\n  }, [disabled, canDrag, handleMove, handleUp, onMoveStart]);\n  var changeSplit = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function (offset) {\n    setOffset(offset);\n  }, []);\n  var getSecondHideOffset = function getSecondHideOffset() {\n    if (offset === 0 && computeMin > 0) {\n      return computeMin;\n    } else if (offset >= computeMin && offset < offsetCache) {\n      return offsetCache;\n    } else {\n      return 100;\n    }\n  };\n  var getFirstHideOffset = function getFirstHideOffset() {\n    if (offset === 100 && computeMax < 100) {\n      return computeMax;\n    } else if (offset > offsetCache && offset <= computeMax) {\n      return offsetCache;\n    } else {\n      return 0;\n    }\n  };\n  // 折叠第一个面板\n  var hideFirstPanel = function hideFirstPanel(e, direction) {\n    if (disabled) return;\n    e.persist();\n    var pos = getFirstHideOffset();\n    changeSplit(pos);\n    onFold && onFold(e, direction);\n  };\n  // 折叠第二个面板\n  var hideSecondPanel = function hideSecondPanel(e, direction) {\n    if (disabled) return;\n    e.persist();\n    var pos = getSecondHideOffset();\n    changeSplit(pos);\n    onFold && onFold(e, direction);\n  };\n  // 处理lineStyle\n  var handleLineStyle = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function (mode) {\n    if (typeof lineStyle === 'function') {\n      return lineStyle(mode);\n    }\n    return lineStyle;\n  }, [lineStyle]);\n  var triggerLineStyle = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(function () {\n    return {\n      horizontal: handleLineStyle('horizontal') || {},\n      vertical: handleLineStyle('vertical') || {}\n    };\n  }, [handleLineStyle]);\n  // 处理自定义折叠图标\n  var handleFoldIcons = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function (mode) {\n    if (typeof foldIcons === 'function') {\n      return foldIcons(mode);\n    }\n    return foldIcons;\n  }, [foldIcons]);\n  var triggerFoldIcons = (0,react__WEBPACK_IMPORTED_MODULE_4__.useMemo)(function () {\n    return {\n      horizontal: handleFoldIcons('horizontal'),\n      vertical: handleFoldIcons('vertical')\n    };\n  }, [handleFoldIcons]);\n  var cls = classnames__WEBPACK_IMPORTED_MODULE_5___default()(\"\".concat(splitPanelPrefixCls, \"-wrapper\"), {\n    'no-select': isMoving\n  }, className);\n  var getPanelCls = function getPanelCls(cls) {\n    return classnames__WEBPACK_IMPORTED_MODULE_5___default()(\"\".concat(splitPanelPrefixCls, \"-panel\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(splitPanelPrefixCls, \"-panel-moving\"), isMoving), \"\".concat(cls, \"-panel\"));\n  };\n  var triggerWrapperCls = classnames__WEBPACK_IMPORTED_MODULE_5___default()(\"\".concat(splitPanelPrefixCls, \"-trigger-con\"), {\n    'can-drag': canDrag,\n    'is-disabled': disabled,\n    'is-active': isFirstPanelHide || isSecondPanelHide\n  });\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: cls,\n    style: style,\n    ref: outerWrapper\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(splitPanelPrefixCls, \"-\")).call(_context, mode)\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: getPanelCls(pos),\n    style: (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, oppositePos, \"\".concat(anotherOffset, \"%\"))\n  }, firstSlot), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: triggerWrapperCls,\n    style: (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, pos, \"\".concat(offset, \"%\"))\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_trigger__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    style: triggerLineStyle[mode],\n    mode: oppositeMode,\n    prefixCls: splitPanelPrefixCls,\n    disabled: disabled,\n    showFoldIcons: canFold,\n    hideFirstPanel: hideFirstPanel,\n    hideSecondPanel: hideSecondPanel,\n    foldIcons: triggerFoldIcons[mode],\n    handleMousedown: handleMousedown\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: getPanelCls(oppositePos),\n    style: (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, pos, \"\".concat(offset, \"%\"))\n  }, secondSlot)));\n};\nSplitPanel.displayName = 'SplitPanel';\n/* harmony default export */ __webpack_exports__[\"default\"] = (SplitPanel);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/split-panel/split-panel.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/split-panel/trigger.js":
/*!***********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/split-panel/trigger.js ***!
  \***********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n\n\n\n\nvar Trigger = function Trigger(props) {\n  var prefixCls = props.prefixCls,\n    style = props.style,\n    mode = props.mode,\n    disabled = props.disabled,\n    showFoldIcons = props.showFoldIcons,\n    foldIcons = props.foldIcons,\n    hideFirstPanel = props.hideFirstPanel,\n    hideSecondPanel = props.hideSecondPanel,\n    handleMousedown = props.handleMousedown;\n  var triggerPrefixCls = \"\".concat(prefixCls, \"-trigger\");\n  var isVertical = mode === 'vertical';\n  var getCustomFoldIcons = function getCustomFoldIcons(index) {\n    return foldIcons && foldIcons[index];\n  };\n  var triggerCls = classnames__WEBPACK_IMPORTED_MODULE_2___default()(triggerPrefixCls, isVertical ? \"\".concat(triggerPrefixCls, \"-vertical\") : \"\".concat(triggerPrefixCls, \"-horizontal\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"is-disabled\", disabled));\n  var getArrowCls = function getArrowCls(cls) {\n    return classnames__WEBPACK_IMPORTED_MODULE_2___default()(\"\".concat(triggerPrefixCls, \"-arrow\"), isVertical ? \"is-vertical\" : \"is-horizontal\", cls);\n  };\n  var firstCustomIcons = getCustomFoldIcons(0);\n  var secondCustomIcons = getCustomFoldIcons(1);\n  var renderFoldIcons = function renderFoldIcons() {\n    if (!showFoldIcons) {\n      return null;\n    }\n    var firstIconPos = isVertical ? 'left' : 'top';\n    var secondIconPos = isVertical ? 'right' : 'bottom';\n    var firstIconType = isVertical ? 'arrow-left-solid' : 'arrow-up-solid';\n    var secondIconType = isVertical ? 'arrow-right-solid' : 'arrow-down-solid';\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"span\", {\n      className: getArrowCls(firstIconPos),\n      onClick: function onClick(e) {\n        return hideFirstPanel(e, firstIconPos);\n      }\n    }, firstCustomIcons || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n      type: firstIconType\n    })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"span\", {\n      className: getArrowCls(secondIconPos),\n      onClick: function onClick(e) {\n        return hideSecondPanel(e, secondIconPos);\n      }\n    }, secondCustomIcons || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n      type: secondIconType\n    })));\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n    className: triggerCls,\n    style: style,\n    onMouseDown: handleMousedown\n  }), renderFoldIcons());\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().memo(Trigger));\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/split-panel/trigger.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/stepper/index.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/stepper/index.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   StepTypes: function() { return /* reexport safe */ _stepper__WEBPACK_IMPORTED_MODULE_0__.StepTypes; }\n/* harmony export */ });\n/* harmony import */ var _stepper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./stepper */ \"../../node_modules/@kdcloudjs/kdesign/es/stepper/stepper.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_stepper__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/stepper/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/stepper/stepper.js":
/*!*******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/stepper/stepper.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   StepTypes: function() { return /* binding */ StepTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var big_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! big.js */ \"../../node_modules/@kdcloudjs/kdesign/node_modules/big.js/big.mjs\");\n/* harmony import */ var _input_number__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../input-number */ \"../../node_modules/@kdcloudjs/kdesign/es/input-number/index.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var _utils_omit__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../_utils/omit */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/omit.js\");\n/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../_utils/hooks */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js\");\n/* harmony import */ var _utils_numberUtil__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../_utils/numberUtil */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/numberUtil.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nbig_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"].PE = 40;\nbig_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"].NE = -40;\nvar StepTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_7__.tuple)('embed', 'base');\nvar InternalStepper = function InternalStepper(props, ref) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__[\"default\"]),\n    userDefaultProps = _useContext.compDefaultProps,\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var inputNumberProps = (0,_utils__WEBPACK_IMPORTED_MODULE_9__.getCompProps)('Stepper', userDefaultProps, props);\n  var customPrefixcls = inputNumberProps.prefixCls,\n    onChange = inputNumberProps.onChange,\n    step = inputNumberProps.step,\n    type = inputNumberProps.type,\n    stepBtnClassName = inputNumberProps.stepBtnClassName,\n    max = inputNumberProps.max,\n    min = inputNumberProps.min,\n    disabled = inputNumberProps.disabled,\n    propsValue = inputNumberProps.value,\n    defaultValue = inputNumberProps.defaultValue;\n  var inputPrefixCls = getPrefixCls(prefixCls, 'inputNumber', customPrefixcls);\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(typeof step !== 'number', 'stepper', \"step\\u5FC5\\u987B\\u4E3A\\u4E00\\u4E2A\\u6570\\u503C\");\n  var thisInputNumberRef = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)();\n  var stepperrref = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)();\n  var inputNumberRef = ref || thisInputNumberRef;\n  var stepMouseDownDelayTimer = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(null);\n  var stepMouseDownIntervalTimer = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(null);\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    showMinusdisabled = _useState2[0],\n    setMinusdisabled = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState3, 2),\n    showPlusdisabled = _useState4[0],\n    setPlusdisabled = _useState4[1];\n  var _useMergedState = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_11__.useMergedState)(undefined, {\n      value: propsValue,\n      defaultValue: defaultValue\n    }),\n    _useMergedState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useMergedState, 2),\n    value = _useMergedState2[0],\n    setValue = _useMergedState2[1];\n  // class\n  var getStepBtnClassNames = function getStepBtnClassNames(stepType, btnType) {\n    var _context, _context2, _context3, _context4, _context5, _context6, _context7, _classNames;\n    var isDisabled = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n    return classnames__WEBPACK_IMPORTED_MODULE_5___default()((_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(inputPrefixCls, \"-\")).call(_context, stepType, \"Step\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context2 = \"\".concat(inputPrefixCls, \"-\")).call(_context2, stepType, \"Step-disabled\"), isDisabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context3 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context4 = \"\".concat(inputPrefixCls, \"-\")).call(_context4, stepType, \"Step-\")).call(_context3, btnType), btnType), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context5 = \"\".concat(inputPrefixCls, \"-\")).call(_context5, stepType, \"Step-small\"), inputNumberProps.size === 'small'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context6 = \"\".concat(inputPrefixCls, \"-\")).call(_context6, stepType, \"Step-middle\"), inputNumberProps.size === 'middle'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context7 = \"\".concat(inputPrefixCls, \"-\")).call(_context7, stepType, \"Step-large\"), inputNumberProps.size === 'large'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, stepBtnClassName, stepType === 'base' && stepBtnClassName), _classNames));\n  };\n  var getStepPrefix = function getStepPrefix() {\n    if (type === 'embed') {\n      return null;\n    }\n    var decreaseClassName = getStepBtnClassNames('base', 'decrease', showPlusdisabled || disabled);\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n      className: decreaseClassName,\n      onMouseDown: function onMouseDown() {\n        if (disabled) return;\n        handleStepMouseDown('minus');\n      }\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n      className: \"\".concat(inputPrefixCls, \"-icon\"),\n      type: \"reduce\"\n    }));\n  };\n  var getStepSuffix = function getStepSuffix() {\n    var increaseClassName = getStepBtnClassNames('base', 'increase', showMinusdisabled || disabled);\n    return type === 'embed' ? getEmbedStepView() : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n      className: increaseClassName,\n      onMouseDown: function onMouseDown() {\n        if (disabled) return;\n        handleStepMouseDown('plus');\n      }\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n      className: \"\".concat(inputPrefixCls, \"-icon\"),\n      type: \"add\"\n    }));\n  };\n  var isLegal = function isLegal(value) {\n    var reg = /^[0-9]*\\.?[0-9]+$/;\n    return reg === null || reg === void 0 ? void 0 : reg.test(value);\n  };\n  var handleStepChang = function handleStepChang(type) {\n    var stepNum = parseFloat(step);\n    if (typeof stepNum !== 'number') {\n      return false;\n    }\n    var startingNumber = (0,_utils_numberUtil__WEBPACK_IMPORTED_MODULE_13__.isExp)(stepperrref.current.value) ? (0,big_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(stepperrref.current.value).valueOf() : stepperrref.current.value || inputNumberProps.min || 0;\n    var currentValue = new big_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"](startingNumber)[type](stepNum);\n    var calculationResults = currentValue.valueOf();\n    var legalNumber = stepperrref.current.verifiValue(calculationResults);\n    if (legalNumber === false) {\n      return false;\n    }\n    var nextPlus = new big_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"](calculationResults).plus(stepNum);\n    var nextMinus = new big_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"](calculationResults).minus(stepNum);\n    if (isLegal(max)) {\n      var maxBig = new big_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"](max);\n      if (nextPlus.cmp(maxBig) === 1) {\n        setMinusdisabled(true);\n      } else {\n        setMinusdisabled(false);\n      }\n      if (currentValue.cmp(maxBig) === 1) {\n        return false;\n      }\n    } else {\n      setMinusdisabled(false);\n    }\n    if (isLegal(min)) {\n      var minBig = new big_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"](min);\n      if (minBig.cmp(nextMinus) === 1) {\n        setPlusdisabled(true);\n      } else {\n        setPlusdisabled(false);\n      }\n      if (minBig.cmp(currentValue) === 1) {\n        return false;\n      }\n    } else {\n      setPlusdisabled(false);\n    }\n    (props === null || props === void 0 ? void 0 : props.value) === undefined && setValue(legalNumber);\n    onChange && onChange({\n      target: {\n        value: legalNumber\n      }\n    });\n  };\n  var setpLongPress = function setpLongPress(type) {\n    stepMouseDownIntervalTimer.current = setInterval(function () {\n      handleStepChang(type);\n    }, 300);\n  };\n  var handleStepMouseDown = function handleStepMouseDown(type) {\n    handleStepChang(type);\n    stepMouseDownDelayTimer.current = setTimeout(function () {\n      setpLongPress(type);\n    }, 300);\n    document.addEventListener('mouseup', clearAllTimer, true);\n    return false;\n  };\n  var handleChange = function handleChange(event) {\n    var _a;\n    var number = parseFloat(event.target.value);\n    if (String(value).length && ((_a = event.target.value) === null || _a === void 0 ? void 0 : _a.length) >= String(value).length && event.target.value !== '' && (props === null || props === void 0 ? void 0 : props.value) !== undefined && (max && max < number || min && min > number)) {\n      return;\n    }\n    (props === null || props === void 0 ? void 0 : props.value) === undefined && setValue(event.target.value);\n    (props === null || props === void 0 ? void 0 : props.value) === undefined && stepperrref.current.setValue(event.target.value);\n    onChange && onChange(event);\n  };\n  var clearAllTimer = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function () {\n    stepMouseDownDelayTimer.current && clearTimeout(stepMouseDownDelayTimer.current);\n    stepMouseDownIntervalTimer.current && clearInterval(stepMouseDownIntervalTimer.current);\n    document.removeEventListener('mouseup', clearAllTimer);\n    return false;\n  }, [stepMouseDownDelayTimer, stepMouseDownIntervalTimer]);\n  var getEmbedStepView = function getEmbedStepView() {\n    var _classNames2, _classNames3;\n    var embedStepClassName = getStepBtnClassNames('embed');\n    var plusClassName = classnames__WEBPACK_IMPORTED_MODULE_5___default()(\"\".concat(inputPrefixCls, \"-embedStep-plus\"), (_classNames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, stepBtnClassName, stepBtnClassName), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(inputPrefixCls, \"-embedStep-disabled\"), showMinusdisabled || disabled), _classNames2));\n    var minusClassName = classnames__WEBPACK_IMPORTED_MODULE_5___default()(\"\".concat(inputPrefixCls, \"-embedStep-minus\"), (_classNames3 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames3, stepBtnClassName, stepBtnClassName), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames3, \"\".concat(inputPrefixCls, \"-embedStep-disabled\"), showPlusdisabled || disabled), _classNames3));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n      className: embedStepClassName\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n      className: plusClassName,\n      onMouseDown: function onMouseDown() {\n        if (disabled) return;\n        handleStepMouseDown('plus');\n      }\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n      className: \"\".concat(inputPrefixCls, \"-icon\"),\n      type: \"arrow-up\"\n    })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n      className: minusClassName,\n      onMouseDown: function onMouseDown() {\n        if (disabled) return;\n        handleStepMouseDown('minus');\n      }\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n      className: \"\".concat(inputPrefixCls, \"-icon\"),\n      type: \"arrow-down\"\n    })));\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_input_number__WEBPACK_IMPORTED_MODULE_14__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, (0,_utils_omit__WEBPACK_IMPORTED_MODULE_15__.omit)(inputNumberProps, ['step', 'type', 'stepBtnClassName', 'value', 'defaultValue']), {\n    ref: inputNumberRef,\n    className: \"\".concat(inputPrefixCls, \"-stepper\"),\n    stepperrref: stepperrref,\n    value: value,\n    prefix: getStepPrefix(),\n    suffix: getStepSuffix(),\n    onChange: handleChange\n  }));\n};\nvar Stepper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().forwardRef(InternalStepper);\nStepper.displayName = 'Stepper';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Stepper);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/stepper/stepper.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/steps/Step.js":
/*!**************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/steps/Step.js ***!
  \**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\nfunction isString(str) {\n  return typeof str === 'string';\n}\nvar Step = function Step(props) {\n  var _context;\n  var _props$stepNumber = props.stepNumber,\n    stepNumber = _props$stepNumber === void 0 ? 1 : _props$stepNumber,\n    _props$stepIndex = props.stepIndex,\n    stepIndex = _props$stepIndex === void 0 ? 0 : _props$stepIndex,\n    prefixCls = props.prefixCls,\n    status = props.status,\n    className = props.className,\n    _props$title = props.title,\n    title = _props$title === void 0 ? '' : _props$title,\n    description = props.description,\n    icon = props.icon,\n    icons = props.icons,\n    _props$current = props.current,\n    current = _props$current === void 0 ? 0 : _props$current,\n    onClick = props.onClick,\n    style = props.style,\n    onStepClick = props.onStepClick,\n    others = __rest(props, [\"stepNumber\", \"stepIndex\", \"prefixCls\", \"status\", \"className\", \"title\", \"description\", \"icon\", \"icons\", \"current\", \"onClick\", \"style\", \"onStepClick\"]);\n  var handleClick = function handleClick(e) {\n    onClick && onClick(e);\n    onStepClick && onStepClick(stepIndex || 0);\n  };\n  var stepClassName = classnames__WEBPACK_IMPORTED_MODULE_5___default()(\"\".concat(prefixCls, \"-item\"), _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(prefixCls, \"-item-\")).call(_context, status), className, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(prefixCls, \"-item-clickable\"), onClick || onStepClick));\n  var renderIconNode = function renderIconNode() {\n    var iconNode;\n    if (icon && !isString(icon)) {\n      iconNode = icon;\n    } else if (icons && icons.finish && !isString(icons.finish) && status === 'finish') {\n      iconNode = icons.finish;\n    } else if (icons && icons.wait && !isString(icons.wait) && status === 'wait') {\n      iconNode = icons.wait;\n    } else if (icons && icons.error && !isString(icons.error) && status === 'error') {\n      iconNode = icons.error;\n    } else if (icons && icons.process && !isString(icons.process) && status === 'process') {\n      iconNode = icons.process;\n    } else {\n      iconNode = stepNumber;\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-icon\")\n    }, iconNode);\n  };\n  var iconContainerClassName = classnames__WEBPACK_IMPORTED_MODULE_5___default()(\"\".concat(prefixCls, \"-item-iconContainer\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, \"\".concat(prefixCls, \"-item-iconContainer-finish\"), current > stepIndex));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, others, {\n    className: stepClassName,\n    style: style,\n    onClick: handleClick\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    onClick: onClick,\n    className: \"\".concat(prefixCls, \"-item-container\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: iconContainerClassName\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-item-iconContainer-icon\")\n  }, renderIconNode())), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-item-content\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-item-title\"),\n    title: isString(title) ? title : ''\n  }, title), description && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-item-description\"),\n    title: isString(description) ? description : ''\n  }, description))));\n};\nStep.displayName = 'Step';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Step);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/steps/Step.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/steps/Steps.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/steps/Steps.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var _utils_react_children__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../_utils/react-children */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/react-children.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _interface__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./interface */ \"../../node_modules/@kdcloudjs/kdesign/es/steps/interface.js\");\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\nvar Steps = function Steps(props) {\n  var _context, _classNames, _context2;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_5__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var stepsProps = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCompProps)('Steps', userDefaultProps, props);\n  var direction = stepsProps.direction,\n    initial = stepsProps.initial,\n    _stepsProps$current = stepsProps.current,\n    current = _stepsProps$current === void 0 ? 0 : _stepsProps$current,\n    _stepsProps$status = stepsProps.status,\n    status = _stepsProps$status === void 0 ? 'process' : _stepsProps$status,\n    labelPlacement = stepsProps.labelPlacement,\n    customPrefixcls = stepsProps.prefixCls,\n    className = stepsProps.className,\n    _stepsProps$style = stepsProps.style,\n    style = _stepsProps$style === void 0 ? {} : _stepsProps$style,\n    onChange = stepsProps.onChange,\n    children = stepsProps.children,\n    icons = stepsProps.icons,\n    canClickCurrentStep = stepsProps.canClickCurrentStep,\n    others = __rest(stepsProps, [\"direction\", \"initial\", \"current\", \"status\", \"labelPlacement\", \"prefixCls\", \"className\", \"style\", \"onChange\", \"children\", \"icons\", \"canClickCurrentStep\"]);\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(_interface__WEBPACK_IMPORTED_MODULE_10__.Directions.indexOf(direction) === -1, 'steps', \"cannot found steps direction '\".concat(direction, \"'\"));\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(_interface__WEBPACK_IMPORTED_MODULE_10__.Statuses.indexOf(status) === -1, 'steps', \"cannot found steps status '\".concat(status, \"'\"));\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(_interface__WEBPACK_IMPORTED_MODULE_10__.LabelPlacements.indexOf(labelPlacement) === -1, 'steps', \"cannot found steps labelPlacement '\".concat(labelPlacement, \"'\"));\n  var stepsPrefixCls = getPrefixCls(prefixCls, 'steps', customPrefixcls); // 按钮样式前缀\n  var stepsClassName = classnames__WEBPACK_IMPORTED_MODULE_6___default()(stepsPrefixCls, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(stepsPrefixCls, \"-\")).call(_context, direction), className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(stepsPrefixCls, \"-leftLable\"), labelPlacement === 'left'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(stepsPrefixCls, \"-rightLable\"), labelPlacement === 'right'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(stepsPrefixCls, \"-bottomLable\"), labelPlacement === 'bottom'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(stepsPrefixCls, \"-topLable\"), labelPlacement === 'top'), _classNames));\n  var onStepClick = function onStepClick(next) {\n    if (canClickCurrentStep || onChange && current !== next) {\n      onChange(next);\n    }\n  };\n  var getIcons = function getIcons() {\n    var actualIcons = {};\n    actualIcons.finish = icons && icons.finish || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_index__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n      type: \"right-bold\",\n      className: \"\".concat(stepsPrefixCls, \"-iconSize\")\n    });\n    actualIcons.error = icons && icons.error || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_index__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n      type: \"exclamatory\",\n      className: \"\".concat(stepsPrefixCls, \"-iconSize\")\n    });\n    return actualIcons;\n  };\n  var stepIcons = getIcons();\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    className: stepsClassName,\n    style: style\n  }, others), _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = (0,_utils_react_children__WEBPACK_IMPORTED_MODULE_12__.toArray)(children)).call(_context2, function (child, index) {\n    if (!child) return null;\n    var stepNumber = initial + index;\n    var childProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n      stepNumber: \"\".concat(stepNumber + 1),\n      stepIndex: stepNumber,\n      key: stepNumber,\n      prefixCls: stepsPrefixCls,\n      icons: stepIcons,\n      onStepClick: onChange && onStepClick,\n      current: current\n    }, child.props);\n    if (!child.props.status) {\n      if (stepNumber === current) {\n        childProps.status = status;\n      } else if (stepNumber < current) {\n        childProps.status = 'finish';\n      } else {\n        childProps.status = 'wait';\n      }\n    }\n    return /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_5__.cloneElement)(child, childProps);\n  }));\n};\nSteps.displayName = 'Steps';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Steps);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/steps/Steps.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/steps/index.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/steps/index.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Directions: function() { return /* reexport safe */ _interface__WEBPACK_IMPORTED_MODULE_0__.Directions; },\n/* harmony export */   LabelPlacements: function() { return /* reexport safe */ _interface__WEBPACK_IMPORTED_MODULE_0__.LabelPlacements; },\n/* harmony export */   Statuses: function() { return /* reexport safe */ _interface__WEBPACK_IMPORTED_MODULE_0__.Statuses; },\n/* harmony export */   Step: function() { return /* reexport safe */ _Step__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _Steps__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Steps */ \"../../node_modules/@kdcloudjs/kdesign/es/steps/Steps.js\");\n/* harmony import */ var _Step__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Step */ \"../../node_modules/@kdcloudjs/kdesign/es/steps/Step.js\");\n/* harmony import */ var _interface__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interface */ \"../../node_modules/@kdcloudjs/kdesign/es/steps/interface.js\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_Steps__WEBPACK_IMPORTED_MODULE_2__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/steps/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/steps/interface.js":
/*!*******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/steps/interface.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Directions: function() { return /* binding */ Directions; },\n/* harmony export */   LabelPlacements: function() { return /* binding */ LabelPlacements; },\n/* harmony export */   Statuses: function() { return /* binding */ Statuses; }\n/* harmony export */ });\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n\nvar Statuses = (0,_utils_type__WEBPACK_IMPORTED_MODULE_0__.tuple)('wait', 'process', 'finish', 'error');\nvar Directions = (0,_utils_type__WEBPACK_IMPORTED_MODULE_0__.tuple)('horizontal', 'vertical');\nvar LabelPlacements = (0,_utils_type__WEBPACK_IMPORTED_MODULE_0__.tuple)('left', 'right', 'top', 'bottom');\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/steps/interface.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/switch/index.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/switch/index.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _switch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./switch */ \"../../node_modules/@kdcloudjs/kdesign/es/switch/switch.js\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_switch__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/switch/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/switch/switch.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/switch/switch.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   SwitchSizes: function() { return /* binding */ SwitchSizes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils/hooks */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js\");\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n// type SwitchSize = 'large' | 'middle' | 'small'\nvar SwitchSizes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_7__.tuple)('large', 'small');\nvar Switch = function Switch(props) {\n  var _context, _classNames;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_5__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var switchProps = (0,_utils__WEBPACK_IMPORTED_MODULE_9__.getCompProps)('Switch', userDefaultProps, props);\n  var size = switchProps.size,\n    className = switchProps.className,\n    customPrefixcls = switchProps.prefixCls,\n    checked = switchProps.checked,\n    defaultChecked = switchProps.defaultChecked,\n    checkedChildren = switchProps.checkedChildren,\n    unCheckedChildren = switchProps.unCheckedChildren,\n    loading = switchProps.loading,\n    disabled = switchProps.disabled,\n    onClick = switchProps.onClick,\n    onChange = switchProps.onChange,\n    others = __rest(switchProps, [\"size\", \"className\", \"prefixCls\", \"checked\", \"defaultChecked\", \"checkedChildren\", \"unCheckedChildren\", \"loading\", \"disabled\", \"onClick\", \"onChange\"]);\n  var _useMergedState = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_10__.useMergedState)(false, {\n      value: checked,\n      defaultValue: defaultChecked\n    }),\n    _useMergedState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useMergedState, 2),\n    newChecked = _useMergedState2[0],\n    setChecked = _useMergedState2[1];\n  var switchPrefixCls = getPrefixCls(prefixCls, 'switch', customPrefixcls);\n  var handleClick = function handleClick(e) {\n    var newV = triggerChange(!newChecked, e);\n    onClick && onClick(newV, e);\n  };\n  function triggerChange(newV, e) {\n    var isDisabled = disabled || loading;\n    var afterChangedChecked = newChecked;\n    if (!isDisabled) {\n      afterChangedChecked = newV;\n      setChecked(afterChangedChecked);\n      onChange === null || onChange === void 0 ? void 0 : onChange(afterChangedChecked, e);\n    }\n    return afterChangedChecked;\n  }\n  // ref\n  var switchClasses = classnames__WEBPACK_IMPORTED_MODULE_6___default()(switchPrefixCls, className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = \"\".concat(switchPrefixCls, \"-size-\")).call(_context, size), size), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(switchPrefixCls, \"-disabled\"), disabled || loading), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(switchPrefixCls, \"-loading\"), loading), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(switchPrefixCls, \"-checked\"), newChecked), _classNames));\n  var loadingIcon = loading ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n    className: \"\".concat(switchPrefixCls, \"-loading-icon\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    type: \"loadding-circle\",\n    spin: true\n  })) : null;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    className: switchClasses\n  }, others, {\n    onClick: handleClick\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n    className: \"\".concat(switchPrefixCls, \"-inner\")\n  }, loadingIcon, newChecked ? checkedChildren : unCheckedChildren));\n};\nSwitch.displayName = 'Switch';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Switch);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/switch/switch.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/table/api.js":
/*!*************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/table/api.js ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ getApi; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find-index */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find-index.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _kdcloudjs_table_es_table_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @kdcloudjs/table/es/table/utils */ \"../../node_modules/@kdcloudjs/table/es/table/utils/collectNodes.js\");\n/* harmony import */ var _kdcloudjs_table_es_table_pipeline_features_rangeSelection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @kdcloudjs/table/es/table/pipeline/features/rangeSelection */ \"../../node_modules/@kdcloudjs/table/es/table/pipeline/features/rangeSelection.js\");\n\n\n\n\n\nfunction getApi(pipelineRef) {\n  function getColumns() {\n    var _a;\n    return (_a = pipelineRef.current.getColumns) === null || _a === void 0 ? void 0 : _a.bind(pipelineRef.current)();\n  }\n  function getDataSource() {\n    var _a;\n    return (_a = pipelineRef.current.getDataSource) === null || _a === void 0 ? void 0 : _a.bind(pipelineRef.current)();\n  }\n  function getFooterDataSource() {\n    var _a;\n    return (_a = pipelineRef.current.getFooterDataSource) === null || _a === void 0 ? void 0 : _a.bind(pipelineRef.current)();\n  }\n  /**\n   * 清除范围选中内容\n   */\n  function clearRangeSelection() {\n    var pipeline = pipelineRef.current;\n    pipeline.setStateAtKey(_kdcloudjs_table_es_table_pipeline_features_rangeSelection__WEBPACK_IMPORTED_MODULE_3__.rangeSelectionKey, null);\n  }\n  /**\n   * 将目标行滚动到可视位置\n   * @param rowIndex 行索引\n   * @param position 目标行滚动到的位置，不传则根据目标行相对视口的位置滚动到底部或顶部，可取值为'top' | 'middle' | 'bottom'\n   * @returns\n   */\n  function ensureRowIndexVisible(rowIndex, position) {\n    var _a, _b;\n    var pipeline = pipelineRef.current;\n    var _ref = (_a = pipeline.ref) === null || _a === void 0 ? void 0 : _a.current.rowHeightManager,\n      cache = _ref.cache;\n    if (typeof rowIndex !== 'number' || rowIndex < 0 || rowIndex >= cache.length) {\n      console.warn('invalid row index for ensureIndexVisible: ' + rowIndex);\n      return;\n    }\n    var tableBodyContainer = (_b = pipeline.ref) === null || _b === void 0 ? void 0 : _b.current.domHelper.tableBody;\n    if (!tableBodyContainer) return;\n    var rowTopPixel = 0;\n    for (var i = 0; i < rowIndex; i++) {\n      rowTopPixel += cache[i];\n    }\n    var rowBottomPixel = rowTopPixel + cache[rowIndex];\n    var viewportHeight = tableBodyContainer.clientHeight;\n    var vScrollTop = tableBodyContainer.scrollTop;\n    var vScrollBottom = vScrollTop + viewportHeight;\n    var pxTop = rowTopPixel;\n    var pxBottom = rowBottomPixel - viewportHeight;\n    var pxMiddle = Math.min((pxTop + pxBottom) / 2, rowTopPixel);\n    var rowBelowViewport = vScrollTop > rowTopPixel;\n    var rowAboveViewport = vScrollBottom < rowBottomPixel;\n    var newScrollPosition = null;\n    if (position === 'top') {\n      newScrollPosition = pxTop;\n    } else if (position === 'bottom') {\n      newScrollPosition = pxBottom;\n    } else if (position === 'middle') {\n      newScrollPosition = pxMiddle;\n    } else if (rowBelowViewport) {\n      // 目标行在视口之上，则向上滚动到顶部\n      newScrollPosition = pxTop;\n    } else if (rowAboveViewport) {\n      // 目标行在视口之下，则向下滚动到底部\n      newScrollPosition = pxBottom;\n    }\n    if (newScrollPosition !== null) {\n      tableBodyContainer.scrollTop = newScrollPosition;\n    }\n  }\n  /**\n   * 将目标列滚动到可视位置\n   * @param code 列标识\n   * @returns\n   */\n  function ensureColumnVisible(code) {\n    var _a, _b, _c, _d;\n    var pipeline = pipelineRef.current;\n    var tableBodyContainer = (_a = pipeline.ref) === null || _a === void 0 ? void 0 : _a.current.domHelper.tableBody;\n    var tableScroll = (_b = pipeline.ref) === null || _b === void 0 ? void 0 : _b.current.domHelper.stickyScroll;\n    var columnNodes = (0,_kdcloudjs_table_es_table_utils__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(pipeline.getColumns(), 'leaf-only');\n    var column = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_0___default()(columnNodes).call(columnNodes, function (col) {\n      return col.code === code;\n    });\n    var index = _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_1___default()(columnNodes).call(columnNodes, function (col) {\n      return col.code === code;\n    });\n    // 固定列也不需要重置滚动条\n    if (!column || !tableBodyContainer || (column === null || column === void 0 ? void 0 : column.lock)) return;\n    var colLeft = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_2___default()(columnNodes).call(columnNodes, 0, index).reduce(function (acc, col) {\n      return acc + col.width;\n    }, 0);\n    var lockColumnLeft = 0;\n    var lockColumnRight = 0;\n    for (var i = 0; i < columnNodes.length; i++) {\n      if ((_c = columnNodes[i]) === null || _c === void 0 ? void 0 : _c.lock) {\n        lockColumnLeft += columnNodes[i].width;\n      } else {\n        break;\n      }\n    }\n    for (var _i = columnNodes.length - 1; _i >= 0; _i--) {\n      if ((_d = columnNodes[_i]) === null || _d === void 0 ? void 0 : _d.lock) {\n        lockColumnRight += columnNodes[_i].width;\n      } else {\n        break;\n      }\n    }\n    var colLeftPixel = colLeft; // 目标列前面列宽总和\n    var colRightPixel = colLeftPixel + column.width;\n    var viewportWidth = tableBodyContainer.clientWidth; // 表体容器的宽度\n    var scrollPosition = tableScroll.scrollLeft; // 滚动条滚动的距离\n    var vScrollLeft = scrollPosition;\n    var vScrollRight = scrollPosition + viewportWidth;\n    var pxLeft = colLeftPixel - lockColumnLeft;\n    var pxRight = colRightPixel - viewportWidth + lockColumnRight;\n    var colBeforeViewport = vScrollLeft > colLeftPixel; // 滚动距离大于目标列前面列宽总和，说明目标列在视口之前\n    var colPastViewport = vScrollRight < colRightPixel; // 目标列是视口之后\n    var colToSmallForViewport = viewportWidth < column.width;\n    var alignColToLeft = colBeforeViewport || colToSmallForViewport;\n    var alignColToRight = colPastViewport;\n    if (alignColToLeft || alignColToRight) {\n      var newScrollPosition = alignColToLeft ? pxLeft : pxRight;\n      tableScroll.scrollLeft = newScrollPosition;\n    }\n  }\n  function getHeightCache() {\n    var _a;\n    var pipeline = pipelineRef.current;\n    return (_a = pipeline.ref) === null || _a === void 0 ? void 0 : _a.current.rowHeightManager.cache;\n  }\n  return {\n    getColumns: getColumns,\n    getDataSource: getDataSource,\n    getFooterDataSource: getFooterDataSource,\n    clearRangeSelection: clearRangeSelection,\n    ensureRowIndexVisible: ensureRowIndexVisible,\n    ensureColumnVisible: ensureColumnVisible,\n    getHeightCache: getHeightCache\n  };\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/table/api.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/table/feature/autoRowSpan.js":
/*!*****************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/table/feature/autoRowSpan.js ***!
  \*****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _kdcloudjs_table__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @kdcloudjs/table */ \"../../node_modules/@kdcloudjs/table/es/table/pipeline/features/autoRowSpan.js\");\n\nfunction useAutoRowSpan(pipeline, autoRowSpan) {\n  if (autoRowSpan) {\n    pipeline.use(_kdcloudjs_table__WEBPACK_IMPORTED_MODULE_0__.autoRowSpan());\n  }\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useAutoRowSpan);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/table/feature/autoRowSpan.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/table/feature/colGroupExtendable.js":
/*!************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/table/feature/colGroupExtendable.js ***!
  \************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _kdcloudjs_table__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @kdcloudjs/table */ \"../../node_modules/@kdcloudjs/table/es/table/pipeline/features/colGroupExtendable.js\");\n\nfunction colGroupExtendable(pipeline, columnGroupExtend) {\n  if (columnGroupExtend) {\n    pipeline.use(_kdcloudjs_table__WEBPACK_IMPORTED_MODULE_0__.colGroupExtendable(columnGroupExtend));\n  }\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (colGroupExtendable);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/table/feature/colGroupExtendable.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/table/feature/columnDrag.js":
/*!****************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/table/feature/columnDrag.js ***!
  \****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _kdcloudjs_table__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @kdcloudjs/table */ \"../../node_modules/@kdcloudjs/table/es/table/pipeline/features/columnDrag.js\");\n\nfunction useColumnDrag(pipeline, columnDrag) {\n  if (columnDrag) {\n    pipeline.use(_kdcloudjs_table__WEBPACK_IMPORTED_MODULE_0__.columnDrag(columnDrag === true ? {} : columnDrag));\n  }\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useColumnDrag);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/table/feature/columnDrag.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/table/feature/columnResize.js":
/*!******************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/table/feature/columnResize.js ***!
  \******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _kdcloudjs_table__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @kdcloudjs/table */ \"../../node_modules/@kdcloudjs/table/es/table/pipeline/features/columnResizeWidth.js\");\n\nfunction useColumnResize(pipeline, columnResize) {\n  if (columnResize) {\n    pipeline.use(_kdcloudjs_table__WEBPACK_IMPORTED_MODULE_0__.columnResize(columnResize === true ? {} : columnResize));\n  }\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useColumnResize);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/table/feature/columnResize.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/table/feature/contextMenu.js":
/*!*****************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/table/feature/contextMenu.js ***!
  \*****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _kdcloudjs_table__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @kdcloudjs/table */ \"../../node_modules/@kdcloudjs/table/es/table/pipeline/features/contextMenu.js\");\n\nfunction useContextMenu(pipeline, contextMenu) {\n  if (contextMenu) {\n    pipeline.use(_kdcloudjs_table__WEBPACK_IMPORTED_MODULE_0__.contextMenu(contextMenu === true ? {} : contextMenu));\n  }\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useContextMenu);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/table/feature/contextMenu.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/table/feature/filter.js":
/*!************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/table/feature/filter.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _kdcloudjs_table__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @kdcloudjs/table */ \"../../node_modules/@kdcloudjs/table/es/table/pipeline/features/index.js\");\n\n\n\nfunction useFilter(pipeline, filter) {\n  if (filter) {\n    pipeline.use(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1___default()(_kdcloudjs_table__WEBPACK_IMPORTED_MODULE_2__).call(_kdcloudjs_table__WEBPACK_IMPORTED_MODULE_2__, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, filter)));\n  }\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useFilter);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/table/feature/filter.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/table/feature/mergeCellHover.js":
/*!********************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/table/feature/mergeCellHover.js ***!
  \********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _kdcloudjs_table__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @kdcloudjs/table */ \"../../node_modules/@kdcloudjs/table/es/table/pipeline/features/mergeCellHover.js\");\n\nfunction mergeCellHover(pipeline) {\n  pipeline.use(_kdcloudjs_table__WEBPACK_IMPORTED_MODULE_0__.mergeCellHover());\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (mergeCellHover);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/table/feature/mergeCellHover.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/table/feature/rowDetail.js":
/*!***************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/table/feature/rowDetail.js ***!
  \***************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _kdcloudjs_table__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @kdcloudjs/table */ \"../../node_modules/@kdcloudjs/table/es/table/pipeline/features/rowDetail.js\");\n\n\nfunction useRowDetail(pipeline, rowDetail) {\n  if (rowDetail) {\n    pipeline.use(_kdcloudjs_table__WEBPACK_IMPORTED_MODULE_1__.rowDetail((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, rowDetail)));\n  }\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useRowDetail);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/table/feature/rowDetail.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/table/feature/rowSelection.js":
/*!******************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/table/feature/rowSelection.js ***!
  \******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _kdcloudjs_table__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @kdcloudjs/table */ \"../../node_modules/@kdcloudjs/table/es/table/pipeline/features/singleSelect.js\");\n/* harmony import */ var _kdcloudjs_table__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @kdcloudjs/table */ \"../../node_modules/@kdcloudjs/table/es/table/pipeline/features/multiSelect.js\");\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\nfunction useRowSelection(pipeline, rowSelection) {\n  if (rowSelection) {\n    if (rowSelection.type === 'radio') {\n      var column = rowSelection.column,\n        fixed = rowSelection.fixed,\n        _onChange = rowSelection.onChange,\n        value = rowSelection.value,\n        defaultValue = rowSelection.defaultValue,\n        clickArea = rowSelection.clickArea,\n        other = __rest(rowSelection, [\"column\", \"fixed\", \"onChange\", \"value\", \"defaultValue\", \"clickArea\"]);\n      pipeline.use(_kdcloudjs_table__WEBPACK_IMPORTED_MODULE_2__.singleSelect((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n        defaultValue: defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue[0],\n        value: value ? value.length === 0 ? '' : value[0] : undefined,\n        radioColumn: column,\n        radioPlacement: fixed,\n        onChange: function onChange(next) {\n          return _onChange === null || _onChange === void 0 ? void 0 : _onChange([next]);\n        },\n        clickArea: clickArea === 'self' ? 'radio' : clickArea\n      }, other)));\n    } else {\n      var _column = rowSelection.column,\n        _fixed = rowSelection.fixed,\n        _onChange2 = rowSelection.onChange,\n        _clickArea = rowSelection.clickArea,\n        _other = __rest(rowSelection, [\"column\", \"fixed\", \"onChange\", \"clickArea\"]);\n      pipeline.use(_kdcloudjs_table__WEBPACK_IMPORTED_MODULE_3__.multiSelect((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n        checkboxColumn: _column,\n        checkboxPlacement: _fixed,\n        onChange: function onChange(next, key, keys, action) {\n          return _onChange2 === null || _onChange2 === void 0 ? void 0 : _onChange2(next, key, keys, action);\n        },\n        clickArea: _clickArea === 'self' ? 'checkbox' : _clickArea\n      }, _other)));\n    }\n  }\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useRowSelection);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/table/feature/rowSelection.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/table/feature/sort.js":
/*!**********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/table/feature/sort.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/sort */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/sort.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _kdcloudjs_table__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @kdcloudjs/table */ \"../../node_modules/@kdcloudjs/table/es/table/pipeline/features/index.js\");\n\n\n\nfunction useSort(pipeline, sort) {\n  if (sort) {\n    pipeline.use(_babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_1___default()(_kdcloudjs_table__WEBPACK_IMPORTED_MODULE_2__).call(_kdcloudjs_table__WEBPACK_IMPORTED_MODULE_2__, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, sort)));\n  }\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useSort);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/table/feature/sort.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/table/feature/treeMode.js":
/*!**************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/table/feature/treeMode.js ***!
  \**************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _kdcloudjs_table__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @kdcloudjs/table */ \"../../node_modules/@kdcloudjs/table/es/table/pipeline/features/treeMode.js\");\n\n\nfunction useTreeMode(pipeline, treeMode) {\n  if (treeMode) {\n    pipeline.use(_kdcloudjs_table__WEBPACK_IMPORTED_MODULE_1__.treeMode((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, treeMode)));\n  }\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useTreeMode);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/table/feature/treeMode.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/table/feature/useFooterDataSource.js":
/*!*************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/table/feature/useFooterDataSource.js ***!
  \*************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _kdcloudjs_table__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @kdcloudjs/table */ \"../../node_modules/@kdcloudjs/table/es/table/pipeline/features/footerDataSource.js\");\n\nfunction useFooterDataSource(pipeline, footerDataSource) {\n  if (footerDataSource) {\n    pipeline.use(_kdcloudjs_table__WEBPACK_IMPORTED_MODULE_0__.footerDataSource({\n      dataSource: footerDataSource\n    }));\n  }\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useFooterDataSource);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/table/feature/useFooterDataSource.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/table/feature/useRangeSelection.js":
/*!***********************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/table/feature/useRangeSelection.js ***!
  \***********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _kdcloudjs_table__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @kdcloudjs/table */ \"../../node_modules/@kdcloudjs/table/es/table/pipeline/features/rangeSelection.js\");\n\n\nfunction useRangeSelection(pipeline, rangeSelection) {\n  if (rangeSelection) {\n    pipeline.use(_kdcloudjs_table__WEBPACK_IMPORTED_MODULE_1__.rangeSelection((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, rangeSelection)));\n  }\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useRangeSelection);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/table/feature/useRangeSelection.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/table/feature/useRowDrag.js":
/*!****************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/table/feature/useRowDrag.js ***!
  \****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _kdcloudjs_table__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @kdcloudjs/table */ \"../../node_modules/@kdcloudjs/table/es/table/pipeline/features/rowDrag.js\");\n\n\nfunction useRowDrag(pipeline, rowDrag, estimatedRowHeight) {\n  if (rowDrag) {\n    pipeline.use(_kdcloudjs_table__WEBPACK_IMPORTED_MODULE_1__.rowDrag((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n      rowHeight: estimatedRowHeight\n    }, rowDrag)));\n  }\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useRowDrag);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/table/feature/useRowDrag.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/table/index.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/table/index.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _table__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./table */ \"../../node_modules/@kdcloudjs/kdesign/es/table/table.js\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_table__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/table/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/table/table.js":
/*!***************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/table/table.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/sort */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/sort.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _kdcloudjs_table__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @kdcloudjs/table */ \"../../node_modules/@kdcloudjs/table/es/table/pipeline/pipeline.js\");\n/* harmony import */ var _kdcloudjs_table__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @kdcloudjs/table */ \"../../node_modules/@kdcloudjs/table/es/table/base/table.js\");\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _checkbox_index__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../checkbox/index */ \"../../node_modules/@kdcloudjs/kdesign/es/checkbox/index.js\");\n/* harmony import */ var _radio_index__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../radio/index */ \"../../node_modules/@kdcloudjs/kdesign/es/radio/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/spin/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/empty/index.js\");\n/* harmony import */ var _feature_rowSelection__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./feature/rowSelection */ \"../../node_modules/@kdcloudjs/kdesign/es/table/feature/rowSelection.js\");\n/* harmony import */ var _feature_rowDetail__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./feature/rowDetail */ \"../../node_modules/@kdcloudjs/kdesign/es/table/feature/rowDetail.js\");\n/* harmony import */ var _feature_filter__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./feature/filter */ \"../../node_modules/@kdcloudjs/kdesign/es/table/feature/filter.js\");\n/* harmony import */ var _feature_sort__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./feature/sort */ \"../../node_modules/@kdcloudjs/kdesign/es/table/feature/sort.js\");\n/* harmony import */ var _feature_autoRowSpan__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./feature/autoRowSpan */ \"../../node_modules/@kdcloudjs/kdesign/es/table/feature/autoRowSpan.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _feature_treeMode__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./feature/treeMode */ \"../../node_modules/@kdcloudjs/kdesign/es/table/feature/treeMode.js\");\n/* harmony import */ var _feature_columnResize__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./feature/columnResize */ \"../../node_modules/@kdcloudjs/kdesign/es/table/feature/columnResize.js\");\n/* harmony import */ var _feature_columnDrag__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./feature/columnDrag */ \"../../node_modules/@kdcloudjs/kdesign/es/table/feature/columnDrag.js\");\n/* harmony import */ var _feature_contextMenu__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./feature/contextMenu */ \"../../node_modules/@kdcloudjs/kdesign/es/table/feature/contextMenu.js\");\n/* harmony import */ var _feature_useRangeSelection__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./feature/useRangeSelection */ \"../../node_modules/@kdcloudjs/kdesign/es/table/feature/useRangeSelection.js\");\n/* harmony import */ var _feature_mergeCellHover__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./feature/mergeCellHover */ \"../../node_modules/@kdcloudjs/kdesign/es/table/feature/mergeCellHover.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n/* harmony import */ var _feature_useFooterDataSource__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./feature/useFooterDataSource */ \"../../node_modules/@kdcloudjs/kdesign/es/table/feature/useFooterDataSource.js\");\n/* harmony import */ var _feature_colGroupExtendable__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./feature/colGroupExtendable */ \"../../node_modules/@kdcloudjs/kdesign/es/table/feature/colGroupExtendable.js\");\n/* harmony import */ var _feature_useRowDrag__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./feature/useRowDrag */ \"../../node_modules/@kdcloudjs/kdesign/es/table/feature/useRowDrag.js\");\n/* harmony import */ var _api__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./api */ \"../../node_modules/@kdcloudjs/kdesign/es/table/api.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar Table = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_3__.forwardRef)(function (props, ref) {\n  var columns = props.columns,\n    dataSource = props.dataSource,\n    columnDrag = props.columnDrag,\n    columnResize = props.columnResize,\n    primaryKey = props.primaryKey,\n    rowSelection = props.rowSelection,\n    rowDetail = props.rowDetail,\n    filter = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1___default()(props),\n    sort = _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_2___default()(props),\n    autoRowSpan = props.autoRowSpan,\n    treeMode = props.treeMode,\n    customPrefixcls = props.prefixCls,\n    className = props.className,\n    style = props.style,\n    components = props.components,\n    isLoading = props.isLoading,\n    footerDataSource = props.footerDataSource,\n    useVirtual = props.useVirtual,\n    estimatedRowHeight = props.estimatedRowHeight,\n    emptyCellHeight = props.emptyCellHeight,\n    hasHeader = props.hasHeader,\n    useOuterBorder = props.useOuterBorder,\n    defaultColumnWidth = props.defaultColumnWidth,\n    getRowProps = props.getRowProps,\n    getTableProps = props.getTableProps,\n    contextMenu = props.contextMenu,\n    rangeSelection = props.rangeSelection,\n    cssVariables = props.cssVariables,\n    stickyScrollHeight = props.stickyScrollHeight,\n    scrollbarWidth = props.scrollbarWidth,\n    scrollLoad = props.scrollLoad,\n    _props$columnGroupExt = props.columnGroupExtend,\n    columnGroupExtend = _props$columnGroupExt === void 0 ? {} : _props$columnGroupExt,\n    rowDrag = props.rowDrag;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_3__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_5__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    locale = _useContext.locale;\n  var tablePrefixCls = getPrefixCls(prefixCls, customPrefixcls);\n  var tableCls = classnames__WEBPACK_IMPORTED_MODULE_4___default()(tablePrefixCls, className);\n  var localeText = locale.getCompLangMsg({\n    componentName: 'Table'\n  });\n  var pipeline = (0,_kdcloudjs_table__WEBPACK_IMPORTED_MODULE_6__.useTablePipeline)({\n    components: {\n      Checkbox: (components === null || components === void 0 ? void 0 : components.Checkbox) || _checkbox_index__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n      Radio: (components === null || components === void 0 ? void 0 : components.Radio) || _radio_index__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n    },\n    localeText: localeText\n  }).primaryKey(primaryKey === undefined ? '' : primaryKey).input({\n    columns: columns,\n    dataSource: dataSource\n  });\n  var pipelineRef = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(pipeline);\n  pipelineRef.current = pipeline;\n  // if (footerDataSource) {\n  //   // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n  //   // @ts-ignore\n  //   pipeline.footerDataSource(footerDataSource)\n  // }\n  (0,react__WEBPACK_IMPORTED_MODULE_3__.useImperativeHandle)(ref, function () {\n    return {\n      api: (0,_api__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(pipelineRef)\n    };\n  });\n  /* -------------------------------------------------------------------------- */\n  /* features                                                                   */\n  /* -------------------------------------------------------------------------- */\n  (0,_feature_filter__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(pipeline, filter);\n  (0,_feature_sort__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(pipeline, sort);\n  (0,_feature_rowSelection__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(pipeline, rowSelection);\n  (0,_feature_rowDetail__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(pipeline, rowDetail);\n  (0,_feature_autoRowSpan__WEBPACK_IMPORTED_MODULE_14__[\"default\"])(pipeline, autoRowSpan);\n  (0,_feature_treeMode__WEBPACK_IMPORTED_MODULE_15__[\"default\"])(pipeline, treeMode);\n  (0,_feature_colGroupExtendable__WEBPACK_IMPORTED_MODULE_16__[\"default\"])(pipeline, columnGroupExtend);\n  (0,_feature_columnResize__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(pipeline, columnResize);\n  (0,_feature_columnDrag__WEBPACK_IMPORTED_MODULE_18__[\"default\"])(pipeline, columnDrag);\n  (0,_feature_contextMenu__WEBPACK_IMPORTED_MODULE_19__[\"default\"])(pipeline, contextMenu);\n  (0,_feature_useRangeSelection__WEBPACK_IMPORTED_MODULE_20__[\"default\"])(pipeline, rangeSelection);\n  (0,_feature_mergeCellHover__WEBPACK_IMPORTED_MODULE_21__[\"default\"])(pipeline);\n  (0,_feature_useFooterDataSource__WEBPACK_IMPORTED_MODULE_22__[\"default\"])(pipeline, footerDataSource);\n  (0,_feature_useRowDrag__WEBPACK_IMPORTED_MODULE_23__[\"default\"])(pipeline, rowDrag, estimatedRowHeight);\n  /* -------------------------------------------------------------------------- */\n  /* after useTablePipeline, merge pipeline.getProps result                     */\n  /* -------------------------------------------------------------------------- */\n  if (typeof getRowProps === 'function') {\n    pipeline.appendRowPropsGetter(getRowProps);\n  } else {\n    (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_24__[\"default\"])(getRowProps !== undefined, 'table', \"parameter 'getRowProps' should be a function but here it is \".concat(getRowProps));\n  }\n  if (typeof getTableProps === 'function') {\n    var tableProps = getTableProps();\n    pipeline.addTableProps(tableProps);\n  } else {\n    (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_24__[\"default\"])(getTableProps !== undefined, 'table', \"parameter 'getTableProps' should be a function but here it is \".concat(getTableProps));\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_kdcloudjs_table__WEBPACK_IMPORTED_MODULE_25__.BaseTable, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, pipeline.getProps(), {\n    className: tableCls,\n    style: style,\n    isLoading: isLoading,\n    components: {\n      LoadingIcon: (components === null || components === void 0 ? void 0 : components.LoadingIcon) || function () {\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_index__WEBPACK_IMPORTED_MODULE_26__[\"default\"], {\n          type: \"container\"\n        });\n      },\n      EmptyContent: (components === null || components === void 0 ? void 0 : components.EmptyContent) || function () {\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_index__WEBPACK_IMPORTED_MODULE_27__[\"default\"], null);\n      }\n    },\n    useVirtual: useVirtual,\n    estimatedRowHeight: estimatedRowHeight,\n    emptyCellHeight: emptyCellHeight,\n    hasHeader: hasHeader,\n    useOuterBorder: useOuterBorder,\n    defaultColumnWidth: defaultColumnWidth,\n    cssVariables: cssVariables,\n    stickyScrollHeight: stickyScrollHeight,\n    scrollbarWidth: scrollbarWidth,\n    scrollLoad: scrollLoad\n  }));\n});\nTable.displayName = 'Table';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Table);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/table/table.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/tabs/active-line.js":
/*!********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/tabs/active-line.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n\n\n\nvar Line = function Line(props) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_2__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var left = props.left,\n    width = props.width,\n    className = props.className;\n  var activeLinePrefixCls = getPrefixCls(prefixCls, 'active-line');\n  var activeLineClasses = classnames__WEBPACK_IMPORTED_MODULE_1___default()(activeLinePrefixCls, className, {\n    // [`${tabPanePrefixCls}-size-${size}`]: size, // 尺寸样式\n    // [`${tabPanePrefixCls}-disabled`]: disabled || loadingDisabled, // 禁用态样式\n    // [`${tabPanePrefixCls}-loading`]: loading, // 加载中样式\n  });\n  var activeLineStyle = {\n    left: \"\".concat(left, \"px\"),\n    width: \"\".concat(width, \"px\")\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", {\n    className: activeLineClasses,\n    style: activeLineStyle\n  });\n};\nLine.displayName = 'Line';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Line);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/tabs/active-line.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/tabs/arrow-button.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/tabs/arrow-button.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./context */ \"../../node_modules/@kdcloudjs/kdesign/es/tabs/context.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n\n\n\n\n\n\n\nvar ArrowButton = function ArrowButton(props) {\n  var _context, _classNames;\n  var context = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_context__WEBPACK_IMPORTED_MODULE_4__[\"default\"]);\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_5__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var className = props.className,\n    direction = props.direction,\n    disabled = props.disabled,\n    onClick = props.onClick;\n  var arrowButtonPrefixCls = getPrefixCls(prefixCls, 'arrow-button');\n  var arrowButtonClasses = classnames__WEBPACK_IMPORTED_MODULE_3___default()(arrowButtonPrefixCls, className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(arrowButtonPrefixCls, \"-dynamic\"), (context === null || context === void 0 ? void 0 : context.type) === 'dynamic'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default()(_context = \"\".concat(arrowButtonPrefixCls, \"-\")).call(_context, direction), direction), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(arrowButtonPrefixCls, \"-line\"), (context === null || context === void 0 ? void 0 : context.type) === 'line'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(arrowButtonPrefixCls, \"-disabled\"), disabled), _classNames));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"span\", {\n    className: arrowButtonClasses,\n    onClick: onClick\n  }, direction === 'left' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    type: \"arrow-left\"\n  }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    type: \"arrow-right\"\n  }));\n};\nArrowButton.displayName = 'ArrowButton';\n/* harmony default export */ __webpack_exports__[\"default\"] = (ArrowButton);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/tabs/arrow-button.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/tabs/context.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/tabs/context.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   TabsContextProvider: function() { return /* binding */ TabsContextProvider; }\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\nvar TabsContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null);\nvar TabsContextProvider = TabsContext.Provider;\n/* harmony default export */ __webpack_exports__[\"default\"] = (TabsContext);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/tabs/context.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/tabs/index.js":
/*!**************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/tabs/index.js ***!
  \**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _tabs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./tabs */ \"../../node_modules/@kdcloudjs/kdesign/es/tabs/tabs.js\");\n/* harmony import */ var _tab_pane__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./tab-pane */ \"../../node_modules/@kdcloudjs/kdesign/es/tabs/tab-pane.js\");\n\n\nvar Tabs = _tabs__WEBPACK_IMPORTED_MODULE_0__[\"default\"];\nTabs.TabPane = _tab_pane__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\n// export { TabPane };\n/* harmony default export */ __webpack_exports__[\"default\"] = (Tabs);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/tabs/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/tabs/tab-pane.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/tabs/tab-pane.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   TabPaneTypes: function() { return /* binding */ TabPaneTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./context */ \"../../node_modules/@kdcloudjs/kdesign/es/tabs/context.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n\n\n\n\n\n\n\n\n\nvar TabPaneTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('line', 'card', 'grid', 'dynamic');\nvar TabPane = function TabPane(props) {\n  var _context, _context2, _context3, _classNames, _classNames2;\n  var context = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(_context__WEBPACK_IMPORTED_MODULE_7__[\"default\"]);\n  var tabPaneRef = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(null);\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_8__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var tab = props.tab,\n    id = props.id,\n    className = props.className,\n    disabled = props.disabled,\n    operations = props.operations,\n    onChange = props.onChange;\n  var tabPaneProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, props);\n  if (context) {\n    tabPaneProps.activeKey = context.activeKey;\n    tabPaneProps.type = context.type;\n    tabPaneProps.position = context.position;\n    tabPaneProps.size = context.size;\n    tabPaneProps.disabled = context.disabled || disabled;\n  }\n  var tabPanePrefixCls = getPrefixCls(prefixCls, 'tab-pane');\n  var tabPaneBoxClasses = classnames__WEBPACK_IMPORTED_MODULE_5___default()(tabPanePrefixCls, className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(tabPanePrefixCls, \"-box-active\"), String(tabPaneProps.activeKey) === String(id) && !tabPaneProps.disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default()(_context = \"\".concat(tabPanePrefixCls, \"-type-\")).call(_context, tabPaneProps.type), tabPaneProps.type), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default()(_context2 = \"\".concat(tabPanePrefixCls, \"-\")).call(_context2, tabPaneProps.position), tabPaneProps.position), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default()(_context3 = \"\".concat(tabPanePrefixCls, \"-\")).call(_context3, tabPaneProps.size), tabPaneProps.size), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(tabPanePrefixCls, \"-disabled\"), tabPaneProps.disabled), _classNames));\n  var tabPaneTextClasses = classnames__WEBPACK_IMPORTED_MODULE_5___default()(\"\".concat(tabPanePrefixCls, \"-text\"), (_classNames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(tabPanePrefixCls, \"-text-active\"), String(tabPaneProps.activeKey) === String(id) && !tabPaneProps.disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames2, \"\".concat(tabPanePrefixCls, \"-text-disabled\"), tabPaneProps.disabled), _classNames2));\n  var operationsClasses = classnames__WEBPACK_IMPORTED_MODULE_5___default()(\"\".concat(tabPanePrefixCls, \"-operations\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(tabPanePrefixCls, \"-operations-active\"), String(tabPaneProps.activeKey) === String(id) && !tabPaneProps.disabled));\n  var handleClick = function handleClick(e) {\n    if (tabPaneProps.disabled) return;\n    onChange && onChange(id, e);\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {\n    var _a, _b;\n    if (String(tabPaneProps.activeKey) === String(id)) {\n      context === null || context === void 0 ? void 0 : context.getActiveLinePosition(((_a = tabPaneRef.current) === null || _a === void 0 ? void 0 : _a.offsetLeft) || 0, ((_b = tabPaneRef.current) === null || _b === void 0 ? void 0 : _b.offsetWidth) || 0);\n    }\n  }, [tabPaneRef, tabPaneProps.activeKey, id, context]);\n  var renderOperations = function renderOperations() {\n    if (!(operations === null || operations === void 0 ? void 0 : operations.length)) return null;\n    return operations === null || operations === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default()(operations).call(operations, function (op, index) {\n      var event = function event() {\n        op.props.onClick && op.props.onClick(id);\n      };\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n        key: index,\n        onClick: event\n      }, op);\n    });\n  };\n  var handleContextMenu = function handleContextMenu(e) {\n    if (tabPaneProps.type !== 'dynamic') return;\n    e.preventDefault();\n    context === null || context === void 0 ? void 0 : context.getTriggerKey(id);\n  };\n  if (tabPaneProps.type !== 'dynamic') {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n      ref: tabPaneRef,\n      className: tabPaneBoxClasses,\n      onClick: handleClick\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n      className: tabPaneTextClasses\n    }, tab));\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n    className: tabPaneBoxClasses,\n    onContextMenu: handleContextMenu\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n    ref: tabPaneRef,\n    className: tabPaneTextClasses,\n    onClick: handleClick\n  }, tab), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n    className: operationsClasses\n  }, renderOperations()));\n};\nTabPane.displayName = 'TabPane';\n/* harmony default export */ __webpack_exports__[\"default\"] = (TabPane);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/tabs/tab-pane.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/tabs/tabs.js":
/*!*************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/tabs/tabs.js ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   EffectTypes: function() { return /* binding */ EffectTypes; },\n/* harmony export */   TabsPositions: function() { return /* binding */ TabsPositions; },\n/* harmony export */   TabsSizes: function() { return /* binding */ TabsSizes; },\n/* harmony export */   TabsTypes: function() { return /* binding */ TabsTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find-index */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find-index.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./context */ \"../../node_modules/@kdcloudjs/kdesign/es/tabs/context.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_omit__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../_utils/omit */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/omit.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var _tab_pane__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./tab-pane */ \"../../node_modules/@kdcloudjs/kdesign/es/tabs/tab-pane.js\");\n/* harmony import */ var _active_line__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./active-line */ \"../../node_modules/@kdcloudjs/kdesign/es/tabs/active-line.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _arrow_button__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./arrow-button */ \"../../node_modules/@kdcloudjs/kdesign/es/tabs/arrow-button.js\");\n/* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../dropdown */ \"../../node_modules/@kdcloudjs/kdesign/es/dropdown/index.js\");\n/* harmony import */ var _carousel__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../carousel */ \"../../node_modules/@kdcloudjs/kdesign/es/carousel/index.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar TabsTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_9__.tuple)('line', 'card', 'grid', 'dynamic');\nvar TabsSizes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_9__.tuple)('middle', 'small');\nvar TabsPositions = (0,_utils_type__WEBPACK_IMPORTED_MODULE_9__.tuple)('top', 'left', 'right', 'bottom');\nvar EffectTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_9__.tuple)('scrollx', 'fade', 'none'); // 滑动，渐显， 无动画\nfunction getDefaultActiveKey(props) {\n  var activeKey;\n  react__WEBPACK_IMPORTED_MODULE_7___default().Children.forEach(props.children, function (child) {\n    if (child && !activeKey && !child.props.disabled) {\n      activeKey = child.key;\n    }\n  });\n  return activeKey;\n}\nvar Tabs = function Tabs(props) {\n  var _context, _classNames, _context2, _context3, _context4, _classNames2;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_7__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_10__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var tabsProps = (0,_utils__WEBPACK_IMPORTED_MODULE_11__.getCompProps)('Tabs', userDefaultProps, props);\n  var type = tabsProps.type,\n    size = tabsProps.size,\n    className = tabsProps.className,\n    customPrefixcls = tabsProps.prefixCls,\n    position = tabsProps.position,\n    disabled = tabsProps.disabled,\n    noContainer = tabsProps.noContainer,\n    defaultActiveKey = tabsProps.defaultActiveKey,\n    showScrollArrow = tabsProps.showScrollArrow,\n    _tabsProps$effect = tabsProps.effect,\n    effect = _tabsProps$effect === void 0 ? 'none' : _tabsProps$effect,\n    children = tabsProps.children,\n    onChange = tabsProps.onChange;\n  var tabsPrefixCls = getPrefixCls(prefixCls, 'tabs', customPrefixcls);\n  var activeKey;\n  if (tabsProps.activeKey) {\n    activeKey = tabsProps.activeKey;\n  } else if (defaultActiveKey) {\n    activeKey = defaultActiveKey;\n  } else {\n    activeKey = getDefaultActiveKey(tabsProps);\n  }\n  var carouselData = [];\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(activeKey),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    curActiveKey = _useState2[0],\n    setCurActiveKey = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(null),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState3, 2),\n    triggerKey = _useState4[0],\n    setTriggerKey = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(0),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState5, 2),\n    left = _useState6[0],\n    setLeft = _useState6[1];\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(0),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState7, 2),\n    width = _useState8[0],\n    setWidth = _useState8[1];\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(0),\n    _useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState9, 2),\n    boxWidth = _useState10[0],\n    setBoxWidth = _useState10[1];\n  var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(0),\n    _useState12 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState11, 2),\n    ListWidth = _useState12[0],\n    setListWidth = _useState12[1];\n  var _useState13 = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(0),\n    _useState14 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState13, 2),\n    ListPostion = _useState14[0],\n    setListPosition = _useState14[1];\n  var tabRef = (0,react__WEBPACK_IMPORTED_MODULE_7__.useRef)(null);\n  var tabListRef = (0,react__WEBPACK_IMPORTED_MODULE_7__.useRef)(null);\n  var carouselRef = (0,react__WEBPACK_IMPORTED_MODULE_7__.useRef)(null);\n  var handleActive = function handleActive(id, e) {\n    setCurActiveKey(id);\n    onChange && onChange(id, e);\n  };\n  var getActiveLinePosition = function getActiveLinePosition(left, width) {\n    setLeft(left);\n    setWidth(width);\n  };\n  var getTriggerKey = function getTriggerKey(key) {\n    setTriggerKey(key);\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(function () {\n    setCurActiveKey(activeKey);\n  }, [activeKey]);\n  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(function () {\n    var _a;\n    var index = _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_3___default()(carouselData).call(carouselData, function (data) {\n      return String(curActiveKey) === String(data.key);\n    });\n    if (index !== -1) {\n      (_a = carouselRef.current) === null || _a === void 0 ? void 0 : _a.jumpTo(index, true);\n    }\n  }, [curActiveKey, carouselRef, carouselData]);\n  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(function () {\n    var _a;\n    if (tabListRef.current) {\n      setListWidth(((_a = tabListRef.current) === null || _a === void 0 ? void 0 : _a.offsetWidth) || 0);\n    }\n  }, [tabListRef, children]);\n  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(function () {\n    var _a, _b, _c;\n    if (tabRef.current) {\n      setBoxWidth(((_a = tabRef.current) === null || _a === void 0 ? void 0 : _a.offsetWidth) || 0);\n    }\n    var offset = 0;\n    // TODO margin需要是变量的形式，不能写死\n    var margin = type === 'line' ? 24 : 0;\n    var curOffset = ((_b = tabListRef.current) === null || _b === void 0 ? void 0 : _b.offsetLeft) || 0;\n    var boxWidth = ((_c = tabRef.current) === null || _c === void 0 ? void 0 : _c.offsetWidth) || 0;\n    if (left + width + margin + curOffset >= boxWidth) {\n      offset = ListWidth - left - width - margin > 48 ? boxWidth - left - width - margin - 48 : boxWidth - ListWidth;\n      setListPosition(offset);\n      return;\n    }\n    if (left + curOffset < 48 && curOffset) {\n      offset = left > 48 ? 48 - left : 0;\n      setListPosition(offset);\n      // return\n    }\n  }, [tabRef, left, width, type, ListWidth]);\n  var tabsClasses = classnames__WEBPACK_IMPORTED_MODULE_8___default()(tabsPrefixCls, className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = \"\".concat(tabsPrefixCls, \"-\")).call(_context, position), position), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(tabsPrefixCls, \"-noContainer\"), noContainer), _classNames));\n  var tabNavsClasses = classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(tabsPrefixCls, \"-navs\"), (_classNames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = \"\".concat(tabsPrefixCls, \"-navs-\")).call(_context2, type), type), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = \"\".concat(tabsPrefixCls, \"-navs-\")).call(_context3, position), position), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context4 = \"\".concat(tabsPrefixCls, \"-navs-\")).call(_context4, size), size), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(tabsPrefixCls, \"-navs-disabled\"), disabled), _classNames2));\n  var leftOperations;\n  var rightOperations;\n  var contextMenuList;\n  var containerPanes = [];\n  var fomatChildren = Object.prototype.toString.call(children) === '[object Object]' ? [children] : children;\n  fomatChildren === null || fomatChildren === void 0 ? void 0 : fomatChildren.forEach(function (child) {\n    if (Object.prototype.toString.call(child) === '[object Object]' && child.type.displayName === 'TabPane') {\n      if (child.props.specialPane === 'left') {\n        leftOperations = child;\n        return;\n      }\n      if (child.props.specialPane === 'right') {\n        rightOperations = child;\n        return;\n      }\n      if (child.props.specialPane === 'contextMenu') {\n        contextMenuList = child;\n        return;\n      }\n      containerPanes.push(child);\n      return;\n    }\n    if (Object.prototype.toString.call(child) === '[object Array]') {\n      containerPanes = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(containerPanes).call(containerPanes, [], child);\n    }\n  });\n  var formatTabPane = function formatTabPane(child) {\n    if (Object.prototype.toString.call(child) === '[object Object]' && child.type.displayName === 'TabPane') {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_tab_pane__WEBPACK_IMPORTED_MODULE_12__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, child.props, {\n        key: child.key,\n        id: child.key,\n        onChange: handleActive\n      }));\n    }\n    return null;\n  };\n  var renderActiveLine = function renderActiveLine() {\n    return ['line', 'dynamic'].indexOf(type) > -1 && !disabled ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_active_line__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n      left: left,\n      width: width\n    }) : null;\n  };\n  var renderLeftArrow = function renderLeftArrow() {\n    var _context5, _classNames3;\n    if (!showScrollArrow || position === 'left' || ListWidth < boxWidth) return null;\n    var leftClasses = classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(tabsPrefixCls, \"-left-arrows\"), (_classNames3 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames3, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context5 = \"\".concat(tabsPrefixCls, \"-left-arrows-\")).call(_context5, type), type), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames3, \"\".concat(tabsPrefixCls, \"-left-arrows-noshadow\"), ListPostion === 0), _classNames3));\n    var handleLeft = function handleLeft() {\n      if (!ListPostion) return;\n      var offset = ListPostion + boxWidth > 0 ? 0 : ListPostion + boxWidth;\n      setListPosition(offset);\n    };\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n      className: leftClasses\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_arrow_button__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n      direction: \"left\",\n      disabled: ListPostion === 0,\n      onClick: handleLeft\n    }));\n  };\n  var renderRightArrows = function renderRightArrows(nodes) {\n    var _context6, _context7, _classNames4;\n    if (ListWidth < boxWidth || _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default()(_context6 = ['left', 'right']).call(_context6, position)) return null;\n    var rightClasses = classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(tabsPrefixCls, \"-right-arrows\"), (_classNames4 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames4, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context7 = \"\".concat(tabsPrefixCls, \"-right-arrows-\")).call(_context7, type), type), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames4, \"\".concat(tabsPrefixCls, \"-right-arrows-noshadow\"), ListWidth + ListPostion === boxWidth), _classNames4));\n    var menu = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(nodes).call(nodes, function (node) {\n      var tmp = {\n        label: '',\n        key: 0,\n        disabled: false\n      };\n      tmp.label = node.props.tab;\n      tmp.key = node.props.id;\n      tmp.disabled = node.props.disabled;\n      return tmp;\n    });\n    var handleRight = function handleRight() {\n      if (ListPostion === boxWidth - ListWidth) return;\n      var offset = ListPostion - boxWidth > boxWidth - ListWidth ? ListPostion - boxWidth : boxWidth - ListWidth;\n      setListPosition(offset);\n    };\n    var handleSelectItem = function handleSelectItem(value) {\n      handleActive(value);\n    };\n    if (type === 'grid') {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n        className: rightClasses\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_dropdown__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n        menu: menu,\n        trigger: ['click'],\n        onItemClick: handleSelectItem\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"span\", {\n        className: \"\".concat(tabsPrefixCls, \"-more-btn\")\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n        type: \"more\"\n      }))));\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n      className: rightClasses\n    }, showScrollArrow ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_arrow_button__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n      direction: \"right\",\n      disabled: ListWidth + ListPostion === boxWidth,\n      onClick: handleRight\n    }) : null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_dropdown__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n      menu: menu,\n      trigger: ['click'],\n      onItemClick: handleSelectItem\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"span\", {\n      className: \"\".concat(tabsPrefixCls, \"-more-btn\")\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n      type: \"arrow-down\"\n    }))));\n  };\n  var renderLeftOperations = function renderLeftOperations() {\n    if (type !== 'dynamic' || !leftOperations || !leftOperations.props.children) return null;\n    var classes = classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(tabsPrefixCls, \"-left-operations\"), {});\n    var children = Object.prototype.toString.call(leftOperations.props.children) === '[object Array]' ? leftOperations.props.children : [leftOperations.props.children];\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n      className: classes\n    }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(children).call(children, function (child, index) {\n      var event = function event() {\n        child.props.onClick && child.props.onClick();\n      };\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"span\", {\n        className: \"\".concat(tabsPrefixCls, \"-left-operations-item\"),\n        key: index\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"span\", {\n        onClick: event\n      }, child));\n    }));\n  };\n  var renderRightOperations = function renderRightOperations() {\n    if (type !== 'dynamic' || !rightOperations || !rightOperations.props.children) return null;\n    var classes = classnames__WEBPACK_IMPORTED_MODULE_8___default()(\"\".concat(tabsPrefixCls, \"-right-operations\"), {});\n    var children = Object.prototype.toString.call(rightOperations.props.children) === '[object Array]' ? rightOperations.props.children : [rightOperations.props.children];\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n      className: classes\n    }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(children).call(children, function (child, index) {\n      var event = function event() {\n        child.props.onClick && child.props.onClick();\n      };\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"span\", {\n        className: \"\".concat(tabsPrefixCls, \"-right-operations-item\"),\n        key: index\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"span\", {\n        onClick: event\n      }, child));\n    }));\n  };\n  var renderTabPane = function renderTabPane() {\n    var disabled = tabsProps.disabled;\n    var childrenToRender = [];\n    var unDisabledTabs = [];\n    var disabledTabs = [];\n    childrenToRender = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(containerPanes).call(containerPanes, function (child) {\n      var _a;\n      var tmp = formatTabPane(child);\n      if ((_a = child.props) === null || _a === void 0 ? void 0 : _a.disabled) {\n        disabledTabs.push(tmp);\n      } else {\n        unDisabledTabs.push(tmp);\n      }\n      return tmp;\n    });\n    if (!disabled) childrenToRender = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(unDisabledTabs).call(unDisabledTabs, disabledTabs);\n    var renderTabWrap = function renderTabWrap() {\n      var listPositionStyle = {\n        left: \"\".concat(ListPostion, \"px\")\n      };\n      var renderWrap = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n        ref: tabListRef,\n        className: \"\".concat(tabsPrefixCls, \"-tab-list\"),\n        style: listPositionStyle\n      }, childrenToRender, renderActiveLine());\n      if (!contextMenuList) return renderWrap;\n      var children = Object.prototype.toString.call(contextMenuList.props.children) === '[object Array]' ? contextMenuList.props.children : [contextMenuList.props.children];\n      var eventMap = [];\n      var menu = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_dropdown__WEBPACK_IMPORTED_MODULE_15__[\"default\"].Menu, null, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(children).call(children, function (child, index) {\n        eventMap.push(child.props.onClick);\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_dropdown__WEBPACK_IMPORTED_MODULE_15__[\"default\"].Item, {\n          key: index\n        }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"span\", null, child));\n      }));\n      var handleItemClick = function handleItemClick(key) {\n        var event = eventMap[key];\n        event && event(triggerKey);\n      };\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_dropdown__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n        menu: menu,\n        trigger: ['contextMenu'],\n        onItemClick: handleItemClick\n      }, renderWrap);\n    };\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, (0,_utils_omit__WEBPACK_IMPORTED_MODULE_17__.omit)(tabsProps, ['activeKey', 'defaultActiveKey', 'showScrollArrow', 'noContainer']), {\n      className: tabNavsClasses\n    }), renderLeftOperations(), renderLeftArrow(), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n      ref: tabRef,\n      className: \"\".concat(tabsPrefixCls, \"-tab-wrap\")\n    }, renderTabWrap()), renderRightArrows(childrenToRender), renderRightOperations());\n  };\n  var renderContainer = function renderContainer() {\n    if (noContainer) return null;\n    carouselData = [];\n    _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(containerPanes).call(containerPanes, function (pane) {\n      var props = pane.props,\n        key = pane.key;\n      // 如果没有children传入那就以tab为准\n      var item = {\n        key: key\n      };\n      if (!props.children) {\n        item.content = props.tab;\n      } else {\n        item.content = props.children;\n      }\n      carouselData.push(item);\n    });\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_carousel__WEBPACK_IMPORTED_MODULE_18__[\"default\"], {\n      ref: carouselRef,\n      dots: false,\n      autoplay: false,\n      effect: effect\n    }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(carouselData).call(carouselData, function (item) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement((react__WEBPACK_IMPORTED_MODULE_7___default().Fragment), {\n        key: item.key\n      }, item.content);\n    }));\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_context__WEBPACK_IMPORTED_MODULE_19__.TabsContextProvider, {\n    value: {\n      type: type,\n      size: size,\n      position: position,\n      disabled: disabled,\n      activeKey: curActiveKey,\n      getActiveLinePosition: getActiveLinePosition,\n      getTriggerKey: getTriggerKey\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: tabsClasses\n  }, renderTabPane(), renderContainer()));\n};\nTabs.displayName = 'Tabs';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Tabs);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/tabs/tabs.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/tag/index.js":
/*!*************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/tag/index.js ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   TagColors: function() { return /* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_0__.TagColors; },\n/* harmony export */   TagSizes: function() { return /* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_0__.TagSizes; },\n/* harmony export */   TagTypes: function() { return /* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_0__.TagTypes; }\n/* harmony export */ });\n/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./tag */ \"../../node_modules/@kdcloudjs/kdesign/es/tag/tag.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_tag__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/tag/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/tag/tag.js":
/*!***********************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/tag/tag.js ***!
  \***********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   TagColors: function() { return /* binding */ TagColors; },\n/* harmony export */   TagSizes: function() { return /* binding */ TagSizes; },\n/* harmony export */   TagTypes: function() { return /* binding */ TagTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\nvar TagTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('status', 'attribute', 'text', 'edit');\nvar TagColors = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('process', 'success', 'warning', 'error', 'end', 'expired');\nvar TagSizes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('small', 'middle', 'large');\n// remove this line and code Tag component here\nvar InteranalTag = function InteranalTag(props, ref) {\n  var _context, _context2, _context3, _classNames;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var tagProps = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCompProps)('Tag', userDefaultProps, props);\n  var className = tagProps.className,\n    clickable = tagProps.clickable,\n    closable = tagProps.closable,\n    closeIcon = tagProps.closeIcon,\n    color = tagProps.color,\n    disabled = tagProps.disabled,\n    icon = tagProps.icon,\n    size = tagProps.size,\n    type = tagProps.type,\n    onClick = tagProps.onClick,\n    onClose = tagProps.onClose,\n    style = tagProps.style,\n    customPrefixcls = tagProps.prefixCls,\n    children = tagProps.children,\n    others = __rest(tagProps, [\"className\", \"clickable\", \"closable\", \"closeIcon\", \"color\", \"disabled\", \"icon\", \"size\", \"type\", \"onClick\", \"onClose\", \"style\", \"prefixCls\", \"children\"]);\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(TagTypes.indexOf(type) === -1, 'tag', \"cannot found tag type '\".concat(type, \"'\"));\n  (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(TagSizes.indexOf(size) === -1, 'tag', \"cannot found tag size '\".concat(size, \"'\"));\n  var tagPrefixCls = getPrefixCls(prefixCls, 'tag', customPrefixcls);\n  var handleClick = function handleClick(e) {\n    if (!clickable) return;\n    onClick && onClick(e);\n  };\n  var handleClose = function handleClose(e) {\n    var _a;\n    onClose && onClose(e);\n    if (e.defaultPrevented) {\n      return;\n    }\n    // 删除标签\n    var tagWrapper = e.currentTarget.parentNode;\n    (_a = tagWrapper === null || tagWrapper === void 0 ? void 0 : tagWrapper.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(tagWrapper);\n  };\n  // ref\n  var thisTagRef = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)();\n  var tagRef = ref || thisTagRef;\n  // 对children进行进一步处理 当标签包含图标时 文本内容需要用标签包裹设置外边距\n  var handleChild = function handleChild(child) {\n    if (!child) return null;\n    if (typeof child === 'string' && icon) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n        className: \"\".concat(tagPrefixCls, \"-text\")\n      }, child);\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n      className: \"\".concat(tagPrefixCls, \"-ellipsis\")\n    }, child);\n  };\n  // 预设的颜色值\n  var isPresetColor = ['process', 'success', 'warning', 'error', 'end', 'expired'].indexOf(color) > -1;\n  var tagClasses = classnames__WEBPACK_IMPORTED_MODULE_5___default()(tagPrefixCls, className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(tagPrefixCls, \"-shape-\")).call(_context, type), type), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context2 = \"\".concat(tagPrefixCls, \"-\")).call(_context2, color), isPresetColor), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(tagPrefixCls, \"-has-color\"), !isPresetColor && color && type === 'attribute'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(tagPrefixCls, \"-clickable\"), clickable), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(tagPrefixCls, \"-closable\"), closable), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context3 = \"\".concat(tagPrefixCls, \"-size-\")).call(_context3, size), size), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(tagPrefixCls, \"-closable-disabled\"), type === 'edit' && disabled), _classNames));\n  // 设置自定义颜色值的样式\n  var tagColorStyle = !isPresetColor && color && type === 'attribute' ? {\n    backgroundColor: color\n  } : {};\n  var tagStyle = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, tagColorStyle), style);\n  // 图标\n  var iconNode = icon || null;\n  var tagChild = handleChild(children);\n  // 关闭按钮\n  var closeIconNode = closeIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_index__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n    type: \"close\",\n    className: \"\".concat(tagPrefixCls, \"-close-icon\")\n  });\n  var closeNode = closable && type === 'edit' ? disabled ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n    className: \"\".concat(tagPrefixCls, \"-closeWrapper\")\n  }, closeIconNode) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n    className: \"\".concat(tagPrefixCls, \"-closeWrapper\"),\n    onClick: handleClose\n  }, closeIconNode) : null;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    ref: tagRef,\n    onClick: handleClick,\n    className: tagClasses,\n    style: tagStyle\n  }, others), iconNode, tagChild, closeNode);\n};\nvar Tag = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().forwardRef(InteranalTag);\nTag.displayName = 'Tag';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Tag);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/tag/tag.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/timeline/Timeline.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/timeline/Timeline.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _TimelineItem__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./TimelineItem */ \"../../node_modules/@kdcloudjs/kdesign/es/timeline/TimelineItem.js\");\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n\n\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\nvar Timeline = function Timeline(props) {\n  var _context, _context2, _context3, _classNames;\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_7__.useContext(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_9__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    pkgPrefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  var _a = (0,_utils__WEBPACK_IMPORTED_MODULE_10__.getCompProps)('Timeline', userDefaultProps, props),\n    customizePrefixCls = _a.prefixCls,\n    _a$pending = _a.pending,\n    pending = _a$pending === void 0 ? null : _a$pending,\n    pendingDot = _a.pendingDot,\n    children = _a.children,\n    className = _a.className,\n    reverse = _a.reverse,\n    mode = _a.mode,\n    style = _a.style,\n    lineHeight = _a.lineHeight,\n    labelWidth = _a.labelWidth,\n    restProps = __rest(_a, [\"prefixCls\", \"pending\", \"pendingDot\", \"children\", \"className\", \"reverse\", \"mode\", \"style\", \"lineHeight\", \"labelWidth\"]);\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'timeline', customizePrefixCls);\n  var pendingNode = typeof pending === 'boolean' ? null : pending;\n  var pendingItem = pending ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__.createElement(_TimelineItem__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n    pending: !!pending,\n    dot: pendingDot || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__.createElement(_icon__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n      type: \"loadding\",\n      spin: true\n    })\n  }, pendingNode) : null;\n  var timeLineItems = reverse ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = [pendingItem]).call(_context, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(react__WEBPACK_IMPORTED_MODULE_7__.Children.toArray(children).reverse())) : _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = []).call(_context2, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(react__WEBPACK_IMPORTED_MODULE_7__.Children.toArray(children)), [pendingItem]);\n  var truthyItems = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5___default()(timeLineItems).call(timeLineItems, function (item) {\n    return !!item;\n  });\n  var itemsCount = react__WEBPACK_IMPORTED_MODULE_7__.Children.count(truthyItems);\n  var items = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(_context3 = react__WEBPACK_IMPORTED_MODULE_7__.Children).call(_context3, truthyItems, function (ele, index) {\n    var pendingClass = index === itemsCount - 2 ? 'last' : '';\n    var readyClass = index === itemsCount - 1 ? 'last' : '';\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__.cloneElement(ele, {\n      className: classnames__WEBPACK_IMPORTED_MODULE_8___default()([ele.props.className, !reverse && !!pending ? pendingClass : readyClass])\n    });\n  });\n  var hasLabelItem = truthyItems.some(function (item) {\n    return !!item.props.label;\n  });\n  var classString = classnames__WEBPACK_IMPORTED_MODULE_8___default()(prefixCls, (_classNames = {\n    pending: !!pending,\n    reverse: !!reverse\n  }, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, mode, mode), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"label\", hasLabelItem), _classNames), className);\n  var styleString = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, style), {\n    paddingLeft: hasLabelItem && mode === 'left' ? \"\".concat(labelWidth, \"px\") : undefined,\n    paddingRight: hasLabelItem && mode === 'right' ? \"\".concat(labelWidth, \"px\") : undefined\n  });\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__.createElement(\"ul\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, restProps, {\n    className: classString,\n    style: styleString\n  }), items === null || items === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(items).call(items, function (item) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__.cloneElement(item, {\n      mode: mode,\n      labelWidth: labelWidth,\n      lineHeight: lineHeight,\n      label: item.props.label || hasLabelItem && ' '\n    });\n  }));\n};\nTimeline.displayName = 'Timeline';\nTimeline.Item = _TimelineItem__WEBPACK_IMPORTED_MODULE_11__[\"default\"];\n/* harmony default export */ __webpack_exports__[\"default\"] = (Timeline);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/timeline/Timeline.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/timeline/TimelineItem.js":
/*!*************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/timeline/TimelineItem.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\nvar TimelineItem = function TimelineItem(props) {\n  var _classNames, _classNames2, _context;\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_4__.useContext(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_6__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    pkgPrefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  var _a = (0,_utils__WEBPACK_IMPORTED_MODULE_7__.getCompProps)('TimelineItem', userDefaultProps, props),\n    customizePrefixCls = _a.prefixCls,\n    className = _a.className,\n    color = _a.color,\n    children = _a.children,\n    pending = _a.pending,\n    dot = _a.dot,\n    mode = _a.mode,\n    label = _a.label,\n    labelWidth = _a.labelWidth,\n    lineHeight = _a.lineHeight,\n    restProps = __rest(_a, [\"prefixCls\", \"className\", \"color\", \"children\", \"pending\", \"dot\", \"mode\", \"label\", \"labelWidth\", \"lineHeight\"]);\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'timeline-item', customizePrefixCls);\n  var itemClassName = classnames__WEBPACK_IMPORTED_MODULE_5___default()((_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, prefixCls, true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"pending\", pending), _classNames), className);\n  var hasColorClass = /blue|red|green|gray/.test(color || '');\n  var dotClassName = classnames__WEBPACK_IMPORTED_MODULE_5___default()((_classNames2 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"\".concat(prefixCls, \"-dot\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, \"custom\", dot), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames2, color, hasColorClass), _classNames2));\n  var dotStyle = {\n    top: lineHeight / 2,\n    backgroundColor: color && !hasColorClass ? color : undefined\n  };\n  var labelStyle = mode !== 'alternate' ? (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n    width: \"\".concat(labelWidth, \"px\")\n  }, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"margin\".concat(mode === null || mode === void 0 ? void 0 : mode.substring(0, 1).toUpperCase())).call(_context, mode === null || mode === void 0 ? void 0 : mode.substring(1)), \"-\".concat(labelWidth, \"px\")) : {};\n  var marginDistance = pending ? Math.round(lineHeight / 2 + 12 / 2 + 2) : Math.round(lineHeight / 2 + 9 / 2 + 2);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, restProps, {\n    className: itemClassName\n  }), label && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-label\"),\n    style: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, labelStyle), {\n      lineHeight: lineHeight + 'px'\n    })\n  }, label), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-tail\"),\n    style: {\n      marginTop: marginDistance\n    }\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"div\", {\n    className: dotClassName,\n    style: dotStyle\n  }, dot), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-content\"),\n    style: {\n      lineHeight: lineHeight + 'px'\n    }\n  }, children));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (TimelineItem);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/timeline/TimelineItem.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/timeline/index.js":
/*!******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/timeline/index.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _Timeline__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Timeline */ \"../../node_modules/@kdcloudjs/kdesign/es/timeline/Timeline.js\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_Timeline__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/timeline/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/tooltip/index.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/tooltip/index.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./tooltip */ \"../../node_modules/@kdcloudjs/kdesign/es/tooltip/tooltip.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_tooltip__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/tooltip/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/tooltip/tooltip.js":
/*!*******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/tooltip/tooltip.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_reactNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_utils/reactNode */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/reactNode.js\");\n/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../config-provider */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils_usePopper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../_utils/usePopper */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/usePopper.js\");\n\n\n\n\n\n\nvar Tooltip = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (props, ref) {\n  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_1___default().useContext(_config_provider__WEBPACK_IMPORTED_MODULE_2__[\"default\"]),\n    getPrefixCls = _React$useContext.getPrefixCls,\n    pkgPrefixCls = _React$useContext.prefixCls,\n    userDefaultProps = _React$useContext.compDefaultProps;\n  // 属性需要合并一遍用户定义的默认属性\n  var allProps = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getCompProps)('ToolTip', userDefaultProps, props);\n  var status = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)();\n  var tip = allProps.tip,\n    children = allProps.children,\n    customPrefixcls = allProps.prefixCls;\n  // className前缀\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'tooltip', customPrefixcls);\n  var tiplocator = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().isValidElement(children) && !(0,_utils_reactNode__WEBPACK_IMPORTED_MODULE_4__.isFragment)(children) ? children : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"span\", null, children), {\n    ref: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().isValidElement(children) && !(0,_utils_reactNode__WEBPACK_IMPORTED_MODULE_4__.isFragment)(children) && children.ref ? children.ref : ref\n  });\n  var onVisibleChange = function onVisibleChange(v) {\n    if (status.current === v && allProps.visible === undefined) return;\n    status.current = v;\n    props.onVisibleChange && props.onVisibleChange(v);\n  };\n  var popperProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, allProps), {\n    prefixCls: prefixCls,\n    onVisibleChange: onVisibleChange\n  });\n  var tipPopper = typeof tip === 'function' ? tip() : tip;\n  return (0,_utils_usePopper__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(tiplocator, tipPopper, popperProps);\n});\nTooltip.displayName = 'Tooltip';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Tooltip);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/tooltip/tooltip.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/transfer/index.js":
/*!******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/transfer/index.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _transfer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./transfer */ \"../../node_modules/@kdcloudjs/kdesign/es/transfer/transfer.js\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_transfer__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/transfer/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/transfer/list-body.js":
/*!**********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/transfer/list-body.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   OmitProps: function() { return /* binding */ OmitProps; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var _pagination__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../pagination */ \"../../node_modules/@kdcloudjs/kdesign/es/pagination/index.js\");\n/* harmony import */ var _list_item__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./list-item */ \"../../node_modules/@kdcloudjs/kdesign/es/transfer/list-item.js\");\n\n\n\n\n\n\n\n\n\n\nvar OmitProps = (0,_utils_type__WEBPACK_IMPORTED_MODULE_7__.tuple)('handleFilter', 'handleClear', 'checkedKeys');\nfunction parsePagination(pagination) {\n  if (!pagination) {\n    return null;\n  }\n  var defaultPagination = {\n    pageSize: 10\n  };\n  if ((0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(pagination) === 'object') {\n    return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, defaultPagination), pagination);\n  }\n  return defaultPagination;\n}\nvar ListBody = function ListBody(props) {\n  var _context;\n  var prefixCls = props.prefixCls,\n    itemSelect = props.onItemSelect,\n    itemRemove = props.onItemRemove,\n    pagination = props.pagination,\n    filteredRenderItems = props.filteredRenderItems,\n    selectedKeys = props.selectedKeys,\n    globalDisabled = props.disabled,\n    showRemove = props.showRemove;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(1),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    current = _useState2[0],\n    setCurrent = _useState2[1];\n  var mergedPagination = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(function () {\n    return parsePagination(pagination);\n  }, [pagination]);\n  var onItemSelect = function onItemSelect(item) {\n    var checked = selectedKeys.indexOf(item.key) >= 0;\n    itemSelect(item.key, !checked);\n  };\n  var onItemRemove = function onItemRemove(item) {\n    itemRemove && itemRemove([item.key]);\n  };\n  var onPageChange = function onPageChange(current) {\n    setCurrent(current);\n  };\n  var getItems = function getItems() {\n    var displayItems = filteredRenderItems;\n    if (mergedPagination) {\n      displayItems = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_3___default()(filteredRenderItems).call(filteredRenderItems, (current - 1) * mergedPagination.pageSize, current * mergedPagination.pageSize);\n    }\n    return displayItems;\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    var total = filteredRenderItems.length;\n    if (mergedPagination && (current - 1) * mergedPagination.pageSize >= total) {\n      var pageSize = mergedPagination.pageSize;\n      var pageNo = total % pageSize === 0 ? total / pageSize : Math.floor(total / pageSize) + 1;\n      setCurrent(pageNo);\n    }\n  }, [mergedPagination, filteredRenderItems]);\n  var paginationNode = null;\n  if (mergedPagination) {\n    paginationNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n      className: \"\".concat(prefixCls, \"-pagination\")\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_pagination__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n      pageType: \"simple\",\n      disabled: globalDisabled,\n      current: current,\n      total: filteredRenderItems.length,\n      pageSize: mergedPagination.pageSize,\n      showQuickJumper: false,\n      onChange: onPageChange\n    }));\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement((react__WEBPACK_IMPORTED_MODULE_5___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"ul\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(prefixCls, \"-content\"))\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default()(_context = getItems()).call(_context, function (_ref) {\n    var renderedEl = _ref.renderedEl,\n      renderedText = _ref.renderedText,\n      item = _ref.item;\n    var disabled = item.disabled;\n    var checked = selectedKeys.indexOf(item.key) >= 0;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_list_item__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n      disabled: globalDisabled || disabled,\n      key: item.key,\n      item: item,\n      renderedText: renderedText,\n      renderedEl: renderedEl,\n      checked: checked,\n      prefixCls: prefixCls,\n      onClick: onItemSelect,\n      showRemove: showRemove,\n      onRemove: onItemRemove\n    });\n  })), paginationNode);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (ListBody);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/transfer/list-body.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/transfer/list-item.js":
/*!**********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/transfer/list-item.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _checkbox__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../checkbox */ \"../../node_modules/@kdcloudjs/kdesign/es/checkbox/index.js\");\n\n\n\n\n\n\nvar ListItem = function ListItem(props) {\n  var _classNames;\n  var renderedText = props.renderedText,\n    renderedEl = props.renderedEl,\n    item = props.item,\n    checked = props.checked,\n    disabled = props.disabled,\n    prefixCls = props.prefixCls,\n    onClick = props.onClick,\n    showRemove = props.showRemove,\n    onRemove = props.onRemove;\n  var className = classnames__WEBPACK_IMPORTED_MODULE_3___default()((_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-content-item\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-content-item-disabled\"), disabled || item.disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-content-item-checked\"), checked), _classNames));\n  var title;\n  if (typeof renderedText === 'string' || typeof renderedText === 'number') {\n    title = String(renderedText);\n  }\n  var liProps = {\n    className: className,\n    title: title\n  };\n  var labelNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-content-item-text\")\n  }, renderedEl);\n  if (showRemove) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, liProps), labelNode, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-content-item-remove\"),\n      onClick: function onClick() {\n        return onRemove && onRemove(item);\n      }\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n      type: \"close-solid\"\n    })));\n  }\n  // Default click to select\n  liProps.onClick = function (e) {\n    if (disabled || item.disabled) return;\n    e.preventDefault();\n    onClick(item);\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"li\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, liProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_checkbox__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    checked: checked,\n    disabled: disabled || item.disabled\n  }), labelNode);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().memo(ListItem));\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/transfer/list-item.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/transfer/list.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/transfer/list.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _utils_omit__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils/omit */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/omit.js\");\n/* harmony import */ var _search__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./search */ \"../../node_modules/@kdcloudjs/kdesign/es/transfer/search.js\");\n/* harmony import */ var _list_body__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./list-body */ \"../../node_modules/@kdcloudjs/kdesign/es/transfer/list-body.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _checkbox__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../checkbox */ \"../../node_modules/@kdcloudjs/kdesign/es/checkbox/index.js\");\n\n\n\n\n\n\n\n\n\n\n\n\nvar defaultRender = function defaultRender() {\n  return null;\n};\nfunction isRenderResultPlainObject(result) {\n  return result && ! /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().isValidElement(result) && Object.prototype.toString.call(result) === '[object Object]';\n}\nvar ITransferList = function ITransferList(props, ref) {\n  var _classNames;\n  var prefixCls = props.prefixCls,\n    dataSource = props.dataSource,\n    filterOption = props.filterOption,\n    handleFilter = props.handleFilter,\n    handleClear = props.handleClear,\n    _props$render = props.render,\n    render = _props$render === void 0 ? defaultRender : _props$render,\n    titleText = props.titleText,\n    checkedKeys = props.checkedKeys,\n    disabled = props.disabled,\n    showSearch = props.showSearch,\n    style = props.style,\n    renderList = props.renderList,\n    onItemSelectAll = props.onItemSelectAll,\n    noDataContent = props.noDataContent,\n    showSelectAll = props.showSelectAll,\n    pagination = props.pagination,\n    footer = props.footer,\n    showRemove = props.showRemove,\n    placeholder = props.placeholder;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(''),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    filterValue = _useState2[0],\n    setFilterValue = _useState2[1];\n  // 自定义底部渲染\n  var footerDom = footer && footer(props);\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useImperativeHandle)(ref, function () {\n    return {\n      onClear: onClear\n    };\n  });\n  var renderItem = function renderItem(item) {\n    var renderResult = render(item);\n    var isRenderResultPlain = isRenderResultPlainObject(renderResult);\n    return {\n      renderedText: isRenderResultPlain ? renderResult.value : renderResult,\n      renderedEl: isRenderResultPlain ? renderResult.label : renderResult,\n      item: item\n    };\n  };\n  var getFilteredItems = function getFilteredItems(dataSource, filterValue) {\n    var filteredItems = [];\n    var filteredRenderItems = [];\n    dataSource.forEach(function (item) {\n      var renderedItem = renderItem(item);\n      var renderedText = renderedItem.renderedText;\n      // Filter skip\n      if (filterValue && !matchFilter(renderedText, item)) {\n        return null;\n      }\n      filteredItems.push(item);\n      filteredRenderItems.push(renderedItem);\n    });\n    return {\n      filteredItems: filteredItems,\n      filteredRenderItems: filteredRenderItems\n    };\n  };\n  var onFilterChange = function onFilterChange(e) {\n    var filterStr = e.target.value;\n    setFilterValue(filterStr);\n    handleFilter(e);\n  };\n  var onClear = function onClear() {\n    setFilterValue('');\n    handleClear();\n  };\n  var matchFilter = function matchFilter(text, item) {\n    if (filterOption) {\n      return filterOption(filterValue, item);\n    }\n    return (text === null || text === void 0 ? void 0 : text.indexOf(filterValue)) > -1;\n  };\n  var renderListBody = function renderListBody(renderList, props) {\n    var bodyContent = renderList ? renderList(props) : null;\n    var customize = !!bodyContent;\n    if (!customize) {\n      bodyContent = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_list_body__WEBPACK_IMPORTED_MODULE_8__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, props));\n    }\n    return {\n      customize: customize,\n      bodyContent: bodyContent\n    };\n  };\n  var getListBody = function getListBody(prefixCls, placeholder, filterValue, filteredItems, noDataContent, filteredRenderItems, checkedKeys, renderList, showSearch, disabled) {\n    var _context;\n    var search = showSearch ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n      className: \"\".concat(prefixCls, \"-body-search-wrapper\")\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_search__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n      prefixCls: \"\".concat(prefixCls, \"-search\"),\n      onChange: onFilterChange,\n      handleClear: onClear,\n      placeholder: placeholder,\n      value: filterValue,\n      disabled: disabled\n    })) : null;\n    var _renderListBody = renderListBody(renderList, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, (0,_utils_omit__WEBPACK_IMPORTED_MODULE_10__.omit)(props, _list_body__WEBPACK_IMPORTED_MODULE_8__.OmitProps)), {\n        filteredItems: filteredItems,\n        filteredRenderItems: filteredRenderItems,\n        selectedKeys: checkedKeys\n      })),\n      bodyContent = _renderListBody.bodyContent,\n      customize = _renderListBody.customize;\n    var bodyNode;\n    // We should wrap customize list body in a classNamed div to use flex layout.\n    if (customize) {\n      bodyNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n        className: \"\".concat(prefixCls, \"-body-customize-wrapper\")\n      }, bodyContent);\n    } else {\n      bodyNode = filteredItems.length ? bodyContent : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n        className: \"\".concat(prefixCls, \"-body-not-found\")\n      }, noDataContent);\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_7___default()(showSearch ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(prefixCls, \"-body \")).call(_context, prefixCls, \"-body-with-search\") : \"\".concat(prefixCls, \"-body\"))\n    }, search, bodyNode);\n  };\n  var getSelectAllLabel = function getSelectAllLabel(selectedCount, totalCount) {\n    var _context2;\n    if (showRemove) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement((react__WEBPACK_IMPORTED_MODULE_6___default().Fragment), null, \"\".concat(totalCount));\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement((react__WEBPACK_IMPORTED_MODULE_6___default().Fragment), null, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context2 = \"(\".concat(selectedCount, \"/\")).call(_context2, totalCount, \")\"));\n  };\n  var getCheckStatus = function getCheckStatus(filteredItems) {\n    if (checkedKeys.length === 0) {\n      return 'none';\n    }\n    if (filteredItems.every(function (item) {\n      return checkedKeys.indexOf(item.key) >= 0 || !!item.disabled;\n    })) {\n      return 'all';\n    }\n    return 'part';\n  };\n  var getCheckBox = function getCheckBox(filteredItems, onItemSelectAll, showSelectAll, disabled) {\n    var checkStatus = getCheckStatus(filteredItems);\n    var checkedAll = checkStatus === 'all';\n    var checkAllCheckbox = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n      className: \"\".concat(prefixCls, \"-header-select-all\")\n    }, showSelectAll !== false && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_checkbox__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n      disabled: disabled,\n      checked: checkedAll,\n      indeterminate: checkStatus === 'part',\n      onChange: function onChange() {\n        var _context3;\n        // Only select enabled items\n        onItemSelectAll(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5___default()(filteredItems).call(filteredItems, function (item) {\n          return !item.disabled;\n        })).call(_context3, function (_ref) {\n          var key = _ref.key;\n          return key;\n        }), !checkedAll);\n      }\n    }));\n    return checkAllCheckbox;\n  };\n  var listFooter = footerDom ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-footer\")\n  }, footerDom) : null;\n  var _getFilteredItems = getFilteredItems(dataSource, filterValue),\n    filteredItems = _getFilteredItems.filteredItems,\n    filteredRenderItems = _getFilteredItems.filteredRenderItems;\n  var checkAllCheckbox = !showRemove && getCheckBox(filteredItems, onItemSelectAll, showSelectAll, disabled);\n  var listBody = getListBody(prefixCls, placeholder, filterValue, filteredItems, noDataContent, filteredRenderItems, checkedKeys, renderList, showSearch, disabled);\n  var listCls = classnames__WEBPACK_IMPORTED_MODULE_7___default()(prefixCls, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-with-pagination\"), pagination), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(prefixCls, \"-with-footer\"), footerDom), _classNames));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: listCls,\n    style: style\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-header\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(prefixCls, \"-header-left\")\n  }, checkAllCheckbox, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-header-title\")\n  }, titleText)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-header-selected\")\n  }, getSelectAllLabel(checkedKeys.length, filteredItems.length))), listBody, listFooter);\n};\nvar TransferList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().forwardRef(ITransferList);\nTransferList.defaultProps = {\n  dataSource: [],\n  titleText: '',\n  showSearch: false\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (TransferList);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/transfer/list.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/transfer/operation.js":
/*!**********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/transfer/operation.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../button */ \"../../node_modules/@kdcloudjs/kdesign/es/button/index.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n\n\n\nvar Operation = function Operation(_ref) {\n  var disabled = _ref.disabled,\n    moveToLeft = _ref.moveToLeft,\n    moveToRight = _ref.moveToRight,\n    _ref$leftArrowText = _ref.leftArrowText,\n    leftArrowText = _ref$leftArrowText === void 0 ? '' : _ref$leftArrowText,\n    _ref$rightArrowText = _ref.rightArrowText,\n    rightArrowText = _ref$rightArrowText === void 0 ? '' : _ref$rightArrowText,\n    leftActive = _ref.leftActive,\n    rightActive = _ref.rightActive,\n    className = _ref.className,\n    style = _ref.style,\n    direction = _ref.direction,\n    oneWay = _ref.oneWay;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: className,\n    style: style\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_button__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    type: disabled || !rightActive ? 'ghost' : 'primary',\n    size: \"small\",\n    disabled: disabled || !rightActive,\n    onClick: moveToRight,\n    icon: direction !== 'rtl' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n      type: \"arrow-right\"\n    }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n      type: \"arrow-left\"\n    })\n  }, rightArrowText), !oneWay && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_button__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    type: disabled || !leftActive ? 'ghost' : 'primary',\n    size: \"small\",\n    disabled: disabled || !leftActive,\n    onClick: moveToLeft,\n    icon: direction !== 'rtl' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n      type: \"arrow-left\"\n    }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n      type: \"arrow-right\"\n    })\n  }, leftArrowText));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Operation);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/transfer/operation.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/transfer/search.js":
/*!*******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/transfer/search.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _input__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../input */ \"../../node_modules/@kdcloudjs/kdesign/es/input/index.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n\n\n\nvar transferSearch = function transferSearch(props) {\n  var prefixCls = props.prefixCls,\n    placeholder = props.placeholder,\n    onChange = props.onChange,\n    handleClear = props.handleClear,\n    value = props.value,\n    disabled = props.disabled;\n  var handleChange = function handleChange(e) {\n    if (onChange) {\n      onChange(e);\n    }\n  };\n  var handleClearFn = function handleClearFn(e) {\n    e.preventDefault();\n    if (!disabled && handleClear) {\n      handleClear(e);\n    }\n  };\n  var prefixIcon = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-prefix\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    type: \"search\"\n  }));\n  var suffixIcon = value && value.length > 0 ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-suffix\"),\n    onClick: handleClearFn\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    type: \"close-solid\"\n  })) : null;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_input__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n    borderType: \"bordered\",\n    placeholder: placeholder,\n    className: prefixCls,\n    value: value,\n    onChange: handleChange,\n    disabled: disabled,\n    prefix: prefixIcon,\n    suffix: suffixIcon\n  }));\n};\ntransferSearch.defaultProps = {\n  placeholder: ''\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (transferSearch);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/transfer/search.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/transfer/transfer.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/transfer/transfer.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/set.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/splice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _list__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./list */ \"../../node_modules/@kdcloudjs/kdesign/es/transfer/list.js\");\n/* harmony import */ var _operation__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./operation */ \"../../node_modules/@kdcloudjs/kdesign/es/transfer/operation.js\");\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _img_transfer_empty_png__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./img/transfer-empty.png */ \"../../node_modules/@kdcloudjs/kdesign/es/transfer/img/transfer-empty.png\");\n/* harmony import */ var _img_transfer_empty_png__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_img_transfer_empty_png__WEBPACK_IMPORTED_MODULE_12__);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar InternalTransfer = function InternalTransfer(props, ref) {\n  var _classNames;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_8__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_10__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps,\n    locale = _useContext.locale;\n  var transferProps = (0,_utils__WEBPACK_IMPORTED_MODULE_11__.getCompProps)('Transfer', userDefaultProps, props); // 获取穿梭框props\n  var customPrefixcls = transferProps.prefixCls,\n    className = transferProps.className,\n    dataSource = transferProps.dataSource,\n    _transferProps$target = transferProps.targetKeys,\n    targetKeys = _transferProps$target === void 0 ? [] : _transferProps$target,\n    _transferProps$select = transferProps.selectedKeys,\n    selectedKeys = _transferProps$select === void 0 ? [] : _transferProps$select,\n    disabled = transferProps.disabled,\n    render = transferProps.render,\n    onChange = transferProps.onChange,\n    onSelectChange = transferProps.onSelectChange,\n    style = transferProps.style,\n    listStyle = transferProps.listStyle,\n    operationStyle = transferProps.operationStyle,\n    _transferProps$titles = transferProps.titles,\n    titles = _transferProps$titles === void 0 ? [] : _transferProps$titles,\n    _transferProps$operat = transferProps.operations,\n    operations = _transferProps$operat === void 0 ? [] : _transferProps$operat,\n    _transferProps$search = transferProps.searchPlaceholder,\n    searchPlaceholder = _transferProps$search === void 0 ? [] : _transferProps$search,\n    showSearch = transferProps.showSearch,\n    filterOption = transferProps.filterOption,\n    rowKey = transferProps.rowKey,\n    onSearch = transferProps.onSearch,\n    children = transferProps.children,\n    oneWay = transferProps.oneWay,\n    pagination = transferProps.pagination,\n    showSelectAll = transferProps.showSelectAll,\n    noDataContent = transferProps.noDataContent,\n    footer = transferProps.footer;\n  var transferLang = locale.getCompLangMsg({\n    componentName: 'Transfer'\n  });\n  var transferPrefixCls = getPrefixCls(prefixCls, 'transfer', customPrefixcls);\n  var cls = classnames__WEBPACK_IMPORTED_MODULE_9___default()(transferPrefixCls, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames, \"\".concat(transferPrefixCls, \"-disabled\"), disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_classNames, \"\".concat(transferPrefixCls, \"-customize-list\"), !!children), _classNames), className);\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default()(selectedKeys).call(selectedKeys, function (key) {\n      return targetKeys.indexOf(key) === -1;\n    })),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState, 2),\n    sourceSelectedKeys = _useState2[0],\n    setSourceSelectedKeys = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default()(selectedKeys).call(selectedKeys, function (key) {\n      return targetKeys.indexOf(key) > -1;\n    })),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState3, 2),\n    targetSelectedKeys = _useState4[0],\n    setTargetSelectedKeys = _useState4[1];\n  var leftListRef = (0,react__WEBPACK_IMPORTED_MODULE_8__.useRef)(null);\n  var rightListRef = (0,react__WEBPACK_IMPORTED_MODULE_8__.useRef)(null);\n  var leftActive = targetSelectedKeys.length > 0;\n  var rightActive = sourceSelectedKeys.length > 0;\n  var mergedPagination = !children && pagination;\n  var leftTitle = titles[0] || transferLang.leftTitle;\n  var rightTitle = titles[1] || transferLang.rightTitle;\n  var leftPlaceholder = searchPlaceholder[0] || transferLang.searchPlaceholder[0];\n  var rightPlaceholder = searchPlaceholder[1] || transferLang.searchPlaceholder[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useImperativeHandle)(ref, function () {\n    return {\n      clearSearch: clearSearch\n    };\n  });\n  var clearSearch = function clearSearch(position) {\n    var _a, _b;\n    if (position === 'left' || position === undefined) {\n      ;\n      (_a = leftListRef === null || leftListRef === void 0 ? void 0 : leftListRef.current) === null || _a === void 0 ? void 0 : _a.onClear();\n    }\n    if (position === 'right' || position === undefined) {\n      ;\n      (_b = rightListRef === null || rightListRef === void 0 ? void 0 : rightListRef.current) === null || _b === void 0 ? void 0 : _b.onClear();\n    }\n  };\n  var setStateKeys = function setStateKeys(direction, keys) {\n    if (direction === 'left') {\n      setSourceSelectedKeys(typeof keys === 'function' ? keys(sourceSelectedKeys || []) : (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(keys));\n    } else {\n      setTargetSelectedKeys(typeof keys === 'function' ? keys(targetSelectedKeys || []) : (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(keys));\n    }\n  };\n  var moveTo = function moveTo(direction) {\n    var moveKeys = direction === 'right' ? sourceSelectedKeys : targetSelectedKeys;\n    // 过滤出disable的选项\n    var newMoveKeys = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default()(moveKeys).call(moveKeys, function (key) {\n      return !dataSource.some(function (data) {\n        return !!(key === data.key && data.disabled);\n      });\n    });\n    var newTargetKeys = direction === 'right' ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(newMoveKeys).call(newMoveKeys, targetKeys) : _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default()(targetKeys).call(targetKeys, function (targetKey) {\n      return newMoveKeys.indexOf(targetKey) === -1;\n    });\n    // 重置选择项\n    var oppositeDirection = direction === 'right' ? 'left' : 'right';\n    setStateKeys(oppositeDirection, []);\n    handleSelectChange(oppositeDirection, []);\n    if (onChange) {\n      onChange(newTargetKeys, direction, newMoveKeys);\n    }\n  };\n  var moveToLeft = function moveToLeft() {\n    return moveTo('left');\n  };\n  var moveToRight = function moveToRight() {\n    return moveTo('right');\n  };\n  var handleFilter = function handleFilter(direction, e) {\n    var value = e.target.value;\n    if (onSearch) {\n      onSearch(direction, value);\n    }\n  };\n  var handleLeftFilter = function handleLeftFilter(e) {\n    return handleFilter('left', e);\n  };\n  var handleRightFilter = function handleRightFilter(e) {\n    return handleFilter('right', e);\n  };\n  var handleClear = function handleClear(direction) {\n    if (onSearch) {\n      onSearch(direction, '');\n    }\n  };\n  var handleLeftClear = function handleLeftClear() {\n    return handleClear('left');\n  };\n  var handleRightClear = function handleRightClear() {\n    return handleClear('right');\n  };\n  var onItemSelectAll = function onItemSelectAll(direction, selectedKeys, checkAll) {\n    setStateKeys(direction, function (prevKeys) {\n      var mergedCheckedKeys = [];\n      if (checkAll) {\n        var _context;\n        //  全选\n        mergedCheckedKeys = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = []).call(_context, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(prevKeys), (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(selectedKeys))));\n      } else {\n        // 取消全选\n        mergedCheckedKeys = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default()(prevKeys).call(prevKeys, function (key) {\n          return selectedKeys.indexOf(key) === -1;\n        });\n      }\n      handleSelectChange(direction, mergedCheckedKeys);\n      return mergedCheckedKeys;\n    });\n  };\n  var onLeftItemSelectAll = function onLeftItemSelectAll(selectedKeys, checkAll) {\n    return onItemSelectAll('left', selectedKeys, checkAll);\n  };\n  var onRightItemSelectAll = function onRightItemSelectAll(selectedKeys, checkAll) {\n    return onItemSelectAll('right', selectedKeys, checkAll);\n  };\n  var onItemSelect = function onItemSelect(direction, selectedKey, checked) {\n    var holder = direction === 'left' ? (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(sourceSelectedKeys) : (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(targetSelectedKeys);\n    var index = holder.indexOf(selectedKey);\n    if (index > -1) {\n      _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_6___default()(holder).call(holder, index, 1);\n    }\n    if (checked) {\n      holder.push(selectedKey);\n    }\n    handleSelectChange(direction, holder);\n    setStateKeys(direction, holder);\n  };\n  var onLeftItemSelect = function onLeftItemSelect(selectedKey, checked) {\n    return onItemSelect('left', selectedKey, checked);\n  };\n  var onRightItemSelect = function onRightItemSelect(selectedKey, checked) {\n    return onItemSelect('right', selectedKey, checked);\n  };\n  var onRightItemRemove = function onRightItemRemove(selectedKeys) {\n    setStateKeys('right', []);\n    if (onChange) {\n      onChange(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default()(targetKeys).call(targetKeys, function (key) {\n        return !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7___default()(selectedKeys).call(selectedKeys, key);\n      }), 'left', (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(selectedKeys));\n    }\n  };\n  var handleSelectChange = function handleSelectChange(direction, holder) {\n    if (!onSelectChange) return;\n    if (direction === 'left') {\n      onSelectChange(holder, targetSelectedKeys);\n    } else {\n      onSelectChange(sourceSelectedKeys, holder);\n    }\n  };\n  var handleListStyle = function handleListStyle(listStyle, direction) {\n    if (typeof listStyle === 'function') {\n      return listStyle({\n        direction: direction\n      });\n    }\n    return listStyle;\n  };\n  var handleNoDataContent = function handleNoDataContent(noDataContent, direction) {\n    if (typeof noDataContent === 'function') {\n      return noDataContent({\n        direction: direction\n      });\n    }\n    var defaultContent = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement((react__WEBPACK_IMPORTED_MODULE_8___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"img\", {\n      src: (_img_transfer_empty_png__WEBPACK_IMPORTED_MODULE_12___default()),\n      alt: transferLang.emptyTip,\n      height: 96\n    }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"span\", {\n      className: \"\".concat(transferPrefixCls, \"-list-body-not-found-tip\")\n    }, transferLang.emptyTip));\n    return noDataContent || defaultContent;\n  };\n  // 获取左右数据源\n  var separateDataSource = function separateDataSource() {\n    var leftDataSource = [];\n    var rightDataSource = new Array(targetKeys.length);\n    dataSource.forEach(function (record) {\n      if (rowKey) {\n        record.key = rowKey(record);\n      }\n      var indexOfKey = targetKeys.indexOf(record.key);\n      if (indexOfKey !== -1) {\n        rightDataSource[indexOfKey] = record;\n      } else {\n        leftDataSource.push(record);\n      }\n    });\n    return {\n      leftDataSource: leftDataSource,\n      rightDataSource: rightDataSource\n    };\n  };\n  var _separateDataSource = separateDataSource(),\n    leftDataSource = _separateDataSource.leftDataSource,\n    rightDataSource = _separateDataSource.rightDataSource;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(\"div\", {\n    className: cls,\n    style: style\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_list__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n    prefixCls: \"\".concat(transferPrefixCls, \"-list\"),\n    placeholder: leftPlaceholder,\n    titleText: leftTitle,\n    dataSource: leftDataSource,\n    filterOption: filterOption,\n    style: handleListStyle(listStyle, 'left'),\n    checkedKeys: sourceSelectedKeys,\n    handleFilter: handleLeftFilter,\n    handleClear: handleLeftClear,\n    onItemSelect: onLeftItemSelect,\n    onItemSelectAll: onLeftItemSelectAll,\n    render: render,\n    showSearch: showSearch,\n    renderList: children,\n    disabled: disabled,\n    direction: \"left\",\n    showSelectAll: showSelectAll,\n    pagination: mergedPagination,\n    noDataContent: handleNoDataContent(noDataContent, 'left'),\n    footer: footer,\n    ref: leftListRef\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_operation__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n    className: \"\".concat(transferPrefixCls, \"-operation\"),\n    rightActive: rightActive,\n    rightArrowText: operations[0],\n    moveToRight: moveToRight,\n    leftActive: leftActive,\n    leftArrowText: operations[1],\n    moveToLeft: moveToLeft,\n    style: operationStyle,\n    disabled: disabled,\n    oneWay: oneWay\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_list__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n    prefixCls: \"\".concat(transferPrefixCls, \"-list\"),\n    placeholder: rightPlaceholder,\n    titleText: rightTitle,\n    dataSource: rightDataSource,\n    filterOption: filterOption,\n    style: handleListStyle(listStyle, 'right'),\n    checkedKeys: targetSelectedKeys,\n    handleFilter: handleRightFilter,\n    handleClear: handleRightClear,\n    onItemSelect: onRightItemSelect,\n    onItemSelectAll: onRightItemSelectAll,\n    onItemRemove: onRightItemRemove,\n    render: render,\n    showSearch: showSearch,\n    renderList: children,\n    disabled: disabled,\n    direction: \"right\",\n    showSelectAll: showSelectAll,\n    pagination: mergedPagination,\n    noDataContent: handleNoDataContent(noDataContent, 'right'),\n    footer: footer,\n    showRemove: oneWay,\n    ref: rightListRef\n  }));\n};\nvar Transfer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().forwardRef(InternalTransfer);\nTransfer.displayName = 'Transfer';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Transfer);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/transfer/transfer.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/tree-select/index.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/tree-select/index.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _tree_select__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./tree-select */ \"../../node_modules/@kdcloudjs/kdesign/es/tree-select/tree-select.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_tree_select__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/tree-select/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/tree-select/tree-select.js":
/*!***************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/tree-select/tree-select.js ***!
  \***************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../_utils/hooks */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/tree/index.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../index */ \"../../node_modules/@kdcloudjs/kdesign/es/tag/index.js\");\n/* harmony import */ var _utils_usePopper__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../_utils/usePopper */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/usePopper.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar INPUT_MIN_WIDTH = 4; // 输入框最小宽度\nfunction flattenTreeData(treeData) {\n  var map = new (_babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_4___default())();\n  function flatten(node) {\n    var parentKeys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n    var _a;\n    var key = node.key;\n    var data = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({}, node), {\n      childrenKeys: [],\n      parentKeys: parentKeys\n    });\n    map.set(key, data);\n    if (node.children) {\n      var keys = [];\n      (_a = node.children) === null || _a === void 0 ? void 0 : _a.forEach(function (child) {\n        var _context, _data$childrenKeys, _context2;\n        var childKey = flatten(child, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context = []).call(_context, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(parentKeys), [key]));\n        keys.push(childKey);\n        var grandchildrenKeys = map.get(childKey).childrenKeys;\n        (_data$childrenKeys = data.childrenKeys).push.apply(_data$childrenKeys, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context2 = [childKey]).call(_context2, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(grandchildrenKeys)));\n      });\n    }\n    return key;\n  }\n  treeData === null || treeData === void 0 ? void 0 : treeData.forEach(function (node) {\n    flatten(node);\n  });\n  return map;\n}\nvar InternalTreeSelect = function InternalTreeSelect(props, ref) {\n  var _context3, _classNames4, _classNames10;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_9__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_11__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var treeSelectProps = (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getCompProps)('TreeSelect', userDefaultProps, props);\n  var size = treeSelectProps.size,\n    value = treeSelectProps.value,\n    autoFocus = treeSelectProps.autoFocus,\n    className = treeSelectProps.className,\n    defaultOpen = treeSelectProps.defaultOpen,\n    dropdownClassName = treeSelectProps.dropdownClassName,\n    disabled = treeSelectProps.disabled,\n    borderType = treeSelectProps.borderType,\n    _treeSelectProps$show = treeSelectProps.showArrow,\n    showArrow = _treeSelectProps$show === void 0 ? true : _treeSelectProps$show,\n    allowClear = treeSelectProps.allowClear,\n    customPrefixcls = treeSelectProps.prefixCls,\n    onFocus = treeSelectProps.onFocus,\n    onBlur = treeSelectProps.onBlur,\n    onClear = treeSelectProps.onClear,\n    onVisibleChange = treeSelectProps.onVisibleChange,\n    mode = treeSelectProps.mode,\n    showSearch = treeSelectProps.showSearch,\n    onChange = treeSelectProps.onChange,\n    onSearch = treeSelectProps.onSearch,\n    defaultValue = treeSelectProps.defaultValue,\n    placeholder = treeSelectProps.placeholder,\n    dropdownStyle = treeSelectProps.dropdownStyle,\n    style = treeSelectProps.style,\n    clearIcon = treeSelectProps.clearIcon,\n    filterTreeNode = treeSelectProps.filterTreeNode,\n    treeNodeFilterProp = treeSelectProps.treeNodeFilterProp,\n    treeNodeLabelProp = treeSelectProps.treeNodeLabelProp,\n    _treeSelectProps$popp = treeSelectProps.popperStyle,\n    popperStyle = _treeSelectProps$popp === void 0 ? {} : _treeSelectProps$popp,\n    tagRender = treeSelectProps.tagRender,\n    treeData = treeSelectProps.treeData,\n    virtual = treeSelectProps.virtual,\n    treeIcon = treeSelectProps.treeIcon,\n    showTreeIcon = treeSelectProps.showTreeIcon,\n    switcherIcon = treeSelectProps.switcherIcon,\n    treeDefaultExpandAll = treeSelectProps.treeDefaultExpandAll,\n    treeDefaultExpandedKeys = treeSelectProps.treeDefaultExpandedKeys,\n    treeCheckStrictly = treeSelectProps.treeCheckStrictly,\n    treeExpandedKeys = treeSelectProps.treeExpandedKeys,\n    treeExpandOnClickNode = treeSelectProps.treeExpandOnClickNode,\n    treeLoadData = treeSelectProps.treeLoadData,\n    onTreeExpand = treeSelectProps.onTreeExpand,\n    onSelect = treeSelectProps.onSelect,\n    onCheck = treeSelectProps.onCheck,\n    dropdownRender = treeSelectProps.dropdownRender,\n    onlyExpandOnClickIcon = treeSelectProps.onlyExpandOnClickIcon,\n    listHeight = treeSelectProps.listHeight,\n    status = treeSelectProps.status;\n  var isMultiple = mode === 'multiple'; // 是否多选\n  var _useMergedState = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_13__.useMergedState)(isMultiple ? [] : undefined, {\n      value: value,\n      defaultValue: defaultValue\n    }),\n    _useMergedState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useMergedState, 2),\n    initValue = _useMergedState2[0],\n    setInitValue = _useMergedState2[1];\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)(treeExpandedKeys),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState, 2),\n    expandedKeys = _useState2[0],\n    setExpandedKeys = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)(initValue),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState3, 2),\n    selectedKeys = _useState4[0],\n    setSelectedKeys = _useState4[1];\n  var innerRef = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)();\n  var selectRef = ref || innerRef;\n  var searchRef = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)(null); // 搜索框ref\n  var selectionRef = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)(null);\n  var dropDownRef = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)(null);\n  var measureRef = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)(null);\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)(!!props.visible || defaultOpen),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState5, 2),\n    optionShow = _useState6[0],\n    setOptionShow = _useState6[1]; // 下拉列表是否展示\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)(''),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState7, 2),\n    searchValue = _useState8[0],\n    setSearchValue = _useState8[1]; // 搜索框定时器\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)(INPUT_MIN_WIDTH),\n    _useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState9, 2),\n    inputWidth = _useState10[0],\n    setInputWidth = _useState10[1]; // 输入框宽度\n  var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)(autoFocus),\n    _useState12 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState11, 2),\n    focusd = _useState12[0],\n    setFocusd = _useState12[1];\n  var _useState13 = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)([]),\n    _useState14 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState13, 2),\n    selectTreeNodes = _useState14[0],\n    setSelectTreeNodes = _useState14[1];\n  var TreeMap = (0,react__WEBPACK_IMPORTED_MODULE_9__.useMemo)(function () {\n    return flattenTreeData(treeData);\n  }, [treeData]);\n  var isSelected = (0,react__WEBPACK_IMPORTED_MODULE_9__.useMemo)(function () {\n    return !!(selectTreeNodes === null || selectTreeNodes === void 0 ? void 0 : selectTreeNodes.length);\n  }, [selectTreeNodes]);\n  var selectPrefixCls = getPrefixCls(prefixCls, 'tree-select', customPrefixcls);\n  // 选择器样式\n  var selectCls = classnames__WEBPACK_IMPORTED_MODULE_10___default()(selectPrefixCls, className, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(selectPrefixCls, \"-visible\"), optionShow));\n  var selectionCls = classnames__WEBPACK_IMPORTED_MODULE_10___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(selectPrefixCls, \"-selector\"), true));\n  // 下拉列表框样式\n  var dropDownCls = classnames__WEBPACK_IMPORTED_MODULE_10___default()(dropdownClassName, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(selectPrefixCls, \"-dropdown\"), true));\n  // 多选，单选公共样式\n  var commCls = classnames__WEBPACK_IMPORTED_MODULE_10___default()((_classNames4 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames4, \"\".concat(selectPrefixCls, \"-bordered\"), borderType === 'bordered'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames4, \"\".concat(selectPrefixCls, \"-underline\"), borderType === 'underline'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames4, \"\".concat(selectPrefixCls, \"-borderless\"), borderType === 'none'), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames4, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context3 = \"\".concat(selectPrefixCls, \"-size-\")).call(_context3, size), size), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames4, \"\".concat(selectPrefixCls, \"-wrapper\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames4, \"\".concat(selectPrefixCls, \"-error\"), status === 'error'), _classNames4));\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    var arr = [];\n    if (isMultiple) {\n      for (var index = 0; index < initValue.length; index++) {\n        var key = initValue[index];\n        if (TreeMap.has(key)) {\n          arr.push(TreeMap.get(key));\n        } else {\n          arr.push({\n            key: key,\n            title: key\n          });\n        }\n      }\n    } else {\n      if (TreeMap.has(initValue)) {\n        arr.push(TreeMap.get(initValue));\n      } else {\n        ;\n        (initValue !== null && initValue !== void 0 ? initValue : '') !== '' && arr.push({\n          key: initValue,\n          title: initValue\n        });\n      }\n    }\n    setSelectTreeNodes(arr);\n  }, [initValue, TreeMap, isMultiple]);\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    if (optionShow === false) {\n      handleClear();\n    }\n  }, [optionShow]);\n  var handleFocus = (0,react__WEBPACK_IMPORTED_MODULE_9__.useCallback)(function (e) {\n    e.stopPropagation();\n    setFocusd(true);\n    onFocus && onFocus(e);\n  }, [onFocus]);\n  var handleBlur = (0,react__WEBPACK_IMPORTED_MODULE_9__.useCallback)(function (e) {\n    e.stopPropagation();\n    setFocusd(false);\n    onBlur && onBlur(e);\n  }, [onBlur]);\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    selectionRef.current.addEventListener('mouseup', function (e) {\n      var _a;\n      var isCloseBtn = ((_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.className.indexOf('kd-tag-close-icon')) > -1;\n      if (isCloseBtn) {\n        e.stopPropagation();\n      }\n    });\n  }, []);\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useLayoutEffect)(function () {\n    measureRef.current && setInputWidth(measureRef.current.scrollWidth);\n  }, [searchValue]);\n  var getTreeNodeLabel = function getTreeNodeLabel(node) {\n    return (node === null || node === void 0 ? void 0 : node[treeNodeLabelProp]) || (node === null || node === void 0 ? void 0 : node.title);\n  };\n  // 输入框变化搜索内容\n  var handleSearchChange = (0,react__WEBPACK_IMPORTED_MODULE_9__.useCallback)(function (event) {\n    var val = event.currentTarget.value;\n    handleVisibleChange(true);\n    setSearchValue(val);\n    onSearch === null || onSearch === void 0 ? void 0 : onSearch(val);\n  }, [onSearch]);\n  // 清除搜索内容\n  var handleClear = (0,react__WEBPACK_IMPORTED_MODULE_9__.useCallback)(function () {\n    if (searchRef.current) {\n      searchRef.current.value = '';\n      setSearchValue('');\n    }\n  }, [searchRef]);\n  // 清空选择器内容\n  var handleReset = function handleReset(e) {\n    e.stopPropagation();\n    if (isMultiple) {\n      setInitValue([]);\n    } else {\n      setInitValue('');\n    }\n    onClear === null || onClear === void 0 ? void 0 : onClear('');\n    setSearchValue('');\n    isMultiple ? onChange === null || onChange === void 0 ? void 0 : onChange('', '') : onChange === null || onChange === void 0 ? void 0 : onChange(undefined, undefined);\n  };\n  // 多选模式下清除某一项\n  var handleRemove = function handleRemove(e, key) {\n    var _context4;\n    var _a, _b;\n    if (disabled) return;\n    var allRemoveKeys = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context4 = []).call(_context4, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(((_a = TreeMap.get(key)) === null || _a === void 0 ? void 0 : _a.childrenKeys) || []), (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(((_b = TreeMap.get(key)) === null || _b === void 0 ? void 0 : _b.parentKeys) || []), [key]);\n    var newSelectTreeNodes = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6___default()(selectTreeNodes).call(selectTreeNodes, function (item) {\n      return !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7___default()(allRemoveKeys).call(allRemoveKeys, item.key);\n    });\n    var newKeys = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8___default()(newSelectTreeNodes).call(newSelectTreeNodes, function (_ref) {\n      var key = _ref.key;\n      return key;\n    });\n    if (!Object.hasOwnProperty.call(treeSelectProps, 'value')) {\n      setInitValue(newKeys);\n    }\n    onChange === null || onChange === void 0 ? void 0 : onChange(newKeys, newSelectTreeNodes);\n    e.stopPropagation();\n  };\n  var handleSelect = function handleSelect(keys, state) {\n    !isMultiple && !Object.hasOwnProperty.call(treeSelectProps, 'value') && setInitValue(keys[0]);\n    setSelectedKeys(keys);\n    onSelect === null || onSelect === void 0 ? void 0 : onSelect(keys, state);\n    !isMultiple && (onChange === null || onChange === void 0 ? void 0 : onChange(keys[0], [TreeMap.get(keys[0])]));\n    if (!isMultiple) {\n      handleVisibleChange(false);\n    }\n  };\n  var handleCheck = function handleCheck(keys, state) {\n    onCheck === null || onCheck === void 0 ? void 0 : onCheck(keys, state);\n    onChange === null || onChange === void 0 ? void 0 : onChange(keys, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8___default()(keys).call(keys, function (key) {\n      return TreeMap.get(key);\n    }));\n    !Object.hasOwnProperty.call(treeSelectProps, 'value') && setInitValue(keys);\n  };\n  var handleExpand = function handleExpand(keys, state) {\n    !Object.hasOwnProperty.call(treeSelectProps, 'treeExpandedKeys') && setExpandedKeys(keys);\n    onTreeExpand === null || onTreeExpand === void 0 ? void 0 : onTreeExpand(keys, state);\n  };\n  // 渲染后缀图标\n  var renderSuffix = function renderSuffix() {\n    var _classNames5;\n    var suffixIcon = treeSelectProps.suffixIcon;\n    // 选择器下拉icon样式\n    var arrowIconCls = classnames__WEBPACK_IMPORTED_MODULE_10___default()((_classNames5 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames5, \"\".concat(selectPrefixCls, \"-icon-arrow\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames5, \"\".concat(selectPrefixCls, \"-icon-arrow-up\"), optionShow), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames5, \"\".concat(selectPrefixCls, \"-icon-arrow-down\"), !optionShow), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames5, \"\".concat(selectPrefixCls, \"-icon-arrow-focus\"), optionShow), _classNames5));\n    var iconShow = allowClear && !disabled && (isMultiple ? !!selectTreeNodes.length : (initValue !== null && initValue !== void 0 ? initValue : '') !== '' || searchValue);\n    var clearIconCls = classnames__WEBPACK_IMPORTED_MODULE_10___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(selectPrefixCls, \"-icon-clear\"), true));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement((react__WEBPACK_IMPORTED_MODULE_9___default().Fragment), null, iconShow && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"span\", {\n      onClick: handleReset,\n      onMouseDown: function onMouseDown(e) {\n        return e.preventDefault();\n      },\n      className: clearIconCls\n    }, clearIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(_index__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n      type: \"close-solid\"\n    })), showArrow && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"span\", {\n      className: arrowIconCls\n    }, suffixIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(_index__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n      type: \"arrow-down\"\n    })));\n  };\n  var defFilterTreeNode = function defFilterTreeNode(node) {\n    var _a;\n    if (typeof filterTreeNode === 'function') {\n      return filterTreeNode(node, searchValue);\n    }\n    if ((_a = node === null || node === void 0 ? void 0 : node[treeNodeFilterProp]) === null || _a === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7___default()(_a).call(_a, searchValue)) {\n      return true;\n    }\n    return false;\n  };\n  var dropRender = function dropRender() {\n    var treeProps = {\n      expandOnClickNode: treeExpandOnClickNode,\n      loadData: treeLoadData,\n      treeData: treeData,\n      virtual: virtual,\n      defaultExpandAll: treeDefaultExpandAll,\n      defaultExpandedKeys: treeDefaultExpandedKeys,\n      checkStrictly: treeCheckStrictly,\n      selectedKeys: selectedKeys,\n      expandedKeys: expandedKeys,\n      filterValue: searchValue,\n      icon: treeIcon,\n      showIcon: showTreeIcon,\n      switcherIcon: switcherIcon,\n      onlyExpandOnClickIcon: onlyExpandOnClickIcon,\n      notFoundContent: renderNotContent(),\n      filterTreeNode: defFilterTreeNode,\n      onSelect: handleSelect,\n      onExpand: handleExpand,\n      height: listHeight\n    };\n    if (isMultiple) {\n      treeProps.checkable = true;\n      treeProps.checkedKeys = initValue;\n      treeProps.onCheck = handleCheck;\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(_index__WEBPACK_IMPORTED_MODULE_15__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({}, treeProps));\n  };\n  // 下拉列表为空时显示的内容\n  var renderNotContent = function renderNotContent() {\n    // 下拉列表为空\n    var emptyListCls = classnames__WEBPACK_IMPORTED_MODULE_10___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(selectPrefixCls, \"-dropdown-empty\"), true));\n    var notFoundContent = treeSelectProps.notFoundContent;\n    var emptyContent = notFoundContent || '暂无数据';\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"div\", {\n      className: emptyListCls\n    }, emptyContent);\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    var _a;\n    if (showSearch && autoFocus && !disabled) {\n      (_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.focus();\n    }\n  }, [showSearch, autoFocus, disabled]);\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    setSelectedKeys(initValue);\n  }, [initValue]);\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    setOptionShow(props.visible);\n  }, [props.visible]);\n  // 渲染下拉列表框\n  var renderContent = function renderContent() {\n    var dropDownStyle = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({\n      width: style === null || style === void 0 ? void 0 : style.width,\n      maxHeight: virtual ? 'unset' : ''\n    }, dropdownStyle);\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement((react__WEBPACK_IMPORTED_MODULE_9___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"div\", {\n      className: dropDownCls,\n      style: dropDownStyle,\n      ref: dropDownRef\n    }, dropdownRender ? dropdownRender === null || dropdownRender === void 0 ? void 0 : dropdownRender(dropRender()) : dropRender()));\n  };\n  // 处理多选tag\n  var handleMaxTagHolder = (0,react__WEBPACK_IMPORTED_MODULE_9__.useCallback)(function () {\n    var maxTagPlaceholder = treeSelectProps.maxTagPlaceholder;\n    if (typeof maxTagPlaceholder === 'function') {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(_index__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n        type: \"edit\",\n        size: size,\n        disabled: disabled\n      }, maxTagPlaceholder(selectTreeNodes));\n    } else {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(_index__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n        type: \"edit\",\n        size: size,\n        disabled: disabled\n      }, maxTagPlaceholder);\n    }\n  }, [selectTreeNodes]);\n  var renderSingle = function renderSingle() {\n    var label = '';\n    if (isSelected) {\n      label = getTreeNodeLabel(selectTreeNodes[0]);\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement((react__WEBPACK_IMPORTED_MODULE_9___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"div\", {\n      className: singleCls,\n      ref: selectionRef,\n      title: typeof label === 'string' ? label : ''\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-selection-search\")\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"input\", {\n      ref: searchRef,\n      value: searchValue,\n      className: \"\".concat(selectPrefixCls, \"-selection-search-input\"),\n      onChange: handleSearchChange,\n      onFocus: handleFocus,\n      onBlur: handleBlur,\n      readOnly: !showSearch || !!disabled\n    })), isSelected && !searchValue && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-selection-item\")\n    }, label), !isSelected && !searchValue && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-placeholder\")\n    }, placeholder), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-suffix\")\n    }, renderSuffix())));\n  };\n  var renderMultiple = function renderMultiple() {\n    var _context5, _classNames8, _context6, _classNames9;\n    var maxTagCount = treeSelectProps.maxTagCount,\n      maxTagPlaceholder = treeSelectProps.maxTagPlaceholder;\n    var multipleCls = classnames__WEBPACK_IMPORTED_MODULE_10___default()(commCls, (_classNames8 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames8, \"\".concat(selectPrefixCls, \"-multiple-disabled\"), disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames8, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context5 = \"\".concat(selectPrefixCls, \"-\")).call(_context5, mode), mode), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames8, \"\".concat(selectPrefixCls, \"-focused\"), focusd || optionShow), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames8, \"\".concat(selectPrefixCls, \"-placeholder\"), placeholder && !selectTreeNodes.length), _classNames8));\n    var itemCls = classnames__WEBPACK_IMPORTED_MODULE_10___default()((_classNames9 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames9, \"\".concat(selectPrefixCls, \"-selection-item\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames9, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context6 = \"\".concat(selectPrefixCls, \"-selection-item-\")).call(_context6, size), size), _classNames9));\n    var TagStyle = {\n      margin: '2px 8px 2px 0',\n      maxWidth: '100%'\n    };\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"div\", {\n      className: multipleCls,\n      ref: selectionRef\n    }, Array.isArray(selectTreeNodes) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement((react__WEBPACK_IMPORTED_MODULE_9___default().Fragment), null, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8___default()(selectTreeNodes).call(selectTreeNodes, function (item, index) {\n      var key = item.key;\n      var label = getTreeNodeLabel(item);\n      return (!maxTagCount || index <= maxTagCount - 1) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"span\", {\n        key: key,\n        className: classnames__WEBPACK_IMPORTED_MODULE_10___default()(\"\".concat(selectPrefixCls, \"-selection-tag\")),\n        onMouseDown: function onMouseDown(e) {\n          return e.preventDefault();\n        }\n      }, typeof tagRender === 'function' ? tagRender === null || tagRender === void 0 ? void 0 : tagRender((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({\n        onClose: handleRemove,\n        disabled: disabled,\n        size: size\n      }, item)) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(_index__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n        type: \"edit\",\n        style: TagStyle,\n        size: size,\n        closable: true,\n        disabled: disabled,\n        onClose: function onClose(e) {\n          return handleRemove(e, key);\n        },\n        \"data-tag\": key,\n        title: typeof label === 'string' ? label : ''\n      }, label));\n    }), maxTagCount && selectTreeNodes.length > maxTagCount ? maxTagPlaceholder ? handleMaxTagHolder() : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"span\", {\n      className: itemCls\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-selection-item-content\")\n    }, \"\\u5171\", selectTreeNodes.length, \"\\u9879\")) : null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-selection-search\"),\n      style: {\n        width: inputWidth\n      }\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"input\", {\n      ref: searchRef,\n      value: searchValue,\n      className: \"\".concat(selectPrefixCls, \"-selection-search-input\"),\n      onChange: handleSearchChange,\n      onFocus: handleFocus,\n      onBlur: handleBlur,\n      readOnly: !showSearch || !!disabled\n    }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"span\", {\n      ref: measureRef,\n      className: \"\".concat(selectPrefixCls, \"-selection-search-mirror\")\n    }, searchValue, \"\\xA0\")), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-placeholder\")\n    }, !(selectTreeNodes === null || selectTreeNodes === void 0 ? void 0 : selectTreeNodes.length) && !searchValue && placeholder), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"span\", {\n      className: \"\".concat(selectPrefixCls, \"-suffix\")\n    }, renderSuffix()));\n  };\n  var singleCls = classnames__WEBPACK_IMPORTED_MODULE_10___default()(commCls, (_classNames10 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames10, \"\".concat(selectPrefixCls, \"-single\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames10, \"\".concat(selectPrefixCls, \"-single-disabled\"), disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames10, \"\".concat(selectPrefixCls, \"-single-focused\"), focusd && !disabled || optionShow), _classNames10));\n  var renderSelect = function renderSelect() {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"div\", {\n      className: selectCls,\n      ref: selectRef,\n      style: style\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"span\", {\n      className: selectionCls,\n      tabIndex: disabled ? -1 : 0,\n      onFocus: function onFocus() {\n        var _a;\n        return (_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.focus();\n      },\n      onBlur: function onBlur() {\n        var _a;\n        return (_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.blur();\n      }\n    }, !isMultiple ? renderSingle() : renderMultiple()));\n  };\n  var catchStyle = function catchStyle() {\n    var _a;\n    if (selectRef === null || selectRef === void 0 ? void 0 : selectRef.current) {\n      var _ref2 = (_a = selectRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect(),\n        width = _ref2.width;\n      return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({\n        width: (dropdownStyle === null || dropdownStyle === void 0 ? void 0 : dropdownStyle.width) || (width > 75 ? width : 75),\n        zIndex: 1050\n      }, popperStyle);\n    }\n  };\n  var handleVisibleChange = function handleVisibleChange(visible) {\n    if (visible !== optionShow) {\n      props.visible === undefined && setOptionShow(visible);\n      onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(visible);\n    }\n  };\n  var popperProps = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({\n    placement: 'bottomLeft'\n  }, treeSelectProps), {\n    prefixCls: \"\".concat(selectPrefixCls, \"-panel\"),\n    popperStyle: catchStyle(),\n    defaultVisible: optionShow,\n    visible: optionShow,\n    onVisibleChange: handleVisibleChange,\n    clickToClose: !(showSearch && searchValue)\n  });\n  return (0,_utils_usePopper__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(renderSelect(), renderContent(), popperProps);\n};\nvar TreeSelect = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().forwardRef(InternalTreeSelect);\nTreeSelect.displayName = 'TreeSelect';\n/* harmony default export */ __webpack_exports__[\"default\"] = (TreeSelect);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/tree-select/tree-select.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/tree/index.js":
/*!**************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/tree/index.js ***!
  \**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   TreeNode: function() { return /* reexport safe */ _treeNode__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _tree__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./tree */ \"../../node_modules/@kdcloudjs/kdesign/es/tree/tree.js\");\n/* harmony import */ var _treeNode__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./treeNode */ \"../../node_modules/@kdcloudjs/kdesign/es/tree/treeNode.js\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_tree__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/tree/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/tree/tree.js":
/*!*************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/tree/tree.js ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/set.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! lodash/cloneDeep */ \"../../node_modules/lodash/cloneDeep.js\");\n/* harmony import */ var lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _treeNode__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./treeNode */ \"../../node_modules/@kdcloudjs/kdesign/es/tree/treeNode.js\");\n/* harmony import */ var _virtual_list__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../virtual-list */ \"../../node_modules/@kdcloudjs/kdesign/es/virtual-list/index.js\");\n/* harmony import */ var _utils_treeUtils__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./utils/treeUtils */ \"../../node_modules/@kdcloudjs/kdesign/es/tree/utils/treeUtils.js\");\n/* harmony import */ var _treeHooks__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./treeHooks */ \"../../node_modules/@kdcloudjs/kdesign/es/tree/treeHooks.js\");\n/* harmony import */ var lodash_isBoolean__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! lodash/isBoolean */ \"../../node_modules/lodash/isBoolean.js\");\n/* harmony import */ var lodash_isBoolean__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(lodash_isBoolean__WEBPACK_IMPORTED_MODULE_13__);\n\n\n\n\n\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\n\n\nvar InternalTree = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().forwardRef(function (props, ref) {\n  var _classNames;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_10__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_14__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var TreeProps = (0,_utils__WEBPACK_IMPORTED_MODULE_15__.getCompProps)('Tree', userDefaultProps, props); // 按钮属性需要合并一遍用户定义的默认属性\n  var customPrefixcls = TreeProps.prefixCls,\n    treeData = TreeProps.treeData,\n    virtual = TreeProps.virtual,\n    showIcon = TreeProps.showIcon,\n    switcherIcon = TreeProps.switcherIcon,\n    icon = TreeProps.icon,\n    checkable = TreeProps.checkable,\n    checkStrictly = TreeProps.checkStrictly,\n    disabled = TreeProps.disabled,\n    draggable = TreeProps.draggable,\n    scrollToKey = TreeProps.scrollToKey,\n    expandedKeysProps = TreeProps.expandedKeys,\n    checkedKeysProps = TreeProps.checkedKeys,\n    defaultExpandRoot = TreeProps.defaultExpandRoot,\n    defaultExpandAll = TreeProps.defaultExpandAll,\n    defaultExpandParent = TreeProps.defaultExpandParent,\n    defaultExpandedKeys = TreeProps.defaultExpandedKeys,\n    defaultCheckedKeys = TreeProps.defaultCheckedKeys,\n    defaultSelectedKeys = TreeProps.defaultSelectedKeys,\n    height = TreeProps.height,\n    onCheck = TreeProps.onCheck,\n    onExpand = TreeProps.onExpand,\n    onDragStart = TreeProps.onDragStart,\n    onDragOver = TreeProps.onDragOver,\n    onDragLeave = TreeProps.onDragLeave,\n    onDragEnter = TreeProps.onDragEnter,\n    onDragEnd = TreeProps.onDragEnd,\n    onDrop = TreeProps.onDrop,\n    onSelect = TreeProps.onSelect,\n    selectedKeysProps = TreeProps.selectedKeys,\n    _TreeProps$setTreeNod = TreeProps.setTreeNodeStyle,\n    setTreeNodeStyle = _TreeProps$setTreeNod === void 0 ? function () {\n      return {};\n    } : _TreeProps$setTreeNod,\n    _TreeProps$setTreeNod2 = TreeProps.setTreeNodeClassName,\n    setTreeNodeClassName = _TreeProps$setTreeNod2 === void 0 ? function () {\n      return '';\n    } : _TreeProps$setTreeNod2,\n    innerEstimatedItemSize = TreeProps.estimatedItemSize,\n    style = TreeProps.style,\n    className = TreeProps.className,\n    filterTreeNode = TreeProps.filterTreeNode,\n    filterValue = TreeProps.filterValue,\n    expandOnClickNode = TreeProps.expandOnClickNode,\n    _TreeProps$onlyExpand = TreeProps.onlyExpandOnClickIcon,\n    onlyExpandOnClickIcon = _TreeProps$onlyExpand === void 0 ? false : _TreeProps$onlyExpand,\n    loadData = TreeProps.loadData,\n    notFoundContent = TreeProps.notFoundContent,\n    showLine = TreeProps.showLine,\n    expandOnFilterNode = TreeProps.expandOnFilterNode,\n    others = __rest(TreeProps, [\"prefixCls\", \"treeData\", \"virtual\", \"showIcon\", \"switcherIcon\", \"icon\", \"checkable\", \"checkStrictly\", \"disabled\", \"draggable\", \"scrollToKey\", \"expandedKeys\", \"checkedKeys\", \"defaultExpandRoot\", \"defaultExpandAll\", \"defaultExpandParent\", \"defaultExpandedKeys\", \"defaultCheckedKeys\", \"defaultSelectedKeys\", \"height\", \"onCheck\", \"onExpand\", \"onDragStart\", \"onDragOver\", \"onDragLeave\", \"onDragEnter\", \"onDragEnd\", \"onDrop\", \"onSelect\", \"selectedKeys\", \"setTreeNodeStyle\", \"setTreeNodeClassName\", \"estimatedItemSize\", \"style\", \"className\", \"filterTreeNode\", \"filterValue\", \"expandOnClickNode\", \"onlyExpandOnClickIcon\", \"loadData\", \"notFoundContent\", \"showLine\", \"expandOnFilterNode\"]);\n  var treePrefixCls = getPrefixCls(prefixCls, 'tree', customPrefixcls); // 树样式前缀\n  var treeNodeClassName = classnames__WEBPACK_IMPORTED_MODULE_11___default()(className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_classNames, \"\".concat(treePrefixCls), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_classNames, \"\".concat(treePrefixCls, \"-show-line\"), showLine), _classNames));\n  var treeRootClassName = \"\".concat(treePrefixCls, \"-root\");\n  var estimatedItemSize = innerEstimatedItemSize; // 节点高度\n  var _React$useMemo = react__WEBPACK_IMPORTED_MODULE_10___default().useMemo(function () {\n      return (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_16__.flattenAll)(treeData, []);\n    }, [treeData]),\n    flattenAllData = _React$useMemo.flattenAllData,\n    maxLevel = _React$useMemo.maxLevel,\n    keysData = _React$useMemo.keysData;\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_10___default().useState(scrollToKey),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_React$useState, 2),\n    scrollKey = _React$useState2[0],\n    setScrollKey = _React$useState2[1];\n  var _useSelect = (0,_treeHooks__WEBPACK_IMPORTED_MODULE_17__.useSelect)(selectedKeysProps, defaultSelectedKeys),\n    _useSelect2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useSelect, 2),\n    selectedKeys = _useSelect2[0],\n    setSelectedKeys = _useSelect2[1];\n  var listRef = react__WEBPACK_IMPORTED_MODULE_10___default().useRef(null);\n  var rootRef = react__WEBPACK_IMPORTED_MODULE_10___default().useRef(null);\n  var scrollRef = ref || rootRef;\n  var treeNodeRef = react__WEBPACK_IMPORTED_MODULE_10___default().useRef(null);\n  var dragNodeRef = react__WEBPACK_IMPORTED_MODULE_10___default().useRef(null);\n  var delayedDragEnterRef = react__WEBPACK_IMPORTED_MODULE_10___default().useRef(null);\n  var virtualListRef = react__WEBPACK_IMPORTED_MODULE_10___default().useRef(null);\n  var _React$useState3 = react__WEBPACK_IMPORTED_MODULE_10___default().useState(true),\n    _React$useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_React$useState3, 2),\n    isInit = _React$useState4[0],\n    setIsInit = _React$useState4[1];\n  var _React$useState5 = react__WEBPACK_IMPORTED_MODULE_10___default().useState(null),\n    _React$useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_React$useState5, 2),\n    dropPosition = _React$useState6[0],\n    setDropPosition = _React$useState6[1];\n  var _React$useState7 = react__WEBPACK_IMPORTED_MODULE_10___default().useState(null),\n    _React$useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_React$useState7, 2),\n    dragOverNodeKey = _React$useState8[0],\n    setDragOverNodeKey = _React$useState8[1];\n  var _React$useState9 = react__WEBPACK_IMPORTED_MODULE_10___default().useState(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())()),\n    _React$useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_React$useState9, 2),\n    loadedKeys = _React$useState10[0],\n    setLoadedKeys = _React$useState10[1];\n  var _React$useState11 = react__WEBPACK_IMPORTED_MODULE_10___default().useState(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())()),\n    _React$useState12 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_React$useState11, 2),\n    loadingKeys = _React$useState12[0],\n    setLoadingKeys = _React$useState12[1];\n  var _React$useState13 = react__WEBPACK_IMPORTED_MODULE_10___default().useState('NONE'),\n    _React$useState14 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_React$useState13, 2),\n    searchStatus = _React$useState14[0],\n    setSearchStatus = _React$useState14[1];\n  var isSearching = react__WEBPACK_IMPORTED_MODULE_10___default().useMemo(function () {\n    return typeof filterTreeNode === 'function' && !!filterValue;\n  }, [filterValue]);\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(function () {\n    if (isSearching) {\n      setSearchStatus('SEARCH_START');\n    } else {\n      setSearchStatus('NONE');\n    }\n  }, [filterValue]);\n  var _useExpand = (0,_treeHooks__WEBPACK_IMPORTED_MODULE_17__.useExpand)(flattenAllData, expandedKeysProps, defaultExpandedKeys, defaultExpandAll, defaultExpandRoot, defaultExpandParent, scrollKey, isInit, filterTreeNode, isSearching, keysData, searchStatus, filterValue, expandOnFilterNode),\n    _useExpand2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useExpand, 2),\n    expandedKeys = _useExpand2[0],\n    setExpandedKeys = _useExpand2[1];\n  var _React$useMemo2 = react__WEBPACK_IMPORTED_MODULE_10___default().useMemo(function () {\n      return (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_16__.getSpreadAttrData)(flattenAllData, expandedKeys);\n    }, [flattenAllData, expandedKeys]),\n    spreadAttrData = _React$useMemo2.spreadAttrData,\n    posData = _React$useMemo2.posData;\n  var _useChecked = (0,_treeHooks__WEBPACK_IMPORTED_MODULE_17__.useChecked)(checkStrictly, checkedKeysProps, defaultCheckedKeys, flattenAllData, maxLevel, checkable, keysData),\n    _useChecked2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useChecked, 4),\n    checkedKeys = _useChecked2[0],\n    halfCheckedKeys = _useChecked2[1],\n    setCheckedKeys = _useChecked2[2],\n    setHalfCheckedKeys = _useChecked2[3];\n  var filterData = react__WEBPACK_IMPORTED_MODULE_10___default().useMemo(function () {\n    return (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_16__.getFilterData)(spreadAttrData, filterTreeNode, isSearching, posData, keysData, expandOnFilterNode);\n  }, [spreadAttrData, isSearching, posData, keysData, filterValue, expandOnFilterNode]);\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(function () {\n    var _a;\n    if (typeof scrollKey === 'undefined') {\n      return;\n    }\n    var scrollIndex = 0;\n    for (var i = 0; i < filterData.length; i++) {\n      if (filterData[i].key === scrollKey) {\n        scrollIndex = i;\n        break;\n      }\n    }\n    if (virtual) {\n      requestAnimationFrame(function () {\n        var _a;\n        return (_a = virtualListRef.current) === null || _a === void 0 ? void 0 : _a.scrollTo({\n          index: scrollIndex\n        });\n      });\n    } else {\n      var wrapperDom = scrollRef.current;\n      var node = wrapperDom ? (_a = wrapperDom === null || wrapperDom === void 0 ? void 0 : wrapperDom.children[0]) === null || _a === void 0 ? void 0 : _a.children[scrollIndex] : null;\n      if (node && wrapperDom) {\n        var containerHeight = wrapperDom.clientHeight;\n        var targetHeight = node.clientHeight;\n        var scrollPosition = node.offsetTop + targetHeight - containerHeight;\n        wrapperDom.scrollTop = scrollPosition;\n      }\n    }\n  }, [filterData, scrollKey, virtual]);\n  var handleNodeLoad = (0,react__WEBPACK_IMPORTED_MODULE_10__.useCallback)(function (loadedKeys, loadingKeys, data) {\n    var key = data.key,\n      isLeaf = data.isLeaf;\n    if (!loadData || loadedKeys.has(key) || loadingKeys.has(key) || isLeaf) {\n      return;\n    }\n    setLoadingKeys(function (prevLoadingKeys) {\n      var _context;\n      return new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context = []).call(_context, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(prevLoadingKeys), [key]));\n    });\n    loadData(data).then(function () {\n      setLoadedKeys(function (prevState) {\n        var _context2;\n        return new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context2 = []).call(_context2, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(prevState), [key]));\n      });\n      setLoadingKeys(function (prevState) {\n        var prevLoadingKeys = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_12___default()(prevState);\n        prevLoadingKeys.delete(key);\n        return prevLoadingKeys;\n      });\n    }).catch(function (e) {\n      setLoadingKeys(function (prevState) {\n        var prevLoadingKeys = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_12___default()(prevState);\n        prevLoadingKeys.delete(key);\n        return prevLoadingKeys;\n      });\n      setExpandedKeys(function (preExpandedKeys) {\n        return (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_16__.delKey)((0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(preExpandedKeys), [key]);\n      });\n      throw e;\n    });\n  }, [loadData, setExpandedKeys]);\n  var handleExpand = react__WEBPACK_IMPORTED_MODULE_10___default().useCallback(function (key, expanded, node) {\n    var newExpandedKeys = expanded ? (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_16__.addKeys)(expandedKeys, [key]) : (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_16__.delKey)(expandedKeys, [key]);\n    if (expandedKeysProps === undefined) {\n      setExpandedKeys(newExpandedKeys);\n    }\n    onExpand && onExpand(newExpandedKeys, {\n      node: node,\n      expanded: expanded\n    });\n    setScrollKey(undefined);\n    setIsInit(false);\n    setSearchStatus('SEARCH_DONE');\n    if (expanded && loadData) {\n      handleNodeLoad(loadedKeys, loadingKeys, node);\n    }\n  }, [expandedKeys, onExpand, loadData, handleNodeLoad, loadedKeys, loadingKeys]);\n  var handleCheck = react__WEBPACK_IMPORTED_MODULE_10___default().useCallback(function (key, value, node, event, _pos) {\n    var newCheckedKeys = value ? (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_16__.addKeys)(checkedKeys, [key]) : (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_16__.delKey)(checkedKeys, [key]);\n    var checkState = checkStrictly ? (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_16__.getDataCheckededStateStrictly)(newCheckedKeys) : (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_16__.getAllCheckedKeys)(key, value, checkedKeys, keysData, halfCheckedKeys);\n    if (!('checkedKeys' in TreeProps)) {\n      setCheckedKeys(checkState.checkedKeys);\n      setHalfCheckedKeys(checkState.halfCheckedKeys);\n    }\n    onCheck && onCheck(checkState.checkedKeys, {\n      event: event,\n      node: node,\n      checked: value,\n      halfCheckedKeys: checkState.halfCheckedKeys\n    });\n  }, [checkedKeys, spreadAttrData, halfCheckedKeys, maxLevel, onCheck, checkStrictly, setCheckedKeys, setHalfCheckedKeys]);\n  var handleDragStart = react__WEBPACK_IMPORTED_MODULE_10___default().useCallback(function (event, node) {\n    onDragStart && onDragStart({\n      event: event,\n      node: node\n    });\n  }, [onDragStart]);\n  var handleDragOver = react__WEBPACK_IMPORTED_MODULE_10___default().useCallback(function (event, node, dropTarget) {\n    var dropPos = (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_16__.calcDropPosition)(event, dropTarget);\n    if (!delayedDragEnterRef.current) {\n      delayedDragEnterRef.current = {};\n    }\n    if (dropPos !== 0 && dropPos !== dropPosition) {\n      _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_7___default()(delayedDragEnterRef.current).forEach(function (key) {\n        clearTimeout(delayedDragEnterRef.current[key]);\n        delayedDragEnterRef.current[key] = null;\n      });\n    }\n    setDropPosition(dropPos);\n    var key = node.key,\n      pos = node.pos;\n    var dragNode = getDragNode();\n    if (dragNode.key === node.key) {\n      setDropPosition(null);\n    }\n    if ((dragNode === null || dragNode === void 0 ? void 0 : dragNode.key) !== key && dropPos === 0) {\n      if (dragNode.key === node.key || delayedDragEnterRef.current[pos]) {\n        return;\n      }\n      delayedDragEnterRef.current[pos] = setTimeout(function () {\n        var newExpandedKeys = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(expandedKeys);\n        if (!node.expand) {\n          newExpandedKeys = (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_16__.addKeys)(expandedKeys, [key]);\n        }\n        if (!('expandedKeys' in TreeProps)) {\n          setExpandedKeys(newExpandedKeys);\n        }\n        onExpand === null || onExpand === void 0 ? void 0 : onExpand(newExpandedKeys, {\n          node: node,\n          expanded: true\n        });\n      }, 800);\n    }\n    onDragOver && onDragOver({\n      event: event,\n      node: node\n    });\n  }, [TreeProps, dropPosition, expandedKeys, onDragOver, onExpand, setExpandedKeys]);\n  var handleDragLeave = react__WEBPACK_IMPORTED_MODULE_10___default().useCallback(function (event, node) {\n    onDragLeave && onDragLeave({\n      event: event,\n      node: node\n    });\n  }, [onDragLeave]);\n  var handleDragEnter = react__WEBPACK_IMPORTED_MODULE_10___default().useCallback(function (event, node, _dropTarget) {\n    var key = node.key;\n    var dragNode = getDragNode();\n    if (!dragNode) {\n      return;\n    }\n    if ((dragNode === null || dragNode === void 0 ? void 0 : dragNode.key) !== key) {\n      setDragOverNodeKey(key);\n    }\n    onDragEnter && onDragEnter({\n      event: event,\n      node: node\n    });\n  }, [onDragEnter]);\n  var handleDragEnd = react__WEBPACK_IMPORTED_MODULE_10___default().useCallback(function (event, node) {\n    setDragOverNodeKey(null);\n    onDragEnd && onDragEnd({\n      event: event,\n      node: node\n    });\n  }, [onDragEnd]);\n  var handleDrop = react__WEBPACK_IMPORTED_MODULE_10___default().useCallback(function (event, node, dragNode, dragNodesKeys) {\n    var _context3;\n    setDragOverNodeKey(null);\n    setDropPosition(null);\n    var pos = (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_16__.getPos)(flattenAllData, dragNodesKeys);\n    var keys = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context3 = (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_16__.getAllChildKeys)(flattenAllData, pos)).call(_context3, dragNodesKeys);\n    onDrop && onDrop({\n      event: event,\n      node: node,\n      dragNode: dragNode,\n      dragNodesKeys: keys,\n      dropPosition: dropPosition\n    });\n  }, [flattenAllData, onDrop, dropPosition]);\n  var handleSelect = react__WEBPACK_IMPORTED_MODULE_10___default().useCallback(function (event, node, key) {\n    var checked = (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_16__.getChecked)(checkedKeys, key);\n    onSelect && onSelect([key], {\n      node: node,\n      event: event,\n      checked: checked\n    });\n  }, [onSelect, setSelectedKeys, checkedKeys]);\n  var getSelectable = function getSelectable(selectable) {\n    if (lodash_isBoolean__WEBPACK_IMPORTED_MODULE_13___default()(selectable)) {\n      return selectable;\n    }\n    return true;\n  };\n  var getCheckable = function getCheckable(checkableProps, itemCheckable) {\n    return lodash_isBoolean__WEBPACK_IMPORTED_MODULE_13___default()(itemCheckable) ? itemCheckable : checkableProps;\n  };\n  var getDisabled = function getDisabled(disabledProps, itemDisabled) {\n    return lodash_isBoolean__WEBPACK_IMPORTED_MODULE_13___default()(itemDisabled) ? itemDisabled : disabledProps;\n  };\n  var getDragNode = function getDragNode() {\n    return dragNodeRef.current;\n  };\n  var setDragNode = function setDragNode(nodeData) {\n    dragNodeRef.current = nodeData;\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(function () {\n    if (scrollToKey) {\n      setSelectedKeys([scrollToKey]);\n      setScrollKey(scrollToKey);\n    }\n  }, [scrollToKey]);\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(function () {\n    setHalfCheckedKeys(halfCheckedKeys);\n  }, [halfCheckedKeys, setHalfCheckedKeys]);\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(function () {\n    setCheckedKeys(checkedKeys);\n  }, [checkedKeys, setCheckedKeys]);\n  var isSelectedNodeChildrenKey = function isSelectedNodeChildrenKey() {\n    var parentKeys = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n    var key = Array.isArray(selectedKeys) ? selectedKeys === null || selectedKeys === void 0 ? void 0 : selectedKeys[0] : selectedKeys;\n    return _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_8___default()(parentKeys).call(parentKeys, key);\n  };\n  var seletedKeyLevel = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(function () {\n    var _a;\n    var key = Array.isArray(selectedKeys) ? selectedKeys === null || selectedKeys === void 0 ? void 0 : selectedKeys[0] : selectedKeys;\n    return (_a = keysData === null || keysData === void 0 ? void 0 : keysData[key]) === null || _a === void 0 ? void 0 : _a.level;\n  }, [keysData, selectedKeys]);\n  var renderTreeNode = function renderTreeNode(item) {\n    var checked = (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_16__.getChecked)(checkedKeys, item.key);\n    var indeterminate = (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_16__.getHalfChecked)(halfCheckedKeys, item.key);\n    item.nodeKey = item.key;\n    item.onExpand = handleExpand;\n    item.onCheck = handleCheck;\n    item.onDragStart = handleDragStart;\n    item.onDragOver = handleDragOver;\n    item.onDragLeave = handleDragLeave;\n    item.onDragEnter = handleDragEnter;\n    item.onDragEnd = handleDragEnd;\n    item.onDrop = handleDrop;\n    item.onSelect = handleSelect;\n    item.checked = checked;\n    item.selected = checkable ? false : Array.isArray(selectedKeys) ? (selectedKeys === null || selectedKeys === void 0 ? void 0 : selectedKeys[0]) === item.key : selectedKeys === item.key;\n    item.indeterminate = indeterminate;\n    item.disabled = getDisabled(disabled, item.disabled);\n    item.showIcon = showIcon || false;\n    item.checkable = getCheckable(checkable, item.checkable); // 哪个优先\n    item.selectable = getSelectable(item.selectable);\n    item.icon = item.icon || icon;\n    item.switcherIcon = item.switcherIcon || switcherIcon;\n    item.estimatedItemSize = estimatedItemSize;\n    item.draggable = draggable;\n    item.className = setTreeNodeClassName((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, item));\n    item.style = setTreeNodeStyle((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, item));\n    item.getDragNode = getDragNode;\n    item.setDragNode = setDragNode;\n    item.dragOver = dragOverNodeKey === item.key && dropPosition === 0;\n    item.dropPosition = dropPosition;\n    item.expandOnClickNode = expandOnClickNode;\n    item.onlyExpandOnClickIcon = onlyExpandOnClickIcon;\n    item.loading = loadingKeys.has(item.key) && !loadedKeys.has(item.key);\n    item.loadData = loadData;\n    item.isActiveLine = showLine && isSelectedNodeChildrenKey(item.pathParentKeys);\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_treeNode__WEBPACK_IMPORTED_MODULE_18__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, item, {\n      key: item.key,\n      ref: treeNodeRef,\n      activeLevel: seletedKeyLevel\n    }));\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    className: treeNodeClassName,\n    style: style,\n    ref: scrollRef\n  }, others), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", {\n    className: treeRootClassName,\n    ref: listRef\n  }, !(filterData === null || filterData === void 0 ? void 0 : filterData.length) && notFoundContent, virtual ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_virtual_list__WEBPACK_IMPORTED_MODULE_19__[\"default\"], {\n    className: className,\n    style: style,\n    ref: virtualListRef,\n    data: filterData,\n    isStaticItemHeight: true,\n    itemKey: function itemKey(item) {\n      return item === null || item === void 0 ? void 0 : item.key;\n    },\n    height: height,\n    itemHeight: estimatedItemSize,\n    outerStyle: {\n      overflow: 'unset'\n    },\n    innerStyle: {\n      minWidth: '100%',\n      width: 'max-contnet'\n    }\n  }, renderTreeNode) : _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(filterData).call(filterData, renderTreeNode)));\n});\nvar Tree = InternalTree;\nTree.displayName = 'Tree';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Tree);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/tree/tree.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/tree/treeHooks.js":
/*!******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/tree/treeHooks.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   useChecked: function() { return /* binding */ useChecked; },\n/* harmony export */   useExpand: function() { return /* binding */ useExpand; },\n/* harmony export */   usePlantomHeightEffect: function() { return /* binding */ usePlantomHeightEffect; },\n/* harmony export */   useScrollToKey: function() { return /* binding */ useScrollToKey; },\n/* harmony export */   useSelect: function() { return /* binding */ useSelect; },\n/* harmony export */   useViewportHeight: function() { return /* binding */ useViewportHeight; },\n/* harmony export */   useVisibleDataMemo: function() { return /* binding */ useVisibleDataMemo; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _utils_treeUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils/treeUtils */ \"../../node_modules/@kdcloudjs/kdesign/es/tree/utils/treeUtils.js\");\n\n\n\n\n\nvar useViewportHeight = function useViewportHeight(height, listRef) {\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_3___default().useState(0),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_React$useState, 2),\n    viewportHeight = _React$useState2[0],\n    setViewportHeight = _React$useState2[1];\n  react__WEBPACK_IMPORTED_MODULE_3___default().useEffect(function () {\n    height ? setViewportHeight(height) : listRef.current && setViewportHeight(listRef.current.clientHeight);\n  }, [listRef, height]);\n  return [viewportHeight];\n};\nvar useVisibleDataMemo = function useVisibleDataMemo(virtual, filterData, viewportHeight, estimatedItemSize, start) {\n  var visibledCount = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {\n    return Math.ceil(viewportHeight / estimatedItemSize);\n  }, [viewportHeight, estimatedItemSize]);\n  var viewportData = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {\n    return _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1___default()(filterData).call(filterData, start, start + visibledCount);\n  }, [filterData, start, visibledCount]);\n  var visibleData = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {\n    return virtual ? viewportData : filterData;\n  }, [virtual, viewportData, filterData]);\n  return [visibleData];\n};\nvar usePlantomHeightEffect = function usePlantomHeightEffect(plantomRef, filterData, estimatedItemSize) {\n  react__WEBPACK_IMPORTED_MODULE_3___default().useEffect(function () {\n    var height = filterData.length * estimatedItemSize;\n    if (plantomRef.current) {\n      plantomRef.current.style.height = height + 'px';\n    }\n  }, [plantomRef, filterData, estimatedItemSize]);\n};\nvar useChecked = function useChecked(checkStrictly, checkedKeysProps, defaultCheckedKeys, _flattenAllData, _maxLevel, checkable, keysData) {\n  var initialCheckedState = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {\n    if (!checkable) return {\n      checkedKeys: [],\n      halfCheckedKeys: []\n    };\n    return checkStrictly ? (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_4__.getDataCheckededStateStrictly)(checkedKeysProps || defaultCheckedKeys) : (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_4__.getInitCheckededKeys)(checkedKeysProps || defaultCheckedKeys, keysData);\n  }, [checkable, checkStrictly, checkedKeysProps, defaultCheckedKeys, keysData]);\n  var _React$useState3 = react__WEBPACK_IMPORTED_MODULE_3___default().useState(initialCheckedState.checkedKeys),\n    _React$useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_React$useState3, 2),\n    checkedKeys = _React$useState4[0],\n    setCheckedKeys = _React$useState4[1];\n  var _React$useState5 = react__WEBPACK_IMPORTED_MODULE_3___default().useState(initialCheckedState.halfCheckedKeys),\n    _React$useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_React$useState5, 2),\n    halfCheckedKeys = _React$useState6[0],\n    setHalfCheckedKeys = _React$useState6[1];\n  var nextCheckedKeys = initialCheckedState.checkedKeys;\n  var nextHalfCheckedKeys = initialCheckedState.halfCheckedKeys;\n  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(function () {\n    setCheckedKeys(nextCheckedKeys);\n  }, [nextCheckedKeys]);\n  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(function () {\n    setHalfCheckedKeys(nextHalfCheckedKeys);\n  }, [nextHalfCheckedKeys]);\n  return [checkedKeys, halfCheckedKeys, setCheckedKeys, setHalfCheckedKeys];\n};\nvar useExpand = function useExpand(flattenAllData, expandedKeysProps, defaultExpandedKeys, defaultExpandAll, defaultExpandRoot, defaultExpandParent, scrollKey, isInit, filterTreeNode, isSearching, keysData, searchStatus, filterValue, expandOnFilterNode) {\n  var expandScrollkeys = [];\n  if (scrollKey) {\n    var pos = (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_4__.getPos)(flattenAllData, scrollKey);\n    expandScrollkeys = (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_4__.getAllParentKeys)(flattenAllData, pos);\n  }\n  var initialExpandedKeys = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {\n    return (0,_utils_treeUtils__WEBPACK_IMPORTED_MODULE_4__.getInitExpandedKeys)(flattenAllData, expandedKeysProps, defaultExpandedKeys, defaultExpandAll, defaultExpandRoot, defaultExpandParent, expandScrollkeys, filterTreeNode, isSearching, keysData, isInit, searchStatus, expandOnFilterNode);\n  }, [flattenAllData, expandedKeysProps, defaultExpandedKeys, defaultExpandAll, defaultExpandRoot, defaultExpandParent, scrollKey, filterTreeNode, isSearching, keysData, isInit, searchStatus, filterValue, expandOnFilterNode]);\n  var _React$useState7 = react__WEBPACK_IMPORTED_MODULE_3___default().useState(initialExpandedKeys),\n    _React$useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_React$useState7, 2),\n    expandedKeys = _React$useState8[0],\n    setExpandedKeys = _React$useState8[1];\n  react__WEBPACK_IMPORTED_MODULE_3___default().useEffect(function () {\n    setExpandedKeys(initialExpandedKeys);\n  }, [flattenAllData, expandedKeysProps, defaultExpandAll, defaultExpandedKeys, defaultExpandRoot, defaultExpandParent, scrollKey, searchStatus, filterValue]);\n  return [expandedKeys, setExpandedKeys];\n};\nvar useScrollToKey = function useScrollToKey(scrollKey, index, estimatedItemSize, scrollRef, viewportHeight, treeNodePrefixCls) {\n  var _React$useState9 = react__WEBPACK_IMPORTED_MODULE_3___default().useState(false),\n    _React$useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_React$useState9, 2),\n    scroll = _React$useState10[0],\n    setScroll = _React$useState10[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(function () {\n    setScroll(true);\n  }, [scrollKey]);\n  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(function () {\n    var _context;\n    if (!scroll) return;\n    var treeRoot = scrollRef.current;\n    var treeNode = treeRoot === null || treeRoot === void 0 ? void 0 : treeRoot.getElementsByClassName(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default()(_context = \"\".concat(treeNodePrefixCls, \"-item-\")).call(_context, scrollKey))[0];\n    if (!scrollKey) {\n      setScroll(false);\n      return;\n    }\n    if (treeRoot && treeNode) {\n      var treeRootRect = treeRoot.getBoundingClientRect();\n      var treeNodeRect = treeNode.getBoundingClientRect();\n      if (treeRootRect.top <= treeNodeRect.top && treeRootRect.bottom >= treeNodeRect.bottom) {\n        setScroll(false);\n        return;\n      }\n    }\n    var _index = index;\n    var visibleDataLength = Math.ceil(viewportHeight / estimatedItemSize);\n    var halfVisibleIndex = Math.floor(visibleDataLength / 2);\n    _index = _index - halfVisibleIndex;\n    scrollRef.current.scrollTop = _index * estimatedItemSize;\n    setScroll(false);\n  }, [scroll, index, viewportHeight, estimatedItemSize]);\n};\nvar useSelect = function useSelect(selectedKeysProps, defaultSelectedKeys) {\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(selectedKeysProps || defaultSelectedKeys),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    selectedKeys = _useState2[0],\n    setSelectedKeys = _useState2[1];\n  var mounting = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(true);\n  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(function () {\n    if (mounting.current) {\n      mounting.current = false;\n      return;\n    }\n    setSelectedKeys(selectedKeysProps);\n  }, [selectedKeysProps]);\n  return [selectedKeys, setSelectedKeys];\n};\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/tree/treeHooks.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/tree/treeNode.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/tree/treeNode.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _checkbox__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./../checkbox */ \"../../node_modules/@kdcloudjs/kdesign/es/checkbox/index.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _spin__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../spin */ \"../../node_modules/@kdcloudjs/kdesign/es/spin/index.js\");\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\nvar TreeNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().forwardRef(function (props) {\n  var _context;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_5__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var TreeNodeProps = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCompProps)('TreeNode', userDefaultProps, props); // 按钮属性需要合并一遍用户定义的默认属性\n  var nodeKey = TreeNodeProps.nodeKey,\n    customPrefixcls = TreeNodeProps.prefixCls,\n    selectable = TreeNodeProps.selectable,\n    checkable = TreeNodeProps.checkable,\n    className = TreeNodeProps.className,\n    icon = TreeNodeProps.icon,\n    switcherIcon = TreeNodeProps.switcherIcon,\n    disabled = TreeNodeProps.disabled,\n    draggable = TreeNodeProps.draggable,\n    pos = TreeNodeProps.pos,\n    checked = TreeNodeProps.checked,\n    level = TreeNodeProps.level,\n    getDragNode = TreeNodeProps.getDragNode,\n    hasChildNode = TreeNodeProps.hasChildNode,\n    expand = TreeNodeProps.expand,\n    title = TreeNodeProps.title,\n    isActiveLine = TreeNodeProps.isActiveLine,\n    activeLevel = TreeNodeProps.activeLevel,\n    showIcon = TreeNodeProps.showIcon,\n    selected = TreeNodeProps.selected,\n    setDragNode = TreeNodeProps.setDragNode,\n    style = TreeNodeProps.style,\n    indeterminate = TreeNodeProps.indeterminate,\n    estimatedItemSize = TreeNodeProps.estimatedItemSize,\n    dragOver = TreeNodeProps.dragOver,\n    dropPosition = TreeNodeProps.dropPosition,\n    expandOnClickNode = TreeNodeProps.expandOnClickNode,\n    onlyExpandOnClickIcon = TreeNodeProps.onlyExpandOnClickIcon,\n    loading = TreeNodeProps.loading,\n    onExpand = TreeNodeProps.onExpand,\n    onCheck = TreeNodeProps.onCheck,\n    onDragStart = TreeNodeProps.onDragStart,\n    onDragOver = TreeNodeProps.onDragOver,\n    onDragLeave = TreeNodeProps.onDragLeave,\n    onDragEnter = TreeNodeProps.onDragEnter,\n    onDragEnd = TreeNodeProps.onDragEnd,\n    onDrop = TreeNodeProps.onDrop,\n    onSelect = TreeNodeProps.onSelect,\n    others = __rest(TreeNodeProps, [\"nodeKey\", \"prefixCls\", \"selectable\", \"checkable\", \"className\", \"icon\", \"switcherIcon\", \"disabled\", \"draggable\", \"pos\", \"checked\", \"level\", \"getDragNode\", \"hasChildNode\", \"expand\", \"title\", \"isActiveLine\", \"activeLevel\", \"showIcon\", \"selected\", \"setDragNode\", \"style\", \"indeterminate\", \"estimatedItemSize\", \"dragOver\", \"dropPosition\", \"expandOnClickNode\", \"onlyExpandOnClickIcon\", \"loading\", \"onExpand\", \"onCheck\", \"onDragStart\", \"onDragOver\", \"onDragLeave\", \"onDragEnter\", \"onDragEnd\", \"onDrop\", \"onSelect\"]);\n  var nodeData = react__WEBPACK_IMPORTED_MODULE_5___default().useMemo(function () {\n    return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({\n      selectable: selectable,\n      checkable: checkable,\n      expand: expand,\n      key: nodeKey,\n      level: level,\n      title: title,\n      disabled: disabled,\n      draggable: draggable,\n      checked: checked,\n      pos: pos,\n      hasChildNode: hasChildNode,\n      indeterminate: indeterminate,\n      icon: icon,\n      switcherIcon: switcherIcon,\n      showIcon: showIcon,\n      selected: selected\n    }, others);\n  }, [selectable, checkable, expand, nodeKey, level, title, disabled, draggable, checked, pos, hasChildNode, indeterminate, icon, switcherIcon, showIcon, selected]);\n  var useExpand = function useExpand(value) {\n    var _React$useState = react__WEBPACK_IMPORTED_MODULE_5___default().useState(value),\n      _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState, 2),\n      expand = _React$useState2[0],\n      setExpand = _React$useState2[1];\n    var setExpandState = function setExpandState(value) {\n      return setExpand(value);\n    };\n    (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n      setExpand(value);\n    }, [value]);\n    return [expand, setExpandState];\n  };\n  var dragRef = react__WEBPACK_IMPORTED_MODULE_5___default().useRef(null);\n  var _useExpand = useExpand(expand),\n    _useExpand2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useExpand, 2),\n    expandState = _useExpand2[0],\n    setExpandState = _useExpand2[1];\n  var _React$useState3 = react__WEBPACK_IMPORTED_MODULE_5___default().useState(false),\n    _React$useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState3, 2),\n    showDragLine = _React$useState4[0],\n    setShowDragLine = _React$useState4[1];\n  var _React$useState5 = react__WEBPACK_IMPORTED_MODULE_5___default().useState(false),\n    _React$useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState5, 2),\n    forbiddenChildrenPointerEvents = _React$useState6[0],\n    setForbiddenChildrenPointerEvents = _React$useState6[1];\n  var treeNodePrefixCls = getPrefixCls(prefixCls, 'tree-node', customPrefixcls); // 按钮样式前缀\n  var renderIcon = function renderIcon(icon) {\n    if (typeof icon === 'function') {\n      var nodeProps = {\n        selectable: selectable,\n        checkable: checkable,\n        disabled: disabled,\n        title: title,\n        draggable: draggable,\n        checked: checked,\n        hasChildNode: hasChildNode,\n        expand: expand,\n        nodeKey: nodeKey,\n        icon: icon,\n        switcherIcon: switcherIcon,\n        showIcon: showIcon,\n        selected: selected,\n        indeterminate: indeterminate\n      };\n      return icon((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, nodeProps));\n    }\n    return icon;\n  };\n  var indent = function indent() {\n    var indentArr = [];\n    for (var i = 0; i < level; i++) {\n      var _classNames;\n      indentArr.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n        className: classnames__WEBPACK_IMPORTED_MODULE_6___default()((_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(treeNodePrefixCls, \"-indent\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"\".concat(treeNodePrefixCls, \"-indent-active\"), !!isActiveLine && i === activeLevel), _classNames)),\n        key: i,\n        style: {\n          height: \"\".concat(estimatedItemSize)\n        }\n      }));\n    }\n    return indentArr;\n  };\n  var isLeaf = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function () {\n    var isLeaf = TreeNodeProps.isLeaf,\n      loadData = TreeNodeProps.loadData,\n      hasChildNode = TreeNodeProps.hasChildNode;\n    if (isLeaf === false) {\n      return false;\n    }\n    return isLeaf || !loadData && !hasChildNode;\n  }, [TreeNodeProps]);\n  // line的两种模式， 图标被替换和图标不被替换\n  var renderExpandIcon = function renderExpandIcon() {\n    if (loading) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_spin__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n        type: \"component\"\n      });\n    }\n    var showExpandIcon = !isLeaf();\n    if (showExpandIcon) {\n      var _classNames3;\n      if (Array.isArray(switcherIcon) && switcherIcon.length === 2) {\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n          className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(treeNodePrefixCls, \"-icon\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(treeNodePrefixCls, \"-icon-hover\"), !expandOnClickNode)),\n          onClick: expandOnClickNode ? onlyExpandOnClickIcon ? handleExpandIconClick : undefined : handleExpandIconClick\n        }, expandState ? renderIcon(switcherIcon[1]) : renderIcon(switcherIcon[0]));\n      }\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n        className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(treeNodePrefixCls, \"-icon\"), (_classNames3 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames3, \"\".concat(treeNodePrefixCls, \"-animation-expand\"), expandState), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames3, \"\".concat(treeNodePrefixCls, \"-animation-collapse\"), !expandState), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames3, \"\".concat(treeNodePrefixCls, \"-icon-hover\"), !expandOnClickNode), _classNames3)),\n        onClick: expandOnClickNode ? onlyExpandOnClickIcon ? handleExpandIconClick : undefined : handleExpandIconClick\n      }, renderIcon(switcherIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n        type: \"arrow-right-solid\"\n      })));\n    } else {\n      // 叶子结点 隐藏展开按钮\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n        className: \"\".concat(treeNodePrefixCls, \"-icon-hidden\")\n      });\n    }\n  };\n  var renderNodeIcon = function renderNodeIcon() {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n      className: \"\".concat(treeNodePrefixCls, \"-leaf-icon\")\n    }, renderIcon(icon));\n  };\n  var renderNode = function renderNode() {\n    var _classNames4, _classNames5;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement((react__WEBPACK_IMPORTED_MODULE_5___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n      draggable: draggable && !disabled,\n      className: classnames__WEBPACK_IMPORTED_MODULE_6___default()((_classNames4 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames4, \"\".concat(treeNodePrefixCls, \"-draggabled\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames4, \"\".concat(treeNodePrefixCls, \"-root\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames4, \"\".concat(treeNodePrefixCls, \"-fb-children-pointerEvents\"), forbiddenChildrenPointerEvents), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames4, \"\".concat(treeNodePrefixCls, \"-drag-over\"), dragOver), _classNames4)),\n      onDragStart: handleDragStart,\n      onDragEnd: handleDragEnd,\n      onDragOver: handleDragOver,\n      onDragLeave: handleDragLeave,\n      onDragEnter: handleDragEnter,\n      onDrop: handleDrop,\n      ref: dragRef\n    }, indent(), renderExpandIcon(), showIcon && renderNodeIcon(), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_6___default()((_classNames5 = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames5, \"\".concat(treeNodePrefixCls, \"-title-wrap\"), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames5, \"\".concat(treeNodePrefixCls, \"-title-wrap-hover\"), !expandOnClickNode && !disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames5, \"\".concat(treeNodePrefixCls, \"-title-wrap-selected\"), selected && selectable && !disabled && !expandOnClickNode), _classNames5)),\n      onClick: expandOnClickNode ? undefined : handleClick\n    }, showDragLine && dropPosition === -1 && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(treeNodePrefixCls, \"-drag-line-top\"))\n    }), checkable ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_checkbox__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n      onChange: handleOnchange,\n      checked: checked,\n      indeterminate: !disabled && indeterminate,\n      disabled: disabled,\n      onClick: function onClick(e) {\n        return e.stopPropagation();\n      }\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(treeNodePrefixCls, \"-title\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(treeNodePrefixCls, \"-title-disabled\"), disabled))\n    }, title)) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(treeNodePrefixCls, \"-title\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(treeNodePrefixCls, \"-title-disabled\"), disabled))\n    }, title), showDragLine && dropPosition === 1 && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"span\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(treeNodePrefixCls, \"-drag-line-bottom\"))\n    }))));\n  };\n  var handleOnchange = react__WEBPACK_IMPORTED_MODULE_5___default().useCallback(function (e) {\n    var value = e.target.checked;\n    onCheck && onCheck(nodeKey, value, nodeData, e, pos);\n  }, [onCheck, nodeKey, nodeData, pos]);\n  var handleSelect = react__WEBPACK_IMPORTED_MODULE_5___default().useCallback(function (e) {\n    selectable && !disabled && onSelect && onSelect(e, nodeData, nodeKey);\n  }, [onSelect, selectable, disabled, nodeData, nodeKey]);\n  var handleExpandIconClick = (0,react__WEBPACK_IMPORTED_MODULE_5__.useCallback)(function (e) {\n    e === null || e === void 0 ? void 0 : e.stopPropagation();\n    setExpandState(!expandState);\n    onExpand && onExpand(nodeKey, !expandState, nodeData);\n  }, [expandState, nodeData, nodeKey, onExpand, setExpandState]);\n  var handleClick = react__WEBPACK_IMPORTED_MODULE_5___default().useCallback(function (e) {\n    e.stopPropagation();\n    if (expandOnClickNode) {\n      !onlyExpandOnClickIcon && handleExpandIconClick();\n    }\n    handleSelect(e);\n  }, [expandOnClickNode, handleExpandIconClick, handleSelect, onlyExpandOnClickIcon]);\n  var handleDragStart = react__WEBPACK_IMPORTED_MODULE_5___default().useCallback(function (e) {\n    if (!draggable) return;\n    e.target.classList.add(\"\".concat(treeNodePrefixCls, \"-dragging\"));\n    setDragNode(nodeData);\n    onDragStart && onDragStart(e, props);\n  }, [draggable, setDragNode, nodeData, onDragStart, props]);\n  var handleDragOver = react__WEBPACK_IMPORTED_MODULE_5___default().useCallback(function (e) {\n    if (!draggable) return;\n    e.preventDefault();\n    onDragOver && onDragOver(e, nodeData, dragRef.current);\n  }, [onDragOver, nodeData, draggable]);\n  var handleDragLeave = react__WEBPACK_IMPORTED_MODULE_5___default().useCallback(function (e) {\n    var _a;\n    if (!draggable) return;\n    if (!((_a = dragRef.current) === null || _a === void 0 ? void 0 : _a.isEqualNode(e.target))) return;\n    setForbiddenChildrenPointerEvents(false);\n    setShowDragLine(false);\n    onDragLeave && onDragLeave(e, nodeData);\n  }, [onDragLeave, nodeData, draggable]);\n  var handleDragEnter = react__WEBPACK_IMPORTED_MODULE_5___default().useCallback(function (e) {\n    var _a;\n    if (!draggable) return;\n    setForbiddenChildrenPointerEvents(true);\n    if (!((_a = dragRef.current) === null || _a === void 0 ? void 0 : _a.isEqualNode(e.target))) return;\n    setShowDragLine(true);\n    onDragEnter && onDragEnter(e, nodeData, dragRef.current);\n  }, [onDragEnter, nodeData, draggable]);\n  var handleDragEnd = react__WEBPACK_IMPORTED_MODULE_5___default().useCallback(function (e) {\n    if (!draggable) return;\n    onDragEnd && onDragEnd(e, nodeData);\n    setDragNode(undefined);\n  }, [onDragEnd, nodeData, draggable]);\n  var handleDrop = react__WEBPACK_IMPORTED_MODULE_5___default().useCallback(function (e) {\n    if (!draggable) return;\n    setShowDragLine(false);\n    setForbiddenChildrenPointerEvents(false);\n    var data = getDragNode();\n    var sourceKey = data === null || data === void 0 ? void 0 : data.key;\n    if (sourceKey) {\n      var targetKey = nodeKey;\n      if (targetKey !== sourceKey) {\n        onDrop && onDrop(e, nodeData, data, sourceKey);\n      }\n    }\n  }, [onDrop, nodeData, nodeKey]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(\"\".concat(treeNodePrefixCls, \"-item\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(treeNodePrefixCls, \"-item-hover\"), !disabled && selectable && expandOnClickNode), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(treeNodePrefixCls, \"-selected\"), selected && selectable && !disabled && expandOnClickNode), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(treeNodePrefixCls, \"-disabled\"), disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(treeNodePrefixCls, \"-opened\"), expandState), _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context = \"\".concat(treeNodePrefixCls, \"-item-\")).call(_context, nodeKey), className),\n    style: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({\n      height: \"\".concat(estimatedItemSize, \"px\")\n    }, style),\n    onClick: expandOnClickNode ? handleClick : undefined\n  }, renderNode());\n});\nTreeNode.displayName = 'TreeNode';\n/* harmony default export */ __webpack_exports__[\"default\"] = (TreeNode);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/tree/treeNode.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/tree/utils/treeUtils.js":
/*!************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/tree/utils/treeUtils.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   addKeys: function() { return /* binding */ addKeys; },\n/* harmony export */   calcDropPosition: function() { return /* binding */ calcDropPosition; },\n/* harmony export */   delKey: function() { return /* binding */ delKey; },\n/* harmony export */   findfilterChildrenKeys: function() { return /* binding */ findfilterChildrenKeys; },\n/* harmony export */   flattenAll: function() { return /* binding */ flattenAll; },\n/* harmony export */   getAllCheckedKeys: function() { return /* binding */ getAllCheckedKeys; },\n/* harmony export */   getAllChildKeys: function() { return /* binding */ getAllChildKeys; },\n/* harmony export */   getAllFilterKeys: function() { return /* binding */ getAllFilterKeys; },\n/* harmony export */   getAllNodeKeys: function() { return /* binding */ getAllNodeKeys; },\n/* harmony export */   getAllParentKeys: function() { return /* binding */ getAllParentKeys; },\n/* harmony export */   getAllParentPos: function() { return /* binding */ getAllParentPos; },\n/* harmony export */   getChecked: function() { return /* binding */ getChecked; },\n/* harmony export */   getChildNodeKeys: function() { return /* binding */ getChildNodeKeys; },\n/* harmony export */   getDataCheckededState: function() { return /* binding */ getDataCheckededState; },\n/* harmony export */   getDataCheckededStateStrictly: function() { return /* binding */ getDataCheckededStateStrictly; },\n/* harmony export */   getExpand: function() { return /* binding */ getExpand; },\n/* harmony export */   getExpandedKeys: function() { return /* binding */ getExpandedKeys; },\n/* harmony export */   getFilterData: function() { return /* binding */ getFilterData; },\n/* harmony export */   getHalfChecked: function() { return /* binding */ getHalfChecked; },\n/* harmony export */   getInitCheckedKeys: function() { return /* binding */ getInitCheckedKeys; },\n/* harmony export */   getInitCheckededKeys: function() { return /* binding */ getInitCheckededKeys; },\n/* harmony export */   getInitCheckededState: function() { return /* binding */ getInitCheckededState; },\n/* harmony export */   getInitExpandedKeys: function() { return /* binding */ getInitExpandedKeys; },\n/* harmony export */   getMaxLevel: function() { return /* binding */ getMaxLevel; },\n/* harmony export */   getPos: function() { return /* binding */ getPos; },\n/* harmony export */   getSelected: function() { return /* binding */ getSelected; },\n/* harmony export */   getSpreadAttrData: function() { return /* binding */ getSpreadAttrData; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/set.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/starts-with */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/starts-with.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/from */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/splice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_11__);\n\n\n\n\n\n\n\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\nvar DRAG_OFFSET = 0.3;\n/**\n * 打平所有数组，并添加pos位置信息，\n * 方便根据expandKeys等计算节点的expand，checkedKeys计算节点checked状态\n * @param treeData [{key:'',title:'',children:[]}]\n * @param newTreeData[{key:'',title:'',children:[], pos:'', hasChildNode, level}]\n * @param level\n * @param pos\n */\nvar flattenAll = function flattenAll(treeData) {\n  var newTreeData = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n  var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n  var pos = arguments.length > 3 ? arguments[3] : undefined;\n  var maxLevel = 0;\n  var keysData = {};\n  var fn = function fn(treeData) {\n    var newTreeData = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n    var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n    var pos = arguments.length > 3 ? arguments[3] : undefined;\n    var parent = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;\n    treeData && treeData.forEach(function (item, index) {\n      var _context, _context2;\n      var _a;\n      var children = item.children,\n        title = item.title,\n        key = item.key,\n        others = __rest(item, [\"children\", \"title\", \"key\"]);\n      var _pos = pos ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(pos, \"-\")).call(_context, index) : \"\".concat(index);\n      var hasChildNode = item.isLeaf ? false : children && children instanceof Array && children.length > 0;\n      var flattenNode = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n        title: title,\n        key: key,\n        pos: _pos,\n        hasChildNode: hasChildNode,\n        children: children,\n        level: level,\n        parentKey: ((_a = parent === null || parent === void 0 ? void 0 : parent.key) !== null && _a !== void 0 ? _a : '') !== '' ? parent === null || parent === void 0 ? void 0 : parent.key : null,\n        pathParentKeys: parent ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context2 = []).call(_context2, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((parent === null || parent === void 0 ? void 0 : parent.pathParentKeys) || []), [parent === null || parent === void 0 ? void 0 : parent.key]) : []\n      }, others);\n      keysData[key] = flattenNode;\n      newTreeData.push(flattenNode);\n      var _level = level;\n      if (maxLevel < level) {\n        maxLevel = level;\n      }\n      _level++;\n      hasChildNode && fn(children, newTreeData, _level, _pos, flattenNode);\n    });\n    return newTreeData;\n  };\n  var flattenAllData = fn(treeData, newTreeData, level, pos);\n  return {\n    flattenAllData: flattenAllData,\n    maxLevel: maxLevel,\n    keysData: keysData\n  };\n};\nvar getExpand = function getExpand(expandedKeys, key) {\n  return expandedKeys === null || expandedKeys === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4___default()(expandedKeys).call(expandedKeys, key);\n};\nvar getChecked = function getChecked(checkedKeys, key) {\n  return checkedKeys === null || checkedKeys === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4___default()(checkedKeys).call(checkedKeys, key);\n};\nvar getSelected = function getSelected(selectedKeys, key) {\n  return selectedKeys === null || selectedKeys === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4___default()(selectedKeys).call(selectedKeys, key);\n};\nvar getHalfChecked = function getHalfChecked(halfCheckedKeys, key) {\n  return halfCheckedKeys === null || halfCheckedKeys === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4___default()(halfCheckedKeys).call(halfCheckedKeys, key);\n};\n/**\n * 获取所有层级的父节点\n * @param data\n * @param pos\n */\nvar isAllParentExpand = function isAllParentExpand(_data, pos, posData) {\n  var _a;\n  var expand = true;\n  while (pos.lastIndexOf('-') > -1 && expand) {\n    pos = pos.substring(0, pos.lastIndexOf('-'));\n    if (posData[pos]) {\n      expand = (_a = posData[pos]) === null || _a === void 0 ? void 0 : _a.expand;\n    }\n  }\n  return expand;\n};\nfunction findfilterChildrenKeys(node, allFilterKeys) {\n  var nodes = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())();\n  var loop = function loop(children) {\n    _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(children).call(children, function (child) {\n      var key = child.key;\n      var item = child;\n      allFilterKeys.add(key);\n      loop(item.children || []);\n    });\n  };\n  if (node) {\n    loop(node.children || []);\n  }\n  return nodes;\n}\nvar getAllFilterKeys = function getAllFilterKeys(data, filterTreeNode, keysData, expandOnFilterNode) {\n  var allFilterKeys = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())();\n  var filterExpandKeys = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())();\n  var filterKeys = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default()(data).call(data, function (item) {\n    return filterTreeNode === null || filterTreeNode === void 0 ? void 0 : filterTreeNode(item);\n  });\n  filterKeys.forEach(function (item) {\n    findfilterChildrenKeys(item, allFilterKeys);\n  });\n  filterKeys.forEach(function (item) {\n    var firstIteration = true;\n    var node = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, item);\n    while (node) {\n      allFilterKeys.add(node.key);\n      // expandOnFilterNode为true时，不将filterKeys中的节点添加到filterExpandKeys中\n      if (!expandOnFilterNode || !firstIteration) {\n        filterExpandKeys.add(node.key);\n      }\n      firstIteration = false;\n      node = (keysData === null || keysData === void 0 ? void 0 : keysData[node === null || node === void 0 ? void 0 : node.parentKey]) || null;\n    }\n  });\n  return {\n    allFilterKeys: (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(allFilterKeys),\n    filterExpandKeys: (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(filterExpandKeys)\n  };\n};\nvar getFilterData = function getFilterData(data, filterTreeNode, isSearching) {\n  var posData = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n  var keysData = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};\n  var expandOnFilterNode = arguments.length > 5 ? arguments[5] : undefined;\n  var filterData = data;\n  var allFilterKeys = null;\n  if (isSearching) {\n    allFilterKeys = getAllFilterKeys(filterData, filterTreeNode, keysData, expandOnFilterNode).allFilterKeys;\n    filterData = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default()(filterData).call(filterData, function (item) {\n      return _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4___default()(allFilterKeys).call(allFilterKeys, item.key);\n    });\n  }\n  var newData = [];\n  filterData.forEach(function (item) {\n    var pos = item.pos;\n    var parentExpand = isAllParentExpand(filterData, pos, posData);\n    if (parentExpand) {\n      newData.push(item);\n    }\n  });\n  return newData;\n};\nvar hasParentChecked = function hasParentChecked(_data, checkedKeys) {\n  var pos = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';\n  var posData = arguments.length > 3 ? arguments[3] : undefined;\n  var _a;\n  var checked = false;\n  while (pos.lastIndexOf('-') > -1 && !checked) {\n    pos = pos.substring(0, pos.lastIndexOf('-'));\n    if (posData[pos]) {\n      checked = getChecked(checkedKeys, (_a = posData[pos]) === null || _a === void 0 ? void 0 : _a.key);\n    }\n  }\n  return checked;\n};\nvar isChild = function isChild(itemPos, pos, condition) {\n  var index = itemPos.indexOf(pos);\n  var str = itemPos.substr(index + pos.length, 1);\n  if (_babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_8___default()(itemPos).call(itemPos, pos) && str === '-' && condition) {\n    return true;\n  }\n  return false;\n};\nvar hasChildCheckState = function hasChildCheckState(data, halfCheckedKeys, checkedKeys, pos, level) {\n  var isInit = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : false;\n  var childNodes = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default()(data).call(data, function (item) {\n    if (isInit) {\n      return isChild(item.pos, pos, pos !== item.pos);\n    }\n    return isChild(item.pos, pos, level === item.level - 1);\n  });\n  var childNodesCheckedState = [];\n  var childNodesHalfCheckedState = [];\n  childNodes.forEach(function (item) {\n    childNodesCheckedState.push(getChecked(checkedKeys, item.key));\n    childNodesHalfCheckedState.push(getChecked(halfCheckedKeys, item.key));\n  });\n  var checked = childNodesCheckedState.some(function (item) {\n    return item === true;\n  });\n  var halfChecked = childNodesHalfCheckedState.some(function (item) {\n    return item === true;\n  });\n  return {\n    checked: checked,\n    halfChecked: halfChecked\n  };\n};\nvar allChildChecked = function allChildChecked(data, checkedKeys, pos, level, init) {\n  var childNodes = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default()(data).call(data, function (item) {\n    if (init) {\n      return isChild(item.pos, pos, pos !== item.pos);\n    }\n    return isChild(item.pos, pos, level === item.level - 1);\n  });\n  var childNodesCheckedState = [];\n  childNodes.forEach(function (item) {\n    childNodesCheckedState.push(getChecked(checkedKeys, item.key));\n  });\n  var checked = childNodesCheckedState.every(function (item) {\n    return item === true;\n  });\n  return checked;\n};\nvar getMaxLevel = function getMaxLevel(data) {\n  var maxLevel = 0;\n  data.forEach(function (item) {\n    maxLevel = item.level > maxLevel ? item.level : maxLevel;\n  });\n  return maxLevel;\n};\n/**\n *计算node的属性后返回新的 treedata\n * @param treeData  打平后的treeData [{key:'',title:'',children:[], pos:''}]\n * @param defaultExpandRoot\n * @param expandedKeys\n * @param defaultExpandAll\n */\nvar getSpreadAttrData = function getSpreadAttrData(treeData, expandedKeys) {\n  var spreadAttrData = [];\n  var posData = {};\n  treeData.forEach(function (item) {\n    var title = item.title,\n      key = item.key,\n      icon = item.icon,\n      disabled = item.disabled,\n      checkable = item.checkable,\n      pos = item.pos,\n      level = item.level,\n      hasChildNode = item.hasChildNode,\n      selectable = item.selectable,\n      others = __rest(item, [\"title\", \"key\", \"icon\", \"disabled\", \"checkable\", \"pos\", \"level\", \"hasChildNode\", \"selectable\"]);\n    var itemExpand = getExpand(expandedKeys, key);\n    var expand = itemExpand || false;\n    var dataItem = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n      title: title,\n      key: key,\n      level: level,\n      pos: pos,\n      hasChildNode: hasChildNode,\n      expand: expand,\n      icon: icon,\n      disabled: disabled,\n      checkable: checkable,\n      selectable: selectable\n    }, others);\n    posData[pos] = dataItem;\n    spreadAttrData.push(dataItem);\n  });\n  return {\n    spreadAttrData: spreadAttrData,\n    posData: posData\n  };\n};\nvar addKeys = function addKeys() {\n  var _context3;\n  var prevKeys = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n  var newKeys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n  return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_9___default()(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context3 = []).call(_context3, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(prevKeys), (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(newKeys))));\n};\nvar getAllParentKeys = function getAllParentKeys(data) {\n  var pos = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n  var keys = [];\n  while (pos.lastIndexOf('-') > -1) {\n    pos = pos.substring(0, pos.lastIndexOf('-'));\n    data.forEach(function (item) {\n      if (item.pos === pos) {\n        keys.push(item.key);\n      }\n    });\n  }\n  return keys;\n};\nvar getAllParentPos = function getAllParentPos(data) {\n  var pos = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n  var posArr = [];\n  while (pos.lastIndexOf('-') > -1) {\n    pos = pos.substring(0, pos.lastIndexOf('-'));\n    data.forEach(function (item) {\n      if (item.pos === pos) {\n        posArr.push(item.pos);\n      }\n    });\n  }\n  return posArr;\n};\nvar getAllChildKeys = function getAllChildKeys(data) {\n  var pos = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n  var keys = [];\n  var childNodes = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default()(data).call(data, function (item) {\n    return isChild(item.pos, pos, pos !== item.pos);\n  });\n  childNodes.forEach(function (item) {\n    keys.push(item.key);\n  });\n  return keys;\n};\nvar getPos = function getPos(data, key) {\n  var node = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_10___default()(data).call(data, function (item) {\n    return item.key === key;\n  });\n  return node === null || node === void 0 ? void 0 : node.pos;\n};\nvar getInitCheckedKeys = function getInitCheckedKeys(data, keys) {\n  var _context4;\n  var checkedKeys = [];\n  keys.forEach(function (item) {\n    var pos = getPos(data, item);\n    checkedKeys.push.apply(checkedKeys, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(getAllChildKeys(data, pos)));\n  });\n  return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_9___default()(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context4 = []).call(_context4, checkedKeys, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(keys))));\n};\nvar getInitCheckededState = function getInitCheckededState(data) {\n  var checkedKeys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n  var maxLevel = arguments.length > 2 ? arguments[2] : undefined;\n  var init = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n  var posData = arguments.length > 4 ? arguments[4] : undefined;\n  var _keysData = arguments.length > 5 ? arguments[5] : undefined;\n  var _checkedKeys = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(checkedKeys);\n  var _halfCheckedKeys = [];\n  var _loop = function _loop(i) {\n    data.forEach(function (item) {\n      if (item.level === i) {\n        var selfChecked = getChecked(_checkedKeys, item.key);\n        var _hasChildCheckState = item.hasChildNode && hasChildCheckState(data, _halfCheckedKeys, _checkedKeys, item.pos, item.level, init);\n        var _allChildChecked = item.hasChildNode && allChildChecked(data, _checkedKeys, item.pos, item.level, init);\n        var _hasChildChecked = _hasChildCheckState === null || _hasChildCheckState === void 0 ? void 0 : _hasChildCheckState.checked;\n        var _hasHalfChildChecked = _hasChildCheckState === null || _hasChildCheckState === void 0 ? void 0 : _hasChildCheckState.halfChecked;\n        var _hasParentChecked = hasParentChecked(data, checkedKeys, item.pos, posData);\n        var checked = selfChecked || _hasParentChecked || _allChildChecked;\n        if (checked) {\n          _checkedKeys.push(item.key);\n        }\n        var halfChecked = (_hasChildChecked || _hasHalfChildChecked) && !checked;\n        if (halfChecked) {\n          _halfCheckedKeys.push(item.key);\n        }\n      }\n    });\n  };\n  for (var i = maxLevel; i >= 0; i--) {\n    _loop(i);\n  }\n  return {\n    checkedKeys: _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_9___default()(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())(_checkedKeys)),\n    halfCheckedKeys: _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_9___default()(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())(_halfCheckedKeys))\n  };\n};\nfunction getChildNodeKeys(node, keysNodeProps) {\n  var nodes = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())();\n  var loop = function loop(children) {\n    _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(children).call(children, function (child) {\n      var key = child.key;\n      var item = keysNodeProps[key];\n      if (!item || item.disabled || item.checkable === false) {\n        return;\n      }\n      nodes.add(key);\n      loop(item.children || []);\n    });\n  };\n  if (node) {\n    loop(node.children || []);\n  }\n  return nodes;\n}\nvar updateParent = function updateParent(key, keysNodeProps, allKeys, halfCheckedKeysSet) {\n  var pathParentKeys = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(keysNodeProps[key].pathParentKeys);\n  // 逐级更新父节点的状态\n  pathParentKeys.reverse().forEach(function (itemKey) {\n    var parent = keysNodeProps[itemKey];\n    if (parent && parent.checkable !== false) {\n      var total = 0;\n      var number = 0;\n      parent.children.some(function (_ref) {\n        var key = _ref.key;\n        var item = keysNodeProps[key];\n        // 不符合可选条件\n        if (!item || item.checkable === false) {\n          return false;\n        }\n        total++;\n        if (allKeys.has(key)) {\n          number++;\n        } else if (halfCheckedKeysSet.has(key)) {\n          // 只要有一个半选，就不用再算了 ，父节点是半选\n          number += 0.5;\n          return true;\n        }\n      });\n      if (!number || number === total) {\n        halfCheckedKeysSet.delete(itemKey);\n      } else {\n        halfCheckedKeysSet.add(itemKey);\n      }\n      if (number && number === total) {\n        allKeys.add(itemKey);\n      } else {\n        allKeys.delete(itemKey);\n      }\n    }\n  });\n};\nvar getInitCheckededKeys = function getInitCheckededKeys() {\n  var _context5;\n  var checkedKeys = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n  var keysNodeProps = arguments.length > 1 ? arguments[1] : undefined;\n  var checkedKeysSet = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())(checkedKeys || []);\n  var halfCheckedKeysSet = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())();\n  var childCheckedKeysSet = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())();\n  checkedKeys.forEach(function (key) {\n    if (!childCheckedKeysSet.has(key)) {\n      var childKeys = getChildNodeKeys(keysNodeProps[key], keysNodeProps);\n      childKeys.forEach(function (v) {\n        childCheckedKeysSet.add(v);\n      });\n    }\n    if (keysNodeProps[key] && !keysNodeProps[key].pathParentKeys.some(function (_key) {\n      return checkedKeysSet.has(_key);\n    })) {\n      updateParent(key, keysNodeProps, checkedKeysSet, halfCheckedKeysSet);\n    }\n  });\n  return {\n    checkedKeys: (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context5 = []).call(_context5, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(checkedKeysSet), (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(childCheckedKeysSet)))),\n    halfCheckedKeys: (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(halfCheckedKeysSet)\n  };\n};\nfunction getAllCheckedKeys(key, checked, checkedKeys, keysNodeProps, halfCheckedKeys) {\n  if (!keysNodeProps[key]) {\n    return {\n      checkedKeys: checkedKeys,\n      halfCheckedKeys: halfCheckedKeys\n    };\n  }\n  var checkedKeysSet = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())(checkedKeys);\n  var halfCheckedKeysSet = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())(halfCheckedKeys);\n  var childKeys = getChildNodeKeys(keysNodeProps[key], keysNodeProps);\n  var allKeys = checkedKeysSet;\n  if (checked) {\n    // 选中节点，找到所有符合条件的子节点的key\n    allKeys.add(key);\n    halfCheckedKeysSet.delete(key);\n    childKeys.forEach(function (v) {\n      allKeys.add(v);\n      halfCheckedKeysSet.delete(v);\n    });\n  } else {\n    halfCheckedKeysSet.delete(key);\n    // 移除所有符合条件的子节点的key\n    allKeys.delete(key);\n    childKeys.forEach(function (v) {\n      allKeys.delete(v);\n    });\n  }\n  updateParent(key, keysNodeProps, checkedKeysSet, halfCheckedKeysSet);\n  return {\n    checkedKeys: (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(allKeys),\n    halfCheckedKeys: (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(halfCheckedKeysSet)\n  };\n}\nvar getDataCheckededState = function getDataCheckededState(data, checkedKeys, halfCheckedKeys, maxLevel) {\n  var init = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n  var pos = arguments.length > 5 ? arguments[5] : undefined;\n  var value = arguments.length > 6 ? arguments[6] : undefined;\n  var _checkedKeys = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(checkedKeys);\n  var _halfCheckedKeys = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(halfCheckedKeys);\n  var _loop2 = function _loop2(i) {\n    data.forEach(function (item) {\n      var selfChecked = getChecked(_checkedKeys, item.key);\n      var selfHalfChecked = getChecked(_halfCheckedKeys, item.key);\n      var _allChildChecked = item.hasChildNode && allChildChecked(data, _checkedKeys, item.pos, item.level, false);\n      var _hasChildCheckState = item.hasChildNode && hasChildCheckState(data, _halfCheckedKeys, _checkedKeys, item.pos, item.level, init);\n      var _hasChildChecked = _hasChildCheckState === null || _hasChildCheckState === void 0 ? void 0 : _hasChildCheckState.checked;\n      var _hasHalfChildChecked = _hasChildCheckState === null || _hasChildCheckState === void 0 ? void 0 : _hasChildCheckState.halfChecked;\n      if (item.level === i) {\n        if (item.disabled) return; // 节点被禁用\n        if (value) {\n          if (!selfChecked) {\n            if (isParentNode(item.pos, pos)) {\n              _checkedKeys.push(item.key);\n              _halfCheckedKeys = delKey(_halfCheckedKeys, [item.key]);\n            } else if (isChildNode(item.pos, pos)) {\n              if (_allChildChecked) {\n                _checkedKeys.push(item.key);\n              } else if (_hasChildChecked || _hasHalfChildChecked) {\n                _halfCheckedKeys.push(item.key);\n              }\n            }\n          }\n        } else {\n          if (selfChecked) {\n            if (isParentNode(item.pos, pos)) {\n              _checkedKeys = delKey(_checkedKeys, [item.key]);\n            } else if (isChildNode(item.pos, pos)) {\n              if (!_allChildChecked && (_hasChildChecked || _hasHalfChildChecked)) {\n                _halfCheckedKeys.push(item.key);\n              }\n              _checkedKeys = delKey(_checkedKeys, [item.key]);\n            }\n          } else if (selfHalfChecked) {\n            if (!_hasChildChecked && !_hasHalfChildChecked) {\n              _halfCheckedKeys = delKey(_halfCheckedKeys, [item.key]);\n            }\n          }\n        }\n      }\n    });\n  };\n  for (var i = maxLevel; i >= 0; i--) {\n    _loop2(i);\n  }\n  return {\n    checkedKeys: _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_9___default()(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())(_checkedKeys)),\n    halfCheckedKeys: _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_9___default()(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())(_halfCheckedKeys))\n  };\n};\nvar getDataCheckededStateStrictly = function getDataCheckededStateStrictly(checkedKeys) {\n  var _checkedKeys = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(checkedKeys);\n  return {\n    checkedKeys: _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_9___default()(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())(_checkedKeys)),\n    halfCheckedKeys: []\n  };\n};\nvar isChildNode = function isChildNode(pos, childPos) {\n  return isChild(childPos, pos, pos !== childPos);\n};\nvar isParentNode = function isParentNode(pos, childPos) {\n  return isChildNode(childPos, pos);\n};\nvar delKey = function delKey(prevKeys, delKeys) {\n  var keys = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])([], prevKeys);\n  delKeys.forEach(function (item) {\n    var index = keys.indexOf(item);\n    index > -1 && _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_11___default()(keys).call(keys, index, 1);\n  });\n  return keys;\n};\nvar getAllNodeKeys = function getAllNodeKeys(data) {\n  var keys = [];\n  data.forEach(function (item) {\n    keys.push(item.key);\n  });\n  return keys;\n};\nvar getRootKeys = function getRootKeys(data) {\n  var rootKey = '';\n  var NO_ROOT = undefined;\n  var firstLevelNodes = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default()(data).call(data, function (item) {\n    var _a;\n    return ((_a = item.pos) === null || _a === void 0 ? void 0 : _a.indexOf('-')) === -1;\n  });\n  if (firstLevelNodes.length > 1) return NO_ROOT;\n  data.forEach(function (item) {\n    if (item.pos === '0') {\n      rootKey = item.key;\n    }\n  });\n  return rootKey;\n};\nvar getInitExpandedKeys = function getInitExpandedKeys(data, expandedKeys, defaultExpandedKeys, defaultExpandAll, defaultExpandRoot, defaultExpandParent) {\n  var expandScrollkeys = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : [];\n  var filterTreeNode = arguments.length > 7 ? arguments[7] : undefined;\n  var isSearching = arguments.length > 8 ? arguments[8] : undefined;\n  var keysData = arguments.length > 9 ? arguments[9] : undefined;\n  var isInit = arguments.length > 10 ? arguments[10] : undefined;\n  var searchStatus = arguments.length > 11 ? arguments[11] : undefined;\n  var expandOnFilterNode = arguments.length > 12 ? arguments[12] : undefined;\n  var keys = (expandedKeys === null || expandedKeys === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(expandedKeys).call(expandedKeys, expandScrollkeys)) || (defaultExpandedKeys === null || defaultExpandedKeys === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(defaultExpandedKeys).call(defaultExpandedKeys, expandScrollkeys)) || [];\n  if (isInit) {\n    if (defaultExpandAll) {\n      keys = getAllNodeKeys(data);\n    } else {\n      if (defaultExpandRoot) {\n        var rootKey = getRootKeys(data);\n        if (rootKey) {\n          keys = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(keys).call(keys, rootKey);\n        }\n      }\n      if (defaultExpandParent) {\n        var parentKeys = [];\n        keys.forEach(function (key) {\n          parentKeys.push.apply(parentKeys, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(getAllParentKeys(data, key)));\n        });\n        keys = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(keys).call(keys, parentKeys);\n      }\n    }\n  }\n  if (isSearching && searchStatus === 'SEARCH_START') {\n    keys = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(getAllFilterKeys(data, filterTreeNode, keysData, expandOnFilterNode).filterExpandKeys);\n  }\n  return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_9___default()(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())((0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(keys)));\n};\nvar getExpandedKeys = function getExpandedKeys(expandedKeys) {\n  var expandScrollkeys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n  var keys = (expandedKeys === null || expandedKeys === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(expandedKeys).call(expandedKeys, expandScrollkeys)) || [];\n  return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_9___default()(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_5___default())((0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(keys)));\n};\nvar calcDropPosition = function calcDropPosition(event, dropNode) {\n  var clientY = event.clientY;\n  var _dropNode$getBounding = dropNode.getBoundingClientRect(),\n    top = _dropNode$getBounding.top,\n    bottom = _dropNode$getBounding.bottom,\n    height = _dropNode$getBounding.height;\n  if (clientY <= top + height * DRAG_OFFSET) {\n    return -1;\n  }\n  if (clientY >= bottom - height * DRAG_OFFSET) {\n    return 1;\n  }\n  return 0;\n};\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/tree/utils/treeUtils.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/typography/base.js":
/*!*******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/typography/base.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   BaseTypes: function() { return /* binding */ BaseTypes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./typography */ \"../../node_modules/@kdcloudjs/kdesign/es/typography/typography.js\");\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var _utils_omit__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils/omit */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/omit.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n\n\n\n\nvar BaseTypes = (0,_utils_type__WEBPACK_IMPORTED_MODULE_6__.tuple)('second', 'success', 'warning', 'danger', 'assist');\nfunction wrapperDecorations(_ref, content) {\n  var mark = _ref.mark,\n    code = _ref.code,\n    underline = _ref.underline,\n    del = _ref.delete,\n    strong = _ref.strong,\n    keyboard = _ref.keyboard,\n    italic = _ref.italic;\n  var currentContent = content;\n  function wrap(needed, tag) {\n    if (!needed) return;\n    currentContent = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(tag, {}, currentContent);\n  }\n  wrap(strong, 'strong');\n  wrap(underline, 'u');\n  wrap(del, 'del');\n  wrap(code, 'code');\n  wrap(mark, 'mark');\n  wrap(keyboard, 'kbd');\n  wrap(italic, 'i');\n  return currentContent;\n}\nvar InternalBase = function InternalBase(props, ref) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var contentRef = ref || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createRef();\n  var typographyProps = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.getCompProps)('Typography', userDefaultProps, props);\n  var customPrefixcls = typographyProps.prefixCls;\n  var typographyPrefixCls = getPrefixCls(prefixCls, 'typography', customPrefixcls); // 排版样式前缀\n  var renderContent = function renderContent() {\n    var _context, _classNames;\n    var component = props.component,\n      children = props.children,\n      className = props.className,\n      type = props.type,\n      disabled = props.disabled,\n      style = props.style,\n      restProps = __rest(props, [\"component\", \"children\", \"className\", \"type\", \"disabled\", \"style\"]);\n    if (type) {\n      (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(BaseTypes.indexOf(type) === -1, 'typography', \"cannot found type '\".concat(type, \"'\"));\n    }\n    var textProps = (0,_utils_omit__WEBPACK_IMPORTED_MODULE_10__.omit)(restProps, ['prefixCls', 'strong', 'underline', 'delete', 'code', 'mark', 'keyboard', 'italic']);\n    var typographyClasses = classnames__WEBPACK_IMPORTED_MODULE_5___default()(className, (_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(typographyPrefixCls, \"-\")).call(_context, type), type), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_classNames, \"\".concat(typographyPrefixCls, \"-disabled\"), disabled), _classNames));\n    var textNode = children;\n    textNode = wrapperDecorations(props, textNode);\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_11__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n      component: component,\n      style: style,\n      className: typographyClasses,\n      ref: contentRef\n    }, textProps), textNode);\n  };\n  return renderContent();\n};\nvar Base = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().forwardRef(InternalBase);\n/* harmony default export */ __webpack_exports__[\"default\"] = (Base);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/typography/base.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/typography/index.js":
/*!********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/typography/index.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typography */ \"../../node_modules/@kdcloudjs/kdesign/es/typography/typography.js\");\n/* harmony import */ var _title__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./title */ \"../../node_modules/@kdcloudjs/kdesign/es/typography/title.js\");\n/* harmony import */ var _text__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./text */ \"../../node_modules/@kdcloudjs/kdesign/es/typography/text.js\");\n/* harmony import */ var _paragraph__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./paragraph */ \"../../node_modules/@kdcloudjs/kdesign/es/typography/paragraph.js\");\n\n\n\n\nvar Typography = _typography__WEBPACK_IMPORTED_MODULE_0__[\"default\"];\nTypography.Title = _title__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\nTypography.Text = _text__WEBPACK_IMPORTED_MODULE_2__[\"default\"];\nTypography.Paragraph = _paragraph__WEBPACK_IMPORTED_MODULE_3__[\"default\"];\n// export { Title }'\n/* harmony default export */ __webpack_exports__[\"default\"] = (Typography);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/typography/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/typography/paragraph.js":
/*!************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/typography/paragraph.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./base */ \"../../node_modules/@kdcloudjs/kdesign/es/typography/base.js\");\n\n\n\nvar Paragraph = function Paragraph(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_base__WEBPACK_IMPORTED_MODULE_2__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, props, {\n    component: \"div\"\n  }));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Paragraph);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/typography/paragraph.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/typography/text.js":
/*!*******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/typography/text.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./base */ \"../../node_modules/@kdcloudjs/kdesign/es/typography/base.js\");\n\n\n\nvar Text = function Text(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_base__WEBPACK_IMPORTED_MODULE_2__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, props, {\n    component: \"span\"\n  }));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Text);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/typography/text.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/typography/title.js":
/*!********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/typography/title.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   TitleLevels: function() { return /* binding */ TitleLevels; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_utils/type */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/type.js\");\n/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./base */ \"../../node_modules/@kdcloudjs/kdesign/es/typography/base.js\");\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_utils/devwarning */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/devwarning.js\");\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\nvar TitleLevels = (0,_utils_type__WEBPACK_IMPORTED_MODULE_3__.tupleNum)(1, 2, 3);\nvar Title = function Title(props) {\n  var _props$level = props.level,\n    level = _props$level === void 0 ? 1 : _props$level,\n    restProps = __rest(props, [\"level\"]);\n  var component;\n  if (TitleLevels.indexOf(level) !== -1) {\n    component = \"h\".concat(level);\n  } else {\n    (0,_utils_devwarning__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(true, 'typography', \"cannot found level '\".concat(level, \"'\"));\n    component = 'h1';\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_base__WEBPACK_IMPORTED_MODULE_5__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, restProps, {\n    component: component\n  }));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Title);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/typography/title.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/typography/typography.js":
/*!*************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/typography/typography.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n\n\n// remove this line and code Typography component here\nvar InternalTypography = function InternalTypography(props, ref) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_4__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var typographyProps = (0,_utils__WEBPACK_IMPORTED_MODULE_5__.getCompProps)('Typography', userDefaultProps, props);\n  var customPrefixcls = typographyProps.prefixCls,\n    _typographyProps$comp = typographyProps.component,\n    component = _typographyProps$comp === void 0 ? 'article' : _typographyProps$comp,\n    className = typographyProps.className,\n    ariaLabel = typographyProps['aria-label'],\n    children = typographyProps.children,\n    restProps = __rest(typographyProps, [\"prefixCls\", \"component\", \"className\", 'aria-label', \"children\"]);\n  var typographyPrefixCls = getPrefixCls(prefixCls, 'typography', customPrefixcls); // 排版样式前缀\n  var typographyClasses = classnames__WEBPACK_IMPORTED_MODULE_3___default()(typographyPrefixCls, className, {\n    // [`${typographyPrefixCls}-size-${size}`]: size,\n    // [`${typographyPrefixCls}-borderless`]: borderType === 'none',\n  });\n  var Component = component;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(Component, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    className: typographyClasses,\n    \"aria-label\": ariaLabel,\n    ref: ref\n  }, restProps), children);\n};\nvar Typography = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().forwardRef(InternalTypography);\nTypography.displayName = 'Typography';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Typography);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/typography/typography.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/upload/dragger.js":
/*!******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/upload/dragger.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./upload */ \"../../node_modules/@kdcloudjs/kdesign/es/upload/upload.js\");\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\nvar InternalDragger = function InternalDragger(_a, ref) {\n  var style = _a.style,\n    height = _a.height,\n    restProps = __rest(_a, [\"style\", \"height\"]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_upload__WEBPACK_IMPORTED_MODULE_3__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    ref: ref\n  }, restProps, {\n    type: \"drag\",\n    style: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, style), {\n      height: height\n    })\n  }));\n};\nvar Dragger = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(InternalDragger);\nDragger.displayName = 'Dragger';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Dragger);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/upload/dragger.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/upload/index.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/upload/index.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./upload */ \"../../node_modules/@kdcloudjs/kdesign/es/upload/upload.js\");\n/* harmony import */ var _dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./dragger */ \"../../node_modules/@kdcloudjs/kdesign/es/upload/dragger.js\");\n\n\n\nvar Upload = _upload__WEBPACK_IMPORTED_MODULE_0__[\"default\"];\nUpload.Dragger = _dragger__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\n/* harmony default export */ __webpack_exports__[\"default\"] = (Upload);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/upload/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/upload/request.js":
/*!******************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/upload/request.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ upload; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_1__);\n\n\nfunction getError(option, xhr) {\n  var _context, _context2;\n  var msg = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context2 = \"cannot \".concat(option.method, \" \")).call(_context2, option.action, \" \")).call(_context, xhr.status, \"'\");\n  var err = new Error(msg);\n  err.status = xhr.status;\n  err.method = option.method;\n  err.url = option.action;\n  return err;\n}\nfunction getBody(xhr) {\n  var text = xhr.responseText || xhr.response;\n  if (!text) {\n    return text;\n  }\n  try {\n    return JSON.parse(text);\n  } catch (e) {\n    return text;\n  }\n}\nfunction upload(option) {\n  var xhr = new XMLHttpRequest();\n  if (option.onProgress && xhr.upload) {\n    xhr.upload.onprogress = function progress(e) {\n      if (e.total > 0) {\n        e.percent = e.loaded / e.total * 100;\n      }\n      option.onProgress(e);\n    };\n  }\n  var formData = new FormData();\n  if (option.data) {\n    _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_1___default()(option.data).forEach(function (key) {\n      var value = option.data[key];\n      // support key-value array data\n      if (Array.isArray(value)) {\n        value.forEach(function (item) {\n          // { list: [ 11, 22 ] }\n          // formData.append('list[]', 11)\n          formData.append(\"\".concat(key, \"[]\"), item);\n        });\n        return;\n      }\n      formData.append(key, value);\n    });\n  }\n  if (option.file instanceof Blob) {\n    formData.append(option.filename, option.file, option.file.name);\n  } else {\n    formData.append(option.filename, option.file);\n  }\n  xhr.onerror = function error(e) {\n    option.onError(e);\n  };\n  xhr.onload = function onload() {\n    if (xhr.status < 200 || xhr.status >= 300) {\n      return option.onError(getError(option, xhr), getBody(xhr));\n    }\n    return option.onSuccess(getBody(xhr), xhr);\n  };\n  xhr.open(option.method, option.action, true);\n  // Has to be after `.open()`. See https://github.com/enyo/dropzone/issues/179\n  if (option.withCredentials && 'withCredentials' in xhr) {\n    xhr.withCredentials = true;\n  }\n  var headers = option.headers || {};\n  // when set headers['X-Requested-With'] = null , can close default XHR header\n  if (headers['X-Requested-With'] !== null) {\n    xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');\n  }\n  _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_1___default()(headers).forEach(function (key) {\n    if (headers[key] !== null) {\n      xhr.setRequestHeader(key, headers[key]);\n    }\n  });\n  xhr.send(formData);\n  return xhr;\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/upload/request.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/upload/scan-files.js":
/*!*********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/upload/scan-files.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__);\n\n\nfunction loopFiles(item, callback) {\n  var dirReader = item.createReader();\n  var fileList = [];\n  function sequence() {\n    dirReader.readEntries(function (entries) {\n      var entryList = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_0___default()(Array.prototype).apply(entries);\n      fileList = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default()(fileList).call(fileList, entryList);\n      // Check if all the file has been viewed\n      var isFinished = !entryList.length;\n      if (isFinished) {\n        callback(fileList);\n      } else {\n        sequence();\n      }\n    });\n  }\n  return sequence();\n}\nvar scanFiles = function scanFiles(files, isAccepted, callback) {\n  var _traverseFileTree = function _traverseFileTree(item, path) {\n    item.path = path || '';\n    if (item.isFile) {\n      item.file(function (file) {\n        if (isAccepted(file)) {\n          if (item.fullPath && !file.webkitRelativePath) {\n            Object.defineProperties(file, {\n              webkitRelativePath: {\n                writable: true\n              }\n            });\n            file.webkitRelativePath = item.fullPath.replace(/^\\//, '');\n            Object.defineProperties(file, {\n              webkitRelativePath: {\n                writable: false\n              }\n            });\n          }\n          callback(file);\n        }\n      });\n    } else if (item.isDirectory) {\n      loopFiles(item, function (entries) {\n        entries.forEach(function (entryItem) {\n          var _context;\n          _traverseFileTree(entryItem, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default()(_context = \"\".concat(path)).call(_context, item.name, \"/\"));\n        });\n      });\n    }\n  };\n  files.forEach(function (file) {\n    _traverseFileTree(file.webkitGetAsEntry());\n  });\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (scanFiles);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/upload/scan-files.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/upload/upload.js":
/*!*****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/upload/upload.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/regenerator */ \"../../node_modules/@babel/runtime-corejs3/regenerator/index.js\");\n/* harmony import */ var _babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/promise */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/promise.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../config-provider/ConfigContext */ \"../../node_modules/@kdcloudjs/kdesign/es/config-provider/ConfigContext.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../_utils */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/index.js\");\n/* harmony import */ var _utils_ieUtil__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../_utils/ieUtil */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/ieUtil.js\");\n/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../icon */ \"../../node_modules/@kdcloudjs/kdesign/es/icon/index.js\");\n/* harmony import */ var _request__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./request */ \"../../node_modules/@kdcloudjs/kdesign/es/upload/request.js\");\n/* harmony import */ var _verify_file__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./verify-file */ \"../../node_modules/@kdcloudjs/kdesign/es/upload/verify-file.js\");\n/* harmony import */ var _scan_files__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./scan-files */ \"../../node_modules/@kdcloudjs/kdesign/es/upload/scan-files.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./utils */ \"../../node_modules/@kdcloudjs/kdesign/es/upload/utils.js\");\n/* harmony import */ var _image__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../image */ \"../../node_modules/@kdcloudjs/kdesign/es/image/index.js\");\n/* harmony import */ var _progress__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../progress */ \"../../node_modules/@kdcloudjs/kdesign/es/progress/index.js\");\n\n\n\n\nvar _this = undefined;\n\n\n\n\n\n\n\nvar __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {\n  function adopt(value) {\n    return value instanceof P ? value : new P(function (resolve) {\n      resolve(value);\n    });\n  }\n  return new (P || (P = (_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_5___default())))(function (resolve, reject) {\n    function fulfilled(value) {\n      try {\n        step(generator.next(value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function rejected(value) {\n      try {\n        step(generator[\"throw\"](value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function step(result) {\n      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n    }\n    step((generator = generator.apply(thisArg, _arguments || [])).next());\n  });\n};\n\n\n\n\n\n\n\n\n\n\n\n\nvar getUid = function (index, now) {\n  return function () {\n    var _context;\n    return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context = \"kd-upload-\".concat(now, \"-\")).call(_context, ++index);\n  };\n}(0, +new Date());\nvar reqs = {};\nfunction abort(file) {\n  if (file) {\n    var uid = file.uid;\n    if (reqs[uid] && reqs[uid].abort) {\n      reqs[uid].abort();\n    }\n    delete reqs[uid];\n  } else {\n    _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_7___default()(reqs).forEach(function (uid) {\n      if (reqs[uid] && reqs[uid].abort) {\n        reqs[uid].abort();\n      }\n      delete reqs[uid];\n    });\n  }\n}\nvar InternalUpload = function InternalUpload(props, ref) {\n  var _context5, _classNames, _context6, _context7;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_11__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_13__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    pkgPrefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var inputRef = (0,react__WEBPACK_IMPORTED_MODULE_11__.useRef)(null);\n  var allProps = (0,_utils__WEBPACK_IMPORTED_MODULE_14__.getCompProps)('Upload', userDefaultProps, props); // 属性需要合并一遍用户定义的默认属性\n  var type = allProps.type,\n    style = allProps.style,\n    accept = allProps.accept,\n    children = allProps.children,\n    disabled = allProps.disabled,\n    multiple = allProps.multiple,\n    listType = allProps.listType,\n    onRemove = allProps.onRemove,\n    directory = allProps.directory,\n    className = allProps.className,\n    itemRender = allProps.itemRender,\n    showUploadList = allProps.showUploadList,\n    customPrefixcls = allProps.prefixCls,\n    onPreview = allProps.onPreview;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_11__.useState)(props.fileList || props.defaultFileList || []),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState, 2),\n    fileList = _useState2[0],\n    setFileList = _useState2[1];\n  var hasChildren = children && react__WEBPACK_IMPORTED_MODULE_11__.Children.toArray(children).length > 0;\n  (0,react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(function () {\n    props.fileList && setFileList(props.fileList);\n  }, [props.fileList]);\n  (0,react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(function () {\n    return abort;\n  }, []);\n  var onClick = function onClick(e) {\n    allProps.onClick && allProps.onClick(e);\n  };\n  var onChange = function onChange(e) {\n    var files = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_8___default()(Array.prototype).call(e.target.files);\n    e.target.value = '';\n    uploadFiles(files);\n  };\n  var onFileListChange = function onFileListChange(file, fileList, event) {\n    props.fileList === undefined && setFileList(fileList);\n    props.onChange && props.onChange({\n      file: file,\n      fileList: fileList,\n      event: event\n    });\n  };\n  var uploadFiles = function uploadFiles(files) {\n    if (Array.isArray(files) && files.length) {\n      var _context2;\n      files.forEach(function (file) {\n        file.originFileObj = (0,_utils_ieUtil__WEBPACK_IMPORTED_MODULE_15__.getFileUtil)(file, allProps === null || allProps === void 0 ? void 0 : allProps.name);\n        file.uid = getUid();\n        file.status = 'notStart';\n        file.fileName = allProps.name || file.name;\n      });\n      var newFileList = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context2 = []).call(_context2, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(fileList), (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(files));\n      files.forEach(function (file) {\n        props.fileList === undefined && setFileList(fileList);\n        upload(file, newFileList);\n      });\n    }\n  };\n  var upload = function upload(file, fileList) {\n    if (props.beforeUpload) {\n      var before = props.beforeUpload(file, fileList);\n      if (before && typeof before !== 'boolean' && before.then) {\n        before.then(function (processedFile) {\n          var processedFileType = Object.prototype.toString.call(processedFile);\n          if (processedFileType === '[object File]' || processedFileType === '[object Blob]') {\n            post(processedFile, fileList);\n          } else {\n            post(file, fileList);\n          }\n        }).catch(function (e) {\n          console.log(e);\n        });\n      } else if (before !== false) {\n        _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_5___default().resolve().then(function () {\n          post(file, fileList);\n        });\n      }\n    } else {\n      _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_5___default().resolve().then(function () {\n        post(file, fileList);\n      });\n    }\n  };\n  var post = function post(file, fileList) {\n    var action = allProps.action,\n      method = allProps.method,\n      headers = allProps.headers,\n      _onError = allProps.onError,\n      onStart = allProps.onStart,\n      _onSuccess = allProps.onSuccess,\n      _onProgress = allProps.onProgress,\n      withCredentials = allProps.withCredentials,\n      _allProps$transformFi = allProps.transformFile,\n      transformFile = _allProps$transformFi === void 0 ? function (originFile) {\n        return originFile;\n      } : _allProps$transformFi;\n    file.percent = 0;\n    file.status = 'uploading';\n    onFileListChange(file, fileList);\n    new (_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_5___default())(function (resolve) {\n      var actionRet = action;\n      if (typeof actionRet === 'function') {\n        actionRet = actionRet(file);\n      }\n      return resolve(actionRet);\n    }).then(function (action) {\n      var uid = file.uid;\n      var transform = _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_5___default().resolve(transformFile(file)).then(function (transformedFile) {\n        var data = props.data;\n        if (typeof data === 'function') {\n          data = data(transformedFile);\n        }\n        return _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_5___default().all([transformedFile, data]);\n      }).catch(function (e) {\n        console.error(e);\n      });\n      transform.then(function (_ref) {\n        var _ref2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_ref, 2),\n          transformedFile = _ref2[0],\n          data = _ref2[1];\n        var requestOptions = {\n          data: data,\n          action: action,\n          method: method,\n          headers: headers,\n          withCredentials: withCredentials,\n          file: transformedFile,\n          filename: file.fileName,\n          onProgress: function onProgress(event) {\n            file.status = 'uploading';\n            file.percent = event.percent;\n            _onProgress && _onProgress(event, file);\n            fileList = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(fileList).call(fileList, function (fileItem) {\n              return fileItem.uid === file.uid ? file : fileItem;\n            });\n            onFileListChange(file, fileList, event);\n          },\n          onError: function onError(event, ret) {\n            file.status = 'error';\n            file.error = event;\n            delete reqs[uid];\n            _onError && _onError(event, ret, file);\n            fileList = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(fileList).call(fileList, function (fileItem) {\n              return fileItem.uid === file.uid ? file : fileItem;\n            });\n            onFileListChange(file, fileList);\n          },\n          onSuccess: function onSuccess(response, xhr) {\n            return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_4___default().mark(function _callee() {\n              var url;\n              return _babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_4___default().wrap(function _callee$(_context3) {\n                while (1) switch (_context3.prev = _context3.next) {\n                  case 0:\n                    file.status = 'done';\n                    file.response = response;\n                    file.xhr = xhr;\n                    if (!(/image/.test(file.type) && !file.url)) {\n                      _context3.next = 8;\n                      break;\n                    }\n                    _context3.next = 6;\n                    return (0,_utils__WEBPACK_IMPORTED_MODULE_16__.getBase64)(file);\n                  case 6:\n                    url = _context3.sent;\n                    file.url = url;\n                  case 8:\n                    delete reqs[uid];\n                    _onSuccess && _onSuccess(response, file, xhr);\n                    fileList = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(fileList).call(fileList, function (fileItem) {\n                      return fileItem.uid === file.uid ? file : fileItem;\n                    });\n                    onFileListChange(file, fileList);\n                  case 12:\n                  case \"end\":\n                    return _context3.stop();\n                }\n              }, _callee);\n            }));\n          }\n        };\n        onStart && onStart(file);\n        reqs[uid] = (0,_request__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(requestOptions);\n      });\n    });\n  };\n  var handleRemove = function handleRemove(originFile) {\n    var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n    if (e) {\n      e.preventDefault();\n    }\n    if (originFile) {\n      var file = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, originFile), {\n        status: 'removed'\n      });\n      var files = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_10___default()(fileList).call(fileList, function (fileItem) {\n        return fileItem.uid !== file.uid;\n      });\n      if (onRemove) {\n        var remove = onRemove(file);\n        if (remove && typeof remove !== 'boolean' && remove.then) {\n          remove.then(function (flag) {\n            if (flag) {\n              onFileListChange(file, files);\n              abort(file);\n            }\n          }).catch(function (e) {\n            console.log(e);\n          });\n        } else if (remove !== false) {\n          onFileListChange(file, files);\n          abort(file);\n        }\n      } else {\n        onFileListChange(file, files);\n        abort(file);\n      }\n    }\n  };\n  var handleReUpload = function handleReUpload(file) {\n    var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n    if (e) {\n      e.preventDefault();\n    }\n    if (file) {\n      file.percent = 0;\n      file.status = 'uploading';\n      var files = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(fileList).call(fileList, function (fileItem) {\n        return fileItem.uid === file.uid ? file : fileItem;\n      });\n      onFileListChange(file, files);\n      upload(file, files);\n    }\n  };\n  var prefixCls = getPrefixCls(pkgPrefixCls, 'upload', customPrefixcls);\n  var inputFileProps = {\n    accept: accept,\n    onClick: onClick,\n    onChange: onChange,\n    disabled: disabled,\n    multiple: multiple,\n    directory: directory ? 'directory' : undefined,\n    webkitdirectory: directory ? 'webkitdirectory' : undefined\n  };\n  var dragEvents = {};\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_11__.useState)(false),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_useState3, 2),\n    hover = _useState4[0],\n    setHover = _useState4[1];\n  if (type === 'drag') {\n    var onFileDrop = function onFileDrop(e) {\n      e.preventDefault();\n      setHover(false);\n      if (directory) {\n        (0,_scan_files__WEBPACK_IMPORTED_MODULE_18__[\"default\"])(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_8___default()(Array.prototype).call(e.dataTransfer.items), function (file) {\n          return (0,_verify_file__WEBPACK_IMPORTED_MODULE_19__[\"default\"])(file, accept);\n        }, function (file) {\n          file.originFileObj = (0,_utils_ieUtil__WEBPACK_IMPORTED_MODULE_15__.getFileUtil)(file, allProps === null || allProps === void 0 ? void 0 : allProps.name);\n          file.uid = getUid();\n          file.status = 'notStart';\n          file.fileName = allProps.name || file.name;\n          fileList.push(file);\n          props.fileList === undefined && setFileList(fileList);\n          upload(file, fileList);\n        });\n      } else {\n        var _context4;\n        var files = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_10___default()(_context4 = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_8___default()(Array.prototype).call(e.dataTransfer.files)).call(_context4, function (file) {\n          return (0,_verify_file__WEBPACK_IMPORTED_MODULE_19__[\"default\"])(file, accept);\n        });\n        if (multiple === false) {\n          files = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_8___default()(files).call(files, 0, 1);\n        }\n        uploadFiles(files);\n      }\n    };\n    var onFileLeave = function onFileLeave(e) {\n      e.preventDefault();\n      e.type === 'dragover' ? setHover(true) : setHover(false);\n    };\n    dragEvents.onDrop = onFileDrop;\n    dragEvents.onDragOver = onFileLeave;\n    dragEvents.onDragLeave = onFileLeave;\n  }\n  (0,react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(function () {\n    if (type === 'drag') {\n      var stopDrop = function stopDrop(e) {\n        return e.preventDefault();\n      };\n      document.addEventListener('drop', stopDrop);\n      document.addEventListener('dragover', stopDrop);\n      return function () {\n        document.removeEventListener('drop', stopDrop);\n        document.removeEventListener('dragover', stopDrop);\n      };\n    }\n  }, [type]);\n  (0,react__WEBPACK_IMPORTED_MODULE_11__.useImperativeHandle)(ref, function () {\n    return {\n      fileList: fileList,\n      uploadFiles: uploadFiles,\n      reUploadFile: handleReUpload,\n      removeFile: handleRemove,\n      abortFile: abort,\n      input: inputRef.current\n    };\n  });\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_12___default()(prefixCls, {\n      disabled: disabled\n    }, className),\n    style: style\n  }, listType === 'text' && hasChildren && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"label\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n    className: classnames__WEBPACK_IMPORTED_MODULE_12___default()((_classNames = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context5 = \"\".concat(prefixCls, \"-\")).call(_context5, type), true), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_classNames, \"hover\", hover), _classNames))\n  }, dragEvents), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-handle\")\n  }, children), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-input\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"input\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n    title: \"\",\n    type: \"file\"\n  }, inputFileProps, {\n    ref: inputRef\n  })))), (listType === 'picture' || !(listType === 'text' && (!showUploadList || !fileList.length))) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"ul\", {\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context6 = \"\".concat(prefixCls, \"-\")).call(_context6, listType, \"-list\")\n  }, listType === 'picture' && hasChildren && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"li\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_12___default()(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context7 = \"\".concat(prefixCls, \"-\")).call(_context7, listType, \"-list-item\"))\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"label\", {\n    className: \"\".concat(prefixCls, \"-select\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-handle\")\n  }, children), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-input\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"input\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n    title: \"\",\n    type: \"file\"\n  }, inputFileProps, {\n    ref: inputRef\n  }))))), showUploadList && _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(fileList).call(fileList, function (file) {\n    return itemRender ? itemRender( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(Item, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, {\n      file: file,\n      prefixCls: prefixCls,\n      listType: listType,\n      handleReUpload: handleReUpload,\n      handleRemove: handleRemove,\n      disabled: disabled,\n      onPreview: onPreview\n    })), file, fileList) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(Item, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n      key: file.uid\n    }, {\n      file: file,\n      prefixCls: prefixCls,\n      listType: listType,\n      handleReUpload: handleReUpload,\n      handleRemove: handleRemove,\n      disabled: disabled,\n      onPreview: onPreview\n    }));\n  })));\n};\nvar Item = function Item(_ref3) {\n  var _context8, _context9, _context10, _context11, _context12, _context13, _context14, _context15, _context16, _context17, _context18, _context19, _context20;\n  var file = _ref3.file,\n    prefixCls = _ref3.prefixCls,\n    listType = _ref3.listType,\n    handleReUpload = _ref3.handleReUpload,\n    handleRemove = _ref3.handleRemove,\n    disabled = _ref3.disabled,\n    onPreview = _ref3.onPreview;\n  var mapStatus = {\n    uploading: 'loadding',\n    error: 'warning-solid',\n    done: 'attachment',\n    success: 'attachment',\n    notStart: 'attachment'\n  };\n  var handlePreview = function handlePreview() {\n    onPreview && onPreview(file);\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"li\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_12___default()(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context8 = \"\".concat(prefixCls, \"-\")).call(_context8, listType, \"-list-item\"), {\n      error: file.status === 'error'\n    })\n  }, listType === 'text' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement((react__WEBPACK_IMPORTED_MODULE_11___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"span\", {\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context9 = \"\".concat(prefixCls, \"-\")).call(_context9, listType, \"-list-item-icon\"),\n    onClick: handlePreview\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_20__[\"default\"], {\n    spin: file.status === 'uploading',\n    type: mapStatus[file.status]\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"span\", {\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context10 = \"\".concat(prefixCls, \"-\")).call(_context10, listType, \"-list-item-name\"),\n    title: file.name,\n    onClick: handlePreview\n  }, file.name), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"span\", {\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context11 = \"\".concat(prefixCls, \"-\")).call(_context11, listType, \"-list-item-size\")\n  }, \"(\", (0,_utils__WEBPACK_IMPORTED_MODULE_16__.getFileSize)(file.size), \")\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"div\", {\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context12 = \"\".concat(prefixCls, \"-\")).call(_context12, listType, \"-list-item-action\")\n  }, file.status === 'error' && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"a\", {\n    href: \"true\",\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context13 = \"\".concat(prefixCls, \"-\")).call(_context13, listType, \"-list-item-reupload\"),\n    onClick: handleReUpload.bind(_this, file)\n  }, \"\\u91CD\\u65B0\\u4E0A\\u4F20\"), !disabled && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"a\", {\n    href: \"true\",\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context14 = \"\".concat(prefixCls, \"-\")).call(_context14, listType, \"-list-item-delete\"),\n    onClick: handleRemove.bind(_this, file)\n  }, \"\\u5220\\u9664\"))) : file.status === 'uploading' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"div\", {\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context15 = \"\".concat(prefixCls, \"-\")).call(_context15, listType, \"-list-item-loading\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(_progress__WEBPACK_IMPORTED_MODULE_21__[\"default\"], {\n    percent: file.percent,\n    textMap: ['文件上传中'],\n    showInfo: false\n  })) : file.status === 'error' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"div\", {\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context16 = \"\".concat(prefixCls, \"-\")).call(_context16, listType, \"-list-item-error\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"div\", {\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context17 = \"\".concat(prefixCls, \"-\")).call(_context17, listType, \"-list-item-error-text\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_20__[\"default\"], {\n    type: mapStatus[file.status],\n    style: {\n      verticalAlign: 'top'\n    }\n  }), \"\\u4E0A\\u4F20\\u5931\\u8D25\"), !disabled && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"div\", {\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context18 = \"\".concat(prefixCls, \"-\")).call(_context18, listType, \"-list-item-action\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"a\", {\n    href: \"true\",\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context19 = \"\".concat(prefixCls, \"-\")).call(_context19, listType, \"-list-item-reupload\"),\n    onClick: handleReUpload.bind(_this, file)\n  }, \"\\u91CD\\u65B0\\u4E0A\\u4F20\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"a\", {\n    href: \"true\",\n    className: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context20 = \"\".concat(prefixCls, \"-\")).call(_context20, listType, \"-list-item-delete\"),\n    onClick: handleRemove.bind(_this, file)\n  }, \"\\u5220\\u9664\"))) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(_image__WEBPACK_IMPORTED_MODULE_22__[\"default\"], {\n    onClick: handlePreview,\n    previewType: \"upload\",\n    name: file.name,\n    size: (0,_utils__WEBPACK_IMPORTED_MODULE_16__.getFileSize)(file.size),\n    src: file.thumbUrl || file.url,\n    style: {\n      width: '100%',\n      height: '100%'\n    },\n    operations: disabled ? [] : [/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_20__[\"default\"], {\n      key: \"1\",\n      type: \"delete\",\n      onClick: handleRemove.bind(_this, file)\n    })]\n  }));\n};\nvar Upload = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_11__.forwardRef)(InternalUpload);\nUpload.displayName = 'Upload';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Upload);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/upload/upload.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/upload/utils.js":
/*!****************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/upload/utils.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   getBase64: function() { return /* binding */ getBase64; },\n/* harmony export */   getFileSize: function() { return /* binding */ getFileSize; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/promise */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/promise.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_0__);\n\nfunction getBase64(file) {\n  return new (_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_0___default())(function (resolve, reject) {\n    var reader = new FileReader();\n    reader.readAsDataURL(file);\n    reader.onload = function () {\n      return resolve(reader.result);\n    };\n    reader.onerror = function (error) {\n      return reject(error);\n    };\n  });\n}\nfunction getFileSize(number) {\n  if (number < 1024) {\n    return number + 'bytes';\n  } else if (number >= 1024 && number < 1048576) {\n    return (number / 1024).toFixed(1) + 'KB';\n  } else if (number >= 1048576) {\n    return (number / 1048576).toFixed(1) + 'MB';\n  }\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/upload/utils.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/upload/verify-file.js":
/*!**********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/upload/verify-file.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_trim__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/trim */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/trim.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_trim__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_trim__WEBPACK_IMPORTED_MODULE_0__);\n\nfunction endsWith(str, suffix) {\n  return str.indexOf(suffix, str.length - suffix.length) !== -1;\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (function (file, acceptedFiles) {\n  if (file && acceptedFiles) {\n    var acceptedFilesArray = Array.isArray(acceptedFiles) ? acceptedFiles : acceptedFiles.split(',');\n    var fileName = file.name || '';\n    var mimeType = file.type || '';\n    var baseMimeType = mimeType.replace(/\\/.*$/, '');\n    return acceptedFilesArray.some(function (type) {\n      var validType = _babel_runtime_corejs3_core_js_stable_instance_trim__WEBPACK_IMPORTED_MODULE_0___default()(type).call(type);\n      if (validType.charAt(0) === '.') {\n        return endsWith(fileName.toLowerCase(), validType.toLowerCase());\n      }\n      if (/\\/\\*$/.test(validType)) {\n        // This is something like a image/* mime type\n        return baseMimeType === validType.replace(/\\/.*$/, '');\n      }\n      return mimeType === validType;\n    });\n  }\n  return true;\n});\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/upload/verify-file.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/virtual-list/Filler.js":
/*!***********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/virtual-list/Filler.js ***!
  \***********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n\n\nvar Filler = function Filler(_ref) {\n  var height = _ref.height,\n    offset = _ref.offset,\n    children = _ref.children,\n    propsOuterStyle = _ref.outerStyle,\n    propsInnerStyle = _ref.innerStyle;\n  var outerStyle = {};\n  var innerStyle = {\n    display: 'flex',\n    flexDirection: 'column'\n  };\n  if (offset !== undefined) {\n    outerStyle = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n      height: height,\n      position: 'relative',\n      overflow: 'hidden',\n      zIndex: 0\n    }, propsOuterStyle);\n    innerStyle = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, innerStyle), {\n      transform: \"translateY(\".concat(offset, \"px)\"),\n      position: 'absolute',\n      left: 0,\n      right: 0,\n      top: 0\n    }), propsInnerStyle);\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(\"div\", {\n    style: outerStyle\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(\"div\", {\n    style: innerStyle\n  }, children));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Filler);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/virtual-list/Filler.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/virtual-list/index.js":
/*!**********************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/virtual-list/index.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   isNumber: function() { return /* reexport safe */ _virtual_list__WEBPACK_IMPORTED_MODULE_0__.isNumber; }\n/* harmony export */ });\n/* harmony import */ var _virtual_list__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./virtual-list */ \"../../node_modules/@kdcloudjs/kdesign/es/virtual-list/virtual-list.js\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_virtual_list__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/virtual-list/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/virtual-list/utils/algorithmUtil.js":
/*!************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/virtual-list/utils/algorithmUtil.js ***!
  \************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   findListDiffIndex: function() { return /* binding */ findListDiffIndex; },\n/* harmony export */   getIndexByStartLoc: function() { return /* binding */ getIndexByStartLoc; }\n/* harmony export */ });\n/**\n * Get index with specific start index one by one. e.g.\n * min: 3, max: 9, start: 6\n *\n * Return index is:\n * [0]: 6\n * [1]: 7\n * [2]: 5\n * [3]: 8\n * [4]: 4\n * [5]: 9\n * [6]: 3\n */\nfunction getIndexByStartLoc(min, max, start, index) {\n  var beforeCount = start - min;\n  var afterCount = max - start;\n  var balanceCount = Math.min(beforeCount, afterCount) * 2;\n  if (index <= balanceCount) {\n    var stepIndex = Math.floor(index / 2);\n    if (index % 2) {\n      return start + stepIndex + 1;\n    }\n    return start - stepIndex;\n  }\n  if (beforeCount > afterCount) {\n    return start - (index - afterCount);\n  }\n  return start + (index - beforeCount);\n}\nfunction findListDiffIndex(originList, targetList, getKey) {\n  var originLen = originList.length;\n  var targetLen = targetList.length;\n  var shortList;\n  var longList;\n  if (originLen === 0 && targetLen === 0) {\n    return null;\n  }\n  if (originLen < targetLen) {\n    shortList = originList;\n    longList = targetList;\n  } else {\n    shortList = targetList;\n    longList = originList;\n  }\n  var notExistKey = {\n    __EMPTY_ITEM__: true\n  };\n  function getItemKey(item, index) {\n    return item !== undefined ? getKey(item, index) : notExistKey;\n  }\n  var diffIndex = null;\n  var multiple = Math.abs(originLen - targetLen) !== 1;\n  for (var i = 0; i < longList.length; i += 1) {\n    var shortKey = getItemKey(shortList[i], i);\n    var longKey = getItemKey(longList[i], i);\n    if (shortKey !== longKey) {\n      diffIndex = i;\n      multiple = multiple || shortKey !== getItemKey(longList[i + 1], i + 1);\n      break;\n    }\n  }\n  return diffIndex === null ? null : {\n    index: diffIndex,\n    multiple: multiple\n  };\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/virtual-list/utils/algorithmUtil.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/virtual-list/utils/itemUtil.js":
/*!*******************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/virtual-list/utils/itemUtil.js ***!
  \*******************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   GHOST_ITEM_KEY: function() { return /* binding */ GHOST_ITEM_KEY; },\n/* harmony export */   getCompareItemRelativeTop: function() { return /* binding */ getCompareItemRelativeTop; },\n/* harmony export */   getItemAbsoluteTop: function() { return /* binding */ getItemAbsoluteTop; },\n/* harmony export */   getItemRelativeTop: function() { return /* binding */ getItemRelativeTop; },\n/* harmony export */   getLocationItem: function() { return /* binding */ getLocationItem; },\n/* harmony export */   getLongestItemIndex: function() { return /* binding */ getLongestItemIndex; },\n/* harmony export */   getNodeHeight: function() { return /* binding */ getNodeHeight; },\n/* harmony export */   getRangeIndex: function() { return /* binding */ getRangeIndex; },\n/* harmony export */   getScrollPercentage: function() { return /* binding */ getScrollPercentage; },\n/* harmony export */   getValidScrollTop: function() { return /* binding */ getValidScrollTop; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/number/is-nan */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/number/is-nan.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?fcc5\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _utils_getStringLength__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../_utils/getStringLength */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/getStringLength.js\");\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\n\n/**\n * 为了计算方便，定位元素的下标可能返回数组长度，代表最后一个元素\n */\nvar GHOST_ITEM_KEY = '__rc_ghost_item__';\n/**\n * 根据滚动条当前的滚动百分比，计算出基准元素\n * 在基准元素的上方和下方渲染可见区域的其他元素\n */\nfunction getLocationItem(scrollPtg, total) {\n  var itemIndex = Math.floor(scrollPtg * total);\n  var itemTopPtg = itemIndex / total;\n  var offsetPtg = (scrollPtg - itemTopPtg) / (1 / total);\n  return {\n    index: itemIndex,\n    offsetPtg: _babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_1___default()(offsetPtg) ? 0 : offsetPtg\n  };\n}\n/**\n * 获取HTML元素高度\n */\nfunction getNodeHeight(node) {\n  var needMargin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n  // eslint-disable-next-line react/no-find-dom-node\n  var element = (0,react_dom__WEBPACK_IMPORTED_MODULE_2__.findDOMNode)(node);\n  var marginVertical = 0;\n  if (needMargin) {\n    var _window$getComputedSt = window.getComputedStyle(node),\n      marginTop = _window$getComputedSt.marginTop,\n      marginBottom = _window$getComputedSt.marginBottom;\n    marginVertical = Number(marginTop.replace(/\\D/g, '')) + Number(marginBottom.replace(/\\D/g, ''));\n    marginVertical = isNaN(marginVertical) ? 0 : marginVertical;\n  }\n  return element ? element.offsetHeight + marginVertical : 0;\n}\n/**\n * 获取有效的scrollTop值\n * Safari的缓动效果会获得负值的scrollTop\n */\nfunction getValidScrollTop(scrollTop, scrollRange) {\n  return scrollTop < 0 ? 0 : scrollTop > scrollRange ? scrollRange : scrollTop;\n}\n/**\n * 视口已滚动距离 / 总可滚动距离\n */\nfunction getScrollPercentage(_ref) {\n  var scrollTop = _ref.scrollTop,\n    scrollHeight = _ref.scrollHeight,\n    clientHeight = _ref.clientHeight;\n  var scrollRange = scrollHeight - clientHeight;\n  return scrollRange <= 0 ? 0 : getValidScrollTop(scrollTop, scrollRange) / scrollRange;\n}\n/**\n * 计算需要渲染的元素的开始下标、结束下标和用于定位的元素下标\n */\nfunction getRangeIndex(scrollPtg, itemCount, visibleCount) {\n  var _getLocationItem = getLocationItem(scrollPtg, itemCount),\n    index = _getLocationItem.index,\n    offsetPtg = _getLocationItem.offsetPtg;\n  var beforeCount = Math.ceil(scrollPtg * visibleCount);\n  var afterCount = Math.ceil((1 - scrollPtg) * visibleCount);\n  return {\n    itemIndex: index,\n    itemOffsetPtg: offsetPtg,\n    startIndex: Math.max(0, index - beforeCount),\n    endIndex: Math.min(itemCount - 1, index + afterCount)\n  };\n}\n/**\n * 计算元素相对于视口顶部的偏移量\n */\nfunction getItemRelativeTop(_ref2) {\n  var itemHeight = _ref2.itemHeight,\n    itemOffsetPtg = _ref2.itemOffsetPtg,\n    scrollPtg = _ref2.scrollPtg,\n    clientHeight = _ref2.clientHeight;\n  return Math.floor(clientHeight * scrollPtg - itemHeight * itemOffsetPtg);\n}\n/**\n * 计算元素相对于整个滚动区域顶部的偏移量\n */\nfunction getItemAbsoluteTop(_a) {\n  var scrollTop = _a.scrollTop,\n    rest = __rest(_a, [\"scrollTop\"]);\n  return scrollTop + getItemRelativeTop(rest);\n}\n/**\n * 计算某一指定下标的元素相对于视口顶部的偏移量\n */\nfunction getCompareItemRelativeTop(_ref3) {\n  var locatedItemRelativeTop = _ref3.locatedItemRelativeTop,\n    locatedItemIndex = _ref3.locatedItemIndex,\n    compareItemIndex = _ref3.compareItemIndex,\n    startIndex = _ref3.startIndex,\n    endIndex = _ref3.endIndex,\n    getItemKey = _ref3.getItemKey,\n    itemElementHeights = _ref3.itemElementHeights,\n    itemHeight = _ref3.itemHeight;\n  var compareItemTop = locatedItemRelativeTop;\n  var compareItemKey = getItemKey(compareItemIndex);\n  if (compareItemIndex <= locatedItemIndex) {\n    for (var index = locatedItemIndex; index >= startIndex; index -= 1) {\n      var key = getItemKey(index);\n      if (key === compareItemKey) {\n        break;\n      }\n      var prevItemKey = getItemKey(index - 1);\n      compareItemTop -= itemElementHeights[prevItemKey] || itemHeight;\n    }\n  } else {\n    for (var _index = locatedItemIndex; _index <= endIndex; _index += 1) {\n      var _key = getItemKey(_index);\n      if (_key === compareItemKey) {\n        break;\n      }\n      compareItemTop += itemElementHeights[_key] || itemHeight;\n    }\n  }\n  return compareItemTop;\n}\nfunction getLongestItemIndex(data) {\n  var result = -1;\n  var length = 0;\n  data.forEach(function (item, index) {\n    var _a;\n    item = typeof item === 'string' ? item : (_a = item.props) === null || _a === void 0 ? void 0 : _a.children;\n    if (typeof item === 'string') {\n      var _length = (0,_utils_getStringLength__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(item);\n      if (_length > length) {\n        length = _length;\n        result = index;\n      }\n    }\n  });\n  return result;\n}\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/virtual-list/utils/itemUtil.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/virtual-list/virtual-list.js":
/*!*****************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/virtual-list/virtual-list.js ***!
  \*****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   isNumber: function() { return /* binding */ isNumber; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js\");\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_entries__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/entries */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/entries.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_entries__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_entries__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find-index */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find-index.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\");\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?9a3a\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./utils/itemUtil */ \"../../node_modules/@kdcloudjs/kdesign/es/virtual-list/utils/itemUtil.js\");\n/* harmony import */ var _utils_raf__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../_utils/raf */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/raf.js\");\n/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_utils/hooks */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/hooks.js\");\n/* harmony import */ var _utils_algorithmUtil__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./utils/algorithmUtil */ \"../../node_modules/@kdcloudjs/kdesign/es/virtual-list/utils/algorithmUtil.js\");\n/* harmony import */ var _Filler__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./Filler */ \"../../node_modules/@kdcloudjs/kdesign/es/virtual-list/Filler.js\");\n/* harmony import */ var _utils_resizeObserver__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../_utils/resizeObserver */ \"../../node_modules/@kdcloudjs/kdesign/es/_utils/resizeObserver.js\");\n\n\n\nvar _context;\n\n\n\n\n\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof (_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()) === \"function\") for (var i = 0, p = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n// Reference: https://github.com/arco-design/arco-design/blob/main/components/_class/VirtualList/index.tsx\n\n\n\n\n\n\n\nfunction isNumber(obj) {\n  return Object.prototype.toString.call(obj) === '[object Number]' && obj === obj; // eslint-disable-line\n}\n\nvar DEFAULT_VIRTUAL_ITEM_HEIGHT = 32;\nvar KEY_VIRTUAL_ITEM_HEIGHT = \"__virtual_item_height_\".concat(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default()(_context = Math.random().toFixed(5)).call(_context, 2));\nvar useComputeVirtualItemHeight = function useComputeVirtualItemHeight(refItemHeightMap) {\n  var forceUpdate = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_10__.useForceUpdate)();\n  var heightMap = refItemHeightMap.current;\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    if (_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5___default()(heightMap).length && !heightMap[KEY_VIRTUAL_ITEM_HEIGHT]) {\n      heightMap[KEY_VIRTUAL_ITEM_HEIGHT] = _babel_runtime_corejs3_core_js_stable_object_entries__WEBPACK_IMPORTED_MODULE_6___default()(heightMap).reduce(function (sum, _ref, currentIndex, array) {\n        var _ref2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_ref, 2),\n          currentHeight = _ref2[1];\n        var nextSum = sum + currentHeight;\n        return currentIndex === array.length - 1 ? Math.round(nextSum / array.length) : nextSum;\n      }, 0);\n      forceUpdate();\n    }\n  }, [_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5___default()(heightMap).length]);\n};\nvar useCacheChildrenNodes = function useCacheChildrenNodes(children) {\n  var refCacheMap = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)({});\n  var refPrevChildren = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)(children);\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    refPrevChildren.current = children;\n  }, [children]);\n  if (children !== refPrevChildren.current) {\n    refCacheMap.current = {};\n  }\n  return function (item, index, props) {\n    // eslint-disable-next-line no-prototype-builtins\n    if (!refCacheMap.current.hasOwnProperty(index)) {\n      refCacheMap.current[index] = children(item, index, props);\n    }\n    return refCacheMap.current[index];\n  };\n};\nvar VirtualList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().forwardRef(function (props, ref) {\n  var style = props.style,\n    className = props.className,\n    children = props.children,\n    _props$data = props.data,\n    data = _props$data === void 0 ? [] : _props$data,\n    itemKey = props.itemKey,\n    _props$threshold = props.threshold,\n    threshold = _props$threshold === void 0 ? 100 : _props$threshold,\n    _props$wrapper = props.wrapper,\n    WrapperTagName = _props$wrapper === void 0 ? 'div' : _props$wrapper,\n    _props$height = props.height,\n    propHeight = _props$height === void 0 ? '100%' : _props$height,\n    _props$isStaticItemHe = props.isStaticItemHeight,\n    isStaticItemHeight = _props$isStaticItemHe === void 0 ? true : _props$isStaticItemHe,\n    propItemHeight = props.itemHeight,\n    measureLongestItem = props.measureLongestItem,\n    scrollOptions = props.scrollOptions,\n    onScroll = props.onScroll,\n    _props$needFiller = props.needFiller,\n    needFiller = _props$needFiller === void 0 ? true : _props$needFiller,\n    outerStyle = props.outerStyle,\n    innerStyle = props.innerStyle,\n    restProps = __rest(props, [\"style\", \"className\", \"children\", \"data\", \"itemKey\", \"threshold\", \"wrapper\", \"height\", \"isStaticItemHeight\", \"itemHeight\", \"measureLongestItem\", \"scrollOptions\", \"onScroll\", \"needFiller\", \"outerStyle\", \"innerStyle\"]);\n  var styleListMaxHeight = style && style.maxHeight || propHeight;\n  var refItemHeightMap = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)({});\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)(200),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    stateHeight = _useState2[0],\n    setStateHeight = _useState2[1];\n  var renderChild = useCacheChildrenNodes(children);\n  useComputeVirtualItemHeight(refItemHeightMap);\n  var itemCount = data.length;\n  var itemHeight = propItemHeight || refItemHeightMap.current[KEY_VIRTUAL_ITEM_HEIGHT] || DEFAULT_VIRTUAL_ITEM_HEIGHT;\n  var viewportHeight = isNumber(styleListMaxHeight) ? styleListMaxHeight : stateHeight;\n  var itemCountVisible = Math.ceil(viewportHeight / itemHeight);\n  var itemTotalHeight = itemHeight * itemCount;\n  var isVirtual = threshold !== null && itemCount >= threshold && itemTotalHeight > viewportHeight;\n  var refList = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)(null);\n  var refRafId = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)(null);\n  var refLockScroll = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)(false);\n  var refIsVirtual = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)(isVirtual);\n  var scrollListPadding = (0,react__WEBPACK_IMPORTED_MODULE_9__.useMemo)(function () {\n    if (refList.current) {\n      var getPadding = function getPadding(property) {\n        return +window.getComputedStyle(refList.current)[property].replace(/\\D/g, '');\n      };\n      return {\n        top: getPadding('paddingTop'),\n        bottom: getPadding('paddingBottom')\n      };\n    }\n    return {\n      top: 0,\n      bottom: 0\n    };\n  }, [refList.current]);\n  var _useStateWithPromise = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_10__.useStateWithPromise)({\n      status: 'NONE',\n      startIndex: 0,\n      endIndex: 0,\n      itemIndex: 0,\n      itemOffsetPtg: 0,\n      startItemTop: 0,\n      scrollTop: 0\n    }),\n    _useStateWithPromise2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useStateWithPromise, 2),\n    state = _useStateWithPromise2[0],\n    setState = _useStateWithPromise2[1];\n  var prevData = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_10__.usePrevious)(data) || [];\n  var isFirstRender = (0,_utils_hooks__WEBPACK_IMPORTED_MODULE_10__.useIsFirstRender)();\n  var getItemKey = function getItemKey(item, index) {\n    return typeof itemKey === 'function' ? itemKey(item, index) : typeof itemKey === 'string' ? item[itemKey] : item.key || index;\n  };\n  var getItemKeyByIndex = function getItemKeyByIndex(index) {\n    var items = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : data;\n    if (index === items.length) {\n      return _utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__.GHOST_ITEM_KEY;\n    }\n    var item = items[index];\n    return item !== undefined ? getItemKey(item, index) : null;\n  };\n  var getCachedItemHeight = function getCachedItemHeight(key) {\n    return refItemHeightMap.current[key] || itemHeight;\n  };\n  var internalScrollTo = function internalScrollTo(relativeScroll) {\n    var compareItemIndex = relativeScroll.itemIndex,\n      compareItemRelativeTop = relativeScroll.relativeTop;\n    if (!refList.current) return;\n    var _refList$current = refList.current,\n      scrollHeight = _refList$current.scrollHeight,\n      clientHeight = _refList$current.clientHeight;\n    var originScrollTop = state.scrollTop;\n    var maxScrollTop = scrollHeight - clientHeight;\n    var bestSimilarity = Number.MAX_VALUE;\n    var bestScrollTop = null;\n    var bestItemIndex = null;\n    var bestItemOffsetPtg = null;\n    var bestStartIndex = null;\n    var bestEndIndex = null;\n    var missSimilarity = 0;\n    for (var i = 0; i < maxScrollTop; i++) {\n      var scrollTop = (0,_utils_algorithmUtil__WEBPACK_IMPORTED_MODULE_12__.getIndexByStartLoc)(0, maxScrollTop, originScrollTop, i);\n      var scrollPtg = (0,_utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__.getScrollPercentage)({\n        scrollTop: scrollTop,\n        scrollHeight: scrollHeight,\n        clientHeight: clientHeight\n      });\n      var _getRangeIndex = (0,_utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__.getRangeIndex)(scrollPtg, itemCount, itemCountVisible),\n        itemIndex = _getRangeIndex.itemIndex,\n        itemOffsetPtg = _getRangeIndex.itemOffsetPtg,\n        startIndex = _getRangeIndex.startIndex,\n        endIndex = _getRangeIndex.endIndex;\n      if (startIndex <= compareItemIndex && compareItemIndex <= endIndex) {\n        var locatedItemRelativeTop = (0,_utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__.getItemRelativeTop)({\n          itemHeight: getCachedItemHeight(getItemKeyByIndex(itemIndex)),\n          itemOffsetPtg: itemOffsetPtg,\n          clientHeight: clientHeight,\n          scrollPtg: scrollPtg\n        });\n        var compareItemTop = (0,_utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__.getCompareItemRelativeTop)({\n          locatedItemRelativeTop: locatedItemRelativeTop,\n          locatedItemIndex: itemIndex,\n          compareItemIndex: compareItemIndex,\n          startIndex: startIndex,\n          endIndex: endIndex,\n          itemHeight: itemHeight,\n          getItemKey: getItemKeyByIndex,\n          itemElementHeights: refItemHeightMap.current\n        });\n        var similarity = Math.abs(compareItemTop - compareItemRelativeTop);\n        if (similarity < bestSimilarity) {\n          bestSimilarity = similarity;\n          bestScrollTop = scrollTop;\n          bestItemIndex = itemIndex;\n          bestItemOffsetPtg = itemOffsetPtg;\n          bestStartIndex = startIndex;\n          bestEndIndex = endIndex;\n          missSimilarity = 0;\n        } else {\n          missSimilarity += 1;\n        }\n      }\n      if (missSimilarity > 10) {\n        break;\n      }\n    }\n    if (bestScrollTop !== null) {\n      refLockScroll.current = true;\n      refList.current.scrollTop = bestScrollTop;\n      setState((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, state), {\n        status: 'MEASURE_START',\n        scrollTop: bestScrollTop,\n        itemIndex: bestItemIndex,\n        itemOffsetPtg: bestItemOffsetPtg,\n        startIndex: bestStartIndex,\n        endIndex: bestEndIndex\n      }));\n    }\n    refRafId.current = (0,_utils_raf__WEBPACK_IMPORTED_MODULE_13__.raf)(function () {\n      refLockScroll.current = false;\n    });\n  };\n  var rawListScrollHandler = function rawListScrollHandler(event) {\n    if (!refList.current) return;\n    var _refList$current2 = refList.current,\n      rawScrollTop = _refList$current2.scrollTop,\n      clientHeight = _refList$current2.clientHeight,\n      scrollHeight = _refList$current2.scrollHeight;\n    var scrollTop = (0,_utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__.getValidScrollTop)(rawScrollTop, scrollHeight - clientHeight);\n    var scrollPtg = (0,_utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__.getScrollPercentage)({\n      scrollTop: scrollTop,\n      clientHeight: clientHeight,\n      scrollHeight: scrollHeight\n    });\n    var _getLocationItem = (0,_utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__.getLocationItem)(scrollPtg, itemCount),\n      index = _getLocationItem.index,\n      offsetPtg = _getLocationItem.offsetPtg;\n    setState((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, state), {\n      scrollTop: scrollTop,\n      itemIndex: index,\n      itemOffsetPtg: offsetPtg\n    }));\n    event && onScroll && onScroll(event);\n  };\n  var virtualListScrollHandler = function virtualListScrollHandler(event) {\n    var isInit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n    var scrollHeight = itemTotalHeight;\n    if (!refList.current) return;\n    var _refList$current3 = refList.current,\n      rawScrollTop = _refList$current3.scrollTop,\n      clientHeight = _refList$current3.clientHeight;\n    var scrollTop = (0,_utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__.getValidScrollTop)(rawScrollTop, scrollHeight - clientHeight);\n    if (!isInit && (scrollTop === state.scrollTop || refLockScroll.current)) {\n      return;\n    }\n    var scrollPtg = (0,_utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__.getScrollPercentage)({\n      scrollTop: scrollTop,\n      clientHeight: clientHeight,\n      scrollHeight: scrollHeight\n    });\n    var _getRangeIndex2 = (0,_utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__.getRangeIndex)(scrollPtg, itemCount, itemCountVisible),\n      itemIndex = _getRangeIndex2.itemIndex,\n      itemOffsetPtg = _getRangeIndex2.itemOffsetPtg,\n      startIndex = _getRangeIndex2.startIndex,\n      endIndex = _getRangeIndex2.endIndex;\n    setState((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, state), {\n      scrollTop: scrollTop,\n      itemIndex: itemIndex,\n      itemOffsetPtg: itemOffsetPtg,\n      startIndex: startIndex,\n      endIndex: endIndex,\n      status: 'MEASURE_START'\n    }));\n    event && onScroll && onScroll(event);\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    return function () {\n      refRafId.current && (0,_utils_raf__WEBPACK_IMPORTED_MODULE_13__.caf)(refRafId.current);\n    };\n  }, []);\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    if (refList.current) {\n      if (isFirstRender) {\n        refList.current.scrollTop = 0;\n      }\n      virtualListScrollHandler(null, true);\n    }\n  }, [itemCountVisible]);\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    var changedItemIndex = null;\n    var switchTo = refIsVirtual.current !== isVirtual ? isVirtual ? 'virtual' : 'raw' : '';\n    refIsVirtual.current = isVirtual;\n    if (viewportHeight && prevData.length !== data.length) {\n      var diff = (0,_utils_algorithmUtil__WEBPACK_IMPORTED_MODULE_12__.findListDiffIndex)(prevData, data, getItemKey);\n      changedItemIndex = diff ? diff.index : null;\n    }\n    if ((switchTo || isVirtual && changedItemIndex) && refList.current) {\n      var clientHeight = refList.current.clientHeight;\n      var locatedItemRelativeTop = (0,_utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__.getItemRelativeTop)({\n        itemHeight: getCachedItemHeight(getItemKeyByIndex(state.itemIndex, prevData)),\n        itemOffsetPtg: state.itemOffsetPtg,\n        scrollPtg: (0,_utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__.getScrollPercentage)({\n          scrollTop: state.scrollTop,\n          scrollHeight: prevData.length * itemHeight,\n          clientHeight: clientHeight\n        }),\n        clientHeight: clientHeight\n      });\n      if (switchTo === 'raw') {\n        var rawTop = locatedItemRelativeTop;\n        for (var index = 0; index < state.itemIndex; index++) {\n          rawTop -= getCachedItemHeight(getItemKeyByIndex(index));\n        }\n        refList.current.scrollTop = -rawTop;\n        refLockScroll.current = true;\n        refRafId.current = (0,_utils_raf__WEBPACK_IMPORTED_MODULE_13__.raf)(function () {\n          refLockScroll.current = false;\n        });\n      } else {\n        internalScrollTo({\n          itemIndex: state.itemIndex,\n          relativeTop: locatedItemRelativeTop\n        });\n      }\n    }\n  }, [data, isVirtual]);\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useLayoutEffect)(function () {\n    if (state.status === 'MEASURE_START' && refList.current) {\n      var _refList$current4 = refList.current,\n        scrollTop = _refList$current4.scrollTop,\n        scrollHeight = _refList$current4.scrollHeight,\n        clientHeight = _refList$current4.clientHeight;\n      var scrollPtg = (0,_utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__.getScrollPercentage)({\n        scrollTop: scrollTop,\n        scrollHeight: scrollHeight,\n        clientHeight: clientHeight\n      });\n      var startItemTop = (0,_utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__.getItemAbsoluteTop)({\n        scrollPtg: scrollPtg,\n        clientHeight: clientHeight,\n        scrollTop: scrollTop - (scrollListPadding.top + scrollListPadding.bottom) * scrollPtg,\n        itemHeight: getCachedItemHeight(getItemKeyByIndex(state.itemIndex)),\n        itemOffsetPtg: state.itemOffsetPtg\n      });\n      for (var index = state.itemIndex - 1; index >= state.startIndex; index--) {\n        startItemTop -= getCachedItemHeight(getItemKeyByIndex(index));\n      }\n      setState((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, state), {\n        startItemTop: startItemTop,\n        status: 'MEASURE_DONE'\n      }));\n    }\n  }, [state]);\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useImperativeHandle)(ref, function () {\n    return {\n      dom: refList.current,\n      scrollTo: function scrollTo(arg) {\n        refRafId.current && (0,_utils_raf__WEBPACK_IMPORTED_MODULE_13__.caf)(refRafId.current);\n        refRafId.current = (0,_utils_raf__WEBPACK_IMPORTED_MODULE_13__.raf)(function () {\n          var _a;\n          if (typeof arg === 'number') {\n            refList.current.scrollTop = arg;\n            return;\n          }\n          var index = 'index' in arg ? arg.index : 'key' in arg ? _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_7___default()(data).call(data, function (item, index) {\n            return getItemKey(item, index) === arg.key;\n          }) : 0;\n          var item = data[index];\n          if (!item) {\n            return;\n          }\n          var align = (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(arg) === 'object' && ((_a = arg.options) === null || _a === void 0 ? void 0 : _a.block) ? arg.options.block : (scrollOptions === null || scrollOptions === void 0 ? void 0 : scrollOptions.block) || 'nearest';\n          var _refList$current5 = refList.current,\n            clientHeight = _refList$current5.clientHeight,\n            scrollTop = _refList$current5.scrollTop;\n          if (isVirtual && !isStaticItemHeight) {\n            if (align === 'nearest') {\n              var itemIndex = state.itemIndex,\n                itemOffsetPtg = state.itemOffsetPtg;\n              if (Math.abs(itemIndex - index) < itemCountVisible) {\n                var itemTop = (0,_utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__.getItemRelativeTop)({\n                  itemHeight: getCachedItemHeight(getItemKeyByIndex(itemIndex)),\n                  itemOffsetPtg: itemOffsetPtg,\n                  clientHeight: clientHeight,\n                  scrollPtg: (0,_utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__.getScrollPercentage)(refList.current)\n                });\n                if (index < itemIndex) {\n                  for (var i = index; i < itemIndex; i++) {\n                    itemTop -= getCachedItemHeight(getItemKeyByIndex(i));\n                  }\n                } else {\n                  for (var _i = itemIndex; _i < index; _i++) {\n                    itemTop += getCachedItemHeight(getItemKeyByIndex(_i));\n                  }\n                }\n                if (itemTop < 0 || itemTop > clientHeight) {\n                  align = itemTop < 0 ? 'start' : 'end';\n                } else {\n                  return;\n                }\n              } else {\n                align = index < itemIndex ? 'start' : 'end';\n              }\n            }\n            setState((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, state), {\n              startIndex: Math.max(0, index - itemCountVisible),\n              endIndex: Math.min(itemCount - 1, index + itemCountVisible)\n            })).then(function () {\n              var itemHeight = getCachedItemHeight(getItemKey(item, index));\n              internalScrollTo({\n                itemIndex: index,\n                relativeTop: align === 'start' ? 0 : (clientHeight - itemHeight) / (align === 'center' ? 2 : 1)\n              });\n            });\n          } else {\n            var indexItemHeight = getCachedItemHeight(getItemKeyByIndex(index));\n            var _itemTop = 0;\n            for (var _i2 = 0; _i2 < index; _i2++) {\n              _itemTop += getCachedItemHeight(getItemKeyByIndex(_i2));\n            }\n            var itemBottom = _itemTop + indexItemHeight;\n            var itemMiddle = _itemTop + indexItemHeight / 2;\n            if (itemMiddle > scrollTop && itemMiddle < clientHeight + scrollTop) {\n              return;\n            }\n            if (align === 'nearest') {\n              if (_itemTop < scrollTop) {\n                align = 'start';\n              } else if (itemBottom > scrollTop + clientHeight) {\n                align = 'end';\n              }\n            }\n            var _viewportHeight = clientHeight - indexItemHeight;\n            refList.current.scrollTop = _itemTop - (align === 'start' ? 0 : _viewportHeight / (align === 'center' ? 2 : 1));\n          }\n        });\n      }\n    };\n  }, [data, itemHeight, state]);\n  var renderChildren = function renderChildren(list, startIndex) {\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8___default()(list).call(list, function (item, index) {\n      var originIndex = startIndex + index;\n      var node = renderChild(item, originIndex, {\n        style: {}\n      });\n      var key = getItemKey(item, originIndex);\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().cloneElement(node, {\n        key: key,\n        ref: function ref(ele) {\n          var heightMap = refItemHeightMap.current;\n          if (ele && state.status === 'MEASURE_START' && (!isStaticItemHeight || heightMap[key] === undefined)) {\n            if (isStaticItemHeight) {\n              if (!heightMap[KEY_VIRTUAL_ITEM_HEIGHT]) {\n                heightMap[KEY_VIRTUAL_ITEM_HEIGHT] = (0,_utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__.getNodeHeight)(ele, true);\n              }\n              heightMap[key] = heightMap[KEY_VIRTUAL_ITEM_HEIGHT];\n            } else {\n              heightMap[key] = (0,_utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__.getNodeHeight)(ele, true);\n            }\n          }\n        }\n      });\n    });\n  };\n  var refLongestItemIndex = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)(null);\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    refLongestItemIndex.current = null;\n  }, [data]);\n  var renderLongestItem = function renderLongestItem() {\n    if (measureLongestItem) {\n      var index = refLongestItemIndex.current === null ? (0,_utils_itemUtil__WEBPACK_IMPORTED_MODULE_11__.getLongestItemIndex)(data) : refLongestItemIndex.current;\n      var item = data[index];\n      refLongestItemIndex.current = index;\n      return item ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(\"div\", {\n        style: {\n          height: 1,\n          overflow: 'hidden',\n          opacity: 0\n        }\n      }, renderChild(item, index, {\n        style: {}\n      })) : null;\n    }\n    return null;\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(_utils_resizeObserver__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n    onResize: function onResize() {\n      if (refList.current && !isNumber(styleListMaxHeight)) {\n        var clientHeight = refList.current.clientHeight;\n        setStateHeight(clientHeight);\n      }\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(WrapperTagName, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n    ref: refList,\n    style: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n      overflowY: 'auto',\n      overflowAnchor: 'none'\n    }, style), {\n      maxHeight: styleListMaxHeight\n    }),\n    className: className,\n    onScroll: isVirtual ? virtualListScrollHandler : rawListScrollHandler\n  }, restProps), isVirtual ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement((react__WEBPACK_IMPORTED_MODULE_9___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(_Filler__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n    height: itemTotalHeight,\n    offset: state.status === 'MEASURE_DONE' ? state.startItemTop : 0,\n    outerStyle: outerStyle,\n    innerStyle: innerStyle\n  }, renderChildren(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default()(data).call(data, state.startIndex, state.endIndex + 1), state.startIndex)), renderLongestItem()) : needFiller ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(_Filler__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n    height: viewportHeight\n  }, renderChildren(data, 0)) : renderChildren(data, 0)));\n});\nVirtualList.displayName = 'VirtualList';\n/* harmony default export */ __webpack_exports__[\"default\"] = (VirtualList);\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/virtual-list/virtual-list.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/node_modules/dom-scroll-into-view/dist-web/index.js":
/*!*************************************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/node_modules/dom-scroll-into-view/dist-web/index.js ***!
  \*************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\nfunction _typeof(obj) {\n  if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n    _typeof = function (obj) {\n      return typeof obj;\n    };\n  } else {\n    _typeof = function (obj) {\n      return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n    };\n  }\n\n  return _typeof(obj);\n}\n\nfunction _defineProperty(obj, key, value) {\n  if (key in obj) {\n    Object.defineProperty(obj, key, {\n      value: value,\n      enumerable: true,\n      configurable: true,\n      writable: true\n    });\n  } else {\n    obj[key] = value;\n  }\n\n  return obj;\n}\n\nfunction ownKeys(object, enumerableOnly) {\n  var keys = Object.keys(object);\n\n  if (Object.getOwnPropertySymbols) {\n    var symbols = Object.getOwnPropertySymbols(object);\n    if (enumerableOnly) symbols = symbols.filter(function (sym) {\n      return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n    });\n    keys.push.apply(keys, symbols);\n  }\n\n  return keys;\n}\n\nfunction _objectSpread2(target) {\n  for (var i = 1; i < arguments.length; i++) {\n    var source = arguments[i] != null ? arguments[i] : {};\n\n    if (i % 2) {\n      ownKeys(source, true).forEach(function (key) {\n        _defineProperty(target, key, source[key]);\n      });\n    } else if (Object.getOwnPropertyDescriptors) {\n      Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n    } else {\n      ownKeys(source).forEach(function (key) {\n        Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n      });\n    }\n  }\n\n  return target;\n}\n\nvar RE_NUM = /[\\-+]?(?:\\d*\\.|)\\d+(?:[eE][\\-+]?\\d+|)/.source;\n\nfunction getClientPosition(elem) {\n  var box;\n  var x;\n  var y;\n  var doc = elem.ownerDocument;\n  var body = doc.body;\n  var docElem = doc && doc.documentElement; // 根据 GBS 最新数据，A-Grade Browsers 都已支持 getBoundingClientRect 方法，不用再考虑传统的实现方式\n\n  box = elem.getBoundingClientRect(); // 注：jQuery 还考虑减去 docElem.clientLeft/clientTop\n  // 但测试发现，这样反而会导致当 html 和 body 有边距/边框样式时，获取的值不正确\n  // 此外，ie6 会忽略 html 的 margin 值，幸运地是没有谁会去设置 html 的 margin\n\n  x = box.left;\n  y = box.top; // In IE, most of the time, 2 extra pixels are added to the top and left\n  // due to the implicit 2-pixel inset border.  In IE6/7 quirks mode and\n  // IE6 standards mode, this border can be overridden by setting the\n  // document element's border to zero -- thus, we cannot rely on the\n  // offset always being 2 pixels.\n  // In quirks mode, the offset can be determined by querying the body's\n  // clientLeft/clientTop, but in standards mode, it is found by querying\n  // the document element's clientLeft/clientTop.  Since we already called\n  // getClientBoundingRect we have already forced a reflow, so it is not\n  // too expensive just to query them all.\n  // ie 下应该减去窗口的边框吧，毕竟默认 absolute 都是相对窗口定位的\n  // 窗口边框标准是设 documentElement ,quirks 时设置 body\n  // 最好禁止在 body 和 html 上边框 ，但 ie < 9 html 默认有 2px ，减去\n  // 但是非 ie 不可能设置窗口边框，body html 也不是窗口 ,ie 可以通过 html,body 设置\n  // 标准 ie 下 docElem.clientTop 就是 border-top\n  // ie7 html 即窗口边框改变不了。永远为 2\n  // 但标准 firefox/chrome/ie9 下 docElem.clientTop 是窗口边框，即使设了 border-top 也为 0\n\n  x -= docElem.clientLeft || body.clientLeft || 0;\n  y -= docElem.clientTop || body.clientTop || 0;\n  return {\n    left: x,\n    top: y\n  };\n}\n\nfunction getScroll(w, top) {\n  var ret = w[\"page\".concat(top ? 'Y' : 'X', \"Offset\")];\n  var method = \"scroll\".concat(top ? 'Top' : 'Left');\n\n  if (typeof ret !== 'number') {\n    var d = w.document; // ie6,7,8 standard mode\n\n    ret = d.documentElement[method];\n\n    if (typeof ret !== 'number') {\n      // quirks mode\n      ret = d.body[method];\n    }\n  }\n\n  return ret;\n}\n\nfunction getScrollLeft(w) {\n  return getScroll(w);\n}\n\nfunction getScrollTop(w) {\n  return getScroll(w, true);\n}\n\nfunction getOffset(el) {\n  var pos = getClientPosition(el);\n  var doc = el.ownerDocument;\n  var w = doc.defaultView || doc.parentWindow;\n  pos.left += getScrollLeft(w);\n  pos.top += getScrollTop(w);\n  return pos;\n}\n\nfunction _getComputedStyle(elem, name, computedStyle_) {\n  var val = '';\n  var d = elem.ownerDocument;\n  var computedStyle = computedStyle_ || d.defaultView.getComputedStyle(elem, null); // https://github.com/kissyteam/kissy/issues/61\n\n  if (computedStyle) {\n    val = computedStyle.getPropertyValue(name) || computedStyle[name];\n  }\n\n  return val;\n}\n\nvar _RE_NUM_NO_PX = new RegExp(\"^(\".concat(RE_NUM, \")(?!px)[a-z%]+$\"), 'i');\n\nvar RE_POS = /^(top|right|bottom|left)$/;\nvar CURRENT_STYLE = 'currentStyle';\nvar RUNTIME_STYLE = 'runtimeStyle';\nvar LEFT = 'left';\nvar PX = 'px';\n\nfunction _getComputedStyleIE(elem, name) {\n  // currentStyle maybe null\n  // http://msdn.microsoft.com/en-us/library/ms535231.aspx\n  var ret = elem[CURRENT_STYLE] && elem[CURRENT_STYLE][name]; // 当 width/height 设置为百分比时，通过 pixelLeft 方式转换的 width/height 值\n  // 一开始就处理了! CUSTOM_STYLE.height,CUSTOM_STYLE.width ,cssHook 解决@2011-08-19\n  // 在 ie 下不对，需要直接用 offset 方式\n  // borderWidth 等值也有问题，但考虑到 borderWidth 设为百分比的概率很小，这里就不考虑了\n  // From the awesome hack by Dean Edwards\n  // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291\n  // If we're not dealing with a regular pixel number\n  // but a number that has a weird ending, we need to convert it to pixels\n  // exclude left right for relativity\n\n  if (_RE_NUM_NO_PX.test(ret) && !RE_POS.test(name)) {\n    // Remember the original values\n    var style = elem.style;\n    var left = style[LEFT];\n    var rsLeft = elem[RUNTIME_STYLE][LEFT]; // prevent flashing of content\n\n    elem[RUNTIME_STYLE][LEFT] = elem[CURRENT_STYLE][LEFT]; // Put in the new values to get a computed value out\n\n    style[LEFT] = name === 'fontSize' ? '1em' : ret || 0;\n    ret = style.pixelLeft + PX; // Revert the changed values\n\n    style[LEFT] = left;\n    elem[RUNTIME_STYLE][LEFT] = rsLeft;\n  }\n\n  return ret === '' ? 'auto' : ret;\n}\n\nvar getComputedStyleX;\n\nif (typeof window !== 'undefined') {\n  getComputedStyleX = window.getComputedStyle ? _getComputedStyle : _getComputedStyleIE;\n}\n\nfunction each(arr, fn) {\n  for (var i = 0; i < arr.length; i++) {\n    fn(arr[i]);\n  }\n}\n\nfunction isBorderBoxFn(elem) {\n  return getComputedStyleX(elem, 'boxSizing') === 'border-box';\n}\n\nvar BOX_MODELS = ['margin', 'border', 'padding'];\nvar CONTENT_INDEX = -1;\nvar PADDING_INDEX = 2;\nvar BORDER_INDEX = 1;\nvar MARGIN_INDEX = 0;\n\nfunction swap(elem, options, callback) {\n  var old = {};\n  var style = elem.style;\n  var name; // Remember the old values, and insert the new ones\n\n  for (name in options) {\n    if (options.hasOwnProperty(name)) {\n      old[name] = style[name];\n      style[name] = options[name];\n    }\n  }\n\n  callback.call(elem); // Revert the old values\n\n  for (name in options) {\n    if (options.hasOwnProperty(name)) {\n      style[name] = old[name];\n    }\n  }\n}\n\nfunction getPBMWidth(elem, props, which) {\n  var value = 0;\n  var prop;\n  var j;\n  var i;\n\n  for (j = 0; j < props.length; j++) {\n    prop = props[j];\n\n    if (prop) {\n      for (i = 0; i < which.length; i++) {\n        var cssProp = void 0;\n\n        if (prop === 'border') {\n          cssProp = \"\".concat(prop + which[i], \"Width\");\n        } else {\n          cssProp = prop + which[i];\n        }\n\n        value += parseFloat(getComputedStyleX(elem, cssProp)) || 0;\n      }\n    }\n  }\n\n  return value;\n}\n/**\n * A crude way of determining if an object is a window\n * @member util\n */\n\n\nfunction isWindow(obj) {\n  // must use == for ie8\n\n  /* eslint eqeqeq:0 */\n  return obj != null && obj == obj.window;\n}\n\nvar domUtils = {};\neach(['Width', 'Height'], function (name) {\n  domUtils[\"doc\".concat(name)] = function (refWin) {\n    var d = refWin.document;\n    return Math.max( // firefox chrome documentElement.scrollHeight< body.scrollHeight\n    // ie standard mode : documentElement.scrollHeight> body.scrollHeight\n    d.documentElement[\"scroll\".concat(name)], // quirks : documentElement.scrollHeight 最大等于可视窗口多一点？\n    d.body[\"scroll\".concat(name)], domUtils[\"viewport\".concat(name)](d));\n  };\n\n  domUtils[\"viewport\".concat(name)] = function (win) {\n    // pc browser includes scrollbar in window.innerWidth\n    var prop = \"client\".concat(name);\n    var doc = win.document;\n    var body = doc.body;\n    var documentElement = doc.documentElement;\n    var documentElementProp = documentElement[prop]; // 标准模式取 documentElement\n    // backcompat 取 body\n\n    return doc.compatMode === 'CSS1Compat' && documentElementProp || body && body[prop] || documentElementProp;\n  };\n});\n/*\n 得到元素的大小信息\n @param elem\n @param name\n @param {String} [extra]  'padding' : (css width) + padding\n 'border' : (css width) + padding + border\n 'margin' : (css width) + padding + border + margin\n */\n\nfunction getWH(elem, name, extra) {\n  if (isWindow(elem)) {\n    return name === 'width' ? domUtils.viewportWidth(elem) : domUtils.viewportHeight(elem);\n  } else if (elem.nodeType === 9) {\n    return name === 'width' ? domUtils.docWidth(elem) : domUtils.docHeight(elem);\n  }\n\n  var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];\n  var borderBoxValue = name === 'width' ? elem.offsetWidth : elem.offsetHeight;\n  var computedStyle = getComputedStyleX(elem);\n  var isBorderBox = isBorderBoxFn(elem);\n  var cssBoxValue = 0;\n\n  if (borderBoxValue == null || borderBoxValue <= 0) {\n    borderBoxValue = undefined; // Fall back to computed then un computed css if necessary\n\n    cssBoxValue = getComputedStyleX(elem, name);\n\n    if (cssBoxValue == null || Number(cssBoxValue) < 0) {\n      cssBoxValue = elem.style[name] || 0;\n    } // Normalize '', auto, and prepare for extra\n\n\n    cssBoxValue = parseFloat(cssBoxValue) || 0;\n  }\n\n  if (extra === undefined) {\n    extra = isBorderBox ? BORDER_INDEX : CONTENT_INDEX;\n  }\n\n  var borderBoxValueOrIsBorderBox = borderBoxValue !== undefined || isBorderBox;\n  var val = borderBoxValue || cssBoxValue;\n\n  if (extra === CONTENT_INDEX) {\n    if (borderBoxValueOrIsBorderBox) {\n      return val - getPBMWidth(elem, ['border', 'padding'], which);\n    }\n\n    return cssBoxValue;\n  }\n\n  if (borderBoxValueOrIsBorderBox) {\n    var padding = extra === PADDING_INDEX ? -getPBMWidth(elem, ['border'], which) : getPBMWidth(elem, ['margin'], which);\n    return val + (extra === BORDER_INDEX ? 0 : padding);\n  }\n\n  return cssBoxValue + getPBMWidth(elem, BOX_MODELS.slice(extra), which);\n}\n\nvar cssShow = {\n  position: 'absolute',\n  visibility: 'hidden',\n  display: 'block'\n}; // fix #119 : https://github.com/kissyteam/kissy/issues/119\n\nfunction getWHIgnoreDisplay(elem) {\n  var val;\n  var args = arguments; // in case elem is window\n  // elem.offsetWidth === undefined\n\n  if (elem.offsetWidth !== 0) {\n    val = getWH.apply(undefined, args);\n  } else {\n    swap(elem, cssShow, function () {\n      val = getWH.apply(undefined, args);\n    });\n  }\n\n  return val;\n}\n\nfunction css(el, name, v) {\n  var value = v;\n\n  if (_typeof(name) === 'object') {\n    for (var i in name) {\n      if (name.hasOwnProperty(i)) {\n        css(el, i, name[i]);\n      }\n    }\n\n    return undefined;\n  }\n\n  if (typeof value !== 'undefined') {\n    if (typeof value === 'number') {\n      value += 'px';\n    }\n\n    el.style[name] = value;\n    return undefined;\n  }\n\n  return getComputedStyleX(el, name);\n}\n\neach(['width', 'height'], function (name) {\n  var first = name.charAt(0).toUpperCase() + name.slice(1);\n\n  domUtils[\"outer\".concat(first)] = function (el, includeMargin) {\n    return el && getWHIgnoreDisplay(el, name, includeMargin ? MARGIN_INDEX : BORDER_INDEX);\n  };\n\n  var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];\n\n  domUtils[name] = function (elem, val) {\n    if (val !== undefined) {\n      if (elem) {\n        var computedStyle = getComputedStyleX(elem);\n        var isBorderBox = isBorderBoxFn(elem);\n\n        if (isBorderBox) {\n          val += getPBMWidth(elem, ['padding', 'border'], which);\n        }\n\n        return css(elem, name, val);\n      }\n\n      return undefined;\n    }\n\n    return elem && getWHIgnoreDisplay(elem, name, CONTENT_INDEX);\n  };\n}); // 设置 elem 相对 elem.ownerDocument 的坐标\n\nfunction setOffset(elem, offset) {\n  // set position first, in-case top/left are set even on static elem\n  if (css(elem, 'position') === 'static') {\n    elem.style.position = 'relative';\n  }\n\n  var old = getOffset(elem);\n  var ret = {};\n  var current;\n  var key;\n\n  for (key in offset) {\n    if (offset.hasOwnProperty(key)) {\n      current = parseFloat(css(elem, key)) || 0;\n      ret[key] = current + offset[key] - old[key];\n    }\n  }\n\n  css(elem, ret);\n}\n\nvar util = _objectSpread2({\n  getWindow: function getWindow(node) {\n    var doc = node.ownerDocument || node;\n    return doc.defaultView || doc.parentWindow;\n  },\n  offset: function offset(el, value) {\n    if (typeof value !== 'undefined') {\n      setOffset(el, value);\n    } else {\n      return getOffset(el);\n    }\n  },\n  isWindow: isWindow,\n  each: each,\n  css: css,\n  clone: function clone(obj) {\n    var ret = {};\n\n    for (var i in obj) {\n      if (obj.hasOwnProperty(i)) {\n        ret[i] = obj[i];\n      }\n    }\n\n    var overflow = obj.overflow;\n\n    if (overflow) {\n      for (var _i in obj) {\n        if (obj.hasOwnProperty(_i)) {\n          ret.overflow[_i] = obj.overflow[_i];\n        }\n      }\n    }\n\n    return ret;\n  },\n  scrollLeft: function scrollLeft(w, v) {\n    if (isWindow(w)) {\n      if (v === undefined) {\n        return getScrollLeft(w);\n      }\n\n      window.scrollTo(v, getScrollTop(w));\n    } else {\n      if (v === undefined) {\n        return w.scrollLeft;\n      }\n\n      w.scrollLeft = v;\n    }\n  },\n  scrollTop: function scrollTop(w, v) {\n    if (isWindow(w)) {\n      if (v === undefined) {\n        return getScrollTop(w);\n      }\n\n      window.scrollTo(getScrollLeft(w), v);\n    } else {\n      if (v === undefined) {\n        return w.scrollTop;\n      }\n\n      w.scrollTop = v;\n    }\n  },\n  viewportWidth: 0,\n  viewportHeight: 0\n}, domUtils);\n\nfunction scrollIntoView(elem, container, config) {\n  config = config || {}; // document 归一化到 window\n\n  if (container.nodeType === 9) {\n    container = util.getWindow(container);\n  }\n\n  var allowHorizontalScroll = config.allowHorizontalScroll;\n  var onlyScrollIfNeeded = config.onlyScrollIfNeeded;\n  var alignWithTop = config.alignWithTop;\n  var alignWithLeft = config.alignWithLeft;\n  var offsetTop = config.offsetTop || 0;\n  var offsetLeft = config.offsetLeft || 0;\n  var offsetBottom = config.offsetBottom || 0;\n  var offsetRight = config.offsetRight || 0;\n  allowHorizontalScroll = allowHorizontalScroll === undefined ? true : allowHorizontalScroll;\n  var isWin = util.isWindow(container);\n  var elemOffset = util.offset(elem);\n  var eh = util.outerHeight(elem);\n  var ew = util.outerWidth(elem);\n  var containerOffset;\n  var ch;\n  var cw;\n  var containerScroll;\n  var diffTop;\n  var diffBottom;\n  var win;\n  var winScroll;\n  var ww;\n  var wh;\n\n  if (isWin) {\n    win = container;\n    wh = util.height(win);\n    ww = util.width(win);\n    winScroll = {\n      left: util.scrollLeft(win),\n      top: util.scrollTop(win)\n    }; // elem 相对 container 可视视窗的距离\n\n    diffTop = {\n      left: elemOffset.left - winScroll.left - offsetLeft,\n      top: elemOffset.top - winScroll.top - offsetTop\n    };\n    diffBottom = {\n      left: elemOffset.left + ew - (winScroll.left + ww) + offsetRight,\n      top: elemOffset.top + eh - (winScroll.top + wh) + offsetBottom\n    };\n    containerScroll = winScroll;\n  } else {\n    containerOffset = util.offset(container);\n    ch = container.clientHeight;\n    cw = container.clientWidth;\n    containerScroll = {\n      left: container.scrollLeft,\n      top: container.scrollTop\n    }; // elem 相对 container 可视视窗的距离\n    // 注意边框, offset 是边框到根节点\n\n    diffTop = {\n      left: elemOffset.left - (containerOffset.left + (parseFloat(util.css(container, 'borderLeftWidth')) || 0)) - offsetLeft,\n      top: elemOffset.top - (containerOffset.top + (parseFloat(util.css(container, 'borderTopWidth')) || 0)) - offsetTop\n    };\n    diffBottom = {\n      left: elemOffset.left + ew - (containerOffset.left + cw + (parseFloat(util.css(container, 'borderRightWidth')) || 0)) + offsetRight,\n      top: elemOffset.top + eh - (containerOffset.top + ch + (parseFloat(util.css(container, 'borderBottomWidth')) || 0)) + offsetBottom\n    };\n  }\n\n  if (diffTop.top < 0 || diffBottom.top > 0) {\n    // 强制向上\n    if (alignWithTop === true) {\n      util.scrollTop(container, containerScroll.top + diffTop.top);\n    } else if (alignWithTop === false) {\n      util.scrollTop(container, containerScroll.top + diffBottom.top);\n    } else {\n      // 自动调整\n      if (diffTop.top < 0) {\n        util.scrollTop(container, containerScroll.top + diffTop.top);\n      } else {\n        util.scrollTop(container, containerScroll.top + diffBottom.top);\n      }\n    }\n  } else {\n    if (!onlyScrollIfNeeded) {\n      alignWithTop = alignWithTop === undefined ? true : !!alignWithTop;\n\n      if (alignWithTop) {\n        util.scrollTop(container, containerScroll.top + diffTop.top);\n      } else {\n        util.scrollTop(container, containerScroll.top + diffBottom.top);\n      }\n    }\n  }\n\n  if (allowHorizontalScroll) {\n    if (diffTop.left < 0 || diffBottom.left > 0) {\n      // 强制向上\n      if (alignWithLeft === true) {\n        util.scrollLeft(container, containerScroll.left + diffTop.left);\n      } else if (alignWithLeft === false) {\n        util.scrollLeft(container, containerScroll.left + diffBottom.left);\n      } else {\n        // 自动调整\n        if (diffTop.left < 0) {\n          util.scrollLeft(container, containerScroll.left + diffTop.left);\n        } else {\n          util.scrollLeft(container, containerScroll.left + diffBottom.left);\n        }\n      }\n    } else {\n      if (!onlyScrollIfNeeded) {\n        alignWithLeft = alignWithLeft === undefined ? true : !!alignWithLeft;\n\n        if (alignWithLeft) {\n          util.scrollLeft(container, containerScroll.left + diffTop.left);\n        } else {\n          util.scrollLeft(container, containerScroll.left + diffBottom.left);\n        }\n      }\n    }\n  }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (scrollIntoView);\n//# sourceMappingURL=index.js.map\n\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/node_modules/dom-scroll-into-view/dist-web/index.js?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/es/transfer/img/transfer-empty.png":
/*!********************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/es/transfer/img/transfer-empty.png ***!
  \********************************************************************************/
/***/ (function(module) {

eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVAAAADACAMAAABlJ8scAAAAw1BMVEUAAADy9Pn0+f3w8Pby9vr09vzy9vvz9fvy9fry9fr09vvy9vvx9Pny9/zy9vrz9vrz9fvy9fvy9fvz9vrz9fry9vrz9fvz9vry9frz9vvz9frz9vvy9fry9vrz9fry9fvz9vvz9vry9fny9vrz9fry9vry9fry9frz9vry9vvz9vvz9fry9fvy9vry9vv////z9fvy9vvy9frz9fry9frz9fvy9fvo6fXy9vvy9Pry9vrz9vvy9vrz9vzy9fre4ebq7fImEIixAAAAPnRSTlMAfgYCRhtkX0I1MSQXD2w9OU5KLCgfE1t5dWhTgoqGj+WTV3Cb26ifpJesubWxxgrCys7T1+vxC/e94L1xV4cgPVgAAAUXSURBVHja7N1rV9pAEMbxabhf1bYqWu8iILZgbQ0I9ul+/09VSjmBlFYSMuvsceeXxSQbffM/vhrOAVJKKaWUUkoppZRSSimllH9yxUEIC96RnwpT2GH8LJqbwhLjZ9EibDF+Fh3AFuNn0RC2GD+LwhrjZ1FYY/wsCmuMn0VhjfGzKKwxfhaFNcbPorDG+FkU1hg/i8Ia42dRWGP8LAprjJ9FYY3xsyisMX4WhTXGz6KwxvhZFNYYP4vCGuNnUVhj/CwKa4yfRWGN8bMorDF+FoU1xs+isMb4WRTWGD+LYsXPNbCG3ipENKgGdREiGlSDuggRDapBXYSIBtWgLkJEg2pQFyGiQTWoixDRoBrURYhoUA3qIkQ0qONvgWjQl2hQDZqMBnUdktGgGjQZDeo6JKNBNWgyGtR1SEaDalAhWPHTMg2qQTWoOA2aUq7S6t5PHsfjx5tBt5UfatAs6qXexTgmfGrWNeiWPrbDcThbi5SLYxz2dzToFqq9cOFxfqy629GgKTXajy9q1zVoGrsPFxvclDVoYsHRZJZs9nrJ5FiDJjTsTCaTm/lrecxXfOc00KBJDHs3CfUPdDiyWdD+nlgn0KCbBLffUjjToJs8P6RSQjLeBq1+TQnJ+Bp01B+85H6+YpCMr0Fb9yum9+um87XyA8l4GvTD09PT9Gk6W8vzU3xvIXqGZDwNenKXGoTQX4b5Vndw83tuO7nvtio5ckHhc3oQQqvqzWk4jrnoleokrvklPQihpZ1+OI5Pbed3YfsjyWp0+ulByDLnXTS2na2FxQS3VyVJ+c4WsOJnSgxB65vmtg2Sc937o9tLQTZo+eZig4ddkpK77G5BNOjxZHVsG7tZ7h4FJGO/vQ3BoMHpZCYa1K7PcBfbnSG9mlGl9Hxyfn5yVKo0yrfbkAt60L9JqPdaRavN88ul08ttiAUNOt8Tawf0CmrX5wzEgp59S+HWftHc3ikLqaClh1SeybJh8YyHVNCvKVXJqqB5wkQqaHxGu1l/RBblDt9xkQoaG9iuW3/cIovyLTZSQaNZ7cz/ZrfxvQ9kTeGID4TcpXZC1lxdzzxfP8/NLuLmz2L765Z/DyGf0yuQJbUmIwj5kl6TLNk7ZgQh/VWd2Yqu/qvTICuCIicI6WwhT1bUSpwgpPcPm+a512TF7iEnCOlu4TJHNpSvYn5c/ZittfvovAGEtLexTzbkP3GCkNttlBuV0tHv+e9zqTIiLu/3OEHIZXrxke95s8oVlBWEnDO4rhGHPCsIOWWxl6Psyqwg5IxHcUiZ7bCCkBMmzYCy2mUFIe+4HOYooworCGmxyVNGVVYQcsSnQNl8YAUhXPPc2emKsvnICkKajGqUSY0VhBwz2qNM9llBSJFTQFkUWEFIiVONsqizgpBDTruUxQErCGGY5y5/v0xZNFhByCdOecpiOBoNR8O50dr1f/dm/vkcQvY4vacsAlYQ8p4VZZFjBSF5VuQOCCmzIndAyA4rcgeE7LIid0BIhRW5A0KqrMgdEPKBFbkDQj6yIndASI0VuQNC9lmROyCkwIrcASF1Tg583ot40ANW5A4IabAid0AIxzx3eU3ugJCAFbkDQnKc3PhgN/2Cqt80qOuQjAbVoMloUNchGQ2qQZPRoK5DMhpUgwoJISKkt2oAEQN6q4oQUaS3KjeFgKlL8yFmBYGiU5feVWOXKw5CvKJwUHzD/59KKaWUUupXe3AgAAAAACDI33qCDSoAAAA4AdqnTeAV5QRbAAAAAElFTkSuQmCC\"\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/es/transfer/img/transfer-empty.png?");

/***/ }),

/***/ "../../node_modules/@kdcloudjs/kdesign/node_modules/big.js/big.mjs":
/*!*************************************************************************!*\
  !*** ../../node_modules/@kdcloudjs/kdesign/node_modules/big.js/big.mjs ***!
  \*************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Big: function() { return /* binding */ Big; }\n/* harmony export */ });\n/*\r\n *  big.js v6.2.1\r\n *  A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic.\r\n *  Copyright (c) 2022 Michael Mclaughlin\r\n *  https://github.com/MikeMcl/big.js/LICENCE.md\r\n */\r\n\r\n\r\n/************************************** EDITABLE DEFAULTS *****************************************/\r\n\r\n\r\n  // The default values below must be integers within the stated ranges.\r\n\r\n  /*\r\n   * The maximum number of decimal places (DP) of the results of operations involving division:\r\n   * div and sqrt, and pow with negative exponents.\r\n   */\r\nvar DP = 20,          // 0 to MAX_DP\r\n\r\n  /*\r\n   * The rounding mode (RM) used when rounding to the above decimal places.\r\n   *\r\n   *  0  Towards zero (i.e. truncate, no rounding).       (ROUND_DOWN)\r\n   *  1  To nearest neighbour. If equidistant, round up.  (ROUND_HALF_UP)\r\n   *  2  To nearest neighbour. If equidistant, to even.   (ROUND_HALF_EVEN)\r\n   *  3  Away from zero.                                  (ROUND_UP)\r\n   */\r\n  RM = 1,             // 0, 1, 2 or 3\r\n\r\n  // The maximum value of DP and Big.DP.\r\n  MAX_DP = 1E6,       // 0 to 1000000\r\n\r\n  // The maximum magnitude of the exponent argument to the pow method.\r\n  MAX_POWER = 1E6,    // 1 to 1000000\r\n\r\n  /*\r\n   * The negative exponent (NE) at and beneath which toString returns exponential notation.\r\n   * (JavaScript numbers: -7)\r\n   * -1000000 is the minimum recommended exponent value of a Big.\r\n   */\r\n  NE = -7,            // 0 to -1000000\r\n\r\n  /*\r\n   * The positive exponent (PE) at and above which toString returns exponential notation.\r\n   * (JavaScript numbers: 21)\r\n   * 1000000 is the maximum recommended exponent value of a Big, but this limit is not enforced.\r\n   */\r\n  PE = 21,            // 0 to 1000000\r\n\r\n  /*\r\n   * When true, an error will be thrown if a primitive number is passed to the Big constructor,\r\n   * or if valueOf is called, or if toNumber is called on a Big which cannot be converted to a\r\n   * primitive number without a loss of precision.\r\n   */\r\n  STRICT = false,     // true or false\r\n\r\n\r\n/**************************************************************************************************/\r\n\r\n\r\n  // Error messages.\r\n  NAME = '[big.js] ',\r\n  INVALID = NAME + 'Invalid ',\r\n  INVALID_DP = INVALID + 'decimal places',\r\n  INVALID_RM = INVALID + 'rounding mode',\r\n  DIV_BY_ZERO = NAME + 'Division by zero',\r\n\r\n  // The shared prototype object.\r\n  P = {},\r\n  UNDEFINED = void 0,\r\n  NUMERIC = /^-?(\\d+(\\.\\d*)?|\\.\\d+)(e[+-]?\\d+)?$/i;\r\n\r\n\r\n/*\r\n * Create and return a Big constructor.\r\n */\r\nfunction _Big_() {\r\n\r\n  /*\r\n   * The Big constructor and exported function.\r\n   * Create and return a new instance of a Big number object.\r\n   *\r\n   * n {number|string|Big} A numeric value.\r\n   */\r\n  function Big(n) {\r\n    var x = this;\r\n\r\n    // Enable constructor usage without new.\r\n    if (!(x instanceof Big)) return n === UNDEFINED ? _Big_() : new Big(n);\r\n\r\n    // Duplicate.\r\n    if (n instanceof Big) {\r\n      x.s = n.s;\r\n      x.e = n.e;\r\n      x.c = n.c.slice();\r\n    } else {\r\n      if (typeof n !== 'string') {\r\n        if (Big.strict === true && typeof n !== 'bigint') {\r\n          throw TypeError(INVALID + 'value');\r\n        }\r\n\r\n        // Minus zero?\r\n        n = n === 0 && 1 / n < 0 ? '-0' : String(n);\r\n      }\r\n\r\n      parse(x, n);\r\n    }\r\n\r\n    // Retain a reference to this Big constructor.\r\n    // Shadow Big.prototype.constructor which points to Object.\r\n    x.constructor = Big;\r\n  }\r\n\r\n  Big.prototype = P;\r\n  Big.DP = DP;\r\n  Big.RM = RM;\r\n  Big.NE = NE;\r\n  Big.PE = PE;\r\n  Big.strict = STRICT;\r\n  Big.roundDown = 0;\r\n  Big.roundHalfUp = 1;\r\n  Big.roundHalfEven = 2;\r\n  Big.roundUp = 3;\r\n\r\n  return Big;\r\n}\r\n\r\n\r\n/*\r\n * Parse the number or string value passed to a Big constructor.\r\n *\r\n * x {Big} A Big number instance.\r\n * n {number|string} A numeric value.\r\n */\r\nfunction parse(x, n) {\r\n  var e, i, nl;\r\n\r\n  if (!NUMERIC.test(n)) {\r\n    throw Error(INVALID + 'number');\r\n  }\r\n\r\n  // Determine sign.\r\n  x.s = n.charAt(0) == '-' ? (n = n.slice(1), -1) : 1;\r\n\r\n  // Decimal point?\r\n  if ((e = n.indexOf('.')) > -1) n = n.replace('.', '');\r\n\r\n  // Exponential form?\r\n  if ((i = n.search(/e/i)) > 0) {\r\n\r\n    // Determine exponent.\r\n    if (e < 0) e = i;\r\n    e += +n.slice(i + 1);\r\n    n = n.substring(0, i);\r\n  } else if (e < 0) {\r\n\r\n    // Integer.\r\n    e = n.length;\r\n  }\r\n\r\n  nl = n.length;\r\n\r\n  // Determine leading zeros.\r\n  for (i = 0; i < nl && n.charAt(i) == '0';) ++i;\r\n\r\n  if (i == nl) {\r\n\r\n    // Zero.\r\n    x.c = [x.e = 0];\r\n  } else {\r\n\r\n    // Determine trailing zeros.\r\n    for (; nl > 0 && n.charAt(--nl) == '0';);\r\n    x.e = e - i - 1;\r\n    x.c = [];\r\n\r\n    // Convert string to array of digits without leading/trailing zeros.\r\n    for (e = 0; i <= nl;) x.c[e++] = +n.charAt(i++);\r\n  }\r\n\r\n  return x;\r\n}\r\n\r\n\r\n/*\r\n * Round Big x to a maximum of sd significant digits using rounding mode rm.\r\n *\r\n * x {Big} The Big to round.\r\n * sd {number} Significant digits: integer, 0 to MAX_DP inclusive.\r\n * rm {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).\r\n * [more] {boolean} Whether the result of division was truncated.\r\n */\r\nfunction round(x, sd, rm, more) {\r\n  var xc = x.c;\r\n\r\n  if (rm === UNDEFINED) rm = x.constructor.RM;\r\n  if (rm !== 0 && rm !== 1 && rm !== 2 && rm !== 3) {\r\n    throw Error(INVALID_RM);\r\n  }\r\n\r\n  if (sd < 1) {\r\n    more =\r\n      rm === 3 && (more || !!xc[0]) || sd === 0 && (\r\n      rm === 1 && xc[0] >= 5 ||\r\n      rm === 2 && (xc[0] > 5 || xc[0] === 5 && (more || xc[1] !== UNDEFINED))\r\n    );\r\n\r\n    xc.length = 1;\r\n\r\n    if (more) {\r\n\r\n      // 1, 0.1, 0.01, 0.001, 0.0001 etc.\r\n      x.e = x.e - sd + 1;\r\n      xc[0] = 1;\r\n    } else {\r\n\r\n      // Zero.\r\n      xc[0] = x.e = 0;\r\n    }\r\n  } else if (sd < xc.length) {\r\n\r\n    // xc[sd] is the digit after the digit that may be rounded up.\r\n    more =\r\n      rm === 1 && xc[sd] >= 5 ||\r\n      rm === 2 && (xc[sd] > 5 || xc[sd] === 5 &&\r\n        (more || xc[sd + 1] !== UNDEFINED || xc[sd - 1] & 1)) ||\r\n      rm === 3 && (more || !!xc[0]);\r\n\r\n    // Remove any digits after the required precision.\r\n    xc.length = sd;\r\n\r\n    // Round up?\r\n    if (more) {\r\n\r\n      // Rounding up may mean the previous digit has to be rounded up.\r\n      for (; ++xc[--sd] > 9;) {\r\n        xc[sd] = 0;\r\n        if (sd === 0) {\r\n          ++x.e;\r\n          xc.unshift(1);\r\n          break;\r\n        }\r\n      }\r\n    }\r\n\r\n    // Remove trailing zeros.\r\n    for (sd = xc.length; !xc[--sd];) xc.pop();\r\n  }\r\n\r\n  return x;\r\n}\r\n\r\n\r\n/*\r\n * Return a string representing the value of Big x in normal or exponential notation.\r\n * Handles P.toExponential, P.toFixed, P.toJSON, P.toPrecision, P.toString and P.valueOf.\r\n */\r\nfunction stringify(x, doExponential, isNonzero) {\r\n  var e = x.e,\r\n    s = x.c.join(''),\r\n    n = s.length;\r\n\r\n  // Exponential notation?\r\n  if (doExponential) {\r\n    s = s.charAt(0) + (n > 1 ? '.' + s.slice(1) : '') + (e < 0 ? 'e' : 'e+') + e;\r\n\r\n  // Normal notation.\r\n  } else if (e < 0) {\r\n    for (; ++e;) s = '0' + s;\r\n    s = '0.' + s;\r\n  } else if (e > 0) {\r\n    if (++e > n) {\r\n      for (e -= n; e--;) s += '0';\r\n    } else if (e < n) {\r\n      s = s.slice(0, e) + '.' + s.slice(e);\r\n    }\r\n  } else if (n > 1) {\r\n    s = s.charAt(0) + '.' + s.slice(1);\r\n  }\r\n\r\n  return x.s < 0 && isNonzero ? '-' + s : s;\r\n}\r\n\r\n\r\n// Prototype/instance methods\r\n\r\n\r\n/*\r\n * Return a new Big whose value is the absolute value of this Big.\r\n */\r\nP.abs = function () {\r\n  var x = new this.constructor(this);\r\n  x.s = 1;\r\n  return x;\r\n};\r\n\r\n\r\n/*\r\n * Return 1 if the value of this Big is greater than the value of Big y,\r\n *       -1 if the value of this Big is less than the value of Big y, or\r\n *        0 if they have the same value.\r\n */\r\nP.cmp = function (y) {\r\n  var isneg,\r\n    x = this,\r\n    xc = x.c,\r\n    yc = (y = new x.constructor(y)).c,\r\n    i = x.s,\r\n    j = y.s,\r\n    k = x.e,\r\n    l = y.e;\r\n\r\n  // Either zero?\r\n  if (!xc[0] || !yc[0]) return !xc[0] ? !yc[0] ? 0 : -j : i;\r\n\r\n  // Signs differ?\r\n  if (i != j) return i;\r\n\r\n  isneg = i < 0;\r\n\r\n  // Compare exponents.\r\n  if (k != l) return k > l ^ isneg ? 1 : -1;\r\n\r\n  j = (k = xc.length) < (l = yc.length) ? k : l;\r\n\r\n  // Compare digit by digit.\r\n  for (i = -1; ++i < j;) {\r\n    if (xc[i] != yc[i]) return xc[i] > yc[i] ^ isneg ? 1 : -1;\r\n  }\r\n\r\n  // Compare lengths.\r\n  return k == l ? 0 : k > l ^ isneg ? 1 : -1;\r\n};\r\n\r\n\r\n/*\r\n * Return a new Big whose value is the value of this Big divided by the value of Big y, rounded,\r\n * if necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.\r\n */\r\nP.div = function (y) {\r\n  var x = this,\r\n    Big = x.constructor,\r\n    a = x.c,                  // dividend\r\n    b = (y = new Big(y)).c,   // divisor\r\n    k = x.s == y.s ? 1 : -1,\r\n    dp = Big.DP;\r\n\r\n  if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {\r\n    throw Error(INVALID_DP);\r\n  }\r\n\r\n  // Divisor is zero?\r\n  if (!b[0]) {\r\n    throw Error(DIV_BY_ZERO);\r\n  }\r\n\r\n  // Dividend is 0? Return +-0.\r\n  if (!a[0]) {\r\n    y.s = k;\r\n    y.c = [y.e = 0];\r\n    return y;\r\n  }\r\n\r\n  var bl, bt, n, cmp, ri,\r\n    bz = b.slice(),\r\n    ai = bl = b.length,\r\n    al = a.length,\r\n    r = a.slice(0, bl),   // remainder\r\n    rl = r.length,\r\n    q = y,                // quotient\r\n    qc = q.c = [],\r\n    qi = 0,\r\n    p = dp + (q.e = x.e - y.e) + 1;    // precision of the result\r\n\r\n  q.s = k;\r\n  k = p < 0 ? 0 : p;\r\n\r\n  // Create version of divisor with leading zero.\r\n  bz.unshift(0);\r\n\r\n  // Add zeros to make remainder as long as divisor.\r\n  for (; rl++ < bl;) r.push(0);\r\n\r\n  do {\r\n\r\n    // n is how many times the divisor goes into current remainder.\r\n    for (n = 0; n < 10; n++) {\r\n\r\n      // Compare divisor and remainder.\r\n      if (bl != (rl = r.length)) {\r\n        cmp = bl > rl ? 1 : -1;\r\n      } else {\r\n        for (ri = -1, cmp = 0; ++ri < bl;) {\r\n          if (b[ri] != r[ri]) {\r\n            cmp = b[ri] > r[ri] ? 1 : -1;\r\n            break;\r\n          }\r\n        }\r\n      }\r\n\r\n      // If divisor < remainder, subtract divisor from remainder.\r\n      if (cmp < 0) {\r\n\r\n        // Remainder can't be more than 1 digit longer than divisor.\r\n        // Equalise lengths using divisor with extra leading zero?\r\n        for (bt = rl == bl ? b : bz; rl;) {\r\n          if (r[--rl] < bt[rl]) {\r\n            ri = rl;\r\n            for (; ri && !r[--ri];) r[ri] = 9;\r\n            --r[ri];\r\n            r[rl] += 10;\r\n          }\r\n          r[rl] -= bt[rl];\r\n        }\r\n\r\n        for (; !r[0];) r.shift();\r\n      } else {\r\n        break;\r\n      }\r\n    }\r\n\r\n    // Add the digit n to the result array.\r\n    qc[qi++] = cmp ? n : ++n;\r\n\r\n    // Update the remainder.\r\n    if (r[0] && cmp) r[rl] = a[ai] || 0;\r\n    else r = [a[ai]];\r\n\r\n  } while ((ai++ < al || r[0] !== UNDEFINED) && k--);\r\n\r\n  // Leading zero? Do not remove if result is simply zero (qi == 1).\r\n  if (!qc[0] && qi != 1) {\r\n\r\n    // There can't be more than one zero.\r\n    qc.shift();\r\n    q.e--;\r\n    p--;\r\n  }\r\n\r\n  // Round?\r\n  if (qi > p) round(q, p, Big.RM, r[0] !== UNDEFINED);\r\n\r\n  return q;\r\n};\r\n\r\n\r\n/*\r\n * Return true if the value of this Big is equal to the value of Big y, otherwise return false.\r\n */\r\nP.eq = function (y) {\r\n  return this.cmp(y) === 0;\r\n};\r\n\r\n\r\n/*\r\n * Return true if the value of this Big is greater than the value of Big y, otherwise return\r\n * false.\r\n */\r\nP.gt = function (y) {\r\n  return this.cmp(y) > 0;\r\n};\r\n\r\n\r\n/*\r\n * Return true if the value of this Big is greater than or equal to the value of Big y, otherwise\r\n * return false.\r\n */\r\nP.gte = function (y) {\r\n  return this.cmp(y) > -1;\r\n};\r\n\r\n\r\n/*\r\n * Return true if the value of this Big is less than the value of Big y, otherwise return false.\r\n */\r\nP.lt = function (y) {\r\n  return this.cmp(y) < 0;\r\n};\r\n\r\n\r\n/*\r\n * Return true if the value of this Big is less than or equal to the value of Big y, otherwise\r\n * return false.\r\n */\r\nP.lte = function (y) {\r\n  return this.cmp(y) < 1;\r\n};\r\n\r\n\r\n/*\r\n * Return a new Big whose value is the value of this Big minus the value of Big y.\r\n */\r\nP.minus = P.sub = function (y) {\r\n  var i, j, t, xlty,\r\n    x = this,\r\n    Big = x.constructor,\r\n    a = x.s,\r\n    b = (y = new Big(y)).s;\r\n\r\n  // Signs differ?\r\n  if (a != b) {\r\n    y.s = -b;\r\n    return x.plus(y);\r\n  }\r\n\r\n  var xc = x.c.slice(),\r\n    xe = x.e,\r\n    yc = y.c,\r\n    ye = y.e;\r\n\r\n  // Either zero?\r\n  if (!xc[0] || !yc[0]) {\r\n    if (yc[0]) {\r\n      y.s = -b;\r\n    } else if (xc[0]) {\r\n      y = new Big(x);\r\n    } else {\r\n      y.s = 1;\r\n    }\r\n    return y;\r\n  }\r\n\r\n  // Determine which is the bigger number. Prepend zeros to equalise exponents.\r\n  if (a = xe - ye) {\r\n\r\n    if (xlty = a < 0) {\r\n      a = -a;\r\n      t = xc;\r\n    } else {\r\n      ye = xe;\r\n      t = yc;\r\n    }\r\n\r\n    t.reverse();\r\n    for (b = a; b--;) t.push(0);\r\n    t.reverse();\r\n  } else {\r\n\r\n    // Exponents equal. Check digit by digit.\r\n    j = ((xlty = xc.length < yc.length) ? xc : yc).length;\r\n\r\n    for (a = b = 0; b < j; b++) {\r\n      if (xc[b] != yc[b]) {\r\n        xlty = xc[b] < yc[b];\r\n        break;\r\n      }\r\n    }\r\n  }\r\n\r\n  // x < y? Point xc to the array of the bigger number.\r\n  if (xlty) {\r\n    t = xc;\r\n    xc = yc;\r\n    yc = t;\r\n    y.s = -y.s;\r\n  }\r\n\r\n  /*\r\n   * Append zeros to xc if shorter. No need to add zeros to yc if shorter as subtraction only\r\n   * needs to start at yc.length.\r\n   */\r\n  if ((b = (j = yc.length) - (i = xc.length)) > 0) for (; b--;) xc[i++] = 0;\r\n\r\n  // Subtract yc from xc.\r\n  for (b = i; j > a;) {\r\n    if (xc[--j] < yc[j]) {\r\n      for (i = j; i && !xc[--i];) xc[i] = 9;\r\n      --xc[i];\r\n      xc[j] += 10;\r\n    }\r\n\r\n    xc[j] -= yc[j];\r\n  }\r\n\r\n  // Remove trailing zeros.\r\n  for (; xc[--b] === 0;) xc.pop();\r\n\r\n  // Remove leading zeros and adjust exponent accordingly.\r\n  for (; xc[0] === 0;) {\r\n    xc.shift();\r\n    --ye;\r\n  }\r\n\r\n  if (!xc[0]) {\r\n\r\n    // n - n = +0\r\n    y.s = 1;\r\n\r\n    // Result must be zero.\r\n    xc = [ye = 0];\r\n  }\r\n\r\n  y.c = xc;\r\n  y.e = ye;\r\n\r\n  return y;\r\n};\r\n\r\n\r\n/*\r\n * Return a new Big whose value is the value of this Big modulo the value of Big y.\r\n */\r\nP.mod = function (y) {\r\n  var ygtx,\r\n    x = this,\r\n    Big = x.constructor,\r\n    a = x.s,\r\n    b = (y = new Big(y)).s;\r\n\r\n  if (!y.c[0]) {\r\n    throw Error(DIV_BY_ZERO);\r\n  }\r\n\r\n  x.s = y.s = 1;\r\n  ygtx = y.cmp(x) == 1;\r\n  x.s = a;\r\n  y.s = b;\r\n\r\n  if (ygtx) return new Big(x);\r\n\r\n  a = Big.DP;\r\n  b = Big.RM;\r\n  Big.DP = Big.RM = 0;\r\n  x = x.div(y);\r\n  Big.DP = a;\r\n  Big.RM = b;\r\n\r\n  return this.minus(x.times(y));\r\n};\r\n\r\n\r\n/*\r\n * Return a new Big whose value is the value of this Big negated.\r\n */\r\nP.neg = function () {\r\n  var x = new this.constructor(this);\r\n  x.s = -x.s;\r\n  return x;\r\n};\r\n\r\n\r\n/*\r\n * Return a new Big whose value is the value of this Big plus the value of Big y.\r\n */\r\nP.plus = P.add = function (y) {\r\n  var e, k, t,\r\n    x = this,\r\n    Big = x.constructor;\r\n\r\n  y = new Big(y);\r\n\r\n  // Signs differ?\r\n  if (x.s != y.s) {\r\n    y.s = -y.s;\r\n    return x.minus(y);\r\n  }\r\n\r\n  var xe = x.e,\r\n    xc = x.c,\r\n    ye = y.e,\r\n    yc = y.c;\r\n\r\n  // Either zero?\r\n  if (!xc[0] || !yc[0]) {\r\n    if (!yc[0]) {\r\n      if (xc[0]) {\r\n        y = new Big(x);\r\n      } else {\r\n        y.s = x.s;\r\n      }\r\n    }\r\n    return y;\r\n  }\r\n\r\n  xc = xc.slice();\r\n\r\n  // Prepend zeros to equalise exponents.\r\n  // Note: reverse faster than unshifts.\r\n  if (e = xe - ye) {\r\n    if (e > 0) {\r\n      ye = xe;\r\n      t = yc;\r\n    } else {\r\n      e = -e;\r\n      t = xc;\r\n    }\r\n\r\n    t.reverse();\r\n    for (; e--;) t.push(0);\r\n    t.reverse();\r\n  }\r\n\r\n  // Point xc to the longer array.\r\n  if (xc.length - yc.length < 0) {\r\n    t = yc;\r\n    yc = xc;\r\n    xc = t;\r\n  }\r\n\r\n  e = yc.length;\r\n\r\n  // Only start adding at yc.length - 1 as the further digits of xc can be left as they are.\r\n  for (k = 0; e; xc[e] %= 10) k = (xc[--e] = xc[e] + yc[e] + k) / 10 | 0;\r\n\r\n  // No need to check for zero, as +x + +y != 0 && -x + -y != 0\r\n\r\n  if (k) {\r\n    xc.unshift(k);\r\n    ++ye;\r\n  }\r\n\r\n  // Remove trailing zeros.\r\n  for (e = xc.length; xc[--e] === 0;) xc.pop();\r\n\r\n  y.c = xc;\r\n  y.e = ye;\r\n\r\n  return y;\r\n};\r\n\r\n\r\n/*\r\n * Return a Big whose value is the value of this Big raised to the power n.\r\n * If n is negative, round to a maximum of Big.DP decimal places using rounding\r\n * mode Big.RM.\r\n *\r\n * n {number} Integer, -MAX_POWER to MAX_POWER inclusive.\r\n */\r\nP.pow = function (n) {\r\n  var x = this,\r\n    one = new x.constructor('1'),\r\n    y = one,\r\n    isneg = n < 0;\r\n\r\n  if (n !== ~~n || n < -MAX_POWER || n > MAX_POWER) {\r\n    throw Error(INVALID + 'exponent');\r\n  }\r\n\r\n  if (isneg) n = -n;\r\n\r\n  for (;;) {\r\n    if (n & 1) y = y.times(x);\r\n    n >>= 1;\r\n    if (!n) break;\r\n    x = x.times(x);\r\n  }\r\n\r\n  return isneg ? one.div(y) : y;\r\n};\r\n\r\n\r\n/*\r\n * Return a new Big whose value is the value of this Big rounded to a maximum precision of sd\r\n * significant digits using rounding mode rm, or Big.RM if rm is not specified.\r\n *\r\n * sd {number} Significant digits: integer, 1 to MAX_DP inclusive.\r\n * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).\r\n */\r\nP.prec = function (sd, rm) {\r\n  if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {\r\n    throw Error(INVALID + 'precision');\r\n  }\r\n  return round(new this.constructor(this), sd, rm);\r\n};\r\n\r\n\r\n/*\r\n * Return a new Big whose value is the value of this Big rounded to a maximum of dp decimal places\r\n * using rounding mode rm, or Big.RM if rm is not specified.\r\n * If dp is negative, round to an integer which is a multiple of 10**-dp.\r\n * If dp is not specified, round to 0 decimal places.\r\n *\r\n * dp? {number} Integer, -MAX_DP to MAX_DP inclusive.\r\n * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).\r\n */\r\nP.round = function (dp, rm) {\r\n  if (dp === UNDEFINED) dp = 0;\r\n  else if (dp !== ~~dp || dp < -MAX_DP || dp > MAX_DP) {\r\n    throw Error(INVALID_DP);\r\n  }\r\n  return round(new this.constructor(this), dp + this.e + 1, rm);\r\n};\r\n\r\n\r\n/*\r\n * Return a new Big whose value is the square root of the value of this Big, rounded, if\r\n * necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.\r\n */\r\nP.sqrt = function () {\r\n  var r, c, t,\r\n    x = this,\r\n    Big = x.constructor,\r\n    s = x.s,\r\n    e = x.e,\r\n    half = new Big('0.5');\r\n\r\n  // Zero?\r\n  if (!x.c[0]) return new Big(x);\r\n\r\n  // Negative?\r\n  if (s < 0) {\r\n    throw Error(NAME + 'No square root');\r\n  }\r\n\r\n  // Estimate.\r\n  s = Math.sqrt(x + '');\r\n\r\n  // Math.sqrt underflow/overflow?\r\n  // Re-estimate: pass x coefficient to Math.sqrt as integer, then adjust the result exponent.\r\n  if (s === 0 || s === 1 / 0) {\r\n    c = x.c.join('');\r\n    if (!(c.length + e & 1)) c += '0';\r\n    s = Math.sqrt(c);\r\n    e = ((e + 1) / 2 | 0) - (e < 0 || e & 1);\r\n    r = new Big((s == 1 / 0 ? '5e' : (s = s.toExponential()).slice(0, s.indexOf('e') + 1)) + e);\r\n  } else {\r\n    r = new Big(s + '');\r\n  }\r\n\r\n  e = r.e + (Big.DP += 4);\r\n\r\n  // Newton-Raphson iteration.\r\n  do {\r\n    t = r;\r\n    r = half.times(t.plus(x.div(t)));\r\n  } while (t.c.slice(0, e).join('') !== r.c.slice(0, e).join(''));\r\n\r\n  return round(r, (Big.DP -= 4) + r.e + 1, Big.RM);\r\n};\r\n\r\n\r\n/*\r\n * Return a new Big whose value is the value of this Big times the value of Big y.\r\n */\r\nP.times = P.mul = function (y) {\r\n  var c,\r\n    x = this,\r\n    Big = x.constructor,\r\n    xc = x.c,\r\n    yc = (y = new Big(y)).c,\r\n    a = xc.length,\r\n    b = yc.length,\r\n    i = x.e,\r\n    j = y.e;\r\n\r\n  // Determine sign of result.\r\n  y.s = x.s == y.s ? 1 : -1;\r\n\r\n  // Return signed 0 if either 0.\r\n  if (!xc[0] || !yc[0]) {\r\n    y.c = [y.e = 0];\r\n    return y;\r\n  }\r\n\r\n  // Initialise exponent of result as x.e + y.e.\r\n  y.e = i + j;\r\n\r\n  // If array xc has fewer digits than yc, swap xc and yc, and lengths.\r\n  if (a < b) {\r\n    c = xc;\r\n    xc = yc;\r\n    yc = c;\r\n    j = a;\r\n    a = b;\r\n    b = j;\r\n  }\r\n\r\n  // Initialise coefficient array of result with zeros.\r\n  for (c = new Array(j = a + b); j--;) c[j] = 0;\r\n\r\n  // Multiply.\r\n\r\n  // i is initially xc.length.\r\n  for (i = b; i--;) {\r\n    b = 0;\r\n\r\n    // a is yc.length.\r\n    for (j = a + i; j > i;) {\r\n\r\n      // Current sum of products at this digit position, plus carry.\r\n      b = c[j] + yc[i] * xc[j - i - 1] + b;\r\n      c[j--] = b % 10;\r\n\r\n      // carry\r\n      b = b / 10 | 0;\r\n    }\r\n\r\n    c[j] = b;\r\n  }\r\n\r\n  // Increment result exponent if there is a final carry, otherwise remove leading zero.\r\n  if (b) ++y.e;\r\n  else c.shift();\r\n\r\n  // Remove trailing zeros.\r\n  for (i = c.length; !c[--i];) c.pop();\r\n  y.c = c;\r\n\r\n  return y;\r\n};\r\n\r\n\r\n/*\r\n * Return a string representing the value of this Big in exponential notation rounded to dp fixed\r\n * decimal places using rounding mode rm, or Big.RM if rm is not specified.\r\n *\r\n * dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.\r\n * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).\r\n */\r\nP.toExponential = function (dp, rm) {\r\n  var x = this,\r\n    n = x.c[0];\r\n\r\n  if (dp !== UNDEFINED) {\r\n    if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {\r\n      throw Error(INVALID_DP);\r\n    }\r\n    x = round(new x.constructor(x), ++dp, rm);\r\n    for (; x.c.length < dp;) x.c.push(0);\r\n  }\r\n\r\n  return stringify(x, true, !!n);\r\n};\r\n\r\n\r\n/*\r\n * Return a string representing the value of this Big in normal notation rounded to dp fixed\r\n * decimal places using rounding mode rm, or Big.RM if rm is not specified.\r\n *\r\n * dp? {number} Decimal places: integer, 0 to MAX_DP inclusive.\r\n * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).\r\n *\r\n * (-0).toFixed(0) is '0', but (-0.1).toFixed(0) is '-0'.\r\n * (-0).toFixed(1) is '0.0', but (-0.01).toFixed(1) is '-0.0'.\r\n */\r\nP.toFixed = function (dp, rm) {\r\n  var x = this,\r\n    n = x.c[0];\r\n\r\n  if (dp !== UNDEFINED) {\r\n    if (dp !== ~~dp || dp < 0 || dp > MAX_DP) {\r\n      throw Error(INVALID_DP);\r\n    }\r\n    x = round(new x.constructor(x), dp + x.e + 1, rm);\r\n\r\n    // x.e may have changed if the value is rounded up.\r\n    for (dp = dp + x.e + 1; x.c.length < dp;) x.c.push(0);\r\n  }\r\n\r\n  return stringify(x, false, !!n);\r\n};\r\n\r\n\r\n/*\r\n * Return a string representing the value of this Big.\r\n * Return exponential notation if this Big has a positive exponent equal to or greater than\r\n * Big.PE, or a negative exponent equal to or less than Big.NE.\r\n * Omit the sign for negative zero.\r\n */\r\nP[Symbol.for('nodejs.util.inspect.custom')] = P.toJSON = P.toString = function () {\r\n  var x = this,\r\n    Big = x.constructor;\r\n  return stringify(x, x.e <= Big.NE || x.e >= Big.PE, !!x.c[0]);\r\n};\r\n\r\n\r\n/*\r\n * Return the value of this Big as a primitve number.\r\n */\r\nP.toNumber = function () {\r\n  var n = Number(stringify(this, true, true));\r\n  if (this.constructor.strict === true && !this.eq(n.toString())) {\r\n    throw Error(NAME + 'Imprecise conversion');\r\n  }\r\n  return n;\r\n};\r\n\r\n\r\n/*\r\n * Return a string representing the value of this Big rounded to sd significant digits using\r\n * rounding mode rm, or Big.RM if rm is not specified.\r\n * Use exponential notation if sd is less than the number of digits necessary to represent\r\n * the integer part of the value in normal notation.\r\n *\r\n * sd {number} Significant digits: integer, 1 to MAX_DP inclusive.\r\n * rm? {number} Rounding mode: 0 (down), 1 (half-up), 2 (half-even) or 3 (up).\r\n */\r\nP.toPrecision = function (sd, rm) {\r\n  var x = this,\r\n    Big = x.constructor,\r\n    n = x.c[0];\r\n\r\n  if (sd !== UNDEFINED) {\r\n    if (sd !== ~~sd || sd < 1 || sd > MAX_DP) {\r\n      throw Error(INVALID + 'precision');\r\n    }\r\n    x = round(new Big(x), sd, rm);\r\n    for (; x.c.length < sd;) x.c.push(0);\r\n  }\r\n\r\n  return stringify(x, sd <= x.e || x.e <= Big.NE || x.e >= Big.PE, !!n);\r\n};\r\n\r\n\r\n/*\r\n * Return a string representing the value of this Big.\r\n * Return exponential notation if this Big has a positive exponent equal to or greater than\r\n * Big.PE, or a negative exponent equal to or less than Big.NE.\r\n * Include the sign for negative zero.\r\n */\r\nP.valueOf = function () {\r\n  var x = this,\r\n    Big = x.constructor;\r\n  if (Big.strict === true) {\r\n    throw Error(NAME + 'valueOf disallowed');\r\n  }\r\n  return stringify(x, x.e <= Big.NE || x.e >= Big.PE, true);\r\n};\r\n\r\n\r\n// Export\r\n\r\n\r\nvar Big = _Big_();\r\n\r\n/// <reference types=\"https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/master/types/big.js/index.d.ts\" />\r\n/* harmony default export */ __webpack_exports__[\"default\"] = (Big);\r\n\n\n//# sourceURL=webpack://bos-platform/../../node_modules/@kdcloudjs/kdesign/node_modules/big.js/big.mjs?");

/***/ })

}]);