@templatical/editor 0.52.0 → 0.52.1

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.
Files changed (261) hide show
  1. package/dist/{AiAltTextPopover-Cm11CsKH.js → AiAltTextPopover-DawbUywc.js} +13 -13
  2. package/dist/{AiAltTextReview-DE8t8Rud.js → AiAltTextReview-9ySsXOTU.js} +22 -22
  3. package/dist/{AiChatPanel-7ftS7d40.js → AiChatPanel-CupPhmsN.js} +137 -137
  4. package/dist/{AiPanels-CxGp6klr.js → AiPanels-DqT4PgQ0.js} +4 -4
  5. package/dist/{AiRewriteMenu-DNI-5CUj.js → AiRewriteMenu-28agTycW.js} +62 -62
  6. package/dist/BlockIssueBadge-BxpDy3u-.js +33 -0
  7. package/dist/{BlockPreviewCanvas-Df9iz7sK.js → BlockPreviewCanvas-B-4bmJ3t.js} +23 -23
  8. package/dist/{CloudHeaderExtras-CsgyNNV1.js → CloudHeaderExtras-QI82yF54.js} +3 -3
  9. package/dist/{CloudPanels-BDV4XQ_l.js → CloudPanels-BKJaLkUN.js} +50 -50
  10. package/dist/{CollaborationNotices-JQ3vQoqO.js → CollaborationNotices-CTw4JThq.js} +11 -11
  11. package/dist/{CollaboratorBar-EeqqWcX6.js → CollaboratorBar-CXQqN3VP.js} +15 -15
  12. package/dist/{CommentsPanel-BuftXc0U.js → CommentsPanel-DwwFuh1h.js} +2 -2
  13. package/dist/CommentsSidebar-9ZfiC2DO.js +500 -0
  14. package/dist/{CountdownBlock-BT3ZTH1F.js → CountdownBlock-CU2yTWtF.js} +20 -20
  15. package/dist/{CountdownToolbar-CrL4WKy9.js → CountdownToolbar-BqoYzf_6.js} +53 -53
  16. package/dist/IssuesPanel-4ykrf1ax.js +359 -0
  17. package/dist/{LoadingTrack-DZA5AoP9.js → LoadingTrack-DM4g6j7b.js} +1 -1
  18. package/dist/{LogicTagInsertButton-CSD9cfJB.js → LogicTagInsertButton-CfscnwCn.js} +234 -234
  19. package/dist/{MediaEditModal-DQl5w44r.js → MediaEditModal-Dy08GEwE.js} +446 -446
  20. package/dist/{MediaPanels-BFWYuJot.js → MediaPanels-BgEp7iCp.js} +2 -2
  21. package/dist/{MergeTagInput-DE7kWwXx.js → MergeTagInput-B9dtUthD.js} +11 -11
  22. package/dist/{MergeTagModeToggle-DvD0ne7N.js → MergeTagModeToggle-DxujhYJ4.js} +30 -30
  23. package/dist/{MergeTagTextarea-DVPQkiYY.js → MergeTagTextarea-CPFEjJZd.js} +11 -11
  24. package/dist/{ParagraphEditor-D-nqs82g.js → ParagraphEditor-CWXfurGh.js} +201 -201
  25. package/dist/{RestoreVersionDialog-DqUPsLB9.js → RestoreVersionDialog-C4s_JYCx.js} +14 -14
  26. package/dist/{RichTextEditorContent-Xq9D0Zs3.js → RichTextEditorContent-o6HmE8GR.js} +40 -39
  27. package/dist/{SaveBlockDialog-DAPv70p4.js → SaveBlockDialog-CWLrly6l.js} +56 -56
  28. package/dist/SavedBlocksBrowserModal-CE8n4EBS.js +359 -0
  29. package/dist/{SavedBlocksPanels-ChbL9v9x.js → SavedBlocksPanels-BE1N9rNZ.js} +6 -6
  30. package/dist/{SavedBlocksPickBar-hRaiLNdu.js → SavedBlocksPickBar-Dwl94xhP.js} +12 -12
  31. package/dist/{TemplateSettings-D0XcH32O.js → TemplateSettings-CS0f1Ues.js} +74 -74
  32. package/dist/{TestEmailModal-Cb5t0yB2.js → TestEmailModal-DBD0X5nV.js} +52 -52
  33. package/dist/{TestEmailPanel-COJQa2A9.js → TestEmailPanel-DaFjP9QK.js} +2 -2
  34. package/dist/{TitleEditor-BYk_9SpQ.js → TitleEditor-DSqtle77.js} +75 -75
  35. package/dist/{ToggleSwitch-poGWbduy.js → ToggleSwitch-JykPyD_8.js} +4 -4
  36. package/dist/{Toolbar-Dku_pZni.js → Toolbar-BZPFfKrf.js} +913 -913
  37. package/dist/{TplModal-9IndEYk5.js → TplModal-DLMssVlt.js} +15 -15
  38. package/dist/{VersionHistoryMenu-BG5qayvg.js → VersionHistoryMenu-BkbYUs0Q.js} +35 -35
  39. package/dist/{VersionHistoryPanels-hPg7Q5-f.js → VersionHistoryPanels-DP7HaYWv.js} +4 -4
  40. package/dist/{VersionPreviewBanner-CSs7zum_.js → VersionPreviewBanner-DECaBwLq.js} +9 -9
  41. package/dist/{WrapperBlock-DwjK_IdJ.js → WrapperBlock-BsJv_Fiw.js} +16 -16
  42. package/dist/{blockTypeIcons-yt7SLzub.js → blockTypeIcons-BHjlPnPf.js} +23 -22
  43. package/dist/bundle-stats.json +6 -6
  44. package/dist/cdn/chunks/{AiAltTextPopover-DjMoJCgU.js → AiAltTextPopover-SEEjkd-I.js} +21 -21
  45. package/dist/cdn/chunks/{AiAltTextPopover-DjMoJCgU.js.map → AiAltTextPopover-SEEjkd-I.js.map} +1 -1
  46. package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js → AiAltTextReview-BGLLSKLm.js} +41 -41
  47. package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js.map → AiAltTextReview-BGLLSKLm.js.map} +1 -1
  48. package/dist/cdn/chunks/{AiChatPanel-DXeZgc7D.js → AiChatPanel-DKDAaBNi.js} +127 -127
  49. package/dist/cdn/chunks/{AiChatPanel-DXeZgc7D.js.map → AiChatPanel-DKDAaBNi.js.map} +1 -1
  50. package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js → AiPanels-0wBarZSH.js} +3 -3
  51. package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js.map → AiPanels-0wBarZSH.js.map} +1 -1
  52. package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js → AiRewriteMenu-qf-cfEpy.js} +43 -43
  53. package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js.map → AiRewriteMenu-qf-cfEpy.js.map} +1 -1
  54. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js +34 -0
  55. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js.map +1 -0
  56. package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js → BlockPreviewCanvas-DGBh6mqe.js} +20 -20
  57. package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js.map → BlockPreviewCanvas-DGBh6mqe.js.map} +1 -1
  58. package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js → CloudHeaderExtras-BMNK_F9p.js} +3 -3
  59. package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js.map → CloudHeaderExtras-BMNK_F9p.js.map} +1 -1
  60. package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js → CloudPanels-JMWIoVWh.js} +32 -32
  61. package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js.map → CloudPanels-JMWIoVWh.js.map} +1 -1
  62. package/dist/cdn/chunks/{CollaborationNotices-Hf8r08Sw.js → CollaborationNotices-Bsf1rGW9.js} +12 -12
  63. package/dist/cdn/chunks/{CollaborationNotices-Hf8r08Sw.js.map → CollaborationNotices-Bsf1rGW9.js.map} +1 -1
  64. package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js → CollaboratorBar-CXByAoUz.js} +14 -14
  65. package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js.map → CollaboratorBar-CXByAoUz.js.map} +1 -1
  66. package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js → CommentsPanel-DoJnKLXI.js} +3 -3
  67. package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js.map → CommentsPanel-DoJnKLXI.js.map} +1 -1
  68. package/dist/cdn/chunks/{CommentsSidebar-Dj8sDiLN.js → CommentsSidebar-CUtgvdBC.js} +100 -99
  69. package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js.map +1 -0
  70. package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js → CountdownBlock-BqRw147R.js} +18 -18
  71. package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js.map → CountdownBlock-BqRw147R.js.map} +1 -1
  72. package/dist/cdn/chunks/{CountdownToolbar-CguFJdqn.js → CountdownToolbar-xobieKoU.js} +26 -26
  73. package/dist/cdn/chunks/{CountdownToolbar-CguFJdqn.js.map → CountdownToolbar-xobieKoU.js.map} +1 -1
  74. package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js → IssuesPanel-C7LfxaAY.js} +75 -75
  75. package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js.map → IssuesPanel-C7LfxaAY.js.map} +1 -1
  76. package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js → LoadingTrack-CZuLTazv.js} +2 -2
  77. package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js.map → LoadingTrack-CZuLTazv.js.map} +1 -1
  78. package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js → LogicTagInsertButton-BIi05UQu.js} +250 -250
  79. package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js.map → LogicTagInsertButton-BIi05UQu.js.map} +1 -1
  80. package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js → MediaEditModal-Cpcod6_U.js} +148 -148
  81. package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js.map → MediaEditModal-Cpcod6_U.js.map} +1 -1
  82. package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js → MediaPanels-BIdcW_1f.js} +3 -3
  83. package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js.map → MediaPanels-BIdcW_1f.js.map} +1 -1
  84. package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js → MergeTagInput-BvWg8o5E.js} +32 -32
  85. package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js.map → MergeTagInput-BvWg8o5E.js.map} +1 -1
  86. package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js → MergeTagModeToggle-BgKEVUtV.js} +27 -27
  87. package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js.map → MergeTagModeToggle-BgKEVUtV.js.map} +1 -1
  88. package/dist/cdn/chunks/{MergeTagTextarea-Zo0mYWbf.js → MergeTagTextarea-tBz8McZf.js} +32 -32
  89. package/dist/cdn/chunks/{MergeTagTextarea-Zo0mYWbf.js.map → MergeTagTextarea-tBz8McZf.js.map} +1 -1
  90. package/dist/cdn/chunks/{ParagraphEditor-DsPLVAgm.js → ParagraphEditor-B3Rj_cWF.js} +191 -191
  91. package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js.map +1 -0
  92. package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js → RestoreVersionDialog-CjOdD2xj.js} +19 -19
  93. package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js.map → RestoreVersionDialog-CjOdD2xj.js.map} +1 -1
  94. package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js → RichTextEditorContent-DNjR_sNN.js} +29 -29
  95. package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js.map → RichTextEditorContent-DNjR_sNN.js.map} +1 -1
  96. package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js → SaveBlockDialog-CUhpawq0.js} +75 -75
  97. package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js.map → SaveBlockDialog-CUhpawq0.js.map} +1 -1
  98. package/dist/cdn/chunks/SavedBlocksBrowserModal-BPYcRoGa.js +356 -0
  99. package/dist/cdn/chunks/{SavedBlocksBrowserModal-B9XCjDfm.js.map → SavedBlocksBrowserModal-BPYcRoGa.js.map} +1 -1
  100. package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js → SavedBlocksPanels-C6--Bc81.js} +3 -3
  101. package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js.map → SavedBlocksPanels-C6--Bc81.js.map} +1 -1
  102. package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js → SavedBlocksPickBar-DUavxpbU.js} +14 -14
  103. package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js.map → SavedBlocksPickBar-DUavxpbU.js.map} +1 -1
  104. package/dist/cdn/chunks/{TemplateSettings-jWpmuWDR.js → TemplateSettings-CKtI-dof.js} +69 -69
  105. package/dist/cdn/chunks/{TemplateSettings-jWpmuWDR.js.map → TemplateSettings-CKtI-dof.js.map} +1 -1
  106. package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js → TestEmailModal-CDQTgESD.js} +65 -65
  107. package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js.map → TestEmailModal-CDQTgESD.js.map} +1 -1
  108. package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js → TestEmailPanel-CcUpEpAn.js} +3 -3
  109. package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js.map → TestEmailPanel-CcUpEpAn.js.map} +1 -1
  110. package/dist/cdn/chunks/{TitleEditor-R2lQw6WA.js → TitleEditor-Cob7RLyK.js} +70 -70
  111. package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js.map +1 -0
  112. package/dist/cdn/chunks/{ToggleSwitch-BDMugNES.js → ToggleSwitch-J7Vwhvha.js} +5 -5
  113. package/dist/cdn/chunks/{ToggleSwitch-BDMugNES.js.map → ToggleSwitch-J7Vwhvha.js.map} +1 -1
  114. package/dist/cdn/chunks/{Toolbar-CnvfW72e.js → Toolbar-CdpsvNOR.js} +893 -893
  115. package/dist/cdn/chunks/{Toolbar-CnvfW72e.js.map → Toolbar-CdpsvNOR.js.map} +1 -1
  116. package/dist/cdn/chunks/TplModal-CFPDgbwQ.js +51 -0
  117. package/dist/cdn/chunks/{TplModal-BDyeS69p.js.map → TplModal-CFPDgbwQ.js.map} +1 -1
  118. package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js → VersionHistoryMenu-BYlLRvRJ.js} +32 -32
  119. package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js.map → VersionHistoryMenu-BYlLRvRJ.js.map} +1 -1
  120. package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js → VersionHistoryPanels-C6SOVoiT.js} +3 -3
  121. package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js.map → VersionHistoryPanels-C6SOVoiT.js.map} +1 -1
  122. package/dist/cdn/chunks/{VersionPreviewBanner-CZ--HOoa.js → VersionPreviewBanner-Dvg0ZfAW.js} +10 -10
  123. package/dist/cdn/chunks/{VersionPreviewBanner-CZ--HOoa.js.map → VersionPreviewBanner-Dvg0ZfAW.js.map} +1 -1
  124. package/dist/cdn/chunks/{WrapperBlock-D3obNGab.js → WrapperBlock-C7Md56IT.js} +13 -13
  125. package/dist/cdn/chunks/{WrapperBlock-D3obNGab.js.map → WrapperBlock-C7Md56IT.js.map} +1 -1
  126. package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js +21 -0
  127. package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js.map +1 -0
  128. package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js → createCloudRuntime-Cth2JCEh.js} +36 -36
  129. package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js.map → createCloudRuntime-Cth2JCEh.js.map} +1 -1
  130. package/dist/cdn/chunks/{dist-C2epoAwW.js → dist-8ym3y-pH.js} +43 -43
  131. package/dist/cdn/chunks/{dist-C2epoAwW.js.map → dist-8ym3y-pH.js.map} +1 -1
  132. package/dist/{dist-BA-jTQgw.js → cdn/chunks/dist-BMzNabtD.js} +106 -107
  133. package/dist/cdn/chunks/{dist-CONcGNwy.js.map → dist-BMzNabtD.js.map} +1 -1
  134. package/dist/cdn/chunks/{draggable-B8hTTYFO.js → draggable-Du8AUMFT.js} +639 -636
  135. package/dist/cdn/chunks/draggable-Du8AUMFT.js.map +1 -0
  136. package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js → editor-modal-CyCe560f.js} +891 -891
  137. package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js.map → editor-modal-CyCe560f.js.map} +1 -1
  138. package/dist/cdn/chunks/en-TIqv4ag3.js +1 -0
  139. package/dist/cdn/chunks/{extensions-ClDhn88e.js → extensions-CFF2KWy-.js} +55 -55
  140. package/dist/cdn/chunks/{extensions-ClDhn88e.js.map → extensions-CFF2KWy-.js.map} +1 -1
  141. package/dist/cdn/chunks/{icons-HCBP93Ch.js → icons-okSPsLOa.js} +99 -97
  142. package/dist/cdn/chunks/icons-okSPsLOa.js.map +1 -0
  143. package/dist/cdn/chunks/{keys-BF9gazbd.js → keys-CUj6UA38.js} +2 -2
  144. package/dist/cdn/chunks/{keys-BF9gazbd.js.map → keys-CUj6UA38.js.map} +1 -1
  145. package/dist/cdn/chunks/{liquid.browser-DkLBNrft.js → liquid.browser-rubac0VA.js} +782 -746
  146. package/dist/cdn/chunks/liquid.browser-rubac0VA.js.map +1 -0
  147. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DpHCSESZ.js → normalizeMergeTagMarkup-C_KlfSW4.js} +2 -2
  148. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DpHCSESZ.js.map → normalizeMergeTagMarkup-C_KlfSW4.js.map} +1 -1
  149. package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js → preRenderCustomBlocks-BcXIz7oJ.js} +2 -2
  150. package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js.map → preRenderCustomBlocks-BcXIz7oJ.js.map} +1 -1
  151. package/dist/cdn/chunks/{sanitizeHtml-B2h15u0_.js → sanitizeHtml-CN85EDrO.js} +2 -2
  152. package/dist/cdn/chunks/{sanitizeHtml-B2h15u0_.js.map → sanitizeHtml-CN85EDrO.js.map} +1 -1
  153. package/dist/cdn/chunks/{socialIcons-rJoqO1TJ.js → socialIcons-jsTDmkbb.js} +480 -480
  154. package/dist/cdn/chunks/{socialIcons-rJoqO1TJ.js.map → socialIcons-jsTDmkbb.js.map} +1 -1
  155. package/dist/cdn/chunks/{src-CUH_EI7k.js → src-C7bkofBL.js} +6 -6
  156. package/dist/cdn/chunks/{src-CUH_EI7k.js.map → src-C7bkofBL.js.map} +1 -1
  157. package/dist/cdn/chunks/{src-BKpAis_q.js → src-DEd87i_U.js} +2 -2
  158. package/dist/cdn/chunks/{src-BKpAis_q.js.map → src-DEd87i_U.js.map} +1 -1
  159. package/dist/cdn/chunks/{src-C9DTvn1H.js → src-DwWrYnUj.js} +3 -22
  160. package/dist/cdn/chunks/src-DwWrYnUj.js.map +1 -0
  161. package/dist/cdn/chunks/{tiptap-ChSZybTi.js → tiptap-CbiTlECY.js} +45 -45
  162. package/dist/cdn/chunks/{tiptap-ChSZybTi.js.map → tiptap-CbiTlECY.js.map} +1 -1
  163. package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js → useCloudI18n-DY8_-ETE.js} +3 -3
  164. package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js.map → useCloudI18n-DY8_-ETE.js.map} +1 -1
  165. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js +2582 -0
  166. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js.map +1 -0
  167. package/dist/cdn/chunks/useEditorRoot-vjZJwKrV.js +9 -0
  168. package/dist/cdn/chunks/{useEditorRoot-BT3c9CXj.js.map → useEditorRoot-vjZJwKrV.js.map} +1 -1
  169. package/dist/cdn/chunks/{useI18n-11iqzC6m.js → useI18n-D8pY4LTq.js} +3 -3
  170. package/dist/cdn/chunks/{useI18n-11iqzC6m.js.map → useI18n-D8pY4LTq.js.map} +1 -1
  171. package/dist/{useLogicTag-DFDYJeMN.js → cdn/chunks/useLogicTag-DBJDtpKA.js} +5 -3
  172. package/dist/cdn/chunks/{useLogicTag-vy5KGg5D.js.map → useLogicTag-DBJDtpKA.js.map} +1 -1
  173. package/dist/{useMergeTag-B46vACAG.js → cdn/chunks/useMergeTag-B-aG--s1.js} +7 -5
  174. package/dist/cdn/chunks/{useMergeTag-BFBBjnwh.js.map → useMergeTag-B-aG--s1.js.map} +1 -1
  175. package/dist/cdn/chunks/{usePopoverPosition-AnVIwiVv.js → usePopoverPosition-DSMtmu2W.js} +4 -4
  176. package/dist/cdn/chunks/{usePopoverPosition-AnVIwiVv.js.map → usePopoverPosition-DSMtmu2W.js.map} +1 -1
  177. package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js → useScrollToBlock-vjQ0fe-L.js} +3 -3
  178. package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js.map → useScrollToBlock-vjQ0fe-L.js.map} +1 -1
  179. package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js → withCurrentFont-hZTvYBHO.js} +2 -2
  180. package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js.map → withCurrentFont-hZTvYBHO.js.map} +1 -1
  181. package/dist/cdn/editor.css +1 -1
  182. package/dist/cdn/editor.js +1422 -1422
  183. package/dist/cdn/editor.js.map +1 -1
  184. package/dist/{check-N3x4z_rH.js → check-BZ8o0eet.js} +1 -1
  185. package/dist/{chevron-down-gXu9qNwO.js → chevron-down-DfAAfILv.js} +1 -1
  186. package/dist/{chevron-right-rL0ayGk5.js → chevron-right-Bk4mGdr7.js} +1 -1
  187. package/dist/{chevron-up-0ugh8HnW.js → chevron-up-MhUf_azW.js} +1 -1
  188. package/dist/{circle-alert-B9Ls75B5.js → circle-alert-CShJwVFv.js} +1 -1
  189. package/dist/{clock-BqHBaCLm.js → clock-CTfD6OCt.js} +1 -1
  190. package/dist/{createCloudRuntime-B5VIdnwz.js → createCloudRuntime-DCgO4A1r.js} +24 -24
  191. package/dist/{createLucideIcon-BV7Gwz_Z.js → createLucideIcon-CvhTA2KG.js} +6 -6
  192. package/dist/{cdn/chunks/dist-CONcGNwy.js → dist-ByCWA2Tv.js} +100 -99
  193. package/dist/{dist-CzrLYq2s.js → dist-CKi_npZM.js} +2 -21
  194. package/dist/{dist-CEdyyDn7.js → dist-CVy-7PHQ.js} +54 -54
  195. package/dist/{dist-DDN7yR-w.js → dist-D6cMdrfG.js} +129 -129
  196. package/dist/{editor-modal-Du9VI9q4.js → editor-modal-zaZHcmlO.js} +812 -812
  197. package/dist/en-Db76vJbY.js +1 -0
  198. package/dist/{extensions-FRYhx7qa.js → extensions-fo_c-vqf.js} +32 -32
  199. package/dist/{eye-BKj9Tfnc.js → eye-7W4t5e0Q.js} +1 -1
  200. package/dist/{image-DNdvdTla.js → image-BDiRFzSd.js} +1 -1
  201. package/dist/{info-Bx-kBkbH.js → info-Cxi3-Kh9.js} +1 -1
  202. package/dist/{keys-DBjrQkYH.js → keys-BgRERHzu.js} +1 -1
  203. package/dist/{link-D8-rYdIQ.js → link-ju_2Cmir.js} +1 -1
  204. package/dist/{liquid.browser-D1RxawkY.js → liquid.browser-DUXEekoN.js} +781 -745
  205. package/dist/{list-BneisA27.js → list-DYZJf0aZ.js} +1 -1
  206. package/dist/{loader-circle-DBEXphyx.js → loader-circle-BZRD0a4I.js} +1 -1
  207. package/dist/{message-circle-Bg4xInCM.js → message-circle-DuEw4Zfx.js} +1 -1
  208. package/dist/{normalizeMergeTagMarkup-IH8COHzd.js → normalizeMergeTagMarkup-CELnOlgK.js} +1 -1
  209. package/dist/{package-B40Vkfsp.js → package-CePMr2kK.js} +1 -1
  210. package/dist/{pencil-CYdAHTds.js → pencil-D3aFCL7c.js} +1 -1
  211. package/dist/{preRenderCustomBlocks-AbZArwkR.js → preRenderCustomBlocks--_xc0XK3.js} +1 -1
  212. package/dist/{refresh-cw-Bb1FWrU0.js → refresh-cw-xnro7_Sk.js} +1 -1
  213. package/dist/{runtime-dom.esm-bundler-CLGymEyk.js → runtime-dom.esm-bundler-BURR-bj5.js} +118 -118
  214. package/dist/{sanitizeHtml-CnOA1efV.js → sanitizeHtml-BzfzpYJY.js} +1 -1
  215. package/dist/{search-BZEo08gi.js → search-CDrstRBv.js} +1 -1
  216. package/dist/{send-DHtrnXQs.js → send-DROkPOaX.js} +1 -1
  217. package/dist/{smartphone-dlN3vpA3.js → smartphone-Bx6u_tjn.js} +1 -1
  218. package/dist/{socialIcons-B_d52_eS.js → socialIcons-D7MGsg0d.js} +366 -366
  219. package/dist/{sparkles-NOttoDnJ.js → sparkles-CdaTtvoz.js} +1 -1
  220. package/dist/{square-B1CJgdt2.js → square-BbCROH_f.js} +1 -1
  221. package/dist/style.css +1 -1
  222. package/dist/templatical-editor.js +1096 -1096
  223. package/dist/{text-align-start-zpoXmb-Z.js → text-align-start-CGacJ9Vw.js} +1 -1
  224. package/dist/{trash-CGbk4Sgt.js → trash-DxCd7zIy.js} +1 -1
  225. package/dist/{triangle-alert-CKLMyGVp.js → triangle-alert-7_oaitpf.js} +1 -1
  226. package/dist/{upload-DQoackAn.js → upload-DuFEOi_0.js} +1 -1
  227. package/dist/{useCloudI18n-DcLtxOQZ.js → useCloudI18n-DEMmUKuO.js} +2 -2
  228. package/dist/{useEditorCore-DG9UvWUm.js → useEditorCore-BSo2sSID.js} +1518 -1470
  229. package/dist/useEditorRoot-BMcoCLBx.js +7 -0
  230. package/dist/{useI18n-CeTm777E.js → useI18n-BBrHTdu8.js} +2 -2
  231. package/dist/{cdn/chunks/useLogicTag-vy5KGg5D.js → useLogicTag-ZPC39rfH.js} +3 -5
  232. package/dist/{cdn/chunks/useMergeTag-BFBBjnwh.js → useMergeTag-BQ4qqWpQ.js} +5 -7
  233. package/dist/{usePopoverPosition-C42kD7zt.js → usePopoverPosition-DV1PxL66.js} +3 -3
  234. package/dist/{useScrollToBlock-C-NzvjeO.js → useScrollToBlock-BSyAV4pk.js} +3 -3
  235. package/dist/{vue.runtime.esm-bundler-CrlI8j5R.js → vue.runtime.esm-bundler-CnEeTfhs.js} +993 -990
  236. package/dist/{withCurrentFont-v_a4Oso8.js → withCurrentFont-B22FXAF5.js} +1 -1
  237. package/dist/{x-zcrnmcmU.js → x-BpfG7v9g.js} +1 -1
  238. package/package.json +10 -10
  239. package/dist/BlockIssueBadge-6Ri2FfX-.js +0 -33
  240. package/dist/CommentsSidebar-Co3x4uH0.js +0 -499
  241. package/dist/IssuesPanel-BHFQ3wrP.js +0 -359
  242. package/dist/SavedBlocksBrowserModal-SRtN5h9q.js +0 -359
  243. package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js +0 -34
  244. package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js.map +0 -1
  245. package/dist/cdn/chunks/CommentsSidebar-Dj8sDiLN.js.map +0 -1
  246. package/dist/cdn/chunks/ParagraphEditor-DsPLVAgm.js.map +0 -1
  247. package/dist/cdn/chunks/SavedBlocksBrowserModal-B9XCjDfm.js +0 -356
  248. package/dist/cdn/chunks/TitleEditor-R2lQw6WA.js.map +0 -1
  249. package/dist/cdn/chunks/TplModal-BDyeS69p.js +0 -51
  250. package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js +0 -21
  251. package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js.map +0 -1
  252. package/dist/cdn/chunks/draggable-B8hTTYFO.js.map +0 -1
  253. package/dist/cdn/chunks/en-CKAXAo3Z.js +0 -1
  254. package/dist/cdn/chunks/icons-HCBP93Ch.js.map +0 -1
  255. package/dist/cdn/chunks/liquid.browser-DkLBNrft.js.map +0 -1
  256. package/dist/cdn/chunks/src-C9DTvn1H.js.map +0 -1
  257. package/dist/cdn/chunks/useEditorCore-CjaEV_01.js +0 -2534
  258. package/dist/cdn/chunks/useEditorCore-CjaEV_01.js.map +0 -1
  259. package/dist/cdn/chunks/useEditorRoot-BT3c9CXj.js +0 -9
  260. package/dist/en-CyEE7FPY.js +0 -1
  261. package/dist/useEditorRoot-BKr6nNkC.js +0 -7
