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,93 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdDatePicker(Component):
7
- """An AntdDatePicker component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - allowClear (boolean; default True)
15
-
16
- - bordered (boolean; default True)
17
-
18
- - className (string; optional)
19
-
20
- - defaultPickerValue (string; optional)
21
-
22
- - defaultValue (string; optional)
23
-
24
- - disabled (boolean; optional)
25
-
26
- - disabledDates (list of strings; optional)
27
-
28
- - format (string; optional)
29
-
30
- - loading_state (dict; optional):
31
- Object that holds the loading state object coming from
32
- dash-renderer.
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
- - persisted_props (list of a value equal to: 'value's; default ['value']):
48
- Properties whose user interactions will persist after refreshing
49
- the component or the page. Since only `value` is allowed this
50
- prop can normally be ignored.
51
-
52
- - persistence (boolean | string | number; optional):
53
- Used to allow user interactions in this component to be persisted
54
- when the component - or the page - is refreshed. If `persisted`
55
- is truthy and hasn't changed from its previous value, a `value`
56
- that the user has changed while using the app will keep that
57
- change, as long as the new `value` also matches what was given
58
- originally. Used in conjunction with `persistence_type`.
59
-
60
- - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
61
- Where persisted user changes will be stored: memory: only kept in
62
- memory, reset on page refresh. local: window.localStorage, data
63
- is kept after the browser quit. session: window.sessionStorage,
64
- data is cleared once the browser quit.
65
-
66
- - picker (a value equal to: 'date', 'week', 'month', 'quarter', 'year'; default 'date')
67
-
68
- - placeholder (string; optional)
69
-
70
- - showTime (boolean; default False)
71
-
72
- - size (a value equal to: 'small', 'middle', 'large'; optional)
73
-
74
- - style (dict; default {
75
  width: 220
76
-
77
- - value (string; optional)"""
78
- @_explicitize_args
79
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, format=Component.UNDEFINED, picker=Component.UNDEFINED, disabled=Component.UNDEFINED, value=Component.UNDEFINED, showTime=Component.UNDEFINED, allowClear=Component.UNDEFINED, defaultPickerValue=Component.UNDEFINED, defaultValue=Component.UNDEFINED, disabledDates=Component.UNDEFINED, placeholder=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
80
- self._prop_names = ['id', 'allowClear', 'bordered', 'className', 'defaultPickerValue', 'defaultValue', 'disabled', 'disabledDates', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'showTime', 'size', 'style', 'value']
81
- self._type = 'AntdDatePicker'
82
- self._namespace = 'feffery_antd_components'
83
- self._valid_wildcard_attributes = []
84
- self.available_properties = ['id', 'allowClear', 'bordered', 'className', 'defaultPickerValue', 'defaultValue', 'disabled', 'disabledDates', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'showTime', 'size', 'style', 'value']
85
- self.available_wildcard_properties = []
86
- _explicit_args = kwargs.pop('_explicit_args')
87
- _locals = locals()
88
- _locals.update(kwargs) # For wildcard attrs
89
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
90
- for k in []:
91
- if k not in args:
92
- raise TypeError(
93
- 'Required argument `' + k + '` was not specified.')
94
- super(AntdDatePicker, self).__init__(**args)
@@ -1,89 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdDateRangePicker(Component):
7
- """An AntdDateRangePicker component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - bordered (boolean; optional)
15
-
16
- - className (string; optional)
17
-
18
- - defaultPickerValue (string; optional)
19
-
20
- - defaultValue (list of strings; optional)
21
-
22
- - disabled (list of booleans; optional)
23
-
24
- - format (string; optional)
25
-
26
- - loading_state (dict; optional):
27
- Object that holds the loading state object coming from
28
- dash-renderer.
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
- - persisted_props (list of a value equal to: 'value's; default ['value']):
44
- Properties whose user interactions will persist after refreshing
45
- the component or the page. Since only `value` is allowed this
46
- prop can normally be ignored.
47
-
48
- - persistence (boolean | string | number; optional):
49
- Used to allow user interactions in this component to be persisted
50
- when the component - or the page - is refreshed. If `persisted`
51
- is truthy and hasn't changed from its previous value, a `value`
52
- that the user has changed while using the app will keep that
53
- change, as long as the new `value` also matches what was given
54
- originally. Used in conjunction with `persistence_type`.
55
-
56
- - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
57
- Where persisted user changes will be stored: memory: only kept in
58
- memory, reset on page refresh. local: window.localStorage, data
59
- is kept after the browser quit. session: window.sessionStorage,
60
- data is cleared once the browser quit.
61
-
62
- - picker (a value equal to: 'date', 'week', 'month', 'quarter', 'year'; optional)
63
-
64
- - placeholder (list of strings; optional)
65
-
66
- - showTime (boolean; default False)
67
-
68
- - size (a value equal to: 'small', 'middle', 'large'; optional)
69
-
70
- - style (dict; optional)
71
-
72
- - value (list of strings; optional)"""
73
- @_explicitize_args
74
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, picker=Component.UNDEFINED, format=Component.UNDEFINED, showTime=Component.UNDEFINED, placeholder=Component.UNDEFINED, disabled=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, defaultPickerValue=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
75
- self._prop_names = ['id', 'bordered', 'className', 'defaultPickerValue', 'defaultValue', 'disabled', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'showTime', 'size', 'style', 'value']
76
- self._type = 'AntdDateRangePicker'
77
- self._namespace = 'feffery_antd_components'
78
- self._valid_wildcard_attributes = []
79
- self.available_properties = ['id', 'bordered', 'className', 'defaultPickerValue', 'defaultValue', 'disabled', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'showTime', 'size', 'style', 'value']
80
- self.available_wildcard_properties = []
81
- _explicit_args = kwargs.pop('_explicit_args')
82
- _locals = locals()
83
- _locals.update(kwargs) # For wildcard attrs
84
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
85
- for k in []:
86
- if k not in args:
87
- raise TypeError(
88
- 'Required argument `' + k + '` was not specified.')
89
- super(AntdDateRangePicker, self).__init__(**args)
@@ -1,58 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdDescriptionItem(Component):
7
- """An AntdDescriptionItem 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
- - contentStyle (dict; optional)
21
-
22
- - label (string; optional)
23
-
24
- - labelStyle (dict; 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
- - span (number; optional)
40
-
41
- - style (dict; optional)"""
42
- @_explicitize_args
43
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, label=Component.UNDEFINED, span=Component.UNDEFINED, labelStyle=Component.UNDEFINED, contentStyle=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
44
- self._prop_names = ['children', 'id', 'className', 'contentStyle', 'label', 'labelStyle', 'loading_state', 'span', 'style']
45
- self._type = 'AntdDescriptionItem'
46
- self._namespace = 'feffery_antd_components'
47
- self._valid_wildcard_attributes = []
48
- self.available_properties = ['children', 'id', 'className', 'contentStyle', 'label', 'labelStyle', 'loading_state', 'span', 'style']
49
- self.available_wildcard_properties = []
50
- _explicit_args = kwargs.pop('_explicit_args')
51
- _locals = locals()
52
- _locals.update(kwargs) # For wildcard attrs
53
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
54
- for k in []:
55
- if k not in args:
56
- raise TypeError(
57
- 'Required argument `' + k + '` was not specified.')
58
- super(AntdDescriptionItem, self).__init__(children=children, **args)
@@ -1,76 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdDescriptions(Component):
7
- """An AntdDescriptions component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - children (a list of or a singular dash component, string or number; optional)
13
-
14
- - id (string; optional)
15
-
16
- - bordered (boolean; optional)
17
-
18
- - className (string; optional)
19
-
20
- - column (dict; optional)
21
-
22
- `column` is a number | dict with keys:
23
-
24
- - lg (number; optional)
25
-
26
- - md (number; optional)
27
-
28
- - sm (number; optional)
29
-
30
- - xl (number; optional)
31
-
32
- - xs (number; optional)
33
-
34
- - xxl (number; optional)
35
-
36
- - contentStyle (dict; optional)
37
-
38
- - labelStyle (dict; optional)
39
-
40
- - layout (a value equal to: 'horizontal', 'vertical'; 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
- - size (a value equal to: 'small', 'default', 'large'; default 'default')
56
-
57
- - style (dict; optional)
58
-
59
- - title (string; optional)"""
60
- @_explicitize_args
61
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, title=Component.UNDEFINED, column=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, layout=Component.UNDEFINED, labelStyle=Component.UNDEFINED, contentStyle=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
62
- self._prop_names = ['children', 'id', 'bordered', 'className', 'column', 'contentStyle', 'labelStyle', 'layout', 'loading_state', 'size', 'style', 'title']
63
- self._type = 'AntdDescriptions'
64
- self._namespace = 'feffery_antd_components'
65
- self._valid_wildcard_attributes = []
66
- self.available_properties = ['children', 'id', 'bordered', 'className', 'column', 'contentStyle', 'labelStyle', 'layout', 'loading_state', 'size', 'style', 'title']
67
- self.available_wildcard_properties = []
68
- _explicit_args = kwargs.pop('_explicit_args')
69
- _locals = locals()
70
- _locals.update(kwargs) # For wildcard attrs
71
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
72
- for k in []:
73
- if k not in args:
74
- raise TypeError(
75
- 'Required argument `' + k + '` was not specified.')
76
- super(AntdDescriptions, self).__init__(children=children, **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 AntdDivider(Component):
7
- """An AntdDivider 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
- - direction (a value equal to: 'horizontal', 'vertical'; default 'horizontal')
19
-
20
- - fontFamily (string; default 'initial')
21
-
22
- - fontSize (string; optional)
23
-
24
- - fontStyle (string; default 'initial')
25
-
26
- - fontWeight (string; default 'initial')
27
-
28
- - innerTextOrientation (a value equal to: 'left', 'center', 'right'; default 'center')
29
-
30
- - isDashed (boolean; default False)
31
-
32
- - lineColor (string; default 'lightgrey')
33
-
34
- - loading_state (dict; optional)
35
-
36
- `loading_state` is a dict with keys:
37
-
38
- - component_name (string; optional):
39
- Holds the name of the component that is loading.
40
-
41
- - is_loading (boolean; optional):
42
- Determines if the component is loading or not.
43
-
44
- - prop_name (string; optional):
45
- Holds which property is loading."""
46
- @_explicitize_args
47
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, innerTextOrientation=Component.UNDEFINED, isDashed=Component.UNDEFINED, direction=Component.UNDEFINED, fontSize=Component.UNDEFINED, lineColor=Component.UNDEFINED, fontStyle=Component.UNDEFINED, fontWeight=Component.UNDEFINED, fontFamily=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
48
- self._prop_names = ['children', 'id', 'className', 'direction', 'fontFamily', 'fontSize', 'fontStyle', 'fontWeight', 'innerTextOrientation', 'isDashed', 'lineColor', 'loading_state']
49
- self._type = 'AntdDivider'
50
- self._namespace = 'feffery_antd_components'
51
- self._valid_wildcard_attributes = []
52
- self.available_properties = ['children', 'id', 'className', 'direction', 'fontFamily', 'fontSize', 'fontStyle', 'fontWeight', 'innerTextOrientation', 'isDashed', 'lineColor', 'loading_state']
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(AntdDivider, self).__init__(children=children, **args)
@@ -1,82 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdDraggerUpload(Component):
7
- """An AntdDraggerUpload component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - apiUrl (string; optional)
15
-
16
- - className (string; optional)
17
-
18
- - directory (boolean; optional)
19
-
20
- - failedTooltipInfo (string; optional)
21
-
22
- - fileListMaxLength (number; default 3)
23
-
24
- - fileMaxSize (number; default 500)
25
-
26
- - fileTypes (list of strings; optional)
27
-
28
- - hint (string; 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
- - text (string; optional)
64
-
65
- - uploadId (string; optional)"""
66
- @_explicitize_args
67
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, apiUrl=Component.UNDEFINED, text=Component.UNDEFINED, hint=Component.UNDEFINED, fileListMaxLength=Component.UNDEFINED, fileTypes=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):
68
- self._prop_names = ['id', 'apiUrl', 'className', 'directory', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'hint', 'lastUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'style', 'text', 'uploadId']
69
- self._type = 'AntdDraggerUpload'
70
- self._namespace = 'feffery_antd_components'
71
- self._valid_wildcard_attributes = []
72
- self.available_properties = ['id', 'apiUrl', 'className', 'directory', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'hint', 'lastUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'style', 'text', 'uploadId']
73
- self.available_wildcard_properties = []
74
- _explicit_args = kwargs.pop('_explicit_args')
75
- _locals = locals()
76
- _locals.update(kwargs) # For wildcard attrs
77
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
78
- for k in []:
79
- if k not in args:
80
- raise TypeError(
81
- 'Required argument `' + k + '` was not specified.')
82
- super(AntdDraggerUpload, 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 AntdDrawer(Component):
7
- """An AntdDrawer 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
- - closable (boolean; optional)
19
-
20
- - containerId (string; optional)
21
-
22
- - destroyOnClose (boolean; default True)
23
-
24
- - forceRender (boolean; default False)
25
-
26
- - height (number; 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
- - mask (boolean; optional)
42
-
43
- - maskClosable (boolean; optional)
44
-
45
- - placement (a value equal to: 'left', 'right', 'top', 'bottom'; optional)
46
-
47
- - style (dict; optional)
48
-
49
- - title (string; optional)
50
-
51
- - visible (boolean; optional)
52
-
53
- - width (number; optional)
54
-
55
- - zIndex (number; optional)"""
56
- @_explicitize_args
57
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, visible=Component.UNDEFINED, title=Component.UNDEFINED, placement=Component.UNDEFINED, closable=Component.UNDEFINED, forceRender=Component.UNDEFINED, destroyOnClose=Component.UNDEFINED, containerId=Component.UNDEFINED, height=Component.UNDEFINED, mask=Component.UNDEFINED, maskClosable=Component.UNDEFINED, width=Component.UNDEFINED, zIndex=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
58
- self._prop_names = ['children', 'id', 'className', 'closable', 'containerId', 'destroyOnClose', 'forceRender', 'height', 'loading_state', 'mask', 'maskClosable', 'placement', 'style', 'title', 'visible', 'width', 'zIndex']
59
- self._type = 'AntdDrawer'
60
- self._namespace = 'feffery_antd_components'
61
- self._valid_wildcard_attributes = []
62
- self.available_properties = ['children', 'id', 'className', 'closable', 'containerId', 'destroyOnClose', 'forceRender', 'height', 'loading_state', 'mask', 'maskClosable', 'placement', 'style', 'title', 'visible', 'width', 'zIndex']
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(AntdDrawer, self).__init__(children=children, **args)
@@ -1,84 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdDropdown(Component):
7
- """An AntdDropdown component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - arrow (boolean; optional)
15
-
16
- - buttonMode (boolean; default False)
17
-
18
- - className (string; optional)
19
-
20
- - clickedKey (string; optional)
21
-
22
- - disabled (boolean; 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
- - menuItems (list of dicts; optional)
38
-
39
- `menuItems` is a list of dicts with keys:
40
-
41
- - disabled (boolean; optional)
42
-
43
- - href (string; optional)
44
-
45
- - icon (string; optional)
46
-
47
- - isDivider (boolean; optional)
48
-
49
- - key (string; optional)
50
-
51
- - target (string; optional)
52
-
53
- - title (string; optional)
54
-
55
- - overlayClassName (string; optional)
56
-
57
- - overlayStyle (dict; optional)
58
-
59
- - placement (a value equal to: 'bottomLeft', 'bottomCenter', 'bottomRight', 'topLeft', 'topCenter', 'topRight'; optional)
60
-
61
- - style (dict; optional)
62
-
63
- - title (string; optional)
64
-
65
- - trigger (a value equal to: 'click', 'hover'; default 'hover')
66
-
67
- - visible (boolean; default False)"""
68
- @_explicitize_args
69
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, title=Component.UNDEFINED, buttonMode=Component.UNDEFINED, clickedKey=Component.UNDEFINED, menuItems=Component.UNDEFINED, arrow=Component.UNDEFINED, disabled=Component.UNDEFINED, overlayClassName=Component.UNDEFINED, overlayStyle=Component.UNDEFINED, placement=Component.UNDEFINED, trigger=Component.UNDEFINED, visible=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
70
- self._prop_names = ['id', 'arrow', 'buttonMode', 'className', 'clickedKey', 'disabled', 'loading_state', 'menuItems', 'overlayClassName', 'overlayStyle', 'placement', 'style', 'title', 'trigger', 'visible']
71
- self._type = 'AntdDropdown'
72
- self._namespace = 'feffery_antd_components'
73
- self._valid_wildcard_attributes = []
74
- self.available_properties = ['id', 'arrow', 'buttonMode', 'className', 'clickedKey', 'disabled', 'loading_state', 'menuItems', 'overlayClassName', 'overlayStyle', 'placement', 'style', 'title', 'trigger', 'visible']
75
- self.available_wildcard_properties = []
76
- _explicit_args = kwargs.pop('_explicit_args')
77
- _locals = locals()
78
- _locals.update(kwargs) # For wildcard attrs
79
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
80
- for k in []:
81
- if k not in args:
82
- raise TypeError(
83
- 'Required argument `' + k + '` was not specified.')
84
- super(AntdDropdown, 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 AntdEmpty(Component):
7
- """An AntdEmpty component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - className (string; optional)
15
-
16
- - description (string; optional)
17
-
18
- - image (string; optional)
19
-
20
- - imageStyle (dict; 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
- - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
36
-
37
- - style (dict; optional)"""
38
- @_explicitize_args
39
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, description=Component.UNDEFINED, image=Component.UNDEFINED, imageStyle=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
40
- self._prop_names = ['id', 'className', 'description', 'image', 'imageStyle', 'loading_state', 'locale', 'style']
41
- self._type = 'AntdEmpty'
42
- self._namespace = 'feffery_antd_components'
43
- self._valid_wildcard_attributes = []
44
- self.available_properties = ['id', 'className', 'description', 'image', 'imageStyle', 'loading_state', 'locale', 'style']
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(AntdEmpty, self).__init__(**args)