feffery_antd_components 0.4.3-rc7 → 0.4.3
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 +1 -1
- package/README.md +1 -1
- package/bug_fix.py +21 -21
- package/feffery_antd_components/AntdTable.py +5 -0
- package/feffery_antd_components/async-antd_table.js +2 -2
- package/feffery_antd_components/async-data_display.js +1 -1
- package/feffery_antd_components/async-data_entry.js +2 -2
- package/feffery_antd_components/async-upload.js +2 -2
- package/feffery_antd_components/feffery_antd_components.min.js +4 -4
- package/feffery_antd_components/metadata.json +1 -1
- package/feffery_antd_components/package-info.json +20 -2
- package/package.json +20 -2
- package/src/jl/'feffery'_antdtable.jl +3 -1
- package/src/lib/components/dataDisplay/AntdTable.react.js +5 -0
- package/src/lib/components/navigation/AntdMenu.react.js +3 -79
- package/src/lib/fragments/AntdTable.react.js +52 -16
- package/src/lib/internal_components/UtilsLink.react.js +82 -0
- package/tests/dataDisplay/AntdTable/feat_button_mode_like_dcc_link.py +125 -0
- package/tests/dataDisplay/AntdTable/feat_link_mode_like_dcc_link.py +49 -0
package/DESCRIPTION
CHANGED
package/Project.toml
CHANGED
package/README-en_US.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
[简体中文](./README.md) | English
|
|
17
17
|
|
|
18
|
-
Subproject of `feffery-components` projects, third-party components library of `Plotly Dash`, based on the [Antd](https://github.com/ant-design/ant-design), brings many common and powerful components into `Dash`🥳, latest stable version: `0.4.
|
|
18
|
+
Subproject of `feffery-components` projects, third-party components library of `Plotly Dash`, based on the [Antd](https://github.com/ant-design/ant-design), brings many common and powerful components into `Dash`🥳, latest stable version: `0.4.3` (2026-01-17)
|
|
19
19
|
|
|
20
20
|
## Dash Version Compatibility Notes
|
|
21
21
|
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
简体中文 | [English](./README-en_US.md)
|
|
17
17
|
|
|
18
|
-
`feffery-components`计划子项目,`Plotly Dash`第三方组件库,基于`Antd`,将超多具有丰富功能的通用网页常用交互组件引入`Dash`的生态中 🥳,最新稳定版本:`0.4.
|
|
18
|
+
`feffery-components`计划子项目,`Plotly Dash`第三方组件库,基于`Antd`,将超多具有丰富功能的通用网页常用交互组件引入`Dash`的生态中 🥳,最新稳定版本:`0.4.3`(2026-01-17)
|
|
19
19
|
|
|
20
20
|
## Dash版本兼容性说明
|
|
21
21
|
|
package/bug_fix.py
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import dash
|
|
2
|
-
from dash import html
|
|
3
|
-
import feffery_antd_components as fac
|
|
4
|
-
from feffery_dash_utils.style_utils import style
|
|
5
|
-
|
|
6
|
-
app = dash.Dash(__name__)
|
|
7
|
-
|
|
8
|
-
app.layout = html.Div(
|
|
9
|
-
[
|
|
10
|
-
fac.AntdDatePicker(
|
|
11
|
-
placeholder='picker="week"',
|
|
12
|
-
picker='week',
|
|
13
|
-
format='YYYY年第w周',
|
|
14
|
-
style={'width': 175},
|
|
15
|
-
)
|
|
16
|
-
],
|
|
17
|
-
style=style(padding=50),
|
|
18
|
-
)
|
|
19
|
-
|
|
20
|
-
if __name__ == '__main__':
|
|
21
|
-
app.run(debug=True)
|
|
1
|
+
import dash
|
|
2
|
+
from dash import html
|
|
3
|
+
import feffery_antd_components as fac
|
|
4
|
+
from feffery_dash_utils.style_utils import style
|
|
5
|
+
|
|
6
|
+
app = dash.Dash(__name__)
|
|
7
|
+
|
|
8
|
+
app.layout = html.Div(
|
|
9
|
+
[
|
|
10
|
+
fac.AntdDatePicker(
|
|
11
|
+
placeholder='picker="week"',
|
|
12
|
+
picker='week',
|
|
13
|
+
format='YYYY年第w周',
|
|
14
|
+
style={'width': 175},
|
|
15
|
+
)
|
|
16
|
+
],
|
|
17
|
+
style=style(padding=50),
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
if __name__ == '__main__':
|
|
21
|
+
app.run(debug=True)
|
|
@@ -68,6 +68,10 @@ Keyword arguments:
|
|
|
68
68
|
- renderLinkText (string; optional):
|
|
69
69
|
当`renderType='link'`时,统一设置渲染链接文本内容.
|
|
70
70
|
|
|
71
|
+
- likeDccLink (boolean; optional):
|
|
72
|
+
当`renderType`为`'link'`、`'button'`时,统一设置链接跳转行为是否采用`dcc.Link`模式
|
|
73
|
+
默认值:`False`.
|
|
74
|
+
|
|
71
75
|
- renderButtonSplit (boolean; optional):
|
|
72
76
|
当`renderType='button'`时,控制多个按钮之间是否添加分割线.
|
|
73
77
|
|
|
@@ -1087,6 +1091,7 @@ Keyword arguments:
|
|
|
1087
1091
|
{
|
|
1088
1092
|
"renderType": NotRequired[Literal["link", "ellipsis", "copyable", "ellipsis-copyable", "tags", "status-badge", "image", "custom-format", "corner-mark", "row-merge", "dropdown", "dropdown-links", "image-avatar", "mini-line", "mini-bar", "mini-progress", "mini-ring-progress", "mini-area", "button", "checkbox", "switch", "select"]],
|
|
1089
1093
|
"renderLinkText": NotRequired[str],
|
|
1094
|
+
"likeDccLink": NotRequired[bool],
|
|
1090
1095
|
"renderButtonSplit": NotRequired[bool],
|
|
1091
1096
|
"renderButtonPopConfirmProps": NotRequired["ColumnsRenderOptionsRenderButtonPopConfirmProps"],
|
|
1092
1097
|
"miniChartColor": NotRequired[str],
|