bp-aicc-editor 1.2.521 → 1.2.523
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 → ScreenPreview-yUHo60be.js} +51 -105
- package/lib/atlas-BMjKIOwk.js +3891 -0
- package/lib/{button-base-DHNVBrQ9.js → button-base-CXl1z-_m.js} +1 -1
- package/lib/{cache-lsjsKZHu.js → cache-DbHSDjJy.js} +1 -1
- package/lib/config-provider-Bui8m4GV.js +62 -0
- package/lib/{container-group-DqAcKEBy.js → container-group-D6Extorz.js} +1 -1
- package/lib/{copy-C5Pi6nJh.js → copy-CsCmPy4J.js} +1 -1
- package/lib/{datav-BER95ty-.js → datav-BTD-HJhV.js} +27 -27
- package/lib/{delete-C2EW4JCs.js → delete-COj0ilHh.js} +1 -1
- package/lib/{divider-BazBGRgV.js → divider-B3K_URZc.js} +1 -1
- package/lib/dropdown-CWvnuJsO.js +105 -0
- package/lib/{edit-B2pfd2q1.js → edit-vdJaEine.js} +1 -1
- package/lib/{el-form-item-BDdxk5F5.js → el-form-item-BbaNohQv.js} +51 -51
- package/lib/{el-link-D2ol9BHQ.js → el-link-Dq721Q7-.js} +12 -12
- package/lib/{el-loading-Cgwgez55.js → el-loading-DOxnN3bm.js} +17 -17
- package/lib/{fullscreen-OChDsSnk.js → fullscreen-DXSogbcG.js} +1 -1
- package/lib/{image-C5ZAY3yt.js → image-Cu7JTK9-.js} +1 -1
- package/lib/{index-Ci8AbyIq.js → index-68soBnbK.js} +8 -8
- package/lib/{index-BatyRVpL.js → index-B-d8WIg1.js} +7 -7
- package/lib/{index-BfIEunKC.js → index-B4zV3cxV.js} +18 -17
- package/lib/{index-CZJriuFt.js → index-B8QqTLfg.js} +4974 -4898
- package/lib/index-BBMItxtW.js +619 -0
- package/lib/{index-CGrR_i0u.js → index-BMm0MRz5.js} +14 -15
- package/lib/index-BMn8EzMD.js +1027 -0
- package/lib/index-BNTW8F-9.js +322 -0
- package/lib/index-BTI518b1.js +69 -0
- package/lib/{index-BWPVi43E.js → index-BZxUAT4z.js} +4 -4
- package/lib/{index-Ck7uFsPE.js → index-BdYTc41r.js} +24 -24
- package/lib/index-BfI55Ioc.js +404 -0
- package/lib/{index-BhP9eBCp.js → index-BmAcetSf.js} +19 -20
- package/lib/index-C35Yp3i8.js +545 -0
- package/lib/{index-B19lEYui.js → index-C6GUNRx9.js} +2 -2
- package/lib/index-CC28_8Jl.js +567 -0
- package/lib/index-CDhmvVt8.js +338 -0
- package/lib/index-CDx0y0fp.js +144 -0
- package/lib/{el-button-DvLKp6Ga.js → index-CJjljoJG.js} +106 -106
- package/lib/index-CNCgXPiO.js +235 -0
- package/lib/{index-CWbZmzNT.js → index-CPa_MnOD.js} +30 -29
- package/lib/index-CW6ljdNf.js +1582 -0
- package/lib/index-C_WopEui.js +513 -0
- package/lib/{index-CX_Ghcb6.js → index-CejowjGd.js} +56 -53
- package/lib/{index-BwCQWH-N.js → index-CfZXOvi-.js} +42 -40
- package/lib/{index-CVsy2qTh.js → index-CgzRTmPh.js} +16 -15
- package/lib/index-CmzuNM9v.js +32 -0
- package/lib/index-CrxcAFt8.js +5343 -0
- package/lib/{index-C7k49L2T.js → index-CuHA7QXu.js} +10 -10
- package/lib/{index-qVyixI57.js → index-CyBGAB7D.js} +21 -20
- package/lib/index-D6J7coU0.js +129 -0
- package/lib/index-DDHxrdAo.js +1773 -0
- package/lib/index-DDL-yqq0.js +1401 -0
- package/lib/{index-BPcvYtHf.js → index-DOxy-bey.js} +6 -6
- package/lib/{index-CVE37oE7.js → index-DOyr0BHr.js} +7 -7
- package/lib/index-DPOanmXI.js +887 -0
- package/lib/{index-3pzVrvby.js → index-DR_husZg.js} +46 -46
- package/lib/{el-tab-pane-DD2eM9rB.js → index-DUzOCQrW.js} +125 -124
- package/lib/{index-CGFEhUh9.js → index-DVYI-g8Q.js} +53 -52
- package/lib/index-DVyjilLy.js +51 -0
- package/lib/{index-CJyYGViv.js → index-DWAJ9GyC.js} +9 -9
- package/lib/index-Dj2qCwPD.js +178 -0
- package/lib/{index-D4X0_jbv.js → index-Dx2Gld1J.js} +32 -32
- package/lib/{index-C2XeCqtq.js → index-E9T-y2Yz.js} +3 -3
- package/lib/{index-Buoc0ISP.js → index-FlmXAW0Z.js} +60 -58
- package/lib/index-NqqOvc6V.js +169 -0
- package/lib/{index-BkdiXCRY.js → index-ObKRNOmJ.js} +6 -7
- package/lib/index-bOWjoplU.js +448 -0
- package/lib/{index-CXQ258ID.js → index-buU8mDzi.js} +15 -16
- package/lib/{index-tbhuYbb0.js → index-mGKAWDJZ.js} +11 -12
- package/lib/index.es.js +4 -4
- package/lib/index.umd.js +46 -40
- package/lib/{layer-setting-panel-VvDSQ-cn.js → layer-setting-panel-BGPj32nP.js} +2 -2
- package/lib/{line-show-Bp4G-LqO.js → line-show-DUn1bu_P.js} +1 -1
- package/lib/{multi-layout-config-drSy7ezf.js → multi-layout-config-BTWxJeuc.js} +7 -8
- package/lib/{multiline-text-D89kYrA2.js → multiline-text-CPJdCWJ7.js} +1 -1
- package/lib/{navigation-YAGxZ0OT.js → navigation-ZLJaBOUj.js} +1 -1
- package/lib/page-config-CHP07Ndf.js +253 -0
- package/lib/{page-tabs-wFeNBY4c.js → page-tabs-CKLhgrip.js} +45 -41
- package/lib/{plus-3mdO6yXY.js → plus-xgpQU22I.js} +1 -1
- package/lib/raf-CJog_tcv.js +6 -0
- package/lib/refs-DZMysoBI.js +8 -0
- package/lib/{requestOld-DRcjsmRQ.js → requestOld-CaGzCXrV.js} +97 -96
- package/lib/{schema-BsnIOGBI.js → schema-BaFWGeFt.js} +1 -1
- package/lib/{schema-_APJMUW3.js → schema-CUR-UK2S.js} +44 -41
- package/lib/{schema-BavJE-SK.js → schema-WUk7XVq7.js} +58 -54
- package/lib/{schema-qKI1F8Bt.js → schema-geZfujv8.js} +1 -1
- package/lib/{schema-BflqDw-a.js → schema-iosjRxCC.js} +1 -1
- package/lib/{schema-Bo30dbBx.js → schema-tuPllxn6.js} +1 -1
- package/lib/scroll-CWfl60Tu.js +58 -0
- package/lib/{setting-panel-BgzN3BUP.js → setting-panel-0qLcwYyT.js} +154 -151
- package/lib/{show-C4AeWlKj.js → show-BCwE3hGY.js} +1 -1
- package/lib/{stepper-D5EFeJWG.js → stepper-Bud1Jppr.js} +1 -1
- package/lib/strings-BvUQWzDM.js +6 -0
- package/lib/style.css +1 -1
- package/lib/{switch-B0dR4LM_.js → switch-VlaUmSpJ.js} +1 -1
- package/lib/{unlock-Cq9PLhBA.js → unlock-B2FVPQlm.js} +1 -1
- package/lib/{use-env-url-BM9dgwx_.js → use-env-url-D1p8ib2L.js} +1 -1
- package/lib/use-global-config-D_yoqf3Q.js +90 -0
- package/lib/validator-BOXH2OMA.js +5 -0
- package/lib/{vnode-B_Dj8zxu.js → vnode-Bxs1g06p.js} +1 -1
- package/package.json +1 -1
- package/lib/atlas-DsmLq2V0.js +0 -38
- package/lib/el-overlay-BK0_UIU6.js +0 -704
- package/lib/index-B1yAU2Cb.js +0 -390
- package/lib/index-BCFXuK7k.js +0 -68
- package/lib/index-BD4Jwo8Z.js +0 -449
- package/lib/index-BMWqf88L.js +0 -356
- package/lib/index-Belsn8kt.js +0 -107
- package/lib/index-CIADz1i0.js +0 -8494
- package/lib/index-DKTrbqcA.js +0 -56
- package/lib/index-Ge_d2xqD.js +0 -127
- package/lib/page-config-Cmsi8Vpr.js +0 -582
- package/lib/strings-_mHAdgA4.js +0 -6
- package/lib/use-global-config-CflpFoxU.js +0 -115
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as V, inject as y, resolveComponent as m, createElementBlock as s, createCommentVNode as p, unref as l, openBlock as f, createElementVNode as u, createVNode as o, withCtx as r, Fragment as v } from "vue";
|
|
2
|
-
import { c as b } from "./index-
|
|
3
|
-
import { _ as x } from "./index-
|
|
2
|
+
import { c as b } from "./index-BTI518b1.js";
|
|
3
|
+
import { _ as x } from "./index-B8QqTLfg.js";
|
|
4
4
|
const U = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "config-manager-page"
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { createElementBlock as d, openBlock as h, createElementVNode as c, defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import { _ as m, a as T, bb as g } from "./index-CZJriuFt.js";
|
|
1
|
+
import { createElementBlock as d, openBlock as h, createElementVNode as c, defineComponent as b, resolveComponent as H, createVNode as o, withCtx as r, unref as l, normalizeClass as V } from "vue";
|
|
2
|
+
import { _ as m, a as T, E as v, bg as g } from "./index-B8QqTLfg.js";
|
|
4
3
|
const L = {}, W = {
|
|
5
4
|
t: "1656856199489",
|
|
6
5
|
class: "icon",
|
|
@@ -145,7 +144,7 @@ function ht(a, t) {
|
|
|
145
144
|
}, null, -1)
|
|
146
145
|
])]);
|
|
147
146
|
}
|
|
148
|
-
const mt = /* @__PURE__ */ m(lt, [["render", ht]]), ft = { class: "config-manager-page" }, vt = { class: "config-manager-body" }, gt = { class: "multi-layout-config" }, _t = /* @__PURE__ */
|
|
147
|
+
const mt = /* @__PURE__ */ m(lt, [["render", ht]]), ft = { class: "config-manager-page" }, vt = { class: "config-manager-body" }, gt = { class: "multi-layout-config" }, _t = /* @__PURE__ */ b({
|
|
149
148
|
__name: "multi-layout-config",
|
|
150
149
|
props: {
|
|
151
150
|
selectedCount: {}
|
|
@@ -200,17 +199,17 @@ const mt = /* @__PURE__ */ m(lt, [["render", ht]]), ft = { class: "config-manage
|
|
|
200
199
|
const n = g.sortBy(t.selectedComs, (s) => s.attr.x), e = n.length;
|
|
201
200
|
if (e < 2)
|
|
202
201
|
return;
|
|
203
|
-
const i = n[0].attr.x, { x: _, w } = n[e - 1].attr,
|
|
202
|
+
const i = n[0].attr.x, { x: _, w } = n[e - 1].attr, x = _ + w - i, p = n.reduce((s, z) => s + z.attr.w, 0), C = Math.floor((x - p) / (n.length - 1));
|
|
204
203
|
let u = 0;
|
|
205
204
|
n.forEach((s) => {
|
|
206
205
|
s.attr.x = i + u, u += C + s.attr.w;
|
|
207
206
|
}), f();
|
|
208
207
|
}
|
|
209
|
-
function
|
|
208
|
+
function A() {
|
|
210
209
|
const n = g.sortBy(t.selectedComs, (s) => s.attr.y), e = n.length;
|
|
211
210
|
if (e < 2)
|
|
212
211
|
return;
|
|
213
|
-
const i = n[0].attr.y, { y: _, h: w } = n[e - 1].attr,
|
|
212
|
+
const i = n[0].attr.y, { y: _, h: w } = n[e - 1].attr, x = _ + w - i, p = n.reduce((s, z) => s + z.attr.h, 0), C = Math.floor((x - p) / (n.length - 1));
|
|
214
213
|
let u = 0;
|
|
215
214
|
n.forEach((s) => {
|
|
216
215
|
s.attr.y = i + u, u += C + s.attr.h;
|
|
@@ -302,7 +301,7 @@ const mt = /* @__PURE__ */ m(lt, [["render", ht]]), ft = { class: "config-manage
|
|
|
302
301
|
o(l(v), {
|
|
303
302
|
class: V(["datav-icon", { disable: a.selectedCount < 3 }]),
|
|
304
303
|
title: "垂直",
|
|
305
|
-
onClick:
|
|
304
|
+
onClick: A
|
|
306
305
|
}, {
|
|
307
306
|
default: r(() => [
|
|
308
307
|
o(mt)
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import { _ as r, u as A, bZ as c, k as L, E } from "./index-B8QqTLfg.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import { createElementBlock as g, openBlock as a, createElementVNode as t, defineComponent as y, computed as H, resolveComponent as s, createVNode as l, withCtx as i, createTextVNode as U, Fragment as Z, renderList as x, createBlock as p } from "vue";
|
|
4
|
+
import { I as F } from "./fullscreen-DXSogbcG.js";
|
|
5
|
+
import { u as G } from "./toolbar-Dhf_BVAU.js";
|
|
6
|
+
import { E as N } from "./index-CJjljoJG.js";
|
|
7
|
+
import { E as T, a as W } from "./index-CDhmvVt8.js";
|
|
8
|
+
const P = {}, R = {
|
|
9
|
+
t: "1640016074048",
|
|
10
|
+
class: "icon",
|
|
11
|
+
viewBox: "0 0 1024 1024",
|
|
12
|
+
version: "1.1",
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
+
"p-id": "3997",
|
|
15
|
+
width: "64",
|
|
16
|
+
height: "64"
|
|
17
|
+
};
|
|
18
|
+
function j(o, e) {
|
|
19
|
+
return a(), g("svg", R, [...e[0] || (e[0] = [
|
|
20
|
+
t("path", {
|
|
21
|
+
d: "M299.87 512L512 299.87 724.13 512 512 724.13 299.87 512z m88.5975 3.75L515.75 643.025 643.025 515.75 515.75 388.475 388.475 515.75z m-225.2775-3.735l78.9825 78.9825L204.49999999 628.67 87.83 512 204.49999999 395.33l37.68750001 37.6875-78.9975 78.9975z m348.795 348.795L433.0025 781.8275 395.33 819.50000001 512 936.17 628.67 819.50000001l-37.6875-37.68750001-78.9975 78.9975zM512 163.205l78.9825 78.9825L628.67 204.49999999 512 87.83 395.33 204.49999999l37.6875 37.68750001L512 163.205zM860.795 512L781.8125 433.0175 819.50000001 395.33 936.17 512 819.50000001 628.67l-37.68750001-37.6875L860.795 512z",
|
|
22
|
+
"p-id": "3998"
|
|
23
|
+
}, null, -1)
|
|
24
|
+
])]);
|
|
25
|
+
}
|
|
26
|
+
const O = /* @__PURE__ */ r(P, [["render", j]]), q = {}, D = {
|
|
27
|
+
t: "1640016146495",
|
|
28
|
+
class: "icon",
|
|
29
|
+
viewBox: "0 0 1024 1024",
|
|
30
|
+
version: "1.1",
|
|
31
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
32
|
+
"p-id": "3997",
|
|
33
|
+
width: "64",
|
|
34
|
+
height: "64"
|
|
35
|
+
};
|
|
36
|
+
function J(o, e) {
|
|
37
|
+
return a(), g("svg", D, [...e[0] || (e[0] = [
|
|
38
|
+
t("path", {
|
|
39
|
+
d: "M591.26635742 725.40942383l-52.23999023 52.23999022V604.77954102c0-12.77160645-10.29968262-23.07128906-23.07128907-23.07128907s-23.07128906 10.29968262-23.07128907 23.07128907v174.92980957l-52.23999022-52.23999024c-8.98132325-8.98132325-23.64807129-8.98132325-32.62939453 0-8.98132325 8.98132325-8.98132325 23.64807129 0 32.62939453l90.63720703 90.55480957c4.53186036 4.53186036 10.38208007 6.7565918 16.31469726 6.7565918s11.78283692-2.22473145 16.31469727-6.7565918l92.61474609-92.61474609c8.98132325-8.98132325 8.98132325-23.64807129 0-32.62939453-8.98132325-8.98132325-23.64807129-8.98132325-32.62939453 0zM422.92834471 306.58312988c5.93261719 0 11.78283692-2.22473145 16.31469728-6.75659179l52.23999024-52.23999023v179.46166991c0 12.77160645 10.29968262 23.07128906 23.07128906 23.07128907s23.07128906-10.29968262 23.07128907-23.07128906V245.60900878l52.23999023 52.23999025c8.98132325 8.98132325 23.64807129 8.98132325 32.62939452 0 8.98132325-8.98132325 8.98132325-23.64807129 0-32.62939453l-90.63720704-90.63720704c-4.36706543-4.36706543-10.21728516-6.7565918-16.31469725-6.7565918s-11.94763184 2.38952637-16.31469727 6.7565918L406.61364746 267.19714355c-8.98132325 8.98132325-8.98132325 23.64807129 1e-8 32.62939454 4.53186036 4.53186036 10.46447754 6.7565918 16.31469726 6.7565918z",
|
|
40
|
+
"p-id": "3998"
|
|
41
|
+
}, null, -1),
|
|
42
|
+
t("path", {
|
|
43
|
+
d: "M867.95703125 90.125H156.04296875C119.70568847 90.125 90.125 119.70568847 90.125 156.04296875v711.9140625c0 36.33728028 29.58068848 65.91796875 65.91796875 65.91796875h711.9140625c36.33728028 0 65.91796875-29.58068848 65.91796875-65.91796875V156.04296875c0-36.33728028-29.58068848-65.91796875-65.91796875-65.91796875z m26.3671875 777.83203125c0 14.50195313-11.86523438 26.3671875-26.3671875 26.3671875H156.04296875c-14.50195313 0-26.3671875-11.86523438-26.3671875-26.3671875V156.04296875c0-14.50195313 11.86523438-26.3671875 26.3671875-26.3671875h711.9140625c14.50195313 0 26.3671875 11.86523438 26.3671875 26.3671875v711.9140625z",
|
|
44
|
+
"p-id": "3999"
|
|
45
|
+
}, null, -1)
|
|
46
|
+
])]);
|
|
47
|
+
}
|
|
48
|
+
const K = /* @__PURE__ */ r(q, [["render", J]]), Q = {}, X = {
|
|
49
|
+
t: "1640016120189",
|
|
50
|
+
class: "icon",
|
|
51
|
+
viewBox: "0 0 1024 1024",
|
|
52
|
+
version: "1.1",
|
|
53
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
54
|
+
"p-id": "3997",
|
|
55
|
+
width: "64",
|
|
56
|
+
height: "64"
|
|
57
|
+
};
|
|
58
|
+
function Y(o, e) {
|
|
59
|
+
return a(), g("svg", X, [...e[0] || (e[0] = [
|
|
60
|
+
t("path", {
|
|
61
|
+
d: "M758.03881836 403.40014647c-8.98132325-8.98132325-23.64807129-8.98132325-32.62939453 2e-8-8.98132325 8.98132325-8.98132325 23.64807129 0 32.62939453l52.23999022 52.23999023H604.77954102c-12.77160645 0-23.07128906 10.29968262-23.07128907 23.07128906s10.29968262 23.07128906 23.07128907 23.07128906h174.92980957l-52.23999024 52.23999024c-8.98132325 8.98132325-8.98132325 23.64807129 0 32.62939453 4.53186036 4.53186036 10.38208007 6.7565918 16.31469726 6.7565918s11.78283692-2.22473145 16.31469727-6.7565918l90.55480957-90.63720703c8.98132325-8.98132325 8.98132325-23.64807129 0-32.62939453L758.03881836 403.40014647zM420.45642089 489.67028809H245.60900878l52.23999025-52.23999022c8.98132325-8.98132325 8.98132325-23.64807129 0-32.62939454-8.98132325-8.98132325-23.64807129-8.98132325-32.62939453 0l-90.63720704 90.63720702c-8.56933594 8.48693847-9.06372071 22.164917-1.23596191 31.31103515l79.43115234 92.61474609c4.53186036 5.35583498 11.04125977 8.07495117 17.55065918 8.07495118 5.35583498 0 10.62927247-1.81274414 14.99633789-5.52062988 9.64050293-8.32214356 10.79406739-22.82409669 2.47192382-32.54699707L241.90112305 535.89526367h178.4729004c12.77160645 0 23.07128906-10.29968262 23.07128905-23.07128906s-10.21728516-23.15368653-22.98889161-23.15368654z",
|
|
62
|
+
"p-id": "3998"
|
|
63
|
+
}, null, -1),
|
|
64
|
+
t("path", {
|
|
65
|
+
d: "M864.66113281 93.42089844H159.33886719C123.00158691 93.42089844 93.42089844 123.00158691 93.42089844 159.33886719v705.32226562c0 36.33728028 29.58068848 65.91796875 65.91796875 65.91796875h705.32226562c36.33728028 0 65.91796875-29.58068848 65.91796875-65.91796875V159.33886719c0-36.33728028-29.58068848-65.91796875-65.91796875-65.91796875z m26.3671875 771.24023437c0 14.50195313-11.86523438 26.3671875-26.3671875 26.3671875H159.33886719c-14.50195313 0-26.3671875-11.86523438-26.3671875-26.3671875V159.33886719c0-14.50195313 11.86523438-26.3671875 26.3671875-26.3671875h705.32226562c14.50195313 0 26.3671875 11.86523438 26.3671875 26.3671875v705.32226562z",
|
|
66
|
+
"p-id": "3999"
|
|
67
|
+
}, null, -1)
|
|
68
|
+
])]);
|
|
69
|
+
}
|
|
70
|
+
const e9 = /* @__PURE__ */ r(Q, [["render", Y]]), o9 = {}, n9 = {
|
|
71
|
+
t: "1639131648079",
|
|
72
|
+
class: "icon",
|
|
73
|
+
viewBox: "0 0 1024 1024",
|
|
74
|
+
version: "1.1",
|
|
75
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
76
|
+
"p-id": "3988",
|
|
77
|
+
width: "64",
|
|
78
|
+
height: "64"
|
|
79
|
+
};
|
|
80
|
+
function l9(o, e) {
|
|
81
|
+
return a(), g("svg", n9, [...e[0] || (e[0] = [
|
|
82
|
+
t("path", {
|
|
83
|
+
d: "M512 102.00000031C285.99999969 102.00000031 102.00000031 285.99999969 102.00000031 512S285.99999969 921.99999969 512 921.99999969 921.99999969 738.00000031 921.99999969 512 738.00000031 102.00000031 512 102.00000031zM861.99999969 512c0 79.99999969-28.00000031 154.00000031-73.99999969 214.00000031l-499.99999969-482.00000062c60-52.00000031 139.99999969-82.00000031 223.99999969-81.99999938 192 0 349.99999969 157.99999969 349.99999969 349.99999969z m-699.99999938 0c0-85.99999969 31.99999969-163.99999969 81.99999938-226.00000031l502.00000031 484.00000031c-61.99999969 55.99999969-144 91.99999969-235.99999969 91.99999969-190.00000031 0-348-157.99999969-348-349.99999969z",
|
|
84
|
+
"p-id": "3989"
|
|
85
|
+
}, null, -1)
|
|
86
|
+
])]);
|
|
87
|
+
}
|
|
88
|
+
const t9 = /* @__PURE__ */ r(o9, [["render", l9]]), a9 = window.ikBasicsUrl, i9 = y({
|
|
89
|
+
name: "PageConfig",
|
|
90
|
+
components: {
|
|
91
|
+
IconFullscreen: F,
|
|
92
|
+
IconAdaptAuto: O,
|
|
93
|
+
IconAdaptWidth: e9,
|
|
94
|
+
IconAdaptHeight: K,
|
|
95
|
+
IconStop: t9
|
|
96
|
+
},
|
|
97
|
+
setup() {
|
|
98
|
+
const o = G(), e = A(), u = H(() => e.pageConfig);
|
|
99
|
+
u.value.bgimage || (u.value.bgimage = "");
|
|
100
|
+
const f = [
|
|
101
|
+
{ value: c.auto, label: "全屏铺满" },
|
|
102
|
+
{ value: c.width, label: "等比缩放宽度铺满" },
|
|
103
|
+
{ value: c.height, label: "等比缩放高度铺满" },
|
|
104
|
+
{ value: c.full, label: "等比缩放高度铺满(可滚动)" },
|
|
105
|
+
{ value: c.disabled, label: "不缩放" }
|
|
106
|
+
];
|
|
107
|
+
return {
|
|
108
|
+
ZoomMode: c,
|
|
109
|
+
pageConfig: u,
|
|
110
|
+
zoomModes: f,
|
|
111
|
+
resetBGImage: () => {
|
|
112
|
+
u.value.bgimage = `${a9}/datav/bj.png`;
|
|
113
|
+
},
|
|
114
|
+
onSizeChange: () => {
|
|
115
|
+
e.autoCanvasScale(() => o.getPanelOffset);
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
}), s9 = { class: "config-manager-page" }, d9 = { class: "config-manager-body" }, c9 = { class: "page-config" }, p9 = { class: "page-config-wp" }, g9 = { class: "page-config-wp" }, u9 = { style: { display: "flex", "align-items": "center" } };
|
|
120
|
+
function r9(o, e, u, f, _, h) {
|
|
121
|
+
const m = s("g-input-number"), d = s("g-field"), v = s("g-color-picker"), b = s("g-upload-image"), w = N, C = s("IconAdaptAuto"), V = s("IconAdaptWidth"), z = s("IconAdaptHeight"), I = s("IconFullscreen"), M = s("IconStop"), $ = E, k = L, B = W, S = T;
|
|
122
|
+
return a(), g("div", s9, [
|
|
123
|
+
e[7] || (e[7] = t("div", { class: "config-manager-head" }, [
|
|
124
|
+
t("p", null, "页面配置")
|
|
125
|
+
], -1)),
|
|
126
|
+
t("div", d9, [
|
|
127
|
+
t("div", c9, [
|
|
128
|
+
t("div", p9, [
|
|
129
|
+
l(d, {
|
|
130
|
+
label: "屏幕大小",
|
|
131
|
+
"is-flat": !0
|
|
132
|
+
}, {
|
|
133
|
+
default: i(() => [
|
|
134
|
+
l(m, {
|
|
135
|
+
modelValue: o.pageConfig.width,
|
|
136
|
+
"onUpdate:modelValue": e[0] || (e[0] = (n) => o.pageConfig.width = n),
|
|
137
|
+
label: "宽度",
|
|
138
|
+
min: 100,
|
|
139
|
+
max: 2e4,
|
|
140
|
+
inline: "",
|
|
141
|
+
onChange: o.onSizeChange
|
|
142
|
+
}, null, 8, ["modelValue", "onChange"]),
|
|
143
|
+
l(m, {
|
|
144
|
+
modelValue: o.pageConfig.height,
|
|
145
|
+
"onUpdate:modelValue": e[1] || (e[1] = (n) => o.pageConfig.height = n),
|
|
146
|
+
label: "高度",
|
|
147
|
+
min: 100,
|
|
148
|
+
max: 2e4,
|
|
149
|
+
inline: "",
|
|
150
|
+
onChange: o.onSizeChange
|
|
151
|
+
}, null, 8, ["modelValue", "onChange"])
|
|
152
|
+
]),
|
|
153
|
+
_: 1
|
|
154
|
+
}),
|
|
155
|
+
l(d, { label: "背景颜色" }, {
|
|
156
|
+
default: i(() => [
|
|
157
|
+
l(v, {
|
|
158
|
+
modelValue: o.pageConfig.bgcolor,
|
|
159
|
+
"onUpdate:modelValue": e[2] || (e[2] = (n) => o.pageConfig.bgcolor = n)
|
|
160
|
+
}, null, 8, ["modelValue"])
|
|
161
|
+
]),
|
|
162
|
+
_: 1
|
|
163
|
+
}),
|
|
164
|
+
l(d, { label: "背景图" }, {
|
|
165
|
+
default: i(() => [
|
|
166
|
+
l(b, {
|
|
167
|
+
modelValue: o.pageConfig.bgimage,
|
|
168
|
+
"onUpdate:modelValue": e[3] || (e[3] = (n) => o.pageConfig.bgimage = n)
|
|
169
|
+
}, null, 8, ["modelValue"])
|
|
170
|
+
]),
|
|
171
|
+
_: 1
|
|
172
|
+
}),
|
|
173
|
+
l(d, { label: "重置" }, {
|
|
174
|
+
default: i(() => [
|
|
175
|
+
l(w, {
|
|
176
|
+
size: "small",
|
|
177
|
+
style: { width: "100%" },
|
|
178
|
+
onClick: o.resetBGImage
|
|
179
|
+
}, {
|
|
180
|
+
default: i(() => [...e[6] || (e[6] = [
|
|
181
|
+
U(" 恢复默认背景 ", -1)
|
|
182
|
+
])]),
|
|
183
|
+
_: 1
|
|
184
|
+
}, 8, ["onClick"])
|
|
185
|
+
]),
|
|
186
|
+
_: 1
|
|
187
|
+
})
|
|
188
|
+
]),
|
|
189
|
+
t("div", g9, [
|
|
190
|
+
l(d, { label: "页面缩放方式" }, {
|
|
191
|
+
default: i(() => [
|
|
192
|
+
l(S, {
|
|
193
|
+
modelValue: o.pageConfig.zoomMode,
|
|
194
|
+
"onUpdate:modelValue": e[4] || (e[4] = (n) => o.pageConfig.zoomMode = n),
|
|
195
|
+
name: "zoomMode",
|
|
196
|
+
size: "small"
|
|
197
|
+
}, {
|
|
198
|
+
default: i(() => [
|
|
199
|
+
(a(!0), g(Z, null, x(o.zoomModes, (n) => (a(), p(B, {
|
|
200
|
+
key: n.value,
|
|
201
|
+
label: n.label,
|
|
202
|
+
value: n.value
|
|
203
|
+
}, {
|
|
204
|
+
default: i(() => [
|
|
205
|
+
l(k, {
|
|
206
|
+
content: n.label,
|
|
207
|
+
placement: "top"
|
|
208
|
+
}, {
|
|
209
|
+
default: i(() => [
|
|
210
|
+
t("span", u9, [
|
|
211
|
+
l($, null, {
|
|
212
|
+
default: i(() => [
|
|
213
|
+
n.value === o.ZoomMode.auto ? (a(), p(C, { key: 0 })) : n.value === o.ZoomMode.width ? (a(), p(V, { key: 1 })) : n.value === o.ZoomMode.height ? (a(), p(z, { key: 2 })) : n.value === o.ZoomMode.full ? (a(), p(I, { key: 3 })) : (a(), p(M, { key: 4 }))
|
|
214
|
+
]),
|
|
215
|
+
_: 2
|
|
216
|
+
}, 1024)
|
|
217
|
+
])
|
|
218
|
+
]),
|
|
219
|
+
_: 2
|
|
220
|
+
}, 1032, ["content"])
|
|
221
|
+
]),
|
|
222
|
+
_: 2
|
|
223
|
+
}, 1032, ["label", "value"]))), 128))
|
|
224
|
+
]),
|
|
225
|
+
_: 1
|
|
226
|
+
}, 8, ["modelValue"])
|
|
227
|
+
]),
|
|
228
|
+
_: 1
|
|
229
|
+
}),
|
|
230
|
+
l(d, {
|
|
231
|
+
label: "栅格间距",
|
|
232
|
+
tooltip: "每次移动的距离,单位px"
|
|
233
|
+
}, {
|
|
234
|
+
default: i(() => [
|
|
235
|
+
l(m, {
|
|
236
|
+
modelValue: o.pageConfig.grid,
|
|
237
|
+
"onUpdate:modelValue": e[5] || (e[5] = (n) => o.pageConfig.grid = n),
|
|
238
|
+
min: 1,
|
|
239
|
+
max: 20,
|
|
240
|
+
suffix: "px"
|
|
241
|
+
}, null, 8, ["modelValue"])
|
|
242
|
+
]),
|
|
243
|
+
_: 1
|
|
244
|
+
})
|
|
245
|
+
])
|
|
246
|
+
])
|
|
247
|
+
])
|
|
248
|
+
]);
|
|
249
|
+
}
|
|
250
|
+
const C9 = /* @__PURE__ */ r(i9, [["render", r9], ["__scopeId", "data-v-eec82558"]]);
|
|
251
|
+
export {
|
|
252
|
+
C9 as default
|
|
253
|
+
};
|
|
@@ -1,39 +1,43 @@
|
|
|
1
|
-
import { u as D,
|
|
2
|
-
import { E as O, a as $ } from "./el-form-item-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { defineComponent as
|
|
7
|
-
import {
|
|
8
|
-
|
|
1
|
+
import { u as D, d as K, _ as M } from "./index-B8QqTLfg.js";
|
|
2
|
+
import { E as O, a as $ } from "./el-form-item-BbaNohQv.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
/* empty css */
|
|
5
|
+
/* empty css */
|
|
6
|
+
import { defineComponent as J, ref as r, watch as R, createElementBlock as y, openBlock as c, createVNode as o, withCtx as a, Fragment as j, renderList as q, unref as k, createBlock as A, createElementVNode as g, toDisplayString as L, withKeys as x, createTextVNode as v, withModifiers as z } from "vue";
|
|
7
|
+
import { E as G, a as H } from "./index-DUzOCQrW.js";
|
|
8
|
+
import { E as Q } from "./index-C_WopEui.js";
|
|
9
|
+
import { E as W } from "./index-CJjljoJG.js";
|
|
10
|
+
import { E as X } from "./index-bOWjoplU.js";
|
|
11
|
+
import { E as Y } from "./index-CC28_8Jl.js";
|
|
12
|
+
const Z = { class: "page-tabs-container" }, h = { class: "custom-tab-label" }, ee = ["onDblclick"], te = { style: { display: "flex", gap: "10px", "align-items": "center" } }, le = /* @__PURE__ */ J({
|
|
9
13
|
__name: "page-tabs",
|
|
10
14
|
setup(ae) {
|
|
11
15
|
const n = D(), p = r(""), s = r(""), u = r(!1), d = r(""), i = r(!1), m = r({}), b = r();
|
|
12
|
-
n.allPages.length > 0 && (p.value = String(n.allPages[0].id), s.value = String(n.allPages[0].id)),
|
|
16
|
+
n.allPages.length > 0 && (p.value = String(n.allPages[0].id), s.value = String(n.allPages[0].id)), R(
|
|
13
17
|
() => n.homePageId,
|
|
14
|
-
(
|
|
15
|
-
p.value =
|
|
18
|
+
(l) => {
|
|
19
|
+
p.value = l, s.value = l;
|
|
16
20
|
},
|
|
17
21
|
{
|
|
18
22
|
deep: !0
|
|
19
23
|
}
|
|
20
24
|
);
|
|
21
|
-
function T(
|
|
22
|
-
const e =
|
|
25
|
+
function T(l) {
|
|
26
|
+
const e = l.props.name;
|
|
23
27
|
e !== s.value && (n.editPages(s.value, e), s.value = e);
|
|
24
28
|
}
|
|
25
|
-
function w(
|
|
26
|
-
|
|
29
|
+
function w(l) {
|
|
30
|
+
l && Y.confirm("删除后无法恢复,是否删除", "删除提醒", {
|
|
27
31
|
confirmButtonText: "确定",
|
|
28
32
|
cancelButtonText: "取消",
|
|
29
33
|
type: "warning",
|
|
30
34
|
appendTo: ".screen-editor-root"
|
|
31
35
|
}).then(async () => {
|
|
32
|
-
n.delPages(
|
|
36
|
+
n.delPages(l);
|
|
33
37
|
});
|
|
34
38
|
}
|
|
35
|
-
function C(
|
|
36
|
-
e === "add" ? u.value = !0 : e === "remove" && w(
|
|
39
|
+
function C(l, e) {
|
|
40
|
+
e === "add" ? u.value = !0 : e === "remove" && w(l);
|
|
37
41
|
}
|
|
38
42
|
function _() {
|
|
39
43
|
if (!d.value)
|
|
@@ -43,20 +47,20 @@ const Z = { class: "page-tabs-container" }, h = { class: "custom-tab-label" }, e
|
|
|
43
47
|
const S = {
|
|
44
48
|
name: [{ required: !0, message: "请输入名称", trigger: "blur" }]
|
|
45
49
|
};
|
|
46
|
-
function B(
|
|
47
|
-
m.value = JSON.parse(JSON.stringify(
|
|
50
|
+
function B(l) {
|
|
51
|
+
m.value = JSON.parse(JSON.stringify(l)), i.value = !0;
|
|
48
52
|
}
|
|
49
53
|
function E() {
|
|
50
|
-
b.value && b.value.validate((
|
|
51
|
-
|
|
54
|
+
b.value && b.value.validate((l) => {
|
|
55
|
+
l && (n.editNamePage(m.value), i.value = !1);
|
|
52
56
|
});
|
|
53
57
|
}
|
|
54
|
-
return (
|
|
55
|
-
const N =
|
|
58
|
+
return (l, e) => {
|
|
59
|
+
const N = H, I = G, P = K, f = W, V = Q, F = $, U = O;
|
|
56
60
|
return c(), y("div", Z, [
|
|
57
61
|
o(I, {
|
|
58
62
|
modelValue: p.value,
|
|
59
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
63
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => p.value = t),
|
|
60
64
|
type: "card",
|
|
61
65
|
editable: "",
|
|
62
66
|
class: "editor-page-tabs",
|
|
@@ -64,17 +68,17 @@ const Z = { class: "page-tabs-container" }, h = { class: "custom-tab-label" }, e
|
|
|
64
68
|
onEdit: C
|
|
65
69
|
}, {
|
|
66
70
|
default: a(() => [
|
|
67
|
-
(c(!0), y(
|
|
68
|
-
key:
|
|
69
|
-
label:
|
|
70
|
-
name:
|
|
71
|
+
(c(!0), y(j, null, q(k(n).allPages, (t) => (c(), A(N, {
|
|
72
|
+
key: t.id,
|
|
73
|
+
label: t.name,
|
|
74
|
+
name: t.id,
|
|
71
75
|
closable: k(n).allPages.length > 1
|
|
72
76
|
}, {
|
|
73
77
|
label: a(() => [
|
|
74
78
|
g("span", h, [
|
|
75
79
|
g("span", {
|
|
76
|
-
onDblclick: (oe) => B(
|
|
77
|
-
},
|
|
80
|
+
onDblclick: (oe) => B(t)
|
|
81
|
+
}, L(t.name), 41, ee)
|
|
78
82
|
])
|
|
79
83
|
]),
|
|
80
84
|
_: 2
|
|
@@ -84,14 +88,14 @@ const Z = { class: "page-tabs-container" }, h = { class: "custom-tab-label" }, e
|
|
|
84
88
|
}, 8, ["modelValue"]),
|
|
85
89
|
o(V, {
|
|
86
90
|
modelValue: u.value,
|
|
87
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
91
|
+
"onUpdate:modelValue": e[3] || (e[3] = (t) => u.value = t),
|
|
88
92
|
title: "添加新页面",
|
|
89
93
|
width: "400px",
|
|
90
94
|
"append-to": ".screen-editor-root"
|
|
91
95
|
}, {
|
|
92
96
|
footer: a(() => [
|
|
93
97
|
o(f, {
|
|
94
|
-
onClick: e[2] || (e[2] = (
|
|
98
|
+
onClick: e[2] || (e[2] = (t) => u.value = !1)
|
|
95
99
|
}, {
|
|
96
100
|
default: a(() => [...e[9] || (e[9] = [
|
|
97
101
|
v(" 取消 ", -1)
|
|
@@ -109,11 +113,11 @@ const Z = { class: "page-tabs-container" }, h = { class: "custom-tab-label" }, e
|
|
|
109
113
|
})
|
|
110
114
|
]),
|
|
111
115
|
default: a(() => [
|
|
112
|
-
g("div",
|
|
116
|
+
g("div", te, [
|
|
113
117
|
e[8] || (e[8] = g("span", { style: { width: "32px" } }, "名称", -1)),
|
|
114
118
|
o(P, {
|
|
115
119
|
modelValue: d.value,
|
|
116
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
120
|
+
"onUpdate:modelValue": e[1] || (e[1] = (t) => d.value = t),
|
|
117
121
|
placeholder: "请输入页面名称",
|
|
118
122
|
onKeyup: x(_, ["enter"])
|
|
119
123
|
}, null, 8, ["modelValue"])
|
|
@@ -123,14 +127,14 @@ const Z = { class: "page-tabs-container" }, h = { class: "custom-tab-label" }, e
|
|
|
123
127
|
}, 8, ["modelValue"]),
|
|
124
128
|
o(V, {
|
|
125
129
|
modelValue: i.value,
|
|
126
|
-
"onUpdate:modelValue": e[7] || (e[7] = (
|
|
130
|
+
"onUpdate:modelValue": e[7] || (e[7] = (t) => i.value = t),
|
|
127
131
|
title: "修改页面名称",
|
|
128
132
|
width: "400px",
|
|
129
133
|
"append-to": ".screen-editor-root"
|
|
130
134
|
}, {
|
|
131
135
|
footer: a(() => [
|
|
132
136
|
o(f, {
|
|
133
|
-
onClick: e[6] || (e[6] = (
|
|
137
|
+
onClick: e[6] || (e[6] = (t) => i.value = !1)
|
|
134
138
|
}, {
|
|
135
139
|
default: a(() => [...e[11] || (e[11] = [
|
|
136
140
|
v(" 取消 ", -1)
|
|
@@ -153,7 +157,7 @@ const Z = { class: "page-tabs-container" }, h = { class: "custom-tab-label" }, e
|
|
|
153
157
|
ref: b,
|
|
154
158
|
model: m.value,
|
|
155
159
|
rules: S,
|
|
156
|
-
onSubmit: e[5] || (e[5] =
|
|
160
|
+
onSubmit: e[5] || (e[5] = z(() => {
|
|
157
161
|
}, ["prevent"]))
|
|
158
162
|
}, {
|
|
159
163
|
default: a(() => [
|
|
@@ -164,7 +168,7 @@ const Z = { class: "page-tabs-container" }, h = { class: "custom-tab-label" }, e
|
|
|
164
168
|
default: a(() => [
|
|
165
169
|
o(P, {
|
|
166
170
|
modelValue: m.value.name,
|
|
167
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
171
|
+
"onUpdate:modelValue": e[4] || (e[4] = (t) => m.value.name = t),
|
|
168
172
|
onKeyup: x(E, ["enter"])
|
|
169
173
|
}, null, 8, ["modelValue"])
|
|
170
174
|
]),
|
|
@@ -179,7 +183,7 @@ const Z = { class: "page-tabs-container" }, h = { class: "custom-tab-label" }, e
|
|
|
179
183
|
]);
|
|
180
184
|
};
|
|
181
185
|
}
|
|
182
|
-
}),
|
|
186
|
+
}), be = /* @__PURE__ */ M(le, [["__scopeId", "data-v-0592ccb9"]]);
|
|
183
187
|
export {
|
|
184
|
-
|
|
188
|
+
be as default
|
|
185
189
|
};
|