feffery_antd_components 0.4.5 → 0.4.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/DESCRIPTION +1 -1
- package/Project.toml +1 -1
- package/README-en_US.md +2 -2
- package/README.md +2 -2
- package/feffery_antd_components/async-antd_table.js +2 -2
- package/feffery_antd_components/async-data_entry.js +1 -1
- package/feffery_antd_components/async-upload.js +2 -2
- package/feffery_antd_components/feffery_antd_components.min.js +5 -5
- package/feffery_antd_components/package-info.json +1 -1
- package/package.json +1 -1
- package/setup.py +1 -1
- package/src/lib/fragments/AntdTable.react.js +18 -1
- package/.pytest_cache/README.md +0 -8
package/package.json
CHANGED
package/setup.py
CHANGED
|
@@ -453,7 +453,7 @@ const AntdTable = (props) => {
|
|
|
453
453
|
}
|
|
454
454
|
},
|
|
455
455
|
render: (text) =>
|
|
456
|
-
searchedColumn === dataIndex ? (
|
|
456
|
+
searchedColumn === dataIndex && isString(text) ? (
|
|
457
457
|
<Highlighter
|
|
458
458
|
highlightStyle={{ backgroundColor: '#ffc069', padding: 0 }}
|
|
459
459
|
searchWords={[searchText]}
|
|
@@ -2739,6 +2739,23 @@ const AntdTable = (props) => {
|
|
|
2739
2739
|
}
|
|
2740
2740
|
}
|
|
2741
2741
|
|
|
2742
|
+
// 补充单元格鼠标移入监听事件
|
|
2743
|
+
returnValue = {
|
|
2744
|
+
...returnValue,
|
|
2745
|
+
onMouseEnter: (event) => {
|
|
2746
|
+
setProps({
|
|
2747
|
+
recentlyMouseEnterColumnDataIndex:
|
|
2748
|
+
item.dataIndex,
|
|
2749
|
+
recentlyMouseEnterRowKey: record.key,
|
|
2750
|
+
// 忽略组件型字段键值对
|
|
2751
|
+
recentlyMouseEnterRow: omitBy(
|
|
2752
|
+
record,
|
|
2753
|
+
(value) => value?.$$typeof
|
|
2754
|
+
),
|
|
2755
|
+
});
|
|
2756
|
+
},
|
|
2757
|
+
};
|
|
2758
|
+
|
|
2742
2759
|
return returnValue;
|
|
2743
2760
|
},
|
|
2744
2761
|
},
|
package/.pytest_cache/README.md
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
# pytest cache directory #
|
|
2
|
-
|
|
3
|
-
This directory contains data from the pytest's cache plugin,
|
|
4
|
-
which provides the `--lf` and `--ff` options, as well as the `cache` fixture.
|
|
5
|
-
|
|
6
|
-
**Do not** commit this to version control.
|
|
7
|
-
|
|
8
|
-
See [the docs](https://docs.pytest.org/en/stable/how-to/cache.html) for more information.
|