geonodes-web-render 0.3.21 → 0.3.23
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.
- package/dist/embed.js +31 -16
- package/package.json +1 -1
package/dist/embed.js
CHANGED
|
@@ -7831,7 +7831,13 @@ var of = {
|
|
|
7831
7831
|
GeometryNodeEvaluateAtIndex: "CONVERTER",
|
|
7832
7832
|
GeometryNodeEvaluateOnDomain: "CONVERTER",
|
|
7833
7833
|
GeometryNodeFieldVariance: "CONVERTER",
|
|
7834
|
-
GeometryNodeViewer: "OUTPUT"
|
|
7834
|
+
GeometryNodeViewer: "OUTPUT",
|
|
7835
|
+
GeometryNodeSimulationInput: "DEFAULT",
|
|
7836
|
+
GeometryNodeSimulationOutput: "DEFAULT",
|
|
7837
|
+
GeometryNodeRepeatInput: "DEFAULT",
|
|
7838
|
+
GeometryNodeRepeatOutput: "DEFAULT",
|
|
7839
|
+
GeometryNodeForeachGeometryElementInput: "DEFAULT",
|
|
7840
|
+
GeometryNodeForeachGeometryElementOutput: "DEFAULT"
|
|
7835
7841
|
};
|
|
7836
7842
|
function sf(e, t) {
|
|
7837
7843
|
if (e === "ShaderNodeMix") return t === "VECTOR" ? "VECTOR" : t === "RGBA" ? "COLOR" : "CONVERTER";
|
|
@@ -8848,8 +8854,8 @@ function mp() {
|
|
|
8848
8854
|
width: "100%",
|
|
8849
8855
|
height: "100%",
|
|
8850
8856
|
borderRadius: 10,
|
|
8851
|
-
border: "1.5px solid rgba(
|
|
8852
|
-
background: "rgba(
|
|
8857
|
+
border: "1.5px solid rgba(102, 65, 98, 0.85)",
|
|
8858
|
+
background: "rgba(102, 65, 98, 0.2)",
|
|
8853
8859
|
pointerEvents: "none"
|
|
8854
8860
|
}
|
|
8855
8861
|
});
|
|
@@ -8948,16 +8954,26 @@ function vp(e) {
|
|
|
8948
8954
|
c(() => () => R.current.forEach(clearTimeout), []), c(() => () => {
|
|
8949
8955
|
A.current && clearTimeout(A.current);
|
|
8950
8956
|
}, []);
|
|
8951
|
-
let G = u === "hybrid", oe = u === "always" || G && w, se = oe && j === "mouse", ce = oe && j === "trackpad", le = [1]
|
|
8952
|
-
|
|
8953
|
-
|
|
8954
|
-
|
|
8955
|
-
|
|
8956
|
-
|
|
8957
|
-
|
|
8958
|
-
|
|
8957
|
+
let G = u === "hybrid", oe = u === "always" || G && w, se = oe && j === "mouse", ce = oe && j === "trackpad", le = [1];
|
|
8958
|
+
c(() => {
|
|
8959
|
+
let e = y.current;
|
|
8960
|
+
if (!e) return;
|
|
8961
|
+
let t = (e) => {
|
|
8962
|
+
if (!e.ctrlKey) {
|
|
8963
|
+
e.deltaX !== 0 && (N.current = e.timeStamp);
|
|
8964
|
+
let t = e.timeStamp - N.current < 400 ? "trackpad" : "mouse";
|
|
8965
|
+
M((e) => e === t ? e : t);
|
|
8966
|
+
}
|
|
8967
|
+
G && !w && !e.ctrlKey && (k(!0), A.current && clearTimeout(A.current), A.current = setTimeout(() => k(!1), 1600));
|
|
8968
|
+
};
|
|
8969
|
+
return e.addEventListener("wheel", t, {
|
|
8970
|
+
capture: !0,
|
|
8971
|
+
passive: !0
|
|
8972
|
+
}), () => e.removeEventListener("wheel", t, { capture: !0 });
|
|
8973
|
+
}, [G, w]);
|
|
8974
|
+
let ue = a((e) => {
|
|
8959
8975
|
G && e.button === 0 && (D(!0), k(!1));
|
|
8960
|
-
}, [G]),
|
|
8976
|
+
}, [G]), de = a(() => {
|
|
8961
8977
|
G && D(!1);
|
|
8962
8978
|
}, [G]);
|
|
8963
8979
|
return c(() => {
|
|
@@ -8977,9 +8993,8 @@ function vp(e) {
|
|
|
8977
8993
|
position: "relative"
|
|
8978
8994
|
},
|
|
8979
8995
|
onContextMenu: ie,
|
|
8980
|
-
onPointerDown:
|
|
8981
|
-
onPointerLeave:
|
|
8982
|
-
onWheel: ue,
|
|
8996
|
+
onPointerDown: ue,
|
|
8997
|
+
onPointerLeave: de,
|
|
8983
8998
|
children: [
|
|
8984
8999
|
/* @__PURE__ */ _(gd, {
|
|
8985
9000
|
nodes: ee,
|
|
@@ -9028,7 +9043,7 @@ function vp(e) {
|
|
|
9028
9043
|
className: "gn-top-left",
|
|
9029
9044
|
children: [/* @__PURE__ */ _("span", {
|
|
9030
9045
|
className: "gn-version-badge",
|
|
9031
|
-
children: ["node-web-render v", "0.3.
|
|
9046
|
+
children: ["node-web-render v", "0.3.23"]
|
|
9032
9047
|
}), i.length > 1 ? /* @__PURE__ */ g("nav", {
|
|
9033
9048
|
className: "gn-breadcrumbs",
|
|
9034
9049
|
"aria-label": "Node group path",
|
package/package.json
CHANGED