feffery_antd_components 0.3.0-b2 → 0.3.0-b4
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 +4 -1
- package/README.md +4 -1
- package/build/lib/feffery_antd_components/AntdDraggablePanel.py +3 -6
- package/build/lib/feffery_antd_components/AntdImage.py +11 -2
- package/build/lib/feffery_antd_components/AntdImageGroup.py +11 -3
- package/build/lib/feffery_antd_components/AntdSelect.py +6 -3
- package/build/lib/feffery_antd_components/AntdTree.py +1 -1
- package/build/lib/feffery_antd_components/__init__.py +7 -1
- package/build/lib/feffery_antd_components/async-antd_table.js +4 -4
- package/build/lib/feffery_antd_components/async-data_display.js +3 -3
- package/build/lib/feffery_antd_components/async-data_entry.js +14 -38
- package/build/lib/feffery_antd_components/async-fac-shared.js +25 -0
- package/build/lib/feffery_antd_components/async-upload.js +9 -5
- package/build/lib/feffery_antd_components/feffery_antd_components.min.js +40 -40
- package/build/lib/feffery_antd_components/metadata.json +67 -12
- package/build/lib/feffery_antd_components/package-info.json +93 -93
- package/feffery_antd_components/AntdDraggablePanel.py +3 -6
- package/feffery_antd_components/AntdImage.py +11 -2
- package/feffery_antd_components/AntdImageGroup.py +11 -3
- package/feffery_antd_components/AntdSelect.py +6 -3
- package/feffery_antd_components/AntdTree.py +1 -1
- package/feffery_antd_components/__init__.py +7 -1
- package/feffery_antd_components/async-antd_table.js +4 -4
- package/feffery_antd_components/async-data_display.js +3 -3
- package/feffery_antd_components/async-data_entry.js +14 -38
- package/feffery_antd_components/async-fac-shared.js +25 -0
- package/feffery_antd_components/async-upload.js +9 -5
- package/feffery_antd_components/feffery_antd_components.min.js +40 -40
- package/feffery_antd_components/metadata.json +67 -12
- package/feffery_antd_components/package-info.json +93 -93
- package/package.json +93 -93
- package/src/jl/'feffery'_antddraggablepanel.jl +1 -2
- package/src/jl/'feffery'_antdimage.jl +5 -1
- package/src/jl/'feffery'_antdimagegroup.jl +5 -2
- package/src/jl/'feffery'_antdselect.jl +3 -1
- package/src/jl/'feffery'_antdtree.jl +1 -1
- package/src/lib/components/dataDisplay/AntdDraggablePanel.react.js +0 -5
- package/src/lib/components/dataDisplay/AntdImage.react.js +17 -2
- package/src/lib/components/dataDisplay/AntdImageGroup.react.js +14 -2
- package/src/lib/components/dataDisplay/AntdTag.react.js +9 -36
- package/src/lib/components/dataDisplay/AntdTree.react.js +5 -2
- package/src/lib/components/dataEntry/AntdSelect.react.js +7 -0
- package/src/lib/fragments/dataDisplay/AntdDraggablePanel.react.js +0 -2
- package/src/lib/fragments/dataDisplay/AntdTag.react.js +46 -0
- package/src/lib/fragments/dataDisplay/AntdTree.react.js +8 -3
- package/src/lib/fragments/dataEntry/AntdSelect.react.js +2 -0
- package/usage.py +38 -46
- package/webpack.config.js +6 -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.2.
|
|
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.2.11`
|
|
19
19
|
|
|
20
20
|
## 1 Install
|
|
21
21
|
|
|
@@ -25,6 +25,9 @@ pip install feffery-antd-components -U
|
|
|
25
25
|
|
|
26
26
|
## 2 Install the latest preview release version
|
|
27
27
|
|
|
28
|
+
> [!NOTE]
|
|
29
|
+
> The latest preview release version: `0.3.0b3`
|
|
30
|
+
|
|
28
31
|
```bash
|
|
29
32
|
pip install feffery-antd-components --pre -U
|
|
30
33
|
```
|
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.2.
|
|
18
|
+
`feffery-components`计划子项目,`Plotly Dash`第三方组件库,基于`Antd`,将超多具有丰富功能的通用网页常用交互组件引入`Dash`的生态中 🥳,最新稳定版本:`0.2.11`
|
|
19
19
|
|
|
20
20
|
## 1 最新版本安装方式
|
|
21
21
|
|
|
@@ -25,6 +25,9 @@ pip install feffery-antd-components -U
|
|
|
25
25
|
|
|
26
26
|
## 2 最新预发布版本安装方式
|
|
27
27
|
|
|
28
|
+
> [!NOTE]
|
|
29
|
+
> 最新预发布版本:`0.3.0b3`
|
|
30
|
+
|
|
28
31
|
```bash
|
|
29
32
|
pip install feffery-antd-components --pre -U
|
|
30
33
|
```
|
|
@@ -43,9 +43,6 @@ Keyword arguments:
|
|
|
43
43
|
- expandable (boolean; default True):
|
|
44
44
|
面板是否可展开 默认:True.
|
|
45
45
|
|
|
46
|
-
- isExpand (boolean; optional):
|
|
47
|
-
设置或监听当前面板是否为展开状态.
|
|
48
|
-
|
|
49
46
|
- key (string; optional):
|
|
50
47
|
强制刷新用.
|
|
51
48
|
|
|
@@ -108,10 +105,10 @@ Keyword arguments:
|
|
|
108
105
|
_namespace = 'feffery_antd_components'
|
|
109
106
|
_type = 'AntdDraggablePanel'
|
|
110
107
|
@_explicitize_args
|
|
111
|
-
def __init__(self, children=None, id=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, key=Component.UNDEFINED, mode=Component.UNDEFINED, defaultSize=Component.UNDEFINED, defaultPosition=Component.UNDEFINED, placement=Component.UNDEFINED, minWidth=Component.UNDEFINED, minHeight=Component.UNDEFINED, maxWidth=Component.UNDEFINED, maxHeight=Component.UNDEFINED, resize=Component.UNDEFINED, expandable=Component.UNDEFINED,
|
|
112
|
-
self._prop_names = ['children', 'id', 'className', 'defaultPosition', 'defaultSize', 'expandable', '
|
|
108
|
+
def __init__(self, children=None, id=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, key=Component.UNDEFINED, mode=Component.UNDEFINED, defaultSize=Component.UNDEFINED, defaultPosition=Component.UNDEFINED, placement=Component.UNDEFINED, minWidth=Component.UNDEFINED, minHeight=Component.UNDEFINED, maxWidth=Component.UNDEFINED, maxHeight=Component.UNDEFINED, resize=Component.UNDEFINED, expandable=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
109
|
+
self._prop_names = ['children', 'id', 'className', 'defaultPosition', 'defaultSize', 'expandable', 'key', 'loading_state', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'mode', 'placement', 'resize', 'style']
|
|
113
110
|
self._valid_wildcard_attributes = []
|
|
114
|
-
self.available_properties = ['children', 'id', 'className', 'defaultPosition', 'defaultSize', 'expandable', '
|
|
111
|
+
self.available_properties = ['children', 'id', 'className', 'defaultPosition', 'defaultSize', 'expandable', 'key', 'loading_state', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'mode', 'placement', 'resize', 'style']
|
|
115
112
|
self.available_wildcard_properties = []
|
|
116
113
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
117
114
|
_locals = locals()
|
|
@@ -38,14 +38,23 @@ Keyword arguments:
|
|
|
38
38
|
|
|
39
39
|
- multiImageMode (a value equal to: 'fold', 'unfold'; default 'fold')
|
|
40
40
|
|
|
41
|
-
- preview (
|
|
41
|
+
- preview (dict; default True):
|
|
42
|
+
配置图片预览相关功能,传入False时会禁用预览功能 默认:True.
|
|
43
|
+
|
|
44
|
+
`preview` is a boolean | dict with keys:
|
|
45
|
+
|
|
46
|
+
- mask (a list of or a singular dash component, string or number; optional):
|
|
47
|
+
组件型,用于自定义缩略图遮罩元素.
|
|
48
|
+
|
|
49
|
+
- visible (boolean; optional):
|
|
50
|
+
是否展示预览层.
|
|
42
51
|
|
|
43
52
|
- src (string | list of strings; optional)
|
|
44
53
|
|
|
45
54
|
- style (dict; optional)
|
|
46
55
|
|
|
47
56
|
- width (number | string; optional)"""
|
|
48
|
-
_children_props = []
|
|
57
|
+
_children_props = ['preview.mask']
|
|
49
58
|
_base_nodes = ['children']
|
|
50
59
|
_namespace = 'feffery_antd_components'
|
|
51
60
|
_type = 'AntdImage'
|
|
@@ -40,15 +40,23 @@ Keyword arguments:
|
|
|
40
40
|
- locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn'):
|
|
41
41
|
设置语言环境,可选的有'zh-cn'、'en-us' 默认:'zh-cn'.
|
|
42
42
|
|
|
43
|
-
- preview (
|
|
44
|
-
|
|
43
|
+
- preview (dict; default True):
|
|
44
|
+
配置图片预览相关功能,传入False时会禁用预览功能 默认:True.
|
|
45
|
+
|
|
46
|
+
`preview` is a boolean | dict with keys:
|
|
47
|
+
|
|
48
|
+
- mask (a list of or a singular dash component, string or number; optional):
|
|
49
|
+
组件型,用于自定义缩略图遮罩元素.
|
|
50
|
+
|
|
51
|
+
- visible (boolean; optional):
|
|
52
|
+
是否展示预览层.
|
|
45
53
|
|
|
46
54
|
- style (dict; optional):
|
|
47
55
|
css样式.
|
|
48
56
|
|
|
49
57
|
- visible (boolean; optional):
|
|
50
58
|
设置或监听当前图片组是否处于全屏预览状态."""
|
|
51
|
-
_children_props = []
|
|
59
|
+
_children_props = ['preview.mask']
|
|
52
60
|
_base_nodes = ['children']
|
|
53
61
|
_namespace = 'feffery_antd_components'
|
|
54
62
|
_type = 'AntdImageGroup'
|
|
@@ -130,6 +130,9 @@ Keyword arguments:
|
|
|
130
130
|
|
|
131
131
|
- popupContainer (a value equal to: 'parent', 'body'; default 'body')
|
|
132
132
|
|
|
133
|
+
- popupMatchSelectWidth (boolean; default True):
|
|
134
|
+
设置下拉菜单是否与选择框同款,设置为False时将关闭虚拟滚动功能 默认:True.
|
|
135
|
+
|
|
133
136
|
- readOnly (boolean; optional)
|
|
134
137
|
|
|
135
138
|
- searchValue (string; optional)
|
|
@@ -146,10 +149,10 @@ Keyword arguments:
|
|
|
146
149
|
_namespace = 'feffery_antd_components'
|
|
147
150
|
_type = 'AntdSelect'
|
|
148
151
|
@_explicitize_args
|
|
149
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, popupClassName=Component.UNDEFINED, key=Component.UNDEFINED, locale=Component.UNDEFINED, options=Component.UNDEFINED, listHeight=Component.UNDEFINED, colorsMode=Component.UNDEFINED, colorsNameWidth=Component.UNDEFINED, mode=Component.UNDEFINED, disabled=Component.UNDEFINED, size=Component.UNDEFINED, bordered=Component.UNDEFINED, placeholder=Component.UNDEFINED, placement=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, maxTagCount=Component.UNDEFINED, status=Component.UNDEFINED, optionFilterProp=Component.UNDEFINED, searchValue=Component.UNDEFINED, optionFilterMode=Component.UNDEFINED, debounceSearchValue=Component.UNDEFINED, debounceWait=Component.UNDEFINED, autoSpin=Component.UNDEFINED, autoClearSearchValue=Component.UNDEFINED, emptyContent=Component.UNDEFINED, loadingEmptyContent=Component.UNDEFINED, dropdownBefore=Component.UNDEFINED, dropdownAfter=Component.UNDEFINED, allowClear=Component.UNDEFINED, autoFocus=Component.UNDEFINED, readOnly=Component.UNDEFINED, popupContainer=Component.UNDEFINED, batchPropsNames=Component.UNDEFINED, batchPropsValues=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
150
|
-
self._prop_names = ['id', 'allowClear', 'autoClearSearchValue', 'autoFocus', 'autoSpin', 'batchPropsNames', 'batchPropsValues', 'bordered', 'className', 'colorsMode', 'colorsNameWidth', 'debounceSearchValue', 'debounceWait', 'defaultValue', 'disabled', 'dropdownAfter', 'dropdownBefore', 'emptyContent', 'key', 'listHeight', 'loadingEmptyContent', 'loading_state', 'locale', 'maxTagCount', 'mode', 'optionFilterMode', 'optionFilterProp', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'popupClassName', 'popupContainer', 'readOnly', 'searchValue', 'size', 'status', 'style', 'value']
|
|
152
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, popupClassName=Component.UNDEFINED, key=Component.UNDEFINED, locale=Component.UNDEFINED, options=Component.UNDEFINED, listHeight=Component.UNDEFINED, colorsMode=Component.UNDEFINED, colorsNameWidth=Component.UNDEFINED, mode=Component.UNDEFINED, disabled=Component.UNDEFINED, size=Component.UNDEFINED, bordered=Component.UNDEFINED, placeholder=Component.UNDEFINED, placement=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, maxTagCount=Component.UNDEFINED, status=Component.UNDEFINED, optionFilterProp=Component.UNDEFINED, searchValue=Component.UNDEFINED, optionFilterMode=Component.UNDEFINED, debounceSearchValue=Component.UNDEFINED, debounceWait=Component.UNDEFINED, autoSpin=Component.UNDEFINED, autoClearSearchValue=Component.UNDEFINED, emptyContent=Component.UNDEFINED, loadingEmptyContent=Component.UNDEFINED, dropdownBefore=Component.UNDEFINED, dropdownAfter=Component.UNDEFINED, allowClear=Component.UNDEFINED, autoFocus=Component.UNDEFINED, popupMatchSelectWidth=Component.UNDEFINED, readOnly=Component.UNDEFINED, popupContainer=Component.UNDEFINED, batchPropsNames=Component.UNDEFINED, batchPropsValues=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
153
|
+
self._prop_names = ['id', 'allowClear', 'autoClearSearchValue', 'autoFocus', 'autoSpin', 'batchPropsNames', 'batchPropsValues', 'bordered', 'className', 'colorsMode', 'colorsNameWidth', 'debounceSearchValue', 'debounceWait', 'defaultValue', 'disabled', 'dropdownAfter', 'dropdownBefore', 'emptyContent', 'key', 'listHeight', 'loadingEmptyContent', 'loading_state', 'locale', 'maxTagCount', 'mode', 'optionFilterMode', 'optionFilterProp', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'popupClassName', 'popupContainer', 'popupMatchSelectWidth', 'readOnly', 'searchValue', 'size', 'status', 'style', 'value']
|
|
151
154
|
self._valid_wildcard_attributes = []
|
|
152
|
-
self.available_properties = ['id', 'allowClear', 'autoClearSearchValue', 'autoFocus', 'autoSpin', 'batchPropsNames', 'batchPropsValues', 'bordered', 'className', 'colorsMode', 'colorsNameWidth', 'debounceSearchValue', 'debounceWait', 'defaultValue', 'disabled', 'dropdownAfter', 'dropdownBefore', 'emptyContent', 'key', 'listHeight', 'loadingEmptyContent', 'loading_state', 'locale', 'maxTagCount', 'mode', 'optionFilterMode', 'optionFilterProp', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'popupClassName', 'popupContainer', 'readOnly', 'searchValue', 'size', 'status', 'style', 'value']
|
|
155
|
+
self.available_properties = ['id', 'allowClear', 'autoClearSearchValue', 'autoFocus', 'autoSpin', 'batchPropsNames', 'batchPropsValues', 'bordered', 'className', 'colorsMode', 'colorsNameWidth', 'debounceSearchValue', 'debounceWait', 'defaultValue', 'disabled', 'dropdownAfter', 'dropdownBefore', 'emptyContent', 'key', 'listHeight', 'loadingEmptyContent', 'loading_state', 'locale', 'maxTagCount', 'mode', 'optionFilterMode', 'optionFilterProp', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'popupClassName', 'popupContainer', 'popupMatchSelectWidth', 'readOnly', 'searchValue', 'size', 'status', 'style', 'value']
|
|
153
156
|
self.available_wildcard_properties = []
|
|
154
157
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
155
158
|
_locals = locals()
|
|
@@ -28,7 +28,13 @@ _current_path = _os.path.dirname(_os.path.abspath(__file__))
|
|
|
28
28
|
|
|
29
29
|
_this_module = _sys.modules[__name__]
|
|
30
30
|
|
|
31
|
-
async_resources = [
|
|
31
|
+
async_resources = [
|
|
32
|
+
'fac-shared',
|
|
33
|
+
'antd_table',
|
|
34
|
+
'upload',
|
|
35
|
+
'data_entry',
|
|
36
|
+
'data_display'
|
|
37
|
+
]
|
|
32
38
|
|
|
33
39
|
|
|
34
40
|
_js_dist = [
|