@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,116 +1,109 @@
1
1
  import { C as e, F as t, G as n, H as r, K as i, L as a, O as o, _ as s, b as ee, ct as c, dt as l, g as u, h as d, j as te, m as f, mt as p, n as m, o as h, p as g, pt as ne, tt as _, u as v, x as y } from "./draggable-IRVFEZ-b.js";
2
2
  import { u as b } from "./styleConstants-Br6CIRoS.js";
3
- import { t as x } from "./languageName-DEEOhDWI.js";
4
- import { t as re } from "./formatRelativeTime-BTD8Ktt-.js";
5
- import { O as ie, ut as ae, v as oe } from "./keys-ywH4jHJ2.js";
6
- import { t as se } from "./useI18n-DPg6rPbu.js";
7
- import { Bt as ce, G as S, I as le, It as ue, Lt as de, Vt as fe, at as C, f as pe, j as me, nt as w, t as T } from "./icons-DdVB-5WO.js";
8
- import { t as E } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
3
+ import { t as re } from "./useLanguageName-CeuoO9WZ.js";
4
+ import { t as ie } from "./formatRelativeTime-BTD8Ktt-.js";
5
+ import { D as ae, _ as oe, lt as se, t as ce } from "./useI18n-DwP1ksBW.js";
6
+ import { Bt as le, G as x, I as ue, It as de, Lt as fe, Vt as pe, at as S, f as me, j as he, nt as C, t as w } from "./icons-DdVB-5WO.js";
7
+ import { t as T } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
9
8
  // src/components/CommentsSidebar.vue?vue&type=script&setup=true&lang.ts
10
- var 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 = {
9
+ var ge = ["aria-label"], _e = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, ve = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]" }, ye = {
11
10
  key: 0,
12
11
  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)]"
13
- }, 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 = {
12
+ }, be = ["aria-label"], xe = { class: "tpl:flex tpl:flex-wrap tpl:gap-1 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-2" }, Se = ["aria-pressed"], Ce = ["aria-pressed"], we = ["aria-pressed"], Te = ["aria-pressed"], Ee = { class: "tpl:flex-1 tpl:overflow-y-auto" }, De = {
14
13
  key: 0,
15
14
  class: "tpl:flex tpl:h-full tpl:items-center tpl:justify-center"
16
- }, De = {
15
+ }, Oe = {
17
16
  key: 1,
18
17
  class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:px-6 tpl:text-center"
19
- }, Oe = { class: "tpl:max-w-[240px] tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, ke = {
18
+ }, ke = { class: "tpl:max-w-[240px] tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Ae = {
20
19
  key: 2,
21
20
  class: "tpl:flex tpl:flex-col tpl:gap-3 tpl:p-3"
22
- }, 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 = {
21
+ }, je = { class: "tpl-comment-card tpl:rounded-lg tpl:border tpl:px-3.5 tpl:py-3" }, Me = { class: "tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, Ne = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-1.5" }, Pe = { class: "tpl:text-xs tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Fe = { class: "tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, Ie = {
23
22
  key: 1,
24
23
  class: "tpl:text-[10px] tpl:italic tpl:text-[var(--tpl-text-dim)]"
25
- }, Ie = { class: "tpl:flex tpl:items-center tpl:gap-0.5" }, Le = ["title", "onClick"], Re = ["title", "onClick"], ze = ["title", "onClick"], Be = {
24
+ }, Le = { class: "tpl:flex tpl:items-center tpl:gap-0.5" }, Re = ["title", "onClick"], ze = ["title", "onClick"], Be = ["title", "onClick"], Ve = {
26
25
  key: 0,
27
26
  class: "tpl:mt-1 tpl:flex tpl:items-center tpl:gap-1 tpl:text-[10px] tpl:text-[var(--tpl-primary)]"
28
- }, Ve = {
27
+ }, He = {
29
28
  key: 0,
30
29
  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)]"
31
- }, He = ["onClick"], Ue = {
30
+ }, Ue = ["onClick"], We = {
32
31
  key: 2,
33
32
  class: "tpl:mt-2"
34
- }, We = ["onKeydown"], Ge = { class: "tpl:mt-1.5 tpl:flex tpl:gap-1.5" }, Ke = ["disabled", "onClick"], qe = {
33
+ }, Ge = ["onKeydown"], Ke = { class: "tpl:mt-1.5 tpl:flex tpl:gap-1.5" }, qe = ["disabled", "onClick"], Je = {
35
34
  key: 3,
36
35
  class: "tpl:mt-1.5 tpl:text-xs tpl:leading-relaxed tpl:whitespace-pre-wrap tpl:text-[var(--tpl-text)]"
37
- }, Je = {
36
+ }, Ye = {
38
37
  key: 4,
39
38
  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)]"
