vue-editify 0.0.42 → 0.0.44

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
@@ -17869,7 +17869,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
17869
17869
  ]);
17870
17870
  }
17871
17871
  const Colors = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-dc6d3d68"]]);
17872
- const Toolbar_vue_vue_type_style_index_0_scoped_29d60c70_lang = "";
17872
+ const Toolbar_vue_vue_type_style_index_0_scoped_43553c16_lang = "";
17873
17873
  const _sfc_main$6 = {
17874
17874
  name: "Toolbar",
17875
17875
  emits: ["update:modelValue"],
@@ -18741,7 +18741,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
18741
18741
  createVNode(_component_Button, {
18742
18742
  onOperate: _cache[9] || (_cache[9] = ($event) => $options.setWidth("auto")),
18743
18743
  name: "setAutoWidth",
18744
- title: $options.$editTrans("widthAuto"),
18744
+ title: $options.$editTrans("auto"),
18745
18745
  tooltip: $props.config.tooltip,
18746
18746
  color: _ctx.$parent.color
18747
18747
  }, {
@@ -18803,7 +18803,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
18803
18803
  rightBorder: "",
18804
18804
  onOperate: _cache[14] || (_cache[14] = ($event) => $options.setWidth("auto")),
18805
18805
  name: "setAutoWidth",
18806
- title: $options.$editTrans("widthAuto"),
18806
+ title: $options.$editTrans("auto"),
18807
18807
  tooltip: $props.config.tooltip,
18808
18808
  color: _ctx.$parent.color
18809
18809
  }, {
@@ -19364,7 +19364,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
19364
19364
  _: 1
19365
19365
  }, 8, ["modelValue", "node", "onShow", "useRange"]);
19366
19366
  }
19367
- const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-29d60c70"]]);
19367
+ const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-43553c16"]]);
19368
19368
  const InsertLink_vue_vue_type_style_index_0_scoped_e6c3c2ee_lang = "";
19369
19369
  const _sfc_main$5 = {
19370
19370
  name: "InsertLink",
@@ -21231,7 +21231,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
21231
21231
  ], 14, _hoisted_1$1);
21232
21232
  }
21233
21233
  const Menu = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-85cbaf03"]]);
21234
- const Editify_vue_vue_type_style_index_0_scoped_6e31db33_lang = "";
21234
+ const Editify_vue_vue_type_style_index_0_scoped_31c1a2aa_lang = "";
21235
21235
  const _sfc_main = {
21236
21236
  name: "editify",
21237
21237
  props: { ...editorProps },
@@ -22883,7 +22883,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
22883
22883
  ])) : createCommentVNode("", true)
22884
22884
  ]);
22885
22885
  }
22886
- const Editify = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6e31db33"]]);
22886
+ const Editify = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-31c1a2aa"]]);
22887
22887
  const iconfont = "";
22888
22888
  const en_US = {
22889
22889
  textWrapUp: "Up feed",
@@ -22968,7 +22968,7 @@ const en_US = {
22968
22968
  alignRight: "Align right",
22969
22969
  alignJustify: "Align justify",
22970
22970
  defaultLineHeight: "Default",
22971
- widthAuto: "auto"
22971
+ auto: "auto"
22972
22972
  };
22973
22973
  const zh_CN = {
22974
22974
  textWrapUp: "向上换行",
@@ -23053,7 +23053,7 @@ const zh_CN = {
23053
23053
  alignRight: "右对齐",
23054
23054
  alignJustify: "两端对齐",
23055
23055
  defaultLineHeight: "默认行高",
23056
- widthAuto: "宽度自适应"
23056
+ auto: "自适应"
23057
23057
  };
23058
23058
  const translations = {
23059
23059
  zh_CN,
@@ -23064,7 +23064,7 @@ const i18n = (locale) => {
23064
23064
  return translations[locale][key];
23065
23065
  };
23066
23066
  };
23067
- const version = "0.0.42";
23067
+ const version = "0.0.44";
23068
23068
  const install = (app, props) => {
23069
23069
  const locale = (props ? props.locale : "zh_CN") || "zh_CN";
23070
23070
  app.provide("$editTrans", i18n(locale));