dara-components 1.18.8__py3-none-any.whl → 1.18.10__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/common/table.py +12 -1
- dara/components/umd/dara.components.umd.js +105907 -111160
- {dara_components-1.18.8.dist-info → dara_components-1.18.10.dist-info}/METADATA +3 -3
- {dara_components-1.18.8.dist-info → dara_components-1.18.10.dist-info}/RECORD +6 -6
- {dara_components-1.18.8.dist-info → dara_components-1.18.10.dist-info}/LICENSE +0 -0
- {dara_components-1.18.8.dist-info → dara_components-1.18.10.dist-info}/WHEEL +0 -0
dara/components/common/table.py
CHANGED
|
@@ -380,7 +380,18 @@ class Column(BaseModel):
|
|
|
380
380
|
sticky: Optional[str] = None
|
|
381
381
|
tooltip: Optional[str] = None
|
|
382
382
|
width: Optional[Union[int, str]] = None
|
|
383
|
-
type: Optional[
|
|
383
|
+
type: Optional[
|
|
384
|
+
Union[
|
|
385
|
+
Literal['number'],
|
|
386
|
+
Literal['string'],
|
|
387
|
+
# Generic datetime, assumes datetime64[ns]
|
|
388
|
+
Literal['datetime'],
|
|
389
|
+
# Specific datetime64 types
|
|
390
|
+
Literal['datetime64[ns]'],
|
|
391
|
+
Literal['datetime64[ms]'],
|
|
392
|
+
Literal['datetime64[s]'],
|
|
393
|
+
]
|
|
394
|
+
] = None
|
|
384
395
|
|
|
385
396
|
model_config = ConfigDict(use_enum_values=True)
|
|
386
397
|
|