@vtj/designer 0.8.3 → 0.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +280 -280
- package/package.json +7 -7
- package/types/version.d.ts +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { computed as S, unref as t, ref as k, reactive as Le, watchEffect as Dn, watch as G, toValue as ot, defineComponent as A, openBlock as u, createElementBlock as V, toDisplayString as z, createVNode as p, withCtx as h, createElementVNode as x, createBlock as b, createCommentVNode as C, createTextVNode as H, Fragment as R, renderList as F, normalizeClass as q, resolveDynamicComponent as Nt, createSlots as
|
|
2
|
-
import { ElNotification as
|
|
1
|
+
import { computed as S, unref as t, ref as k, reactive as Le, watchEffect as Dn, watch as G, toValue as ot, defineComponent as A, openBlock as u, createElementBlock as V, toDisplayString as z, createVNode as p, withCtx as h, createElementVNode as x, createBlock as b, createCommentVNode as C, createTextVNode as H, Fragment as R, renderList as F, normalizeClass as q, resolveDynamicComponent as Nt, createSlots as Pn, withDirectives as je, vShow as Pe, renderSlot as we, withModifiers as Oe, toRaw as In, isRef as rt, mergeProps as re, normalizeStyle as He, nextTick as _e, defineAsyncComponent as Bn, h as Re, inject as ht, provide as $n, normalizeProps as Jt, guardReactiveProps as Wt, withKeys as Ge, onMounted as Mt, onUnmounted as Lt, createApp as Ut, shallowRef as it, shallowReactive as Rn, triggerRef as Ve, markRaw as At, KeepAlive as qt } from "vue";
|
|
2
|
+
import { ElNotification as Ke, ElMessageBox as bt, ElMessage as Ye, ElButton as ae, ElDivider as yt, ElRadioGroup as Ht, ElRadioButton as Xe, ElButtonGroup as Tn, ElDropdown as Gt, ElDropdownMenu as Xt, ElDropdownItem as ut, ElInput as be, ElEmpty as se, ElTooltip as Qt, ElTag as zn, ElSwitch as Kt, ElTree as _t, ElAlert as Yt, ElRow as ct, ElCol as dt, ElCollapse as Fn, ElCollapseItem as On, ElDrawer as Zt, ElForm as ge, ElFormItem as en, ElBreadcrumb as Nn, ElBreadcrumbItem as Jn, ElLoading as Wn, ElSelect as Mn, ElOption as Ln, ElInputNumber as Un, ElColorPicker as qn, ElUpload as Hn, ElSlider as Gn, ElConfigProvider as Xn, ElContainer as jt, ElHeader as Qn, ElAside as Et, ElMain as Kn, ElFooter as Yn } from "element-plus";
|
|
3
3
|
import Zn from "element-plus/es/locale/lang/zh-cn";
|
|
4
|
-
import { XIcon as ke, XDialog as
|
|
4
|
+
import { XIcon as ke, XDialog as Ie, XDialogForm as xe, XField as I, XPanel as Ze, XAction as he, XTabs as wt, XContainer as W, XForm as kt, XAttachment as el, XActionBar as tl, XInputUnit as tn, vResizable as Dt, createDialog as nl } from "@vtj/ui";
|
|
5
5
|
import { delay as nn, upperFirstCamelCase as ln, toRawType as lt, cloneDeep as et, logger as Se, isPlainObject as ll, fileToBase64 as al, merge as St, arrayToMap as sl, toArray as ol } from "@vtj/utils";
|
|
6
|
-
import { isBlock as ee, DirectiveModel as an, createNodeFrom as rl, BUILT_IN_VUE as il, BUILT_IN_VUE_ROUTER as ul, BUILT_IN_NAME as pt, emitter as te, EVENT_PROJECT_ACTIVED as mt, EVENT_NODE_CHANGE as Ne, NodeModel as
|
|
6
|
+
import { isBlock as ee, DirectiveModel as an, createNodeFrom as rl, BUILT_IN_VUE as il, BUILT_IN_VUE_ROUTER as ul, BUILT_IN_NAME as pt, emitter as te, EVENT_PROJECT_ACTIVED as mt, EVENT_NODE_CHANGE as Ne, NodeModel as Pt, EVENT_BLOCK_CHANGE as vt, Base as sn, BUILT_IN_LIBRARAY_MAP as cl, ProjectModel as dl, EVENT_PROJECT_CHANGE as pl, EVENT_PROJECT_BLOCKS_CHANGE as ml, EVENT_PROJECT_PAGES_CHANGE as vl, EVENT_PROJECT_DEPS_CHANGE as gl, EVENT_PROJECT_PUBLISH as fl, EVENT_PROJECT_FILE_PUBLISH as hl, EVENT_HISTORY_CHANGE as bl, EVENT_HISTORY_LOAD as yl, BlockModel as It, HistoryModel as _l } from "@vtj/core";
|
|
7
7
|
import { parseExpression as Je, parseFunction as wl, JSCodeToString as Te, LIFE_CYCLES_LIST as kl, DATA_TYPES as Sl, isJSExpression as We, ContextMode as on, parseDeps as xl, createAssetsCss as Cl, createAssetScripts as Bt, getRawComponent as $t, createSchemaApis as Vl, mockCleanup as Al, mockApis as jl, Provider as El, isJSFunction as Dl } from "@vtj/renderer";
|
|
8
|
-
import { VtjIconBack as
|
|
8
|
+
import { VtjIconBack as Pl, VtjIconPc as Il, VtjIconPhone as Bl, VtjIconPad as $l, VtjIconUndo as Rl, VtjIconRedo as Tl, VtjIconPreview as zl, VtjIconRefresh as Fl, VtjIconSetting as rn, icons as gt, ArrowDown as un, Search as cn, Back as Ol, VtjIconPlus as dn, EditPen as Nl, Delete as Jl, VtjIconSave as Wl, ArrowUp as Ml, MoreFilled as xt, VtjIconCheck as pn, VtjIconCopy as mn, VtjIconEdit as vn, VtjIconRemove as tt, VtjIconLock as gn, VtjIconUnlock as Ll, VtjIconInvisible as fn, VtjIconVisible as Ul, VtjIconHome as ql, Files as Hl, VtjIconSearch as Gl, VtjIconHelp as hn, VtjIconLayers as bn, Rank as Xl, VtjIconArrowUp as Ql, VtjIconArrowDown as Kl, IconDisplayBlock as Yl, IconDisplayFlex as Zl, IconDisplayInlineBlock as ea, IconDisplayInline as ta, IconEyeInvisible as na, IconFlexDirectionrow as la, IconFlexDirectionrowReverse as aa, IconFlexDirectioncolumn as sa, IconFlexDirectioncolumnReverse as oa, IconFlexJustifyflexStartrow as ra, IconFlexJustifyflexEndrow as ia, IconFlexJustifycenterrow as ua, IconFlexJustifyspaceBetweenrow as ca, IconFlexJustifyspaceAroundrow as da, IconFlexAlignflexStartrow as pa, IconFlexAlignflexEndrow as ma, IconFlexAligncenterrow as va, IconFlexAlignbaselinerow as ga, IconFlexAlignstretchrow as fa, IconPositionTopLeft as ha, IconPositionTopRight as ba, IconPositionBottomLeft as ya, IconPositionBottomRight as _a, IconPositionLeft as wa, IconPositionRight as ka, IconPositionTop as Sa, IconPositionBottom as xa, IconPositionAll as Ca, IconTextAlignLeft as Va, IconTextAlignCenter as Aa, IconTextAlignRight as ja, IconTextAlignJustify as Ea, IconFontStyleNone as Da, IconFontStyleItalic as Pa, IconCross as yn, IconTextDecorationUnderline as Ia, IconTextDecorationStrike as Ba, IconTextDecorationOverline as $a, IconTileXy as Ra, IconTileX as Ta, IconTileY as za, IconClose as Fa, IconBorderAll as Oa, IconBorderLeft as Na, IconBorderTop as Ja, IconBorderBottom as Wa, IconBorderRight as Ma, IconBorderStyleSolid as La, IconBorderStyleDashed as Ua, IconBorderStyleDotted as qa, IconCursorAuto as Ha, IconCursorPointer as Ga, IconCursorNotAllowed as Xa, IconCursorNone as Qa, ArrowRight as Ka, VtjIconDocument as Ya, VtjIconComponents as Za, VtjIconBlock as es, VtjIconOutline as ts, VtjIconHistory as ns, VtjIconApi as ls, VtjIconCategory as as, VtjIconInfo as ss, Plus as os, Close as rs, VtjIconVars as is, VtjIconSwitch as us, Switch as cs } from "@vtj/icons";
|
|
9
9
|
import { useClipboard as ds, useElementSize as Me, onClickOutside as ps } from "@vueuse/core";
|
|
10
10
|
import ms from "mockjs";
|
|
11
11
|
/**!
|
|
12
12
|
* Copyright (c) 2024, VTJ.PRO All rights reserved.
|
|
13
13
|
* @name @vtj/designer
|
|
14
14
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
15
|
-
* @version 0.8.
|
|
15
|
+
* @version 0.8.5
|
|
16
16
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
17
17
|
*/
|
|
18
|
-
const vs = "0.8.
|
|
18
|
+
const vs = "0.8.5", Rt = {
|
|
19
19
|
width: 390,
|
|
20
20
|
height: 844
|
|
21
21
|
}, Tt = {
|
|
@@ -328,7 +328,7 @@ function As(c) {
|
|
|
328
328
|
};
|
|
329
329
|
}
|
|
330
330
|
function ne(c, e = "提示") {
|
|
331
|
-
return
|
|
331
|
+
return Ke.warning({
|
|
332
332
|
title: e,
|
|
333
333
|
message: c
|
|
334
334
|
});
|
|
@@ -349,7 +349,7 @@ function oe(c, e, n = !1) {
|
|
|
349
349
|
try {
|
|
350
350
|
c.type === "JSExpression" ? Je(c, e, n, !0) : wl(c, e, n, !0);
|
|
351
351
|
} catch (a) {
|
|
352
|
-
l = !1,
|
|
352
|
+
l = !1, Ke.error({
|
|
353
353
|
title: "代码错误",
|
|
354
354
|
message: a.message
|
|
355
355
|
});
|
|
@@ -453,7 +453,7 @@ function Ds(c) {
|
|
|
453
453
|
}
|
|
454
454
|
return [];
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function Ps(c) {
|
|
457
457
|
const e = ce(), n = S(() => {
|
|
458
458
|
const d = c.value?.model || null;
|
|
459
459
|
return ee(d) ? null : d;
|
|
@@ -502,7 +502,7 @@ function Is(c) {
|
|
|
502
502
|
}
|
|
503
503
|
};
|
|
504
504
|
}
|
|
505
|
-
function
|
|
505
|
+
function Is() {
|
|
506
506
|
const { engine: c, project: e } = Be(), n = S(() => e.value?.apis || []);
|
|
507
507
|
return {
|
|
508
508
|
engine: c,
|
|
@@ -557,7 +557,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
557
557
|
onClick: r
|
|
558
558
|
}, {
|
|
559
559
|
default: h(() => [
|
|
560
|
-
p(t(
|
|
560
|
+
p(t(Pl), { class: "v-switcher-widget__back" }),
|
|
561
561
|
x("span", null, z(a.value), 1),
|
|
562
562
|
s.value ? (u(), b(t(yt), {
|
|
563
563
|
key: 0,
|
|
@@ -592,7 +592,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
592
592
|
value: "pc"
|
|
593
593
|
}, {
|
|
594
594
|
default: h(() => [
|
|
595
|
-
p(t(
|
|
595
|
+
p(t(Il))
|
|
596
596
|
]),
|
|
597
597
|
_: 1
|
|
598
598
|
}),
|
|
@@ -783,7 +783,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
783
783
|
]),
|
|
784
784
|
_: 1
|
|
785
785
|
}, 8, ["size", "model-value", "suffix-icon"]),
|
|
786
|
-
a.value ? (u(), b(t(
|
|
786
|
+
a.value ? (u(), b(t(Ie), {
|
|
787
787
|
key: 0,
|
|
788
788
|
title: "图标选择器",
|
|
789
789
|
width: "1000px",
|
|
@@ -831,7 +831,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
831
831
|
}, 8, ["modelValue"])) : C("", !0)
|
|
832
832
|
]));
|
|
833
833
|
}
|
|
834
|
-
}),
|
|
834
|
+
}), Qs = /* @__PURE__ */ A({
|
|
835
835
|
name: "PageForm",
|
|
836
836
|
__name: "form",
|
|
837
837
|
props: {
|
|
@@ -862,7 +862,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
862
862
|
"submit-method": i
|
|
863
863
|
}, {
|
|
864
864
|
default: h(() => [
|
|
865
|
-
p(t(
|
|
865
|
+
p(t(I), {
|
|
866
866
|
name: "dir",
|
|
867
867
|
label: "类型",
|
|
868
868
|
editor: "radio",
|
|
@@ -871,19 +871,19 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
871
871
|
disabled: !!e.item,
|
|
872
872
|
required: ""
|
|
873
873
|
}, null, 8, ["disabled"]),
|
|
874
|
-
p(t(
|
|
874
|
+
p(t(I), {
|
|
875
875
|
name: "name",
|
|
876
876
|
label: "名称",
|
|
877
877
|
required: "",
|
|
878
878
|
onChange: o,
|
|
879
879
|
rules: { pattern: t(Ce), message: "名称格式不正确" }
|
|
880
880
|
}, null, 8, ["rules"]),
|
|
881
|
-
p(t(
|
|
881
|
+
p(t(I), {
|
|
882
882
|
name: "title",
|
|
883
883
|
label: "标题",
|
|
884
884
|
required: ""
|
|
885
885
|
}),
|
|
886
|
-
p(t(
|
|
886
|
+
p(t(I), {
|
|
887
887
|
name: "icon",
|
|
888
888
|
label: "菜单图标",
|
|
889
889
|
editor: "none"
|
|
@@ -897,18 +897,18 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
897
897
|
]),
|
|
898
898
|
_: 1
|
|
899
899
|
}),
|
|
900
|
-
p(t(
|
|
900
|
+
p(t(I), {
|
|
901
901
|
visible: { dir: !1 },
|
|
902
902
|
name: "mask",
|
|
903
903
|
label: "包含母版",
|
|
904
904
|
editor: "switch"
|
|
905
905
|
}),
|
|
906
|
-
p(t(
|
|
906
|
+
p(t(I), {
|
|
907
907
|
name: "hidden",
|
|
908
908
|
label: "隐藏菜单",
|
|
909
909
|
editor: "switch"
|
|
910
910
|
}),
|
|
911
|
-
p(t(
|
|
911
|
+
p(t(I), {
|
|
912
912
|
visible: { dir: !1 },
|
|
913
913
|
disabled: !!e.item,
|
|
914
914
|
inline: "",
|
|
@@ -938,7 +938,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
938
938
|
})), s = () => {
|
|
939
939
|
l("click");
|
|
940
940
|
};
|
|
941
|
-
return (r, o) => (u(), b(t(
|
|
941
|
+
return (r, o) => (u(), b(t(Qt), {
|
|
942
942
|
effect: "dark",
|
|
943
943
|
placement: "right",
|
|
944
944
|
content: r.label,
|
|
@@ -999,7 +999,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
999
999
|
border: !1,
|
|
1000
1000
|
header: g.value,
|
|
1001
1001
|
fit: ""
|
|
1002
|
-
},
|
|
1002
|
+
}, Pn({
|
|
1003
1003
|
actions: h(() => [
|
|
1004
1004
|
n.plus ? (u(), b(t(he), {
|
|
1005
1005
|
key: 0,
|
|
@@ -1046,7 +1046,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1046
1046
|
title: "展开",
|
|
1047
1047
|
onClick: d[0] || (d[0] = (_) => y(!1))
|
|
1048
1048
|
}, null, 8, ["size", "icon"])), [
|
|
1049
|
-
[
|
|
1049
|
+
[Pe, a.value]
|
|
1050
1050
|
]) : C("", !0),
|
|
1051
1051
|
n.collapsable ? je((u(), b(t(he), {
|
|
1052
1052
|
key: 5,
|
|
@@ -1057,7 +1057,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1057
1057
|
title: "收起",
|
|
1058
1058
|
onClick: d[1] || (d[1] = (_) => y(!0))
|
|
1059
1059
|
}, null, 8, ["size", "icon"])), [
|
|
1060
|
-
[
|
|
1060
|
+
[Pe, !a.value]
|
|
1061
1061
|
]) : C("", !0),
|
|
1062
1062
|
we(f.$slots, "actions")
|
|
1063
1063
|
]),
|
|
@@ -1075,7 +1075,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1075
1075
|
} : void 0
|
|
1076
1076
|
]), 1032, ["class", "header"]));
|
|
1077
1077
|
}
|
|
1078
|
-
}),
|
|
1078
|
+
}), Ks = { class: "v-tabs__header" }, Ys = {
|
|
1079
1079
|
key: 0,
|
|
1080
1080
|
class: "v-tabs__actions"
|
|
1081
1081
|
}, nt = /* @__PURE__ */ A({
|
|
@@ -1119,7 +1119,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1119
1119
|
radius: !1
|
|
1120
1120
|
}, {
|
|
1121
1121
|
header: h(() => [
|
|
1122
|
-
x("div",
|
|
1122
|
+
x("div", Ks, [
|
|
1123
1123
|
p(t(wt), {
|
|
1124
1124
|
class: "v-tabs__tabs",
|
|
1125
1125
|
items: n.items,
|
|
@@ -1314,7 +1314,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1314
1314
|
icon: y.icon,
|
|
1315
1315
|
onClick: (f) => v(y.name)
|
|
1316
1316
|
}, null, 8, ["name", "title", "icon", "onClick"]))), 256)),
|
|
1317
|
-
l.switch ? (u(), b(t(
|
|
1317
|
+
l.switch ? (u(), b(t(Kt), {
|
|
1318
1318
|
key: 0,
|
|
1319
1319
|
modelValue: s.value,
|
|
1320
1320
|
"onUpdate:modelValue": g[0] || (g[0] = (y) => s.value = y),
|
|
@@ -1427,7 +1427,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1427
1427
|
if (m.level === 0)
|
|
1428
1428
|
g(r(n.context));
|
|
1429
1429
|
else {
|
|
1430
|
-
const y =
|
|
1430
|
+
const y = In(m.data.value);
|
|
1431
1431
|
g(r(y, m.data.path));
|
|
1432
1432
|
}
|
|
1433
1433
|
}, i = (m) => {
|
|
@@ -1506,7 +1506,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1506
1506
|
message: "已经复制到粘贴板"
|
|
1507
1507
|
});
|
|
1508
1508
|
};
|
|
1509
|
-
return (j, E) => (u(), b(t(
|
|
1509
|
+
return (j, E) => (u(), b(t(Ie), {
|
|
1510
1510
|
"model-value": n.modelValue,
|
|
1511
1511
|
class: "v-binder",
|
|
1512
1512
|
title: j.title,
|
|
@@ -1570,14 +1570,14 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1570
1570
|
]))), 256)),
|
|
1571
1571
|
t(a).length ? C("", !0) : (u(), b(t(se), { key: 0 }))
|
|
1572
1572
|
], 512), [
|
|
1573
|
-
[
|
|
1573
|
+
[Pe, i.value === "normal"]
|
|
1574
1574
|
]),
|
|
1575
1575
|
je(p(oo, {
|
|
1576
1576
|
context: n.context,
|
|
1577
1577
|
onCopy: w,
|
|
1578
1578
|
onPick: _
|
|
1579
1579
|
}, null, 8, ["context"]), [
|
|
1580
|
-
[
|
|
1580
|
+
[Pe, i.value === "viewer"]
|
|
1581
1581
|
])
|
|
1582
1582
|
]),
|
|
1583
1583
|
_: 1
|
|
@@ -1680,7 +1680,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1680
1680
|
}, o = () => {
|
|
1681
1681
|
a.value ? (l("submit", a.value), l("update:modelValue", !1)) : ne("请选择插槽");
|
|
1682
1682
|
};
|
|
1683
|
-
return (i, v) => (u(), b(t(
|
|
1683
|
+
return (i, v) => (u(), b(t(Ie), re({
|
|
1684
1684
|
class: "v-slots-picker",
|
|
1685
1685
|
title: "选择插槽",
|
|
1686
1686
|
width: "600px",
|
|
@@ -1822,7 +1822,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1822
1822
|
]),
|
|
1823
1823
|
_: 1
|
|
1824
1824
|
}, 8, ["data"]),
|
|
1825
|
-
s.value ? (u(), b(
|
|
1825
|
+
s.value ? (u(), b(Qs, {
|
|
1826
1826
|
key: 0,
|
|
1827
1827
|
modelValue: s.value,
|
|
1828
1828
|
"onUpdate:modelValue": d[0] || (d[0] = (_) => s.value = _),
|
|
@@ -1870,7 +1870,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1870
1870
|
return ne("请选择文件"), !1;
|
|
1871
1871
|
const E = (n.attachment?.accept || "").toLowerCase().split(",");
|
|
1872
1872
|
return E.length > 0 ? [].concat(g.value).every((T) => {
|
|
1873
|
-
const
|
|
1873
|
+
const P = T.name || T.url.split("?")[0], $ = P.substring(P.lastIndexOf(".")).toLowerCase();
|
|
1874
1874
|
return E.includes($);
|
|
1875
1875
|
}) ? !0 : (ne(`只支持 ${E.join(",")} 文件`), !1) : !0;
|
|
1876
1876
|
}, d = () => {
|
|
@@ -1889,7 +1889,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1889
1889
|
"model-value": n.modelValue,
|
|
1890
1890
|
"suffix-icon": t(Hl)
|
|
1891
1891
|
}, E.$attrs), null, 16, ["model-value", "suffix-icon"]),
|
|
1892
|
-
o.value ? (u(), b(t(
|
|
1892
|
+
o.value ? (u(), b(t(Ie), {
|
|
1893
1893
|
key: 0,
|
|
1894
1894
|
modelValue: o.value,
|
|
1895
1895
|
"onUpdate:modelValue": B[1] || (B[1] = (N) => o.value = N),
|
|
@@ -1972,11 +1972,11 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1972
1972
|
return ".json";
|
|
1973
1973
|
if (r.value?.fromType === "Plugin")
|
|
1974
1974
|
return ".js,.css,.json";
|
|
1975
|
-
}), f = S(() => r.value?.fromType === "Plugin"), d = async (
|
|
1976
|
-
const $ =
|
|
1975
|
+
}), f = S(() => r.value?.fromType === "Plugin"), d = async (P) => {
|
|
1976
|
+
const $ = P, D = l.project.value;
|
|
1977
1977
|
if (!D)
|
|
1978
1978
|
return !1;
|
|
1979
|
-
if (
|
|
1979
|
+
if (P.id)
|
|
1980
1980
|
if (!D.existBlockName($.name, [$.id]))
|
|
1981
1981
|
D.updateBlock($);
|
|
1982
1982
|
else
|
|
@@ -1988,22 +1988,22 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
1988
1988
|
return !0;
|
|
1989
1989
|
}, _ = () => {
|
|
1990
1990
|
r.value = g(), i.value = !0;
|
|
1991
|
-
}, w = (
|
|
1992
|
-
r.value = et(
|
|
1993
|
-
}, j = (
|
|
1994
|
-
l.project.value?.removeBlock(
|
|
1995
|
-
}, E = (
|
|
1996
|
-
r.value && (r.value.name = ln(
|
|
1997
|
-
}, B = async (
|
|
1998
|
-
(!
|
|
1999
|
-
}, N = async (
|
|
2000
|
-
const $ = rl(
|
|
1991
|
+
}, w = (P) => {
|
|
1992
|
+
r.value = et(P), i.value = !0;
|
|
1993
|
+
}, j = (P) => {
|
|
1994
|
+
l.project.value?.removeBlock(P.id);
|
|
1995
|
+
}, E = (P) => {
|
|
1996
|
+
r.value && (r.value.name = ln(P));
|
|
1997
|
+
}, B = async (P) => {
|
|
1998
|
+
(!P.fromType || P.fromType === "Schema") && l.project.value?.active(P);
|
|
1999
|
+
}, N = async (P) => {
|
|
2000
|
+
const $ = rl(P), D = await l.assets.getBlockMaterial($, P.name), X = l.skeleton?.getWidget("Designer")?.widgetRef?.designer;
|
|
2001
2001
|
X && D && X.setDragging(D);
|
|
2002
2002
|
}, T = () => {
|
|
2003
|
-
const
|
|
2004
|
-
|
|
2003
|
+
const P = l.skeleton?.getWidget("Designer")?.widgetRef?.designer;
|
|
2004
|
+
P && P.setDragging(null);
|
|
2005
2005
|
};
|
|
2006
|
-
return (
|
|
2006
|
+
return (P, $) => (u(), b(t(U), {
|
|
2007
2007
|
class: "v-blocks-widget",
|
|
2008
2008
|
title: "区块管理",
|
|
2009
2009
|
subtitle: m.value,
|
|
@@ -2053,7 +2053,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
2053
2053
|
"submit-method": d
|
|
2054
2054
|
}, {
|
|
2055
2055
|
default: h(() => [
|
|
2056
|
-
p(t(
|
|
2056
|
+
p(t(I), {
|
|
2057
2057
|
name: "fromType",
|
|
2058
2058
|
label: "类型",
|
|
2059
2059
|
required: "",
|
|
@@ -2061,7 +2061,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
2061
2061
|
disabled: !!r.value?.id,
|
|
2062
2062
|
options: a
|
|
2063
2063
|
}, null, 8, ["disabled"]),
|
|
2064
|
-
p(t(
|
|
2064
|
+
p(t(I), {
|
|
2065
2065
|
name: "name",
|
|
2066
2066
|
label: "名称",
|
|
2067
2067
|
required: "",
|
|
@@ -2072,18 +2072,18 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
2072
2072
|
},
|
|
2073
2073
|
onChange: E
|
|
2074
2074
|
}, null, 8, ["rules"]),
|
|
2075
|
-
p(t(
|
|
2075
|
+
p(t(I), {
|
|
2076
2076
|
name: "title",
|
|
2077
2077
|
label: "标题",
|
|
2078
2078
|
required: ""
|
|
2079
2079
|
}),
|
|
2080
|
-
r.value?.fromType === "Plugin" ? (u(), b(t(
|
|
2080
|
+
r.value?.fromType === "Plugin" ? (u(), b(t(I), {
|
|
2081
2081
|
key: 0,
|
|
2082
2082
|
name: "library",
|
|
2083
2083
|
label: "插件名称",
|
|
2084
2084
|
required: ""
|
|
2085
2085
|
})) : C("", !0),
|
|
2086
|
-
["Plugin", "UrlSchema"].includes(r.value?.fromType || "") ? (u(), b(t(
|
|
2086
|
+
["Plugin", "UrlSchema"].includes(r.value?.fromType || "") ? (u(), b(t(I), {
|
|
2087
2087
|
key: 1,
|
|
2088
2088
|
name: "urls",
|
|
2089
2089
|
label: "资源文件",
|
|
@@ -2219,18 +2219,18 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
2219
2219
|
name: "OutlineWidget",
|
|
2220
2220
|
__name: "index",
|
|
2221
2221
|
setup(c) {
|
|
2222
|
-
const { engine: e, designer: n, selected: l } = ye(), { current: a } = ie(), s = k([]), r = (
|
|
2222
|
+
const { engine: e, designer: n, selected: l } = ye(), { current: a } = ie(), s = k([]), r = (P, $) => {
|
|
2223
2223
|
if ($ === "slot")
|
|
2224
2224
|
return [];
|
|
2225
|
-
if (ee(
|
|
2226
|
-
return
|
|
2227
|
-
const D =
|
|
2228
|
-
return D && (D.locked || D.invisible) ? [] : a.value?.locked ? [] :
|
|
2229
|
-
}, o = (
|
|
2225
|
+
if (ee(P))
|
|
2226
|
+
return P.locked ? ["unlock"] : ["lock"];
|
|
2227
|
+
const D = P.parent;
|
|
2228
|
+
return D && (D.locked || D.invisible) ? [] : a.value?.locked ? [] : P.locked ? ["unlock"] : P.invisible ? ["visible"] : ["lock", "invisible", "copy", "remove"];
|
|
2229
|
+
}, o = (P, $) => {
|
|
2230
2230
|
const D = {};
|
|
2231
|
-
if (!
|
|
2232
|
-
return i(
|
|
2233
|
-
for (const M of
|
|
2231
|
+
if (!P.some((M) => M.slot))
|
|
2232
|
+
return i(P);
|
|
2233
|
+
for (const M of P) {
|
|
2234
2234
|
const L = M.slot?.name || "default";
|
|
2235
2235
|
D[L] || (D[L] = []), D[L].push(M);
|
|
2236
2236
|
}
|
|
@@ -2245,9 +2245,9 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
2245
2245
|
children: i(L)
|
|
2246
2246
|
});
|
|
2247
2247
|
return pe;
|
|
2248
|
-
}, i = (
|
|
2248
|
+
}, i = (P) => {
|
|
2249
2249
|
const $ = [];
|
|
2250
|
-
return
|
|
2250
|
+
return P.forEach((D) => {
|
|
2251
2251
|
const X = {
|
|
2252
2252
|
id: D.id,
|
|
2253
2253
|
label: D.name,
|
|
@@ -2260,25 +2260,25 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
2260
2260
|
}, v = () => {
|
|
2261
2261
|
if (!a.value)
|
|
2262
2262
|
return [];
|
|
2263
|
-
const { id:
|
|
2263
|
+
const { id: P, name: $, nodes: D } = a.value;
|
|
2264
2264
|
return [
|
|
2265
2265
|
{
|
|
2266
|
-
id:
|
|
2266
|
+
id: P,
|
|
2267
2267
|
label: $,
|
|
2268
|
-
type:
|
|
2268
|
+
type: P,
|
|
2269
2269
|
model: a.value,
|
|
2270
2270
|
children: i(D)
|
|
2271
2271
|
}
|
|
2272
2272
|
];
|
|
2273
2273
|
}, m = async () => {
|
|
2274
2274
|
s.value = v(), l.value?.model && (await _e(), n.value?.setSelected(l.value.model));
|
|
2275
|
-
}, g = S(() => l.value?.model.id), y = (
|
|
2276
|
-
const $ =
|
|
2275
|
+
}, g = S(() => l.value?.model.id), y = (P) => {
|
|
2276
|
+
const $ = P.data;
|
|
2277
2277
|
if ($.type === "slot" || ee($.model) || $.model.locked || $.model.name === "template")
|
|
2278
2278
|
return !1;
|
|
2279
2279
|
const D = e.assets.componentMap.get($.model.name);
|
|
2280
2280
|
return D ? (n.value?.setDragging(D), !0) : !1;
|
|
2281
|
-
}, f = async (
|
|
2281
|
+
}, f = async (P, $, D) => {
|
|
2282
2282
|
const X = $.data, M = {
|
|
2283
2283
|
prev: "top",
|
|
2284
2284
|
next: "bottom",
|
|
@@ -2292,15 +2292,15 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
2292
2292
|
L = !!await n.value?.allowDrop(O, M), n.value?.setDropping(L ? O : null, "inner");
|
|
2293
2293
|
}
|
|
2294
2294
|
return L;
|
|
2295
|
-
}, d = (
|
|
2296
|
-
const $ =
|
|
2297
|
-
if (!$ || $.invisible ||
|
|
2295
|
+
}, d = (P) => {
|
|
2296
|
+
const $ = P?.model;
|
|
2297
|
+
if (!$ || $.invisible || P.type === "slot") {
|
|
2298
2298
|
n.value?.setSelected(null), n.value?.setHover(null);
|
|
2299
2299
|
return;
|
|
2300
2300
|
}
|
|
2301
2301
|
n.value?.setSelected($), n.value?.setHover(null);
|
|
2302
|
-
}, _ = async (
|
|
2303
|
-
const X =
|
|
2302
|
+
}, _ = async (P, $, D) => {
|
|
2303
|
+
const X = P.data, pe = $.data;
|
|
2304
2304
|
if (ee(pe.model)) {
|
|
2305
2305
|
const Fe = X.model;
|
|
2306
2306
|
delete Fe.slot, a.value?.move(Fe, void 0, "inner"), n.value?.setDropping(null), n.value?.setDragging(null);
|
|
@@ -2325,26 +2325,26 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
2325
2325
|
} else
|
|
2326
2326
|
m();
|
|
2327
2327
|
n.value?.setDropping(null), n.value?.setDragging(null), e.simulator.refresh();
|
|
2328
|
-
}, w = (
|
|
2329
|
-
if (
|
|
2328
|
+
}, w = (P) => {
|
|
2329
|
+
if (P.type === "slot") {
|
|
2330
2330
|
n.value?.setHover(null);
|
|
2331
2331
|
return;
|
|
2332
2332
|
}
|
|
2333
|
-
ee(
|
|
2333
|
+
ee(P.model) ? n.value?.setHover(P.model) : (n.value?.setHover(P.model), P.model.invisible && n.value?.setHover(null), P.model.name === "slot" && n.value?.setHover(null));
|
|
2334
2334
|
}, j = () => {
|
|
2335
2335
|
n.value?.setHover(null);
|
|
2336
|
-
}, E = (
|
|
2337
|
-
const $ =
|
|
2336
|
+
}, E = (P) => {
|
|
2337
|
+
const $ = P.data;
|
|
2338
2338
|
$.dragging = !0;
|
|
2339
2339
|
const D = e.assets.componentMap.get($.model.name);
|
|
2340
2340
|
D && n.value?.setDragging(D);
|
|
2341
|
-
}, B = async (
|
|
2342
|
-
const $ =
|
|
2341
|
+
}, B = async (P) => {
|
|
2342
|
+
const $ = P.data;
|
|
2343
2343
|
$.dragging = !1;
|
|
2344
|
-
}, N = (
|
|
2345
|
-
|
|
2346
|
-
}, T = (
|
|
2347
|
-
const { name: $, modelValue: D } =
|
|
2344
|
+
}, N = (P, $) => {
|
|
2345
|
+
P && ((P.id === $.id || !ee(P) && $.isChild(P)) && n.value?.setSelected(null), n.value?.setHover(null));
|
|
2346
|
+
}, T = (P) => {
|
|
2347
|
+
const { name: $, modelValue: D } = P, X = l.value?.model;
|
|
2348
2348
|
switch ($) {
|
|
2349
2349
|
case "lock":
|
|
2350
2350
|
N(X, D), D.lock();
|
|
@@ -2367,7 +2367,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
2367
2367
|
break;
|
|
2368
2368
|
}
|
|
2369
2369
|
};
|
|
2370
|
-
return G(e.changed, m, { immediate: !0 }), (
|
|
2370
|
+
return G(e.changed, m, { immediate: !0 }), (P, $) => (u(), b(t(U), {
|
|
2371
2371
|
class: "v-outline-widget",
|
|
2372
2372
|
title: "大纲树"
|
|
2373
2373
|
}, {
|
|
@@ -2462,25 +2462,25 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
2462
2462
|
value: n.toLowerCase()
|
|
2463
2463
|
}));
|
|
2464
2464
|
return (n, l) => (u(), V("div", null, [
|
|
2465
|
-
p(t(
|
|
2465
|
+
p(t(I), {
|
|
2466
2466
|
name: "method",
|
|
2467
2467
|
label: "请求类型",
|
|
2468
2468
|
required: "",
|
|
2469
2469
|
editor: "radio",
|
|
2470
2470
|
options: t(e)
|
|
2471
2471
|
}, null, 8, ["options"]),
|
|
2472
|
-
p(t(
|
|
2472
|
+
p(t(I), {
|
|
2473
2473
|
name: "name",
|
|
2474
2474
|
label: "接口名称",
|
|
2475
2475
|
required: "",
|
|
2476
2476
|
rules: { pattern: t(Ce), message: "名称格式不正确" }
|
|
2477
2477
|
}, null, 8, ["rules"]),
|
|
2478
|
-
p(t(
|
|
2478
|
+
p(t(I), {
|
|
2479
2479
|
name: "label",
|
|
2480
2480
|
label: "备注说明",
|
|
2481
2481
|
required: ""
|
|
2482
2482
|
}),
|
|
2483
|
-
p(t(
|
|
2483
|
+
p(t(I), {
|
|
2484
2484
|
name: "url",
|
|
2485
2485
|
label: "接口URL",
|
|
2486
2486
|
required: ""
|
|
@@ -2519,31 +2519,31 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
2519
2519
|
return (l, a) => (u(), V("div", null, [
|
|
2520
2520
|
p(t(W), { justify: "space-between" }, {
|
|
2521
2521
|
default: h(() => [
|
|
2522
|
-
p(t(
|
|
2522
|
+
p(t(I), {
|
|
2523
2523
|
name: "settings.loading",
|
|
2524
2524
|
size: "small",
|
|
2525
2525
|
label: "加载提示",
|
|
2526
2526
|
editor: "switch"
|
|
2527
2527
|
}),
|
|
2528
|
-
p(t(
|
|
2528
|
+
p(t(I), {
|
|
2529
2529
|
size: "small",
|
|
2530
2530
|
name: "settings.failMessage",
|
|
2531
2531
|
label: "失败提示",
|
|
2532
2532
|
editor: "switch"
|
|
2533
2533
|
}),
|
|
2534
|
-
p(t(
|
|
2534
|
+
p(t(I), {
|
|
2535
2535
|
size: "small",
|
|
2536
2536
|
name: "settings.validSuccess",
|
|
2537
2537
|
label: "校验成功",
|
|
2538
2538
|
editor: "switch"
|
|
2539
2539
|
}),
|
|
2540
|
-
p(t(
|
|
2540
|
+
p(t(I), {
|
|
2541
2541
|
size: "small",
|
|
2542
2542
|
name: "settings.originResponse",
|
|
2543
2543
|
label: "原始响应",
|
|
2544
2544
|
editor: "switch"
|
|
2545
2545
|
}),
|
|
2546
|
-
p(t(
|
|
2546
|
+
p(t(I), {
|
|
2547
2547
|
size: "small",
|
|
2548
2548
|
name: "settings.injectHeaders",
|
|
2549
2549
|
label: "注入请求头",
|
|
@@ -2552,7 +2552,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
2552
2552
|
]),
|
|
2553
2553
|
_: 1
|
|
2554
2554
|
}),
|
|
2555
|
-
p(t(
|
|
2555
|
+
p(t(I), {
|
|
2556
2556
|
size: "small",
|
|
2557
2557
|
name: "settings.type",
|
|
2558
2558
|
label: "发送数据类型",
|
|
@@ -2560,7 +2560,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
2560
2560
|
options: e,
|
|
2561
2561
|
props: { button: !0 }
|
|
2562
2562
|
}),
|
|
2563
|
-
p(t(
|
|
2563
|
+
p(t(I), {
|
|
2564
2564
|
size: "small",
|
|
2565
2565
|
name: "headers.value",
|
|
2566
2566
|
label: "请求头配置",
|
|
@@ -2582,23 +2582,23 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
2582
2582
|
__name: "jsonp-options",
|
|
2583
2583
|
setup(c) {
|
|
2584
2584
|
return (e, n) => (u(), V("div", null, [
|
|
2585
|
-
p(t(
|
|
2585
|
+
p(t(I), {
|
|
2586
2586
|
name: "jsonpOptions.jsonpCallback",
|
|
2587
2587
|
size: "small",
|
|
2588
2588
|
label: "jsonpCallback"
|
|
2589
2589
|
}),
|
|
2590
|
-
p(t(
|
|
2590
|
+
p(t(I), {
|
|
2591
2591
|
name: "jsonpOptions.jsonpCallbackFunction",
|
|
2592
2592
|
size: "small",
|
|
2593
2593
|
label: "jsonpCallbackFunction"
|
|
2594
2594
|
}),
|
|
2595
|
-
p(t(
|
|
2595
|
+
p(t(I), {
|
|
2596
2596
|
name: "jsonpOptions.timeout",
|
|
2597
2597
|
size: "small",
|
|
2598
2598
|
label: "timeout",
|
|
2599
2599
|
editor: "number"
|
|
2600
2600
|
}),
|
|
2601
|
-
p(t(
|
|
2601
|
+
p(t(I), {
|
|
2602
2602
|
name: "jsonpOptions.crossorigin",
|
|
2603
2603
|
size: "small",
|
|
2604
2604
|
label: "crossorigin",
|
|
@@ -2620,7 +2620,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
2620
2620
|
closable: !1,
|
|
2621
2621
|
style: { "margin-bottom": "20px" }
|
|
2622
2622
|
})),
|
|
2623
|
-
p(t(
|
|
2623
|
+
p(t(I), {
|
|
2624
2624
|
size: "small",
|
|
2625
2625
|
name: "mock",
|
|
2626
2626
|
label: "开启模拟数据",
|
|
@@ -2639,7 +2639,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
2639
2639
|
]),
|
|
2640
2640
|
_: 1
|
|
2641
2641
|
}),
|
|
2642
|
-
p(t(
|
|
2642
|
+
p(t(I), {
|
|
2643
2643
|
size: "small",
|
|
2644
2644
|
name: "mockTemplate.value",
|
|
2645
2645
|
label: " "
|
|
@@ -2717,7 +2717,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
2717
2717
|
i.value = JSON.stringify(E, null, 2), o.value = !0;
|
|
2718
2718
|
}
|
|
2719
2719
|
};
|
|
2720
|
-
return (_, w) => (u(), b(t(
|
|
2720
|
+
return (_, w) => (u(), b(t(Ie), {
|
|
2721
2721
|
ref_key: "dialogRef",
|
|
2722
2722
|
ref: a,
|
|
2723
2723
|
title: n.value,
|
|
@@ -2800,7 +2800,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
2800
2800
|
}, {
|
|
2801
2801
|
default: h(() => [
|
|
2802
2802
|
je(p(yo, null, null, 512), [
|
|
2803
|
-
[
|
|
2803
|
+
[Pe, l.value === "base"]
|
|
2804
2804
|
]),
|
|
2805
2805
|
l.value === "settings" ? (u(), V("div", xo, [
|
|
2806
2806
|
m.value ? (u(), b(wo, { key: 0 })) : (u(), b(_o, { key: 1 }))
|
|
@@ -2977,23 +2977,23 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
2977
2977
|
}
|
|
2978
2978
|
}, {
|
|
2979
2979
|
default: h(() => [
|
|
2980
|
-
p(t(
|
|
2980
|
+
p(t(I), {
|
|
2981
2981
|
name: "package",
|
|
2982
2982
|
label: "包名",
|
|
2983
2983
|
required: "",
|
|
2984
2984
|
disabled: !!s.value
|
|
2985
2985
|
}, null, 8, ["disabled"]),
|
|
2986
|
-
p(t(
|
|
2986
|
+
p(t(I), {
|
|
2987
2987
|
name: "version",
|
|
2988
2988
|
label: "版本",
|
|
2989
2989
|
required: ""
|
|
2990
2990
|
}),
|
|
2991
|
-
p(t(
|
|
2991
|
+
p(t(I), {
|
|
2992
2992
|
name: "library",
|
|
2993
2993
|
label: "导出名称",
|
|
2994
2994
|
required: ""
|
|
2995
2995
|
}),
|
|
2996
|
-
p(t(
|
|
2996
|
+
p(t(I), {
|
|
2997
2997
|
name: "urls",
|
|
2998
2998
|
label: "资源文件",
|
|
2999
2999
|
editor: "textarea",
|
|
@@ -3001,11 +3001,11 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
3001
3001
|
tip: "多个资源可以换行输入",
|
|
3002
3002
|
required: ""
|
|
3003
3003
|
}),
|
|
3004
|
-
p(t(
|
|
3004
|
+
p(t(I), {
|
|
3005
3005
|
name: "assetsUrl",
|
|
3006
3006
|
label: "物料URL"
|
|
3007
3007
|
}),
|
|
3008
|
-
p(t(
|
|
3008
|
+
p(t(I), {
|
|
3009
3009
|
name: "assetsLibrary",
|
|
3010
3010
|
label: "物料名称"
|
|
3011
3011
|
})
|
|
@@ -3046,12 +3046,12 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
3046
3046
|
},
|
|
3047
3047
|
{
|
|
3048
3048
|
name: "prev",
|
|
3049
|
-
icon:
|
|
3049
|
+
icon: Ql,
|
|
3050
3050
|
title: "向前移动"
|
|
3051
3051
|
},
|
|
3052
3052
|
{
|
|
3053
3053
|
name: "next",
|
|
3054
|
-
icon:
|
|
3054
|
+
icon: Kl,
|
|
3055
3055
|
title: "向后移动"
|
|
3056
3056
|
},
|
|
3057
3057
|
{
|
|
@@ -3105,36 +3105,36 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
3105
3105
|
i,
|
|
3106
3106
|
y
|
|
3107
3107
|
), j = (N) => {
|
|
3108
|
-
const T = N.type,
|
|
3108
|
+
const T = N.type, P = N.model;
|
|
3109
3109
|
if (v.value)
|
|
3110
3110
|
switch (T) {
|
|
3111
3111
|
case "remove":
|
|
3112
|
-
v.value.removeNode(
|
|
3112
|
+
v.value.removeNode(P), f.value?.setSelected(null);
|
|
3113
3113
|
break;
|
|
3114
3114
|
case "copy":
|
|
3115
|
-
const $ = v.value.cloneNode(
|
|
3115
|
+
const $ = v.value.cloneNode(P);
|
|
3116
3116
|
f.value?.setSelected($);
|
|
3117
3117
|
break;
|
|
3118
3118
|
case "prev":
|
|
3119
|
-
v.value.movePrev(
|
|
3119
|
+
v.value.movePrev(P), f.value?.setSelected(P);
|
|
3120
3120
|
break;
|
|
3121
3121
|
case "next":
|
|
3122
|
-
v.value.moveNext(
|
|
3122
|
+
v.value.moveNext(P), f.value?.setSelected(P);
|
|
3123
3123
|
break;
|
|
3124
3124
|
case "hover":
|
|
3125
|
-
f.value?.setHover(
|
|
3125
|
+
f.value?.setHover(P);
|
|
3126
3126
|
break;
|
|
3127
3127
|
case "selected":
|
|
3128
|
-
f.value?.setSelected(
|
|
3128
|
+
f.value?.setSelected(P);
|
|
3129
3129
|
break;
|
|
3130
3130
|
}
|
|
3131
3131
|
}, E = (N) => {
|
|
3132
|
-
if (N) {
|
|
3132
|
+
if (N && f.value) {
|
|
3133
3133
|
const T = o.assets.componentMap.get(N.name);
|
|
3134
|
-
T && f.value
|
|
3134
|
+
T && f.value.setDragging(T), f.value.setDraggingNode(N);
|
|
3135
3135
|
}
|
|
3136
3136
|
}, B = () => {
|
|
3137
|
-
f.value
|
|
3137
|
+
f.value && (f.value.setDraggingNode(null), f.value.setDragging(null));
|
|
3138
3138
|
};
|
|
3139
3139
|
return e({
|
|
3140
3140
|
designer: f,
|
|
@@ -3265,13 +3265,13 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
3265
3265
|
}, {
|
|
3266
3266
|
default: h(() => [
|
|
3267
3267
|
we(d.$slots, "fields", Jt(Wt({ model: s.value, isEdit: r.value, nameLabel: d.nameLabel, valueLabel: d.valueLabel })), () => [
|
|
3268
|
-
p(t(
|
|
3268
|
+
p(t(I), {
|
|
3269
3269
|
name: "name",
|
|
3270
3270
|
label: d.nameLabel,
|
|
3271
3271
|
required: "",
|
|
3272
3272
|
disabled: r.value
|
|
3273
3273
|
}, null, 8, ["label", "disabled"]),
|
|
3274
|
-
p(t(
|
|
3274
|
+
p(t(I), {
|
|
3275
3275
|
ref_key: "codeFieldRef",
|
|
3276
3276
|
ref: l,
|
|
3277
3277
|
name: "value",
|
|
@@ -3299,7 +3299,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
3299
3299
|
_: 3
|
|
3300
3300
|
}, 8, ["title"]));
|
|
3301
3301
|
}
|
|
3302
|
-
}),
|
|
3302
|
+
}), Po = /* @__PURE__ */ A({
|
|
3303
3303
|
__name: "state",
|
|
3304
3304
|
props: {
|
|
3305
3305
|
context: {},
|
|
@@ -3331,7 +3331,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
3331
3331
|
submit: s
|
|
3332
3332
|
}, null, 8, ["current", "context", "list"]));
|
|
3333
3333
|
}
|
|
3334
|
-
}),
|
|
3334
|
+
}), Io = /* @__PURE__ */ A({
|
|
3335
3335
|
__name: "computed",
|
|
3336
3336
|
props: {
|
|
3337
3337
|
context: {},
|
|
@@ -3430,7 +3430,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
3430
3430
|
submit: r
|
|
3431
3431
|
}, {
|
|
3432
3432
|
fields: h(({ model: v, nameLabel: m, isEdit: g, valueLabel: y }) => [
|
|
3433
|
-
p(t(
|
|
3433
|
+
p(t(I), {
|
|
3434
3434
|
name: "name",
|
|
3435
3435
|
label: m,
|
|
3436
3436
|
editor: "select",
|
|
@@ -3438,7 +3438,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
3438
3438
|
required: "",
|
|
3439
3439
|
disabled: g
|
|
3440
3440
|
}, null, 8, ["label", "options", "disabled"]),
|
|
3441
|
-
p(t(
|
|
3441
|
+
p(t(I), {
|
|
3442
3442
|
name: "value",
|
|
3443
3443
|
label: y,
|
|
3444
3444
|
required: ""
|
|
@@ -3505,7 +3505,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
3505
3505
|
grow: ""
|
|
3506
3506
|
}, {
|
|
3507
3507
|
fields: h(({ model: v, nameLabel: m, valueLabel: g }) => [
|
|
3508
|
-
p(t(
|
|
3508
|
+
p(t(I), {
|
|
3509
3509
|
name: "source",
|
|
3510
3510
|
label: m,
|
|
3511
3511
|
required: ""
|
|
@@ -3520,21 +3520,21 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
3520
3520
|
]),
|
|
3521
3521
|
_: 2
|
|
3522
3522
|
}, 1032, ["label"]),
|
|
3523
|
-
p(t(
|
|
3523
|
+
p(t(I), {
|
|
3524
3524
|
name: "deep",
|
|
3525
3525
|
modelValue: v.deep,
|
|
3526
3526
|
"onUpdate:modelValue": (y) => v.deep = y,
|
|
3527
3527
|
label: "深度监听",
|
|
3528
3528
|
editor: "switch"
|
|
3529
3529
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
3530
|
-
p(t(
|
|
3530
|
+
p(t(I), {
|
|
3531
3531
|
name: "immediate",
|
|
3532
3532
|
modelValue: v.immediate,
|
|
3533
3533
|
"onUpdate:modelValue": (y) => v.immediate = y,
|
|
3534
3534
|
label: "立即执行",
|
|
3535
3535
|
editor: "switch"
|
|
3536
3536
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
3537
|
-
p(t(
|
|
3537
|
+
p(t(I), {
|
|
3538
3538
|
name: "handler",
|
|
3539
3539
|
label: g,
|
|
3540
3540
|
required: ""
|
|
@@ -3563,11 +3563,11 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
3563
3563
|
fit: ""
|
|
3564
3564
|
}, {
|
|
3565
3565
|
default: h(() => [
|
|
3566
|
-
p(
|
|
3566
|
+
p(Po, {
|
|
3567
3567
|
current: t(e),
|
|
3568
3568
|
context: t(n)
|
|
3569
3569
|
}, null, 8, ["current", "context"]),
|
|
3570
|
-
p(
|
|
3570
|
+
p(Io, {
|
|
3571
3571
|
current: t(e),
|
|
3572
3572
|
context: t(n)
|
|
3573
3573
|
}, null, 8, ["current", "context"]),
|
|
@@ -3619,7 +3619,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
3619
3619
|
}, ["prevent", "stop"]), ["enter"]))
|
|
3620
3620
|
}, {
|
|
3621
3621
|
default: h(() => [
|
|
3622
|
-
(u(!0), V(R, null, F(n.items, (i) => (u(), b(t(J), re(i, {
|
|
3622
|
+
(u(!0), V(R, null, F(n.items, (i) => (u(), b(t(J), re({ ref_for: !0 }, i, {
|
|
3623
3623
|
key: `${i.name}_${n.node.id}`,
|
|
3624
3624
|
current: n.current,
|
|
3625
3625
|
context: n.context,
|
|
@@ -3707,7 +3707,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
3707
3707
|
model: f.value
|
|
3708
3708
|
}, {
|
|
3709
3709
|
default: h(() => [
|
|
3710
|
-
p(t(
|
|
3710
|
+
p(t(I), {
|
|
3711
3711
|
name: "name",
|
|
3712
3712
|
label: "属性名称",
|
|
3713
3713
|
required: "",
|
|
@@ -3747,7 +3747,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
3747
3747
|
onPick: a
|
|
3748
3748
|
}, {
|
|
3749
3749
|
default: h(() => [
|
|
3750
|
-
p(t(
|
|
3750
|
+
p(t(I), {
|
|
3751
3751
|
name: "value",
|
|
3752
3752
|
label: "绑定内容 [ JSExpression ]",
|
|
3753
3753
|
required: ""
|
|
@@ -3801,13 +3801,13 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
3801
3801
|
onPick: r
|
|
3802
3802
|
}, {
|
|
3803
3803
|
default: h(() => [
|
|
3804
|
-
p(t(
|
|
3804
|
+
p(t(I), {
|
|
3805
3805
|
name: "modifiers",
|
|
3806
3806
|
label: "事件修饰符",
|
|
3807
3807
|
editor: "checkbox",
|
|
3808
3808
|
options: t(s)
|
|
3809
3809
|
}, null, 8, ["options"]),
|
|
3810
|
-
p(t(
|
|
3810
|
+
p(t(I), {
|
|
3811
3811
|
name: "handler.value",
|
|
3812
3812
|
label: "事件处理函数 [ JSFunction ]",
|
|
3813
3813
|
required: ""
|
|
@@ -3987,7 +3987,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
3987
3987
|
onValueChange: v,
|
|
3988
3988
|
onForChange: m,
|
|
3989
3989
|
onModelChange: g
|
|
3990
|
-
} =
|
|
3990
|
+
} = Ps(l), y = (f) => f.arg ? typeof f.arg == "string" ? f.arg : Je(f.arg, {}) : "modelValue";
|
|
3991
3991
|
return (f, d) => (u(), b(t(W), {
|
|
3992
3992
|
class: "v-directives-widget",
|
|
3993
3993
|
direction: "column",
|
|
@@ -4181,7 +4181,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
4181
4181
|
"submit-method": s
|
|
4182
4182
|
}, {
|
|
4183
4183
|
default: h(() => [
|
|
4184
|
-
p(t(
|
|
4184
|
+
p(t(I), {
|
|
4185
4185
|
name: "name",
|
|
4186
4186
|
label: "属性名称",
|
|
4187
4187
|
required: "",
|
|
@@ -4192,7 +4192,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
4192
4192
|
pattern: t(Ce)
|
|
4193
4193
|
}
|
|
4194
4194
|
}, null, 8, ["disabled", "rules"]),
|
|
4195
|
-
p(t(
|
|
4195
|
+
p(t(I), {
|
|
4196
4196
|
name: "type",
|
|
4197
4197
|
label: "数据类型",
|
|
4198
4198
|
editor: "checkbox",
|
|
@@ -4200,12 +4200,12 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
4200
4200
|
options: t(a),
|
|
4201
4201
|
required: ""
|
|
4202
4202
|
}, null, 8, ["options"]),
|
|
4203
|
-
p(t(
|
|
4203
|
+
p(t(I), {
|
|
4204
4204
|
name: "required",
|
|
4205
4205
|
label: "必须",
|
|
4206
4206
|
editor: "switch"
|
|
4207
4207
|
}),
|
|
4208
|
-
p(t(
|
|
4208
|
+
p(t(I), {
|
|
4209
4209
|
name: "default.value",
|
|
4210
4210
|
label: "默认值",
|
|
4211
4211
|
editor: "none"
|
|
@@ -4245,7 +4245,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
4245
4245
|
"submit-method": a
|
|
4246
4246
|
}, {
|
|
4247
4247
|
default: h(() => [
|
|
4248
|
-
p(t(
|
|
4248
|
+
p(t(I), {
|
|
4249
4249
|
name: "name",
|
|
4250
4250
|
label: "事件名称",
|
|
4251
4251
|
required: "",
|
|
@@ -4280,7 +4280,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
4280
4280
|
"submit-method": a
|
|
4281
4281
|
}, {
|
|
4282
4282
|
default: h(() => [
|
|
4283
|
-
p(t(
|
|
4283
|
+
p(t(I), {
|
|
4284
4284
|
name: "name",
|
|
4285
4285
|
label: "插槽名称",
|
|
4286
4286
|
disabled: !!e.item,
|
|
@@ -4326,7 +4326,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
4326
4326
|
"submit-method": a
|
|
4327
4327
|
}, {
|
|
4328
4328
|
default: h(() => [
|
|
4329
|
-
p(t(
|
|
4329
|
+
p(t(I), {
|
|
4330
4330
|
name: "name",
|
|
4331
4331
|
label: "注入名称",
|
|
4332
4332
|
required: "",
|
|
@@ -4337,12 +4337,12 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
4337
4337
|
pattern: t(Ce)
|
|
4338
4338
|
}
|
|
4339
4339
|
}, null, 8, ["disabled", "rules"]),
|
|
4340
|
-
p(t(
|
|
4340
|
+
p(t(I), {
|
|
4341
4341
|
name: "from",
|
|
4342
4342
|
label: "来源名称",
|
|
4343
4343
|
tip: "默认和注入名称一致"
|
|
4344
4344
|
}),
|
|
4345
|
-
p(t(
|
|
4345
|
+
p(t(I), {
|
|
4346
4346
|
name: "default.value",
|
|
4347
4347
|
label: "默认值",
|
|
4348
4348
|
editor: "none"
|
|
@@ -4381,11 +4381,11 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
4381
4381
|
L === "edit" && B(O), L === "remove" && e.value?.removeEmit(O);
|
|
4382
4382
|
}, T = () => {
|
|
4383
4383
|
y.value = void 0, g.value = !0;
|
|
4384
|
-
},
|
|
4384
|
+
}, P = (M) => {
|
|
4385
4385
|
y.value = M, g.value = !0;
|
|
4386
4386
|
}, $ = (M) => {
|
|
4387
4387
|
const { name: L, modelValue: O } = M;
|
|
4388
|
-
L === "edit" &&
|
|
4388
|
+
L === "edit" && P(O), L === "remove" && e.value?.removeSlot(O);
|
|
4389
4389
|
}, D = () => {
|
|
4390
4390
|
d.value = void 0, f.value = !0;
|
|
4391
4391
|
}, X = (M) => {
|
|
@@ -4479,7 +4479,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
4479
4479
|
title: O,
|
|
4480
4480
|
border: "",
|
|
4481
4481
|
actions: ["remove"],
|
|
4482
|
-
onClick: ($e) =>
|
|
4482
|
+
onClick: ($e) => P(O),
|
|
4483
4483
|
onAction: $
|
|
4484
4484
|
}, null, 8, ["model-value", "title", "onClick"]))), 256)),
|
|
4485
4485
|
s.value.length ? C("", !0) : (u(), b(t(se), {
|
|
@@ -4543,7 +4543,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
4543
4543
|
item: {}
|
|
4544
4544
|
},
|
|
4545
4545
|
setup(c) {
|
|
4546
|
-
const e = c, { apis: n } =
|
|
4546
|
+
const e = c, { apis: n } = Is(), a = k(
|
|
4547
4547
|
Object.assign({
|
|
4548
4548
|
type: "api",
|
|
4549
4549
|
ref: "",
|
|
@@ -4638,7 +4638,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
4638
4638
|
}, 8, ["loading"])
|
|
4639
4639
|
]),
|
|
4640
4640
|
default: h(() => [
|
|
4641
|
-
p(t(
|
|
4641
|
+
p(t(I), {
|
|
4642
4642
|
name: "ref",
|
|
4643
4643
|
label: "引用API",
|
|
4644
4644
|
editor: "select",
|
|
@@ -4654,7 +4654,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
4654
4654
|
]),
|
|
4655
4655
|
_: 1
|
|
4656
4656
|
}, 8, ["disabled", "options"]),
|
|
4657
|
-
p(t(
|
|
4657
|
+
p(t(I), {
|
|
4658
4658
|
name: "name",
|
|
4659
4659
|
label: "调用名称",
|
|
4660
4660
|
required: "",
|
|
@@ -4665,12 +4665,12 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
4665
4665
|
pattern: t(Ce)
|
|
4666
4666
|
}
|
|
4667
4667
|
}, null, 8, ["disabled", "rules"]),
|
|
4668
|
-
p(t(
|
|
4668
|
+
p(t(I), {
|
|
4669
4669
|
name: "label",
|
|
4670
4670
|
label: "备注说明",
|
|
4671
4671
|
required: ""
|
|
4672
4672
|
}),
|
|
4673
|
-
p(t(
|
|
4673
|
+
p(t(I), {
|
|
4674
4674
|
name: "transform.value",
|
|
4675
4675
|
label: "转换函数",
|
|
4676
4676
|
editor: "none"
|
|
@@ -4685,7 +4685,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
4685
4685
|
]),
|
|
4686
4686
|
_: 1
|
|
4687
4687
|
}),
|
|
4688
|
-
p(t(
|
|
4688
|
+
p(t(I), {
|
|
4689
4689
|
name: "test.value",
|
|
4690
4690
|
label: "测试用例",
|
|
4691
4691
|
editor: "none"
|
|
@@ -4781,7 +4781,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
4781
4781
|
_: 1
|
|
4782
4782
|
}));
|
|
4783
4783
|
}
|
|
4784
|
-
}),
|
|
4784
|
+
}), Qo = /* @__PURE__ */ A({
|
|
4785
4785
|
__name: "layout",
|
|
4786
4786
|
props: {
|
|
4787
4787
|
styleJson: {},
|
|
@@ -4978,7 +4978,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
4978
4978
|
_: 1
|
|
4979
4979
|
}));
|
|
4980
4980
|
}
|
|
4981
|
-
}),
|
|
4981
|
+
}), Ko = /* @__PURE__ */ A({
|
|
4982
4982
|
name: "StyleWidget",
|
|
4983
4983
|
__name: "JsonMode",
|
|
4984
4984
|
setup(c) {
|
|
@@ -5158,9 +5158,9 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
5158
5158
|
"font-weight": "bold",
|
|
5159
5159
|
"font-size": "8",
|
|
5160
5160
|
"dominant-baseline": "hanging"
|
|
5161
|
-
}, " margin ", -1),
|
|
5161
|
+
}, " margin ", -1), Pr = [
|
|
5162
5162
|
Dr
|
|
5163
|
-
],
|
|
5163
|
+
], K = 36, Y = 24, Ir = /* @__PURE__ */ A({
|
|
5164
5164
|
__name: "spacing",
|
|
5165
5165
|
props: {
|
|
5166
5166
|
styleJson: {},
|
|
@@ -5202,9 +5202,9 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
5202
5202
|
d: `
|
|
5203
5203
|
m1,1
|
|
5204
5204
|
h${t(a) - 1}
|
|
5205
|
-
l-${
|
|
5206
|
-
h-${t(a) - 2 *
|
|
5207
|
-
l-${
|
|
5205
|
+
l-${K},${Y}
|
|
5206
|
+
h-${t(a) - 2 * K}
|
|
5207
|
+
l-${K},-${Y}z`,
|
|
5208
5208
|
"data-automation-id": "margin-top-button",
|
|
5209
5209
|
"aria-label": "Margin top button",
|
|
5210
5210
|
class: "tb-path-color",
|
|
@@ -5220,9 +5220,9 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
5220
5220
|
d: `
|
|
5221
5221
|
m${t(a) - 1},1
|
|
5222
5222
|
v${t(s) - 1}
|
|
5223
|
-
l-${
|
|
5223
|
+
l-${K},-${Y}
|
|
5224
5224
|
v-${t(s) - 2 * Y}
|
|
5225
|
-
l${
|
|
5225
|
+
l${K},-${Y}z`,
|
|
5226
5226
|
"data-automation-id": "margin-right-button",
|
|
5227
5227
|
"aria-label": "Margin right button",
|
|
5228
5228
|
class: "lr-path-color",
|
|
@@ -5238,9 +5238,9 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
5238
5238
|
d: `
|
|
5239
5239
|
m1,${t(s) - 1}
|
|
5240
5240
|
h${t(a) - 1}
|
|
5241
|
-
l-${
|
|
5242
|
-
h-${t(a) - 2 *
|
|
5243
|
-
l-${
|
|
5241
|
+
l-${K},-${Y}
|
|
5242
|
+
h-${t(a) - 2 * K}
|
|
5243
|
+
l-${K},${Y}z`,
|
|
5244
5244
|
"data-automation-id": "margin-bottom-button",
|
|
5245
5245
|
"aria-label": "Margin bottom button",
|
|
5246
5246
|
class: "tb-path-color",
|
|
@@ -5256,9 +5256,9 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
5256
5256
|
d: `
|
|
5257
5257
|
m1,1
|
|
5258
5258
|
v${t(s) - 1}
|
|
5259
|
-
l${
|
|
5259
|
+
l${K},-${Y}
|
|
5260
5260
|
v-${t(s) - 2 * Y}
|
|
5261
|
-
l-${
|
|
5261
|
+
l-${K},-${Y}z`,
|
|
5262
5262
|
"data-automation-id": "margin-left-button",
|
|
5263
5263
|
"aria-label": "Margin left button",
|
|
5264
5264
|
class: "lr-path-color",
|
|
@@ -5294,7 +5294,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
5294
5294
|
x("rect", {
|
|
5295
5295
|
x: "36",
|
|
5296
5296
|
y: "24",
|
|
5297
|
-
width: t(a) - 2 *
|
|
5297
|
+
width: t(a) - 2 * K + 1,
|
|
5298
5298
|
height: t(s) - 2 * Y + 1,
|
|
5299
5299
|
fill: "transparent",
|
|
5300
5300
|
rx: "2",
|
|
@@ -5307,7 +5307,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
5307
5307
|
"clip-path": "url(#margin-inner)",
|
|
5308
5308
|
x: "36",
|
|
5309
5309
|
y: "24",
|
|
5310
|
-
width: t(a) - 2 *
|
|
5310
|
+
width: t(a) - 2 * K + 1,
|
|
5311
5311
|
height: t(s) - 2 * Y + 1,
|
|
5312
5312
|
fill: "transparent",
|
|
5313
5313
|
rx: "2",
|
|
@@ -5352,9 +5352,9 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
5352
5352
|
d: `
|
|
5353
5353
|
m1,1
|
|
5354
5354
|
h${t(r) - 1}
|
|
5355
|
-
l-${
|
|
5356
|
-
h-${t(r) - 2 *
|
|
5357
|
-
l-${
|
|
5355
|
+
l-${K},${Y}
|
|
5356
|
+
h-${t(r) - 2 * K}
|
|
5357
|
+
l-${K},-${Y}z`,
|
|
5358
5358
|
"data-automation-id": "padding-top-button",
|
|
5359
5359
|
"aria-label": "Padding top button",
|
|
5360
5360
|
class: "tb-path-color",
|
|
@@ -5370,9 +5370,9 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
5370
5370
|
d: `
|
|
5371
5371
|
m${t(r) - 1},1
|
|
5372
5372
|
v${t(o) - 1}
|
|
5373
|
-
l-${
|
|
5373
|
+
l-${K},-${Y}
|
|
5374
5374
|
v-${t(o) - 2 * Y}
|
|
5375
|
-
l${
|
|
5375
|
+
l${K},-${Y}z`,
|
|
5376
5376
|
"data-automation-id": "padding-right-button",
|
|
5377
5377
|
"aria-label": "Padding right button",
|
|
5378
5378
|
class: "lr-path-color",
|
|
@@ -5388,9 +5388,9 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
5388
5388
|
d: `
|
|
5389
5389
|
m1,${t(o) - 1}
|
|
5390
5390
|
h${t(r) - 1}
|
|
5391
|
-
l-${
|
|
5392
|
-
h-${t(r) - 2 *
|
|
5393
|
-
l-${
|
|
5391
|
+
l-${K},-${Y}
|
|
5392
|
+
h-${t(r) - 2 * K}
|
|
5393
|
+
l-${K},${Y}z`,
|
|
5394
5394
|
"data-automation-id": "padding-bottom-button",
|
|
5395
5395
|
"aria-label": "Padding bottom button",
|
|
5396
5396
|
class: "tb-path-color",
|
|
@@ -5406,9 +5406,9 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
5406
5406
|
d: `
|
|
5407
5407
|
m1,1
|
|
5408
5408
|
v${t(o) - 1}
|
|
5409
|
-
l${
|
|
5409
|
+
l${K},-${Y}
|
|
5410
5410
|
v-${t(o) - 2 * Y}
|
|
5411
|
-
l-${
|
|
5411
|
+
l-${K},-${Y}z`,
|
|
5412
5412
|
"data-automation-id": "padding-left-button",
|
|
5413
5413
|
"aria-label": "Padding left button",
|
|
5414
5414
|
class: "lr-path-color",
|
|
@@ -5444,7 +5444,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
5444
5444
|
x("rect", {
|
|
5445
5445
|
x: "36",
|
|
5446
5446
|
y: "24",
|
|
5447
|
-
width: t(r) - 2 *
|
|
5447
|
+
width: t(r) - 2 * K + 1,
|
|
5448
5448
|
height: t(o) - 2 * Y + 1,
|
|
5449
5449
|
fill: "transparent",
|
|
5450
5450
|
rx: "2",
|
|
@@ -5457,7 +5457,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
5457
5457
|
"clip-path": "url(#padding-inner)",
|
|
5458
5458
|
x: "36",
|
|
5459
5459
|
y: "24",
|
|
5460
|
-
width: t(r) - 2 *
|
|
5460
|
+
width: t(r) - 2 * K + 1,
|
|
5461
5461
|
height: t(o) - 2 * Y + 1,
|
|
5462
5462
|
fill: "transparent",
|
|
5463
5463
|
rx: "2",
|
|
@@ -5483,7 +5483,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
5483
5483
|
}, z(e.styleJson["padding-left"] || "-"), 3)
|
|
5484
5484
|
], 512),
|
|
5485
5485
|
(u(), V("svg", Vr, jr)),
|
|
5486
|
-
(u(), V("svg", Er,
|
|
5486
|
+
(u(), V("svg", Er, Pr))
|
|
5487
5487
|
]),
|
|
5488
5488
|
i.value ? (u(), b(Cn, {
|
|
5489
5489
|
key: 0,
|
|
@@ -5895,10 +5895,10 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
5895
5895
|
{ label: "两端", value: "justify", svg: Ea }
|
|
5896
5896
|
], a = [
|
|
5897
5897
|
{ label: "正常", value: "normal", svg: Da },
|
|
5898
|
-
{ label: "斜体", value: "italic", svg:
|
|
5898
|
+
{ label: "斜体", value: "italic", svg: Pa }
|
|
5899
5899
|
], s = [
|
|
5900
5900
|
{ label: "无", value: "none", svg: yn },
|
|
5901
|
-
{ label: "下划线", value: "underline", svg:
|
|
5901
|
+
{ label: "下划线", value: "underline", svg: Ia },
|
|
5902
5902
|
{ label: "删除线", value: "line-through", svg: Ba },
|
|
5903
5903
|
{ label: "上划线", value: "overline", svg: $a }
|
|
5904
5904
|
];
|
|
@@ -6087,7 +6087,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6087
6087
|
_: 1
|
|
6088
6088
|
}));
|
|
6089
6089
|
}
|
|
6090
|
-
}),
|
|
6090
|
+
}), Qr = /* @__PURE__ */ A({
|
|
6091
6091
|
__name: "border",
|
|
6092
6092
|
props: {
|
|
6093
6093
|
styleJson: {},
|
|
@@ -6175,7 +6175,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6175
6175
|
_: 1
|
|
6176
6176
|
}));
|
|
6177
6177
|
}
|
|
6178
|
-
}),
|
|
6178
|
+
}), Kr = /* @__PURE__ */ A({
|
|
6179
6179
|
__name: "effect",
|
|
6180
6180
|
props: {
|
|
6181
6181
|
styleJson: {},
|
|
@@ -6201,7 +6201,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6201
6201
|
{
|
|
6202
6202
|
label: "无",
|
|
6203
6203
|
value: "none",
|
|
6204
|
-
svg:
|
|
6204
|
+
svg: Qa
|
|
6205
6205
|
}
|
|
6206
6206
|
], l = [
|
|
6207
6207
|
{
|
|
@@ -6288,19 +6288,19 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6288
6288
|
const i = l.value?.getPropValue("style") || {};
|
|
6289
6289
|
o !== void 0 ? i[r] = o : delete i[r], l.value?.setProp("style", i);
|
|
6290
6290
|
};
|
|
6291
|
-
return (r, o) => e.isStyleCodeMode ? (u(), b(
|
|
6291
|
+
return (r, o) => e.isStyleCodeMode ? (u(), b(Ko, { key: 0 })) : (u(), b(t(W), {
|
|
6292
6292
|
key: `widget-style-${l.value?.id}`,
|
|
6293
6293
|
class: "v-style-widget",
|
|
6294
6294
|
direction: "column",
|
|
6295
6295
|
fit: ""
|
|
6296
6296
|
}, {
|
|
6297
6297
|
default: h(() => [
|
|
6298
|
-
(u(), b(
|
|
6298
|
+
(u(), b(Qo, {
|
|
6299
6299
|
key: `Layout${l.value?.id}`,
|
|
6300
6300
|
"style-json": a.value,
|
|
6301
6301
|
setStyle: s
|
|
6302
6302
|
}, null, 8, ["style-json"])),
|
|
6303
|
-
(u(), b(
|
|
6303
|
+
(u(), b(Ir, {
|
|
6304
6304
|
key: `Spacing${l.value?.id}`,
|
|
6305
6305
|
"style-json": a.value,
|
|
6306
6306
|
setStyle: s
|
|
@@ -6325,12 +6325,12 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6325
6325
|
"style-json": a.value,
|
|
6326
6326
|
setStyle: s
|
|
6327
6327
|
}, null, 8, ["style-json"])),
|
|
6328
|
-
(u(), b(
|
|
6328
|
+
(u(), b(Qr, {
|
|
6329
6329
|
key: `Border${l.value?.id}`,
|
|
6330
6330
|
"style-json": a.value,
|
|
6331
6331
|
setStyle: s
|
|
6332
6332
|
}, null, 8, ["style-json"])),
|
|
6333
|
-
(u(), b(
|
|
6333
|
+
(u(), b(Kr, {
|
|
6334
6334
|
key: `Effect${l.value?.id}`,
|
|
6335
6335
|
"style-json": a.value,
|
|
6336
6336
|
setStyle: s
|
|
@@ -6387,7 +6387,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6387
6387
|
return (r, o) => t(e) ? (u(), b(t(Nn), {
|
|
6388
6388
|
key: 0,
|
|
6389
6389
|
class: "v-nodepath-widget",
|
|
6390
|
-
"separator-icon": t(
|
|
6390
|
+
"separator-icon": t(Ka)
|
|
6391
6391
|
}, {
|
|
6392
6392
|
default: h(() => [
|
|
6393
6393
|
(u(!0), V(R, null, F(l.value, (i) => (u(), b(t(Jn), {
|
|
@@ -6551,22 +6551,22 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6551
6551
|
onChange: n
|
|
6552
6552
|
}, {
|
|
6553
6553
|
default: h(() => [
|
|
6554
|
-
p(t(
|
|
6554
|
+
p(t(I), {
|
|
6555
6555
|
label: "站点名称",
|
|
6556
6556
|
name: "title"
|
|
6557
6557
|
}),
|
|
6558
|
-
p(t(
|
|
6558
|
+
p(t(I), {
|
|
6559
6559
|
label: "Logo",
|
|
6560
6560
|
name: "logo",
|
|
6561
6561
|
editor: Vt,
|
|
6562
6562
|
props: { attachment: { accept: ".png,.jpg,.jpeg" } }
|
|
6563
6563
|
}, null, 8, ["props"]),
|
|
6564
|
-
p(t(
|
|
6564
|
+
p(t(I), {
|
|
6565
6565
|
label: "主题切换",
|
|
6566
6566
|
name: "themeSwitchable",
|
|
6567
6567
|
editor: "switch"
|
|
6568
6568
|
}),
|
|
6569
|
-
p(t(
|
|
6569
|
+
p(t(I), {
|
|
6570
6570
|
label: "模拟数据",
|
|
6571
6571
|
name: "mock",
|
|
6572
6572
|
editor: "switch"
|
|
@@ -6578,7 +6578,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6578
6578
|
_: 1
|
|
6579
6579
|
}));
|
|
6580
6580
|
}
|
|
6581
|
-
}),
|
|
6581
|
+
}), Q = {
|
|
6582
6582
|
Logo: Ts,
|
|
6583
6583
|
EmptyWidget: Fs,
|
|
6584
6584
|
Switcher: Js,
|
|
@@ -6611,27 +6611,27 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6611
6611
|
{
|
|
6612
6612
|
name: "Logo",
|
|
6613
6613
|
region: "Brand",
|
|
6614
|
-
component:
|
|
6614
|
+
component: Q.Logo
|
|
6615
6615
|
},
|
|
6616
6616
|
{
|
|
6617
6617
|
name: "Switcher",
|
|
6618
6618
|
region: "Brand",
|
|
6619
|
-
component:
|
|
6619
|
+
component: Q.Switcher
|
|
6620
6620
|
},
|
|
6621
6621
|
{
|
|
6622
6622
|
name: "Toolbar",
|
|
6623
6623
|
region: "Toolbar",
|
|
6624
|
-
component:
|
|
6624
|
+
component: Q.Toolbar
|
|
6625
6625
|
},
|
|
6626
6626
|
{
|
|
6627
6627
|
name: "Actions",
|
|
6628
6628
|
region: "Actions",
|
|
6629
|
-
component:
|
|
6629
|
+
component: Q.Actions
|
|
6630
6630
|
},
|
|
6631
6631
|
{
|
|
6632
6632
|
name: "Pages",
|
|
6633
6633
|
region: "Apps",
|
|
6634
|
-
component:
|
|
6634
|
+
component: Q.Pages,
|
|
6635
6635
|
type: "app",
|
|
6636
6636
|
openType: "panel",
|
|
6637
6637
|
icon: Ya,
|
|
@@ -6640,7 +6640,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6640
6640
|
{
|
|
6641
6641
|
name: "Blocks",
|
|
6642
6642
|
region: "Apps",
|
|
6643
|
-
component:
|
|
6643
|
+
component: Q.Blocks,
|
|
6644
6644
|
type: "app",
|
|
6645
6645
|
openType: "panel",
|
|
6646
6646
|
icon: Za,
|
|
@@ -6649,7 +6649,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6649
6649
|
{
|
|
6650
6650
|
name: "Components",
|
|
6651
6651
|
region: "Apps",
|
|
6652
|
-
component:
|
|
6652
|
+
component: Q.Components,
|
|
6653
6653
|
type: "app",
|
|
6654
6654
|
openType: "panel",
|
|
6655
6655
|
icon: es,
|
|
@@ -6658,7 +6658,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6658
6658
|
{
|
|
6659
6659
|
name: "Outline",
|
|
6660
6660
|
region: "Apps",
|
|
6661
|
-
component:
|
|
6661
|
+
component: Q.Outline,
|
|
6662
6662
|
type: "app",
|
|
6663
6663
|
openType: "panel",
|
|
6664
6664
|
icon: ts,
|
|
@@ -6667,7 +6667,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6667
6667
|
{
|
|
6668
6668
|
name: "History",
|
|
6669
6669
|
region: "Apps",
|
|
6670
|
-
component:
|
|
6670
|
+
component: Q.History,
|
|
6671
6671
|
type: "app",
|
|
6672
6672
|
openType: "panel",
|
|
6673
6673
|
icon: ns,
|
|
@@ -6676,7 +6676,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6676
6676
|
{
|
|
6677
6677
|
name: "Apis",
|
|
6678
6678
|
region: "Apps",
|
|
6679
|
-
component:
|
|
6679
|
+
component: Q.Apis,
|
|
6680
6680
|
type: "app",
|
|
6681
6681
|
openType: "panel",
|
|
6682
6682
|
icon: ls,
|
|
@@ -6685,7 +6685,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6685
6685
|
{
|
|
6686
6686
|
name: "Deps",
|
|
6687
6687
|
region: "Apps",
|
|
6688
|
-
component:
|
|
6688
|
+
component: Q.Deps,
|
|
6689
6689
|
type: "app",
|
|
6690
6690
|
openType: "panel",
|
|
6691
6691
|
icon: as,
|
|
@@ -6694,7 +6694,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6694
6694
|
{
|
|
6695
6695
|
name: "ProjectConfig",
|
|
6696
6696
|
region: "Apps",
|
|
6697
|
-
component:
|
|
6697
|
+
component: Q.ProjectConfig,
|
|
6698
6698
|
type: "app",
|
|
6699
6699
|
openType: "panel",
|
|
6700
6700
|
icon: rn,
|
|
@@ -6703,7 +6703,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6703
6703
|
{
|
|
6704
6704
|
name: "About",
|
|
6705
6705
|
region: "Apps",
|
|
6706
|
-
component:
|
|
6706
|
+
component: Q.About,
|
|
6707
6707
|
type: "app",
|
|
6708
6708
|
openType: "dialog",
|
|
6709
6709
|
icon: ss,
|
|
@@ -6716,7 +6716,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6716
6716
|
{
|
|
6717
6717
|
name: "Designer",
|
|
6718
6718
|
region: "Workspace",
|
|
6719
|
-
component:
|
|
6719
|
+
component: Q.Designer,
|
|
6720
6720
|
type: "tab",
|
|
6721
6721
|
closable: !1,
|
|
6722
6722
|
label: "设计视图"
|
|
@@ -6724,7 +6724,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6724
6724
|
{
|
|
6725
6725
|
name: "Previewer",
|
|
6726
6726
|
region: "Preview",
|
|
6727
|
-
component:
|
|
6727
|
+
component: Q.Previewer,
|
|
6728
6728
|
type: "tab",
|
|
6729
6729
|
closable: !1,
|
|
6730
6730
|
label: "预览视图"
|
|
@@ -6732,7 +6732,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6732
6732
|
{
|
|
6733
6733
|
name: "Schema",
|
|
6734
6734
|
region: "Workspace",
|
|
6735
|
-
component:
|
|
6735
|
+
component: Q.Schema,
|
|
6736
6736
|
type: "tab",
|
|
6737
6737
|
closable: !0,
|
|
6738
6738
|
label: "DSL视图"
|
|
@@ -6740,7 +6740,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6740
6740
|
{
|
|
6741
6741
|
name: "Raw",
|
|
6742
6742
|
region: "Workspace",
|
|
6743
|
-
component:
|
|
6743
|
+
component: Q.Raw,
|
|
6744
6744
|
type: "tab",
|
|
6745
6745
|
closable: !0,
|
|
6746
6746
|
label: "源码视图"
|
|
@@ -6748,7 +6748,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6748
6748
|
{
|
|
6749
6749
|
name: "Docs",
|
|
6750
6750
|
region: "Workspace",
|
|
6751
|
-
component:
|
|
6751
|
+
component: Q.Docs,
|
|
6752
6752
|
type: "tab",
|
|
6753
6753
|
closable: !0,
|
|
6754
6754
|
label: "帮助中心"
|
|
@@ -6756,7 +6756,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6756
6756
|
{
|
|
6757
6757
|
name: "Scripts",
|
|
6758
6758
|
region: "Settings",
|
|
6759
|
-
component:
|
|
6759
|
+
component: Q.Scripts,
|
|
6760
6760
|
type: "tab",
|
|
6761
6761
|
group: fe.Block,
|
|
6762
6762
|
label: "设置"
|
|
@@ -6764,7 +6764,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6764
6764
|
{
|
|
6765
6765
|
name: "Css",
|
|
6766
6766
|
region: "Settings",
|
|
6767
|
-
component:
|
|
6767
|
+
component: Q.Css,
|
|
6768
6768
|
type: "tab",
|
|
6769
6769
|
group: fe.Block,
|
|
6770
6770
|
label: "CSS"
|
|
@@ -6772,7 +6772,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6772
6772
|
{
|
|
6773
6773
|
name: "DataSources",
|
|
6774
6774
|
region: "Settings",
|
|
6775
|
-
component:
|
|
6775
|
+
component: Q.DataSources,
|
|
6776
6776
|
type: "tab",
|
|
6777
6777
|
group: fe.Block,
|
|
6778
6778
|
label: "数据源"
|
|
@@ -6780,7 +6780,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6780
6780
|
{
|
|
6781
6781
|
name: "Defined",
|
|
6782
6782
|
region: "Settings",
|
|
6783
|
-
component:
|
|
6783
|
+
component: Q.Defined,
|
|
6784
6784
|
type: "tab",
|
|
6785
6785
|
group: fe.Block,
|
|
6786
6786
|
label: "定义"
|
|
@@ -6788,7 +6788,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6788
6788
|
{
|
|
6789
6789
|
name: "Properties",
|
|
6790
6790
|
region: "Settings",
|
|
6791
|
-
component:
|
|
6791
|
+
component: Q.Properties,
|
|
6792
6792
|
type: "tab",
|
|
6793
6793
|
group: fe.Node,
|
|
6794
6794
|
label: "属性"
|
|
@@ -6796,7 +6796,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6796
6796
|
{
|
|
6797
6797
|
name: "Style",
|
|
6798
6798
|
region: "Settings",
|
|
6799
|
-
component:
|
|
6799
|
+
component: Q.Style,
|
|
6800
6800
|
type: "tab",
|
|
6801
6801
|
group: fe.Node,
|
|
6802
6802
|
label: "样式"
|
|
@@ -6804,7 +6804,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6804
6804
|
{
|
|
6805
6805
|
name: "Events",
|
|
6806
6806
|
region: "Settings",
|
|
6807
|
-
component:
|
|
6807
|
+
component: Q.Events,
|
|
6808
6808
|
type: "tab",
|
|
6809
6809
|
group: fe.Node,
|
|
6810
6810
|
label: "事件"
|
|
@@ -6812,7 +6812,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6812
6812
|
{
|
|
6813
6813
|
name: "Directives",
|
|
6814
6814
|
region: "Settings",
|
|
6815
|
-
component:
|
|
6815
|
+
component: Q.Directives,
|
|
6816
6816
|
type: "tab",
|
|
6817
6817
|
group: fe.Node,
|
|
6818
6818
|
label: "指令"
|
|
@@ -6820,7 +6820,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6820
6820
|
{
|
|
6821
6821
|
name: "NodePath",
|
|
6822
6822
|
region: "Status",
|
|
6823
|
-
component:
|
|
6823
|
+
component: Q.NodePath
|
|
6824
6824
|
}
|
|
6825
6825
|
], vi = [
|
|
6826
6826
|
{
|
|
@@ -6896,9 +6896,6 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
6896
6896
|
library: "VtjUI",
|
|
6897
6897
|
urls: [
|
|
6898
6898
|
"@vtj/materials/deps/echarts/echarts.min.js",
|
|
6899
|
-
"@vtj/materials/deps/@ckeditor/ckeditor5-build-classic/ckeditor.js",
|
|
6900
|
-
"@vtj/materials/deps/@ckeditor/ckeditor5-build-classic/zh-cn.js",
|
|
6901
|
-
"@vtj/materials/deps/@ckeditor/ckeditor5-vue/ckeditor.js",
|
|
6902
6899
|
"@vtj/materials/deps/@vtj/ui/style.css",
|
|
6903
6900
|
"@vtj/materials/deps/@vtj/ui/index.umd.js"
|
|
6904
6901
|
],
|
|
@@ -7437,7 +7434,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
7437
7434
|
name: "BooleanSetter",
|
|
7438
7435
|
__name: "boolean",
|
|
7439
7436
|
setup(c) {
|
|
7440
|
-
return (e, n) => (u(), b(t(
|
|
7437
|
+
return (e, n) => (u(), b(t(Kt), re(e.$attrs, {
|
|
7441
7438
|
"model-value": !!e.$attrs.modelValue
|
|
7442
7439
|
}), null, 16, ["model-value"]));
|
|
7443
7440
|
}
|
|
@@ -7496,7 +7493,8 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
7496
7493
|
return (n, l) => (u(), b(t(Mn), re({ clearable: "" }, n.$attrs), {
|
|
7497
7494
|
default: h(() => [
|
|
7498
7495
|
(u(!0), V(R, null, F(e.options, (a) => (u(), b(t(Ln), re({
|
|
7499
|
-
key: a.label
|
|
7496
|
+
key: a.label,
|
|
7497
|
+
ref_for: !0
|
|
7500
7498
|
}, a), null, 16))), 128))
|
|
7501
7499
|
]),
|
|
7502
7500
|
_: 1
|
|
@@ -7547,7 +7545,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
7547
7545
|
if (typeof d != "object")
|
|
7548
7546
|
throw new Error(`"${y}" is not a ${n.type}`);
|
|
7549
7547
|
} catch (d) {
|
|
7550
|
-
f = !1,
|
|
7548
|
+
f = !1, Ke.error({
|
|
7551
7549
|
title: "代码错误",
|
|
7552
7550
|
message: d?.message || d
|
|
7553
7551
|
});
|
|
@@ -7573,7 +7571,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
7573
7571
|
"model-value": n.type,
|
|
7574
7572
|
"suffix-icon": t(xt)
|
|
7575
7573
|
}, y.$attrs), null, 16, ["model-value", "suffix-icon"]),
|
|
7576
|
-
r.value ? (u(), b(t(
|
|
7574
|
+
r.value ? (u(), b(t(Ie), {
|
|
7577
7575
|
key: 0,
|
|
7578
7576
|
modelValue: r.value,
|
|
7579
7577
|
"onUpdate:modelValue": f[0] || (f[0] = (d) => r.value = d),
|
|
@@ -7646,7 +7644,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
7646
7644
|
"model-value": "JSFunction",
|
|
7647
7645
|
"suffix-icon": t(xt)
|
|
7648
7646
|
}, g.$attrs), null, 16, ["suffix-icon"]),
|
|
7649
|
-
s.value ? (u(), b(t(
|
|
7647
|
+
s.value ? (u(), b(t(Ie), {
|
|
7650
7648
|
key: 0,
|
|
7651
7649
|
modelValue: s.value,
|
|
7652
7650
|
"onUpdate:modelValue": y[0] || (y[0] = (f) => s.value = f),
|
|
@@ -7716,7 +7714,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
7716
7714
|
_: 1
|
|
7717
7715
|
}, 16));
|
|
7718
7716
|
}
|
|
7719
|
-
}), Di = ["label", "title", "onClick"],
|
|
7717
|
+
}), Di = ["label", "title", "onClick"], Pi = /* @__PURE__ */ A({
|
|
7720
7718
|
name: "TagSetter",
|
|
7721
7719
|
__name: "tag",
|
|
7722
7720
|
props: {
|
|
@@ -7778,7 +7776,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
7778
7776
|
onChange: o
|
|
7779
7777
|
}, i.$attrs), null, 16, ["unit", "with-unit", "modelValue"]));
|
|
7780
7778
|
}
|
|
7781
|
-
}),
|
|
7779
|
+
}), Ii = { class: "v-image-setter__plus" }, Bi = /* @__PURE__ */ A({
|
|
7782
7780
|
name: "ImageSetter",
|
|
7783
7781
|
__name: "image",
|
|
7784
7782
|
props: {
|
|
@@ -7815,7 +7813,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
7815
7813
|
"on-remove": o
|
|
7816
7814
|
}, i.$attrs), {
|
|
7817
7815
|
default: h(() => [
|
|
7818
|
-
x("span",
|
|
7816
|
+
x("span", Ii, [
|
|
7819
7817
|
p(t(ke), { icon: t(os) }, null, 8, ["icon"])
|
|
7820
7818
|
])
|
|
7821
7819
|
]),
|
|
@@ -7897,7 +7895,7 @@ const Bs = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
7897
7895
|
JsonSetter: Ai,
|
|
7898
7896
|
FunctionSetter: ji,
|
|
7899
7897
|
RadioSetter: Ei,
|
|
7900
|
-
TagSetter:
|
|
7898
|
+
TagSetter: Pi,
|
|
7901
7899
|
SizeSetter: An,
|
|
7902
7900
|
ImageSetter: Bi,
|
|
7903
7901
|
SectionSetter: Ri,
|
|
@@ -8196,7 +8194,7 @@ class Mi {
|
|
|
8196
8194
|
return Object.values(this.setters).filter((l) => l.type === e).map((l) => l.name);
|
|
8197
8195
|
}
|
|
8198
8196
|
}
|
|
8199
|
-
const
|
|
8197
|
+
const Qe = new Mi();
|
|
8200
8198
|
function Li(c) {
|
|
8201
8199
|
return new Promise((e, n) => {
|
|
8202
8200
|
const l = Ut(io, {
|
|
@@ -8302,7 +8300,7 @@ class Ui {
|
|
|
8302
8300
|
m = s;
|
|
8303
8301
|
else {
|
|
8304
8302
|
const g = this.createNodeDsl(l);
|
|
8305
|
-
m = new
|
|
8303
|
+
m = new Pt(g);
|
|
8306
8304
|
}
|
|
8307
8305
|
if (ee(i))
|
|
8308
8306
|
s ? (delete m.slot, r.move(m, void 0, "inner")) : r.addNode(m, void 0, v);
|
|
@@ -8334,7 +8332,7 @@ class Ui {
|
|
|
8334
8332
|
}
|
|
8335
8333
|
getNodeByElement(e) {
|
|
8336
8334
|
const n = e.__vtj__ ?? "";
|
|
8337
|
-
return
|
|
8335
|
+
return Pt.nodes[n] || null;
|
|
8338
8336
|
}
|
|
8339
8337
|
getDropType(e, n, l) {
|
|
8340
8338
|
const { left: a, top: s, width: r, height: o } = e;
|
|
@@ -8465,16 +8463,18 @@ class Ui {
|
|
|
8465
8463
|
this.dropping.value = null;
|
|
8466
8464
|
}
|
|
8467
8465
|
async allowDrop(e, n = "inner") {
|
|
8468
|
-
const { dragging: l, engine: a } = this,
|
|
8469
|
-
if (!l || !
|
|
8466
|
+
const { dragging: l, engine: a, draggingNode: s } = this, r = a.current.value;
|
|
8467
|
+
if (!l || !r)
|
|
8470
8468
|
return !1;
|
|
8471
8469
|
if (ee(e))
|
|
8472
8470
|
return !0;
|
|
8473
|
-
|
|
8474
|
-
|
|
8471
|
+
if (s && e.id === s.id || s && s.isChild(e))
|
|
8472
|
+
return !1;
|
|
8473
|
+
const o = a.assets.componentMap, i = n !== "inner" && e.parent || e, v = await a.assets.getBlockMaterial(i.from) || o.get(i.name);
|
|
8474
|
+
if (!v)
|
|
8475
8475
|
return !1;
|
|
8476
|
-
const { parentIncludes:
|
|
8477
|
-
return
|
|
8476
|
+
const { parentIncludes: m = !0, name: g } = l, { childIncludes: y = !0 } = v, f = m === !0 || Array.isArray(m) && m.includes(i.name), d = y === !0 || Array.isArray(y) && y.includes(g);
|
|
8477
|
+
return f && d;
|
|
8478
8478
|
}
|
|
8479
8479
|
dispose() {
|
|
8480
8480
|
const { contentWindow: e, document: n } = this;
|
|
@@ -8506,7 +8506,7 @@ class qi {
|
|
|
8506
8506
|
err: o,
|
|
8507
8507
|
instance: i,
|
|
8508
8508
|
info: v
|
|
8509
|
-
}),
|
|
8509
|
+
}), Ke.error({
|
|
8510
8510
|
title: "运行错误",
|
|
8511
8511
|
message: y
|
|
8512
8512
|
});
|
|
@@ -8598,7 +8598,7 @@ class Hi extends sn {
|
|
|
8598
8598
|
}
|
|
8599
8599
|
l.__simulator__ = this;
|
|
8600
8600
|
const a = l.document;
|
|
8601
|
-
|
|
8601
|
+
this.contentWindow = l;
|
|
8602
8602
|
const {
|
|
8603
8603
|
scripts: s,
|
|
8604
8604
|
css: r,
|
|
@@ -8667,14 +8667,14 @@ class Hi extends sn {
|
|
|
8667
8667
|
const B = E.names || [];
|
|
8668
8668
|
if (E.name === pt)
|
|
8669
8669
|
B.forEach((N) => {
|
|
8670
|
-
const T = d.get(N),
|
|
8670
|
+
const T = d.get(N), P = T?.package || "", $ = cl[P], D = m[$];
|
|
8671
8671
|
D && T && (y[N] = $t(T, D));
|
|
8672
8672
|
});
|
|
8673
8673
|
else {
|
|
8674
8674
|
const N = m[n[E.library || ""]];
|
|
8675
8675
|
N && B.forEach((T) => {
|
|
8676
|
-
const
|
|
8677
|
-
|
|
8676
|
+
const P = d.get(T);
|
|
8677
|
+
P ? y[T] = $t(P, N) : y[T] = N[T];
|
|
8678
8678
|
});
|
|
8679
8679
|
}
|
|
8680
8680
|
}
|
|
@@ -8764,7 +8764,7 @@ class Gi {
|
|
|
8764
8764
|
let f = [];
|
|
8765
8765
|
for (const d of y)
|
|
8766
8766
|
f = f.concat(
|
|
8767
|
-
|
|
8767
|
+
Qe.getByType(d)
|
|
8768
8768
|
);
|
|
8769
8769
|
return f;
|
|
8770
8770
|
}, m = {
|
|
@@ -8857,7 +8857,7 @@ class Bu extends sn {
|
|
|
8857
8857
|
a && (l.dsl = a);
|
|
8858
8858
|
}
|
|
8859
8859
|
if (l?.dsl) {
|
|
8860
|
-
const a = new
|
|
8860
|
+
const a = new It(l.dsl);
|
|
8861
8861
|
this.updateCurrent(a), this.initHistory(a);
|
|
8862
8862
|
} else
|
|
8863
8863
|
this.updateCurrent(null);
|
|
@@ -8935,7 +8935,7 @@ class Bu extends sn {
|
|
|
8935
8935
|
async loadHistory(e) {
|
|
8936
8936
|
const n = e.model, l = e.data, a = await this.service.getHistoryItem(n.id, l.id);
|
|
8937
8937
|
if (a && a.dsl) {
|
|
8938
|
-
const s = new
|
|
8938
|
+
const s = new It(a.dsl);
|
|
8939
8939
|
await this.updateCurrent(s), this.service.saveFile(a.dsl), Ve(this.history);
|
|
8940
8940
|
}
|
|
8941
8941
|
}
|
|
@@ -9036,7 +9036,7 @@ const Ae = A({
|
|
|
9036
9036
|
this.engine.skeleton = this;
|
|
9037
9037
|
},
|
|
9038
9038
|
render() {
|
|
9039
|
-
return Re(
|
|
9039
|
+
return Re(Qi, { ...this.$props, ...this.$attrs, ref: "skeletonRef" });
|
|
9040
9040
|
},
|
|
9041
9041
|
methods: {
|
|
9042
9042
|
/**
|
|
@@ -9166,7 +9166,7 @@ const Ae = A({
|
|
|
9166
9166
|
const { value: c, computedSetters: e } = this;
|
|
9167
9167
|
let n = typeof c;
|
|
9168
9168
|
n === "Object" && (Array.isArray(c) ? n = "Array" : We(c) ? n = "Object" : Dl(c) && (n = "Function"));
|
|
9169
|
-
const l =
|
|
9169
|
+
const l = Qe.getByType(n) || [];
|
|
9170
9170
|
return l.length ? (e.find((a) => l.includes(a.name)) || e[0])?.name : e[0]?.name;
|
|
9171
9171
|
}
|
|
9172
9172
|
},
|
|
@@ -9205,7 +9205,7 @@ const Ae = A({
|
|
|
9205
9205
|
emits: ["change", "remove"],
|
|
9206
9206
|
methods: {
|
|
9207
9207
|
getSetter(c) {
|
|
9208
|
-
return typeof c == "string" ?
|
|
9208
|
+
return typeof c == "string" ? Qe.get(c) || Qe.defaultSetter : c;
|
|
9209
9209
|
},
|
|
9210
9210
|
changeValue(c) {
|
|
9211
9211
|
this.$emit("change", this.name, c);
|
|
@@ -9214,7 +9214,7 @@ const Ae = A({
|
|
|
9214
9214
|
this.$emit("remove", c);
|
|
9215
9215
|
}
|
|
9216
9216
|
}
|
|
9217
|
-
}),
|
|
9217
|
+
}), Qi = /* @__PURE__ */ A({
|
|
9218
9218
|
name: "Skeletion",
|
|
9219
9219
|
__name: "skeleton",
|
|
9220
9220
|
props: {
|
|
@@ -9263,7 +9263,7 @@ const Ae = A({
|
|
|
9263
9263
|
default: h(() => [
|
|
9264
9264
|
p(t(jt), { class: "v-skeleton" }, {
|
|
9265
9265
|
default: h(() => [
|
|
9266
|
-
p(t(
|
|
9266
|
+
p(t(Qn), {
|
|
9267
9267
|
class: "v-skeleton__header",
|
|
9268
9268
|
height: E.headerHeight
|
|
9269
9269
|
}, {
|
|
@@ -9307,7 +9307,7 @@ const Ae = A({
|
|
|
9307
9307
|
}, 8, ["width", "class"])), [
|
|
9308
9308
|
[t(Dt), r]
|
|
9309
9309
|
]),
|
|
9310
|
-
p(t(
|
|
9310
|
+
p(t(Kn), { class: "v-skeleton__main" }, {
|
|
9311
9311
|
default: h(() => [
|
|
9312
9312
|
l.value ? (u(), b(t(Ae), {
|
|
9313
9313
|
key: 0,
|
|
@@ -9321,7 +9321,7 @@ const Ae = A({
|
|
|
9321
9321
|
ref: y,
|
|
9322
9322
|
region: "Workspace"
|
|
9323
9323
|
}, null, 512), [
|
|
9324
|
-
[
|
|
9324
|
+
[Pe, !l.value]
|
|
9325
9325
|
])
|
|
9326
9326
|
]),
|
|
9327
9327
|
_: 1
|
|
@@ -9340,7 +9340,7 @@ const Ae = A({
|
|
|
9340
9340
|
]),
|
|
9341
9341
|
_: 1
|
|
9342
9342
|
}, 8, ["width"])), [
|
|
9343
|
-
[
|
|
9343
|
+
[Pe, j.value],
|
|
9344
9344
|
[t(Dt), o]
|
|
9345
9345
|
])
|
|
9346
9346
|
]),
|
|
@@ -9367,7 +9367,7 @@ const Ae = A({
|
|
|
9367
9367
|
_: 1
|
|
9368
9368
|
}, 8, ["locale"]));
|
|
9369
9369
|
}
|
|
9370
|
-
}),
|
|
9370
|
+
}), Ki = { key: 1 }, Yi = { class: "v-setter__content" }, Zi = {
|
|
9371
9371
|
key: 0,
|
|
9372
9372
|
class: "v-setter__input"
|
|
9373
9373
|
}, eu = { class: "v-setter__action" }, tu = "{{", nu = "}}", lu = /* @__PURE__ */ A({
|
|
@@ -9424,7 +9424,7 @@ const Ae = A({
|
|
|
9424
9424
|
"label-positon": "left"
|
|
9425
9425
|
}, {
|
|
9426
9426
|
label: h(() => [
|
|
9427
|
-
n.title ? (u(), b(t(
|
|
9427
|
+
n.title ? (u(), b(t(Qt), {
|
|
9428
9428
|
key: 0,
|
|
9429
9429
|
placement: "top-start",
|
|
9430
9430
|
content: n.title
|
|
@@ -9433,7 +9433,7 @@ const Ae = A({
|
|
|
9433
9433
|
H(z(n.label || n.name), 1)
|
|
9434
9434
|
]),
|
|
9435
9435
|
_: 1
|
|
9436
|
-
}, 8, ["content"])) : (u(), V("span",
|
|
9436
|
+
}, 8, ["content"])) : (u(), V("span", Ki, z(n.label || n.name), 1))
|
|
9437
9437
|
]),
|
|
9438
9438
|
default: h(() => [
|
|
9439
9439
|
x("div", Yi, [
|
|
@@ -9959,7 +9959,7 @@ export {
|
|
|
9959
9959
|
lu as SetterView,
|
|
9960
9960
|
J as SetterWrapper,
|
|
9961
9961
|
Hi as Simulator,
|
|
9962
|
-
|
|
9962
|
+
Qi as Skeleton,
|
|
9963
9963
|
Xi as SkeletonWrapper,
|
|
9964
9964
|
io as SlotsPicker,
|
|
9965
9965
|
nt as Tabs,
|
|
@@ -9982,9 +9982,9 @@ export {
|
|
|
9982
9982
|
de as message,
|
|
9983
9983
|
ne as notify,
|
|
9984
9984
|
Ot as regions,
|
|
9985
|
-
|
|
9985
|
+
Qe as setterManager,
|
|
9986
9986
|
Z as setters,
|
|
9987
9987
|
ce as useEngine,
|
|
9988
9988
|
jn as widgetManager,
|
|
9989
|
-
|
|
9989
|
+
Q as widgets
|
|
9990
9990
|
};
|