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

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

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.from.js */ \"../../node_modules/core-js/modules/es.array.from.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.slice.js */ \"../../node_modules/core-js/modules/es.array.slice.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-string.js */ \"../../node_modules/core-js/modules/es.date.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ \"../../node_modules/core-js/modules/es.regexp.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = KDLightTable;\n__webpack_require__(/*! core-js/modules/es.array.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _BaseTable = _interopRequireDefault(__webpack_require__(/*! @/component/web/base/BaseTable.js */ \"./src/component/web/base/BaseTable.js\"));\nvar _TableConfig = _interopRequireDefault(__webpack_require__(/*! @/component/common/table/TableConfig.js */ \"./src/component/common/table/TableConfig.js\"));\nvar _TableController = _interopRequireDefault(__webpack_require__(/*! @/component/common/table/TableController.js */ \"./src/component/common/table/TableController.js\"));\nvar _tableDispatch = _interopRequireDefault(__webpack_require__(/*! @/component/common/table/tableDispatch.js */ \"./src/component/common/table/tableDispatch.js\"));\nvar _TableShell = _interopRequireDefault(__webpack_require__(/*! @/component/common/table/TableShell.js */ \"./src/component/common/table/TableShell.js\"));\nvar _TablePoster = _interopRequireDefault(__webpack_require__(/*! @/component/common/table/TablePoster */ \"./src/component/common/table/TablePoster.js\"));\nvar _TableEventService = _interopRequireDefault(__webpack_require__(/*! @/component/common/table/eventService/TableEventService */ \"./src/component/common/table/eventService/TableEventService.js\"));\nvar _TableOptions = _interopRequireDefault(__webpack_require__(/*! ./TableOptions */ \"./src/component/web/DataGrid/KDLightTable/TableOptions.js\"));\nvar _index = __webpack_require__(/*! ./post/index */ \"./src/component/web/DataGrid/KDLightTable/post/index.js\");\nvar _tablePoster = __webpack_require__(/*! ./post/tablePoster */ \"./src/component/web/DataGrid/KDLightTable/post/tablePoster.js\");\nvar _index2 = _interopRequireDefault(__webpack_require__(/*! ./event/index.js */ \"./src/component/web/DataGrid/KDLightTable/event/index.js\"));\n__webpack_require__(/*! ./event/eventHandleDLC/index.js */ \"./src/component/web/DataGrid/KDLightTable/event/eventHandleDLC/index.js\");\nvar _componentutil = __webpack_require__(/*! @/util/componentutil */ \"./src/util/componentutil.js\");\nvar gridActions = _interopRequireWildcard(__webpack_require__(/*! @/action/gridaction */ \"./src/action/gridaction.js\"));\nvar _useVisible = _interopRequireDefault(__webpack_require__(/*! @/use/useVisible */ \"./src/use/useVisible.js\"));\nvar _params = __webpack_require__(/*! ../TableHelper/util/params */ \"./src/component/web/DataGrid/TableHelper/util/params.js\");\nvar _tableConfig = __webpack_require__(/*! ./tableConfig */ \"./src/component/web/DataGrid/KDLightTable/tableConfig.js\");\nvar _tableController = _interopRequireDefault(__webpack_require__(/*! ./tableController */ \"./src/component/web/DataGrid/KDLightTable/tableController.js\"));\nvar _useSetControlMount = _interopRequireDefault(__webpack_require__(/*! @/use/useSetControlMount */ \"./src/use/useSetControlMount.js\"));\nvar _index4 = __webpack_require__(/*! ./hooks/index */ \"./src/component/web/DataGrid/KDLightTable/hooks/index.js\");\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _table = _interopRequireDefault(__webpack_require__(/*! ../KDTable/style/table.less */ \"./src/component/web/DataGrid/KDTable/style/table.less\"));\nvar _KDTableAdapter = _interopRequireDefault(__webpack_require__(/*! @/component/web/tableAdapter/kd/KDTableAdapter.js */ \"./src/component/web/tableAdapter/kd/KDTableAdapter.js\"));\nvar _tableFactory = __webpack_require__(/*! @/component/common/table/tableFactory.js */ \"./src/component/common/table/tableFactory.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n(0, _tableFactory.registTableAdapter)('kd', _KDTableAdapter[\"default\"]);\nfunction KDLightTable(_ref) {\n  var model = _ref.model,\n    dispatch = _ref.dispatch;\n  var instance = (0, _react.useRef)({});\n  var actions = (0, _react.useMemo)(function () {\n    return (0, _componentutil.createActions)(gridActions, dispatch);\n  }, []);\n  var tableOptions = (0, _react.useMemo)(function () {\n    return new _TableOptions[\"default\"]();\n  }, []);\n  var tablePoster = (0, _react.useMemo)(function () {\n    return new _TablePoster[\"default\"]();\n  }, []);\n  var tableConfig = (0, _react.useMemo)(function () {\n    return new _TableConfig[\"default\"]((0, _tableConfig.getLightTableConfig)(model));\n  }, []);\n  var internalEventService = (0, _react.useMemo)(function () {\n    return new _TableEventService[\"default\"]();\n  }, []);\n  var getInstance = function getInstance() {\n    return instance.current;\n  };\n  var getActionByKey = function getActionByKey(key) {\n    return actions[key];\n  };\n  var getTableOptions = function getTableOptions() {\n    return tableOptions;\n  };\n  var getTableConfigImmediately = (0, _react.useCallback)(function () {\n    return tableConfig;\n  }, []);\n  var getInternalEventService = function getInternalEventService() {\n    return internalEventService;\n  };\n  var getDispatch = function getDispatch() {\n    return dispatch;\n  };\n  var getTablePoster = function getTablePoster() {\n    return tablePoster;\n  };\n\n  // 表格会延迟加载，先获取界面的宽度，在准备好之前，不做表格渲染具体逻辑，只会渲染表格骨架\n  var _useState = (0, _react.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    readyed = _useState2[0],\n    setReadyed = _useState2[1];\n  var containerEleRef = (0, _react.useRef)();\n  var wrapperEleRef = (0, _react.useRef)();\n  if (!instance.current.controller) {\n    instance.current.controller = new _TableController[\"default\"]((0, _tableController[\"default\"])(model, {\n      rowKey: tableConfig.rowKey,\n      mergeModel: {}\n    }));\n    instance.current.tableModel = instance.current.controller.model;\n  }\n\n  /* -------------------------------------------------------------------------- */\n  /* 界面初始化完毕                                                               */\n  /* -------------------------------------------------------------------------- */\n  (0, _react.useEffect)(function () {\n    // tablePoster 相关操作\n    tablePoster.init({\n      getInstance: getInstance,\n      getActionByKey: getActionByKey,\n      getTableOptions: getTableOptions,\n      getTableConfigImmediately: getTableConfigImmediately,\n      getDispatch: getDispatch\n    });\n    tablePoster.add('tipsShown', _tablePoster.postShowFormByTips);\n    tablePoster.add('tipsLinkClick', _tablePoster.postClickTipsLink);\n    tablePoster.add('postItemClick', _tablePoster.postItemClick);\n    tablePoster.add('postHyperLinkClick', _tablePoster.postHyperLinkClick);\n    tablePoster.add('postPageSelection', _tablePoster.postPageSelection);\n    tablePoster.add('postRowSelection', _tablePoster.postRowSelection);\n\n    // 初始化完成时设置行Props\n    tableConfig.setBusinessConfig({\n      getRowProps: (0, _tableConfig.createRowPropsGetter)({\n        getTableConfigImmediately: getTableConfigImmediately\n      })\n    });\n    return function () {\n      tablePoster.flush();\n    };\n  }, []);\n\n  /** 控件加载完成，可以接收控件方法 */\n  (0, _useSetControlMount[\"default\"])(model);\n\n  /* 表格初始大小和大小变化监听 ---------------------------------------------------- */\n  (0, _index4.useTableSize)({\n    getTableOptions: getTableOptions,\n    getInstance: getInstance,\n    getTableConfigImmediately: getTableConfigImmediately,\n    getInternalEventService: getInternalEventService,\n    wrapperEleRef: wrapperEleRef,\n    containerEleRef: containerEleRef,\n    setReadyed: setReadyed,\n    model: model\n  });\n  (0, _index4.useServeDirectives)({\n    readyed: readyed,\n    model: model,\n    getTableOptions: getTableOptions,\n    getInstance: getInstance,\n    getInternalEventService: getInternalEventService,\n    getTableConfigImmediately: getTableConfigImmediately\n  });\n\n  /**\n   * 事件处理的包装函数，构造公共参数并触发时候函数\n   * @param {*} eventCallback\n   * @param {*} eventParams\n   */\n  var handleTableEventWrap = function handleTableEventWrap(eventCallback, eventParams) {\n    var commonParams = {\n      // model: this$.current.model,\n      dispatch: dispatch,\n      getInstance: getInstance,\n      getTableConfigImmediately: getTableConfigImmediately,\n      getActionByKey: getActionByKey,\n      getTableOptions: getTableOptions,\n      getInternalEventService: getInternalEventService,\n      getTablePoster: getTablePoster\n    };\n    eventCallback(commonParams)(eventParams);\n  };\n  var onTableEvent = function onTableEvent(_ref2) {\n    var type = _ref2.type,\n      args = _ref2.args,\n      event = _ref2.event;\n    if (_index2[\"default\"][type]) {\n      handleTableEventWrap(_index2[\"default\"][type], {\n        type: type,\n        args: args\n      });\n    } else {\n      console.warn(\"[kd-table] \\u56DE\\u8C03\\u65B9\\u6CD5\\u4E0D\\u5B58\\u5728\\uFF1A\".concat(type));\n    }\n  };\n\n  // 表格样式\n  var style = (0, _params.getModelStyle)(model);\n  var modelClass = (0, _params.getModelClassName)(model);\n  var className = (0, _classnames[\"default\"])(_table[\"default\"]['table-container'], 'kd-table-container', _defineProperty({}, modelClass, !!modelClass));\n\n  // 表格可见性\n  var visibleAttachProps = (0, _useVisible[\"default\"])(model);\n  var isVisible = visibleAttachProps.isVisible;\n  if (!isVisible) {\n    style.display = 'none';\n  }\n  // 渲染表格\n  return /*#__PURE__*/_react[\"default\"].createElement(_index.PosterContext.Provider, {\n    value: tablePoster\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: className,\n    style: style,\n    ref: containerEleRef\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _table[\"default\"]['table-absolute-container']\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: _table[\"default\"]['table-wrapper'],\n    ref: wrapperEleRef\n  }, readyed ? /*#__PURE__*/_react[\"default\"].createElement(_BaseTable[\"default\"], {\n    tableType: \"kd\",\n    controller: instance.current.controller,\n    config: tableConfig,\n    dispatch: (0, _tableDispatch[\"default\"])(onTableEvent)\n  }) : /*#__PURE__*/_react[\"default\"].createElement(_TableShell[\"default\"], {\n    headerStyle: {\n      height: tableConfig.headerHeight\n    }\n  })))));\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/KDLightTable.js?");

