feffery_antd_components 0.1.5 → 0.1.8

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 (99) 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/AntdAnchor.py +9 -3
  6. package/build/lib/feffery_antd_components/AntdButton.py +5 -3
  7. package/build/lib/feffery_antd_components/AntdCascader.py +5 -3
  8. package/build/lib/feffery_antd_components/AntdDatePicker.py +5 -3
  9. package/build/lib/feffery_antd_components/AntdDateRangePicker.py +5 -3
  10. package/build/lib/feffery_antd_components/AntdDraggerUpload.py +6 -4
  11. package/build/lib/feffery_antd_components/AntdImage.py +2 -2
  12. package/build/lib/feffery_antd_components/AntdInput.py +5 -3
  13. package/build/lib/feffery_antd_components/AntdInputNumber.py +5 -3
  14. package/build/lib/feffery_antd_components/AntdMentions.py +5 -3
  15. package/build/lib/feffery_antd_components/AntdMessage.py +5 -3
  16. package/build/lib/feffery_antd_components/AntdPasteImage.py +52 -0
  17. package/build/lib/feffery_antd_components/AntdSelect.py +7 -3
  18. package/build/lib/feffery_antd_components/AntdTable.py +27 -3
  19. package/build/lib/feffery_antd_components/AntdTimePicker.py +5 -3
  20. package/build/lib/feffery_antd_components/AntdTimeRangePicker.py +5 -3
  21. package/build/lib/feffery_antd_components/AntdTree.py +6 -10
  22. package/build/lib/feffery_antd_components/AntdTreeSelect.py +7 -3
  23. package/build/lib/feffery_antd_components/AntdUpload.py +16 -4
  24. package/build/lib/feffery_antd_components/AntdWatermark.py +64 -0
  25. package/build/lib/feffery_antd_components/_imports_.py +4 -0
  26. package/build/lib/feffery_antd_components/feffery_antd_components.min.js +13 -13
  27. package/build/lib/feffery_antd_components/metadata.json +680 -43
  28. package/build/lib/feffery_antd_components/package-info.json +18 -14
  29. package/feffery_antd_components/AntdAnchor.py +9 -3
  30. package/feffery_antd_components/AntdButton.py +5 -3
  31. package/feffery_antd_components/AntdCascader.py +5 -3
  32. package/feffery_antd_components/AntdDatePicker.py +5 -3
  33. package/feffery_antd_components/AntdDateRangePicker.py +5 -3
  34. package/feffery_antd_components/AntdDraggerUpload.py +40 -4
  35. package/feffery_antd_components/AntdImage.py +2 -2
  36. package/feffery_antd_components/AntdInput.py +5 -3
  37. package/feffery_antd_components/AntdInputNumber.py +5 -3
  38. package/feffery_antd_components/AntdMentions.py +5 -3
  39. package/feffery_antd_components/AntdMessage.py +5 -3
  40. package/feffery_antd_components/AntdPasteImage.py +52 -0
  41. package/feffery_antd_components/AntdSelect.py +7 -3
  42. package/feffery_antd_components/AntdTable.py +34 -7
  43. package/feffery_antd_components/AntdTimePicker.py +5 -3
  44. package/feffery_antd_components/AntdTimeRangePicker.py +5 -3
  45. package/feffery_antd_components/AntdTree.py +6 -10
  46. package/feffery_antd_components/AntdTreeSelect.py +7 -3
  47. package/feffery_antd_components/AntdUpload.py +40 -4
  48. package/feffery_antd_components/AntdWatermark.py +64 -0
  49. package/feffery_antd_components/_imports_.py +4 -0
  50. package/feffery_antd_components/feffery_antd_components.min.js +13 -13
  51. package/feffery_antd_components/metadata.json +921 -100
  52. package/feffery_antd_components/package-info.json +18 -14
  53. package/package.json +18 -14
  54. package/src/FefferyAntdComponents.jl +5 -3
  55. package/src/jl/'feffery'_antdanchor.jl +4 -1
  56. package/src/jl/'feffery'_antdbutton.jl +2 -1
  57. package/src/jl/'feffery'_antdcascader.jl +2 -1
  58. package/src/jl/'feffery'_antddatepicker.jl +2 -1
  59. package/src/jl/'feffery'_antddaterangepicker.jl +2 -1
  60. package/src/jl/'feffery'_antddraggerupload.jl +22 -2
  61. package/src/jl/'feffery'_antdimage.jl +2 -2
  62. package/src/jl/'feffery'_antdinput.jl +2 -1
  63. package/src/jl/'feffery'_antdinputnumber.jl +2 -1
  64. package/src/jl/'feffery'_antdmentions.jl +2 -1
  65. package/src/jl/'feffery'_antdmessage.jl +2 -1
  66. package/src/jl/'feffery'_antdpasteimage.jl +28 -0
  67. package/src/jl/'feffery'_antdselect.jl +3 -1
  68. package/src/jl/'feffery'_antdtable.jl +21 -7
  69. package/src/jl/'feffery'_antdtimepicker.jl +2 -1
  70. package/src/jl/'feffery'_antdtimerangepicker.jl +2 -1
  71. package/src/jl/'feffery'_antdtree.jl +3 -5
  72. package/src/jl/'feffery'_antdtreeselect.jl +3 -1
  73. package/src/jl/'feffery'_antdupload.jl +22 -2
  74. package/src/jl/'feffery'_antdwatermark.jl +39 -0
  75. package/src/lib/components/AntdAnchor.react.js +18 -3
  76. package/src/lib/components/AntdButton.react.js +5 -1
  77. package/src/lib/components/AntdCascader.react.js +5 -0
  78. package/src/lib/components/AntdDatePicker.react.js +5 -0
  79. package/src/lib/components/AntdDateRangePicker.react.js +5 -0
  80. package/src/lib/components/AntdDraggerUpload.react.js +221 -51
  81. package/src/lib/components/AntdImage.react.js +8 -2
  82. package/src/lib/components/AntdInput.react.js +8 -0
  83. package/src/lib/components/AntdInputNumber.react.js +5 -0
  84. package/src/lib/components/AntdMentions.react.js +5 -0
  85. package/src/lib/components/AntdMessage.react.js +6 -1
  86. package/src/lib/components/AntdPasteImage.react.js +170 -0
  87. package/src/lib/components/AntdSelect.react.js +11 -0
  88. package/src/lib/components/AntdTable.react.js +116 -15
  89. package/src/lib/components/AntdTimePicker.react.js +5 -0
  90. package/src/lib/components/AntdTimeRangePicker.react.js +5 -0
  91. package/src/lib/components/AntdTree.react.js +6 -13
  92. package/src/lib/components/AntdTreeSelect.react.js +11 -0
  93. package/src/lib/components/AntdUpload.react.js +220 -52
  94. package/src/lib/components/AntdWatermark.react.js +115 -0
  95. package/src/lib/components/styles.css +12 -11
  96. package/src/lib/components/tabs/AntdTabs.react.js +4 -0
  97. package/src/lib/index.js +5 -1
  98. package/usage.py +68 -1051
  99. package/webpack.config.js +9 -3
