@g1cloud/bpmn-modeler-next 5.0.0-beta.17 → 5.0.0-beta.19

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.
@@ -53,9 +53,10 @@ export interface ImportXmlResult {
53
53
  *
54
54
  * **M3-2 에이전트 턴 통합** — 시블링 포크 A·B 대칭:
55
55
  * - 적용은 단일 undo 에피소드(`agent/agentBatch` → `command/undoEpisode`)
56
- * - 턴 중 사용자 편집 잠금은 `setEditable(false)` — 잠금은 **사용자 입력 경로만** 막고
56
+ * - 턴 중 사용자 편집 잠금은 `setEditable(false)` — 잠금은 **사용자 편집 입구만** 막고
57
57
  * 프로그램 경로(modeling API)는 막지 않는다. 그래서 잠긴 상태에서도 배치 적용이 된다
58
58
  * (에이전트가 쓰는 동안 사용자를 막는 것이 목적이므로 우회 장치가 따로 필요 없다).
59
+ * 탐색(선택 · 팬 · 줌 · 미니맵)은 잠금 중에도 된다(B-145 · `editor/editLock`).
59
60
  */
60
61
  export interface BpmnEditorController extends CommandSeam {
61
62
  /** 뷰 마운트 완료(@ready) 후 호출 — dirty 추적 구독의 수명 시작점. */
@@ -0,0 +1,9 @@
1
+ import { default as Modeler } from 'bpmn-js/lib/Modeler';
2
+ /** 잠긴 동안 캔버스 컨테이너에 붙는 클래스 — 뷰가 크기 조절 · 꺾임점 손잡이를 숨긴다(눌러도 안 되는 손잡이를 안 보이게). */
3
+ export declare const EDIT_LOCKED_CLASS = "bwl-edit-locked";
4
+ export interface EditLock {
5
+ readonly locked: boolean;
6
+ set(locked: boolean): void;
7
+ }
8
+ /** 그 modeler 의 잠금 레버 — 처음 부를 때 입구 리스너를 단다. */
9
+ export declare function editLockOf(modeler: Modeler): EditLock;
@@ -27,8 +27,14 @@ export interface I18nDisplayResolution {
27
27
  export declare const I18N_UNTRANSLATED_CLASS = "i18n-untranslated";
28
28
  /** 확인 요청 요소의 그래픽(`djs-element`)에 붙는 클래스. */
29
29
  export declare const I18N_REVIEW_REQUESTED_CLASS = "i18n-review-requested";
30
+ /**
31
+ * 표시 문구를 **`elements.changed` 없이** 다시 그린 뒤 내는 이벤트(설정 · 표시 언어 전환). 그래픽을 복제해 들고 있는
32
+ * 소비자(미니맵 — `view/minimap`)는 이것으로 다시 짓는다. 페이로드 없음 — 전량을 다시 그렸다.
33
+ */
34
+ export declare const I18N_DISPLAY_REDRAWN_EVENT = "i18nDisplay.redrawn";
30
35
  type Any = any;
31
36
  export declare class I18nDisplay {
37
+ private eventBus;
32
38
  private elementRegistry;
33
39
  private canvas;
34
40
  private textRenderer;
@@ -64,7 +70,8 @@ export declare class I18nDisplay {
64
70
  * 이벤트 없이 다시 그린다. 🔴 `elements.changed` 를 쓰면 안 된다 — 임포트가 외부 라벨 요소 크기를
65
71
  * 문구 측정값으로 보정해 두고(DI 엔 안 씀 · `BpmnImporter.addLabel`), `shape.changed` 가 나면
66
72
  * `BpmnUpdater` 가 그 보정값을 DI 에 쓴다(upstream). 토글 한 번이 문서 전체 라벨 DI 를 고치는 셈이
67
- * 된다(스파이크 F2 — 그룹 라벨 폭 36 → 31 · 흐름 라벨 22 → 20).
73
+ * 된다(스파이크 F2 — 그룹 라벨 폭 36 → 31 · 흐름 라벨 22 → 20). 대신 전용 이벤트(`I18N_DISPLAY_REDRAWN_EVENT`)를
74
+ * 끝에 한 번 낸다 — 그래픽 복제 소비자(미니맵)가 옛 문구를 들고 남지 않게.
68
75
  */
69
76
  private rerenderAll;
70
77
  }
@@ -0,0 +1,25 @@
1
+ type Any = any;
2
+ /** 토글 문구 — 접힘 = 여는 단추 · 펼침 = 지도 오른쪽 위의 접는 단추. */
3
+ export declare const MINIMAP_TOGGLE_TITLES: {
4
+ readonly closed: "미니맵";
5
+ readonly open: "접기";
6
+ };
7
+ export declare class MinimapI18n {
8
+ private minimap;
9
+ private canvas;
10
+ static $inject: string[];
11
+ constructor(eventBus: Any, minimap: Any, canvas: Any);
12
+ /** 닫혀 있으면 「열 때 다시 짓기」만 걸어 둔다 — 미니맵 자신이 닫힌 동안의 변경을 그렇게 다룬다. */
13
+ private rebuild;
14
+ private retitle;
15
+ }
16
+ /** bpmn-js 모듈 — `BpmnModelerView` 가 붙인다(헤드리스 경로엔 붙이지 않는다). 처음엔 접혀 있다. */
17
+ export declare const BpmnMinimapModule: {
18
+ __depends__: {
19
+ __init__: string[];
20
+ minimap: [string, unknown];
21
+ }[];
22
+ __init__: string[];
23
+ minimapI18n: (string | typeof MinimapI18n)[];
24
+ };
25
+ export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@g1cloud/bpmn-modeler-next",
3
3
  "private": false,
4
- "version": "5.0.0-beta.17",
4
+ "version": "5.0.0-beta.19",
5
5
  "description": "Vue 3 BPMN document authoring editor (bpmn-js based) with AI agent authoring",
6
6
  "type": "module",
7
7
  "files": [
@@ -31,7 +31,8 @@
31
31
  "bpmn-i18n-moddle": "^0.2.0",
32
32
  "bpmn-js": "^18.23.0",
33
33
  "bpmn-moddle": "^10.1.0",
34
- "diagram-js": "^15.23.2"
34
+ "diagram-js": "^15.23.2",
35
+ "diagram-js-minimap": "^5.5.0"
35
36
  },
36
37
  "devDependencies": {
37
38
  "@types/node": "^25.9.2",