@g1cloud/ui-modeler-next 5.0.0-alpha.8 → 5.0.0-alpha.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/preview/assets/{BSAlertModal-DBRQ0cCa-C73eZaze.js → BSAlertModal-DBRQ0cCa-CigXGA-U.js} +1 -1
  2. package/dist/preview/assets/{BSGridColumnSettingModal-C7xgLov6-DMlfJD9n.js → BSGridColumnSettingModal-C7xgLov6-FbgzMqxq.js} +1 -1
  3. package/dist/preview/assets/{BSRichTextMaximizedModal-D4w5hGdQ-CQ7wFv4j.js → BSRichTextMaximizedModal-D4w5hGdQ-BXNSoK72.js} +1 -1
  4. package/dist/preview/assets/{BSYesNoModal-Dj2nMArb-TqxPznXt.js → BSYesNoModal-Dj2nMArb-CuDGkN_r.js} +1 -1
  5. package/dist/preview/assets/{BSYoutubeInputModal-Mro_98AC-B6upksIx.js → BSYoutubeInputModal-Mro_98AC-Ymz4JdiS.js} +1 -1
  6. package/dist/preview/assets/{ImageInsertModal-DeL97iRr-BIVv-r6P.js → ImageInsertModal-DeL97iRr-C6mfU8fR.js} +1 -1
  7. package/dist/preview/assets/{ImageProperties.vue_vue_type_script_setup_true_lang-DCv-pBh_-lYwGLrld.js → ImageProperties.vue_vue_type_script_setup_true_lang-DCv-pBh_-B6JyC4mm.js} +1 -1
  8. package/dist/preview/assets/{ImagePropertiesModal-DD6cl6c0-DZaNaGWF.js → ImagePropertiesModal-DD6cl6c0-SWgb4CoW.js} +1 -1
  9. package/dist/preview/assets/{LinkPropertiesModal-CkgkjB7g-CP9nnQA-.js → LinkPropertiesModal-CkgkjB7g-CG8ZyNg5.js} +1 -1
  10. package/dist/preview/assets/{TableInsertModal-CNnGZuaP-9vXSXL3z.js → TableInsertModal-CNnGZuaP-DVOtcTN4.js} +1 -1
  11. package/dist/preview/assets/{TablePropertiesModal-BYjN7jg3-D0ouZ8nW.js → TablePropertiesModal-BYjN7jg3-R2SXrico.js} +1 -1
  12. package/dist/preview/assets/{VideoInsertModal-DIIzKI53-JJAgBeYK.js → VideoInsertModal-DIIzKI53-D6kRSOj0.js} +1 -1
  13. package/dist/preview/assets/{VideoProperties.vue_vue_type_script_setup_true_lang-BR8B1ON_-BZEmxAM1.js → VideoProperties.vue_vue_type_script_setup_true_lang-BR8B1ON_-CWTltBAK.js} +1 -1
  14. package/dist/preview/assets/{VideoPropertiesModal-DyMdwd1w-D4pRxiMM.js → VideoPropertiesModal-DyMdwd1w-DEc15QUZ.js} +1 -1
  15. package/dist/preview/assets/{YoutubeInsertModal-BSIDbYkd-jz0A6rji.js → YoutubeInsertModal-BSIDbYkd-Ch6pPIqU.js} +1 -1
  16. package/dist/preview/assets/{YoutubeProperties.vue_vue_type_script_setup_true_lang-BlmuRJva-C16bkOGp.js → YoutubeProperties.vue_vue_type_script_setup_true_lang-BlmuRJva-bFkRNnqH.js} +1 -1
  17. package/dist/preview/assets/{YoutubePropertiesModal-VDPQiwEJ-DBGLNXqD.js → YoutubePropertiesModal-VDPQiwEJ-0ufjNj1C.js} +1 -1
  18. package/dist/preview/assets/preview-CaxJbErF.css +1 -0
  19. package/dist/preview/assets/{preview-CHK7Vd6U.js → preview-Cor-RDYB.js} +40 -40
  20. package/dist/preview/preview.html +2 -2
  21. package/dist/ui-modeler-next.css +1 -1
  22. package/dist/ui-modeler.js +506 -491
  23. package/dist/ui-modeler.umd.cjs +1 -1
  24. package/dist/view/layout.d.ts +13 -2
  25. package/dist/view/preview/IframePreview.vue.d.ts +6 -0
  26. package/dist/view/preview/protocol.d.ts +15 -2
  27. package/package.json +1 -1
  28. package/dist/preview/assets/preview-D_Yvfk8p.css +0 -1
@@ -1,7 +1,7 @@
1
1
  var tn = Object.defineProperty;
2
2
  var nn = (e, t, o) => t in e ? tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
3
  var X = (e, t, o) => nn(e, typeof t != "symbol" ? t + "" : t, o);
