@g1cloud/bpmn-modeler-next 5.0.0-alpha.76 → 5.0.0-alpha.77

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.
@@ -8,7 +8,7 @@ export type { DocumentIndex, ElementCategory } from './documentIndex';
8
8
  export { buildRegistryIndex } from './documentIndex';
9
9
  export { validateOps } from './validate';
10
10
  export { lowerOps, resolverServicesOf, type ResolverServices } from './lower';
11
- export { forwardThreePointCandidates, planCrossPoolRoute, planEdgeRepair, planLabelLineClearance, planLabelPlacement, planMiddleSegmentShifts, planOppositeOverlapRepair, planSegmentDetours, planBackEdgeBoundaryClearance, repairIntroducedBoundaryHugging, repairIntroducedCrossings, repairIntroducedEdgeCrossings, repairIntroducedFakeMerges, repairIntroducedOppositeOverlaps, repairIntroducedSharedSegmentLabels, followMovedEdgeLabels, repairIntroducedLabelLines, repairIntroducedShapeLabelLines, planShapeLabelClearance, rerouteIntroducedCrossPoolEdges, } from './routeRepair';
11
+ export { forwardThreePointCandidates, planCrossPoolRoute, planEdgeRepair, planLabelLineClearance, planLabelPlacement, planMiddleSegmentShifts, planOppositeOverlapRepair, planSegmentDetours, planBackEdgeBoundaryClearance, repairIntroducedBoundaryHugging, repairIntroducedCrossings, repairIntroducedEdgeCrossings, repairIntroducedFakeMerges, repairIntroducedOppositeOverlaps, repairIntroducedSharedSegmentLabels, followMovedEdgeLabels, redockIntroducedDetachedEndpoints, repairIntroducedLabelLines, repairIntroducedShapeLabelLines, planShapeLabelClearance, rerouteIntroducedCrossPoolEdges, } from './routeRepair';
12
12
  export interface ApplyBpmnOpsResult {
13
13
  ok: boolean;
14
14
  issues: ResolveIssue[];
@@ -256,3 +256,31 @@ export declare function repairIntroducedSharedSegmentLabels(services: Pick<Resol
256
256
  export declare function planShapeLabelClearance(shape: GeometryShape, scene: GeometryScene): GeometryLabel | null;
257
257
  /** 이 배치가 **새로 만든** 도형의 이름 라벨을 선에서 뗀다(맨 마지막 — 경로·간선 라벨이 전부 확정된 뒤). */
258
258
  export declare function repairIntroducedShapeLabelLines(services: Pick<ResolverServices, 'elementRegistry' | 'modeling'>, beforeShapeIds: ReadonlySet<string>): void;
259
+ /**
260
+ * ── B-98. **이 배치가 도형을 옮겨 놓고 간 끝점을 다시 도킹한다** ──
261
+ *
262
+ * 🔴 **등록 진단이 뒤집혔다**(🔁 B-38·B-47·B-48·B-62·B-71·B-86·B-99). 원장은 *"주석 보정이 주석만
263
+ * 옮기고 연관선을 두고 간다"* 였는데 **주석 보정(`repairIntroducedAnnotationOverlaps`)은 이 요소에
264
+ * 손대지 않았다** — 단계 경계 프로브가 보정 패스 **17개 전부 no-op** 이고 전부 `lowerOps` 안에서
265
+ * 벌어졌음을 보였다(N22). 실제 경위는 **두 단계**다:
266
+ * ① `pushRootBelow` **직전** 이미 붕괴해 있었다 — 풀이 아래로 커지자(h340 → 450) 주석이 **풀 안**에
267
+ * 들어갔고 bpmn-js 가 연관선을 **길이 0**(285,1296)→(285,1296) 으로 크롭했다.
268
+ * ② `pushRootBelow` 가 주석을 +110 내리자 **끝점 하나만** 따라가 (285,1296)→(285,1406) 이 됐다.
269
+ * ⇒ 「선을 두고 간다」가 아니라 **붕괴를 상속한다**. 어느 쪽이든 최종 기하에 대고 다시 도킹해야 한다.
270
+ *
271
+ * 🔴 **N20 이 처방 강도를 줬다**(실무 26종 · 간선 1,456/1,606): 끝점 이탈 **`>40px` 0.00%**(최대가
272
+ * 40 이하 · `>20px` 도 3건뿐이고 전량 association) · **길이 `<1px` 0/1606**. 이 결함은 54px + 길이 0
273
+ * 이라 **두 축 모두 사람 기저 밖**이다 ⇒ 처방이 오탐을 살 여지가 없다.
274
+ *
275
+ * ⚠ **재경로가 아니라 재도킹이다** — `layoutConnection` 은 선재 간선의 사람 웨이포인트를 **버린다**
276
+ * (확정 7 ③ 교란). 그래서 **어긋난 끝점만** 자기 도형 경계의 **가장 가까운 점**으로 옮기고 중간
277
+ * 웨이포인트는 그대로 둔다(🔁 B-74·B-99 의 「사람이 놓은 것은 보존」 철학).
278
+ *
279
+ * ⚠ **컨테이너 끝도 함께 본다** — 판정(`edge-endpoint-detached`)은 컨테이너를 제외하지만(풀은 정상적으로
280
+ * 경계에 도킹한다) 그것은 **신고 대상**의 이야기다. 신고된 간선을 고칠 때 반대쪽 풀 끝이 풀 **안**에
281
+ * 처박혀 있으면 같은 붕괴의 나머지 반쪽이므로 함께 뺀다(실측 = 그 끝이 풀 하단보다 14px 안).
282
+ *
283
+ * ⚠ **채택 조건은 개별 축이 아니라 `auditGeometry` 키 집합**(🔁 B-90 ⓑ·B-92 ⓐ·B-99). 판정은 순수
284
+ * `scene` 으로 하고 통과한 간선만 실제로 옮긴다 · 새 키가 생기면 **그 간선만** 두고 간다(🔁 B-61).
285
+ */
286
+ export declare function redockIntroducedDetachedEndpoints(services: Pick<ResolverServices, 'elementRegistry' | 'modeling'>, beforeKeys: ReadonlySet<string>): void;