@@ -1,7 +1,7 @@
1
- import { $ as e, A as t, C as n, I as r, P as i, U as a, V as o, W as s, _ as c, b as ee, dt as l, g as u, h as d, lt as f, m as p, n as m, o as h, ot as g, p as _, u as v, ut as te, x as y } from "./draggable-B8hTTYFO.js";
2
- import { $ as ne, g as re } from "./keys-BF9gazbd.js";
3
- import { t as ie } from "./useI18n-11iqzC6m.js";
4
- import { Ft as ae, G as b, I as oe, Lt as se, Nt as ce, at as x, f as S, j as C, nt as w, t as T, zt as le } from "./icons-HCBP93Ch.js";
1
+ import { A as e, C as t, G as n, I as r, P as i, V as a, W as o, _ as s, b as ee, dt as te, et as c, ft as l, g as u, h as d, m as f, n as p, o as m, p as h, st as g, u as _, ut as v, x as y } from "./draggable-Du8AUMFT.js";
2
+ import { $ as ne, g as re } from "./keys-CUj6UA38.js";
3
+ import { t as ie } from "./useI18n-D8pY4LTq.js";
4
+ import { Bt as ae, G as b, I as oe, It as se, Pt as ce, at as x, f as S, j as C, nt as w, t as T, zt as le } from "./icons-okSPsLOa.js";
5
5
  import { t as E } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
