@templatical/editor 0.60.4 → 0.62.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.
Files changed (237) hide show
  1. package/LICENSE +21 -109
  2. package/README.md +3 -3
  3. package/dist/{AiAltTextPopover-DSA1wiiW.js → AiAltTextPopover-C1Ike67q.js} +3 -4
  4. package/dist/{AiAltTextReview-B9-vfzCj.js → AiAltTextReview-BjT7_PoG.js} +2 -3
  5. package/dist/{AiChatPanel-CjUnhJGB.js → AiChatPanel-C82fJozf.js} +165 -166
  6. package/dist/{AiPanels-DwI9KjjI.js → AiPanels-sam_GMNs.js} +1 -1
  7. package/dist/{AiRewriteMenu-Bh1cIX8F.js → AiRewriteMenu-CpBcT6QL.js} +3 -4
  8. package/dist/{BlockIssueBadge-Bug5iqcK.js → BlockIssueBadge-D3OmWkCh.js} +2 -3
  9. package/dist/{BlockPreviewCanvas-C_N6f_FS.js → BlockPreviewCanvas-BHRmnq0w.js} +6 -6
  10. package/dist/{CollaborationNotices-BM35YG72.js → CollaborationNotices-Cmc7Ziuf.js} +1 -1
  11. package/dist/{CollaboratorBar-DMsEOndt.js → CollaboratorBar-DVtWefk1.js} +1 -1
  12. package/dist/{CommentsPanel-BSLk23YP.js → CommentsPanel-BSt22Zw9.js} +1 -1
  13. package/dist/{CommentsSidebar-L-DgP_kM.js → CommentsSidebar-C8qbxjyN.js} +177 -184
  14. package/dist/{CountdownBlock-AYPypmcX.js → CountdownBlock-bFAELCB6.js} +3 -4
  15. package/dist/{CountdownToolbar-B6erqTbz.js → CountdownToolbar-CJbPEVV5.js} +4 -4
  16. package/dist/{IssuesPanel-CeCvUfa7.js → IssuesPanel-CKYf6K84.js} +4 -5
  17. package/dist/{LanguageMenu-DsfCHdVi.js → LanguageMenu-BFOEQEPy.js} +124 -125
  18. package/dist/{LocaleNotices-BxR3xcLl.js → LocaleNotices-24UYFxo2.js} +12 -13
  19. package/dist/{LogicTagInsertButton-BzEZUTRZ.js → LogicTagInsertButton-DdaafrjI.js} +95 -96
  20. package/dist/{MergeTagInput-By2FSStk.js → MergeTagInput-BXM6-eF-.js} +1 -1
  21. package/dist/{MergeTagModeToggle-DtjOZhoD.js → MergeTagModeToggle-ooA_Ytfq.js} +2 -3
  22. package/dist/{MergeTagTextarea-q6eeDD2l.js → MergeTagTextarea-B86MPY89.js} +14 -15
  23. package/dist/{ParagraphEditor-25SNi_8O.js → ParagraphEditor-C15Glzy_.js} +78 -79
  24. package/dist/{RestoreVersionDialog-BXtCxJF1.js → RestoreVersionDialog-C13Bo4b0.js} +2 -2
  25. package/dist/{RichTextEditorContent-B1p7Ykq8.js → RichTextEditorContent-BNMBOkdy.js} +5 -6
  26. package/dist/{SaveBlockDialog-k1lxEBVW.js → SaveBlockDialog-lm_1-2w2.js} +23 -24
  27. package/dist/{SavedBlocksBrowserModal-CV-8mDPj.js → SavedBlocksBrowserModal-BjUZG5_S.js} +8 -9
  28. package/dist/{SavedBlocksPanels-9nZj1jG_.js → SavedBlocksPanels-Bj3LAXcL.js} +1 -1
  29. package/dist/{SavedBlocksPickBar-Dy6NN9tm.js → SavedBlocksPickBar-DOTr0Imx.js} +2 -2
  30. package/dist/{TemplateSettings-DWxdUdM5.js → TemplateSettings-Z-i-_xF5.js} +19 -20
  31. package/dist/{TestEmailModal-BAkkZTaZ.js → TestEmailModal-ClEnoNEB.js} +17 -18
  32. package/dist/{TestEmailPanel-ccT2E3em.js → TestEmailPanel-CVmrt-d9.js} +1 -1
  33. package/dist/{TitleEditor-B19dYnER.js → TitleEditor-BHZF5C6q.js} +8 -9
  34. package/dist/{Toolbar-DxlZq_36.js → Toolbar-bwAdFK4A.js} +217 -219
  35. package/dist/{TplModal-Bp2qPmQw.js → TplModal-QWmSO1nR.js} +4 -4
  36. package/dist/{VersionHistoryMenu-B3-xJ7GO.js → VersionHistoryMenu-qoOkZKal.js} +6 -7
  37. package/dist/{VersionHistoryPanels-wAVDmhnP.js → VersionHistoryPanels-D82hgc2v.js} +1 -1
  38. package/dist/{VersionPreviewBanner-DLAB4ZbS.js → VersionPreviewBanner-DEN9rl6y.js} +1 -1
  39. package/dist/{WrapperBlock-DHnD6Exl.js → WrapperBlock-32v93A9w.js} +4 -4
  40. package/dist/{blockTypeIcons-C691ZY1l.js → blockTypeIcons-C1S2wVx8.js} +4 -4
  41. package/dist/bundle-stats.json +8 -8
  42. package/dist/{ca-C8N05sCU.js → ca-BIseSbs-.js} +1 -2
  43. package/dist/cdn/chunks/{AiAltTextPopover-BLNN_Pnd.js → AiAltTextPopover-mDx_knAl.js} +4 -5
  44. package/dist/cdn/chunks/{AiAltTextPopover-BLNN_Pnd.js.map → AiAltTextPopover-mDx_knAl.js.map} +1 -1
  45. package/dist/cdn/chunks/{AiAltTextReview-Db8vSNpe.js → AiAltTextReview-Dmg8iVWD.js} +3 -4
  46. package/dist/cdn/chunks/{AiAltTextReview-Db8vSNpe.js.map → AiAltTextReview-Dmg8iVWD.js.map} +1 -1
  47. package/dist/cdn/chunks/{AiChatPanel-DTYmFRwb.js → AiChatPanel-CEDr_x8G.js} +147 -148
  48. package/dist/cdn/chunks/AiChatPanel-CEDr_x8G.js.map +1 -0
  49. package/dist/cdn/chunks/{AiPanels-BW9ze-6O.js → AiPanels-qJgLTYPs.js} +2 -2
  50. package/dist/cdn/chunks/{AiPanels-BW9ze-6O.js.map → AiPanels-qJgLTYPs.js.map} +1 -1
  51. package/dist/cdn/chunks/{AiRewriteMenu-B9b92d0R.js → AiRewriteMenu-2a9WjizC.js} +4 -5
  52. package/dist/cdn/chunks/{AiRewriteMenu-B9b92d0R.js.map → AiRewriteMenu-2a9WjizC.js.map} +1 -1
  53. package/dist/cdn/chunks/{BlockIssueBadge-fYeNnepj.js → BlockIssueBadge-D87CYoPw.js} +3 -4
  54. package/dist/cdn/chunks/{BlockIssueBadge-fYeNnepj.js.map → BlockIssueBadge-D87CYoPw.js.map} +1 -1
  55. package/dist/cdn/chunks/{BlockPreviewCanvas-CLid1x0c.js → BlockPreviewCanvas-DDDKuWJz.js} +8 -8
  56. package/dist/cdn/chunks/{BlockPreviewCanvas-CLid1x0c.js.map → BlockPreviewCanvas-DDDKuWJz.js.map} +1 -1
  57. package/dist/cdn/chunks/{CollaborationNotices-COkmBmps.js → CollaborationNotices-DyzhN_Ns.js} +2 -2
  58. package/dist/cdn/chunks/{CollaborationNotices-COkmBmps.js.map → CollaborationNotices-DyzhN_Ns.js.map} +1 -1
  59. package/dist/cdn/chunks/{CollaboratorBar-BSzI8YIU.js → CollaboratorBar-bNFuQxxP.js} +2 -2
  60. package/dist/cdn/chunks/{CollaboratorBar-BSzI8YIU.js.map → CollaboratorBar-bNFuQxxP.js.map} +1 -1
  61. package/dist/cdn/chunks/{CommentsPanel-BynxXJ-F.js → CommentsPanel-D-D2qsS6.js} +2 -2
  62. package/dist/cdn/chunks/{CommentsPanel-BynxXJ-F.js.map → CommentsPanel-D-D2qsS6.js.map} +1 -1
  63. package/dist/cdn/chunks/{CommentsSidebar-C81N5Hwr.js → CommentsSidebar-CCVp8M2T.js} +163 -170
  64. package/dist/cdn/chunks/CommentsSidebar-CCVp8M2T.js.map +1 -0
  65. package/dist/cdn/chunks/{CountdownBlock--hlKE2aj.js → CountdownBlock-5hUzymeP.js} +4 -5
  66. package/dist/cdn/chunks/{CountdownBlock--hlKE2aj.js.map → CountdownBlock-5hUzymeP.js.map} +1 -1
  67. package/dist/cdn/chunks/{CountdownToolbar-f1aqEba0.js → CountdownToolbar-DaGxwKfG.js} +5 -5
  68. package/dist/cdn/chunks/{CountdownToolbar-f1aqEba0.js.map → CountdownToolbar-DaGxwKfG.js.map} +1 -1
  69. package/dist/cdn/chunks/{IssuesPanel-DgxiS3hF.js → IssuesPanel-DQQo1B1z.js} +10 -11
  70. package/dist/cdn/chunks/IssuesPanel-DQQo1B1z.js.map +1 -0
  71. package/dist/cdn/chunks/{LanguageMenu-CJp7XdfG.js → LanguageMenu-2Er64H2b.js} +106 -107
  72. package/dist/cdn/chunks/LanguageMenu-2Er64H2b.js.map +1 -0
  73. package/dist/cdn/chunks/{LocaleNotices-D5vZzcUj.js → LocaleNotices-DSfOyyyf.js} +13 -14
  74. package/dist/cdn/chunks/LocaleNotices-DSfOyyyf.js.map +1 -0
  75. package/dist/cdn/chunks/{LogicTagInsertButton-DGg1Wvhp.js → LogicTagInsertButton-CumMM1rP.js} +7 -8
  76. package/dist/cdn/chunks/{LogicTagInsertButton-DGg1Wvhp.js.map → LogicTagInsertButton-CumMM1rP.js.map} +1 -1
  77. package/dist/cdn/chunks/{MergeTagInput-BVfTwujW.js → MergeTagInput-Dm_QiG96.js} +2 -2
  78. package/dist/cdn/chunks/{MergeTagInput-BVfTwujW.js.map → MergeTagInput-Dm_QiG96.js.map} +1 -1
  79. package/dist/cdn/chunks/{MergeTagModeToggle-BoI0C1Y6.js → MergeTagModeToggle-Bir7lkLe.js} +3 -4
  80. package/dist/cdn/chunks/{MergeTagModeToggle-BoI0C1Y6.js.map → MergeTagModeToggle-Bir7lkLe.js.map} +1 -1
  81. package/dist/cdn/chunks/{MergeTagTextarea-DMXZgGUF.js → MergeTagTextarea-B_IFeWfZ.js} +15 -16
  82. package/dist/cdn/chunks/MergeTagTextarea-B_IFeWfZ.js.map +1 -0
  83. package/dist/cdn/chunks/{ParagraphEditor-Ce7_Ix0K.js → ParagraphEditor-CWjMxuy0.js} +135 -136
  84. package/dist/cdn/chunks/{ParagraphEditor-Ce7_Ix0K.js.map → ParagraphEditor-CWjMxuy0.js.map} +1 -1
  85. package/dist/cdn/chunks/{RestoreVersionDialog-JmMLhN6G.js → RestoreVersionDialog-BsfulSK7.js} +3 -3
  86. package/dist/cdn/chunks/{RestoreVersionDialog-JmMLhN6G.js.map → RestoreVersionDialog-BsfulSK7.js.map} +1 -1
  87. package/dist/cdn/chunks/{RichTextEditorContent-D3ihUF8v.js → RichTextEditorContent-CuvFVxEq.js} +6 -7
  88. package/dist/cdn/chunks/{RichTextEditorContent-D3ihUF8v.js.map → RichTextEditorContent-CuvFVxEq.js.map} +1 -1
  89. package/dist/cdn/chunks/{SaveBlockDialog-B-2amBN5.js → SaveBlockDialog-8zxJlHw2.js} +25 -26
  90. package/dist/cdn/chunks/{SaveBlockDialog-B-2amBN5.js.map → SaveBlockDialog-8zxJlHw2.js.map} +1 -1
  91. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BR6fQ222.js → SavedBlocksBrowserModal-DtaGW2H4.js} +9 -10
  92. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BR6fQ222.js.map → SavedBlocksBrowserModal-DtaGW2H4.js.map} +1 -1
  93. package/dist/cdn/chunks/{SavedBlocksPanels-DVNNshfr.js → SavedBlocksPanels-CtDhdbiD.js} +2 -2
  94. package/dist/cdn/chunks/{SavedBlocksPanels-DVNNshfr.js.map → SavedBlocksPanels-CtDhdbiD.js.map} +1 -1
  95. package/dist/cdn/chunks/{SavedBlocksPickBar-BfxLHLQV.js → SavedBlocksPickBar-DovcCaoW.js} +3 -3
  96. package/dist/cdn/chunks/{SavedBlocksPickBar-BfxLHLQV.js.map → SavedBlocksPickBar-DovcCaoW.js.map} +1 -1
  97. package/dist/cdn/chunks/{TemplateSettings-TMFrRV2c.js → TemplateSettings-B8Ch5ps8.js} +20 -21
  98. package/dist/cdn/chunks/{TemplateSettings-TMFrRV2c.js.map → TemplateSettings-B8Ch5ps8.js.map} +1 -1
  99. package/dist/cdn/chunks/{TestEmailModal-tTU35BKZ.js → TestEmailModal-D1EuQSgA.js} +16 -17
  100. package/dist/cdn/chunks/{TestEmailModal-tTU35BKZ.js.map → TestEmailModal-D1EuQSgA.js.map} +1 -1
  101. package/dist/cdn/chunks/{TestEmailPanel-BNJBVwx0.js → TestEmailPanel-0iG-utN7.js} +2 -2
  102. package/dist/cdn/chunks/{TestEmailPanel-BNJBVwx0.js.map → TestEmailPanel-0iG-utN7.js.map} +1 -1
  103. package/dist/cdn/chunks/{TitleEditor-BbscL_C1.js → TitleEditor-k2vSwKxN.js} +17 -18
  104. package/dist/cdn/chunks/{TitleEditor-BbscL_C1.js.map → TitleEditor-k2vSwKxN.js.map} +1 -1
  105. package/dist/cdn/chunks/{Toolbar-BxzyS69X.js → Toolbar-BnTSuZQb.js} +307 -309
  106. package/dist/cdn/chunks/Toolbar-BnTSuZQb.js.map +1 -0
  107. package/dist/cdn/chunks/{TplModal-Bzhc_l8y.js → TplModal-iRdN04Sa.js} +5 -5
  108. package/dist/cdn/chunks/{TplModal-Bzhc_l8y.js.map → TplModal-iRdN04Sa.js.map} +1 -1
  109. package/dist/cdn/chunks/{VersionHistoryMenu-DTDO48HI.js → VersionHistoryMenu-DlPr3twf.js} +7 -8
  110. package/dist/cdn/chunks/{VersionHistoryMenu-DTDO48HI.js.map → VersionHistoryMenu-DlPr3twf.js.map} +1 -1
  111. package/dist/cdn/chunks/{VersionHistoryPanels-Bbb1xUJs.js → VersionHistoryPanels-Bw5UHEvo.js} +2 -2
  112. package/dist/cdn/chunks/{VersionHistoryPanels-Bbb1xUJs.js.map → VersionHistoryPanels-Bw5UHEvo.js.map} +1 -1
  113. package/dist/cdn/chunks/{VersionPreviewBanner-C1H_fYAr.js → VersionPreviewBanner-anJgZOcw.js} +2 -2
  114. package/dist/cdn/chunks/VersionPreviewBanner-anJgZOcw.js.map +1 -0
  115. package/dist/cdn/chunks/{WrapperBlock-BboijK5T.js → WrapperBlock-CFjCtyvx.js} +5 -5
  116. package/dist/cdn/chunks/{WrapperBlock-BboijK5T.js.map → WrapperBlock-CFjCtyvx.js.map} +1 -1
  117. package/dist/cdn/chunks/{ca-C8N05sCU.js → ca-BIseSbs-.js} +2 -3
  118. package/dist/cdn/chunks/{ca-C8N05sCU.js.map → ca-BIseSbs-.js.map} +1 -1
  119. package/dist/cdn/chunks/{composables-C77dGo-I.js → composables-Nir0umYc.js} +551 -571
  120. package/dist/cdn/chunks/composables-Nir0umYc.js.map +1 -0
  121. package/dist/{da-Dno_4nGy.js → cdn/chunks/da-DN46iRXS.js} +3 -2
  122. package/dist/cdn/chunks/{da-Dno_4nGy.js.map → da-DN46iRXS.js.map} +1 -1
  123. package/dist/{de-DRR5JSkh.js → cdn/chunks/de-Dyk8PPCm.js} +3 -2
  124. package/dist/cdn/chunks/{de-DRR5JSkh.js.map → de-Dyk8PPCm.js.map} +1 -1
  125. package/dist/{en-DAcLbbpg.js → cdn/chunks/en-BzMbMmgz.js} +3 -2
  126. package/dist/cdn/chunks/{en-DAcLbbpg.js.map → en-BzMbMmgz.js.map} +1 -1
  127. package/dist/{es-BcEQLQxe.js → cdn/chunks/es-KSHEXYyf.js} +3 -2
  128. package/dist/cdn/chunks/{es-BcEQLQxe.js.map → es-KSHEXYyf.js.map} +1 -1
  129. package/dist/cdn/chunks/{extensions-Bq9nXmBP.js → extensions-Br2hHeiR.js} +5 -5
  130. package/dist/cdn/chunks/{extensions-Bq9nXmBP.js.map → extensions-Br2hHeiR.js.map} +1 -1
  131. package/dist/{fr-CNQG7ESr.js → cdn/chunks/fr-DtKHfZyk.js} +3 -2
  132. package/dist/cdn/chunks/{fr-CNQG7ESr.js.map → fr-DtKHfZyk.js.map} +1 -1
  133. package/dist/{ja-CMxWxqSH.js → cdn/chunks/ja-DUSaDVPA.js} +3 -2
  134. package/dist/cdn/chunks/{ja-CMxWxqSH.js.map → ja-DUSaDVPA.js.map} +1 -1
  135. package/dist/{nl-BjyYZDkC.js → cdn/chunks/nl-DQbuxzD6.js} +3 -2
  136. package/dist/cdn/chunks/{nl-BjyYZDkC.js.map → nl-DQbuxzD6.js.map} +1 -1
  137. package/dist/{pt-BR-DC2A3C0v.js → cdn/chunks/pt-BR-CxpxBtvc.js} +3 -2
  138. package/dist/cdn/chunks/{pt-BR-DC2A3C0v.js.map → pt-BR-CxpxBtvc.js.map} +1 -1
  139. package/dist/cdn/chunks/rolldown-runtime-CGnMp29N.js +10 -0
  140. package/dist/cdn/chunks/{socialIcons-CSe4YJ52.js → socialIcons-CXQfKLUV.js} +156 -136
  141. package/dist/cdn/chunks/socialIcons-CXQfKLUV.js.map +1 -0
  142. package/dist/cdn/chunks/{src-1MSPRtI8.js → src-9e0wFfHH.js} +4 -2
  143. package/dist/cdn/chunks/src-9e0wFfHH.js.map +1 -0
  144. package/dist/cdn/chunks/src-A0kzK-pR.js.map +1 -1
  145. package/dist/cdn/chunks/{src-edESkGqO.js → src-C9jjLNMg.js} +2 -2
  146. package/dist/cdn/chunks/{src-edESkGqO.js.map → src-C9jjLNMg.js.map} +1 -1
  147. package/dist/cdn/chunks/{tiptap-DDhueoan.js → tiptap-DLW5XdqI.js} +2 -2
  148. package/dist/cdn/chunks/{tiptap-DDhueoan.js.map → tiptap-DLW5XdqI.js.map} +1 -1
  149. package/dist/cdn/chunks/{useEditorRoot-D0Lp2x4_.js → useEditorRoot-BPVxLYFD.js} +2 -2
  150. package/dist/cdn/chunks/{useEditorRoot-D0Lp2x4_.js.map → useEditorRoot-BPVxLYFD.js.map} +1 -1
  151. package/dist/cdn/chunks/useI18n-DwP1ksBW.js +24 -0
  152. package/dist/cdn/chunks/useI18n-DwP1ksBW.js.map +1 -0
  153. package/dist/cdn/chunks/useLanguageName-CeuoO9WZ.js +41 -0
  154. package/dist/cdn/chunks/useLanguageName-CeuoO9WZ.js.map +1 -0
  155. package/dist/cdn/chunks/{useLogicTag-CKtQlJDa.js → useLogicTag-gphGbQfy.js} +3 -3
  156. package/dist/cdn/chunks/{useLogicTag-CKtQlJDa.js.map → useLogicTag-gphGbQfy.js.map} +1 -1
  157. package/dist/cdn/chunks/{useMergeTag-Dwy3U0PI.js → useMergeTag-QM-tkBc6.js} +3 -3
  158. package/dist/cdn/chunks/{useMergeTag-Dwy3U0PI.js.map → useMergeTag-QM-tkBc6.js.map} +1 -1
  159. package/dist/cdn/chunks/{usePopoverPosition-CBp9uwjV.js → usePopoverPosition-Cg8LR0W4.js} +2 -2
  160. package/dist/cdn/chunks/{usePopoverPosition-CBp9uwjV.js.map → usePopoverPosition-Cg8LR0W4.js.map} +1 -1
  161. package/dist/cdn/chunks/{useScrollToBlock-32EnuMwu.js → useScrollToBlock-CS7zo4oQ.js} +2 -2
  162. package/dist/cdn/chunks/{useScrollToBlock-32EnuMwu.js.map → useScrollToBlock-CS7zo4oQ.js.map} +1 -1
  163. package/dist/cdn/editor.css +1 -1
  164. package/dist/cdn/editor.js +910 -1006
  165. package/dist/cdn/editor.js.map +1 -1
  166. package/dist/{composables-Bu_OmyjT.js → composables-6SKZrQs-.js} +1335 -1355
  167. package/dist/{cdn/chunks/da-Dno_4nGy.js → da-DN46iRXS.js} +1 -4
  168. package/dist/{cdn/chunks/de-DRR5JSkh.js → de-Dyk8PPCm.js} +1 -4
  169. package/dist/{cdn/chunks/en-DAcLbbpg.js → en-BzMbMmgz.js} +1 -4
  170. package/dist/{cdn/chunks/es-BcEQLQxe.js → es-KSHEXYyf.js} +1 -4
  171. package/dist/{extensions-zHf8YFRw.js → extensions-D74nAP73.js} +3 -3
  172. package/dist/{cdn/chunks/fr-CNQG7ESr.js → fr-DtKHfZyk.js} +1 -4
  173. package/dist/index.d.ts +38 -406
  174. package/dist/{cdn/chunks/ja-CMxWxqSH.js → ja-DUSaDVPA.js} +1 -4
  175. package/dist/{cdn/chunks/nl-BjyYZDkC.js → nl-DQbuxzD6.js} +1 -4
  176. package/dist/{cdn/chunks/pt-BR-DC2A3C0v.js → pt-BR-CxpxBtvc.js} +1 -4
  177. package/dist/{socialIcons-mWE33bOn.js → socialIcons-K89pe-h2.js} +84 -64
  178. package/dist/style.css +1 -1
  179. package/dist/templatical-editor.js +1087 -1183
  180. package/dist/{useEditorRoot-DWfC2CVC.js → useEditorRoot-CQeutW_s.js} +1 -1
  181. package/dist/useI18n-B05qsAsl.js +22 -0
  182. package/dist/useLanguageName-CnpG7FD5.js +39 -0
  183. package/dist/{useLogicTag-K5CPoMTk.js → useLogicTag-DSa1si4o.js} +2 -2
  184. package/dist/{useMergeTag-tsU_Sw2x.js → useMergeTag-DwxbvRZI.js} +2 -2
  185. package/dist/{usePopoverPosition-DF0ZYH7g.js → usePopoverPosition-B8CXTr8v.js} +1 -1
  186. package/dist/{useScrollToBlock-eZXiGa8o.js → useScrollToBlock-ZZBBGFan.js} +1 -1
  187. package/package.json +12 -14
  188. package/dist/CloudHeaderExtras-DC_oNrxz.js +0 -22
  189. package/dist/CloudPanels-BS49EsuN.js +0 -167
  190. package/dist/cdn/chunks/AiChatPanel-DTYmFRwb.js.map +0 -1
  191. package/dist/cdn/chunks/CloudHeaderExtras-Cd-ePldd.js +0 -24
  192. package/dist/cdn/chunks/CloudHeaderExtras-Cd-ePldd.js.map +0 -1
  193. package/dist/cdn/chunks/CloudPanels-D4dslsyk.js +0 -167
  194. package/dist/cdn/chunks/CloudPanels-D4dslsyk.js.map +0 -1
  195. package/dist/cdn/chunks/CommentsSidebar-C81N5Hwr.js.map +0 -1
  196. package/dist/cdn/chunks/IssuesPanel-DgxiS3hF.js.map +0 -1
  197. package/dist/cdn/chunks/LanguageMenu-CJp7XdfG.js.map +0 -1
  198. package/dist/cdn/chunks/LocaleNotices-D5vZzcUj.js.map +0 -1
  199. package/dist/cdn/chunks/MergeTagTextarea-DMXZgGUF.js.map +0 -1
  200. package/dist/cdn/chunks/Toolbar-BxzyS69X.js.map +0 -1
  201. package/dist/cdn/chunks/VersionPreviewBanner-C1H_fYAr.js.map +0 -1
  202. package/dist/cdn/chunks/composables-C77dGo-I.js.map +0 -1
  203. package/dist/cdn/chunks/createCloudRuntime-CUlw09ix.js +0 -1405
  204. package/dist/cdn/chunks/createCloudRuntime-CUlw09ix.js.map +0 -1
  205. package/dist/cdn/chunks/de-6M4JoHoD.js +0 -21
  206. package/dist/cdn/chunks/de-6M4JoHoD.js.map +0 -1
  207. package/dist/cdn/chunks/en-FzUuJ8HW.js +0 -21
  208. package/dist/cdn/chunks/en-FzUuJ8HW.js.map +0 -1
  209. package/dist/cdn/chunks/keys-ywH4jHJ2.js +0 -11
  210. package/dist/cdn/chunks/keys-ywH4jHJ2.js.map +0 -1
  211. package/dist/cdn/chunks/languageName-DEEOhDWI.js +0 -12
  212. package/dist/cdn/chunks/languageName-DEEOhDWI.js.map +0 -1
  213. package/dist/cdn/chunks/logger-CqQTfJGx.js +0 -26
  214. package/dist/cdn/chunks/logger-CqQTfJGx.js.map +0 -1
  215. package/dist/cdn/chunks/preRenderCustomBlocks-BLVFtvl8.js +0 -22
  216. package/dist/cdn/chunks/preRenderCustomBlocks-BLVFtvl8.js.map +0 -1
  217. package/dist/cdn/chunks/pt-BR-Bp92Fc6J.js +0 -21
  218. package/dist/cdn/chunks/pt-BR-Bp92Fc6J.js.map +0 -1
  219. package/dist/cdn/chunks/pusher-x9rNqzon.js +0 -2473
  220. package/dist/cdn/chunks/pusher-x9rNqzon.js.map +0 -1
  221. package/dist/cdn/chunks/rolldown-runtime-QGRDbDUS.js +0 -19
  222. package/dist/cdn/chunks/socialIcons-CSe4YJ52.js.map +0 -1
  223. package/dist/cdn/chunks/src-1MSPRtI8.js.map +0 -1
  224. package/dist/cdn/chunks/useCloudI18n-BTV9uu3c.js +0 -24
  225. package/dist/cdn/chunks/useCloudI18n-BTV9uu3c.js.map +0 -1
  226. package/dist/cdn/chunks/useI18n-DPg6rPbu.js +0 -18
  227. package/dist/cdn/chunks/useI18n-DPg6rPbu.js.map +0 -1
  228. package/dist/createCloudRuntime-CiEo0wkr.js +0 -1389
  229. package/dist/de-6M4JoHoD.js +0 -19
  230. package/dist/en-FzUuJ8HW.js +0 -19
  231. package/dist/keys-B4DimcgX.js +0 -9
  232. package/dist/languageName-DEEOhDWI.js +0 -10
  233. package/dist/logger-BOu7oEtk.js +0 -24
  234. package/dist/preRenderCustomBlocks-6CLw2rP6.js +0 -20
  235. package/dist/pt-BR-Bp92Fc6J.js +0 -19
  236. package/dist/useCloudI18n-BnuOL1YS.js +0 -22
  237. package/dist/useI18n-Cx9W7OWb.js +0 -16
