dara-core 1.21.6__py3-none-any.whl → 1.21.8__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/core/umd/dara.core.umd.cjs +21 -12
- {dara_core-1.21.6.dist-info → dara_core-1.21.8.dist-info}/METADATA +10 -10
- {dara_core-1.21.6.dist-info → dara_core-1.21.8.dist-info}/RECORD +6 -6
- {dara_core-1.21.6.dist-info → dara_core-1.21.8.dist-info}/LICENSE +0 -0
- {dara_core-1.21.6.dist-info → dara_core-1.21.8.dist-info}/WHEEL +0 -0
- {dara_core-1.21.6.dist-info → dara_core-1.21.8.dist-info}/entry_points.txt +0 -0
dara/core/umd/dara.core.umd.cjs
CHANGED
|
@@ -22898,6 +22898,10 @@
|
|
|
22898
22898
|
line-height: 1.1;
|
|
22899
22899
|
}
|
|
22900
22900
|
|
|
22901
|
+
h1 code {
|
|
22902
|
+
font-size: 2.5rem;
|
|
22903
|
+
}
|
|
22904
|
+
|
|
22901
22905
|
h2 {
|
|
22902
22906
|
margin-top: 2rem;
|
|
22903
22907
|
margin-bottom: 1rem;
|
|
@@ -22907,6 +22911,10 @@
|
|
|
22907
22911
|
line-height: 1.3;
|
|
22908
22912
|
}
|
|
22909
22913
|
|
|
22914
|
+
h2 code {
|
|
22915
|
+
font-size: 2rem;
|
|
22916
|
+
}
|
|
22917
|
+
|
|
22910
22918
|
h3 {
|
|
22911
22919
|
margin-top: 1.6rem;
|
|
22912
22920
|
margin-bottom: 0.6rem;
|
|
@@ -22916,6 +22924,10 @@
|
|
|
22916
22924
|
line-height: 1.25;
|
|
22917
22925
|
}
|
|
22918
22926
|
|
|
22927
|
+
h3 code {
|
|
22928
|
+
font-size: 1.25rem;
|
|
22929
|
+
}
|
|
22930
|
+
|
|
22919
22931
|
h4 {
|
|
22920
22932
|
margin-top: 1.5rem;
|
|
22921
22933
|
margin-bottom: 0.5rem;
|
|
@@ -22941,14 +22953,6 @@
|
|
|
22941
22953
|
color: ${(props) => props.theme.colors.grey5};
|
|
22942
22954
|
}
|
|
22943
22955
|
|
|
22944
|
-
h2 code {
|
|
22945
|
-
font-size: 0.875rem;
|
|
22946
|
-
}
|
|
22947
|
-
|
|
22948
|
-
h3 code {
|
|
22949
|
-
font-size: 0.9rem;
|
|
22950
|
-
}
|
|
22951
|
-
|
|
22952
22956
|
pre:first-child {
|
|
22953
22957
|
margin-top: 0;
|
|
22954
22958
|
}
|
|
@@ -71107,9 +71111,11 @@ Inferred class string: "${iconClasses}."`
|
|
|
71107
71111
|
[paramsRef]
|
|
71108
71112
|
);
|
|
71109
71113
|
const writeStoreValue = React__namespace.useCallback(
|
|
71110
|
-
({ diff }) => {
|
|
71114
|
+
async ({ diff }) => {
|
|
71111
71115
|
const newParams = mapValues({ ...paramsRef.current, ...Object.fromEntries(diff) }, (v) => String(v));
|
|
71112
|
-
const
|
|
71116
|
+
const loaderData = matchesRef.current.at(-1).loaderData;
|
|
71117
|
+
const data2 = loaderData.data instanceof Promise ? await loaderData.data : loaderData.data;
|
|
71118
|
+
const fullPathname = data2.route_definition.full_path;
|
|
71113
71119
|
navigate({
|
|
71114
71120
|
pathname: generatePath(fullPathname, newParams),
|
|
71115
71121
|
// preserve current search
|
|
@@ -74060,6 +74066,9 @@ Inferred class string: "${iconClasses}."`
|
|
|
74060
74066
|
}
|
|
74061
74067
|
return /* @__PURE__ */ React.createElement(CenteredDivWithGap, null, /* @__PURE__ */ React.createElement(Title, null, "Unknown error occurred"), /* @__PURE__ */ React.createElement(ErrorStack, null, String(error)), /* @__PURE__ */ React.createElement(ButtonBar, null, /* @__PURE__ */ React.createElement(Button$1, { href: "/login", styling: "error" }, "Go to home")));
|
|
74062
74068
|
}
|
|
74069
|
+
function RouteErrorBoundaryPage() {
|
|
74070
|
+
return /* @__PURE__ */ React.createElement(styled.ThemeProvider, { theme }, /* @__PURE__ */ React.createElement(RouteErrorBoundary, null));
|
|
74071
|
+
}
|
|
74063
74072
|
const PRELOADED_COMPONENTS = {};
|
|
74064
74073
|
function getIdentifier(component) {
|
|
74065
74074
|
return `${component.py_module}.${component.js_name}`;
|
|
@@ -74518,7 +74527,7 @@ body,
|
|
|
74518
74527
|
id: route.id,
|
|
74519
74528
|
caseSensitive: route.case_sensitive,
|
|
74520
74529
|
hydrateFallbackElement: /* @__PURE__ */ React__namespace.createElement(DefaultFallbackStatic, null),
|
|
74521
|
-
ErrorBoundary:
|
|
74530
|
+
ErrorBoundary: RouteErrorBoundaryPage
|
|
74522
74531
|
};
|
|
74523
74532
|
switch (route.__typename) {
|
|
74524
74533
|
case "IndexRoute":
|
|
@@ -74598,7 +74607,7 @@ body,
|
|
|
74598
74607
|
// wrapper around all the router content
|
|
74599
74608
|
element: /* @__PURE__ */ React__namespace.createElement(UnauthenticatedRoot, null),
|
|
74600
74609
|
hydrateFallbackElement: /* @__PURE__ */ React__namespace.createElement(DefaultFallbackStatic, null),
|
|
74601
|
-
ErrorBoundary:
|
|
74610
|
+
ErrorBoundary: RouteErrorBoundaryPage,
|
|
74602
74611
|
children: [
|
|
74603
74612
|
{
|
|
74604
74613
|
path: "error",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dara-core
|
|
3
|
-
Version: 1.21.
|
|
3
|
+
Version: 1.21.8
|
|
4
4
|
Summary: Dara Framework Core
|
|
5
5
|
Home-page: https://dara.causalens.com/
|
|
6
6
|
License: Apache-2.0
|
|
@@ -21,10 +21,10 @@ Requires-Dist: cachetools (>=5.0.0,<6.0.0)
|
|
|
21
21
|
Requires-Dist: certifi (>=2024.7.4)
|
|
22
22
|
Requires-Dist: click (==8.1.3)
|
|
23
23
|
Requires-Dist: colorama (>=0.4.6,<0.5.0)
|
|
24
|
-
Requires-Dist: create-dara-app (==1.21.
|
|
24
|
+
Requires-Dist: create-dara-app (==1.21.8)
|
|
25
25
|
Requires-Dist: croniter (>=1.0.15,<3.0.0)
|
|
26
26
|
Requires-Dist: cryptography (>=42.0.4)
|
|
27
|
-
Requires-Dist: dara-components (==1.21.
|
|
27
|
+
Requires-Dist: dara-components (==1.21.8) ; extra == "all"
|
|
28
28
|
Requires-Dist: exceptiongroup (>=1.1.3,<2.0.0)
|
|
29
29
|
Requires-Dist: fastapi (>=0.115.0,<0.116.0)
|
|
30
30
|
Requires-Dist: fastapi_vite_dara (==0.4.0)
|
|
@@ -55,7 +55,7 @@ Description-Content-Type: text/markdown
|
|
|
55
55
|
|
|
56
56
|
# Dara Application Framework
|
|
57
57
|
|
|
58
|
-
<img src="https://github.com/causalens/dara/blob/v1.21.
|
|
58
|
+
<img src="https://github.com/causalens/dara/blob/v1.21.8/img/dara_light.svg?raw=true">
|
|
59
59
|
|
|
60
60
|

|
|
61
61
|
[](https://www.apache.org/licenses/LICENSE-2.0)
|
|
@@ -100,7 +100,7 @@ source .venv/bin/activate
|
|
|
100
100
|
dara start
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
-

|
|
104
104
|
|
|
105
105
|
Note: `pip` installation uses [PEP 660](https://peps.python.org/pep-0660/) `pyproject.toml`-based editable installs which require `pip >= 21.3` and `setuptools >= 64.0.0`. You can upgrade both with:
|
|
106
106
|
|
|
@@ -117,9 +117,9 @@ Explore some of our favorite apps - a great way of getting started and getting t
|
|
|
117
117
|
|
|
118
118
|
| Dara App | Description |
|
|
119
119
|
| -------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
120
|
-
|  | Demonstrates how to use incorporate a LLM chat box into your decision app to understand model insights |
|
|
121
|
+
|  | Demonstrates how to enable the user to interact with plots, trigger actions based on clicks, mouse movements and other interactions with `Bokeh` or `Plotly` plots |
|
|
122
|
+
|  | Demonstrates how to use the `CausalGraphViewer` component to display your graphs or networks, customising the displayed information through colors and tooltips, and updating the page based on user interaction. |
|
|
123
123
|
|
|
124
124
|
Check out our [App Gallery](https://dara.causalens.com/gallery) for more inspiration!
|
|
125
125
|
|
|
@@ -146,9 +146,9 @@ And the supporting UI packages and tools.
|
|
|
146
146
|
- `ui-utils` - miscellaneous utility functions
|
|
147
147
|
- `ui-widgets` - widget components
|
|
148
148
|
|
|
149
|
-
More information on the repository structure can be found in the [CONTRIBUTING.md](https://github.com/causalens/dara/blob/v1.21.
|
|
149
|
+
More information on the repository structure can be found in the [CONTRIBUTING.md](https://github.com/causalens/dara/blob/v1.21.8/CONTRIBUTING.md) file.
|
|
150
150
|
|
|
151
151
|
## License
|
|
152
152
|
|
|
153
|
-
Dara is open-source and licensed under the [Apache 2.0 License](https://github.com/causalens/dara/blob/v1.21.
|
|
153
|
+
Dara is open-source and licensed under the [Apache 2.0 License](https://github.com/causalens/dara/blob/v1.21.8/LICENSE).
|
|
154
154
|
|
|
@@ -93,7 +93,7 @@ dara/core/router/compat.py,sha256=WAVzDcJFJOVoIQ5inplIhXD58TWsWwTTebTCqpG4nGs,31
|
|
|
93
93
|
dara/core/router/components.py,sha256=K6bj04_ZPJcU9JQjaxPJkbUeaHtA_jeJNEvCqQbDf3A,5090
|
|
94
94
|
dara/core/router/dependency_graph.py,sha256=AyjSk3DuvCgACrgpID4oSpms1X6GQJUbt-scY5X_LN4,2305
|
|
95
95
|
dara/core/router/router.py,sha256=1r3rFGiftOXC6GP66hKqTdcVNDRJsZWBWvL74wNG4dA,29719
|
|
96
|
-
dara/core/umd/dara.core.umd.cjs,sha256=
|
|
96
|
+
dara/core/umd/dara.core.umd.cjs,sha256=Cyy974YXbpht5yk_KPTu-RKahsPGVMVWXLEzE2S4-JU,5148693
|
|
97
97
|
dara/core/umd/style.css,sha256=yT3PKpi2sKI2-kQIF8xtVbTPQqgpK7-Ua7tfzDPuSsI,4095881
|
|
98
98
|
dara/core/visual/__init__.py,sha256=QN0wbG9HPQ_vXh8BO8DnBXeYLIENVTNtRmYzZf1lx7c,577
|
|
99
99
|
dara/core/visual/components/__init__.py,sha256=nmCsnMLXeZAjkhMYz-mIFodpVY-69IO1fvwwXbFlMQ4,2447
|
|
@@ -120,8 +120,8 @@ dara/core/visual/themes/__init__.py,sha256=aM4mgoIYo2neBSw5FRzswsht7PUKjLthiHLmF
|
|
|
120
120
|
dara/core/visual/themes/dark.py,sha256=UQGDooOc8ric73eHs9E0ltYP4UCrwqQ3QxqN_fb4PwY,1942
|
|
121
121
|
dara/core/visual/themes/definitions.py,sha256=5g83t24w8Ar51Cl9REBJfCU7_DtlashBQeUTKDg3D1M,2862
|
|
122
122
|
dara/core/visual/themes/light.py,sha256=-Tviq8oEwGbdFULoDOqPuHO0UpAZGsBy8qFi0kAGolQ,1944
|
|
123
|
-
dara_core-1.21.
|
|
124
|
-
dara_core-1.21.
|
|
125
|
-
dara_core-1.21.
|
|
126
|
-
dara_core-1.21.
|
|
127
|
-
dara_core-1.21.
|
|
123
|
+
dara_core-1.21.8.dist-info/LICENSE,sha256=r9u1w2RvpLMV6YjuXHIKXRBKzia3fx_roPwboGcLqCc,10944
|
|
124
|
+
dara_core-1.21.8.dist-info/METADATA,sha256=IOMPENa646ji1i8pl_gLC0ByIC-isfV8jU6BuRFh2NE,7534
|
|
125
|
+
dara_core-1.21.8.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
126
|
+
dara_core-1.21.8.dist-info/entry_points.txt,sha256=H__D5sNIGuPIhVam0DChNL-To5k8Y7nY7TAFz9Mz6cc,139
|
|
127
|
+
dara_core-1.21.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|