feffery_antd_components 0.1.16 → 0.2.0-rc0

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 (148) hide show
  1. package/DESCRIPTION +1 -1
  2. package/NAMESPACE +1 -0
  3. package/Project.toml +1 -1
  4. package/README-en_US.md +51 -0
  5. package/README.md +14 -5
  6. package/feffery_antd_components/AntdAlert.py +1 -1
  7. package/feffery_antd_components/AntdAnchor.py +1 -1
  8. package/feffery_antd_components/AntdAvatar.py +1 -1
  9. package/feffery_antd_components/AntdBackTop.py +1 -1
  10. package/feffery_antd_components/AntdButton.py +10 -6
  11. package/feffery_antd_components/AntdCarousel.py +1 -1
  12. package/feffery_antd_components/AntdCascader.py +9 -5
  13. package/feffery_antd_components/AntdCol.py +1 -1
  14. package/feffery_antd_components/AntdContent.py +1 -1
  15. package/feffery_antd_components/AntdCustomSkeleton.py +1 -1
  16. package/feffery_antd_components/AntdDraggerUpload.py +1 -1
  17. package/feffery_antd_components/AntdDrawer.py +1 -1
  18. package/feffery_antd_components/AntdFooter.py +1 -1
  19. package/feffery_antd_components/AntdHeader.py +1 -1
  20. package/feffery_antd_components/AntdIcon.py +8 -4
  21. package/feffery_antd_components/AntdImage.py +1 -1
  22. package/feffery_antd_components/AntdInput.py +16 -8
  23. package/feffery_antd_components/AntdInputNumber.py +11 -7
  24. package/feffery_antd_components/AntdLayout.py +1 -1
  25. package/feffery_antd_components/AntdModal.py +10 -4
  26. package/feffery_antd_components/AntdParagraph.py +1 -1
  27. package/feffery_antd_components/AntdPasteImage.py +1 -1
  28. package/feffery_antd_components/AntdPopupCard.py +72 -0
  29. package/feffery_antd_components/AntdRibbon.py +3 -3
  30. package/feffery_antd_components/AntdRow.py +1 -1
  31. package/feffery_antd_components/AntdSegmented.py +5 -3
  32. package/feffery_antd_components/AntdSegmentedColoring.py +7 -3
  33. package/feffery_antd_components/AntdSider.py +1 -1
  34. package/feffery_antd_components/AntdSkeleton.py +1 -1
  35. package/feffery_antd_components/AntdSpace.py +1 -1
  36. package/feffery_antd_components/AntdSpin.py +2 -2
  37. package/feffery_antd_components/AntdStatistic.py +1 -1
  38. package/feffery_antd_components/AntdTabPane.py +1 -1
  39. package/feffery_antd_components/AntdTable.py +55 -7
  40. package/feffery_antd_components/AntdTag.py +1 -1
  41. package/feffery_antd_components/AntdText.py +1 -1
  42. package/feffery_antd_components/AntdTitle.py +1 -1
  43. package/feffery_antd_components/AntdTree.py +6 -4
  44. package/feffery_antd_components/AntdTreeSelect.py +8 -6
  45. package/feffery_antd_components/_imports_.py +2 -0
  46. package/feffery_antd_components/feffery_antd_components.min.js +1 -1
  47. package/feffery_antd_components/metadata.json +1042 -93
  48. package/feffery_antd_components/package-info.json +6 -2
  49. package/git-operations.md +0 -1
  50. package/images//345/233/275/351/231/205/345/214/226/347/244/272/344/276/213.png +0 -0
  51. package/package.json +6 -2
  52. package/setup.py +0 -1
  53. package/src/FefferyAntdComponents.jl +4 -3
  54. package/src/jl/'feffery'_antdalert.jl +1 -1
  55. package/src/jl/'feffery'_antdanchor.jl +1 -1
  56. package/src/jl/'feffery'_antdavatar.jl +1 -1
  57. package/src/jl/'feffery'_antdbacktop.jl +1 -1
  58. package/src/jl/'feffery'_antdbutton.jl +4 -2
  59. package/src/jl/'feffery'_antdcarousel.jl +1 -1
  60. package/src/jl/'feffery'_antdcascader.jl +4 -2
  61. package/src/jl/'feffery'_antdcol.jl +1 -1
  62. package/src/jl/'feffery'_antdcontent.jl +1 -1
  63. package/src/jl/'feffery'_antdcustomskeleton.jl +1 -1
  64. package/src/jl/'feffery'_antddraggerupload.jl +1 -1
  65. package/src/jl/'feffery'_antddrawer.jl +1 -1
  66. package/src/jl/'feffery'_antdfooter.jl +1 -1
  67. package/src/jl/'feffery'_antdheader.jl +1 -1
  68. package/src/jl/'feffery'_antdicon.jl +4 -2
  69. package/src/jl/'feffery'_antdimage.jl +1 -1
  70. package/src/jl/'feffery'_antdinput.jl +8 -4
  71. package/src/jl/'feffery'_antdinputnumber.jl +5 -3
  72. package/src/jl/'feffery'_antdlayout.jl +1 -1
  73. package/src/jl/'feffery'_antdmodal.jl +5 -2
  74. package/src/jl/'feffery'_antdparagraph.jl +1 -1
  75. package/src/jl/'feffery'_antdpasteimage.jl +1 -1
  76. package/src/jl/'feffery'_antdpopupcard.jl +43 -0
  77. package/src/jl/'feffery'_antdribbon.jl +1 -1
  78. package/src/jl/'feffery'_antdrow.jl +1 -1
  79. package/src/jl/'feffery'_antdsegmented.jl +5 -4
  80. package/src/jl/'feffery'_antdsegmentedcoloring.jl +3 -1
  81. package/src/jl/'feffery'_antdsider.jl +1 -1
  82. package/src/jl/'feffery'_antdskeleton.jl +1 -1
  83. package/src/jl/'feffery'_antdspace.jl +1 -1
  84. package/src/jl/'feffery'_antdspin.jl +2 -2
  85. package/src/jl/'feffery'_antdstatistic.jl +1 -1
  86. package/src/jl/'feffery'_antdtable.jl +31 -4
  87. package/src/jl/'feffery'_antdtabpane.jl +1 -1
  88. package/src/jl/'feffery'_antdtag.jl +1 -1
  89. package/src/jl/'feffery'_antdtext.jl +1 -1
  90. package/src/jl/'feffery'_antdtitle.jl +1 -1
  91. package/src/jl/'feffery'_antdtree.jl +3 -2
  92. package/src/jl/'feffery'_antdtreeselect.jl +3 -2
  93. package/src/lib/components/AntdAlert.react.js +16 -3
  94. package/src/lib/components/AntdAnchor.react.js +79 -70
  95. package/src/lib/components/AntdAvatar.react.js +21 -4
  96. package/src/lib/components/AntdBackTop.react.js +11 -2
  97. package/src/lib/components/AntdButton.react.js +82 -54
  98. package/src/lib/components/AntdCarousel.react.js +11 -2
  99. package/src/lib/components/AntdCascader.react.js +128 -82
  100. package/src/lib/components/AntdCheckboxGroup.react.js +2 -0
  101. package/src/lib/components/AntdDrawer.react.js +11 -2
  102. package/src/lib/components/AntdIcon.react.js +70 -37
  103. package/src/lib/components/AntdImage.react.js +16 -3
  104. package/src/lib/components/AntdInput.react.js +212 -175
  105. package/src/lib/components/AntdInputNumber.react.js +12 -2
  106. package/src/lib/components/AntdModal.react.js +22 -1
  107. package/src/lib/components/AntdPasteImage.react.js +11 -2
  108. package/src/lib/components/AntdPopupCard.react.js +241 -0
  109. package/src/lib/components/AntdRibbon.react.js +1 -1
  110. package/src/lib/components/AntdSegmented.react.js +19 -4
  111. package/src/lib/components/AntdSegmentedColoring.react.js +107 -82
  112. package/src/lib/components/AntdSelect.react.js +5 -0
  113. package/src/lib/components/AntdSpace.react.js +21 -4
  114. package/src/lib/components/AntdSpin.react.js +21 -6
  115. package/src/lib/components/AntdStatistic.react.js +11 -2
  116. package/src/lib/components/AntdTable.react.js +252 -18
  117. package/src/lib/components/AntdTag.react.js +12 -2
  118. package/src/lib/components/AntdTree.react.js +182 -136
  119. package/src/lib/components/AntdTreeSelect.react.js +144 -101
  120. package/src/lib/components/grid/AntdCol.react.js +11 -2
  121. package/src/lib/components/grid/AntdRow.react.js +12 -3
  122. package/src/lib/components/layout/AntdContent.react.js +11 -2
  123. package/src/lib/components/layout/AntdFooter.react.js +11 -2
  124. package/src/lib/components/layout/AntdHeader.react.js +11 -2
  125. package/src/lib/components/layout/AntdLayout.react.js +11 -2
  126. package/src/lib/components/layout/AntdSider.react.js +11 -2
  127. package/src/lib/components/skeleton/AntdCustomSkeleton.react.js +11 -3
  128. package/src/lib/components/skeleton/AntdSkeleton.react.js +11 -2
  129. package/src/lib/components/styles.css +4 -0
  130. package/src/lib/components/tabs/AntdTabPane.react.js +11 -2
  131. package/src/lib/components/typography/AntdParagraph.react.js +11 -2
  132. package/src/lib/components/typography/AntdText.react.js +11 -2
  133. package/src/lib/components/typography/AntdTitle.react.js +11 -2
  134. package/src/lib/components/upload/AntdDraggerUpload.react.js +11 -2
  135. package/src/lib/components/utils.js +17 -2
  136. package/src/lib/index.js +24 -1
  137. package/tests/DebounceTest/app.py +89 -0
  138. package/tests/SegmentedColoringTest/app.py +106 -0
  139. package/tests/TableCellClickTest/app.py +67 -0
  140. package/tests/TableCellRowMergeTest/app.py +88 -0
  141. package/tests/TableEmptyContentTest/app.py +37 -0
  142. package/tests/TableMiniChartAdvanceTest/app.py +85 -0
  143. package/tests/TreeNodeStyleTest/app.py +73 -0
  144. package/tests/TreeTest/app.py +96 -0
  145. package/tests/VirtualClassNameTest/app.py +49 -0
  146. package/usage.py +125 -62
  147. package/webpack.config.js +45 -11
  148. package/tests/UploadTest/app.py +0 -70
