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,91 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdMentions(Component):
7
+ """An AntdMentions component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - autoSize (dict; default False)
15
+
16
+ `autoSize` is a boolean | dict with keys:
17
+
18
+ - maxRows (number; optional)
19
+
20
+ - minRows (number; optional)
21
+
22
+ - batchPropsNames (list of strings; optional)
23
+
24
+ - batchPropsValues (dict; optional)
25
+
26
+ - className (string | dict; optional)
27
+
28
+ - defaultValue (string; optional)
29
+
30
+ - disabled (boolean; default False)
31
+
32
+ - key (string; optional)
33
+
34
+ - loading_state (dict; optional)
35
+
36
+ `loading_state` is a dict with keys:
37
+
38
+ - component_name (string; optional):
39
+ Holds the name of the component that is loading.
40
+
41
+ - is_loading (boolean; optional):
42
+ Determines if the component is loading or not.
43
+
44
+ - prop_name (string; optional):
45
+ Holds which property is loading.
46
+
47
+ - options (list of dicts; required)
48
+
49
+ `options` is a list of dicts with keys:
50
+
51
+ - label (a list of or a singular dash component, string or number; optional)
52
+
53
+ - value (string; optional)
54
+
55
+ - placement (a value equal to: 'top', 'bottom'; default 'bottom')
56
+
57
+ - popupClassName (string; optional):
58
+ 设置弹框菜单css类名.
59
+
60
+ - popupContainer (a value equal to: 'parent', 'body'; optional)
61
+
62
+ - prefix (string; default '@')
63
+
64
+ - selectedOptions (list of strings; optional)
65
+
66
+ - status (a value equal to: 'error', 'warning'; optional)
67
+
68
+ - style (dict; optional)
69
+
70
+ - value (string; optional)"""
71
+ _children_props = ['options[].label']
72
+ _base_nodes = ['children']
73
+ _namespace = 'feffery_antd_components'
74
+ _type = 'AntdMentions'
75
+ @_explicitize_args
76
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, popupClassName=Component.UNDEFINED, key=Component.UNDEFINED, autoSize=Component.UNDEFINED, prefix=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, options=Component.REQUIRED, selectedOptions=Component.UNDEFINED, disabled=Component.UNDEFINED, placement=Component.UNDEFINED, status=Component.UNDEFINED, popupContainer=Component.UNDEFINED, batchPropsNames=Component.UNDEFINED, batchPropsValues=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
77
+ self._prop_names = ['id', 'autoSize', 'batchPropsNames', 'batchPropsValues', 'className', 'defaultValue', 'disabled', 'key', 'loading_state', 'options', 'placement', 'popupClassName', 'popupContainer', 'prefix', 'selectedOptions', 'status', 'style', 'value']
78
+ self._valid_wildcard_attributes = []
79
+ self.available_properties = ['id', 'autoSize', 'batchPropsNames', 'batchPropsValues', 'className', 'defaultValue', 'disabled', 'key', 'loading_state', 'options', 'placement', 'popupClassName', 'popupContainer', 'prefix', 'selectedOptions', 'status', 'style', 'value']
80
+ self.available_wildcard_properties = []
81
+ _explicit_args = kwargs.pop('_explicit_args')
82
+ _locals = locals()
83
+ _locals.update(kwargs) # For wildcard attrs and excess named props
84
+ args = {k: _locals[k] for k in _explicit_args}
85
+
86
+ for k in ['options']:
87
+ if k not in args:
88
+ raise TypeError(
89
+ 'Required argument `' + k + '` was not specified.')
90
+
91
+ super(AntdMentions, self).__init__(**args)
@@ -0,0 +1,90 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdMenu(Component):
7
+ """An AntdMenu component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - className (string | dict; optional)
15
+
16
+ - currentKey (string; optional)
17
+
18
+ - defaultOpenKeys (list of strings; optional)
19
+
20
+ - defaultSelectedKey (string; optional)
21
+
22
+ - inlineCollapsed (boolean; default False)
23
+
24
+ - inlineIndent (number; default 24)
25
+
26
+ - key (string; optional)
27
+
28
+ - loading_state (dict; optional)
29
+
30
+ `loading_state` is a dict with keys:
31
+
32
+ - component_name (string; optional):
33
+ Holds the name of the component that is loading.
34
+
35
+ - is_loading (boolean; optional):
36
+ Determines if the component is loading or not.
37
+
38
+ - prop_name (string; optional):
39
+ Holds which property is loading.
40
+
41
+ - menuItemKeyToTitle (dict with strings as keys and values of type a list of or a singular dash component, string or number; optional)
42
+
43
+ - menuItems (list; optional)
44
+
45
+ - mode (a value equal to: 'vertical', 'horizontal', 'inline'; default 'vertical')
46
+
47
+ - openKeys (list of strings; optional)
48
+
49
+ - persisted_props (list of a value equal to: 'currentKey', 'openKeys's; default ['currentKey', 'openKeys']):
50
+ Properties whose user interactions will persist after refreshing
51
+ the component or the page. Since only `value` is allowed this
52
+ prop can normally be ignored.
53
+
54
+ - persistence (boolean | string | number; optional):
55
+ Used to allow user interactions in this component to be persisted
56
+ when the component - or the page - is refreshed. If `persisted`
57
+ is truthy and hasn't changed from its previous value, a `value`
58
+ that the user has changed while using the app will keep that
59
+ change, as long as the new `value` also matches what was given
60
+ originally. Used in conjunction with `persistence_type`.
61
+
62
+ - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
63
+ Where persisted user changes will be stored: memory: only kept in
64
+ memory, reset on page refresh. local: window.localStorage, data
65
+ is kept after the browser quit. session: window.sessionStorage,
66
+ data is cleared once the browser quit.
67
+
68
+ - popupContainer (a value equal to: 'parent', 'body'; default 'body')
69
+
70
+ - renderCollapsedButton (boolean; default False)
71
+
72
+ - style (dict; optional)
73
+
74
+ - theme (a value equal to: 'light', 'dark'; default 'light')"""
75
+ _children_props = ['menuItemKeyToTitle{}']
76
+ _base_nodes = ['children']
77
+ _namespace = 'feffery_antd_components'
78
+ _type = 'AntdMenu'
79
+ @_explicitize_args
80
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, menuItems=Component.UNDEFINED, menuItemKeyToTitle=Component.UNDEFINED, mode=Component.UNDEFINED, theme=Component.UNDEFINED, currentKey=Component.UNDEFINED, openKeys=Component.UNDEFINED, defaultOpenKeys=Component.UNDEFINED, defaultSelectedKey=Component.UNDEFINED, renderCollapsedButton=Component.UNDEFINED, popupContainer=Component.UNDEFINED, inlineCollapsed=Component.UNDEFINED, inlineIndent=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
81
+ self._prop_names = ['id', 'className', 'currentKey', 'defaultOpenKeys', 'defaultSelectedKey', 'inlineCollapsed', 'inlineIndent', 'key', 'loading_state', 'menuItemKeyToTitle', 'menuItems', 'mode', 'openKeys', 'persisted_props', 'persistence', 'persistence_type', 'popupContainer', 'renderCollapsedButton', 'style', 'theme']
82
+ self._valid_wildcard_attributes = []
83
+ self.available_properties = ['id', 'className', 'currentKey', 'defaultOpenKeys', 'defaultSelectedKey', 'inlineCollapsed', 'inlineIndent', 'key', 'loading_state', 'menuItemKeyToTitle', 'menuItems', 'mode', 'openKeys', 'persisted_props', 'persistence', 'persistence_type', 'popupContainer', 'renderCollapsedButton', 'style', 'theme']
84
+ self.available_wildcard_properties = []
85
+ _explicit_args = kwargs.pop('_explicit_args')
86
+ _locals = locals()
87
+ _locals.update(kwargs) # For wildcard attrs and excess named props
88
+ args = {k: _locals[k] for k in _explicit_args}
89
+
90
+ super(AntdMenu, 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 AntdMessage(Component):
7
+ """An AntdMessage component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - className (string; optional)
15
+
16
+ - content (string; optional)
17
+
18
+ - duration (number; default 3)
19
+
20
+ - icon (string; optional)
21
+
22
+ - iconRenderer (a value equal to: 'AntdIcon', 'fontawesome'; default 'AntdIcon')
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
+ - maxCount (number; optional)
40
+
41
+ - style (dict; optional)
42
+
43
+ - top (number; default 8)
44
+
45
+ - type (a value equal to: 'default', 'success', 'error', 'info', 'warning'; default 'default')"""
46
+ _children_props = []
47
+ _base_nodes = ['children']
48
+ _namespace = 'feffery_antd_components'
49
+ _type = 'AntdMessage'
50
+ @_explicitize_args
51
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, content=Component.UNDEFINED, type=Component.UNDEFINED, duration=Component.UNDEFINED, top=Component.UNDEFINED, maxCount=Component.UNDEFINED, icon=Component.UNDEFINED, iconRenderer=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
52
+ self._prop_names = ['id', 'className', 'content', 'duration', 'icon', 'iconRenderer', 'key', 'loading_state', 'maxCount', 'style', 'top', 'type']
53
+ self._valid_wildcard_attributes = []
54
+ self.available_properties = ['id', 'className', 'content', 'duration', 'icon', 'iconRenderer', 'key', 'loading_state', 'maxCount', 'style', 'top', 'type']
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}
60
+
61
+ super(AntdMessage, self).__init__(**args)
@@ -0,0 +1,133 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdModal(Component):
7
+ """An AntdModal component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - children (a list of or a singular dash component, string or number; optional)
13
+
14
+ - id (string; optional)
15
+
16
+ - bodyStyle (dict; optional)
17
+
18
+ - cancelButtonProps (dict; optional)
19
+
20
+ `cancelButtonProps` is a dict with keys:
21
+
22
+ - className (string; optional)
23
+
24
+ - danger (boolean; optional)
25
+
26
+ - disabled (boolean; optional)
27
+
28
+ - shape (a value equal to: 'circle', 'round'; optional)
29
+
30
+ - size (a value equal to: 'small', 'middle', 'large'; optional)
31
+
32
+ - style (dict; optional)
33
+
34
+ - type (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; optional)
35
+
36
+ - cancelCounts (number; default 0)
37
+
38
+ - cancelText (a list of or a singular dash component, string or number; optional)
39
+
40
+ - centered (boolean; default False)
41
+
42
+ - className (string | dict; optional)
43
+
44
+ - closable (boolean; default True)
45
+
46
+ - closeCounts (number; default 0)
47
+
48
+ - confirmAutoSpin (boolean; default False)
49
+
50
+ - confirmLoading (boolean; default False)
51
+
52
+ - destroyOnClose (boolean; default True)
53
+
54
+ - key (string; optional)
55
+
56
+ - keyboard (boolean; default True)
57
+
58
+ - loadingOkText (a list of or a singular dash component, string or number; optional)
59
+
60
+ - loading_state (dict; optional)
61
+
62
+ `loading_state` is a dict with keys:
63
+
64
+ - component_name (string; optional):
65
+ Holds the name of the component that is loading.
66
+
67
+ - is_loading (boolean; optional):
68
+ Determines if the component is loading or not.
69
+
70
+ - prop_name (string; optional):
71
+ Holds which property is loading.
72
+
73
+ - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
74
+
75
+ - mask (boolean; default True)
76
+
77
+ - maskClosable (boolean; default True)
78
+
79
+ - maskStyle (dict; optional)
80
+
81
+ - okButtonProps (dict; optional)
82
+
83
+ `okButtonProps` is a dict with keys:
84
+
85
+ - className (string; optional)
86
+
87
+ - danger (boolean; optional)
88
+
89
+ - disabled (boolean; optional)
90
+
91
+ - shape (a value equal to: 'circle', 'round'; optional)
92
+
93
+ - size (a value equal to: 'small', 'middle', 'large'; optional)
94
+
95
+ - style (dict; optional)
96
+
97
+ - type (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; optional)
98
+
99
+ - okClickClose (boolean; default True)
100
+
101
+ - okCounts (number; default 0)
102
+
103
+ - okText (a list of or a singular dash component, string or number; optional)
104
+
105
+ - renderFooter (boolean; default False)
106
+
107
+ - style (dict; optional)
108
+
109
+ - title (a list of or a singular dash component, string or number; optional)
110
+
111
+ - transitionType (a value equal to: 'none', 'fade', 'zoom', 'zoom-big', 'zoom-big-fast', 'slide-up', 'slide-down', 'slide-left', 'slide-right', 'move-up', 'move-down', 'move-left', 'move-right'; default 'zoom')
112
+
113
+ - visible (boolean; default False)
114
+
115
+ - width (number | string; default 520)
116
+
117
+ - zIndex (number; default 1000)"""
118
+ _children_props = ['title', 'okText', 'cancelText', 'loadingOkText']
119
+ _base_nodes = ['title', 'okText', 'cancelText', 'loadingOkText', 'children']
120
+ _namespace = 'feffery_antd_components'
121
+ _type = 'AntdModal'
122
+ @_explicitize_args
123
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, locale=Component.UNDEFINED, visible=Component.UNDEFINED, title=Component.UNDEFINED, renderFooter=Component.UNDEFINED, okText=Component.UNDEFINED, okButtonProps=Component.UNDEFINED, cancelText=Component.UNDEFINED, cancelButtonProps=Component.UNDEFINED, width=Component.UNDEFINED, centered=Component.UNDEFINED, keyboard=Component.UNDEFINED, closable=Component.UNDEFINED, mask=Component.UNDEFINED, maskClosable=Component.UNDEFINED, okClickClose=Component.UNDEFINED, zIndex=Component.UNDEFINED, maskStyle=Component.UNDEFINED, bodyStyle=Component.UNDEFINED, okCounts=Component.UNDEFINED, cancelCounts=Component.UNDEFINED, closeCounts=Component.UNDEFINED, confirmAutoSpin=Component.UNDEFINED, loadingOkText=Component.UNDEFINED, confirmLoading=Component.UNDEFINED, transitionType=Component.UNDEFINED, destroyOnClose=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
124
+ self._prop_names = ['children', 'id', 'bodyStyle', 'cancelButtonProps', 'cancelCounts', 'cancelText', 'centered', 'className', 'closable', 'closeCounts', 'confirmAutoSpin', 'confirmLoading', 'destroyOnClose', 'key', 'keyboard', 'loadingOkText', 'loading_state', 'locale', 'mask', 'maskClosable', 'maskStyle', 'okButtonProps', 'okClickClose', 'okCounts', 'okText', 'renderFooter', 'style', 'title', 'transitionType', 'visible', 'width', 'zIndex']
125
+ self._valid_wildcard_attributes = []
126
+ self.available_properties = ['children', 'id', 'bodyStyle', 'cancelButtonProps', 'cancelCounts', 'cancelText', 'centered', 'className', 'closable', 'closeCounts', 'confirmAutoSpin', 'confirmLoading', 'destroyOnClose', 'key', 'keyboard', 'loadingOkText', 'loading_state', 'locale', 'mask', 'maskClosable', 'maskStyle', 'okButtonProps', 'okClickClose', 'okCounts', 'okText', 'renderFooter', 'style', 'title', 'transitionType', 'visible', 'width', 'zIndex']
127
+ self.available_wildcard_properties = []
128
+ _explicit_args = kwargs.pop('_explicit_args')
129
+ _locals = locals()
130
+ _locals.update(kwargs) # For wildcard attrs and excess named props
131
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
132
+
133
+ super(AntdModal, self).__init__(children=children, **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 AntdNotification(Component):
7
+ """An AntdNotification component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - bottom (number; default 24)
15
+
16
+ - className (string | dict; optional)
17
+
18
+ - closable (boolean; default True)
19
+
20
+ - description (string; optional)
21
+
22
+ - duration (number; default 4.5)
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
+ - message (string; optional)
40
+
41
+ - placement (a value equal to: 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'; default 'topRight')
42
+
43
+ - style (dict; optional)
44
+
45
+ - top (number; default 24)
46
+
47
+ - type (a value equal to: 'default', 'success', 'error', 'info', 'warning'; default 'default')"""
48
+ _children_props = []
49
+ _base_nodes = ['children']
50
+ _namespace = 'feffery_antd_components'
51
+ _type = 'AntdNotification'
52
+ @_explicitize_args
53
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, message=Component.UNDEFINED, description=Component.UNDEFINED, type=Component.UNDEFINED, placement=Component.UNDEFINED, top=Component.UNDEFINED, bottom=Component.UNDEFINED, duration=Component.UNDEFINED, closable=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
54
+ self._prop_names = ['id', 'bottom', 'className', 'closable', 'description', 'duration', 'key', 'loading_state', 'message', 'placement', 'style', 'top', 'type']
55
+ self._valid_wildcard_attributes = []
56
+ self.available_properties = ['id', 'bottom', 'className', 'closable', 'description', 'duration', 'key', 'loading_state', 'message', 'placement', 'style', 'top', 'type']
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(AntdNotification, 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 AntdPageHeader(Component):
7
+ """An AntdPageHeader 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
+ - backClicks (number; default 0)
19
+
20
+ - className (string | dict; optional)
21
+
22
+ - ghost (boolean; optional)
23
+
24
+ - historyBackDisabled (boolean; default False)
25
+
26
+ - key (string; optional)
27
+
28
+ - loading_state (dict; optional)
29
+
30
+ `loading_state` is a dict with keys:
31
+
32
+ - component_name (string; optional):
33
+ Holds the name of the component that is loading.
34
+
35
+ - is_loading (boolean; optional):
36
+ Determines if the component is loading or not.
37
+
38
+ - prop_name (string; optional):
39
+ Holds which property is loading.
40
+
41
+ - showBackIcon (boolean; default True)
42
+
43
+ - style (dict; optional)
44
+
45
+ - subTitle (a list of or a singular dash component, string or number; optional)
46
+
47
+ - title (a list of or a singular dash component, string or number; optional)"""
48
+ _children_props = ['title', 'subTitle']
49
+ _base_nodes = ['title', 'subTitle', 'children']
50
+ _namespace = 'feffery_antd_components'
51
+ _type = 'AntdPageHeader'
52
+ @_explicitize_args
53
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, title=Component.UNDEFINED, subTitle=Component.UNDEFINED, showBackIcon=Component.UNDEFINED, historyBackDisabled=Component.UNDEFINED, backClicks=Component.UNDEFINED, ghost=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
54
+ self._prop_names = ['children', 'id', 'backClicks', 'className', 'ghost', 'historyBackDisabled', 'key', 'loading_state', 'showBackIcon', 'style', 'subTitle', 'title']
55
+ self._valid_wildcard_attributes = []
56
+ self.available_properties = ['children', 'id', 'backClicks', 'className', 'ghost', 'historyBackDisabled', 'key', 'loading_state', 'showBackIcon', 'style', 'subTitle', 'title']
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 if k != 'children'}
62
+
63
+ super(AntdPageHeader, self).__init__(children=children, **args)
@@ -0,0 +1,104 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdPagination(Component):
7
+ """An AntdPagination component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - batchPropsNames (list of strings; optional)
15
+
16
+ - batchPropsValues (dict; optional)
17
+
18
+ - className (string | dict; optional)
19
+
20
+ - current (number; optional)
21
+
22
+ - defaultCurrent (number; default 1)
23
+
24
+ - defaultPageSize (number; default 10)
25
+
26
+ - disabled (boolean; default False)
27
+
28
+ - hideOnSinglePage (boolean; default False)
29
+
30
+ - key (string; optional)
31
+
32
+ - loading_state (dict; optional)
33
+
34
+ `loading_state` is a dict with keys:
35
+
36
+ - component_name (string; optional):
37
+ Holds the name of the component that is loading.
38
+
39
+ - is_loading (boolean; optional):
40
+ Determines if the component is loading or not.
41
+
42
+ - prop_name (string; optional):
43
+ Holds which property is loading.
44
+
45
+ - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
46
+
47
+ - pageSize (number; optional)
48
+
49
+ - pageSizeOptions (list of numbers; optional)
50
+
51
+ - persisted_props (list of a value equal to: 'current', 'pageSize's; default ['current', 'pageSize']):
52
+ Properties whose user interactions will persist after refreshing
53
+ the component or the page. Since only `value` is allowed this
54
+ prop can normally be ignored.
55
+
56
+ - persistence (boolean | string | number; optional):
57
+ Used to allow user interactions in this component to be persisted
58
+ when the component - or the page - is refreshed. If `persisted`
59
+ is truthy and hasn't changed from its previous value, a `value`
60
+ that the user has changed while using the app will keep that
61
+ change, as long as the new `value` also matches what was given
62
+ originally. Used in conjunction with `persistence_type`.
63
+
64
+ - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
65
+ Where persisted user changes will be stored: memory: only kept in
66
+ memory, reset on page refresh. local: window.localStorage, data
67
+ is kept after the browser quit. session: window.sessionStorage,
68
+ data is cleared once the browser quit.
69
+
70
+ - showLessItems (boolean; default False)
71
+
72
+ - showQuickJumper (boolean; default False)
73
+
74
+ - showSizeChanger (boolean; default False)
75
+
76
+ - showTotal (boolean; default True)
77
+
78
+ - showTotalPrefix (string; optional)
79
+
80
+ - showTotalSuffix (string; optional)
81
+
82
+ - simple (boolean; default False)
83
+
84
+ - size (a value equal to: 'default', 'small'; default 'default')
85
+
86
+ - style (dict; optional)
87
+
88
+ - total (number; optional)"""
89
+ _children_props = []
90
+ _base_nodes = ['children']
91
+ _namespace = 'feffery_antd_components'
92
+ _type = 'AntdPagination'
93
+ @_explicitize_args
94
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, locale=Component.UNDEFINED, defaultCurrent=Component.UNDEFINED, defaultPageSize=Component.UNDEFINED, current=Component.UNDEFINED, disabled=Component.UNDEFINED, hideOnSinglePage=Component.UNDEFINED, pageSize=Component.UNDEFINED, pageSizeOptions=Component.UNDEFINED, showSizeChanger=Component.UNDEFINED, showQuickJumper=Component.UNDEFINED, showTotalPrefix=Component.UNDEFINED, showTotalSuffix=Component.UNDEFINED, simple=Component.UNDEFINED, size=Component.UNDEFINED, total=Component.UNDEFINED, showTotal=Component.UNDEFINED, showLessItems=Component.UNDEFINED, batchPropsNames=Component.UNDEFINED, batchPropsValues=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
95
+ self._prop_names = ['id', 'batchPropsNames', 'batchPropsValues', 'className', 'current', 'defaultCurrent', 'defaultPageSize', 'disabled', 'hideOnSinglePage', 'key', 'loading_state', 'locale', 'pageSize', 'pageSizeOptions', 'persisted_props', 'persistence', 'persistence_type', 'showLessItems', 'showQuickJumper', 'showSizeChanger', 'showTotal', 'showTotalPrefix', 'showTotalSuffix', 'simple', 'size', 'style', 'total']
96
+ self._valid_wildcard_attributes = []
97
+ self.available_properties = ['id', 'batchPropsNames', 'batchPropsValues', 'className', 'current', 'defaultCurrent', 'defaultPageSize', 'disabled', 'hideOnSinglePage', 'key', 'loading_state', 'locale', 'pageSize', 'pageSizeOptions', 'persisted_props', 'persistence', 'persistence_type', 'showLessItems', 'showQuickJumper', 'showSizeChanger', 'showTotal', 'showTotalPrefix', 'showTotalSuffix', 'simple', 'size', 'style', 'total']
98
+ self.available_wildcard_properties = []
99
+ _explicit_args = kwargs.pop('_explicit_args')
100
+ _locals = locals()
101
+ _locals.update(kwargs) # For wildcard attrs and excess named props
102
+ args = {k: _locals[k] for k in _explicit_args}
103
+
104
+ super(AntdPagination, self).__init__(**args)