gp-designer 1.0.49 → 1.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/gp-designer.es.js
CHANGED
@@ -9885,7 +9885,7 @@ const xE = {
|
|
9885
9885
|
class: [
|
9886
9886
|
"relative",
|
9887
9887
|
// 注意:这里使用了 relative 布局,可能会影响到样式
|
9888
|
-
A.mode === "design" ? "m-
|
9888
|
+
A.mode === "design" ? "m-1 p-1 border-dashed border-2" : "",
|
9889
9889
|
// 编辑模式下显示手型
|
9890
9890
|
s.value ? "border-dashed border-blue-500" : "",
|
9891
9891
|
n.value ? "border-dashed border-green-500 z-10 border-2" : "",
|
@@ -10111,7 +10111,7 @@ const xE = {
|
|
10111
10111
|
for (const [r, n] of e)
|
10112
10112
|
t[r] = n;
|
10113
10113
|
return t;
|
10114
|
-
}, OE = /* @__PURE__ */ nt(DE, [["__scopeId", "data-v-
|
10114
|
+
}, OE = /* @__PURE__ */ nt(DE, [["__scopeId", "data-v-dbe35211"]]), RE = Fe({
|
10115
10115
|
name: "GpCheckbox",
|
10116
10116
|
props: {
|
10117
10117
|
modelValue: {
|
@@ -10326,7 +10326,7 @@ AA.warning = (A, e = 3e3, t = !0) => {
|
|
10326
10326
|
icon: t
|
10327
10327
|
} : { ...A, type: "warning" });
|
10328
10328
|
};
|
10329
|
-
const tp = { key: 0 }, rp = { key: 0 }, np = { class: "text-gray-500 my-2" }, sp = { class: "text-gray-500 my-2" }, ap = { key: 1 }, ip = { key: 2 }, up = { key: 3 }, op = { key: 4 }, cp = { key: 5 }, lp = { key: 6 }, fp = { key: 7 }, hp = { key: 8 }, dp = { key: 9 }, Bp = { key: 10 }, gp = /* @__PURE__ */ Fe({
|
10329
|
+
const tp = { key: 0 }, rp = { key: 0 }, np = { class: "text-gray-500 my-2 truncate" }, sp = { class: "text-gray-500 my-2 break-words" }, ap = { key: 1 }, ip = { key: 2 }, up = { key: 3 }, op = { key: 4 }, cp = { key: 5 }, lp = { key: 6 }, fp = { key: 7 }, hp = { key: 8 }, dp = { key: 9 }, Bp = { key: 10 }, gp = /* @__PURE__ */ Fe({
|
10330
10330
|
__name: "EditorPanel",
|
10331
10331
|
props: {
|
10332
10332
|
element: Object
|
@@ -10527,7 +10527,7 @@ const tp = { key: 0 }, rp = { key: 0 }, np = { class: "text-gray-500 my-2" }, sp
|
|
10527
10527
|
}, " 保存 ")
|
10528
10528
|
]));
|
10529
10529
|
}
|
10530
|
-
}), Ep = /* @__PURE__ */ nt(gp, [["__scopeId", "data-v-
|
10530
|
+
}), Ep = /* @__PURE__ */ nt(gp, [["__scopeId", "data-v-b1f745aa"]]);
|
10531
10531
|
/*!
|
10532
10532
|
* Cropper.js v1.6.2
|
10533
10533
|
* https://fengyuanchen.github.io/cropperjs
|
@@ -17352,7 +17352,7 @@ const vo = /* @__PURE__ */ nt(CU, [["render", mU], ["__scopeId", "data-v-c23563a
|
|
17352
17352
|
template: {},
|
17353
17353
|
css: {},
|
17354
17354
|
js: {},
|
17355
|
-
previewWidth: { default:
|
17355
|
+
previewWidth: { default: 360 },
|
17356
17356
|
uploadByFile: {},
|
17357
17357
|
icons: {},
|
17358
17358
|
rules: {},
|
@@ -17644,7 +17644,7 @@ const vo = /* @__PURE__ */ nt(CU, [["render", mU], ["__scopeId", "data-v-c23563a
|
|
17644
17644
|
W.success && (H.attrs.src = W.file.url, l.value = (/* @__PURE__ */ new Date()).getTime().toString());
|
17645
17645
|
}) : (H.attrs.src = G.thumbUrl, l.value = (/* @__PURE__ */ new Date()).getTime().toString()));
|
17646
17646
|
}
|
17647
|
-
const IA = j(r.previewWidth), DA = j(
|
17647
|
+
const IA = j(r.previewWidth), DA = j(360);
|
17648
17648
|
let PA = j(!1), vA = j(""), YA = 0, UA = 0;
|
17649
17649
|
function he(y) {
|
17650
17650
|
vA.value = y, PA.value = !0, YA = event.clientX, y === "preview" ? UA = IA.value : y === "structure" && (UA = DA.value), window.addEventListener("mousemove", De), window.addEventListener("mouseup", yi);
|
@@ -17774,7 +17774,7 @@ const vo = /* @__PURE__ */ nt(CU, [["render", mU], ["__scopeId", "data-v-c23563a
|
|
17774
17774
|
}, 512)
|
17775
17775
|
]));
|
17776
17776
|
}
|
17777
|
-
}), HU = /* @__PURE__ */ nt(LU, [["__scopeId", "data-v-
|
17777
|
+
}), HU = /* @__PURE__ */ nt(LU, [["__scopeId", "data-v-9d28b506"]]), kU = {
|
17778
17778
|
install(A) {
|
17779
17779
|
A.component("Designer", HU);
|
17780
17780
|
}
|