@digitalsee-ai/rcs 2.0.0-beta14 → 2.0.0-beta15

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.
@@ -4,5 +4,12 @@ type GetHelperLinesResult = {
4
4
  vertical?: number;
5
5
  snapPosition: Partial<XYPosition>;
6
6
  };
7
- export declare function getHelperLines(change: NodePositionChange, nodes: Node[], distance?: number): GetHelperLinesResult;
7
+ /**
8
+ * 计算拖拽节点的对齐辅助线(在 onNodesChange 中调用)。
9
+ *
10
+ * 遍历所有其它节点,分别在 x 轴(x1/x2 即左右边缘)与 y 轴(y1/y2 即上下边缘)上
11
+ * 取与当前节点最接近的边缘组合:无论距离多远,参考线始终返回最接近的对齐位置;
12
+ * 仅当距离小于 snapDistance 时才同时返回吸附位置。
13
+ */
14
+ export declare function getHelperLines(change: NodePositionChange, nodes: Node[], snapDistance?: number): GetHelperLinesResult;
8
15
  export {};
@@ -15,6 +15,7 @@ export declare const useNavigation: ({ categories, categoriesReady, initialCateg
15
15
  categoryNodes: NodeTypeItem[];
16
16
  currentCategory: CategoryItem;
17
17
  isLoadingNodes: boolean;
18
+ isLoadingMore: boolean;
18
19
  isRealTriggerMode: boolean;
19
20
  isAIToolMode: boolean;
20
21
  isBuiltinMCPMode: boolean;