@g1cloud/entity-modeler-next 5.0.0-alpha.9 → 5.0.0-beta.10

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.
Files changed (49) hide show
  1. package/dist/agent/resolver.d.ts +46 -0
  2. package/dist/agent/symbolicOp.d.ts +10 -1
  3. package/dist/command/commands.d.ts +15 -6
  4. package/dist/core/associationNav.d.ts +16 -0
  5. package/dist/core/attributeOrder.d.ts +26 -0
  6. package/dist/core/ddl.d.ts +10 -0
  7. package/dist/core/fkDerived.d.ts +17 -0
  8. package/dist/core/inheritedColumns.d.ts +57 -0
  9. package/dist/core/jsonModel.d.ts +23 -0
  10. package/dist/core/mergeDiagram.d.ts +45 -0
  11. package/dist/core/mermaid.d.ts +6 -0
  12. package/dist/core/parseMermaid.d.ts +9 -0
  13. package/dist/core/parseSqlDdl.d.ts +11 -0
  14. package/dist/core/projectSeqDiff.d.ts +41 -0
  15. package/dist/core/propagation.d.ts +22 -0
  16. package/dist/core/quickFix.d.ts +12 -0
  17. package/dist/core/scaffoldJava.d.ts +62 -0
  18. package/dist/core/sharedColumn.d.ts +16 -1
  19. package/dist/core/stereotype.d.ts +2 -0
  20. package/dist/core/text.d.ts +4 -1
  21. package/dist/core/types.d.ts +56 -4
  22. package/dist/core/validation.d.ts +37 -6
  23. package/dist/editor/controller.d.ts +88 -10
  24. package/dist/entity-modeler-next.css +1 -1
  25. package/dist/entity-modeler.js +15808 -11445
  26. package/dist/entity-modeler.umd.cjs +45 -24
  27. package/dist/i18n/en.d.ts +3 -0
  28. package/dist/i18n/index.d.ts +17 -0
  29. package/dist/i18n/ja.d.ts +3 -0
  30. package/dist/i18n/ko.d.ts +373 -0
  31. package/dist/index.d.ts +14 -1
  32. package/dist/view/CommandPalette.vue.d.ts +10 -0
  33. package/dist/view/DiagramCanvas.vue.d.ts +5 -0
  34. package/dist/view/EditModeToggle.vue.d.ts +3 -0
  35. package/dist/view/EditorToolbar.vue.d.ts +2 -0
  36. package/dist/view/EmContextMenu.vue.d.ts +7 -2
  37. package/dist/view/GroupCodeCombobox.vue.d.ts +2 -0
  38. package/dist/view/HistoryPanel.vue.d.ts +3 -0
  39. package/dist/view/OperationSourceEditor.vue.d.ts +2 -0
  40. package/dist/view/{EntityTextPreview.vue.d.ts → ShortcutHelpModal.vue.d.ts} +2 -1
  41. package/dist/view/TextExportModal.vue.d.ts +15 -0
  42. package/dist/view/TextImportModal.vue.d.ts +8 -0
  43. package/dist/view/diffOverlay.d.ts +14 -0
  44. package/dist/view/explorerFilter.d.ts +20 -0
  45. package/dist/view/exportImage.d.ts +14 -0
  46. package/dist/view/opConflictNotice.d.ts +12 -0
  47. package/dist/view/validationDisplay.d.ts +14 -2
  48. package/package.json +1 -1
  49. package/dist/view/exportSvg.d.ts +0 -7
