dara-core 1.20.0a1__py3-none-any.whl → 1.20.1a2__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/interactivity/derived_variable.py +4 -4
- dara/core/umd/dara.core.umd.js +80 -173
- {dara_core-1.20.0a1.dist-info → dara_core-1.20.1a2.dist-info}/METADATA +10 -10
- {dara_core-1.20.0a1.dist-info → dara_core-1.20.1a2.dist-info}/RECORD +7 -7
- {dara_core-1.20.0a1.dist-info → dara_core-1.20.1a2.dist-info}/LICENSE +0 -0
- {dara_core-1.20.0a1.dist-info → dara_core-1.20.1a2.dist-info}/WHEEL +0 -0
- {dara_core-1.20.0a1.dist-info → dara_core-1.20.1a2.dist-info}/entry_points.txt +0 -0
|
@@ -193,8 +193,7 @@ class DerivedVariable(ClientVariable, Generic[VariableType]):
|
|
|
193
193
|
uid: Optional[str] = None,
|
|
194
194
|
nested: Optional[List[str]] = None,
|
|
195
195
|
filter_resolver: Optional[FilterResolver] = None,
|
|
196
|
-
|
|
197
|
-
_get_tabular_data: Optional[Callable[..., Union[Awaitable[DataResponse], Awaitable[MetaTask]]]] = None,
|
|
196
|
+
**kwargs,
|
|
198
197
|
):
|
|
199
198
|
if nested is None:
|
|
200
199
|
nested = []
|
|
@@ -236,6 +235,7 @@ class DerivedVariable(ClientVariable, Generic[VariableType]):
|
|
|
236
235
|
polling_interval=polling_interval,
|
|
237
236
|
deps=deps,
|
|
238
237
|
nested=nested,
|
|
238
|
+
**kwargs,
|
|
239
239
|
)
|
|
240
240
|
|
|
241
241
|
# Import the registry of variables and register the function at import
|
|
@@ -260,8 +260,8 @@ class DerivedVariable(ClientVariable, Generic[VariableType]):
|
|
|
260
260
|
uid=str(self.uid),
|
|
261
261
|
variables=variables,
|
|
262
262
|
deps=deps_indexes,
|
|
263
|
-
get_value=
|
|
264
|
-
get_tabular_data=
|
|
263
|
+
get_value=DerivedVariable.get_value,
|
|
264
|
+
get_tabular_data=DerivedVariable.get_tabular_data,
|
|
265
265
|
),
|
|
266
266
|
)
|
|
267
267
|
|
dara/core/umd/dara.core.umd.js
CHANGED
|
@@ -1292,7 +1292,7 @@
|
|
|
1292
1292
|
if (null == r2) return {};
|
|
1293
1293
|
var t2 = {};
|
|
1294
1294
|
for (var n2 in r2) if ({}.hasOwnProperty.call(r2, n2)) {
|
|
1295
|
-
if (
|
|
1295
|
+
if (e2.includes(n2)) continue;
|
|
1296
1296
|
t2[n2] = r2[n2];
|
|
1297
1297
|
}
|
|
1298
1298
|
return t2;
|
|
@@ -1830,7 +1830,7 @@
|
|
|
1830
1830
|
invariant$1();
|
|
1831
1831
|
};
|
|
1832
1832
|
}
|
|
1833
|
-
function noop$
|
|
1833
|
+
function noop$4() {
|
|
1834
1834
|
}
|
|
1835
1835
|
var StaticRouter = /* @__PURE__ */ function(_React$Component) {
|
|
1836
1836
|
_inheritsLoose$1(StaticRouter2, _React$Component);
|
|
@@ -1847,10 +1847,10 @@
|
|
|
1847
1847
|
return _this.navigateTo(location2, "REPLACE");
|
|
1848
1848
|
};
|
|
1849
1849
|
_this.handleListen = function() {
|
|
1850
|
-
return noop$
|
|
1850
|
+
return noop$4;
|
|
1851
1851
|
};
|
|
1852
1852
|
_this.handleBlock = function() {
|
|
1853
|
-
return noop$
|
|
1853
|
+
return noop$4;
|
|
1854
1854
|
};
|
|
1855
1855
|
return _this;
|
|
1856
1856
|
}
|
|
@@ -12446,14 +12446,14 @@
|
|
|
12446
12446
|
function _nonIterableRest$2() {
|
|
12447
12447
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
12448
12448
|
}
|
|
12449
|
-
var noop$
|
|
12449
|
+
var noop$3 = function noop2() {
|
|
12450
12450
|
};
|
|
12451
12451
|
var _WINDOW = {};
|
|
12452
12452
|
var _DOCUMENT = {};
|
|
12453
12453
|
var _MUTATION_OBSERVER = null;
|
|
12454
12454
|
var _PERFORMANCE = {
|
|
12455
|
-
mark: noop$
|
|
12456
|
-
measure: noop$
|
|
12455
|
+
mark: noop$3,
|
|
12456
|
+
measure: noop$3
|
|
12457
12457
|
};
|
|
12458
12458
|
try {
|
|
12459
12459
|
if (typeof window !== "undefined") _WINDOW = window;
|
|
@@ -15789,7 +15789,7 @@
|
|
|
15789
15789
|
}
|
|
15790
15790
|
});
|
|
15791
15791
|
}
|
|
15792
|
-
function noop$
|
|
15792
|
+
function noop$2() {
|
|
15793
15793
|
}
|
|
15794
15794
|
function errorContext(cb) {
|
|
15795
15795
|
{
|
|
@@ -15929,9 +15929,9 @@
|
|
|
15929
15929
|
}
|
|
15930
15930
|
var EMPTY_OBSERVER = {
|
|
15931
15931
|
closed: true,
|
|
15932
|
-
next: noop$
|
|
15932
|
+
next: noop$2,
|
|
15933
15933
|
error: defaultErrorHandler,
|
|
15934
|
-
complete: noop$
|
|
15934
|
+
complete: noop$2
|
|
15935
15935
|
};
|
|
15936
15936
|
var observable = function() {
|
|
15937
15937
|
return typeof Symbol === "function" && Symbol.observable || "@@observable";
|
|
@@ -19574,7 +19574,6 @@
|
|
|
19574
19574
|
}
|
|
19575
19575
|
return value instanceof ShadowRoot || value instanceof getWindow$1(value).ShadowRoot;
|
|
19576
19576
|
}
|
|
19577
|
-
const invalidOverflowDisplayValues = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
19578
19577
|
function isOverflowElement(element) {
|
|
19579
19578
|
const {
|
|
19580
19579
|
overflow,
|
|
@@ -19582,29 +19581,24 @@
|
|
|
19582
19581
|
overflowY,
|
|
19583
19582
|
display
|
|
19584
19583
|
} = getComputedStyle$2(element);
|
|
19585
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !
|
|
19584
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !["inline", "contents"].includes(display);
|
|
19586
19585
|
}
|
|
19587
|
-
const tableElements = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
19588
19586
|
function isTableElement$1(element) {
|
|
19589
|
-
return
|
|
19587
|
+
return ["table", "td", "th"].includes(getNodeName$1(element));
|
|
19590
19588
|
}
|
|
19591
|
-
const topLayerSelectors = [":popover-open", ":modal"];
|
|
19592
19589
|
function isTopLayer(element) {
|
|
19593
|
-
return
|
|
19590
|
+
return [":popover-open", ":modal"].some((selector2) => {
|
|
19594
19591
|
try {
|
|
19595
19592
|
return element.matches(selector2);
|
|
19596
|
-
} catch (
|
|
19593
|
+
} catch (e2) {
|
|
19597
19594
|
return false;
|
|
19598
19595
|
}
|
|
19599
19596
|
});
|
|
19600
19597
|
}
|
|
19601
|
-
const transformProperties = ["transform", "translate", "scale", "rotate", "perspective"];
|
|
19602
|
-
const willChangeValues = ["transform", "translate", "scale", "rotate", "perspective", "filter"];
|
|
19603
|
-
const containValues = ["paint", "layout", "strict", "content"];
|
|
19604
19598
|
function isContainingBlock(elementOrCss) {
|
|
19605
19599
|
const webkit = isWebKit();
|
|
19606
19600
|
const css2 = isElement$1(elementOrCss) ? getComputedStyle$2(elementOrCss) : elementOrCss;
|
|
19607
|
-
return
|
|
19601
|
+
return css2.transform !== "none" || css2.perspective !== "none" || (css2.containerType ? css2.containerType !== "normal" : false) || !webkit && (css2.backdropFilter ? css2.backdropFilter !== "none" : false) || !webkit && (css2.filter ? css2.filter !== "none" : false) || ["transform", "perspective", "filter"].some((value) => (css2.willChange || "").includes(value)) || ["paint", "layout", "strict", "content"].some((value) => (css2.contain || "").includes(value));
|
|
19608
19602
|
}
|
|
19609
19603
|
function getContainingBlock$1(element) {
|
|
19610
19604
|
let currentNode = getParentNode$1(element);
|
|
@@ -19622,9 +19616,8 @@
|
|
|
19622
19616
|
if (typeof CSS === "undefined" || !CSS.supports) return false;
|
|
19623
19617
|
return CSS.supports("-webkit-backdrop-filter", "none");
|
|
19624
19618
|
}
|
|
19625
|
-
const lastTraversableNodeNames = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
19626
19619
|
function isLastTraversableNode(node) {
|
|
19627
|
-
return
|
|
19620
|
+
return ["html", "body", "#document"].includes(getNodeName$1(node));
|
|
19628
19621
|
}
|
|
19629
19622
|
function getComputedStyle$2(element) {
|
|
19630
19623
|
return getWindow$1(element).getComputedStyle(element);
|
|
@@ -19824,9 +19817,8 @@
|
|
|
19824
19817
|
function getAxisLength(axis) {
|
|
19825
19818
|
return axis === "y" ? "height" : "width";
|
|
19826
19819
|
}
|
|
19827
|
-
const yAxisSides = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
19828
19820
|
function getSideAxis(placement) {
|
|
19829
|
-
return
|
|
19821
|
+
return ["top", "bottom"].includes(getSide(placement)) ? "y" : "x";
|
|
19830
19822
|
}
|
|
19831
19823
|
function getAlignmentAxis(placement) {
|
|
19832
19824
|
return getOppositeAxis(getSideAxis(placement));
|
|
@@ -19851,19 +19843,19 @@
|
|
|
19851
19843
|
function getOppositeAlignmentPlacement(placement) {
|
|
19852
19844
|
return placement.replace(/start|end/g, (alignment) => oppositeAlignmentMap[alignment]);
|
|
19853
19845
|
}
|
|
19854
|
-
const lrPlacement = ["left", "right"];
|
|
19855
|
-
const rlPlacement = ["right", "left"];
|
|
19856
|
-
const tbPlacement = ["top", "bottom"];
|
|
19857
|
-
const btPlacement = ["bottom", "top"];
|
|
19858
19846
|
function getSideList(side, isStart, rtl) {
|
|
19847
|
+
const lr = ["left", "right"];
|
|
19848
|
+
const rl = ["right", "left"];
|
|
19849
|
+
const tb = ["top", "bottom"];
|
|
19850
|
+
const bt2 = ["bottom", "top"];
|
|
19859
19851
|
switch (side) {
|
|
19860
19852
|
case "top":
|
|
19861
19853
|
case "bottom":
|
|
19862
|
-
if (rtl) return isStart ?
|
|
19863
|
-
return isStart ?
|
|
19854
|
+
if (rtl) return isStart ? rl : lr;
|
|
19855
|
+
return isStart ? lr : rl;
|
|
19864
19856
|
case "left":
|
|
19865
19857
|
case "right":
|
|
19866
|
-
return isStart ?
|
|
19858
|
+
return isStart ? tb : bt2;
|
|
19867
19859
|
default:
|
|
19868
19860
|
return [];
|
|
19869
19861
|
}
|
|
@@ -20625,20 +20617,15 @@
|
|
|
20625
20617
|
const nextIndex2 = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
20626
20618
|
const nextPlacement = placements2[nextIndex2];
|
|
20627
20619
|
if (nextPlacement) {
|
|
20628
|
-
|
|
20629
|
-
|
|
20630
|
-
|
|
20631
|
-
|
|
20632
|
-
|
|
20633
|
-
|
|
20634
|
-
|
|
20635
|
-
|
|
20636
|
-
|
|
20637
|
-
reset: {
|
|
20638
|
-
placement: nextPlacement
|
|
20639
|
-
}
|
|
20640
|
-
};
|
|
20641
|
-
}
|
|
20620
|
+
return {
|
|
20621
|
+
data: {
|
|
20622
|
+
index: nextIndex2,
|
|
20623
|
+
overflows: overflowsData
|
|
20624
|
+
},
|
|
20625
|
+
reset: {
|
|
20626
|
+
placement: nextPlacement
|
|
20627
|
+
}
|
|
20628
|
+
};
|
|
20642
20629
|
}
|
|
20643
20630
|
let resetPlacement = (_overflowsData$filter = overflowsData.filter((d2) => d2.overflows[0] <= 0).sort((a2, b2) => a2.overflows[1] - b2.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
20644
20631
|
if (!resetPlacement) {
|
|
@@ -20676,7 +20663,6 @@
|
|
|
20676
20663
|
}
|
|
20677
20664
|
};
|
|
20678
20665
|
};
|
|
20679
|
-
const originSides = /* @__PURE__ */ new Set(["left", "top"]);
|
|
20680
20666
|
async function convertValueToCoords(state, options) {
|
|
20681
20667
|
const {
|
|
20682
20668
|
placement,
|
|
@@ -20687,7 +20673,7 @@
|
|
|
20687
20673
|
const side = getSide(placement);
|
|
20688
20674
|
const alignment = getAlignment(placement);
|
|
20689
20675
|
const isVertical = getSideAxis(placement) === "y";
|
|
20690
|
-
const mainAxisMulti =
|
|
20676
|
+
const mainAxisMulti = ["left", "top"].includes(side) ? -1 : 1;
|
|
20691
20677
|
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
20692
20678
|
const rawValue = evaluate(options, state);
|
|
20693
20679
|
let {
|
|
@@ -21117,7 +21103,6 @@
|
|
|
21117
21103
|
y
|
|
21118
21104
|
};
|
|
21119
21105
|
}
|
|
21120
|
-
const absoluteOrFixed = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
21121
21106
|
function getInnerBoundingClientRect$1(element, strategy) {
|
|
21122
21107
|
const clientRect = getBoundingClientRect$1(element, true, strategy === "fixed");
|
|
21123
21108
|
const top2 = clientRect.top + element.clientTop;
|
|
@@ -21175,7 +21160,7 @@
|
|
|
21175
21160
|
if (!currentNodeIsContaining && computedStyle.position === "fixed") {
|
|
21176
21161
|
currentContainingBlockComputedStyle = null;
|
|
21177
21162
|
}
|
|
21178
|
-
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === "static" && !!currentContainingBlockComputedStyle &&
|
|
21163
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === "static" && !!currentContainingBlockComputedStyle && ["absolute", "fixed"].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
21179
21164
|
if (shouldDropCurrentNode) {
|
|
21180
21165
|
result = result.filter((ancestor) => ancestor !== currentNode);
|
|
21181
21166
|
} else {
|
|
@@ -21231,9 +21216,6 @@
|
|
|
21231
21216
|
scrollTop: 0
|
|
21232
21217
|
};
|
|
21233
21218
|
const offsets = createCoords(0);
|
|
21234
|
-
function setLeftRTLScrollbarOffset() {
|
|
21235
|
-
offsets.x = getWindowScrollBarX$1(documentElement);
|
|
21236
|
-
}
|
|
21237
21219
|
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
21238
21220
|
if (getNodeName$1(offsetParent) !== "body" || isOverflowElement(documentElement)) {
|
|
21239
21221
|
scroll = getNodeScroll$1(offsetParent);
|
|
@@ -21243,12 +21225,9 @@
|
|
|
21243
21225
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
21244
21226
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
21245
21227
|
} else if (documentElement) {
|
|
21246
|
-
|
|
21228
|
+
offsets.x = getWindowScrollBarX$1(documentElement);
|
|
21247
21229
|
}
|
|
21248
21230
|
}
|
|
21249
|
-
if (isFixed && !isOffsetParentAnElement && documentElement) {
|
|
21250
|
-
setLeftRTLScrollbarOffset();
|
|
21251
|
-
}
|
|
21252
21231
|
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
21253
21232
|
const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
21254
21233
|
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
@@ -21328,9 +21307,6 @@
|
|
|
21328
21307
|
isElement: isElement$1,
|
|
21329
21308
|
isRTL
|
|
21330
21309
|
};
|
|
21331
|
-
function rectsAreEqual(a2, b2) {
|
|
21332
|
-
return a2.x === b2.x && a2.y === b2.y && a2.width === b2.width && a2.height === b2.height;
|
|
21333
|
-
}
|
|
21334
21310
|
function observeMove(element, onMove) {
|
|
21335
21311
|
let io = null;
|
|
21336
21312
|
let timeoutId2;
|
|
@@ -21349,13 +21325,12 @@
|
|
|
21349
21325
|
threshold = 1;
|
|
21350
21326
|
}
|
|
21351
21327
|
cleanup();
|
|
21352
|
-
const elementRectForRootMargin = element.getBoundingClientRect();
|
|
21353
21328
|
const {
|
|
21354
21329
|
left: left2,
|
|
21355
21330
|
top: top2,
|
|
21356
21331
|
width,
|
|
21357
21332
|
height
|
|
21358
|
-
} =
|
|
21333
|
+
} = element.getBoundingClientRect();
|
|
21359
21334
|
if (!skip) {
|
|
21360
21335
|
onMove();
|
|
21361
21336
|
}
|
|
@@ -21386,9 +21361,6 @@
|
|
|
21386
21361
|
refresh(false, ratio);
|
|
21387
21362
|
}
|
|
21388
21363
|
}
|
|
21389
|
-
if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
|
|
21390
|
-
refresh();
|
|
21391
|
-
}
|
|
21392
21364
|
isFirstUpdate = false;
|
|
21393
21365
|
}
|
|
21394
21366
|
try {
|
|
@@ -21397,7 +21369,7 @@
|
|
|
21397
21369
|
// Handle <iframe>s
|
|
21398
21370
|
root: root.ownerDocument
|
|
21399
21371
|
});
|
|
21400
|
-
} catch (
|
|
21372
|
+
} catch (e2) {
|
|
21401
21373
|
io = new IntersectionObserver(handleObserve, options);
|
|
21402
21374
|
}
|
|
21403
21375
|
io.observe(element);
|
|
@@ -21452,7 +21424,7 @@
|
|
|
21452
21424
|
}
|
|
21453
21425
|
function frameLoop() {
|
|
21454
21426
|
const nextRefRect = getBoundingClientRect$1(reference2);
|
|
21455
|
-
if (prevRefRect &&
|
|
21427
|
+
if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
|
|
21456
21428
|
update();
|
|
21457
21429
|
}
|
|
21458
21430
|
prevRefRect = nextRefRect;
|
|
@@ -21494,10 +21466,7 @@
|
|
|
21494
21466
|
platform: platformWithCache
|
|
21495
21467
|
});
|
|
21496
21468
|
};
|
|
21497
|
-
var
|
|
21498
|
-
var noop$2 = function noop2() {
|
|
21499
|
-
};
|
|
21500
|
-
var index$2 = isClient ? React$1.useLayoutEffect : noop$2;
|
|
21469
|
+
var index$2 = typeof document !== "undefined" ? React$1.useLayoutEffect : React$1.useEffect;
|
|
21501
21470
|
function deepEqual(a2, b2) {
|
|
21502
21471
|
if (a2 === b2) {
|
|
21503
21472
|
return true;
|
|
@@ -22076,11 +22045,11 @@
|
|
|
22076
22045
|
performedPointerEventsMutationRef.current = false;
|
|
22077
22046
|
}
|
|
22078
22047
|
});
|
|
22079
|
-
const isClickLikeOpenEvent = useEffectEvent(() => {
|
|
22080
|
-
return dataRef.current.openEvent ? ["click", "mousedown"].includes(dataRef.current.openEvent.type) : false;
|
|
22081
|
-
});
|
|
22082
22048
|
React__namespace.useEffect(() => {
|
|
22083
22049
|
if (!enabled) return;
|
|
22050
|
+
function isClickLikeOpenEvent() {
|
|
22051
|
+
return dataRef.current.openEvent ? ["click", "mousedown"].includes(dataRef.current.openEvent.type) : false;
|
|
22052
|
+
}
|
|
22084
22053
|
function onMouseEnter(event) {
|
|
22085
22054
|
clearTimeout(timeoutRef.current);
|
|
22086
22055
|
blockMouseMoveRef.current = false;
|
|
@@ -22094,7 +22063,7 @@
|
|
|
22094
22063
|
onOpenChange(true, event, "hover");
|
|
22095
22064
|
}
|
|
22096
22065
|
}, openDelay);
|
|
22097
|
-
} else
|
|
22066
|
+
} else {
|
|
22098
22067
|
onOpenChange(true, event, "hover");
|
|
22099
22068
|
}
|
|
22100
22069
|
}
|
|
@@ -22116,9 +22085,7 @@
|
|
|
22116
22085
|
onClose() {
|
|
22117
22086
|
clearPointerEvents();
|
|
22118
22087
|
cleanupMouseMoveHandler();
|
|
22119
|
-
|
|
22120
|
-
closeWithDelay(event, true, "safe-polygon");
|
|
22121
|
-
}
|
|
22088
|
+
closeWithDelay(event, true, "safe-polygon");
|
|
22122
22089
|
}
|
|
22123
22090
|
});
|
|
22124
22091
|
const handler = handlerRef.current;
|
|
@@ -22144,9 +22111,7 @@
|
|
|
22144
22111
|
onClose() {
|
|
22145
22112
|
clearPointerEvents();
|
|
22146
22113
|
cleanupMouseMoveHandler();
|
|
22147
|
-
|
|
22148
|
-
closeWithDelay(event);
|
|
22149
|
-
}
|
|
22114
|
+
closeWithDelay(event);
|
|
22150
22115
|
}
|
|
22151
22116
|
})(event);
|
|
22152
22117
|
}
|
|
@@ -22169,7 +22134,7 @@
|
|
|
22169
22134
|
ref.removeEventListener("mouseleave", onMouseLeave);
|
|
22170
22135
|
};
|
|
22171
22136
|
}
|
|
22172
|
-
}, [elements, enabled, context2, mouseOnly, restMs, move, closeWithDelay, cleanupMouseMoveHandler, clearPointerEvents, onOpenChange, open2, openRef, tree, delayRef, handleCloseRef, dataRef
|
|
22137
|
+
}, [elements, enabled, context2, mouseOnly, restMs, move, closeWithDelay, cleanupMouseMoveHandler, clearPointerEvents, onOpenChange, open2, openRef, tree, delayRef, handleCloseRef, dataRef]);
|
|
22173
22138
|
index$1(() => {
|
|
22174
22139
|
var _handleCloseRef$curre;
|
|
22175
22140
|
if (!enabled) return;
|
|
@@ -22252,11 +22217,9 @@
|
|
|
22252
22217
|
clearTimeout(timeoutRef.current);
|
|
22253
22218
|
},
|
|
22254
22219
|
onMouseLeave(event) {
|
|
22255
|
-
|
|
22256
|
-
closeWithDelay(event.nativeEvent, false);
|
|
22257
|
-
}
|
|
22220
|
+
closeWithDelay(event.nativeEvent, false);
|
|
22258
22221
|
}
|
|
22259
|
-
}), [closeWithDelay
|
|
22222
|
+
}), [closeWithDelay]);
|
|
22260
22223
|
return React__namespace.useMemo(() => enabled ? {
|
|
22261
22224
|
reference: reference2,
|
|
22262
22225
|
floating
|
|
@@ -22540,8 +22503,7 @@
|
|
|
22540
22503
|
event: eventOption = "click",
|
|
22541
22504
|
toggle = true,
|
|
22542
22505
|
ignoreMouse = false,
|
|
22543
|
-
keyboardHandlers = true
|
|
22544
|
-
stickIfOpen = true
|
|
22506
|
+
keyboardHandlers = true
|
|
22545
22507
|
} = props;
|
|
22546
22508
|
const pointerTypeRef = React__namespace.useRef();
|
|
22547
22509
|
const didKeyDownRef = React__namespace.useRef(false);
|
|
@@ -22554,7 +22516,7 @@
|
|
|
22554
22516
|
if (event.button !== 0) return;
|
|
22555
22517
|
if (eventOption === "click") return;
|
|
22556
22518
|
if (isMouseLikePointerType(pointerType, true) && ignoreMouse) return;
|
|
22557
|
-
if (open2 && toggle && (dataRef.current.openEvent
|
|
22519
|
+
if (open2 && toggle && (dataRef.current.openEvent ? dataRef.current.openEvent.type === "mousedown" : true)) {
|
|
22558
22520
|
onOpenChange(false, event.nativeEvent, "click");
|
|
22559
22521
|
} else {
|
|
22560
22522
|
event.preventDefault();
|
|
@@ -22568,7 +22530,7 @@
|
|
|
22568
22530
|
return;
|
|
22569
22531
|
}
|
|
22570
22532
|
if (isMouseLikePointerType(pointerType, true) && ignoreMouse) return;
|
|
22571
|
-
if (open2 && toggle && (dataRef.current.openEvent
|
|
22533
|
+
if (open2 && toggle && (dataRef.current.openEvent ? dataRef.current.openEvent.type === "click" : true)) {
|
|
22572
22534
|
onOpenChange(false, event.nativeEvent, "click");
|
|
22573
22535
|
} else {
|
|
22574
22536
|
onOpenChange(true, event.nativeEvent, "click");
|
|
@@ -22604,7 +22566,7 @@
|
|
|
22604
22566
|
}
|
|
22605
22567
|
}
|
|
22606
22568
|
}
|
|
22607
|
-
}), [dataRef, domReference, eventOption, ignoreMouse, keyboardHandlers, onOpenChange, open2,
|
|
22569
|
+
}), [dataRef, domReference, eventOption, ignoreMouse, keyboardHandlers, onOpenChange, open2, toggle]);
|
|
22608
22570
|
return React__namespace.useMemo(() => enabled ? {
|
|
22609
22571
|
reference: reference2
|
|
22610
22572
|
} : {}, [enabled, reference2]);
|
|
@@ -43654,10 +43616,13 @@
|
|
|
43654
43616
|
const unpackedItems = React$1.useMemo(() => unpackSectionedList(props.items), [props.items]);
|
|
43655
43617
|
const [pendingHighlight, setPendingHighlight] = React$1.useState(null);
|
|
43656
43618
|
const [items, setItems] = React$1.useState(unpackedItems);
|
|
43657
|
-
const [inputValue, setInputValue] = React$1.useState((
|
|
43619
|
+
const [inputValue, setInputValue] = React$1.useState(((_a = props.selectedItem) === null || _a === void 0 ? void 0 : _a.label) && props.selectedItem.label !== "null" ? props.selectedItem.label : (_b = props.placeholder) !== null && _b !== void 0 ? _b : "");
|
|
43658
43620
|
const [kbdHighlightIdx, setKbdHighlightIdx] = React$1.useState();
|
|
43659
43621
|
const { selectedItem, isOpen, getMenuProps, getInputProps, getToggleButtonProps, getItemProps, setHighlightedIndex } = useCombobox(Object.assign(Object.assign(Object.assign({ initialIsOpen: false, initialSelectedItem: (_c = props.initialValue) !== null && _c !== void 0 ? _c : props.selectedItem, itemToString: (item) => item ? item.label : "", items, onInputValueChange: (change) => {
|
|
43660
|
-
|
|
43622
|
+
const shouldUpdateInput = [stateChangeTypes.ItemClick, stateChangeTypes.InputChange].includes(change.type);
|
|
43623
|
+
if (shouldUpdateInput) {
|
|
43624
|
+
setInputValue(change.inputValue);
|
|
43625
|
+
}
|
|
43661
43626
|
if (!change.inputValue) {
|
|
43662
43627
|
setItems(unpackedItems);
|
|
43663
43628
|
return;
|
|
@@ -43722,10 +43687,11 @@
|
|
|
43722
43687
|
}
|
|
43723
43688
|
}, [isOpen, pendingHighlight, setHighlightedIndex]);
|
|
43724
43689
|
React$1.useEffect(() => {
|
|
43690
|
+
var _a2;
|
|
43725
43691
|
if (props.selectedItem === null) {
|
|
43726
|
-
setInputValue("");
|
|
43692
|
+
setInputValue((_a2 = props.placeholder) !== null && _a2 !== void 0 ? _a2 : "");
|
|
43727
43693
|
}
|
|
43728
|
-
}, [props.selectedItem]);
|
|
43694
|
+
}, [props.selectedItem, props.placeholder]);
|
|
43729
43695
|
const { refs, floatingStyles, context: context2 } = useFloating({
|
|
43730
43696
|
open: isOpen,
|
|
43731
43697
|
placement: "bottom-start",
|
|
@@ -43787,11 +43753,9 @@
|
|
|
43787
43753
|
requireRound();
|
|
43788
43754
|
const $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c = typeof document !== "undefined" ? React$1.useLayoutEffect : () => {
|
|
43789
43755
|
};
|
|
43790
|
-
var $8ae05eaa5c114e9c$var$_React_useInsertionEffect;
|
|
43791
|
-
const $8ae05eaa5c114e9c$var$useEarlyEffect = ($8ae05eaa5c114e9c$var$_React_useInsertionEffect = React$1["useInsertionEffect"]) !== null && $8ae05eaa5c114e9c$var$_React_useInsertionEffect !== void 0 ? $8ae05eaa5c114e9c$var$_React_useInsertionEffect : $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c;
|
|
43792
43756
|
function $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {
|
|
43793
43757
|
const ref = React$1.useRef(null);
|
|
43794
|
-
$
|
|
43758
|
+
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
43795
43759
|
ref.current = fn;
|
|
43796
43760
|
}, [
|
|
43797
43761
|
fn
|
|
@@ -44031,54 +43995,11 @@
|
|
|
44031
43995
|
"ping",
|
|
44032
43996
|
"referrerPolicy"
|
|
44033
43997
|
]);
|
|
44034
|
-
const $65484d02dcb7eb3e$var$globalAttrs = /* @__PURE__ */ new Set([
|
|
44035
|
-
"dir",
|
|
44036
|
-
"lang",
|
|
44037
|
-
"hidden",
|
|
44038
|
-
"inert",
|
|
44039
|
-
"translate"
|
|
44040
|
-
]);
|
|
44041
|
-
const $65484d02dcb7eb3e$var$globalEvents = /* @__PURE__ */ new Set([
|
|
44042
|
-
"onClick",
|
|
44043
|
-
"onAuxClick",
|
|
44044
|
-
"onContextMenu",
|
|
44045
|
-
"onDoubleClick",
|
|
44046
|
-
"onMouseDown",
|
|
44047
|
-
"onMouseEnter",
|
|
44048
|
-
"onMouseLeave",
|
|
44049
|
-
"onMouseMove",
|
|
44050
|
-
"onMouseOut",
|
|
44051
|
-
"onMouseOver",
|
|
44052
|
-
"onMouseUp",
|
|
44053
|
-
"onTouchCancel",
|
|
44054
|
-
"onTouchEnd",
|
|
44055
|
-
"onTouchMove",
|
|
44056
|
-
"onTouchStart",
|
|
44057
|
-
"onPointerDown",
|
|
44058
|
-
"onPointerMove",
|
|
44059
|
-
"onPointerUp",
|
|
44060
|
-
"onPointerCancel",
|
|
44061
|
-
"onPointerEnter",
|
|
44062
|
-
"onPointerLeave",
|
|
44063
|
-
"onPointerOver",
|
|
44064
|
-
"onPointerOut",
|
|
44065
|
-
"onGotPointerCapture",
|
|
44066
|
-
"onLostPointerCapture",
|
|
44067
|
-
"onScroll",
|
|
44068
|
-
"onWheel",
|
|
44069
|
-
"onAnimationStart",
|
|
44070
|
-
"onAnimationEnd",
|
|
44071
|
-
"onAnimationIteration",
|
|
44072
|
-
"onTransitionCancel",
|
|
44073
|
-
"onTransitionEnd",
|
|
44074
|
-
"onTransitionRun",
|
|
44075
|
-
"onTransitionStart"
|
|
44076
|
-
]);
|
|
44077
43998
|
const $65484d02dcb7eb3e$var$propRe = /^(data-.*)$/;
|
|
44078
43999
|
function $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, opts = {}) {
|
|
44079
|
-
let { labelable, isLink,
|
|
44000
|
+
let { labelable, isLink, propNames } = opts;
|
|
44080
44001
|
let filteredProps = {};
|
|
44081
|
-
for (const prop in props) if (Object.prototype.hasOwnProperty.call(props, prop) && ($65484d02dcb7eb3e$var$DOMPropNames.has(prop) || labelable && $65484d02dcb7eb3e$var$labelablePropNames.has(prop) || isLink && $65484d02dcb7eb3e$var$linkPropNames.has(prop) ||
|
|
44002
|
+
for (const prop in props) if (Object.prototype.hasOwnProperty.call(props, prop) && ($65484d02dcb7eb3e$var$DOMPropNames.has(prop) || labelable && $65484d02dcb7eb3e$var$labelablePropNames.has(prop) || isLink && $65484d02dcb7eb3e$var$linkPropNames.has(prop) || (propNames === null || propNames === void 0 ? void 0 : propNames.has(prop)) || $65484d02dcb7eb3e$var$propRe.test(prop))) filteredProps[prop] = props[prop];
|
|
44082
44003
|
return filteredProps;
|
|
44083
44004
|
}
|
|
44084
44005
|
function $7215afc6de606d6b$export$de79e2c695e052f3(element) {
|
|
@@ -44136,8 +44057,7 @@
|
|
|
44136
44057
|
function $c87311424ea30a05$var$testUserAgent(re) {
|
|
44137
44058
|
var _window_navigator_userAgentData;
|
|
44138
44059
|
if (typeof window === "undefined" || window.navigator == null) return false;
|
|
44139
|
-
|
|
44140
|
-
return Array.isArray(brands) && brands.some((brand) => re.test(brand.brand)) || re.test(window.navigator.userAgent);
|
|
44060
|
+
return ((_window_navigator_userAgentData = window.navigator["userAgentData"]) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.brands.some((brand) => re.test(brand.brand))) || re.test(window.navigator.userAgent);
|
|
44141
44061
|
}
|
|
44142
44062
|
function $c87311424ea30a05$var$testPlatform(re) {
|
|
44143
44063
|
var _window_navigator_userAgentData;
|
|
@@ -44327,8 +44247,9 @@
|
|
|
44327
44247
|
return event.detail === 0 && !event.pointerType;
|
|
44328
44248
|
}
|
|
44329
44249
|
function $99facab73266f662$export$5add1d006293d136(ref, initialValue, onReset) {
|
|
44250
|
+
let resetValue = React$1.useRef(initialValue);
|
|
44330
44251
|
let handleReset2 = $8ae05eaa5c114e9c$export$7f54fc3180508a52(() => {
|
|
44331
|
-
if (onReset) onReset(
|
|
44252
|
+
if (onReset) onReset(resetValue.current);
|
|
44332
44253
|
});
|
|
44333
44254
|
React$1.useEffect(() => {
|
|
44334
44255
|
var _ref_current;
|
|
@@ -44389,14 +44310,9 @@
|
|
|
44389
44310
|
}
|
|
44390
44311
|
function $9446cca9a3875146$export$e1a7b8e69ef6c52f(value, step) {
|
|
44391
44312
|
let roundedValue = value;
|
|
44392
|
-
let precision = 0;
|
|
44393
44313
|
let stepString = step.toString();
|
|
44394
|
-
let
|
|
44395
|
-
|
|
44396
|
-
else {
|
|
44397
|
-
let pointIndex = stepString.indexOf(".");
|
|
44398
|
-
if (pointIndex >= 0) precision = stepString.length - pointIndex;
|
|
44399
|
-
}
|
|
44314
|
+
let pointIndex = stepString.indexOf(".");
|
|
44315
|
+
let precision = pointIndex >= 0 ? stepString.length - pointIndex : 0;
|
|
44400
44316
|
if (precision > 0) {
|
|
44401
44317
|
let pow = Math.pow(10, precision);
|
|
44402
44318
|
roundedValue = Math.round(roundedValue * pow) / pow;
|
|
@@ -44983,9 +44899,7 @@
|
|
|
44983
44899
|
}
|
|
44984
44900
|
function $6179b936705e76d3$var$setupGlobalTouchEvents() {
|
|
44985
44901
|
if (typeof document === "undefined") return;
|
|
44986
|
-
if ($6179b936705e76d3$var$
|
|
44987
|
-
if (typeof PointerEvent !== "undefined") document.addEventListener("pointerup", $6179b936705e76d3$var$handleGlobalPointerEvent);
|
|
44988
|
-
}
|
|
44902
|
+
if (typeof PointerEvent !== "undefined") document.addEventListener("pointerup", $6179b936705e76d3$var$handleGlobalPointerEvent);
|
|
44989
44903
|
$6179b936705e76d3$var$hoverCount++;
|
|
44990
44904
|
return () => {
|
|
44991
44905
|
$6179b936705e76d3$var$hoverCount--;
|
|
@@ -45520,8 +45434,7 @@
|
|
|
45520
45434
|
step
|
|
45521
45435
|
]);
|
|
45522
45436
|
let value = React$1.useMemo(() => restrictValues($28f99e3e86e6ec45$var$convertValue(props.value)), [
|
|
45523
|
-
props.value
|
|
45524
|
-
restrictValues
|
|
45437
|
+
props.value
|
|
45525
45438
|
]);
|
|
45526
45439
|
let defaultValue = React$1.useMemo(() => {
|
|
45527
45440
|
var _convertValue;
|
|
@@ -45530,13 +45443,11 @@
|
|
|
45530
45443
|
]);
|
|
45531
45444
|
}, [
|
|
45532
45445
|
props.defaultValue,
|
|
45533
|
-
minValue
|
|
45534
|
-
restrictValues
|
|
45446
|
+
minValue
|
|
45535
45447
|
]);
|
|
45536
45448
|
let onChange2 = $28f99e3e86e6ec45$var$createOnChange(props.value, props.defaultValue, props.onChange);
|
|
45537
45449
|
let onChangeEnd = $28f99e3e86e6ec45$var$createOnChange(props.value, props.defaultValue, props.onChangeEnd);
|
|
45538
45450
|
const [values, setValuesState] = $458b0a5536c1a7cf$export$40bfa8c7b0832715(value, defaultValue, onChange2);
|
|
45539
|
-
let [initialValues] = React$1.useState(values);
|
|
45540
45451
|
const [isDraggings, setDraggingsState] = React$1.useState(new Array(values.length).fill(false));
|
|
45541
45452
|
const isEditablesRef = React$1.useRef(new Array(values.length).fill(true));
|
|
45542
45453
|
const [focusedIndex, setFocusedIndex] = React$1.useState(void 0);
|
|
@@ -45604,7 +45515,6 @@
|
|
|
45604
45515
|
}
|
|
45605
45516
|
return {
|
|
45606
45517
|
values,
|
|
45607
|
-
defaultValues: props.defaultValue !== void 0 ? defaultValue : initialValues,
|
|
45608
45518
|
getThumbValue: (index2) => values[index2],
|
|
45609
45519
|
setThumbValue: updateValue,
|
|
45610
45520
|
setThumbPercent,
|
|
@@ -45823,7 +45733,7 @@
|
|
|
45823
45733
|
};
|
|
45824
45734
|
}
|
|
45825
45735
|
function $47b897dc8cdb026b$export$8d15029008292ae(opts, state) {
|
|
45826
|
-
let { index: index2 = 0, isRequired, validationState, isInvalid, trackRef, inputRef, orientation = state.orientation, name
|
|
45736
|
+
let { index: index2 = 0, isRequired, validationState, isInvalid, trackRef, inputRef, orientation = state.orientation, name } = opts;
|
|
45827
45737
|
let isDisabled = opts.isDisabled || state.isDisabled;
|
|
45828
45738
|
let isVertical = orientation === "vertical";
|
|
45829
45739
|
let { direction } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
|
|
@@ -45942,7 +45852,7 @@
|
|
|
45942
45852
|
onDown(e2.changedTouches[0].identifier);
|
|
45943
45853
|
}
|
|
45944
45854
|
}) : {};
|
|
45945
|
-
$99facab73266f662$export$5add1d006293d136(inputRef,
|
|
45855
|
+
$99facab73266f662$export$5add1d006293d136(inputRef, value, (v) => {
|
|
45946
45856
|
state.setThumbValue(index2, v);
|
|
45947
45857
|
});
|
|
45948
45858
|
return {
|
|
@@ -45954,7 +45864,6 @@
|
|
|
45954
45864
|
step: state.step,
|
|
45955
45865
|
value,
|
|
45956
45866
|
name,
|
|
45957
|
-
form,
|
|
45958
45867
|
disabled: isDisabled,
|
|
45959
45868
|
"aria-orientation": orientation,
|
|
45960
45869
|
"aria-valuetext": state.getThumbValueLabel(index2),
|
|
@@ -46015,9 +45924,7 @@
|
|
|
46015
45924
|
},
|
|
46016
45925
|
defaultClassName: "react-aria-Slider"
|
|
46017
45926
|
});
|
|
46018
|
-
let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props
|
|
46019
|
-
global: true
|
|
46020
|
-
});
|
|
45927
|
+
let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props);
|
|
46021
45928
|
delete DOMProps.id;
|
|
46022
45929
|
return /* @__PURE__ */ React$1.createElement($64fa3d84918910a7$export$2881499e37b75b9a, {
|
|
46023
45930
|
values: [
|
|
@@ -46045,7 +45952,9 @@
|
|
|
46045
45952
|
]
|
|
46046
45953
|
]
|
|
46047
45954
|
}, /* @__PURE__ */ React$1.createElement("div", {
|
|
46048
|
-
|
|
45955
|
+
...DOMProps,
|
|
45956
|
+
...groupProps,
|
|
45957
|
+
...renderProps,
|
|
46049
45958
|
ref,
|
|
46050
45959
|
slot: props.slot || void 0,
|
|
46051
45960
|
"data-orientation": state.orientation,
|
|
@@ -46109,9 +46018,7 @@
|
|
|
46109
46018
|
isDisabled
|
|
46110
46019
|
}
|
|
46111
46020
|
});
|
|
46112
|
-
let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props
|
|
46113
|
-
global: true
|
|
46114
|
-
});
|
|
46021
|
+
let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props);
|
|
46115
46022
|
delete DOMProps.id;
|
|
46116
46023
|
return /* @__PURE__ */ React$1.createElement("div", {
|
|
46117
46024
|
...$3ef42575df84b30b$export$9d1611c77c2fe928(DOMProps, thumbProps, hoverProps),
|
|
@@ -56883,7 +56790,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
56883
56790
|
return action && typeof action === "object" && action.__typename === "ActionImpl";
|
|
56884
56791
|
}
|
|
56885
56792
|
function isAnnotatedAction(action) {
|
|
56886
|
-
return action && "uid" in action && "definition_uid" in action && "dynamic_kwargs" in action;
|
|
56793
|
+
return action && isObject(action) && "uid" in action && "definition_uid" in action && "dynamic_kwargs" in action;
|
|
56887
56794
|
}
|
|
56888
56795
|
const isPyComponent = (value) => isObject(value) && "props" in value && isObject(value.props) && "func_name" in value.props && "dynamic_kwargs" in value.props;
|
|
56889
56796
|
function isCondition(value) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dara-core
|
|
3
|
-
Version: 1.20.
|
|
3
|
+
Version: 1.20.1a2
|
|
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.20.
|
|
24
|
+
Requires-Dist: create-dara-app (==1.20.1-alpha.2)
|
|
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.20.
|
|
27
|
+
Requires-Dist: dara-components (==1.20.1-alpha.2) ; 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.20.
|
|
58
|
+
<img src="https://github.com/causalens/dara/blob/v1.20.1-alpha.2/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.20.
|
|
149
|
+
More information on the repository structure can be found in the [CONTRIBUTING.md](https://github.com/causalens/dara/blob/v1.20.1-alpha.2/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.20.
|
|
153
|
+
Dara is open-source and licensed under the [Apache 2.0 License](https://github.com/causalens/dara/blob/v1.20.1-alpha.2/LICENSE).
|
|
154
154
|
|
|
@@ -22,7 +22,7 @@ dara/core/interactivity/client_variable.py,sha256=bFc4gmKKVfAvZHmv5Y2ME1VMTxSM_v
|
|
|
22
22
|
dara/core/interactivity/condition.py,sha256=69tdxgLqNbU-AlwHTWFdp-hvxGDugNnb_McDrz0mDtE,1575
|
|
23
23
|
dara/core/interactivity/data_variable.py,sha256=cJ7ssuNotvbK01MJFPYJ_0zBAC4PAIOERIVR948G0Dk,2535
|
|
24
24
|
dara/core/interactivity/derived_data_variable.py,sha256=N2cNcFmHxmNixJ_sfF_VGqYrzEA4b90aNL0RUmuMpRA,3696
|
|
25
|
-
dara/core/interactivity/derived_variable.py,sha256=
|
|
25
|
+
dara/core/interactivity/derived_variable.py,sha256=RTessKdELHfKK-ApC4KfhUS8neMADctCE0WXJirqHa4,32393
|
|
26
26
|
dara/core/interactivity/filtering.py,sha256=rXv9ye_HqYFdZCDJ5x22AKSS_gIXB-zJDxxi4FuqAvo,9752
|
|
27
27
|
dara/core/interactivity/loop_variable.py,sha256=eiw9AVYzE7-qkBtww0qxYAGtG5SknKs_MMd6GD1gi8M,2994
|
|
28
28
|
dara/core/interactivity/non_data_variable.py,sha256=I-Nm5nEbt06X62xiUeAZsiutH-nPTY0iGJDurzbQB3M,189
|
|
@@ -88,7 +88,7 @@ dara/core/metrics/cache.py,sha256=c1PSst_oZZvuVzBXYWdpf8Sbb97u6q0HS2dlsEVLpQU,26
|
|
|
88
88
|
dara/core/metrics/runtime.py,sha256=YP-6Dz0GeI9_Yr7bUk_-OqShyFySGH_AKpDO126l6es,1833
|
|
89
89
|
dara/core/metrics/utils.py,sha256=inR1Ab5hmWZY2lsgGwLCQOEdyhCD9PumU52X2JbwlKY,2251
|
|
90
90
|
dara/core/persistence.py,sha256=10Hrvb2z5c9r0Hof7gpiiWfuKAAu6TLqLKoiZA9KpZo,18901
|
|
91
|
-
dara/core/umd/dara.core.umd.js,sha256=
|
|
91
|
+
dara/core/umd/dara.core.umd.js,sha256=voSCuryS02MgkjGjDiKMaJoLCkNF57SenVbQemapT0I,4722215
|
|
92
92
|
dara/core/umd/style.css,sha256=YQtQ4veiSktnyONl0CU1iU1kKfcQhreH4iASi1MP7Ak,4095007
|
|
93
93
|
dara/core/visual/__init__.py,sha256=QN0wbG9HPQ_vXh8BO8DnBXeYLIENVTNtRmYzZf1lx7c,577
|
|
94
94
|
dara/core/visual/components/__init__.py,sha256=wuGRk8bogiLWPOXAF-Fo4F6_L__0tBrI2p2SqgH2lnE,2385
|
|
@@ -112,8 +112,8 @@ dara/core/visual/themes/__init__.py,sha256=aM4mgoIYo2neBSw5FRzswsht7PUKjLthiHLmF
|
|
|
112
112
|
dara/core/visual/themes/dark.py,sha256=UQGDooOc8ric73eHs9E0ltYP4UCrwqQ3QxqN_fb4PwY,1942
|
|
113
113
|
dara/core/visual/themes/definitions.py,sha256=nS_gQvOzCt5hTmj74d0_siq_9QWuj6wNuir4VCHy0Dk,2779
|
|
114
114
|
dara/core/visual/themes/light.py,sha256=-Tviq8oEwGbdFULoDOqPuHO0UpAZGsBy8qFi0kAGolQ,1944
|
|
115
|
-
dara_core-1.20.
|
|
116
|
-
dara_core-1.20.
|
|
117
|
-
dara_core-1.20.
|
|
118
|
-
dara_core-1.20.
|
|
119
|
-
dara_core-1.20.
|
|
115
|
+
dara_core-1.20.1a2.dist-info/LICENSE,sha256=r9u1w2RvpLMV6YjuXHIKXRBKzia3fx_roPwboGcLqCc,10944
|
|
116
|
+
dara_core-1.20.1a2.dist-info/METADATA,sha256=YcKq6aK7cosyCWllUQ-dC6M1z-Obpy6czBvDErgebCM,7608
|
|
117
|
+
dara_core-1.20.1a2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
118
|
+
dara_core-1.20.1a2.dist-info/entry_points.txt,sha256=H__D5sNIGuPIhVam0DChNL-To5k8Y7nY7TAFz9Mz6cc,139
|
|
119
|
+
dara_core-1.20.1a2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|