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,68 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdSider(Component):
7
- """An AntdSider 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
- - breakpoint (a value equal to: 'xs', 'sm', 'md', 'lg', 'xl', 'xxl'; optional)
19
-
20
- - className (string; optional)
21
-
22
- - collapsed (boolean; default False)
23
-
24
- - collapsedWidth (number; optional)
25
-
26
- - collapsible (boolean; optional)
27
-
28
- - defaultCollapsed (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
- - reverseArrow (boolean; optional)
44
-
45
- - style (dict; optional)
46
-
47
- - theme (a value equal to: 'light', 'dark'; optional)
48
-
49
- - trigger (a list of or a singular dash component, string or number; optional)
50
-
51
- - width (number; optional)"""
52
- @_explicitize_args
53
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, collapsed=Component.UNDEFINED, collapsedWidth=Component.UNDEFINED, collapsible=Component.UNDEFINED, defaultCollapsed=Component.UNDEFINED, reverseArrow=Component.UNDEFINED, theme=Component.UNDEFINED, width=Component.UNDEFINED, trigger=Component.UNDEFINED, breakpoint=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
54
- self._prop_names = ['children', 'id', 'breakpoint', 'className', 'collapsed', 'collapsedWidth', 'collapsible', 'defaultCollapsed', 'loading_state', 'reverseArrow', 'style', 'theme', 'trigger', 'width']
55
- self._type = 'AntdSider'
56
- self._namespace = 'feffery_antd_components'
57
- self._valid_wildcard_attributes = []
58
- self.available_properties = ['children', 'id', 'breakpoint', 'className', 'collapsed', 'collapsedWidth', 'collapsible', 'defaultCollapsed', 'loading_state', 'reverseArrow', 'style', 'theme', 'trigger', 'width']
59
- self.available_wildcard_properties = []
60
- _explicit_args = kwargs.pop('_explicit_args')
61
- _locals = locals()
62
- _locals.update(kwargs) # For wildcard attrs
63
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
64
- for k in []:
65
- if k not in args:
66
- raise TypeError(
67
- 'Required argument `' + k + '` was not specified.')
68
- super(AntdSider, self).__init__(children=children, **args)
@@ -1,86 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdSkeleton(Component):
7
- """An AntdSkeleton 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
- - active (boolean; optional)
17
-
18
- - avatar (dict; optional)
19
-
20
- `avatar` is a boolean | dict with keys:
21
-
22
- - active (boolean; optional)
23
-
24
- - shape (a value equal to: 'circle', 'square'; optional)
25
-
26
- - size (number | a value equal to: 'large', 'small', 'default'; optional)
27
-
28
- - className (string; optional)
29
-
30
- - debug (boolean; default False)
31
-
32
- - excludeProps (list of strings; optional)
33
-
34
- - includeProps (list of strings; optional)
35
-
36
- - listenPropsMode (a value equal to: 'default', 'exclude', 'include'; default 'default')
37
-
38
- - loading (boolean; default False)
39
-
40
- - loading_state (dict; optional)
41
-
42
- `loading_state` is a dict with keys:
43
-
44
- - component_name (string; optional):
45
- Holds the name of the component that is loading.
46
-
47
- - is_loading (boolean; optional):
48
- Determines if the component is loading or not.
49
-
50
- - prop_name (string; optional):
51
- Holds which property is loading.
52
-
53
- - paragraph (dict; optional)
54
-
55
- `paragraph` is a boolean | dict with keys:
56
-
57
- - rows (number; optional)
58
-
59
- - width (number | string | list of number | strings; optional)
60
-
61
- - round (boolean; optional)
62
-
63
- - style (dict; optional)
64
-
65
- - title (dict; optional)
66
-
67
- `title` is a boolean | dict with keys:
68
-
69
- - width (number | string; optional)"""
70
- @_explicitize_args
71
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading=Component.UNDEFINED, active=Component.UNDEFINED, avatar=Component.UNDEFINED, paragraph=Component.UNDEFINED, title=Component.UNDEFINED, round=Component.UNDEFINED, debug=Component.UNDEFINED, listenPropsMode=Component.UNDEFINED, excludeProps=Component.UNDEFINED, includeProps=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
72
- self._prop_names = ['children', 'id', 'active', 'avatar', 'className', 'debug', 'excludeProps', 'includeProps', 'listenPropsMode', 'loading', 'loading_state', 'paragraph', 'round', 'style', 'title']
73
- self._type = 'AntdSkeleton'
74
- self._namespace = 'feffery_antd_components'
75
- self._valid_wildcard_attributes = []
76
- self.available_properties = ['children', 'id', 'active', 'avatar', 'className', 'debug', 'excludeProps', 'includeProps', 'listenPropsMode', 'loading', 'loading_state', 'paragraph', 'round', 'style', 'title']
77
- self.available_wildcard_properties = []
78
- _explicit_args = kwargs.pop('_explicit_args')
79
- _locals = locals()
80
- _locals.update(kwargs) # For wildcard attrs
81
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
82
- for k in []:
83
- if k not in args:
84
- raise TypeError(
85
- 'Required argument `' + k + '` was not specified.')
86
- super(AntdSkeleton, self).__init__(children=children, **args)
@@ -1,68 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdSlider(Component):
7
- """An AntdSlider component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - className (string; optional)
15
-
16
- - defaultValue (number | list of numbers; optional)
17
-
18
- - disabled (boolean; default False)
19
-
20
- - loading_state (dict; optional)
21
-
22
- `loading_state` is a dict with keys:
23
-
24
- - component_name (string; optional):
25
- Holds the name of the component that is loading.
26
-
27
- - is_loading (boolean; optional):
28
- Determines if the component is loading or not.
29
-
30
- - prop_name (string; optional):
31
- Holds which property is loading.
32
-
33
- - marks (dict; optional)
34
-
35
- - max (number; default 100)
36
-
37
- - min (number; default 0)
38
-
39
- - range (boolean; default False)
40
-
41
- - step (number; default 1)
42
-
43
- - style (dict; optional)
44
-
45
- - tooltipPrefix (string; default '')
46
-
47
- - tooltipSuffix (string; default '')
48
-
49
- - tooltipVisible (boolean; optional)
50
-
51
- - value (number | list of numbers; optional)"""
52
- @_explicitize_args
53
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, defaultValue=Component.UNDEFINED, disabled=Component.UNDEFINED, range=Component.UNDEFINED, min=Component.UNDEFINED, max=Component.UNDEFINED, step=Component.UNDEFINED, value=Component.UNDEFINED, marks=Component.UNDEFINED, tooltipVisible=Component.UNDEFINED, tooltipPrefix=Component.UNDEFINED, tooltipSuffix=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
54
- self._prop_names = ['id', 'className', 'defaultValue', 'disabled', 'loading_state', 'marks', 'max', 'min', 'range', 'step', 'style', 'tooltipPrefix', 'tooltipSuffix', 'tooltipVisible', 'value']
55
- self._type = 'AntdSlider'
56
- self._namespace = 'feffery_antd_components'
57
- self._valid_wildcard_attributes = []
58
- self.available_properties = ['id', 'className', 'defaultValue', 'disabled', 'loading_state', 'marks', 'max', 'min', 'range', 'step', 'style', 'tooltipPrefix', 'tooltipSuffix', 'tooltipVisible', 'value']
59
- self.available_wildcard_properties = []
60
- _explicit_args = kwargs.pop('_explicit_args')
61
- _locals = locals()
62
- _locals.update(kwargs) # For wildcard attrs
63
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
64
- for k in []:
65
- if k not in args:
66
- raise TypeError(
67
- 'Required argument `' + k + '` was not specified.')
68
- super(AntdSlider, self).__init__(**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 AntdSpace(Component):
7
- """An AntdSpace 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
- - addSplitLine (boolean; default False)
19
-
20
- - align (a value equal to: 'start', 'end', 'center', 'baseline'; optional)
21
-
22
- - className (string; optional)
23
-
24
- - direction (a value equal to: 'vertical', 'horizontal'; default 'horizontal')
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
- - size (a value equal to: 'small', 'middle', 'large' | number; optional)
40
-
41
- - style (dict; optional)
42
-
43
- - wrap (boolean; optional)"""
44
- @_explicitize_args
45
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, align=Component.UNDEFINED, direction=Component.UNDEFINED, size=Component.UNDEFINED, addSplitLine=Component.UNDEFINED, wrap=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
46
- self._prop_names = ['children', 'id', 'addSplitLine', 'align', 'className', 'direction', 'loading_state', 'size', 'style', 'wrap']
47
- self._type = 'AntdSpace'
48
- self._namespace = 'feffery_antd_components'
49
- self._valid_wildcard_attributes = []
50
- self.available_properties = ['children', 'id', 'addSplitLine', 'align', 'className', 'direction', 'loading_state', 'size', 'style', 'wrap']
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(AntdSpace, self).__init__(children=children, **args)
@@ -1,68 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdSpin(Component):
7
- """An AntdSpin 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
- - debug (boolean; default False)
21
-
22
- - delay (number; optional)
23
-
24
- - excludeProps (list of strings; optional)
25
-
26
- - includeProps (list of strings; optional)
27
-
28
- - listenPropsMode (a value equal to: 'default', 'exclude', 'include'; default 'default')
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
- - size (a value equal to: 'small', 'middle', 'large'; optional)
44
-
45
- - spinning (boolean; default False)
46
-
47
- - style (dict; optional)
48
-
49
- - text (string; optional)
50
-
51
- - wrapperClassName (string; optional)"""
52
- @_explicitize_args
53
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, wrapperClassName=Component.UNDEFINED, style=Component.UNDEFINED, spinning=Component.UNDEFINED, size=Component.UNDEFINED, delay=Component.UNDEFINED, text=Component.UNDEFINED, debug=Component.UNDEFINED, listenPropsMode=Component.UNDEFINED, excludeProps=Component.UNDEFINED, includeProps=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
54
- self._prop_names = ['children', 'id', 'className', 'debug', 'delay', 'excludeProps', 'includeProps', 'listenPropsMode', 'loading_state', 'size', 'spinning', 'style', 'text', 'wrapperClassName']
55
- self._type = 'AntdSpin'
56
- self._namespace = 'feffery_antd_components'
57
- self._valid_wildcard_attributes = []
58
- self.available_properties = ['children', 'id', 'className', 'debug', 'delay', 'excludeProps', 'includeProps', 'listenPropsMode', 'loading_state', 'size', 'spinning', 'style', 'text', 'wrapperClassName']
59
- self.available_wildcard_properties = []
60
- _explicit_args = kwargs.pop('_explicit_args')
61
- _locals = locals()
62
- _locals.update(kwargs) # For wildcard attrs
63
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
64
- for k in []:
65
- if k not in args:
66
- raise TypeError(
67
- 'Required argument `' + k + '` was not specified.')
68
- super(AntdSpin, self).__init__(children=children, **args)
@@ -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 AntdStatistic(Component):
7
- """An AntdStatistic component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - className (string; optional)
15
-
16
- - loading_state (dict; optional)
17
-
18
- `loading_state` is a dict with keys:
19
-
20
- - component_name (string; optional):
21
- Holds the name of the component that is loading.
22
-
23
- - is_loading (boolean; optional):
24
- Determines if the component is loading or not.
25
-
26
- - prop_name (string; optional):
27
- Holds which property is loading.
28
-
29
- - precision (number; optional)
30
-
31
- - prefix (dict; optional)
32
-
33
- `prefix` is a dict with keys:
34
-
35
- - content (string; optional)
36
-
37
- - mode (a value equal to: 'text', 'icon'; optional)
38
-
39
- - showGroupSeparator (boolean; default True)
40
-
41
- - style (dict; optional)
42
-
43
- - suffix (dict; optional)
44
-
45
- `suffix` is a dict with keys:
46
-
47
- - content (string; optional)
48
-
49
- - mode (a value equal to: 'text', 'icon'; optional)
50
-
51
- - title (string; optional)
52
-
53
- - titleTooltip (string; optional)
54
-
55
- - value (number; optional)
56
-
57
- - valueStyle (dict; optional)"""
58
- @_explicitize_args
59
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, value=Component.UNDEFINED, showGroupSeparator=Component.UNDEFINED, precision=Component.UNDEFINED, prefix=Component.UNDEFINED, suffix=Component.UNDEFINED, title=Component.UNDEFINED, titleTooltip=Component.UNDEFINED, valueStyle=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
60
- self._prop_names = ['id', 'className', 'loading_state', 'precision', 'prefix', 'showGroupSeparator', 'style', 'suffix', 'title', 'titleTooltip', 'value', 'valueStyle']
61
- self._type = 'AntdStatistic'
62
- self._namespace = 'feffery_antd_components'
63
- self._valid_wildcard_attributes = []
64
- self.available_properties = ['id', 'className', 'loading_state', 'precision', 'prefix', 'showGroupSeparator', 'style', 'suffix', 'title', 'titleTooltip', 'value', 'valueStyle']
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(AntdStatistic, self).__init__(**args)
@@ -1,72 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdSteps(Component):
7
- """An AntdSteps component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - allowClick (boolean; default False)
15
-
16
- - className (string; optional)
17
-
18
- - current (number; default 0)
19
-
20
- - direction (a value equal to: 'horizontal', 'vertical'; default 'horizontal')
21
-
22
- - labelPlacement (a value equal to: 'horizontal', 'vertical'; 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
- - progressDot (boolean; default False)
38
-
39
- - size (a value equal to: 'default', 'small'; default 'default')
40
-
41
- - status (a value equal to: 'wait', 'process', 'finish', 'error'; default 'process')
42
-
43
- - steps (list of dicts; optional)
44
-
45
- `steps` is a list of dicts with keys:
46
-
47
- - description (string; optional)
48
-
49
- - subTitle (string; optional)
50
-
51
- - title (string; required)
52
-
53
- - style (dict; optional)
54
-
55
- - type (a value equal to: 'default', 'navigation'; optional)"""
56
- @_explicitize_args
57
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, current=Component.UNDEFINED, direction=Component.UNDEFINED, labelPlacement=Component.UNDEFINED, progressDot=Component.UNDEFINED, size=Component.UNDEFINED, status=Component.UNDEFINED, type=Component.UNDEFINED, allowClick=Component.UNDEFINED, steps=Component.UNDEFINED, **kwargs):
58
- self._prop_names = ['id', 'allowClick', 'className', 'current', 'direction', 'labelPlacement', 'loading_state', 'progressDot', 'size', 'status', 'steps', 'style', 'type']
59
- self._type = 'AntdSteps'
60
- self._namespace = 'feffery_antd_components'
61
- self._valid_wildcard_attributes = []
62
- self.available_properties = ['id', 'allowClick', 'className', 'current', 'direction', 'labelPlacement', 'loading_state', 'progressDot', 'size', 'status', 'steps', 'style', 'type']
63
- self.available_wildcard_properties = []
64
- _explicit_args = kwargs.pop('_explicit_args')
65
- _locals = locals()
66
- _locals.update(kwargs) # For wildcard attrs
67
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
68
- for k in []:
69
- if k not in args:
70
- raise TypeError(
71
- 'Required argument `' + k + '` was not specified.')
72
- super(AntdSteps, self).__init__(**args)
@@ -1,75 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdSwitch(Component):
7
- """An AntdSwitch component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - checked (boolean; optional)
15
-
16
- - checkedChildren (string; optional)
17
-
18
- - className (string; optional)
19
-
20
- - disabled (boolean; 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
- - persisted_props (list of a value equal to: 'checked's; default ['checked']):
36
- Properties whose user interactions will persist after refreshing
37
- the component or the page. Since only `value` is allowed this
38
- prop can normally be ignored.
39
-
40
- - persistence (boolean | string | number; optional):
41
- Used to allow user interactions in this component to be persisted
42
- when the component - or the page - is refreshed. If `persisted`
43
- is truthy and hasn't changed from its previous value, a `value`
44
- that the user has changed while using the app will keep that
45
- change, as long as the new `value` also matches what was given
46
- originally. Used in conjunction with `persistence_type`.
47
-
48
- - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
49
- Where persisted user changes will be stored: memory: only kept in
50
- memory, reset on page refresh. local: window.localStorage, data
51
- is kept after the browser quit. session: window.sessionStorage,
52
- data is cleared once the browser quit.
53
-
54
- - size (a value equal to: 'default', 'small'; optional)
55
-
56
- - style (dict; optional)
57
-
58
- - unCheckedChildren (string; optional)"""
59
- @_explicitize_args
60
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, disabled=Component.UNDEFINED, checked=Component.UNDEFINED, checkedChildren=Component.UNDEFINED, unCheckedChildren=Component.UNDEFINED, size=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
61
- self._prop_names = ['id', 'checked', 'checkedChildren', 'className', 'disabled', 'loading_state', 'persisted_props', 'persistence', 'persistence_type', 'size', 'style', 'unCheckedChildren']
62
- self._type = 'AntdSwitch'
63
- self._namespace = 'feffery_antd_components'
64
- self._valid_wildcard_attributes = []
65
- self.available_properties = ['id', 'checked', 'checkedChildren', 'className', 'disabled', 'loading_state', 'persisted_props', 'persistence', 'persistence_type', 'size', 'style', 'unCheckedChildren']
66
- self.available_wildcard_properties = []
67
- _explicit_args = kwargs.pop('_explicit_args')
68
- _locals = locals()
69
- _locals.update(kwargs) # For wildcard attrs
70
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
71
- for k in []:
72
- if k not in args:
73
- raise TypeError(
74
- 'Required argument `' + k + '` was not specified.')
75
- super(AntdSwitch, self).__init__(**args)
@@ -1,66 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdTabPane(Component):
7
- """An AntdTabPane 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
- - closable (boolean; optional)
21
-
22
- - disabled (boolean; optional)
23
-
24
- - key (string; optional)
25
-
26
- - loading_state (dict; optional)
27
-
28
- `loading_state` is a dict with keys:
29
-
30
- - component_name (string; optional):
31
- Holds the name of the component that is loading.
32
-
33
- - is_loading (boolean; optional):
34
- Determines if the component is loading or not.
35
-
36
- - prop_name (string; optional):
37
- Holds which property is loading.
38
-
39
- - style (dict; optional)
40
-
41
- - tab (string; optional)
42
-
43
- - titleSideInfoPopover (dict; optional)
44
-
45
- `titleSideInfoPopover` is a dict with keys:
46
-
47
- - content (string; optional)
48
-
49
- - title (string; optional)"""
50
- @_explicitize_args
51
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, tab=Component.UNDEFINED, key=Component.UNDEFINED, disabled=Component.UNDEFINED, closable=Component.UNDEFINED, titleSideInfoPopover=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
52
- self._prop_names = ['children', 'id', 'className', 'closable', 'disabled', 'key', 'loading_state', 'style', 'tab', 'titleSideInfoPopover']
53
- self._type = 'AntdTabPane'
54
- self._namespace = 'feffery_antd_components'
55
- self._valid_wildcard_attributes = []
56
- self.available_properties = ['children', 'id', 'className', 'closable', 'disabled', 'key', 'loading_state', 'style', 'tab', 'titleSideInfoPopover']
57
- self.available_wildcard_properties = []
58
- _explicit_args = kwargs.pop('_explicit_args')
59
- _locals = locals()
60
- _locals.update(kwargs) # For wildcard attrs
61
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
62
- for k in []:
63
- if k not in args:
64
- raise TypeError(
65
- 'Required argument `' + k + '` was not specified.')
66
- super(AntdTabPane, self).__init__(children=children, **args)