Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 6ffdb52

Browse files
committed
📦 Rebuild components
1 parent cf38fe2 commit 6ffdb52

24 files changed

+162
-25
lines changed

dash_core_components/_checklist.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ class Checklist(DashComponent):
2121
"""
2222
_namespace = 'dash_core_components'
2323
_typename = 'Checklist'
24+
available_wildcard_properties = [
25+
26+
]
2427
id = ComponentProp('id', UNDEFINED, False)
2528
options = ComponentProp('options', "[]", False)
2629
values = ComponentProp('values', UNDEFINED, False)
@@ -62,5 +65,8 @@ def __init__(
6265
:param loading_state: Object that holds the loading state object
6366
coming from dash-renderer
6467
"""
65-
kws = {k: v for k, v in locals().items() if k != 'self'}
68+
kws = {
69+
k: v for k, v in locals().items() if k not in ('self', 'kwargs')
70+
}
71+
kws.update(kwargs)
6672
DashComponent.__init__(self, **kws)

dash_core_components/_confirm_dialog.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ class ConfirmDialog(DashComponent):
2121
"""
2222
_namespace = 'dash_core_components'
2323
_typename = 'ConfirmDialog'
24+
available_wildcard_properties = [
25+
26+
]
2427
id = ComponentProp('id', UNDEFINED, False)
2528
message = ComponentProp('message', UNDEFINED, False)
2629
submit_n_clicks = ComponentProp('submit_n_clicks', 0, False)
@@ -56,5 +59,8 @@ def __init__(
5659
:param displayed: Set to true to send the ConfirmDialog.
5760
:param key:
5861
"""
59-
kws = {k: v for k, v in locals().items() if k != 'self'}
62+
kws = {
63+
k: v for k, v in locals().items() if k not in ('self', 'kwargs')
64+
}
65+
kws.update(kwargs)
6066
DashComponent.__init__(self, **kws)

dash_core_components/_confirm_dialog_provider.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ class ConfirmDialogProvider(DashComponent):
2222
"""
2323
_namespace = 'dash_core_components'
2424
_typename = 'ConfirmDialogProvider'
25+
available_wildcard_properties = [
26+
27+
]
2528
id = ComponentProp('id', UNDEFINED, False)
2629
message = ComponentProp('message', UNDEFINED, False)
2730
submit_n_clicks = ComponentProp('submit_n_clicks', 0, False)
@@ -61,5 +64,8 @@ def __init__(
6164
:param loading_state: Object that holds the loading state object
6265
coming from dash-renderer
6366
"""
64-
kws = {k: v for k, v in locals().items() if k != 'self'}
67+
kws = {
68+
k: v for k, v in locals().items() if k not in ('self', 'kwargs')
69+
}
70+
kws.update(kwargs)
6571
DashComponent.__init__(self, **kws)

dash_core_components/_date_picker_range.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ class DatePickerRange(DashComponent):
2323
"""
2424
_namespace = 'dash_core_components'
2525
_typename = 'DatePickerRange'
26+
available_wildcard_properties = [
27+
28+
]
2629
id = ComponentProp('id', UNDEFINED, False)
2730
start_date = ComponentProp('start_date', UNDEFINED, False)
2831
end_date = ComponentProp('end_date', UNDEFINED, False)
@@ -178,5 +181,8 @@ def __init__(
178181
:param loading_state: Object that holds the loading state object
179182
coming from dash-renderer
180183
"""
181-
kws = {k: v for k, v in locals().items() if k != 'self'}
184+
kws = {
185+
k: v for k, v in locals().items() if k not in ('self', 'kwargs')
186+
}
187+
kws.update(kwargs)
182188
DashComponent.__init__(self, **kws)

dash_core_components/_date_picker_single.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ class DatePickerSingle(DashComponent):
2323
"""
2424
_namespace = 'dash_core_components'
2525
_typename = 'DatePickerSingle'
26+
available_wildcard_properties = [
27+
28+
]
2629
id = ComponentProp('id', UNDEFINED, False)
2730
date = ComponentProp('date', UNDEFINED, False)
2831
min_date_allowed = ComponentProp('min_date_allowed', UNDEFINED, False)
@@ -150,5 +153,8 @@ def __init__(
150153
:param loading_state: Object that holds the loading state object
151154
coming from dash-renderer
152155
"""
153-
kws = {k: v for k, v in locals().items() if k != 'self'}
156+
kws = {
157+
k: v for k, v in locals().items() if k not in ('self', 'kwargs')
158+
}
159+
kws.update(kwargs)
154160
DashComponent.__init__(self, **kws)

