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,82 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdCheckCard(Component):
7
+ """An AntdCheckCard 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 True)
17
+
18
+ - checked (boolean; optional)
19
+
20
+ - className (string | dict; optional)
21
+
22
+ - defaultChecked (boolean; optional)
23
+
24
+ - disabled (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
+ - persisted_props (list of a value equal to: 'checked's; default ['checked']):
42
+ Properties whose user interactions will persist after refreshing
43
+ the component or the page. Since only `value` is allowed this
44
+ prop can normally be ignored.
45
+
46
+ - persistence (boolean | string | number; optional):
47
+ Used to allow user interactions in this component to be persisted
48
+ when the component - or the page - is refreshed. If `persisted`
49
+ is truthy and hasn't changed from its previous value, a `value`
50
+ that the user has changed while using the app will keep that
51
+ change, as long as the new `value` also matches what was given
52
+ originally. Used in conjunction with `persistence_type`.
53
+
54
+ - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
55
+ Where persisted user changes will be stored: memory: only kept in
56
+ memory, reset on page refresh. local: window.localStorage, data
57
+ is kept after the browser quit. session: window.sessionStorage,
58
+ data is cleared once the browser quit.
59
+
60
+ - readOnly (boolean; default False)
61
+
62
+ - size (a value equal to: 'small', 'default', 'large'; default 'default')
63
+
64
+ - style (dict; optional)
65
+
66
+ - value (number | string; optional)"""
67
+ _children_props = []
68
+ _base_nodes = ['children']
69
+ _namespace = 'feffery_antd_components'
70
+ _type = 'AntdCheckCard'
71
+ @_explicitize_args
72
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, checked=Component.UNDEFINED, defaultChecked=Component.UNDEFINED, bordered=Component.UNDEFINED, disabled=Component.UNDEFINED, size=Component.UNDEFINED, value=Component.UNDEFINED, readOnly=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
73
+ self._prop_names = ['children', 'id', 'bordered', 'checked', 'className', 'defaultChecked', 'disabled', 'key', 'loading_state', 'persisted_props', 'persistence', 'persistence_type', 'readOnly', 'size', 'style', 'value']
74
+ self._valid_wildcard_attributes = []
75
+ self.available_properties = ['children', 'id', 'bordered', 'checked', 'className', 'defaultChecked', 'disabled', 'key', 'loading_state', 'persisted_props', 'persistence', 'persistence_type', 'readOnly', 'size', 'style', 'value']
76
+ self.available_wildcard_properties = []
77
+ _explicit_args = kwargs.pop('_explicit_args')
78
+ _locals = locals()
79
+ _locals.update(kwargs) # For wildcard attrs and excess named props
80
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
81
+
82
+ super(AntdCheckCard, self).__init__(children=children, **args)
@@ -0,0 +1,84 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdCheckCardGroup(Component):
7
+ """An AntdCheckCardGroup 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
+ - allowNoValue (boolean; default True)
17
+
18
+ - bordered (boolean; default True)
19
+
20
+ - className (string | dict; optional)
21
+
22
+ - defaultValue (number | string | list of number | strings; optional)
23
+
24
+ - disabled (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
+ - multiple (boolean; default False)
42
+
43
+ - persisted_props (list of a value equal to: 'value's; default ['value']):
44
+ Properties whose user interactions will persist after refreshing
45
+ the component or the page. Since only `value` is allowed this
46
+ prop can normally be ignored.
47
+
48
+ - persistence (boolean | string | number; optional):
49
+ Used to allow user interactions in this component to be persisted
50
+ when the component - or the page - is refreshed. If `persisted`
51
+ is truthy and hasn't changed from its previous value, a `value`
52
+ that the user has changed while using the app will keep that
53
+ change, as long as the new `value` also matches what was given
54
+ originally. Used in conjunction with `persistence_type`.
55
+
56
+ - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
57
+ Where persisted user changes will be stored: memory: only kept in
58
+ memory, reset on page refresh. local: window.localStorage, data
59
+ is kept after the browser quit. session: window.sessionStorage,
60
+ data is cleared once the browser quit.
61
+
62
+ - readOnly (boolean; default False)
63
+
64
+ - size (a value equal to: 'small', 'default', 'large'; default 'default')
65
+
66
+ - style (dict; optional)
67
+
68
+ - value (number | string | list of number | strings; optional)"""
69
+ _children_props = []
70
+ _base_nodes = ['children']
71
+ _namespace = 'feffery_antd_components'
72
+ _type = 'AntdCheckCardGroup'
73
+ @_explicitize_args
74
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, multiple=Component.UNDEFINED, allowNoValue=Component.UNDEFINED, bordered=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, disabled=Component.UNDEFINED, size=Component.UNDEFINED, readOnly=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
75
+ self._prop_names = ['children', 'id', 'allowNoValue', 'bordered', 'className', 'defaultValue', 'disabled', 'key', 'loading_state', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'readOnly', 'size', 'style', 'value']
76
+ self._valid_wildcard_attributes = []
77
+ self.available_properties = ['children', 'id', 'allowNoValue', 'bordered', 'className', 'defaultValue', 'disabled', 'key', 'loading_state', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'readOnly', 'size', 'style', 'value']
78
+ self.available_wildcard_properties = []
79
+ _explicit_args = kwargs.pop('_explicit_args')
80
+ _locals = locals()
81
+ _locals.update(kwargs) # For wildcard attrs and excess named props
82
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
83
+
84
+ super(AntdCheckCardGroup, self).__init__(children=children, **args)
@@ -0,0 +1,82 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdCheckbox(Component):
7
+ """An AntdCheckbox component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - autoFocus (boolean; default False)
15
+
16
+ - batchPropsNames (list of strings; optional)
17
+
18
+ - batchPropsValues (dict; optional)
19
+
20
+ - checked (boolean; default False)
21
+
22
+ - className (string | dict; optional)
23
+
24
+ - disabled (boolean; default False)
25
+
26
+ - indeterminate (boolean; default False)
27
+
28
+ - key (string; optional)
29
+
30
+ - label (a list of or a singular dash component, string or number; 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
+ - persisted_props (list of a value equal to: 'checked's; default ['checked']):
46
+ Properties whose user interactions will persist after refreshing
47
+ the component or the page. Since only `value` is allowed this
48
+ prop can normally be ignored.
49
+
50
+ - persistence (boolean | string | number; optional):
51
+ Used to allow user interactions in this component to be persisted
52
+ when the component - or the page - is refreshed. If `persisted`
53
+ is truthy and hasn't changed from its previous value, a `value`
54
+ that the user has changed while using the app will keep that
55
+ change, as long as the new `value` also matches what was given
56
+ originally. Used in conjunction with `persistence_type`.
57
+
58
+ - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
59
+ Where persisted user changes will be stored: memory: only kept in
60
+ memory, reset on page refresh. local: window.localStorage, data
61
+ is kept after the browser quit. session: window.sessionStorage,
62
+ data is cleared once the browser quit.
63
+
64
+ - readOnly (boolean; default False)
65
+
66
+ - style (dict; optional)"""
67
+ _children_props = ['label']
68
+ _base_nodes = ['label', 'children']
69
+ _namespace = 'feffery_antd_components'
70
+ _type = 'AntdCheckbox'
71
+ @_explicitize_args
72
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, disabled=Component.UNDEFINED, label=Component.UNDEFINED, autoFocus=Component.UNDEFINED, checked=Component.UNDEFINED, indeterminate=Component.UNDEFINED, readOnly=Component.UNDEFINED, batchPropsNames=Component.UNDEFINED, batchPropsValues=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
73
+ self._prop_names = ['id', 'autoFocus', 'batchPropsNames', 'batchPropsValues', 'checked', 'className', 'disabled', 'indeterminate', 'key', 'label', 'loading_state', 'persisted_props', 'persistence', 'persistence_type', 'readOnly', 'style']
74
+ self._valid_wildcard_attributes = []
75
+ self.available_properties = ['id', 'autoFocus', 'batchPropsNames', 'batchPropsValues', 'checked', 'className', 'disabled', 'indeterminate', 'key', 'label', 'loading_state', 'persisted_props', 'persistence', 'persistence_type', 'readOnly', 'style']
76
+ self.available_wildcard_properties = []
77
+ _explicit_args = kwargs.pop('_explicit_args')
78
+ _locals = locals()
79
+ _locals.update(kwargs) # For wildcard attrs and excess named props
80
+ args = {k: _locals[k] for k in _explicit_args}
81
+
82
+ super(AntdCheckbox, self).__init__(**args)
@@ -0,0 +1,86 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdCheckboxGroup(Component):
7
+ """An AntdCheckboxGroup 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
+ - disabled (boolean; default False)
21
+
22
+ - key (string; optional)
23
+
24
+ - loading_state (dict; optional)
25
+
26
+ `loading_state` is a dict with keys:
27
+
28
+ - component_name (string; optional):
29
+ Holds the name of the component that is loading.
30
+
31
+ - is_loading (boolean; optional):
32
+ Determines if the component is loading or not.
33
+
34
+ - prop_name (string; optional):
35
+ Holds which property is loading.
36
+
37
+ - options (list of dicts; optional)
38
+
39
+ `options` is a list of dicts with keys:
40
+
41
+ - disabled (boolean; optional)
42
+
43
+ - label (a list of or a singular dash component, string or number; optional)
44
+
45
+ - value (string | number; optional)
46
+
47
+ - persisted_props (list of a value equal to: 'value's; default ['value']):
48
+ Properties whose user interactions will persist after refreshing
49
+ the component or the page. Since only `value` is allowed this
50
+ prop can normally be ignored.
51
+
52
+ - persistence (boolean | string | number; optional):
53
+ Used to allow user interactions in this component to be persisted
54
+ when the component - or the page - is refreshed. If `persisted`
55
+ is truthy and hasn't changed from its previous value, a `value`
56
+ that the user has changed while using the app will keep that
57
+ change, as long as the new `value` also matches what was given
58
+ originally. Used in conjunction with `persistence_type`.
59
+
60
+ - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
61
+ Where persisted user changes will be stored: memory: only kept in
62
+ memory, reset on page refresh. local: window.localStorage, data
63
+ is kept after the browser quit. session: window.sessionStorage,
64
+ data is cleared once the browser quit.
65
+
66
+ - readOnly (boolean; default False)
67
+
68
+ - style (dict; optional)
69
+
70
+ - value (list of string | numbers; optional)"""
71
+ _children_props = ['options[].label']
72
+ _base_nodes = ['children']
73
+ _namespace = 'feffery_antd_components'
74
+ _type = 'AntdCheckboxGroup'
75
+ @_explicitize_args
76
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, disabled=Component.UNDEFINED, options=Component.UNDEFINED, value=Component.UNDEFINED, readOnly=Component.UNDEFINED, batchPropsNames=Component.UNDEFINED, batchPropsValues=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
77
+ self._prop_names = ['id', 'batchPropsNames', 'batchPropsValues', 'className', 'disabled', 'key', 'loading_state', 'options', 'persisted_props', 'persistence', 'persistence_type', 'readOnly', 'style', 'value']
78
+ self._valid_wildcard_attributes = []
79
+ self.available_properties = ['id', 'batchPropsNames', 'batchPropsValues', 'className', 'disabled', 'key', 'loading_state', 'options', 'persisted_props', 'persistence', 'persistence_type', 'readOnly', '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
+ super(AntdCheckboxGroup, self).__init__(**args)
@@ -0,0 +1,147 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdCol(Component):
7
+ """An AntdCol 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
+ - flex (string | number; optional)
21
+
22
+ - key (string; optional)
23
+
24
+ - lg (dict; optional)
25
+
26
+ `lg` is a number | dict with keys:
27
+
28
+ - offset (number; optional)
29
+
30
+ - order (number; optional)
31
+
32
+ - pull (number; optional)
33
+
34
+ - push (number; optional)
35
+
36
+ - span (number; optional)
37
+
38
+ - loading_state (dict; optional)
39
+
40
+ `loading_state` is a dict with keys:
41
+
42
+ - component_name (string; optional):
43
+ Holds the name of the component that is loading.
44
+
45
+ - is_loading (boolean; optional):
46
+ Determines if the component is loading or not.
47
+
48
+ - prop_name (string; optional):
49
+ Holds which property is loading.
50
+
51
+ - md (dict; optional)
52
+
53
+ `md` is a number | dict with keys:
54
+
55
+ - offset (number; optional)
56
+
57
+ - order (number; optional)
58
+
59
+ - pull (number; optional)
60
+
61
+ - push (number; optional)
62
+
63
+ - span (number; optional)
64
+
65
+ - offset (number; default 0)
66
+
67
+ - order (number; default 0)
68
+
69
+ - pull (number; default 0)
70
+
71
+ - push (number; default 0)
72
+
73
+ - sm (dict; optional)
74
+
75
+ `sm` is a number | dict with keys:
76
+
77
+ - offset (number; optional)
78
+
79
+ - order (number; optional)
80
+
81
+ - pull (number; optional)
82
+
83
+ - push (number; optional)
84
+
85
+ - span (number; optional)
86
+
87
+ - span (number; optional)
88
+
89
+ - style (dict; optional)
90
+
91
+ - xl (dict; optional)
92
+
93
+ `xl` is a number | dict with keys:
94
+
95
+ - offset (number; optional)
96
+
97
+ - order (number; optional)
98
+
99
+ - pull (number; optional)
100
+
101
+ - push (number; optional)
102
+
103
+ - span (number; optional)
104
+
105
+ - xs (dict; optional)
106
+
107
+ `xs` is a number | dict with keys:
108
+
109
+ - offset (number; optional)
110
+
111
+ - order (number; optional)
112
+
113
+ - pull (number; optional)
114
+
115
+ - push (number; optional)
116
+
117
+ - span (number; optional)
118
+
119
+ - xxl (dict; optional)
120
+
121
+ `xxl` is a number | dict with keys:
122
+
123
+ - offset (number; optional)
124
+
125
+ - order (number; optional)
126
+
127
+ - pull (number; optional)
128
+
129
+ - push (number; optional)
130
+
131
+ - span (number; optional)"""
132
+ _children_props = []
133
+ _base_nodes = ['children']
134
+ _namespace = 'feffery_antd_components'
135
+ _type = 'AntdCol'
136
+ @_explicitize_args
137
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, span=Component.UNDEFINED, offset=Component.UNDEFINED, order=Component.UNDEFINED, pull=Component.UNDEFINED, push=Component.UNDEFINED, flex=Component.UNDEFINED, xs=Component.UNDEFINED, sm=Component.UNDEFINED, md=Component.UNDEFINED, lg=Component.UNDEFINED, xl=Component.UNDEFINED, xxl=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
138
+ self._prop_names = ['children', 'id', 'className', 'flex', 'key', 'lg', 'loading_state', 'md', 'offset', 'order', 'pull', 'push', 'sm', 'span', 'style', 'xl', 'xs', 'xxl']
139
+ self._valid_wildcard_attributes = []
140
+ self.available_properties = ['children', 'id', 'className', 'flex', 'key', 'lg', 'loading_state', 'md', 'offset', 'order', 'pull', 'push', 'sm', 'span', 'style', 'xl', 'xs', 'xxl']
141
+ self.available_wildcard_properties = []
142
+ _explicit_args = kwargs.pop('_explicit_args')
143
+ _locals = locals()
144
+ _locals.update(kwargs) # For wildcard attrs and excess named props
145
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
146
+
147
+ super(AntdCol, self).__init__(children=children, **args)
@@ -0,0 +1,82 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdCollapse(Component):
7
+ """An AntdCollapse 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 True)
17
+
18
+ - className (string | dict; optional)
19
+
20
+ - collapsible (a value equal to: 'header', 'disabled', 'icon'; optional)
21
+
22
+ - forceRender (boolean; default False)
23
+
24
+ - ghost (boolean; default False)
25
+
26
+ - isOpen (boolean; default True)
27
+
28
+ - key (string; optional)
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
+ - persisted_props (list of a value equal to: 'isOpen's; default ['isOpen']):
44
+ Properties whose user interactions will persist after refreshing
45
+ the component or the page. Since only `value` is allowed this
46
+ prop can normally be ignored.
47
+
48
+ - persistence (boolean | string | number; optional):
49
+ Used to allow user interactions in this component to be persisted
50
+ when the component - or the page - is refreshed. If `persisted`
51
+ is truthy and hasn't changed from its previous value, a `value`
52
+ that the user has changed while using the app will keep that
53
+ change, as long as the new `value` also matches what was given
54
+ originally. Used in conjunction with `persistence_type`.
55
+
56
+ - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
57
+ Where persisted user changes will be stored: memory: only kept in
58
+ memory, reset on page refresh. local: window.localStorage, data
59
+ is kept after the browser quit. session: window.sessionStorage,
60
+ data is cleared once the browser quit.
61
+
62
+ - showArrow (boolean; default True)
63
+
64
+ - style (dict; optional)
65
+
66
+ - title (a list of or a singular dash component, string or number; optional)"""
67
+ _children_props = ['title']
68
+ _base_nodes = ['title', 'children']
69
+ _namespace = 'feffery_antd_components'
70
+ _type = 'AntdCollapse'
71
+ @_explicitize_args
72
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, title=Component.UNDEFINED, isOpen=Component.UNDEFINED, bordered=Component.UNDEFINED, showArrow=Component.UNDEFINED, ghost=Component.UNDEFINED, collapsible=Component.UNDEFINED, forceRender=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
73
+ self._prop_names = ['children', 'id', 'bordered', 'className', 'collapsible', 'forceRender', 'ghost', 'isOpen', 'key', 'loading_state', 'persisted_props', 'persistence', 'persistence_type', 'showArrow', 'style', 'title']
74
+ self._valid_wildcard_attributes = []
75
+ self.available_properties = ['children', 'id', 'bordered', 'className', 'collapsible', 'forceRender', 'ghost', 'isOpen', 'key', 'loading_state', 'persisted_props', 'persistence', 'persistence_type', 'showArrow', 'style', 'title']
76
+ self.available_wildcard_properties = []
77
+ _explicit_args = kwargs.pop('_explicit_args')
78
+ _locals = locals()
79
+ _locals.update(kwargs) # For wildcard attrs and excess named props
80
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
81
+
82
+ super(AntdCollapse, self).__init__(children=children, **args)
@@ -0,0 +1,100 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class AntdColorPicker(Component):
7
+ """An AntdColorPicker component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - allowClear (boolean; default False):
15
+ 是否允许清除已选颜色 默认:False.
16
+
17
+ - arrow (dict; optional):
18
+ 配置颜色选择面板附带的箭头 默认:True.
19
+
20
+ `arrow` is a boolean | dict with keys:
21
+
22
+ - pointAtCenter (boolean; optional):
23
+ 箭头是否位于面板中心.
24
+
25
+ - className (string | dict; optional)
26
+
27
+ - disabled (boolean; default False):
28
+ 是否禁用当前组件 默认:False.
29
+
30
+ - disabledAlpha (boolean; default True):
31
+ 是否禁用透明度选择 默认:True.
32
+
33
+ - format (a value equal to: 'rgb', 'hex', 'hsb'; default 'hex'):
34
+ 设置或监听当前的颜色格式,可选的有'rgb'、'hex'、'hsb' 默认:'hex'.
35
+
36
+ - key (string; optional)
37
+
38
+ - loading_state (dict; optional)
39
+
40
+ `loading_state` is a dict with keys:
41
+
42
+ - component_name (string; optional):
43
+ Holds the name of the component that is loading.
44
+
45
+ - is_loading (boolean; optional):
46
+ Determines if the component is loading or not.
47
+
48
+ - prop_name (string; optional):
49
+ Holds which property is loading.
50
+
51
+ - open (boolean; optional):
52
+ 设置或监听当前颜色选择面板展开状态.
53
+
54
+ - placement (a value equal to: 'top', 'topLeft', 'topRight', 'bottom', 'bottomLeft', 'bottomRight'; default 'bottomLeft'):
55
+ 设置颜色选择面板的展开方位,可选的有'top'、'topLeft'、'topRight'、'bottom'、'bottomLeft'、'bottomRight'
56
+ 默认:'bottomLeft'.
57
+
58
+ - presets (list of dicts; optional):
59
+ 配置预设颜色选择项列表.
60
+
61
+ `presets` is a list of dicts with keys:
62
+
63
+ - colors (list of strings; optional):
64
+ 当前项对应的预设色彩值数组.
65
+
66
+ - defaultOpen (boolean; optional):
67
+ 当前项默认是否展开.
68
+
69
+ - label (a list of or a singular dash component, string or number; optional):
70
+ 当前项的标签内容.
71
+
72
+ - showText (boolean; default False):
73
+ 是否显示颜色值文本 默认:False.
74
+
75
+ - size (a value equal to: 'large', 'middle', 'small'; default 'middle'):
76
+ 设置触发器尺寸规格,可选的有'large'、'middle'、'small' 默认:'middle'.
77
+
78
+ - style (dict; optional)
79
+
80
+ - trigger (a value equal to: 'hover', 'click'; default 'click'):
81
+ 设置颜色选择面板触发方式,可选的有'hover'、'click' 默认:'click'.
82
+
83
+ - value (string; default '#1677FF'):
84
+ 设置或监听当前选中的颜色值 默认:'#1677FF'."""
85
+ _children_props = ['presets[].label']
86
+ _base_nodes = ['children']
87
+ _namespace = 'feffery_antd_components'
88
+ _type = 'AntdColorPicker'
89
+ @_explicitize_args
90
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, allowClear=Component.UNDEFINED, arrow=Component.UNDEFINED, value=Component.UNDEFINED, format=Component.UNDEFINED, disabled=Component.UNDEFINED, disabledAlpha=Component.UNDEFINED, open=Component.UNDEFINED, presets=Component.UNDEFINED, placement=Component.UNDEFINED, showText=Component.UNDEFINED, size=Component.UNDEFINED, trigger=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
91
+ self._prop_names = ['id', 'allowClear', 'arrow', 'className', 'disabled', 'disabledAlpha', 'format', 'key', 'loading_state', 'open', 'placement', 'presets', 'showText', 'size', 'style', 'trigger', 'value']
92
+ self._valid_wildcard_attributes = []
93
+ self.available_properties = ['id', 'allowClear', 'arrow', 'className', 'disabled', 'disabledAlpha', 'format', 'key', 'loading_state', 'open', 'placement', 'presets', 'showText', 'size', 'style', 'trigger', 'value']
94
+ self.available_wildcard_properties = []
95
+ _explicit_args = kwargs.pop('_explicit_args')
96
+ _locals = locals()
97
+ _locals.update(kwargs) # For wildcard attrs and excess named props
98
+ args = {k: _locals[k] for k in _explicit_args}
99
+
100
+ super(AntdColorPicker, self).__init__(**args)