package/DESCRIPTION CHANGED
@@ -1,6 +1,6 @@
1
1
  Package: fefferyAntdComponents
2
2
  Title: Best implementation of Antd components in Plotly Dash.
3
- Version: 0.1.5
3
+ Version: 0.1.8
4
4
  Description: Best implementation of Antd components in Plotly Dash.
5
5
  Depends: R (>= 3.0.2)
6
6
  Imports:
package/NAMESPACE CHANGED
@@ -34,6 +34,7 @@ export('feffery'AntdModal)
34
34
  export('feffery'AntdNotification)
35
35
  export('feffery'AntdPageHeader)
36
36
  export('feffery'AntdPagination)
37
+ export('feffery'AntdPasteImage)
37
38
  export('feffery'AntdPopconfirm)
38
39
  export('feffery'AntdPopover)
39
40
  export('feffery'AntdProgress)
@@ -59,6 +60,7 @@ export('feffery'AntdTransfer)
59
60
  export('feffery'AntdTree)
60
61
  export('feffery'AntdTreeSelect)
61
62
  export('feffery'AntdUpload)
63
+ export('feffery'AntdWatermark)
62
64
  export('feffery'AntdCard)
63
65
  export('feffery'AntdCardGrid)
64
66
  export('feffery'AntdDescriptionItem)
package/Project.toml CHANGED
@@ -2,7 +2,7 @@
2
2
  name = "FefferyAntdComponents"
3
3
  uuid = "1b08a953-4be3-4667-9a23-baf51bd2b26e"
4
4
  authors = ["CNFeffery <fefferypzy@gmail.com>"]
5
- version = "0.1.5"
5
+ version = "0.1.8"
6
6
 
7
7
  [deps]
8
8
  Dash = "1b08a953-4be3-4667-9a23-3db579824955"
package/README.md CHANGED
@@ -15,12 +15,12 @@
15
15
 
16
16
  </div>
17
17
 
18
- `feffery-components`计划子项目,`Plotly Dash`第三方组件库,将基于`Antd`,将超多具有丰富功能的组件引入`Dash`的世界🥳,最新版本:`0.1.3`
18
+ `feffery-components`计划子项目,`Plotly Dash`第三方组件库,将基于`Antd`,将超多具有丰富功能的组件引入`Dash`的世界🥳,最新版本:`0.1.8`
19
19
 
20
20
  ## 1 最新版本安装方式
21
21
 
22
22
  ```bash
23
- pip install feffery-antd-components==0.1.3
23
+ pip install feffery-antd-components==0.1.8
24
24
  ```
25
25
 
26
26
  ## 2 最新开发版本安装方式
@@ -11,8 +11,12 @@ Keyword arguments:
11
11
 
12
12
  - id (string; optional)
13
13
 
14
+ - affix (boolean; optional)
15
+
14
16
  - align (a value equal to: 'left', 'right'; default 'right')
15
17
 
18
+ - bounds (number; optional)
19
+
16
20
  - className (string; optional)
17
21
 
18
22
  - containerId (string; optional)
@@ -32,16 +36,18 @@ Keyword arguments:
32
36
  - prop_name (string; optional):
33
37
  Holds which property is loading.
34
38
 
39
+ - offsetTop (number; optional)
40
+
35
41
  - style (dict; optional)
36
42
 
