epic-designer-gold 0.0.25 → 0.0.27

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 (35) hide show
  1. package/dist/{attributeView-BBrzwmf4.cjs → attributeView-DT3Pgu2H.cjs} +1 -1
  2. package/dist/{attributeView-Ck-ShAfN.js → attributeView-VgLT3_0E.js} +1 -1
  3. package/dist/core/components/designer/src/modules/outline/outline.vue.d.ts +2 -0
  4. package/dist/{index-Cewvn9wU.js → index-8jV4lvPb.js} +55 -50
  5. package/dist/index-B0S7YNtd.js +432 -0
  6. package/dist/{index-DxHwIIzt.cjs → index-B9zp9FUu.cjs} +1 -1
  7. package/dist/{index-4q36b3GY.cjs → index-BAbG8xrg.cjs} +1 -1
  8. package/dist/{index-CRL8hmqv.js → index-BWCIdFn_.js} +1 -1
  9. package/dist/index-BcTELKKi.cjs +1 -0
  10. package/dist/{index-B3vfighS.cjs → index-BfoDWeC1.cjs} +1 -1
  11. package/dist/{index-nkzQQCaI.js → index-C2Nctb3q.js} +1 -1
  12. package/dist/{index-guZtdVEN.js → index-CJaP0qUg.js} +1 -1
  13. package/dist/{index-Dxl77FFb.js → index-CQ_Xpn1C.js} +1 -1
  14. package/dist/{index-By8RSEAs.js → index-Cn2i-Eyz.js} +1 -1
  15. package/dist/{index-CtryGVPT.cjs → index-D-mV-SAk.cjs} +1 -1
  16. package/dist/{index-CrBsc5Nz.cjs → index-DKe3uW6g.cjs} +1 -1
  17. package/dist/{index-Bhg6gVv4.cjs → index-DkVKzqSQ.cjs} +1 -1
  18. package/dist/{index-DzoVPXjq.js → index-DqWY4lfL.js} +4 -4
  19. package/dist/index-R7VF52gK.cjs +10 -0
  20. package/dist/{index-CAF_naew.cjs → index-Rhk7Lv_h.cjs} +1 -1
  21. package/dist/index-fwa-_XEi.js +4 -0
  22. package/dist/index.cjs +1 -1
  23. package/dist/index.js +1 -1
  24. package/dist/outline-CJSEUbgc.cjs +1 -0
  25. package/dist/outline-yy4pIEi3.js +54 -0
  26. package/dist/style.css +1 -1
  27. package/dist/{styleView-CBGRKJTF.cjs → styleView-B66KWbOm.cjs} +1 -1
  28. package/dist/{styleView-D-po6qQi.js → styleView-Cjdr_xer.js} +1 -1
  29. package/dist/tree.vue_vue_type_script_setup_true_lang-RWTXU6lO.cjs +1 -0
  30. package/dist/tree.vue_vue_type_script_setup_true_lang-uR4G8wa_.js +242 -0
  31. package/package.json +1 -1
  32. package/dist/index-8CeSyRAe.js +0 -4
  33. package/dist/index-B08C8MBy.cjs +0 -10
  34. package/dist/index-CbEEZFLc.js +0 -665
  35. package/dist/index-DSLPA7t_.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-B08C8MBy.cjs"),v=require("./axios-CYGTE3lR.cjs"),k=["title"],g=e.defineComponent({__name:"attributeView",setup(b){const s=e.inject("designer"),d=e.inject("pageSchema"),p=e.inject("revoke"),f=v.pluginManager.getComponentConfings(),c=e.computed(()=>s.state.checkedNode);function h(n){var a;return typeof n.show=="boolean"?n.show:typeof n.show=="function"?(a=n.show)==null?void 0:a.call(n,{values:c.value}):!0}const u=e.ref([]);e.watchEffect(()=>{var o,t,r;const n=(o=s.state.checkedNode)==null?void 0:o.type;if(!s.state.checkedNode||!n)return[];const a=((t=f[n])==null?void 0:t.config.attribute)??[];u.value=[{label:"组件ID",type:"input",field:"id",componentProps:{disabled:!0}},...a],s.state.checkedNode.id===((r=d.schemas[0])==null?void 0:r.id)&&u.value.push({label:"画布宽度",type:"EInputSize",field:"canvas.width",editData:d},{label:"画布高度",type:"EInputSize",field:"canvas.height",editData:d})});function y(n,a,o,t=c.value){typeof o.onChange=="function"&&o.onChange({value:n,values:t,componentAttributes:u}),o.changeSync?l.setValueByPath(t,a,n):e.nextTick(()=>{l.setValueByPath(t,a,n)}),p.push(d.schemas,"编辑组件属性")}function m(n,a,o=c.value){e.nextTick(()=>{l.setValueByPath(o,"componentProps.dynamicId",n)})}return(n,a)=>{var o;return e.openBlock(),e.createElementBlock("div",{class:"epic-attribute-view",key:(o=c.value)==null?void 0:o.id},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,t=>{var r;return e.openBlock(),e.createElementBlock("div",{key:t.field},[h(t)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["epic-attr-item",t.layout])},[t.label?(e.openBlock(),e.createElementBlock("div",{key:0,class:"epic-attr-label",title:t.label},e.toDisplayString(t.label),9,k)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["epic-attr-input",{"block!":t.layout==="vertical"}])},[e.createVNode(e.unref(l._sfc_main),{componentSchema:{...t,componentProps:{...t.componentProps,...t.field==="componentProps.defaultValue"?(r=c.value)==null?void 0:r.componentProps:{},input:!1,field:void 0,hidden:!1},show:!0,noFormItem:!0},dynamicId:e.unref(l.getValueByPath)(t.editData??c.value,"componentProps.dynamicId"),"model-value":e.unref(l.getValueByPath)(t.editData??c.value,t.field),"onUpdate:modelValue":i=>y(i,t.field,t,t.editData),"onUpdate:dynamicId":i=>m(i)},null,8,["componentSchema","dynamicId","model-value","onUpdate:modelValue","onUpdate:dynamicId"])],2)],2)):e.createCommentVNode("",!0)])}),128))])}}});exports.default=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-R7VF52gK.cjs"),v=require("./axios-CYGTE3lR.cjs"),k=["title"],g=e.defineComponent({__name:"attributeView",setup(b){const s=e.inject("designer"),d=e.inject("pageSchema"),p=e.inject("revoke"),f=v.pluginManager.getComponentConfings(),c=e.computed(()=>s.state.checkedNode);function h(n){var a;return typeof n.show=="boolean"?n.show:typeof n.show=="function"?(a=n.show)==null?void 0:a.call(n,{values:c.value}):!0}const u=e.ref([]);e.watchEffect(()=>{var o,t,r;const n=(o=s.state.checkedNode)==null?void 0:o.type;if(!s.state.checkedNode||!n)return[];const a=((t=f[n])==null?void 0:t.config.attribute)??[];u.value=[{label:"组件ID",type:"input",field:"id",componentProps:{disabled:!0}},...a],s.state.checkedNode.id===((r=d.schemas[0])==null?void 0:r.id)&&u.value.push({label:"画布宽度",type:"EInputSize",field:"canvas.width",editData:d},{label:"画布高度",type:"EInputSize",field:"canvas.height",editData:d})});function y(n,a,o,t=c.value){typeof o.onChange=="function"&&o.onChange({value:n,values:t,componentAttributes:u}),o.changeSync?l.setValueByPath(t,a,n):e.nextTick(()=>{l.setValueByPath(t,a,n)}),p.push(d.schemas,"编辑组件属性")}function m(n,a,o=c.value){e.nextTick(()=>{l.setValueByPath(o,"componentProps.dynamicId",n)})}return(n,a)=>{var o;return e.openBlock(),e.createElementBlock("div",{class:"epic-attribute-view",key:(o=c.value)==null?void 0:o.id},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,t=>{var r;return e.openBlock(),e.createElementBlock("div",{key:t.field},[h(t)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["epic-attr-item",t.layout])},[t.label?(e.openBlock(),e.createElementBlock("div",{key:0,class:"epic-attr-label",title:t.label},e.toDisplayString(t.label),9,k)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["epic-attr-input",{"block!":t.layout==="vertical"}])},[e.createVNode(e.unref(l._sfc_main),{componentSchema:{...t,componentProps:{...t.componentProps,...t.field==="componentProps.defaultValue"?(r=c.value)==null?void 0:r.componentProps:{},input:!1,field:void 0,hidden:!1},show:!0,noFormItem:!0},dynamicId:e.unref(l.getValueByPath)(t.editData??c.value,"componentProps.dynamicId"),"model-value":e.unref(l.getValueByPath)(t.editData??c.value,t.field),"onUpdate:modelValue":i=>y(i,t.field,t,t.editData),"onUpdate:dynamicId":i=>m(i)},null,8,["componentSchema","dynamicId","model-value","onUpdate:modelValue","onUpdate:dynamicId"])],2)],2)):e.createCommentVNode("",!0)])}),128))])}}});exports.default=g;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as S, inject as i, computed as V, ref as P, watchEffect as C, openBlock as l, createElementBlock as s, Fragment as N, renderList as D, normalizeClass as m, toDisplayString as E, createCommentVNode as y, createElementVNode as U, createVNode as B, unref as f, nextTick as v } from "vue";
