@g1cloud/entity-modeler-next 5.2.49 → 5.2.50

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.
@@ -1,7 +1,7 @@
1
1
  var Tv = Object.defineProperty;
2
2
  var Mv = (e, t, n) => t in e ? Tv(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Tt = (e, t, n) => Mv(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { getCurrentScope as Bm, inject as xt, effectScope as zm, watch as at, provide as dn, defineComponent as et, useSlots as Um, onUnmounted as Lv, openBlock as x, createElementBlock as L, unref as m, createVNode as q, withCtx as dt, renderSlot as Ut, createPropsRestProxy as Ov, toRef as Et, ref as he, computed as U, onMounted as Xn, normalizeClass as Ae, getCurrentInstance as Ji, reactive as vd, onScopeDispose as Ns, nextTick as Lt, onBeforeMount as Pv, shallowRef as jn, createElementVNode as $, Fragment as Ie, renderList as Ge, normalizeStyle as Nt, onBeforeUnmount as ii, isMemoSame as Dv, createBlock as Ye, createCommentVNode as de, toDisplayString as X, isRef as gd, toRefs as Vv, customRef as Bv, toValue as yt, resolveComponent as Fm, h as $t, useAttrs as bd, mergeProps as Us, resolveDynamicComponent as Ko, createTextVNode as kn, markRaw as ga, readonly as zv, withKeys as _t, withModifiers as Xe, withDirectives as mn, vModelText as po, Teleport as gr, onUpdated as Uv, watchEffect as Fv, normalizeProps as Fo, guardReactiveProps as Ii, Transition as Na, vShow as Si } from "vue";
4
+ import { getCurrentScope as Bm, inject as xt, effectScope as zm, watch as at, provide as dn, defineComponent as et, useSlots as Um, onUnmounted as Lv, openBlock as x, createElementBlock as L, unref as m, createVNode as q, withCtx as dt, renderSlot as Ut, createPropsRestProxy as Ov, toRef as Et, ref as pe, computed as U, onMounted as Xn, normalizeClass as Ae, getCurrentInstance as Ji, reactive as vd, onScopeDispose as Ns, nextTick as Lt, onBeforeMount as Pv, shallowRef as jn, createElementVNode as $, Fragment as Ie, renderList as Ye, normalizeStyle as Nt, onBeforeUnmount as ii, isMemoSame as Dv, createBlock as Ke, createCommentVNode as de, toDisplayString as X, isRef as gd, toRefs as Vv, customRef as Bv, toValue as yt, resolveComponent as Fm, h as $t, useAttrs as bd, mergeProps as Us, resolveDynamicComponent as Ko, createTextVNode as kn, markRaw as ga, readonly as zv, withKeys as _t, withModifiers as Xe, withDirectives as mn, vModelText as po, Teleport as gr, onUpdated as Uv, watchEffect as Fv, normalizeProps as Fo, guardReactiveProps as Ii, Transition as Na, vShow as Si } from "vue";
5
5
  import { BSTextArea as Hv, BSTextInput as vt, BSSelect as ft, BSCheckbox as bt, BSNumberInput as Wo, BSButton as ut, useModalHandle as za, BSModalFrame as Ua, useModal as Xi, showNotification as bc } from "@g1cloud/open-bluesea-core";
6
6
  const jv = {
7
7
  startX: 40,
@@ -1058,7 +1058,7 @@ function ai(e, t) {
1058
1058
  if (!t.has(o)) return o;
1059
1059
  }
1060
1060
  }
1061
- function dB(e) {
1061
+ function uB(e) {
1062
1062
  return e === "CLASS" ? "class" : "er";
1063
1063
  }
1064
1064
  function Ac(e, t, n) {
@@ -1644,7 +1644,7 @@ function qg(e, t) {
1644
1644
  };
1645
1645
  return { logical: n, layout: s };
1646
1646
  }
1647
- function cB() {
1647
+ function mB() {
1648
1648
  return "postgres";
1649
1649
  }
1650
1650
  function Wg(e, t = "postgres", n) {
@@ -3122,7 +3122,7 @@ function Lb(e, t) {
3122
3122
  function Ob(e) {
3123
3123
  return !(gn(e.name) || e.stereotype === "JPA_ENTITY" && !e.attributes.some((t) => t.identifier));
3124
3124
  }
3125
- function uB(e, t, n = {}) {
3125
+ function fB(e, t, n = {}) {
3126
3126
  const o = new Map(e.entities.map((a) => [a.modelId, a])), i = [];
3127
3127
  for (const a of t) {
3128
3128
  const s = o.get(a);
@@ -3861,7 +3861,7 @@ function l_(e) {
3861
3861
  dbAttrs: [t, n]
3862
3862
  };
3863
3863
  }
3864
- function mB(e) {
3864
+ function pB(e) {
3865
3865
  let t = !1;
3866
3866
  const n = e.entities.map((o) => {
3867
3867
  let i = !1;
@@ -3870,7 +3870,7 @@ function mB(e) {
3870
3870
  });
3871
3871
  return t ? { ...e, entities: n } : e;
3872
3872
  }
3873
- function fB(e, t) {
3873
+ function hB(e, t) {
3874
3874
  const n = /* @__PURE__ */ new Map(), o = [], i = /* @__PURE__ */ new Map();
3875
3875
  for (const y of e.entities) {
3876
3876
  const v = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map(), b = /* @__PURE__ */ new Map(), _ = (h, C, N) => {
@@ -3950,7 +3950,7 @@ function d_(e, t, n) {
3950
3950
  o++;
3951
3951
  }
3952
3952
  }
3953
- const pB = "5.2.49";
3953
+ const yB = "5.2.50";
3954
3954
  function $n(e) {
3955
3955
  return e.reduce((t, n) => Math.max(t, n.order), -1) + 1;
3956
3956
  }
@@ -4241,7 +4241,7 @@ function __(e, t, n) {
4241
4241
  n
4242
4242
  );
4243
4243
  }
4244
- function hB(e, t) {
4244
+ function vB(e, t) {
4245
4245
  const n = [];
4246
4246
  return b_(e.logical, t.logical, n), __(e.layout, t.layout, n), n;
4247
4247
  }
@@ -6155,7 +6155,7 @@ function At(e, t, n) {
6155
6155
  }
6156
6156
  };
6157
6157
  }
6158
- const yB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6158
+ const gB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6159
6159
  __proto__: null,
6160
6160
  addAssociation: Ws,
6161
6161
  addAttribute: Cn,
@@ -7561,7 +7561,7 @@ function R1(e) {
7561
7561
  };
7562
7562
  return e.map((o) => n(o));
7563
7563
  }
7564
- function vB(e, t, n = {}) {
7564
+ function bB(e, t, n = {}) {
7565
7565
  const o = R1(t), i = n.mkId ?? Qe, a = n.embeddableCatalog ?? [], s = (I) => a.find((S) => S.type === I), r = [], l = [], d = [], c = /* @__PURE__ */ new Set();
7566
7566
  t.forEach((I, S) => {
7567
7567
  for (const O of C1(I))
@@ -8727,7 +8727,7 @@ const G1 = {
8727
8727
  additionalProperties: !1
8728
8728
  }, W1 = {
8729
8729
  anyOf: H_.map((e) => G1[e])
8730
- }, gB = {
8730
+ }, _B = {
8731
8731
  type: "object",
8732
8732
  description: "엔티티 모델을 생성·수정·삭제할 때 호출한다. ops는 사람 핸들(엔티티 물리명/논리명, 속성명)로 지정하며 서버가 modelId로 해소한다. 모호하면 에러로 후보를 돌려주니 리소스로 현재 모델을 먼저 읽어 핸들을 확정하라.",
8733
8733
  properties: {
@@ -8758,7 +8758,7 @@ const G1 = {
8758
8758
  symbolicOp: W1
8759
8759
  }
8760
8760
  };
8761
- function bB(e, t, n, o = {}) {
8761
+ function wB(e, t, n, o = {}) {
8762
8762
  const i = o.mkClientOpId ?? Qe, a = /* @__PURE__ */ new Set();
8763
8763
  for (const r of n)
8764
8764
  r.casUnit === "logical" && r.containerRef && a.add(r.containerRef);
@@ -9564,7 +9564,7 @@ function bh(e, t = { x: 0, y: 0 }) {
9564
9564
  connections: e.connections
9565
9565
  };
9566
9566
  }
9567
- function _B(e, t = {}) {
9567
+ function IB(e, t = {}) {
9568
9568
  const n = new Set(e.logical.groups.flatMap((r) => r.memberEntityRefs)), o = e.logical.entities.filter((r) => !n.has(r.modelId)), i = _0(e), a = w0(e), s = new Set(e.layout.groupLayouts.flatMap((r) => r.memberNoteRefs ?? []));
9569
9569
  return {
9570
9570
  id: t.id,
@@ -9577,7 +9577,7 @@ function _B(e, t = {}) {
9577
9577
  notes: e.layout.notes.filter((r) => !s.has(r.modelId)).map((r) => bh(r))
9578
9578
  };
9579
9579
  }
9580
- function wB(e, t = {}) {
9580
+ function kB(e, t = {}) {
9581
9581
  var i, a, s;
9582
9582
  const n = ((i = t.revSeed) == null ? void 0 : i.revs) ?? {}, o = (r) => ({
9583
9583
  ...r,
@@ -9607,7 +9607,7 @@ function wB(e, t = {}) {
9607
9607
  };
9608
9608
  }
9609
9609
  const R0 = ["notNull"];
9610
- function IB(e) {
9610
+ function EB(e) {
9611
9611
  var c;
9612
9612
  const t = () => ({
9613
9613
  navAdds: 0,
@@ -9680,7 +9680,7 @@ function M0(e, t) {
9680
9680
  }
9681
9681
  const _h = (e) => e();
9682
9682
  function L0(e = _h) {
9683
- const t = he(!0);
9683
+ const t = pe(!0);
9684
9684
  function n() {
9685
9685
  t.value = !1;
9686
9686
  }
@@ -9906,7 +9906,7 @@ function ul(e, t, n, o = {}) {
9906
9906
  f ? f(h) && y(v, h) : y(v, h);
9907
9907
  };
9908
9908
  if (l) {
9909
- const h = b(), C = he(h);
9909
+ const h = b(), C = pe(h);
9910
9910
  let N = !1;
9911
9911
  return at(
9912
9912
  () => e[t],
@@ -13559,7 +13559,7 @@ function iN() {
13559
13559
  return xt(fy, "");
13560
13560
  }
13561
13561
  function vy(e) {
13562
- const t = e ?? iN() ?? "", n = xt(py, he(null)), { findNode: o, edges: i, emits: a } = Ct(), s = o(t);
13562
+ const t = e ?? iN() ?? "", n = xt(py, pe(null)), { findNode: o, edges: i, emits: a } = Ct(), s = o(t);
13563
13563
  return s || a.error(new Jt(Wt.NODE_NOT_FOUND, t)), {
13564
13564
  id: t,
13565
13565
  nodeEl: n,
@@ -14580,7 +14580,7 @@ const yN = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], vN = {
14580
14580
  nodesConnectable: c,
14581
14581
  noDragClassName: u,
14582
14582
  noPanClassName: f
14583
- } = Ct(), { id: p, node: y, nodeEl: v, connectedEdges: g } = vy(), b = he(), _ = Et(() => typeof e.connectableStart < "u" ? e.connectableStart : !0), h = Et(() => typeof e.connectableEnd < "u" ? e.connectableEnd : !0), C = Et(
14583
+ } = Ct(), { id: p, node: y, nodeEl: v, connectedEdges: g } = vy(), b = pe(), _ = Et(() => typeof e.connectableStart < "u" ? e.connectableStart : !0), h = Et(() => typeof e.connectableEnd < "u" ? e.connectableEnd : !0), C = Et(
14584
14584
  () => {
14585
14585
  var j, H, z, w, A, E;
14586
14586
  return ((j = s.value) == null ? void 0 : j.nodeId) === p && ((H = s.value) == null ? void 0 : H.id) === e.id && ((z = s.value) == null ? void 0 : z.type) === o.value || ((w = l.value) == null ? void 0 : w.nodeId) === p && ((A = l.value) == null ? void 0 : A.id) === e.id && ((E = l.value) == null ? void 0 : E.type) === o.value;
@@ -14730,7 +14730,7 @@ const _N = Hr, wN = ["transform"], IN = ["width", "height", "x", "y", "rx", "ry"
14730
14730
  labelBgBorderRadius: { default: 2 }
14731
14731
  },
14732
14732
  setup(e) {
14733
- const t = he({ x: 0, y: 0, width: 0, height: 0 }), n = he(null), o = U(() => `translate(${e.x - t.value.width / 2} ${e.y - t.value.height / 2})`);
14733
+ const t = pe({ x: 0, y: 0, width: 0, height: 0 }), n = pe(null), o = U(() => `translate(${e.x - t.value.width / 2} ${e.y - t.value.height / 2})`);
14734
14734
  Xn(i), at([() => e.x, () => e.y, n, () => e.label], i);
14735
14735
  function i() {
14736
14736
  if (!n.value)
@@ -14762,7 +14762,7 @@ const _N = Hr, wN = ["transform"], IN = ["width", "height", "x", "y", "rx", "ry"
14762
14762
  style: a.labelStyle
14763
14763
  }), [
14764
14764
  Ut(a.$slots, "default", {}, () => [
14765
- typeof a.label != "string" ? (x(), Ye(Ko(a.label), { key: 0 })) : (x(), L(Ie, { key: 1 }, [
14765
+ typeof a.label != "string" ? (x(), Ke(Ko(a.label), { key: 0 })) : (x(), L(Ie, { key: 1 }, [
14766
14766
  kn(X(a.label), 1)
14767
14767
  ], 64))
14768
14768
  ])
@@ -14791,7 +14791,7 @@ const _N = Hr, wN = ["transform"], IN = ["width", "height", "x", "y", "rx", "ry"
14791
14791
  labelBgBorderRadius: {}
14792
14792
  },
14793
14793
  setup(e, { expose: t }) {
14794
- const n = he(null), o = he(null), i = he(null), a = bd();
14794
+ const n = pe(null), o = pe(null), i = pe(null), a = bd();
14795
14795
  return t({
14796
14796
  pathEl: n,
14797
14797
  interactionEl: o,
@@ -14816,7 +14816,7 @@ const _N = Hr, wN = ["transform"], IN = ["width", "height", "x", "y", "rx", "ry"
14816
14816
  "stroke-opacity": 0,
14817
14817
  class: "vue-flow__edge-interaction"
14818
14818
  }, null, 8, RN)) : de("", !0),
14819
- s.label && s.labelX && s.labelY ? (x(), Ye(NN, {
14819
+ s.label && s.labelX && s.labelY ? (x(), Ke(NN, {
14820
14820
  key: 1,
14821
14821
  ref_key: "labelEl",
14822
14822
  ref: i,
@@ -15477,7 +15477,7 @@ const GN = {
15477
15477
  }, JN = /* @__PURE__ */ et({
15478
15478
  ...WN,
15479
15479
  setup(e) {
15480
- const { emits: t, viewport: n, getSelectedNodes: o, noPanClassName: i, disableKeyboardA11y: a, userSelectionActive: s } = Ct(), r = gy(), l = he(null), d = hy({
15480
+ const { emits: t, viewport: n, getSelectedNodes: o, noPanClassName: i, disableKeyboardA11y: a, userSelectionActive: s } = Ct(), r = gy(), l = pe(null), d = hy({
15481
15481
  el: l,
15482
15482
  onStart(y) {
15483
15483
  t.selectionDragStart(y), t.nodeDragStart(y);
@@ -15669,11 +15669,11 @@ const ZN = {
15669
15669
  onPointerleave: ve[7] || (ve[7] = (ce) => m(i).paneMouseLeave(ce))
15670
15670
  }, [
15671
15671
  Ut(le.$slots, "default"),
15672
- m(a) && m(r) ? (x(), Ye(YN, {
15672
+ m(a) && m(r) ? (x(), Ke(YN, {
15673
15673
  key: 0,
15674
15674
  "user-selection-rect": m(r)
15675
15675
  }, null, 8, ["user-selection-rect"])) : de("", !0),
15676
- m(d) && m(u).length ? (x(), Ye(JN, { key: 1 })) : de("", !0)
15676
+ m(d) && m(u).length ? (x(), Ke(JN, { key: 1 })) : de("", !0)
15677
15677
  ], 34));
15678
15678
  }
15679
15679
  }), eC = {
@@ -15955,7 +15955,7 @@ const tm = ic, mC = et({
15955
15955
  edgesUpdatable: g,
15956
15956
  edgesFocusable: b,
15957
15957
  hooks: _
15958
- } = Ct(), h = U(() => c(e.id)), { emit: C, on: N } = nN(h.value, a), R = xt(zr), I = Ji(), S = he(!1), O = he(!1), F = he(""), j = he(null), H = he("source"), z = he(null), w = Et(
15958
+ } = Ct(), h = U(() => c(e.id)), { emit: C, on: N } = nN(h.value, a), R = xt(zr), I = Ji(), S = pe(!1), O = pe(!1), F = pe(""), j = pe(null), H = pe("source"), z = pe(null), w = Et(
15959
15959
  () => typeof h.value.selectable > "u" ? v.value : h.value.selectable
15960
15960
  ), A = Et(() => typeof h.value.updatable > "u" ? g.value : h.value.updatable), E = Et(() => typeof h.value.focusable > "u" ? b.value : h.value.focusable);
15961
15961
  dn(QE, e.id), dn(eN, z);
@@ -16328,7 +16328,7 @@ const tm = ic, mC = et({
16328
16328
  });
16329
16329
  return (s, r) => (x(), L("svg", bC, [
16330
16330
  $("defs", null, [
16331
- (x(!0), L(Ie, null, Ge(a.value, (l) => (x(), Ye(gC, {
16331
+ (x(!0), L(Ie, null, Ye(a.value, (l) => (x(), Ke(gC, {
16332
16332
  id: l.id,
16333
16333
  key: l.id,
16334
16334
  type: l.type,
@@ -16351,7 +16351,7 @@ const tm = ic, mC = et({
16351
16351
  const { findNode: t, getEdges: n, elevateEdgesOnSelect: o } = Ct();
16352
16352
  return (i, a) => (x(), L(Ie, null, [
16353
16353
  q(wC),
16354
- (x(!0), L(Ie, null, Ge(m(n), (s) => (x(), L("svg", {
16354
+ (x(!0), L(Ie, null, Ye(m(n), (s) => (x(), L("svg", {
16355
16355
  key: s.id,
16356
16356
  class: "vue-flow__edges vue-flow__container",
16357
16357
  style: Nt({ zIndex: m(UE)(s, m(t), m(o)) })
@@ -16392,7 +16392,7 @@ const tm = ic, mC = et({
16392
16392
  nodesConnectable: N,
16393
16393
  nodesFocusable: R,
16394
16394
  hooks: I
16395
- } = Ct(), S = he(null);
16395
+ } = Ct(), S = pe(null);
16396
16396
  dn(py, S), dn(fy, e.id);
16397
16397
  const O = xt(zr), F = Ji(), j = gy(), { node: H, parentNode: z } = vy(e.id), { emit: w, on: A } = sN(H, s), E = Et(() => typeof H.draggable > "u" ? h.value : H.draggable), T = Et(() => typeof H.selectable > "u" ? C.value : H.selectable), M = Et(() => typeof H.connectable > "u" ? N.value : H.connectable), G = Et(() => typeof H.focusable > "u" ? R.value : H.focusable), K = U(
16398
16398
  () => T.value || E.value || I.value.nodeClick.hasListeners() || I.value.nodeDoubleClick.hasListeners() || I.value.nodeMouseEnter.hasListeners() || I.value.nodeMouseMove.hasListeners() || I.value.nodeMouseLeave.hasListeners()
@@ -16627,7 +16627,7 @@ const RC = { class: "vue-flow__nodes vue-flow__container" }, AC = {
16627
16627
  }, $C = /* @__PURE__ */ et({
16628
16628
  ...AC,
16629
16629
  setup(e) {
16630
- const { getNodes: t, updateNodeDimensions: n, emits: o } = Ct(), i = CC(), a = he();
16630
+ const { getNodes: t, updateNodeDimensions: n, emits: o } = Ct(), i = CC(), a = pe();
16631
16631
  return at(
16632
16632
  i,
16633
16633
  (s) => {
@@ -16649,11 +16649,11 @@ const RC = { class: "vue-flow__nodes vue-flow__container" }, AC = {
16649
16649
  var s;
16650
16650
  return (s = a.value) == null ? void 0 : s.disconnect();
16651
16651
  }), (s, r) => (x(), L("div", RC, [
16652
- a.value ? (x(!0), L(Ie, { key: 0 }, Ge(m(t), (l, d, c, u) => {
16652
+ a.value ? (x(!0), L(Ie, { key: 0 }, Ye(m(t), (l, d, c, u) => {
16653
16653
  const f = [l.id];
16654
16654
  if (u && u.key === l.id && Dv(u, f))
16655
16655
  return u;
16656
- const p = (x(), Ye(m(NC), {
16656
+ const p = (x(), Ke(m(NC), {
16657
16657
  id: l.id,
16658
16658
  key: l.id,
16659
16659
  "resize-observer": a.value
@@ -17153,7 +17153,7 @@ const qC = { class: "em-inline-issue__msgs" }, WC = /* @__PURE__ */ et({
17153
17153
  class: "em-inline-issue__icon"
17154
17154
  }, null, 8, ["name"]),
17155
17155
  $("span", qC, [
17156
- (x(!0), L(Ie, null, Ge(i.value, (l, d) => (x(), L("span", { key: d }, X(m(Ry)(m(n).t, l)), 1))), 128))
17156
+ (x(!0), L(Ie, null, Ye(i.value, (l, d) => (x(), L("span", { key: d }, X(m(Ry)(m(n).t, l)), 1))), 128))
17157
17157
  ])
17158
17158
  ], 2)) : de("", !0);
17159
17159
  }
@@ -17179,7 +17179,7 @@ const qC = { class: "em-inline-issue__msgs" }, WC = /* @__PURE__ */ et({
17179
17179
  const b = n.defaultLang;
17180
17180
  return b && n.languages.includes(b) ? b : n.languages[0] ?? "ko";
17181
17181
  }
17182
- const a = U(() => n.activeLang !== void 0), s = he(i()), r = U(() => {
17182
+ const a = U(() => n.activeLang !== void 0), s = pe(i()), r = U(() => {
17183
17183
  const b = n.activeLang;
17184
17184
  return b && n.languages.includes(b) ? b : a.value ? n.languages[0] ?? "ko" : s.value;
17185
17185
  });
@@ -17193,7 +17193,7 @@ const qC = { class: "em-inline-issue__msgs" }, WC = /* @__PURE__ */ et({
17193
17193
  var _, h;
17194
17194
  return !!((h = (_ = n.modelValue) == null ? void 0 : _[b]) != null && h.trim());
17195
17195
  }
17196
- const d = (b) => `${n.name}-tab-${b}`, c = U(() => `${n.name}-panel`), u = he(null);
17196
+ const d = (b) => `${n.name}-tab-${b}`, c = U(() => `${n.name}-panel`), u = pe(null);
17197
17197
  async function f(b) {
17198
17198
  var C, N;
17199
17199
  const _ = n.languages, h = _[(b + _.length) % _.length];
@@ -17225,7 +17225,7 @@ const qC = { class: "em-inline-issue__msgs" }, WC = /* @__PURE__ */ et({
17225
17225
  class: "em-mlang__tabs",
17226
17226
  role: "tablist"
17227
17227
  }, [
17228
- (x(!0), L(Ie, null, Ge(e.languages, (h) => (x(), L("span", {
17228
+ (x(!0), L(Ie, null, Ye(e.languages, (h) => (x(), L("span", {
17229
17229
  id: d(h),
17230
17230
  key: h,
17231
17231
  class: Ae(["em-mlang__tab", { "is-active": r.value === h }]),
@@ -17252,7 +17252,7 @@ const qC = { class: "em-inline-issue__msgs" }, WC = /* @__PURE__ */ et({
17252
17252
  role: a.value ? void 0 : "tabpanel",
17253
17253
  "aria-labelledby": a.value ? void 0 : d(r.value)
17254
17254
  }, [
17255
- e.multiline ? (x(), Ye(m(Hv), {
17255
+ e.multiline ? (x(), Ke(m(Hv), {
17256
17256
  key: 0,
17257
17257
  name: `${e.name}-${r.value}`,
17258
17258
  width: "100%",
@@ -17260,7 +17260,7 @@ const qC = { class: "em-inline-issue__msgs" }, WC = /* @__PURE__ */ et({
17260
17260
  placeholder: e.placeholder,
17261
17261
  "model-value": v.value,
17262
17262
  "onUpdate:modelValue": g
17263
- }, null, 8, ["name", "height", "placeholder", "model-value"])) : (x(), Ye(m(vt), {
17263
+ }, null, 8, ["name", "height", "placeholder", "model-value"])) : (x(), Ke(m(vt), {
17264
17264
  key: 1,
17265
17265
  name: `${e.name}-${r.value}`,
17266
17266
  width: "100%",
@@ -17539,7 +17539,7 @@ const qC = { class: "em-inline-issue__msgs" }, WC = /* @__PURE__ */ et({
17539
17539
  ])),
17540
17540
  $("fieldset", pR, [
17541
17541
  $("legend", null, X(m(i).t(C.value ? "em.entity.classLogicalLegend" : "em.entity.tableLogicalLegend")), 1),
17542
- (x(!0), L(Ie, null, Ge(m(i).languages.value, (ce) => (x(), L("label", {
17542
+ (x(!0), L(Ie, null, Ye(m(i).languages.value, (ce) => (x(), L("label", {
17543
17543
  key: ce,
17544
17544
  class: "em-lang"
17545
17545
  }, [
@@ -17565,7 +17565,7 @@ const qC = { class: "em-inline-issue__msgs" }, WC = /* @__PURE__ */ et({
17565
17565
  ]),
17566
17566
  m(Gn)(a.value.stereotype) ? de("", !0) : (x(), L("fieldset", yR, [
17567
17567
  W[14] || (W[14] = $("legend", null, "JPA", -1)),
17568
- (x(), L(Ie, null, Ge(y, (ce) => {
17568
+ (x(), L(Ie, null, Ye(y, (ce) => {
17569
17569
  var Te;
17570
17570
  return q(m(bt), {
17571
17571
  key: ce.key,
@@ -17639,7 +17639,7 @@ const qC = { class: "em-inline-issue__msgs" }, WC = /* @__PURE__ */ et({
17639
17639
  title: m(i).t("em.swatch.none"),
17640
17640
  onClick: W[13] || (W[13] = (ce) => K(null))
17641
17641
  }, "∅", 10, kR),
17642
- (x(!0), L(Ie, null, Ge(m(mi), (ce) => (x(), L("button", {
17642
+ (x(!0), L(Ie, null, Ye(m(mi), (ce) => (x(), L("button", {
17643
17643
  key: ce,
17644
17644
  type: "button",
17645
17645
  class: Ae(["em-swatch__chip", { "is-on": r.value === ce }]),
@@ -17704,8 +17704,8 @@ function $y(e, t) {
17704
17704
  function p(Z) {
17705
17705
  const ue = c(Z);
17706
17706
  if (!ue) return e.t("em.attr.namePlaceholder");
17707
- const Ke = new Map(e.state.logical.entities.map((nt) => [nt.modelId, nt]));
17708
- return Dd({ ...Z, derivedIdFieldName: void 0 }, ue, Ke) || e.t("em.attr.namePlaceholder");
17707
+ const Ge = new Map(e.state.logical.entities.map((nt) => [nt.modelId, nt]));
17708
+ return Dd({ ...Z, derivedIdFieldName: void 0 }, ue, Ge) || e.t("em.attr.namePlaceholder");
17709
17709
  }
17710
17710
  function y(Z, ue) {
17711
17711
  u(Z) ? l(Z, { derivedIdFieldName: ue || void 0 }) : l(Z, { name: ue });
@@ -17721,13 +17721,13 @@ function $y(e, t) {
17721
17721
  }
17722
17722
  function _(Z) {
17723
17723
  var nt, jt;
17724
- const ue = (nt = Z.derivedFrom) == null ? void 0 : nt.associationRef, Ke = (jt = n.value) == null ? void 0 : jt.attributes.find(
17724
+ const ue = (nt = Z.derivedFrom) == null ? void 0 : nt.associationRef, Ge = (jt = n.value) == null ? void 0 : jt.attributes.find(
17725
17725
  (on) => {
17726
17726
  var st;
17727
17727
  return on.attrType === "RELATION_OWN" && ((st = on.derivedFrom) == null ? void 0 : st.associationRef) === ue && d.value.has(on.modelId);
17728
17728
  }
17729
17729
  );
17730
- return e.t("em.attr.joinColumnOnlyNote", { anchor: (Ke == null ? void 0 : Ke.name) || e.t("em.attr.nameless") });
17730
+ return e.t("em.attr.joinColumnOnlyNote", { anchor: (Ge == null ? void 0 : Ge.name) || e.t("em.attr.nameless") });
17731
17731
  }
17732
17732
  function h(Z) {
17733
17733
  return !!n.value && !!To(e.state.logical, n.value.modelId, Z.modelId);
@@ -17755,8 +17755,8 @@ function $y(e, t) {
17755
17755
  return Fa(Z);
17756
17756
  }
17757
17757
  function H(Z, ue = 0) {
17758
- var Ke;
17759
- return ((Ke = Fs(Z, n.value, e.state.logical.entities, e.state.logical.associations, ue)) == null ? void 0 : Ke.physicalName) || void 0;
17758
+ var Ge;
17759
+ return ((Ge = Fs(Z, n.value, e.state.logical.entities, e.state.logical.associations, ue)) == null ? void 0 : Ge.physicalName) || void 0;
17760
17760
  }
17761
17761
  function z(Z) {
17762
17762
  const ue = Ad(Z);
@@ -17769,10 +17769,10 @@ function $y(e, t) {
17769
17769
  e.convertAttributeType(n.value.modelId, Z.modelId, ue);
17770
17770
  return;
17771
17771
  }
17772
- const Ke = Fe.value.find((nt) => nt.type === ue);
17773
- if (Ke) {
17772
+ const Ge = Fe.value.find((nt) => nt.type === ue);
17773
+ if (Ge) {
17774
17774
  const nt = Z.dbAttrs[0] ?? { modelId: Z.modelId + ".c", physicalName: Z.name, dataType: "VARCHAR" };
17775
- l(Z, { type: ue, customType: void 0, dbAttrs: [gf(nt, Ke)] });
17775
+ l(Z, { type: ue, customType: void 0, dbAttrs: [gf(nt, Ge)] });
17776
17776
  return;
17777
17777
  }
17778
17778
  l(Z, ue === Io ? { type: ue } : { type: ue, customType: void 0 });
@@ -17806,12 +17806,12 @@ function $y(e, t) {
17806
17806
  i.value ? W(Z, ue) : B(Z, ue);
17807
17807
  }
17808
17808
  function le(Z, ue) {
17809
- const Ke = e.t("em.attr.logicalPlaceholder"), nt = Z.dbAttrs[0];
17810
- if (i.value || !nt) return Ke;
17809
+ const Ge = e.t("em.attr.logicalPlaceholder"), nt = Z.dbAttrs[0];
17810
+ if (i.value || !nt) return Ge;
17811
17811
  const jt = fn(Z, nt, 0, n.value ?? void 0, e.state.logical, {
17812
17812
  embeddableCatalog: e.embeddableCatalog.value
17813
17813
  }).logicalName;
17814
- return nn(jt, ue) ?? Ke;
17814
+ return nn(jt, ue) ?? Ge;
17815
17815
  }
17816
17816
  function ve(Z, ue) {
17817
17817
  l(Z, { description: Object.keys(ue).length ? ue : void 0 });
@@ -17829,7 +17829,7 @@ function $y(e, t) {
17829
17829
  const ke = U(() => e.groupCodeCatalog.value);
17830
17830
  function D(Z) {
17831
17831
  var ue;
17832
- return ((ue = ke.value.find((Ke) => Ke.groupCode === Z.groupCode)) == null ? void 0 : ue.codes) ?? [];
17832
+ return ((ue = ke.value.find((Ge) => Ge.groupCode === Z.groupCode)) == null ? void 0 : ue.codes) ?? [];
17833
17833
  }
17834
17834
  function V(Z) {
17835
17835
  return ["none", ...D(Z)];
@@ -17858,17 +17858,17 @@ function $y(e, t) {
17858
17858
  function ne(Z) {
17859
17859
  return $e(Z) || xe(Z);
17860
17860
  }
17861
- function se(Z, ue, Ke) {
17861
+ function se(Z, ue, Ge) {
17862
17862
  const nt = Z.dbAttrs.map((jt, on) => {
17863
17863
  if (on !== ue) return jt;
17864
- const st = { ...jt, ...Ke };
17865
- for (const Ze of Object.keys(Ke)) Ke[Ze] === void 0 && delete st[Ze];
17864
+ const st = { ...jt, ...Ge };
17865
+ for (const Ze of Object.keys(Ge)) Ge[Ze] === void 0 && delete st[Ze];
17866
17866
  return st;
17867
17867
  });
17868
17868
  n.value && e.setEmbedColumns(n.value.modelId, Z.modelId, nt);
17869
17869
  }
17870
- function re(Z, ue, Ke) {
17871
- se(Z, ue, { logicalName: Object.keys(Ke).length ? Ke : void 0 });
17870
+ function re(Z, ue, Ge) {
17871
+ se(Z, ue, { logicalName: Object.keys(Ge).length ? Ge : void 0 });
17872
17872
  }
17873
17873
  function Ee(Z, ue) {
17874
17874
  var jt, on, st;
@@ -17880,22 +17880,22 @@ function $y(e, t) {
17880
17880
  const Ze = (jt = e.embeddableCatalog.value.find((k) => k.type === Z.type)) == null ? void 0 : jt.fields[ue];
17881
17881
  return Ze ? { name: Ze.name, physicalName: Ze.physicalName, dataType: Ze.dataType, length: Ze.length, scale: Ze.scale, shareable: Ze.shareable, logicalName: Ze.logicalName } : void 0;
17882
17882
  }
17883
- const Ke = (on = Z.embedded) == null ? void 0 : on.embeddableRef;
17884
- if (!Ke) return;
17885
- const nt = (st = e.state.logical.entities.find((Ze) => Ze.modelId === Ke)) == null ? void 0 : st.attributes.flatMap((Ze) => Ze.dbAttrs)[ue];
17883
+ const Ge = (on = Z.embedded) == null ? void 0 : on.embeddableRef;
17884
+ if (!Ge) return;
17885
+ const nt = (st = e.state.logical.entities.find((Ze) => Ze.modelId === Ge)) == null ? void 0 : st.attributes.flatMap((Ze) => Ze.dbAttrs)[ue];
17886
17886
  return nt ? { physicalName: nt.physicalName, dataType: nt.dataType, length: nt.length, scale: nt.scale, logicalName: nt.logicalName } : void 0;
17887
17887
  }
17888
17888
  function Pe(Z, ue) {
17889
- var Ke, nt;
17890
- return ((Ke = Ee(Z, ue)) == null ? void 0 : Ke.dataType) || ((nt = Z.dbAttrs[ue]) == null ? void 0 : nt.dataType) || "";
17889
+ var Ge, nt;
17890
+ return ((Ge = Ee(Z, ue)) == null ? void 0 : Ge.dataType) || ((nt = Z.dbAttrs[ue]) == null ? void 0 : nt.dataType) || "";
17891
17891
  }
17892
17892
  function We(Z, ue) {
17893
- var Ke, nt;
17894
- return ((Ke = Ee(Z, ue)) == null ? void 0 : Ke.length) ?? ((nt = Z.dbAttrs[ue]) == null ? void 0 : nt.length);
17893
+ var Ge, nt;
17894
+ return ((Ge = Ee(Z, ue)) == null ? void 0 : Ge.length) ?? ((nt = Z.dbAttrs[ue]) == null ? void 0 : nt.length);
17895
17895
  }
17896
17896
  function ze(Z, ue) {
17897
- var Ke, nt;
17898
- return ((Ke = Ee(Z, ue)) == null ? void 0 : Ke.scale) ?? ((nt = Z.dbAttrs[ue]) == null ? void 0 : nt.scale);
17897
+ var Ge, nt;
17898
+ return ((Ge = Ee(Z, ue)) == null ? void 0 : Ge.scale) ?? ((nt = Z.dbAttrs[ue]) == null ? void 0 : nt.scale);
17899
17899
  }
17900
17900
  function ht(Z) {
17901
17901
  return e.t(xe(Z) ? "em.attr.fkFixedHint" : "em.attr.embedFixedHint");
@@ -17907,8 +17907,8 @@ function $y(e, t) {
17907
17907
  function me(Z) {
17908
17908
  return (Z == null ? void 0 : Z.updatable) === void 0 ? "inherit" : Z.updatable ? "true" : "false";
17909
17909
  }
17910
- function Me(Z, ue, Ke) {
17911
- se(Z, ue, { updatable: Ke === "inherit" ? void 0 : Ke === "true" });
17910
+ function Me(Z, ue, Ge) {
17911
+ se(Z, ue, { updatable: Ge === "inherit" ? void 0 : Ge === "true" });
17912
17912
  }
17913
17913
  function fe(Z, ue) {
17914
17914
  M(Z, { updatable: ue === "inherit" ? void 0 : ue === "true" });
@@ -17920,8 +17920,8 @@ function $y(e, t) {
17920
17920
  function pt(Z) {
17921
17921
  return (Z == null ? void 0 : Z.notNull) === void 0 || (Z == null ? void 0 : Z.notNull) === null ? "inherit" : Z.notNull ? "true" : "false";
17922
17922
  }
17923
- function Mt(Z, ue, Ke) {
17924
- se(Z, ue, { notNull: Ke === "inherit" ? void 0 : Ke === "true" });
17923
+ function Mt(Z, ue, Ge) {
17924
+ se(Z, ue, { notNull: Ge === "inherit" ? void 0 : Ge === "true" });
17925
17925
  }
17926
17926
  const Vt = kl;
17927
17927
  function rt(Z) {
@@ -17930,8 +17930,8 @@ function $y(e, t) {
17930
17930
  function Zt(Z) {
17931
17931
  return (Z == null ? void 0 : Z.insertable) === void 0 ? "inherit" : Z.insertable ? "true" : "false";
17932
17932
  }
17933
- function gt(Z, ue, Ke) {
17934
- se(Z, ue, { insertable: Ke === "inherit" ? void 0 : Ke === "true" });
17933
+ function gt(Z, ue, Ge) {
17934
+ se(Z, ue, { insertable: Ge === "inherit" ? void 0 : Ge === "true" });
17935
17935
  }
17936
17936
  function pn(Z, ue) {
17937
17937
  M(Z, { insertable: ue === "inherit" ? void 0 : ue === "true" });
@@ -17943,29 +17943,29 @@ function $y(e, t) {
17943
17943
  ), Ft = U(
17944
17944
  () => Kt.value.flatMap(
17945
17945
  (Z) => Z.attributes.filter((ue) => ue.attrType === "NORMAL" && ue.dbAttrs.length === 1 && ue.dbAttrs[0]).map((ue) => {
17946
- var Ke;
17946
+ var Ge;
17947
17947
  return {
17948
17948
  modelId: ue.dbAttrs[0].modelId,
17949
17949
  physical: ue.dbAttrs[0].physicalName || ue.name,
17950
17950
  // Currency 타입 컬럼은 통화 writer로 우대(상단 정렬 + 마커) — Q2 옵션3.
17951
17951
  isCurrency: ue.type === "Currency",
17952
17952
  // owner(다른 엔터티)에서 온 크로스 스코프 후보는 엔터티명으로 구분.
17953
- ownerName: Z.modelId === ((Ke = n.value) == null ? void 0 : Ke.modelId) ? void 0 : Z.name
17953
+ ownerName: Z.modelId === ((Ge = n.value) == null ? void 0 : Ge.modelId) ? void 0 : Z.name
17954
17954
  };
17955
17955
  })
17956
17956
  )
17957
17957
  );
17958
17958
  function Qt() {
17959
- const Z = [...Ft.value].sort((ue, Ke) => Number(Ke.isCurrency) - Number(ue.isCurrency));
17959
+ const Z = [...Ft.value].sort((ue, Ge) => Number(Ge.isCurrency) - Number(ue.isCurrency));
17960
17960
  return [vs, ...Z.map((ue) => ue.modelId)];
17961
17961
  }
17962
17962
  function to(Z) {
17963
17963
  if (Z === vs) return e.t("em.attr.sharedOwn");
17964
17964
  const ue = Ft.value.find((nt) => nt.modelId === Z);
17965
17965
  if (!ue) return Z;
17966
- const Ke = ue.ownerName ? `${ue.ownerName}.` : "";
17966
+ const Ge = ue.ownerName ? `${ue.ownerName}.` : "";
17967
17967
  return e.t("em.attr.sharedRef", {
17968
- owner: Ke,
17968
+ owner: Ge,
17969
17969
  physical: ue.physical,
17970
17970
  mode: ue.isCurrency ? e.t("em.attr.currencyMode") : e.t("em.attr.sharedMode")
17971
17971
  });
@@ -17973,8 +17973,8 @@ function $y(e, t) {
17973
17973
  function Pt(Z) {
17974
17974
  return (Z == null ? void 0 : Z.sharedColumnRef) ?? vs;
17975
17975
  }
17976
- function Je(Z, ue, Ke) {
17977
- se(Z, ue, { sharedColumnRef: Ke === vs ? void 0 : Ke });
17976
+ function Je(Z, ue, Ge) {
17977
+ se(Z, ue, { sharedColumnRef: Ge === vs ? void 0 : Ge });
17978
17978
  }
17979
17979
  function Q(Z) {
17980
17980
  return (Z == null ? void 0 : Z.sharedColumnRef) != null;
@@ -18362,6 +18362,7 @@ const RR = {
18362
18362
  "em.conflict.missingDetail": "Your changes could not be saved (server or network error). Reload the latest content.",
18363
18363
  "em.conflict.changedDetail": "This diagram was changed elsewhere, so editing is locked. Reload the latest content.",
18364
18364
  "em.conflict.commandFailedDetail": "The edit could not be processed, so what you see is out of sync. Your saved content is unaffected — reload the latest content.",
18365
+ "em.conflict.reloadingDetail": "Reloading the latest content. Please wait.",
18365
18366
  "em.ctx.addEntity": "Add entity",
18366
18367
  "em.ctx.addNote": "Add note",
18367
18368
  "em.ctx.addGroup": "Add group",
@@ -18822,6 +18823,7 @@ const RR = {
18822
18823
  "em.conflict.missingDetail": "変更を保存できませんでした(サーバーまたはネットワークエラー)。最新の内容を再読み込みしてください。",
18823
18824
  "em.conflict.changedDetail": "他の場所で変更されたため、編集がロックされました。最新の内容を再読み込みしてください。",
18824
18825
  "em.conflict.commandFailedDetail": "編集を処理できず、表示内容が食い違っています。保存済みの内容はそのままです。最新の内容を再読み込みしてください。",
18826
+ "em.conflict.reloadingDetail": "最新の内容を再読み込みしています。しばらくお待ちください。",
18825
18827
  "em.ctx.addEntity": "エンティティ追加",
18826
18828
  "em.ctx.addNote": "ノート追加",
18827
18829
  "em.ctx.addGroup": "グループ追加",
@@ -19312,6 +19314,10 @@ const RR = {
19312
19314
  // 로컬 명령 적용 실패(commandFailure) — 서버 축이 아니라 화면 상태가 어긋난 경우. 저장되지 않았음을
19313
19315
  // 먼저 알리는 이유: 사용자가 화면상 반영된 것으로 보고 작업을 이어가면 어긋난 전제 위에서 돌기 때문.
19314
19316
  "em.conflict.commandFailedDetail": "편집을 처리하지 못해 화면 내용이 어긋났습니다. 저장된 내용은 그대로이니 최신 내용을 다시 불러오세요.",
19317
+ // 호스트가 «이미» 재적재 중일 때 위 셋의 detail 을 대체한다 — 위 문구는 사용자에게 행동을 요구하는데
19318
+ // 자동 복구 경로(rev·layout·commandFailure)에서는 누를 것도 할 일도 없어 지시가 어긋난다.
19319
+ // 미배선 임베더는 이 신호가 없으므로(기본 false) 위 문구가 그대로 맞다.
19320
+ "em.conflict.reloadingDetail": "최신 내용을 다시 불러오는 중입니다. 잠시만 기다려 주세요.",
19315
19321
  // 컨텍스트 메뉴(caption). '색상'=em.common.color, 모두 접기/펼치기=em.panel.*, 잠금 해제=em.panel.unlock, 펼치기/접기=em.panel.* 재사용.
19316
19322
  "em.ctx.addEntity": "엔티티 추가",
19317
19323
  "em.ctx.addNote": "노트 추가",
@@ -19497,7 +19503,7 @@ const RR = {
19497
19503
  "em.check.dsn7": '인덱스 "{name}"에 같은 컬럼이 두 번 이상 들어 있습니다 — 뒤의 중복 항목은 의미가 없습니다',
19498
19504
  // 빈 type/dataType 표시 폴백(CHK-TYPE-4 등에서 뷰가 빈 param을 이 문구로 치환)
19499
19505
  "em.check.unspecified": "미지정"
19500
- }, kB = ["ko", "en", "ja"], El = { ko: $R, en: RR, ja: AR };
19506
+ }, NB = ["ko", "en", "ja"], El = { ko: $R, en: RR, ja: AR };
19501
19507
  function Qn(e, t, n) {
19502
19508
  let i = (El[e] ?? El.ko)[t] ?? El.ko[t] ?? t;
19503
19509
  return n && (i = i.replace(/\{(\w+)\}/g, (a, s) => s in n ? String(n[s]) : a)), i;
@@ -19533,7 +19539,7 @@ const TR = ["aria-expanded", "placeholder"], MR = ["aria-selected", "onClick", "
19533
19539
  },
19534
19540
  emits: ["update:modelValue"],
19535
19541
  setup(e, { emit: t }) {
19536
- const n = e, o = t, i = (O, F) => Qn(n.locale ?? "ko", O, F), a = he(), s = he(), r = he(), l = he(""), d = he(!1), c = he(-1), u = he({}), f = U(() => n.items.find((O) => O.groupCode === n.modelValue)), p = U(() => f.value ? Nl(f.value) : "");
19542
+ const n = e, o = t, i = (O, F) => Qn(n.locale ?? "ko", O, F), a = pe(), s = pe(), r = pe(), l = pe(""), d = pe(!1), c = pe(-1), u = pe({}), f = U(() => n.items.find((O) => O.groupCode === n.modelValue)), p = U(() => f.value ? Nl(f.value) : "");
19537
19543
  at(p, (O) => {
19538
19544
  d.value || (l.value = O);
19539
19545
  }, { immediate: !0 });
@@ -19605,7 +19611,7 @@ const TR = ["aria-expanded", "placeholder"], MR = ["aria-selected", "onClick", "
19605
19611
  }, null, 40, TR), [
19606
19612
  [po, l.value]
19607
19613
  ]),
19608
- (x(), Ye(gr, { to: "body" }, [
19614
+ (x(), Ke(gr, { to: "body" }, [
19609
19615
  d.value ? (x(), L("ul", {
19610
19616
  key: 0,
19611
19617
  ref_key: "popup",
@@ -19620,7 +19626,7 @@ const TR = ["aria-expanded", "placeholder"], MR = ["aria-selected", "onClick", "
19620
19626
  }, ["prevent"])),
19621
19627
  onClick: N
19622
19628
  }, X(i("em.common.noneParen")), 33),
19623
- (x(!0), L(Ie, null, Ge(y.value, (j, H) => (x(), L("li", {
19629
+ (x(!0), L(Ie, null, Ye(y.value, (j, H) => (x(), L("li", {
19624
19630
  key: j.groupCode,
19625
19631
  class: Ae(["gcc__opt", { "is-active": H === c.value, "is-selected": j.groupCode === e.modelValue }]),
19626
19632
  role: "option",
@@ -19652,7 +19658,7 @@ const TR = ["aria-expanded", "placeholder"], MR = ["aria-selected", "onClick", "
19652
19658
  s.includes(r) ? n.modelValue !== r && o("update:modelValue", r) : s.includes(n.modelValue) || o("update:modelValue", s[0] ?? "ko");
19653
19659
  }
19654
19660
  );
19655
- const i = he(null);
19661
+ const i = pe(null);
19656
19662
  async function a(s) {
19657
19663
  var d, c;
19658
19664
  const r = n.languages, l = r[(r.indexOf(n.modelValue) + s + r.length) % r.length];
@@ -19665,7 +19671,7 @@ const TR = ["aria-expanded", "placeholder"], MR = ["aria-selected", "onClick", "
19665
19671
  role: "radiogroup",
19666
19672
  "aria-labelledby": e.labelledBy
19667
19673
  }, [
19668
- (x(!0), L(Ie, null, Ge(e.languages, (l) => (x(), L("span", {
19674
+ (x(!0), L(Ie, null, Ye(e.languages, (l) => (x(), L("span", {
19669
19675
  key: l,
19670
19676
  class: Ae(["em-langsel__opt", { "is-active": e.modelValue === l }]),
19671
19677
  role: "radio",
@@ -19798,7 +19804,7 @@ const TR = ["aria-expanded", "placeholder"], MR = ["aria-selected", "onClick", "
19798
19804
  ), pn = U(() => {
19799
19805
  var Pt;
19800
19806
  return (((Pt = o.value) == null ? void 0 : Pt.attributes) ?? []).filter((Je) => Je.attrType !== "DIVIDER").length;
19801
- }), Kt = he(/* @__PURE__ */ new Set());
19807
+ }), Kt = pe(/* @__PURE__ */ new Set());
19802
19808
  function Ot(Pt) {
19803
19809
  return Kt.value.has(Pt);
19804
19810
  }
@@ -19806,7 +19812,7 @@ const TR = ["aria-expanded", "placeholder"], MR = ["aria-selected", "onClick", "
19806
19812
  const Je = new Set(Kt.value);
19807
19813
  Je.has(Pt) ? Je.delete(Pt) : Je.add(Pt), Kt.value = Je;
19808
19814
  }
19809
- const Qt = he(n.userLanguage.value);
19815
+ const Qt = pe(n.userLanguage.value);
19810
19816
  function to(Pt) {
19811
19817
  !Pt || !o.value || n.addPredefinedEmbed(o.value.modelId, Pt);
19812
19818
  }
@@ -19827,7 +19833,7 @@ const TR = ["aria-expanded", "placeholder"], MR = ["aria-selected", "onClick", "
19827
19833
  caption: m(n).t("em.attr.addDivider"),
19828
19834
  onClick: Je[1] || (Je[1] = (Q) => m(n).addDivider(m(o).modelId))
19829
19835
  }, null, 8, ["caption"]),
19830
- m(ce).length ? (x(), Ye(m(ft), {
19836
+ m(ce).length ? (x(), Ke(m(ft), {
19831
19837
  key: 0,
19832
19838
  width: "140px",
19833
19839
  placeholder: m(n).t("em.attr.addEmbeddable"),
@@ -19865,8 +19871,8 @@ const TR = ["aria-expanded", "placeholder"], MR = ["aria-selected", "onClick", "
19865
19871
  ])
19866
19872
  ]),
19867
19873
  $("tbody", null, [
19868
- (x(!0), L(Ie, null, Ge(gt.value, (Q) => {
19869
- var _n, Z, ue, Ke, nt, jt, on, st, Ze;
19874
+ (x(!0), L(Ie, null, Ye(gt.value, (Q) => {
19875
+ var _n, Z, ue, Ge, nt, jt, on, st, Ze;
19870
19876
  return x(), L(Ie, {
19871
19877
  key: Q.modelId
19872
19878
  }, [
@@ -20007,8 +20013,8 @@ const TR = ["aria-expanded", "placeholder"], MR = ["aria-selected", "onClick", "
20007
20013
  ])
20008
20014
  ])
20009
20015
  ], 2)) : de("", !0),
20010
- (x(!0), L(Ie, null, Ge(Q.dbAttrs, (k, Y) => {
20011
- var pe, Re, Ve, qe, tt;
20016
+ (x(!0), L(Ie, null, Ye(Q.dbAttrs, (k, Y) => {
20017
+ var he, Re, Ve, qe, tt;
20012
20018
  return x(), L(Ie, {
20013
20019
  key: k.modelId
20014
20020
  }, [
@@ -20034,7 +20040,7 @@ const TR = ["aria-expanded", "placeholder"], MR = ["aria-selected", "onClick", "
20034
20040
  })
20035
20041
  ], 42, PA)
20036
20042
  ]),
20037
- $("td", DA, "↳ " + X(((pe = m(xe)(Q, Y)) == null ? void 0 : pe.name) ?? ((Re = m(xe)(Q, Y)) == null ? void 0 : Re.physicalName) ?? m(n).t("em.attr.colFallback", { n: Y + 1 })), 1),
20043
+ $("td", DA, "↳ " + X(((he = m(xe)(Q, Y)) == null ? void 0 : he.name) ?? ((Re = m(xe)(Q, Y)) == null ? void 0 : Re.physicalName) ?? m(n).t("em.attr.colFallback", { n: Y + 1 })), 1),
20038
20044
  Je[16] || (Je[16] = $("td", null, null, -1)),
20039
20045
  $("td", null, [
20040
20046
  q(An, {
@@ -20176,7 +20182,7 @@ const TR = ["aria-expanded", "placeholder"], MR = ["aria-selected", "onClick", "
20176
20182
  "model-value": Q.type,
20177
20183
  "onUpdate:modelValue": (k) => m(M)(Q, k)
20178
20184
  }, null, 8, ["name", "placeholder", "disabled", "items", "value-provider", "label-provider", "model-value", "onUpdate:modelValue"]),
20179
- Q.type === m(Io) && !m(z)(Q) ? (x(), Ye(m(vt), {
20185
+ Q.type === m(Io) && !m(z)(Q) ? (x(), Ke(m(vt), {
20180
20186
  key: 0,
20181
20187
  name: `aw-customtype-${Q.modelId}`,
20182
20188
  width: "100%",
@@ -20186,7 +20192,7 @@ const TR = ["aria-expanded", "placeholder"], MR = ["aria-selected", "onClick", "
20186
20192
  }, null, 8, ["name", "placeholder", "model-value", "onUpdate:modelValue"])) : de("", !0)
20187
20193
  ], 8, eA),
20188
20194
  $("td", null, [
20189
- Q.attrType !== "RELATION_REF" ? (x(), Ye(An, {
20195
+ Q.attrType !== "RELATION_REF" ? (x(), Ke(An, {
20190
20196
  key: 0,
20191
20197
  name: `aw-logical-${Q.modelId}`,
20192
20198
  languages: m(n).languages.value,
@@ -20235,7 +20241,7 @@ const TR = ["aria-expanded", "placeholder"], MR = ["aria-selected", "onClick", "
20235
20241
  items: m(uf)(((ue = Q.dbAttrs[0]) == null ? void 0 : ue.dataType) ?? "", m(n).selectableDataTypes.value),
20236
20242
  "value-provider": m(d),
20237
20243
  "label-provider": m(Cd),
20238
- "model-value": ((Ke = Q.dbAttrs[0]) == null ? void 0 : Ke.dataType) ?? "",
20244
+ "model-value": ((Ge = Q.dbAttrs[0]) == null ? void 0 : Ge.dataType) ?? "",
20239
20245
  "onUpdate:modelValue": (k) => k && m(K)(Q, { dataType: k })
20240
20246
  }, null, 8, ["name", "disabled", "items", "value-provider", "label-provider", "model-value", "onUpdate:modelValue"])
20241
20247
  ], 8, oA)),
@@ -20420,7 +20426,7 @@ const TR = ["aria-expanded", "placeholder"], MR = ["aria-selected", "onClick", "
20420
20426
  ])) : de("", !0),
20421
20427
  $("label", wA, [
20422
20428
  $("span", null, X(m(n).t("em.attr.defaultValue")), 1),
20423
- m(Oe)(Q).length ? (x(), Ye(m(ft), {
20429
+ m(Oe)(Q).length ? (x(), Ke(m(ft), {
20424
20430
  key: 0,
20425
20431
  width: "150px",
20426
20432
  "model-value": Q.defaultValue ?? "none",
@@ -20428,7 +20434,7 @@ const TR = ["aria-expanded", "placeholder"], MR = ["aria-selected", "onClick", "
20428
20434
  "value-provider": m(we),
20429
20435
  "label-provider": m(ke),
20430
20436
  "onUpdate:modelValue": (k) => k && m(V)(Q, k)
20431
- }, null, 8, ["model-value", "items", "value-provider", "label-provider", "onUpdate:modelValue"])) : (x(), Ye(m(vt), {
20437
+ }, null, 8, ["model-value", "items", "value-provider", "label-provider", "onUpdate:modelValue"])) : (x(), Ke(m(vt), {
20432
20438
  key: 1,
20433
20439
  name: `aw-default-${Q.modelId}`,
20434
20440
  width: "150px",
@@ -20535,7 +20541,7 @@ const i$ = ["disabled"], a$ = { class: "em-idxw__list" }, s$ = { class: "em-idxw
20535
20541
  }), a = U(() => {
20536
20542
  var z;
20537
20543
  return ((z = o.value) == null ? void 0 : z.attributes) ?? [];
20538
- }), s = he(null), r = he(null);
20544
+ }), s = pe(null), r = pe(null);
20539
20545
  at(
20540
20546
  i,
20541
20547
  (z) => {
@@ -20572,7 +20578,7 @@ const i$ = ["disabled"], a$ = { class: "em-idxw__list" }, s$ = { class: "em-idxw
20572
20578
  // 상속 컬럼 ref(`inherited:<Base>:<field>`)는 속성이 아니라 canonMap 에 없다 → canon 이 항등이지만
20573
20579
  // 위 분기와 같은 형태로 둔다(한쪽만 정규화하는 형태가 다시 새는 것이 이 회귀의 원인이었다).
20574
20580
  ...d.value.filter((z) => !f.value.has(u(z.modelId))).map((z) => ({ ref: z.modelId, label: y(z), inherited: !0 }))
20575
- ]), b = he(/* @__PURE__ */ new Set());
20581
+ ]), b = pe(/* @__PURE__ */ new Set());
20576
20582
  at(r, () => b.value = /* @__PURE__ */ new Set());
20577
20583
  function _(z) {
20578
20584
  return Zi(z);
@@ -20649,7 +20655,7 @@ const i$ = ["disabled"], a$ = { class: "em-idxw__list" }, s$ = { class: "em-idxw
20649
20655
  role: "group",
20650
20656
  "aria-label": m(n).t("em.index.section", { n: i.value.length })
20651
20657
  }, [
20652
- (x(!0), L(Ie, null, Ge(i.value, (A) => (x(), L("li", {
20658
+ (x(!0), L(Ie, null, Ye(i.value, (A) => (x(), L("li", {
20653
20659
  key: A.modelId,
20654
20660
  class: Ae(["em-idxw__item", { "is-active": A.modelId === r.value }]),
20655
20661
  role: "button",
@@ -20715,7 +20721,7 @@ const i$ = ["disabled"], a$ = { class: "em-idxw__list" }, s$ = { class: "em-idxw
20715
20721
  role: "group",
20716
20722
  "aria-label": m(n).t("em.index.availColumns", { n: g.value.length })
20717
20723
  }, [
20718
- (x(!0), L(Ie, null, Ge(g.value, (A) => (x(), L("li", {
20724
+ (x(!0), L(Ie, null, Ye(g.value, (A) => (x(), L("li", {
20719
20725
  key: A.ref,
20720
20726
  class: Ae(["em-idxw__col", { "is-sel": b.value.has(A.ref) }]),
20721
20727
  role: "button",
@@ -20751,7 +20757,7 @@ const i$ = ["disabled"], a$ = { class: "em-idxw__list" }, s$ = { class: "em-idxw
20751
20757
  ref: s,
20752
20758
  class: "em-idxw__cols"
20753
20759
  }, [
20754
- (x(!0), L(Ie, null, Ge(l.value.columns, (A, E) => (x(), L("li", {
20760
+ (x(!0), L(Ie, null, Ye(l.value.columns, (A, E) => (x(), L("li", {
20755
20761
  key: E,
20756
20762
  class: "em-idxw__col em-idxw__col--idx"
20757
20763
  }, [
@@ -20811,11 +20817,11 @@ const i$ = ["disabled"], a$ = { class: "em-idxw__list" }, s$ = { class: "em-idxw
20811
20817
  locale: {}
20812
20818
  },
20813
20819
  setup(e) {
20814
- const t = e, n = za(), o = (s, r) => Qn(t.locale ?? "ko", s, r), i = he(t.sourceCode);
20820
+ const t = e, n = za(), o = (s, r) => Qn(t.locale ?? "ko", s, r), i = pe(t.sourceCode);
20815
20821
  function a() {
20816
20822
  t.onSave(i.value), n.close();
20817
20823
  }
20818
- return (s, r) => (x(), Ye(m(Ua), {
20824
+ return (s, r) => (x(), Ke(m(Ua), {
20819
20825
  title: o("em.opSource.title", { name: t.operationName })
20820
20826
  }, {
20821
20827
  default: dt(() => [
@@ -20859,7 +20865,7 @@ const i$ = ["disabled"], a$ = { class: "em-idxw__list" }, s$ = { class: "em-idxw
20859
20865
  var g;
20860
20866
  return [...((g = i.value) == null ? void 0 : g.operations) ?? []].sort((b, _) => b.order - _.order);
20861
20867
  }
20862
- ), s = he(n.userLanguage.value), r = ["PUBLIC", "PROTECTED", "PACKAGE", "PRIVATE"], l = [
20868
+ ), s = pe(n.userLanguage.value), r = ["PUBLIC", "PROTECTED", "PACKAGE", "PRIVATE"], l = [
20863
20869
  "none",
20864
20870
  "PASSWORD",
20865
20871
  "SOCIAL_SECURITY_NO",
@@ -20944,7 +20950,7 @@ const i$ = ["disabled"], a$ = { class: "em-idxw__list" }, s$ = { class: "em-idxw
20944
20950
  ])
20945
20951
  ]),
20946
20952
  $("tbody", null, [
20947
- (x(!0), L(Ie, null, Ge(a.value, (C) => (x(), L("tr", {
20953
+ (x(!0), L(Ie, null, Ye(a.value, (C) => (x(), L("tr", {
20948
20954
  key: C.modelId
20949
20955
  }, [
20950
20956
  $("td", null, [
@@ -21032,10 +21038,10 @@ const i$ = ["disabled"], a$ = { class: "em-idxw__list" }, s$ = { class: "em-idxw
21032
21038
  { key: "columns", labelKey: "em.detail.tabColumns" },
21033
21039
  { key: "indexes", labelKey: "em.detail.tabIndexes" },
21034
21040
  { key: "operations", labelKey: "em.detail.tabOperations" }
21035
- ], r = he("basics");
21041
+ ], r = pe("basics");
21036
21042
  return (l, d) => {
21037
21043
  var c;
21038
- return x(), Ye(m(Ua), {
21044
+ return x(), Ke(m(Ua), {
21039
21045
  title: m(n).t("em.detail.title", { name: ((c = a.value) == null ? void 0 : c.name) ?? "" })
21040
21046
  }, {
21041
21047
  default: dt(() => [
@@ -21044,7 +21050,7 @@ const i$ = ["disabled"], a$ = { class: "em-idxw__list" }, s$ = { class: "em-idxw
21044
21050
  class: Ae(["em-detail", { "is-maximized": m(o).maximized }])
21045
21051
  }, [
21046
21052
  $("nav", ox, [
21047
- (x(), L(Ie, null, Ge(s, (u) => $("button", {
21053
+ (x(), L(Ie, null, Ye(s, (u) => $("button", {
21048
21054
  key: u.key,
21049
21055
  type: "button",
21050
21056
  class: Ae(["em-detail__tab", { "is-active": r.value === u.key }]),
@@ -21073,15 +21079,15 @@ const i$ = ["disabled"], a$ = { class: "em-idxw__list" }, s$ = { class: "em-idxw
21073
21079
  controller: m(n),
21074
21080
  "entity-id": a.value.modelId
21075
21081
  }, null, 8, ["controller", "entity-id"])
21076
- ])) : r.value === "columns" ? (x(), Ye(n$, {
21082
+ ])) : r.value === "columns" ? (x(), Ke(n$, {
21077
21083
  key: 1,
21078
21084
  controller: m(n),
21079
21085
  "entity-id": a.value.modelId
21080
- }, null, 8, ["controller", "entity-id"])) : r.value === "indexes" ? (x(), Ye(D$, {
21086
+ }, null, 8, ["controller", "entity-id"])) : r.value === "indexes" ? (x(), Ke(D$, {
21081
21087
  key: 2,
21082
21088
  controller: m(n),
21083
21089
  "entity-id": a.value.modelId
21084
- }, null, 8, ["controller", "entity-id"])) : (x(), Ye(nx, {
21090
+ }, null, 8, ["controller", "entity-id"])) : (x(), Ke(nx, {
21085
21091
  key: 3,
21086
21092
  controller: m(n),
21087
21093
  "entity-id": a.value.modelId
@@ -21923,32 +21929,32 @@ function gx(e) {
21923
21929
  function d() {
21924
21930
  l == null || l(), l = null, r = null;
21925
21931
  }
21926
- function c(v, g) {
21932
+ function c(g, b) {
21927
21933
  if (d(), !n.value || !e.opTransport) return;
21928
- const b = new F_({
21934
+ const _ = new F_({
21929
21935
  diagramId: t.layout.diagramId,
21930
21936
  state: t,
21931
21937
  transport: e.opTransport,
21932
21938
  origin: "gui",
21933
- onFreeze: (_) => {
21934
- o.value = !1, i.value = _;
21939
+ onFreeze: (h) => {
21940
+ o.value = !1, i.value = h;
21935
21941
  },
21936
21942
  onError: e.onOpError
21937
21943
  });
21938
- b.seed((g == null ? void 0 : g.revSeed) ?? {}), l = b.attach(v), r = b;
21944
+ _.seed((b == null ? void 0 : b.revSeed) ?? {}), l = _.attach(g), r = _;
21939
21945
  }
21940
- const u = U(() => n.value && a !== void 0), f = he(0), p = U(
21946
+ const u = U(() => n.value && a !== void 0), f = pe(0), p = pe(!1), y = U(
21941
21947
  () => n.value && o.value && s !== void 0
21942
21948
  );
21943
- async function y(v) {
21949
+ async function v(g) {
21944
21950
  if (!s || !o.value) return { ok: !1, reason: "unavailable" };
21945
- let g;
21951
+ let b;
21946
21952
  try {
21947
- g = await s(v);
21948
- } catch (b) {
21949
- return { ok: !1, reason: b instanceof Error ? b.message : String(b) };
21953
+ b = await s(g);
21954
+ } catch (_) {
21955
+ return { ok: !1, reason: _ instanceof Error ? _.message : String(_) };
21950
21956
  }
21951
- return g.ok && f.value++, g;
21957
+ return b.ok && f.value++, b;
21952
21958
  }
21953
21959
  return {
21954
21960
  setupOpAdapter: c,
@@ -21962,9 +21968,10 @@ function gx(e) {
21962
21968
  historyTransport: a,
21963
21969
  historyAvailable: u,
21964
21970
  restoreTransport: s,
21965
- restoreAvailable: p,
21966
- restoreToSeq: y,
21967
- reloadRequest: f
21971
+ restoreAvailable: y,
21972
+ restoreToSeq: v,
21973
+ reloadRequest: f,
21974
+ reloadInFlight: p
21968
21975
  };
21969
21976
  }
21970
21977
  function bx(e) {
@@ -22138,11 +22145,11 @@ function wx(e = "m1", t = "d1") {
22138
22145
  }
22139
22146
  };
22140
22147
  }
22141
- function EB(e = wx(), t = {}) {
22148
+ function CB(e = wx(), t = {}) {
22142
22149
  var Bt, me, Me;
22143
22150
  const n = vd(e);
22144
22151
  let o = new qc(n);
22145
- const i = he(t.embeddableCatalog ?? []), a = he(t.groupCodeCatalog ?? []), s = he(t.predefinedCustomTypeCatalog ?? []), r = he(t.superClassCatalog ?? []), l = he(t.languages ?? ["ko", "en", "ja", "zh"]), d = he(t.userLanguage ?? "ko"), c = he(t.projectLanguage), u = he(t.uiLocale ?? "ko"), f = (fe, be) => Qn(u.value, fe, be), p = he(t.reservedWords), y = he(t.selectableDataTypes), v = he(t.largeEntityThreshold), g = he(t.flagEntitiesWithoutRelations ?? !1), b = he(!1), _ = he(!1), h = he(!1), C = he(0), N = he(null);
22152
+ const i = pe(t.embeddableCatalog ?? []), a = pe(t.groupCodeCatalog ?? []), s = pe(t.predefinedCustomTypeCatalog ?? []), r = pe(t.superClassCatalog ?? []), l = pe(t.languages ?? ["ko", "en", "ja", "zh"]), d = pe(t.userLanguage ?? "ko"), c = pe(t.projectLanguage), u = pe(t.uiLocale ?? "ko"), f = (fe, be) => Qn(u.value, fe, be), p = pe(t.reservedWords), y = pe(t.selectableDataTypes), v = pe(t.largeEntityThreshold), g = pe(t.flagEntitiesWithoutRelations ?? !1), b = pe(!1), _ = pe(!1), h = pe(!1), C = pe(0), N = pe(null);
22146
22153
  let R = 0;
22147
22154
  const I = (fe) => {
22148
22155
  if (t.onNotice) {
@@ -22150,7 +22157,7 @@ function EB(e = wx(), t = {}) {
22150
22157
  return;
22151
22158
  }
22152
22159
  N.value = { text: fe, id: ++R };
22153
- }, S = he(((Bt = t.meta) == null ? void 0 : Bt.schemaVersion) ?? 1), O = he(((me = t.meta) == null ? void 0 : me.opWriteEnabled) ?? !1), F = he(((Me = t.meta) == null ? void 0 : Me.referenceOnly) ?? !1), j = U(() => S.value >= 2 && O.value), H = he(!(S.value >= 2 && O.value === !1)), z = he("LOGICAL_PHYSICAL"), w = he("straight"), A = he(!0), E = he(!0), T = he(null), M = U(
22160
+ }, S = pe(((Bt = t.meta) == null ? void 0 : Bt.schemaVersion) ?? 1), O = pe(((me = t.meta) == null ? void 0 : me.opWriteEnabled) ?? !1), F = pe(((Me = t.meta) == null ? void 0 : Me.referenceOnly) ?? !1), j = U(() => S.value >= 2 && O.value), H = pe(!(S.value >= 2 && O.value === !1)), z = pe("LOGICAL_PHYSICAL"), w = pe("straight"), A = pe(!0), E = pe(!0), T = pe(null), M = U(
22154
22161
  () => {
22155
22162
  var fe;
22156
22163
  return ((fe = T.value) == null ? void 0 : fe.kind) === "attribute" ? { entityId: T.value.entityId, attrId: T.value.anchor } : null;
@@ -22165,7 +22172,7 @@ function EB(e = wx(), t = {}) {
22165
22172
  var fe, be;
22166
22173
  return ((fe = T.value) == null ? void 0 : fe.kind) === "entity" ? T.value.id : ((be = T.value) == null ? void 0 : be.kind) === "attribute" ? T.value.entityId : null;
22167
22174
  }
22168
- ), B = he(null), W = he(null), oe = he(null), te = he(null), le = gx({
22175
+ ), B = pe(null), W = pe(null), oe = pe(null), te = pe(null), le = gx({
22169
22176
  state: n,
22170
22177
  opMode: j,
22171
22178
  editable: H,
@@ -22313,6 +22320,7 @@ function EB(e = wx(), t = {}) {
22313
22320
  restoreAvailable: le.restoreAvailable,
22314
22321
  restoreToSeq: le.restoreToSeq,
22315
22322
  reloadRequest: le.reloadRequest,
22323
+ reloadInFlight: le.reloadInFlight,
22316
22324
  displayMode: z,
22317
22325
  routingMode: w,
22318
22326
  showGrid: A,
@@ -22387,7 +22395,7 @@ function EB(e = wx(), t = {}) {
22387
22395
  H.value && (le.flush(), o.markSavePoint());
22388
22396
  },
22389
22397
  loadDiagram(fe, be) {
22390
- le.teardownOpAdapter(), n.logical = fe.logical, n.layout = fe.layout, o = new qc(n), ve(), S.value = (be == null ? void 0 : be.schemaVersion) ?? 1, O.value = (be == null ? void 0 : be.opWriteEnabled) ?? !1, F.value = (be == null ? void 0 : be.referenceOnly) ?? !1, H.value = !(S.value >= 2 && O.value === !1), oe.value = null, te.value = null, T.value = null, b.value = o.canUndo, _.value = o.canRedo, h.value = o.isDirty, le.setupOpAdapter(o, be), we();
22398
+ le.teardownOpAdapter(), n.logical = fe.logical, n.layout = fe.layout, o = new qc(n), ve(), S.value = (be == null ? void 0 : be.schemaVersion) ?? 1, O.value = (be == null ? void 0 : be.opWriteEnabled) ?? !1, F.value = (be == null ? void 0 : be.referenceOnly) ?? !1, H.value = !(S.value >= 2 && O.value === !1), oe.value = null, te.value = null, le.reloadInFlight.value = !1, T.value = null, b.value = o.canUndo, _.value = o.canRedo, h.value = o.isDirty, le.setupOpAdapter(o, be), we();
22391
22399
  },
22392
22400
  flush: le.flush,
22393
22401
  whenOpsSettled: le.whenOpsSettled,
@@ -22930,7 +22938,7 @@ const Fy = Symbol("embedSlotCollapse"), im = (e, t) => `${e}:${t}`, Hy = "all:",
22930
22938
  ae(j.value.name, (P = yo(j.value)) == null ? void 0 : P[i.value], ((ee = j.value.table) == null ? void 0 : ee.physicalName) ?? "")
22931
22939
  );
22932
22940
  }
22933
- ), Ot = he(!1), Ft = he(""), Qt = he(null);
22941
+ ), Ot = pe(!1), Ft = pe(""), Qt = pe(null);
22934
22942
  async function to() {
22935
22943
  var P, ee;
22936
22944
  te.value && (Ft.value = j.value.name, Ot.value = !0, await Lt(), (P = Qt.value) == null || P.focus(), (ee = Qt.value) == null || ee.select());
@@ -22947,7 +22955,7 @@ const Fy = Symbol("embedSlotCollapse"), im = (e, t) => `${e}:${t}`, Hy = "all:",
22947
22955
  function Q() {
22948
22956
  n == null || n.addDivider(t.id);
22949
22957
  }
22950
- const { screenToFlowCoordinate: _n, findNode: Z } = Ct(), ue = he(null), Ke = U(() => {
22958
+ const { screenToFlowCoordinate: _n, findNode: Z } = Ct(), ue = pe(null), Ge = U(() => {
22951
22959
  const P = ue.value ?? t.data.size;
22952
22960
  return P ? { width: `${P.width}px`, minHeight: `${P.height}px` } : void 0;
22953
22961
  });
@@ -22978,14 +22986,14 @@ const Fy = Symbol("embedSlotCollapse"), im = (e, t) => `${e}:${t}`, Hy = "all:",
22978
22986
  }
22979
22987
  nt = null, ue.value = null, (He = (Le = P.target).releasePointerCapture) == null || He.call(Le, P.pointerId);
22980
22988
  }
22981
- const Ze = he(null), k = he(null);
22989
+ const Ze = pe(null), k = pe(null);
22982
22990
  function Y(P, ee) {
22983
22991
  if (!te.value) return;
22984
22992
  ee.stopPropagation(), ee.preventDefault();
22985
22993
  const Le = I.value, He = Le.has(P.modelId) ? new Set(Le) : /* @__PURE__ */ new Set([P.modelId]);
22986
22994
  k.value = { ids: He, dropIndex: -1, lineY: 0 }, ee.target.setPointerCapture(ee.pointerId);
22987
22995
  }
22988
- function pe(P) {
22996
+ function he(P) {
22989
22997
  if (!k.value || !Ze.value) return;
22990
22998
  const ee = Array.from(Ze.value.querySelectorAll(".em-entity__row"));
22991
22999
  if (!ee.length) return;
@@ -23009,7 +23017,7 @@ const Fy = Symbol("embedSlotCollapse"), im = (e, t) => `${e}:${t}`, Hy = "all:",
23009
23017
  function Ve() {
23010
23018
  k.value = null;
23011
23019
  }
23012
- const qe = he(null), tt = he(null);
23020
+ const qe = pe(null), tt = pe(null);
23013
23021
  function ot(P, ee) {
23014
23022
  te.value && (ee.stopPropagation(), ee.preventDefault(), tt.value = { id: P.modelId, dropIndex: -1, lineY: 0 }, ee.target.setPointerCapture(ee.pointerId));
23015
23023
  }
@@ -23056,7 +23064,7 @@ const Fy = Symbol("embedSlotCollapse"), im = (e, t) => `${e}:${t}`, Hy = "all:",
23056
23064
  }]),
23057
23065
  tabindex: "-1",
23058
23066
  title: H.value ? o("em.entity.referenceOnlyHint") : void 0,
23059
- style: Nt(Ke.value),
23067
+ style: Nt(Ge.value),
23060
23068
  onPointerdown: g,
23061
23069
  onMouseenter: b,
23062
23070
  onMouseleave: _,
@@ -23073,7 +23081,7 @@ const Fy = Symbol("embedSlotCollapse"), im = (e, t) => `${e}:${t}`, Hy = "all:",
23073
23081
  style: Nt(ye.value),
23074
23082
  onDblclick: Xe(to, ["stop"])
23075
23083
  }, [
23076
- ve.value ? de("", !0) : (x(), L(Ie, { key: 0 }, Ge(ce, (ge) => q(m(Mo), {
23084
+ ve.value ? de("", !0) : (x(), L(Ie, { key: 0 }, Ye(ce, (ge) => q(m(Mo), {
23077
23085
  id: ge.id,
23078
23086
  key: ge.id,
23079
23087
  type: "source",
@@ -23111,7 +23119,7 @@ const Fy = Symbol("embedSlotCollapse"), im = (e, t) => `${e}:${t}`, Hy = "all:",
23111
23119
  }, null, 544)), [
23112
23120
  [po, Ft.value]
23113
23121
  ]) : (x(), L("span", Px, [
23114
- (x(!0), L(Ie, null, Ge(Kt.value, (ge, De) => (x(), L("span", {
23122
+ (x(!0), L(Ie, null, Ye(Kt.value, (ge, De) => (x(), L("span", {
23115
23123
  key: De,
23116
23124
  class: Ae({ "em-entity__missing": ge.missing })
23117
23125
  }, X(ge.text), 3))), 128))
@@ -23135,7 +23143,7 @@ const Fy = Symbol("embedSlotCollapse"), im = (e, t) => `${e}:${t}`, Hy = "all:",
23135
23143
  }),
23136
23144
  $("span", Vx, X(ze.value ? "▸" : "▾"), 1)
23137
23145
  ], 40, Dx)) : de("", !0),
23138
- oe.value ? (x(), Ye(Be, {
23146
+ oe.value ? (x(), Ke(Be, {
23139
23147
  key: 4,
23140
23148
  name: "lock",
23141
23149
  size: 12,
@@ -23160,7 +23168,7 @@ const Fy = Symbol("embedSlotCollapse"), im = (e, t) => `${e}:${t}`, Hy = "all:",
23160
23168
  style: Nt({ top: `${k.value.lineY}px` }),
23161
23169
  "aria-hidden": "true"
23162
23170
  }, null, 4)) : de("", !0),
23163
- (x(!0), L(Ie, null, Ge(w.value, (ge) => {
23171
+ (x(!0), L(Ie, null, Ye(w.value, (ge) => {
23164
23172
  var De, It, lt, zo, na;
23165
23173
  return x(), L(Ie, {
23166
23174
  key: ge.modelId
@@ -23180,7 +23188,7 @@ const Fy = Symbol("embedSlotCollapse"), im = (e, t) => `${e}:${t}`, Hy = "all:",
23180
23188
  title: E(ge) ? o("em.node.derivedIdRow") : void 0,
23181
23189
  onClick: Xe((Ht) => O(ge, Ht), ["stop"]),
23182
23190
  onPointerdown: (Ht) => Ee(ge) ? Y(ge, Ht) : void 0,
23183
- onPointermove: (Ht) => Ee(ge) ? pe(Ht) : void 0,
23191
+ onPointermove: (Ht) => Ee(ge) ? he(Ht) : void 0,
23184
23192
  onPointerup: (Ht) => Ee(ge) ? Re() : void 0,
23185
23193
  onPointercancel: (Ht) => Ee(ge) ? Ve() : void 0
23186
23194
  }, [
@@ -23189,7 +23197,7 @@ const Fy = Symbol("embedSlotCollapse"), im = (e, t) => `${e}:${t}`, Hy = "all:",
23189
23197
  class: "em-entity__grip nodrag",
23190
23198
  "aria-hidden": "true",
23191
23199
  onPointerdown: (Ht) => Y(ge, Ht),
23192
- onPointermove: pe,
23200
+ onPointermove: he,
23193
23201
  onPointerup: Re,
23194
23202
  onPointercancel: Ve,
23195
23203
  onClick: ee[7] || (ee[7] = Xe(() => {
@@ -23209,12 +23217,12 @@ const Fy = Symbol("embedSlotCollapse"), im = (e, t) => `${e}:${t}`, Hy = "all:",
23209
23217
  "aria-hidden": "true"
23210
23218
  }, [
23211
23219
  $("span", Hx, [
23212
- (It = Fe.value[ge.modelId]) != null && It.pk ? (x(), Ye(Be, {
23220
+ (It = Fe.value[ge.modelId]) != null && It.pk ? (x(), Ke(Be, {
23213
23221
  key: 0,
23214
23222
  name: "key",
23215
23223
  size: 12,
23216
23224
  class: "em-key is-pk"
23217
- })) : (lt = Fe.value[ge.modelId]) != null && lt.required ? (x(), Ye(Be, {
23225
+ })) : (lt = Fe.value[ge.modelId]) != null && lt.required ? (x(), Ke(Be, {
23218
23226
  key: 1,
23219
23227
  name: "asterisk",
23220
23228
  size: 14,
@@ -23234,12 +23242,12 @@ const Fy = Symbol("embedSlotCollapse"), im = (e, t) => `${e}:${t}`, Hy = "all:",
23234
23242
  }, ["stop"])),
23235
23243
  onDblclick: ee[9] || (ee[9] = Xe(() => {
23236
23244
  }, ["stop"]))
23237
- }, X(Me(ge) ? "▸" : "▾"), 41, Kx)) : se(ge) ? (x(), Ye(Be, {
23245
+ }, X(Me(ge) ? "▸" : "▾"), 41, Kx)) : se(ge) ? (x(), Ke(Be, {
23238
23246
  key: 1,
23239
23247
  name: "table",
23240
23248
  size: 11,
23241
23249
  class: "em-embed-glyph"
23242
- })) : (zo = Fe.value[ge.modelId]) != null && zo.fk ? (x(), Ye(Be, {
23250
+ })) : (zo = Fe.value[ge.modelId]) != null && zo.fk ? (x(), Ke(Be, {
23243
23251
  key: 2,
23244
23252
  name: "key",
23245
23253
  size: 12,
@@ -23251,7 +23259,7 @@ const Fy = Symbol("embedSlotCollapse"), im = (e, t) => `${e}:${t}`, Hy = "all:",
23251
23259
  class: "em-entity__attrname",
23252
23260
  style: Nt({ color: we(ge) })
23253
23261
  }, [
23254
- (x(!0), L(Ie, null, Ge(Ne(ge), (Ht, no) => (x(), L("span", {
23262
+ (x(!0), L(Ie, null, Ye(Ne(ge), (Ht, no) => (x(), L("span", {
23255
23263
  key: no,
23256
23264
  class: Ae({ "em-entity__missing": Ht.missing })
23257
23265
  }, X(Ht.text), 3))), 128))
@@ -23284,7 +23292,7 @@ const Fy = Symbol("embedSlotCollapse"), im = (e, t) => `${e}:${t}`, Hy = "all:",
23284
23292
  }, null, 8, ["id", "position", "title"])
23285
23293
  ], 64))
23286
23294
  ], 42, Bx),
23287
- (x(!0), L(Ie, null, Ge(se(ge) && Te.value ? pt(ge) : [], (Ht) => (x(), L("li", {
23295
+ (x(!0), L(Ie, null, Ye(se(ge) && Te.value ? pt(ge) : [], (Ht) => (x(), L("li", {
23288
23296
  key: `${ge.modelId}:${Ht.modelId}`,
23289
23297
  class: Ae(["em-entity__embed-col", { "is-group-selected": M(ge) }]),
23290
23298
  onClick: Xe((no) => O(ge, no), ["stop"])
@@ -23294,7 +23302,7 @@ const Fy = Symbol("embedSlotCollapse"), im = (e, t) => `${e}:${t}`, Hy = "all:",
23294
23302
  "aria-hidden": "true"
23295
23303
  }, null, -1)),
23296
23304
  $("span", Jx, [
23297
- (x(!0), L(Ie, null, Ge(Zt(Ht), (no, ts) => (x(), L("span", {
23305
+ (x(!0), L(Ie, null, Ye(Zt(Ht), (no, ts) => (x(), L("span", {
23298
23306
  key: ts,
23299
23307
  class: Ae({ "em-entity__missing": no.missing })
23300
23308
  }, X(no.text), 3))), 128))
@@ -23331,7 +23339,7 @@ const Fy = Symbol("embedSlotCollapse"), im = (e, t) => `${e}:${t}`, Hy = "all:",
23331
23339
  style: Nt({ top: `${tt.value.lineY}px` }),
23332
23340
  "aria-hidden": "true"
23333
23341
  }, null, 4)) : de("", !0),
23334
- (x(!0), L(Ie, null, Ge(ke.value, (ge) => {
23342
+ (x(!0), L(Ie, null, Ye(ke.value, (ge) => {
23335
23343
  var De, It;
23336
23344
  return x(), L("li", {
23337
23345
  key: ge.modelId,
@@ -23480,7 +23488,7 @@ const Fy = Symbol("embedSlotCollapse"), im = (e, t) => `${e}:${t}`, Hy = "all:",
23480
23488
  $("span", dS, X(F.value), 1),
23481
23489
  n.value.packageName ? (x(), L("span", cS, X(n.value.packageName), 1)) : de("", !0),
23482
23490
  n.value.excludeDDLGeneration ? (x(), L("span", uS, X(r("em.group.ddlExcludeBadge")), 1)) : de("", !0),
23483
- o.value ? (x(), Ye(Be, {
23491
+ o.value ? (x(), Ke(Be, {
23484
23492
  key: 2,
23485
23493
  name: "lock",
23486
23494
  size: 12,
@@ -23546,7 +23554,7 @@ const Fy = Symbol("embedSlotCollapse"), im = (e, t) => `${e}:${t}`, Hy = "all:",
23546
23554
  { id: "n-right", pos: je.Right },
23547
23555
  { id: "n-bottom", pos: je.Bottom },
23548
23556
  { id: "n-left", pos: je.Left }
23549
- ], _ = he(!1), h = he(""), C = he(null);
23557
+ ], _ = pe(!1), h = pe(""), C = pe(null);
23550
23558
  async function N() {
23551
23559
  var w;
23552
23560
  s.value && (h.value = a.value.memo, _.value = !0, await Lt(), (w = C.value) == null || w.focus());
@@ -23611,7 +23619,7 @@ const Fy = Symbol("embedSlotCollapse"), im = (e, t) => `${e}:${t}`, Hy = "all:",
23611
23619
  }, null, 544)), [
23612
23620
  [po, h.value]
23613
23621
  ]) : (x(), L("div", hS, X(a.value.memo), 1)),
23614
- (x(), L(Ie, null, Ge(b, (E) => q(m(Mo), {
23622
+ (x(), L(Ie, null, Ye(b, (E) => q(m(Mo), {
23615
23623
  id: E.id,
23616
23624
  key: E.id,
23617
23625
  type: "source",
@@ -23827,7 +23835,7 @@ const dc = Symbol("waypointController"), xS = ["d"], SS = ["d"], TS = ["d"], MS
23827
23835
  return (J = we.find((ie) => ie.entity.modelId === V)) == null ? void 0 : J.groupRef;
23828
23836
  }, D = t.data.association;
23829
23837
  return ke(D.end1.entityRef) === ye.groupId && ke(D.end2.entityRef) === ye.groupId ? { dx: ye.dx, dy: ye.dy } : null;
23830
- }), f = U(() => (o == null ? void 0 : o.points(t.id)) ?? []), p = he(-1), y = he({ x: 0, y: 0 }), v = U(() => {
23838
+ }), f = U(() => (o == null ? void 0 : o.points(t.id)) ?? []), p = pe(-1), y = pe({ x: 0, y: 0 }), v = U(() => {
23831
23839
  const ye = u.value;
23832
23840
  return f.value.map((we, ke) => ke === p.value ? y.value : ye ? { x: we.x + ye.dx, y: we.y + ye.dy } : we);
23833
23841
  }), g = U(() => {
@@ -23919,12 +23927,12 @@ const dc = Symbol("waypointController"), xS = ["d"], SS = ["d"], TS = ["d"], MS
23919
23927
  "stroke-width": "1.5",
23920
23928
  class: Ae(["em-edge__path", { "is-highlighted": l.value, "is-dimmed": c.value, "is-selected": d.value }])
23921
23929
  }, null, 10, SS),
23922
- (x(!0), L(Ie, null, Ge(Fe.value, (ke, D) => (x(), L("path", {
23930
+ (x(!0), L(Ie, null, Ye(Fe.value, (ke, D) => (x(), L("path", {
23923
23931
  key: `mpoly-${D}`,
23924
23932
  d: ke,
23925
23933
  class: Ae(["em-edge__marker em-edge__marker--fill", Oe.value])
23926
23934
  }, null, 10, TS))), 128)),
23927
- (x(!0), L(Ie, null, Ge(ce.value, (ke, D) => (x(), L("line", {
23935
+ (x(!0), L(Ie, null, Ye(ce.value, (ke, D) => (x(), L("line", {
23928
23936
  key: `mline-${D}`,
23929
23937
  x1: ke.x1,
23930
23938
  y1: ke.y1,
@@ -23932,7 +23940,7 @@ const dc = Symbol("waypointController"), xS = ["d"], SS = ["d"], TS = ["d"], MS
23932
23940
  y2: ke.y2,
23933
23941
  class: Ae(["em-edge__marker", Oe.value])
23934
23942
  }, null, 10, MS))), 128)),
23935
- (x(!0), L(Ie, null, Ge(Te.value, (ke, D) => (x(), L("circle", {
23943
+ (x(!0), L(Ie, null, Ye(Te.value, (ke, D) => (x(), L("circle", {
23936
23944
  key: `mcirc-${D}`,
23937
23945
  cx: ke.cx,
23938
23946
  cy: ke.cy,
@@ -23952,7 +23960,7 @@ const dc = Symbol("waypointController"), xS = ["d"], SS = ["d"], TS = ["d"], MS
23952
23960
  class: Ae(["em-edge__mult", { "is-dimmed": c.value }])
23953
23961
  }, X(M.value), 11, PS)
23954
23962
  ], 64)) : de("", !0),
23955
- (x(!0), L(Ie, null, Ge(O.value, (ke, D) => (x(), L("circle", {
23963
+ (x(!0), L(Ie, null, Ye(O.value, (ke, D) => (x(), L("circle", {
23956
23964
  key: `mid-${D}`,
23957
23965
  cx: ke.point.x,
23958
23966
  cy: ke.point.y,
@@ -23960,7 +23968,7 @@ const dc = Symbol("waypointController"), xS = ["d"], SS = ["d"], TS = ["d"], MS
23960
23968
  class: Ae(["em-edge__mid", { "is-dimmed": c.value }]),
23961
23969
  onDblclick: Xe((V) => E(ke.segIndex, V), ["stop"])
23962
23970
  }, null, 42, DS))), 128)),
23963
- (x(!0), L(Ie, null, Ge(F.value, (ke, D) => (x(), L("rect", {
23971
+ (x(!0), L(Ie, null, Ye(F.value, (ke, D) => (x(), L("rect", {
23964
23972
  key: `wp-${D}`,
23965
23973
  x: ke.x - 5,
23966
23974
  y: ke.y - 5,
@@ -24041,12 +24049,12 @@ const US = {
24041
24049
  patternUnits: "userSpaceOnUse"
24042
24050
  }, [
24043
24051
  Ut(s.$slots, "pattern", {}, () => [
24044
- s.variant === m(mo).Lines ? (x(), Ye(m(Zy), {
24052
+ s.variant === m(mo).Lines ? (x(), Ke(m(Zy), {
24045
24053
  key: 0,
24046
24054
  size: s.lineWidth,
24047
24055
  color: a.value,
24048
24056
  dimensions: o.value.scaledGap
24049
- }, null, 8, ["size", "color", "dimensions"])) : s.variant === m(mo).Dots ? (x(), Ye(m(Qy), {
24057
+ }, null, 8, ["size", "color", "dimensions"])) : s.variant === m(mo).Dots ? (x(), Ke(m(Qy), {
24050
24058
  key: 1,
24051
24059
  color: a.value,
24052
24060
  radius: o.value.size / 2
@@ -24171,7 +24179,7 @@ const IT = { render: wT }, kT = {
24171
24179
  function _() {
24172
24180
  a(!f.value), t("interactionChange", !f.value);
24173
24181
  }
24174
- return (h, C) => (x(), Ye(m(Ny), {
24182
+ return (h, C) => (x(), Ke(m(Ny), {
24175
24183
  class: "vue-flow__controls",
24176
24184
  position: h.position
24177
24185
  }, {
@@ -24186,7 +24194,7 @@ const IT = { render: wT }, kT = {
24186
24194
  }, {
24187
24195
  default: dt(() => [
24188
24196
  Ut(h.$slots, "icon-zoom-in", {}, () => [
24189
- (x(), Ye(Ko(m(nT))))
24197
+ (x(), Ke(Ko(m(nT))))
24190
24198
  ])
24191
24199
  ]),
24192
24200
  _: 3
@@ -24200,7 +24208,7 @@ const IT = { render: wT }, kT = {
24200
24208
  }, {
24201
24209
  default: dt(() => [
24202
24210
  Ut(h.$slots, "icon-zoom-out", {}, () => [
24203
- (x(), Ye(Ko(m(rT))))
24211
+ (x(), Ke(Ko(m(rT))))
24204
24212
  ])
24205
24213
  ]),
24206
24214
  _: 3
@@ -24214,24 +24222,24 @@ const IT = { render: wT }, kT = {
24214
24222
  }, {
24215
24223
  default: dt(() => [
24216
24224
  Ut(h.$slots, "icon-fit-view", {}, () => [
24217
- (x(), Ye(Ko(m(mT))))
24225
+ (x(), Ke(Ko(m(mT))))
24218
24226
  ])
24219
24227
  ]),
24220
24228
  _: 3
24221
24229
  })
24222
24230
  ]) : de("", !0),
24223
24231
  h.showInteractive ? Ut(h.$slots, "control-interactive", { key: 2 }, () => [
24224
- h.showInteractive ? (x(), Ye(Zo, {
24232
+ h.showInteractive ? (x(), Ke(Zo, {
24225
24233
  key: 0,
24226
24234
  class: "vue-flow__controls-interactive",
24227
24235
  onClick: _
24228
24236
  }, {
24229
24237
  default: dt(() => [
24230
24238
  f.value ? Ut(h.$slots, "icon-unlock", { key: 0 }, () => [
24231
- (x(), Ye(Ko(m(IT))))
24239
+ (x(), Ke(Ko(m(IT))))
24232
24240
  ]) : de("", !0),
24233
24241
  f.value ? de("", !0) : Ut(h.$slots, "icon-lock", { key: 1 }, () => [
24234
- (x(), Ye(Ko(m(vT))))
24242
+ (x(), Ke(Ko(m(vT))))
24235
24243
  ])
24236
24244
  ]),
24237
24245
  _: 3
@@ -26263,7 +26271,7 @@ const Nv = Symbol("MiniMapSlots"), QL = ["id", "x", "y", "rx", "ry", "width", "h
26263
26271
  t("mouseleave", u);
26264
26272
  }
26265
26273
  return (u, f) => !u.hidden && u.dimensions.width !== 0 && u.dimensions.height !== 0 ? (x(), L(Ie, { key: 0 }, [
26266
- m(o)[`node-${n.type}`] ? (x(), Ye(Ko(m(o)[`node-${n.type}`]), Fo(Us({ key: 0 }, { ...n, ...u.$attrs })), null, 16)) : (x(), L("rect", Us({
26274
+ m(o)[`node-${n.type}`] ? (x(), Ke(Ko(m(o)[`node-${n.type}`]), Fo(Us({ key: 0 }, { ...n, ...u.$attrs })), null, 16)) : (x(), L("rect", Us({
26267
26275
  key: 1,
26268
26276
  id: u.id
26269
26277
  }, u.$attrs, {
@@ -26313,7 +26321,7 @@ const Nv = Symbol("MiniMapSlots"), QL = ["id", "x", "y", "rx", "ry", "width", "h
26313
26321
  },
26314
26322
  emits: ["click", "nodeClick", "nodeDblclick", "nodeMouseenter", "nodeMousemove", "nodeMouseleave"],
26315
26323
  setup(e, { emit: t }) {
26316
- const n = Um(), o = bd(), i = 200, a = 150, { id: s, edges: r, viewport: l, translateExtent: d, dimensions: c, emits: u, d3Selection: f, d3Zoom: p, getNodesInitialized: y } = Ct(), v = he();
26324
+ const n = Um(), o = bd(), i = 200, a = 150, { id: s, edges: r, viewport: l, translateExtent: d, dimensions: c, emits: u, d3Selection: f, d3Zoom: p, getNodesInitialized: y } = Ct(), v = pe();
26317
26325
  dn(Nv, n);
26318
26326
  const g = Et(() => {
26319
26327
  var M;
@@ -26411,7 +26419,7 @@ const Nv = Symbol("MiniMapSlots"), QL = ["id", "x", "y", "rx", "ry", "width", "h
26411
26419
  const K = { event: M, node: G, connectedEdges: Yo([G], r.value) };
26412
26420
  u.miniMapNodeMouseLeave(K), t("nodeMouseleave", K);
26413
26421
  }
26414
- return (M, G) => (x(), Ye(m(Ny), {
26422
+ return (M, G) => (x(), Ke(m(Ny), {
26415
26423
  position: M.position,
26416
26424
  class: Ae(["vue-flow__minimap", { pannable: M.pannable, zoomable: M.zoomable }])
26417
26425
  }, {
@@ -26430,7 +26438,7 @@ const Nv = Symbol("MiniMapSlots"), QL = ["id", "x", "y", "rx", "ry", "width", "h
26430
26438
  key: 0,
26431
26439
  id: `vue-flow__minimap-${m(s)}`
26432
26440
  }, X(M.ariaLabel), 9, oO)) : de("", !0),
26433
- (x(!0), L(Ie, null, Ge(m(y), (K) => (x(), Ye(tO, {
26441
+ (x(!0), L(Ie, null, Ye(m(y), (K) => (x(), Ke(tO, {
26434
26442
  id: K.id,
26435
26443
  key: K.id,
26436
26444
  f: "",
@@ -26478,7 +26486,7 @@ const Nv = Symbol("MiniMapSlots"), QL = ["id", "x", "y", "rx", "ry", "width", "h
26478
26486
  setup(e) {
26479
26487
  const t = e, { screenToFlowCoordinate: n } = Ct(), o = xt(dc), i = xt(_i, null), a = U(() => !!i && i.editable.value), s = xt(wi, null), r = U(
26480
26488
  () => !!s && s.active.value && (!s.relatedEntityIds.value.has(t.data.targetRef) || !s.relatedNoteIds.value.has(t.data.noteRef))
26481
- ), l = U(() => (o == null ? void 0 : o.points(t.id)) ?? []), d = he(-1), c = he({ x: 0, y: 0 }), u = U(
26489
+ ), l = U(() => (o == null ? void 0 : o.points(t.id)) ?? []), d = pe(-1), c = pe({ x: 0, y: 0 }), u = U(
26482
26490
  () => l.value.map((S, O) => O === d.value ? c.value : S)
26483
26491
  ), { source: f, target: p, sourceSide: y, targetSide: v } = lc({
26484
26492
  sourceNode: () => t.sourceNode,
@@ -26515,7 +26523,7 @@ const Nv = Symbol("MiniMapSlots"), QL = ["id", "x", "y", "rx", "ry", "width", "h
26515
26523
  "stroke-dasharray": "6 4",
26516
26524
  class: Ae(["em-note-edge__path", { "is-dimmed": r.value }])
26517
26525
  }, null, 10, rO),
26518
- (x(!0), L(Ie, null, Ge(b.value, (F, j) => (x(), L("circle", {
26526
+ (x(!0), L(Ie, null, Ye(b.value, (F, j) => (x(), L("circle", {
26519
26527
  key: `mid-${j}`,
26520
26528
  cx: F.point.x,
26521
26529
  cy: F.point.y,
@@ -26523,7 +26531,7 @@ const Nv = Symbol("MiniMapSlots"), QL = ["id", "x", "y", "rx", "ry", "width", "h
26523
26531
  class: Ae(["em-note-edge__mid", { "is-dimmed": r.value }]),
26524
26532
  onDblclick: Xe((H) => I(F.segIndex, H), ["stop"])
26525
26533
  }, null, 42, lO))), 128)),
26526
- (x(!0), L(Ie, null, Ge(_.value, (F, j) => (x(), L("rect", {
26534
+ (x(!0), L(Ie, null, Ye(_.value, (F, j) => (x(), L("rect", {
26527
26535
  key: `wp-${j}`,
26528
26536
  x: F.x - 5,
26529
26537
  y: F.y - 5,
@@ -26582,7 +26590,7 @@ const Nv = Symbol("MiniMapSlots"), QL = ["id", "x", "y", "rx", "ry", "width", "h
26582
26590
  locale: {}
26583
26591
  },
26584
26592
  setup(e, { expose: t }) {
26585
- const n = e, o = (h, C) => Qn(n.locale ?? "ko", h, C), i = he(!1), a = he([]), s = he(void 0), r = he(null), l = vd({ x: 0, y: 0 });
26593
+ const n = e, o = (h, C) => Qn(n.locale ?? "ko", h, C), i = pe(!1), a = pe([]), s = pe(void 0), r = pe(null), l = vd({ x: 0, y: 0 });
26586
26594
  let d = null;
26587
26595
  const c = 8;
26588
26596
  async function u(h, C) {
@@ -26663,7 +26671,7 @@ const Nv = Symbol("MiniMapSlots"), QL = ["id", "x", "y", "rx", "ry", "width", "h
26663
26671
  function _(h, C) {
26664
26672
  h.onPick(C), f();
26665
26673
  }
26666
- return ii(f), t({ open: u, close: f }), (h, C) => (x(), Ye(gr, { to: "body" }, [
26674
+ return ii(f), t({ open: u, close: f }), (h, C) => (x(), Ke(gr, { to: "body" }, [
26667
26675
  i.value ? (x(), L("div", {
26668
26676
  key: 0,
26669
26677
  class: "em-ctx-layer",
@@ -26683,7 +26691,7 @@ const Nv = Symbol("MiniMapSlots"), QL = ["id", "x", "y", "rx", "ry", "width", "h
26683
26691
  onContextmenu: C[0] || (C[0] = Xe(() => {
26684
26692
  }, ["prevent"]))
26685
26693
  }, [
26686
- (x(!0), L(Ie, null, Ge(a.value, (N, R) => (x(), L(Ie, { key: R }, [
26694
+ (x(!0), L(Ie, null, Ye(a.value, (N, R) => (x(), L(Ie, { key: R }, [
26687
26695
  N.type === "separator" ? (x(), L("div", yO)) : N.type === "swatches" ? (x(), L("div", {
26688
26696
  key: 1,
26689
26697
  class: "em-ctx__swatches",
@@ -26701,7 +26709,7 @@ const Nv = Symbol("MiniMapSlots"), QL = ["id", "x", "y", "rx", "ry", "width", "h
26701
26709
  title: o("em.swatch.none"),
26702
26710
  onClick: (I) => _(N, null)
26703
26711
  }, null, 10, _O),
26704
- (x(!0), L(Ie, null, Ge(m(mi), (I) => (x(), L("button", {
26712
+ (x(!0), L(Ie, null, Ye(m(mi), (I) => (x(), L("button", {
26705
26713
  key: I,
26706
26714
  type: "button",
26707
26715
  class: Ae(["em-ctx__chip", { "is-on": N.current === I }]),
@@ -26722,7 +26730,7 @@ const Nv = Symbol("MiniMapSlots"), QL = ["id", "x", "y", "rx", "ry", "width", "h
26722
26730
  onClick: (I) => b(N)
26723
26731
  }, [
26724
26732
  $("span", kO, [
26725
- N.icon ? (x(), Ye(Be, {
26733
+ N.icon ? (x(), Ke(Be, {
26726
26734
  key: 0,
26727
26735
  name: N.icon,
26728
26736
  size: 15
@@ -26787,7 +26795,7 @@ function Rv(e) {
26787
26795
  const t = () => {
26788
26796
  var r;
26789
26797
  return (r = e.scope) == null ? void 0 : r.call(e);
26790
- }, n = he(Pm(e.storageKey, t()));
26798
+ }, n = pe(Pm(e.storageKey, t()));
26791
26799
  e.scope && at(
26792
26800
  () => e.scope(),
26793
26801
  (r) => n.value = Pm(e.storageKey, r)
@@ -27108,23 +27116,23 @@ const PO = { class: "em-shortcuts" }, DO = { class: "em-shortcuts__list" }, VO =
27108
27116
  ]
27109
27117
  }
27110
27118
  ]);
27111
- return (r, l) => (x(), Ye(m(Ua), {
27119
+ return (r, l) => (x(), Ke(m(Ua), {
27112
27120
  title: o("em.shortcuts.title")
27113
27121
  }, {
27114
27122
  default: dt(() => [
27115
27123
  $("div", PO, [
27116
27124
  $("div", DO, [
27117
- (x(!0), L(Ie, null, Ge(s.value, (d) => (x(), L("section", {
27125
+ (x(!0), L(Ie, null, Ye(s.value, (d) => (x(), L("section", {
27118
27126
  key: d.title,
27119
27127
  class: "em-shortcuts__group"
27120
27128
  }, [
27121
27129
  $("h4", VO, X(d.title), 1),
27122
- (x(!0), L(Ie, null, Ge(d.items, (c) => (x(), L("div", {
27130
+ (x(!0), L(Ie, null, Ye(d.items, (c) => (x(), L("div", {
27123
27131
  key: c.desc,
27124
27132
  class: "em-shortcuts__row"
27125
27133
  }, [
27126
27134
  $("span", BO, [
27127
- (x(!0), L(Ie, null, Ge(c.keys, (u, f) => (x(), L(Ie, {
27135
+ (x(!0), L(Ie, null, Ye(c.keys, (u, f) => (x(), L(Ie, {
27128
27136
  key: u + f
27129
27137
  }, [
27130
27138
  $("kbd", zO, X(u), 1),
@@ -27187,7 +27195,7 @@ const GO = ["aria-label"], YO = ["aria-activedescendant", "aria-label", "placeho
27187
27195
  },
27188
27196
  emits: ["close"],
27189
27197
  setup(e, { emit: t }) {
27190
- const n = e, o = t, i = n.controller, a = he(""), s = he(0), r = he(null), l = U(() => i.userLanguage.value), d = U(() => {
27198
+ const n = e, o = t, i = n.controller, a = pe(""), s = pe(0), r = pe(null), l = U(() => i.userLanguage.value), d = U(() => {
27191
27199
  const N = l.value, R = i.state.logical.entities.map((S) => {
27192
27200
  var O, F, j, H;
27193
27201
  return {
@@ -27277,7 +27285,7 @@ const GO = ["aria-label"], YO = ["aria-activedescendant", "aria-label", "placeho
27277
27285
  return Lt(() => {
27278
27286
  var N;
27279
27287
  return (N = r.value) == null ? void 0 : N.focus();
27280
- }), (N, R) => (x(), Ye(gr, { to: "body" }, [
27288
+ }), (N, R) => (x(), Ke(gr, { to: "body" }, [
27281
27289
  $("div", {
27282
27290
  class: "em-cmdk__backdrop",
27283
27291
  onPointerdown: R[1] || (R[1] = Xe((I) => o("close"), ["self"]))
@@ -27314,7 +27322,7 @@ const GO = ["aria-label"], YO = ["aria-activedescendant", "aria-label", "placeho
27314
27322
  "aria-label": m(i).t("em.cmd.sectionGoto")
27315
27323
  }, [
27316
27324
  $("div", JO, X(m(i).t("em.cmd.sectionGoto")), 1),
27317
- (x(!0), L(Ie, null, Ge(p.value, (I) => (x(), L("button", {
27325
+ (x(!0), L(Ie, null, Ye(p.value, (I) => (x(), L("button", {
27318
27326
  id: b(g(I)),
27319
27327
  key: I.id,
27320
27328
  type: "button",
@@ -27335,7 +27343,7 @@ const GO = ["aria-label"], YO = ["aria-activedescendant", "aria-label", "placeho
27335
27343
  "aria-label": m(i).t("em.cmd.sectionActions")
27336
27344
  }, [
27337
27345
  $("div", nP, X(m(i).t("em.cmd.sectionActions")), 1),
27338
- (x(!0), L(Ie, null, Ge(y.value, (I) => (x(), L("button", {
27346
+ (x(!0), L(Ie, null, Ye(y.value, (I) => (x(), L("button", {
27339
27347
  id: b(g(I)),
27340
27348
  key: I.id,
27341
27349
  type: "button",
@@ -27366,24 +27374,38 @@ function lP(e) {
27366
27374
  detailKey: "em.conflict.changedDetail"
27367
27375
  } : null;
27368
27376
  }
27369
- const dP = {
27377
+ function dP(e) {
27378
+ const t = e.commandFailure ? { titleKey: "em.conflict.lockedTitle", detailKey: "em.conflict.commandFailedDetail" } : lP(e.conflict);
27379
+ if (!t) return null;
27380
+ const n = e.reloadInFlight === !0;
27381
+ return {
27382
+ titleKey: t.titleKey,
27383
+ detailKey: n ? "em.conflict.reloadingDetail" : t.detailKey,
27384
+ reloading: n
27385
+ };
27386
+ }
27387
+ const cP = {
27370
27388
  key: 0,
27371
27389
  class: "em-canvas__empty",
27372
27390
  "aria-hidden": "true"
27373
- }, cP = { class: "em-canvas__empty-title" }, uP = ["innerHTML"], mP = ["innerHTML"], fP = ["innerHTML"], pP = {
27391
+ }, uP = { class: "em-canvas__empty-title" }, mP = ["innerHTML"], fP = ["innerHTML"], pP = ["innerHTML"], hP = {
27374
27392
  key: 1,
27375
27393
  class: "em-canvas__empty-title"
27376
- }, hP = {
27394
+ }, yP = {
27377
27395
  key: 0,
27378
27396
  class: "em-conflict-banner",
27379
27397
  role: "alert",
27380
27398
  "aria-live": "assertive"
27381
- }, yP = { class: "em-conflict-banner__body" }, vP = { class: "em-conflict-banner__title" }, gP = { class: "em-conflict-banner__detail" }, bP = {
27399
+ }, vP = {
27400
+ key: 0,
27401
+ class: "em-conflict-banner__spinner",
27402
+ "aria-hidden": "true"
27403
+ }, gP = { class: "em-conflict-banner__body" }, bP = { class: "em-conflict-banner__title" }, _P = { class: "em-conflict-banner__detail" }, wP = {
27382
27404
  key: 0,
27383
27405
  class: "em-toast",
27384
27406
  role: "status",
27385
27407
  "aria-live": "polite"
27386
- }, Tl = "nc:", _P = /* @__PURE__ */ et({
27408
+ }, Tl = "nc:", IP = /* @__PURE__ */ et({
27387
27409
  __name: "DiagramCanvas",
27388
27410
  props: {
27389
27411
  controller: {},
@@ -27391,7 +27413,7 @@ const dP = {
27391
27413
  embedCollapseStorageKey: {}
27392
27414
  },
27393
27415
  setup(e, { expose: t }) {
27394
- const n = e, o = n.controller, i = Xi(), a = he(!1), s = he(null);
27416
+ const n = e, o = n.controller, i = Xi(), a = pe(!1), s = pe(null);
27395
27417
  let r;
27396
27418
  function l(k) {
27397
27419
  s.value = k, r && clearTimeout(r), r = setTimeout(() => s.value = null, 3200);
@@ -27403,49 +27425,48 @@ const dP = {
27403
27425
  }
27404
27426
  ), ii(() => r && clearTimeout(r));
27405
27427
  const d = U(() => {
27406
- if (o.commandFailure.value)
27407
- return {
27408
- title: o.t("em.conflict.lockedTitle"),
27409
- detail: o.t("em.conflict.commandFailedDetail")
27410
- };
27411
- const k = lP(o.opConflict.value);
27412
- return k ? { title: o.t(k.titleKey), detail: o.t(k.detailKey) } : null;
27413
- }), c = he(!1), u = he(!1), f = { x: 0, y: 0 };
27428
+ const k = dP({
27429
+ conflict: o.opConflict.value,
27430
+ commandFailure: o.commandFailure.value,
27431
+ reloadInFlight: o.reloadInFlight.value
27432
+ });
27433
+ return k ? { title: o.t(k.titleKey), detail: o.t(k.detailKey), reloading: k.reloading } : null;
27434
+ }), c = pe(!1), u = pe(!1), f = { x: 0, y: 0 };
27414
27435
  function p(k) {
27415
27436
  f.x = k.clientX, f.y = k.clientY;
27416
27437
  }
27417
- const y = he(null);
27438
+ const y = pe(null);
27418
27439
  dn(Kr, y);
27419
- const v = he(null);
27440
+ const v = pe(null);
27420
27441
  dn(Py, v);
27421
- const g = he(null), b = U(() => {
27442
+ const g = pe(null), b = U(() => {
27422
27443
  const k = g.value, Y = /* @__PURE__ */ new Set();
27423
27444
  if (!k) return Y;
27424
27445
  if (k.kind === "entity")
27425
27446
  Y.add(k.id);
27426
27447
  else if (k.kind === "group") {
27427
- const pe = o.resolved.value.groups.find((Re) => Re.group.modelId === k.id);
27428
- for (const Re of (pe == null ? void 0 : pe.group.memberEntityRefs) ?? []) Y.add(Re);
27448
+ const he = o.resolved.value.groups.find((Re) => Re.group.modelId === k.id);
27449
+ for (const Re of (he == null ? void 0 : he.group.memberEntityRefs) ?? []) Y.add(Re);
27429
27450
  }
27430
27451
  return Y;
27431
27452
  }), _ = U(() => {
27432
- const k = g.value, Y = new Set(b.value), pe = /* @__PURE__ */ new Set(), Re = /* @__PURE__ */ new Set();
27433
- if (!k) return { related: Y, edges: pe, notes: Re };
27453
+ const k = g.value, Y = new Set(b.value), he = /* @__PURE__ */ new Set(), Re = /* @__PURE__ */ new Set();
27454
+ if (!k) return { related: Y, edges: he, notes: Re };
27434
27455
  if (k.kind === "note") {
27435
27456
  Re.add(k.id);
27436
27457
  for (const qe of o.resolved.value.noteConnections)
27437
27458
  qe.noteRef === k.id && Y.add(qe.targetRef);
27438
- return { related: Y, edges: pe, notes: Re };
27459
+ return { related: Y, edges: he, notes: Re };
27439
27460
  }
27440
27461
  const Ve = b.value;
27441
- if (!Ve.size) return { related: Y, edges: pe, notes: Re };
27462
+ if (!Ve.size) return { related: Y, edges: he, notes: Re };
27442
27463
  for (const qe of o.resolved.value.associations) {
27443
27464
  const { end1: tt, end2: ot } = qe.association;
27444
- (Ve.has(tt.entityRef) || Ve.has(ot.entityRef)) && (pe.add(qe.association.modelId), Y.add(tt.entityRef), Y.add(ot.entityRef));
27465
+ (Ve.has(tt.entityRef) || Ve.has(ot.entityRef)) && (he.add(qe.association.modelId), Y.add(tt.entityRef), Y.add(ot.entityRef));
27445
27466
  }
27446
27467
  for (const qe of o.resolved.value.noteConnections)
27447
27468
  Y.has(qe.targetRef) && Re.add(qe.noteRef);
27448
- return { related: Y, edges: pe, notes: Re };
27469
+ return { related: Y, edges: he, notes: Re };
27449
27470
  });
27450
27471
  dn(wi, {
27451
27472
  source: g,
@@ -27490,28 +27511,28 @@ const dP = {
27490
27511
  }
27491
27512
  function I(k) {
27492
27513
  if (!k.startsWith(Tl)) return null;
27493
- const [Y, pe] = k.slice(Tl.length).split(":");
27494
- return Y && pe ? { noteRef: Y, targetRef: pe } : null;
27514
+ const [Y, he] = k.slice(Tl.length).split(":");
27515
+ return Y && he ? { noteRef: Y, targetRef: he } : null;
27495
27516
  }
27496
27517
  dn(dc, {
27497
27518
  points: (k) => {
27498
- var pe, Re;
27519
+ var he, Re;
27499
27520
  const Y = I(k);
27500
- return Y ? ((pe = o.resolved.value.noteConnections.find(
27521
+ return Y ? ((he = o.resolved.value.noteConnections.find(
27501
27522
  (Ve) => Ve.noteRef === Y.noteRef && Ve.targetRef === Y.targetRef
27502
- )) == null ? void 0 : pe.waypoints) ?? [] : ((Re = o.resolved.value.associations.find((Ve) => Ve.association.modelId === k)) == null ? void 0 : Re.waypoints) ?? [];
27523
+ )) == null ? void 0 : he.waypoints) ?? [] : ((Re = o.resolved.value.associations.find((Ve) => Ve.association.modelId === k)) == null ? void 0 : Re.waypoints) ?? [];
27503
27524
  },
27504
- movePoint: (k, Y, pe) => {
27525
+ movePoint: (k, Y, he) => {
27505
27526
  const Re = I(k);
27506
- Re ? o.moveNoteConnectionWaypoint(Re.noteRef, Re.targetRef, Y, pe) : o.moveWaypoint(k, Y, pe);
27527
+ Re ? o.moveNoteConnectionWaypoint(Re.noteRef, Re.targetRef, Y, he) : o.moveWaypoint(k, Y, he);
27507
27528
  },
27508
- insertPoint: (k, Y, pe) => {
27529
+ insertPoint: (k, Y, he) => {
27509
27530
  const Re = I(k);
27510
- Re ? o.addNoteConnectionWaypoint(Re.noteRef, Re.targetRef, Y, pe) : o.addWaypoint(k, Y, pe);
27531
+ Re ? o.addNoteConnectionWaypoint(Re.noteRef, Re.targetRef, Y, he) : o.addWaypoint(k, Y, he);
27511
27532
  },
27512
27533
  removePoint: (k, Y) => {
27513
- const pe = I(k);
27514
- pe ? o.removeNoteConnectionWaypoint(pe.noteRef, pe.targetRef, Y) : o.removeWaypoint(k, Y);
27534
+ const he = I(k);
27535
+ he ? o.removeNoteConnectionWaypoint(he.noteRef, he.targetRef, Y) : o.removeWaypoint(k, Y);
27515
27536
  }
27516
27537
  });
27517
27538
  const S = Ct(), {
@@ -27529,7 +27550,7 @@ const dP = {
27529
27550
  screenToFlowCoordinate: K,
27530
27551
  getSelectedNodes: B,
27531
27552
  updateNodeInternals: W
27532
- } = S, oe = he(!1);
27553
+ } = S, oe = pe(!1);
27533
27554
  async function te(k) {
27534
27555
  oe.value = !0, await Lt(), await new Promise((Y) => requestAnimationFrame(() => Y(null)));
27535
27556
  try {
@@ -27555,8 +27576,8 @@ const dP = {
27555
27576
  t({ exportSvg: le, exportPng: ve, fitView: T });
27556
27577
  const ce = U(() => o.resolved.value.entities.length === 0);
27557
27578
  function Te() {
27558
- const k = G(), { width: Y, height: pe } = S.dimensions.value;
27559
- return { x: (Y / 2 - k.x) / k.zoom, y: (pe / 2 - k.y) / k.zoom };
27579
+ const k = G(), { width: Y, height: he } = S.dimensions.value;
27580
+ return { x: (Y / 2 - k.x) / k.zoom, y: (he / 2 - k.y) / k.zoom };
27560
27581
  }
27561
27582
  function Fe() {
27562
27583
  return O.value.map((k) => k.computedPosition ?? k.position);
@@ -27569,8 +27590,8 @@ const dP = {
27569
27590
  }
27570
27591
  function we(k) {
27571
27592
  for (const Y of o.resolved.value.groups) {
27572
- const { location: pe, size: Re } = Y.geo;
27573
- if (k.x >= pe.x && k.x <= pe.x + Re.width && k.y >= pe.y && k.y <= pe.y + Re.height)
27593
+ const { location: he, size: Re } = Y.geo;
27594
+ if (k.x >= he.x && k.x <= he.x + Re.width && k.y >= he.y && k.y <= he.y + Re.height)
27574
27595
  return Y.group.modelId;
27575
27596
  }
27576
27597
  return null;
@@ -27585,9 +27606,9 @@ const dP = {
27585
27606
  return k.entity === Y.entity && k.displayMode === Y.displayMode && k.collapsed === Y.collapsed && k.locked === Y.locked && k.groupRef === Y.groupRef && D(k.size, Y.size) && k.style === Y.style && k.attributeStyles === Y.attributeStyles && k.operationStyles === Y.operationStyles;
27586
27607
  }
27587
27608
  function J(k, Y) {
27588
- const pe = Object.keys(k);
27589
- if (pe.length !== Object.keys(Y).length) return !1;
27590
- for (const Re of pe)
27609
+ const he = Object.keys(k);
27610
+ if (he.length !== Object.keys(Y).length) return !1;
27611
+ for (const Re of he)
27591
27612
  if (Re === "geo") {
27592
27613
  const Ve = k.geo, qe = Y.geo;
27593
27614
  if (!ke(Ve.location, qe.location) || !D(Ve.size, qe.size)) return !1;
@@ -27595,8 +27616,8 @@ const dP = {
27595
27616
  return !0;
27596
27617
  }
27597
27618
  function ie() {
27598
- const k = o.resolved.value, Y = new Map(k.groups.map((Se) => [Se.group.modelId, Se.geo])), pe = new Set(k.groups.map((Se) => Se.group.modelId)), Re = /* @__PURE__ */ new Set([
27599
- ...pe,
27619
+ const k = o.resolved.value, Y = new Map(k.groups.map((Se) => [Se.group.modelId, Se.geo])), he = new Set(k.groups.map((Se) => Se.group.modelId)), Re = /* @__PURE__ */ new Set([
27620
+ ...he,
27600
27621
  ...k.entities.map((Se) => Se.entity.modelId),
27601
27622
  ...k.notes.map((Se) => Se.note.modelId)
27602
27623
  ]);
@@ -27615,7 +27636,7 @@ const dP = {
27615
27636
  ]);
27616
27637
  }
27617
27638
  for (const Se of k.entities) {
27618
- const ct = Se.entity.modelId, mt = Se.groupRef && pe.has(Se.groupRef) ? Se.groupRef : void 0, P = {
27639
+ const ct = Se.entity.modelId, mt = Se.groupRef && he.has(Se.groupRef) ? Se.groupRef : void 0, P = {
27619
27640
  entity: Se.entity,
27620
27641
  displayMode: o.displayMode.value,
27621
27642
  collapsed: Se.collapsed,
@@ -27629,7 +27650,7 @@ const dP = {
27629
27650
  De ? (ke(De.position, ge) || (De.position = ge), V(De.data, P) || (De.data = P), De.parentNode !== mt && (De.parentNode = mt), De.draggable !== ee && (De.draggable = ee), De.connectable !== Le && (De.connectable = Le)) : z([{ id: ct, type: "entity", position: ge, parentNode: mt, draggable: ee, connectable: Le, data: P }]);
27630
27651
  }
27631
27652
  for (const Se of k.notes) {
27632
- const ct = Se.note, mt = ct.modelId, P = Se.groupRef && pe.has(Se.groupRef) ? Se.groupRef : void 0, ee = { note: ct, groupRef: P }, Le = { width: `${ct.geo.size.width}px`, height: `${ct.geo.size.height}px` }, He = P ? Y.get(P) : void 0, ge = He ? { x: ct.geo.location.x - He.location.x, y: ct.geo.location.y - He.location.y } : { ...ct.geo.location }, De = j(mt);
27653
+ const ct = Se.note, mt = ct.modelId, P = Se.groupRef && he.has(Se.groupRef) ? Se.groupRef : void 0, ee = { note: ct, groupRef: P }, Le = { width: `${ct.geo.size.width}px`, height: `${ct.geo.size.height}px` }, He = P ? Y.get(P) : void 0, ge = He ? { x: ct.geo.location.x - He.location.x, y: ct.geo.location.y - He.location.y } : { ...ct.geo.location }, De = j(mt);
27633
27654
  if (De) {
27634
27655
  ke(De.position, ge) || (De.position = ge);
27635
27656
  const It = De.data;
@@ -27683,10 +27704,10 @@ const dP = {
27683
27704
  function xe(k) {
27684
27705
  const Y = document.querySelector(`.vue-flow__node[data-id="${CSS.escape(k)}"]`);
27685
27706
  if (!Y) return null;
27686
- let pe = `${Y.offsetHeight}`;
27707
+ let he = `${Y.offsetHeight}`;
27687
27708
  for (const Re of Y.querySelectorAll(".em-entity__row"))
27688
- pe += `|${Re.dataset.attr}:${Re.offsetTop}`;
27689
- return pe;
27709
+ he += `|${Re.dataset.attr}:${Re.offsetTop}`;
27710
+ return he;
27690
27711
  }
27691
27712
  function ne() {
27692
27713
  Ne = !1;
@@ -27701,16 +27722,16 @@ const dP = {
27701
27722
  }
27702
27723
  return;
27703
27724
  }
27704
- const pe = [];
27725
+ const he = [];
27705
27726
  for (const Re of Y) {
27706
27727
  const Ve = xe(Re);
27707
27728
  if (Ve === null) {
27708
27729
  $e.delete(Re);
27709
27730
  continue;
27710
27731
  }
27711
- $e.get(Re) !== Ve && ($e.set(Re, Ve), pe.push(Re));
27732
+ $e.get(Re) !== Ve && ($e.set(Re, Ve), he.push(Re));
27712
27733
  }
27713
- pe.length && W(pe);
27734
+ he.length && W(he);
27714
27735
  }
27715
27736
  function se(k) {
27716
27737
  if (k) for (const Y of k) ae.add(Y);
@@ -27719,7 +27740,7 @@ const dP = {
27719
27740
  }
27720
27741
  dn(Vy, { mark: (k) => se([k]) });
27721
27742
  function re() {
27722
- const k = B.value.map((pe) => pe.id);
27743
+ const k = B.value.map((he) => he.id);
27723
27744
  if (k.length) return k;
27724
27745
  const Y = o.selection.value;
27725
27746
  return Y && (Y.kind === "entity" || Y.kind === "note" || Y.kind === "group") ? [Y.id] : [];
@@ -27732,7 +27753,7 @@ const dP = {
27732
27753
  }
27733
27754
  function We(k) {
27734
27755
  var Y;
27735
- return [...((Y = o.state.logical.groups.find((pe) => pe.modelId === k)) == null ? void 0 : Y.memberEntityRefs) ?? []];
27756
+ return [...((Y = o.state.logical.groups.find((he) => he.modelId === k)) == null ? void 0 : Y.memberEntityRefs) ?? []];
27736
27757
  }
27737
27758
  function ze() {
27738
27759
  const k = Pe().flatMap(We);
@@ -27749,8 +27770,8 @@ const dP = {
27749
27770
  await Lt();
27750
27771
  const Y = B.value;
27751
27772
  Y.length && S.removeSelectedNodes(Y);
27752
- const pe = k.map((Re) => j(Re)).filter((Re) => !!Re);
27753
- pe.length && S.addSelectedNodes(pe);
27773
+ const he = k.map((Re) => j(Re)).filter((Re) => !!Re);
27774
+ he.length && S.addSelectedNodes(he);
27754
27775
  }
27755
27776
  function me(k) {
27756
27777
  if (ht() && Ee().includes(k)) {
@@ -27816,8 +27837,8 @@ const dP = {
27816
27837
  g.value = null;
27817
27838
  return;
27818
27839
  }
27819
- const pe = k.classList.contains("vue-flow__node-group") ? "group" : k.classList.contains("vue-flow__node-note") ? "note" : "entity";
27820
- g.value = { kind: pe, id: Y };
27840
+ const he = k.classList.contains("vue-flow__node-group") ? "group" : k.classList.contains("vue-flow__node-note") ? "note" : "entity";
27841
+ g.value = { kind: he, id: Y };
27821
27842
  }
27822
27843
  const pt = U(
27823
27844
  () => Om(o.state.logical).map((k) => `${k.consumerRef}>${k.typeRef}:${k.usageCount}`).sort().join("|")
@@ -27831,15 +27852,15 @@ const dP = {
27831
27852
  }
27832
27853
  );
27833
27854
  function Mt(k) {
27834
- const Y = k.computedPosition ?? k.position, pe = k.dimensions ?? { width: 0, height: 0 };
27835
- return { x: Y.x + pe.width / 2, y: Y.y + pe.height / 2 };
27855
+ const Y = k.computedPosition ?? k.position, he = k.dimensions ?? { width: 0, height: 0 };
27856
+ return { x: Y.x + he.width / 2, y: Y.y + he.height / 2 };
27836
27857
  }
27837
27858
  function Vt(k) {
27838
27859
  const Y = k.node;
27839
27860
  if (Y) {
27840
27861
  if (g.value = null, Y.type === "group") {
27841
- const pe = o.resolved.value.groups.find((Re) => Re.group.modelId === Y.id);
27842
- v.value = pe ? { groupId: Y.id, dx: Y.position.x - pe.geo.location.x, dy: Y.position.y - pe.geo.location.y } : null, y.value = null;
27862
+ const he = o.resolved.value.groups.find((Re) => Re.group.modelId === Y.id);
27863
+ v.value = he ? { groupId: Y.id, dx: Y.position.x - he.geo.location.x, dy: Y.position.y - he.geo.location.y } : null, y.value = null;
27843
27864
  return;
27844
27865
  }
27845
27866
  if (Y.type !== "entity" && Y.type !== "note") {
@@ -27852,9 +27873,9 @@ const dP = {
27852
27873
  function rt(k) {
27853
27874
  var Re;
27854
27875
  y.value = null, v.value = null;
27855
- const Y = (Re = k.nodes) != null && Re.length ? k.nodes : [k.node], pe = Y.filter((Ve) => (Ve == null ? void 0 : Ve.type) === "group");
27856
- if (pe.length) {
27857
- for (const Ve of pe) {
27876
+ const Y = (Re = k.nodes) != null && Re.length ? k.nodes : [k.node], he = Y.filter((Ve) => (Ve == null ? void 0 : Ve.type) === "group");
27877
+ if (he.length) {
27878
+ for (const Ve of he) {
27858
27879
  if (!Ve) continue;
27859
27880
  const qe = o.resolved.value.entities.filter((tt) => tt.groupRef === Ve.id).map((tt) => {
27860
27881
  const ot = j(tt.entity.modelId), Se = (ot == null ? void 0 : ot.computedPosition) ?? (ot == null ? void 0 : ot.position) ?? { x: 0, y: 0 };
@@ -27875,10 +27896,10 @@ const dP = {
27875
27896
  if (!o.editable.value) return;
27876
27897
  const Y = ((ee = S.connectionStartHandle.value) == null ? void 0 : ee.type) === "target" ? { source: k.target, sourceHandle: k.targetHandle, target: k.source, targetHandle: k.sourceHandle } : k;
27877
27898
  if (!Y.source || !Y.target) return;
27878
- const pe = ((Le = j(Y.source)) == null ? void 0 : Le.type) === "note", Re = ((He = j(Y.target)) == null ? void 0 : He.type) === "note";
27879
- if (pe || Re) {
27880
- if (pe && Re) return;
27881
- const De = pe ? Y.source : Y.target, It = pe ? Y.target : Y.source;
27899
+ const he = ((Le = j(Y.source)) == null ? void 0 : Le.type) === "note", Re = ((He = j(Y.target)) == null ? void 0 : He.type) === "note";
27900
+ if (he || Re) {
27901
+ if (he && Re) return;
27902
+ const De = he ? Y.source : Y.target, It = he ? Y.target : Y.source;
27882
27903
  ((ge = j(It)) == null ? void 0 : ge.type) === "entity" && o.addNoteConnection(De, It);
27883
27904
  return;
27884
27905
  }
@@ -27901,29 +27922,29 @@ const dP = {
27901
27922
  const ct = (De) => De != null && De.startsWith("r:") || De != null && De.startsWith("l:") ? De.slice(2) : void 0, mt = ct(Y.sourceHandle), P = ct(Y.targetHandle);
27902
27923
  o.addAssociation(Y.source, Y.target, mt, P);
27903
27924
  }
27904
- const gt = he(null);
27925
+ const gt = pe(null);
27905
27926
  function pn(k, Y) {
27906
27927
  var Re;
27907
- const pe = o.state.layout.entityLayouts.find((Ve) => Ve.entityRef === k);
27908
- return un((Re = pe == null ? void 0 : pe.attributeStyles) == null ? void 0 : Re[Y]);
27928
+ const he = o.state.layout.entityLayouts.find((Ve) => Ve.entityRef === k);
27929
+ return un((Re = he == null ? void 0 : he.attributeStyles) == null ? void 0 : Re[Y]);
27909
27930
  }
27910
27931
  function Kt(k, Y) {
27911
27932
  var Re;
27912
- const pe = o.state.layout.entityLayouts.find((Ve) => Ve.entityRef === k);
27913
- return un((Re = pe == null ? void 0 : pe.operationStyles) == null ? void 0 : Re[Y]);
27933
+ const he = o.state.layout.entityLayouts.find((Ve) => Ve.entityRef === k);
27934
+ return un((Re = he == null ? void 0 : he.operationStyles) == null ? void 0 : Re[Y]);
27914
27935
  }
27915
27936
  function Ot(k) {
27916
27937
  var Y;
27917
- return un((Y = o.state.layout.groupLayouts.find((pe) => pe.groupRef === k)) == null ? void 0 : Y.style);
27938
+ return un((Y = o.state.layout.groupLayouts.find((he) => he.groupRef === k)) == null ? void 0 : Y.style);
27918
27939
  }
27919
27940
  function Ft(k) {
27920
27941
  var Y;
27921
- return un((Y = o.state.layout.notes.find((pe) => pe.modelId === k)) == null ? void 0 : Y.style);
27942
+ return un((Y = o.state.layout.notes.find((he) => he.modelId === k)) == null ? void 0 : Y.style);
27922
27943
  }
27923
27944
  function Qt(k) {
27924
27945
  var Ve, qe;
27925
27946
  if (k.preventDefault(), !o.editable.value) return;
27926
- const Y = () => K({ x: k.clientX, y: k.clientY }), pe = [
27947
+ const Y = () => K({ x: k.clientX, y: k.clientY }), he = [
27927
27948
  { caption: o.t("em.ctx.addEntity"), icon: "add-entity", handler: () => {
27928
27949
  const tt = Y();
27929
27950
  o.addEntity("NewEntity", { x: tt.x, y: tt.y });
@@ -27937,28 +27958,28 @@ const dP = {
27937
27958
  o.addEmptyGroup({ x: tt.x, y: tt.y });
27938
27959
  } }
27939
27960
  ], Re = (Ve = o.clipboard.value) == null ? void 0 : Ve.kind;
27940
- (Re === "entity" || Re === "entities") && pe.push({ caption: o.t("em.ctx.paste"), icon: "clipboard", handler: () => Bt(o.paste()) }), o.resolved.value.entities.length > 0 && pe.push(
27961
+ (Re === "entity" || Re === "entities") && he.push({ caption: o.t("em.ctx.paste"), icon: "clipboard", handler: () => Bt(o.paste()) }), o.resolved.value.entities.length > 0 && he.push(
27941
27962
  { type: "separator" },
27942
27963
  { caption: o.t("em.panel.collapseAll"), icon: "collapse-all", handler: () => o.collapseAll() },
27943
27964
  { caption: o.t("em.panel.expandAll"), icon: "expand-all", handler: () => o.expandAll() }
27944
- ), (qe = gt.value) == null || qe.open(k, pe);
27965
+ ), (qe = gt.value) == null || qe.open(k, he);
27945
27966
  }
27946
27967
  function to({ event: k, node: Y }) {
27947
27968
  var Se, ct, mt, P, ee, Le, He, ge, De, It, lt, zo, na, Ht, no, ts;
27948
- const pe = k;
27949
- if (pe.preventDefault(), !o.editable.value) {
27969
+ const he = k;
27970
+ if (he.preventDefault(), !o.editable.value) {
27950
27971
  if (Y.type === "group" || Y.type === "note") return;
27951
- const Rt = (ct = (Se = pe.target) == null ? void 0 : Se.closest("[data-attr]")) == null ? void 0 : ct.dataset.attr;
27972
+ const Rt = (ct = (Se = he.target) == null ? void 0 : Se.closest("[data-attr]")) == null ? void 0 : ct.dataset.attr;
27952
27973
  if (Rt) {
27953
27974
  const Gt = o.selection.value;
27954
27975
  (Gt == null ? void 0 : Gt.kind) === "attribute" && Gt.entityId === Y.id && Gt.ids.includes(Rt) || o.selectAttribute(Y.id, Rt);
27955
27976
  const oo = ((mt = o.selection.value) == null ? void 0 : mt.kind) === "attribute" && o.selection.value.entityId === Y.id ? [...o.selection.value.ids] : [Rt];
27956
- (P = gt.value) == null || P.open(pe, [
27977
+ (P = gt.value) == null || P.open(he, [
27957
27978
  { caption: oo.length > 1 ? o.t("em.ctx.copyN", { n: oo.length }) : o.t("em.ctx.copy"), icon: "copy", handler: () => o.copy() }
27958
27979
  ]);
27959
27980
  return;
27960
27981
  }
27961
- (ee = gt.value) == null || ee.open(pe, [
27982
+ (ee = gt.value) == null || ee.open(he, [
27962
27983
  // 조회 모드에서도 상세 편집 진입 허용 — 모달은 editable=false라 읽기 전용으로 표시된다.
27963
27984
  { caption: o.t("em.ctx.editDetail"), icon: "pencil", handler: () => dr(i, o, Y.id) },
27964
27985
  me(Y.id)
@@ -27979,24 +28000,24 @@ const dP = {
27979
28000
  }), Rt || Gt.push(
27980
28001
  { type: "separator" },
27981
28002
  { caption: o.t("em.ctx.ungroup"), icon: "trash", danger: !0, handler: () => o.removeGroup(Y.id) }
27982
- ), (Le = gt.value) == null || Le.open(pe, Gt);
28003
+ ), (Le = gt.value) == null || Le.open(he, Gt);
27983
28004
  return;
27984
28005
  }
27985
28006
  if (Y.type === "note") {
27986
- (He = gt.value) == null || He.open(pe, [
28007
+ (He = gt.value) == null || He.open(he, [
27987
28008
  { type: "swatches", caption: o.t("em.common.color"), current: Ft(Y.id), onPick: (Rt) => o.setNoteSwatch(Y.id, Rt) },
27988
28009
  { type: "separator" },
27989
28010
  { caption: o.t("em.ctx.deleteNote"), icon: "trash", danger: !0, handler: () => o.removeNote(Y.id) }
27990
28011
  ]);
27991
28012
  return;
27992
28013
  }
27993
- const Re = (De = (ge = pe.target) == null ? void 0 : ge.closest("[data-attr]")) == null ? void 0 : De.dataset.attr;
28014
+ const Re = (De = (ge = he.target) == null ? void 0 : ge.closest("[data-attr]")) == null ? void 0 : De.dataset.attr;
27994
28015
  if (Re) {
27995
28016
  const Rt = o.selection.value;
27996
28017
  (Rt == null ? void 0 : Rt.kind) === "attribute" && Rt.entityId === Y.id && Rt.ids.includes(Re) || o.selectAttribute(Y.id, Re);
27997
28018
  const en = ((It = o.selection.value) == null ? void 0 : It.kind) === "attribute" && o.selection.value.entityId === Y.id ? [...o.selection.value.ids] : [Re];
27998
28019
  if (o.isEntityLocked(Y.id)) {
27999
- (lt = gt.value) == null || lt.open(pe, [
28020
+ (lt = gt.value) == null || lt.open(he, [
28000
28021
  { caption: en.length > 1 ? o.t("em.ctx.copyN", { n: en.length }) : o.t("em.ctx.copy"), icon: "copy", handler: () => o.copy() }
28001
28022
  ]);
28002
28023
  return;
@@ -28027,13 +28048,13 @@ const dP = {
28027
28048
  danger: !0,
28028
28049
  handler: () => o.removeAttributes(Y.id, en)
28029
28050
  }
28030
- ), (zo = gt.value) == null || zo.open(pe, Wr);
28051
+ ), (zo = gt.value) == null || zo.open(he, Wr);
28031
28052
  return;
28032
28053
  }
28033
- const Ve = (Ht = (na = pe.target) == null ? void 0 : na.closest("[data-op]")) == null ? void 0 : Ht.dataset.op;
28054
+ const Ve = (Ht = (na = he.target) == null ? void 0 : na.closest("[data-op]")) == null ? void 0 : Ht.dataset.op;
28034
28055
  if (Ve) {
28035
28056
  if (o.isEntityLocked(Y.id)) return;
28036
- (no = gt.value) == null || no.open(pe, [
28057
+ (no = gt.value) == null || no.open(he, [
28037
28058
  { caption: o.t("em.ctx.addOperation"), icon: "method", handler: () => o.addOperation(Y.id) },
28038
28059
  {
28039
28060
  type: "swatches",
@@ -28095,15 +28116,15 @@ const dP = {
28095
28116
  }
28096
28117
  }), ot.push({ type: "separator" }), ot.push({ caption: o.t("em.ctx.deleteEntity"), icon: "trash", danger: !0, handler: () => o.removeEntity(Y.id) });
28097
28118
  }
28098
- (ts = gt.value) == null || ts.open(pe, ot);
28119
+ (ts = gt.value) == null || ts.open(he, ot);
28099
28120
  }
28100
28121
  function Pt({ event: k, edge: Y }) {
28101
28122
  var qe, tt;
28102
- const pe = k;
28103
- if (pe.preventDefault(), !o.editable.value) return;
28123
+ const he = k;
28124
+ if (he.preventDefault(), !o.editable.value) return;
28104
28125
  const Re = I(Y.id);
28105
28126
  if (Re) {
28106
- (qe = gt.value) == null || qe.open(pe, [
28127
+ (qe = gt.value) == null || qe.open(he, [
28107
28128
  { caption: o.t("em.ctx.clearWaypoints"), icon: "route", handler: () => o.clearNoteConnectionWaypoints(Re.noteRef, Re.targetRef) },
28108
28129
  { type: "separator" },
28109
28130
  {
@@ -28121,7 +28142,7 @@ const dP = {
28121
28142
  o.isAssociationLocked(Y.id) || Ve.push(
28122
28143
  { type: "separator" },
28123
28144
  { caption: o.t("em.ctx.deleteAssociation"), icon: "trash", danger: !0, handler: () => o.removeAssociation(Y.id) }
28124
- ), (tt = gt.value) == null || tt.open(pe, Ve);
28145
+ ), (tt = gt.value) == null || tt.open(he, Ve);
28125
28146
  }
28126
28147
  function Je(k) {
28127
28148
  return k === "group" ? "group" : k === "note" ? "note" : "entity";
@@ -28144,9 +28165,9 @@ const dP = {
28144
28165
  const Y = o.selection.value;
28145
28166
  return !!Y && Y.kind !== "attribute" && Y.id === k.id;
28146
28167
  }
28147
- function Ke(k) {
28148
- var Y, pe;
28149
- return ue(k) ? k.type === "group" ? "color-mix(in srgb, var(--em-selection) 22%, transparent)" : "var(--em-selection)" : k.type === "note" ? "var(--em-note-soft)" : k.type === "group" ? nm(un((Y = k.data) == null ? void 0 : Y.style), !0) ?? "var(--em-mm-group)" : nm(un((pe = k.data) == null ? void 0 : pe.style)) ?? "var(--em-mm-entity)";
28168
+ function Ge(k) {
28169
+ var Y, he;
28170
+ return ue(k) ? k.type === "group" ? "color-mix(in srgb, var(--em-selection) 22%, transparent)" : "var(--em-selection)" : k.type === "note" ? "var(--em-note-soft)" : k.type === "group" ? nm(un((Y = k.data) == null ? void 0 : Y.style), !0) ?? "var(--em-mm-group)" : nm(un((he = k.data) == null ? void 0 : he.style)) ?? "var(--em-mm-entity)";
28150
28171
  }
28151
28172
  function nt(k) {
28152
28173
  return ue(k) ? "var(--em-selection)" : k.type === "note" ? "var(--em-note-accent)" : k.type === "group" ? "var(--em-node-border)" : "var(--em-on-surface-muted)";
@@ -28160,8 +28181,8 @@ const dP = {
28160
28181
  if (!k) return;
28161
28182
  const Y = j(k.id);
28162
28183
  if (!Y) return;
28163
- const pe = Y.computedPosition ?? Y.position, Re = Y.dimensions ?? { width: 0, height: 0 };
28164
- jt(pe.x + Re.width / 2, pe.y + Re.height / 2);
28184
+ const he = Y.computedPosition ?? Y.position, Re = Y.dimensions ?? { width: 0, height: 0 };
28185
+ jt(he.x + Re.width / 2, he.y + Re.height / 2);
28165
28186
  }
28166
28187
  );
28167
28188
  function on({ position: k }) {
@@ -28169,8 +28190,8 @@ const dP = {
28169
28190
  }
28170
28191
  function st({ node: k }) {
28171
28192
  o.selection.value = { kind: Je(k.type), id: k.id };
28172
- const Y = k.computedPosition ?? k.position, pe = k.dimensions ?? { width: 0, height: 0 };
28173
- jt(Y.x + pe.width / 2, Y.y + pe.height / 2);
28193
+ const Y = k.computedPosition ?? k.position, he = k.dimensions ?? { width: 0, height: 0 };
28194
+ jt(Y.x + he.width / 2, Y.y + he.height / 2);
28174
28195
  }
28175
28196
  function Ze({ node: k }) {
28176
28197
  T({ nodes: [k.id], duration: 350, maxZoom: 1.2, padding: 0.6 });
@@ -28199,38 +28220,38 @@ const dP = {
28199
28220
  onMoveStart: be,
28200
28221
  onMoveEnd: Ce,
28201
28222
  onConnect: Zt,
28202
- onConnectStart: Y[1] || (Y[1] = (pe) => c.value = !0),
28203
- onConnectEnd: Y[2] || (Y[2] = (pe) => c.value = !1),
28223
+ onConnectStart: Y[1] || (Y[1] = (he) => c.value = !0),
28224
+ onConnectEnd: Y[2] || (Y[2] = (he) => c.value = !1),
28204
28225
  onNodeDrag: Vt,
28205
28226
  onNodeDragStop: rt,
28206
28227
  onNodeClick: Q,
28207
28228
  onEdgeClick: Z,
28208
28229
  onSelectionChange: _n,
28209
- onPaneClick: Y[3] || (Y[3] = (pe) => m(o).selection.value = null),
28230
+ onPaneClick: Y[3] || (Y[3] = (he) => m(o).selection.value = null),
28210
28231
  onPaneContextMenu: Qt,
28211
28232
  onNodeContextMenu: to,
28212
28233
  onEdgeContextMenu: Pt
28213
28234
  }, {
28214
- "node-group": dt((pe) => [
28215
- q(fS, Fo(Ii(pe)), null, 16)
28235
+ "node-group": dt((he) => [
28236
+ q(fS, Fo(Ii(he)), null, 16)
28216
28237
  ]),
28217
- "node-entity": dt((pe) => [
28218
- q(sS, Fo(Ii(pe)), null, 16)
28238
+ "node-entity": dt((he) => [
28239
+ q(sS, Fo(Ii(he)), null, 16)
28219
28240
  ]),
28220
- "node-note": dt((pe) => [
28221
- q(vS, Fo(Ii(pe)), null, 16)
28241
+ "node-note": dt((he) => [
28242
+ q(vS, Fo(Ii(he)), null, 16)
28222
28243
  ]),
28223
- "edge-association": dt((pe) => [
28224
- q(zS, Fo(Ii(pe)), null, 16)
28244
+ "edge-association": dt((he) => [
28245
+ q(zS, Fo(Ii(he)), null, 16)
28225
28246
  ]),
28226
- "edge-note-connection": dt((pe) => [
28227
- q(uO, Fo(Ii(pe)), null, 16)
28247
+ "edge-note-connection": dt((he) => [
28248
+ q(uO, Fo(Ii(he)), null, 16)
28228
28249
  ]),
28229
- "edge-serialized-type": dt((pe) => [
28230
- q(pO, Fo(Ii(pe)), null, 16)
28250
+ "edge-serialized-type": dt((he) => [
28251
+ q(pO, Fo(Ii(he)), null, 16)
28231
28252
  ]),
28232
28253
  default: dt(() => [
28233
- m(o).showGrid.value ? (x(), Ye(m(YS), {
28254
+ m(o).showGrid.value ? (x(), Ke(m(YS), {
28234
28255
  key: 0,
28235
28256
  gap: 16,
28236
28257
  "pattern-color": "var(--em-border)"
@@ -28268,7 +28289,7 @@ const dP = {
28268
28289
  }, 8, ["title"]),
28269
28290
  q(m(Zo), {
28270
28291
  title: m(o).t("em.palette.autoLayout"),
28271
- onClick: Y[0] || (Y[0] = (pe) => m(o).autoLayout())
28292
+ onClick: Y[0] || (Y[0] = (he) => m(o).autoLayout())
28272
28293
  }, {
28273
28294
  default: dt(() => [
28274
28295
  q(Be, {
@@ -28282,12 +28303,12 @@ const dP = {
28282
28303
  ]),
28283
28304
  _: 1
28284
28305
  }),
28285
- m(o).showMinimap.value ? (x(), Ye(m(sO), {
28306
+ m(o).showMinimap.value ? (x(), Ke(m(sO), {
28286
28307
  key: 1,
28287
28308
  pannable: "",
28288
28309
  width: 224,
28289
28310
  height: 160,
28290
- "node-color": Ke,
28311
+ "node-color": Ge,
28291
28312
  "node-stroke-color": nt,
28292
28313
  "node-border-radius": 4,
28293
28314
  "node-stroke-width": 2,
@@ -28303,39 +28324,40 @@ const dP = {
28303
28324
  ]),
28304
28325
  _: 1
28305
28326
  }, 8, ["only-render-visible-elements", "nodes-draggable", "nodes-connectable", "connection-mode"]),
28306
- ce.value ? (x(), L("div", dP, [
28327
+ ce.value ? (x(), L("div", cP, [
28307
28328
  m(o).editable.value ? (x(), L(Ie, { key: 0 }, [
28308
- $("p", cP, X(m(o).t("em.canvas.emptyTitle")), 1),
28329
+ $("p", uP, X(m(o).t("em.canvas.emptyTitle")), 1),
28309
28330
  $("p", {
28310
28331
  class: "em-canvas__empty-hint",
28311
28332
  innerHTML: m(o).t("em.canvas.emptyHint")
28312
- }, null, 8, uP),
28333
+ }, null, 8, mP),
28313
28334
  $("p", {
28314
28335
  class: "em-canvas__empty-hint",
28315
28336
  innerHTML: m(o).t("em.canvas.emptyConnectHint")
28316
- }, null, 8, mP),
28337
+ }, null, 8, fP),
28317
28338
  $("p", {
28318
28339
  class: "em-canvas__empty-hint em-canvas__empty-sub",
28319
28340
  innerHTML: m(o).t("em.canvas.emptyShortcutHint")
28320
- }, null, 8, fP)
28321
- ], 64)) : (x(), L("p", pP, X(m(o).t("em.canvas.emptyReadonly")), 1))
28341
+ }, null, 8, pP)
28342
+ ], 64)) : (x(), L("p", hP, X(m(o).t("em.canvas.emptyReadonly")), 1))
28322
28343
  ])) : de("", !0),
28323
- a.value ? (x(), Ye(rP, {
28344
+ a.value ? (x(), Ke(rP, {
28324
28345
  key: 1,
28325
28346
  controller: m(o),
28326
- onClose: Y[4] || (Y[4] = (pe) => a.value = !1)
28347
+ onClose: Y[4] || (Y[4] = (he) => a.value = !1)
28327
28348
  }, null, 8, ["controller"])) : de("", !0),
28328
28349
  q(Na, { name: "em-conflict-fade" }, {
28329
28350
  default: dt(() => [
28330
- d.value ? (x(), L("div", hP, [
28331
- q(Be, {
28351
+ d.value ? (x(), L("div", yP, [
28352
+ d.value.reloading ? (x(), L("span", vP)) : (x(), Ke(Be, {
28353
+ key: 1,
28332
28354
  name: "alert-triangle",
28333
28355
  size: 16,
28334
28356
  class: "em-conflict-banner__icon"
28335
- }),
28336
- $("div", yP, [
28337
- $("strong", vP, X(d.value.title), 1),
28338
- $("span", gP, X(d.value.detail), 1)
28357
+ })),
28358
+ $("div", gP, [
28359
+ $("strong", bP, X(d.value.title), 1),
28360
+ $("span", _P, X(d.value.detail), 1)
28339
28361
  ])
28340
28362
  ])) : de("", !0)
28341
28363
  ]),
@@ -28346,23 +28368,23 @@ const dP = {
28346
28368
  ref: gt,
28347
28369
  locale: m(o).uiLocale.value
28348
28370
  }, null, 8, ["locale"]),
28349
- (x(), Ye(gr, { to: "body" }, [
28371
+ (x(), Ke(gr, { to: "body" }, [
28350
28372
  q(Na, { name: "em-toast-fade" }, {
28351
28373
  default: dt(() => [
28352
- s.value ? (x(), L("div", bP, X(s.value), 1)) : de("", !0)
28374
+ s.value ? (x(), L("div", wP, X(s.value), 1)) : de("", !0)
28353
28375
  ]),
28354
28376
  _: 1
28355
28377
  })
28356
28378
  ]))
28357
28379
  ], 2));
28358
28380
  }
28359
- }), wP = /* @__PURE__ */ wt(_P, [["__scopeId", "data-v-934041e8"]]), IP = { class: "em-explorer em-scroll-overlay" }, kP = { class: "em-explorer__search" }, EP = ["placeholder", "aria-label"], NP = ["aria-label", "title"], CP = {
28381
+ }), kP = /* @__PURE__ */ wt(IP, [["__scopeId", "data-v-c88d8f67"]]), EP = { class: "em-explorer em-scroll-overlay" }, NP = { class: "em-explorer__search" }, CP = ["placeholder", "aria-label"], RP = ["aria-label", "title"], AP = {
28360
28382
  key: 0,
28361
28383
  class: "em-explorer__empty"
28362
- }, RP = ["aria-label"], AP = ["data-key", "aria-level", "aria-posinset", "aria-setsize", "aria-expanded", "aria-selected", "tabindex", "onClick", "onDblclick", "onFocus", "onKeydown"], $P = ["onClick"], xP = ["title"], SP = { class: "em-key-slot" }, TP = { class: "em-key-slot" }, MP = { class: "em-explorer__label" }, LP = {
28384
+ }, $P = ["aria-label"], xP = ["data-key", "aria-level", "aria-posinset", "aria-setsize", "aria-expanded", "aria-selected", "tabindex", "onClick", "onDblclick", "onFocus", "onKeydown"], SP = ["onClick"], TP = ["title"], MP = { class: "em-key-slot" }, LP = { class: "em-key-slot" }, OP = { class: "em-explorer__label" }, PP = {
28363
28385
  key: 2,
28364
28386
  class: "em-explorer__sr"
28365
- }, OP = /* @__PURE__ */ et({
28387
+ }, DP = /* @__PURE__ */ et({
28366
28388
  __name: "DiagramExplorer",
28367
28389
  props: {
28368
28390
  controller: {},
@@ -28536,7 +28558,7 @@ const dP = {
28536
28558
  storageKey: n.storageKey,
28537
28559
  // 문서마다 트리가 다르므로 저장 슬롯을 다이어그램 단위로 가른다.
28538
28560
  scope: () => o.state.layout.diagramId
28539
- }), p = he(""), y = he(null), v = U(() => p.value.trim().length > 0), g = U(() => {
28561
+ }), p = pe(""), y = pe(null), v = U(() => p.value.trim().length > 0), g = U(() => {
28540
28562
  const z = [];
28541
28563
  if (v.value) {
28542
28564
  const A = KO(a.value, p.value.trim().toLowerCase()), E = (T, M, G, K, B) => {
@@ -28551,7 +28573,7 @@ const dP = {
28551
28573
  z.push({ node: A, depth: E, parentKey: T, posinset: M, setsize: G }), d(A.key) || A.children.forEach((K, B) => w(K, E + 1, A.key, B + 1, A.children.length));
28552
28574
  };
28553
28575
  return w(a.value, 0, null, 1, 1), z;
28554
- }), b = he(null), _ = he(null), h = U(() => {
28576
+ }), b = pe(null), _ = pe(null), h = U(() => {
28555
28577
  var w;
28556
28578
  const z = g.value;
28557
28579
  return _.value && z.some((A) => A.node.key === _.value) ? _.value : ((w = z[0]) == null ? void 0 : w.node.key) ?? null;
@@ -28621,8 +28643,8 @@ const dP = {
28621
28643
  function H(z) {
28622
28644
  z.selectKind === "entity" && z.selectId && dr(i, o, z.selectId);
28623
28645
  }
28624
- return (z, w) => (x(), L("section", IP, [
28625
- $("div", kP, [
28646
+ return (z, w) => (x(), L("section", EP, [
28647
+ $("div", NP, [
28626
28648
  q(Be, {
28627
28649
  name: "search",
28628
28650
  size: 14,
@@ -28637,7 +28659,7 @@ const dP = {
28637
28659
  placeholder: m(o).t("em.explorer.searchPlaceholder"),
28638
28660
  "aria-label": m(o).t("em.explorer.searchAria"),
28639
28661
  onKeydown: w[1] || (w[1] = _t((A) => p.value = "", ["esc"]))
28640
- }, null, 40, EP), [
28662
+ }, null, 40, CP), [
28641
28663
  [po, p.value]
28642
28664
  ]),
28643
28665
  p.value ? (x(), L("button", {
@@ -28652,9 +28674,9 @@ const dP = {
28652
28674
  name: "x",
28653
28675
  size: 13
28654
28676
  })
28655
- ], 8, NP)) : de("", !0)
28677
+ ], 8, RP)) : de("", !0)
28656
28678
  ]),
28657
- I.value ? (x(), L("p", CP, X(m(o).t("em.explorer.noMatches")), 1)) : de("", !0),
28679
+ I.value ? (x(), L("p", AP, X(m(o).t("em.explorer.noMatches")), 1)) : de("", !0),
28658
28680
  $("div", {
28659
28681
  ref_key: "rowsEl",
28660
28682
  ref: b,
@@ -28662,7 +28684,7 @@ const dP = {
28662
28684
  role: "tree",
28663
28685
  "aria-label": m(o).t("em.explorer.treeAria")
28664
28686
  }, [
28665
- (x(!0), L(Ie, null, Ge(g.value, (A) => (x(), L("div", {
28687
+ (x(!0), L(Ie, null, Ye(g.value, (A) => (x(), L("div", {
28666
28688
  key: A.node.key,
28667
28689
  class: Ae(["em-explorer__row", {
28668
28690
  "is-active": O(A.node),
@@ -28687,52 +28709,52 @@ const dP = {
28687
28709
  class: Ae(["em-explorer__chevron", { "is-leaf": !A.node.children.length, "is-open": !C(A.node.key) }]),
28688
28710
  onClick: Xe((E) => A.node.children.length && m(c)(A.node.key), ["stop"])
28689
28711
  }, [
28690
- A.node.children.length ? (x(), Ye(Be, {
28712
+ A.node.children.length ? (x(), Ke(Be, {
28691
28713
  key: 0,
28692
28714
  name: "chevron",
28693
28715
  size: 14
28694
28716
  })) : de("", !0)
28695
- ], 10, $P),
28717
+ ], 10, SP),
28696
28718
  A.node.keyMarks ? (x(), L("span", {
28697
28719
  key: 0,
28698
28720
  class: "em-explorer__keys",
28699
28721
  title: s(A.node.keyMarks),
28700
28722
  "aria-hidden": "true"
28701
28723
  }, [
28702
- $("span", SP, [
28703
- A.node.keyMarks.pk ? (x(), Ye(Be, {
28724
+ $("span", MP, [
28725
+ A.node.keyMarks.pk ? (x(), Ke(Be, {
28704
28726
  key: 0,
28705
28727
  name: "key",
28706
28728
  size: 14,
28707
28729
  class: "em-key is-pk"
28708
- })) : A.node.keyMarks.fk ? de("", !0) : (x(), Ye(Be, {
28730
+ })) : A.node.keyMarks.fk ? de("", !0) : (x(), Ke(Be, {
28709
28731
  key: 1,
28710
28732
  class: "em-explorer__icon",
28711
28733
  name: A.node.icon,
28712
28734
  size: 14
28713
28735
  }, null, 8, ["name"]))
28714
28736
  ]),
28715
- $("span", TP, [
28716
- A.node.keyMarks.fk ? (x(), Ye(Be, {
28737
+ $("span", LP, [
28738
+ A.node.keyMarks.fk ? (x(), Ke(Be, {
28717
28739
  key: 0,
28718
28740
  name: "key",
28719
28741
  size: 14,
28720
28742
  class: "em-key is-fk"
28721
28743
  })) : de("", !0)
28722
28744
  ])
28723
- ], 8, xP)) : (x(), Ye(Be, {
28745
+ ], 8, TP)) : (x(), Ke(Be, {
28724
28746
  key: 1,
28725
28747
  class: "em-explorer__icon",
28726
28748
  name: A.node.icon,
28727
28749
  size: 15
28728
28750
  }, null, 8, ["name"])),
28729
- $("span", MP, X(A.node.label), 1),
28730
- s(A.node.keyMarks) ? (x(), L("span", LP, X(s(A.node.keyMarks)), 1)) : de("", !0)
28731
- ], 46, AP))), 128))
28732
- ], 8, RP)
28751
+ $("span", OP, X(A.node.label), 1),
28752
+ s(A.node.keyMarks) ? (x(), L("span", PP, X(s(A.node.keyMarks)), 1)) : de("", !0)
28753
+ ], 46, xP))), 128))
28754
+ ], 8, $P)
28733
28755
  ]));
28734
28756
  }
28735
- }), PP = /* @__PURE__ */ wt(OP, [["__scopeId", "data-v-ffebc201"]]), DP = { class: "em-text-export" }, VP = ["id", "aria-selected", "tabindex", "onClick"], BP = ["aria-labelledby"], zP = { class: "em-text-export__actions" }, UP = /* @__PURE__ */ et({
28757
+ }), VP = /* @__PURE__ */ wt(DP, [["__scopeId", "data-v-ffebc201"]]), BP = { class: "em-text-export" }, zP = ["id", "aria-selected", "tabindex", "onClick"], UP = ["aria-labelledby"], FP = { class: "em-text-export__actions" }, HP = /* @__PURE__ */ et({
28736
28758
  __name: "TextExportModal",
28737
28759
  props: {
28738
28760
  formats: {},
@@ -28740,11 +28762,11 @@ const dP = {
28740
28762
  locale: {}
28741
28763
  },
28742
28764
  setup(e) {
28743
- const t = e, n = za(), o = (u, f) => Qn(t.locale ?? "ko", u, f), i = he(0);
28765
+ const t = e, n = za(), o = (u, f) => Qn(t.locale ?? "ko", u, f), i = pe(0);
28744
28766
  function a() {
28745
28767
  return t.formats[i.value] ?? t.formats[0];
28746
28768
  }
28747
- const s = he(null);
28769
+ const s = pe(null);
28748
28770
  async function r(u) {
28749
28771
  var f, p;
28750
28772
  i.value = u, await Lt(), (p = (f = s.value) == null ? void 0 : f.querySelectorAll('[role="tab"]')[u]) == null || p.focus();
@@ -28769,11 +28791,11 @@ const dP = {
28769
28791
  URL.revokeObjectURL(p);
28770
28792
  }
28771
28793
  }
28772
- return (u, f) => (x(), Ye(m(Ua), {
28794
+ return (u, f) => (x(), Ke(m(Ua), {
28773
28795
  title: t.title ?? o("em.export.title")
28774
28796
  }, {
28775
28797
  default: dt(() => [
28776
- $("div", DP, [
28798
+ $("div", BP, [
28777
28799
  t.formats.length > 1 ? (x(), L("div", {
28778
28800
  key: 0,
28779
28801
  ref_key: "tabsEl",
@@ -28781,7 +28803,7 @@ const dP = {
28781
28803
  class: "em-text-export__tabs",
28782
28804
  role: "tablist"
28783
28805
  }, [
28784
- (x(!0), L(Ie, null, Ge(t.formats, (p, y) => (x(), L("button", {
28806
+ (x(!0), L(Ie, null, Ye(t.formats, (p, y) => (x(), L("button", {
28785
28807
  id: `em-text-export-tab-${y}`,
28786
28808
  key: p.key,
28787
28809
  type: "button",
@@ -28797,7 +28819,7 @@ const dP = {
28797
28819
  f[2] || (f[2] = _t(Xe((v) => r(0), ["prevent"]), ["home"])),
28798
28820
  f[3] || (f[3] = _t(Xe((v) => r(t.formats.length - 1), ["prevent"]), ["end"]))
28799
28821
  ]
28800
- }, X(p.label), 43, VP))), 128))
28822
+ }, X(p.label), 43, zP))), 128))
28801
28823
  ], 512)) : de("", !0),
28802
28824
  $("pre", {
28803
28825
  id: "em-text-export-panel",
@@ -28805,8 +28827,8 @@ const dP = {
28805
28827
  role: "tabpanel",
28806
28828
  tabindex: "0",
28807
28829
  "aria-labelledby": t.formats.length > 1 ? `em-text-export-tab-${i.value}` : void 0
28808
- }, X(a().content), 9, BP),
28809
- $("div", zP, [
28830
+ }, X(a().content), 9, UP),
28831
+ $("div", FP, [
28810
28832
  q(m(ut), {
28811
28833
  caption: o("em.export.copy"),
28812
28834
  onClick: d
@@ -28826,37 +28848,37 @@ const dP = {
28826
28848
  _: 1
28827
28849
  }, 8, ["title"]));
28828
28850
  }
28829
- }), FP = /* @__PURE__ */ wt(UP, [["__scopeId", "data-v-74551f98"]]), HP = { class: "em-text-import" }, jP = ["aria-label"], KP = ["aria-checked", "tabindex", "onClick"], GP = ["placeholder"], YP = {
28851
+ }), jP = /* @__PURE__ */ wt(HP, [["__scopeId", "data-v-74551f98"]]), KP = { class: "em-text-import" }, GP = ["aria-label"], YP = ["aria-checked", "tabindex", "onClick"], qP = ["placeholder"], WP = {
28830
28852
  key: 0,
28831
28853
  class: "em-text-import__locale"
28832
- }, qP = {
28854
+ }, JP = {
28833
28855
  key: 0,
28834
28856
  class: "em-text-import__locale-marker"
28835
- }, WP = { class: "em-text-import__locale-label" }, JP = { class: "em-text-import__locale-hint" }, XP = { class: "em-text-import__status" }, ZP = { class: "em-text-import__ok" }, QP = {
28857
+ }, XP = { class: "em-text-import__locale-label" }, ZP = { class: "em-text-import__locale-hint" }, QP = { class: "em-text-import__status" }, eD = { class: "em-text-import__ok" }, tD = {
28836
28858
  key: 0,
28837
28859
  class: "em-text-import__warn"
28838
- }, eD = {
28860
+ }, nD = {
28839
28861
  key: 1,
28840
28862
  class: "em-text-import__err"
28841
- }, tD = {
28863
+ }, oD = {
28842
28864
  key: 2,
28843
28865
  class: "em-text-import__err"
28844
- }, nD = {
28866
+ }, iD = {
28845
28867
  key: 3,
28846
28868
  class: "em-text-import__err"
28847
- }, oD = { class: "em-text-import__actions" }, iD = /* @__PURE__ */ et({
28869
+ }, aD = { class: "em-text-import__actions" }, sD = /* @__PURE__ */ et({
28848
28870
  __name: "TextImportModal",
28849
28871
  props: {
28850
28872
  onImport: { type: Function },
28851
28873
  locale: {}
28852
28874
  },
28853
28875
  setup(e) {
28854
- const t = e, n = za(), o = (h, C) => Qn(t.locale ?? "ko", h, C), i = he(""), a = he("auto"), s = he(""), r = [{ v: "" }, ...Lo.map((h) => ({ v: h }))], l = [
28876
+ const t = e, n = za(), o = (h, C) => Qn(t.locale ?? "ko", h, C), i = pe(""), a = pe("auto"), s = pe(""), r = [{ v: "" }, ...Lo.map((h) => ({ v: h }))], l = [
28855
28877
  { key: "auto", labelKey: "em.import.formatAuto" },
28856
28878
  { key: "mermaid", labelKey: "em.import.formatMermaid" },
28857
28879
  { key: "ddl", labelKey: "em.import.formatDdl" },
28858
28880
  { key: "json", labelKey: "em.import.formatJson" }
28859
- ], d = he(null);
28881
+ ], d = pe(null);
28860
28882
  async function c(h) {
28861
28883
  var N, R;
28862
28884
  const C = l[(h + l.length) % l.length];
@@ -28898,11 +28920,11 @@ const dP = {
28898
28920
  const h = y.value;
28899
28921
  h.status !== "ok" || !h.source || (t.onImport(h.source), n.close());
28900
28922
  }
28901
- return (h, C) => (x(), Ye(m(Ua), {
28923
+ return (h, C) => (x(), Ke(m(Ua), {
28902
28924
  title: o("em.import.title")
28903
28925
  }, {
28904
28926
  default: dt(() => [
28905
- $("div", HP, [
28927
+ $("div", KP, [
28906
28928
  $("div", {
28907
28929
  ref_key: "fmtEl",
28908
28930
  ref: d,
@@ -28910,7 +28932,7 @@ const dP = {
28910
28932
  role: "radiogroup",
28911
28933
  "aria-label": o("em.import.formatGroup")
28912
28934
  }, [
28913
- (x(), L(Ie, null, Ge(l, (N) => $("button", {
28935
+ (x(), L(Ie, null, Ye(l, (N) => $("button", {
28914
28936
  key: N.key,
28915
28937
  type: "button",
28916
28938
  role: "radio",
@@ -28924,19 +28946,19 @@ const dP = {
28924
28946
  C[2] || (C[2] = _t(Xe((R) => c(0), ["prevent"]), ["home"])),
28925
28947
  C[3] || (C[3] = _t(Xe((R) => c(l.length - 1), ["prevent"]), ["end"]))
28926
28948
  ]
28927
- }, X(o(N.labelKey)), 43, KP)), 64))
28928
- ], 8, jP),
28949
+ }, X(o(N.labelKey)), 43, YP)), 64))
28950
+ ], 8, GP),
28929
28951
  mn($("textarea", {
28930
28952
  "onUpdate:modelValue": C[4] || (C[4] = (N) => i.value = N),
28931
28953
  class: "em-text-import__input",
28932
28954
  placeholder: o("em.import.placeholder"),
28933
28955
  spellcheck: "false"
28934
- }, null, 8, GP), [
28956
+ }, null, 8, qP), [
28935
28957
  [po, i.value]
28936
28958
  ]),
28937
- v.value ? (x(), L("div", YP, [
28938
- v.value.markerLocale ? (x(), L("span", qP, X(o("em.import.commentMarker", { locale: v.value.markerLocale })), 1)) : (x(), L(Ie, { key: 1 }, [
28939
- $("label", WP, [
28959
+ v.value ? (x(), L("div", WP, [
28960
+ v.value.markerLocale ? (x(), L("span", JP, X(o("em.import.commentMarker", { locale: v.value.markerLocale })), 1)) : (x(), L(Ie, { key: 1 }, [
28961
+ $("label", XP, [
28940
28962
  kn(X(o("em.import.commentLocale")) + " ", 1),
28941
28963
  q(m(ft), {
28942
28964
  modelValue: s.value,
@@ -28947,7 +28969,7 @@ const dP = {
28947
28969
  "label-provider": (N) => N.v === "" ? o("em.import.commentLocaleUnset") : N.v
28948
28970
  }, null, 8, ["modelValue", "value-provider", "label-provider"])
28949
28971
  ]),
28950
- $("span", JP, X(o("em.import.commentEvidence", {
28972
+ $("span", ZP, X(o("em.import.commentEvidence", {
28951
28973
  n: v.value.comments,
28952
28974
  hangul: v.value.hangul,
28953
28975
  kana: v.value.kana,
@@ -28955,13 +28977,13 @@ const dP = {
28955
28977
  })) + " · " + X(g.value), 1)
28956
28978
  ], 64))
28957
28979
  ])) : de("", !0),
28958
- $("div", XP, [
28980
+ $("div", QP, [
28959
28981
  y.value.status === "ok" && y.value.source ? (x(), L(Ie, { key: 0 }, [
28960
- $("span", ZP, X(o("em.import.detected", { format: o(`em.import.format${p.value === "json" ? "Json" : p.value === "ddl" ? "Ddl" : "Mermaid"}`) })) + " · " + X(o("em.import.summary", { entities: y.value.source.logical.entities.length, relations: y.value.source.logical.associations.length })), 1),
28961
- y.value.warnings && y.value.warnings.length ? (x(), L("span", QP, " ⚠ " + X(o("em.import.warnings", { n: y.value.warnings.length })), 1)) : de("", !0)
28962
- ], 64)) : y.value.status === "error" ? (x(), L("span", eD, X(o("em.import.error", { message: y.value.message ?? "" })), 1)) : y.value.status === "unknown" ? (x(), L("span", tD, X(o("em.import.unknownFormat")), 1)) : y.value.status === "emptyParse" ? (x(), L("span", nD, X(o("em.import.emptyParse")), 1)) : de("", !0)
28982
+ $("span", eD, X(o("em.import.detected", { format: o(`em.import.format${p.value === "json" ? "Json" : p.value === "ddl" ? "Ddl" : "Mermaid"}`) })) + " · " + X(o("em.import.summary", { entities: y.value.source.logical.entities.length, relations: y.value.source.logical.associations.length })), 1),
28983
+ y.value.warnings && y.value.warnings.length ? (x(), L("span", tD, " ⚠ " + X(o("em.import.warnings", { n: y.value.warnings.length })), 1)) : de("", !0)
28984
+ ], 64)) : y.value.status === "error" ? (x(), L("span", nD, X(o("em.import.error", { message: y.value.message ?? "" })), 1)) : y.value.status === "unknown" ? (x(), L("span", oD, X(o("em.import.unknownFormat")), 1)) : y.value.status === "emptyParse" ? (x(), L("span", iD, X(o("em.import.emptyParse")), 1)) : de("", !0)
28963
28985
  ]),
28964
- $("div", oD, [
28986
+ $("div", aD, [
28965
28987
  q(m(ut), {
28966
28988
  caption: o("em.import.confirm"),
28967
28989
  disabled: !b.value,
@@ -28978,7 +29000,7 @@ const dP = {
28978
29000
  _: 1
28979
29001
  }, 8, ["title"]));
28980
29002
  }
28981
- }), aD = /* @__PURE__ */ wt(iD, [["__scopeId", "data-v-a5e84c63"]]), sD = { class: "em-toolbar" }, rD = ["title"], lD = { class: "em-toolbar__mode" }, dD = /* @__PURE__ */ et({
29003
+ }), rD = /* @__PURE__ */ wt(sD, [["__scopeId", "data-v-a5e84c63"]]), lD = { class: "em-toolbar" }, dD = ["title"], cD = { class: "em-toolbar__mode" }, uD = /* @__PURE__ */ et({
28982
29004
  __name: "EditorToolbar",
28983
29005
  props: {
28984
29006
  controller: {},
@@ -29008,7 +29030,7 @@ const dP = {
29008
29030
  function u() {
29009
29031
  const y = rf(o.state.logical, o.referenceOnlyDocument.value);
29010
29032
  a.openModal({
29011
- component: FP,
29033
+ component: jP,
29012
29034
  bind: {
29013
29035
  title: o.t("em.toolbar.exportText"),
29014
29036
  locale: o.uiLocale.value,
@@ -29028,7 +29050,7 @@ const dP = {
29028
29050
  }
29029
29051
  function f() {
29030
29052
  a.openModal({
29031
- component: aD,
29053
+ component: rD,
29032
29054
  bind: {
29033
29055
  locale: o.uiLocale.value,
29034
29056
  onImport: (y) => {
@@ -29040,12 +29062,12 @@ const dP = {
29040
29062
  function p() {
29041
29063
  a.openModal({ component: xv, bind: { locale: o.uiLocale.value } });
29042
29064
  }
29043
- return (y, v) => (x(), L("div", sD, [
29065
+ return (y, v) => (x(), L("div", lD, [
29044
29066
  m(o).referenceOnlyDocument.value ? (x(), L("span", {
29045
29067
  key: 0,
29046
29068
  class: "em-toolbar__refonly",
29047
29069
  title: m(o).t("em.toolbar.referenceOnlyDocHint")
29048
- }, X(m(o).t("em.toolbar.referenceOnlyBadge")), 9, rD)) : de("", !0),
29070
+ }, X(m(o).t("em.toolbar.referenceOnlyBadge")), 9, dD)) : de("", !0),
29049
29071
  q(m(ut), {
29050
29072
  variant: "text",
29051
29073
  class: "em-toolbar__icon-btn",
@@ -29077,7 +29099,7 @@ const dP = {
29077
29099
  _: 1
29078
29100
  }, 8, ["tooltip", "disabled"]),
29079
29101
  v[10] || (v[10] = $("span", { class: "em-toolbar__sep" }, null, -1)),
29080
- $("label", lD, [
29102
+ $("label", cD, [
29081
29103
  kn(X(m(o).t("em.toolbar.displayLabel")) + " ", 1),
29082
29104
  q(m(ft), {
29083
29105
  modelValue: r.value,
@@ -29252,7 +29274,7 @@ const dP = {
29252
29274
  }, 8, ["tooltip"])
29253
29275
  ]));
29254
29276
  }
29255
- }), cD = /* @__PURE__ */ wt(dD, [["__scopeId", "data-v-f45e3146"]]), uD = ["title"], mD = ["title"], fD = ["disabled", "aria-pressed"], pD = ["disabled", "aria-pressed"], hD = /* @__PURE__ */ et({
29277
+ }), mD = /* @__PURE__ */ wt(uD, [["__scopeId", "data-v-f45e3146"]]), fD = ["title"], pD = ["title"], hD = ["disabled", "aria-pressed"], yD = ["disabled", "aria-pressed"], vD = /* @__PURE__ */ et({
29256
29278
  __name: "EditModeToggle",
29257
29279
  props: {
29258
29280
  editable: { type: Boolean },
@@ -29277,7 +29299,7 @@ const dP = {
29277
29299
  size: 14
29278
29300
  }),
29279
29301
  $("span", null, X(i("em.mode.frozen")), 1)
29280
- ], 8, uD)) : (x(), L("div", {
29302
+ ], 8, fD)) : (x(), L("div", {
29281
29303
  key: 1,
29282
29304
  class: Ae(["em-mode-toggle em-mode-segment", { "is-readonly": !e.opMode }]),
29283
29305
  role: "group",
@@ -29295,7 +29317,7 @@ const dP = {
29295
29317
  size: 13
29296
29318
  }),
29297
29319
  $("span", null, X(i("em.mode.view")), 1)
29298
- ], 10, fD),
29320
+ ], 10, hD),
29299
29321
  $("button", {
29300
29322
  type: "button",
29301
29323
  class: Ae(["em-seg", { "is-active": e.editable }]),
@@ -29308,63 +29330,63 @@ const dP = {
29308
29330
  size: 13
29309
29331
  }),
29310
29332
  $("span", null, X(i("em.mode.edit")), 1)
29311
- ], 10, pD)
29312
- ], 10, mD));
29333
+ ], 10, yD)
29334
+ ], 10, pD));
29313
29335
  }
29314
- }), NB = /* @__PURE__ */ wt(hD, [["__scopeId", "data-v-2b5162b7"]]), yD = ["disabled"], vD = { class: "em-panel__sub" }, gD = { class: "em-nav" }, bD = {
29336
+ }), RB = /* @__PURE__ */ wt(vD, [["__scopeId", "data-v-2b5162b7"]]), gD = ["disabled"], bD = { class: "em-panel__sub" }, _D = { class: "em-nav" }, wD = {
29315
29337
  key: 0,
29316
29338
  class: "em-nav__divider",
29317
29339
  "aria-hidden": "true"
29318
- }, _D = { key: 1 }, wD = ["onClick", "onKeydown"], ID = { class: "em-nav__name" }, kD = ["title"], ED = {
29340
+ }, ID = { key: 1 }, kD = ["onClick", "onKeydown"], ED = { class: "em-nav__name" }, ND = ["title"], CD = {
29319
29341
  key: 0,
29320
29342
  class: "em-panel__note"
29321
- }, ND = ["data-attr-block"], CD = {
29343
+ }, RD = ["data-attr-block"], AD = {
29322
29344
  key: 0,
29323
29345
  class: "em-embed-col__label"
29324
- }, RD = { class: "em-attr__row" }, AD = ["title"], $D = {
29346
+ }, $D = { class: "em-attr__row" }, xD = ["title"], SD = {
29325
29347
  key: 1,
29326
29348
  class: "em-attr__row"
29327
- }, xD = {
29349
+ }, TD = {
29328
29350
  key: 2,
29329
29351
  class: "em-embed-cols"
29330
- }, SD = { class: "em-embed-col" }, TD = { class: "em-embed-col__label" }, MD = { class: "em-attr__row" }, LD = { class: "em-attr__navhint" }, OD = {
29352
+ }, MD = { class: "em-embed-col" }, LD = { class: "em-embed-col__label" }, OD = { class: "em-attr__row" }, PD = { class: "em-attr__navhint" }, DD = {
29331
29353
  key: 3,
29332
29354
  class: "em-attr__navhint"
29333
- }, PD = { class: "em-attr__navhint" }, DD = { class: "em-attr__row" }, VD = { class: "em-field" }, BD = {
29355
+ }, VD = { class: "em-attr__navhint" }, BD = { class: "em-attr__row" }, zD = { class: "em-field" }, UD = {
29334
29356
  key: 0,
29335
29357
  class: "em-attr__navhint"
29336
- }, zD = { class: "em-attr__row" }, UD = { class: "em-attr__row" }, FD = ["title"], HD = { class: "em-attr__flags" }, jD = { class: "em-attr__pii" }, KD = { class: "em-attr__pii" }, GD = {
29358
+ }, FD = { class: "em-attr__row" }, HD = { class: "em-attr__row" }, jD = ["title"], KD = { class: "em-attr__flags" }, GD = { class: "em-attr__pii" }, YD = { class: "em-attr__pii" }, qD = {
29337
29359
  key: 1,
29338
29360
  class: "em-attr__pii"
29339
- }, YD = {
29361
+ }, WD = {
29340
29362
  key: 2,
29341
29363
  class: "em-attr__pii em-attr__codetop"
29342
- }, qD = { class: "em-multilang" }, WD = {
29364
+ }, JD = { class: "em-multilang" }, XD = {
29343
29365
  key: 6,
29344
29366
  class: "em-embed-cols"
29345
- }, JD = {
29367
+ }, ZD = {
29346
29368
  key: 0,
29347
29369
  class: "em-attr__navhint"
29348
- }, XD = { class: "em-embed-col__label" }, ZD = { class: "em-attr__row" }, QD = ["title"], e3 = ["title"], t3 = ["title"], n3 = { class: "em-attr__row" }, o3 = {
29370
+ }, QD = { class: "em-embed-col__label" }, e3 = { class: "em-attr__row" }, t3 = ["title"], n3 = ["title"], o3 = ["title"], i3 = { class: "em-attr__row" }, a3 = {
29349
29371
  key: 0,
29350
29372
  class: "em-embed-upd",
29351
29373
  "data-em-slot-ctl": "currency"
29352
- }, i3 = {
29374
+ }, s3 = {
29353
29375
  key: 1,
29354
29376
  class: "em-attr__navhint"
29355
- }, a3 = {
29377
+ }, r3 = {
29356
29378
  class: "em-embed-upd",
29357
29379
  "data-em-slot-ctl": "insertable"
29358
- }, s3 = {
29380
+ }, l3 = {
29359
29381
  class: "em-embed-upd",
29360
29382
  "data-em-slot-ctl": "updatable"
29361
- }, r3 = {
29383
+ }, d3 = {
29362
29384
  class: "em-embed-upd",
29363
29385
  "data-em-slot-ctl": "notnull"
29364
- }, l3 = { class: "em-attr__flags" }, d3 = { class: "em-multilang" }, c3 = { class: "em-swatch__row em-attr__swatch" }, u3 = ["title", "onClick"], m3 = ["title", "onClick"], f3 = {
29386
+ }, c3 = { class: "em-attr__flags" }, u3 = { class: "em-multilang" }, m3 = { class: "em-swatch__row em-attr__swatch" }, f3 = ["title", "onClick"], p3 = ["title", "onClick"], h3 = {
29365
29387
  key: 0,
29366
29388
  class: "em-attr__swatch-hint"
29367
- }, p3 = /* @__PURE__ */ et({
29389
+ }, y3 = /* @__PURE__ */ et({
29368
29390
  __name: "EntityColumnsSection",
29369
29391
  props: {
29370
29392
  controller: {},
@@ -29488,12 +29510,12 @@ const dP = {
29488
29510
  function ue(st) {
29489
29511
  return s.value.size > 1 && s.value.has(st.modelId);
29490
29512
  }
29491
- function Ke(st, Ze) {
29513
+ function Ge(st, Ze) {
29492
29514
  if (!o.value) return;
29493
29515
  const k = ue(st) ? n.selectedAttrIds.value : [st.modelId];
29494
29516
  n.setAttributeSwatches(o.value.modelId, k, Ze);
29495
29517
  }
29496
- const nt = he(void 0);
29518
+ const nt = pe(void 0);
29497
29519
  function jt(st) {
29498
29520
  if (!st || !o.value) return;
29499
29521
  const Ze = n.addPredefinedEmbed(o.value.modelId, st);
@@ -29509,14 +29531,14 @@ const dP = {
29509
29531
  class: "em-section",
29510
29532
  disabled: !m(n).editable.value
29511
29533
  }, [
29512
- $("h4", vD, [
29534
+ $("h4", bD, [
29513
29535
  kn(X(m(n).t("em.attr.section", { n: Qt.value.length })) + " ", 1),
29514
29536
  q(m(ut), {
29515
29537
  variant: "text",
29516
29538
  caption: m(n).t("em.common.add"),
29517
29539
  onClick: on
29518
29540
  }, null, 8, ["caption"]),
29519
- m(Te).length ? (x(), Ye(m(ft), {
29541
+ m(Te).length ? (x(), Ke(m(ft), {
29520
29542
  key: 0,
29521
29543
  width: "120px",
29522
29544
  placeholder: m(n).t("em.attr.addEmbeddable"),
@@ -29527,13 +29549,13 @@ const dP = {
29527
29549
  "onUpdate:modelValue": jt
29528
29550
  }, null, 8, ["placeholder", "model-value", "items", "value-provider", "label-provider"])) : de("", !0)
29529
29551
  ]),
29530
- $("ul", gD, [
29531
- (x(!0), L(Ie, null, Ge(to.value, (k) => (x(), L(Ie, {
29552
+ $("ul", _D, [
29553
+ (x(!0), L(Ie, null, Ye(to.value, (k) => (x(), L(Ie, {
29532
29554
  key: k.modelId
29533
29555
  }, [
29534
- k.attrType === "DIVIDER" ? (x(), L("li", bD, [...Ze[0] || (Ze[0] = [
29556
+ k.attrType === "DIVIDER" ? (x(), L("li", wD, [...Ze[0] || (Ze[0] = [
29535
29557
  $("hr", null, null, -1)
29536
- ])])) : (x(), L("li", _D, [
29558
+ ])])) : (x(), L("li", ID, [
29537
29559
  $("div", {
29538
29560
  class: Ae(["em-nav__item", { "is-selected": m(s).has(k.modelId) }]),
29539
29561
  role: "button",
@@ -29544,43 +29566,43 @@ const dP = {
29544
29566
  _t(Xe((Y) => _n(k, Y), ["prevent"]), ["space"])
29545
29567
  ]
29546
29568
  }, [
29547
- $("span", ID, X(k.name || m(n).t("em.attr.nameless")), 1),
29569
+ $("span", ED, X(k.name || m(n).t("em.attr.nameless")), 1),
29548
29570
  $("span", {
29549
29571
  class: "em-nav__marks",
29550
29572
  title: Q(k)
29551
29573
  }, [
29552
- Je(k).pk ? (x(), Ye(Be, {
29574
+ Je(k).pk ? (x(), Ke(Be, {
29553
29575
  key: 0,
29554
29576
  name: "key",
29555
29577
  size: 12,
29556
29578
  class: "em-nav-key is-pk"
29557
- })) : Je(k).required ? (x(), Ye(Be, {
29579
+ })) : Je(k).required ? (x(), Ke(Be, {
29558
29580
  key: 1,
29559
29581
  name: "asterisk",
29560
29582
  size: 14,
29561
29583
  class: "em-nav-key is-required"
29562
29584
  })) : de("", !0),
29563
- Je(k).fk ? (x(), Ye(Be, {
29585
+ Je(k).fk ? (x(), Ke(Be, {
29564
29586
  key: 2,
29565
29587
  name: "key",
29566
29588
  size: 12,
29567
29589
  class: "em-nav-key is-fk"
29568
29590
  })) : de("", !0)
29569
- ], 8, kD)
29570
- ], 42, wD)
29591
+ ], 8, ND)
29592
+ ], 42, kD)
29571
29593
  ]))
29572
29594
  ], 64))), 128))
29573
29595
  ]),
29574
- Qt.value.length && !Pt.value.length ? (x(), L("p", ED, X(m(n).t("em.attr.selectHint")), 1)) : de("", !0),
29575
- (x(!0), L(Ie, null, Ge(Pt.value, (k) => {
29576
- var Y, pe, Re, Ve, qe, tt, ot, Se, ct, mt;
29596
+ Qt.value.length && !Pt.value.length ? (x(), L("p", CD, X(m(n).t("em.attr.selectHint")), 1)) : de("", !0),
29597
+ (x(!0), L(Ie, null, Ye(Pt.value, (k) => {
29598
+ var Y, he, Re, Ve, qe, tt, ot, Se, ct, mt;
29577
29599
  return x(), L("div", {
29578
29600
  key: k.modelId,
29579
29601
  class: Ae(["em-attr", { "is-focused": m(s).has(k.modelId) }]),
29580
29602
  "data-attr-block": k.modelId
29581
29603
  }, [
29582
- m(y)(k) ? (x(), L("span", CD, X(m(n).t("em.attr.derivedIdField")), 1)) : de("", !0),
29583
- $("div", RD, [
29604
+ m(y)(k) ? (x(), L("span", AD, X(m(n).t("em.attr.derivedIdField")), 1)) : de("", !0),
29605
+ $("div", $D, [
29584
29606
  q(m(vt), {
29585
29607
  class: "grow",
29586
29608
  name: `attr-name-${k.modelId}`,
@@ -29611,9 +29633,9 @@ const dP = {
29611
29633
  caption: "✕",
29612
29634
  onClick: (P) => m(n).removeAttribute(m(o).modelId, k.modelId)
29613
29635
  }, null, 8, ["onClick"])
29614
- ], 8, AD)
29636
+ ], 8, xD)
29615
29637
  ]),
29616
- k.type === m(Io) && !m(j)(k) ? (x(), L("div", $D, [
29638
+ k.type === m(Io) && !m(j)(k) ? (x(), L("div", SD, [
29617
29639
  q(m(vt), {
29618
29640
  class: "grow",
29619
29641
  name: `attr-customtype-${k.modelId}`,
@@ -29623,10 +29645,10 @@ const dP = {
29623
29645
  "onUpdate:modelValue": (P) => m(T)(k, P)
29624
29646
  }, null, 8, ["name", "placeholder", "model-value", "onUpdate:modelValue"])
29625
29647
  ])) : de("", !0),
29626
- m(y)(k) ? (x(), L("div", xD, [
29627
- $("div", SD, [
29628
- $("span", TD, X(m(n).t("em.attr.assocField")), 1),
29629
- $("div", MD, [
29648
+ m(y)(k) ? (x(), L("div", TD, [
29649
+ $("div", MD, [
29650
+ $("span", LD, X(m(n).t("em.attr.assocField")), 1),
29651
+ $("div", OD, [
29630
29652
  q(m(vt), {
29631
29653
  class: "grow",
29632
29654
  name: `attr-assocname-${k.modelId}`,
@@ -29637,13 +29659,13 @@ const dP = {
29637
29659
  "onUpdate:modelValue": (P) => m(h)(k, P)
29638
29660
  }, null, 8, ["name", "title", "placeholder", "model-value", "onUpdate:modelValue"])
29639
29661
  ]),
29640
- $("p", LD, X(m(n).t("em.attr.derivedIdNote")), 1)
29662
+ $("p", PD, X(m(n).t("em.attr.derivedIdNote")), 1)
29641
29663
  ])
29642
29664
  ])) : de("", !0),
29643
- k.attrType === "RELATION_REF" ? (x(), L("p", OD, X(m(n).t("em.attr.inverseNavHint")), 1)) : de("", !0),
29665
+ k.attrType === "RELATION_REF" ? (x(), L("p", DD, X(m(n).t("em.attr.inverseNavHint")), 1)) : de("", !0),
29644
29666
  m(a) ? (x(), L(Ie, { key: 4 }, [
29645
- $("p", PD, X(m(n).t("em.attr.serializedNoColumnNote")), 1),
29646
- $("div", DD, [
29667
+ $("p", VD, X(m(n).t("em.attr.serializedNoColumnNote")), 1),
29668
+ $("div", BD, [
29647
29669
  q(An, {
29648
29670
  class: "grow",
29649
29671
  name: `attr-field-logical-${k.modelId}`,
@@ -29654,7 +29676,7 @@ const dP = {
29654
29676
  "onUpdate:modelValue": (P) => m(c)(k, P)
29655
29677
  }, null, 8, ["name", "languages", "default-lang", "placeholder", "model-value", "onUpdate:modelValue"])
29656
29678
  ]),
29657
- $("label", VD, [
29679
+ $("label", zD, [
29658
29680
  $("span", null, X(m(n).t("em.attr.serializedContainer")), 1),
29659
29681
  q(m(ft), {
29660
29682
  name: `attr-container-${k.modelId}`,
@@ -29666,16 +29688,16 @@ const dP = {
29666
29688
  "onUpdate:modelValue": (P) => P && m(f)(k, P)
29667
29689
  }, null, 8, ["name", "items", "value-provider", "label-provider", "model-value", "onUpdate:modelValue"])
29668
29690
  ])
29669
- ], 64)) : m(ae)(k) ? (x(), L("div", WD, [
29670
- m(_e)(k) ? (x(), L("p", JD, X(m(n).t("em.attr.fkDerivedNote")), 1)) : de("", !0),
29671
- (x(!0), L(Ie, null, Ge(k.dbAttrs, (P, ee) => {
29691
+ ], 64)) : m(ae)(k) ? (x(), L("div", XD, [
29692
+ m(_e)(k) ? (x(), L("p", ZD, X(m(n).t("em.attr.fkDerivedNote")), 1)) : de("", !0),
29693
+ (x(!0), L(Ie, null, Ye(k.dbAttrs, (P, ee) => {
29672
29694
  var Le, He, ge, De, It;
29673
29695
  return x(), L("div", {
29674
29696
  key: P.modelId,
29675
29697
  class: "em-embed-col"
29676
29698
  }, [
29677
- $("span", XD, X(((Le = m(xe)(k, ee)) == null ? void 0 : Le.name) ?? ((He = m(xe)(k, ee)) == null ? void 0 : He.physicalName) ?? m(n).t("em.attr.colFallback", { n: ee + 1 })), 1),
29678
- $("div", ZD, [
29699
+ $("span", QD, X(((Le = m(xe)(k, ee)) == null ? void 0 : Le.name) ?? ((He = m(xe)(k, ee)) == null ? void 0 : He.physicalName) ?? m(n).t("em.attr.colFallback", { n: ee + 1 })), 1),
29700
+ $("div", e3, [
29679
29701
  q(m(vt), {
29680
29702
  class: "grow",
29681
29703
  name: `embed-col-${P.modelId}`,
@@ -29694,7 +29716,7 @@ const dP = {
29694
29716
  disabled: "",
29695
29717
  "model-value": m(ne)(k, ee)
29696
29718
  }, null, 8, ["name", "model-value"])
29697
- ], 8, QD),
29719
+ ], 8, t3),
29698
29720
  $("span", {
29699
29721
  title: m(Ee)(k)
29700
29722
  }, [
@@ -29704,7 +29726,7 @@ const dP = {
29704
29726
  disabled: "",
29705
29727
  "model-value": m(se)(k, ee)
29706
29728
  }, null, 8, ["name", "model-value"])
29707
- ], 8, e3),
29729
+ ], 8, n3),
29708
29730
  $("span", {
29709
29731
  title: m(Ee)(k)
29710
29732
  }, [
@@ -29714,13 +29736,13 @@ const dP = {
29714
29736
  disabled: "",
29715
29737
  "model-value": m(re)(k, ee)
29716
29738
  }, null, 8, ["name", "model-value"])
29717
- ], 8, t3)
29739
+ ], 8, o3)
29718
29740
  ]),
29719
29741
  q(pi, {
29720
29742
  controller: m(n),
29721
29743
  "ref-id": P.modelId
29722
29744
  }, null, 8, ["controller", "ref-id"]),
29723
- $("div", n3, [
29745
+ $("div", i3, [
29724
29746
  q(An, {
29725
29747
  class: "grow",
29726
29748
  name: `embed-logical-${P.modelId}`,
@@ -29731,7 +29753,7 @@ const dP = {
29731
29753
  "onUpdate:modelValue": (lt) => m($e)(k, ee, lt)
29732
29754
  }, null, 8, ["name", "languages", "default-lang", "placeholder", "model-value", "onUpdate:modelValue"])
29733
29755
  ]),
29734
- (It = m(xe)(k, ee)) != null && It.shareable ? (x(), L("label", o3, [
29756
+ (It = m(xe)(k, ee)) != null && It.shareable ? (x(), L("label", a3, [
29735
29757
  $("span", null, X(m(n).t("em.attr.currencyColumn")), 1),
29736
29758
  q(m(ft), {
29737
29759
  width: "110px",
@@ -29742,8 +29764,8 @@ const dP = {
29742
29764
  "onUpdate:modelValue": (lt) => lt && m(pn)(k, ee, lt)
29743
29765
  }, null, 8, ["model-value", "items", "value-provider", "label-provider", "onUpdate:modelValue"])
29744
29766
  ])) : de("", !0),
29745
- m(Kt)(P) ? (x(), L("p", i3, X(m(n).t("em.attr.embedSharedHint")), 1)) : de("", !0),
29746
- $("label", a3, [
29767
+ m(Kt)(P) ? (x(), L("p", s3, X(m(n).t("em.attr.embedSharedHint")), 1)) : de("", !0),
29768
+ $("label", r3, [
29747
29769
  Ze[3] || (Ze[3] = $("span", null, "insertable", -1)),
29748
29770
  q(m(ft), {
29749
29771
  width: "110px",
@@ -29755,7 +29777,7 @@ const dP = {
29755
29777
  "onUpdate:modelValue": (lt) => lt && m(fe)(k, ee, lt)
29756
29778
  }, null, 8, ["disabled", "model-value", "items", "value-provider", "label-provider", "onUpdate:modelValue"])
29757
29779
  ]),
29758
- $("label", s3, [
29780
+ $("label", l3, [
29759
29781
  Ze[4] || (Ze[4] = $("span", null, "updatable", -1)),
29760
29782
  q(m(ft), {
29761
29783
  width: "110px",
@@ -29767,7 +29789,7 @@ const dP = {
29767
29789
  "onUpdate:modelValue": (lt) => lt && m(ht)(k, ee, lt)
29768
29790
  }, null, 8, ["disabled", "model-value", "items", "value-provider", "label-provider", "onUpdate:modelValue"])
29769
29791
  ]),
29770
- $("label", r3, [
29792
+ $("label", d3, [
29771
29793
  Ze[5] || (Ze[5] = $("span", null, "NOT NULL", -1)),
29772
29794
  q(m(ft), {
29773
29795
  width: "110px",
@@ -29782,7 +29804,7 @@ const dP = {
29782
29804
  ]);
29783
29805
  }), 128)),
29784
29806
  m(_e)(k) ? (x(), L(Ie, { key: 1 }, [
29785
- $("div", l3, [
29807
+ $("div", c3, [
29786
29808
  q(m(bt), {
29787
29809
  name: `attr-pk-${k.modelId}`,
29788
29810
  label: "Primary Key",
@@ -29798,7 +29820,7 @@ const dP = {
29798
29820
  "onUpdate:modelValue": (P) => m(p)(k, { notNull: P })
29799
29821
  }, null, 8, ["name", "model-value", "onUpdate:modelValue"])
29800
29822
  ]),
29801
- $("fieldset", d3, [
29823
+ $("fieldset", u3, [
29802
29824
  $("legend", null, X(m(n).t("em.common.description")), 1),
29803
29825
  q(An, {
29804
29826
  multiline: "",
@@ -29811,8 +29833,8 @@ const dP = {
29811
29833
  ])
29812
29834
  ], 64)) : de("", !0)
29813
29835
  ])) : (x(), L(Ie, { key: 5 }, [
29814
- m(j)(k) ? (x(), L("p", BD, X(m(n).t("em.attr.fkDerivedNote")), 1)) : de("", !0),
29815
- $("div", zD, [
29836
+ m(j)(k) ? (x(), L("p", UD, X(m(n).t("em.attr.fkDerivedNote")), 1)) : de("", !0),
29837
+ $("div", FD, [
29816
29838
  q(An, {
29817
29839
  class: "grow",
29818
29840
  name: `attr-logical-${k.modelId}`,
@@ -29823,14 +29845,14 @@ const dP = {
29823
29845
  "onUpdate:modelValue": (P) => m(B)(k, P)
29824
29846
  }, null, 8, ["name", "languages", "default-lang", "placeholder", "model-value", "onUpdate:modelValue"])
29825
29847
  ]),
29826
- $("div", UD, [
29848
+ $("div", HD, [
29827
29849
  q(m(vt), {
29828
29850
  class: "grow",
29829
29851
  name: `attr-col-${k.modelId}`,
29830
29852
  width: "100%",
29831
29853
  placeholder: m(H)(k) ?? m(n).t("em.attr.columnPlaceholder"),
29832
29854
  disabled: m(F)(k),
29833
- "model-value": ((pe = k.dbAttrs[0]) == null ? void 0 : pe.physicalName) ?? "",
29855
+ "model-value": ((he = k.dbAttrs[0]) == null ? void 0 : he.physicalName) ?? "",
29834
29856
  "onUpdate:modelValue": (P) => m(M)(k, { physicalName: P })
29835
29857
  }, null, 8, ["name", "placeholder", "disabled", "model-value", "onUpdate:modelValue"]),
29836
29858
  q(m(ft), {
@@ -29863,13 +29885,13 @@ const dP = {
29863
29885
  "model-value": (tt = k.dbAttrs[0]) == null ? void 0 : tt.scale,
29864
29886
  "onUpdate:modelValue": (P) => m(M)(k, { scale: P || void 0 })
29865
29887
  }, null, 8, ["name", "disabled", "model-value", "onUpdate:modelValue"])
29866
- ], 8, FD)
29888
+ ], 8, jD)
29867
29889
  ]),
29868
29890
  q(pi, {
29869
29891
  controller: m(n),
29870
29892
  "ref-id": (ot = k.dbAttrs[0]) == null ? void 0 : ot.modelId
29871
29893
  }, null, 8, ["controller", "ref-id"]),
29872
- $("div", HD, [
29894
+ $("div", KD, [
29873
29895
  q(m(bt), {
29874
29896
  name: `attr-pk-${k.modelId}`,
29875
29897
  label: "Primary Key",
@@ -29928,7 +29950,7 @@ const dP = {
29928
29950
  "onUpdate:modelValue": (P) => m(M)(k, { multiValue: P || void 0 })
29929
29951
  }, null, 8, ["name", "model-value", "disabled", "onUpdate:modelValue"])
29930
29952
  ]),
29931
- $("label", jD, [
29953
+ $("label", GD, [
29932
29954
  Ze[1] || (Ze[1] = $("span", null, "insertable", -1)),
29933
29955
  q(m(ft), {
29934
29956
  width: "100%",
@@ -29940,7 +29962,7 @@ const dP = {
29940
29962
  "onUpdate:modelValue": (P) => P && m(be)(k, P)
29941
29963
  }, null, 8, ["disabled", "model-value", "items", "value-provider", "label-provider", "onUpdate:modelValue"])
29942
29964
  ]),
29943
- $("label", KD, [
29965
+ $("label", YD, [
29944
29966
  Ze[2] || (Ze[2] = $("span", null, "updatable", -1)),
29945
29967
  q(m(ft), {
29946
29968
  width: "100%",
@@ -29952,7 +29974,7 @@ const dP = {
29952
29974
  "onUpdate:modelValue": (P) => P && m(ln)(k, P)
29953
29975
  }, null, 8, ["disabled", "model-value", "items", "value-provider", "label-provider", "onUpdate:modelValue"])
29954
29976
  ]),
29955
- m(j)(k) ? de("", !0) : (x(), L("label", GD, [
29977
+ m(j)(k) ? de("", !0) : (x(), L("label", qD, [
29956
29978
  $("span", null, X(m(n).t("em.attr.pii")), 1),
29957
29979
  q(m(ft), {
29958
29980
  width: "100%",
@@ -29963,7 +29985,7 @@ const dP = {
29963
29985
  "onUpdate:modelValue": (P) => P && m(le)(k, P)
29964
29986
  }, null, 8, ["model-value", "items", "value-provider", "label-provider", "onUpdate:modelValue"])
29965
29987
  ])),
29966
- m(Oe).length && !m(j)(k) ? (x(), L("label", YD, [
29988
+ m(Oe).length && !m(j)(k) ? (x(), L("label", WD, [
29967
29989
  $("span", null, X(m(n).t("em.attr.codeGroup")), 1),
29968
29990
  q(Sy, {
29969
29991
  "model-value": k.groupCode,
@@ -29977,7 +29999,7 @@ const dP = {
29977
29999
  class: Ae(["em-attr__pii", { "em-attr__codetop": !m(Oe).length }])
29978
30000
  }, [
29979
30001
  $("span", null, X(m(n).t("em.attr.defaultValue")), 1),
29980
- m(ye)(k).length ? (x(), Ye(m(ft), {
30002
+ m(ye)(k).length ? (x(), Ke(m(ft), {
29981
30003
  key: 0,
29982
30004
  width: "100%",
29983
30005
  "model-value": k.defaultValue ?? "none",
@@ -29985,7 +30007,7 @@ const dP = {
29985
30007
  "value-provider": m(ke),
29986
30008
  "label-provider": m(D),
29987
30009
  "onUpdate:modelValue": (P) => P && m(J)(k, P)
29988
- }, null, 8, ["model-value", "items", "value-provider", "label-provider", "onUpdate:modelValue"])) : (x(), Ye(m(vt), {
30010
+ }, null, 8, ["model-value", "items", "value-provider", "label-provider", "onUpdate:modelValue"])) : (x(), Ke(m(vt), {
29989
30011
  key: 1,
29990
30012
  name: `attr-default-${k.modelId}`,
29991
30013
  width: "100%",
@@ -29994,7 +30016,7 @@ const dP = {
29994
30016
  "onUpdate:modelValue": (P) => m(ie)(k, P)
29995
30017
  }, null, 8, ["name", "placeholder", "model-value", "onUpdate:modelValue"]))
29996
30018
  ], 2)),
29997
- $("fieldset", qD, [
30019
+ $("fieldset", JD, [
29998
30020
  $("legend", null, X(m(n).t("em.common.description")), 1),
29999
30021
  q(An, {
30000
30022
  multiline: "",
@@ -30006,28 +30028,28 @@ const dP = {
30006
30028
  }, null, 8, ["name", "languages", "default-lang", "model-value", "onUpdate:modelValue"])
30007
30029
  ])
30008
30030
  ], 64)),
30009
- $("div", c3, [
30031
+ $("div", m3, [
30010
30032
  $("button", {
30011
30033
  type: "button",
30012
30034
  class: Ae(["em-swatch__chip em-swatch__none", { "is-on": Z(k) === null }]),
30013
30035
  title: m(n).t("em.swatch.none"),
30014
- onClick: (P) => Ke(k, null)
30015
- }, "∅", 10, u3),
30016
- (x(!0), L(Ie, null, Ge(m(mi), (P) => (x(), L("button", {
30036
+ onClick: (P) => Ge(k, null)
30037
+ }, "∅", 10, f3),
30038
+ (x(!0), L(Ie, null, Ye(m(mi), (P) => (x(), L("button", {
30017
30039
  key: P,
30018
30040
  type: "button",
30019
30041
  class: Ae(["em-swatch__chip", { "is-on": Z(k) === P }]),
30020
30042
  style: Nt({ background: m(Gi)(P) }),
30021
30043
  title: m(n).t(m(fi)(P)),
30022
- onClick: (ee) => Ke(k, P)
30023
- }, null, 14, m3))), 128)),
30024
- ue(k) ? (x(), L("span", f3, X(m(n).t("em.attr.batchHint", { n: m(s).size })), 1)) : de("", !0)
30044
+ onClick: (ee) => Ge(k, P)
30045
+ }, null, 14, p3))), 128)),
30046
+ ue(k) ? (x(), L("span", h3, X(m(n).t("em.attr.batchHint", { n: m(s).size })), 1)) : de("", !0)
30025
30047
  ])
30026
- ], 10, ND);
30048
+ ], 10, RD);
30027
30049
  }), 128))
30028
- ], 8, yD)) : de("", !0);
30050
+ ], 8, gD)) : de("", !0);
30029
30051
  }
30030
- }), h3 = /* @__PURE__ */ wt(p3, [["__scopeId", "data-v-4127b61b"]]), y3 = ["disabled"], v3 = { class: "em-panel__sub-label" }, g3 = { class: "em-attr__row" }, b3 = { class: "em-field em-idx-params" }, _3 = ["value", "placeholder", "onChange"], w3 = /* @__PURE__ */ et({
30052
+ }), v3 = /* @__PURE__ */ wt(y3, [["__scopeId", "data-v-4127b61b"]]), g3 = ["disabled"], b3 = { class: "em-panel__sub-label" }, _3 = { class: "em-attr__row" }, w3 = { class: "em-field em-idx-params" }, I3 = ["value", "placeholder", "onChange"], k3 = /* @__PURE__ */ et({
30031
30053
  __name: "EntityIndexSection",
30032
30054
  props: {
30033
30055
  controller: {},
@@ -30106,8 +30128,8 @@ const dP = {
30106
30128
  class: Ae(["em-panel__sub", { "em-panel__sub--toggle": e.collapsible }]),
30107
30129
  onClick: R[0] || (R[0] = (S) => e.collapsible && o("toggle"))
30108
30130
  }, [
30109
- $("span", v3, [
30110
- e.collapsible ? (x(), Ye(Be, {
30131
+ $("span", b3, [
30132
+ e.collapsible ? (x(), Ke(Be, {
30111
30133
  key: 0,
30112
30134
  name: "chevron",
30113
30135
  size: 13,
@@ -30121,11 +30143,11 @@ const dP = {
30121
30143
  onClick: Xe(y, ["stop"])
30122
30144
  }, null, 8, ["caption"])
30123
30145
  ], 2),
30124
- !e.collapsible || !e.collapsed ? (x(!0), L(Ie, { key: 0 }, Ge(a.value.indexes ?? [], (S) => (x(), L("div", {
30146
+ !e.collapsible || !e.collapsed ? (x(!0), L(Ie, { key: 0 }, Ye(a.value.indexes ?? [], (S) => (x(), L("div", {
30125
30147
  key: S.modelId,
30126
30148
  class: "em-attr"
30127
30149
  }, [
30128
- $("div", g3, [
30150
+ $("div", _3, [
30129
30151
  q(m(vt), {
30130
30152
  class: "grow",
30131
30153
  name: `idx-name-${S.modelId}`,
@@ -30152,7 +30174,7 @@ const dP = {
30152
30174
  controller: m(i),
30153
30175
  "ref-id": S.modelId
30154
30176
  }, null, 8, ["controller", "ref-id"]),
30155
- (x(!0), L(Ie, null, Ge(S.columns, (O, F) => (x(), L("div", {
30177
+ (x(!0), L(Ie, null, Ye(S.columns, (O, F) => (x(), L("div", {
30156
30178
  key: F,
30157
30179
  class: "em-attr__row"
30158
30180
  }, [
@@ -30183,7 +30205,7 @@ const dP = {
30183
30205
  disabled: !p(S).length,
30184
30206
  onClick: (O) => g(S)
30185
30207
  }, null, 8, ["caption", "disabled", "onClick"]),
30186
- $("label", b3, [
30208
+ $("label", w3, [
30187
30209
  $("span", null, X(m(i).t("em.index.condition")), 1),
30188
30210
  $("textarea", {
30189
30211
  class: "em-textarea",
@@ -30191,13 +30213,13 @@ const dP = {
30191
30213
  rows: "2",
30192
30214
  placeholder: m(i).t("em.index.conditionPlaceholder"),
30193
30215
  onChange: (O) => C(S, O.target.value)
30194
- }, null, 40, _3)
30216
+ }, null, 40, I3)
30195
30217
  ])
30196
30218
  ]))), 128)) : de("", !0)
30197
- ], 8, y3)) : de("", !0);
30219
+ ], 8, g3)) : de("", !0);
30198
30220
  };
30199
30221
  }
30200
- }), I3 = /* @__PURE__ */ wt(w3, [["__scopeId", "data-v-ee0032b1"]]), k3 = ["disabled"], E3 = { class: "em-panel__sub-label" }, N3 = { class: "em-attr__row" }, C3 = { class: "em-attr__row" }, R3 = { class: "em-multilang" }, A3 = { class: "em-attr__pii" }, $3 = { class: "em-swatch__row em-attr__swatch" }, x3 = ["title", "onClick"], S3 = ["title", "onClick"], T3 = /* @__PURE__ */ et({
30222
+ }), E3 = /* @__PURE__ */ wt(k3, [["__scopeId", "data-v-ee0032b1"]]), N3 = ["disabled"], C3 = { class: "em-panel__sub-label" }, R3 = { class: "em-attr__row" }, A3 = { class: "em-attr__row" }, $3 = { class: "em-multilang" }, x3 = { class: "em-attr__pii" }, S3 = { class: "em-swatch__row em-attr__swatch" }, T3 = ["title", "onClick"], M3 = ["title", "onClick"], L3 = /* @__PURE__ */ et({
30201
30223
  __name: "EntityOperationsSection",
30202
30224
  props: {
30203
30225
  controller: {},
@@ -30273,8 +30295,8 @@ const dP = {
30273
30295
  class: Ae(["em-panel__sub", { "em-panel__sub--toggle": e.collapsible }]),
30274
30296
  onClick: C[1] || (C[1] = (R) => e.collapsible && o("toggle"))
30275
30297
  }, [
30276
- $("span", E3, [
30277
- e.collapsible ? (x(), Ye(Be, {
30298
+ $("span", C3, [
30299
+ e.collapsible ? (x(), Ke(Be, {
30278
30300
  key: 0,
30279
30301
  name: "chevron",
30280
30302
  size: 13,
@@ -30288,11 +30310,11 @@ const dP = {
30288
30310
  onClick: C[0] || (C[0] = Xe((R) => m(i).addOperation(s.value.modelId), ["stop"]))
30289
30311
  }, null, 8, ["caption"])
30290
30312
  ], 2),
30291
- !e.collapsible || !e.collapsed ? (x(!0), L(Ie, { key: 0 }, Ge(s.value.operations ?? [], (R) => (x(), L("div", {
30313
+ !e.collapsible || !e.collapsed ? (x(!0), L(Ie, { key: 0 }, Ye(s.value.operations ?? [], (R) => (x(), L("div", {
30292
30314
  key: R.modelId,
30293
30315
  class: "em-attr"
30294
30316
  }, [
30295
- $("div", N3, [
30317
+ $("div", R3, [
30296
30318
  q(m(vt), {
30297
30319
  class: "grow",
30298
30320
  name: `op-name-${R.modelId}`,
@@ -30316,14 +30338,14 @@ const dP = {
30316
30338
  onClick: (I) => m(i).removeOperation(s.value.modelId, R.modelId)
30317
30339
  }, null, 8, ["onClick"])
30318
30340
  ]),
30319
- $("div", C3, [
30341
+ $("div", A3, [
30320
30342
  q(m(ut), {
30321
30343
  variant: "text",
30322
30344
  caption: m(i).t(R.sourceCode ? "em.op.editBodyDirty" : "em.op.editBody"),
30323
30345
  onClick: (I) => _(R)
30324
30346
  }, null, 8, ["caption", "onClick"])
30325
30347
  ]),
30326
- $("fieldset", R3, [
30348
+ $("fieldset", $3, [
30327
30349
  $("legend", null, X(m(i).t("em.common.description")), 1),
30328
30350
  q(An, {
30329
30351
  multiline: "",
@@ -30334,7 +30356,7 @@ const dP = {
30334
30356
  "onUpdate:modelValue": (I) => p(R, I)
30335
30357
  }, null, 8, ["name", "languages", "default-lang", "model-value", "onUpdate:modelValue"])
30336
30358
  ]),
30337
- $("label", A3, [
30359
+ $("label", x3, [
30338
30360
  $("span", null, X(m(i).t("em.attr.pii")), 1),
30339
30361
  q(m(ft), {
30340
30362
  width: "100%",
@@ -30345,54 +30367,54 @@ const dP = {
30345
30367
  "onUpdate:modelValue": (I) => I && v(R, I)
30346
30368
  }, null, 8, ["model-value", "onUpdate:modelValue"])
30347
30369
  ]),
30348
- $("div", $3, [
30370
+ $("div", S3, [
30349
30371
  $("button", {
30350
30372
  type: "button",
30351
30373
  class: Ae(["em-swatch__chip em-swatch__none", { "is-on": g(R) === null }]),
30352
30374
  title: m(i).t("em.swatch.none"),
30353
30375
  onClick: (I) => b(R, null)
30354
- }, "∅", 10, x3),
30355
- (x(!0), L(Ie, null, Ge(m(mi), (I) => (x(), L("button", {
30376
+ }, "∅", 10, T3),
30377
+ (x(!0), L(Ie, null, Ye(m(mi), (I) => (x(), L("button", {
30356
30378
  key: I,
30357
30379
  type: "button",
30358
30380
  class: Ae(["em-swatch__chip", { "is-on": g(R) === I }]),
30359
30381
  style: Nt({ background: m(Gi)(I) }),
30360
30382
  title: m(i).t(m(fi)(I)),
30361
30383
  onClick: (S) => b(R, I)
30362
- }, null, 14, S3))), 128))
30384
+ }, null, 14, M3))), 128))
30363
30385
  ])
30364
30386
  ]))), 128)) : de("", !0)
30365
- ], 8, k3)) : de("", !0);
30387
+ ], 8, N3)) : de("", !0);
30366
30388
  };
30367
30389
  }
30368
- }), M3 = /* @__PURE__ */ wt(T3, [["__scopeId", "data-v-04208206"]]), L3 = ["title"], O3 = { class: "em-panel__head" }, P3 = { class: "em-panel__head-row" }, D3 = ["title"], V3 = { class: "em-panel__context" }, B3 = {
30390
+ }), O3 = /* @__PURE__ */ wt(L3, [["__scopeId", "data-v-04208206"]]), P3 = ["title"], D3 = { class: "em-panel__head" }, V3 = { class: "em-panel__head-row" }, B3 = ["title"], z3 = { class: "em-panel__context" }, U3 = {
30369
30391
  key: 0,
30370
30392
  class: "em-panel__lock"
30371
- }, z3 = ["disabled"], U3 = {
30393
+ }, F3 = ["disabled"], H3 = {
30372
30394
  key: 0,
30373
30395
  class: "em-attr__navhint"
30374
- }, F3 = {
30396
+ }, j3 = {
30375
30397
  key: 0,
30376
30398
  class: "em-panel__note"
30377
- }, H3 = {
30399
+ }, K3 = {
30378
30400
  key: 1,
30379
30401
  class: "em-panel__note"
30380
- }, j3 = {
30402
+ }, G3 = {
30381
30403
  key: 2,
30382
30404
  class: "em-jpa"
30383
- }, K3 = { class: "em-field" }, G3 = { class: "em-field" }, Y3 = { class: "em-field" }, q3 = {
30405
+ }, Y3 = { class: "em-field" }, q3 = { class: "em-field" }, W3 = { class: "em-field" }, J3 = {
30384
30406
  key: 0,
30385
30407
  class: "em-field"
30386
- }, W3 = { class: "em-panel__note" }, J3 = { class: "em-panel__sub" }, X3 = { class: "em-field" }, Z3 = { class: "em-field" }, Q3 = { class: "em-jpa" }, eV = {
30408
+ }, X3 = { class: "em-panel__note" }, Z3 = { class: "em-panel__sub" }, Q3 = { class: "em-field" }, e8 = { class: "em-field" }, t8 = { class: "em-jpa" }, n8 = {
30387
30409
  key: 0,
30388
30410
  class: "em-panel__note"
30389
- }, tV = {
30411
+ }, o8 = {
30390
30412
  key: 1,
30391
30413
  class: "em-panel__note"
30392
- }, nV = { class: "em-jpa" }, oV = { class: "em-field" }, iV = {
30414
+ }, i8 = { class: "em-jpa" }, a8 = { class: "em-field" }, s8 = {
30393
30415
  key: 0,
30394
30416
  class: "em-panel__note"
30395
- }, aV = { class: "em-field" }, sV = { class: "em-multilang" }, rV = { class: "em-field" }, lV = ["value"], dV = { class: "em-field" }, cV = { class: "em-swatch" }, uV = { class: "em-swatch__row" }, mV = ["title"], fV = ["title", "onClick"], pV = { class: "em-panel__note" }, hV = { class: "em-field" }, yV = ["value"], vV = { class: "em-swatch" }, gV = { class: "em-swatch__row" }, bV = ["title"], _V = ["title", "onClick"], wV = /* @__PURE__ */ et({
30417
+ }, r8 = { class: "em-field" }, l8 = { class: "em-multilang" }, d8 = { class: "em-field" }, c8 = ["value"], u8 = { class: "em-field" }, m8 = { class: "em-swatch" }, f8 = { class: "em-swatch__row" }, p8 = ["title"], h8 = ["title", "onClick"], y8 = { class: "em-panel__note" }, v8 = { class: "em-field" }, g8 = ["value"], b8 = { class: "em-swatch" }, _8 = { class: "em-swatch__row" }, w8 = ["title"], I8 = ["title", "onClick"], k8 = /* @__PURE__ */ et({
30396
30418
  __name: "PropertyPanel",
30397
30419
  props: {
30398
30420
  controller: {},
@@ -30402,7 +30424,7 @@ const dP = {
30402
30424
  },
30403
30425
  emits: ["collapse"],
30404
30426
  setup(e, { expose: t, emit: n }) {
30405
- const o = e, i = n, a = he(null);
30427
+ const o = e, i = n, a = pe(null);
30406
30428
  t({ focusCollapse: () => {
30407
30429
  var ne;
30408
30430
  return (ne = a.value) == null ? void 0 : ne.focus();
@@ -30418,7 +30440,7 @@ const dP = {
30418
30440
  }), u = U(() => {
30419
30441
  var ne;
30420
30442
  return ((ne = s.selectedAttr.value) == null ? void 0 : ne.attrId) ?? null;
30421
- }), f = U(() => new Set(s.selectedAttrIds.value)), p = U(() => u.value !== null), y = he({});
30443
+ }), f = U(() => new Set(s.selectedAttrIds.value)), p = U(() => u.value !== null), y = pe({});
30422
30444
  at(p, () => {
30423
30445
  y.value = {};
30424
30446
  });
@@ -30633,9 +30655,9 @@ const dP = {
30633
30655
  title: m(s).t("em.panel.resizeWidth"),
30634
30656
  onPointerdown: se[0] || (se[0] = //@ts-ignore
30635
30657
  (...re) => e.startResize && e.startResize(...re))
30636
- }, null, 42, L3),
30637
- $("header", O3, [
30638
- $("div", P3, [
30658
+ }, null, 42, P3),
30659
+ $("header", D3, [
30660
+ $("div", V3, [
30639
30661
  se[14] || (se[14] = $("h3", { class: "em-panel__title" }, "Inspector", -1)),
30640
30662
  $("button", {
30641
30663
  ref_key: "collapseBtn",
@@ -30649,10 +30671,10 @@ const dP = {
30649
30671
  name: "panel-right-close",
30650
30672
  size: 16
30651
30673
  })
30652
- ], 8, D3)
30674
+ ], 8, B3)
30653
30675
  ]),
30654
- $("p", V3, X(R.value), 1),
30655
- c.value && l.value ? (x(), L("div", B3, [
30676
+ $("p", z3, X(R.value), 1),
30677
+ c.value && l.value ? (x(), L("div", U3, [
30656
30678
  q(Be, {
30657
30679
  name: "lock",
30658
30680
  size: 13
@@ -30679,11 +30701,11 @@ const dP = {
30679
30701
  title: b.value,
30680
30702
  onToggle: se[3] || (se[3] = (re) => g("basics"))
30681
30703
  }, null, 8, ["controller", "entity-id", "collapsed", "title"]),
30682
- q(h3, {
30704
+ q(v3, {
30683
30705
  controller: m(s),
30684
30706
  "entity-id": d.value.modelId
30685
30707
  }, null, 8, ["controller", "entity-id"]),
30686
- m(Gn)(d.value.stereotype) ? (x(), L("p", U3, X(m(s).t("em.entity.noIndexNote")), 1)) : (x(), Ye(I3, {
30708
+ m(Gn)(d.value.stereotype) ? (x(), L("p", H3, X(m(s).t("em.entity.noIndexNote")), 1)) : (x(), Ke(E3, {
30687
30709
  key: 1,
30688
30710
  controller: m(s),
30689
30711
  "entity-id": d.value.modelId,
@@ -30691,7 +30713,7 @@ const dP = {
30691
30713
  collapsed: v("index"),
30692
30714
  onToggle: se[4] || (se[4] = (re) => g("index"))
30693
30715
  }, null, 8, ["controller", "entity-id", "collapsed"])),
30694
- q(M3, {
30716
+ q(O3, {
30695
30717
  controller: m(s),
30696
30718
  "entity-id": d.value.modelId,
30697
30719
  collapsible: "",
@@ -30708,10 +30730,10 @@ const dP = {
30708
30730
  disabled: T.value || !!ye.value,
30709
30731
  "onUpdate:modelValue": te
30710
30732
  }, null, 8, ["label", "model-value", "disabled"]),
30711
- T.value ? (x(), L("p", F3, X(m(s).t("em.assoc.selfNoIdentifying")), 1)) : ye.value ? (x(), L("p", H3, X(m(s).t("em.assoc.embedNoIdentifying")), 1)) : de("", !0),
30712
- ye.value ? (x(), L("fieldset", j3, [
30733
+ T.value ? (x(), L("p", j3, X(m(s).t("em.assoc.selfNoIdentifying")), 1)) : ye.value ? (x(), L("p", K3, X(m(s).t("em.assoc.embedNoIdentifying")), 1)) : de("", !0),
30734
+ ye.value ? (x(), L("fieldset", G3, [
30713
30735
  $("legend", null, X(m(s).t("em.embed.legend")), 1),
30714
- $("label", K3, [
30736
+ $("label", Y3, [
30715
30737
  $("span", null, X(m(s).t("em.embed.cardinality")), 1),
30716
30738
  q(m(ft), {
30717
30739
  "model-value": ye.value.cardinality,
@@ -30722,7 +30744,7 @@ const dP = {
30722
30744
  }, null, 8, ["model-value"])
30723
30745
  ]),
30724
30746
  ye.value.isCollection ? (x(), L(Ie, { key: 0 }, [
30725
- $("label", G3, [
30747
+ $("label", q3, [
30726
30748
  se[15] || (se[15] = $("span", null, "collectionType", -1)),
30727
30749
  q(m(ft), {
30728
30750
  "model-value": ye.value.collectionType,
@@ -30732,7 +30754,7 @@ const dP = {
30732
30754
  "onUpdate:modelValue": se[7] || (se[7] = (re) => re && ke(re))
30733
30755
  }, null, 8, ["model-value"])
30734
30756
  ]),
30735
- $("label", Y3, [
30757
+ $("label", W3, [
30736
30758
  se[16] || (se[16] = $("span", null, "collectionTable", -1)),
30737
30759
  q(m(vt), {
30738
30760
  name: "embed-coll-table",
@@ -30742,7 +30764,7 @@ const dP = {
30742
30764
  "onUpdate:modelValue": D
30743
30765
  }, null, 8, ["placeholder", "model-value"])
30744
30766
  ]),
30745
- ye.value.collectionType === "LIST" ? (x(), L("label", q3, [
30767
+ ye.value.collectionType === "LIST" ? (x(), L("label", J3, [
30746
30768
  se[17] || (se[17] = $("span", null, "orderColumn", -1)),
30747
30769
  q(m(vt), {
30748
30770
  name: "embed-order-col",
@@ -30753,17 +30775,17 @@ const dP = {
30753
30775
  }, null, 8, ["placeholder", "model-value"])
30754
30776
  ])) : de("", !0)
30755
30777
  ], 64)) : de("", !0),
30756
- $("p", W3, X(m(s).t("em.embed.ownerFixedNote")), 1)
30778
+ $("p", X3, X(m(s).t("em.embed.ownerFixedNote")), 1)
30757
30779
  ])) : de("", !0),
30758
- (x(), L(Ie, null, Ge(["end1", "end2"], (re) => {
30780
+ (x(), L(Ie, null, Ye(["end1", "end2"], (re) => {
30759
30781
  var Ee, Pe, We;
30760
30782
  return mn($("div", {
30761
30783
  key: re,
30762
30784
  class: "em-end"
30763
30785
  }, [
30764
- $("h4", J3, X(re) + " → " + X(j(_.value[re].entityRef)), 1),
30786
+ $("h4", Z3, X(re) + " → " + X(j(_.value[re].entityRef)), 1),
30765
30787
  ye.value ? de("", !0) : (x(), L(Ie, { key: 0 }, [
30766
- $("label", X3, [
30788
+ $("label", Q3, [
30767
30789
  $("span", null, X(m(s).t("em.assoc.multiplicity")), 1),
30768
30790
  q(m(ft), {
30769
30791
  "model-value": _.value[re].multiplicity,
@@ -30782,7 +30804,7 @@ const dP = {
30782
30804
  "model-value": G(re) === "end2" ? !0 : _.value[G(re)].navigable,
30783
30805
  "onUpdate:modelValue": (ze) => M(G(re), { navigable: ze })
30784
30806
  }, null, 8, ["name", "title", "disabled", "model-value", "onUpdate:modelValue"]),
30785
- $("label", Z3, [
30807
+ $("label", e8, [
30786
30808
  $("span", null, X(m(s).t("em.assoc.navFieldName")), 1),
30787
30809
  q(m(vt), {
30788
30810
  name: `${G(re)}-navname`,
@@ -30801,9 +30823,9 @@ const dP = {
30801
30823
  "onUpdate:modelValue": (ze) => M(G(re), { composition: ze })
30802
30824
  }, null, 8, ["name", "model-value", "onUpdate:modelValue"])
30803
30825
  ], 64)),
30804
- $("fieldset", Q3, [
30826
+ $("fieldset", t8, [
30805
30827
  se[18] || (se[18] = $("legend", null, "cascade", -1)),
30806
- (x(), L(Ie, null, Ge(H, (ze) => {
30828
+ (x(), L(Ie, null, Ye(H, (ze) => {
30807
30829
  var ht, ln;
30808
30830
  return q(m(bt), {
30809
30831
  key: ze,
@@ -30815,11 +30837,11 @@ const dP = {
30815
30837
  "onUpdate:modelValue": (Bt) => ve(G(re), ze, Bt)
30816
30838
  }, null, 8, ["name", "label", "model-value", "disabled", "onUpdate:modelValue"]);
30817
30839
  }), 64)),
30818
- oe(G(re)) ? le(G(re)) ? (x(), L("p", tV, X(m(s).t("em.assoc.cascadeAllNote")), 1)) : de("", !0) : (x(), L("p", eV, X(m(s).t("em.assoc.navRequiredNote")), 1))
30840
+ oe(G(re)) ? le(G(re)) ? (x(), L("p", o8, X(m(s).t("em.assoc.cascadeAllNote")), 1)) : de("", !0) : (x(), L("p", n8, X(m(s).t("em.assoc.navRequiredNote")), 1))
30819
30841
  ]),
30820
- $("fieldset", nV, [
30842
+ $("fieldset", i8, [
30821
30843
  $("legend", null, X(m(s).t("em.assoc.jpaDetails")), 1),
30822
- $("label", oV, [
30844
+ $("label", a8, [
30823
30845
  se[19] || (se[19] = $("span", null, "fetchType", -1)),
30824
30846
  q(m(ft), {
30825
30847
  disabled: !oe(G(re)),
@@ -30838,8 +30860,8 @@ const dP = {
30838
30860
  disabled: !oe(G(re)) || Oe(re),
30839
30861
  "onUpdate:modelValue": (ze) => ce(G(re), { orphanRemoval: ze })
30840
30862
  }, null, 8, ["name", "model-value", "disabled", "onUpdate:modelValue"]),
30841
- Oe(re) && ((Pe = _.value[G(re)].jpa) != null && Pe.orphanRemoval) ? (x(), L("p", iV, X(m(s).t("em.assoc.orphanRemovalNote")), 1)) : de("", !0),
30842
- $("label", aV, [
30863
+ Oe(re) && ((Pe = _.value[G(re)].jpa) != null && Pe.orphanRemoval) ? (x(), L("p", s8, X(m(s).t("em.assoc.orphanRemovalNote")), 1)) : de("", !0),
30864
+ $("label", r8, [
30843
30865
  se[20] || (se[20] = $("span", null, "orderBy", -1)),
30844
30866
  q(m(vt), {
30845
30867
  name: `${G(re)}-orderby`,
@@ -30857,9 +30879,9 @@ const dP = {
30857
30879
  }), 64))
30858
30880
  ], 64)) : de("", !0),
30859
30881
  h.value ? (x(), L(Ie, { key: 2 }, [
30860
- $("fieldset", sV, [
30882
+ $("fieldset", l8, [
30861
30883
  $("legend", null, X(m(s).t("em.group.nameLegend")), 1),
30862
- (x(!0), L(Ie, null, Ge(m(s).languages.value, (re) => {
30884
+ (x(!0), L(Ie, null, Ye(m(s).languages.value, (re) => {
30863
30885
  var Ee;
30864
30886
  return x(), L("label", {
30865
30887
  key: re,
@@ -30875,16 +30897,16 @@ const dP = {
30875
30897
  ]);
30876
30898
  }), 128))
30877
30899
  ]),
30878
- $("label", rV, [
30900
+ $("label", d8, [
30879
30901
  $("span", null, X(m(s).t("em.common.description")), 1),
30880
30902
  $("textarea", {
30881
30903
  class: "em-textarea",
30882
30904
  value: h.value.description ?? "",
30883
30905
  rows: "3",
30884
30906
  onChange: se[8] || (se[8] = (re) => J({ description: re.target.value }))
30885
- }, null, 40, lV)
30907
+ }, null, 40, c8)
30886
30908
  ]),
30887
- $("label", dV, [
30909
+ $("label", u8, [
30888
30910
  $("span", null, X(m(s).t("em.entity.package")), 1),
30889
30911
  q(m(vt), {
30890
30912
  name: "grp-package",
@@ -30900,76 +30922,76 @@ const dP = {
30900
30922
  "model-value": h.value.excludeDDLGeneration,
30901
30923
  "onUpdate:modelValue": se[10] || (se[10] = (re) => J({ excludeDDLGeneration: re }))
30902
30924
  }, null, 8, ["label", "model-value"]),
30903
- $("fieldset", cV, [
30925
+ $("fieldset", m8, [
30904
30926
  $("legend", null, X(m(s).t("em.common.color")), 1),
30905
- $("div", uV, [
30927
+ $("div", f8, [
30906
30928
  $("button", {
30907
30929
  type: "button",
30908
30930
  class: Ae(["em-swatch__chip em-swatch__none", { "is-on": ae.value === null }]),
30909
30931
  title: m(s).t("em.swatch.none"),
30910
30932
  onClick: se[11] || (se[11] = (re) => _e(null))
30911
- }, "∅", 10, mV),
30912
- (x(!0), L(Ie, null, Ge(m(mi), (re) => (x(), L("button", {
30933
+ }, "∅", 10, p8),
30934
+ (x(!0), L(Ie, null, Ye(m(mi), (re) => (x(), L("button", {
30913
30935
  key: re,
30914
30936
  type: "button",
30915
30937
  class: Ae(["em-swatch__chip", { "is-on": ae.value === re }]),
30916
30938
  style: Nt({ background: m(Gi)(re) }),
30917
30939
  title: m(s).t(m(fi)(re)),
30918
30940
  onClick: (Ee) => _e(re)
30919
- }, null, 14, fV))), 128))
30941
+ }, null, 14, h8))), 128))
30920
30942
  ])
30921
30943
  ]),
30922
- $("p", pV, X(m(s).t("em.group.members", { n: h.value.memberEntityRefs.length })), 1)
30944
+ $("p", y8, X(m(s).t("em.group.members", { n: h.value.memberEntityRefs.length })), 1)
30923
30945
  ], 64)) : de("", !0),
30924
30946
  C.value ? (x(), L(Ie, { key: 3 }, [
30925
- $("label", hV, [
30947
+ $("label", v8, [
30926
30948
  $("span", null, X(m(s).t("em.common.memo")), 1),
30927
30949
  $("textarea", {
30928
30950
  class: "em-textarea",
30929
30951
  value: C.value.memo,
30930
30952
  rows: "6",
30931
30953
  onChange: se[12] || (se[12] = (re) => Ne(re.target.value))
30932
- }, null, 40, yV)
30954
+ }, null, 40, g8)
30933
30955
  ]),
30934
- $("fieldset", vV, [
30956
+ $("fieldset", b8, [
30935
30957
  $("legend", null, X(m(s).t("em.common.color")), 1),
30936
- $("div", gV, [
30958
+ $("div", _8, [
30937
30959
  $("button", {
30938
30960
  type: "button",
30939
30961
  class: Ae(["em-swatch__chip em-swatch__none", { "is-on": $e.value === null }]),
30940
30962
  title: m(s).t("em.swatch.none"),
30941
30963
  onClick: se[13] || (se[13] = (re) => xe(null))
30942
- }, "∅", 10, bV),
30943
- (x(!0), L(Ie, null, Ge(m(mi), (re) => (x(), L("button", {
30964
+ }, "∅", 10, w8),
30965
+ (x(!0), L(Ie, null, Ye(m(mi), (re) => (x(), L("button", {
30944
30966
  key: re,
30945
30967
  type: "button",
30946
30968
  class: Ae(["em-swatch__chip", { "is-on": $e.value === re }]),
30947
30969
  style: Nt({ background: m(Gi)(re) }),
30948
30970
  title: m(s).t(m(fi)(re)),
30949
30971
  onClick: (Ee) => xe(re)
30950
- }, null, 14, _V))), 128))
30972
+ }, null, 14, I8))), 128))
30951
30973
  ])
30952
30974
  ])
30953
30975
  ], 64)) : de("", !0)
30954
- ], 8, z3)
30976
+ ], 8, F3)
30955
30977
  ], 4));
30956
30978
  }
30957
- }), IV = /* @__PURE__ */ wt(wV, [["__scopeId", "data-v-923cccbb"]]), kV = ["title"], EV = { class: "em-validation__title" }, NV = ["title", "onClick"], CV = {
30979
+ }), E8 = /* @__PURE__ */ wt(k8, [["__scopeId", "data-v-923cccbb"]]), N8 = ["title"], C8 = { class: "em-validation__title" }, R8 = ["title", "onClick"], A8 = {
30958
30980
  key: 0,
30959
30981
  class: "em-validation__body"
30960
- }, RV = { class: "em-validation__opt" }, AV = {
30982
+ }, $8 = { class: "em-validation__opt" }, x8 = {
30961
30983
  key: 0,
30962
30984
  class: "em-validation__empty"
30963
- }, $V = {
30985
+ }, S8 = {
30964
30986
  key: 1,
30965
30987
  class: "em-validation__empty"
30966
- }, xV = {
30988
+ }, T8 = {
30967
30989
  key: 2,
30968
30990
  class: "em-validation__list"
30969
- }, SV = ["onClick"], TV = { class: "em-validation__item-msg" }, MV = {
30991
+ }, M8 = ["onClick"], L8 = { class: "em-validation__item-msg" }, O8 = {
30970
30992
  key: 0,
30971
30993
  class: "em-validation__item-entity"
30972
- }, LV = ["title", "onClick"], OV = ["title"], PV = /* @__PURE__ */ et({
30994
+ }, P8 = ["title", "onClick"], D8 = ["title"], V8 = /* @__PURE__ */ et({
30973
30995
  __name: "ValidationPanel",
30974
30996
  props: {
30975
30997
  controller: {},
@@ -30996,7 +31018,7 @@ const dP = {
30996
31018
  const v = { error: 0, warning: 0, info: 0 };
30997
31019
  for (const g of o.value) v[g.severity]++;
30998
31020
  return v;
30999
- }), l = he({ error: !0, warning: !0, info: !0 }), d = U(
31021
+ }), l = pe({ error: !0, warning: !0, info: !0 }), d = U(
31000
31022
  () => o.value.filter((v) => l.value[v.severity]).slice().sort((v, g) => s[v.severity].order - s[g.severity].order)
31001
31023
  ), c = U(
31002
31024
  () => d.value.map((v) => ({
@@ -31005,7 +31027,7 @@ const dP = {
31005
31027
  message: Ry(n.t, v),
31006
31028
  category: KC(n.t, v.ruleId)
31007
31029
  }))
31008
- ), u = he(!1);
31030
+ ), u = pe(!1);
31009
31031
  function f(v) {
31010
31032
  l.value[v] = !l.value[v];
31011
31033
  }
@@ -31037,14 +31059,14 @@ const dP = {
31037
31059
  size: 14,
31038
31060
  class: Ae([{ "is-open": u.value }, "em-validation__chevron"])
31039
31061
  }, null, 8, ["class"]),
31040
- $("span", EV, X(m(n).t("em.validation.title")), 1)
31041
- ], 8, kV),
31062
+ $("span", C8, X(m(n).t("em.validation.title")), 1)
31063
+ ], 8, N8),
31042
31064
  $("div", {
31043
31065
  class: "em-validation__counts",
31044
31066
  onClick: g[0] || (g[0] = Xe(() => {
31045
31067
  }, ["stop"]))
31046
31068
  }, [
31047
- (x(), L(Ie, null, Ge(["error", "warning", "info"], (b) => $("button", {
31069
+ (x(), L(Ie, null, Ye(["error", "warning", "info"], (b) => $("button", {
31048
31070
  key: b,
31049
31071
  type: "button",
31050
31072
  class: Ae(["em-validation__count", [`is-${b}`, { "is-off": !l.value[b] }]]),
@@ -31056,11 +31078,11 @@ const dP = {
31056
31078
  size: 14
31057
31079
  }, null, 8, ["name"]),
31058
31080
  $("span", null, X(r.value[b]), 1)
31059
- ], 10, NV)), 64))
31081
+ ], 10, R8)), 64))
31060
31082
  ])
31061
31083
  ]),
31062
- u.value ? (x(), L("div", CV, [
31063
- $("label", RV, [
31084
+ u.value ? (x(), L("div", A8, [
31085
+ $("label", $8, [
31064
31086
  q(m(bt), {
31065
31087
  name: "val-flag-norel",
31066
31088
  label: m(n).t("em.validation.checkOrphanEntities"),
@@ -31068,8 +31090,8 @@ const dP = {
31068
31090
  "onUpdate:modelValue": g[2] || (g[2] = (b) => m(n).flagEntitiesWithoutRelations.value = b)
31069
31091
  }, null, 8, ["label", "model-value"])
31070
31092
  ]),
31071
- o.value.length === 0 ? (x(), L("p", AV, X(m(n).t("em.validation.noIssues")), 1)) : d.value.length === 0 ? (x(), L("p", $V, X(m(n).t("em.validation.noVisibleIssues")), 1)) : (x(), L("ul", xV, [
31072
- (x(!0), L(Ie, null, Ge(c.value, ({ issue: b, entityName: _, message: h, category: C }, N) => (x(), L("li", {
31093
+ o.value.length === 0 ? (x(), L("p", x8, X(m(n).t("em.validation.noIssues")), 1)) : d.value.length === 0 ? (x(), L("p", S8, X(m(n).t("em.validation.noVisibleIssues")), 1)) : (x(), L("ul", T8, [
31094
+ (x(!0), L(Ie, null, Ye(c.value, ({ issue: b, entityName: _, message: h, category: C }, N) => (x(), L("li", {
31073
31095
  key: `${b.ruleId}:${b.targetRef ?? "model"}:${N}`,
31074
31096
  class: Ae(["em-validation__item", [`is-${b.severity}`, { "is-clickable": !!b.targetRef }]]),
31075
31097
  onClick: (R) => y(b)
@@ -31079,8 +31101,8 @@ const dP = {
31079
31101
  size: 15,
31080
31102
  class: "em-validation__item-icon"
31081
31103
  }, null, 8, ["name"]),
31082
- $("span", TV, [
31083
- _ ? (x(), L("span", MV, X(_), 1)) : de("", !0),
31104
+ $("span", L8, [
31105
+ _ ? (x(), L("span", O8, X(_), 1)) : de("", !0),
31084
31106
  kn(" " + X(h), 1)
31085
31107
  ]),
31086
31108
  m(n).hasQuickFix(b) ? (x(), L("button", {
@@ -31089,24 +31111,24 @@ const dP = {
31089
31111
  class: "em-validation__item-fix",
31090
31112
  title: m(n).t("em.validation.quickFixTip"),
31091
31113
  onClick: Xe((R) => m(n).applyQuickFix(b), ["stop"])
31092
- }, X(m(n).t("em.validation.quickFix")), 9, LV)) : de("", !0),
31114
+ }, X(m(n).t("em.validation.quickFix")), 9, P8)) : de("", !0),
31093
31115
  $("span", {
31094
31116
  class: "em-validation__item-cat",
31095
31117
  title: b.ruleId
31096
- }, X(C), 9, OV)
31097
- ], 10, SV))), 128))
31118
+ }, X(C), 9, D8)
31119
+ ], 10, M8))), 128))
31098
31120
  ]))
31099
31121
  ])) : de("", !0)
31100
31122
  ], 6));
31101
31123
  }
31102
- }), DV = /* @__PURE__ */ wt(PV, [["__scopeId", "data-v-251fd3f0"]]), VV = 20;
31103
- function BV(e, t = VV) {
31124
+ }), B8 = /* @__PURE__ */ wt(V8, [["__scopeId", "data-v-251fd3f0"]]), z8 = 20;
31125
+ function U8(e, t = z8) {
31104
31126
  if (typeof e != "string") return null;
31105
31127
  const n = e.split(`
31106
31128
  `)[0].trim();
31107
31129
  return n ? n.length > t ? `${n.slice(0, t)}…` : n : null;
31108
31130
  }
31109
- function zV(e) {
31131
+ function F8(e) {
31110
31132
  var n;
31111
31133
  const t = /* @__PURE__ */ new Map();
31112
31134
  for (const o of [...e].sort((i, a) => i.seq - a.seq))
@@ -31117,58 +31139,58 @@ function zV(e) {
31117
31139
  }
31118
31140
  return t;
31119
31141
  }
31120
- const UV = { class: "em-history" }, FV = { class: "em-history__head" }, HV = { class: "em-history__title" }, jV = { class: "em-history__head-actions" }, KV = ["title", "disabled"], GV = ["title"], YV = { class: "em-history__filters" }, qV = { class: "em-history__filter" }, WV = { class: "em-history__filters em-history__filters--period" }, JV = { class: "em-history__filter-label" }, XV = ["title", "aria-label", "max"], ZV = ["title", "aria-label", "min"], QV = ["title"], e8 = {
31142
+ const H8 = { class: "em-history" }, j8 = { class: "em-history__head" }, K8 = { class: "em-history__title" }, G8 = { class: "em-history__head-actions" }, Y8 = ["title", "disabled"], q8 = ["title"], W8 = { class: "em-history__filters" }, J8 = { class: "em-history__filter" }, X8 = { class: "em-history__filters em-history__filters--period" }, Z8 = { class: "em-history__filter-label" }, Q8 = ["title", "aria-label", "max"], eV = ["title", "aria-label", "min"], tV = ["title"], nV = {
31121
31143
  key: 0,
31122
31144
  class: "em-history__diffbar"
31123
- }, t8 = { class: "em-history__diffbar-range" }, n8 = { class: "em-history__diffbar-count" }, o8 = { class: "em-history__body" }, i8 = {
31145
+ }, oV = { class: "em-history__diffbar-range" }, iV = { class: "em-history__diffbar-count" }, aV = { class: "em-history__body" }, sV = {
31124
31146
  key: 0,
31125
31147
  class: "em-history__empty"
31126
- }, a8 = {
31148
+ }, rV = {
31127
31149
  key: 1,
31128
31150
  class: "em-history__diff-list"
31129
- }, s8 = ["onClick"], r8 = { class: "em-history__action-head" }, l8 = { class: "em-history__action-name" }, d8 = {
31151
+ }, lV = ["onClick"], dV = { class: "em-history__action-head" }, cV = { class: "em-history__action-name" }, uV = {
31130
31152
  key: 0,
31131
31153
  class: "em-history__fields"
31132
- }, c8 = { class: "em-history__fname" }, u8 = {
31154
+ }, mV = { class: "em-history__fname" }, fV = {
31133
31155
  key: 0,
31134
31156
  class: "em-history__old"
31135
- }, m8 = { class: "em-history__val" }, f8 = {
31157
+ }, pV = { class: "em-history__val" }, hV = {
31136
31158
  key: 1,
31137
31159
  class: "em-history__empty"
31138
- }, p8 = {
31160
+ }, yV = {
31139
31161
  key: 2,
31140
31162
  class: "em-history__empty is-error"
31141
- }, h8 = {
31163
+ }, vV = {
31142
31164
  key: 3,
31143
31165
  class: "em-history__empty"
31144
- }, y8 = {
31166
+ }, gV = {
31145
31167
  key: 4,
31146
31168
  class: "em-history__list"
31147
- }, v8 = ["onClick"], g8 = { class: "em-history__summary" }, b8 = { class: "em-history__seq" }, _8 = { class: "em-history__gmeta" }, w8 = { class: "em-history__who" }, I8 = {
31169
+ }, bV = ["onClick"], _V = { class: "em-history__summary" }, wV = { class: "em-history__seq" }, IV = { class: "em-history__gmeta" }, kV = { class: "em-history__who" }, EV = {
31148
31170
  key: 0,
31149
31171
  class: "em-history__time"
31150
- }, k8 = {
31172
+ }, NV = {
31151
31173
  key: 1,
31152
31174
  class: "em-history__restored-from"
31153
- }, E8 = ["onClick"], N8 = {
31175
+ }, CV = ["onClick"], RV = {
31154
31176
  key: 0,
31155
31177
  class: "em-history__detail"
31156
- }, C8 = { class: "em-history__action-head" }, R8 = { class: "em-history__action-name" }, A8 = {
31178
+ }, AV = { class: "em-history__action-head" }, $V = { class: "em-history__action-name" }, xV = {
31157
31179
  key: 0,
31158
31180
  class: "em-history__fields"
31159
- }, $8 = { class: "em-history__fname" }, x8 = {
31181
+ }, SV = { class: "em-history__fname" }, TV = {
31160
31182
  key: 0,
31161
31183
  class: "em-history__old"
31162
- }, S8 = { class: "em-history__val" }, T8 = { class: "em-history__preview" }, M8 = ["disabled"], L8 = {
31184
+ }, MV = { class: "em-history__val" }, LV = { class: "em-history__preview" }, OV = ["disabled"], PV = {
31163
31185
  key: 0,
31164
31186
  class: "em-history__diff-list is-preview"
31165
- }, O8 = { class: "em-history__action-head" }, P8 = { class: "em-history__action-name" }, D8 = {
31187
+ }, DV = { class: "em-history__action-head" }, VV = { class: "em-history__action-name" }, BV = {
31166
31188
  key: 0,
31167
31189
  class: "em-history__fields"
31168
- }, V8 = { class: "em-history__fname" }, B8 = {
31190
+ }, zV = { class: "em-history__fname" }, UV = {
31169
31191
  key: 0,
31170
31192
  class: "em-history__old"
31171
- }, z8 = { class: "em-history__val" }, U8 = { class: "em-history__confirm-row" }, F8 = { class: "em-history__confirm-msg" }, H8 = ["disabled", "onClick"], j8 = ["disabled"], K8 = ["onClick"], Es = 50, G8 = /* @__PURE__ */ et({
31193
+ }, FV = { class: "em-history__val" }, HV = { class: "em-history__confirm-row" }, jV = { class: "em-history__confirm-msg" }, KV = ["disabled", "onClick"], GV = ["disabled"], YV = ["onClick"], Es = 50, qV = /* @__PURE__ */ et({
31172
31194
  __name: "HistoryPanel",
31173
31195
  props: {
31174
31196
  controller: {},
@@ -31176,7 +31198,7 @@ const UV = { class: "em-history" }, FV = { class: "em-history__head" }, HV = { c
31176
31198
  },
31177
31199
  emits: ["close", "diffChange"],
31178
31200
  setup(e, { emit: t }) {
31179
- const n = e, o = t, i = n.controller, a = he([]), s = he(!1), r = he(null), l = he(!1), d = U(() => a.value.reduce((me, Me) => Me.seq > me ? Me.seq : me, -1 / 0));
31201
+ const n = e, o = t, i = n.controller, a = pe([]), s = pe(!1), r = pe(null), l = pe(!1), d = U(() => a.value.reduce((me, Me) => Me.seq > me ? Me.seq : me, -1 / 0));
31180
31202
  async function c(me) {
31181
31203
  if (i.historyTransport) {
31182
31204
  s.value = !0, r.value = null;
@@ -31199,7 +31221,7 @@ const UV = { class: "em-history" }, FV = { class: "em-history__head" }, HV = { c
31199
31221
  async function u() {
31200
31222
  await i.whenOpsSettled(), await c();
31201
31223
  }
31202
- const f = he(null), p = he(null);
31224
+ const f = pe(null), p = pe(null);
31203
31225
  at(
31204
31226
  () => n.open,
31205
31227
  (me) => {
@@ -31222,9 +31244,9 @@ const UV = { class: "em-history" }, FV = { class: "em-history__head" }, HV = { c
31222
31244
  const v = U(() => new Map(i.state.logical.entities.map((me) => [me.modelId, me]))), g = U(() => new Map(i.state.logical.associations.map((me) => [me.modelId, me]))), b = U(() => {
31223
31245
  const me = i.userLanguage.value;
31224
31246
  return new Map((i.state.logical.groups ?? []).map((Me) => [Me.modelId, Me.packageName || nn(Me.name, me) || Me.modelId]));
31225
- }), _ = U(() => new Map(i.state.layout.notes.map((me) => [me.modelId, me.memo]))), h = U(() => zV(a.value));
31247
+ }), _ = U(() => new Map(i.state.layout.notes.map((me) => [me.modelId, me.memo]))), h = U(() => F8(a.value));
31226
31248
  function C(me) {
31227
- const Me = BV(_.value.get(me) ?? h.value.get(me));
31249
+ const Me = U8(_.value.get(me) ?? h.value.get(me));
31228
31250
  return i.t("em.history.noteSubject", { name: Me ?? me });
31229
31251
  }
31230
31252
  function N(me) {
@@ -31253,13 +31275,13 @@ const UV = { class: "em-history" }, FV = { class: "em-history__head" }, HV = { c
31253
31275
  associationEnd: "link",
31254
31276
  group: "folder",
31255
31277
  note: "note"
31256
- }, S = { add: "em.history.verbAdd", update: "em.history.verbUpdate", remove: "em.history.verbRemove" }, O = he("all"), F = [
31278
+ }, S = { add: "em.history.verbAdd", update: "em.history.verbUpdate", remove: "em.history.verbRemove" }, O = pe("all"), F = [
31257
31279
  { v: "all", labelKey: "em.history.filterAll" },
31258
31280
  { v: "edit", labelKey: "em.history.kindEdit" },
31259
31281
  { v: "restore", labelKey: "em.history.kindRestore" }
31260
31282
  ], j = U({ get: () => O.value, set: (me) => {
31261
31283
  me && (O.value = me);
31262
- } }), H = U(() => Qf(a.value)), z = U(() => H.value.length ? H.value[0].seq : null), w = U(() => O.value === "all" ? H.value : H.value.filter((me) => (me.kind ?? "edit") === O.value)), A = he(Es), E = he(""), T = he(""), M = U(() => !!E.value || !!T.value);
31284
+ } }), H = U(() => Qf(a.value)), z = U(() => H.value.length ? H.value[0].seq : null), w = U(() => O.value === "all" ? H.value : H.value.filter((me) => (me.kind ?? "edit") === O.value)), A = pe(Es), E = pe(""), T = pe(""), M = U(() => !!E.value || !!T.value);
31263
31285
  function G() {
31264
31286
  E.value = "", T.value = "";
31265
31287
  }
@@ -31295,7 +31317,7 @@ const UV = { class: "em-history" }, FV = { class: "em-history__head" }, HV = { c
31295
31317
  function ve(me) {
31296
31318
  return me.actions.length === 0 ? i.t("em.history.noChange") : me.actions.length === 1 ? le(me.actions[0]) : i.t("em.history.summaryMore", { summary: le(me.actions[0]), n: me.actions.length - 1 });
31297
31319
  }
31298
- const ce = he(/* @__PURE__ */ new Set());
31320
+ const ce = pe(/* @__PURE__ */ new Set());
31299
31321
  function Te(me) {
31300
31322
  const Me = new Set(ce.value);
31301
31323
  Me.has(me) ? Me.delete(me) : Me.add(me), ce.value = Me;
@@ -31347,9 +31369,9 @@ const UV = { class: "em-history" }, FV = { class: "em-history__head" }, HV = { c
31347
31369
  const Me = ne(me);
31348
31370
  Me && i.requestFocus(Me);
31349
31371
  }
31350
- const re = { added: "em.history.verbAdd", modified: "em.history.verbUpdate", removed: "em.history.verbRemove" }, Ee = { added: "add", modified: "update", removed: "remove" }, Pe = he(null), We = he(!1), ze = U(
31372
+ const re = { added: "em.history.verbAdd", modified: "em.history.verbUpdate", removed: "em.history.verbRemove" }, Ee = { added: "add", modified: "update", removed: "remove" }, Pe = pe(null), We = pe(!1), ze = U(
31351
31373
  () => Pe.value == null ? null : Yc(a.value, { fromSeq: Pe.value })
31352
- ), ht = he(!1);
31374
+ ), ht = pe(!1);
31353
31375
  function ln(me) {
31354
31376
  Pe.value = me, ht.value = !1;
31355
31377
  }
@@ -31362,20 +31384,20 @@ const UV = { class: "em-history" }, FV = { class: "em-history__head" }, HV = { c
31362
31384
  We.value = !1, Pe.value = null;
31363
31385
  }
31364
31386
  }
31365
- return (me, Me) => (x(), Ye(Na, { name: "em-history" }, {
31387
+ return (me, Me) => (x(), Ke(Na, { name: "em-history" }, {
31366
31388
  default: dt(() => {
31367
31389
  var fe, be;
31368
31390
  return [
31369
- mn($("section", UV, [
31370
- $("header", FV, [
31371
- $("div", HV, [
31391
+ mn($("section", H8, [
31392
+ $("header", j8, [
31393
+ $("div", K8, [
31372
31394
  q(Be, {
31373
31395
  name: "undo",
31374
31396
  size: 15
31375
31397
  }),
31376
31398
  $("span", null, X(m(i).t("em.history.title")), 1)
31377
31399
  ]),
31378
- $("div", jV, [
31400
+ $("div", G8, [
31379
31401
  $("button", {
31380
31402
  type: "button",
31381
31403
  class: "em-history__btn",
@@ -31387,7 +31409,7 @@ const UV = { class: "em-history" }, FV = { class: "em-history__head" }, HV = { c
31387
31409
  name: "redo",
31388
31410
  size: 15
31389
31411
  })
31390
- ], 8, KV),
31412
+ ], 8, Y8),
31391
31413
  $("button", {
31392
31414
  type: "button",
31393
31415
  class: "em-history__btn",
@@ -31398,11 +31420,11 @@ const UV = { class: "em-history" }, FV = { class: "em-history__head" }, HV = { c
31398
31420
  name: "panel-close",
31399
31421
  size: 15
31400
31422
  })
31401
- ], 8, GV)
31423
+ ], 8, q8)
31402
31424
  ])
31403
31425
  ]),
31404
- $("div", YV, [
31405
- $("label", qV, [
31426
+ $("div", W8, [
31427
+ $("label", J8, [
31406
31428
  $("span", null, X(m(i).t("em.toolbar.displayLabel")), 1),
31407
31429
  q(m(ft), {
31408
31430
  modelValue: j.value,
@@ -31413,8 +31435,8 @@ const UV = { class: "em-history" }, FV = { class: "em-history__head" }, HV = { c
31413
31435
  }, null, 8, ["modelValue", "value-provider", "label-provider"])
31414
31436
  ])
31415
31437
  ]),
31416
- $("div", WV, [
31417
- $("span", JV, X(m(i).t("em.history.periodLabel")), 1),
31438
+ $("div", X8, [
31439
+ $("span", Z8, X(m(i).t("em.history.periodLabel")), 1),
31418
31440
  mn($("input", {
31419
31441
  type: "date",
31420
31442
  class: "em-history__date",
@@ -31422,7 +31444,7 @@ const UV = { class: "em-history" }, FV = { class: "em-history__head" }, HV = { c
31422
31444
  "aria-label": m(i).t("em.history.periodFrom"),
31423
31445
  max: T.value || void 0,
31424
31446
  "onUpdate:modelValue": Me[3] || (Me[3] = (Ce) => E.value = Ce)
31425
- }, null, 8, XV), [
31447
+ }, null, 8, Q8), [
31426
31448
  [po, E.value]
31427
31449
  ]),
31428
31450
  Me[9] || (Me[9] = $("span", { class: "em-history__period-sep" }, "~", -1)),
@@ -31433,7 +31455,7 @@ const UV = { class: "em-history" }, FV = { class: "em-history__head" }, HV = { c
31433
31455
  "aria-label": m(i).t("em.history.periodTo"),
31434
31456
  min: E.value || void 0,
31435
31457
  "onUpdate:modelValue": Me[4] || (Me[4] = (Ce) => T.value = Ce)
31436
- }, null, 8, ZV), [
31458
+ }, null, 8, eV), [
31437
31459
  [po, T.value]
31438
31460
  ]),
31439
31461
  M.value ? (x(), L("button", {
@@ -31447,10 +31469,10 @@ const UV = { class: "em-history" }, FV = { class: "em-history__head" }, HV = { c
31447
31469
  name: "x",
31448
31470
  size: 12
31449
31471
  })
31450
- ], 8, QV)) : de("", !0)
31472
+ ], 8, tV)) : de("", !0)
31451
31473
  ]),
31452
- f.value != null ? (x(), L("div", e8, [
31453
- $("div", t8, [
31474
+ f.value != null ? (x(), L("div", nV, [
31475
+ $("div", oV, [
31454
31476
  q(m(ft), {
31455
31477
  class: "em-history__range-sel",
31456
31478
  "model-value": f.value ?? void 0,
@@ -31473,51 +31495,51 @@ const UV = { class: "em-history" }, FV = { class: "em-history__head" }, HV = { c
31473
31495
  "onUpdate:modelValue": Me[6] || (Me[6] = (Ce) => $e(Ce ?? null))
31474
31496
  }, null, 8, ["model-value", "items", "value-provider", "label-provider"])
31475
31497
  ]),
31476
- $("span", n8, X(m(i).t("em.history.diff.count", { n: ((fe = ye.value) == null ? void 0 : fe.entries.length) ?? 0 })), 1),
31498
+ $("span", iV, X(m(i).t("em.history.diff.count", { n: ((fe = ye.value) == null ? void 0 : fe.entries.length) ?? 0 })), 1),
31477
31499
  $("button", {
31478
31500
  type: "button",
31479
31501
  class: "em-history__diffbar-exit",
31480
31502
  onClick: ke
31481
31503
  }, X(m(i).t("em.history.diff.exit")), 1)
31482
31504
  ])) : de("", !0),
31483
- $("div", o8, [
31505
+ $("div", aV, [
31484
31506
  f.value != null ? (x(), L(Ie, { key: 0 }, [
31485
- (be = ye.value) != null && be.entries.length ? (x(), L("ul", a8, [
31486
- (x(!0), L(Ie, null, Ge(ye.value.entries, (Ce, pt) => (x(), L("li", {
31507
+ (be = ye.value) != null && be.entries.length ? (x(), L("ul", rV, [
31508
+ (x(!0), L(Ie, null, Ye(ye.value.entries, (Ce, pt) => (x(), L("li", {
31487
31509
  key: pt,
31488
31510
  class: Ae(["em-history__diff-entry", { "is-focusable": !!ne(Ce.subject) }]),
31489
31511
  onClick: (Mt) => se(Ce.subject)
31490
31512
  }, [
31491
- $("div", r8, [
31513
+ $("div", dV, [
31492
31514
  q(Be, {
31493
31515
  name: I[Ce.subject.kind],
31494
31516
  size: 12
31495
31517
  }, null, 8, ["name"]),
31496
- $("span", l8, X(R(Ce.subject)), 1),
31518
+ $("span", cV, X(R(Ce.subject)), 1),
31497
31519
  $("span", {
31498
31520
  class: Ae(["em-history__verb", `is-${Ee[Ce.verb]}`])
31499
31521
  }, X(m(i).t(re[Ce.verb])), 3)
31500
31522
  ]),
31501
- Ce.fields.length ? (x(), L("ul", d8, [
31502
- (x(!0), L(Ie, null, Ge(Ce.fields, (Mt, Vt) => (x(), L("li", {
31523
+ Ce.fields.length ? (x(), L("ul", uV, [
31524
+ (x(!0), L(Ie, null, Ye(Ce.fields, (Mt, Vt) => (x(), L("li", {
31503
31525
  key: Vt,
31504
31526
  class: "em-history__field"
31505
31527
  }, [
31506
- $("span", c8, X(Mt.field), 1),
31507
- Mt.oldValue !== void 0 ? (x(), L("span", u8, X(te(Mt.oldValue)), 1)) : de("", !0),
31508
- Mt.oldValue !== void 0 ? (x(), Ye(Be, {
31528
+ $("span", mV, X(Mt.field), 1),
31529
+ Mt.oldValue !== void 0 ? (x(), L("span", fV, X(te(Mt.oldValue)), 1)) : de("", !0),
31530
+ Mt.oldValue !== void 0 ? (x(), Ke(Be, {
31509
31531
  key: 1,
31510
31532
  name: "arrow-lr",
31511
31533
  size: 10,
31512
31534
  class: "em-history__arrow"
31513
31535
  })) : de("", !0),
31514
- $("span", m8, X(te(Mt.value)), 1)
31536
+ $("span", pV, X(te(Mt.value)), 1)
31515
31537
  ]))), 128))
31516
31538
  ])) : de("", !0)
31517
- ], 10, s8))), 128))
31518
- ])) : (x(), L("p", i8, X(m(i).t("em.history.diff.empty")), 1))
31519
- ], 64)) : s.value && !l.value ? (x(), L("p", f8, X(m(i).t("em.history.loading")), 1)) : r.value ? (x(), L("p", p8, X(r.value), 1)) : K.value.length === 0 ? (x(), L("p", h8, X(l.value ? m(i).t("em.history.emptyLoaded") : m(i).t("em.history.emptyNotLoaded")), 1)) : (x(), L("ul", y8, [
31520
- (x(!0), L(Ie, null, Ge(B.value, (Ce) => {
31539
+ ], 10, lV))), 128))
31540
+ ])) : (x(), L("p", sV, X(m(i).t("em.history.diff.empty")), 1))
31541
+ ], 64)) : s.value && !l.value ? (x(), L("p", hV, X(m(i).t("em.history.loading")), 1)) : r.value ? (x(), L("p", yV, X(r.value), 1)) : K.value.length === 0 ? (x(), L("p", vV, X(l.value ? m(i).t("em.history.emptyLoaded") : m(i).t("em.history.emptyNotLoaded")), 1)) : (x(), L("ul", gV, [
31542
+ (x(!0), L(Ie, null, Ye(B.value, (Ce) => {
31521
31543
  var pt, Mt, Vt;
31522
31544
  return x(), L("li", {
31523
31545
  key: Ce.seq,
@@ -31535,49 +31557,49 @@ const UV = { class: "em-history" }, FV = { class: "em-history__head" }, HV = { c
31535
31557
  $("span", {
31536
31558
  class: Ae(["em-history__kind", `is-${Ce.kind ?? "edit"}`])
31537
31559
  }, X(m(i).t(Ce.kind === "restore" ? "em.history.kindRestore" : "em.history.kindEdit")), 3),
31538
- $("span", g8, X(ve(Ce)), 1),
31539
- $("span", b8, "#" + X(Ce.seq), 1)
31540
- ], 8, v8),
31541
- $("div", _8, [
31542
- $("span", w8, X(Oe(Ce)), 1),
31543
- Ce.ts ? (x(), L("span", I8, X(Fe(Ce.ts)), 1)) : de("", !0),
31544
- Ce.kind === "restore" && Ce.restoredFromSeq != null ? (x(), L("span", k8, "← #" + X(Ce.restoredFromSeq), 1)) : de("", !0),
31560
+ $("span", _V, X(ve(Ce)), 1),
31561
+ $("span", wV, "#" + X(Ce.seq), 1)
31562
+ ], 8, bV),
31563
+ $("div", IV, [
31564
+ $("span", kV, X(Oe(Ce)), 1),
31565
+ Ce.ts ? (x(), L("span", EV, X(Fe(Ce.ts)), 1)) : de("", !0),
31566
+ Ce.kind === "restore" && Ce.restoredFromSeq != null ? (x(), L("span", NV, "← #" + X(Ce.restoredFromSeq), 1)) : de("", !0),
31545
31567
  Ce.seq !== z.value ? (x(), L("button", {
31546
31568
  key: 2,
31547
31569
  type: "button",
31548
31570
  class: "em-history__compare-btn",
31549
31571
  onClick: Xe((rt) => we(Ce.seq), ["stop"])
31550
- }, X(m(i).t("em.history.diff.compare")), 9, E8)) : de("", !0)
31572
+ }, X(m(i).t("em.history.diff.compare")), 9, CV)) : de("", !0)
31551
31573
  ]),
31552
- ce.value.has(Ce.seq) ? (x(), L("div", N8, [
31553
- (x(!0), L(Ie, null, Ge(Ce.actions, (rt, Zt) => (x(), L("div", {
31574
+ ce.value.has(Ce.seq) ? (x(), L("div", RV, [
31575
+ (x(!0), L(Ie, null, Ye(Ce.actions, (rt, Zt) => (x(), L("div", {
31554
31576
  key: Zt,
31555
31577
  class: "em-history__action"
31556
31578
  }, [
31557
- $("div", C8, [
31579
+ $("div", AV, [
31558
31580
  q(Be, {
31559
31581
  name: I[rt.subject.kind],
31560
31582
  size: 12
31561
31583
  }, null, 8, ["name"]),
31562
- $("span", R8, X(R(rt.subject)), 1),
31584
+ $("span", $V, X(R(rt.subject)), 1),
31563
31585
  $("span", {
31564
31586
  class: Ae(["em-history__verb", `is-${rt.verb}`])
31565
31587
  }, X(m(i).t(S[rt.verb])), 3)
31566
31588
  ]),
31567
- rt.fields.length ? (x(), L("ul", A8, [
31568
- (x(!0), L(Ie, null, Ge(rt.fields, (gt, pn) => (x(), L("li", {
31589
+ rt.fields.length ? (x(), L("ul", xV, [
31590
+ (x(!0), L(Ie, null, Ye(rt.fields, (gt, pn) => (x(), L("li", {
31569
31591
  key: pn,
31570
31592
  class: "em-history__field"
31571
31593
  }, [
31572
- $("span", $8, X(gt.field), 1),
31573
- gt.oldValue !== void 0 ? (x(), L("span", x8, X(te(gt.oldValue)), 1)) : de("", !0),
31574
- gt.oldValue !== void 0 ? (x(), Ye(Be, {
31594
+ $("span", SV, X(gt.field), 1),
31595
+ gt.oldValue !== void 0 ? (x(), L("span", TV, X(te(gt.oldValue)), 1)) : de("", !0),
31596
+ gt.oldValue !== void 0 ? (x(), Ke(Be, {
31575
31597
  key: 1,
31576
31598
  name: "arrow-lr",
31577
31599
  size: 10,
31578
31600
  class: "em-history__arrow"
31579
31601
  })) : de("", !0),
31580
- $("span", S8, X(te(gt.value)), 1)
31602
+ $("span", MV, X(te(gt.value)), 1)
31581
31603
  ]))), 128))
31582
31604
  ])) : de("", !0)
31583
31605
  ]))), 128))
@@ -31587,7 +31609,7 @@ const UV = { class: "em-history" }, FV = { class: "em-history__head" }, HV = { c
31587
31609
  class: Ae(["em-history__restore", { "is-confirming": Pe.value === Ce.seq }])
31588
31610
  }, [
31589
31611
  Pe.value === Ce.seq ? (x(), L(Ie, { key: 0 }, [
31590
- $("div", T8, [
31612
+ $("div", LV, [
31591
31613
  $("button", {
31592
31614
  type: "button",
31593
31615
  class: "em-history__preview-toggle",
@@ -31600,55 +31622,55 @@ const UV = { class: "em-history" }, FV = { class: "em-history__head" }, HV = { c
31600
31622
  class: Ae(["em-history__chevron", { "is-open": ht.value }])
31601
31623
  }, null, 8, ["class"]),
31602
31624
  kn(" " + X((Mt = ze.value) != null && Mt.entries.length ? m(i).t("em.history.diff.restorePreview", { n: ze.value.entries.length }) : m(i).t("em.history.diff.restorePreviewNone")), 1)
31603
- ], 8, M8),
31604
- ht.value && ((Vt = ze.value) != null && Vt.entries.length) ? (x(), L("ul", L8, [
31605
- (x(!0), L(Ie, null, Ge(ze.value.entries, (rt, Zt) => (x(), L("li", {
31625
+ ], 8, OV),
31626
+ ht.value && ((Vt = ze.value) != null && Vt.entries.length) ? (x(), L("ul", PV, [
31627
+ (x(!0), L(Ie, null, Ye(ze.value.entries, (rt, Zt) => (x(), L("li", {
31606
31628
  key: Zt,
31607
31629
  class: "em-history__diff-entry"
31608
31630
  }, [
31609
- $("div", O8, [
31631
+ $("div", DV, [
31610
31632
  q(Be, {
31611
31633
  name: I[rt.subject.kind],
31612
31634
  size: 12
31613
31635
  }, null, 8, ["name"]),
31614
- $("span", P8, X(R(rt.subject)), 1),
31636
+ $("span", VV, X(R(rt.subject)), 1),
31615
31637
  $("span", {
31616
31638
  class: Ae(["em-history__verb", `is-${Ee[rt.verb]}`])
31617
31639
  }, X(m(i).t(re[rt.verb])), 3)
31618
31640
  ]),
31619
- rt.fields.length ? (x(), L("ul", D8, [
31620
- (x(!0), L(Ie, null, Ge(rt.fields, (gt, pn) => (x(), L("li", {
31641
+ rt.fields.length ? (x(), L("ul", BV, [
31642
+ (x(!0), L(Ie, null, Ye(rt.fields, (gt, pn) => (x(), L("li", {
31621
31643
  key: pn,
31622
31644
  class: "em-history__field"
31623
31645
  }, [
31624
- $("span", V8, X(gt.field), 1),
31625
- gt.oldValue !== void 0 ? (x(), L("span", B8, X(te(gt.oldValue)), 1)) : de("", !0),
31626
- gt.oldValue !== void 0 ? (x(), Ye(Be, {
31646
+ $("span", zV, X(gt.field), 1),
31647
+ gt.oldValue !== void 0 ? (x(), L("span", UV, X(te(gt.oldValue)), 1)) : de("", !0),
31648
+ gt.oldValue !== void 0 ? (x(), Ke(Be, {
31627
31649
  key: 1,
31628
31650
  name: "arrow-lr",
31629
31651
  size: 10,
31630
31652
  class: "em-history__arrow"
31631
31653
  })) : de("", !0),
31632
- $("span", z8, X(te(gt.value)), 1)
31654
+ $("span", FV, X(te(gt.value)), 1)
31633
31655
  ]))), 128))
31634
31656
  ])) : de("", !0)
31635
31657
  ]))), 128))
31636
31658
  ])) : de("", !0)
31637
31659
  ]),
31638
- $("div", U8, [
31639
- $("span", F8, X(m(i).t("em.history.confirmRestore")), 1),
31660
+ $("div", HV, [
31661
+ $("span", jV, X(m(i).t("em.history.confirmRestore")), 1),
31640
31662
  $("button", {
31641
31663
  type: "button",
31642
31664
  class: "em-history__confirm-yes",
31643
31665
  disabled: We.value,
31644
31666
  onClick: (rt) => Bt(Ce.seq)
31645
- }, X(m(i).t("em.history.doRestore")), 9, H8),
31667
+ }, X(m(i).t("em.history.doRestore")), 9, KV),
31646
31668
  $("button", {
31647
31669
  type: "button",
31648
31670
  class: "em-history__confirm-no",
31649
31671
  disabled: We.value,
31650
31672
  onClick: Me[8] || (Me[8] = (rt) => Pe.value = null)
31651
- }, X(m(i).t("em.history.cancel")), 9, j8)
31673
+ }, X(m(i).t("em.history.cancel")), 9, GV)
31652
31674
  ])
31653
31675
  ], 64)) : (x(), L("button", {
31654
31676
  key: 1,
@@ -31661,7 +31683,7 @@ const UV = { class: "em-history" }, FV = { class: "em-history__head" }, HV = { c
31661
31683
  size: 12
31662
31684
  }),
31663
31685
  kn(" " + X(m(i).t("em.history.restoreToHere")), 1)
31664
- ], 8, K8))
31686
+ ], 8, YV))
31665
31687
  ], 2)) : de("", !0)
31666
31688
  ], 2);
31667
31689
  }), 128))
@@ -31681,14 +31703,14 @@ const UV = { class: "em-history" }, FV = { class: "em-history__head" }, HV = { c
31681
31703
  _: 1
31682
31704
  }));
31683
31705
  }
31684
- }), Y8 = /* @__PURE__ */ wt(G8, [["__scopeId", "data-v-9f624c61"]]);
31685
- function q8(e, t) {
31706
+ }), WV = /* @__PURE__ */ wt(qV, [["__scopeId", "data-v-9f624c61"]]);
31707
+ function JV(e, t) {
31686
31708
  if (!e || typeof window > "u" || !window.localStorage) return null;
31687
31709
  const n = window.localStorage.getItem(e), o = n == null ? NaN : Number(n);
31688
31710
  return Number.isFinite(o) && o >= t ? o : null;
31689
31711
  }
31690
31712
  function Vm(e) {
31691
- const t = he(q8(e.storageKey, e.min) ?? e.initial), n = he(!1);
31713
+ const t = pe(JV(e.storageKey, e.min) ?? e.initial), n = pe(!1);
31692
31714
  function o(i) {
31693
31715
  i.preventDefault();
31694
31716
  const a = i.clientX, s = t.value;
@@ -31704,13 +31726,13 @@ function Vm(e) {
31704
31726
  }
31705
31727
  return { width: t, dragging: n, startResize: o };
31706
31728
  }
31707
- const W8 = { class: "em-modeler" }, J8 = { class: "em-modeler__body" }, X8 = { class: "em-drawer__inner" }, Z8 = { class: "em-drawer__head" }, Q8 = { class: "em-drawer__actions" }, eB = ["title"], tB = ["title"], nB = ["title"], oB = ["title"], iB = ["title"], aB = /* @__PURE__ */ et({
31729
+ const XV = { class: "em-modeler" }, ZV = { class: "em-modeler__body" }, QV = { class: "em-drawer__inner" }, eB = { class: "em-drawer__head" }, tB = { class: "em-drawer__actions" }, nB = ["title"], oB = ["title"], iB = ["title"], aB = ["title"], sB = ["title"], rB = /* @__PURE__ */ et({
31708
31730
  __name: "EntityModeler",
31709
31731
  props: {
31710
31732
  controller: {}
31711
31733
  },
31712
31734
  setup(e) {
31713
- const t = he(!0), n = he(!0), o = he(null), i = he(null), a = he(null), s = he(null);
31735
+ const t = pe(!0), n = pe(!0), o = pe(null), i = pe(null), a = pe(null), s = pe(null);
31714
31736
  function r(C) {
31715
31737
  Lt(() => {
31716
31738
  const N = C();
@@ -31723,11 +31745,11 @@ const W8 = { class: "em-modeler" }, J8 = { class: "em-modeler__body" }, X8 = { c
31723
31745
  function d(C) {
31724
31746
  n.value = C, r(() => C ? s.value : a.value);
31725
31747
  }
31726
- const c = he(!1), u = jn(null), { width: f, dragging: p, startResize: y } = Vm({ initial: 260, min: 260, max: 560, edge: "right", storageKey: "em.explorerWidth" }), { width: v, dragging: g, startResize: b } = Vm({ initial: 320, min: 320, max: 640, edge: "left", storageKey: "em.panelWidth" }), _ = he(null), h = he(null);
31748
+ const c = pe(!1), u = jn(null), { width: f, dragging: p, startResize: y } = Vm({ initial: 260, min: 260, max: 560, edge: "right", storageKey: "em.explorerWidth" }), { width: v, dragging: g, startResize: b } = Vm({ initial: 320, min: 320, max: 640, edge: "left", storageKey: "em.panelWidth" }), _ = pe(null), h = pe(null);
31727
31749
  return (C, N) => {
31728
31750
  var R, I, S;
31729
- return x(), L("div", W8, [
31730
- q(cD, {
31751
+ return x(), L("div", XV, [
31752
+ q(mD, {
31731
31753
  controller: e.controller,
31732
31754
  "history-open": c.value,
31733
31755
  onExportSvg: N[0] || (N[0] = (O) => {
@@ -31744,15 +31766,15 @@ const W8 = { class: "em-modeler" }, J8 = { class: "em-modeler__body" }, X8 = { c
31744
31766
  }),
31745
31767
  onToggleHistory: N[3] || (N[3] = (O) => c.value = !c.value)
31746
31768
  }, null, 8, ["controller", "history-open"]),
31747
- $("div", J8, [
31769
+ $("div", ZV, [
31748
31770
  $("aside", {
31749
31771
  class: Ae(["em-drawer", { "is-collapsed": !t.value }]),
31750
31772
  style: Nt({ width: m(f) + "px" })
31751
31773
  }, [
31752
- $("div", X8, [
31753
- $("header", Z8, [
31774
+ $("div", QV, [
31775
+ $("header", eB, [
31754
31776
  N[12] || (N[12] = $("span", null, "Diagram Explorer", -1)),
31755
- $("div", Q8, [
31777
+ $("div", tB, [
31756
31778
  (R = h.value) != null && R.hasExpandable ? (x(), L("button", {
31757
31779
  key: 0,
31758
31780
  type: "button",
@@ -31767,7 +31789,7 @@ const W8 = { class: "em-modeler" }, J8 = { class: "em-modeler__body" }, X8 = { c
31767
31789
  name: (S = h.value) != null && S.allExpanded ? "collapse-all" : "expand-all",
31768
31790
  size: 16
31769
31791
  }, null, 8, ["name"])
31770
- ], 8, eB)) : de("", !0),
31792
+ ], 8, nB)) : de("", !0),
31771
31793
  $("button", {
31772
31794
  ref_key: "explorerCollapseBtn",
31773
31795
  ref: o,
@@ -31780,10 +31802,10 @@ const W8 = { class: "em-modeler" }, J8 = { class: "em-modeler__body" }, X8 = { c
31780
31802
  name: "panel-close",
31781
31803
  size: 16
31782
31804
  })
31783
- ], 8, tB)
31805
+ ], 8, oB)
31784
31806
  ])
31785
31807
  ]),
31786
- q(PP, {
31808
+ q(VP, {
31787
31809
  ref_key: "explorer",
31788
31810
  ref: h,
31789
31811
  controller: e.controller,
@@ -31795,7 +31817,7 @@ const W8 = { class: "em-modeler" }, J8 = { class: "em-modeler__body" }, X8 = { c
31795
31817
  title: e.controller.t("em.panel.resizeWidth"),
31796
31818
  onPointerdown: N[6] || (N[6] = //@ts-ignore
31797
31819
  (...O) => m(y) && m(y)(...O))
31798
- }, null, 42, nB), [
31820
+ }, null, 42, iB), [
31799
31821
  [Si, t.value]
31800
31822
  ])
31801
31823
  ], 6),
@@ -31813,7 +31835,7 @@ const W8 = { class: "em-modeler" }, J8 = { class: "em-modeler__body" }, X8 = { c
31813
31835
  name: "panel-open",
31814
31836
  size: 18
31815
31837
  })
31816
- ], 8, oB), [
31838
+ ], 8, aB), [
31817
31839
  [Si, !t.value]
31818
31840
  ])
31819
31841
  ]),
@@ -31823,7 +31845,7 @@ const W8 = { class: "em-modeler" }, J8 = { class: "em-modeler__body" }, X8 = { c
31823
31845
  class: Ae(["em-modeler__canvas", { "is-drawer-open": t.value, "is-resizing": m(p), "is-inspector-collapsed": !n.value }]),
31824
31846
  style: Nt({ "--em-drawer-shift": m(f) - 6 + "px" })
31825
31847
  }, [
31826
- q(wP, {
31848
+ q(kP, {
31827
31849
  ref_key: "canvas",
31828
31850
  ref: _,
31829
31851
  controller: e.controller,
@@ -31831,7 +31853,7 @@ const W8 = { class: "em-modeler" }, J8 = { class: "em-modeler__body" }, X8 = { c
31831
31853
  "embed-collapse-storage-key": "em.embedCollapsed"
31832
31854
  }, null, 8, ["controller", "diff-marks"])
31833
31855
  ], 6),
31834
- mn(q(IV, {
31856
+ mn(q(E8, {
31835
31857
  ref_key: "inspectorRef",
31836
31858
  ref: s,
31837
31859
  controller: e.controller,
@@ -31856,20 +31878,20 @@ const W8 = { class: "em-modeler" }, J8 = { class: "em-modeler__body" }, X8 = { c
31856
31878
  name: "panel-right-open",
31857
31879
  size: 18
31858
31880
  })
31859
- ], 8, iB), [
31881
+ ], 8, sB), [
31860
31882
  [Si, !n.value]
31861
31883
  ])
31862
31884
  ]),
31863
31885
  _: 1
31864
31886
  }),
31865
- q(Y8, {
31887
+ q(WV, {
31866
31888
  controller: e.controller,
31867
31889
  open: c.value,
31868
31890
  onClose: N[10] || (N[10] = (O) => c.value = !1),
31869
31891
  onDiffChange: N[11] || (N[11] = (O) => u.value = O)
31870
31892
  }, null, 8, ["controller", "open"])
31871
31893
  ]),
31872
- q(DV, {
31894
+ q(B8, {
31873
31895
  controller: e.controller,
31874
31896
  "panel-width": m(v),
31875
31897
  "inspector-open": n.value
@@ -31877,48 +31899,48 @@ const W8 = { class: "em-modeler" }, J8 = { class: "em-modeler__body" }, X8 = { c
31877
31899
  ]);
31878
31900
  };
31879
31901
  }
31880
- }), CB = /* @__PURE__ */ wt(aB, [["__scopeId", "data-v-b162af97"]]);
31902
+ }), AB = /* @__PURE__ */ wt(rB, [["__scopeId", "data-v-b162af97"]]);
31881
31903
  export {
31882
- gB as APPLY_MODEL_OPS_INPUT_SCHEMA,
31904
+ _B as APPLY_MODEL_OPS_INPUT_SCHEMA,
31883
31905
  zS as AssociationEdge,
31884
31906
  Io as CUSTOM_TYPE_VALUE,
31885
31907
  qc as CommandStack,
31886
31908
  Ec as DEFAULT_JAVA_TYPE,
31887
31909
  Tf as DIAGRAM_JSON_FORMAT,
31888
31910
  Mf as DIAGRAM_JSON_VERSION,
31889
- wP as DiagramCanvas,
31890
- PP as DiagramExplorer,
31911
+ kP as DiagramCanvas,
31912
+ VP as DiagramExplorer,
31891
31913
  _i as EDITOR,
31892
- NB as EditModeToggle,
31893
- cD as EditorToolbar,
31894
- CB as EntityModeler,
31914
+ RB as EditModeToggle,
31915
+ mD as EditorToolbar,
31916
+ AB as EntityModeler,
31895
31917
  sS as EntityNode,
31896
31918
  Oo as GROUP_CODE_ENUM_VALUE,
31897
31919
  fS as GroupNode,
31898
31920
  _d as INHERITED_REF_PREFIX,
31899
31921
  Ei as InvalidDiagramJsonError,
31900
31922
  Ir as JAVA_TYPES,
31901
- pB as LIB_VERSION,
31923
+ yB as LIB_VERSION,
31902
31924
  vS as NoteNode,
31903
31925
  F_ as OpSyncAdapter,
31904
31926
  As as PHYSICAL_NAME_MAX_LENGTH,
31905
- IV as PropertyPanel,
31927
+ E8 as PropertyPanel,
31906
31928
  D_ as RevCache,
31907
31929
  pg as SELECTABLE_JAVA_TYPES,
31908
31930
  H_ as SYMBOLIC_OP_KINDS,
31909
31931
  W1 as SYMBOLIC_OP_SCHEMA,
31910
- kB as UI_LOCALES,
31932
+ NB as UI_LOCALES,
31911
31933
  rf as applyDocumentReferenceOnly,
31912
- bB as buildAgentBatch,
31934
+ wB as buildAgentBatch,
31913
31935
  Av as buildDiagramSvg,
31914
31936
  P_ as buildDiffMarks,
31915
31937
  Bo as collectSharedColumns,
31916
- yB as commands,
31938
+ gB as commands,
31917
31939
  Yv as computeAutoLayout,
31918
- EB as createEditorController,
31919
- fB as dedupeModelIds,
31920
- dB as defaultMermaidDialect,
31921
- cB as defaultSqlDialect,
31940
+ CB as createEditorController,
31941
+ hB as dedupeModelIds,
31942
+ uB as defaultMermaidDialect,
31943
+ mB as defaultSqlDialect,
31922
31944
  lb as diagramToJson,
31923
31945
  Jr as displayLabel,
31924
31946
  wx as emptyState,
@@ -31935,7 +31957,7 @@ export {
31935
31957
  Jv as makeInheritedColumnRef,
31936
31958
  c_ as mergeDiagram,
31937
31959
  Lg as mermaidErToImportSource,
31938
- mB as migrateLegacyMoney,
31960
+ pB as migrateLegacyMoney,
31939
31961
  xd as multiplicityLabel,
31940
31962
  Qe as newId,
31941
31963
  Km as packEntityBoxes,
@@ -31943,7 +31965,7 @@ export {
31943
31965
  Ym as parseInheritedColumnRef,
31944
31966
  Mg as parseMermaidEr,
31945
31967
  Af as parseSqlDdl,
31946
- IB as planHealBackfillOps,
31968
+ EB as planHealBackfillOps,
31947
31969
  Qf as projectActionLog,
31948
31970
  $_ as projectEntityAudit,
31949
31971
  xo as projectFieldAudit,
@@ -31955,15 +31977,15 @@ export {
31955
31977
  fn as resolveEffectiveColumn,
31956
31978
  Vc as resolveQuickFix,
31957
31979
  Qi as resolveSharedColumn,
31958
- vB as resolveSymbolicOps,
31980
+ bB as resolveSymbolicOps,
31959
31981
  Ui as restoreDeepEqual,
31960
- uB as scaffoldEntityJava,
31982
+ fB as scaffoldEntityJava,
31961
31983
  lf as sharedColumnScopeEntities,
31962
31984
  qg as sqlDdlToImportSource,
31963
31985
  br as stereotypeLabel,
31964
- hB as synthesizeRestoreOps,
31965
- _B as toPersisted,
31966
- wB as toPersistedV2,
31986
+ vB as synthesizeRestoreOps,
31987
+ IB as toPersisted,
31988
+ kB as toPersistedV2,
31967
31989
  Qn as translate,
31968
31990
  RR as uiMessagesEn,
31969
31991
  AR as uiMessagesJa,