@kdcloudjs/table 1.1.5-canary.1 → 1.1.5-canary.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@kdcloudjs/table.css +1 -1
- package/dist/@kdcloudjs/table.js +7 -13
- package/dist/@kdcloudjs/table.js.map +1 -1
- package/dist/@kdcloudjs/table.min.css +1 -1
- package/dist/@kdcloudjs/table.min.js +2 -2
- package/dist/@kdcloudjs/table.min.js.map +1 -1
- package/es/table/base/table.d.ts +1 -1
- package/es/table/base/table.js +3 -2
- package/es/table/pipeline/pipeline.d.ts +0 -4
- package/es/table/pipeline/pipeline.js +4 -10
- package/lib/table/base/table.d.ts +1 -1
- package/lib/table/base/table.js +3 -2
- package/lib/table/pipeline/pipeline.d.ts +0 -4
- package/lib/table/pipeline/pipeline.js +4 -11
- package/package.json +1 -1
package/dist/@kdcloudjs/table.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* @kdcloudjs/table v1.1.
|
|
3
|
+
* @kdcloudjs/table v1.1.5-canary.1
|
|
4
4
|
*
|
|
5
5
|
* Copyright 2020-present, Kingdee, Inc.
|
|
6
6
|
* All rights reserved.
|
|
@@ -3981,7 +3981,7 @@ var BaseTable = /*#__PURE__*/function (_React$Component) {
|
|
|
3981
3981
|
}, {
|
|
3982
3982
|
key: "componentDidMount",
|
|
3983
3983
|
value: function componentDidMount() {
|
|
3984
|
-
var _this$props$setTableW2, _this$props9, _this$props$setTableD, _this$props10;
|
|
3984
|
+
var _this$props$setTableW2, _this$props9, _this$props$setTableD, _this$props10, _this$props$setRowHei, _this$props11;
|
|
3985
3985
|
|
|
3986
3986
|
// console.log('did mount start')
|
|
3987
3987
|
// console.log('update dom helper start')
|
|
@@ -4002,6 +4002,7 @@ var BaseTable = /*#__PURE__*/function (_React$Component) {
|
|
|
4002
4002
|
});
|
|
4003
4003
|
(_this$props$setTableW2 = (_this$props9 = this.props).setTableWidth) === null || _this$props$setTableW2 === void 0 ? void 0 : _this$props$setTableW2.call(_this$props9, this.domHelper.tableBody.clientWidth);
|
|
4004
4004
|
(_this$props$setTableD = (_this$props10 = this.props).setTableDomHelper) === null || _this$props$setTableD === void 0 ? void 0 : _this$props$setTableD.call(_this$props10, this.domHelper);
|
|
4005
|
+
(_this$props$setRowHei = (_this$props11 = this.props).setRowHeightManager) === null || _this$props$setRowHei === void 0 ? void 0 : _this$props$setRowHei.call(_this$props11, this.rowHeightManager);
|
|
4005
4006
|
}
|
|
4006
4007
|
}, {
|
|
4007
4008
|
key: "componentDidUpdate",
|
|
@@ -10391,7 +10392,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10391
10392
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_15__);
|
|
10392
10393
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../utils */ "./components/table/utils/index.tsx");
|
|
10393
10394
|
/* harmony import */ var _features_autoFill__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./features/autoFill */ "./components/table/pipeline/features/autoFill.tsx");
|
|
10394
|
-
/* harmony import */ var _features_rangeSelection__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./features/rangeSelection */ "./components/table/pipeline/features/rangeSelection.tsx");
|
|
10395
10395
|
|
|
10396
10396
|
|
|
10397
10397
|
|
|
@@ -10416,7 +10416,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
10416
10416
|
|
|
10417
10417
|
|
|
10418
10418
|
|
|
10419
|
-
|
|
10420
10419
|
/**
|
|
10421
10420
|
* 表格数据处理流水线。TablePipeline 提供了表格数据处理过程中的一些上下方与工具方法,包括……
|
|
10422
10421
|
*
|
|
@@ -10699,16 +10698,11 @@ var TablePipeline = /*#__PURE__*/function () {
|
|
|
10699
10698
|
_this2.ref.current.domHelper = domHelper;
|
|
10700
10699
|
};
|
|
10701
10700
|
|
|
10702
|
-
|
|
10703
|
-
|
|
10704
|
-
|
|
10705
|
-
* 清除范围选中内容
|
|
10706
|
-
*/
|
|
10701
|
+
result.setRowHeightManager = function (rowHeightManager) {
|
|
10702
|
+
_this2.ref.current.rowHeightManager = rowHeightManager;
|
|
10703
|
+
};
|
|
10707
10704
|
|
|
10708
|
-
|
|
10709
|
-
key: "clearRangeSelection",
|
|
10710
|
-
value: function clearRangeSelection() {
|
|
10711
|
-
this.setStateAtKey(_features_rangeSelection__WEBPACK_IMPORTED_MODULE_18__["rangeSelectionKey"], null);
|
|
10705
|
+
return result;
|
|
10712
10706
|
}
|
|
10713
10707
|
}]);
|
|
10714
10708
|
|