@squeed/flow-sdk 2.0.47 → 2.0.49
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/LICENSE +21 -662
- package/README.md +139 -1392
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -5356,7 +5356,12 @@ function pi({
|
|
|
5356
5356
|
};
|
|
5357
5357
|
if (n) {
|
|
5358
5358
|
const p = Object.keys(h), g = (b) => {
|
|
5359
|
-
|
|
5359
|
+
if (b)
|
|
5360
|
+
if (Object.prototype.hasOwnProperty.call(h, b)) {
|
|
5361
|
+
const v = { ...h };
|
|
5362
|
+
delete v[b], c(v);
|
|
5363
|
+
} else
|
|
5364
|
+
c({ ...h, [b]: { name: b } });
|
|
5360
5365
|
};
|
|
5361
5366
|
return /* @__PURE__ */ j("div", { style: { display: "flex", flexDirection: "column", gap: 8, width: "100%" }, children: [
|
|
5362
5367
|
p.length > 0 && /* @__PURE__ */ y("div", { style: { display: "flex", flexWrap: "wrap", gap: 8 }, children: p.map((b, v) => /* @__PURE__ */ j(
|
|
@@ -8120,14 +8125,13 @@ const CC = [
|
|
|
8120
8125
|
g(null), (Ee = E.onEdgeDeselect) == null || Ee.call(E);
|
|
8121
8126
|
}, [g, E]), pt = N.selectionToolbar !== !1 && !T, be = pt && !!p && !Qe, Me = pt && !be && h.length > 0 && !Q, ne = be || Me, oe = M || se || ce || ne || N.bottomBarCollapsed === !1;
|
|
8122
8127
|
We(() => {
|
|
8123
|
-
h.length || p ? a(!1) : T ||
|
|
8128
|
+
h.length || p ? a(!1) : T || N.bottomBarCollapsed === void 0 && re(!s);
|
|
8124
8129
|
}, [
|
|
8125
8130
|
s,
|
|
8126
8131
|
h.length,
|
|
8127
8132
|
p,
|
|
8128
8133
|
T,
|
|
8129
8134
|
a,
|
|
8130
|
-
k,
|
|
8131
8135
|
N.bottomBarCollapsed
|
|
8132
8136
|
]);
|
|
8133
8137
|
const Te = N.renderBottomBar, it = V1();
|
|
@@ -8317,6 +8321,7 @@ const CC = [
|
|
|
8317
8321
|
qe,
|
|
8318
8322
|
{
|
|
8319
8323
|
"aria-label": "Pin",
|
|
8324
|
+
"aria-pressed": M,
|
|
8320
8325
|
icon: /* @__PURE__ */ y(
|
|
8321
8326
|
Je,
|
|
8322
8327
|
{
|