feffery_antd_components 0.4.0 → 0.4.2

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.
Files changed (42) hide show
  1. package/DESCRIPTION +1 -1
  2. package/NAMESPACE +1 -2
  3. package/Project.toml +1 -1
  4. package/README-en_US.md +2 -2
  5. package/README.md +2 -2
  6. package/feffery_antd_components/AntdHappyProvider.py +63 -0
  7. package/feffery_antd_components/AntdModal.py +6 -2
  8. package/feffery_antd_components/AntdProgress.py +47 -11
  9. package/feffery_antd_components/AntdTable.py +81 -2
  10. package/feffery_antd_components/_imports_.py +2 -0
  11. package/feffery_antd_components/alias.py +2 -0
  12. package/feffery_antd_components/async-antd_table.js +2 -2
  13. package/feffery_antd_components/async-data_display.js +1 -1
  14. package/feffery_antd_components/async-data_entry.js +4 -4
  15. package/feffery_antd_components/async-upload.js +2 -2
  16. package/feffery_antd_components/feffery_antd_components.min.js +9 -8
  17. package/feffery_antd_components/metadata.json +1 -1
  18. package/feffery_antd_components/package-info.json +3 -3
  19. package/package.json +3 -3
  20. package/src/jl/'feffery'_antdhappyprovider.jl +28 -0
  21. package/src/jl/'feffery'_antdmodal.jl +3 -1
  22. package/src/jl/'feffery'_antdprogress.jl +12 -5
  23. package/src/jl/'feffery'_antdtable.jl +21 -3
  24. package/src/lib/components/dataDisplay/AntdTable.react.js +63 -1
  25. package/src/lib/components/feedback/AntdModal.react.js +14 -3
  26. package/src/lib/components/feedback/AntdProgress.react.js +39 -5
  27. package/src/lib/components/layout/AntdSplitter.react.js +0 -1
  28. package/src/lib/components/other/AntdConfigProvider.react.js +0 -1
  29. package/src/lib/components/other/AntdHappyProvider.react.js +51 -0
  30. package/src/lib/fragments/AntdTable.react.js +88 -47
  31. package/src/lib/index.js +2 -0
  32. package/tests/dataDisplay/AntdTable/feat_button_mode_tooltip.py +47 -0
  33. package/tests/dataDisplay/AntdTable/refactor_mini_progress_mode.py +134 -0
  34. package/tests/feedback/AntdModal/feat_prevent_close.py +54 -0
  35. package/tests/feedback/AntdProgress/feat_percent_position.py +39 -0
  36. package/tests/feedback/AntdProgress/perf_size.py +26 -0
  37. package/tests/feedback/AntdProgress/perf_steps.py +37 -0
  38. package/tests/feedback/AntdProgress/perf_stroke_color.py +58 -0
  39. package/tests/other/AntdHappyProvider/feat_component.py +60 -0
  40. package/debug.py +0 -0
  41. package/src/jl/'feffery'_antddraggablepanel.jl +0 -63
  42. package/src/jl/'feffery'_antdeditorlayout.jl +0 -90
package/DESCRIPTION CHANGED
@@ -1,6 +1,6 @@
1
1
  Package: fefferyAntdComponents
2
2
  Title: Best implementation of Antd components in Plotly Dash.
3
- Version: 0.4.0
3
+ Version: 0.4.2
4
4
  Description: Best implementation of Antd components in Plotly Dash.
5
5
  Depends: R (>= 3.0.2)
6
6
  Imports:
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
@@ -2,7 +2,7 @@
2
2
  name = "FefferyAntdComponents"
3
3
  uuid = "1b08a953-4be3-4667-9a23-674b58f7de79"
4
4
  authors = ["CNFeffery <fefferypzy@gmail.com>"]
5
- version = "0.4.0"
5
+ version = "0.4.2"
6
6
 
7
7
  [deps]
