From 4bcb2f71c718a2a0e8a25201b3ce42ebcdae2ef6 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Thu, 3 Apr 2025 12:06:24 +0400 Subject: [PATCH] Up name ComponentDragGuideMatched --- packages/core/src/commands/view/ComponentDrag.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/core/src/commands/view/ComponentDrag.ts b/packages/core/src/commands/view/ComponentDrag.ts index 3da2a3c83..92c5fc141 100644 --- a/packages/core/src/commands/view/ComponentDrag.ts +++ b/packages/core/src/commands/view/ComponentDrag.ts @@ -545,7 +545,7 @@ export default { return null; } }) - .filter(Boolean) as ComponentGuideMatched[]; + .filter(Boolean) as ComponentDragGuideMatched[]; }, toggleDrag(enable) { @@ -603,8 +603,8 @@ interface ComponentDragProps { onEnd: DraggerOptions['onEnd']; hideGuidesInfo: () => void; renderGuideInfo: (guides?: ComponentDragGuide[]) => void; - renderSingleGuideInfo: (guideMatched: ComponentGuideMatched) => void; - getGuidesMatched: (guides?: ComponentDragGuide[]) => ComponentGuideMatched[]; + renderSingleGuideInfo: (guideMatched: ComponentDragGuideMatched) => void; + getGuidesMatched: (guides?: ComponentDragGuide[]) => ComponentDragGuideMatched[]; toggleDrag: (enable?: boolean) => void; } @@ -653,7 +653,7 @@ export interface ComponentDragEventProps { /** * The guides that are being matched. */ - guidesMatched: ComponentGuideMatched[]; + guidesMatched: ComponentDragGuideMatched[]; } /** @@ -717,7 +717,7 @@ interface ComponentDragGuide { /** * Represents a matched guide during component dragging. */ -interface ComponentGuideMatched { +interface ComponentDragGuideMatched { /** * The static guides used for matching. */