feffery_antd_components 0.1.1 → 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 (101) hide show
  1. package/DESCRIPTION +1 -1
  2. package/Project.toml +1 -1
  3. package/README.md +2 -2
  4. package/feffery_antd_components/AntdAlert.py +2 -2
  5. package/feffery_antd_components/AntdTable.py +66 -5
  6. package/feffery_antd_components/feffery_antd_components.min.js +9 -9
  7. package/feffery_antd_components/metadata.json +324 -5
  8. package/feffery_antd_components/package-info.json +3 -3
  9. package/package.json +3 -3
  10. package/src/FefferyAntdComponents.jl +3 -3
  11. package/src/jl/'feffery'_antdalert.jl +2 -2
  12. package/src/jl/'feffery'_antdtable.jl +37 -5
  13. package/src/lib/components/AntdAlert.react.js +19 -11
  14. package/src/lib/components/AntdTable.react.js +304 -126
  15. package/usage.py +206 -0
  16. package/build/lib/feffery_antd_components/AntdAffix.py +0 -54
  17. package/build/lib/feffery_antd_components/AntdAlert.py +0 -58
  18. package/build/lib/feffery_antd_components/AntdAnchor.py +0 -54
  19. package/build/lib/feffery_antd_components/AntdAvatar.py +0 -79
  20. package/build/lib/feffery_antd_components/AntdBackTop.py +0 -52
  21. package/build/lib/feffery_antd_components/AntdBadge.py +0 -70
  22. package/build/lib/feffery_antd_components/AntdBreadcrumb.py +0 -74
  23. package/build/lib/feffery_antd_components/AntdButton.py +0 -66
  24. package/build/lib/feffery_antd_components/AntdCalendar.py +0 -75
  25. package/build/lib/feffery_antd_components/AntdCard.py +0 -86
  26. package/build/lib/feffery_antd_components/AntdCardGrid.py +0 -52
  27. package/build/lib/feffery_antd_components/AntdCarousel.py +0 -56
  28. package/build/lib/feffery_antd_components/AntdCascader.py +0 -91
  29. package/build/lib/feffery_antd_components/AntdCheckbox.py +0 -71
  30. package/build/lib/feffery_antd_components/AntdCheckboxGroup.py +0 -79
  31. package/build/lib/feffery_antd_components/AntdCol.py +0 -146
  32. package/build/lib/feffery_antd_components/AntdCollapse.py +0 -79
  33. package/build/lib/feffery_antd_components/AntdComment.py +0 -88
  34. package/build/lib/feffery_antd_components/AntdContent.py +0 -50
  35. package/build/lib/feffery_antd_components/AntdCountdown.py +0 -72
  36. package/build/lib/feffery_antd_components/AntdDatePicker.py +0 -93
  37. package/build/lib/feffery_antd_components/AntdDateRangePicker.py +0 -89
  38. package/build/lib/feffery_antd_components/AntdDescriptionItem.py +0 -58
  39. package/build/lib/feffery_antd_components/AntdDescriptions.py +0 -76
  40. package/build/lib/feffery_antd_components/AntdDivider.py +0 -62
  41. package/build/lib/feffery_antd_components/AntdDraggerUpload.py +0 -82
  42. package/build/lib/feffery_antd_components/AntdDrawer.py +0 -72
  43. package/build/lib/feffery_antd_components/AntdDropdown.py +0 -84
  44. package/build/lib/feffery_antd_components/AntdEmpty.py +0 -54
  45. package/build/lib/feffery_antd_components/AntdFooter.py +0 -50
  46. package/build/lib/feffery_antd_components/AntdForm.py +0 -72
  47. package/build/lib/feffery_antd_components/AntdFormItem.py +0 -84
  48. package/build/lib/feffery_antd_components/AntdHeader.py +0 -50
  49. package/build/lib/feffery_antd_components/AntdIcon.py +0 -48
  50. package/build/lib/feffery_antd_components/AntdImage.py +0 -62
  51. package/build/lib/feffery_antd_components/AntdInput.py +0 -99
  52. package/build/lib/feffery_antd_components/AntdInputNumber.py +0 -99
  53. package/build/lib/feffery_antd_components/AntdLayout.py +0 -50
  54. package/build/lib/feffery_antd_components/AntdMentions.py +0 -74
  55. package/build/lib/feffery_antd_components/AntdMenu.py +0 -81
  56. package/build/lib/feffery_antd_components/AntdMessage.py +0 -54
  57. package/build/lib/feffery_antd_components/AntdModal.py +0 -88
  58. package/build/lib/feffery_antd_components/AntdNotification.py +0 -60
  59. package/build/lib/feffery_antd_components/AntdPageHeader.py +0 -62
  60. package/build/lib/feffery_antd_components/AntdPagination.py +0 -95
  61. package/build/lib/feffery_antd_components/AntdParagraph.py +0 -70
  62. package/build/lib/feffery_antd_components/AntdPopconfirm.py +0 -80
  63. package/build/lib/feffery_antd_components/AntdPopover.py +0 -74
  64. package/build/lib/feffery_antd_components/AntdProgress.py +0 -88
  65. package/build/lib/feffery_antd_components/AntdRadio.py +0 -54
  66. package/build/lib/feffery_antd_components/AntdRadioGroup.py +0 -89
  67. package/build/lib/feffery_antd_components/AntdRate.py +0 -60
  68. package/build/lib/feffery_antd_components/AntdResult.py +0 -52
  69. package/build/lib/feffery_antd_components/AntdRibbon.py +0 -54
  70. package/build/lib/feffery_antd_components/AntdRow.py +0 -72
  71. package/build/lib/feffery_antd_components/AntdSelect.py +0 -117
  72. package/build/lib/feffery_antd_components/AntdSider.py +0 -68
  73. package/build/lib/feffery_antd_components/AntdSkeleton.py +0 -86
  74. package/build/lib/feffery_antd_components/AntdSlider.py +0 -68
  75. package/build/lib/feffery_antd_components/AntdSpace.py +0 -60
  76. package/build/lib/feffery_antd_components/AntdSpin.py +0 -68
  77. package/build/lib/feffery_antd_components/AntdStatistic.py +0 -74
  78. package/build/lib/feffery_antd_components/AntdSteps.py +0 -72
  79. package/build/lib/feffery_antd_components/AntdSwitch.py +0 -75
  80. package/build/lib/feffery_antd_components/AntdTabPane.py +0 -66
  81. package/build/lib/feffery_antd_components/AntdTable.py +0 -179
  82. package/build/lib/feffery_antd_components/AntdTabs.py +0 -81
  83. package/build/lib/feffery_antd_components/AntdTag.py +0 -54
  84. package/build/lib/feffery_antd_components/AntdTestLink.py +0 -58
  85. package/build/lib/feffery_antd_components/AntdText.py +0 -72
  86. package/build/lib/feffery_antd_components/AntdTimePicker.py +0 -93
  87. package/build/lib/feffery_antd_components/AntdTimeRangePicker.py +0 -93
  88. package/build/lib/feffery_antd_components/AntdTimeline.py +0 -68
  89. package/build/lib/feffery_antd_components/AntdTitle.py +0 -74
  90. package/build/lib/feffery_antd_components/AntdTooltip.py +0 -64
  91. package/build/lib/feffery_antd_components/AntdTransfer.py +0 -99
  92. package/build/lib/feffery_antd_components/AntdTree.py +0 -107
  93. package/build/lib/feffery_antd_components/AntdTreeSelect.py +0 -103
  94. package/build/lib/feffery_antd_components/AntdTypography.py +0 -50
  95. package/build/lib/feffery_antd_components/AntdUpload.py +0 -80
  96. package/build/lib/feffery_antd_components/Link.py +0 -58
  97. package/build/lib/feffery_antd_components/__init__.py +0 -53
  98. package/build/lib/feffery_antd_components/_imports_.py +0 -157
  99. package/build/lib/feffery_antd_components/feffery_antd_components.min.js +0 -344
  100. package/build/lib/feffery_antd_components/metadata.json +0 -14640
  101. package/build/lib/feffery_antd_components/package-info.json +0 -77