@@ -0,0 +1,72 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdPopupCard(Component):
7
+ """An AntdPopupCard component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - children (a list of or a singular dash component, string or number; optional)
13
+
14
+ - id (string; optional)
15
+
16
+ - bodyStyle (dict; optional)
17
+
18
+ - className (string; optional)
19
+
20
+ - closable (boolean; default True)
21
+
22
+ - closeIconType (a value equal to: 'default', 'outlined', 'two-tone'; default 'default')
23
+
24
+ - draggable (boolean; default False)
25
+
26
+ - key (string; 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
+ - style (dict; optional)
44
+
45
+ - title (a list of or a singular dash component, string or number; optional)
46
+
47
+ - transitionType (a value equal to: 'none', 'fade', 'zoom', 'zoom-big', 'zoom-big-fast', 'zoom-up', 'zoom-down', 'zoom-left', 'zoom-right', 'slide-up', 'slide-down', 'slide-left', 'slide-right', 'move-up', 'move-down', 'move-left', 'move-right'; default 'fade')
48
+
49
+ - visible (boolean; default True)
50
+
51
+ - width (number | string; optional)
52
+
53
+ - zIndex (number; optional)"""
54
+ _children_props = ['title']
55
+ _base_nodes = ['title', 'children']
56
+ _namespace = 'feffery_antd_components'
57
+ _type = 'AntdPopupCard'
58
+ @_explicitize_args
59
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, locale=Component.UNDEFINED, title=Component.UNDEFINED, visible=Component.UNDEFINED, width=Component.UNDEFINED, transitionType=Component.UNDEFINED, closable=Component.UNDEFINED, closeIconType=Component.UNDEFINED, draggable=Component.UNDEFINED, zIndex=Component.UNDEFINED, bodyStyle=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
60
+ self._prop_names = ['children', 'id', 'bodyStyle', 'className', 'closable', 'closeIconType', 'draggable', 'key', 'loading_state', 'locale', 'style', 'title', 'transitionType', 'visible', 'width', 'zIndex']
61
+ self._valid_wildcard_attributes = []
62
+ self.available_properties = ['children', 'id', 'bodyStyle', 'className', 'closable', 'closeIconType', 'draggable', 'key', 'loading_state', 'locale', 'style', 'title', 'transitionType', 'visible', 'width', 'zIndex']
63
+ self.available_wildcard_properties = []
64
+ _explicit_args = kwargs.pop('_explicit_args')
65
+ _locals = locals()
66
+ _locals.update(kwargs) # For wildcard attrs and excess named props
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(AntdPopupCard, self).__init__(children=children, **args)
@@ -36,9 +36,9 @@ Keyword arguments:
36
36
 
