@g1cloud/bpmn-modeler-next 5.0.0-beta.94 → 5.0.0-beta.95

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.
@@ -30,10 +30,22 @@ export interface BpmnDocumentLocales {
30
30
  export declare function documentLocalesOf(config: BpmnDocumentLocales): string[];
31
31
  /** 루트 `<bpmn:definitions xml:lang>` — 번역 칸으로 판정되지 않는 `name` 의 언어. */
32
32
  export declare function rootLangOf(definitions: Any): string | undefined;
33
+ /**
34
+ * `name` 의 언어(B-4) — 같은 문구의 번역 칸 로케일 → 없으면 루트 `xml:lang` → 설계 언어. `cells` = 언어 있는 번역 칸.
35
+ * 표시 판정(`view/i18nDisplay`) · 에이전트 read(`localeTextsOf`) · 번역 칸 쓰기(`command/updateTranslation`)가 같이
36
+ * 쓴다 — 갈리면 화면 · 에이전트 · 쓰기 판정이 서로 다른 「미번역」 을 본다.
37
+ *
38
+ * 🔴 **언어 중립 문구는 설계 언어 칸이 없으면 설계 언어 문구이기도 하다**(B-4 재확인 · 2026-10-30) — 같은 문구의
39
+ * 병기 언어 칸만 있으면 첫 규칙이 `name` 을 그 언어로 읽어 설계 언어가 미번역이 됐다(원격 `ECPF` · 레거시 `OK`/`NG`).
40
+ * 그 칸은 같은 문구로는 채울 수 없다(GUI 가드 · 에이전트 op 는 설계 언어 칸을 만들지 않는다). 레거시 기저 = ja 칸이
41
+ * 있는 ASCII 이름 155 중 152 가 같은 문구. ⚠ 설계 언어 칸이 있으면 더하지 않는다 — `name` 이 그 칸을 덮는다
42
+ * (`MoR` ↔ `販社(ERP)`). ⚠ 한글 · 가나 이름은 그대로다(레거시 표시 언어가 `name` 에 굳은 꼴 — 진짜 미번역).
43
+ */
44
+ export declare function nameLocalesOf(name: string, cells: Any[], designLocale: string, rootLang?: string): string[];
33
45
  /**
34
46
  * 요소 라벨의 문서 언어별 문구(B-4 ④) — 표시 판정(`view/i18nDisplay` `resolve`)과 **같은 규칙**이다:
35
47
  * `name` 의 언어가 그 언어면 `name` → 아니면 그 언어의 번역 칸(`xml:lang` 있는 칸 · 문구 있음) → 없으면 빠진다
36
- * (= 미번역). `name` 의 언어 = 같은 문구의 번역 칸 로케일 → 없으면 루트 `xml:lang` → 설계 언어.
48
+ * (= 미번역). `name` 의 언어 = `nameLocalesOf`.
37
49
  *
38
50
  * 에이전트 대면 read(`describeProcess` 의 `names`/`texts`)와 에이전트 쓰기의 「바뀌었나」 판정이 같이 쓴다.
39
51
  */