@conboai/storybook.components 0.3.52 → 0.3.54
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.
|
@@ -74734,7 +74734,7 @@ const AC = {
|
|
|
74734
74734
|
},
|
|
74735
74735
|
sx: l ? {
|
|
74736
74736
|
...AC,
|
|
74737
|
-
borderColor:
|
|
74737
|
+
borderColor: t === Un.Edit ? "#565656" : "default"
|
|
74738
74738
|
} : hC,
|
|
74739
74739
|
children: /* @__PURE__ */ N.jsx(RO, {})
|
|
74740
74740
|
}
|
|
@@ -74748,7 +74748,7 @@ const AC = {
|
|
|
74748
74748
|
onClick: () => {
|
|
74749
74749
|
a && n(Un.CreatePolygon);
|
|
74750
74750
|
},
|
|
74751
|
-
sx: a ? { ...AC, borderColor:
|
|
74751
|
+
sx: a ? { ...AC, borderColor: t === Un.CreatePolygon ? "#565656" : "default" } : hC,
|
|
74752
74752
|
children: /* @__PURE__ */ N.jsx(Dv, {})
|
|
74753
74753
|
}
|
|
74754
74754
|
)
|
|
@@ -74787,7 +74787,7 @@ const AC = {
|
|
|
74787
74787
|
opacity: 1,
|
|
74788
74788
|
strokeWidth: "8",
|
|
74789
74789
|
strokeOpacity: 0.4,
|
|
74790
|
-
r:
|
|
74790
|
+
r: 4,
|
|
74791
74791
|
cx: o.x,
|
|
74792
74792
|
cy: o.y
|
|
74793
74793
|
}
|
|
@@ -74941,7 +74941,7 @@ const AC = {
|
|
|
74941
74941
|
}
|
|
74942
74942
|
}, ee = (T) => {
|
|
74943
74943
|
if (T.target === g.current) {
|
|
74944
|
-
if (f) return;
|
|
74944
|
+
if (f || v.length === 1) return;
|
|
74945
74945
|
H(null), a == null || a(null, v), L(null);
|
|
74946
74946
|
}
|
|
74947
74947
|
}, re = To(
|
|
@@ -75055,16 +75055,17 @@ const AC = {
|
|
|
75055
75055
|
cy: ne.y,
|
|
75056
75056
|
r: 5,
|
|
75057
75057
|
fill: "white",
|
|
75058
|
-
stroke: "#
|
|
75058
|
+
stroke: "#1975d2"
|
|
75059
75059
|
}
|
|
75060
75060
|
) }) : /* @__PURE__ */ N.jsx(
|
|
75061
75061
|
"polygon",
|
|
75062
75062
|
{
|
|
75063
75063
|
style: {
|
|
75064
75064
|
fill: f ? "transparent" : (M == null ? void 0 : M.id) == T.id ? "white" : xce(T.id, v.length),
|
|
75065
|
-
|
|
75065
|
+
fillOpacity: ((M == null ? void 0 : M.id) == T.id || (y == null ? void 0 : y.id) === T.id) && A !== Un.CreatePolygon ? 0.3 : 0.1,
|
|
75066
|
+
stroke: "#1975d2",
|
|
75066
75067
|
strokeWidth: f ? 0 : (M == null ? void 0 : M.id) == T.id && A !== Un.CreatePolygon ? 4.5 : 2,
|
|
75067
|
-
|
|
75068
|
+
...T.styles
|
|
75068
75069
|
},
|
|
75069
75070
|
points: te,
|
|
75070
75071
|
onMouseEnter: () => k(T),
|
|
@@ -75096,7 +75097,7 @@ const AC = {
|
|
|
75096
75097
|
fill: "transparent",
|
|
75097
75098
|
stroke: "#2196F3",
|
|
75098
75099
|
strokeWidth: f ? 0 : (M == null ? void 0 : M.id) == T.id && A !== Un.CreatePolygon ? 4.5 : 2,
|
|
75099
|
-
|
|
75100
|
+
fillOpacity: ((M == null ? void 0 : M.id) == T.id || (y == null ? void 0 : y.id) === T.id) && A !== Un.CreatePolygon ? 0.8 : 0.3
|
|
75100
75101
|
},
|
|
75101
75102
|
points: te,
|
|
75102
75103
|
onMouseEnter: () => k(T),
|
|
@@ -75119,7 +75120,7 @@ const AC = {
|
|
|
75119
75120
|
cy: ce.y,
|
|
75120
75121
|
r: 5,
|
|
75121
75122
|
fill: "white",
|
|
75122
|
-
stroke: "#
|
|
75123
|
+
stroke: "#1975d2",
|
|
75123
75124
|
onDoubleClick: () => {
|
|
75124
75125
|
R(fe);
|
|
75125
75126
|
},
|
|
@@ -75142,7 +75143,7 @@ const AC = {
|
|
|
75142
75143
|
points: IM(E, w),
|
|
75143
75144
|
style: {
|
|
75144
75145
|
fill: "transparent",
|
|
75145
|
-
stroke: "#
|
|
75146
|
+
stroke: "#1975d2",
|
|
75146
75147
|
strokeWidth: 3,
|
|
75147
75148
|
opacity: 0.8
|
|
75148
75149
|
}
|
|
@@ -75155,7 +75156,7 @@ const AC = {
|
|
|
75155
75156
|
return V === 0 && j && (ne = 8), /* @__PURE__ */ N.jsx(
|
|
75156
75157
|
"circle",
|
|
75157
75158
|
{
|
|
75158
|
-
style: { cursor: "crosshair", stroke: "#
|
|
75159
|
+
style: { cursor: "crosshair", stroke: "#1975d2" },
|
|
75159
75160
|
cx: te.x,
|
|
75160
75161
|
cy: te.y,
|
|
75161
75162
|
r: ne,
|