40
- }, Ye = { class: "tpl:flex-1" }, Xe = ["onClick"], Ze = {
39
+ }, Xe = { class: "tpl:flex-1" }, Ze = ["onClick"], Qe = {
41
40
  key: 5,
42
41
  class: "tpl:mt-2 tpl:flex tpl:items-center tpl:gap-2"
43
- }, Qe = ["title", "onClick"], $e = ["onClick"], et = {
42
+ }, $e = ["title", "onClick"], et = ["onClick"], tt = {
44
43
  key: 0,
45
44
  class: "tpl-comment-replies tpl:ml-5 tpl:pl-3 tpl:pt-2"
46
- }, 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 = {
45
+ }, nt = { class: "tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, rt = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-1.5" }, it = { class: "tpl:text-xs tpl:font-semibold tpl:text-[var(--tpl-text)]" }, at = { class: "tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, ot = {
47
46
  key: 1,
48
47
  class: "tpl:text-[10px] tpl:italic tpl:text-[var(--tpl-text-dim)]"
49
- }, ot = { class: "tpl:flex tpl:items-center tpl:gap-0.5" }, st = ["title", "onClick"], ct = ["title", "onClick"], lt = {
48
+ }, st = { class: "tpl:flex tpl:items-center tpl:gap-0.5" }, ct = ["title", "onClick"], lt = ["title", "onClick"], ut = {
50
49
  key: 0,
51
50
  class: "tpl:mt-1.5"
52
- }, ut = ["onKeydown"], dt = { class: "tpl:mt-1.5 tpl:flex tpl:gap-1.5" }, ft = ["disabled", "onClick"], pt = {
51
+ }, dt = ["onKeydown"], ft = { class: "tpl:mt-1.5 tpl:flex tpl:gap-1.5" }, pt = ["disabled", "onClick"], mt = {
53
52
  key: 1,
54
53
  class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:whitespace-pre-wrap tpl:text-[var(--tpl-text)]"
55
- }, mt = {
54
+ }, ht = {
56
55
  key: 2,
57
56
  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)]"
58
- }, ht = { class: "tpl:flex-1" }, gt = ["onClick"], _t = {
57
+ }, gt = { class: "tpl:flex-1" }, _t = ["onClick"], vt = {
59
58
  key: 0,
60
59
  class: "tpl-comment-replies tpl:ml-5 tpl:pl-3 tpl:pt-2"
61
- }, 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 = {
60
+ }, yt = { 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)]" }, bt = ["placeholder", "onKeydown"], xt = ["disabled", "onClick"], St = {
62
61
  key: 0,
63
62
  class: "tpl:border-t tpl:p-3 tpl:border-[var(--tpl-border)]"