37
37
  - style (dict; optional)
38
38
 
39
- - text (string; optional)"""
40
- _children_props = []
41
- _base_nodes = ['children']
39
+ - text (a list of or a singular dash component, string or number; optional)"""
40
+ _children_props = ['text']
41
+ _base_nodes = ['text', 'children']
42
42
  _namespace = 'feffery_antd_components'
43
43
  _type = 'AntdRibbon'
44
44
  @_explicitize_args
@@ -17,7 +17,7 @@ Keyword arguments:
17
17
 
18
18
  - align (a value equal to: 'top', 'middle', 'bottom'; optional)
19
19
 
20
- - className (string; optional)
20
+ - className (string | dict; optional)
21
21
 
22
22
  - gutter (dict; optional)
23
23
 
@@ -40,9 +40,11 @@ Keyword arguments:
40
40
 
41
41
  - disabled (boolean; optional)
42
42
 
43
- - label (string; optional)
43
+ - icon (string; optional)
44
44
 
45
- - value (string | number; optional)
45
+ - label (string | a list of or a singular dash component, string or number; required)
46
+
47
+ - value (string | number; required)
46
48
 
47
49
  - persisted_props (list of a value equal to: 'value's; default ['value']):
48
50
  Properties whose user interactions will persist after refreshing
@@ -68,7 +70,7 @@ Keyword arguments:
68
70
  - style (dict; optional)
69
71
 
