feffery_antd_components 0.1.8 → 0.1.9

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.
Files changed (112) hide show
  1. package/DESCRIPTION +1 -1
  2. package/NAMESPACE +1 -0
  3. package/Project.toml +1 -1
  4. package/feffery_antd_components/AntdPopconfirm.py +5 -3
  5. package/feffery_antd_components/AntdRadioGroup.py +3 -3
  6. package/{build/lib/feffery_antd_components/AntdCheckboxGroup.py → feffery_antd_components/AntdSegmented.py} +17 -11
  7. package/feffery_antd_components/AntdSwitch.py +5 -3
  8. package/feffery_antd_components/_imports_.py +2 -0
  9. package/feffery_antd_components/feffery_antd_components.min.js +143 -158
  10. package/feffery_antd_components/metadata.json +259 -4
  11. package/feffery_antd_components/package-info.json +3 -3
  12. package/package.json +3 -3
  13. package/src/FefferyAntdComponents.jl +4 -3
  14. package/src/jl/'feffery'_antdpopconfirm.jl +2 -1
  15. package/src/jl/'feffery'_antdradiogroup.jl +3 -3
  16. package/src/jl/'feffery'_antdsegmented.jl +48 -0
  17. package/src/jl/'feffery'_antdswitch.jl +2 -1
  18. package/src/lib/components/AntdMessage.react.js +2 -0
  19. package/src/lib/components/AntdPopconfirm.react.js +7 -2
  20. package/src/lib/components/AntdRadioGroup.react.js +10 -4
  21. package/src/lib/components/AntdSegmented.react.js +167 -0
  22. package/src/lib/components/AntdSwitch.react.js +9 -1
  23. package/src/lib/components/tabs/AntdTabs.react.js +0 -1
  24. package/src/lib/index.js +3 -1
  25. package/usage.py +28 -115
  26. package/build/lib/feffery_antd_components/AntdAffix.py +0 -54
  27. package/build/lib/feffery_antd_components/AntdAlert.py +0 -58
  28. package/build/lib/feffery_antd_components/AntdAnchor.py +0 -60
  29. package/build/lib/feffery_antd_components/AntdAvatar.py +0 -79
  30. package/build/lib/feffery_antd_components/AntdBackTop.py +0 -52
  31. package/build/lib/feffery_antd_components/AntdBadge.py +0 -70
  32. package/build/lib/feffery_antd_components/AntdBreadcrumb.py +0 -74
  33. package/build/lib/feffery_antd_components/AntdButton.py +0 -68
  34. package/build/lib/feffery_antd_components/AntdCalendar.py +0 -75
  35. package/build/lib/feffery_antd_components/AntdCard.py +0 -86
  36. package/build/lib/feffery_antd_components/AntdCardGrid.py +0 -52
  37. package/build/lib/feffery_antd_components/AntdCarousel.py +0 -56
  38. package/build/lib/feffery_antd_components/AntdCascader.py +0 -93
  39. package/build/lib/feffery_antd_components/AntdCheckbox.py +0 -71
  40. package/build/lib/feffery_antd_components/AntdCol.py +0 -146
  41. package/build/lib/feffery_antd_components/AntdCollapse.py +0 -79
  42. package/build/lib/feffery_antd_components/AntdComment.py +0 -88
  43. package/build/lib/feffery_antd_components/AntdContent.py +0 -50
  44. package/build/lib/feffery_antd_components/AntdCountdown.py +0 -72
  45. package/build/lib/feffery_antd_components/AntdDatePicker.py +0 -95
  46. package/build/lib/feffery_antd_components/AntdDateRangePicker.py +0 -91
  47. package/build/lib/feffery_antd_components/AntdDescriptionItem.py +0 -58
  48. package/build/lib/feffery_antd_components/AntdDescriptions.py +0 -76
  49. package/build/lib/feffery_antd_components/AntdDivider.py +0 -62
  50. package/build/lib/feffery_antd_components/AntdDraggerUpload.py +0 -84
  51. package/build/lib/feffery_antd_components/AntdDrawer.py +0 -72
  52. package/build/lib/feffery_antd_components/AntdDropdown.py +0 -84
  53. package/build/lib/feffery_antd_components/AntdEmpty.py +0 -54
  54. package/build/lib/feffery_antd_components/AntdFooter.py +0 -50
  55. package/build/lib/feffery_antd_components/AntdForm.py +0 -72
  56. package/build/lib/feffery_antd_components/AntdFormItem.py +0 -84
  57. package/build/lib/feffery_antd_components/AntdHeader.py +0 -50
  58. package/build/lib/feffery_antd_components/AntdIcon.py +0 -48
  59. package/build/lib/feffery_antd_components/AntdImage.py +0 -62
  60. package/build/lib/feffery_antd_components/AntdInput.py +0 -101
  61. package/build/lib/feffery_antd_components/AntdInputNumber.py +0 -101
  62. package/build/lib/feffery_antd_components/AntdLayout.py +0 -50
  63. package/build/lib/feffery_antd_components/AntdMentions.py +0 -76
  64. package/build/lib/feffery_antd_components/AntdMenu.py +0 -81
  65. package/build/lib/feffery_antd_components/AntdMessage.py +0 -56
  66. package/build/lib/feffery_antd_components/AntdModal.py +0 -88
  67. package/build/lib/feffery_antd_components/AntdNotification.py +0 -60
  68. package/build/lib/feffery_antd_components/AntdPageHeader.py +0 -62
  69. package/build/lib/feffery_antd_components/AntdPagination.py +0 -95
  70. package/build/lib/feffery_antd_components/AntdParagraph.py +0 -70
  71. package/build/lib/feffery_antd_components/AntdPasteImage.py +0 -52
  72. package/build/lib/feffery_antd_components/AntdPopconfirm.py +0 -80
  73. package/build/lib/feffery_antd_components/AntdPopover.py +0 -74
  74. package/build/lib/feffery_antd_components/AntdProgress.py +0 -88
  75. package/build/lib/feffery_antd_components/AntdRadio.py +0 -54
  76. package/build/lib/feffery_antd_components/AntdRadioGroup.py +0 -89
  77. package/build/lib/feffery_antd_components/AntdRate.py +0 -60
  78. package/build/lib/feffery_antd_components/AntdResult.py +0 -52
  79. package/build/lib/feffery_antd_components/AntdRibbon.py +0 -54
  80. package/build/lib/feffery_antd_components/AntdRow.py +0 -72
  81. package/build/lib/feffery_antd_components/AntdSelect.py +0 -121
  82. package/build/lib/feffery_antd_components/AntdSider.py +0 -68
  83. package/build/lib/feffery_antd_components/AntdSkeleton.py +0 -86
  84. package/build/lib/feffery_antd_components/AntdSlider.py +0 -68
  85. package/build/lib/feffery_antd_components/AntdSpace.py +0 -60
  86. package/build/lib/feffery_antd_components/AntdSpin.py +0 -68
  87. package/build/lib/feffery_antd_components/AntdStatistic.py +0 -74
  88. package/build/lib/feffery_antd_components/AntdSteps.py +0 -72
  89. package/build/lib/feffery_antd_components/AntdSwitch.py +0 -75
  90. package/build/lib/feffery_antd_components/AntdTabPane.py +0 -66
  91. package/build/lib/feffery_antd_components/AntdTable.py +0 -264
  92. package/build/lib/feffery_antd_components/AntdTabs.py +0 -81
  93. package/build/lib/feffery_antd_components/AntdTag.py +0 -54
  94. package/build/lib/feffery_antd_components/AntdTestLink.py +0 -58
  95. package/build/lib/feffery_antd_components/AntdText.py +0 -72
  96. package/build/lib/feffery_antd_components/AntdTimePicker.py +0 -95
  97. package/build/lib/feffery_antd_components/AntdTimeRangePicker.py +0 -95
  98. package/build/lib/feffery_antd_components/AntdTimeline.py +0 -68
  99. package/build/lib/feffery_antd_components/AntdTitle.py +0 -74
  100. package/build/lib/feffery_antd_components/AntdTooltip.py +0 -64
  101. package/build/lib/feffery_antd_components/AntdTransfer.py +0 -99
  102. package/build/lib/feffery_antd_components/AntdTree.py +0 -103
  103. package/build/lib/feffery_antd_components/AntdTreeSelect.py +0 -107
  104. package/build/lib/feffery_antd_components/AntdTypography.py +0 -50
  105. package/build/lib/feffery_antd_components/AntdUpload.py +0 -92
  106. package/build/lib/feffery_antd_components/AntdWatermark.py +0 -64
  107. package/build/lib/feffery_antd_components/Link.py +0 -58
  108. package/build/lib/feffery_antd_components/__init__.py +0 -53
  109. package/build/lib/feffery_antd_components/_imports_.py +0 -161
  110. package/build/lib/feffery_antd_components/feffery_antd_components.min.js +0 -344
  111. package/build/lib/feffery_antd_components/metadata.json +0 -15596
  112. package/build/lib/feffery_antd_components/package-info.json +0 -81
