feffery_antd_components 0.3.0-a1 → 0.3.0-a2

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 (121) hide show
  1. package/DESCRIPTION +1 -1
  2. package/Project.toml +1 -1
  3. package/build/lib/feffery_antd_components/AntdAccordion.py +85 -0
  4. package/build/lib/feffery_antd_components/AntdAffix.py +55 -0
  5. package/build/lib/feffery_antd_components/AntdAlert.py +63 -0
  6. package/build/lib/feffery_antd_components/AntdAnchor.py +63 -0
  7. package/build/lib/feffery_antd_components/AntdAvatar.py +86 -0
  8. package/build/lib/feffery_antd_components/AntdAvatarGroup.py +74 -0
  9. package/build/lib/feffery_antd_components/AntdBackTop.py +55 -0
  10. package/build/lib/feffery_antd_components/AntdBadge.py +93 -0
  11. package/build/lib/feffery_antd_components/AntdBreadcrumb.py +87 -0
  12. package/build/lib/feffery_antd_components/AntdButton.py +119 -0
  13. package/build/lib/feffery_antd_components/AntdCalendar.py +76 -0
  14. package/build/lib/feffery_antd_components/AntdCard.py +94 -0
  15. package/build/lib/feffery_antd_components/AntdCardGrid.py +53 -0
  16. package/build/lib/feffery_antd_components/AntdCardMeta.py +53 -0
  17. package/build/lib/feffery_antd_components/AntdCarousel.py +63 -0
  18. package/build/lib/feffery_antd_components/AntdCascader.py +118 -0
  19. package/build/lib/feffery_antd_components/AntdCenter.py +53 -0
  20. package/build/lib/feffery_antd_components/AntdCheckCard.py +82 -0
  21. package/build/lib/feffery_antd_components/AntdCheckCardGroup.py +84 -0
  22. package/build/lib/feffery_antd_components/AntdCheckbox.py +82 -0
  23. package/build/lib/feffery_antd_components/AntdCheckboxGroup.py +86 -0
  24. package/build/lib/feffery_antd_components/AntdCol.py +147 -0
  25. package/build/lib/feffery_antd_components/AntdCollapse.py +82 -0
  26. package/build/lib/feffery_antd_components/AntdColorPicker.py +100 -0
  27. package/build/lib/feffery_antd_components/AntdComment.py +98 -0
  28. package/build/lib/feffery_antd_components/AntdCompact.py +55 -0
  29. package/build/lib/feffery_antd_components/AntdConfigProvider.py +80 -0
  30. package/build/lib/feffery_antd_components/AntdContent.py +51 -0
  31. package/build/lib/feffery_antd_components/AntdCopyText.py +55 -0
  32. package/build/lib/feffery_antd_components/AntdCountdown.py +63 -0
  33. package/build/lib/feffery_antd_components/AntdCustomSkeleton.py +61 -0
  34. package/build/lib/feffery_antd_components/AntdDatePicker.py +153 -0
  35. package/build/lib/feffery_antd_components/AntdDateRangePicker.py +153 -0
  36. package/build/lib/feffery_antd_components/AntdDescriptionItem.py +59 -0
  37. package/build/lib/feffery_antd_components/AntdDescriptions.py +95 -0
  38. package/build/lib/feffery_antd_components/AntdDivider.py +85 -0
  39. package/build/lib/feffery_antd_components/AntdDraggerUpload.py +207 -0
  40. package/build/lib/feffery_antd_components/AntdDrawer.py +91 -0
  41. package/build/lib/feffery_antd_components/AntdDropdown.py +126 -0
  42. package/build/lib/feffery_antd_components/AntdEmpty.py +57 -0
  43. package/build/lib/feffery_antd_components/AntdFlex.py +69 -0
  44. package/build/lib/feffery_antd_components/AntdFloatButton.py +71 -0
  45. package/build/lib/feffery_antd_components/AntdFloatButtonGroup.py +71 -0
  46. package/build/lib/feffery_antd_components/AntdFooter.py +51 -0
  47. package/build/lib/feffery_antd_components/AntdForm.py +79 -0
  48. package/build/lib/feffery_antd_components/AntdFormItem.py +89 -0
  49. package/build/lib/feffery_antd_components/AntdHeader.py +51 -0
  50. package/build/lib/feffery_antd_components/AntdIcon.py +62 -0
  51. package/build/lib/feffery_antd_components/AntdImage.py +63 -0
  52. package/build/lib/feffery_antd_components/AntdInput.py +168 -0
  53. package/build/lib/feffery_antd_components/AntdInputNumber.py +114 -0
  54. package/build/lib/feffery_antd_components/AntdLayout.py +51 -0
  55. package/build/lib/feffery_antd_components/AntdMentions.py +91 -0
  56. package/build/lib/feffery_antd_components/AntdMenu.py +90 -0
  57. package/build/lib/feffery_antd_components/AntdMessage.py +61 -0
  58. package/build/lib/feffery_antd_components/AntdModal.py +133 -0
  59. package/build/lib/feffery_antd_components/AntdNotification.py +63 -0
  60. package/build/lib/feffery_antd_components/AntdPageHeader.py +63 -0
  61. package/build/lib/feffery_antd_components/AntdPagination.py +104 -0
  62. package/build/lib/feffery_antd_components/AntdParagraph.py +99 -0
  63. package/build/lib/feffery_antd_components/AntdPictureUpload.py +213 -0
  64. package/build/lib/feffery_antd_components/AntdPopconfirm.py +117 -0
  65. package/build/lib/feffery_antd_components/AntdPopover.py +81 -0
  66. package/build/lib/feffery_antd_components/AntdPopupCard.py +69 -0
  67. package/build/lib/feffery_antd_components/AntdProgress.py +105 -0
  68. package/build/lib/feffery_antd_components/AntdQRCode.py +88 -0
  69. package/build/lib/feffery_antd_components/AntdRadioGroup.py +96 -0
  70. package/build/lib/feffery_antd_components/AntdRate.py +84 -0
  71. package/build/lib/feffery_antd_components/AntdResult.py +55 -0
  72. package/build/lib/feffery_antd_components/AntdRibbon.py +55 -0
  73. package/build/lib/feffery_antd_components/AntdRow.py +73 -0
  74. package/build/lib/feffery_antd_components/AntdSegmented.py +94 -0
  75. package/build/lib/feffery_antd_components/AntdSegmentedColoring.py +92 -0
  76. package/build/lib/feffery_antd_components/AntdSelect.py +159 -0
  77. package/build/lib/feffery_antd_components/AntdSider.py +69 -0
  78. package/build/lib/feffery_antd_components/AntdSkeleton.py +87 -0
  79. package/build/lib/feffery_antd_components/AntdSkeletonAvatar.py +53 -0
  80. package/build/lib/feffery_antd_components/AntdSkeletonButton.py +55 -0
  81. package/build/lib/feffery_antd_components/AntdSkeletonImage.py +47 -0
  82. package/build/lib/feffery_antd_components/AntdSkeletonInput.py +51 -0
  83. package/build/lib/feffery_antd_components/AntdSlider.py +122 -0
  84. package/build/lib/feffery_antd_components/AntdSpace.py +79 -0
  85. package/build/lib/feffery_antd_components/AntdSpin.py +71 -0
  86. package/build/lib/feffery_antd_components/AntdSpoiler.py +67 -0
  87. package/build/lib/feffery_antd_components/AntdStatistic.py +63 -0
  88. package/build/lib/feffery_antd_components/AntdSteps.py +81 -0
  89. package/build/lib/feffery_antd_components/AntdSwitch.py +86 -0
  90. package/build/lib/feffery_antd_components/AntdTabPane.py +65 -0
  91. package/build/lib/feffery_antd_components/AntdTable.py +562 -0
  92. package/build/lib/feffery_antd_components/AntdTabs.py +141 -0
  93. package/build/lib/feffery_antd_components/AntdTag.py +55 -0
  94. package/build/lib/feffery_antd_components/AntdText.py +96 -0
  95. package/build/lib/feffery_antd_components/AntdTimePicker.py +115 -0
  96. package/build/lib/feffery_antd_components/AntdTimeRangePicker.py +115 -0
  97. package/build/lib/feffery_antd_components/AntdTimeline.py +72 -0
  98. package/build/lib/feffery_antd_components/AntdTitle.py +94 -0
  99. package/build/lib/feffery_antd_components/AntdTooltip.py +77 -0
  100. package/build/lib/feffery_antd_components/AntdTour.py +154 -0
  101. package/build/lib/feffery_antd_components/AntdTransfer.py +112 -0
  102. package/build/lib/feffery_antd_components/AntdTree.py +152 -0
  103. package/build/lib/feffery_antd_components/AntdTreeSelect.py +138 -0
  104. package/build/lib/feffery_antd_components/AntdUpload.py +201 -0
  105. package/build/lib/feffery_antd_components/AntdWatermark.py +75 -0
  106. package/build/lib/feffery_antd_components/__init__.py +85 -0
  107. package/build/lib/feffery_antd_components/_imports_.py +209 -0
  108. package/build/lib/feffery_antd_components/alias.py +195 -0
  109. package/build/lib/feffery_antd_components/async-antd_table.js +53 -0
  110. package/build/lib/feffery_antd_components/async-data_display.js +20 -0
  111. package/build/lib/feffery_antd_components/async-data_entry.js +87 -0
  112. package/build/lib/feffery_antd_components/async-upload.js +17 -0
  113. package/build/lib/feffery_antd_components/feffery_antd_components.min.js +153 -0
  114. package/build/lib/feffery_antd_components/metadata.json +29311 -0
  115. package/build/lib/feffery_antd_components/package-info.json +93 -0
  116. package/build/lib/feffery_antd_components/utils.py +211 -0
  117. package/feffery_antd_components/feffery_antd_components.min.js +4 -4
  118. package/feffery_antd_components/package-info.json +1 -1
  119. package/package.json +1 -1
  120. package/src/lib/components/navigation/AntdDropdown.react.js +49 -54
  121. package/usage.py +9 -3