37
43
  - targetOffset (number; optional)"""
38
44
  @_explicitize_args
39
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, linkDict=Component.UNDEFINED, align=Component.UNDEFINED, containerId=Component.UNDEFINED, targetOffset=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
40
- self._prop_names = ['id', 'align', 'className', 'containerId', 'linkDict', 'loading_state', 'style', 'targetOffset']
45
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, linkDict=Component.UNDEFINED, align=Component.UNDEFINED, containerId=Component.UNDEFINED, targetOffset=Component.UNDEFINED, affix=Component.UNDEFINED, bounds=Component.UNDEFINED, offsetTop=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
46
+ self._prop_names = ['id', 'affix', 'align', 'bounds', 'className', 'containerId', 'linkDict', 'loading_state', 'offsetTop', 'style', 'targetOffset']
41
47
  self._type = 'AntdAnchor'
42
48
  self._namespace = 'feffery_antd_components'
43
49
  self._valid_wildcard_attributes = []
44
- self.available_properties = ['id', 'align', 'className', 'containerId', 'linkDict', 'loading_state', 'style', 'targetOffset']
50
+ self.available_properties = ['id', 'affix', 'align', 'bounds', 'className', 'containerId', 'linkDict', 'loading_state', 'offsetTop', 'style', 'targetOffset']
45
51
  self.available_wildcard_properties = []
46
52
  _explicit_args = kwargs.pop('_explicit_args')
47
53
  _locals = locals()
@@ -23,6 +23,8 @@ Keyword arguments:
23
23
 
24
24
  - href (string; optional)
25
25
 
26
+ - loading (boolean; optional)
27
+
26
28
  - loading_state (dict; optional)
27
29
 
28
30
  `loading_state` is a dict with keys:
@@ -48,12 +50,12 @@ Keyword arguments:
48
50
 
49
51
  - type (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; default 'default')"""
50
52
  @_explicitize_args
51
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, type=Component.UNDEFINED, href=Component.UNDEFINED, target=Component.UNDEFINED, block=Component.UNDEFINED, danger=Component.UNDEFINED, disabled=Component.UNDEFINED, shape=Component.UNDEFINED, size=Component.UNDEFINED, nClicks=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
52
- self._prop_names = ['children', 'id', 'block', 'className', 'danger', 'disabled', 'href', 'loading_state', 'nClicks', 'shape', 'size', 'style', 'target', 'type']
53
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, type=Component.UNDEFINED, href=Component.UNDEFINED, target=Component.UNDEFINED, block=Component.UNDEFINED, danger=Component.UNDEFINED, disabled=Component.UNDEFINED, shape=Component.UNDEFINED, size=Component.UNDEFINED, nClicks=Component.UNDEFINED, loading=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
54
+ self._prop_names = ['children', 'id', 'block', 'className', 'danger', 'disabled', 'href', 'loading', 'loading_state', 'nClicks', 'shape', 'size', 'style', 'target', 'type']
53
55
  self._type = 'AntdButton'
54
56
  self._namespace = 'feffery_antd_components'
55
57
  self._valid_wildcard_attributes = []
56
- self.available_properties = ['children', 'id', 'block', 'className', 'danger', 'disabled', 'href', 'loading_state', 'nClicks', 'shape', 'size', 'style', 'target', 'type']
58
+ self.available_properties = ['children', 'id', 'block', 'className', 'danger', 'disabled', 'href', 'loading', 'loading_state', 'nClicks', 'shape', 'size', 'style', 'target', 'type']
57
59
  self.available_wildcard_properties = []
58
60
  _explicit_args = kwargs.pop('_explicit_args')
59
61
  _locals = locals()
@@ -69,16 +69,18 @@ Keyword arguments:
69
69
 
70
70
  - size (a value equal to: 'small', 'middle', 'large'; optional)
71
71
 
72
+ - status (a value equal to: 'error', 'warning'; optional)
73
+
72
74
  - style (dict; optional)
73
75
 
74
76
  - value (list of strings | list of list of stringss; optional)"""
75
77
  @_explicitize_args
76
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, options=Component.UNDEFINED, disabled=Component.UNDEFINED, changeOnSelect=Component.UNDEFINED, size=Component.UNDEFINED, bordered=Component.UNDEFINED, placeholder=Component.UNDEFINED, placement=Component.UNDEFINED, defaultValue=Component.UNDEFINED, maxTagCount=Component.UNDEFINED, multiple=Component.UNDEFINED, value=Component.UNDEFINED, expandTrigger=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
77
- self._prop_names = ['id', 'bordered', 'changeOnSelect', 'className', 'defaultValue', 'disabled', 'expandTrigger', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'size', 'style', 'value']
78
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, options=Component.UNDEFINED, disabled=Component.UNDEFINED, changeOnSelect=Component.UNDEFINED, size=Component.UNDEFINED, bordered=Component.UNDEFINED, placeholder=Component.UNDEFINED, placement=Component.UNDEFINED, defaultValue=Component.UNDEFINED, maxTagCount=Component.UNDEFINED, multiple=Component.UNDEFINED, value=Component.UNDEFINED, expandTrigger=Component.UNDEFINED, status=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
79
+ self._prop_names = ['id', 'bordered', 'changeOnSelect', 'className', 'defaultValue', 'disabled', 'expandTrigger', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'size', 'status', 'style', 'value']
78
80
  self._type = 'AntdCascader'
79
81
  self._namespace = 'feffery_antd_components'
80
82
  self._valid_wildcard_attributes = []
81
- self.available_properties = ['id', 'bordered', 'changeOnSelect', 'className', 'defaultValue', 'disabled', 'expandTrigger', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'size', 'style', 'value']
83
+ self.available_properties = ['id', 'bordered', 'changeOnSelect', 'className', 'defaultValue', 'disabled', 'expandTrigger', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'size', 'status', 'style', 'value']
82
84
  self.available_wildcard_properties = []
83
85
  _explicit_args = kwargs.pop('_explicit_args')
84
86
  _locals = locals()
@@ -71,16 +71,18 @@ Keyword arguments:
71
71
 
72
72
  - size (a value equal to: 'small', 'middle', 'large'; optional)
73
73
 
74
+ - status (a value equal to: 'error', 'warning'; optional)
75
+
74
76
  - style (dict; default {
75
77
  width: 220
76
78
 
77
79
  - value (string; optional)"""
