@squeed/flow-sdk 2.0.33 → 2.0.35
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/README.md +6 -0
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -868,6 +868,11 @@ declare interface GridDivider {
|
|
|
868
868
|
position: Point;
|
|
869
869
|
}
|
|
870
870
|
|
|
871
|
+
export declare function isNodeVisible(id: string, edges: readonly (FlowEdgeProperties & {
|
|
872
|
+
source: string;
|
|
873
|
+
target: string;
|
|
874
|
+
})[], mode: EdgeMode): boolean;
|
|
875
|
+
|
|
871
876
|
export declare interface JsonPlaybackState {
|
|
872
877
|
position: number;
|
|
873
878
|
total: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -868,6 +868,11 @@ declare interface GridDivider {
|
|
|
868
868
|
position: Point;
|
|
869
869
|
}
|
|
870
870
|
|
|
871
|
+
export declare function isNodeVisible(id: string, edges: readonly (FlowEdgeProperties & {
|
|
872
|
+
source: string;
|
|
873
|
+
target: string;
|
|
874
|
+
})[], mode: EdgeMode): boolean;
|
|
875
|
+
|
|
871
876
|
export declare interface JsonPlaybackState {
|
|
872
877
|
position: number;
|
|
873
878
|
total: number;
|
package/dist/index.js
CHANGED
|
@@ -19714,7 +19714,7 @@ const wu = (e) => {
|
|
|
19714
19714
|
m && !((C = e.data.config) != null && C.parentContainer) && f.allNodesIconLabel && !h && g.current,
|
|
19715
19715
|
() => f.setNodeViewMode(e.data.id, "icon-label")
|
|
19716
19716
|
);
|
|
19717
|
-
const b = !e.onShowIcon && !((S = e.data.config) != null && S.parentContainer)
|
|
19717
|
+
const b = !e.onShowIcon && !((S = e.data.config) != null && S.parentContainer) ? () => f.setNodeViewMode(e.data.id, "icon-label") : void 0;
|
|
19718
19718
|
return !e.onShowIcon && h ? /* @__PURE__ */ y(
|
|
19719
19719
|
vu,
|
|
19720
19720
|
{
|
|
@@ -21366,6 +21366,7 @@ export {
|
|
|
21366
21366
|
Br as getInteractionSurface,
|
|
21367
21367
|
je as getNode,
|
|
21368
21368
|
rC as getSelectionRoots,
|
|
21369
|
+
lr as isNodeVisible,
|
|
21369
21370
|
tk as parseFlowDocument,
|
|
21370
21371
|
Fb as parseJsonContract,
|
|
21371
21372
|
R1 as parseTypeScriptContract,
|