4
- import { reactive as on, ref as V, computed as M, defineComponent as se, openBlock as v, createElementBlock as O, normalizeClass as Ce, createElementVNode as H, toDisplayString as U, createCommentVNode as he, normalizeStyle as Xe, renderSlot as rn, inject as $e, resolveComponent as yt, createBlock as Ne, resolveDynamicComponent as an, mergeProps as ln, withCtx as sn, Fragment as q, renderList as oe, watch as qe, createTextVNode as cn, createVNode as Et, unref as K, onMounted as un, onBeforeUnmount as dn } from "vue";
4
+ import { reactive as on, ref as V, computed as M, defineComponent as ce, openBlock as v, createElementBlock as O, normalizeClass as Ce, createElementVNode as U, toDisplayString as H, createCommentVNode as he, normalizeStyle as $e, renderSlot as rn, inject as Ue, resolveComponent as yt, createBlock as De, resolveDynamicComponent as an, mergeProps as ln, withCtx as sn, Fragment as q, renderList as oe, watch as Pe, createTextVNode as cn, createVNode as Et, unref as K, onMounted as un, onBeforeUnmount as dn } from "vue";
5
5
  const mt = {
6
6
  Layout: [
7
7
  "VerticalLayout",
@@ -102,23 +102,23 @@ const mt = {
102
102
  function Je(e) {
103
103
  return fn.has(e);
104
104
  }
105
- const J = (e) => ({ kind: "string", value: e }), St = (e) => ({ kind: "int", value: e }), N = (e) => ({ kind: "bool", value: e }), vt = (e) => ({ kind: "text", value: e }), ea = (e) => ({ kind: "dataSource", value: e }), ta = (e) => ({ kind: "dataMapping", value: e }), na = (e) => ({ kind: "validator", value: e });
106
- function Pe(e, t = "") {
105
+ const J = (e) => ({ kind: "string", value: e }), St = (e) => ({ kind: "int", value: e }), N = (e) => ({ kind: "bool", value: e }), vt = (e) => ({ kind: "text", value: e }), na = (e) => ({ kind: "dataSource", value: e }), oa = (e) => ({ kind: "dataMapping", value: e }), ra = (e) => ({ kind: "validator", value: e });
106
+ function Be(e, t = "") {
107
107
  return (e == null ? void 0 : e.kind) === "string" ? e.value : t;
108
108
  }
109
- function le(e, t = 0) {
109
+ function se(e, t = 0) {
110
110
  return (e == null ? void 0 : e.kind) === "int" ? e.value : t;
111
111
  }
112
- function De(e, t = !1) {
112
+ function Fe(e, t = !1) {
113
113
  return (e == null ? void 0 : e.kind) === "bool" ? e.value : t;
114
114
  }
115
115
  function Lt(e) {
116
116
  return (e == null ? void 0 : e.kind) === "text" ? e.value : void 0;
117
117
  }
118
- function oa(e) {
118
+ function aa(e) {
119
119
  return (e == null ? void 0 : e.kind) === "validator" ? e.value : void 0;
120
120
  }
121
- const ra = {
121
+ const ia = {
122
122
  NOTI_S: "Success",
123
123
  NOTI_F: "Fail",
124
124
  CONFIRM: "Confirm"
@@ -150,17 +150,17 @@ function ee(e, t) {
150
150
  function re(e, t) {
151
151
  if (t(e), e.children) for (const o of e.children) re(o, t);
152
152
  }
153
- function aa(e, t) {
153
+ function la(e, t) {
154
154
  const o = [];
155
155
  return re(e, (n) => {
156
156
  t(n) && o.push(n);
157
157
  }), o;
158
158
  }
159
- function Ue(e, t) {
159
+ function He(e, t) {
160
160
  if (e.children)
161
161
  for (const o of e.children) {
162
162
  if (o.partId === t) return e;
163
- const n = Ue(o, t);
163
+ const n = He(o, t);
164
164
  if (n) return n;
165
165
  }
166
166
  }
@@ -213,8 +213,8 @@ function Tn(e, t) {
213
213
  message: `${i.partType}은(는) 자식으로 ${u.partType}을(를) 담을 수 없습니다`
214
214
  }), a)
215
215
  for (const p of Object.keys(u.layoutAttrs ?? {})) {
216
- const g = t.propertyItem(i.partType, p);
217
- g != null && g.layoutAttr || o.push({
216
+ const E = t.propertyItem(i.partType, p);
217
+ E != null && E.layoutAttr || o.push({
218
218
  ruleId: "CHK-ATTR-1",
219
219
  severity: "warning",
220
220
  targetKind: "part",
@@ -256,7 +256,7 @@ function yn(e) {
256
256
  if (!nt(e.text)) return e.text;
257
257
  }
258
258
  }
259
- function Fe(e) {
259
+ function Ge(e) {
260
260
  return yn(hn(e));
261
261
  }
262
262
  function Ee(e) {
@@ -283,7 +283,7 @@ function En(e) {
283
283
  const p = a.split(",");
284
284
  p.length > 0 && (l = p[0]), p.length > 1 && (s = p[1]);
285
285
  }
286
- const c = n.length >= 3 ? Fe(n[2].trim()) : void 0, u = n.length >= 4 ? Fe(n[3].trim()) : void 0;
286
+ const c = n.length >= 3 ? Ge(n[2].trim()) : void 0, u = n.length >= 4 ? Ge(n[3].trim()) : void 0;
287
287
  switch (i) {
288
288
  case "required":
289
289
  t.useRequired = !0, t.requiredMsg = c;
@@ -322,7 +322,7 @@ function mn(e) {
322
322
  sortName: t.length > 3 ? t[3] : ""
323
323
  };
324
324
  }
325
- function ia(e) {
325
+ function sa(e) {
326
326
  return e == null ? [] : e.split(";").filter((t) => t.trim().length > 0).map(mn);
327
327
  }
328
328
  const bn = {
@@ -342,7 +342,7 @@ function Sn(e, t) {
342
342
  case "bool":
343
343
  return { kind: "bool", value: e.val === "true" };
344
344
  case "text":
345
- return { kind: "text", value: Fe(e.val) ?? "" };
345
+ return { kind: "text", value: Ge(e.val) ?? "" };
346
346
  case "dataSource":
347
347
  return { kind: "dataSource", value: e.val };
348
348
  case "dataMapping":
@@ -506,7 +506,7 @@ function Cn() {
506
506
  function In(e) {
507
507
  const t = {};
508
508
  if (e.caseText && (t.caseText = { ...e.caseText }), e.msgType && (t.msgType = e.msgType), e.msgText != null) {
509
- const o = Fe(e.msgText);
509
+ const o = Ge(e.msgText);
510
510
  o !== void 0 && (t.msgText = o);
511
511
  }
512
512
  return t;
@@ -541,23 +541,23 @@ function xt(e, t) {
541
541
  children: c,
542
542
  layoutAttrMap: u,
543
543
  extraAttrMap: p,
544
- ...g
545
- } = e, y = t.report, E = t.catalog ? t.catalog.get(n) != null : !0;
546
- y && !E && y.unknownPartTypes.push({ partId: o, partType: n });
547
- const b = y ? (m) => (S, w) => y.discardedAttrs.push({ partId: o, partType: n, key: S, tag: String(w.type), layout: m }) : void 0, B = kn(t.catalog, n), Y = {
544
+ ...E
545
+ } = e, g = t.report, T = t.catalog ? t.catalog.get(n) != null : !0;
546
+ g && !T && g.unknownPartTypes.push({ partId: o, partType: n });
547
+ const b = g ? (m) => (S, w) => g.discardedAttrs.push({ partId: o, partType: n, key: S, tag: String(w.type), layout: m }) : void 0, B = kn(t.catalog, n), W = {
548
548
  partId: o,
549
549
  partType: n,
550
550
  attrs: a ? ot(a, B, b == null ? void 0 : b(!1)) : {}
551
551
  };
552
- if (xn(Y, t.catalog), i && (Y.info = {
552
+ if (xn(W, t.catalog), i && (W.info = {
553
553
  draggable: !!i.draggable,
554
554
  droppable: !!i.droppable,
555
555
  selectable: !!i.selectable,
556
556
  deletable: !!i.deletable
557
- }), u && (Y.layoutAttrs = ot(u, B, b == null ? void 0 : b(!0))), p && (Y.extraAttrs = { ...p }), l && (Y.comment = { ...l }), s && (Y.caseMessages = s.map(In)), c && (Y.children = c.map((m) => xt(m, t))), y)
558
- for (const m of Object.keys(g))
559
- y.droppedFields.push({ partId: o, partType: n, field: m });
560
- return Y;
557
+ }), u && (W.layoutAttrs = ot(u, B, b == null ? void 0 : b(!0))), p && (W.extraAttrs = { ...p }), l && (W.comment = { ...l }), s && (W.caseMessages = s.map(In)), c && (W.children = c.map((m) => xt(m, t))), g)
558
+ for (const m of Object.keys(E))
559
+ g.droppedFields.push({ partId: o, partType: n, field: m });
560
+ return W;
561
561
  }
562
562
  function An(e, t = {}) {
563
563
  return xt(e, t);
@@ -569,7 +569,7 @@ function Mn(e, t, o, n) {
569
569
  function At(e, t = null, o = 0, n = 0) {
570
570
  const i = [], a = (l, s, c) => {
571
571
  var u;
572
- i.push(Mn(l, s, c, n)), (u = l.children) == null || u.forEach((p, g) => a(p, l.partId, g));
572
+ i.push(Mn(l, s, c, n)), (u = l.children) == null || u.forEach((p, E) => a(p, l.partId, E));
573
573
  };
574
574
  return a(e, t, o), i;
575
575
  }
@@ -590,7 +590,7 @@ function Pn(e) {
590
590
  };
591
591
  return e.info && (t.info = { ...e.info }), e.layoutAttrs && (t.layoutAttrs = { ...e.layoutAttrs }), e.extraAttrs && (t.extraAttrs = { ...e.extraAttrs }), e.comment !== void 0 && (t.comment = e.comment), e.caseMessages && (t.caseMessages = [...e.caseMessages]), t;
592
592
  }
593
- function la(e) {
593
+ function ca(e) {
594
594
  const t = /* @__PURE__ */ new Map();
595
595
  for (const c of e.partList) {
596
596
  if (t.has(c.partId)) throw new Error(`v2-read: 중복 partId '${c.partId}'`);
@@ -612,7 +612,7 @@ function la(e) {
612
612
  if (a.has(c.partId)) throw new Error(`v2-read: 순환 참조 '${c.partId}'`);
613
613
  a.add(c.partId), i[c.partId] = c.rev;
614
614
  const u = Pn(c), p = o.get(c.partId);
615
- return p && (p.sort((g, y) => g.order - y.order), u.children = p.map(l)), u;
615
+ return p && (p.sort((E, g) => E.order - g.order), u.children = p.map(l)), u;
616
616
  }, s = l(n);
617
617
  if (a.size !== t.size) {
618
618
  const c = [...t.keys()].filter((u) => !a.has(u));
@@ -622,7 +622,7 @@ function la(e) {
622
622
  }
623
623
  return { root: s, revSeed: { revs: i } };
624
624
  }
625
- function sa(e, t = {}) {
625
+ function ua(e, t = {}) {
626
626
  const o = t.report ?? Cn(), n = An(e, { catalog: t.catalog, report: o });
627
627
  return { v2: _n(n, {
628
628
  opWriteEnabled: t.opWriteEnabled,
@@ -632,7 +632,7 @@ function sa(e, t = {}) {
632
632
  function rt(e, t) {
633
633
  return e == null ? t : Math.max(0, Math.min(e, t));
634
634
  }
635
- function ca(e, t, o) {
635
+ function da(e, t, o) {
636
636
  const n = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
637
637
  for (const u of e) {
638
638
  if (n.has(u.partId)) throw new Error(`applyOpsToFlat: 입력 중복 partId '${u.partId}'`);
@@ -641,10 +641,10 @@ function ca(e, t, o) {
641
641
  const a = o.revs ?? {};
642
642
  for (const [u, p] of Object.entries(a)) {
643
643
  if (!i.has(u)) continue;
644
- const g = i.get(u);
645
- if (g !== p) return { ok: !1, conflict: { kind: "rev", ref: u, current: g } };
644
+ const E = i.get(u);
645
+ if (E !== p) return { ok: !1, conflict: { kind: "rev", ref: u, current: E } };
646
646
  }
647
- const l = (u) => [...n.values()].filter((p) => p.parentId === u).sort((p, g) => p.order - g.order), s = (u) => u.forEach((p, g) => p.order = g);
647
+ const l = (u) => [...n.values()].filter((p) => p.parentId === u).sort((p, E) => p.order - E.order), s = (u) => u.forEach((p, E) => p.order = E);
648
648
  for (const u of t)
649
649
  switch (u.kind) {
650
650
  case "part.add": {
@@ -652,13 +652,13 @@ function ca(e, t, o) {
652
652
  if (p !== null && !n.has(p))
653
653
  return { ok: !1, conflict: { kind: "missing", ref: p } };
654
654
  if (!u.value) throw new Error("applyOpsToFlat: part.add에 value(서브트리) 누락");
655
- const g = At(u.value, p, 0, 0);
656
- for (const b of g) {
655
+ const E = At(u.value, p, 0, 0);
656
+ for (const b of E) {
657
657
  if (n.has(b.partId)) throw new Error(`applyOpsToFlat: part.add 중복 partId '${b.partId}'`);
658
658
  n.set(b.partId, b);
659
659
  }
660
- const y = u.value.partId, E = l(p).filter((b) => b.partId !== y);
661
- E.splice(rt(u.index, E.length), 0, n.get(y)), s(E);
660
+ const g = u.value.partId, T = l(p).filter((b) => b.partId !== g);
661
+ T.splice(rt(u.index, T.length), 0, n.get(g)), s(T);
662
662
  break;
663
663
  }
664
664
  case "part.update": {
@@ -668,30 +668,30 @@ function ca(e, t, o) {
668
668
  break;
669
669
  }
670
670
  case "part.move": {
671
- const p = u.partRef, g = p ? n.get(p) : void 0;
672
- if (!p || !g) return { ok: !1, conflict: { kind: "missing", ref: p } };
673
- const y = u.toParentRef ?? null;
674
- if (y !== null && !n.has(y))
675
- return { ok: !1, conflict: { kind: "missing", ref: y } };
676
- const E = g.parentId;
677
- s(l(E).filter((B) => B.partId !== p)), g.parentId = y;
678
- const b = l(y).filter((B) => B.partId !== p);
679
- b.splice(rt(u.index, b.length), 0, g), s(b);
671
+ const p = u.partRef, E = p ? n.get(p) : void 0;
672
+ if (!p || !E) return { ok: !1, conflict: { kind: "missing", ref: p } };
673
+ const g = u.toParentRef ?? null;
674
+ if (g !== null && !n.has(g))
675
+ return { ok: !1, conflict: { kind: "missing", ref: g } };
676
+ const T = E.parentId;
677
+ s(l(T).filter((B) => B.partId !== p)), E.parentId = g;
678
+ const b = l(g).filter((B) => B.partId !== p);
679
+ b.splice(rt(u.index, b.length), 0, E), s(b);
680
680
  break;
681
681
  }
682
682
  case "part.remove": {
683
683
  const p = u.partRef;
684
684
  if (!p || !n.has(p)) return { ok: !1, conflict: { kind: "missing", ref: p } };
685
- const g = n.get(p).parentId;
686
- for (const y of Bn(n, p)) n.delete(y);
687
- s(l(g));
685
+ const E = n.get(p).parentId;
686
+ for (const g of Bn(n, p)) n.delete(g);
687
+ s(l(E));
688
688
  break;
689
689
  }
690
690
  }
691
691
  const c = {};
692
692
  for (const [u, p] of Object.entries(a)) {
693
- const g = n.get(u);
694
- g && (i.has(u) && (g.rev = p + 1), c[u] = g.rev);
693
+ const E = n.get(u);
694
+ E && (i.has(u) && (E.rev = p + 1), c[u] = E.rev);
695
695
  }
696
696
  return { ok: !0, partList: [...n.values()], revs: c };
697
697
  }
@@ -704,7 +704,7 @@ function Bn(e, t) {
704
704
  }
705
705
  return o;
706
706
  }
707
- const ua = [
707
+ const pa = [
708
708
  "TEXT",
709
709
  "TEXT_WITH_BUTTON",
710
710
  "TEXT_RO_WITH_BUTTON",
@@ -764,10 +764,10 @@ function r(e, t, o, n, i, a) {
764
764
  function d(e, ...t) {
765
765
  return { name: e, items: t };
766
766
  }
767
- function Be(e, ...t) {
767
+ function Re(e, ...t) {
768
768
  return { name: e, layoutAttr: !0, items: t.map((o) => ({ ...o, layoutAttr: !0 })) };
769
769
  }
770
- function T() {
770
+ function h() {
771
771
  return d(
772
772
  "Component",
773
773
  r("addStyleNames", "Style", "string", "ADD_STYLE"),
@@ -778,7 +778,7 @@ function T() {
778
778
  r("srcGenHint", "Src Gen Hint", "string", "TEXTAREA")
779
779
  );
780
780
  }
781
- function h() {
781
+ function y() {
782
782
  return d("Size", r("width", "Width", "string", "TEXT"), r("height", "Height", "string", "TEXT"));
783
783
  }
784
784
  function Me() {
@@ -790,8 +790,8 @@ function Me() {
790
790
  r("maxHeight", "Max Height", "string", "TEXT")
791
791
  );
792
792
  }
793
- function We() {
794
- return Be(
793
+ function Ve() {
794
+ return Re(
795
795
  "Layout",
796
796
  r("componentAlignment", "Align", "string", "ALIGN"),
797
797
  r("expandRatio", "Expand Ratio", "int", "INTEGER")
@@ -822,7 +822,7 @@ function at() {
822
822
  function A(e, t) {
823
823
  return { kind: "toggle", css: e, label: t };
824
824
  }
825
- const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum", dim: "gap" }), we = () => ({ kind: "enum", dim: "textColor" }), z = () => ({ kind: "enum", dim: "bgColor" }), Nn = () => ({ kind: "enum", dim: "captionBg" }), Dn = () => ({ kind: "enum", dim: "captionDir" }), te = () => ({ kind: "enum", dim: "align" }), Fn = () => ({ kind: "enum", dim: "verticalAlign" }), W = () => ({ kind: "enum", dim: "size" }), Oe = () => ({ kind: "enum", dim: "size", only: ["small", "default", "large"] }), L = () => ({ kind: "enum", dim: "captionSize" }), it = () => ({ kind: "enum", dim: "iconAlign" }), lt = () => ({ kind: "enum", dim: "heading" }), Qe = () => ({ kind: "enum", dim: "weight" }), G = () => A("borderless", "Borderless"), Mt = () => A("borderless-top", "Borderless Top"), _t = () => A("borderless-bottom", "Borderless Bottom"), Pt = () => A("borderless-left", "Borderless Left"), Bt = () => A("borderless-right", "Borderless Right"), ne = () => A("bordered", "Bordered"), Rt = () => A("bordered-top", "Bordered Top"), wt = () => A("bordered-bottom", "Bordered Bottom"), Nt = () => A("bordered-left", "Bordered Left"), Dt = () => A("bordered-right", "Bordered Right"), Gn = () => A("color-bordered-top", "Color Bordered Top"), Ft = () => A("lineless", "Lineless"), Ve = () => A("horizontal", "Horizontal"), et = () => A("scrollable-full", "Scrollable"), st = () => A("white-prefix", "White Prefix"), ct = () => A("white-suffix", "White Suffix"), Xn = () => A("caption-borderless-bottom", "Caption Borderless Bottom"), ye = () => [
825
+ const ge = () => ({ kind: "enum", dim: "spacing" }), we = () => ({ kind: "enum", dim: "gap" }), Ne = () => ({ kind: "enum", dim: "textColor" }), z = () => ({ kind: "enum", dim: "bgColor" }), Nn = () => ({ kind: "enum", dim: "captionBg" }), Dn = () => ({ kind: "enum", dim: "captionDir" }), te = () => ({ kind: "enum", dim: "align" }), Fn = () => ({ kind: "enum", dim: "verticalAlign" }), Y = () => ({ kind: "enum", dim: "size" }), Oe = () => ({ kind: "enum", dim: "size", only: ["small", "default", "large"] }), L = () => ({ kind: "enum", dim: "captionSize" }), it = () => ({ kind: "enum", dim: "iconAlign" }), lt = () => ({ kind: "enum", dim: "heading" }), Qe = () => ({ kind: "enum", dim: "weight" }), G = () => A("borderless", "Borderless"), Mt = () => A("borderless-top", "Borderless Top"), _t = () => A("borderless-bottom", "Borderless Bottom"), Pt = () => A("borderless-left", "Borderless Left"), Bt = () => A("borderless-right", "Borderless Right"), ne = () => A("bordered", "Bordered"), Rt = () => A("bordered-top", "Bordered Top"), wt = () => A("bordered-bottom", "Bordered Bottom"), Nt = () => A("bordered-left", "Bordered Left"), Dt = () => A("bordered-right", "Bordered Right"), Gn = () => A("color-bordered-top", "Color Bordered Top"), Ft = () => A("lineless", "Lineless"), ze = () => A("horizontal", "Horizontal"), et = () => A("scrollable-full", "Scrollable"), st = () => A("white-prefix", "White Prefix"), ct = () => A("white-suffix", "White Suffix"), Xn = () => A("caption-borderless-bottom", "Caption Borderless Bottom"), ye = () => [
826
826
  Rt(),
827
827
  wt(),
828
828
  Nt(),
@@ -851,16 +851,16 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
851
851
  "unmask-personal-info,modify-personal-info,personal-info-excel-download,personal-info-excel-upload"
852
852
  )
853
853
  ),
854
- T(),
855
- h()
854
+ h(),
855
+ y()
856
856
  ],
857
857
  [
858
- W(),
858
+ Y(),
859
859
  G(),
860
860
  it(),
861
861
  A("menu-button", "Menu Button"),
862
862
  A("link", "Link Button"),
863
- we()
863
+ Ne()
864
864
  ]
865
865
  ),
866
866
  f(
@@ -884,10 +884,10 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
884
884
  r("popupSpacing", "Popup Spacing", "bool", "BOOL"),
885
885
  r("popupStyleNames", "Popup Style", "string", "ADD_STYLE")
886
886
  ),
887
- T(),
888
- h()
887
+ h(),
888
+ y()
889
889
  ],
890
- [W(), G(), it()]
890
+ [Y(), G(), it()]
891
891
  ),
892
892
  f(
893
893
  "Label",
@@ -898,17 +898,17 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
898
898
  r("value", "Text", "text", "MESSAGE_TEXT"),
899
899
  r("contentMode", "Content mode", "string", "SELECT", "TEXT:Text; PREFORMATTED:Preformatted; HTML:Html")
900
900
  ),
901
- T(),
902
- h()
901
+ h(),
902
+ y()
903
903
  ],
904
904
  [
905
905
  te(),
906
- W(),
906
+ Y(),
907
907
  lt(),
908
908
  Qe(),
909
909
  ge(),
910
910
  L(),
911
- we(),
911
+ Ne(),
912
912
  z(),
913
913
  ...I()
914
914
  ]
@@ -918,8 +918,8 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
918
918
  "Image",
919
919
  [
920
920
  d("Image", r("source", "Source", "string", "TEXT"), r("alternateText", "Alternate text", "string", "TEXT")),
921
- T(),
922
- h()
921
+ h(),
922
+ y()
923
923
  ],
924
924
  [...I()]
925
925
  ),
@@ -928,10 +928,10 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
928
928
  "Link",
929
929
  [
930
930
  d("Link", r("resource", "Resource", "string", "TEXT"), r("targetName", "Target name", "string", "TEXT")),
931
- T(),
932
- h()
931
+ h(),
932
+ y()
933
933
  ],
934
- [te(), Oe(), L(), we(), ...I()]
934
+ [te(), Oe(), L(), Ne(), ...I()]
935
935
  ),
936
936
  f("LinkTab", "LinkTab", [
937
937
  d(
@@ -939,19 +939,19 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
939
939
  r("fixed", "Fixed", "bool", "BOOL", void 0, N(!0)),
940
940
  r("scrollContainer", "Scroll Container", "string", "COMPONENT_REF", "VerticalLayout,HorizontalLayout")
941
941
  ),
942
- T(),
943
- h()
942
+ h(),
943
+ y()
944
944
  ]),
945
945
  f(
946
946
  "ProgressBar",
947
947
  "Progress Bar",
948
- [d("ProgressBar"), T(), h()],
948
+ [d("ProgressBar"), h(), y()],
949
949
  [L(), ...I()]
950
950
  ),
951
951
  f(
952
952
  "Console",
953
953
  "Console",
954
- [d("Console"), T(), h()],
954
+ [d("Console"), h(), y()],
955
955
  [L(), ...I()]
956
956
  ),
957
957
  f(
@@ -966,18 +966,18 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
966
966
  r("submitButtonStyleName", "Submit button style", "string", "TEXT"),
967
967
  r("progressBar", "ProgressBar", "string", "COMPONENT_REF", "ProgressBar")
968
968
  ),
969
- T(),
970
- h()
969
+ h(),
970
+ y()
971
971
  ],
972
972
  [L(), ...I()]
973
973
  ),
974
974
  f(
975
975
  "AuditInfo",
976
976
  "Audit Info",
977
- [d("AuditInfo"), T(), h()],
977
+ [d("AuditInfo"), h(), y()],
978
978
  [
979
979
  te(),
980
- W(),
980
+ Y(),
981
981
  lt(),
982
982
  Qe(),
983
983
  ge(),
@@ -990,8 +990,8 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
990
990
  "AuditInfoButton",
991
991
  r("popupPosition", "Position", "string", "SELECT", "LEFT:Left; CENTER:Center; RIGHT:Right", J("CENTER"))
992
992
  ),
993
- T(),
994
- h()
993
+ h(),
994
+ y()
995
995
  ])
996
996
  ], Un = [
997
997
  f(
@@ -1006,8 +1006,8 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1006
1006
  r("linkUrl", "Link URL", "string", "TEXT"),
1007
1007
  r("linkTarget", "Link Target", "string", "TEXT")
1008
1008
  ),
1009
- T(),
1010
- h()
1009
+ h(),
1010
+ y()
1011
1011
  ]
1012
1012
  ),
1013
1013
  f(
@@ -1021,8 +1021,8 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1021
1021
  r("leftYAxesTitle", "Left Y-Axis Title", "text", "MESSAGE_TEXT"),
1022
1022
  r("rightYAxesTitle", "Right Y-Axis Title", "text", "MESSAGE_TEXT")
1023
1023
  ),
1024
- T(),
1025
- h()
1024
+ h(),
1025
+ y()
1026
1026
  ],
1027
1027
  [ne(), ...ye(), L(), ...I()]
1028
1028
  )
@@ -1044,8 +1044,8 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1044
1044
  r("enableReorder", "Enable reorder", "bool", "BOOL", void 0, N(!0))
1045
1045
  ),
1046
1046
  x(),
1047
- T(),
1048
- h()
1047
+ h(),
1048
+ y()
1049
1049
  ],
1050
1050
  [L(), ...I()]
1051
1051
  ),
@@ -1064,10 +1064,10 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1064
1064
  r("subFolder", "Sub folder", "string", "TEXT")
1065
1065
  ),
1066
1066
  x(),
1067
- T(),
1068
- h()
1067
+ h(),
1068
+ y()
1069
1069
  ],
1070
- [W(), L(), ...I()]
1070
+ [Y(), L(), ...I()]
1071
1071
  ),
1072
1072
  f(
1073
1073
  "SingleImageUpload",
@@ -1080,15 +1080,15 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1080
1080
  r("subFolder", "Sub folder", "string", "TEXT")
1081
1081
  ),
1082
1082
  x(),
1083
- T(),
1084
- h()
1083
+ h(),
1084
+ y()
1085
1085
  ],
1086
1086
  [L(), ...I()]
1087
1087
  ),
1088
1088
  f(
1089
1089
  "NameField",
1090
1090
  "Name Field",
1091
- [d("NameField"), x(), T(), h()],
1091
+ [d("NameField"), x(), h(), y()],
1092
1092
  [L(), ...I()]
1093
1093
  ),
1094
1094
  f(
@@ -1097,8 +1097,8 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1097
1097
  [
1098
1098
  d("AddressField", r("showSecondaryAddress", "Secondary Addr.", "bool", "BOOL")),
1099
1099
  x(),
1100
- T(),
1101
- h()
1100
+ h(),
1101
+ y()
1102
1102
  ],
1103
1103
  [L(), ...I()]
1104
1104
  ),
@@ -1108,23 +1108,23 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1108
1108
  [
1109
1109
  d("PageBuilder", r("subFolder", "Image sub folder", "string", "TEXT")),
1110
1110
  x(),
1111
- T(),
1112
- h()
1111
+ h(),
1112
+ y()
1113
1113
  ],
1114
1114
  [G()]
1115
1115
  ),
1116
1116
  f(
1117
1117
  "ContentEditor",
1118
1118
  "Content Editor",
1119
- [d("ContentEditor"), x(), T(), h()],
1119
+ [d("ContentEditor"), x(), h(), y()],
1120
1120
  [G()]
1121
1121
  )
1122
- ], Yn = [
1123
- f("PageRefreshButton", "PageRefreshButton", [d("PageRefreshButton"), T(), h()]),
1122
+ ], Wn = [
1123
+ f("PageRefreshButton", "PageRefreshButton", [d("PageRefreshButton"), h(), y()]),
1124
1124
  f("MultiLangExpandButton", "MultiLangExpandButton", [
1125
1125
  d("MultiLangExpandButton"),
1126
- T(),
1127
- h()
1126
+ h(),
1127
+ y()
1128
1128
  ]),
1129
1129
  f("Fragment", "Fragment", [
1130
1130
  d(
@@ -1134,7 +1134,7 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1134
1134
  r("id", "ID", "string", "TEXT"),
1135
1135
  r("caption", "Caption", "text", "MESSAGE_TEXT")
1136
1136
  ),
1137
- h()
1137
+ y()
1138
1138
  ]),
1139
1139
  f("CommentList", "Comment List", [
1140
1140
  d(
@@ -1148,8 +1148,8 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1148
1148
  r("commentPropertyId", "Cmt. Property ID", "string", "TEXT"),
1149
1149
  r("commentDataMapping", "Cmt. Data Mapping", "dataMapping", "DATAMAPPING")
1150
1150
  ),
1151
- T(),
1152
- h()
1151
+ h(),
1152
+ y()
1153
1153
  ]),
1154
1154
  f(
1155
1155
  "SourceCodeEditor",
@@ -1162,24 +1162,24 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1162
1162
  r("highlightActiveLine", "Highlight Line", "bool", "BOOL", void 0, N(!0))
1163
1163
  ),
1164
1164
  x(),
1165
- T(),
1166
- h()
1165
+ h(),
1166
+ y()
1167
1167
  ],
1168
1168
  [ne(), ...ye(), L(), ...I()]
1169
1169
  ),
1170
1170
  f(
1171
1171
  "MarkdownViewer",
1172
1172
  "Markdown Viewer",
1173
- [x(), T(), h()],
1173
+ [x(), h(), y()],
1174
1174
  [ne(), ...ye(), L(), ...I()]
1175
1175
  ),
1176
1176
  f(
1177
1177
  "History",
1178
1178
  "History",
1179
- [T(), h()],
1179
+ [h(), y()],
1180
1180
  [ne(), ...ye(), L(), ...I()]
1181
1181
  )
1182
- ], Wn = [
1182
+ ], Yn = [
1183
1183
  f("TextFilter", "Text Filter", [
1184
1184
  d("TextFilter", r("filterType", "Filter Type", "string", "SELECT", ":; LIKE:Like; EQUAL:Equal;"))
1185
1185
  ]),
@@ -1239,8 +1239,8 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1239
1239
  r("dataMapping", "Data Mapping", "dataMapping", "DATAMAPPING"),
1240
1240
  r("validate", "Validation", "validator", "TEXT_WITH_BUTTON")
1241
1241
  ),
1242
- T(),
1243
- h()
1242
+ h(),
1243
+ y()
1244
1244
  ],
1245
1245
  [L(), ...I(), G(), ...fe()]
1246
1246
  ),
@@ -1298,7 +1298,7 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1298
1298
  r("useColumnSettingButton", "Column Setting", "bool", "BOOL"),
1299
1299
  r("excelDownMaxCount", "Excel Max Count", "int", "INTEGER")
1300
1300
  ),
1301
- T()
1301
+ h()
1302
1302
  ]),
1303
1303
  f("GridLookup", "Grid Lookup", [
1304
1304
  d(
@@ -1308,10 +1308,10 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1308
1308
  r("inputFilterType", "Input Filter Type", "string", "SELECT", ":; LIKE:Like; EQUAL:Equal;"),
1309
1309
  r("dateResolution", "DateResolution", "string", "SELECT", ":; DAY:Day;HOUR:Hour;MINUTE:Minute;SECOND:Second;")
1310
1310
  ),
1311
- T(),
1312
- h()
1311
+ h(),
1312
+ y()
1313
1313
  ])
1314
- ], Le = ":Auto;ENUM:Enum Class;STRING:String", ze = ":; DAY:Day;HOUR:Hour;MINUTE:Minute;SECOND:Second", zn = [
1314
+ ], Le = ":Auto;ENUM:Enum Class;STRING:String", je = ":; DAY:Day;HOUR:Hour;MINUTE:Minute;SECOND:Second", zn = [
1315
1315
  f(
1316
1316
  "TextField",
1317
1317
  "Text Field",
@@ -1329,10 +1329,10 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1329
1329
  r("autoComplete", "AutoComplete", "string", "TEXT")
1330
1330
  ),
1331
1331
  x(),
1332
- T(),
1333
- h()
1332
+ h(),
1333
+ y()
1334
1334
  ],
1335
- [te(), W(), L(), G(), z(), st(), ct(), ...I()]
1335
+ [te(), Y(), L(), G(), z(), st(), ct(), ...I()]
1336
1336
  ),
1337
1337
  f(
1338
1338
  "TextArea",
@@ -1344,15 +1344,15 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1344
1344
  r("autoResize", "Auto resize", "bool", "BOOL", void 0, N(!0))
1345
1345
  ),
1346
1346
  x(),
1347
- T(),
1348
- h()
1347
+ h(),
1348
+ y()
1349
1349
  ],
1350
- [te(), W(), L(), G(), ...I()]
1350
+ [te(), Y(), L(), G(), ...I()]
1351
1351
  ),
1352
1352
  f(
1353
1353
  "StyledTextField",
1354
1354
  "Styled Text Field",
1355
- [d("StyledTextField"), x(), T(), h()],
1355
+ [d("StyledTextField"), x(), h(), y()],
1356
1356
  [...I()]
1357
1357
  ),
1358
1358
  f(
@@ -1365,8 +1365,8 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1365
1365
  r("subFolder", "Image sub folder", "string", "TEXT")
1366
1366
  ),
1367
1367
  x(),
1368
- T(),
1369
- h()
1368
+ h(),
1369
+ y()
1370
1370
  ],
1371
1371
  [L(), ...I()]
1372
1372
  ),
@@ -1380,10 +1380,10 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1380
1380
  r("placeholder", "Placeholder", "text", "MESSAGE_TEXT")
1381
1381
  ),
1382
1382
  x(),
1383
- T(),
1384
- h()
1383
+ h(),
1384
+ y()
1385
1385
  ],
1386
- [te(), W(), L(), ...I(), G()]
1386
+ [te(), Y(), L(), ...I(), G()]
1387
1387
  ),
1388
1388
  f(
1389
1389
  "NumberField",
@@ -1403,10 +1403,10 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1403
1403
  r("suffix", "Suffix", "text", "MESSAGE_TEXT")
1404
1404
  ),
1405
1405
  x(),
1406
- T(),
1407
- h()
1406
+ h(),
1407
+ y()
1408
1408
  ],
1409
- [te(), W(), z(), L(), ...I(), G(), st(), ct()]
1409
+ [te(), Y(), z(), L(), ...I(), G(), st(), ct()]
1410
1410
  ),
1411
1411
  f(
1412
1412
  "CurrencyField",
@@ -1423,10 +1423,10 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1423
1423
  r("clickTarget", "Click Target", "string", "TEXT")
1424
1424
  ),
1425
1425
  x(),
1426
- T(),
1427
- h()
1426
+ h(),
1427
+ y()
1428
1428
  ],
1429
- [te(), W(), z(), L(), ...I(), G()]
1429
+ [te(), Y(), z(), L(), ...I(), G()]
1430
1430
  ),
1431
1431
  f(
1432
1432
  "DateField",
@@ -1437,7 +1437,7 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1437
1437
  r("placeholder", "Placeholder", "text", "MESSAGE_TEXT"),
1438
1438
  r("dateFormat", "Format", "string", "TEXT"),
1439
1439
  r("resolution", "Resolution", "string", "SELECT", ":; DAY:Day;HOUR:Hour;MINUTE:Minute;SECOND:Second;"),
1440
- r("displayResolution", "Display Resolution", "string", "SELECT", ze),
1440
+ r("displayResolution", "Display Resolution", "string", "SELECT", je),
1441
1441
  r("truncateType", "Truncate Type", "string", "SELECT", ":; BEGIN:BEGIN; END:END;"),
1442
1442
  r("beginYearDelta", "Begin Year Delta", "int", "INTEGER"),
1443
1443
  r("endYearDelta", "End Year Delta", "int", "INTEGER"),
@@ -1446,8 +1446,8 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1446
1446
  r("stepOfMinutes", "Step of Minutes", "int", "INTEGER")
1447
1447
  ),
1448
1448
  x(),
1449
- T(),
1450
- h()
1449
+ h(),
1450
+ y()
1451
1451
  ],
1452
1452
  [L(), ...I()]
1453
1453
  ),
