feffery_antd_components 0.1.0 → 0.1.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.md +2 -2
- package/build/lib/feffery_antd_components/feffery_antd_components.min.js +9 -9
- package/build/lib/feffery_antd_components/package-info.json +2 -2
- package/feffery_antd_components/AntdAlert.py +2 -2
- package/feffery_antd_components/AntdTable.py +8 -4
- package/feffery_antd_components/feffery_antd_components.min.js +9 -9
- package/feffery_antd_components/metadata.json +34 -4
- package/feffery_antd_components/package-info.json +2 -2
- package/package.json +2 -2
- package/src/FefferyAntdComponents.jl +3 -3
- package/src/jl/'feffery'_antdalert.jl +2 -2
- package/src/jl/'feffery'_antdtable.jl +4 -2
- package/src/lib/components/AntdAlert.react.js +19 -11
- package/src/lib/components/AntdTable.react.js +116 -94
- package/usage.py +160 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "feffery_antd_components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Best implementation of Antd components in Plotly Dash.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@ant-design/charts": "^1.1.4",
|
|
27
27
|
"@ant-design/icons": "^4.6.3",
|
|
28
|
-
"antd": "4.
|
|
28
|
+
"antd": "^4.18.5",
|
|
29
29
|
"dash-extensions-js": "^0.0.8",
|
|
30
30
|
"is-absolute-url": "^4.0.1",
|
|
31
31
|
"md5": "^2.3.0",
|
|
@@ -15,7 +15,7 @@ Keyword arguments:
|
|
|
15
15
|
|
|
16
16
|
- closable (boolean; default False)
|
|
17
17
|
|
|
18
|
-
- description (string; optional)
|
|
18
|
+
- description (boolean | number | string | dict | list; optional)
|
|
19
19
|
|
|
20
20
|
- loading_state (dict; optional)
|
|
21
21
|
|
|
@@ -30,7 +30,7 @@ Keyword arguments:
|
|
|
30
30
|
- prop_name (string; optional):
|
|
31
31
|
Holds which property is loading.
|
|
32
32
|
|
|
33
|
-
- message (string | list of
|
|
33
|
+
- message (boolean | number | string | dict | list | list of boolean | number | string | dict | lists; optional)
|
|
34
34
|
|
|
35
35
|
- messageRenderMode (a value equal to: 'default', 'loop-text', 'marquee'; default 'default')
|
|
36
36
|
|
|
@@ -135,7 +135,9 @@ Keyword arguments:
|
|
|
135
135
|
|
|
136
136
|
- rowSelectionType (a value equal to: 'checkbox', 'radio'; optional)
|
|
137
137
|
|
|
138
|
-
-
|
|
138
|
+
- rowSelectionWidth (string | number; optional)
|
|
139
|
+
|
|
140
|
+
- selectedRowKeys (list of string | numbers; optional)
|
|
139
141
|
|
|
140
142
|
- selectedRows (list; optional)
|
|
141
143
|
|
|
@@ -157,16 +159,18 @@ Keyword arguments:
|
|
|
157
159
|
|
|
158
160
|
- orders (list of a value equal to: 'ascend', 'descend's; optional)
|
|
159
161
|
|
|
162
|
+
- sticky (boolean; optional)
|
|
163
|
+
|
|
160
164
|
- style (dict; optional)
|
|
161
165
|
|
|
162
166
|
- titlePopoverInfo (dict; optional)"""
|
|
163
167
|
@_explicitize_args
|
|
164
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, containerId=Component.UNDEFINED, columns=Component.UNDEFINED, size=Component.UNDEFINED, rowSelectionType=Component.UNDEFINED, selectedRowKeys=Component.UNDEFINED, selectedRows=Component.UNDEFINED, enableHoverListen=Component.UNDEFINED, recentlyMouseEnterColumn=Component.UNDEFINED, recentlyMouseEnterRow=Component.UNDEFINED, titlePopoverInfo=Component.UNDEFINED, columnsFormatConstraint=Component.UNDEFINED, data=Component.UNDEFINED, sortOptions=Component.UNDEFINED, filterOptions=Component.UNDEFINED, pagination=Component.UNDEFINED, bordered=Component.UNDEFINED, maxHeight=Component.UNDEFINED, currentData=Component.UNDEFINED, recentlyChangedRow=Component.UNDEFINED, recentlyButtonClickedRow=Component.UNDEFINED, nClicksButton=Component.UNDEFINED, clickedContent=Component.UNDEFINED, sorter=Component.UNDEFINED, filter=Component.UNDEFINED, mode=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
165
|
-
self._prop_names = ['id', 'bordered', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'containerId', 'currentData', 'data', 'enableHoverListen', 'filter', 'filterOptions', 'loading_state', 'locale', 'maxHeight', 'mode', 'nClicksButton', 'pagination', 'recentlyButtonClickedRow', 'recentlyChangedRow', 'recentlyMouseEnterColumn', 'recentlyMouseEnterRow', 'rowSelectionType', 'selectedRowKeys', 'selectedRows', 'size', 'sortOptions', 'sorter', 'style', 'titlePopoverInfo']
|
|
168
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, containerId=Component.UNDEFINED, columns=Component.UNDEFINED, size=Component.UNDEFINED, rowSelectionType=Component.UNDEFINED, selectedRowKeys=Component.UNDEFINED, rowSelectionWidth=Component.UNDEFINED, selectedRows=Component.UNDEFINED, sticky=Component.UNDEFINED, enableHoverListen=Component.UNDEFINED, recentlyMouseEnterColumn=Component.UNDEFINED, recentlyMouseEnterRow=Component.UNDEFINED, titlePopoverInfo=Component.UNDEFINED, columnsFormatConstraint=Component.UNDEFINED, data=Component.UNDEFINED, sortOptions=Component.UNDEFINED, filterOptions=Component.UNDEFINED, pagination=Component.UNDEFINED, bordered=Component.UNDEFINED, maxHeight=Component.UNDEFINED, currentData=Component.UNDEFINED, recentlyChangedRow=Component.UNDEFINED, recentlyButtonClickedRow=Component.UNDEFINED, nClicksButton=Component.UNDEFINED, clickedContent=Component.UNDEFINED, sorter=Component.UNDEFINED, filter=Component.UNDEFINED, mode=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
169
|
+
self._prop_names = ['id', 'bordered', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'containerId', 'currentData', 'data', 'enableHoverListen', 'filter', 'filterOptions', 'loading_state', 'locale', 'maxHeight', 'mode', 'nClicksButton', 'pagination', 'recentlyButtonClickedRow', 'recentlyChangedRow', 'recentlyMouseEnterColumn', 'recentlyMouseEnterRow', 'rowSelectionType', 'rowSelectionWidth', 'selectedRowKeys', 'selectedRows', 'size', 'sortOptions', 'sorter', 'sticky', 'style', 'titlePopoverInfo']
|
|
166
170
|
self._type = 'AntdTable'
|
|
167
171
|
self._namespace = 'feffery_antd_components'
|
|
168
172
|
self._valid_wildcard_attributes = []
|
|
169
|
-
self.available_properties = ['id', 'bordered', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'containerId', 'currentData', 'data', 'enableHoverListen', 'filter', 'filterOptions', 'loading_state', 'locale', 'maxHeight', 'mode', 'nClicksButton', 'pagination', 'recentlyButtonClickedRow', 'recentlyChangedRow', 'recentlyMouseEnterColumn', 'recentlyMouseEnterRow', 'rowSelectionType', 'selectedRowKeys', 'selectedRows', 'size', 'sortOptions', 'sorter', 'style', 'titlePopoverInfo']
|
|
173
|
+
self.available_properties = ['id', 'bordered', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'containerId', 'currentData', 'data', 'enableHoverListen', 'filter', 'filterOptions', 'loading_state', 'locale', 'maxHeight', 'mode', 'nClicksButton', 'pagination', 'recentlyButtonClickedRow', 'recentlyChangedRow', 'recentlyMouseEnterColumn', 'recentlyMouseEnterRow', 'rowSelectionType', 'rowSelectionWidth', 'selectedRowKeys', 'selectedRows', 'size', 'sortOptions', 'sorter', 'sticky', 'style', 'titlePopoverInfo']
|
|
170
174
|
self.available_wildcard_properties = []
|
|
171
175
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
172
176
|
_locals = locals()
|