6
6
  import { t as ue } from "./formatRelativeTime-BTD8Ktt-.js";
7
7
  // src/components/CommentsSidebar.vue?vue&type=script&setup=true&lang.ts
@@ -65,19 +65,19 @@ var de = ["aria-label"], fe = { class: "tpl:flex tpl:items-center tpl:justify-be
65
65
  }, vt = {
66
66
  key: 1,
67
67
  class: "tpl-comments-input-wrapper tpl-focus-ring-host tpl:flex tpl:min-h-[68px] tpl:items-end tpl:gap-2 tpl:rounded-[var(--tpl-radius)] tpl:border tpl:px-3 tpl:py-2 tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]"
68
- }, yt = ["placeholder", "disabled"], bt = ["disabled"], D = /*#__PURE__*/ E(/* @__PURE__ */ n({
68
+ }, yt = ["placeholder", "disabled"], bt = ["disabled"], D = /*#__PURE__*/ E(/* @__PURE__ */ t({
69
69
  __name: "CommentsSidebar",
70
70
  props: {
71
71
  visible: { type: Boolean },
72
72
  feature: {}
73
73
  },
74
74
  emits: ["close"],
75
- setup(n, { expose: E, emit: D }) {
76
- let O = n, xt = D, { t: k, format: A } = ie(), j = ne(re, "CommentsSidebar"), M = _(() => O.feature.headless), N = e("unresolved"), P = e(""), F = e(null), I = e(""), L = e(null), R = e(""), z = e(/* @__PURE__ */ new Set()), B = e(null), V = e(null), H = _(() => O.feature.filterBlockId.value);
77
- o(H, (e) => {
75
+ setup(t, { expose: E, emit: D }) {
76
+ let O = t, xt = D, { t: k, format: A } = ie(), j = ne(re, "CommentsSidebar"), M = h(() => O.feature.headless), N = c("unresolved"), P = c(""), F = c(null), I = c(""), L = c(null), R = c(""), z = c(/* @__PURE__ */ new Set()), B = c(null), V = c(null), H = h(() => O.feature.filterBlockId.value);
77
+ a(H, (e) => {
78
78
  e && (N.value = "block");
79
79
  }, { immediate: !0 });
80
- let St = _(() => M.value.isLoading.value && M.value.comments.value.length === 0), Ct = _(() => {
80
+ let St = h(() => M.value.isLoading.value && M.value.comments.value.length === 0), Ct = h(() => {
81
81
  let e = /* @__PURE__ */ new Set();
82
82
  for (let t of j.content.value.blocks) if (e.add(t.id), t.type === "section") for (let n of t.children) for (let t of n) e.add(t.id);
83
83
  return e;
@@ -85,11 +85,11 @@ var de = ["aria-label"], fe = { class: "tpl:flex tpl:items-center tpl:justify-be
85
85
  function wt(e) {
86
86
  return e ? !Ct.value.has(e) : !1;
87
87
  }
88
- let Tt = _(() => N.value !== "block" || !H.value ? !1 : O.feature.capability.isBlockSaved(H.value) === !1), U = _(() => {
88
+ let Tt = h(() => N.value !== "block" || !H.value ? !1 : O.feature.capability.isBlockSaved(H.value) === !1), U = h(() => {
89
89
  let e = M.value.comments.value;
90
90
  return N.value === "unresolved" ? e = e.filter((e) => !e.resolvedAt) : N.value === "block" && H.value && (e = e.filter((e) => e.blockId === H.value)), e;
91
91
  });
92
- o(() => j.state.selectedBlockId, (e) => {
92
+ a(() => j.state.selectedBlockId, (e) => {
93
93
  N.value === "block" && e && (O.feature.filterBlockId.value = e);
94
94
  });
95
95
  function W(e, t) {
@@ -178,14 +178,14 @@ var de = ["aria-label"], fe = { class: "tpl:flex tpl:items-center tpl:justify-be
178
178
  e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Z(t)), e.key === "Escape" && K();
179
179
  }
180
180
  function It() {
181
- t(() => {
181
+ e(() => {
182
182
  V.value?.focus();
183
183
  });
184
184
  }
185
185
  return E({
186
186
  filterByBlock: Et,
187
187
  focusNewComment: It
188
- }), (e, t) => (i(), d(m, {
188
+ }), (e, a) => (i(), d(p, {
189
189
  "enter-active-class": "tpl-comments-slide-enter-active",
190
190
  "enter-from-class": "tpl:translate-x-full",
191
191
  "enter-to-class": "tpl:translate-x-0",
@@ -193,72 +193,73 @@ var de = ["aria-label"], fe = { class: "tpl:flex tpl:items-center tpl:justify-be
193
193
  "leave-from-class": "tpl:translate-x-0",
194
194
  "leave-to-class": "tpl:translate-x-full"
195
195
  }, {
196
- default: a(() => [n.visible ? (i(), c("div", {
196
+ default: o(() => [t.visible ? (i(), s("div", {
197
197
  key: 0,
198
198
  role: "complementary",
199
199
  "aria-label": g(k).comments.title,
200
200
  "data-testid": "comments-sidebar",
201
201
  class: "tpl-comments-sidebar tpl:absolute tpl:top-14 tpl:right-0 tpl:bottom-0 tpl:flex tpl:w-[360px] tpl:flex-col tpl:border-l tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)]"
202
202
  }, [
203
- p("div", fe, [p("div", pe, [
203
+ f("div", fe, [f("div", pe, [
204
204
  y(g(w), {
205
205
  size: 13,
206
206
  "stroke-width": 2
207
207
  }),
208
- p("span", null, l(g(k).comments.title), 1),
209
- n.feature.unresolvedCount.value > 0 ? (i(), c("span", me, l(n.feature.unresolvedCount.value), 1)) : u("", !0)
210
- ]), p("button", {
208
+ f("span", null, l(g(k).comments.title), 1),
209
+ t.feature.unresolvedCount.value > 0 ? (i(), s("span", me, l(t.feature.unresolvedCount.value), 1)) : u("", !0)
210
+ ]), f("button", {
211
211
  type: "button",
212
212
  class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
213
213
  "aria-label": g(k).comments.close,
214
- onClick: t[0] ||= (e) => xt("close")
214
+ onClick: a[0] ||= (e) => xt("close")
215
215
  }, [y(g(T), {
216
216
  size: 14,
217
217
  "stroke-width": 2
218
218
  })], 8, he)]),
219
- p("div", ge, [
220
- p("button", {
219
+ f("div", ge, [
220
+ f("button", {
221
221
  type: "button",
222
- class: f(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", N.value === "unresolved" ? "tpl-comment-filter--active" : ""]),
222
+ class: v(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", N.value === "unresolved" ? "tpl-comment-filter--active" : ""]),
223
223
  "aria-pressed": N.value === "unresolved",
224
224
  "data-testid": "comments-filter-unresolved",
225
- onClick: t[1] ||= (e) => W("unresolved")
225
+ onClick: a[1] ||= (e) => W("unresolved")
226
226
  }, l(g(k).comments.filterUnresolved), 11, _e),
227
- p("button", {
227
+ f("button", {
228
228
  type: "button",
229
- class: f(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", N.value === "all" ? "tpl-comment-filter--active" : ""]),
229
+ class: v(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", N.value === "all" ? "tpl-comment-filter--active" : ""]),
230
230
  "aria-pressed": N.value === "all",
231
231
  "data-testid": "comments-filter-all",
232
- onClick: t[2] ||= (e) => W("all")
232
+ onClick: a[2] ||= (e) => W("all")
233
233
  }, l(g(k).comments.filterAll), 11, ve),
234
- g(j).state.selectedBlockId ? (i(), c("button", {
234
+ g(j).state.selectedBlockId ? (i(), s("button", {
235
235
  key: 0,
236
236
  type: "button",
237
- class: f(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", N.value === "block" ? "tpl-comment-filter--active" : ""]),
237
+ class: v(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", N.value === "block" ? "tpl-comment-filter--active" : ""]),
238
238
  "aria-pressed": N.value === "block",
239
- onClick: t[3] ||= (e) => W("block", g(j).state.selectedBlockId ?? void 0)
239
+ "data-testid": "comments-filter-block",
240
+ onClick: a[3] ||= (e) => W("block", g(j).state.selectedBlockId ?? void 0)
240
241
  }, l(g(k).comments.filterBlock), 11, ye)) : u("", !0)
241
242
  ]),
242
- p("div", be, [St.value ? (i(), c("div", xe, [y(g(x), {
243
+ f("div", be, [St.value ? (i(), s("div", xe, [y(g(x), {
243
244
  class: "tpl-spinner tpl:text-[var(--tpl-text-muted)]",
244
245
  size: 24,
245
246
  "stroke-width": 2
246
- })])) : U.value.length === 0 ? (i(), c("div", Se, [y(g(w), {
247
+ })])) : U.value.length === 0 ? (i(), s("div", Se, [y(g(w), {
247
248
  size: 32,
248
249
  "stroke-width": 1.5,
249
250
  class: "tpl:text-[var(--tpl-text-dim)]"
250
- }), p("p", Ce, l(N.value === "all" ? g(k).comments.noCommentsHint : g(k).comments.noComments), 1)])) : (i(), c("div", we, [(i(!0), c(v, null, r(U.value, (e) => (i(), c("div", {
251
+ }), f("p", Ce, l(N.value === "all" ? g(k).comments.noCommentsHint : g(k).comments.noComments), 1)])) : (i(), s("div", we, [(i(!0), s(_, null, r(U.value, (e) => (i(), s("div", {
251
252
  key: e.id,
252
253
  class: "tpl-comment-thread",
253
254
  "data-testid": "comment-thread"
254
255
  }, [
255
- p("div", Te, [
256
- p("div", Ee, [p("div", De, [
257
- p("span", Oe, l(M.value.isOwn(e) ? g(k).comments.ownedByYou : e.author.name), 1),
258
- p("span", ke, l(Nt(e.createdAt)), 1),
259
- e.updatedAt ? (i(), c("span", Ae, " (" + l(g(k).comments.edited) + ") ", 1)) : u("", !0)
260
- ]), p("div", je, [
261
- M.value.canResolve.value ? (i(), c("button", {
256
+ f("div", Te, [
257
+ f("div", Ee, [f("div", De, [
258
+ f("span", Oe, l(M.value.isOwn(e) ? g(k).comments.ownedByYou : e.author.name), 1),
259
+ f("span", ke, l(Nt(e.createdAt)), 1),
260
+ e.updatedAt ? (i(), s("span", Ae, " (" + l(g(k).comments.edited) + ") ", 1)) : u("", !0)
261
+ ]), f("div", je, [
262
+ M.value.canResolve.value ? (i(), s("button", {
262
263
  key: 0,
263
264
  "data-testid": "comment-resolve",
264
265
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
@@ -270,7 +271,7 @@ var de = ["aria-label"], fe = { class: "tpl:flex tpl:items-center tpl:justify-be
270
271
  class: "tpl-resolve-icon",
271
272
  style: te({ color: e.resolvedAt ? "var(--tpl-primary)" : void 0 })
272
273
  }, null, 8, ["style"])], 8, Me)) : u("", !0),
273
- jt(e) ? (i(), c("button", {
274
+ jt(e) ? (i(), s("button", {
274
275
  key: 1,
275
276
  "data-testid": "comment-edit",
276
277
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
@@ -280,7 +281,7 @@ var de = ["aria-label"], fe = { class: "tpl:flex tpl:items-center tpl:justify-be
280
281
  size: 12,
281
282
  "stroke-width": 2
282
283
  })], 8, Ne)) : u("", !0),
283
- Mt(e) ? (i(), c("button", {
284
+ Mt(e) ? (i(), s("button", {
284
285
  key: 2,
285
286
  "data-testid": "comment-delete",
286
287
  class: "tpl-comment-action tpl-comment-delete tpl:rounded tpl:p-1 tpl:transition-colors",
@@ -291,44 +292,44 @@ var de = ["aria-label"], fe = { class: "tpl:flex tpl:items-center tpl:justify-be
291
292
  "stroke-width": 2
292
293
  })], 8, Pe)) : u("", !0)
293
294
  ])]),
294
- y(m, { name: "tpl-resolve" }, {
295
- default: a(() => [e.resolvedAt ? (i(), c("div", Fe, [y(g(le), {
295
+ y(p, { name: "tpl-resolve" }, {
296
+ default: o(() => [e.resolvedAt ? (i(), s("div", Fe, [y(g(ae), {
296
297
  size: 10,
297
298
  "stroke-width": 2.5
298
- }), p("span", null, l(g(A)(g(k).comments.resolvedBy, { name: e.resolvedBy?.name ?? "" })), 1)])) : u("", !0)]),
299
+ }), f("span", null, l(g(A)(g(k).comments.resolvedBy, { name: e.resolvedBy?.name ?? "" })), 1)])) : u("", !0)]),
299
300
  _: 2
300
301
  }, 1024),
301
- e.blockId && wt(e.blockId) ? (i(), c("span", Ie, l(g(k).comments.missingBlock), 1)) : e.blockId ? (i(), c("button", {
302
+ e.blockId && wt(e.blockId) ? (i(), s("span", Ie, l(g(k).comments.missingBlock), 1)) : e.blockId ? (i(), s("button", {
302
303
  key: 1,
303
304
  class: "tpl:mt-1 tpl:inline-flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:transition-colors tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)]",
304
305
  onClick: (t) => g(j).selectBlock(e.blockId ?? "")
305
306
  }, l(g(k).comments.jumpToBlock), 9, Le)) : u("", !0),
306
- L.value === e.id ? (i(), c("div", Re, [s(p("textarea", {
307
- "onUpdate:modelValue": t[4] ||= (e) => R.value = e,
307
+ L.value === e.id ? (i(), s("div", Re, [n(f("textarea", {
308
+ "onUpdate:modelValue": a[4] ||= (e) => R.value = e,
308
309
  class: "tpl:w-full tpl:resize-none tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:font-sans tpl:text-xs tpl:outline-none tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]",
309
310
  rows: "3",
310
311
  onKeydown: (t) => $(t, e.id)
311
- }, null, 40, ze), [[h, R.value]]), p("div", Be, [p("button", {
312
+ }, null, 40, ze), [[m, R.value]]), f("div", Be, [f("button", {
312
313
  class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]",
313
314
  disabled: !R.value.trim() || M.value.isSubmitting.value,
314
315
  onClick: (t) => Z(e.id)
315
- }, l(g(k).comments.save), 9, Ve), p("button", {
316
+ }, l(g(k).comments.save), 9, Ve), f("button", {
316
317
  class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
317
- onClick: t[5] ||= (e) => K()
318
- }, l(g(k).comments.cancel), 1)])])) : (i(), c("p", He, l(e.body), 1)),
319
- B.value === e.id ? (i(), c("div", Ue, [
320
- p("span", We, l(g(k).comments.deleteConfirm), 1),
321
- p("button", {
318
+ onClick: a[5] ||= (e) => K()
319
+ }, l(g(k).comments.cancel), 1)])])) : (i(), s("p", He, l(e.body), 1)),
320
+ B.value === e.id ? (i(), s("div", Ue, [
321
+ f("span", We, l(g(k).comments.deleteConfirm), 1),
322
+ f("button", {
322
323
  class: "tpl:rounded tpl:px-2 tpl:py-0.5 tpl:text-xs tpl:font-medium tpl:bg-[var(--tpl-danger)] tpl:text-[var(--tpl-bg)]",
323
324
  "data-testid": "comment-delete-confirm",
324
325
  onClick: (t) => Q(e.id)
325
326
  }, l(g(k).comments.delete), 9, Ge),
326
- p("button", {
327
+ f("button", {
327
328
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
328
- onClick: t[6] ||= (e) => J()
329
+ onClick: a[6] ||= (e) => J()
329
330
  }, l(g(k).comments.cancel), 1)
330
331
  ])) : u("", !0),
331
- L.value !== e.id && B.value !== e.id ? (i(), c("div", Ke, [M.value.canCreate.value ? (i(), c("button", {
332
+ L.value !== e.id && B.value !== e.id ? (i(), s("div", Ke, [M.value.canCreate.value ? (i(), s("button", {
332
333
  key: 0,
333
334
  "data-testid": "comment-reply",
334
335
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
@@ -338,84 +339,84 @@ var de = ["aria-label"], fe = { class: "tpl:flex tpl:items-center tpl:justify-be
338
339
  size: 13,
339
340
  "stroke-width": 2,
340
341
  class: "tpl:text-[var(--tpl-primary)]"
341
- })], 8, qe)) : u("", !0), (e.replies?.length ?? 0) > 0 ? (i(), c("button", {
342
+ })], 8, qe)) : u("", !0), (e.replies?.length ?? 0) > 0 ? (i(), s("button", {
342
343
  key: 1,
343
344
  class: "tpl:flex tpl:items-center tpl:gap-0.5 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
344
345
  onClick: (t) => Dt(e.id)
345
- }, [z.value.has(e.id) ? (i(), d(g(ae), {
346
+ }, [z.value.has(e.id) ? (i(), d(g(se), {
346
347
  key: 0,
347
348
  size: 11,
348
349
  "stroke-width": 2
349
- })) : (i(), d(g(se), {
350
+ })) : (i(), d(g(le), {
350
351
  key: 1,
351
352
  size: 11,
352
353
  "stroke-width": 2
353
354
  })), ee(" " + l((e.replies?.length ?? 0) === 1 ? g(A)(g(k).comments.replyOne, { count: String(e.replies?.length ?? 0) }) : g(A)(g(k).comments.replyMany, { count: String(e.replies?.length ?? 0) })), 1)], 8, Je)) : u("", !0)])) : u("", !0)
354
355
  ]),
355
- y(m, { name: "tpl-replies" }, {
356
- default: a(() => [z.value.has(e.id) && (e.replies?.length ?? 0) > 0 ? (i(), c("div", Ye, [(i(!0), c(v, null, r(e.replies, (n, r) => (i(), c("div", {
357
- key: n.id,
358
- class: f(["tpl-comment-reply-card tpl:relative tpl:rounded-lg tpl:border tpl:px-3.5 tpl:py-2.5", r < (e.replies?.length ?? 0) - 1 ? "tpl:mb-2" : ""])
356
+ y(p, { name: "tpl-replies" }, {
357
+ default: o(() => [z.value.has(e.id) && (e.replies?.length ?? 0) > 0 ? (i(), s("div", Ye, [(i(!0), s(_, null, r(e.replies, (t, r) => (i(), s("div", {
358
+ key: t.id,
359
+ class: v(["tpl-comment-reply-card tpl:relative tpl:rounded-lg tpl:border tpl:px-3.5 tpl:py-2.5", r < (e.replies?.length ?? 0) - 1 ? "tpl:mb-2" : ""])
359
360
  }, [
360
- p("div", Xe, [p("div", Ze, [
361
- p("span", Qe, l(M.value.isOwn(n) ? g(k).comments.ownedByYou : n.author.name), 1),
362
- p("span", $e, l(Nt(n.createdAt)), 1),
363
- n.updatedAt ? (i(), c("span", et, " (" + l(g(k).comments.edited) + ") ", 1)) : u("", !0)
364
- ]), p("div", tt, [jt(n) ? (i(), c("button", {
361
+ f("div", Xe, [f("div", Ze, [
362
+ f("span", Qe, l(M.value.isOwn(t) ? g(k).comments.ownedByYou : t.author.name), 1),
363
+ f("span", $e, l(Nt(t.createdAt)), 1),
364
+ t.updatedAt ? (i(), s("span", et, " (" + l(g(k).comments.edited) + ") ", 1)) : u("", !0)
365
+ ]), f("div", tt, [jt(t) ? (i(), s("button", {
365
366
  key: 0,
366
367
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
367
368
  title: g(k).comments.edit,
368
- onClick: (e) => G(n)
369
+ onClick: (e) => G(t)
369
370
  }, [y(g(b), {
370
371
  size: 11,
371
372
  "stroke-width": 2
372
- })], 8, nt)) : u("", !0), Mt(n) ? (i(), c("button", {
373
+ })], 8, nt)) : u("", !0), Mt(t) ? (i(), s("button", {
373
374
  key: 1,
374
375
  class: "tpl-comment-action tpl-comment-delete tpl:rounded tpl:p-1 tpl:transition-colors",
375
376
  title: g(k).comments.delete,
376
- onClick: (e) => q(n.id)
377
+ onClick: (e) => q(t.id)
377
378
  }, [y(g(S), {
378
379
  size: 11,
379
380
  "stroke-width": 2
380
381
  })], 8, rt)) : u("", !0)])]),
381
- L.value === n.id ? (i(), c("div", it, [s(p("textarea", {
382
- "onUpdate:modelValue": t[7] ||= (e) => R.value = e,
382
+ L.value === t.id ? (i(), s("div", it, [n(f("textarea", {
383
+ "onUpdate:modelValue": a[7] ||= (e) => R.value = e,
383
384
  class: "tpl:w-full tpl:resize-none tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:font-sans tpl:text-xs tpl:outline-none tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]",
384
385
  rows: "2",
385
- onKeydown: (e) => $(e, n.id)
386
- }, null, 40, at), [[h, R.value]]), p("div", ot, [p("button", {
386
+ onKeydown: (e) => $(e, t.id)
387
+ }, null, 40, at), [[m, R.value]]), f("div", ot, [f("button", {
387
388
  class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]",
388
389
  disabled: !R.value.trim() || M.value.isSubmitting.value,
389
- onClick: (e) => Z(n.id)
390
- }, l(g(k).comments.save), 9, st), p("button", {
390
+ onClick: (e) => Z(t.id)
391
+ }, l(g(k).comments.save), 9, st), f("button", {
391
392
  class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
392
- onClick: t[8] ||= (e) => K()
393
- }, l(g(k).comments.cancel), 1)])])) : (i(), c("p", ct, l(n.body), 1)),
394
- B.value === n.id ? (i(), c("div", lt, [
395
- p("span", ut, l(g(k).comments.deleteConfirm), 1),
396
- p("button", {
393
+ onClick: a[8] ||= (e) => K()
394
+ }, l(g(k).comments.cancel), 1)])])) : (i(), s("p", ct, l(t.body), 1)),
395
+ B.value === t.id ? (i(), s("div", lt, [
396
+ f("span", ut, l(g(k).comments.deleteConfirm), 1),
397
+ f("button", {
397
398
  class: "tpl:rounded tpl:px-2 tpl:py-0.5 tpl:text-xs tpl:font-medium tpl:bg-[var(--tpl-danger)] tpl:text-[var(--tpl-bg)]",
398
399
  "data-testid": "comment-delete-confirm",
399
- onClick: (e) => Q(n.id)
400
+ onClick: (e) => Q(t.id)
400
401
  }, l(g(k).comments.delete), 9, dt),
401
- p("button", {
402
+ f("button", {
402
403
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
403
- onClick: t[9] ||= (e) => J()
404
+ onClick: a[9] ||= (e) => J()
404
405
  }, l(g(k).comments.cancel), 1)
405
406
  ])) : u("", !0)
406
407
  ], 2))), 128))])) : u("", !0)]),
407
408
  _: 2
408
409
  }, 1024),
409
- y(m, { name: "tpl-replies" }, {
410
- default: a(() => [F.value === e.id ? (i(), c("div", ft, [p("div", pt, [
411
- s(p("textarea", {
412
- "onUpdate:modelValue": t[10] ||= (e) => I.value = e,
410
+ y(p, { name: "tpl-replies" }, {
411
+ default: o(() => [F.value === e.id ? (i(), s("div", ft, [f("div", pt, [
412
+ n(f("textarea", {
413
+ "onUpdate:modelValue": a[10] ||= (e) => I.value = e,
413
414
  class: "tpl:max-h-24 tpl:flex-1 tpl:resize-none tpl:border-none tpl:bg-transparent tpl:font-sans tpl:text-xs tpl:outline-none tpl:text-[var(--tpl-text)]",
414
415
  placeholder: g(k).comments.replyPlaceholder,
415
416
  rows: "2",
416
417
  onKeydown: (t) => Ft(t, e.id)
417
- }, null, 40, mt), [[h, I.value]]),
418
- p("button", {
418
+ }, null, 40, mt), [[m, I.value]]),
419
+ f("button", {
419
420
  class: "tpl-comments-send-btn tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-md tpl:p-1.5 tpl:transition-all tpl:disabled:opacity-40 tpl:text-[var(--tpl-primary)]",
420
421
  disabled: !I.value.trim() || M.value.isSubmitting.value,
421
422
  onClick: (t) => X(e.id)
@@ -423,9 +424,9 @@ var de = ["aria-label"], fe = { class: "tpl:flex tpl:items-center tpl:justify-be
423
424
  size: 14,
424
425
  "stroke-width": 2
425
426
  })], 8, ht),
426
- p("button", {
427
+ f("button", {
427
428
  class: "tpl-comments-send-btn tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-md tpl:p-1.5 tpl:transition-all tpl:text-[var(--tpl-text-muted)]",
428
- onClick: t[11] ||= (e) => kt()
429
+ onClick: a[11] ||= (e) => kt()
429
430
  }, [y(g(T), {
430
431
  size: 14,
431
432
  "stroke-width": 2
@@ -434,17 +435,17 @@ var de = ["aria-label"], fe = { class: "tpl:flex tpl:items-center tpl:justify-be
434
435
  _: 2
435
436
  }, 1024)
436
437
  ]))), 128))]))]),
437
- M.value.canCreate.value ? (i(), c("div", gt, [Tt.value ? (i(), c("div", _t, l(g(k).comments.saveTemplateFirst), 1)) : (i(), c("div", vt, [s(p("textarea", {
438
+ M.value.canCreate.value ? (i(), s("div", gt, [Tt.value ? (i(), s("div", _t, l(g(k).comments.saveTemplateFirst), 1)) : (i(), s("div", vt, [n(f("textarea", {
438
439
  ref_key: "newCommentInput",
439
440
  ref: V,
440
- "onUpdate:modelValue": t[12] ||= (e) => P.value = e,
441
+ "onUpdate:modelValue": a[12] ||= (e) => P.value = e,
441
442
  class: "tpl:max-h-24 tpl:min-h-[48px] tpl:flex-1 tpl:resize-none tpl:border-none tpl:bg-transparent tpl:font-sans tpl:text-xs tpl:outline-none tpl:text-[var(--tpl-text)]",
442
443
  "data-testid": "comments-input",
443
444
  placeholder: g(k).comments.placeholder,
444
445
  disabled: M.value.isSubmitting.value,
445
446
  rows: "2",
446
447
  onKeydown: Pt
447
- }, null, 40, yt), [[h, P.value]]), p("button", {
448
+ }, null, 40, yt), [[m, P.value]]), f("button", {
448
449
  class: "tpl-comments-send-btn tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-md tpl:p-1.5 tpl:transition-all tpl:disabled:opacity-40 tpl:text-[var(--tpl-primary)]",
449
450
  "data-testid": "comments-send",
450
451
  disabled: !P.value.trim() || M.value.isSubmitting.value,
@@ -463,7 +464,7 @@ var de = ["aria-label"], fe = { class: "tpl:flex tpl:items-center tpl:justify-be
463
464
  _: 1
464
465
  }));
465
466
  }
466
- }), [["__scopeId", "data-v-32af5912"]]);
467
+ }), [["__scopeId", "data-v-7efe6a5c"]]);
467
468
  export { D as default };
468
469
 
469
- //# sourceMappingURL=CommentsSidebar-Dj8sDiLN.js.map
470
+ //# sourceMappingURL=CommentsSidebar-CUtgvdBC.js.map