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,439 @@
|
|
|
1
|
+
import { _ as p, u as Y, a as h, b4 as C, E as o3, v as e3 } from "./index-CZJriuFt.js";
|
|
2
|
+
import { E as n3 } from "./el-button-DvLKp6Ga.js";
|
|
3
|
+
import { E as t3, a as l3 } from "./el-form-item-BDdxk5F5.js";
|
|
4
|
+
import { E as s3 } from "./el-overlay-BK0_UIU6.js";
|
|
5
|
+
import { createElementBlock as u, openBlock as a, createElementVNode as t, defineComponent as i3, computed as m3, ref as c, onBeforeMount as d3, onUnmounted as u3, resolveComponent as G, Fragment as x, createVNode as e, normalizeStyle as a3, unref as n, createTextVNode as m, withCtx as s, normalizeClass as N } from "vue";
|
|
6
|
+
import { ElMessage as T } from "element-plus";
|
|
7
|
+
import { I as r3 } from "./copy-C5Pi6nJh.js";
|
|
8
|
+
import { I as c3 } from "./delete-C2EW4JCs.js";
|
|
9
|
+
import { I as p3 } from "./edit-B2pfd2q1.js";
|
|
10
|
+
import { I as f3, a as v3, b as x3 } from "./unlock-Cq9PLhBA.js";
|
|
11
|
+
import { I as g3, a as w3 } from "./show-C4AeWlKj.js";
|
|
12
|
+
import { u as C3, o as M3, a as k3 } from "./index-CWbZmzNT.js";
|
|
13
|
+
const z3 = {}, _3 = {
|
|
14
|
+
t: "1639131250073",
|
|
15
|
+
class: "icon",
|
|
16
|
+
viewBox: "0 0 1024 1024",
|
|
17
|
+
version: "1.1",
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
+
"p-id": "4137",
|
|
20
|
+
width: "64",
|
|
21
|
+
height: "64"
|
|
22
|
+
};
|
|
23
|
+
function I3(f, i) {
|
|
24
|
+
return a(), u("svg", _3, [...i[0] || (i[0] = [
|
|
25
|
+
t("path", {
|
|
26
|
+
d: "M209.77314453 868.46064453c0-20.61123047 16.70888672-37.32099609 37.32099609-37.32099609L783.19970703 831.13964844c20.61035156 0 37.32099609 16.70888672 37.3209961 37.32099609 0 20.61123047-16.70888672 37.32099609-37.3209961 37.3209961l-536.1055664 0c-20.61210937 0-37.32099609-16.70800781-37.3209961-37.3209961zM512.15292969 729.66113281c20.61123047 0 37.32099609-16.70800781 37.32099609-37.32099608l-1e-8-536.10468751c0-20.61123047-16.70800781-37.32099609-37.32099608-37.3209961-20.61123047 0-37.32099609 16.70800781-37.3209961 37.32099609l1e-8 536.10644532c0 20.61035156 16.70976562 37.31923828 37.32099609 37.31923828z m-26.48583986 27.534375c14.57402345 14.57402345 37.36845703 15.4107422 50.91240236 1.86679688l274.90429687-274.90429688c13.54394531-13.5421875 12.70810546-36.33662109-1.86679687-50.91152343-14.57402345-14.57402345-37.36845703-15.4107422-50.91152344-1.86679688l-274.9060547 274.90429688c-13.54306642 13.5421875-12.70722656 36.33662109 1.86767578 50.91152343z m52.96640626 0c14.57490234-14.57490234 15.41162109-37.36933594 1.86767579-50.91152343L265.59599609 431.37792969c-13.54394531-13.54394531-36.3375-12.70722656-50.91152343 1.86679687-14.57490234 14.57490234-15.41162109 37.36933594-1.86767579 50.91152345l274.90429688 274.90605468c13.54394531 13.54394531 36.33750001 12.70634766 50.91240235-1.86767578z",
|
|
27
|
+
"p-id": "4138"
|
|
28
|
+
}, null, -1)
|
|
29
|
+
])]);
|
|
30
|
+
}
|
|
31
|
+
const $3 = /* @__PURE__ */ p(z3, [["render", I3]]), y3 = {}, V3 = {
|
|
32
|
+
t: "1639131194870",
|
|
33
|
+
class: "icon",
|
|
34
|
+
viewBox: "0 0 1024 1024",
|
|
35
|
+
version: "1.1",
|
|
36
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
+
"p-id": "3988",
|
|
38
|
+
width: "64",
|
|
39
|
+
height: "64"
|
|
40
|
+
};
|
|
41
|
+
function E3(f, i) {
|
|
42
|
+
return a(), u("svg", V3, [...i[0] || (i[0] = [
|
|
43
|
+
t("path", {
|
|
44
|
+
d: "M544.95898438 854.7734375l-65.91796876 0 0-672.36328125L544.95898438 182.41015625z",
|
|
45
|
+
"p-id": "3989"
|
|
46
|
+
}, null, -1),
|
|
47
|
+
t("path", {
|
|
48
|
+
d: "M718.32324219 607.58105469l45.48339843 44.82421874L512 904.21191405l-251.80664063-251.80664062 45.48339844-44.82421874L512 813.90429688zM933.875 182.41015625l-843.75 0 0-65.91796875L933.875 116.4921875zM933.875 419.71484375l-329.58984375 0 0-65.91796875L933.875 353.796875zM419.71484375 419.71484375l-329.58984375 0 0-65.91796875L419.71484375 353.796875z",
|
|
49
|
+
"p-id": "3990"
|
|
50
|
+
}, null, -1)
|
|
51
|
+
])]);
|
|
52
|
+
}
|
|
53
|
+
const F3 = /* @__PURE__ */ p(y3, [["render", E3]]), L3 = {}, b3 = {
|
|
54
|
+
t: "1639131221200",
|
|
55
|
+
class: "icon",
|
|
56
|
+
viewBox: "0 0 1024 1024",
|
|
57
|
+
version: "1.1",
|
|
58
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
59
|
+
"p-id": "3988",
|
|
60
|
+
width: "64",
|
|
61
|
+
height: "64"
|
|
62
|
+
};
|
|
63
|
+
function B3(f, i) {
|
|
64
|
+
return a(), u("svg", b3, [...i[0] || (i[0] = [
|
|
65
|
+
t("path", {
|
|
66
|
+
d: "M814.22685547 155.53935547c0 20.61123047-16.70888672 37.32099609-37.32099609 37.32099609H240.80029297c-20.61035156 0-37.32099609-16.70888672-37.3209961-37.32099609 0-20.61123047 16.70888672-37.32099609 37.3209961-37.32099609h536.1055664c20.61210937 0 37.32099609 16.70800781 37.3209961 37.32099609zM511.84707031 294.33886719c-20.61123047 0-37.32099609 16.70800781-37.32099609 37.32099608v536.10468751c0 20.61123047 16.70800781 37.32099609 37.32099609 37.3209961 20.61123047 0 37.32099609-16.70800781 37.3209961-37.3209961v-536.10644531c0-20.61035156-16.70976562-37.31923828-37.3209961-37.31923828z m26.48583986-27.534375c-14.57402345-14.57402345-37.36845703-15.41074219-50.91240236-1.86679688l-274.90429687 274.90429688c-13.54394531 13.5421875-12.70810547 36.33662109 1.86679687 50.91152343 14.57402345 14.57402345 37.36845703 15.41074219 50.91152344 1.86679688l274.90605469-274.90429688c13.54306641-13.5421875 12.70722656-36.33662109-1.86767577-50.91152343z m-52.96640626 0c-14.57490234 14.57490234-15.41162109 37.36933594-1.86767579 50.91152343L758.40400391 592.62207031c13.54394531 13.54394531 36.3375 12.70722656 50.91152343-1.86679687 14.57490234-14.57490234 15.41162109-37.36933594 1.86767579-50.91152345l-274.90429688-274.90605468c-13.54394531-13.54394531-36.3375-12.70634766-50.91240234 1.86767578z",
|
|
67
|
+
"p-id": "3989"
|
|
68
|
+
}, null, -1)
|
|
69
|
+
])]);
|
|
70
|
+
}
|
|
71
|
+
const H3 = /* @__PURE__ */ p(L3, [["render", B3]]), U3 = {}, S3 = {
|
|
72
|
+
t: "1639131170680",
|
|
73
|
+
class: "icon",
|
|
74
|
+
viewBox: "0 0 1024 1024",
|
|
75
|
+
version: "1.1",
|
|
76
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
77
|
+
"p-id": "3987",
|
|
78
|
+
width: "64",
|
|
79
|
+
height: "64"
|
|
80
|
+
};
|
|
81
|
+
function D3(f, i) {
|
|
82
|
+
return a(), u("svg", S3, [...i[0] || (i[0] = [
|
|
83
|
+
t("path", {
|
|
84
|
+
d: "M479.04101562 169.2265625h65.91796876v672.36328125H479.04101562z",
|
|
85
|
+
"p-id": "3988"
|
|
86
|
+
}, null, -1),
|
|
87
|
+
t("path", {
|
|
88
|
+
d: "M305.67675781 416.41894531l-45.48339843-44.82421875L512 119.78808594l251.80664063 251.80664062-45.48339844 44.82421875L512 210.09570312zM90.125 841.58984375h843.75v65.91796875H90.125zM90.125 604.28515625h329.58984375v65.91796875H90.125zM604.28515625 604.28515625h329.58984375v65.91796875H604.28515625z",
|
|
89
|
+
"p-id": "3989"
|
|
90
|
+
}, null, -1)
|
|
91
|
+
])]);
|
|
92
|
+
}
|
|
93
|
+
const G3 = /* @__PURE__ */ p(U3, [["render", D3]]), N3 = {}, T3 = {
|
|
94
|
+
t: "1656845157095",
|
|
95
|
+
class: "icon",
|
|
96
|
+
viewBox: "0 0 1024 1024",
|
|
97
|
+
version: "1.1",
|
|
98
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
99
|
+
"p-id": "11067",
|
|
100
|
+
width: "200",
|
|
101
|
+
height: "200"
|
|
102
|
+
};
|
|
103
|
+
function q3(f, i) {
|
|
104
|
+
return a(), u("svg", T3, [...i[0] || (i[0] = [
|
|
105
|
+
t("path", {
|
|
106
|
+
d: "M42.666667 341.333333V138.666667a53.393333 53.393333 0 0 1 53.333333-53.333334h296.08a52.986667 52.986667 0 0 1 37.713333 15.62l109.253334 109.253334a10.573333 10.573333 0 0 0 7.54 3.126666H970.666667a53.393333 53.393333 0 0 1 53.333333 53.333334v74.666666z m0 42.666667v458.666667a53.393333 53.393333 0 0 0 53.333333 53.333333h874.666667a53.393333 53.393333 0 0 0 53.333333-53.333333V384z",
|
|
107
|
+
"p-id": "11068"
|
|
108
|
+
}, null, -1),
|
|
109
|
+
t("path", {
|
|
110
|
+
d: "M616.011 716.682a172.012 176.434 0 1 0 344.024 0 172.012 176.434 0 1 0-344.024 0Z",
|
|
111
|
+
"p-id": "8261"
|
|
112
|
+
}, null, -1),
|
|
113
|
+
t("path", {
|
|
114
|
+
d: "M893.29 789.345l-34.426 35.312L682.755 644.02l34.426-35.312z",
|
|
115
|
+
fill: "#FFFFFF",
|
|
116
|
+
"p-id": "8262"
|
|
117
|
+
}, null, -1),
|
|
118
|
+
t("path", {
|
|
119
|
+
d: "M682.755 789.345l34.426 35.312L893.29 644.02l-34.426-35.312z",
|
|
120
|
+
fill: "#FFFFFF",
|
|
121
|
+
"p-id": "8263"
|
|
122
|
+
}, null, -1)
|
|
123
|
+
])]);
|
|
124
|
+
}
|
|
125
|
+
const R3 = /* @__PURE__ */ p(N3, [["render", q3]]), j3 = /* @__PURE__ */ i3({
|
|
126
|
+
__name: "index",
|
|
127
|
+
setup(f) {
|
|
128
|
+
const i = Y(), {
|
|
129
|
+
pos: M,
|
|
130
|
+
isLocked: q,
|
|
131
|
+
isHided: R,
|
|
132
|
+
isGroup: j,
|
|
133
|
+
disableGroup: Z,
|
|
134
|
+
moveCom: g,
|
|
135
|
+
lockCom: _,
|
|
136
|
+
hideCom: I,
|
|
137
|
+
confirmDeleteCom: $,
|
|
138
|
+
renameCom: y,
|
|
139
|
+
copyCom: V,
|
|
140
|
+
// copyComToScreen,
|
|
141
|
+
// handCopyComToPage,
|
|
142
|
+
composeComs: E,
|
|
143
|
+
decomposeComs: F
|
|
144
|
+
} = C3(), A = m3(() => ({
|
|
145
|
+
display: i.contextMenu.show ? "block" : "none",
|
|
146
|
+
left: `${M.x + 10}px`,
|
|
147
|
+
top: `${M.y + 10}px`,
|
|
148
|
+
transform: document.documentElement.clientHeight - M.y < 250 ? "translate(0px, -100%)" : ""
|
|
149
|
+
})), L = (w) => w.preventDefault(), J = c(), b = c(!1), B = h(), k = c(!1), v = c(!1), z = c(), K = {
|
|
150
|
+
alias: [{ required: !0, message: "请输入收藏组件名称" }],
|
|
151
|
+
img: [{ required: !0, message: "请上传组件预览图" }]
|
|
152
|
+
}, r = c({
|
|
153
|
+
alias: "",
|
|
154
|
+
img: ""
|
|
155
|
+
});
|
|
156
|
+
function H() {
|
|
157
|
+
z.value?.restoreValidation(), v.value = !1, k.value = !1;
|
|
158
|
+
}
|
|
159
|
+
async function O() {
|
|
160
|
+
z.value?.validate(async (w) => {
|
|
161
|
+
if (w) {
|
|
162
|
+
v.value = !0;
|
|
163
|
+
const o = await B.collectionComponent({
|
|
164
|
+
...B.selectedComs[0],
|
|
165
|
+
...r.value
|
|
166
|
+
});
|
|
167
|
+
o?.success ? (T.success("收藏成功"), H()) : T.warning(o?.msg || "收藏失败"), v.value = !1;
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
return d3(() => {
|
|
172
|
+
M3(document, "contextmenu", L);
|
|
173
|
+
}), u3(() => {
|
|
174
|
+
k3(document, "contextmenu", L);
|
|
175
|
+
}), (w, o) => {
|
|
176
|
+
const d = o3, P = G("g-monaco-editor"), U = s3, Q = e3, S = l3, W = G("g-upload-image"), X = t3, D = n3;
|
|
177
|
+
return a(), u(x, null, [
|
|
178
|
+
t("div", {
|
|
179
|
+
class: "context-menu-wrap",
|
|
180
|
+
style: a3(A.value)
|
|
181
|
+
}, [
|
|
182
|
+
t("div", {
|
|
183
|
+
class: "context-menu-item",
|
|
184
|
+
onClick: o[0] || (o[0] = (l) => n(g)(n(C).top))
|
|
185
|
+
}, [
|
|
186
|
+
e(d, { class: "menu-icon" }, {
|
|
187
|
+
default: s(() => [
|
|
188
|
+
e(H3)
|
|
189
|
+
]),
|
|
190
|
+
_: 1
|
|
191
|
+
}),
|
|
192
|
+
o[15] || (o[15] = m(" 置顶 ", -1))
|
|
193
|
+
]),
|
|
194
|
+
t("div", {
|
|
195
|
+
class: "context-menu-item",
|
|
196
|
+
onClick: o[1] || (o[1] = (l) => n(g)(n(C).bottom))
|
|
197
|
+
}, [
|
|
198
|
+
e(d, { class: "menu-icon" }, {
|
|
199
|
+
default: s(() => [
|
|
200
|
+
e($3)
|
|
201
|
+
]),
|
|
202
|
+
_: 1
|
|
203
|
+
}),
|
|
204
|
+
o[16] || (o[16] = m(" 置底 ", -1))
|
|
205
|
+
]),
|
|
206
|
+
t("div", {
|
|
207
|
+
class: "context-menu-item",
|
|
208
|
+
onClick: o[2] || (o[2] = (l) => n(g)(n(C).up))
|
|
209
|
+
}, [
|
|
210
|
+
e(d, { class: "menu-icon" }, {
|
|
211
|
+
default: s(() => [
|
|
212
|
+
e(G3)
|
|
213
|
+
]),
|
|
214
|
+
_: 1
|
|
215
|
+
}),
|
|
216
|
+
o[17] || (o[17] = m(" 上移一层 ", -1))
|
|
217
|
+
]),
|
|
218
|
+
t("div", {
|
|
219
|
+
class: "context-menu-item",
|
|
220
|
+
onClick: o[3] || (o[3] = (l) => n(g)(n(C).down))
|
|
221
|
+
}, [
|
|
222
|
+
e(d, { class: "menu-icon" }, {
|
|
223
|
+
default: s(() => [
|
|
224
|
+
e(F3)
|
|
225
|
+
]),
|
|
226
|
+
_: 1
|
|
227
|
+
}),
|
|
228
|
+
o[18] || (o[18] = m(" 下移一层 ", -1))
|
|
229
|
+
]),
|
|
230
|
+
o[28] || (o[28] = t("div", { class: "context-menu-divider" }, null, -1)),
|
|
231
|
+
t("div", {
|
|
232
|
+
class: N(["context-menu-item", { disable: n(Z) }]),
|
|
233
|
+
onClick: o[4] || (o[4] = //@ts-ignore
|
|
234
|
+
(...l) => n(E) && n(E)(...l))
|
|
235
|
+
}, [
|
|
236
|
+
e(d, { class: "menu-icon" }, {
|
|
237
|
+
default: s(() => [
|
|
238
|
+
e(f3)
|
|
239
|
+
]),
|
|
240
|
+
_: 1
|
|
241
|
+
}),
|
|
242
|
+
o[19] || (o[19] = m(" 成组 ", -1))
|
|
243
|
+
], 2),
|
|
244
|
+
t("div", {
|
|
245
|
+
class: N(["context-menu-item", { disable: !n(j) }]),
|
|
246
|
+
onClick: o[5] || (o[5] = //@ts-ignore
|
|
247
|
+
(...l) => n(F) && n(F)(...l))
|
|
248
|
+
}, [
|
|
249
|
+
e(d, { class: "menu-icon" }, {
|
|
250
|
+
default: s(() => [
|
|
251
|
+
e(R3)
|
|
252
|
+
]),
|
|
253
|
+
_: 1
|
|
254
|
+
}),
|
|
255
|
+
o[20] || (o[20] = m(" 取消成组 ", -1))
|
|
256
|
+
], 2),
|
|
257
|
+
o[29] || (o[29] = t("div", { class: "context-menu-divider" }, null, -1)),
|
|
258
|
+
t("div", {
|
|
259
|
+
class: "context-menu-item",
|
|
260
|
+
onClick: o[6] || (o[6] = //@ts-ignore
|
|
261
|
+
(...l) => n(_) && n(_)(...l))
|
|
262
|
+
}, [
|
|
263
|
+
n(q) ? (a(), u(x, { key: 0 }, [
|
|
264
|
+
e(d, { class: "menu-icon" }, {
|
|
265
|
+
default: s(() => [
|
|
266
|
+
e(v3)
|
|
267
|
+
]),
|
|
268
|
+
_: 1
|
|
269
|
+
}),
|
|
270
|
+
o[21] || (o[21] = m(" 解锁 ", -1))
|
|
271
|
+
], 64)) : (a(), u(x, { key: 1 }, [
|
|
272
|
+
e(d, { class: "menu-icon" }, {
|
|
273
|
+
default: s(() => [
|
|
274
|
+
e(x3)
|
|
275
|
+
]),
|
|
276
|
+
_: 1
|
|
277
|
+
}),
|
|
278
|
+
o[22] || (o[22] = m(" 锁定 ", -1))
|
|
279
|
+
], 64))
|
|
280
|
+
]),
|
|
281
|
+
t("div", {
|
|
282
|
+
class: "context-menu-item",
|
|
283
|
+
onClick: o[7] || (o[7] = //@ts-ignore
|
|
284
|
+
(...l) => n(I) && n(I)(...l))
|
|
285
|
+
}, [
|
|
286
|
+
n(R) ? (a(), u(x, { key: 0 }, [
|
|
287
|
+
e(d, { class: "menu-icon" }, {
|
|
288
|
+
default: s(() => [
|
|
289
|
+
e(g3)
|
|
290
|
+
]),
|
|
291
|
+
_: 1
|
|
292
|
+
}),
|
|
293
|
+
o[23] || (o[23] = m(" 显示 ", -1))
|
|
294
|
+
], 64)) : (a(), u(x, { key: 1 }, [
|
|
295
|
+
e(d, { class: "menu-icon" }, {
|
|
296
|
+
default: s(() => [
|
|
297
|
+
e(w3)
|
|
298
|
+
]),
|
|
299
|
+
_: 1
|
|
300
|
+
}),
|
|
301
|
+
o[24] || (o[24] = m(" 隐藏 ", -1))
|
|
302
|
+
], 64))
|
|
303
|
+
]),
|
|
304
|
+
o[30] || (o[30] = t("div", { class: "context-menu-divider" }, null, -1)),
|
|
305
|
+
t("div", {
|
|
306
|
+
class: "context-menu-item",
|
|
307
|
+
onClick: o[8] || (o[8] = //@ts-ignore
|
|
308
|
+
(...l) => n(y) && n(y)(...l))
|
|
309
|
+
}, [
|
|
310
|
+
e(d, { class: "menu-icon" }, {
|
|
311
|
+
default: s(() => [
|
|
312
|
+
e(p3)
|
|
313
|
+
]),
|
|
314
|
+
_: 1
|
|
315
|
+
}),
|
|
316
|
+
o[25] || (o[25] = m(" 重命名 ", -1))
|
|
317
|
+
]),
|
|
318
|
+
t("div", {
|
|
319
|
+
class: "context-menu-item",
|
|
320
|
+
onClick: o[9] || (o[9] = //@ts-ignore
|
|
321
|
+
(...l) => n(V) && n(V)(...l))
|
|
322
|
+
}, [
|
|
323
|
+
e(d, { class: "menu-icon" }, {
|
|
324
|
+
default: s(() => [
|
|
325
|
+
e(r3)
|
|
326
|
+
]),
|
|
327
|
+
_: 1
|
|
328
|
+
}),
|
|
329
|
+
o[26] || (o[26] = m(" 复制 ", -1))
|
|
330
|
+
]),
|
|
331
|
+
t("div", {
|
|
332
|
+
class: "context-menu-item",
|
|
333
|
+
onClick: o[10] || (o[10] = //@ts-ignore
|
|
334
|
+
(...l) => n($) && n($)(...l))
|
|
335
|
+
}, [
|
|
336
|
+
e(d, { class: "menu-icon" }, {
|
|
337
|
+
default: s(() => [
|
|
338
|
+
e(c3)
|
|
339
|
+
]),
|
|
340
|
+
_: 1
|
|
341
|
+
}),
|
|
342
|
+
o[27] || (o[27] = m(" 删除 ", -1))
|
|
343
|
+
])
|
|
344
|
+
], 4),
|
|
345
|
+
e(U, {
|
|
346
|
+
modelValue: b.value,
|
|
347
|
+
"onUpdate:modelValue": o[11] || (o[11] = (l) => b.value = l),
|
|
348
|
+
"close-on-click-modal": !1,
|
|
349
|
+
title: "图表配置",
|
|
350
|
+
width: "1000px"
|
|
351
|
+
}, {
|
|
352
|
+
default: s(() => [
|
|
353
|
+
e(P, {
|
|
354
|
+
language: "javascript",
|
|
355
|
+
"auto-format": !0,
|
|
356
|
+
code: J.value,
|
|
357
|
+
height: 800
|
|
358
|
+
}, null, 8, ["code"])
|
|
359
|
+
]),
|
|
360
|
+
_: 1
|
|
361
|
+
}, 8, ["modelValue"]),
|
|
362
|
+
e(U, {
|
|
363
|
+
modelValue: k.value,
|
|
364
|
+
"onUpdate:modelValue": o[14] || (o[14] = (l) => k.value = l),
|
|
365
|
+
"close-on-click-modal": !1,
|
|
366
|
+
title: "收藏组件"
|
|
367
|
+
}, {
|
|
368
|
+
footer: s(() => [
|
|
369
|
+
e(D, {
|
|
370
|
+
disabled: v.value,
|
|
371
|
+
onClick: H
|
|
372
|
+
}, {
|
|
373
|
+
default: s(() => [...o[31] || (o[31] = [
|
|
374
|
+
m(" 取消 ", -1)
|
|
375
|
+
])]),
|
|
376
|
+
_: 1
|
|
377
|
+
}, 8, ["disabled"]),
|
|
378
|
+
e(D, {
|
|
379
|
+
type: "primary",
|
|
380
|
+
loading: v.value,
|
|
381
|
+
onClick: O
|
|
382
|
+
}, {
|
|
383
|
+
default: s(() => [...o[32] || (o[32] = [
|
|
384
|
+
m(" 确定 ", -1)
|
|
385
|
+
])]),
|
|
386
|
+
_: 1
|
|
387
|
+
}, 8, ["loading"])
|
|
388
|
+
]),
|
|
389
|
+
default: s(() => [
|
|
390
|
+
t("div", null, [
|
|
391
|
+
e(X, {
|
|
392
|
+
ref_key: "formRef",
|
|
393
|
+
ref: z,
|
|
394
|
+
"label-width": "80px",
|
|
395
|
+
"label-position": "top",
|
|
396
|
+
model: r.value,
|
|
397
|
+
rules: K,
|
|
398
|
+
size: "small"
|
|
399
|
+
}, {
|
|
400
|
+
default: s(() => [
|
|
401
|
+
e(S, {
|
|
402
|
+
label: "名称",
|
|
403
|
+
prop: "alias"
|
|
404
|
+
}, {
|
|
405
|
+
default: s(() => [
|
|
406
|
+
e(Q, {
|
|
407
|
+
modelValue: r.value.alias,
|
|
408
|
+
"onUpdate:modelValue": o[12] || (o[12] = (l) => r.value.alias = l),
|
|
409
|
+
placeholder: "输入收藏组件名称"
|
|
410
|
+
}, null, 8, ["modelValue"])
|
|
411
|
+
]),
|
|
412
|
+
_: 1
|
|
413
|
+
}),
|
|
414
|
+
e(S, {
|
|
415
|
+
label: "预览图",
|
|
416
|
+
prop: "img"
|
|
417
|
+
}, {
|
|
418
|
+
default: s(() => [
|
|
419
|
+
e(W, {
|
|
420
|
+
modelValue: r.value.img,
|
|
421
|
+
"onUpdate:modelValue": o[13] || (o[13] = (l) => r.value.img = l)
|
|
422
|
+
}, null, 8, ["modelValue"])
|
|
423
|
+
]),
|
|
424
|
+
_: 1
|
|
425
|
+
})
|
|
426
|
+
]),
|
|
427
|
+
_: 1
|
|
428
|
+
}, 8, ["model"])
|
|
429
|
+
])
|
|
430
|
+
]),
|
|
431
|
+
_: 1
|
|
432
|
+
}, 8, ["modelValue"])
|
|
433
|
+
], 64);
|
|
434
|
+
};
|
|
435
|
+
}
|
|
436
|
+
}), e1 = /* @__PURE__ */ p(j3, [["__scopeId", "data-v-a257d111"]]);
|
|
437
|
+
export {
|
|
438
|
+
e1 as default
|
|
439
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock as i, openBlock as l, createElementVNode as e, defineComponent as w, ref as h, computed as y, createBlock as b, unref as p, withCtx as d, Fragment as k, renderList as x, toDisplayString as m, normalizeClass as E, createCommentVNode as S, createVNode as u } from "vue";
|
|
2
2
|
import { ElPopover as C, ElIcon as V } from "element-plus";
|
|
3
|
-
import { _ as B, U as v } from "./index-
|
|
3
|
+
import { _ as B, U as v } from "./index-CZJriuFt.js";
|
|
4
4
|
const I = {}, L = {
|
|
5
5
|
t: "1632580932028",
|
|
6
6
|
class: "icon",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { createElementBlock as M, openBlock as m, createElementVNode as h, defineComponent as
|
|
1
|
+
import { createElementBlock as M, openBlock as m, createElementVNode as h, defineComponent as Q, createBlock as S, ref as L, watch as ie, onMounted as le, nextTick as ue, onUnmounted as ce, Fragment as se, createCommentVNode as z, createVNode as O, normalizeClass as B, unref as I, withCtx as T } from "vue";
|
|
2
2
|
import { ElIcon as F, ElDialog as de, ElMessage as fe } from "element-plus";
|
|
3
|
-
import { I as ge } from "./copy-
|
|
4
|
-
import { _ as me,
|
|
5
|
-
import { I as je } from "./fullscreen-
|
|
3
|
+
import { I as ge } from "./copy-C5Pi6nJh.js";
|
|
4
|
+
import { _ as me, aN as pe, aO as ve, aP as he, aQ as ye, aR as be, aS as we, aT as Oe } from "./index-CZJriuFt.js";
|
|
5
|
+
import { I as je } from "./fullscreen-OChDsSnk.js";
|
|
6
6
|
function V(e, n) {
|
|
7
7
|
(n == null || n > e.length) && (n = e.length);
|
|
8
8
|
for (var t = 0, r = Array(n); t < n; t++) r[t] = e[t];
|
|
@@ -51,7 +51,7 @@ function _(e, n) {
|
|
|
51
51
|
}
|
|
52
52
|
return t;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function W(e) {
|
|
55
55
|
for (var n = 1; n < arguments.length; n++) {
|
|
56
56
|
var t = arguments[n] != null ? arguments[n] : {};
|
|
57
57
|
n % 2 ? _(Object(t), !0).forEach(function(r) {
|
|
@@ -112,7 +112,7 @@ function De(e, n, t) {
|
|
|
112
112
|
writable: !0
|
|
113
113
|
}) : e[n] = t, e;
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function k(e, n) {
|
|
116
116
|
var t = Object.keys(e);
|
|
117
117
|
if (Object.getOwnPropertySymbols) {
|
|
118
118
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -125,9 +125,9 @@ function W(e, n) {
|
|
|
125
125
|
function q(e) {
|
|
126
126
|
for (var n = 1; n < arguments.length; n++) {
|
|
127
127
|
var t = arguments[n] != null ? arguments[n] : {};
|
|
128
|
-
n % 2 ?
|
|
128
|
+
n % 2 ? k(Object(t), !0).forEach(function(r) {
|
|
129
129
|
De(e, r, t[r]);
|
|
130
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) :
|
|
130
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : k(Object(t)).forEach(function(r) {
|
|
131
131
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
132
132
|
});
|
|
133
133
|
}
|
|
@@ -181,10 +181,10 @@ function Ve(e) {
|
|
|
181
181
|
function _e(e) {
|
|
182
182
|
e || g("initialIsRequired"), C(e) || g("initialType"), Le(e) && g("initialContent");
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function We(e, n) {
|
|
185
185
|
throw new Error(e[n] || e.default);
|
|
186
186
|
}
|
|
187
|
-
var
|
|
187
|
+
var ke = {
|
|
188
188
|
initialIsRequired: "initial state is required",
|
|
189
189
|
initialType: "initial state should be an object",
|
|
190
190
|
initialContent: "initial state shouldn't be an empty object",
|
|
@@ -194,7 +194,7 @@ var We = {
|
|
|
194
194
|
changeType: "provided value of changes should be an object",
|
|
195
195
|
changeField: 'it seams you want to change a field in the state which is not specified in the "initial" state',
|
|
196
196
|
default: "an unknown error accured in `state-local` package"
|
|
197
|
-
}, g = y(
|
|
197
|
+
}, g = y(We)(ke), j = {
|
|
198
198
|
changes: Be,
|
|
199
199
|
selector: Fe,
|
|
200
200
|
handler: Ve,
|
|
@@ -247,23 +247,23 @@ function Je(e) {
|
|
|
247
247
|
};
|
|
248
248
|
};
|
|
249
249
|
}
|
|
250
|
-
function
|
|
250
|
+
function Qe(e) {
|
|
251
251
|
return {}.toString.call(e).includes("Object");
|
|
252
252
|
}
|
|
253
|
-
function
|
|
254
|
-
return e || H("configIsRequired"),
|
|
253
|
+
function Ye(e) {
|
|
254
|
+
return e || H("configIsRequired"), Qe(e) || H("configType"), e.urls ? (Xe(), {
|
|
255
255
|
paths: {
|
|
256
256
|
vs: e.urls.monacoBase
|
|
257
257
|
}
|
|
258
258
|
}) : e;
|
|
259
259
|
}
|
|
260
260
|
function Xe() {
|
|
261
|
-
console.warn(
|
|
261
|
+
console.warn(Y.deprecation);
|
|
262
262
|
}
|
|
263
263
|
function Ze(e, n) {
|
|
264
264
|
throw new Error(e[n] || e.default);
|
|
265
265
|
}
|
|
266
|
-
var
|
|
266
|
+
var Y = {
|
|
267
267
|
configIsRequired: "the configuration object is required",
|
|
268
268
|
configType: "the configuration object should be an object",
|
|
269
269
|
default: "an unknown error accured in `@monaco-editor/loader` package",
|
|
@@ -277,8 +277,8 @@ var Q = {
|
|
|
277
277
|
|
|
278
278
|
For more please check the link https://github.com/suren-atoyan/monaco-loader#config
|
|
279
279
|
`
|
|
280
|
-
}, H = Je(Ze)(
|
|
281
|
-
config:
|
|
280
|
+
}, H = Je(Ze)(Y), et = {
|
|
281
|
+
config: Ye
|
|
282
282
|
}, tt = function() {
|
|
283
283
|
for (var n = arguments.length, t = new Array(n), r = 0; r < n; r++)
|
|
284
284
|
t[r] = arguments[r];
|
|
@@ -291,7 +291,7 @@ var Q = {
|
|
|
291
291
|
function X(e, n) {
|
|
292
292
|
return Object.keys(n).forEach(function(t) {
|
|
293
293
|
n[t] instanceof Object && e[t] && Object.assign(n[t], X(e[t], n[t]));
|
|
294
|
-
}),
|
|
294
|
+
}), W(W({}, e), n);
|
|
295
295
|
}
|
|
296
296
|
var nt = {
|
|
297
297
|
type: "cancelation",
|
|
@@ -417,7 +417,7 @@ function mt(e, n) {
|
|
|
417
417
|
}, null, -1)
|
|
418
418
|
])]);
|
|
419
419
|
}
|
|
420
|
-
const pt = /* @__PURE__ */ me(ft, [["render", mt]]), vt = /* @__PURE__ */
|
|
420
|
+
const pt = /* @__PURE__ */ me(ft, [["render", mt]]), vt = /* @__PURE__ */ Q({
|
|
421
421
|
__name: "async-loading",
|
|
422
422
|
setup(e) {
|
|
423
423
|
return (n, t) => (m(), S(pe, {
|
|
@@ -530,7 +530,7 @@ function E(e, n) {
|
|
|
530
530
|
const wt = {
|
|
531
531
|
key: 0,
|
|
532
532
|
class: "datav-editor-actions"
|
|
533
|
-
}, Ot = { class: "datav-fullscreen-editor-wp" }, J = "datav-dark-theme", Tt = /* @__PURE__ */
|
|
533
|
+
}, Ot = { class: "datav-fullscreen-editor-wp" }, J = "datav-dark-theme", Tt = /* @__PURE__ */ Q({
|
|
534
534
|
__name: "index",
|
|
535
535
|
props: {
|
|
536
536
|
language: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as d, createElementBlock as n, openBlock as i, normalizeClass as r, createElementVNode as f, createCommentVNode as c, createVNode as a, unref as m, toDisplayString as g } from "vue";
|
|
2
2
|
import { ElSlider as x, ElInputNumber as y } from "element-plus";
|
|
3
|
-
import { U as o } from "./index-
|
|
3
|
+
import { U as o } from "./index-CZJriuFt.js";
|
|
4
4
|
const p = { class: "g-slider-main" }, b = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "g-input__caption"
|