feffery_antd_components 0.1.3 → 0.1.4

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 (98) hide show
  1. package/DESCRIPTION +1 -1
  2. package/Project.toml +1 -1
  3. package/README.md +2 -2
  4. package/feffery_antd_components/AntdTable.py +61 -4
  5. package/feffery_antd_components/feffery_antd_components.min.js +9 -9
  6. package/feffery_antd_components/metadata.json +290 -1
  7. package/feffery_antd_components/package-info.json +3 -3
  8. package/package.json +3 -3
  9. package/src/FefferyAntdComponents.jl +3 -3
  10. package/src/jl/'feffery'_antdtable.jl +34 -4
  11. package/src/lib/components/AntdTable.react.js +190 -34
  12. package/usage.py +95 -5
  13. package/build/lib/feffery_antd_components/AntdAffix.py +0 -54
  14. package/build/lib/feffery_antd_components/AntdAlert.py +0 -58
  15. package/build/lib/feffery_antd_components/AntdAnchor.py +0 -54
  16. package/build/lib/feffery_antd_components/AntdAvatar.py +0 -79
  17. package/build/lib/feffery_antd_components/AntdBackTop.py +0 -52
  18. package/build/lib/feffery_antd_components/AntdBadge.py +0 -70
  19. package/build/lib/feffery_antd_components/AntdBreadcrumb.py +0 -74
  20. package/build/lib/feffery_antd_components/AntdButton.py +0 -66
  21. package/build/lib/feffery_antd_components/AntdCalendar.py +0 -75
  22. package/build/lib/feffery_antd_components/AntdCard.py +0 -86
  23. package/build/lib/feffery_antd_components/AntdCardGrid.py +0 -52
  24. package/build/lib/feffery_antd_components/AntdCarousel.py +0 -56
  25. package/build/lib/feffery_antd_components/AntdCascader.py +0 -91
  26. package/build/lib/feffery_antd_components/AntdCheckbox.py +0 -71
  27. package/build/lib/feffery_antd_components/AntdCheckboxGroup.py +0 -79
  28. package/build/lib/feffery_antd_components/AntdCol.py +0 -146
  29. package/build/lib/feffery_antd_components/AntdCollapse.py +0 -79
  30. package/build/lib/feffery_antd_components/AntdComment.py +0 -88
  31. package/build/lib/feffery_antd_components/AntdContent.py +0 -50
  32. package/build/lib/feffery_antd_components/AntdCountdown.py +0 -72
  33. package/build/lib/feffery_antd_components/AntdDatePicker.py +0 -93
  34. package/build/lib/feffery_antd_components/AntdDateRangePicker.py +0 -89
  35. package/build/lib/feffery_antd_components/AntdDescriptionItem.py +0 -58
  36. package/build/lib/feffery_antd_components/AntdDescriptions.py +0 -76
  37. package/build/lib/feffery_antd_components/AntdDivider.py +0 -62
  38. package/build/lib/feffery_antd_components/AntdDraggerUpload.py +0 -82
  39. package/build/lib/feffery_antd_components/AntdDrawer.py +0 -72
  40. package/build/lib/feffery_antd_components/AntdDropdown.py +0 -84
  41. package/build/lib/feffery_antd_components/AntdEmpty.py +0 -54
  42. package/build/lib/feffery_antd_components/AntdFooter.py +0 -50
  43. package/build/lib/feffery_antd_components/AntdForm.py +0 -72
  44. package/build/lib/feffery_antd_components/AntdFormItem.py +0 -84
  45. package/build/lib/feffery_antd_components/AntdHeader.py +0 -50
  46. package/build/lib/feffery_antd_components/AntdIcon.py +0 -48
  47. package/build/lib/feffery_antd_components/AntdImage.py +0 -62
  48. package/build/lib/feffery_antd_components/AntdInput.py +0 -99
  49. package/build/lib/feffery_antd_components/AntdInputNumber.py +0 -99
  50. package/build/lib/feffery_antd_components/AntdLayout.py +0 -50
  51. package/build/lib/feffery_antd_components/AntdMentions.py +0 -74
  52. package/build/lib/feffery_antd_components/AntdMenu.py +0 -81
  53. package/build/lib/feffery_antd_components/AntdMessage.py +0 -54
  54. package/build/lib/feffery_antd_components/AntdModal.py +0 -88
  55. package/build/lib/feffery_antd_components/AntdNotification.py +0 -60
  56. package/build/lib/feffery_antd_components/AntdPageHeader.py +0 -62
  57. package/build/lib/feffery_antd_components/AntdPagination.py +0 -95
  58. package/build/lib/feffery_antd_components/AntdParagraph.py +0 -70
  59. package/build/lib/feffery_antd_components/AntdPopconfirm.py +0 -80
  60. package/build/lib/feffery_antd_components/AntdPopover.py +0 -74
  61. package/build/lib/feffery_antd_components/AntdProgress.py +0 -88
  62. package/build/lib/feffery_antd_components/AntdRadio.py +0 -54
  63. package/build/lib/feffery_antd_components/AntdRadioGroup.py +0 -89
  64. package/build/lib/feffery_antd_components/AntdRate.py +0 -60
  65. package/build/lib/feffery_antd_components/AntdResult.py +0 -52
  66. package/build/lib/feffery_antd_components/AntdRibbon.py +0 -54
  67. package/build/lib/feffery_antd_components/AntdRow.py +0 -72
  68. package/build/lib/feffery_antd_components/AntdSelect.py +0 -117
  69. package/build/lib/feffery_antd_components/AntdSider.py +0 -68
  70. package/build/lib/feffery_antd_components/AntdSkeleton.py +0 -86
  71. package/build/lib/feffery_antd_components/AntdSlider.py +0 -68
  72. package/build/lib/feffery_antd_components/AntdSpace.py +0 -60
  73. package/build/lib/feffery_antd_components/AntdSpin.py +0 -68
  74. package/build/lib/feffery_antd_components/AntdStatistic.py +0 -74
  75. package/build/lib/feffery_antd_components/AntdSteps.py +0 -72
  76. package/build/lib/feffery_antd_components/AntdSwitch.py +0 -75
  77. package/build/lib/feffery_antd_components/AntdTabPane.py +0 -66
  78. package/build/lib/feffery_antd_components/AntdTable.py +0 -179
  79. package/build/lib/feffery_antd_components/AntdTabs.py +0 -81
  80. package/build/lib/feffery_antd_components/AntdTag.py +0 -54
  81. package/build/lib/feffery_antd_components/AntdTestLink.py +0 -58
  82. package/build/lib/feffery_antd_components/AntdText.py +0 -72
  83. package/build/lib/feffery_antd_components/AntdTimePicker.py +0 -93
  84. package/build/lib/feffery_antd_components/AntdTimeRangePicker.py +0 -93
  85. package/build/lib/feffery_antd_components/AntdTimeline.py +0 -68
  86. package/build/lib/feffery_antd_components/AntdTitle.py +0 -74
  87. package/build/lib/feffery_antd_components/AntdTooltip.py +0 -64
  88. package/build/lib/feffery_antd_components/AntdTransfer.py +0 -99
  89. package/build/lib/feffery_antd_components/AntdTree.py +0 -107
  90. package/build/lib/feffery_antd_components/AntdTreeSelect.py +0 -103
  91. package/build/lib/feffery_antd_components/AntdTypography.py +0 -50
  92. package/build/lib/feffery_antd_components/AntdUpload.py +0 -80
  93. package/build/lib/feffery_antd_components/Link.py +0 -58
  94. package/build/lib/feffery_antd_components/__init__.py +0 -53
  95. package/build/lib/feffery_antd_components/_imports_.py +0 -157
  96. package/build/lib/feffery_antd_components/feffery_antd_components.min.js +0 -344
  97. package/build/lib/feffery_antd_components/metadata.json +0 -14640
  98. package/build/lib/feffery_antd_components/package-info.json +0 -77
