@conboai/storybook.components 0.3.6 → 0.3.9
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.
|
@@ -78268,13 +78268,14 @@ const One = ({
|
|
|
78268
78268
|
Nc.isNil(O) || (f(O), s == null || s(I));
|
|
78269
78269
|
};
|
|
78270
78270
|
return Le(() => {
|
|
78271
|
+
var O, M;
|
|
78271
78272
|
const I = A || (i == null ? void 0 : i[0]);
|
|
78272
78273
|
if ((I == null ? void 0 : I.type) === Fo.Polygon && v) {
|
|
78273
|
-
const
|
|
78274
|
-
|
|
78274
|
+
const S = rte((I == null ? void 0 : I.coordinates) || []);
|
|
78275
|
+
S && ((O = b == null ? void 0 : b.panTo) == null || O.call(b, S));
|
|
78275
78276
|
} else if ((I == null ? void 0 : I.type) === Fo.Polyline && v) {
|
|
78276
|
-
const
|
|
78277
|
-
|
|
78277
|
+
const S = ite((I == null ? void 0 : I.coordinates) || []);
|
|
78278
|
+
S && ((M = b == null ? void 0 : b.panTo) == null || M.call(b, S));
|
|
78278
78279
|
}
|
|
78279
78280
|
I != null && I.coordinates && h && ote(b, I.coordinates);
|
|
78280
78281
|
}, [A, i, b, h, v]), /* @__PURE__ */ ee.jsxs(It, { sx: { width: "100%", height: "100%", position: "relative" }, children: [
|