@@ -1457,8 +1457,8 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1457
1457
  [
1458
1458
  d("TimeField", r("resolution", "Resolution", "string", "SELECT", ":; HOUR:Hour;MINUTE:Minute;SECOND:Second")),
1459
1459
  x(),
1460
- T(),
1461
- h()
1460
+ h(),
1461
+ y()
1462
1462
  ],
1463
1463
  [L(), ...I()]
1464
1464
  ),
@@ -1472,8 +1472,8 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1472
1472
  r("toPlaceholder", "To Placeholder", "text", "MESSAGE_TEXT"),
1473
1473
  r("checkDateOrder", "Check Order", "bool", "BOOL"),
1474
1474
  r("checkDateOrderMessage", "Check Msg", "text", "MESSAGE_TEXT"),
1475
- r("resolution", "Resolution", "string", "SELECT", ze),
1476
- r("displayResolution", "Display Resolution", "string", "SELECT", ze),
1475
+ r("resolution", "Resolution", "string", "SELECT", je),
1476
+ r("displayResolution", "Display Resolution", "string", "SELECT", je),
1477
1477
  r("selectResolution", "Select Resolution", "string", "SELECT", ":; WEEK:Week"),
1478
1478
  r("beginYearDelta", "Begin Year Delta", "int", "INTEGER"),
1479
1479
  r("endYearDelta", "End Year Delta", "int", "INTEGER"),
@@ -1485,21 +1485,21 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1485
1485
  r("dateFieldWidth", "DateField Width", "string", "TEXT")
1486
1486
  ),
1487
1487
  wn(),
1488
- T(),
1489
- h()
1488
+ h(),
1489
+ y()
1490
1490
  ],
1491
1491
  [L(), ...I()]
1492
1492
  ),
1493
1493
  f(
1494
1494
  "CheckBox",
1495
1495
  "CheckBox",
1496
- [d("CheckBox", r("checked", "Checked", "bool", "BOOL")), x(), T(), h()],
1496
+ [d("CheckBox", r("checked", "Checked", "bool", "BOOL")), x(), h(), y()],
1497
1497
  [Oe(), L()]
1498
1498
  ),
1499
1499
  f(
1500
1500
  "RadioButton",
1501
1501
  "RadioButton",
1502
- [d("RadioButton"), x(), T()],
1502
+ [d("RadioButton"), x(), h()],
1503
1503
  [L()]
1504
1504
  ),
1505
1505
  f(
@@ -1512,10 +1512,10 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1512
1512
  r("codeValueType", "Code Value Type", "string", "SELECT", Le)
1513
1513
  ),
1514
1514
  x(),
1515
- T(),
1516
- h()
1515
+ h(),
1516
+ y()
1517
1517
  ],
1518
- [Oe(), Ve(), L(), ...I()]
1518
+ [Oe(), ze(), L(), ...I()]
1519
1519
  ),
1520
1520
  f(
1521
1521
  "CheckBoxGroup",
@@ -1528,10 +1528,10 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1528
1528
  r("multiSelect", "MultiSelect", "bool", "BOOL", void 0, N(!0))
1529
1529
  ),
1530
1530
  x(),
1531
- T(),
1532
- h()
1531
+ h(),
1532
+ y()
1533
1533
  ],
1534
- [Oe(), Ve(), L(), ...I()]
1534
+ [Oe(), ze(), L(), ...I()]
1535
1535
  ),
1536
1536
  f(
1537
1537
  "YesNoGroup",
@@ -1543,10 +1543,10 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1543
1543
  r("noCaption", "No caption", "text", "MESSAGE_TEXT")
1544
1544
  ),
1545
1545
  x(),
1546
- T(),
1547
- h()
1546
+ h(),
1547
+ y()
1548
1548
  ],
1549
- [Oe(), Ve(), L(), ...I()]
1549
+ [Oe(), ze(), L(), ...I()]
1550
1550
  ),
1551
1551
  f(
1552
1552
  "Select",
@@ -1562,10 +1562,10 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1562
1562
  r("ignoreCase", "Ignore case", "bool", "BOOL")
1563
1563
  ),
1564
1564
  x(),
1565
- T(),
1566
- h()
1565
+ h(),
1566
+ y()
1567
1567
  ],
1568
- [W(), L(), ...I(), G()]
1568
+ [Y(), L(), ...I(), G()]
1569
1569
  ),
1570
1570
  f(
1571
1571
  "MultiSelect",
@@ -1579,10 +1579,10 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1579
1579
  r("ignoreCase", "Ignore case", "bool", "BOOL")
1580
1580
  ),
1581
1581
  x(),
1582
- T(),
1583
- h()
1582
+ h(),
1583
+ y()
1584
1584
  ],
1585
- [W(), L(), ...I(), G()]
1585
+ [Y(), L(), ...I(), G()]
1586
1586
  ),
1587
1587
  f(
1588
1588
  "CategorySelect",
@@ -1598,10 +1598,10 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1598
1598
  r("ignoreCase", "Ignore case", "bool", "BOOL")
1599
1599
  ),
1600
1600
  x(),
1601
- T(),
1602
- h()
1601
+ h(),
1602
+ y()
1603
1603
  ],
1604
- [W(), L(), ...I(), G()]
1604
+ [Y(), L(), ...I(), G()]
1605
1605
  ),
1606
1606
  f(
1607
1607
  "PopupSelect",
@@ -1616,8 +1616,8 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1616
1616
  r("hideButton", "Hide Button", "bool", "BOOL")
1617
1617
  ),
1618
1618
  x(),
1619
- T(),
1620
- h()
1619
+ h(),
1620
+ y()
1621
1621
  ],
1622
1622
  [L(), ...I()]
1623
1623
  ),
@@ -1635,16 +1635,16 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1635
1635
  r("ignoreCase", "Ignore case", "bool", "BOOL")
1636
1636
  ),
1637
1637
  x(),
1638
- T(),
1639
- h()
1638
+ h(),
1639
+ y()
1640
1640
  ],
1641
- [W(), L(), ...I(), G()]
1641
+ [Y(), L(), ...I(), G()]
1642
1642
  ),
1643
1643
  f(
1644
1644
  "ColorField",
1645
1645
  "Color Field",
1646
- [d("ColorField"), x(), T(), h()],
1647
- [W(), L(), G(), z(), ...I()]
1646
+ [d("ColorField"), x(), h(), y()],
1647
+ [Y(), L(), G(), z(), ...I()]
1648
1648
  )
1649
1649
  ], jn = [
1650
1650
  f(
@@ -1658,14 +1658,14 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1658
1658
  r("enableChildDragAndDrop", "Enable DnD", "bool", "BOOL"),
1659
1659
  r("dragAndDropPositionMarkSize", "DnD mark size", "int", "INTEGER")
1660
1660
  ),
1661
- T(),
1662
1661
  h(),
1662
+ y(),
1663
1663
  Me(),
1664
- We()
1664
+ Ve()
1665
1665
  ],
