@bit-sun/business-component 4.2.0-alpha.33-wyl → 4.2.0-alpha.34-wyl

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/index.esm.js CHANGED
@@ -20049,7 +20049,7 @@ var resolveExcludeCols = function resolveExcludeCols(tbody, titles) {
20049
20049
  return excludeCols;
20050
20050
  };
20051
20051
 
20052
- var css_248z$k = ".bs-range-copy tbody.ant-table-tbody > tr.ant-table-row > td.ant-table-cell:not(.ant-table-cell-fix-right) {\n cursor: cell;\n}\n.bs-range-copy .ant-table-body {\n position: relative;\n}\n.bs-range-copy__overlay {\n position: absolute;\n z-index: 1;\n display: none;\n box-sizing: border-box;\n pointer-events: none;\n background: rgba(24, 144, 255, 0.12);\n border: 1px solid rgba(24, 144, 255, 0.55);\n}\n";
20052
+ var css_248z$k = ".bs-range-copy tbody.ant-table-tbody > tr.ant-table-row > td.ant-table-cell:not(.ant-table-cell-fix-right) {\n cursor: cell;\n}\n.bs-range-copy .ant-table-body {\n position: relative;\n}\n.bs-range-copy__overlay {\n position: absolute;\n z-index: 5;\n display: none;\n box-sizing: border-box;\n pointer-events: none;\n background: rgba(24, 144, 255, 0.12);\n border: 1px solid rgba(24, 144, 255, 0.55);\n}\n";
20053
20053
  styleInject(css_248z$k);
20054
20054
 
20055
20055
  var CELL_SELECTOR = 'td.ant-table-cell';
package/dist/index.js CHANGED
@@ -20072,7 +20072,7 @@ var resolveExcludeCols = function resolveExcludeCols(tbody, titles) {
20072
20072
  return excludeCols;
20073
20073
  };
20074
20074
 
20075
- var css_248z$k = ".bs-range-copy tbody.ant-table-tbody > tr.ant-table-row > td.ant-table-cell:not(.ant-table-cell-fix-right) {\n cursor: cell;\n}\n.bs-range-copy .ant-table-body {\n position: relative;\n}\n.bs-range-copy__overlay {\n position: absolute;\n z-index: 1;\n display: none;\n box-sizing: border-box;\n pointer-events: none;\n background: rgba(24, 144, 255, 0.12);\n border: 1px solid rgba(24, 144, 255, 0.55);\n}\n";
20075
+ var css_248z$k = ".bs-range-copy tbody.ant-table-tbody > tr.ant-table-row > td.ant-table-cell:not(.ant-table-cell-fix-right) {\n cursor: cell;\n}\n.bs-range-copy .ant-table-body {\n position: relative;\n}\n.bs-range-copy__overlay {\n position: absolute;\n z-index: 5;\n display: none;\n box-sizing: border-box;\n pointer-events: none;\n background: rgba(24, 144, 255, 0.12);\n border: 1px solid rgba(24, 144, 255, 0.55);\n}\n";
20076
20076
  styleInject(css_248z$k);
20077
20077
 
20078
20078
  var CELL_SELECTOR = 'td.ant-table-cell';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bit-sun/business-component",
3
- "version": "4.2.0-alpha.33-wyl",
3
+ "version": "4.2.0-alpha.34-wyl",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -13,10 +13,13 @@
13
13
  }
14
14
  }
15
15
 
16
- // 框选高亮层:绝对定位在滚动容器内容坐标系里,随内容滚动;z-index 低于固定列,不遮挡它们
16
+ // 框选高亮层:绝对定位在滚动容器内容坐标系里,随内容滚动。
17
+ // z-index 必须高于 antd 的固定列:.ant-table-cell-fix-left/right 是 position:sticky + z-index:2 + background:#fff
18
+ // (不透明白底),低于它就会"固定列那一段没有高亮"。表格内部最高的就是固定列的 2,取 5 足够,
19
+ // 仍远低于 antd 弹层/弹窗(1000+)。
17
20
  .bs-range-copy__overlay {
18
21
  position: absolute;
19
- z-index: 1;
22
+ z-index: 5;
20
23
  display: none;
21
24
  box-sizing: border-box;
22
25
  pointer-events: none;