@g1cloud/bpmn-modeler-next 5.0.0-beta.104 → 5.0.0-beta.105
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/dist/agent/resolver/lower.d.ts +10 -0
- package/dist/agent/resolver/routeRepair.d.ts +7 -1
- package/dist/bpmn-modeler.js +5249 -5190
- package/dist/bpmn-modeler.umd.cjs +33 -33
- package/package.json +1 -1
|
@@ -68,6 +68,16 @@ export declare function annotationSpot(elementRegistry: ElementRegistry, anchor:
|
|
|
68
68
|
x: number;
|
|
69
69
|
y: number;
|
|
70
70
|
};
|
|
71
|
+
/**
|
|
72
|
+
* **B-243** — 이미 놓인 주석 하나의 자리를 **지금 장면**에서 다시 산출한다(중심 좌표). 반대 중첩 보정이 이 배치 주석에 막힌
|
|
73
|
+
* 채널을 쓸 때 부른다(`routeRepair` `BatchAnnotationRespot`) — 그 경로를 먼저 깔고 부르면 자리 산출이 그 경로를 피한다.
|
|
74
|
+
* 앵커 = 연관선의 반대 끝 · 방위 = placement 힌트(없으면 앵커 대비 위/아래) · 클램프 = 앵커의 풀. 앵커가 연결이거나 풀을
|
|
75
|
+
* 못 찾으면 `undefined`(호출자가 종전 계획을 쓴다).
|
|
76
|
+
*/
|
|
77
|
+
export declare function respotAnnotation(elementRegistry: ElementRegistry, annotationId: string): {
|
|
78
|
+
x: number;
|
|
79
|
+
y: number;
|
|
80
|
+
} | undefined;
|
|
71
81
|
/**
|
|
72
82
|
* **B-168** — source 꼴 직접 끼우기 감지(하강 **전** 문서 기준). 키 = F id · 값 = 7단계까지 미룰 신규 유입(`A → X`) op.
|
|
73
83
|
* 조건 = X 로의 target 재배선이 없다 · X 가 F 의 옛 출발 A 에서 신규 유입을 받는다 · X 마다 첫 F 하나 · 그 신규 유입을
|
|
@@ -416,13 +416,19 @@ export declare function planChainOverlapRepair(edge: GeometryEdge, scene: Geomet
|
|
|
416
416
|
* 짝 중 **새 간선만** 손댄다(안전 성질 2).
|
|
417
417
|
*/
|
|
418
418
|
export declare function repairIntroducedChainOverlaps(services: Pick<ResolverServices, 'elementRegistry' | 'modeling'>, beforeKeys: ReadonlySet<string>, beforeEdgeIds: ReadonlySet<string>): void;
|
|
419
|
+
/** B-243 — 이 배치가 만든 주석(옮겨도 되는 장애물)과 그 주석 자리의 재산출(지금 장면 · 중심 좌표 · 못 하면 `undefined`). */
|
|
420
|
+
export type BatchAnnotationRespot = {
|
|
421
|
+
isBatchAnnotation: (id: string) => boolean;
|
|
422
|
+
spotOf: (id: string) => GeometryPoint | undefined;
|
|
423
|
+
};
|
|
419
424
|
/**
|
|
420
425
|
* B-14 ⓒ1 — 이 배치가 새로 낸 읽을 수 없는 중첩을 고친다. `beforeEdgeIds` 에 든 간선(배치 전부터 있던 것)은 손대지 않는다.
|
|
421
426
|
* 🔴 **B-178** — `sideEntryEdgeIds` 에 든 간선에만 빈 옆면 진입 후보를 연다(호출자 = 「이 배치가 경로를 다시 깐 기존 간선」).
|
|
422
427
|
* 🔴 **반환 = 실제로 경로를 바꾼 간선** — 뒤의 라벨-선 보정이 그 간선의 라벨을 이 배치 몫으로 다뤄야 한다(안 그러면
|
|
423
428
|
* 다시 깐 기존 간선의 라벨이 새 경로 위에 남는다 — N20 실측 +9).
|
|
429
|
+
* 🔴 **B-243** — `batchAnnotations` 가 오면 이 배치 주석이 막은 채널도 본다(위 절). 없으면 종전대로.
|
|
424
430
|
*/
|
|
425
|
-
export declare function repairIntroducedOppositeOverlaps(services: Pick<ResolverServices, 'elementRegistry' | 'modeling'>, beforeKeys: ReadonlySet<string>, beforeEdgeIds: ReadonlySet<string>, sideEntryEdgeIds?: ReadonlySet<string
|
|
431
|
+
export declare function repairIntroducedOppositeOverlaps(services: Pick<ResolverServices, 'elementRegistry' | 'modeling'>, beforeKeys: ReadonlySet<string>, beforeEdgeIds: ReadonlySet<string>, sideEntryEdgeIds?: ReadonlySet<string>, batchAnnotations?: BatchAnnotationRespot): ReadonlySet<string>;
|
|
426
432
|
/**
|
|
427
433
|
* 🔴 **이 배치가 만든 왕복 메시지 짝(양 끝 공유 · 반대 방향 · 둘 다 2점 직선)이 한 선이면 나가는 선 −20 · 들어오는 선 +20 으로
|
|
428
434
|
* 벌린다**(B-230). 반환 = 옮긴 간선 id — 뒤의 라벨-선 보정이 이 배치 몫으로 다룬다.
|