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 AntdTimeline(Component):
7
- """An AntdTimeline component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - className (string; optional)
15
-
16
- - items (list of dicts; optional)
17
-
18
- `items` is a list of dicts with keys:
19
-
20
- - color (string; optional)
21
-
22
- - content (string; optional)
23
-
24
- - contentStyle (dict; optional)
25
-
26
- - icon (string; optional)
27
-
28
- - iconStyle (dict; optional)
29
-
30
- - label (string; optional)
31
-
32
- - loading_state (dict; optional)
33
-
34
- `loading_state` is a dict with keys:
35
-
36
- - component_name (string; optional):
37
- Holds the name of the component that is loading.
38
-
39
- - is_loading (boolean; optional):
40
- Determines if the component is loading or not.
41
-
42
- - prop_name (string; optional):
43
- Holds which property is loading.
44
-
45
- - mode (a value equal to: 'left', 'alternate', 'right'; default 'left')
46
-
47
- - pending (string; optional)
48
-
49
- - reverse (boolean; optional)
50
-
51
- - style (dict; optional)"""
52
- @_explicitize_args
53
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, items=Component.UNDEFINED, mode=Component.UNDEFINED, pending=Component.UNDEFINED, reverse=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
54
- self._prop_names = ['id', 'className', 'items', 'loading_state', 'mode', 'pending', 'reverse', 'style']
55
- self._type = 'AntdTimeline'
56
- self._namespace = 'feffery_antd_components'
57
- self._valid_wildcard_attributes = []
58
- self.available_properties = ['id', 'className', 'items', 'loading_state', 'mode', 'pending', 'reverse', 'style']
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(AntdTimeline, self).__init__(**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 AntdTitle(Component):
7
- """An AntdTitle 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
- - keyboard (boolean; optional)
29
-
30
- - level (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
- - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
46
-
47
- - mark (boolean; optional)
48
-
49
- - strikethrough (boolean; optional)
50
-
51
- - strong (boolean; optional)
52
-
53
- - style (dict; optional)
54
-
55
- - type (a value equal to: 'secondary', 'success', 'warning', 'danger'; optional)
56
-
57
- - underline (boolean; optional)"""
58
- @_explicitize_args
59
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, level=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, keyboard=Component.UNDEFINED, type=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
60
- self._prop_names = ['children', 'id', 'className', 'code', 'copyable', 'disabled', 'italic', 'keyboard', 'level', 'loading_state', 'locale', 'mark', 'strikethrough', 'strong', 'style', 'type', 'underline']
61
- self._type = 'AntdTitle'
62
- self._namespace = 'feffery_antd_components'
63
- self._valid_wildcard_attributes = []
64
- self.available_properties = ['children', 'id', 'className', 'code', 'copyable', 'disabled', 'italic', 'keyboard', 'level', 'loading_state', 'locale', 'mark', 'strikethrough', 'strong', 'style', 'type', 'underline']
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(AntdTitle, self).__init__(children=children, **args)
@@ -1,64 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdTooltip(Component):
7
- """An AntdTooltip 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
- - className (string; optional)
17
-
18
- - color (string; optional)
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
- - mouseEnterDelay (number; optional)
34
-
35
- - mouseLeaveDelay (number; optional)
36
-
37
- - overlayInnerStyle (dict; optional)
38
-
39
- - overlayStyle (dict; optional)
40
-
41
- - placement (a value equal to: 'top', 'left', 'right', 'bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'leftTop', 'leftBottom', 'rightTop', 'rightBottom'; optional)
42
-
43
- - style (dict; optional)
44
-
45
- - title (string; optional)
46
-
47
- - trigger (a value equal to: 'hover', 'focus', 'click' | list of a value equal to: 'hover', 'focus', 'click's; optional)"""
48
- @_explicitize_args
49
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, title=Component.UNDEFINED, placement=Component.UNDEFINED, color=Component.UNDEFINED, mouseEnterDelay=Component.UNDEFINED, mouseLeaveDelay=Component.UNDEFINED, overlayStyle=Component.UNDEFINED, overlayInnerStyle=Component.UNDEFINED, trigger=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
50
- self._prop_names = ['children', 'id', 'className', 'color', 'loading_state', 'mouseEnterDelay', 'mouseLeaveDelay', 'overlayInnerStyle', 'overlayStyle', 'placement', 'style', 'title', 'trigger']
51
- self._type = 'AntdTooltip'
52
- self._namespace = 'feffery_antd_components'
53
- self._valid_wildcard_attributes = []
54
- self.available_properties = ['children', 'id', 'className', 'color', 'loading_state', 'mouseEnterDelay', 'mouseLeaveDelay', 'overlayInnerStyle', 'overlayStyle', 'placement', 'style', 'title', 'trigger']
55
- self.available_wildcard_properties = []
56
- _explicit_args = kwargs.pop('_explicit_args')
57
- _locals = locals()
58
- _locals.update(kwargs) # For wildcard attrs
59
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
60
- for k in []:
61
- if k not in args:
62
- raise TypeError(
63
- 'Required argument `' + k + '` was not specified.')
64
- super(AntdTooltip, self).__init__(children=children, **args)
@@ -1,99 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdTransfer(Component):
7
- """An AntdTransfer component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - className (string; optional)
15
-
16
- - dataSource (list of dicts; optional)
17
-
18
- `dataSource` is a list of dicts with keys:
19
-
20
- - key (string | number; optional)
21
-
22
- - title (string; optional)
23
-
24
- - disabled (boolean; optional)
25
-
26
- - height (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
- - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
42
-
43
- - moveDirection (string; optional)
44
-
45
- - moveKeys (list; optional)
46
-
47
- - operations (list; optional)
48
-
49
- - pagination (dict; default False)
50
-
51
- `pagination` is a boolean | dict with keys:
52
-
53
- - pageSize (number; optional)
54
-
55
- - persisted_props (list of a value equal to: 'targetKeys's; default ['targetKeys']):
56
- Properties whose user interactions will persist after refreshing
57
- the component or the page. Since only `value` is allowed this
58
- prop can normally be ignored.
59
-
60
- - persistence (boolean | string | number; optional):
61
- Used to allow user interactions in this component to be persisted
62
- when the component - or the page - is refreshed. If `persisted`
63
- is truthy and hasn't changed from its previous value, a `value`
64
- that the user has changed while using the app will keep that
65
- change, as long as the new `value` also matches what was given
66
- originally. Used in conjunction with `persistence_type`.
67
-
68
- - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
69
- Where persisted user changes will be stored: memory: only kept in
70
- memory, reset on page refresh. local: window.localStorage, data
71
- is kept after the browser quit. session: window.sessionStorage,
72
- data is cleared once the browser quit.
73
-
74
- - showSearch (boolean; default False)
75
-
76
- - showSelectAll (boolean; default True)
77
-
78
- - style (dict; optional)
79
-
80
- - targetKeys (list; optional)
81
-
82
- - titles (list; optional)"""
83
- @_explicitize_args
84
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, dataSource=Component.UNDEFINED, height=Component.UNDEFINED, pagination=Component.UNDEFINED, operations=Component.UNDEFINED, showSearch=Component.UNDEFINED, showSelectAll=Component.UNDEFINED, titles=Component.UNDEFINED, targetKeys=Component.UNDEFINED, moveDirection=Component.UNDEFINED, moveKeys=Component.UNDEFINED, disabled=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
85
- self._prop_names = ['id', 'className', 'dataSource', 'disabled', 'height', 'loading_state', 'locale', 'moveDirection', 'moveKeys', 'operations', 'pagination', 'persisted_props', 'persistence', 'persistence_type', 'showSearch', 'showSelectAll', 'style', 'targetKeys', 'titles']
86
- self._type = 'AntdTransfer'
87
- self._namespace = 'feffery_antd_components'
88
- self._valid_wildcard_attributes = []
89
- self.available_properties = ['id', 'className', 'dataSource', 'disabled', 'height', 'loading_state', 'locale', 'moveDirection', 'moveKeys', 'operations', 'pagination', 'persisted_props', 'persistence', 'persistence_type', 'showSearch', 'showSelectAll', 'style', 'targetKeys', 'titles']
90
- self.available_wildcard_properties = []
91
- _explicit_args = kwargs.pop('_explicit_args')
92
- _locals = locals()
93
- _locals.update(kwargs) # For wildcard attrs
94
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
95
- for k in []:
96
- if k not in args:
97
- raise TypeError(
98
- 'Required argument `' + k + '` was not specified.')
99
- super(AntdTransfer, self).__init__(**args)
@@ -1,107 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdTree(Component):
7
- """An AntdTree component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - checkStrictly (boolean; optional)
15
-
16
- - checkable (boolean; optional)
17
-
18
- - checkedKeys (list of dicts; optional)
19
-
20
- `checkedKeys` is a list | dict with keys:
21
-
22
- - checked (list; optional)
23
-
24
- - halfChecked (list; optional)
25
-
26
- - className (string; optional)
27
-
28
- - defaultCheckedKeys (list of strings; optional)
29
-
30
- - defaultExpandAll (boolean; optional)
31
-
32
- - defaultExpandParent (boolean; optional)
33
-
34
- - defaultExpandedKeys (list of strings; optional)
35
-
36
- - defaultSelectedKeys (list of strings; optional)
37
-
38
- - expandedKeys (list of strings; optional)
39
-
40
- - height (number; optional)
41
-
42
- - loading_state (dict; optional)
43
-
44
- `loading_state` is a dict with keys:
45
-
46
- - component_name (string; optional):
47
- Holds the name of the component that is loading.
48
-
49
- - is_loading (boolean; optional):
50
- Determines if the component is loading or not.
51
-
52
- - prop_name (string; optional):
53
- Holds which property is loading.
54
-
55
- - multiple (boolean; optional)
56
-
57
- - persisted_props (list of a value equal to: 'selectedKeys', 'checkedKeys', 'expandedKeys's; default ['selectedKeys', 'checkedKeys', 'expandedKeys']):
58
- Properties whose user interactions will persist after refreshing
59
- the component or the page. Since only `value` is allowed this
60
- prop can normally be ignored.
61
-
62
- - persistence (boolean | string | number; optional):
63
- Used to allow user interactions in this component to be persisted
64
- when the component - or the page - is refreshed. If `persisted`
65
- is truthy and hasn't changed from its previous value, a `value`
66
- that the user has changed while using the app will keep that
67
- change, as long as the new `value` also matches what was given
68
- originally. Used in conjunction with `persistence_type`.
69
-
70
- - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
71
- Where persisted user changes will be stored: memory: only kept in
72
- memory, reset on page refresh. local: window.localStorage, data
73
- is kept after the browser quit. session: window.sessionStorage,
74
- data is cleared once the browser quit.
75
-
76
- - selectable (boolean; optional)
77
-
78
- - selectedKeys (list; optional)
79
-
80
- - showIcon (boolean; default True)
81
-
82
- - showLine (dict; default { 'showLeafIcon': False })
83
-
84
- `showLine` is a boolean | dict with keys:
85
-
86
- - showLeafIcon (boolean; optional)
87
-
88
- - style (dict; optional)
89
-
90
- - treeData (optional)"""
91
- @_explicitize_args
92
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, treeData=Component.UNDEFINED, showIcon=Component.UNDEFINED, checkable=Component.UNDEFINED, defaultExpandAll=Component.UNDEFINED, defaultExpandedKeys=Component.UNDEFINED, defaultExpandParent=Component.UNDEFINED, checkStrictly=Component.UNDEFINED, defaultCheckedKeys=Component.UNDEFINED, defaultSelectedKeys=Component.UNDEFINED, multiple=Component.UNDEFINED, selectable=Component.UNDEFINED, showLine=Component.UNDEFINED, selectedKeys=Component.UNDEFINED, checkedKeys=Component.UNDEFINED, expandedKeys=Component.UNDEFINED, height=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
93
- self._prop_names = ['id', 'checkStrictly', 'checkable', 'checkedKeys', 'className', 'defaultCheckedKeys', 'defaultExpandAll', 'defaultExpandParent', 'defaultExpandedKeys', 'defaultSelectedKeys', 'expandedKeys', 'height', 'loading_state', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'selectable', 'selectedKeys', 'showIcon', 'showLine', 'style', 'treeData']
94
- self._type = 'AntdTree'
95
- self._namespace = 'feffery_antd_components'
96
- self._valid_wildcard_attributes = []
97
- self.available_properties = ['id', 'checkStrictly', 'checkable', 'checkedKeys', 'className', 'defaultCheckedKeys', 'defaultExpandAll', 'defaultExpandParent', 'defaultExpandedKeys', 'defaultSelectedKeys', 'expandedKeys', 'height', 'loading_state', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'selectable', 'selectedKeys', 'showIcon', 'showLine', 'style', 'treeData']
98
- self.available_wildcard_properties = []
99
- _explicit_args = kwargs.pop('_explicit_args')
100
- _locals = locals()
101
- _locals.update(kwargs) # For wildcard attrs
102
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
103
- for k in []:
104
- if k not in args:
105
- raise TypeError(
106
- 'Required argument `' + k + '` was not specified.')
107
- super(AntdTree, self).__init__(**args)
@@ -1,103 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdTreeSelect(Component):
7
- """An AntdTreeSelect component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - allowClear (boolean; default True)
15
-
16
- - bordered (boolean; optional)
17
-
18
- - className (string; optional)
19
-
20
- - defaultValue (string | number | list of string | numbers; optional)
21
-
22
- - disabled (boolean; optional)
23
-
24
- - listHeight (number; default 256)
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
- - maxTagCount (number; optional)
42
-
43
- - multiple (boolean; optional)
44
-
45
- - persisted_props (list of a value equal to: 'value's; default ['value']):
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
- - placeholder (string; optional)
65
-
66
- - size (a value equal to: 'small', 'middle', 'large'; optional)
67
-
68
- - style (dict; optional)
69
-
70
- - treeCheckStrictly (boolean; optional)
71
-
72
- - treeCheckable (boolean; optional)
73
-
74
- - treeData (optional)
75
-
76
- - treeDefaultExpandAll (boolean; optional)
77
-
78
- - treeDefaultExpandedKeys (list of strings; optional)
79
-
80
- - treeExpandedKeys (list of strings; optional)
81
-
82
- - treeLine (boolean; optional)
83
-
84
- - value (string | number | list of string | numbers; optional)
85
-
86
- - virtual (boolean; default False)"""
87
- @_explicitize_args
88
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, treeData=Component.UNDEFINED, allowClear=Component.UNDEFINED, bordered=Component.UNDEFINED, treeLine=Component.UNDEFINED, placeholder=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, maxTagCount=Component.UNDEFINED, listHeight=Component.UNDEFINED, multiple=Component.UNDEFINED, size=Component.UNDEFINED, treeCheckable=Component.UNDEFINED, treeCheckStrictly=Component.UNDEFINED, treeDefaultExpandAll=Component.UNDEFINED, treeDefaultExpandedKeys=Component.UNDEFINED, treeExpandedKeys=Component.UNDEFINED, virtual=Component.UNDEFINED, disabled=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
89
- self._prop_names = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'listHeight', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'size', 'style', 'treeCheckStrictly', 'treeCheckable', 'treeData', 'treeDefaultExpandAll', 'treeDefaultExpandedKeys', 'treeExpandedKeys', 'treeLine', 'value', 'virtual']
90
- self._type = 'AntdTreeSelect'
91
- self._namespace = 'feffery_antd_components'
92
- self._valid_wildcard_attributes = []
93
- self.available_properties = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'listHeight', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'size', 'style', 'treeCheckStrictly', 'treeCheckable', 'treeData', 'treeDefaultExpandAll', 'treeDefaultExpandedKeys', 'treeExpandedKeys', 'treeLine', 'value', 'virtual']
94
- self.available_wildcard_properties = []
95
- _explicit_args = kwargs.pop('_explicit_args')
96
- _locals = locals()
97
- _locals.update(kwargs) # For wildcard attrs
98
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
99
- for k in []:
100
- if k not in args:
101
- raise TypeError(
102
- 'Required argument `' + k + '` was not specified.')
103
- super(AntdTreeSelect, self).__init__(**args)
@@ -1,50 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdTypography(Component):
7
- """An AntdTypography 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
- - 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
- - style (dict; optional)"""
34
- @_explicitize_args
35
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
36
- self._prop_names = ['children', 'id', 'className', 'loading_state', 'style']
37
- self._type = 'AntdTypography'
38
- self._namespace = 'feffery_antd_components'
39
- self._valid_wildcard_attributes = []
40
- self.available_properties = ['children', 'id', 'className', 'loading_state', 'style']
41
- self.available_wildcard_properties = []
42
- _explicit_args = kwargs.pop('_explicit_args')
43
- _locals = locals()
44
- _locals.update(kwargs) # For wildcard attrs
45
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
46
- for k in []:
47
- if k not in args:
48
- raise TypeError(
49
- 'Required argument `' + k + '` was not specified.')
50
- super(AntdTypography, 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 AntdUpload(Component):
7
- """An AntdUpload component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - apiUrl (string; optional)
15
-
16
- - buttonContent (string; optional)
17
-
18
- - className (string; optional)
19
-
20
- - directory (boolean; optional)
21
-
22
- - failedTooltipInfo (string; optional)
23
-
24
- - fileListMaxLength (number; default 3)
25
-
26
- - fileMaxSize (number; default 500)
27
-
28
- - fileTypes (list of strings; optional)
29
-
30
- - lastUploadTaskRecord (dict; optional)
31
-
32
- `lastUploadTaskRecord` is a dict with keys:
33
-
34
- - completeTimestamp (number; optional)
35
-
36
- - fileName (string; optional)
37
-
38
- - fileSize (number; optional)
39
-
40
- - taskId (string; optional)
41
-
42
- - taskStatus (string; optional)
43
-
44
- - loading_state (dict; optional)
45
-
46
- `loading_state` is a dict with keys:
47
-
48
- - component_name (string; optional):
49
- Holds the name of the component that is loading.
50
-
51
- - is_loading (boolean; optional):
52
- Determines if the component is loading or not.
53
-
54
- - prop_name (string; optional):
55
- Holds which property is loading.
56
-
57
- - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
58
-
59
- - multiple (boolean; optional)
60
-
61
- - style (dict; optional)
62
-
63
- - uploadId (string; optional)"""
64
- @_explicitize_args
65
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, apiUrl=Component.UNDEFINED, fileListMaxLength=Component.UNDEFINED, fileTypes=Component.UNDEFINED, buttonContent=Component.UNDEFINED, uploadId=Component.UNDEFINED, fileMaxSize=Component.UNDEFINED, multiple=Component.UNDEFINED, directory=Component.UNDEFINED, failedTooltipInfo=Component.UNDEFINED, lastUploadTaskRecord=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
66
- self._prop_names = ['id', 'apiUrl', 'buttonContent', 'className', 'directory', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'lastUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'style', 'uploadId']
67
- self._type = 'AntdUpload'
68
- self._namespace = 'feffery_antd_components'
69
- self._valid_wildcard_attributes = []
70
- self.available_properties = ['id', 'apiUrl', 'buttonContent', 'className', 'directory', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'lastUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'style', 'uploadId']
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(AntdUpload, self).__init__(**args)