dash_core_components/_dropdown.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ class Dropdown(DashComponent):
2424
"""
2525
_namespace = 'dash_core_components'
2626
_typename = 'Dropdown'
27+
available_wildcard_properties = [
28+
29+
]
2730
id = ComponentProp('id', UNDEFINED, False)
2831
options = ComponentProp('options', UNDEFINED, False)
2932
value = ComponentProp('value', UNDEFINED, False)
@@ -75,5 +78,8 @@ def __init__(
7578
:param loading_state: Object that holds the loading state object
7679
coming from dash-renderer
7780
"""
78-
kws = {k: v for k, v in locals().items() if k != 'self'}
81+
kws = {
82+
k: v for k, v in locals().items() if k not in ('self', 'kwargs')
83+
}
84+
kws.update(kwargs)
7985
DashComponent.__init__(self, **kws)

dash_core_components/_graph.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ class Graph(DashComponent):
1818
"""
1919
_namespace = 'dash_core_components'
2020
_typename = 'Graph'
21+
available_wildcard_properties = [
22+
23+
]
2124
id = ComponentProp('id', UNDEFINED, False)
2225
clickData = ComponentProp('clickData', "null", False)
2326
clickAnnotationData = ComponentProp('clickAnnotationData', "null", False)
@@ -100,5 +103,8 @@ def __init__(
100103
:param loading_state: Object that holds the loading state object
101104
coming from dash-renderer
102105
"""
103-
kws = {k: v for k, v in locals().items() if k != 'self'}
106+
kws = {
107+
k: v for k, v in locals().items() if k not in ('self', 'kwargs')
108+
}
109+
kws.update(kwargs)
104110
DashComponent.__init__(self, **kws)

dash_core_components/_input.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ class Input(DashComponent):
2121
"""
2222
_namespace = 'dash_core_components'
2323
_typename = 'Input'
24+
available_wildcard_properties = [
25+
26+
]
2427
id = ComponentProp('id', UNDEFINED, False)
2528
value = ComponentProp('value', UNDEFINED, False)
2629
style = ComponentProp('style', UNDEFINED, False)
@@ -255,5 +258,8 @@ def __init__(
255258
:param loading_state: Object that holds the loading state object
256259
coming from dash-renderer
257260
"""
258-
kws = {k: v for k, v in locals().items() if k != 'self'}
261+
kws = {
262+
k: v for k, v in locals().items() if k not in ('self', 'kwargs')
263+
}
264+
kws.update(kwargs)
259265
DashComponent.__init__(self, **kws)

dash_core_components/_interval.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ class Interval(DashComponent):
2121
"""
2222
_namespace = 'dash_core_components'
2323
_typename = 'Interval'
24+
available_wildcard_properties = [
25+
26+
]
2427
id = ComponentProp('id', UNDEFINED, False)
2528
interval = ComponentProp('interval', 1000, False)
2629
disabled = ComponentProp('disabled', UNDEFINED, False)
@@ -48,5 +51,8 @@ def __init__(
4851
default) and if 0 then the interval stops
4952
running.
5053
"""
51-
kws = {k: v for k, v in locals().items() if k != 'self'}
54+
kws = {
55+
k: v for k, v in locals().items() if k not in ('self', 'kwargs')
56+
}
57+
kws.update(kwargs)
5258
DashComponent.__init__(self, **kws)

dash_core_components/_link.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ class Link(DashComponent):
1818
"""
1919
_namespace = 'dash_core_components'
2020
_typename = 'Link'
21+
available_wildcard_properties = [
22+
23+
]
2124
href = ComponentProp('href', UNDEFINED, False)
2225
refresh = ComponentProp('refresh', False, False)
2326
className = ComponentProp('className', UNDEFINED, False)
@@ -48,5 +51,8 @@ def __init__(
4851
:param loading_state: Object that holds the loading state object
4952
coming from dash-renderer
5053
"""
51-
kws = {k: v for k, v in locals().items() if k != 'self'}
54+
kws = {
55+
k: v for k, v in locals().items() if k not in ('self', 'kwargs')
56+
}
57+
kws.update(kwargs)
5258
DashComponent.__init__(self, **kws)

0 commit comments

Comments
 (0)