@reearth/core 0.0.7-alpha.3 → 0.0.7-alpha.4
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
CHANGED
|
@@ -63490,10 +63490,11 @@ function EntityExtComponent({
|
|
|
63490
63490
|
hideIndicator: d,
|
|
63491
63491
|
...h
|
|
63492
63492
|
}, p) {
|
|
63493
|
+
var E;
|
|
63493
63494
|
const y = useRef(null);
|
|
63494
63495
|
return useLayoutEffect(() => {
|
|
63495
|
-
var
|
|
63496
|
-
attachTag((
|
|
63496
|
+
var L;
|
|
63497
|
+
attachTag((L = y.current) == null ? void 0 : L.cesiumElement, {
|
|
63497
63498
|
layerId: t || h.id,
|
|
63498
63499
|
featureId: n,
|
|
63499
63500
|
draggable: o,
|
|
@@ -63508,7 +63509,8 @@ function EntityExtComponent({
|
|
|
63508
63509
|
c,
|
|
63509
63510
|
h.id,
|
|
63510
63511
|
s,
|
|
63511
|
-
d
|
|
63512
|
+
d,
|
|
63513
|
+
(E = y.current) == null ? void 0 : E.cesiumElement
|
|
63512
63514
|
]), /* @__PURE__ */ jsxRuntimeExports.jsx(Is$1, { ref: _default(p, y), ...h });
|
|
63513
63515
|
}
|
|
63514
63516
|
function attachTag(t, n) {
|
|
@@ -86069,7 +86071,7 @@ function Error$1({ error: t, resetErrorBoundary: n }) {
|
|
|
86069
86071
|
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("button", { style: { color: "#fff" }, onClick: n, children: "Retry" }) })
|
|
86070
86072
|
] });
|
|
86071
86073
|
}
|
|
86072
|
-
const version = "0.0.7-alpha.
|
|
86074
|
+
const version = "0.0.7-alpha.4", useCoreAPI = ({ viewerProperty: t }) => {
|
|
86073
86075
|
const n = useRef(t);
|
|
86074
86076
|
n.current = t;
|
|
86075
86077
|
const o = useMemo(
|