@g1cloud/entity-modeler-next 5.2.3 → 5.2.4
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/core/version.d.ts +2 -0
- package/dist/entity-modeler.js +26 -24
- package/dist/entity-modeler.umd.cjs +6 -6
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/entity-modeler.js
CHANGED
|
@@ -3312,6 +3312,7 @@ function Fg(e, t, n) {
|
|
|
3312
3312
|
o++;
|
|
3313
3313
|
}
|
|
3314
3314
|
}
|
|
3315
|
+
const N8 = "5.2.4";
|
|
3315
3316
|
function bn(e) {
|
|
3316
3317
|
return e.reduce((t, n) => Math.max(t, n.order), -1) + 1;
|
|
3317
3318
|
}
|
|
@@ -3602,7 +3603,7 @@ function eb(e, t, n) {
|
|
|
3602
3603
|
n
|
|
3603
3604
|
);
|
|
3604
3605
|
}
|
|
3605
|
-
function
|
|
3606
|
+
function C8(e, t) {
|
|
3606
3607
|
const n = [];
|
|
3607
3608
|
return Qg(e.logical, t.logical, n), eb(e.layout, t.layout, n), n;
|
|
3608
3609
|
}
|
|
@@ -5423,7 +5424,7 @@ function Nt(e, t, n) {
|
|
|
5423
5424
|
}
|
|
5424
5425
|
};
|
|
5425
5426
|
}
|
|
5426
|
-
const
|
|
5427
|
+
const A8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5427
5428
|
__proto__: null,
|
|
5428
5429
|
addAssociation: Ms,
|
|
5429
5430
|
addAttribute: Nn,
|
|
@@ -6388,7 +6389,7 @@ function Jb(e, t, n, o, i, a, s, r, l) {
|
|
|
6388
6389
|
for (const [u, p] of c)
|
|
6389
6390
|
sp(e, d, u, Gm(p), s, i, l);
|
|
6390
6391
|
}
|
|
6391
|
-
function
|
|
6392
|
+
function $8(e, t, n = {}) {
|
|
6392
6393
|
const o = n.mkId ?? Xe, i = n.embeddableCatalog ?? [], a = (y) => i.find((w) => w.type === y), s = [], r = [], l = /* @__PURE__ */ new Map(), d = (y, w) => {
|
|
6393
6394
|
const C = l.get(y) ?? bn(w);
|
|
6394
6395
|
return l.set(y, C + 1), C;
|
|
@@ -7439,7 +7440,7 @@ const f_ = {
|
|
|
7439
7440
|
additionalProperties: !1
|
|
7440
7441
|
}, y_ = {
|
|
7441
7442
|
anyOf: Ib.map((e) => f_[e])
|
|
7442
|
-
},
|
|
7443
|
+
}, S8 = {
|
|
7443
7444
|
type: "object",
|
|
7444
7445
|
description: "엔티티 모델을 생성·수정·삭제할 때 호출한다. ops는 사람 핸들(엔티티 물리명/논리명, 속성명)로 지정하며 서버가 modelId로 해소한다. 모호하면 에러로 후보를 돌려주니 리소스로 현재 모델을 먼저 읽어 핸들을 확정하라.",
|
|
7445
7446
|
properties: {
|
|
@@ -7470,7 +7471,7 @@ const f_ = {
|
|
|
7470
7471
|
symbolicOp: y_
|
|
7471
7472
|
}
|
|
7472
7473
|
};
|
|
7473
|
-
function
|
|
7474
|
+
function T8(e, t, n, o = {}) {
|
|
7474
7475
|
const i = o.mkClientOpId ?? Xe, a = /* @__PURE__ */ new Set();
|
|
7475
7476
|
for (const r of n)
|
|
7476
7477
|
r.casUnit === "logical" && r.containerRef && a.add(r.containerRef);
|
|
@@ -8252,7 +8253,7 @@ function vp(e, t = { x: 0, y: 0 }) {
|
|
|
8252
8253
|
connections: e.connections
|
|
8253
8254
|
};
|
|
8254
8255
|
}
|
|
8255
|
-
function
|
|
8256
|
+
function M8(e, t = {}) {
|
|
8256
8257
|
const n = new Set(e.logical.groups.flatMap((r) => r.memberEntityRefs)), o = e.logical.entities.filter((r) => !n.has(r.modelId)), i = U_(e), a = H_(e), s = new Set(e.layout.groupLayouts.flatMap((r) => r.memberNoteRefs ?? []));
|
|
8257
8258
|
return {
|
|
8258
8259
|
id: t.id,
|
|
@@ -8265,7 +8266,7 @@ function T8(e, t = {}) {
|
|
|
8265
8266
|
notes: e.layout.notes.filter((r) => !s.has(r.modelId)).map((r) => vp(r))
|
|
8266
8267
|
};
|
|
8267
8268
|
}
|
|
8268
|
-
function
|
|
8269
|
+
function O8(e, t = {}) {
|
|
8269
8270
|
var i, a, s;
|
|
8270
8271
|
const n = ((i = t.revSeed) == null ? void 0 : i.revs) ?? {}, o = (r) => ({
|
|
8271
8272
|
...r,
|
|
@@ -8295,7 +8296,7 @@ function M8(e, t = {}) {
|
|
|
8295
8296
|
};
|
|
8296
8297
|
}
|
|
8297
8298
|
const q_ = ["notNull"];
|
|
8298
|
-
function
|
|
8299
|
+
function L8(e) {
|
|
8299
8300
|
var c;
|
|
8300
8301
|
const t = () => ({
|
|
8301
8302
|
navAdds: 0,
|
|
@@ -18070,7 +18071,7 @@ const qx = {
|
|
|
18070
18071
|
"em.check.dsn7": '인덱스 "{name}"에 같은 컬럼이 두 번 이상 들어 있습니다 — 뒤의 중복 항목은 의미가 없습니다',
|
|
18071
18072
|
// 빈 type/dataType 표시 폴백(CHK-TYPE-4 등에서 뷰가 빈 param을 이 문구로 치환)
|
|
18072
18073
|
"em.check.unspecified": "미지정"
|
|
18073
|
-
},
|
|
18074
|
+
}, P8 = ["ko", "en", "ja"], al = { ko: Jx, en: qx, ja: Wx };
|
|
18074
18075
|
function jn(e, t, n) {
|
|
18075
18076
|
let i = (al[e] ?? al.ko)[t] ?? al.ko[t] ?? t;
|
|
18076
18077
|
return n && (i = i.replace(/\{(\w+)\}/g, (a, s) => s in n ? String(n[s]) : a)), i;
|
|
@@ -20889,7 +20890,7 @@ function KC(e = "m1", t = "d1") {
|
|
|
20889
20890
|
}
|
|
20890
20891
|
};
|
|
20891
20892
|
}
|
|
20892
|
-
function
|
|
20893
|
+
function D8(e = KC(), t = {}) {
|
|
20893
20894
|
var Le, at, bt;
|
|
20894
20895
|
const n = Xl(e);
|
|
20895
20896
|
let o = new wc(n);
|
|
@@ -28026,7 +28027,7 @@ const TO = {
|
|
|
28026
28027
|
], 10, ML)
|
|
28027
28028
|
], 10, SL));
|
|
28028
28029
|
}
|
|
28029
|
-
}),
|
|
28030
|
+
}), V8 = /* @__PURE__ */ _t(OL, [["__scopeId", "data-v-2b5162b7"]]), LL = ["disabled"], PL = { class: "em-panel__sub" }, DL = { class: "em-nav" }, VL = {
|
|
28030
28031
|
key: 0,
|
|
28031
28032
|
class: "em-nav__divider",
|
|
28032
28033
|
"aria-hidden": "true"
|
|
@@ -30515,9 +30516,9 @@ const l8 = { class: "em-modeler" }, d8 = { class: "em-modeler__body" }, c8 = { c
|
|
|
30515
30516
|
]);
|
|
30516
30517
|
};
|
|
30517
30518
|
}
|
|
30518
|
-
}),
|
|
30519
|
+
}), z8 = /* @__PURE__ */ _t(g8, [["__scopeId", "data-v-1e5c0922"]]);
|
|
30519
30520
|
export {
|
|
30520
|
-
|
|
30521
|
+
S8 as APPLY_MODEL_OPS_INPUT_SCHEMA,
|
|
30521
30522
|
d$ as AssociationEdge,
|
|
30522
30523
|
xo as CUSTOM_TYPE_VALUE,
|
|
30523
30524
|
wc as CommandStack,
|
|
@@ -30527,15 +30528,16 @@ export {
|
|
|
30527
30528
|
jO as DiagramCanvas,
|
|
30528
30529
|
aL as DiagramExplorer,
|
|
30529
30530
|
ai as EDITOR,
|
|
30530
|
-
|
|
30531
|
+
V8 as EditModeToggle,
|
|
30531
30532
|
AL as EditorToolbar,
|
|
30532
|
-
|
|
30533
|
+
z8 as EntityModeler,
|
|
30533
30534
|
AA as EntityNode,
|
|
30534
30535
|
Ki as GROUP_CODE_ENUM_VALUE,
|
|
30535
30536
|
PA as GroupNode,
|
|
30536
30537
|
ed as INHERITED_REF_PREFIX,
|
|
30537
30538
|
li as InvalidDiagramJsonError,
|
|
30538
30539
|
lr as JAVA_TYPES,
|
|
30540
|
+
N8 as LIB_VERSION,
|
|
30539
30541
|
BA as NoteNode,
|
|
30540
30542
|
wb as OpSyncAdapter,
|
|
30541
30543
|
ps as PHYSICAL_NAME_MAX_LENGTH,
|
|
@@ -30544,15 +30546,15 @@ export {
|
|
|
30544
30546
|
Ev as SELECTABLE_JAVA_TYPES,
|
|
30545
30547
|
Ib as SYMBOLIC_OP_KINDS,
|
|
30546
30548
|
y_ as SYMBOLIC_OP_SCHEMA,
|
|
30547
|
-
|
|
30549
|
+
P8 as UI_LOCALES,
|
|
30548
30550
|
Am as applyDocumentReferenceOnly,
|
|
30549
|
-
|
|
30551
|
+
T8 as buildAgentBatch,
|
|
30550
30552
|
Ny as buildDiagramSvg,
|
|
30551
30553
|
hb as buildDiffMarks,
|
|
30552
30554
|
ii as collectSharedColumns,
|
|
30553
|
-
|
|
30555
|
+
A8 as commands,
|
|
30554
30556
|
Yy as computeAutoLayout,
|
|
30555
|
-
|
|
30557
|
+
D8 as createEditorController,
|
|
30556
30558
|
R8 as dedupeModelIds,
|
|
30557
30559
|
I8 as defaultMermaidDialect,
|
|
30558
30560
|
k8 as defaultSqlDialect,
|
|
@@ -30580,7 +30582,7 @@ export {
|
|
|
30580
30582
|
bm as parseInheritedColumnRef,
|
|
30581
30583
|
$v as parseMermaidEr,
|
|
30582
30584
|
Vm as parseSqlDdl,
|
|
30583
|
-
|
|
30585
|
+
L8 as planHealBackfillOps,
|
|
30584
30586
|
lf as projectActionLog,
|
|
30585
30587
|
db as projectEntityAudit,
|
|
30586
30588
|
Po as projectFieldAudit,
|
|
@@ -30592,15 +30594,15 @@ export {
|
|
|
30592
30594
|
wo as resolveEffectiveColumn,
|
|
30593
30595
|
mc as resolveQuickFix,
|
|
30594
30596
|
Ri as resolveSharedColumn,
|
|
30595
|
-
|
|
30597
|
+
$8 as resolveSymbolicOps,
|
|
30596
30598
|
$i as restoreDeepEqual,
|
|
30597
30599
|
E8 as scaffoldEntityJava,
|
|
30598
30600
|
Em as sharedColumnScopeEntities,
|
|
30599
30601
|
zv as sqlDdlToImportSource,
|
|
30600
30602
|
nr as stereotypeLabel,
|
|
30601
|
-
|
|
30602
|
-
|
|
30603
|
-
|
|
30603
|
+
C8 as synthesizeRestoreOps,
|
|
30604
|
+
M8 as toPersisted,
|
|
30605
|
+
O8 as toPersistedV2,
|
|
30604
30606
|
jn as translate,
|
|
30605
30607
|
qx as uiMessagesEn,
|
|
30606
30608
|
Wx as uiMessagesJa,
|