@vtj/designer 0.8.78 → 0.8.79
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 +611 -611
- package/package.json +6 -6
- package/types/framework/designer.d.ts +1 -0
- package/types/version.d.ts +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { computed as S, unref as n, ref as k, reactive as qe, watchEffect as Jn, watch as q, toValue as pt, defineComponent as E, openBlock as d, createElementBlock as A, toDisplayString as z, createVNode as
|
|
1
|
+
import { computed as S, unref as n, ref as k, reactive as qe, watchEffect as Jn, watch as q, toValue as pt, defineComponent as E, openBlock as d, createElementBlock as A, toDisplayString as z, createVNode as v, withCtx as h, createElementVNode as V, createBlock as y, createCommentVNode as j, createTextVNode as G, Fragment as T, renderList as N, normalizeClass as H, resolveDynamicComponent as Yt, createSlots as Mn, withDirectives as Ee, vShow as Ie, renderSlot as Se, withModifiers as Ne, readonly as Ln, getCurrentScope as Un, onScopeDispose as qn, onMounted as et, nextTick as we, getCurrentInstance as Zt, toRaw as Hn, isRef as mt, mergeProps as re, normalizeStyle as Xe, defineAsyncComponent as Gn, h as Te, inject as xt, provide as Xn, normalizeProps as en, guardReactiveProps as tn, withKeys as Qe, onUnmounted as nn, markRaw as vt, createApp as ln, shallowRef as gt, shallowReactive as Qn, triggerRef as Ae, KeepAlive as an } from "vue";
|
|
2
2
|
import { ElNotification as Ct, ElMessageBox as Vt, ElMessage as tt, ElButton as ae, ElDivider as At, ElRadioGroup as sn, ElRadioButton as Ke, ElButtonGroup as Kn, ElDropdown as on, ElDropdownMenu as rn, ElDropdownItem as ft, ElInput as ye, ElEmpty as se, ElTooltip as un, ElTag as Yn, ElSwitch as cn, ElTree as jt, ElAlert as dn, ElRow as ht, ElCol as bt, ElCollapse as Zn, ElCollapseItem as el, ElDrawer as pn, ElForm as ge, ElFormItem as mn, ElBreadcrumb as tl, ElBreadcrumbItem as nl, ElLoading as ll, ElSelect as al, ElOption as sl, ElInputNumber as ol, ElColorPicker as rl, ElUpload as il, ElSlider as ul, ElConfigProvider as cl, ElContainer as Ot, ElHeader as dl, ElAside as Ft, ElMain as pl, ElFooter as ml } from "element-plus";
|
|
3
3
|
import vl from "element-plus/es/locale/lang/zh-cn";
|
|
4
4
|
import { XIcon as xe, XDialog as Be, XDialogForm as Ve, XField as B, XPanel as nt, XAction as he, XTabs as Et, XContainer as M, XForm as Pt, XAttachment as gl, XActionBar as fl, XInputUnit as vn, vResizable as Nt, createDialog as hl } from "@vtj/ui";
|
|
5
5
|
import { delay as gn, upperFirstCamelCase as fn, toRawType as ut, cloneDeep as lt, logger as Ce, isPlainObject as bl, fileToBase64 as yl, merge as Dt, arrayToMap as _l, toArray as wl } from "@vtj/utils";
|
|
6
|
-
import { isBlock as ee, DirectiveModel as hn, createNodeFrom as kl, BUILT_IN_VUE as Sl, BUILT_IN_VUE_ROUTER as xl, BUILT_IN_NAME as yt, emitter as te, EVENT_PROJECT_ACTIVED as _t, EVENT_NODE_CHANGE as Je, NodeModel as Wt, EVENT_BLOCK_CHANGE as wt, Base as bn, BUILT_IN_LIBRARAY_MAP as Cl, ProjectModel as Vl, EVENT_PROJECT_CHANGE as Al, EVENT_PROJECT_BLOCKS_CHANGE as jl, EVENT_PROJECT_PAGES_CHANGE as El, EVENT_PROJECT_DEPS_CHANGE as Pl, EVENT_PROJECT_PUBLISH as Dl, EVENT_PROJECT_FILE_PUBLISH as Il, EVENT_HISTORY_CHANGE as Bl, EVENT_HISTORY_LOAD as Rl, BlockModel as Jt, HistoryModel as
|
|
7
|
-
import { parseExpression as Me, parseFunction as
|
|
8
|
-
import { VtjIconBack as ql, VtjIconPc as Hl, VtjIconPhone as Gl, VtjIconPad as Xl, VtjIconUndo as Ql, VtjIconRedo as Kl, VtjIconPreview as Yl, VtjIconRefresh as Zl, VtjIconSetting as _n, icons as kt, ArrowDown as wn, Search as It, Back as ea, VtjIconPlus as kn, EditPen as ta, Delete as na, VtjIconSave as la, ArrowUp as aa, MoreFilled as Bt, VtjIconCheck as Sn, VtjIconCopy as xn, VtjIconEdit as Cn, VtjIconRemove as at, VtjIconLock as Vn, VtjIconUnlock as sa, VtjIconInvisible as An, VtjIconVisible as oa, VtjIconHome as ra, Files as ia, VtjIconSearch as ua, VtjIconHelp as jn, VtjIconLayers as En, Rank as ca, VtjIconArrowUp as da, VtjIconArrowDown as pa, IconDisplayBlock as ma, IconDisplayFlex as va, IconDisplayInlineBlock as ga, IconDisplayInline as fa, IconEyeInvisible as ha, IconFlexDirectionrow as ba, IconFlexDirectionrowReverse as ya, IconFlexDirectioncolumn as _a, IconFlexDirectioncolumnReverse as wa, IconFlexJustifyflexStartrow as ka, IconFlexJustifyflexEndrow as Sa, IconFlexJustifycenterrow as xa, IconFlexJustifyspaceBetweenrow as Ca, IconFlexJustifyspaceAroundrow as Va, IconFlexAlignflexStartrow as Aa, IconFlexAlignflexEndrow as ja, IconFlexAligncenterrow as Ea, IconFlexAlignbaselinerow as Pa, IconFlexAlignstretchrow as Da, IconPositionTopLeft as Ia, IconPositionTopRight as Ba, IconPositionBottomLeft as Ra, IconPositionBottomRight as
|
|
6
|
+
import { isBlock as ee, DirectiveModel as hn, createNodeFrom as kl, BUILT_IN_VUE as Sl, BUILT_IN_VUE_ROUTER as xl, BUILT_IN_NAME as yt, emitter as te, EVENT_PROJECT_ACTIVED as _t, EVENT_NODE_CHANGE as Je, NodeModel as Wt, EVENT_BLOCK_CHANGE as wt, Base as bn, BUILT_IN_LIBRARAY_MAP as Cl, ProjectModel as Vl, EVENT_PROJECT_CHANGE as Al, EVENT_PROJECT_BLOCKS_CHANGE as jl, EVENT_PROJECT_PAGES_CHANGE as El, EVENT_PROJECT_DEPS_CHANGE as Pl, EVENT_PROJECT_PUBLISH as Dl, EVENT_PROJECT_FILE_PUBLISH as Il, EVENT_HISTORY_CHANGE as Bl, EVENT_HISTORY_LOAD as Rl, BlockModel as Jt, HistoryModel as $l } from "@vtj/core";
|
|
7
|
+
import { parseExpression as Me, parseFunction as Tl, JSCodeToString as ze, LIFE_CYCLES_LIST as zl, DATA_TYPES as Ol, isJSExpression as Le, ContextMode as yn, parseDeps as Fl, createAssetsCss as Nl, createAssetScripts as Mt, getRawComponent as Lt, createSchemaApis as Wl, mockCleanup as Jl, mockApis as Ml, Provider as Ll, isJSFunction as Ul } from "@vtj/renderer";
|
|
8
|
+
import { VtjIconBack as ql, VtjIconPc as Hl, VtjIconPhone as Gl, VtjIconPad as Xl, VtjIconUndo as Ql, VtjIconRedo as Kl, VtjIconPreview as Yl, VtjIconRefresh as Zl, VtjIconSetting as _n, icons as kt, ArrowDown as wn, Search as It, Back as ea, VtjIconPlus as kn, EditPen as ta, Delete as na, VtjIconSave as la, ArrowUp as aa, MoreFilled as Bt, VtjIconCheck as Sn, VtjIconCopy as xn, VtjIconEdit as Cn, VtjIconRemove as at, VtjIconLock as Vn, VtjIconUnlock as sa, VtjIconInvisible as An, VtjIconVisible as oa, VtjIconHome as ra, Files as ia, VtjIconSearch as ua, VtjIconHelp as jn, VtjIconLayers as En, Rank as ca, VtjIconArrowUp as da, VtjIconArrowDown as pa, IconDisplayBlock as ma, IconDisplayFlex as va, IconDisplayInlineBlock as ga, IconDisplayInline as fa, IconEyeInvisible as ha, IconFlexDirectionrow as ba, IconFlexDirectionrowReverse as ya, IconFlexDirectioncolumn as _a, IconFlexDirectioncolumnReverse as wa, IconFlexJustifyflexStartrow as ka, IconFlexJustifyflexEndrow as Sa, IconFlexJustifycenterrow as xa, IconFlexJustifyspaceBetweenrow as Ca, IconFlexJustifyspaceAroundrow as Va, IconFlexAlignflexStartrow as Aa, IconFlexAlignflexEndrow as ja, IconFlexAligncenterrow as Ea, IconFlexAlignbaselinerow as Pa, IconFlexAlignstretchrow as Da, IconPositionTopLeft as Ia, IconPositionTopRight as Ba, IconPositionBottomLeft as Ra, IconPositionBottomRight as $a, IconPositionLeft as Ta, IconPositionRight as za, IconPositionTop as Oa, IconPositionBottom as Fa, IconPositionAll as Na, IconTextAlignLeft as Wa, IconTextAlignCenter as Ja, IconTextAlignRight as Ma, IconTextAlignJustify as La, IconFontStyleNone as Ua, IconFontStyleItalic as qa, IconCross as Pn, IconTextDecorationUnderline as Ha, IconTextDecorationStrike as Ga, IconTextDecorationOverline as Xa, IconTileXy as Qa, IconTileX as Ka, IconTileY as Ya, IconClose as Za, IconBorderAll as es, IconBorderLeft as ts, IconBorderTop as ns, IconBorderBottom as ls, IconBorderRight as as, IconBorderStyleSolid as ss, IconBorderStyleDashed as os, IconBorderStyleDotted as rs, IconCursorAuto as is, IconCursorPointer as us, IconCursorNotAllowed as cs, IconCursorNone as ds, ArrowRight as ps, VtjIconDocument as ms, VtjIconComponents as vs, VtjIconBlock as gs, VtjIconOutline as fs, VtjIconHistory as hs, VtjIconApi as bs, VtjIconCategory as ys, VtjIconInfo as _s, HomeFilled as ws, Plus as ks, Close as Ss, VtjIconVars as xs, VtjIconSwitch as Cs, Switch as Vs } from "@vtj/icons";
|
|
9
9
|
import As from "mockjs";
|
|
10
10
|
/**!
|
|
11
11
|
* Copyright (c) 2024, VTJ.PRO All rights reserved.
|
|
12
12
|
* @name @vtj/designer
|
|
13
13
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
14
|
-
* @version 0.8.
|
|
14
|
+
* @version 0.8.79
|
|
15
15
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
16
16
|
*/
|
|
17
|
-
const js = "0.8.
|
|
17
|
+
const js = "0.8.79", Ut = {
|
|
18
18
|
width: 390,
|
|
19
19
|
height: 844
|
|
20
20
|
}, qt = {
|
|
@@ -78,36 +78,36 @@ function Rs() {
|
|
|
78
78
|
blocks: e
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
|
-
const
|
|
82
|
-
function
|
|
81
|
+
const $s = (u = []) => u.map((e) => e.name);
|
|
82
|
+
function Ts() {
|
|
83
83
|
const u = ce(), { components: e, groups: t, componentMap: l } = u.assets, a = qe({}), o = S(() => {
|
|
84
|
-
const
|
|
84
|
+
const m = {};
|
|
85
85
|
return t.value && t.value.forEach((f) => {
|
|
86
|
-
|
|
87
|
-
}),
|
|
88
|
-
}), s = S(() => t.value ? t.value.map((
|
|
89
|
-
label: `${
|
|
90
|
-
name:
|
|
91
|
-
disabled: !
|
|
86
|
+
m[f.name] = f;
|
|
87
|
+
}), m;
|
|
88
|
+
}), s = S(() => t.value ? t.value.map((m) => ({
|
|
89
|
+
label: `${m.label} (${m.count})`,
|
|
90
|
+
name: m.name,
|
|
91
|
+
disabled: !m.children?.length
|
|
92
92
|
})) : []), r = k(s.value[0]?.name), i = k(""), g = S(() => o.value[r.value]);
|
|
93
93
|
Jn(() => {
|
|
94
|
-
const
|
|
95
|
-
(f, b) => (f[b.name] =
|
|
94
|
+
const m = s.value.reduce(
|
|
95
|
+
(f, b) => (f[b.name] = $s(
|
|
96
96
|
o.value[b.name].children
|
|
97
97
|
), f),
|
|
98
98
|
{}
|
|
99
99
|
);
|
|
100
|
-
Object.assign(a,
|
|
100
|
+
Object.assign(a, m);
|
|
101
101
|
}), q(
|
|
102
102
|
s,
|
|
103
|
-
(
|
|
104
|
-
|
|
103
|
+
(m) => {
|
|
104
|
+
m.length && !r.value && (r.value = m[0].name);
|
|
105
105
|
},
|
|
106
106
|
{ immediate: !0 }
|
|
107
107
|
);
|
|
108
108
|
const p = S(() => {
|
|
109
|
-
const
|
|
110
|
-
return !
|
|
109
|
+
const m = i.value.toLowerCase();
|
|
110
|
+
return !m || !e ? [] : e.filter((f) => f.name.toLowerCase().includes(m) || f.label?.toLowerCase().includes(m));
|
|
111
111
|
});
|
|
112
112
|
return {
|
|
113
113
|
components: e,
|
|
@@ -205,40 +205,40 @@ function Ns(u, e) {
|
|
|
205
205
|
const t = k(""), { selected: l, isSelectBlock: a } = ke(), o = S(() => l.value?.model.id), s = S(() => {
|
|
206
206
|
const i = pt(u), g = pt(e), p = [];
|
|
207
207
|
if (!i) return p;
|
|
208
|
-
const
|
|
208
|
+
const m = g?.__contextRefs[o.value || ""], b = g === m || a.value ? [] : Object.keys(m?.context || {}).filter(($) => !["context", "ref"].includes($)).map(($) => `this.context.${$}`);
|
|
209
209
|
b.length && p.push({ title: "上下文", items: b });
|
|
210
|
-
const c = i.inject.map((
|
|
210
|
+
const c = i.inject.map(($) => `this.${$.name}`);
|
|
211
211
|
c.length && p.push({ title: "注入", items: c });
|
|
212
212
|
const _ = i.props.map(
|
|
213
|
-
(
|
|
213
|
+
($) => typeof $ == "string" ? `this.props.${$}` : `this.props.${$.name}`
|
|
214
214
|
);
|
|
215
215
|
_.length && p.push({ title: "属性", items: _ });
|
|
216
|
-
const w = Object.keys(i.state).map((
|
|
216
|
+
const w = Object.keys(i.state).map(($) => `this.state.${$}`);
|
|
217
217
|
w.length && p.push({ title: "状态", items: w });
|
|
218
218
|
const x = Object.keys(i.computed).map(
|
|
219
|
-
(
|
|
219
|
+
($) => `this.${$}.value`
|
|
220
220
|
);
|
|
221
221
|
x.length && p.push({ title: "计算属性", items: x });
|
|
222
|
-
const C = Object.keys(i.methods).map((
|
|
222
|
+
const C = Object.keys(i.methods).map(($) => `this.${$}`);
|
|
223
223
|
C.length && p.push({ title: "方法", items: C });
|
|
224
224
|
const I = Object.keys(i.dataSources).map(
|
|
225
|
-
(
|
|
225
|
+
($) => `this.${$}`
|
|
226
226
|
);
|
|
227
227
|
I.length && p.push({ title: "数据源", items: I });
|
|
228
228
|
const O = Object.keys(g?.$refs || {}).map(
|
|
229
|
-
(
|
|
229
|
+
($) => `this.$refs.${$}`
|
|
230
230
|
);
|
|
231
231
|
return O.length && p.push({ title: "refs", items: O }), p;
|
|
232
232
|
}), r = S(() => {
|
|
233
233
|
if (!t.value) return s.value;
|
|
234
234
|
const i = t.value.toLowerCase(), g = [];
|
|
235
235
|
return s.value.forEach((p) => {
|
|
236
|
-
const
|
|
236
|
+
const m = p.items.filter(
|
|
237
237
|
(f) => f.toLowerCase().includes(i)
|
|
238
238
|
);
|
|
239
|
-
|
|
239
|
+
m.length && g.push({
|
|
240
240
|
title: p.title,
|
|
241
|
-
items:
|
|
241
|
+
items: m
|
|
242
242
|
});
|
|
243
243
|
}), g;
|
|
244
244
|
});
|
|
@@ -260,13 +260,13 @@ const Ge = [
|
|
|
260
260
|
];
|
|
261
261
|
function Ws(u) {
|
|
262
262
|
const e = ce(), t = S(() => {
|
|
263
|
-
const
|
|
264
|
-
return ee(
|
|
263
|
+
const m = u.value?.model || null;
|
|
264
|
+
return ee(m) ? null : m;
|
|
265
265
|
}), l = k();
|
|
266
266
|
q(
|
|
267
267
|
t,
|
|
268
|
-
async (
|
|
269
|
-
|
|
268
|
+
async (m) => {
|
|
269
|
+
m?.from ? l.value = await e.assets.getBlockMaterial(m.from) || void 0 : l.value = void 0;
|
|
270
270
|
},
|
|
271
271
|
{ immediate: !0 }
|
|
272
272
|
);
|
|
@@ -296,29 +296,29 @@ function Ws(u) {
|
|
|
296
296
|
}
|
|
297
297
|
] : []), o = S(() => {
|
|
298
298
|
if (!t.value) return [];
|
|
299
|
-
const
|
|
300
|
-
return
|
|
299
|
+
const m = l.value || e.assets.componentMap.get(t.value.name);
|
|
300
|
+
return m ? (m.props || []).map((b) => ({
|
|
301
301
|
...b,
|
|
302
302
|
value: t.value?.getPropValue(b.name) ?? b.defaultValue
|
|
303
303
|
})) : [];
|
|
304
|
-
}), s = (
|
|
305
|
-
name:
|
|
304
|
+
}), s = (m) => a.value.some((f) => f.name === m) || o.value.some((f) => f.name === m) || m === "style", r = S(() => t.value ? Object.keys(t.value.props).filter((m) => !s(m)).map((m) => ({
|
|
305
|
+
name: m,
|
|
306
306
|
setters: "InputSetter",
|
|
307
|
-
value: t.value?.getPropValue(
|
|
307
|
+
value: t.value?.getPropValue(m)
|
|
308
308
|
})) : []);
|
|
309
309
|
return {
|
|
310
310
|
commonProps: a,
|
|
311
311
|
componentProps: o,
|
|
312
312
|
customProps: r,
|
|
313
313
|
node: t,
|
|
314
|
-
change: (
|
|
315
|
-
t.value && (
|
|
314
|
+
change: (m, f) => {
|
|
315
|
+
t.value && (m === "children" ? t.value.setChildren(f) : t.value.setProp(m, f));
|
|
316
316
|
},
|
|
317
|
-
addCustom: (
|
|
318
|
-
|
|
317
|
+
addCustom: (m) => {
|
|
318
|
+
m && t.value?.setProp(m, "");
|
|
319
319
|
},
|
|
320
|
-
removeCustom: (
|
|
321
|
-
t.value?.removeProp(
|
|
320
|
+
removeCustom: (m) => {
|
|
321
|
+
t.value?.removeProp(m);
|
|
322
322
|
},
|
|
323
323
|
isExist: s
|
|
324
324
|
};
|
|
@@ -343,7 +343,7 @@ function de(u, e = "success") {
|
|
|
343
343
|
function oe(u, e, t = !1) {
|
|
344
344
|
let l = !0;
|
|
345
345
|
try {
|
|
346
|
-
u.type === "JSExpression" ? Me(u, e, t, !0) :
|
|
346
|
+
u.type === "JSExpression" ? Me(u, e, t, !0) : Tl(u, e, t, !0);
|
|
347
347
|
} catch (a) {
|
|
348
348
|
l = !1, Ct.error({
|
|
349
349
|
title: "代码错误",
|
|
@@ -545,13 +545,13 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
545
545
|
t("click", l.project.value);
|
|
546
546
|
};
|
|
547
547
|
return (r, i) => (d(), A("div", eo, [
|
|
548
|
-
|
|
548
|
+
v(n(ae), {
|
|
549
549
|
size: "small",
|
|
550
550
|
round: "",
|
|
551
551
|
onClick: s
|
|
552
552
|
}, {
|
|
553
553
|
default: h(() => [
|
|
554
|
-
|
|
554
|
+
v(n(ql), { class: "v-switcher-widget__back" }),
|
|
555
555
|
V("span", null, z(a.value), 1),
|
|
556
556
|
o.value ? (d(), y(n(At), {
|
|
557
557
|
key: 0,
|
|
@@ -575,36 +575,36 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
575
575
|
return e({
|
|
576
576
|
mode: r
|
|
577
577
|
}), (i, g) => (d(), A("div", lo, [
|
|
578
|
-
|
|
578
|
+
v(n(sn), {
|
|
579
579
|
size: "small",
|
|
580
580
|
modelValue: r.value,
|
|
581
581
|
"onUpdate:modelValue": g[0] || (g[0] = (p) => r.value = p)
|
|
582
582
|
}, {
|
|
583
583
|
default: h(() => [
|
|
584
|
-
|
|
584
|
+
v(n(Ke), {
|
|
585
585
|
label: "pc",
|
|
586
586
|
value: "pc"
|
|
587
587
|
}, {
|
|
588
588
|
default: h(() => [
|
|
589
|
-
|
|
589
|
+
v(n(Hl))
|
|
590
590
|
]),
|
|
591
591
|
_: 1
|
|
592
592
|
}),
|
|
593
|
-
|
|
593
|
+
v(n(Ke), {
|
|
594
594
|
label: "mobile",
|
|
595
595
|
value: "mobile"
|
|
596
596
|
}, {
|
|
597
597
|
default: h(() => [
|
|
598
|
-
|
|
598
|
+
v(n(Gl))
|
|
599
599
|
]),
|
|
600
600
|
_: 1
|
|
601
601
|
}),
|
|
602
|
-
|
|
602
|
+
v(n(Ke), {
|
|
603
603
|
label: "pad",
|
|
604
604
|
value: "pad"
|
|
605
605
|
}, {
|
|
606
606
|
default: h(() => [
|
|
607
|
-
|
|
607
|
+
v(n(Xl))
|
|
608
608
|
]),
|
|
609
609
|
_: 1
|
|
610
610
|
})
|
|
@@ -612,27 +612,27 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
612
612
|
_: 1
|
|
613
613
|
}, 8, ["modelValue"]),
|
|
614
614
|
j("", !0),
|
|
615
|
-
|
|
615
|
+
v(n(Kn), null, {
|
|
616
616
|
default: h(() => [
|
|
617
|
-
|
|
617
|
+
v(n(ae), {
|
|
618
618
|
type: "default",
|
|
619
619
|
size: "small",
|
|
620
620
|
onClick: n(a),
|
|
621
621
|
disabled: n(s) || !!t.preview
|
|
622
622
|
}, {
|
|
623
623
|
default: h(() => [
|
|
624
|
-
|
|
624
|
+
v(n(Ql))
|
|
625
625
|
]),
|
|
626
626
|
_: 1
|
|
627
627
|
}, 8, ["onClick", "disabled"]),
|
|
628
|
-
|
|
628
|
+
v(n(ae), {
|
|
629
629
|
type: "default",
|
|
630
630
|
size: "small",
|
|
631
631
|
onClick: n(l),
|
|
632
632
|
disabled: n(o) || !!t.preview
|
|
633
633
|
}, {
|
|
634
634
|
default: h(() => [
|
|
635
|
-
|
|
635
|
+
v(n(Kl))
|
|
636
636
|
]),
|
|
637
637
|
_: 1
|
|
638
638
|
}, 8, ["onClick", "disabled"])
|
|
@@ -673,41 +673,41 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
673
673
|
return (g, p) => (d(), A("div", so, [
|
|
674
674
|
j("", !0),
|
|
675
675
|
j("", !0),
|
|
676
|
-
|
|
676
|
+
v(n(ae), {
|
|
677
677
|
onClick: s,
|
|
678
678
|
type: l.value ? "warning" : "default",
|
|
679
679
|
size: "small",
|
|
680
680
|
title: "预览"
|
|
681
681
|
}, {
|
|
682
682
|
default: h(() => [
|
|
683
|
-
|
|
683
|
+
v(n(Yl))
|
|
684
684
|
]),
|
|
685
685
|
_: 1
|
|
686
686
|
}, 8, ["type"]),
|
|
687
|
-
|
|
687
|
+
v(n(ae), {
|
|
688
688
|
onClick: a,
|
|
689
689
|
type: "default",
|
|
690
690
|
size: "small",
|
|
691
691
|
title: "刷新"
|
|
692
692
|
}, {
|
|
693
693
|
default: h(() => [
|
|
694
|
-
|
|
694
|
+
v(n(Zl))
|
|
695
695
|
]),
|
|
696
696
|
_: 1
|
|
697
697
|
}),
|
|
698
|
-
|
|
698
|
+
v(n(ae), {
|
|
699
699
|
type: "default",
|
|
700
700
|
size: "small",
|
|
701
701
|
title: "页面设置",
|
|
702
702
|
onClick: o
|
|
703
703
|
}, {
|
|
704
704
|
default: h(() => [
|
|
705
|
-
|
|
705
|
+
v(n(_n))
|
|
706
706
|
]),
|
|
707
707
|
_: 1
|
|
708
708
|
}),
|
|
709
|
-
|
|
710
|
-
|
|
709
|
+
v(n(At), { direction: "vertical" }),
|
|
710
|
+
v(n(on), {
|
|
711
711
|
"split-button": "",
|
|
712
712
|
type: "primary",
|
|
713
713
|
size: "small",
|
|
@@ -715,15 +715,15 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
715
715
|
onCommand: i
|
|
716
716
|
}, {
|
|
717
717
|
dropdown: h(() => [
|
|
718
|
-
|
|
718
|
+
v(n(rn), null, {
|
|
719
719
|
default: h(() => [
|
|
720
|
-
|
|
720
|
+
v(n(ft), { command: "current" }, {
|
|
721
721
|
default: h(() => [
|
|
722
722
|
G("发布页面")
|
|
723
723
|
]),
|
|
724
724
|
_: 1
|
|
725
725
|
}),
|
|
726
|
-
|
|
726
|
+
v(n(ft), { command: "project" }, {
|
|
727
727
|
default: h(() => [
|
|
728
728
|
G("整站发布")
|
|
729
729
|
]),
|
|
@@ -758,13 +758,13 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
758
758
|
o.value = b;
|
|
759
759
|
}, p = () => {
|
|
760
760
|
l("change", o.value), l("update:modelValue", o.value), a.value = !1;
|
|
761
|
-
},
|
|
761
|
+
}, m = () => {
|
|
762
762
|
o.value = "", l("change", ""), l("update:modelValue", ""), a.value = !1;
|
|
763
763
|
}, f = () => {
|
|
764
764
|
a.value = !0;
|
|
765
765
|
};
|
|
766
766
|
return (b, c) => (d(), A("div", io, [
|
|
767
|
-
|
|
767
|
+
v(n(ye), {
|
|
768
768
|
size: t.size,
|
|
769
769
|
readonly: "",
|
|
770
770
|
placeholder: "请选择图标",
|
|
@@ -773,7 +773,7 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
773
773
|
onFocus: f
|
|
774
774
|
}, {
|
|
775
775
|
prepend: h(() => [
|
|
776
|
-
|
|
776
|
+
v(n(xe), { icon: r.value }, null, 8, ["icon"])
|
|
777
777
|
]),
|
|
778
778
|
_: 1
|
|
779
779
|
}, 8, ["size", "model-value", "suffix-icon"]),
|
|
@@ -790,10 +790,10 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
790
790
|
onSubmit: p
|
|
791
791
|
}, {
|
|
792
792
|
extra: h(() => [
|
|
793
|
-
|
|
793
|
+
v(n(ae), {
|
|
794
794
|
size: "default",
|
|
795
795
|
type: "warning",
|
|
796
|
-
onClick:
|
|
796
|
+
onClick: m
|
|
797
797
|
}, {
|
|
798
798
|
default: h(() => [
|
|
799
799
|
G(" 清除绑定 ")
|
|
@@ -803,7 +803,7 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
803
803
|
]),
|
|
804
804
|
default: h(() => [
|
|
805
805
|
V("div", uo, [
|
|
806
|
-
|
|
806
|
+
v(n(ye), {
|
|
807
807
|
size: t.size,
|
|
808
808
|
"prefix-icon": n(It),
|
|
809
809
|
clearable: "",
|
|
@@ -812,7 +812,7 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
812
812
|
placeholder: "请输入查询关键字"
|
|
813
813
|
}, null, 8, ["size", "prefix-icon", "modelValue"]),
|
|
814
814
|
V("div", co, [
|
|
815
|
-
(d(!0), A(
|
|
815
|
+
(d(!0), A(T, null, N(i.value, (_) => (d(), y(n(xe), {
|
|
816
816
|
icon: _[1],
|
|
817
817
|
onClick: (w) => g(_[0]),
|
|
818
818
|
class: H({ "is-active": o.value === _[0] })
|
|
@@ -856,7 +856,7 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
856
856
|
"submit-method": i
|
|
857
857
|
}, {
|
|
858
858
|
default: h(() => [
|
|
859
|
-
|
|
859
|
+
v(n(B), {
|
|
860
860
|
name: "dir",
|
|
861
861
|
label: "类型",
|
|
862
862
|
editor: "radio",
|
|
@@ -865,44 +865,44 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
865
865
|
disabled: !!e.item,
|
|
866
866
|
required: ""
|
|
867
867
|
}, null, 8, ["disabled"]),
|
|
868
|
-
|
|
868
|
+
v(n(B), {
|
|
869
869
|
name: "name",
|
|
870
870
|
label: "名称",
|
|
871
871
|
required: "",
|
|
872
872
|
onChange: r,
|
|
873
873
|
rules: { pattern: n(_e), message: "名称格式不正确" }
|
|
874
874
|
}, null, 8, ["rules"]),
|
|
875
|
-
|
|
875
|
+
v(n(B), {
|
|
876
876
|
name: "title",
|
|
877
877
|
label: "标题",
|
|
878
878
|
required: ""
|
|
879
879
|
}),
|
|
880
|
-
|
|
880
|
+
v(n(B), {
|
|
881
881
|
name: "icon",
|
|
882
882
|
label: "菜单图标",
|
|
883
883
|
editor: "none"
|
|
884
884
|
}, {
|
|
885
885
|
editor: h(() => [
|
|
886
|
-
|
|
886
|
+
v(Rn, {
|
|
887
887
|
modelValue: o.value.icon,
|
|
888
|
-
"onUpdate:modelValue": p[0] || (p[0] = (
|
|
888
|
+
"onUpdate:modelValue": p[0] || (p[0] = (m) => o.value.icon = m),
|
|
889
889
|
size: "default"
|
|
890
890
|
}, null, 8, ["modelValue"])
|
|
891
891
|
]),
|
|
892
892
|
_: 1
|
|
893
893
|
}),
|
|
894
|
-
|
|
894
|
+
v(n(B), {
|
|
895
895
|
visible: { dir: !1 },
|
|
896
896
|
name: "mask",
|
|
897
897
|
label: "包含母版",
|
|
898
898
|
editor: "switch"
|
|
899
899
|
}),
|
|
900
|
-
|
|
900
|
+
v(n(B), {
|
|
901
901
|
name: "hidden",
|
|
902
902
|
label: "隐藏菜单",
|
|
903
903
|
editor: "switch"
|
|
904
904
|
}),
|
|
905
|
-
|
|
905
|
+
v(n(B), {
|
|
906
906
|
visible: { dir: !1 },
|
|
907
907
|
disabled: !!e.item,
|
|
908
908
|
inline: "",
|
|
@@ -977,7 +977,7 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
977
977
|
l("remove");
|
|
978
978
|
}, p = () => {
|
|
979
979
|
l("save");
|
|
980
|
-
},
|
|
980
|
+
}, m = S(() => t.header ? {
|
|
981
981
|
content: t.title,
|
|
982
982
|
subtitle: t.subtitle,
|
|
983
983
|
icon: t.back ? ea : void 0,
|
|
@@ -991,7 +991,7 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
991
991
|
return (b, c) => (d(), y(n(nt), {
|
|
992
992
|
class: H(["v-panel", o.value]),
|
|
993
993
|
border: !1,
|
|
994
|
-
header:
|
|
994
|
+
header: m.value,
|
|
995
995
|
fit: ""
|
|
996
996
|
}, Mn({
|
|
997
997
|
actions: h(() => [
|
|
@@ -1114,7 +1114,7 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1114
1114
|
}, {
|
|
1115
1115
|
header: h(() => [
|
|
1116
1116
|
V("div", mo, [
|
|
1117
|
-
|
|
1117
|
+
v(n(Et), {
|
|
1118
1118
|
class: "v-tabs__tabs",
|
|
1119
1119
|
items: t.items,
|
|
1120
1120
|
type: "card",
|
|
@@ -1224,10 +1224,10 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1224
1224
|
icon: ra
|
|
1225
1225
|
}
|
|
1226
1226
|
}, l = u, a = e, o = k(!!l.modelValue), s = S(() => l.actions.map((p) => {
|
|
1227
|
-
const
|
|
1227
|
+
const m = t[p];
|
|
1228
1228
|
return {
|
|
1229
1229
|
name: p,
|
|
1230
|
-
...
|
|
1230
|
+
...m
|
|
1231
1231
|
};
|
|
1232
1232
|
})), r = S(() => ({
|
|
1233
1233
|
"is-background": l.background,
|
|
@@ -1255,14 +1255,14 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1255
1255
|
(p) => {
|
|
1256
1256
|
o.value = !!p;
|
|
1257
1257
|
}
|
|
1258
|
-
), (p,
|
|
1258
|
+
), (p, m) => (d(), y(n(M), {
|
|
1259
1259
|
class: H(["v-item", r.value]),
|
|
1260
1260
|
justify: "space-between",
|
|
1261
1261
|
align: "center",
|
|
1262
1262
|
onClick: i
|
|
1263
1263
|
}, {
|
|
1264
1264
|
default: h(() => [
|
|
1265
|
-
|
|
1265
|
+
v(n(M), {
|
|
1266
1266
|
class: "v-item__title",
|
|
1267
1267
|
align: "center"
|
|
1268
1268
|
}, {
|
|
@@ -1293,13 +1293,13 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1293
1293
|
]),
|
|
1294
1294
|
_: 3
|
|
1295
1295
|
}),
|
|
1296
|
-
|
|
1296
|
+
v(n(M), {
|
|
1297
1297
|
class: "v-item__actions",
|
|
1298
|
-
onClick:
|
|
1298
|
+
onClick: m[1] || (m[1] = Ne(() => {
|
|
1299
1299
|
}, ["stop"]))
|
|
1300
1300
|
}, {
|
|
1301
1301
|
default: h(() => [
|
|
1302
|
-
(d(!0), A(
|
|
1302
|
+
(d(!0), A(T, null, N(s.value, (f) => (d(), y(n(he), {
|
|
1303
1303
|
name: f.name,
|
|
1304
1304
|
title: f.label,
|
|
1305
1305
|
mode: "icon",
|
|
@@ -1312,7 +1312,7 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1312
1312
|
l.switch ? (d(), y(n(cn), {
|
|
1313
1313
|
key: 0,
|
|
1314
1314
|
modelValue: o.value,
|
|
1315
|
-
"onUpdate:modelValue":
|
|
1315
|
+
"onUpdate:modelValue": m[0] || (m[0] = (f) => o.value = f),
|
|
1316
1316
|
class: "v-item__switch",
|
|
1317
1317
|
size: "small"
|
|
1318
1318
|
}, null, 8, ["modelValue"])) : j("", !0),
|
|
@@ -1358,7 +1358,7 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1358
1358
|
onDragstart: r,
|
|
1359
1359
|
onDragend: i
|
|
1360
1360
|
}, [
|
|
1361
|
-
|
|
1361
|
+
v(n(M), {
|
|
1362
1362
|
direction: "column",
|
|
1363
1363
|
justify: "center",
|
|
1364
1364
|
align: "center"
|
|
@@ -1376,11 +1376,11 @@ const Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1376
1376
|
align: "center"
|
|
1377
1377
|
}, {
|
|
1378
1378
|
default: h(() => [
|
|
1379
|
-
|
|
1379
|
+
v(n(xe), {
|
|
1380
1380
|
icon: n(Cn),
|
|
1381
1381
|
onClick: a
|
|
1382
1382
|
}, null, 8, ["icon"]),
|
|
1383
|
-
|
|
1383
|
+
v(n(xe), {
|
|
1384
1384
|
icon: n(at),
|
|
1385
1385
|
onClick: o
|
|
1386
1386
|
}, null, 8, ["icon"])
|
|
@@ -1451,7 +1451,7 @@ function be(u) {
|
|
|
1451
1451
|
const t = ot(u);
|
|
1452
1452
|
return (e = t?.$el) != null ? e : t;
|
|
1453
1453
|
}
|
|
1454
|
-
const it = rt ? window : void 0,
|
|
1454
|
+
const it = rt ? window : void 0, $n = rt ? window.navigator : void 0;
|
|
1455
1455
|
function We(...u) {
|
|
1456
1456
|
let e, t, l, a;
|
|
1457
1457
|
if (typeof u[0] == "string" || Array.isArray(u[0]) ? ([t, l, a] = u, e = it) : [e, t, l, a] = u, !e)
|
|
@@ -1459,12 +1459,12 @@ function We(...u) {
|
|
|
1459
1459
|
Array.isArray(t) || (t = [t]), Array.isArray(l) || (l = [l]);
|
|
1460
1460
|
const o = [], s = () => {
|
|
1461
1461
|
o.forEach((p) => p()), o.length = 0;
|
|
1462
|
-
}, r = (p,
|
|
1462
|
+
}, r = (p, m, f, b) => (p.addEventListener(m, f, b), () => p.removeEventListener(m, f, b)), i = q(
|
|
1463
1463
|
() => [be(e), ot(a)],
|
|
1464
|
-
([p,
|
|
1464
|
+
([p, m]) => {
|
|
1465
1465
|
if (s(), !p)
|
|
1466
1466
|
return;
|
|
1467
|
-
const f = wo(
|
|
1467
|
+
const f = wo(m) ? { ...m } : m;
|
|
1468
1468
|
o.push(
|
|
1469
1469
|
...t.flatMap((b) => l.map((c) => r(p, b, c, f)))
|
|
1470
1470
|
);
|
|
@@ -1520,15 +1520,15 @@ function Eo() {
|
|
|
1520
1520
|
u.value = !0;
|
|
1521
1521
|
}, e), u;
|
|
1522
1522
|
}
|
|
1523
|
-
function
|
|
1523
|
+
function $t(u) {
|
|
1524
1524
|
const e = Eo();
|
|
1525
1525
|
return S(() => (e.value, !!u()));
|
|
1526
1526
|
}
|
|
1527
1527
|
function Qt(u, e = {}) {
|
|
1528
1528
|
const {
|
|
1529
1529
|
controls: t = !1,
|
|
1530
|
-
navigator: l =
|
|
1531
|
-
} = e, a =
|
|
1530
|
+
navigator: l = $n
|
|
1531
|
+
} = e, a = $t(() => l && "permissions" in l);
|
|
1532
1532
|
let o;
|
|
1533
1533
|
const s = typeof u == "string" ? { name: u } : u, r = k(), i = () => {
|
|
1534
1534
|
o && (r.value = o.state);
|
|
@@ -1551,12 +1551,12 @@ function Qt(u, e = {}) {
|
|
|
1551
1551
|
}
|
|
1552
1552
|
function Po(u = {}) {
|
|
1553
1553
|
const {
|
|
1554
|
-
navigator: e =
|
|
1554
|
+
navigator: e = $n,
|
|
1555
1555
|
read: t = !1,
|
|
1556
1556
|
source: l,
|
|
1557
1557
|
copiedDuring: a = 1500,
|
|
1558
1558
|
legacy: o = !1
|
|
1559
|
-
} = u, s =
|
|
1559
|
+
} = u, s = $t(() => e && "clipboard" in e), r = Qt("clipboard-read"), i = Qt("clipboard-write"), g = S(() => s.value || o), p = k(""), m = k(!1), f = Ao(() => m.value = !1, a);
|
|
1560
1560
|
function b() {
|
|
1561
1561
|
s.value && x(r.value) ? e.clipboard.readText().then((C) => {
|
|
1562
1562
|
p.value = C;
|
|
@@ -1564,7 +1564,7 @@ function Po(u = {}) {
|
|
|
1564
1564
|
}
|
|
1565
1565
|
g.value && t && We(["copy", "cut"], b);
|
|
1566
1566
|
async function c(C = ot(l)) {
|
|
1567
|
-
g.value && C != null && (s.value && x(i.value) ? await e.clipboard.writeText(C) : _(C), p.value = C,
|
|
1567
|
+
g.value && C != null && (s.value && x(i.value) ? await e.clipboard.writeText(C) : _(C), p.value = C, m.value = !0, f.start());
|
|
1568
1568
|
}
|
|
1569
1569
|
function _(C) {
|
|
1570
1570
|
const I = document.createElement("textarea");
|
|
@@ -1580,21 +1580,21 @@ function Po(u = {}) {
|
|
|
1580
1580
|
return {
|
|
1581
1581
|
isSupported: g,
|
|
1582
1582
|
text: p,
|
|
1583
|
-
copied:
|
|
1583
|
+
copied: m,
|
|
1584
1584
|
copy: c
|
|
1585
1585
|
};
|
|
1586
1586
|
}
|
|
1587
1587
|
function Do(u, e, t = {}) {
|
|
1588
1588
|
const { window: l = it, ...a } = t;
|
|
1589
1589
|
let o;
|
|
1590
|
-
const s =
|
|
1590
|
+
const s = $t(() => l && "ResizeObserver" in l), r = () => {
|
|
1591
1591
|
o && (o.disconnect(), o = void 0);
|
|
1592
|
-
}, i = S(() => Array.isArray(u) ? u.map((
|
|
1592
|
+
}, i = S(() => Array.isArray(u) ? u.map((m) => be(m)) : [be(u)]), g = q(
|
|
1593
1593
|
i,
|
|
1594
|
-
(
|
|
1594
|
+
(m) => {
|
|
1595
1595
|
if (r(), s.value && l) {
|
|
1596
1596
|
o = new ResizeObserver(e);
|
|
1597
|
-
for (const f of
|
|
1597
|
+
for (const f of m)
|
|
1598
1598
|
f && o.observe(f, a);
|
|
1599
1599
|
}
|
|
1600
1600
|
},
|
|
@@ -1609,12 +1609,12 @@ function Do(u, e, t = {}) {
|
|
|
1609
1609
|
}
|
|
1610
1610
|
function Ue(u, e = { width: 0, height: 0 }, t = {}) {
|
|
1611
1611
|
const { window: l = it, box: a = "content-box" } = t, o = S(() => {
|
|
1612
|
-
var
|
|
1613
|
-
return (f = (
|
|
1612
|
+
var m, f;
|
|
1613
|
+
return (f = (m = be(u)) == null ? void 0 : m.namespaceURI) == null ? void 0 : f.includes("svg");
|
|
1614
1614
|
}), s = k(e.width), r = k(e.height), { stop: i } = Do(
|
|
1615
1615
|
u,
|
|
1616
|
-
([
|
|
1617
|
-
const f = a === "border-box" ?
|
|
1616
|
+
([m]) => {
|
|
1617
|
+
const f = a === "border-box" ? m.borderBoxSize : a === "content-box" ? m.contentBoxSize : m.devicePixelContentBoxSize;
|
|
1618
1618
|
if (l && o.value) {
|
|
1619
1619
|
const b = be(u);
|
|
1620
1620
|
if (b) {
|
|
@@ -1625,18 +1625,18 @@ function Ue(u, e = { width: 0, height: 0 }, t = {}) {
|
|
|
1625
1625
|
const b = Array.isArray(f) ? f : [f];
|
|
1626
1626
|
s.value = b.reduce((c, { inlineSize: _ }) => c + _, 0), r.value = b.reduce((c, { blockSize: _ }) => c + _, 0);
|
|
1627
1627
|
} else
|
|
1628
|
-
s.value =
|
|
1628
|
+
s.value = m.contentRect.width, r.value = m.contentRect.height;
|
|
1629
1629
|
},
|
|
1630
1630
|
t
|
|
1631
1631
|
);
|
|
1632
1632
|
Vo(() => {
|
|
1633
|
-
const
|
|
1634
|
-
|
|
1633
|
+
const m = be(u);
|
|
1634
|
+
m && (s.value = "offsetWidth" in m ? m.offsetWidth : e.width, r.value = "offsetHeight" in m ? m.offsetHeight : e.height);
|
|
1635
1635
|
});
|
|
1636
1636
|
const g = q(
|
|
1637
1637
|
() => be(u),
|
|
1638
|
-
(
|
|
1639
|
-
s.value =
|
|
1638
|
+
(m) => {
|
|
1639
|
+
s.value = m ? e.width : 0, r.value = m ? e.height : 0;
|
|
1640
1640
|
}
|
|
1641
1641
|
);
|
|
1642
1642
|
function p() {
|
|
@@ -1656,15 +1656,15 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1656
1656
|
emits: ["pick", "copy"],
|
|
1657
1657
|
setup(u, { emit: e }) {
|
|
1658
1658
|
const t = u, l = e, a = ["$provider", "$apis", "$components", "context"], o = (p) => {
|
|
1659
|
-
const
|
|
1660
|
-
return f === "Object" || f === "Module" ? Object.keys(
|
|
1661
|
-
}, s = (p,
|
|
1659
|
+
const m = p.value, f = ut(m);
|
|
1660
|
+
return f === "Object" || f === "Module" ? Object.keys(m || {}).length === 0 : f === "Array" ? m.length === 0 : !0;
|
|
1661
|
+
}, s = (p, m = "this") => typeof p == "object" ? Array.isArray(p) ? p.map((b, c) => {
|
|
1662
1662
|
const _ = `[${c}]`;
|
|
1663
1663
|
return {
|
|
1664
1664
|
label: _,
|
|
1665
1665
|
value: b,
|
|
1666
1666
|
type: ut(b),
|
|
1667
|
-
path: `${
|
|
1667
|
+
path: `${m}${_}`
|
|
1668
1668
|
};
|
|
1669
1669
|
}) : Js(p).map((b) => {
|
|
1670
1670
|
const c = p[b];
|
|
@@ -1672,23 +1672,23 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1672
1672
|
label: b,
|
|
1673
1673
|
value: c,
|
|
1674
1674
|
type: ut(c),
|
|
1675
|
-
path: `${
|
|
1675
|
+
path: `${m}.${b}`
|
|
1676
1676
|
};
|
|
1677
1677
|
}).filter(
|
|
1678
1678
|
(b) => !b.label.startsWith("__") && !a.includes(b.label)
|
|
1679
|
-
) : [], r = (p,
|
|
1679
|
+
) : [], r = (p, m) => {
|
|
1680
1680
|
if (p.level === 0)
|
|
1681
|
-
|
|
1681
|
+
m(s(t.context));
|
|
1682
1682
|
else {
|
|
1683
1683
|
const f = Hn(p.data.value);
|
|
1684
|
-
|
|
1684
|
+
m(s(f, p.data.path));
|
|
1685
1685
|
}
|
|
1686
1686
|
}, i = (p) => {
|
|
1687
1687
|
l("copy", p.path);
|
|
1688
1688
|
}, g = (p) => {
|
|
1689
1689
|
l("pick", p.path);
|
|
1690
1690
|
};
|
|
1691
|
-
return (p,
|
|
1691
|
+
return (p, m) => (d(), A("div", Io, [
|
|
1692
1692
|
p.context ? (d(), y(n(jt), {
|
|
1693
1693
|
key: 0,
|
|
1694
1694
|
lazy: "",
|
|
@@ -1697,7 +1697,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1697
1697
|
props: { isLeaf: o }
|
|
1698
1698
|
}, {
|
|
1699
1699
|
default: h(({ data: f }) => [
|
|
1700
|
-
|
|
1700
|
+
v(ue, {
|
|
1701
1701
|
title: f.label,
|
|
1702
1702
|
subtitle: f.type,
|
|
1703
1703
|
"subtitle-cls": f.type,
|
|
@@ -1714,7 +1714,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1714
1714
|
}, 8, ["props"])) : j("", !0)
|
|
1715
1715
|
]));
|
|
1716
1716
|
}
|
|
1717
|
-
}),
|
|
1717
|
+
}), Tt = /* @__PURE__ */ E({
|
|
1718
1718
|
__name: "binder",
|
|
1719
1719
|
props: {
|
|
1720
1720
|
title: {},
|
|
@@ -1745,13 +1745,13 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1745
1745
|
label: "高级"
|
|
1746
1746
|
}
|
|
1747
1747
|
], i = k("normal"), g = k(), p = async (x) => {
|
|
1748
|
-
l("submit", x), t.submitMethod ? await t.submitMethod(x) &&
|
|
1749
|
-
},
|
|
1748
|
+
l("submit", x), t.submitMethod ? await t.submitMethod(x) && m() : m();
|
|
1749
|
+
}, m = () => {
|
|
1750
1750
|
l("update:modelValue", !1), l("close");
|
|
1751
1751
|
}, f = () => {
|
|
1752
1752
|
l("unbind");
|
|
1753
1753
|
}, b = () => {
|
|
1754
|
-
|
|
1754
|
+
m();
|
|
1755
1755
|
}, c = async () => {
|
|
1756
1756
|
g.value?.submit();
|
|
1757
1757
|
}, _ = (x) => {
|
|
@@ -1770,28 +1770,28 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1770
1770
|
"body-padding": !1,
|
|
1771
1771
|
maximizable: !1,
|
|
1772
1772
|
minimizable: !1,
|
|
1773
|
-
onClose:
|
|
1773
|
+
onClose: m
|
|
1774
1774
|
}, {
|
|
1775
1775
|
default: h(() => [
|
|
1776
|
-
|
|
1776
|
+
v(n(M), {
|
|
1777
1777
|
fit: "",
|
|
1778
1778
|
direction: "row",
|
|
1779
1779
|
overflow: "hidden"
|
|
1780
1780
|
}, {
|
|
1781
1781
|
default: h(() => [
|
|
1782
|
-
|
|
1782
|
+
v(n(M), {
|
|
1783
1783
|
width: "30%",
|
|
1784
1784
|
height: "100%"
|
|
1785
1785
|
}, {
|
|
1786
1786
|
default: h(() => [
|
|
1787
|
-
|
|
1787
|
+
v(st, {
|
|
1788
1788
|
class: "v-binder__tabs",
|
|
1789
1789
|
items: r,
|
|
1790
1790
|
modelValue: i.value,
|
|
1791
1791
|
"onUpdate:modelValue": C[1] || (C[1] = (I) => i.value = I)
|
|
1792
1792
|
}, {
|
|
1793
1793
|
default: h(() => [
|
|
1794
|
-
|
|
1794
|
+
v(n(M), {
|
|
1795
1795
|
class: "v-binder__tab-content",
|
|
1796
1796
|
fit: "",
|
|
1797
1797
|
padding: "",
|
|
@@ -1799,7 +1799,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1799
1799
|
}, {
|
|
1800
1800
|
default: h(() => [
|
|
1801
1801
|
Ee(V("div", null, [
|
|
1802
|
-
|
|
1802
|
+
v(n(ye), {
|
|
1803
1803
|
modelValue: n(o),
|
|
1804
1804
|
"onUpdate:modelValue": C[0] || (C[0] = (I) => mt(o) ? o.value = I : null),
|
|
1805
1805
|
size: "small",
|
|
@@ -1807,27 +1807,27 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1807
1807
|
"prefix-icon": n(It),
|
|
1808
1808
|
placeholder: "筛选可用项"
|
|
1809
1809
|
}, null, 8, ["modelValue", "prefix-icon"]),
|
|
1810
|
-
(d(!0), A(
|
|
1811
|
-
|
|
1810
|
+
(d(!0), A(T, null, N(n(a), (I) => (d(), A("div", null, [
|
|
1811
|
+
v(n(At), { "border-style": "dotted" }, {
|
|
1812
1812
|
default: h(() => [
|
|
1813
1813
|
G(z(I.title), 1)
|
|
1814
1814
|
]),
|
|
1815
1815
|
_: 2
|
|
1816
1816
|
}, 1024),
|
|
1817
|
-
(d(!0), A(
|
|
1817
|
+
(d(!0), A(T, null, N(I.items, (O) => (d(), y(ue, {
|
|
1818
1818
|
title: O,
|
|
1819
1819
|
background: "",
|
|
1820
1820
|
actions: ["copy"],
|
|
1821
1821
|
small: "",
|
|
1822
|
-
onClick: (
|
|
1823
|
-
onAction: (
|
|
1822
|
+
onClick: ($) => _(O),
|
|
1823
|
+
onAction: ($) => w(O)
|
|
1824
1824
|
}, null, 8, ["title", "onClick", "onAction"]))), 256))
|
|
1825
1825
|
]))), 256)),
|
|
1826
1826
|
n(a).length ? j("", !0) : (d(), y(n(se), { key: 0 }))
|
|
1827
1827
|
], 512), [
|
|
1828
1828
|
[Ie, i.value === "normal"]
|
|
1829
1829
|
]),
|
|
1830
|
-
Ee(
|
|
1830
|
+
Ee(v(Bo, {
|
|
1831
1831
|
context: t.context,
|
|
1832
1832
|
onCopy: w,
|
|
1833
1833
|
onPick: _
|
|
@@ -1843,15 +1843,15 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1843
1843
|
]),
|
|
1844
1844
|
_: 1
|
|
1845
1845
|
}),
|
|
1846
|
-
|
|
1846
|
+
v(n(nt), {
|
|
1847
1847
|
grow: "",
|
|
1848
1848
|
header: null,
|
|
1849
1849
|
border: !1
|
|
1850
1850
|
}, {
|
|
1851
1851
|
footer: h(() => [
|
|
1852
|
-
|
|
1852
|
+
v(n(M), { justify: "space-between" }, {
|
|
1853
1853
|
default: h(() => [
|
|
1854
|
-
|
|
1854
|
+
v(n(M), null, {
|
|
1855
1855
|
default: h(() => [
|
|
1856
1856
|
x.unbindEnabled ? (d(), y(n(ae), {
|
|
1857
1857
|
key: 0,
|
|
@@ -1867,9 +1867,9 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1867
1867
|
]),
|
|
1868
1868
|
_: 1
|
|
1869
1869
|
}),
|
|
1870
|
-
|
|
1870
|
+
v(n(M), null, {
|
|
1871
1871
|
default: h(() => [
|
|
1872
|
-
|
|
1872
|
+
v(n(ae), {
|
|
1873
1873
|
type: "default",
|
|
1874
1874
|
size: "default",
|
|
1875
1875
|
onClick: b
|
|
@@ -1879,7 +1879,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1879
1879
|
]),
|
|
1880
1880
|
_: 1
|
|
1881
1881
|
}),
|
|
1882
|
-
|
|
1882
|
+
v(n(ae), {
|
|
1883
1883
|
type: "primary",
|
|
1884
1884
|
size: "default",
|
|
1885
1885
|
onClick: c
|
|
@@ -1897,7 +1897,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1897
1897
|
})
|
|
1898
1898
|
]),
|
|
1899
1899
|
default: h(() => [
|
|
1900
|
-
|
|
1900
|
+
v(n(Pt), {
|
|
1901
1901
|
ref_key: "formRef",
|
|
1902
1902
|
ref: g,
|
|
1903
1903
|
class: "v-binder__form",
|
|
@@ -1923,7 +1923,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1923
1923
|
_: 3
|
|
1924
1924
|
}, 8, ["model-value", "title"]));
|
|
1925
1925
|
}
|
|
1926
|
-
}), Ro = { class: "v-slots-picker__sn" },
|
|
1926
|
+
}), Ro = { class: "v-slots-picker__sn" }, $o = /* @__PURE__ */ E({
|
|
1927
1927
|
__name: "slots",
|
|
1928
1928
|
props: {
|
|
1929
1929
|
slots: { default: () => [] }
|
|
@@ -1945,12 +1945,12 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1945
1945
|
onSubmit: r
|
|
1946
1946
|
}, i.$attrs), {
|
|
1947
1947
|
default: h(() => [
|
|
1948
|
-
|
|
1948
|
+
v(n(dn), {
|
|
1949
1949
|
title: "该组件支持多个插槽,请选择放置到其中一个",
|
|
1950
1950
|
type: "warning",
|
|
1951
1951
|
closable: !1
|
|
1952
1952
|
}),
|
|
1953
|
-
|
|
1953
|
+
v(n(M), {
|
|
1954
1954
|
class: "v-slots-picker__content",
|
|
1955
1955
|
justify: "space-around",
|
|
1956
1956
|
alignContent: "flex-start",
|
|
@@ -1958,14 +1958,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1958
1958
|
wrap: "wrap"
|
|
1959
1959
|
}, {
|
|
1960
1960
|
default: h(() => [
|
|
1961
|
-
(d(!0), A(
|
|
1961
|
+
(d(!0), A(T, null, N(t.slots, (p, m) => (d(), y(n(M), {
|
|
1962
1962
|
class: H(["v-slots-picker__item", { "is-active": p.name === a.value?.name }]),
|
|
1963
1963
|
grow: "",
|
|
1964
1964
|
flex: !1,
|
|
1965
1965
|
onClick: (f) => s(p)
|
|
1966
1966
|
}, {
|
|
1967
1967
|
default: h(() => [
|
|
1968
|
-
V("span", Ro, "#" + z(
|
|
1968
|
+
V("span", Ro, "#" + z(m + 1), 1),
|
|
1969
1969
|
G(" " + z(p.name), 1)
|
|
1970
1970
|
]),
|
|
1971
1971
|
_: 2
|
|
@@ -1977,7 +1977,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
1977
1977
|
_: 1
|
|
1978
1978
|
}, 16, ["height"]));
|
|
1979
1979
|
}
|
|
1980
|
-
}),
|
|
1980
|
+
}), Tn = /* @__PURE__ */ E({
|
|
1981
1981
|
name: "Viewport",
|
|
1982
1982
|
__name: "viewport",
|
|
1983
1983
|
props: {
|
|
@@ -2008,7 +2008,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2008
2008
|
Se(o.$slots, "default")
|
|
2009
2009
|
], 6));
|
|
2010
2010
|
}
|
|
2011
|
-
}),
|
|
2011
|
+
}), To = /* @__PURE__ */ E({
|
|
2012
2012
|
name: "PagesWidget",
|
|
2013
2013
|
__name: "index",
|
|
2014
2014
|
setup(u) {
|
|
@@ -2033,7 +2033,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2033
2033
|
c === "home" && (e.value?.setHomepage(w.id), de("设置主页成功", "success"));
|
|
2034
2034
|
}, p = async (b) => {
|
|
2035
2035
|
b.raw && de("这是源码模式页面,不能低代码设计", "warning"), b.dir || b.raw ? t.project.value?.deactivate() : t.project.value?.active(b);
|
|
2036
|
-
},
|
|
2036
|
+
}, m = (b, c, _) => _ === "inner" ? !!c.data.dir : !0, f = () => {
|
|
2037
2037
|
e.value?.update({
|
|
2038
2038
|
pages: pt(l)
|
|
2039
2039
|
});
|
|
@@ -2046,16 +2046,16 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2046
2046
|
onPlus: i
|
|
2047
2047
|
}, {
|
|
2048
2048
|
default: h(() => [
|
|
2049
|
-
|
|
2049
|
+
v(n(jt), {
|
|
2050
2050
|
data: l.value,
|
|
2051
2051
|
"node-key": "id",
|
|
2052
2052
|
"default-expand-all": "",
|
|
2053
2053
|
draggable: "",
|
|
2054
|
-
"allow-drop":
|
|
2054
|
+
"allow-drop": m,
|
|
2055
2055
|
onNodeDrop: f
|
|
2056
2056
|
}, {
|
|
2057
2057
|
default: h(({ data: _, node: w }) => [
|
|
2058
|
-
|
|
2058
|
+
v(n(ue), {
|
|
2059
2059
|
class: "v-pages-widget__item",
|
|
2060
2060
|
icon: n(kt)[_.icon],
|
|
2061
2061
|
title: _.title,
|
|
@@ -2104,13 +2104,13 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2104
2104
|
return i(I);
|
|
2105
2105
|
}
|
|
2106
2106
|
return null;
|
|
2107
|
-
}, p = (C) => C ? (C || "").split(",").map((O) => ({ url: O })) : [],
|
|
2107
|
+
}, p = (C) => C ? (C || "").split(",").map((O) => ({ url: O })) : [], m = k(
|
|
2108
2108
|
p(t.modelValue)
|
|
2109
|
-
), f = S(() => Array.isArray(
|
|
2109
|
+
), f = S(() => Array.isArray(m.value) ? m.value.map((C) => C.url).join(",") : m.value ? m.value.url : "");
|
|
2110
2110
|
q(
|
|
2111
2111
|
() => t.modelValue,
|
|
2112
2112
|
(C) => {
|
|
2113
|
-
|
|
2113
|
+
m.value = p(C);
|
|
2114
2114
|
}
|
|
2115
2115
|
), q(r, async (C) => {
|
|
2116
2116
|
if (C) {
|
|
@@ -2119,24 +2119,24 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2119
2119
|
}
|
|
2120
2120
|
});
|
|
2121
2121
|
const b = () => {
|
|
2122
|
-
if (!
|
|
2122
|
+
if (!m.value || Array.isArray(m.value) && m.value.length === 0)
|
|
2123
2123
|
return ne("请选择文件"), !1;
|
|
2124
2124
|
const C = (t.attachment?.accept || "").toLowerCase().split(",");
|
|
2125
|
-
return C.length > 0 ? [].concat(
|
|
2126
|
-
const D =
|
|
2125
|
+
return C.length > 0 ? [].concat(m.value).every(($) => {
|
|
2126
|
+
const D = $.name || $.url.split("?")[0], R = D.substring(D.lastIndexOf(".")).toLowerCase();
|
|
2127
2127
|
return C.includes(R);
|
|
2128
2128
|
}) ? !0 : (ne(`只支持 ${C.join(",")} 文件`), !1) : !0;
|
|
2129
2129
|
}, c = () => {
|
|
2130
2130
|
b() && (l("change", f.value), l("update:modelValue", f.value), r.value = !1);
|
|
2131
2131
|
}, _ = () => {
|
|
2132
|
-
|
|
2132
|
+
m.value = [], l("change", void 0), l("update:modelValue", void 0), r.value = !1;
|
|
2133
2133
|
}, w = () => {
|
|
2134
2134
|
r.value = !0;
|
|
2135
2135
|
}, x = (C) => {
|
|
2136
2136
|
C.name && o.value?.id && a.service.removeStaticFile(C.name, o.value?.id);
|
|
2137
2137
|
};
|
|
2138
2138
|
return (C, I) => (d(), A("div", zo, [
|
|
2139
|
-
|
|
2139
|
+
v(n(ye), re({
|
|
2140
2140
|
readonly: "",
|
|
2141
2141
|
onFocus: w,
|
|
2142
2142
|
"model-value": t.modelValue,
|
|
@@ -2154,7 +2154,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2154
2154
|
onSubmit: c
|
|
2155
2155
|
}, {
|
|
2156
2156
|
extra: h(() => [
|
|
2157
|
-
|
|
2157
|
+
v(n(ae), {
|
|
2158
2158
|
type: "warning",
|
|
2159
2159
|
size: "default",
|
|
2160
2160
|
onClick: _
|
|
@@ -2166,14 +2166,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2166
2166
|
})
|
|
2167
2167
|
]),
|
|
2168
2168
|
default: h(() => [
|
|
2169
|
-
|
|
2169
|
+
v(n(gl), re({
|
|
2170
2170
|
size: "small",
|
|
2171
2171
|
"list-type": "list",
|
|
2172
2172
|
selectable: !0,
|
|
2173
2173
|
uploader: g,
|
|
2174
2174
|
"model-value": s.value,
|
|
2175
|
-
"select-value":
|
|
2176
|
-
"onUpdate:selectValue": I[0] || (I[0] = (O) =>
|
|
2175
|
+
"select-value": m.value,
|
|
2176
|
+
"onUpdate:selectValue": I[0] || (I[0] = (O) => m.value = O)
|
|
2177
2177
|
}, t.attachment, { onRemove: x }), null, 16, ["model-value", "select-value"])
|
|
2178
2178
|
]),
|
|
2179
2179
|
_: 1
|
|
@@ -2213,7 +2213,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2213
2213
|
label: "插件",
|
|
2214
2214
|
type: "danger"
|
|
2215
2215
|
}
|
|
2216
|
-
}, s = k(void 0), { current: r } = ie(), i = k(!1), g = S(() => s.value?.id ? "编辑区块" : "新增区块"), p = S(() => `(共 ${t.value.length} 个)`),
|
|
2216
|
+
}, s = k(void 0), { current: r } = ie(), i = k(!1), g = S(() => s.value?.id ? "编辑区块" : "新增区块"), p = S(() => `(共 ${t.value.length} 个)`), m = () => ({
|
|
2217
2217
|
fromType: "Schema",
|
|
2218
2218
|
name: "",
|
|
2219
2219
|
title: "",
|
|
@@ -2239,7 +2239,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2239
2239
|
return ne(`名称【${R.name}】已经存在,请更换名称`), !1;
|
|
2240
2240
|
return !0;
|
|
2241
2241
|
}, _ = () => {
|
|
2242
|
-
s.value =
|
|
2242
|
+
s.value = m(), i.value = !0;
|
|
2243
2243
|
}, w = (D) => {
|
|
2244
2244
|
s.value = lt(D), i.value = !0;
|
|
2245
2245
|
}, x = (D) => {
|
|
@@ -2251,7 +2251,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2251
2251
|
}, O = async (D) => {
|
|
2252
2252
|
const R = kl(D), P = await l.assets.getBlockMaterial(R, D.name), X = l.skeleton?.getWidget("Designer")?.widgetRef?.designer;
|
|
2253
2253
|
X && P && X.setDragging(P);
|
|
2254
|
-
},
|
|
2254
|
+
}, $ = () => {
|
|
2255
2255
|
const D = l.skeleton?.getWidget("Designer")?.widgetRef?.designer;
|
|
2256
2256
|
D && D.setDragging(null);
|
|
2257
2257
|
};
|
|
@@ -2263,17 +2263,17 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2263
2263
|
onPlus: _
|
|
2264
2264
|
}, {
|
|
2265
2265
|
default: h(() => [
|
|
2266
|
-
|
|
2266
|
+
v(n(ht), {
|
|
2267
2267
|
wrap: "wrap",
|
|
2268
2268
|
gutter: 5
|
|
2269
2269
|
}, {
|
|
2270
2270
|
default: h(() => [
|
|
2271
|
-
(d(!0), A(
|
|
2271
|
+
(d(!0), A(T, null, N(n(t), (P) => (d(), y(n(bt), {
|
|
2272
2272
|
key: P.id,
|
|
2273
2273
|
span: n(e)
|
|
2274
2274
|
}, {
|
|
2275
2275
|
default: h(() => [
|
|
2276
|
-
|
|
2276
|
+
v(n(St), {
|
|
2277
2277
|
name: P.name,
|
|
2278
2278
|
title: P.title,
|
|
2279
2279
|
active: n(r)?.id === P.id,
|
|
@@ -2285,7 +2285,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2285
2285
|
onClick: (X) => I(P),
|
|
2286
2286
|
draggable: n(r)?.id !== P.id,
|
|
2287
2287
|
onDragstart: (X) => O(P),
|
|
2288
|
-
onDragend:
|
|
2288
|
+
onDragend: $
|
|
2289
2289
|
}, null, 8, ["name", "title", "active", "editable", "tag", "tagType", "onEdit", "onRemove", "onClick", "draggable", "onDragstart"])
|
|
2290
2290
|
]),
|
|
2291
2291
|
_: 2
|
|
@@ -2294,7 +2294,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2294
2294
|
_: 1
|
|
2295
2295
|
}),
|
|
2296
2296
|
n(t).length ? j("", !0) : (d(), y(n(se), { key: 0 })),
|
|
2297
|
-
|
|
2297
|
+
v(n(Ve), {
|
|
2298
2298
|
modelValue: i.value,
|
|
2299
2299
|
"onUpdate:modelValue": R[0] || (R[0] = (P) => i.value = P),
|
|
2300
2300
|
title: g.value,
|
|
@@ -2305,7 +2305,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2305
2305
|
"submit-method": c
|
|
2306
2306
|
}, {
|
|
2307
2307
|
default: h(() => [
|
|
2308
|
-
|
|
2308
|
+
v(n(B), {
|
|
2309
2309
|
name: "fromType",
|
|
2310
2310
|
label: "类型",
|
|
2311
2311
|
required: "",
|
|
@@ -2313,7 +2313,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2313
2313
|
disabled: !!s.value?.id,
|
|
2314
2314
|
options: a
|
|
2315
2315
|
}, null, 8, ["disabled"]),
|
|
2316
|
-
|
|
2316
|
+
v(n(B), {
|
|
2317
2317
|
name: "name",
|
|
2318
2318
|
label: "名称",
|
|
2319
2319
|
required: "",
|
|
@@ -2324,7 +2324,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2324
2324
|
},
|
|
2325
2325
|
onChange: C
|
|
2326
2326
|
}, null, 8, ["rules"]),
|
|
2327
|
-
|
|
2327
|
+
v(n(B), {
|
|
2328
2328
|
name: "title",
|
|
2329
2329
|
label: "标题",
|
|
2330
2330
|
required: ""
|
|
@@ -2357,21 +2357,21 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2357
2357
|
name: "ComponentsWidget",
|
|
2358
2358
|
__name: "index",
|
|
2359
2359
|
setup(u) {
|
|
2360
|
-
const { span: e, engine: t } = In(), { tabs: l, currentTab: a, currentGroup: o, model: s, searchKey: r, searchResult: i } =
|
|
2360
|
+
const { span: e, engine: t } = In(), { tabs: l, currentTab: a, currentGroup: o, model: s, searchKey: r, searchResult: i } = Ts(), g = (m) => {
|
|
2361
2361
|
const f = t.skeleton?.getWidget("Designer")?.widgetRef?.designer;
|
|
2362
|
-
f && f.setDragging(
|
|
2362
|
+
f && f.setDragging(m);
|
|
2363
2363
|
}, p = () => {
|
|
2364
|
-
const
|
|
2365
|
-
|
|
2364
|
+
const m = t.skeleton?.getWidget("Designer")?.widgetRef?.designer;
|
|
2365
|
+
m && m.setDragging(null);
|
|
2366
2366
|
};
|
|
2367
|
-
return (
|
|
2367
|
+
return (m, f) => (d(), y(n(U), {
|
|
2368
2368
|
class: "v-components-widget",
|
|
2369
2369
|
title: "组件库",
|
|
2370
2370
|
body: { flex: !0, direction: "column" }
|
|
2371
2371
|
}, {
|
|
2372
2372
|
default: h(() => [
|
|
2373
2373
|
V("div", Fo, [
|
|
2374
|
-
|
|
2374
|
+
v(n(ye), {
|
|
2375
2375
|
modelValue: n(r),
|
|
2376
2376
|
"onUpdate:modelValue": f[0] || (f[0] = (b) => mt(r) ? r.value = b : null),
|
|
2377
2377
|
placeholder: "搜索组件",
|
|
@@ -2379,23 +2379,23 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2379
2379
|
size: "small"
|
|
2380
2380
|
}, {
|
|
2381
2381
|
prefix: h(() => [
|
|
2382
|
-
|
|
2382
|
+
v(n(ua))
|
|
2383
2383
|
]),
|
|
2384
2384
|
_: 1
|
|
2385
2385
|
}, 8, ["modelValue"])
|
|
2386
2386
|
]),
|
|
2387
2387
|
n(r) ? (d(), A("div", No, [
|
|
2388
|
-
|
|
2388
|
+
v(n(ht), {
|
|
2389
2389
|
wrap: "wrap",
|
|
2390
2390
|
gutter: 5
|
|
2391
2391
|
}, {
|
|
2392
2392
|
default: h(() => [
|
|
2393
|
-
(d(!0), A(
|
|
2393
|
+
(d(!0), A(T, null, N(n(i), (b) => (d(), y(n(bt), {
|
|
2394
2394
|
span: n(e),
|
|
2395
2395
|
key: b.name
|
|
2396
2396
|
}, {
|
|
2397
2397
|
default: h(() => [
|
|
2398
|
-
|
|
2398
|
+
v(n(St), {
|
|
2399
2399
|
name: b.name,
|
|
2400
2400
|
title: b.label || b.name,
|
|
2401
2401
|
draggable: "",
|
|
@@ -2423,7 +2423,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2423
2423
|
"onUpdate:modelValue": f[1] || (f[1] = (b) => n(s)[n(a)] = b)
|
|
2424
2424
|
}, {
|
|
2425
2425
|
default: h(() => [
|
|
2426
|
-
(d(!0), A(
|
|
2426
|
+
(d(!0), A(T, null, N(n(o).children, (b) => (d(), y(n(el), {
|
|
2427
2427
|
key: b.name,
|
|
2428
2428
|
name: b.name,
|
|
2429
2429
|
title: `${b.label} (${b.count})`
|
|
@@ -2435,12 +2435,12 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2435
2435
|
gutter: 5
|
|
2436
2436
|
}, {
|
|
2437
2437
|
default: h(() => [
|
|
2438
|
-
(d(!0), A(
|
|
2438
|
+
(d(!0), A(T, null, N(b.components, (c) => (d(), y(n(bt), {
|
|
2439
2439
|
span: n(e),
|
|
2440
2440
|
key: c.name
|
|
2441
2441
|
}, {
|
|
2442
2442
|
default: h(() => [
|
|
2443
|
-
|
|
2443
|
+
v(n(St), {
|
|
2444
2444
|
name: c.name,
|
|
2445
2445
|
title: c.label || c.name,
|
|
2446
2446
|
draggable: "",
|
|
@@ -2521,7 +2521,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2521
2521
|
];
|
|
2522
2522
|
}, p = async () => {
|
|
2523
2523
|
o.value = g(), l.value?.model && (await we(), t.value?.setSelected(l.value.model));
|
|
2524
|
-
},
|
|
2524
|
+
}, m = S(() => l.value?.model.id), f = (D) => {
|
|
2525
2525
|
const R = D.data;
|
|
2526
2526
|
if (R.type === "slot" || ee(R.model) || R.model.locked || R.model.name === "template")
|
|
2527
2527
|
return !1;
|
|
@@ -2565,12 +2565,12 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2565
2565
|
}), t.value?.setDragging(null);
|
|
2566
2566
|
return;
|
|
2567
2567
|
}
|
|
2568
|
-
const
|
|
2568
|
+
const $e = await t.value?.getDropSlot(
|
|
2569
2569
|
P === "inner" ? F : F.parent
|
|
2570
2570
|
);
|
|
2571
|
-
if (
|
|
2571
|
+
if ($e !== null) {
|
|
2572
2572
|
const Fe = X.model;
|
|
2573
|
-
Fe.slot =
|
|
2573
|
+
Fe.slot = $e, a.value?.move(Fe, F, L);
|
|
2574
2574
|
} else
|
|
2575
2575
|
p();
|
|
2576
2576
|
t.value?.setDropping(null), t.value?.setDragging(null), e.simulator.refresh();
|
|
@@ -2592,7 +2592,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2592
2592
|
R.dragging = !1;
|
|
2593
2593
|
}, O = (D, R) => {
|
|
2594
2594
|
D && ((D.id === R.id || !ee(D) && R.isChild(D)) && t.value?.setSelected(null), t.value?.setHover(null));
|
|
2595
|
-
},
|
|
2595
|
+
}, $ = (D) => {
|
|
2596
2596
|
const { name: R, modelValue: P } = D, X = l.value?.model;
|
|
2597
2597
|
switch (R) {
|
|
2598
2598
|
case "lock":
|
|
@@ -2628,7 +2628,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2628
2628
|
"default-expand-all": "",
|
|
2629
2629
|
draggable: "",
|
|
2630
2630
|
"empty-text": "请新建或打开文件",
|
|
2631
|
-
"current-node-key":
|
|
2631
|
+
"current-node-key": m.value,
|
|
2632
2632
|
"highlight-current": !0,
|
|
2633
2633
|
"expand-on-click-node": !1,
|
|
2634
2634
|
"allow-drop": b,
|
|
@@ -2639,7 +2639,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2639
2639
|
onNodeDragEnd: I
|
|
2640
2640
|
}, {
|
|
2641
2641
|
default: h(({ data: P, node: X }) => [
|
|
2642
|
-
|
|
2642
|
+
v(n(ue), {
|
|
2643
2643
|
class: H(["v-outline-widget__item", {
|
|
2644
2644
|
"is-locked": P.model.locked,
|
|
2645
2645
|
"is-invisible": P.model.invisible,
|
|
@@ -2656,7 +2656,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2656
2656
|
title: P.label,
|
|
2657
2657
|
subtitle: P.type,
|
|
2658
2658
|
actions: s(P.model, P.type),
|
|
2659
|
-
onAction:
|
|
2659
|
+
onAction: $,
|
|
2660
2660
|
onMouseenter: (pe) => w(P),
|
|
2661
2661
|
onMouseleave: x
|
|
2662
2662
|
}, null, 8, ["class", "active", "model-value", "icon", "title", "subtitle", "actions", "onMouseenter"])
|
|
@@ -2688,7 +2688,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2688
2688
|
key: 0,
|
|
2689
2689
|
"image-size": 50
|
|
2690
2690
|
})) : j("", !0),
|
|
2691
|
-
n(e) ? (d(!0), A(
|
|
2691
|
+
n(e) ? (d(!0), A(T, { key: 1 }, N(n(e).items, (g, p) => (d(), y(n(ue), {
|
|
2692
2692
|
index: p + 1,
|
|
2693
2693
|
title: g.label,
|
|
2694
2694
|
"model-value": g,
|
|
@@ -2697,7 +2697,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2697
2697
|
background: "",
|
|
2698
2698
|
actions: ["remove"],
|
|
2699
2699
|
onAction: o,
|
|
2700
|
-
onClick: (
|
|
2700
|
+
onClick: (m) => n(t)(g.id)
|
|
2701
2701
|
}, null, 8, ["index", "title", "model-value", "active", "onClick"]))), 256)) : j("", !0)
|
|
2702
2702
|
]),
|
|
2703
2703
|
_: 1
|
|
@@ -2711,25 +2711,25 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2711
2711
|
value: t.toLowerCase()
|
|
2712
2712
|
}));
|
|
2713
2713
|
return (t, l) => (d(), A("div", null, [
|
|
2714
|
-
|
|
2714
|
+
v(n(B), {
|
|
2715
2715
|
name: "method",
|
|
2716
2716
|
label: "请求类型",
|
|
2717
2717
|
required: "",
|
|
2718
2718
|
editor: "radio",
|
|
2719
2719
|
options: n(e)
|
|
2720
2720
|
}, null, 8, ["options"]),
|
|
2721
|
-
|
|
2721
|
+
v(n(B), {
|
|
2722
2722
|
name: "name",
|
|
2723
2723
|
label: "接口名称",
|
|
2724
2724
|
required: "",
|
|
2725
2725
|
rules: { pattern: n(_e), message: "名称格式不正确" }
|
|
2726
2726
|
}, null, 8, ["rules"]),
|
|
2727
|
-
|
|
2727
|
+
v(n(B), {
|
|
2728
2728
|
name: "label",
|
|
2729
2729
|
label: "备注说明",
|
|
2730
2730
|
required: ""
|
|
2731
2731
|
}),
|
|
2732
|
-
|
|
2732
|
+
v(n(B), {
|
|
2733
2733
|
name: "url",
|
|
2734
2734
|
label: "接口URL",
|
|
2735
2735
|
required: ""
|
|
@@ -2740,12 +2740,12 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2740
2740
|
loader: () => import("./Editor-DjXowHju.js"),
|
|
2741
2741
|
loadingComponent: E({
|
|
2742
2742
|
render() {
|
|
2743
|
-
return
|
|
2743
|
+
return Te("div", "正在拼命加载...");
|
|
2744
2744
|
}
|
|
2745
2745
|
}),
|
|
2746
2746
|
errorComponent: E({
|
|
2747
2747
|
render() {
|
|
2748
|
-
return
|
|
2748
|
+
return Te("div", "组件加载失败!");
|
|
2749
2749
|
}
|
|
2750
2750
|
})
|
|
2751
2751
|
}), qo = /* @__PURE__ */ E({
|
|
@@ -2766,33 +2766,33 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2766
2766
|
}
|
|
2767
2767
|
], t = xt("currentModel", null);
|
|
2768
2768
|
return (l, a) => (d(), A("div", null, [
|
|
2769
|
-
|
|
2769
|
+
v(n(M), { justify: "space-between" }, {
|
|
2770
2770
|
default: h(() => [
|
|
2771
|
-
|
|
2771
|
+
v(n(B), {
|
|
2772
2772
|
name: "settings.loading",
|
|
2773
2773
|
size: "small",
|
|
2774
2774
|
label: "加载提示",
|
|
2775
2775
|
editor: "switch"
|
|
2776
2776
|
}),
|
|
2777
|
-
|
|
2777
|
+
v(n(B), {
|
|
2778
2778
|
size: "small",
|
|
2779
2779
|
name: "settings.failMessage",
|
|
2780
2780
|
label: "失败提示",
|
|
2781
2781
|
editor: "switch"
|
|
2782
2782
|
}),
|
|
2783
|
-
|
|
2783
|
+
v(n(B), {
|
|
2784
2784
|
size: "small",
|
|
2785
2785
|
name: "settings.validSuccess",
|
|
2786
2786
|
label: "校验成功",
|
|
2787
2787
|
editor: "switch"
|
|
2788
2788
|
}),
|
|
2789
|
-
|
|
2789
|
+
v(n(B), {
|
|
2790
2790
|
size: "small",
|
|
2791
2791
|
name: "settings.originResponse",
|
|
2792
2792
|
label: "原始响应",
|
|
2793
2793
|
editor: "switch"
|
|
2794
2794
|
}),
|
|
2795
|
-
|
|
2795
|
+
v(n(B), {
|
|
2796
2796
|
size: "small",
|
|
2797
2797
|
name: "settings.injectHeaders",
|
|
2798
2798
|
label: "注入请求头",
|
|
@@ -2801,7 +2801,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2801
2801
|
]),
|
|
2802
2802
|
_: 1
|
|
2803
2803
|
}),
|
|
2804
|
-
|
|
2804
|
+
v(n(B), {
|
|
2805
2805
|
size: "small",
|
|
2806
2806
|
name: "settings.type",
|
|
2807
2807
|
label: "发送数据类型",
|
|
@@ -2809,14 +2809,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2809
2809
|
options: e,
|
|
2810
2810
|
props: { button: !0 }
|
|
2811
2811
|
}),
|
|
2812
|
-
|
|
2812
|
+
v(n(B), {
|
|
2813
2813
|
size: "small",
|
|
2814
2814
|
name: "headers.value",
|
|
2815
2815
|
label: "请求头配置",
|
|
2816
2816
|
tip: "支持 JSExpression 或 JSFunction"
|
|
2817
2817
|
}, {
|
|
2818
2818
|
editor: h(() => [
|
|
2819
|
-
|
|
2819
|
+
v(n(le), {
|
|
2820
2820
|
dark: "",
|
|
2821
2821
|
height: "260px",
|
|
2822
2822
|
modelValue: n(t).headers.value,
|
|
@@ -2831,23 +2831,23 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2831
2831
|
__name: "jsonp-options",
|
|
2832
2832
|
setup(u) {
|
|
2833
2833
|
return (e, t) => (d(), A("div", null, [
|
|
2834
|
-
|
|
2834
|
+
v(n(B), {
|
|
2835
2835
|
name: "jsonpOptions.jsonpCallback",
|
|
2836
2836
|
size: "small",
|
|
2837
2837
|
label: "jsonpCallback"
|
|
2838
2838
|
}),
|
|
2839
|
-
|
|
2839
|
+
v(n(B), {
|
|
2840
2840
|
name: "jsonpOptions.jsonpCallbackFunction",
|
|
2841
2841
|
size: "small",
|
|
2842
2842
|
label: "jsonpCallbackFunction"
|
|
2843
2843
|
}),
|
|
2844
|
-
|
|
2844
|
+
v(n(B), {
|
|
2845
2845
|
name: "jsonpOptions.timeout",
|
|
2846
2846
|
size: "small",
|
|
2847
2847
|
label: "timeout",
|
|
2848
2848
|
editor: "number"
|
|
2849
2849
|
}),
|
|
2850
|
-
|
|
2850
|
+
v(n(B), {
|
|
2851
2851
|
name: "jsonpOptions.crossorigin",
|
|
2852
2852
|
size: "small",
|
|
2853
2853
|
label: "crossorigin",
|
|
@@ -2869,17 +2869,17 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2869
2869
|
closable: !1,
|
|
2870
2870
|
style: { "margin-bottom": "20px" }
|
|
2871
2871
|
})),
|
|
2872
|
-
|
|
2872
|
+
v(n(B), {
|
|
2873
2873
|
size: "small",
|
|
2874
2874
|
name: "mock",
|
|
2875
2875
|
label: "开启模拟数据",
|
|
2876
2876
|
disabled: !l.value.mock,
|
|
2877
2877
|
editor: "switch"
|
|
2878
2878
|
}, null, 8, ["disabled"]),
|
|
2879
|
-
|
|
2879
|
+
v(n(M), { justify: "space-between" }, {
|
|
2880
2880
|
default: h(() => [
|
|
2881
2881
|
Go,
|
|
2882
|
-
|
|
2882
|
+
v(n(he), {
|
|
2883
2883
|
icon: n(jn),
|
|
2884
2884
|
mode: "text",
|
|
2885
2885
|
label: "帮助",
|
|
@@ -2888,13 +2888,13 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2888
2888
|
]),
|
|
2889
2889
|
_: 1
|
|
2890
2890
|
}),
|
|
2891
|
-
|
|
2891
|
+
v(n(B), {
|
|
2892
2892
|
size: "small",
|
|
2893
2893
|
name: "mockTemplate.value",
|
|
2894
2894
|
label: " "
|
|
2895
2895
|
}, {
|
|
2896
2896
|
editor: h(() => [
|
|
2897
|
-
|
|
2897
|
+
v(n(le), {
|
|
2898
2898
|
dark: "",
|
|
2899
2899
|
height: l.value.mock ? "330px" : "280px",
|
|
2900
2900
|
lang: "typescript",
|
|
@@ -2944,7 +2944,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2944
2944
|
_ || (await we(), l.value = "base");
|
|
2945
2945
|
});
|
|
2946
2946
|
});
|
|
2947
|
-
const
|
|
2947
|
+
const m = () => {
|
|
2948
2948
|
a.value?.cancel();
|
|
2949
2949
|
}, f = () => {
|
|
2950
2950
|
o.value?.submit();
|
|
@@ -2974,14 +2974,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2974
2974
|
height: "600px"
|
|
2975
2975
|
}, {
|
|
2976
2976
|
default: h(() => [
|
|
2977
|
-
|
|
2977
|
+
v(n(M), { fit: "" }, {
|
|
2978
2978
|
default: h(() => [
|
|
2979
|
-
|
|
2979
|
+
v(n(M), {
|
|
2980
2980
|
width: "100px",
|
|
2981
2981
|
shrink: !1
|
|
2982
2982
|
}, {
|
|
2983
2983
|
default: h(() => [
|
|
2984
|
-
|
|
2984
|
+
v(n(Et), {
|
|
2985
2985
|
modelValue: l.value,
|
|
2986
2986
|
"onUpdate:modelValue": w[0] || (w[0] = (x) => l.value = x),
|
|
2987
2987
|
items: g,
|
|
@@ -2992,7 +2992,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
2992
2992
|
]),
|
|
2993
2993
|
_: 1
|
|
2994
2994
|
}),
|
|
2995
|
-
|
|
2995
|
+
v(n(nt), {
|
|
2996
2996
|
header: null,
|
|
2997
2997
|
border: !1,
|
|
2998
2998
|
overflow: "auto",
|
|
@@ -3001,7 +3001,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3001
3001
|
fit: ""
|
|
3002
3002
|
}, {
|
|
3003
3003
|
footer: h(() => [
|
|
3004
|
-
|
|
3004
|
+
v(n(M), { justify: "space-between" }, {
|
|
3005
3005
|
default: h(() => [
|
|
3006
3006
|
V("div", null, [
|
|
3007
3007
|
l.value === "mock" ? (d(), y(n(ae), {
|
|
@@ -3017,13 +3017,13 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3017
3017
|
}, 8, ["disabled"])) : j("", !0)
|
|
3018
3018
|
]),
|
|
3019
3019
|
V("div", null, [
|
|
3020
|
-
|
|
3020
|
+
v(n(ae), { onClick: m }, {
|
|
3021
3021
|
default: h(() => [
|
|
3022
3022
|
G("取消")
|
|
3023
3023
|
]),
|
|
3024
3024
|
_: 1
|
|
3025
3025
|
}),
|
|
3026
|
-
|
|
3026
|
+
v(n(ae), {
|
|
3027
3027
|
type: "primary",
|
|
3028
3028
|
onClick: f
|
|
3029
3029
|
}, {
|
|
@@ -3038,7 +3038,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3038
3038
|
})
|
|
3039
3039
|
]),
|
|
3040
3040
|
default: h(() => [
|
|
3041
|
-
|
|
3041
|
+
v(n(Pt), {
|
|
3042
3042
|
ref_key: "formRef",
|
|
3043
3043
|
ref: o,
|
|
3044
3044
|
footer: !1,
|
|
@@ -3048,7 +3048,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3048
3048
|
submitMethod: b
|
|
3049
3049
|
}, {
|
|
3050
3050
|
default: h(() => [
|
|
3051
|
-
Ee(
|
|
3051
|
+
Ee(v(Uo, null, null, 512), [
|
|
3052
3052
|
[Ie, l.value === "base"]
|
|
3053
3053
|
]),
|
|
3054
3054
|
l.value === "settings" ? (d(), A("div", Qo, [
|
|
@@ -3075,7 +3075,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3075
3075
|
size: "80%"
|
|
3076
3076
|
}, {
|
|
3077
3077
|
default: h(() => [
|
|
3078
|
-
|
|
3078
|
+
v(n(le), {
|
|
3079
3079
|
"model-value": i.value,
|
|
3080
3080
|
border: "",
|
|
3081
3081
|
dark: "",
|
|
@@ -3135,8 +3135,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3135
3135
|
patch: "warning",
|
|
3136
3136
|
jsonp: "info"
|
|
3137
3137
|
}, p = (f) => {
|
|
3138
|
-
f.name === "edit" &&
|
|
3139
|
-
},
|
|
3138
|
+
f.name === "edit" && m(f.modelValue), f.name === "remove" && s.value?.removeApi(f.modelValue.name);
|
|
3139
|
+
}, m = (f) => {
|
|
3140
3140
|
a.value = !0, t.value = lt(f), e.value = !0;
|
|
3141
3141
|
};
|
|
3142
3142
|
return (f, b) => (d(), y(n(U), {
|
|
@@ -3147,7 +3147,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3147
3147
|
}, {
|
|
3148
3148
|
default: h(() => [
|
|
3149
3149
|
V("div", Yo, [
|
|
3150
|
-
|
|
3150
|
+
v(n(ye), {
|
|
3151
3151
|
size: "small",
|
|
3152
3152
|
modelValue: l.value,
|
|
3153
3153
|
"onUpdate:modelValue": b[0] || (b[0] = (c) => l.value = c),
|
|
@@ -3156,7 +3156,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3156
3156
|
clearable: ""
|
|
3157
3157
|
}, null, 8, ["modelValue", "prefix-icon"])
|
|
3158
3158
|
]),
|
|
3159
|
-
(d(!0), A(
|
|
3159
|
+
(d(!0), A(T, null, N(o.value, (c) => (d(), y(n(ue), {
|
|
3160
3160
|
key: c.id,
|
|
3161
3161
|
small: "",
|
|
3162
3162
|
title: c.name,
|
|
@@ -3166,14 +3166,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3166
3166
|
"tag-type": g[c.method || "get"],
|
|
3167
3167
|
background: "",
|
|
3168
3168
|
actions: ["edit", "remove"],
|
|
3169
|
-
onClick: (_) =>
|
|
3169
|
+
onClick: (_) => m(c),
|
|
3170
3170
|
onAction: p
|
|
3171
3171
|
}, null, 8, ["title", "subtitle", "model-value", "tag", "tag-type", "onClick"]))), 128)),
|
|
3172
3172
|
o.value.length === 0 ? (d(), y(n(se), {
|
|
3173
3173
|
key: 0,
|
|
3174
3174
|
"image-size": 50
|
|
3175
3175
|
})) : j("", !0),
|
|
3176
|
-
|
|
3176
|
+
v(Ko, {
|
|
3177
3177
|
modelValue: e.value,
|
|
3178
3178
|
"onUpdate:modelValue": b[1] || (b[1] = (c) => e.value = c),
|
|
3179
3179
|
model: t.value,
|
|
@@ -3190,7 +3190,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3190
3190
|
const { dependencies: e, engine: t } = Dn(), l = k(!1), a = k(!1), o = k({}), s = S(() => a.value ? "查看依赖" : o.value ? "编辑依赖" : "新增依赖"), r = (c) => c.required || c.official ? [] : ["edit", "remove"], i = (c) => c.official && !c.required, g = async (c) => (c.urls = c.urls.split(`
|
|
3191
3191
|
`), t.project.value?.setDeps(c), !0), p = (c) => {
|
|
3192
3192
|
t.project.value?.setDeps(c);
|
|
3193
|
-
},
|
|
3193
|
+
}, m = () => {
|
|
3194
3194
|
a.value = !1, l.value = !0, o.value = null;
|
|
3195
3195
|
}, f = (c) => {
|
|
3196
3196
|
a.value = !0, o.value = {
|
|
@@ -3209,10 +3209,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3209
3209
|
class: "v-deps-widget",
|
|
3210
3210
|
title: "依赖管理",
|
|
3211
3211
|
plus: "",
|
|
3212
|
-
onPlus:
|
|
3212
|
+
onPlus: m
|
|
3213
3213
|
}, {
|
|
3214
3214
|
default: h(() => [
|
|
3215
|
-
(d(!0), A(
|
|
3215
|
+
(d(!0), A(T, null, N(n(e), (w) => (d(), y(n(ue), {
|
|
3216
3216
|
key: w.package,
|
|
3217
3217
|
title: w.package,
|
|
3218
3218
|
subtitle: w.version,
|
|
@@ -3225,7 +3225,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3225
3225
|
onClick: (x) => f(w),
|
|
3226
3226
|
onAction: (x) => b(w, x)
|
|
3227
3227
|
}, null, 8, ["title", "subtitle", "actions", "switch", "modelValue", "onUpdate:modelValue", "onSwitch", "onClick", "onAction"]))), 128)),
|
|
3228
|
-
|
|
3228
|
+
v(n(Ve), {
|
|
3229
3229
|
modelValue: l.value,
|
|
3230
3230
|
"onUpdate:modelValue": _[0] || (_[0] = (w) => l.value = w),
|
|
3231
3231
|
width: "600px",
|
|
@@ -3239,23 +3239,23 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3239
3239
|
}
|
|
3240
3240
|
}, {
|
|
3241
3241
|
default: h(() => [
|
|
3242
|
-
|
|
3242
|
+
v(n(B), {
|
|
3243
3243
|
name: "package",
|
|
3244
3244
|
label: "包名",
|
|
3245
3245
|
required: "",
|
|
3246
3246
|
disabled: !!o.value
|
|
3247
3247
|
}, null, 8, ["disabled"]),
|
|
3248
|
-
|
|
3248
|
+
v(n(B), {
|
|
3249
3249
|
name: "version",
|
|
3250
3250
|
label: "版本",
|
|
3251
3251
|
required: ""
|
|
3252
3252
|
}),
|
|
3253
|
-
|
|
3253
|
+
v(n(B), {
|
|
3254
3254
|
name: "library",
|
|
3255
3255
|
label: "导出名称",
|
|
3256
3256
|
required: ""
|
|
3257
3257
|
}),
|
|
3258
|
-
|
|
3258
|
+
v(n(B), {
|
|
3259
3259
|
name: "urls",
|
|
3260
3260
|
label: "资源文件",
|
|
3261
3261
|
editor: "textarea",
|
|
@@ -3263,11 +3263,11 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3263
3263
|
tip: "多个资源可以换行输入",
|
|
3264
3264
|
required: ""
|
|
3265
3265
|
}),
|
|
3266
|
-
|
|
3266
|
+
v(n(B), {
|
|
3267
3267
|
name: "assetsUrl",
|
|
3268
3268
|
label: "物料URL"
|
|
3269
3269
|
}),
|
|
3270
|
-
|
|
3270
|
+
v(n(B), {
|
|
3271
3271
|
name: "assetsLibrary",
|
|
3272
3272
|
label: "物料名称"
|
|
3273
3273
|
})
|
|
@@ -3331,10 +3331,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3331
3331
|
}, g = async (p) => {
|
|
3332
3332
|
p.name === "remove" ? await Oe("确定删除?") && l("action", { type: p.name, model: t.model }) : l("action", { type: p.name, model: t.model });
|
|
3333
3333
|
};
|
|
3334
|
-
return (p,
|
|
3334
|
+
return (p, m) => (d(), A("div", {
|
|
3335
3335
|
class: H(["v-actions", [`is-${t.position}`]])
|
|
3336
3336
|
}, [
|
|
3337
|
-
|
|
3337
|
+
v(n(he), {
|
|
3338
3338
|
mode: "icon",
|
|
3339
3339
|
size: "small",
|
|
3340
3340
|
icon: n(En),
|
|
@@ -3343,7 +3343,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3343
3343
|
background: "none",
|
|
3344
3344
|
onCommand: i
|
|
3345
3345
|
}, null, 8, ["icon", "label", "menus"]),
|
|
3346
|
-
|
|
3346
|
+
v(n(fl), {
|
|
3347
3347
|
disabled: !o.value,
|
|
3348
3348
|
mode: "icon",
|
|
3349
3349
|
size: "small",
|
|
@@ -3361,14 +3361,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3361
3361
|
inheritAttrs: !1,
|
|
3362
3362
|
__name: "index",
|
|
3363
3363
|
setup(u, { expose: e }) {
|
|
3364
|
-
const t = k(), l = k(), { width: a, height: o } = Ue(t), { dependencies: s, engine: r, apis: i, meta: g } = Dn(), { current: p, isEmpty:
|
|
3364
|
+
const t = k(), l = k(), { width: a, height: o } = Ue(t), { dependencies: s, engine: r, apis: i, meta: g } = Dn(), { current: p, isEmpty: m } = ie(), f = S(() => r.skeleton?.getWidget("Toolbar")?.widgetRef.mode ?? "pc"), b = S(() => r.project.value?.config || {}), { designer: c, hover: _, dropping: w, selected: x } = zs(
|
|
3365
3365
|
l,
|
|
3366
3366
|
s,
|
|
3367
3367
|
i,
|
|
3368
3368
|
g,
|
|
3369
3369
|
b
|
|
3370
|
-
), C = (
|
|
3371
|
-
const D =
|
|
3370
|
+
), C = ($) => {
|
|
3371
|
+
const D = $.type, R = $.model;
|
|
3372
3372
|
if (p.value)
|
|
3373
3373
|
switch (D) {
|
|
3374
3374
|
case "remove":
|
|
@@ -3391,10 +3391,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3391
3391
|
c.value?.setSelected(R);
|
|
3392
3392
|
break;
|
|
3393
3393
|
}
|
|
3394
|
-
}, I = (
|
|
3395
|
-
if (
|
|
3396
|
-
const D = r.assets.componentMap.get(
|
|
3397
|
-
D && c.value.setDragging(D), c.value.setDraggingNode(
|
|
3394
|
+
}, I = ($) => {
|
|
3395
|
+
if ($ && c.value) {
|
|
3396
|
+
const D = r.assets.componentMap.get($.name);
|
|
3397
|
+
D && c.value.setDragging(D), c.value.setDraggingNode($);
|
|
3398
3398
|
}
|
|
3399
3399
|
}, O = () => {
|
|
3400
3400
|
c.value && (c.value.setDraggingNode(null), c.value.setDragging(null));
|
|
@@ -3402,12 +3402,12 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3402
3402
|
return e({
|
|
3403
3403
|
designer: c,
|
|
3404
3404
|
mode: f
|
|
3405
|
-
}), (
|
|
3405
|
+
}), ($, D) => (d(), A("div", {
|
|
3406
3406
|
ref_key: "container",
|
|
3407
3407
|
ref: t,
|
|
3408
3408
|
class: "v-designer"
|
|
3409
3409
|
}, [
|
|
3410
|
-
|
|
3410
|
+
v(n(Tn), {
|
|
3411
3411
|
mode: f.value,
|
|
3412
3412
|
width: n(a),
|
|
3413
3413
|
height: n(o)
|
|
@@ -3440,7 +3440,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3440
3440
|
class: "v-designer__selected",
|
|
3441
3441
|
style: Xe(n(x).style)
|
|
3442
3442
|
}, [
|
|
3443
|
-
|
|
3443
|
+
v(tr, {
|
|
3444
3444
|
position: n(x).position,
|
|
3445
3445
|
model: n(x).model,
|
|
3446
3446
|
path: n(x).path,
|
|
@@ -3456,7 +3456,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3456
3456
|
key: 0,
|
|
3457
3457
|
description: "请新建或打开文件"
|
|
3458
3458
|
})),
|
|
3459
|
-
n(p) && n(
|
|
3459
|
+
n(p) && n(m) ? (d(), A("div", nr, " 您可以拖拽组件放置到这里 ")) : j("", !0)
|
|
3460
3460
|
], 512));
|
|
3461
3461
|
}
|
|
3462
3462
|
}), He = /* @__PURE__ */ E({
|
|
@@ -3481,7 +3481,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3481
3481
|
}, g = (c, _) => {
|
|
3482
3482
|
switch (_.name) {
|
|
3483
3483
|
case "edit":
|
|
3484
|
-
|
|
3484
|
+
m(c);
|
|
3485
3485
|
break;
|
|
3486
3486
|
case "remove":
|
|
3487
3487
|
e.remove(c);
|
|
@@ -3489,7 +3489,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3489
3489
|
}
|
|
3490
3490
|
}, p = (c) => {
|
|
3491
3491
|
o.value.value = c;
|
|
3492
|
-
},
|
|
3492
|
+
}, m = (c) => {
|
|
3493
3493
|
s.value = !0, o.value = {
|
|
3494
3494
|
...c
|
|
3495
3495
|
}, a.value = !0;
|
|
@@ -3505,18 +3505,18 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3505
3505
|
onPlus: i
|
|
3506
3506
|
}, {
|
|
3507
3507
|
default: h(() => [
|
|
3508
|
-
(d(!0), A(
|
|
3508
|
+
(d(!0), A(T, null, N(c.list, (w) => (d(), y(n(ue), {
|
|
3509
3509
|
title: e.itemTitle(w),
|
|
3510
3510
|
border: "",
|
|
3511
3511
|
actions: ["edit", "remove"],
|
|
3512
3512
|
onAction: (x) => g(w, x),
|
|
3513
|
-
onClick: (x) =>
|
|
3513
|
+
onClick: (x) => m(w)
|
|
3514
3514
|
}, null, 8, ["title", "onAction", "onClick"]))), 256)),
|
|
3515
3515
|
c.list.length ? j("", !0) : (d(), y(n(se), {
|
|
3516
3516
|
key: 0,
|
|
3517
3517
|
"image-size": 40
|
|
3518
3518
|
})),
|
|
3519
|
-
|
|
3519
|
+
v(n(Tt), {
|
|
3520
3520
|
modelValue: a.value,
|
|
3521
3521
|
"onUpdate:modelValue": _[1] || (_[1] = (w) => a.value = w),
|
|
3522
3522
|
title: r.value,
|
|
@@ -3528,13 +3528,13 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3528
3528
|
}, {
|
|
3529
3529
|
default: h(() => [
|
|
3530
3530
|
Se(c.$slots, "fields", en(tn({ model: o.value, isEdit: s.value, nameLabel: c.nameLabel, valueLabel: c.valueLabel })), () => [
|
|
3531
|
-
|
|
3531
|
+
v(n(B), {
|
|
3532
3532
|
name: "name",
|
|
3533
3533
|
label: c.nameLabel,
|
|
3534
3534
|
required: "",
|
|
3535
3535
|
disabled: s.value
|
|
3536
3536
|
}, null, 8, ["label", "disabled"]),
|
|
3537
|
-
|
|
3537
|
+
v(n(B), {
|
|
3538
3538
|
ref_key: "codeFieldRef",
|
|
3539
3539
|
ref: l,
|
|
3540
3540
|
name: "value",
|
|
@@ -3542,7 +3542,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3542
3542
|
required: ""
|
|
3543
3543
|
}, {
|
|
3544
3544
|
editor: h(() => [
|
|
3545
|
-
|
|
3545
|
+
v(n(le), {
|
|
3546
3546
|
ref_key: "editorRef",
|
|
3547
3547
|
ref: t,
|
|
3548
3548
|
dark: "",
|
|
@@ -3675,11 +3675,11 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3675
3675
|
const { name: g, value: p } = r;
|
|
3676
3676
|
if (!i && e.current?.lifeCycles[g])
|
|
3677
3677
|
return ne(`名称 ${g} 已存在,请更换!`), !1;
|
|
3678
|
-
const
|
|
3678
|
+
const m = {
|
|
3679
3679
|
type: "JSFunction",
|
|
3680
3680
|
value: p
|
|
3681
3681
|
};
|
|
3682
|
-
return oe(
|
|
3682
|
+
return oe(m, e.context, !0) ? (e.current?.setFunction("lifeCycles", g, m), !0) : !1;
|
|
3683
3683
|
};
|
|
3684
3684
|
return (r, i) => (d(), y(He, {
|
|
3685
3685
|
title: "生命周期",
|
|
@@ -3692,22 +3692,22 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3692
3692
|
remove: o,
|
|
3693
3693
|
submit: s
|
|
3694
3694
|
}, {
|
|
3695
|
-
fields: h(({ model: g, nameLabel: p, isEdit:
|
|
3696
|
-
|
|
3695
|
+
fields: h(({ model: g, nameLabel: p, isEdit: m, valueLabel: f }) => [
|
|
3696
|
+
v(n(B), {
|
|
3697
3697
|
name: "name",
|
|
3698
3698
|
label: p,
|
|
3699
3699
|
editor: "select",
|
|
3700
3700
|
options: t.value,
|
|
3701
3701
|
required: "",
|
|
3702
|
-
disabled:
|
|
3702
|
+
disabled: m
|
|
3703
3703
|
}, null, 8, ["label", "options", "disabled"]),
|
|
3704
|
-
|
|
3704
|
+
v(n(B), {
|
|
3705
3705
|
name: "value",
|
|
3706
3706
|
label: f,
|
|
3707
3707
|
required: ""
|
|
3708
3708
|
}, {
|
|
3709
3709
|
editor: h(() => [
|
|
3710
|
-
|
|
3710
|
+
v(n(le), {
|
|
3711
3711
|
ref: "editorRef",
|
|
3712
3712
|
dark: "",
|
|
3713
3713
|
height: "350px",
|
|
@@ -3747,12 +3747,12 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3747
3747
|
};
|
|
3748
3748
|
if (!oe(g, e.context, !0) || !oe(p, e.context, !0))
|
|
3749
3749
|
return !1;
|
|
3750
|
-
const
|
|
3750
|
+
const m = {
|
|
3751
3751
|
...r,
|
|
3752
3752
|
source: g,
|
|
3753
3753
|
handler: p
|
|
3754
3754
|
};
|
|
3755
|
-
return e.current?.setWatch(
|
|
3755
|
+
return e.current?.setWatch(m), !0;
|
|
3756
3756
|
};
|
|
3757
3757
|
return (r, i) => (d(), y(He, {
|
|
3758
3758
|
title: "侦听器",
|
|
@@ -3767,14 +3767,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3767
3767
|
itemTitle: a,
|
|
3768
3768
|
grow: ""
|
|
3769
3769
|
}, {
|
|
3770
|
-
fields: h(({ model: g, nameLabel: p, valueLabel:
|
|
3771
|
-
|
|
3770
|
+
fields: h(({ model: g, nameLabel: p, valueLabel: m }) => [
|
|
3771
|
+
v(n(B), {
|
|
3772
3772
|
name: "source",
|
|
3773
3773
|
label: p,
|
|
3774
3774
|
required: ""
|
|
3775
3775
|
}, {
|
|
3776
3776
|
editor: h(() => [
|
|
3777
|
-
|
|
3777
|
+
v(n(le), {
|
|
3778
3778
|
dark: "",
|
|
3779
3779
|
height: "100px",
|
|
3780
3780
|
modelValue: g.source,
|
|
@@ -3783,27 +3783,27 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3783
3783
|
]),
|
|
3784
3784
|
_: 2
|
|
3785
3785
|
}, 1032, ["label"]),
|
|
3786
|
-
|
|
3786
|
+
v(n(B), {
|
|
3787
3787
|
name: "deep",
|
|
3788
3788
|
modelValue: g.deep,
|
|
3789
3789
|
"onUpdate:modelValue": (f) => g.deep = f,
|
|
3790
3790
|
label: "深度监听",
|
|
3791
3791
|
editor: "switch"
|
|
3792
3792
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
3793
|
-
|
|
3793
|
+
v(n(B), {
|
|
3794
3794
|
name: "immediate",
|
|
3795
3795
|
modelValue: g.immediate,
|
|
3796
3796
|
"onUpdate:modelValue": (f) => g.immediate = f,
|
|
3797
3797
|
label: "立即执行",
|
|
3798
3798
|
editor: "switch"
|
|
3799
3799
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
3800
|
-
|
|
3800
|
+
v(n(B), {
|
|
3801
3801
|
name: "handler",
|
|
3802
|
-
label:
|
|
3802
|
+
label: m,
|
|
3803
3803
|
required: ""
|
|
3804
3804
|
}, {
|
|
3805
3805
|
editor: h(() => [
|
|
3806
|
-
|
|
3806
|
+
v(n(le), {
|
|
3807
3807
|
dark: "",
|
|
3808
3808
|
height: "130px",
|
|
3809
3809
|
modelValue: g.handler,
|
|
@@ -3826,23 +3826,23 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3826
3826
|
fit: ""
|
|
3827
3827
|
}, {
|
|
3828
3828
|
default: h(() => [
|
|
3829
|
-
|
|
3829
|
+
v(ar, {
|
|
3830
3830
|
current: n(e),
|
|
3831
3831
|
context: n(t)
|
|
3832
3832
|
}, null, 8, ["current", "context"]),
|
|
3833
|
-
|
|
3833
|
+
v(sr, {
|
|
3834
3834
|
current: n(e),
|
|
3835
3835
|
context: n(t)
|
|
3836
3836
|
}, null, 8, ["current", "context"]),
|
|
3837
|
-
|
|
3837
|
+
v(or, {
|
|
3838
3838
|
current: n(e),
|
|
3839
3839
|
context: n(t)
|
|
3840
3840
|
}, null, 8, ["current", "context"]),
|
|
3841
|
-
|
|
3841
|
+
v(rr, {
|
|
3842
3842
|
current: n(e),
|
|
3843
3843
|
context: n(t)
|
|
3844
3844
|
}, null, 8, ["current", "context"]),
|
|
3845
|
-
|
|
3845
|
+
v(ir, {
|
|
3846
3846
|
current: n(e),
|
|
3847
3847
|
context: n(t)
|
|
3848
3848
|
}, null, 8, ["current", "context"])
|
|
@@ -3874,7 +3874,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3874
3874
|
fit: !1
|
|
3875
3875
|
}, {
|
|
3876
3876
|
default: h(() => [
|
|
3877
|
-
|
|
3877
|
+
v(n(ge), {
|
|
3878
3878
|
class: "v-properties-widget__form",
|
|
3879
3879
|
size: "small",
|
|
3880
3880
|
"label-width": "90px",
|
|
@@ -3882,7 +3882,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3882
3882
|
}, ["prevent", "stop"]), ["enter"]))
|
|
3883
3883
|
}, {
|
|
3884
3884
|
default: h(() => [
|
|
3885
|
-
(d(!0), A(
|
|
3885
|
+
(d(!0), A(T, null, N(t.items, (i) => (d(), y(n(J), re({ ref_for: !0 }, i, {
|
|
3886
3886
|
key: `${i.name}_${t.node.id}`,
|
|
3887
3887
|
current: t.current,
|
|
3888
3888
|
context: t.context,
|
|
@@ -3909,14 +3909,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3909
3909
|
customProps: i,
|
|
3910
3910
|
addCustom: g,
|
|
3911
3911
|
removeCustom: p,
|
|
3912
|
-
isExist:
|
|
3912
|
+
isExist: m
|
|
3913
3913
|
} = Ws(l), f = k(!1), b = k(), c = () => {
|
|
3914
3914
|
f.value = !0, b.value = {
|
|
3915
3915
|
name: ""
|
|
3916
3916
|
};
|
|
3917
3917
|
}, _ = async (x) => {
|
|
3918
3918
|
const C = Object.keys(a.value?.props || {});
|
|
3919
|
-
return !
|
|
3919
|
+
return !m(x.name) && !C.includes(x.name) ? (g(x.name), !0) : (ne("已存在该属性名称"), !1);
|
|
3920
3920
|
}, w = async (x) => {
|
|
3921
3921
|
await Oe("确定删除?") && p(x);
|
|
3922
3922
|
};
|
|
@@ -3959,7 +3959,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3959
3959
|
onPlus: c,
|
|
3960
3960
|
onRemove: w
|
|
3961
3961
|
}, null, 8, ["current", "context", "node", "items", "onChange"])) : j("", !0),
|
|
3962
|
-
|
|
3962
|
+
v(n(Ve), {
|
|
3963
3963
|
modelValue: f.value,
|
|
3964
3964
|
"onUpdate:modelValue": C[0] || (C[0] = (I) => f.value = I),
|
|
3965
3965
|
title: "新增自定义属性",
|
|
@@ -3970,7 +3970,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
3970
3970
|
model: b.value
|
|
3971
3971
|
}, {
|
|
3972
3972
|
default: h(() => [
|
|
3973
|
-
|
|
3973
|
+
v(n(B), {
|
|
3974
3974
|
name: "name",
|
|
3975
3975
|
label: "属性名称",
|
|
3976
3976
|
required: "",
|
|
@@ -4001,7 +4001,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4001
4001
|
}), a = (o) => {
|
|
4002
4002
|
t.value.getEditor().setValue(o), l.value = o;
|
|
4003
4003
|
};
|
|
4004
|
-
return (o, s) => (d(), y(n(
|
|
4004
|
+
return (o, s) => (d(), y(n(Tt), {
|
|
4005
4005
|
title: "绑定变量",
|
|
4006
4006
|
"unbind-enabled": "",
|
|
4007
4007
|
block: e.current,
|
|
@@ -4010,13 +4010,13 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4010
4010
|
onPick: a
|
|
4011
4011
|
}, {
|
|
4012
4012
|
default: h(() => [
|
|
4013
|
-
|
|
4013
|
+
v(n(B), {
|
|
4014
4014
|
name: "value",
|
|
4015
4015
|
label: "绑定内容 [ JSExpression ]",
|
|
4016
4016
|
required: ""
|
|
4017
4017
|
}, {
|
|
4018
4018
|
editor: h(() => [
|
|
4019
|
-
|
|
4019
|
+
v(n(le), {
|
|
4020
4020
|
ref_key: "editorRef",
|
|
4021
4021
|
ref: t,
|
|
4022
4022
|
modelValue: l.value,
|
|
@@ -4055,7 +4055,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4055
4055
|
})), s = (r) => {
|
|
4056
4056
|
t.value.getEditor().setValue(r), a.handler.value = r;
|
|
4057
4057
|
};
|
|
4058
|
-
return (r, i) => (d(), y(n(
|
|
4058
|
+
return (r, i) => (d(), y(n(Tt), {
|
|
4059
4059
|
title: "绑定事件",
|
|
4060
4060
|
"unbind-enabled": "",
|
|
4061
4061
|
block: e.current,
|
|
@@ -4064,19 +4064,19 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4064
4064
|
onPick: s
|
|
4065
4065
|
}, {
|
|
4066
4066
|
default: h(() => [
|
|
4067
|
-
|
|
4067
|
+
v(n(B), {
|
|
4068
4068
|
name: "modifiers",
|
|
4069
4069
|
label: "事件修饰符",
|
|
4070
4070
|
editor: "checkbox",
|
|
4071
4071
|
options: n(o)
|
|
4072
4072
|
}, null, 8, ["options"]),
|
|
4073
|
-
|
|
4073
|
+
v(n(B), {
|
|
4074
4074
|
name: "handler.value",
|
|
4075
4075
|
label: "事件处理函数 [ JSFunction ]",
|
|
4076
4076
|
required: ""
|
|
4077
4077
|
}, {
|
|
4078
4078
|
editor: h(() => [
|
|
4079
|
-
|
|
4079
|
+
v(n(le), {
|
|
4080
4080
|
ref_key: "editorRef",
|
|
4081
4081
|
ref: t,
|
|
4082
4082
|
modelValue: a.handler.value,
|
|
@@ -4106,14 +4106,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4106
4106
|
modifiers: c.modifiers.reduce((x, C) => (x[C] = !0, x), {})
|
|
4107
4107
|
};
|
|
4108
4108
|
return oe(_.handler, t.value, !0) ? ((l.value?.model).setEvent(_), !0) : !1;
|
|
4109
|
-
},
|
|
4109
|
+
}, m = async (c) => {
|
|
4110
4110
|
const _ = l.value?.model;
|
|
4111
4111
|
c.name && (_.removeEvent(c.name), i.value = !1);
|
|
4112
4112
|
}, f = async () => {
|
|
4113
|
-
r.value.name && await Oe("确定要删除该事件吗?") &&
|
|
4113
|
+
r.value.name && await Oe("确定要删除该事件吗?") && m(r.value);
|
|
4114
4114
|
}, b = (c) => {
|
|
4115
4115
|
const { name: _, modelValue: w } = c;
|
|
4116
|
-
_ === "edit" && g(w), _ === "remove" &&
|
|
4116
|
+
_ === "edit" && g(w), _ === "remove" && m(w);
|
|
4117
4117
|
};
|
|
4118
4118
|
return (c, _) => (d(), y(n(M), {
|
|
4119
4119
|
class: "v-events-widget",
|
|
@@ -4121,7 +4121,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4121
4121
|
fit: ""
|
|
4122
4122
|
}, {
|
|
4123
4123
|
default: h(() => [
|
|
4124
|
-
|
|
4124
|
+
v(n(U), {
|
|
4125
4125
|
title: "组件事件",
|
|
4126
4126
|
class: "v-sub-panel",
|
|
4127
4127
|
size: "small",
|
|
@@ -4133,7 +4133,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4133
4133
|
"image-size": 50,
|
|
4134
4134
|
description: "该组件无自带事件"
|
|
4135
4135
|
})),
|
|
4136
|
-
(d(!0), A(
|
|
4136
|
+
(d(!0), A(T, null, N(n(s), (w) => (d(), y(n(ue), {
|
|
4137
4137
|
key: `component_${w.name}`,
|
|
4138
4138
|
title: w.name,
|
|
4139
4139
|
"model-value": w,
|
|
@@ -4147,14 +4147,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4147
4147
|
]),
|
|
4148
4148
|
_: 1
|
|
4149
4149
|
}),
|
|
4150
|
-
|
|
4150
|
+
v(n(U), {
|
|
4151
4151
|
title: "鼠标事件",
|
|
4152
4152
|
class: "v-sub-panel",
|
|
4153
4153
|
size: "small",
|
|
4154
4154
|
fit: !1
|
|
4155
4155
|
}, {
|
|
4156
4156
|
default: h(() => [
|
|
4157
|
-
(d(!0), A(
|
|
4157
|
+
(d(!0), A(T, null, N(n(a), (w) => (d(), y(n(ue), {
|
|
4158
4158
|
key: `mouse_${w.name}`,
|
|
4159
4159
|
title: w.name,
|
|
4160
4160
|
"model-value": w,
|
|
@@ -4168,7 +4168,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4168
4168
|
]),
|
|
4169
4169
|
_: 1
|
|
4170
4170
|
}),
|
|
4171
|
-
|
|
4171
|
+
v(n(U), {
|
|
4172
4172
|
title: "键盘事件",
|
|
4173
4173
|
class: "v-sub-panel",
|
|
4174
4174
|
size: "small",
|
|
@@ -4176,7 +4176,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4176
4176
|
fit: !1
|
|
4177
4177
|
}, {
|
|
4178
4178
|
default: h(() => [
|
|
4179
|
-
(d(!0), A(
|
|
4179
|
+
(d(!0), A(T, null, N(n(o), (w) => (d(), y(n(ue), {
|
|
4180
4180
|
key: `keyboard_${w.name}`,
|
|
4181
4181
|
title: w.name,
|
|
4182
4182
|
"model-value": w,
|
|
@@ -4224,7 +4224,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4224
4224
|
onSave: o
|
|
4225
4225
|
}, {
|
|
4226
4226
|
default: h(() => [
|
|
4227
|
-
|
|
4227
|
+
v(n(le), {
|
|
4228
4228
|
ref_key: "editorRef",
|
|
4229
4229
|
ref: t,
|
|
4230
4230
|
"model-value": l.value,
|
|
@@ -4249,7 +4249,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4249
4249
|
vModels: i,
|
|
4250
4250
|
onValueChange: g,
|
|
4251
4251
|
onForChange: p,
|
|
4252
|
-
onModelChange:
|
|
4252
|
+
onModelChange: m
|
|
4253
4253
|
} = qs(l), f = (b) => b.arg ? typeof b.arg == "string" ? b.arg : Me(b.arg, {}) : "modelValue";
|
|
4254
4254
|
return (b, c) => (d(), y(n(M), {
|
|
4255
4255
|
class: "v-directives-widget",
|
|
@@ -4257,21 +4257,21 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4257
4257
|
fit: ""
|
|
4258
4258
|
}, {
|
|
4259
4259
|
default: h(() => [
|
|
4260
|
-
|
|
4260
|
+
v(n(U), {
|
|
4261
4261
|
class: "v-sub-panel",
|
|
4262
4262
|
title: "内置指令",
|
|
4263
4263
|
size: "small",
|
|
4264
4264
|
fit: !1
|
|
4265
4265
|
}, {
|
|
4266
4266
|
default: h(() => [
|
|
4267
|
-
|
|
4267
|
+
v(n(ge), {
|
|
4268
4268
|
size: "small",
|
|
4269
4269
|
"label-width": "80px",
|
|
4270
4270
|
onKeydown: c[0] || (c[0] = Qe(Ne(() => {
|
|
4271
4271
|
}, ["prevent", "stop"]), ["enter"]))
|
|
4272
4272
|
}, {
|
|
4273
4273
|
default: h(() => [
|
|
4274
|
-
|
|
4274
|
+
v(n(J), {
|
|
4275
4275
|
name: "vIf",
|
|
4276
4276
|
label: "v-if",
|
|
4277
4277
|
setters: "ExpressionSetter",
|
|
@@ -4280,7 +4280,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4280
4280
|
value: n(a).value,
|
|
4281
4281
|
onChange: n(g)
|
|
4282
4282
|
}, null, 8, ["current", "context", "value", "onChange"]),
|
|
4283
|
-
|
|
4283
|
+
v(n(J), {
|
|
4284
4284
|
name: "vShow",
|
|
4285
4285
|
label: "v-show",
|
|
4286
4286
|
setters: "ExpressionSetter",
|
|
@@ -4289,7 +4289,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4289
4289
|
value: n(o).value,
|
|
4290
4290
|
onChange: n(g)
|
|
4291
4291
|
}, null, 8, ["current", "context", "value", "onChange"]),
|
|
4292
|
-
|
|
4292
|
+
v(n(J), {
|
|
4293
4293
|
name: "vBind",
|
|
4294
4294
|
label: "v-bind",
|
|
4295
4295
|
setters: "ExpressionSetter",
|
|
@@ -4304,21 +4304,21 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4304
4304
|
]),
|
|
4305
4305
|
_: 1
|
|
4306
4306
|
}),
|
|
4307
|
-
|
|
4307
|
+
v(n(U), {
|
|
4308
4308
|
class: "v-sub-panel",
|
|
4309
4309
|
title: "循环",
|
|
4310
4310
|
size: "small",
|
|
4311
4311
|
fit: !1
|
|
4312
4312
|
}, {
|
|
4313
4313
|
default: h(() => [
|
|
4314
|
-
|
|
4314
|
+
v(n(ge), {
|
|
4315
4315
|
size: "small",
|
|
4316
4316
|
"label-width": "80px",
|
|
4317
4317
|
onKeydown: c[1] || (c[1] = Qe(Ne(() => {
|
|
4318
4318
|
}, ["prevent", "stop"]), ["enter"]))
|
|
4319
4319
|
}, {
|
|
4320
4320
|
default: h(() => [
|
|
4321
|
-
|
|
4321
|
+
v(n(J), {
|
|
4322
4322
|
name: "value",
|
|
4323
4323
|
label: "循环数据",
|
|
4324
4324
|
setters: "ExpressionSetter",
|
|
@@ -4327,7 +4327,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4327
4327
|
value: n(r).value,
|
|
4328
4328
|
onChange: n(p)
|
|
4329
4329
|
}, null, 8, ["current", "context", "value", "onChange"]),
|
|
4330
|
-
|
|
4330
|
+
v(n(J), {
|
|
4331
4331
|
name: "item",
|
|
4332
4332
|
label: "迭代变量名",
|
|
4333
4333
|
setters: {
|
|
@@ -4339,7 +4339,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4339
4339
|
value: n(r).iterator?.item,
|
|
4340
4340
|
onChange: n(p)
|
|
4341
4341
|
}, null, 8, ["current", "context", "value", "onChange"]),
|
|
4342
|
-
|
|
4342
|
+
v(n(J), {
|
|
4343
4343
|
name: "index",
|
|
4344
4344
|
label: "索引变量名",
|
|
4345
4345
|
setters: {
|
|
@@ -4357,7 +4357,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4357
4357
|
]),
|
|
4358
4358
|
_: 1
|
|
4359
4359
|
}),
|
|
4360
|
-
|
|
4360
|
+
v(n(U), {
|
|
4361
4361
|
class: "v-sub-panel",
|
|
4362
4362
|
title: "双向绑定",
|
|
4363
4363
|
size: "small",
|
|
@@ -4365,7 +4365,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4365
4365
|
grow: ""
|
|
4366
4366
|
}, {
|
|
4367
4367
|
default: h(() => [
|
|
4368
|
-
(d(!0), A(
|
|
4368
|
+
(d(!0), A(T, null, N(n(i), (_, w) => (d(), y(n(U), {
|
|
4369
4369
|
card: "",
|
|
4370
4370
|
border: "",
|
|
4371
4371
|
class: "v-sub-panel",
|
|
@@ -4375,21 +4375,21 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4375
4375
|
fit: !1
|
|
4376
4376
|
}, {
|
|
4377
4377
|
default: h(() => [
|
|
4378
|
-
|
|
4378
|
+
v(n(ge), {
|
|
4379
4379
|
size: "small",
|
|
4380
4380
|
"label-width": "60px",
|
|
4381
4381
|
onKeydown: c[2] || (c[2] = Qe(Ne(() => {
|
|
4382
4382
|
}, ["prevent", "stop"]), ["enter"]))
|
|
4383
4383
|
}, {
|
|
4384
4384
|
default: h(() => [
|
|
4385
|
-
|
|
4385
|
+
v(n(J), {
|
|
4386
4386
|
name: w.toString(),
|
|
4387
4387
|
label: "绑定变量",
|
|
4388
4388
|
setters: "ExpressionSetter",
|
|
4389
4389
|
current: n(e),
|
|
4390
4390
|
context: n(t),
|
|
4391
4391
|
value: _.value,
|
|
4392
|
-
onChange: n(
|
|
4392
|
+
onChange: n(m)
|
|
4393
4393
|
}, null, 8, ["name", "current", "context", "value", "onChange"])
|
|
4394
4394
|
]),
|
|
4395
4395
|
_: 2
|
|
@@ -4444,7 +4444,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4444
4444
|
"submit-method": o
|
|
4445
4445
|
}, {
|
|
4446
4446
|
default: h(() => [
|
|
4447
|
-
|
|
4447
|
+
v(n(B), {
|
|
4448
4448
|
name: "name",
|
|
4449
4449
|
label: "属性名称",
|
|
4450
4450
|
required: "",
|
|
@@ -4455,7 +4455,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4455
4455
|
pattern: n(_e)
|
|
4456
4456
|
}
|
|
4457
4457
|
}, null, 8, ["disabled", "rules"]),
|
|
4458
|
-
|
|
4458
|
+
v(n(B), {
|
|
4459
4459
|
name: "type",
|
|
4460
4460
|
label: "数据类型",
|
|
4461
4461
|
editor: "checkbox",
|
|
@@ -4463,18 +4463,18 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4463
4463
|
options: n(a),
|
|
4464
4464
|
required: ""
|
|
4465
4465
|
}, null, 8, ["options"]),
|
|
4466
|
-
|
|
4466
|
+
v(n(B), {
|
|
4467
4467
|
name: "required",
|
|
4468
4468
|
label: "必须",
|
|
4469
4469
|
editor: "switch"
|
|
4470
4470
|
}),
|
|
4471
|
-
|
|
4471
|
+
v(n(B), {
|
|
4472
4472
|
name: "default.value",
|
|
4473
4473
|
label: "默认值",
|
|
4474
4474
|
editor: "none"
|
|
4475
4475
|
}, {
|
|
4476
4476
|
default: h(() => [
|
|
4477
|
-
|
|
4477
|
+
v(n(le), {
|
|
4478
4478
|
modelValue: l.value.default.value,
|
|
4479
4479
|
"onUpdate:modelValue": r[0] || (r[0] = (i) => l.value.default.value = i),
|
|
4480
4480
|
height: "200px",
|
|
@@ -4508,7 +4508,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4508
4508
|
"submit-method": o
|
|
4509
4509
|
}, {
|
|
4510
4510
|
default: h(() => [
|
|
4511
|
-
|
|
4511
|
+
v(n(B), {
|
|
4512
4512
|
name: "name",
|
|
4513
4513
|
label: "事件名称",
|
|
4514
4514
|
required: "",
|
|
@@ -4518,7 +4518,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4518
4518
|
pattern: n(_e)
|
|
4519
4519
|
}
|
|
4520
4520
|
}, null, 8, ["disabled", "rules"]),
|
|
4521
|
-
|
|
4521
|
+
v(n(B), {
|
|
4522
4522
|
name: "params",
|
|
4523
4523
|
label: "参数",
|
|
4524
4524
|
editor: "select",
|
|
@@ -4563,7 +4563,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4563
4563
|
"submit-method": o
|
|
4564
4564
|
}, {
|
|
4565
4565
|
default: h(() => [
|
|
4566
|
-
|
|
4566
|
+
v(n(B), {
|
|
4567
4567
|
name: "name",
|
|
4568
4568
|
label: "插槽名称",
|
|
4569
4569
|
disabled: !!e.item,
|
|
@@ -4573,7 +4573,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4573
4573
|
pattern: n(_e)
|
|
4574
4574
|
}
|
|
4575
4575
|
}, null, 8, ["disabled", "rules"]),
|
|
4576
|
-
|
|
4576
|
+
v(n(B), {
|
|
4577
4577
|
name: "params",
|
|
4578
4578
|
label: "参数",
|
|
4579
4579
|
editor: "select",
|
|
@@ -4628,7 +4628,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4628
4628
|
"submit-method": a
|
|
4629
4629
|
}, {
|
|
4630
4630
|
default: h(() => [
|
|
4631
|
-
|
|
4631
|
+
v(n(B), {
|
|
4632
4632
|
name: "name",
|
|
4633
4633
|
label: "注入名称",
|
|
4634
4634
|
required: "",
|
|
@@ -4639,18 +4639,18 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4639
4639
|
pattern: n(_e)
|
|
4640
4640
|
}
|
|
4641
4641
|
}, null, 8, ["disabled", "rules"]),
|
|
4642
|
-
|
|
4642
|
+
v(n(B), {
|
|
4643
4643
|
name: "from",
|
|
4644
4644
|
label: "来源名称",
|
|
4645
4645
|
tip: "默认和注入名称一致"
|
|
4646
4646
|
}),
|
|
4647
|
-
|
|
4647
|
+
v(n(B), {
|
|
4648
4648
|
name: "default.value",
|
|
4649
4649
|
label: "默认值",
|
|
4650
4650
|
editor: "none"
|
|
4651
4651
|
}, {
|
|
4652
4652
|
default: h(() => [
|
|
4653
|
-
|
|
4653
|
+
v(n(le), {
|
|
4654
4654
|
modelValue: l.value.default.value,
|
|
4655
4655
|
"onUpdate:modelValue": s[0] || (s[0] = (r) => l.value.default.value = r),
|
|
4656
4656
|
height: "200px",
|
|
@@ -4667,7 +4667,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4667
4667
|
name: "DefinedWidget",
|
|
4668
4668
|
__name: "index",
|
|
4669
4669
|
setup(u) {
|
|
4670
|
-
const { current: e, context: t } = ie(), l = S(() => (e.value?.props || []).map((F) => typeof F == "string" ? { name: F } : F)), a = S(() => (e.value?.emits || []).map((F) => typeof F == "string" ? { name: F, params: [] } : F)), o = S(() => (e.value?.slots || []).map((F) => typeof F == "string" ? { name: F, params: [] } : F)), s = S(() => e.value?.inject || []), r = k(!1), i = k(), g = k(!1), p = k(),
|
|
4670
|
+
const { current: e, context: t } = ie(), l = S(() => (e.value?.props || []).map((F) => typeof F == "string" ? { name: F } : F)), a = S(() => (e.value?.emits || []).map((F) => typeof F == "string" ? { name: F, params: [] } : F)), o = S(() => (e.value?.slots || []).map((F) => typeof F == "string" ? { name: F, params: [] } : F)), s = S(() => e.value?.inject || []), r = k(!1), i = k(), g = k(!1), p = k(), m = k(!1), f = k(), b = k(!1), c = k(), _ = () => {
|
|
4671
4671
|
i.value = void 0, r.value = !0;
|
|
4672
4672
|
}, w = (F) => {
|
|
4673
4673
|
const { name: L, modelValue: W } = F;
|
|
@@ -4681,10 +4681,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4681
4681
|
}, O = (F) => {
|
|
4682
4682
|
const { name: L, modelValue: W } = F;
|
|
4683
4683
|
L === "edit" && I(W), L === "remove" && e.value?.removeEmit(W.name);
|
|
4684
|
-
},
|
|
4685
|
-
f.value = void 0,
|
|
4684
|
+
}, $ = () => {
|
|
4685
|
+
f.value = void 0, m.value = !0;
|
|
4686
4686
|
}, D = (F) => {
|
|
4687
|
-
f.value = { ...F },
|
|
4687
|
+
f.value = { ...F }, m.value = !0;
|
|
4688
4688
|
}, R = (F) => {
|
|
4689
4689
|
const { name: L, modelValue: W } = F;
|
|
4690
4690
|
L === "edit" && D(W), L === "remove" && e.value?.removeSlot(W.name);
|
|
@@ -4703,7 +4703,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4703
4703
|
fit: ""
|
|
4704
4704
|
}, {
|
|
4705
4705
|
default: h(() => [
|
|
4706
|
-
|
|
4706
|
+
v(n(U), {
|
|
4707
4707
|
class: "v-sub-panel",
|
|
4708
4708
|
title: "定义属性",
|
|
4709
4709
|
size: "small",
|
|
@@ -4712,12 +4712,12 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4712
4712
|
onPlus: _
|
|
4713
4713
|
}, {
|
|
4714
4714
|
default: h(() => [
|
|
4715
|
-
(d(!0), A(
|
|
4715
|
+
(d(!0), A(T, null, N(l.value, (W) => (d(), y(n(ue), {
|
|
4716
4716
|
"model-value": W,
|
|
4717
4717
|
title: W.name,
|
|
4718
4718
|
border: "",
|
|
4719
4719
|
actions: ["edit", "remove"],
|
|
4720
|
-
onClick: (
|
|
4720
|
+
onClick: ($e) => x(W),
|
|
4721
4721
|
onAction: w
|
|
4722
4722
|
}, null, 8, ["model-value", "title", "onClick"]))), 256)),
|
|
4723
4723
|
l.value.length ? j("", !0) : (d(), y(n(se), {
|
|
@@ -4735,7 +4735,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4735
4735
|
]),
|
|
4736
4736
|
_: 1
|
|
4737
4737
|
}),
|
|
4738
|
-
|
|
4738
|
+
v(n(U), {
|
|
4739
4739
|
class: "v-sub-panel",
|
|
4740
4740
|
title: "定义事件",
|
|
4741
4741
|
size: "small",
|
|
@@ -4744,12 +4744,12 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4744
4744
|
onPlus: C
|
|
4745
4745
|
}, {
|
|
4746
4746
|
default: h(() => [
|
|
4747
|
-
(d(!0), A(
|
|
4747
|
+
(d(!0), A(T, null, N(a.value, (W) => (d(), y(n(ue), {
|
|
4748
4748
|
"model-value": W,
|
|
4749
4749
|
title: W.name,
|
|
4750
4750
|
border: "",
|
|
4751
4751
|
actions: ["remove"],
|
|
4752
|
-
onClick: (
|
|
4752
|
+
onClick: ($e) => I(W),
|
|
4753
4753
|
onAction: O
|
|
4754
4754
|
}, null, 8, ["model-value", "title", "onClick"]))), 256)),
|
|
4755
4755
|
a.value.length ? j("", !0) : (d(), y(n(se), {
|
|
@@ -4767,31 +4767,31 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4767
4767
|
]),
|
|
4768
4768
|
_: 1
|
|
4769
4769
|
}),
|
|
4770
|
-
|
|
4770
|
+
v(n(U), {
|
|
4771
4771
|
class: "v-sub-panel",
|
|
4772
4772
|
title: "定义插槽",
|
|
4773
4773
|
size: "small",
|
|
4774
4774
|
plus: "",
|
|
4775
4775
|
fit: !1,
|
|
4776
|
-
onPlus:
|
|
4776
|
+
onPlus: $
|
|
4777
4777
|
}, {
|
|
4778
4778
|
default: h(() => [
|
|
4779
|
-
(d(!0), A(
|
|
4779
|
+
(d(!0), A(T, null, N(o.value, (W) => (d(), y(n(ue), {
|
|
4780
4780
|
"model-value": W,
|
|
4781
4781
|
title: W.name,
|
|
4782
4782
|
border: "",
|
|
4783
4783
|
actions: ["remove"],
|
|
4784
|
-
onClick: (
|
|
4784
|
+
onClick: ($e) => D(W),
|
|
4785
4785
|
onAction: R
|
|
4786
4786
|
}, null, 8, ["model-value", "title", "onClick"]))), 256)),
|
|
4787
4787
|
o.value.length ? j("", !0) : (d(), y(n(se), {
|
|
4788
4788
|
key: 0,
|
|
4789
4789
|
"image-size": 50
|
|
4790
4790
|
})),
|
|
4791
|
-
|
|
4791
|
+
m.value ? (d(), y(br, {
|
|
4792
4792
|
key: 1,
|
|
4793
|
-
modelValue:
|
|
4794
|
-
"onUpdate:modelValue": L[2] || (L[2] = (W) =>
|
|
4793
|
+
modelValue: m.value,
|
|
4794
|
+
"onUpdate:modelValue": L[2] || (L[2] = (W) => m.value = W),
|
|
4795
4795
|
current: n(e),
|
|
4796
4796
|
context: n(t),
|
|
4797
4797
|
item: f.value
|
|
@@ -4799,7 +4799,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4799
4799
|
]),
|
|
4800
4800
|
_: 1
|
|
4801
4801
|
}),
|
|
4802
|
-
|
|
4802
|
+
v(n(U), {
|
|
4803
4803
|
class: "v-sub-panel",
|
|
4804
4804
|
title: "注入",
|
|
4805
4805
|
size: "small",
|
|
@@ -4809,12 +4809,12 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4809
4809
|
onPlus: P
|
|
4810
4810
|
}, {
|
|
4811
4811
|
default: h(() => [
|
|
4812
|
-
(d(!0), A(
|
|
4812
|
+
(d(!0), A(T, null, N(s.value, (W) => (d(), y(n(ue), {
|
|
4813
4813
|
"model-value": W,
|
|
4814
4814
|
title: W.name,
|
|
4815
4815
|
border: "",
|
|
4816
4816
|
actions: ["remove"],
|
|
4817
|
-
onClick: (
|
|
4817
|
+
onClick: ($e) => X(W),
|
|
4818
4818
|
onAction: pe
|
|
4819
4819
|
}, null, 8, ["model-value", "title", "onClick"]))), 256)),
|
|
4820
4820
|
s.value.length ? j("", !0) : (d(), y(n(se), {
|
|
@@ -4889,7 +4889,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4889
4889
|
label: w.title || "",
|
|
4890
4890
|
value: w.id,
|
|
4891
4891
|
data: w
|
|
4892
|
-
})) : []),
|
|
4892
|
+
})) : []), m = S(() => e.item ? "编辑数据源" : "新增数据源"), f = (w) => {
|
|
4893
4893
|
s.value.ref = "", s.value.name = "", s.value.label = "";
|
|
4894
4894
|
}, b = (w) => {
|
|
4895
4895
|
if (s.value.type === "api") {
|
|
@@ -4929,9 +4929,9 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4929
4929
|
if (!oe(s.value.test, e.context, !0))
|
|
4930
4930
|
return;
|
|
4931
4931
|
const x = async (...O) => {
|
|
4932
|
-
const
|
|
4933
|
-
if (
|
|
4934
|
-
return await
|
|
4932
|
+
const $ = e.context?.$apis[s.value.ref];
|
|
4933
|
+
if ($)
|
|
4934
|
+
return await $.apply($, O);
|
|
4935
4935
|
Ce.warn(`API【${s.value.ref}】不存在`);
|
|
4936
4936
|
}, C = Me(s.value.test, {
|
|
4937
4937
|
runApi: x
|
|
@@ -4948,13 +4948,13 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4948
4948
|
return (w, x) => (d(), y(n(Ve), {
|
|
4949
4949
|
width: "1000px",
|
|
4950
4950
|
height: "700px",
|
|
4951
|
-
title:
|
|
4951
|
+
title: m.value,
|
|
4952
4952
|
model: s.value,
|
|
4953
4953
|
"form-props": { tooltipMessage: !1 },
|
|
4954
4954
|
"submit-method": c
|
|
4955
4955
|
}, {
|
|
4956
4956
|
extra: h(() => [
|
|
4957
|
-
|
|
4957
|
+
v(n(ae), {
|
|
4958
4958
|
loading: r.value,
|
|
4959
4959
|
type: "warning",
|
|
4960
4960
|
onClick: _
|
|
@@ -4966,7 +4966,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4966
4966
|
}, 8, ["loading"])
|
|
4967
4967
|
]),
|
|
4968
4968
|
default: h(() => [
|
|
4969
|
-
|
|
4969
|
+
v(n(B), {
|
|
4970
4970
|
name: "type",
|
|
4971
4971
|
label: "数据类型",
|
|
4972
4972
|
editor: "radio",
|
|
@@ -4992,7 +4992,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
4992
4992
|
]),
|
|
4993
4993
|
_: 1
|
|
4994
4994
|
}, 8, ["disabled", "options"])),
|
|
4995
|
-
|
|
4995
|
+
v(n(B), {
|
|
4996
4996
|
name: "name",
|
|
4997
4997
|
label: "调用名称",
|
|
4998
4998
|
required: "",
|
|
@@ -5003,18 +5003,18 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5003
5003
|
pattern: n(_e)
|
|
5004
5004
|
}
|
|
5005
5005
|
}, null, 8, ["disabled", "rules"]),
|
|
5006
|
-
|
|
5006
|
+
v(n(B), {
|
|
5007
5007
|
name: "label",
|
|
5008
5008
|
label: "备注说明",
|
|
5009
5009
|
required: ""
|
|
5010
5010
|
}),
|
|
5011
|
-
|
|
5011
|
+
v(n(B), {
|
|
5012
5012
|
name: "transform.value",
|
|
5013
5013
|
label: "转换函数",
|
|
5014
5014
|
editor: "none"
|
|
5015
5015
|
}, {
|
|
5016
5016
|
default: h(() => [
|
|
5017
|
-
|
|
5017
|
+
v(n(le), {
|
|
5018
5018
|
modelValue: s.value.transform.value,
|
|
5019
5019
|
"onUpdate:modelValue": x[0] || (x[0] = (C) => s.value.transform.value = C),
|
|
5020
5020
|
height: "200px",
|
|
@@ -5023,13 +5023,13 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5023
5023
|
]),
|
|
5024
5024
|
_: 1
|
|
5025
5025
|
}),
|
|
5026
|
-
|
|
5026
|
+
v(n(B), {
|
|
5027
5027
|
name: "test.value",
|
|
5028
5028
|
label: "测试用例",
|
|
5029
5029
|
editor: "none"
|
|
5030
5030
|
}, {
|
|
5031
5031
|
default: h(() => [
|
|
5032
|
-
|
|
5032
|
+
v(n(le), {
|
|
5033
5033
|
modelValue: s.value.test.value,
|
|
5034
5034
|
"onUpdate:modelValue": x[1] || (x[1] = (C) => s.value.test.value = C),
|
|
5035
5035
|
height: "100px",
|
|
@@ -5049,7 +5049,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5049
5049
|
size: "80%"
|
|
5050
5050
|
}, {
|
|
5051
5051
|
default: h(() => [
|
|
5052
|
-
|
|
5052
|
+
v(n(le), {
|
|
5053
5053
|
"model-value": i.value,
|
|
5054
5054
|
border: "",
|
|
5055
5055
|
dark: "",
|
|
@@ -5078,16 +5078,16 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5078
5078
|
}, i = (p) => {
|
|
5079
5079
|
a.value = p, l.value = !0;
|
|
5080
5080
|
}, g = (p) => {
|
|
5081
|
-
const { name:
|
|
5082
|
-
|
|
5081
|
+
const { name: m, modelValue: f } = p;
|
|
5082
|
+
m === "edit" && i(f), m === "remove" && e.value?.removeDataSource(f.name);
|
|
5083
5083
|
};
|
|
5084
|
-
return (p,
|
|
5084
|
+
return (p, m) => (d(), y(n(M), {
|
|
5085
5085
|
class: "v-data-sources-widget",
|
|
5086
5086
|
direction: "column",
|
|
5087
5087
|
fit: ""
|
|
5088
5088
|
}, {
|
|
5089
5089
|
default: h(() => [
|
|
5090
|
-
|
|
5090
|
+
v(n(U), {
|
|
5091
5091
|
title: "请求方法",
|
|
5092
5092
|
class: "v-sub-panel",
|
|
5093
5093
|
size: "small",
|
|
@@ -5095,7 +5095,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5095
5095
|
onPlus: r
|
|
5096
5096
|
}, {
|
|
5097
5097
|
default: h(() => [
|
|
5098
|
-
(d(!0), A(
|
|
5098
|
+
(d(!0), A(T, null, N(o.value, (f) => (d(), y(n(ue), {
|
|
5099
5099
|
border: "",
|
|
5100
5100
|
title: f.name,
|
|
5101
5101
|
subtitle: f.label,
|
|
@@ -5116,7 +5116,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5116
5116
|
l.value ? (d(), y(wr, {
|
|
5117
5117
|
key: 0,
|
|
5118
5118
|
modelValue: l.value,
|
|
5119
|
-
"onUpdate:modelValue":
|
|
5119
|
+
"onUpdate:modelValue": m[0] || (m[0] = (f) => l.value = f),
|
|
5120
5120
|
current: n(e),
|
|
5121
5121
|
context: n(t),
|
|
5122
5122
|
item: a.value
|
|
@@ -5263,12 +5263,12 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5263
5263
|
collapsable: ""
|
|
5264
5264
|
}, {
|
|
5265
5265
|
default: h(() => [
|
|
5266
|
-
|
|
5266
|
+
v(n(ge), {
|
|
5267
5267
|
size: "small",
|
|
5268
5268
|
"label-width": "80px"
|
|
5269
5269
|
}, {
|
|
5270
5270
|
default: h(() => [
|
|
5271
|
-
|
|
5271
|
+
v(n(J), {
|
|
5272
5272
|
name: "display",
|
|
5273
5273
|
label: "排布",
|
|
5274
5274
|
setters: { name: "TagSetter" },
|
|
@@ -5277,8 +5277,8 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5277
5277
|
value: e.styleJson.display,
|
|
5278
5278
|
onChange: i
|
|
5279
5279
|
}, null, 8, ["value"]),
|
|
5280
|
-
t.value ? (d(), A(
|
|
5281
|
-
|
|
5280
|
+
t.value ? (d(), A(T, { key: 0 }, [
|
|
5281
|
+
v(n(J), {
|
|
5282
5282
|
name: "flex-direction",
|
|
5283
5283
|
label: "主轴方向",
|
|
5284
5284
|
setters: { name: "TagSetter" },
|
|
@@ -5287,7 +5287,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5287
5287
|
value: e.styleJson["flex-direction"],
|
|
5288
5288
|
onChange: e.setStyle
|
|
5289
5289
|
}, null, 8, ["value", "onChange"]),
|
|
5290
|
-
|
|
5290
|
+
v(n(J), {
|
|
5291
5291
|
name: "justify-content",
|
|
5292
5292
|
label: "主轴对齐",
|
|
5293
5293
|
setters: { name: "TagSetter" },
|
|
@@ -5296,7 +5296,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5296
5296
|
value: e.styleJson["justify-content"],
|
|
5297
5297
|
onChange: e.setStyle
|
|
5298
5298
|
}, null, 8, ["value", "onChange"]),
|
|
5299
|
-
|
|
5299
|
+
v(n(J), {
|
|
5300
5300
|
name: "align-items",
|
|
5301
5301
|
label: "辅轴对齐",
|
|
5302
5302
|
setters: { name: "TagSetter" },
|
|
@@ -5305,7 +5305,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5305
5305
|
value: e.styleJson["align-items"],
|
|
5306
5306
|
onChange: e.setStyle
|
|
5307
5307
|
}, null, 8, ["value", "onChange"]),
|
|
5308
|
-
|
|
5308
|
+
v(n(J), {
|
|
5309
5309
|
name: "flex-wrap",
|
|
5310
5310
|
label: "换行模式",
|
|
5311
5311
|
setters: { name: "TagSetter" },
|
|
@@ -5351,7 +5351,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5351
5351
|
onSave: s
|
|
5352
5352
|
}, {
|
|
5353
5353
|
default: h(() => [
|
|
5354
|
-
|
|
5354
|
+
v(n(le), {
|
|
5355
5355
|
ref_key: "editorRef",
|
|
5356
5356
|
ref: t,
|
|
5357
5357
|
"model-value": a.value,
|
|
@@ -5381,7 +5381,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5381
5381
|
r.value = typeof b == "number" ? `${b}px` : "auto", p(r.value);
|
|
5382
5382
|
}, p = (b) => {
|
|
5383
5383
|
i.value = b === "auto" ? void 0 : "px";
|
|
5384
|
-
},
|
|
5384
|
+
}, m = () => {
|
|
5385
5385
|
r.value ? (a("update:modelValue", r.value), a("submit", l.name, r.value), a("close")) : ne("请输入有效值", "提示");
|
|
5386
5386
|
}, f = () => {
|
|
5387
5387
|
r.value = void 0, a("update:modelValue", r.value), a("submit", l.name, void 0), a("close");
|
|
@@ -5389,16 +5389,16 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5389
5389
|
return (b, c) => (d(), A("div", Cr, [
|
|
5390
5390
|
Vr,
|
|
5391
5391
|
V("div", Ar, [
|
|
5392
|
-
|
|
5392
|
+
v(n(M), {
|
|
5393
5393
|
class: "v-spacing-input__body",
|
|
5394
5394
|
ref_key: "bodyRef",
|
|
5395
5395
|
ref: s,
|
|
5396
5396
|
direction: "column"
|
|
5397
5397
|
}, {
|
|
5398
5398
|
default: h(() => [
|
|
5399
|
-
|
|
5399
|
+
v(n(M), null, {
|
|
5400
5400
|
default: h(() => [
|
|
5401
|
-
|
|
5401
|
+
v(n(vn), {
|
|
5402
5402
|
modelValue: r.value,
|
|
5403
5403
|
"onUpdate:modelValue": c[0] || (c[0] = (_) => r.value = _),
|
|
5404
5404
|
size: "small",
|
|
@@ -5410,7 +5410,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5410
5410
|
]),
|
|
5411
5411
|
_: 1
|
|
5412
5412
|
}),
|
|
5413
|
-
|
|
5413
|
+
v(n(M), null, {
|
|
5414
5414
|
default: h(() => [
|
|
5415
5415
|
o.value ? (d(), y(n(M), {
|
|
5416
5416
|
key: 0,
|
|
@@ -5424,14 +5424,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5424
5424
|
]),
|
|
5425
5425
|
_: 1
|
|
5426
5426
|
})) : j("", !0),
|
|
5427
|
-
|
|
5427
|
+
v(n(M), {
|
|
5428
5428
|
grow: "",
|
|
5429
5429
|
class: "v-spacing-input__values",
|
|
5430
5430
|
align: "center",
|
|
5431
5431
|
wrap: "wrap"
|
|
5432
5432
|
}, {
|
|
5433
5433
|
default: h(() => [
|
|
5434
|
-
(d(), A(
|
|
5434
|
+
(d(), A(T, null, N(t, (_) => V("span", {
|
|
5435
5435
|
onClick: (w) => g(_)
|
|
5436
5436
|
}, z(_), 9, jr)), 64))
|
|
5437
5437
|
]),
|
|
@@ -5440,21 +5440,21 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5440
5440
|
]),
|
|
5441
5441
|
_: 1
|
|
5442
5442
|
}),
|
|
5443
|
-
|
|
5443
|
+
v(n(M), null, {
|
|
5444
5444
|
default: h(() => [
|
|
5445
|
-
|
|
5445
|
+
v(n(ae), {
|
|
5446
5446
|
size: "small",
|
|
5447
5447
|
type: "primary",
|
|
5448
5448
|
round: "",
|
|
5449
5449
|
style: { width: "100%" },
|
|
5450
|
-
onClick:
|
|
5450
|
+
onClick: m
|
|
5451
5451
|
}, {
|
|
5452
5452
|
default: h(() => [
|
|
5453
5453
|
G(" 确定 ")
|
|
5454
5454
|
]),
|
|
5455
5455
|
_: 1
|
|
5456
5456
|
}),
|
|
5457
|
-
|
|
5457
|
+
v(n(ae), {
|
|
5458
5458
|
size: "small",
|
|
5459
5459
|
round: "",
|
|
5460
5460
|
style: { width: "100%" },
|
|
@@ -5474,7 +5474,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5474
5474
|
])
|
|
5475
5475
|
]));
|
|
5476
5476
|
}
|
|
5477
|
-
}), Er = { class: "spacing-wrap" }, Pr = { class: "spacing-max-icon" }, Dr = ["width", "height"], Ir = ["d"], Br = ["d"], Rr = ["d"],
|
|
5477
|
+
}), Er = { class: "spacing-wrap" }, Pr = { class: "spacing-max-icon" }, Dr = ["width", "height"], Ir = ["d"], Br = ["d"], Rr = ["d"], $r = ["d"], Tr = { id: "margin-outer" }, zr = ["width", "height"], Or = ["width", "height"], Fr = { id: "margin-inner" }, Nr = ["width", "height"], Wr = ["width", "height"], Jr = ["width", "height"], Mr = ["d"], Lr = ["d"], Ur = ["d"], qr = ["d"], Hr = { id: "padding-outer" }, Gr = ["width", "height"], Xr = ["width", "height"], Qr = { id: "padding-inner" }, Kr = ["width", "height"], Yr = ["width", "height"], Zr = {
|
|
5478
5478
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5479
5479
|
width: "100%",
|
|
5480
5480
|
height: "100%",
|
|
@@ -5511,7 +5511,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5511
5511
|
setStyle: { type: Function }
|
|
5512
5512
|
},
|
|
5513
5513
|
setup(u) {
|
|
5514
|
-
const e = u, t = k(), l = k(), { width: a, height: o } = Ue(t), { width: s, height: r } = Ue(l), i = k(!1), g = k(), p = k(),
|
|
5514
|
+
const e = u, t = k(), l = k(), { width: a, height: o } = Ue(t), { width: s, height: r } = Ue(l), i = k(!1), g = k(), p = k(), m = () => {
|
|
5515
5515
|
i.value = !1, g.value = void 0, p.value = void 0;
|
|
5516
5516
|
}, f = (b) => {
|
|
5517
5517
|
g.value = b, p.value = e.styleJson[b], i.value = !0;
|
|
@@ -5607,10 +5607,10 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5607
5607
|
"aria-label": "Margin left button",
|
|
5608
5608
|
class: "lr-path-color",
|
|
5609
5609
|
onClick: c[3] || (c[3] = (_) => f("margin-left"))
|
|
5610
|
-
}, null, 8,
|
|
5610
|
+
}, null, 8, $r)
|
|
5611
5611
|
])
|
|
5612
5612
|
]),
|
|
5613
|
-
V("clipPath",
|
|
5613
|
+
V("clipPath", Tr, [
|
|
5614
5614
|
V("rect", {
|
|
5615
5615
|
x: "0",
|
|
5616
5616
|
y: "0",
|
|
@@ -5834,7 +5834,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5834
5834
|
name: g.value,
|
|
5835
5835
|
modelValue: p.value,
|
|
5836
5836
|
"onUpdate:modelValue": c[16] || (c[16] = (_) => p.value = _),
|
|
5837
|
-
onClose:
|
|
5837
|
+
onClose: m,
|
|
5838
5838
|
onSubmit: e.setStyle
|
|
5839
5839
|
}, null, 8, ["name", "modelValue", "onSubmit"])) : j("", !0)
|
|
5840
5840
|
], 512)
|
|
@@ -5912,14 +5912,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5912
5912
|
collapsable: ""
|
|
5913
5913
|
}, {
|
|
5914
5914
|
default: h(() => [
|
|
5915
|
-
|
|
5915
|
+
v(n(ge), {
|
|
5916
5916
|
class: "v-style-widget__sizing",
|
|
5917
5917
|
size: "small",
|
|
5918
5918
|
"label-width": "60px",
|
|
5919
5919
|
inline: ""
|
|
5920
5920
|
}, {
|
|
5921
5921
|
default: h(() => [
|
|
5922
|
-
(d(), A(
|
|
5922
|
+
(d(), A(T, null, N(a, (r) => v(n(J), {
|
|
5923
5923
|
name: r.name,
|
|
5924
5924
|
label: r.label,
|
|
5925
5925
|
setters: { name: r.setter },
|
|
@@ -5952,13 +5952,13 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5952
5952
|
{ label: "左上", svg: Ia, value: "0% auto auto 0%" },
|
|
5953
5953
|
{ label: "右上", svg: Ba, value: "0% 0% auto auto" },
|
|
5954
5954
|
{ label: "左下", svg: Ra, value: "auto auto 0% 0%" },
|
|
5955
|
-
{ label: "右下", svg:
|
|
5956
|
-
{ label: "左", svg:
|
|
5955
|
+
{ label: "右下", svg: $a, value: "auto 0% 0% auto" },
|
|
5956
|
+
{ label: "左", svg: Ta, value: "0% auto 0% 0%" },
|
|
5957
5957
|
{ label: "右", svg: za, value: "0% 0% 0% auto" },
|
|
5958
5958
|
{ label: "上", svg: Oa, value: "auto 0% 0% 0%" },
|
|
5959
5959
|
{ label: "下", svg: Fa, value: "0% 0% auto 0%" },
|
|
5960
5960
|
{ label: "填充", svg: Na, value: "0% 0% 0% 0%" }
|
|
5961
|
-
], p = S(() => (e.styleJson.inset || "").split(" ")),
|
|
5961
|
+
], p = S(() => (e.styleJson.inset || "").split(" ")), m = (b) => {
|
|
5962
5962
|
s.value = b, r.value = e.styleJson[b], o.value = !0;
|
|
5963
5963
|
}, f = () => {
|
|
5964
5964
|
o.value = !1, s.value = void 0, r.value = void 0;
|
|
@@ -5972,12 +5972,12 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5972
5972
|
}, {
|
|
5973
5973
|
default: h(() => [
|
|
5974
5974
|
V("div", ri, [
|
|
5975
|
-
|
|
5975
|
+
v(n(ge), {
|
|
5976
5976
|
"label-width": "60px",
|
|
5977
5977
|
size: "small"
|
|
5978
5978
|
}, {
|
|
5979
5979
|
default: h(() => [
|
|
5980
|
-
|
|
5980
|
+
v(n(J), {
|
|
5981
5981
|
name: "position",
|
|
5982
5982
|
label: "定位",
|
|
5983
5983
|
setters: { name: "SelectSetter" },
|
|
@@ -5986,7 +5986,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5986
5986
|
value: e.styleJson.position,
|
|
5987
5987
|
onChange: e.setStyle
|
|
5988
5988
|
}, null, 8, ["value", "onChange"]),
|
|
5989
|
-
|
|
5989
|
+
v(n(J), {
|
|
5990
5990
|
name: "inset",
|
|
5991
5991
|
label: " ",
|
|
5992
5992
|
setters: { name: "TagSetter" },
|
|
@@ -5995,7 +5995,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
5995
5995
|
value: e.styleJson.inset,
|
|
5996
5996
|
onChange: e.setStyle
|
|
5997
5997
|
}, null, 8, ["value", "onChange"]),
|
|
5998
|
-
|
|
5998
|
+
v(n(mn), { label: " " }, {
|
|
5999
5999
|
default: h(() => [
|
|
6000
6000
|
V("div", ii, [
|
|
6001
6001
|
V("div", {
|
|
@@ -6024,7 +6024,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6024
6024
|
"data-automation-id": "padding-top-button",
|
|
6025
6025
|
"aria-label": "Padding top button",
|
|
6026
6026
|
class: "tb-path-color",
|
|
6027
|
-
onClick: c[0] || (c[0] = (_) =>
|
|
6027
|
+
onClick: c[0] || (c[0] = (_) => m("top"))
|
|
6028
6028
|
}, null, 8, ci)
|
|
6029
6029
|
])
|
|
6030
6030
|
]),
|
|
@@ -6042,7 +6042,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6042
6042
|
"data-automation-id": "padding-right-button",
|
|
6043
6043
|
"aria-label": "Padding right button",
|
|
6044
6044
|
class: "lr-path-color",
|
|
6045
|
-
onClick: c[1] || (c[1] = (_) =>
|
|
6045
|
+
onClick: c[1] || (c[1] = (_) => m("right"))
|
|
6046
6046
|
}, null, 8, di)
|
|
6047
6047
|
])
|
|
6048
6048
|
]),
|
|
@@ -6060,7 +6060,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6060
6060
|
"data-automation-id": "padding-bottom-button",
|
|
6061
6061
|
"aria-label": "Padding bottom button",
|
|
6062
6062
|
class: "tb-path-color",
|
|
6063
|
-
onClick: c[2] || (c[2] = (_) =>
|
|
6063
|
+
onClick: c[2] || (c[2] = (_) => m("bottom"))
|
|
6064
6064
|
}, null, 8, pi)
|
|
6065
6065
|
])
|
|
6066
6066
|
]),
|
|
@@ -6078,7 +6078,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6078
6078
|
"data-automation-id": "padding-left-button",
|
|
6079
6079
|
"aria-label": "Padding left button",
|
|
6080
6080
|
class: "lr-path-color",
|
|
6081
|
-
onClick: c[3] || (c[3] = (_) =>
|
|
6081
|
+
onClick: c[3] || (c[3] = (_) => m("left"))
|
|
6082
6082
|
}, null, 8, mi)
|
|
6083
6083
|
])
|
|
6084
6084
|
]),
|
|
@@ -6133,19 +6133,19 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6133
6133
|
], 8, ui)) : j("", !0),
|
|
6134
6134
|
V("div", {
|
|
6135
6135
|
class: H(["spacing-edit padding-top", { "is-setting": e.styleJson.top }]),
|
|
6136
|
-
onClick: c[4] || (c[4] = (_) =>
|
|
6136
|
+
onClick: c[4] || (c[4] = (_) => m("top"))
|
|
6137
6137
|
}, z(e.styleJson.top || p.value[0] || "-"), 3),
|
|
6138
6138
|
V("div", {
|
|
6139
6139
|
class: H(["spacing-edit padding-right", { "is-setting": e.styleJson.right }]),
|
|
6140
|
-
onClick: c[5] || (c[5] = (_) =>
|
|
6140
|
+
onClick: c[5] || (c[5] = (_) => m("right"))
|
|
6141
6141
|
}, z(e.styleJson.right || p.value[1] || "-"), 3),
|
|
6142
6142
|
V("div", {
|
|
6143
6143
|
class: H(["spacing-edit padding-bottom", { "is-setting": e.styleJson.bottom }]),
|
|
6144
|
-
onClick: c[6] || (c[6] = (_) =>
|
|
6144
|
+
onClick: c[6] || (c[6] = (_) => m("bottom"))
|
|
6145
6145
|
}, z(e.styleJson.bottom || p.value[2] || "-"), 3),
|
|
6146
6146
|
V("div", {
|
|
6147
6147
|
class: H(["spacing-edit padding-left", { "is-setting": e.styleJson.left }]),
|
|
6148
|
-
onClick: c[7] || (c[7] = (_) =>
|
|
6148
|
+
onClick: c[7] || (c[7] = (_) => m("left"))
|
|
6149
6149
|
}, z(e.styleJson.left || p.value[3] || "-"), 3)
|
|
6150
6150
|
], 512),
|
|
6151
6151
|
o.value ? (d(), y(zn, {
|
|
@@ -6161,7 +6161,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6161
6161
|
]),
|
|
6162
6162
|
_: 1
|
|
6163
6163
|
}),
|
|
6164
|
-
|
|
6164
|
+
v(n(J), {
|
|
6165
6165
|
name: "z-index",
|
|
6166
6166
|
label: "层级",
|
|
6167
6167
|
setters: { name: "NumberSetter" },
|
|
@@ -6254,14 +6254,14 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6254
6254
|
collapsable: ""
|
|
6255
6255
|
}, {
|
|
6256
6256
|
default: h(() => [
|
|
6257
|
-
|
|
6257
|
+
v(n(ge), {
|
|
6258
6258
|
class: "v-style-widget__texting",
|
|
6259
6259
|
size: "small",
|
|
6260
6260
|
"label-width": "60px",
|
|
6261
6261
|
inline: ""
|
|
6262
6262
|
}, {
|
|
6263
6263
|
default: h(() => [
|
|
6264
|
-
(d(), A(
|
|
6264
|
+
(d(), A(T, null, N(t, (i) => v(n(J), {
|
|
6265
6265
|
name: i.name,
|
|
6266
6266
|
label: i.label,
|
|
6267
6267
|
setters: { name: i.setter },
|
|
@@ -6273,12 +6273,12 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6273
6273
|
]),
|
|
6274
6274
|
_: 1
|
|
6275
6275
|
}),
|
|
6276
|
-
|
|
6276
|
+
v(n(ge), {
|
|
6277
6277
|
size: "small",
|
|
6278
6278
|
"label-width": "60px"
|
|
6279
6279
|
}, {
|
|
6280
6280
|
default: h(() => [
|
|
6281
|
-
|
|
6281
|
+
v(n(J), {
|
|
6282
6282
|
name: "color",
|
|
6283
6283
|
label: "颜色",
|
|
6284
6284
|
setters: { name: "ColorSetter" },
|
|
@@ -6286,7 +6286,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6286
6286
|
value: e.styleJson.color,
|
|
6287
6287
|
onChange: s.setStyle
|
|
6288
6288
|
}, null, 8, ["value", "onChange"]),
|
|
6289
|
-
|
|
6289
|
+
v(n(J), {
|
|
6290
6290
|
name: "text-align",
|
|
6291
6291
|
label: "对齐",
|
|
6292
6292
|
setters: { name: "TagSetter" },
|
|
@@ -6295,7 +6295,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6295
6295
|
value: e.styleJson["text-align"],
|
|
6296
6296
|
onChange: s.setStyle
|
|
6297
6297
|
}, null, 8, ["value", "onChange"]),
|
|
6298
|
-
|
|
6298
|
+
v(n(J), {
|
|
6299
6299
|
name: "font-style",
|
|
6300
6300
|
label: "风格",
|
|
6301
6301
|
setters: { name: "TagSetter" },
|
|
@@ -6304,7 +6304,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6304
6304
|
value: e.styleJson["font-style"],
|
|
6305
6305
|
onChange: s.setStyle
|
|
6306
6306
|
}, null, 8, ["value", "onChange"]),
|
|
6307
|
-
|
|
6307
|
+
v(n(J), {
|
|
6308
6308
|
name: "text-decoration",
|
|
6309
6309
|
label: "修饰",
|
|
6310
6310
|
setters: { name: "TagSetter" },
|
|
@@ -6359,12 +6359,12 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6359
6359
|
collapsable: ""
|
|
6360
6360
|
}, {
|
|
6361
6361
|
default: h(() => [
|
|
6362
|
-
|
|
6362
|
+
v(n(ge), {
|
|
6363
6363
|
"label-width": "60px",
|
|
6364
6364
|
size: "small"
|
|
6365
6365
|
}, {
|
|
6366
6366
|
default: h(() => [
|
|
6367
|
-
|
|
6367
|
+
v(n(J), {
|
|
6368
6368
|
name: "background-image",
|
|
6369
6369
|
label: "图片",
|
|
6370
6370
|
setters: { name: "ImageSetter" },
|
|
@@ -6372,7 +6372,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6372
6372
|
value: l(e.styleJson["background-image"]),
|
|
6373
6373
|
onChange: t
|
|
6374
6374
|
}, null, 8, ["value"]),
|
|
6375
|
-
|
|
6375
|
+
v(n(J), {
|
|
6376
6376
|
name: "background-color",
|
|
6377
6377
|
label: "颜色",
|
|
6378
6378
|
setters: { name: "ColorSetter" },
|
|
@@ -6380,7 +6380,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6380
6380
|
value: e.styleJson["background-color"],
|
|
6381
6381
|
onChange: e.setStyle
|
|
6382
6382
|
}, null, 8, ["value", "onChange"]),
|
|
6383
|
-
|
|
6383
|
+
v(n(J), {
|
|
6384
6384
|
name: "background-repeat",
|
|
6385
6385
|
label: "重复",
|
|
6386
6386
|
setters: { name: "TagSetter" },
|
|
@@ -6389,7 +6389,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6389
6389
|
options: a,
|
|
6390
6390
|
onChange: e.setStyle
|
|
6391
6391
|
}, null, 8, ["value", "onChange"]),
|
|
6392
|
-
|
|
6392
|
+
v(n(J), {
|
|
6393
6393
|
name: "background-attachment",
|
|
6394
6394
|
label: "固定",
|
|
6395
6395
|
setters: { name: "RadioSetter" },
|
|
@@ -6398,7 +6398,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6398
6398
|
options: o,
|
|
6399
6399
|
onChange: e.setStyle
|
|
6400
6400
|
}, null, 8, ["value", "onChange"]),
|
|
6401
|
-
|
|
6401
|
+
v(n(J), {
|
|
6402
6402
|
name: "background-position",
|
|
6403
6403
|
label: "位置",
|
|
6404
6404
|
setters: { name: "SectionSetter", props: { sections: 2 } },
|
|
@@ -6406,7 +6406,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6406
6406
|
value: e.styleJson["background-position"],
|
|
6407
6407
|
onChange: e.setStyle
|
|
6408
6408
|
}, null, 8, ["value", "onChange"]),
|
|
6409
|
-
|
|
6409
|
+
v(n(J), {
|
|
6410
6410
|
name: "background-size",
|
|
6411
6411
|
label: "大小",
|
|
6412
6412
|
setters: { name: "SelectSetter" },
|
|
@@ -6415,7 +6415,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6415
6415
|
options: r,
|
|
6416
6416
|
onChange: e.setStyle
|
|
6417
6417
|
}, null, 8, ["value", "onChange"]),
|
|
6418
|
-
|
|
6418
|
+
v(n(J), {
|
|
6419
6419
|
name: "background-clip",
|
|
6420
6420
|
label: "裁剪",
|
|
6421
6421
|
setters: { name: "SelectSetter" },
|
|
@@ -6460,12 +6460,12 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6460
6460
|
collapsable: ""
|
|
6461
6461
|
}, {
|
|
6462
6462
|
default: h(() => [
|
|
6463
|
-
|
|
6463
|
+
v(n(ge), {
|
|
6464
6464
|
"label-width": "60px",
|
|
6465
6465
|
size: "small"
|
|
6466
6466
|
}, {
|
|
6467
6467
|
default: h(() => [
|
|
6468
|
-
|
|
6468
|
+
v(n(J), {
|
|
6469
6469
|
name: "border-radius",
|
|
6470
6470
|
label: "圆角",
|
|
6471
6471
|
setters: { name: "SectionSetter", props: { sections: 4 } },
|
|
@@ -6473,7 +6473,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6473
6473
|
value: e.styleJson["border-radius"],
|
|
6474
6474
|
onChange: e.setStyle
|
|
6475
6475
|
}, null, 8, ["value", "onChange"]),
|
|
6476
|
-
|
|
6476
|
+
v(n(J), {
|
|
6477
6477
|
name: "borders",
|
|
6478
6478
|
label: "边框",
|
|
6479
6479
|
setters: { name: "TagSetter" },
|
|
@@ -6482,7 +6482,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6482
6482
|
value: t.value,
|
|
6483
6483
|
onChange: o
|
|
6484
6484
|
}, null, 8, ["value"]),
|
|
6485
|
-
t.value ? (d(), A(
|
|
6485
|
+
t.value ? (d(), A(T, { key: 0 }, [
|
|
6486
6486
|
(d(), y(n(J), {
|
|
6487
6487
|
name: `${t.value}-width`,
|
|
6488
6488
|
key: `${t.value}-width`,
|
|
@@ -6578,12 +6578,12 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6578
6578
|
collapsable: ""
|
|
6579
6579
|
}, {
|
|
6580
6580
|
default: h(() => [
|
|
6581
|
-
|
|
6581
|
+
v(n(ge), {
|
|
6582
6582
|
"label-width": "60px",
|
|
6583
6583
|
size: "small"
|
|
6584
6584
|
}, {
|
|
6585
6585
|
default: h(() => [
|
|
6586
|
-
|
|
6586
|
+
v(n(J), {
|
|
6587
6587
|
name: "opacity",
|
|
6588
6588
|
label: "透明度",
|
|
6589
6589
|
setters: {
|
|
@@ -6593,7 +6593,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6593
6593
|
value: o(),
|
|
6594
6594
|
onChange: a
|
|
6595
6595
|
}, null, 8, ["value"]),
|
|
6596
|
-
|
|
6596
|
+
v(n(J), {
|
|
6597
6597
|
name: "box-shadow",
|
|
6598
6598
|
label: "阴影",
|
|
6599
6599
|
setters: { name: "SelectSetter" },
|
|
@@ -6602,7 +6602,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6602
6602
|
value: e.styleJson["box-shadow"],
|
|
6603
6603
|
onChange: e.setStyle
|
|
6604
6604
|
}, null, 8, ["value", "onChange"]),
|
|
6605
|
-
|
|
6605
|
+
v(n(J), {
|
|
6606
6606
|
name: "cursor",
|
|
6607
6607
|
label: "光标",
|
|
6608
6608
|
setters: { name: "TagSetter" },
|
|
@@ -6703,7 +6703,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6703
6703
|
class: "v-previewer",
|
|
6704
6704
|
key: a.value
|
|
6705
6705
|
}, [
|
|
6706
|
-
|
|
6706
|
+
v(n(Tn), {
|
|
6707
6707
|
mode: p.value,
|
|
6708
6708
|
width: n(r),
|
|
6709
6709
|
height: n(i)
|
|
@@ -6736,7 +6736,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6736
6736
|
"separator-icon": n(ps)
|
|
6737
6737
|
}, {
|
|
6738
6738
|
default: h(() => [
|
|
6739
|
-
(d(!0), A(
|
|
6739
|
+
(d(!0), A(T, null, N(l.value, (i) => (d(), y(n(nl), {
|
|
6740
6740
|
onClick: (g) => a(i),
|
|
6741
6741
|
onMouseover: (g) => o(i)
|
|
6742
6742
|
}, {
|
|
@@ -6777,7 +6777,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6777
6777
|
onSave: o
|
|
6778
6778
|
}, {
|
|
6779
6779
|
default: h(() => [
|
|
6780
|
-
|
|
6780
|
+
v(n(le), {
|
|
6781
6781
|
ref_key: "editorRef",
|
|
6782
6782
|
ref: t,
|
|
6783
6783
|
"model-value": l.value,
|
|
@@ -6815,7 +6815,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6815
6815
|
fit: ""
|
|
6816
6816
|
}, {
|
|
6817
6817
|
default: h(() => [
|
|
6818
|
-
|
|
6818
|
+
v(n(le), {
|
|
6819
6819
|
ref_key: "editorRef",
|
|
6820
6820
|
ref: l,
|
|
6821
6821
|
"model-value": a.value,
|
|
@@ -6868,15 +6868,15 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6868
6868
|
_: 1
|
|
6869
6869
|
}, 512));
|
|
6870
6870
|
}
|
|
6871
|
-
}), On = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAEACAYAAADCyK/GAAAAAXNSR0IArs4c6QAAIABJREFUeF7tfWmgXFWZ7Vq7bgKCYCvdiGmgAbEVxREEobsDoZFBBYJQdSohARQIIi0CIhigNWmRgKiAAyBDEAO5deo6MDWgoAR4NpOtgiL6WhRlVhsHJknu2eu9UzdIxnur6oy7zj5/s/f61re+fVfqDPvbhL+8Aq4qUNdkGPwbpf1BvB3AwwAeEngdgOsR8ieupuZ556MA8wnjo3gFUlbgvdqUk3ERpL3GQf4NyeusxXV47rHv4Jopz6bMwsM5roA3QMcLWEn6db2UBrcCemuP+X+78+vQ4kaM8Kc9zvXDB1ABb4ADWNRBT8k0o9Mlzk2Y5y8oXWeN+TYmYQkW8ZmEeH66gwp4A3SwaJWm3NQWlH6VsgZR/MxQ0LcAs8Q/O0xZ3RLDeQMscXE8tTUoEIy+jzALM9bmPoI3WEW34C+1JbiaT2Ucz8MXpIA3wIKE92H7U8AEukzQwf3N7mvWc2O/DrkEBrdgmPf2heInlVIBb4ClLIsntUYF6qrRdG5/NytQoR9SWmKNWYIIt2CEfyqQiw+dUAFvgAkF9NNzVKCxbHeydmOOEScKFZvfzZ1fh3bZLRiZ/KOJJvh/L5cC3gDLVQ/PZhwFTKDTBJ1SYpG+LvJctHhbiTl6aiso4A3QLwdnFGBgvwdg57ITFjQXYe2MsvP0/ABvgH4VuKFAXa+l0c/cIAsIPAQhv+oK36ry9AZY1cq7lnegIwld4A5t3qeQ27rDt5pMvQFWs+7OZW2CqCUwcIm4JnEKLudjLnGuGldvgFWruIv57qP1uJ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+UVGGf1enG8AhMqMENvQhT/OuReADYDsCnImyVcDYtLMMKlE2L4AV6BEirw/wBT9ySzG22TjAAAAABJRU5ErkJggg==", Bi = { class: "v-about-widget" }, Ri = { class: "v-about-widget__logo" }, Ti = ["src"], $i = /* @__PURE__ */ V("div", { class: "v-about-widget__name" }, "VTJ.PRO", -1), zi = { class: "v-about-widget__version" }, Oi = /* @__PURE__ */ E({
|
|
6871
|
+
}), On = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAEACAYAAADCyK/GAAAAAXNSR0IArs4c6QAAIABJREFUeF7tfWmgXFWZ7Vq7bgKCYCvdiGmgAbEVxREEobsDoZFBBYJQdSohARQIIi0CIhigNWmRgKiAAyBDEAO5deo6MDWgoAR4NpOtgiL6WhRlVhsHJknu2eu9UzdIxnur6oy7zj5/s/f61re+fVfqDPvbhL+8Aq4qUNdkGPwbpf1BvB3AwwAeEngdgOsR8ieupuZ556MA8wnjo3gFUlbgvdqUk3ERpL3GQf4NyeusxXV47rHv4Jopz6bMwsM5roA3QMcLWEn6db2UBrcCemuP+X+78+vQ4kaM8Kc9zvXDB1ABb4ADWNRBT8k0o9Mlzk2Y5y8oXWeN+TYmYQkW8ZmEeH66gwp4A3SwaJWm3NQWlH6VsgZR/MxQ0LcAs8Q/O0xZ3RLDeQMscXE8tTUoEIy+jzALM9bmPoI3WEW34C+1JbiaT2Ucz8MXpIA3wIKE92H7U8AEukzQwf3N7mvWc2O/DrkEBrdgmPf2heInlVIBb4ClLIsntUYF6qrRdG5/NytQoR9SWmKNWYIIt2CEfyqQiw+dUAFvgAkF9NNzVKCxbHeydmOOEScKFZvfzZ1fh3bZLRiZ/KOJJvh/L5cC3gDLVQ/PZhwFTKDTBJ1SYpG+LvJctHhbiTl6aiso4A3QLwdnFGBgvwdg57ITFjQXYe2MsvP0/ABvgH4VuKFAXa+l0c/cIAsIPAQhv+oK36ry9AZY1cq7lnegIwld4A5t3qeQ27rDt5pMvQFWs+7OZW2CqCUw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yPvQzt3gL3BjBl7UR5k4j3o8WHypmMZ+UVGGf1enG8AhMqMENvQhT/OuReADYDsCnImyVcDYtLMMKlE2L4AV6BEirw/wBT9ySzG22TjAAAAABJRU5ErkJggg==", Bi = { class: "v-about-widget" }, Ri = { class: "v-about-widget__logo" }, $i = ["src"], Ti = /* @__PURE__ */ V("div", { class: "v-about-widget__name" }, "VTJ.PRO", -1), zi = { class: "v-about-widget__version" }, Oi = /* @__PURE__ */ E({
|
|
6872
6872
|
name: "AboutWidget",
|
|
6873
6873
|
__name: "index",
|
|
6874
6874
|
setup(u) {
|
|
6875
6875
|
return (e, t) => (d(), A("div", Bi, [
|
|
6876
6876
|
V("div", Ri, [
|
|
6877
|
-
V("img", { src: n(On) }, null, 8,
|
|
6877
|
+
V("img", { src: n(On) }, null, 8, $i)
|
|
6878
6878
|
]),
|
|
6879
|
-
|
|
6879
|
+
Ti,
|
|
6880
6880
|
V("div", zi, "版本:" + z(n(js)), 1)
|
|
6881
6881
|
]));
|
|
6882
6882
|
}
|
|
@@ -6901,22 +6901,22 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6901
6901
|
onChange: t
|
|
6902
6902
|
}, {
|
|
6903
6903
|
default: h(() => [
|
|
6904
|
-
|
|
6904
|
+
v(n(B), {
|
|
6905
6905
|
label: "站点名称",
|
|
6906
6906
|
name: "title"
|
|
6907
6907
|
}),
|
|
6908
|
-
|
|
6908
|
+
v(n(B), {
|
|
6909
6909
|
label: "Logo",
|
|
6910
6910
|
name: "logo",
|
|
6911
6911
|
editor: zt,
|
|
6912
6912
|
props: { attachment: { accept: ".png,.jpg,.jpeg" } }
|
|
6913
6913
|
}),
|
|
6914
|
-
|
|
6914
|
+
v(n(B), {
|
|
6915
6915
|
label: "主题切换",
|
|
6916
6916
|
name: "themeSwitchable",
|
|
6917
6917
|
editor: "switch"
|
|
6918
6918
|
}),
|
|
6919
|
-
|
|
6919
|
+
v(n(B), {
|
|
6920
6920
|
label: "模拟数据",
|
|
6921
6921
|
name: "mock",
|
|
6922
6922
|
editor: "switch"
|
|
@@ -6934,7 +6934,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
6934
6934
|
Switcher: no,
|
|
6935
6935
|
Toolbar: ao,
|
|
6936
6936
|
Actions: ro,
|
|
6937
|
-
Pages:
|
|
6937
|
+
Pages: To,
|
|
6938
6938
|
Blocks: Oo,
|
|
6939
6939
|
Components: Jo,
|
|
6940
6940
|
Outline: Mo,
|
|
@@ -7874,7 +7874,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
7874
7874
|
const e = u;
|
|
7875
7875
|
return (t, l) => (d(), y(n(al), re({ clearable: "" }, t.$attrs), {
|
|
7876
7876
|
default: h(() => [
|
|
7877
|
-
(d(!0), A(
|
|
7877
|
+
(d(!0), A(T, null, N(e.options, (a) => (d(), y(n(sl), re({
|
|
7878
7878
|
key: a.label,
|
|
7879
7879
|
ref_for: !0
|
|
7880
7880
|
}, a), null, 16))), 128))
|
|
@@ -7941,15 +7941,15 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
7941
7941
|
}
|
|
7942
7942
|
}, p = () => {
|
|
7943
7943
|
a.value = "", r("change", void 0), s.value = !1;
|
|
7944
|
-
},
|
|
7944
|
+
}, m = () => {
|
|
7945
7945
|
s.value = !0;
|
|
7946
7946
|
};
|
|
7947
7947
|
return (f, b) => (d(), A("div", {
|
|
7948
7948
|
class: H(["v-json-setter", { "is-active": o.value }])
|
|
7949
7949
|
}, [
|
|
7950
|
-
|
|
7950
|
+
v(n(ye), re({
|
|
7951
7951
|
readonly: "",
|
|
7952
|
-
onFocus:
|
|
7952
|
+
onFocus: m,
|
|
7953
7953
|
"model-value": t.type,
|
|
7954
7954
|
"suffix-icon": n(Bt)
|
|
7955
7955
|
}, f.$attrs), null, 16, ["model-value", "suffix-icon"]),
|
|
@@ -7967,7 +7967,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
7967
7967
|
onClear: p
|
|
7968
7968
|
}, {
|
|
7969
7969
|
extra: h(() => [
|
|
7970
|
-
|
|
7970
|
+
v(n(ae), {
|
|
7971
7971
|
type: "warning",
|
|
7972
7972
|
onClick: p,
|
|
7973
7973
|
size: "default"
|
|
@@ -7979,7 +7979,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
7979
7979
|
})
|
|
7980
7980
|
]),
|
|
7981
7981
|
default: h(() => [
|
|
7982
|
-
|
|
7982
|
+
v(n(le), {
|
|
7983
7983
|
ref_key: "codeEditor",
|
|
7984
7984
|
ref: l,
|
|
7985
7985
|
height: "100%",
|
|
@@ -8004,9 +8004,9 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8004
8004
|
emits: ["change"],
|
|
8005
8005
|
setup(u, { emit: e }) {
|
|
8006
8006
|
const t = u, l = k(), a = k(t.modelValue.value), o = k(!1), s = S(() => !!a.value), r = e, i = () => {
|
|
8007
|
-
const
|
|
8008
|
-
if (
|
|
8009
|
-
const f =
|
|
8007
|
+
const m = l.value?.getEditor();
|
|
8008
|
+
if (m) {
|
|
8009
|
+
const f = m.getValue(), b = {
|
|
8010
8010
|
type: "JSFunction",
|
|
8011
8011
|
value: f
|
|
8012
8012
|
};
|
|
@@ -8017,15 +8017,15 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8017
8017
|
}, p = () => {
|
|
8018
8018
|
o.value = !0;
|
|
8019
8019
|
};
|
|
8020
|
-
return (
|
|
8020
|
+
return (m, f) => (d(), A("div", {
|
|
8021
8021
|
class: H(["v-function-setter", { "is-active": s.value }])
|
|
8022
8022
|
}, [
|
|
8023
|
-
|
|
8023
|
+
v(n(ye), re({
|
|
8024
8024
|
readonly: "",
|
|
8025
8025
|
onFocus: p,
|
|
8026
8026
|
"model-value": "JSFunction",
|
|
8027
8027
|
"suffix-icon": n(Bt)
|
|
8028
|
-
},
|
|
8028
|
+
}, m.$attrs), null, 16, ["suffix-icon"]),
|
|
8029
8029
|
o.value ? (d(), y(n(Be), {
|
|
8030
8030
|
key: 0,
|
|
8031
8031
|
modelValue: o.value,
|
|
@@ -8040,7 +8040,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8040
8040
|
onClear: g
|
|
8041
8041
|
}, {
|
|
8042
8042
|
extra: h(() => [
|
|
8043
|
-
|
|
8043
|
+
v(n(ae), {
|
|
8044
8044
|
type: "warning",
|
|
8045
8045
|
onClick: g,
|
|
8046
8046
|
size: "default"
|
|
@@ -8052,7 +8052,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8052
8052
|
})
|
|
8053
8053
|
]),
|
|
8054
8054
|
default: h(() => [
|
|
8055
|
-
|
|
8055
|
+
v(n(le), {
|
|
8056
8056
|
ref_key: "codeEditor",
|
|
8057
8057
|
ref: l,
|
|
8058
8058
|
height: "100%",
|
|
@@ -8077,7 +8077,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8077
8077
|
size: "small"
|
|
8078
8078
|
}, t.$attrs), {
|
|
8079
8079
|
default: h(() => [
|
|
8080
|
-
(d(!0), A(
|
|
8080
|
+
(d(!0), A(T, null, N(e.options, (a) => (d(), y(n(Ke), {
|
|
8081
8081
|
label: a.label,
|
|
8082
8082
|
value: a.value,
|
|
8083
8083
|
title: a.label
|
|
@@ -8086,7 +8086,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8086
8086
|
a.svg ? (d(), y(n(xe), {
|
|
8087
8087
|
key: 0,
|
|
8088
8088
|
src: a.svg
|
|
8089
|
-
}, null, 8, ["src"])) : (d(), A(
|
|
8089
|
+
}, null, 8, ["src"])) : (d(), A(T, { key: 1 }, [
|
|
8090
8090
|
G(z(a.label), 1)
|
|
8091
8091
|
], 64))
|
|
8092
8092
|
]),
|
|
@@ -8112,7 +8112,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8112
8112
|
class: "v-tag-setter",
|
|
8113
8113
|
size: "small"
|
|
8114
8114
|
}, o.$attrs), [
|
|
8115
|
-
(d(!0), A(
|
|
8115
|
+
(d(!0), A(T, null, N(t.options, (r) => (d(), A("span", {
|
|
8116
8116
|
label: r.value,
|
|
8117
8117
|
title: r.label,
|
|
8118
8118
|
class: H({
|
|
@@ -8124,7 +8124,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8124
8124
|
key: 0,
|
|
8125
8125
|
src: r.svg,
|
|
8126
8126
|
size: 16
|
|
8127
|
-
}, null, 8, ["src"])) : (d(), A(
|
|
8127
|
+
}, null, 8, ["src"])) : (d(), A(T, { key: 1 }, [
|
|
8128
8128
|
G(z(r.label), 1)
|
|
8129
8129
|
], 64))
|
|
8130
8130
|
], 10, lu))), 256))
|
|
@@ -8196,7 +8196,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8196
8196
|
}, i.$attrs), {
|
|
8197
8197
|
default: h(() => [
|
|
8198
8198
|
V("span", su, [
|
|
8199
|
-
|
|
8199
|
+
v(n(xe), { icon: n(ks) }, null, 8, ["icon"])
|
|
8200
8200
|
])
|
|
8201
8201
|
]),
|
|
8202
8202
|
_: 1
|
|
@@ -8223,7 +8223,7 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8223
8223
|
l("change", a.value.join(" ").trim());
|
|
8224
8224
|
};
|
|
8225
8225
|
return (s, r) => (d(), A("div", ru, [
|
|
8226
|
-
(d(!0), A(
|
|
8226
|
+
(d(!0), A(T, null, N(t.sections, (i) => (d(), y(Fn, {
|
|
8227
8227
|
name: i - 1,
|
|
8228
8228
|
modelValue: a.value[i - 1],
|
|
8229
8229
|
"onUpdate:modelValue": (g) => a.value[i - 1] = g,
|
|
@@ -8254,11 +8254,11 @@ const Io = { class: "v-context-viewer" }, Bo = /* @__PURE__ */ E({
|
|
|
8254
8254
|
a.value = void 0, l("change", void 0), l("update:modelValue", void 0);
|
|
8255
8255
|
};
|
|
8256
8256
|
return (s, r) => (d(), A("div", uu, [
|
|
8257
|
-
|
|
8257
|
+
v(n(ul), re({ size: "small" }, s.$attrs, {
|
|
8258
8258
|
modelValue: a.value,
|
|
8259
8259
|
"onUpdate:modelValue": r[0] || (r[0] = (i) => a.value = i)
|
|
8260
8260
|
}), null, 16, ["modelValue"]),
|
|
8261
|
-
|
|
8261
|
+
v(n(xe), {
|
|
8262
8262
|
onClick: o,
|
|
8263
8263
|
class: "v-slider-setter__close",
|
|
8264
8264
|
size: 16,
|
|
@@ -8579,7 +8579,7 @@ class fu {
|
|
|
8579
8579
|
const Ze = new fu();
|
|
8580
8580
|
function hu(u) {
|
|
8581
8581
|
return new Promise((e, t) => {
|
|
8582
|
-
const l = ln(
|
|
8582
|
+
const l = ln($o, {
|
|
8583
8583
|
slots: u,
|
|
8584
8584
|
onClose: () => {
|
|
8585
8585
|
l.unmount(), t(null);
|
|
@@ -8658,24 +8658,24 @@ class bu {
|
|
|
8658
8658
|
}
|
|
8659
8659
|
async getDropSlot(e) {
|
|
8660
8660
|
if (!e) return;
|
|
8661
|
-
const { engine: t } = this, l = t.assets,
|
|
8662
|
-
|
|
8663
|
-
|
|
8664
|
-
|
|
8665
|
-
|
|
8666
|
-
|
|
8667
|
-
|
|
8668
|
-
|
|
8669
|
-
params: i.params || []
|
|
8670
|
-
}
|
|
8671
|
-
);
|
|
8672
|
-
if (s.length === 0)
|
|
8661
|
+
const { engine: t, dropping: l } = this, a = l.value ? this.getVueInstance(l.value, e.id) : null, o = a?.$vtjDynamicSlots ? a.$vtjDynamicSlots() : [], s = t.assets, r = s.componentMap, p = ((await s.getBlockMaterial(e.from) || r.get(e.name))?.slots || ["default"]).concat(o).map((f) => typeof f == "string" ? {
|
|
8662
|
+
name: f,
|
|
8663
|
+
params: []
|
|
8664
|
+
} : {
|
|
8665
|
+
name: f.name,
|
|
8666
|
+
params: f.params || []
|
|
8667
|
+
});
|
|
8668
|
+
if (p.length === 0)
|
|
8673
8669
|
return;
|
|
8674
|
-
if (
|
|
8675
|
-
return
|
|
8676
|
-
const
|
|
8677
|
-
if (!(
|
|
8678
|
-
return
|
|
8670
|
+
if (p.length === 1)
|
|
8671
|
+
return p[0];
|
|
8672
|
+
const m = await hu(p).catch(() => null);
|
|
8673
|
+
if (!(m && m.name === "default" && (!m.params || m.params?.length === 0)))
|
|
8674
|
+
return m;
|
|
8675
|
+
}
|
|
8676
|
+
getVueInstance(e, t) {
|
|
8677
|
+
const { el: l, model: a } = e, o = l.__context__?.__refs;
|
|
8678
|
+
return o ? o[t || a.id] : null;
|
|
8679
8679
|
}
|
|
8680
8680
|
async onDrop(e) {
|
|
8681
8681
|
e.preventDefault();
|
|
@@ -8687,18 +8687,18 @@ class bu {
|
|
|
8687
8687
|
if (o)
|
|
8688
8688
|
p = o;
|
|
8689
8689
|
else {
|
|
8690
|
-
const
|
|
8691
|
-
p = new Wt(
|
|
8690
|
+
const m = this.createNodeDsl(l);
|
|
8691
|
+
p = new Wt(m);
|
|
8692
8692
|
}
|
|
8693
8693
|
if (ee(i))
|
|
8694
8694
|
o ? (delete p.slot, s.move(p, void 0, "inner")) : s.addNode(p, void 0, g);
|
|
8695
8695
|
else {
|
|
8696
|
-
const
|
|
8697
|
-
if (
|
|
8696
|
+
const m = await this.getDropSlot(g === "inner" ? i : i.parent);
|
|
8697
|
+
if (m === null) {
|
|
8698
8698
|
this.dropping.value = null;
|
|
8699
8699
|
return;
|
|
8700
8700
|
}
|
|
8701
|
-
p.slot =
|
|
8701
|
+
p.slot = m, o ? s.move(p, i, g) : s.addNode(p, i, g);
|
|
8702
8702
|
}
|
|
8703
8703
|
this.dropping.value = null, t.simulator.refresh(), t.assets.clearCaches();
|
|
8704
8704
|
}
|
|
@@ -8852,7 +8852,7 @@ class bu {
|
|
|
8852
8852
|
return !1;
|
|
8853
8853
|
const r = a.assets.componentMap, i = t !== "inner" && e.parent || e, g = await a.assets.getBlockMaterial(i.from) || r.get(i.name);
|
|
8854
8854
|
if (!g) return !1;
|
|
8855
|
-
const { parentIncludes: p = !0, name:
|
|
8855
|
+
const { parentIncludes: p = !0, name: m } = l, { childIncludes: f = !0 } = g, b = p === !0 || Array.isArray(p) && p.includes(i.name), c = f === !0 || Array.isArray(f) && f.includes(m);
|
|
8856
8856
|
return b && c;
|
|
8857
8857
|
}
|
|
8858
8858
|
dispose() {
|
|
@@ -8899,12 +8899,12 @@ class yu {
|
|
|
8899
8899
|
components: s,
|
|
8900
8900
|
apis: r,
|
|
8901
8901
|
libs: a
|
|
8902
|
-
}),
|
|
8902
|
+
}), m = o.defineComponent({
|
|
8903
8903
|
render() {
|
|
8904
8904
|
return o.h(o.Suspense, [o.h(g)]);
|
|
8905
8905
|
}
|
|
8906
8906
|
});
|
|
8907
|
-
this.app = o.createApp(
|
|
8907
|
+
this.app = o.createApp(m), this.install(this.app);
|
|
8908
8908
|
try {
|
|
8909
8909
|
this.app.mount(i);
|
|
8910
8910
|
} catch (f) {
|
|
@@ -8981,7 +8981,7 @@ class _u extends bn {
|
|
|
8981
8981
|
libraryExports: i,
|
|
8982
8982
|
materialExports: g,
|
|
8983
8983
|
materialMapLibrary: p,
|
|
8984
|
-
libraryLocaleMap:
|
|
8984
|
+
libraryLocaleMap: m
|
|
8985
8985
|
} = Fl(t, this.materialPath);
|
|
8986
8986
|
a.open(), a.write(`
|
|
8987
8987
|
<!DOCTYPE html>
|
|
@@ -9010,7 +9010,7 @@ class _u extends bn {
|
|
|
9010
9010
|
__simulator__.emitReady(${JSON.stringify(i)},
|
|
9011
9011
|
${JSON.stringify(g)},
|
|
9012
9012
|
${JSON.stringify(p)},
|
|
9013
|
-
${JSON.stringify(
|
|
9013
|
+
${JSON.stringify(m)}
|
|
9014
9014
|
);
|
|
9015
9015
|
<\/script>
|
|
9016
9016
|
</html>
|
|
@@ -9018,38 +9018,38 @@ class _u extends bn {
|
|
|
9018
9018
|
}
|
|
9019
9019
|
async emitReady(e = [], t = [], l = {}, a = {}) {
|
|
9020
9020
|
this.renderer?.dispose(), this.renderer = null;
|
|
9021
|
-
const o = this.contentWindow, { assets: s, service: r, current: i, provider: g } = this.engine, p = g.materials || {},
|
|
9021
|
+
const o = this.contentWindow, { assets: s, service: r, current: i, provider: g } = this.engine, p = g.materials || {}, m = [];
|
|
9022
9022
|
for (const b of t) {
|
|
9023
9023
|
const c = p[b] ? (await p[b]()).default : o[b];
|
|
9024
|
-
|
|
9024
|
+
m.push(c);
|
|
9025
9025
|
}
|
|
9026
|
-
s.load(
|
|
9026
|
+
s.load(m);
|
|
9027
9027
|
const f = this.createEnv(
|
|
9028
9028
|
e,
|
|
9029
9029
|
l,
|
|
9030
|
-
|
|
9030
|
+
m,
|
|
9031
9031
|
a
|
|
9032
9032
|
);
|
|
9033
9033
|
this.renderer = new yu(f, r, g, this.designer.value), i.value && this.renderer.render(i.value), this.triggerReady();
|
|
9034
9034
|
}
|
|
9035
9035
|
createEnv(e = [], t = {}, l = [], a = {}) {
|
|
9036
|
-
const o = this.contentWindow, { engine: s } = this, { project: r, assets: i, provider: g } = s, p = e.reduce((C, I) => (C[I] = o[I], C), {}),
|
|
9036
|
+
const o = this.contentWindow, { engine: s } = this, { project: r, assets: i, provider: g } = s, p = e.reduce((C, I) => (C[I] = o[I], C), {}), m = {};
|
|
9037
9037
|
Object.entries(a).forEach(([C, I]) => {
|
|
9038
|
-
|
|
9038
|
+
m[C] = o[I];
|
|
9039
9039
|
});
|
|
9040
9040
|
const f = {}, { groups: b, componentMap: c } = i;
|
|
9041
9041
|
for (const C of b.value) {
|
|
9042
9042
|
const I = C.names || [];
|
|
9043
9043
|
if (C.name === yt)
|
|
9044
9044
|
I.forEach((O) => {
|
|
9045
|
-
const
|
|
9046
|
-
P &&
|
|
9045
|
+
const $ = c.get(O), D = $?.package || "", R = Cl[D], P = p[R];
|
|
9046
|
+
P && $ && (f[O] = Lt($, P));
|
|
9047
9047
|
});
|
|
9048
9048
|
else {
|
|
9049
9049
|
const O = p[t[C.library || ""]];
|
|
9050
|
-
O && I.forEach((
|
|
9051
|
-
const D = c.get(
|
|
9052
|
-
D ? f[
|
|
9050
|
+
O && I.forEach(($) => {
|
|
9051
|
+
const D = c.get($);
|
|
9052
|
+
D ? f[$] = Lt(D, O) : f[$] = O[$];
|
|
9053
9053
|
});
|
|
9054
9054
|
}
|
|
9055
9055
|
}
|
|
@@ -9069,7 +9069,7 @@ class _u extends bn {
|
|
|
9069
9069
|
apis: x,
|
|
9070
9070
|
globals: w,
|
|
9071
9071
|
libraryLocaleMap: a,
|
|
9072
|
-
locales:
|
|
9072
|
+
locales: m
|
|
9073
9073
|
};
|
|
9074
9074
|
}
|
|
9075
9075
|
refresh() {
|
|
@@ -9108,10 +9108,10 @@ class wu {
|
|
|
9108
9108
|
continue;
|
|
9109
9109
|
const g = o.filter((b) => !!b.package).map((b) => b.name), p = a.map(
|
|
9110
9110
|
(b) => this.getCateoryComponents(b, o)
|
|
9111
|
-
),
|
|
9111
|
+
), m = p.reduce((b, c) => c.count + b, 0), f = {
|
|
9112
9112
|
name: l.name,
|
|
9113
9113
|
label: s || r,
|
|
9114
|
-
count:
|
|
9114
|
+
count: m,
|
|
9115
9115
|
names: g,
|
|
9116
9116
|
library: i,
|
|
9117
9117
|
children: p
|
|
@@ -9131,13 +9131,13 @@ class wu {
|
|
|
9131
9131
|
if (!e || typeof e == "string") return null;
|
|
9132
9132
|
let l;
|
|
9133
9133
|
if (e.type === "Schema" && e.id && (l = this.caches[e.id] || await this.service.getFile(e.id), this.caches[e.id] = l), e.type === "UrlSchema" && e.url && (l = this.caches[e.url] || await this.provider.getDslByUrl(e.url), this.caches[e.url] = l), e.type === "Plugin") {
|
|
9134
|
-
const
|
|
9135
|
-
return
|
|
9134
|
+
const m = await this.service.getPluginMaterial(e);
|
|
9135
|
+
return m ? (m.name = t || m.name, m.from = e, this.componentMap.set(m.name, m), m) : null;
|
|
9136
9136
|
}
|
|
9137
9137
|
if (!l) return null;
|
|
9138
9138
|
l.name = t || l.name;
|
|
9139
|
-
const { id: a, name: o, slots: s, props: r, emits: i } = l, g = (
|
|
9140
|
-
const f = Array.isArray(
|
|
9139
|
+
const { id: a, name: o, slots: s, props: r, emits: i } = l, g = (m) => {
|
|
9140
|
+
const f = Array.isArray(m) ? m : [m];
|
|
9141
9141
|
let b = [];
|
|
9142
9142
|
for (const c of f)
|
|
9143
9143
|
b = b.concat(
|
|
@@ -9149,12 +9149,12 @@ class wu {
|
|
|
9149
9149
|
name: o,
|
|
9150
9150
|
// 如果没有定义插槽,不能放置子组件
|
|
9151
9151
|
childIncludes: s?.length ? void 0 : !1,
|
|
9152
|
-
props: (r || []).map((
|
|
9153
|
-
name:
|
|
9152
|
+
props: (r || []).map((m) => typeof m == "string" ? {
|
|
9153
|
+
name: m
|
|
9154
9154
|
} : {
|
|
9155
|
-
name:
|
|
9156
|
-
type:
|
|
9157
|
-
setters: g(
|
|
9155
|
+
name: m.name,
|
|
9156
|
+
type: m.type,
|
|
9157
|
+
setters: g(m.type)
|
|
9158
9158
|
}),
|
|
9159
9159
|
events: i,
|
|
9160
9160
|
slots: s,
|
|
@@ -9298,7 +9298,7 @@ class sc extends bn {
|
|
|
9298
9298
|
async initHistory(e) {
|
|
9299
9299
|
if (e) {
|
|
9300
9300
|
const t = await this.service.getHistory(e.id).catch(() => null);
|
|
9301
|
-
this.history.value = new
|
|
9301
|
+
this.history.value = new $l(
|
|
9302
9302
|
Object.assign(t || {}, { id: e.id })
|
|
9303
9303
|
);
|
|
9304
9304
|
} else
|
|
@@ -9375,7 +9375,7 @@ const je = E({
|
|
|
9375
9375
|
},
|
|
9376
9376
|
render() {
|
|
9377
9377
|
const u = Kt[this.region] || Kt.EmptyRegion;
|
|
9378
|
-
return
|
|
9378
|
+
return Te(u, { ...this.$props, ...this.$attrs, ref: "regionRef" });
|
|
9379
9379
|
}
|
|
9380
9380
|
}), De = E({
|
|
9381
9381
|
name: "WidgetWrapper",
|
|
@@ -9395,7 +9395,7 @@ const je = E({
|
|
|
9395
9395
|
};
|
|
9396
9396
|
},
|
|
9397
9397
|
render() {
|
|
9398
|
-
return
|
|
9398
|
+
return Te(this.widget.component, {
|
|
9399
9399
|
...this.widget.props,
|
|
9400
9400
|
...this.$props,
|
|
9401
9401
|
...this.$attrs,
|
|
@@ -9416,7 +9416,7 @@ const je = E({
|
|
|
9416
9416
|
this.engine.skeleton = this;
|
|
9417
9417
|
},
|
|
9418
9418
|
render() {
|
|
9419
|
-
return
|
|
9419
|
+
return Te(Su, { ...this.$props, ...this.$attrs, ref: "skeletonRef" });
|
|
9420
9420
|
},
|
|
9421
9421
|
methods: {
|
|
9422
9422
|
/**
|
|
@@ -9563,10 +9563,10 @@ const je = E({
|
|
|
9563
9563
|
variable: i,
|
|
9564
9564
|
changeValue: g,
|
|
9565
9565
|
defaultSetter: p,
|
|
9566
|
-
removable:
|
|
9566
|
+
removable: m,
|
|
9567
9567
|
onRemove: f
|
|
9568
9568
|
} = this;
|
|
9569
|
-
return
|
|
9569
|
+
return Te(Pu, {
|
|
9570
9570
|
context: u,
|
|
9571
9571
|
current: e,
|
|
9572
9572
|
name: t,
|
|
@@ -9576,7 +9576,7 @@ const je = E({
|
|
|
9576
9576
|
defaultSetter: p,
|
|
9577
9577
|
variable: i,
|
|
9578
9578
|
value: o,
|
|
9579
|
-
removable:
|
|
9579
|
+
removable: m,
|
|
9580
9580
|
options: r,
|
|
9581
9581
|
onChange: g,
|
|
9582
9582
|
onRemove: f
|
|
@@ -9624,12 +9624,12 @@ const je = E({
|
|
|
9624
9624
|
onEnd(C, I) {
|
|
9625
9625
|
o.value = I.elementWidth.value;
|
|
9626
9626
|
}
|
|
9627
|
-
}, i = k(), g = k(), p = k(),
|
|
9627
|
+
}, i = k(), g = k(), p = k(), m = k(), f = k(), b = k(), c = k(), _ = k(), w = k(!1), x = k(!1);
|
|
9628
9628
|
return e({
|
|
9629
9629
|
brand: i,
|
|
9630
9630
|
toolbar: g,
|
|
9631
9631
|
actions: p,
|
|
9632
|
-
apps:
|
|
9632
|
+
apps: m,
|
|
9633
9633
|
workspace: f,
|
|
9634
9634
|
settings: b,
|
|
9635
9635
|
status: c,
|
|
@@ -9641,25 +9641,25 @@ const je = E({
|
|
|
9641
9641
|
isPreview: l
|
|
9642
9642
|
}), (C, I) => (d(), y(n(cl), { locale: n(vl) }, {
|
|
9643
9643
|
default: h(() => [
|
|
9644
|
-
|
|
9644
|
+
v(n(Ot), { class: "v-skeleton" }, {
|
|
9645
9645
|
default: h(() => [
|
|
9646
|
-
|
|
9646
|
+
v(n(dl), {
|
|
9647
9647
|
class: "v-skeleton__header",
|
|
9648
9648
|
height: C.headerHeight
|
|
9649
9649
|
}, {
|
|
9650
9650
|
default: h(() => [
|
|
9651
|
-
|
|
9651
|
+
v(n(je), {
|
|
9652
9652
|
ref_key: "brand",
|
|
9653
9653
|
ref: i,
|
|
9654
9654
|
region: "Brand"
|
|
9655
9655
|
}, null, 512),
|
|
9656
|
-
|
|
9656
|
+
v(n(je), {
|
|
9657
9657
|
ref_key: "toolbar",
|
|
9658
9658
|
ref: g,
|
|
9659
9659
|
region: "Toolbar",
|
|
9660
9660
|
preview: l.value
|
|
9661
9661
|
}, null, 8, ["preview"]),
|
|
9662
|
-
|
|
9662
|
+
v(n(je), {
|
|
9663
9663
|
ref_key: "actions",
|
|
9664
9664
|
ref: p,
|
|
9665
9665
|
region: "Actions"
|
|
@@ -9667,7 +9667,7 @@ const je = E({
|
|
|
9667
9667
|
]),
|
|
9668
9668
|
_: 1
|
|
9669
9669
|
}, 8, ["height"]),
|
|
9670
|
-
|
|
9670
|
+
v(n(Ot), { class: "v-skeleton__wrapper" }, {
|
|
9671
9671
|
default: h(() => [
|
|
9672
9672
|
l.value ? j("", !0) : Ee((d(), y(n(Ft), {
|
|
9673
9673
|
key: 0,
|
|
@@ -9677,9 +9677,9 @@ const je = E({
|
|
|
9677
9677
|
}])
|
|
9678
9678
|
}, {
|
|
9679
9679
|
default: h(() => [
|
|
9680
|
-
|
|
9680
|
+
v(n(je), {
|
|
9681
9681
|
ref_key: "apps",
|
|
9682
|
-
ref:
|
|
9682
|
+
ref: m,
|
|
9683
9683
|
region: "Apps"
|
|
9684
9684
|
}, null, 512)
|
|
9685
9685
|
]),
|
|
@@ -9687,7 +9687,7 @@ const je = E({
|
|
|
9687
9687
|
}, 8, ["width", "class"])), [
|
|
9688
9688
|
[n(Nt), s]
|
|
9689
9689
|
]),
|
|
9690
|
-
|
|
9690
|
+
v(n(pl), { class: "v-skeleton__main" }, {
|
|
9691
9691
|
default: h(() => [
|
|
9692
9692
|
l.value ? (d(), y(n(je), {
|
|
9693
9693
|
key: 0,
|
|
@@ -9696,7 +9696,7 @@ const je = E({
|
|
|
9696
9696
|
region: "Preview",
|
|
9697
9697
|
preview: l.value
|
|
9698
9698
|
}, null, 8, ["preview"])) : j("", !0),
|
|
9699
|
-
Ee(
|
|
9699
|
+
Ee(v(n(je), {
|
|
9700
9700
|
ref_key: "workspace",
|
|
9701
9701
|
ref: f,
|
|
9702
9702
|
region: "Workspace"
|
|
@@ -9712,7 +9712,7 @@ const je = E({
|
|
|
9712
9712
|
class: "v-skeleton__right"
|
|
9713
9713
|
}, {
|
|
9714
9714
|
default: h(() => [
|
|
9715
|
-
|
|
9715
|
+
v(n(je), {
|
|
9716
9716
|
ref_key: "settings",
|
|
9717
9717
|
ref: b,
|
|
9718
9718
|
region: "Settings"
|
|
@@ -9732,7 +9732,7 @@ const je = E({
|
|
|
9732
9732
|
height: C.footerHeight
|
|
9733
9733
|
}, {
|
|
9734
9734
|
default: h(() => [
|
|
9735
|
-
|
|
9735
|
+
v(n(je), {
|
|
9736
9736
|
ref_key: "status",
|
|
9737
9737
|
ref: c,
|
|
9738
9738
|
region: "Status"
|
|
@@ -9772,7 +9772,7 @@ const je = E({
|
|
|
9772
9772
|
), r = k(t.value), i = S(() => !!Le(r.value)), g = {
|
|
9773
9773
|
[s.value.name]: r.value
|
|
9774
9774
|
}, p = (x) => {
|
|
9775
|
-
g[s.value.name] = r.value, s.value = x, r.value = g[x.name] ?? void 0,
|
|
9775
|
+
g[s.value.name] = r.value, s.value = x, r.value = g[x.name] ?? void 0, m(r.value);
|
|
9776
9776
|
};
|
|
9777
9777
|
q(
|
|
9778
9778
|
() => t.value,
|
|
@@ -9787,7 +9787,7 @@ const je = E({
|
|
|
9787
9787
|
) || t.setters[0];
|
|
9788
9788
|
}
|
|
9789
9789
|
);
|
|
9790
|
-
const
|
|
9790
|
+
const m = (x) => {
|
|
9791
9791
|
l("change", x);
|
|
9792
9792
|
}, f = () => {
|
|
9793
9793
|
l("remove", t.name);
|
|
@@ -9829,7 +9829,7 @@ const je = E({
|
|
|
9829
9829
|
options: t.options,
|
|
9830
9830
|
modelValue: r.value,
|
|
9831
9831
|
"onUpdate:modelValue": C[0] || (C[0] = (I) => r.value = I),
|
|
9832
|
-
onChange:
|
|
9832
|
+
onChange: m,
|
|
9833
9833
|
disabled: i.value
|
|
9834
9834
|
}), null, 16, ["current", "context", "options", "modelValue", "disabled"])),
|
|
9835
9835
|
i.value ? (d(), y(n(ye), {
|
|
@@ -9862,14 +9862,14 @@ const je = E({
|
|
|
9862
9862
|
onCommand: p
|
|
9863
9863
|
}, {
|
|
9864
9864
|
dropdown: h(() => [
|
|
9865
|
-
|
|
9865
|
+
v(n(rn), null, {
|
|
9866
9866
|
default: h(() => [
|
|
9867
|
-
(d(!0), A(
|
|
9867
|
+
(d(!0), A(T, null, N(t.setters, (I) => (d(), y(n(ft), {
|
|
9868
9868
|
command: I,
|
|
9869
9869
|
key: I.name
|
|
9870
9870
|
}, {
|
|
9871
9871
|
default: h(() => [
|
|
9872
|
-
|
|
9872
|
+
v(n(Sn), {
|
|
9873
9873
|
class: H({
|
|
9874
9874
|
"is-placeholder": I.name !== s.value.name
|
|
9875
9875
|
})
|
|
@@ -9883,7 +9883,7 @@ const je = E({
|
|
|
9883
9883
|
})
|
|
9884
9884
|
]),
|
|
9885
9885
|
default: h(() => [
|
|
9886
|
-
|
|
9886
|
+
v(n(Cs), { title: "切换设置器" })
|
|
9887
9887
|
]),
|
|
9888
9888
|
_: 1
|
|
9889
9889
|
}, 8, ["disabled"])) : j("", !0),
|
|
@@ -9930,7 +9930,7 @@ const je = E({
|
|
|
9930
9930
|
widgets: l,
|
|
9931
9931
|
widgetsRef: a
|
|
9932
9932
|
}), (o, s) => (d(), A("div", Bu, [
|
|
9933
|
-
(d(!0), A(
|
|
9933
|
+
(d(!0), A(T, null, N(n(l), (r) => (d(), y(n(De), {
|
|
9934
9934
|
ref_for: !0,
|
|
9935
9935
|
ref_key: "widgetsRef",
|
|
9936
9936
|
ref: a,
|
|
@@ -9939,7 +9939,7 @@ const je = E({
|
|
|
9939
9939
|
}, null, 8, ["region", "widget"]))), 256))
|
|
9940
9940
|
]));
|
|
9941
9941
|
}
|
|
9942
|
-
}),
|
|
9942
|
+
}), $u = { class: "v-toolbar-region" }, Tu = /* @__PURE__ */ E({
|
|
9943
9943
|
name: "ToolbarRegion",
|
|
9944
9944
|
__name: "toolbar",
|
|
9945
9945
|
props: {
|
|
@@ -9951,8 +9951,8 @@ const je = E({
|
|
|
9951
9951
|
return e({
|
|
9952
9952
|
widgets: l,
|
|
9953
9953
|
widgetsRef: a
|
|
9954
|
-
}), (o, s) => (d(), A("div",
|
|
9955
|
-
(d(!0), A(
|
|
9954
|
+
}), (o, s) => (d(), A("div", $u, [
|
|
9955
|
+
(d(!0), A(T, null, N(n(l), (r) => (d(), y(n(De), {
|
|
9956
9956
|
ref_for: !0,
|
|
9957
9957
|
ref_key: "widgetsRef",
|
|
9958
9958
|
ref: a,
|
|
@@ -9975,7 +9975,7 @@ const je = E({
|
|
|
9975
9975
|
widgets: l,
|
|
9976
9976
|
widgetsRef: a
|
|
9977
9977
|
}), (o, s) => (d(), A("div", zu, [
|
|
9978
|
-
(d(!0), A(
|
|
9978
|
+
(d(!0), A(T, null, N(n(l), (r) => (d(), y(n(De), {
|
|
9979
9979
|
ref_for: !0,
|
|
9980
9980
|
ref_key: "widgetsRef",
|
|
9981
9981
|
ref: a,
|
|
@@ -9993,7 +9993,7 @@ const je = E({
|
|
|
9993
9993
|
index: { default: 0 }
|
|
9994
9994
|
},
|
|
9995
9995
|
setup(u, { expose: e }) {
|
|
9996
|
-
const t = u, l = ce(), { widgets: a, widgetsRef: o } = Pe(t.region), s = S(() => a.value.filter((c) => c.openType === "panel")), r = S(() => a.value.filter((c) => c.openType !== "panel")), i = s.value[t.index], g = k(i), p = k(i),
|
|
9996
|
+
const t = u, l = ce(), { widgets: a, widgetsRef: o } = Pe(t.region), s = S(() => a.value.filter((c) => c.openType === "panel")), r = S(() => a.value.filter((c) => c.openType !== "panel")), i = s.value[t.index], g = k(i), p = k(i), m = (c) => {
|
|
9997
9997
|
g.value = c, p.value = p.value?.name === c.name ? null : c;
|
|
9998
9998
|
}, f = (c) => {
|
|
9999
9999
|
c.openType === "link" && c.url && window.open(c.url), c.openType === "dialog" && hl({
|
|
@@ -10015,17 +10015,17 @@ const je = E({
|
|
|
10015
10015
|
}), (c, _) => (d(), A("div", Fu, [
|
|
10016
10016
|
V("div", Nu, [
|
|
10017
10017
|
V("div", Wu, [
|
|
10018
|
-
(d(!0), A(
|
|
10018
|
+
(d(!0), A(T, null, N(s.value, (w) => (d(), y(n(Gt), {
|
|
10019
10019
|
key: `icon-${w.name}`,
|
|
10020
10020
|
icon: w.icon,
|
|
10021
10021
|
label: w.label,
|
|
10022
10022
|
active: g.value?.name === w.name,
|
|
10023
10023
|
open: p.value?.name === w.name,
|
|
10024
|
-
onClick: (x) =>
|
|
10024
|
+
onClick: (x) => m(w)
|
|
10025
10025
|
}, null, 8, ["icon", "label", "active", "open", "onClick"]))), 128))
|
|
10026
10026
|
]),
|
|
10027
10027
|
V("div", Ju, [
|
|
10028
|
-
(d(!0), A(
|
|
10028
|
+
(d(!0), A(T, null, N(r.value, (w) => (d(), y(n(Gt), {
|
|
10029
10029
|
key: `icon-${w.name}`,
|
|
10030
10030
|
icon: w.icon,
|
|
10031
10031
|
label: w.label,
|
|
@@ -10034,7 +10034,7 @@ const je = E({
|
|
|
10034
10034
|
])
|
|
10035
10035
|
]),
|
|
10036
10036
|
V("div", Mu, [
|
|
10037
|
-
(d(!0), A(
|
|
10037
|
+
(d(!0), A(T, null, N(s.value, (w) => (d(), y(an, {
|
|
10038
10038
|
key: w.name
|
|
10039
10039
|
}, [
|
|
10040
10040
|
g.value?.name === w.name ? (d(), y(n(De), {
|
|
@@ -10072,7 +10072,7 @@ const je = E({
|
|
|
10072
10072
|
}))), i = k(s.value[0]?.name), g = S(() => o.find((_) => _.name === i.value)?.props || {}), p = (c) => {
|
|
10073
10073
|
const _ = o.find((w) => w.name === c);
|
|
10074
10074
|
_ && (_.checked = !1), i.value === c && (i.value = s.value[0]?.name);
|
|
10075
|
-
},
|
|
10075
|
+
}, m = (c) => {
|
|
10076
10076
|
const _ = o.find((w) => w.name === c.name);
|
|
10077
10077
|
_ && _.closable && (_.checked = !_.checked, _.checked && (i.value = _.name), !_.checked && i.value === _.name && (i.value = s.value[0]?.name));
|
|
10078
10078
|
}, f = (c, _ = {}) => {
|
|
@@ -10102,11 +10102,11 @@ const je = E({
|
|
|
10102
10102
|
"onUpdate:modelValue": _[0] || (_[0] = (w) => i.value = w),
|
|
10103
10103
|
checkable: "",
|
|
10104
10104
|
onRemove: p,
|
|
10105
|
-
onCommand:
|
|
10105
|
+
onCommand: m,
|
|
10106
10106
|
onActionClick: b
|
|
10107
10107
|
}, {
|
|
10108
10108
|
default: h(() => [
|
|
10109
|
-
(d(!0), A(
|
|
10109
|
+
(d(!0), A(T, null, N(n(l), (w) => (d(), A(T, {
|
|
10110
10110
|
key: w.name
|
|
10111
10111
|
}, [
|
|
10112
10112
|
i.value === w.name ? (d(), y(n(De), {
|
|
@@ -10131,7 +10131,7 @@ const je = E({
|
|
|
10131
10131
|
setup(u, { expose: e }) {
|
|
10132
10132
|
const t = u, l = ce(), { current: a } = ie(), { selected: o, isSelectBlock: s } = ke(), r = S(
|
|
10133
10133
|
() => s.value ? fe.Block : fe.Node
|
|
10134
|
-
), { widgets: i, widgetsRef: g } = Pe(t.region, r), p = k(),
|
|
10134
|
+
), { widgets: i, widgetsRef: g } = Pe(t.region, r), p = k(), m = k(!1), f = S(() => i.value.map((w) => ({
|
|
10135
10135
|
name: w.name,
|
|
10136
10136
|
label: w.label,
|
|
10137
10137
|
actions: w.name === "Style" ? [
|
|
@@ -10154,7 +10154,7 @@ const je = E({
|
|
|
10154
10154
|
},
|
|
10155
10155
|
{ immediate: !0 }
|
|
10156
10156
|
), q(p, () => {
|
|
10157
|
-
|
|
10157
|
+
m.value = !1;
|
|
10158
10158
|
});
|
|
10159
10159
|
const c = () => {
|
|
10160
10160
|
if (b.value) {
|
|
@@ -10164,7 +10164,7 @@ const je = E({
|
|
|
10164
10164
|
});
|
|
10165
10165
|
}
|
|
10166
10166
|
}, _ = (w) => {
|
|
10167
|
-
w.name === "switch" && (
|
|
10167
|
+
w.name === "switch" && (m.value = !m.value);
|
|
10168
10168
|
};
|
|
10169
10169
|
return e({
|
|
10170
10170
|
widgets: i,
|
|
@@ -10184,9 +10184,9 @@ const je = E({
|
|
|
10184
10184
|
class: "v-settings-region__header"
|
|
10185
10185
|
}, {
|
|
10186
10186
|
default: h(() => [
|
|
10187
|
-
|
|
10187
|
+
v(n(M), { class: "v-settings-region__title" }, {
|
|
10188
10188
|
default: h(() => [
|
|
10189
|
-
|
|
10189
|
+
v(n(En)),
|
|
10190
10190
|
V("span", null, [
|
|
10191
10191
|
G(z(n(o)?.model.name) + ": ", 1),
|
|
10192
10192
|
V("i", null, z(n(o)?.model.id), 1)
|
|
@@ -10196,7 +10196,7 @@ const je = E({
|
|
|
10196
10196
|
}),
|
|
10197
10197
|
b.value ? (d(), y(n(M), { key: 0 }, {
|
|
10198
10198
|
default: h(() => [
|
|
10199
|
-
|
|
10199
|
+
v(n(he), {
|
|
10200
10200
|
onClick: c,
|
|
10201
10201
|
icon: n(jn),
|
|
10202
10202
|
mode: "text",
|
|
@@ -10214,7 +10214,7 @@ const je = E({
|
|
|
10214
10214
|
padding: !1
|
|
10215
10215
|
}, {
|
|
10216
10216
|
default: h(() => [
|
|
10217
|
-
|
|
10217
|
+
v(n(st), {
|
|
10218
10218
|
items: f.value,
|
|
10219
10219
|
modelValue: p.value,
|
|
10220
10220
|
"onUpdate:modelValue": x[0] || (x[0] = (C) => p.value = C),
|
|
@@ -10223,7 +10223,7 @@ const je = E({
|
|
|
10223
10223
|
onActionClick: _
|
|
10224
10224
|
}, {
|
|
10225
10225
|
default: h(() => [
|
|
10226
|
-
(d(!0), A(
|
|
10226
|
+
(d(!0), A(T, null, N(n(i), (C) => (d(), A(T, {
|
|
10227
10227
|
key: C.name
|
|
10228
10228
|
}, [
|
|
10229
10229
|
p.value === C.name ? (d(), y(n(De), {
|
|
@@ -10232,7 +10232,7 @@ const je = E({
|
|
|
10232
10232
|
ref_key: "widgetsRef",
|
|
10233
10233
|
ref: g,
|
|
10234
10234
|
region: w.region,
|
|
10235
|
-
widget: n(Dt)({ props: { isStyleCodeMode:
|
|
10235
|
+
widget: n(Dt)({ props: { isStyleCodeMode: m.value } }, C)
|
|
10236
10236
|
}, null, 8, ["region", "widget"])) : j("", !0)
|
|
10237
10237
|
], 64))), 128))
|
|
10238
10238
|
]),
|
|
@@ -10267,7 +10267,7 @@ const je = E({
|
|
|
10267
10267
|
widgets: l,
|
|
10268
10268
|
widgetsRef: a
|
|
10269
10269
|
}), (o, s) => (d(), A("div", Hu, [
|
|
10270
|
-
(d(!0), A(
|
|
10270
|
+
(d(!0), A(T, null, N(n(l), (r) => (d(), y(n(De), {
|
|
10271
10271
|
ref_for: !0,
|
|
10272
10272
|
ref_key: "widgetsRef",
|
|
10273
10273
|
ref: a,
|
|
@@ -10303,7 +10303,7 @@ const je = E({
|
|
|
10303
10303
|
"onUpdate:modelValue": g[0] || (g[0] = (p) => r.value = p)
|
|
10304
10304
|
}, {
|
|
10305
10305
|
default: h(() => [
|
|
10306
|
-
(d(!0), A(
|
|
10306
|
+
(d(!0), A(T, null, N(n(l), (p) => (d(), y(an, {
|
|
10307
10307
|
key: p.name
|
|
10308
10308
|
}, [
|
|
10309
10309
|
r.value === p.name ? (d(), y(n(De), {
|
|
@@ -10322,7 +10322,7 @@ const je = E({
|
|
|
10322
10322
|
}), Kt = {
|
|
10323
10323
|
EmptyRegion: Iu,
|
|
10324
10324
|
Brand: Ru,
|
|
10325
|
-
Toolbar:
|
|
10325
|
+
Toolbar: Tu,
|
|
10326
10326
|
Actions: Ou,
|
|
10327
10327
|
Apps: Lu,
|
|
10328
10328
|
Workspace: Uu,
|
|
@@ -10333,7 +10333,7 @@ const je = E({
|
|
|
10333
10333
|
export {
|
|
10334
10334
|
Ds as API_METHOD_TYPES,
|
|
10335
10335
|
wu as Assets,
|
|
10336
|
-
|
|
10336
|
+
Tt as Binder,
|
|
10337
10337
|
St as Box,
|
|
10338
10338
|
bu as Designer,
|
|
10339
10339
|
Is as EVENT_MODIFIERS,
|
|
@@ -10356,12 +10356,12 @@ export {
|
|
|
10356
10356
|
_u as Simulator,
|
|
10357
10357
|
Su as Skeleton,
|
|
10358
10358
|
ku as SkeletonWrapper,
|
|
10359
|
-
|
|
10359
|
+
$o as SlotsPicker,
|
|
10360
10360
|
st as Tabs,
|
|
10361
10361
|
js as VTJ_DESIGNER_VERSION,
|
|
10362
10362
|
dr as VariableBinder,
|
|
10363
10363
|
Bo as Viewer,
|
|
10364
|
-
|
|
10364
|
+
Tn as Viewport,
|
|
10365
10365
|
fe as WidgetGroup,
|
|
10366
10366
|
De as WidgetWrapper,
|
|
10367
10367
|
Wi as builtInDeps,
|