@vtj/designer 0.11.3 → 0.11.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,14 +1,14 @@
1
1
  var Sl = Object.defineProperty;
2
2
  var xl = (u, t, e) => t in u ? Sl(u, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : u[t] = e;
3
3
  var F = (u, t, e) => xl(u, typeof t != "symbol" ? t + "" : t, e);
4
- import { computed as x, unref as n, ref as C, watch as M, reactive as tt, toValue as _e, defineComponent as I, createElementBlock as D, openBlock as c, toDisplayString as N, createVNode as m, withCtx as h, createElementVNode as A, createBlock as _, createCommentVNode as E, createTextVNode as J, mergeProps as ce, h as Le, shallowRef as xe, readonly as Cl, onMounted as Gt, nextTick as je, getCurrentScope as Vl, onScopeDispose as Al, getCurrentInstance as An, toRaw as jn, Fragment as z, renderList as U, normalizeClass as X, defineAsyncComponent as jl, resolveDynamicComponent as En, createSlots as El, renderSlot as De, withDirectives as Re, vShow as qe, withModifiers as Se, isRef as Lt, normalizeStyle as st, inject as Kt, provide as Dl, withKeys as Ee, normalizeProps as Dn, guardReactiveProps as In, onUnmounted as $n, markRaw as Nt, createApp as Tn, shallowReactive as Il, triggerRef as ze, KeepAlive as Pn } from "vue";
4
+ import { computed as x, unref as n, ref as C, watch as M, reactive as tt, toValue as _e, defineComponent as I, createElementBlock as D, openBlock as c, toDisplayString as N, createVNode as m, withCtx as h, createElementVNode as j, createBlock as _, createCommentVNode as E, createTextVNode as J, mergeProps as ce, h as Le, shallowRef as xe, readonly as Cl, onMounted as Gt, nextTick as Ae, getCurrentScope as Vl, onScopeDispose as jl, getCurrentInstance as jn, toRaw as An, Fragment as z, renderList as U, normalizeClass as X, defineAsyncComponent as Al, resolveDynamicComponent as En, createSlots as El, renderSlot as De, withDirectives as Re, vShow as qe, withModifiers as Se, isRef as Lt, normalizeStyle as st, inject as Kt, provide as Dl, withKeys as Ee, normalizeProps as Dn, guardReactiveProps as In, onUnmounted as $n, markRaw as Nt, createApp as Tn, shallowReactive as Il, triggerRef as ze, KeepAlive as Pn } from "vue";
5
5
  import { ElNotification as Xt, ElMessage as Be, ElMessageBox as Ie, ElButton as Z, ElDivider as Ne, ElRadioGroup as Rn, ElRadioButton as gt, ElButtonGroup as $l, ElSwitch as Qt, ElImage as Bn, ElDropdown as On, ElDropdownMenu as zn, ElDropdownItem as ft, ElInput as ve, ElEmpty as ue, ElAlert as Yt, ElTooltip as Fn, ElTag as Ln, ElTree as Zt, ElCollapse as Ct, ElCollapseItem as Vt, ElRow as bt, ElCol as yt, ElDrawer as Nn, ElForm as be, ElFormItem as Ze, ElBreadcrumb as Tl, ElBreadcrumbItem as Pl, ElLoading as Rl, ElBadge as Bl, ElAvatar as Un, vLoading as Ol, ElSelect as zl, ElOption as Fl, ElInputNumber as Ll, ElColorPicker as Nl, ElUpload as Ul, ElSlider as Wl, ElConfigProvider as Jl, ElContainer as pn, ElHeader as Ml, ElAside as mn, ElMain as ql, ElFooter as Hl } from "element-plus";
6
6
  import Gl from "element-plus/es/locale/lang/zh-cn";
7
- import { XDialogForm as $e, XField as R, createDialog as Wn, XIcon as Ue, XDialog as Te, XPanel as At, XAction as he, XTabs as jt, XContainer as G, XForm as en, XAttachment as Kl, XActionBar as Xl, XInputUnit as Jn, vResizable as vn } from "@vtj/ui";
7
+ import { XDialogForm as $e, XField as R, createDialog as Wn, XIcon as Ue, XDialog as Te, XPanel as jt, XAction as he, XTabs as At, XContainer as G, XForm as en, XAttachment as Kl, XActionBar as Xl, XInputUnit as Jn, vResizable as vn } from "@vtj/ui";
8
8
  import { kebabCase as Ql, jsonp as Qe, groupBy as rt, dataURLtoBlob as Yl, delay as _t, upperFirstCamelCase as Mn, toRawType as Pt, cloneDeep as dt, logger as Oe, isPlainObject as Zl, fileToBase64 as ea, merge as tn, toArray as nn, debounce as ta, arrayToMap as na } from "@vtj/utils";
9
9
  import { BUILT_IN_NAME as wt, isBlock as oe, DirectiveModel as qn, createNodeFrom as la, BUILT_IN_VUE as gn, BUILT_IN_VUE_ROUTER as aa, emitter as ie, EVENT_PROJECT_ACTIVED as Ut, EVENT_NODE_CHANGE as it, NodeModel as Rt, EVENT_BLOCK_CHANGE as Wt, Base as Hn, BUILT_IN_LIBRARAY_MAP as sa, ProjectModel as oa, EVENT_PROJECT_CHANGE as ra, EVENT_PROJECT_BLOCKS_CHANGE as ia, EVENT_PROJECT_PAGES_CHANGE as ua, EVENT_PROJECT_DEPS_CHANGE as ca, EVENT_PROJECT_PUBLISH as da, EVENT_PROJECT_FILE_PUBLISH as pa, EVENT_HISTORY_CHANGE as ma, EVENT_HISTORY_LOAD as va, EVENT_PROJECT_GEN_SOURCE as ga, BlockModel as fn, HistoryModel as fa } from "@vtj/core";
10
- import { parseExpression as ut, parseFunction as Gn, BUILT_IN_DIRECTIVES as ha, JSCodeToString as et, LIFE_CYCLES_LIST as ba, DATA_TYPES as ya, createMock as _a, isJSExpression as He, ContextMode as Kn, clearLoaderCache as wa, parseDeps as ka, createAssetsCss as Sa, createAssetScripts as hn, getRawComponent as bn, createSchemaApis as xa, mockCleanup as Ca, mockApis as Va, Provider as Aa, Access as ja, isJSFunction as Ea } from "@vtj/renderer";
11
- import { VtjIconBack as Da, VtjIconPc as Ia, VtjIconPhone as $a, VtjIconPad as Ta, VtjIconUndo as Pa, VtjIconRedo as Ra, VtjIconTemplate as kt, VtjIconPreview as Ba, VtjIconRefresh as Xn, VtjIconSetting as Qn, Download as Jt, VtjIconPublish as Oa, VtjIconProject as za, icons as Mt, ArrowDown as ln, Search as Ge, CopyDocument as Fa, Back as La, VtjIconPlus as Yn, EditPen as Na, Delete as Zn, VtjIconSave as Ua, ArrowUp as Wa, MoreFilled as nt, VtjIconCheck as el, VtjIconComponents as tl, VtjIconShare as Ja, VtjIconHome as Ma, VtjIconVisible as qa, VtjIconInvisible as nl, VtjIconUnlock as Ha, VtjIconLock as ll, VtjIconRemove as Et, VtjIconEdit as al, VtjIconCopy as an, Files as Ga, VtjIconSearch as Ka, VtjIconHelp as sl, VtjIconLayers as ol, Rank as Xa, VtjIconArrowUp as Qa, VtjIconArrowDown as Ya, IconDisplayBlock as Za, IconDisplayFlex as es, IconDisplayInlineBlock as ts, IconDisplayInline as ns, IconEyeInvisible as ls, IconFlexDirectionrow as as, IconFlexDirectionrowReverse as ss, IconFlexDirectioncolumn as os, IconFlexDirectioncolumnReverse as rs, IconFlexJustifyflexStartrow as is, IconFlexJustifyflexEndrow as us, IconFlexJustifycenterrow as cs, IconFlexJustifyspaceBetweenrow as ds, IconFlexJustifyspaceAroundrow as ps, IconFlexAlignflexStartrow as ms, IconFlexAlignflexEndrow as vs, IconFlexAligncenterrow as gs, IconFlexAlignbaselinerow as fs, IconFlexAlignstretchrow as hs, IconPositionTopLeft as bs, IconPositionTopRight as ys, IconPositionBottomLeft as _s, IconPositionBottomRight as ws, IconPositionLeft as ks, IconPositionRight as Ss, IconPositionTop as xs, IconPositionBottom as Cs, IconPositionAll as Vs, IconTextAlignLeft as As, IconTextAlignCenter as js, IconTextAlignRight as Es, IconTextAlignJustify as Ds, IconFontStyleNone as Is, IconFontStyleItalic as $s, IconCross as rl, IconTextDecorationUnderline as Ts, IconTextDecorationStrike as Ps, IconTextDecorationOverline as Rs, IconTileXy as Bs, IconTileX as Os, IconTileY as zs, IconClose as Fs, IconBorderAll as Ls, IconBorderLeft as Ns, IconBorderTop as Us, IconBorderBottom as Ws, IconBorderRight as Js, IconBorderStyleSolid as Ms, IconBorderStyleDashed as qs, IconBorderStyleDotted as Hs, IconCursorAuto as Gs, IconCursorPointer as Ks, IconCursorNotAllowed as Xs, IconCursorNone as Qs, ArrowRight as Ys, UserFilled as il, VtjIconDocument as Zs, VtjIconBlock as eo, VtjIconOutline as to, VtjIconHistory as no, VtjIconApi as lo, VtjIconCategory as ao, VtjIconUniapp as so, HomeFilled as oo, Plus as ro, Close as io, VtjIconVars as uo, VtjIconSwitch as co, Switch as po } from "@vtj/icons";
10
+ import { parseExpression as ut, parseFunction as Gn, BUILT_IN_DIRECTIVES as ha, JSCodeToString as et, LIFE_CYCLES_LIST as ba, DATA_TYPES as ya, createMock as _a, isJSExpression as He, ContextMode as Kn, clearLoaderCache as wa, parseDeps as ka, createAssetsCss as Sa, createAssetScripts as hn, getRawComponent as bn, createSchemaApis as xa, mockCleanup as Ca, mockApis as Va, Provider as ja, Access as Aa, isJSFunction as Ea } from "@vtj/renderer";
11
+ import { VtjIconBack as Da, VtjIconPc as Ia, VtjIconPhone as $a, VtjIconPad as Ta, VtjIconUndo as Pa, VtjIconRedo as Ra, VtjIconTemplate as kt, VtjIconPreview as Ba, VtjIconRefresh as Xn, VtjIconSetting as Qn, Download as Jt, VtjIconPublish as Oa, VtjIconProject as za, icons as Mt, ArrowDown as ln, Search as Ge, CopyDocument as Fa, Back as La, VtjIconPlus as Yn, EditPen as Na, Delete as Zn, VtjIconSave as Ua, ArrowUp as Wa, MoreFilled as nt, VtjIconCheck as el, VtjIconComponents as tl, VtjIconShare as Ja, VtjIconHome as Ma, VtjIconVisible as qa, VtjIconInvisible as nl, VtjIconUnlock as Ha, VtjIconLock as ll, VtjIconRemove as Et, VtjIconEdit as al, VtjIconCopy as an, Files as Ga, VtjIconSearch as Ka, VtjIconHelp as sl, VtjIconLayers as ol, Rank as Xa, VtjIconArrowUp as Qa, VtjIconArrowDown as Ya, IconDisplayBlock as Za, IconDisplayFlex as es, IconDisplayInlineBlock as ts, IconDisplayInline as ns, IconEyeInvisible as ls, IconFlexDirectionrow as as, IconFlexDirectionrowReverse as ss, IconFlexDirectioncolumn as os, IconFlexDirectioncolumnReverse as rs, IconFlexJustifyflexStartrow as is, IconFlexJustifyflexEndrow as us, IconFlexJustifycenterrow as cs, IconFlexJustifyspaceBetweenrow as ds, IconFlexJustifyspaceAroundrow as ps, IconFlexAlignflexStartrow as ms, IconFlexAlignflexEndrow as vs, IconFlexAligncenterrow as gs, IconFlexAlignbaselinerow as fs, IconFlexAlignstretchrow as hs, IconPositionTopLeft as bs, IconPositionTopRight as ys, IconPositionBottomLeft as _s, IconPositionBottomRight as ws, IconPositionLeft as ks, IconPositionRight as Ss, IconPositionTop as xs, IconPositionBottom as Cs, IconPositionAll as Vs, IconTextAlignLeft as js, IconTextAlignCenter as As, IconTextAlignRight as Es, IconTextAlignJustify as Ds, IconFontStyleNone as Is, IconFontStyleItalic as $s, IconCross as rl, IconTextDecorationUnderline as Ts, IconTextDecorationStrike as Ps, IconTextDecorationOverline as Rs, IconTileXy as Bs, IconTileX as Os, IconTileY as zs, IconClose as Fs, IconBorderAll as Ls, IconBorderLeft as Ns, IconBorderTop as Us, IconBorderBottom as Ws, IconBorderRight as Js, IconBorderStyleSolid as Ms, IconBorderStyleDashed as qs, IconBorderStyleDotted as Hs, IconCursorAuto as Gs, IconCursorPointer as Ks, IconCursorNotAllowed as Xs, IconCursorNone as Qs, ArrowRight as Ys, UserFilled as il, VtjIconDocument as Zs, VtjIconBlock as eo, VtjIconOutline as to, VtjIconHistory as no, VtjIconApi as lo, VtjIconCategory as ao, VtjIconUniapp as so, HomeFilled as oo, Plus as ro, Close as io, VtjIconVars as uo, VtjIconSwitch as co, Switch as po } from "@vtj/icons";
12
12
  import mo from "html2canvas";
13
13
  import ul from "mockjs";
14
14
  import { PAGE_LIFE_CYCLES_LIST as vo, APP_LIFE_CYCLE as go, createUniAppComponent as fo, setupUniApp as ho } from "@vtj/uni";
@@ -16,10 +16,10 @@ import { PAGE_LIFE_CYCLES_LIST as vo, APP_LIFE_CYCLE as go, 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.11.3
19
+ * @version 0.11.5
20
20
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
21
21
  */
22
- const St = "0.11.3", yn = {
22
+ const St = "0.11.5", yn = {
23
23
  width: 390,
24
24
  height: 844
25
25
  }, _n = {
@@ -48,12 +48,129 @@ const St = "0.11.3", yn = {
48
48
  "self",
49
49
  "once",
50
50
  "passive"
51
- ], wn = "__vue-devtools-frame-state__", So = "@id/virtual:vue-devtools-path:overlay.js", xo = "@id/virtual:vue-devtools-path:overlay/devtools-overlay.mjs", Co = "https://registry.npmmirror.com/@vtj/pro", Od = "https://lcdp.vtj.pro", Vo = {
52
- auth: "https://lcdp.vtj.pro/auth.html",
53
- storageKey: "RRO_IDE_ACCESS_STORAGE__",
51
+ ], wn = "__vue-devtools-frame-state__", So = "@id/virtual:vue-devtools-path:overlay.js", xo = "@id/virtual:vue-devtools-path:overlay/devtools-overlay.mjs", Co = [
52
+ "h",
53
+ "t",
54
+ "t",
55
+ "p",
56
+ "s",
57
+ ":",
58
+ "/",
59
+ "/",
60
+ "r",
61
+ "e",
62
+ "g",
63
+ "i",
64
+ "s",
65
+ "t",
66
+ "r",
67
+ "y",
68
+ ".",
69
+ "n",
70
+ "p",
71
+ "m",
72
+ "m",
73
+ "i",
74
+ "r",
75
+ "r",
76
+ "o",
77
+ "r",
78
+ ".",
79
+ "c",
80
+ "o",
81
+ "m",
82
+ "/",
83
+ "@",
84
+ "v",
85
+ "t",
86
+ "j",
87
+ "/",
88
+ "p",
89
+ "r",
90
+ "o"
91
+ ].join(""), Od = [
92
+ "h",
93
+ "t",
94
+ "t",
95
+ "p",
96
+ "s",
97
+ ":",
98
+ "/",
99
+ "/",
100
+ "l",
101
+ "c",
102
+ "d",
103
+ "p",
104
+ ".",
105
+ "v",
106
+ "t",
107
+ "j",
108
+ ".",
109
+ "p",
110
+ "r",
111
+ "o"
112
+ ].join(""), Vo = {
113
+ auth: [
114
+ "h",
115
+ "t",
116
+ "t",
117
+ "p",
118
+ "s",
119
+ ":",
120
+ "/",
121
+ "/",
122
+ "l",
123
+ "c",
124
+ "d",
125
+ "p",
126
+ ".",
127
+ "v",
128
+ "t",
129
+ "j",
130
+ ".",
131
+ "p",
132
+ "r",
133
+ "o",
134
+ "/",
135
+ "a",
136
+ "u",
137
+ "t",
138
+ "h",
139
+ ".",
140
+ "h",
141
+ "t",
142
+ "m",
143
+ "l"
144
+ ].join(""),
145
+ storageKey: [
146
+ "R",
147
+ "R",
148
+ "O",
149
+ "_",
150
+ "I",
151
+ "D",
152
+ "E",
153
+ "_",
154
+ "A",
155
+ "C",
156
+ "C",
157
+ "E",
158
+ "S",
159
+ "S",
160
+ "_",
161
+ "S",
162
+ "T",
163
+ "O",
164
+ "R",
165
+ "A",
166
+ "G",
167
+ "E",
168
+ "_",
169
+ "_"
170
+ ].join(""),
54
171
  privateKey: "MIIBOgIBAAJBAKoIzmn1FYQ1YOhOBw9EhABxZ+PySAIaydI+zdhoKflrdgJ4A5E4/5gbQmRpk09hPWG8nvX7h+l/QLU8kXxAIBECAwEAAQJAAlgpxQY6sByLsXqzJcthC8LSGsLf2JEJkHwlnpwFqlEV8UCkoINpuZ2Wzl+aftURu5rIfAzRCQBvHmeOTW9/zQIhAO5ufWDmnSLyfAAsNo5JRNpVuLFCFodR8Xm+ulDlosR/AiEAtpAltyP9wmCABKG/v/hrtTr3mcvFNGCjoGa9bUAok28CIHbrVs9w1ijrBlvTsXYwJw46uP539uKRRT4ymZzlm9QjAiB+1KH/G9f9pEEL9rtaSOG7JF5D0JcOjlze4MGVFs+ZrQIhALKOUFBNr2zEsyJIjw2PlvEucdlG77UniszjXTROHSPd"
55
172
  };
56
- var Ce = /* @__PURE__ */ ((u) => (u.Block = "block", u.Node = "node", u))(Ce || {}), Ao = /* @__PURE__ */ ((u) => (u.Brand = "Brand", u.Toolbar = "Toolbar", u.Actions = "Actions", u.Apps = "Apps", u.Workspace = "Workspace", u.Settings = "Settings", u.Status = "Status", u.Preview = "Preview", u))(Ao || {});
173
+ var Ce = /* @__PURE__ */ ((u) => (u.Block = "block", u.Node = "node", u))(Ce || {}), jo = /* @__PURE__ */ ((u) => (u.Brand = "Brand", u.Toolbar = "Toolbar", u.Actions = "Actions", u.Apps = "Apps", u.Workspace = "Workspace", u.Settings = "Settings", u.Status = "Status", u.Preview = "Preview", u))(jo || {});
57
174
  function cl() {
58
175
  const u = de(), t = x(() => u.project.value?.dependencies ?? []), e = x(() => u.project.value?.apis ?? []), l = x(() => u.project.value?.meta ?? []);
59
176
  return {
@@ -80,7 +197,7 @@ function sn(u = 160) {
80
197
  engine: t
81
198
  };
82
199
  }
83
- function jo() {
200
+ function Ao() {
84
201
  const u = de(), t = x(() => u.project.value?.blocks ?? []);
85
202
  return {
86
203
  engine: u,
@@ -229,7 +346,7 @@ function Ro(u) {
229
346
  };
230
347
  });
231
348
  }
232
- function Ae() {
349
+ function je() {
233
350
  const u = de(), t = x(
234
351
  () => u.simulator.designer.value
235
352
  ), e = x(() => t.value?.selected.value), l = x(() => oe(e.value?.model));
@@ -241,7 +358,7 @@ function Ae() {
241
358
  };
242
359
  }
243
360
  function Bo(u, t) {
244
- const e = C(""), { selected: l, isSelectBlock: a } = Ae(), o = x(() => l.value?.model.id), s = x(() => {
361
+ const e = C(""), { selected: l, isSelectBlock: a } = je(), o = x(() => l.value?.model.id), s = x(() => {
245
362
  const i = _e(u), p = _e(t), d = [];
246
363
  if (!i) return d;
247
364
  const v = p?.__contextRefs[o.value || ""], b = p === v || a.value ? [] : Object.keys(v?.context || {}).filter((T) => !["context", "ref"].includes(T)).map((T) => `this.context.${T}`);
@@ -264,10 +381,10 @@ function Bo(u, t) {
264
381
  (T) => `this.${T}`
265
382
  );
266
383
  V.length && d.push({ title: "数据源", items: V });
267
- const j = Object.keys(p?.$refs || {}).map(
384
+ const A = Object.keys(p?.$refs || {}).map(
268
385
  (T) => `this.$refs.${T}`
269
386
  );
270
- return j.length && d.push({ title: "refs", items: j }), d;
387
+ return A.length && d.push({ title: "refs", items: A }), d;
271
388
  }), r = x(() => {
272
389
  if (!e.value) return s.value;
273
390
  const i = e.value.toLowerCase(), p = [];
@@ -530,16 +647,16 @@ function Wo(u) {
530
647
  }
531
648
  function Jo(u) {
532
649
  const t = de(), e = x(() => {
533
- const j = u.value?.model || null;
534
- return oe(j) ? null : j;
535
- }), l = (j) => x(() => e.value && (e.value.directives || []).find((T) => T.name === j) || Ot(j)), a = () => x(() => {
650
+ const A = u.value?.model || null;
651
+ return oe(A) ? null : A;
652
+ }), l = (A) => x(() => e.value && (e.value.directives || []).find((T) => T.name === A) || Ot(A)), a = () => x(() => {
536
653
  if (!e.value) return [];
537
- const j = t.assets.componentMap.get(e.value.name || "");
538
- return (j ? Wo(j) : []).map(($) => (e.value?.directives || []).find(
654
+ const A = t.assets.componentMap.get(e.value.name || "");
655
+ return (A ? Wo(A) : []).map(($) => (e.value?.directives || []).find(
539
656
  (B) => B.name === "vModel" && B.arg == $.name
540
657
  ) || Uo($.name));
541
658
  }), o = () => x(() => e.value ? (e.value.directives || []).filter(
542
- (j) => !ha.includes(j.name)
659
+ (A) => !ha.includes(A.name)
543
660
  ) : []), s = l("vIf"), r = l("vShow"), i = l("vBind"), p = l("vFor"), d = l("vHtml"), v = a(), g = o(), b = {
544
661
  vIf: s,
545
662
  vShow: r,
@@ -557,36 +674,36 @@ function Jo(u) {
557
674
  vHtml: d,
558
675
  vModels: v,
559
676
  customDirectives: g,
560
- onValueChange: (j, T) => {
561
- const $ = b[j];
677
+ onValueChange: (A, T) => {
678
+ const $ = b[A];
562
679
  e.value && (T ? ($.value.value = T, e.value.setDirective($.value)) : ($.value.value = void 0, e.value.removeDirective($.value)));
563
680
  },
564
- onForChange: (j, T) => {
681
+ onForChange: (A, T) => {
565
682
  if (e.value) {
566
- if (j === "value") {
683
+ if (A === "value") {
567
684
  T ? (p.value.value = T, e.value.setDirective(p.value)) : e.value.removeDirective(p.value);
568
685
  return;
569
686
  }
570
- (j === "item" || j === "index") && (p.value.iterator = {
687
+ (A === "item" || A === "index") && (p.value.iterator = {
571
688
  ...p.value.iterator,
572
- [j]: T || void 0
689
+ [A]: T || void 0
573
690
  }, e.value.setDirective(p.value));
574
691
  }
575
692
  },
576
- onModelChange: (j, T) => {
693
+ onModelChange: (A, T) => {
577
694
  if (!e.value) return;
578
- const $ = parseInt(j), B = v.value[$];
695
+ const $ = parseInt(A), B = v.value[$];
579
696
  B && (T ? (B.value = T, e.value.setDirective(B)) : (B.value = void 0, e.value.removeDirective(B)));
580
697
  },
581
698
  onAddCustom: () => {
582
- const j = Ot("");
583
- e.value?.setDirective(j);
699
+ const A = Ot("");
700
+ e.value?.setDirective(A);
584
701
  },
585
- onRemoveCustom: async (j) => {
586
- await Ke("确定删除指令?") && e.value?.removeDirective(j);
702
+ onRemoveCustom: async (A) => {
703
+ await Ke("确定删除指令?") && e.value?.removeDirective(A);
587
704
  },
588
- onCustomChange: (j) => (T, $) => {
589
- j.update({ [T]: $ }), e.value?.setDirective(j);
705
+ onCustomChange: (A) => (T, $) => {
706
+ A.update({ [T]: $ }), e.value?.setDirective(A);
590
707
  }
591
708
  };
592
709
  }
@@ -681,14 +798,14 @@ function qo() {
681
798
  type: "error",
682
799
  title: "提示"
683
800
  });
684
- const y = b.toDsl(), { id: w, name: k } = y, V = { ...S, id: w, name: k }, j = f.currentFile;
801
+ const y = b.toDsl(), { id: w, name: k } = y, V = { ...S, id: w, name: k }, A = f.currentFile;
685
802
  u.onSaveBlockFileFinish(() => {
686
803
  b.update(V), Be.success({
687
804
  message: "模板已加载完成"
688
805
  });
689
- }), j && (j.market = {
806
+ }), A && (A.market = {
690
807
  id: g
691
- }, j.dsl = V, f.isPageFile(j) ? f.updatePage(j) : f.updateBlock(j));
808
+ }, A.dsl = V, f.isPageFile(A) ? f.updatePage(A) : f.updateBlock(A));
692
809
  }, d = x(() => {
693
810
  const g = t?.getData()?.id;
694
811
  return rt(r.value, (b) => b.author === g ? "我的" : b.category);
@@ -771,7 +888,7 @@ const Ho = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
771
888
  }, {
772
889
  default: h(() => [
773
890
  m(n(Da), { class: "v-switcher-widget__back" }),
774
- A("span", null, N(a.value), 1),
891
+ j("span", null, N(a.value), 1),
775
892
  o.value ? (c(), _(n(Ne), {
776
893
  key: 0,
777
894
  direction: "vertical"
@@ -948,7 +1065,7 @@ const Ho = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
948
1065
  default: h(() => [
949
1066
  m(n(R), { label: "截图" }, {
950
1067
  editor: h(() => [
951
- A("div", ar, [
1068
+ j("div", ar, [
952
1069
  m(n(Bn), {
953
1070
  src: i.value,
954
1071
  fit: "contain"
@@ -1015,9 +1132,9 @@ const Ho = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
1015
1132
  },
1016
1133
  setup(u) {
1017
1134
  return (t, e) => (c(), D("div", rr, [
1018
- e[0] || (e[0] = A("div", null, "已生成源码项目,可通过以下链接下载(两小时内有效)。", -1)),
1019
- A("div", null, [
1020
- A("a", {
1135
+ e[0] || (e[0] = j("div", null, "已生成源码项目,可通过以下链接下载(两小时内有效)。", -1)),
1136
+ j("div", null, [
1137
+ j("a", {
1021
1138
  href: t.link,
1022
1139
  target: "_blank"
1023
1140
  }, N(t.link), 9, ir)
@@ -1033,7 +1150,7 @@ const Ho = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
1033
1150
  coder: { type: Boolean, default: !1 }
1034
1151
  },
1035
1152
  setup(u) {
1036
- const t = u, { engine: e, designer: l } = Ae(), { isLogined: a, toRemoteAuth: o } = Dt(), s = C(!1), r = C(!1), i = C(), p = () => {
1153
+ const t = u, { engine: e, designer: l } = je(), { isLogined: a, toRemoteAuth: o } = Dt(), s = C(!1), r = C(!1), i = C(), p = () => {
1037
1154
  e.current.value ? (s.value ? e.skeleton?.getWidget("Previewer")?.widgetRef.refresh() : (l.value?.setSelected(null), e.simulator.refresh()), pe("刷新完成", "success")) : pe("请先打开文件", "warning");
1038
1155
  }, d = async () => {
1039
1156
  e.current.value ? (s.value && (e.skeleton?.closePreview(), s.value = !1, await _t(1e3)), l.value?.setSelected(e.current.value)) : pe("请先打开文件", "warning");
@@ -1055,13 +1172,13 @@ const Ho = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
1055
1172
  if (y)
1056
1173
  if (y.currentFile)
1057
1174
  if (await a()) {
1058
- const w = await e.simulator.capture(), { name: k, title: V, market: j } = y.currentFile;
1175
+ const w = await e.simulator.capture(), { name: k, title: V, market: A } = y.currentFile;
1059
1176
  if (!w) {
1060
1177
  pe("截图失败", "warning");
1061
1178
  return;
1062
1179
  }
1063
1180
  i.value = {
1064
- id: j?.id,
1181
+ id: A?.id,
1065
1182
  canvas: w,
1066
1183
  name: k,
1067
1184
  label: V,
@@ -1207,7 +1324,7 @@ const Ho = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
1207
1324
  })
1208
1325
  ]),
1209
1326
  default: h(() => [
1210
- w[6] || (w[6] = A("span", null, "发布", -1))
1327
+ w[6] || (w[6] = j("span", null, "发布", -1))
1211
1328
  ]),
1212
1329
  _: 1
1213
1330
  })),
@@ -1220,7 +1337,7 @@ const Ho = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
1220
1337
  }
1221
1338
  });
1222
1339
  function on(u) {
1223
- return Vl() ? (Al(u), !0) : !1;
1340
+ return Vl() ? (jl(u), !0) : !1;
1224
1341
  }
1225
1342
  const It = typeof window < "u" && typeof document < "u";
1226
1343
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
@@ -1244,10 +1361,10 @@ function ht(u) {
1244
1361
  return Array.isArray(u) ? u : [u];
1245
1362
  }
1246
1363
  function hr(u) {
1247
- return An();
1364
+ return jn();
1248
1365
  }
1249
1366
  function br(u, t = !0, e) {
1250
- hr() ? Gt(u, e) : t ? u() : je(u);
1367
+ hr() ? Gt(u, e) : t ? u() : Ae(u);
1251
1368
  }
1252
1369
  function yr(u, t, e = {}) {
1253
1370
  const {
@@ -1348,7 +1465,7 @@ function wr(u, t, e = {}) {
1348
1465
  }
1349
1466
  function v(y, w) {
1350
1467
  const k = _e(y), V = k.$.subTree && k.$.subTree.children;
1351
- return V == null || !Array.isArray(V) ? !1 : V.some((j) => j.el === w.target || w.composedPath().includes(j.el));
1468
+ return V == null || !Array.isArray(V) ? !1 : V.some((A) => A.el === w.target || w.composedPath().includes(A.el));
1352
1469
  }
1353
1470
  const g = (y) => {
1354
1471
  const w = Ve(u);
@@ -1390,7 +1507,7 @@ function wr(u, t, e = {}) {
1390
1507
  } : S;
1391
1508
  }
1392
1509
  function kr() {
1393
- const u = xe(!1), t = An();
1510
+ const u = xe(!1), t = jn();
1394
1511
  return t && Gt(() => {
1395
1512
  u.value = !0;
1396
1513
  }, t), u;
@@ -1419,7 +1536,7 @@ function Sn(u, t = {}) {
1419
1536
  i();
1420
1537
  }
1421
1538
  if (e)
1422
- return jn(o.value);
1539
+ return An(o.value);
1423
1540
  }
1424
1541
  });
1425
1542
  return p(), e ? {
@@ -1464,8 +1581,8 @@ function vl(u = {}) {
1464
1581
  V.value = k ?? "", V.style.position = "absolute", V.style.opacity = "0", document.body.appendChild(V), V.select(), document.execCommand("copy"), V.remove();
1465
1582
  }
1466
1583
  function y() {
1467
- var k, V, j;
1468
- return (j = (V = (k = document?.getSelection) == null ? void 0 : k.call(document)) == null ? void 0 : V.toString()) != null ? j : "";
1584
+ var k, V, A;
1585
+ return (A = (V = (k = document?.getSelection) == null ? void 0 : k.call(document)) == null ? void 0 : V.toString()) != null ? A : "";
1469
1586
  }
1470
1587
  function w(k) {
1471
1588
  return k === "granted" || k === "prompt";
@@ -1606,7 +1723,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
1606
1723
  })
1607
1724
  ]),
1608
1725
  default: h(() => [
1609
- A("div", Cr, [
1726
+ j("div", Cr, [
1610
1727
  m(n(ve), {
1611
1728
  size: e.size,
1612
1729
  "prefix-icon": n(Ge),
@@ -1615,7 +1732,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
1615
1732
  "onUpdate:modelValue": f[0] || (f[0] = (S) => s.value = S),
1616
1733
  placeholder: "请输入查询关键字"
1617
1734
  }, null, 8, ["size", "prefix-icon", "modelValue"]),
1618
- A("div", Vr, [
1735
+ j("div", Vr, [
1619
1736
  (c(!0), D(z, null, U(i.value, (S) => (c(), _(n(Ue), {
1620
1737
  icon: S[1],
1621
1738
  onClick: (y) => p(S[0]),
@@ -1629,7 +1746,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
1629
1746
  }, 8, ["modelValue"])) : E("", !0)
1630
1747
  ]));
1631
1748
  }
1632
- }), ae = jl({
1749
+ }), ae = Al({
1633
1750
  loader: () => import("./Editor-7SLplEph.js"),
1634
1751
  loadingComponent: I({
1635
1752
  render() {
@@ -1641,7 +1758,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
1641
1758
  return Le("div", "组件加载失败!");
1642
1759
  }
1643
1760
  })
1644
- }), Ar = /* @__PURE__ */ I({
1761
+ }), jr = /* @__PURE__ */ I({
1645
1762
  name: "PageForm",
1646
1763
  __name: "form",
1647
1764
  props: {
@@ -1649,7 +1766,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
1649
1766
  parentId: {}
1650
1767
  },
1651
1768
  setup(u) {
1652
- const t = u, { project: e, engine: l } = Xe(), { designer: a } = Ae(), o = x(() => t.item ? "编辑页面" : "新增页面"), s = x(() => {
1769
+ const t = u, { project: e, engine: l } = Xe(), { designer: a } = je(), o = x(() => t.item ? "编辑页面" : "新增页面"), s = x(() => {
1653
1770
  const { platform: k = "web" } = e.value || {};
1654
1771
  return k === "web";
1655
1772
  }), r = x(() => {
@@ -1731,7 +1848,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
1731
1848
  J(N(`${n(l).options.pageBasePath || ""}/${i.value}/${d.value.id}`) + " ", 1),
1732
1849
  m(n(Ue), {
1733
1850
  icon: n(Fa),
1734
- onClick: V[0] || (V[0] = (j) => w(
1851
+ onClick: V[0] || (V[0] = (A) => w(
1735
1852
  `${n(l).options.pageBasePath || ""}/${i.value}/${d.value.id}`
1736
1853
  ))
1737
1854
  }, null, 8, ["icon"])
@@ -1765,7 +1882,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
1765
1882
  editor: h(() => [
1766
1883
  m(gl, {
1767
1884
  modelValue: d.value.icon,
1768
- "onUpdate:modelValue": V[1] || (V[1] = (j) => d.value.icon = j),
1885
+ "onUpdate:modelValue": V[1] || (V[1] = (A) => d.value.icon = A),
1769
1886
  size: "default"
1770
1887
  }, null, 8, ["modelValue"])
1771
1888
  ]),
@@ -1832,7 +1949,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
1832
1949
  height: "100px",
1833
1950
  lang: "json",
1834
1951
  modelValue: v.value,
1835
- "onUpdate:modelValue": V[2] || (V[2] = (j) => v.value = j)
1952
+ "onUpdate:modelValue": V[2] || (V[2] = (A) => v.value = A)
1836
1953
  }, null, 8, ["modelValue"])
1837
1954
  ]),
1838
1955
  _: 1
@@ -1858,7 +1975,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
1858
1975
  height: "250px",
1859
1976
  lang: "json",
1860
1977
  modelValue: g.value,
1861
- "onUpdate:modelValue": V[3] || (V[3] = (j) => g.value = j)
1978
+ "onUpdate:modelValue": V[3] || (V[3] = (A) => g.value = A)
1862
1979
  }, null, 8, ["modelValue"])
1863
1980
  ]),
1864
1981
  _: 1
@@ -1891,7 +2008,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
1891
2008
  "show-after": 600
1892
2009
  }, {
1893
2010
  default: h(() => [
1894
- A("div", {
2011
+ j("div", {
1895
2012
  class: X(["v-apps-region__icon", a.value]),
1896
2013
  onClick: o
1897
2014
  }, [
@@ -1954,7 +2071,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
1954
2071
  } : null), f = (S) => {
1955
2072
  a.value = S;
1956
2073
  };
1957
- return (S, y) => (c(), _(n(At), {
2074
+ return (S, y) => (c(), _(n(jt), {
1958
2075
  class: X(["v-panel", o.value]),
1959
2076
  border: !1,
1960
2077
  header: b.value,
@@ -2047,7 +2164,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
2047
2164
  } : void 0
2048
2165
  ]), 1032, ["class", "header"]));
2049
2166
  }
2050
- }), jr = { class: "v-tabs__header" }, Er = {
2167
+ }), Ar = { class: "v-tabs__header" }, Er = {
2051
2168
  key: 0,
2052
2169
  class: "v-tabs__actions"
2053
2170
  }, Tt = /* @__PURE__ */ I({
@@ -2084,15 +2201,15 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
2084
2201
  }, r = (i) => {
2085
2202
  l("action-click", i);
2086
2203
  };
2087
- return (i, p) => (c(), _(n(At), {
2204
+ return (i, p) => (c(), _(n(jt), {
2088
2205
  class: "v-tabs",
2089
2206
  border: !1,
2090
2207
  fit: "",
2091
2208
  radius: !1
2092
2209
  }, {
2093
2210
  header: h(() => [
2094
- A("div", jr, [
2095
- m(n(jt), {
2211
+ j("div", Ar, [
2212
+ m(n(At), {
2096
2213
  class: "v-tabs__tabs",
2097
2214
  items: e.items,
2098
2215
  type: "card",
@@ -2117,7 +2234,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
2117
2234
  onCommand: o
2118
2235
  }, {
2119
2236
  item: h(({ item: d }) => [
2120
- A("span", null, [
2237
+ j("span", null, [
2121
2238
  e.checkable ? (c(), _(n(el), {
2122
2239
  key: 0,
2123
2240
  class: X({
@@ -2284,8 +2401,8 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
2284
2401
  _: 1
2285
2402
  }, 8, ["type"])) : E("", !0),
2286
2403
  g.index !== void 0 ? (c(), D("span", Dr, " # " + N(g.index), 1)) : E("", !0),
2287
- A("div", Ir, [
2288
- A("span", $r, N(g.title), 1),
2404
+ j("div", Ir, [
2405
+ j("span", $r, N(g.title), 1),
2289
2406
  g.subtitle ? (c(), D("span", {
2290
2407
  key: 0,
2291
2408
  class: X(["v-item__subtitle", l.subtitleCls])
@@ -2410,8 +2527,8 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
2410
2527
  }, {
2411
2528
  default: h(() => [
2412
2529
  De(g.$slots, "default", {}, () => [
2413
- A("span", Rr, N(e.name), 1),
2414
- A("span", Br, N(e.title), 1)
2530
+ j("span", Rr, N(e.name), 1),
2531
+ j("span", Br, N(e.title), 1)
2415
2532
  ])
2416
2533
  ]),
2417
2534
  _: 3
@@ -2478,7 +2595,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
2478
2595
  if (b.level === 0)
2479
2596
  f(p(e.context));
2480
2597
  else {
2481
- const S = jn(b.data.value);
2598
+ const S = An(b.data.value);
2482
2599
  f(p(S, b.data.path));
2483
2600
  }
2484
2601
  }, v = (b) => {
@@ -2487,7 +2604,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
2487
2604
  l("pick", b.path);
2488
2605
  };
2489
2606
  return (b, f) => (c(), D("div", Or, [
2490
- A("div", zr, [
2607
+ j("div", zr, [
2491
2608
  m(n(ve), {
2492
2609
  modelValue: o.value,
2493
2610
  "onUpdate:modelValue": f[0] || (f[0] = (S) => o.value = S),
@@ -2496,7 +2613,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
2496
2613
  "prefix-icon": n(Ge),
2497
2614
  placeholder: "筛选可用项"
2498
2615
  }, null, 8, ["modelValue", "prefix-icon"]),
2499
- A("div", Fr, [
2616
+ j("div", Fr, [
2500
2617
  m(n(Ne), { "border-style": "dotted" }, {
2501
2618
  default: h(() => f[1] || (f[1] = [
2502
2619
  J("可用项")
@@ -2621,7 +2738,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
2621
2738
  flex: !1
2622
2739
  }, {
2623
2740
  default: h(() => [
2624
- Re(A("div", null, [
2741
+ Re(j("div", null, [
2625
2742
  m(n(ve), {
2626
2743
  modelValue: n(o),
2627
2744
  "onUpdate:modelValue": k[0] || (k[0] = (V) => Lt(o) ? o.value = V : null),
@@ -2637,13 +2754,13 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
2637
2754
  ]),
2638
2755
  _: 2
2639
2756
  }, 1024),
2640
- (c(!0), D(z, null, U(V.items, (j) => (c(), _(fe, {
2641
- title: j,
2757
+ (c(!0), D(z, null, U(V.items, (A) => (c(), _(fe, {
2758
+ title: A,
2642
2759
  background: "",
2643
2760
  actions: ["copy"],
2644
2761
  small: "",
2645
- onClick: (T) => S(j),
2646
- onAction: (T) => y(j)
2762
+ onClick: (T) => S(A),
2763
+ onAction: (T) => y(A)
2647
2764
  }, null, 8, ["title", "onClick", "onAction"]))), 256))
2648
2765
  ]))), 256)),
2649
2766
  n(a).length ? E("", !0) : (c(), _(n(ue), { key: 0 }))
@@ -2666,7 +2783,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
2666
2783
  ]),
2667
2784
  _: 1
2668
2785
  }),
2669
- m(n(At), {
2786
+ m(n(jt), {
2670
2787
  grow: "",
2671
2788
  header: null,
2672
2789
  border: !1
@@ -2789,7 +2906,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
2789
2906
  onClick: (g) => s(d)
2790
2907
  }, {
2791
2908
  default: h(() => [
2792
- A("span", Ur, "#" + N(v + 1), 1),
2909
+ j("span", Ur, "#" + N(v + 1), 1),
2793
2910
  J(" " + N(d.name), 1)
2794
2911
  ]),
2795
2912
  _: 2
@@ -2842,7 +2959,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
2842
2959
  height: "80%"
2843
2960
  }, {
2844
2961
  default: h(() => e[0] || (e[0] = [
2845
- A("iframe", { src: "http://localhost:9528/auth/client.html?r=http%3A%2F%2Flocalhost%3A9527%2F%23%2F%3Fopen%3Dtemplate" }, null, -1)
2962
+ j("iframe", { src: "http://localhost:9528/auth/client.html?r=http%3A%2F%2Flocalhost%3A9527%2F%23%2F%3Fopen%3Dtemplate" }, null, -1)
2846
2963
  ])),
2847
2964
  _: 1
2848
2965
  }));
@@ -2860,7 +2977,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
2860
2977
  }, v = () => {
2861
2978
  r.value = void 0, s.value = void 0, o.value = !0;
2862
2979
  }, g = async (y) => {
2863
- const { name: w, modelValue: k } = y, { data: V, node: j } = k;
2980
+ const { name: w, modelValue: k } = y, { data: V, node: A } = k;
2864
2981
  if (w === "add" && (s.value = void 0, r.value = V.id, o.value = !0), w === "edit" && (s.value = dt(V), r.value = void 0, o.value = !0), w === "remove") {
2865
2982
  if (V.dir) {
2866
2983
  const T = t.value?.getPage(V.id);
@@ -2872,7 +2989,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
2872
2989
  t.value?.removePage(V.id);
2873
2990
  }
2874
2991
  if (w === "copy") {
2875
- const T = j.parent?.data.id;
2992
+ const T = A.parent?.data.id;
2876
2993
  t.value?.clonePage(V, T);
2877
2994
  }
2878
2995
  w === "home" && (t.value?.setHomepage(V.id), pe("设置主页成功", "success")), w === "saveToBlock" && (await t.value?.saveToBlock(V), pe("已保存到区块", "success"));
@@ -2914,7 +3031,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
2914
3031
  "model-value": { data: k, node: V },
2915
3032
  actions: k.dir ? ["add", "edit", "remove"] : k.raw ? ["home", "edit", "remove"] : ["home", "edit", "copy", "remove", "saveToBlock"],
2916
3033
  onAction: g,
2917
- onClick: (j) => b(k),
3034
+ onClick: (A) => b(k),
2918
3035
  active: n(a)?.id === k.id,
2919
3036
  grow: "",
2920
3037
  small: "",
@@ -2926,7 +3043,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
2926
3043
  ]),
2927
3044
  _: 1
2928
3045
  }, 8, ["data"]),
2929
- o.value ? (c(), _(Ar, {
3046
+ o.value ? (c(), _(jr, {
2930
3047
  key: 0,
2931
3048
  modelValue: o.value,
2932
3049
  "onUpdate:modelValue": w[0] || (w[0] = (k) => o.value = k),
@@ -2955,7 +3072,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
2955
3072
  return i(V);
2956
3073
  }
2957
3074
  return null;
2958
- }, d = (k) => k ? (k || "").split(",").map((j) => ({ url: j })) : [], v = C(
3075
+ }, d = (k) => k ? (k || "").split(",").map((A) => ({ url: A })) : [], v = C(
2959
3076
  d(e.modelValue)
2960
3077
  ), g = x(() => Array.isArray(v.value) ? v.value.map((k) => k.url).join(",") : v.value ? v.value.url : "");
2961
3078
  M(
@@ -2996,7 +3113,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
2996
3113
  r.value ? (c(), _(n(Te), {
2997
3114
  key: 0,
2998
3115
  modelValue: r.value,
2999
- "onUpdate:modelValue": V[2] || (V[2] = (j) => r.value = j),
3116
+ "onUpdate:modelValue": V[2] || (V[2] = (A) => r.value = A),
3000
3117
  title: "文件选择器",
3001
3118
  width: "600px",
3002
3119
  height: "400px",
@@ -3023,9 +3140,9 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
3023
3140
  selectable: !0,
3024
3141
  uploader: p,
3025
3142
  modelValue: s.value,
3026
- "onUpdate:modelValue": V[0] || (V[0] = (j) => s.value = j),
3143
+ "onUpdate:modelValue": V[0] || (V[0] = (A) => s.value = A),
3027
3144
  "select-value": v.value,
3028
- "onUpdate:selectValue": V[1] || (V[1] = (j) => v.value = j)
3145
+ "onUpdate:selectValue": V[1] || (V[1] = (A) => v.value = A)
3029
3146
  }, e.attachment, { onRemove: w }), null, 16, ["modelValue", "select-value"])
3030
3147
  ]),
3031
3148
  _: 1
@@ -3036,7 +3153,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
3036
3153
  name: "BlocksWidget",
3037
3154
  __name: "index",
3038
3155
  setup(u) {
3039
- const { span: t } = sn(), { blocks: e, engine: l } = jo(), a = C(""), o = x(() => a.value ? e.value.filter((O) => O.name.includes(a.value) || O.title?.includes(a.value)) : e.value), s = x(
3156
+ const { span: t } = sn(), { blocks: e, engine: l } = Ao(), a = C(""), o = x(() => a.value ? e.value.filter((O) => O.name.includes(a.value) || O.title?.includes(a.value)) : e.value), s = x(
3040
3157
  () => rt(o.value, (O) => O.category || "默认分组")
3041
3158
  ), r = x(() => Object.keys(s.value)), i = {
3042
3159
  filterable: !0,
@@ -3086,7 +3203,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
3086
3203
  return ".json";
3087
3204
  if (g.value?.fromType === "Plugin")
3088
3205
  return ".js,.css,.json";
3089
- }), V = x(() => g.value?.fromType === "Plugin"), j = async (O) => {
3206
+ }), V = x(() => g.value?.fromType === "Plugin"), A = async (O) => {
3090
3207
  const te = O, re = l.project.value;
3091
3208
  if (!re) return !1;
3092
3209
  if (O.id)
@@ -3130,7 +3247,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
3130
3247
  onPlus: T
3131
3248
  }, {
3132
3249
  default: h(() => [
3133
- A("div", Hr, [
3250
+ j("div", Hr, [
3134
3251
  m(n(ve), {
3135
3252
  size: "small",
3136
3253
  modelValue: a.value,
@@ -3198,7 +3315,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
3198
3315
  width: "600px",
3199
3316
  height: "400px",
3200
3317
  "form-props": { tooltipMessage: !1 },
3201
- "submit-method": j
3318
+ "submit-method": A
3202
3319
  }, {
3203
3320
  default: h(() => [
3204
3321
  m(n(R), {
@@ -3273,7 +3390,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
3273
3390
  body: { flex: !0, direction: "column" }
3274
3391
  }, {
3275
3392
  default: h(() => [
3276
- A("div", Kr, [
3393
+ j("div", Kr, [
3277
3394
  m(n(ve), {
3278
3395
  modelValue: n(r),
3279
3396
  "onUpdate:modelValue": g[0] || (g[0] = (b) => Lt(r) ? r.value = b : null),
@@ -3312,14 +3429,14 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
3312
3429
  _: 1
3313
3430
  }),
3314
3431
  n(i).length ? E("", !0) : (c(), _(n(ue), { key: 0 }))
3315
- ])) : (c(), _(n(jt), {
3432
+ ])) : (c(), _(n(At), {
3316
3433
  key: 1,
3317
3434
  items: n(l),
3318
3435
  modelValue: n(a),
3319
3436
  "onUpdate:modelValue": g[2] || (g[2] = (b) => Lt(a) ? a.value = b : null)
3320
3437
  }, {
3321
3438
  default: h(() => [
3322
- A("div", Qr, [
3439
+ j("div", Qr, [
3323
3440
  n(o) ? (c(), _(n(Ct), {
3324
3441
  key: 0,
3325
3442
  modelValue: n(s)[n(a)],
@@ -3374,7 +3491,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
3374
3491
  name: "OutlineWidget",
3375
3492
  __name: "index",
3376
3493
  setup(u) {
3377
- const { engine: t, designer: e, selected: l } = Ae(), { current: a } = ge(), o = C([]), s = ($, B) => {
3494
+ const { engine: t, designer: e, selected: l } = je(), { current: a } = ge(), o = C([]), s = ($, B) => {
3378
3495
  if (B === "slot") return [];
3379
3496
  if (oe($))
3380
3497
  return $.locked ? ["unlock"] : ["lock"];
@@ -3423,7 +3540,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
3423
3540
  }
3424
3541
  ];
3425
3542
  }, d = async () => {
3426
- o.value = p(), l.value?.model && (await je(), e.value?.setSelected(l.value.model));
3543
+ o.value = p(), l.value?.model && (await Ae(), e.value?.setSelected(l.value.model));
3427
3544
  }, v = x(() => l.value?.model.id), g = ($) => {
3428
3545
  const B = $.data;
3429
3546
  if (B.type === "slot" || oe(B.model) || B.model.locked || B.model.name === "template")
@@ -3493,19 +3610,19 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
3493
3610
  }, V = async ($) => {
3494
3611
  const B = $.data;
3495
3612
  B.dragging = !1;
3496
- }, j = ($, B) => {
3613
+ }, A = ($, B) => {
3497
3614
  $ && (($.id === B.id || !oe($) && B.isChild($)) && e.value?.setSelected(null), e.value?.setHover(null));
3498
3615
  }, T = ($) => {
3499
3616
  const { name: B, modelValue: P } = $, L = l.value?.model;
3500
3617
  switch (B) {
3501
3618
  case "lock":
3502
- j(L, P), P.lock();
3619
+ A(L, P), P.lock();
3503
3620
  break;
3504
3621
  case "unlock":
3505
- j(L, P), P.unlock();
3622
+ A(L, P), P.unlock();
3506
3623
  break;
3507
3624
  case "invisible":
3508
- j(L, P), P.setVisible(!1);
3625
+ A(L, P), P.setVisible(!1);
3509
3626
  break;
3510
3627
  case "visible":
3511
3628
  P.setVisible(!0);
@@ -3515,7 +3632,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
3515
3632
  Y && e.value?.setSelected(Y);
3516
3633
  break;
3517
3634
  case "remove":
3518
- j(L, P), a.value?.removeNode(P);
3635
+ A(L, P), a.value?.removeNode(P);
3519
3636
  break;
3520
3637
  }
3521
3638
  };
@@ -3778,7 +3895,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
3778
3895
  }),
3779
3896
  m(n(G), { justify: "space-between" }, {
3780
3897
  default: h(() => [
3781
- a[1] || (a[1] = A("span", null, "模拟数据模板", -1)),
3898
+ a[1] || (a[1] = j("span", null, "模拟数据模板", -1)),
3782
3899
  m(n(he), {
3783
3900
  icon: n(sl),
3784
3901
  mode: "text",
@@ -3840,7 +3957,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
3840
3957
  }
3841
3958
  ), M(l, async () => {
3842
3959
  o.value?.formRef.validate(async (S) => {
3843
- S || (await je(), l.value = "base");
3960
+ S || (await Ae(), l.value = "base");
3844
3961
  });
3845
3962
  });
3846
3963
  const v = () => {
@@ -3880,7 +3997,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
3880
3997
  shrink: !1
3881
3998
  }, {
3882
3999
  default: h(() => [
3883
- m(n(jt), {
4000
+ m(n(At), {
3884
4001
  modelValue: l.value,
3885
4002
  "onUpdate:modelValue": y[0] || (y[0] = (w) => l.value = w),
3886
4003
  items: p,
@@ -3891,7 +4008,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
3891
4008
  ]),
3892
4009
  _: 1
3893
4010
  }),
3894
- m(n(At), {
4011
+ m(n(jt), {
3895
4012
  header: null,
3896
4013
  border: !1,
3897
4014
  overflow: "auto",
@@ -3902,7 +4019,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
3902
4019
  footer: h(() => [
3903
4020
  m(n(G), { justify: "space-between" }, {
3904
4021
  default: h(() => [
3905
- A("div", null, [
4022
+ j("div", null, [
3906
4023
  l.value === "mock" ? (c(), _(n(Z), {
3907
4024
  key: 0,
3908
4025
  disabled: !s.value.mock,
@@ -3915,7 +4032,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
3915
4032
  _: 1
3916
4033
  }, 8, ["disabled"])) : E("", !0)
3917
4034
  ]),
3918
- A("div", null, [
4035
+ j("div", null, [
3919
4036
  m(n(Z), { onClick: v }, {
3920
4037
  default: h(() => y[3] || (y[3] = [
3921
4038
  J("取消")
@@ -4047,7 +4164,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
4047
4164
  onPlus: d
4048
4165
  }, {
4049
4166
  default: h(() => [
4050
- A("div", ri, [
4167
+ j("div", ri, [
4051
4168
  m(n(ve), {
4052
4169
  size: "small",
4053
4170
  modelValue: a.value,
@@ -4283,7 +4400,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
4283
4400
  inheritAttrs: !1,
4284
4401
  __name: "index",
4285
4402
  setup(u, { expose: t }) {
4286
- const e = C(), l = C(), { width: a, height: o } = ct(e), { dependencies: s, engine: r, apis: i, meta: p } = cl(), { current: d, isEmpty: v } = ge(), g = x(() => r.skeleton?.getWidget("Toolbar")?.widgetRef.mode ?? "pc"), b = x(() => !!r.skeleton?.getWidget("Toolbar")?.widgetRef.outline), f = x(() => r.project.value?.config || {}), S = x(() => r.project.value?.uniConfig || {}), { designer: y, hover: w, dropping: k, selected: V, lines: j } = $o(
4403
+ const e = C(), l = C(), { width: a, height: o } = ct(e), { dependencies: s, engine: r, apis: i, meta: p } = cl(), { current: d, isEmpty: v } = ge(), g = x(() => r.skeleton?.getWidget("Toolbar")?.widgetRef.mode ?? "pc"), b = x(() => !!r.skeleton?.getWidget("Toolbar")?.widgetRef.outline), f = x(() => r.project.value?.config || {}), S = x(() => r.project.value?.uniConfig || {}), { designer: y, hover: w, dropping: k, selected: V, lines: A } = $o(
4287
4404
  l,
4288
4405
  s,
4289
4406
  i,
@@ -4348,11 +4465,11 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
4348
4465
  class: "v-designer__hover",
4349
4466
  style: st(n(w).style)
4350
4467
  }, [
4351
- A("span", {
4468
+ j("span", {
4352
4469
  class: X(`is-${n(w).position}`)
4353
4470
  }, [
4354
4471
  J(N(n(w).model.name) + ": ", 1),
4355
- A("i", null, N(n(w).model.id), 1)
4472
+ j("i", null, N(n(w).model.id), 1)
4356
4473
  ], 2)
4357
4474
  ], 4)) : E("", !0),
4358
4475
  n(V) ? (c(), D("div", {
@@ -4373,13 +4490,13 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
4373
4490
  key: 3,
4374
4491
  description: "请新建或打开文件"
4375
4492
  })),
4376
- b.value && n(j).length ? (c(), D("div", di, [
4377
- (c(!0), D(z, null, U(n(j), (Y) => (c(), D("div", {
4493
+ b.value && n(A).length ? (c(), D("div", di, [
4494
+ (c(!0), D(z, null, U(n(A), (Y) => (c(), D("div", {
4378
4495
  style: st(Y)
4379
4496
  }, null, 4))), 256))
4380
4497
  ])) : E("", !0),
4381
4498
  n(d) && n(v) ? (c(), D("div", pi, " 您可以拖拽组件放置到这里 ")) : E("", !0),
4382
- A("iframe", {
4499
+ j("iframe", {
4383
4500
  ref_key: "iframe",
4384
4501
  ref: l,
4385
4502
  frameborder: "0"
@@ -4842,7 +4959,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
4842
4959
  name: "PropertiesWidget",
4843
4960
  __name: "index",
4844
4961
  setup(u) {
4845
- const { current: t, context: e } = ge(), { selected: l } = Ae(), {
4962
+ const { current: t, context: e } = ge(), { selected: l } = je(), {
4846
4963
  node: a,
4847
4964
  commonProps: o,
4848
4965
  change: s,
@@ -5038,7 +5155,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
5038
5155
  name: "EventsWidget",
5039
5156
  __name: "index",
5040
5157
  setup(u) {
5041
- const { current: t, context: e } = ge(), { selected: l } = Ae(), { mouseEventList: a, keyboardEventList: o, componentEventList: s } = No(l), r = C({
5158
+ const { current: t, context: e } = ge(), { selected: l } = je(), { mouseEventList: a, keyboardEventList: o, componentEventList: s } = No(l), r = C({
5042
5159
  name: "",
5043
5160
  event: void 0
5044
5161
  }), i = C(!1), p = (f) => {
@@ -5184,7 +5301,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
5184
5301
  name: "DirectivesWidget",
5185
5302
  __name: "index",
5186
5303
  setup(u) {
5187
- const { current: t, context: e } = ge(), { selected: l } = Ae(), {
5304
+ const { current: t, context: e } = ge(), { selected: l } = je(), {
5188
5305
  vIf: a,
5189
5306
  vShow: o,
5190
5307
  vBind: s,
@@ -5321,12 +5438,12 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
5321
5438
  fit: !1
5322
5439
  }, {
5323
5440
  default: h(() => [
5324
- (c(!0), D(z, null, U(n(p), (j, T) => (c(), _(n(H), {
5441
+ (c(!0), D(z, null, U(n(p), (A, T) => (c(), _(n(H), {
5325
5442
  card: "",
5326
5443
  border: "",
5327
5444
  class: "v-sub-panel",
5328
5445
  size: "small",
5329
- title: `v-model: ${w(j)}`,
5446
+ title: `v-model: ${w(A)}`,
5330
5447
  body: { grow: !1 },
5331
5448
  fit: !1
5332
5449
  }, {
@@ -5344,7 +5461,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
5344
5461
  setters: "ExpressionSetter",
5345
5462
  current: n(t),
5346
5463
  context: n(e),
5347
- value: j.value,
5464
+ value: A.value,
5348
5465
  onChange: n(b)
5349
5466
  }, null, 8, ["name", "current", "context", "value", "onChange"])
5350
5467
  ]),
@@ -5371,8 +5488,8 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
5371
5488
  onPlus: n(f)
5372
5489
  }, {
5373
5490
  default: h(() => [
5374
- (c(!0), D(z, null, U(n(d), (j, T) => (c(), _(n(H), {
5375
- key: j.id,
5491
+ (c(!0), D(z, null, U(n(d), (A, T) => (c(), _(n(H), {
5492
+ key: A.id,
5376
5493
  card: "",
5377
5494
  border: "",
5378
5495
  class: "v-sub-panel",
@@ -5381,7 +5498,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
5381
5498
  body: { grow: !1 },
5382
5499
  fit: !1,
5383
5500
  remove: !0,
5384
- onRemove: ($) => n(S)(j)
5501
+ onRemove: ($) => n(S)(A)
5385
5502
  }, {
5386
5503
  default: h(() => [
5387
5504
  m(n(be), {
@@ -5397,8 +5514,8 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
5397
5514
  setters: "StringSetter",
5398
5515
  current: n(t),
5399
5516
  context: n(e),
5400
- value: j.name,
5401
- onChange: n(y)(j)
5517
+ value: A.name,
5518
+ onChange: n(y)(A)
5402
5519
  }, null, 8, ["current", "context", "value", "onChange"]),
5403
5520
  m(n(q), {
5404
5521
  name: "value",
@@ -5406,8 +5523,8 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
5406
5523
  setters: "ExpressionSetter",
5407
5524
  current: n(t),
5408
5525
  context: n(e),
5409
- value: j.value,
5410
- onChange: n(y)(j)
5526
+ value: A.value,
5527
+ onChange: n(y)(A)
5411
5528
  }, null, 8, ["current", "context", "value", "onChange"]),
5412
5529
  m(n(q), {
5413
5530
  name: "arg",
@@ -5415,8 +5532,8 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
5415
5532
  setters: "StringSetter",
5416
5533
  current: n(t),
5417
5534
  context: n(e),
5418
- value: j.arg,
5419
- onChange: n(y)(j)
5535
+ value: A.arg,
5536
+ onChange: n(y)(A)
5420
5537
  }, null, 8, ["current", "context", "value", "onChange"]),
5421
5538
  m(n(q), {
5422
5539
  name: "modifiers",
@@ -5424,8 +5541,8 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
5424
5541
  setters: "ObjectSetter",
5425
5542
  current: n(t),
5426
5543
  context: n(e),
5427
- value: j.modifiers,
5428
- onChange: n(y)(j),
5544
+ value: A.modifiers,
5545
+ onChange: n(y)(A),
5429
5546
  variable: !1
5430
5547
  }, null, 8, ["current", "context", "value", "onChange"])
5431
5548
  ]),
@@ -5519,7 +5636,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
5519
5636
  _: 1
5520
5637
  }, 8, ["title", "model"]));
5521
5638
  }
5522
- }), Ai = /* @__PURE__ */ I({
5639
+ }), ji = /* @__PURE__ */ I({
5523
5640
  name: "DefinedEventsDialog",
5524
5641
  __name: "events",
5525
5642
  props: {
@@ -5571,7 +5688,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
5571
5688
  _: 1
5572
5689
  }, 8, ["title", "model"]));
5573
5690
  }
5574
- }), ji = /* @__PURE__ */ I({
5691
+ }), Ai = /* @__PURE__ */ I({
5575
5692
  name: "DefinedSlotsDialog",
5576
5693
  __name: "slots",
5577
5694
  props: {
@@ -5704,7 +5821,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
5704
5821
  d.value = void 0, p.value = !0;
5705
5822
  }, V = (W) => {
5706
5823
  d.value = { ...W }, p.value = !0;
5707
- }, j = (W) => {
5824
+ }, A = (W) => {
5708
5825
  const { name: K, modelValue: O } = W;
5709
5826
  K === "edit" && V(O), K === "remove" && t.value?.removeEmit(O.name);
5710
5827
  }, T = () => {
@@ -5776,13 +5893,13 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
5776
5893
  border: "",
5777
5894
  actions: ["remove"],
5778
5895
  onClick: (te) => V(O),
5779
- onAction: j
5896
+ onAction: A
5780
5897
  }, null, 8, ["model-value", "title", "onClick"]))), 256)),
5781
5898
  a.value.length ? E("", !0) : (c(), _(n(ue), {
5782
5899
  key: 0,
5783
5900
  "image-size": 50
5784
5901
  })),
5785
- p.value ? (c(), _(Ai, {
5902
+ p.value ? (c(), _(ji, {
5786
5903
  key: 1,
5787
5904
  modelValue: p.value,
5788
5905
  "onUpdate:modelValue": K[1] || (K[1] = (O) => p.value = O),
@@ -5814,7 +5931,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
5814
5931
  key: 0,
5815
5932
  "image-size": 50
5816
5933
  })),
5817
- v.value ? (c(), _(ji, {
5934
+ v.value ? (c(), _(Ai, {
5818
5935
  key: 1,
5819
5936
  modelValue: v.value,
5820
5937
  "onUpdate:modelValue": K[2] || (K[2] = (O) => v.value = O),
@@ -5918,31 +6035,31 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
5918
6035
  }`
5919
6036
  }
5920
6037
  }, dt(t.item))
5921
- ), p = C(!1), d = C(""), v = C(!1), g = x(() => i.value.type === "api" ? l.value.map((j) => ({
5922
- label: j.label || "",
5923
- value: j.id,
5924
- data: j
5925
- })) : i.value.type === "meta" ? a.value.map((j) => ({
5926
- label: j.title || "",
5927
- value: j.id,
5928
- data: j
5929
- })) : []), b = x(() => t.item ? "编辑数据源" : "新增数据源"), f = (j) => ["api", "meta"].includes(j.type), S = (j) => ["mock"].includes(j.type), y = (j) => {
6038
+ ), p = C(!1), d = C(""), v = C(!1), g = x(() => i.value.type === "api" ? l.value.map((A) => ({
6039
+ label: A.label || "",
6040
+ value: A.id,
6041
+ data: A
6042
+ })) : i.value.type === "meta" ? a.value.map((A) => ({
6043
+ label: A.title || "",
6044
+ value: A.id,
6045
+ data: A
6046
+ })) : []), b = x(() => t.item ? "编辑数据源" : "新增数据源"), f = (A) => ["api", "meta"].includes(A.type), S = (A) => ["mock"].includes(A.type), y = (A) => {
5930
6047
  i.value.ref = "", i.value.name = "", i.value.label = "", f(i.value) && i.value.transform && !i.value.transform.value && (i.value.transform.value = `(res) => {
5931
6048
  return res;
5932
6049
  }`), S(i.value) && i.value.mockTemplate && !i.value.mockTemplate.value && (i.value.mockTemplate.value = `(params) => {
5933
6050
  return {};
5934
6051
  }`);
5935
- }, w = (j) => {
6052
+ }, w = (A) => {
5936
6053
  if (i.value.type === "api") {
5937
- const T = l.value.find(($) => $.id === j);
6054
+ const T = l.value.find(($) => $.id === A);
5938
6055
  T && (i.value.name = T.name, i.value.label = T.label || "");
5939
6056
  }
5940
6057
  if (i.value.type === "meta") {
5941
- const T = a.value.find(($) => $.id === j);
6058
+ const T = a.value.find(($) => $.id === A);
5942
6059
  T && (i.value.name = T.code, i.value.label = T.title || "");
5943
6060
  }
5944
- }, k = async (j) => {
5945
- const { transform: T, test: $, name: B } = j;
6061
+ }, k = async (A) => {
6062
+ const { transform: T, test: $, name: B } = A;
5946
6063
  if (!t.current) return !1;
5947
6064
  if (!t.item && t.current.dataSources[B])
5948
6065
  return se(`名称【${B}】已经存在,请更换名称`), !1;
@@ -5950,13 +6067,13 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
5950
6067
  if (!me(T, t.context, !0))
5951
6068
  return !1;
5952
6069
  } else
5953
- j.transform = void 0;
6070
+ A.transform = void 0;
5954
6071
  if ($?.value) {
5955
6072
  if (!me($, t.context, !0))
5956
6073
  return !1;
5957
6074
  } else
5958
- j.test = void 0;
5959
- return t.current?.setDataSource(j), !0;
6075
+ A.test = void 0;
6076
+ return t.current?.setDataSource(A), !0;
5960
6077
  }, V = async () => {
5961
6078
  if (!t.context) return;
5962
6079
  if (f(i.value) && !i.value.ref) {
@@ -5992,7 +6109,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
5992
6109
  }
5993
6110
  p.value = !1, v.value = !0;
5994
6111
  };
5995
- return (j, T) => (c(), _(n($e), {
6112
+ return (A, T) => (c(), _(n($e), {
5996
6113
  width: "1000px",
5997
6114
  height: "700px",
5998
6115
  title: b.value,
@@ -6036,7 +6153,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6036
6153
  }, {
6037
6154
  option: h(({ option: $ }) => [
6038
6155
  J(N($.label) + " ", 1),
6039
- A("i", null, "[ " + N($.data.name || $.data.code) + " ]", 1)
6156
+ j("i", null, "[ " + N($.data.name || $.data.code) + " ]", 1)
6040
6157
  ]),
6041
6158
  _: 1
6042
6159
  }, 8, ["disabled", "options"])),
@@ -6392,7 +6509,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6392
6509
  name: "StyleWidget",
6393
6510
  __name: "JsonMode",
6394
6511
  setup(u) {
6395
- const { selected: t } = Ae(), e = C(), l = x(() => {
6512
+ const { selected: t } = je(), e = C(), l = x(() => {
6396
6513
  const i = t.value?.model || null;
6397
6514
  return oe(i) ? null : i;
6398
6515
  }), a = x(() => l.value?.getPropValue("style") || {}), o = x(() => He(a.value) ? JSON.stringify({}) : JSON.stringify(qt(a.value), null, 2)), s = (i) => {
@@ -6461,8 +6578,8 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6461
6578
  r.value = void 0, a("update:modelValue", r.value), a("submit", l.name, void 0), a("close");
6462
6579
  };
6463
6580
  return (b, f) => (c(), D("div", Ri, [
6464
- f[4] || (f[4] = A("div", { class: "v-spacing-input__modal" }, null, -1)),
6465
- A("div", Bi, [
6581
+ f[4] || (f[4] = j("div", { class: "v-spacing-input__modal" }, null, -1)),
6582
+ j("div", Bi, [
6466
6583
  m(n(G), {
6467
6584
  class: "v-spacing-input__body",
6468
6585
  ref_key: "bodyRef",
@@ -6492,7 +6609,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6492
6609
  width: "20%"
6493
6610
  }, {
6494
6611
  default: h(() => [
6495
- A("span", {
6612
+ j("span", {
6496
6613
  onClick: f[1] || (f[1] = (S) => p("auto"))
6497
6614
  }, "auto")
6498
6615
  ]),
@@ -6505,7 +6622,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6505
6622
  wrap: "wrap"
6506
6623
  }, {
6507
6624
  default: h(() => [
6508
- (c(), D(z, null, U(e, (S) => A("span", {
6625
+ (c(), D(z, null, U(e, (S) => j("span", {
6509
6626
  onClick: (y) => p(S)
6510
6627
  }, N(S), 9, Oi)), 64))
6511
6628
  ]),
@@ -6578,13 +6695,13 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6578
6695
  collapsable: ""
6579
6696
  }, {
6580
6697
  default: h(() => [
6581
- A("div", {
6698
+ j("div", {
6582
6699
  class: "v-style-widget__spacing",
6583
6700
  ref_key: "container",
6584
6701
  ref: e
6585
6702
  }, [
6586
- A("div", zi, [
6587
- A("div", Fi, [
6703
+ j("div", zi, [
6704
+ j("div", Fi, [
6588
6705
  n(a) && n(o) ? (c(), D("svg", {
6589
6706
  key: 0,
6590
6707
  xmlns: "http://www.w3.org/2000/svg",
@@ -6592,9 +6709,9 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6592
6709
  height: n(o),
6593
6710
  style: { "grid-area": "1 / 1 / -1 / -1" }
6594
6711
  }, [
6595
- A("g", null, [
6596
- A("g", null, [
6597
- A("path", {
6712
+ j("g", null, [
6713
+ j("g", null, [
6714
+ j("path", {
6598
6715
  mode: "delta",
6599
6716
  fill: "currentColor",
6600
6717
  d: `
@@ -6610,9 +6727,9 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6610
6727
  }, null, 8, Ni)
6611
6728
  ])
6612
6729
  ]),
6613
- A("g", null, [
6614
- A("g", null, [
6615
- A("path", {
6730
+ j("g", null, [
6731
+ j("g", null, [
6732
+ j("path", {
6616
6733
  mode: "delta",
6617
6734
  fill: "currentColor",
6618
6735
  d: `
@@ -6628,9 +6745,9 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6628
6745
  }, null, 8, Ui)
6629
6746
  ])
6630
6747
  ]),
6631
- A("g", null, [
6632
- A("g", null, [
6633
- A("path", {
6748
+ j("g", null, [
6749
+ j("g", null, [
6750
+ j("path", {
6634
6751
  mode: "delta",
6635
6752
  fill: "currentColor",
6636
6753
  d: `
@@ -6646,9 +6763,9 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6646
6763
  }, null, 8, Wi)
6647
6764
  ])
6648
6765
  ]),
6649
- A("g", null, [
6650
- A("g", null, [
6651
- A("path", {
6766
+ j("g", null, [
6767
+ j("g", null, [
6768
+ j("path", {
6652
6769
  mode: "delta",
6653
6770
  fill: "currentColor",
6654
6771
  d: `
@@ -6664,8 +6781,8 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6664
6781
  }, null, 8, Ji)
6665
6782
  ])
6666
6783
  ]),
6667
- A("clipPath", Mi, [
6668
- A("rect", {
6784
+ j("clipPath", Mi, [
6785
+ j("rect", {
6669
6786
  x: "0",
6670
6787
  y: "0",
6671
6788
  width: n(a),
@@ -6676,7 +6793,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6676
6793
  style: { "pointer-events": "none" }
6677
6794
  }, null, 8, qi)
6678
6795
  ]),
6679
- A("rect", {
6796
+ j("rect", {
6680
6797
  class: "stroke",
6681
6798
  "clip-path": "url(#margin-outer)",
6682
6799
  x: "0",
@@ -6688,8 +6805,8 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6688
6805
  ry: "2",
6689
6806
  style: { "pointer-events": "none", "stroke-width": "2px" }
6690
6807
  }, null, 8, Hi),
6691
- A("clipPath", Gi, [
6692
- A("rect", {
6808
+ j("clipPath", Gi, [
6809
+ j("rect", {
6693
6810
  x: "36",
6694
6811
  y: "24",
6695
6812
  width: n(a) - 2 * ne + 1,
@@ -6700,7 +6817,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6700
6817
  style: { "pointer-events": "none" }
6701
6818
  }, null, 8, Ki)
6702
6819
  ]),
6703
- A("rect", {
6820
+ j("rect", {
6704
6821
  class: "stroke",
6705
6822
  "clip-path": "url(#margin-inner)",
6706
6823
  x: "36",
@@ -6713,24 +6830,24 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6713
6830
  style: { "pointer-events": "none", "stroke-width": "2px" }
6714
6831
  }, null, 8, Xi)
6715
6832
  ], 8, Li)) : E("", !0),
6716
- A("div", {
6833
+ j("div", {
6717
6834
  class: X(["spacing-edit margin-top", { "is-setting": t.styleJson["margin-top"] }]),
6718
6835
  onClick: f[4] || (f[4] = (S) => g("margin-top"))
6719
6836
  }, N(t.styleJson["margin-top"] || "-"), 3),
6720
- A("div", {
6837
+ j("div", {
6721
6838
  class: X(["spacing-edit margin-right", { "is-setting": t.styleJson["margin-right"] }]),
6722
6839
  onClick: f[5] || (f[5] = (S) => g("margin-right"))
6723
6840
  }, N(t.styleJson["margin-right"] || "-"), 3),
6724
- A("div", {
6841
+ j("div", {
6725
6842
  class: X(["spacing-edit margin-bottom", { "is-setting": t.styleJson["margin-bottom"] }]),
6726
6843
  onClick: f[6] || (f[6] = (S) => g("margin-bottom"))
6727
6844
  }, N(t.styleJson["margin-bottom"] || "-"), 3),
6728
- A("div", {
6845
+ j("div", {
6729
6846
  class: X(["spacing-edit margin-left", { "is-setting": t.styleJson["margin-left"] }]),
6730
6847
  onClick: f[7] || (f[7] = (S) => g("margin-left"))
6731
6848
  }, N(t.styleJson["margin-left"] || "-"), 3)
6732
6849
  ]),
6733
- A("div", {
6850
+ j("div", {
6734
6851
  ref_key: "inner",
6735
6852
  ref: l,
6736
6853
  class: "spacing-min-icon"
@@ -6742,9 +6859,9 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6742
6859
  height: n(r),
6743
6860
  style: { "grid-area": "1 / 1 / -1 / -1" }
6744
6861
  }, [
6745
- A("g", null, [
6746
- A("g", null, [
6747
- A("path", {
6862
+ j("g", null, [
6863
+ j("g", null, [
6864
+ j("path", {
6748
6865
  mode: "delta",
6749
6866
  fill: "currentColor",
6750
6867
  d: `
@@ -6760,9 +6877,9 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6760
6877
  }, null, 8, Yi)
6761
6878
  ])
6762
6879
  ]),
6763
- A("g", null, [
6764
- A("g", null, [
6765
- A("path", {
6880
+ j("g", null, [
6881
+ j("g", null, [
6882
+ j("path", {
6766
6883
  mode: "delta",
6767
6884
  fill: "currentColor",
6768
6885
  d: `
@@ -6778,9 +6895,9 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6778
6895
  }, null, 8, Zi)
6779
6896
  ])
6780
6897
  ]),
6781
- A("g", null, [
6782
- A("g", null, [
6783
- A("path", {
6898
+ j("g", null, [
6899
+ j("g", null, [
6900
+ j("path", {
6784
6901
  mode: "delta",
6785
6902
  fill: "currentColor",
6786
6903
  d: `
@@ -6796,9 +6913,9 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6796
6913
  }, null, 8, eu)
6797
6914
  ])
6798
6915
  ]),
6799
- A("g", null, [
6800
- A("g", null, [
6801
- A("path", {
6916
+ j("g", null, [
6917
+ j("g", null, [
6918
+ j("path", {
6802
6919
  mode: "delta",
6803
6920
  fill: "currentColor",
6804
6921
  d: `
@@ -6814,8 +6931,8 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6814
6931
  }, null, 8, tu)
6815
6932
  ])
6816
6933
  ]),
6817
- A("clipPath", nu, [
6818
- A("rect", {
6934
+ j("clipPath", nu, [
6935
+ j("rect", {
6819
6936
  x: "0",
6820
6937
  y: "0",
6821
6938
  width: n(s),
@@ -6826,7 +6943,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6826
6943
  style: { "pointer-events": "none" }
6827
6944
  }, null, 8, lu)
6828
6945
  ]),
6829
- A("rect", {
6946
+ j("rect", {
6830
6947
  class: "stroke",
6831
6948
  "clip-path": "url(#padding-outer)",
6832
6949
  x: "0",
@@ -6838,8 +6955,8 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6838
6955
  ry: "2",
6839
6956
  style: { "pointer-events": "none", "stroke-width": "2px" }
6840
6957
  }, null, 8, au),
6841
- A("clipPath", su, [
6842
- A("rect", {
6958
+ j("clipPath", su, [
6959
+ j("rect", {
6843
6960
  x: "36",
6844
6961
  y: "24",
6845
6962
  width: n(s) - 2 * ne + 1,
@@ -6850,7 +6967,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6850
6967
  style: { "pointer-events": "none" }
6851
6968
  }, null, 8, ou)
6852
6969
  ]),
6853
- A("rect", {
6970
+ j("rect", {
6854
6971
  class: "stroke",
6855
6972
  "clip-path": "url(#padding-inner)",
6856
6973
  x: "36",
@@ -6863,25 +6980,25 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6863
6980
  style: { "pointer-events": "none", "stroke-width": "2px" }
6864
6981
  }, null, 8, ru)
6865
6982
  ], 8, Qi)) : E("", !0),
6866
- A("div", {
6983
+ j("div", {
6867
6984
  class: X(["spacing-edit padding-top", { "is-setting": t.styleJson["padding-top"] }]),
6868
6985
  onClick: f[12] || (f[12] = (S) => g("padding-top"))
6869
6986
  }, N(t.styleJson["padding-top"] || "-"), 3),
6870
- A("div", {
6987
+ j("div", {
6871
6988
  class: X(["spacing-edit padding-right", { "is-setting": t.styleJson["padding-right"] }]),
6872
6989
  onClick: f[13] || (f[13] = (S) => g("padding-right"))
6873
6990
  }, N(t.styleJson["padding-right"] || "-"), 3),
6874
- A("div", {
6991
+ j("div", {
6875
6992
  class: X(["spacing-edit padding-bottom", { "is-setting": t.styleJson["padding-bottom"] }]),
6876
6993
  onClick: f[14] || (f[14] = (S) => g("padding-bottom"))
6877
6994
  }, N(t.styleJson["padding-bottom"] || "-"), 3),
6878
- A("div", {
6995
+ j("div", {
6879
6996
  class: X(["spacing-edit padding-left", { "is-setting": t.styleJson["padding-left"] }]),
6880
6997
  onClick: f[15] || (f[15] = (S) => g("padding-left"))
6881
6998
  }, N(t.styleJson["padding-left"] || "-"), 3)
6882
6999
  ], 512),
6883
7000
  (c(), D("svg", iu, f[17] || (f[17] = [
6884
- A("text", {
7001
+ j("text", {
6885
7002
  x: "6",
6886
7003
  y: "4",
6887
7004
  fill: "#a6a6a6",
@@ -6892,7 +7009,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
6892
7009
  }, " padding ", -1)
6893
7010
  ]))),
6894
7011
  (c(), D("svg", uu, f[18] || (f[18] = [
6895
- A("text", {
7012
+ j("text", {
6896
7013
  x: "6",
6897
7014
  y: "4",
6898
7015
  fill: "#a6a6a6",
@@ -7045,7 +7162,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
7045
7162
  collapsable: ""
7046
7163
  }, {
7047
7164
  default: h(() => [
7048
- A("div", pu, [
7165
+ j("div", pu, [
7049
7166
  m(n(be), {
7050
7167
  "label-width": "60px",
7051
7168
  size: "small"
@@ -7071,8 +7188,8 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
7071
7188
  }, null, 8, ["value", "onChange"]),
7072
7189
  m(n(Ze), { label: " " }, {
7073
7190
  default: h(() => [
7074
- A("div", mu, [
7075
- A("div", {
7191
+ j("div", mu, [
7192
+ j("div", {
7076
7193
  ref_key: "inner",
7077
7194
  ref: e,
7078
7195
  class: "spacing-min-icon"
@@ -7084,9 +7201,9 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
7084
7201
  height: n(a),
7085
7202
  style: { "grid-area": "1 / 1 / -1 / -1" }
7086
7203
  }, [
7087
- A("g", null, [
7088
- A("g", null, [
7089
- A("path", {
7204
+ j("g", null, [
7205
+ j("g", null, [
7206
+ j("path", {
7090
7207
  mode: "delta",
7091
7208
  fill: "currentColor",
7092
7209
  d: `
@@ -7102,9 +7219,9 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
7102
7219
  }, null, 8, gu)
7103
7220
  ])
7104
7221
  ]),
7105
- A("g", null, [
7106
- A("g", null, [
7107
- A("path", {
7222
+ j("g", null, [
7223
+ j("g", null, [
7224
+ j("path", {
7108
7225
  mode: "delta",
7109
7226
  fill: "currentColor",
7110
7227
  d: `
@@ -7120,9 +7237,9 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
7120
7237
  }, null, 8, fu)
7121
7238
  ])
7122
7239
  ]),
7123
- A("g", null, [
7124
- A("g", null, [
7125
- A("path", {
7240
+ j("g", null, [
7241
+ j("g", null, [
7242
+ j("path", {
7126
7243
  mode: "delta",
7127
7244
  fill: "currentColor",
7128
7245
  d: `
@@ -7138,9 +7255,9 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
7138
7255
  }, null, 8, hu)
7139
7256
  ])
7140
7257
  ]),
7141
- A("g", null, [
7142
- A("g", null, [
7143
- A("path", {
7258
+ j("g", null, [
7259
+ j("g", null, [
7260
+ j("path", {
7144
7261
  mode: "delta",
7145
7262
  fill: "currentColor",
7146
7263
  d: `
@@ -7156,8 +7273,8 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
7156
7273
  }, null, 8, bu)
7157
7274
  ])
7158
7275
  ]),
7159
- A("clipPath", yu, [
7160
- A("rect", {
7276
+ j("clipPath", yu, [
7277
+ j("rect", {
7161
7278
  x: "0",
7162
7279
  y: "0",
7163
7280
  width: n(l),
@@ -7168,7 +7285,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
7168
7285
  style: { "pointer-events": "none" }
7169
7286
  }, null, 8, _u)
7170
7287
  ]),
7171
- A("rect", {
7288
+ j("rect", {
7172
7289
  class: "stroke",
7173
7290
  "clip-path": "url(#margin-outer)",
7174
7291
  x: "0",
@@ -7180,8 +7297,8 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
7180
7297
  ry: "2",
7181
7298
  style: { "pointer-events": "none", "stroke-width": "2px" }
7182
7299
  }, null, 8, wu),
7183
- A("clipPath", ku, [
7184
- A("rect", {
7300
+ j("clipPath", ku, [
7301
+ j("rect", {
7185
7302
  x: "36",
7186
7303
  y: "24",
7187
7304
  width: n(l) - 2 * we + 1,
@@ -7192,7 +7309,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
7192
7309
  style: { "pointer-events": "none" }
7193
7310
  }, null, 8, Su)
7194
7311
  ]),
7195
- A("rect", {
7312
+ j("rect", {
7196
7313
  class: "stroke",
7197
7314
  "clip-path": "url(#margin-inner)",
7198
7315
  x: "36",
@@ -7205,19 +7322,19 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
7205
7322
  style: { "pointer-events": "none", "stroke-width": "2px" }
7206
7323
  }, null, 8, xu)
7207
7324
  ], 8, vu)) : E("", !0),
7208
- A("div", {
7325
+ j("div", {
7209
7326
  class: X(["spacing-edit padding-top", { "is-setting": t.styleJson.top }]),
7210
7327
  onClick: f[4] || (f[4] = (S) => v("top"))
7211
7328
  }, N(t.styleJson.top || d.value[0] || "-"), 3),
7212
- A("div", {
7329
+ j("div", {
7213
7330
  class: X(["spacing-edit padding-right", { "is-setting": t.styleJson.right }]),
7214
7331
  onClick: f[5] || (f[5] = (S) => v("right"))
7215
7332
  }, N(t.styleJson.right || d.value[1] || "-"), 3),
7216
- A("div", {
7333
+ j("div", {
7217
7334
  class: X(["spacing-edit padding-bottom", { "is-setting": t.styleJson.bottom }]),
7218
7335
  onClick: f[6] || (f[6] = (S) => v("bottom"))
7219
7336
  }, N(t.styleJson.bottom || d.value[2] || "-"), 3),
7220
- A("div", {
7337
+ j("div", {
7221
7338
  class: X(["spacing-edit padding-left", { "is-setting": t.styleJson.left }]),
7222
7339
  onClick: f[7] || (f[7] = (S) => v("left"))
7223
7340
  }, N(t.styleJson.left || d.value[3] || "-"), 3)
@@ -7307,8 +7424,8 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
7307
7424
  ]
7308
7425
  }
7309
7426
  ], l = [
7310
- { label: "左", value: "left", svg: As },
7311
- { label: "中", value: "center", svg: js },
7427
+ { label: "左", value: "left", svg: js },
7428
+ { label: "中", value: "center", svg: As },
7312
7429
  { label: "右", value: "right", svg: Es },
7313
7430
  { label: "两端", value: "justify", svg: Ds }
7314
7431
  ], a = [
@@ -7394,7 +7511,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
7394
7511
  _: 1
7395
7512
  }));
7396
7513
  }
7397
- }), Au = /* @__PURE__ */ I({
7514
+ }), ju = /* @__PURE__ */ I({
7398
7515
  __name: "backgound",
7399
7516
  props: {
7400
7517
  styleJson: {},
@@ -7505,7 +7622,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
7505
7622
  _: 1
7506
7623
  }));
7507
7624
  }
7508
- }), ju = /* @__PURE__ */ I({
7625
+ }), Au = /* @__PURE__ */ I({
7509
7626
  __name: "border",
7510
7627
  props: {
7511
7628
  styleJson: {},
@@ -7713,7 +7830,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
7713
7830
  isStyleCodeMode: { type: Boolean }
7714
7831
  },
7715
7832
  setup(u) {
7716
- const t = u, { selected: e } = Ae(), l = x(() => {
7833
+ const t = u, { selected: e } = je(), l = x(() => {
7717
7834
  const i = e.value?.model || null;
7718
7835
  return oe(i) ? null : i;
7719
7836
  }), a = x(() => l.value?.getPropValue("style") || {}), o = x(() => qt(a.value)), s = x(() => He(a.value)), r = (i, p) => {
@@ -7758,12 +7875,12 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
7758
7875
  "style-json": o.value,
7759
7876
  setStyle: r
7760
7877
  }, null, 8, ["style-json"])),
7761
- (c(), _(Au, {
7878
+ (c(), _(ju, {
7762
7879
  key: `Backgound${l.value?.id}`,
7763
7880
  "style-json": o.value,
7764
7881
  setStyle: r
7765
7882
  }, null, 8, ["style-json"])),
7766
- (c(), _(ju, {
7883
+ (c(), _(Au, {
7767
7884
  key: `Border${l.value?.id}`,
7768
7885
  "style-json": o.value,
7769
7886
  setStyle: r
@@ -7828,7 +7945,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
7828
7945
  inheritAttrs: !1,
7829
7946
  __name: "index",
7830
7947
  setup(u) {
7831
- const { selected: t, designer: e } = Ae(), l = x(() => (t.value?.path || []).slice(0).reverse()), a = (s) => {
7948
+ const { selected: t, designer: e } = je(), l = x(() => (t.value?.path || []).slice(0).reverse()), a = (s) => {
7832
7949
  e.value?.setSelected(s);
7833
7950
  }, o = (s) => {
7834
7951
  e.value?.setHover(s);
@@ -7996,28 +8113,28 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
7996
8113
  l?.clear(), location.reload();
7997
8114
  };
7998
8115
  return (p, d) => (c(), D("div", Fu, [
7999
- A("div", Lu, [
8000
- A("div", Nu, [
8116
+ j("div", Lu, [
8117
+ j("div", Nu, [
8001
8118
  m(n(Bl), {
8002
8119
  value: n(a),
8003
8120
  title: "最新版本",
8004
8121
  hidden: n(a) === n(St)
8005
8122
  }, {
8006
8123
  default: h(() => [
8007
- A("img", { src: n(bl) }, null, 8, Uu)
8124
+ j("img", { src: n(bl) }, null, 8, Uu)
8008
8125
  ]),
8009
8126
  _: 1
8010
8127
  }, 8, ["value", "hidden"])
8011
8128
  ]),
8012
- d[1] || (d[1] = A("div", { class: "v-about-widget__name" }, "VTJ.PRO", -1)),
8013
- A("div", Wu, [
8129
+ d[1] || (d[1] = j("div", { class: "v-about-widget__name" }, "VTJ.PRO", -1)),
8130
+ j("div", Wu, [
8014
8131
  d[0] || (d[0] = J(" 版本: ")),
8015
- A("span", null, N(n(St)), 1)
8132
+ j("span", null, N(n(St)), 1)
8016
8133
  ])
8017
8134
  ]),
8018
8135
  m(n(Ne), { direction: "vertical" }),
8019
- A("div", Ju, [
8020
- A("div", Mu, [
8136
+ j("div", Ju, [
8137
+ j("div", Mu, [
8021
8138
  m(n(Un), {
8022
8139
  size: 80,
8023
8140
  icon: n(il),
@@ -8025,8 +8142,8 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
8025
8142
  class: "v-about-widget__avatar"
8026
8143
  }, null, 8, ["icon", "src"])
8027
8144
  ]),
8028
- A("div", qu, N(s.value), 1),
8029
- A("div", Hu, [
8145
+ j("div", qu, N(s.value), 1),
8146
+ j("div", Hu, [
8030
8147
  r.value ? (c(), _(n(Z), {
8031
8148
  key: 0,
8032
8149
  size: "small",
@@ -8449,7 +8566,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
8449
8566
  ref: "panel"
8450
8567
  }, {
8451
8568
  default: h(() => [
8452
- A("iframe", Yu, null, 512)
8569
+ j("iframe", Yu, null, 512)
8453
8570
  ]),
8454
8571
  _: 1
8455
8572
  }, 512));
@@ -8490,7 +8607,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
8490
8607
  confirmButtonText: "立即登录"
8491
8608
  }
8492
8609
  ).catch(() => !1) && a();
8493
- }, V = (T) => T.share ? !1 : T.userId === r?.getData()?.id, j = async (T) => {
8610
+ }, V = (T) => T.share ? !1 : T.userId === r?.getData()?.id, A = async (T) => {
8494
8611
  await Ie.confirm("确定删除该模版?", "提示", {
8495
8612
  type: "warning"
8496
8613
  }).catch(() => !1) && (await d(T.id), i());
@@ -8506,7 +8623,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
8506
8623
  onRefresh: n(i)
8507
8624
  }, {
8508
8625
  default: h(() => [
8509
- A("div", ec, [
8626
+ j("div", ec, [
8510
8627
  m(n(ve), {
8511
8628
  size: "small",
8512
8629
  modelValue: v.value,
@@ -8516,7 +8633,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
8516
8633
  clearable: ""
8517
8634
  }, null, 8, ["modelValue", "prefix-icon"])
8518
8635
  ]),
8519
- m(n(jt), {
8636
+ m(n(At), {
8520
8637
  items: f.value,
8521
8638
  modelValue: g.value,
8522
8639
  "onUpdate:modelValue": $[1] || ($[1] = (B) => g.value = B),
@@ -8569,17 +8686,17 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
8569
8686
  mode: "icon",
8570
8687
  size: "small",
8571
8688
  type: "danger",
8572
- onClick: (Y) => j(L)
8689
+ onClick: (Y) => A(L)
8573
8690
  }, null, 8, ["icon", "onClick"])) : E("", !0),
8574
8691
  m(n(Bn), {
8575
8692
  src: L.cover,
8576
8693
  fit: "contain"
8577
8694
  }, null, 8, ["src"]),
8578
- A("div", tc, [
8579
- A("span", nc, N(L.name), 1),
8580
- A("span", lc, N(L.label), 1)
8695
+ j("div", tc, [
8696
+ j("span", nc, N(L.name), 1),
8697
+ j("span", lc, N(L.label), 1)
8581
8698
  ]),
8582
- A("div", ac, [
8699
+ j("div", ac, [
8583
8700
  m(n(Z), {
8584
8701
  class: "v-templates-widgets__download",
8585
8702
  icon: n(Jt),
@@ -9826,7 +9943,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
9826
9943
  onChange: r
9827
9944
  }, i.$attrs), null, 16, ["unit", "with-unit", "modelValue"]));
9828
9945
  }
9829
- }), Vc = { class: "v-image-setter__plus" }, Ac = /* @__PURE__ */ I({
9946
+ }), Vc = { class: "v-image-setter__plus" }, jc = /* @__PURE__ */ I({
9830
9947
  name: "ImageSetter",
9831
9948
  __name: "image",
9832
9949
  props: {
@@ -9863,14 +9980,14 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
9863
9980
  "on-remove": r
9864
9981
  }, i.$attrs), {
9865
9982
  default: h(() => [
9866
- A("span", Vc, [
9983
+ j("span", Vc, [
9867
9984
  m(n(Ue), { icon: n(ro) }, null, 8, ["icon"])
9868
9985
  ])
9869
9986
  ]),
9870
9987
  _: 1
9871
9988
  }, 16, ["class", "file-list"]));
9872
9989
  }
9873
- }), jc = { class: "v-section-setter" }, Ec = /* @__PURE__ */ I({
9990
+ }), Ac = { class: "v-section-setter" }, Ec = /* @__PURE__ */ I({
9874
9991
  name: "SectionSetter",
9875
9992
  __name: "section",
9876
9993
  props: {
@@ -9890,7 +10007,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
9890
10007
  const o = () => {
9891
10008
  l("change", a.value.join(" ").trim());
9892
10009
  };
9893
- return (s, r) => (c(), D("div", jc, [
10010
+ return (s, r) => (c(), D("div", Ac, [
9894
10011
  (c(!0), D(z, null, U(e.sections, (i) => (c(), _(wl, {
9895
10012
  name: i - 1,
9896
10013
  modelValue: a.value[i - 1],
@@ -10226,7 +10343,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
10226
10343
  onFocus: g
10227
10344
  }, {
10228
10345
  prepend: h(() => [
10229
- A("i", {
10346
+ j("i", {
10230
10347
  class: X([`van-icon-${r.value}`, "van-icon"])
10231
10348
  }, null, 2)
10232
10349
  ]),
@@ -10258,7 +10375,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
10258
10375
  })
10259
10376
  ]),
10260
10377
  default: h(() => [
10261
- A("div", Tc, [
10378
+ j("div", Tc, [
10262
10379
  m(n(ve), {
10263
10380
  size: l.size,
10264
10381
  "prefix-icon": n(Ge),
@@ -10268,8 +10385,8 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
10268
10385
  placeholder: "请输入查询关键字",
10269
10386
  class: "van-icon-setter__input"
10270
10387
  }, null, 8, ["size", "prefix-icon", "modelValue"]),
10271
- A("div", Pc, [
10272
- A("div", Rc, [
10388
+ j("div", Pc, [
10389
+ j("div", Rc, [
10273
10390
  (c(!0), D(z, null, U(i.value, (S) => (c(), D("i", {
10274
10391
  onClick: (y) => p(S),
10275
10392
  class: X([
@@ -10304,7 +10421,7 @@ const xr = { class: "v-icon-setter" }, Cr = { class: "v-icon-setter__content" },
10304
10421
  RadioSetter: Sc,
10305
10422
  TagSetter: Cc,
10306
10423
  SizeSetter: wl,
10307
- ImageSetter: Ac,
10424
+ ImageSetter: jc,
10308
10425
  SectionSetter: Ec,
10309
10426
  SliderSetter: Ic,
10310
10427
  FileSetter: cn,
@@ -10973,7 +11090,7 @@ class Hc {
10973
11090
  this.draggingNode = t;
10974
11091
  }
10975
11092
  async setHover(t) {
10976
- if (await je(), t) {
11093
+ if (await Ae(), t) {
10977
11094
  const e = this.getElmenetByModel(t);
10978
11095
  if (!e) return;
10979
11096
  const l = e.getBoundingClientRect(), a = oe(t) ? [] : this.findPathByNode(t);
@@ -10988,7 +11105,7 @@ class Hc {
10988
11105
  this.hover.value = null;
10989
11106
  }
10990
11107
  async setSelected(t) {
10991
- if (await je(), t) {
11108
+ if (await Ae(), t) {
10992
11109
  const e = this.getElmenetByModel(t) || this.document?.createElement("span");
10993
11110
  if (!e) return;
10994
11111
  const l = e.getBoundingClientRect(), a = oe(t) ? [] : this.findPathByNode(t);
@@ -11003,7 +11120,7 @@ class Hc {
11003
11120
  this.selected.value = null;
11004
11121
  }
11005
11122
  async setDropping(t, e = "inner") {
11006
- if (await je(), t) {
11123
+ if (await Ae(), t) {
11007
11124
  const l = this.getElmenetByModel(t);
11008
11125
  if (!l) return;
11009
11126
  const a = l.getBoundingClientRect(), o = oe(t) ? [] : this.findPathByNode(t);
@@ -11291,21 +11408,21 @@ class Kc extends Hn {
11291
11408
  ), p.value && (this.renderer.render(p.value, v.value?.currentFile), this.rendered.value = Symbol()), this.triggerReady();
11292
11409
  }
11293
11410
  createEnv(e = [], l = {}, a = [], o = {}) {
11294
- const s = this.contentWindow, { engine: r } = this, { project: i, assets: p, provider: d } = r, v = e.reduce((V, j) => (V[j] = s[j], V), {}), g = {};
11295
- Object.entries(o).forEach(([V, j]) => {
11296
- g[V] = s[j];
11411
+ const s = this.contentWindow, { engine: r } = this, { project: i, assets: p, provider: d } = r, v = e.reduce((V, A) => (V[A] = s[A], V), {}), g = {};
11412
+ Object.entries(o).forEach(([V, A]) => {
11413
+ g[V] = s[A];
11297
11414
  });
11298
11415
  const b = {}, { groups: f, componentMap: S } = p;
11299
11416
  for (const V of f.value) {
11300
- const j = V.names || [];
11417
+ const A = V.names || [];
11301
11418
  if (V.name === wt)
11302
- j.forEach((T) => {
11419
+ A.forEach((T) => {
11303
11420
  const $ = S.get(T), B = $?.package || "", P = sa[B], L = v[P];
11304
11421
  L && $ && (b[T] = bn($, L));
11305
11422
  });
11306
11423
  else {
11307
11424
  const T = v[l[V.library || ""]];
11308
- T && j.forEach(($) => {
11425
+ T && A.forEach(($) => {
11309
11426
  const B = S.get($);
11310
11427
  B ? b[$] = bn(B, T) : b[$] = T[$];
11311
11428
  });
@@ -11479,7 +11596,7 @@ class Fd extends Hn {
11479
11596
  access: b,
11480
11597
  remote: f = "https://lcdp.vtj.pro"
11481
11598
  } = this.options;
11482
- this.container = l, this.service = a, this.adapter = v, this.provider = new Aa({
11599
+ this.container = l, this.service = a, this.adapter = v, this.provider = new ja({
11483
11600
  mode: Kn.Design,
11484
11601
  globals: s,
11485
11602
  project: o,
@@ -11493,7 +11610,7 @@ class Fd extends Hn {
11493
11610
  }), this.assets = new Xc(this.service, this.provider), this.simulator = new Kc({
11494
11611
  engine: this,
11495
11612
  materialPath: p
11496
- }), this.access = b || new ja({ alert: zo, ...Vo }), this.remote = f, this.bindEvents(), this.init(o).then(this.render.bind(this)), $n(this.dispose.bind(this));
11613
+ }), this.access = b || new Aa({ alert: zo, ...Vo }), this.remote = f, this.bindEvents(), this.init(o).then(this.render.bind(this)), $n(this.dispose.bind(this));
11497
11614
  }
11498
11615
  async init(e) {
11499
11616
  const l = await this.service.init(e).catch((a) => (Oe.warn("VTJEngine service init fail.", a), null));
@@ -11516,7 +11633,7 @@ class Fd extends Hn {
11516
11633
  ie.on(ra, (e) => this.saveProject(e)), ie.on(ia, (e) => this.saveBlockFile(e)), ie.on(ua, (e) => this.saveBlockFile(e)), ie.on(ca, () => this.saveMaterials()), ie.on(Ut, (e) => this.activeFile(e)), ie.on(da, () => this.publish()), ie.on(pa, () => this.publishCurrent()), ie.on(Wt, (e) => this.changeFile(e)), ie.on(it, () => this.changeCurrentFile()), ie.on(ma, (e) => this.saveHistory(e)), ie.on(va, (e) => this.loadHistory(e)), ie.on(ga, () => this.genSource());
11517
11634
  }
11518
11635
  async activeFile(e) {
11519
- await je();
11636
+ await Ae();
11520
11637
  const l = e.model, a = e.model.currentFile;
11521
11638
  if (a) {
11522
11639
  if (l.isPageFile(a) && a.raw)
@@ -11532,7 +11649,7 @@ class Fd extends Hn {
11532
11649
  ze(this.project);
11533
11650
  }
11534
11651
  async changeFile(e) {
11535
- await je();
11652
+ await Ae();
11536
11653
  const l = e.toDsl();
11537
11654
  this.service.saveFile(l, this.project.value?.toDsl()), this.updateCurrent(e), this.history.value?.add(l), ze(this.history);
11538
11655
  }
@@ -11540,7 +11657,7 @@ class Fd extends Hn {
11540
11657
  this.saveCurrentFile(), this.current.value && (this.history.value?.add(this.current.value.toDsl()), ze(this.history));
11541
11658
  }
11542
11659
  async updateCurrent(e, l = !0) {
11543
- this.current.value = e, await je(), this.context.value = this.simulator.renderer?.context || null, this.isEmptyCurrent.value = this.current.value?.nodes.length === 0, this.changed.value = Symbol(), l && ze(this.context);
11660
+ this.current.value = e, await Ae(), this.context.value = this.simulator.renderer?.context || null, this.isEmptyCurrent.value = this.current.value?.nodes.length === 0, this.changed.value = Symbol(), l && ze(this.context);
11544
11661
  }
11545
11662
  async saveProject(e) {
11546
11663
  const a = e.model.toDsl();
@@ -11576,7 +11693,7 @@ class Fd extends Hn {
11576
11693
  this.emitter.on(Ft, l);
11577
11694
  }
11578
11695
  async saveMaterials() {
11579
- await je(), this.simulator.ready(() => {
11696
+ await Ae(), this.simulator.ready(() => {
11580
11697
  const e = this.project.value;
11581
11698
  if (e) {
11582
11699
  const l = this.assets.componentMap;
@@ -12138,7 +12255,7 @@ const Fe = I({
12138
12255
  }, N(e.label || e.name), 9, Zc))
12139
12256
  ]),
12140
12257
  default: h(() => [
12141
- A("div", ed, [
12258
+ j("div", ed, [
12142
12259
  s.value ? (c(), D("div", td, [
12143
12260
  i.value ? E("", !0) : (c(), _(En(s.value.component), ce({
12144
12261
  key: 0,
@@ -12166,7 +12283,7 @@ const Fe = I({
12166
12283
  _: 1
12167
12284
  })) : E("", !0)
12168
12285
  ])) : E("", !0),
12169
- A("div", nd, [
12286
+ j("div", nd, [
12170
12287
  e.variable ? (c(), _(n(uo), {
12171
12288
  key: 0,
12172
12289
  onClick: b,
@@ -12332,8 +12449,8 @@ const Fe = I({
12332
12449
  v.value = w, g.value = w;
12333
12450
  }
12334
12451
  }), (y, w) => (c(), D("div", vd, [
12335
- A("div", gd, [
12336
- A("div", fd, [
12452
+ j("div", gd, [
12453
+ j("div", fd, [
12337
12454
  (c(!0), D(z, null, U(i.value, (k) => (c(), _(n(xn), {
12338
12455
  key: `icon-${k.name}`,
12339
12456
  icon: k.icon,
@@ -12343,7 +12460,7 @@ const Fe = I({
12343
12460
  onClick: (V) => b(k)
12344
12461
  }, null, 8, ["icon", "label", "active", "open", "onClick"]))), 128))
12345
12462
  ]),
12346
- A("div", hd, [
12463
+ j("div", hd, [
12347
12464
  (c(!0), D(z, null, U(p.value, (k) => (c(), _(n(xn), {
12348
12465
  key: `icon-${k.name}`,
12349
12466
  icon: k.icon,
@@ -12352,7 +12469,7 @@ const Fe = I({
12352
12469
  }, null, 8, ["icon", "label", "onClick"]))), 128))
12353
12470
  ])
12354
12471
  ]),
12355
- A("div", bd, [
12472
+ j("div", bd, [
12356
12473
  (c(!0), D(z, null, U(i.value, (k) => (c(), _(Pn, {
12357
12474
  key: k.name
12358
12475
  }, [
@@ -12398,7 +12515,7 @@ const Fe = I({
12398
12515
  const k = s.find((V) => V.name === w.name);
12399
12516
  k && k.closable && (k.checked = !k.checked, k.checked && (p.value = k.name), !k.checked && p.value === k.name && (p.value = r.value[0]?.name));
12400
12517
  }, f = (w, k = {}) => {
12401
- const V = s.find((j) => j.name === w);
12518
+ const V = s.find((A) => A.name === w);
12402
12519
  V && (V.props = Object.assign({}, V.props, k), V.checked = !0, p.value = V.name);
12403
12520
  }, S = (w) => {
12404
12521
  if (a.value) {
@@ -12454,7 +12571,7 @@ const Fe = I({
12454
12571
  region: {}
12455
12572
  },
12456
12573
  setup(u, { expose: t }) {
12457
- const e = u, l = de(), { current: a } = ge(), { selected: o, isSelectBlock: s } = Ae(), r = x(
12574
+ const e = u, l = de(), { current: a } = ge(), { selected: o, isSelectBlock: s } = je(), r = x(
12458
12575
  () => s.value ? Ce.Block : Ce.Node
12459
12576
  ), { widgets: i, widgetsRef: p } = We(e.region, r), d = C(), v = C(!1), g = x(() => i.value.map((y) => ({
12460
12577
  name: y.name,
@@ -12512,9 +12629,9 @@ const Fe = I({
12512
12629
  m(n(G), { class: "v-settings-region__title" }, {
12513
12630
  default: h(() => [
12514
12631
  m(n(ol)),
12515
- A("span", null, [
12632
+ j("span", null, [
12516
12633
  J(N(n(o)?.model.name) + ": ", 1),
12517
- A("i", null, N(n(o)?.model.id), 1)
12634
+ j("i", null, N(n(o)?.model.id), 1)
12518
12635
  ])
12519
12636
  ]),
12520
12637
  _: 1
@@ -12678,7 +12795,7 @@ export {
12678
12795
  _n as PAD_SIZE,
12679
12796
  H as Panel,
12680
12797
  Od as REMOTE,
12681
- Ao as RegionType,
12798
+ jo as RegionType,
12682
12799
  Fe as RegionWrapper,
12683
12800
  Gc as Renderer,
12684
12801
  Ft as SAVE_BLOCK_FILE_FINISH,