@reearth/core 0.0.7-alpha.10 → 0.0.7-alpha.11
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/core.js +7 -7
- package/dist/core.umd.cjs +2 -2
- package/package.json +1 -1
- package/src/engines/Cesium/Feature/utils.tsx +12 -2
package/dist/core.js
CHANGED
|
@@ -63550,18 +63550,18 @@ function EntityExtComponent({
|
|
|
63550
63550
|
hideIndicator: d,
|
|
63551
63551
|
...h
|
|
63552
63552
|
}, p) {
|
|
63553
|
-
var
|
|
63554
|
-
const y = useRef(null);
|
|
63553
|
+
var L;
|
|
63554
|
+
const y = useRef(null), E = useRef((L = y == null ? void 0 : y.current) == null ? void 0 : L.cesiumElement);
|
|
63555
63555
|
return useLayoutEffect(() => {
|
|
63556
|
-
var
|
|
63557
|
-
attachTag((
|
|
63556
|
+
var F, N, z;
|
|
63557
|
+
E.current !== void 0 && isEqual(E.current, (F = y.current) == null ? void 0 : F.cesiumElement) || (E.current = (N = y.current) == null ? void 0 : N.cesiumElement, attachTag((z = y.current) == null ? void 0 : z.cesiumElement, {
|
|
63558
63558
|
layerId: t || h.id,
|
|
63559
63559
|
featureId: n,
|
|
63560
63560
|
draggable: o,
|
|
63561
63561
|
unselectable: s,
|
|
63562
63562
|
legacyLocationPropertyKey: c,
|
|
63563
63563
|
hideIndicator: d
|
|
63564
|
-
});
|
|
63564
|
+
}));
|
|
63565
63565
|
}, [
|
|
63566
63566
|
o,
|
|
63567
63567
|
n,
|
|
@@ -63570,7 +63570,7 @@ function EntityExtComponent({
|
|
|
63570
63570
|
h.id,
|
|
63571
63571
|
s,
|
|
63572
63572
|
d,
|
|
63573
|
-
|
|
63573
|
+
y.current
|
|
63574
63574
|
]), /* @__PURE__ */ jsxRuntimeExports.jsx(Is$1, { ref: _default(p, y), ...h });
|
|
63575
63575
|
}
|
|
63576
63576
|
function attachTag(t, n) {
|
|
@@ -86050,7 +86050,7 @@ function Error$1({ error: t, resetErrorBoundary: n }) {
|
|
|
86050
86050
|
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("button", { style: { color: "#fff" }, onClick: n, children: "Retry" }) })
|
|
86051
86051
|
] });
|
|
86052
86052
|
}
|
|
86053
|
-
const version = "0.0.7-alpha.
|
|
86053
|
+
const version = "0.0.7-alpha.11", useCoreAPI = ({ viewerProperty: t }) => {
|
|
86054
86054
|
const n = useRef(t);
|
|
86055
86055
|
n.current = t;
|
|
86056
86056
|
const o = useMemo(
|