feffery_antd_components 0.1.4 → 0.1.7

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 (163) hide show
  1. package/DESCRIPTION +1 -1
  2. package/NAMESPACE +2 -0
  3. package/Project.toml +1 -1
  4. package/README.md +2 -2
  5. package/build/lib/feffery_antd_components/AntdAffix.py +54 -0
  6. package/build/lib/feffery_antd_components/AntdAlert.py +58 -0
  7. package/build/lib/feffery_antd_components/AntdAnchor.py +60 -0
  8. package/build/lib/feffery_antd_components/AntdAvatar.py +79 -0
  9. package/build/lib/feffery_antd_components/AntdBackTop.py +52 -0
  10. package/build/lib/feffery_antd_components/AntdBadge.py +70 -0
  11. package/build/lib/feffery_antd_components/AntdBreadcrumb.py +74 -0
  12. package/build/lib/feffery_antd_components/AntdButton.py +68 -0
  13. package/build/lib/feffery_antd_components/AntdCalendar.py +75 -0
  14. package/build/lib/feffery_antd_components/AntdCard.py +86 -0
  15. package/build/lib/feffery_antd_components/AntdCardGrid.py +52 -0
  16. package/build/lib/feffery_antd_components/AntdCarousel.py +56 -0
  17. package/build/lib/feffery_antd_components/AntdCascader.py +93 -0
  18. package/build/lib/feffery_antd_components/AntdCheckbox.py +71 -0
  19. package/build/lib/feffery_antd_components/AntdCheckboxGroup.py +79 -0
  20. package/build/lib/feffery_antd_components/AntdCol.py +146 -0
  21. package/build/lib/feffery_antd_components/AntdCollapse.py +79 -0
  22. package/build/lib/feffery_antd_components/AntdComment.py +88 -0
  23. package/build/lib/feffery_antd_components/AntdContent.py +50 -0
  24. package/build/lib/feffery_antd_components/AntdCountdown.py +72 -0
  25. package/build/lib/feffery_antd_components/AntdDatePicker.py +95 -0
  26. package/build/lib/feffery_antd_components/AntdDateRangePicker.py +91 -0
  27. package/build/lib/feffery_antd_components/AntdDescriptionItem.py +58 -0
  28. package/build/lib/feffery_antd_components/AntdDescriptions.py +76 -0
  29. package/build/lib/feffery_antd_components/AntdDivider.py +62 -0
  30. package/build/lib/feffery_antd_components/AntdDraggerUpload.py +84 -0
  31. package/build/lib/feffery_antd_components/AntdDrawer.py +72 -0
  32. package/build/lib/feffery_antd_components/AntdDropdown.py +84 -0
  33. package/build/lib/feffery_antd_components/AntdEmpty.py +54 -0
  34. package/build/lib/feffery_antd_components/AntdFooter.py +50 -0
  35. package/build/lib/feffery_antd_components/AntdForm.py +72 -0
  36. package/build/lib/feffery_antd_components/AntdFormItem.py +84 -0
  37. package/build/lib/feffery_antd_components/AntdHeader.py +50 -0
  38. package/build/lib/feffery_antd_components/AntdIcon.py +48 -0
  39. package/build/lib/feffery_antd_components/AntdImage.py +62 -0
  40. package/build/lib/feffery_antd_components/AntdInput.py +101 -0
  41. package/build/lib/feffery_antd_components/AntdInputNumber.py +101 -0
  42. package/build/lib/feffery_antd_components/AntdLayout.py +50 -0
  43. package/build/lib/feffery_antd_components/AntdMentions.py +76 -0
  44. package/build/lib/feffery_antd_components/AntdMenu.py +81 -0
  45. package/build/lib/feffery_antd_components/AntdMessage.py +56 -0
  46. package/build/lib/feffery_antd_components/AntdModal.py +88 -0
  47. package/build/lib/feffery_antd_components/AntdNotification.py +60 -0
  48. package/build/lib/feffery_antd_components/AntdPageHeader.py +62 -0
  49. package/build/lib/feffery_antd_components/AntdPagination.py +95 -0
  50. package/build/lib/feffery_antd_components/AntdParagraph.py +70 -0
  51. package/build/lib/feffery_antd_components/AntdPasteImage.py +52 -0
  52. package/build/lib/feffery_antd_components/AntdPopconfirm.py +80 -0
  53. package/build/lib/feffery_antd_components/AntdPopover.py +74 -0
  54. package/build/lib/feffery_antd_components/AntdProgress.py +88 -0
  55. package/build/lib/feffery_antd_components/AntdRadio.py +54 -0
  56. package/build/lib/feffery_antd_components/AntdRadioGroup.py +89 -0
  57. package/build/lib/feffery_antd_components/AntdRate.py +60 -0
  58. package/build/lib/feffery_antd_components/AntdResult.py +52 -0
  59. package/build/lib/feffery_antd_components/AntdRibbon.py +54 -0
  60. package/build/lib/feffery_antd_components/AntdRow.py +72 -0
  61. package/build/lib/feffery_antd_components/AntdSelect.py +121 -0
  62. package/build/lib/feffery_antd_components/AntdSider.py +68 -0
  63. package/build/lib/feffery_antd_components/AntdSkeleton.py +86 -0
  64. package/build/lib/feffery_antd_components/AntdSlider.py +68 -0
  65. package/build/lib/feffery_antd_components/AntdSpace.py +60 -0
  66. package/build/lib/feffery_antd_components/AntdSpin.py +68 -0
  67. package/build/lib/feffery_antd_components/AntdStatistic.py +74 -0
  68. package/build/lib/feffery_antd_components/AntdSteps.py +72 -0
  69. package/build/lib/feffery_antd_components/AntdSwitch.py +75 -0
  70. package/build/lib/feffery_antd_components/AntdTabPane.py +66 -0
  71. package/build/lib/feffery_antd_components/AntdTable.py +264 -0
  72. package/build/lib/feffery_antd_components/AntdTabs.py +81 -0
  73. package/build/lib/feffery_antd_components/AntdTag.py +54 -0
  74. package/build/lib/feffery_antd_components/AntdTestLink.py +58 -0
  75. package/build/lib/feffery_antd_components/AntdText.py +72 -0
  76. package/build/lib/feffery_antd_components/AntdTimePicker.py +95 -0
  77. package/build/lib/feffery_antd_components/AntdTimeRangePicker.py +95 -0
  78. package/build/lib/feffery_antd_components/AntdTimeline.py +68 -0
  79. package/build/lib/feffery_antd_components/AntdTitle.py +74 -0
  80. package/build/lib/feffery_antd_components/AntdTooltip.py +64 -0
  81. package/build/lib/feffery_antd_components/AntdTransfer.py +99 -0
  82. package/build/lib/feffery_antd_components/AntdTree.py +103 -0
  83. package/build/lib/feffery_antd_components/AntdTreeSelect.py +107 -0
  84. package/build/lib/feffery_antd_components/AntdTypography.py +50 -0
  85. package/build/lib/feffery_antd_components/AntdUpload.py +92 -0
  86. package/build/lib/feffery_antd_components/AntdWatermark.py +64 -0
  87. package/build/lib/feffery_antd_components/Link.py +58 -0
  88. package/build/lib/feffery_antd_components/__init__.py +53 -0
  89. package/build/lib/feffery_antd_components/_imports_.py +161 -0
  90. package/build/lib/feffery_antd_components/feffery_antd_components.min.js +344 -0
  91. package/build/lib/feffery_antd_components/metadata.json +15596 -0
  92. package/build/lib/feffery_antd_components/package-info.json +81 -0
  93. package/feffery_antd_components/AntdAnchor.py +9 -3
  94. package/feffery_antd_components/AntdButton.py +5 -3
  95. package/feffery_antd_components/AntdCascader.py +5 -3
  96. package/feffery_antd_components/AntdDatePicker.py +5 -3
  97. package/feffery_antd_components/AntdDateRangePicker.py +5 -3
  98. package/feffery_antd_components/AntdDraggerUpload.py +6 -4
  99. package/feffery_antd_components/AntdImage.py +2 -2
  100. package/feffery_antd_components/AntdInput.py +5 -3
  101. package/feffery_antd_components/AntdInputNumber.py +5 -3
  102. package/feffery_antd_components/AntdMentions.py +5 -3
  103. package/feffery_antd_components/AntdMessage.py +5 -3
  104. package/feffery_antd_components/AntdPasteImage.py +52 -0
  105. package/feffery_antd_components/AntdSelect.py +7 -3
  106. package/feffery_antd_components/AntdTable.py +27 -3
  107. package/feffery_antd_components/AntdTimePicker.py +5 -3
  108. package/feffery_antd_components/AntdTimeRangePicker.py +5 -3
  109. package/feffery_antd_components/AntdTree.py +6 -10
  110. package/feffery_antd_components/AntdTreeSelect.py +7 -3
  111. package/feffery_antd_components/AntdUpload.py +16 -4
  112. package/feffery_antd_components/AntdWatermark.py +64 -0
  113. package/feffery_antd_components/_imports_.py +4 -0
  114. package/feffery_antd_components/feffery_antd_components.min.js +13 -13
  115. package/feffery_antd_components/metadata.json +680 -43
  116. package/feffery_antd_components/package-info.json +18 -14
  117. package/package.json +18 -14
  118. package/src/FefferyAntdComponents.jl +5 -3
  119. package/src/jl/'feffery'_antdanchor.jl +4 -1
  120. package/src/jl/'feffery'_antdbutton.jl +2 -1
  121. package/src/jl/'feffery'_antdcascader.jl +2 -1
  122. package/src/jl/'feffery'_antddatepicker.jl +2 -1
  123. package/src/jl/'feffery'_antddaterangepicker.jl +2 -1
  124. package/src/jl/'feffery'_antddraggerupload.jl +2 -1
  125. package/src/jl/'feffery'_antdimage.jl +2 -2
  126. package/src/jl/'feffery'_antdinput.jl +2 -1
  127. package/src/jl/'feffery'_antdinputnumber.jl +2 -1
  128. package/src/jl/'feffery'_antdmentions.jl +2 -1
  129. package/src/jl/'feffery'_antdmessage.jl +2 -1
  130. package/src/jl/'feffery'_antdpasteimage.jl +28 -0
  131. package/src/jl/'feffery'_antdselect.jl +3 -1
  132. package/src/jl/'feffery'_antdtable.jl +19 -5
  133. package/src/jl/'feffery'_antdtimepicker.jl +2 -1
  134. package/src/jl/'feffery'_antdtimerangepicker.jl +2 -1
  135. package/src/jl/'feffery'_antdtree.jl +3 -5
  136. package/src/jl/'feffery'_antdtreeselect.jl +3 -1
  137. package/src/jl/'feffery'_antdupload.jl +9 -2
  138. package/src/jl/'feffery'_antdwatermark.jl +39 -0
  139. package/src/lib/components/AntdAnchor.react.js +18 -3
  140. package/src/lib/components/AntdButton.react.js +5 -1
  141. package/src/lib/components/AntdCascader.react.js +5 -0
  142. package/src/lib/components/AntdDatePicker.react.js +5 -0
  143. package/src/lib/components/AntdDateRangePicker.react.js +5 -0
  144. package/src/lib/components/AntdDraggerUpload.react.js +41 -11
  145. package/src/lib/components/AntdImage.react.js +8 -2
  146. package/src/lib/components/AntdInput.react.js +8 -0
  147. package/src/lib/components/AntdInputNumber.react.js +5 -0
  148. package/src/lib/components/AntdMentions.react.js +5 -0
  149. package/src/lib/components/AntdMessage.react.js +6 -1
  150. package/src/lib/components/AntdPasteImage.react.js +170 -0
  151. package/src/lib/components/AntdSelect.react.js +11 -0
  152. package/src/lib/components/AntdTable.react.js +69 -6
  153. package/src/lib/components/AntdTimePicker.react.js +5 -0
  154. package/src/lib/components/AntdTimeRangePicker.react.js +5 -0
  155. package/src/lib/components/AntdTree.react.js +6 -13
  156. package/src/lib/components/AntdTreeSelect.react.js +11 -0
  157. package/src/lib/components/AntdUpload.react.js +78 -24
  158. package/src/lib/components/AntdWatermark.react.js +115 -0
  159. package/src/lib/components/styles.css +12 -11
  160. package/src/lib/components/tabs/AntdTabs.react.js +4 -0
  161. package/src/lib/index.js +5 -1
  162. package/usage.py +76 -1033
  163. package/webpack.config.js +9 -3