/***/ }),

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

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\nvar _const = __webpack_require__(/*! @/component/common/table/const.js */ \"./src/component/common/table/const.js\");\nvar _element = __webpack_require__(/*! ../TableHelper/util/element */ \"./src/component/web/DataGrid/TableHelper/util/element.js\");\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nvar TableOptions = /*#__PURE__*/_createClass(function TableOptions() {\n  var _this = this;\n  _classCallCheck(this, TableOptions);\n  this.setGlobalOption = function (key, val) {\n    _this.globalOptions[key] = val;\n  };\n  this.getGlobalOptionsProperty = function (key) {\n    return _this.globalOptions[key];\n  };\n  this.setMaxLevel = function (val) {\n    _this.setGlobalOption('maxLevel', val);\n  };\n  this.getMaxLevel = function () {\n    return _this.getGlobalOptionsProperty('maxLevel');\n  };\n  this.setTableSize = function (val) {\n    _this.setGlobalOption(_const.TABLE_SIZE, val);\n  };\n  this.getTableSize = function () {\n    return _this.getGlobalOptionsProperty(_const.TABLE_SIZE);\n  };\n  this.setTableInitialHeight = function (height) {\n    _this.setGlobalOption('tableInitialHeight', height);\n  };\n  this.getTableInitialHeight = function () {\n    return _this.getGlobalOptionsProperty('tableInitialHeight');\n  };\n  this.getScrollBarSize = function () {\n    return _this.getGlobalOptionsProperty('scrollBarSize');\n  };\n  this.setDataIndex = function (dataIndex) {\n    return _this.setGlobalOption('dataIndex', dataIndex);\n  };\n  this.getDataIndex = function () {\n    return _this.getGlobalOptionsProperty('dataIndex');\n  };\n  this.setPostCols = function (postCols) {\n    return _this.setGlobalOption('postCols', postCols);\n  };\n  this.getPostCols = function () {\n    return _this.getGlobalOptionsProperty('postCols') || [];\n  };\n  // 表格全局通用的参数\n  this.globalOptions = _defineProperty({\n    maxLevel: 1,\n    scrollBarSize: (0, _element.caculateScrollContainerSize)()\n  }, _const.TABLE_SIZE, {\n    width: 0,\n    height: 0\n  });\n});\nvar _default = exports[\"default\"] = TableOptions;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/TableOptions.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/column/cellProps.js":
/*!*********************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/column/cellProps.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\nvar _serverproperties = __webpack_require__(/*! @/constant/serverproperties */ \"./src/constant/serverproperties.js\");\nvar getCellProps = function getCellProps(colMeta, _ref) {\n  var handleCellClick = _ref.handleCellClick,\n    rowKey = _ref.rowKey;\n  return function (value, record, rowIndex) {\n    var code = colMeta.get('dataIndex', '');\n    var bc = colMeta.get(_serverproperties.BACKGROUND_COLOR);\n    var fc = colMeta.get(_serverproperties.COLOR);\n    var fs = colMeta.get(_serverproperties.FONT_SIZE);\n    var cellStyle = {\n      backgroundColor: bc,\n      color: fc,\n      fontSize: fs\n    };\n    return {\n      style: cellStyle,\n      onClick: handleCellClick === null || handleCellClick === void 0 ? void 0 : handleCellClick(code, record[rowKey])\n    };\n  };\n};\nvar _default = exports[\"default\"] = getCellProps;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/column/cellProps.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/column/cellValue.js":
/*!*********************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/column/cellValue.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\nvar _cellValueFormatting = __webpack_require__(/*! ../format/cellValueFormatting */ \"./src/component/web/DataGrid/KDLightTable/format/cellValueFormatting.js\");\n// todo:这个敲定只有文本列一个列类型，这个后续可以考虑去掉\nfunction getValueFormattingFn(_ref) {\n  var column = _ref.column,\n    editor = _ref.editor,\n    localeId = _ref.localeId,\n    defaultLocalId = _ref.defaultLocalId,\n    getColPropertyByData = _ref.getColPropertyByData;\n  var extendParams = column.extendParams,\n    type = column.type,\n    code = column.code;\n  // 存在格式化函数的\n  if (_cellValueFormatting.FORMATTING_VALUE_FUNCTION_MAP[type]) {\n    return function (row, rowIndex) {\n      return _cellValueFormatting.FORMATTING_VALUE_FUNCTION_MAP[type](row[code], {\n        editor: editor === null || editor === void 0 ? void 0 : editor.toJS(),\n        column: column,\n        localeId: localeId,\n        defaultLocalId: defaultLocalId,\n        getColPropertyByData: getColPropertyByData\n      });\n    };\n  }\n\n  // 不满足条件的不设置格式化函数，渲染器单独处理\n}\nvar _default = exports[\"default\"] = getValueFormattingFn;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/column/cellValue.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/column/columnAlign.js":
/*!***********************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/column/columnAlign.js ***!
  \***********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = getAlign;\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _align = __webpack_require__(/*! ../../TableHelper/column/align */ \"./src/component/web/DataGrid/TableHelper/column/align.js\");\nfunction getAlign(colMeta, _ref) {\n  var seqKey = _ref.seqKey;\n  var settingAlign = colMeta.get('text-align');\n  if (settingAlign) {\n    return settingAlign;\n  }\n  var editor = colMeta.get('editor', (0, _immutable.Map)());\n  var colType = editor.get('type');\n  var isGroup = !!colMeta.get('children');\n  return (0, _align.getDefaultAlign)({\n    colType: colType,\n    isGroup: isGroup,\n    isSeq: colMeta.get('dataIndex') === seqKey\n  });\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/column/columnAlign.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/column/columnDef.js":
/*!*********************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/column/columnDef.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.createColumn = createColumn;\nexports[\"default\"] = convertColumns;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _columnWidth = _interopRequireDefault(__webpack_require__(/*! ./columnWidth */ \"./src/component/web/DataGrid/KDLightTable/column/columnWidth.js\"));\nvar _columnAlign = _interopRequireDefault(__webpack_require__(/*! ./columnAlign */ \"./src/component/web/DataGrid/KDLightTable/column/columnAlign.js\"));\nvar _columnTitle = _interopRequireDefault(__webpack_require__(/*! ./columnTitle */ \"./src/component/web/DataGrid/KDLightTable/column/columnTitle.js\"));\nvar _columnVisiblity = _interopRequireDefault(__webpack_require__(/*! ./columnVisiblity */ \"./src/component/web/DataGrid/KDLightTable/column/columnVisiblity.js\"));\nvar _columnUtils = __webpack_require__(/*! ./columnUtils */ \"./src/component/web/DataGrid/KDLightTable/column/columnUtils.js\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _index = _interopRequireDefault(__webpack_require__(/*! ./render/index */ \"./src/component/web/DataGrid/KDLightTable/column/render/index.js\"));\nvar _cellValue = _interopRequireDefault(__webpack_require__(/*! ./cellValue */ \"./src/component/web/DataGrid/KDLightTable/column/cellValue.js\"));\nvar _cellProps = _interopRequireDefault(__webpack_require__(/*! ./cellProps */ \"./src/component/web/DataGrid/KDLightTable/column/cellProps.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction createColumn(colMeta, _ref) {\n  var localeId = _ref.localeId,\n    defaultLocalId = _ref.defaultLocalId,\n    config = _ref.config,\n    seqKey = _ref.seqKey,\n    rowKey = _ref.rowKey,\n    rowHeight = _ref.rowHeight,\n    autoHeight = _ref.autoHeight,\n    maxRowHeight = _ref.maxRowHeight,\n    tableWidth = _ref.tableWidth,\n    parentCol = _ref.parentCol,\n    getVisibleByViNumber = _ref.getVisibleByViNumber,\n    getColPropertyByData = _ref.getColPropertyByData,\n    pageId = _ref.pageId,\n    id = _ref.id,\n    handleCellClick = _ref.handleCellClick;\n  var extendParams = {};\n  var column = {\n    extendParams: extendParams\n  };\n  column.code = colMeta.get('dataIndex', '');\n  column.name = column.code === seqKey ? (0, _intlApi.getLangMsg)('grid.key0058') : colMeta.getIn(['header', localeId || defaultLocalId], '');\n  column.features = {};\n  var editor = colMeta.get('editor');\n  var colType = colMeta.getIn(['editor', 'type']);\n  column.type = colType;\n  column.width = (0, _columnWidth[\"default\"])({\n    colMeta: colMeta,\n    editor: editor,\n    localeId: localeId,\n    defaultLocalId: defaultLocalId,\n    seqKey: seqKey,\n    tableWidth: tableWidth\n  });\n  column.align = (0, _columnAlign[\"default\"])(colMeta, {\n    seqKey: seqKey\n  });\n  column.title = (0, _columnTitle[\"default\"])({\n    localeId: localeId,\n    name: column.name,\n    align: column.align,\n    tipsConfig: colMeta.get('tips')\n  });\n  if (colMeta.get('isFixed') || column.code === seqKey) {\n    // 1.后端设置固定 2.序号列 3.分组列固定，子全部固定才会固定*\n    column.lock = true;\n  }\n  var isHyperlink = colMeta.get('ln');\n  Object.assign(extendParams, {\n    isHyperlink: isHyperlink,\n    editor: editor === null || editor === void 0 ? void 0 : editor.toJS()\n  });\n  column.hide = (0, _columnVisiblity[\"default\"])({\n    colMeta: colMeta,\n    col: column,\n    parentCol: parentCol,\n    getVisibleByViNumber: getVisibleByViNumber,\n    getColPropertyByData: getColPropertyByData,\n    editor: editor\n  });\n  column.getCellProps = (0, _cellProps[\"default\"])(colMeta, {\n    handleCellClick: handleCellClick,\n    rowKey: rowKey\n  });\n  // 设置值格式化处理函数，注意表格后续的单元格取值都会取到格式化值，如果需要取原始值只能通过行数据取\n  column.getValue = (0, _cellValue[\"default\"])({\n    column: column,\n    editor: editor,\n    localeId: localeId,\n    defaultLocalId: defaultLocalId,\n    getColPropertyByData: getColPropertyByData\n  });\n  column.render = (0, _index[\"default\"])({\n    type: column.type\n  }, {\n    rowHeight: rowHeight,\n    autoHeight: autoHeight,\n    maxRowHeight: maxRowHeight,\n    config: config,\n    column: column,\n    editor: editor,\n    localeId: localeId,\n    defaultLocalId: defaultLocalId\n  });\n  return column;\n}\nfunction convertColumns(metaCols, columnDefParams) {\n  if (!_immutable.List.isList(metaCols) || metaCols.size === 0) {\n    return [];\n  }\n  var maxLevel = 1;\n  return metaCols.map(function (colMeta) {\n    var colDef = createColumn(colMeta, columnDefParams);\n    var level = (0, _columnUtils.getLevel)({\n      columnDefParams: columnDefParams,\n      maxLevel: maxLevel\n    });\n    colDef.level = level;\n    maxLevel = Math.max(level, maxLevel);\n\n    // 分组列\n    colDef = (0, _columnUtils.createGroupCol)(colDef, {\n      columnDefParams: columnDefParams,\n      colMeta: colMeta,\n      convertColumns: convertColumns\n    });\n    return colDef;\n  }).toJS();\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/column/columnDef.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/column/columnTitle.js":
/*!***********************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/column/columnTitle.js ***!
  \***********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _headerTips = __webpack_require__(/*! ../../TableHelper/render/headerTips */ \"./src/component/web/DataGrid/TableHelper/render/headerTips.js\");\nvar _index = __webpack_require__(/*! ../post/index */ \"./src/component/web/DataGrid/KDLightTable/post/index.js\");\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction getColumnTitle(props) {\n  return /*#__PURE__*/_react[\"default\"].createElement(Title, props);\n}\nfunction Title(_ref) {\n  var name = _ref.name,\n    align = _ref.align,\n    tipsConfig = _ref.tipsConfig,\n    localeId = _ref.localeId;\n  var justifyContent = align === 'right' ? 'flex-end' : align === 'center' ? 'center' : 'flex-start';\n  var poster = (0, _react.useContext)(_index.PosterContext);\n  var showFormByTips = function showFormByTips(formId, targetCtrlKey) {\n    var triggerType = tipsConfig.get('triggerType');\n    poster.send({\n      type: 'tipsShown',\n      args: {\n        formId: formId,\n        targetCtrlKey: targetCtrlKey,\n        triggerType: triggerType\n      }\n    });\n  };\n  var clickTipsLink = function clickTipsLink(code) {\n    poster.send({\n      type: 'tipsLinkClick',\n      args: {\n        code: code\n      }\n    });\n  };\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n    className: \"kd-table-header-title-wrap\",\n    style: {\n      textAlign: align,\n      justifyContent: justifyContent\n    }\n  }, /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: \"kd-table-header-title\"\n  }, name), tipsConfig && /*#__PURE__*/_react[\"default\"].createElement(_headerTips.HeaderTips, {\n    tipsConfig: tipsConfig,\n    localeId: localeId,\n    showFormByTips: showFormByTips,\n    clickTipsLink: clickTipsLink\n  }));\n}\nvar _default = exports[\"default\"] = getColumnTitle;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/column/columnTitle.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/column/columnUtils.js":
/*!***********************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/column/columnUtils.js ***!
  \***********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.js\");\n__webpack_require__(/*! core-js/modules/es.array.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.createGroupCol = createGroupCol;\nexports.getLevel = getLevel;\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction getLevel(_ref) {\n  var columnDefParams = _ref.columnDefParams,\n    maxLevel = _ref.maxLevel;\n  var level = columnDefParams.parentCol ? columnDefParams.parentCol.level + 1 : 1;\n  // 最大层级存到tableGlobalOptions\n  if (level > maxLevel) {\n    columnDefParams.setMaxLevel(level);\n  }\n  return level;\n}\n\n// 构建分组列\nfunction createGroupCol(colDef, _ref2) {\n  var columnDefParams = _ref2.columnDefParams,\n    colMeta = _ref2.colMeta,\n    convertColumns = _ref2.convertColumns;\n  if (colMeta.get('children')) {\n    // 分组列\n    colDef.children = convertColumns(colMeta.get('children'), _objectSpread(_objectSpread({}, columnDefParams), {}, {\n      parentCol: colDef\n    }));\n  }\n  return colDef;\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/column/columnUtils.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/column/columnVisiblity.js":
/*!***************************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/column/columnVisiblity.js ***!
  \***************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\nvar _visibility = __webpack_require__(/*! ../../TableHelper/column/visibility */ \"./src/component/web/DataGrid/TableHelper/column/visibility.js\");\nfunction getColumnHidden(_ref) {\n  var colMeta = _ref.colMeta,\n    col = _ref.col,\n    parentCol = _ref.parentCol,\n    getVisibleByViNumber = _ref.getVisibleByViNumber,\n    getColPropertyByData = _ref.getColPropertyByData,\n    editor = _ref.editor;\n  return (0, _visibility.getColHidden)({\n    vi: colMeta.get('vi'),\n    visible: colMeta.get('visible'),\n    colId: col.code,\n    parentColHide: parentCol && parentCol.hide,\n    getVisibleByNum: getVisibleByViNumber,\n    visibleData: getColPropertyByData && getColPropertyByData(['colVisb', col.code]),\n    editor: editor\n  });\n}\nvar _default = exports[\"default\"] = getColumnHidden;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/column/columnVisiblity.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/column/columnWidth.js":
/*!***********************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/column/columnWidth.js ***!
  \***********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = getColumnWidth;\nvar _width = __webpack_require__(/*! ../../TableHelper/column/width */ \"./src/component/web/DataGrid/TableHelper/column/width.js\");\nfunction getColumnWidth(_ref) {\n  var colMeta = _ref.colMeta,\n    editor = _ref.editor,\n    localeId = _ref.localeId,\n    defaultLocalId = _ref.defaultLocalId,\n    seqKey = _ref.seqKey,\n    tableWidth = _ref.tableWidth;\n  var widthSize = colMeta.get('w');\n  var widthNum = colMeta.get('width');\n  var type = editor && editor.get('type');\n  var colWidth = (0, _width.getWidth)({\n    widthSize: widthSize && widthSize.toJS ? widthSize.toJS() : widthSize,\n    localeId: localeId,\n    defaultLocalId: defaultLocalId\n  }, {\n    widthNum: widthNum,\n    getPercentWidth: _getPercentWidth({\n      tableWidth: tableWidth,\n      type: type\n    })\n  });\n  var isNotSetWidth = colWidth == null || isNaN(colWidth) || colWidth === 0;\n  if (isNotSetWidth) {\n    colWidth = getColumnDefaultWidth({\n      colId: colMeta.get('dataIndex', ''),\n      seqKey: seqKey,\n      editor: editor\n    });\n  }\n  return colWidth;\n}\nfunction getColumnDefaultWidth(_ref2) {\n  var colId = _ref2.colId,\n    seqKey = _ref2.seqKey,\n    editor = _ref2.editor;\n  var colWidth;\n  var type = editor === null || editor === void 0 ? void 0 : editor.get('type');\n  // 3. 默认列宽\n  if (colId === seqKey) {\n    colWidth = _width.DEFAULT_COLUMN_WIDTH._seq;\n  } else {\n    colWidth = (0, _width.getDefaultWidth)(type);\n  }\n  return colWidth;\n}\nvar _getPercentWidth = function _getPercentWidth(_ref3) {\n  var tableWidth = _ref3.tableWidth,\n    type = _ref3.type;\n  return function (percent) {\n    if (!tableWidth) {\n      console.warn('表格宽度未获得，设置为默认列宽');\n      return (0, _width.getDefaultWidth)(type);\n    }\n    return tableWidth * percent;\n  };\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/column/columnWidth.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/column/render/OperationCellRenderer.js":
/*!****************************************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/column/render/OperationCellRenderer.js ***!
  \****************************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.js\");\n__webpack_require__(/*! core-js/modules/es.array.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.js\");\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _operationComponent = __webpack_require__(/*! ../../../TableHelper/render/operationComponent */ \"./src/component/web/DataGrid/TableHelper/render/operationComponent.js\");\nvar _index = __webpack_require__(/*! ../../post/index */ \"./src/component/web/DataGrid/KDLightTable/post/index.js\");\nvar _index2 = _interopRequireDefault(__webpack_require__(/*! ./style/index.less */ \"./src/component/web/DataGrid/KDLightTable/column/render/style/index.less\"));\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/component/web/DataGrid/KDLightTable/column/render/utils/index.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nvar OperationCellRenderer = function OperationCellRenderer(_ref) {\n  var rowHeight = _ref.rowHeight,\n    autoHeight = _ref.autoHeight,\n    maxRowHeight = _ref.maxRowHeight,\n    column = _ref.column,\n    editor = _ref.editor,\n    localeId = _ref.localeId,\n    defaultLocalId = _ref.defaultLocalId;\n  return function () {\n    var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n    var record = arguments.length > 1 ? arguments[1] : undefined;\n    var rowIndex = arguments.length > 2 ? arguments[2] : undefined;\n    var poster = (0, _react.useContext)(_index.PosterContext);\n    var align = column.align;\n    var opts = editor.opr || []; // 定义操作项\n    var showType = editor.showType; // 展示形式\n    var _localId = localeId || defaultLocalId || 'zh_CN';\n    var _handleOperation = function handleOperation(e, item) {\n      var locked = item.locked,\n        opk = item.opk,\n        id = item.id;\n      if (locked) return;\n      poster.send({\n        type: 'postItemClick',\n        args: {\n          itemId: id,\n          opk: opk,\n          record: record,\n          rowIndex: rowIndex\n        }\n      });\n      e.stopPropagation();\n    };\n    var getOperationItems = function getOperationItems() {\n      return opts.map(function (item) {\n        var _item = _objectSpread({}, item);\n        var optItemValue = value.filter(function (v) {\n          return v.opk === item.opk;\n        });\n        optItemValue.forEach(function (valItem) {\n          typeof valItem.fontSize !== 'undefined' && (_item.fontSize = valItem.fontSize);\n          typeof valItem.foreColor !== 'undefined' && (_item.foreColor = valItem.foreColor);\n          typeof valItem.locked !== 'undefined' && (_item.locked = valItem.locked); // 数据锁定\n          typeof valItem.visible !== 'undefined' && (_item.visible = valItem.visible); // 数据可见\n          typeof valItem.operationName !== 'undefined' && (_item.operationName = valItem.operationName); // 操作名称\n        });\n        var showStyle = _item.showStyle,\n          locked = _item.locked,\n          visible = _item.visible,\n          text = _item.text,\n          iconUrl = _item.iconUrl,\n          fontSize = _item.fontSize,\n          foreColor = _item.foreColor,\n          operationName = _item.operationName;\n        if (!visible) return;\n        var className = (0, _classnames[\"default\"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _index2[\"default\"]['operate-item'], true), _index2[\"default\"]['operate-text'], showStyle === 0), _index2[\"default\"]['operate-item-enable'], !locked), 'disabled-fc', locked));\n        var style = {\n          color: locked === true ? '' : foreColor,\n          fontSize: fontSize\n        };\n        if (showStyle === 0) {\n          return /*#__PURE__*/_react[\"default\"].createElement(_operationComponent.OperationText, {\n            style: style,\n            className: className,\n            operationName: operationName && operationName[_localId] || text[_localId],\n            handleOperation: function handleOperation(e) {\n              return _handleOperation(e, _item);\n            }\n          });\n        } else if (showStyle === 1) {\n          return /*#__PURE__*/_react[\"default\"].createElement(_operationComponent.OperationIcon, {\n            style: style,\n            className: className,\n            operationName: operationName && operationName[_localId] || text[_localId],\n            iconUrl: iconUrl,\n            locked: locked,\n            handleOperation: function handleOperation(e) {\n              return _handleOperation(e, _item);\n            }\n          });\n        }\n      });\n    };\n    var className = (0, _utils.getCellClass)(autoHeight);\n    var style = (0, _utils.getCellStyle)();\n    var cellContainerStyle = (0, _utils.getCellContainerStyle)({\n      rowHeight: rowHeight,\n      autoHeight: autoHeight,\n      maxRowHeight: maxRowHeight,\n      align: align\n    });\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _index2[\"default\"]['cell-container'],\n      style: cellContainerStyle\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: className,\n      style: style,\n      title: value\n    }, getOperationItems()));\n  };\n};\nvar _default = exports[\"default\"] = OperationCellRenderer;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/column/render/OperationCellRenderer.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/column/render/PictureRenderer.js":
/*!**********************************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/column/render/PictureRenderer.js ***!
  \**********************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _image = __webpack_require__(/*! ../../../TableHelper/render/image */ \"./src/component/web/DataGrid/TableHelper/render/image.js\");\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/component/web/DataGrid/KDLightTable/column/render/utils/index.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nvar PictureRenderer = function PictureRenderer(_ref) {\n  var rowHeight = _ref.rowHeight,\n    autoHeight = _ref.autoHeight,\n    maxRowHeight = _ref.maxRowHeight,\n    column = _ref.column,\n    config = _ref.config,\n    editor = _ref.editor;\n  return function (value, record) {\n    var imageList = !Array.isArray(value) ? [value] : value;\n    var imageSources = (0, _image.getImageSources)({\n      imageList: imageList,\n      config: config,\n      editor: editor\n    });\n    var align = column.align;\n    var className = (0, _utils.getCellClass)(autoHeight);\n    var cellContainerStyle = (0, _utils.getCellContainerStyle)({\n      rowHeight: rowHeight,\n      autoHeight: autoHeight,\n      maxRowHeight: maxRowHeight,\n      align: align\n    });\n    var imageStyle = {\n      height: rowHeight - 10,\n      width: rowHeight - 10,\n      borderRadius: editor.rd\n    };\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: className,\n      style: cellContainerStyle\n    }, imageSources.map(function (srcItem, index) {\n      var src = srcItem.src,\n        previewSrc = srcItem.previewSrc;\n      return /*#__PURE__*/_react[\"default\"].createElement(_image.Image, {\n        key: index,\n        src: src,\n        previewSrc: previewSrc,\n        style: imageStyle\n      });\n    }));\n  };\n};\nvar _default = exports[\"default\"] = PictureRenderer;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/column/render/PictureRenderer.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/column/render/StringRenderer.js":
/*!*********************************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/column/render/StringRenderer.js ***!
  \*********************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/component/web/DataGrid/KDLightTable/column/render/utils/index.js\");\nvar _index = _interopRequireDefault(__webpack_require__(/*! ./style/index.less */ \"./src/component/web/DataGrid/KDLightTable/column/render/style/index.less\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nvar StringRenderer = function StringRenderer(_ref) {\n  var rowHeight = _ref.rowHeight,\n    autoHeight = _ref.autoHeight,\n    maxRowHeight = _ref.maxRowHeight,\n    column = _ref.column;\n  return function (value, record) {\n    var className = (0, _utils.getCellClass)(autoHeight);\n    var align = column.align;\n    var cellContainerStyle = (0, _utils.getCellContainerStyle)({\n      rowHeight: rowHeight,\n      autoHeight: autoHeight,\n      maxRowHeight: maxRowHeight,\n      align: align\n    });\n    var style = (0, _utils.getCellStyle)();\n    var displayValue = (0, _utils.getPatchedFormattingValue)(value);\n    var content = (0, _utils.getLinkCell)({\n      column: column,\n      value: displayValue,\n      record: record\n    });\n    return /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: _index[\"default\"]['cell-container'],\n      style: cellContainerStyle\n    }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n      className: className,\n      style: style,\n      title: displayValue\n    }, content));\n  };\n};\nvar _default = exports[\"default\"] = StringRenderer;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/column/render/StringRenderer.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/column/render/index.js":
/*!************************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/column/render/index.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.js\");\n__webpack_require__(/*! core-js/modules/es.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.js\");\n__webpack_require__(/*! core-js/modules/es.array.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\nvar _serverproperties = __webpack_require__(/*! @/constant/serverproperties.js */ \"./src/constant/serverproperties.js\");\nvar _StringRenderer = _interopRequireDefault(__webpack_require__(/*! ./StringRenderer */ \"./src/component/web/DataGrid/KDLightTable/column/render/StringRenderer.js\"));\nvar _PictureRenderer = _interopRequireDefault(__webpack_require__(/*! ./PictureRenderer */ \"./src/component/web/DataGrid/KDLightTable/column/render/PictureRenderer.js\"));\nvar _OperationCellRenderer = _interopRequireDefault(__webpack_require__(/*! ./OperationCellRenderer */ \"./src/component/web/DataGrid/KDLightTable/column/render/OperationCellRenderer.js\"));\nvar _excluded = [\"editor\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nvar RENDERER_MAP = {};\nfunction addRenderer(types, renderer) {\n  if (!Array.isArray(types)) {\n    types = [types];\n  }\n  types.forEach(function (type) {\n    RENDERER_MAP[type] = renderer;\n  });\n}\naddRenderer([_serverproperties.Ctrls.KDText, 'default'], _StringRenderer[\"default\"]);\naddRenderer(_serverproperties.Ctrls.KDPic, _PictureRenderer[\"default\"]);\naddRenderer('operate', _OperationCellRenderer[\"default\"]);\nvar DEAULT_RENDERER = function DEAULT_RENDERER(renderProps) {\n  return RENDERER_MAP[\"default\"](renderProps);\n};\nfunction getColRender(_ref, _ref2) {\n  var type = _ref.type;\n  var editor = _ref2.editor,\n    other = _objectWithoutProperties(_ref2, _excluded);\n  var _editor = editor && editor.toJS ? editor.toJS() : editor;\n  return RENDERER_MAP[type] ? RENDERER_MAP[type](_objectSpread({\n    editor: _editor\n  }, other)) : DEAULT_RENDERER(_objectSpread({\n    editor: _editor\n  }, other));\n}\nvar _default = exports[\"default\"] = getColRender;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/column/render/index.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/column/render/utils/index.js":
/*!******************************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/column/render/utils/index.js ***!
  \******************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.js\");\n__webpack_require__(/*! core-js/modules/es.array.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.getCellClass = getCellClass;\nexports.getCellContainerStyle = getCellContainerStyle;\nexports.getCellStyle = getCellStyle;\nexports.getLinkCell = getLinkCell;\nexports.getPatchedFormattingValue = getPatchedFormattingValue;\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.js\");\n__webpack_require__(/*! core-js/modules/es.array.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-string.js */ \"../../node_modules/core-js/modules/es.date.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ \"../../node_modules/core-js/modules/es.regexp.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _index = _interopRequireDefault(__webpack_require__(/*! ../style/index.less */ \"./src/component/web/DataGrid/KDLightTable/column/render/style/index.less\"));\nvar _post = __webpack_require__(/*! ../../../post */ \"./src/component/web/DataGrid/KDLightTable/post/index.js\");\nvar _util = __webpack_require__(/*! ../../../../TableHelper/render/util */ \"./src/component/web/DataGrid/TableHelper/render/util.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction getCellClass(autoHeight) {\n  return (0, _classnames[\"default\"])([_index[\"default\"]['cell-context']], _defineProperty(_defineProperty({}, _index[\"default\"]['cell-ellipsis'], !autoHeight), _index[\"default\"]['cell-line-wrap'], autoHeight));\n}\nfunction getCellStyle() {\n  return {};\n}\nfunction getCellContainerStyle(_ref) {\n  var rowHeight = _ref.rowHeight,\n    autoHeight = _ref.autoHeight,\n    maxRowHeight = _ref.maxRowHeight,\n    align = _ref.align;\n  var justifyContentText = align === 'right' ? 'flex-end' : align === 'center' ? 'center' : 'flex-start';\n  return _objectSpread({\n    justifyContent: justifyContentText\n  }, (0, _util.getCellHeightStyle)({\n    rowHeight: rowHeight,\n    autoHeight: autoHeight,\n    maxRowHeight: maxRowHeight\n  }));\n}\nfunction getLinkCell(_ref2) {\n  var _record$cprop;\n  var column = _ref2.column,\n    value = _ref2.value,\n    record = _ref2.record;\n  var extendParams = column.extendParams,\n    code = column.code;\n  var isHyperlink = extendParams.isHyperlink;\n  var noLink = (_record$cprop = record.cprop) === null || _record$cprop === void 0 ? void 0 : _record$cprop.nolink;\n  var isNoLinkInData = Array.isArray(noLink) && noLink.includes(code);\n  if (!isHyperlink || isNoLinkInData) {\n    return value;\n  }\n  var poster = (0, _react.useContext)(_post.PosterContext);\n  var handleHyperLinkClick = function handleHyperLinkClick(e) {\n    poster.send({\n      type: 'postHyperLinkClick',\n      args: {\n        column: column,\n        record: record\n      }\n    });\n    e.stopPropagation();\n  };\n  var cls = (0, _classnames[\"default\"])(_index[\"default\"]['link-cell-content'], _index[\"default\"]['cell-ellipsis'], 'link-cell-content', 'link-color');\n  return /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    className: cls,\n    onClick: handleHyperLinkClick\n  }, value);\n}\n\n/**\n * 输出值补丁，防止渲染异常\n * @param {*} value\n */\nfunction getPatchedFormattingValue(value) {\n  // 空值处理\n  if (value == null || value === '') return '';\n  // 对象处理，对象直接渲染会导致界面报错\n  if (_typeof(value) === 'object') return value.toString();\n  return value;\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/column/render/utils/index.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/event/eventHandleDLC/index.js":
/*!*******************************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/event/eventHandleDLC/index.js ***!
  \*******************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n\nvar _const = __webpack_require__(/*! @/component/common/table/const */ \"./src/component/common/table/const.js\");\nvar _index = __webpack_require__(/*! ../index */ \"./src/component/web/DataGrid/KDLightTable/event/index.js\");\nvar _rowSelection = _interopRequireDefault(__webpack_require__(/*! ./rowSelection */ \"./src/component/web/DataGrid/KDLightTable/event/eventHandleDLC/rowSelection.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n(0, _index.addEventHandles)(_const.EVENT_NAMES.rowSelectionChanged, _rowSelection[\"default\"]);\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/event/eventHandleDLC/index.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/event/eventHandleDLC/rowSelection.js":
/*!**************************************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/event/eventHandleDLC/rowSelection.js ***!
  \**************************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n/**\n * 选中行功能\n * @param {Object} eventParams {type: typeName,args: {actionRowkey,effectRowskeys,action}}\n */\nvar handleRowSelectionChanged = function handleRowSelectionChanged(params) {\n  return function (eventParams) {\n    var getTablePoster = params.getTablePoster,\n      getInstance = params.getInstance,\n      getTableConfigImmediately = params.getTableConfigImmediately;\n    var args = eventParams.args;\n    var action = args.action,\n      selectedRows = args.selectedRows;\n    var poster = getTablePoster();\n    var instance = getInstance();\n    instance.controller.setSelectedRows(selectedRows); // 更新适配层表格数据\n    if (action === 'check-all' || action === 'uncheck-all') {\n      var _methodName = action === 'check-all' ? 'selectPageAllRows' : 'clearPageSelection';\n      poster.send({\n        type: 'postPageSelection',\n        args: {\n          methodName: _methodName\n        }\n      });\n      return;\n    }\n    var methodName = action === 'check' ? 'addRowSelection' : 'clearRowSelection';\n    var focusedCell = instance.controller.getFocusedCell();\n    var rowKeyValue = focusedCell.rowKey,\n      rowIndex = focusedCell.rowIndex;\n    var record = instance.controller.getRow(rowKeyValue);\n    var _getTableConfigImmedi = getTableConfigImmediately(),\n      rowKey = _getTableConfigImmedi.rowKey;\n    poster.send({\n      type: 'postRowSelection',\n      args: {\n        methodName: methodName,\n        rowKey: rowKey,\n        record: record,\n        rowIndex: rowIndex\n      }\n    });\n  };\n};\nvar _default = exports[\"default\"] = handleRowSelectionChanged;\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/event/eventHandleDLC/rowSelection.js?");

/***/ }),

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

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.addEventHandles = addEventHandles;\nexports[\"default\"] = void 0;\nvar eventHandles = exports[\"default\"] = {}; // 表格事件回调处理\nfunction addEventHandles(type, cb) {\n  eventHandles[type] = cb;\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/event/index.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/format/cellValueFormatting.js":
/*!*******************************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/format/cellValueFormatting.js ***!
  \*******************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.FORMATTING_VALUE_FUNCTION_MAP = void 0;\n__webpack_require__(/*! core-js/modules/es.array.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\nvar _serverproperties = __webpack_require__(/*! @/constant/serverproperties */ \"./src/constant/serverproperties.js\");\nvar _formatUtil = __webpack_require__(/*! @/util/formatUtil */ \"./src/util/formatUtil.js\");\nvar _timeUtil = __webpack_require__(/*! @/util/timeUtil */ \"./src/util/timeUtil.js\");\nvar _componentutil = __webpack_require__(/*! @/util/componentutil */ \"./src/util/componentutil.js\");\nvar _moment = _interopRequireDefault(__webpack_require__(/*! moment */ \"../../node_modules/moment/moment.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction getTextFormattingValue(value, displayProps) {\n  if (Array.isArray(value)) {\n    return value.length > 0 ? value[0] : '';\n  }\n  return value;\n}\nfunction getNumberFormattingValue(value, displayProps) {\n  if (Array.isArray(value)) {\n    return value.length > 0 ? value[0] : '';\n  }\n  if (typeof value === 'string' && (0, _formatUtil.isNumberStr)(value)) return value;\n  var editor = displayProps.editor;\n  var scale = editor[_serverproperties.SCALE];\n  var zeroShow = editor[_serverproperties.ZERO_SHOW];\n  var noDisplayDecimalTailZero = editor[_serverproperties.NO_DISPLAY_SCALE_ZERO];\n  var formatValue = (0, _formatUtil.formatNumber)(value, {\n    zeroShow: zeroShow,\n    decimalLength: scale,\n    noDisplayDecimalTailZero: noDisplayDecimalTailZero,\n    type: editor[_serverproperties.NUM_TYPE],\n    roundMethod: editor[_serverproperties.ROUND_METHOD] || '0'\n  });\n  return formatValue;\n}\nfunction getDateFormattingValue(value, displayProps) {\n  if (Array.isArray(value)) {\n    return value.length > 0 ? value[0] : '';\n  }\n  var editor = displayProps.editor,\n    column = displayProps.column;\n  var type = column.type;\n  var localeCode = (0, _componentutil.getRootLocale)();\n  var date = (0, _moment[\"default\"])(value, 'YYYY-MM-DD HH:mm:ss', localeCode);\n  if (!value || !date.isValid()) {\n    return '';\n  }\n  var format = editor[_serverproperties.DISPLAY_FORMAT] || editor[_serverproperties.MASK];\n  return (0, _formatUtil.formatDate)(date, format, type);\n}\nfunction getTimeFormattingValue(value, displayProps) {\n  if (Array.isArray(value)) {\n    return value.length > 0 ? value[0] : '';\n  }\n  var editor = displayProps.editor;\n  var format = editor[_serverproperties.DISPLAY_FORMAT] || editor[_serverproperties.MASK];\n  return (0, _timeUtil.formatTime)(value, format);\n}\nvar FORMATTING_VALUE_FUNCTION_MAP = exports.FORMATTING_VALUE_FUNCTION_MAP = _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _serverproperties.Ctrls.KDText, getTextFormattingValue), _serverproperties.Ctrls.KDNumber, getNumberFormattingValue), _serverproperties.Ctrls.KDDate, getDateFormattingValue), _serverproperties.Ctrls.KDTime, getTimeFormattingValue);\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/format/cellValueFormatting.js?");

/***/ }),

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

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nObject.defineProperty(exports, \"resizeTableContainerHeight\", ({\n  enumerable: true,\n  get: function get() {\n    return _useTableSize.resizeTableContainerHeight;\n  }\n}));\nObject.defineProperty(exports, \"useServeDirectives\", ({\n  enumerable: true,\n  get: function get() {\n    return _useServeDirectives[\"default\"];\n  }\n}));\nObject.defineProperty(exports, \"useTableSize\", ({\n  enumerable: true,\n  get: function get() {\n    return _useTableSize[\"default\"];\n  }\n}));\nvar _useTableSize = _interopRequireWildcard(__webpack_require__(/*! ./useTableSize */ \"./src/component/web/DataGrid/KDLightTable/hooks/useTableSize.js\"));\nvar _useServeDirectives = _interopRequireDefault(__webpack_require__(/*! ./useServeDirectives */ \"./src/component/web/DataGrid/KDLightTable/hooks/useServeDirectives.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/hooks/index.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/hooks/useServeDirectives.js":
/*!*****************************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/hooks/useServeDirectives.js ***!
  \*****************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = useServeDirectives;\n__webpack_require__(/*! core-js/modules/es.array.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\nvar _react = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\");\nvar _memoryCacher = __webpack_require__(/*! @/model/memoryCacher */ \"./src/model/memoryCacher.js\");\nvar _lightGrid = __webpack_require__(/*! @/constant/lightGrid */ \"./src/constant/lightGrid.js\");\nvar _tableConfig = __webpack_require__(/*! ../tableConfig */ \"./src/component/web/DataGrid/KDLightTable/tableConfig.js\");\nvar _data = __webpack_require__(/*! ../utils/data */ \"./src/component/web/DataGrid/KDLightTable/utils/data.js\");\nvar _cell = __webpack_require__(/*! ../utils/cell */ \"./src/component/web/DataGrid/KDLightTable/utils/cell.js\");\nvar _eventServiceName = __webpack_require__(/*! @/component/common/table/eventService/eventServiceName */ \"./src/component/common/table/eventService/eventServiceName.js\");\n/*\n * @Author: wqhui\n * @Date: 2022-08-22 16:20:58\n * @Description: 处理后端指令\n */\n\nfunction useServeDirectives(_ref) {\n  var readyed = _ref.readyed,\n    model = _ref.model,\n    getTableOptions = _ref.getTableOptions,\n    getInstance = _ref.getInstance,\n    getInternalEventService = _ref.getInternalEventService,\n    getTableConfigImmediately = _ref.getTableConfigImmediately;\n  (0, _react.useEffect)(function () {\n    var handleServeDirectives = function handleServeDirectives(_ref2) {\n      var directives = _ref2.directives;\n      directives.forEach(function (instruction) {\n        var methodname = instruction.methodname,\n          args = instruction.args;\n        if (args === undefined) return;\n        switch (methodname) {\n          case _lightGrid.LIGHT_GRID_DIRECTIVES.setColumns:\n            {\n              var columns = args[0].columns;\n              setColumns(columns, {\n                model: model,\n                getTableOptions: getTableOptions,\n                getInstance: getInstance,\n                getTableConfigImmediately: getTableConfigImmediately\n              });\n              break;\n            }\n          case _lightGrid.LIGHT_GRID_DIRECTIVES.setData:\n            {\n              var data = args[0].data;\n              setData(data, {\n                readyed: readyed,\n                getTableOptions: getTableOptions,\n                getInstance: getInstance,\n                getInternalEventService: getInternalEventService\n              });\n              break;\n            }\n          case _lightGrid.LIGHT_GRID_DIRECTIVES.setDataIndex:\n            {\n              var dataIndex = args[0];\n              setDataIndex(dataIndex, {\n                getTableOptions: getTableOptions\n              });\n              break;\n            }\n          case _lightGrid.LIGHT_GRID_DIRECTIVES.setRows:\n            {\n              var rows = args[0];\n              setRows(rows, {\n                readyed: readyed,\n                getInstance: getInstance,\n                getTableOptions: getTableOptions,\n                getInternalEventService: getInternalEventService\n              });\n              break;\n            }\n          case _lightGrid.LIGHT_GRID_DIRECTIVES.setDataGridProps:\n            break;\n          case _lightGrid.LIGHT_GRID_DIRECTIVES.setColProps:\n            break;\n          default:\n            console.error(\"Light Grid unknown instruction:\".concat(methodname));\n        }\n      });\n    };\n    var pageId = model.pageId,\n      key = model.key;\n\n    // 处理渲染前的指令\n    var initDirectives = (0, _memoryCacher.getPageData)(pageId, [key, 'directives']);\n    initDirectives && handleServeDirectives({\n      directives: initDirectives\n    });\n\n    // 动态监听后续指令\n    var removeSubscribeControlMethod = (0, _memoryCacher.subscribeControlMethod)(pageId, key, 'directives', function (directives) {\n      if (directives) {\n        handleServeDirectives({\n          directives: directives\n        });\n      }\n    });\n    return function () {\n      removeSubscribeControlMethod();\n    };\n  }, [readyed]);\n}\nfunction setColumns(columns, _ref3) {\n  var model = _ref3.model,\n    getTableOptions = _ref3.getTableOptions,\n    getInstance = _ref3.getInstance,\n    getTableConfigImmediately = _ref3.getTableConfigImmediately;\n  var tableConfig = getTableConfigImmediately();\n  var handleCellClick = (0, _cell.createCellClickHandler)(getInstance);\n  var tableColumns = (0, _tableConfig.getColumns)(columns, {\n    model: model,\n    getTableOptions: getTableOptions,\n    getTableConfigImmediately: getTableConfigImmediately,\n    handleCellClick: handleCellClick\n  });\n  tableConfig.setColumns(tableColumns);\n}\nfunction setData(data, _ref4) {\n  var readyed = _ref4.readyed,\n    getTableOptions = _ref4.getTableOptions,\n    getInstance = _ref4.getInstance,\n    getInternalEventService = _ref4.getInternalEventService;\n  var dataindex = data.dataindex,\n    rows = data.rows,\n    postcols = data.postcols;\n  setDataIndex(dataindex, {\n    getTableOptions: getTableOptions\n  });\n  setRows(rows, {\n    readyed: readyed,\n    getInstance: getInstance,\n    getTableOptions: getTableOptions,\n    getInternalEventService: getInternalEventService\n  });\n  setPostCols(postcols, {\n    getTableOptions: getTableOptions\n  });\n}\nfunction setDataIndex(dataIndex, _ref5) {\n  var getTableOptions = _ref5.getTableOptions;\n  var tableOptions = getTableOptions();\n  tableOptions.setDataIndex(dataIndex);\n}\nfunction setPostCols() {\n  var postCols = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n  var _ref6 = arguments.length > 1 ? arguments[1] : undefined,\n    getTableOptions = _ref6.getTableOptions;\n  var tableOptions = getTableOptions();\n  tableOptions.setPostCols(postCols);\n}\nfunction setRows(rows, _ref7) {\n  var readyed = _ref7.readyed,\n    getInstance = _ref7.getInstance,\n    getTableOptions = _ref7.getTableOptions,\n    getInternalEventService = _ref7.getInternalEventService;\n  var instance = getInstance();\n  var tableOptions = getTableOptions();\n  var tableRows = (0, _data.getRows)(rows, {\n    getTableOptions: getTableOptions\n  });\n  instance.tableModel.setRows(tableRows);\n  var tableInitialHeight = tableOptions.getTableInitialHeight();\n  if (readyed && tableInitialHeight !== undefined) {\n    var internalEventService = getInternalEventService();\n    internalEventService.dispatchEvent({\n      type: _eventServiceName.KD_TABLE_EVENT_NAMES.resizeTableHeight,\n      params: {\n        trigger: 'setRows'\n      }\n    });\n  }\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/hooks/useServeDirectives.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/hooks/useTableSize.js":
/*!***********************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/hooks/useTableSize.js ***!
  \***********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = useTableSize;\nexports.resizeTableContainerHeight = resizeTableContainerHeight;\n__webpack_require__(/*! core-js/modules/es.array.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.js\");\n__webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\n__webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\nvar _react = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\");\nvar _lodash = _interopRequireDefault(__webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\"));\nvar _resizeObserve = _interopRequireDefault(__webpack_require__(/*! @/util/resizeObserve */ \"./src/util/resizeObserve.js\"));\nvar _serverproperties = __webpack_require__(/*! @/constant/serverproperties */ \"./src/constant/serverproperties.js\");\nvar _const = __webpack_require__(/*! @/component/common/table/const */ \"./src/component/common/table/const.js\");\nvar _params = __webpack_require__(/*! ../../TableHelper/util/params */ \"./src/component/web/DataGrid/TableHelper/util/params.js\");\nvar _eventServiceName = __webpack_require__(/*! @/component/common/table/eventService/eventServiceName */ \"./src/component/common/table/eventService/eventServiceName.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n/* eslint-disable no-inner-declarations */\n\nfunction useTableSize(_ref) {\n  var getTableOptions = _ref.getTableOptions,\n    getInstance = _ref.getInstance,\n    getTableConfigImmediately = _ref.getTableConfigImmediately,\n    getInternalEventService = _ref.getInternalEventService,\n    wrapperEleRef = _ref.wrapperEleRef,\n    containerEleRef = _ref.containerEleRef,\n    setReadyed = _ref.setReadyed,\n    model = _ref.model;\n  var setTableInitialSize = function setTableInitialSize(offsetWidth, offsetHeight) {\n    // 初始化设置表格容器的高度\n    var containerEle = containerEleRef.current;\n    var height = offsetHeight;\n    var tableOptions = getTableOptions();\n    // 需要特殊处理表格高度：1. 用户设置了百分比的高度 2.用户未设置高度\n    // 如果用户已经设置了固定的高度，则不需要处理\n    if (_lodash[\"default\"].includes(containerEle.style.height, '%') || containerEle.style.height === '') {\n      var _instance$controller$;\n      var instance = getInstance();\n      var config = getTableConfigImmediately();\n      var headerHeight = ((_instance$controller$ = instance.controller.viewer) === null || _instance$controller$ === void 0 ? void 0 : _instance$controller$.api.getHeaderHeight()) || _const.DEFAULT_HEADER_HEIGHT;\n      var rowHeight = config.getRowHeight() || _const.DEFAULT_ROW_HEIGHT;\n      var maxLevel = tableOptions.getGlobalOptionsProperty('maxLevel');\n      var tableHeaderHeight = (0, _params.getTableHeaderHeight)({\n        headerHeight: headerHeight,\n        maxLevel: maxLevel\n      });\n      // 此处只取最小高度\n      var tableBodyHeightInfo = (0, _params.getTableBodyHeight)({\n        minRowCount: _const.DEFAULT_SHOW_ROWS_COUNT,\n        rowHeight: rowHeight\n      });\n      var minHeight = tableHeaderHeight + tableBodyHeightInfo.minHeight;\n      var actualHeight = offsetHeight;\n      if (_lodash[\"default\"].includes(minHeight, '%') || minHeight < actualHeight) {\n        // 用户设置了百分比高度，或者最小高度小于实际撑开的高度，强制设为实际高度\n        containerEle.style.height = actualHeight + 'px'; // 受扩展压缩影响\n        height = actualHeight;\n      } else {\n        containerEle.style.height = minHeight + 'px'; // 强制最小高度\n        height = minHeight;\n      }\n    }\n    tableOptions.setTableInitialHeight(height);\n  };\n  (0, _react.useEffect)(function () {\n    var updateTableSize = function updateTableSize(width, height) {\n      var tableOptions = getTableOptions();\n      tableOptions.setTableSize({\n        width: width,\n        height: height\n      });\n      // 表格需要固定的宽高，这里渲染一遍后设置固定的宽度\n      if (width && height && wrapperEleRef.current) {\n        wrapperEleRef.current.style.width = width + 'px';\n      }\n    };\n    var handleTableContainerResize = function handleTableContainerResize(rect) {\n      var width = rect.width,\n        height = rect.height,\n        hide = rect.hide;\n      if (hide) return;\n\n      // 设置表格初始大小并计算容器高度\n      var tableOptions = getTableOptions();\n      var tableInitialHeight = tableOptions.getTableInitialHeight();\n      if (tableInitialHeight === undefined) {\n        // 设置初始大小\n        setTableInitialSize(width, height);\n        // 设置表格容器高度\n\n        resizeTableContainerHeight({\n          getTableConfigImmediately: getTableConfigImmediately,\n          getTableOptions: getTableOptions,\n          getInstance: getInstance,\n          containerEleRef: containerEleRef\n        });\n      }\n      updateTableSize(width, height);\n    };\n    var resizeTableHeight = function resizeTableHeight(params) {\n      resizeTableContainerHeight({\n        getTableConfigImmediately: getTableConfigImmediately,\n        getTableOptions: getTableOptions,\n        getInstance: getInstance,\n        containerEleRef: containerEleRef\n      });\n    };\n    var resizeObserver = null;\n    // 表格需要固定的宽度，这里延迟渲染表格\n    // 记录表格宽高，监听宽高变化\n    setTimeout(function () {\n      var containerEle = containerEleRef.current;\n      updateTableSize(containerEle.clientWidth, containerEle.clientHeight);\n      setReadyed(true);\n      resizeObserver = (0, _resizeObserve[\"default\"])(containerEle, handleTableContainerResize);\n    }, 0);\n    var internalEventService = getInternalEventService();\n    internalEventService.addEventListener(_eventServiceName.KD_TABLE_EVENT_NAMES.resizeTableHeight, resizeTableHeight);\n    return function () {\n      containerEleRef.current = null;\n      if (resizeObserver) {\n        resizeObserver.removeResizeObserve();\n        resizeObserver = null;\n      }\n    };\n  }, [model.getMetaLocaleProperty(_serverproperties.HEIGHT)]);\n}\nfunction resizeTableContainerHeight(_ref2) {\n  var _instance$tableModel$;\n  var getTableConfigImmediately = _ref2.getTableConfigImmediately,\n    getTableOptions = _ref2.getTableOptions,\n    getInstance = _ref2.getInstance,\n    containerEleRef = _ref2.containerEleRef;\n  var config = getTableConfigImmediately();\n  var tableOptions = getTableOptions();\n  var instance = getInstance();\n  var rowHeight = config.getRowHeight() || _const.DEFAULT_ROW_HEIGHT;\n  var rowCount = ((_instance$tableModel$ = instance.tableModel.getFlatRows()) === null || _instance$tableModel$ === void 0 ? void 0 : _instance$tableModel$.length) || 0;\n  var baseHeight = caclulateBaseHeight({\n    getTableOptions: getTableOptions,\n    getInstance: getInstance,\n    containerEleRef: containerEleRef\n  });\n  var tableInitialHeight = tableOptions.getTableInitialHeight();\n  var tableHeight = (0, _params.caclulateTableHeight)({\n    baseHeight: baseHeight,\n    tableInitialHeight: tableInitialHeight,\n    rowHeight: rowHeight,\n    rowCount: rowCount\n  });\n  containerEleRef.current.style.height = tableHeight + 'px';\n}\nfunction getScrollBarHeight(_ref3) {\n  var containerEleRef = _ref3.containerEleRef,\n    tableOptions = _ref3.tableOptions;\n  var scrollBarHeight = 0;\n  var scrollBarSize = tableOptions.getScrollBarSize();\n  var scrollDom = containerEleRef.current && containerEleRef.current.querySelector('.kd-sticky-scroll');\n  if (scrollDom) {\n    var style = scrollDom.getAttribute('style');\n    var isScrollBarVisible = !style.includes('display: none');\n    if (isScrollBarVisible) {\n      scrollBarHeight = scrollBarSize.height;\n    }\n  }\n  // todo: 初始滚动条还没出来，这里先都加滚动条高度，后续再处理\n  return scrollBarSize.height;\n}\nvar HEADER_BOTTOM_BORDER = 1;\nvar SCROLL_TOP_BORDER = 1;\n\n// 计算除表格主体外的其他高度，包括表头，滚动条等\nfunction caclulateBaseHeight(_ref4) {\n  var _instance$controller$2;\n  var getTableOptions = _ref4.getTableOptions,\n    getInstance = _ref4.getInstance,\n    containerEleRef = _ref4.containerEleRef;\n  var instance = getInstance();\n  var tableOptions = getTableOptions();\n  var headerHeight = ((_instance$controller$2 = instance.controller.viewer) === null || _instance$controller$2 === void 0 ? void 0 : _instance$controller$2.api.getHeaderHeight()) || _const.DEFAULT_HEADER_HEIGHT;\n  var maxLevel = tableOptions.getGlobalOptionsProperty('maxLevel');\n  var tableHeaderHeight = (0, _params.getTableHeaderHeight)({\n    headerHeight: headerHeight,\n    maxLevel: maxLevel\n  });\n  var scrollBarHeight = getScrollBarHeight({\n    containerEleRef: containerEleRef,\n    tableOptions: tableOptions\n  });\n  var containerBoderHeight = containerEleRef.current.offsetHeight - containerEleRef.current.clientHeight;\n  var baseHeight = tableHeaderHeight + scrollBarHeight + containerBoderHeight + HEADER_BOTTOM_BORDER + SCROLL_TOP_BORDER;\n  return baseHeight;\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/hooks/useTableSize.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/post/PostContext.js":
/*!*********************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/post/PostContext.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\nvar _react = __webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\");\n/*\n * @Author: wqhui\n * @Date: 2021-08-18 09:44:34\n * @Description: 提供表格发送请求上下文\n */\n\nvar PosterContext = exports[\"default\"] = /*#__PURE__*/(0, _react.createContext)();\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/post/PostContext.js?");

/***/ }),

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

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nObject.defineProperty(exports, \"PosterContext\", ({\n  enumerable: true,\n  get: function get() {\n    return _PostContext[\"default\"];\n  }\n}));\nvar _PostContext = _interopRequireDefault(__webpack_require__(/*! ./PostContext */ \"./src/component/web/DataGrid/KDLightTable/post/PostContext.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/post/index.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/post/tablePoster.js":
/*!*********************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/post/tablePoster.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.postShowFormByTips = exports.postRowSelection = exports.postPageSelection = exports.postItemClick = exports.postHyperLinkClick = exports.postClickTipsLink = void 0;\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\nvar _tooltipaction = __webpack_require__(/*! @/action/tooltipaction */ \"./src/action/tooltipaction.js\");\nvar proxy = _interopRequireWildcard(__webpack_require__(/*! @/proxy/formproxy */ \"./src/proxy/formproxy.js\"));\nvar _client = __webpack_require__(/*! @/action/actionname/global/custom/client */ \"./src/action/actionname/global/custom/client/index.js\");\nvar _global = _interopRequireWildcard(__webpack_require__(/*! @/global */ \"./src/global/index.js\"));\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\n// 表头tips显示表单\nvar postShowFormByTips = exports.postShowFormByTips = function postShowFormByTips(params, args) {\n  var formId = args.formId,\n    targetCtrlKey = args.targetCtrlKey,\n    triggerType = args.triggerType;\n  var getTableConfigImmediately = params.getTableConfigImmediately,\n    getDispatch = params.getDispatch;\n  var dispatch = getDispatch();\n  var _getTableConfigImmedi = getTableConfigImmediately(),\n    pageId = _getTableConfigImmedi.pageId,\n    id = _getTableConfigImmedi.id;\n  dispatch((0, _tooltipaction.showFormByTips)(pageId, id, formId, targetCtrlKey, triggerType));\n};\n\n// 表头tips超链接\nvar postClickTipsLink = exports.postClickTipsLink = function postClickTipsLink(params, args) {\n  var code = args.code;\n  var getTableConfigImmediately = params.getTableConfigImmediately;\n  var _getTableConfigImmedi2 = getTableConfigImmediately(),\n    pageId = _getTableConfigImmedi2.pageId;\n  _global[\"default\"][_global.INVOKE_CUSTOM_EVENT](pageId, '', [_client.CUSTOM_EVENT_CLICK_TIPS_LINK, '', code]);\n};\n\n// 当前页全选和反选\n// methodName: selectPageAllRows | clearPageSelection\nvar postPageSelection = exports.postPageSelection = function postPageSelection(params, args) {\n  var getTableConfigImmediately = params.getTableConfigImmediately,\n    getActionByKey = params.getActionByKey;\n  var methodName = args.methodName;\n  var tableConfig = getTableConfigImmediately();\n  var pageId = tableConfig.pageId,\n    id = tableConfig.id;\n  var invokeControlMethodOnly = getActionByKey('invokeControlMethodOnly');\n  invokeControlMethodOnly({\n    pageId: pageId,\n    key: id\n  }, methodName, []);\n};\n\n// 差量更新行选中\n// methodName: addRowSelection | clearRowSelection\nvar postRowSelection = exports.postRowSelection = function postRowSelection(params, args) {\n  var getTableConfigImmediately = params.getTableConfigImmediately,\n    getActionByKey = params.getActionByKey,\n    getTableOptions = params.getTableOptions;\n  var methodName = args.methodName,\n    rowKey = args.rowKey,\n    record = args.record,\n    rowIndex = args.rowIndex;\n  var tableConfig = getTableConfigImmediately();\n  var tableOptions = getTableOptions();\n  var pageId = tableConfig.pageId,\n    id = tableConfig.id;\n  var postCols = tableOptions.getPostCols();\n  var rowKeyValue = getRowKeyValue({\n    rowKey: rowKey,\n    record: record,\n    rowIndex: rowIndex\n  });\n  var selectedData = postCols.map(function (code) {\n    return record[code];\n  });\n  var invokeControlMethodOnly = getActionByKey('invokeControlMethodOnly');\n  proxy.disableDisposeRequest({\n    pageId: pageId,\n    key: id,\n    methodName: methodName\n  }, function () {\n    return invokeControlMethodOnly({\n      pageId: pageId,\n      key: id\n    }, methodName, [rowKeyValue, selectedData]);\n  });\n};\n\n// 操作列点击\nvar postItemClick = exports.postItemClick = function postItemClick(params, args) {\n  var getActionByKey = params.getActionByKey,\n    getTableConfigImmediately = params.getTableConfigImmediately,\n    getTableOptions = params.getTableOptions;\n  var tableConfig = getTableConfigImmediately();\n  var tableOptions = getTableOptions();\n  var pageId = tableConfig.pageId,\n    id = tableConfig.id,\n    rowKey = tableConfig.rowKey;\n  var postCols = tableOptions.getPostCols();\n  var itemId = args.itemId,\n    opk = args.opk,\n    record = args.record,\n    rowIndex = args.rowIndex;\n  var rowKeyValue = getRowKeyValue({\n    rowKey: rowKey,\n    record: record,\n    rowIndex: rowIndex\n  });\n  var selectedData = postCols.map(function (code) {\n    return record[code];\n  });\n  var invokeControlMethodOnly = getActionByKey('invokeControlMethodOnly');\n  invokeControlMethodOnly({\n    pageId: pageId,\n    key: id\n  }, 'itemClick', [rowKeyValue, selectedData, itemId, opk]);\n};\n\n// 超链接点击\nvar postHyperLinkClick = exports.postHyperLinkClick = function postHyperLinkClick(params, args) {\n  var getActionByKey = params.getActionByKey,\n    getTableConfigImmediately = params.getTableConfigImmediately,\n    getTableOptions = params.getTableOptions;\n  var tableConfig = getTableConfigImmediately();\n  var tableOptions = getTableOptions();\n  var pageId = tableConfig.pageId,\n    id = tableConfig.id,\n    rowKey = tableConfig.rowKey;\n  var postCols = tableOptions.getPostCols();\n  var record = args.record,\n    column = args.column;\n  var code = column.code;\n  var selectedData = postCols.map(function (code) {\n    return record[code];\n  });\n  var invokeControlMethodOnly = getActionByKey('invokeControlMethodOnly');\n  var rowKeyValue = record ? record[rowKey] : -1;\n  invokeControlMethodOnly({\n    pageId: pageId,\n    key: id\n  }, 'hyperLinkClick', [rowKeyValue, selectedData, code]);\n};\nfunction getRowKeyValue(_ref) {\n  var rowKey = _ref.rowKey,\n    record = _ref.record,\n    rowIndex = _ref.rowIndex;\n  var rowKeyValue = -1;\n  if (rowIndex > -1) {\n    rowKeyValue = record[rowKey];\n  }\n  return rowKeyValue;\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/post/tablePoster.js?");