@@ -0,0 +1,98 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdComment(Component):
7
+ """An AntdComment component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - children (a list of or a singular dash component, string or number; optional)
13
+
14
+ - id (string; optional)
15
+
16
+ - action (a value equal to: 'liked', 'disliked', 'default'; optional)
17
+
18
+ - authorName (string; optional)
19
+
20
+ - authorNameHref (string; optional)
21
+
22
+ - avatarProps (dict; optional)
23
+
24
+ - batchPropsNames (list of strings; optional)
25
+
26
+ - batchPropsValues (dict; optional)
27
+
28
+ - className (string | dict; optional)
29
+
30
+ - commentContent (a list of or a singular dash component, string or number; optional)
31
+
32
+ - commentId (string; optional)
33
+
34
+ - defaultAction (a value equal to: 'liked', 'disliked', 'default'; optional)
35
+
36
+ - deleteClicks (number; default 0)
37
+
38
+ - dislikesCount (number; default 0)
39
+
40
+ - fromNow (boolean; default False)
41
+
42
+ - likesCount (number; default 0)
43
+
44
+ - loading_state (dict; optional)
45
+
46
+ `loading_state` is a dict with keys:
47
+
48
+ - component_name (string; optional):
49
+ Holds the name of the component that is loading.
50
+
51
+ - is_loading (boolean; optional):
52
+ Determines if the component is loading or not.
53
+
54
+ - prop_name (string; optional):
55
+ Holds which property is loading.
56
+
57
+ - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
58
+
59
+ - popupContainer (a value equal to: 'parent', 'body'; default 'body')
60
+
61
+ - publishTime (dict; required)
62
+
63
+ `publishTime` is a dict with keys:
64
+
65
+ - format (string; optional)
66
+
67
+ - value (string; required)
68
+
69
+ - replyClicks (number; default 0)
70
+
71
+ - showDelete (boolean; default False)
72
+
73
+ - showLikeDislike (boolean; default True)
74
+
75
+ - showReply (boolean; default True)
76
+
77
+ - style (dict; optional)"""
78
+ _children_props = ['commentContent']
79
+ _base_nodes = ['commentContent', 'children']
80
+ _namespace = 'feffery_antd_components'
81
+ _type = 'AntdComment'
82
+ @_explicitize_args
83
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, commentId=Component.UNDEFINED, authorName=Component.UNDEFINED, authorNameHref=Component.UNDEFINED, publishTime=Component.REQUIRED, fromNow=Component.UNDEFINED, showLikeDislike=Component.UNDEFINED, showReply=Component.UNDEFINED, showDelete=Component.UNDEFINED, replyClicks=Component.UNDEFINED, deleteClicks=Component.UNDEFINED, commentContent=Component.UNDEFINED, likesCount=Component.UNDEFINED, dislikesCount=Component.UNDEFINED, action=Component.UNDEFINED, defaultAction=Component.UNDEFINED, avatarProps=Component.UNDEFINED, popupContainer=Component.UNDEFINED, batchPropsNames=Component.UNDEFINED, batchPropsValues=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
84
+ self._prop_names = ['children', 'id', 'action', 'authorName', 'authorNameHref', 'avatarProps', 'batchPropsNames', 'batchPropsValues', 'className', 'commentContent', 'commentId', 'defaultAction', 'deleteClicks', 'dislikesCount', 'fromNow', 'likesCount', 'loading_state', 'locale', 'popupContainer', 'publishTime', 'replyClicks', 'showDelete', 'showLikeDislike', 'showReply', 'style']
85
+ self._valid_wildcard_attributes = []
86
+ self.available_properties = ['children', 'id', 'action', 'authorName', 'authorNameHref', 'avatarProps', 'batchPropsNames', 'batchPropsValues', 'className', 'commentContent', 'commentId', 'defaultAction', 'deleteClicks', 'dislikesCount', 'fromNow', 'likesCount', 'loading_state', 'locale', 'popupContainer', 'publishTime', 'replyClicks', 'showDelete', 'showLikeDislike', 'showReply', 'style']
87
+ self.available_wildcard_properties = []
88
+ _explicit_args = kwargs.pop('_explicit_args')
89
+ _locals = locals()
90
+ _locals.update(kwargs) # For wildcard attrs and excess named props
91
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
92
+
93
+ for k in ['publishTime']:
94
+ if k not in args:
95
+ raise TypeError(
96
+ 'Required argument `' + k + '` was not specified.')
97
+
98
+ super(AntdComment, self).__init__(children=children, **args)
@@ -0,0 +1,55 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdCompact(Component):
7
+ """An AntdCompact component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - children (a list of or a singular dash component, string or number; optional):
13
+ The content of the tab - will only be displayed if this tab is
14
+ selected.
15
+
16
+ - id (string; optional)
17
+
18
+ - block (boolean; default False)
19
+
20
+ - className (string | dict; optional)
21
+
22
+ - direction (a value equal to: 'vertical', 'horizontal'; default 'horizontal')
23
+
24
+ - key (string; optional)
25
+
26
+ - loading_state (dict; optional)
27
+
28
+ `loading_state` is a dict with keys:
29
+
30
+ - component_name (string; optional):
31
+ Holds the name of the component that is loading.
32
+
33
+ - is_loading (boolean; optional):
34
+ Determines if the component is loading or not.
35
+
36
+ - prop_name (string; optional):
37
+ Holds which property is loading.
38
+
39
+ - style (dict; optional)"""
40
+ _children_props = []
41
+ _base_nodes = ['children']
42
+ _namespace = 'feffery_antd_components'
43
+ _type = 'AntdCompact'
44
+ @_explicitize_args
45
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, direction=Component.UNDEFINED, block=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
46
+ self._prop_names = ['children', 'id', 'block', 'className', 'direction', 'key', 'loading_state', 'style']
47
+ self._valid_wildcard_attributes = []
48
+ self.available_properties = ['children', 'id', 'block', 'className', 'direction', 'key', 'loading_state', 'style']
49
+ self.available_wildcard_properties = []
50
+ _explicit_args = kwargs.pop('_explicit_args')
51
+ _locals = locals()
52
+ _locals.update(kwargs) # For wildcard attrs and excess named props
53
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
54
+
55
+ super(AntdCompact, self).__init__(children=children, **args)
@@ -0,0 +1,80 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdConfigProvider(Component):
7
+ """An AntdConfigProvider component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - children (a list of or a singular dash component, string or number; optional)
13
+
14
+ - id (string; optional)
15
+
16
+ - algorithm (a value equal to: 'default', 'dark', 'compact' | list of a value equal to: 'default', 'dark', 'compact's; default 'default'):
17
+ 为内部组件设置快捷主题算法,支持多种主题组合,可选的主题有'default'、'dark'、'compact'
18
+ 默认:'default'.
19
+
20
+ - componentDisabled (boolean; optional)
21
+
22
+ - componentSize (a value equal to: 'small', 'middle', 'large'; optional)
23
+
24
+ - componentsToken (dict; optional):
25
+ 配置针对具体组件的design token相关参数.
26
+
27
+ `componentsToken` is a dict with strings as keys and values of
28
+ type dict with keys:
29
+
30
+ - algorithm (boolean; optional):
31
+ 设置是否开启派生样式自动推导运算 默认:False.
32
+
33
+ - key (string; optional)
34
+
35
+ - loading_state (dict; optional)
36
+
37
+ `loading_state` is a dict with keys:
38
+
39
+ - component_name (string; optional):
40
+ Holds the name of the component that is loading.
41
+
42
+ - is_loading (boolean; optional):
43
+ Determines if the component is loading or not.
44
+
45
+ - prop_name (string; optional):
46
+ Holds which property is loading.
47
+
48
+ - locale (a value equal to: 'zh-cn', 'en-us'; optional)
49
+
50
+ - primaryColor (string; optional)
51
+
52
+ - token (dict; optional):
53
+ 配置design token相关参数.
54
+
55
+ `token` is a dict with keys:
56
+
57
+ - motion (boolean; optional):
58
+ 设置是否开启动画效果 默认:True.
59
+
60
+ - useOldTheme (a value equal to: 'default', 'dark'; optional):
61
+ 设置是否强制使用0.3.x版本之前的主题样式,可用的有'default'、'dark'.
62
+
63
+ - wavesDisabled (boolean; default False):
64
+ 设置是否禁用内部组件水波纹动效 默认:False."""
65
+ _children_props = []
66
+ _base_nodes = ['children']
67
+ _namespace = 'feffery_antd_components'
68
+ _type = 'AntdConfigProvider'
69
+ @_explicitize_args
70
+ def __init__(self, children=None, id=Component.UNDEFINED, key=Component.UNDEFINED, algorithm=Component.UNDEFINED, useOldTheme=Component.UNDEFINED, primaryColor=Component.UNDEFINED, componentDisabled=Component.UNDEFINED, componentSize=Component.UNDEFINED, locale=Component.UNDEFINED, wavesDisabled=Component.UNDEFINED, token=Component.UNDEFINED, componentsToken=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
71
+ self._prop_names = ['children', 'id', 'algorithm', 'componentDisabled', 'componentSize', 'componentsToken', 'key', 'loading_state', 'locale', 'primaryColor', 'token', 'useOldTheme', 'wavesDisabled']
72
+ self._valid_wildcard_attributes = []
73
+ self.available_properties = ['children', 'id', 'algorithm', 'componentDisabled', 'componentSize', 'componentsToken', 'key', 'loading_state', 'locale', 'primaryColor', 'token', 'useOldTheme', 'wavesDisabled']
74
+ self.available_wildcard_properties = []
75
+ _explicit_args = kwargs.pop('_explicit_args')
76
+ _locals = locals()
77
+ _locals.update(kwargs) # For wildcard attrs and excess named props
78
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
79
+
80
+ super(AntdConfigProvider, self).__init__(children=children, **args)
@@ -0,0 +1,51 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdContent(Component):
7
+ """An AntdContent component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - children (a list of or a singular dash component, string or number; optional):
13
+ The content of the tab - will only be displayed if this tab is
14
+ selected.
15
+
16
+ - id (string; optional)
17
+
18
+ - className (string | dict; optional)
19
+
20
+ - key (string; optional)
21
+
22
+ - loading_state (dict; optional)
23
+
24
+ `loading_state` is a dict with keys:
25
+
26
+ - component_name (string; optional):
27
+ Holds the name of the component that is loading.
28
+
29
+ - is_loading (boolean; optional):
30
+ Determines if the component is loading or not.
31
+
32
+ - prop_name (string; optional):
33
+ Holds which property is loading.
34
+
35
+ - style (dict; optional)"""
36
+ _children_props = []
37
+ _base_nodes = ['children']
38
+ _namespace = 'feffery_antd_components'
39
+ _type = 'AntdContent'
40
+ @_explicitize_args
41
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
42
+ self._prop_names = ['children', 'id', 'className', 'key', 'loading_state', 'style']
43
+ self._valid_wildcard_attributes = []
44
+ self.available_properties = ['children', 'id', 'className', 'key', 'loading_state', 'style']
45
+ self.available_wildcard_properties = []
46
+ _explicit_args = kwargs.pop('_explicit_args')
47
+ _locals = locals()
48
+ _locals.update(kwargs) # For wildcard attrs and excess named props
49
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
50
+
51
+ super(AntdContent, self).__init__(children=children, **args)
@@ -0,0 +1,55 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdCopyText(Component):
7
+ """An AntdCopyText component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - afterIcon (a list of or a singular dash component, string or number; optional)
15
+
16
+ - beforeIcon (a list of or a singular dash component, string or number; optional)
17
+
18
+ - className (string | dict; optional)
19
+
20
+ - key (string; optional)
21
+
22
+ - loading_state (dict; optional)
23
+
24
+ `loading_state` is a dict with keys:
25
+
26
+ - component_name (string; optional):
27
+ Holds the name of the component that is loading.
28
+
29
+ - is_loading (boolean; optional):
30
+ Determines if the component is loading or not.
31
+
32
+ - prop_name (string; optional):
33
+ Holds which property is loading.
34
+
35
+ - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
36
+
37
+ - style (dict; optional)
38
+
39
+ - text (string; default '')"""
40
+ _children_props = ['beforeIcon', 'afterIcon']
41
+ _base_nodes = ['beforeIcon', 'afterIcon', 'children']
42
+ _namespace = 'feffery_antd_components'
43
+ _type = 'AntdCopyText'
44
+ @_explicitize_args
45
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, locale=Component.UNDEFINED, text=Component.UNDEFINED, beforeIcon=Component.UNDEFINED, afterIcon=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
46
+ self._prop_names = ['id', 'afterIcon', 'beforeIcon', 'className', 'key', 'loading_state', 'locale', 'style', 'text']
47
+ self._valid_wildcard_attributes = []
48
+ self.available_properties = ['id', 'afterIcon', 'beforeIcon', 'className', 'key', 'loading_state', 'locale', 'style', 'text']
49
+ self.available_wildcard_properties = []
50
+ _explicit_args = kwargs.pop('_explicit_args')
51
+ _locals = locals()
52
+ _locals.update(kwargs) # For wildcard attrs and excess named props
53
+ args = {k: _locals[k] for k in _explicit_args}
54
+
55
+ super(AntdCopyText, self).__init__(**args)
@@ -0,0 +1,63 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdCountdown(Component):
7
+ """An AntdCountdown component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - className (string | dict; optional)
15
+
16
+ - format (string; optional)
17
+
18
+ - key (string; optional)
19
+
20
+ - loading_state (dict; optional)
21
+
22
+ `loading_state` is a dict with keys:
23
+
24
+ - component_name (string; optional):
25
+ Holds the name of the component that is loading.
26
+
27
+ - is_loading (boolean; optional):
28
+ Determines if the component is loading or not.
29
+
30
+ - prop_name (string; optional):
31
+ Holds which property is loading.
32
+
33
+ - prefix (a list of or a singular dash component, string or number; optional)
34
+
35
+ - style (dict; optional)
36
+
37
+ - suffix (a list of or a singular dash component, string or number; optional)
38
+
39
+ - title (a list of or a singular dash component, string or number; optional)
40
+
41
+ - titleTooltip (string; optional)
42
+
43
+ - value (string; optional)
44
+
45
+ - valueFormat (string; default 'YYYY-MM-DD hh:mm:ss')
46
+
47
+ - valueStyle (dict; optional)"""
48
+ _children_props = ['prefix', 'suffix', 'title']
49
+ _base_nodes = ['prefix', 'suffix', 'title', 'children']
50
+ _namespace = 'feffery_antd_components'
51
+ _type = 'AntdCountdown'
52
+ @_explicitize_args
53
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, format=Component.UNDEFINED, value=Component.UNDEFINED, valueFormat=Component.UNDEFINED, prefix=Component.UNDEFINED, suffix=Component.UNDEFINED, title=Component.UNDEFINED, titleTooltip=Component.UNDEFINED, valueStyle=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
54
+ self._prop_names = ['id', 'className', 'format', 'key', 'loading_state', 'prefix', 'style', 'suffix', 'title', 'titleTooltip', 'value', 'valueFormat', 'valueStyle']
55
+ self._valid_wildcard_attributes = []
56
+ self.available_properties = ['id', 'className', 'format', 'key', 'loading_state', 'prefix', 'style', 'suffix', 'title', 'titleTooltip', 'value', 'valueFormat', 'valueStyle']
57
+ self.available_wildcard_properties = []
58
+ _explicit_args = kwargs.pop('_explicit_args')
59
+ _locals = locals()
60
+ _locals.update(kwargs) # For wildcard attrs and excess named props
61
+ args = {k: _locals[k] for k in _explicit_args}
62
+
63
+ super(AntdCountdown, self).__init__(**args)
@@ -0,0 +1,61 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdCustomSkeleton(Component):
7
+ """An AntdCustomSkeleton component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - children (a list of or a singular dash component, string or number; optional)
13
+
14
+ - id (string; optional)
15
+
16
+ - className (string | dict; optional)
17
+
18
+ - debug (boolean; default False)
19
+
20
+ - excludeProps (list of strings; optional)
21
+
22
+ - includeProps (list of strings; optional)
23
+
24
+ - key (string; optional)
25
+
26
+ - listenPropsMode (a value equal to: 'default', 'exclude', 'include'; default 'default')
27
+
28
+ - loading (boolean; default False)
29
+
30
+ - loading_state (dict; optional)
31
+
32
+ `loading_state` is a dict with keys:
33
+
34
+ - component_name (string; optional):
35
+ Holds the name of the component that is loading.
36
+
37
+ - is_loading (boolean; optional):
38
+ Determines if the component is loading or not.
39
+
40
+ - prop_name (string; optional):
41
+ Holds which property is loading.
42
+
43
+ - skeletonContent (a list of or a singular dash component, string or number; optional)
44
+
45
+ - style (dict; optional)"""
46
+ _children_props = ['skeletonContent']
47
+ _base_nodes = ['skeletonContent', 'children']
48
+ _namespace = 'feffery_antd_components'
49
+ _type = 'AntdCustomSkeleton'
50
+ @_explicitize_args
51
+ def __init__(self, children=None, id=Component.UNDEFINED, skeletonContent=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, loading=Component.UNDEFINED, debug=Component.UNDEFINED, listenPropsMode=Component.UNDEFINED, excludeProps=Component.UNDEFINED, includeProps=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
52
+ self._prop_names = ['children', 'id', 'className', 'debug', 'excludeProps', 'includeProps', 'key', 'listenPropsMode', 'loading', 'loading_state', 'skeletonContent', 'style']
53
+ self._valid_wildcard_attributes = []
54
+ self.available_properties = ['children', 'id', 'className', 'debug', 'excludeProps', 'includeProps', 'key', 'listenPropsMode', 'loading', 'loading_state', 'skeletonContent', 'style']
55
+ self.available_wildcard_properties = []
56
+ _explicit_args = kwargs.pop('_explicit_args')
57
+ _locals = locals()
58
+ _locals.update(kwargs) # For wildcard attrs and excess named props
59
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
60
+
61
+ super(AntdCustomSkeleton, self).__init__(children=children, **args)
@@ -0,0 +1,153 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdDatePicker(Component):
7
+ """An AntdDatePicker component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - allowClear (boolean; default True)
15
+
16
+ - autoFocus (boolean; default False)
17
+
18
+ - batchPropsNames (list of strings; optional)
19
+
20
+ - batchPropsValues (dict; optional)
21
+
22
+ - bordered (boolean; default True)
23
+
24
+ - className (string | dict; optional)
25
+
26
+ - clickedPreset (dict; optional):
27
+ 配合presets参数,监听最近一次预设子项点击事件相关信息.
28
+
29
+ `clickedPreset` is a dict with keys:
30
+
31
+ - timestamp (number; optional):
32
+ 监听事件对应时间戳.
33
+
34
+ - value (string | number; optional):
35
+ 监听事件对应预设子项值.
36
+
37
+ - defaultPickerValue (string; optional)
38
+
39
+ - defaultValue (string; optional)
40
+
41
+ - disabled (boolean; default False)
42
+
43
+ - disabledDatesStrategy (list of dicts; optional)
44
+
45
+ `disabledDatesStrategy` is a list of dicts with keys:
46
+
47
+ - mode (a value equal to: 'eq', 'ne', 'le', 'lt', 'ge', 'gt', 'in', 'not-in', 'in-enumerate-dates', 'not-in-enumerate-dates'; optional)
48
+
49
+ - target (a value equal to: 'day', 'month', 'quarter', 'year', 'dayOfYear', 'dayOfWeek', 'specific-date'; optional)
50
+
51
+ - value (number | string | list of numbers | list of strings; optional)
52
+
53
+ - extraFooter (a list of or a singular dash component, string or number; optional)
54
+
55
+ - firstDayOfWeek (number; optional)
56
+
57
+ - format (string; optional)
58
+
59
+ - key (string; optional)
60
+
61
+ - loading_state (dict; optional):
62
+ Object that holds the loading state object coming from
63
+ dash-renderer.
64
+
65
+ `loading_state` is a dict with keys:
66
+
67
+ - component_name (string; optional):
68
+ Holds the name of the component that is loading.
69
+
70
+ - is_loading (boolean; optional):
71
+ Determines if the component is loading or not.
72
+
73
+ - prop_name (string; optional):
74
+ Holds which property is loading.
75
+
76
+ - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
77
+
78
+ - persisted_props (list of a value equal to: 'value's; default ['value']):
79
+ Properties whose user interactions will persist after refreshing
80
+ the component or the page. Since only `value` is allowed this
81
+ prop can normally be ignored.
82
+
83
+ - persistence (boolean | string | number; optional):
84
+ Used to allow user interactions in this component to be persisted
85
+ when the component - or the page - is refreshed. If `persisted`
86
+ is truthy and hasn't changed from its previous value, a `value`
87
+ that the user has changed while using the app will keep that
88
+ change, as long as the new `value` also matches what was given
89
+ originally. Used in conjunction with `persistence_type`.
90
+
91
+ - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
92
+ Where persisted user changes will be stored: memory: only kept in
93
+ memory, reset on page refresh. local: window.localStorage, data
94
+ is kept after the browser quit. session: window.sessionStorage,
95
+ data is cleared once the browser quit.
96
+
97
+ - picker (a value equal to: 'date', 'week', 'month', 'quarter', 'year'; default 'date')
98
+
99
+ - placeholder (string; optional)
100
+
101
+ - placement (a value equal to: 'bottomLeft', 'bottomRight', 'topLeft', 'topRight'; default 'bottomLeft')
102
+
103
+ - popupClassName (string; optional):
104
+ 设置弹框菜单css类名.
105
+
106
+ - popupContainer (a value equal to: 'parent', 'body'; default 'body')
107
+
108
+ - presets (list of dicts; optional):
109
+ 配置预设范围触发列表信息.
110
+
111
+ `presets` is a list of dicts with keys:
112
+
113
+ - label (a list of or a singular dash component, string or number; optional):
114
+ 组件型,设置当前预设子项元素.
115
+
116
+ - value (string | number; optional):
117
+ 设置当前预设子项唯一值.
118
+
119
+ - readOnly (boolean; optional)
120
+
121
+ - showTime (dict; default False)
122
+
123
+ `showTime` is a boolean | dict with keys:
124
+
125
+ - defaultValue (string; optional)
126
+
127
+ - format (string; optional)
128
+
129
+ - showToday (boolean; default True)
130
+
131
+ - size (a value equal to: 'small', 'middle', 'large'; default 'middle')
132
+
133
+ - status (a value equal to: 'error', 'warning'; optional)
134
+
135
+ - style (dict; optional)
136
+
137
+ - value (string; optional)"""
138
+ _children_props = ['extraFooter', 'presets[].label']
139
+ _base_nodes = ['extraFooter', 'children']
140
+ _namespace = 'feffery_antd_components'
141
+ _type = 'AntdDatePicker'
142
+ @_explicitize_args
143
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, popupClassName=Component.UNDEFINED, key=Component.UNDEFINED, locale=Component.UNDEFINED, format=Component.UNDEFINED, picker=Component.UNDEFINED, firstDayOfWeek=Component.UNDEFINED, disabled=Component.UNDEFINED, showTime=Component.UNDEFINED, size=Component.UNDEFINED, bordered=Component.UNDEFINED, placeholder=Component.UNDEFINED, placement=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, defaultPickerValue=Component.UNDEFINED, disabledDatesStrategy=Component.UNDEFINED, status=Component.UNDEFINED, allowClear=Component.UNDEFINED, autoFocus=Component.UNDEFINED, readOnly=Component.UNDEFINED, extraFooter=Component.UNDEFINED, showToday=Component.UNDEFINED, presets=Component.UNDEFINED, clickedPreset=Component.UNDEFINED, popupContainer=Component.UNDEFINED, batchPropsNames=Component.UNDEFINED, batchPropsValues=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
144
+ self._prop_names = ['id', 'allowClear', 'autoFocus', 'batchPropsNames', 'batchPropsValues', 'bordered', 'className', 'clickedPreset', 'defaultPickerValue', 'defaultValue', 'disabled', 'disabledDatesStrategy', 'extraFooter', 'firstDayOfWeek', 'format', 'key', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'placement', 'popupClassName', 'popupContainer', 'presets', 'readOnly', 'showTime', 'showToday', 'size', 'status', 'style', 'value']
145
+ self._valid_wildcard_attributes = []
146
+ self.available_properties = ['id', 'allowClear', 'autoFocus', 'batchPropsNames', 'batchPropsValues', 'bordered', 'className', 'clickedPreset', 'defaultPickerValue', 'defaultValue', 'disabled', 'disabledDatesStrategy', 'extraFooter', 'firstDayOfWeek', 'format', 'key', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'placement', 'popupClassName', 'popupContainer', 'presets', 'readOnly', 'showTime', 'showToday', 'size', 'status', 'style', 'value']
147
+ self.available_wildcard_properties = []
148
+ _explicit_args = kwargs.pop('_explicit_args')
149
+ _locals = locals()
150
+ _locals.update(kwargs) # For wildcard attrs and excess named props
151
+ args = {k: _locals[k] for k in _explicit_args}
152
+
153
+ super(AntdDatePicker, self).__init__(**args)