78
80
  @_explicitize_args
79
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, format=Component.UNDEFINED, picker=Component.UNDEFINED, disabled=Component.UNDEFINED, value=Component.UNDEFINED, showTime=Component.UNDEFINED, allowClear=Component.UNDEFINED, defaultPickerValue=Component.UNDEFINED, defaultValue=Component.UNDEFINED, disabledDates=Component.UNDEFINED, placeholder=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
80
- self._prop_names = ['id', 'allowClear', 'bordered', 'className', 'defaultPickerValue', 'defaultValue', 'disabled', 'disabledDates', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'showTime', 'size', 'style', 'value']
81
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, format=Component.UNDEFINED, picker=Component.UNDEFINED, disabled=Component.UNDEFINED, value=Component.UNDEFINED, showTime=Component.UNDEFINED, allowClear=Component.UNDEFINED, defaultPickerValue=Component.UNDEFINED, defaultValue=Component.UNDEFINED, disabledDates=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', 'defaultPickerValue', 'defaultValue', 'disabled', 'disabledDates', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'showTime', 'size', 'status', 'style', 'value']
81
83
  self._type = 'AntdDatePicker'
82
84
  self._namespace = 'feffery_antd_components'
83
85
  self._valid_wildcard_attributes = []
84
- self.available_properties = ['id', 'allowClear', 'bordered', 'className', 'defaultPickerValue', 'defaultValue', 'disabled', 'disabledDates', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'showTime', 'size', 'style', 'value']
86
+ self.available_properties = ['id', 'allowClear', 'bordered', 'className', 'defaultPickerValue', 'defaultValue', 'disabled', 'disabledDates', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'showTime', 'size', 'status', 'style', 'value']
85
87
  self.available_wildcard_properties = []
86
88
  _explicit_args = kwargs.pop('_explicit_args')
87
89
  _locals = locals()
@@ -67,16 +67,18 @@ Keyword arguments:
67
67
 
68
68
  - size (a value equal to: 'small', 'middle', 'large'; optional)
69
69
 
70
+ - status (a value equal to: 'error', 'warning'; optional)
71
+
70
72
  - style (dict; optional)
71
73
 
72
74
  - value (list of strings; optional)"""
73
75
  @_explicitize_args
74
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, picker=Component.UNDEFINED, format=Component.UNDEFINED, showTime=Component.UNDEFINED, placeholder=Component.UNDEFINED, disabled=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, defaultPickerValue=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
75
- self._prop_names = ['id', 'bordered', 'className', 'defaultPickerValue', 'defaultValue', 'disabled', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'showTime', 'size', 'style', 'value']
76
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, picker=Component.UNDEFINED, format=Component.UNDEFINED, showTime=Component.UNDEFINED, placeholder=Component.UNDEFINED, disabled=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, defaultPickerValue=Component.UNDEFINED, status=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
77
+ self._prop_names = ['id', 'bordered', 'className', 'defaultPickerValue', 'defaultValue', 'disabled', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'showTime', 'size', 'status', 'style', 'value']
76
78
  self._type = 'AntdDateRangePicker'
77
79
  self._namespace = 'feffery_antd_components'
78
80
  self._valid_wildcard_attributes = []
79
- self.available_properties = ['id', 'bordered', 'className', 'defaultPickerValue', 'defaultValue', 'disabled', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'showTime', 'size', 'style', 'value']
81
+ self.available_properties = ['id', 'bordered', 'className', 'defaultPickerValue', 'defaultValue', 'disabled', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'showTime', 'size', 'status', 'style', 'value']
80
82
  self.available_wildcard_properties = []
81
83
  _explicit_args = kwargs.pop('_explicit_args')
82
84
  _locals = locals()
@@ -19,7 +19,7 @@ Keyword arguments:
19
19
 
20
20
  - failedTooltipInfo (string; optional)
21
21
 
22
- - fileListMaxLength (number; default 3)
22
+ - fileListMaxLength (number; optional)
23
23
 
24
24
  - fileMaxSize (number; default 500)
25
25
 
@@ -58,18 +58,20 @@ Keyword arguments:
58
58
 
59
59
  - multiple (boolean; optional)
60
60
 
61
+ - showUploadList (boolean; optional)
62
+
61
63
  - style (dict; optional)
62
64
 
63
65
  - text (string; optional)
64
66
 
65
67
  - uploadId (string; optional)"""