/***/ }),

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

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.createRowPropsGetter = createRowPropsGetter;\nexports.getColumns = getColumns;\nexports.getLightTableConfig = getLightTableConfig;\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _global = _interopRequireWildcard(__webpack_require__(/*! @/global */ \"./src/global/index.js\"));\nvar _columnDef = _interopRequireDefault(__webpack_require__(/*! ./column/columnDef */ \"./src/component/web/DataGrid/KDLightTable/column/columnDef.js\"));\nvar _componentutil = __webpack_require__(/*! @/util/componentutil */ \"./src/util/componentutil.js\");\nvar _const = __webpack_require__(/*! @/component/common/table/const */ \"./src/component/common/table/const.js\");\nvar _meta = __webpack_require__(/*! ./utils/meta */ \"./src/component/web/DataGrid/KDLightTable/utils/meta.js\");\nvar _number = __webpack_require__(/*! ../TableHelper/util/number */ \"./src/component/web/DataGrid/TableHelper/util/number.js\");\nvar PARAMS = _interopRequireWildcard(__webpack_require__(/*! ../TableHelper/util/params */ \"./src/component/web/DataGrid/TableHelper/util/params.js\"));\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction getColumns(columns, _ref) {\n  var _getTableOptions$getT;\n  var model = _ref.model,\n    getTableOptions = _ref.getTableOptions,\n    getTableConfigImmediately = _ref.getTableConfigImmediately,\n    handleCellClick = _ref.handleCellClick;\n  var getVisibleByViNumber = function getVisibleByViNumber(colId, vi) {\n    return (0, _componentutil.getVisible)(model, colId, vi);\n  };\n  var getColPropertyByData = function getColPropertyByData(path) {\n    return model.getDataProperty(path);\n  };\n  var columnMeta = (0, _immutable.fromJS)(columns);\n  return (0, _columnDef[\"default\"])(columnMeta, {\n    localeId: model.getUserLocale(),\n    defaultLocalId: model.getDefaultLang(),\n    seqKey: model.getMetaProperty('seq'),\n    rowKey: model.getMetaProperty('rk'),\n    config: model.getFormConfig(),\n    rowHeight: (0, _number.getNumberValue)(PARAMS.getRowHeight(model), _const.DEFAULT_ROW_HEIGHT),\n    autoHeight: model.getMetaProperty('arh') && !_global[\"default\"][_global.IS_IE],\n    // IE下暂时禁止行高自适应\n    maxRowHeight: (0, _number.getNumberValue)(model.getMetaProperty('mrh')),\n    tableWidth: (_getTableOptions$getT = getTableOptions().getTableSize()) === null || _getTableOptions$getT === void 0 ? void 0 : _getTableOptions$getT.width,\n    setMaxLevel: getTableOptions().setMaxLevel,\n    getVisibleByViNumber: getVisibleByViNumber,\n    getColPropertyByData: getColPropertyByData,\n    handleCellClick: handleCellClick\n  });\n}\nfunction getLightTableConfig(model) {\n  return {\n    cheapConfig: getLightTableCheapConfig(model)\n  };\n}\nfunction getLightTableCheapConfig(model) {\n  var features = [_const.FEATURES.columnResize, _const.FEATURES.rowSelection];\n  return {\n    pageId: model.pageId,\n    id: model.getMetaProperty('id'),\n    seqKey: model.getMetaProperty('seq'),\n    rowKey: model.getMetaProperty('rk'),\n    config: model.getFormConfig(),\n    rowSelection: (0, _meta.getRowSelection)(model),\n    headerHeight: (0, _number.getNumberValue)(PARAMS.getHeaderHeight(model), _const.DEFAULT_HEADER_HEIGHT),\n    rowHeight: (0, _number.getNumberValue)(PARAMS.getRowHeight(model), _const.DEFAULT_ROW_HEIGHT),\n    autoHeight: model.getMetaProperty('arh') && !_global[\"default\"][_global.IS_IE],\n    // IE下暂时禁止行高自适应\n    maxRowHeight: (0, _number.getNumberValue)(model.getMetaProperty('mrh')),\n    features: features\n  };\n}\nfunction createRowPropsGetter(_ref2) {\n  var getTableConfigImmediately = _ref2.getTableConfigImmediately;\n  return function (record, rowIndex) {\n    var _getTableConfigImmedi = getTableConfigImmediately(),\n      rowKey = _getTableConfigImmedi.rowKey;\n    var rowKeyValue = record[rowKey];\n    var isOdd = rowKeyValue % 2 === 1;\n    var className = (0, _classnames[\"default\"])({\n      'odd-row': isOdd,\n      'even-row': !isOdd\n    });\n    return {\n      className: className\n    };\n  };\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/tableConfig.js?");

/***/ }),

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

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = getTableControllerParams;\nexports.getModelOptions = getModelOptions;\n// import { dataHelper } from './data/index'\n// const { getDatasource, getAggregateData } = dataHelper\n\n/**\n * 获得表格控制层的参数\n * @param {*} model\n * @param {*} params  {rowKey}\n */\nfunction getTableControllerParams(model, params) {\n  var initRowData = [];\n  return {\n    initRowData: initRowData,\n    options: getModelOptions(model, params),\n    initFooterRowData: []\n  };\n}\n\n/**\n * 获得模型的参数\n * @param {*} model\n * @param {*} params  {rowKey}\n */\nfunction getModelOptions(model, params) {\n  var rowKey = params.rowKey,\n    mergeModel = params.mergeModel;\n  return {\n    rowKey: rowKey,\n    mergeModel: mergeModel,\n    update: true\n  };\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/tableController.js?");

