@kdcloudjs/table 1.2.1-canary.5 → 1.2.1-canary.6
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 +8 -5
- 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/pipeline/features/rangeSelection.js +1 -2
- package/es/table/utils/browserType.js +5 -1
- package/lib/table/pipeline/features/rangeSelection.js +1 -2
- package/lib/table/utils/browserType.js +5 -1
- package/package.json +1 -1
package/dist/@kdcloudjs/table.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* @kdcloudjs/table v1.2.1-canary.
|
|
3
|
+
* @kdcloudjs/table v1.2.1-canary.5
|
|
4
4
|
*
|
|
5
5
|
* Copyright 2020-present, Kingdee, Inc.
|
|
6
6
|
* All rights reserved.
|
|
@@ -8696,8 +8696,7 @@ function rangeSelection(opts) {
|
|
|
8696
8696
|
pipeline.addTableProps({
|
|
8697
8697
|
onMouseDown: onMouseDown,
|
|
8698
8698
|
onKeyDown: onKeyDown,
|
|
8699
|
-
tabIndex: -1
|
|
8700
|
-
className: classnames__WEBPACK_IMPORTED_MODULE_18___default()([_base_styles__WEBPACK_IMPORTED_MODULE_17__["Classes"].rangeSelection])
|
|
8699
|
+
tabIndex: -1
|
|
8701
8700
|
}); // todo: 后面可以把mousedown放到一个流里面
|
|
8702
8701
|
|
|
8703
8702
|
return pipeline.mapColumns(Object(_utils__WEBPACK_IMPORTED_MODULE_13__["makeRecursiveMapper"])(function (col) {
|
|
@@ -13667,7 +13666,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13667
13666
|
/*
|
|
13668
13667
|
* @Author: wqhui
|
|
13669
13668
|
* @Date: 2022-05-13 17:06:51
|
|
13670
|
-
* @LastEditTime: 2024-05-
|
|
13669
|
+
* @LastEditTime: 2024-05-29 16:25:48
|
|
13671
13670
|
* @Description:
|
|
13672
13671
|
*/
|
|
13673
13672
|
var browserData = getBrowserData();
|
|
@@ -13724,7 +13723,11 @@ function getBrowserData() {
|
|
|
13724
13723
|
|
|
13725
13724
|
|
|
13726
13725
|
if (!browser.name) {
|
|
13727
|
-
if (
|
|
13726
|
+
if (/Trident\/(\d+)/.test(ua)) {
|
|
13727
|
+
browser.name = 'IE';
|
|
13728
|
+
match = ua.match(/Trident.*rv:([\d.]+)/) || [];
|
|
13729
|
+
browser.version = match[1];
|
|
13730
|
+
} else if (match = ua.match(/MSIE\s(.*?);/)) {
|
|
13728
13731
|
browser.name = 'IE';
|
|
13729
13732
|
browser.version = match[1];
|
|
13730
13733
|
}
|