vue-editify 0.0.39 → 0.0.40

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/editify.es.js CHANGED
@@ -17291,7 +17291,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
17291
17291
  }, null, 2);
17292
17292
  }
17293
17293
  const Icon = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-5ed6cd4d"]]);
17294
- const Button_vue_vue_type_style_index_0_scoped_ea3e1e88_lang = "";
17294
+ const Button_vue_vue_type_style_index_0_scoped_32253355_lang = "";
17295
17295
  const _sfc_main$9 = {
17296
17296
  name: "Button",
17297
17297
  emits: ["operate", "layerShow", "layerShown", "layerHidden"],
@@ -17614,7 +17614,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
17614
17614
  border: "",
17615
17615
  fade: "",
17616
17616
  placement: "bottom-start",
17617
- "z-index": 20,
17617
+ "z-index": 12,
17618
17618
  animation: "translate",
17619
17619
  onShow: $options.layerShow,
17620
17620
  onShown: $options.layerShown,
@@ -17655,7 +17655,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
17655
17655
  ], 2)
17656
17656
  ]);
17657
17657
  }
17658
- const Button = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-ea3e1e88"]]);
17658
+ const Button = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-32253355"]]);
17659
17659
  const Checkbox_vue_vue_type_style_index_0_scoped_50cd9e6c_lang = "";
17660
17660
  const _sfc_main$8 = {
17661
17661
  name: "Checkbox",
@@ -19988,7 +19988,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
19988
19988
  ]);
19989
19989
  }
19990
19990
  const InsertTable = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-227ede65"]]);
19991
- const Menu_vue_vue_type_style_index_0_scoped_a3e32a29_lang = "";
19991
+ const Menu_vue_vue_type_style_index_0_scoped_85cbaf03_lang = "";
19992
19992
  const _sfc_main$1 = {
19993
19993
  name: "Menu",
19994
19994
  props: {
@@ -21206,8 +21206,8 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
21206
21206
  }), 256))
21207
21207
  ], 14, _hoisted_1$1);
21208
21208
  }
21209
- const Menu = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-a3e32a29"]]);
21210
- const Editify_vue_vue_type_style_index_0_scoped_2702e06f_lang = "";
21209
+ const Menu = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-85cbaf03"]]);
21210
+ const Editify_vue_vue_type_style_index_0_scoped_5506c37b_lang = "";
21211
21211
  const _sfc_main = {
21212
21212
  name: "editify",
21213
21213
  props: { ...editorProps },
@@ -21536,7 +21536,7 @@ const _sfc_main = {
21536
21536
  }
21537
21537
  }
21538
21538
  }
21539
- if (!obj.element.isContains(this.$el, e.target)) {
21539
+ if (!obj.element.isContains(this.$el, e.target) && !this.isSourceView) {
21540
21540
  this.canUseMenu = false;
21541
21541
  }
21542
21542
  },
@@ -22825,7 +22825,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
22825
22825
  ])) : createCommentVNode("", true)
22826
22826
  ]);
22827
22827
  }
22828
- const Editify = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2702e06f"]]);
22828
+ const Editify = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-5506c37b"]]);
22829
22829
  const iconfont = "";
22830
22830
  const en_US = {
22831
22831
  textWrapUp: "Up feed",
@@ -23004,7 +23004,7 @@ const i18n = (locale) => {
23004
23004
  return translations[locale][key];
23005
23005
  };
23006
23006
  };
23007
- const version = "0.0.39";
23007
+ const version = "0.0.40";
23008
23008
  const install = (app, props) => {
23009
23009
  const locale = (props ? props.locale : "zh_CN") || "zh_CN";
23010
23010
  app.provide("$editTrans", i18n(locale));