@opentinyvue/vue-runtime 3.30.0 → 3.31.0

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.
@@ -2338,7 +2338,7 @@ var Ji = ["IconLoadingShadow", "IconNoData"], tr = 0, rr = function(t, r) {
2338
2338
  return r.indexOf(n.$el) - r.indexOf(i.$el);
2339
2339
  });
2340
2340
  };
2341
- const _a = "3.30.0";
2341
+ const _a = "3.31.0";
2342
2342
  var xa = ra($($({}, v), {}, {
2343
2343
  isVue2: er
2344
2344
  })), Aa = na($($({}, v), {}, {
@@ -2795,7 +2795,14 @@ const Ut = /* @__PURE__ */ it({
2795
2795
  if (i && (!ze.Comment || i[0].type !== ze.Comment))
2796
2796
  return i;
2797
2797
  let a;
2798
- return o.renderContent ? a = o.renderContent(U, o.content) : o.pre ? a = o.content ? U("pre", o.content) : null : a = o.content, a;
2798
+ if (o.renderContent)
2799
+ try {
2800
+ a = o.renderContent(U, o.content);
2801
+ } catch (s) {
2802
+ console.warn("[TINY Error] renderContent catch error:", s), a = o.content || null;
2803
+ }
2804
+ else o.pre ? a = o.content ? U("pre", o.content) : null : a = o.content;
2805
+ return a;
2799
2806
  };
2800
2807
  if (!Object.prototype.hasOwnProperty.call(this, "popperVM")) {
2801
2808
  const o = {
@@ -3024,9 +3031,16 @@ const ea = /* @__PURE__ */ it({
3024
3031
  if (s)
3025
3032
  return s;
3026
3033
  let l;
3027
- return a.renderContent ? l = a.renderContent(U, a.content) : a.pre ? l = a.content ? U("pre", {
3034
+ if (a.renderContent)
3035
+ try {
3036
+ l = a.renderContent(U, a.content);
3037
+ } catch (u) {
3038
+ console.warn("[TINY Error] renderContent catch error:", u), l = a.content || null;
3039
+ }
3040
+ else a.pre ? l = a.content ? U("pre", {
3028
3041
  class: "tiny-tooltip-text-pre whitespace-pre-wrap"
3029
- }, a.content) : null : l = a.content, l;
3042
+ }, a.content) : null : l = a.content;
3043
+ return l;
3030
3044
  };
3031
3045
  if (!Object.hasOwnProperty.call(this, "popperVM")) {
3032
3046
  const a = {
@@ -3258,7 +3272,7 @@ const Q = it({
3258
3272
  template: ta
3259
3273
  });
3260
3274
  }
3261
- }), na = "3.30.0";
3275
+ }), na = "3.31.0";
3262
3276
  Q.model = {
3263
3277
  prop: "modelValue",
3264
3278
  event: "update:modelValue"