@zhangqingcq/vgce 0.1.16 → 0.1.18

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/vgce.js CHANGED
@@ -20426,7 +20426,7 @@ const useEditPrivateStore = defineStore("edit-private-store", {
20426
20426
  }
20427
20427
  });
20428
20428
  var EVisibleConfKey = /* @__PURE__ */ ((i) => (i.ImportJson = "ImportJson", i.ExportJson = "ExportJson", i.ImportFile = "ImportFile", i))(EVisibleConfKey || {});
20429
- const _withScopeId$2 = (i) => (pushScopeId("data-v-01c79e12"), i = i(), popScopeId(), i), _hoisted_1$d = {
20429
+ const _withScopeId$2 = (i) => (pushScopeId("data-v-c6f23032"), i = i(), popScopeId(), i), _hoisted_1$d = {
20430
20430
  class: "flex justify-between",
20431
20431
  style: { width: "100%" }
20432
20432
  }, _hoisted_2$b = {
@@ -20451,7 +20451,7 @@ const _withScopeId$2 = (i) => (pushScopeId("data-v-01c79e12"), i = i(), popScope
20451
20451
  class: "el-divider el-divider--horizontal",
20452
20452
  role: "separator",
20453
20453
  style: { "--el-border-style": "solid" }
20454
- }, null, -1)), _hoisted_14$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "font-bold mb-10px text-15px guide-title" }, "画布缩放", -1)), _hoisted_15$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", null, "在画布空白区使用鼠标滚轮或者右侧面板‘图纸’栏可控制画布缩放", -1)), _hoisted_16$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", {
20454
+ }, null, -1)), _hoisted_14$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "font-bold mb-10px text-15px guide-title" }, "画布缩放", -1)), _hoisted_15$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", null, "在画布中使用鼠标滚轮或者右侧面板‘图纸’栏可控制画布缩放,鼠标滚轮以鼠标位置为缩放中心,图纸栏以图纸原点(默认在左上角)为缩放中心", -1)), _hoisted_16$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", {
20455
20455
  class: "el-divider el-divider--horizontal",
20456
20456
  role: "separator",
20457
20457
  style: { "--el-border-style": "solid" }
@@ -20727,7 +20727,7 @@ const _withScopeId$2 = (i) => (pushScopeId("data-v-01c79e12"), i = i(), popScope
20727
20727
  }, 8, ["modelValue"])
20728
20728
  ], 64));
20729
20729
  }
20730
- }), topPanel_vue_vue_type_style_index_0_scoped_01c79e12_lang = "", TopPanel = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["__scopeId", "data-v-01c79e12"]]), _hoisted_1$c = { class: "component-group flex flex-wrap" }, _hoisted_2$a = ["onDragstart", "title"], _sfc_main$C = /* @__PURE__ */ defineComponent({
20730
+ }), topPanel_vue_vue_type_style_index_0_scoped_c6f23032_lang = "", TopPanel = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["__scopeId", "data-v-c6f23032"]]), _hoisted_1$c = { class: "component-group flex flex-wrap" }, _hoisted_2$a = ["onDragstart", "title"], _sfc_main$C = /* @__PURE__ */ defineComponent({
20731
20731
  __name: "left-panel",
20732
20732
  props: {
20733
20733
  customToolbar: {}
@@ -42691,7 +42691,7 @@ const sub = (i, r, n, o, a) => {
42691
42691
  emits: ["onMessage", "onEvent"],
42692
42692
  setup(i, { expose: r, emit: n }) {
42693
42693
  useCssVars((T) => ({
42694
- "5af92a76": unref(d)
42694
+ "51655a09": unref(d)
42695
42695
  })), setEditorLoadTime();
42696
42696
  const o = n, a = i, u = useGlobalStore(pinia);
42697
42697
  componentsRegister(a.vueComp);
@@ -42797,7 +42797,7 @@ const sub = (i, r, n, o, a) => {
42797
42797
  if (!k)
42798
42798
  continue;
42799
42799
  for (let oe of O.attrs)
42800
- oe.key === "state" ? k.defaultState = valFormat(oe.val) : k.props.hasOwnProperty(oe.key) && (k.props[oe.key].val = valFormat(oe.val));
42800
+ oe.key === "state" ? k.defaultState = valFormat(oe.val) : oe.key === "display" ? k.display = valFormat(oe.val) : k.props.hasOwnProperty(oe.key) && (k.props[oe.key].val = valFormat(oe.val));
42801
42801
  }
42802
42802
  } else if (O.action === EEventAction.JavaScript)
42803
42803
  new Function(O.scripts)();
@@ -42962,7 +42962,7 @@ const sub = (i, r, n, o, a) => {
42962
42962
  ])
42963
42963
  ], 36));
42964
42964
  }
42965
- }), svgViewer_vue_vue_type_style_index_0_scoped_86bbdc9c_lang = "", svgViewer = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-86bbdc9c"]]);
42965
+ }), svgViewer_vue_vue_type_style_index_0_scoped_f5237156_lang = "", svgViewer = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-f5237156"]]);
42966
42966
  export {
42967
42967
  index as SvgEditor,
42968
42968
  svgViewer as SvgViewer