@templatical/editor 0.55.0 → 0.56.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/dist/{AiAltTextPopover-D5QosKvB.js → AiAltTextPopover-CpZ7UeAZ.js} +4 -4
  2. package/dist/{AiAltTextReview-D1W_lrI_.js → AiAltTextReview-LYxvn7Qe.js} +4 -4
  3. package/dist/{AiChatPanel-C8SeEJRP.js → AiChatPanel-Cy05P-iO.js} +56 -56
  4. package/dist/{AiPanels-CR6zphjP.js → AiPanels-CwKmXzyr.js} +1 -1
  5. package/dist/{AiRewriteMenu-BwztoMov.js → AiRewriteMenu-DgqJHnza.js} +13 -13
  6. package/dist/{BlockIssueBadge-DaPTq1RE.js → BlockIssueBadge-CxHJmuOh.js} +5 -5
  7. package/dist/BlockPreviewCanvas-DEmNZkEG.js +154 -0
  8. package/dist/{CloudHeaderExtras-XpjJjn3o.js → CloudHeaderExtras-Cqhw-jMz.js} +1 -1
  9. package/dist/{CloudPanels-Baoaj6Xf.js → CloudPanels-Bmlf05Il.js} +12 -12
  10. package/dist/{CollaborationNotices-Cnx0XHzZ.js → CollaborationNotices-C27GCMvK.js} +8 -8
  11. package/dist/{CollaboratorBar-BaBoNhwB.js → CollaboratorBar-CLQjksX-.js} +2 -2
  12. package/dist/{CommentsPanel-Ck3QmqiC.js → CommentsPanel-B5NqPMmY.js} +1 -1
  13. package/dist/{CommentsSidebar-CHknhOar.js → CommentsSidebar-BDrcrDxS.js} +42 -42
  14. package/dist/{CountdownBlock-BMezkFbJ.js → CountdownBlock-D8dqjm3F.js} +6 -6
  15. package/dist/{CountdownToolbar-CA_gDIdZ.js → CountdownToolbar-IjpCOjCd.js} +30 -30
  16. package/dist/{IssuesPanel-nmFhWG1p.js → IssuesPanel-uwuzeMSW.js} +89 -89
  17. package/dist/LanguageMenu-C-eQ0lFy.js +403 -0
  18. package/dist/{LocaleNotices-WzsYtBRs.js → LocaleNotices-CDK_9D7P.js} +10 -10
  19. package/dist/{LogicTagInsertButton-qZ82VMFx.js → LogicTagInsertButton-BSolF7Fd.js} +24 -24
  20. package/dist/{MediaEditModal-C3U9Mi31.js → MediaEditModal-C8yc9dxt.js} +7 -7
  21. package/dist/{MediaPanels-CGmk9ufe.js → MediaPanels-FI4I8asn.js} +1 -1
  22. package/dist/{MergeTagInput-JJeZbFkD.js → MergeTagInput-B1nl2ZMT.js} +12 -12
  23. package/dist/{MergeTagModeToggle-DDucd1eC.js → MergeTagModeToggle-DXvb80OE.js} +6 -6
  24. package/dist/{MergeTagTextarea-dQ2LRrNB.js → MergeTagTextarea-DJlf3VbS.js} +5 -5
  25. package/dist/{ParagraphEditor-VXYwGoz_.js → ParagraphEditor-Dqco128s.js} +173 -173
  26. package/dist/{RestoreVersionDialog-BibNvAaJ.js → RestoreVersionDialog-hqLCuGV5.js} +12 -12
  27. package/dist/{RichTextEditorContent-CU5EOlM_.js → RichTextEditorContent-xIEF0Y3Z.js} +8 -8
  28. package/dist/{SaveBlockDialog-S9aFi0cy.js → SaveBlockDialog-CQlCP_XC.js} +47 -47
  29. package/dist/{SavedBlocksBrowserModal-DIdn6B0J.js → SavedBlocksBrowserModal-BXA32Fx6.js} +24 -24
  30. package/dist/{SavedBlocksPanels-Cme2M6u8.js → SavedBlocksPanels-BKUzbamj.js} +1 -1
  31. package/dist/{SavedBlocksPickBar-BDmA7r3m.js → SavedBlocksPickBar-BlvF-4UF.js} +9 -9
  32. package/dist/{TemplateSettings-C_LHLm5M.js → TemplateSettings-CYFtR8zv.js} +41 -41
  33. package/dist/{TestEmailModal-CLIRn7eL.js → TestEmailModal-BbaL17HO.js} +20 -20
  34. package/dist/{TestEmailPanel-frdtjC8h.js → TestEmailPanel-DhB1CSpg.js} +1 -1
  35. package/dist/{TitleEditor-D5kC56Jl.js → TitleEditor-3BRl8u5l.js} +22 -22
  36. package/dist/{Toolbar-D904Yw_R.js → Toolbar-pzNIakGM.js} +1090 -856
  37. package/dist/{TplModal-BBdotDf1.js → TplModal-WNuWhHZm.js} +4 -4
  38. package/dist/{VersionHistoryMenu-BnP0EyLl.js → VersionHistoryMenu--T-Qp_mH.js} +17 -17
  39. package/dist/{VersionHistoryPanels-DhagEgOk.js → VersionHistoryPanels-BPubvYIE.js} +1 -1
  40. package/dist/{VersionPreviewBanner-BPP939cD.js → VersionPreviewBanner-ClL3Wkln.js} +7 -7
  41. package/dist/WrapperBlock-CjfCPceb.js +56 -0
  42. package/dist/{blockTypeIcons-CoRQV_hP.js → blockTypeIcons-12OMwVyN.js} +3 -3
  43. package/dist/bundle-stats.json +6 -6
  44. package/dist/{ca-DIkMxYCN.js → ca-BJn8lcJx.js} +8 -0
  45. package/dist/cdn/chunks/{AiAltTextPopover-CUGOPuRo.js → AiAltTextPopover-PFjTrl0y.js} +5 -5
  46. package/dist/cdn/chunks/{AiAltTextPopover-CUGOPuRo.js.map → AiAltTextPopover-PFjTrl0y.js.map} +1 -1
  47. package/dist/cdn/chunks/{AiAltTextReview-B9vm_L-8.js → AiAltTextReview-BMjzvApH.js} +5 -5
  48. package/dist/cdn/chunks/{AiAltTextReview-B9vm_L-8.js.map → AiAltTextReview-BMjzvApH.js.map} +1 -1
  49. package/dist/cdn/chunks/{AiChatPanel-By8Uo1nH.js → AiChatPanel-C2gpq4kP.js} +107 -107
  50. package/dist/cdn/chunks/{AiChatPanel-By8Uo1nH.js.map → AiChatPanel-C2gpq4kP.js.map} +1 -1
  51. package/dist/cdn/chunks/{AiPanels-BblCSkQy.js → AiPanels-Cx3PE2mE.js} +2 -2
  52. package/dist/cdn/chunks/{AiPanels-BblCSkQy.js.map → AiPanels-Cx3PE2mE.js.map} +1 -1
  53. package/dist/cdn/chunks/{AiRewriteMenu-BvV_7tNZ.js → AiRewriteMenu-CnkyjPEu.js} +13 -13
  54. package/dist/cdn/chunks/{AiRewriteMenu-BvV_7tNZ.js.map → AiRewriteMenu-CnkyjPEu.js.map} +1 -1
  55. package/dist/cdn/chunks/{BlockIssueBadge-D3Plo_wt.js → BlockIssueBadge-DncZ-HDf.js} +5 -5
  56. package/dist/cdn/chunks/{BlockIssueBadge-D3Plo_wt.js.map → BlockIssueBadge-DncZ-HDf.js.map} +1 -1
  57. package/dist/cdn/chunks/BlockPreviewCanvas-CCSEzL46.js +156 -0
  58. package/dist/cdn/chunks/BlockPreviewCanvas-CCSEzL46.js.map +1 -0
  59. package/dist/cdn/chunks/{CloudHeaderExtras-BtqdN777.js → CloudHeaderExtras-uUJYJFJ6.js} +2 -2
  60. package/dist/cdn/chunks/{CloudHeaderExtras-BtqdN777.js.map → CloudHeaderExtras-uUJYJFJ6.js.map} +1 -1
  61. package/dist/cdn/chunks/{CloudPanels-CQ0vNgsH.js → CloudPanels-CRztnw4M.js} +4 -4
  62. package/dist/cdn/chunks/{CloudPanels-CQ0vNgsH.js.map → CloudPanels-CRztnw4M.js.map} +1 -1
  63. package/dist/cdn/chunks/{CollaborationNotices-DraFUhyo.js → CollaborationNotices-IuLYT2x7.js} +9 -9
  64. package/dist/cdn/chunks/{CollaborationNotices-DraFUhyo.js.map → CollaborationNotices-IuLYT2x7.js.map} +1 -1
  65. package/dist/cdn/chunks/{CollaboratorBar-0OEH3hrj.js → CollaboratorBar-C1ZI2xwa.js} +3 -3
  66. package/dist/cdn/chunks/{CollaboratorBar-0OEH3hrj.js.map → CollaboratorBar-C1ZI2xwa.js.map} +1 -1
  67. package/dist/cdn/chunks/{CommentsPanel-tZZswofV.js → CommentsPanel-lgjJNrrY.js} +2 -2
  68. package/dist/cdn/chunks/{CommentsPanel-tZZswofV.js.map → CommentsPanel-lgjJNrrY.js.map} +1 -1
  69. package/dist/cdn/chunks/{CommentsSidebar-7Hfl3Hdj.js → CommentsSidebar-DTold7iy.js} +214 -214
  70. package/dist/cdn/chunks/{CommentsSidebar-7Hfl3Hdj.js.map → CommentsSidebar-DTold7iy.js.map} +1 -1
  71. package/dist/cdn/chunks/{CountdownBlock-CjMhMhnv.js → CountdownBlock-8aPSExrv.js} +7 -7
  72. package/dist/cdn/chunks/{CountdownBlock-CjMhMhnv.js.map → CountdownBlock-8aPSExrv.js.map} +1 -1
  73. package/dist/cdn/chunks/{CountdownToolbar-BxW-J7DX.js → CountdownToolbar-CnWQEW5g.js} +50 -50
  74. package/dist/cdn/chunks/{CountdownToolbar-BxW-J7DX.js.map → CountdownToolbar-CnWQEW5g.js.map} +1 -1
  75. package/dist/cdn/chunks/{IssuesPanel-BoHeIjvw.js → IssuesPanel-CrplCzo8.js} +13 -13
  76. package/dist/cdn/chunks/{IssuesPanel-BoHeIjvw.js.map → IssuesPanel-CrplCzo8.js.map} +1 -1
  77. package/dist/cdn/chunks/{LanguageMenu-BnYN5N1h.js → LanguageMenu-B6MNInCL.js} +57 -57
  78. package/dist/cdn/chunks/{LanguageMenu-BnYN5N1h.js.map → LanguageMenu-B6MNInCL.js.map} +1 -1
  79. package/dist/cdn/chunks/{LocaleNotices-8J2DRWeg.js → LocaleNotices-TxeAl8Iq.js} +10 -10
  80. package/dist/cdn/chunks/{LocaleNotices-8J2DRWeg.js.map → LocaleNotices-TxeAl8Iq.js.map} +1 -1
  81. package/dist/cdn/chunks/{LogicTagInsertButton-Bt2PXbQ0.js → LogicTagInsertButton-DvSVx2DB.js} +30 -30
  82. package/dist/cdn/chunks/LogicTagInsertButton-DvSVx2DB.js.map +1 -0
  83. package/dist/cdn/chunks/{MediaEditModal-Dz972UFx.js → MediaEditModal-tGK6htBl.js} +8 -8
  84. package/dist/cdn/chunks/{MediaEditModal-Dz972UFx.js.map → MediaEditModal-tGK6htBl.js.map} +1 -1
  85. package/dist/cdn/chunks/{MediaPanels-C6Hqtp1H.js → MediaPanels-BVrQYz2C.js} +2 -2
  86. package/dist/cdn/chunks/{MediaPanels-C6Hqtp1H.js.map → MediaPanels-BVrQYz2C.js.map} +1 -1
  87. package/dist/cdn/chunks/{MergeTagInput-BELdMRni.js → MergeTagInput-DeuNH3re.js} +13 -13
  88. package/dist/cdn/chunks/{MergeTagInput-BELdMRni.js.map → MergeTagInput-DeuNH3re.js.map} +1 -1
  89. package/dist/cdn/chunks/{MergeTagModeToggle-DKfMDIEF.js → MergeTagModeToggle-D7maMGIM.js} +5 -5
  90. package/dist/cdn/chunks/{MergeTagModeToggle-DKfMDIEF.js.map → MergeTagModeToggle-D7maMGIM.js.map} +1 -1
  91. package/dist/cdn/chunks/{MergeTagTextarea-w6xen3Xh.js → MergeTagTextarea-B2xxIU3e.js} +6 -6
  92. package/dist/cdn/chunks/{MergeTagTextarea-w6xen3Xh.js.map → MergeTagTextarea-B2xxIU3e.js.map} +1 -1
  93. package/dist/cdn/chunks/{ParagraphEditor-Cal9hY3U.js → ParagraphEditor-Bx_Hlw8d.js} +106 -106
  94. package/dist/cdn/chunks/{ParagraphEditor-Cal9hY3U.js.map → ParagraphEditor-Bx_Hlw8d.js.map} +1 -1
  95. package/dist/cdn/chunks/{RestoreVersionDialog-f_ulmASY.js → RestoreVersionDialog-CPrrWTsT.js} +12 -12
  96. package/dist/cdn/chunks/{RestoreVersionDialog-f_ulmASY.js.map → RestoreVersionDialog-CPrrWTsT.js.map} +1 -1
  97. package/dist/cdn/chunks/{RichTextEditorContent-C_v0kS4A.js → RichTextEditorContent-Dze4C9VI.js} +8 -8
  98. package/dist/cdn/chunks/{RichTextEditorContent-C_v0kS4A.js.map → RichTextEditorContent-Dze4C9VI.js.map} +1 -1
  99. package/dist/cdn/chunks/{SaveBlockDialog-C6N9RFls.js → SaveBlockDialog-CXVwnfsy.js} +51 -51
  100. package/dist/cdn/chunks/{SaveBlockDialog-C6N9RFls.js.map → SaveBlockDialog-CXVwnfsy.js.map} +1 -1
  101. package/dist/cdn/chunks/{SavedBlocksBrowserModal-Bl2sl09D.js → SavedBlocksBrowserModal-BDTmenOE.js} +23 -23
  102. package/dist/cdn/chunks/{SavedBlocksBrowserModal-Bl2sl09D.js.map → SavedBlocksBrowserModal-BDTmenOE.js.map} +1 -1
  103. package/dist/cdn/chunks/{SavedBlocksPanels-DqVcmEUK.js → SavedBlocksPanels-B41Rk_v1.js} +2 -2
  104. package/dist/cdn/chunks/{SavedBlocksPanels-DqVcmEUK.js.map → SavedBlocksPanels-B41Rk_v1.js.map} +1 -1
  105. package/dist/cdn/chunks/{SavedBlocksPickBar-DE-J1JVL.js → SavedBlocksPickBar-B97z_rFH.js} +11 -11
  106. package/dist/cdn/chunks/{SavedBlocksPickBar-DE-J1JVL.js.map → SavedBlocksPickBar-B97z_rFH.js.map} +1 -1
  107. package/dist/cdn/chunks/{TemplateSettings-CpoKZ8oV.js → TemplateSettings-YwwRbxPc.js} +102 -102
  108. package/dist/cdn/chunks/{TemplateSettings-CpoKZ8oV.js.map → TemplateSettings-YwwRbxPc.js.map} +1 -1
  109. package/dist/cdn/chunks/{TestEmailModal-DI3z__Bd.js → TestEmailModal-BiFP2Cbx.js} +20 -20
  110. package/dist/cdn/chunks/{TestEmailModal-DI3z__Bd.js.map → TestEmailModal-BiFP2Cbx.js.map} +1 -1
  111. package/dist/cdn/chunks/{TestEmailPanel-Cp5d2YGn.js → TestEmailPanel-BrivPMk2.js} +2 -2
  112. package/dist/cdn/chunks/{TestEmailPanel-Cp5d2YGn.js.map → TestEmailPanel-BrivPMk2.js.map} +1 -1
  113. package/dist/cdn/chunks/{TitleEditor-C2syRLdZ.js → TitleEditor-CzPkkL2s.js} +19 -19
  114. package/dist/cdn/chunks/{TitleEditor-C2syRLdZ.js.map → TitleEditor-CzPkkL2s.js.map} +1 -1
  115. package/dist/cdn/chunks/{Toolbar-NEE8qxYh.js → Toolbar-VH07SzX7.js} +1153 -919
  116. package/dist/cdn/chunks/Toolbar-VH07SzX7.js.map +1 -0
  117. package/dist/cdn/chunks/{TplModal-B1MgvtX8.js → TplModal-DMe6J811.js} +6 -6
  118. package/dist/cdn/chunks/{TplModal-B1MgvtX8.js.map → TplModal-DMe6J811.js.map} +1 -1
  119. package/dist/cdn/chunks/{VersionHistoryMenu-CZury5gU.js → VersionHistoryMenu-DkwbKhBl.js} +16 -16
  120. package/dist/cdn/chunks/{VersionHistoryMenu-CZury5gU.js.map → VersionHistoryMenu-DkwbKhBl.js.map} +1 -1
  121. package/dist/cdn/chunks/{VersionHistoryPanels-Cefd8i_e.js → VersionHistoryPanels-CgxhMRAl.js} +2 -2
  122. package/dist/cdn/chunks/{VersionHistoryPanels-Cefd8i_e.js.map → VersionHistoryPanels-CgxhMRAl.js.map} +1 -1
  123. package/dist/cdn/chunks/{VersionPreviewBanner-C4Ji8nu4.js → VersionPreviewBanner-WVBDBrwQ.js} +8 -8
  124. package/dist/cdn/chunks/{VersionPreviewBanner-C4Ji8nu4.js.map → VersionPreviewBanner-WVBDBrwQ.js.map} +1 -1
  125. package/dist/cdn/chunks/WrapperBlock-CCCIcqe2.js +58 -0
  126. package/dist/cdn/chunks/WrapperBlock-CCCIcqe2.js.map +1 -0
  127. package/dist/cdn/chunks/{blockTypeIcons-Cc6RJ27V.js → blockTypeIcons-CzYA5DF9.js} +2 -2
  128. package/dist/cdn/chunks/{blockTypeIcons-Cc6RJ27V.js.map → blockTypeIcons-CzYA5DF9.js.map} +1 -1
  129. package/dist/cdn/chunks/{ca-DIkMxYCN.js → ca-BJn8lcJx.js} +9 -1
  130. package/dist/cdn/chunks/ca-BJn8lcJx.js.map +1 -0
  131. package/dist/cdn/chunks/composables-D3lsO7Io.js +3101 -0
  132. package/dist/cdn/chunks/composables-D3lsO7Io.js.map +1 -0
  133. package/dist/cdn/chunks/{createCloudRuntime-DJkDGKQ_.js → createCloudRuntime-CE79GB1H.js} +16 -16
  134. package/dist/cdn/chunks/{createCloudRuntime-DJkDGKQ_.js.map → createCloudRuntime-CE79GB1H.js.map} +1 -1
  135. package/dist/{de-Cc6Ue0UD.js → cdn/chunks/de-BLFp3nWx.js} +10 -0
  136. package/dist/cdn/chunks/de-BLFp3nWx.js.map +1 -0
  137. package/dist/cdn/chunks/dist-Cf1pSluo.js +405 -0
  138. package/dist/cdn/chunks/{dist-DqGgijFI.js.map → dist-Cf1pSluo.js.map} +1 -1
  139. package/dist/cdn/chunks/{editor-modal-erQEOHZN.js → editor-modal-CN69NlOK.js} +187 -187
  140. package/dist/cdn/chunks/{editor-modal-erQEOHZN.js.map → editor-modal-CN69NlOK.js.map} +1 -1
  141. package/dist/cdn/chunks/en-Bcz4gS9U.js +1 -0
  142. package/dist/cdn/chunks/{en-BX4FujAQ.js → en-DGGQJGbm.js} +9 -1
  143. package/dist/cdn/chunks/en-DGGQJGbm.js.map +1 -0
  144. package/dist/cdn/chunks/{es-Do5b-MKU.js → es-DTY9qgLv.js} +9 -1
  145. package/dist/cdn/chunks/es-DTY9qgLv.js.map +1 -0
  146. package/dist/cdn/chunks/{extensions-BcwkOjVq.js → extensions-8dlM-fU4.js} +112 -112
  147. package/dist/cdn/chunks/extensions-8dlM-fU4.js.map +1 -0
  148. package/dist/{fr-S1n2Ebzp.js → cdn/chunks/fr-L4FqO9Gp.js} +10 -0
  149. package/dist/cdn/chunks/{fr-S1n2Ebzp.js.map → fr-L4FqO9Gp.js.map} +1 -1
  150. package/dist/cdn/chunks/{icons-Da9GKjPx.js → icons-DHExFLlT.js} +43 -43
  151. package/dist/cdn/chunks/{icons-Da9GKjPx.js.map → icons-DHExFLlT.js.map} +1 -1
  152. package/dist/cdn/chunks/{ja-DLwcq4bA.js → ja-6uOXkh4v.js} +9 -1
  153. package/dist/cdn/chunks/ja-6uOXkh4v.js.map +1 -0
  154. package/dist/cdn/chunks/{keys-CoQtCqNv.js → keys-BUmIvYy3.js} +4 -4
  155. package/dist/cdn/chunks/keys-BUmIvYy3.js.map +1 -0
  156. package/dist/{nl-0JSWaZpT.js → cdn/chunks/nl-DCxuxwNq.js} +10 -0
  157. package/dist/cdn/chunks/nl-DCxuxwNq.js.map +1 -0
  158. package/dist/cdn/chunks/{normalizeMergeTagMarkup-BrGw5jxk.js → normalizeMergeTagMarkup-aWjkotui.js} +67 -67
  159. package/dist/cdn/chunks/normalizeMergeTagMarkup-aWjkotui.js.map +1 -0
  160. package/dist/cdn/chunks/{preRenderCustomBlocks-Cj0XYwuh.js → preRenderCustomBlocks-Dn6dFUwx.js} +4 -4
  161. package/dist/cdn/chunks/{preRenderCustomBlocks-Cj0XYwuh.js.map → preRenderCustomBlocks-Dn6dFUwx.js.map} +1 -1
  162. package/dist/{pt-BR-D3VlIMDZ.js → cdn/chunks/pt-BR-CBkcrebr.js} +10 -0
  163. package/dist/cdn/chunks/pt-BR-CBkcrebr.js.map +1 -0
  164. package/dist/cdn/chunks/{sanitizeHtml-GxJCxKcP.js → sanitizeHtml-B3njfkSy.js} +11 -11
  165. package/dist/cdn/chunks/{sanitizeHtml-GxJCxKcP.js.map → sanitizeHtml-B3njfkSy.js.map} +1 -1
  166. package/dist/cdn/chunks/{socialIcons-B5zrrV8-.js → socialIcons-BFgc3qqJ.js} +354 -341
  167. package/dist/cdn/chunks/{socialIcons-B5zrrV8-.js.map → socialIcons-BFgc3qqJ.js.map} +1 -1
  168. package/dist/cdn/chunks/{src-Diw9SLIe.js → src-C9JWWxAk.js} +419 -423
  169. package/dist/cdn/chunks/src-C9JWWxAk.js.map +1 -0
  170. package/dist/cdn/chunks/src-GgKlXNxy.js +710 -0
  171. package/dist/cdn/chunks/src-GgKlXNxy.js.map +1 -0
  172. package/dist/cdn/chunks/{src-v47QHNmB.js → src-mXG-Of9A.js} +669 -662
  173. package/dist/cdn/chunks/src-mXG-Of9A.js.map +1 -0
  174. package/dist/cdn/chunks/{tiptap-Dipw_zOQ.js → tiptap-C940SvId.js} +3 -3
  175. package/dist/cdn/chunks/{tiptap-Dipw_zOQ.js.map → tiptap-C940SvId.js.map} +1 -1
  176. package/dist/cdn/chunks/{useCloudI18n-Cc5NZqiI.js → useCloudI18n-Xsih9yRH.js} +2 -2
  177. package/dist/cdn/chunks/{useCloudI18n-Cc5NZqiI.js.map → useCloudI18n-Xsih9yRH.js.map} +1 -1
  178. package/dist/cdn/chunks/{useEditorRoot-D_LuZ_hE.js → useEditorRoot-Beau2Z_T.js} +2 -2
  179. package/dist/cdn/chunks/{useEditorRoot-D_LuZ_hE.js.map → useEditorRoot-Beau2Z_T.js.map} +1 -1
  180. package/dist/cdn/chunks/{useI18n-BnJYydPv.js → useI18n-D8s7HtTn.js} +2 -2
  181. package/dist/cdn/chunks/{useI18n-BnJYydPv.js.map → useI18n-D8s7HtTn.js.map} +1 -1
  182. package/dist/cdn/chunks/{useLocalizedDisplay-DekV8qar.js → useLocalizedDisplay-Bgg4qpev.js} +6 -6
  183. package/dist/cdn/chunks/{useLocalizedDisplay-DekV8qar.js.map → useLocalizedDisplay-Bgg4qpev.js.map} +1 -1
  184. package/dist/cdn/chunks/{useLogicTag-Cbp3I7UN.js → useLogicTag-B0PDeDxl.js} +5 -5
  185. package/dist/cdn/chunks/{useLogicTag-Cbp3I7UN.js.map → useLogicTag-B0PDeDxl.js.map} +1 -1
  186. package/dist/cdn/chunks/{useMergeTag-1lrpNyR5.js → useMergeTag-BSU75bKk.js} +8 -8
  187. package/dist/cdn/chunks/{useMergeTag-1lrpNyR5.js.map → useMergeTag-BSU75bKk.js.map} +1 -1
  188. package/dist/cdn/chunks/{usePopoverPosition-BWAXWeBv.js → usePopoverPosition-esO6wjvU.js} +5 -5
  189. package/dist/cdn/chunks/{usePopoverPosition-BWAXWeBv.js.map → usePopoverPosition-esO6wjvU.js.map} +1 -1
  190. package/dist/cdn/chunks/{useScrollToBlock-Ct1AwLD-.js → useScrollToBlock-CJuUu7Xj.js} +2 -2
  191. package/dist/cdn/chunks/{useScrollToBlock-Ct1AwLD-.js.map → useScrollToBlock-CJuUu7Xj.js.map} +1 -1
  192. package/dist/cdn/chunks/{withCurrentFont-DZfmiv8V.js → withCurrentFont-QqBilClC.js} +2 -2
  193. package/dist/cdn/chunks/{withCurrentFont-DZfmiv8V.js.map → withCurrentFont-QqBilClC.js.map} +1 -1
  194. package/dist/cdn/editor.css +1 -1
  195. package/dist/cdn/editor.js +814 -817
  196. package/dist/cdn/editor.js.map +1 -1
  197. package/dist/{check-XMnOOIEC.js → check-CcuCoJDh.js} +1 -1
  198. package/dist/{chevron-down-DmamTEWQ.js → chevron-down-BfYIbFbC.js} +1 -1
  199. package/dist/{chevron-right-BEFXOH27.js → chevron-right-DyjFqY35.js} +1 -1
  200. package/dist/{chevron-up-Dw7woXj8.js → chevron-up-BHEIxuS-.js} +1 -1
  201. package/dist/{circle-alert-BTKC9vkq.js → circle-alert-Tq7kAh9S.js} +1 -1
  202. package/dist/{clock-BVT5u2uG.js → clock-Df0ZiXwQ.js} +1 -1
  203. package/dist/{composables-DPgNn9GZ.js → composables-DreAt_0A.js} +1660 -1620
  204. package/dist/{createCloudRuntime-Bw8TLmQ8.js → createCloudRuntime-CL4tUlDC.js} +15 -15
  205. package/dist/{createLucideIcon-CgDE3xAR.js → createLucideIcon-CfBdtoUw.js} +5 -5
  206. package/dist/{cdn/chunks/de-Cc6Ue0UD.js → de-BLFp3nWx.js} +8 -2
  207. package/dist/{dist-ChOb5XHW.js → dist-0GWMyHtM.js} +1 -1
  208. package/dist/{dist-CBdk1Vcb.js → dist-BMUUt3zJ.js} +284 -277
  209. package/dist/{dist-6DU0me3E.js → dist-B_0FPmoy.js} +1 -1
  210. package/dist/{dist-B8dY8drK.js → dist-BjzK1g4Z.js} +1 -1
  211. package/dist/{dist-54VCNoC0.js → dist-BsumKKh9.js} +1 -1
  212. package/dist/{dist-BWflWcpW.js → dist-C3avsUq9.js} +2 -2
  213. package/dist/{dist-fqSers8_.js → dist-CCLRTtJP.js} +197 -197
  214. package/dist/dist-CiYotUR8.js +406 -0
  215. package/dist/{dist-C3hu_C3w.js → dist-Cr1CLCmx.js} +1 -1
  216. package/dist/{dist-D_XrUEET.js → dist-CsknfjrZ.js} +3 -3
  217. package/dist/{dist-TAv500j6.js → dist-DDytHU_6.js} +1 -1
  218. package/dist/{dist-CcOn7WCo.js → dist-DKV9m4Uu.js} +1 -1
  219. package/dist/{dist-B9a7iVye.js → dist-Dq9VnANT.js} +1 -1
  220. package/dist/{dist-DZ3X-uB8.js → dist-ZrT0vAB6.js} +1 -1
  221. package/dist/{editor-modal-BeX6otLk.js → editor-modal-BD32TXws.js} +107 -107
  222. package/dist/{en-BX4FujAQ.js → en-DGGQJGbm.js} +8 -0
  223. package/dist/en-Dgs_-NBw.js +1 -0
  224. package/dist/{es-Do5b-MKU.js → es-DTY9qgLv.js} +8 -0
  225. package/dist/{extensions-QFAARrjF.js → extensions-DKxHlSd7.js} +385 -385
  226. package/dist/{eye-ByMgHeA_.js → eye-B3psrAqd.js} +1 -1
  227. package/dist/{cdn/chunks/fr-S1n2Ebzp.js → fr-L4FqO9Gp.js} +8 -2
  228. package/dist/{image-Ch8tR35K.js → image-C3yuPDxx.js} +1 -1
  229. package/dist/index.d.ts +60 -12
  230. package/dist/{info-DzSD-Wpk.js → info-DKja7A68.js} +1 -1
  231. package/dist/{ja-DLwcq4bA.js → ja-6uOXkh4v.js} +8 -0
  232. package/dist/{keys-BCqskl51.js → keys-w_VRjoMu.js} +3 -3
  233. package/dist/{link-oDn9AR2w.js → link-DhzPI4Hn.js} +1 -1
  234. package/dist/{list-C5t07dp8.js → list-DVGn7Ik2.js} +1 -1
  235. package/dist/{loader-circle-k6xvKgUB.js → loader-circle-DqKWsMHO.js} +1 -1
  236. package/dist/{message-circle-C23R6OJR.js → message-circle-C4TonoBs.js} +1 -1
  237. package/dist/{cdn/chunks/nl-0JSWaZpT.js → nl-DCxuxwNq.js} +8 -2
  238. package/dist/{normalizeMergeTagMarkup-BS0nRvhq.js → normalizeMergeTagMarkup-Da9JAgx7.js} +75 -75
  239. package/dist/{package-C90eQ7NU.js → package-9OkiEO4S.js} +1 -1
  240. package/dist/{pencil-BK7GrQuA.js → pencil-M9vkOB7C.js} +1 -1
  241. package/dist/{plus-Cr0Mis63.js → plus-DxZiv9YC.js} +1 -1
  242. package/dist/{preRenderCustomBlocks-CiKvKd8V.js → preRenderCustomBlocks-CdqSp2P7.js} +4 -4
  243. package/dist/{cdn/chunks/pt-BR-D3VlIMDZ.js → pt-BR-CBkcrebr.js} +8 -2
  244. package/dist/{refresh-cw-_ZLOIEvA.js → refresh-cw-UY8_sdFG.js} +1 -1
  245. package/dist/{rotate-ccw-CB5wsHwv.js → rotate-ccw-BFTGCpHn.js} +1 -1
  246. package/dist/{sanitizeHtml-USjTyALR.js → sanitizeHtml-wBibnBF4.js} +6 -6
  247. package/dist/{search-BmrQNox8.js → search-RuGJnMEn.js} +1 -1
  248. package/dist/{send-blAsIBBg.js → send-DGB1ar02.js} +1 -1
  249. package/dist/{smartphone-BPpWYrwV.js → smartphone-CVA29CU_.js} +1 -1
  250. package/dist/{socialIcons-NvIg5ahU.js → socialIcons-oo4uL16Y.js} +427 -414
  251. package/dist/{sparkles-OqIxrNp-.js → sparkles-IHfEwEcd.js} +1 -1
  252. package/dist/{square-BP-V7iT-.js → square-_Cl44UU6.js} +1 -1
  253. package/dist/style.css +1 -1
  254. package/dist/templatical-editor.js +922 -925
  255. package/dist/{text-align-start-4mwX2o-F.js → text-align-start-Dqk2Xt_Q.js} +13 -13
  256. package/dist/{trash-B99WixTA.js → trash-Cr7rD5Hh.js} +1 -1
  257. package/dist/{triangle-alert-CHMiDkHa.js → triangle-alert-CKcpwtUj.js} +1 -1
  258. package/dist/{upload-Cp8o-hrN.js → upload-DR9pqVON.js} +1 -1
  259. package/dist/{useCloudI18n-Dh2iydo1.js → useCloudI18n-BczJoFf4.js} +1 -1
  260. package/dist/{useEditorRoot-DY3mgcHm.js → useEditorRoot-BcXKhM_8.js} +1 -1
  261. package/dist/{useI18n-CgtvtF4C.js → useI18n-zeWYtWSv.js} +1 -1
  262. package/dist/useLocalizedDisplay-Cbhx208c.js +31 -0
  263. package/dist/{useLogicTag-D8zgkXfb.js → useLogicTag-B4Zpk3eo.js} +4 -4
  264. package/dist/{useMergeTag-k7Kr0nMd.js → useMergeTag-B5qlq8px.js} +8 -8
  265. package/dist/{usePopoverPosition-VDQjyX_A.js → usePopoverPosition-Br3zt_MQ.js} +4 -4
  266. package/dist/{useScrollToBlock-B35ObCGK.js → useScrollToBlock-BfOzc1Z6.js} +2 -2
  267. package/dist/{withCurrentFont-Bzeg_gfH.js → withCurrentFont-m_PHcOD0.js} +1 -1
  268. package/dist/{x-BIBStNMS.js → x-DZSFHafL.js} +1 -1
  269. package/package.json +10 -10
  270. package/dist/BlockPreviewCanvas-C23A6FRm.js +0 -140
  271. package/dist/LanguageMenu-DcABUYop.js +0 -403
  272. package/dist/WrapperBlock-BAT3T0Cz.js +0 -44
  273. package/dist/cdn/chunks/BlockPreviewCanvas-Dr-xGq6v.js +0 -142
  274. package/dist/cdn/chunks/BlockPreviewCanvas-Dr-xGq6v.js.map +0 -1
  275. package/dist/cdn/chunks/LogicTagInsertButton-Bt2PXbQ0.js.map +0 -1
  276. package/dist/cdn/chunks/Toolbar-NEE8qxYh.js.map +0 -1
  277. package/dist/cdn/chunks/WrapperBlock-DFY-7YSs.js +0 -46
  278. package/dist/cdn/chunks/WrapperBlock-DFY-7YSs.js.map +0 -1
  279. package/dist/cdn/chunks/ca-DIkMxYCN.js.map +0 -1
  280. package/dist/cdn/chunks/composables-nyxwrM27.js +0 -3061
  281. package/dist/cdn/chunks/composables-nyxwrM27.js.map +0 -1
  282. package/dist/cdn/chunks/de-Cc6Ue0UD.js.map +0 -1
  283. package/dist/cdn/chunks/dist-DqGgijFI.js +0 -405
  284. package/dist/cdn/chunks/en-B6tLGRHq.js +0 -1
  285. package/dist/cdn/chunks/en-BX4FujAQ.js.map +0 -1
  286. package/dist/cdn/chunks/es-Do5b-MKU.js.map +0 -1
  287. package/dist/cdn/chunks/extensions-BcwkOjVq.js.map +0 -1
  288. package/dist/cdn/chunks/ja-DLwcq4bA.js.map +0 -1
  289. package/dist/cdn/chunks/keys-CoQtCqNv.js.map +0 -1
  290. package/dist/cdn/chunks/nl-0JSWaZpT.js.map +0 -1
  291. package/dist/cdn/chunks/normalizeMergeTagMarkup-BrGw5jxk.js.map +0 -1
  292. package/dist/cdn/chunks/pt-BR-D3VlIMDZ.js.map +0 -1
  293. package/dist/cdn/chunks/src-Diw9SLIe.js.map +0 -1
  294. package/dist/cdn/chunks/src-UR3AQocX.js +0 -683
  295. package/dist/cdn/chunks/src-UR3AQocX.js.map +0 -1
  296. package/dist/cdn/chunks/src-v47QHNmB.js.map +0 -1
  297. package/dist/dist-0alKVRc_.js +0 -406
  298. package/dist/en-Do0SU6tR.js +0 -1
  299. package/dist/useLocalizedDisplay-LdjosX4w.js +0 -31
