@g1cloud/entity-modeler-next 5.0.0-beta.19 → 5.0.0-beta.20
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/entity-modeler-next.css +1 -1
- package/dist/entity-modeler.js +6492 -6452
- package/dist/entity-modeler.umd.cjs +23 -23
- package/dist/i18n/ko.d.ts +11 -0
- package/dist/view/opConflictNotice.d.ts +8 -6
- package/dist/view/swatches.d.ts +3 -2
- package/package.json +1 -1
package/dist/i18n/ko.d.ts
CHANGED
|
@@ -124,6 +124,14 @@ export declare const ko: {
|
|
|
124
124
|
readonly 'em.common.inherit': "기본(따름)";
|
|
125
125
|
readonly 'em.common.noneParen': "(없음)";
|
|
126
126
|
readonly 'em.swatch.none': "없음";
|
|
127
|
+
readonly 'em.swatch.red': "빨강";
|
|
128
|
+
readonly 'em.swatch.amber': "주황";
|
|
129
|
+
readonly 'em.swatch.green': "초록";
|
|
130
|
+
readonly 'em.swatch.teal': "청록";
|
|
131
|
+
readonly 'em.swatch.blue': "파랑";
|
|
132
|
+
readonly 'em.swatch.indigo': "남색";
|
|
133
|
+
readonly 'em.swatch.violet': "보라";
|
|
134
|
+
readonly 'em.swatch.pink': "분홍";
|
|
127
135
|
readonly 'em.inspector.ctxEntityAttrs': "엔티티 · {name} › 속성 · {n}개";
|
|
128
136
|
readonly 'em.inspector.ctxEntityDivider': "엔티티 · {name} › 구분선";
|
|
129
137
|
readonly 'em.inspector.ctxEntityAttr': "엔티티 · {name} › 속성 · {attr}";
|
|
@@ -255,6 +263,9 @@ export declare const ko: {
|
|
|
255
263
|
readonly 'em.canvas.emptyShortcutHint': "단축키 도움말은 <kbd>?</kbd> 키";
|
|
256
264
|
readonly 'em.canvas.emptyReadonly': "표시할 엔티티가 없습니다";
|
|
257
265
|
readonly 'em.canvas.exportFailed': "내보내기에 실패했습니다";
|
|
266
|
+
readonly 'em.conflict.lockedTitle': "편집이 잠겼습니다";
|
|
267
|
+
readonly 'em.conflict.missingDetail': "변경 사항을 저장하지 못했습니다(서버 또는 네트워크 오류). 최신 내용을 다시 불러오세요.";
|
|
268
|
+
readonly 'em.conflict.changedDetail': "다른 곳에서 변경되어 편집이 잠겼습니다. 최신 내용을 다시 불러오세요.";
|
|
258
269
|
readonly 'em.ctx.addEntity': "엔티티 추가";
|
|
259
270
|
readonly 'em.ctx.addNote': "노트 추가";
|
|
260
271
|
readonly 'em.ctx.addGroup': "그룹 추가";
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { OpConflict } from '../command/op';
|
|
2
|
+
import { MessageKey } from '../i18n';
|
|
2
3
|
export interface OpConflictNotice {
|
|
3
|
-
/** 배너 제목 — 상태 자체(무엇이 일어났는지). */
|
|
4
|
-
|
|
5
|
-
/** 배너 본문 — 원인 + 복구 방향(다시 불러오기). */
|
|
6
|
-
|
|
4
|
+
/** 배너 제목 키 — 상태 자체(무엇이 일어났는지). 뷰가 t()로 렌더. */
|
|
5
|
+
titleKey: MessageKey;
|
|
6
|
+
/** 배너 본문 키 — 원인 + 복구 방향(다시 불러오기). 뷰가 t()로 렌더. */
|
|
7
|
+
detailKey: MessageKey;
|
|
7
8
|
}
|
|
8
9
|
/**
|
|
9
|
-
* 충돌 종류 → 사용자
|
|
10
|
-
*
|
|
10
|
+
* 충돌 종류 → 사용자 문구 **키**(문구는 i18n 카탈로그 소유 — 검증 P3 code+params→뷰 지역화 패턴 동형).
|
|
11
|
+
* `missing`은 동시편집이 아니라 전송 실패(혼자 편집 중에도 발생)라 원인을 구분한다
|
|
12
|
+
* (호스트 배선 경로와 동일한 kind 오진 방지). null → null(배너 미노출).
|
|
11
13
|
*/
|
|
12
14
|
export declare function opConflictNotice(conflict: OpConflict | null | undefined): OpConflictNotice | null;
|
package/dist/view/swatches.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { MessageKey } from '../i18n';
|
|
1
2
|
import { Style } from '../core/types';
|
|
2
3
|
export type SwatchToken = 'red' | 'amber' | 'green' | 'teal' | 'blue' | 'indigo' | 'violet' | 'pink';
|
|
3
4
|
/** 토큰의 컨텍스트별 렌더값 (CSS 변수 참조 — 테마는 [data-theme]로 스왑) */
|
|
@@ -31,7 +32,7 @@ export declare function resolveSwatch(token: SwatchToken | null): SwatchRender |
|
|
|
31
32
|
* @param soft 그룹처럼 반투명 칠이 필요하면 true.
|
|
32
33
|
*/
|
|
33
34
|
export declare function swatchMinimapFill(token: SwatchToken | null, soft?: boolean): string | null;
|
|
34
|
-
/** 피커 라벨 */
|
|
35
|
-
export declare function
|
|
35
|
+
/** 피커 라벨 키 — 소비처가 `t(swatchLabelKey(token))`으로 로케일 렌더 */
|
|
36
|
+
export declare function swatchLabelKey(token: SwatchToken): MessageKey;
|
|
36
37
|
/** 피커에 칠할 대표색 (바 색 — 피커도 [data-theme]에 따라 전환) */
|
|
37
38
|
export declare function swatchSwatchColor(token: SwatchToken): string;
|