@g1cloud/entity-modeler-next 5.2.40 → 5.2.42
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/command/commands.d.ts +12 -0
- package/dist/core/opSubject.d.ts +10 -3
- package/dist/core/projectFieldAudit.d.ts +1 -0
- package/dist/entity-modeler-next.css +1 -1
- package/dist/entity-modeler.js +8865 -8759
- package/dist/entity-modeler.umd.cjs +21 -20
- package/dist/i18n/ko.d.ts +1 -0
- package/dist/view/noteLabel.d.ts +18 -0
- package/package.json +1 -1
package/dist/i18n/ko.d.ts
CHANGED
|
@@ -362,6 +362,7 @@ export declare const ko: {
|
|
|
362
362
|
readonly 'em.history.verbRemove': "삭제";
|
|
363
363
|
readonly 'em.history.assocFallback': "연관";
|
|
364
364
|
readonly 'em.history.groupSubject': "그룹 {name}";
|
|
365
|
+
readonly 'em.history.noteSubject': "노트 {name}";
|
|
365
366
|
readonly 'em.history.emptyValue': "(비움)";
|
|
366
367
|
readonly 'em.history.noChange': "변경 없음";
|
|
367
368
|
readonly 'em.history.summaryAdd': "{name} 추가";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ModelId } from '../core/types';
|
|
2
|
+
import { FieldAuditRecord } from '../core/projectFieldAudit';
|
|
3
|
+
/** 발췌 상한 — 한 줄 라벨이 목적이라 짧게 자른다(뷰가 ellipsis 로 한 번 더 방어). */
|
|
4
|
+
export declare const NOTE_EXCERPT_MAX = 20;
|
|
5
|
+
/**
|
|
6
|
+
* 메모 → 한 줄 발췌. 첫 줄만 쓰고 상한을 넘으면 말줄임을 붙인다.
|
|
7
|
+
*
|
|
8
|
+
* @returns 발췌 문자열, 또는 라벨로 쓸 수 없으면(부재·공백만) `null` — 호출자가 ref 로 폴백한다.
|
|
9
|
+
*/
|
|
10
|
+
export declare function noteExcerpt(memo: unknown, max?: number): string | null;
|
|
11
|
+
/**
|
|
12
|
+
* 이력 스트림에서 노트별 **마지막으로 관측된 memo**를 색인한다(seq 오름차순 fold).
|
|
13
|
+
*
|
|
14
|
+
* 관측 원천은 둘 — `note.add`의 `value.memo`(복원 유래 remove+add 포함)와 `note.setMemo`의
|
|
15
|
+
* `value.memo`. 삭제(`note.remove`)는 색인을 지우지 않는다: 지우면 정확히 필요한 순간에 라벨이
|
|
16
|
+
* 사라진다.
|
|
17
|
+
*/
|
|
18
|
+
export declare function buildNoteMemoIndex(records: readonly FieldAuditRecord[]): Map<ModelId, string>;
|