@@ -1,180 +1,180 @@
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-DepKdldn.js";
2
- import { t as b } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
3
- import { Bt as re, Ft as ie, G as x, I as ae, Lt as oe, Vt as se, at as S, f as C, j as w, nt as T, t as E } from "./icons-Da9GKjPx.js";
4
- import { O as ce, ot as le, v as ue } from "./keys-CoQtCqNv.js";
5
- import { t as de } from "./useI18n-BnJYydPv.js";
6
- import { t as D } from "./languageName-DEEOhDWI.js";
7
- import { u as O } from "./styleConstants-CgiNKdnc.js";
8
- import { t as fe } from "./formatRelativeTime-BTD8Ktt-.js";
2
+ import { u as b } from "./styleConstants-CgiNKdnc.js";
3
+ import { t as x } from "./languageName-DEEOhDWI.js";
4
+ import { t as re } from "./formatRelativeTime-BTD8Ktt-.js";
5
+ import { O as ie, st as ae, v as oe } from "./keys-BUmIvYy3.js";
6
+ import { t as se } from "./useI18n-D8s7HtTn.js";
7
+ import { Bt as ce, Ft as le, G as S, I as ue, Rt as de, Vt as fe, at as C, f as pe, j as me, nt as w, t as T } from "./icons-DHExFLlT.js";
8
+ import { t as E } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
9
9
  // src/components/CommentsSidebar.vue?vue&type=script&setup=true&lang.ts