2
- import { _ as x, o as g, s as h } from "./index-Cewvn9wU.js";
2
+ import { _ as x, o as g, s as h } from "./index-8jV4lvPb.js";
3
3
  import { p as z } from "./axios-ITY6Uw7A.js";
4
4
  const F = ["title"], M = /* @__PURE__ */ S({
5
5
  __name: "attributeView",
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -1,5 +1,5 @@
1
- import { ref as D, reactive as Z, defineComponent as G, openBlock as F, createBlock as L, unref as _, mergeProps as fe, withCtx as P, renderSlot as R, getCurrentInstance as te, inject as H, watch as V, useAttrs as _e, provide as $, shallowRef as Pe, computed as U, watchEffect as ae, onUnmounted as be, resolveComponent as Ve, resolveDynamicComponent as Me, createVNode as T, createCommentVNode as Se, useSlots as Oe, createElementBlock as pe, Suspense as De, createElementVNode as J, Fragment as Fe, renderList as Re, nextTick as Y, effectScope as $e, isRef as Ne, getCurrentScope as Be, onScopeDispose as Ue, onMounted as me, normalizeClass as Te, toRaw as ge } from "vue";
2
- import { p as O, a as we, l as q, E as ce } from "./axios-ITY6Uw7A.js";
1
+ import { ref as D, reactive as Z, defineComponent as G, openBlock as M, createBlock as L, unref as _, mergeProps as fe, withCtx as P, renderSlot as R, getCurrentInstance as te, inject as H, watch as V, useAttrs as _e, provide as $, shallowRef as Pe, computed as U, watchEffect as ae, onUnmounted as be, resolveComponent as Ve, resolveDynamicComponent as Oe, createVNode as T, createCommentVNode as Se, useSlots as Fe, createElementBlock as pe, Suspense as De, createElementVNode as J, Fragment as Me, renderList as Re, nextTick as Y, effectScope as $e, isRef as Ne, getCurrentScope as Be, onScopeDispose as Ue, onMounted as me, normalizeClass as Te, toRaw as ge } from "vue";
2
+ import { p as F, a as we, l as q, E as ce } from "./axios-ITY6Uw7A.js";
3
3
  function re(e = 10) {
4
4
  const a = "abcdefghijklmnopqrstuvwxyz0123456789";
5
5
  let n = "";
@@ -33,7 +33,7 @@ function Vt(e) {
33
33
  ...n,
34
34
  id: `${n.type}_${re(8)}`
35
35
  };
36
- return (o.field || o.input) && !((r = (t = O.getComponentConfingByType(o.type)) == null ? void 0 : t.editConstraints) != null && r.fixedField) && (o.field = o.id), o;
36
+ return (o.field || o.input) && !((r = (t = F.getComponentConfingByType(o.type)) == null ? void 0 : t.editConstraints) != null && r.fixedField) && (o.field = o.id), o;
37
37
  });
38
38
  return a;
39
39
  }