70
72
  - value (string | number; optional)"""
71
- _children_props = []
73
+ _children_props = ['options[].label']
72
74
  _base_nodes = ['children']
73
75
  _namespace = 'feffery_antd_components'
74
76
  _type = 'AntdSegmented'
@@ -54,6 +54,10 @@ Keyword arguments:
54
54
 
55
55
  - precision (number; default 2)
56
56
 
57
+ - pureLegend (boolean; default False)
58
+
59
+ - pureLegendLabelStyle (dict; optional)
60
+
57
61
  - readOnly (boolean; default False)
58
62
 
59
63
  - size (a value equal to: 'large', 'small', 'default'; default 'default')
@@ -66,10 +70,10 @@ Keyword arguments:
66
70
  _namespace = 'feffery_antd_components'
67
71
  _type = 'AntdSegmentedColoring'
68
72
  @_explicitize_args
69
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, size=Component.UNDEFINED, bordered=Component.UNDEFINED, controls=Component.UNDEFINED, disabled=Component.UNDEFINED, keyboard=Component.UNDEFINED, placeholder=Component.UNDEFINED, min=Component.UNDEFINED, max=Component.UNDEFINED, step=Component.UNDEFINED, precision=Component.UNDEFINED, readOnly=Component.UNDEFINED, breakpoints=Component.REQUIRED, colors=Component.REQUIRED, inputNumberStyle=Component.UNDEFINED, colorBlockStyle=Component.UNDEFINED, colorBlockPosition=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
70
- self._prop_names = ['id', 'bordered', 'breakpoints', 'className', 'colorBlockPosition', 'colorBlockStyle', 'colors', 'controls', 'disabled', 'inputNumberStyle', 'key', 'keyboard', 'loading_state', 'max', 'min', 'placeholder', 'precision', 'readOnly', 'size', 'step', 'style']
73
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, size=Component.UNDEFINED, bordered=Component.UNDEFINED, controls=Component.UNDEFINED, disabled=Component.UNDEFINED, keyboard=Component.UNDEFINED, placeholder=Component.UNDEFINED, min=Component.UNDEFINED, max=Component.UNDEFINED, step=Component.UNDEFINED, precision=Component.UNDEFINED, readOnly=Component.UNDEFINED, pureLegend=Component.UNDEFINED, breakpoints=Component.REQUIRED, colors=Component.REQUIRED, inputNumberStyle=Component.UNDEFINED, colorBlockStyle=Component.UNDEFINED, colorBlockPosition=Component.UNDEFINED, pureLegendLabelStyle=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
74
+ self._prop_names = ['id', 'bordered', 'breakpoints', 'className', 'colorBlockPosition', 'colorBlockStyle', 'colors', 'controls', 'disabled', 'inputNumberStyle', 'key', 'keyboard', 'loading_state', 'max', 'min', 'placeholder', 'precision', 'pureLegend', 'pureLegendLabelStyle', 'readOnly', 'size', 'step', 'style']
71
75
  self._valid_wildcard_attributes = []
72
- self.available_properties = ['id', 'bordered', 'breakpoints', 'className', 'colorBlockPosition', 'colorBlockStyle', 'colors', 'controls', 'disabled', 'inputNumberStyle', 'key', 'keyboard', 'loading_state', 'max', 'min', 'placeholder', 'precision', 'readOnly', 'size', 'step', 'style']
76
+ self.available_properties = ['id', 'bordered', 'breakpoints', 'className', 'colorBlockPosition', 'colorBlockStyle', 'colors', 'controls', 'disabled', 'inputNumberStyle', 'key', 'keyboard', 'loading_state', 'max', 'min', 'placeholder', 'precision', 'pureLegend', 'pureLegendLabelStyle', 'readOnly', 'size', 'step', 'style']
73
77
  self.available_wildcard_properties = []
74
78
  _explicit_args = kwargs.pop('_explicit_args')
75
79
  _locals = locals()
@@ -17,7 +17,7 @@ Keyword arguments:
17
17
 
18
18
  - breakpoint (a value equal to: 'xs', 'sm', 'md', 'lg', 'xl', 'xxl'; optional)
19
19
 
20
- - className (string; optional)
20
+ - className (string | dict; optional)
21
21
 
22
22
  - collapsed (boolean; default False)
23
23
 
@@ -25,7 +25,7 @@ Keyword arguments:
25
25
 
26
26
  - size (number | a value equal to: 'large', 'small', 'default'; optional)
27
27
 
28
- - className (string; optional)
28
+ - className (string | dict; optional)
29
29
 
30
30
  - debug (boolean; default False)
31
31
 
@@ -19,7 +19,7 @@ Keyword arguments:
19
19
 
20
20
  - align (a value equal to: 'start', 'end', 'center', 'baseline'; optional)
21
21
 
22
- - className (string; optional)
22
+ - className (string | dict; optional)
23
23
 
24
24
  - direction (a value equal to: 'vertical', 'horizontal'; default 'horizontal')
25
25
 
@@ -15,7 +15,7 @@ Keyword arguments:
15
15
 
16
16
  - id (string; optional)
17
17
 
18
- - className (string; optional)
18
+ - className (string | dict; optional)
19
19
 
20
20
  - debug (boolean; default False)
21
21
 
@@ -50,7 +50,7 @@ Keyword arguments:
50
50
 
51
51
  - text (string; optional)
52
52
 
53
- - wrapperClassName (string; optional)"""
53
+ - wrapperClassName (string | dict; optional)"""
54
54
  _children_props = ['indicator']
55
55
  _base_nodes = ['indicator', 'children']
56
56
  _namespace = 'feffery_antd_components'
@@ -11,7 +11,7 @@ Keyword arguments:
11
11
 
12
12
  - id (string; optional)
13
13
 
14
- - className (string; optional)
14
+ - className (string | dict; optional)
15
15
 
16
16
  - key (string; optional)
17
17
 
@@ -15,7 +15,7 @@ Keyword arguments:
15
15
 
16
16
  - id (string; optional)
17
17
 
18
- - className (string; optional)
18
+ - className (string | dict; optional)
19
19
 
20
20
  - closable (boolean; optional)
21
21
 
@@ -13,6 +13,8 @@ Keyword arguments:
13
13
 
14
14
  - bordered (boolean; default False)
15
15
 
16
+ - checkedDataIndex (string; optional)
17
+
16
18
  - className (string; optional)
17
19
 
18
20
  - clickedContent (string; optional)
@@ -39,6 +41,8 @@ Keyword arguments:
39
41
 
40
42
  `renderOptions` is a dict with keys:
41
43
 
44
+ - progressOneHundredPercentColor (string; optional)
45
+
42
46
  - renderButtonPopConfirmProps (dict; optional)
43
47
 
44
48
  `renderButtonPopConfirmProps` is a dict with keys:
@@ -51,7 +55,9 @@ Keyword arguments:
51
55
 
52
56
  - renderLinkText (string; optional)
53
57
 
54
- - renderType (a value equal to: 'link', 'ellipsis', 'mini-line', 'mini-bar', 'mini-progress', 'mini-ring-progress', 'mini-area', 'tags', 'button', 'copyable', 'status-badge', 'image', 'custom-format', 'ellipsis-copyable', 'corner-mark'; optional)
58
+ - renderType (a value equal to: 'link', 'ellipsis', 'mini-line', 'mini-bar', 'mini-progress', 'mini-ring-progress', 'mini-area', 'tags', 'button', 'copyable', 'status-badge', 'image', 'custom-format', 'ellipsis-copyable', 'corner-mark', 'checkbox', 'switch', 'row-merge'; optional)
59
+
60
+ - ringProgressFontSize (number; optional)
55
61
 
56
62
  - tooltipCustomContent (string; optional)
57
63
 
@@ -143,7 +149,31 @@ Keyword arguments:
143
149
 
144
150
  - offsetY (number; optional)
145
151
 
146
- - placement (a value equal to: 'top-left', 'top-right', 'bottom-left', 'bottom-right'; optional)
152
+ - placement (a value equal to: 'top-left', 'top-right', 'bottom-left', 'bottom-right'; optional) | dict with keys:
153
+
154
+ - checked (boolean; optional)
155
+
156
+ - disabled (boolean; optional)
157
+
158
+ - label (string; optional) | dict with keys:
159
+
160
+ - checked (boolean; optional)
161
+
162
+ - checkedChildren (string; optional)
163
+
164
+ - disabled (boolean; optional)
165
+
166
+ - label (string; optional)
167
+
168
+ - unCheckedChildren (string; optional) | dict with keys:
169
+
170
+ - content (number | string; optional)
171
+
172
+ - rowSpan (number; optional)
173
+
174
+ - emptyContent (a list of or a singular dash component, string or number; optional)
175
+
176
+ - enableCellClickListenColumns (boolean; optional)
147
177
 
148
178
  - enableHoverListen (boolean; default False)
149
179
 
@@ -203,6 +233,8 @@ Keyword arguments:
203
233
 
204
234
  - nClicksButton (number; default 0)
205
235
 
236
+ - nClicksCell (number; default 0)
237
+
206
238
  - pagination (dict; optional)
207
239
 
208
240
  `pagination` is a boolean | dict with keys:
@@ -239,12 +271,26 @@ Keyword arguments:
239
271
 
240
272
  - recentlyButtonClickedRow (dict; optional)
241
273
 
274
+ - recentlyCellClickColumn (string; optional)
275
+
276
+ - recentlyCellClickRecord (string | number; optional)
277
+
242
278
  - recentlyChangedRow (dict; optional)
243
279
 
280
+ - recentlyCheckedLabel (string; optional)
281
+
282
+ - recentlyCheckedRow (dict; optional)
283
+
284
+ - recentlyCheckedStatus (boolean; optional)
285
+
244
286
  - recentlyMouseEnterColumn (string; optional)
245
287
 
246
288
  - recentlyMouseEnterRow (string | number; optional)
247
289
 
290
+ - recentlySwtichRow (dict; optional)
291
+
292
+ - recentlySwtichStatus (boolean; optional)
293
+
248
294
  - rowSelectionType (a value equal to: 'checkbox', 'radio'; optional)
249
295
 
250
296
  - rowSelectionWidth (string | number; optional)
@@ -291,16 +337,18 @@ Keyword arguments:
291
337
 
292
338
  - summaryRowFixed (boolean; default False)
293
339
 
340
+ - swtichDataIndex (string; optional)
341
+
294
342
  - titlePopoverInfo (dict; optional)"""
