feffery_antd_components 0.4.0-rc9 → 0.4.1
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/NAMESPACE +1 -2
- package/Project.toml +1 -1
- package/README-en_US.md +2 -2
- package/README.md +2 -2
- package/feffery_antd_components/AntdCountup.py +2 -17
- package/feffery_antd_components/AntdHappyProvider.py +63 -0
- package/feffery_antd_components/AntdModal.py +18 -8
- package/feffery_antd_components/AntdTable.py +77 -2
- package/feffery_antd_components/_imports_.py +2 -0
- package/feffery_antd_components/alias.py +2 -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 +4 -4
- package/feffery_antd_components/async-upload.js +2 -2
- package/feffery_antd_components/feffery_antd_components.min.js +9 -8
- package/feffery_antd_components/metadata.json +1 -1
- package/feffery_antd_components/package-info.json +3 -3
- package/package.json +3 -3
- package/setup.py +1 -1
- package/src/jl/'feffery'_antdcountup.jl +1 -4
- package/src/jl/'feffery'_antdhappyprovider.jl +28 -0
- package/src/jl/'feffery'_antdmodal.jl +9 -7
- package/src/jl/'feffery'_antdtable.jl +20 -3
- package/src/lib/components/dataDisplay/AntdCountup.react.js +0 -10
- package/src/lib/components/dataDisplay/AntdTable.react.js +59 -1
- package/src/lib/components/feedback/AntdModal.react.js +32 -3
- package/src/lib/components/layout/AntdDivider.react.js +0 -1
- package/src/lib/components/other/AntdConfigProvider.react.js +0 -1
- package/src/lib/components/other/AntdHappyProvider.react.js +51 -0
- package/src/lib/fragments/AntdTable.react.js +81 -47
- package/src/lib/fragments/dataDisplay/AntdCountdown.react.js +14 -2
- package/src/lib/fragments/dataDisplay/AntdCountup.react.js +0 -1
- package/src/lib/fragments/dataEntry/AntdSelect.react.js +2 -2
- package/src/lib/index.js +2 -0
- package/tests/dataDisplay/AntdTable/feat_button_mode_tooltip.py +47 -0
- package/tests/dataDisplay/AntdTable/perf_button_mode_auto_wrap.py +39 -0
- package/tests/dataDisplay/AntdTable/refactor_mini_progress_mode.py +122 -0
- package/tests/dataEntry/AntdSelect/fix_read_only_with_allow_clear.py +29 -0
- package/tests/feedback/AntdModal/feat_prevent_close.py +54 -0
- package/tests/other/AntdHappyProvider/feat_component.py +60 -0
- package/debug.py +0 -0
- package/src/jl/'feffery'_antddraggablepanel.jl +0 -63
- package/src/jl/'feffery'_antdeditorlayout.jl +0 -90
package/DESCRIPTION
CHANGED
package/NAMESPACE
CHANGED
|
@@ -106,8 +106,7 @@ export('feffery'AntdAffix)
|
|
|
106
106
|
export('feffery'AntdBackTop)
|
|
107
107
|
export('feffery'AntdConfigProvider)
|
|
108
108
|
export('feffery'AntdCopyText)
|
|
109
|
+
export('feffery'AntdHappyProvider)
|
|
109
110
|
export('feffery'AntdTour)
|
|
110
111
|
export('feffery'AntdWatermark)
|
|
111
112
|
export('feffery'Fragment)
|
|
112
|
-
export(AntdDraggablePanel)
|
|
113
|
-
export(AntdEditorLayout)
|
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.
|
|
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.1` (2025-08-19)
|
|
19
19
|
|
|
20
20
|
## Dash Version Compatibility Notes
|
|
21
21
|
|
|
@@ -52,7 +52,7 @@ app = dash.Dash(serve_locally=False)
|
|
|
52
52
|
|
|
53
53
|
## 5 Internationalization
|
|
54
54
|
|
|
55
|
-
Some components in `fac` have built-in copy information, and internationalization settings can be made through the parameter `locale`. The default is `'zh-cn'`, which is Simplified Chinese. You can set it to `'en-us'
|
|
55
|
+
Some components in `fac` have built-in copy information, and internationalization settings can be made through the parameter `locale`. The default is `'zh-cn'`, which is Simplified Chinese. You can set it to `'en-us'`, `'de-de'`, or `'ru-ru'` to use different languages, for example:
|
|
56
56
|
|
|
57
57
|
```Python
|
|
58
58
|
fac.AntdDatePicker(locale='en-us')
|
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.
|
|
18
|
+
`feffery-components`计划子项目,`Plotly Dash`第三方组件库,基于`Antd`,将超多具有丰富功能的通用网页常用交互组件引入`Dash`的生态中 🥳,最新稳定版本:`0.4.1`(2025-08-19)
|
|
19
19
|
|
|
20
20
|
## Dash版本兼容性说明
|
|
21
21
|
|
|
@@ -53,7 +53,7 @@ app = dash.Dash(serve_locally=False)
|
|
|
53
53
|
|
|
54
54
|
## 5 国际化
|
|
55
55
|
|
|
56
|
-
`fac`中的部分组件具有自带的文案信息,通过参数`locale`可以进行国际化设置,默认为`'zh-cn'`即简体中文,你可以设置为`'en-us'
|
|
56
|
+
`fac`中的部分组件具有自带的文案信息,通过参数`locale`可以进行国际化设置,默认为`'zh-cn'`即简体中文,你可以设置为`'en-us'`、`'de-de'`、`'ru-ru'`来使用不同语言,譬如:
|
|
57
57
|
|
|
58
58
|
```Python
|
|
59
59
|
fac.AntdDatePicker(locale='en-us')
|
|
@@ -58,14 +58,6 @@ Keyword arguments:
|
|
|
58
58
|
- valueStyle (dict; optional):
|
|
59
59
|
数值内容css样式.
|
|
60
60
|
|
|
61
|
-
- finishEvent (dict; optional):
|
|
62
|
-
监听倒计时结束事件.
|
|
63
|
-
|
|
64
|
-
`finishEvent` is a dict with keys:
|
|
65
|
-
|
|
66
|
-
- timestamp (number; optional):
|
|
67
|
-
事件时间戳.
|
|
68
|
-
|
|
69
61
|
- data-* (string; optional):
|
|
70
62
|
`data-*`格式属性通配.
|
|
71
63
|
|
|
@@ -75,12 +67,6 @@ Keyword arguments:
|
|
|
75
67
|
_base_nodes = ['prefix', 'suffix', 'title', 'children']
|
|
76
68
|
_namespace = 'feffery_antd_components'
|
|
77
69
|
_type = 'AntdCountup'
|
|
78
|
-
FinishEvent = TypedDict(
|
|
79
|
-
"FinishEvent",
|
|
80
|
-
{
|
|
81
|
-
"timestamp": NotRequired[NumberType]
|
|
82
|
-
}
|
|
83
|
-
)
|
|
84
70
|
|
|
85
71
|
|
|
86
72
|
def __init__(
|
|
@@ -97,12 +83,11 @@ Keyword arguments:
|
|
|
97
83
|
title: typing.Optional[ComponentType] = None,
|
|
98
84
|
titleTooltip: typing.Optional[str] = None,
|
|
99
85
|
valueStyle: typing.Optional[dict] = None,
|
|
100
|
-
finishEvent: typing.Optional["FinishEvent"] = None,
|
|
101
86
|
**kwargs
|
|
102
87
|
):
|
|
103
|
-
self._prop_names = ['id', 'key', 'style', 'className', 'format', 'value', 'valueFormat', 'prefix', 'suffix', 'title', 'titleTooltip', 'valueStyle', '
|
|
88
|
+
self._prop_names = ['id', 'key', 'style', 'className', 'format', 'value', 'valueFormat', 'prefix', 'suffix', 'title', 'titleTooltip', 'valueStyle', 'data-*', 'aria-*']
|
|
104
89
|
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
105
|
-
self.available_properties = ['id', 'key', 'style', 'className', 'format', 'value', 'valueFormat', 'prefix', 'suffix', 'title', 'titleTooltip', 'valueStyle', '
|
|
90
|
+
self.available_properties = ['id', 'key', 'style', 'className', 'format', 'value', 'valueFormat', 'prefix', 'suffix', 'title', 'titleTooltip', 'valueStyle', 'data-*', 'aria-*']
|
|
106
91
|
self.available_wildcard_properties = ['data-', 'aria-']
|
|
107
92
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
108
93
|
_locals = locals()
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
import typing # noqa: F401
|
|
4
|
+
from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401
|
|
5
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
6
|
+
|
|
7
|
+
ComponentType = typing.Union[
|
|
8
|
+
str,
|
|
9
|
+
int,
|
|
10
|
+
float,
|
|
11
|
+
Component,
|
|
12
|
+
None,
|
|
13
|
+
typing.Sequence[typing.Union[str, int, float, Component, None]],
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
NumberType = typing.Union[
|
|
17
|
+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class AntdHappyProvider(Component):
|
|
22
|
+
"""An AntdHappyProvider component.
|
|
23
|
+
快乐工作特效组件AntdHappyProvider
|
|
24
|
+
|
|
25
|
+
Keyword arguments:
|
|
26
|
+
|
|
27
|
+
- id (string; optional):
|
|
28
|
+
组件唯一id.
|
|
29
|
+
|
|
30
|
+
- key (string; optional):
|
|
31
|
+
对当前组件的`key`值进行更新,可实现强制重绘当前组件的效果.
|
|
32
|
+
|
|
33
|
+
- children (a list of or a singular dash component, string or number; optional):
|
|
34
|
+
组件型,内嵌元素.
|
|
35
|
+
|
|
36
|
+
- disabled (boolean; default False):
|
|
37
|
+
是否禁用当前特效 默认值:`False`."""
|
|
38
|
+
_children_props = []
|
|
39
|
+
_base_nodes = ['children']
|
|
40
|
+
_namespace = 'feffery_antd_components'
|
|
41
|
+
_type = 'AntdHappyProvider'
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def __init__(
|
|
45
|
+
self,
|
|
46
|
+
children: typing.Optional[ComponentType] = None,
|
|
47
|
+
id: typing.Optional[typing.Union[str, dict]] = None,
|
|
48
|
+
key: typing.Optional[str] = None,
|
|
49
|
+
disabled: typing.Optional[bool] = None,
|
|
50
|
+
**kwargs
|
|
51
|
+
):
|
|
52
|
+
self._prop_names = ['id', 'key', 'children', 'disabled']
|
|
53
|
+
self._valid_wildcard_attributes = []
|
|
54
|
+
self.available_properties = ['id', 'key', 'children', 'disabled']
|
|
55
|
+
self.available_wildcard_properties = []
|
|
56
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
57
|
+
_locals = locals()
|
|
58
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
59
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
60
|
+
|
|
61
|
+
super(AntdHappyProvider, self).__init__(children=children, **args)
|
|
62
|
+
|
|
63
|
+
setattr(AntdHappyProvider, "__init__", _explicitize_args(AntdHappyProvider.__init__))
|
|
@@ -160,17 +160,23 @@ Keyword arguments:
|
|
|
160
160
|
|
|
161
161
|
`width` is a number | string | dict with keys:
|
|
162
162
|
|
|
163
|
-
- xs (number | string; optional)
|
|
163
|
+
- xs (number | string; optional):
|
|
164
|
+
对应页面宽度<576px的响应式断点.
|
|
164
165
|
|
|
165
|
-
- sm (number | string; optional)
|
|
166
|
+
- sm (number | string; optional):
|
|
167
|
+
对应页面宽度≥576px的响应式断点.
|
|
166
168
|
|
|
167
|
-
- md (number | string; optional)
|
|
169
|
+
- md (number | string; optional):
|
|
170
|
+
对应页面宽度≥768px的响应式断点.
|
|
168
171
|
|
|
169
|
-
- lg (number | string; optional)
|
|
172
|
+
- lg (number | string; optional):
|
|
173
|
+
对应页面宽度≥992px的响应式断点.
|
|
170
174
|
|
|
171
|
-
- xl (number | string; optional)
|
|
175
|
+
- xl (number | string; optional):
|
|
176
|
+
对应页面宽度≥1200px的响应式断点.
|
|
172
177
|
|
|
173
|
-
- xxl (number | string; optional)
|
|
178
|
+
- xxl (number | string; optional):
|
|
179
|
+
对应页面宽度≥1600px的响应式断点.
|
|
174
180
|
|
|
175
181
|
- centered (boolean; default False):
|
|
176
182
|
是否垂直居中显示对话框 默认值:`False`.
|
|
@@ -190,6 +196,9 @@ Keyword arguments:
|
|
|
190
196
|
- okClickClose (boolean; default True):
|
|
191
197
|
是否点击确认按钮触发对话框关闭 默认值:`True`.
|
|
192
198
|
|
|
199
|
+
- preventClose (boolean; default False):
|
|
200
|
+
是否阻止通过点击关闭图标、点击遮罩层区域、点击取消、按下ESC等方式自动触发的对话框关闭行为 默认值:`False`.
|
|
201
|
+
|
|
193
202
|
- zIndex (number; default 1000):
|
|
194
203
|
模态框z-index 默认值:`1000`.
|
|
195
204
|
|
|
@@ -320,6 +329,7 @@ Keyword arguments:
|
|
|
320
329
|
mask: typing.Optional[bool] = None,
|
|
321
330
|
maskClosable: typing.Optional[bool] = None,
|
|
322
331
|
okClickClose: typing.Optional[bool] = None,
|
|
332
|
+
preventClose: typing.Optional[bool] = None,
|
|
323
333
|
zIndex: typing.Optional[NumberType] = None,
|
|
324
334
|
okCounts: typing.Optional[NumberType] = None,
|
|
325
335
|
cancelCounts: typing.Optional[NumberType] = None,
|
|
@@ -333,9 +343,9 @@ Keyword arguments:
|
|
|
333
343
|
loading: typing.Optional[bool] = None,
|
|
334
344
|
**kwargs
|
|
335
345
|
):
|
|
336
|
-
self._prop_names = ['id', 'key', 'children', 'style', 'className', 'styles', 'classNames', 'locale', 'visible', 'title', 'renderFooter', 'okText', 'okButtonProps', 'cancelText', 'cancelButtonProps', 'width', 'centered', 'keyboard', 'closable', 'mask', 'maskClosable', 'okClickClose', 'zIndex', 'okCounts', 'cancelCounts', 'closeCounts', 'confirmAutoSpin', 'loadingOkText', 'confirmLoading', 'transitionType', 'forceRender', 'destroyOnClose', 'loading', 'data-*', 'aria-*']
|
|
346
|
+
self._prop_names = ['id', 'key', 'children', 'style', 'className', 'styles', 'classNames', 'locale', 'visible', 'title', 'renderFooter', 'okText', 'okButtonProps', 'cancelText', 'cancelButtonProps', 'width', 'centered', 'keyboard', 'closable', 'mask', 'maskClosable', 'okClickClose', 'preventClose', 'zIndex', 'okCounts', 'cancelCounts', 'closeCounts', 'confirmAutoSpin', 'loadingOkText', 'confirmLoading', 'transitionType', 'forceRender', 'destroyOnClose', 'loading', 'data-*', 'aria-*']
|
|
337
347
|
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
338
|
-
self.available_properties = ['id', 'key', 'children', 'style', 'className', 'styles', 'classNames', 'locale', 'visible', 'title', 'renderFooter', 'okText', 'okButtonProps', 'cancelText', 'cancelButtonProps', 'width', 'centered', 'keyboard', 'closable', 'mask', 'maskClosable', 'okClickClose', 'zIndex', 'okCounts', 'cancelCounts', 'closeCounts', 'confirmAutoSpin', 'loadingOkText', 'confirmLoading', 'transitionType', 'forceRender', 'destroyOnClose', 'loading', 'data-*', 'aria-*']
|
|
348
|
+
self.available_properties = ['id', 'key', 'children', 'style', 'className', 'styles', 'classNames', 'locale', 'visible', 'title', 'renderFooter', 'okText', 'okButtonProps', 'cancelText', 'cancelButtonProps', 'width', 'centered', 'keyboard', 'closable', 'mask', 'maskClosable', 'okClickClose', 'preventClose', 'zIndex', 'okCounts', 'cancelCounts', 'closeCounts', 'confirmAutoSpin', 'loadingOkText', 'confirmLoading', 'transitionType', 'forceRender', 'destroyOnClose', 'loading', 'data-*', 'aria-*']
|
|
339
349
|
self.available_wildcard_properties = ['data-', 'aria-']
|
|
340
350
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
341
351
|
_locals = locals()
|
|
@@ -92,8 +92,42 @@ Keyword arguments:
|
|
|
92
92
|
当`renderType`为`'mini-line'`、`'mini-area'`、`'mini-bar'`时,设置用于渲染信息卡片的`javascript`函数字符串.
|
|
93
93
|
|
|
94
94
|
- progressOneHundredPercentColor (string; optional):
|
|
95
|
-
当`renderType`为`'mini-progress'`、`'mini-ring-progress'
|
|
96
|
-
|
|
95
|
+
当`renderType`为`'mini-progress'`、`'mini-ring-progress'`时,设置进度完成状态下的填充色.
|
|
96
|
+
|
|
97
|
+
- progressShowPercent (boolean; optional):
|
|
98
|
+
当`renderType`为`'mini-progress'`时,设置进度条是否附带进度数值信息
|
|
99
|
+
默认值:`False`.
|
|
100
|
+
|
|
101
|
+
- progressPercentPosition (dict; optional):
|
|
102
|
+
当`renderType`为`'mini-progress'`时,设置进度条附带进度数值信息显示的位置.
|
|
103
|
+
|
|
104
|
+
`progressPercentPosition` is a dict with keys:
|
|
105
|
+
|
|
106
|
+
- align (a value equal to: 'start', 'center', 'end'; optional):
|
|
107
|
+
对齐方式,可选项有`'start'`、`'center'`、`'end'`.
|
|
108
|
+
|
|
109
|
+
- type (a value equal to: 'inner', 'outer'; optional):
|
|
110
|
+
内外位置,可选项有`'inner'`、`'outer'`.
|
|
111
|
+
|
|
112
|
+
- progressStrokeLinecap (a value equal to: 'square', 'round'; optional):
|
|
113
|
+
当`renderType`为`'mini-progress'`时,设置进度条形状类型,可选项有`'square'`、`'round'`
|
|
114
|
+
默认值:`'square'`.
|
|
115
|
+
|
|
116
|
+
- progressSize (number; optional):
|
|
117
|
+
当`renderType`为`'mini-progress'`时,设置进度条像素尺寸.
|
|
118
|
+
|
|
119
|
+
- progressColor (dict; optional):
|
|
120
|
+
当`renderType`为`'mini-progress'`时,设置进度条主体部分颜色,支持通过字段`'from'`、`'to'`配置渐变色.
|
|
121
|
+
|
|
122
|
+
`progressColor` is a string
|
|
123
|
+
|
|
124
|
+
Or dict with keys:
|
|
125
|
+
|
|
126
|
+
- from (string; optional):
|
|
127
|
+
渐变色起始颜色.
|
|
128
|
+
|
|
129
|
+
- to (string; optional):
|
|
130
|
+
渐变色结束颜色.
|
|
97
131
|
|
|
98
132
|
- ringProgressFontSize (number; optional):
|
|
99
133
|
当`renderType='mini-ring-progress'`时,设置进度数值像素大小.
|
|
@@ -272,6 +306,18 @@ Keyword arguments:
|
|
|
272
306
|
- iconRenderer (a value equal to: 'AntdIcon', 'fontawesome'; optional):
|
|
273
307
|
适用于`'button'`模式,按钮前缀图标渲染方式,可选项有`'AntdIcon'`、`'fontawesome'`.
|
|
274
308
|
|
|
309
|
+
- tooltip (dict; optional):
|
|
310
|
+
适用于`'button'`模式,为当前按钮添加额外的文字提示功能.
|
|
311
|
+
|
|
312
|
+
`tooltip` is a dict with keys:
|
|
313
|
+
|
|
314
|
+
- title (string; optional):
|
|
315
|
+
文字提示内容.
|
|
316
|
+
|
|
317
|
+
- placement (a value equal to: 'top', 'left', 'right', 'bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'; optional):
|
|
318
|
+
文字提示弹出方向,可选项有`'top'`、`'left'`、`'right'`、`'bottom'`、`'topLeft'`、`'topRight'`、`'bottomLeft'`、`'bottomRight'`、`'leftTop'`、`'leftBottom'`、`'rightTop'`、`'rightBottom'`
|
|
319
|
+
默认值:`'top'`.
|
|
320
|
+
|
|
275
321
|
- custom (boolean | number | string | dict | list; optional):
|
|
276
322
|
适用于`'button'`模式,额外补充信息. | list of dicts with keys:
|
|
277
323
|
|
|
@@ -976,6 +1022,22 @@ Keyword arguments:
|
|
|
976
1022
|
}
|
|
977
1023
|
)
|
|
978
1024
|
|
|
1025
|
+
ColumnsRenderOptionsProgressPercentPosition = TypedDict(
|
|
1026
|
+
"ColumnsRenderOptionsProgressPercentPosition",
|
|
1027
|
+
{
|
|
1028
|
+
"align": NotRequired[Literal["start", "center", "end"]],
|
|
1029
|
+
"type": NotRequired[Literal["inner", "outer"]]
|
|
1030
|
+
}
|
|
1031
|
+
)
|
|
1032
|
+
|
|
1033
|
+
ColumnsRenderOptionsProgressColor = TypedDict(
|
|
1034
|
+
"ColumnsRenderOptionsProgressColor",
|
|
1035
|
+
{
|
|
1036
|
+
"from": NotRequired[str],
|
|
1037
|
+
"to": NotRequired[str]
|
|
1038
|
+
}
|
|
1039
|
+
)
|
|
1040
|
+
|
|
979
1041
|
ColumnsRenderOptionsDropdownProps = TypedDict(
|
|
980
1042
|
"ColumnsRenderOptionsDropdownProps",
|
|
981
1043
|
{
|
|
@@ -998,6 +1060,11 @@ Keyword arguments:
|
|
|
998
1060
|
"miniChartColor": NotRequired[str],
|
|
999
1061
|
"tooltipCustomContent": NotRequired[str],
|
|
1000
1062
|
"progressOneHundredPercentColor": NotRequired[str],
|
|
1063
|
+
"progressShowPercent": NotRequired[bool],
|
|
1064
|
+
"progressPercentPosition": NotRequired["ColumnsRenderOptionsProgressPercentPosition"],
|
|
1065
|
+
"progressStrokeLinecap": NotRequired[Literal["square", "round"]],
|
|
1066
|
+
"progressSize": NotRequired[NumberType],
|
|
1067
|
+
"progressColor": NotRequired[typing.Union[str, "ColumnsRenderOptionsProgressColor"]],
|
|
1001
1068
|
"ringProgressFontSize": NotRequired[NumberType],
|
|
1002
1069
|
"dropdownProps": NotRequired["ColumnsRenderOptionsDropdownProps"]
|
|
1003
1070
|
}
|
|
@@ -1072,6 +1139,14 @@ Keyword arguments:
|
|
|
1072
1139
|
}
|
|
1073
1140
|
)
|
|
1074
1141
|
|
|
1142
|
+
DataTooltip = TypedDict(
|
|
1143
|
+
"DataTooltip",
|
|
1144
|
+
{
|
|
1145
|
+
"title": NotRequired[str],
|
|
1146
|
+
"placement": NotRequired[Literal["top", "left", "right", "bottom", "topLeft", "topRight", "bottomLeft", "bottomRight"]]
|
|
1147
|
+
}
|
|
1148
|
+
)
|
|
1149
|
+
|
|
1075
1150
|
DataSize = TypedDict(
|
|
1076
1151
|
"DataSize",
|
|
1077
1152
|
{
|
|
@@ -104,6 +104,7 @@ from .AntdAffix import AntdAffix
|
|
|
104
104
|
from .AntdBackTop import AntdBackTop
|
|
105
105
|
from .AntdConfigProvider import AntdConfigProvider
|
|
106
106
|
from .AntdCopyText import AntdCopyText
|
|
107
|
+
from .AntdHappyProvider import AntdHappyProvider
|
|
107
108
|
from .AntdTour import AntdTour
|
|
108
109
|
from .AntdWatermark import AntdWatermark
|
|
109
110
|
from .Fragment import Fragment
|
|
@@ -215,6 +216,7 @@ __all__ = [
|
|
|
215
216
|
"AntdBackTop",
|
|
216
217
|
"AntdConfigProvider",
|
|
217
218
|
"AntdCopyText",
|
|
219
|
+
"AntdHappyProvider",
|
|
218
220
|
"AntdTour",
|
|
219
221
|
"AntdWatermark",
|
|
220
222
|
"Fragment"
|
|
@@ -104,6 +104,7 @@ from .AntdAffix import AntdAffix as Affix
|
|
|
104
104
|
from .AntdBackTop import AntdBackTop as BackTop
|
|
105
105
|
from .AntdConfigProvider import AntdConfigProvider as ConfigProvider
|
|
106
106
|
from .AntdCopyText import AntdCopyText as CopyText
|
|
107
|
+
from .AntdHappyProvider import AntdHappyProvider as HappyProvider
|
|
107
108
|
from .AntdTour import AntdTour as Tour
|
|
108
109
|
from .AntdWatermark import AntdWatermark as Watermark
|
|
109
110
|
from .Fragment import Fragment
|
|
@@ -215,6 +216,7 @@ __all__ = [
|
|
|
215
216
|
"BackTop",
|
|
216
217
|
"ConfigProvider",
|
|
217
218
|
"CopyText",
|
|
219
|
+
"HappyProvider",
|
|
218
220
|
"Tour",
|
|
219
221
|
"Watermark",
|
|
220
222
|
"Fragment",
|