10
- var pe = ["aria-label"], me = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, he = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]" }, ge = {
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 = {
11
11
  key: 0,
12
12
  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
- }, _e = ["aria-label"], ve = { class: "tpl:flex tpl:flex-wrap tpl:gap-1 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-2" }, ye = ["aria-pressed"], be = ["aria-pressed"], xe = ["aria-pressed"], Se = ["aria-pressed"], Ce = { class: "tpl:flex-1 tpl:overflow-y-auto" }, we = {
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 = {
14
14
  key: 0,
15
15
  class: "tpl:flex tpl:h-full tpl:items-center tpl:justify-center"
16
- }, Te = {
16
+ }, De = {
17
17
  key: 1,
18
18
  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
- }, Ee = { class: "tpl:max-w-[240px] tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, De = {
19
+ }, Oe = { class: "tpl:max-w-[240px] tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, ke = {
20
20
  key: 2,
21
21
  class: "tpl:flex tpl:flex-col tpl:gap-3 tpl:p-3"
22
- }, Oe = { class: "tpl-comment-card tpl:rounded-lg tpl:border tpl:px-3.5 tpl:py-3" }, ke = { class: "tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, Ae = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-1.5" }, je = { class: "tpl:text-xs tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Me = { class: "tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, Ne = {
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 = {
23
23
  key: 1,
24
24
  class: "tpl:text-[10px] tpl:italic tpl:text-[var(--tpl-text-dim)]"
25
- }, Pe = { class: "tpl:flex tpl:items-center tpl:gap-0.5" }, Fe = ["title", "onClick"], Ie = ["title", "onClick"], Le = ["title", "onClick"], Re = {
25
+ }, Ie = { class: "tpl:flex tpl:items-center tpl:gap-0.5" }, Le = ["title", "onClick"], Re = ["title", "onClick"], ze = ["title", "onClick"], Be = {
26
26
  key: 0,
27
27
  class: "tpl:mt-1 tpl:flex tpl:items-center tpl:gap-1 tpl:text-[10px] tpl:text-[var(--tpl-primary)]"
28
- }, ze = {
28
+ }, Ve = {
29
29
  key: 0,
30
30
  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
- }, Be = ["onClick"], Ve = {
31
+ }, He = ["onClick"], Ue = {
32
32
  key: 2,
33
33
  class: "tpl:mt-2"
34
- }, He = ["onKeydown"], Ue = { class: "tpl:mt-1.5 tpl:flex tpl:gap-1.5" }, We = ["disabled", "onClick"], Ge = {
34
+ }, We = ["onKeydown"], Ge = { class: "tpl:mt-1.5 tpl:flex tpl:gap-1.5" }, Ke = ["disabled", "onClick"], qe = {
35
35
  key: 3,
36
36
  class: "tpl:mt-1.5 tpl:text-xs tpl:leading-relaxed tpl:whitespace-pre-wrap tpl:text-[var(--tpl-text)]"
37
- }, Ke = {
37
+ }, Je = {
38
38
  key: 4,
39
39
  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
- }, qe = { class: "tpl:flex-1" }, Je = ["onClick"], Ye = {
40
+ }, Ye = { class: "tpl:flex-1" }, Xe = ["onClick"], Ze = {
41
41
  key: 5,
42
42
  class: "tpl:mt-2 tpl:flex tpl:items-center tpl:gap-2"
43
- }, Xe = ["title", "onClick"], Ze = ["onClick"], Qe = {
43
+ }, Qe = ["title", "onClick"], $e = ["onClick"], et = {
44
44
  key: 0,
45
45
  class: "tpl-comment-replies tpl:ml-5 tpl:pl-3 tpl:pt-2"
46
- }, $e = { class: "tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, et = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-1.5" }, tt = { class: "tpl:text-xs tpl:font-semibold tpl:text-[var(--tpl-text)]" }, nt = { class: "tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, rt = {
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 = {
47
47
  key: 1,
48
48
  class: "tpl:text-[10px] tpl:italic tpl:text-[var(--tpl-text-dim)]"
49
- }, it = { class: "tpl:flex tpl:items-center tpl:gap-0.5" }, at = ["title", "onClick"], ot = ["title", "onClick"], st = {
49
+ }, ot = { class: "tpl:flex tpl:items-center tpl:gap-0.5" }, st = ["title", "onClick"], ct = ["title", "onClick"], lt = {
50
50
  key: 0,
51
51
  class: "tpl:mt-1.5"
52
- }, ct = ["onKeydown"], lt = { class: "tpl:mt-1.5 tpl:flex tpl:gap-1.5" }, ut = ["disabled", "onClick"], dt = {
52
+ }, ut = ["onKeydown"], dt = { class: "tpl:mt-1.5 tpl:flex tpl:gap-1.5" }, ft = ["disabled", "onClick"], pt = {
53
53
  key: 1,
54
54
  class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:whitespace-pre-wrap tpl:text-[var(--tpl-text)]"
55
- }, ft = {
55
+ }, mt = {
56
56
  key: 2,
57
57
  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
- }, pt = { class: "tpl:flex-1" }, mt = ["onClick"], ht = {
58
+ }, ht = { class: "tpl:flex-1" }, gt = ["onClick"], _t = {
59
59
  key: 0,
60
60
  class: "tpl-comment-replies tpl:ml-5 tpl:pl-3 tpl:pt-2"
61
- }, gt = { 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)]" }, _t = ["placeholder", "onKeydown"], vt = ["disabled", "onClick"], yt = {
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 = {
62
62
  key: 0,
63
63
  class: "tpl:border-t tpl:p-3 tpl:border-[var(--tpl-border)]"
64
- }, bt = {
64
+ }, St = {
65
65
  key: 0,
66
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
- }, xt = {
67
+ }, Ct = {
68
68
  key: 1,
69
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
- }, St = ["placeholder", "disabled"], Ct = ["disabled"], k = /*#__PURE__*/ b(/* @__PURE__ */ e({
70
+ }, wt = ["placeholder", "disabled"], Tt = ["disabled"], D = /*#__PURE__*/ E(/* @__PURE__ */ e({
71
71
  __name: "CommentsSidebar",
72
72
  props: {
73
73
  visible: { type: Boolean },
74
74
  feature: {}
75
75
  },
76
76
  emits: ["close"],
77
- setup(e, { expose: b, emit: k }) {
78
- let A = e, wt = k, { t: j, format: M } = de(), N = le(ue, "CommentsSidebar"), P = g(() => A.feature.headless), F = _("unresolved"), I = o(ce, void 0), L = _(!1), Tt = g(() => N.activeLocale?.value ?? N.content.value.settings.locale);
79
- function R(e) {
80
- return e.locale ?? N.content.value.settings.locale;
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);
79
+ function I(e) {
80
+ return e.locale ?? j.content.value.settings.locale;
81
81
  }
82
- let z = _(""), B = _(null), V = _(""), H = _(null), U = _(""), W = _(/* @__PURE__ */ new Set()), G = _(null), K = _(null), q = g(() => A.feature.filterBlockId.value);
83
- r(q, (e) => {
84
- e && (F.value = "block");
82
+ let L = _(""), R = _(null), z = _(""), B = _(null), V = _(""), H = _(/* @__PURE__ */ new Set()), U = _(null), W = _(null), G = g(() => O.feature.filterBlockId.value);
83
+ r(G, (e) => {
84
+ e && (N.value = "block");
85
85
  }, { immediate: !0 });
86
- let Et = g(() => P.value.isLoading.value && P.value.comments.value.length === 0), Dt = g(() => {
86
+ let Ot = g(() => M.value.isLoading.value && M.value.comments.value.length === 0), kt = g(() => {
87
87
  let e = /* @__PURE__ */ new Set();
88
- for (let t of N.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);
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);
89
89
  return e;
90
90
  });
91
- function Ot(e) {
92
- return e ? !Dt.value.has(e) : !1;
91
+ function At(e) {
92
+ return e ? !kt.value.has(e) : !1;
93
93
  }
94
- let kt = g(() => F.value !== "block" || !q.value ? !1 : A.feature.capability.isBlockSaved(q.value) === !1), J = g(() => {
95
- let e = P.value.comments.value;
96
- return F.value === "unresolved" ? e = e.filter((e) => !e.resolvedAt) : F.value === "block" && q.value && (e = e.filter((e) => e.blockId === q.value)), L.value && (e = e.filter((e) => [e, ...e.replies ?? []].some((e) => R(e) === Tt.value))), e;
94
+ let jt = g(() => N.value !== "block" || !G.value ? !1 : O.feature.capability.isBlockSaved(G.value) === !1), K = g(() => {
95
+ let e = M.value.comments.value;
96
+ 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
97
  });
98
- r(() => N.state.selectedBlockId, (e) => {
99
- F.value === "block" && e && (A.feature.filterBlockId.value = e);
98
+ r(() => j.state.selectedBlockId, (e) => {
99
+ N.value === "block" && e && (O.feature.filterBlockId.value = e);
100
100
  });
101
- function Y(e, t) {
102
- F.value = e, A.feature.filterBlockId.value = e === "block" ? t ?? null : null;
101
+ function q(e, t) {
102
+ N.value = e, O.feature.filterBlockId.value = e === "block" ? t ?? null : null;
103
103
  }
104
- function At(e) {
105
- Y("block", e);
104
+ function Mt(e) {
105
+ q("block", e);
106
106
  }
107
- function jt(e) {
108
- W.value.has(e) ? W.value.delete(e) : W.value.add(e);
107
+ function Nt(e) {
108
+ H.value.has(e) ? H.value.delete(e) : H.value.add(e);
109
109
  }
110
- function Mt(e) {
111
- B.value = e, V.value = "", H.value = null, W.value.has(e) || W.value.add(e);
110
+ function Pt(e) {
111
+ R.value = e, z.value = "", B.value = null, H.value.has(e) || H.value.add(e);
112
+ }
113
+ function Ft() {
114
+ R.value = null, z.value = "";
112
115
  }
113
- function Nt() {
116
+ function J(e) {
117
+ B.value = e.id, V.value = e.body, R.value = null;
118
+ }
119
+ function Y() {
114
120
  B.value = null, V.value = "";
115
121
  }
116
122
  function X(e) {
117
- H.value = e.id, U.value = e.body, B.value = null;
123
+ U.value = e;
118
124
  }
119
125
  function Z() {
120
- H.value = null, U.value = "";
121
- }
122
- function Pt(e) {
123
- G.value = e;
124
- }
125
- function Ft() {
126
- G.value = null;
126
+ U.value = null;
127
127
  }
128
128
  async function It() {
129
- let e = z.value.trim();
130
- if (!e || !P.value.canCreate.value) return;
131
- let t = F.value === "block" ? q.value : void 0;
129
+ let e = L.value.trim();
130
+ if (!e || !M.value.canCreate.value) return;
131
+ let t = N.value === "block" ? G.value : void 0;
132
132
  try {
133
- await P.value.create({
133
+ await M.value.create({
134
134
  body: e,
135
135
  blockId: t ?? void 0,
136
- locale: N.activeLocale?.value ?? N.content.value.settings.locale
137
- }), z.value = "";
136
+ locale: j.activeLocale?.value ?? j.content.value.settings.locale
137
+ }), L.value = "";
138
138
  } catch {}
139
139
  }
140
140
  async function Lt(e) {
141
- let t = V.value.trim();
142
- if (!t || !P.value.canCreate.value) return;
143
- let n = P.value.find(e);
141
+ let t = z.value.trim();
142
+ if (!t || !M.value.canCreate.value) return;
143
+ let n = M.value.find(e);
144
144
  try {
145
- await P.value.create({
145
+ await M.value.create({
146
146
  body: t,
147
147
  blockId: n?.blockId ?? void 0,
148
148
  parentId: e,
149
- locale: N.activeLocale?.value ?? N.content.value.settings.locale
150
- }), B.value = null, V.value = "";
149
+ locale: j.activeLocale?.value ?? j.content.value.settings.locale
150
+ }), R.value = null, z.value = "";
151
151
  } catch {}
152
152
  }
153
153
  async function Q(e) {
154
- let t = U.value.trim();
154
+ let t = V.value.trim();
155
155
  if (t) try {
156
- await P.value.update(e, { body: t }), H.value = null, U.value = "";
156
+ await M.value.update(e, { body: t }), B.value = null, V.value = "";
157
157
  } catch {}
158
158
  }
159
159
  async function Rt(e) {
160
160
  try {
161
- await P.value.remove(e);
161
+ await M.value.remove(e);
162
162
  } catch {}
163
- G.value = null;
163
+ U.value = null;
164
164
  }
165
165
  async function zt(e) {
166
166
  try {
167
- await P.value.setResolved(e.id, !e.resolvedAt);
167
+ await M.value.setResolved(e.id, !e.resolvedAt);
168
168
  } catch {}
169
169
  }
170
170
  function $(e) {
171
- return P.value.canUpdate.value && P.value.isOwn(e);
171
+ return M.value.canUpdate.value && M.value.isOwn(e);
172
172
  }
173
173
  function Bt(e) {
174
- return P.value.canDelete.value && P.value.isOwn(e);
174
+ return M.value.canDelete.value && M.value.isOwn(e);
175
175
  }
176
176
  function Vt(e) {
177
- return fe(e, j.time) ?? e;
177
+ return re(e, k.time) ?? e;
178
178
  }
179
179
  function Ht(e) {
180
180
  e.key === "Enter" && !e.shiftKey && (e.preventDefault(), It());
@@ -183,15 +183,15 @@ var pe = ["aria-label"], me = { class: "tpl:flex tpl:items-center tpl:justify-be
183
183
  e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Lt(t));
184
184
  }
185
185
  function Wt(e, t) {
186
- e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Q(t)), e.key === "Escape" && Z();
186
+ e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Q(t)), e.key === "Escape" && Y();
187
187
  }
188
188
  function Gt() {
189
189
  te(() => {
190
- K.value?.focus();
190
+ W.value?.focus();
191
191
  });
192
192
  }
193
- return b({
194
- filterByBlock: At,
193
+ return E({
194
+ filterByBlock: Mt,
195
195
  focusNewComment: Gt
196
196
  }), (r, o) => (t(), d(m, {
197
197
  "enter-active-class": "tpl-comments-slide-enter-active",
@@ -204,256 +204,256 @@ var pe = ["aria-label"], me = { class: "tpl:flex tpl:items-center tpl:justify-be
204
204
  default: n(() => [e.visible ? (t(), s("div", {
205
205
  key: 0,
206
206
  role: "complementary",
207
- "aria-label": c(j).comments.title,
207
+ "aria-label": c(k).comments.title,
208
208
  "data-testid": "comments-sidebar",
209
209
  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)]"
210
210
  }, [
211
- f("div", me, [f("div", he, [
212
- y(c(T), {
211
+ f("div", ge, [f("div", _e, [
212
+ y(c(w), {
213
213
  size: 13,
214
214
  "stroke-width": 2
215
215
  }),
216
- f("span", null, p(c(j).comments.title), 1),
217
- e.feature.unresolvedCount.value > 0 ? (t(), s("span", ge, p(e.feature.unresolvedCount.value), 1)) : u("", !0)
216
+ f("span", null, p(c(k).comments.title), 1),
217
+ e.feature.unresolvedCount.value > 0 ? (t(), s("span", ve, p(e.feature.unresolvedCount.value), 1)) : u("", !0)
218
218
  ]), f("button", {
219
219
  type: "button",
220
220
  class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
221
- "aria-label": c(j).comments.close,
222
- onClick: o[0] ||= (e) => wt("close")
223
- }, [y(c(E), {
221
+ "aria-label": c(k).comments.close,
222
+ onClick: o[0] ||= (e) => Et("close")
223
+ }, [y(c(T), {
224
224
  size: 14,
225
225
  "stroke-width": 2
226
- })], 8, _e)]),
227
- f("div", ve, [
226
+ })], 8, ye)]),
227
+ f("div", be, [
228
228
  f("button", {
229
229
  type: "button",
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", F.value === "unresolved" ? "tpl-comment-filter--active" : ""]),
231
- "aria-pressed": F.value === "unresolved",
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 === "unresolved" ? "tpl-comment-filter--active" : ""]),
231
+ "aria-pressed": N.value === "unresolved",
232
232
  "data-testid": "comments-filter-unresolved",
233
- onClick: o[1] ||= (e) => Y("unresolved")
234
- }, p(c(j).comments.filterUnresolved), 11, ye),
233
+ onClick: o[1] ||= (e) => q("unresolved")
234
+ }, p(c(k).comments.filterUnresolved), 11, xe),
235
235
  f("button", {
236
236
  type: "button",
237
- class: l(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", F.value === "all" ? "tpl-comment-filter--active" : ""]),
238
- "aria-pressed": F.value === "all",
237
+ 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" : ""]),
238
+ "aria-pressed": N.value === "all",
239
239
  "data-testid": "comments-filter-all",
240
- onClick: o[2] ||= (e) => Y("all")
241
- }, p(c(j).comments.filterAll), 11, be),
242
- c(N).state.selectedBlockId ? (t(), s("button", {
240
+ onClick: o[2] ||= (e) => q("all")
241
+ }, p(c(k).comments.filterAll), 11, Se),
242
+ c(j).state.selectedBlockId ? (t(), s("button", {
243
243
  key: 0,
244
244
  type: "button",
245
- class: l(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", F.value === "block" ? "tpl-comment-filter--active" : ""]),
246
- "aria-pressed": F.value === "block",
245
+ 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" : ""]),
246
+ "aria-pressed": N.value === "block",
247
247
  "data-testid": "comments-filter-block",
248
- onClick: o[3] ||= (e) => Y("block", c(N).state.selectedBlockId ?? void 0)
249
- }, p(c(j).comments.filterBlock), 11, xe)) : u("", !0),
250
- c(I) ? (t(), s("button", {
248
+ onClick: o[3] ||= (e) => q("block", c(j).state.selectedBlockId ?? void 0)
249
+ }, p(c(k).comments.filterBlock), 11, Ce)) : u("", !0),
250
+ c(P) ? (t(), s("button", {
251
251
  key: 1,
252
252
  type: "button",
253
253
  "data-testid": "comments-filter-language",
254
- 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)]", L.value ? "tpl-comment-filter--active" : ""]),
255
- "aria-pressed": L.value,
256
- onClick: o[4] ||= (e) => L.value = !L.value
257
- }, p(c(j).comments.filterLanguage), 11, Se)) : u("", !0)
254
+ 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" : ""]),
255
+ "aria-pressed": F.value,
256
+ onClick: o[4] ||= (e) => F.value = !F.value
257
+ }, p(c(k).comments.filterLanguage), 11, we)) : u("", !0)
258
258
  ]),
259
- f("div", Ce, [Et.value ? (t(), s("div", we, [y(c(S), {
259
+ f("div", Te, [Ot.value ? (t(), s("div", Ee, [y(c(C), {
260
260
  class: "tpl-spinner tpl:text-[var(--tpl-text-muted)]",
261
261
  size: 24,
262
262
  "stroke-width": 2
263
- })])) : J.value.length === 0 ? (t(), s("div", Te, [y(c(T), {
263
+ })])) : K.value.length === 0 ? (t(), s("div", De, [y(c(w), {
264
264
  size: 32,
265
265
  "stroke-width": 1.5,
266
266
  class: "tpl:text-[var(--tpl-text-dim)]"
267
- }), f("p", Ee, p(F.value === "all" ? c(j).comments.noCommentsHint : c(j).comments.noComments), 1)])) : (t(), s("div", De, [(t(!0), s(v, null, a(J.value, (e) => (t(), s("div", {
267
+ }), 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", {
268
268
  key: e.id,
269
269
  class: "tpl-comment-thread",
270
270
  "data-testid": "comment-thread"
271
271
  }, [
272
- f("div", Oe, [
273
- f("div", ke, [f("div", Ae, [
274
- f("span", je, p(P.value.isOwn(e) ? c(j).comments.ownedByYou : e.author.name), 1),
275
- f("span", Me, p(Vt(e.createdAt)), 1),
276
- c(I) ? (t(), s("span", {
272
+ f("div", Ae, [
273
+ f("div", je, [f("div", Me, [
274
+ f("span", Ne, p(M.value.isOwn(e) ? c(k).comments.ownedByYou : e.author.name), 1),
275
+ f("span", Pe, p(Vt(e.createdAt)), 1),
276
+ c(P) ? (t(), s("span", {
277
277
  key: 0,
278
278
  "data-testid": "comment-locale-badge",
279
- class: l(c(O))
280
- }, p(c(D)(R(e))), 3)) : u("", !0),
281
- e.updatedAt ? (t(), s("span", Ne, " (" + p(c(j).comments.edited) + ") ", 1)) : u("", !0)
282
- ]), f("div", Pe, [
283
- P.value.canResolve.value ? (t(), s("button", {
279
+ class: l(c(b))
280
+ }, p(c(x)(I(e))), 3)) : u("", !0),
281
+ e.updatedAt ? (t(), s("span", Fe, " (" + p(c(k).comments.edited) + ") ", 1)) : u("", !0)
282
+ ]), f("div", Ie, [
283
+ M.value.canResolve.value ? (t(), s("button", {
284
284
  key: 0,
285
285
  "data-testid": "comment-resolve",
286
286
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
287
- title: e.resolvedAt ? c(j).comments.unresolve : c(j).comments.resolve,
287
+ title: e.resolvedAt ? c(k).comments.unresolve : c(k).comments.resolve,
288
288
  onClick: (t) => zt(e)
289
- }, [y(c(ie), {
289
+ }, [y(c(le), {
290
290
  size: 13,
291
291
  "stroke-width": 2,
292
292
  class: "tpl-resolve-icon",
293
293
  style: ne({ color: e.resolvedAt ? "var(--tpl-primary)" : void 0 })
294
- }, null, 8, ["style"])], 8, Fe)) : u("", !0),
294
+ }, null, 8, ["style"])], 8, Le)) : u("", !0),
295
295
  $(e) ? (t(), s("button", {
296
296
  key: 1,
297
297
  "data-testid": "comment-edit",
298
298
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
299
- title: c(j).comments.edit,
300
- onClick: (t) => X(e)
301
- }, [y(c(x), {
299
+ title: c(k).comments.edit,
300
+ onClick: (t) => J(e)
301
+ }, [y(c(S), {
302
302
  size: 12,
303
303
  "stroke-width": 2
304
- })], 8, Ie)) : u("", !0),
304
+ })], 8, Re)) : u("", !0),
305
305
  Bt(e) ? (t(), s("button", {
306
306
  key: 2,
307
307
  "data-testid": "comment-delete",
308
308
  class: "tpl-comment-action tpl-comment-delete tpl:rounded tpl:p-1 tpl:transition-colors",
309
- title: c(j).comments.delete,
310
- onClick: (t) => Pt(e.id)
311
- }, [y(c(C), {
309
+ title: c(k).comments.delete,
310
+ onClick: (t) => X(e.id)
311
+ }, [y(c(pe), {
312
312
  size: 12,
313
313
  "stroke-width": 2
314
- })], 8, Le)) : u("", !0)
314
+ })], 8, ze)) : u("", !0)
315
315
  ])]),
316
316
  y(m, { name: "tpl-resolve" }, {
317
- default: n(() => [e.resolvedAt ? (t(), s("div", Re, [y(c(se), {
317
+ default: n(() => [e.resolvedAt ? (t(), s("div", Be, [y(c(fe), {
318
318
  size: 10,
319
319
  "stroke-width": 2.5
320
- }), f("span", null, p(c(M)(c(j).comments.resolvedBy, { name: e.resolvedBy?.name ?? "" })), 1)])) : u("", !0)]),
320
+ }), f("span", null, p(c(A)(c(k).comments.resolvedBy, { name: e.resolvedBy?.name ?? "" })), 1)])) : u("", !0)]),
321
321
  _: 2
322
322
  }, 1024),
323
- e.blockId && Ot(e.blockId) ? (t(), s("span", ze, p(c(j).comments.missingBlock), 1)) : e.blockId ? (t(), s("button", {
323
+ e.blockId && At(e.blockId) ? (t(), s("span", Ve, p(c(k).comments.missingBlock), 1)) : e.blockId ? (t(), s("button", {
324
324
  key: 1,
325
325
  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)]",
326
- onClick: (t) => c(N).selectBlock(e.blockId ?? "")
327
- }, p(c(j).comments.jumpToBlock), 9, Be)) : u("", !0),
328
- H.value === e.id ? (t(), s("div", Ve, [i(f("textarea", {
329
- "onUpdate:modelValue": o[5] ||= (e) => U.value = e,
326
+ onClick: (t) => c(j).selectBlock(e.blockId ?? "")
327
+ }, p(c(k).comments.jumpToBlock), 9, He)) : u("", !0),
328
+ B.value === e.id ? (t(), s("div", Ue, [i(f("textarea", {
329
+ "onUpdate:modelValue": o[5] ||= (e) => V.value = e,
330
330
  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)]",
331
331
  rows: "3",
332
332
  onKeydown: (t) => Wt(t, e.id)
333
- }, null, 40, He), [[h, U.value]]), f("div", Ue, [f("button", {
333
+ }, null, 40, We), [[h, V.value]]), f("div", Ge, [f("button", {
334
334
  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)]",
335
- disabled: !U.value.trim() || P.value.isSubmitting.value,
335
+ disabled: !V.value.trim() || M.value.isSubmitting.value,
336
336
  onClick: (t) => Q(e.id)
337
- }, p(c(j).comments.save), 9, We), f("button", {
337
+ }, p(c(k).comments.save), 9, Ke), f("button", {
338
338
  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)]",
339
- onClick: o[6] ||= (e) => Z()
340
- }, p(c(j).comments.cancel), 1)])])) : (t(), s("p", Ge, p(e.body), 1)),
341
- G.value === e.id ? (t(), s("div", Ke, [
342
- f("span", qe, p(c(j).comments.deleteConfirm), 1),
339
+ onClick: o[6] ||= (e) => Y()
340
+ }, p(c(k).comments.cancel), 1)])])) : (t(), s("p", qe, p(e.body), 1)),
341
+ U.value === e.id ? (t(), s("div", Je, [
342
+ f("span", Ye, p(c(k).comments.deleteConfirm), 1),
343
343
  f("button", {
344
344
  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)]",
345
345
  "data-testid": "comment-delete-confirm",
346
346
  onClick: (t) => Rt(e.id)
347
- }, p(c(j).comments.delete), 9, Je),
347
+ }, p(c(k).comments.delete), 9, Xe),
348
348
  f("button", {
349
349
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
350
- onClick: o[7] ||= (e) => Ft()
351
- }, p(c(j).comments.cancel), 1)
350
+ onClick: o[7] ||= (e) => Z()
351
+ }, p(c(k).comments.cancel), 1)
352
352
  ])) : u("", !0),
353
- H.value !== e.id && G.value !== e.id ? (t(), s("div", Ye, [P.value.canCreate.value ? (t(), s("button", {
353
+ B.value !== e.id && U.value !== e.id ? (t(), s("div", Ze, [M.value.canCreate.value ? (t(), s("button", {
354
354
  key: 0,
355
355
  "data-testid": "comment-reply",
356
356
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
357
- title: c(j).comments.reply,
358
- onClick: (t) => Mt(e.id)
359
- }, [y(c(ae), {
357
+ title: c(k).comments.reply,
358
+ onClick: (t) => Pt(e.id)
359
+ }, [y(c(ue), {
360
360
  size: 13,
361
361
  "stroke-width": 2,
362
362
  class: "tpl:text-[var(--tpl-primary)]"
363
- })], 8, Xe)) : u("", !0), (e.replies?.length ?? 0) > 0 ? (t(), s("button", {
363
+ })], 8, Qe)) : u("", !0), (e.replies?.length ?? 0) > 0 ? (t(), s("button", {
364
364
  key: 1,
365
365
  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)]",
366
- onClick: (t) => jt(e.id)
367
- }, [W.value.has(e.id) ? (t(), d(c(oe), {
366
+ onClick: (t) => Nt(e.id)
367
+ }, [H.value.has(e.id) ? (t(), d(c(de), {
368
368
  key: 0,
369
369
  size: 11,
370
370
  "stroke-width": 2
371
- })) : (t(), d(c(re), {
371
+ })) : (t(), d(c(ce), {
372
372
  key: 1,
373
373
  size: 11,
374
374
  "stroke-width": 2
375
- })), ee(" " + p((e.replies?.length ?? 0) === 1 ? c(M)(c(j).comments.replyOne, { count: String(e.replies?.length ?? 0) }) : c(M)(c(j).comments.replyMany, { count: String(e.replies?.length ?? 0) })), 1)], 8, Ze)) : u("", !0)])) : u("", !0)
375
+ })), 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)
376
376
  ]),
377
377
  y(m, { name: "tpl-replies" }, {
378
- default: n(() => [W.value.has(e.id) && (e.replies?.length ?? 0) > 0 ? (t(), s("div", Qe, [(t(!0), s(v, null, a(e.replies, (n, r) => (t(), s("div", {
378
+ 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", {
379
379
  key: n.id,
380
380
  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" : ""])
381
381
  }, [
382
- f("div", $e, [f("div", et, [
383
- f("span", tt, p(P.value.isOwn(n) ? c(j).comments.ownedByYou : n.author.name), 1),
384
- f("span", nt, p(Vt(n.createdAt)), 1),
385
- c(I) ? (t(), s("span", {
382
+ f("div", tt, [f("div", nt, [
383
+ f("span", rt, p(M.value.isOwn(n) ? c(k).comments.ownedByYou : n.author.name), 1),
384
+ f("span", it, p(Vt(n.createdAt)), 1),
385
+ c(P) ? (t(), s("span", {
386
386
  key: 0,
387
387
  "data-testid": "comment-locale-badge",
388
- class: l(c(O))
389
- }, p(c(D)(R(n))), 3)) : u("", !0),
390
- n.updatedAt ? (t(), s("span", rt, " (" + p(c(j).comments.edited) + ") ", 1)) : u("", !0)
391
- ]), f("div", it, [$(n) ? (t(), s("button", {
388
+ class: l(c(b))
389
+ }, p(c(x)(I(n))), 3)) : u("", !0),
390
+ n.updatedAt ? (t(), s("span", at, " (" + p(c(k).comments.edited) + ") ", 1)) : u("", !0)
391
+ ]), f("div", ot, [$(n) ? (t(), s("button", {
392
392
  key: 0,
393
393
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
394
- title: c(j).comments.edit,
395
- onClick: (e) => X(n)
396
- }, [y(c(x), {
394
+ title: c(k).comments.edit,
395
+ onClick: (e) => J(n)
396
+ }, [y(c(S), {
397
397
  size: 11,
398
398
  "stroke-width": 2
399
- })], 8, at)) : u("", !0), Bt(n) ? (t(), s("button", {
399
+ })], 8, st)) : u("", !0), Bt(n) ? (t(), s("button", {
400
400
  key: 1,
401
401
  class: "tpl-comment-action tpl-comment-delete tpl:rounded tpl:p-1 tpl:transition-colors",
402
- title: c(j).comments.delete,
403
- onClick: (e) => Pt(n.id)
404
- }, [y(c(C), {
402
+ title: c(k).comments.delete,
403
+ onClick: (e) => X(n.id)
404
+ }, [y(c(pe), {
405
405
  size: 11,
406
406
  "stroke-width": 2
407
- })], 8, ot)) : u("", !0)])]),
408
- H.value === n.id ? (t(), s("div", st, [i(f("textarea", {
409
- "onUpdate:modelValue": o[8] ||= (e) => U.value = e,
407
+ })], 8, ct)) : u("", !0)])]),
408
+ B.value === n.id ? (t(), s("div", lt, [i(f("textarea", {
409
+ "onUpdate:modelValue": o[8] ||= (e) => V.value = e,
410
410
  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)]",
411
411
  rows: "2",
412
412
  onKeydown: (e) => Wt(e, n.id)
413
- }, null, 40, ct), [[h, U.value]]), f("div", lt, [f("button", {
413
+ }, null, 40, ut), [[h, V.value]]), f("div", dt, [f("button", {
414
414
  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)]",
415
- disabled: !U.value.trim() || P.value.isSubmitting.value,
415
+ disabled: !V.value.trim() || M.value.isSubmitting.value,
416
416
  onClick: (e) => Q(n.id)
417
- }, p(c(j).comments.save), 9, ut), f("button", {
417
+ }, p(c(k).comments.save), 9, ft), f("button", {
418
418
  class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
419
- onClick: o[9] ||= (e) => Z()
420
- }, p(c(j).comments.cancel), 1)])])) : (t(), s("p", dt, p(n.body), 1)),
421
- G.value === n.id ? (t(), s("div", ft, [
422
- f("span", pt, p(c(j).comments.deleteConfirm), 1),
419
+ onClick: o[9] ||= (e) => Y()
420
+ }, p(c(k).comments.cancel), 1)])])) : (t(), s("p", pt, p(n.body), 1)),
421
+ U.value === n.id ? (t(), s("div", mt, [
422
+ f("span", ht, p(c(k).comments.deleteConfirm), 1),
423
423
  f("button", {
424
424
  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)]",
425
425
  "data-testid": "comment-delete-confirm",
426
426
  onClick: (e) => Rt(n.id)
427
- }, p(c(j).comments.delete), 9, mt),
427
+ }, p(c(k).comments.delete), 9, gt),
428
428
  f("button", {
429
429
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
430
- onClick: o[10] ||= (e) => Ft()
431
- }, p(c(j).comments.cancel), 1)
430
+ onClick: o[10] ||= (e) => Z()
431
+ }, p(c(k).comments.cancel), 1)
432
432
  ])) : u("", !0)
433
433
  ], 2))), 128))])) : u("", !0)]),
434
434
  _: 2
435
435
  }, 1024),
436
436
  y(m, { name: "tpl-replies" }, {
437
- default: n(() => [B.value === e.id ? (t(), s("div", ht, [f("div", gt, [
437
+ default: n(() => [R.value === e.id ? (t(), s("div", _t, [f("div", vt, [
438
438
  i(f("textarea", {
439
- "onUpdate:modelValue": o[11] ||= (e) => V.value = e,
439
+ "onUpdate:modelValue": o[11] ||= (e) => z.value = e,
440
440
  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)]",
441
- placeholder: c(j).comments.replyPlaceholder,
441
+ placeholder: c(k).comments.replyPlaceholder,
442
442
  rows: "2",
443
443
  onKeydown: (t) => Ut(t, e.id)
444
- }, null, 40, _t), [[h, V.value]]),
444
+ }, null, 40, yt), [[h, z.value]]),
445
445
  f("button", {
446
446
  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)]",
447
- disabled: !V.value.trim() || P.value.isSubmitting.value,
447
+ disabled: !z.value.trim() || M.value.isSubmitting.value,
448
448
  onClick: (t) => Lt(e.id)
449
- }, [y(c(w), {
449
+ }, [y(c(me), {
450
450
  size: 14,
451
451
  "stroke-width": 2
452
- })], 8, vt),
452
+ })], 8, bt),
453
453
  f("button", {
454
454
  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)]",
455
- onClick: o[12] ||= (e) => Nt()
456
- }, [y(c(E), {
455
+ onClick: o[12] ||= (e) => Ft()
456
+ }, [y(c(T), {
457
457
  size: 14,
458
458
  "stroke-width": 2
459
459
  })])
@@ -461,36 +461,36 @@ var pe = ["aria-label"], me = { class: "tpl:flex tpl:items-center tpl:justify-be
461
461
  _: 2
462
462
  }, 1024)
463
463
  ]))), 128))]))]),
464
- P.value.canCreate.value ? (t(), s("div", yt, [kt.value ? (t(), s("div", bt, p(c(j).comments.saveTemplateFirst), 1)) : (t(), s("div", xt, [i(f("textarea", {
464
+ 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", {
465
465
  ref_key: "newCommentInput",
466
- ref: K,
467
- "onUpdate:modelValue": o[13] ||= (e) => z.value = e,
466
+ ref: W,
467
+ "onUpdate:modelValue": o[13] ||= (e) => L.value = e,
468
468
  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)]",
469
469
  "data-testid": "comments-input",
470
- placeholder: c(j).comments.placeholder,
471
- disabled: P.value.isSubmitting.value,
470
+ placeholder: c(k).comments.placeholder,
471
+ disabled: M.value.isSubmitting.value,
472
472
  rows: "2",
473
473
  onKeydown: Ht
474
- }, null, 40, St), [[h, z.value]]), f("button", {
474
+ }, null, 40, wt), [[h, L.value]]), f("button", {
475
475
  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)]",
476
476
  "data-testid": "comments-send",
477
- disabled: !z.value.trim() || P.value.isSubmitting.value,
477
+ disabled: !L.value.trim() || M.value.isSubmitting.value,
478
478
  onClick: It
479
- }, [P.value.isSubmitting.value ? (t(), d(c(S), {
479
+ }, [M.value.isSubmitting.value ? (t(), d(c(C), {
480
480
  key: 0,
481
481
  class: "tpl-spinner",
482
482
  size: 16,
483
483
  "stroke-width": 2
484
- })) : (t(), d(c(w), {
484
+ })) : (t(), d(c(me), {
485
485
  key: 1,
486
486
  size: 16,
487
487
  "stroke-width": 2
488
- }))], 8, Ct)]))])) : u("", !0)
489
- ], 8, pe)) : u("", !0)]),
488
+ }))], 8, Tt)]))])) : u("", !0)
489
+ ], 8, he)) : u("", !0)]),
490
490
  _: 1
491
491
  }));
492
492
  }
493
493
  }), [["__scopeId", "data-v-ebc3c2c6"]]);
494
- export { k as default };
494
+ export { D as default };
495
495
 
496
- //# sourceMappingURL=CommentsSidebar-7Hfl3Hdj.js.map
496
+ //# sourceMappingURL=CommentsSidebar-DTold7iy.js.map