@pagelines/sdk 1.0.513 → 1.0.514

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.
@@ -2734,23 +2734,23 @@ const ur = ["innerHTML"], Qt = /* @__PURE__ */ we({
2734
2734
  (T(!0), S(Se, null, ot(x.attachments, (X, ge) => (T(), S(Se, { key: ge }, [
2735
2735
  X.type === "image" ? (T(), S("img", {
2736
2736
  key: 0,
2737
- src: X.url,
2738
- alt: X.name,
2737
+ src: X.src,
2738
+ alt: X.filename,
2739
2739
  class: "rounded-xl object-cover max-h-48 max-w-[240px] @sm/chat:max-w-[320px]"
2740
2740
  }, null, 8, Ir)) : X.type === "audio" ? (T(), S("audio", {
2741
2741
  key: 1,
2742
- src: X.url,
2742
+ src: X.src,
2743
2743
  controls: "",
2744
2744
  class: "max-w-full"
2745
2745
  }, null, 8, Dr)) : (T(), S("a", {
2746
2746
  key: 2,
2747
- href: X.url,
2747
+ href: X.src,
2748
2748
  target: "_blank",
2749
2749
  rel: "noopener",
2750
2750
  class: _(["inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs", I.value ? "bg-theme-100 text-theme-600 hover:bg-theme-200" : "bg-white/10 text-white/80 hover:bg-white/20"])
2751
2751
  }, [
2752
2752
  m[14] || (m[14] = A("i", { class: "i-tabler-file size-3.5" }, null, -1)),
2753
- On(" " + le(X.name), 1)
2753
+ On(" " + le(X.filename), 1)
2754
2754
  ], 10, Mr))
2755
2755
  ], 64))), 128))
2756
2756
  ], 2)) : B("", !0),
@@ -2799,15 +2799,15 @@ const ur = ["innerHTML"], Qt = /* @__PURE__ */ we({
2799
2799
  }, [
2800
2800
  x.type === "image" ? (T(), S("img", {
2801
2801
  key: 0,
2802
- src: x.url,
2803
- alt: x.name,
2802
+ src: x.src,
2803
+ alt: x.filename,
2804
2804
  class: _(["size-14 rounded-xl object-cover border", I.value ? "border-black/10" : "border-white/20"])
2805
2805
  }, null, 10, Pr)) : (T(), S("div", {
2806
2806
  key: 1,
2807
2807
  class: _(["h-14 px-3 rounded-xl flex items-center gap-1.5 text-xs border", I.value ? "border-black/10 bg-theme-50 text-theme-600" : "border-white/20 bg-white/10 text-white/70"])
2808
2808
  }, [
2809
2809
  m[15] || (m[15] = A("i", { class: "i-tabler-file size-4" }, null, -1)),
2810
- A("span", Nr, le(x.name), 1)
2810
+ A("span", Nr, le(x.filename), 1)
2811
2811
  ], 2)),
2812
2812
  A("button", {
2813
2813
  class: "absolute -top-1.5 -right-1.5 size-5 flex items-center justify-center rounded-full bg-theme-800 text-white text-xs scale-0 group-hover:scale-100 transition-transform cursor-pointer",