295
- _children_props = ['expandedRowKeyToContent[].content']
296
- _base_nodes = ['children']
343
+ _children_props = ['expandedRowKeyToContent[].content', 'emptyContent']
344
+ _base_nodes = ['emptyContent', 'children']
297
345
  _namespace = 'feffery_antd_components'
298
346
  _type = 'AntdTable'
299
347
  @_explicitize_args
300
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=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, customFormatFuncs=Component.UNDEFINED, conditionalStyleFuncs=Component.UNDEFINED, expandedRowKeyToContent=Component.UNDEFINED, expandedRowWidth=Component.UNDEFINED, expandRowByClick=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
301
- self._prop_names = ['id', 'bordered', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'conditionalStyleFuncs', 'containerId', 'currentData', 'customFormatFuncs', 'data', 'enableHoverListen', 'expandRowByClick', 'expandedRowKeyToContent', 'expandedRowWidth', 'filter', 'filterOptions', 'key', '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']
348
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=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, customFormatFuncs=Component.UNDEFINED, conditionalStyleFuncs=Component.UNDEFINED, expandedRowKeyToContent=Component.UNDEFINED, expandedRowWidth=Component.UNDEFINED, expandRowByClick=Component.UNDEFINED, recentlyCheckedRow=Component.UNDEFINED, recentlyCheckedLabel=Component.UNDEFINED, checkedDataIndex=Component.UNDEFINED, recentlyCheckedStatus=Component.UNDEFINED, recentlySwtichRow=Component.UNDEFINED, swtichDataIndex=Component.UNDEFINED, recentlySwtichStatus=Component.UNDEFINED, enableCellClickListenColumns=Component.UNDEFINED, recentlyCellClickColumn=Component.UNDEFINED, recentlyCellClickRecord=Component.UNDEFINED, nClicksCell=Component.UNDEFINED, emptyContent=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
349
+ self._prop_names = ['id', 'bordered', 'checkedDataIndex', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'conditionalStyleFuncs', 'containerId', 'currentData', 'customFormatFuncs', 'data', 'emptyContent', 'enableCellClickListenColumns', 'enableHoverListen', 'expandRowByClick', 'expandedRowKeyToContent', 'expandedRowWidth', 'filter', 'filterOptions', 'key', 'loading_state', 'locale', 'maxHeight', 'maxWidth', 'miniChartAnimation', 'miniChartHeight', 'mode', 'nClicksButton', 'nClicksCell', 'pagination', 'recentlyButtonClickedRow', 'recentlyCellClickColumn', 'recentlyCellClickRecord', 'recentlyChangedRow', 'recentlyCheckedLabel', 'recentlyCheckedRow', 'recentlyCheckedStatus', 'recentlyMouseEnterColumn', 'recentlyMouseEnterRow', 'recentlySwtichRow', 'recentlySwtichStatus', 'rowSelectionType', 'rowSelectionWidth', 'selectedRowKeys', 'selectedRows', 'size', 'sortOptions', 'sorter', 'sticky', 'style', 'summaryRowContents', 'summaryRowFixed', 'swtichDataIndex', 'titlePopoverInfo']
302
350
  self._valid_wildcard_attributes = []