@@ -1,74 +0,0 @@
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; optional)
15
-
16
- `autoSize` is a boolean | dict with keys:
17
-
18
- - maxRows (number; optional)
19
-
20
- - minRows (number; optional)
21
-
22
- - className (string; optional)
23
-
24
- - defaultValue (string; optional)
25
-
26
- - disabled (boolean; 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
- - options (list of dicts; optional)
42
-
43
- `options` is a list of dicts with keys:
44
-
45
- - label (string; optional)
46
-
47
- - value (string; optional)
48
-
49
- - placement (a value equal to: 'top', 'bottom'; optional)
50
-
51
- - prefix (string; optional)
52
-
53
- - selectedOptions (list of strings; optional)
54
-
55
- - style (dict; optional)
56
-
57
- - value (string; optional)"""
58
- @_explicitize_args
59
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, autoSize=Component.UNDEFINED, prefix=Component.UNDEFINED, defaultValue=Component.UNDEFINED, placement=Component.UNDEFINED, options=Component.UNDEFINED, selectedOptions=Component.UNDEFINED, value=Component.UNDEFINED, disabled=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
60
- self._prop_names = ['id', 'autoSize', 'className', 'defaultValue', 'disabled', 'loading_state', 'options', 'placement', 'prefix', 'selectedOptions', 'style', 'value']
61
- self._type = 'AntdMentions'
62
- self._namespace = 'feffery_antd_components'
63
- self._valid_wildcard_attributes = []
64
- self.available_properties = ['id', 'autoSize', 'className', 'defaultValue', 'disabled', 'loading_state', 'options', 'placement', 'prefix', 'selectedOptions', 'style', 'value']
65
- self.available_wildcard_properties = []
66
- _explicit_args = kwargs.pop('_explicit_args')
67
- _locals = locals()
68
- _locals.update(kwargs) # For wildcard attrs
69
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
70
- for k in []:
71
- if k not in args:
72
- raise TypeError(
73
- 'Required argument `' + k + '` was not specified.')
74
- super(AntdMentions, self).__init__(**args)
@@ -1,81 +0,0 @@
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; optional)
15
-
16
- - currentKey (string; optional)
17
-
18
- - defaultOpenKeys (list of strings; optional)
19
-
20
- - defaultSelectedKey (string; optional)
21
-
22
- - loading_state (dict; optional)
23
-
24
- `loading_state` is a dict with keys:
25
-
26
- - component_name (string; optional):
27
- Holds the name of the component that is loading.
28
-
29
- - is_loading (boolean; optional):
30
- Determines if the component is loading or not.
31
-
32
- - prop_name (string; optional):
33
- Holds which property is loading.
34
-
35
- - menuItems (list; optional)
36
-
37
- - mode (a value equal to: 'vertical', 'horizontal', 'inline'; default 'vertical')
38
-
39
- - openKeys (list of strings; optional)
40
-
41
- - persisted_props (list of a value equal to: 'currentKey', 'openKeys's; default ['currentKey', 'openKeys']):
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
- - renderCollapsedButton (boolean; default False)
61
-
62
- - style (dict; optional)
63
-
64
- - theme (a value equal to: 'light', 'dark'; default 'light')"""
65
- @_explicitize_args
66
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, menuItems=Component.UNDEFINED, mode=Component.UNDEFINED, theme=Component.UNDEFINED, currentKey=Component.UNDEFINED, openKeys=Component.UNDEFINED, defaultOpenKeys=Component.UNDEFINED, defaultSelectedKey=Component.UNDEFINED, renderCollapsedButton=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
67
- self._prop_names = ['id', 'className', 'currentKey', 'defaultOpenKeys', 'defaultSelectedKey', 'loading_state', 'menuItems', 'mode', 'openKeys', 'persisted_props', 'persistence', 'persistence_type', 'renderCollapsedButton', 'style', 'theme']
68
- self._type = 'AntdMenu'
69
- self._namespace = 'feffery_antd_components'
70
- self._valid_wildcard_attributes = []
71
- self.available_properties = ['id', 'className', 'currentKey', 'defaultOpenKeys', 'defaultSelectedKey', 'loading_state', 'menuItems', 'mode', 'openKeys', 'persisted_props', 'persistence', 'persistence_type', 'renderCollapsedButton', 'style', 'theme']
72
- self.available_wildcard_properties = []
73
- _explicit_args = kwargs.pop('_explicit_args')
74
- _locals = locals()
75
- _locals.update(kwargs) # For wildcard attrs
76
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
77
- for k in []:
78
- if k not in args:
79
- raise TypeError(
80
- 'Required argument `' + k + '` was not specified.')
81
- super(AntdMenu, self).__init__(**args)
@@ -1,54 +0,0 @@
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; optional)
19
-
20
- - icon (string; optional)
21
-
22
- - loading_state (dict; optional)
23
-
24
- `loading_state` is a dict with keys:
25
-
26
- - component_name (string; optional):
27
- Holds the name of the component that is loading.
28
-
29
- - is_loading (boolean; optional):
30
- Determines if the component is loading or not.
31
-
32
- - prop_name (string; optional):
33
- Holds which property is loading.
34
-
35
- - style (dict; optional)
36
-
37
- - type (a value equal to: 'default', 'success', 'error', 'info', 'warning'; default 'default')"""
38
- @_explicitize_args
39
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, content=Component.UNDEFINED, type=Component.UNDEFINED, duration=Component.UNDEFINED, icon=Component.UNDEFINED, **kwargs):
40
- self._prop_names = ['id', 'className', 'content', 'duration', 'icon', 'loading_state', 'style', 'type']
41
- self._type = 'AntdMessage'
42
- self._namespace = 'feffery_antd_components'
43
- self._valid_wildcard_attributes = []
44
- self.available_properties = ['id', 'className', 'content', 'duration', 'icon', 'loading_state', 'style', 'type']
45
- self.available_wildcard_properties = []
46
- _explicit_args = kwargs.pop('_explicit_args')
47
- _locals = locals()
48
- _locals.update(kwargs) # For wildcard attrs
49
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
50
- for k in []:
51
- if k not in args:
52
- raise TypeError(
53
- 'Required argument `' + k + '` was not specified.')
54
- super(AntdMessage, self).__init__(**args)
@@ -1,88 +0,0 @@
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
- - cancelButtonProps (dict; optional)
17
-
18
- - cancelCounts (number; default 0)
19
-
20
- - cancelText (string; optional)
21
-
22
- - centered (boolean; optional)
23
-
24
- - className (string; optional)
25
-
26
- - closable (boolean; optional)
27
-
28
- - closeCounts (number; default 0)
29
-
30
- - keyboard (boolean; 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
- - mask (boolean; optional)
48
-
49
- - maskClosable (boolean; optional)
50
-
51
- - okButtonProps (dict; optional)
52
-
53
- - okCounts (number; default 0)
54
-
55
- - okText (string; optional)
56
-
57
- - renderFooter (boolean; optional)
58
-
59
- - style (dict; optional)
60
-
61
- - title (dict; optional)
62
-
63
- `title` is a string | dict with keys:
64
-
65
- - content (string; optional)
66
-
67
- - prefixIcon (string; optional)
68
-
69
- - visible (boolean; default False)
70
-
71
- - width (number; optional)"""
72
- @_explicitize_args
73
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, title=Component.UNDEFINED, visible=Component.UNDEFINED, okText=Component.UNDEFINED, okButtonProps=Component.UNDEFINED, cancelText=Component.UNDEFINED, cancelButtonProps=Component.UNDEFINED, renderFooter=Component.UNDEFINED, width=Component.UNDEFINED, centered=Component.UNDEFINED, keyboard=Component.UNDEFINED, closable=Component.UNDEFINED, mask=Component.UNDEFINED, maskClosable=Component.UNDEFINED, okCounts=Component.UNDEFINED, cancelCounts=Component.UNDEFINED, closeCounts=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
74
- self._prop_names = ['children', 'id', 'cancelButtonProps', 'cancelCounts', 'cancelText', 'centered', 'className', 'closable', 'closeCounts', 'keyboard', 'loading_state', 'locale', 'mask', 'maskClosable', 'okButtonProps', 'okCounts', 'okText', 'renderFooter', 'style', 'title', 'visible', 'width']
75
- self._type = 'AntdModal'
76
- self._namespace = 'feffery_antd_components'
77
- self._valid_wildcard_attributes = []
78
- self.available_properties = ['children', 'id', 'cancelButtonProps', 'cancelCounts', 'cancelText', 'centered', 'className', 'closable', 'closeCounts', 'keyboard', 'loading_state', 'locale', 'mask', 'maskClosable', 'okButtonProps', 'okCounts', 'okText', 'renderFooter', 'style', 'title', 'visible', 'width']
79
- self.available_wildcard_properties = []
80
- _explicit_args = kwargs.pop('_explicit_args')
81
- _locals = locals()
82
- _locals.update(kwargs) # For wildcard attrs
83
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
84
- for k in []:
85
- if k not in args:
86
- raise TypeError(
87
- 'Required argument `' + k + '` was not specified.')
88
- super(AntdModal, self).__init__(children=children, **args)
@@ -1,60 +0,0 @@
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; optional)
15
-
16
- - className (string; optional)
17
-
18
- - description (string; optional)
19
-
20
- - duration (number; optional)
21
-
22
- - loading_state (dict; optional)
23
-
24
- `loading_state` is a dict with keys:
25
-
26
- - component_name (string; optional):
27
- Holds the name of the component that is loading.
28
-
29
- - is_loading (boolean; optional):
30
- Determines if the component is loading or not.
31
-
32
- - prop_name (string; optional):
33
- Holds which property is loading.
34
-
35
- - message (string; optional)
36
-
37
- - placement (a value equal to: 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'; optional)
38
-
39
- - style (dict; optional)
40
-
41
- - top (number; optional)
42
-
43
- - type (a value equal to: 'default', 'success', 'error', 'info', 'warning'; default 'default')"""
44
- @_explicitize_args
45
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, message=Component.UNDEFINED, description=Component.UNDEFINED, type=Component.UNDEFINED, placement=Component.UNDEFINED, top=Component.UNDEFINED, bottom=Component.UNDEFINED, duration=Component.UNDEFINED, **kwargs):
46
- self._prop_names = ['id', 'bottom', 'className', 'description', 'duration', 'loading_state', 'message', 'placement', 'style', 'top', 'type']
47
- self._type = 'AntdNotification'
48
- self._namespace = 'feffery_antd_components'
49
- self._valid_wildcard_attributes = []
50
- self.available_properties = ['id', 'bottom', 'className', 'description', 'duration', 'loading_state', 'message', 'placement', 'style', 'top', 'type']
51
- self.available_wildcard_properties = []
52
- _explicit_args = kwargs.pop('_explicit_args')
53
- _locals = locals()
54
- _locals.update(kwargs) # For wildcard attrs
55
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
56
- for k in []:
57
- if k not in args:
58
- raise TypeError(
59
- 'Required argument `' + k + '` was not specified.')
60
- super(AntdNotification, self).__init__(**args)
@@ -1,62 +0,0 @@
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; optional)
21
-
22
- - ghost (boolean; optional)
23
-
24
- - historyBackDisabled (boolean; default False)
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
- - showBackIcon (boolean; default True)
40
-
41
- - style (dict; optional)
42
-
43
- - subTitle (string; optional)
44
-
45
- - title (string; optional)"""
46
- @_explicitize_args
47
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=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):
48
- self._prop_names = ['children', 'id', 'backClicks', 'className', 'ghost', 'historyBackDisabled', 'loading_state', 'showBackIcon', 'style', 'subTitle', 'title']
49
- self._type = 'AntdPageHeader'
50
- self._namespace = 'feffery_antd_components'
51
- self._valid_wildcard_attributes = []
52
- self.available_properties = ['children', 'id', 'backClicks', 'className', 'ghost', 'historyBackDisabled', 'loading_state', 'showBackIcon', 'style', 'subTitle', 'title']
53
- self.available_wildcard_properties = []
54
- _explicit_args = kwargs.pop('_explicit_args')
55
- _locals = locals()
56
- _locals.update(kwargs) # For wildcard attrs
57
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
58
- for k in []:
59
- if k not in args:
60
- raise TypeError(
61
- 'Required argument `' + k + '` was not specified.')
62
- super(AntdPageHeader, self).__init__(children=children, **args)
@@ -1,95 +0,0 @@
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
- - className (string; optional)
15
-
16
- - current (number; optional)
17
-
18
- - defaultCurrent (number; default 1)
19
-
20
- - defaultPageSize (number; default 10)
21
-
22
- - disabled (boolean; optional)
23
-
24
- - hideOnSinglePage (boolean; 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
- - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
40
-
41
- - pageSize (number; optional)
42
-
43
- - pageSizeOptions (list of numbers; optional)
44
-
45
- - persisted_props (list of a value equal to: 'current', 'pageSize's; default ['current', 'pageSize']):
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
- - showQuickJumper (boolean; optional)
65
-
66
- - showSizeChanger (boolean; optional)
67
-
68
- - showTotalPrefix (string; optional)
69
-
70
- - showTotalSuffix (string; optional)
71
-
72
- - simple (boolean; optional)
73
-
74
- - size (a value equal to: 'default', 'small'; optional)
75
-
76
- - style (dict; optional)
77
-
78
- - total (number; optional)"""
79
- @_explicitize_args
80
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=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, showQuickJumper=Component.UNDEFINED, showSizeChanger=Component.UNDEFINED, showTotalPrefix=Component.UNDEFINED, showTotalSuffix=Component.UNDEFINED, simple=Component.UNDEFINED, size=Component.UNDEFINED, total=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
81
- self._prop_names = ['id', 'className', 'current', 'defaultCurrent', 'defaultPageSize', 'disabled', 'hideOnSinglePage', 'loading_state', 'locale', 'pageSize', 'pageSizeOptions', 'persisted_props', 'persistence', 'persistence_type', 'showQuickJumper', 'showSizeChanger', 'showTotalPrefix', 'showTotalSuffix', 'simple', 'size', 'style', 'total']
82
- self._type = 'AntdPagination'
83
- self._namespace = 'feffery_antd_components'
84
- self._valid_wildcard_attributes = []
85
- self.available_properties = ['id', 'className', 'current', 'defaultCurrent', 'defaultPageSize', 'disabled', 'hideOnSinglePage', 'loading_state', 'locale', 'pageSize', 'pageSizeOptions', 'persisted_props', 'persistence', 'persistence_type', 'showQuickJumper', 'showSizeChanger', 'showTotalPrefix', 'showTotalSuffix', 'simple', 'size', 'style', 'total']
86
- self.available_wildcard_properties = []
87
- _explicit_args = kwargs.pop('_explicit_args')
88
- _locals = locals()
89
- _locals.update(kwargs) # For wildcard attrs
90
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
91
- for k in []:
92
- if k not in args:
93
- raise TypeError(
94
- 'Required argument `' + k + '` was not specified.')
95
- super(AntdPagination, self).__init__(**args)
@@ -1,70 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdParagraph(Component):
7
- """An AntdParagraph 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; optional)
19
-
20
- - code (boolean; optional)
21
-
22
- - copyable (boolean; optional)
23
-
24
- - disabled (boolean; optional)
25
-
26
- - italic (boolean; 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
- - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
42
-
43
- - mark (boolean; optional)
44
-
45
- - strikethrough (boolean; optional)
46
-
47
- - strong (boolean; optional)
48
-
49
- - style (dict; optional)
50
-
51
- - type (a value equal to: 'secondary', 'success', 'warning', 'danger'; optional)
52
-
53
- - underline (boolean; optional)"""
54
- @_explicitize_args
55
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, code=Component.UNDEFINED, copyable=Component.UNDEFINED, strikethrough=Component.UNDEFINED, disabled=Component.UNDEFINED, mark=Component.UNDEFINED, strong=Component.UNDEFINED, italic=Component.UNDEFINED, underline=Component.UNDEFINED, type=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
56
- self._prop_names = ['children', 'id', 'className', 'code', 'copyable', 'disabled', 'italic', 'loading_state', 'locale', 'mark', 'strikethrough', 'strong', 'style', 'type', 'underline']
57
- self._type = 'AntdParagraph'
58
- self._namespace = 'feffery_antd_components'
59
- self._valid_wildcard_attributes = []
60
- self.available_properties = ['children', 'id', 'className', 'code', 'copyable', 'disabled', 'italic', 'loading_state', 'locale', 'mark', 'strikethrough', 'strong', 'style', 'type', 'underline']
61
- self.available_wildcard_properties = []
62
- _explicit_args = kwargs.pop('_explicit_args')
63
- _locals = locals()
64
- _locals.update(kwargs) # For wildcard attrs
65
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
66
- for k in []:
67
- if k not in args:
68
- raise TypeError(
69
- 'Required argument `' + k + '` was not specified.')
70
- super(AntdParagraph, self).__init__(children=children, **args)
@@ -1,80 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdPopconfirm(Component):
7
- """An AntdPopconfirm 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
- - cancelButtonProps (dict; optional)
19
-
20
- - cancelCounts (number; default 0)
21
-
22
- - cancelText (string; optional)
23
-
24
- - className (string; optional)
25
-
26
- - confirmCounts (number; default 0)
27
-
28
- - disabled (boolean; 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
- - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
44
-
45
- - mouseEnterDelay (number; optional)
46
-
47
- - mouseLeaveDelay (number; optional)
48
-
49
- - okButtonProps (dict; optional)
50
-
51
- - okText (string; optional)
52
-
53
- - overlayInnerStyle (dict; optional)
54
-
55
- - overlayStyle (dict; optional)
56
-
57
- - placement (a value equal to: 'top', 'left', 'right', 'bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'leftTop', 'leftBottom', 'rightTop', 'rightBottom'; optional)
58
-
59
- - style (dict; optional)
60
-
61
- - title (string; optional)
62
-
63
- - trigger (a value equal to: 'hover', 'focus', 'click' | list of a value equal to: 'hover', 'focus', 'click's; optional)"""
64
- @_explicitize_args
65
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, title=Component.UNDEFINED, disabled=Component.UNDEFINED, placement=Component.UNDEFINED, mouseEnterDelay=Component.UNDEFINED, mouseLeaveDelay=Component.UNDEFINED, overlayStyle=Component.UNDEFINED, overlayInnerStyle=Component.UNDEFINED, okText=Component.UNDEFINED, okButtonProps=Component.UNDEFINED, cancelText=Component.UNDEFINED, cancelButtonProps=Component.UNDEFINED, confirmCounts=Component.UNDEFINED, cancelCounts=Component.UNDEFINED, trigger=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
66
- self._prop_names = ['children', 'id', 'cancelButtonProps', 'cancelCounts', 'cancelText', 'className', 'confirmCounts', 'disabled', 'loading_state', 'locale', 'mouseEnterDelay', 'mouseLeaveDelay', 'okButtonProps', 'okText', 'overlayInnerStyle', 'overlayStyle', 'placement', 'style', 'title', 'trigger']
67
- self._type = 'AntdPopconfirm'
68
- self._namespace = 'feffery_antd_components'
69
- self._valid_wildcard_attributes = []
70
- self.available_properties = ['children', 'id', 'cancelButtonProps', 'cancelCounts', 'cancelText', 'className', 'confirmCounts', 'disabled', 'loading_state', 'locale', 'mouseEnterDelay', 'mouseLeaveDelay', 'okButtonProps', 'okText', 'overlayInnerStyle', 'overlayStyle', 'placement', 'style', 'title', 'trigger']
71
- self.available_wildcard_properties = []
72
- _explicit_args = kwargs.pop('_explicit_args')
73
- _locals = locals()
74
- _locals.update(kwargs) # For wildcard attrs
75
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
76
- for k in []:
77
- if k not in args:
78
- raise TypeError(
79
- 'Required argument `' + k + '` was not specified.')
80
- super(AntdPopconfirm, self).__init__(children=children, **args)