/***/ }),

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

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.createCellClickHandler = void 0;\nvar createCellClickHandler = exports.createCellClickHandler = function createCellClickHandler(getInstance) {\n  return function (code, rowKey) {\n    return function (e) {\n      var instance = getInstance();\n      var rowIndex = instance.controller.getRowIndex(rowKey);\n      // 设置焦点单元格\n\n      instance.controller.setFocusedCell({\n        rowKey: rowKey,\n        rowIndex: rowIndex,\n        code: code\n      });\n    };\n  };\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/utils/cell.js?");

/***/ }),

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

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.from.js */ \"../../node_modules/core-js/modules/es.array.from.js\");\n__webpack_require__(/*! core-js/modules/es.array.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\n__webpack_require__(/*! core-js/modules/es.array.slice.js */ \"../../node_modules/core-js/modules/es.array.slice.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-string.js */ \"../../node_modules/core-js/modules/es.date.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ \"../../node_modules/core-js/modules/es.regexp.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.getRows = getRows;\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it[\"return\"] != null) it[\"return\"](); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction getRows(rows, _ref) {\n  var getTableOptions = _ref.getTableOptions;\n  var tableOptions = getTableOptions();\n  var dataIndex = tableOptions.getDataIndex();\n  var keys = Object.keys(dataIndex);\n  return rows.map(function (row, rowIndex) {\n    return getConvertedRow({\n      row: row,\n      keys: keys,\n      dataIndex: dataIndex\n    });\n  });\n}\nfunction getConvertedRow(_ref2) {\n  var row = _ref2.row,\n    keys = _ref2.keys,\n    dataIndex = _ref2.dataIndex;\n  var newRow = {};\n  var _iterator = _createForOfIteratorHelper(keys),\n    _step;\n  try {\n    for (_iterator.s(); !(_step = _iterator.n()).done;) {\n      var k = _step.value;\n      var index = dataIndex[k];\n      var value = row[index];\n      newRow[k] = value;\n    }\n  } catch (err) {\n    _iterator.e(err);\n  } finally {\n    _iterator.f();\n  }\n  return newRow;\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/utils/data.js?");