@@ -1,264 +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
- - conditionStyle (string; optional)
27
-
28
- - dataIndex (string; required)
29
-
30
- - editable (boolean; optional)
31
-
32
- - ellipsis (boolean | number | string | dict | list; optional)
33
-
34
- - fixed (a value equal to: 'left', 'right'; optional)
35
-
36
- - onCell (boolean | number | string | dict | list; optional)
37
-
38
- - render (boolean | number | string | dict | list; optional)
39
-
40
- - renderOptions (dict; optional)
41
-
42
- `renderOptions` is a dict with keys:
43
-
44
- - renderButtonPopConfirmProps (dict; optional)
45
-
46
- `renderButtonPopConfirmProps` is a dict with keys:
47
-
48
- - cancelText (string; optional)
49
-
50
- - okText (string; optional)
51
-
52
- - title (string; required)
53
-
54
- - renderLinkText (string; optional)
55
-
56
- - renderType (a value equal to: 'link', 'ellipsis', 'mini-line', 'mini-bar', 'mini-progress', 'mini-ring-progress', 'mini-area', 'tags', 'button', 'copyable', 'status-badge', 'image'; optional)
57
-
58
- - sorter (boolean | number | string | dict | list; optional)
59
-
60
- - title (string; required)
61
-
62
- - title_ (string; optional)
63
-
64
- - width (number | string; optional)
65
-
66
- - columnsFormatConstraint (dict; optional)
67
-
68
- `columnsFormatConstraint` is a dict with strings as keys and
69
- values of type dict with keys:
70
-
71
- - content (string; optional)
72
-
73
- - rule (string; optional)
74
-
75
- - containerId (string; optional)
76
-
77
- - currentData (list; optional)
78
-
79
- - data (list of dicts; optional)
80
-
81
- `data` is a list of dicts with strings as keys and values of type
82
- string | number | dict with keys:
83
-
84
- - disabled (boolean; optional)
85
-
86
- - href (string; optional)
87
-
88
- - target (string; optional)
89
-
90
- Or list of numbers | list of dicts with keys:
91
-
92
- - color (string; optional)
93
-
94
- - tag (string | number; optional) | dict with keys:
95
-
96
- - content (string | number; optional)
97
-
98
- - danger (boolean; optional)
99
-
100
- - disabled (boolean; optional)
101
-
102
- - style (dict; optional)
103
-
104
- - type (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; optional) | list of dicts with keys:
105
-
106
- - content (string | number; optional)
107
-
108
- - danger (boolean; optional)
109
-
110
- - disabled (boolean; optional)
111
-
112
- - style (dict; optional)
113
-
114
- - type (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; optional) | dict with keys:
115
-
116
- - status (a value equal to: 'success', 'processing', 'default', 'error', 'warning'; optional)
117
-
118
- - text (string | number; optional) | dict with keys:
119
-
120
- - height (string | number; optional)
121
-
122
- - preview (boolean; optional)
123
-
124
- - src (string; optional)
125
-
126
- - enableHoverListen (boolean; default False)
127
-
128
- - filter (dict; optional)
129
-
130
- - filterOptions (dict; optional)
131
-
132
- - loading_state (dict; optional)
133
-
134
- `loading_state` is a dict with keys:
135
-
136
- - component_name (string; optional):
137
- Holds the name of the component that is loading.
138
-
139
- - is_loading (boolean; optional):
140
- Determines if the component is loading or not.
141
-
142
- - prop_name (string; optional):
143
- Holds which property is loading.
144
-
145
- - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
146
-
147
- - maxHeight (number; optional)
148
-
149
- - maxWidth (number; optional)
150
-
151
- - miniChartAnimation (boolean; default False)
152
-
153
- - miniChartHeight (number; default 30)
154
-
155
- - mode (a value equal to: 'client-side', 'server-side'; default 'client-side')
156
-
157
- - nClicksButton (number; default 0)
158
-
159
- - pagination (dict; optional)
160
-
161
- `pagination` is a boolean | dict with keys:
162
-
163
- - current (number; optional)
164
-
165
- - disabled (boolean; optional)
166
-
167
- - hideOnSinglePage (boolean; optional)
168
-
169
- - pageSize (number; optional)
170
-
171
- - pageSizeOptions (list of numbers; optional)
172
-
173
- - position (a value equal to: 'topLeft', 'topCenter', 'topRight', 'bottomLeft', 'bottomCenter', 'bottomRight'; optional)
174
-
175
- - responsive (boolean; optional)
176
-
177
- - showQuickJumper (boolean; optional)
178
-
179
- - showSizeChanger (boolean; optional)
180
-
181
- - showTitle (boolean; optional)
182
-
183
- - showTotalPrefix (string; optional)
184
-
185
- - showTotalSuffix (string; optional)
186
-
187
- - simple (boolean; optional)
188
-
189
- - size (a value equal to: 'default', 'small'; optional)
190
-
191
- - total (number; optional)
192
-
193
- - recentlyButtonClickedRow (dict; optional)
194
-
195
- - recentlyChangedRow (dict; optional)
196
-
197
- - recentlyMouseEnterColumn (string; optional)
198
-
199
- - recentlyMouseEnterRow (string | number; optional)
200
-
201
- - rowSelectionType (a value equal to: 'checkbox', 'radio'; optional)
202
-
203
- - rowSelectionWidth (string | number; optional)
204
-
205
- - selectedRowKeys (list of string | numbers; optional)
206
-
207
- - selectedRows (list; optional)
208
-
209
- - size (a value equal to: 'small', 'default', 'large'; default 'default')
210
-
211
- - sortOptions (dict; default {
212
  sortDataIndexes: []
213
-
214
- `sortOptions` is a dict with keys:
215
-
216
- - multiple (boolean; optional)
217
-
218
- - sortDataIndexes (list of strings; optional)
219
-
220
- - sorter (dict; optional)
221
-
222
- `sorter` is a dict with keys:
223
-
224
- - columns (list of strings; optional)
225
-
226
- - orders (list of a value equal to: 'ascend', 'descend's; optional)
227
-
228
- - sticky (dict; optional)
229
-
230
- `sticky` is a boolean | dict with keys:
231
-
232
- - offsetHeader (number; optional)
233
-
234
- - style (dict; optional)
235
-
236
- - summaryRowContents (list of dicts; optional)
237
-
238
- `summaryRowContents` is a list of dicts with keys:
239
-
240
- - align (a value equal to: 'left', 'center', 'right'; optional)
241
-
242
- - colSpan (number; optional)
243
-
244
- - content (string | number; optional)
245
-
246
- - summaryRowFixed (boolean; default False)
247
-
248
- - titlePopoverInfo (dict; optional)"""
249
- @_explicitize_args
250
- 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):
251
- 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']
252
- self._type = 'AntdTable'
253
- self._namespace = 'feffery_antd_components'
254
- self._valid_wildcard_attributes = []
255
- 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']
256
- self.available_wildcard_properties = []
257
- _explicit_args = kwargs.pop('_explicit_args')
258
- _locals = locals()
259
- _locals.update(kwargs) # For wildcard attrs
260
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
261
- for k in []:
262
- if k not in args:
263
- raise TypeError(
264
- 'Required argument `' + k + '` was not specified.')
265
- 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,95 +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
- - status (a value equal to: 'error', 'warning'; optional)
73
-
74
- - style (dict; default {
75
  width: 220
76
-
77
- - use12Hours (boolean; optional)
78
-
79
- - value (string; optional)"""
80
- @_explicitize_args
81
- 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, status=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
82
- self._prop_names = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'format', 'hourStep', 'loading_state', 'locale', 'minuteStep', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'secondStep', 'size', 'status', 'style', 'use12Hours', 'value']
83
- self._type = 'AntdTimePicker'
84
- self._namespace = 'feffery_antd_components'
85
- self._valid_wildcard_attributes = []
86
- self.available_properties = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'format', 'hourStep', 'loading_state', 'locale', 'minuteStep', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'secondStep', 'size', 'status', 'style', 'use12Hours', 'value']
87
- self.available_wildcard_properties = []
88
- _explicit_args = kwargs.pop('_explicit_args')
89
- _locals = locals()
90
- _locals.update(kwargs) # For wildcard attrs
91
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
92
- for k in []:
93
- if k not in args:
94
- raise TypeError(
95
- 'Required argument `' + k + '` was not specified.')
96
- super(AntdTimePicker, self).__init__(**args)