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,81 @@
1
+ {
2
+ "name": "feffery_antd_components",
3
+ "version": "0.1.7",
4
+ "description": "Best implementation of Antd components in Plotly Dash.",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/CNFeffery/feffery-antd-components.git"
8
+ },
9
+ "bugs": {
10
+ "url": "https://github.com/CNFeffery/feffery-antd-components/issues"
11
+ },
12
+ "homepage": "http://fac.feffery.tech/",
13
+ "main": "build/index.js",
14
+ "scripts": {
15
+ "start": "webpack-serve --config ./webpack.serve.config.js --open",
16
+ "build:js": "webpack --mode production",
17
+ "build:backends": "dash-generate-components ./src/lib/components feffery_antd_components -p package-info.json --r-prefix 'feffery' --jl-prefix 'feffery'",
18
+ "build:backends-activated": "(. venv/bin/activate || venv\\scripts\\activate && npm run build:py_and_r)",
19
+ "build": "npm run build:js && npm run build:backends",
20
+ "build:activated": "npm run build:js && npm run build:backends-activated"
21
+ },
22
+ "author": "CNFeffery <fefferypzy@gmail.com>",
23
+ "email": "fefferypzy@gmail.com",
24
+ "license": "MIT",
25
+ "dependencies": {
26
+ "@ant-design/charts": "1.3.5",
27
+ "@ant-design/icons": "4.7.0",
28
+ "@ant-design/pro-layout": "^6.34.7",
29
+ "antd": "4.19.3",
30
+ "dash-extensions-js": "0.0.8",
31
+ "is-absolute-url": "4.0.1",
32
+ "md5": "2.3.0",
33
+ "ramda": "0.26.1",
34
+ "react-fast-marquee": "1.3.1",
35
+ "react-highlight-words": "0.17.0",
36
+ "react-icons": "4.2.0",
37
+ "react-text-loop": "2.3.0",
38
+ "uuid": "8.3.2"
39
+ },
40
+ "devDependencies": {
41
+ "@charliewilco/gluejar": "^1.0.0",
42
+ "@babel/core": "^7.5.4",
43
+ "@babel/plugin-proposal-object-rest-spread": "^7.5.4",
44
+ "@babel/preset-env": "^7.5.4",
45
+ "@babel/preset-react": "^7.0.0",
46
+ "babel-eslint": "^10.0.2",
47
+ "babel-loader": "^8.0.6",
48
+ "copyfiles": "^2.1.1",
49
+ "css-loader": "^3.0.0",
50
+ "less": "^3.13.1",
51
+ "less-loader": "^5.0.0",
52
+ "eslint": "^6.0.1",
53
+ "eslint-config-prettier": "^6.0.0",
54
+ "eslint-plugin-import": "^2.18.0",
55
+ "eslint-plugin-react": "^7.14.2",
56
+ "npm": "^6.1.0",
57
+ "prop-types": "^15.7.2",
58
+ "react": "^16.8.6",
59
+ "react-docgen": "^4.1.1",
60
+ "react-dom": "^16.8.6",
61
+ "style-loader": "^0.23.1",
62
+ "styled-jsx": "^3.2.1",
63
+ "uglifyjs-webpack-plugin": "^2.2.0",
64
+ "webpack": "4.36.1",
65
+ "webpack-cli": "^3.3.6",
66
+ "webpack-serve": "3.1.0"
67
+ },
68
+ "babel": {
69
+ "presets": [
70
+ "@babel/preset-react",
71
+ "@babel/preset-env"
72
+ ],
73
+ "plugins": [
74
+ "@babel/plugin-transform-react-jsx"
75
+ ]
76
+ },
77
+ "engines": {
78
+ "node": ">=8.11.0",
79
+ "npm": ">=6.1.0"
80
+ }
81
+ }
@@ -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()