dara-components 1.23.0a1__py3-none-any.whl → 1.23.2a1__py3-none-any.whl
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.
- dara/components/_assets/auto_js/dara.components.umd.js +8611 -8516
- dara/components/common/table.py +11 -0
- {dara_components-1.23.0a1.dist-info → dara_components-1.23.2a1.dist-info}/METADATA +3 -3
- {dara_components-1.23.0a1.dist-info → dara_components-1.23.2a1.dist-info}/RECORD +7 -7
- {dara_components-1.23.0a1.dist-info → dara_components-1.23.2a1.dist-info}/LICENSE +0 -0
- {dara_components-1.23.0a1.dist-info → dara_components-1.23.2a1.dist-info}/WHEEL +0 -0
- {dara_components-1.23.0a1.dist-info → dara_components-1.23.2a1.dist-info}/entry_points.txt +0 -0
dara/components/common/table.py
CHANGED
|
@@ -507,6 +507,12 @@ class Column(BaseModel):
|
|
|
507
507
|
return filter
|
|
508
508
|
|
|
509
509
|
|
|
510
|
+
class TableAction(BaseModel):
|
|
511
|
+
icon_name: str
|
|
512
|
+
label: str
|
|
513
|
+
id: str
|
|
514
|
+
|
|
515
|
+
|
|
510
516
|
class Table(ContentComponent):
|
|
511
517
|
"""
|
|
512
518
|

|
|
@@ -849,6 +855,8 @@ class Table(ContentComponent):
|
|
|
849
855
|
:param include_index: Boolean, if True the table will render the index column(s), defaults to True
|
|
850
856
|
:param max_rows: if specified, table height will be fixed to accommodate the specified number of rows
|
|
851
857
|
:param suppress_click_events_for_selection: Whether to suppress click events for clicks in select boxes. Defaults to False
|
|
858
|
+
:param actions: Optional list of actions to display in the table
|
|
859
|
+
:param row_height: Optional row height for the table
|
|
852
860
|
"""
|
|
853
861
|
|
|
854
862
|
model_config = ConfigDict(ser_json_timedelta='float', use_enum_values=True, arbitrary_types_allowed=True)
|
|
@@ -866,6 +874,9 @@ class Table(ContentComponent):
|
|
|
866
874
|
max_rows: int | None = None
|
|
867
875
|
suppress_click_events_for_selection: bool | None = False
|
|
868
876
|
|
|
877
|
+
actions: list[TableAction] | None = None
|
|
878
|
+
row_height: int | None = None
|
|
879
|
+
|
|
869
880
|
TableFormatterType: ClassVar[TFormatterType] = TableFormatterType
|
|
870
881
|
TableFilter: ClassVar[TFilterType] = TableFilter
|
|
871
882
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dara-components
|
|
3
|
-
Version: 1.23.
|
|
3
|
+
Version: 1.23.2a1
|
|
4
4
|
Summary: Components for the Dara Framework
|
|
5
5
|
Home-page: https://dara.causalens.com/
|
|
6
6
|
License: Apache-2.0
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
15
15
|
Requires-Dist: bokeh (==3.1.1)
|
|
16
16
|
Requires-Dist: cai-causal-graph (>=0.3.6)
|
|
17
17
|
Requires-Dist: certifi (>=2024.7.4)
|
|
18
|
-
Requires-Dist: dara-core (==1.23.
|
|
18
|
+
Requires-Dist: dara-core (==1.23.2-alpha.1)
|
|
19
19
|
Requires-Dist: dill (>=0.3.0,<0.4.0)
|
|
20
20
|
Requires-Dist: matplotlib (>=2.0.0)
|
|
21
21
|
Requires-Dist: pandas (>=1.1.0,<3.0.0)
|
|
@@ -27,7 +27,7 @@ Description-Content-Type: text/markdown
|
|
|
27
27
|
|
|
28
28
|
# Dara Components
|
|
29
29
|
|
|
30
|
-
<img src="https://github.com/causalens/dara/blob/v1.23.
|
|
30
|
+
<img src="https://github.com/causalens/dara/blob/v1.23.2-alpha.1/img/dara_light.svg?raw=true">
|
|
31
31
|
|
|
32
32
|

|
|
33
33
|
[](https://www.apache.org/licenses/LICENSE-2.0)
|
|
@@ -2,7 +2,7 @@ dara/components/__init__.py,sha256=C_FZGdU_DrybumO2aVYEpVmSJ00WnDtVxWjlvv_HRJ8,1
|
|
|
2
2
|
dara/components/_assets/__init__.py,sha256=WRWzSRHxObpPhbIJZ1R28PMkNvQeaz_mtcGyCDleUrQ,863
|
|
3
3
|
dara/components/_assets/auto_js/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
dara/components/_assets/auto_js/dara.components.css,sha256=Qm0_kcxXBDoXvvPTc7YCttkl1zMFifdcp-KufTunPNY,162729
|
|
5
|
-
dara/components/_assets/auto_js/dara.components.umd.js,sha256=
|
|
5
|
+
dara/components/_assets/auto_js/dara.components.umd.js,sha256=TTsbFdNTJr8d5ZX3ji6HSepzo0QYXi-0zzOY_zCbQ5M,7043121
|
|
6
6
|
dara/components/_assets/common/bokeh-3.1.1.min.js,sha256=MbVmD3ArfHv5QtlTZlkO9QQOXQjGD1BD24RAfo9Cm3k,942380
|
|
7
7
|
dara/components/_assets/common/bokeh-api-3.1.1.min.js,sha256=mXZVlXj0uhFbxfm1E4g7vSkPABdBFP1ws0FLRTYSZwc,118248
|
|
8
8
|
dara/components/_assets/common/bokeh-gl-3.1.1.min.js,sha256=XzGw14TvTGCtZsW2mXMD5Ro2fVMkKk380eMyqwQN1rQ,194368
|
|
@@ -50,7 +50,7 @@ dara/components/common/spacer.py,sha256=foYtnexWIUjFbR4PzW3b8RVXNnf8O065IAxiJrkU
|
|
|
50
50
|
dara/components/common/stack.py,sha256=w_tZ4yil6ffFhLWj6LPeYCpN9MsaqGXchk3Cs4VrTis,5519
|
|
51
51
|
dara/components/common/switch.py,sha256=hBVUE-IUuqXk8W-73u1WH0t_Koa60nHLJpygE-uSzr8,1510
|
|
52
52
|
dara/components/common/tabbed_card.py,sha256=WJbsCl2C4rkMEaAWXYdCGo_p7pug3umU0qHcZgftBZI,2307
|
|
53
|
-
dara/components/common/table.py,sha256=
|
|
53
|
+
dara/components/common/table.py,sha256=IAsOQOfXsyxp786fiOeLi9mPxvNDSgvBT_iSvrc7EI0,30278
|
|
54
54
|
dara/components/common/text.py,sha256=IP8m2lpYkF0UoW4HIgEBCeqvi1wjeR5dO_Ydf03lvM0,1942
|
|
55
55
|
dara/components/common/textarea.py,sha256=F0rOUHx7kVJM1BTrTq6BFnLUAN8P0OnlyTudvR0B2Qk,2084
|
|
56
56
|
dara/components/common/time_utils.py,sha256=lB6ncnukBE1-pxz3F7pw0QLGrAiNCCELvBfRI49f-Rc,1717
|
|
@@ -93,8 +93,8 @@ dara/components/smart/data_slicer/utils/core.py,sha256=lRONw6kGZRlISvdOIfud9eUVt
|
|
|
93
93
|
dara/components/smart/data_slicer/utils/data_preview.py,sha256=-j77RuYWOJNQpZwEgb2iryA42DEgabq1Q8IXHkOUUe8,1697
|
|
94
94
|
dara/components/smart/data_slicer/utils/plotting.py,sha256=TB00576kbA6y1eRuZBe09UAcZmluY4iJsKmYnXZ3hWQ,3389
|
|
95
95
|
dara/components/smart/hierarchy.py,sha256=Q05GVG81ykwWdXcol9mqxopIrWwhhvwtT5TRF-A1j98,2871
|
|
96
|
-
dara_components-1.23.
|
|
97
|
-
dara_components-1.23.
|
|
98
|
-
dara_components-1.23.
|
|
99
|
-
dara_components-1.23.
|
|
100
|
-
dara_components-1.23.
|
|
96
|
+
dara_components-1.23.2a1.dist-info/LICENSE,sha256=r9u1w2RvpLMV6YjuXHIKXRBKzia3fx_roPwboGcLqCc,10944
|
|
97
|
+
dara_components-1.23.2a1.dist-info/METADATA,sha256=nWUX_GBVQhWzAgaN_jrYFwzHWPx2UMJJtB4wJra9kRQ,2705
|
|
98
|
+
dara_components-1.23.2a1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
99
|
+
dara_components-1.23.2a1.dist-info/entry_points.txt,sha256=QsM8eFLf60NfKyKgE4vstwyaDuuFXgqqgHaLdcsnhnk,70
|
|
100
|
+
dara_components-1.23.2a1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|