@@ -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 AntdButton(Component):
7
- """An AntdButton 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
- - block (boolean; default False)
17
-
18
- - className (string; optional)
19
-
20
- - danger (boolean; default False)
21
-
22
- - disabled (boolean; default False)
23
-
24
- - href (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
- - nClicks (number; default 0)
40
-
41
- - shape (a value equal to: 'circle', 'round'; optional)
42
-
43
- - size (a value equal to: 'small', 'middle', 'large'; optional)
44
-
45
- - style (dict; optional)
46
-
47
- - target (string; optional)
48
-
49
- - type (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; default 'default')"""
50
- @_explicitize_args
51
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, type=Component.UNDEFINED, href=Component.UNDEFINED, target=Component.UNDEFINED, block=Component.UNDEFINED, danger=Component.UNDEFINED, disabled=Component.UNDEFINED, shape=Component.UNDEFINED, size=Component.UNDEFINED, nClicks=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
52
- self._prop_names = ['children', 'id', 'block', 'className', 'danger', 'disabled', 'href', 'loading_state', 'nClicks', 'shape', 'size', 'style', 'target', 'type']
53
- self._type = 'AntdButton'
54
- self._namespace = 'feffery_antd_components'
55
- self._valid_wildcard_attributes = []
56
- self.available_properties = ['children', 'id', 'block', 'className', 'danger', 'disabled', 'href', 'loading_state', 'nClicks', 'shape', 'size', 'style', 'target', 'type']
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(AntdButton, self).__init__(children=children, **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 AntdCalendar(Component):
7
- """An AntdCalendar component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - className (string; optional)
15
-
16
- - defaultValue (string; optional)
17
-
18
- - format (string; default 'YYYY-MM-DD')
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
- - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
34
-
35
- - persisted_props (list of a value equal to: 'value's; default ['value']):
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', 'large'; default 'default')
55
-
56
- - style (dict; optional)
57
-
58
- - value (string; optional)"""
59
- @_explicitize_args
60
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, defaultValue=Component.UNDEFINED, value=Component.UNDEFINED, format=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', 'className', 'defaultValue', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'size', 'style', 'value']
62
- self._type = 'AntdCalendar'
63
- self._namespace = 'feffery_antd_components'
64
- self._valid_wildcard_attributes = []
65
- self.available_properties = ['id', 'className', 'defaultValue', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'size', 'style', 'value']
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(AntdCalendar, self).__init__(**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 AntdCard(Component):
7
- """An AntdCard 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
- - bodyStyle (dict; optional)
19
-
20
- - bordered (boolean; optional)
21
-
22
- - className (string; optional)
23
-
24
- - coverImg (dict; optional)
25
-
26
- `coverImg` is a dict with keys:
27
-
28
- - alt (string; optional)
29
-
30
- - src (string; optional)
31
-
32
- - style (dict; optional)
33
-
34
- - extraLink (dict; optional)
35
-
36
- `extraLink` is a dict with keys:
37
-
38
- - className (string; optional)
39
-
40
- - content (string; optional)
41
-
42
- - href (string; optional)
43
-
44
- - style (dict; optional)
45
-
46
- - target (string; optional)
47
-
48
- - headStyle (dict; optional)
49
-
50
- - hoverable (boolean; optional)
51
-
52
- - loading_state (dict; optional)
53
-
54
- `loading_state` is a dict with keys:
55
-
56
- - component_name (string; optional):
57
- Holds the name of the component that is loading.
58
-
59
- - is_loading (boolean; optional):
60
- Determines if the component is loading or not.
61
-
62
- - prop_name (string; optional):
63
- Holds which property is loading.
64
-
65
- - size (a value equal to: 'default', 'small'; optional)
66
-
67
- - style (dict; optional)
68
-
69
- - title (string; optional)"""
70
- @_explicitize_args
71
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, extraLink=Component.UNDEFINED, coverImg=Component.UNDEFINED, bodyStyle=Component.UNDEFINED, headStyle=Component.UNDEFINED, bordered=Component.UNDEFINED, hoverable=Component.UNDEFINED, size=Component.UNDEFINED, title=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
72
- self._prop_names = ['children', 'id', 'bodyStyle', 'bordered', 'className', 'coverImg', 'extraLink', 'headStyle', 'hoverable', 'loading_state', 'size', 'style', 'title']
73
- self._type = 'AntdCard'
74
- self._namespace = 'feffery_antd_components'
75
- self._valid_wildcard_attributes = []
76
- self.available_properties = ['children', 'id', 'bodyStyle', 'bordered', 'className', 'coverImg', 'extraLink', 'headStyle', 'hoverable', 'loading_state', 'size', '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(AntdCard, self).__init__(children=children, **args)
@@ -1,52 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdCardGrid(Component):
7
- """An AntdCardGrid 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
- - hoverable (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
- - style (dict; optional)"""
36
- @_explicitize_args
37
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, hoverable=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
38
- self._prop_names = ['children', 'id', 'className', 'hoverable', 'loading_state', 'style']
39
- self._type = 'AntdCardGrid'
40
- self._namespace = 'feffery_antd_components'
41
- self._valid_wildcard_attributes = []
42
- self.available_properties = ['children', 'id', 'className', 'hoverable', 'loading_state', 'style']
43
- self.available_wildcard_properties = []
44
- _explicit_args = kwargs.pop('_explicit_args')
45
- _locals = locals()
46
- _locals.update(kwargs) # For wildcard attrs
47
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
48
- for k in []:
49
- if k not in args:
50
- raise TypeError(
51
- 'Required argument `' + k + '` was not specified.')
52
- super(AntdCardGrid, self).__init__(children=children, **args)
@@ -1,56 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdCarousel(Component):
7
- """An AntdCarousel 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
- - autoplay (boolean; optional)
17
-
18
- - className (string; optional)
19
-
20
- - dotPosition (a value equal to: 'top', 'bottom', 'left', 'right'; optional)
21
-
22
- - easing (string; optional)
23
-
24
- - effect (a value equal to: 'scrollx', 'fade'; 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
- @_explicitize_args
41
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, autoplay=Component.UNDEFINED, dotPosition=Component.UNDEFINED, easing=Component.UNDEFINED, effect=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
42
- self._prop_names = ['children', 'id', 'autoplay', 'className', 'dotPosition', 'easing', 'effect', 'loading_state', 'style']
43
- self._type = 'AntdCarousel'
44
- self._namespace = 'feffery_antd_components'
45
- self._valid_wildcard_attributes = []
46
- self.available_properties = ['children', 'id', 'autoplay', 'className', 'dotPosition', 'easing', 'effect', 'loading_state', 'style']
47
- self.available_wildcard_properties = []
48
- _explicit_args = kwargs.pop('_explicit_args')
49
- _locals = locals()
50
- _locals.update(kwargs) # For wildcard attrs
51
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
52
- for k in []:
53
- if k not in args:
54
- raise TypeError(
55
- 'Required argument `' + k + '` was not specified.')
56
- super(AntdCarousel, self).__init__(children=children, **args)
@@ -1,91 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdCascader(Component):
7
- """An AntdCascader component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - bordered (boolean; optional)
15
-
16
- - changeOnSelect (boolean; default False)
17
-
18
- - className (string; optional)
19
-
20
- - defaultValue (list of strings | list of list of stringss; optional)
21
-
22
- - disabled (boolean; optional)
23
-
24
- - expandTrigger (a value equal to: 'click', 'hover'; optional)
25
-
26
- - loading_state (dict; optional)
27
-
28
- `loading_state` is a dict with keys:
29
-
30
- - component_name (string; optional):
31
- Holds the name of the component that is loading.
32
-
33
- - is_loading (boolean; optional):
34
- Determines if the component is loading or not.
35
-
36
- - prop_name (string; optional):
37
- Holds which property is loading.
38
-
39
- - locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
40
-
41
- - maxTagCount (number | a value equal to: 'responsive'; optional)
42
-
43
- - multiple (boolean; optional)
44
-
45
- - options (optional)
46
-
47
- - persisted_props (list of a value equal to: 'value's; default ['value']):
48
- Properties whose user interactions will persist after refreshing
49
- the component or the page. Since only `value` is allowed this
50
- prop can normally be ignored.
51
-
52
- - persistence (boolean | string | number; optional):
53
- Used to allow user interactions in this component to be persisted
54
- when the component - or the page - is refreshed. If `persisted`
55
- is truthy and hasn't changed from its previous value, a `value`
56
- that the user has changed while using the app will keep that
57
- change, as long as the new `value` also matches what was given
58
- originally. Used in conjunction with `persistence_type`.
59
-
60
- - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
61
- Where persisted user changes will be stored: memory: only kept in
62
- memory, reset on page refresh. local: window.localStorage, data
63
- is kept after the browser quit. session: window.sessionStorage,
64
- data is cleared once the browser quit.
65
-
66
- - placeholder (string; optional)
67
-
68
- - placement (a value equal to: 'bottomLeft', 'bottomRight', 'topLeft', 'topRight'; optional)
69
-
70
- - size (a value equal to: 'small', 'middle', 'large'; optional)
71
-
72
- - style (dict; optional)
73
-
74
- - value (list of strings | list of list of stringss; optional)"""
75
- @_explicitize_args
76
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, options=Component.UNDEFINED, disabled=Component.UNDEFINED, changeOnSelect=Component.UNDEFINED, size=Component.UNDEFINED, bordered=Component.UNDEFINED, placeholder=Component.UNDEFINED, placement=Component.UNDEFINED, defaultValue=Component.UNDEFINED, maxTagCount=Component.UNDEFINED, multiple=Component.UNDEFINED, value=Component.UNDEFINED, expandTrigger=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
77
- self._prop_names = ['id', 'bordered', 'changeOnSelect', 'className', 'defaultValue', 'disabled', 'expandTrigger', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'size', 'style', 'value']
78
- self._type = 'AntdCascader'
79
- self._namespace = 'feffery_antd_components'
80
- self._valid_wildcard_attributes = []
81
- self.available_properties = ['id', 'bordered', 'changeOnSelect', 'className', 'defaultValue', 'disabled', 'expandTrigger', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'size', 'style', 'value']
82
- self.available_wildcard_properties = []
83
- _explicit_args = kwargs.pop('_explicit_args')
84
- _locals = locals()
85
- _locals.update(kwargs) # For wildcard attrs
86
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
87
- for k in []:
88
- if k not in args:
89
- raise TypeError(
90
- 'Required argument `' + k + '` was not specified.')
91
- super(AntdCascader, self).__init__(**args)
@@ -1,71 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdCheckbox(Component):
7
- """An AntdCheckbox component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - checked (boolean; optional)
15
-
16
- - className (string; optional)
17
-
18
- - disabled (boolean; optional)
19
-
20
- - label (string; optional)
21
-
22
- - loading_state (dict; optional)
23
-
24
- `loading_state` is a dict with keys:
25
-
26
- - component_name (string; optional):
27
- Holds the name of the component that is loading.
28
-
29
- - is_loading (boolean; optional):
30
- Determines if the component is loading or not.
31
-
32
- - prop_name (string; optional):
33
- Holds which property is loading.
34
-
35
- - 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
- - style (dict; optional)"""
55
- @_explicitize_args
56
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, disabled=Component.UNDEFINED, label=Component.UNDEFINED, checked=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
57
- self._prop_names = ['id', 'checked', 'className', 'disabled', 'label', 'loading_state', 'persisted_props', 'persistence', 'persistence_type', 'style']
58
- self._type = 'AntdCheckbox'
59
- self._namespace = 'feffery_antd_components'
60
- self._valid_wildcard_attributes = []
61
- self.available_properties = ['id', 'checked', 'className', 'disabled', 'label', 'loading_state', 'persisted_props', 'persistence', 'persistence_type', 'style']
62
- self.available_wildcard_properties = []
63
- _explicit_args = kwargs.pop('_explicit_args')
64
- _locals = locals()
65
- _locals.update(kwargs) # For wildcard attrs
66
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
67
- for k in []:
68
- if k not in args:
69
- raise TypeError(
70
- 'Required argument `' + k + '` was not specified.')
71
- super(AntdCheckbox, self).__init__(**args)
@@ -1,79 +0,0 @@
1
- # AUTO GENERATED FILE - DO NOT EDIT
2
-
3
- from dash.development.base_component import Component, _explicitize_args
4
-
5
-
6
- class AntdCheckboxGroup(Component):
7
- """An AntdCheckboxGroup component.
8
-
9
-
10
- Keyword arguments:
11
-
12
- - id (string; optional)
13
-
14
- - className (string; optional)
15
-
16
- - disabled (boolean; optional)
17
-
18
- - loading_state (dict; optional)
19
-
20
- `loading_state` is a dict with keys:
21
-
22
- - component_name (string; optional):
23
- Holds the name of the component that is loading.
24
-
25
- - is_loading (boolean; optional):
26
- Determines if the component is loading or not.
27
-
28
- - prop_name (string; optional):
29
- Holds which property is loading.
30
-
31
- - options (list of dicts; optional)
32
-
33
- `options` is a list of dicts with keys:
34
-
35
- - disabled (boolean; optional)
36
-
37
- - label (string; optional)
38
-
39
- - value (string; optional)
40
-
41
- - persisted_props (list of a value equal to: 'value's; default ['value']):
42
- Properties whose user interactions will persist after refreshing
43
- the component or the page. Since only `value` is allowed this
44
- prop can normally be ignored.
45
-
46
- - persistence (boolean | string | number; optional):
47
- Used to allow user interactions in this component to be persisted
48
- when the component - or the page - is refreshed. If `persisted`
49
- is truthy and hasn't changed from its previous value, a `value`
50
- that the user has changed while using the app will keep that
51
- change, as long as the new `value` also matches what was given
52
- originally. Used in conjunction with `persistence_type`.
53
-
54
- - persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
55
- Where persisted user changes will be stored: memory: only kept in
56
- memory, reset on page refresh. local: window.localStorage, data
57
- is kept after the browser quit. session: window.sessionStorage,
58
- data is cleared once the browser quit.
59
-
60
- - style (dict; optional)
61
-
62
- - value (list of strings; optional)"""
63
- @_explicitize_args
64
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, disabled=Component.UNDEFINED, options=Component.UNDEFINED, value=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
65
- self._prop_names = ['id', 'className', 'disabled', 'loading_state', 'options', 'persisted_props', 'persistence', 'persistence_type', 'style', 'value']
66
- self._type = 'AntdCheckboxGroup'
67
- self._namespace = 'feffery_antd_components'
68
- self._valid_wildcard_attributes = []
69
- self.available_properties = ['id', 'className', 'disabled', 'loading_state', 'options', 'persisted_props', 'persistence', 'persistence_type', 'style', 'value']
70
- self.available_wildcard_properties = []
71
- _explicit_args = kwargs.pop('_explicit_args')
72
- _locals = locals()
73
- _locals.update(kwargs) # For wildcard attrs
74
- args = {k: _locals[k] for k in _explicit_args if k != 'children'}
75
- for k in []:
76
- if k not in args:
77
- raise TypeError(
78
- 'Required argument `' + k + '` was not specified.')
79
- super(AntdCheckboxGroup, self).__init__(**args)