@zhangqingcq/vgce 0.1.23 → 0.1.25
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -0
- package/dist/style.css +1 -1
- package/dist/vgce.js +5 -5
- package/dist/vgce.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/components/svg-viewer.vue +1 -1
- package/src/utils/mqtt-net.ts +1 -1
package/dist/vgce.js
CHANGED
@@ -42729,8 +42729,8 @@ class Link {
|
|
42729
42729
|
this.client = mqttExports.connect(c, {
|
42730
42730
|
username: n.trim(),
|
42731
42731
|
password: o.trim(),
|
42732
|
-
reconnectPeriod:
|
42733
|
-
/*如果连不上,
|
42732
|
+
reconnectPeriod: 12e4
|
42733
|
+
/*如果连不上,2分钟后重试*/
|
42734
42734
|
}), (d = this.client) == null || d.on("connect", () => {
|
42735
42735
|
var p, _;
|
42736
42736
|
console.log("MQTT服务器连接成功"), console.log((p = this.client) == null ? void 0 : p.options.clientId), (_ = this.client) == null || _.subscribe(a, { qos: 1 });
|
@@ -42784,7 +42784,7 @@ const t = function() {
|
|
42784
42784
|
emits: ["onMessage", "onEvent"],
|
42785
42785
|
setup(i, { expose: r, emit: n }) {
|
42786
42786
|
useCssVars((L) => ({
|
42787
|
-
"
|
42787
|
+
"021580d6": unref(f)
|
42788
42788
|
})), setEditorLoadTime();
|
42789
42789
|
const o = n, a = i;
|
42790
42790
|
let u = t();
|
@@ -42847,7 +42847,7 @@ const t = function() {
|
|
42847
42847
|
};
|
42848
42848
|
};
|
42849
42849
|
function g(L) {
|
42850
|
-
L != null && L.wheelDelta && (L.wheelDelta > 0 ? (d.config.svg.scale = myFixed(d.config.svg.scale + 0.1, 1), getZoomPosition(L, d.config.svg.scale, d.layout_center, !0)) : (d.config.svg.scale = myFixed(d.config.svg.scale - 0.1, 1), getZoomPosition(L, d.config.svg.scale, d.layout_center, !1)));
|
42850
|
+
L != null && L.wheelDelta && (L.wheelDelta > 0 ? (d.config.svg.scale = myFixed(d.config.svg.scale + 0.1, 1), getZoomPosition(L, d.config.svg.scale, d.layout_center, !0)) : d.config.svg.scale > 0.1 && (d.config.svg.scale = myFixed(d.config.svg.scale - 0.1, 1), getZoomPosition(L, d.config.svg.scale, d.layout_center, !1)));
|
42851
42851
|
}
|
42852
42852
|
const y = (L, O, M) => ({
|
42853
42853
|
x: L.x - L.width / 2 * O + L.width / 2,
|
@@ -43061,7 +43061,7 @@ const t = function() {
|
|
43061
43061
|
])
|
43062
43062
|
], 36));
|
43063
43063
|
}
|
43064
|
-
}),
|
43064
|
+
}), svgViewer_vue_vue_type_style_index_0_scoped_a47db329_lang = "", svgViewer = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-a47db329"]]);
|
43065
43065
|
export {
|
43066
43066
|
index as SvgEditor,
|
43067
43067
|
svgViewer as SvgViewer
|