1666
1666
  [
1667
1667
  ge(),
1668
- Re(),
1668
+ we(),
1669
1669
  et(),
1670
1670
  ne(),
1671
1671
  ...ye(),
@@ -1686,14 +1686,14 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1686
1686
  r("enableChildDragAndDrop", "Enable DnD", "bool", "BOOL"),
1687
1687
  r("dragAndDropPositionMarkSize", "DnD mark size", "int", "INTEGER")
1688
1688
  ),
1689
- T(),
1690
1689
  h(),
1690
+ y(),
1691
1691
  Me(),
1692
- We()
1692
+ Ve()
1693
1693
  ],
1694
1694
  [
1695
1695
  ge(),
1696
- Re(),
1696
+ we(),
1697
1697
  et(),
1698
1698
  ne(),
1699
1699
  ...ye(),
@@ -1708,10 +1708,10 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1708
1708
  "Form Layout",
1709
1709
  [
1710
1710
  d("Form Layout", r("columnCount", "Column count", "int", "INTEGER")),
1711
- T(),
1712
1711
  h(),
1712
+ y(),
1713
1713
  Me(),
1714
- Be(
1714
+ Re(
1715
1715
  "Layout",
1716
1716
  r("colspan", "Column Span", "int", "INTEGER"),
1717
1717
  r("takeOneRow", "Merge Row", "bool", "BOOL"),
@@ -1729,7 +1729,7 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1729
1729
  A("fixed-column-height", "Fixed Column Height"),
1730
1730
  A("shadow", "Shadow"),
1731
1731
  z(),
1732
- W()
1732
+ Y()
1733
1733
  ]
1734
1734
  ),
1735
1735
  f(
@@ -1743,21 +1743,21 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1743
1743
  r("collapsible", "Collapsible", "bool", "BOOL", void 0, N(!0)),
1744
1744
  r("collapsed", "Collapsed", "bool", "BOOL")
1745
1745
  ),
1746
- T(),
1747
1746
  h(),
1747
+ y(),
1748
1748
  Me(),
1749
- We()
1749
+ Ve()
1750
1750
  ],
1751
- [ge(), Re(), Gn(), z(), A("dashboard-card", "Dashboard Card")]
1751
+ [ge(), we(), Gn(), z(), A("dashboard-card", "Dashboard Card")]
1752
1752
  ),
1753
1753
  f(
1754
1754
  "ActionLayout",
1755
1755
  "Action Layout",
1756
1756
  [
1757
1757
  d("Action Layout", r("margin", "Margin", "bool", "BOOL")),
1758
- T(),
1759
1758
  h(),
1760
- Be("Layout", r("componentAlignment", "Align", "string", "ALIGN"))
1759
+ y(),
1760
+ Re("Layout", r("componentAlignment", "Align", "string", "ALIGN"))
1761
1761
  ],
1762
1762
  [
1763
1763
  A("top-action", "Top Action"),
@@ -1771,7 +1771,7 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1771
1771
  ]
1772
1772
  ),
1773
1773
  f("ActionLayoutArea", "Action Layout Area", [
1774
- Be("Layout", r("componentAlignment", "Align", "string", "ALIGN"))
1774
+ Re("Layout", r("componentAlignment", "Align", "string", "ALIGN"))
1775
1775
  ]),
1776
1776
  f(
1777
1777
  "TableLayout",
@@ -1782,8 +1782,8 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1782
1782
  r("rowCount", "Row count", "int", "INTEGER"),
1783
1783
  r("colCount", "Column count", "int", "INTEGER")
1784
1784
  ),
1785
- T(),
1786
- h()
1785
+ h(),
1786
+ y()
1787
1787
  ],
1788
1788
  [
1789
1789
  A("grid", "Grid style"),
@@ -1810,13 +1810,13 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1810
1810
  r("mergeSameValueVertical", "Merge Vertical", "bool", "BOOL"),
1811
1811
  r("clickable", "Clickable", "bool", "BOOL")
1812
1812
  ),
1813
- h()
1813
+ y()
1814
1814
  ],
1815
1815
  [
1816
1816
  A("header", "Header"),
1817
1817
  te(),
1818
1818
  Fn(),
1819
- we(),
1819
+ Ne(),
1820
1820
  Qe(),
1821
1821
  G(),
1822
1822
  ...fe(),
@@ -1832,8 +1832,8 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1832
1832
  r("margin", "Margin", "bool", "BOOL"),
1833
1833
  r("spacing", "Spacing", "bool", "BOOL")
1834
1834
  ),
1835
- T(),
1836
- h()
1835
+ h(),
1836
+ y()
1837
1837
  ],
1838
1838
  [ne(), ...ye(), z(), A("shadow", "Shadow")]
1839
1839
  ),
@@ -1846,8 +1846,8 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1846
1846
  r("collapsed", "Collapsed", "bool", "BOOL"),
1847
1847
  r("bodyVisible", "Body Visible", "bool", "BOOL")
1848
1848
  ),
1849
- T(),
1850
- h()
1849
+ h(),
1850
+ y()
1851
1851
  ],
1852
1852
  [G(), ...fe(), z(), A("shadow", "Shadow")]
1853
1853
  ),
@@ -1872,12 +1872,12 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1872
1872
  r("dataMapping", "Data Mapping", "dataMapping", "DATAMAPPING"),
1873
1873
  r("validate", "Validation", "validator", "TEXT_WITH_BUTTON")
1874
1874
  ),
1875
- T(),
1876
- h()
1875
+ h(),
1876
+ y()
1877
1877
  ],
1878
1878
  [
1879
1879
  ge(),
1880
- Re(),
1880
+ we(),
1881
1881
  L(),
1882
1882
  ...I(),
1883
1883
  G(),
@@ -1895,7 +1895,7 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1895
1895
  r("useTotalCount", "Total Count", "bool", "BOOL"),
1896
1896
  r("useSelectedCount", "Selected Count", "bool", "BOOL")
1897
1897
  ),
1898
- T()
1898
+ h()
1899
1899
  ])
1900
1900
  ], de = () => [
1901
1901
  r("langPropertyId", "Lang property", "string", "TEXT"),
@@ -1915,8 +1915,8 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1915
1915
  ...pe()
1916
1916
  ),
1917
1917
  x(),
1918
- T(),
1919
- h()
1918
+ h(),
1919
+ y()
1920
1920
  ]),
1921
1921
  f("MultiLangTextArea", "Multi Lang TextArea", [
1922
1922
  d(
@@ -1926,20 +1926,20 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1926
1926
  ...pe()
1927
1927
  ),
1928
1928
  x(),
1929
- T(),
1930
- h()
1929
+ h(),
1930
+ y()
1931
1931
  ]),
1932
1932
  f("MultiLangStyledTextField", "Multi Lang StyledTextField", [
1933
1933
  d("MultiLangStyledTextField", ...de(), ...pe()),
1934
1934
  x(),
1935
- T(),
1936
- h()
1935
+ h(),
1936
+ y()
1937
1937
  ]),
1938
1938
  f("MultiLangRichTextArea", "Multi Lang RichTextArea", [
1939
1939
  d("MultiLangRichTextArea", ...de(), ...pe()),
1940
1940
  x(),
1941
- T(),
1942
- h()
1941
+ h(),
1942
+ y()
1943
1943
  ]),
1944
1944
  f("MultiLangPageBuilder", "Multi Lang PageBuilder", [
1945
1945
  d(
@@ -1949,14 +1949,14 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1949
1949
  ...pe()
1950
1950
  ),
1951
1951
  x(),
1952
- T(),
1953
- h()
1952
+ h(),
1953
+ y()
1954
1954
  ]),
1955
1955
  f("MultiLangContentEditor", "Multi Lang ContentEditor", [
1956
1956
  d("MultiLangContentEditor", ...de(), ...pe()),
1957
1957
  x(),
1958
- T(),
1959
- h()
1958
+ h(),
1959
+ y()
1960
1960
  ]),
1961
1961
  f("MultiLangFileUpload", "Multi Lang FileUpload", [
1962
1962
  d("MultiLangFileUpload", ...de(), ...pe("Item type")),
@@ -1969,8 +1969,8 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1969
1969
  r("thumbnailHeight", "Thumbnail Height", "string", "TEXT")
1970
1970
  ),
1971
1971
  x(),
1972
- T(),
1973
- h()
1972
+ h(),
1973
+ y()
1974
1974
  ])
1975
1975
  ], Jn = [
1976
1976
  f(
@@ -1978,8 +1978,8 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1978
1978
  "Tree",
1979
1979
  [
1980
1980
  d("Tree", r("nullSelectionAllowed", "Allow null", "bool", "BOOL", void 0, N(!0))),
1981
- T(),
1982
- h()
1981
+ h(),
1982
+ y()
1983
1983
  ],
1984
1984
  [ne(), et(), L(), ...I()]
1985
1985
  ),
@@ -1994,10 +1994,10 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
1994
1994
  r("useMoveDownButton", "Move Down", "bool", "BOOL"),
1995
1995
  r("useSaveOrderButton", "Save order", "bool", "BOOL")
1996
1996
  ),
1997
- T(),
1998
- h()
1997
+ h(),
1998
+ y()
1999
1999
  ]),
2000
- f("TabSheet", "Tab Sheet", [T(), h()]),
2000
+ f("TabSheet", "Tab Sheet", [h(), y()]),
2001
2001
  f("TabSheetPanel", "Tab Sheet Panel", [])