8
8
  Dash = "1b08a953-4be3-4667-9a23-3db579824955"
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.3.15` (2025-01-30)
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.2` (2025-08-20)
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'` and `'de-de'` to use English and German copy, respectively. For example:
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.3.15`(2025-01-30
18
+ `feffery-components`计划子项目,`Plotly Dash`第三方组件库,基于`Antd`,将超多具有丰富功能的通用网页常用交互组件引入`Dash`的生态中 🥳,最新稳定版本:`0.4.2`(2025-08-20
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'`和`'de-de'`来使用英文文案和德语文案,譬如:
56
+ `fac`中的部分组件具有自带的文案信息,通过参数`locale`可以进行国际化设置,默认为`'zh-cn'`即简体中文,你可以设置为`'en-us'`、`'de-de'`、`'ru-ru'`来使用不同语言,譬如:
57
57
 
58
58
  ```Python
59
59
  fac.AntdDatePicker(locale='en-us')
@@ -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__))
@@ -196,6 +196,9 @@ Keyword arguments:
196
196
  - okClickClose (boolean; default True):
197
197
  是否点击确认按钮触发对话框关闭 默认值:`True`.
198
198
 
199
+ - preventClose (boolean; default False):
200
+ 是否阻止通过点击关闭图标、点击遮罩层区域、点击取消、按下ESC等方式自动触发的对话框关闭行为 默认值:`False`.
201
+
199
202
  - zIndex (number; default 1000):
200
203
  模态框z-index 默认值:`1000`.
201
204
 
@@ -326,6 +329,7 @@ Keyword arguments:
326
329
  mask: typing.Optional[bool] = None,
327
330
  maskClosable: typing.Optional[bool] = None,
328
331
  okClickClose: typing.Optional[bool] = None,
332
+ preventClose: typing.Optional[bool] = None,
329
333
  zIndex: typing.Optional[NumberType] = None,
330
334
  okCounts: typing.Optional[NumberType] = None,
331
335
  cancelCounts: typing.Optional[NumberType] = None,
@@ -339,9 +343,9 @@ Keyword arguments:
339
343
  loading: typing.Optional[bool] = None,
340
344
  **kwargs
341
345
  ):
342
- 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-*']
343
347
  self._valid_wildcard_attributes = ['data-', 'aria-']
344
- 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-*']
345
349
  self.available_wildcard_properties = ['data-', 'aria-']
346
350
  _explicit_args = kwargs.pop('_explicit_args')
347
351
  _locals = locals()
@@ -40,8 +40,8 @@ Keyword arguments:
40
40
  进度条尺寸规格,可选项有`'small'`、`'default'`、`'large'`,传入数值型表示像素尺寸,传入字典型可分别控制宽度和高度
41
41
  默认值:`'default'`.
42
42
 
43
- `size` is a number | list of numbers | a value equal to: 'small',
44
- 'default' | dict with keys:
43
+ `size` is a number | list of number | strings | a value equal to:
44
+ 'small', 'default' | dict with keys:
45
45
 
46
46
  - width (number; optional):
47
47
  像素宽度.
@@ -96,16 +96,27 @@ Keyword arguments:
96
96
  - showInfo (boolean; default True):
97
97
  是否显示进度数值或状态图标 默认值:`True`.
98
98
 
99
+ - percentPosition (dict; optional):
100
+ 适用于`'line'`型进度条,配置进度条附带进度数值信息显示位置.
101
+
102
+ `percentPosition` is a dict with keys:
103
+
104
+ - align (a value equal to: 'start', 'center', 'end'; optional):
105
+ 对齐方式,可选项有`'start'`、`'center'`、`'end'`.
106
+
107
+ - type (a value equal to: 'inner', 'outer'; optional):
108
+ 内外位置,可选项有`'inner'`、`'outer'`.
109
+
99
110
  - strokeColor (dict; optional):
100
111
  配置进度条颜色,支持渐变色.
101
112
 
102
- `strokeColor` is a string | dict with keys:
113
+ `strokeColor` is a string | list of strings | dict with keys:
103
114
 
104
115
  - from (string; optional):
105
116
  渐变色开端颜色.
106
117
 
107
118
  - to (string; optional):
108
- 渐变色末端颜色.
119
+ 渐变色末端颜色. | dict with strings as keys and values of type string
109
120
 
110
121
  - strokeLinecap (a value equal to: 'round', 'butt', 'square'; optional):
111
122
  进度条线型,可选项有`'round'`、`'butt'`、`'square'` 默认值:`'round'`.
@@ -123,8 +134,16 @@ Keyword arguments:
123
134
  仪表盘缺口方向,可选项有`'top'`、`'bottom'`、`'left'`、`'right'`,仅`type='dashboard'`时可用
124
135
  默认值:`'bottom'`.
125
136
 
126
- - steps (number; optional):
127
- 进度条分段数量.
137
+ - steps (dict; optional):
138
+ 配置进度条分段数量,针对`'circle'`、`'dashboard'`型进度条支持传入字典型进行更详细的配置.
139
+
140
+ `steps` is a number | dict with keys:
141
+
142
+ - count (number; optional):
143
+ 分段数量.
144
+
145
+ - gap (number; optional):
146
+ 分段间隔像素大小.
128
147
 
129
148
  - data-* (string; optional):
130
149
  `data-*`格式属性通配.
@@ -168,6 +187,14 @@ Keyword arguments:
168
187
  }
169
188
  )
170
189
 
190
+ PercentPosition = TypedDict(
191
+ "PercentPosition",
192
+ {
193
+ "align": NotRequired[Literal["start", "center", "end"]],
194
+ "type": NotRequired[Literal["inner", "outer"]]
195
+ }
196
+ )
197
+
171
198
  StrokeColor = TypedDict(
172
199
  "StrokeColor",
173
200
  {
@@ -176,6 +203,14 @@ Keyword arguments:
176
203
  }
177
204
  )
178
205
 
206
+ Steps = TypedDict(
207
+ "Steps",
208
+ {
209
+ "count": NotRequired[NumberType],
210
+ "gap": NotRequired[NumberType]
211
+ }
212
+ )
213
+
179
214
 
180
215
  def __init__(
181
216
  self,
@@ -184,24 +219,25 @@ Keyword arguments:
184
219
  style: typing.Optional[typing.Any] = None,
185
220
  className: typing.Optional[typing.Union[str, dict]] = None,
186
221
  type: typing.Optional[Literal["line", "circle", "dashboard"]] = None,
187
- size: typing.Optional[typing.Union[NumberType, typing.Sequence[NumberType], Literal["small", "default"], "Size"]] = None,
222
+ size: typing.Optional[typing.Union[NumberType, typing.Sequence[typing.Union[NumberType, str]], Literal["small", "default"], "Size"]] = None,
188
223
  percent: typing.Optional[NumberType] = None,
189
224
  success: typing.Optional["Success"] = None,
190
225
  format: typing.Optional["Format"] = None,
191
226
  status: typing.Optional[Literal["success", "exception", "normal", "active"]] = None,
192
227
  showInfo: typing.Optional[bool] = None,
193
- strokeColor: typing.Optional[typing.Union[str, "StrokeColor"]] = None,
228
+ percentPosition: typing.Optional["PercentPosition"] = None,
229
+ strokeColor: typing.Optional[typing.Union[str, typing.Sequence[str], "StrokeColor", typing.Dict[typing.Union[str, float, int], str]]] = None,
194
230
  strokeLinecap: typing.Optional[Literal["round", "butt", "square"]] = None,
195
231
  strokeWidth: typing.Optional[NumberType] = None,
196
232
  trailColor: typing.Optional[str] = None,
197
233
  gapDegree: typing.Optional[NumberType] = None,
198
234
  gapPosition: typing.Optional[Literal["top", "bottom", "left", "right"]] = None,
199
- steps: typing.Optional[NumberType] = None,
235
+ steps: typing.Optional[typing.Union[NumberType, "Steps"]] = None,
200
236
  **kwargs
201
237
  ):
202
- self._prop_names = ['id', 'key', 'style', 'className', 'type', 'size', 'percent', 'success', 'format', 'status', 'showInfo', 'strokeColor', 'strokeLinecap', 'strokeWidth', 'trailColor', 'gapDegree', 'gapPosition', 'steps', 'data-*', 'aria-*']
238
+ self._prop_names = ['id', 'key', 'style', 'className', 'type', 'size', 'percent', 'success', 'format', 'status', 'showInfo', 'percentPosition', 'strokeColor', 'strokeLinecap', 'strokeWidth', 'trailColor', 'gapDegree', 'gapPosition', 'steps', 'data-*', 'aria-*']
203
239
  self._valid_wildcard_attributes = ['data-', 'aria-']
204
- self.available_properties = ['id', 'key', 'style', 'className', 'type', 'size', 'percent', 'success', 'format', 'status', 'showInfo', 'strokeColor', 'strokeLinecap', 'strokeWidth', 'trailColor', 'gapDegree', 'gapPosition', 'steps', 'data-*', 'aria-*']
240
+ self.available_properties = ['id', 'key', 'style', 'className', 'type', 'size', 'percent', 'success', 'format', 'status', 'showInfo', 'percentPosition', 'strokeColor', 'strokeLinecap', 'strokeWidth', 'trailColor', 'gapDegree', 'gapPosition', 'steps', 'data-*', 'aria-*']
205
241
  self.available_wildcard_properties = ['data-', 'aria-']
206
242
  _explicit_args = kwargs.pop('_explicit_args')
207
243
  _locals = locals()
@@ -92,8 +92,45 @@ 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
- 默认值:`'#52c41a'`.
95
+ 当`renderType`为`'mini-progress'`、`'mini-ring-progress'`时,设置进度完成状态下的填充色.
96
+
97
+ - progressShowPercent (boolean; optional):
98
+ 当`renderType`为`'mini-progress'`时,设置进度条是否附带进度数值信息
99
+ 默认值:`False`.
100
+
101
+ - progressPercentPrecision (number; optional):
102
+ 当`renderType`为`'mini-progress'`时,设置进度条附带进度数值信息的小数位数,默认保持原始数值的精度.
103
+
104
+ - progressPercentPosition (dict; optional):
105
+ 当`renderType`为`'mini-progress'`时,设置进度条附带进度数值信息显示的位置.
106
+
107
+ `progressPercentPosition` is a dict with keys:
108
+
109
+ - align (a value equal to: 'start', 'center', 'end'; optional):
110
+ 对齐方式,可选项有`'start'`、`'center'`、`'end'`.
111
+
112
+ - type (a value equal to: 'inner', 'outer'; optional):
113
+ 内外位置,可选项有`'inner'`、`'outer'`.
114
+
115
+ - progressStrokeLinecap (a value equal to: 'square', 'round'; optional):
116
+ 当`renderType`为`'mini-progress'`时,设置进度条形状类型,可选项有`'square'`、`'round'`
117
+ 默认值:`'square'`.
118
+
119
+ - progressSize (number; optional):
120
+ 当`renderType`为`'mini-progress'`时,设置进度条像素尺寸.
121
+
122
+ - progressColor (dict; optional):
123
+ 当`renderType`为`'mini-progress'`时,设置进度条主体部分颜色,支持通过字段`'from'`、`'to'`配置渐变色.
124
+
125
+ `progressColor` is a string
126
+
127
+ Or dict with keys:
128
+
129
+ - from (string; optional):
130
+ 渐变色起始颜色.
131
+
132
+ - to (string; optional):
133
+ 渐变色结束颜色.
97
134
 
98
135
  - ringProgressFontSize (number; optional):
99
136
  当`renderType='mini-ring-progress'`时,设置进度数值像素大小.
@@ -272,6 +309,18 @@ Keyword arguments:
272
309
  - iconRenderer (a value equal to: 'AntdIcon', 'fontawesome'; optional):
273
310
  适用于`'button'`模式,按钮前缀图标渲染方式,可选项有`'AntdIcon'`、`'fontawesome'`.
274
311
 
312
+ - tooltip (dict; optional):
313
+ 适用于`'button'`模式,为当前按钮添加额外的文字提示功能.
314
+
315
+ `tooltip` is a dict with keys:
316
+
317
+ - title (string; optional):
318
+ 文字提示内容.
319
+
320
+ - placement (a value equal to: 'top', 'left', 'right', 'bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'; optional):
321
+ 文字提示弹出方向,可选项有`'top'`、`'left'`、`'right'`、`'bottom'`、`'topLeft'`、`'topRight'`、`'bottomLeft'`、`'bottomRight'`、`'leftTop'`、`'leftBottom'`、`'rightTop'`、`'rightBottom'`
322
+ 默认值:`'top'`.
323
+
275
324
  - custom (boolean | number | string | dict | list; optional):
276
325
  适用于`'button'`模式,额外补充信息. | list of dicts with keys:
277
326
 
@@ -976,6 +1025,22 @@ Keyword arguments:
976
1025
  }
977
1026
  )
978
1027
 
1028
+ ColumnsRenderOptionsProgressPercentPosition = TypedDict(
1029
+ "ColumnsRenderOptionsProgressPercentPosition",
1030
+ {
1031
+ "align": NotRequired[Literal["start", "center", "end"]],
1032
+ "type": NotRequired[Literal["inner", "outer"]]
1033
+ }
1034
+ )
1035
+
1036
+ ColumnsRenderOptionsProgressColor = TypedDict(
1037
+ "ColumnsRenderOptionsProgressColor",
1038
+ {
1039
+ "from": NotRequired[str],
1040
+ "to": NotRequired[str]
1041
+ }
1042
+ )
1043
+
979
1044
  ColumnsRenderOptionsDropdownProps = TypedDict(
980
1045
  "ColumnsRenderOptionsDropdownProps",
981
1046
  {
@@ -998,6 +1063,12 @@ Keyword arguments:
998
1063
  "miniChartColor": NotRequired[str],
999
1064
  "tooltipCustomContent": NotRequired[str],
1000
1065
  "progressOneHundredPercentColor": NotRequired[str],
1066
+ "progressShowPercent": NotRequired[bool],
1067
+ "progressPercentPrecision": NotRequired[NumberType],
1068
+ "progressPercentPosition": NotRequired["ColumnsRenderOptionsProgressPercentPosition"],
1069
+ "progressStrokeLinecap": NotRequired[Literal["square", "round"]],
1070
+ "progressSize": NotRequired[NumberType],
1071
+ "progressColor": NotRequired[typing.Union[str, "ColumnsRenderOptionsProgressColor"]],
1001
1072
  "ringProgressFontSize": NotRequired[NumberType],
1002
1073
  "dropdownProps": NotRequired["ColumnsRenderOptionsDropdownProps"]
1003
1074
  }
@@ -1072,6 +1143,14 @@ Keyword arguments:
1072
1143
  }
1073
1144
  )
1074
1145
 
1146
+ DataTooltip = TypedDict(
1147
+ "DataTooltip",
1148
+ {
1149
+ "title": NotRequired[str],
1150
+ "placement": NotRequired[Literal["top", "left", "right", "bottom", "topLeft", "topRight", "bottomLeft", "bottomRight"]]
1151
+ }
1152
+ )
1153
+
1075
1154
  DataSize = TypedDict(
1076
1155
  "DataSize",
1077
1156
  {
@@ -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",