@@ -78,7 +78,7 @@ function Je(e, a) {
78
78
  }
79
79
  return e.forEach(t), o || console.error(`没有查询到id为${a}的节点`), n;
80
80
  }
81
- function Mt(e, a, n) {
81
+ function Ot(e, a, n) {
82
82
  const o = a.split(".");
83
83
  let t = e;
84
84
  for (let r = 0; r < o.length; r++) {
@@ -88,7 +88,7 @@ function Mt(e, a, n) {
88
88
  }
89
89
  return t === void 0 ? n : t;
90
90
  }
91
- function Ot(e, a, n) {
91
+ function Ft(e, a, n) {
92
92
  const o = a.replace(/\[(\d+)\]/g, ".$1").split(".").filter(Boolean);
93
93
  let t = e;
94
94
  for (let r = 0; r < o.length - 1; r++) {
@@ -97,7 +97,7 @@ function Ot(e, a, n) {
97
97
  }
98
98
  return t[o[o.length - 1]] = n, e;
99
99
  }
100
- function Ft(e, a = "default") {
100
+ function Mt(e, a = "default") {
101
101
  return ze(e, a).map((o) => o.field);
102
102
  }
103
103
  function ze(e, a = "default") {
@@ -278,8 +278,8 @@ function Ee() {
278
278
  delete e.value[m];
279
279
  }
280
280
  function c(m, g = !1) {
281
- const v = Object.entries(O.publicMethods).reduce(
282
- (I, [M, B]) => (I[M] = B.handler, I),
281
+ const v = Object.entries(F.publicMethods).reduce(
282
+ (I, [O, B]) => (I[O] = B.handler, I),
283
283
  {}
284
284
  );
285
285
  try {
@@ -289,7 +289,7 @@ function Ee() {
289
289
  find: r,
290
290
  defineExpose: w,
291
291
  publicMethods: v,
292
- pluginManager: O
292
+ pluginManager: F
293
293
  })();
294
294
  } catch (I) {
295
295
  g && console.error("[epic:自定义函数]异常:", I);
@@ -324,7 +324,7 @@ function Ee() {
324
324
  function s(m, g) {
325
325
  var v;
326
326
  try {
327
- (v = O.publicMethods[m.methodName]) == null || v.handler(...g);
327
+ (v = F.publicMethods[m.methodName]) == null || v.handler(...g);
328
328
  } catch (I) {
329
329
  console.error(`[Epic:公共函数(${m.methodName})]执行异常:`, I);
330
330
  }
@@ -333,8 +333,8 @@ function Ee() {
333
333
  var v, I;
334
334
  try {
335
335
  (I = (v = a.value)[m.methodName]) == null || I.call(v, ...g);
336
- } catch (M) {
337
- console.error(`[Epic:自定义函数(${m.methodName})]执行异常:`, M);
336
+ } catch (O) {
337
+ console.error(`[Epic:自定义函数(${m.methodName})]执行异常:`, O);
338
338
  }
339
339
  }
340
340
  function d(m, g) {
@@ -432,10 +432,10 @@ const Ke = /* @__PURE__ */ G({
432
432
  },
433
433
  emits: ["updateFormItemRef"],
434
434
  setup(e, { emit: a }) {
435
- const n = O.getComponent("form-item"), o = e, t = a, r = D(), l = () => {
435
+ const n = F.getComponent("form-item"), o = e, t = a, r = D(), l = () => {
436
436
  t("updateFormItemRef", r.value);
437
437
  };
438
- return (i, c) => o.hasFormItem ? (F(), L(_(n), fe({
438
+ return (i, c) => o.hasFormItem ? (M(), L(_(n), fe({
439
439
  key: 0,
440
440
  ref_key: "formItemRef",
441
441
  ref: r,
@@ -495,11 +495,11 @@ const Ke = /* @__PURE__ */ G({
495
495
  function d(p, E, k) {
496
496
  return p && Object.prototype.toString.call(p) === "[object Array]" ? p.map((S) => S.children && S.children.length ? {
497
497
  label: S[E],
498
- value: S[k],
498
+ value: S[k] + "",
499
499
  children: d(S.children, E, k)
500
500
  } : {
501
501
  label: S[E],
502
- value: S[k]
502
+ value: S[k] + ""
503
503
  }) : [];
504
504
  }
505
505
  V(
@@ -522,7 +522,7 @@ const Ke = /* @__PURE__ */ G({
522
522
  const v = Pe(null), I = U(() => {
523
523
  var p, E;
524
524
  return (p = s.componentProps) != null && p.hidden ? !1 : typeof s.show == "boolean" ? s.show : ((E = s.show) == null ? void 0 : E.call(s, { values: r })) ?? !0;
525
- }), M = U(() => {
525
+ }), O = U(() => {
526
526
  var S;
527
527
  const p = I.value && ((S = s.rules) == null ? void 0 : S.map((C) => ({
528
528
  ...C,
@@ -550,7 +550,7 @@ const Ke = /* @__PURE__ */ G({
550
550
  bindModel: p,
551
551
  ...E
552
552
  };
553
- }), W = U(() => O.getComponentConfingByType(s.type) ?? null);
553
+ }), W = U(() => F.getComponentConfingByType(s.type) ?? null);
554
554
  ae(() => {
555
555
  t.value = o.modelValue ?? r[s.field ?? ""];
556
556
  }), V(
@@ -593,7 +593,7 @@ const Ke = /* @__PURE__ */ G({
593
593
  });
594
594
  return;
595
595
  }
596
- const p = O.getComponent(s.type);
596
+ const p = F.getComponent(s.type);
597
597
  if (!p) {
598
598
  console.error(`组件${s.type}未注册`);
599
599
  return;
@@ -633,14 +633,14 @@ const Ke = /* @__PURE__ */ G({
633
633
  ), be(ie), (p, E) => {
634
634
  var S;
635
635
  const k = Ve("ENode");
636
- return v.value && I.value ? (F(), L(Ke, {
636
+ return v.value && I.value ? (M(), L(Ke, {
637
637
  key: 0,
638
638
  hasFormItem: _(s).noFormItem !== !0 && ((S = W.value) == null ? void 0 : S.defaultSchema.input),
639
- formItemProps: M.value,
639
+ formItemProps: O.value,
640
640
  onUpdateFormItemRef: m
641
641
  }, {
642
642
  default: P(() => [
643
- (F(), L(Me(v.value), fe({
643
+ (M(), L(Oe(v.value), fe({
644
644
  ref_key: "componentInstance",
645
645
  ref: A,
646
646
  onVnodeMounted: ne,
@@ -777,7 +777,7 @@ const Ge = {
777
777
  {
778
778
  immediate: !0
779
779
  }
780
- ), $("slots", Oe()), $("pageManager", l), $("forms", i), $("pageSchema", A), $(
780
+ ), $("slots", Fe()), $("pageManager", l), $("forms", i), $("pageSchema", A), $(
781
781
  "disabled",
782
782
  U(() => u.disabled)
783
783
  );
@@ -797,16 +797,16 @@ const Ge = {
797
797
  setForms: y,
798
798
  validateAll: d,
799
799
  getFormInstance: f
800
- }), (v, I) => _(O).initialized.value ? (F(), L(De, {
800
+ }), (v, I) => _(F).initialized.value ? (M(), L(De, {
801
801
  key: 1,
802
802
  onResolve: g
803
803
  }, {
804
804
  default: P(() => [
805
805
  J("div", Qe, [
806
- (F(!0), pe(Fe, null, Re(A.schemas, (M, B) => (F(), L(_(qe), {
806
+ (M(!0), pe(Me, null, Re(A.schemas, (O, B) => (M(), L(_(qe), {
807
807
  key: B,
808
808
  sourceDateUrl: u.sourceDateUrl,
809
- componentSchema: M
809
+ componentSchema: O
810
810
  }, null, 8, ["sourceDateUrl", "componentSchema"]))), 128))
811
811
  ])
812
812
  ]),
@@ -816,7 +816,7 @@ const Ge = {
816
816
  ])
817
817
  ]),
818
818
  _: 1
819
- })) : (F(), pe("div", Ge));
819
+ })) : (M(), pe("div", Ge));
820
820
  }
821
821
  });
822
822
  function he(e) {
@@ -1012,13 +1012,13 @@ function Lt(e, a, n, o = {}) {
1012
1012
  let I = !1;
1013
1013
  return V(
1014
1014
  () => e[a],
1015
- (M) => {
1016
- I || (I = !0, v.value = A(M), Y(() => I = !1));
1015
+ (O) => {
1016
+ I || (I = !0, v.value = A(O), Y(() => I = !1));
1017
1017
  }
1018
1018
  ), V(
1019
1019
  v,
1020
- (M) => {
1021
- !I && (M !== e[a] || h) && m(M);
1020
+ (O) => {
1021
+ !I && (O !== e[a] || h) && m(O);
1022
1022
  },
1023
1023
  { deep: h }
1024
1024
  ), v;
@@ -1150,7 +1150,7 @@ function Ht(e, a = 16.66) {
1150
1150
  const wt = { class: "min-w-750px rounded" }, bt = { class: "h-full rounded" }, St = /* @__PURE__ */ G({
1151
1151
  __name: "index",
1152
1152
  setup(e, { expose: a }) {
1153
- const n = O.getComponent("monacoEditor"), o = O.getComponent("modal"), t = D(null), r = D(!1), l = D(!1), i = D({}), c = H("pageSchema"), w = D(null), h = D("");
1153
+ const n = F.getComponent("monacoEditor"), o = F.getComponent("modal"), t = D(null), r = D(!1), l = D(!1), i = D({}), c = H("pageSchema"), w = D(null), h = D("");
1154
1154
  function s() {
1155
1155
  l.value = !1;
1156
1156
  }
@@ -1177,7 +1177,7 @@ const wt = { class: "min-w-750px rounded" }, bt = { class: "h-full rounded" }, S
1177
1177
  }
1178
1178
  return a({
1179
1179
  handleOpen: d
1180
- }), (u, A) => (F(), L(_(o), {
1180
+ }), (u, A) => (M(), L(_(o), {
1181
1181
  modelValue: r.value,
1182
1182
  "onUpdate:modelValue": A[1] || (A[1] = (x) => r.value = x),
1183
1183
  title: "预览",
@@ -1189,7 +1189,7 @@ const wt = { class: "min-w-750px rounded" }, bt = { class: "h-full rounded" }, S
1189
1189
  }, {
1190
1190
  default: P(() => [
1191
1191
  J("div", wt, [
1192
- (F(), L(_(Xe), {
1192
+ (M(), L(_(Xe), {
1193
1193
  key: h.value,
1194
1194
  ref_key: "kb",
1195
1195
  ref: w,
@@ -1249,7 +1249,7 @@ const wt = { class: "min-w-750px rounded" }, bt = { class: "h-full rounded" }, S
1249
1249
  "updateSourceData"
1250
1250
  ],
1251
1251
  setup(e, { expose: a, emit: n }) {
1252
- const o = q(() => import("./index-C-XUgjda.js")), t = q(() => import("./index-ASoFJnMl.js")), r = q(() => import("./index-guZtdVEN.js")), l = q(() => import("./index-ooVzYa5L.js")), i = q(() => import("./index-DgcFxYFp.js")), c = Ee(), w = He(), h = e;
1252
+ const o = q(() => import("./index-C-XUgjda.js")), t = q(() => import("./index-ASoFJnMl.js")), r = q(() => import("./index-CJaP0qUg.js")), l = q(() => import("./index-ooVzYa5L.js")), i = q(() => import("./index-DgcFxYFp.js")), c = Ee(), w = He(), h = e;
1253
1253
  let s = {
1254
1254
  schemas: [
1255
1255
  {
@@ -1301,7 +1301,7 @@ defineExpose({
1301
1301
  s = h.defaultSchema;
1302
1302
  return;
1303
1303
  }
1304
- h.source && O.setSourceData(h.source), h.formMode && (s.schemas = O.formSchemas);
1304
+ h.source && F.setSourceData(h.source), h.formMode && (s.schemas = F.formSchemas);
1305
1305
  }), c.setDesignMode(), c.setDefaultComponentIds(s.schemas);
1306
1306
  const y = n, d = D(null), f = Z({
1307
1307
  checkedNode: null,
@@ -1356,7 +1356,7 @@ defineExpose({
1356
1356
  async function I(b = !1) {
1357
1357
  f.disableHover = b;
1358
1358
  }
1359
- function M(b) {
1359
+ function O(b) {
1360
1360
  z(u, N(b));
1361
1361
  }
1362
1362
  function B() {
@@ -1376,11 +1376,11 @@ defineExpose({
1376
1376
  }
1377
1377
  return x(), a({
1378
1378
  revoke: w,
1379
- setData: M,
1379
+ setData: O,
1380
1380
  getData: B,
1381
1381
  reset: W,
1382
1382
  preview: oe
1383
- }), (b, X) => _(O).initialized.value ? (F(), L(De, {
1383
+ }), (b, X) => _(F).initialized.value ? (M(), L(De, {
1384
1384
  key: 1,
1385
1385
  onResolve: v
1386
1386
  }, {
@@ -1388,7 +1388,7 @@ defineExpose({
1388
1388
  J("div", At, [
1389
1389
  J("div", Et, [
1390
1390
  R(b.$slots, "header", {}, () => [
1391
- h.hiddenHeader ? Se("", !0) : (F(), L(_(o), {
1391
+ h.hiddenHeader ? Se("", !0) : (M(), L(_(o), {
1392
1392
  key: 0,
1393
1393
  onPreview: oe,
1394
1394
  onSave: ne
@@ -1434,10 +1434,10 @@ defineExpose({
1434
1434
  ])
1435
1435
  ]),
1436
1436
  _: 3
1437
- })) : (F(), pe("div", Dt));
1437
+ })) : (M(), pe("div", Dt));
1438
1438
  }
1439
1439
  }), Ct = {
1440
- component: async () => await import("./index-nkzQQCaI.js"),
1440
+ component: async () => await import("./index-C2Nctb3q.js"),
1441
1441
  defaultSchema: {
1442
1442
  label: "代码编辑器",
1443
1443
  type: "monacoEditor",
@@ -1487,24 +1487,29 @@ defineExpose({
1487
1487
  }
1488
1488
  };
1489
1489
  function xt(e) {
1490
- e.component("EInputSize", async () => await import("./index-C4sdhgF2.js")), e.component("EColEditor", async () => await import("./index-CRL8hmqv.js")), e.component("EActionEditor", async () => await import("./index-CbEEZFLc.js")), e.component("ERuleEditor", async () => await import("./index-By8RSEAs.js")), e.component("EOptionsEditor", async () => await import("./index-DzoVPXjq.js")), e.component("ENode", async () => await import("./index-8CeSyRAe.js")), e.component("EDataSource", async () => await import("./index-CCTMCqiz.js")), e.registerActivitybar({
1490
+ e.component("EInputSize", async () => await import("./index-C4sdhgF2.js")), e.component("EColEditor", async () => await import("./index-BWCIdFn_.js")), e.component("EActionEditor", async () => await import("./index-B0S7YNtd.js")), e.component("ERuleEditor", async () => await import("./index-Cn2i-Eyz.js")), e.component("EOptionsEditor", async () => await import("./index-DqWY4lfL.js")), e.component("ENode", async () => await import("./index-fwa-_XEi.js")), e.component("EDataSource", async () => await import("./index-CCTMCqiz.js")), e.registerActivitybar({
1491
1491
  id: "component_view",
1492
1492
  title: "组件",
1493
1493
  icon: "icon--epic--extension-outline",
1494
- component: async () => await import("./index-Dxl77FFb.js")
1494
+ component: async () => await import("./index-CQ_Xpn1C.js")
1495
+ }), e.registerActivitybar({
1496
+ id: "outline_view",
1497
+ title: "大纲",
1498
+ icon: "icon--epic--account-tree-outline-rounded",
1499
+ component: async () => await import("./outline-yy4pIEi3.js")
1495
1500
  }), e.registerRightSidebar({
1496
1501
  id: "attribute_view",
1497
1502
  title: "属性",
1498
- component: async () => await import("./attributeView-Ck-ShAfN.js")
1503
+ component: async () => await import("./attributeView-VgLT3_0E.js")
1499
1504
  }), e.registerRightSidebar({
1500
1505
  id: "style_view",
1501
1506
  title: "样式",
1502
- component: async () => await import("./styleView-D-po6qQi.js")
1507
+ component: async () => await import("./styleView-Cjdr_xer.js")
1503
1508
  }), [Ct, kt].forEach((n) => {
1504
1509
  e.registerComponent(n);
1505
1510
  });
1506
1511
  }
1507
- xt(O);
1512
+ xt(F);
1508
1513
  export {
1509
1514
  ze as A,
1510
1515
  ee as B,
@@ -1530,16 +1535,16 @@ export {
1530
1535
  Rt as l,
1531
1536
  N as m,
1532
1537
  Lt as n,
1533
- Mt as o,
1538
+ Ot as o,
1534
1539
  Jt as p,
1535
1540
  Xe as q,
1536
1541
  Kt as r,
1537
- Ot as s,
1542
+ Ft as s,
1538
1543
  Ee as t,
1539
1544
  le as u,
1540
1545
  He as v,
1541
1546
  Ut as w,
1542
1547
  Ae as x,
1543
1548
  Je as y,
1544
- Ft as z
1549
+ Mt as z
1545
1550
  };