@vtj/designer 0.8.145 → 0.8.147

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,23 +1,23 @@
1
- var Hn = Object.defineProperty;
2
- var qn = (u, e, t) => e in u ? Hn(u, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : u[e] = t;
3
- var $ = (u, e, t) => qn(u, typeof e != "symbol" ? e + "" : e, t);
4
- import { computed as S, unref as n, ref as k, reactive as Ke, watchEffect as Gn, watch as J, toValue as vt, defineComponent as E, openBlock as p, createElementBlock as j, toDisplayString as F, createVNode as v, withCtx as b, createElementVNode as V, createBlock as y, createCommentVNode as A, createTextVNode as K, readonly as Xn, getCurrentScope as Kn, onScopeDispose as Qn, onMounted as st, nextTick as ke, getCurrentInstance as nn, shallowRef as Ue, toRaw as ln, Fragment as O, renderList as L, normalizeClass as X, resolveDynamicComponent as sn, createSlots as Yn, withDirectives as De, vShow as Te, renderSlot as Ce, withModifiers as Je, isRef as gt, mergeProps as ie, normalizeStyle as et, defineAsyncComponent as Zn, h as Oe, inject as Ct, provide as el, normalizeProps as an, guardReactiveProps as on, withKeys as tt, onUnmounted as rn, markRaw as ft, createApp as un, shallowReactive as tl, triggerRef as je, KeepAlive as cn } from "vue";
5
- import { ElNotification as Vt, ElMessageBox as At, ElMessage as Qe, ElButton as ae, ElDivider as jt, ElRadioGroup as dn, ElRadioButton as nt, ElButtonGroup as nl, ElDropdown as pn, ElDropdownMenu as mn, ElDropdownItem as ht, ElInput as _e, ElEmpty as oe, ElAlert as Et, ElTooltip as vn, ElTag as ll, ElSwitch as gn, ElTree as Dt, ElRow as bt, ElCol as yt, ElCollapse as sl, ElCollapseItem as al, ElDrawer as fn, ElForm as fe, ElFormItem as hn, ElBreadcrumb as ol, ElBreadcrumbItem as rl, ElLoading as il, ElSelect as ul, ElOption as cl, ElInputNumber as dl, ElColorPicker as pl, ElUpload as ml, ElSlider as vl, ElConfigProvider as gl, ElContainer as Lt, ElHeader as fl, ElAside as Nt, ElMain as hl, ElFooter as bl } from "element-plus";
1
+ var qn = Object.defineProperty;
2
+ var Hn = (u, e, t) => e in u ? qn(u, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : u[e] = t;
3
+ var $ = (u, e, t) => Hn(u, typeof e != "symbol" ? e + "" : e, t);
4
+ import { computed as S, unref as n, ref as k, reactive as Ke, watchEffect as Gn, watch as J, toValue as vt, defineComponent as E, openBlock as p, createElementBlock as j, toDisplayString as F, createVNode as v, withCtx as b, createElementVNode as V, createBlock as y, createCommentVNode as A, createTextVNode as K, readonly as Xn, getCurrentScope as Kn, onScopeDispose as Qn, onMounted as st, nextTick as ke, getCurrentInstance as nn, shallowRef as Ue, toRaw as ln, Fragment as O, renderList as W, normalizeClass as X, resolveDynamicComponent as sn, createSlots as Yn, withDirectives as De, vShow as Te, renderSlot as Ce, withModifiers as Je, isRef as gt, mergeProps as ie, normalizeStyle as et, defineAsyncComponent as Zn, h as Oe, inject as Ct, provide as el, normalizeProps as an, guardReactiveProps as on, withKeys as tt, onUnmounted as rn, markRaw as ft, createApp as un, shallowReactive as tl, triggerRef as je, KeepAlive as cn } from "vue";
5
+ import { ElNotification as Vt, ElMessageBox as At, ElMessage as Qe, ElButton as ae, ElDivider as jt, ElRadioGroup as dn, ElRadioButton as nt, ElButtonGroup as nl, ElDropdown as pn, ElDropdownMenu as mn, ElDropdownItem as ht, ElInput as _e, ElEmpty as oe, ElAlert as Et, ElTooltip as vn, ElTag as ll, ElSwitch as gn, ElTree as Dt, ElRow as bt, ElCol as yt, ElCollapse as sl, ElCollapseItem as al, ElDrawer as fn, ElForm as fe, ElFormItem as hn, ElBreadcrumb as ol, ElBreadcrumbItem as rl, ElLoading as il, ElSelect as ul, ElOption as cl, ElInputNumber as dl, ElColorPicker as pl, ElUpload as ml, ElSlider as vl, ElConfigProvider as gl, ElContainer as Wt, ElHeader as fl, ElAside as Nt, ElMain as hl, ElFooter as bl } from "element-plus";
6
6
  import yl from "element-plus/es/locale/lang/zh-cn";
7
7
  import { XIcon as Se, XDialog as Be, XDialogForm as Ae, XField as T, XPanel as at, XAction as be, XTabs as Pt, XContainer as U, XForm as It, XAttachment as _l, XActionBar as wl, XInputUnit as bn, vResizable as Jt, createDialog as kl } from "@vtj/ui";
8
8
  import { delay as Tt, upperFirstCamelCase as yn, toRawType as dt, cloneDeep as ot, logger as Ve, isPlainObject as Sl, fileToBase64 as xl, merge as Bt, debounce as Cl, arrayToMap as Vl, toArray as Al } from "@vtj/utils";
9
- import { isBlock as te, DirectiveModel as _n, createNodeFrom as jl, BUILT_IN_VUE as El, BUILT_IN_VUE_ROUTER as Dl, BUILT_IN_NAME as _t, emitter as ne, EVENT_PROJECT_ACTIVED as wt, EVENT_NODE_CHANGE as He, NodeModel as Mt, EVENT_BLOCK_CHANGE as kt, Base as wn, BUILT_IN_LIBRARAY_MAP as Pl, ProjectModel as Il, EVENT_PROJECT_CHANGE as Tl, EVENT_PROJECT_BLOCKS_CHANGE as Bl, EVENT_PROJECT_PAGES_CHANGE as Rl, EVENT_PROJECT_DEPS_CHANGE as $l, EVENT_PROJECT_PUBLISH as Ol, EVENT_PROJECT_FILE_PUBLISH as zl, EVENT_HISTORY_CHANGE as Fl, EVENT_HISTORY_LOAD as Wl, BlockModel as Ut, HistoryModel as Ll } from "@vtj/core";
10
- import { parseExpression as qe, parseFunction as Nl, JSCodeToString as ze, LIFE_CYCLES_LIST as Jl, DATA_TYPES as Ml, isJSExpression as Ge, ContextMode as kn, parseDeps as Ul, createAssetsCss as Hl, createAssetScripts as Ht, getRawComponent as qt, createSchemaApis as ql, mockCleanup as Gl, mockApis as Xl, Provider as Kl, isJSFunction as Ql } from "@vtj/renderer";
11
- import { VtjIconBack as Yl, VtjIconPc as Zl, VtjIconPhone as es, VtjIconPad as ts, VtjIconUndo as ns, VtjIconRedo as ls, VtjIconPreview as ss, VtjIconRefresh as as, VtjIconSetting as Sn, icons as St, ArrowDown as xn, Search as Rt, CopyDocument as os, Back as rs, VtjIconPlus as Cn, EditPen as is, Delete as us, VtjIconSave as cs, ArrowUp as ds, MoreFilled as $t, VtjIconCheck as Vn, VtjIconCopy as An, VtjIconEdit as jn, VtjIconRemove as rt, VtjIconLock as En, VtjIconUnlock as ps, VtjIconInvisible as Dn, VtjIconVisible as ms, VtjIconHome as vs, Files as gs, VtjIconSearch as fs, VtjIconHelp as Pn, VtjIconLayers as In, Rank as hs, VtjIconArrowUp as bs, VtjIconArrowDown as ys, IconDisplayBlock as _s, IconDisplayFlex as ws, IconDisplayInlineBlock as ks, IconDisplayInline as Ss, IconEyeInvisible as xs, IconFlexDirectionrow as Cs, IconFlexDirectionrowReverse as Vs, IconFlexDirectioncolumn as As, IconFlexDirectioncolumnReverse as js, IconFlexJustifyflexStartrow as Es, IconFlexJustifyflexEndrow as Ds, IconFlexJustifycenterrow as Ps, IconFlexJustifyspaceBetweenrow as Is, IconFlexJustifyspaceAroundrow as Ts, IconFlexAlignflexStartrow as Bs, IconFlexAlignflexEndrow as Rs, IconFlexAligncenterrow as $s, IconFlexAlignbaselinerow as Os, IconFlexAlignstretchrow as zs, IconPositionTopLeft as Fs, IconPositionTopRight as Ws, IconPositionBottomLeft as Ls, IconPositionBottomRight as Ns, IconPositionLeft as Js, IconPositionRight as Ms, IconPositionTop as Us, IconPositionBottom as Hs, IconPositionAll as qs, IconTextAlignLeft as Gs, IconTextAlignCenter as Xs, IconTextAlignRight as Ks, IconTextAlignJustify as Qs, IconFontStyleNone as Ys, IconFontStyleItalic as Zs, IconCross as Tn, IconTextDecorationUnderline as ea, IconTextDecorationStrike as ta, IconTextDecorationOverline as na, IconTileXy as la, IconTileX as sa, IconTileY as aa, IconClose as oa, IconBorderAll as ra, IconBorderLeft as ia, IconBorderTop as ua, IconBorderBottom as ca, IconBorderRight as da, IconBorderStyleSolid as pa, IconBorderStyleDashed as ma, IconBorderStyleDotted as va, IconCursorAuto as ga, IconCursorPointer as fa, IconCursorNotAllowed as ha, IconCursorNone as ba, ArrowRight as ya, VtjIconDocument as _a, VtjIconComponents as wa, VtjIconBlock as ka, VtjIconOutline as Sa, VtjIconHistory as xa, VtjIconApi as Ca, VtjIconCategory as Va, VtjIconInfo as Aa, HomeFilled as ja, Plus as Ea, Close as Da, VtjIconVars as Pa, VtjIconSwitch as Ia, Switch as Ta } from "@vtj/icons";
9
+ import { isBlock as te, DirectiveModel as _n, createNodeFrom as jl, BUILT_IN_VUE as El, BUILT_IN_VUE_ROUTER as Dl, BUILT_IN_NAME as _t, emitter as ne, EVENT_PROJECT_ACTIVED as wt, EVENT_NODE_CHANGE as qe, NodeModel as Mt, EVENT_BLOCK_CHANGE as kt, Base as wn, BUILT_IN_LIBRARAY_MAP as Pl, ProjectModel as Il, EVENT_PROJECT_CHANGE as Tl, EVENT_PROJECT_BLOCKS_CHANGE as Bl, EVENT_PROJECT_PAGES_CHANGE as Rl, EVENT_PROJECT_DEPS_CHANGE as $l, EVENT_PROJECT_PUBLISH as Ol, EVENT_PROJECT_FILE_PUBLISH as zl, EVENT_HISTORY_CHANGE as Fl, EVENT_HISTORY_LOAD as Ll, BlockModel as Ut, HistoryModel as Wl } from "@vtj/core";
10
+ import { parseExpression as He, parseFunction as Nl, JSCodeToString as ze, LIFE_CYCLES_LIST as Jl, DATA_TYPES as Ml, isJSExpression as Ge, ContextMode as kn, parseDeps as Ul, createAssetsCss as ql, createAssetScripts as qt, getRawComponent as Ht, createSchemaApis as Hl, mockCleanup as Gl, mockApis as Xl, Provider as Kl, isJSFunction as Ql } from "@vtj/renderer";
11
+ import { VtjIconBack as Yl, VtjIconPc as Zl, VtjIconPhone as es, VtjIconPad as ts, VtjIconUndo as ns, VtjIconRedo as ls, VtjIconPreview as ss, VtjIconRefresh as as, VtjIconSetting as Sn, icons as St, ArrowDown as xn, Search as Rt, CopyDocument as os, Back as rs, VtjIconPlus as Cn, EditPen as is, Delete as us, VtjIconSave as cs, ArrowUp as ds, MoreFilled as $t, VtjIconCheck as Vn, VtjIconCopy as An, VtjIconEdit as jn, VtjIconRemove as rt, VtjIconLock as En, VtjIconUnlock as ps, VtjIconInvisible as Dn, VtjIconVisible as ms, VtjIconHome as vs, Files as gs, VtjIconSearch as fs, VtjIconHelp as Pn, VtjIconLayers as In, Rank as hs, VtjIconArrowUp as bs, VtjIconArrowDown as ys, IconDisplayBlock as _s, IconDisplayFlex as ws, IconDisplayInlineBlock as ks, IconDisplayInline as Ss, IconEyeInvisible as xs, IconFlexDirectionrow as Cs, IconFlexDirectionrowReverse as Vs, IconFlexDirectioncolumn as As, IconFlexDirectioncolumnReverse as js, IconFlexJustifyflexStartrow as Es, IconFlexJustifyflexEndrow as Ds, IconFlexJustifycenterrow as Ps, IconFlexJustifyspaceBetweenrow as Is, IconFlexJustifyspaceAroundrow as Ts, IconFlexAlignflexStartrow as Bs, IconFlexAlignflexEndrow as Rs, IconFlexAligncenterrow as $s, IconFlexAlignbaselinerow as Os, IconFlexAlignstretchrow as zs, IconPositionTopLeft as Fs, IconPositionTopRight as Ls, IconPositionBottomLeft as Ws, IconPositionBottomRight as Ns, IconPositionLeft as Js, IconPositionRight as Ms, IconPositionTop as Us, IconPositionBottom as qs, IconPositionAll as Hs, IconTextAlignLeft as Gs, IconTextAlignCenter as Xs, IconTextAlignRight as Ks, IconTextAlignJustify as Qs, IconFontStyleNone as Ys, IconFontStyleItalic as Zs, IconCross as Tn, IconTextDecorationUnderline as ea, IconTextDecorationStrike as ta, IconTextDecorationOverline as na, IconTileXy as la, IconTileX as sa, IconTileY as aa, IconClose as oa, IconBorderAll as ra, IconBorderLeft as ia, IconBorderTop as ua, IconBorderBottom as ca, IconBorderRight as da, IconBorderStyleSolid as pa, IconBorderStyleDashed as ma, IconBorderStyleDotted as va, IconCursorAuto as ga, IconCursorPointer as fa, IconCursorNotAllowed as ha, IconCursorNone as ba, ArrowRight as ya, VtjIconDocument as _a, VtjIconComponents as wa, VtjIconBlock as ka, VtjIconOutline as Sa, VtjIconHistory as xa, VtjIconApi as Ca, VtjIconCategory as Va, VtjIconInfo as Aa, HomeFilled as ja, Plus as Ea, Close as Da, VtjIconVars as Pa, VtjIconSwitch as Ia, Switch as Ta } from "@vtj/icons";
12
12
  import Ba from "mockjs";
13
13
  /**!
14
14
  * Copyright (c) 2024, VTJ.PRO All rights reserved.
15
15
  * @name @vtj/designer
16
16
  * @author CHC chenhuachun1549@dingtalk.com
17
- * @version 0.8.145
17
+ * @version 0.8.147
18
18
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
19
19
  */
20
- const Ra = "0.8.145", Gt = {
20
+ const Ra = "0.8.147", Gt = {
21
21
  width: 390,
22
22
  height: 844
23
23
  }, Xt = {
@@ -46,7 +46,7 @@ const Ra = "0.8.145", Gt = {
46
46
  "self",
47
47
  "once",
48
48
  "passive"
49
- ], Kt = "__vue-devtools-frame-state__", Wa = "@id/virtual:vue-devtools-path:overlay.js", La = "@id/virtual:vue-devtools-path:overlay/devtools-overlay.mjs";
49
+ ], Kt = "__vue-devtools-frame-state__", La = "@id/virtual:vue-devtools-path:overlay.js", Wa = "@id/virtual:vue-devtools-path:overlay/devtools-overlay.mjs";
50
50
  var he = /* @__PURE__ */ ((u) => (u.Block = "block", u.Node = "node", u))(he || {}), Na = /* @__PURE__ */ ((u) => (u.Brand = "Brand", u.Toolbar = "Toolbar", u.Actions = "Actions", u.Apps = "Apps", u.Workspace = "Workspace", u.Settings = "Settings", u.Status = "Status", u.Preview = "Preview", u))(Na || {});
51
51
  function Bn() {
52
52
  const u = de(), e = S(() => u.project.value?.dependencies ?? []), t = S(() => u.project.value?.apis ?? []), l = S(() => u.project.value?.meta ?? []);
@@ -134,7 +134,7 @@ function ue() {
134
134
  context: t
135
135
  };
136
136
  }
137
- function Ha(u, e, t, l, s) {
137
+ function qa(u, e, t, l, s) {
138
138
  const a = de();
139
139
  a.simulator.init(u, e, t, l, s);
140
140
  const o = S(() => a.simulator.designer.value), r = S(
@@ -153,7 +153,7 @@ function Ha(u, e, t, l, s) {
153
153
  selected: g
154
154
  };
155
155
  }
156
- function qa(u, e = !0) {
156
+ function Ha(u, e = !0) {
157
157
  const { top: t, height: l, width: s, left: a } = u || {};
158
158
  if (l > 100 && s > 200)
159
159
  return "inner";
@@ -190,7 +190,7 @@ function pt(u, e) {
190
190
  return {
191
191
  ...e,
192
192
  style: o,
193
- position: qa(e.rect, u !== "selected")
193
+ position: Ha(e.rect, u !== "selected")
194
194
  };
195
195
  }
196
196
  function xe() {
@@ -359,7 +359,7 @@ function re(u, e, t = !1) {
359
359
  let l = !0;
360
360
  const s = Qa(e);
361
361
  try {
362
- u.type === "JSExpression" ? qe(u, s, t, !0) : Nl(u, s, t, !0);
362
+ u.type === "JSExpression" ? He(u, s, t, !0) : Nl(u, s, t, !0);
363
363
  } catch (a) {
364
364
  l = !1, Vt.error({
365
365
  title: "代码错误",
@@ -760,7 +760,7 @@ const so = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
760
760
  function Ot(u) {
761
761
  return Kn() ? (Qn(u), !0) : !1;
762
762
  }
763
- function We(u) {
763
+ function Le(u) {
764
764
  return typeof u == "function" ? u() : n(u);
765
765
  }
766
766
  const it = typeof window < "u" && typeof document < "u";
@@ -801,7 +801,7 @@ function Co(u, e, t = {}) {
801
801
  function i(...g) {
802
802
  o(), s.value = !0, a = setTimeout(() => {
803
803
  s.value = !1, a = null, u(...g);
804
- }, We(e));
804
+ }, Le(e));
805
805
  }
806
806
  return l && (s.value = !0, it && i()), Ot(r), {
807
807
  isPending: Xn(s),
@@ -812,7 +812,7 @@ function Co(u, e, t = {}) {
812
812
  const ut = it ? window : void 0, On = it ? window.navigator : void 0;
813
813
  function ye(u) {
814
814
  var e;
815
- const t = We(u);
815
+ const t = Le(u);
816
816
  return (e = t?.$el) != null ? e : t;
817
817
  }
818
818
  function Me(...u) {
@@ -823,7 +823,7 @@ function Me(...u) {
823
823
  const a = [], o = () => {
824
824
  a.forEach((d) => d()), a.length = 0;
825
825
  }, r = (d, m, f, h) => (d.addEventListener(m, f, h), () => d.removeEventListener(m, f, h)), i = J(
826
- () => [ye(e), We(s)],
826
+ () => [ye(e), Le(s)],
827
827
  ([d, m]) => {
828
828
  if (o(), !d)
829
829
  return;
@@ -845,7 +845,7 @@ function Vo(u, e, t = {}) {
845
845
  return lt;
846
846
  _o && !Yt && (Yt = !0, Array.from(l.document.body.children).forEach((h) => h.addEventListener("click", lt)), l.document.documentElement.addEventListener("click", lt));
847
847
  let r = !0;
848
- const i = (h) => We(s).some((c) => {
848
+ const i = (h) => Le(s).some((c) => {
849
849
  if (typeof c == "string")
850
850
  return Array.from(l.document.querySelectorAll(c)).some((_) => _ === h.target || h.composedPath().includes(_));
851
851
  {
@@ -936,7 +936,7 @@ function zn(u = {}) {
936
936
  }) : d.value = w();
937
937
  }
938
938
  g.value && t && Me(["copy", "cut"], h);
939
- async function c(C = We(l)) {
939
+ async function c(C = Le(l)) {
940
940
  g.value && C != null && (o.value && x(i.value) ? await e.clipboard.writeText(C) : _(C), d.value = C, m.value = !0, f.start());
941
941
  }
942
942
  function _(C) {
@@ -963,7 +963,7 @@ function jo(u, e, t = {}) {
963
963
  const o = zt(() => l && "ResizeObserver" in l), r = () => {
964
964
  a && (a.disconnect(), a = void 0);
965
965
  }, i = S(() => {
966
- const m = We(u);
966
+ const m = Le(u);
967
967
  return Array.isArray(m) ? m.map((f) => ye(f)) : [ye(m)];
968
968
  }), g = J(
969
969
  i,
@@ -1096,7 +1096,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
1096
1096
  placeholder: "请输入查询关键字"
1097
1097
  }, null, 8, ["size", "prefix-icon", "modelValue"]),
1098
1098
  V("div", Po, [
1099
- (p(!0), j(O, null, L(i.value, (_) => (p(), y(n(Se), {
1099
+ (p(!0), j(O, null, W(i.value, (_) => (p(), y(n(Se), {
1100
1100
  icon: _[1],
1101
1101
  onClick: (w) => g(_[0]),
1102
1102
  class: X({ "is-active": a.value === _[0] })
@@ -1256,7 +1256,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
1256
1256
  _: 1
1257
1257
  }, 8, ["content"]));
1258
1258
  }
1259
- }), q = /* @__PURE__ */ E({
1259
+ }), H = /* @__PURE__ */ E({
1260
1260
  name: "VPanel",
1261
1261
  __name: "panel",
1262
1262
  props: {
@@ -1606,7 +1606,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
1606
1606
  }, ["stop"]))
1607
1607
  }, {
1608
1608
  default: b(() => [
1609
- (p(!0), j(O, null, L(o.value, (f) => (p(), y(n(be), {
1609
+ (p(!0), j(O, null, W(o.value, (f) => (p(), y(n(be), {
1610
1610
  name: f.name,
1611
1611
  title: f.label,
1612
1612
  mode: "icon",
@@ -1700,7 +1700,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
1700
1700
  }, F(t.tag), 3)) : A("", !0)
1701
1701
  ], 42, Oo));
1702
1702
  }
1703
- }), Wo = { class: "v-context-viewer" }, Lo = /* @__PURE__ */ E({
1703
+ }), Lo = { class: "v-context-viewer" }, Wo = /* @__PURE__ */ E({
1704
1704
  __name: "viewer",
1705
1705
  props: {
1706
1706
  context: {}
@@ -1740,7 +1740,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
1740
1740
  }, g = (d) => {
1741
1741
  l("pick", d.path);
1742
1742
  };
1743
- return (d, m) => (p(), j("div", Wo, [
1743
+ return (d, m) => (p(), j("div", Lo, [
1744
1744
  d.context ? (p(), y(n(Dt), {
1745
1745
  key: 0,
1746
1746
  lazy: "",
@@ -1860,14 +1860,14 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
1860
1860
  "prefix-icon": n(Rt),
1861
1861
  placeholder: "筛选可用项"
1862
1862
  }, null, 8, ["modelValue", "prefix-icon"]),
1863
- (p(!0), j(O, null, L(n(s), (I) => (p(), j("div", null, [
1863
+ (p(!0), j(O, null, W(n(s), (I) => (p(), j("div", null, [
1864
1864
  v(n(jt), { "border-style": "dotted" }, {
1865
1865
  default: b(() => [
1866
1866
  K(F(I.title), 1)
1867
1867
  ]),
1868
1868
  _: 2
1869
1869
  }, 1024),
1870
- (p(!0), j(O, null, L(I.items, (z) => (p(), y(ce, {
1870
+ (p(!0), j(O, null, W(I.items, (z) => (p(), y(ce, {
1871
1871
  title: z,
1872
1872
  background: "",
1873
1873
  actions: ["copy"],
@@ -1880,7 +1880,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
1880
1880
  ], 512), [
1881
1881
  [Te, i.value === "normal"]
1882
1882
  ]),
1883
- De(v(Lo, {
1883
+ De(v(Wo, {
1884
1884
  context: t.context,
1885
1885
  onCopy: w,
1886
1886
  onPick: _
@@ -2011,7 +2011,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
2011
2011
  wrap: "wrap"
2012
2012
  }, {
2013
2013
  default: b(() => [
2014
- (p(!0), j(O, null, L(t.slots, (d, m) => (p(), y(n(U), {
2014
+ (p(!0), j(O, null, W(t.slots, (d, m) => (p(), y(n(U), {
2015
2015
  class: X(["v-slots-picker__item", { "is-active": d.name === s.value?.name }]),
2016
2016
  grow: "",
2017
2017
  flex: !1,
@@ -2030,7 +2030,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
2030
2030
  _: 1
2031
2031
  }, 16, ["height"]));
2032
2032
  }
2033
- }), Wn = /* @__PURE__ */ E({
2033
+ }), Ln = /* @__PURE__ */ E({
2034
2034
  name: "Viewport",
2035
2035
  __name: "viewport",
2036
2036
  props: {
@@ -2091,7 +2091,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
2091
2091
  pages: vt(l)
2092
2092
  });
2093
2093
  };
2094
- return (h, c) => (p(), y(n(q), {
2094
+ return (h, c) => (p(), y(n(H), {
2095
2095
  class: "v-pages-widget",
2096
2096
  title: "页面管理",
2097
2097
  plus: "",
@@ -2139,7 +2139,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
2139
2139
  _: 1
2140
2140
  }));
2141
2141
  }
2142
- }), Uo = { class: "v-file-setter" }, Wt = /* @__PURE__ */ E({
2142
+ }), Uo = { class: "v-file-setter" }, Lt = /* @__PURE__ */ E({
2143
2143
  name: "FileSetter",
2144
2144
  __name: "file",
2145
2145
  props: {
@@ -2234,7 +2234,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
2234
2234
  }, 8, ["modelValue"])) : A("", !0)
2235
2235
  ]));
2236
2236
  }
2237
- }), Ho = /* @__PURE__ */ E({
2237
+ }), qo = /* @__PURE__ */ E({
2238
2238
  name: "BlocksWidget",
2239
2239
  __name: "index",
2240
2240
  setup(u) {
@@ -2309,7 +2309,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
2309
2309
  const P = l.skeleton?.getWidget("Designer")?.widgetRef?.designer;
2310
2310
  P && P.setDragging(null);
2311
2311
  };
2312
- return (P, B) => (p(), y(n(q), {
2312
+ return (P, B) => (p(), y(n(H), {
2313
2313
  class: "v-blocks-widget",
2314
2314
  title: "区块管理",
2315
2315
  subtitle: d.value,
@@ -2322,7 +2322,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
2322
2322
  gutter: 5
2323
2323
  }, {
2324
2324
  default: b(() => [
2325
- (p(!0), j(O, null, L(n(t), (D) => (p(), y(n(yt), {
2325
+ (p(!0), j(O, null, W(n(t), (D) => (p(), y(n(yt), {
2326
2326
  key: D.id,
2327
2327
  span: n(e)
2328
2328
  }, {
@@ -2394,7 +2394,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
2394
2394
  name: "urls",
2395
2395
  label: "资源文件",
2396
2396
  required: "",
2397
- editor: Wt,
2397
+ editor: Lt,
2398
2398
  props: { attachment: { accept: f.value, multiple: h.value } }
2399
2399
  }, null, 8, ["props"])) : A("", !0)
2400
2400
  ]),
@@ -2404,7 +2404,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
2404
2404
  _: 1
2405
2405
  }, 8, ["subtitle"]));
2406
2406
  }
2407
- }), qo = { class: "v-components-widget__search" }, Go = {
2407
+ }), Ho = { class: "v-components-widget__search" }, Go = {
2408
2408
  key: 0,
2409
2409
  class: "v-components-widget__result"
2410
2410
  }, Xo = { class: "v-components-widget__list" }, Ko = /* @__PURE__ */ E({
@@ -2418,13 +2418,13 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
2418
2418
  const m = t.skeleton?.getWidget("Designer")?.widgetRef?.designer;
2419
2419
  m && m.setDragging(null);
2420
2420
  };
2421
- return (m, f) => (p(), y(n(q), {
2421
+ return (m, f) => (p(), y(n(H), {
2422
2422
  class: "v-components-widget",
2423
2423
  title: "组件库",
2424
2424
  body: { flex: !0, direction: "column" }
2425
2425
  }, {
2426
2426
  default: b(() => [
2427
- V("div", qo, [
2427
+ V("div", Ho, [
2428
2428
  v(n(_e), {
2429
2429
  modelValue: n(r),
2430
2430
  "onUpdate:modelValue": f[0] || (f[0] = (h) => gt(r) ? r.value = h : null),
@@ -2444,7 +2444,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
2444
2444
  gutter: 5
2445
2445
  }, {
2446
2446
  default: b(() => [
2447
- (p(!0), j(O, null, L(n(i), (h) => (p(), y(n(yt), {
2447
+ (p(!0), j(O, null, W(n(i), (h) => (p(), y(n(yt), {
2448
2448
  span: n(e),
2449
2449
  key: h.name
2450
2450
  }, {
@@ -2477,7 +2477,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
2477
2477
  "onUpdate:modelValue": f[1] || (f[1] = (h) => n(o)[n(s)] = h)
2478
2478
  }, {
2479
2479
  default: b(() => [
2480
- (p(!0), j(O, null, L(n(a).children, (h) => (p(), y(n(al), {
2480
+ (p(!0), j(O, null, W(n(a).children, (h) => (p(), y(n(al), {
2481
2481
  key: h.name,
2482
2482
  name: h.name,
2483
2483
  title: `${h.label} (${h.count})`
@@ -2489,7 +2489,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
2489
2489
  gutter: 5
2490
2490
  }, {
2491
2491
  default: b(() => [
2492
- (p(!0), j(O, null, L(h.components, (c) => (p(), y(n(yt), {
2492
+ (p(!0), j(O, null, W(h.components, (c) => (p(), y(n(yt), {
2493
2493
  span: n(e),
2494
2494
  key: c.name
2495
2495
  }, {
@@ -2533,20 +2533,20 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
2533
2533
  return D && (D.locked || D.invisible) ? [] : s.value?.locked ? [] : P.locked ? ["unlock"] : P.invisible ? ["visible"] : ["lock", "invisible", "copy", "remove"];
2534
2534
  }, r = (P, B) => {
2535
2535
  const D = {};
2536
- if (!P.some((W) => W.slot)) return i(P);
2537
- for (const W of P) {
2538
- const H = W.slot?.name || "default";
2539
- D[H] || (D[H] = []), D[H].push(W);
2536
+ if (!P.some((L) => L.slot)) return i(P);
2537
+ for (const L of P) {
2538
+ const q = L.slot?.name || "default";
2539
+ D[q] || (D[q] = []), D[q].push(L);
2540
2540
  }
2541
2541
  const me = [];
2542
- for (const [W, H] of Object.entries(D))
2542
+ for (const [L, q] of Object.entries(D))
2543
2543
  me.push({
2544
- id: `${B.id}-${W}`,
2545
- label: `#${W}`,
2544
+ id: `${B.id}-${L}`,
2545
+ label: `#${L}`,
2546
2546
  type: "slot",
2547
2547
  model: B,
2548
2548
  disabled: !0,
2549
- children: i(H)
2549
+ children: i(q)
2550
2550
  });
2551
2551
  return me;
2552
2552
  }, i = (P) => {
@@ -2582,19 +2582,19 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
2582
2582
  const D = e.assets.componentMap.get(B.model.name);
2583
2583
  return D ? (t.value?.setDragging(D), !0) : !1;
2584
2584
  }, h = async (P, B, D) => {
2585
- const G = B.data, W = {
2585
+ const G = B.data, L = {
2586
2586
  prev: "top",
2587
2587
  next: "bottom",
2588
2588
  inner: "inner"
2589
2589
  }[D];
2590
- let H = !1;
2590
+ let q = !1;
2591
2591
  if (te(G.model))
2592
- H = D === "inner", t.value?.setDropping(H ? G.model : null, "inner");
2592
+ q = D === "inner", t.value?.setDropping(q ? G.model : null, "inner");
2593
2593
  else {
2594
2594
  const N = G.model;
2595
- H = !!await t.value?.allowDrop(N, W), t.value?.setDropping(H ? N : null, "inner");
2595
+ q = !!await t.value?.allowDrop(N, L), t.value?.setDropping(q ? N : null, "inner");
2596
2596
  }
2597
- return H;
2597
+ return q;
2598
2598
  }, c = (P) => {
2599
2599
  const B = P?.model;
2600
2600
  if (!B || B.invisible || P.type === "slot") {
@@ -2605,14 +2605,14 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
2605
2605
  }, _ = async (P, B, D) => {
2606
2606
  const G = P.data, me = B.data;
2607
2607
  if (te(me.model)) {
2608
- const Le = G.model;
2609
- delete Le.slot, s.value?.move(Le, void 0, "inner"), t.value?.setDropping(null), t.value?.setDragging(null);
2608
+ const We = G.model;
2609
+ delete We.slot, s.value?.move(We, void 0, "inner"), t.value?.setDropping(null), t.value?.setDragging(null);
2610
2610
  return;
2611
2611
  }
2612
- const W = me.model, H = { before: "left", after: "right" }[D] || "inner";
2612
+ const L = me.model, q = { before: "left", after: "right" }[D] || "inner";
2613
2613
  if (!await t.value?.allowDrop(
2614
- W,
2615
- H
2614
+ L,
2615
+ q
2616
2616
  )) {
2617
2617
  t.value?.setDropping(null), d(), Qe.warning({
2618
2618
  message: `${G.model.name}不能放置到该位置`
@@ -2620,11 +2620,11 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
2620
2620
  return;
2621
2621
  }
2622
2622
  const $e = await t.value?.getDropSlot(
2623
- D === "inner" ? W : W.parent
2623
+ D === "inner" ? L : L.parent
2624
2624
  );
2625
2625
  if ($e !== null) {
2626
- const Le = G.model;
2627
- Le.slot = $e, s.value?.move(Le, W, H);
2626
+ const We = G.model;
2627
+ We.slot = $e, s.value?.move(We, L, q);
2628
2628
  } else
2629
2629
  d();
2630
2630
  t.value?.setDropping(null), t.value?.setDragging(null), e.simulator.refresh();
@@ -2670,7 +2670,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
2670
2670
  break;
2671
2671
  }
2672
2672
  };
2673
- return J(e.changed, d, { immediate: !0 }), (P, B) => (p(), y(n(q), {
2673
+ return J(e.changed, d, { immediate: !0 }), (P, B) => (p(), y(n(H), {
2674
2674
  class: "v-outline-widget",
2675
2675
  title: "大纲树"
2676
2676
  }, {
@@ -2730,7 +2730,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
2730
2730
  }, o = async () => {
2731
2731
  await Fe("确定要清空历史记录吗?") && e.value?.clear();
2732
2732
  };
2733
- return (r, i) => (p(), y(n(q), {
2733
+ return (r, i) => (p(), y(n(H), {
2734
2734
  class: "v-history-widget",
2735
2735
  title: "历史记录",
2736
2736
  subtitle: s.value,
@@ -2742,7 +2742,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
2742
2742
  key: 0,
2743
2743
  "image-size": 50
2744
2744
  })) : A("", !0),
2745
- n(e) ? (p(!0), j(O, { key: 1 }, L(n(e).items, (g, d) => (p(), y(n(ce), {
2745
+ n(e) ? (p(!0), j(O, { key: 1 }, W(n(e).items, (g, d) => (p(), y(n(ce), {
2746
2746
  index: d + 1,
2747
2747
  title: g.label,
2748
2748
  "model-value": g,
@@ -3007,7 +3007,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
3007
3007
  e.model ? [o.value.id] : []
3008
3008
  ) ? (le(`API名称 [ ${o.value.name} ] 已存在`), !1) : o.value.headers && !re(o.value.headers, window) || o.value.mockTemplate && !re(o.value.mockTemplate, window) ? !1 : (e.project?.setApi(o.value), s.value?.close(), !0), c = () => {
3009
3009
  if (o.value.mockTemplate) {
3010
- const _ = qe(
3010
+ const _ = He(
3011
3011
  o.value.mockTemplate,
3012
3012
  {},
3013
3013
  !0
@@ -3193,7 +3193,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
3193
3193
  }, m = (f) => {
3194
3194
  s.value = !0, t.value = ot(f), e.value = !0;
3195
3195
  };
3196
- return (f, h) => (p(), y(n(q), {
3196
+ return (f, h) => (p(), y(n(H), {
3197
3197
  class: "v-apis-widget",
3198
3198
  title: "API管理",
3199
3199
  plus: "",
@@ -3210,7 +3210,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
3210
3210
  clearable: ""
3211
3211
  }, null, 8, ["modelValue", "prefix-icon"])
3212
3212
  ]),
3213
- (p(!0), j(O, null, L(a.value, (c) => (p(), y(n(ce), {
3213
+ (p(!0), j(O, null, W(a.value, (c) => (p(), y(n(ce), {
3214
3214
  key: c.id,
3215
3215
  small: "",
3216
3216
  title: c.name,
@@ -3261,14 +3261,14 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
3261
3261
  `)
3262
3262
  }, s.value = !1, l.value = !0), _.name === "remove" && t.project.value?.removeDeps(c);
3263
3263
  };
3264
- return (c, _) => (p(), y(n(q), {
3264
+ return (c, _) => (p(), y(n(H), {
3265
3265
  class: "v-deps-widget",
3266
3266
  title: "依赖管理",
3267
3267
  plus: "",
3268
3268
  onPlus: m
3269
3269
  }, {
3270
3270
  default: b(() => [
3271
- (p(!0), j(O, null, L(n(e), (w) => (p(), y(n(ce), {
3271
+ (p(!0), j(O, null, W(n(e), (w) => (p(), y(n(ce), {
3272
3272
  key: w.package,
3273
3273
  title: w.package,
3274
3274
  subtitle: w.version,
@@ -3417,7 +3417,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
3417
3417
  inheritAttrs: !1,
3418
3418
  __name: "index",
3419
3419
  setup(u, { expose: e }) {
3420
- const t = k(), l = k(), { width: s, height: a } = Xe(t), { dependencies: o, engine: r, apis: i, meta: g } = Bn(), { current: d, isEmpty: m } = ue(), f = S(() => r.skeleton?.getWidget("Toolbar")?.widgetRef.mode ?? "pc"), h = S(() => r.project.value?.config || {}), { designer: c, hover: _, dropping: w, selected: x } = Ha(
3420
+ const t = k(), l = k(), { width: s, height: a } = Xe(t), { dependencies: o, engine: r, apis: i, meta: g } = Bn(), { current: d, isEmpty: m } = ue(), f = S(() => r.skeleton?.getWidget("Toolbar")?.widgetRef.mode ?? "pc"), h = S(() => r.project.value?.config || {}), { designer: c, hover: _, dropping: w, selected: x } = qa(
3421
3421
  l,
3422
3422
  o,
3423
3423
  i,
@@ -3463,7 +3463,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
3463
3463
  ref: t,
3464
3464
  class: "v-designer"
3465
3465
  }, [
3466
- v(n(Wn), {
3466
+ v(n(Ln), {
3467
3467
  mode: f.value,
3468
3468
  width: n(s),
3469
3469
  height: n(a)
@@ -3552,7 +3552,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
3552
3552
  }, f = async (c) => e.submit(c, o.value), h = () => {
3553
3553
  l.value?.itemRef.validate();
3554
3554
  };
3555
- return (c, _) => (p(), y(n(q), {
3555
+ return (c, _) => (p(), y(n(H), {
3556
3556
  title: e.title,
3557
3557
  class: "v-sub-panel",
3558
3558
  size: "small",
@@ -3561,7 +3561,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
3561
3561
  onPlus: i
3562
3562
  }, {
3563
3563
  default: b(() => [
3564
- (p(!0), j(O, null, L(c.list, (w) => (p(), y(n(ce), {
3564
+ (p(!0), j(O, null, W(c.list, (w) => (p(), y(n(ce), {
3565
3565
  title: e.itemTitle(w),
3566
3566
  border: "",
3567
3567
  actions: ["edit", "remove"],
@@ -3930,7 +3930,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
3930
3930
  const g = (t.items || []).map((d) => o(d.label || d.name)).sort((d, m) => m - d)[0];
3931
3931
  return g ? g * 6 + 24 : 100;
3932
3932
  });
3933
- return (i, g) => (p(), y(n(q), {
3933
+ return (i, g) => (p(), y(n(H), {
3934
3934
  title: t.title,
3935
3935
  class: "v-sub-panel",
3936
3936
  size: "small",
@@ -3946,7 +3946,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
3946
3946
  }, ["prevent", "stop"]), ["enter"]))
3947
3947
  }, {
3948
3948
  default: b(() => [
3949
- (p(!0), j(O, null, L(t.items, (d) => (p(), y(n(M), ie({ ref_for: !0 }, d, {
3949
+ (p(!0), j(O, null, W(t.items, (d) => (p(), y(n(M), ie({ ref_for: !0 }, d, {
3950
3950
  key: `${d.name}_${t.node.id}`,
3951
3951
  current: t.current,
3952
3952
  context: t.context,
@@ -4187,7 +4187,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4187
4187
  fit: ""
4188
4188
  }, {
4189
4189
  default: b(() => [
4190
- v(n(q), {
4190
+ v(n(H), {
4191
4191
  title: "组件事件",
4192
4192
  class: "v-sub-panel",
4193
4193
  size: "small",
@@ -4199,7 +4199,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4199
4199
  "image-size": 50,
4200
4200
  description: "该组件无自带事件"
4201
4201
  })),
4202
- (p(!0), j(O, null, L(n(o), (w) => (p(), y(n(ce), {
4202
+ (p(!0), j(O, null, W(n(o), (w) => (p(), y(n(ce), {
4203
4203
  key: `component_${w.name}`,
4204
4204
  title: w.name,
4205
4205
  "model-value": w,
@@ -4213,14 +4213,14 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4213
4213
  ]),
4214
4214
  _: 1
4215
4215
  }),
4216
- v(n(q), {
4216
+ v(n(H), {
4217
4217
  title: "鼠标事件",
4218
4218
  class: "v-sub-panel",
4219
4219
  size: "small",
4220
4220
  fit: !1
4221
4221
  }, {
4222
4222
  default: b(() => [
4223
- (p(!0), j(O, null, L(n(s), (w) => (p(), y(n(ce), {
4223
+ (p(!0), j(O, null, W(n(s), (w) => (p(), y(n(ce), {
4224
4224
  key: `mouse_${w.name}`,
4225
4225
  title: w.name,
4226
4226
  "model-value": w,
@@ -4234,7 +4234,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4234
4234
  ]),
4235
4235
  _: 1
4236
4236
  }),
4237
- v(n(q), {
4237
+ v(n(H), {
4238
4238
  title: "键盘事件",
4239
4239
  class: "v-sub-panel",
4240
4240
  size: "small",
@@ -4242,7 +4242,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4242
4242
  fit: !1
4243
4243
  }, {
4244
4244
  default: b(() => [
4245
- (p(!0), j(O, null, L(n(a), (w) => (p(), y(n(ce), {
4245
+ (p(!0), j(O, null, W(n(a), (w) => (p(), y(n(ce), {
4246
4246
  key: `keyboard_${w.name}`,
4247
4247
  title: w.name,
4248
4248
  "model-value": w,
@@ -4281,7 +4281,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4281
4281
  const r = (t.value?.getEditor()).getValue();
4282
4282
  s(r), pe("保存成功");
4283
4283
  };
4284
- return (o, r) => (p(), y(n(q), {
4284
+ return (o, r) => (p(), y(n(H), {
4285
4285
  class: "v-css-widget v-sub-panel",
4286
4286
  title: "lang:css scoped",
4287
4287
  size: "small",
@@ -4316,14 +4316,14 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4316
4316
  onValueChange: g,
4317
4317
  onForChange: d,
4318
4318
  onModelChange: m
4319
- } = no(l), f = (h) => h.arg ? typeof h.arg == "string" ? h.arg : qe(h.arg, {}) : "modelValue";
4319
+ } = no(l), f = (h) => h.arg ? typeof h.arg == "string" ? h.arg : He(h.arg, {}) : "modelValue";
4320
4320
  return (h, c) => (p(), y(n(U), {
4321
4321
  class: "v-directives-widget",
4322
4322
  direction: "column",
4323
4323
  fit: ""
4324
4324
  }, {
4325
4325
  default: b(() => [
4326
- v(n(q), {
4326
+ v(n(H), {
4327
4327
  class: "v-sub-panel",
4328
4328
  title: "内置指令",
4329
4329
  size: "small",
@@ -4370,7 +4370,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4370
4370
  ]),
4371
4371
  _: 1
4372
4372
  }),
4373
- v(n(q), {
4373
+ v(n(H), {
4374
4374
  class: "v-sub-panel",
4375
4375
  title: "循环",
4376
4376
  size: "small",
@@ -4423,7 +4423,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4423
4423
  ]),
4424
4424
  _: 1
4425
4425
  }),
4426
- v(n(q), {
4426
+ v(n(H), {
4427
4427
  class: "v-sub-panel",
4428
4428
  title: "双向绑定",
4429
4429
  size: "small",
@@ -4431,7 +4431,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4431
4431
  grow: ""
4432
4432
  }, {
4433
4433
  default: b(() => [
4434
- (p(!0), j(O, null, L(n(i), (_, w) => (p(), y(n(q), {
4434
+ (p(!0), j(O, null, W(n(i), (_, w) => (p(), y(n(H), {
4435
4435
  card: "",
4436
4436
  border: "",
4437
4437
  class: "v-sub-panel",
@@ -4733,43 +4733,43 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4733
4733
  name: "DefinedWidget",
4734
4734
  __name: "index",
4735
4735
  setup(u) {
4736
- const { current: e, context: t } = ue(), l = S(() => (e.value?.props || []).map((W) => typeof W == "string" ? { name: W } : W)), s = S(() => (e.value?.emits || []).map((W) => typeof W == "string" ? { name: W, params: [] } : W)), a = S(() => (e.value?.slots || []).map((W) => typeof W == "string" ? { name: W, params: [] } : W)), o = S(() => e.value?.inject || []), r = k(!1), i = k(), g = k(!1), d = k(), m = k(!1), f = k(), h = k(!1), c = k(), _ = () => {
4736
+ const { current: e, context: t } = ue(), l = S(() => (e.value?.props || []).map((L) => typeof L == "string" ? { name: L } : L)), s = S(() => (e.value?.emits || []).map((L) => typeof L == "string" ? { name: L, params: [] } : L)), a = S(() => (e.value?.slots || []).map((L) => typeof L == "string" ? { name: L, params: [] } : L)), o = S(() => e.value?.inject || []), r = k(!1), i = k(), g = k(!1), d = k(), m = k(!1), f = k(), h = k(!1), c = k(), _ = () => {
4737
4737
  i.value = void 0, r.value = !0;
4738
- }, w = (W) => {
4739
- const { name: H, modelValue: N } = W;
4740
- H === "edit" && x(N), H === "remove" && e.value?.removeProp(N);
4741
- }, x = (W) => {
4742
- i.value = W, r.value = !0;
4738
+ }, w = (L) => {
4739
+ const { name: q, modelValue: N } = L;
4740
+ q === "edit" && x(N), q === "remove" && e.value?.removeProp(N);
4741
+ }, x = (L) => {
4742
+ i.value = L, r.value = !0;
4743
4743
  }, C = () => {
4744
4744
  d.value = void 0, g.value = !0;
4745
- }, I = (W) => {
4746
- d.value = { ...W }, g.value = !0;
4747
- }, z = (W) => {
4748
- const { name: H, modelValue: N } = W;
4749
- H === "edit" && I(N), H === "remove" && e.value?.removeEmit(N.name);
4745
+ }, I = (L) => {
4746
+ d.value = { ...L }, g.value = !0;
4747
+ }, z = (L) => {
4748
+ const { name: q, modelValue: N } = L;
4749
+ q === "edit" && I(N), q === "remove" && e.value?.removeEmit(N.name);
4750
4750
  }, R = () => {
4751
4751
  f.value = void 0, m.value = !0;
4752
- }, P = (W) => {
4753
- f.value = { ...W }, m.value = !0;
4754
- }, B = (W) => {
4755
- const { name: H, modelValue: N } = W;
4756
- H === "edit" && P(N), H === "remove" && e.value?.removeSlot(N.name);
4752
+ }, P = (L) => {
4753
+ f.value = { ...L }, m.value = !0;
4754
+ }, B = (L) => {
4755
+ const { name: q, modelValue: N } = L;
4756
+ q === "edit" && P(N), q === "remove" && e.value?.removeSlot(N.name);
4757
4757
  }, D = () => {
4758
4758
  c.value = void 0, h.value = !0;
4759
- }, G = (W) => {
4760
- c.value = W, h.value = !0;
4761
- }, me = (W) => {
4762
- const { name: H, modelValue: N } = W;
4763
- H === "edit" && G(N), H === "remove" && e.value?.removeInject(N);
4759
+ }, G = (L) => {
4760
+ c.value = L, h.value = !0;
4761
+ }, me = (L) => {
4762
+ const { name: q, modelValue: N } = L;
4763
+ q === "edit" && G(N), q === "remove" && e.value?.removeInject(N);
4764
4764
  };
4765
- return (W, H) => n(e) && n(t) ? (p(), y(n(U), {
4765
+ return (L, q) => n(e) && n(t) ? (p(), y(n(U), {
4766
4766
  key: 0,
4767
4767
  class: "v-defined-widget",
4768
4768
  direction: "column",
4769
4769
  fit: ""
4770
4770
  }, {
4771
4771
  default: b(() => [
4772
- v(n(q), {
4772
+ v(n(H), {
4773
4773
  class: "v-sub-panel",
4774
4774
  title: "定义属性",
4775
4775
  size: "small",
@@ -4778,7 +4778,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4778
4778
  onPlus: _
4779
4779
  }, {
4780
4780
  default: b(() => [
4781
- (p(!0), j(O, null, L(l.value, (N) => (p(), y(n(ce), {
4781
+ (p(!0), j(O, null, W(l.value, (N) => (p(), y(n(ce), {
4782
4782
  "model-value": N,
4783
4783
  title: N.name,
4784
4784
  border: "",
@@ -4795,13 +4795,13 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4795
4795
  current: n(e),
4796
4796
  context: n(t),
4797
4797
  modelValue: r.value,
4798
- "onUpdate:modelValue": H[0] || (H[0] = (N) => r.value = N),
4798
+ "onUpdate:modelValue": q[0] || (q[0] = (N) => r.value = N),
4799
4799
  item: i.value
4800
4800
  }, null, 8, ["current", "context", "modelValue", "item"])) : A("", !0)
4801
4801
  ]),
4802
4802
  _: 1
4803
4803
  }),
4804
- v(n(q), {
4804
+ v(n(H), {
4805
4805
  class: "v-sub-panel",
4806
4806
  title: "定义事件",
4807
4807
  size: "small",
@@ -4810,7 +4810,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4810
4810
  onPlus: C
4811
4811
  }, {
4812
4812
  default: b(() => [
4813
- (p(!0), j(O, null, L(s.value, (N) => (p(), y(n(ce), {
4813
+ (p(!0), j(O, null, W(s.value, (N) => (p(), y(n(ce), {
4814
4814
  "model-value": N,
4815
4815
  title: N.name,
4816
4816
  border: "",
@@ -4825,7 +4825,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4825
4825
  g.value ? (p(), y(xr, {
4826
4826
  key: 1,
4827
4827
  modelValue: g.value,
4828
- "onUpdate:modelValue": H[1] || (H[1] = (N) => g.value = N),
4828
+ "onUpdate:modelValue": q[1] || (q[1] = (N) => g.value = N),
4829
4829
  current: n(e),
4830
4830
  context: n(t),
4831
4831
  item: d.value
@@ -4833,7 +4833,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4833
4833
  ]),
4834
4834
  _: 1
4835
4835
  }),
4836
- v(n(q), {
4836
+ v(n(H), {
4837
4837
  class: "v-sub-panel",
4838
4838
  title: "定义插槽",
4839
4839
  size: "small",
@@ -4842,7 +4842,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4842
4842
  onPlus: R
4843
4843
  }, {
4844
4844
  default: b(() => [
4845
- (p(!0), j(O, null, L(a.value, (N) => (p(), y(n(ce), {
4845
+ (p(!0), j(O, null, W(a.value, (N) => (p(), y(n(ce), {
4846
4846
  "model-value": N,
4847
4847
  title: N.name,
4848
4848
  border: "",
@@ -4857,7 +4857,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4857
4857
  m.value ? (p(), y(Cr, {
4858
4858
  key: 1,
4859
4859
  modelValue: m.value,
4860
- "onUpdate:modelValue": H[2] || (H[2] = (N) => m.value = N),
4860
+ "onUpdate:modelValue": q[2] || (q[2] = (N) => m.value = N),
4861
4861
  current: n(e),
4862
4862
  context: n(t),
4863
4863
  item: f.value
@@ -4865,7 +4865,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4865
4865
  ]),
4866
4866
  _: 1
4867
4867
  }),
4868
- v(n(q), {
4868
+ v(n(H), {
4869
4869
  class: "v-sub-panel",
4870
4870
  title: "注入",
4871
4871
  size: "small",
@@ -4875,7 +4875,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4875
4875
  onPlus: D
4876
4876
  }, {
4877
4877
  default: b(() => [
4878
- (p(!0), j(O, null, L(o.value, (N) => (p(), y(n(ce), {
4878
+ (p(!0), j(O, null, W(o.value, (N) => (p(), y(n(ce), {
4879
4879
  "model-value": N,
4880
4880
  title: N.name,
4881
4881
  border: "",
@@ -4890,7 +4890,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4890
4890
  h.value ? (p(), y(Vr, {
4891
4891
  key: 1,
4892
4892
  modelValue: h.value,
4893
- "onUpdate:modelValue": H[3] || (H[3] = (N) => h.value = N),
4893
+ "onUpdate:modelValue": q[3] || (q[3] = (N) => h.value = N),
4894
4894
  current: n(e),
4895
4895
  context: n(t),
4896
4896
  item: c.value
@@ -4999,9 +4999,9 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
4999
4999
  if (R)
5000
5000
  return await R.apply(R, z);
5001
5001
  Ve.warn(`API【${o.value.ref}】不存在`);
5002
- }, C = qe(o.value.test, {
5002
+ }, C = He(o.value.test, {
5003
5003
  runApi: x
5004
- }), I = o.value.transform?.value ? qe(o.value.transform, {}, !0) : (z) => z;
5004
+ }), I = o.value.transform?.value ? He(o.value.transform, {}, !0) : (z) => z;
5005
5005
  r.value = !0;
5006
5006
  try {
5007
5007
  const z = await C();
@@ -5153,7 +5153,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
5153
5153
  fit: ""
5154
5154
  }, {
5155
5155
  default: b(() => [
5156
- v(n(q), {
5156
+ v(n(H), {
5157
5157
  title: "请求方法",
5158
5158
  class: "v-sub-panel",
5159
5159
  size: "small",
@@ -5161,7 +5161,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
5161
5161
  onPlus: r
5162
5162
  }, {
5163
5163
  default: b(() => [
5164
- (p(!0), j(O, null, L(a.value, (f) => (p(), y(n(ce), {
5164
+ (p(!0), j(O, null, W(a.value, (f) => (p(), y(n(ce), {
5165
5165
  border: "",
5166
5166
  title: f.name,
5167
5167
  subtitle: f.label,
@@ -5321,7 +5321,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
5321
5321
  ], i = (g, d) => {
5322
5322
  t.value = d === "flex", e.setStyle("display", d), t.value || (e.setStyle("flex-direction", void 0), e.setStyle("justify-content", void 0), e.setStyle("align-items", void 0), e.setStyle("flex-wrap", void 0));
5323
5323
  };
5324
- return (g, d) => (p(), y(n(q), {
5324
+ return (g, d) => (p(), y(n(H), {
5325
5325
  title: "布局",
5326
5326
  class: "v-sub-panel",
5327
5327
  size: "small",
@@ -5408,7 +5408,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
5408
5408
  const i = (t.value?.getEditor()).getValue();
5409
5409
  a(i), pe("保存成功");
5410
5410
  };
5411
- return (r, i) => (p(), y(n(q), {
5411
+ return (r, i) => (p(), y(n(H), {
5412
5412
  class: "v-css-widget v-sub-panel",
5413
5413
  title: "JSON",
5414
5414
  size: "small",
@@ -5430,7 +5430,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
5430
5430
  _: 1
5431
5431
  }));
5432
5432
  }
5433
- }), Ir = { class: "v-spacing-input" }, Tr = { class: "v-spacing-input__content" }, Br = ["onClick"], Ln = /* @__PURE__ */ E({
5433
+ }), Ir = { class: "v-spacing-input" }, Tr = { class: "v-spacing-input__content" }, Br = ["onClick"], Wn = /* @__PURE__ */ E({
5434
5434
  __name: "spacing-input",
5435
5435
  props: {
5436
5436
  name: {},
@@ -5497,7 +5497,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
5497
5497
  wrap: "wrap"
5498
5498
  }, {
5499
5499
  default: b(() => [
5500
- (p(), j(O, null, L(t, (_) => V("span", {
5500
+ (p(), j(O, null, W(t, (_) => V("span", {
5501
5501
  onClick: (w) => g(_)
5502
5502
  }, F(_), 9, Br)), 64))
5503
5503
  ]),
@@ -5540,7 +5540,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
5540
5540
  ])
5541
5541
  ]));
5542
5542
  }
5543
- }), Rr = { class: "spacing-wrap" }, $r = { class: "spacing-max-icon" }, Or = ["width", "height"], zr = ["d"], Fr = ["d"], Wr = ["d"], Lr = ["d"], Nr = { id: "margin-outer" }, Jr = ["width", "height"], Mr = ["width", "height"], Ur = { id: "margin-inner" }, Hr = ["width", "height"], qr = ["width", "height"], Gr = ["width", "height"], Xr = ["d"], Kr = ["d"], Qr = ["d"], Yr = ["d"], Zr = { id: "padding-outer" }, ei = ["width", "height"], ti = ["width", "height"], ni = { id: "padding-inner" }, li = ["width", "height"], si = ["width", "height"], ai = {
5543
+ }), Rr = { class: "spacing-wrap" }, $r = { class: "spacing-max-icon" }, Or = ["width", "height"], zr = ["d"], Fr = ["d"], Lr = ["d"], Wr = ["d"], Nr = { id: "margin-outer" }, Jr = ["width", "height"], Mr = ["width", "height"], Ur = { id: "margin-inner" }, qr = ["width", "height"], Hr = ["width", "height"], Gr = ["width", "height"], Xr = ["d"], Kr = ["d"], Qr = ["d"], Yr = ["d"], Zr = { id: "padding-outer" }, ei = ["width", "height"], ti = ["width", "height"], ni = { id: "padding-inner" }, li = ["width", "height"], si = ["width", "height"], ai = {
5544
5544
  xmlns: "http://www.w3.org/2000/svg",
5545
5545
  width: "100%",
5546
5546
  height: "100%",
@@ -5562,7 +5562,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
5562
5562
  }, f = (h) => {
5563
5563
  g.value = h, d.value = e.styleJson[h], i.value = !0;
5564
5564
  };
5565
- return (h, c) => (p(), y(n(q), {
5565
+ return (h, c) => (p(), y(n(H), {
5566
5566
  title: "间距",
5567
5567
  class: "v-sub-panel",
5568
5568
  size: "small",
@@ -5635,7 +5635,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
5635
5635
  "aria-label": "Margin bottom button",
5636
5636
  class: "tb-path-color",
5637
5637
  onClick: c[2] || (c[2] = (_) => f("margin-bottom"))
5638
- }, null, 8, Wr)
5638
+ }, null, 8, Lr)
5639
5639
  ])
5640
5640
  ]),
5641
5641
  V("g", null, [
@@ -5653,7 +5653,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
5653
5653
  "aria-label": "Margin left button",
5654
5654
  class: "lr-path-color",
5655
5655
  onClick: c[3] || (c[3] = (_) => f("margin-left"))
5656
- }, null, 8, Lr)
5656
+ }, null, 8, Wr)
5657
5657
  ])
5658
5658
  ]),
5659
5659
  V("clipPath", Nr, [
@@ -5690,7 +5690,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
5690
5690
  rx: "2",
5691
5691
  ry: "2",
5692
5692
  style: { "pointer-events": "none" }
5693
- }, null, 8, Hr)
5693
+ }, null, 8, qr)
5694
5694
  ]),
5695
5695
  V("rect", {
5696
5696
  class: "stroke",
@@ -5703,7 +5703,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
5703
5703
  rx: "2",
5704
5704
  ry: "2",
5705
5705
  style: { "pointer-events": "none", "stroke-width": "2px" }
5706
- }, null, 8, qr)
5706
+ }, null, 8, Hr)
5707
5707
  ], 8, Or)) : A("", !0),
5708
5708
  V("div", {
5709
5709
  class: X(["spacing-edit margin-top", { "is-setting": e.styleJson["margin-top"] }]),
@@ -5895,7 +5895,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
5895
5895
  }, " margin ", -1)
5896
5896
  ])))
5897
5897
  ]),
5898
- i.value ? (p(), y(Ln, {
5898
+ i.value ? (p(), y(Wn, {
5899
5899
  key: 0,
5900
5900
  name: g.value,
5901
5901
  modelValue: d.value,
@@ -5970,7 +5970,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
5970
5970
  ]
5971
5971
  }
5972
5972
  ];
5973
- return (a, o) => (p(), y(n(q), {
5973
+ return (a, o) => (p(), y(n(H), {
5974
5974
  title: "尺寸",
5975
5975
  class: "v-sub-panel v-",
5976
5976
  size: "small",
@@ -5985,7 +5985,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
5985
5985
  inline: ""
5986
5986
  }, {
5987
5987
  default: b(() => [
5988
- (p(), j(O, null, L(s, (r) => v(n(M), {
5988
+ (p(), j(O, null, W(s, (r) => v(n(M), {
5989
5989
  name: r.name,
5990
5990
  label: r.label,
5991
5991
  setters: { name: r.setter },
@@ -6016,20 +6016,20 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
6016
6016
  { label: "粘性", value: "sticky" }
6017
6017
  ], g = [
6018
6018
  { label: "左上", svg: Fs, value: "0% auto auto 0%" },
6019
- { label: "右上", svg: Ws, value: "0% 0% auto auto" },
6020
- { label: "左下", svg: Ls, value: "auto auto 0% 0%" },
6019
+ { label: "右上", svg: Ls, value: "0% 0% auto auto" },
6020
+ { label: "左下", svg: Ws, value: "auto auto 0% 0%" },
6021
6021
  { label: "右下", svg: Ns, value: "auto 0% 0% auto" },
6022
6022
  { label: "左", svg: Js, value: "0% auto 0% 0%" },
6023
6023
  { label: "右", svg: Ms, value: "0% 0% 0% auto" },
6024
6024
  { label: "上", svg: Us, value: "auto 0% 0% 0%" },
6025
- { label: "下", svg: Hs, value: "0% 0% auto 0%" },
6026
- { label: "填充", svg: qs, value: "0% 0% 0% 0%" }
6025
+ { label: "下", svg: qs, value: "0% 0% auto 0%" },
6026
+ { label: "填充", svg: Hs, value: "0% 0% 0% 0%" }
6027
6027
  ], d = S(() => (e.styleJson.inset || "").split(" ")), m = (h) => {
6028
6028
  o.value = h, r.value = e.styleJson[h], a.value = !0;
6029
6029
  }, f = () => {
6030
6030
  a.value = !1, o.value = void 0, r.value = void 0;
6031
6031
  };
6032
- return (h, c) => (p(), y(n(q), {
6032
+ return (h, c) => (p(), y(n(H), {
6033
6033
  title: "定位",
6034
6034
  class: "v-sub-panel",
6035
6035
  size: "small",
@@ -6214,7 +6214,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
6214
6214
  onClick: c[7] || (c[7] = (_) => m("left"))
6215
6215
  }, F(e.styleJson.left || d.value[3] || "-"), 3)
6216
6216
  ], 512),
6217
- a.value ? (p(), y(Ln, {
6217
+ a.value ? (p(), y(Wn, {
6218
6218
  key: 0,
6219
6219
  auto: "",
6220
6220
  name: o.value,
@@ -6312,7 +6312,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
6312
6312
  { label: "删除线", value: "line-through", svg: ta },
6313
6313
  { label: "上划线", value: "overline", svg: na }
6314
6314
  ];
6315
- return (o, r) => (p(), y(n(q), {
6315
+ return (o, r) => (p(), y(n(H), {
6316
6316
  title: "文本",
6317
6317
  class: "v-sub-panel",
6318
6318
  size: "small",
@@ -6327,7 +6327,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
6327
6327
  inline: ""
6328
6328
  }, {
6329
6329
  default: b(() => [
6330
- (p(), j(O, null, L(t, (i) => v(n(M), {
6330
+ (p(), j(O, null, W(t, (i) => v(n(M), {
6331
6331
  name: i.name,
6332
6332
  label: i.label,
6333
6333
  setters: { name: i.setter },
@@ -6417,7 +6417,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
6417
6417
  { label: "覆盖", value: "cover" },
6418
6418
  { label: "填充", value: "contain" }
6419
6419
  ];
6420
- return (i, g) => (p(), y(n(q), {
6420
+ return (i, g) => (p(), y(n(H), {
6421
6421
  title: "背景",
6422
6422
  class: "v-sub-panel",
6423
6423
  size: "small",
@@ -6529,7 +6529,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
6529
6529
  {
6530
6530
  immediate: !0
6531
6531
  }
6532
- ), (r, i) => (p(), y(n(q), {
6532
+ ), (r, i) => (p(), y(n(H), {
6533
6533
  title: "边框",
6534
6534
  class: "v-sub-panel",
6535
6535
  size: "small",
@@ -6647,7 +6647,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
6647
6647
  r !== void 0 ? (Number(r) || 0) / 100 : void 0
6648
6648
  );
6649
6649
  }, a = () => Number(e.styleJson.opacity ?? 1) * 100;
6650
- return (o, r) => (p(), y(n(q), {
6650
+ return (o, r) => (p(), y(n(H), {
6651
6651
  title: "效果",
6652
6652
  class: "v-sub-panel",
6653
6653
  size: "small",
@@ -6780,7 +6780,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
6780
6780
  class: "v-previewer",
6781
6781
  key: s.value
6782
6782
  }, [
6783
- v(n(Wn), {
6783
+ v(n(Ln), {
6784
6784
  mode: d.value,
6785
6785
  width: n(r),
6786
6786
  height: n(i)
@@ -6813,7 +6813,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
6813
6813
  "separator-icon": n(ya)
6814
6814
  }, {
6815
6815
  default: b(() => [
6816
- (p(!0), j(O, null, L(l.value, (i) => (p(), y(n(rl), {
6816
+ (p(!0), j(O, null, W(l.value, (i) => (p(), y(n(rl), {
6817
6817
  onClick: (g) => s(i),
6818
6818
  onMouseover: (g) => a(i)
6819
6819
  }, {
@@ -6844,7 +6844,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
6844
6844
  le(g?.message);
6845
6845
  }
6846
6846
  };
6847
- return (o, r) => (p(), y(n(q), {
6847
+ return (o, r) => (p(), y(n(H), {
6848
6848
  class: "v-schema-widget",
6849
6849
  title: s.value,
6850
6850
  subtitle: "手动修改DSL有风险,可能导致页面无法加载,请确认您的操作无误。",
@@ -6884,7 +6884,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
6884
6884
  immediate: !0,
6885
6885
  deep: !0
6886
6886
  }
6887
- ), (r, i) => (p(), y(n(q), {
6887
+ ), (r, i) => (p(), y(n(H), {
6888
6888
  class: "v-raw-widget",
6889
6889
  title: o.value,
6890
6890
  subtitle: a.value,
@@ -6925,7 +6925,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
6925
6925
  const r = () => {
6926
6926
  s?.close();
6927
6927
  };
6928
- return e({ refresh: o }), (i, g) => (p(), y(n(q), {
6928
+ return e({ refresh: o }), (i, g) => (p(), y(n(H), {
6929
6929
  class: "v-docs-widget",
6930
6930
  size: "small",
6931
6931
  fit: "",
@@ -6957,14 +6957,14 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
6957
6957
  V("div", zi, "版本:" + F(n(Ra)), 1)
6958
6958
  ]));
6959
6959
  }
6960
- }), Wi = /* @__PURE__ */ E({
6960
+ }), Li = /* @__PURE__ */ E({
6961
6961
  name: "ProjectConfigWidget",
6962
6962
  __name: "index",
6963
6963
  setup(u) {
6964
6964
  const { project: e } = Re(), t = (l) => {
6965
6965
  e.value?.setConfig(l);
6966
6966
  };
6967
- return (l, s) => (p(), y(n(q), {
6967
+ return (l, s) => (p(), y(n(H), {
6968
6968
  class: "v-project-config-widget",
6969
6969
  title: "项目配置"
6970
6970
  }, {
@@ -6985,7 +6985,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
6985
6985
  v(n(T), {
6986
6986
  label: "Logo",
6987
6987
  name: "logo",
6988
- editor: Wt,
6988
+ editor: Lt,
6989
6989
  props: { attachment: { accept: ".png,.jpg,.jpeg" } }
6990
6990
  }),
6991
6991
  v(n(T), {
@@ -7012,7 +7012,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
7012
7012
  Toolbar: go,
7013
7013
  Actions: ho,
7014
7014
  Pages: Mo,
7015
- Blocks: Ho,
7015
+ Blocks: qo,
7016
7016
  Components: Ko,
7017
7017
  Outline: Qo,
7018
7018
  History: Yo,
@@ -7033,8 +7033,8 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
7033
7033
  Raw: Ii,
7034
7034
  Docs: Bi,
7035
7035
  About: Fi,
7036
- ProjectConfig: Wi
7037
- }, Li = [
7036
+ ProjectConfig: Li
7037
+ }, Wi = [
7038
7038
  {
7039
7039
  name: "Logo",
7040
7040
  region: "Brand",
@@ -7379,6 +7379,20 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
7379
7379
  required: !1,
7380
7380
  official: !0,
7381
7381
  enabled: !1
7382
+ },
7383
+ {
7384
+ package: "vant",
7385
+ version: "latest",
7386
+ library: "vant",
7387
+ urls: [
7388
+ "@vtj/materials/deps/vant/index.css",
7389
+ "@vtj/materials/deps/vant/vant.min.js"
7390
+ ],
7391
+ assetsUrl: "@vtj/materials/assets/vant/index.umd.js",
7392
+ assetsLibrary: "VantMaterial",
7393
+ required: !1,
7394
+ official: !0,
7395
+ enabled: !1
7382
7396
  }
7383
7397
  ], Ji = [
7384
7398
  {
@@ -7867,7 +7881,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
7867
7881
  }
7868
7882
  }
7869
7883
  }
7870
- ], Hi = [
7884
+ ], qi = [
7871
7885
  {
7872
7886
  name: _t,
7873
7887
  version: "latest",
@@ -7877,7 +7891,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
7877
7891
  categories: Ji,
7878
7892
  components: Ui
7879
7893
  }
7880
- ], qi = /* @__PURE__ */ E({
7894
+ ], Hi = /* @__PURE__ */ E({
7881
7895
  name: "StringSetter",
7882
7896
  __name: "string",
7883
7897
  setup(u) {
@@ -7945,7 +7959,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
7945
7959
  const e = u;
7946
7960
  return (t, l) => (p(), y(n(ul), ie({ clearable: "" }, t.$attrs), {
7947
7961
  default: b(() => [
7948
- (p(!0), j(O, null, L(e.options, (s) => (p(), y(n(cl), ie({
7962
+ (p(!0), j(O, null, W(e.options, (s) => (p(), y(n(cl), ie({
7949
7963
  key: s.label,
7950
7964
  ref_for: !0
7951
7965
  }, s), null, 16))), 128))
@@ -8148,7 +8162,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
8148
8162
  size: "small"
8149
8163
  }, t.$attrs), {
8150
8164
  default: b(() => [
8151
- (p(!0), j(O, null, L(e.options, (s) => (p(), y(n(nt), {
8165
+ (p(!0), j(O, null, W(e.options, (s) => (p(), y(n(nt), {
8152
8166
  label: s.label,
8153
8167
  value: s.value,
8154
8168
  title: s.label
@@ -8183,7 +8197,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
8183
8197
  class: "v-tag-setter",
8184
8198
  size: "small"
8185
8199
  }, a.$attrs), [
8186
- (p(!0), j(O, null, L(t.options, (r) => (p(), j("span", {
8200
+ (p(!0), j(O, null, W(t.options, (r) => (p(), j("span", {
8187
8201
  label: r.value,
8188
8202
  title: r.label,
8189
8203
  class: X({
@@ -8294,7 +8308,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
8294
8308
  l("change", s.value.join(" ").trim());
8295
8309
  };
8296
8310
  return (o, r) => (p(), j("div", iu, [
8297
- (p(!0), j(O, null, L(t.sections, (i) => (p(), y(Jn, {
8311
+ (p(!0), j(O, null, W(t.sections, (i) => (p(), y(Jn, {
8298
8312
  name: i - 1,
8299
8313
  modelValue: s.value[i - 1],
8300
8314
  "onUpdate:modelValue": (g) => s.value[i - 1] = g,
@@ -8338,7 +8352,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
8338
8352
  ]));
8339
8353
  }
8340
8354
  }), ee = {
8341
- StringSetter: qi,
8355
+ StringSetter: Hi,
8342
8356
  BooleanSetter: Gi,
8343
8357
  ExpressionSetter: Qi,
8344
8358
  SelectSetter: Yi,
@@ -8353,7 +8367,7 @@ const Eo = { class: "v-icon-setter" }, Do = { class: "v-icon-setter__content" },
8353
8367
  ImageSetter: ru,
8354
8368
  SectionSetter: uu,
8355
8369
  SliderSetter: du,
8356
- FileSetter: Wt
8370
+ FileSetter: Lt
8357
8371
  }, pu = {
8358
8372
  name: "StringSetter",
8359
8373
  component: ee.StringSetter,
@@ -8498,7 +8512,7 @@ class vu {
8498
8512
  }
8499
8513
  createWidgets() {
8500
8514
  const e = {};
8501
- for (const t of Li)
8515
+ for (const t of Wi)
8502
8516
  e[t.name] = t;
8503
8517
  return e;
8504
8518
  }
@@ -8665,9 +8679,9 @@ class bu {
8665
8679
  s.type = "module", s.src = t, s.onload = () => l && l(), e.document.head.appendChild(s);
8666
8680
  }
8667
8681
  async loadScripts(e, t) {
8668
- const l = this.engine?.project.value, { __BASE_PATH__: s = "/" } = l || {}, a = "", o = Date.now(), r = `${a}${s}${Wa}?t=${o}`;
8682
+ const l = this.engine?.project.value, { __BASE_PATH__: s = "/" } = l || {}, a = "", o = Date.now(), r = `${a}${s}${La}?t=${o}`;
8669
8683
  this.enabled === void 0 && (this.enabled = await this.checkDevtools(r)), this.enabled && this.createScript(e, r, () => {
8670
- const i = `${a}${s}${La}?t=${o}`;
8684
+ const i = `${a}${s}${Wa}?t=${o}`;
8671
8685
  this.isInited ? this.createScript(e, i, t) : t();
8672
8686
  });
8673
8687
  }
@@ -8759,14 +8773,14 @@ class _u {
8759
8773
  ), e.addEventListener("resize", this.bind(this.onViewChange, "onViewChange")), t.addEventListener("mouseleave", this.bind(this.onLeave, "onLeave")), t.addEventListener("dragleave", this.bind(this.onLeave, "onLeave")), t.addEventListener("dragover", this.bind(this.onDragOver, "onDragOver")), t.addEventListener(
8760
8774
  "dragstart",
8761
8775
  this.bind(this.onDragStart, "onDragStart")
8762
- ), t.addEventListener("drop", this.bind(this.onDrop, "onDrop")), t.addEventListener(
8776
+ ), t.addEventListener("dragend", this.bind(this.onDragEnd, "onDragEnd")), t.addEventListener("drop", this.bind(this.onDrop, "onDrop")), t.addEventListener(
8763
8777
  "click",
8764
8778
  this.bind(this.onSelected, "onSelected"),
8765
8779
  !0
8766
8780
  ), ne.on(
8767
8781
  wt,
8768
8782
  this.bind(this.onActiveChange, "onActiveChange")
8769
- ), ne.on(He, this.bind(this.onViewChange, "onViewChange")), J(
8783
+ ), ne.on(qe, this.bind(this.onViewChange, "onViewChange")), J(
8770
8784
  this.devtools.isOpen,
8771
8785
  (l) => {
8772
8786
  l && this.cleanHelper();
@@ -8790,11 +8804,11 @@ class _u {
8790
8804
  ), t.removeEventListener(
8791
8805
  "dragstart",
8792
8806
  this.bind(this.onDragStart, "onDragStart")
8793
- ), t.removeEventListener("drop", this.bind(this.onDrop, "onDrop")), t.removeEventListener("click", this.bind(this.onSelected, "onSelected")), ne.off(
8807
+ ), t.removeEventListener("dragend", this.bind(this.onDragEnd, "onDragEnd")), t.removeEventListener("drop", this.bind(this.onDrop, "onDrop")), t.removeEventListener("click", this.bind(this.onSelected, "onSelected")), ne.off(
8794
8808
  wt,
8795
8809
  this.bind(this.onActiveChange, "onActiveChange")
8796
8810
  ), ne.off(
8797
- He,
8811
+ qe,
8798
8812
  this.bind(this.onViewChange, "onViewChange")
8799
8813
  );
8800
8814
  }
@@ -8877,6 +8891,9 @@ class _u {
8877
8891
  const { model: l } = t, s = this.engine.assets.componentMap.get(l.name);
8878
8892
  s && this.setDragging(s), this.setDraggingNode(l);
8879
8893
  }
8894
+ onDragEnd() {
8895
+ this.setDraggingNode(null), this.setDragging(null);
8896
+ }
8880
8897
  isVtjElement(e) {
8881
8898
  return !!e.__vtj__ && !!e.__context__;
8882
8899
  }
@@ -9080,7 +9097,7 @@ class wu {
9080
9097
  } catch (f) {
9081
9098
  le(f.message || "未知错误", "运行时错误"), console.error(f);
9082
9099
  }
9083
- this.context = d, ne.on(He, this.nodeChange), ne.on(kt, this.blockChange);
9100
+ this.context = d, ne.on(qe, this.nodeChange), ne.on(kt, this.blockChange);
9084
9101
  }
9085
9102
  dispose() {
9086
9103
  if (this.app) {
@@ -9088,7 +9105,7 @@ class wu {
9088
9105
  const e = this.app._container;
9089
9106
  e && e.parentNode && (e.parentNode.removeChild(e), this.app._container = null), this.app = null;
9090
9107
  }
9091
- this.dsl = null, this.context = null, ne.off(He, this.nodeChange), ne.off(kt, this.blockChange);
9108
+ this.dsl = null, this.context = null, ne.off(qe, this.nodeChange), ne.off(kt, this.blockChange);
9092
9109
  }
9093
9110
  updateChild(e, t) {
9094
9111
  const l = t.children || t.nodes || [];
@@ -9173,12 +9190,12 @@ class ku extends wn {
9173
9190
  background: #fff;
9174
9191
  }
9175
9192
  </style>
9176
- ${Hl(r)}
9193
+ ${ql(r)}
9177
9194
  </head>
9178
9195
  <body>
9179
9196
  </body>
9180
- ${Ht(o)}
9181
- ${Ht(i)}
9197
+ ${qt(o)}
9198
+ ${qt(i)}
9182
9199
  <script>
9183
9200
  __simulator__.emitReady(${JSON.stringify(g)},
9184
9201
  ${JSON.stringify(d)},
@@ -9216,17 +9233,17 @@ class ku extends wn {
9216
9233
  if (I.name === _t)
9217
9234
  z.forEach((R) => {
9218
9235
  const P = _.get(R), B = P?.package || "", D = Pl[B], G = m[D];
9219
- G && P && (h[R] = qt(P, G));
9236
+ G && P && (h[R] = Ht(P, G));
9220
9237
  });
9221
9238
  else {
9222
9239
  const R = m[l[I.library || ""]];
9223
9240
  R && z.forEach((P) => {
9224
9241
  const B = _.get(P);
9225
- B ? h[P] = qt(B, R) : h[P] = R[P];
9242
+ B ? h[P] = Ht(B, R) : h[P] = R[P];
9226
9243
  });
9227
9244
  }
9228
9245
  }
9229
- const { adapter: w, globals: x } = d, C = ql(
9246
+ const { adapter: w, globals: x } = d, C = Hl(
9230
9247
  i.value?.apis,
9231
9248
  i.value?.meta,
9232
9249
  w
@@ -9294,7 +9311,7 @@ class Su {
9294
9311
  return t;
9295
9312
  }
9296
9313
  load(e) {
9297
- const t = [...Hi, ...e].filter((l) => !!l);
9314
+ const t = [...qi, ...e].filter((l) => !!l);
9298
9315
  t.sort((l, s) => l.order - s.order);
9299
9316
  for (let l of t)
9300
9317
  l.components && (this.components = this.components.concat(l.components));
@@ -9400,7 +9417,7 @@ class ic extends wn {
9400
9417
  Ve.warn("VTJEngine constructor param [ container ] is undefined");
9401
9418
  }
9402
9419
  bindEvents() {
9403
- ne.on(Tl, (t) => this.saveProject(t)), ne.on(Bl, (t) => this.saveBlockFile(t)), ne.on(Rl, (t) => this.saveBlockFile(t)), ne.on($l, () => this.saveMaterials()), ne.on(wt, (t) => this.activeFile(t)), ne.on(Ol, () => this.publish()), ne.on(zl, () => this.publishCurrent()), ne.on(kt, (t) => this.changeFile(t)), ne.on(He, () => this.changeCurrentFile()), ne.on(Fl, (t) => this.saveHistory(t)), ne.on(Wl, (t) => this.loadHistory(t));
9420
+ ne.on(Tl, (t) => this.saveProject(t)), ne.on(Bl, (t) => this.saveBlockFile(t)), ne.on(Rl, (t) => this.saveBlockFile(t)), ne.on($l, () => this.saveMaterials()), ne.on(wt, (t) => this.activeFile(t)), ne.on(Ol, () => this.publish()), ne.on(zl, () => this.publishCurrent()), ne.on(kt, (t) => this.changeFile(t)), ne.on(qe, () => this.changeCurrentFile()), ne.on(Fl, (t) => this.saveHistory(t)), ne.on(Ll, (t) => this.loadHistory(t));
9404
9421
  }
9405
9422
  async activeFile(t) {
9406
9423
  await ke();
@@ -9472,7 +9489,7 @@ class ic extends wn {
9472
9489
  async initHistory(t) {
9473
9490
  if (t) {
9474
9491
  const l = await this.service.getHistory(t.id).catch(() => null);
9475
- this.history.value = new Ll(
9492
+ this.history.value = new Wl(
9476
9493
  Object.assign(l || {}, { id: t.id })
9477
9494
  );
9478
9495
  } else
@@ -9817,7 +9834,7 @@ const Ee = E({
9817
9834
  isPreview: l
9818
9835
  }), (C, I) => (p(), y(n(gl), { locale: n(yl) }, {
9819
9836
  default: b(() => [
9820
- v(n(Lt), { class: "v-skeleton" }, {
9837
+ v(n(Wt), { class: "v-skeleton" }, {
9821
9838
  default: b(() => [
9822
9839
  v(n(fl), {
9823
9840
  class: "v-skeleton__header",
@@ -9843,7 +9860,7 @@ const Ee = E({
9843
9860
  ]),
9844
9861
  _: 1
9845
9862
  }, 8, ["height"]),
9846
- v(n(Lt), { class: "v-skeleton__wrapper" }, {
9863
+ v(n(Wt), { class: "v-skeleton__wrapper" }, {
9847
9864
  default: b(() => [
9848
9865
  l.value ? A("", !0) : De((p(), y(n(Nt), {
9849
9866
  key: 0,
@@ -10040,7 +10057,7 @@ const Ee = E({
10040
10057
  dropdown: b(() => [
10041
10058
  v(n(mn), null, {
10042
10059
  default: b(() => [
10043
- (p(!0), j(O, null, L(t.setters, (I) => (p(), y(n(ht), {
10060
+ (p(!0), j(O, null, W(t.setters, (I) => (p(), y(n(ht), {
10044
10061
  command: I,
10045
10062
  key: I.name
10046
10063
  }, {
@@ -10106,7 +10123,7 @@ const Ee = E({
10106
10123
  widgets: l,
10107
10124
  widgetsRef: s
10108
10125
  }), (a, o) => (p(), j("div", Ru, [
10109
- (p(!0), j(O, null, L(n(l), (r) => (p(), y(n(Ie), {
10126
+ (p(!0), j(O, null, W(n(l), (r) => (p(), y(n(Ie), {
10110
10127
  ref_for: !0,
10111
10128
  ref_key: "widgetsRef",
10112
10129
  ref: s,
@@ -10128,7 +10145,7 @@ const Ee = E({
10128
10145
  widgets: l,
10129
10146
  widgetsRef: s
10130
10147
  }), (a, o) => (p(), j("div", Ou, [
10131
- (p(!0), j(O, null, L(n(l), (r) => (p(), y(n(Ie), {
10148
+ (p(!0), j(O, null, W(n(l), (r) => (p(), y(n(Ie), {
10132
10149
  ref_for: !0,
10133
10150
  ref_key: "widgetsRef",
10134
10151
  ref: s,
@@ -10138,7 +10155,7 @@ const Ee = E({
10138
10155
  }, null, 8, ["region", "widget", "preview"]))), 256))
10139
10156
  ]));
10140
10157
  }
10141
- }), Fu = { class: "v-actions-region" }, Wu = /* @__PURE__ */ E({
10158
+ }), Fu = { class: "v-actions-region" }, Lu = /* @__PURE__ */ E({
10142
10159
  name: "ActionsRegion",
10143
10160
  inheritAttrs: !1,
10144
10161
  __name: "actions",
@@ -10151,7 +10168,7 @@ const Ee = E({
10151
10168
  widgets: l,
10152
10169
  widgetsRef: s
10153
10170
  }), (a, o) => (p(), j("div", Fu, [
10154
- (p(!0), j(O, null, L(n(l), (r) => (p(), y(n(Ie), {
10171
+ (p(!0), j(O, null, W(n(l), (r) => (p(), y(n(Ie), {
10155
10172
  ref_for: !0,
10156
10173
  ref_key: "widgetsRef",
10157
10174
  ref: s,
@@ -10160,7 +10177,7 @@ const Ee = E({
10160
10177
  }, null, 8, ["region", "widget"]))), 256))
10161
10178
  ]));
10162
10179
  }
10163
- }), Lu = { class: "v-apps-region" }, Nu = { class: "v-apps-region__header" }, Ju = { class: "v-apps-region__top" }, Mu = { class: "v-apps-region__bottom" }, Uu = { class: "v-apps-region__panels" }, Hu = /* @__PURE__ */ E({
10180
+ }), Wu = { class: "v-apps-region" }, Nu = { class: "v-apps-region__header" }, Ju = { class: "v-apps-region__top" }, Mu = { class: "v-apps-region__bottom" }, Uu = { class: "v-apps-region__panels" }, qu = /* @__PURE__ */ E({
10164
10181
  name: "AppsRegion",
10165
10182
  inheritAttrs: !1,
10166
10183
  __name: "apps",
@@ -10188,10 +10205,10 @@ const Ee = E({
10188
10205
  const _ = o.value.find((w) => w.name === c);
10189
10206
  g.value = _, d.value = _;
10190
10207
  }
10191
- }), (c, _) => (p(), j("div", Lu, [
10208
+ }), (c, _) => (p(), j("div", Wu, [
10192
10209
  V("div", Nu, [
10193
10210
  V("div", Ju, [
10194
- (p(!0), j(O, null, L(o.value, (w) => (p(), y(n(en), {
10211
+ (p(!0), j(O, null, W(o.value, (w) => (p(), y(n(en), {
10195
10212
  key: `icon-${w.name}`,
10196
10213
  icon: w.icon,
10197
10214
  label: w.label,
@@ -10201,7 +10218,7 @@ const Ee = E({
10201
10218
  }, null, 8, ["icon", "label", "active", "open", "onClick"]))), 128))
10202
10219
  ]),
10203
10220
  V("div", Mu, [
10204
- (p(!0), j(O, null, L(r.value, (w) => (p(), y(n(en), {
10221
+ (p(!0), j(O, null, W(r.value, (w) => (p(), y(n(en), {
10205
10222
  key: `icon-${w.name}`,
10206
10223
  icon: w.icon,
10207
10224
  label: w.label,
@@ -10210,7 +10227,7 @@ const Ee = E({
10210
10227
  ])
10211
10228
  ]),
10212
10229
  V("div", Uu, [
10213
- (p(!0), j(O, null, L(o.value, (w) => (p(), y(cn, {
10230
+ (p(!0), j(O, null, W(o.value, (w) => (p(), y(cn, {
10214
10231
  key: w.name
10215
10232
  }, [
10216
10233
  g.value?.name === w.name ? (p(), y(n(Ie), {
@@ -10225,7 +10242,7 @@ const Ee = E({
10225
10242
  ])
10226
10243
  ]));
10227
10244
  }
10228
- }), qu = /* @__PURE__ */ E({
10245
+ }), Hu = /* @__PURE__ */ E({
10229
10246
  name: "WorkspaceRegion",
10230
10247
  __name: "workspace",
10231
10248
  props: {
@@ -10282,7 +10299,7 @@ const Ee = E({
10282
10299
  onActionClick: h
10283
10300
  }, {
10284
10301
  default: b(() => [
10285
- (p(!0), j(O, null, L(n(l), (w) => (p(), j(O, {
10302
+ (p(!0), j(O, null, W(n(l), (w) => (p(), j(O, {
10286
10303
  key: w.name
10287
10304
  }, [
10288
10305
  i.value === w.name ? (p(), y(n(Ie), {
@@ -10399,7 +10416,7 @@ const Ee = E({
10399
10416
  onActionClick: _
10400
10417
  }, {
10401
10418
  default: b(() => [
10402
- (p(!0), j(O, null, L(n(i), (C) => (p(), j(O, {
10419
+ (p(!0), j(O, null, W(n(i), (C) => (p(), j(O, {
10403
10420
  key: C.name
10404
10421
  }, [
10405
10422
  d.value === C.name ? (p(), y(n(Ie), {
@@ -10443,7 +10460,7 @@ const Ee = E({
10443
10460
  widgets: l,
10444
10461
  widgetsRef: s
10445
10462
  }), (a, o) => (p(), j("div", Xu, [
10446
- (p(!0), j(O, null, L(n(l), (r) => (p(), y(n(Ie), {
10463
+ (p(!0), j(O, null, W(n(l), (r) => (p(), y(n(Ie), {
10447
10464
  ref_for: !0,
10448
10465
  ref_key: "widgetsRef",
10449
10466
  ref: s,
@@ -10479,7 +10496,7 @@ const Ee = E({
10479
10496
  "onUpdate:modelValue": g[0] || (g[0] = (d) => r.value = d)
10480
10497
  }, {
10481
10498
  default: b(() => [
10482
- (p(!0), j(O, null, L(n(l), (d) => (p(), y(cn, {
10499
+ (p(!0), j(O, null, W(n(l), (d) => (p(), y(cn, {
10483
10500
  key: d.name
10484
10501
  }, [
10485
10502
  r.value === d.name ? (p(), y(n(Ie), {
@@ -10499,9 +10516,9 @@ const Ee = E({
10499
10516
  EmptyRegion: Bu,
10500
10517
  Brand: $u,
10501
10518
  Toolbar: zu,
10502
- Actions: Wu,
10503
- Apps: Hu,
10504
- Workspace: qu,
10519
+ Actions: Lu,
10520
+ Apps: qu,
10521
+ Workspace: Hu,
10505
10522
  Settings: Gu,
10506
10523
  Status: Ku,
10507
10524
  Preview: Qu
@@ -10524,7 +10541,7 @@ export {
10524
10541
  $a as MOUSE_EVENT_LIST,
10525
10542
  we as NAME_REGEX,
10526
10543
  Xt as PAD_SIZE,
10527
- q as Panel,
10544
+ H as Panel,
10528
10545
  Na as RegionType,
10529
10546
  Ee as RegionWrapper,
10530
10547
  wu as Renderer,
@@ -10537,17 +10554,17 @@ export {
10537
10554
  ct as Tabs,
10538
10555
  Ra as VTJ_DESIGNER_VERSION,
10539
10556
  Kt as VUE_DEVTOOLS_FRAME_STATE_KEY,
10540
- La as VUE_DEVTOOLS_OVERLAY_PATH,
10541
- Wa as VUE_DEVTOOLS_PATH,
10557
+ Wa as VUE_DEVTOOLS_OVERLAY_PATH,
10558
+ La as VUE_DEVTOOLS_PATH,
10542
10559
  br as VariableBinder,
10543
- Lo as Viewer,
10544
- Wn as Viewport,
10560
+ Wo as Viewer,
10561
+ Ln as Viewport,
10545
10562
  he as WidgetGroup,
10546
10563
  Ie as WidgetWrapper,
10547
10564
  Ni as builtInDeps,
10548
- Hi as builtInMaterials,
10565
+ qi as builtInMaterials,
10549
10566
  mu as builtInSetters,
10550
- Li as builtInWidgets,
10567
+ Wi as builtInWidgets,
10551
10568
  Fe as confirm,
10552
10569
  yu as createSlotsPicker,
10553
10570
  pu as defaultSetter,