feffery_antd_components 0.1.1 → 0.1.4
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/feffery_antd_components/AntdAlert.py +2 -2
- package/feffery_antd_components/AntdTable.py +66 -5
- package/feffery_antd_components/feffery_antd_components.min.js +9 -9
- package/feffery_antd_components/metadata.json +324 -5
- package/feffery_antd_components/package-info.json +3 -3
- package/package.json +3 -3
- package/src/FefferyAntdComponents.jl +3 -3
- package/src/jl/'feffery'_antdalert.jl +2 -2
- package/src/jl/'feffery'_antdtable.jl +37 -5
- package/src/lib/components/AntdAlert.react.js +19 -11
- package/src/lib/components/AntdTable.react.js +304 -126
- package/usage.py +206 -0
- package/build/lib/feffery_antd_components/AntdAffix.py +0 -54
- package/build/lib/feffery_antd_components/AntdAlert.py +0 -58
- package/build/lib/feffery_antd_components/AntdAnchor.py +0 -54
- package/build/lib/feffery_antd_components/AntdAvatar.py +0 -79
- package/build/lib/feffery_antd_components/AntdBackTop.py +0 -52
- package/build/lib/feffery_antd_components/AntdBadge.py +0 -70
- package/build/lib/feffery_antd_components/AntdBreadcrumb.py +0 -74
- package/build/lib/feffery_antd_components/AntdButton.py +0 -66
- package/build/lib/feffery_antd_components/AntdCalendar.py +0 -75
- package/build/lib/feffery_antd_components/AntdCard.py +0 -86
- package/build/lib/feffery_antd_components/AntdCardGrid.py +0 -52
- package/build/lib/feffery_antd_components/AntdCarousel.py +0 -56
- package/build/lib/feffery_antd_components/AntdCascader.py +0 -91
- package/build/lib/feffery_antd_components/AntdCheckbox.py +0 -71
- package/build/lib/feffery_antd_components/AntdCheckboxGroup.py +0 -79
- package/build/lib/feffery_antd_components/AntdCol.py +0 -146
- package/build/lib/feffery_antd_components/AntdCollapse.py +0 -79
- package/build/lib/feffery_antd_components/AntdComment.py +0 -88
- package/build/lib/feffery_antd_components/AntdContent.py +0 -50
- package/build/lib/feffery_antd_components/AntdCountdown.py +0 -72
- package/build/lib/feffery_antd_components/AntdDatePicker.py +0 -93
- package/build/lib/feffery_antd_components/AntdDateRangePicker.py +0 -89
- package/build/lib/feffery_antd_components/AntdDescriptionItem.py +0 -58
- package/build/lib/feffery_antd_components/AntdDescriptions.py +0 -76
- package/build/lib/feffery_antd_components/AntdDivider.py +0 -62
- package/build/lib/feffery_antd_components/AntdDraggerUpload.py +0 -82
- package/build/lib/feffery_antd_components/AntdDrawer.py +0 -72
- package/build/lib/feffery_antd_components/AntdDropdown.py +0 -84
- package/build/lib/feffery_antd_components/AntdEmpty.py +0 -54
- package/build/lib/feffery_antd_components/AntdFooter.py +0 -50
- package/build/lib/feffery_antd_components/AntdForm.py +0 -72
- package/build/lib/feffery_antd_components/AntdFormItem.py +0 -84
- package/build/lib/feffery_antd_components/AntdHeader.py +0 -50
- package/build/lib/feffery_antd_components/AntdIcon.py +0 -48
- package/build/lib/feffery_antd_components/AntdImage.py +0 -62
- package/build/lib/feffery_antd_components/AntdInput.py +0 -99
- package/build/lib/feffery_antd_components/AntdInputNumber.py +0 -99
- package/build/lib/feffery_antd_components/AntdLayout.py +0 -50
- package/build/lib/feffery_antd_components/AntdMentions.py +0 -74
- package/build/lib/feffery_antd_components/AntdMenu.py +0 -81
- package/build/lib/feffery_antd_components/AntdMessage.py +0 -54
- package/build/lib/feffery_antd_components/AntdModal.py +0 -88
- package/build/lib/feffery_antd_components/AntdNotification.py +0 -60
- package/build/lib/feffery_antd_components/AntdPageHeader.py +0 -62
- package/build/lib/feffery_antd_components/AntdPagination.py +0 -95
- package/build/lib/feffery_antd_components/AntdParagraph.py +0 -70
- package/build/lib/feffery_antd_components/AntdPopconfirm.py +0 -80
- package/build/lib/feffery_antd_components/AntdPopover.py +0 -74
- package/build/lib/feffery_antd_components/AntdProgress.py +0 -88
- package/build/lib/feffery_antd_components/AntdRadio.py +0 -54
- package/build/lib/feffery_antd_components/AntdRadioGroup.py +0 -89
- package/build/lib/feffery_antd_components/AntdRate.py +0 -60
- package/build/lib/feffery_antd_components/AntdResult.py +0 -52
- package/build/lib/feffery_antd_components/AntdRibbon.py +0 -54
- package/build/lib/feffery_antd_components/AntdRow.py +0 -72
- package/build/lib/feffery_antd_components/AntdSelect.py +0 -117
- package/build/lib/feffery_antd_components/AntdSider.py +0 -68
- package/build/lib/feffery_antd_components/AntdSkeleton.py +0 -86
- package/build/lib/feffery_antd_components/AntdSlider.py +0 -68
- package/build/lib/feffery_antd_components/AntdSpace.py +0 -60
- package/build/lib/feffery_antd_components/AntdSpin.py +0 -68
- package/build/lib/feffery_antd_components/AntdStatistic.py +0 -74
- package/build/lib/feffery_antd_components/AntdSteps.py +0 -72
- package/build/lib/feffery_antd_components/AntdSwitch.py +0 -75
- package/build/lib/feffery_antd_components/AntdTabPane.py +0 -66
- package/build/lib/feffery_antd_components/AntdTable.py +0 -179
- package/build/lib/feffery_antd_components/AntdTabs.py +0 -81
- package/build/lib/feffery_antd_components/AntdTag.py +0 -54
- package/build/lib/feffery_antd_components/AntdTestLink.py +0 -58
- package/build/lib/feffery_antd_components/AntdText.py +0 -72
- package/build/lib/feffery_antd_components/AntdTimePicker.py +0 -93
- package/build/lib/feffery_antd_components/AntdTimeRangePicker.py +0 -93
- package/build/lib/feffery_antd_components/AntdTimeline.py +0 -68
- package/build/lib/feffery_antd_components/AntdTitle.py +0 -74
- package/build/lib/feffery_antd_components/AntdTooltip.py +0 -64
- package/build/lib/feffery_antd_components/AntdTransfer.py +0 -99
- package/build/lib/feffery_antd_components/AntdTree.py +0 -107
- package/build/lib/feffery_antd_components/AntdTreeSelect.py +0 -103
- package/build/lib/feffery_antd_components/AntdTypography.py +0 -50
- package/build/lib/feffery_antd_components/AntdUpload.py +0 -80
- package/build/lib/feffery_antd_components/Link.py +0 -58
- package/build/lib/feffery_antd_components/__init__.py +0 -53
- package/build/lib/feffery_antd_components/_imports_.py +0 -157
- package/build/lib/feffery_antd_components/feffery_antd_components.min.js +0 -344
- package/build/lib/feffery_antd_components/metadata.json +0 -14640
- package/build/lib/feffery_antd_components/package-info.json +0 -77
package/DESCRIPTION
CHANGED
package/Project.toml
CHANGED
package/README.md
CHANGED
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
|
|
16
16
|
</div>
|
|
17
17
|
|
|
18
|
-
`feffery-components`计划子项目,`Plotly Dash`第三方组件库,将基于`Antd`,将超多具有丰富功能的组件引入`Dash`的世界🥳,最新版本:`0.1.
|
|
18
|
+
`feffery-components`计划子项目,`Plotly Dash`第三方组件库,将基于`Antd`,将超多具有丰富功能的组件引入`Dash`的世界🥳,最新版本:`0.1.3`
|
|
19
19
|
|
|
20
20
|
## 1 最新版本安装方式
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
pip install feffery-antd-components==0.1.
|
|
23
|
+
pip install feffery-antd-components==0.1.3
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
## 2 最新开发版本安装方式
|
|
@@ -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
|
|
|
@@ -49,7 +49,7 @@ Keyword arguments:
|
|
|
49
49
|
|
|
50
50
|
- renderLinkText (string; optional)
|
|
51
51
|
|
|
52
|
-
- renderType (a value equal to: 'link', 'ellipsis', 'mini-line', 'mini-bar', 'mini-progress', 'mini-area', 'tags', 'button', 'copyable'; optional)
|
|
52
|
+
- renderType (a value equal to: 'link', 'ellipsis', 'mini-line', 'mini-bar', 'mini-progress', 'mini-ring-progress', 'mini-area', 'tags', 'button', 'copyable', 'status-badge'; optional)
|
|
53
53
|
|
|
54
54
|
- sorter (boolean | number | string | dict | list; optional)
|
|
55
55
|
|
|
@@ -74,6 +74,35 @@ Keyword arguments:
|
|
|
74
74
|
|
|
75
75
|
- data (list of dicts; optional)
|
|
76
76
|
|
|
77
|
+
`data` is a list of dicts with strings as keys and values of type
|
|
78
|
+
string | number | dict with keys:
|
|
79
|
+
|
|
80
|
+
- disabled (boolean; optional)
|
|
81
|
+
|
|
82
|
+
- href (string; optional)
|
|
83
|
+
|
|
84
|
+
- target (string; optional)
|
|
85
|
+
|
|
86
|
+
Or list of numbers | list of dicts with keys:
|
|
87
|
+
|
|
88
|
+
- color (string; optional)
|
|
89
|
+
|
|
90
|
+
- tag (string | number; optional) | dict with keys:
|
|
91
|
+
|
|
92
|
+
- content (string | number; optional)
|
|
93
|
+
|
|
94
|
+
- danger (boolean; optional)
|
|
95
|
+
|
|
96
|
+
- disabled (boolean; optional)
|
|
97
|
+
|
|
98
|
+
- style (dict; optional)
|
|
99
|
+
|
|
100
|
+
- type (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; optional) | dict with keys:
|
|
101
|
+
|
|
102
|
+
- status (a value equal to: 'success', 'processing', 'default', 'error', 'warning'; optional)
|
|
103
|
+
|
|
104
|
+
- text (string | number; optional)
|
|
105
|
+
|
|
77
106
|
- enableHoverListen (boolean; default False)
|
|
78
107
|
|
|
79
108
|
- filter (dict; optional)
|
|
@@ -97,6 +126,12 @@ Keyword arguments:
|
|
|
97
126
|
|
|
98
127
|
- maxHeight (number; optional)
|
|
99
128
|
|
|
129
|
+
- maxWidth (number; optional)
|
|
130
|
+
|
|
131
|
+
- miniChartAnimation (boolean; default False)
|
|
132
|
+
|
|
133
|
+
- miniChartHeight (number; default 30)
|
|
134
|
+
|
|
100
135
|
- mode (a value equal to: 'client-side', 'server-side'; default 'client-side')
|
|
101
136
|
|
|
102
137
|
- nClicksButton (number; default 0)
|
|
@@ -107,6 +142,8 @@ Keyword arguments:
|
|
|
107
142
|
|
|
108
143
|
- current (number; optional)
|
|
109
144
|
|
|
145
|
+
- disabled (boolean; optional)
|
|
146
|
+
|
|
110
147
|
- hideOnSinglePage (boolean; optional)
|
|
111
148
|
|
|
112
149
|
- pageSize (number; optional)
|
|
@@ -115,14 +152,22 @@ Keyword arguments:
|
|
|
115
152
|
|
|
116
153
|
- position (a value equal to: 'topLeft', 'topCenter', 'topRight', 'bottomLeft', 'bottomCenter', 'bottomRight'; optional)
|
|
117
154
|
|
|
155
|
+
- responsive (boolean; optional)
|
|
156
|
+
|
|
118
157
|
- showQuickJumper (boolean; optional)
|
|
119
158
|
|
|
159
|
+
- showSizeChanger (boolean; optional)
|
|
160
|
+
|
|
161
|
+
- showTitle (boolean; optional)
|
|
162
|
+
|
|
120
163
|
- showTotalPrefix (string; optional)
|
|
121
164
|
|
|
122
165
|
- showTotalSuffix (string; optional)
|
|
123
166
|
|
|
124
167
|
- simple (boolean; optional)
|
|
125
168
|
|
|
169
|
+
- size (a value equal to: 'default', 'small'; optional)
|
|
170
|
+
|
|
126
171
|
- total (number; optional)
|
|
127
172
|
|
|
128
173
|
- recentlyButtonClickedRow (dict; optional)
|
|
@@ -135,7 +180,9 @@ Keyword arguments:
|
|
|
135
180
|
|
|
136
181
|
- rowSelectionType (a value equal to: 'checkbox', 'radio'; optional)
|
|
137
182
|
|
|
138
|
-
-
|
|
183
|
+
- rowSelectionWidth (string | number; optional)
|
|
184
|
+
|
|
185
|
+
- selectedRowKeys (list of string | numbers; optional)
|
|
139
186
|
|
|
140
187
|
- selectedRows (list; optional)
|
|
141
188
|
|
|
@@ -157,16 +204,30 @@ Keyword arguments:
|
|
|
157
204
|
|
|
158
205
|
- orders (list of a value equal to: 'ascend', 'descend's; optional)
|
|
159
206
|
|
|
207
|
+
- sticky (boolean; optional)
|
|
208
|
+
|
|
160
209
|
- style (dict; optional)
|
|
161
210
|
|
|
211
|
+
- summaryRowContents (list of dicts; optional)
|
|
212
|
+
|
|
213
|
+
`summaryRowContents` is a list of dicts with keys:
|
|
214
|
+
|
|
215
|
+
- align (a value equal to: 'left', 'center', 'right'; optional)
|
|
216
|
+
|
|
217
|
+
- colSpan (number; optional)
|
|
218
|
+
|
|
219
|
+
- content (string | number; optional)
|
|
220
|
+
|
|
221
|
+
- summaryRowFixed (boolean; default False)
|
|
222
|
+
|
|
162
223
|
- titlePopoverInfo (dict; optional)"""
|
|
163
224
|
@_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']
|
|
225
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, containerId=Component.UNDEFINED, columns=Component.UNDEFINED, miniChartHeight=Component.UNDEFINED, miniChartAnimation=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, maxWidth=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, summaryRowContents=Component.UNDEFINED, summaryRowFixed=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
226
|
+
self._prop_names = ['id', 'bordered', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'containerId', 'currentData', 'data', 'enableHoverListen', 'filter', 'filterOptions', 'loading_state', 'locale', 'maxHeight', 'maxWidth', 'miniChartAnimation', 'miniChartHeight', 'mode', 'nClicksButton', 'pagination', 'recentlyButtonClickedRow', 'recentlyChangedRow', 'recentlyMouseEnterColumn', 'recentlyMouseEnterRow', 'rowSelectionType', 'rowSelectionWidth', 'selectedRowKeys', 'selectedRows', 'size', 'sortOptions', 'sorter', 'sticky', 'style', 'summaryRowContents', 'summaryRowFixed', 'titlePopoverInfo']
|
|
166
227
|
self._type = 'AntdTable'
|
|
167
228
|
self._namespace = 'feffery_antd_components'
|
|
168
229
|
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']
|
|
230
|
+
self.available_properties = ['id', 'bordered', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'containerId', 'currentData', 'data', 'enableHoverListen', 'filter', 'filterOptions', 'loading_state', 'locale', 'maxHeight', 'maxWidth', 'miniChartAnimation', 'miniChartHeight', 'mode', 'nClicksButton', 'pagination', 'recentlyButtonClickedRow', 'recentlyChangedRow', 'recentlyMouseEnterColumn', 'recentlyMouseEnterRow', 'rowSelectionType', 'rowSelectionWidth', 'selectedRowKeys', 'selectedRows', 'size', 'sortOptions', 'sorter', 'sticky', 'style', 'summaryRowContents', 'summaryRowFixed', 'titlePopoverInfo']
|
|
170
231
|
self.available_wildcard_properties = []
|
|
171
232
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
172
233
|
_locals = locals()
|