feffery_antd_components 0.4.0-rc9 → 0.4.0
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/feffery_antd_components/AntdCountup.py +2 -17
- package/feffery_antd_components/AntdModal.py +12 -6
- package/feffery_antd_components/async-antd_table.js +1 -1
- package/feffery_antd_components/async-data_display.js +1 -1
- package/feffery_antd_components/async-data_entry.js +4 -4
- package/feffery_antd_components/feffery_antd_components.min.js +3 -3
- package/feffery_antd_components/metadata.json +1 -1
- package/feffery_antd_components/package-info.json +1 -1
- package/package.json +1 -1
- package/setup.py +1 -1
- package/src/jl/'feffery'_antdcountup.jl +1 -4
- package/src/jl/'feffery'_antdmodal.jl +6 -6
- package/src/lib/components/dataDisplay/AntdCountup.react.js +0 -10
- package/src/lib/components/feedback/AntdModal.react.js +18 -0
- package/src/lib/components/layout/AntdDivider.react.js +0 -1
- package/src/lib/fragments/AntdTable.react.js +1 -1
- 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/tests/dataDisplay/AntdTable/perf_button_mode_auto_wrap.py +39 -0
- package/tests/dataEntry/AntdSelect/fix_read_only_with_allow_clear.py +29 -0
package/DESCRIPTION
CHANGED
package/Project.toml
CHANGED
|
@@ -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()
|
|
@@ -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`.
|