/***/ }),

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

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.getRowSelection = getRowSelection;\nfunction getRowSelection(model) {\n  var showSelectionColumn = model.getMetaProperty('selcheckbox');\n  var type = model.getMetaProperty('ismul') === false ? 'radio' : 'checkbox';\n  return {\n    type: type,\n    showSelectionColumn: showSelectionColumn\n  };\n}\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/utils/meta.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/TableHelper/render/headerTips.js":
/*!*********************************************************************!*\
  !*** ./src/component/web/DataGrid/TableHelper/render/headerTips.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.from.js */ \"../../node_modules/core-js/modules/es.array.from.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.slice.js */ \"../../node_modules/core-js/modules/es.array.slice.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-string.js */ \"../../node_modules/core-js/modules/es.date.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ \"../../node_modules/core-js/modules/es.regexp.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.HeaderTips = void 0;\n__webpack_require__(/*! core-js/modules/es.array.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\"));\nvar _Tooltip = _interopRequireDefault(__webpack_require__(/*! @/component/common/Tooltip */ \"./src/component/common/Tooltip.jsx\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nvar HeaderTips = exports.HeaderTips = function HeaderTips(_ref) {\n  var tipsConfig = _ref.tipsConfig,\n    localeId = _ref.localeId,\n    showFormByTips = _ref.showFormByTips,\n    clickTipsLink = _ref.clickTipsLink;\n  var spanRef = (0, _react.useRef)();\n  var _useState = (0, _react.useState)(null),\n    _useState2 = _slicedToArray(_useState, 2),\n    tips = _useState2[0],\n    setTips = _useState2[1];\n  (0, _react.useEffect)(function () {\n    setTips( /*#__PURE__*/_reactDom[\"default\"].createPortal( /*#__PURE__*/_react[\"default\"].createElement(_Tooltip[\"default\"], {\n      style: {\n        fontSize: 12\n      },\n      tips: tipsConfig,\n      userLocal: localeId,\n      showFormByTips: showFormByTips,\n      clickTipsLink: clickTipsLink\n    }), spanRef.current));\n  }, []);\n  return /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n    ref: spanRef,\n    style: {\n      display: 'flex',\n      width: 16,\n      height: 16\n    }\n  }, tips);\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/TableHelper/render/headerTips.js?");