303
- self.available_properties = ['id', 'bordered', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'conditionalStyleFuncs', 'containerId', 'currentData', 'customFormatFuncs', 'data', 'enableHoverListen', 'expandRowByClick', 'expandedRowKeyToContent', 'expandedRowWidth', 'filter', 'filterOptions', 'key', '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']
351
+ self.available_properties = ['id', 'bordered', 'checkedDataIndex', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'conditionalStyleFuncs', 'containerId', 'currentData', 'customFormatFuncs', 'data', 'emptyContent', 'enableCellClickListenColumns', 'enableHoverListen', 'expandRowByClick', 'expandedRowKeyToContent', 'expandedRowWidth', 'filter', 'filterOptions', 'key', 'loading_state', 'locale', 'maxHeight', 'maxWidth', 'miniChartAnimation', 'miniChartHeight', 'mode', 'nClicksButton', 'nClicksCell', 'pagination', 'recentlyButtonClickedRow', 'recentlyCellClickColumn', 'recentlyCellClickRecord', 'recentlyChangedRow', 'recentlyCheckedLabel', 'recentlyCheckedRow', 'recentlyCheckedStatus', 'recentlyMouseEnterColumn', 'recentlyMouseEnterRow', 'recentlySwtichRow', 'recentlySwtichStatus', 'rowSelectionType', 'rowSelectionWidth', 'selectedRowKeys', 'selectedRows', 'size', 'sortOptions', 'sorter', 'sticky', 'style', 'summaryRowContents', 'summaryRowFixed', 'swtichDataIndex', 'titlePopoverInfo']
304
352
  self.available_wildcard_properties = []
305
353
  _explicit_args = kwargs.pop('_explicit_args')
306
354
  _locals = locals()
@@ -11,7 +11,7 @@ Keyword arguments:
11
11
 
12
12
  - id (string; optional)
