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,153 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdDateRangePicker(Component):
7
+ """An AntdDateRangePicker 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 (list of strings; optional)
40
+
41
+ - disabled (list of booleans; default [False, 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
+ - open (boolean; optional)
79
+
80
+ - persisted_props (list of a value equal to: 'value's; default ['value']):
81
+ Properties whose user interactions will persist after refreshing
82
+ the component or the page. Since only `value` is allowed this
83
+ prop can normally be ignored.
84
+
85
+ - persistence (boolean | string | number; optional):
86
+ Used to allow user interactions in this component to be persisted
87
+ when the component - or the page - is refreshed. If `persisted`
88
+ is truthy and hasn't changed from its previous value, a `value`
89
+ that the user has changed while using the app will keep that
90
+ change, as long as the new `value` also matches what was given
91
+ originally. Used in conjunction with `persistence_type`.
92
+
93
+ - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
94
+ Where persisted user changes will be stored: memory: only kept in
95
+ memory, reset on page refresh. local: window.localStorage, data
96
+ is kept after the browser quit. session: window.sessionStorage,
97
+ data is cleared once the browser quit.
98
+
99
+ - picker (a value equal to: 'date', 'week', 'month', 'quarter', 'year'; default 'date')
100
+
101
+ - placeholder (list of strings; optional)
102
+
103
+ - placement (a value equal to: 'bottomLeft', 'bottomRight', 'topLeft', 'topRight'; default 'bottomLeft')
104
+
105
+ - popupClassName (string; optional):
106
+ 设置弹框菜单css类名.
107
+
108
+ - popupContainer (a value equal to: 'parent', 'body'; default 'body')
109
+
110
+ - presets (list of dicts; optional):
111
+ 配置预设范围触发列表信息.
112
+
113
+ `presets` is a list of dicts with keys:
114
+
115
+ - label (a list of or a singular dash component, string or number; optional):
116
+ 组件型,设置当前预设子项元素.
117
+
118
+ - value (string | number; optional):
119
+ 设置当前预设子项唯一值.
120
+
121
+ - readOnly (boolean; optional)
122
+
123
+ - showTime (dict; default False)
124
+
125
+ `showTime` is a boolean | dict with keys:
126
+
127
+ - defaultValue (list of strings; optional)
128
+
129
+ - format (string; optional)
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 (list of strings; optional)"""
138
+ _children_props = ['extraFooter', 'presets[].label']
139
+ _base_nodes = ['extraFooter', 'children']
140
+ _namespace = 'feffery_antd_components'
141
+ _type = 'AntdDateRangePicker'
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, open=Component.UNDEFINED, status=Component.UNDEFINED, allowClear=Component.UNDEFINED, autoFocus=Component.UNDEFINED, readOnly=Component.UNDEFINED, extraFooter=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', 'open', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'placement', 'popupClassName', 'popupContainer', 'presets', 'readOnly', 'showTime', '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', 'open', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'placement', 'popupClassName', 'popupContainer', 'presets', 'readOnly', 'showTime', '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(AntdDateRangePicker, self).__init__(**args)
@@ -0,0 +1,59 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdDescriptionItem(Component):
7
+ """An AntdDescriptionItem 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
+ - contentStyle (dict; optional)
21
+
22
+ - key (string; optional)
23
+
24
+ - label (a list of or a singular dash component, string or number; optional)
25
+
26
+ - labelStyle (dict; optional)
27
+
28
+ - loading_state (dict; optional)
29
+
30
+ `loading_state` is a dict with keys:
31
+
32
+ - component_name (string; optional):
33
+ Holds the name of the component that is loading.
34
+
35
+ - is_loading (boolean; optional):
36
+ Determines if the component is loading or not.
37
+
38
+ - prop_name (string; optional):
39
+ Holds which property is loading.
40
+
41
+ - span (number; default 1)
42
+
43
+ - style (dict; optional)"""
44
+ _children_props = ['label']
45
+ _base_nodes = ['label', 'children']
46
+ _namespace = 'feffery_antd_components'
47
+ _type = 'AntdDescriptionItem'
48
+ @_explicitize_args
49
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, label=Component.UNDEFINED, span=Component.UNDEFINED, labelStyle=Component.UNDEFINED, contentStyle=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
50
+ self._prop_names = ['children', 'id', 'className', 'contentStyle', 'key', 'label', 'labelStyle', 'loading_state', 'span', 'style']
51
+ self._valid_wildcard_attributes = []
52
+ self.available_properties = ['children', 'id', 'className', 'contentStyle', 'key', 'label', 'labelStyle', 'loading_state', 'span', 'style']
53
+ self.available_wildcard_properties = []
54
+ _explicit_args = kwargs.pop('_explicit_args')
55
+ _locals = locals()
56
+ _locals.update(kwargs) # For wildcard attrs and excess named props
57
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
58
+
59
+ super(AntdDescriptionItem, self).__init__(children=children, **args)
@@ -0,0 +1,95 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdDescriptions(Component):
7
+ """An AntdDescriptions 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
+ - bordered (boolean; default False)
17
+
18
+ - className (string | dict; optional)
19
+
20
+ - column (dict; default 3)
21
+
22
+ `column` is a number | dict with keys:
23
+
24
+ - lg (number; optional)
25
+
26
+ - md (number; optional)
27
+
28
+ - sm (number; optional)
29
+
30
+ - xl (number; optional)
31
+
32
+ - xs (number; optional)
33
+
34
+ - xxl (number; optional)
35
+
36
+ - contentStyle (dict; optional)
37
+
38
+ - items (list of dicts; optional)
39
+
40
+ `items` is a list of dicts with keys:
41
+
42
+ - children (a list of or a singular dash component, string or number; optional)
43
+
44
+ - className (string; optional)
45
+
46
+ - contentStyle (dict; optional)
47
+
48
+ - label (a list of or a singular dash component, string or number; optional)
49
+
50
+ - labelStyle (dict; optional)
51
+
52
+ - span (number; optional)
53
+
54
+ - style (dict; optional)
55
+
56
+ - key (string; optional)
57
+
58
+ - labelStyle (dict; optional)
59
+
60
+ - layout (a value equal to: 'horizontal', 'vertical'; default 'horizontal')
61
+
62
+ - loading_state (dict; optional)
63
+
64
+ `loading_state` is a dict with keys:
65
+
66
+ - component_name (string; optional):
67
+ Holds the name of the component that is loading.
68
+
69
+ - is_loading (boolean; optional):
70
+ Determines if the component is loading or not.
71
+
72
+ - prop_name (string; optional):
73
+ Holds which property is loading.
74
+
75
+ - size (a value equal to: 'small', 'default', 'large'; default 'default')
76
+
77
+ - style (dict; optional)
78
+
79
+ - title (a list of or a singular dash component, string or number; optional)"""
80
+ _children_props = ['items[].label', 'items[].children', 'title']
81
+ _base_nodes = ['title', 'children']
82
+ _namespace = 'feffery_antd_components'
83
+ _type = 'AntdDescriptions'
84
+ @_explicitize_args
85
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, items=Component.UNDEFINED, title=Component.UNDEFINED, column=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, layout=Component.UNDEFINED, labelStyle=Component.UNDEFINED, contentStyle=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
86
+ self._prop_names = ['children', 'id', 'bordered', 'className', 'column', 'contentStyle', 'items', 'key', 'labelStyle', 'layout', 'loading_state', 'size', 'style', 'title']
87
+ self._valid_wildcard_attributes = []
88
+ self.available_properties = ['children', 'id', 'bordered', 'className', 'column', 'contentStyle', 'items', 'key', 'labelStyle', 'layout', 'loading_state', 'size', 'style', 'title']
89
+ self.available_wildcard_properties = []
90
+ _explicit_args = kwargs.pop('_explicit_args')
91
+ _locals = locals()
92
+ _locals.update(kwargs) # For wildcard attrs and excess named props
93
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
94
+
95
+ super(AntdDescriptions, self).__init__(children=children, **args)
@@ -0,0 +1,85 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdDivider(Component):
7
+ """An AntdDivider component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - children (a list of or a singular dash component, string or number; optional):
13
+ Text content of the inline text.
14
+
15
+ - id (string; optional):
16
+ Component id.
17
+
18
+ - className (string | dict; optional):
19
+ CSS class name.
20
+
21
+ - direction (a value equal to: "horizontal", "vertical"; default "horizontal"):
22
+ Direction of the divider. Possible values are 'horizontal' and
23
+ 'vertical'. Default is 'horizontal'.
24
+
25
+ - fontColor (string; default "#000000"):
26
+ Color of the inline text. Accepts valid color values in CSS.
27
+
28
+ - fontFamily (string; default "initial"):
29
+ Font family of the inline text. Accepts valid font-family values
30
+ in CSS.
31
+
32
+ - fontSize (string; optional):
33
+ Font size of the inline text. Accepts valid font-size values in
34
+ CSS.
35
+
36
+ - fontStyle (string; default "initial"):
37
+ Font style of the inline text. Accepts valid font-style values in
38
+ CSS.
39
+
40
+ - fontWeight (string; default "initial"):
41
+ Font weight of the inline text. Accepts valid font-weight values
42
+ in CSS.
43
+
44
+ - innerTextOrientation (a value equal to: "left", "center", "right"; default "center"):
45
+ Text alignment of the inline text. Possible values are 'left',
46
+ 'center', and 'right'. Default is 'center'.
47
+
48
+ - isDashed (boolean; default False):
49
+ Whether to render the divider as dashed line. True for dashed
50
+ line, False for solid line. Default is False.
51
+
52
+ - key (string; optional):
53
+ A unique identifier key used for refreshing assistance.
54
+
55
+ - lineColor (string; default "lightgrey"):
56
+ Color of the divider. Accepts valid color values in CSS.
57
+
58
+ - loading_state (dict; optional)
59
+
60
+ `loading_state` is a dict with keys:
61
+
62
+ - component_name (string; optional):
63
+ Holds the name of the component that is loading.
64
+
65
+ - is_loading (boolean; optional):
66
+ Determines if the component is loading or not.
67
+
68
+ - prop_name (string; optional):
69
+ Holds which property is loading."""
70
+ _children_props = []
71
+ _base_nodes = ['children']
72
+ _namespace = 'feffery_antd_components'
73
+ _type = 'AntdDivider'
74
+ @_explicitize_args
75
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, key=Component.UNDEFINED, innerTextOrientation=Component.UNDEFINED, isDashed=Component.UNDEFINED, direction=Component.UNDEFINED, fontSize=Component.UNDEFINED, lineColor=Component.UNDEFINED, fontStyle=Component.UNDEFINED, fontWeight=Component.UNDEFINED, fontFamily=Component.UNDEFINED, fontColor=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
76
+ self._prop_names = ['children', 'id', 'className', 'direction', 'fontColor', 'fontFamily', 'fontSize', 'fontStyle', 'fontWeight', 'innerTextOrientation', 'isDashed', 'key', 'lineColor', 'loading_state']
77
+ self._valid_wildcard_attributes = []
78
+ self.available_properties = ['children', 'id', 'className', 'direction', 'fontColor', 'fontFamily', 'fontSize', 'fontStyle', 'fontWeight', 'innerTextOrientation', 'isDashed', 'key', 'lineColor', 'loading_state']
79
+ self.available_wildcard_properties = []
80
+ _explicit_args = kwargs.pop('_explicit_args')
81
+ _locals = locals()
82
+ _locals.update(kwargs) # For wildcard attrs and excess named props
83
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
84
+
85
+ super(AntdDivider, self).__init__(children=children, **args)
@@ -0,0 +1,207 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdDraggerUpload(Component):
7
+ """An AntdDraggerUpload component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - apiUrl (string; optional)
15
+
16
+ - apiUrlExtraParams (dict; optional)
17
+
18
+ - className (string | dict; optional)
19
+
20
+ - confirmBeforeDelete (boolean; default False)
21
+
22
+ - defaultFileList (list of dicts; optional)
23
+
24
+ `defaultFileList` is a list of dicts with keys:
25
+
26
+ - fileSize (number; optional)
27
+
28
+ - name (string; optional)
29
+
30
+ - status (a value equal to: 'done', 'error', 'removed'; optional)
31
+
32
+ - taskId (string; optional)
33
+
34
+ - uid (boolean | number | string | dict | list; optional)
35
+
36
+ - url (string; optional)
37
+
38
+ - directory (boolean; default False)
39
+
40
+ - disabled (boolean; default False)
41
+
42
+ - downloadUrl (string; optional)
43
+
44
+ - downloadUrlExtraParams (dict; optional)
45
+
46
+ - downloadUrlFromBackend (boolean; default False)
47
+
48
+ - draggerClassName (string | dict; optional)
49
+
50
+ - draggerStyle (dict; optional)
51
+
52
+ - failedTooltipInfo (string; optional)
53
+
54
+ - fileListMaxLength (number; optional)
55
+
56
+ - fileMaxSize (number; default 500)
57
+
58
+ - fileTypes (list of strings; optional)
59
+
60
+ - headers (dict; optional)
61
+
62
+ - hint (a list of or a singular dash component, string or number; optional)
63
+
64
+ - key (string; optional)
65
+
66
+ - lastUploadTaskRecord (dict; optional)
67
+
68
+ `lastUploadTaskRecord` is a dict with keys:
69
+
70
+ - completeTimestamp (number; optional)
71
+
72
+ - fileName (string; optional)
73
+
74
+ - fileSize (number; optional)
75
+
76
+ - taskId (string; optional)
77
+
78
+ - taskStatus (string; optional)
79
+
80
+ - uploadResponse (boolean | number | string | dict | list; optional)
81
+
82
+ - url (string; optional) | list of dicts with keys:
83
+
84
+ - completeTimestamp (number; optional)
85
+
86
+ - fileName (string; optional)
87
+
88
+ - fileSize (number; optional)
89
+
90
+ - taskId (string; optional)
91
+
92
+ - taskStatus (string; optional)
93
+
94
+ - uploadResponse (boolean | number | string | dict | list; optional)
95
+
96
+ - url (string; optional)
97
+
98
+ - listUploadTaskRecord (dict; optional)
99
+
100
+ `listUploadTaskRecord` is a dict with keys:
101
+
102
+ - completeTimestamp (number; optional)
103
+
104
+ - fileName (string; optional)
105
+
106
+ - fileSize (number; optional)
107
+
108
+ - taskId (string; optional)
109
+
110
+ - taskStatus (string; optional)
111
+
112
+ - uid (string; optional)
113
+
114
+ - uploadResponse (boolean | number | string | dict | list; optional)
115
+
116
+ - url (string; optional) | list of dicts with keys:
117
+
118
+ - completeTimestamp (number; optional)
119
+
120
+ - fileName (string; optional)
121
+
122
+ - fileSize (number; optional)
123
+
124
+ - taskId (string; optional)
125
+
126
+ - taskStatus (string; optional)
127
+
128
+ - uid (string; optional)
129
+
130
+ - uploadResponse (boolean | number | string | dict | list; optional)
131
+
132
+ - url (string; optional)
133
+
134
+ - loading_state (dict; optional)
135
+
136
+ `loading_state` is a dict with keys:
137
+
138
+ - component_name (string; optional):
139
+ Holds the name of the component that is loading.
140
+
141
+ - is_loading (boolean; optional):
142
+ Determines if the component is loading or not.
143
+
144
+ - prop_name (string; optional):
145
+ Holds which property is loading.
146
+
147
+ - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
148
+
149
+ - multiple (boolean; default False)
150
+
151
+ - progressProps (dict; optional)
152
+
153
+ `progressProps` is a dict with keys:
154
+
155
+ - format (dict; optional)
156
+
157
+ `format` is a dict with keys:
158
+
159
+ - prefix (string; optional)
160
+
161
+ - suffix (string; optional)
162
+
163
+ - strokeColor (dict; optional)
164
+
165
+ `strokeColor` is a string
166
+
167
+ Or dict with keys:
168
+
169
+ - from (string; optional)
170
+
171
+ - to (string; optional)
172
+
173
+ - strokeWidth (number; optional)
174
+
175
+ - showErrorMessage (boolean; default True)
176
+
177
+ - showPercent (boolean; default False)
178
+
179
+ - showSuccessMessage (boolean; default True)
180
+
181
+ - showUploadList (boolean; default True)
182
+
183
+ - status (a value equal to: 'error', 'warning'; optional)
184
+
185
+ - style (dict; optional)
186
+
187
+ - text (a list of or a singular dash component, string or number; optional)
188
+
189
+ - uploadId (string; optional)
190
+
191
+ - withCredentials (boolean; default False)"""
192
+ _children_props = ['text', 'hint']
193
+ _base_nodes = ['text', 'hint', 'children']
194
+ _namespace = 'feffery_antd_components'
195
+ _type = 'AntdDraggerUpload'
196
+ @_explicitize_args
197
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, draggerClassName=Component.UNDEFINED, draggerStyle=Component.UNDEFINED, locale=Component.UNDEFINED, apiUrl=Component.UNDEFINED, apiUrlExtraParams=Component.UNDEFINED, headers=Component.UNDEFINED, withCredentials=Component.UNDEFINED, downloadUrl=Component.UNDEFINED, downloadUrlExtraParams=Component.UNDEFINED, downloadUrlFromBackend=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, confirmBeforeDelete=Component.UNDEFINED, showPercent=Component.UNDEFINED, progressProps=Component.UNDEFINED, showSuccessMessage=Component.UNDEFINED, showErrorMessage=Component.UNDEFINED, lastUploadTaskRecord=Component.UNDEFINED, listUploadTaskRecord=Component.UNDEFINED, defaultFileList=Component.UNDEFINED, disabled=Component.UNDEFINED, status=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
198
+ self._prop_names = ['id', 'apiUrl', 'apiUrlExtraParams', 'className', 'confirmBeforeDelete', 'defaultFileList', 'directory', 'disabled', 'downloadUrl', 'downloadUrlExtraParams', 'downloadUrlFromBackend', 'draggerClassName', 'draggerStyle', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'headers', 'hint', 'key', 'lastUploadTaskRecord', 'listUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'progressProps', 'showErrorMessage', 'showPercent', 'showSuccessMessage', 'showUploadList', 'status', 'style', 'text', 'uploadId', 'withCredentials']
199
+ self._valid_wildcard_attributes = []
200
+ self.available_properties = ['id', 'apiUrl', 'apiUrlExtraParams', 'className', 'confirmBeforeDelete', 'defaultFileList', 'directory', 'disabled', 'downloadUrl', 'downloadUrlExtraParams', 'downloadUrlFromBackend', 'draggerClassName', 'draggerStyle', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'headers', 'hint', 'key', 'lastUploadTaskRecord', 'listUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'progressProps', 'showErrorMessage', 'showPercent', 'showSuccessMessage', 'showUploadList', 'status', 'style', 'text', 'uploadId', 'withCredentials']
201
+ self.available_wildcard_properties = []
202
+ _explicit_args = kwargs.pop('_explicit_args')
203
+ _locals = locals()
204
+ _locals.update(kwargs) # For wildcard attrs and excess named props
205
+ args = {k: _locals[k] for k in _explicit_args}
206
+
207
+ super(AntdDraggerUpload, self).__init__(**args)