@@ -1,22 +1,21 @@
1
1
  import { B as e, Ft as t, M as n, Mt as r, O as i, P as a, Pt as o, U as s, W as c, _ as l, c as u, ct as d, d as f, et as p, f as m, g as ee, l as h, r as g, u as _, w as te, y as v } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
2
2
  import { a as y, t as b } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
3
3
  import { u as x } from "./styleConstants-Br6CIRoS.js";
4
- import { t as S } from "./languageName-DEEOhDWI.js";
5
- import { t as ne } from "./formatRelativeTime-BTD8Ktt-.js";
6
- import { O as re, ut as ie, v as ae } from "./keys-B4DimcgX.js";
7
- import { t as oe } from "./useI18n-Cx9W7OWb.js";
8
- import { t as se } from "./check-8ZykoWzl.js";
9
- import { t as C } from "./createLucideIcon-BKeRiObH.js";
10
- import { t as ce } from "./chevron-down-D_CUJHwi.js";
11
- import { t as le } from "./chevron-up-L-H27use.js";
12
- import { t as w } from "./loader-circle-uLY01591.js";
13
- import { t as T } from "./message-circle-amY03UMa.js";
14
- import { t as E } from "./pencil-D1HBG4pb.js";
15
- import { t as D } from "./send-BJEuoIc2.js";
16
- import { t as O } from "./trash-CJsobpw0.js";
17
- import { t as ue } from "./x-CuyPLm0U.js";
18
- import { t as de } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
19
- var fe = C({
4
+ import { t as ne } from "./useLanguageName-CnpG7FD5.js";
5
+ import { t as re } from "./formatRelativeTime-BTD8Ktt-.js";
6
+ import { D as ie, _ as ae, lt as oe, t as se } from "./useI18n-B05qsAsl.js";
7
+ import { t as ce } from "./check-8ZykoWzl.js";
8
+ import { t as S } from "./createLucideIcon-BKeRiObH.js";
9
+ import { t as le } from "./chevron-down-D_CUJHwi.js";
10
+ import { t as ue } from "./chevron-up-L-H27use.js";
11
+ import { t as C } from "./loader-circle-uLY01591.js";
12
+ import { t as w } from "./message-circle-amY03UMa.js";
13
+ import { t as T } from "./pencil-D1HBG4pb.js";
14
+ import { t as E } from "./send-BJEuoIc2.js";
15
+ import { t as D } from "./trash-CJsobpw0.js";
16
+ import { t as de } from "./x-CuyPLm0U.js";
17
+ import { t as fe } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
18
+ var pe = S({
20
19
  name: "circle-check",
21
20
  size: 24,
22
21
  node: [["circle", {
@@ -29,7 +28,7 @@ var fe = C({
29
28
  key: "xofnsj"
30
29
  }]],
31
30
  aliases: ["check-circle-2"]
32
- }), pe = C({
31
+ }), me = S({
33
32
  name: "reply",
34
33
  size: 24,
35
34
  node: [["path", {
@@ -39,110 +38,104 @@ var fe = C({
39
38
  d: "m9 17-5-5 5-5",
40
39
  key: "nvlc11"
41
40
  }]]
42
- }), me = ["aria-label"], he = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, ge = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]" }, _e = {
41
+ }), he = ["aria-label"], ge = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, _e = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]" }, ve = {
43
42
  key: 0,
44
43
  class: "tpl:ml-1 tpl:inline-flex tpl:size-5 tpl:items-center tpl:justify-center tpl:rounded-full tpl:text-[10px] tpl:font-semibold tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]"
45
- }, ve = ["aria-label"], ye = { class: "tpl:flex tpl:flex-wrap tpl:gap-1 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-2" }, be = ["aria-pressed"], xe = ["aria-pressed"], Se = ["aria-pressed"], Ce = ["aria-pressed"], we = { class: "tpl:flex-1 tpl:overflow-y-auto" }, Te = {
44
+ }, ye = ["aria-label"], be = { class: "tpl:flex tpl:flex-wrap tpl:gap-1 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-2" }, xe = ["aria-pressed"], Se = ["aria-pressed"], Ce = ["aria-pressed"], we = ["aria-pressed"], Te = { class: "tpl:flex-1 tpl:overflow-y-auto" }, Ee = {
46
45
  key: 0,
47
46
  class: "tpl:flex tpl:h-full tpl:items-center tpl:justify-center"
48
- }, Ee = {
47
+ }, De = {
49
48
  key: 1,
50
49
  class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:px-6 tpl:text-center"
51
- }, De = { class: "tpl:max-w-[240px] tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Oe = {
50
+ }, Oe = { class: "tpl:max-w-[240px] tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, ke = {
52
51
  key: 2,
53
52
  class: "tpl:flex tpl:flex-col tpl:gap-3 tpl:p-3"
54
- }, ke = { class: "tpl-comment-card tpl:rounded-lg tpl:border tpl:px-3.5 tpl:py-3" }, Ae = { class: "tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, je = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-1.5" }, Me = { class: "tpl:text-xs tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Ne = { class: "tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, Pe = {
53
+ }, Ae = { class: "tpl-comment-card tpl:rounded-lg tpl:border tpl:px-3.5 tpl:py-3" }, je = { class: "tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, Me = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-1.5" }, Ne = { class: "tpl:text-xs tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Pe = { class: "tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, Fe = {
55
54
  key: 1,
56
55
  class: "tpl:text-[10px] tpl:italic tpl:text-[var(--tpl-text-dim)]"
57
- }, Fe = { class: "tpl:flex tpl:items-center tpl:gap-0.5" }, Ie = ["title", "onClick"], Le = ["title", "onClick"], Re = ["title", "onClick"], ze = {
56
+ }, Ie = { class: "tpl:flex tpl:items-center tpl:gap-0.5" }, Le = ["title", "onClick"], Re = ["title", "onClick"], ze = ["title", "onClick"], Be = {
58
57
  key: 0,
59
58
  class: "tpl:mt-1 tpl:flex tpl:items-center tpl:gap-1 tpl:text-[10px] tpl:text-[var(--tpl-primary)]"
60
- }, Be = {
59
+ }, Ve = {
61
60
  key: 0,
62
61
  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:bg-[var(--tpl-warning-light)] tpl:text-[var(--tpl-warning)]"
63
- }, Ve = ["onClick"], He = {
62
+ }, He = ["onClick"], Ue = {
64
63
  key: 2,
65
64
  class: "tpl:mt-2"
66
- }, Ue = ["onKeydown"], We = { class: "tpl:mt-1.5 tpl:flex tpl:gap-1.5" }, Ge = ["disabled", "onClick"], Ke = {
65
+ }, We = ["onKeydown"], Ge = { class: "tpl:mt-1.5 tpl:flex tpl:gap-1.5" }, Ke = ["disabled", "onClick"], qe = {
67
66
  key: 3,
68
67
  class: "tpl:mt-1.5 tpl:text-xs tpl:leading-relaxed tpl:whitespace-pre-wrap tpl:text-[var(--tpl-text)]"
69
- }, qe = {
68
+ }, Je = {
70
69
  key: 4,
71
70
  class: "tpl:mt-2 tpl:flex tpl:items-center tpl:gap-2 tpl:rounded-md tpl:px-2.5 tpl:py-2 tpl:text-xs tpl:bg-[var(--tpl-danger-light)] tpl:text-[var(--tpl-danger)]"
72
- }, Je = { class: "tpl:flex-1" }, Ye = ["onClick"], Xe = {
71
+ }, Ye = { class: "tpl:flex-1" }, Xe = ["onClick"], Ze = {
73
72
  key: 5,
74
73
  class: "tpl:mt-2 tpl:flex tpl:items-center tpl:gap-2"
75
- }, Ze = ["title", "onClick"], Qe = ["onClick"], $e = {
74
+ }, Qe = ["title", "onClick"], $e = ["onClick"], et = {
76
75
  key: 0,
77
76
  class: "tpl-comment-replies tpl:ml-5 tpl:pl-3 tpl:pt-2"
78
- }, et = { class: "tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, tt = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-1.5" }, nt = { class: "tpl:text-xs tpl:font-semibold tpl:text-[var(--tpl-text)]" }, rt = { class: "tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, it = {
77
+ }, tt = { class: "tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, nt = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-1.5" }, rt = { class: "tpl:text-xs tpl:font-semibold tpl:text-[var(--tpl-text)]" }, it = { class: "tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, at = {
79
78
  key: 1,
80
79
  class: "tpl:text-[10px] tpl:italic tpl:text-[var(--tpl-text-dim)]"
81
- }, at = { class: "tpl:flex tpl:items-center tpl:gap-0.5" }, ot = ["title", "onClick"], st = ["title", "onClick"], ct = {
80
+ }, ot = { class: "tpl:flex tpl:items-center tpl:gap-0.5" }, st = ["title", "onClick"], ct = ["title", "onClick"], lt = {
82
81
  key: 0,
83
82
  class: "tpl:mt-1.5"
84
- }, lt = ["onKeydown"], ut = { class: "tpl:mt-1.5 tpl:flex tpl:gap-1.5" }, dt = ["disabled", "onClick"], ft = {
83
+ }, ut = ["onKeydown"], dt = { class: "tpl:mt-1.5 tpl:flex tpl:gap-1.5" }, ft = ["disabled", "onClick"], pt = {
85
84
  key: 1,
86
85
  class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:whitespace-pre-wrap tpl:text-[var(--tpl-text)]"
87
- }, pt = {
86
+ }, mt = {
88
87
  key: 2,
89
88
  class: "tpl:mt-2 tpl:flex tpl:items-center tpl:gap-2 tpl:rounded-md tpl:px-2.5 tpl:py-2 tpl:text-xs tpl:bg-[var(--tpl-danger-light)] tpl:text-[var(--tpl-danger)]"
90
- }, mt = { class: "tpl:flex-1" }, ht = ["onClick"], gt = {
89
+ }, ht = { class: "tpl:flex-1" }, gt = ["onClick"], _t = {
91
90
  key: 0,
92
91
  class: "tpl-comment-replies tpl:ml-5 tpl:pl-3 tpl:pt-2"
93
- }, _t = { class: "tpl-comments-input-wrapper tpl-focus-ring-host tpl:flex 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)]" }, vt = ["placeholder", "onKeydown"], yt = ["disabled", "onClick"], bt = {
92
+ }, vt = { class: "tpl-comments-input-wrapper tpl-focus-ring-host tpl:flex 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)]" }, yt = ["placeholder", "onKeydown"], bt = ["disabled", "onClick"], xt = {
94
93
  key: 0,
95
94
  class: "tpl:border-t tpl:p-3 tpl:border-[var(--tpl-border)]"
96
- }, xt = {
97
- key: 0,
98
- class: "tpl:flex tpl:min-h-[68px] tpl:items-center tpl:rounded-md tpl:px-3 tpl:py-2 tpl:text-xs tpl:bg-[var(--tpl-warning-light)] tpl:text-[var(--tpl-warning)]"
99
- }, St = {
100
- key: 1,
101
- 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)]"
102
- }, Ct = ["placeholder", "disabled"], wt = ["disabled"], k = /*#__PURE__*/ de(/* @__PURE__ */ v({
95
+ }, St = { 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)]" }, Ct = ["placeholder", "disabled"], wt = ["disabled"], O = /*#__PURE__*/ fe(/* @__PURE__ */ v({
103
96
  __name: "CommentsSidebar",
104
97
  props: {
105
98
  visible: { type: Boolean },
106
99
  feature: {}
107
100
  },
108
101
  emits: ["close"],
109
- setup(v, { expose: C, emit: de }) {
110
- let k = v, Tt = de, { t: A, format: j } = oe(), M = ie(ae, "CommentsSidebar"), N = u(() => k.feature.headless), P = p("unresolved"), F = te(re, void 0), I = p(!1), Et = u(() => M.activeLocale?.value ?? M.content.value.settings.locale);
102
+ setup(v, { expose: S, emit: fe }) {
103
+ let O = v, Tt = fe, { t: k, format: A } = se(), j = oe(ae, "CommentsSidebar"), M = ne(j), N = u(() => O.feature.headless), P = p("unresolved"), F = te(ie, void 0), I = p(!1), Et = u(() => j.activeLocale?.value ?? j.content.value.settings.locale);
111
104
  function L(e) {
112
- return e.locale ?? M.content.value.settings.locale;
105
+ return e.locale ?? j.content.value.settings.locale;
113
106
  }
114
- let R = p(""), z = p(null), B = p(""), V = p(null), H = p(""), U = p(/* @__PURE__ */ new Set()), W = p(null), G = p(null), K = u(() => k.feature.filterBlockId.value);
107
+ let R = p(""), z = p(null), B = p(""), V = p(null), H = p(""), U = p(/* @__PURE__ */ new Set()), W = p(null), G = p(null), K = u(() => O.feature.filterBlockId.value);
115
108
  e(K, (e) => {
116
109
  e && (P.value = "block");
117
110
  }, { immediate: !0 });
118
111
  let Dt = u(() => N.value.isLoading.value && N.value.comments.value.length === 0), Ot = u(() => {
119
112
  let e = /* @__PURE__ */ new Set();
120
- for (let t of M.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);
113
+ 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);
121
114
  return e;
122
115
  });
123
116
  function kt(e) {
124
117
  return e ? !Ot.value.has(e) : !1;
125
118
  }
126
- let At = u(() => P.value !== "block" || !K.value ? !1 : k.feature.capability.isBlockSaved(K.value) === !1), q = u(() => {
119
+ let q = u(() => {
127
120
  let e = N.value.comments.value;
128
121
  return P.value === "unresolved" ? e = e.filter((e) => !e.resolvedAt) : P.value === "block" && K.value && (e = e.filter((e) => e.blockId === K.value)), I.value && (e = e.filter((e) => [e, ...e.replies ?? []].some((e) => L(e) === Et.value))), e;
129
122
  });
130
- e(() => M.state.selectedBlockId, (e) => {
131
- P.value === "block" && e && (k.feature.filterBlockId.value = e);
123
+ e(() => j.state.selectedBlockId, (e) => {
124
+ P.value === "block" && e && (O.feature.filterBlockId.value = e);
132
125
  });
133
126
  function J(e, t) {
134
- P.value = e, k.feature.filterBlockId.value = e === "block" ? t ?? null : null;
127
+ P.value = e, O.feature.filterBlockId.value = e === "block" ? t ?? null : null;
135
128
  }
136
- function jt(e) {
129
+ function At(e) {
137
130
  J("block", e);
138
131
  }
139
- function Mt(e) {
132
+ function jt(e) {
140
133
  U.value.has(e) ? U.value.delete(e) : U.value.add(e);
141
134
  }
142
- function Nt(e) {
135
+ function Mt(e) {
143
136
  z.value = e, B.value = "", V.value = null, U.value.has(e) || U.value.add(e);
144
137
  }
145
- function Pt() {
138
+ function Nt() {
146
139
  z.value = null, B.value = "";
147
140
  }
148
141
  function Y(e) {
@@ -151,13 +144,13 @@ var fe = C({
151
144
  function X() {
152
145
  V.value = null, H.value = "";
153
146
  }
154
- function Ft(e) {
147
+ function Pt(e) {
155
148
  W.value = e;
156
149
  }
157
- function It() {
150
+ function Ft() {
158
151
  W.value = null;
159
152
  }
160
- async function Lt() {
153
+ async function Z() {
161
154
  let e = R.value.trim();
162
155
  if (!e || !N.value.canCreate.value) return;
163
156
  let t = P.value === "block" ? K.value : void 0;
@@ -165,11 +158,11 @@ var fe = C({
165
158
  await N.value.create({
166
159
  body: e,
167
160
  blockId: t ?? void 0,
168
- locale: M.activeLocale?.value ?? M.content.value.settings.locale
161
+ locale: j.activeLocale?.value ?? j.content.value.settings.locale
169
162
  }), R.value = "";
170
163
  } catch {}
171
164
  }
172
- async function Rt(e) {
165
+ async function It(e) {
173
166
  let t = B.value.trim();
174
167
  if (!t || !N.value.canCreate.value) return;
175
168
  let n = N.value.find(e);
@@ -178,99 +171,99 @@ var fe = C({
178
171
  body: t,
179
172
  blockId: n?.blockId ?? void 0,
180
173
  parentId: e,
181
- locale: M.activeLocale?.value ?? M.content.value.settings.locale
174
+ locale: j.activeLocale?.value ?? j.content.value.settings.locale
182
175
  }), z.value = null, B.value = "";
183
176
  } catch {}
184
177
  }
185
- async function Z(e) {
178
+ async function Q(e) {
186
179
  let t = H.value.trim();
187
180
  if (t) try {
188
181
  await N.value.update(e, { body: t }), V.value = null, H.value = "";
189
182
  } catch {}
190
183
  }
191
- async function zt(e) {
184
+ async function Lt(e) {
192
185
  try {
193
186
  await N.value.remove(e);
194
187
  } catch {}
195
188
  W.value = null;
196
189
  }
197
- async function Bt(e) {
190
+ async function Rt(e) {
198
191
  try {
199
192
  await N.value.setResolved(e.id, !e.resolvedAt);
200
193
  } catch {}
201
194
  }
202
- function Q(e) {
195
+ function zt(e) {
203
196
  return N.value.canUpdate.value && N.value.isOwn(e);
204
197
  }
205
- function Vt(e) {
198
+ function Bt(e) {
206
199
  return N.value.canDelete.value && N.value.isOwn(e);
207
200
  }
208
- function Ht(e) {
209
- return ne(e, A.time) ?? e;
201
+ function Vt(e) {
202
+ return re(e, k.time) ?? e;
210
203
  }
211
- function Ut(e) {
212
- e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Lt());
204
+ function Ht(e) {
205
+ e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Z());
213
206
  }
214
- function Wt(e, t) {
215
- e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Rt(t));
207
+ function Ut(e, t) {
208
+ e.key === "Enter" && !e.shiftKey && (e.preventDefault(), It(t));
216
209
  }
217
210
  function $(e, t) {
218
- e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Z(t)), e.key === "Escape" && X();
211
+ e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Q(t)), e.key === "Escape" && X();
219
212
  }
220
- function Gt() {
213
+ function Wt() {
221
214
  i(() => {
222
215
  G.value?.focus();
223
216
  });
224
217
  }
225
- return C({
226
- filterByBlock: jt,
227
- focusNewComment: Gt
218
+ return S({
219
+ filterByBlock: At,
220
+ focusNewComment: Wt
228
221
  }), (e, i) => v.visible ? (n(), m("div", {
229
222
  key: 0,
230
223
  role: "complementary",
231
- "aria-label": d(A).comments.title,
224
+ "aria-label": d(k).comments.title,
232
225
  "data-testid": "comments-sidebar",
233
226
  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)]"
234
227
  }, [
235
- h("div", he, [h("div", ge, [
236
- l(d(T), {
228
+ h("div", ge, [h("div", _e, [
229
+ l(d(w), {
237
230
  size: 13,
238
231
  "stroke-width": 2
239
232
  }),
240
- h("span", null, t(d(A).comments.title), 1),
241
- v.feature.unresolvedCount.value > 0 ? (n(), m("span", _e, t(v.feature.unresolvedCount.value), 1)) : f("", !0)
233
+ h("span", null, t(d(k).comments.title), 1),
234
+ v.feature.unresolvedCount.value > 0 ? (n(), m("span", ve, t(v.feature.unresolvedCount.value), 1)) : f("", !0)
242
235
  ]), h("button", {
243
236
  type: "button",
244
237
  class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
245
- "aria-label": d(A).comments.close,
238
+ "aria-label": d(k).comments.close,
246
239
  onClick: i[0] ||= (e) => Tt("close")
247
- }, [l(d(ue), {
240
+ }, [l(d(de), {
248
241
  size: 14,
249
242
  "stroke-width": 2
250
- })], 8, ve)]),
251
- h("div", ye, [
243
+ })], 8, ye)]),
244
+ h("div", be, [
252
245
  h("button", {
253
246
  type: "button",
254
247
  class: r(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", P.value === "unresolved" ? "tpl-comment-filter--active" : ""]),
255
248
  "aria-pressed": P.value === "unresolved",
256
249
  "data-testid": "comments-filter-unresolved",
257
250
  onClick: i[1] ||= (e) => J("unresolved")
258
- }, t(d(A).comments.filterUnresolved), 11, be),
251
+ }, t(d(k).comments.filterUnresolved), 11, xe),
259
252
  h("button", {
260
253
  type: "button",
261
254
  class: r(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", P.value === "all" ? "tpl-comment-filter--active" : ""]),
262
255
  "aria-pressed": P.value === "all",
263
256
  "data-testid": "comments-filter-all",
264
257
  onClick: i[2] ||= (e) => J("all")
265
- }, t(d(A).comments.filterAll), 11, xe),
266
- d(M).state.selectedBlockId ? (n(), m("button", {
258
+ }, t(d(k).comments.filterAll), 11, Se),
259
+ d(j).state.selectedBlockId ? (n(), m("button", {
267
260
  key: 0,
268
261
  type: "button",
269
262
  class: r(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", P.value === "block" ? "tpl-comment-filter--active" : ""]),
270
263
  "aria-pressed": P.value === "block",
271
264
  "data-testid": "comments-filter-block",
272
- onClick: i[3] ||= (e) => J("block", d(M).state.selectedBlockId ?? void 0)
273
- }, t(d(A).comments.filterBlock), 11, Se)) : f("", !0),
265
+ onClick: i[3] ||= (e) => J("block", d(j).state.selectedBlockId ?? void 0)
266
+ }, t(d(k).comments.filterBlock), 11, Ce)) : f("", !0),
274
267
  d(F) ? (n(), m("button", {
275
268
  key: 1,
276
269
  type: "button",
@@ -278,206 +271,206 @@ var fe = C({
278
271
  class: r(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:focus-visible:outline-none tpl:focus-visible:shadow-[var(--tpl-ring)]", I.value ? "tpl-comment-filter--active" : ""]),
279
272
  "aria-pressed": I.value,
280
273
  onClick: i[4] ||= (e) => I.value = !I.value
281
- }, t(d(A).comments.filterLanguage), 11, Ce)) : f("", !0)
274
+ }, t(d(k).comments.filterLanguage), 11, we)) : f("", !0)
282
275
  ]),
283
- h("div", we, [Dt.value ? (n(), m("div", Te, [l(d(w), {
276
+ h("div", Te, [Dt.value ? (n(), m("div", Ee, [l(d(C), {
284
277
  class: "tpl-spinner tpl:text-[var(--tpl-text-muted)]",
285
278
  size: 24,
286
279
  "stroke-width": 2
287
- })])) : q.value.length === 0 ? (n(), m("div", Ee, [l(d(T), {
280
+ })])) : q.value.length === 0 ? (n(), m("div", De, [l(d(w), {
288
281
  size: 32,
289
282
  "stroke-width": 1.5,
290
283
  class: "tpl:text-[var(--tpl-text-dim)]"
291
- }), h("p", De, t(P.value === "all" ? d(A).comments.noCommentsHint : d(A).comments.noComments), 1)])) : (n(), m("div", Oe, [(n(!0), m(g, null, a(q.value, (e) => (n(), m("div", {
284
+ }), h("p", Oe, t(P.value === "all" ? d(k).comments.noCommentsHint : d(k).comments.noComments), 1)])) : (n(), m("div", ke, [(n(!0), m(g, null, a(q.value, (e) => (n(), m("div", {
292
285
  key: e.id,
293
286
  class: "tpl-comment-thread",
294
287
  "data-testid": "comment-thread"
295
288
  }, [
296
- h("div", ke, [
297
- h("div", Ae, [h("div", je, [
298
- h("span", Me, t(N.value.isOwn(e) ? d(A).comments.ownedByYou : e.author.name), 1),
299
- h("span", Ne, t(Ht(e.createdAt)), 1),
289
+ h("div", Ae, [
290
+ h("div", je, [h("div", Me, [
291
+ h("span", Ne, t(N.value.isOwn(e) ? d(k).comments.ownedByYou : e.author.name), 1),
292
+ h("span", Pe, t(Vt(e.createdAt)), 1),
300
293
  d(F) ? (n(), m("span", {
301
294
  key: 0,
302
295
  "data-testid": "comment-locale-badge",
303
296
  class: r(d(x))
304
- }, t(d(S)(L(e))), 3)) : f("", !0),
305
- e.updatedAt ? (n(), m("span", Pe, " (" + t(d(A).comments.edited) + ") ", 1)) : f("", !0)
306
- ]), h("div", Fe, [
297
+ }, t(d(M)(L(e))), 3)) : f("", !0),
298
+ e.updatedAt ? (n(), m("span", Fe, " (" + t(d(k).comments.edited) + ") ", 1)) : f("", !0)
299
+ ]), h("div", Ie, [
307
300
  N.value.canResolve.value ? (n(), m("button", {
308
301
  key: 0,
309
302
  "data-testid": "comment-resolve",
310
303
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
311
- title: e.resolvedAt ? d(A).comments.unresolve : d(A).comments.resolve,
312
- onClick: (t) => Bt(e)
313
- }, [l(d(fe), {
304
+ title: e.resolvedAt ? d(k).comments.unresolve : d(k).comments.resolve,
305
+ onClick: (t) => Rt(e)
306
+ }, [l(d(pe), {
314
307
  size: 13,
315
308
  "stroke-width": 2,
316
309
  class: "tpl-resolve-icon",
317
310
  style: o({ color: e.resolvedAt ? "var(--tpl-primary)" : void 0 })
318
- }, null, 8, ["style"])], 8, Ie)) : f("", !0),
319
- Q(e) ? (n(), m("button", {
311
+ }, null, 8, ["style"])], 8, Le)) : f("", !0),
312
+ zt(e) ? (n(), m("button", {
320
313
  key: 1,
321
314
  "data-testid": "comment-edit",
322
315
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
323
- title: d(A).comments.edit,
316
+ title: d(k).comments.edit,
324
317
  onClick: (t) => Y(e)
325
- }, [l(d(E), {
318
+ }, [l(d(T), {
326
319
  size: 12,
327
320
  "stroke-width": 2
328
- })], 8, Le)) : f("", !0),
329
- Vt(e) ? (n(), m("button", {
321
+ })], 8, Re)) : f("", !0),
322
+ Bt(e) ? (n(), m("button", {
330
323
  key: 2,
331
324
  "data-testid": "comment-delete",
332
325
  class: "tpl-comment-action tpl-comment-delete tpl:rounded tpl:p-1 tpl:transition-colors",
333
- title: d(A).comments.delete,
334
- onClick: (t) => Ft(e.id)
335
- }, [l(d(O), {
326
+ title: d(k).comments.delete,
327
+ onClick: (t) => Pt(e.id)
328
+ }, [l(d(D), {
336
329
  size: 12,
337
330
  "stroke-width": 2
338
- })], 8, Re)) : f("", !0)
331
+ })], 8, ze)) : f("", !0)
339
332
  ])]),
340
333
  l(b, { name: "tpl-resolve" }, {
341
- default: s(() => [e.resolvedAt ? (n(), m("div", ze, [l(d(se), {
334
+ default: s(() => [e.resolvedAt ? (n(), m("div", Be, [l(d(ce), {
342
335
  size: 10,
343
336
  "stroke-width": 2.5
344
- }), h("span", null, t(d(j)(d(A).comments.resolvedBy, { name: e.resolvedBy?.name ?? "" })), 1)])) : f("", !0)]),
337
+ }), h("span", null, t(d(A)(d(k).comments.resolvedBy, { name: e.resolvedBy?.name ?? "" })), 1)])) : f("", !0)]),
345
338
  _: 2
346
339
  }, 1024),
347
- e.blockId && kt(e.blockId) ? (n(), m("span", Be, t(d(A).comments.missingBlock), 1)) : e.blockId ? (n(), m("button", {
340
+ e.blockId && kt(e.blockId) ? (n(), m("span", Ve, t(d(k).comments.missingBlock), 1)) : e.blockId ? (n(), m("button", {
348
341
  key: 1,
349
342
  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)]",
350
- onClick: (t) => d(M).selectBlock(e.blockId ?? "")
351
- }, t(d(A).comments.jumpToBlock), 9, Ve)) : f("", !0),
352
- V.value === e.id ? (n(), m("div", He, [c(h("textarea", {
343
+ onClick: (t) => d(j).selectBlock(e.blockId ?? "")
344
+ }, t(d(k).comments.jumpToBlock), 9, He)) : f("", !0),
345
+ V.value === e.id ? (n(), m("div", Ue, [c(h("textarea", {
353
346
  "onUpdate:modelValue": i[5] ||= (e) => H.value = e,
354
347
  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)]",
355
348
  rows: "3",
356
349
  onKeydown: (t) => $(t, e.id)
357
- }, null, 40, Ue), [[y, H.value]]), h("div", We, [h("button", {
350
+ }, null, 40, We), [[y, H.value]]), h("div", Ge, [h("button", {
358
351
  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)]",
359
352
  disabled: !H.value.trim() || N.value.isSubmitting.value,
360
- onClick: (t) => Z(e.id)
361
- }, t(d(A).comments.save), 9, Ge), h("button", {
353
+ onClick: (t) => Q(e.id)
354
+ }, t(d(k).comments.save), 9, Ke), h("button", {
362
355
  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)]",
363
356
  onClick: i[6] ||= (e) => X()
364
- }, t(d(A).comments.cancel), 1)])])) : (n(), m("p", Ke, t(e.body), 1)),
365
- W.value === e.id ? (n(), m("div", qe, [
366
- h("span", Je, t(d(A).comments.deleteConfirm), 1),
357
+ }, t(d(k).comments.cancel), 1)])])) : (n(), m("p", qe, t(e.body), 1)),
358
+ W.value === e.id ? (n(), m("div", Je, [
359
+ h("span", Ye, t(d(k).comments.deleteConfirm), 1),
367
360
  h("button", {
368
361
  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)]",
369
362
  "data-testid": "comment-delete-confirm",
370
- onClick: (t) => zt(e.id)
371
- }, t(d(A).comments.delete), 9, Ye),
363
+ onClick: (t) => Lt(e.id)
364
+ }, t(d(k).comments.delete), 9, Xe),
372
365
  h("button", {
373
366
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
374
- onClick: i[7] ||= (e) => It()
375
- }, t(d(A).comments.cancel), 1)
367
+ onClick: i[7] ||= (e) => Ft()
368
+ }, t(d(k).comments.cancel), 1)
376
369
  ])) : f("", !0),
377
- V.value !== e.id && W.value !== e.id ? (n(), m("div", Xe, [N.value.canCreate.value ? (n(), m("button", {
370
+ V.value !== e.id && W.value !== e.id ? (n(), m("div", Ze, [N.value.canCreate.value ? (n(), m("button", {
378
371
  key: 0,
379
372
  "data-testid": "comment-reply",
380
373
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
381
- title: d(A).comments.reply,
382
- onClick: (t) => Nt(e.id)
383
- }, [l(d(pe), {
374
+ title: d(k).comments.reply,
375
+ onClick: (t) => Mt(e.id)
376
+ }, [l(d(me), {
384
377
  size: 13,
385
378
  "stroke-width": 2,
386
379
  class: "tpl:text-[var(--tpl-primary)]"
387
- })], 8, Ze)) : f("", !0), (e.replies?.length ?? 0) > 0 ? (n(), m("button", {
380
+ })], 8, Qe)) : f("", !0), (e.replies?.length ?? 0) > 0 ? (n(), m("button", {
388
381
  key: 1,
389
382
  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)]",
390
- onClick: (t) => Mt(e.id)
391
- }, [U.value.has(e.id) ? (n(), _(d(le), {
383
+ onClick: (t) => jt(e.id)
384
+ }, [U.value.has(e.id) ? (n(), _(d(ue), {
392
385
  key: 0,
393
386
  size: 11,
394
387
  "stroke-width": 2
395
- })) : (n(), _(d(ce), {
388
+ })) : (n(), _(d(le), {
396
389
  key: 1,
397
390
  size: 11,
398
391
  "stroke-width": 2
399
- })), ee(" " + t((e.replies?.length ?? 0) === 1 ? d(j)(d(A).comments.replyOne, { count: String(e.replies?.length ?? 0) }) : d(j)(d(A).comments.replyMany, { count: String(e.replies?.length ?? 0) })), 1)], 8, Qe)) : f("", !0)])) : f("", !0)
392
+ })), ee(" " + t((e.replies?.length ?? 0) === 1 ? d(A)(d(k).comments.replyOne, { count: String(e.replies?.length ?? 0) }) : d(A)(d(k).comments.replyMany, { count: String(e.replies?.length ?? 0) })), 1)], 8, $e)) : f("", !0)])) : f("", !0)
400
393
  ]),
401
394
  l(b, { name: "tpl-replies" }, {
402
- default: s(() => [U.value.has(e.id) && (e.replies?.length ?? 0) > 0 ? (n(), m("div", $e, [(n(!0), m(g, null, a(e.replies, (a, o) => (n(), m("div", {
395
+ default: s(() => [U.value.has(e.id) && (e.replies?.length ?? 0) > 0 ? (n(), m("div", et, [(n(!0), m(g, null, a(e.replies, (a, o) => (n(), m("div", {
403
396
  key: a.id,
404
397
  class: r(["tpl-comment-reply-card tpl:relative tpl:rounded-lg tpl:border tpl:px-3.5 tpl:py-2.5", o < (e.replies?.length ?? 0) - 1 ? "tpl:mb-2" : ""])
405
398
  }, [
406
- h("div", et, [h("div", tt, [
407
- h("span", nt, t(N.value.isOwn(a) ? d(A).comments.ownedByYou : a.author.name), 1),
408
- h("span", rt, t(Ht(a.createdAt)), 1),
399
+ h("div", tt, [h("div", nt, [
400
+ h("span", rt, t(N.value.isOwn(a) ? d(k).comments.ownedByYou : a.author.name), 1),
401
+ h("span", it, t(Vt(a.createdAt)), 1),
409
402
  d(F) ? (n(), m("span", {
410
403
  key: 0,
411
404
  "data-testid": "comment-locale-badge",
412
405
  class: r(d(x))
413
- }, t(d(S)(L(a))), 3)) : f("", !0),
414
- a.updatedAt ? (n(), m("span", it, " (" + t(d(A).comments.edited) + ") ", 1)) : f("", !0)
415
- ]), h("div", at, [Q(a) ? (n(), m("button", {
406
+ }, t(d(M)(L(a))), 3)) : f("", !0),
407
+ a.updatedAt ? (n(), m("span", at, " (" + t(d(k).comments.edited) + ") ", 1)) : f("", !0)
408
+ ]), h("div", ot, [zt(a) ? (n(), m("button", {
416
409
  key: 0,
417
410
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
418
- title: d(A).comments.edit,
411
+ title: d(k).comments.edit,
419
412
  onClick: (e) => Y(a)
420
- }, [l(d(E), {
413
+ }, [l(d(T), {
421
414
  size: 11,
422
415
  "stroke-width": 2
423
- })], 8, ot)) : f("", !0), Vt(a) ? (n(), m("button", {
416
+ })], 8, st)) : f("", !0), Bt(a) ? (n(), m("button", {
424
417
  key: 1,
425
418
  class: "tpl-comment-action tpl-comment-delete tpl:rounded tpl:p-1 tpl:transition-colors",
426
- title: d(A).comments.delete,
427
- onClick: (e) => Ft(a.id)
428
- }, [l(d(O), {
419
+ title: d(k).comments.delete,
420
+ onClick: (e) => Pt(a.id)
421
+ }, [l(d(D), {
429
422
  size: 11,
430
423
  "stroke-width": 2
431
- })], 8, st)) : f("", !0)])]),
432
- V.value === a.id ? (n(), m("div", ct, [c(h("textarea", {
424
+ })], 8, ct)) : f("", !0)])]),
425
+ V.value === a.id ? (n(), m("div", lt, [c(h("textarea", {
433
426
  "onUpdate:modelValue": i[8] ||= (e) => H.value = e,
434
427
  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)]",
435
428
  rows: "2",
436
429
  onKeydown: (e) => $(e, a.id)
437
- }, null, 40, lt), [[y, H.value]]), h("div", ut, [h("button", {
430
+ }, null, 40, ut), [[y, H.value]]), h("div", dt, [h("button", {
438
431
  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)]",
439
432
  disabled: !H.value.trim() || N.value.isSubmitting.value,
440
- onClick: (e) => Z(a.id)
441
- }, t(d(A).comments.save), 9, dt), h("button", {
433
+ onClick: (e) => Q(a.id)
434
+ }, t(d(k).comments.save), 9, ft), h("button", {
442
435
  class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
443
436
  onClick: i[9] ||= (e) => X()
444
- }, t(d(A).comments.cancel), 1)])])) : (n(), m("p", ft, t(a.body), 1)),
445
- W.value === a.id ? (n(), m("div", pt, [
446
- h("span", mt, t(d(A).comments.deleteConfirm), 1),
437
+ }, t(d(k).comments.cancel), 1)])])) : (n(), m("p", pt, t(a.body), 1)),
438
+ W.value === a.id ? (n(), m("div", mt, [
439
+ h("span", ht, t(d(k).comments.deleteConfirm), 1),
447
440
  h("button", {
448
441
  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)]",
449
442
  "data-testid": "comment-delete-confirm",
450
- onClick: (e) => zt(a.id)
451
- }, t(d(A).comments.delete), 9, ht),
443
+ onClick: (e) => Lt(a.id)
444
+ }, t(d(k).comments.delete), 9, gt),
452
445
  h("button", {
453
446
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
454
- onClick: i[10] ||= (e) => It()
455
- }, t(d(A).comments.cancel), 1)
447
+ onClick: i[10] ||= (e) => Ft()
448
+ }, t(d(k).comments.cancel), 1)
456
449
  ])) : f("", !0)
457
450
  ], 2))), 128))])) : f("", !0)]),
458
451
  _: 2
459
452
  }, 1024),
460
453
  l(b, { name: "tpl-replies" }, {
461
- default: s(() => [z.value === e.id ? (n(), m("div", gt, [h("div", _t, [
454
+ default: s(() => [z.value === e.id ? (n(), m("div", _t, [h("div", vt, [
462
455
  c(h("textarea", {
463
456
  "onUpdate:modelValue": i[11] ||= (e) => B.value = e,
464
457
  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)]",
465
- placeholder: d(A).comments.replyPlaceholder,
458
+ placeholder: d(k).comments.replyPlaceholder,
466
459
  rows: "2",
467
- onKeydown: (t) => Wt(t, e.id)
468
- }, null, 40, vt), [[y, B.value]]),
460
+ onKeydown: (t) => Ut(t, e.id)
461
+ }, null, 40, yt), [[y, B.value]]),
469
462
  h("button", {
470
463
  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)]",
471
464
  disabled: !B.value.trim() || N.value.isSubmitting.value,
472
- onClick: (t) => Rt(e.id)
473
- }, [l(d(D), {
465
+ onClick: (t) => It(e.id)
466
+ }, [l(d(E), {
474
467
  size: 14,
475
468
  "stroke-width": 2
476
- })], 8, yt),
469
+ })], 8, bt),
477
470
  h("button", {
478
471
  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)]",
479
- onClick: i[12] ||= (e) => Pt()
480
- }, [l(d(ue), {
472
+ onClick: i[12] ||= (e) => Nt()
473
+ }, [l(d(de), {
481
474
  size: 14,
482
475
  "stroke-width": 2
483
476
  })])
@@ -485,32 +478,32 @@ var fe = C({
485
478
  _: 2
486
479
  }, 1024)
487
480
  ]))), 128))]))]),
488
- N.value.canCreate.value ? (n(), m("div", bt, [At.value ? (n(), m("div", xt, t(d(A).comments.saveTemplateFirst), 1)) : (n(), m("div", St, [c(h("textarea", {
481
+ N.value.canCreate.value ? (n(), m("div", xt, [h("div", St, [c(h("textarea", {
489
482
  ref_key: "newCommentInput",
490
483
  ref: G,
491
484
  "onUpdate:modelValue": i[13] ||= (e) => R.value = e,
492
485
  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)]",
493
486
  "data-testid": "comments-input",
494
- placeholder: d(A).comments.placeholder,
487
+ placeholder: d(k).comments.placeholder,
495
488
  disabled: N.value.isSubmitting.value,
496
489
  rows: "2",
497
- onKeydown: Ut
490
+ onKeydown: Ht
498
491
  }, null, 40, Ct), [[y, R.value]]), h("button", {
499
492
  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)]",
500
493
  "data-testid": "comments-send",
501
494
  disabled: !R.value.trim() || N.value.isSubmitting.value,
502
- onClick: Lt
503
- }, [N.value.isSubmitting.value ? (n(), _(d(w), {
495
+ onClick: Z
496
+ }, [N.value.isSubmitting.value ? (n(), _(d(C), {
504
497
  key: 0,
505
498
  class: "tpl-spinner",
506
499
  size: 16,
507
500
  "stroke-width": 2
508
- })) : (n(), _(d(D), {
501
+ })) : (n(), _(d(E), {
509
502
  key: 1,
510
503
  size: 16,
511
504
  "stroke-width": 2
512
- }))], 8, wt)]))])) : f("", !0)
513
- ], 8, me)) : f("", !0);
505
+ }))], 8, wt)])])) : f("", !0)
506
+ ], 8, he)) : f("", !0);
514
507
  }
515
- }), [["__scopeId", "data-v-75eacb94"]]);
516
- export { k as default };
508
+ }), [["__scopeId", "data-v-aa4cfc4a"]]);
509
+ export { O as default };