13
13
 
14
- - className (string; optional)
14
+ - className (string | dict; optional)
15
15
 
16
16
  - color (string; optional)
17
17
 
@@ -15,7 +15,7 @@ Keyword arguments:
15
15
 
16
16
  - id (string; optional)
17
17
 
18
- - className (string; optional)
18
+ - className (string | dict; optional)
19
19
 
20
20
  - code (boolean; optional)
21
21
 
@@ -15,7 +15,7 @@ Keyword arguments:
15
15
 
16
16
  - id (string; optional)
17
17
 
18
- - className (string; optional)
18
+ - className (string | dict; optional)
19
19
 
20
20
  - code (boolean; optional)
21
21
 
@@ -85,16 +85,18 @@ Keyword arguments:
85
85
 
86
86
  - style (dict; optional)
87
87
 
88
- - treeData (optional)"""
88
+ - treeData (list; optional)
89
+
90
+ - treeDataMode (a value equal to: 'tree', 'flat'; default 'tree')"""
89
91
  _children_props = []
90
92
  _base_nodes = ['children']
91
93
  _namespace = 'feffery_antd_components'
92
94
  _type = 'AntdTree'
93
95
  @_explicitize_args
94
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, treeData=Component.UNDEFINED, showIcon=Component.UNDEFINED, checkable=Component.UNDEFINED, defaultExpandAll=Component.UNDEFINED, defaultExpandedKeys=Component.UNDEFINED, defaultExpandParent=Component.UNDEFINED, checkStrictly=Component.UNDEFINED, defaultCheckedKeys=Component.UNDEFINED, defaultSelectedKeys=Component.UNDEFINED, multiple=Component.UNDEFINED, selectable=Component.UNDEFINED, showLine=Component.UNDEFINED, selectedKeys=Component.UNDEFINED, checkedKeys=Component.UNDEFINED, halfCheckedKeys=Component.UNDEFINED, expandedKeys=Component.UNDEFINED, height=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
95
- self._prop_names = ['id', 'checkStrictly', 'checkable', 'checkedKeys', 'className', 'defaultCheckedKeys', 'defaultExpandAll', 'defaultExpandParent', 'defaultExpandedKeys', 'defaultSelectedKeys', 'expandedKeys', 'halfCheckedKeys', 'height', 'key', 'loading_state', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'selectable', 'selectedKeys', 'showIcon', 'showLine', 'style', 'treeData']
96
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, treeData=Component.UNDEFINED, treeDataMode=Component.UNDEFINED, showIcon=Component.UNDEFINED, checkable=Component.UNDEFINED, defaultExpandAll=Component.UNDEFINED, defaultExpandedKeys=Component.UNDEFINED, defaultExpandParent=Component.UNDEFINED, checkStrictly=Component.UNDEFINED, defaultCheckedKeys=Component.UNDEFINED, defaultSelectedKeys=Component.UNDEFINED, multiple=Component.UNDEFINED, selectable=Component.UNDEFINED, showLine=Component.UNDEFINED, selectedKeys=Component.UNDEFINED, checkedKeys=Component.UNDEFINED, halfCheckedKeys=Component.UNDEFINED, expandedKeys=Component.UNDEFINED, height=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
97
+ self._prop_names = ['id', 'checkStrictly', 'checkable', 'checkedKeys', 'className', 'defaultCheckedKeys', 'defaultExpandAll', 'defaultExpandParent', 'defaultExpandedKeys', 'defaultSelectedKeys', 'expandedKeys', 'halfCheckedKeys', 'height', 'key', 'loading_state', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'selectable', 'selectedKeys', 'showIcon', 'showLine', 'style', 'treeData', 'treeDataMode']
96
98
  self._valid_wildcard_attributes = []
97
- self.available_properties = ['id', 'checkStrictly', 'checkable', 'checkedKeys', 'className', 'defaultCheckedKeys', 'defaultExpandAll', 'defaultExpandParent', 'defaultExpandedKeys', 'defaultSelectedKeys', 'expandedKeys', 'halfCheckedKeys', 'height', 'key', 'loading_state', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'selectable', 'selectedKeys', 'showIcon', 'showLine', 'style', 'treeData']
99
+ self.available_properties = ['id', 'checkStrictly', 'checkable', 'checkedKeys', 'className', 'defaultCheckedKeys', 'defaultExpandAll', 'defaultExpandParent', 'defaultExpandedKeys', 'defaultSelectedKeys', 'expandedKeys', 'halfCheckedKeys', 'height', 'key', 'loading_state', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'selectable', 'selectedKeys', 'showIcon', 'showLine', 'style', 'treeData', 'treeDataMode']
98
100
  self.available_wildcard_properties = []
99
101
  _explicit_args = kwargs.pop('_explicit_args')
100
102
  _locals = locals()
@@ -77,7 +77,9 @@ Keyword arguments:
77
77
 
78
78
  - treeCheckable (boolean; optional)
79
79
 
80
- - treeData (optional)
80
+ - treeData (list; required)
81
+
82
+ - treeDataMode (a value equal to: 'tree', 'flat'; default 'tree')
81
83
 
