@g1cloud/bpmn-modeler-next 5.0.0-beta.67 → 5.0.0-beta.69

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.
@@ -0,0 +1,12 @@
1
+ /** 주석 글자 폭 근사(12px) — 위 ①. */
2
+ export declare function annotationTextWidth(text: string): number;
3
+ /** `maxWidth`(여백을 뺀 글자 칸)에서 diagram-js 가 낼 줄들. */
4
+ export declare function wrapAnnotationText(text: string, maxWidth: number, measure?: (text: string) => number): string[];
5
+ /**
6
+ * 주석 상자 크기 — `texts` = 그 주석이 그려질 문구 전부(다국어 그룹 = 문서 언어마다 · 그 밖 = 평문 하나). 폭은 가장 긴
7
+ * 줄 + 1px(근사가 칸과 같으면 엄격 비교가 줄을 바꾼다) 을 상한까지, 넘으면 줄바꿈 수로 높이를 늘린다.
8
+ */
9
+ export declare function annotationBoxSize(texts: readonly string[]): {
10
+ width: number;
11
+ height: number;
12
+ };
@@ -12,6 +12,7 @@ import { SymbolicOp } from '../symbolicOp';
12
12
  import { ResolveIssue } from './issues';
13
13
  import { BwlSide } from '../../core/hints';
14
14
  import { GeometryFinding, GeometryScene } from '../geometryAudit';
15
+ import { LocaleWrite } from './localeTexts';
15
16
  /** resolver 가 대면하는 bpmn-js 서비스 표면 — 하강은 이 묶음만 사용한다. */
16
17
  export interface ResolverServices {
17
18
  modeling: Modeling;
@@ -88,6 +89,8 @@ export declare class LowerIssueError extends Error {
88
89
  }
89
90
  /** B-119 ⓒ′ — 위 집합을 읽는다(주입한 `lower` 가 쓰지 않았으면 빈 집합). */
90
91
  export declare function labelLandingFlowIdsOf(services: object): ReadonlySet<string>;
92
+ /** B-209 — 위 맵을 이 배치의 서비스 객체에 건다(`applyBpmnOps` 가 하강 직전에). */
93
+ export declare function provideLowerLocaleTexts(services: object, writes: ReadonlyMap<string, LocaleWrite>): void;
91
94
  /**
92
95
  * B-188 ⓑ — 이 배치의 7단계 행 이동(`node.update{band|lane}`)이 **떠난 자리**(이동 직전 bbox · id = 옮긴 노드). 그 자리를
93
96
  * 감싸던 이어지지 않은 선의 ⊓ 를 `foldVacatedDetours` 가 접는다(관통 보정 1차 뒤). 넘기는 길은 B-119 ⓒ′ 와 같다.