@@ -0,0 +1,62 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdPageHeader(Component):
7
+ """An AntdPageHeader 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
+ - backClicks (number; default 0)
19
+
20
+ - className (string; optional)
21
+
22
+ - ghost (boolean; optional)
23
+
24
+ - historyBackDisabled (boolean; default False)
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
+ - showBackIcon (boolean; default True)
40
+
41
+ - style (dict; optional)
42
+
43
+ - subTitle (string; optional)
44
+
45
+ - title (string; optional)"""
46
+ @_explicitize_args
47
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, title=Component.UNDEFINED, subTitle=Component.UNDEFINED, showBackIcon=Component.UNDEFINED, historyBackDisabled=Component.UNDEFINED, backClicks=Component.UNDEFINED, ghost=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
48
+ self._prop_names = ['children', 'id', 'backClicks', 'className', 'ghost', 'historyBackDisabled', 'loading_state', 'showBackIcon', 'style', 'subTitle', 'title']
49
+ self._type = 'AntdPageHeader'
50
+ self._namespace = 'feffery_antd_components'
51
+ self._valid_wildcard_attributes = []
52
+ self.available_properties = ['children', 'id', 'backClicks', 'className', 'ghost', 'historyBackDisabled', 'loading_state', 'showBackIcon', 'style', 'subTitle', 'title']
53
+ self.available_wildcard_properties = []
54
+ _explicit_args = kwargs.pop('_explicit_args')
55
+ _locals = locals()
56
+ _locals.update(kwargs) # For wildcard attrs
57
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
58
+ for k in []:
59
+ if k not in args:
60
+ raise TypeError(
61
+ 'Required argument `' + k + '` was not specified.')
62
+ super(AntdPageHeader, self).__init__(children=children, **args)
@@ -0,0 +1,95 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdPagination(Component):
7
+ """An AntdPagination component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - className (string; optional)
15
+
16
+ - current (number; optional)
17
+
18
+ - defaultCurrent (number; default 1)
19
+
20
+ - defaultPageSize (number; default 10)
21
+
22
+ - disabled (boolean; optional)
23
+
24
+ - hideOnSinglePage (boolean; 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
+ - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
40
+
41
+ - pageSize (number; optional)
42
+
43
+ - pageSizeOptions (list of numbers; optional)
44
+
45
+ - persisted_props (list of a value equal to: 'current', 'pageSize's; default ['current', 'pageSize']):
46
+ Properties whose user interactions will persist after refreshing
47
+ the component or the page. Since only `value` is allowed this
48
+ prop can normally be ignored.
49
+
50
+ - persistence (boolean | string | number; optional):
51
+ Used to allow user interactions in this component to be persisted
52
+ when the component - or the page - is refreshed. If `persisted`
53
+ is truthy and hasn't changed from its previous value, a `value`
54
+ that the user has changed while using the app will keep that
55
+ change, as long as the new `value` also matches what was given
56
+ originally. Used in conjunction with `persistence_type`.
57
+
58
+ - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
59
+ Where persisted user changes will be stored: memory: only kept in
60
+ memory, reset on page refresh. local: window.localStorage, data
61
+ is kept after the browser quit. session: window.sessionStorage,
62
+ data is cleared once the browser quit.
63
+
64
+ - showQuickJumper (boolean; optional)
65
+
66
+ - showSizeChanger (boolean; optional)
67
+
68
+ - showTotalPrefix (string; optional)
69
+
70
+ - showTotalSuffix (string; optional)
71
+
72
+ - simple (boolean; optional)
73
+
74
+ - size (a value equal to: 'default', 'small'; optional)
75
+
76
+ - style (dict; optional)
77
+
78
+ - total (number; optional)"""
79
+ @_explicitize_args
80
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, defaultCurrent=Component.UNDEFINED, defaultPageSize=Component.UNDEFINED, current=Component.UNDEFINED, disabled=Component.UNDEFINED, hideOnSinglePage=Component.UNDEFINED, pageSize=Component.UNDEFINED, pageSizeOptions=Component.UNDEFINED, showQuickJumper=Component.UNDEFINED, showSizeChanger=Component.UNDEFINED, showTotalPrefix=Component.UNDEFINED, showTotalSuffix=Component.UNDEFINED, simple=Component.UNDEFINED, size=Component.UNDEFINED, total=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
81
+ self._prop_names = ['id', 'className', 'current', 'defaultCurrent', 'defaultPageSize', 'disabled', 'hideOnSinglePage', 'loading_state', 'locale', 'pageSize', 'pageSizeOptions', 'persisted_props', 'persistence', 'persistence_type', 'showQuickJumper', 'showSizeChanger', 'showTotalPrefix', 'showTotalSuffix', 'simple', 'size', 'style', 'total']
82
+ self._type = 'AntdPagination'
83
+ self._namespace = 'feffery_antd_components'
84
+ self._valid_wildcard_attributes = []
85
+ self.available_properties = ['id', 'className', 'current', 'defaultCurrent', 'defaultPageSize', 'disabled', 'hideOnSinglePage', 'loading_state', 'locale', 'pageSize', 'pageSizeOptions', 'persisted_props', 'persistence', 'persistence_type', 'showQuickJumper', 'showSizeChanger', 'showTotalPrefix', 'showTotalSuffix', 'simple', 'size', 'style', 'total']
86
+ self.available_wildcard_properties = []
87
+ _explicit_args = kwargs.pop('_explicit_args')
88
+ _locals = locals()
89
+ _locals.update(kwargs) # For wildcard attrs
90
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
91
+ for k in []:
92
+ if k not in args:
93
+ raise TypeError(
94
+ 'Required argument `' + k + '` was not specified.')
95
+ super(AntdPagination, self).__init__(**args)
@@ -0,0 +1,70 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdParagraph(Component):
7
+ """An AntdParagraph 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
+ - loading_state (dict; optional)
29
+
30
+ `loading_state` is a dict with keys:
31
+
32
+ - component_name (string; optional):
33
+ Holds the name of the component that is loading.
34
+
35
+ - is_loading (boolean; optional):
36
+ Determines if the component is loading or not.
37
+
38
+ - prop_name (string; optional):
39
+ Holds which property is loading.
40
+
41
+ - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
42
+
43
+ - mark (boolean; optional)
44
+
45
+ - strikethrough (boolean; optional)
46
+
47
+ - strong (boolean; optional)
48
+
49
+ - style (dict; optional)
50
+
51
+ - type (a value equal to: 'secondary', 'success', 'warning', 'danger'; optional)
52
+
53
+ - underline (boolean; optional)"""
54
+ @_explicitize_args
55
+ 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, type=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
56
+ self._prop_names = ['children', 'id', 'className', 'code', 'copyable', 'disabled', 'italic', 'loading_state', 'locale', 'mark', 'strikethrough', 'strong', 'style', 'type', 'underline']
57
+ self._type = 'AntdParagraph'
58
+ self._namespace = 'feffery_antd_components'
59
+ self._valid_wildcard_attributes = []
60
+ self.available_properties = ['children', 'id', 'className', 'code', 'copyable', 'disabled', 'italic', 'loading_state', 'locale', 'mark', 'strikethrough', 'strong', 'style', 'type', 'underline']
61
+ self.available_wildcard_properties = []
62
+ _explicit_args = kwargs.pop('_explicit_args')
63
+ _locals = locals()
64
+ _locals.update(kwargs) # For wildcard attrs
65
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
66
+ for k in []:
67
+ if k not in args:
68
+ raise TypeError(
69
+ 'Required argument `' + k + '` was not specified.')
70
+ super(AntdParagraph, self).__init__(children=children, **args)
@@ -0,0 +1,52 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdPasteImage(Component):
7
+ """An AntdPasteImage component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - className (string; default 'feffery-paste-image-container')
15
+
16
+ - currentPastedImages (list of boolean | number | string | dict | lists; optional)
17
+
18
+ - deletedIdx (list of numbers; optional)
19
+
20
+ - imageHeight (number; default 200)
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
+ @_explicitize_args
37
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, currentPastedImages=Component.UNDEFINED, deletedIdx=Component.UNDEFINED, imageHeight=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
38
+ self._prop_names = ['id', 'className', 'currentPastedImages', 'deletedIdx', 'imageHeight', 'loading_state', 'style']
39
+ self._type = 'AntdPasteImage'
40
+ self._namespace = 'feffery_antd_components'
41
+ self._valid_wildcard_attributes = []
42
+ self.available_properties = ['id', 'className', 'currentPastedImages', 'deletedIdx', 'imageHeight', 'loading_state', 'style']
43
+ self.available_wildcard_properties = []
44
+ _explicit_args = kwargs.pop('_explicit_args')
45
+ _locals = locals()
46
+ _locals.update(kwargs) # For wildcard attrs
47
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
48
+ for k in []:
49
+ if k not in args:
50
+ raise TypeError(
51
+ 'Required argument `' + k + '` was not specified.')
52
+ super(AntdPasteImage, self).__init__(**args)
@@ -0,0 +1,80 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdPopconfirm(Component):
7
+ """An AntdPopconfirm 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
+ - cancelButtonProps (dict; optional)
19
+
20
+ - cancelCounts (number; default 0)
21
+
22
+ - cancelText (string; optional)
23
+
24
+ - className (string; optional)
25
+
26
+ - confirmCounts (number; default 0)
27
+
28
+ - disabled (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
+ - mouseEnterDelay (number; optional)
46
+
47
+ - mouseLeaveDelay (number; optional)
48
+
49
+ - okButtonProps (dict; optional)
50
+
51
+ - okText (string; optional)
52
+
53
+ - overlayInnerStyle (dict; optional)
54
+
55
+ - overlayStyle (dict; optional)
56
+
57
+ - placement (a value equal to: 'top', 'left', 'right', 'bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'leftTop', 'leftBottom', 'rightTop', 'rightBottom'; optional)
58
+
59
+ - style (dict; optional)
60
+
61
+ - title (string; optional)
62
+
63
+ - trigger (a value equal to: 'hover', 'focus', 'click' | list of a value equal to: 'hover', 'focus', 'click's; optional)"""
64
+ @_explicitize_args
65
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, title=Component.UNDEFINED, disabled=Component.UNDEFINED, placement=Component.UNDEFINED, mouseEnterDelay=Component.UNDEFINED, mouseLeaveDelay=Component.UNDEFINED, overlayStyle=Component.UNDEFINED, overlayInnerStyle=Component.UNDEFINED, okText=Component.UNDEFINED, okButtonProps=Component.UNDEFINED, cancelText=Component.UNDEFINED, cancelButtonProps=Component.UNDEFINED, confirmCounts=Component.UNDEFINED, cancelCounts=Component.UNDEFINED, trigger=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
66
+ self._prop_names = ['children', 'id', 'cancelButtonProps', 'cancelCounts', 'cancelText', 'className', 'confirmCounts', 'disabled', 'loading_state', 'locale', 'mouseEnterDelay', 'mouseLeaveDelay', 'okButtonProps', 'okText', 'overlayInnerStyle', 'overlayStyle', 'placement', 'style', 'title', 'trigger']
67
+ self._type = 'AntdPopconfirm'
68
+ self._namespace = 'feffery_antd_components'
69
+ self._valid_wildcard_attributes = []
70
+ self.available_properties = ['children', 'id', 'cancelButtonProps', 'cancelCounts', 'cancelText', 'className', 'confirmCounts', 'disabled', 'loading_state', 'locale', 'mouseEnterDelay', 'mouseLeaveDelay', 'okButtonProps', 'okText', 'overlayInnerStyle', 'overlayStyle', 'placement', 'style', 'title', 'trigger']
71
+ self.available_wildcard_properties = []
72
+ _explicit_args = kwargs.pop('_explicit_args')
73
+ _locals = locals()
74
+ _locals.update(kwargs) # For wildcard attrs
75
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
76
+ for k in []:
77
+ if k not in args:
78
+ raise TypeError(
79
+ 'Required argument `' + k + '` was not specified.')
80
+ super(AntdPopconfirm, self).__init__(children=children, **args)
@@ -0,0 +1,74 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdPopover(Component):
7
+ """An AntdPopover 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
+ - color (string; optional)
21
+
22
+ - content (list; optional)
23
+
24
+ - loading_state (dict; optional)
25
+
26
+ `loading_state` is a dict with keys:
27
+
28
+ - component_name (string; optional):
29
+ Holds the name of the component that is loading.
30
+
31
+ - is_loading (boolean; optional):
32
+ Determines if the component is loading or not.
33
+
34
+ - prop_name (string; optional):
35
+ Holds which property is loading.
36
+
37
+ - mouseEnterDelay (number; optional)
38
+
39
+ - mouseLeaveDelay (number; optional)
40
+
41
+ - overlayInnerStyle (dict; optional)
42
+
43
+ - overlayStyle (dict; optional)
44
+
45
+ - placement (a value equal to: 'top', 'left', 'right', 'bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'leftTop', 'leftBottom', 'rightTop', 'rightBottom'; optional)
46
+
47
+ - style (dict; optional)
48
+
49
+ - title (dict; optional)
50
+
51
+ `title` is a string | dict with keys:
52
+
53
+ - content (string; optional)
54
+
55
+ - prefixIcon (string; optional)
56
+
57
+ - trigger (a value equal to: 'hover', 'focus', 'click' | list of a value equal to: 'hover', 'focus', 'click's; optional)"""
58
+ @_explicitize_args
59
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, title=Component.UNDEFINED, content=Component.UNDEFINED, placement=Component.UNDEFINED, color=Component.UNDEFINED, mouseEnterDelay=Component.UNDEFINED, mouseLeaveDelay=Component.UNDEFINED, overlayStyle=Component.UNDEFINED, overlayInnerStyle=Component.UNDEFINED, trigger=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
60
+ self._prop_names = ['children', 'id', 'className', 'color', 'content', 'loading_state', 'mouseEnterDelay', 'mouseLeaveDelay', 'overlayInnerStyle', 'overlayStyle', 'placement', 'style', 'title', 'trigger']
61
+ self._type = 'AntdPopover'
62
+ self._namespace = 'feffery_antd_components'
63
+ self._valid_wildcard_attributes = []
64
+ self.available_properties = ['children', 'id', 'className', 'color', 'content', 'loading_state', 'mouseEnterDelay', 'mouseLeaveDelay', 'overlayInnerStyle', 'overlayStyle', 'placement', 'style', 'title', 'trigger']
65
+ self.available_wildcard_properties = []
66
+ _explicit_args = kwargs.pop('_explicit_args')
67
+ _locals = locals()
68
+ _locals.update(kwargs) # For wildcard attrs
69
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
70
+ for k in []:
71
+ if k not in args:
72
+ raise TypeError(
73
+ 'Required argument `' + k + '` was not specified.')
74
+ super(AntdPopover, self).__init__(children=children, **args)
@@ -0,0 +1,88 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdProgress(Component):
7
+ """An AntdProgress component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - className (string; optional)
15
+
16
+ - format (dict; optional)
17
+
18
+ `format` is a dict with keys:
19
+
20
+ - content (string; optional)
21
+
22
+ - prefix (string; optional)
23
+
24
+ - suffix (string; optional)
25
+
26
+ - gapDegree (number; optional)
27
+
28
+ - gapPosition (a value equal to: 'top', 'bottom', 'left', 'right'; 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
+ - percent (number; optional)
44
+
45
+ - showInfo (boolean; optional)
46
+
47
+ - size (a value equal to: 'default', 'small'; optional)
48
+
49
+ - status (a value equal to: 'success', 'exception', 'normal', 'active'; optional)
50
+
51
+ - steps (number; optional)
52
+
53
+ - strokeColor (dict; optional)
54
+
55
+ `strokeColor` is a string | dict with keys:
56
+
57
+ - from (string; optional)
58
+
59
+ - to (string; optional)
60
+
61
+ - strokeLinecap (a value equal to: 'round', 'square'; optional)
62
+
63
+ - strokeWidth (number; optional)
64
+
65
+ - style (dict; optional)
66
+
67
+ - trailColor (string; optional)
68
+
69
+ - type (a value equal to: 'line', 'circle', 'dashboard'; optional)
70
+
71
+ - width (number; optional)"""
72
+ @_explicitize_args
73
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, type=Component.UNDEFINED, size=Component.UNDEFINED, percent=Component.UNDEFINED, format=Component.UNDEFINED, status=Component.UNDEFINED, showInfo=Component.UNDEFINED, strokeColor=Component.UNDEFINED, strokeLinecap=Component.UNDEFINED, strokeWidth=Component.UNDEFINED, trailColor=Component.UNDEFINED, width=Component.UNDEFINED, gapDegree=Component.UNDEFINED, gapPosition=Component.UNDEFINED, steps=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
74
+ self._prop_names = ['id', 'className', 'format', 'gapDegree', 'gapPosition', 'loading_state', 'percent', 'showInfo', 'size', 'status', 'steps', 'strokeColor', 'strokeLinecap', 'strokeWidth', 'style', 'trailColor', 'type', 'width']
75
+ self._type = 'AntdProgress'
76
+ self._namespace = 'feffery_antd_components'
77
+ self._valid_wildcard_attributes = []
78
+ self.available_properties = ['id', 'className', 'format', 'gapDegree', 'gapPosition', 'loading_state', 'percent', 'showInfo', 'size', 'status', 'steps', 'strokeColor', 'strokeLinecap', 'strokeWidth', 'style', 'trailColor', 'type', 'width']
79
+ self.available_wildcard_properties = []
80
+ _explicit_args = kwargs.pop('_explicit_args')
81
+ _locals = locals()
82
+ _locals.update(kwargs) # For wildcard attrs
83
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
84
+ for k in []:
85
+ if k not in args:
86
+ raise TypeError(
87
+ 'Required argument `' + k + '` was not specified.')
88
+ super(AntdProgress, self).__init__(**args)
@@ -0,0 +1,54 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdRadio(Component):
7
+ """An AntdRadio component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - checked (boolean; optional)
15
+
16
+ - className (string; optional)
17
+
18
+ - disabled (boolean; optional)
19
+
20
+ - label (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
+ - mode (string; optional)
36
+
37
+ - style (dict; optional)"""
38
+ @_explicitize_args
39
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, mode=Component.UNDEFINED, disabled=Component.UNDEFINED, label=Component.UNDEFINED, checked=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
40
+ self._prop_names = ['id', 'checked', 'className', 'disabled', 'label', 'loading_state', 'mode', 'style']
41
+ self._type = 'AntdRadio'
42
+ self._namespace = 'feffery_antd_components'
43
+ self._valid_wildcard_attributes = []
44
+ self.available_properties = ['id', 'checked', 'className', 'disabled', 'label', 'loading_state', 'mode', 'style']
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(AntdRadio, self).__init__(**args)
@@ -0,0 +1,89 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdRadioGroup(Component):
7
+ """An AntdRadioGroup component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - buttonStyle (a value equal to: 'outline', 'solid'; optional)
15
+
16
+ - className (string; optional)
17
+
18
+ - defaultValue (string; optional)
19
+
20
+ - direction (a value equal to: 'horizontal', 'vertical'; default 'horizontal')
21
+
22
+ - disabled (boolean; optional)
23
+
24
+ - loading_state (dict; optional)
25
+
26
+ `loading_state` is a dict with keys:
27
+
28
+ - component_name (string; optional):
29
+ Holds the name of the component that is loading.
30
+
31
+ - is_loading (boolean; optional):
32
+ Determines if the component is loading or not.
33
+
34
+ - prop_name (string; optional):
35
+ Holds which property is loading.
36
+
37
+ - optionType (a value equal to: 'default', 'button'; optional)
38
+
39
+ - options (list of dicts; optional)
40
+
41
+ `options` is a list of dicts with keys:
42
+
43
+ - disabled (boolean; optional)
44
+
45
+ - label (string; required)
46
+
47
+ - value (string; required)
48
+
49
+ - persisted_props (list of a value equal to: 'value's; default ['value']):
50
+ Properties whose user interactions will persist after refreshing
51
+ the component or the page. Since only `value` is allowed this
52
+ prop can normally be ignored.
53
+
54
+ - persistence (boolean | string | number; optional):
55
+ Used to allow user interactions in this component to be persisted
56
+ when the component - or the page - is refreshed. If `persisted`
57
+ is truthy and hasn't changed from its previous value, a `value`
58
+ that the user has changed while using the app will keep that
59
+ change, as long as the new `value` also matches what was given
60
+ originally. Used in conjunction with `persistence_type`.
61
+
62
+ - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
63
+ Where persisted user changes will be stored: memory: only kept in
64
+ memory, reset on page refresh. local: window.localStorage, data
65
+ is kept after the browser quit. session: window.sessionStorage,
66
+ data is cleared once the browser quit.
67
+
68
+ - size (a value equal to: 'large', 'middle', 'small'; optional)
69
+
70
+ - style (dict; optional)
71
+
72
+ - value (string | number; optional)"""
73
+ @_explicitize_args
74
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, direction=Component.UNDEFINED, options=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, optionType=Component.UNDEFINED, buttonStyle=Component.UNDEFINED, disabled=Component.UNDEFINED, size=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
75
+ self._prop_names = ['id', 'buttonStyle', 'className', 'defaultValue', 'direction', 'disabled', 'loading_state', 'optionType', 'options', 'persisted_props', 'persistence', 'persistence_type', 'size', 'style', 'value']
76
+ self._type = 'AntdRadioGroup'
77
+ self._namespace = 'feffery_antd_components'
78
+ self._valid_wildcard_attributes = []
79
+ self.available_properties = ['id', 'buttonStyle', 'className', 'defaultValue', 'direction', 'disabled', 'loading_state', 'optionType', 'options', 'persisted_props', 'persistence', 'persistence_type', 'size', 'style', 'value']
80
+ self.available_wildcard_properties = []
81
+ _explicit_args = kwargs.pop('_explicit_args')
82
+ _locals = locals()
83
+ _locals.update(kwargs) # For wildcard attrs
84
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
85
+ for k in []:
86
+ if k not in args:
87
+ raise TypeError(
88
+ 'Required argument `' + k + '` was not specified.')
89
+ super(AntdRadioGroup, self).__init__(**args)