/***/ }),

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

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports.LIGHT_GRID_DIRECTIVES = void 0;\n/*\n * @Author: wqhui\n * @Date: 2022-08-22 16:01:09\n * @Description:  （轻量级表格）数据表格 硬编码\n */\n\nvar LIGHT_GRID_DIRECTIVES = exports.LIGHT_GRID_DIRECTIVES = {\n  // 设置列数据\n  // 指令格式：\n  // {\"p\":[{\"key\":\"datagrid\",\"methodname\":\"setColumns\",\"args\":[[...columns]]}],\"a\":\"InvokeControlMethod\"}\n  setColumns: 'setColumns',\n  // 设置表格数据\n  // 指令格式:\n  // {\"p\":[{\"key\":\"datagrid\",\"methodname\":\"setData\",\"args\":[{dataindex:{...},pagerows:20,rows:[...]}]}],\"a\":\"InvokeControlMethod\"}\n  setData: 'setData',\n  // 设置行数据数据\n  // 指令格式：\n  // {\"p\":[{\"key\":\"datagrid\",\"methodname\":\"setRows\",\"args\":[{...dataindex}]}],\"a\":\"InvokeControlMethod\"}\n  setDataIndex: 'setDataIndex',\n  // 设置行数据数据\n  // 指令格式：\n  // {\"p\":[{\"key\":\"datagrid\",\"methodname\":\"setRows\",\"args\":[[...rows]]}],\"a\":\"InvokeControlMethod\"}\n  setRows: 'setRows',\n  // 设置表格属性\n  // 指令格式：\n  // {\"p\":[{\"key\":\"datagrid\",\"methodname\":\"setDataGridProps\",\"args\":[[...props]]}],\"a\":\"InvokeControlMethod\"}\n  setDataGridProps: 'setDataGridProps',\n  // 设置列的属性\n  // 指令格式：\n  // {\"p\":[{\"key\":\"datagrid\",\"methodname\":\"setColProps\",\"args\":[[...props]]}],\"a\":\"InvokeControlMethod\"}\n  setColProps: 'setColProps'\n};\n\n//# sourceURL=webpack://bos-platform/./src/constant/lightGrid.js?");

/***/ }),

