@vtj/designer 0.12.2 → 0.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
1
  var tl = Object.defineProperty;
2
2
  var nl = (r, t, e) => t in r ? tl(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
3
- var Q = (r, t, e) => nl(r, typeof t != "symbol" ? t + "" : t, e);
4
- import { computed as V, unref as n, ref as C, watch as Z, reactive as zt, toValue as it, shallowRef as mt, shallowReadonly as sl, onMounted as nn, nextTick as at, getCurrentScope as ol, onScopeDispose as al, getCurrentInstance as As, toRaw as Ao, defineComponent as $, createElementBlock as R, openBlock as u, toDisplayString as ne, createVNode as p, withCtx as h, createElementVNode as T, createBlock as y, createCommentVNode as I, createTextVNode as X, mergeProps as Pe, h as Ut, Fragment as q, renderList as se, normalizeClass as pe, defineAsyncComponent as ll, resolveDynamicComponent as Vo, createSlots as To, renderSlot as At, withDirectives as Ot, vShow as Zt, withModifiers as lt, isRef as Mn, normalizeStyle as cn, inject as Vs, provide as il, withKeys as yt, normalizeProps as Ro, guardReactiveProps as Io, onUnmounted as Ts, markRaw as ws, createApp as jo, shallowReactive as rl, triggerRef as Mt, KeepAlive as Oo } from "vue";
5
- import { ElNotification as Rs, ElMessage as wt, ElMessageBox as Vt, ElButton as ve, ElDivider as rt, ElInput as Me, ElRadioGroup as Do, ElRadioButton as _n, ElButtonGroup as cl, ElSwitch as Is, ElImage as $o, ElDropdown as No, ElDropdownMenu as Po, ElDropdownItem as Nn, ElEmpty as De, ElAlert as Ft, ElTooltip as Mo, ElTag as js, ElTree as Os, ElCollapse as Hn, ElCollapseItem as Gn, ElRow as Bn, ElCol as Ln, ElDrawer as Ds, ElForm as et, ElFormItem as un, ElBreadcrumb as ul, ElBreadcrumbItem as dl, ElLoading as pl, ElBadge as ml, ElAvatar as qn, vLoading as vl, ElSelect as Bo, ElOption as Lo, ElCheckbox as gl, ElDialog as fl, ElSteps as hl, ElStep as ps, ElInputNumber as bl, ElColorPicker as yl, ElUpload as _l, ElSlider as wl, ElConfigProvider as kl, ElContainer as io, ElHeader as Sl, ElAside as ro, ElMain as xl, ElFooter as Cl } from "element-plus";
3
+ var X = (r, t, e) => nl(r, typeof t != "symbol" ? t + "" : t, e);
4
+ import { computed as V, unref as n, ref as C, watch as Z, reactive as zt, toValue as it, shallowRef as mt, shallowReadonly as sl, onMounted as tn, nextTick as at, getCurrentScope as ol, onScopeDispose as al, getCurrentInstance as As, toRaw as Ao, defineComponent as $, createElementBlock as R, openBlock as u, toDisplayString as ne, createVNode as p, withCtx as h, createElementVNode as T, createBlock as y, createCommentVNode as I, createTextVNode as Q, mergeProps as Pe, h as Ut, Fragment as q, renderList as se, normalizeClass as pe, defineAsyncComponent as ll, resolveDynamicComponent as Vo, createSlots as To, renderSlot as At, withDirectives as Ot, vShow as Zt, withModifiers as lt, isRef as Mn, normalizeStyle as rn, inject as Vs, provide as il, withKeys as yt, normalizeProps as Ro, guardReactiveProps as Io, onUnmounted as Ts, markRaw as ws, createApp as jo, shallowReactive as rl, triggerRef as Mt, KeepAlive as Oo } from "vue";
5
+ import { ElNotification as Rs, ElMessage as wt, ElMessageBox as Vt, ElButton as ve, ElDivider as rt, ElInput as Me, ElRadioGroup as Do, ElRadioButton as _n, ElButtonGroup as cl, ElSwitch as Is, ElImage as $o, ElDropdown as No, ElDropdownMenu as Po, ElDropdownItem as Nn, ElEmpty as Re, ElAlert as Ft, ElTooltip as Mo, ElTag as js, ElTree as Os, ElCollapse as Hn, ElCollapseItem as Gn, ElRow as Bn, ElCol as Ln, ElDrawer as Ds, ElForm as et, ElFormItem as cn, ElBreadcrumb as ul, ElBreadcrumbItem as dl, ElLoading as pl, ElBadge as ml, ElAvatar as qn, vLoading as vl, ElSelect as Bo, ElOption as Lo, ElCheckbox as gl, ElDialog as fl, ElSteps as hl, ElStep as ps, ElInputNumber as bl, ElColorPicker as yl, ElUpload as _l, ElSlider as wl, ElConfigProvider as kl, ElContainer as io, ElHeader as Sl, ElAside as ro, ElMain as xl, ElFooter as Cl } from "element-plus";
6
6
  import El from "element-plus/es/locale/lang/zh-cn";
7
7
  import { XDialogForm as Rt, XField as F, createDialog as zo, XIcon as Tt, XDialog as kt, XPanel as Kn, XAction as Ve, XTabs as Xn, XContainer as de, XForm as $s, XAttachment as Al, XActionBar as Uo, XInputUnit as Fo, vResizable as co } from "@vtj/ui";
8
- import { kebabCase as Vl, jsonp as Lt, groupBy as kn, storage as pn, delay as en, dataURLtoBlob as Tl, upperFirstCamelCase as Wo, toRawType as ms, cloneDeep as En, logger as Dt, isPlainObject as Rl, fileToBase64 as Il, merge as Ns, toArray as Ps, debounce as Jo, uuid as jl, getClientInfo as Ol, base64 as Dl, arrayToMap as $l } from "@vtj/utils";
9
- import { BUILT_IN_NAME as zn, isBlock as Te, DirectiveModel as Ho, createNodeFrom as Nl, BUILT_IN_VUE as uo, BUILT_IN_VUE_ROUTER as Pl, emitter as Oe, EVENT_PROJECT_ACTIVED as ks, EVENT_NODE_CHANGE as Sn, NodeModel as vs, EVENT_BLOCK_CHANGE as Ss, Base as Go, BUILT_IN_LIBRARAY_MAP as Ml, ProjectModel as Bl, EVENT_PROJECT_CHANGE as Ll, EVENT_PROJECT_BLOCKS_CHANGE as zl, EVENT_PROJECT_PAGES_CHANGE as Ul, EVENT_PROJECT_DEPS_CHANGE as Fl, EVENT_PROJECT_PUBLISH as Wl, EVENT_PROJECT_FILE_PUBLISH as Jl, EVENT_HISTORY_CHANGE as Hl, EVENT_HISTORY_LOAD as Gl, EVENT_PROJECT_GEN_SOURCE as ql, BlockModel as gs, HistoryModel as Kl } from "@vtj/core";
10
- import { parseExpression as xn, parseFunction as qo, BUILT_IN_DIRECTIVES as Xl, JSCodeToString as mn, LIFE_CYCLES_LIST as Ql, DATA_TYPES as Yl, createMock as Zl, isJSExpression as tn, ContextMode as Ko, clearLoaderCache as ei, parseDeps as ti, createAssetsCss as ni, createAssetScripts as po, getRawComponent as mo, createSchemaApis as si, mockCleanup as oi, mockApis as ai, Provider as li, Access as ii, isJSFunction as ri } from "@vtj/renderer";
11
- import { VtjIconBack as ci, VtjIconPc as ui, VtjIconPhone as di, VtjIconPad as pi, VtjIconEdit as Ms, VtjIconUndo as mi, VtjIconRedo as vi, VtjIconTemplate as Un, VtjIconPreview as gi, VtjIconRefresh as Xo, VtjIconSetting as Qo, VtjIconAi as Bs, Download as Fn, VtjIconPublish as fi, VtjIconProject as hi, icons as xs, ArrowDown as Qn, Search as sn, CopyDocument as Yo, Back as bi, VtjIconPlus as Zo, EditPen as yi, Delete as ea, VtjIconSave as _i, ArrowUp as ta, MoreFilled as gn, VtjIconCheck as na, VtjIconComponents as sa, VtjIconShare as wi, VtjIconHome as ki, VtjIconVisible as Si, VtjIconInvisible as oa, VtjIconUnlock as xi, VtjIconLock as aa, VtjIconRemove as Yn, VtjIconCopy as Ls, Files as Ci, VtjIconSearch as Ei, VtjIconHelp as la, VtjIconLayers as ia, Rank as Ai, VtjIconArrowUp as Vi, VtjIconArrowDown as Ti, IconDisplayBlock as Ri, IconDisplayFlex as Ii, IconDisplayInlineBlock as ji, IconDisplayInline as Oi, IconEyeInvisible as Di, IconFlexDirectionrow as $i, IconFlexDirectionrowReverse as Ni, IconFlexDirectioncolumn as Pi, IconFlexDirectioncolumnReverse as Mi, IconFlexJustifyflexStartrow as Bi, IconFlexJustifyflexEndrow as Li, IconFlexJustifycenterrow as zi, IconFlexJustifyspaceBetweenrow as Ui, IconFlexJustifyspaceAroundrow as Fi, IconFlexAlignflexStartrow as Wi, IconFlexAlignflexEndrow as Ji, IconFlexAligncenterrow as Hi, IconFlexAlignbaselinerow as Gi, IconFlexAlignstretchrow as qi, IconPositionTopLeft as Ki, IconPositionTopRight as Xi, IconPositionBottomLeft as Qi, IconPositionBottomRight as Yi, IconPositionLeft as Zi, IconPositionRight as er, IconPositionTop as tr, IconPositionBottom as nr, IconPositionAll as sr, IconTextAlignLeft as or, IconTextAlignCenter as ar, IconTextAlignRight as lr, IconTextAlignJustify as ir, IconFontStyleNone as rr, IconFontStyleItalic as cr, IconCross as ra, IconTextDecorationUnderline as ur, IconTextDecorationStrike as dr, IconTextDecorationOverline as pr, IconTileXy as mr, IconTileX as vr, IconTileY as gr, IconClose as fr, IconBorderAll as hr, IconBorderLeft as br, IconBorderTop as yr, IconBorderBottom as _r, IconBorderRight as wr, IconBorderStyleSolid as kr, IconBorderStyleDashed as Sr, IconBorderStyleDotted as xr, IconCursorAuto as Cr, IconCursorPointer as Er, IconCursorNotAllowed as Ar, IconCursorNone as Vr, ArrowRight as Tr, UserFilled as zs, VtjIconInfo as Rr, VtjIconNewChat as ca, Promotion as Ir, ArrowDownBold as jr, ArrowUpBold as Or, Refresh as Dr, View as ua, ShoppingCart as $r, Finished as Nr, Hide as Pr, Top as Mr, Bottom as Br, VtjIconChatRecord as Lr, VtjIconClose as zr, VtjIconDocument as Ur, VtjIconBlock as Fr, VtjIconOutline as Wr, VtjIconHistory as Jr, VtjIconApi as Hr, VtjIconCategory as Gr, VtjIconUniapp as qr, HomeFilled as Kr, Plus as Xr, Close as Qr, VtjIconVars as Yr, VtjIconSwitch as Zr, Switch as ec } from "@vtj/icons";
8
+ import { kebabCase as Vl, jsonp as Lt, groupBy as kn, storage as dn, delay as pn, dataURLtoBlob as Tl, upperFirstCamelCase as Wo, toRawType as ms, cloneDeep as En, logger as Dt, isPlainObject as Rl, fileToBase64 as Il, merge as Ns, toArray as Ps, debounce as Jo, uuid as jl, getClientInfo as Ol, base64 as Dl, arrayToMap as $l } from "@vtj/utils";
9
+ import { BUILT_IN_NAME as zn, isBlock as Te, DirectiveModel as Ho, createNodeFrom as Nl, BUILT_IN_VUE as uo, BUILT_IN_VUE_ROUTER as Pl, emitter as De, EVENT_PROJECT_ACTIVED as ks, EVENT_NODE_CHANGE as Sn, NodeModel as vs, EVENT_BLOCK_CHANGE as Ss, Base as Go, BUILT_IN_LIBRARAY_MAP as Ml, ProjectModel as Bl, EVENT_PROJECT_CHANGE as Ll, EVENT_PROJECT_BLOCKS_CHANGE as zl, EVENT_PROJECT_PAGES_CHANGE as Ul, EVENT_PROJECT_DEPS_CHANGE as Fl, EVENT_PROJECT_PUBLISH as Wl, EVENT_PROJECT_FILE_PUBLISH as Jl, EVENT_HISTORY_CHANGE as Hl, EVENT_HISTORY_LOAD as Gl, EVENT_PROJECT_GEN_SOURCE as ql, BlockModel as gs, HistoryModel as Kl } from "@vtj/core";
10
+ import { parseExpression as xn, parseFunction as qo, BUILT_IN_DIRECTIVES as Xl, JSCodeToString as mn, LIFE_CYCLES_LIST as Ql, DATA_TYPES as Yl, createMock as Zl, isJSExpression as en, ContextMode as Ko, clearLoaderCache as ei, parseDeps as ti, createAssetsCss as ni, createAssetScripts as po, getRawComponent as mo, createSchemaApis as si, mockCleanup as oi, mockApis as ai, Provider as li, Access as ii, isJSFunction as ri } from "@vtj/renderer";
11
+ import { VtjIconBack as ci, VtjIconPc as ui, VtjIconPhone as di, VtjIconPad as pi, VtjIconEdit as Ms, VtjIconUndo as mi, VtjIconRedo as vi, VtjIconTemplate as Un, VtjIconPreview as gi, VtjIconRefresh as Xo, VtjIconSetting as Qo, VtjIconAi as Bs, Download as Fn, VtjIconPublish as fi, VtjIconProject as hi, icons as xs, ArrowDown as Qn, Search as nn, CopyDocument as Yo, Back as bi, VtjIconPlus as Zo, EditPen as yi, Delete as ea, VtjIconSave as _i, ArrowUp as ta, MoreFilled as gn, VtjIconCheck as na, VtjIconComponents as sa, VtjIconShare as wi, VtjIconHome as ki, VtjIconVisible as Si, VtjIconInvisible as oa, VtjIconUnlock as xi, VtjIconLock as aa, VtjIconRemove as Yn, VtjIconCopy as Ls, Files as Ci, VtjIconSearch as Ei, VtjIconHelp as la, VtjIconLayers as ia, Rank as Ai, VtjIconArrowUp as Vi, VtjIconArrowDown as Ti, IconDisplayBlock as Ri, IconDisplayFlex as Ii, IconDisplayInlineBlock as ji, IconDisplayInline as Oi, IconEyeInvisible as Di, IconFlexDirectionrow as $i, IconFlexDirectionrowReverse as Ni, IconFlexDirectioncolumn as Pi, IconFlexDirectioncolumnReverse as Mi, IconFlexJustifyflexStartrow as Bi, IconFlexJustifyflexEndrow as Li, IconFlexJustifycenterrow as zi, IconFlexJustifyspaceBetweenrow as Ui, IconFlexJustifyspaceAroundrow as Fi, IconFlexAlignflexStartrow as Wi, IconFlexAlignflexEndrow as Ji, IconFlexAligncenterrow as Hi, IconFlexAlignbaselinerow as Gi, IconFlexAlignstretchrow as qi, IconPositionTopLeft as Ki, IconPositionTopRight as Xi, IconPositionBottomLeft as Qi, IconPositionBottomRight as Yi, IconPositionLeft as Zi, IconPositionRight as er, IconPositionTop as tr, IconPositionBottom as nr, IconPositionAll as sr, IconTextAlignLeft as or, IconTextAlignCenter as ar, IconTextAlignRight as lr, IconTextAlignJustify as ir, IconFontStyleNone as rr, IconFontStyleItalic as cr, IconCross as ra, IconTextDecorationUnderline as ur, IconTextDecorationStrike as dr, IconTextDecorationOverline as pr, IconTileXy as mr, IconTileX as vr, IconTileY as gr, IconClose as fr, IconBorderAll as hr, IconBorderLeft as br, IconBorderTop as yr, IconBorderBottom as _r, IconBorderRight as wr, IconBorderStyleSolid as kr, IconBorderStyleDashed as Sr, IconBorderStyleDotted as xr, IconCursorAuto as Cr, IconCursorPointer as Er, IconCursorNotAllowed as Ar, IconCursorNone as Vr, ArrowRight as Tr, UserFilled as zs, VtjIconInfo as Rr, VtjIconNewChat as ca, Promotion as Ir, ArrowDownBold as jr, ArrowUpBold as Or, Refresh as Dr, View as ua, ShoppingCart as $r, Finished as Nr, Hide as Pr, Top as Mr, Bottom as Br, VtjIconChatRecord as Lr, VtjIconClose as zr, VtjIconDocument as Ur, VtjIconBlock as Fr, VtjIconOutline as Wr, VtjIconHistory as Jr, VtjIconApi as Hr, VtjIconCategory as Gr, VtjIconUniapp as qr, HomeFilled as Kr, Plus as Xr, Close as Qr, VtjIconVars as Yr, VtjIconSwitch as Zr, Switch as ec } from "@vtj/icons";
12
12
  import tc from "html2canvas";
13
13
  import da from "mockjs";
14
14
  import { PAGE_LIFE_CYCLES_LIST as nc, APP_LIFE_CYCLE as sc, createUniAppComponent as oc, setupUniApp as ac } from "@vtj/uni";
@@ -18,10 +18,10 @@ import { editor as lc } from "monaco-editor";
18
18
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
19
19
  * @name @vtj/designer
20
20
  * @author CHC chenhuachun1549@dingtalk.com
21
- * @version 0.12.2
21
+ * @version 0.12.4
22
22
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
23
23
  */
24
- const Cn = "0.12.2", ic = {
24
+ const Cn = "0.12.4", ic = {
25
25
  width: 390,
26
26
  height: 844
27
27
  }, rc = {
@@ -513,7 +513,7 @@ function Rc(r) {
513
513
  isExist: a
514
514
  };
515
515
  }
516
- function dn(r, t) {
516
+ function un(r, t) {
517
517
  return Vt.alert(r, {
518
518
  title: "提示",
519
519
  type: "warning",
@@ -598,7 +598,7 @@ function ma() {
598
598
  backwardDisabled: c
599
599
  };
600
600
  }
601
- function on() {
601
+ function sn() {
602
602
  const r = Be(), t = V(() => r.project.value);
603
603
  return {
604
604
  engine: r,
@@ -731,7 +731,7 @@ function Nc(r) {
731
731
  };
732
732
  }
733
733
  function Pc() {
734
- const { engine: r, project: t } = on(), e = V(() => t.value?.apis || []), s = V(() => t.value?.meta || []);
734
+ const { engine: r, project: t } = sn(), e = V(() => t.value?.apis || []), s = V(() => t.value?.meta || []);
735
735
  return {
736
736
  engine: r,
737
737
  project: t,
@@ -838,7 +838,7 @@ function Ht() {
838
838
  },
839
839
  body: JSON.stringify(z)
840
840
  }).then((te) => te.json()).catch(() => null);
841
- return P?.success || await dn(P.message || "未知错误"), P;
841
+ return P?.success || await un(P.message || "未知错误"), P;
842
842
  },
843
843
  getChats: async (z) => {
844
844
  if (s?.getChats)
@@ -866,7 +866,7 @@ function Ht() {
866
866
  },
867
867
  body: JSON.stringify(z)
868
868
  }).then((te) => te.json()).catch(() => null);
869
- return P?.success || await dn(P.message || "未知错误"), P;
869
+ return P?.success || await un(P.message || "未知错误"), P;
870
870
  },
871
871
  removeTopic: async (z) => {
872
872
  if (s?.removeTopic)
@@ -945,7 +945,7 @@ function Ht() {
945
945
  const z = t?.getData()?.token, D = `${e}/api/open/order/${z}`, L = await window.fetch(D, {
946
946
  method: "post"
947
947
  }).then((P) => P.json()).catch(() => null);
948
- return L?.success || await dn(L.message || "未知错误"), L;
948
+ return L?.success || await un(L.message || "未知错误"), L;
949
949
  },
950
950
  cancelOrder: async (z) => {
951
951
  if (s?.cancelOrder)
@@ -1036,7 +1036,7 @@ function Fs(r) {
1036
1036
  }
1037
1037
  const Zn = typeof window < "u" && typeof document < "u";
1038
1038
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
1039
- const Bc = (r) => typeof r < "u", Lc = Object.prototype.toString, zc = (r) => Lc.call(r) === "[object Object]", rn = () => {
1039
+ const Bc = (r) => typeof r < "u", Lc = Object.prototype.toString, zc = (r) => Lc.call(r) === "[object Object]", ln = () => {
1040
1040
  }, Uc = /* @__PURE__ */ Fc();
1041
1041
  function Fc() {
1042
1042
  var r, t;
@@ -1059,7 +1059,7 @@ function Jc(r) {
1059
1059
  return As();
1060
1060
  }
1061
1061
  function Hc(r, t = !0, e) {
1062
- Jc() ? nn(r, e) : t ? r() : at(r);
1062
+ Jc() ? tn(r, e) : t ? r() : at(r);
1063
1063
  }
1064
1064
  function Gc(r, t, e = {}) {
1065
1065
  const {
@@ -1139,11 +1139,11 @@ let ho = !1;
1139
1139
  function Kc(r, t, e = {}) {
1140
1140
  const { window: s = es, ignore: o = [], capture: i = !0, detectIframe: a = !1, controls: l = !1 } = e;
1141
1141
  if (!s)
1142
- return l ? { stop: rn, cancel: rn, trigger: rn } : rn;
1142
+ return l ? { stop: ln, cancel: ln, trigger: ln } : ln;
1143
1143
  if (Uc && !ho) {
1144
1144
  ho = !0;
1145
1145
  const w = { passive: !0 };
1146
- Array.from(s.document.body.children).forEach((k) => Yt(k, "click", rn, w)), Yt(s.document.documentElement, "click", rn, w);
1146
+ Array.from(s.document.body.children).forEach((k) => Yt(k, "click", ln, w)), Yt(s.document.documentElement, "click", ln, w);
1147
1147
  }
1148
1148
  let c = !0;
1149
1149
  const d = (w) => it(o).some((k) => {
@@ -1203,7 +1203,7 @@ function Kc(r, t, e = {}) {
1203
1203
  }
1204
1204
  function Xc() {
1205
1205
  const r = mt(!1), t = As();
1206
- return t && nn(() => {
1206
+ return t && tn(() => {
1207
1207
  r.value = !0;
1208
1208
  }, t), r;
1209
1209
  }
@@ -1432,7 +1432,7 @@ function nu() {
1432
1432
  createOrder: g,
1433
1433
  cancelOrder: b,
1434
1434
  getOrder: f
1435
- } = Ht(), x = "CHAT_HIDE_CODE", w = t.skeleton?.getRegion("Apps").regionRef, k = C(!1), _ = C(!1), A = C(!0), E = C(!1), j = eu("LLM", e), O = C([]), B = C([]), N = C(null), W = C(null), z = C(), D = C(), L = C(!!pn.get(x, { type: "local" })), P = C(""), te = C(), ue = V(() => B.value.some((J) => J.status === "Pending")), Ue = V(() => te.value ? te.value.mode === 2 && !te.value.invited : !0), { height: _e } = vn(z), be = async (J) => {
1435
+ } = Ht(), x = "CHAT_HIDE_CODE", w = t.skeleton?.getRegion("Apps").regionRef, k = C(!1), _ = C(!1), A = C(!0), E = C(!1), j = eu("LLM", e), O = C([]), B = C([]), N = C(null), W = C(null), z = C(), D = C(), L = C(!!dn.get(x, { type: "local" })), P = C(""), te = C(), ue = V(() => B.value.some((J) => J.status === "Pending")), Ue = V(() => te.value ? te.value.mode === 2 && !te.value.invited : !0), { height: _e } = vn(z), be = async (J) => {
1436
1436
  const fe = await i(J);
1437
1437
  fe && fe.success && (B.value = fe.data);
1438
1438
  }, Ge = async (J) => {
@@ -1442,46 +1442,46 @@ function nu() {
1442
1442
  fe && fe.success && (O.value = fe.data), O.value.length && (A.value = !1, N.value = O.value[0], await be(N.value.id)), k.value = !0;
1443
1443
  }, Fe = async (J) => {
1444
1444
  _.value = !0;
1445
- const fe = await tu(J, t), Re = await s(fe).catch(() => null);
1446
- if (_.value = !1, Re && Re.success) {
1447
- const { topic: nt, chat: Le } = Re.data;
1445
+ const fe = await tu(J, t), Ie = await s(fe).catch(() => null);
1446
+ if (_.value = !1, Ie && Ie.success) {
1447
+ const { topic: nt, chat: Le } = Ie.data;
1448
1448
  B.value = [], O.value.unshift(nt), A.value = !1, N.value = nt;
1449
1449
  const xt = zt(Le);
1450
1450
  B.value.push(xt), vt(xt, (bn) => {
1451
1451
  J.auto && hn(bn);
1452
- }), await en(0), D.value && D.value.scrollToBottom();
1452
+ }), await pn(0), D.value && D.value.scrollToBottom();
1453
1453
  } else
1454
1454
  await Ge(null);
1455
- return Re;
1455
+ return Ie;
1456
1456
  }, qe = async (J) => {
1457
1457
  if (!N.value) return;
1458
1458
  _.value = !0;
1459
1459
  const fe = {
1460
1460
  topicId: N.value.id,
1461
1461
  prompt: J.prompt
1462
- }, Re = await a(fe).catch(() => null);
1463
- if (_.value = !1, Re && Re.success) {
1464
- const nt = zt(Re.data);
1462
+ }, Ie = await a(fe).catch(() => null);
1463
+ if (_.value = !1, Ie && Ie.success) {
1464
+ const nt = zt(Ie.data);
1465
1465
  B.value.push(nt), vt(nt, (Le) => {
1466
1466
  J.auto && hn(Le);
1467
- }), await en(0), D.value && D.value.scrollToBottom();
1467
+ }), await pn(0), D.value && D.value.scrollToBottom();
1468
1468
  } else
1469
1469
  await Ge(null);
1470
- return Re;
1470
+ return Ie;
1471
1471
  }, tt = async (J) => {
1472
1472
  const fe = await l(J.id).catch(() => null);
1473
- fe && fe.success && (O.value = O.value.filter((Re) => Re.id !== J.id), J.id === N.value?.id && (B.value = [], N.value = null, A.value = !0));
1473
+ fe && fe.success && (O.value = O.value.filter((Ie) => Ie.id !== J.id), J.id === N.value?.id && (B.value = [], N.value = null, A.value = !0));
1474
1474
  }, st = async (J) => {
1475
1475
  if (!N.value) return;
1476
- const fe = N.value?.fileId, Re = t.project.value?.toDsl(), { name: nt = "" } = t.current.value || {}, Le = ut(J.content);
1477
- return await t.service.parseVue(Re, {
1476
+ const fe = N.value?.fileId, Ie = t.project.value?.toDsl(), { name: nt = "" } = t.current.value || {}, Le = ut(J.content);
1477
+ return await t.service.parseVue(Ie, {
1478
1478
  id: fe,
1479
1479
  name: nt,
1480
1480
  source: Le
1481
1481
  });
1482
1482
  }, vt = (J, fe) => {
1483
1483
  P.value = "", J.content = "", J.reasoning = "", J.status = "Pending", J.reasoning = "", J.message = "";
1484
- let Re = 0;
1484
+ let Ie = 0;
1485
1485
  const nt = Date.now();
1486
1486
  return c(
1487
1487
  J.topicId,
@@ -1490,10 +1490,10 @@ function nu() {
1490
1490
  const ft = Le?.choices?.[0]?.delta;
1491
1491
  if (ft) {
1492
1492
  const $t = ft.content || "", Ye = ft.reasoning_content || "";
1493
- $t && (J.content += $t), Ye && (J.reasoning += Ye, Re += Date.now() - nt);
1493
+ $t && (J.content += $t), Ye && (J.reasoning += Ye, Ie += Date.now() - nt);
1494
1494
  }
1495
1495
  if (Le?.usage && (J.tokens = Le.usage.total_tokens || 0), xt && J.status === "Pending") {
1496
- J.status = "Success", J.thinking = Math.ceil(Re / 1e3), J.vue = ut(J.content);
1496
+ J.status = "Success", J.thinking = Math.ceil(Ie / 1e3), J.vue = ut(J.content);
1497
1497
  const $t = await st(J).catch((Ye) => {
1498
1498
  if (Array.isArray(Ye))
1499
1499
  J.message = Ye.join(`
@@ -1522,9 +1522,9 @@ function nu() {
1522
1522
  }, ut = (J) => {
1523
1523
  const fe = /```vue\n([\w\W]*)```/;
1524
1524
  return J.match(fe)?.[1] ?? "";
1525
- }, an = async (J) => {
1525
+ }, on = async (J) => {
1526
1526
  if (!N.value || !W.value) return;
1527
- const fe = N.value?.fileId, Re = t.project.value?.toDsl(), { name: nt = "" } = t.current.value || {}, Le = await t.service.parseVue(Re, {
1527
+ const fe = N.value?.fileId, Ie = t.project.value?.toDsl(), { name: nt = "" } = t.current.value || {}, Le = await t.service.parseVue(Ie, {
1528
1528
  id: fe,
1529
1529
  name: nt,
1530
1530
  source: J
@@ -1558,7 +1558,7 @@ function nu() {
1558
1558
  }, Vn = (J, fe) => {
1559
1559
  P.value = J, fe && (A.value = fe);
1560
1560
  }, os = () => {
1561
- A.value || (L.value = !L.value, pn.save(x, L.value, { type: "local" }));
1561
+ A.value || (L.value = !L.value, dn.save(x, L.value, { type: "local" }));
1562
1562
  };
1563
1563
  return Z(
1564
1564
  () => w?.active,
@@ -1612,7 +1612,7 @@ function nu() {
1612
1612
  createOrder: g,
1613
1613
  cancelOrder: b,
1614
1614
  getOrder: f,
1615
- updateChatDsl: an
1615
+ updateChatDsl: on
1616
1616
  };
1617
1617
  }
1618
1618
  const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1711803009570'%20class='icon'%20viewBox='0%200%201280%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1500'%20width='320'%20height='256'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cpath%20d='M557.85%201023l-122-35.4c-12.8-3.6-20-17-16.4-29.8L692.45%2017.4c3.6-12.8%2017-20%2029.8-16.4l122%2035.4c12.8%203.6%2020%2017%2016.4%2029.8L587.65%201006.6c-3.8%2012.8-17%2020.2-29.8%2016.4z%20m-228-224.4l87-92.8c9.2-9.8%208.6-25.4-1.6-34.4L234.05%20512l181.2-159.4c10.2-9%2011-24.6%201.6-34.4l-87-92.8c-9-9.6-24.2-10.2-34-1L7.65%20494.4c-10.2%209.4-10.2%2025.6%200%2035l288.2%20270.2c9.8%209.2%2025%208.8%2034-1z%20m654.4%201.2l288.2-270.2c10.2-9.4%2010.2-25.6%200-35L984.25%20224.2c-9.6-9-24.8-8.6-34%201L863.25%20318c-9.2%209.8-8.6%2025.4%201.6%2034.4L1046.05%20512l-181.2%20159.4c-10.2%209-11%2024.6-1.6%2034.4l87%2092.8c9%209.8%2024.2%2010.2%2034%201.2z'%20fill='%230157fe'%20p-id='1501'%3e%3c/path%3e%3c/svg%3e", ou = ["title", "src"], au = { key: 1 }, lu = /* @__PURE__ */ $({
@@ -1976,7 +1976,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
1976
1976
  const t = r, { engine: e, designer: s } = St(), { isLogined: o, toRemoteAuth: i } = Ht(), a = C(!1), l = C(!1), c = C(), d = () => {
1977
1977
  e.current.value ? (a.value ? e.skeleton?.getWidget("Previewer")?.widgetRef.refresh() : (s.value?.setSelected(null), e.simulator.refresh()), Ne("刷新完成", "success")) : Ne("请先打开文件", "warning");
1978
1978
  }, v = async () => {
1979
- e.current.value ? (a.value && (e.skeleton?.closePreview(), a.value = !1, await en(1e3)), s.value?.setSelected(e.current.value)) : Ne("请先打开文件", "warning");
1979
+ e.current.value ? (a.value && (e.skeleton?.closePreview(), a.value = !1, await pn(1e3)), s.value?.setSelected(e.current.value)) : Ne("请先打开文件", "warning");
1980
1980
  }, m = () => {
1981
1981
  if (e.project.value)
1982
1982
  if (e.current.value) {
@@ -2103,7 +2103,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
2103
2103
  type: "success"
2104
2104
  }, {
2105
2105
  default: h(() => _[1] || (_[1] = [
2106
- X(" 出码 ")
2106
+ Q(" 出码 ")
2107
2107
  ])),
2108
2108
  _: 1
2109
2109
  }, 8, ["icon"])) : I("", !0),
@@ -2115,7 +2115,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
2115
2115
  type: "primary"
2116
2116
  }, {
2117
2117
  default: h(() => _[2] || (_[2] = [
2118
- X(" 发布模板 ")
2118
+ Q(" 发布模板 ")
2119
2119
  ])),
2120
2120
  _: 1
2121
2121
  }, 8, ["icon"])) : (u(), y(n(No), {
@@ -2134,7 +2134,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
2134
2134
  icon: n(fi)
2135
2135
  }, {
2136
2136
  default: h(() => _[3] || (_[3] = [
2137
- X(" 发布文件 ")
2137
+ Q(" 发布文件 ")
2138
2138
  ])),
2139
2139
  _: 1
2140
2140
  }, 8, ["icon"]),
@@ -2143,7 +2143,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
2143
2143
  icon: n(hi)
2144
2144
  }, {
2145
2145
  default: h(() => _[4] || (_[4] = [
2146
- X(" 整站发布 ")
2146
+ Q(" 整站发布 ")
2147
2147
  ])),
2148
2148
  _: 1
2149
2149
  }, 8, ["icon"]),
@@ -2154,7 +2154,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
2154
2154
  divided: ""
2155
2155
  }, {
2156
2156
  default: h(() => _[5] || (_[5] = [
2157
- X(" 发布模板 ")
2157
+ Q(" 发布模板 ")
2158
2158
  ])),
2159
2159
  _: 1
2160
2160
  }, 8, ["icon"])) : I("", !0)
@@ -2230,7 +2230,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
2230
2230
  onClick: m
2231
2231
  }, {
2232
2232
  default: h(() => f[2] || (f[2] = [
2233
- X(" 清除绑定 ")
2233
+ Q(" 清除绑定 ")
2234
2234
  ])),
2235
2235
  _: 1
2236
2236
  })
@@ -2239,7 +2239,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
2239
2239
  T("div", Eu, [
2240
2240
  p(n(Me), {
2241
2241
  size: e.size,
2242
- "prefix-icon": n(sn),
2242
+ "prefix-icon": n(nn),
2243
2243
  clearable: "",
2244
2244
  modelValue: a.value,
2245
2245
  "onUpdate:modelValue": f[0] || (f[0] = (x) => a.value = x),
@@ -2251,7 +2251,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
2251
2251
  onClick: (w) => d(x[0]),
2252
2252
  class: pe({ "is-active": i.value === x[0] })
2253
2253
  }, null, 8, ["icon", "onClick", "class"]))), 256)),
2254
- c.value.length === 0 ? (u(), y(n(De), { key: 0 })) : I("", !0)
2254
+ c.value.length === 0 ? (u(), y(n(Re), { key: 0 })) : I("", !0)
2255
2255
  ])
2256
2256
  ])
2257
2257
  ]),
@@ -2260,7 +2260,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
2260
2260
  ]));
2261
2261
  }
2262
2262
  }), Ae = ll({
2263
- loader: () => import("./Editor-DCEQmAKC.js"),
2263
+ loader: () => import("./Editor-Blw-xmOM.js"),
2264
2264
  loadingComponent: $({
2265
2265
  render() {
2266
2266
  return Ut("div", "正在拼命加载...");
@@ -2279,7 +2279,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
2279
2279
  parentId: {}
2280
2280
  },
2281
2281
  setup(r) {
2282
- const t = r, { project: e, engine: s } = on(), { designer: o } = St(), i = V(() => t.item ? "编辑页面" : "新增页面"), a = V(() => {
2282
+ const t = r, { project: e, engine: s } = sn(), { designer: o } = St(), i = V(() => t.item ? "编辑页面" : "新增页面"), a = V(() => {
2283
2283
  const { platform: _ = "web" } = e.value || {};
2284
2284
  return _ === "web";
2285
2285
  }), l = V(() => {
@@ -2358,7 +2358,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
2358
2358
  editor: h(() => [
2359
2359
  p(n(Ft), { closable: !1 }, {
2360
2360
  default: h(() => [
2361
- X(ne(`${n(s).options.pageBasePath || ""}/${c.value}/${v.value.id}`) + " ", 1),
2361
+ Q(ne(`${n(s).options.pageBasePath || ""}/${c.value}/${v.value.id}`) + " ", 1),
2362
2362
  p(n(Tt), {
2363
2363
  icon: n(Yo),
2364
2364
  onClick: A[0] || (A[0] = (E) => k(
@@ -2774,7 +2774,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
2774
2774
  "is-checked": v.checked
2775
2775
  })
2776
2776
  }, null, 8, ["class"])) : I("", !0),
2777
- X(" " + ne(v.label), 1)
2777
+ Q(" " + ne(v.label), 1)
2778
2778
  ])
2779
2779
  ]),
2780
2780
  _: 1
@@ -2930,7 +2930,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
2930
2930
  type: s.tagType
2931
2931
  }, {
2932
2932
  default: h(() => [
2933
- X(ne(s.tag), 1)
2933
+ Q(ne(s.tag), 1)
2934
2934
  ]),
2935
2935
  _: 1
2936
2936
  }, 8, ["type"])) : I("", !0),
@@ -3144,13 +3144,13 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
3144
3144
  "onUpdate:modelValue": f[0] || (f[0] = (x) => i.value = x),
3145
3145
  size: "small",
3146
3146
  clearable: "",
3147
- "prefix-icon": n(sn),
3147
+ "prefix-icon": n(nn),
3148
3148
  placeholder: "筛选可用项"
3149
3149
  }, null, 8, ["modelValue", "prefix-icon"]),
3150
3150
  T("div", Lu, [
3151
3151
  p(n(rt), { "border-style": "dotted" }, {
3152
3152
  default: h(() => f[1] || (f[1] = [
3153
- X("可用项")
3153
+ Q("可用项")
3154
3154
  ])),
3155
3155
  _: 1
3156
3156
  }),
@@ -3179,7 +3179,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
3179
3179
  }, null, 8, ["title", "subtitle", "subtitle-cls", "onClick", "onAction"])
3180
3180
  ]),
3181
3181
  empty: h(() => [
3182
- p(n(De), { class: "empty-wrapper" })
3182
+ p(n(Re), { class: "empty-wrapper" })
3183
3183
  ]),
3184
3184
  _: 1
3185
3185
  }, 8, ["props"])) : I("", !0)
@@ -3278,13 +3278,13 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
3278
3278
  "onUpdate:modelValue": _[0] || (_[0] = (A) => Mn(i) ? i.value = A : null),
3279
3279
  size: "small",
3280
3280
  clearable: "",
3281
- "prefix-icon": n(sn),
3281
+ "prefix-icon": n(nn),
3282
3282
  placeholder: "筛选可用项"
3283
3283
  }, null, 8, ["modelValue", "prefix-icon"]),
3284
3284
  (u(!0), R(q, null, se(n(o), (A) => (u(), R("div", null, [
3285
3285
  p(n(rt), { "border-style": "dotted" }, {
3286
3286
  default: h(() => [
3287
- X(ne(A.title), 1)
3287
+ Q(ne(A.title), 1)
3288
3288
  ]),
3289
3289
  _: 2
3290
3290
  }, 1024),
@@ -3297,7 +3297,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
3297
3297
  onAction: (j) => w(E)
3298
3298
  }, null, 8, ["title", "onClick", "onAction"]))), 256))
3299
3299
  ]))), 256)),
3300
- n(o).length ? I("", !0) : (u(), y(n(De), { key: 0 }))
3300
+ n(o).length ? I("", !0) : (u(), y(n(Re), { key: 0 }))
3301
3301
  ], 512), [
3302
3302
  [Zt, c.value === "normal"]
3303
3303
  ]),
@@ -3334,7 +3334,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
3334
3334
  onClick: g
3335
3335
  }, {
3336
3336
  default: h(() => _[2] || (_[2] = [
3337
- X(" 移除绑定 ")
3337
+ Q(" 移除绑定 ")
3338
3338
  ])),
3339
3339
  _: 1
3340
3340
  })) : I("", !0)
@@ -3349,7 +3349,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
3349
3349
  onClick: b
3350
3350
  }, {
3351
3351
  default: h(() => _[3] || (_[3] = [
3352
- X(" 取消 ")
3352
+ Q(" 取消 ")
3353
3353
  ])),
3354
3354
  _: 1
3355
3355
  }),
@@ -3359,7 +3359,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
3359
3359
  onClick: f
3360
3360
  }, {
3361
3361
  default: h(() => _[4] || (_[4] = [
3362
- X(" 确定 ")
3362
+ Q(" 确定 ")
3363
3363
  ])),
3364
3364
  _: 1
3365
3365
  })
@@ -3441,7 +3441,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
3441
3441
  }, {
3442
3442
  default: h(() => [
3443
3443
  T("span", Fu, "#" + ne(m + 1), 1),
3444
- X(" " + ne(v.name), 1)
3444
+ Q(" " + ne(v.name), 1)
3445
3445
  ]),
3446
3446
  _: 2
3447
3447
  }, 1032, ["class", "onClick"]))), 256))
@@ -3479,7 +3479,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
3479
3479
  });
3480
3480
  return (a, l) => (u(), R("div", {
3481
3481
  class: pe(["v-viewport", e.value]),
3482
- style: cn(i.value)
3482
+ style: rn(i.value)
3483
3483
  }, [
3484
3484
  At(a.$slots, "default")
3485
3485
  ], 6));
@@ -3503,7 +3503,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
3503
3503
  name: "PagesWidget",
3504
3504
  __name: "index",
3505
3505
  setup(r) {
3506
- const { project: t, engine: e } = on(), s = V(() => t.value?.pages || []), { current: o } = Qe(), i = C(!1), a = C(), l = C(), c = V(() => `(共 ${s.value.length} 项)`), d = V(() => {
3506
+ const { project: t, engine: e } = sn(), s = V(() => t.value?.pages || []), { current: o } = Qe(), i = C(!1), a = C(), l = C(), c = V(() => `(共 ${s.value.length} 项)`), d = V(() => {
3507
3507
  const { platform: w = "web" } = t.value || {};
3508
3508
  return w === "uniapp";
3509
3509
  }), v = (w) => {
@@ -3598,7 +3598,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
3598
3598
  },
3599
3599
  emits: ["change", "update:modelValue"],
3600
3600
  setup(r, { emit: t }) {
3601
- const e = r, s = t, { engine: o, project: i } = on(), a = C([]), l = C(!1), c = (_) => Array.isArray(_) ? _.map((A) => ({
3601
+ const e = r, s = t, { engine: o, project: i } = sn(), a = C([]), l = C(!1), c = (_) => Array.isArray(_) ? _.map((A) => ({
3602
3602
  name: A.filename,
3603
3603
  url: A.filepath
3604
3604
  })) : _ ? { name: _.filename, url: _.filepath } : null, d = async (_) => {
@@ -3663,7 +3663,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
3663
3663
  onClick: x
3664
3664
  }, {
3665
3665
  default: h(() => A[3] || (A[3] = [
3666
- X(" 清除 ")
3666
+ Q(" 清除 ")
3667
3667
  ])),
3668
3668
  _: 1
3669
3669
  })
@@ -3787,7 +3787,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
3787
3787
  size: "small",
3788
3788
  modelValue: o.value,
3789
3789
  "onUpdate:modelValue": te[0] || (te[0] = (ue) => o.value = ue),
3790
- "prefix-icon": n(sn),
3790
+ "prefix-icon": n(nn),
3791
3791
  placeholder: "搜索区块",
3792
3792
  clearable: ""
3793
3793
  }, null, 8, ["modelValue", "prefix-icon"])
@@ -3838,7 +3838,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
3838
3838
  }, 1032, ["name", "title"]))), 256))
3839
3839
  ]),
3840
3840
  _: 1
3841
- }, 8, ["model-value"])) : (u(), y(n(De), {
3841
+ }, 8, ["model-value"])) : (u(), y(n(Re), {
3842
3842
  key: 0,
3843
3843
  description: "找不到符合条件的区块"
3844
3844
  })),
@@ -3963,7 +3963,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
3963
3963
  ]),
3964
3964
  _: 1
3965
3965
  }),
3966
- n(c).length ? I("", !0) : (u(), y(n(De), { key: 0 }))
3966
+ n(c).length ? I("", !0) : (u(), y(n(Re), { key: 0 }))
3967
3967
  ])) : (u(), y(n(Xn), {
3968
3968
  key: 1,
3969
3969
  items: n(s),
@@ -4239,7 +4239,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
4239
4239
  onRemove: a
4240
4240
  }, {
4241
4241
  default: h(() => [
4242
- n(s) === 0 ? (u(), y(n(De), {
4242
+ n(s) === 0 ? (u(), y(n(Re), {
4243
4243
  key: 0,
4244
4244
  "image-size": 50
4245
4245
  })) : I("", !0),
@@ -4562,7 +4562,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
4562
4562
  onClick: f
4563
4563
  }, {
4564
4564
  default: h(() => w[2] || (w[2] = [
4565
- X(" 预览 ")
4565
+ Q(" 预览 ")
4566
4566
  ])),
4567
4567
  _: 1
4568
4568
  }, 8, ["disabled"])) : I("", !0)
@@ -4570,7 +4570,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
4570
4570
  T("div", null, [
4571
4571
  p(n(ve), { onClick: m }, {
4572
4572
  default: h(() => w[3] || (w[3] = [
4573
- X("取消")
4573
+ Q("取消")
4574
4574
  ])),
4575
4575
  _: 1
4576
4576
  }),
@@ -4579,7 +4579,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
4579
4579
  onClick: g
4580
4580
  }, {
4581
4581
  default: h(() => w[4] || (w[4] = [
4582
- X("保存")
4582
+ Q("保存")
4583
4583
  ])),
4584
4584
  _: 1
4585
4585
  })
@@ -4644,7 +4644,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
4644
4644
  name: "ApisWidget",
4645
4645
  __name: "index",
4646
4646
  setup(r) {
4647
- const { project: t } = on(), e = C(!1), s = C(null), o = C(""), i = C(!1), a = V(() => {
4647
+ const { project: t } = sn(), e = C(!1), s = C(null), o = C(""), i = C(!1), a = V(() => {
4648
4648
  const x = t.value?.apis || [];
4649
4649
  return o.value ? x.filter((w) => w.name.includes(o.value) || w.label?.includes(o.value) || w.url.includes(o.value)) : x;
4650
4650
  }), l = V(
@@ -4704,7 +4704,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
4704
4704
  size: "small",
4705
4705
  modelValue: o.value,
4706
4706
  "onUpdate:modelValue": w[0] || (w[0] = (k) => o.value = k),
4707
- "prefix-icon": n(sn),
4707
+ "prefix-icon": n(nn),
4708
4708
  placeholder: "搜索API",
4709
4709
  clearable: ""
4710
4710
  }, null, 8, ["modelValue", "prefix-icon"])
@@ -4735,7 +4735,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
4735
4735
  ]),
4736
4736
  _: 1
4737
4737
  }, 8, ["model-value"]),
4738
- a.value.length === 0 ? (u(), y(n(De), {
4738
+ a.value.length === 0 ? (u(), y(n(Re), {
4739
4739
  key: 0,
4740
4740
  "image-size": 50
4741
4741
  })) : I("", !0),
@@ -4994,24 +4994,24 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
4994
4994
  n(A) ? (u(), R("div", {
4995
4995
  key: 0,
4996
4996
  class: pe(["v-designer__dropping", "is-inner"]),
4997
- style: cn(n(A).style)
4997
+ style: rn(n(A).style)
4998
4998
  }, null, 4)) : I("", !0),
4999
4999
  n(_) ? (u(), R("div", {
5000
5000
  key: 1,
5001
5001
  class: "v-designer__hover",
5002
- style: cn(n(_).style)
5002
+ style: rn(n(_).style)
5003
5003
  }, [
5004
5004
  T("span", {
5005
5005
  class: pe(`is-${n(_).position}`)
5006
5006
  }, [
5007
- X(ne(n(_).model.name) + ": ", 1),
5007
+ Q(ne(n(_).model.name) + ": ", 1),
5008
5008
  T("i", null, ne(n(_).model.id), 1)
5009
5009
  ], 2)
5010
5010
  ], 4)) : I("", !0),
5011
5011
  n(E) ? (u(), R("div", {
5012
5012
  key: 2,
5013
5013
  class: "v-designer__selected",
5014
- style: cn(n(E).style)
5014
+ style: rn(n(E).style)
5015
5015
  }, [
5016
5016
  p(dd, {
5017
5017
  position: n(E).position,
@@ -5022,13 +5022,13 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
5022
5022
  onDragend: N
5023
5023
  }, null, 8, ["position", "model", "path"])
5024
5024
  ], 4)) : I("", !0),
5025
- n(v) ? I("", !0) : (u(), y(n(De), {
5025
+ n(v) ? I("", !0) : (u(), y(n(Re), {
5026
5026
  key: 3,
5027
5027
  description: "请新建或打开文件"
5028
5028
  })),
5029
5029
  f.value && n(j).length ? (u(), R("div", pd, [
5030
5030
  (u(!0), R(q, null, se(n(j), (D) => (u(), R("div", {
5031
- style: cn(D)
5031
+ style: rn(D)
5032
5032
  }, null, 4))), 256))
5033
5033
  ])) : I("", !0),
5034
5034
  n(v) && n(m) ? (u(), R("div", md, " 您可以拖拽组件放置到这里 ")) : I("", !0),
@@ -5095,7 +5095,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
5095
5095
  onAction: (k) => d(w, k),
5096
5096
  onClick: (k) => m(w)
5097
5097
  }, null, 8, ["title", "onAction", "onClick"]))), 256)),
5098
- f.list.length ? I("", !0) : (u(), y(n(De), {
5098
+ f.list.length ? I("", !0) : (u(), y(n(Re), {
5099
5099
  key: 0,
5100
5100
  "image-size": 40
5101
5101
  })),
@@ -5724,7 +5724,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
5724
5724
  fit: !1
5725
5725
  }, {
5726
5726
  default: h(() => [
5727
- n(a).length ? I("", !0) : (u(), y(n(De), {
5727
+ n(a).length ? I("", !0) : (u(), y(n(Re), {
5728
5728
  key: 0,
5729
5729
  "image-size": 50,
5730
5730
  description: "该组件无自带事件"
@@ -6006,7 +6006,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
6006
6006
  ]),
6007
6007
  _: 2
6008
6008
  }, 1032, ["title"]))), 256)),
6009
- n(d).length ? I("", !0) : (u(), y(n(De), {
6009
+ n(d).length ? I("", !0) : (u(), y(n(Re), {
6010
6010
  key: 0,
6011
6011
  description: "当前组件没有双向绑定属性",
6012
6012
  "image-size": 50
@@ -6399,7 +6399,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
6399
6399
  onClick: (te) => k(P),
6400
6400
  onAction: w
6401
6401
  }, null, 8, ["model-value", "title", "onClick"]))), 256)),
6402
- s.value.length ? I("", !0) : (u(), y(n(De), {
6402
+ s.value.length ? I("", !0) : (u(), y(n(Re), {
6403
6403
  key: 0,
6404
6404
  "image-size": 50
6405
6405
  })),
@@ -6431,7 +6431,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
6431
6431
  onClick: (te) => A(P),
6432
6432
  onAction: E
6433
6433
  }, null, 8, ["model-value", "title", "onClick"]))), 256)),
6434
- o.value.length ? I("", !0) : (u(), y(n(De), {
6434
+ o.value.length ? I("", !0) : (u(), y(n(Re), {
6435
6435
  key: 0,
6436
6436
  "image-size": 50
6437
6437
  })),
@@ -6463,7 +6463,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
6463
6463
  onClick: (te) => O(P),
6464
6464
  onAction: B
6465
6465
  }, null, 8, ["model-value", "title", "onClick"]))), 256)),
6466
- i.value.length ? I("", !0) : (u(), y(n(De), {
6466
+ i.value.length ? I("", !0) : (u(), y(n(Re), {
6467
6467
  key: 0,
6468
6468
  "image-size": 50
6469
6469
  })),
@@ -6496,7 +6496,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
6496
6496
  onClick: (te) => W(P),
6497
6497
  onAction: z
6498
6498
  }, null, 8, ["model-value", "title", "onClick"]))), 256)),
6499
- a.value.length ? I("", !0) : (u(), y(n(De), {
6499
+ a.value.length ? I("", !0) : (u(), y(n(Re), {
6500
6500
  key: 0,
6501
6501
  "image-size": 50
6502
6502
  })),
@@ -6660,7 +6660,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
6660
6660
  onClick: A
6661
6661
  }, {
6662
6662
  default: h(() => j[4] || (j[4] = [
6663
- X(" 运行测试用例 ")
6663
+ Q(" 运行测试用例 ")
6664
6664
  ])),
6665
6665
  _: 1
6666
6666
  }, 8, ["loading"])
@@ -6688,7 +6688,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
6688
6688
  onChange: k
6689
6689
  }, {
6690
6690
  option: h(({ option: O }) => [
6691
- X(ne(O.label) + " ", 1),
6691
+ Q(ne(O.label) + " ", 1),
6692
6692
  T("i", null, "[ " + ne(O.data.name || O.data.code) + " ]", 1)
6693
6693
  ]),
6694
6694
  _: 1
@@ -6825,7 +6825,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
6825
6825
  onAction: d,
6826
6826
  onClick: (b) => c(g)
6827
6827
  }, null, 8, ["title", "subtitle", "model-value", "tag", "tag-type", "onClick"]))), 256)),
6828
- i.value.length ? I("", !0) : (u(), y(n(De), {
6828
+ i.value.length ? I("", !0) : (u(), y(n(Re), {
6829
6829
  key: 0,
6830
6830
  "image-size": 50
6831
6831
  }))
@@ -7048,7 +7048,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
7048
7048
  const { selected: t } = St(), e = C(), s = V(() => {
7049
7049
  const c = t.value?.model || null;
7050
7050
  return Te(c) ? null : c;
7051
- }), o = V(() => s.value?.getPropValue("style") || {}), i = V(() => tn(o.value) ? JSON.stringify({}) : JSON.stringify(Cs(o.value), null, 2)), a = (c) => {
7051
+ }), o = V(() => s.value?.getPropValue("style") || {}), i = V(() => en(o.value) ? JSON.stringify({}) : JSON.stringify(Cs(o.value), null, 2)), a = (c) => {
7052
7052
  try {
7053
7053
  const d = Cs(JSON.parse(c));
7054
7054
  s.value?.setProp("style", d);
@@ -7177,7 +7177,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
7177
7177
  onClick: m
7178
7178
  }, {
7179
7179
  default: h(() => f[2] || (f[2] = [
7180
- X(" 确定 ")
7180
+ Q(" 确定 ")
7181
7181
  ])),
7182
7182
  _: 1
7183
7183
  }),
@@ -7188,7 +7188,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
7188
7188
  onClick: g
7189
7189
  }, {
7190
7190
  default: h(() => f[3] || (f[3] = [
7191
- X(" 重置 ")
7191
+ Q(" 重置 ")
7192
7192
  ])),
7193
7193
  _: 1
7194
7194
  })
@@ -7722,7 +7722,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
7722
7722
  value: t.styleJson.inset,
7723
7723
  onChange: t.setStyle
7724
7724
  }, null, 8, ["value", "onChange"]),
7725
- p(n(un), { label: " " }, {
7725
+ p(n(cn), { label: " " }, {
7726
7726
  default: h(() => [
7727
7727
  T("div", vp, [
7728
7728
  T("div", {
@@ -8369,7 +8369,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
8369
8369
  const t = r, { selected: e } = St(), s = V(() => {
8370
8370
  const c = e.value?.model || null;
8371
8371
  return Te(c) ? null : c;
8372
- }), o = V(() => s.value?.getPropValue("style") || {}), i = V(() => Cs(o.value)), a = V(() => tn(o.value)), l = (c, d) => {
8372
+ }), o = V(() => s.value?.getPropValue("style") || {}), i = V(() => Cs(o.value)), a = V(() => en(o.value)), l = (c, d) => {
8373
8373
  const v = s.value?.getPropValue("style") || {};
8374
8374
  d !== void 0 && d !== "" ? v[c] = d : delete v[c], s.value?.setProp("style", v);
8375
8375
  };
@@ -8498,7 +8498,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
8498
8498
  onMouseover: (d) => i(c)
8499
8499
  }, {
8500
8500
  default: h(() => [
8501
- X(ne(c.name), 1)
8501
+ Q(ne(c.name), 1)
8502
8502
  ]),
8503
8503
  _: 2
8504
8504
  }, 1032, ["onClick", "onMouseover"]))), 256))
@@ -8606,7 +8606,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
8606
8606
  }, c = () => {
8607
8607
  s.value = "//vtj.pro/help/index.html", l();
8608
8608
  };
8609
- nn(() => {
8609
+ tn(() => {
8610
8610
  i || (i = pl.service({ target: o.value?.$el }));
8611
8611
  }), Ts(() => {
8612
8612
  d(), i = null;
@@ -8668,7 +8668,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
8668
8668
  ]),
8669
8669
  m[1] || (m[1] = T("div", { class: "v-about-widget__name" }, "VTJ.PRO", -1)),
8670
8670
  T("div", Wp, [
8671
- m[0] || (m[0] = X(" 版本: ")),
8671
+ m[0] || (m[0] = Q(" 版本: ")),
8672
8672
  T("span", null, ne(n(Cn)), 1)
8673
8673
  ])
8674
8674
  ]),
@@ -8693,7 +8693,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
8693
8693
  onClick: d
8694
8694
  }, {
8695
8695
  default: h(() => m[2] || (m[2] = [
8696
- X(" 退出登录 ")
8696
+ Q(" 退出登录 ")
8697
8697
  ])),
8698
8698
  _: 1
8699
8699
  })) : (u(), y(n(ve), {
@@ -8702,7 +8702,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
8702
8702
  onClick: t.toRemoteAuth
8703
8703
  }, {
8704
8704
  default: h(() => m[3] || (m[3] = [
8705
- X(" 登录 ")
8705
+ Q(" 登录 ")
8706
8706
  ])),
8707
8707
  _: 1
8708
8708
  }, 8, ["onClick"]))
@@ -8714,7 +8714,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
8714
8714
  name: "ProjectConfigWidget",
8715
8715
  __name: "index",
8716
8716
  setup(r) {
8717
- const { project: t } = on(), e = (s) => {
8717
+ const { project: t } = sn(), e = (s) => {
8718
8718
  t.value?.setConfig(s);
8719
8719
  };
8720
8720
  return (s, o) => (u(), y(n(ce), {
@@ -8821,7 +8821,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
8821
8821
  size: "default"
8822
8822
  }, {
8823
8823
  default: h(() => b[1] || (b[1] = [
8824
- X(" 清除 ")
8824
+ Q(" 清除 ")
8825
8825
  ])),
8826
8826
  _: 1
8827
8827
  })
@@ -8895,7 +8895,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
8895
8895
  size: "default"
8896
8896
  }, {
8897
8897
  default: h(() => g[1] || (g[1] = [
8898
- X(" 清除 ")
8898
+ Q(" 清除 ")
8899
8899
  ])),
8900
8900
  _: 1
8901
8901
  })
@@ -8962,7 +8962,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
8962
8962
  size: "default"
8963
8963
  }, {
8964
8964
  default: h(() => g[1] || (g[1] = [
8965
- X(" 清除 ")
8965
+ Q(" 清除 ")
8966
8966
  ])),
8967
8967
  _: 1
8968
8968
  })
@@ -8987,7 +8987,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
8987
8987
  name: "UniConfigWidget",
8988
8988
  __name: "index",
8989
8989
  setup(r) {
8990
- const t = sc, { project: e } = on(), s = (i) => (e.value?.uniConfig || {})[i], o = (i, a) => {
8990
+ const t = sc, { project: e } = sn(), s = (i) => (e.value?.uniConfig || {})[i], o = (i, a) => {
8991
8991
  console.log("change", e.value, i, a), e.value?.setUniConfig(i, a);
8992
8992
  };
8993
8993
  return (i, a) => (u(), y(n(ce), {
@@ -9000,7 +9000,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
9000
9000
  "border-style": "dotted"
9001
9001
  }, {
9002
9002
  default: h(() => a[7] || (a[7] = [
9003
- X(" 全局配置 ")
9003
+ Q(" 全局配置 ")
9004
9004
  ])),
9005
9005
  _: 1
9006
9006
  }),
@@ -9009,7 +9009,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
9009
9009
  "label-position": "top"
9010
9010
  }, {
9011
9011
  default: h(() => [
9012
- p(n(un), {
9012
+ p(n(cn), {
9013
9013
  label: "manifest.json",
9014
9014
  onKeydown: a[1] || (a[1] = yt(lt(() => {
9015
9015
  }, ["prevent"]), ["enter", "native"]))
@@ -9022,7 +9022,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
9022
9022
  ]),
9023
9023
  _: 1
9024
9024
  }),
9025
- p(n(un), {
9025
+ p(n(cn), {
9026
9026
  label: "pages.json",
9027
9027
  onKeydown: a[3] || (a[3] = yt(lt(() => {
9028
9028
  }, ["prevent"]), ["enter", "native"]))
@@ -9035,7 +9035,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
9035
9035
  ]),
9036
9036
  _: 1
9037
9037
  }),
9038
- p(n(un), {
9038
+ p(n(cn), {
9039
9039
  label: "CSS",
9040
9040
  onKeydown: a[5] || (a[5] = yt(lt(() => {
9041
9041
  }, ["prevent"]), ["enter", "native"]))
@@ -9056,7 +9056,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
9056
9056
  "border-style": "dotted"
9057
9057
  }, {
9058
9058
  default: h(() => a[8] || (a[8] = [
9059
- X(" 应用生命周期 ")
9059
+ Q(" 应用生命周期 ")
9060
9060
  ])),
9061
9061
  _: 1
9062
9062
  }),
@@ -9065,7 +9065,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
9065
9065
  "label-position": "top"
9066
9066
  }, {
9067
9067
  default: h(() => [
9068
- (u(!0), R(q, null, se(n(t), (l) => (u(), y(n(un), {
9068
+ (u(!0), R(q, null, se(n(t), (l) => (u(), y(n(cn), {
9069
9069
  onKeydown: a[6] || (a[6] = yt(lt(() => {
9070
9070
  }, ["prevent"]), ["enter", "native"])),
9071
9071
  label: l,
@@ -9171,7 +9171,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
9171
9171
  size: "small",
9172
9172
  modelValue: m.value,
9173
9173
  "onUpdate:modelValue": O[0] || (O[0] = (B) => m.value = B),
9174
- "prefix-icon": n(sn),
9174
+ "prefix-icon": n(nn),
9175
9175
  placeholder: "搜索模板",
9176
9176
  clearable: ""
9177
9177
  }, null, 8, ["modelValue", "prefix-icon"])
@@ -9218,7 +9218,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
9218
9218
  round: ""
9219
9219
  }, {
9220
9220
  default: h(() => O[2] || (O[2] = [
9221
- X(" VIP ")
9221
+ Q(" VIP ")
9222
9222
  ])),
9223
9223
  _: 1
9224
9224
  })) : I("", !0),
@@ -9248,7 +9248,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
9248
9248
  onClick: (z) => _(W)
9249
9249
  }, {
9250
9250
  default: h(() => O[3] || (O[3] = [
9251
- X(" 使用 ")
9251
+ Q(" 使用 ")
9252
9252
  ])),
9253
9253
  _: 2
9254
9254
  }, 1032, ["icon", "onClick"])
@@ -9267,7 +9267,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
9267
9267
  }, 1032, ["name", "title"]))), 256))
9268
9268
  ]),
9269
9269
  _: 1
9270
- }, 8, ["model-value"])) : (u(), y(n(De), {
9270
+ }, 8, ["model-value"])) : (u(), y(n(Re), {
9271
9271
  key: 1,
9272
9272
  description: "找不到符合条件的模板"
9273
9273
  }))
@@ -9327,7 +9327,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
9327
9327
  onClick: o
9328
9328
  }, {
9329
9329
  default: h(() => c[0] || (c[0] = [
9330
- X(" 开启新对话 ")
9330
+ Q(" 开启新对话 ")
9331
9331
  ])),
9332
9332
  _: 1
9333
9333
  }, 8, ["icon"]),
@@ -9336,7 +9336,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
9336
9336
  "border-style": "dotted"
9337
9337
  }, {
9338
9338
  default: h(() => c[1] || (c[1] = [
9339
- X(" 历史对话 ")
9339
+ Q(" 历史对话 ")
9340
9340
  ])),
9341
9341
  _: 1
9342
9342
  }),
@@ -9351,7 +9351,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
9351
9351
  onClick: (m) => i(d),
9352
9352
  onAction: a
9353
9353
  }, null, 8, ["index", "title", "model-value", "active", "onClick"]))), 256))
9354
- ])) : (u(), y(n(De), {
9354
+ ])) : (u(), y(n(Re), {
9355
9355
  key: 1,
9356
9356
  description: "暂无历史对话"
9357
9357
  }))
@@ -9370,7 +9370,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
9370
9370
  },
9371
9371
  emits: ["update:modelValue", "send"],
9372
9372
  setup(r, { expose: t, emit: e }) {
9373
- const s = r, o = e, i = pn.get(_o, { type: "local" }) ?? !0, a = C(""), l = C(i), c = C(s.model || "");
9373
+ const s = r, o = e, i = dn.get(_o, { type: "local" }) ?? !0, a = C(""), l = C(i), c = C(s.model || "");
9374
9374
  Z(
9375
9375
  () => s.models,
9376
9376
  (m) => {
@@ -9386,7 +9386,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
9386
9386
  immediate: !0
9387
9387
  }
9388
9388
  ), Z(l, (m) => {
9389
- pn.save(_o, m, { type: "local" }), wt.success({
9389
+ dn.save(_o, m, { type: "local" }), wt.success({
9390
9390
  message: m ? "您已开启自动应用到页面功能,当AI生成代码后将会自动更改当前低代码页面。" : "您已经关闭自动应用到页面功能,您可以通过手动的方式更改当前低代码页面"
9391
9391
  });
9392
9392
  });
@@ -9450,7 +9450,7 @@ const su = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
9450
9450
  size: "default"
9451
9451
  }, {
9452
9452
  default: h(() => g[3] || (g[3] = [
9453
- X(" 发送 ")
9453
+ Q(" 发送 ")
9454
9454
  ])),
9455
9455
  _: 1
9456
9456
  }, 8, ["icon", "disabled", "loading"])
@@ -9508,8 +9508,8 @@ function bm() {
9508
9508
  for (const le in S)
9509
9509
  H[le] = S[le];
9510
9510
  return M.forEach(function(le) {
9511
- for (const Ie in le)
9512
- H[Ie] = le[Ie];
9511
+ for (const je in le)
9512
+ H[je] = le[je];
9513
9513
  }), /** @type {T} */
9514
9514
  H;
9515
9515
  }
@@ -9520,7 +9520,7 @@ function bm() {
9520
9520
  const H = S.split(".");
9521
9521
  return [
9522
9522
  `${M}${H.shift()}`,
9523
- ...H.map((le, Ie) => `${le}${"_".repeat(Ie + 1)}`)
9523
+ ...H.map((le, je) => `${le}${"_".repeat(je + 1)}`)
9524
9524
  ].join(" ");
9525
9525
  }
9526
9526
  return `${M}${S}`;
@@ -9701,15 +9701,15 @@ function bm() {
9701
9701
  let H = 0;
9702
9702
  return S.map((le) => {
9703
9703
  H += 1;
9704
- const Ie = H;
9705
- let je = m(le), Y = "";
9706
- for (; je.length > 0; ) {
9707
- const K = E.exec(je);
9704
+ const je = H;
9705
+ let Oe = m(le), Y = "";
9706
+ for (; Oe.length > 0; ) {
9707
+ const K = E.exec(Oe);
9708
9708
  if (!K) {
9709
- Y += je;
9709
+ Y += Oe;
9710
9710
  break;
9711
9711
  }
9712
- Y += je.substring(0, K.index), je = je.substring(K.index + K[0].length), K[0][0] === "\\" && K[1] ? Y += "\\" + String(Number(K[1]) + Ie) : (Y += K[0], K[0] === "(" && H++);
9712
+ Y += Oe.substring(0, K.index), Oe = Oe.substring(K.index + K[0].length), K[0][0] === "\\" && K[1] ? Y += "\\" + String(Number(K[1]) + je) : (Y += K[0], K[0] === "(" && H++);
9713
9713
  }
9714
9714
  return Y;
9715
9715
  }).map((le) => `(${le})`).join(M);
@@ -9767,7 +9767,7 @@ function bm() {
9767
9767
  excludeBegin: !0,
9768
9768
  relevance: 0
9769
9769
  });
9770
- const Ie = k(
9770
+ const je = k(
9771
9771
  // list of common 1 and 2 letter words in English
9772
9772
  "I",
9773
9773
  "a",
@@ -9807,7 +9807,7 @@ function bm() {
9807
9807
  /[ ]+/,
9808
9808
  // necessary to prevent us gobbling up doctags like /* @author Bob Mcgill */
9809
9809
  "(",
9810
- Ie,
9810
+ je,
9811
9811
  /[.]?[:]?([.][ ]|[ ])/,
9812
9812
  "){3}"
9813
9813
  )
@@ -9839,7 +9839,7 @@ function bm() {
9839
9839
  contains: [te]
9840
9840
  }
9841
9841
  ]
9842
- }, an = {
9842
+ }, on = {
9843
9843
  scope: "title",
9844
9844
  begin: B,
9845
9845
  relevance: 0
@@ -9889,7 +9889,7 @@ function bm() {
9889
9889
  REGEXP_MODE: ut,
9890
9890
  RE_STARTERS_RE: L,
9891
9891
  SHEBANG: P,
9892
- TITLE_MODE: an,
9892
+ TITLE_MODE: on,
9893
9893
  UNDERSCORE_IDENT_RE: N,
9894
9894
  UNDERSCORE_TITLE_MODE: fn
9895
9895
  });
@@ -9941,19 +9941,19 @@ function bm() {
9941
9941
  // common variable name
9942
9942
  "value"
9943
9943
  // common variable name
9944
- ], Re = "keyword";
9945
- function nt(S, M, H = Re) {
9944
+ ], Ie = "keyword";
9945
+ function nt(S, M, H = Ie) {
9946
9946
  const le = /* @__PURE__ */ Object.create(null);
9947
- return typeof S == "string" ? Ie(H, S.split(" ")) : Array.isArray(S) ? Ie(H, S) : Object.keys(S).forEach(function(je) {
9947
+ return typeof S == "string" ? je(H, S.split(" ")) : Array.isArray(S) ? je(H, S) : Object.keys(S).forEach(function(Oe) {
9948
9948
  Object.assign(
9949
9949
  le,
9950
- nt(S[je], M, je)
9950
+ nt(S[Oe], M, Oe)
9951
9951
  );
9952
9952
  }), le;
9953
- function Ie(je, Y) {
9953
+ function je(Oe, Y) {
9954
9954
  M && (Y = Y.map((K) => K.toLowerCase())), Y.forEach(function(K) {
9955
9955
  const ae = K.split("|");
9956
- le[ae[0]] = [je, Le(ae[0], ae[1])];
9956
+ le[ae[0]] = [Oe, Le(ae[0], ae[1])];
9957
9957
  });
9958
9958
  }
9959
9959
  }
@@ -9972,10 +9972,10 @@ function bm() {
9972
9972
  }, Xt = new Error();
9973
9973
  function qs(S, M, { key: H }) {
9974
9974
  let le = 0;
9975
- const Ie = S[H], je = {}, Y = {};
9975
+ const je = S[H], Oe = {}, Y = {};
9976
9976
  for (let K = 1; K <= M.length; K++)
9977
- Y[K + le] = Ie[K], je[K + le] = !0, le += _(M[K - 1]);
9978
- S[H] = Y, S[H]._emit = je, S[H]._multi = !0;
9977
+ Y[K + le] = je[K], Oe[K + le] = !0, le += _(M[K - 1]);
9978
+ S[H] = Y, S[H]._emit = Oe, S[H]._multi = !0;
9979
9979
  }
9980
9980
  function Va(S) {
9981
9981
  if (Array.isArray(S.begin)) {
@@ -10063,11 +10063,11 @@ function bm() {
10063
10063
  return Je && (this.regexIndex += Je.position + 1, this.regexIndex === this.count && this.considerAll()), Je;
10064
10064
  }
10065
10065
  }
10066
- function Ie(Y) {
10066
+ function je(Y) {
10067
10067
  const K = new le();
10068
10068
  return Y.contains.forEach((ae) => K.addRule(ae.begin, { rule: ae, type: "begin" })), Y.terminatorEnd && K.addRule(Y.terminatorEnd, { type: "end" }), Y.illegal && K.addRule(Y.illegal, { type: "illegal" }), K;
10069
10069
  }
10070
- function je(Y, K) {
10070
+ function Oe(Y, K) {
10071
10071
  const ae = (
10072
10072
  /** @type CompiledMode */
10073
10073
  Y
@@ -10095,16 +10095,16 @@ function bm() {
10095
10095
  )), Y.contains || (Y.contains = []), Y.contains = [].concat(...Y.contains.map(function($e) {
10096
10096
  return Oa($e === "self" ? Y : $e);
10097
10097
  })), Y.contains.forEach(function($e) {
10098
- je(
10098
+ Oe(
10099
10099
  /** @type Mode */
10100
10100
  $e,
10101
10101
  ae
10102
10102
  );
10103
- }), Y.starts && je(Y.starts, K), ae.matcher = Ie(ae), ae;
10103
+ }), Y.starts && Oe(Y.starts, K), ae.matcher = je(ae), ae;
10104
10104
  }
10105
10105
  if (S.compilerExtensions || (S.compilerExtensions = []), S.contains && S.contains.includes("self"))
10106
10106
  throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");
10107
- return S.classNameAliases = s(S.classNameAliases || {}), je(
10107
+ return S.classNameAliases = s(S.classNameAliases || {}), Oe(
10108
10108
  /** @type Mode */
10109
10109
  S
10110
10110
  );
@@ -10125,8 +10125,8 @@ function bm() {
10125
10125
  }
10126
10126
  const as = e, Xs = s, Qs = Symbol("nomatch"), Na = 7, Ys = function(S) {
10127
10127
  const M = /* @__PURE__ */ Object.create(null), H = /* @__PURE__ */ Object.create(null), le = [];
10128
- let Ie = !0;
10129
- const je = "Could not find the language '{}', did you forget to load/include a language module?", Y = { disableAutodetect: !0, name: "Plain text", contains: [] };
10128
+ let je = !0;
10129
+ const Oe = "Could not find the language '{}', did you forget to load/include a language module?", Y = { disableAutodetect: !0, name: "Plain text", contains: [] };
10130
10130
  let K = {
10131
10131
  ignoreUnescapedHTML: !1,
10132
10132
  throwUnescapedHTML: !1,
@@ -10148,7 +10148,7 @@ function bm() {
10148
10148
  const ge = K.languageDetectRe.exec(oe);
10149
10149
  if (ge) {
10150
10150
  const we = Nt(ge[1]);
10151
- return we || ($t(je.replace("{}", ge[1])), $t("Falling back to no-highlight mode for this block.", U)), we ? ge[1] : "no-highlight";
10151
+ return we || ($t(Oe.replace("{}", ge[1])), $t("Falling back to no-highlight mode for this block.", U)), we ? ge[1] : "no-highlight";
10152
10152
  }
10153
10153
  return oe.split(/\s+/).find((we) => ae(we) || Nt(we));
10154
10154
  }
@@ -10278,7 +10278,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ze = U, we = oe), ge
10278
10278
  if (ke += G, me == null)
10279
10279
  return ot(), 0;
10280
10280
  if (jn.type === "begin" && ee.type === "end" && jn.index === ee.index && me === "") {
10281
- if (ke += oe.slice(ee.index, ee.index + 1), !Ie) {
10281
+ if (ke += oe.slice(ee.index, ee.index + 1), !je) {
10282
10282
  const ye = new Error(`0 width match regex (${U})`);
10283
10283
  throw ye.languageName = U, ye.badRule = jn.rule, ye;
10284
10284
  }
@@ -10303,7 +10303,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ze = U, we = oe), ge
10303
10303
  }
10304
10304
  const Et = Nt(U);
10305
10305
  if (!Et)
10306
- throw ft(je.replace("{}", U)), new Error('Unknown language: "' + U + '"');
10306
+ throw ft(Oe.replace("{}", U)), new Error('Unknown language: "' + U + '"');
10307
10307
  const Ya = ja(Et);
10308
10308
  let cs = "", ie = we || Ya;
10309
10309
  const lo = {}, Ke = new K.__emitter(K);
@@ -10346,7 +10346,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ze = U, we = oe), ge
10346
10346
  },
10347
10347
  _emitter: Ke
10348
10348
  };
10349
- if (Ie)
10349
+ if (je)
10350
10350
  return {
10351
10351
  language: U,
10352
10352
  value: as(oe),
@@ -10444,7 +10444,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ze = U, we = oe), ge
10444
10444
  try {
10445
10445
  ge = oe(S);
10446
10446
  } catch (we) {
10447
- if (ft("Language definition for '{}' could not be registered.".replace("{}", U)), Ie)
10447
+ if (ft("Language definition for '{}' could not be registered.".replace("{}", U)), je)
10448
10448
  ft(we);
10449
10449
  else
10450
10450
  throw we;
@@ -10519,9 +10519,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ze = U, we = oe), ge
10519
10519
  addPlugin: Ja,
10520
10520
  removePlugin: Ha
10521
10521
  }), S.debugMode = function() {
10522
- Ie = !1;
10522
+ je = !1;
10523
10523
  }, S.safeMode = function() {
10524
- Ie = !0;
10524
+ je = !0;
10525
10525
  }, S.versionString = Da, S.regex = {
10526
10526
  concat: x,
10527
10527
  lookahead: g,
@@ -10532,8 +10532,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ze = U, we = oe), ge
10532
10532
  for (const U in We)
10533
10533
  typeof We[U] == "object" && r(We[U]);
10534
10534
  return Object.assign(S, We), S;
10535
- }, ln = Ys({});
10536
- return ln.newInstance = () => Ys({}), ys = ln, ln.HighlightJS = ln, ln.default = ln, ys;
10535
+ }, an = Ys({});
10536
+ return an.newInstance = () => Ys({}), ys = an, an.HighlightJS = an, an.default = an, ys;
10537
10537
  }
10538
10538
  var ym = /* @__PURE__ */ bm();
10539
10539
  const $n = /* @__PURE__ */ hm(ym);
@@ -12447,7 +12447,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
12447
12447
  onClick: f
12448
12448
  }, {
12449
12449
  default: h(() => [
12450
- X(ne(g.value) + " ", 1),
12450
+ Q(ne(g.value) + " ", 1),
12451
12451
  p(n(Tt), { icon: c.value }, null, 8, ["icon"])
12452
12452
  ]),
12453
12453
  _: 1
@@ -12475,7 +12475,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
12475
12475
  onClick: x
12476
12476
  }, {
12477
12477
  default: h(() => _[0] || (_[0] = [
12478
- X("纠正错误")
12478
+ Q("纠正错误")
12479
12479
  ])),
12480
12480
  _: 1
12481
12481
  })
@@ -12520,7 +12520,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
12520
12520
  default: h(() => [
12521
12521
  T("div", Wm, [
12522
12522
  T("div", null, [
12523
- s[1] || (s[1] = X(" 使用AI助手需登录 VTJ.PRO 客户端,您还没登录或登录已失效,请重新登录! ")),
12523
+ s[1] || (s[1] = Q(" 使用AI助手需登录 VTJ.PRO 客户端,您还没登录或登录已失效,请重新登录! ")),
12524
12524
  p(n(ve), {
12525
12525
  size: "small",
12526
12526
  type: "primary",
@@ -12529,7 +12529,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
12529
12529
  onClick: n(t)
12530
12530
  }, {
12531
12531
  default: h(() => s[0] || (s[0] = [
12532
- X(" 立即登录 ")
12532
+ Q(" 立即登录 ")
12533
12533
  ])),
12534
12534
  _: 1
12535
12535
  }, 8, ["onClick"])
@@ -12557,7 +12557,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
12557
12557
  }, c = (d) => {
12558
12558
  s("send", { type: a.value, ...d });
12559
12559
  };
12560
- return nn(async () => {
12560
+ return tn(async () => {
12561
12561
  const d = await o();
12562
12562
  d?.success && (i.value = d.data);
12563
12563
  }), (d, v) => (u(), R("div", Gm, [
@@ -12576,7 +12576,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
12576
12576
  i.value.length ? (u(), R(q, { key: 0 }, [
12577
12577
  p(n(rt), { "content-position": "left" }, {
12578
12578
  default: h(() => v[0] || (v[0] = [
12579
- X("热门需求")
12579
+ Q("热门需求")
12580
12580
  ])),
12581
12581
  _: 1
12582
12582
  }),
@@ -12651,7 +12651,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
12651
12651
  o("change", a?.getValue(), m);
12652
12652
  }), a.onDidBlurEditorText(c);
12653
12653
  };
12654
- return nn(() => {
12654
+ return tn(() => {
12655
12655
  at(d);
12656
12656
  }), Ts(() => {
12657
12657
  a && a.dispose();
@@ -12666,7 +12666,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
12666
12666
  ref: i,
12667
12667
  onKeyup: g[0] || (g[0] = yt(lt(() => {
12668
12668
  }, ["stop"]), ["enter"])),
12669
- style: cn({ height: s.height })
12669
+ style: rn({ height: s.height })
12670
12670
  }, null, 38));
12671
12671
  }
12672
12672
  }), Ym = /* @__PURE__ */ $({
@@ -12695,7 +12695,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
12695
12695
  handle: h(() => [
12696
12696
  p(n(ve), { onClick: c }, {
12697
12697
  default: h(() => v[1] || (v[1] = [
12698
- X("重新生成DSL")
12698
+ Q("重新生成DSL")
12699
12699
  ])),
12700
12700
  _: 1
12701
12701
  })
@@ -12800,7 +12800,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
12800
12800
  const b = await t.createOrder();
12801
12801
  b?.success && (s.value = !0, o.value = b.data);
12802
12802
  }, m = async () => {
12803
- ((await t.getOrder(o.value?.id))?.data).status === "Completed" ? (await dn("订单已经支付成功,你权限已经开通!").catch(() => null), location.reload()) : await dn("您的订单状态还没更新,支付后请与客服联系!", {
12803
+ ((await t.getOrder(o.value?.id))?.data).status === "Completed" ? (await un("订单已经支付成功,你权限已经开通!").catch(() => null), location.reload()) : await un("您的订单状态还没更新,支付后请与客服联系!", {
12804
12804
  type: "success",
12805
12805
  confirmButtonText: "再等等"
12806
12806
  }).catch(() => null);
@@ -12831,7 +12831,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
12831
12831
  onClick: v
12832
12832
  }, {
12833
12833
  default: h(() => f[2] || (f[2] = [
12834
- X(" 立即开通 "),
12834
+ Q(" 立即开通 "),
12835
12835
  T("span", { class: "price" }, "99元/月", -1)
12836
12836
  ])),
12837
12837
  _: 1
@@ -12845,7 +12845,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
12845
12845
  onClick: d
12846
12846
  }, {
12847
12847
  default: h(() => f[3] || (f[3] = [
12848
- X(" 取消 ")
12848
+ Q(" 取消 ")
12849
12849
  ])),
12850
12850
  _: 1
12851
12851
  })
@@ -12869,7 +12869,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
12869
12869
  onClick: m
12870
12870
  }, {
12871
12871
  default: h(() => f[9] || (f[9] = [
12872
- X(" 已完成 ")
12872
+ Q(" 已完成 ")
12873
12873
  ])),
12874
12874
  _: 1
12875
12875
  }, 8, ["icon"]),
@@ -12879,7 +12879,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
12879
12879
  onClick: g
12880
12880
  }, {
12881
12881
  default: h(() => f[10] || (f[10] = [
12882
- X("取消")
12882
+ Q("取消")
12883
12883
  ])),
12884
12884
  _: 1
12885
12885
  })
@@ -12890,7 +12890,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
12890
12890
  closable: !1
12891
12891
  }, {
12892
12892
  default: h(() => f[4] || (f[4] = [
12893
- X(" 您的订单已经成功创建,请按以下步骤完成开通订阅。 ")
12893
+ Q(" 您的订单已经成功创建,请按以下步骤完成开通订阅。 ")
12894
12894
  ])),
12895
12895
  _: 1
12896
12896
  }),
@@ -12946,7 +12946,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
12946
12946
  onClick: c
12947
12947
  }, {
12948
12948
  default: h(() => f[7] || (f[7] = [
12949
- X("复制")
12949
+ Q("复制")
12950
12950
  ])),
12951
12951
  _: 1
12952
12952
  }, 8, ["icon"])
@@ -12959,7 +12959,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
12959
12959
  }),
12960
12960
  f[11] || (f[11] = T("div", { class: "pay-tip" }, [
12961
12961
  T("strong", null, "提示:"),
12962
- X(" 订阅成功后您将拥有VTJ.PRO全功能权限,并赠送DeepSeek官方5百万tokens使用量。 ")
12962
+ Q(" 订阅成功后您将拥有VTJ.PRO全功能权限,并赠送DeepSeek官方5百万tokens使用量。 ")
12963
12963
  ], -1))
12964
12964
  ]),
12965
12965
  _: 1
@@ -13015,7 +13015,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
13015
13015
  title: "隐藏代码块",
13016
13016
  type: "default"
13017
13017
  }), vt = V(() => !Fe.value || tt.value ? "hidden" : "auto");
13018
- nn(async () => {
13018
+ tn(async () => {
13019
13019
  Fe.value = await e();
13020
13020
  });
13021
13021
  const ut = () => {
@@ -13034,7 +13034,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
13034
13034
  return;
13035
13035
  }
13036
13036
  qe.value = !qe.value;
13037
- }, an = () => {
13037
+ }, on = () => {
13038
13038
  N.value || (s.value = !0, qe.value = !1);
13039
13039
  }, fn = (qt) => {
13040
13040
  qe.value = !1, s.value = !1, c.value = qt, m(qt.id);
@@ -13144,7 +13144,8 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
13144
13144
  onApply: (Kt) => n(x)(We),
13145
13145
  onFix: (Kt) => n(D)(We)
13146
13146
  }, null, 8, ["data", "code", "onView", "onRefresh", "onApply", "onFix"])
13147
- ], 64))), 128))
13147
+ ], 64))), 128)),
13148
+ n(l).length ? I("", !0) : (u(), y(n(Re), { key: 0 }))
13148
13149
  ], 512)),
13149
13150
  n(_) ? (u(), y(Zm, {
13150
13151
  key: 4,
@@ -13168,10 +13169,10 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
13168
13169
  type: "primary",
13169
13170
  size: "small",
13170
13171
  icon: n(ca),
13171
- onClick: an
13172
+ onClick: on
13172
13173
  }, {
13173
13174
  default: h(() => gt[2] || (gt[2] = [
13174
- X(" 开启新对话 ")
13175
+ Q(" 开启新对话 ")
13175
13176
  ])),
13176
13177
  _: 1
13177
13178
  }, 8, ["icon"]),
@@ -13222,7 +13223,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
13222
13223
  p(pm, {
13223
13224
  current: n(c),
13224
13225
  topics: n(v),
13225
- onNew: an,
13226
+ onNew: on,
13226
13227
  onLoad: fn,
13227
13228
  onRemove: n(g)
13228
13229
  }, null, 8, ["current", "topics", "onRemove"])
@@ -14278,7 +14279,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
14278
14279
  setup(r, { emit: t }) {
14279
14280
  const e = (c = "") => ({
14280
14281
  type: "JSExpression",
14281
- value: tn(c) ? c.value : c
14282
+ value: en(c) ? c.value : c
14282
14283
  }), s = r, o = t, i = (c) => Xe(c, s.context, !0), a = C(e(s.modelValue).value);
14283
14284
  Z(
14284
14285
  () => s.modelValue,
@@ -14303,10 +14304,10 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
14303
14304
  onChange: l
14304
14305
  }, {
14305
14306
  prefix: h(() => [
14306
- X(ne(Av))
14307
+ Q(ne(Av))
14307
14308
  ]),
14308
14309
  suffix: h(() => [
14309
- X(ne(Vv))
14310
+ Q(ne(Vv))
14310
14311
  ]),
14311
14312
  _: 1
14312
14313
  }, 8, ["modelValue"]));
@@ -14337,7 +14338,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
14337
14338
  },
14338
14339
  emits: ["change"],
14339
14340
  setup(r, { emit: t }) {
14340
- const e = r, s = t, o = V(() => tn(e.modelValue) ? void 0 : Number(e.modelValue || 0)), i = (a) => {
14341
+ const e = r, s = t, o = V(() => en(e.modelValue) ? void 0 : Number(e.modelValue || 0)), i = (a) => {
14341
14342
  s("change", a);
14342
14343
  };
14343
14344
  return (a, l) => (u(), y(n(bl), Pe({
@@ -14375,7 +14376,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
14375
14376
  key: 0,
14376
14377
  src: o.svg
14377
14378
  }, null, 8, ["src"])) : (u(), R(q, { key: 1 }, [
14378
- X(ne(o.label), 1)
14379
+ Q(ne(o.label), 1)
14379
14380
  ], 64))
14380
14381
  ]),
14381
14382
  _: 2
@@ -14413,7 +14414,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
14413
14414
  src: l.svg,
14414
14415
  size: 16
14415
14416
  }, null, 8, ["src"])) : (u(), R(q, { key: 1 }, [
14416
- X(ne(l.label), 1)
14417
+ Q(ne(l.label), 1)
14417
14418
  ], 64))
14418
14419
  ], 10, Dv))), 256))
14419
14420
  ], 16));
@@ -14872,7 +14873,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
14872
14873
  onClick: m
14873
14874
  }, {
14874
14875
  default: h(() => f[2] || (f[2] = [
14875
- X(" 清除绑定 ")
14876
+ Q(" 清除绑定 ")
14876
14877
  ])),
14877
14878
  _: 1
14878
14879
  })
@@ -14881,7 +14882,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
14881
14882
  T("div", Fv, [
14882
14883
  p(n(Me), {
14883
14884
  size: s.size,
14884
- "prefix-icon": n(sn),
14885
+ "prefix-icon": n(nn),
14885
14886
  clearable: "",
14886
14887
  modelValue: a.value,
14887
14888
  "onUpdate:modelValue": f[0] || (f[0] = (x) => a.value = x),
@@ -14899,7 +14900,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
14899
14900
  "van-icon-setter__item"
14900
14901
  ])
14901
14902
  }, null, 10, Hv))), 256)),
14902
- c.value.length === 0 ? (u(), y(n(De), {
14903
+ c.value.length === 0 ? (u(), y(n(Re), {
14903
14904
  key: 0,
14904
14905
  class: "empty-wrapper"
14905
14906
  })) : I("", !0)
@@ -15079,7 +15080,7 @@ const $m = ["innerHTML"], Nm = /* @__PURE__ */ $({
15079
15080
  ];
15080
15081
  class Qv {
15081
15082
  constructor() {
15082
- Q(this, "widgets", {});
15083
+ X(this, "widgets", {});
15083
15084
  this.widgets = this.createWidgets();
15084
15085
  }
15085
15086
  createWidgets() {
@@ -15219,8 +15220,8 @@ class Yv {
15219
15220
  const Zv = new Yv();
15220
15221
  class eg {
15221
15222
  constructor() {
15222
- Q(this, "setters", {});
15223
- Q(this, "defaultSetter", Kv);
15223
+ X(this, "setters", {});
15224
+ X(this, "defaultSetter", Kv);
15224
15225
  this.setters = this.createSetters();
15225
15226
  }
15226
15227
  createSetters() {
@@ -15265,14 +15266,14 @@ class eg {
15265
15266
  const wn = new eg();
15266
15267
  class tg {
15267
15268
  constructor() {
15268
- Q(this, "window");
15269
- Q(this, "engine");
15270
- Q(this, "app");
15271
- Q(this, "isOpen", C(!1));
15272
- Q(this, "enabled");
15273
- Q(this, "proxyUpdateState");
15274
- Q(this, "isInited", !1);
15275
- Q(this, "proxyLoad");
15269
+ X(this, "window");
15270
+ X(this, "engine");
15271
+ X(this, "app");
15272
+ X(this, "isOpen", C(!1));
15273
+ X(this, "enabled");
15274
+ X(this, "proxyUpdateState");
15275
+ X(this, "isInited", !1);
15276
+ X(this, "proxyLoad");
15276
15277
  this.proxyUpdateState = this.updateState.bind(this), this.proxyLoad = Jo(this.load, 500);
15277
15278
  }
15278
15279
  createScript(t, e, s) {
@@ -15287,7 +15288,7 @@ class tg {
15287
15288
  });
15288
15289
  }
15289
15290
  async load(t) {
15290
- this.enabled && (await en(200), this.window && this.appUnmount(this.window), t && this.appInit(t), this.isInited = !0);
15291
+ this.enabled && (await pn(200), this.window && this.appUnmount(this.window), t && this.appInit(t), this.isInited = !0);
15291
15292
  }
15292
15293
  updateState(t) {
15293
15294
  t.key === go && (this.isOpen.value = !!this.getState().open);
@@ -15352,15 +15353,15 @@ function ng(r, t) {
15352
15353
  }
15353
15354
  class sg {
15354
15355
  constructor(t, e, s, o) {
15355
- Q(this, "proxied", {});
15356
- Q(this, "document", null);
15357
- Q(this, "hover", mt(null));
15358
- Q(this, "dropping", mt(null));
15359
- Q(this, "selected", C(null));
15360
- Q(this, "dragging", null);
15361
- Q(this, "draggingNode", null);
15362
- Q(this, "lines", mt([]));
15363
- Q(this, "outlineEnabled", C(!0));
15356
+ X(this, "proxied", {});
15357
+ X(this, "document", null);
15358
+ X(this, "hover", mt(null));
15359
+ X(this, "dropping", mt(null));
15360
+ X(this, "selected", C(null));
15361
+ X(this, "dragging", null);
15362
+ X(this, "draggingNode", null);
15363
+ X(this, "lines", mt([]));
15364
+ X(this, "outlineEnabled", C(!0));
15364
15365
  this.engine = t, this.contentWindow = e, this.dependencies = s, this.devtools = o, this.document = this.contentWindow.document, this.bindEvents(e, this.document);
15365
15366
  }
15366
15367
  bind(t, e) {
@@ -15381,10 +15382,10 @@ class sg {
15381
15382
  "click",
15382
15383
  this.bind(this.onSelected, "onSelected"),
15383
15384
  !0
15384
- ), Oe.on(
15385
+ ), De.on(
15385
15386
  ks,
15386
15387
  this.bind(this.onActiveChange, "onActiveChange")
15387
- ), Oe.on(Sn, this.bind(this.onViewChange, "onViewChange")), Z(
15388
+ ), De.on(Sn, this.bind(this.onViewChange, "onViewChange")), Z(
15388
15389
  this.devtools.isOpen,
15389
15390
  (s) => {
15390
15391
  s && this.cleanHelper();
@@ -15410,10 +15411,10 @@ class sg {
15410
15411
  ), e.removeEventListener(
15411
15412
  "dragstart",
15412
15413
  this.bind(this.onDragStart, "onDragStart")
15413
- ), e.removeEventListener("dragend", this.bind(this.onDragEnd, "onDragEnd")), e.removeEventListener("drop", this.bind(this.onDrop, "onDrop")), e.removeEventListener("click", this.bind(this.onSelected, "onSelected")), Oe.off(
15414
+ ), e.removeEventListener("dragend", this.bind(this.onDragEnd, "onDragEnd")), e.removeEventListener("drop", this.bind(this.onDrop, "onDrop")), e.removeEventListener("click", this.bind(this.onSelected, "onSelected")), De.off(
15414
15415
  ks,
15415
15416
  this.bind(this.onActiveChange, "onActiveChange")
15416
- ), Oe.off(
15417
+ ), De.off(
15417
15418
  Sn,
15418
15419
  this.bind(this.onViewChange, "onViewChange")
15419
15420
  );
@@ -15567,7 +15568,7 @@ class sg {
15567
15568
  this.setSelected(null), this.setHover(null), this.setDragging(null), this.setDropping(null);
15568
15569
  }
15569
15570
  async updateRect() {
15570
- await en(100);
15571
+ await pn(100);
15571
15572
  const t = n(this.selected), e = n(this.hover);
15572
15573
  if (t) {
15573
15574
  const s = t.el.getBoundingClientRect();
@@ -15589,7 +15590,7 @@ class sg {
15589
15590
  this.lines.value = [];
15590
15591
  return;
15591
15592
  }
15592
- await en(50);
15593
+ await pn(50);
15593
15594
  const t = this.engine.simulator.renderer?.context?.__refs || {}, e = [], s = Object.keys(vs.nodes);
15594
15595
  for (const o of s) {
15595
15596
  const i = t[o];
@@ -15678,9 +15679,10 @@ const og = [
15678
15679
  ];
15679
15680
  class ag {
15680
15681
  constructor(t, e, s) {
15681
- Q(this, "api");
15682
- Q(this, "remote");
15683
- Q(this, "debounceSend");
15682
+ X(this, "api");
15683
+ X(this, "remote");
15684
+ X(this, "debounceSend");
15685
+ X(this, "timer", null);
15684
15686
  this.access = e, this.service = s, this.remote = t || "https://lcdp.vtj.pro", this.api = this.remote + yc, this.debounceSend = Jo(this.send.bind(this), 500), this.online(), this.bindGlobalError(), this.service && this.bindServerError(this.service);
15685
15687
  }
15686
15688
  isVtjUrl(t) {
@@ -15720,8 +15722,8 @@ class ag {
15720
15722
  });
15721
15723
  }
15722
15724
  getSessionId() {
15723
- let t = pn.get(fo, { type: "session" });
15724
- return t || (t = jl(), pn.save(fo, t, { type: "session" })), t;
15725
+ let t = dn.get(fo, { type: "session" });
15726
+ return t || (t = jl(), dn.save(fo, t, { type: "session" })), t;
15725
15727
  }
15726
15728
  send(t) {
15727
15729
  const e = this.access.getData(), s = Ol(), { href: o, protocol: i, host: a } = location, l = document.referrer, c = Object.assign(
@@ -15754,9 +15756,14 @@ class ag {
15754
15756
  });
15755
15757
  }
15756
15758
  async online() {
15757
- await en(5 * 60 * 1e3), this.debounceSend({
15759
+ clearTimeout(this.timer), this.timer = setTimeout(
15760
+ () => {
15761
+ this.online();
15762
+ },
15763
+ 5 * 60 * 1e3
15764
+ ), this.debounceSend({
15758
15765
  type: "online"
15759
- }), this.online();
15766
+ });
15760
15767
  }
15761
15768
  event(t) {
15762
15769
  this.debounceSend({
@@ -15776,12 +15783,12 @@ class ag {
15776
15783
  }
15777
15784
  class lg {
15778
15785
  constructor(t, e, s, o, i = null, a = null) {
15779
- Q(this, "app", null);
15780
- Q(this, "dsl", null);
15781
- Q(this, "nodeChange");
15782
- Q(this, "blockChange");
15783
- Q(this, "context", null);
15784
- Q(this, "file");
15786
+ X(this, "app", null);
15787
+ X(this, "dsl", null);
15788
+ X(this, "nodeChange");
15789
+ X(this, "blockChange");
15790
+ X(this, "context", null);
15791
+ X(this, "file");
15785
15792
  this.env = t, this.service = e, this.provider = s, this.report = o, this.project = i, this.designer = a, this.nodeChange = this.__onNodeChange.bind(this), this.blockChange = this.__onBlockChange.bind(this);
15786
15793
  }
15787
15794
  install(t, e) {
@@ -15871,7 +15878,7 @@ class lg {
15871
15878
  file: t.toDsl()
15872
15879
  });
15873
15880
  }
15874
- this.context = d, Oe.on(Sn, this.nodeChange), Oe.on(Ss, this.blockChange);
15881
+ this.context = d, De.on(Sn, this.nodeChange), De.on(Ss, this.blockChange);
15875
15882
  }
15876
15883
  dispose() {
15877
15884
  if (this.app) {
@@ -15884,7 +15891,7 @@ class lg {
15884
15891
  }
15885
15892
  this.app = null;
15886
15893
  }
15887
- this.dsl = null, this.context = null, this.file = null, ei(), Oe.off(Sn, this.nodeChange), Oe.off(Ss, this.blockChange);
15894
+ this.dsl = null, this.context = null, this.file = null, ei(), De.off(Sn, this.nodeChange), De.off(Ss, this.blockChange);
15888
15895
  }
15889
15896
  updateChild(t, e) {
15890
15897
  const s = e.children || e.nodes || [];
@@ -15919,13 +15926,13 @@ class lg {
15919
15926
  class ig extends Go {
15920
15927
  constructor(e) {
15921
15928
  super();
15922
- Q(this, "contentWindow", null);
15923
- Q(this, "renderer", null);
15924
- Q(this, "designer", mt(null));
15925
- Q(this, "engine");
15926
- Q(this, "materialPath");
15927
- Q(this, "rendered", C(Symbol()));
15928
- Q(this, "devtools", new tg());
15929
+ X(this, "contentWindow", null);
15930
+ X(this, "renderer", null);
15931
+ X(this, "designer", mt(null));
15932
+ X(this, "engine");
15933
+ X(this, "materialPath");
15934
+ X(this, "rendered", C(Symbol()));
15935
+ X(this, "devtools", new tg());
15929
15936
  const { engine: s, materialPath: o } = e;
15930
15937
  this.engine = s, this.materialPath = o, window.Mock = da, Z(this.engine.current, () => {
15931
15938
  this.refresh();
@@ -16109,10 +16116,10 @@ class ig extends Go {
16109
16116
  }
16110
16117
  class rg {
16111
16118
  constructor(t, e) {
16112
- Q(this, "components", []);
16113
- Q(this, "componentMap", /* @__PURE__ */ new Map());
16114
- Q(this, "groups", C([]));
16115
- Q(this, "caches", {});
16119
+ X(this, "components", []);
16120
+ X(this, "componentMap", /* @__PURE__ */ new Map());
16121
+ X(this, "groups", C([]));
16122
+ X(this, "caches", {});
16116
16123
  this.service = t, this.provider = e;
16117
16124
  }
16118
16125
  getCateoryComponents(t, e) {
@@ -16201,29 +16208,29 @@ const Aa = Symbol("VtjEngine"), _s = "SAVE_BLOCK_FILE_FINISH";
16201
16208
  class Zg extends Go {
16202
16209
  constructor(e) {
16203
16210
  super();
16204
- Q(this, "app");
16205
- Q(this, "skeleton");
16206
- Q(this, "container");
16207
- Q(this, "service");
16208
- Q(this, "assets");
16209
- Q(this, "simulator");
16210
- Q(this, "emitter", Oe);
16211
- Q(this, "project", C(null));
16212
- Q(this, "current", C(null));
16213
- Q(this, "context", C(null));
16214
- Q(this, "isEmptyCurrent", C(!1));
16215
- Q(this, "history", C(null));
16216
- Q(this, "provider");
16217
- Q(this, "adapter");
16211
+ X(this, "app");
16212
+ X(this, "skeleton");
16213
+ X(this, "container");
16214
+ X(this, "service");
16215
+ X(this, "assets");
16216
+ X(this, "simulator");
16217
+ X(this, "emitter", De);
16218
+ X(this, "project", C(null));
16219
+ X(this, "current", C(null));
16220
+ X(this, "context", C(null));
16221
+ X(this, "isEmptyCurrent", C(!1));
16222
+ X(this, "history", C(null));
16223
+ X(this, "provider");
16224
+ X(this, "adapter");
16218
16225
  /**
16219
16226
  * 当current变化时,更新该值,用于通知组件更新
16220
16227
  */
16221
- Q(this, "changed", C(Symbol()));
16222
- Q(this, "access");
16223
- Q(this, "remote");
16224
- Q(this, "report");
16225
- Q(this, "checkVersion", !0);
16226
- Q(this, "openApi");
16228
+ X(this, "changed", C(Symbol()));
16229
+ X(this, "access");
16230
+ X(this, "remote");
16231
+ X(this, "report");
16232
+ X(this, "checkVersion", !0);
16233
+ X(this, "openApi");
16227
16234
  this.options = e;
16228
16235
  const {
16229
16236
  container: s,
@@ -16255,7 +16262,7 @@ class Zg extends Go {
16255
16262
  }), this.assets = new rg(this.service, this.provider), this.simulator = new ig({
16256
16263
  engine: this,
16257
16264
  materialPath: d
16258
- }), this.access = b || new ii({ alert: dn, ...bc }), this.remote = f, this.report = new ag(f, this.access, this.service), this.checkVersion = x, this.bindEvents(), this.init(i).then(this.render.bind(this)), Ts(this.dispose.bind(this));
16265
+ }), this.access = b || new ii({ alert: un, ...bc }), this.remote = f, this.report = new ag(f, this.access, this.service), this.checkVersion = x, this.bindEvents(), this.init(i).then(this.render.bind(this)), Ts(this.dispose.bind(this));
16259
16266
  }
16260
16267
  async init(e) {
16261
16268
  const s = await this.service.init(e).catch((o) => (Dt.warn("VTJEngine service init fail.", o), null));
@@ -16275,7 +16282,7 @@ class Zg extends Go {
16275
16282
  Dt.warn("VTJEngine constructor param [ container ] is undefined");
16276
16283
  }
16277
16284
  bindEvents() {
16278
- Oe.on(Ll, (e) => this.saveProject(e)), Oe.on(zl, (e) => this.saveBlockFile(e)), Oe.on(Ul, (e) => this.saveBlockFile(e)), Oe.on(Fl, () => this.saveMaterials()), Oe.on(ks, (e) => this.activeFile(e)), Oe.on(Wl, () => this.publish()), Oe.on(Jl, () => this.publishCurrent()), Oe.on(Ss, (e) => this.changeFile(e)), Oe.on(Sn, () => this.changeCurrentFile()), Oe.on(Hl, (e) => this.saveHistory(e)), Oe.on(Gl, (e) => this.loadHistory(e)), Oe.on(ql, () => this.genSource());
16285
+ De.on(Ll, (e) => this.saveProject(e)), De.on(zl, (e) => this.saveBlockFile(e)), De.on(Ul, (e) => this.saveBlockFile(e)), De.on(Fl, () => this.saveMaterials()), De.on(ks, (e) => this.activeFile(e)), De.on(Wl, () => this.publish()), De.on(Jl, () => this.publishCurrent()), De.on(Ss, (e) => this.changeFile(e)), De.on(Sn, () => this.changeCurrentFile()), De.on(Hl, (e) => this.saveHistory(e)), De.on(Gl, (e) => this.loadHistory(e)), De.on(ql, () => this.genSource());
16279
16286
  }
16280
16287
  async activeFile(e) {
16281
16288
  await at();
@@ -16628,7 +16635,7 @@ const Bt = $({
16628
16635
  defaultSetter() {
16629
16636
  const { value: r, computedSetters: t } = this;
16630
16637
  let e = typeof r;
16631
- e === "object" && (Array.isArray(r) ? e = "array" : tn(r) ? e = "object" : ri(r) && (e = "function"));
16638
+ e === "object" && (Array.isArray(r) ? e = "array" : en(r) ? e = "object" : ri(r) && (e = "function"));
16632
16639
  const s = wn.getByType(e) || [];
16633
16640
  return s.length ? (t.find((o) => s.includes(o.name)) || t[0])?.name : t[0]?.name;
16634
16641
  }
@@ -16715,7 +16722,7 @@ const Bt = $({
16715
16722
  c.value = N.elementWidth.value;
16716
16723
  }
16717
16724
  }, g = C(), b = C(), f = C(), x = C(), w = C(), k = C(), _ = C(), A = C(), E = C(!1), j = C(!1);
16718
- return nn(async () => {
16725
+ return tn(async () => {
16719
16726
  await i() || await o(), d();
16720
16727
  }), t({
16721
16728
  brand: g,
@@ -16862,7 +16869,7 @@ const Bt = $({
16862
16869
  setup(r, { emit: t }) {
16863
16870
  const e = r, s = t, o = C(!1), i = C(""), a = C(
16864
16871
  e.setters.find((k) => k.name === e.defaultSetter) || e.setters[0]
16865
- ), l = C(e.value), c = V(() => !!tn(l.value)), d = {
16872
+ ), l = C(e.value), c = V(() => !!en(l.value)), d = {
16866
16873
  [a.value.name]: l.value
16867
16874
  }, v = (k) => {
16868
16875
  d[a.value.name] = l.value, a.value = k, l.value = d[k.name] ?? void 0, m(l.value);
@@ -16885,13 +16892,13 @@ const Bt = $({
16885
16892
  }, g = () => {
16886
16893
  s("remove", e.name);
16887
16894
  }, b = () => {
16888
- o.value = !0, i.value = tn(l.value) ? l.value.value : "";
16895
+ o.value = !0, i.value = en(l.value) ? l.value.value : "";
16889
16896
  }, f = () => {
16890
16897
  o.value = !1, i.value = "";
16891
16898
  }, x = async (k) => Xe(k, e.context, !0) ? (d[a.value.name] = l.value, l.value = k, s("change", k), !0) : !1, w = async () => {
16892
16899
  await Jt("确定要解除绑定吗?") && (f(), l.value = void 0, s("change", void 0));
16893
16900
  };
16894
- return (k, _) => (u(), y(n(un), {
16901
+ return (k, _) => (u(), y(n(cn), {
16895
16902
  class: "v-setter",
16896
16903
  size: "small",
16897
16904
  "label-positon": "left"
@@ -16903,7 +16910,7 @@ const Bt = $({
16903
16910
  content: e.title
16904
16911
  }, {
16905
16912
  default: h(() => [
16906
- X(ne(e.label || e.name), 1)
16913
+ Q(ne(e.label || e.name), 1)
16907
16914
  ]),
16908
16915
  _: 1
16909
16916
  }, 8, ["content"])) : (u(), R("span", {
@@ -16932,10 +16939,10 @@ const Bt = $({
16932
16939
  "model-value": "JSExpression"
16933
16940
  }, {
16934
16941
  prefix: h(() => [
16935
- X(ne(gg))
16942
+ Q(ne(gg))
16936
16943
  ]),
16937
16944
  suffix: h(() => [
16938
- X(ne(fg))
16945
+ Q(ne(fg))
16939
16946
  ]),
16940
16947
  _: 1
16941
16948
  })) : I("", !0)
@@ -16967,7 +16974,7 @@ const Bt = $({
16967
16974
  "is-placeholder": A.name !== a.value.name
16968
16975
  })
16969
16976
  }, null, 8, ["class"]),
16970
- X(" " + ne(A.label), 1)
16977
+ Q(" " + ne(A.label), 1)
16971
16978
  ]),
16972
16979
  _: 2
16973
16980
  }, 1032, ["command"]))), 128))
@@ -17289,7 +17296,7 @@ const Bt = $({
17289
17296
  default: h(() => [
17290
17297
  p(n(ia)),
17291
17298
  T("span", null, [
17292
- X(ne(n(i)?.model.name) + ": ", 1),
17299
+ Q(ne(n(i)?.model.name) + ": ", 1),
17293
17300
  T("i", null, ne(n(i)?.model.id), 1)
17294
17301
  ])
17295
17302
  ]),
@@ -17342,11 +17349,11 @@ const Bt = $({
17342
17349
  ]),
17343
17350
  _: 1
17344
17351
  })) : I("", !0),
17345
- n(i) ? I("", !0) : (u(), y(n(De), {
17352
+ n(i) ? I("", !0) : (u(), y(n(Re), {
17346
17353
  key: 2,
17347
17354
  description: "请在左侧画布选中节点"
17348
17355
  })),
17349
- n(i) && n(i).model.locked ? (u(), y(n(De), {
17356
+ n(i) && n(i).model.locked ? (u(), y(n(Re), {
17350
17357
  key: 3,
17351
17358
  "image-size": 1,
17352
17359
  description: "节点已被锁定, 禁止编辑"
@@ -17468,7 +17475,7 @@ export {
17468
17475
  Bt as a4,
17469
17476
  Gt as a5,
17470
17477
  re as a6,
17471
- dn as a7,
17478
+ un as a7,
17472
17479
  xe as a8,
17473
17480
  Jt as a9,
17474
17481
  Ne as aa,