feffery_antd_components 0.1.3 → 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/AntdTable.py +61 -4
- package/feffery_antd_components/feffery_antd_components.min.js +9 -9
- package/feffery_antd_components/metadata.json +290 -1
- package/feffery_antd_components/package-info.json +3 -3
- package/package.json +3 -3
- package/src/FefferyAntdComponents.jl +3 -3
- package/src/jl/'feffery'_antdtable.jl +34 -4
- package/src/lib/components/AntdTable.react.js +190 -34
- package/usage.py +95 -5
- 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
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
-
|
|
3
|
-
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class AntdTable(Component):
|
|
7
|
-
"""An AntdTable component.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Keyword arguments:
|
|
11
|
-
|
|
12
|
-
- id (string; optional)
|
|
13
|
-
|
|
14
|
-
- bordered (boolean; default False)
|
|
15
|
-
|
|
16
|
-
- className (string; optional)
|
|
17
|
-
|
|
18
|
-
- clickedContent (string; optional)
|
|
19
|
-
|
|
20
|
-
- columns (list of dicts; optional)
|
|
21
|
-
|
|
22
|
-
`columns` is a list of dicts with keys:
|
|
23
|
-
|
|
24
|
-
- align (a value equal to: 'left', 'center', 'right'; optional)
|
|
25
|
-
|
|
26
|
-
- dataIndex (string; required)
|
|
27
|
-
|
|
28
|
-
- editable (boolean; optional)
|
|
29
|
-
|
|
30
|
-
- ellipsis (boolean | number | string | dict | list; optional)
|
|
31
|
-
|
|
32
|
-
- fixed (a value equal to: 'left', 'right'; optional)
|
|
33
|
-
|
|
34
|
-
- render (boolean | number | string | dict | list; optional)
|
|
35
|
-
|
|
36
|
-
- renderOptions (dict; optional)
|
|
37
|
-
|
|
38
|
-
`renderOptions` is a dict with keys:
|
|
39
|
-
|
|
40
|
-
- renderButtonPopConfirmProps (dict; optional)
|
|
41
|
-
|
|
42
|
-
`renderButtonPopConfirmProps` is a dict with keys:
|
|
43
|
-
|
|
44
|
-
- cancelText (string; optional)
|
|
45
|
-
|
|
46
|
-
- okText (string; optional)
|
|
47
|
-
|
|
48
|
-
- title (string; required)
|
|
49
|
-
|
|
50
|
-
- renderLinkText (string; optional)
|
|
51
|
-
|
|
52
|
-
- renderType (a value equal to: 'link', 'ellipsis', 'mini-line', 'mini-bar', 'mini-progress', 'mini-area', 'tags', 'button', 'copyable'; optional)
|
|
53
|
-
|
|
54
|
-
- sorter (boolean | number | string | dict | list; optional)
|
|
55
|
-
|
|
56
|
-
- title (string; required)
|
|
57
|
-
|
|
58
|
-
- title_ (string; optional)
|
|
59
|
-
|
|
60
|
-
- width (number | string; optional)
|
|
61
|
-
|
|
62
|
-
- columnsFormatConstraint (dict; optional)
|
|
63
|
-
|
|
64
|
-
`columnsFormatConstraint` is a dict with strings as keys and
|
|
65
|
-
values of type dict with keys:
|
|
66
|
-
|
|
67
|
-
- content (string; optional)
|
|
68
|
-
|
|
69
|
-
- rule (string; optional)
|
|
70
|
-
|
|
71
|
-
- containerId (string; optional)
|
|
72
|
-
|
|
73
|
-
- currentData (list; optional)
|
|
74
|
-
|
|
75
|
-
- data (list of dicts; optional)
|
|
76
|
-
|
|
77
|
-
- enableHoverListen (boolean; default False)
|
|
78
|
-
|
|
79
|
-
- filter (dict; optional)
|
|
80
|
-
|
|
81
|
-
- filterOptions (dict; optional)
|
|
82
|
-
|
|
83
|
-
- loading_state (dict; optional)
|
|
84
|
-
|
|
85
|
-
`loading_state` is a dict with keys:
|
|
86
|
-
|
|
87
|
-
- component_name (string; optional):
|
|
88
|
-
Holds the name of the component that is loading.
|
|
89
|
-
|
|
90
|
-
- is_loading (boolean; optional):
|
|
91
|
-
Determines if the component is loading or not.
|
|
92
|
-
|
|
93
|
-
- prop_name (string; optional):
|
|
94
|
-
Holds which property is loading.
|
|
95
|
-
|
|
96
|
-
- locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
|
|
97
|
-
|
|
98
|
-
- maxHeight (number; optional)
|
|
99
|
-
|
|
100
|
-
- mode (a value equal to: 'client-side', 'server-side'; default 'client-side')
|
|
101
|
-
|
|
102
|
-
- nClicksButton (number; default 0)
|
|
103
|
-
|
|
104
|
-
- pagination (dict; optional)
|
|
105
|
-
|
|
106
|
-
`pagination` is a boolean | dict with keys:
|
|
107
|
-
|
|
108
|
-
- current (number; optional)
|
|
109
|
-
|
|
110
|
-
- hideOnSinglePage (boolean; optional)
|
|
111
|
-
|
|
112
|
-
- pageSize (number; optional)
|
|
113
|
-
|
|
114
|
-
- pageSizeOptions (list of numbers; optional)
|
|
115
|
-
|
|
116
|
-
- position (a value equal to: 'topLeft', 'topCenter', 'topRight', 'bottomLeft', 'bottomCenter', 'bottomRight'; optional)
|
|
117
|
-
|
|
118
|
-
- showQuickJumper (boolean; optional)
|
|
119
|
-
|
|
120
|
-
- showTotalPrefix (string; optional)
|
|
121
|
-
|
|
122
|
-
- showTotalSuffix (string; optional)
|
|
123
|
-
|
|
124
|
-
- simple (boolean; optional)
|
|
125
|
-
|
|
126
|
-
- total (number; optional)
|
|
127
|
-
|
|
128
|
-
- recentlyButtonClickedRow (dict; optional)
|
|
129
|
-
|
|
130
|
-
- recentlyChangedRow (dict; optional)
|
|
131
|
-
|
|
132
|
-
- recentlyMouseEnterColumn (string; optional)
|
|
133
|
-
|
|
134
|
-
- recentlyMouseEnterRow (string | number; optional)
|
|
135
|
-
|
|
136
|
-
- rowSelectionType (a value equal to: 'checkbox', 'radio'; optional)
|
|
137
|
-
|
|
138
|
-
- selectedRowKeys (list of strings; optional)
|
|
139
|
-
|
|
140
|
-
- selectedRows (list; optional)
|
|
141
|
-
|
|
142
|
-
- size (a value equal to: 'small', 'default', 'large'; default 'default')
|
|
143
|
-
|
|
144
|
-
- sortOptions (dict; default {
|
|
145
|
sortDataIndexes: []
|
|
146
|
-
|
|
147
|
-
`sortOptions` is a dict with keys:
|
|
148
|
-
|
|
149
|
-
- multiple (boolean; optional)
|
|
150
|
-
|
|
151
|
-
- sortDataIndexes (list of strings; optional)
|
|
152
|
-
|
|
153
|
-
- sorter (dict; optional)
|
|
154
|
-
|
|
155
|
-
`sorter` is a dict with keys:
|
|
156
|
-
|
|
157
|
-
- columns (list of strings; optional)
|
|
158
|
-
|
|
159
|
-
- orders (list of a value equal to: 'ascend', 'descend's; optional)
|
|
160
|
-
|
|
161
|
-
- style (dict; optional)
|
|
162
|
-
|
|
163
|
-
- titlePopoverInfo (dict; optional)"""
|
|
164
|
-
@_explicitize_args
|
|
165
|
-
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):
|
|
166
|
-
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']
|
|
167
|
-
self._type = 'AntdTable'
|
|
168
|
-
self._namespace = 'feffery_antd_components'
|
|
169
|
-
self._valid_wildcard_attributes = []
|
|
170
|
-
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']
|
|
171
|
-
self.available_wildcard_properties = []
|
|
172
|
-
_explicit_args = kwargs.pop('_explicit_args')
|
|
173
|
-
_locals = locals()
|
|
174
|
-
_locals.update(kwargs) # For wildcard attrs
|
|
175
|
-
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
176
|
-
for k in []:
|
|
177
|
-
if k not in args:
|
|
178
|
-
raise TypeError(
|
|
179
|
-
'Required argument `' + k + '` was not specified.')
|
|
180
|
-
super(AntdTable, self).__init__(**args)
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
-
|
|
3
|
-
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class AntdTabs(Component):
|
|
7
|
-
"""An AntdTabs component.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Keyword arguments:
|
|
11
|
-
|
|
12
|
-
- children (a list of or a singular dash component, string or number; optional):
|
|
13
|
-
The content of the tab - will only be displayed if this tab is
|
|
14
|
-
selected.
|
|
15
|
-
|
|
16
|
-
- id (string; optional)
|
|
17
|
-
|
|
18
|
-
- activeKey (string; optional)
|
|
19
|
-
|
|
20
|
-
- className (string; optional)
|
|
21
|
-
|
|
22
|
-
- defaultActiveKey (string; optional)
|
|
23
|
-
|
|
24
|
-
- latestDeletePane (string; optional)
|
|
25
|
-
|
|
26
|
-
- loading_state (dict; optional)
|
|
27
|
-
|
|
28
|
-
`loading_state` is a dict with keys:
|
|
29
|
-
|
|
30
|
-
- component_name (string; optional):
|
|
31
|
-
Holds the name of the component that is loading.
|
|
32
|
-
|
|
33
|
-
- is_loading (boolean; optional):
|
|
34
|
-
Determines if the component is loading or not.
|
|
35
|
-
|
|
36
|
-
- prop_name (string; optional):
|
|
37
|
-
Holds which property is loading.
|
|
38
|
-
|
|
39
|
-
- persisted_props (list of a value equal to: 'activeKey's; default ['activeKey']):
|
|
40
|
-
Properties whose user interactions will persist after refreshing
|
|
41
|
-
the component or the page. Since only `value` is allowed this
|
|
42
|
-
prop can normally be ignored.
|
|
43
|
-
|
|
44
|
-
- persistence (boolean | string | number; optional):
|
|
45
|
-
Used to allow user interactions in this component to be persisted
|
|
46
|
-
when the component - or the page - is refreshed. If `persisted`
|
|
47
|
-
is truthy and hasn't changed from its previous value, a `value`
|
|
48
|
-
that the user has changed while using the app will keep that
|
|
49
|
-
change, as long as the new `value` also matches what was given
|
|
50
|
-
originally. Used in conjunction with `persistence_type`.
|
|
51
|
-
|
|
52
|
-
- persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
|
|
53
|
-
Where persisted user changes will be stored: memory: only kept in
|
|
54
|
-
memory, reset on page refresh. local: window.localStorage, data
|
|
55
|
-
is kept after the browser quit. session: window.sessionStorage,
|
|
56
|
-
data is cleared once the browser quit.
|
|
57
|
-
|
|
58
|
-
- size (a value equal to: 'small', 'default', 'large'; optional)
|
|
59
|
-
|
|
60
|
-
- style (dict; optional)
|
|
61
|
-
|
|
62
|
-
- tabPosition (a value equal to: 'top', 'left', 'right', 'bottom'; optional)
|
|
63
|
-
|
|
64
|
-
- type (a value equal to: 'line', 'card', 'editable-card'; optional)"""
|
|
65
|
-
@_explicitize_args
|
|
66
|
-
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, defaultActiveKey=Component.UNDEFINED, tabPosition=Component.UNDEFINED, size=Component.UNDEFINED, type=Component.UNDEFINED, activeKey=Component.UNDEFINED, latestDeletePane=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
67
|
-
self._prop_names = ['children', 'id', 'activeKey', 'className', 'defaultActiveKey', 'latestDeletePane', 'loading_state', 'persisted_props', 'persistence', 'persistence_type', 'size', 'style', 'tabPosition', 'type']
|
|
68
|
-
self._type = 'AntdTabs'
|
|
69
|
-
self._namespace = 'feffery_antd_components'
|
|
70
|
-
self._valid_wildcard_attributes = []
|
|
71
|
-
self.available_properties = ['children', 'id', 'activeKey', 'className', 'defaultActiveKey', 'latestDeletePane', 'loading_state', 'persisted_props', 'persistence', 'persistence_type', 'size', 'style', 'tabPosition', 'type']
|
|
72
|
-
self.available_wildcard_properties = []
|
|
73
|
-
_explicit_args = kwargs.pop('_explicit_args')
|
|
74
|
-
_locals = locals()
|
|
75
|
-
_locals.update(kwargs) # For wildcard attrs
|
|
76
|
-
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
77
|
-
for k in []:
|
|
78
|
-
if k not in args:
|
|
79
|
-
raise TypeError(
|
|
80
|
-
'Required argument `' + k + '` was not specified.')
|
|
81
|
-
super(AntdTabs, self).__init__(children=children, **args)
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
-
|
|
3
|
-
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class AntdTag(Component):
|
|
7
|
-
"""An AntdTag component.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Keyword arguments:
|
|
11
|
-
|
|
12
|
-
- id (string; optional)
|
|
13
|
-
|
|
14
|
-
- className (string; optional)
|
|
15
|
-
|
|
16
|
-
- color (string; optional)
|
|
17
|
-
|
|
18
|
-
- content (string; default '')
|
|
19
|
-
|
|
20
|
-
- href (string; optional)
|
|
21
|
-
|
|
22
|
-
- loading_state (dict; optional)
|
|
23
|
-
|
|
24
|
-
`loading_state` is a dict with keys:
|
|
25
|
-
|
|
26
|
-
- component_name (string; optional):
|
|
27
|
-
Holds the name of the component that is loading.
|
|
28
|
-
|
|
29
|
-
- is_loading (boolean; optional):
|
|
30
|
-
Determines if the component is loading or not.
|
|
31
|
-
|
|
32
|
-
- prop_name (string; optional):
|
|
33
|
-
Holds which property is loading.
|
|
34
|
-
|
|
35
|
-
- style (dict; optional)
|
|
36
|
-
|
|
37
|
-
- target (string; default '_blank')"""
|
|
38
|
-
@_explicitize_args
|
|
39
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, content=Component.UNDEFINED, color=Component.UNDEFINED, href=Component.UNDEFINED, target=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
40
|
-
self._prop_names = ['id', 'className', 'color', 'content', 'href', 'loading_state', 'style', 'target']
|
|
41
|
-
self._type = 'AntdTag'
|
|
42
|
-
self._namespace = 'feffery_antd_components'
|
|
43
|
-
self._valid_wildcard_attributes = []
|
|
44
|
-
self.available_properties = ['id', 'className', 'color', 'content', 'href', 'loading_state', 'style', 'target']
|
|
45
|
-
self.available_wildcard_properties = []
|
|
46
|
-
_explicit_args = kwargs.pop('_explicit_args')
|
|
47
|
-
_locals = locals()
|
|
48
|
-
_locals.update(kwargs) # For wildcard attrs
|
|
49
|
-
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
50
|
-
for k in []:
|
|
51
|
-
if k not in args:
|
|
52
|
-
raise TypeError(
|
|
53
|
-
'Required argument `' + k + '` was not specified.')
|
|
54
|
-
super(AntdTag, self).__init__(**args)
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
-
|
|
3
|
-
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class AntdTestLink(Component):
|
|
7
|
-
"""An AntdTestLink component.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Keyword arguments:
|
|
11
|
-
|
|
12
|
-
- children (a list of or a singular dash component, string or number; optional):
|
|
13
|
-
The children of this component.
|
|
14
|
-
|
|
15
|
-
- id (string; optional):
|
|
16
|
-
The ID of this component, used to identify dash components in
|
|
17
|
-
callbacks. The ID needs to be unique across all of the components
|
|
18
|
-
in an app.
|
|
19
|
-
|
|
20
|
-
- className (string; optional):
|
|
21
|
-
Often used with CSS to style elements with common properties.
|
|
22
|
-
|
|
23
|
-
- disabled (boolean; default False):
|
|
24
|
-
If True, clicking on the link does nothing.
|
|
25
|
-
|
|
26
|
-
- download (string; optional)
|
|
27
|
-
|
|
28
|
-
- external_link (boolean; optional):
|
|
29
|
-
If True, the browser will treat this as an external link, forcing
|
|
30
|
-
a page refresh at the new location. If False, this just changes
|
|
31
|
-
the location without triggering a page refresh. Use this if you
|
|
32
|
-
are observing dcc.Location, for instance. Defaults to True for
|
|
33
|
-
absolute URLs and False otherwise.
|
|
34
|
-
|
|
35
|
-
- href (string; optional):
|
|
36
|
-
URL of the resource to link to.
|
|
37
|
-
|
|
38
|
-
- style (dict; optional):
|
|
39
|
-
Defines CSS styles which will override styles previously set.
|
|
40
|
-
|
|
41
|
-
- target (string; optional)"""
|
|
42
|
-
@_explicitize_args
|
|
43
|
-
def __init__(self, children=None, id=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, href=Component.UNDEFINED, disabled=Component.UNDEFINED, external_link=Component.UNDEFINED, preOnClick=Component.UNDEFINED, target=Component.UNDEFINED, download=Component.UNDEFINED, **kwargs):
|
|
44
|
-
self._prop_names = ['children', 'id', 'className', 'disabled', 'download', 'external_link', 'href', 'style', 'target']
|
|
45
|
-
self._type = 'AntdTestLink'
|
|
46
|
-
self._namespace = 'feffery_antd_components'
|
|
47
|
-
self._valid_wildcard_attributes = []
|
|
48
|
-
self.available_properties = ['children', 'id', 'className', 'disabled', 'download', 'external_link', 'href', 'style', 'target']
|
|
49
|
-
self.available_wildcard_properties = []
|
|
50
|
-
_explicit_args = kwargs.pop('_explicit_args')
|
|
51
|
-
_locals = locals()
|
|
52
|
-
_locals.update(kwargs) # For wildcard attrs
|
|
53
|
-
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
54
|
-
for k in []:
|
|
55
|
-
if k not in args:
|
|
56
|
-
raise TypeError(
|
|
57
|
-
'Required argument `' + k + '` was not specified.')
|
|
58
|
-
super(AntdTestLink, self).__init__(children=children, **args)
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
-
|
|
3
|
-
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class AntdText(Component):
|
|
7
|
-
"""An AntdText component.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Keyword arguments:
|
|
11
|
-
|
|
12
|
-
- children (a list of or a singular dash component, string or number; optional):
|
|
13
|
-
The content of the tab - will only be displayed if this tab is
|
|
14
|
-
selected.
|
|
15
|
-
|
|
16
|
-
- id (string; optional)
|
|
17
|
-
|
|
18
|
-
- className (string; optional)
|
|
19
|
-
|
|
20
|
-
- code (boolean; optional)
|
|
21
|
-
|
|
22
|
-
- copyable (boolean; optional)
|
|
23
|
-
|
|
24
|
-
- disabled (boolean; optional)
|
|
25
|
-
|
|
26
|
-
- italic (boolean; optional)
|
|
27
|
-
|
|
28
|
-
- keyboard (boolean; optional)
|
|
29
|
-
|
|
30
|
-
- loading_state (dict; optional)
|
|
31
|
-
|
|
32
|
-
`loading_state` is a dict with keys:
|
|
33
|
-
|
|
34
|
-
- component_name (string; optional):
|
|
35
|
-
Holds the name of the component that is loading.
|
|
36
|
-
|
|
37
|
-
- is_loading (boolean; optional):
|
|
38
|
-
Determines if the component is loading or not.
|
|
39
|
-
|
|
40
|
-
- prop_name (string; optional):
|
|
41
|
-
Holds which property is loading.
|
|
42
|
-
|
|
43
|
-
- locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
|
|
44
|
-
|
|
45
|
-
- mark (boolean; optional)
|
|
46
|
-
|
|
47
|
-
- strikethrough (boolean; optional)
|
|
48
|
-
|
|
49
|
-
- strong (boolean; optional)
|
|
50
|
-
|
|
51
|
-
- style (dict; optional)
|
|
52
|
-
|
|
53
|
-
- type (a value equal to: 'secondary', 'success', 'warning', 'danger'; optional)
|
|
54
|
-
|
|
55
|
-
- underline (boolean; optional)"""
|
|
56
|
-
@_explicitize_args
|
|
57
|
-
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, code=Component.UNDEFINED, copyable=Component.UNDEFINED, strikethrough=Component.UNDEFINED, disabled=Component.UNDEFINED, mark=Component.UNDEFINED, strong=Component.UNDEFINED, italic=Component.UNDEFINED, underline=Component.UNDEFINED, keyboard=Component.UNDEFINED, type=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
58
|
-
self._prop_names = ['children', 'id', 'className', 'code', 'copyable', 'disabled', 'italic', 'keyboard', 'loading_state', 'locale', 'mark', 'strikethrough', 'strong', 'style', 'type', 'underline']
|
|
59
|
-
self._type = 'AntdText'
|
|
60
|
-
self._namespace = 'feffery_antd_components'
|
|
61
|
-
self._valid_wildcard_attributes = []
|
|
62
|
-
self.available_properties = ['children', 'id', 'className', 'code', 'copyable', 'disabled', 'italic', 'keyboard', 'loading_state', 'locale', 'mark', 'strikethrough', 'strong', 'style', 'type', 'underline']
|
|
63
|
-
self.available_wildcard_properties = []
|
|
64
|
-
_explicit_args = kwargs.pop('_explicit_args')
|
|
65
|
-
_locals = locals()
|
|
66
|
-
_locals.update(kwargs) # For wildcard attrs
|
|
67
|
-
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
68
|
-
for k in []:
|
|
69
|
-
if k not in args:
|
|
70
|
-
raise TypeError(
|
|
71
|
-
'Required argument `' + k + '` was not specified.')
|
|
72
|
-
super(AntdText, self).__init__(children=children, **args)
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
-
|
|
3
|
-
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class AntdTimePicker(Component):
|
|
7
|
-
"""An AntdTimePicker component.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Keyword arguments:
|
|
11
|
-
|
|
12
|
-
- id (string; optional)
|
|
13
|
-
|
|
14
|
-
- allowClear (boolean; optional)
|
|
15
|
-
|
|
16
|
-
- bordered (boolean; optional)
|
|
17
|
-
|
|
18
|
-
- className (string; optional)
|
|
19
|
-
|
|
20
|
-
- defaultValue (string; optional)
|
|
21
|
-
|
|
22
|
-
- disabled (boolean; optional)
|
|
23
|
-
|
|
24
|
-
- format (string; default 'hh:mm:ss')
|
|
25
|
-
|
|
26
|
-
- hourStep (number; optional)
|
|
27
|
-
|
|
28
|
-
- loading_state (dict; optional):
|
|
29
|
-
Object that holds the loading state object coming from
|
|
30
|
-
dash-renderer.
|
|
31
|
-
|
|
32
|
-
`loading_state` is a dict with keys:
|
|
33
|
-
|
|
34
|
-
- component_name (string; optional):
|
|
35
|
-
Holds the name of the component that is loading.
|
|
36
|
-
|
|
37
|
-
- is_loading (boolean; optional):
|
|
38
|
-
Determines if the component is loading or not.
|
|
39
|
-
|
|
40
|
-
- prop_name (string; optional):
|
|
41
|
-
Holds which property is loading.
|
|
42
|
-
|
|
43
|
-
- locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
|
|
44
|
-
|
|
45
|
-
- minuteStep (number; optional)
|
|
46
|
-
|
|
47
|
-
- persisted_props (list of a value equal to: 'value's; default ['value']):
|
|
48
|
-
Properties whose user interactions will persist after refreshing
|
|
49
|
-
the component or the page. Since only `value` is allowed this
|
|
50
|
-
prop can normally be ignored.
|
|
51
|
-
|
|
52
|
-
- persistence (boolean | string | number; optional):
|
|
53
|
-
Used to allow user interactions in this component to be persisted
|
|
54
|
-
when the component - or the page - is refreshed. If `persisted`
|
|
55
|
-
is truthy and hasn't changed from its previous value, a `value`
|
|
56
|
-
that the user has changed while using the app will keep that
|
|
57
|
-
change, as long as the new `value` also matches what was given
|
|
58
|
-
originally. Used in conjunction with `persistence_type`.
|
|
59
|
-
|
|
60
|
-
- persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
|
|
61
|
-
Where persisted user changes will be stored: memory: only kept in
|
|
62
|
-
memory, reset on page refresh. local: window.localStorage, data
|
|
63
|
-
is kept after the browser quit. session: window.sessionStorage,
|
|
64
|
-
data is cleared once the browser quit.
|
|
65
|
-
|
|
66
|
-
- placeholder (string; optional)
|
|
67
|
-
|
|
68
|
-
- secondStep (number; optional)
|
|
69
|
-
|
|
70
|
-
- size (a value equal to: 'small', 'middle', 'large'; optional)
|
|
71
|
-
|
|
72
|
-
- style (dict; default {
|
|
73
|
width: 220
|
|
74
|
-
|
|
75
|
-
- use12Hours (boolean; optional)
|
|
76
|
-
|
|
77
|
-
- value (string; optional)"""
|
|
78
|
-
@_explicitize_args
|
|
79
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, disabled=Component.UNDEFINED, hourStep=Component.UNDEFINED, minuteStep=Component.UNDEFINED, secondStep=Component.UNDEFINED, format=Component.UNDEFINED, use12Hours=Component.UNDEFINED, allowClear=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, placeholder=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
80
|
-
self._prop_names = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'format', 'hourStep', 'loading_state', 'locale', 'minuteStep', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'secondStep', 'size', 'style', 'use12Hours', 'value']
|
|
81
|
-
self._type = 'AntdTimePicker'
|
|
82
|
-
self._namespace = 'feffery_antd_components'
|
|
83
|
-
self._valid_wildcard_attributes = []
|
|
84
|
-
self.available_properties = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'format', 'hourStep', 'loading_state', 'locale', 'minuteStep', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'secondStep', 'size', 'style', 'use12Hours', 'value']
|
|
85
|
-
self.available_wildcard_properties = []
|
|
86
|
-
_explicit_args = kwargs.pop('_explicit_args')
|
|
87
|
-
_locals = locals()
|
|
88
|
-
_locals.update(kwargs) # For wildcard attrs
|
|
89
|
-
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
90
|
-
for k in []:
|
|
91
|
-
if k not in args:
|
|
92
|
-
raise TypeError(
|
|
93
|
-
'Required argument `' + k + '` was not specified.')
|
|
94
|
-
super(AntdTimePicker, self).__init__(**args)
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
-
|
|
3
|
-
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class AntdTimeRangePicker(Component):
|
|
7
|
-
"""An AntdTimeRangePicker component.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Keyword arguments:
|
|
11
|
-
|
|
12
|
-
- id (string; optional)
|
|
13
|
-
|
|
14
|
-
- allowClear (boolean; optional)
|
|
15
|
-
|
|
16
|
-
- bordered (boolean; optional)
|
|
17
|
-
|
|
18
|
-
- className (string; optional)
|
|
19
|
-
|
|
20
|
-
- defaultValue (list of strings; optional)
|
|
21
|
-
|
|
22
|
-
- disabled (list of booleans; optional)
|
|
23
|
-
|
|
24
|
-
- format (string; default 'hh:mm:ss')
|
|
25
|
-
|
|
26
|
-
- hourStep (number; optional)
|
|
27
|
-
|
|
28
|
-
- loading_state (dict; optional):
|
|
29
|
-
Object that holds the loading state object coming from
|
|
30
|
-
dash-renderer.
|
|
31
|
-
|
|
32
|
-
`loading_state` is a dict with keys:
|
|
33
|
-
|
|
34
|
-
- component_name (string; optional):
|
|
35
|
-
Holds the name of the component that is loading.
|
|
36
|
-
|
|
37
|
-
- is_loading (boolean; optional):
|
|
38
|
-
Determines if the component is loading or not.
|
|
39
|
-
|
|
40
|
-
- prop_name (string; optional):
|
|
41
|
-
Holds which property is loading.
|
|
42
|
-
|
|
43
|
-
- locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
|
|
44
|
-
|
|
45
|
-
- minuteStep (number; optional)
|
|
46
|
-
|
|
47
|
-
- persisted_props (list of a value equal to: 'value's; default ['value']):
|
|
48
|
-
Properties whose user interactions will persist after refreshing
|
|
49
|
-
the component or the page. Since only `value` is allowed this
|
|
50
|
-
prop can normally be ignored.
|
|
51
|
-
|
|
52
|
-
- persistence (boolean | string | number; optional):
|
|
53
|
-
Used to allow user interactions in this component to be persisted
|
|
54
|
-
when the component - or the page - is refreshed. If `persisted`
|
|
55
|
-
is truthy and hasn't changed from its previous value, a `value`
|
|
56
|
-
that the user has changed while using the app will keep that
|
|
57
|
-
change, as long as the new `value` also matches what was given
|
|
58
|
-
originally. Used in conjunction with `persistence_type`.
|
|
59
|
-
|
|
60
|
-
- persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
|
|
61
|
-
Where persisted user changes will be stored: memory: only kept in
|
|
62
|
-
memory, reset on page refresh. local: window.localStorage, data
|
|
63
|
-
is kept after the browser quit. session: window.sessionStorage,
|
|
64
|
-
data is cleared once the browser quit.
|
|
65
|
-
|
|
66
|
-
- placeholder (list of strings; optional)
|
|
67
|
-
|
|
68
|
-
- secondStep (number; optional)
|
|
69
|
-
|
|
70
|
-
- size (a value equal to: 'small', 'middle', 'large'; optional)
|
|
71
|
-
|
|
72
|
-
- style (dict; default {
|
|
73
|
width: 220
|
|
74
|
-
|
|
75
|
-
- use12Hours (boolean; optional)
|
|
76
|
-
|
|
77
|
-
- value (list of strings; optional)"""
|
|
78
|
-
@_explicitize_args
|
|
79
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, disabled=Component.UNDEFINED, hourStep=Component.UNDEFINED, minuteStep=Component.UNDEFINED, secondStep=Component.UNDEFINED, format=Component.UNDEFINED, use12Hours=Component.UNDEFINED, allowClear=Component.UNDEFINED, placeholder=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
80
|
-
self._prop_names = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'format', 'hourStep', 'loading_state', 'locale', 'minuteStep', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'secondStep', 'size', 'style', 'use12Hours', 'value']
|
|
81
|
-
self._type = 'AntdTimeRangePicker'
|
|
82
|
-
self._namespace = 'feffery_antd_components'
|
|
83
|
-
self._valid_wildcard_attributes = []
|
|
84
|
-
self.available_properties = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'format', 'hourStep', 'loading_state', 'locale', 'minuteStep', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'secondStep', 'size', 'style', 'use12Hours', 'value']
|
|
85
|
-
self.available_wildcard_properties = []
|
|
86
|
-
_explicit_args = kwargs.pop('_explicit_args')
|
|
87
|
-
_locals = locals()
|
|
88
|
-
_locals.update(kwargs) # For wildcard attrs
|
|
89
|
-
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
90
|
-
for k in []:
|
|
91
|
-
if k not in args:
|
|
92
|
-
raise TypeError(
|
|
93
|
-
'Required argument `' + k + '` was not specified.')
|
|
94
|
-
super(AntdTimeRangePicker, self).__init__(**args)
|