@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.
@@ -2794,7 +2794,14 @@ const ea = nt({
2794
2794
  if (s && (!Ve.Comment || s[0].type !== Ve.Comment))
2795
2795
  return s;
2796
2796
  let a;
2797
- return i.renderContent ? a = i.renderContent(e, i.content) : i.pre ? a = i.content ? e("pre", i.content) : null : a = i.content, a;
2797
+ if (i.renderContent)
2798
+ try {
2799
+ a = i.renderContent(e, i.content);
2800
+ } catch (l) {
2801
+ console.warn("[TINY Error] renderContent catch error:", l), a = i.content || null;
2802
+ }
2803
+ else i.pre ? a = i.content ? e("pre", i.content) : null : a = i.content;
2804
+ return a;
2798
2805
  };
2799
2806
  if (!Object.prototype.hasOwnProperty.call(this, "popperVM")) {
2800
2807
  const i = {
@@ -3065,9 +3072,16 @@ const ia = nt({
3065
3072
  if (l)
3066
3073
  return l;
3067
3074
  let u;
3068
- return a.renderContent ? u = a.renderContent(e, a.content) : a.pre ? u = a.content ? e("pre", {
3075
+ if (a.renderContent)
3076
+ try {
3077
+ u = a.renderContent(e, a.content);
3078
+ } catch (c) {
3079
+ console.warn("[TINY Error] renderContent catch error:", c), u = a.content || null;
3080
+ }
3081
+ else a.pre ? u = a.content ? e("pre", {
3069
3082
  class: "tiny-tooltip-text-pre whitespace-pre-wrap"
3070
- }, a.content) : null : u = a.content, u;
3083
+ }, a.content) : null : u = a.content;
3084
+ return u;
3071
3085
  };
3072
3086
  if (!Object.hasOwnProperty.call(this, "popperVM")) {
3073
3087
  const a = {
@@ -3325,7 +3339,7 @@ const q = nt({
3325
3339
  template: ca
3326
3340
  });
3327
3341
  }
3328
- }), da = "3.30.0";
3342
+ }), da = "3.31.0";
3329
3343
  q.model = {
3330
3344
  prop: "modelValue",
3331
3345
  event: "update:modelValue"