66
68
  @_explicitize_args
67
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, apiUrl=Component.UNDEFINED, text=Component.UNDEFINED, hint=Component.UNDEFINED, fileListMaxLength=Component.UNDEFINED, fileTypes=Component.UNDEFINED, uploadId=Component.UNDEFINED, fileMaxSize=Component.UNDEFINED, multiple=Component.UNDEFINED, directory=Component.UNDEFINED, failedTooltipInfo=Component.UNDEFINED, lastUploadTaskRecord=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
68
- self._prop_names = ['id', 'apiUrl', 'className', 'directory', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'hint', 'lastUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'style', 'text', 'uploadId']
69
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, apiUrl=Component.UNDEFINED, text=Component.UNDEFINED, hint=Component.UNDEFINED, fileListMaxLength=Component.UNDEFINED, fileTypes=Component.UNDEFINED, uploadId=Component.UNDEFINED, fileMaxSize=Component.UNDEFINED, multiple=Component.UNDEFINED, directory=Component.UNDEFINED, failedTooltipInfo=Component.UNDEFINED, showUploadList=Component.UNDEFINED, lastUploadTaskRecord=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
70
+ self._prop_names = ['id', 'apiUrl', 'className', 'directory', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'hint', 'lastUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'showUploadList', 'style', 'text', 'uploadId']
69
71
  self._type = 'AntdDraggerUpload'
70
72
  self._namespace = 'feffery_antd_components'
71
73
  self._valid_wildcard_attributes = []
72
- self.available_properties = ['id', 'apiUrl', 'className', 'directory', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'hint', 'lastUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'style', 'text', 'uploadId']
74
+ self.available_properties = ['id', 'apiUrl', 'className', 'directory', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'hint', 'lastUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'showUploadList', 'style', 'text', 'uploadId']
73
75
  self.available_wildcard_properties = []
74
76
  _explicit_args = kwargs.pop('_explicit_args')
75
77
  _locals = locals()
@@ -17,7 +17,7 @@ Keyword arguments:
17
17
 
18
18
  - fallback (string; default `data:image/png;base64,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`)
19
19
 
20
- - height (number; optional)
20
+ - height (number | string; optional)
21
21
 
22
22
  - loading_state (dict; optional)
23
23
 
@@ -42,7 +42,7 @@ Keyword arguments:
42
42
 
43
43
  - style (dict; optional)
44
44
 
45
- - width (number; optional)"""
45
+ - width (number | string; optional)"""
46
46
  @_explicitize_args
47
47
  def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, alt=Component.UNDEFINED, width=Component.UNDEFINED, height=Component.UNDEFINED, src=Component.UNDEFINED, fallback=Component.UNDEFINED, multiImageMode=Component.UNDEFINED, preview=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
48
48
  self._prop_names = ['id', 'alt', 'className', 'fallback', 'height', 'loading_state', 'locale', 'multiImageMode', 'preview', 'src', 'style', 'width']
@@ -77,16 +77,18 @@ Keyword arguments:
77
77
 
78
78
  - size (a value equal to: 'small', 'middle', 'large'; optional)
79
79
 
80
+ - status (a value equal to: 'error', 'warning'; optional)
81
+
80
82
  - style (dict; optional)
81
83
 
82
84
  - value (string; optional)"""
83
85
  @_explicitize_args
84
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, mode=Component.UNDEFINED, autoComplete=Component.UNDEFINED, placeholder=Component.UNDEFINED, size=Component.UNDEFINED, addonBefore=Component.UNDEFINED, addonAfter=Component.UNDEFINED, allowClear=Component.UNDEFINED, bordered=Component.UNDEFINED, defaultValue=Component.UNDEFINED, disabled=Component.UNDEFINED, maxLength=Component.UNDEFINED, value=Component.UNDEFINED, md5Value=Component.UNDEFINED, showCount=Component.UNDEFINED, passwordUseMd5=Component.UNDEFINED, nSubmit=Component.UNDEFINED, nClicksSearch=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
85
- self._prop_names = ['id', 'addonAfter', 'addonBefore', 'allowClear', 'autoComplete', 'bordered', 'className', 'defaultValue', 'disabled', 'loading_state', 'maxLength', 'md5Value', 'mode', 'nClicksSearch', 'nSubmit', 'passwordUseMd5', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'showCount', 'size', 'style', 'value']
86
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, mode=Component.UNDEFINED, autoComplete=Component.UNDEFINED, placeholder=Component.UNDEFINED, size=Component.UNDEFINED, addonBefore=Component.UNDEFINED, addonAfter=Component.UNDEFINED, allowClear=Component.UNDEFINED, bordered=Component.UNDEFINED, defaultValue=Component.UNDEFINED, disabled=Component.UNDEFINED, maxLength=Component.UNDEFINED, value=Component.UNDEFINED, md5Value=Component.UNDEFINED, showCount=Component.UNDEFINED, passwordUseMd5=Component.UNDEFINED, nSubmit=Component.UNDEFINED, nClicksSearch=Component.UNDEFINED, status=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
87
+ self._prop_names = ['id', 'addonAfter', 'addonBefore', 'allowClear', 'autoComplete', 'bordered', 'className', 'defaultValue', 'disabled', 'loading_state', 'maxLength', 'md5Value', 'mode', 'nClicksSearch', 'nSubmit', 'passwordUseMd5', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'showCount', 'size', 'status', 'style', 'value']
86
88
  self._type = 'AntdInput'
87
89
  self._namespace = 'feffery_antd_components'
88
90
  self._valid_wildcard_attributes = []
89
- self.available_properties = ['id', 'addonAfter', 'addonBefore', 'allowClear', 'autoComplete', 'bordered', 'className', 'defaultValue', 'disabled', 'loading_state', 'maxLength', 'md5Value', 'mode', 'nClicksSearch', 'nSubmit', 'passwordUseMd5', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'showCount', 'size', 'style', 'value']
91
+ self.available_properties = ['id', 'addonAfter', 'addonBefore', 'allowClear', 'autoComplete', 'bordered', 'className', 'defaultValue', 'disabled', 'loading_state', 'maxLength', 'md5Value', 'mode', 'nClicksSearch', 'nSubmit', 'passwordUseMd5', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'showCount', 'size', 'status', 'style', 'value']
90
92
  self.available_wildcard_properties = []
91
93
  _explicit_args = kwargs.pop('_explicit_args')
92
94
  _locals = locals()
@@ -73,6 +73,8 @@ Keyword arguments:
73
73
 
74
74
  - size (a value equal to: 'small', 'middle', 'large'; optional)
75
75
 
76
+ - status (a value equal to: 'error', 'warning'; optional)
77
+
76
78
  - step (number | string; optional)
77
79
 
78
80
  - stringMode (boolean; optional)
@@ -81,12 +83,12 @@ Keyword arguments:
81
83
 
82
84
  - value (number | string; optional)"""
83
85
  @_explicitize_args
84
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, size=Component.UNDEFINED, addonBefore=Component.UNDEFINED, addonAfter=Component.UNDEFINED, bordered=Component.UNDEFINED, controls=Component.UNDEFINED, defaultValue=Component.UNDEFINED, value=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, stringMode=Component.UNDEFINED, nSubmit=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
85
- self._prop_names = ['id', 'addonAfter', 'addonBefore', 'bordered', 'className', 'controls', 'defaultValue', 'disabled', 'keyboard', 'loading_state', 'max', 'min', 'nSubmit', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'precision', 'readOnly', 'size', 'step', 'stringMode', 'style', 'value']
86
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, size=Component.UNDEFINED, addonBefore=Component.UNDEFINED, addonAfter=Component.UNDEFINED, bordered=Component.UNDEFINED, controls=Component.UNDEFINED, defaultValue=Component.UNDEFINED, value=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, stringMode=Component.UNDEFINED, nSubmit=Component.UNDEFINED, status=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
87
+ self._prop_names = ['id', 'addonAfter', 'addonBefore', 'bordered', 'className', 'controls', 'defaultValue', 'disabled', 'keyboard', 'loading_state', 'max', 'min', 'nSubmit', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'precision', 'readOnly', 'size', 'status', 'step', 'stringMode', 'style', 'value']
86
88
  self._type = 'AntdInputNumber'
87
89
  self._namespace = 'feffery_antd_components'
88
90
  self._valid_wildcard_attributes = []
89
- self.available_properties = ['id', 'addonAfter', 'addonBefore', 'bordered', 'className', 'controls', 'defaultValue', 'disabled', 'keyboard', 'loading_state', 'max', 'min', 'nSubmit', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'precision', 'readOnly', 'size', 'step', 'stringMode', 'style', 'value']
91
+ self.available_properties = ['id', 'addonAfter', 'addonBefore', 'bordered', 'className', 'controls', 'defaultValue', 'disabled', 'keyboard', 'loading_state', 'max', 'min', 'nSubmit', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'precision', 'readOnly', 'size', 'status', 'step', 'stringMode', 'style', 'value']
90
92
  self.available_wildcard_properties = []
91
93
  _explicit_args = kwargs.pop('_explicit_args')
92
94
  _locals = locals()
@@ -52,16 +52,18 @@ Keyword arguments:
52
52
 
53
53
  - selectedOptions (list of strings; optional)
54
54
 
55
+ - status (a value equal to: 'error', 'warning'; optional)
56
+
55
57
  - style (dict; optional)
56
58
 
57
59
  - value (string; optional)"""
58
60
  @_explicitize_args
59
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, autoSize=Component.UNDEFINED, prefix=Component.UNDEFINED, defaultValue=Component.UNDEFINED, placement=Component.UNDEFINED, options=Component.UNDEFINED, selectedOptions=Component.UNDEFINED, value=Component.UNDEFINED, disabled=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
60
- self._prop_names = ['id', 'autoSize', 'className', 'defaultValue', 'disabled', 'loading_state', 'options', 'placement', 'prefix', 'selectedOptions', 'style', 'value']
61
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, autoSize=Component.UNDEFINED, prefix=Component.UNDEFINED, defaultValue=Component.UNDEFINED, placement=Component.UNDEFINED, options=Component.UNDEFINED, selectedOptions=Component.UNDEFINED, value=Component.UNDEFINED, disabled=Component.UNDEFINED, status=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
62
+ self._prop_names = ['id', 'autoSize', 'className', 'defaultValue', 'disabled', 'loading_state', 'options', 'placement', 'prefix', 'selectedOptions', 'status', 'style', 'value']
61
63
  self._type = 'AntdMentions'
62
64
  self._namespace = 'feffery_antd_components'
63
65
  self._valid_wildcard_attributes = []
64
- self.available_properties = ['id', 'autoSize', 'className', 'defaultValue', 'disabled', 'loading_state', 'options', 'placement', 'prefix', 'selectedOptions', 'style', 'value']
66
+ self.available_properties = ['id', 'autoSize', 'className', 'defaultValue', 'disabled', 'loading_state', 'options', 'placement', 'prefix', 'selectedOptions', 'status', 'style', 'value']
65
67
  self.available_wildcard_properties = []
66
68
  _explicit_args = kwargs.pop('_explicit_args')
67
69
  _locals = locals()
@@ -34,14 +34,16 @@ Keyword arguments:
34
34
 
35
35
  - style (dict; optional)
36
36
 
37
+ - top (number; optional)
38
+
37
39
  - type (a value equal to: 'default', 'success', 'error', 'info', 'warning'; default 'default')"""
38
40
  @_explicitize_args
39
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, content=Component.UNDEFINED, type=Component.UNDEFINED, duration=Component.UNDEFINED, icon=Component.UNDEFINED, **kwargs):
40
- self._prop_names = ['id', 'className', 'content', 'duration', 'icon', 'loading_state', 'style', 'type']
41
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, content=Component.UNDEFINED, type=Component.UNDEFINED, duration=Component.UNDEFINED, top=Component.UNDEFINED, icon=Component.UNDEFINED, **kwargs):
42
+ self._prop_names = ['id', 'className', 'content', 'duration', 'icon', 'loading_state', 'style', 'top', 'type']
41
43
  self._type = 'AntdMessage'
42
44
  self._namespace = 'feffery_antd_components'
43
45
  self._valid_wildcard_attributes = []
44
- self.available_properties = ['id', 'className', 'content', 'duration', 'icon', 'loading_state', 'style', 'type']
46
+ self.available_properties = ['id', 'className', 'content', 'duration', 'icon', 'loading_state', 'style', 'top', 'type']
45
47
  self.available_wildcard_properties = []
46
48
  _explicit_args = kwargs.pop('_explicit_args')
47
49
  _locals = locals()
@@ -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)
@@ -93,18 +93,22 @@ Keyword arguments:
93
93
 
94
94
  - placeholder (string; optional)
95
95
 
96
+ - placement (a value equal to: 'bottomLeft', 'bottomRight', 'topLeft', 'topRight'; optional)
97
+
96
98
  - size (a value equal to: 'small', 'middle', 'large'; optional)
97
99
 
100
+ - status (a value equal to: 'error', 'warning'; optional)
101
+
98
102
  - style (dict; optional)
99
103
 
100
104
  - value (string | number | list of string | numbers; optional)"""
101
105
  @_explicitize_args
102
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, options=Component.UNDEFINED, colorsNameWidth=Component.UNDEFINED, allowClear=Component.UNDEFINED, mode=Component.UNDEFINED, disabled=Component.UNDEFINED, placeholder=Component.UNDEFINED, size=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, maxTagCount=Component.UNDEFINED, listHeight=Component.UNDEFINED, colorsMode=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
103
- self._prop_names = ['id', 'allowClear', 'className', 'colorsMode', 'colorsNameWidth', 'defaultValue', 'disabled', 'listHeight', 'loading_state', 'locale', 'maxTagCount', 'mode', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'size', 'style', 'value']
106
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, options=Component.UNDEFINED, colorsNameWidth=Component.UNDEFINED, allowClear=Component.UNDEFINED, mode=Component.UNDEFINED, disabled=Component.UNDEFINED, placeholder=Component.UNDEFINED, size=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, maxTagCount=Component.UNDEFINED, listHeight=Component.UNDEFINED, colorsMode=Component.UNDEFINED, placement=Component.UNDEFINED, status=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
107
+ self._prop_names = ['id', 'allowClear', 'className', 'colorsMode', 'colorsNameWidth', 'defaultValue', 'disabled', 'listHeight', 'loading_state', 'locale', 'maxTagCount', 'mode', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'size', 'status', 'style', 'value']
104
108
  self._type = 'AntdSelect'
105
109
  self._namespace = 'feffery_antd_components'
106
110
  self._valid_wildcard_attributes = []
107
- self.available_properties = ['id', 'allowClear', 'className', 'colorsMode', 'colorsNameWidth', 'defaultValue', 'disabled', 'listHeight', 'loading_state', 'locale', 'maxTagCount', 'mode', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'size', 'style', 'value']
111
+ self.available_properties = ['id', 'allowClear', 'className', 'colorsMode', 'colorsNameWidth', 'defaultValue', 'disabled', 'listHeight', 'loading_state', 'locale', 'maxTagCount', 'mode', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'size', 'status', 'style', 'value']
108
112
  self.available_wildcard_properties = []
109
113
  _explicit_args = kwargs.pop('_explicit_args')
110
114
  _locals = locals()
@@ -23,6 +23,8 @@ Keyword arguments:
23
23
 
24
24
  - align (a value equal to: 'left', 'center', 'right'; optional)
25
25
 
26
+ - conditionStyle (string; optional)
27
+
26
28
  - dataIndex (string; required)
27
29
 
28
30
  - editable (boolean; optional)
@@ -31,6 +33,8 @@ Keyword arguments:
31
33
 
32
34
  - fixed (a value equal to: 'left', 'right'; optional)
33
35
 
36
+ - onCell (boolean | number | string | dict | list; optional)
37
+
34
38
  - render (boolean | number | string | dict | list; optional)
35
39
 
36
40
  - renderOptions (dict; optional)
@@ -49,7 +53,7 @@ Keyword arguments:
49
53
 
50
54
  - renderLinkText (string; optional)
51
55
 
52
- - renderType (a value equal to: 'link', 'ellipsis', 'mini-line', 'mini-bar', 'mini-progress', 'mini-ring-progress', 'mini-area', 'tags', 'button', 'copyable', 'status-badge'; optional)
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)
53
57
 
54
58
  - sorter (boolean | number | string | dict | list; optional)
55
59
 
@@ -97,11 +101,27 @@ Keyword arguments:
97
101
 
98
102
  - style (dict; optional)
99
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
+
100
114
  - type (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; optional) | dict with keys:
101
115
 
102
116
  - status (a value equal to: 'success', 'processing', 'default', 'error', 'warning'; optional)
103
117
 
104
- - text (string | number; optional)
118
+ - text (string | number; optional) | dict with keys:
119
+
120
+ - height (string | number; optional)
121
+
122
+ - preview (boolean; optional)
123
+
124
+ - src (string; optional)
105
125
 
106
126
  - enableHoverListen (boolean; default False)
107
127
 
@@ -204,7 +224,11 @@ Keyword arguments:
204
224
 
205
225
  - orders (list of a value equal to: 'ascend', 'descend's; optional)
206
226
 
207
- - sticky (boolean; optional)
227
+ - sticky (dict; optional)
228
+
229
+ `sticky` is a boolean | dict with keys:
230
+
231
+ - offsetHeader (number; optional)
208
232
 
209
233
  - style (dict; optional)
210
234
 
@@ -69,18 +69,20 @@ Keyword arguments:
69
69
 
70
70
  - size (a value equal to: 'small', 'middle', 'large'; optional)
71
71
 
72
+ - status (a value equal to: 'error', 'warning'; optional)
73
+
72
74
  - style (dict; default {
73
75
  width: 220
74
76
 
75
77
  - use12Hours (boolean; optional)
76
78
 
77
79
  - value (string; optional)"""
78
80
  @_explicitize_args
79
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, disabled=Component.UNDEFINED, hourStep=Component.UNDEFINED, minuteStep=Component.UNDEFINED, secondStep=Component.UNDEFINED, format=Component.UNDEFINED, use12Hours=Component.UNDEFINED, allowClear=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, placeholder=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
80
- self._prop_names = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'format', 'hourStep', 'loading_state', 'locale', 'minuteStep', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'secondStep', 'size', 'style', 'use12Hours', 'value']
81
+ 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']
81
83
  self._type = 'AntdTimePicker'
