@zhangqingcq/vgce 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/style.css +1 -1
- package/dist/vgce.js +10 -3
- package/dist/vgce.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/components/svg-viewer.vue +17 -1
- package/src/config/svg/custom/svg-text.ts +5 -0
- package/src/utils/mqtt-net.ts +2 -1
package/dist/vgce.js
CHANGED
@@ -362,6 +362,11 @@ const svg_alert_light = {
|
|
362
362
|
actual_rect: !0
|
363
363
|
},
|
364
364
|
props: {
|
365
|
+
/*deviceCode:{
|
366
|
+
title:'设备编码',
|
367
|
+
type:EConfigItemPropsType.Input,
|
368
|
+
val:''
|
369
|
+
},*/
|
365
370
|
text: {
|
366
371
|
title: "文字内容",
|
367
372
|
type: EConfigItemPropsType.Textarea,
|
@@ -39219,7 +39224,9 @@ let client;
|
|
39219
39224
|
const sub = (r, n, i, o, a) => {
|
39220
39225
|
client = mqttExports.connect(r, {
|
39221
39226
|
username: n,
|
39222
|
-
password: i
|
39227
|
+
password: i,
|
39228
|
+
reconnectPeriod: 6e5
|
39229
|
+
/*如果连不上,10分钟后重试*/
|
39223
39230
|
}), client.on("connect", () => {
|
39224
39231
|
console.log("MQTT服务器连接成功"), console.log(client.options.clientId), client.subscribe(o, { qos: 1 });
|
39225
39232
|
}), client.on("message", a);
|
@@ -39237,7 +39244,7 @@ const sub = (r, n, i, o, a) => {
|
|
39237
39244
|
setup(r, { expose: n, emit: i }) {
|
39238
39245
|
const o = r;
|
39239
39246
|
useCssVars((w) => ({
|
39240
|
-
|
39247
|
+
"2560e28f": unref(c)
|
39241
39248
|
})), setEditorLoadTime();
|
39242
39249
|
const a = useGlobalStore(pinia);
|
39243
39250
|
componentsRegister();
|
@@ -39454,7 +39461,7 @@ const sub = (r, n, i, o, a) => {
|
|
39454
39461
|
], 4))
|
39455
39462
|
], 32));
|
39456
39463
|
}
|
39457
|
-
}),
|
39464
|
+
}), svgViewer_vue_vue_type_style_index_0_scoped_5171fc53_lang = "", svgViewer = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-5171fc53"]]);
|
39458
39465
|
export {
|
39459
39466
|
index as SvgEditor,
|
39460
39467
|
svgViewer as SvgViewer
|