2002
2002
  ], Zn = [
2003
2003
  ...jn,
@@ -2007,10 +2007,10 @@ const ge = () => ({ kind: "enum", dim: "spacing" }), Re = () => ({ kind: "enum",
2007
2007
  ...qn,
2008
2008
  ...Vn,
2009
2009
  ...Jn,
2010
- ...Wn,
2010
+ ...Yn,
2011
2011
  ...Kn,
2012
2012
  ...Un,
2013
- ...Yn
2013
+ ...Wn
2014
2014
  ], Qn = {
2015
2015
  // ── Layout: open 컨테이너 (AbstractOrderedLayoutPart 계열 — 타입 guard 없음) ──
2016
2016
  // VerticalLayoutPart.java:16 / HorizontalLayoutPart.java:16 (extends AbstractOrderedLayoutPart),
@@ -2198,7 +2198,7 @@ function Xt(e) {
2198
2198
  function to(e = Zn) {
2199
2199
  return Xt(e);
2200
2200
  }
2201
- function da(e, t = {}) {
2201
+ function fa(e, t = {}) {
2202
2202
  const o = /* @__PURE__ */ new Map();
2203
2203
  for (const n of e.all()) o.set(n.partType, n);
2204
2204
  for (const n of [...t.add ?? [], ...t.override ?? []])
@@ -2405,7 +2405,7 @@ function bo() {
2405
2405
  e[`partSpecL${t}`] = mo(t);
2406
2406
  return e;
2407
2407
  }
2408
- function je(e, t) {
2408
+ function Ke(e, t) {
2409
2409
  return {
2410
2410
  type: "object",
2411
2411
  properties: { kind: { const: e }, ...t.properties },
@@ -2414,7 +2414,7 @@ function je(e, t) {
2414
2414
  };
2415
2415
  }
2416
2416
  const So = {
2417
- "part.add": je("part.add", {
2417
+ "part.add": Ke("part.add", {
2418
2418
  properties: {
2419
2419
  parent: {
2420
2420
  description: "추가 대상 부모 핸들. null이면 루트에 추가.",
@@ -2425,7 +2425,7 @@ const So = {
2425
2425
  },
2426
2426
  required: ["parent", "spec"]
2427
2427
  }),
2428
- "part.update": je("part.update", {
2428
+ "part.update": Ke("part.update", {
2429
2429
  properties: {
2430
2430
  target: { $ref: "#/$defs/handle" },
2431
2431
  props: { type: "array", items: { $ref: "#/$defs/propAssign" }, description: "갱신할 속성(부분)." },
@@ -2433,13 +2433,13 @@ const So = {
2433
2433
  },
2434
2434
  required: ["target"]
2435
2435
  }),
2436
- "part.remove": je("part.remove", {
2436
+ "part.remove": Ke("part.remove", {
2437
2437
  properties: { target: { $ref: "#/$defs/handle" } },
2438
2438
  required: ["target"]
2439
2439
  })
2440
2440
  }, vo = {
2441
2441
  anyOf: uo.map((e) => So[e])
2442
- }, pa = {
2442
+ }, ga = {
2443
2443
  type: "object",
2444
2444
  description: "화면 파트 트리를 생성·수정·삭제할 때 호출한다. ops는 사람 핸들(id·path·caption)로 지정하며 서버가 partId로 해소한다. 모호하면 에러로 후보를 돌려주니 describeScreen으로 현재 화면을 먼저 읽어 핸들을 확정하라.",
2445
2445
  properties: {
@@ -2495,9 +2495,9 @@ function Te(e) {
2495
2495
  function Oo(e) {
2496
2496
  return e.type === "object" || "properties" in e;
2497
2497
  }
2498
- function ie(e, t, o, n) {
2498
+ function le(e, t, o, n) {
2499
2499
  if (Array.isArray(e)) {
2500
- e.forEach((i, a) => ie(i, `${t}[${a}]`, !1, n));
2500
+ e.forEach((i, a) => le(i, `${t}[${a}]`, !1, n));
2501
2501
  return;
2502
2502
  }
2503
2503
  if (Te(e)) {
@@ -2509,15 +2509,15 @@ function ie(e, t, o, n) {
2509
2509
  path: t,
2510
2510
  detail: "object 스키마는 additionalProperties:false 이어야 한다."
2511
2511
  }), Te(e.properties))
2512
- for (const [i, a] of Object.entries(e.properties)) ie(a, `${t}.properties.${i}`, !1, n);
2513
- if (ie(e.items, `${t}.items`, !1, n), ie(e.anyOf, `${t}.anyOf`, !1, n), ie(e.allOf, `${t}.allOf`, !1, n), Te(e.additionalProperties) && ie(e.additionalProperties, `${t}.additionalProperties`, !1, n), o && Te(e.$defs))
2514
- for (const [i, a] of Object.entries(e.$defs)) ie(a, `$defs.${i}`, !1, n);
2512
+ for (const [i, a] of Object.entries(e.properties)) le(a, `${t}.properties.${i}`, !1, n);
2513
+ if (le(e.items, `${t}.items`, !1, n), le(e.anyOf, `${t}.anyOf`, !1, n), le(e.allOf, `${t}.allOf`, !1, n), Te(e.additionalProperties) && le(e.additionalProperties, `${t}.additionalProperties`, !1, n), o && Te(e.$defs))
2514
+ for (const [i, a] of Object.entries(e.$defs)) le(a, `$defs.${i}`, !1, n);
2515
2515
  }
2516
2516
  }
2517
2517
  const Co = /^#\/\$defs\/(.+)$/;
2518
- function Ge(e, t, o, n) {
2518
+ function Xe(e, t, o, n) {
2519
2519
  if (Array.isArray(e)) {
2520
- e.forEach((i) => Ge(i, t, o, n));
2520
+ e.forEach((i) => Xe(i, t, o, n));
2521
2521
  return;
2522
2522
  }
2523
2523
  if (Te(e)) {
@@ -2531,42 +2531,42 @@ function Ge(e, t, o, n) {
2531
2531
  l && (t.has(l[1]) ? o.add(l[1]) : n.push(a));
2532
2532
  }
2533
2533
  else
2534
- Ge(a, t, o, n);
2534
+ Xe(a, t, o, n);
2535
2535
  }
2536
2536
  }
2537
2537
  function Io(e, t) {
2538
2538
  const o = Te(e.$defs) ? e.$defs : {}, n = new Set(Object.keys(o)), i = [], a = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Set();
2539
- Ge({ ...e, $defs: void 0 }, n, l, i), a.set("#", l);
2540
- for (const E of n) {
2539
+ Xe({ ...e, $defs: void 0 }, n, l, i), a.set("#", l);
2540
+ for (const T of n) {
2541
2541
  const b = /* @__PURE__ */ new Set();
2542
- Ge(o[E], n, b, i), a.set(E, b);
2542
+ Xe(o[T], n, b, i), a.set(T, b);
2543
2543
  }
2544
- for (const E of i)
2545
- t.push({ rule: "dangling-$ref", path: E, detail: `존재하지 않는 $defs 참조: ${E}.` });
2544
+ for (const T of i)
2545
+ t.push({ rule: "dangling-$ref", path: T, detail: `존재하지 않는 $defs 참조: ${T}.` });
2546
2546
  const s = 0, c = 1, u = 2, p = /* @__PURE__ */ new Map();
2547
- for (const E of a.keys()) p.set(E, s);
2548
- const g = /* @__PURE__ */ new Set(), y = (E, b) => {
2549
- p.set(E, c), b.push(E);
2550
- for (const B of a.get(E) ?? [])
2547
+ for (const T of a.keys()) p.set(T, s);
2548
+ const E = /* @__PURE__ */ new Set(), g = (T, b) => {
2549
+ p.set(T, c), b.push(T);
2550
+ for (const B of a.get(T) ?? [])
2551
2551
  if (a.has(B))
2552
2552
  if (p.get(B) === c) {
2553
- const Y = b.indexOf(B), m = b.slice(Y).concat(B), S = m.join("->");
2554
- g.has(S) || (g.add(S), t.push({
2553
+ const W = b.indexOf(B), m = b.slice(W).concat(B), S = m.join("->");
2554
+ E.has(S) || (E.add(S), t.push({
2555
2555
  rule: "recursion",
2556
2556
  path: m.join(" -> "),
2557
2557
  detail: `재귀 스키마($ref 사이클)는 엄격 서브셋 미지원: ${m.join(" -> ")}.`
2558
2558
  }));
2559
- } else p.get(B) === s && y(B, b);
2560
- b.pop(), p.set(E, u);
2559
+ } else p.get(B) === s && g(B, b);
2560
+ b.pop(), p.set(T, u);
2561
2561
  };
2562
- for (const E of a.keys())
2563
- p.get(E) === s && y(E, []);
2562
+ for (const T of a.keys())
2563
+ p.get(T) === s && g(T, []);
2564
2564
  }
2565
2565
  function ko(e) {
2566
2566
  const t = [];
2567
- return ie(e, "", !0, t), Te(e) && Io(e, t), t;
2567
+ return le(e, "", !0, t), Te(e) && Io(e, t), t;
2568
2568
  }
2569
- function fa(e) {
2569
+ function Ta(e) {
2570
2570
  return ko(e).length === 0;
2571
2571
  }
2572
2572
  const xo = /^(.+)\[(\d+)\]$/;
@@ -2615,7 +2615,7 @@ function Po(e, t, o) {
2615
2615
  ke(i, t) === o && n.push(i);
2616
2616
  }), n;
2617
2617
  }
2618
- function Ke(e, t) {
2618
+ function qe(e, t) {
2619
2619
  const o = t.root;
2620
2620
  if (!o) return { ok: !1, issue: { kind: "handle-not-found", ref: e.ref, by: e.by } };
2621
2621
  const n = () => Mo(o, e.ref), i = () => _o(o, e.ref), a = () => {
@@ -2673,27 +2673,27 @@ function Ht(e, t, o) {
2673
2673
  }
2674
2674
  return a.length > 0 && (n.addStyleNames = J(a.join(" "))), { attrs: n, layoutAttrs: i };
2675
2675
  }
2676
- function Yt(e, t, o) {
2676
+ function Wt(e, t, o) {
2677
2677
  const { attrs: n, layoutAttrs: i } = Ht(e.props, e.styles, o), a = { partId: t(), partType: e.partType, attrs: n };
2678
- return Object.keys(i).length > 0 && (a.layoutAttrs = i), e.children && e.children.length > 0 && (a.children = e.children.map((l) => Yt(l, t, o))), a;
2678
+ return Object.keys(i).length > 0 && (a.layoutAttrs = i), e.children && e.children.length > 0 && (a.children = e.children.map((l) => Wt(l, t, o))), a;
2679
2679
  }
2680
- function ga(e, t = {}) {
2680
+ function ha(e, t = {}) {
2681
2681
  const o = t.newId ?? Ie, n = [], i = [];
2682
2682
  for (const a of e)
2683
2683
  if (a.kind === "part.add") {
2684
2684
  let l = null;
2685
2685
  if (a.parent !== null) {
2686
- const u = Ke(a.parent, t);
2686
+ const u = qe(a.parent, t);
2687
2687
  if (!u.ok) {
2688
2688
  n.push(u.issue);
2689
2689
  continue;
2690
2690
  }
2691
2691
  l = u.partId;
2692
2692
  }
2693
- const s = Yt(a.spec, o, n), c = { kind: "part.add", parentId: l, part: s };
2693
+ const s = Wt(a.spec, o, n), c = { kind: "part.add", parentId: l, part: s };
2694
2694
  a.index != null && (c.index = a.index), i.push(c);
2695
2695
  } else if (a.kind === "part.update") {
2696
- const l = Ke(a.target, t);
2696
+ const l = qe(a.target, t);
2697
2697
  if (!l.ok) {
2698
2698
  n.push(l.issue);
2699
2699
  continue;
@@ -2701,7 +2701,7 @@ function ga(e, t = {}) {
2701
2701
  const { attrs: s, layoutAttrs: c } = Ht(a.props, a.styles, n);
2702
2702
  i.push({ kind: "part.update", targetId: l.partId, attrs: s, layoutAttrs: c });
2703
2703
  } else {
2704
- const l = Ke(a.target, t);
2704
+ const l = qe(a.target, t);
2705
2705
  if (!l.ok) {
2706
2706
  n.push(l.issue);
2707
2707
  continue;
@@ -2715,8 +2715,8 @@ const Ro = {
2715
2715
  "part.update": !0,
2716
2716
  "part.move": !0,
2717
2717
  "part.remove": !0
2718
- }, Ta = Object.keys(Ro);
2719
- function Wt(e) {
2718
+ }, ya = Object.keys(Ro);
2719
+ function Yt(e) {
2720
2720
  switch (e.kind) {
2721
2721
  case "part.add":
2722
2722
  case "part.remove":
@@ -2802,7 +2802,7 @@ function Se(e, t) {
2802
2802
  }
2803
2803
  function tt(e, t) {
2804
2804
  var i;
2805
- const o = Ue(e.root, t), n = ((i = o == null ? void 0 : o.children) == null ? void 0 : i.findIndex((a) => a.partId === t)) ?? -1;
2805
+ const o = He(e.root, t), n = ((i = o == null ? void 0 : o.children) == null ? void 0 : i.findIndex((a) => a.partId === t)) ?? -1;
2806
2806
  if (!o || n < 0) throw new Error(`파트를 찾을 수 없거나 root라 이동/삭제 불가: ${t}`);
2807
2807
  return { parent: o, index: n };
2808
2808
  }
@@ -3020,7 +3020,7 @@ class Xo {
3020
3020
  // ── base rev 합성 + 낙관 예측 → 영속 배치 ──
3021
3021
  buildBatch(t, o, n) {
3022
3022
  const i = {}, a = /* @__PURE__ */ new Set();
3023
- for (const s of t) for (const c of Wt(s)) a.add(c);
3023
+ for (const s of t) for (const c of Yt(s)) a.add(c);
3024
3024
  if (a.size) {
3025
3025
  i.revs = {};
3026
3026
  for (const s of a) {
@@ -3125,8 +3125,8 @@ function zt(e, t, o, n) {
3125
3125
  for (const u of i) {
3126
3126
  const p = e.attrs[u.id];
3127
3127
  if (p === void 0) continue;
3128
- const g = $o(p);
3129
- g !== void 0 && (a[u.id] = g);
3128
+ const E = $o(p);
3129
+ E !== void 0 && (a[u.id] = E);
3130
3130
  }
3131
3131
  Object.assign(a, Uo(e));
3132
3132
  const l = {
@@ -3138,7 +3138,7 @@ function zt(e, t, o, n) {
3138
3138
  }, s = ke(e, o);
3139
3139
  return s != null && (l.caption = s), l;
3140
3140
  }
3141
- function ha(e, t) {
3141
+ function Ea(e, t) {
3142
3142
  const o = co(t);
3143
3143
  return zt(e, e, t, o);
3144
3144
  }
@@ -3156,9 +3156,9 @@ function Ho(e) {
3156
3156
  return { kind: "part.remove", casUnit: "part", partRef: e.targetId };
3157
3157
  }
3158
3158
  }
3159
- function ya(e, t, o, n = {}) {
3159
+ function ma(e, t, o, n = {}) {
3160
3160
  const i = n.mkClientOpId ?? Ie, a = o.map(Ho), l = /* @__PURE__ */ new Set();
3161
- for (const c of a) for (const u of Wt(c)) l.add(u);
3161
+ for (const c of a) for (const u of Yt(c)) l.add(u);
3162
3162
  const s = {};
3163
3163
  if (l.size > 0) {
3164
3164
  s.revs = {};
@@ -3172,15 +3172,15 @@ function ya(e, t, o, n = {}) {
3172
3172
  clientOpId: i()
3173
3173
  };
3174
3174
  }
3175
- const He = Symbol("uiEditorController");
3176
- function Yo(e = "FormLayout") {
3175
+ const We = Symbol("uiEditorController");
3176
+ function Wo(e = "FormLayout") {
3177
3177
  return { partId: Ie(), partType: e, attrs: {}, children: [] };
3178
3178
  }
3179
- function Ea(e = Yo(), t = {}) {
3179
+ function ba(e = Wo(), t = {}) {
3180
3180
  var Z, ve;
3181
3181
  const o = t.catalog ?? to(), n = t.modelId ?? "ui-model", i = on({ root: e });
3182
3182
  let a = new ft(i);
3183
- const l = V(!1), s = V(!1), c = V(!1), u = V(0), p = V(((Z = t.meta) == null ? void 0 : Z.schemaVersion) ?? 1), g = V(((ve = t.meta) == null ? void 0 : ve.opWriteEnabled) ?? !1), y = M(() => p.value >= 2 && g.value), E = V(!(p.value >= 2 && g.value === !1)), b = V(null), B = V(null), Y = M(
3183
+ const l = V(!1), s = V(!1), c = V(!1), u = V(0), p = V(((Z = t.meta) == null ? void 0 : Z.schemaVersion) ?? 1), E = V(((ve = t.meta) == null ? void 0 : ve.opWriteEnabled) ?? !1), g = M(() => p.value >= 2 && E.value), T = V(!(p.value >= 2 && E.value === !1)), b = V(null), B = V(null), W = M(
3184
3184
  () => B.value ? ee(i.root, B.value) ?? null : null
3185
3185
  ), m = V(null);
3186
3186
  let S = 0, w = t.meta;
@@ -3195,7 +3195,7 @@ function Ea(e = Yo(), t = {}) {
3195
3195
  C == null || C(), C = null, R = null;
3196
3196
  }
3197
3197
  function xe() {
3198
- if (F(), !y.value || !t.opTransport) return;
3198
+ if (F(), !g.value || !t.opTransport) return;
3199
3199
  const k = new Xo({
3200
3200
  modelId: n,
3201
3201
  state: i,
@@ -3203,14 +3203,14 @@ function Ea(e = Yo(), t = {}) {
3203
3203
  origin: "gui",
3204
3204
  newClientOpId: t.newClientOpId,
3205
3205
  onFreeze: (P) => {
3206
- E.value = !1, b.value = P;
3206
+ T.value = !1, b.value = P;
3207
3207
  },
3208
3208
  onError: t.onOpError
3209
3209
  });
3210
3210
  k.seed((w == null ? void 0 : w.revSeed) ?? {}), C = k.attach(a), R = k;
3211
3211
  }
3212
3212
  xe();
3213
- const _ = M(() => Tn(i.root, o)), ae = M(() => {
3213
+ const _ = M(() => Tn(i.root, o)), ie = M(() => {
3214
3214
  const k = /* @__PURE__ */ new Map();
3215
3215
  for (const P of _.value) {
3216
3216
  if (!P.targetRef) continue;
@@ -3219,7 +3219,7 @@ function Ea(e = Yo(), t = {}) {
3219
3219
  }
3220
3220
  return k;
3221
3221
  }), D = (k) => {
3222
- E.value && a.execute(k);
3222
+ T.value && a.execute(k);
3223
3223
  };
3224
3224
  function j(k, P) {
3225
3225
  const Q = ee(i.root, k);
@@ -3229,21 +3229,21 @@ function Ea(e = Yo(), t = {}) {
3229
3229
  state: i,
3230
3230
  catalog: o,
3231
3231
  issues: _,
3232
- issuesByRef: ae,
3232
+ issuesByRef: ie,
3233
3233
  canUndo: l,
3234
3234
  canRedo: s,
3235
3235
  dirty: c,
3236
3236
  revision: u,
3237
- editable: E,
3237
+ editable: T,
3238
3238
  setEditable(k) {
3239
- E.value = k ? y.value || p.value < 2 : !1;
3239
+ T.value = k ? g.value || p.value < 2 : !1;
3240
3240
  },
3241
3241
  schemaVersion: p,
3242
- opWriteEnabled: g,
3243
- opMode: y,
3242
+ opWriteEnabled: E,
3243
+ opMode: g,
3244
3244
  opConflict: b,
3245
3245
  selection: B,
3246
- selectedPart: Y,
3246
+ selectedPart: W,
3247
3247
  select(k) {
3248
3248
  B.value = k;
3249
3249
  },
@@ -3252,30 +3252,30 @@ function Ea(e = Yo(), t = {}) {
3252
3252
  m.value = { id: k, nonce: ++S };
3253
3253
  },
3254
3254
  addPart(k, P, Q) {
3255
- return !E.value || !j(k, P.partType) ? !1 : (D(wo(k, P, Q)), B.value = P.partId, !0);
3255
+ return !T.value || !j(k, P.partType) ? !1 : (D(wo(k, P, Q)), B.value = P.partId, !0);
3256
3256
  },
3257
3257
  updatePart(k, P) {
3258
- return !E.value || !ee(i.root, k) ? !1 : (D(No(k, P)), !0);
3258
+ return !T.value || !ee(i.root, k) ? !1 : (D(No(k, P)), !0);
3259
3259
  },
3260
3260
  movePart(k, P, Q) {
3261
- if (!E.value) return !1;
3261
+ if (!T.value) return !1;
3262
3262
  const Ye = ee(i.root, k);
3263
3263
  return !Ye || ee(Ye, P) || !j(P, Ye.partType) ? !1 : (D(Do(k, P, Q)), !0);
3264
3264
  },
3265
3265
  removePart(k) {
3266
- return !E.value || k === i.root.partId || !ee(i.root, k) ? !1 : (D(Fo(k)), B.value === k && (B.value = null), !0);
3266
+ return !T.value || k === i.root.partId || !ee(i.root, k) ? !1 : (D(Fo(k)), B.value === k && (B.value = null), !0);
3267
3267
  },
3268
3268
  undo() {
3269
- E.value && a.undo();
3269
+ T.value && a.undo();
3270
3270
  },
3271
3271
  redo() {
3272
- E.value && a.redo();
3272
+ T.value && a.redo();
3273
3273
  },
3274
3274
  markSaved() {
3275
3275
  R == null || R.flush(), a.markSavePoint();
3276
3276
  },
3277
3277
  loadModel(k, P) {
3278
- F(), i.root = k, a = new ft(i), $(), p.value = (P == null ? void 0 : P.schemaVersion) ?? 1, g.value = (P == null ? void 0 : P.opWriteEnabled) ?? !1, E.value = !(p.value >= 2 && g.value === !1), w = P, b.value = null, B.value = null, l.value = a.canUndo, s.value = a.canRedo, c.value = a.isDirty, xe();
3278
+ F(), i.root = k, a = new ft(i), $(), p.value = (P == null ? void 0 : P.schemaVersion) ?? 1, E.value = (P == null ? void 0 : P.opWriteEnabled) ?? !1, T.value = !(p.value >= 2 && E.value === !1), w = P, b.value = null, B.value = null, l.value = a.canUndo, s.value = a.canRedo, c.value = a.isDirty, xe();
3279
3279
  },
3280
3280
  flush() {
3281
3281
  R == null || R.flush();
@@ -3285,13 +3285,13 @@ function Ea(e = Yo(), t = {}) {
3285
3285
  }
3286
3286
  };
3287
3287
  }
3288
- const Wo = { class: "ui-schematic-head" }, Vo = { class: "ui-schematic-type" }, zo = {
3288
+ const Yo = { class: "ui-schematic-head" }, Vo = { class: "ui-schematic-type" }, zo = {
3289
3289
  key: 0,
3290
3290
  class: "ui-schematic-caption"
3291
3291
  }, jo = {
3292
3292
  key: 0,
3293
3293
  class: "ui-schematic-drop-hint"
3294
- }, Ko = /* @__PURE__ */ se({
3294
+ }, Ko = /* @__PURE__ */ ce({
3295
3295
  __name: "SchematicPart",
3296
3296
  props: {
3297
3297
  partType: {},
@@ -3307,26 +3307,26 @@ const Wo = { class: "ui-schematic-head" }, Vo = { class: "ui-schematic-type" },
3307
3307
  return (t, o) => (v(), O("div", {
3308
3308
  class: Ce(["ui-schematic-part", [`ui-cat-${e.category ?? "unknown"}`, { "is-selected": e.selected, "is-container": e.container }]])
3309
3309
  }, [
3310
- H("div", Wo, [
3311
- H("span", Vo, U(e.partName ?? e.partType), 1),
3312
- e.caption ? (v(), O("span", zo, U(e.caption), 1)) : he("", !0)
3310
+ U("div", Yo, [
3311
+ U("span", Vo, H(e.partName ?? e.partType), 1),
3312
+ e.caption ? (v(), O("span", zo, H(e.caption), 1)) : he("", !0)
3313
3313
  ]),
3314
3314
  e.container ? (v(), O("div", {
3315
3315
  key: 0,
3316
3316
  class: "ui-schematic-body",
3317
- style: Xe(e.bodyStyle)
3317
+ style: $e(e.bodyStyle)
3318
3318
  }, [
3319
3319
  rn(t.$slots, "default", {}, void 0, !0),
3320
3320
  e.empty ? (v(), O("span", jo, "여기에 드롭")) : he("", !0)
3321
3321
  ], 4)) : he("", !0)
3322
3322
  ], 2));
3323
3323
  }
3324
- }), ce = (e, t) => {
3324
+ }), ue = (e, t) => {
3325
3325
  const o = e.__vccOpts || e;
3326
3326
  for (const [n, i] of t)
3327
3327
  o[n] = i;
3328
3328
  return o;
3329
- }, jt = /* @__PURE__ */ ce(Ko, [["__scopeId", "data-v-cc7b7e1c"]]);
3329
+ }, jt = /* @__PURE__ */ ue(Ko, [["__scopeId", "data-v-cc7b7e1c"]]);
3330
3330
  function qo(e, t) {
3331
3331
  var l;
3332
3332
  const o = ke(e, t);
@@ -3374,16 +3374,16 @@ const Qo = {
3374
3374
  ATTR: "속성",
3375
3375
  PART: "파트"
3376
3376
  };
3377
- function ma(e) {
3377
+ function Sa(e) {
3378
3378
  const t = e.split("-")[1];
3379
3379
  return t ? Qo[t] ?? t : e;
3380
3380
  }
3381
- function ba(e) {
3381
+ function va(e) {
3382
3382
  return e.contextRef;
3383
3383
  }
3384
3384
  function qt(e, t, o) {
3385
3385
  if (o === "into") return { parentId: t };
3386
- const n = Ue(e, t);
3386
+ const n = He(e, t);
3387
3387
  if (!(n != null && n.children)) return null;
3388
3388
  const i = n.children.findIndex((a) => a.partId === t);
3389
3389
  return i < 0 ? null : { parentId: n.partId, index: o === "after" ? i + 1 : i };
@@ -3393,7 +3393,7 @@ function er(e, t) {
3393
3393
  return t.container ? t.hasParent ? o < 0.3 ? "before" : o > 0.7 ? "after" : "into" : "into" : o < 0.5 ? "before" : "after";
3394
3394
  }
3395
3395
  function Jt(e, t, o, n) {
3396
- const i = Ue(e, t);
3396
+ const i = He(e, t);
3397
3397
  if ((i == null ? void 0 : i.partId) === o && i.children) {
3398
3398
  const a = i.children.findIndex((l) => l.partId === t);
3399
3399
  if (a >= 0 && a < n) return n - 1;
@@ -3447,7 +3447,7 @@ function or(e) {
3447
3447
  return t.kind === "grid" ? { display: "flex", flexDirection: "row", flexWrap: "wrap", gap: "4px", alignItems: "flex-start" } : t.style;
3448
3448
  }
3449
3449
  function Zt(e) {
3450
- const t = nr(e.partType), o = e.attrs, n = De(o.spacing, !1) ? "8px" : void 0, i = De(o.margin, !1) ? "8px" : void 0, a = {};
3450
+ const t = nr(e.partType), o = e.attrs, n = Fe(o.spacing, !1) ? "8px" : void 0, i = Fe(o.margin, !1) ? "8px" : void 0, a = {};
3451
3451
  let l, s;
3452
3452
  switch (t) {
3453
3453
  case "flex-col":
@@ -3463,7 +3463,7 @@ function Zt(e) {
3463
3463
  Object.assign(a, { display: "flex", flexDirection: "row", justifyContent: "space-between", alignItems: "center" }), a.gap = n ?? "8px";
3464
3464
  break;
3465
3465
  case "form": {
3466
- l = Math.max(1, le(o.columnCount, 1)), Object.assign(a, {
3466
+ l = Math.max(1, se(o.columnCount, 1)), Object.assign(a, {
3467
3467
  display: "grid",
3468
3468
  gridTemplateColumns: `repeat(${l}, minmax(0, 1fr))`,
3469
3469
  gap: n ?? "8px",
@@ -3472,7 +3472,7 @@ function Zt(e) {
3472
3472
  break;
3473
3473
  }
3474
3474
  case "table": {
3475
- l = Math.max(1, le(o.colCount, 1)), s = Math.max(1, le(o.rowCount, 1)), Object.assign(a, {
3475
+ l = Math.max(1, se(o.colCount, 1)), s = Math.max(1, se(o.rowCount, 1)), Object.assign(a, {
3476
3476
  display: "grid",
3477
3477
  gridTemplateColumns: `repeat(${l}, minmax(0, 1fr))`,
3478
3478
  gap: n ?? "6px"
@@ -3500,20 +3500,20 @@ const Tt = /* @__PURE__ */ new Set(["LEFT", "CENTER", "RIGHT"]), ht = /* @__PURE
3500
3500
  BOTTOM: "flex-end"
3501
3501
  };
3502
3502
  function rr(e, t) {
3503
- const o = {}, n = e.layoutAttrs, i = le(n == null ? void 0 : n.expandRatio, 0), a = Pe(n == null ? void 0 : n.componentAlignment).toUpperCase(), l = t === "flex-col", s = t === "flex-row" || t === "flex-wrap" || t === "action", c = t === "form" || t === "table";
3503
+ const o = {}, n = e.layoutAttrs, i = se(n == null ? void 0 : n.expandRatio, 0), a = Be(n == null ? void 0 : n.componentAlignment).toUpperCase(), l = t === "flex-col", s = t === "flex-row" || t === "flex-wrap" || t === "action", c = t === "form" || t === "table";
3504
3504
  if (i > 0 && (l || s) && (o.flex = `${i} 1 0%`), a && (l ? Tt.has(a) ? o.alignSelf = _e[a] : a === "TOP" ? o.marginBottom = "auto" : a === "BOTTOM" ? o.marginTop = "auto" : a === "MIDDLE" && (o.marginTop = "auto", o.marginBottom = "auto") : s ? ht.has(a) ? o.alignSelf = _e[a] : a === "LEFT" ? o.marginRight = "auto" : a === "RIGHT" ? o.marginLeft = "auto" : a === "CENTER" && (o.marginLeft = "auto", o.marginRight = "auto") : c && (Tt.has(a) ? o.justifySelf = _e[a] : ht.has(a) && (o.alignSelf = _e[a]))), t === "form") {
3505
- const u = le(n == null ? void 0 : n.colspan, 0);
3506
- if (De(n == null ? void 0 : n.takeOneRow, !1))
3505
+ const u = se(n == null ? void 0 : n.colspan, 0);
3506
+ if (Fe(n == null ? void 0 : n.takeOneRow, !1))
3507
3507
  o.gridColumn = "1 / -1";
3508
3508
  else if ((n == null ? void 0 : n.column) !== void 0) {
3509
- const p = le(n == null ? void 0 : n.column, 0) + 1;
3509
+ const p = se(n == null ? void 0 : n.column, 0) + 1;
3510
3510
  o.gridColumn = u > 1 ? `${p} / span ${u}` : `${p} / span 1`;
3511
3511
  } else u > 1 && (o.gridColumn = `span ${u}`);
3512
- (n == null ? void 0 : n.row) !== void 0 && (o.gridRowStart = String(le(n == null ? void 0 : n.row, 0) + 1));
3512
+ (n == null ? void 0 : n.row) !== void 0 && (o.gridRowStart = String(se(n == null ? void 0 : n.row, 0) + 1));
3513
3513
  }
3514
3514
  return o;
3515
3515
  }
3516
- const ar = ["draggable"], ir = /* @__PURE__ */ se({
3516
+ const ar = ["draggable"], ir = /* @__PURE__ */ ce({
3517
3517
  __name: "PartCanvas",
3518
3518
  props: {
3519
3519
  node: {},
@@ -3523,12 +3523,12 @@ const ar = ["draggable"], ir = /* @__PURE__ */ se({
3523
3523
  parentKind: {}
3524
3524
  },
3525
3525
  setup(e) {
3526
- const t = e, o = $e(He);
3526
+ const t = e, o = Ue(We);
3527
3527
  if (!o) throw new Error("PartCanvas: EDITOR 컨트롤러가 provide되지 않았습니다");
3528
- const n = o, i = M(() => t.registry ?? Jo(n.catalog)), a = M(() => t.node ?? n.state.root), l = M(() => Zo(i.value, a.value, n.catalog)), s = M(() => l.value.propBind(a.value)), c = M(() => l.value.acceptsChildren !== !1), u = M(() => n.selection.value === a.value.partId), p = M(() => c.value && !(a.value.children && a.value.children.length)), g = M(() => t.parentId != null), y = M(() => c.value ? Zt(a.value) : void 0), E = M(() => {
3528
+ const n = o, i = M(() => t.registry ?? Jo(n.catalog)), a = M(() => t.node ?? n.state.root), l = M(() => Zo(i.value, a.value, n.catalog)), s = M(() => l.value.propBind(a.value)), c = M(() => l.value.acceptsChildren !== !1), u = M(() => n.selection.value === a.value.partId), p = M(() => c.value && !(a.value.children && a.value.children.length)), E = M(() => t.parentId != null), g = M(() => c.value ? Zt(a.value) : void 0), T = M(() => {
3529
3529
  var _;
3530
- return (_ = y.value) == null ? void 0 : _.kind;
3531
- }), b = M(() => c.value ? or(a.value) : void 0), B = M(() => t.parentKind ? rr(a.value, t.parentKind) : {}), Y = M(() => gt(t.parentKind) === "horizontal"), m = V(null);
3530
+ return (_ = g.value) == null ? void 0 : _.kind;
3531
+ }), b = M(() => c.value ? or(a.value) : void 0), B = M(() => t.parentKind ? rr(a.value, t.parentKind) : {}), W = M(() => gt(t.parentKind) === "horizontal"), m = V(null);
3532
3532
  function S(_) {
3533
3533
  const D = _.currentTarget.getBoundingClientRect(), j = D.width ? (_.clientX - D.left) / D.width : 0.5, Z = D.height ? (_.clientY - D.top) / D.height : 0.5;
3534
3534
  return er(
@@ -3547,8 +3547,8 @@ const ar = ["draggable"], ir = /* @__PURE__ */ se({
3547
3547
  m.value = null;
3548
3548
  }
3549
3549
  function R(_) {
3550
- var ae;
3551
- _.stopPropagation(), (ae = _.dataTransfer) == null || ae.setData("partId", a.value.partId), _.dataTransfer && (_.dataTransfer.effectAllowed = "move");
3550
+ var ie;
3551
+ _.stopPropagation(), (ie = _.dataTransfer) == null || ie.setData("partId", a.value.partId), _.dataTransfer && (_.dataTransfer.effectAllowed = "move");
3552
3552
  }
3553
3553
  function C(_) {
3554
3554
  _.stopPropagation(), n.select(a.value.partId);
@@ -3559,9 +3559,9 @@ const ar = ["draggable"], ir = /* @__PURE__ */ se({
3559
3559
  function xe(_) {
3560
3560
  var ve, k;
3561
3561
  _.preventDefault(), _.stopPropagation();
3562
- const ae = m.value ?? S(_);
3562
+ const ie = m.value ?? S(_);
3563
3563
  m.value = null;
3564
- const D = F(ae);
3564
+ const D = F(ie);
3565
3565
  if (!D) return;
3566
3566
  const j = (ve = _.dataTransfer) == null ? void 0 : ve.getData("partId"), Z = (k = _.dataTransfer) == null ? void 0 : k.getData("partType");
3567
3567
  if (j) {
@@ -3569,37 +3569,37 @@ const ar = ["draggable"], ir = /* @__PURE__ */ se({
3569
3569
  n.movePart(j, D.parentId, P);
3570
3570
  } else Z && n.addPart(D.parentId, { partId: Ie(), partType: Z, attrs: {}, children: [] }, D.index);
3571
3571
  }
3572
- return (_, ae) => {
3572
+ return (_, ie) => {
3573
3573
  const D = yt("PartCanvas", !0);
3574
3574
  return v(), O("div", {
3575
3575
  class: Ce(["ui-canvas-node", {
3576
3576
  "is-drop-into": m.value === "into",
3577
3577
  "is-drop-before": m.value === "before",
3578
3578
  "is-drop-after": m.value === "after",
3579
- "is-haxis": Y.value
3579
+ "is-haxis": W.value
3580
3580
  }]),
3581
- style: Xe(B.value),
3582
- draggable: g.value,
3581
+ style: $e(B.value),
3582
+ draggable: E.value,
3583
3583
  onClick: C,
3584
3584
  onDragstart: R,
3585
3585
  onDragover: w,
3586
3586
  onDragleave: $,
3587
3587
  onDrop: xe
3588
3588
  }, [
3589
- (v(), Ne(an(l.value.component), ln(s.value, {
3589
+ (v(), De(an(l.value.component), ln(s.value, {
3590
3590
  selected: u.value,
3591
3591
  container: c.value,
3592
3592
  empty: p.value,
3593
3593
  "body-style": b.value
3594
3594
  }), {
3595
3595
  default: sn(() => [
3596
- c.value ? (v(!0), O(q, { key: 0 }, oe(a.value.children ?? [], (j, Z) => (v(), Ne(D, {
3596
+ c.value ? (v(!0), O(q, { key: 0 }, oe(a.value.children ?? [], (j, Z) => (v(), De(D, {
3597
3597
  key: j.partId,
3598
3598
  node: j,
3599
3599
  registry: i.value,
3600
3600
  "parent-id": a.value.partId,
3601
3601
  index: Z,
3602
- "parent-kind": E.value
3602
+ "parent-kind": T.value
3603
3603
  }, null, 8, ["node", "registry", "parent-id", "index", "parent-kind"]))), 128)) : he("", !0)
3604
3604
  ]),
3605
3605
  _: 1
@@ -3607,10 +3607,10 @@ const ar = ["draggable"], ir = /* @__PURE__ */ se({
3607
3607
  ], 46, ar);
3608
3608
  };
3609
3609
  }
3610
- }), Sa = /* @__PURE__ */ ce(ir, [["__scopeId", "data-v-9df8ebc1"]]), lr = { class: "ui-palette" }, sr = { class: "ui-palette__title" }, cr = { class: "ui-palette__list" }, ur = ["title", "onDragstart"], dr = /* @__PURE__ */ se({
3610
+ }), La = /* @__PURE__ */ ue(ir, [["__scopeId", "data-v-9df8ebc1"]]), lr = { class: "ui-palette" }, sr = { class: "ui-palette__title" }, cr = { class: "ui-palette__list" }, ur = ["title", "onDragstart"], dr = /* @__PURE__ */ ce({
3611
3611
  __name: "PartPalette",
3612
3612
  setup(e) {
3613
- const t = $e(He);
3613
+ const t = Ue(We);
3614
3614
  if (!t) throw new Error("PartPalette: EDITOR 컨트롤러가 provide되지 않았습니다");
3615
3615
  const o = t, n = M(() => {
3616
3616
  const a = /* @__PURE__ */ new Map();
@@ -3629,20 +3629,20 @@ const ar = ["draggable"], ir = /* @__PURE__ */ se({
3629
3629
  key: s,
3630
3630
  class: "ui-palette__group"
3631
3631
  }, [
3632
- H("h4", sr, U(s), 1),
3633
- H("ul", cr, [
3632
+ U("h4", sr, H(s), 1),
3633
+ U("ul", cr, [
3634
3634
  (v(!0), O(q, null, oe(c, (u) => (v(), O("li", {
3635
3635
  key: u.partType,
3636
3636
  class: "ui-palette__item",
3637
3637
  draggable: "true",
3638
3638
  title: u.partType,
3639
3639
  onDragstart: (p) => i(p, u)
3640
- }, U(u.partName), 41, ur))), 128))
3640
+ }, H(u.partName), 41, ur))), 128))
3641
3641
  ])
3642
3642
  ]))), 128))
3643
3643
  ]));
3644
3644
  }
3645
- }), va = /* @__PURE__ */ ce(dr, [["__scopeId", "data-v-ba70ed30"]]), pr = ["title"], fr = {
3645
+ }), Oa = /* @__PURE__ */ ue(dr, [["__scopeId", "data-v-ba70ed30"]]), pr = ["title"], fr = {
3646
3646
  key: 1,
3647
3647
  class: "ui-mlang"
3648
3648
  }, gr = {
@@ -3651,7 +3651,7 @@ const ar = ["draggable"], ir = /* @__PURE__ */ se({
3651
3651
  }, Tr = ["aria-selected", "onClick"], hr = {
3652
3652
  key: 0,
3653
3653
  class: "ui-mlang__dot"
3654
- }, yr = ["name", "placeholder", "value"], Er = ["name", "placeholder", "value"], mr = /* @__PURE__ */ se({
3654
+ }, yr = ["name", "placeholder", "value"], Er = ["name", "placeholder", "value"], mr = /* @__PURE__ */ ce({
3655
3655
  __name: "MultiLangTextField",
3656
3656
  props: {
3657
3657
  modelValue: {},
@@ -3667,35 +3667,35 @@ const ar = ["draggable"], ir = /* @__PURE__ */ se({
3667
3667
  () => Ze(o.modelValue) ? o.modelValue.key : ""
3668
3668
  );
3669
3669
  function l() {
3670
- const y = o.defaultLang;
3671
- return y && o.languages.includes(y) ? y : o.languages[0] ?? "ko";
3670
+ const g = o.defaultLang;
3671
+ return g && o.languages.includes(g) ? g : o.languages[0] ?? "ko";
3672
3672
  }
3673
3673
  const s = V(l());
3674
- qe(
3674
+ Pe(
3675
3675
  () => [o.languages, o.defaultLang],
3676
3676
  () => {
3677
3677
  o.languages.includes(s.value) || (s.value = l());
3678
3678
  }
3679
3679
  );
3680
3680
  const c = M(() => {
3681
- const y = o.modelValue;
3682
- return y == null || i.value ? {} : typeof y == "string" ? y.trim() ? { [s.value]: y } : {} : y;
3681
+ const g = o.modelValue;
3682
+ return g == null || i.value ? {} : typeof g == "string" ? g.trim() ? { [s.value]: g } : {} : g;
3683
3683
  });
3684
- function u(y) {
3685
- var E;
3686
- return !!((E = c.value[y]) != null && E.trim());
3684
+ function u(g) {
3685
+ var T;
3686
+ return !!((T = c.value[g]) != null && T.trim());
3687
3687
  }
3688
3688
  const p = M(() => c.value[s.value] ?? "");
3689
- function g(y) {
3690
- const E = { ...c.value };
3691
- y.trim() === "" ? delete E[s.value] : E[s.value] = y, n("update:modelValue", E);
3689
+ function E(g) {
3690
+ const T = { ...c.value };
3691
+ g.trim() === "" ? delete T[s.value] : T[s.value] = g, n("update:modelValue", T);
3692
3692
  }
3693
- return (y, E) => i.value ? (v(), O("code", {
3693
+ return (g, T) => i.value ? (v(), O("code", {
3694
3694
  key: 0,
3695
3695
  class: "ui-mlang__key",
3696
3696
  title: `메시지 키: ${a.value}`
3697
- }, "#" + U("{") + U(a.value) + U("}"), 9, pr)) : (v(), O("div", fr, [
3698
- H("div", gr, [
3697
+ }, "#" + H("{") + H(a.value) + H("}"), 9, pr)) : (v(), O("div", fr, [
3698
+ U("div", gr, [
3699
3699
  (v(!0), O(q, null, oe(e.languages, (b) => (v(), O("button", {
3700
3700
  key: b,
3701
3701
  type: "button",
@@ -3704,7 +3704,7 @@ const ar = ["draggable"], ir = /* @__PURE__ */ se({
3704
3704
  "aria-selected": s.value === b,
3705
3705
  onClick: (B) => s.value = b
3706
3706
  }, [
3707
- cn(U(b), 1),
3707
+ cn(H(b), 1),
3708
3708
  u(b) ? (v(), O("span", hr, "•")) : he("", !0)
3709
3709
  ], 10, Tr))), 128))
3710
3710
  ]),
@@ -3715,7 +3715,7 @@ const ar = ["draggable"], ir = /* @__PURE__ */ se({
3715
3715
  rows: "3",
3716
3716
  placeholder: e.placeholder,
3717
3717
  value: p.value,
3718
- onInput: E[0] || (E[0] = (b) => g(b.target.value))
3718
+ onInput: T[0] || (T[0] = (b) => E(b.target.value))
3719
3719
  }, null, 40, yr)) : (v(), O("input", {
3720
3720
  key: 1,
3721
3721
  name: `${e.name}-${s.value}`,
@@ -3723,14 +3723,14 @@ const ar = ["draggable"], ir = /* @__PURE__ */ se({
3723
3723
  type: "text",
3724
3724
  placeholder: e.placeholder,
3725
3725
  value: p.value,
3726
- onInput: E[1] || (E[1] = (b) => g(b.target.value))
3726
+ onInput: T[1] || (T[1] = (b) => E(b.target.value))
3727
3727
  }, null, 40, Er))
3728
3728
  ]));
3729
3729
  }
3730
- }), br = /* @__PURE__ */ ce(mr, [["__scopeId", "data-v-fa16ddef"]]), Sr = {
3730
+ }), br = /* @__PURE__ */ ue(mr, [["__scopeId", "data-v-fa16ddef"]]), Sr = {
3731
3731
  class: "ui-inline-issue__mark",
3732
3732
  "aria-hidden": "true"
3733
- }, vr = { class: "ui-inline-issue__msgs" }, Lr = /* @__PURE__ */ se({
3733
+ }, vr = { class: "ui-inline-issue__msgs" }, Lr = /* @__PURE__ */ ce({
3734
3734
  __name: "InlineIssueBadge",
3735
3735
  props: {
3736
3736
  controller: {},
@@ -3753,22 +3753,22 @@ const ar = ["draggable"], ir = /* @__PURE__ */ se({
3753
3753
  key: 0,
3754
3754
  class: Ce(["ui-inline-issue", `is-${i.value}`])
3755
3755
  }, [
3756
- H("span", Sr, U(o[i.value].mark), 1),
3757
- H("span", vr, [
3758
- (v(!0), O(q, null, oe(n.value, (s, c) => (v(), O("span", { key: c }, U(s.message), 1))), 128))
3756
+ U("span", Sr, H(o[i.value].mark), 1),
3757
+ U("span", vr, [
3758
+ (v(!0), O(q, null, oe(n.value, (s, c) => (v(), O("span", { key: c }, H(s.message), 1))), 128))
3759
3759
  ])
3760
3760
  ], 2)) : he("", !0);
3761
3761
  }
3762
- }), Qt = /* @__PURE__ */ ce(Lr, [["__scopeId", "data-v-a0454177"]]), Or = { class: "ui-props" }, Cr = {
3762
+ }), Qt = /* @__PURE__ */ ue(Lr, [["__scopeId", "data-v-a0454177"]]), Or = { class: "ui-props" }, Cr = {
3763
3763
  key: 0,
3764
3764
  class: "ui-props__empty"
3765
3765
  }, Ir = { class: "ui-props__head" }, kr = { class: "ui-props__type" }, xr = { class: "ui-props__id" }, Ar = ["disabled"], Mr = { class: "ui-props__group-title" }, _r = ["title"], Pr = { class: "ui-props__field" }, Br = ["checked", "onChange"], Rr = ["value", "onChange"], wr = ["value", "onChange"], Nr = ["value"], Dr = ["value", "onChange"], Fr = {
3766
3766
  key: 5,
3767
3767
  class: "ui-props__readonly"
3768
- }, Gr = ["value", "onChange"], Xr = /* @__PURE__ */ se({
3768
+ }, Gr = ["value", "onChange"], Xr = /* @__PURE__ */ ce({
3769
3769
  __name: "PropertyPanel",
3770
3770
  setup(e) {
3771
- const t = $e(He);
3771
+ const t = Ue(We);
3772
3772
  if (!t) throw new Error("PropertyPanel: EDITOR 컨트롤러가 provide되지 않았습니다");
3773
3773
  const o = t, n = M(() => o.selectedPart.value), i = M(() => n.value ? o.catalog.get(n.value.partType) : void 0), a = /* @__PURE__ */ new Set(["SELECT", "ALIGN", "ADD_STYLE", "SIZE", "ICON"]), l = /* @__PURE__ */ new Set(["TEXTAREA", "FULL_TEXTAREA", "MESSAGE_TEXTAREA"]), s = /* @__PURE__ */ new Set([
3774
3774
  "COMPONENT_REF",
@@ -3801,13 +3801,13 @@ const ar = ["draggable"], ir = /* @__PURE__ */ se({
3801
3801
  S === void 0 ? delete $[m.id] : $[m.id] = S, o.updatePart(w.partId, { attrs: $ });
3802
3802
  }
3803
3803
  }
3804
- function g(m, S) {
3804
+ function E(m, S) {
3805
3805
  p(m, S === "" ? void 0 : J(S));
3806
3806
  }
3807
- function y(m, S) {
3807
+ function g(m, S) {
3808
3808
  p(m, S === "" ? void 0 : St(Number(S)));
3809
3809
  }
3810
- function E(m, S) {
3810
+ function T(m, S) {
3811
3811
  p(m, N(S));
3812
3812
  }
3813
3813
  function b(m, S) {
@@ -3822,7 +3822,7 @@ const ar = ["draggable"], ir = /* @__PURE__ */ se({
3822
3822
  }), w = ($ = m.agent) == null ? void 0 : $.enum;
3823
3823
  return w ? S.filter((R) => w.includes(R.value)) : S;
3824
3824
  }
3825
- function Y(m) {
3825
+ function W(m) {
3826
3826
  const S = u(m);
3827
3827
  if (!S) return "—";
3828
3828
  switch (S.kind) {
@@ -3842,15 +3842,15 @@ const ar = ["draggable"], ir = /* @__PURE__ */ se({
3842
3842
  var w, $;
3843
3843
  return v(), O("div", Or, [
3844
3844
  n.value ? (v(), O(q, { key: 1 }, [
3845
- H("header", Ir, [
3846
- H("span", kr, U(((w = i.value) == null ? void 0 : w.partName) ?? n.value.partType), 1),
3847
- H("code", xr, U(n.value.partId), 1)
3845
+ U("header", Ir, [
3846
+ U("span", kr, H(((w = i.value) == null ? void 0 : w.partName) ?? n.value.partType), 1),
3847
+ U("code", xr, H(n.value.partId), 1)
3848
3848
  ]),
3849
3849
  Et(Qt, {
3850
3850
  controller: K(o),
3851
3851
  "ref-id": n.value.partId
3852
3852
  }, null, 8, ["controller", "ref-id"]),
3853
- H("fieldset", {
3853
+ U("fieldset", {
3854
3854
  class: "ui-props__form",
3855
3855
  disabled: !K(o).editable.value
3856
3856
  }, [
@@ -3858,28 +3858,28 @@ const ar = ["draggable"], ir = /* @__PURE__ */ se({
3858
3858
  key: R.name,
3859
3859
  class: "ui-props__group"
3860
3860
  }, [
3861
- H("h4", Mr, U(R.name), 1),
3861
+ U("h4", Mr, H(R.name), 1),
3862
3862
  (v(!0), O(q, null, oe(R.items, (C) => (v(), O("div", {
3863
3863
  key: C.id,
3864
3864
  class: "ui-props__row"
3865
3865
  }, [
3866
- H("label", {
3866
+ U("label", {
3867
3867
  class: "ui-props__label",
3868
3868
  title: C.id
3869
- }, U(C.name), 9, _r),
3870
- H("div", Pr, [
3869
+ }, H(C.name), 9, _r),
3870
+ U("div", Pr, [
3871
3871
  c(C) === "bool" ? (v(), O("input", {
3872
3872
  key: 0,
3873
3873
  type: "checkbox",
3874
- checked: K(De)(u(C)),
3875
- onChange: (F) => E(C, F.target.checked)
3874
+ checked: K(Fe)(u(C)),
3875
+ onChange: (F) => T(C, F.target.checked)
3876
3876
  }, null, 40, Br)) : c(C) === "int" ? (v(), O("input", {
3877
3877
  key: 1,
3878
3878
  type: "number",
3879
3879
  class: "ui-props__input",
3880
- value: u(C) ? K(le)(u(C)) : "",
3881
- onChange: (F) => y(C, F.target.value)
3882
- }, null, 40, Rr)) : c(C) === "text" ? (v(), Ne(br, {
3880
+ value: u(C) ? K(se)(u(C)) : "",
3881
+ onChange: (F) => g(C, F.target.value)
3882
+ }, null, 40, Rr)) : c(C) === "text" ? (v(), De(br, {
3883
3883
  key: 2,
3884
3884
  name: C.id,
3885
3885
  "model-value": K(Lt)(u(C)),
@@ -3888,26 +3888,26 @@ const ar = ["draggable"], ir = /* @__PURE__ */ se({
3888
3888
  }, null, 8, ["name", "model-value", "multiline", "onUpdate:modelValue"])) : c(C) === "select" ? (v(), O("select", {
3889
3889
  key: 3,
3890
3890
  class: "ui-props__input",
3891
- value: K(Pe)(u(C)),
3892
- onChange: (F) => g(C, F.target.value)
3891
+ value: K(Be)(u(C)),
3892
+ onChange: (F) => E(C, F.target.value)
3893
3893
  }, [
3894
- S[0] || (S[0] = H("option", { value: "" }, "—", -1)),
3894
+ S[0] || (S[0] = U("option", { value: "" }, "—", -1)),
3895
3895
  (v(!0), O(q, null, oe(B(C), (F) => (v(), O("option", {
3896
3896
  key: F.value,
3897
3897
  value: F.value
3898
- }, U(F.label), 9, Nr))), 128))
3898
+ }, H(F.label), 9, Nr))), 128))
3899
3899
  ], 40, wr)) : c(C) === "textarea" ? (v(), O("textarea", {
3900
3900
  key: 4,
3901
3901
  class: "ui-props__input",
3902
3902
  rows: "3",
3903
- value: K(Pe)(u(C)),
3904
- onChange: (F) => g(C, F.target.value)
3905
- }, null, 40, Dr)) : c(C) === "readonly" ? (v(), O("span", Fr, U(Y(C)), 1)) : (v(), O("input", {
3903
+ value: K(Be)(u(C)),
3904
+ onChange: (F) => E(C, F.target.value)
3905
+ }, null, 40, Dr)) : c(C) === "readonly" ? (v(), O("span", Fr, H(W(C)), 1)) : (v(), O("input", {
3906
3906
  key: 6,
3907
3907
  type: "text",
3908
3908
  class: "ui-props__input",
3909
- value: K(Pe)(u(C)),
3910
- onChange: (F) => g(C, F.target.value)
3909
+ value: K(Be)(u(C)),
3910
+ onChange: (F) => E(C, F.target.value)
3911
3911
  }, null, 40, Gr))
3912
3912
  ])
3913
3913
  ]))), 128))
@@ -3917,81 +3917,85 @@ const ar = ["draggable"], ir = /* @__PURE__ */ se({
3917
3917
  ]);
3918
3918
  };
3919
3919
  }
3920
- }), La = /* @__PURE__ */ ce(Xr, [["__scopeId", "data-v-74030a51"]]), $r = { class: "ui-tree-node" }, Ur = { class: "ui-tree-type" }, Hr = {
3920
+ }), Ca = /* @__PURE__ */ ue(Xr, [["__scopeId", "data-v-74030a51"]]), $r = { class: "ui-tree-node" }, Ur = { class: "ui-tree-type" }, Hr = {
3921
3921
  key: 0,
3922
3922
  class: "ui-tree-caption"
3923
- }, Yr = /* @__PURE__ */ se({
3923
+ }, Wr = /* @__PURE__ */ ce({
3924
3924
  __name: "PartTree",
3925
3925
  props: {
3926
3926
  node: {},
3927
3927
  depth: {}
3928
3928
  },
3929
3929
  setup(e) {
3930
- const t = e, o = $e(He);
3930
+ const t = e, o = Ue(We);
3931
3931
  if (!o) throw new Error("PartTree: EDITOR 컨트롤러가 provide되지 않았습니다");
3932
3932
  const n = o, i = M(() => t.node ?? n.state.root), a = M(() => t.depth ?? 0), l = M(() => ke(i.value, n.catalog)), s = M(() => n.selection.value === i.value.partId);
3933
3933
  return (c, u) => {
3934
3934
  const p = yt("PartTree", !0);
3935
3935
  return v(), O("div", $r, [
3936
- H("button", {
3936
+ U("button", {
3937
3937
  type: "button",
3938
3938
  class: Ce(["ui-tree-row", { "is-selected": s.value }]),
3939
- style: Xe({ paddingLeft: `${a.value * 14 + 6}px` }),
3940
- onClick: u[0] || (u[0] = (g) => K(n).select(i.value.partId))
3939
+ style: $e({ paddingLeft: `${a.value * 14 + 6}px` }),
3940
+ onClick: u[0] || (u[0] = (E) => K(n).select(i.value.partId))
3941
3941
  }, [
3942
- H("span", Ur, U(i.value.partType), 1),
3943
- l.value ? (v(), O("span", Hr, U(l.value), 1)) : he("", !0)
3942
+ U("span", Ur, H(i.value.partType), 1),
3943
+ l.value ? (v(), O("span", Hr, H(l.value), 1)) : he("", !0)
3944
3944
  ], 6),
3945
3945
  Et(Qt, {
3946
3946
  controller: K(n),
3947
3947
  "ref-id": i.value.partId
3948
3948
  }, null, 8, ["controller", "ref-id"]),
3949
- (v(!0), O(q, null, oe(i.value.children ?? [], (g) => (v(), Ne(p, {
3950
- key: g.partId,
3951
- node: g,
3949
+ (v(!0), O(q, null, oe(i.value.children ?? [], (E) => (v(), De(p, {
3950
+ key: E.partId,
3951
+ node: E,
3952
3952
  depth: a.value + 1
3953
3953
  }, null, 8, ["node", "depth"]))), 128))
3954
3954
  ]);
3955
3955
  };
3956
3956
  }
3957
- }), Oa = /* @__PURE__ */ ce(Yr, [["__scopeId", "data-v-cfddebcf"]]), ue = "ui-modeler-preview";
3958
- function Wr(e, t) {
3959
- return { channel: ue, type: "render", model: e, revision: t };
3957
+ }), Ia = /* @__PURE__ */ ue(Wr, [["__scopeId", "data-v-cfddebcf"]]), ae = "ui-modeler-preview";
3958
+ function Yr(e, t) {
3959
+ return { channel: ae, type: "render", model: e, revision: t };
3960
3960
  }
3961
- function Ca() {
3962
- return { channel: ue, type: "ready" };
3961
+ function ka() {
3962
+ return { channel: ae, type: "ready" };
3963
3963
  }
3964
- function Ia(e) {
3965
- return { channel: ue, type: "resize", height: e };
3964
+ function xa(e) {
3965
+ return { channel: ae, type: "resize", height: e };
3966
3966
  }
3967
- function ka(e) {
3968
- return { channel: ue, type: "error", message: e };
3967
+ function Aa(e) {
3968
+ return { channel: ae, type: "error", message: e };
3969
3969
  }
3970
- function xa(e) {
3971
- return { channel: ue, type: "select", partId: e };
3970
+ function Ma(e) {
3971
+ return { channel: ae, type: "select", partId: e };
3972
3972
  }
3973
3973
  function Vr(e) {
3974
- return { channel: ue, type: "highlight", partId: e };
3974
+ return { channel: ae, type: "highlight", partId: e };
3975
3975
  }
3976
- function Aa(e, t, o, n) {
3977
- return { channel: ue, type: "drop", dragKind: e, payload: t, targetPartId: o, zone: n };
3976
+ function zr(e) {
3977
+ return { channel: ae, type: "catalog", messages: e };
3978
3978
  }
3979
- function en(e) {
3980
- return typeof e == "object" && e !== null && e.channel === ue && typeof e.type == "string";
3979
+ function _a(e, t, o, n) {
3980
+ return { channel: ae, type: "drop", dragKind: e, payload: t, targetPartId: o, zone: n };
3981
3981
  }
3982
- const zr = /* @__PURE__ */ new Set(["ready", "resize", "error", "select", "drop"]), jr = /* @__PURE__ */ new Set(["render", "highlight"]);
3983
- function Kr(e) {
3984
- return en(e) && zr.has(e.type);
3982
+ function en(e) {
3983
+ return typeof e == "object" && e !== null && e.channel === ae && typeof e.type == "string";
3985
3984
  }
3986
- function Ma(e) {
3985
+ const jr = /* @__PURE__ */ new Set(["ready", "resize", "error", "select", "drop"]), Kr = /* @__PURE__ */ new Set(["render", "highlight", "catalog"]);
3986
+ function qr(e) {
3987
3987
  return en(e) && jr.has(e.type);
3988
3988
  }
3989
- const qr = ["src"], Jr = /* @__PURE__ */ se({
3989
+ function Pa(e) {
3990
+ return en(e) && Kr.has(e.type);
3991
+ }
3992
+ const Jr = { class: "ui-iframe-preview__box" }, Zr = ["src"], Qr = /* @__PURE__ */ ce({
3990
3993
  __name: "IframePreview",
3991
3994
  props: {
3992
3995
  model: {},
3993
3996
  revision: { default: 0 },
3994
3997
  selection: { default: null },
3998
+ messages: { default: void 0 },
3995
3999
  src: {},
3996
4000
  targetOrigin: { default: "/" }
3997
4001
  },
@@ -4000,27 +4004,32 @@ const qr = ["src"], Jr = /* @__PURE__ */ se({
4000
4004
  const o = e, n = t, i = V(null), a = V(0);
4001
4005
  let l = !1;
4002
4006
  function s() {
4003
- var y;
4004
- const g = (y = i.value) == null ? void 0 : y.contentWindow;
4007
+ var T;
4008
+ const g = (T = i.value) == null ? void 0 : T.contentWindow;
4005
4009
  if (!(!g || !l))
4006
4010
  try {
4007
- const E = JSON.parse(JSON.stringify(o.model));
4008
- g.postMessage(Wr(E, o.revision), o.targetOrigin);
4009
- } catch (E) {
4010
- n("error", E instanceof Error ? E.message : String(E));
4011
+ const b = JSON.parse(JSON.stringify(o.model));
4012
+ g.postMessage(Yr(b, o.revision), o.targetOrigin);
4013
+ } catch (b) {
4014
+ n("error", b instanceof Error ? b.message : String(b));
4011
4015
  }
4012
4016
  }
4013
4017
  function c() {
4014
- var y;
4015
- const g = (y = i.value) == null ? void 0 : y.contentWindow;
4018
+ var T;
4019
+ const g = (T = i.value) == null ? void 0 : T.contentWindow;
4016
4020
  !g || !l || g.postMessage(Vr(o.selection ?? null), o.targetOrigin);
4017
4021
  }
4018
- function u(g) {
4019
- var y;
4020
- if (g.source === ((y = i.value) == null ? void 0 : y.contentWindow) && Kr(g.data))
4022
+ function u() {
4023
+ var T;
4024
+ const g = (T = i.value) == null ? void 0 : T.contentWindow;
4025
+ !g || !l || g.postMessage(zr(o.messages ?? {}), o.targetOrigin);
4026
+ }
4027
+ function p(g) {
4028
+ var T;
4029
+ if (g.source === ((T = i.value) == null ? void 0 : T.contentWindow) && qr(g.data))
4021
4030
  switch (g.data.type) {
4022
4031
  case "ready":
4023
- l = !0, s(), c(), n("ready");
4032
+ l = !0, u(), s(), c(), n("ready");
4024
4033
  break;
4025
4034
  case "resize":
4026
4035
  a.value = g.data.height;
@@ -4032,58 +4041,63 @@ const qr = ["src"], Jr = /* @__PURE__ */ se({
4032
4041
  n("select", g.data.partId);
4033
4042
  break;
4034
4043
  case "drop":
4035
- p(g.data);
4044
+ E(g.data);
4036
4045
  break;
4037
4046
  }
4038
4047
  }
4039
- function p(g) {
4040
- const y = g.targetPartId == null ? { parentId: o.model.partId } : qt(o.model, g.targetPartId, g.zone);
4041
- if (y)
4048
+ function E(g) {
4049
+ const T = g.targetPartId == null ? { parentId: o.model.partId } : qt(o.model, g.targetPartId, g.zone);
4050
+ if (T)
4042
4051
  if (g.dragKind === "move") {
4043
- const E = y.index == null ? void 0 : Jt(o.model, g.payload, y.parentId, y.index);
4044
- n("movePart", g.payload, y.parentId, E);
4052
+ const b = T.index == null ? void 0 : Jt(o.model, g.payload, T.parentId, T.index);
4053
+ n("movePart", g.payload, T.parentId, b);
4045
4054
  } else
4046
- n("addPart", y.parentId, g.payload, y.index);
4055
+ n("addPart", T.parentId, g.payload, T.index);
4047
4056
  }
4048
- return un(() => window.addEventListener("message", u)), dn(() => window.removeEventListener("message", u)), qe(
4057
+ return un(() => window.addEventListener("message", p)), dn(() => window.removeEventListener("message", p)), Pe(
4049
4058
  () => [o.model, o.revision],
4050
4059
  () => s(),
4051
4060
  { deep: !1 }
4052
- ), qe(
4061
+ ), Pe(
4053
4062
  () => o.selection,
4054
4063
  () => c()
4055
- ), (g, y) => (v(), O("iframe", {
4056
- ref_key: "frame",
4057
- ref: i,
4058
- class: "ui-iframe-preview",
4059
- src: e.src,
4060
- style: Xe(a.value ? { height: a.value + "px" } : void 0),
4061
- title: "실 미리보기"
4062
- }, null, 12, qr));
4064
+ ), Pe(
4065
+ () => o.messages,
4066
+ () => u()
4067
+ ), (g, T) => (v(), O("div", Jr, [
4068
+ U("iframe", {
4069
+ ref_key: "frame",
4070
+ ref: i,
4071
+ class: "ui-iframe-preview",
4072
+ src: e.src,
4073
+ style: $e(a.value ? { height: a.value + "px" } : void 0),
4074
+ title: "실 미리보기"
4075
+ }, null, 12, Zr)
4076
+ ]));
4063
4077
  }
4064
- }), _a = /* @__PURE__ */ ce(Jr, [["__scopeId", "data-v-aece74f6"]]);
4078
+ }), Ba = /* @__PURE__ */ ue(Qr, [["__scopeId", "data-v-063e5619"]]);
4065
4079
  export {
4066
4080
  Rn as AGENT_EXPOSE_DEFAULT,
4067
- pa as APPLY_UI_OPS_INPUT_SCHEMA,
4081
+ ga as APPLY_UI_OPS_INPUT_SCHEMA,
4068
4082
  Zn as BUILTIN_PART_DEFS,
4069
- ra as CASE_MSG_CAPTION,
4083
+ ia as CASE_MSG_CAPTION,
4070
4084
  ft as CommandStack,
4071
- He as EDITOR,
4072
- _a as IframePreview,
4085
+ We as EDITOR,
4086
+ Ba as IframePreview,
4073
4087
  Qt as InlineIssueBadge,
4074
4088
  $t as MAX_INLINE_DEPTH,
4075
4089
  br as MultiLangTextField,
4076
- Ta as OP_KINDS,
4090
+ ya as OP_KINDS,
4077
4091
  Xo as OpSyncAdapter,
4078
4092
  bt as PART_CATEGORY,
4079
4093
  pn as PART_TYPES,
4080
4094
  mt as PART_TYPES_BY_CATEGORY,
4081
- ue as PREVIEW_CHANNEL,
4082
- ua as PROPERTY_EDITORS,
4083
- Sa as PartCanvas,
4084
- va as PartPalette,
4085
- Oa as PartTree,
4086
- La as PropertyPanel,
4095
+ ae as PREVIEW_CHANNEL,
4096
+ pa as PROPERTY_EDITORS,
4097
+ La as PartCanvas,
4098
+ Oa as PartPalette,
4099
+ Ia as PartTree,
4100
+ Ca as PropertyPanel,
4087
4101
  Go as RevCache,
4088
4102
  be as STYLE_TOKENS,
4089
4103
  Ct as STYLE_TOKEN_DIM_META,
@@ -4092,67 +4106,68 @@ export {
4092
4106
  jt as SchematicPart,
4093
4107
  gn as accept,
4094
4108
  wo as addPart,
4095
- ca as applyOpsToFlat,
4096
- De as asBool,
4097
- le as asInt,
4098
- Pe as asString,
4109
+ da as applyOpsToFlat,
4110
+ Fe as asBool,
4111
+ se as asInt,
4112
+ Be as asString,
4099
4113
  Lt as asText,
4100
- oa as asValidator,
4114
+ aa as asValidator,
4101
4115
  ot as attrMapFrom,
4102
4116
  Sn as attrValFrom,
4103
4117
  N as bool,
4104
- ya as buildAgentBatch,
4118
+ ma as buildAgentBatch,
4105
4119
  ke as captionText,
4120
+ zr as catalogMessage,
4106
4121
  ko as checkStrictSubset,
4107
4122
  It as classifyStyleClass,
4108
- aa as collect,
4123
+ la as collect,
4109
4124
  to as createCatalog,
4110
4125
  Jo as createSchematicRegistry,
4111
- Ea as createUiEditorController,
4126
+ ba as createUiEditorController,
4112
4127
  On as cssToToken,
4113
- ta as dataMapping,
4114
- ea as dataSource,
4128
+ oa as dataMapping,
4129
+ na as dataSource,
4115
4130
  hn as decodeKeyText,
4116
- Fe as decodeToMultiLang,
4117
- ha as describeScreen,
4131
+ Ge as decodeToMultiLang,
4132
+ Ea as describeScreen,
4118
4133
  qo as displayCaptionOf,
4119
- Aa as dropMessage,
4134
+ _a as dropMessage,
4120
4135
  Cn as emptyCoverageReport,
4121
- Yo as emptyRoot,
4122
- ka as errorMessage,
4123
- da as extendCatalog,
4136
+ Wo as emptyRoot,
4137
+ Aa as errorMessage,
4138
+ fa as extendCatalog,
4124
4139
  ee as findPartById,
4125
4140
  At as flattenSubtree,
4126
4141
  An as fromPersisted,
4127
- la as fromPersistedV2,
4142
+ ca as fromPersistedV2,
4128
4143
  Vr as highlightMessage,
4129
4144
  St as int,
4130
4145
  Ze as isMultiLangMessage,
4131
4146
  Je as isPartType,
4132
- Kr as isPreviewInbound,
4133
- Ma as isPreviewOutbound,
4134
- fa as isStrictSubset,
4135
- ma as issueCategoryLabel,
4136
- ba as issueParentRef,
4137
- sa as migrateV1ToV2,
4147
+ qr as isPreviewInbound,
4148
+ Pa as isPreviewOutbound,
4149
+ Ta as isStrictSubset,
4150
+ Sa as issueCategoryLabel,
4151
+ va as issueParentRef,
4152
+ ua as migrateV1ToV2,
4138
4153
  Do as movePart,
4139
4154
  Ie as newPartId,
4140
- Ue as parentOf,
4155
+ He as parentOf,
4141
4156
  mn as parseGridSort,
4142
- ia as parseGridSortList,
4157
+ sa as parseGridSortList,
4143
4158
  En as parseValidatorString,
4144
4159
  Ut as pathOf,
4145
4160
  Ot as pathTo,
4146
- Ca as readyMessage,
4161
+ ka as readyMessage,
4147
4162
  Fo as removePart,
4148
- Wr as renderMessage,
4149
- Ia as resizeMessage,
4150
- Ke as resolveHandle,
4151
- ga as resolveOps,
4163
+ Yr as renderMessage,
4164
+ xa as resizeMessage,
4165
+ qe as resolveHandle,
4166
+ ha as resolveOps,
4152
4167
  Zo as resolveRenderer,
4153
- Wt as revContainersOf,
4168
+ Yt as revContainersOf,
4154
4169
  Kt as schematicProps,
4155
- xa as selectMessage,
4170
+ Ma as selectMessage,
4156
4171
  J as str,
4157
4172
  vt as text,
4158
4173
  co as toAgentCatalog,
@@ -4163,6 +4178,6 @@ export {
4163
4178
  yn as uiKeyTextToMultiLang,
4164
4179
  No as updatePart,
4165
4180
  Tn as validatePartModel,
4166
- na as validator,
4181
+ ra as validator,
4167
4182
  re as walk
4168
4183
  };