82
84
  self._namespace = 'feffery_antd_components'
83
85
  self._valid_wildcard_attributes = []
84
- self.available_properties = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'format', 'hourStep', 'loading_state', 'locale', 'minuteStep', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'secondStep', 'size', 'style', 'use12Hours', 'value']
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']
85
87
  self.available_wildcard_properties = []
86
88
  _explicit_args = kwargs.pop('_explicit_args')
87
89
  _locals = locals()
@@ -69,18 +69,20 @@ Keyword arguments:
69
69
 
70
70
  - size (a value equal to: 'small', 'middle', 'large'; optional)
71
71
 
72
+ - status (a value equal to: 'error', 'warning'; optional)
73
+
72
74
  - style (dict; default {
73
75
  width: 220
74
76
 
75
77
  - use12Hours (boolean; optional)
76
78
 
77
79
  - value (list of strings; optional)"""
78
80
  @_explicitize_args
79
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, disabled=Component.UNDEFINED, hourStep=Component.UNDEFINED, minuteStep=Component.UNDEFINED, secondStep=Component.UNDEFINED, format=Component.UNDEFINED, use12Hours=Component.UNDEFINED, allowClear=Component.UNDEFINED, placeholder=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
80
- self._prop_names = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'format', 'hourStep', 'loading_state', 'locale', 'minuteStep', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'secondStep', 'size', 'style', 'use12Hours', 'value']
81
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, disabled=Component.UNDEFINED, hourStep=Component.UNDEFINED, minuteStep=Component.UNDEFINED, secondStep=Component.UNDEFINED, format=Component.UNDEFINED, use12Hours=Component.UNDEFINED, allowClear=Component.UNDEFINED, placeholder=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, 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']
81
83
  self._type = 'AntdTimeRangePicker'
82
84
  self._namespace = 'feffery_antd_components'
83
85
  self._valid_wildcard_attributes = []
84
- self.available_properties = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'format', 'hourStep', 'loading_state', 'locale', 'minuteStep', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'secondStep', 'size', 'style', 'use12Hours', 'value']
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']
85
87
  self.available_wildcard_properties = []
86
88
  _explicit_args = kwargs.pop('_explicit_args')
87
89
  _locals = locals()