bp-aicc-editor 1.2.507 → 1.2.511
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/lib/ScreenPreview-CV95NWOd.js +373 -0
- package/lib/{atlas-C3az-9Mm.js → atlas-DsmLq2V0.js} +1 -1
- package/lib/{button-base-_jCki568.js → button-base-DHNVBrQ9.js} +1 -1
- package/lib/{cache-Jvpyvvq5.js → cache-lsjsKZHu.js} +1 -1
- package/lib/{container-group-DTRMf-Lh.js → container-group-DqAcKEBy.js} +1 -1
- package/lib/{copy-JUmhZHJW.js → copy-C5Pi6nJh.js} +1 -1
- package/lib/{datav-DYcMOPlj.js → datav-BER95ty-.js} +27 -27
- package/lib/{delete-C0k5m-ed.js → delete-C2EW4JCs.js} +1 -1
- package/lib/{divider-CvWkiVUb.js → divider-BazBGRgV.js} +1 -1
- package/lib/edit-B2pfd2q1.js +24 -0
- package/lib/el-button-DvLKp6Ga.js +815 -0
- package/lib/el-form-item-BDdxk5F5.js +1175 -0
- package/lib/el-link-D2ol9BHQ.js +91 -0
- package/lib/el-loading-Cgwgez55.js +230 -0
- package/lib/el-overlay-BK0_UIU6.js +704 -0
- package/lib/el-tab-pane-DD2eM9rB.js +536 -0
- package/lib/{fullscreen-DOYyz7vQ.js → fullscreen-OChDsSnk.js} +1 -1
- package/lib/{image-BQIpsLBo.js → image-C5ZAY3yt.js} +1 -1
- package/lib/index-3pzVrvby.js +150 -0
- package/lib/{index-D9Iayd4l.js → index-B19lEYui.js} +6 -6
- package/lib/index-B1yAU2Cb.js +390 -0
- package/lib/index-BCFXuK7k.js +68 -0
- package/lib/index-BD4Jwo8Z.js +449 -0
- package/lib/{index-BvcqtFEY.js → index-BMWqf88L.js} +10 -10
- package/lib/{index-CI4vgOJL.js → index-BPcvYtHf.js} +8 -11
- package/lib/index-BWPVi43E.js +21 -0
- package/lib/{index-CSkWvBQG.js → index-BatyRVpL.js} +1 -1
- package/lib/{index-D7jQaJbo.js → index-Belsn8kt.js} +1 -1
- package/lib/{index-C7ZW2TdD.js → index-BfIEunKC.js} +13 -15
- package/lib/{index-DTbzx51-.js → index-BhP9eBCp.js} +2 -2
- package/lib/{index-BdQOzowp.js → index-BkdiXCRY.js} +1 -1
- package/lib/{index-B4Kg0SOl.js → index-Buoc0ISP.js} +60 -65
- package/lib/index-BwCQWH-N.js +439 -0
- package/lib/{index-KO7LIDgy.js → index-C7k49L2T.js} +1 -1
- package/lib/{index-BCisGpRV.js → index-CGFEhUh9.js} +21 -21
- package/lib/{index-BCZuzL9x.js → index-CGrR_i0u.js} +1 -1
- package/lib/index-CIADz1i0.js +8494 -0
- package/lib/{index-BiybAKLy.js → index-CJyYGViv.js} +1 -1
- package/lib/{index-Curd3Q_C.js → index-CVE37oE7.js} +1 -1
- package/lib/{index-BGT3NcHb.js → index-CVsy2qTh.js} +2 -2
- package/lib/{index-CEKpsQ73.js → index-CWbZmzNT.js} +20 -20
- package/lib/{index-r0p4Zsdn.js → index-CXQ258ID.js} +1 -1
- package/lib/{index-C17gkQC5.js → index-CX_Ghcb6.js} +2 -2
- package/lib/index-CZJriuFt.js +27215 -0
- package/lib/{index-UdJ7RS5C.js → index-Ci8AbyIq.js} +1 -1
- package/lib/{index-DzglmFul.js → index-Ck7uFsPE.js} +1 -1
- package/lib/{index-DfKVDhZo.js → index-D4X0_jbv.js} +4 -4
- package/lib/{index-Q9GLzAp6.js → index-DKTrbqcA.js} +2 -2
- package/lib/{index-DiSYhNaR.js → index-Ge_d2xqD.js} +1 -1
- package/lib/{index-D9qrFCLu.js → index-qVyixI57.js} +21 -24
- package/lib/{index-DrO2UeJx.js → index-tbhuYbb0.js} +1 -1
- package/lib/index.es.js +3 -3
- package/lib/index.umd.js +57 -34
- package/lib/{layer-setting-panel-Bjnt_eL7.js → layer-setting-panel-VvDSQ-cn.js} +2 -2
- package/lib/{line-show-C7Nn6vkO.js → line-show-Bp4G-LqO.js} +1 -1
- package/lib/{multi-layout-config-Cq3yMVHR.js → multi-layout-config-drSy7ezf.js} +5 -5
- package/lib/{multiline-text-20qZej5M.js → multiline-text-D89kYrA2.js} +1 -1
- package/lib/{navigation-CYYFLmhU.js → navigation-YAGxZ0OT.js} +1 -1
- package/lib/page-config-Cmsi8Vpr.js +582 -0
- package/lib/page-tabs-wFeNBY4c.js +185 -0
- package/lib/{plus-CLcKk5PN.js → plus-3mdO6yXY.js} +1 -1
- package/lib/{requestOld-UJ_IbJZV.js → requestOld-DRcjsmRQ.js} +1 -1
- package/lib/{schema-EG3DcRzW.js → schema-BavJE-SK.js} +2 -2
- package/lib/{schema-B8SVu2jj.js → schema-BflqDw-a.js} +1 -1
- package/lib/{schema-D6lT1sLt.js → schema-Bo30dbBx.js} +1 -1
- package/lib/{schema-Blmk8VpW.js → schema-BsnIOGBI.js} +1 -1
- package/lib/{schema-C1vqYLAm.js → schema-_APJMUW3.js} +24 -24
- package/lib/{schema-C4qS2kV8.js → schema-qKI1F8Bt.js} +1 -1
- package/lib/{setting-panel-CoVHYjPW.js → setting-panel-BgzN3BUP.js} +91 -93
- package/lib/{show-DWWTez5i.js → show-C4AeWlKj.js} +13 -32
- package/lib/{stepper-bfTmJIGg.js → stepper-D5EFeJWG.js} +1 -1
- package/lib/strings-_mHAdgA4.js +6 -0
- package/lib/style.css +1 -0
- package/lib/{switch-Dxeq_HHd.js → switch-B0dR4LM_.js} +1 -1
- package/lib/unlock-Cq9PLhBA.js +62 -0
- package/lib/{use-env-url-CP2GpMCY.js → use-env-url-BM9dgwx_.js} +1 -1
- package/lib/use-global-config-CflpFoxU.js +115 -0
- package/lib/vnode-B_Dj8zxu.js +14 -0
- package/package.json +3 -2
- package/lib/ScreenPreview-DGe9FXWu.js +0 -126
- package/lib/index-08FGmL4D.js +0 -3744
- package/lib/index-Bg2serjU.js +0 -155
- package/lib/index-CJbqu93z.js +0 -496
- package/lib/index-D-A44QLA.js +0 -228
- package/lib/index-D6ZS8SXJ.js +0 -22369
- package/lib/index-DgTMT-ZH.js +0 -71
- package/lib/index-noVQZPd6.js +0 -133
- package/lib/page-config-Bw-OZliO.js +0 -257
- package/lib/page-tabs-DM9zkW_X.js +0 -190
- package/lib/styles.css +0 -1
|
@@ -0,0 +1,449 @@
|
|
|
1
|
+
import { _ as X, a as ne, b8 as me, b6 as g, E as ce, u as ve, v as fe } from "./index-CZJriuFt.js";
|
|
2
|
+
import { E as ye, a as ge } from "./el-form-item-BDdxk5F5.js";
|
|
3
|
+
import { E as pe } from "./el-overlay-BK0_UIU6.js";
|
|
4
|
+
import { E as ke } from "./el-button-DvLKp6Ga.js";
|
|
5
|
+
import { createElementBlock as m, openBlock as n, createElementVNode as u, defineComponent as ae, ref as f, computed as h, resolveComponent as xe, resolveDirective as we, unref as k, normalizeStyle as F, normalizeClass as q, createCommentVNode as I, Fragment as j, createVNode as a, withCtx as s, createBlock as p, withDirectives as W, withKeys as Y, vModelText as Z, toDisplayString as _, withModifiers as b, watch as $e, createTextVNode as T } from "vue";
|
|
6
|
+
import { ElTree as Ce, ElMessage as be } from "element-plus";
|
|
7
|
+
import { u as Ve } from "./toolbar-Dhf_BVAU.js";
|
|
8
|
+
import { u as ie } from "./index-CWbZmzNT.js";
|
|
9
|
+
import { I as Ee } from "./delete-C2EW4JCs.js";
|
|
10
|
+
import { I as Ie, b as ee, a as oe } from "./unlock-Cq9PLhBA.js";
|
|
11
|
+
import { a as te, I as le } from "./show-C4AeWlKj.js";
|
|
12
|
+
const Ne = {}, Se = {
|
|
13
|
+
t: "1639132000791",
|
|
14
|
+
class: "icon",
|
|
15
|
+
viewBox: "0 0 1024 1024",
|
|
16
|
+
version: "1.1",
|
|
17
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18
|
+
"p-id": "5015",
|
|
19
|
+
width: "64",
|
|
20
|
+
height: "64"
|
|
21
|
+
};
|
|
22
|
+
function De(e, C) {
|
|
23
|
+
return n(), m("svg", Se, [...C[0] || (C[0] = [
|
|
24
|
+
u("path", {
|
|
25
|
+
d: "M309.952512 148.95240533a50.331648 50.331648 0 0 1 61.16693332 4.390912L701.94517333 448.49561599a84.91281067 84.91281067 0 0 1 0 126.98692268L371.14129067 870.67852801a50.331648 50.331648 0 0 1-62.76164267 3.27679999c-16.318464-12.058624-19.68264533-34.95253333-7.51479467-51.11808l204.95291734-272.52053333a63.635456 63.635456 0 0 0 0-76.58973867l-204.95291734-272.52053333-1.13595733-1.572864a36.32878933 36.32878933 0 0 1 10.223616-50.659328z",
|
|
26
|
+
"p-id": "5016"
|
|
27
|
+
}, null, -1)
|
|
28
|
+
])]);
|
|
29
|
+
}
|
|
30
|
+
const Me = /* @__PURE__ */ X(Ne, [["render", De]]), Ge = ["title"], Be = {
|
|
31
|
+
key: 2,
|
|
32
|
+
class: "layer-item-span"
|
|
33
|
+
}, Le = { class: "layer-item-actions" }, Ue = { class: "layer-manager-thumbail" }, Te = { class: "layer-item-actions" }, he = /* @__PURE__ */ ae({
|
|
34
|
+
__name: "layer-manager-item",
|
|
35
|
+
props: {
|
|
36
|
+
com: {},
|
|
37
|
+
level: {},
|
|
38
|
+
showText: { type: Boolean }
|
|
39
|
+
},
|
|
40
|
+
emits: ["dragGroup"],
|
|
41
|
+
setup(e, { emit: C }) {
|
|
42
|
+
const d = e, x = C, { showMenu: P } = ie(), H = ne(), r = f(!1), K = window.ikBasicsUrl, N = h(() => me(d.com));
|
|
43
|
+
function w(v) {
|
|
44
|
+
d.com.renameing = v === 1;
|
|
45
|
+
}
|
|
46
|
+
function S(v) {
|
|
47
|
+
d.com.hovered = d.com.selected ? !1 : v === 1;
|
|
48
|
+
}
|
|
49
|
+
function D(v) {
|
|
50
|
+
d.com.hided = v === 1;
|
|
51
|
+
}
|
|
52
|
+
function M(v) {
|
|
53
|
+
d.com.locked = v === 1;
|
|
54
|
+
}
|
|
55
|
+
function V() {
|
|
56
|
+
H.delete(d.com);
|
|
57
|
+
}
|
|
58
|
+
function O() {
|
|
59
|
+
d.com.fold = !d.com.fold;
|
|
60
|
+
}
|
|
61
|
+
function R() {
|
|
62
|
+
d.com.type === g.layer && (r.value = !0, x("dragGroup", { key: "enter" }));
|
|
63
|
+
}
|
|
64
|
+
function z() {
|
|
65
|
+
d.com.type === g.layer && (r.value = !1, x("dragGroup", { key: "leave" }));
|
|
66
|
+
}
|
|
67
|
+
function A() {
|
|
68
|
+
d.com.type === g.layer && (r.value = !1, x("dragGroup", {
|
|
69
|
+
key: "drop",
|
|
70
|
+
level: d.level + 1,
|
|
71
|
+
com: d.com.children?.[0]
|
|
72
|
+
}));
|
|
73
|
+
}
|
|
74
|
+
return (v, t) => {
|
|
75
|
+
const y = ce, E = xe("g-com-icon"), $ = we("focus");
|
|
76
|
+
return n(), m("div", {
|
|
77
|
+
title: e.com.alias,
|
|
78
|
+
class: q(["layer-manager-item", {
|
|
79
|
+
"layer-manager-com": e.com.type === k(g).com,
|
|
80
|
+
"layer-manager-group": e.com.type === k(g).layer,
|
|
81
|
+
"layer-manager-thumbail-wrap": !e.showText,
|
|
82
|
+
"--child-hovered": N.value.hovered || r.value,
|
|
83
|
+
"--child-selected": N.value.selected,
|
|
84
|
+
hided: e.com.hided,
|
|
85
|
+
locked: e.com.locked,
|
|
86
|
+
hovered: e.com.hovered
|
|
87
|
+
}]),
|
|
88
|
+
style: F({
|
|
89
|
+
paddingLeft: `${6 + e.level * 10}px`
|
|
90
|
+
}),
|
|
91
|
+
draggable: "true",
|
|
92
|
+
onMouseenter: t[12] || (t[12] = (i) => S(1)),
|
|
93
|
+
onMouseleave: t[13] || (t[13] = (i) => S(0)),
|
|
94
|
+
onContextmenu: t[14] || (t[14] = (i) => k(P)(i, e.com))
|
|
95
|
+
}, [
|
|
96
|
+
e.com.type === k(g).layer ? (n(), m(j, { key: 0 }, [
|
|
97
|
+
a(y, {
|
|
98
|
+
class: q(["fold-toggle-btn", { "icon-fold": e.com.fold }])
|
|
99
|
+
}, {
|
|
100
|
+
default: s(() => [
|
|
101
|
+
a(Me)
|
|
102
|
+
]),
|
|
103
|
+
_: 1
|
|
104
|
+
}, 8, ["class"]),
|
|
105
|
+
a(y, { class: "layer-item-icon" }, {
|
|
106
|
+
default: s(() => [
|
|
107
|
+
a(Ie)
|
|
108
|
+
]),
|
|
109
|
+
_: 1
|
|
110
|
+
})
|
|
111
|
+
], 64)) : I("", !0),
|
|
112
|
+
e.showText ? (n(), m(j, { key: 1 }, [
|
|
113
|
+
e.com.type === k(g).com ? (n(), p(E, {
|
|
114
|
+
key: 0,
|
|
115
|
+
icon: e.com.icon
|
|
116
|
+
}, null, 8, ["icon"])) : I("", !0),
|
|
117
|
+
e.com.renameing ? W((n(), m("input", {
|
|
118
|
+
key: 1,
|
|
119
|
+
"onUpdate:modelValue": t[0] || (t[0] = (i) => e.com.alias = i),
|
|
120
|
+
class: "layer-item-input",
|
|
121
|
+
onBlur: t[1] || (t[1] = (i) => w(0)),
|
|
122
|
+
onKeydown: t[2] || (t[2] = Y((i) => w(0), ["enter"]))
|
|
123
|
+
}, null, 544)), [
|
|
124
|
+
[
|
|
125
|
+
Z,
|
|
126
|
+
e.com.alias,
|
|
127
|
+
void 0,
|
|
128
|
+
{ trim: !0 }
|
|
129
|
+
],
|
|
130
|
+
[$]
|
|
131
|
+
]) : (n(), m("span", Be, [
|
|
132
|
+
u("span", {
|
|
133
|
+
class: "layer-item-text",
|
|
134
|
+
onDblclick: t[3] || (t[3] = (i) => w(1))
|
|
135
|
+
}, _(e.com.alias), 33)
|
|
136
|
+
])),
|
|
137
|
+
u("div", Le, [
|
|
138
|
+
a(y, {
|
|
139
|
+
class: "action-icon",
|
|
140
|
+
onClick: t[4] || (t[4] = b((i) => D(e.com.hided ? 0 : 1), ["stop"]))
|
|
141
|
+
}, {
|
|
142
|
+
default: s(() => [
|
|
143
|
+
e.com.hided ? (n(), p(te, { key: 0 })) : (n(), p(le, { key: 1 }))
|
|
144
|
+
]),
|
|
145
|
+
_: 1
|
|
146
|
+
}),
|
|
147
|
+
a(y, {
|
|
148
|
+
class: "action-icon",
|
|
149
|
+
onClick: t[5] || (t[5] = b((i) => M(e.com.locked ? 0 : 1), ["stop"]))
|
|
150
|
+
}, {
|
|
151
|
+
default: s(() => [
|
|
152
|
+
e.com.locked ? (n(), p(ee, { key: 0 })) : (n(), p(oe, { key: 1 }))
|
|
153
|
+
]),
|
|
154
|
+
_: 1
|
|
155
|
+
}),
|
|
156
|
+
a(y, {
|
|
157
|
+
class: "action-icon delete-icon",
|
|
158
|
+
onClick: b(V, ["stop"])
|
|
159
|
+
}, {
|
|
160
|
+
default: s(() => [
|
|
161
|
+
a(Ee)
|
|
162
|
+
]),
|
|
163
|
+
_: 1
|
|
164
|
+
})
|
|
165
|
+
])
|
|
166
|
+
], 64)) : (n(), m(j, { key: 2 }, [
|
|
167
|
+
e.com.type === k(g).com ? (n(), m("div", {
|
|
168
|
+
key: 0,
|
|
169
|
+
class: "layer-item-thumbail",
|
|
170
|
+
style: F(`background-image: url(${k(K)}${e.com.img})`)
|
|
171
|
+
}, null, 4)) : I("", !0),
|
|
172
|
+
u("div", Ue, [
|
|
173
|
+
e.com.renameing ? W((n(), m("input", {
|
|
174
|
+
key: 0,
|
|
175
|
+
"onUpdate:modelValue": t[6] || (t[6] = (i) => e.com.alias = i),
|
|
176
|
+
class: "layer-item-input",
|
|
177
|
+
onBlur: t[7] || (t[7] = (i) => w(0)),
|
|
178
|
+
onKeydown: t[8] || (t[8] = Y((i) => w(0), ["enter"]))
|
|
179
|
+
}, null, 544)), [
|
|
180
|
+
[
|
|
181
|
+
Z,
|
|
182
|
+
e.com.alias,
|
|
183
|
+
void 0,
|
|
184
|
+
{ trim: !0 }
|
|
185
|
+
],
|
|
186
|
+
[$]
|
|
187
|
+
]) : (n(), m("span", {
|
|
188
|
+
key: 1,
|
|
189
|
+
class: "layer-item-span",
|
|
190
|
+
onDragenter: R,
|
|
191
|
+
onDragleave: z,
|
|
192
|
+
onDrop: A
|
|
193
|
+
}, [
|
|
194
|
+
u("span", {
|
|
195
|
+
class: "layer-item-text",
|
|
196
|
+
onDblclick: t[9] || (t[9] = (i) => w(1))
|
|
197
|
+
}, _(e.com.alias), 33)
|
|
198
|
+
], 32))
|
|
199
|
+
]),
|
|
200
|
+
u("div", Te, [
|
|
201
|
+
a(y, {
|
|
202
|
+
class: "action-icon",
|
|
203
|
+
onClick: t[10] || (t[10] = b((i) => D(e.com.hided ? 0 : 1), ["stop"]))
|
|
204
|
+
}, {
|
|
205
|
+
default: s(() => [
|
|
206
|
+
e.com.hided ? (n(), p(te, { key: 0 })) : (n(), p(le, { key: 1 }))
|
|
207
|
+
]),
|
|
208
|
+
_: 1
|
|
209
|
+
}),
|
|
210
|
+
a(y, {
|
|
211
|
+
class: "action-icon",
|
|
212
|
+
onClick: t[11] || (t[11] = b((i) => M(e.com.locked ? 0 : 1), ["stop"]))
|
|
213
|
+
}, {
|
|
214
|
+
default: s(() => [
|
|
215
|
+
e.com.locked ? (n(), p(ee, { key: 0 })) : (n(), p(oe, { key: 1 }))
|
|
216
|
+
]),
|
|
217
|
+
_: 1
|
|
218
|
+
})
|
|
219
|
+
])
|
|
220
|
+
], 64)),
|
|
221
|
+
e.com.type === k(g).layer ? (n(), m("div", {
|
|
222
|
+
key: 3,
|
|
223
|
+
class: "group-fold-controller",
|
|
224
|
+
style: F({
|
|
225
|
+
width: `${e.level > 0 ? 50 : 40}px`,
|
|
226
|
+
transform: `translateX(-${6 + e.level * 10}px)`
|
|
227
|
+
}),
|
|
228
|
+
onMouseup: b(O, ["stop"])
|
|
229
|
+
}, null, 36)) : I("", !0)
|
|
230
|
+
], 46, Ge);
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
}), Fe = /* @__PURE__ */ X(he, [["__scopeId", "data-v-3e4dd165"]]), Pe = { class: "layer-manager" }, He = { class: "layer-manager-wrap" }, Ke = { style: { display: "flex", "align-items": "center" } }, Oe = { class: "dialog-footer" }, Re = { class: "dialog-footer" }, ze = /* @__PURE__ */ ae({
|
|
234
|
+
__name: "index",
|
|
235
|
+
setup(e) {
|
|
236
|
+
const C = Ve(), d = ve(), x = ne(), { showMenu: P } = ie(), H = h(() => C.layer.show), r = f({
|
|
237
|
+
visible: !1,
|
|
238
|
+
x: 0,
|
|
239
|
+
y: 0,
|
|
240
|
+
toLevel: 0,
|
|
241
|
+
toIndex: 0,
|
|
242
|
+
toCom: null,
|
|
243
|
+
drop: !1
|
|
244
|
+
}), K = h(() => x.coms);
|
|
245
|
+
function N() {
|
|
246
|
+
x.select("");
|
|
247
|
+
}
|
|
248
|
+
function w(l, o, L) {
|
|
249
|
+
}
|
|
250
|
+
function S(l, o, L) {
|
|
251
|
+
}
|
|
252
|
+
function D(l) {
|
|
253
|
+
r.value.drop = l.key === "drop", l.key === "enter" && (r.value.visible = !0, r.value.y = l.y, r.value.x = l.level * 10, r.value.toLevel = l.level, r.value.toIndex = l.idx, r.value.toCom = l.com);
|
|
254
|
+
}
|
|
255
|
+
function M(l, o) {
|
|
256
|
+
x.select(o.id), P(l, o);
|
|
257
|
+
}
|
|
258
|
+
const V = f(/* @__PURE__ */ new Set()), O = h(() => Array.from(V.value));
|
|
259
|
+
function R(l) {
|
|
260
|
+
x.select(l.id);
|
|
261
|
+
}
|
|
262
|
+
function z(l) {
|
|
263
|
+
R(l);
|
|
264
|
+
}
|
|
265
|
+
function A(l) {
|
|
266
|
+
V.value.delete(l.id);
|
|
267
|
+
}
|
|
268
|
+
function v(l) {
|
|
269
|
+
V.value.add(l.id);
|
|
270
|
+
}
|
|
271
|
+
const t = f(""), y = f("");
|
|
272
|
+
$e(
|
|
273
|
+
() => d.allPages[0]?.id,
|
|
274
|
+
(l) => {
|
|
275
|
+
t.value = l ?? "", y.value = l ?? "";
|
|
276
|
+
},
|
|
277
|
+
{ immediate: !0 }
|
|
278
|
+
);
|
|
279
|
+
const E = f(!1), $ = f("");
|
|
280
|
+
function i(l) {
|
|
281
|
+
if (l === 2) {
|
|
282
|
+
if (!$.value)
|
|
283
|
+
return be({
|
|
284
|
+
message: "新页面名称不能为空",
|
|
285
|
+
type: "warning"
|
|
286
|
+
});
|
|
287
|
+
d.addPages($.value);
|
|
288
|
+
}
|
|
289
|
+
$.value = "", E.value = !1;
|
|
290
|
+
}
|
|
291
|
+
const G = f(!1), B = f({}), de = {
|
|
292
|
+
name: [{ required: !0, message: "请输入名称", trigger: "blur" }]
|
|
293
|
+
}, J = f();
|
|
294
|
+
function se() {
|
|
295
|
+
J.value?.validate((l) => {
|
|
296
|
+
l && (d.editNamePage(B.value), G.value = !1);
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
return (l, o) => {
|
|
300
|
+
const L = fe, U = ke, Q = pe, re = ge, ue = ye;
|
|
301
|
+
return n(), m("div", {
|
|
302
|
+
class: q(["g-aside layer-panel-wp", [{ "--hide": !H.value }]])
|
|
303
|
+
}, [
|
|
304
|
+
u("div", Pe, [
|
|
305
|
+
o[8] || (o[8] = u("div", { class: "layer-manager-top" }, [
|
|
306
|
+
u("div", { class: "layer-num" }, " 图层 ")
|
|
307
|
+
], -1)),
|
|
308
|
+
u("div", He, [
|
|
309
|
+
a(k(Ce), {
|
|
310
|
+
"node-key": "id",
|
|
311
|
+
data: K.value,
|
|
312
|
+
"expand-on-click-node": !1,
|
|
313
|
+
"default-expanded-keys": O.value,
|
|
314
|
+
"empty-text": "暂无图层",
|
|
315
|
+
onNodeClick: z,
|
|
316
|
+
onNodeContextmenu: M,
|
|
317
|
+
onNodeDragOver: S,
|
|
318
|
+
onNodeDragEnter: w,
|
|
319
|
+
onNodeCollapse: A,
|
|
320
|
+
onNodeExpand: v
|
|
321
|
+
}, {
|
|
322
|
+
default: s(({ data: c }) => [
|
|
323
|
+
a(Fe, {
|
|
324
|
+
com: c,
|
|
325
|
+
level: 1,
|
|
326
|
+
"show-text": !0,
|
|
327
|
+
onDragGroup: D
|
|
328
|
+
}, null, 8, ["com"])
|
|
329
|
+
]),
|
|
330
|
+
_: 1
|
|
331
|
+
}, 8, ["data", "default-expanded-keys"]),
|
|
332
|
+
u("div", {
|
|
333
|
+
class: "last-flex-item",
|
|
334
|
+
onClick: N
|
|
335
|
+
}),
|
|
336
|
+
r.value.visible ? (n(), m("div", {
|
|
337
|
+
key: 0,
|
|
338
|
+
class: "layer-move-to-line",
|
|
339
|
+
style: F({
|
|
340
|
+
width: `calc(100% - ${r.value.x}px)`,
|
|
341
|
+
transform: `translate(${r.value.x}px, ${r.value.y}px)`
|
|
342
|
+
})
|
|
343
|
+
}, null, 4)) : I("", !0),
|
|
344
|
+
o[7] || (o[7] = u("div", { class: "draging-wrap" }, null, -1))
|
|
345
|
+
])
|
|
346
|
+
]),
|
|
347
|
+
a(Q, {
|
|
348
|
+
modelValue: E.value,
|
|
349
|
+
"onUpdate:modelValue": o[3] || (o[3] = (c) => E.value = c),
|
|
350
|
+
title: "添加新页面",
|
|
351
|
+
width: "500",
|
|
352
|
+
"append-to": ".screen-editor-root"
|
|
353
|
+
}, {
|
|
354
|
+
footer: s(() => [
|
|
355
|
+
u("div", Oe, [
|
|
356
|
+
a(U, {
|
|
357
|
+
onClick: o[1] || (o[1] = (c) => i(1))
|
|
358
|
+
}, {
|
|
359
|
+
default: s(() => [...o[10] || (o[10] = [
|
|
360
|
+
T(" 取消 ", -1)
|
|
361
|
+
])]),
|
|
362
|
+
_: 1
|
|
363
|
+
}),
|
|
364
|
+
a(U, {
|
|
365
|
+
type: "primary",
|
|
366
|
+
onClick: o[2] || (o[2] = (c) => i(2))
|
|
367
|
+
}, {
|
|
368
|
+
default: s(() => [...o[11] || (o[11] = [
|
|
369
|
+
T(" 确定 ", -1)
|
|
370
|
+
])]),
|
|
371
|
+
_: 1
|
|
372
|
+
})
|
|
373
|
+
])
|
|
374
|
+
]),
|
|
375
|
+
default: s(() => [
|
|
376
|
+
u("div", Ke, [
|
|
377
|
+
o[9] || (o[9] = u("p", { style: { width: "58px" } }, " 名称 ", -1)),
|
|
378
|
+
a(L, {
|
|
379
|
+
modelValue: $.value,
|
|
380
|
+
"onUpdate:modelValue": o[0] || (o[0] = (c) => $.value = c)
|
|
381
|
+
}, null, 8, ["modelValue"])
|
|
382
|
+
])
|
|
383
|
+
]),
|
|
384
|
+
_: 1
|
|
385
|
+
}, 8, ["modelValue"]),
|
|
386
|
+
a(Q, {
|
|
387
|
+
modelValue: G.value,
|
|
388
|
+
"onUpdate:modelValue": o[6] || (o[6] = (c) => G.value = c),
|
|
389
|
+
title: "修改页面名称",
|
|
390
|
+
width: "500px",
|
|
391
|
+
"append-to": ".screen-editor-root"
|
|
392
|
+
}, {
|
|
393
|
+
footer: s(() => [
|
|
394
|
+
u("div", Re, [
|
|
395
|
+
a(U, {
|
|
396
|
+
onClick: o[5] || (o[5] = (c) => G.value = !1)
|
|
397
|
+
}, {
|
|
398
|
+
default: s(() => [...o[12] || (o[12] = [
|
|
399
|
+
T(" 取消 ", -1)
|
|
400
|
+
])]),
|
|
401
|
+
_: 1
|
|
402
|
+
}),
|
|
403
|
+
a(U, {
|
|
404
|
+
type: "primary",
|
|
405
|
+
onClick: se
|
|
406
|
+
}, {
|
|
407
|
+
default: s(() => [...o[13] || (o[13] = [
|
|
408
|
+
T(" 确定 ", -1)
|
|
409
|
+
])]),
|
|
410
|
+
_: 1
|
|
411
|
+
})
|
|
412
|
+
])
|
|
413
|
+
]),
|
|
414
|
+
default: s(() => [
|
|
415
|
+
a(ue, {
|
|
416
|
+
ref_key: "ruleFormRef",
|
|
417
|
+
ref: J,
|
|
418
|
+
model: B.value,
|
|
419
|
+
rules: de,
|
|
420
|
+
"label-width": "auto",
|
|
421
|
+
class: "demo-ruleForm",
|
|
422
|
+
"status-icon": ""
|
|
423
|
+
}, {
|
|
424
|
+
default: s(() => [
|
|
425
|
+
a(re, {
|
|
426
|
+
label: "名称",
|
|
427
|
+
prop: "name"
|
|
428
|
+
}, {
|
|
429
|
+
default: s(() => [
|
|
430
|
+
a(L, {
|
|
431
|
+
modelValue: B.value.name,
|
|
432
|
+
"onUpdate:modelValue": o[4] || (o[4] = (c) => B.value.name = c)
|
|
433
|
+
}, null, 8, ["modelValue"])
|
|
434
|
+
]),
|
|
435
|
+
_: 1
|
|
436
|
+
})
|
|
437
|
+
]),
|
|
438
|
+
_: 1
|
|
439
|
+
}, 8, ["model"])
|
|
440
|
+
]),
|
|
441
|
+
_: 1
|
|
442
|
+
}, 8, ["modelValue"])
|
|
443
|
+
], 2);
|
|
444
|
+
};
|
|
445
|
+
}
|
|
446
|
+
}), oo = /* @__PURE__ */ X(ze, [["__scopeId", "data-v-1a745476"]]);
|
|
447
|
+
export {
|
|
448
|
+
oo as default
|
|
449
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createElementBlock as i, openBlock as l, createElementVNode as h, defineComponent as W, ref as S, computed as u, watch as X, createBlock as r, unref as n, normalizeClass as b, withCtx as s, createVNode as c, renderSlot as z, Fragment as I, normalizeStyle as Y, renderList as
|
|
1
|
+
import { createElementBlock as i, openBlock as l, createElementVNode as h, defineComponent as W, ref as S, computed as u, watch as X, createBlock as r, unref as n, normalizeClass as b, withCtx as s, createVNode as c, renderSlot as z, Fragment as I, normalizeStyle as Y, renderList as N, toDisplayString as $, createCommentVNode as f, withModifiers as y } from "vue";
|
|
2
2
|
import { ElCollapse as Z, ElCollapseItem as ee, ElTabs as te, ElTabPane as le, ElSwitch as ae, ElTooltip as E, ElIcon as x } from "element-plus";
|
|
3
|
-
import { _ as U, U as A,
|
|
4
|
-
import { I as se } from "./copy-
|
|
5
|
-
import { I as ne } from "./delete-
|
|
6
|
-
import { I as ie } from "./plus-
|
|
3
|
+
import { _ as U, U as A, aU as g, aH as oe } from "./index-CZJriuFt.js";
|
|
4
|
+
import { I as se } from "./copy-C5Pi6nJh.js";
|
|
5
|
+
import { I as ne } from "./delete-C2EW4JCs.js";
|
|
6
|
+
import { I as ie } from "./plus-3mdO6yXY.js";
|
|
7
7
|
const de = {}, ue = {
|
|
8
8
|
t: "1641143458555",
|
|
9
9
|
class: "icon",
|
|
@@ -167,7 +167,7 @@ const pe = /* @__PURE__ */ U(me, [["render", ve]]), be = {
|
|
|
167
167
|
e.list.push(t);
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
-
function
|
|
170
|
+
function H(t) {
|
|
171
171
|
const { tab: o, label: d } = e;
|
|
172
172
|
return typeof o == "function" ? o(e.list[t]) : (o || d) + (t + 1);
|
|
173
173
|
}
|
|
@@ -314,10 +314,10 @@ const pe = /* @__PURE__ */ U(me, [["render", ve]]), be = {
|
|
|
314
314
|
})
|
|
315
315
|
}, {
|
|
316
316
|
default: s(() => [
|
|
317
|
-
(l(!0), i(I, null,
|
|
317
|
+
(l(!0), i(I, null, N(a.list, (d, m) => (l(), r(n(le), {
|
|
318
318
|
key: m,
|
|
319
319
|
name: m,
|
|
320
|
-
label:
|
|
320
|
+
label: H(m)
|
|
321
321
|
}, {
|
|
322
322
|
default: s(() => [
|
|
323
323
|
z(t.$slots, "default", { item: d })
|
|
@@ -327,14 +327,14 @@ const pe = /* @__PURE__ */ U(me, [["render", ve]]), be = {
|
|
|
327
327
|
]),
|
|
328
328
|
_: 3
|
|
329
329
|
}, 8, ["modelValue", "style"])) : (l(), i("div", xe, [
|
|
330
|
-
(l(!0), i(I, null,
|
|
330
|
+
(l(!0), i(I, null, N(a.list, (d, m) => (l(), i("div", {
|
|
331
331
|
key: m,
|
|
332
332
|
class: "g-field-tabs-column-item"
|
|
333
333
|
}, [
|
|
334
334
|
h("span", {
|
|
335
335
|
class: b(["g-field-tabs-column-item-head", { "--selected": m === p.value }]),
|
|
336
336
|
onClick: (Te) => Q(m)
|
|
337
|
-
}, $(
|
|
337
|
+
}, $(H(m)), 11, Ve),
|
|
338
338
|
z(t.$slots, "default", { item: d })
|
|
339
339
|
]))), 128))
|
|
340
340
|
]))
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { storeToRefs as Le } from "pinia";
|
|
2
2
|
import { defineComponent as V, computed as b, createElementBlock as Z, createCommentVNode as ue, openBlock as O, createElementVNode as L, normalizeStyle as R, toDisplayString as fe, h as M, withModifiers as j, getCurrentInstance as Se, ref as $, inject as ze, resolveComponent as te, watchEffect as ke, onMounted as xe, onUnmounted as Te, watch as me, createBlock as de, createVNode as Ie, TransitionGroup as Ee, withCtx as Re, Fragment as We, renderList as Xe } from "vue";
|
|
3
|
-
import { u as ne, _ as U,
|
|
4
|
-
import { c as Oe, l as Ge } from "./datav-
|
|
3
|
+
import { u as ne, _ as U, b5 as Ye, b6 as Q, b7 as Be, a as pe, b8 as De, b9 as Ae, ba as Fe } from "./index-CZJriuFt.js";
|
|
4
|
+
import { c as Oe, l as Ge } from "./datav-BER95ty-.js";
|
|
5
5
|
import { u as He } from "./toolbar-Dhf_BVAU.js";
|
|
6
|
-
import { o as S, a as z, u as be, b as Ne, c as K } from "./index-
|
|
7
|
-
import { w as je } from "./ScreenPreview-
|
|
8
|
-
import { u as Ce } from "./cache-
|
|
9
|
-
import "
|
|
10
|
-
import "element-plus/es/components/base/style/css";
|
|
11
|
-
import "element-plus/es/components/icon/style/css";
|
|
12
|
-
import { I as Ve } from "./line-show-C7Nn6vkO.js";
|
|
6
|
+
import { o as S, a as z, u as be, b as Ne, c as K } from "./index-CWbZmzNT.js";
|
|
7
|
+
import { w as je } from "./ScreenPreview-CV95NWOd.js";
|
|
8
|
+
import { u as Ce } from "./cache-lsjsKZHu.js";
|
|
9
|
+
import { I as Ve } from "./line-show-Bp4G-LqO.js";
|
|
13
10
|
const qe = V({
|
|
14
11
|
name: "AlignLine",
|
|
15
12
|
setup() {
|
|
@@ -1111,7 +1108,7 @@ function Ct(e, t, n, o, s, a) {
|
|
|
1111
1108
|
t[4] || (t[4] = L("div", { class: "thumbnail" }, null, -1))
|
|
1112
1109
|
]);
|
|
1113
1110
|
}
|
|
1114
|
-
const
|
|
1111
|
+
const Rt = /* @__PURE__ */ U(pt, [["render", Ct], ["__scopeId", "data-v-e96d8113"]]);
|
|
1115
1112
|
export {
|
|
1116
|
-
|
|
1113
|
+
Rt as default
|
|
1117
1114
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { watch as m, unref as p } from "vue";
|
|
2
|
+
import { F as u } from "./index-CZJriuFt.js";
|
|
3
|
+
const c = ({ from: e, replacement: t, scope: r, version: a, ref: i, type: o = "API" }, s) => {
|
|
4
|
+
m(
|
|
5
|
+
() => p(s),
|
|
6
|
+
(d) => {
|
|
7
|
+
d && u(
|
|
8
|
+
r,
|
|
9
|
+
`[${o}] ${e} is about to be deprecated in version ${a}, please use ${t} instead.
|
|
10
|
+
For more detail, please visit: ${i}
|
|
11
|
+
`
|
|
12
|
+
);
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
immediate: !0
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
c as u
|
|
21
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as s, createElementBlock as i, openBlock as n, normalizeClass as m, createVNode as u, createCommentVNode as c, unref as r, toDisplayString as f } from "vue";
|
|
2
2
|
import { ElSwitch as g } from "element-plus";
|
|
3
|
-
import { U as a } from "./index-
|
|
3
|
+
import { U as a } from "./index-CZJriuFt.js";
|
|
4
4
|
const b = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "g-input__caption"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as p, computed as c, createBlock as u, openBlock as t, unref as a, normalizeClass as B, withCtx as i, createVNode as n, mergeProps as r, createElementBlock as o, createCommentVNode as m, withModifiers as v, createElementVNode as f, toDisplayString as s, renderSlot as w } from "vue";
|
|
2
2
|
import { ElRow as C, ElCol as g, ElSwitch as N, ElTooltip as T } from "element-plus";
|
|
3
|
-
import { U as b } from "./index-
|
|
3
|
+
import { U as b } from "./index-CZJriuFt.js";
|
|
4
4
|
const M = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "g-field-show-placeholder"
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import { createElementBlock as o, openBlock as i, createElementVNode as l, defineComponent as B, computed as C, ref as v, normalizeClass as L, createVNode as n, createCommentVNode as x, unref as u, withCtx as c, withDirectives as $, withModifiers as D, toDisplayString as N } from "vue";
|
|
1
|
+
import { _, U as v } from "./index-CZJriuFt.js";
|
|
2
|
+
import { v as b } from "./el-loading-Cgwgez55.js";
|
|
3
|
+
import { createElementBlock as o, openBlock as i, createElementVNode as l, defineComponent as B, computed as C, ref as g, normalizeClass as L, createVNode as n, createCommentVNode as x, unref as u, withCtx as c, withDirectives as $, withModifiers as N, toDisplayString as D } from "vue";
|
|
5
4
|
import { ElInput as T, ElIcon as E, ElUpload as j, ElMessage as M } from "element-plus";
|
|
6
|
-
import { u as A } from "./use-env-url-
|
|
7
|
-
import { _, U as g } from "./index-D6ZS8SXJ.js";
|
|
5
|
+
import { u as A } from "./use-env-url-BM9dgwx_.js";
|
|
8
6
|
const F = {}, H = {
|
|
9
7
|
t: "1639124202823",
|
|
10
8
|
class: "icon",
|
|
@@ -88,16 +86,16 @@ const K = /* @__PURE__ */ _(q, [["render", J]]), Q = { class: "g-upload-image-co
|
|
|
88
86
|
default: !1
|
|
89
87
|
}
|
|
90
88
|
},
|
|
91
|
-
emits: [
|
|
89
|
+
emits: [v],
|
|
92
90
|
setup(e, { emit: a }) {
|
|
93
91
|
const f = e, h = a, { setUrl: z } = A();
|
|
94
92
|
C(() => z(f.modelValue || ""));
|
|
95
|
-
const r =
|
|
93
|
+
const r = g(!1), p = g({
|
|
96
94
|
key: "",
|
|
97
95
|
token: "",
|
|
98
96
|
projectId: "",
|
|
99
97
|
dir: ""
|
|
100
|
-
}), d =
|
|
98
|
+
}), d = g(!1);
|
|
101
99
|
async function S(s) {
|
|
102
100
|
try {
|
|
103
101
|
return r.value = !0, p.value.token = localStorage.getItem(void 0) || "", p.value.dir = f.dir, !0;
|
|
@@ -109,10 +107,10 @@ const K = /* @__PURE__ */ _(q, [["render", J]]), Q = { class: "g-upload-image-co
|
|
|
109
107
|
function k(s, t, y) {
|
|
110
108
|
r.value = !1;
|
|
111
109
|
const m = s;
|
|
112
|
-
m.success ? h(
|
|
110
|
+
m.success ? h(v, `${m.data.path}`) : M.error(m.error);
|
|
113
111
|
}
|
|
114
112
|
function w(s) {
|
|
115
|
-
h(
|
|
113
|
+
h(v, s);
|
|
116
114
|
}
|
|
117
115
|
function I() {
|
|
118
116
|
f.modelValue && (d.value = !0);
|
|
@@ -179,7 +177,7 @@ const K = /* @__PURE__ */ _(q, [["render", J]]), Q = { class: "g-upload-image-co
|
|
|
179
177
|
t[1] || (t[1] = l("span", null, "更改", -1)),
|
|
180
178
|
t[2] || (t[2] = l("p", { style: { padding: "0 10px" } }, " | ", -1)),
|
|
181
179
|
l("span", {
|
|
182
|
-
onClick:
|
|
180
|
+
onClick: N(V, ["stop"])
|
|
183
181
|
}, "删除")
|
|
184
182
|
])) : x("", !0)
|
|
185
183
|
], 32)), [
|
|
@@ -188,11 +186,11 @@ const K = /* @__PURE__ */ _(q, [["render", J]]), Q = { class: "g-upload-image-co
|
|
|
188
186
|
]),
|
|
189
187
|
_: 1
|
|
190
188
|
}, 8, ["action", "multiple", "data"]),
|
|
191
|
-
e.label ? (i(), o("span", X,
|
|
189
|
+
e.label ? (i(), o("span", X, D(e.label), 1)) : x("", !0)
|
|
192
190
|
], 2);
|
|
193
191
|
};
|
|
194
192
|
}
|
|
195
|
-
}),
|
|
193
|
+
}), ne = /* @__PURE__ */ _(Y, [["__scopeId", "data-v-b874c219"]]);
|
|
196
194
|
export {
|
|
197
|
-
|
|
195
|
+
ne as default
|
|
198
196
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createElementBlock as e, openBlock as c, createElementVNode as i, defineComponent as h, resolveComponent as r, createBlock as o, unref as d, withCtx as v } from "vue";
|
|
2
2
|
import { ElIcon as a } from "element-plus";
|
|
3
|
-
import { _ as s } from "./index-
|
|
4
|
-
import { I as w } from "./line-show-
|
|
3
|
+
import { _ as s } from "./index-CZJriuFt.js";
|
|
4
|
+
import { I as w } from "./line-show-Bp4G-LqO.js";
|
|
5
5
|
const m = {}, u = {
|
|
6
6
|
t: "1710317000000",
|
|
7
7
|
class: "icon",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as d, createElementBlock as i, openBlock as l, normalizeClass as c, createVNode as x, createCommentVNode as y, unref as g, createSlots as p, withCtx as a, createTextVNode as m, toDisplayString as t } from "vue";
|
|
2
2
|
import { ElInputNumber as b } from "element-plus";
|
|
3
|
-
import { U as u } from "./index-
|
|
3
|
+
import { U as u } from "./index-CZJriuFt.js";
|
|
4
4
|
const N = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "g-input__caption"
|