@popgrids/embed 0.0.9 → 0.0.10

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/dist/index.js CHANGED
@@ -1771,7 +1771,7 @@ var it = O("\n :host {\n display: block;\n width: 100%;\n --pop-commen
1771
1771
  if (!e) return "";
1772
1772
  let t = this.gridStore.comments.value.find((t) => t.id === e);
1773
1773
  if (!t) return "";
1774
- let n = t.status === "deleted", r = t.authorDeleted === !0, i = n || r, a = i ? "" : t.author?.image ? `<img src="${t.author.image}" alt="${t.author.name ?? "User avatar"}" />` : u(t.author?.name), o = this.gridStore.replyingTo.value, s = e !== null && o === e, c = this.size, l = this.authStore.currentUser.value, d = l && t.author && l.id === t.author.id, f = l && !n ? `<div class="comment__menu">
1774
+ let n = t.status === "deleted", r = t.authorDeleted === !0, i = n || r, a = i ? "" : t.author?.image ? `<img src="${t.author.image}" alt="${t.author.name ?? "User avatar"}" loading="lazy" />` : u(t.author?.name), o = this.gridStore.replyingTo.value, s = e !== null && o === e, c = this.size, l = this.authStore.currentUser.value, d = l && t.author && l.id === t.author.id, f = l && !n ? `<div class="comment__menu">
1775
1775
  <button class="comment__menu-trigger" data-ref="menu-trigger" type="button">
1776
1776
  <svg
1777
1777
  width="18"