64
- }, St = {
65
- key: 0,
66
- 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)]"
67
- }, Ct = {
68
- key: 1,
69
- 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)]"
70
- }, wt = ["placeholder", "disabled"], Tt = ["disabled"], D = /*#__PURE__*/ E(/* @__PURE__ */ e({
63
+ }, Ct = { 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)]" }, wt = ["placeholder", "disabled"], Tt = ["disabled"], E = /*#__PURE__*/ T(/* @__PURE__ */ e({
71
64
  __name: "CommentsSidebar",
72
65
  props: {
73
66
  visible: { type: Boolean },
74
67
  feature: {}
75
68
  },
76
69
  emits: ["close"],
77
- setup(e, { expose: E, emit: D }) {
78
- let O = e, Et = D, { t: k, format: A } = se(), j = ae(oe, "CommentsSidebar"), M = g(() => O.feature.headless), N = _("unresolved"), P = o(ie, void 0), F = _(!1), Dt = g(() => j.activeLocale?.value ?? j.content.value.settings.locale);
70
+ setup(e, { expose: T, emit: E }) {
71
+ let D = e, Et = E, { t: O, format: k } = ce(), A = se(oe, "CommentsSidebar"), j = re(A), M = g(() => D.feature.headless), N = _("unresolved"), P = o(ae, void 0), F = _(!1), Dt = g(() => A.activeLocale?.value ?? A.content.value.settings.locale);
79
72
  function I(e) {
80
- return e.locale ?? j.content.value.settings.locale;
73
+ return e.locale ?? A.content.value.settings.locale;
81
74
  }
82
- let L = _(""), R = _(null), z = _(""), B = _(null), V = _(""), H = _(/* @__PURE__ */ new Set()), U = _(null), W = _(null), G = g(() => O.feature.filterBlockId.value);
75
+ let L = _(""), R = _(null), z = _(""), B = _(null), V = _(""), H = _(/* @__PURE__ */ new Set()), U = _(null), W = _(null), G = g(() => D.feature.filterBlockId.value);
83
76
  r(G, (e) => {
84
77
  e && (N.value = "block");
85
78
  }, { immediate: !0 });
86
79
  let Ot = g(() => M.value.isLoading.value && M.value.comments.value.length === 0), kt = g(() => {
87
80
  let e = /* @__PURE__ */ new Set();
88
- 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);
81
+ for (let t of A.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);
89
82
  return e;
90
83
  });
91
84
  function At(e) {
92
85
  return e ? !kt.value.has(e) : !1;
93
86
  }
94
- let jt = g(() => N.value !== "block" || !G.value ? !1 : O.feature.capability.isBlockSaved(G.value) === !1), K = g(() => {
87
+ let K = g(() => {
95
88
  let e = M.value.comments.value;
96
89
  return N.value === "unresolved" ? e = e.filter((e) => !e.resolvedAt) : N.value === "block" && G.value && (e = e.filter((e) => e.blockId === G.value)), F.value && (e = e.filter((e) => [e, ...e.replies ?? []].some((e) => I(e) === Dt.value))), e;
97
90
  });
98
- r(() => j.state.selectedBlockId, (e) => {
99
- N.value === "block" && e && (O.feature.filterBlockId.value = e);
91
+ r(() => A.state.selectedBlockId, (e) => {
92
+ N.value === "block" && e && (D.feature.filterBlockId.value = e);
100
93
  });
101
94
  function q(e, t) {
102
- N.value = e, O.feature.filterBlockId.value = e === "block" ? t ?? null : null;
95
+ N.value = e, D.feature.filterBlockId.value = e === "block" ? t ?? null : null;
103
96
  }
104
- function Mt(e) {
97
+ function jt(e) {
105
98
  q("block", e);
106
99
  }
107
- function Nt(e) {
100
+ function Mt(e) {
108
101
  H.value.has(e) ? H.value.delete(e) : H.value.add(e);
109
102
  }
110
- function Pt(e) {
103
+ function Nt(e) {
111
104
  R.value = e, z.value = "", B.value = null, H.value.has(e) || H.value.add(e);
112
105
  }
113
- function Ft() {
106
+ function Pt() {
114
107
  R.value = null, z.value = "";
115
108
  }
116
109
  function J(e) {
@@ -125,7 +118,7 @@ var he = ["aria-label"], ge = { class: "tpl:flex tpl:items-center tpl:justify-be
125
118
  function Z() {
126
119
  U.value = null;
127
120
  }
128
- async function It() {
121
+ async function Q() {
129
122
  let e = L.value.trim();
130
123
  if (!e || !M.value.canCreate.value) return;
131
124
  let t = N.value === "block" ? G.value : void 0;
@@ -133,11 +126,11 @@ var he = ["aria-label"], ge = { class: "tpl:flex tpl:items-center tpl:justify-be
133
126
  await M.value.create({
134
127
  body: e,
135
128
  blockId: t ?? void 0,
136
- locale: j.activeLocale?.value ?? j.content.value.settings.locale
129
+ locale: A.activeLocale?.value ?? A.content.value.settings.locale
137
130
  }), L.value = "";
138
131
  } catch {}
139
132
  }
140
- async function Lt(e) {
133
+ async function Ft(e) {
141
134
  let t = z.value.trim();
142
135
  if (!t || !M.value.canCreate.value) return;
143
136
  let n = M.value.find(e);
@@ -146,99 +139,99 @@ var he = ["aria-label"], ge = { class: "tpl:flex tpl:items-center tpl:justify-be
146
139
  body: t,
147
140
  blockId: n?.blockId ?? void 0,
148
141
  parentId: e,
149
- locale: j.activeLocale?.value ?? j.content.value.settings.locale
142
+ locale: A.activeLocale?.value ?? A.content.value.settings.locale
150
143
  }), R.value = null, z.value = "";
151
144
  } catch {}
152
145
  }
153
- async function Q(e) {
146
+ async function $(e) {
154
147
  let t = V.value.trim();
155
148
  if (t) try {
156
149
  await M.value.update(e, { body: t }), B.value = null, V.value = "";
157
150
  } catch {}
158
151
  }
159
- async function Rt(e) {
152
+ async function It(e) {
160
153
  try {
161
154
  await M.value.remove(e);
162
155
  } catch {}
163
156
  U.value = null;
164
157
  }
165
- async function zt(e) {
158
+ async function Lt(e) {
166
159
  try {
167
160
  await M.value.setResolved(e.id, !e.resolvedAt);
168
161
  } catch {}
169
162
  }
170
- function $(e) {
163
+ function Rt(e) {
171
164
  return M.value.canUpdate.value && M.value.isOwn(e);
172
165
  }
173
- function Bt(e) {
166
+ function zt(e) {
174
167
  return M.value.canDelete.value && M.value.isOwn(e);
175
168
  }
169
+ function Bt(e) {
170
+ return ie(e, O.time) ?? e;
171
+ }
176
172
  function Vt(e) {
177
- return re(e, k.time) ?? e;
173
+ e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Q());
178
174
  }
179
- function Ht(e) {
180
- e.key === "Enter" && !e.shiftKey && (e.preventDefault(), It());
175
+ function Ht(e, t) {
176
+ e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Ft(t));
181
177
  }
182
178
  function Ut(e, t) {
183
- e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Lt(t));
179
+ e.key === "Enter" && !e.shiftKey && (e.preventDefault(), $(t)), e.key === "Escape" && Y();
184
180
  }
185
- function Wt(e, t) {
186
- e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Q(t)), e.key === "Escape" && Y();
187
- }
188
- function Gt() {
181
+ function Wt() {
189
182
  te(() => {
190
183
  W.value?.focus();
191
184
  });
192
185
  }
193
- return E({
194
- filterByBlock: Mt,
195
- focusNewComment: Gt
186
+ return T({
187
+ filterByBlock: jt,
188
+ focusNewComment: Wt
196
189
  }), (r, o) => e.visible ? (t(), s("div", {
197
190
  key: 0,
198
191
  role: "complementary",
199
- "aria-label": c(k).comments.title,
192
+ "aria-label": c(O).comments.title,
200
193
  "data-testid": "comments-sidebar",
201
194
  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
195
  }, [
203
- f("div", ge, [f("div", _e, [
204
- y(c(w), {
196
+ f("div", _e, [f("div", ve, [
197
+ y(c(C), {
205
198
  size: 13,
206
199
  "stroke-width": 2
207
200
  }),
208
- f("span", null, p(c(k).comments.title), 1),
209
- e.feature.unresolvedCount.value > 0 ? (t(), s("span", ve, p(e.feature.unresolvedCount.value), 1)) : u("", !0)
201
+ f("span", null, p(c(O).comments.title), 1),
202
+ e.feature.unresolvedCount.value > 0 ? (t(), s("span", ye, p(e.feature.unresolvedCount.value), 1)) : u("", !0)
210
203
  ]), f("button", {
211
204
  type: "button",
212
205
  class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
213
- "aria-label": c(k).comments.close,
206
+ "aria-label": c(O).comments.close,
214
207
  onClick: o[0] ||= (e) => Et("close")
215
- }, [y(c(T), {
208
+ }, [y(c(w), {
216
209
  size: 14,
217
210
  "stroke-width": 2
218
- })], 8, ye)]),
219
- f("div", be, [
211
+ })], 8, be)]),
212
+ f("div", xe, [
220
213
  f("button", {
221
214
  type: "button",
222
215
  class: l(["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
216
  "aria-pressed": N.value === "unresolved",
224
217
  "data-testid": "comments-filter-unresolved",
225
218
  onClick: o[1] ||= (e) => q("unresolved")
226
- }, p(c(k).comments.filterUnresolved), 11, xe),
219
+ }, p(c(O).comments.filterUnresolved), 11, Se),
227
220
  f("button", {
228
221
  type: "button",
229
222
  class: l(["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
223
  "aria-pressed": N.value === "all",
231
224
  "data-testid": "comments-filter-all",
232
225
  onClick: o[2] ||= (e) => q("all")
233
- }, p(c(k).comments.filterAll), 11, Se),
234
- c(j).state.selectedBlockId ? (t(), s("button", {
226
+ }, p(c(O).comments.filterAll), 11, Ce),
227
+ c(A).state.selectedBlockId ? (t(), s("button", {
235
228
  key: 0,
236
229
  type: "button",
237
230
  class: l(["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
231
  "aria-pressed": N.value === "block",
239
232
  "data-testid": "comments-filter-block",
240
- onClick: o[3] ||= (e) => q("block", c(j).state.selectedBlockId ?? void 0)
241
- }, p(c(k).comments.filterBlock), 11, Ce)) : u("", !0),
233
+ onClick: o[3] ||= (e) => q("block", c(A).state.selectedBlockId ?? void 0)
234
+ }, p(c(O).comments.filterBlock), 11, we)) : u("", !0),
242
235
  c(P) ? (t(), s("button", {
243
236
  key: 1,
244
237
  type: "button",
@@ -246,206 +239,206 @@ var he = ["aria-label"], ge = { class: "tpl:flex tpl:items-center tpl:justify-be
246
239
  class: l(["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)]", F.value ? "tpl-comment-filter--active" : ""]),
247
240
  "aria-pressed": F.value,
248
241
  onClick: o[4] ||= (e) => F.value = !F.value
249
- }, p(c(k).comments.filterLanguage), 11, we)) : u("", !0)
242
+ }, p(c(O).comments.filterLanguage), 11, Te)) : u("", !0)
250
243
  ]),
251
- f("div", Te, [Ot.value ? (t(), s("div", Ee, [y(c(C), {
244
+ f("div", Ee, [Ot.value ? (t(), s("div", De, [y(c(S), {
252
245
  class: "tpl-spinner tpl:text-[var(--tpl-text-muted)]",
253
246
  size: 24,
254
247
  "stroke-width": 2
255
- })])) : K.value.length === 0 ? (t(), s("div", De, [y(c(w), {
248
+ })])) : K.value.length === 0 ? (t(), s("div", Oe, [y(c(C), {
256
249
  size: 32,
257
250
  "stroke-width": 1.5,
258
251
  class: "tpl:text-[var(--tpl-text-dim)]"
259
- }), f("p", Oe, p(N.value === "all" ? c(k).comments.noCommentsHint : c(k).comments.noComments), 1)])) : (t(), s("div", ke, [(t(!0), s(v, null, a(K.value, (e) => (t(), s("div", {
252
+ }), f("p", ke, p(N.value === "all" ? c(O).comments.noCommentsHint : c(O).comments.noComments), 1)])) : (t(), s("div", Ae, [(t(!0), s(v, null, a(K.value, (e) => (t(), s("div", {
260
253
  key: e.id,
261
254
  class: "tpl-comment-thread",
262
255
  "data-testid": "comment-thread"
263
256
  }, [
264
- f("div", Ae, [
265
- f("div", je, [f("div", Me, [
266
- f("span", Ne, p(M.value.isOwn(e) ? c(k).comments.ownedByYou : e.author.name), 1),
267
- f("span", Pe, p(Vt(e.createdAt)), 1),
257
+ f("div", je, [
258
+ f("div", Me, [f("div", Ne, [
259
+ f("span", Pe, p(M.value.isOwn(e) ? c(O).comments.ownedByYou : e.author.name), 1),
260
+ f("span", Fe, p(Bt(e.createdAt)), 1),
268
261
  c(P) ? (t(), s("span", {
269
262
  key: 0,
270
263
  "data-testid": "comment-locale-badge",
271
264
  class: l(c(b))
272
- }, p(c(x)(I(e))), 3)) : u("", !0),
273
- e.updatedAt ? (t(), s("span", Fe, " (" + p(c(k).comments.edited) + ") ", 1)) : u("", !0)
274
- ]), f("div", Ie, [
265
+ }, p(c(j)(I(e))), 3)) : u("", !0),
266
+ e.updatedAt ? (t(), s("span", Ie, " (" + p(c(O).comments.edited) + ") ", 1)) : u("", !0)
267
+ ]), f("div", Le, [
275
268
  M.value.canResolve.value ? (t(), s("button", {
276
269
  key: 0,
277
270
  "data-testid": "comment-resolve",
278
271
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
279
- title: e.resolvedAt ? c(k).comments.unresolve : c(k).comments.resolve,
280
- onClick: (t) => zt(e)
281
- }, [y(c(ue), {
272
+ title: e.resolvedAt ? c(O).comments.unresolve : c(O).comments.resolve,
273
+ onClick: (t) => Lt(e)
274
+ }, [y(c(de), {
282
275
  size: 13,
283
276
  "stroke-width": 2,
284
277
  class: "tpl-resolve-icon",
285
278
  style: ne({ color: e.resolvedAt ? "var(--tpl-primary)" : void 0 })
286
- }, null, 8, ["style"])], 8, Le)) : u("", !0),
287
- $(e) ? (t(), s("button", {
279
+ }, null, 8, ["style"])], 8, Re)) : u("", !0),
280
+ Rt(e) ? (t(), s("button", {
288
281
  key: 1,
289
282
  "data-testid": "comment-edit",
290
283
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
291
- title: c(k).comments.edit,
284
+ title: c(O).comments.edit,
292
285
  onClick: (t) => J(e)
293
- }, [y(c(S), {
286
+ }, [y(c(x), {
294
287
  size: 12,
295
288
  "stroke-width": 2
296
- })], 8, Re)) : u("", !0),
297
- Bt(e) ? (t(), s("button", {
289
+ })], 8, ze)) : u("", !0),
290
+ zt(e) ? (t(), s("button", {
298
291
  key: 2,
299
292
  "data-testid": "comment-delete",
300
293
  class: "tpl-comment-action tpl-comment-delete tpl:rounded tpl:p-1 tpl:transition-colors",
301
- title: c(k).comments.delete,
294
+ title: c(O).comments.delete,
302
295
  onClick: (t) => X(e.id)
303
- }, [y(c(pe), {
296
+ }, [y(c(me), {
304
297
  size: 12,
305
298
  "stroke-width": 2
306
- })], 8, ze)) : u("", !0)
299
+ })], 8, Be)) : u("", !0)
307
300
  ])]),
308
301
  y(m, { name: "tpl-resolve" }, {
309
- default: n(() => [e.resolvedAt ? (t(), s("div", Be, [y(c(fe), {
302
+ default: n(() => [e.resolvedAt ? (t(), s("div", Ve, [y(c(pe), {
310
303
  size: 10,
311
304
  "stroke-width": 2.5
312
- }), f("span", null, p(c(A)(c(k).comments.resolvedBy, { name: e.resolvedBy?.name ?? "" })), 1)])) : u("", !0)]),
305
+ }), f("span", null, p(c(k)(c(O).comments.resolvedBy, { name: e.resolvedBy?.name ?? "" })), 1)])) : u("", !0)]),
313
306
  _: 2
314
307
  }, 1024),
315
- e.blockId && At(e.blockId) ? (t(), s("span", Ve, p(c(k).comments.missingBlock), 1)) : e.blockId ? (t(), s("button", {
308
+ e.blockId && At(e.blockId) ? (t(), s("span", He, p(c(O).comments.missingBlock), 1)) : e.blockId ? (t(), s("button", {
316
309
  key: 1,
317
310
  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)]",
318
- onClick: (t) => c(j).selectBlock(e.blockId ?? "")
319
- }, p(c(k).comments.jumpToBlock), 9, He)) : u("", !0),
320
- B.value === e.id ? (t(), s("div", Ue, [i(f("textarea", {
311
+ onClick: (t) => c(A).selectBlock(e.blockId ?? "")
312
+ }, p(c(O).comments.jumpToBlock), 9, Ue)) : u("", !0),
313
+ B.value === e.id ? (t(), s("div", We, [i(f("textarea", {
321
314
  "onUpdate:modelValue": o[5] ||= (e) => V.value = e,
322
315
  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)]",
323
316
  rows: "3",
324
- onKeydown: (t) => Wt(t, e.id)
325
- }, null, 40, We), [[h, V.value]]), f("div", Ge, [f("button", {
317
+ onKeydown: (t) => Ut(t, e.id)
318
+ }, null, 40, Ge), [[h, V.value]]), f("div", Ke, [f("button", {
326
319
  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)]",
327
320
  disabled: !V.value.trim() || M.value.isSubmitting.value,
328
- onClick: (t) => Q(e.id)
329
- }, p(c(k).comments.save), 9, Ke), f("button", {
321
+ onClick: (t) => $(e.id)
322
+ }, p(c(O).comments.save), 9, qe), f("button", {
330
323
  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)]",
331
324
  onClick: o[6] ||= (e) => Y()
332
- }, p(c(k).comments.cancel), 1)])])) : (t(), s("p", qe, p(e.body), 1)),
333
- U.value === e.id ? (t(), s("div", Je, [
334
- f("span", Ye, p(c(k).comments.deleteConfirm), 1),
325
+ }, p(c(O).comments.cancel), 1)])])) : (t(), s("p", Je, p(e.body), 1)),
326
+ U.value === e.id ? (t(), s("div", Ye, [
327
+ f("span", Xe, p(c(O).comments.deleteConfirm), 1),
335
328
  f("button", {
336
329
  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)]",
337
330
  "data-testid": "comment-delete-confirm",
338
- onClick: (t) => Rt(e.id)
339
- }, p(c(k).comments.delete), 9, Xe),
331
+ onClick: (t) => It(e.id)
332
+ }, p(c(O).comments.delete), 9, Ze),
340
333
  f("button", {
341
334
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
342
335
  onClick: o[7] ||= (e) => Z()
343
- }, p(c(k).comments.cancel), 1)
336
+ }, p(c(O).comments.cancel), 1)
344
337
  ])) : u("", !0),
345
- B.value !== e.id && U.value !== e.id ? (t(), s("div", Ze, [M.value.canCreate.value ? (t(), s("button", {
338
+ B.value !== e.id && U.value !== e.id ? (t(), s("div", Qe, [M.value.canCreate.value ? (t(), s("button", {
346
339
  key: 0,
347
340
  "data-testid": "comment-reply",
348
341
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
349
- title: c(k).comments.reply,
350
- onClick: (t) => Pt(e.id)
351
- }, [y(c(le), {
342
+ title: c(O).comments.reply,
343
+ onClick: (t) => Nt(e.id)
344
+ }, [y(c(ue), {
352
345
  size: 13,
353
346
  "stroke-width": 2,
354
347
  class: "tpl:text-[var(--tpl-primary)]"
355
- })], 8, Qe)) : u("", !0), (e.replies?.length ?? 0) > 0 ? (t(), s("button", {
348
+ })], 8, $e)) : u("", !0), (e.replies?.length ?? 0) > 0 ? (t(), s("button", {
356
349
  key: 1,
357
350
  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)]",
358
- onClick: (t) => Nt(e.id)
359
- }, [H.value.has(e.id) ? (t(), d(c(de), {
351
+ onClick: (t) => Mt(e.id)
352
+ }, [H.value.has(e.id) ? (t(), d(c(fe), {
360
353
  key: 0,
361
354
  size: 11,
362
355
  "stroke-width": 2
363
- })) : (t(), d(c(ce), {
356
+ })) : (t(), d(c(le), {
364
357
  key: 1,
365
358
  size: 11,
366
359
  "stroke-width": 2
367
- })), ee(" " + p((e.replies?.length ?? 0) === 1 ? c(A)(c(k).comments.replyOne, { count: String(e.replies?.length ?? 0) }) : c(A)(c(k).comments.replyMany, { count: String(e.replies?.length ?? 0) })), 1)], 8, $e)) : u("", !0)])) : u("", !0)
360
+ })), ee(" " + p((e.replies?.length ?? 0) === 1 ? c(k)(c(O).comments.replyOne, { count: String(e.replies?.length ?? 0) }) : c(k)(c(O).comments.replyMany, { count: String(e.replies?.length ?? 0) })), 1)], 8, et)) : u("", !0)])) : u("", !0)
368
361
  ]),
369
362
  y(m, { name: "tpl-replies" }, {
370
- default: n(() => [H.value.has(e.id) && (e.replies?.length ?? 0) > 0 ? (t(), s("div", et, [(t(!0), s(v, null, a(e.replies, (n, r) => (t(), s("div", {
363
+ default: n(() => [H.value.has(e.id) && (e.replies?.length ?? 0) > 0 ? (t(), s("div", tt, [(t(!0), s(v, null, a(e.replies, (n, r) => (t(), s("div", {
371
364
  key: n.id,
372
365
  class: l(["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" : ""])
373
366
  }, [
374
- f("div", tt, [f("div", nt, [
375
- f("span", rt, p(M.value.isOwn(n) ? c(k).comments.ownedByYou : n.author.name), 1),
376
- f("span", it, p(Vt(n.createdAt)), 1),
367
+ f("div", nt, [f("div", rt, [
368
+ f("span", it, p(M.value.isOwn(n) ? c(O).comments.ownedByYou : n.author.name), 1),
369
+ f("span", at, p(Bt(n.createdAt)), 1),
377
370
  c(P) ? (t(), s("span", {
378
371
  key: 0,
379
372
  "data-testid": "comment-locale-badge",
380
373
  class: l(c(b))
381
- }, p(c(x)(I(n))), 3)) : u("", !0),
382
- n.updatedAt ? (t(), s("span", at, " (" + p(c(k).comments.edited) + ") ", 1)) : u("", !0)
383
- ]), f("div", ot, [$(n) ? (t(), s("button", {
374
+ }, p(c(j)(I(n))), 3)) : u("", !0),
375
+ n.updatedAt ? (t(), s("span", ot, " (" + p(c(O).comments.edited) + ") ", 1)) : u("", !0)
376
+ ]), f("div", st, [Rt(n) ? (t(), s("button", {
384
377
  key: 0,
385
378
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
386
- title: c(k).comments.edit,
379
+ title: c(O).comments.edit,
387
380
  onClick: (e) => J(n)
388
- }, [y(c(S), {
381
+ }, [y(c(x), {
389
382
  size: 11,
390
383
  "stroke-width": 2
391
- })], 8, st)) : u("", !0), Bt(n) ? (t(), s("button", {
384
+ })], 8, ct)) : u("", !0), zt(n) ? (t(), s("button", {
392
385
  key: 1,
393
386
  class: "tpl-comment-action tpl-comment-delete tpl:rounded tpl:p-1 tpl:transition-colors",
394
- title: c(k).comments.delete,
387
+ title: c(O).comments.delete,
395
388
  onClick: (e) => X(n.id)
396
- }, [y(c(pe), {
389
+ }, [y(c(me), {
397
390
  size: 11,
398
391
  "stroke-width": 2
399
- })], 8, ct)) : u("", !0)])]),
400
- B.value === n.id ? (t(), s("div", lt, [i(f("textarea", {
392
+ })], 8, lt)) : u("", !0)])]),
393
+ B.value === n.id ? (t(), s("div", ut, [i(f("textarea", {
401
394
  "onUpdate:modelValue": o[8] ||= (e) => V.value = e,
402
395
  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)]",
403
396
  rows: "2",
404
- onKeydown: (e) => Wt(e, n.id)
405
- }, null, 40, ut), [[h, V.value]]), f("div", dt, [f("button", {
397
+ onKeydown: (e) => Ut(e, n.id)
398
+ }, null, 40, dt), [[h, V.value]]), f("div", ft, [f("button", {
406
399
  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)]",
407
400
  disabled: !V.value.trim() || M.value.isSubmitting.value,
408
- onClick: (e) => Q(n.id)
409
- }, p(c(k).comments.save), 9, ft), f("button", {
401
+ onClick: (e) => $(n.id)
402
+ }, p(c(O).comments.save), 9, pt), f("button", {
410
403
  class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
411
404
  onClick: o[9] ||= (e) => Y()
412
- }, p(c(k).comments.cancel), 1)])])) : (t(), s("p", pt, p(n.body), 1)),
413
- U.value === n.id ? (t(), s("div", mt, [
414
- f("span", ht, p(c(k).comments.deleteConfirm), 1),
405
+ }, p(c(O).comments.cancel), 1)])])) : (t(), s("p", mt, p(n.body), 1)),
406
+ U.value === n.id ? (t(), s("div", ht, [
407
+ f("span", gt, p(c(O).comments.deleteConfirm), 1),
415
408
  f("button", {
416
409
  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)]",
417
410
  "data-testid": "comment-delete-confirm",
418
- onClick: (e) => Rt(n.id)
419
- }, p(c(k).comments.delete), 9, gt),
411
+ onClick: (e) => It(n.id)
412
+ }, p(c(O).comments.delete), 9, _t),
420
413
  f("button", {
421
414
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
422
415
  onClick: o[10] ||= (e) => Z()
423
- }, p(c(k).comments.cancel), 1)
416
+ }, p(c(O).comments.cancel), 1)
424
417
  ])) : u("", !0)
425
418
  ], 2))), 128))])) : u("", !0)]),
426
419
  _: 2
427
420
  }, 1024),
428
421
  y(m, { name: "tpl-replies" }, {
429
- default: n(() => [R.value === e.id ? (t(), s("div", _t, [f("div", vt, [
422
+ default: n(() => [R.value === e.id ? (t(), s("div", vt, [f("div", yt, [
430
423
  i(f("textarea", {
431
424
  "onUpdate:modelValue": o[11] ||= (e) => z.value = e,
432
425
  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)]",
433
- placeholder: c(k).comments.replyPlaceholder,
426
+ placeholder: c(O).comments.replyPlaceholder,
434
427
  rows: "2",
435
- onKeydown: (t) => Ut(t, e.id)
436
- }, null, 40, yt), [[h, z.value]]),
428
+ onKeydown: (t) => Ht(t, e.id)
429
+ }, null, 40, bt), [[h, z.value]]),
437
430
  f("button", {
438
431
  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)]",
439
432
  disabled: !z.value.trim() || M.value.isSubmitting.value,
440
- onClick: (t) => Lt(e.id)
441
- }, [y(c(me), {
433
+ onClick: (t) => Ft(e.id)
434
+ }, [y(c(he), {
442
435
  size: 14,
443
436
  "stroke-width": 2
444
- })], 8, bt),
437
+ })], 8, xt),
445
438
  f("button", {
446
439
  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)]",
447
- onClick: o[12] ||= (e) => Ft()
448
- }, [y(c(T), {
440
+ onClick: o[12] ||= (e) => Pt()
441
+ }, [y(c(w), {
449
442
  size: 14,
450
443
  "stroke-width": 2
451
444
  })])
@@ -453,34 +446,34 @@ var he = ["aria-label"], ge = { class: "tpl:flex tpl:items-center tpl:justify-be
453
446
  _: 2
454
447
  }, 1024)
455
448
  ]))), 128))]))]),
456
- M.value.canCreate.value ? (t(), s("div", xt, [jt.value ? (t(), s("div", St, p(c(k).comments.saveTemplateFirst), 1)) : (t(), s("div", Ct, [i(f("textarea", {
449
+ M.value.canCreate.value ? (t(), s("div", St, [f("div", Ct, [i(f("textarea", {
457
450
  ref_key: "newCommentInput",
458
451
  ref: W,
459
452
  "onUpdate:modelValue": o[13] ||= (e) => L.value = e,
460
453
  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)]",
461
454
  "data-testid": "comments-input",
462
- placeholder: c(k).comments.placeholder,
455
+ placeholder: c(O).comments.placeholder,
463
456
  disabled: M.value.isSubmitting.value,
464
457
  rows: "2",
465
- onKeydown: Ht
458
+ onKeydown: Vt
466
459
  }, null, 40, wt), [[h, L.value]]), f("button", {
467
460
  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)]",
468
461
  "data-testid": "comments-send",
469
462
  disabled: !L.value.trim() || M.value.isSubmitting.value,
470
- onClick: It
471
- }, [M.value.isSubmitting.value ? (t(), d(c(C), {
463
+ onClick: Q
464
+ }, [M.value.isSubmitting.value ? (t(), d(c(S), {
472
465
  key: 0,
473
466
  class: "tpl-spinner",
474
467
  size: 16,
475
468
  "stroke-width": 2
476
- })) : (t(), d(c(me), {
469
+ })) : (t(), d(c(he), {
477
470
  key: 1,
478
471
  size: 16,
479
472
  "stroke-width": 2
480
- }))], 8, Tt)]))])) : u("", !0)
481
- ], 8, he)) : u("", !0);
473
+ }))], 8, Tt)])])) : u("", !0)
474
+ ], 8, ge)) : u("", !0);
482
475
  }
483
- }), [["__scopeId", "data-v-75eacb94"]]);
484
- export { D as default };
476
+ }), [["__scopeId", "data-v-aa4cfc4a"]]);
477
+ export { E as default };
485
478
 
486
- //# sourceMappingURL=CommentsSidebar-C81N5Hwr.js.map
479
+ //# sourceMappingURL=CommentsSidebar-CCVp8M2T.js.map