vue-editify 0.1.5 → 0.1.7

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
@@ -2155,6 +2155,9 @@ const closedParse = [
2155
2155
  },
2156
2156
  {
2157
2157
  parsedom: "audio"
2158
+ },
2159
+ {
2160
+ parsedom: "svg"
2158
2161
  }
2159
2162
  ];
2160
2163
  const inblockParse = [
@@ -17070,7 +17073,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
17070
17073
  }, 8, ["name", "onEnter", "onAfterEnter", "onAfterLeave"]);
17071
17074
  }
17072
17075
  const Layer = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-b5a839e3"]]);
17073
- const Tooltip_vue_vue_type_style_index_0_scoped_5293a020_lang = "";
17076
+ const Tooltip_vue_vue_type_style_index_0_scoped_6456f300_lang = "";
17074
17077
  const _sfc_main$b = {
17075
17078
  name: "Tooltip",
17076
17079
  props: {
@@ -17115,24 +17118,23 @@ const _sfc_main$b = {
17115
17118
  }
17116
17119
  }
17117
17120
  };
17118
- const _hoisted_1$a = {
17119
- ref: "target",
17120
- class: "editify-tooltip-target"
17121
- };
17122
- const _hoisted_2$9 = { class: "editify-tooltip-content" };
17121
+ const _hoisted_1$a = { class: "editify-tooltip-content" };
17123
17122
  function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
17124
17123
  const _component_Layer = resolveComponent("Layer");
17125
17124
  return openBlock(), createElementBlock("div", {
17126
- class: normalizeClass(["editify-tooltip", { block: $props.block }]),
17127
- onMouseenter: _cache[1] || (_cache[1] = (...args) => $options.showContent && $options.showContent(...args)),
17128
- onMouseleave: _cache[2] || (_cache[2] = (...args) => $options.hideContent && $options.hideContent(...args))
17125
+ class: normalizeClass(["editify-tooltip", { block: $props.block }])
17129
17126
  }, [
17130
- createElementVNode("div", _hoisted_1$a, [
17127
+ createElementVNode("div", {
17128
+ ref: "target",
17129
+ class: "editify-tooltip-target",
17130
+ onMouseenter: _cache[0] || (_cache[0] = (...args) => $options.showContent && $options.showContent(...args)),
17131
+ onMouseleave: _cache[1] || (_cache[1] = (...args) => $options.hideContent && $options.hideContent(...args))
17132
+ }, [
17131
17133
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
17132
- ], 512),
17134
+ ], 544),
17133
17135
  createVNode(_component_Layer, {
17134
17136
  modelValue: $data.show,
17135
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.show = $event),
17137
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.show = $event),
17136
17138
  node: $data.node,
17137
17139
  border: "",
17138
17140
  "border-color": "#000",
@@ -17143,13 +17145,13 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
17143
17145
  animation: "fade"
17144
17146
  }, {
17145
17147
  default: withCtx(() => [
17146
- createElementVNode("div", _hoisted_2$9, toDisplayString($props.content), 1)
17148
+ createElementVNode("div", _hoisted_1$a, toDisplayString($props.content), 1)
17147
17149
  ]),
17148
17150
  _: 1
17149
17151
  }, 8, ["modelValue", "node"])
17150
- ], 34);
17152
+ ], 2);
17151
17153
  }
17152
- const Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-5293a020"]]);
17154
+ const Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-6456f300"]]);
17153
17155
  const Icon_vue_vue_type_style_index_0_scoped_5ed6cd4d_lang = "";
17154
17156
  const _sfc_main$a = {
17155
17157
  name: "Icon",
@@ -22265,7 +22267,7 @@ const i18n = (locale) => {
22265
22267
  return translations[locale][key];
22266
22268
  };
22267
22269
  };
22268
- const version = "0.1.5";
22270
+ const version = "0.1.7";
22269
22271
  const install = (app, props) => {
22270
22272
  const locale = (props ? props.locale : "zh_CN") || "zh_CN";
22271
22273
  app.provide("$editTrans", i18n(locale));