@vtj/designer 0.10.1-alpha.2 → 0.10.1-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -2,13 +2,13 @@ var wl = Object.defineProperty;
2
2
  var kl = (i, t, e) => t in i ? wl(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
3
  var F = (i, t, e) => kl(i, typeof t != "symbol" ? t + "" : t, e);
4
4
  import { computed as V, unref as n, ref as C, watch as J, reactive as Ze, watchEffect as Sl, toValue as _e, defineComponent as I, createElementBlock as D, openBlock as c, toDisplayString as L, createVNode as p, withCtx as h, createElementVNode as j, createBlock as _, createCommentVNode as E, createTextVNode as M, mergeProps as ce, h as Fe, readonly as xl, onMounted as Ht, nextTick as je, getCurrentScope as Cl, onScopeDispose as Vl, getCurrentInstance as Cn, shallowRef as Qe, toRaw as Vn, Fragment as z, renderList as U, normalizeClass as X, defineAsyncComponent as jl, resolveDynamicComponent as jn, createSlots as Al, renderSlot as Ee, withDirectives as Te, vShow as Je, withModifiers as Se, isRef as Lt, normalizeStyle as lt, inject as Gt, provide as El, withKeys as Ae, normalizeProps as An, guardReactiveProps as En, onUnmounted as Dn, markRaw as Ut, createApp as In, shallowReactive as Dl, triggerRef as Oe, KeepAlive as $n } from "vue";
5
- import { ElNotification as Kt, ElMessage as Pe, ElMessageBox as Re, ElButton as Z, ElDivider as Le, ElRadioGroup as Tn, ElRadioButton as vt, ElButtonGroup as Il, ElSwitch as Xt, ElImage as Pn, ElDropdown as Rn, ElDropdownMenu as Bn, ElDropdownItem as gt, ElInput as ve, ElEmpty as ue, ElAlert as On, ElTooltip as zn, ElTag as Fn, ElTree as Qt, ElCollapse as xt, ElCollapseItem as Ct, ElRow as ht, ElCol as bt, ElDrawer as Ln, ElForm as be, ElFormItem as Xe, ElBreadcrumb as $l, ElBreadcrumbItem as Tl, ElLoading as Pl, ElBadge as Rl, ElAvatar as Un, vLoading as Bl, ElSelect as Ol, ElOption as zl, ElInputNumber as Fl, ElColorPicker as Ll, ElUpload as Ul, ElSlider as Wl, ElConfigProvider as Nl, ElContainer as cn, ElHeader as Ml, ElAside as dn, ElMain as Jl, ElFooter as ql } from "element-plus";
5
+ import { ElNotification as Kt, ElMessage as Pe, ElMessageBox as Re, ElButton as Z, ElDivider as Le, ElRadioGroup as Tn, ElRadioButton as vt, ElButtonGroup as Il, ElSwitch as Xt, ElImage as Pn, ElDropdown as Rn, ElDropdownMenu as Bn, ElDropdownItem as gt, ElInput as ve, ElEmpty as ue, ElAlert as On, ElTooltip as zn, ElTag as Fn, ElTree as Qt, ElCollapse as xt, ElCollapseItem as Ct, ElRow as ht, ElCol as bt, ElDrawer as Ln, ElForm as be, ElFormItem as Xe, ElBreadcrumb as $l, ElBreadcrumbItem as Tl, ElLoading as Pl, ElBadge as Rl, ElAvatar as Un, vLoading as Bl, ElSelect as Ol, ElOption as zl, ElInputNumber as Fl, ElColorPicker as Ll, ElUpload as Ul, ElSlider as Nl, ElConfigProvider as Wl, ElContainer as cn, ElHeader as Ml, ElAside as dn, ElMain as Jl, ElFooter as ql } from "element-plus";
6
6
  import Hl from "element-plus/es/locale/lang/zh-cn";
7
- import { XDialogForm as De, XField as P, createDialog as Wn, XIcon as Ue, XDialog as Ie, XPanel as Vt, XAction as he, XTabs as jt, XContainer as K, XForm as Yt, XAttachment as Gl, XActionBar as Kl, XInputUnit as Nn, vResizable as pn } from "@vtj/ui";
7
+ import { XDialogForm as De, XField as P, createDialog as Nn, XIcon as Ue, XDialog as Ie, XPanel as Vt, XAction as he, XTabs as jt, XContainer as K, XForm as Yt, XAttachment as Gl, XActionBar as Kl, XInputUnit as Wn, vResizable as pn } from "@vtj/ui";
8
8
  import { jsonp as Ke, groupBy as st, dataURLtoBlob as Xl, delay as yt, upperFirstCamelCase as Mn, toRawType as Tt, cloneDeep as ct, logger as Be, isPlainObject as Ql, fileToBase64 as Yl, merge as Zt, toArray as en, debounce as Zl, arrayToMap as ea } from "@vtj/utils";
9
- import { BUILT_IN_NAME as _t, isBlock as oe, DirectiveModel as Jn, createNodeFrom as ta, BUILT_IN_VUE as mn, BUILT_IN_VUE_ROUTER as na, emitter as ie, EVENT_PROJECT_ACTIVED as Wt, EVENT_NODE_CHANGE as ot, NodeModel as Pt, EVENT_BLOCK_CHANGE as Nt, Base as qn, BUILT_IN_LIBRARAY_MAP as la, ProjectModel as aa, EVENT_PROJECT_CHANGE as sa, EVENT_PROJECT_BLOCKS_CHANGE as oa, EVENT_PROJECT_PAGES_CHANGE as ra, EVENT_PROJECT_DEPS_CHANGE as ia, EVENT_PROJECT_PUBLISH as ua, EVENT_PROJECT_FILE_PUBLISH as ca, EVENT_HISTORY_CHANGE as da, EVENT_HISTORY_LOAD as pa, EVENT_PROJECT_GEN_SOURCE as ma, BlockModel as vn, HistoryModel as va } from "@vtj/core";
9
+ import { BUILT_IN_NAME as _t, isBlock as oe, DirectiveModel as Jn, createNodeFrom as ta, BUILT_IN_VUE as mn, BUILT_IN_VUE_ROUTER as na, emitter as ie, EVENT_PROJECT_ACTIVED as Nt, EVENT_NODE_CHANGE as ot, NodeModel as Pt, EVENT_BLOCK_CHANGE as Wt, Base as qn, BUILT_IN_LIBRARAY_MAP as la, ProjectModel as aa, EVENT_PROJECT_CHANGE as sa, EVENT_PROJECT_BLOCKS_CHANGE as oa, EVENT_PROJECT_PAGES_CHANGE as ra, EVENT_PROJECT_DEPS_CHANGE as ia, EVENT_PROJECT_PUBLISH as ua, EVENT_PROJECT_FILE_PUBLISH as ca, EVENT_HISTORY_CHANGE as da, EVENT_HISTORY_LOAD as pa, EVENT_PROJECT_GEN_SOURCE as ma, BlockModel as vn, HistoryModel as va } from "@vtj/core";
10
10
  import { parseExpression as rt, parseFunction as Hn, BUILT_IN_DIRECTIVES as ga, JSCodeToString as Ye, LIFE_CYCLES_LIST as fa, DATA_TYPES as ha, createMock as ba, isJSExpression as it, ContextMode as Gn, clearLoaderCache as ya, parseDeps as _a, createAssetsCss as wa, createAssetScripts as gn, getRawComponent as fn, createSchemaApis as ka, mockCleanup as Sa, mockApis as xa, Provider as Ca, isJSFunction as Va } from "@vtj/renderer";
11
- import { VtjIconBack as ja, VtjIconPc as Aa, VtjIconPhone as Ea, VtjIconPad as Da, VtjIconUndo as Ia, VtjIconRedo as $a, VtjIconTemplate as wt, VtjIconPreview as Ta, VtjIconRefresh as Kn, VtjIconSetting as Xn, Download as Mt, VtjIconPublish as Pa, VtjIconProject as Ra, icons as Jt, ArrowDown as tn, Search as qe, CopyDocument as Ba, Back as Oa, VtjIconPlus as Qn, EditPen as za, Delete as Yn, VtjIconSave as Fa, ArrowUp as La, MoreFilled as et, VtjIconCheck as Zn, VtjIconComponents as el, VtjIconShare as Ua, VtjIconHome as Wa, VtjIconVisible as Na, VtjIconInvisible as tl, VtjIconUnlock as Ma, VtjIconLock as nl, VtjIconRemove as At, VtjIconEdit as ll, VtjIconCopy as nn, Files as Ja, VtjIconSearch as qa, VtjIconHelp as al, VtjIconLayers as sl, Rank as Ha, VtjIconArrowUp as Ga, VtjIconArrowDown as Ka, IconDisplayBlock as Xa, IconDisplayFlex as Qa, IconDisplayInlineBlock as Ya, IconDisplayInline as Za, IconEyeInvisible as es, IconFlexDirectionrow as ts, IconFlexDirectionrowReverse as ns, IconFlexDirectioncolumn as ls, IconFlexDirectioncolumnReverse as as, IconFlexJustifyflexStartrow as ss, IconFlexJustifyflexEndrow as os, IconFlexJustifycenterrow as rs, IconFlexJustifyspaceBetweenrow as is, IconFlexJustifyspaceAroundrow as us, IconFlexAlignflexStartrow as cs, IconFlexAlignflexEndrow as ds, IconFlexAligncenterrow as ps, IconFlexAlignbaselinerow as ms, IconFlexAlignstretchrow as vs, IconPositionTopLeft as gs, IconPositionTopRight as fs, IconPositionBottomLeft as hs, IconPositionBottomRight as bs, IconPositionLeft as ys, IconPositionRight as _s, IconPositionTop as ws, IconPositionBottom as ks, IconPositionAll as Ss, IconTextAlignLeft as xs, IconTextAlignCenter as Cs, IconTextAlignRight as Vs, IconTextAlignJustify as js, IconFontStyleNone as As, IconFontStyleItalic as Es, IconCross as ol, IconTextDecorationUnderline as Ds, IconTextDecorationStrike as Is, IconTextDecorationOverline as $s, IconTileXy as Ts, IconTileX as Ps, IconTileY as Rs, IconClose as Bs, IconBorderAll as Os, IconBorderLeft as zs, IconBorderTop as Fs, IconBorderBottom as Ls, IconBorderRight as Us, IconBorderStyleSolid as Ws, IconBorderStyleDashed as Ns, IconBorderStyleDotted as Ms, IconCursorAuto as Js, IconCursorPointer as qs, IconCursorNotAllowed as Hs, IconCursorNone as Gs, ArrowRight as Ks, UserFilled as rl, VtjIconDocument as Xs, VtjIconBlock as Qs, VtjIconOutline as Ys, VtjIconHistory as Zs, VtjIconApi as eo, VtjIconCategory as to, VtjIconUniapp as no, HomeFilled as lo, Plus as ao, Close as so, VtjIconVars as oo, VtjIconSwitch as ro, Switch as io } from "@vtj/icons";
11
+ import { VtjIconBack as ja, VtjIconPc as Aa, VtjIconPhone as Ea, VtjIconPad as Da, VtjIconUndo as Ia, VtjIconRedo as $a, VtjIconTemplate as wt, VtjIconPreview as Ta, VtjIconRefresh as Kn, VtjIconSetting as Xn, Download as Mt, VtjIconPublish as Pa, VtjIconProject as Ra, icons as Jt, ArrowDown as tn, Search as qe, CopyDocument as Ba, Back as Oa, VtjIconPlus as Qn, EditPen as za, Delete as Yn, VtjIconSave as Fa, ArrowUp as La, MoreFilled as et, VtjIconCheck as Zn, VtjIconComponents as el, VtjIconShare as Ua, VtjIconHome as Na, VtjIconVisible as Wa, VtjIconInvisible as tl, VtjIconUnlock as Ma, VtjIconLock as nl, VtjIconRemove as At, VtjIconEdit as ll, VtjIconCopy as nn, Files as Ja, VtjIconSearch as qa, VtjIconHelp as al, VtjIconLayers as sl, Rank as Ha, VtjIconArrowUp as Ga, VtjIconArrowDown as Ka, IconDisplayBlock as Xa, IconDisplayFlex as Qa, IconDisplayInlineBlock as Ya, IconDisplayInline as Za, IconEyeInvisible as es, IconFlexDirectionrow as ts, IconFlexDirectionrowReverse as ns, IconFlexDirectioncolumn as ls, IconFlexDirectioncolumnReverse as as, IconFlexJustifyflexStartrow as ss, IconFlexJustifyflexEndrow as os, IconFlexJustifycenterrow as rs, IconFlexJustifyspaceBetweenrow as is, IconFlexJustifyspaceAroundrow as us, IconFlexAlignflexStartrow as cs, IconFlexAlignflexEndrow as ds, IconFlexAligncenterrow as ps, IconFlexAlignbaselinerow as ms, IconFlexAlignstretchrow as vs, IconPositionTopLeft as gs, IconPositionTopRight as fs, IconPositionBottomLeft as hs, IconPositionBottomRight as bs, IconPositionLeft as ys, IconPositionRight as _s, IconPositionTop as ws, IconPositionBottom as ks, IconPositionAll as Ss, IconTextAlignLeft as xs, IconTextAlignCenter as Cs, IconTextAlignRight as Vs, IconTextAlignJustify as js, IconFontStyleNone as As, IconFontStyleItalic as Es, IconCross as ol, IconTextDecorationUnderline as Ds, IconTextDecorationStrike as Is, IconTextDecorationOverline as $s, IconTileXy as Ts, IconTileX as Ps, IconTileY as Rs, IconClose as Bs, IconBorderAll as Os, IconBorderLeft as zs, IconBorderTop as Fs, IconBorderBottom as Ls, IconBorderRight as Us, IconBorderStyleSolid as Ns, IconBorderStyleDashed as Ws, IconBorderStyleDotted as Ms, IconCursorAuto as Js, IconCursorPointer as qs, IconCursorNotAllowed as Hs, IconCursorNone as Gs, ArrowRight as Ks, UserFilled as rl, VtjIconDocument as Xs, VtjIconBlock as Qs, VtjIconOutline as Ys, VtjIconHistory as Zs, VtjIconApi as eo, VtjIconCategory as to, VtjIconUniapp as no, HomeFilled as lo, Plus as ao, Close as so, VtjIconVars as oo, VtjIconSwitch as ro, Switch as io } from "@vtj/icons";
12
12
  import uo from "html2canvas";
13
13
  import co from "mockjs";
14
14
  import { PAGE_LIFE_CYCLES_LIST as po, APP_LIFE_CYCLE as mo, createUniAppComponent as vo, setupUniApp as go } from "@vtj/uni";
@@ -16,10 +16,10 @@ import { PAGE_LIFE_CYCLES_LIST as po, APP_LIFE_CYCLE as mo, createUniAppComponen
16
16
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
17
17
  * @name @vtj/designer
18
18
  * @author CHC chenhuachun1549@dingtalk.com
19
- * @version 0.10.1-alpha.2
19
+ * @version 0.10.1-alpha.3
20
20
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
21
21
  */
22
- const kt = "0.10.1-alpha.2", hn = {
22
+ const kt = "0.10.1-alpha.3", hn = {
23
23
  width: 390,
24
24
  height: 844
25
25
  }, bn = {
@@ -59,7 +59,7 @@ function il() {
59
59
  meta: l
60
60
  };
61
61
  }
62
- function We(i, t) {
62
+ function Ne(i, t) {
63
63
  const e = V(() => un.getWidgets(n(i), n(t)).filter((a) => !a.invisible)), l = C();
64
64
  return {
65
65
  widgets: e,
@@ -99,19 +99,19 @@ function Ao() {
99
99
  );
100
100
  const a = Ze({}), r = V(() => {
101
101
  const g = {};
102
- return e.value && e.value.forEach((v) => {
103
- g[v.name] = v;
102
+ return e.value && e.value.forEach((m) => {
103
+ g[m.name] = m;
104
104
  }), g;
105
105
  }), s = V(() => e.value ? e.value.map((g) => ({
106
106
  label: `${g.label} (${g.count})`,
107
107
  name: g.name,
108
108
  disabled: !g.children?.length
109
- })) : []), o = C(s.value[0]?.name), u = C(""), m = V(() => r.value[o.value]);
109
+ })) : []), o = C(s.value[0]?.name), u = C(""), v = V(() => r.value[o.value]);
110
110
  Sl(() => {
111
111
  const g = s.value.reduce(
112
- (v, b) => (v[b.name] = Vo(
112
+ (m, b) => (m[b.name] = Vo(
113
113
  r.value[b.name].children
114
- ), v),
114
+ ), m),
115
115
  {}
116
116
  );
117
117
  Object.assign(a, g);
@@ -124,7 +124,7 @@ function Ao() {
124
124
  );
125
125
  const d = V(() => {
126
126
  const g = u.value.toLowerCase();
127
- return !g || !t ? [] : t.filter((v) => v.name.toLowerCase().includes(g) || v.label?.toLowerCase().includes(g));
127
+ return !g || !t ? [] : t.filter((m) => m.name.toLowerCase().includes(g) || m.label?.toLowerCase().includes(g));
128
128
  });
129
129
  return {
130
130
  components: t,
@@ -134,7 +134,7 @@ function Ao() {
134
134
  tabs: s,
135
135
  model: a,
136
136
  currentTab: o,
137
- currentGroup: m,
137
+ currentGroup: v,
138
138
  searchKey: u,
139
139
  searchResult: d
140
140
  };
@@ -153,7 +153,7 @@ function Eo(i, t, e, l, a, r) {
153
153
  s.simulator.init(i, t, e, l, a, r);
154
154
  const o = V(() => s.simulator.designer.value), u = V(
155
155
  () => Rt("hover", o.value?.hover.value)
156
- ), m = V(
156
+ ), v = V(
157
157
  () => Rt("dropping", o.value?.dropping.value)
158
158
  ), d = V(
159
159
  () => Rt("selected", o.value?.selected.value)
@@ -164,7 +164,7 @@ function Eo(i, t, e, l, a, r) {
164
164
  o.value?.updateRect(), o.value?.updateLines();
165
165
  }), {
166
166
  designer: o,
167
- dropping: m,
167
+ dropping: v,
168
168
  hover: u,
169
169
  selected: d,
170
170
  lines: g
@@ -174,8 +174,8 @@ function Do(i, t = !0) {
174
174
  const { top: e, height: l, width: a, left: r, right: s } = i || {}, o = 250;
175
175
  if (l > 100 && a > o)
176
176
  return "inner";
177
- let u, m;
178
- return m = e > 30 ? "top" : "bottom", u = t || r < o && a < o ? "left" : "right", u = s > o ? "right" : "left", [u, m].join("-");
177
+ let u, v;
178
+ return v = e > 30 ? "top" : "bottom", u = t || r < o && a < o ? "left" : "right", u = s > o ? "right" : "left", [u, v].join("-");
179
179
  }
180
180
  function Io(i) {
181
181
  const { rect: t, type: e } = i, { left: l, width: a, top: r, height: s } = t, o = { left: l, width: a, top: r, height: s };
@@ -234,9 +234,9 @@ function Ve() {
234
234
  }
235
235
  function To(i, t) {
236
236
  const e = C(""), { selected: l, isSelectBlock: a } = Ve(), r = V(() => l.value?.model.id), s = V(() => {
237
- const u = _e(i), m = _e(t), d = [];
237
+ const u = _e(i), v = _e(t), d = [];
238
238
  if (!u) return d;
239
- const g = m?.__contextRefs[r.value || ""], b = m === g || a.value ? [] : Object.keys(g?.context || {}).filter((T) => !["context", "ref"].includes(T)).map((T) => `this.context.${T}`);
239
+ const g = v?.__contextRefs[r.value || ""], b = v === g || a.value ? [] : Object.keys(g?.context || {}).filter((T) => !["context", "ref"].includes(T)).map((T) => `this.context.${T}`);
240
240
  b.length && d.push({ title: "上下文", items: b });
241
241
  const f = u.inject.map((T) => `this.${T.name}`);
242
242
  f.length && d.push({ title: "注入", items: f });
@@ -256,22 +256,22 @@ function To(i, t) {
256
256
  (T) => `this.${T}`
257
257
  );
258
258
  x.length && d.push({ title: "数据源", items: x });
259
- const A = Object.keys(m?.$refs || {}).map(
259
+ const A = Object.keys(v?.$refs || {}).map(
260
260
  (T) => `this.$refs.${T}`
261
261
  );
262
262
  return A.length && d.push({ title: "refs", items: A }), d;
263
263
  }), o = V(() => {
264
264
  if (!e.value) return s.value;
265
- const u = e.value.toLowerCase(), m = [];
265
+ const u = e.value.toLowerCase(), v = [];
266
266
  return s.value.forEach((d) => {
267
267
  const g = d.items.filter(
268
- (v) => v.toLowerCase().includes(u)
268
+ (m) => m.toLowerCase().includes(u)
269
269
  );
270
- g.length && m.push({
270
+ g.length && v.push({
271
271
  title: d.title,
272
272
  items: g
273
273
  });
274
- }), m;
274
+ }), v;
275
275
  });
276
276
  return {
277
277
  keyword: e,
@@ -332,7 +332,7 @@ function Po(i) {
332
332
  ...b,
333
333
  value: e.value?.getPropValue(b.name) ?? b.defaultValue
334
334
  })) : [];
335
- }), s = (g) => a.value.some((v) => v.name === g) || r.value.some((v) => v.name === g) || g === "style", o = V(() => e.value ? Object.keys(e.value.props).filter((g) => !s(g)).map((g) => ({
335
+ }), s = (g) => a.value.some((m) => m.name === g) || r.value.some((m) => m.name === g) || g === "style", o = V(() => e.value ? Object.keys(e.value.props).filter((g) => !s(g)).map((g) => ({
336
336
  name: g,
337
337
  setters: "InputSetter",
338
338
  value: e.value?.getPropValue(g)
@@ -342,8 +342,8 @@ function Po(i) {
342
342
  componentProps: r,
343
343
  customProps: o,
344
344
  node: e,
345
- change: (g, v) => {
346
- e.value && (g === "children" ? e.value.setChildren(v) : e.value.setProp(g, v));
345
+ change: (g, m) => {
346
+ e.value && (g === "children" ? e.value.setChildren(m) : e.value.setProp(g, m));
347
347
  },
348
348
  addCustom: (g) => {
349
349
  g && e.value?.setProp(g, "");
@@ -411,8 +411,8 @@ function ul() {
411
411
  t.value?.cleanHelper(), e.value?.forward();
412
412
  }, r = () => {
413
413
  e.value?.backward(), t.value?.cleanHelper();
414
- }, s = (m) => {
415
- t.value?.cleanHelper(), e.value?.load(m), pe("已载入历史记录", "success");
414
+ }, s = (v) => {
415
+ t.value?.cleanHelper(), e.value?.load(v), pe("已载入历史记录", "success");
416
416
  }, o = V(() => l.value <= 1 ? !0 : (e.value?.index || -1) <= 0), u = V(() => l.value <= 1 ? !0 : (e.value?.index || -1) >= l.value - 1);
417
417
  return {
418
418
  engine: i,
@@ -463,8 +463,8 @@ function Oo(i) {
463
463
  }), s = V(() => {
464
464
  if (!e.value || oe(e.value)) return [];
465
465
  const o = e.value.events || {};
466
- return (l.value?.events || t.assets.componentMap.get(e.value.name)?.events || []).map((m) => {
467
- const d = typeof m == "string" ? m : m.name;
466
+ return (l.value?.events || t.assets.componentMap.get(e.value.name)?.events || []).map((v) => {
467
+ const d = typeof v == "string" ? v : v.name;
468
468
  return {
469
469
  name: d,
470
470
  event: o[d]
@@ -507,11 +507,11 @@ function Lo(i) {
507
507
  ) || zo($.name));
508
508
  }), r = () => V(() => e.value ? (e.value.directives || []).filter(
509
509
  (A) => !ga.includes(A.name)
510
- ) : []), s = l("vIf"), o = l("vShow"), u = l("vBind"), m = l("vFor"), d = l("vHtml"), g = a(), v = r(), b = {
510
+ ) : []), s = l("vIf"), o = l("vShow"), u = l("vBind"), v = l("vFor"), d = l("vHtml"), g = a(), m = r(), b = {
511
511
  vIf: s,
512
512
  vShow: o,
513
513
  vBind: u,
514
- vFor: m,
514
+ vFor: v,
515
515
  vHtml: d
516
516
  };
517
517
  return {
@@ -520,10 +520,10 @@ function Lo(i) {
520
520
  vIf: s,
521
521
  vShow: o,
522
522
  vBind: u,
523
- vFor: m,
523
+ vFor: v,
524
524
  vHtml: d,
525
525
  vModels: g,
526
- customDirectives: v,
526
+ customDirectives: m,
527
527
  onValueChange: (A, T) => {
528
528
  const $ = b[A];
529
529
  e.value && (T ? ($.value.value = T, e.value.setDirective($.value)) : ($.value.value = void 0, e.value.removeDirective($.value)));
@@ -531,13 +531,13 @@ function Lo(i) {
531
531
  onForChange: (A, T) => {
532
532
  if (e.value) {
533
533
  if (A === "value") {
534
- T ? (m.value.value = T, e.value.setDirective(m.value)) : e.value.removeDirective(m.value);
534
+ T ? (v.value.value = T, e.value.setDirective(v.value)) : e.value.removeDirective(v.value);
535
535
  return;
536
536
  }
537
- (A === "item" || A === "index") && (m.value.iterator = {
538
- ...m.value.iterator,
537
+ (A === "item" || A === "index") && (v.value.iterator = {
538
+ ...v.value.iterator,
539
539
  [A]: T || void 0
540
- }, e.value.setDirective(m.value));
540
+ }, e.value.setDirective(v.value));
541
541
  }
542
542
  },
543
543
  onModelChange: (A, T) => {
@@ -569,7 +569,7 @@ function Uo() {
569
569
  function Et() {
570
570
  const i = de(), { access: t, remote: e } = i.adapter || {}, l = () => {
571
571
  if (e && t) {
572
- const v = encodeURIComponent(location.href), { auth: b = "/auth.html" } = t.options, { protocol: f, host: w, pathname: y } = location, S = `${f}//${w}${y}#/auth?redirect=${v}`;
572
+ const m = encodeURIComponent(location.href), { auth: b = "/auth.html" } = t.options, { protocol: f, host: w, pathname: y } = location, S = `${f}//${w}${y}#/auth?redirect=${m}`;
573
573
  if (typeof b == "string") {
574
574
  const k = b.startsWith("/") ? `${e}${b}` : b;
575
575
  location.href = `${k}?r=${encodeURIComponent(S)}`;
@@ -577,26 +577,26 @@ function Et() {
577
577
  b(location.search);
578
578
  }
579
579
  }, a = async () => {
580
- const v = t?.getData()?.token;
581
- if (v) {
582
- const b = `${e}/api/open/user/${v}`, f = await Ke(b).catch(() => null);
580
+ const m = t?.getData()?.token;
581
+ if (m) {
582
+ const b = `${e}/api/open/user/${m}`, f = await Ke(b).catch(() => null);
583
583
  return !!(f && f.data);
584
584
  }
585
585
  return !1;
586
586
  }, r = async () => {
587
- const v = `${e}/api/open/templates`, b = t?.getData()?.token;
588
- return (await Ke(v, { query: b ? { token: b } : {} }))?.data || [];
589
- }, s = async (v) => {
587
+ const m = `${e}/api/open/templates`, b = t?.getData()?.token;
588
+ return (await Ke(m, { query: b ? { token: b } : {} }))?.data || [];
589
+ }, s = async (m) => {
590
590
  const b = t?.getData()?.token, f = `${e}/api/open/template/${b}`;
591
- return (await Ke(f, { query: { id: v } }))?.data || null;
592
- }, o = async (v) => {
591
+ return (await Ke(f, { query: { id: m } }))?.data || null;
592
+ }, o = async (m) => {
593
593
  const b = t?.getData()?.token, f = `${e}/api/open/template/remove/${b}`;
594
- return !!(await Ke(f, { query: { id: v } }))?.data;
595
- }, u = async (v) => {
596
- const b = t?.getData()?.token, f = `${e}/api/open/dsl/${b}`, w = await Ke(f, { query: { id: v } });
594
+ return !!(await Ke(f, { query: { id: m } }))?.data;
595
+ }, u = async (m) => {
596
+ const b = t?.getData()?.token, f = `${e}/api/open/dsl/${b}`, w = await Ke(f, { query: { id: m } });
597
597
  return w?.data ? w.data : null;
598
- }, m = async (v) => {
599
- const b = `${e}/api/open/dict/${v}`;
598
+ }, v = async (m) => {
599
+ const b = `${e}/api/open/dict/${m}`;
600
600
  return (await Ke(b))?.data || [];
601
601
  };
602
602
  return {
@@ -607,11 +607,11 @@ function Et() {
607
607
  isLogined: a,
608
608
  getTemplates: r,
609
609
  getTemplateDsl: u,
610
- getDictOptions: m,
611
- getTemplateCategories: () => m("TemplateCategory"),
612
- publishTemplate: async (v) => {
610
+ getDictOptions: v,
611
+ getTemplateCategories: () => v("TemplateCategory"),
612
+ publishTemplate: async (m) => {
613
613
  const b = t?.getData()?.token, f = `${e}/api/open/template/publish/${b}`, w = new FormData();
614
- for (const [y, S] of Object.entries(v))
614
+ for (const [y, S] of Object.entries(m))
615
615
  S !== void 0 && w.append(y, S);
616
616
  return window.fetch(f, {
617
617
  method: "post",
@@ -622,7 +622,7 @@ function Et() {
622
622
  removeTemplate: o
623
623
  };
624
624
  }
625
- function Wo() {
625
+ function No() {
626
626
  const {
627
627
  engine: i,
628
628
  access: t,
@@ -631,7 +631,7 @@ function Wo() {
631
631
  getTemplates: a,
632
632
  getTemplateDsl: r,
633
633
  removeTemplate: s
634
- } = Et(), o = C([]), u = C(!1), m = async (v) => {
634
+ } = Et(), o = C([]), u = C(!1), v = async (m) => {
635
635
  const b = i.current.value, f = i.project.value;
636
636
  if (!f) return;
637
637
  if (!b) {
@@ -640,7 +640,7 @@ function Wo() {
640
640
  });
641
641
  return;
642
642
  }
643
- const w = await r(v);
643
+ const w = await r(m);
644
644
  if (!w)
645
645
  return await Re.alert("模板不可用,可能该模板没发布过版本", {
646
646
  type: "error",
@@ -652,14 +652,14 @@ function Wo() {
652
652
  message: "模板已加载完成"
653
653
  });
654
654
  }), A && (A.market = {
655
- id: v
655
+ id: m
656
656
  }, A.dsl = x, f.isPageFile(A) ? f.updatePage(A) : f.updateBlock(A));
657
657
  }, d = V(() => {
658
- const v = t?.getData()?.id;
659
- return st(o.value, (b) => b.author === v ? "我的" : b.category);
658
+ const m = t?.getData()?.id;
659
+ return st(o.value, (b) => b.author === m ? "我的" : b.category);
660
660
  }), g = () => {
661
- u.value = !0, a().then((v) => {
662
- o.value = v;
661
+ u.value = !0, a().then((m) => {
662
+ o.value = m;
663
663
  }).finally(() => {
664
664
  u.value = !1;
665
665
  });
@@ -671,7 +671,7 @@ function Wo() {
671
671
  isLogined: l,
672
672
  getTemplates: a,
673
673
  getTemplateDsl: r,
674
- installTemplate: m,
674
+ installTemplate: v,
675
675
  removeTemplate: s,
676
676
  groups: d,
677
677
  access: t,
@@ -687,7 +687,7 @@ function cl(i) {
687
687
  latest: t
688
688
  };
689
689
  }
690
- const No = "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", Mo = ["title", "src"], Jo = { key: 1 }, qo = /* @__PURE__ */ I({
690
+ const Wo = "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", Mo = ["title", "src"], Jo = { key: 1 }, qo = /* @__PURE__ */ I({
691
691
  name: "LogoWidget",
692
692
  inheritAttrs: !1,
693
693
  __name: "index",
@@ -697,7 +697,7 @@ const No = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
697
697
  link: {}
698
698
  },
699
699
  setup(i) {
700
- const { engine: t } = ge(), e = i, l = V(() => e.icon || t.project.value?.config?.logo || No), a = () => {
700
+ const { engine: t } = ge(), e = i, l = V(() => e.icon || t.project.value?.config?.logo || Wo), a = () => {
701
701
  e.link && (location.href = e.link);
702
702
  };
703
703
  return (r, s) => (c(), D("div", {
@@ -757,23 +757,23 @@ const No = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
757
757
  const e = i, { forward: l, backward: a, forwardDisabled: r, backwardDisabled: s, engine: o } = ul(), u = V(() => {
758
758
  const { platform: g = "web" } = o.project.value || {};
759
759
  return g === "web";
760
- }), m = C("pc"), d = C(!0);
760
+ }), v = C("pc"), d = C(!0);
761
761
  return J(
762
762
  u,
763
763
  (g) => {
764
- m.value = g ? "pc" : "mobile";
764
+ v.value = g ? "pc" : "mobile";
765
765
  },
766
766
  {
767
767
  immediate: !0
768
768
  }
769
769
  ), t({
770
- mode: m,
770
+ mode: v,
771
771
  outline: d
772
- }), (g, v) => (c(), D("div", Yo, [
772
+ }), (g, m) => (c(), D("div", Yo, [
773
773
  p(n(Tn), {
774
774
  size: "small",
775
- modelValue: m.value,
776
- "onUpdate:modelValue": v[0] || (v[0] = (b) => m.value = b)
775
+ modelValue: v.value,
776
+ "onUpdate:modelValue": m[0] || (m[0] = (b) => v.value = b)
777
777
  }, {
778
778
  default: h(() => [
779
779
  p(n(vt), {
@@ -843,7 +843,7 @@ const No = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
843
843
  "inactive-text": "辅助线",
844
844
  disabled: !!e.preview,
845
845
  modelValue: d.value,
846
- "onUpdate:modelValue": v[1] || (v[1] = (b) => d.value = b)
846
+ "onUpdate:modelValue": m[1] || (m[1] = (b) => d.value = b)
847
847
  }, null, 8, ["disabled", "modelValue"])
848
848
  ]));
849
849
  }
@@ -868,13 +868,13 @@ const No = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
868
868
  version: d.latest
869
869
  }), o.value = !!d;
870
870
  });
871
- const u = V(() => t.canvas ? t.canvas.toDataURL("image/png") : null), m = async () => {
871
+ const u = V(() => t.canvas ? t.canvas.toDataURL("image/png") : null), v = async () => {
872
872
  if (!u.value)
873
873
  return await Re.alert("截图失败,无法完成发布", {
874
874
  title: "提示",
875
875
  type: "error"
876
876
  }), !1;
877
- const d = Xl(u.value), { dsl: g, id: v } = t;
877
+ const d = Xl(u.value), { dsl: g, id: m } = t;
878
878
  let b;
879
879
  o.value && (b = await Re.confirm(
880
880
  "该模板已存在,请确认您的操作是更新模板还是新建",
@@ -885,7 +885,7 @@ const No = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
885
885
  cancelButtonText: "新建",
886
886
  showClose: !1
887
887
  }
888
- ).catch(() => !1) ? v : void 0);
888
+ ).catch(() => !1) ? m : void 0);
889
889
  const f = {
890
890
  id: b,
891
891
  dsl: JSON.stringify(g),
@@ -906,7 +906,7 @@ const No = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
906
906
  icon: n(wt),
907
907
  title: "发布到模板",
908
908
  model: s,
909
- "submit-method": m
909
+ "submit-method": v
910
910
  }, {
911
911
  default: h(() => [
912
912
  p(n(P), { label: "截图" }, {
@@ -996,7 +996,7 @@ const No = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
996
996
  coder: { type: Boolean, default: !1 }
997
997
  },
998
998
  setup(i) {
999
- const t = i, { engine: e, designer: l } = Ve(), { isLogined: a, toRemoteAuth: r } = Et(), s = C(!1), o = C(!1), u = C(), m = () => {
999
+ const t = i, { engine: e, designer: l } = Ve(), { isLogined: a, toRemoteAuth: r } = Et(), s = C(!1), o = C(!1), u = C(), v = () => {
1000
1000
  e.current.value ? (s.value ? e.skeleton?.getWidget("Previewer")?.widgetRef.refresh() : (l.value?.setSelected(null), e.simulator.refresh()), pe("刷新完成", "success")) : pe("请先打开文件", "warning");
1001
1001
  }, d = async () => {
1002
1002
  e.current.value ? (s.value && (e.skeleton?.closePreview(), s.value = !1, await yt(1e3)), l.value?.setSelected(e.current.value)) : pe("请先打开文件", "warning");
@@ -1010,7 +1010,7 @@ const No = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
1010
1010
  e.skeleton?.openPreview(""), s.value = !0;
1011
1011
  } else
1012
1012
  pe("请先打开文件", "warning");
1013
- }, v = () => {
1013
+ }, m = () => {
1014
1014
  const y = e.project.value;
1015
1015
  y && (y.currentFile ? y.publish(y.currentFile) : pe("请先打开文件", "warning"));
1016
1016
  }, b = async () => {
@@ -1046,7 +1046,7 @@ const No = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
1046
1046
  if (S)
1047
1047
  switch (y) {
1048
1048
  case "current":
1049
- v();
1049
+ m();
1050
1050
  break;
1051
1051
  case "project":
1052
1052
  S.publish();
@@ -1058,7 +1058,7 @@ const No = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
1058
1058
  }, w = async () => {
1059
1059
  if (!e.project.value) return;
1060
1060
  const S = await e.genSource();
1061
- S && Wn({
1061
+ S && Nn({
1062
1062
  width: "600px",
1063
1063
  height: "200px",
1064
1064
  title: "出码",
@@ -1081,7 +1081,7 @@ const No = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
1081
1081
  _: 1
1082
1082
  }, 8, ["type"]),
1083
1083
  p(n(Z), {
1084
- onClick: m,
1084
+ onClick: v,
1085
1085
  type: "default",
1086
1086
  size: "small",
1087
1087
  title: "刷新"
@@ -1131,7 +1131,7 @@ const No = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
1131
1131
  "split-button": "",
1132
1132
  type: "primary",
1133
1133
  size: "small",
1134
- onClick: v,
1134
+ onClick: m,
1135
1135
  onCommand: f
1136
1136
  }, {
1137
1137
  dropdown: h(() => [
@@ -1223,9 +1223,9 @@ function gr(i, t, e = {}) {
1223
1223
  function o() {
1224
1224
  a.value = !1, s();
1225
1225
  }
1226
- function u(...m) {
1226
+ function u(...v) {
1227
1227
  s(), a.value = !0, r = setTimeout(() => {
1228
- a.value = !1, r = null, i(...m);
1228
+ a.value = !1, r = null, i(...v);
1229
1229
  }, _e(t));
1230
1230
  }
1231
1231
  return l && (a.value = !0, Dt && u()), an(o), {
@@ -1253,28 +1253,28 @@ function Ce(i) {
1253
1253
  function Me(...i) {
1254
1254
  const t = [], e = () => {
1255
1255
  t.forEach((o) => o()), t.length = 0;
1256
- }, l = (o, u, m, d) => (o.addEventListener(u, m, d), () => o.removeEventListener(u, m, d)), a = V(() => {
1256
+ }, l = (o, u, v, d) => (o.addEventListener(u, v, d), () => o.removeEventListener(u, v, d)), a = V(() => {
1257
1257
  const o = ft(_e(i[0])).filter((u) => u != null);
1258
1258
  return o.every((u) => typeof u != "string") ? o : void 0;
1259
1259
  }), r = fr(
1260
1260
  () => {
1261
1261
  var o, u;
1262
1262
  return [
1263
- (u = (o = a.value) == null ? void 0 : o.map((m) => Ce(m))) != null ? u : [It].filter((m) => m != null),
1263
+ (u = (o = a.value) == null ? void 0 : o.map((v) => Ce(v))) != null ? u : [It].filter((v) => v != null),
1264
1264
  ft(_e(a.value ? i[1] : i[0])),
1265
1265
  ft(n(a.value ? i[2] : i[1])),
1266
1266
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
1267
1267
  _e(a.value ? i[3] : i[2])
1268
1268
  ];
1269
1269
  },
1270
- ([o, u, m, d]) => {
1271
- if (e(), !o?.length || !u?.length || !m?.length)
1270
+ ([o, u, v, d]) => {
1271
+ if (e(), !o?.length || !u?.length || !v?.length)
1272
1272
  return;
1273
1273
  const g = ur(d) ? { ...d } : d;
1274
1274
  t.push(
1275
1275
  ...o.flatMap(
1276
- (v) => u.flatMap(
1277
- (b) => m.map((f) => l(v, b, f, g))
1276
+ (m) => u.flatMap(
1277
+ (b) => v.map((f) => l(m, b, f, g))
1278
1278
  )
1279
1279
  )
1280
1280
  );
@@ -1304,7 +1304,7 @@ function hr(i, t, e = {}) {
1304
1304
  return S && (w.target === S || w.composedPath().includes(S));
1305
1305
  }
1306
1306
  });
1307
- function m(w) {
1307
+ function v(w) {
1308
1308
  const y = _e(w);
1309
1309
  return y && y.$.subTree.shapeFlag === 16;
1310
1310
  }
@@ -1314,7 +1314,7 @@ function hr(i, t, e = {}) {
1314
1314
  }
1315
1315
  const g = (w) => {
1316
1316
  const y = Ce(i);
1317
- if (w.target != null && !(!(y instanceof Element) && m(i) && d(i, w)) && !(!y || y === w.target || w.composedPath().includes(y))) {
1317
+ if (w.target != null && !(!(y instanceof Element) && v(i) && d(i, w)) && !(!y || y === w.target || w.composedPath().includes(y))) {
1318
1318
  if (w.detail === 0 && (o = !u(w)), !o) {
1319
1319
  o = !0;
1320
1320
  return;
@@ -1322,11 +1322,11 @@ function hr(i, t, e = {}) {
1322
1322
  t(w);
1323
1323
  }
1324
1324
  };
1325
- let v = !1;
1325
+ let m = !1;
1326
1326
  const b = [
1327
1327
  Me(l, "click", (w) => {
1328
- v || (v = !0, setTimeout(() => {
1329
- v = !1;
1328
+ m || (m = !0, setTimeout(() => {
1329
+ m = !1;
1330
1330
  }, 0), g(w));
1331
1331
  }, { passive: !0, capture: r }),
1332
1332
  Me(l, "pointerdown", (w) => {
@@ -1362,7 +1362,7 @@ function wn(i, t = {}) {
1362
1362
  o.value = (g = (d = r.value) == null ? void 0 : d.state) != null ? g : "prompt";
1363
1363
  };
1364
1364
  Me(r, "change", u, { passive: !0 });
1365
- const m = pr(async () => {
1365
+ const v = pr(async () => {
1366
1366
  if (a.value) {
1367
1367
  if (!r.value)
1368
1368
  try {
@@ -1376,10 +1376,10 @@ function wn(i, t = {}) {
1376
1376
  return Vn(r.value);
1377
1377
  }
1378
1378
  });
1379
- return m(), e ? {
1379
+ return v(), e ? {
1380
1380
  state: o,
1381
1381
  isSupported: a,
1382
- query: m
1382
+ query: v
1383
1383
  } : o;
1384
1384
  }
1385
1385
  function pl(i = {}) {
@@ -1389,7 +1389,7 @@ function pl(i = {}) {
1389
1389
  source: l,
1390
1390
  copiedDuring: a = 1500,
1391
1391
  legacy: r = !1
1392
- } = i, s = sn(() => t && "clipboard" in t), o = wn("clipboard-read"), u = wn("clipboard-write"), m = V(() => s.value || r), d = C(""), g = C(!1), v = gr(() => g.value = !1, a, { immediate: !1 });
1392
+ } = i, s = sn(() => t && "clipboard" in t), o = wn("clipboard-read"), u = wn("clipboard-write"), v = V(() => s.value || r), d = C(""), g = C(!1), m = gr(() => g.value = !1, a, { immediate: !1 });
1393
1393
  function b() {
1394
1394
  let k = !(s.value && S(o.value));
1395
1395
  if (!k)
@@ -1402,9 +1402,9 @@ function pl(i = {}) {
1402
1402
  }
1403
1403
  k && (d.value = y());
1404
1404
  }
1405
- m.value && e && Me(["copy", "cut"], b, { passive: !0 });
1405
+ v.value && e && Me(["copy", "cut"], b, { passive: !0 });
1406
1406
  async function f(k = _e(l)) {
1407
- if (m.value && k != null) {
1407
+ if (v.value && k != null) {
1408
1408
  let x = !(s.value && S(u.value));
1409
1409
  if (!x)
1410
1410
  try {
@@ -1412,7 +1412,7 @@ function pl(i = {}) {
1412
1412
  } catch {
1413
1413
  x = !0;
1414
1414
  }
1415
- x && w(k), d.value = k, g.value = !0, v.start();
1415
+ x && w(k), d.value = k, g.value = !0, m.start();
1416
1416
  }
1417
1417
  }
1418
1418
  function w(k) {
@@ -1427,7 +1427,7 @@ function pl(i = {}) {
1427
1427
  return k === "granted" || k === "prompt";
1428
1428
  }
1429
1429
  return {
1430
- isSupported: m,
1430
+ isSupported: v,
1431
1431
  text: d,
1432
1432
  copied: g,
1433
1433
  copy: f
@@ -1440,19 +1440,19 @@ function yr(i, t, e = {}) {
1440
1440
  r && (r.disconnect(), r = void 0);
1441
1441
  }, u = V(() => {
1442
1442
  const g = _e(i);
1443
- return Array.isArray(g) ? g.map((v) => Ce(v)) : [Ce(g)];
1444
- }), m = J(
1443
+ return Array.isArray(g) ? g.map((m) => Ce(m)) : [Ce(g)];
1444
+ }), v = J(
1445
1445
  u,
1446
1446
  (g) => {
1447
1447
  if (o(), s.value && l) {
1448
1448
  r = new ResizeObserver(t);
1449
- for (const v of g)
1450
- v && r.observe(v, a);
1449
+ for (const m of g)
1450
+ m && r.observe(m, a);
1451
1451
  }
1452
1452
  },
1453
1453
  { immediate: !0, flush: "post" }
1454
1454
  ), d = () => {
1455
- o(), m();
1455
+ o(), v();
1456
1456
  };
1457
1457
  return an(d), {
1458
1458
  isSupported: s,
@@ -1461,20 +1461,20 @@ function yr(i, t, e = {}) {
1461
1461
  }
1462
1462
  function ut(i, t = { width: 0, height: 0 }, e = {}) {
1463
1463
  const { window: l = It, box: a = "content-box" } = e, r = V(() => {
1464
- var g, v;
1465
- return (v = (g = Ce(i)) == null ? void 0 : g.namespaceURI) == null ? void 0 : v.includes("svg");
1464
+ var g, m;
1465
+ return (m = (g = Ce(i)) == null ? void 0 : g.namespaceURI) == null ? void 0 : m.includes("svg");
1466
1466
  }), s = C(t.width), o = C(t.height), { stop: u } = yr(
1467
1467
  i,
1468
1468
  ([g]) => {
1469
- const v = a === "border-box" ? g.borderBoxSize : a === "content-box" ? g.contentBoxSize : g.devicePixelContentBoxSize;
1469
+ const m = a === "border-box" ? g.borderBoxSize : a === "content-box" ? g.contentBoxSize : g.devicePixelContentBoxSize;
1470
1470
  if (l && r.value) {
1471
1471
  const b = Ce(i);
1472
1472
  if (b) {
1473
1473
  const f = b.getBoundingClientRect();
1474
1474
  s.value = f.width, o.value = f.height;
1475
1475
  }
1476
- } else if (v) {
1477
- const b = ft(v);
1476
+ } else if (m) {
1477
+ const b = ft(m);
1478
1478
  s.value = b.reduce((f, { inlineSize: w }) => f + w, 0), o.value = b.reduce((f, { blockSize: w }) => f + w, 0);
1479
1479
  } else
1480
1480
  s.value = g.contentRect.width, o.value = g.contentRect.height;
@@ -1485,14 +1485,14 @@ function ut(i, t = { width: 0, height: 0 }, e = {}) {
1485
1485
  const g = Ce(i);
1486
1486
  g && (s.value = "offsetWidth" in g ? g.offsetWidth : t.width, o.value = "offsetHeight" in g ? g.offsetHeight : t.height);
1487
1487
  });
1488
- const m = J(
1488
+ const v = J(
1489
1489
  () => Ce(i),
1490
1490
  (g) => {
1491
1491
  s.value = g ? t.width : 0, o.value = g ? t.height : 0;
1492
1492
  }
1493
1493
  );
1494
1494
  function d() {
1495
- u(), m();
1495
+ u(), v();
1496
1496
  }
1497
1497
  return {
1498
1498
  width: s,
@@ -1514,13 +1514,13 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
1514
1514
  ), u = V(() => {
1515
1515
  const b = Object.entries(Jt);
1516
1516
  return s.value ? b.filter((f) => f[0].toLowerCase().includes(s.value)) : b;
1517
- }), m = (b) => {
1517
+ }), v = (b) => {
1518
1518
  r.value = b;
1519
1519
  }, d = () => {
1520
1520
  l("change", r.value), l("update:modelValue", r.value), a.value = !1;
1521
1521
  }, g = () => {
1522
1522
  r.value = "", l("change", ""), l("update:modelValue", ""), a.value = !1;
1523
- }, v = () => {
1523
+ }, m = () => {
1524
1524
  a.value = !0;
1525
1525
  };
1526
1526
  return (b, f) => (c(), D("div", _r, [
@@ -1530,7 +1530,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
1530
1530
  placeholder: "请选择图标",
1531
1531
  "model-value": e.modelValue,
1532
1532
  "suffix-icon": n(tn),
1533
- onFocus: v
1533
+ onFocus: m
1534
1534
  }, {
1535
1535
  prepend: h(() => [
1536
1536
  p(n(Ue), { icon: o.value }, null, 8, ["icon"])
@@ -1574,7 +1574,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
1574
1574
  j("div", kr, [
1575
1575
  (c(!0), D(z, null, U(u.value, (w) => (c(), _(n(Ue), {
1576
1576
  icon: w[1],
1577
- onClick: (y) => m(w[0]),
1577
+ onClick: (y) => v(w[0]),
1578
1578
  class: X({ "is-active": r.value === w[0] })
1579
1579
  }, null, 8, ["icon", "onClick", "class"]))), 256)),
1580
1580
  u.value.length === 0 ? (c(), _(n(ue), { key: 0 })) : E("", !0)
@@ -1611,7 +1611,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
1611
1611
  }), o = V(() => {
1612
1612
  const { platform: k = "web" } = e.value || {};
1613
1613
  return k === "uniapp";
1614
- }), u = V(() => o.value ? "pages" : "page"), m = () => ({
1614
+ }), u = V(() => l.options.pageRouteName || (o.value ? "pages" : "page")), v = () => ({
1615
1615
  dir: !1,
1616
1616
  name: "",
1617
1617
  title: "",
@@ -1624,7 +1624,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
1624
1624
  cache: !1,
1625
1625
  needLogin: !1,
1626
1626
  style: null
1627
- }), d = C(t.item || m()), g = V({
1627
+ }), d = C(t.item || v()), g = V({
1628
1628
  get() {
1629
1629
  return JSON.stringify(d.value.meta || {}, null, 4);
1630
1630
  },
@@ -1635,7 +1635,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
1635
1635
  se("路由元信息解析出错,必须是JSON格式数据", "运行时错误");
1636
1636
  }
1637
1637
  }
1638
- }), v = V({
1638
+ }), m = V({
1639
1639
  get() {
1640
1640
  return JSON.stringify(d.value.style || {}, null, 4);
1641
1641
  },
@@ -1813,8 +1813,8 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
1813
1813
  dark: "",
1814
1814
  height: "250px",
1815
1815
  lang: "json",
1816
- modelValue: v.value,
1817
- "onUpdate:modelValue": x[3] || (x[3] = (A) => v.value = A)
1816
+ modelValue: m.value,
1817
+ "onUpdate:modelValue": x[3] || (x[3] = (A) => m.value = A)
1818
1818
  }, null, 8, ["modelValue"])
1819
1819
  ]),
1820
1820
  _: 1
@@ -1891,19 +1891,19 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
1891
1891
  l("plus");
1892
1892
  }, u = () => {
1893
1893
  l("edit");
1894
- }, m = () => {
1894
+ }, v = () => {
1895
1895
  l("back");
1896
1896
  }, d = () => {
1897
1897
  l("remove");
1898
1898
  }, g = () => {
1899
1899
  l("save");
1900
- }, v = (w) => {
1900
+ }, m = (w) => {
1901
1901
  l("command", w.command);
1902
1902
  }, b = V(() => e.header ? {
1903
1903
  content: e.title,
1904
1904
  subtitle: e.subtitle,
1905
1905
  icon: e.back ? Oa : void 0,
1906
- onClickBack: e.back ? m : void 0,
1906
+ onClickBack: e.back ? v : void 0,
1907
1907
  onClick: e.collapsable ? () => {
1908
1908
  a.value = !a.value;
1909
1909
  } : void 0
@@ -1936,7 +1936,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
1936
1936
  menus: e.menus,
1937
1937
  dropdown: { placement: "bottom-end" },
1938
1938
  onClick: o,
1939
- onCommand: v
1939
+ onCommand: m
1940
1940
  }, null, 8, ["size", "icon", "menus"])) : E("", !0),
1941
1941
  e.edit ? (c(), _(n(he), {
1942
1942
  key: 2,
@@ -2040,7 +2040,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2040
2040
  }, o = (u) => {
2041
2041
  l("action-click", u);
2042
2042
  };
2043
- return (u, m) => (c(), _(n(Vt), {
2043
+ return (u, v) => (c(), _(n(Vt), {
2044
2044
  class: "v-tabs",
2045
2045
  border: !1,
2046
2046
  fit: "",
@@ -2053,7 +2053,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2053
2053
  items: e.items,
2054
2054
  type: "card",
2055
2055
  modelValue: a.value,
2056
- "onUpdate:modelValue": m[0] || (m[0] = (d) => a.value = d),
2056
+ "onUpdate:modelValue": v[0] || (v[0] = (d) => a.value = d),
2057
2057
  onTabRemove: s,
2058
2058
  onActionClick: o,
2059
2059
  stretch: e.stretch
@@ -2156,11 +2156,11 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2156
2156
  },
2157
2157
  visible: {
2158
2158
  label: "显示",
2159
- icon: Na
2159
+ icon: Wa
2160
2160
  },
2161
2161
  home: {
2162
2162
  label: "主页",
2163
- icon: Wa
2163
+ icon: Na
2164
2164
  },
2165
2165
  share: {
2166
2166
  label: "共享",
@@ -2171,16 +2171,16 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2171
2171
  divided: !0,
2172
2172
  icon: el
2173
2173
  }
2174
- }, l = i, a = t, r = C(!!l.modelValue), s = V(() => l.actionInMore ? [] : l.actions.map((v) => {
2175
- const b = e[v];
2174
+ }, l = i, a = t, r = C(!!l.modelValue), s = V(() => l.actionInMore ? [] : l.actions.map((m) => {
2175
+ const b = e[m];
2176
2176
  return {
2177
- name: v,
2177
+ name: m,
2178
2178
  ...b
2179
2179
  };
2180
- })), o = V(() => l.actionInMore ? l.actions.map((v) => {
2181
- const b = e[v];
2180
+ })), o = V(() => l.actionInMore ? l.actions.map((m) => {
2181
+ const b = e[m];
2182
2182
  return {
2183
- command: v,
2183
+ command: m,
2184
2184
  ...b
2185
2185
  };
2186
2186
  }) : []), u = V(() => ({
@@ -2189,33 +2189,33 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2189
2189
  "is-active": l.active,
2190
2190
  "is-hover": l.hover,
2191
2191
  "is-small": l.small
2192
- })), m = () => {
2192
+ })), v = () => {
2193
2193
  a("click", l.modelValue);
2194
- }, d = async (v) => {
2195
- v === "remove" ? await Re.confirm("确定删除吗?", "提示", {
2194
+ }, d = async (m) => {
2195
+ m === "remove" ? await Re.confirm("确定删除吗?", "提示", {
2196
2196
  type: "warning"
2197
2197
  }).catch(() => !1) && a("action", {
2198
- name: v,
2198
+ name: m,
2199
2199
  modelValue: l.modelValue
2200
2200
  }) : a("action", {
2201
- name: v,
2201
+ name: m,
2202
2202
  modelValue: l.modelValue
2203
2203
  });
2204
- }, g = (v) => {
2205
- d(v.command);
2204
+ }, g = (m) => {
2205
+ d(m.command);
2206
2206
  };
2207
- return J(r, (v) => {
2208
- a("update:modelValue", v), a("switch", v);
2207
+ return J(r, (m) => {
2208
+ a("update:modelValue", m), a("switch", m);
2209
2209
  }), J(
2210
2210
  () => l.modelValue,
2211
- (v) => {
2212
- r.value = !!v;
2211
+ (m) => {
2212
+ r.value = !!m;
2213
2213
  }
2214
- ), (v, b) => (c(), _(n(K), {
2214
+ ), (m, b) => (c(), _(n(K), {
2215
2215
  class: X(["v-item", u.value]),
2216
2216
  justify: "space-between",
2217
2217
  align: "center",
2218
- onClick: m
2218
+ onClick: v
2219
2219
  }, {
2220
2220
  default: h(() => [
2221
2221
  p(n(K), {
@@ -2223,10 +2223,10 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2223
2223
  align: "center"
2224
2224
  }, {
2225
2225
  default: h(() => [
2226
- Ee(v.$slots, "default", {}, () => [
2227
- v.icon ? (c(), _(n(Ue), {
2226
+ Ee(m.$slots, "default", {}, () => [
2227
+ m.icon ? (c(), _(n(Ue), {
2228
2228
  key: 0,
2229
- icon: v.icon
2229
+ icon: m.icon
2230
2230
  }, null, 8, ["icon"])) : E("", !0),
2231
2231
  l.tag ? (c(), _(n(Fn), {
2232
2232
  key: 1,
@@ -2239,12 +2239,12 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2239
2239
  ]),
2240
2240
  _: 1
2241
2241
  }, 8, ["type"])) : E("", !0),
2242
- v.index !== void 0 ? (c(), D("span", Vr, " # " + L(v.index), 1)) : E("", !0),
2243
- j("span", jr, L(v.title), 1),
2244
- v.subtitle ? (c(), D("span", {
2242
+ m.index !== void 0 ? (c(), D("span", Vr, " # " + L(m.index), 1)) : E("", !0),
2243
+ j("span", jr, L(m.title), 1),
2244
+ m.subtitle ? (c(), D("span", {
2245
2245
  key: 3,
2246
2246
  class: X(["v-item__subtitle", l.subtitleCls])
2247
- }, L(v.subtitle), 3)) : E("", !0),
2247
+ }, L(m.subtitle), 3)) : E("", !0),
2248
2248
  l.textTags ? (c(), D("div", Ar, [
2249
2249
  (c(!0), D(z, null, U(l.textTags, (f) => (c(), D("span", null, L(f), 1))), 256))
2250
2250
  ])) : E("", !0)
@@ -2281,7 +2281,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2281
2281
  class: "v-item__switch",
2282
2282
  size: "small"
2283
2283
  }, null, 8, ["modelValue"])) : E("", !0),
2284
- Ee(v.$slots, "status")
2284
+ Ee(m.$slots, "status")
2285
2285
  ]),
2286
2286
  _: 3
2287
2287
  }),
@@ -2341,9 +2341,9 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2341
2341
  await Re.confirm("确认删除?", "提示", {
2342
2342
  type: "warning"
2343
2343
  }).catch(() => !1) && l("remove");
2344
- }, u = (v) => {
2345
- v.command === "edit" && r(), v.command === "remove" && o(), v.command === "copy" && s();
2346
- }, m = V(() => ({
2344
+ }, u = (m) => {
2345
+ m.command === "edit" && r(), m.command === "remove" && o(), m.command === "copy" && s();
2346
+ }, v = V(() => ({
2347
2347
  "is-active": e.active,
2348
2348
  "is-draggable": e.draggable
2349
2349
  })), d = () => {
@@ -2351,9 +2351,9 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2351
2351
  }, g = () => {
2352
2352
  l("dragend", e);
2353
2353
  };
2354
- return (v, b) => (c(), D("div", {
2355
- class: X(["v-box", m.value]),
2356
- draggable: v.draggable,
2354
+ return (m, b) => (c(), D("div", {
2355
+ class: X(["v-box", v.value]),
2356
+ draggable: m.draggable,
2357
2357
  onDragstart: d,
2358
2358
  onDragend: g
2359
2359
  }, [
@@ -2363,7 +2363,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2363
2363
  align: "center"
2364
2364
  }, {
2365
2365
  default: h(() => [
2366
- Ee(v.$slots, "default", {}, () => [
2366
+ Ee(m.$slots, "default", {}, () => [
2367
2367
  j("span", Dr, L(e.name), 1),
2368
2368
  j("span", Ir, L(e.title), 1)
2369
2369
  ])
@@ -2410,7 +2410,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2410
2410
  const o = (b, f) => b ? f.label.includes(b) : !0, u = (b) => {
2411
2411
  const f = b.value, w = Tt(f);
2412
2412
  return w === "Object" || w === "Module" ? Object.keys(f || {}).length === 0 : w === "Array" ? f.length === 0 : !0;
2413
- }, m = (b, f = "this") => typeof b == "object" ? Array.isArray(b) ? b.map((y, S) => {
2413
+ }, v = (b, f = "this") => typeof b == "object" ? Array.isArray(b) ? b.map((y, S) => {
2414
2414
  const k = `[${S}]`;
2415
2415
  return {
2416
2416
  label: k,
@@ -2430,14 +2430,14 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2430
2430
  (y) => !y.label.startsWith("__") && !a.includes(y.label)
2431
2431
  ) : [], d = (b, f) => {
2432
2432
  if (b.level === 0)
2433
- f(m(e.context));
2433
+ f(v(e.context));
2434
2434
  else {
2435
2435
  const w = Vn(b.data.value);
2436
- f(m(w, b.data.path));
2436
+ f(v(w, b.data.path));
2437
2437
  }
2438
2438
  }, g = (b) => {
2439
2439
  l("copy", b.path);
2440
- }, v = (b) => {
2440
+ }, m = (b) => {
2441
2441
  l("pick", b.path);
2442
2442
  };
2443
2443
  return (b, f) => (c(), D("div", $r, [
@@ -2473,7 +2473,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2473
2473
  subtitle: w.type,
2474
2474
  "subtitle-cls": w.type,
2475
2475
  clickable: "",
2476
- onClick: (y) => v(w),
2476
+ onClick: (y) => m(w),
2477
2477
  background: "",
2478
2478
  actions: ["copy"],
2479
2479
  onAction: (y) => g(w),
@@ -2520,16 +2520,16 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2520
2520
  name: "viewer",
2521
2521
  label: "高级"
2522
2522
  }
2523
- ], u = C("normal"), m = C(), d = async (S) => {
2523
+ ], u = C("normal"), v = C(), d = async (S) => {
2524
2524
  l("submit", S), e.submitMethod ? await e.submitMethod(S) && g() : g();
2525
2525
  }, g = () => {
2526
2526
  l("update:modelValue", !1), l("close");
2527
- }, v = () => {
2527
+ }, m = () => {
2528
2528
  l("unbind");
2529
2529
  }, b = () => {
2530
2530
  g();
2531
2531
  }, f = async () => {
2532
- m.value?.submit();
2532
+ v.value?.submit();
2533
2533
  }, w = (S) => {
2534
2534
  l("pick", S);
2535
2535
  }, y = (S) => {
@@ -2634,7 +2634,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2634
2634
  key: 0,
2635
2635
  type: "warning",
2636
2636
  size: "default",
2637
- onClick: v
2637
+ onClick: m
2638
2638
  }, {
2639
2639
  default: h(() => k[2] || (k[2] = [
2640
2640
  M(" 移除绑定 ")
@@ -2676,7 +2676,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2676
2676
  default: h(() => [
2677
2677
  p(n(Yt), {
2678
2678
  ref_key: "formRef",
2679
- ref: m,
2679
+ ref: v,
2680
2680
  class: "v-binder__form",
2681
2681
  footer: !1,
2682
2682
  "label-position": "top",
@@ -2713,7 +2713,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2713
2713
  }, o = () => {
2714
2714
  a.value ? (l("submit", a.value), l("update:modelValue", !1)) : se("请选择插槽");
2715
2715
  };
2716
- return (u, m) => (c(), _(n(Ie), ce({
2716
+ return (u, v) => (c(), _(n(Ie), ce({
2717
2717
  class: "v-slots-picker",
2718
2718
  title: `选择插槽: ${e.name}`,
2719
2719
  width: "600px",
@@ -2740,7 +2740,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2740
2740
  class: X(["v-slots-picker__item", { "is-active": d.name === a.value?.name }]),
2741
2741
  grow: "",
2742
2742
  flex: !1,
2743
- onClick: (v) => s(d)
2743
+ onClick: (m) => s(d)
2744
2744
  }, {
2745
2745
  default: h(() => [
2746
2746
  j("span", Or, "#" + L(g + 1), 1),
@@ -2766,8 +2766,8 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2766
2766
  setup(i) {
2767
2767
  const t = i, e = V(() => [`is-${t.mode}`]), l = V(() => {
2768
2768
  if (t.mode === "pc") return 1;
2769
- const r = t.mode === "mobile" ? hn : bn, { width: s, height: o } = r, u = s > 0 ? (t.width || 0) / s : 1, m = o > 0 ? (t.height || 0) / o : 1;
2770
- return Math.min(u, m);
2769
+ const r = t.mode === "mobile" ? hn : bn, { width: s, height: o } = r, u = s > 0 ? (t.width || 0) / s : 1, v = o > 0 ? (t.height || 0) / o : 1;
2770
+ return Math.min(u, v);
2771
2771
  }), a = V(() => {
2772
2772
  if (t.mode === "pc") return {};
2773
2773
  const r = t.mode === "mobile" ? hn : bn, { width: s, height: o } = r;
@@ -2805,15 +2805,15 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2805
2805
  name: "PagesWidget",
2806
2806
  __name: "index",
2807
2807
  setup(i) {
2808
- const { project: t, engine: e } = Ge(), l = V(() => t.value?.pages || []), { current: a } = ge(), r = C(!1), s = C(), o = C(), u = V(() => `(共 ${l.value.length} 项)`), m = V(() => {
2808
+ const { project: t, engine: e } = Ge(), l = V(() => t.value?.pages || []), { current: a } = ge(), r = C(!1), s = C(), o = C(), u = V(() => `(共 ${l.value.length} 项)`), v = V(() => {
2809
2809
  const { platform: y = "web" } = t.value || {};
2810
2810
  return y === "uniapp";
2811
2811
  }), d = (y) => {
2812
2812
  const S = [];
2813
- return t.value?.homepage === y.id && S.push("主"), !m.value && y.mask && S.push("母"), !m.value && y.cache && S.push("缓"), !m.value && y.hidden && S.push("隐"), !m.value && y.pure && S.push("纯"), y.raw && S.push("源"), S;
2813
+ return t.value?.homepage === y.id && S.push("主"), !v.value && y.mask && S.push("母"), !v.value && y.cache && S.push("缓"), !v.value && y.hidden && S.push("隐"), !v.value && y.pure && S.push("纯"), y.raw && S.push("源"), S;
2814
2814
  }, g = () => {
2815
2815
  o.value = void 0, s.value = void 0, r.value = !0;
2816
- }, v = async (y) => {
2816
+ }, m = async (y) => {
2817
2817
  const { name: S, modelValue: k } = y, { data: x, node: A } = k;
2818
2818
  if (S === "add" && (s.value = void 0, o.value = x.id, r.value = !0), S === "edit" && (s.value = ct(x), o.value = void 0, r.value = !0), S === "remove") {
2819
2819
  if (x.dir) {
@@ -2867,7 +2867,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2867
2867
  subtitle: k.name,
2868
2868
  "model-value": { data: k, node: x },
2869
2869
  actions: k.dir ? ["add", "edit", "remove"] : k.raw ? ["home", "edit", "remove"] : ["home", "edit", "copy", "remove", "saveToBlock"],
2870
- onAction: v,
2870
+ onAction: m,
2871
2871
  onClick: (A) => b(k),
2872
2872
  active: n(a)?.id === k.id,
2873
2873
  grow: "",
@@ -2903,7 +2903,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2903
2903
  const e = i, l = t, { engine: a, project: r } = Ge(), s = C([]), o = C(!1), u = (k) => Array.isArray(k) ? k.map((x) => ({
2904
2904
  name: x.filename,
2905
2905
  url: x.filepath
2906
- })) : k ? { name: k.filename, url: k.filepath } : null, m = async (k) => {
2906
+ })) : k ? { name: k.filename, url: k.filepath } : null, v = async (k) => {
2907
2907
  if (a && r.value) {
2908
2908
  const x = await a.service.uploadStaticFile(k, r.value.id);
2909
2909
  return u(x);
@@ -2911,7 +2911,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2911
2911
  return null;
2912
2912
  }, d = (k) => k ? (k || "").split(",").map((A) => ({ url: A })) : [], g = C(
2913
2913
  d(e.modelValue)
2914
- ), v = V(() => Array.isArray(g.value) ? g.value.map((k) => k.url).join(",") : g.value ? g.value.url : "");
2914
+ ), m = V(() => Array.isArray(g.value) ? g.value.map((k) => k.url).join(",") : g.value ? g.value.url : "");
2915
2915
  J(
2916
2916
  () => e.modelValue,
2917
2917
  (k) => {
@@ -2932,7 +2932,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2932
2932
  return k.includes(B);
2933
2933
  }) ? !0 : (se(`只支持 ${k.join(",")} 文件`), !1) : !0;
2934
2934
  }, f = () => {
2935
- b() && (l("change", v.value), l("update:modelValue", v.value), o.value = !1);
2935
+ b() && (l("change", m.value), l("update:modelValue", m.value), o.value = !1);
2936
2936
  }, w = () => {
2937
2937
  g.value = [], l("change", void 0), l("update:modelValue", void 0), o.value = !1;
2938
2938
  }, y = () => {
@@ -2975,7 +2975,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2975
2975
  size: "small",
2976
2976
  "list-type": "list",
2977
2977
  selectable: !0,
2978
- uploader: m,
2978
+ uploader: v,
2979
2979
  modelValue: s.value,
2980
2980
  "onUpdate:modelValue": x[0] || (x[0] = (A) => s.value = A),
2981
2981
  "select-value": g.value,
@@ -2986,7 +2986,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2986
2986
  }, 8, ["modelValue"])) : E("", !0)
2987
2987
  ]));
2988
2988
  }
2989
- }), Wr = { class: "v-blocks__search" }, Nr = /* @__PURE__ */ I({
2989
+ }), Nr = { class: "v-blocks__search" }, Wr = /* @__PURE__ */ I({
2990
2990
  name: "BlocksWidget",
2991
2991
  __name: "index",
2992
2992
  setup(i) {
@@ -2996,7 +2996,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
2996
2996
  filterable: !0,
2997
2997
  allowCreate: !0,
2998
2998
  defaultFirstOption: !0
2999
- }, m = V(() => o.value.map((O) => ({
2999
+ }, v = V(() => o.value.map((O) => ({
3000
3000
  label: O,
3001
3001
  value: O
3002
3002
  }))), d = [
@@ -3028,7 +3028,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3028
3028
  label: "插件",
3029
3029
  type: "danger"
3030
3030
  }
3031
- }, v = C(void 0), { current: b } = ge(), f = C(!1), w = V(() => v.value?.id ? "编辑区块" : "新增区块"), y = V(() => `(共 ${e.value.length} 个)`), S = () => ({
3031
+ }, m = C(void 0), { current: b } = ge(), f = C(!1), w = V(() => m.value?.id ? "编辑区块" : "新增区块"), y = V(() => `(共 ${e.value.length} 个)`), S = () => ({
3032
3032
  fromType: "Schema",
3033
3033
  name: "",
3034
3034
  title: "",
@@ -3036,11 +3036,11 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3036
3036
  library: "",
3037
3037
  type: "block"
3038
3038
  }), k = V(() => {
3039
- if (v.value?.fromType === "UrlSchema")
3039
+ if (m.value?.fromType === "UrlSchema")
3040
3040
  return ".json";
3041
- if (v.value?.fromType === "Plugin")
3041
+ if (m.value?.fromType === "Plugin")
3042
3042
  return ".js,.css,.json";
3043
- }), x = V(() => v.value?.fromType === "Plugin"), A = async (O) => {
3043
+ }), x = V(() => m.value?.fromType === "Plugin"), A = async (O) => {
3044
3044
  const te = O, re = l.project.value;
3045
3045
  if (!re) return !1;
3046
3046
  if (O.id)
@@ -3054,22 +3054,22 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3054
3054
  return se(`名称【${te.name}】已经存在,请更换名称`), !1;
3055
3055
  return !0;
3056
3056
  }, T = () => {
3057
- v.value = S(), f.value = !0;
3057
+ m.value = S(), f.value = !0;
3058
3058
  }, $ = (O) => {
3059
- v.value = ct(O), f.value = !0;
3059
+ m.value = ct(O), f.value = !0;
3060
3060
  }, B = (O) => {
3061
3061
  l.project.value?.cloneBlock(O);
3062
3062
  }, R = (O) => {
3063
3063
  l.project.value?.removeBlock(O.id);
3064
- }, N = (O) => {
3065
- v.value && (v.value.name = Mn(O));
3064
+ }, W = (O) => {
3065
+ m.value && (m.value.name = Mn(O));
3066
3066
  }, Y = async (O) => {
3067
3067
  if (!O.fromType || O.fromType === "Schema") {
3068
3068
  l.project.value?.active(O);
3069
3069
  const te = l.skeleton?.getRegion("Workspace");
3070
3070
  te && te.regionRef.openTab("Designer");
3071
3071
  }
3072
- }, W = async (O) => {
3072
+ }, N = async (O) => {
3073
3073
  const te = ta(O), re = await l.assets.getBlockMaterial(te, O.name), nt = l.skeleton?.getWidget("Designer")?.widgetRef?.designer;
3074
3074
  nt && re && nt.setDragging(re);
3075
3075
  }, G = () => {
@@ -3084,7 +3084,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3084
3084
  onPlus: T
3085
3085
  }, {
3086
3086
  default: h(() => [
3087
- j("div", Wr, [
3087
+ j("div", Nr, [
3088
3088
  p(n(ve), {
3089
3089
  size: "small",
3090
3090
  modelValue: a.value,
@@ -3126,7 +3126,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3126
3126
  onRemove: (pt) => R(ye),
3127
3127
  onClick: (pt) => Y(ye),
3128
3128
  draggable: n(b)?.id !== ye.id,
3129
- onDragstart: (pt) => W(ye),
3129
+ onDragstart: (pt) => N(ye),
3130
3130
  onDragend: G
3131
3131
  }, null, 8, ["name", "title", "active", "editable", "tag", "tagType", "onEdit", "onCopy", "onRemove", "onClick", "draggable", "onDragstart"])
3132
3132
  ]),
@@ -3148,7 +3148,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3148
3148
  modelValue: f.value,
3149
3149
  "onUpdate:modelValue": te[1] || (te[1] = (re) => f.value = re),
3150
3150
  title: w.value,
3151
- model: v.value,
3151
+ model: m.value,
3152
3152
  width: "600px",
3153
3153
  height: "400px",
3154
3154
  "form-props": { tooltipMessage: !1 },
@@ -3160,7 +3160,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3160
3160
  label: "类型",
3161
3161
  required: "",
3162
3162
  editor: "radio",
3163
- disabled: !!v.value?.id,
3163
+ disabled: !!m.value?.id,
3164
3164
  options: d
3165
3165
  }, null, 8, ["disabled"]),
3166
3166
  p(n(P), {
@@ -3172,20 +3172,20 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3172
3172
  message: "名称格式错误",
3173
3173
  pattern: n($e)
3174
3174
  },
3175
- onChange: N
3175
+ onChange: W
3176
3176
  }, null, 8, ["rules"]),
3177
3177
  p(n(P), {
3178
3178
  name: "title",
3179
3179
  label: "标题",
3180
3180
  required: ""
3181
3181
  }),
3182
- v.value?.fromType === "Plugin" ? (c(), _(n(P), {
3182
+ m.value?.fromType === "Plugin" ? (c(), _(n(P), {
3183
3183
  key: 0,
3184
3184
  name: "library",
3185
3185
  label: "插件名称",
3186
3186
  required: ""
3187
3187
  })) : E("", !0),
3188
- ["Plugin", "UrlSchema"].includes(v.value?.fromType || "") ? (c(), _(n(P), {
3188
+ ["Plugin", "UrlSchema"].includes(m.value?.fromType || "") ? (c(), _(n(P), {
3189
3189
  key: 1,
3190
3190
  name: "urls",
3191
3191
  label: "资源文件",
@@ -3198,7 +3198,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3198
3198
  label: "分组",
3199
3199
  editor: "select",
3200
3200
  props: u,
3201
- options: m.value
3201
+ options: v.value
3202
3202
  }, null, 8, ["options"])
3203
3203
  ]),
3204
3204
  _: 1
@@ -3214,14 +3214,14 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3214
3214
  name: "ComponentsWidget",
3215
3215
  __name: "index",
3216
3216
  setup(i) {
3217
- const { span: t, engine: e } = ln(), { tabs: l, currentTab: a, currentGroup: r, model: s, searchKey: o, searchResult: u } = Ao(), m = (g) => {
3218
- const v = e.skeleton?.getWidget("Designer")?.widgetRef?.designer;
3219
- v && v.setDragging(g);
3217
+ const { span: t, engine: e } = ln(), { tabs: l, currentTab: a, currentGroup: r, model: s, searchKey: o, searchResult: u } = Ao(), v = (g) => {
3218
+ const m = e.skeleton?.getWidget("Designer")?.widgetRef?.designer;
3219
+ m && m.setDragging(g);
3220
3220
  }, d = () => {
3221
3221
  const g = e.skeleton?.getWidget("Designer")?.widgetRef?.designer;
3222
3222
  g && g.setDragging(null);
3223
3223
  };
3224
- return (g, v) => (c(), _(n(H), {
3224
+ return (g, m) => (c(), _(n(H), {
3225
3225
  class: "v-components-widget",
3226
3226
  title: "组件库",
3227
3227
  body: { flex: !0, direction: "column" }
@@ -3230,7 +3230,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3230
3230
  j("div", Mr, [
3231
3231
  p(n(ve), {
3232
3232
  modelValue: n(o),
3233
- "onUpdate:modelValue": v[0] || (v[0] = (b) => Lt(o) ? o.value = b : null),
3233
+ "onUpdate:modelValue": m[0] || (m[0] = (b) => Lt(o) ? o.value = b : null),
3234
3234
  placeholder: "搜索组件",
3235
3235
  clearable: "",
3236
3236
  size: "small"
@@ -3256,7 +3256,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3256
3256
  name: b.name,
3257
3257
  title: b.label || b.name,
3258
3258
  draggable: "",
3259
- onDragstart: (f) => m(b),
3259
+ onDragstart: (f) => v(b),
3260
3260
  onDragend: d
3261
3261
  }, null, 8, ["name", "title", "onDragstart"])
3262
3262
  ]),
@@ -3270,14 +3270,14 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3270
3270
  key: 1,
3271
3271
  items: n(l),
3272
3272
  modelValue: n(a),
3273
- "onUpdate:modelValue": v[2] || (v[2] = (b) => Lt(a) ? a.value = b : null)
3273
+ "onUpdate:modelValue": m[2] || (m[2] = (b) => Lt(a) ? a.value = b : null)
3274
3274
  }, {
3275
3275
  default: h(() => [
3276
3276
  j("div", qr, [
3277
3277
  n(r) ? (c(), _(n(xt), {
3278
3278
  key: 0,
3279
3279
  modelValue: n(s)[n(a)],
3280
- "onUpdate:modelValue": v[1] || (v[1] = (b) => n(s)[n(a)] = b)
3280
+ "onUpdate:modelValue": m[1] || (m[1] = (b) => n(s)[n(a)] = b)
3281
3281
  }, {
3282
3282
  default: h(() => [
3283
3283
  (c(!0), D(z, null, U(n(r).children, (b) => (c(), _(n(Ct), {
@@ -3301,7 +3301,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3301
3301
  name: f.name,
3302
3302
  title: f.label || f.name,
3303
3303
  draggable: "",
3304
- onDragstart: (w) => m(f),
3304
+ onDragstart: (w) => v(f),
3305
3305
  onDragend: d
3306
3306
  }, null, 8, ["name", "title", "onDragstart"])
3307
3307
  ]),
@@ -3336,16 +3336,16 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3336
3336
  return R && (R.locked || R.invisible) ? [] : a.value?.locked ? [] : $.locked ? ["unlock"] : $.invisible ? ["visible"] : ["lock", "invisible", "copy", "remove"];
3337
3337
  }, o = ($, B) => {
3338
3338
  const R = {};
3339
- if (!$.some((W) => W.slot)) return u($);
3340
- for (const W of $) {
3341
- const G = W.slot?.name || "default";
3342
- R[G] || (R[G] = []), R[G].push(W);
3339
+ if (!$.some((N) => N.slot)) return u($);
3340
+ for (const N of $) {
3341
+ const G = N.slot?.name || "default";
3342
+ R[G] || (R[G] = []), R[G].push(N);
3343
3343
  }
3344
3344
  const Y = [];
3345
- for (const [W, G] of Object.entries(R))
3345
+ for (const [N, G] of Object.entries(R))
3346
3346
  Y.push({
3347
- id: `${B.id}-${W}`,
3348
- label: `#${W}`,
3347
+ id: `${B.id}-${N}`,
3348
+ label: `#${N}`,
3349
3349
  type: "slot",
3350
3350
  model: B,
3351
3351
  disabled: !0,
@@ -3355,16 +3355,16 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3355
3355
  }, u = ($) => {
3356
3356
  const B = [];
3357
3357
  return $.forEach((R) => {
3358
- const N = {
3358
+ const W = {
3359
3359
  id: R.id,
3360
3360
  label: R.name,
3361
3361
  type: R.id,
3362
3362
  //getNodeType(model),
3363
3363
  model: R
3364
3364
  };
3365
- Array.isArray(R.children) && (N.children = o(R.children, R)), B.push(N);
3365
+ Array.isArray(R.children) && (W.children = o(R.children, R)), B.push(W);
3366
3366
  }), B;
3367
- }, m = () => {
3367
+ }, v = () => {
3368
3368
  if (!a.value) return [];
3369
3369
  const { id: $, name: B, nodes: R } = a.value;
3370
3370
  return [
@@ -3377,25 +3377,25 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3377
3377
  }
3378
3378
  ];
3379
3379
  }, d = async () => {
3380
- r.value = m(), l.value?.model && (await je(), e.value?.setSelected(l.value.model));
3381
- }, g = V(() => l.value?.model.id), v = ($) => {
3380
+ r.value = v(), l.value?.model && (await je(), e.value?.setSelected(l.value.model));
3381
+ }, g = V(() => l.value?.model.id), m = ($) => {
3382
3382
  const B = $.data;
3383
3383
  if (B.type === "slot" || oe(B.model) || B.model.locked || B.model.name === "template")
3384
3384
  return !1;
3385
3385
  const R = t.assets.componentMap.get(B.model.name);
3386
3386
  return R ? (e.value?.setDragging(R), !0) : !1;
3387
3387
  }, b = async ($, B, R) => {
3388
- const N = B.data, W = {
3388
+ const W = B.data, N = {
3389
3389
  prev: "top",
3390
3390
  next: "bottom",
3391
3391
  inner: "inner"
3392
3392
  }[R];
3393
3393
  let G = !1;
3394
- if (oe(N.model))
3395
- G = R === "inner", e.value?.setDropping(G ? N.model : null, "inner");
3394
+ if (oe(W.model))
3395
+ G = R === "inner", e.value?.setDropping(G ? W.model : null, "inner");
3396
3396
  else {
3397
- const O = N.model;
3398
- G = !!await e.value?.allowDrop(O, W), e.value?.setDropping(G ? O : null, "inner");
3397
+ const O = W.model;
3398
+ G = !!await e.value?.allowDrop(O, N), e.value?.setDropping(G ? O : null, "inner");
3399
3399
  }
3400
3400
  return G;
3401
3401
  }, f = ($) => {
@@ -3406,28 +3406,28 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3406
3406
  }
3407
3407
  e.value?.setSelected(B), e.value?.setHover(null);
3408
3408
  }, w = async ($, B, R) => {
3409
- const N = $.data, Y = B.data;
3409
+ const W = $.data, Y = B.data;
3410
3410
  if (oe(Y.model)) {
3411
- const re = N.model;
3411
+ const re = W.model;
3412
3412
  delete re.slot, a.value?.move(re, void 0, "inner"), e.value?.setDropping(null), e.value?.setDragging(null);
3413
3413
  return;
3414
3414
  }
3415
- const W = Y.model, G = { before: "left", after: "right" }[R] || "inner";
3415
+ const N = Y.model, G = { before: "left", after: "right" }[R] || "inner";
3416
3416
  if (!await e.value?.allowDrop(
3417
- W,
3417
+ N,
3418
3418
  G
3419
3419
  )) {
3420
3420
  e.value?.setDropping(null), d(), Pe.warning({
3421
- message: `${N.model.name}不能放置到该位置`
3421
+ message: `${W.model.name}不能放置到该位置`
3422
3422
  }), e.value?.setDragging(null);
3423
3423
  return;
3424
3424
  }
3425
3425
  const te = await e.value?.getDropSlot(
3426
- R === "inner" ? W : W.parent
3426
+ R === "inner" ? N : N.parent
3427
3427
  );
3428
3428
  if (te !== null) {
3429
- const re = N.model;
3430
- re.slot = te, a.value?.move(re, W, G);
3429
+ const re = W.model;
3430
+ re.slot = te, a.value?.move(re, N, G);
3431
3431
  } else
3432
3432
  d();
3433
3433
  e.value?.setDropping(null), e.value?.setDragging(null), t.simulator.refresh();
@@ -3450,16 +3450,16 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3450
3450
  }, A = ($, B) => {
3451
3451
  $ && (($.id === B.id || !oe($) && B.isChild($)) && e.value?.setSelected(null), e.value?.setHover(null));
3452
3452
  }, T = ($) => {
3453
- const { name: B, modelValue: R } = $, N = l.value?.model;
3453
+ const { name: B, modelValue: R } = $, W = l.value?.model;
3454
3454
  switch (B) {
3455
3455
  case "lock":
3456
- A(N, R), R.lock();
3456
+ A(W, R), R.lock();
3457
3457
  break;
3458
3458
  case "unlock":
3459
- A(N, R), R.unlock();
3459
+ A(W, R), R.unlock();
3460
3460
  break;
3461
3461
  case "invisible":
3462
- A(N, R), R.setVisible(!1);
3462
+ A(W, R), R.setVisible(!1);
3463
3463
  break;
3464
3464
  case "visible":
3465
3465
  R.setVisible(!0);
@@ -3469,7 +3469,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3469
3469
  Y && e.value?.setSelected(Y);
3470
3470
  break;
3471
3471
  case "remove":
3472
- A(N, R), a.value?.removeNode(R);
3472
+ A(W, R), a.value?.removeNode(R);
3473
3473
  break;
3474
3474
  }
3475
3475
  };
@@ -3489,13 +3489,13 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3489
3489
  "highlight-current": !0,
3490
3490
  "expand-on-click-node": !1,
3491
3491
  "allow-drop": b,
3492
- "allow-drag": v,
3492
+ "allow-drag": m,
3493
3493
  onCurrentChange: f,
3494
3494
  onNodeDrop: w,
3495
3495
  onNodeDragStart: k,
3496
3496
  onNodeDragEnd: x
3497
3497
  }, {
3498
- default: h(({ data: R, node: N }) => [
3498
+ default: h(({ data: R, node: W }) => [
3499
3499
  p(n(fe), {
3500
3500
  class: X(["v-outline-widget__item", {
3501
3501
  "is-locked": R.model.locked,
@@ -3503,7 +3503,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3503
3503
  "is-dragging": R.dragging,
3504
3504
  "is-slot": R.type === "slot"
3505
3505
  }]),
3506
- active: !R.model.invisible && N.isCurrent && R.type !== "slot",
3506
+ active: !R.model.invisible && W.isCurrent && R.type !== "slot",
3507
3507
  grow: "",
3508
3508
  small: "",
3509
3509
  background: "",
@@ -3545,16 +3545,16 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3545
3545
  key: 0,
3546
3546
  "image-size": 50
3547
3547
  })) : E("", !0),
3548
- n(t) ? (c(!0), D(z, { key: 1 }, U(n(t).items, (m, d) => (c(), _(n(fe), {
3548
+ n(t) ? (c(!0), D(z, { key: 1 }, U(n(t).items, (v, d) => (c(), _(n(fe), {
3549
3549
  index: d + 1,
3550
- title: m.label,
3551
- "model-value": m,
3550
+ title: v.label,
3551
+ "model-value": v,
3552
3552
  active: d == n(t).index,
3553
3553
  small: "",
3554
3554
  background: "",
3555
3555
  actions: ["remove"],
3556
3556
  onAction: r,
3557
- onClick: (g) => n(e)(m.id)
3557
+ onClick: (g) => n(e)(v.id)
3558
3558
  }, null, 8, ["index", "title", "model-value", "active", "onClick"]))), 256)) : E("", !0)
3559
3559
  ]),
3560
3560
  _: 1
@@ -3768,7 +3768,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3768
3768
  categories: {}
3769
3769
  },
3770
3770
  setup(i) {
3771
- const t = i, e = V(() => t.model ? "编辑API" : "新增API"), l = C("base"), a = C(), r = C(), s = C(t.model || {}), o = C(!1), u = C(""), m = [
3771
+ const t = i, e = V(() => t.model ? "编辑API" : "新增API"), l = C("base"), a = C(), r = C(), s = C(t.model || {}), o = C(!1), u = C(""), v = [
3772
3772
  {
3773
3773
  label: "基础信息",
3774
3774
  value: "base"
@@ -3799,7 +3799,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3799
3799
  });
3800
3800
  const g = () => {
3801
3801
  a.value?.cancel();
3802
- }, v = () => {
3802
+ }, m = () => {
3803
3803
  r.value?.submit();
3804
3804
  }, b = async (w) => t.project?.existApiName(
3805
3805
  s.value.name,
@@ -3837,7 +3837,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3837
3837
  p(n(jt), {
3838
3838
  modelValue: l.value,
3839
3839
  "onUpdate:modelValue": y[0] || (y[0] = (S) => l.value = S),
3840
- items: m,
3840
+ items: v,
3841
3841
  "tab-position": "left",
3842
3842
  border: "",
3843
3843
  fit: ""
@@ -3878,7 +3878,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3878
3878
  }),
3879
3879
  p(n(Z), {
3880
3880
  type: "primary",
3881
- onClick: v
3881
+ onClick: m
3882
3882
  }, {
3883
3883
  default: h(() => y[4] || (y[4] = [
3884
3884
  M("保存")
@@ -3951,7 +3951,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3951
3951
  return a.value ? f.filter((w) => w.name.includes(a.value) || w.label?.includes(a.value) || w.url.includes(a.value)) : f;
3952
3952
  }), o = V(
3953
3953
  () => st(s.value, (f) => f.category || "默认分组")
3954
- ), u = V(() => Object.keys(o.value)), m = () => ({
3954
+ ), u = V(() => Object.keys(o.value)), v = () => ({
3955
3955
  id: "",
3956
3956
  method: "get",
3957
3957
  name: "",
@@ -3981,7 +3981,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3981
3981
  }`
3982
3982
  }
3983
3983
  }), d = () => {
3984
- e.value = !0, r.value = !1, l.value = m();
3984
+ e.value = !0, r.value = !1, l.value = v();
3985
3985
  }, g = {
3986
3986
  get: "success",
3987
3987
  post: "primary",
@@ -3989,7 +3989,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
3989
3989
  delete: "danger",
3990
3990
  patch: "warning",
3991
3991
  jsonp: "info"
3992
- }, v = (f) => {
3992
+ }, m = (f) => {
3993
3993
  f.name === "edit" && b(f.modelValue), f.name === "remove" && t.value?.removeApi(f.modelValue.name);
3994
3994
  }, b = (f) => {
3995
3995
  r.value = !0, l.value = ct(f), e.value = !0;
@@ -4029,7 +4029,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4029
4029
  background: "",
4030
4030
  actions: ["edit", "remove"],
4031
4031
  onClick: (x) => b(k),
4032
- onAction: v
4032
+ onAction: m
4033
4033
  }, null, 8, ["title", "subtitle", "model-value", "tag", "tag-type", "onClick"]))), 128))
4034
4034
  ]),
4035
4035
  _: 2
@@ -4056,12 +4056,12 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4056
4056
  name: "DepsWidget",
4057
4057
  __name: "index",
4058
4058
  setup(i) {
4059
- const { dependencies: t, engine: e } = il(), l = C(!1), a = C(!1), r = C({}), s = V(() => a.value ? "查看依赖" : r.value ? "编辑依赖" : "新增依赖"), o = (f) => f.required || f.official ? [] : ["edit", "remove"], u = (f) => f.official && !f.required, m = async (f) => (f.urls = f.urls.split(`
4059
+ const { dependencies: t, engine: e } = il(), l = C(!1), a = C(!1), r = C({}), s = V(() => a.value ? "查看依赖" : r.value ? "编辑依赖" : "新增依赖"), o = (f) => f.required || f.official ? [] : ["edit", "remove"], u = (f) => f.official && !f.required, v = async (f) => (f.urls = f.urls.split(`
4060
4060
  `), f.enabled = !0, f.official = !1, e.project.value?.setDeps(f), !0), d = (f) => {
4061
4061
  e.project.value?.setDeps(f);
4062
4062
  }, g = () => {
4063
4063
  a.value = !1, l.value = !0, r.value = null;
4064
- }, v = (f) => {
4064
+ }, m = (f) => {
4065
4065
  a.value = !0, r.value = {
4066
4066
  ...f,
4067
4067
  urls: f.urls.join(`
@@ -4093,7 +4093,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4093
4093
  modelValue: y.enabled,
4094
4094
  "onUpdate:modelValue": (S) => y.enabled = S,
4095
4095
  onSwitch: (S) => d(y),
4096
- onClick: (S) => v(y),
4096
+ onClick: (S) => m(y),
4097
4097
  onAction: (S) => b(y, S)
4098
4098
  }, null, 8, ["title", "subtitle", "actions", "switch", "modelValue", "onUpdate:modelValue", "onSwitch", "onClick", "onAction"]))), 128)),
4099
4099
  p(n(De), {
@@ -4103,7 +4103,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4103
4103
  height: "500px",
4104
4104
  title: s.value,
4105
4105
  model: r.value,
4106
- submitMethod: m,
4106
+ submitMethod: v,
4107
4107
  formProps: {
4108
4108
  disabled: a.value,
4109
4109
  tooltipMessage: !1
@@ -4201,7 +4201,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4201
4201
  }
4202
4202
  ], u = (d) => {
4203
4203
  l("action", { type: "selected", model: d.command });
4204
- }, m = async (d) => {
4204
+ }, v = async (d) => {
4205
4205
  d.name === "remove" ? await He("确定删除?") && l("action", { type: d.name, model: e.model }) : l("action", { type: d.name, model: e.model });
4206
4206
  };
4207
4207
  return (d, g) => (c(), D("div", {
@@ -4222,7 +4222,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4222
4222
  size: "small",
4223
4223
  items: o,
4224
4224
  background: "none",
4225
- onClick: m
4225
+ onClick: v
4226
4226
  }, null, 8, ["disabled"])
4227
4227
  ], 2));
4228
4228
  }
@@ -4237,23 +4237,23 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4237
4237
  inheritAttrs: !1,
4238
4238
  __name: "index",
4239
4239
  setup(i, { expose: t }) {
4240
- const e = C(), l = C(), { width: a, height: r } = ut(e), { dependencies: s, engine: o, apis: u, meta: m } = il(), { current: d, isEmpty: g } = ge(), v = V(() => o.skeleton?.getWidget("Toolbar")?.widgetRef.mode ?? "pc"), b = V(() => !!o.skeleton?.getWidget("Toolbar")?.widgetRef.outline), f = V(() => o.project.value?.config || {}), w = V(() => o.project.value?.uniConfig || {}), { designer: y, hover: S, dropping: k, selected: x, lines: A } = Eo(
4240
+ const e = C(), l = C(), { width: a, height: r } = ut(e), { dependencies: s, engine: o, apis: u, meta: v } = il(), { current: d, isEmpty: g } = ge(), m = V(() => o.skeleton?.getWidget("Toolbar")?.widgetRef.mode ?? "pc"), b = V(() => !!o.skeleton?.getWidget("Toolbar")?.widgetRef.outline), f = V(() => o.project.value?.config || {}), w = V(() => o.project.value?.uniConfig || {}), { designer: y, hover: S, dropping: k, selected: x, lines: A } = Eo(
4241
4241
  l,
4242
4242
  s,
4243
4243
  u,
4244
- m,
4244
+ v,
4245
4245
  f,
4246
4246
  w
4247
4247
  ), T = (R) => {
4248
- const N = R.type, Y = R.model;
4248
+ const W = R.type, Y = R.model;
4249
4249
  if (d.value)
4250
- switch (N) {
4250
+ switch (W) {
4251
4251
  case "remove":
4252
4252
  d.value.removeNode(Y), y.value?.setSelected(null);
4253
4253
  break;
4254
4254
  case "copy":
4255
- const W = d.value.cloneNode(Y);
4256
- y.value?.setSelected(W);
4255
+ const N = d.value.cloneNode(Y);
4256
+ y.value?.setSelected(N);
4257
4257
  break;
4258
4258
  case "prev":
4259
4259
  d.value.movePrev(Y), y.value?.setSelected(Y);
@@ -4270,8 +4270,8 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4270
4270
  }
4271
4271
  }, $ = (R) => {
4272
4272
  if (R && y.value) {
4273
- const N = o.assets.componentMap.get(R.name);
4274
- N && y.value.setDragging(N), y.value.setDraggingNode(R);
4273
+ const W = o.assets.componentMap.get(R.name);
4274
+ W && y.value.setDragging(W), y.value.setDraggingNode(R);
4275
4275
  }
4276
4276
  }, B = () => {
4277
4277
  y.value && (y.value.setDraggingNode(null), y.value.setDragging(null));
@@ -4280,14 +4280,14 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4280
4280
  y.value && (y.value.outlineEnabled.value = R);
4281
4281
  }), t({
4282
4282
  designer: y,
4283
- mode: v
4284
- }), (R, N) => (c(), D("div", {
4283
+ mode: m
4284
+ }), (R, W) => (c(), D("div", {
4285
4285
  ref_key: "container",
4286
4286
  ref: e,
4287
4287
  class: "v-designer"
4288
4288
  }, [
4289
4289
  p(n(vl), {
4290
- mode: v.value,
4290
+ mode: m.value,
4291
4291
  width: n(a),
4292
4292
  height: n(r)
4293
4293
  }, {
@@ -4362,7 +4362,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4362
4362
  () => s.value ? `编辑${t.title}` : `新增${t.title}`
4363
4363
  ), u = () => {
4364
4364
  s.value = !1, r.value = t.createEmpty(), a.value = !0;
4365
- }, m = (f, w) => {
4365
+ }, v = (f, w) => {
4366
4366
  switch (w.name) {
4367
4367
  case "edit":
4368
4368
  g(f);
@@ -4377,7 +4377,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4377
4377
  s.value = !0, r.value = {
4378
4378
  ...f
4379
4379
  }, a.value = !0;
4380
- }, v = async (f) => t.submit(f, s.value), b = () => {
4380
+ }, m = async (f) => t.submit(f, s.value), b = () => {
4381
4381
  l.value?.itemRef.validate();
4382
4382
  };
4383
4383
  return (f, w) => (c(), _(n(H), {
@@ -4393,7 +4393,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4393
4393
  title: t.itemTitle(y),
4394
4394
  border: "",
4395
4395
  actions: ["edit", "remove"],
4396
- onAction: (S) => m(y, S),
4396
+ onAction: (S) => v(y, S),
4397
4397
  onClick: (S) => g(y)
4398
4398
  }, null, 8, ["title", "onAction", "onClick"]))), 256)),
4399
4399
  f.list.length ? E("", !0) : (c(), _(n(ue), {
@@ -4404,7 +4404,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4404
4404
  modelValue: a.value,
4405
4405
  "onUpdate:modelValue": w[1] || (w[1] = (y) => a.value = y),
4406
4406
  title: o.value,
4407
- "submit-method": v,
4407
+ "submit-method": m,
4408
4408
  model: r.value,
4409
4409
  block: f.current,
4410
4410
  context: f.context,
@@ -4458,12 +4458,12 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4458
4458
  name: "",
4459
4459
  value: ""
4460
4460
  }), a = (s) => t.current?.removeState(s.name), r = async (s, o) => {
4461
- const { name: u, value: m } = s;
4461
+ const { name: u, value: v } = s;
4462
4462
  if (!o && t.current?.state[u])
4463
4463
  return se(`名称 ${u} 已存在,请更换!`), !1;
4464
4464
  const d = {
4465
4465
  type: "JSExpression",
4466
- value: m
4466
+ value: v
4467
4467
  };
4468
4468
  return me(d, t.context, !0) ? (t.current?.setState(u, d), !0) : !1;
4469
4469
  };
@@ -4490,12 +4490,12 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4490
4490
  name: "",
4491
4491
  value: "() => { }"
4492
4492
  }), a = (s) => t.current?.removeFunction("computed", s.name), r = async (s, o) => {
4493
- const { name: u, value: m } = s;
4493
+ const { name: u, value: v } = s;
4494
4494
  if (!o && t.current?.computed[u])
4495
4495
  return se(`名称 ${u} 已存在,请更换!`), !1;
4496
4496
  const d = {
4497
4497
  type: "JSFunction",
4498
- value: m
4498
+ value: v
4499
4499
  };
4500
4500
  return me(d, t.context, !0) ? (t.current?.setFunction("computed", u, d), !0) : !1;
4501
4501
  };
@@ -4522,12 +4522,12 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4522
4522
  name: "",
4523
4523
  value: "() => { }"
4524
4524
  }), a = (s) => t.current?.removeFunction("methods", s.name), r = async (s, o) => {
4525
- const { name: u, value: m } = s;
4525
+ const { name: u, value: v } = s;
4526
4526
  if (!o && t.current?.methods[u])
4527
4527
  return se(`名称 ${u} 已存在,请更换!`), !1;
4528
4528
  const d = {
4529
4529
  type: "JSFunction",
4530
- value: m
4530
+ value: v
4531
4531
  };
4532
4532
  return me(d, t.context, !0) ? (t.current?.setFunction("methods", u, d), !0) : !1;
4533
4533
  };
@@ -4556,20 +4556,20 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4556
4556
  label: d,
4557
4557
  value: d
4558
4558
  }));
4559
- }), a = V(() => Object.entries(e.current?.lifeCycles || {}).map(([m, d]) => ({ name: m, value: Ye(d) }))), r = () => ({
4559
+ }), a = V(() => Object.entries(e.current?.lifeCycles || {}).map(([v, d]) => ({ name: v, value: Ye(d) }))), r = () => ({
4560
4560
  name: "",
4561
4561
  value: "() => { }"
4562
- }), s = (u) => e.current?.removeFunction("lifeCycles", u.name), o = async (u, m) => {
4562
+ }), s = (u) => e.current?.removeFunction("lifeCycles", u.name), o = async (u, v) => {
4563
4563
  const { name: d, value: g } = u;
4564
- if (!m && e.current?.lifeCycles[d])
4564
+ if (!v && e.current?.lifeCycles[d])
4565
4565
  return se(`名称 ${d} 已存在,请更换!`), !1;
4566
- const v = {
4566
+ const m = {
4567
4567
  type: "JSFunction",
4568
4568
  value: g
4569
4569
  };
4570
- return me(v, e.context, !0) ? (e.current?.setFunction("lifeCycles", d, v), !0) : !1;
4570
+ return me(m, e.context, !0) ? (e.current?.setFunction("lifeCycles", d, m), !0) : !1;
4571
4571
  };
4572
- return (u, m) => (c(), _(dt, {
4572
+ return (u, v) => (c(), _(dt, {
4573
4573
  title: "生命周期",
4574
4574
  current: e.current,
4575
4575
  context: e.context,
@@ -4580,14 +4580,14 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4580
4580
  remove: s,
4581
4581
  submit: o
4582
4582
  }, {
4583
- fields: h(({ model: d, nameLabel: g, isEdit: v, valueLabel: b }) => [
4583
+ fields: h(({ model: d, nameLabel: g, isEdit: m, valueLabel: b }) => [
4584
4584
  p(n(P), {
4585
4585
  name: "name",
4586
4586
  label: g,
4587
4587
  editor: "select",
4588
4588
  options: l.value,
4589
4589
  required: "",
4590
- disabled: v
4590
+ disabled: m
4591
4591
  }, null, 8, ["label", "options", "disabled"]),
4592
4592
  p(n(P), {
4593
4593
  class: "v-binder__editor",
@@ -4627,18 +4627,18 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4627
4627
  immediate: !1,
4628
4628
  handler: "() => { }"
4629
4629
  }), a = (o) => o.source, r = (o) => t.current?.removeWatch(o), s = async (o, u) => {
4630
- const m = {
4630
+ const v = {
4631
4631
  type: "JSFunction",
4632
4632
  value: o.source
4633
4633
  }, d = {
4634
4634
  type: "JSFunction",
4635
4635
  value: o.handler
4636
4636
  };
4637
- if (!me(m, t.context, !0) || !me(d, t.context, !0))
4637
+ if (!me(v, t.context, !0) || !me(d, t.context, !0))
4638
4638
  return !1;
4639
4639
  const g = {
4640
4640
  ...o,
4641
- source: m,
4641
+ source: v,
4642
4642
  handler: d
4643
4643
  };
4644
4644
  return t.current?.setWatch(g), !0;
@@ -4656,7 +4656,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4656
4656
  itemTitle: a,
4657
4657
  grow: ""
4658
4658
  }, {
4659
- fields: h(({ model: m, nameLabel: d, valueLabel: g }) => [
4659
+ fields: h(({ model: v, nameLabel: d, valueLabel: g }) => [
4660
4660
  p(n(P), {
4661
4661
  class: "v-binder__editor",
4662
4662
  name: "source",
@@ -4667,8 +4667,8 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4667
4667
  p(n(ae), {
4668
4668
  dark: "",
4669
4669
  height: "100%",
4670
- modelValue: m.source,
4671
- "onUpdate:modelValue": (v) => m.source = v
4670
+ modelValue: v.source,
4671
+ "onUpdate:modelValue": (m) => v.source = m
4672
4672
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
4673
4673
  ]),
4674
4674
  _: 2
@@ -4683,23 +4683,23 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4683
4683
  p(n(ae), {
4684
4684
  dark: "",
4685
4685
  height: "100%",
4686
- modelValue: m.handler,
4687
- "onUpdate:modelValue": (v) => m.handler = v
4686
+ modelValue: v.handler,
4687
+ "onUpdate:modelValue": (m) => v.handler = m
4688
4688
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
4689
4689
  ]),
4690
4690
  _: 2
4691
4691
  }, 1032, ["label"]),
4692
4692
  p(n(P), {
4693
4693
  name: "deep",
4694
- modelValue: m.deep,
4695
- "onUpdate:modelValue": (v) => m.deep = v,
4694
+ modelValue: v.deep,
4695
+ "onUpdate:modelValue": (m) => v.deep = m,
4696
4696
  label: "深度监听",
4697
4697
  editor: "switch"
4698
4698
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
4699
4699
  p(n(P), {
4700
4700
  name: "immediate",
4701
- modelValue: m.immediate,
4702
- "onUpdate:modelValue": (v) => m.immediate = v,
4701
+ modelValue: v.immediate,
4702
+ "onUpdate:modelValue": (m) => v.immediate = m,
4703
4703
  label: "立即执行",
4704
4704
  editor: "switch"
4705
4705
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
@@ -4753,15 +4753,15 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4753
4753
  },
4754
4754
  emits: ["change", "remove"],
4755
4755
  setup(i, { emit: t }) {
4756
- const e = i, l = t, a = (u, m) => {
4757
- l("change", u, m);
4756
+ const e = i, l = t, a = (u, v) => {
4757
+ l("change", u, v);
4758
4758
  }, r = (u) => {
4759
4759
  l("remove", u);
4760
4760
  }, s = (u) => u ? u.replace(/[\u0391-\uFFE5]/g, "aa").length : 0, o = V(() => {
4761
- const m = (e.items || []).map((d) => s(d.label || d.name)).sort((d, g) => g - d)[0];
4762
- return m ? m * 6 + 24 : 100;
4761
+ const v = (e.items || []).map((d) => s(d.label || d.name)).sort((d, g) => g - d)[0];
4762
+ return v ? v * 6 + 24 : 100;
4763
4763
  });
4764
- return (u, m) => (c(), _(n(H), {
4764
+ return (u, v) => (c(), _(n(H), {
4765
4765
  title: e.title,
4766
4766
  class: "v-sub-panel",
4767
4767
  size: "small",
@@ -4773,7 +4773,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4773
4773
  size: "small",
4774
4774
  "label-position": "right",
4775
4775
  "label-width": o.value,
4776
- onKeydown: m[0] || (m[0] = Ae(Se(() => {
4776
+ onKeydown: v[0] || (v[0] = Ae(Se(() => {
4777
4777
  }, ["prevent", "stop"]), ["enter"]))
4778
4778
  }, {
4779
4779
  default: h(() => [
@@ -4802,16 +4802,16 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4802
4802
  change: s,
4803
4803
  componentProps: o,
4804
4804
  customProps: u,
4805
- addCustom: m,
4805
+ addCustom: v,
4806
4806
  removeCustom: d,
4807
4807
  isExist: g
4808
- } = Po(l), v = C(!1), b = C(), f = () => {
4809
- v.value = !0, b.value = {
4808
+ } = Po(l), m = C(!1), b = C(), f = () => {
4809
+ m.value = !0, b.value = {
4810
4810
  name: ""
4811
4811
  };
4812
4812
  }, w = async (S) => {
4813
4813
  const k = Object.keys(a.value?.props || {});
4814
- return !g(S.name) && !k.includes(S.name) ? (m(S.name), !0) : (se("已存在该属性名称"), !1);
4814
+ return !g(S.name) && !k.includes(S.name) ? (v(S.name), !0) : (se("已存在该属性名称"), !1);
4815
4815
  }, y = async (S) => {
4816
4816
  await He("确定删除?") && d(S);
4817
4817
  };
@@ -4855,8 +4855,8 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4855
4855
  onRemove: y
4856
4856
  }, null, 8, ["current", "context", "node", "items", "onChange"])) : E("", !0),
4857
4857
  p(n(De), {
4858
- modelValue: v.value,
4859
- "onUpdate:modelValue": k[0] || (k[0] = (x) => v.value = x),
4858
+ modelValue: m.value,
4859
+ "onUpdate:modelValue": k[0] || (k[0] = (x) => m.value = x),
4860
4860
  title: "新增自定义属性",
4861
4861
  width: "400px",
4862
4862
  height: "150px",
@@ -4977,7 +4977,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4977
4977
  ref_key: "editorRef",
4978
4978
  ref: e,
4979
4979
  modelValue: a.handler.value,
4980
- "onUpdate:modelValue": u[0] || (u[0] = (m) => a.handler.value = m),
4980
+ "onUpdate:modelValue": u[0] || (u[0] = (v) => a.handler.value = v),
4981
4981
  dark: "",
4982
4982
  height: "100%"
4983
4983
  }, null, 8, ["modelValue"])
@@ -4995,7 +4995,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4995
4995
  const { current: t, context: e } = ge(), { selected: l } = Ve(), { mouseEventList: a, keyboardEventList: r, componentEventList: s } = Oo(l), o = C({
4996
4996
  name: "",
4997
4997
  event: void 0
4998
- }), u = C(!1), m = (f) => {
4998
+ }), u = C(!1), v = (f) => {
4999
4999
  o.value = ct(f), u.value = !0;
5000
5000
  }, d = async (f) => {
5001
5001
  const w = {
@@ -5006,11 +5006,11 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
5006
5006
  }, g = async (f) => {
5007
5007
  const w = l.value?.model;
5008
5008
  f.name && (w.removeEvent(f.name), u.value = !1);
5009
- }, v = async () => {
5009
+ }, m = async () => {
5010
5010
  o.value.name && await He("确定要删除该事件吗?") && g(o.value);
5011
5011
  }, b = (f) => {
5012
5012
  const { name: w, modelValue: y } = f;
5013
- w === "edit" && m(y), w === "remove" && g(y);
5013
+ w === "edit" && v(y), w === "remove" && g(y);
5014
5014
  };
5015
5015
  return (f, w) => (c(), _(n(K), {
5016
5016
  class: "v-events-widget",
@@ -5038,7 +5038,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
5038
5038
  small: "",
5039
5039
  actions: y.event ? ["edit", "remove"] : ["edit"],
5040
5040
  active: !!y.event,
5041
- onClick: (S) => m(y),
5041
+ onClick: (S) => v(y),
5042
5042
  onAction: b
5043
5043
  }, null, 8, ["title", "model-value", "actions", "active", "onClick"]))), 128))
5044
5044
  ]),
@@ -5059,7 +5059,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
5059
5059
  small: "",
5060
5060
  actions: y.event ? ["edit", "remove"] : ["edit"],
5061
5061
  active: !!y.event,
5062
- onClick: (S) => m(y),
5062
+ onClick: (S) => v(y),
5063
5063
  onAction: b
5064
5064
  }, null, 8, ["title", "model-value", "actions", "active", "onClick"]))), 128))
5065
5065
  ]),
@@ -5081,7 +5081,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
5081
5081
  small: "",
5082
5082
  actions: y.event ? ["edit", "remove"] : ["edit"],
5083
5083
  active: !!y.event,
5084
- onClick: (S) => m(y),
5084
+ onClick: (S) => v(y),
5085
5085
  onAction: b
5086
5086
  }, null, 8, ["title", "model-value", "actions", "active", "onClick"]))), 128))
5087
5087
  ]),
@@ -5096,7 +5096,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
5096
5096
  name: o.value.name,
5097
5097
  event: o.value.event,
5098
5098
  submitMethod: d,
5099
- onUnbind: v
5099
+ onUnbind: m
5100
5100
  }, null, 8, ["modelValue", "context", "current", "name", "event"])) : E("", !0)
5101
5101
  ]),
5102
5102
  _: 1
@@ -5144,10 +5144,10 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
5144
5144
  vBind: s,
5145
5145
  vFor: o,
5146
5146
  vHtml: u,
5147
- vModels: m,
5147
+ vModels: v,
5148
5148
  customDirectives: d,
5149
5149
  onValueChange: g,
5150
- onForChange: v,
5150
+ onForChange: m,
5151
5151
  onModelChange: b,
5152
5152
  onAddCustom: f,
5153
5153
  onRemoveCustom: w,
@@ -5236,7 +5236,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
5236
5236
  current: n(t),
5237
5237
  context: n(e),
5238
5238
  value: n(o).value,
5239
- onChange: n(v)
5239
+ onChange: n(m)
5240
5240
  }, null, 8, ["current", "context", "value", "onChange"]),
5241
5241
  p(n(q), {
5242
5242
  name: "item",
@@ -5248,7 +5248,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
5248
5248
  current: n(t),
5249
5249
  context: n(e),
5250
5250
  value: n(o).iterator?.item,
5251
- onChange: n(v)
5251
+ onChange: n(m)
5252
5252
  }, null, 8, ["current", "context", "value", "onChange"]),
5253
5253
  p(n(q), {
5254
5254
  name: "index",
@@ -5260,7 +5260,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
5260
5260
  current: n(t),
5261
5261
  context: n(e),
5262
5262
  value: n(o).iterator?.index,
5263
- onChange: n(v)
5263
+ onChange: n(m)
5264
5264
  }, null, 8, ["current", "context", "value", "onChange"])
5265
5265
  ]),
5266
5266
  _: 1
@@ -5275,7 +5275,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
5275
5275
  fit: !1
5276
5276
  }, {
5277
5277
  default: h(() => [
5278
- (c(!0), D(z, null, U(n(m), (A, T) => (c(), _(n(H), {
5278
+ (c(!0), D(z, null, U(n(v), (A, T) => (c(), _(n(H), {
5279
5279
  card: "",
5280
5280
  border: "",
5281
5281
  class: "v-sub-panel",
@@ -5307,7 +5307,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
5307
5307
  ]),
5308
5308
  _: 2
5309
5309
  }, 1032, ["title"]))), 256)),
5310
- n(m).length ? E("", !0) : (c(), _(n(ue), {
5310
+ n(v).length ? E("", !0) : (c(), _(n(ue), {
5311
5311
  key: 0,
5312
5312
  description: "当前组件没有双向绑定属性",
5313
5313
  "image-size": 50
@@ -5647,36 +5647,36 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
5647
5647
  name: "DefinedWidget",
5648
5648
  __name: "index",
5649
5649
  setup(i) {
5650
- const { current: t, context: e } = ge(), l = V(() => (t.value?.props || []).map((W) => typeof W == "string" ? { name: W } : W)), a = V(() => (t.value?.emits || []).map((W) => typeof W == "string" ? { name: W, params: [] } : Object.assign({ params: [] }, W))), r = V(() => (t.value?.slots || []).map((W) => typeof W == "string" ? { name: W, params: [] } : Object.assign({ params: [] }, W))), s = V(() => t.value?.inject || []), o = C(!1), u = C(), m = C(!1), d = C(), g = C(!1), v = C(), b = C(!1), f = C(), w = () => {
5650
+ const { current: t, context: e } = ge(), l = V(() => (t.value?.props || []).map((N) => typeof N == "string" ? { name: N } : N)), a = V(() => (t.value?.emits || []).map((N) => typeof N == "string" ? { name: N, params: [] } : Object.assign({ params: [] }, N))), r = V(() => (t.value?.slots || []).map((N) => typeof N == "string" ? { name: N, params: [] } : Object.assign({ params: [] }, N))), s = V(() => t.value?.inject || []), o = C(!1), u = C(), v = C(!1), d = C(), g = C(!1), m = C(), b = C(!1), f = C(), w = () => {
5651
5651
  u.value = void 0, o.value = !0;
5652
- }, y = (W) => {
5653
- const { name: G, modelValue: O } = W;
5652
+ }, y = (N) => {
5653
+ const { name: G, modelValue: O } = N;
5654
5654
  G === "edit" && S(O), G === "remove" && t.value?.removeProp(O);
5655
- }, S = (W) => {
5656
- u.value = W, o.value = !0;
5655
+ }, S = (N) => {
5656
+ u.value = N, o.value = !0;
5657
5657
  }, k = () => {
5658
- d.value = void 0, m.value = !0;
5659
- }, x = (W) => {
5660
- d.value = { ...W }, m.value = !0;
5661
- }, A = (W) => {
5662
- const { name: G, modelValue: O } = W;
5658
+ d.value = void 0, v.value = !0;
5659
+ }, x = (N) => {
5660
+ d.value = { ...N }, v.value = !0;
5661
+ }, A = (N) => {
5662
+ const { name: G, modelValue: O } = N;
5663
5663
  G === "edit" && x(O), G === "remove" && t.value?.removeEmit(O.name);
5664
5664
  }, T = () => {
5665
- v.value = void 0, g.value = !0;
5666
- }, $ = (W) => {
5667
- v.value = { ...W }, g.value = !0;
5668
- }, B = (W) => {
5669
- const { name: G, modelValue: O } = W;
5665
+ m.value = void 0, g.value = !0;
5666
+ }, $ = (N) => {
5667
+ m.value = { ...N }, g.value = !0;
5668
+ }, B = (N) => {
5669
+ const { name: G, modelValue: O } = N;
5670
5670
  G === "edit" && $(O), G === "remove" && t.value?.removeSlot(O.name);
5671
5671
  }, R = () => {
5672
5672
  f.value = void 0, b.value = !0;
5673
- }, N = (W) => {
5674
- f.value = W, b.value = !0;
5675
- }, Y = (W) => {
5676
- const { name: G, modelValue: O } = W;
5677
- G === "edit" && N(O), G === "remove" && t.value?.removeInject(O);
5673
+ }, W = (N) => {
5674
+ f.value = N, b.value = !0;
5675
+ }, Y = (N) => {
5676
+ const { name: G, modelValue: O } = N;
5677
+ G === "edit" && W(O), G === "remove" && t.value?.removeInject(O);
5678
5678
  };
5679
- return (W, G) => n(t) && n(e) ? (c(), _(n(K), {
5679
+ return (N, G) => n(t) && n(e) ? (c(), _(n(K), {
5680
5680
  key: 0,
5681
5681
  class: "v-defined-widget",
5682
5682
  direction: "column",
@@ -5736,10 +5736,10 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
5736
5736
  key: 0,
5737
5737
  "image-size": 50
5738
5738
  })),
5739
- m.value ? (c(), _(ki, {
5739
+ v.value ? (c(), _(ki, {
5740
5740
  key: 1,
5741
- modelValue: m.value,
5742
- "onUpdate:modelValue": G[1] || (G[1] = (O) => m.value = O),
5741
+ modelValue: v.value,
5742
+ "onUpdate:modelValue": G[1] || (G[1] = (O) => v.value = O),
5743
5743
  current: n(t),
5744
5744
  context: n(e),
5745
5745
  item: d.value
@@ -5774,7 +5774,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
5774
5774
  "onUpdate:modelValue": G[2] || (G[2] = (O) => g.value = O),
5775
5775
  current: n(t),
5776
5776
  context: n(e),
5777
- item: v.value
5777
+ item: m.value
5778
5778
  }, null, 8, ["modelValue", "current", "context", "item"])) : E("", !0)
5779
5779
  ]),
5780
5780
  _: 1
@@ -5794,7 +5794,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
5794
5794
  title: O.name,
5795
5795
  border: "",
5796
5796
  actions: ["remove"],
5797
- onClick: (te) => N(O),
5797
+ onClick: (te) => W(O),
5798
5798
  onAction: Y
5799
5799
  }, null, 8, ["model-value", "title", "onClick"]))), 256)),
5800
5800
  s.value.length ? E("", !0) : (c(), _(n(ue), {
@@ -5872,7 +5872,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
5872
5872
  }`
5873
5873
  }
5874
5874
  }, ct(t.item))
5875
- ), o = C(!1), u = C(""), m = C(!1), d = V(() => s.value.type === "api" ? l.value.map((k) => ({
5875
+ ), o = C(!1), u = C(""), v = C(!1), d = V(() => s.value.type === "api" ? l.value.map((k) => ({
5876
5876
  label: k.label || "",
5877
5877
  value: k.id,
5878
5878
  data: k
@@ -5880,8 +5880,8 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
5880
5880
  label: k.title || "",
5881
5881
  value: k.id,
5882
5882
  data: k
5883
- })) : []), g = V(() => t.item ? "编辑数据源" : "新增数据源"), v = (k) => ["api", "meta"].includes(k.type), b = (k) => ["mock"].includes(k.type), f = (k) => {
5884
- s.value.ref = "", s.value.name = "", s.value.label = "", v(s.value) && s.value.transform && !s.value.transform.value && (s.value.transform.value = `(res) => {
5883
+ })) : []), g = V(() => t.item ? "编辑数据源" : "新增数据源"), m = (k) => ["api", "meta"].includes(k.type), b = (k) => ["mock"].includes(k.type), f = (k) => {
5884
+ s.value.ref = "", s.value.name = "", s.value.label = "", m(s.value) && s.value.transform && !s.value.transform.value && (s.value.transform.value = `(res) => {
5885
5885
  return res;
5886
5886
  }`), b(s.value) && s.value.mockTemplate && !s.value.mockTemplate.value && (s.value.mockTemplate.value = `(params) => {
5887
5887
  return {};
@@ -5913,7 +5913,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
5913
5913
  return t.current?.setDataSource(k), !0;
5914
5914
  }, S = async () => {
5915
5915
  if (!t.context) return;
5916
- if (v(s.value) && !s.value.ref) {
5916
+ if (m(s.value) && !s.value.ref) {
5917
5917
  se("请先选择API");
5918
5918
  return;
5919
5919
  }
@@ -5943,7 +5943,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
5943
5943
  } catch ($) {
5944
5944
  Be.error($);
5945
5945
  }
5946
- o.value = !1, m.value = !0;
5946
+ o.value = !1, v.value = !0;
5947
5947
  };
5948
5948
  return (k, x) => (c(), _(n(De), {
5949
5949
  width: "1000px",
@@ -5982,7 +5982,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
5982
5982
  key: s.value.type,
5983
5983
  required: "",
5984
5984
  disabled: !!t.item,
5985
- visible: v,
5985
+ visible: m,
5986
5986
  options: d.value,
5987
5987
  props: { filterable: !0 },
5988
5988
  onChange: w
@@ -6013,7 +6013,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6013
6013
  name: "transform.value",
6014
6014
  label: "转换函数",
6015
6015
  editor: "none",
6016
- visible: v
6016
+ visible: m
6017
6017
  }, {
6018
6018
  default: h(() => [
6019
6019
  p(n(ae), {
@@ -6056,11 +6056,11 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6056
6056
  ]),
6057
6057
  _: 1
6058
6058
  }),
6059
- m.value ? (c(), _(n(Ln), {
6059
+ v.value ? (c(), _(n(Ln), {
6060
6060
  key: 0,
6061
6061
  class: "v-drawer",
6062
- modelValue: m.value,
6063
- "onUpdate:modelValue": x[3] || (x[3] = (A) => m.value = A),
6062
+ modelValue: v.value,
6063
+ "onUpdate:modelValue": x[3] || (x[3] = (A) => v.value = A),
6064
6064
  title: "测试用例运行结果",
6065
6065
  direction: "btt",
6066
6066
  "append-to-body": "",
@@ -6096,9 +6096,9 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6096
6096
  a.value = void 0, l.value = !0;
6097
6097
  }, u = (d) => {
6098
6098
  a.value = d, l.value = !0;
6099
- }, m = (d) => {
6100
- const { name: g, modelValue: v } = d;
6101
- g === "edit" && u(v), g === "remove" && t.value?.removeDataSource(v.name);
6099
+ }, v = (d) => {
6100
+ const { name: g, modelValue: m } = d;
6101
+ g === "edit" && u(m), g === "remove" && t.value?.removeDataSource(m.name);
6102
6102
  };
6103
6103
  return (d, g) => (c(), _(n(K), {
6104
6104
  class: "v-data-sources-widget",
@@ -6114,16 +6114,16 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6114
6114
  onPlus: o
6115
6115
  }, {
6116
6116
  default: h(() => [
6117
- (c(!0), D(z, null, U(r.value, (v) => (c(), _(n(fe), {
6117
+ (c(!0), D(z, null, U(r.value, (m) => (c(), _(n(fe), {
6118
6118
  border: "",
6119
- title: v.name,
6120
- subtitle: v.label,
6121
- "model-value": v,
6119
+ title: m.name,
6120
+ subtitle: m.label,
6121
+ "model-value": m,
6122
6122
  actions: ["edit", "remove"],
6123
- tag: v.type.toUpperCase(),
6124
- "tag-type": s(v.type),
6125
- onAction: m,
6126
- onClick: (b) => u(v)
6123
+ tag: m.type.toUpperCase(),
6124
+ "tag-type": s(m.type),
6125
+ onAction: v,
6126
+ onClick: (b) => u(m)
6127
6127
  }, null, 8, ["title", "subtitle", "model-value", "tag", "tag-type", "onClick"]))), 256)),
6128
6128
  r.value.length ? E("", !0) : (c(), _(n(ue), {
6129
6129
  key: 0,
@@ -6135,7 +6135,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6135
6135
  l.value ? (c(), _(Vi, {
6136
6136
  key: 0,
6137
6137
  modelValue: l.value,
6138
- "onUpdate:modelValue": g[0] || (g[0] = (v) => l.value = v),
6138
+ "onUpdate:modelValue": g[0] || (g[0] = (m) => l.value = m),
6139
6139
  current: n(t),
6140
6140
  context: n(e),
6141
6141
  item: a.value
@@ -6154,8 +6154,8 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6154
6154
  const t = i, e = C();
6155
6155
  J(
6156
6156
  () => t.styleJson.display,
6157
- (m) => {
6158
- e.value = m === "flex";
6157
+ (v) => {
6158
+ e.value = v === "flex";
6159
6159
  },
6160
6160
  { immediate: !0 }
6161
6161
  );
@@ -6271,10 +6271,10 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6271
6271
  value: "stretch",
6272
6272
  svg: vs
6273
6273
  }
6274
- ], u = (m, d) => {
6274
+ ], u = (v, d) => {
6275
6275
  e.value = d === "flex", t.setStyle("display", d), e.value || (t.setStyle("flex-direction", void 0), t.setStyle("justify-content", void 0), t.setStyle("align-items", void 0), t.setStyle("flex-wrap", void 0));
6276
6276
  };
6277
- return (m, d) => (c(), _(n(H), {
6277
+ return (v, d) => (c(), _(n(H), {
6278
6278
  title: "布局",
6279
6279
  class: "v-sub-panel",
6280
6280
  size: "small",
@@ -6396,13 +6396,13 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6396
6396
  hr(s, () => {
6397
6397
  a("close");
6398
6398
  });
6399
- const m = (b) => {
6399
+ const v = (b) => {
6400
6400
  o.value = typeof b == "number" ? `${b}px` : "auto", d(o.value);
6401
6401
  }, d = (b) => {
6402
6402
  u.value = b === "auto" ? void 0 : "px";
6403
6403
  }, g = () => {
6404
6404
  o.value ? (a("update:modelValue", o.value), a("submit", l.name, o.value), a("close")) : se("请输入有效值", "提示");
6405
- }, v = () => {
6405
+ }, m = () => {
6406
6406
  o.value = void 0, a("update:modelValue", o.value), a("submit", l.name, void 0), a("close");
6407
6407
  };
6408
6408
  return (b, f) => (c(), D("div", Di, [
@@ -6417,7 +6417,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6417
6417
  default: h(() => [
6418
6418
  p(n(K), null, {
6419
6419
  default: h(() => [
6420
- p(n(Nn), {
6420
+ p(n(Wn), {
6421
6421
  modelValue: o.value,
6422
6422
  "onUpdate:modelValue": f[0] || (f[0] = (w) => o.value = w),
6423
6423
  size: "small",
@@ -6438,7 +6438,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6438
6438
  }, {
6439
6439
  default: h(() => [
6440
6440
  j("span", {
6441
- onClick: f[1] || (f[1] = (w) => m("auto"))
6441
+ onClick: f[1] || (f[1] = (w) => v("auto"))
6442
6442
  }, "auto")
6443
6443
  ]),
6444
6444
  _: 1
@@ -6451,7 +6451,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6451
6451
  }, {
6452
6452
  default: h(() => [
6453
6453
  (c(), D(z, null, U(e, (w) => j("span", {
6454
- onClick: (y) => m(w)
6454
+ onClick: (y) => v(w)
6455
6455
  }, L(w), 9, $i)), 64))
6456
6456
  ]),
6457
6457
  _: 1
@@ -6477,7 +6477,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6477
6477
  size: "small",
6478
6478
  round: "",
6479
6479
  style: { width: "100%" },
6480
- onClick: v
6480
+ onClick: m
6481
6481
  }, {
6482
6482
  default: h(() => f[3] || (f[3] = [
6483
6483
  M(" 重置 ")
@@ -6493,7 +6493,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6493
6493
  ])
6494
6494
  ]));
6495
6495
  }
6496
- }), Ti = { class: "spacing-wrap" }, Pi = { class: "spacing-max-icon" }, Ri = ["width", "height"], Bi = ["d"], Oi = ["d"], zi = ["d"], Fi = ["d"], Li = { id: "margin-outer" }, Ui = ["width", "height"], Wi = ["width", "height"], Ni = { id: "margin-inner" }, Mi = ["width", "height"], Ji = ["width", "height"], qi = ["width", "height"], Hi = ["d"], Gi = ["d"], Ki = ["d"], Xi = ["d"], Qi = { id: "padding-outer" }, Yi = ["width", "height"], Zi = ["width", "height"], eu = { id: "padding-inner" }, tu = ["width", "height"], nu = ["width", "height"], lu = {
6496
+ }), Ti = { class: "spacing-wrap" }, Pi = { class: "spacing-max-icon" }, Ri = ["width", "height"], Bi = ["d"], Oi = ["d"], zi = ["d"], Fi = ["d"], Li = { id: "margin-outer" }, Ui = ["width", "height"], Ni = ["width", "height"], Wi = { id: "margin-inner" }, Mi = ["width", "height"], Ji = ["width", "height"], qi = ["width", "height"], Hi = ["d"], Gi = ["d"], Ki = ["d"], Xi = ["d"], Qi = { id: "padding-outer" }, Yi = ["width", "height"], Zi = ["width", "height"], eu = { id: "padding-inner" }, tu = ["width", "height"], nu = ["width", "height"], lu = {
6497
6497
  xmlns: "http://www.w3.org/2000/svg",
6498
6498
  width: "100%",
6499
6499
  height: "100%",
@@ -6510,10 +6510,10 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6510
6510
  setStyle: { type: Function }
6511
6511
  },
6512
6512
  setup(i) {
6513
- const t = i, e = C(), l = C(), { width: a, height: r } = ut(e), { width: s, height: o } = ut(l), u = C(!1), m = C(), d = C(), g = () => {
6514
- u.value = !1, m.value = void 0, d.value = void 0;
6515
- }, v = (b) => {
6516
- m.value = b, d.value = t.styleJson[b], u.value = !0;
6513
+ const t = i, e = C(), l = C(), { width: a, height: r } = ut(e), { width: s, height: o } = ut(l), u = C(!1), v = C(), d = C(), g = () => {
6514
+ u.value = !1, v.value = void 0, d.value = void 0;
6515
+ }, m = (b) => {
6516
+ v.value = b, d.value = t.styleJson[b], u.value = !0;
6517
6517
  };
6518
6518
  return (b, f) => (c(), _(n(H), {
6519
6519
  title: "间距",
@@ -6551,7 +6551,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6551
6551
  "data-automation-id": "margin-top-button",
6552
6552
  "aria-label": "Margin top button",
6553
6553
  class: "tb-path-color",
6554
- onClick: f[0] || (f[0] = (w) => v("margin-top"))
6554
+ onClick: f[0] || (f[0] = (w) => m("margin-top"))
6555
6555
  }, null, 8, Bi)
6556
6556
  ])
6557
6557
  ]),
@@ -6569,7 +6569,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6569
6569
  "data-automation-id": "margin-right-button",
6570
6570
  "aria-label": "Margin right button",
6571
6571
  class: "lr-path-color",
6572
- onClick: f[1] || (f[1] = (w) => v("margin-right"))
6572
+ onClick: f[1] || (f[1] = (w) => m("margin-right"))
6573
6573
  }, null, 8, Oi)
6574
6574
  ])
6575
6575
  ]),
@@ -6587,7 +6587,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6587
6587
  "data-automation-id": "margin-bottom-button",
6588
6588
  "aria-label": "Margin bottom button",
6589
6589
  class: "tb-path-color",
6590
- onClick: f[2] || (f[2] = (w) => v("margin-bottom"))
6590
+ onClick: f[2] || (f[2] = (w) => m("margin-bottom"))
6591
6591
  }, null, 8, zi)
6592
6592
  ])
6593
6593
  ]),
@@ -6605,7 +6605,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6605
6605
  "data-automation-id": "margin-left-button",
6606
6606
  "aria-label": "Margin left button",
6607
6607
  class: "lr-path-color",
6608
- onClick: f[3] || (f[3] = (w) => v("margin-left"))
6608
+ onClick: f[3] || (f[3] = (w) => m("margin-left"))
6609
6609
  }, null, 8, Fi)
6610
6610
  ])
6611
6611
  ]),
@@ -6632,8 +6632,8 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6632
6632
  rx: "2",
6633
6633
  ry: "2",
6634
6634
  style: { "pointer-events": "none", "stroke-width": "2px" }
6635
- }, null, 8, Wi),
6636
- j("clipPath", Ni, [
6635
+ }, null, 8, Ni),
6636
+ j("clipPath", Wi, [
6637
6637
  j("rect", {
6638
6638
  x: "36",
6639
6639
  y: "24",
@@ -6660,19 +6660,19 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6660
6660
  ], 8, Ri)) : E("", !0),
6661
6661
  j("div", {
6662
6662
  class: X(["spacing-edit margin-top", { "is-setting": t.styleJson["margin-top"] }]),
6663
- onClick: f[4] || (f[4] = (w) => v("margin-top"))
6663
+ onClick: f[4] || (f[4] = (w) => m("margin-top"))
6664
6664
  }, L(t.styleJson["margin-top"] || "-"), 3),
6665
6665
  j("div", {
6666
6666
  class: X(["spacing-edit margin-right", { "is-setting": t.styleJson["margin-right"] }]),
6667
- onClick: f[5] || (f[5] = (w) => v("margin-right"))
6667
+ onClick: f[5] || (f[5] = (w) => m("margin-right"))
6668
6668
  }, L(t.styleJson["margin-right"] || "-"), 3),
6669
6669
  j("div", {
6670
6670
  class: X(["spacing-edit margin-bottom", { "is-setting": t.styleJson["margin-bottom"] }]),
6671
- onClick: f[6] || (f[6] = (w) => v("margin-bottom"))
6671
+ onClick: f[6] || (f[6] = (w) => m("margin-bottom"))
6672
6672
  }, L(t.styleJson["margin-bottom"] || "-"), 3),
6673
6673
  j("div", {
6674
6674
  class: X(["spacing-edit margin-left", { "is-setting": t.styleJson["margin-left"] }]),
6675
- onClick: f[7] || (f[7] = (w) => v("margin-left"))
6675
+ onClick: f[7] || (f[7] = (w) => m("margin-left"))
6676
6676
  }, L(t.styleJson["margin-left"] || "-"), 3)
6677
6677
  ]),
6678
6678
  j("div", {
@@ -6701,7 +6701,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6701
6701
  "data-automation-id": "padding-top-button",
6702
6702
  "aria-label": "Padding top button",
6703
6703
  class: "tb-path-color",
6704
- onClick: f[8] || (f[8] = (w) => v("padding-top"))
6704
+ onClick: f[8] || (f[8] = (w) => m("padding-top"))
6705
6705
  }, null, 8, Hi)
6706
6706
  ])
6707
6707
  ]),
@@ -6719,7 +6719,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6719
6719
  "data-automation-id": "padding-right-button",
6720
6720
  "aria-label": "Padding right button",
6721
6721
  class: "lr-path-color",
6722
- onClick: f[9] || (f[9] = (w) => v("padding-right"))
6722
+ onClick: f[9] || (f[9] = (w) => m("padding-right"))
6723
6723
  }, null, 8, Gi)
6724
6724
  ])
6725
6725
  ]),
@@ -6737,7 +6737,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6737
6737
  "data-automation-id": "padding-bottom-button",
6738
6738
  "aria-label": "Padding bottom button",
6739
6739
  class: "tb-path-color",
6740
- onClick: f[10] || (f[10] = (w) => v("padding-bottom"))
6740
+ onClick: f[10] || (f[10] = (w) => m("padding-bottom"))
6741
6741
  }, null, 8, Ki)
6742
6742
  ])
6743
6743
  ]),
@@ -6755,7 +6755,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6755
6755
  "data-automation-id": "padding-left-button",
6756
6756
  "aria-label": "Padding left button",
6757
6757
  class: "lr-path-color",
6758
- onClick: f[11] || (f[11] = (w) => v("padding-left"))
6758
+ onClick: f[11] || (f[11] = (w) => m("padding-left"))
6759
6759
  }, null, 8, Xi)
6760
6760
  ])
6761
6761
  ]),
@@ -6810,19 +6810,19 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6810
6810
  ], 8, qi)) : E("", !0),
6811
6811
  j("div", {
6812
6812
  class: X(["spacing-edit padding-top", { "is-setting": t.styleJson["padding-top"] }]),
6813
- onClick: f[12] || (f[12] = (w) => v("padding-top"))
6813
+ onClick: f[12] || (f[12] = (w) => m("padding-top"))
6814
6814
  }, L(t.styleJson["padding-top"] || "-"), 3),
6815
6815
  j("div", {
6816
6816
  class: X(["spacing-edit padding-right", { "is-setting": t.styleJson["padding-right"] }]),
6817
- onClick: f[13] || (f[13] = (w) => v("padding-right"))
6817
+ onClick: f[13] || (f[13] = (w) => m("padding-right"))
6818
6818
  }, L(t.styleJson["padding-right"] || "-"), 3),
6819
6819
  j("div", {
6820
6820
  class: X(["spacing-edit padding-bottom", { "is-setting": t.styleJson["padding-bottom"] }]),
6821
- onClick: f[14] || (f[14] = (w) => v("padding-bottom"))
6821
+ onClick: f[14] || (f[14] = (w) => m("padding-bottom"))
6822
6822
  }, L(t.styleJson["padding-bottom"] || "-"), 3),
6823
6823
  j("div", {
6824
6824
  class: X(["spacing-edit padding-left", { "is-setting": t.styleJson["padding-left"] }]),
6825
- onClick: f[15] || (f[15] = (w) => v("padding-left"))
6825
+ onClick: f[15] || (f[15] = (w) => m("padding-left"))
6826
6826
  }, L(t.styleJson["padding-left"] || "-"), 3)
6827
6827
  ], 512),
6828
6828
  (c(), D("svg", lu, f[17] || (f[17] = [
@@ -6850,7 +6850,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6850
6850
  ]),
6851
6851
  u.value ? (c(), _(gl, {
6852
6852
  key: 0,
6853
- name: m.value,
6853
+ name: v.value,
6854
6854
  modelValue: d.value,
6855
6855
  "onUpdate:modelValue": f[16] || (f[16] = (w) => d.value = w),
6856
6856
  onClose: g,
@@ -6967,7 +6967,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6967
6967
  { label: "绝对", value: "absolute" },
6968
6968
  { label: "固定", value: "fixed" },
6969
6969
  { label: "粘性", value: "sticky" }
6970
- ], m = [
6970
+ ], v = [
6971
6971
  { label: "左上", svg: gs, value: "0% auto auto 0%" },
6972
6972
  { label: "右上", svg: fs, value: "0% 0% auto auto" },
6973
6973
  { label: "左下", svg: hs, value: "auto auto 0% 0%" },
@@ -6979,7 +6979,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
6979
6979
  { label: "填充", svg: Ss, value: "0% 0% 0% 0%" }
6980
6980
  ], d = V(() => (t.styleJson.inset || "").split(" ")), g = (b) => {
6981
6981
  s.value = b, o.value = t.styleJson[b], r.value = !0;
6982
- }, v = () => {
6982
+ }, m = () => {
6983
6983
  r.value = !1, s.value = void 0, o.value = void 0;
6984
6984
  };
6985
6985
  return (b, f) => (c(), _(n(H), {
@@ -7009,7 +7009,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
7009
7009
  name: "inset",
7010
7010
  label: " ",
7011
7011
  setters: { name: "TagSetter" },
7012
- options: m,
7012
+ options: v,
7013
7013
  variable: !1,
7014
7014
  value: t.styleJson.inset,
7015
7015
  onChange: t.setStyle
@@ -7173,7 +7173,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
7173
7173
  name: s.value,
7174
7174
  modelValue: o.value,
7175
7175
  "onUpdate:modelValue": f[8] || (f[8] = (w) => o.value = w),
7176
- onClose: v,
7176
+ onClose: m,
7177
7177
  onSubmit: t.setStyle
7178
7178
  }, null, 8, ["name", "modelValue", "onSubmit"])) : E("", !0)
7179
7179
  ])
@@ -7346,11 +7346,11 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
7346
7346
  setStyle: { type: Function }
7347
7347
  },
7348
7348
  setup(i) {
7349
- const t = i, e = (u, m) => {
7350
- m ? t.setStyle("background-image", `url(${m})`) : t.setStyle("background-image", void 0);
7349
+ const t = i, e = (u, v) => {
7350
+ v ? t.setStyle("background-image", `url(${v})`) : t.setStyle("background-image", void 0);
7351
7351
  }, l = (u) => {
7352
- const m = /^url\(([\w\W]+)\)$/;
7353
- return u?.match(m)?.[1];
7352
+ const v = /^url\(([\w\W]+)\)$/;
7353
+ return u?.match(v)?.[1];
7354
7354
  }, a = [
7355
7355
  { label: "重复", value: "repeat", svg: Ts },
7356
7356
  { label: "水平重复", value: "repeat-x", svg: Ps },
@@ -7370,7 +7370,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
7370
7370
  { label: "覆盖", value: "cover" },
7371
7371
  { label: "填充", value: "contain" }
7372
7372
  ];
7373
- return (u, m) => (c(), _(n(H), {
7373
+ return (u, v) => (c(), _(n(H), {
7374
7374
  title: "背景",
7375
7375
  class: "v-sub-panel",
7376
7376
  size: "small",
@@ -7459,7 +7459,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
7459
7459
  setup(i) {
7460
7460
  const t = i, e = () => {
7461
7461
  const o = Object.keys(t.styleJson || {});
7462
- return o.find((v) => v.startsWith("border-left")) ? "border-left" : o.find((v) => v.startsWith("border-top")) ? "border-top" : o.find((v) => v.startsWith("border-bottom")) ? "border-bottom" : o.find((v) => v.startsWith("border-right")) ? "border-right" : "border";
7462
+ return o.find((m) => m.startsWith("border-left")) ? "border-left" : o.find((m) => m.startsWith("border-top")) ? "border-top" : o.find((m) => m.startsWith("border-bottom")) ? "border-bottom" : o.find((m) => m.startsWith("border-right")) ? "border-right" : "border";
7463
7463
  }, l = C("border"), a = [
7464
7464
  { label: "全边框", svg: Os, value: "border" },
7465
7465
  { label: "左边框", svg: zs, value: "border-left" },
@@ -7468,8 +7468,8 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
7468
7468
  { label: "右边框", svg: Us, value: "border-right" }
7469
7469
  ], r = [
7470
7470
  { label: "无", value: "none", svg: ol },
7471
- { label: "实线", value: "solid", svg: Ws },
7472
- { label: "虚线", value: "dashed", svg: Ns },
7471
+ { label: "实线", value: "solid", svg: Ns },
7472
+ { label: "虚线", value: "dashed", svg: Ws },
7473
7473
  { label: "点线", value: "dotted", svg: Ms }
7474
7474
  ], s = (o, u) => {
7475
7475
  l.value = u;
@@ -7722,12 +7722,12 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
7722
7722
  path: { type: Function }
7723
7723
  },
7724
7724
  setup(i, { expose: t }) {
7725
- const e = i, l = C(), a = C(Symbol()), { current: r, engine: s } = ge(), { width: o, height: u } = ut(l), m = V(() => r.value && e.path ? e.path(r.value, s.project.value) : null), d = V(() => s.skeleton?.getWidget("Toolbar")?.widgetRef.mode ?? "pc");
7725
+ const e = i, l = C(), a = C(Symbol()), { current: r, engine: s } = ge(), { width: o, height: u } = ut(l), v = V(() => r.value && e.path ? e.path(r.value, s.project.value) : null), d = V(() => s.skeleton?.getWidget("Toolbar")?.widgetRef.mode ?? "pc");
7726
7726
  return t({
7727
7727
  refresh: () => {
7728
7728
  a.value = Symbol();
7729
7729
  }
7730
- }), (v, b) => (c(), D("div", {
7730
+ }), (m, b) => (c(), D("div", {
7731
7731
  ref_key: "container",
7732
7732
  ref: l,
7733
7733
  class: "v-previewer",
@@ -7739,11 +7739,11 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
7739
7739
  height: n(u)
7740
7740
  }, {
7741
7741
  default: h(() => [
7742
- m.value ? (c(), D("iframe", {
7742
+ v.value ? (c(), D("iframe", {
7743
7743
  key: 0,
7744
7744
  ref: "iframe",
7745
7745
  frameborder: "0",
7746
- src: m.value
7746
+ src: v.value
7747
7747
  }, null, 8, Vu)) : E("", !0)
7748
7748
  ]),
7749
7749
  _: 1
@@ -7767,8 +7767,8 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
7767
7767
  }, {
7768
7768
  default: h(() => [
7769
7769
  (c(!0), D(z, null, U(l.value, (u) => (c(), _(n(Tl), {
7770
- onClick: (m) => a(u),
7771
- onMouseover: (m) => r(u)
7770
+ onClick: (v) => a(u),
7771
+ onMouseover: (v) => r(u)
7772
7772
  }, {
7773
7773
  default: h(() => [
7774
7774
  M(L(u.name), 1)
@@ -7791,10 +7791,10 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
7791
7791
  "手动修改DSL有风险,可能导致页面无法加载,请确认您的操作无误。"
7792
7792
  ))
7793
7793
  try {
7794
- const m = JSON.parse(o);
7795
- t.value?.update(m), pe("保存成功");
7796
- } catch (m) {
7797
- se(m?.message);
7794
+ const v = JSON.parse(o);
7795
+ t.value?.update(v), pe("保存成功");
7796
+ } catch (v) {
7797
+ se(v?.message);
7798
7798
  }
7799
7799
  };
7800
7800
  return (s, o) => (c(), _(n(H), {
@@ -7882,9 +7882,9 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
7882
7882
  Ht(() => {
7883
7883
  r || (r = Pl.service({ target: a.value?.$el }));
7884
7884
  }), Dn(() => {
7885
- m(), r = null;
7885
+ v(), r = null;
7886
7886
  });
7887
- const m = () => {
7887
+ const v = () => {
7888
7888
  r?.close();
7889
7889
  };
7890
7890
  return t({ refresh: o, reload: u }), (d, g) => (c(), _(n(H), {
@@ -7901,13 +7901,13 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
7901
7901
  key: s.value,
7902
7902
  ref: "frame",
7903
7903
  src: l.value,
7904
- onLoad: m
7904
+ onLoad: v
7905
7905
  }, null, 40, Iu))
7906
7906
  ]),
7907
7907
  _: 1
7908
7908
  }, 512));
7909
7909
  }
7910
- }), fl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAEACAYAAADCyK/GAAAAAXNSR0IArs4c6QAAIABJREFUeF7tfWmgXFWZ7Vq7bgKCYCvdiGmgAbEVxREEobsDoZFBBYJQdSohARQIIi0CIhigNWmRgKiAAyBDEAO5deo6MDWgoAR4NpOtgiL6WhRlVhsHJknu2eu9UzdIxnur6oy7zj5/s/f61re+fVfqDPvbhL+8Aq4qUNdkGPwbpf1BvB3AwwAeEngdgOsR8ieupuZ556MA8wnjo3gFUlbgvdqUk3ERpL3GQf4NyeusxXV47rHv4Jopz6bMwsM5roA3QMcLWEn6db2UBrcCemuP+X+78+vQ4kaM8Kc9zvXDB1ABb4ADWNRBT8k0o9Mlzk2Y5y8oXWeN+TYmYQkW8ZmEeH66gwp4A3SwaJWm3NQWlH6VsgZR/MxQ0LcAs8Q/O0xZ3RLDeQMscXE8tTUoEIy+jzALM9bmPoI3WEW34C+1JbiaT2Ucz8MXpIA3wIKE92H7U8AEukzQwf3N7mvWc2O/DrkEBrdgmPf2heInlVIBb4ClLIsntUYF6qrRdG5/NytQoR9SWmKNWYIIt2CEfyqQiw+dUAFvgAkF9NNzVKCxbHeydmOOEScKFZvfzZ1fh3bZLRiZ/KOJJvh/L5cC3gDLVQ/PZhwFTKDTBJ1SYpG+LvJctHhbiTl6aiso4A3QLwdnFGBgvwdg57ITFjQXYe2MsvP0/ABvgH4VuKFAXa+l0c/cIAsIPAQhv+oK36ry9AZY1cq7lnegIw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yh7KYihE+3ds8P9orUKwC3gCL1b+c0WdrfTyPvQzt3gL3BjBl7UR5k4j3o8WHypmMZ+UVGGf1enG8AhMqMENvQhT/OuReADYDsCnImyVcDYtLMMKlE2L4AV6BEirw/wBT9ySzG22TjAAAAABJRU5ErkJggg==", Tu = { class: "v-about-widget" }, Pu = { class: "v-about-widget__item" }, Ru = { class: "v-about-widget__logo" }, Bu = ["src"], Ou = { class: "v-about-widget__version" }, zu = { class: "v-about-widget__item" }, Fu = { class: "v-about-widget__logo" }, Lu = { class: "v-about-widget__name" }, Uu = { class: "v-about-widget__version" }, Wu = /* @__PURE__ */ I({
7910
+ }), fl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAEACAYAAADCyK/GAAAAAXNSR0IArs4c6QAAIABJREFUeF7tfWmgXFWZ7Vq7bgKCYCvdiGmgAbEVxREEobsDoZFBBYJQdSohARQIIi0CIhigNWmRgKiAAyBDEAO5deo6MDWgoAR4NpOtgiL6WhRlVhsHJknu2eu9UzdIxnur6oy7zj5/s/f61re+fVfqDPvbhL+8Aq4qUNdkGPwbpf1BvB3AwwAeEngdgOsR8ieupuZ556MA8wnjo3gFUlbgvdqUk3ERpL3GQf4NyeusxXV47rHv4Jopz6bMwsM5roA3QMcLWEn6db2UBrcCemuP+X+78+vQ4kaM8Kc9zvXDB1ABb4ADWNRBT8k0o9Mlzk2Y5y8oXWeN+TYmYQkW8ZmEeH66gwp4A3SwaJWm3NQWlH6VsgZR/MxQ0LcAs8Q/O0xZ3RLDeQMscXE8tTUoEIy+jzALM9bmPoI3WEW34C+1JbiaT2Ucz8MXpIA3wIKE92H7U8AEukzQwf3N7mvWc2O/DrkEBrdgmPf2heInlVIBb4ClLIsntUYF6qrRdG5/NytQoR9SWmKNWYIIt2CEfyqQiw+dUAFvgAkF9NNzVKCxbHeydmOOEScKFZvfzZ1fh3bZLRiZ/KOJJvh/L5cC3gDLVQ/PZhwFTKDTBJ1SYpG+LvJctHhbiTl6aiso4A3Q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rkKUC3gCzVLfM2PtqA6wb7W3IvQTGZrhFErqkFthW7eQkGH6uVyBvBbwB5q14WeONvVnem4wPMNfU3mjyh7KYihE+3ds8P9orUKwC3gCL1b+c0WdrfTyPvQzt3gL3BjBl7UR5k4j3o8WHypmMZ+UVGGf1enG8AhMqMENvQhT/OuReADYDsCnImyVcDYtLMMKlE2L4AV6BEirw/wBT9ySzG22TjAAAAABJRU5ErkJggg==", Tu = { class: "v-about-widget" }, Pu = { class: "v-about-widget__item" }, Ru = { class: "v-about-widget__logo" }, Bu = ["src"], Ou = { class: "v-about-widget__version" }, zu = { class: "v-about-widget__item" }, Fu = { class: "v-about-widget__logo" }, Lu = { class: "v-about-widget__name" }, Uu = { class: "v-about-widget__version" }, Nu = /* @__PURE__ */ I({
7911
7911
  name: "AboutWidget",
7912
7912
  __name: "index",
7913
7913
  props: {
@@ -7917,12 +7917,12 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
7917
7917
  },
7918
7918
  setup(i) {
7919
7919
  const t = i, e = t.engine, { access: l } = e.adapter || {}, { latest: a } = cl(), r = V(() => {
7920
- const m = l?.getData()?.avatar || "", d = e.adapter?.remote || "";
7921
- return m ? m.startsWith("https:") ? m : `${d}/api/oss/file/${m}` : null;
7920
+ const v = l?.getData()?.avatar || "", d = e.adapter?.remote || "";
7921
+ return v ? v.startsWith("https:") ? v : `${d}/api/oss/file/${v}` : null;
7922
7922
  }), s = V(() => l?.getData()?.name || "未登录"), o = V(() => l.isLogined()), u = () => {
7923
7923
  l?.clear(), location.reload();
7924
7924
  };
7925
- return (m, d) => (c(), D("div", Tu, [
7925
+ return (v, d) => (c(), D("div", Tu, [
7926
7926
  j("div", Pu, [
7927
7927
  j("div", Ru, [
7928
7928
  p(n(Rl), {
@@ -7977,7 +7977,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
7977
7977
  ])
7978
7978
  ]));
7979
7979
  }
7980
- }), Nu = /* @__PURE__ */ I({
7980
+ }), Wu = /* @__PURE__ */ I({
7981
7981
  name: "ProjectConfigWidget",
7982
7982
  __name: "index",
7983
7983
  setup(i) {
@@ -8031,16 +8031,16 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8031
8031
  setup(i, { emit: t }) {
8032
8032
  const e = i, l = C(), a = C(
8033
8033
  typeof e.modelValue == "object" ? JSON.stringify(e.modelValue, null, 2) : void 0
8034
- ), r = V(() => !!a.value), s = C(!1), o = t, u = (v) => {
8034
+ ), r = V(() => !!a.value), s = C(!1), o = t, u = (m) => {
8035
8035
  let b = !0;
8036
8036
  try {
8037
- const f = JSON.parse(v);
8037
+ const f = JSON.parse(m);
8038
8038
  if (e.type === "Array" && !Array.isArray(f))
8039
- throw new Error(`"${v}" is not a Array`);
8039
+ throw new Error(`"${m}" is not a Array`);
8040
8040
  if (e.type === "Object" && !Ql(f))
8041
- throw new Error(`"${v}" is not a PlainObject`);
8041
+ throw new Error(`"${m}" is not a PlainObject`);
8042
8042
  if (typeof f != "object")
8043
- throw new Error(`"${v}" is not a ${e.type}`);
8043
+ throw new Error(`"${m}" is not a ${e.type}`);
8044
8044
  } catch (f) {
8045
8045
  b = !1, Kt.error({
8046
8046
  title: "代码错误",
@@ -8048,10 +8048,10 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8048
8048
  });
8049
8049
  }
8050
8050
  return b;
8051
- }, m = () => {
8052
- const v = l.value?.getEditor();
8053
- if (v) {
8054
- const b = v.getValue();
8051
+ }, v = () => {
8052
+ const m = l.value?.getEditor();
8053
+ if (m) {
8054
+ const b = m.getValue();
8055
8055
  u(b) && (a.value = b, o("change", JSON.parse(b)), s.value = !1);
8056
8056
  }
8057
8057
  }, d = () => {
@@ -8059,7 +8059,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8059
8059
  }, g = () => {
8060
8060
  s.value = !0;
8061
8061
  };
8062
- return (v, b) => (c(), D("div", {
8062
+ return (m, b) => (c(), D("div", {
8063
8063
  class: X(["v-json-setter", { "is-active": r.value }])
8064
8064
  }, [
8065
8065
  p(n(ve), ce({
@@ -8067,7 +8067,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8067
8067
  onFocus: g,
8068
8068
  "model-value": e.type,
8069
8069
  "suffix-icon": n(et)
8070
- }, v.$attrs), null, 16, ["model-value", "suffix-icon"]),
8070
+ }, m.$attrs), null, 16, ["model-value", "suffix-icon"]),
8071
8071
  s.value ? (c(), _(n(Ie), {
8072
8072
  key: 0,
8073
8073
  modelValue: s.value,
@@ -8078,7 +8078,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8078
8078
  cancel: "",
8079
8079
  submit: "",
8080
8080
  clear: "",
8081
- onSubmit: m,
8081
+ onSubmit: v,
8082
8082
  onClear: d
8083
8083
  }, {
8084
8084
  extra: h(() => [
@@ -8121,18 +8121,18 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8121
8121
  const e = i, l = C(), a = C(e.modelValue.value), r = C(!1), s = V(() => !!a.value), o = t, u = () => {
8122
8122
  const g = l.value?.getEditor();
8123
8123
  if (g) {
8124
- const v = g.getValue(), b = {
8124
+ const m = g.getValue(), b = {
8125
8125
  type: "JSFunction",
8126
- value: v
8126
+ value: m
8127
8127
  };
8128
- me(b, {}) && (a.value = v, o("change", b), r.value = !1);
8128
+ me(b, {}) && (a.value = m, o("change", b), r.value = !1);
8129
8129
  }
8130
- }, m = () => {
8130
+ }, v = () => {
8131
8131
  a.value = "", o("change", void 0), r.value = !1;
8132
8132
  }, d = () => {
8133
8133
  r.value = !0;
8134
8134
  };
8135
- return (g, v) => (c(), D("div", {
8135
+ return (g, m) => (c(), D("div", {
8136
8136
  class: X(["v-function-setter", { "is-active": s.value }])
8137
8137
  }, [
8138
8138
  p(n(ve), ce({
@@ -8144,7 +8144,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8144
8144
  r.value ? (c(), _(n(Ie), {
8145
8145
  key: 0,
8146
8146
  modelValue: r.value,
8147
- "onUpdate:modelValue": v[0] || (v[0] = (b) => r.value = b),
8147
+ "onUpdate:modelValue": m[0] || (m[0] = (b) => r.value = b),
8148
8148
  title: "JSFunction",
8149
8149
  width: "1000px",
8150
8150
  height: "600px",
@@ -8152,15 +8152,15 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8152
8152
  submit: "",
8153
8153
  clear: "",
8154
8154
  onSubmit: u,
8155
- onClear: m
8155
+ onClear: v
8156
8156
  }, {
8157
8157
  extra: h(() => [
8158
8158
  p(n(Z), {
8159
8159
  type: "warning",
8160
- onClick: m,
8160
+ onClick: v,
8161
8161
  size: "default"
8162
8162
  }, {
8163
- default: h(() => v[1] || (v[1] = [
8163
+ default: h(() => m[1] || (m[1] = [
8164
8164
  M(" 清除 ")
8165
8165
  ])),
8166
8166
  _: 1
@@ -8191,15 +8191,15 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8191
8191
  const e = i, l = C(), a = C(e.modelValue), r = V(() => !!a.value), s = C(!1), o = t, u = () => {
8192
8192
  const g = l.value?.getEditor();
8193
8193
  if (g) {
8194
- const v = g.getValue();
8195
- a.value = v, o("change", v), s.value = !1;
8194
+ const m = g.getValue();
8195
+ a.value = m, o("change", m), s.value = !1;
8196
8196
  }
8197
- }, m = () => {
8197
+ }, v = () => {
8198
8198
  a.value = "", o("change", void 0), s.value = !1;
8199
8199
  }, d = () => {
8200
8200
  s.value = !0;
8201
8201
  };
8202
- return (g, v) => (c(), D("div", {
8202
+ return (g, m) => (c(), D("div", {
8203
8203
  class: X(["v-json-setter v-css-setter", { "is-active": r.value }])
8204
8204
  }, [
8205
8205
  p(n(ve), ce({
@@ -8211,7 +8211,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8211
8211
  s.value ? (c(), _(n(Ie), {
8212
8212
  key: 0,
8213
8213
  modelValue: s.value,
8214
- "onUpdate:modelValue": v[0] || (v[0] = (b) => s.value = b),
8214
+ "onUpdate:modelValue": m[0] || (m[0] = (b) => s.value = b),
8215
8215
  title: e.type,
8216
8216
  width: "1000px",
8217
8217
  height: "600px",
@@ -8219,15 +8219,15 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8219
8219
  submit: "",
8220
8220
  clear: "",
8221
8221
  onSubmit: u,
8222
- onClear: m
8222
+ onClear: v
8223
8223
  }, {
8224
8224
  extra: h(() => [
8225
8225
  p(n(Z), {
8226
8226
  type: "warning",
8227
- onClick: m,
8227
+ onClick: v,
8228
8228
  size: "default"
8229
8229
  }, {
8230
- default: h(() => v[1] || (v[1] = [
8230
+ default: h(() => m[1] || (m[1] = [
8231
8231
  M(" 清除 ")
8232
8232
  ])),
8233
8233
  _: 1
@@ -8388,21 +8388,21 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8388
8388
  installTemplate: s,
8389
8389
  access: o,
8390
8390
  refreshTemplates: u,
8391
- loading: m,
8391
+ loading: v,
8392
8392
  removeTemplate: d
8393
- } = Wo(), g = C(""), v = C("0"), b = V(() => g.value ? l.value.filter((T) => T.name.includes(g.value) || T.label?.includes(g.value)) : l.value), f = V(() => {
8393
+ } = No(), g = C(""), m = C("0"), b = V(() => g.value ? l.value.filter((T) => T.name.includes(g.value) || T.label?.includes(g.value)) : l.value), f = V(() => {
8394
8394
  const T = o?.getData()?.id, $ = st(b.value, (R) => R.userId === T ? "我的" : "共享"), B = [
8395
8395
  { label: "我的", model: {} },
8396
8396
  { label: "共享", model: {} }
8397
8397
  ];
8398
8398
  return B.forEach((R) => {
8399
- R.model = st($[R.label], (N) => N.category);
8399
+ R.model = st($[R.label], (W) => W.category);
8400
8400
  }), B;
8401
8401
  }), w = V(() => {
8402
- const T = Number(v.value);
8402
+ const T = Number(m.value);
8403
8403
  return Object.keys(f.value[T].model) || [];
8404
8404
  }), y = V(() => {
8405
- const T = Number(v.value);
8405
+ const T = Number(m.value);
8406
8406
  return f.value[T].model;
8407
8407
  }), S = V(() => `(共 ${l.value.length} 个)`), k = async (T) => {
8408
8408
  await r() ? await s(T.id) : await Re.confirm(
@@ -8441,8 +8441,8 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8441
8441
  ]),
8442
8442
  p(n(jt), {
8443
8443
  items: f.value,
8444
- modelValue: v.value,
8445
- "onUpdate:modelValue": $[1] || ($[1] = (B) => v.value = B),
8444
+ modelValue: m.value,
8445
+ "onUpdate:modelValue": $[1] || ($[1] = (B) => m.value = B),
8446
8446
  class: "v-templates-widgets__tab"
8447
8447
  }, {
8448
8448
  default: h(() => [
@@ -8461,18 +8461,18 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8461
8461
  gutter: 5
8462
8462
  }, {
8463
8463
  default: h(() => [
8464
- (c(!0), D(z, null, U(B, (N) => (c(), _(n(bt), {
8465
- key: N.id,
8464
+ (c(!0), D(z, null, U(B, (W) => (c(), _(n(bt), {
8465
+ key: W.id,
8466
8466
  span: n(e)
8467
8467
  }, {
8468
8468
  default: h(() => [
8469
8469
  p(n(St), {
8470
8470
  class: "v-templates-widgets__item",
8471
- name: N.name,
8472
- title: N.label
8471
+ name: W.name,
8472
+ title: W.label
8473
8473
  }, {
8474
8474
  default: h(() => [
8475
- N.vip ? (c(), _(n(Fn), {
8475
+ W.vip ? (c(), _(n(Fn), {
8476
8476
  key: 0,
8477
8477
  class: "is-vip",
8478
8478
  type: "danger",
@@ -8485,22 +8485,22 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8485
8485
  ])),
8486
8486
  _: 1
8487
8487
  })) : E("", !0),
8488
- x(N) ? (c(), _(n(he), {
8488
+ x(W) ? (c(), _(n(he), {
8489
8489
  key: 1,
8490
8490
  class: "is-delete",
8491
8491
  icon: n(Yn),
8492
8492
  mode: "icon",
8493
8493
  size: "small",
8494
8494
  type: "danger",
8495
- onClick: (Y) => A(N)
8495
+ onClick: (Y) => A(W)
8496
8496
  }, null, 8, ["icon", "onClick"])) : E("", !0),
8497
8497
  p(n(Pn), {
8498
- src: N.cover,
8498
+ src: W.cover,
8499
8499
  fit: "contain"
8500
8500
  }, null, 8, ["src"]),
8501
8501
  j("div", Gu, [
8502
- j("span", Ku, L(N.name), 1),
8503
- j("span", Xu, L(N.label), 1)
8502
+ j("span", Ku, L(W.name), 1),
8503
+ j("span", Xu, L(W.label), 1)
8504
8504
  ]),
8505
8505
  j("div", Qu, [
8506
8506
  p(n(Z), {
@@ -8508,7 +8508,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8508
8508
  icon: n(Mt),
8509
8509
  type: "primary",
8510
8510
  round: "",
8511
- onClick: (Y) => k(N)
8511
+ onClick: (Y) => k(W)
8512
8512
  }, {
8513
8513
  default: h(() => $[3] || ($[3] = [
8514
8514
  M(" 使用 ")
@@ -8540,7 +8540,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8540
8540
  ]),
8541
8541
  _: 1
8542
8542
  }, 8, ["subtitle", "onRefresh"])), [
8543
- [n(Bl), n(m)]
8543
+ [n(Bl), n(v)]
8544
8544
  ]);
8545
8545
  }
8546
8546
  }), Zu = /* @__PURE__ */ tt(Yu, [["__scopeId", "data-v-448e8cc7"]]), ec = /* @__PURE__ */ I({
@@ -8571,7 +8571,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8571
8571
  Toolbar: Zo,
8572
8572
  Actions: rr,
8573
8573
  Pages: Lr,
8574
- Blocks: Nr,
8574
+ Blocks: Wr,
8575
8575
  Components: Hr,
8576
8576
  Outline: Gr,
8577
8577
  History: Kr,
@@ -8591,8 +8591,8 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
8591
8591
  Schema: Eu,
8592
8592
  Raw: Du,
8593
8593
  Docs: $u,
8594
- About: Wu,
8595
- ProjectConfig: Nu,
8594
+ About: Nu,
8595
+ ProjectConfig: Wu,
8596
8596
  UniConfig: Mu,
8597
8597
  Market: qu,
8598
8598
  Templates: Zu,
@@ -9593,16 +9593,16 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9593
9593
  }
9594
9594
  );
9595
9595
  const o = (u) => {
9596
- const m = {
9596
+ const v = {
9597
9597
  type: "JSExpression",
9598
9598
  value: u
9599
9599
  };
9600
- r(m) && a("change", m);
9600
+ r(v) && a("change", v);
9601
9601
  };
9602
- return (u, m) => (c(), _(n(ve), {
9602
+ return (u, v) => (c(), _(n(ve), {
9603
9603
  class: "v-expression-setter",
9604
9604
  modelValue: s.value,
9605
- "onUpdate:modelValue": m[0] || (m[0] = (d) => s.value = d),
9605
+ "onUpdate:modelValue": v[0] || (v[0] = (d) => s.value = d),
9606
9606
  onChange: o
9607
9607
  }, {
9608
9608
  prefix: h(() => [
@@ -9740,12 +9740,12 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9740
9740
  u && (a.value = u.endsWith("px"), s.value = u);
9741
9741
  },
9742
9742
  { immediate: !0 }
9743
- ), (u, m) => (c(), _(n(Nn), ce({
9743
+ ), (u, v) => (c(), _(n(Wn), ce({
9744
9744
  clearable: "",
9745
9745
  unit: r.value,
9746
9746
  "with-unit": !!r.value,
9747
9747
  modelValue: s.value,
9748
- "onUpdate:modelValue": m[0] || (m[0] = (d) => s.value = d),
9748
+ "onUpdate:modelValue": v[0] || (v[0] = (d) => s.value = d),
9749
9749
  onChange: o
9750
9750
  }, u.$attrs), null, 16, ["unit", "with-unit", "modelValue"]));
9751
9751
  }
@@ -9758,8 +9758,8 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9758
9758
  },
9759
9759
  emits: ["change", "update:modelValue"],
9760
9760
  setup(i, { emit: t }) {
9761
- const e = i, l = t, a = C([]), r = V(() => a.value.length < e.limit), s = (u) => u.type.includes("image") ? (Yl(u).then((m) => {
9762
- a.value = [{ name: u.name, url: m }];
9761
+ const e = i, l = t, a = C([]), r = V(() => a.value.length < e.limit), s = (u) => u.type.includes("image") ? (Yl(u).then((v) => {
9762
+ a.value = [{ name: u.name, url: v }];
9763
9763
  }), !1) : (Pe.error("只能上传图片"), !1), o = () => {
9764
9764
  a.value = [];
9765
9765
  };
@@ -9774,13 +9774,13 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9774
9774
  ), J(a, () => {
9775
9775
  const u = a.value[0]?.url;
9776
9776
  l("change", u), l("update:modelValue", u);
9777
- }), (u, m) => (c(), _(n(Ul), ce({
9777
+ }), (u, v) => (c(), _(n(Ul), ce({
9778
9778
  class: ["v-image-setter", { "v-image-setter--addable": r.value }],
9779
9779
  "list-type": "picture-card",
9780
9780
  limit: 1,
9781
9781
  action: "#",
9782
9782
  "file-list": a.value,
9783
- "onUpdate:fileList": m[0] || (m[0] = (d) => a.value = d),
9783
+ "onUpdate:fileList": v[0] || (v[0] = (d) => a.value = d),
9784
9784
  "before-upload": s,
9785
9785
  "auto-upload": !0,
9786
9786
  "on-remove": o
@@ -9817,7 +9817,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9817
9817
  (c(!0), D(z, null, U(e.sections, (u) => (c(), _(yl, {
9818
9818
  name: u - 1,
9819
9819
  modelValue: a.value[u - 1],
9820
- "onUpdate:modelValue": (m) => a.value[u - 1] = m,
9820
+ "onUpdate:modelValue": (v) => a.value[u - 1] = v,
9821
9821
  onChange: r,
9822
9822
  class: "v-section-setter__item"
9823
9823
  }, null, 8, ["name", "modelValue", "onUpdate:modelValue"]))), 256))
@@ -9845,7 +9845,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
9845
9845
  a.value = void 0, l("change", void 0), l("update:modelValue", void 0);
9846
9846
  };
9847
9847
  return (s, o) => (c(), D("div", Sc, [
9848
- p(n(Wl), ce({ size: "small" }, s.$attrs, {
9848
+ p(n(Nl), ce({ size: "small" }, s.$attrs, {
9849
9849
  modelValue: a.value,
9850
9850
  "onUpdate:modelValue": o[0] || (o[0] = (u) => a.value = u)
9851
9851
  }), null, 16, ["modelValue"]),
@@ -10130,13 +10130,13 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
10130
10130
  ), u = V(() => {
10131
10131
  const b = Sn;
10132
10132
  return s.value ? b.filter((f) => f.toLowerCase().includes(s.value)) : b;
10133
- }), m = (b) => {
10133
+ }), v = (b) => {
10134
10134
  r.value = b;
10135
10135
  }, d = () => {
10136
10136
  e("change", r.value), e("update:modelValue", r.value), a.value = !1;
10137
10137
  }, g = () => {
10138
10138
  r.value = "", e("change", ""), e("update:modelValue", ""), a.value = !1;
10139
- }, v = () => {
10139
+ }, m = () => {
10140
10140
  a.value = !0;
10141
10141
  };
10142
10142
  return (b, f) => (c(), D("div", Cc, [
@@ -10146,7 +10146,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
10146
10146
  placeholder: "请选择图标",
10147
10147
  "model-value": l.modelValue,
10148
10148
  "suffix-icon": n(tn),
10149
- onFocus: v
10149
+ onFocus: m
10150
10150
  }, {
10151
10151
  prepend: h(() => [
10152
10152
  j("i", {
@@ -10194,7 +10194,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
10194
10194
  j("div", jc, [
10195
10195
  j("div", Ac, [
10196
10196
  (c(!0), D(z, null, U(u.value, (w) => (c(), D("i", {
10197
- onClick: (y) => m(w),
10197
+ onClick: (y) => v(w),
10198
10198
  class: X([
10199
10199
  r.value === w ? "is-active" : "",
10200
10200
  `van-icon-${w}`,
@@ -10668,7 +10668,7 @@ class Lc {
10668
10668
  this.bind(this.onSelected, "onSelected"),
10669
10669
  !0
10670
10670
  ), ie.on(
10671
- Wt,
10671
+ Nt,
10672
10672
  this.bind(this.onActiveChange, "onActiveChange")
10673
10673
  ), ie.on(ot, this.bind(this.onViewChange, "onViewChange")), J(
10674
10674
  this.devtools.isOpen,
@@ -10697,7 +10697,7 @@ class Lc {
10697
10697
  "dragstart",
10698
10698
  this.bind(this.onDragStart, "onDragStart")
10699
10699
  ), e.removeEventListener("dragend", this.bind(this.onDragEnd, "onDragEnd")), e.removeEventListener("drop", this.bind(this.onDrop, "onDrop")), e.removeEventListener("click", this.bind(this.onSelected, "onSelected")), ie.off(
10700
- Wt,
10700
+ Nt,
10701
10701
  this.bind(this.onActiveChange, "onActiveChange")
10702
10702
  ), ie.off(
10703
10703
  ot,
@@ -10722,18 +10722,18 @@ class Lc {
10722
10722
  if (!t) return;
10723
10723
  const { engine: e, dropping: l } = this, a = l.value ? this.getVueInstance(l.value, t.id) : null, r = a?.$vtjDynamicSlots ? a.$vtjDynamicSlots() : [], s = e.assets, o = s.componentMap, u = await s.getBlockMaterial(t.from) || o.get(t.name);
10724
10724
  if (!u?.slots && r.length === 0) return;
10725
- const d = (u?.slots || ["default"]).concat(r).map((v) => typeof v == "string" ? {
10726
- name: v,
10725
+ const d = (u?.slots || ["default"]).concat(r).map((m) => typeof m == "string" ? {
10726
+ name: m,
10727
10727
  params: []
10728
10728
  } : {
10729
- name: v.name,
10730
- params: v.params || []
10729
+ name: m.name,
10730
+ params: m.params || []
10731
10731
  });
10732
10732
  if (d.length === 0)
10733
10733
  return;
10734
10734
  if (d.length === 1) {
10735
- const { name: v, params: b = [] } = d[0];
10736
- return v === "default" && !b.length ? void 0 : d[0];
10735
+ const { name: m, params: b = [] } = d[0];
10736
+ return m === "default" && !b.length ? void 0 : d[0];
10737
10737
  }
10738
10738
  const g = await Fc(t.name, d).catch(() => null);
10739
10739
  if (!(g && g.name === "default" && (!g.params || g.params?.length === 0)))
@@ -10749,8 +10749,8 @@ class Lc {
10749
10749
  t.preventDefault();
10750
10750
  const { engine: e, dragging: l, dropping: a, draggingNode: r } = this, s = e.current.value, o = this.getHelper(t);
10751
10751
  if (!s || !l || !a.value || !o) return;
10752
- const u = o.model, m = a.value.type;
10753
- if (!await this.allowDrop(u, m)) return;
10752
+ const u = o.model, v = a.value.type;
10753
+ if (!await this.allowDrop(u, v)) return;
10754
10754
  let d;
10755
10755
  if (r)
10756
10756
  d = r;
@@ -10759,14 +10759,14 @@ class Lc {
10759
10759
  d = new Pt(g);
10760
10760
  }
10761
10761
  if (oe(u))
10762
- r ? (delete d.slot, s.move(d, void 0, "inner")) : s.addNode(d, void 0, m);
10762
+ r ? (delete d.slot, s.move(d, void 0, "inner")) : s.addNode(d, void 0, v);
10763
10763
  else {
10764
- const g = await this.getDropSlot(m === "inner" ? u : u.parent);
10764
+ const g = await this.getDropSlot(v === "inner" ? u : u.parent);
10765
10765
  if (g === null) {
10766
10766
  this.dropping.value = null;
10767
10767
  return;
10768
10768
  }
10769
- d.slot = g, r ? s.move(d, u, m) : s.addNode(d, u, m);
10769
+ d.slot = g, r ? s.move(d, u, v) : s.addNode(d, u, v);
10770
10770
  }
10771
10771
  this.dropping.value = null, e.simulator.refresh(), e.assets.clearCaches();
10772
10772
  }
@@ -10882,8 +10882,8 @@ class Lc {
10882
10882
  (r ? en(r) : []).forEach((o) => {
10883
10883
  const u = o?.$el || o;
10884
10884
  if (u && u.getBoundingClientRect) {
10885
- const m = u.getBoundingClientRect();
10886
- e.push(m);
10885
+ const v = u.getBoundingClientRect();
10886
+ e.push(v);
10887
10887
  }
10888
10888
  });
10889
10889
  }
@@ -10946,9 +10946,9 @@ class Lc {
10946
10946
  if (oe(t)) return !0;
10947
10947
  if (r && t.id === r.id || r && r.isChild(t))
10948
10948
  return !1;
10949
- const o = a.assets.componentMap, u = e !== "inner" && t.parent || t, m = await a.assets.getBlockMaterial(u.from) || o.get(u.name);
10950
- if (!m) return !1;
10951
- const { parentIncludes: d = !0, name: g } = l, { childIncludes: v = !0 } = m, b = d === !0 || Array.isArray(d) && d.includes(u.name), f = v === !0 || Array.isArray(v) && v.includes(g);
10949
+ const o = a.assets.componentMap, u = e !== "inner" && t.parent || t, v = await a.assets.getBlockMaterial(u.from) || o.get(u.name);
10950
+ if (!v) return !1;
10951
+ const { parentIncludes: d = !0, name: g } = l, { childIncludes: m = !0 } = v, b = d === !0 || Array.isArray(d) && d.includes(u.name), f = m === !0 || Array.isArray(m) && m.includes(g);
10952
10952
  return b && f;
10953
10953
  }
10954
10954
  dispose() {
@@ -10978,29 +10978,29 @@ class Uc {
10978
10978
  }
10979
10979
  t.use(this.provider);
10980
10980
  const o = Object.entries(l);
10981
- Object.assign(t.config.globalProperties, a), o.forEach(([u, m]) => {
10982
- if (!m) {
10981
+ Object.assign(t.config.globalProperties, a), o.forEach(([u, v]) => {
10982
+ if (!v) {
10983
10983
  console.warn(`plugin: ${u} is undefined`);
10984
10984
  return;
10985
10985
  }
10986
- if (typeof m == "function" || typeof m.install == "function") {
10986
+ if (typeof v == "function" || typeof v.install == "function") {
10987
10987
  let d = {};
10988
10988
  const g = s[u];
10989
- g && (d.locale = g), t?.use(m, d);
10989
+ g && (d.locale = g), t?.use(v, d);
10990
10990
  }
10991
10991
  });
10992
10992
  }
10993
10993
  createUniApp(t, e, l) {
10994
- const { window: a, Vue: r } = this.env, { uniConfig: s = {}, homepage: o } = this.project || {}, { manifestJson: u, pagesJson: m, css: d } = s, g = vo(
10994
+ const { window: a, Vue: r } = this.env, { uniConfig: s = {}, homepage: o } = this.project || {}, { manifestJson: u, pagesJson: v, css: d } = s, g = vo(
10995
10995
  s,
10996
10996
  (f) => Hn(f, a, !1, !0)
10997
- ), v = e.type === "block" ? "custom" : void 0, b = go({
10997
+ ), m = e.type === "block" ? "custom" : void 0, b = go({
10998
10998
  Vue: r,
10999
10999
  UniH5: a.UniH5,
11000
11000
  window: a,
11001
11001
  App: g,
11002
11002
  manifestJson: u,
11003
- pagesJson: m,
11003
+ pagesJson: v,
11004
11004
  css: d,
11005
11005
  routes: [
11006
11006
  {
@@ -11008,7 +11008,7 @@ class Uc {
11008
11008
  path: "/",
11009
11009
  component: l,
11010
11010
  style: {
11011
- navigationStyle: v,
11011
+ navigationStyle: m,
11012
11012
  navigationBarTitleText: e.title,
11013
11013
  ...e.style
11014
11014
  },
@@ -11022,11 +11022,11 @@ class Uc {
11022
11022
  createApp(t, e, l) {
11023
11023
  const { window: a, container: r, Vue: s } = this.env, o = a.document.createElement("div");
11024
11024
  o.id = "app", e.type === "page" && o.classList.add("is-page"), e.pure && o.classList.add("is-pure"), r.appendChild(o);
11025
- const m = s.defineComponent({
11025
+ const v = s.defineComponent({
11026
11026
  render() {
11027
11027
  return s.h(s.Suspense, [s.h(l)]);
11028
11028
  }
11029
- }), d = s.createApp(m);
11029
+ }), d = s.createApp(v);
11030
11030
  return this.install(d, t), Object.assign(
11031
11031
  d.config.globalProperties.$route.meta,
11032
11032
  e.meta || {}
@@ -11037,7 +11037,7 @@ class Uc {
11037
11037
  this.file = e;
11038
11038
  const { window: l, library: a, Vue: r, components: s, apis: o } = this.env;
11039
11039
  this.dsl = r.reactive(t.toDsl());
11040
- const { renderer: u, context: m } = this.provider.createDslRenderer(this.dsl, {
11040
+ const { renderer: u, context: v } = this.provider.createDslRenderer(this.dsl, {
11041
11041
  window: l,
11042
11042
  mode: Gn.Design,
11043
11043
  Vue: r,
@@ -11050,7 +11050,7 @@ class Uc {
11050
11050
  } catch (g) {
11051
11051
  se(g.message || "未知错误", "运行时错误"), console.error(g);
11052
11052
  }
11053
- this.context = m, ie.on(ot, this.nodeChange), ie.on(Nt, this.blockChange);
11053
+ this.context = v, ie.on(ot, this.nodeChange), ie.on(Wt, this.blockChange);
11054
11054
  }
11055
11055
  dispose() {
11056
11056
  if (this.app) {
@@ -11063,7 +11063,7 @@ class Uc {
11063
11063
  }
11064
11064
  this.app = null;
11065
11065
  }
11066
- this.dsl = null, this.context = null, this.file = null, ya(), ie.off(ot, this.nodeChange), ie.off(Nt, this.blockChange);
11066
+ this.dsl = null, this.context = null, this.file = null, ya(), ie.off(ot, this.nodeChange), ie.off(Wt, this.blockChange);
11067
11067
  }
11068
11068
  updateChild(t, e) {
11069
11069
  const l = e.children || e.nodes || [];
@@ -11085,7 +11085,7 @@ class Uc {
11085
11085
  this.dispose(), this.render(t, e), this.designer?.selected.value && this.designer.setSelected(t);
11086
11086
  }
11087
11087
  }
11088
- class Wc extends qn {
11088
+ class Nc extends qn {
11089
11089
  constructor(e) {
11090
11090
  super();
11091
11091
  F(this, "contentWindow", null);
@@ -11162,10 +11162,10 @@ class Wc extends qn {
11162
11162
  scripts: s,
11163
11163
  css: o,
11164
11164
  materials: u,
11165
- libraryExports: m,
11165
+ libraryExports: v,
11166
11166
  materialExports: d,
11167
11167
  materialMapLibrary: g,
11168
- libraryLocaleMap: v
11168
+ libraryLocaleMap: m
11169
11169
  } = _a(l, this.materialPath, !0), { platform: b = "web" } = this.engine.project.value || {};
11170
11170
  r.open(), r.write(`
11171
11171
  <!DOCTYPE html>
@@ -11182,10 +11182,10 @@ class Wc extends qn {
11182
11182
  ${gn(s)}
11183
11183
  ${gn(u)}
11184
11184
  <script>
11185
- __simulator__.emitReady(${JSON.stringify(m)},
11185
+ __simulator__.emitReady(${JSON.stringify(v)},
11186
11186
  ${JSON.stringify(d)},
11187
11187
  ${JSON.stringify(g)},
11188
- ${JSON.stringify(v)}
11188
+ ${JSON.stringify(m)}
11189
11189
  );
11190
11190
  <\/script>
11191
11191
  </html>
@@ -11193,9 +11193,9 @@ class Wc extends qn {
11193
11193
  }
11194
11194
  async emitReady(e = [], l = [], a = {}, r = {}) {
11195
11195
  this.renderer?.dispose(), this.renderer = null;
11196
- const s = this.contentWindow, { assets: o, service: u, current: m, provider: d, project: g } = this.engine, v = d.materials || {}, b = [];
11196
+ const s = this.contentWindow, { assets: o, service: u, current: v, provider: d, project: g } = this.engine, m = d.materials || {}, b = [];
11197
11197
  for (const w of l) {
11198
- const y = v[w] ? (await v[w]()).default : s[w];
11198
+ const y = m[w] ? (await m[w]()).default : s[w];
11199
11199
  b.push(y);
11200
11200
  }
11201
11201
  o.load(b);
@@ -11211,20 +11211,20 @@ class Wc extends qn {
11211
11211
  d,
11212
11212
  g.value,
11213
11213
  this.designer.value
11214
- ), m.value && (this.renderer.render(m.value, g.value?.currentFile), this.rendered.value = Symbol()), this.triggerReady();
11214
+ ), v.value && (this.renderer.render(v.value, g.value?.currentFile), this.rendered.value = Symbol()), this.triggerReady();
11215
11215
  }
11216
11216
  createEnv(e = [], l = {}, a = [], r = {}) {
11217
- const s = this.contentWindow, { engine: o } = this, { project: u, assets: m, provider: d } = o, g = e.reduce((x, A) => (x[A] = s[A], x), {}), v = {};
11217
+ const s = this.contentWindow, { engine: o } = this, { project: u, assets: v, provider: d } = o, g = e.reduce((x, A) => (x[A] = s[A], x), {}), m = {};
11218
11218
  Object.entries(r).forEach(([x, A]) => {
11219
- v[x] = s[A];
11219
+ m[x] = s[A];
11220
11220
  });
11221
- const b = {}, { groups: f, componentMap: w } = m;
11221
+ const b = {}, { groups: f, componentMap: w } = v;
11222
11222
  for (const x of f.value) {
11223
11223
  const A = x.names || [];
11224
11224
  if (x.name === _t)
11225
11225
  A.forEach((T) => {
11226
- const $ = w.get(T), B = $?.package || "", R = la[B], N = g[R];
11227
- N && $ && (b[T] = fn($, N));
11226
+ const $ = w.get(T), B = $?.package || "", R = la[B], W = g[R];
11227
+ W && $ && (b[T] = fn($, W));
11228
11228
  });
11229
11229
  else {
11230
11230
  const T = g[l[x.library || ""]];
@@ -11252,7 +11252,7 @@ class Wc extends qn {
11252
11252
  apis: k,
11253
11253
  globals: S,
11254
11254
  libraryLocaleMap: r,
11255
- locales: v
11255
+ locales: m
11256
11256
  };
11257
11257
  }
11258
11258
  refresh() {
@@ -11274,7 +11274,7 @@ class Wc extends qn {
11274
11274
  this.renderer?.dispose(), this.designer.value?.dispose(), this.contentWindow = null, this.renderer = null, this.designer.value = null, this.resetReady();
11275
11275
  }
11276
11276
  }
11277
- class Nc {
11277
+ class Wc {
11278
11278
  constructor(t, e) {
11279
11279
  F(this, "components", []);
11280
11280
  F(this, "componentMap", /* @__PURE__ */ new Map());
@@ -11299,17 +11299,17 @@ class Nc {
11299
11299
  const { categories: a, components: r, label: s, name: o, library: u } = l;
11300
11300
  if (!a || !r)
11301
11301
  continue;
11302
- const m = r.filter((b) => !!b.package).map((b) => b.name), d = a.map(
11302
+ const v = r.filter((b) => !!b.package).map((b) => b.name), d = a.map(
11303
11303
  (b) => this.getCateoryComponents(b, r)
11304
- ), g = d.reduce((b, f) => f.count + b, 0), v = {
11304
+ ), g = d.reduce((b, f) => f.count + b, 0), m = {
11305
11305
  name: l.name,
11306
11306
  label: s || o,
11307
11307
  count: g,
11308
- names: m,
11308
+ names: v,
11309
11309
  library: u,
11310
11310
  children: d
11311
11311
  };
11312
- e.push(v);
11312
+ e.push(m);
11313
11313
  }
11314
11314
  return e;
11315
11315
  }
@@ -11332,10 +11332,10 @@ class Nc {
11332
11332
  }
11333
11333
  if (!l) return null;
11334
11334
  l.name = e || l.name;
11335
- const { id: a, name: r, slots: s, props: o, emits: u } = l, m = (g) => {
11336
- const v = Array.isArray(g) ? g : [g];
11335
+ const { id: a, name: r, slots: s, props: o, emits: u } = l, v = (g) => {
11336
+ const m = Array.isArray(g) ? g : [g];
11337
11337
  let b = [];
11338
- for (const f of v)
11338
+ for (const f of m)
11339
11339
  b = b.concat(
11340
11340
  at.getByType(f)
11341
11341
  );
@@ -11350,7 +11350,7 @@ class Nc {
11350
11350
  } : {
11351
11351
  name: g.name,
11352
11352
  type: g.type,
11353
- setters: m(g.type)
11353
+ setters: v(g.type)
11354
11354
  }),
11355
11355
  events: u,
11356
11356
  slots: s,
@@ -11392,23 +11392,25 @@ class Id extends qn {
11392
11392
  globals: s = {},
11393
11393
  dependencies: o,
11394
11394
  materials: u,
11395
- materialPath: m = "./",
11396
- adapter: d,
11397
- install: g
11395
+ materialPath: v = "./",
11396
+ pageRouteName: d,
11397
+ adapter: g,
11398
+ install: m
11398
11399
  } = this.options;
11399
- this.container = l, this.service = a, this.adapter = d, this.provider = new Ca({
11400
+ this.container = l, this.service = a, this.adapter = g, this.provider = new Ca({
11400
11401
  mode: Gn.Design,
11401
11402
  globals: s,
11402
11403
  project: r,
11403
11404
  service: a,
11404
11405
  dependencies: o,
11405
11406
  materials: u,
11406
- materialPath: m,
11407
- adapter: d,
11408
- install: g
11409
- }), this.assets = new Nc(this.service, this.provider), this.simulator = new Wc({
11407
+ materialPath: v,
11408
+ adapter: g,
11409
+ pageRouteName: d,
11410
+ install: m
11411
+ }), this.assets = new Wc(this.service, this.provider), this.simulator = new Nc({
11410
11412
  engine: this,
11411
- materialPath: m
11413
+ materialPath: v
11412
11414
  }), this.bindEvents(), this.init(r).then(this.render.bind(this)), Dn(this.dispose.bind(this));
11413
11415
  }
11414
11416
  async init(e) {
@@ -11429,7 +11431,7 @@ class Id extends qn {
11429
11431
  Be.warn("VTJEngine constructor param [ container ] is undefined");
11430
11432
  }
11431
11433
  bindEvents() {
11432
- ie.on(sa, (e) => this.saveProject(e)), ie.on(oa, (e) => this.saveBlockFile(e)), ie.on(ra, (e) => this.saveBlockFile(e)), ie.on(ia, () => this.saveMaterials()), ie.on(Wt, (e) => this.activeFile(e)), ie.on(ua, () => this.publish()), ie.on(ca, () => this.publishCurrent()), ie.on(Nt, (e) => this.changeFile(e)), ie.on(ot, () => this.changeCurrentFile()), ie.on(da, (e) => this.saveHistory(e)), ie.on(pa, (e) => this.loadHistory(e)), ie.on(ma, () => this.genSource());
11434
+ ie.on(sa, (e) => this.saveProject(e)), ie.on(oa, (e) => this.saveBlockFile(e)), ie.on(ra, (e) => this.saveBlockFile(e)), ie.on(ia, () => this.saveMaterials()), ie.on(Nt, (e) => this.activeFile(e)), ie.on(ua, () => this.publish()), ie.on(ca, () => this.publishCurrent()), ie.on(Wt, (e) => this.changeFile(e)), ie.on(ot, () => this.changeCurrentFile()), ie.on(da, (e) => this.saveHistory(e)), ie.on(pa, (e) => this.loadHistory(e)), ie.on(ma, () => this.genSource());
11433
11435
  }
11434
11436
  async activeFile(e) {
11435
11437
  await je();
@@ -11609,7 +11611,7 @@ const ze = I({
11609
11611
  const { $props: i = {}, $attrs: t = {} } = this, e = xn[this.region] || xn.EmptyRegion;
11610
11612
  return Fe(e, { ...i, ...t, ref: "regionRef" });
11611
11613
  }
11612
- }), Ne = I({
11614
+ }), We = I({
11613
11615
  name: "WidgetWrapper",
11614
11616
  props: {
11615
11617
  region: {
@@ -11795,10 +11797,10 @@ const ze = I({
11795
11797
  computedSetters: s,
11796
11798
  computedOptions: o,
11797
11799
  variable: u,
11798
- changeValue: m,
11800
+ changeValue: v,
11799
11801
  defaultSetter: d,
11800
11802
  removable: g,
11801
- onRemove: v
11803
+ onRemove: m
11802
11804
  } = this;
11803
11805
  return Fe(Yc, {
11804
11806
  context: i,
@@ -11812,8 +11814,8 @@ const ze = I({
11812
11814
  value: r,
11813
11815
  removable: g,
11814
11816
  options: o,
11815
- onChange: m,
11816
- onRemove: v
11817
+ onChange: v,
11818
+ onRemove: m
11817
11819
  });
11818
11820
  },
11819
11821
  emits: ["change", "remove"],
@@ -11858,13 +11860,13 @@ const ze = I({
11858
11860
  onEnd(k, x) {
11859
11861
  r.value = x.elementWidth.value;
11860
11862
  }
11861
- }, u = C(), m = C(), d = C(), g = C(), v = C(), b = C(), f = C(), w = C(), y = C(!1), S = C(!1);
11863
+ }, u = C(), v = C(), d = C(), g = C(), m = C(), b = C(), f = C(), w = C(), y = C(!1), S = C(!1);
11862
11864
  return t({
11863
11865
  brand: u,
11864
- toolbar: m,
11866
+ toolbar: v,
11865
11867
  actions: d,
11866
11868
  apps: g,
11867
- workspace: v,
11869
+ workspace: m,
11868
11870
  settings: b,
11869
11871
  status: f,
11870
11872
  collapsed: y,
@@ -11873,7 +11875,7 @@ const ze = I({
11873
11875
  rightWidth: r,
11874
11876
  preview: w,
11875
11877
  isPreview: l
11876
- }), (k, x) => (c(), _(n(Nl), { locale: n(Hl) }, {
11878
+ }), (k, x) => (c(), _(n(Wl), { locale: n(Hl) }, {
11877
11879
  default: h(() => [
11878
11880
  p(n(cn), { class: "v-skeleton" }, {
11879
11881
  default: h(() => [
@@ -11889,7 +11891,7 @@ const ze = I({
11889
11891
  }, null, 512),
11890
11892
  p(n(ze), {
11891
11893
  ref_key: "toolbar",
11892
- ref: m,
11894
+ ref: v,
11893
11895
  region: "Toolbar",
11894
11896
  preview: l.value
11895
11897
  }, null, 8, ["preview"]),
@@ -11932,7 +11934,7 @@ const ze = I({
11932
11934
  }, null, 8, ["preview"])) : E("", !0),
11933
11935
  Te(p(n(ze), {
11934
11936
  ref_key: "workspace",
11935
- ref: v,
11937
+ ref: m,
11936
11938
  region: "Workspace"
11937
11939
  }, null, 512), [
11938
11940
  [Je, !l.value]
@@ -12003,10 +12005,10 @@ const ze = I({
12003
12005
  setup(i, { emit: t }) {
12004
12006
  const e = i, l = t, a = C(!1), r = C(""), s = C(
12005
12007
  e.setters.find((S) => S.name === e.defaultSetter) || e.setters[0]
12006
- ), o = C(e.value), u = V(() => !!it(o.value)), m = {
12008
+ ), o = C(e.value), u = V(() => !!it(o.value)), v = {
12007
12009
  [s.value.name]: o.value
12008
12010
  }, d = (S) => {
12009
- m[s.value.name] = o.value, s.value = S, o.value = m[S.name] ?? void 0, g(o.value);
12011
+ v[s.value.name] = o.value, s.value = S, o.value = v[S.name] ?? void 0, g(o.value);
12010
12012
  };
12011
12013
  J(
12012
12014
  () => e.value,
@@ -12023,13 +12025,13 @@ const ze = I({
12023
12025
  );
12024
12026
  const g = (S) => {
12025
12027
  l("change", S);
12026
- }, v = () => {
12028
+ }, m = () => {
12027
12029
  l("remove", e.name);
12028
12030
  }, b = () => {
12029
12031
  a.value = !0, r.value = it(o.value) ? o.value.value : "";
12030
12032
  }, f = () => {
12031
12033
  a.value = !1, r.value = "";
12032
- }, w = async (S) => me(S, e.context, !0) ? (m[s.value.name] = o.value, o.value = S, l("change", S), !0) : !1, y = async () => {
12034
+ }, w = async (S) => me(S, e.context, !0) ? (v[s.value.name] = o.value, o.value = S, l("change", S), !0) : !1, y = async () => {
12033
12035
  await He("确定要解除绑定吗?") && (f(), o.value = void 0, l("change", void 0));
12034
12036
  };
12035
12037
  return (S, k) => (c(), _(n(Xe), {
@@ -12123,7 +12125,7 @@ const ze = I({
12123
12125
  }, 8, ["disabled"])) : E("", !0),
12124
12126
  e.removable ? (c(), _(n(At), {
12125
12127
  key: 2,
12126
- onClick: v,
12128
+ onClick: m,
12127
12129
  title: "删除"
12128
12130
  })) : E("", !0)
12129
12131
  ])
@@ -12159,12 +12161,12 @@ const ze = I({
12159
12161
  region: {}
12160
12162
  },
12161
12163
  setup(i, { expose: t }) {
12162
- const e = i, { widgets: l, widgetsRef: a } = We(e.region);
12164
+ const e = i, { widgets: l, widgetsRef: a } = Ne(e.region);
12163
12165
  return t({
12164
12166
  widgets: l,
12165
12167
  widgetsRef: a
12166
12168
  }), (r, s) => (c(), D("div", td, [
12167
- (c(!0), D(z, null, U(n(l), (o) => (c(), _(n(Ne), {
12169
+ (c(!0), D(z, null, U(n(l), (o) => (c(), _(n(We), {
12168
12170
  ref_for: !0,
12169
12171
  ref_key: "widgetsRef",
12170
12172
  ref: a,
@@ -12181,12 +12183,12 @@ const ze = I({
12181
12183
  preview: { type: Boolean }
12182
12184
  },
12183
12185
  setup(i, { expose: t }) {
12184
- const e = i, { widgets: l, widgetsRef: a } = We(e.region);
12186
+ const e = i, { widgets: l, widgetsRef: a } = Ne(e.region);
12185
12187
  return t({
12186
12188
  widgets: l,
12187
12189
  widgetsRef: a
12188
12190
  }), (r, s) => (c(), D("div", ld, [
12189
- (c(!0), D(z, null, U(n(l), (o) => (c(), _(n(Ne), {
12191
+ (c(!0), D(z, null, U(n(l), (o) => (c(), _(n(We), {
12190
12192
  ref_for: !0,
12191
12193
  ref_key: "widgetsRef",
12192
12194
  ref: a,
@@ -12204,12 +12206,12 @@ const ze = I({
12204
12206
  region: {}
12205
12207
  },
12206
12208
  setup(i, { expose: t }) {
12207
- const e = i, { widgets: l, widgetsRef: a } = We(e.region);
12209
+ const e = i, { widgets: l, widgetsRef: a } = Ne(e.region);
12208
12210
  return t({
12209
12211
  widgets: l,
12210
12212
  widgetsRef: a
12211
12213
  }), (r, s) => (c(), D("div", sd, [
12212
- (c(!0), D(z, null, U(n(l), (o) => (c(), _(n(Ne), {
12214
+ (c(!0), D(z, null, U(n(l), (o) => (c(), _(n(We), {
12213
12215
  ref_for: !0,
12214
12216
  ref_key: "widgetsRef",
12215
12217
  ref: a,
@@ -12227,24 +12229,24 @@ const ze = I({
12227
12229
  index: { default: 0 }
12228
12230
  },
12229
12231
  setup(i, { expose: t }) {
12230
- const e = i, l = de(), { isLogined: a, toRemoteAuth: r } = Et(), { widgets: s, widgetsRef: o } = We(e.region), u = V(() => s.value.filter((y) => y.openType === "panel")), m = V(() => s.value.filter((y) => y.openType !== "panel")), d = u.value[e.index], g = C(d), v = C(d), b = (y) => {
12231
- g.value = y, v.value = v.value?.name === y.name ? null : y;
12232
+ const e = i, l = de(), { isLogined: a, toRemoteAuth: r } = Et(), { widgets: s, widgetsRef: o } = Ne(e.region), u = V(() => s.value.filter((y) => y.openType === "panel")), v = V(() => s.value.filter((y) => y.openType !== "panel")), d = u.value[e.index], g = C(d), m = C(d), b = (y) => {
12233
+ g.value = y, m.value = m.value?.name === y.name ? null : y;
12232
12234
  }, f = (y) => {
12233
- y.openType === "link" && y.url && window.open(y.url), y.openType === "dialog" && Wn({
12235
+ y.openType === "link" && y.url && window.open(y.url), y.openType === "dialog" && Nn({
12234
12236
  title: y.label,
12235
12237
  // icon: item.icon,
12236
12238
  ...y.props,
12237
12239
  content: Fe(y.component, { engine: l, isLogined: a, toRemoteAuth: r })
12238
12240
  });
12239
12241
  };
12240
- return J(v, (y) => {
12242
+ return J(m, (y) => {
12241
12243
  l.skeleton?.toggleCollapse(!y);
12242
12244
  }), t({
12243
12245
  widgets: s,
12244
12246
  widgetsRef: o,
12245
12247
  setActive: (y) => {
12246
12248
  const S = u.value.find((k) => k.name === y);
12247
- g.value = S, v.value = S;
12249
+ g.value = S, m.value = S;
12248
12250
  }
12249
12251
  }), (y, S) => (c(), D("div", rd, [
12250
12252
  j("div", id, [
@@ -12254,12 +12256,12 @@ const ze = I({
12254
12256
  icon: k.icon,
12255
12257
  label: k.label,
12256
12258
  active: g.value?.name === k.name,
12257
- open: v.value?.name === k.name,
12259
+ open: m.value?.name === k.name,
12258
12260
  onClick: (x) => b(k)
12259
12261
  }, null, 8, ["icon", "label", "active", "open", "onClick"]))), 128))
12260
12262
  ]),
12261
12263
  j("div", cd, [
12262
- (c(!0), D(z, null, U(m.value, (k) => (c(), _(n(kn), {
12264
+ (c(!0), D(z, null, U(v.value, (k) => (c(), _(n(kn), {
12263
12265
  key: `icon-${k.name}`,
12264
12266
  icon: k.icon,
12265
12267
  label: k.label,
@@ -12271,7 +12273,7 @@ const ze = I({
12271
12273
  (c(!0), D(z, null, U(u.value, (k) => (c(), _($n, {
12272
12274
  key: k.name
12273
12275
  }, [
12274
- g.value?.name === k.name ? (c(), _(n(Ne), {
12276
+ g.value?.name === k.name ? (c(), _(n(We), {
12275
12277
  key: 0,
12276
12278
  ref_for: !0,
12277
12279
  ref_key: "widgetsRef",
@@ -12290,7 +12292,7 @@ const ze = I({
12290
12292
  region: {}
12291
12293
  },
12292
12294
  setup(i, { expose: t }) {
12293
- const e = i, { widgets: l, widgetsRef: a } = We(e.region), r = C(Symbol()), s = Ze(
12295
+ const e = i, { widgets: l, widgetsRef: a } = Ne(e.region), r = C(Symbol()), s = Ze(
12294
12296
  l.value.map((S) => ({
12295
12297
  name: S.name,
12296
12298
  command: S.name,
@@ -12303,18 +12305,18 @@ const ze = I({
12303
12305
  ), o = V(() => s?.filter((S) => !S.closable || S.checked)), u = V(() => s.map((S) => ({
12304
12306
  ...S,
12305
12307
  disabled: !S.closable
12306
- }))), m = C(o.value[0]?.name), d = V(() => {
12307
- if (m.value === "Designer")
12308
+ }))), v = C(o.value[0]?.name), d = V(() => {
12309
+ if (v.value === "Designer")
12308
12310
  return r.value;
12309
- }), g = V(() => s.find((k) => k.name === m.value)?.props || {}), v = (S) => {
12311
+ }), g = V(() => s.find((k) => k.name === v.value)?.props || {}), m = (S) => {
12310
12312
  const k = s.find((x) => x.name === S);
12311
- k && (k.checked = !1), m.value === S && (m.value = o.value[0]?.name);
12313
+ k && (k.checked = !1), v.value === S && (v.value = o.value[0]?.name);
12312
12314
  }, b = (S) => {
12313
12315
  const k = s.find((x) => x.name === S.name);
12314
- k && k.closable && (k.checked = !k.checked, k.checked && (m.value = k.name), !k.checked && m.value === k.name && (m.value = o.value[0]?.name));
12316
+ k && k.closable && (k.checked = !k.checked, k.checked && (v.value = k.name), !k.checked && v.value === k.name && (v.value = o.value[0]?.name));
12315
12317
  }, f = (S, k = {}) => {
12316
12318
  const x = s.find((A) => A.name === S);
12317
- x && (x.props = Object.assign({}, x.props, k), x.checked = !0, m.value = x.name);
12319
+ x && (x.props = Object.assign({}, x.props, k), x.checked = !0, v.value = x.name);
12318
12320
  }, w = (S) => {
12319
12321
  if (a.value) {
12320
12322
  const k = a.value[0]?.widgetRef;
@@ -12327,21 +12329,21 @@ const ze = I({
12327
12329
  }
12328
12330
  };
12329
12331
  return t({
12330
- currentTab: m,
12332
+ currentTab: v,
12331
12333
  widgets: l,
12332
12334
  widgetsRef: a,
12333
12335
  openTab: f,
12334
12336
  reload: () => {
12335
- m.value === "Designer" && (r.value = Symbol());
12337
+ v.value === "Designer" && (r.value = Symbol());
12336
12338
  }
12337
12339
  }), (S, k) => (c(), _(n($t), {
12338
12340
  class: "v-workspace-region",
12339
12341
  items: o.value,
12340
12342
  menus: u.value,
12341
- modelValue: m.value,
12342
- "onUpdate:modelValue": k[0] || (k[0] = (x) => m.value = x),
12343
+ modelValue: v.value,
12344
+ "onUpdate:modelValue": k[0] || (k[0] = (x) => v.value = x),
12343
12345
  checkable: "",
12344
- onRemove: v,
12346
+ onRemove: m,
12345
12347
  onCommand: b,
12346
12348
  onActionClick: w
12347
12349
  }, {
@@ -12349,7 +12351,7 @@ const ze = I({
12349
12351
  (c(!0), D(z, null, U(n(l), (x) => (c(), D(z, {
12350
12352
  key: x.name
12351
12353
  }, [
12352
- m.value === x.name ? (c(), _(n(Ne), {
12354
+ v.value === x.name ? (c(), _(n(We), {
12353
12355
  ref_for: !0,
12354
12356
  ref_key: "widgetsRef",
12355
12357
  ref: a,
@@ -12371,7 +12373,7 @@ const ze = I({
12371
12373
  setup(i, { expose: t }) {
12372
12374
  const e = i, l = de(), { current: a } = ge(), { selected: r, isSelectBlock: s } = Ve(), o = V(
12373
12375
  () => s.value ? xe.Block : xe.Node
12374
- ), { widgets: u, widgetsRef: m } = We(e.region, o), d = C(), g = C(!1), v = V(() => u.value.map((y) => ({
12376
+ ), { widgets: u, widgetsRef: v } = Ne(e.region, o), d = C(), g = C(!1), m = V(() => u.value.map((y) => ({
12375
12377
  name: y.name,
12376
12378
  label: y.label,
12377
12379
  actions: y.name === "Style" ? [
@@ -12390,7 +12392,7 @@ const ze = I({
12390
12392
  }), J(
12391
12393
  o,
12392
12394
  () => {
12393
- d.value = v.value[0]?.name;
12395
+ d.value = m.value[0]?.name;
12394
12396
  },
12395
12397
  { immediate: !0 }
12396
12398
  ), J(d, () => {
@@ -12408,7 +12410,7 @@ const ze = I({
12408
12410
  };
12409
12411
  return t({
12410
12412
  widgets: u,
12411
- widgetsRef: m
12413
+ widgetsRef: v
12412
12414
  }), (y, S) => n(a) ? (c(), _(n(K), {
12413
12415
  key: 0,
12414
12416
  class: "v-settings-region",
@@ -12455,7 +12457,7 @@ const ze = I({
12455
12457
  }, {
12456
12458
  default: h(() => [
12457
12459
  p(n($t), {
12458
- items: v.value,
12460
+ items: m.value,
12459
12461
  modelValue: d.value,
12460
12462
  "onUpdate:modelValue": S[0] || (S[0] = (k) => d.value = k),
12461
12463
  stretch: "",
@@ -12466,11 +12468,11 @@ const ze = I({
12466
12468
  (c(!0), D(z, null, U(n(u), (k) => (c(), D(z, {
12467
12469
  key: k.name
12468
12470
  }, [
12469
- d.value === k.name ? (c(), _(n(Ne), {
12471
+ d.value === k.name ? (c(), _(n(We), {
12470
12472
  key: 0,
12471
12473
  ref_for: !0,
12472
12474
  ref_key: "widgetsRef",
12473
- ref: m,
12475
+ ref: v,
12474
12476
  region: y.region,
12475
12477
  widget: n(Zt)({ props: { isStyleCodeMode: g.value } }, k)
12476
12478
  }, null, 8, ["region", "widget"])) : E("", !0)
@@ -12502,12 +12504,12 @@ const ze = I({
12502
12504
  region: {}
12503
12505
  },
12504
12506
  setup(i, { expose: t }) {
12505
- const e = i, { widgets: l, widgetsRef: a } = We(e.region);
12507
+ const e = i, { widgets: l, widgetsRef: a } = Ne(e.region);
12506
12508
  return t({
12507
12509
  widgets: l,
12508
12510
  widgetsRef: a
12509
12511
  }), (r, s) => (c(), D("div", gd, [
12510
- (c(!0), D(z, null, U(n(l), (o) => (c(), _(n(Ne), {
12512
+ (c(!0), D(z, null, U(n(l), (o) => (c(), _(n(We), {
12511
12513
  ref_for: !0,
12512
12514
  ref_key: "widgetsRef",
12513
12515
  ref: a,
@@ -12523,7 +12525,7 @@ const ze = I({
12523
12525
  region: {}
12524
12526
  },
12525
12527
  setup(i, { expose: t }) {
12526
- const e = i, { widgets: l, widgetsRef: a } = We(e.region), r = Ze(
12528
+ const e = i, { widgets: l, widgetsRef: a } = Ne(e.region), r = Ze(
12527
12529
  l.value.map((u) => ({
12528
12530
  name: u.name,
12529
12531
  command: u.name,
@@ -12536,17 +12538,17 @@ const ze = I({
12536
12538
  currentTab: o,
12537
12539
  widgets: l,
12538
12540
  widgetsRef: a
12539
- }), (u, m) => (c(), _(n($t), {
12541
+ }), (u, v) => (c(), _(n($t), {
12540
12542
  class: "v-workspace-region",
12541
12543
  items: s.value,
12542
12544
  modelValue: o.value,
12543
- "onUpdate:modelValue": m[0] || (m[0] = (d) => o.value = d)
12545
+ "onUpdate:modelValue": v[0] || (v[0] = (d) => o.value = d)
12544
12546
  }, {
12545
12547
  default: h(() => [
12546
12548
  (c(!0), D(z, null, U(n(l), (d) => (c(), _($n, {
12547
12549
  key: d.name
12548
12550
  }, [
12549
- o.value === d.name ? (c(), _(n(Ne), {
12551
+ o.value === d.name ? (c(), _(n(We), {
12550
12552
  key: 0,
12551
12553
  ref_for: !0,
12552
12554
  ref_key: "widgetsRef",
@@ -12572,7 +12574,7 @@ const ze = I({
12572
12574
  };
12573
12575
  export {
12574
12576
  yo as API_METHOD_TYPES,
12575
- Nc as Assets,
12577
+ Wc as Assets,
12576
12578
  on as Binder,
12577
12579
  St as Box,
12578
12580
  Lc as Designer,
@@ -12597,7 +12599,7 @@ export {
12597
12599
  Ft as SAVE_BLOCK_FILE_FINISH,
12598
12600
  Yc as SetterView,
12599
12601
  q as SetterWrapper,
12600
- Wc as Simulator,
12602
+ Nc as Simulator,
12601
12603
  Jc as Skeleton,
12602
12604
  Mc as SkeletonWrapper,
12603
12605
  zr as SlotsPicker,
@@ -12611,7 +12613,7 @@ export {
12611
12613
  Br as Viewer,
12612
12614
  vl as Viewport,
12613
12615
  xe as WidgetGroup,
12614
- Ne as WidgetWrapper,
12616
+ We as WidgetWrapper,
12615
12617
  lc as builtInDeps,
12616
12618
  rc as builtInMaterials,
12617
12619
  Tc as builtInSetters,