82
84
  - treeDefaultExpandAll (boolean; optional)
83
85
 
@@ -91,22 +93,22 @@ Keyword arguments:
91
93
 
92
94
  - value (string | number | list of string | numbers; optional)
93
95
 
94
- - virtual (boolean; default False)"""
96
+ - virtual (boolean; default True)"""
95
97
  _children_props = []
96
98
  _base_nodes = ['children']
97
99
  _namespace = 'feffery_antd_components'
98
100
  _type = 'AntdTreeSelect'
99
101
  @_explicitize_args
100
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, locale=Component.UNDEFINED, treeData=Component.UNDEFINED, allowClear=Component.UNDEFINED, bordered=Component.UNDEFINED, treeLine=Component.UNDEFINED, placeholder=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, maxTagCount=Component.UNDEFINED, listHeight=Component.UNDEFINED, multiple=Component.UNDEFINED, size=Component.UNDEFINED, treeCheckable=Component.UNDEFINED, treeCheckStrictly=Component.UNDEFINED, treeDefaultExpandAll=Component.UNDEFINED, treeDefaultExpandedKeys=Component.UNDEFINED, treeExpandedKeys=Component.UNDEFINED, virtual=Component.UNDEFINED, disabled=Component.UNDEFINED, placement=Component.UNDEFINED, status=Component.UNDEFINED, treeNodeFilterProp=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
101
- self._prop_names = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'key', 'listHeight', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'size', 'status', 'style', 'treeCheckStrictly', 'treeCheckable', 'treeData', 'treeDefaultExpandAll', 'treeDefaultExpandedKeys', 'treeExpandedKeys', 'treeLine', 'treeNodeFilterProp', 'value', 'virtual']
102
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, locale=Component.UNDEFINED, treeData=Component.REQUIRED, treeDataMode=Component.UNDEFINED, allowClear=Component.UNDEFINED, bordered=Component.UNDEFINED, treeLine=Component.UNDEFINED, placeholder=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, maxTagCount=Component.UNDEFINED, listHeight=Component.UNDEFINED, multiple=Component.UNDEFINED, size=Component.UNDEFINED, treeCheckable=Component.UNDEFINED, treeCheckStrictly=Component.UNDEFINED, treeDefaultExpandAll=Component.UNDEFINED, treeDefaultExpandedKeys=Component.UNDEFINED, treeExpandedKeys=Component.UNDEFINED, virtual=Component.UNDEFINED, disabled=Component.UNDEFINED, placement=Component.UNDEFINED, status=Component.UNDEFINED, treeNodeFilterProp=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
103
+ self._prop_names = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'key', 'listHeight', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'size', 'status', 'style', 'treeCheckStrictly', 'treeCheckable', 'treeData', 'treeDataMode', 'treeDefaultExpandAll', 'treeDefaultExpandedKeys', 'treeExpandedKeys', 'treeLine', 'treeNodeFilterProp', 'value', 'virtual']
102
104
  self._valid_wildcard_attributes = []
103
- self.available_properties = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'key', 'listHeight', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'size', 'status', 'style', 'treeCheckStrictly', 'treeCheckable', 'treeData', 'treeDefaultExpandAll', 'treeDefaultExpandedKeys', 'treeExpandedKeys', 'treeLine', 'treeNodeFilterProp', 'value', 'virtual']
105
+ self.available_properties = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'key', 'listHeight', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'size', 'status', 'style', 'treeCheckStrictly', 'treeCheckable', 'treeData', 'treeDataMode', 'treeDefaultExpandAll', 'treeDefaultExpandedKeys', 'treeExpandedKeys', 'treeLine', 'treeNodeFilterProp', 'value', 'virtual']
104
106
  self.available_wildcard_properties = []
105
107
  _explicit_args = kwargs.pop('_explicit_args')
106
108
  _locals = locals()
107
109
  _locals.update(kwargs) # For wildcard attrs and excess named props
108
110
  args = {k: _locals[k] for k in _explicit_args if k != 'children'}
109
- for k in []:
111
+ for k in ['treeData']:
110
112
  if k not in args:
111
113
  raise TypeError(
112
114
  'Required argument `' + k + '` was not specified.')
@@ -37,6 +37,7 @@ from .AntdPagination import AntdPagination
37
37
  from .AntdPasteImage import AntdPasteImage
38
38
  from .AntdPopconfirm import AntdPopconfirm
39
39
  from .AntdPopover import AntdPopover
40
+ from .AntdPopupCard import AntdPopupCard
40
41
  from .AntdProgress import AntdProgress
41
42
  from .AntdRadioGroup import AntdRadioGroup
42
43
  from .AntdRate import AntdRate
@@ -131,6 +132,7 @@ __all__ = [
131
132
  "AntdPasteImage",
132
133
  "AntdPopconfirm",
133
134
  "AntdPopover",
135
+ "AntdPopupCard",
134
136
  "AntdProgress",
135
137
  "AntdRadioGroup",
136
138
  "AntdRate",