@@ -0,0 +1,14 @@
1
+ import { useVueFlow } from '@vue-flow/core';
2
+ type VueFlowStore = ReturnType<typeof useVueFlow>;
3
+ /** 현재 캔버스를 측정·합성해 SVG 문자열을 반환 (다운로드 없이 문자열만 필요할 때). */
4
+ export declare function buildDiagramSvg(vf: VueFlowStore): string;
5
+ /** 현재 캔버스를 벡터 SVG로 내보내 브라우저 다운로드를 트리거한다. */
6
+ export declare function exportDiagramSvg(vf: VueFlowStore, filename?: string): void;
7
+ /**
8
+ * 현재 캔버스를 PNG 래스터로 내보내 다운로드한다. SVG 문자열을 Image로 로드해 오프스크린 캔버스에
9
+ * 그린 뒤 toBlob으로 변환한다. 합성 SVG는 외부 참조(foreignObject·원격 이미지·폰트) 없이 도형·텍스트로만
10
+ * 구성되고 색상도 concrete 값이 박혀 있어(측정 레이어가 computed style 채취) 캔버스 tainting이 없다.
11
+ * scale=2로 확대 렌더해 고해상도(레티나·문서 삽입) 품질을 확보한다.
12
+ */
13
+ export declare function exportDiagramPng(vf: VueFlowStore, filename?: string, scale?: number): Promise<void>;
14
+ export {};
@@ -0,0 +1,12 @@
1
+ import { OpConflict } from '../command/op';
2
+ export interface OpConflictNotice {
3
+ /** 배너 제목 — 상태 자체(무엇이 일어났는지). */
4
+ title: string;
5
+ /** 배너 본문 — 원인 + 복구 방향(다시 불러오기). */
6
+ detail: string;
7
+ }
8
+ /**
9
+ * 충돌 종류 → 사용자 문구. `missing`은 동시편집이 아니라 전송 실패(혼자 편집 중에도 발생)라 원인을
10
+ * 구분한다(호스트 배선 경로와 동일한 kind 오진 방지). null → null(배너 미노출).
11
+ */
12
+ export declare function opConflictNotice(conflict: OpConflict | null | undefined): OpConflictNotice | null;
@@ -1,7 +1,19 @@
1
1
  import { ModelId } from '../core/types';
2
2
  import { ValidationIssue } from '../core/validation';
3
- /** ruleId('CHK-NAME-3') 분류 라벨('이름'). 형식 불명 입력은 원문 폴백. */
4
- export declare function issueCategoryLabel(ruleId: string): string;
3
+ import { MessageKey, Translator } from '../i18n';
4
+ /**
5
+ * ruleId 네임스페이스(CHK-<NS>-n의 NS) → 비개발자용 분류 카테고리 i18n 키. ruleId 원본('CHK-NAME-3')은
6
+ * 코드라 일반 사용자가 못 알아보므로 패널은 이 라벨만 노출하고 원 ruleId는 title 툴팁으로만 보존한다.
7
+ * 미등록 네임스페이스는 null(호출부가 NS 토큰 원문으로 폴백 — 신규 규칙 추가 시 무라벨이 아니라 식별 가능).
8
+ */
9
+ export declare function issueCategoryKey(ruleId: string): MessageKey | null;
10
+ /** ruleId → 분류 라벨(로컬라이즈). 미등록 NS는 NS 토큰 원문, 형식 불명은 ruleId 원문 폴백. */
11
+ export declare function issueCategoryLabel(t: Translator, ruleId: string): string;
12
+ /**
13
+ * 이슈 → 로컬라이즈된 메시지. 뷰(패널·인라인 배지)의 단일 진입점. CHK-TYPE-4의 빈 type/dataType은
14
+ * 표시 폴백('(미지정)')으로 치환한다(core는 빈 문자열만 전달 — 폴백 어휘는 표시 계층 소유).
15
+ */
16
+ export declare function localizeIssue(t: Translator, issue: ValidationIssue): string;
5
17
  /**
6
18
  * 이슈가 가리키는 소속 엔티티의 modelId — 패널이 엔티티명 칩을 붙일 대상. targetKind가 entity면
7
19
  * targetRef가 곧 엔티티이고, attribute/column/index면 contextRef가 소속 엔티티다(엔진이 그 용도로
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@g1cloud/entity-modeler-next",
3
3
  "private": false,
4
- "version": "5.0.0-alpha.9",
4
+ "version": "5.0.0-beta.10",
5
5
  "description": "Vue 3 visual entity-modeling / class-diagram editor",
6
6
  "type": "module",
7
7
  "files": [
@@ -1,7 +0,0 @@
1
- import { useVueFlow } from '@vue-flow/core';
2
- type VueFlowStore = ReturnType<typeof useVueFlow>;
3
- /** 현재 캔버스를 측정·합성해 SVG 문자열을 반환 (다운로드 없이 문자열만 필요할 때). */
4
- export declare function buildDiagramSvg(vf: VueFlowStore): string;
5
- /** 현재 캔버스를 벡터 SVG로 내보내 브라우저 다운로드를 트리거한다. */
6
- export declare function exportDiagramSvg(vf: VueFlowStore, filename?: string): void;
7
- export {};