/***/ "./src/component/web/DataGrid/KDLightTable/column/render/style/index.less":
/*!********************************************************************************!*\
  !*** ./src/component/web/DataGrid/KDLightTable/column/render/style/index.less ***!
  \********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"cell-context\":\"index_cell-context_25Gt\",\"cell-container\":\"index_cell-container_2CxO\",\"cell-ellipsis\":\"index_cell-ellipsis_14vX\",\"cell-line-wrap\":\"index_cell-line-wrap_2yI4\",\"operate-item\":\"index_operate-item_ADAp\",\"operate-text\":\"index_operate-text_3CA2\",\"operate-item-enable\":\"index_operate-item-enable_3oMP\",\"link-cell-content\":\"index_link-cell-content_1sjZ\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/web/DataGrid/KDLightTable/column/render/style/index.less?");

/***/ }),

/***/ "./src/reducer/registerReducer sync recursive ^(?%21\\.\\/index).*\\.js$":
/*!*******************************************************************!*\
  !*** ./src/reducer/registerReducer/ sync ^(?%21\.\/index).*\.js$ ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var map = {\n\t\"./actionReducer.js\": \"./src/reducer/registerReducer/actionReducer.js\",\n\t\"./admindivisionReducer.js\": \"./src/reducer/registerReducer/admindivisionReducer.js\",\n\t\"./approvalProcessingReducer.js\": \"./src/reducer/registerReducer/approvalProcessingReducer.js\",\n\t\"./approvalRecordReducer.js\": \"./src/reducer/registerReducer/approvalRecordReducer.js\",\n\t\"./appstartReducer.js\": \"./src/reducer/registerReducer/appstartReducer.js\",\n\t\"./attachmentpanelReducer.js\": \"./src/reducer/registerReducer/attachmentpanelReducer.js\",\n\t\"./baseCardFieldReducer.js\": \"./src/reducer/registerReducer/baseCardFieldReducer.js\",\n\t\"./billReducer.js\": \"./src/reducer/registerReducer/billReducer.js\",\n\t\"./buttonReducer.js\": \"./src/reducer/registerReducer/buttonReducer.js\",\n\t\"./commonFilterReducer.js\": \"./src/reducer/registerReducer/commonFilterReducer.js\",\n\t\"./commonFunctionPanelReducer.js\": \"./src/reducer/registerReducer/commonFunctionPanelReducer.js\",\n\t\"./dateselectReducer.js\": \"./src/reducer/registerReducer/dateselectReducer.js\",\n\t\"./entitydesignerReducer.js\": \"./src/reducer/registerReducer/entitydesignerReducer.js\",\n\t\"./f7Reducer.js\": \"./src/reducer/registerReducer/f7Reducer.js\",\n\t\"./fieldReducer.js\": \"./src/reducer/registerReducer/fieldReducer.js\",\n\t\"./generalf7Reducer.js\": \"./src/reducer/registerReducer/generalf7Reducer.js\",\n\t\"./generaltreef7Reducer.js\": \"./src/reducer/registerReducer/generaltreef7Reducer.js\",\n\t\"./gridReducer.js\": \"./src/reducer/registerReducer/gridReducer.js\",\n\t\"./gridcontainerReducer.js\": \"./src/reducer/registerReducer/gridcontainerReducer.js\",\n\t\"./guideReducer.js\": \"./src/reducer/registerReducer/guideReducer.js\",\n\t\"./homePageTabReducer.js\": \"./src/reducer/registerReducer/homePageTabReducer.js\",\n\t\"./htmlReducer.js\": \"./src/reducer/registerReducer/htmlReducer.js\",\n\t\"./hyperLinkReducer.js\": \"./src/reducer/registerReducer/hyperLinkReducer.js\",\n\t\"./iconReducer.js\": \"./src/reducer/registerReducer/iconReducer.js\",\n\t\"./iframeReducer.js\": \"./src/reducer/registerReducer/iframeReducer.js\",\n\t\"./littlekReducer.js\": \"./src/reducer/registerReducer/littlekReducer.js\",\n\t\"./mapReducer.js\": \"./src/reducer/registerReducer/mapReducer.js\",\n\t\"./mobilefilterReducer.js\": \"./src/reducer/registerReducer/mobilefilterReducer.js\",\n\t\"./myApplicationReducer.js\": \"./src/reducer/registerReducer/myApplicationReducer.js\",\n\t\"./qingReducer.js\": \"./src/reducer/registerReducer/qingReducer.js\",\n\t\"./qrcodeReducer.js\": \"./src/reducer/registerReducer/qrcodeReducer.js\",\n\t\"./querypanelReducer.js\": \"./src/reducer/registerReducer/querypanelReducer.js\",\n\t\"./reportfilterReducer.js\": \"./src/reducer/registerReducer/reportfilterReducer.js\",\n\t\"./searchReducer.js\": \"./src/reducer/registerReducer/searchReducer.js\",\n\t\"./splitcontainerReducer.js\": \"./src/reducer/registerReducer/splitcontainerReducer.js\",\n\t\"./subGridReducer.js\": \"./src/reducer/registerReducer/subGridReducer.js\",\n\t\"./tabReducer.js\": \"./src/reducer/registerReducer/tabReducer.js\",\n\t\"./tilePanelReducer.js\": \"./src/reducer/registerReducer/tilePanelReducer.js\",\n\t\"./transferContainerReducer.js\": \"./src/reducer/registerReducer/transferContainerReducer.js\",\n\t\"./treeReducer.js\": \"./src/reducer/registerReducer/treeReducer.js\",\n\t\"./wFNavigationBarReducer.js\": \"./src/reducer/registerReducer/wFNavigationBarReducer.js\",\n\t\"./wfConditionReducer.js\": \"./src/reducer/registerReducer/wfConditionReducer.js\",\n\t\"./workcalendarReducer.js\": \"./src/reducer/registerReducer/workcalendarReducer.js\",\n\t\"./yzjChatReducer.js\": \"./src/reducer/registerReducer/yzjChatReducer.js\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"./src/reducer/registerReducer sync recursive ^(?%21\\\\.\\\\/index).*\\\\.js$\";\n\n//# sourceURL=webpack://bos-platform/./src/reducer/registerReducer/_sync_^(?");

/***/ }),

/***/ "../../node_modules/xss-filters/src/xss-filters.js":
/*!******************************************************************************************!*\
  !*** delegated ../../node_modules/xss-filters/src/xss-filters.js from dll-reference lib ***!
  \******************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = (__webpack_require__(/*! dll-reference lib */ \"dll-reference lib\"))(8375);\n\n//# sourceURL=webpack://bos-platform/delegated_../../node_modules/xss-filters/src/xss-filters.js_from_dll-reference_lib?");

/***/ }),

/***/ "../../node_modules/redux/es/index.js":
/*!*****************************************************************************!*\
  !*** delegated ../../node_modules/redux/es/index.js from dll-reference lib ***!
  \*****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = (__webpack_require__(/*! dll-reference lib */ \"dll-reference lib\"))(9249);\n\n//# sourceURL=webpack://bos-platform/delegated_../../node_modules/redux/es/index.js_from_dll-reference_lib?");

/***/ })

}]);