@templatical/editor 0.56.1 → 0.57.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 (303) hide show
  1. package/README.md +1 -1
  2. package/dist/{AiAltTextPopover-CpZ7UeAZ.js → AiAltTextPopover-BiZHthAB.js} +5 -5
  3. package/dist/{AiAltTextReview-LYxvn7Qe.js → AiAltTextReview-BwhROHiF.js} +6 -6
  4. package/dist/{AiChatPanel-Cy05P-iO.js → AiChatPanel-Cros4ZCM.js} +22 -25
  5. package/dist/AiPanels-D_CdHqFZ.js +26 -0
  6. package/dist/{AiRewriteMenu-DgqJHnza.js → AiRewriteMenu-6b8GNj64.js} +53 -53
  7. package/dist/{BlockIssueBadge-CxHJmuOh.js → BlockIssueBadge-i2cZy5PB.js} +5 -5
  8. package/dist/{BlockPreviewCanvas-DEmNZkEG.js → BlockPreviewCanvas-BAYIy-QJ.js} +27 -27
  9. package/dist/{CloudHeaderExtras-Cqhw-jMz.js → CloudHeaderExtras-CJsXi4Ku.js} +2 -2
  10. package/dist/{CloudPanels-Bmlf05Il.js → CloudPanels-Cb54vtYC.js} +6 -6
  11. package/dist/{CollaborationNotices-C27GCMvK.js → CollaborationNotices-DkYX-ose.js} +3 -3
  12. package/dist/{CollaboratorBar-CLQjksX-.js → CollaboratorBar-xDweDvB6.js} +3 -3
  13. package/dist/CommentsPanel-t3w16YUl.js +23 -0
  14. package/dist/CommentsSidebar-B3M90RY_.js +516 -0
  15. package/dist/{CountdownBlock-D8dqjm3F.js → CountdownBlock-BrR2uqM3.js} +4 -4
  16. package/dist/{CountdownToolbar-IjpCOjCd.js → CountdownToolbar-CTbJPh8B.js} +7 -7
  17. package/dist/{IssuesPanel-uwuzeMSW.js → IssuesPanel-BUKc8lld.js} +13 -13
  18. package/dist/{LanguageMenu-C-eQ0lFy.js → LanguageMenu-DruJAMET.js} +16 -16
  19. package/dist/{LoadingTrack-BG8cg9xi.js → LoadingTrack-c4SeD16s.js} +1 -1
  20. package/dist/{LocaleNotices-CDK_9D7P.js → LocaleNotices-D6zk-QCL.js} +5 -5
  21. package/dist/{LogicTagInsertButton-BSolF7Fd.js → LogicTagInsertButton-Ci7V0Exe.js} +65 -65
  22. package/dist/{MediaEditModal-C8yc9dxt.js → MediaEditModal-BxbwZxnf.js} +4 -4
  23. package/dist/{MediaPanels-FI4I8asn.js → MediaPanels-BiUxsTMM.js} +2 -2
  24. package/dist/{MergeTagInput-B1nl2ZMT.js → MergeTagInput-BA89v7KJ.js} +2 -2
  25. package/dist/{MergeTagModeToggle-DXvb80OE.js → MergeTagModeToggle-De_FNmcG.js} +7 -7
  26. package/dist/{MergeTagTextarea-DJlf3VbS.js → MergeTagTextarea-BRMB24Dg.js} +9 -9
  27. package/dist/{ParagraphEditor-Dqco128s.js → ParagraphEditor-DYqh0kEa.js} +51 -51
  28. package/dist/{RestoreVersionDialog-hqLCuGV5.js → RestoreVersionDialog-CRkyFafq.js} +5 -5
  29. package/dist/{RichTextEditorContent-xIEF0Y3Z.js → RichTextEditorContent-WeCqqCy3.js} +10 -10
  30. package/dist/{SaveBlockDialog-CQlCP_XC.js → SaveBlockDialog-D992yyO4.js} +15 -15
  31. package/dist/{SavedBlocksBrowserModal-BXA32Fx6.js → SavedBlocksBrowserModal-tH74h2Tz.js} +13 -13
  32. package/dist/{SavedBlocksPanels-BKUzbamj.js → SavedBlocksPanels-BuzEwYfp.js} +2 -2
  33. package/dist/{SavedBlocksPickBar-BlvF-4UF.js → SavedBlocksPickBar-DbULBPsI.js} +4 -4
  34. package/dist/{TemplateSettings-CYFtR8zv.js → TemplateSettings-eMBAy_wd.js} +14 -14
  35. package/dist/{TestEmailModal-BbaL17HO.js → TestEmailModal-hb9iopaZ.js} +13 -13
  36. package/dist/{TestEmailPanel-DhB1CSpg.js → TestEmailPanel-DbeZjj0u.js} +2 -2
  37. package/dist/{TitleEditor-3BRl8u5l.js → TitleEditor-CisDioGi.js} +14 -14
  38. package/dist/{ToggleSwitch-R3wCCYE6.js → ToggleSwitch-BIPdFWUr.js} +1 -1
  39. package/dist/{Toolbar-pzNIakGM.js → Toolbar-BUVRjylH.js} +218 -218
  40. package/dist/{TplModal-WNuWhHZm.js → TplModal-BPPP-uM6.js} +6 -6
  41. package/dist/{VersionHistoryMenu--T-Qp_mH.js → VersionHistoryMenu-Cd2IaHgT.js} +10 -10
  42. package/dist/{VersionHistoryPanels-BPubvYIE.js → VersionHistoryPanels-BNONrE-8.js} +2 -2
  43. package/dist/{VersionPreviewBanner-ClL3Wkln.js → VersionPreviewBanner-lkAf7tc8.js} +3 -3
  44. package/dist/{WrapperBlock-CjfCPceb.js → WrapperBlock-B3UAv5kv.js} +5 -5
  45. package/dist/{blockTypeIcons-12OMwVyN.js → blockTypeIcons-BPPpqFc2.js} +3 -3
  46. package/dist/bundle-stats.json +7 -7
  47. package/dist/cdn/chunks/{AiAltTextPopover-PFjTrl0y.js → AiAltTextPopover-CafZSF50.js} +5 -5
  48. package/dist/cdn/chunks/{AiAltTextPopover-PFjTrl0y.js.map → AiAltTextPopover-CafZSF50.js.map} +1 -1
  49. package/dist/cdn/chunks/{AiAltTextReview-BMjzvApH.js → AiAltTextReview-BJcaqyp5.js} +6 -6
  50. package/dist/cdn/chunks/{AiAltTextReview-BMjzvApH.js.map → AiAltTextReview-BJcaqyp5.js.map} +1 -1
  51. package/dist/cdn/chunks/{AiChatPanel-C2gpq4kP.js → AiChatPanel-DNCUpV8n.js} +15 -18
  52. package/dist/cdn/chunks/AiChatPanel-DNCUpV8n.js.map +1 -0
  53. package/dist/cdn/chunks/AiPanels-IV0VEkBL.js +27 -0
  54. package/dist/cdn/chunks/AiPanels-IV0VEkBL.js.map +1 -0
  55. package/dist/cdn/chunks/{AiRewriteMenu-CnkyjPEu.js → AiRewriteMenu-DFUZWA7e.js} +58 -58
  56. package/dist/cdn/chunks/AiRewriteMenu-DFUZWA7e.js.map +1 -0
  57. package/dist/cdn/chunks/{BlockIssueBadge-DncZ-HDf.js → BlockIssueBadge-DIlFDDwh.js} +5 -5
  58. package/dist/cdn/chunks/BlockIssueBadge-DIlFDDwh.js.map +1 -0
  59. package/dist/cdn/chunks/{BlockPreviewCanvas-CCSEzL46.js → BlockPreviewCanvas-D0VhkzY8.js} +28 -28
  60. package/dist/cdn/chunks/BlockPreviewCanvas-D0VhkzY8.js.map +1 -0
  61. package/dist/cdn/chunks/{CloudHeaderExtras-uUJYJFJ6.js → CloudHeaderExtras-CazfMn6A.js} +3 -3
  62. package/dist/cdn/chunks/{CloudHeaderExtras-uUJYJFJ6.js.map → CloudHeaderExtras-CazfMn6A.js.map} +1 -1
  63. package/dist/cdn/chunks/{CloudPanels-CRztnw4M.js → CloudPanels-BiU1MD-4.js} +5 -5
  64. package/dist/cdn/chunks/CloudPanels-BiU1MD-4.js.map +1 -0
  65. package/dist/cdn/chunks/{CollaborationNotices-IuLYT2x7.js → CollaborationNotices-DGA8XRZJ.js} +4 -4
  66. package/dist/cdn/chunks/{CollaborationNotices-IuLYT2x7.js.map → CollaborationNotices-DGA8XRZJ.js.map} +1 -1
  67. package/dist/cdn/chunks/{CollaboratorBar-C1ZI2xwa.js → CollaboratorBar-BWL1Shc1.js} +4 -4
  68. package/dist/cdn/chunks/{CollaboratorBar-C1ZI2xwa.js.map → CollaboratorBar-BWL1Shc1.js.map} +1 -1
  69. package/dist/cdn/chunks/CommentsPanel-4mrl4zMK.js +24 -0
  70. package/dist/cdn/chunks/CommentsPanel-4mrl4zMK.js.map +1 -0
  71. package/dist/cdn/chunks/CommentsSidebar-BJ87vc7i.js +486 -0
  72. package/dist/cdn/chunks/CommentsSidebar-BJ87vc7i.js.map +1 -0
  73. package/dist/cdn/chunks/{CountdownBlock-8aPSExrv.js → CountdownBlock-Do6oItNW.js} +5 -5
  74. package/dist/cdn/chunks/{CountdownBlock-8aPSExrv.js.map → CountdownBlock-Do6oItNW.js.map} +1 -1
  75. package/dist/cdn/chunks/{CountdownToolbar-CnWQEW5g.js → CountdownToolbar-CH8UK01N.js} +8 -8
  76. package/dist/cdn/chunks/{CountdownToolbar-CnWQEW5g.js.map → CountdownToolbar-CH8UK01N.js.map} +1 -1
  77. package/dist/cdn/chunks/{IssuesPanel-CrplCzo8.js → IssuesPanel-3NPqHXJx.js} +9 -9
  78. package/dist/cdn/chunks/IssuesPanel-3NPqHXJx.js.map +1 -0
  79. package/dist/cdn/chunks/{LanguageMenu-B6MNInCL.js → LanguageMenu-75uu4P2d.js} +105 -105
  80. package/dist/cdn/chunks/LanguageMenu-75uu4P2d.js.map +1 -0
  81. package/dist/cdn/chunks/{LoadingTrack-DUYcDHOV.js → LoadingTrack-o-89hApJ.js} +2 -2
  82. package/dist/cdn/chunks/{LoadingTrack-DUYcDHOV.js.map → LoadingTrack-o-89hApJ.js.map} +1 -1
  83. package/dist/cdn/chunks/{LocaleNotices-TxeAl8Iq.js → LocaleNotices-CUN5K5QJ.js} +5 -5
  84. package/dist/cdn/chunks/{LocaleNotices-TxeAl8Iq.js.map → LocaleNotices-CUN5K5QJ.js.map} +1 -1
  85. package/dist/cdn/chunks/{LogicTagInsertButton-DvSVx2DB.js → LogicTagInsertButton-C5L73hYh.js} +12 -12
  86. package/dist/cdn/chunks/{LogicTagInsertButton-DvSVx2DB.js.map → LogicTagInsertButton-C5L73hYh.js.map} +1 -1
  87. package/dist/cdn/chunks/{MediaEditModal-tGK6htBl.js → MediaEditModal-BHTMNHx0.js} +4 -4
  88. package/dist/cdn/chunks/{MediaEditModal-tGK6htBl.js.map → MediaEditModal-BHTMNHx0.js.map} +1 -1
  89. package/dist/cdn/chunks/{MediaPanels-BVrQYz2C.js → MediaPanels-BlianNRh.js} +3 -3
  90. package/dist/cdn/chunks/{MediaPanels-BVrQYz2C.js.map → MediaPanels-BlianNRh.js.map} +1 -1
  91. package/dist/cdn/chunks/{MergeTagInput-DeuNH3re.js → MergeTagInput-D8cbnnZu.js} +3 -3
  92. package/dist/cdn/chunks/{MergeTagInput-DeuNH3re.js.map → MergeTagInput-D8cbnnZu.js.map} +1 -1
  93. package/dist/cdn/chunks/{MergeTagModeToggle-D7maMGIM.js → MergeTagModeToggle-D-RhwBsO.js} +6 -6
  94. package/dist/cdn/chunks/{MergeTagModeToggle-D7maMGIM.js.map → MergeTagModeToggle-D-RhwBsO.js.map} +1 -1
  95. package/dist/cdn/chunks/{MergeTagTextarea-B2xxIU3e.js → MergeTagTextarea-CAJIi2FE.js} +7 -7
  96. package/dist/cdn/chunks/{MergeTagTextarea-B2xxIU3e.js.map → MergeTagTextarea-CAJIi2FE.js.map} +1 -1
  97. package/dist/cdn/chunks/{ParagraphEditor-Bx_Hlw8d.js → ParagraphEditor-sRPXZDzp.js} +30 -30
  98. package/dist/cdn/chunks/{ParagraphEditor-Bx_Hlw8d.js.map → ParagraphEditor-sRPXZDzp.js.map} +1 -1
  99. package/dist/cdn/chunks/{RestoreVersionDialog-CPrrWTsT.js → RestoreVersionDialog-CJK-14PX.js} +5 -5
  100. package/dist/cdn/chunks/RestoreVersionDialog-CJK-14PX.js.map +1 -0
  101. package/dist/cdn/chunks/{RichTextEditorContent-Dze4C9VI.js → RichTextEditorContent-DU0wtA_j.js} +9 -9
  102. package/dist/cdn/chunks/{RichTextEditorContent-Dze4C9VI.js.map → RichTextEditorContent-DU0wtA_j.js.map} +1 -1
  103. package/dist/cdn/chunks/{SaveBlockDialog-CXVwnfsy.js → SaveBlockDialog-C8hY9xA-.js} +13 -13
  104. package/dist/cdn/chunks/{SaveBlockDialog-CXVwnfsy.js.map → SaveBlockDialog-C8hY9xA-.js.map} +1 -1
  105. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BDTmenOE.js → SavedBlocksBrowserModal-B3nFAgAa.js} +9 -9
  106. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BDTmenOE.js.map → SavedBlocksBrowserModal-B3nFAgAa.js.map} +1 -1
  107. package/dist/cdn/chunks/{SavedBlocksPanels-B41Rk_v1.js → SavedBlocksPanels-CQenugHO.js} +3 -3
  108. package/dist/cdn/chunks/{SavedBlocksPanels-B41Rk_v1.js.map → SavedBlocksPanels-CQenugHO.js.map} +1 -1
  109. package/dist/cdn/chunks/{SavedBlocksPickBar-B97z_rFH.js → SavedBlocksPickBar-DzUP4IYv.js} +5 -5
  110. package/dist/cdn/chunks/{SavedBlocksPickBar-B97z_rFH.js.map → SavedBlocksPickBar-DzUP4IYv.js.map} +1 -1
  111. package/dist/cdn/chunks/{TemplateSettings-YwwRbxPc.js → TemplateSettings-DnOwyN_1.js} +12 -12
  112. package/dist/cdn/chunks/{TemplateSettings-YwwRbxPc.js.map → TemplateSettings-DnOwyN_1.js.map} +1 -1
  113. package/dist/cdn/chunks/{TestEmailModal-BiFP2Cbx.js → TestEmailModal-BFqmfOZ1.js} +10 -10
  114. package/dist/cdn/chunks/{TestEmailModal-BiFP2Cbx.js.map → TestEmailModal-BFqmfOZ1.js.map} +1 -1
  115. package/dist/cdn/chunks/{TestEmailPanel-BrivPMk2.js → TestEmailPanel-DFOhhaa9.js} +3 -3
  116. package/dist/cdn/chunks/{TestEmailPanel-BrivPMk2.js.map → TestEmailPanel-DFOhhaa9.js.map} +1 -1
  117. package/dist/cdn/chunks/{TitleEditor-CzPkkL2s.js → TitleEditor-ChPXTB9T.js} +13 -13
  118. package/dist/cdn/chunks/{TitleEditor-CzPkkL2s.js.map → TitleEditor-ChPXTB9T.js.map} +1 -1
  119. package/dist/cdn/chunks/{ToggleSwitch-BSkySwA1.js → ToggleSwitch-C0w0srN_.js} +2 -2
  120. package/dist/cdn/chunks/{ToggleSwitch-BSkySwA1.js.map → ToggleSwitch-C0w0srN_.js.map} +1 -1
  121. package/dist/cdn/chunks/{Toolbar-VH07SzX7.js → Toolbar-bbO5WoKo.js} +302 -302
  122. package/dist/cdn/chunks/Toolbar-bbO5WoKo.js.map +1 -0
  123. package/dist/cdn/chunks/{TplModal-DMe6J811.js → TplModal-Bg97XHIJ.js} +6 -6
  124. package/dist/cdn/chunks/{TplModal-DMe6J811.js.map → TplModal-Bg97XHIJ.js.map} +1 -1
  125. package/dist/cdn/chunks/{VersionHistoryMenu-DkwbKhBl.js → VersionHistoryMenu-BNPxnWiO.js} +9 -9
  126. package/dist/cdn/chunks/{VersionHistoryMenu-DkwbKhBl.js.map → VersionHistoryMenu-BNPxnWiO.js.map} +1 -1
  127. package/dist/cdn/chunks/{VersionHistoryPanels-CgxhMRAl.js → VersionHistoryPanels-CyyRXWPU.js} +3 -3
  128. package/dist/cdn/chunks/{VersionHistoryPanels-CgxhMRAl.js.map → VersionHistoryPanels-CyyRXWPU.js.map} +1 -1
  129. package/dist/cdn/chunks/{VersionPreviewBanner-WVBDBrwQ.js → VersionPreviewBanner-BldFvgxJ.js} +4 -4
  130. package/dist/cdn/chunks/{VersionPreviewBanner-WVBDBrwQ.js.map → VersionPreviewBanner-BldFvgxJ.js.map} +1 -1
  131. package/dist/cdn/chunks/{WrapperBlock-CCCIcqe2.js → WrapperBlock-ZBCf7Y8u.js} +6 -6
  132. package/dist/cdn/chunks/{WrapperBlock-CCCIcqe2.js.map → WrapperBlock-ZBCf7Y8u.js.map} +1 -1
  133. package/dist/cdn/chunks/{blockTypeIcons-CzYA5DF9.js → blockTypeIcons-19xd5ZPi.js} +6 -6
  134. package/dist/cdn/chunks/{blockTypeIcons-CzYA5DF9.js.map → blockTypeIcons-19xd5ZPi.js.map} +1 -1
  135. package/dist/cdn/chunks/{composables-D3lsO7Io.js → composables-CMBZad02.js} +750 -730
  136. package/dist/cdn/chunks/composables-CMBZad02.js.map +1 -0
  137. package/dist/cdn/chunks/{createCloudRuntime-CE79GB1H.js → createCloudRuntime-BHGFjpek.js} +157 -143
  138. package/dist/cdn/chunks/createCloudRuntime-BHGFjpek.js.map +1 -0
  139. package/dist/cdn/chunks/da-CYWJkrTg.js +97 -0
  140. package/dist/cdn/chunks/da-CYWJkrTg.js.map +1 -0
  141. package/dist/cdn/chunks/da-qQzj0QGy.js +950 -0
  142. package/dist/cdn/chunks/da-qQzj0QGy.js.map +1 -0
  143. package/dist/cdn/chunks/{dist-BzXULHvI.js → dist-BtWMy7UQ.js} +3 -3
  144. package/dist/cdn/chunks/{dist-BzXULHvI.js.map → dist-BtWMy7UQ.js.map} +1 -1
  145. package/dist/cdn/chunks/{dist-Cf1pSluo.js → dist-zu1jwYIS.js} +4 -4
  146. package/dist/cdn/chunks/{dist-Cf1pSluo.js.map → dist-zu1jwYIS.js.map} +1 -1
  147. package/dist/cdn/chunks/{draggable-DepKdldn.js → draggable-IRVFEZ-b.js} +1535 -1500
  148. package/dist/cdn/chunks/draggable-IRVFEZ-b.js.map +1 -0
  149. package/dist/cdn/chunks/{editor-modal-CN69NlOK.js → editor-modal-CarOiAYJ.js} +77 -76
  150. package/dist/cdn/chunks/{editor-modal-CN69NlOK.js.map → editor-modal-CarOiAYJ.js.map} +1 -1
  151. package/dist/cdn/chunks/en-B4s_0ryk.js +1 -0
  152. package/dist/cdn/chunks/{extensions-8dlM-fU4.js → extensions-Beg0g2wm.js} +7 -7
  153. package/dist/cdn/chunks/{extensions-8dlM-fU4.js.map → extensions-Beg0g2wm.js.map} +1 -1
  154. package/dist/cdn/chunks/{icons-DHExFLlT.js → icons-Cl4oR2mf.js} +73 -73
  155. package/dist/cdn/chunks/icons-Cl4oR2mf.js.map +1 -0
  156. package/dist/cdn/chunks/keys-BQqbBUag.js +11 -0
  157. package/dist/cdn/chunks/keys-BQqbBUag.js.map +1 -0
  158. package/dist/cdn/chunks/{normalizeMergeTagMarkup-aWjkotui.js → normalizeMergeTagMarkup-B8yU4usU.js} +55 -55
  159. package/dist/cdn/chunks/{normalizeMergeTagMarkup-aWjkotui.js.map → normalizeMergeTagMarkup-B8yU4usU.js.map} +1 -1
  160. package/dist/cdn/chunks/{preRenderCustomBlocks-Dn6dFUwx.js → preRenderCustomBlocks-CPHm2GOQ.js} +2 -2
  161. package/dist/cdn/chunks/{preRenderCustomBlocks-Dn6dFUwx.js.map → preRenderCustomBlocks-CPHm2GOQ.js.map} +1 -1
  162. package/dist/cdn/chunks/{sanitizeHtml-B3njfkSy.js → sanitizeHtml-B7LC0gKK.js} +22 -11
  163. package/dist/cdn/chunks/sanitizeHtml-B7LC0gKK.js.map +1 -0
  164. package/dist/cdn/chunks/{socialIcons-BFgc3qqJ.js → socialIcons-D9D02_y5.js} +575 -524
  165. package/dist/cdn/chunks/socialIcons-D9D02_y5.js.map +1 -0
  166. package/dist/cdn/chunks/{src-C9JWWxAk.js → src-BCrSqaj8.js} +108 -95
  167. package/dist/cdn/chunks/src-BCrSqaj8.js.map +1 -0
  168. package/dist/cdn/chunks/{src-GgKlXNxy.js → src-BO4aXl_Y.js} +232 -228
  169. package/dist/cdn/chunks/src-BO4aXl_Y.js.map +1 -0
  170. package/dist/cdn/chunks/{src-mXG-Of9A.js → src-DeywvttP.js} +812 -780
  171. package/dist/cdn/chunks/src-DeywvttP.js.map +1 -0
  172. package/dist/cdn/chunks/{tiptap-C940SvId.js → tiptap-BPiZqxCt.js} +40 -31
  173. package/dist/cdn/chunks/tiptap-BPiZqxCt.js.map +1 -0
  174. package/dist/cdn/chunks/{useCloudI18n-Xsih9yRH.js → useCloudI18n-Dr4S2TRW.js} +3 -3
  175. package/dist/cdn/chunks/{useCloudI18n-Xsih9yRH.js.map → useCloudI18n-Dr4S2TRW.js.map} +1 -1
  176. package/dist/cdn/chunks/useEditorRoot-B_kf_k-g.js +9 -0
  177. package/dist/cdn/chunks/{useEditorRoot-Beau2Z_T.js.map → useEditorRoot-B_kf_k-g.js.map} +1 -1
  178. package/dist/cdn/chunks/{useI18n-D8s7HtTn.js → useI18n-CSf-ZpcM.js} +3 -3
  179. package/dist/cdn/chunks/{useI18n-D8s7HtTn.js.map → useI18n-CSf-ZpcM.js.map} +1 -1
  180. package/dist/cdn/chunks/useLocalizedDisplay-oykFcYrW.js +33 -0
  181. package/dist/cdn/chunks/{useLocalizedDisplay-Bgg4qpev.js.map → useLocalizedDisplay-oykFcYrW.js.map} +1 -1
  182. package/dist/cdn/chunks/{useLogicTag-B0PDeDxl.js → useLogicTag-D_qg9qqO.js} +4 -4
  183. package/dist/cdn/chunks/{useLogicTag-B0PDeDxl.js.map → useLogicTag-D_qg9qqO.js.map} +1 -1
  184. package/dist/cdn/chunks/{useMergeTag-BSU75bKk.js → useMergeTag-VLnVHtxV.js} +4 -4
  185. package/dist/cdn/chunks/{useMergeTag-BSU75bKk.js.map → useMergeTag-VLnVHtxV.js.map} +1 -1
  186. package/dist/cdn/chunks/{usePopoverPosition-esO6wjvU.js → usePopoverPosition-BJFFi8x6.js} +3 -3
  187. package/dist/cdn/chunks/{usePopoverPosition-esO6wjvU.js.map → usePopoverPosition-BJFFi8x6.js.map} +1 -1
  188. package/dist/cdn/chunks/{useScrollToBlock-CJuUu7Xj.js → useScrollToBlock-MI4PP5lk.js} +3 -3
  189. package/dist/cdn/chunks/{useScrollToBlock-CJuUu7Xj.js.map → useScrollToBlock-MI4PP5lk.js.map} +1 -1
  190. package/dist/cdn/chunks/{withCurrentFont-QqBilClC.js → withCurrentFont-m6TtR0dC.js} +2 -2
  191. package/dist/cdn/chunks/{withCurrentFont-QqBilClC.js.map → withCurrentFont-m6TtR0dC.js.map} +1 -1
  192. package/dist/cdn/editor.css +1 -1
  193. package/dist/cdn/editor.js +685 -663
  194. package/dist/cdn/editor.js.map +1 -1
  195. package/dist/{check-CcuCoJDh.js → check-C7ua4TAK.js} +1 -1
  196. package/dist/{chevron-down-BfYIbFbC.js → chevron-down-DftQrAkI.js} +1 -1
  197. package/dist/{chevron-right-DyjFqY35.js → chevron-right-B-DULGbg.js} +1 -1
  198. package/dist/{chevron-up-BHEIxuS-.js → chevron-up-CeYsyD8c.js} +1 -1
  199. package/dist/{circle-alert-Tq7kAh9S.js → circle-exclamation-point-DHjORV_I.js} +3 -3
  200. package/dist/{clock-Df0ZiXwQ.js → clock-CajOtLEZ.js} +1 -1
  201. package/dist/{composables-DreAt_0A.js → composables-Cq7rsxRc.js} +1123 -1103
  202. package/dist/{createCloudRuntime-CL4tUlDC.js → createCloudRuntime-CHsFF8DI.js} +42 -28
  203. package/dist/{createLucideIcon-CfBdtoUw.js → createLucideIcon-D-mELTSY.js} +6 -6
  204. package/dist/da-CYWJkrTg.js +95 -0
  205. package/dist/da-qQzj0QGy.js +948 -0
  206. package/dist/{dist-CX7skkvG.js → dist-A328tG0Z.js} +2 -2
  207. package/dist/{dist-BjzK1g4Z.js → dist-B15BvV94.js} +2 -2
  208. package/dist/{dist-DDytHU_6.js → dist-B3G4Yvpd.js} +3 -3
  209. package/dist/{dist-CiYotUR8.js → dist-B6ptxfPo.js} +3 -3
  210. package/dist/{dist-0GWMyHtM.js → dist-BmV-2uBJ.js} +2 -2
  211. package/dist/{dist-CCLRTtJP.js → dist-BxKFi2h_.js} +5 -5
  212. package/dist/{dist-BMUUt3zJ.js → dist-C0hVefGI.js} +791 -759
  213. package/dist/{dist-CsknfjrZ.js → dist-CMBOqk9I.js} +7 -7
  214. package/dist/{dist-ZrT0vAB6.js → dist-CXTsTO5h.js} +2 -2
  215. package/dist/{dist-Dq9VnANT.js → dist-D5BUcCjv.js} +2 -2
  216. package/dist/dist-D9cbSSSx.js +4 -0
  217. package/dist/{dist-BsumKKh9.js → dist-DAdrn64r.js} +2 -2
  218. package/dist/{dist-C3avsUq9.js → dist-DENg3ORe.js} +31 -22
  219. package/dist/{dist-Cr1CLCmx.js → dist-DI_8rB1X.js} +2 -2
  220. package/dist/dist-ELLEk-lS.js +4 -0
  221. package/dist/{editor-modal-BD32TXws.js → editor-modal-CgsaLpwB.js} +20 -19
  222. package/dist/en-DBLcB-CW.js +1 -0
  223. package/dist/{extensions-DKxHlSd7.js → extensions-BSXjPQEc.js} +21 -21
  224. package/dist/{eye-B3psrAqd.js → eye-fe5sKF_K.js} +1 -1
  225. package/dist/{image-C3yuPDxx.js → image-CUC7SZiW.js} +1 -1
  226. package/dist/index.d.ts +6 -4
  227. package/dist/{info-DKja7A68.js → info-DDbLU4pT.js} +1 -1
  228. package/dist/keys-D9oKZN1h.js +9 -0
  229. package/dist/{link-DhzPI4Hn.js → link-C2icj0iH.js} +1 -1
  230. package/dist/{list-DVGn7Ik2.js → list-KYC_Jb5A.js} +1 -1
  231. package/dist/{loader-circle-DqKWsMHO.js → loader-circle-DmyagWpc.js} +1 -1
  232. package/dist/{message-circle-C4TonoBs.js → message-circle-ijyWn6UJ.js} +1 -1
  233. package/dist/{normalizeMergeTagMarkup-Da9JAgx7.js → normalizeMergeTagMarkup-CBLCQe02.js} +82 -82
  234. package/dist/{package-9OkiEO4S.js → package-CKYm_jQY.js} +1 -1
  235. package/dist/{pencil-M9vkOB7C.js → pencil-C2TRSR-Y.js} +1 -1
  236. package/dist/{plus-DxZiv9YC.js → plus-CotJVDxb.js} +1 -1
  237. package/dist/{preRenderCustomBlocks-CdqSp2P7.js → preRenderCustomBlocks-e2OlY4aU.js} +3 -3
  238. package/dist/{refresh-cw-UY8_sdFG.js → refresh-cw-CuCRV6D5.js} +1 -1
  239. package/dist/{rotate-ccw-BFTGCpHn.js → rotate-ccw-BlnQ3y6R.js} +1 -1
  240. package/dist/{runtime-dom.esm-bundler-DlHp8xgy.js → runtime-dom.esm-bundler-nN-jsqr1.js} +20 -20
  241. package/dist/{sanitizeHtml-wBibnBF4.js → sanitizeHtml-Dfn-fH17.js} +25 -14
  242. package/dist/{search-RuGJnMEn.js → search-Dxw6oFrZ.js} +1 -1
  243. package/dist/{send-DGB1ar02.js → send-C-blQBZ9.js} +1 -1
  244. package/dist/{smartphone-CVA29CU_.js → smartphone-rLz4X-Dd.js} +1 -1
  245. package/dist/{socialIcons-oo4uL16Y.js → socialIcons-BZRLo0eT.js} +600 -549
  246. package/dist/{sparkles-IHfEwEcd.js → sparkles-JWQlUiSn.js} +1 -1
  247. package/dist/{square-_Cl44UU6.js → square-DshDy1Il.js} +1 -1
  248. package/dist/style.css +1 -1
  249. package/dist/templatical-editor.js +748 -726
  250. package/dist/{text-align-start-Dqk2Xt_Q.js → text-align-start-CyasaQtr.js} +13 -13
  251. package/dist/{trash-Cr7rD5Hh.js → trash-B1lZp2Tv.js} +1 -1
  252. package/dist/{triangle-alert-CKcpwtUj.js → triangle-exclamation-point-BhJvBEoT.js} +3 -3
  253. package/dist/{upload-DR9pqVON.js → upload-CNK8JX38.js} +1 -1
  254. package/dist/{useCloudI18n-BczJoFf4.js → useCloudI18n-HhCZYRV6.js} +2 -2
  255. package/dist/useEditorRoot-B0Njczhx.js +7 -0
  256. package/dist/{useI18n-zeWYtWSv.js → useI18n-CM9vKbYc.js} +2 -2
  257. package/dist/{cdn/chunks/useLocalizedDisplay-Bgg4qpev.js → useLocalizedDisplay-B7tlQF4g.js} +2 -4
  258. package/dist/{useLogicTag-B4Zpk3eo.js → useLogicTag-k_y-4o4W.js} +3 -3
  259. package/dist/{useMergeTag-B5qlq8px.js → useMergeTag-BiZ6XOdL.js} +3 -3
  260. package/dist/{usePopoverPosition-Br3zt_MQ.js → usePopoverPosition-CVRzzLkC.js} +2 -2
  261. package/dist/{useScrollToBlock-BfOzc1Z6.js → useScrollToBlock-vf_KD0FM.js} +3 -3
  262. package/dist/{vue.runtime.esm-bundler-BJXc_Mri.js → vue.runtime.esm-bundler-BE5V8ADU.js} +414 -362
  263. package/dist/{withCurrentFont-m_PHcOD0.js → withCurrentFont-CPhRujet.js} +1 -1
  264. package/dist/{x-DZSFHafL.js → x-DbLX5Qdm.js} +1 -1
  265. package/package.json +23 -23
  266. package/dist/AiPanels-CwKmXzyr.js +0 -31
  267. package/dist/CommentsPanel-B5NqPMmY.js +0 -16
  268. package/dist/CommentsSidebar-BDrcrDxS.js +0 -526
  269. package/dist/cdn/chunks/AiChatPanel-C2gpq4kP.js.map +0 -1
  270. package/dist/cdn/chunks/AiPanels-Cx3PE2mE.js +0 -32
  271. package/dist/cdn/chunks/AiPanels-Cx3PE2mE.js.map +0 -1
  272. package/dist/cdn/chunks/AiRewriteMenu-CnkyjPEu.js.map +0 -1
  273. package/dist/cdn/chunks/BlockIssueBadge-DncZ-HDf.js.map +0 -1
  274. package/dist/cdn/chunks/BlockPreviewCanvas-CCSEzL46.js.map +0 -1
  275. package/dist/cdn/chunks/CloudPanels-CRztnw4M.js.map +0 -1
  276. package/dist/cdn/chunks/CommentsPanel-lgjJNrrY.js +0 -18
  277. package/dist/cdn/chunks/CommentsPanel-lgjJNrrY.js.map +0 -1
  278. package/dist/cdn/chunks/CommentsSidebar-DTold7iy.js +0 -496
  279. package/dist/cdn/chunks/CommentsSidebar-DTold7iy.js.map +0 -1
  280. package/dist/cdn/chunks/IssuesPanel-CrplCzo8.js.map +0 -1
  281. package/dist/cdn/chunks/LanguageMenu-B6MNInCL.js.map +0 -1
  282. package/dist/cdn/chunks/RestoreVersionDialog-CPrrWTsT.js.map +0 -1
  283. package/dist/cdn/chunks/Toolbar-VH07SzX7.js.map +0 -1
  284. package/dist/cdn/chunks/composables-D3lsO7Io.js.map +0 -1
  285. package/dist/cdn/chunks/createCloudRuntime-CE79GB1H.js.map +0 -1
  286. package/dist/cdn/chunks/draggable-DepKdldn.js.map +0 -1
  287. package/dist/cdn/chunks/en-Bcz4gS9U.js +0 -1
  288. package/dist/cdn/chunks/icons-DHExFLlT.js.map +0 -1
  289. package/dist/cdn/chunks/keys-BUmIvYy3.js +0 -11
  290. package/dist/cdn/chunks/keys-BUmIvYy3.js.map +0 -1
  291. package/dist/cdn/chunks/sanitizeHtml-B3njfkSy.js.map +0 -1
  292. package/dist/cdn/chunks/socialIcons-BFgc3qqJ.js.map +0 -1
  293. package/dist/cdn/chunks/src-C9JWWxAk.js.map +0 -1
  294. package/dist/cdn/chunks/src-GgKlXNxy.js.map +0 -1
  295. package/dist/cdn/chunks/src-mXG-Of9A.js.map +0 -1
  296. package/dist/cdn/chunks/tiptap-C940SvId.js.map +0 -1
  297. package/dist/cdn/chunks/useEditorRoot-Beau2Z_T.js +0 -9
  298. package/dist/dist-B_0FPmoy.js +0 -4
  299. package/dist/dist-DKV9m4Uu.js +0 -4
  300. package/dist/en-Dgs_-NBw.js +0 -1
  301. package/dist/keys-w_VRjoMu.js +0 -9
  302. package/dist/useEditorRoot-BcXKhM_8.js +0 -7
  303. package/dist/useLocalizedDisplay-Cbhx208c.js +0 -31
@@ -0,0 +1,516 @@
1
+ import { B as e, Ft as t, M as n, Mt as r, O as i, P as a, Pt as o, U as s, W as c, _ as l, c as u, ct as d, d as f, et as p, f as m, g as ee, l as h, r as g, u as _, w as te, y as v } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
2
+ import { a as y, t as b } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
3
+ import { u as x } from "./styleConstants-CgiNKdnc.js";
4
+ import { t as S } from "./languageName-DEEOhDWI.js";
5
+ import { t as ne } from "./formatRelativeTime-BTD8Ktt-.js";
6
+ import { O as re, ct as ie, v as ae } from "./keys-D9oKZN1h.js";
7
+ import { t as oe } from "./useI18n-CM9vKbYc.js";
8
+ import { t as se } from "./check-C7ua4TAK.js";
9
+ import { t as C } from "./createLucideIcon-D-mELTSY.js";
10
+ import { t as ce } from "./chevron-down-DftQrAkI.js";
11
+ import { t as le } from "./chevron-up-CeYsyD8c.js";
12
+ import { t as w } from "./loader-circle-DmyagWpc.js";
13
+ import { t as T } from "./message-circle-ijyWn6UJ.js";
14
+ import { t as E } from "./pencil-C2TRSR-Y.js";
15
+ import { t as D } from "./send-C-blQBZ9.js";
16
+ import { t as O } from "./trash-B1lZp2Tv.js";
17
+ import { t as ue } from "./x-DbLX5Qdm.js";
18
+ import { t as de } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
19
+ var fe = C({
20
+ name: "circle-check",
21
+ size: 24,
22
+ node: [["circle", {
23
+ cx: "12",
24
+ cy: "12",
25
+ r: "10",
26
+ key: "1mglay"
27
+ }], ["path", {
28
+ d: "m16 9-5.5 5.5L8 12",
29
+ key: "xofnsj"
30
+ }]],
31
+ aliases: ["check-circle-2"]
32
+ }), pe = C({
33
+ name: "reply",
34
+ size: 24,
35
+ node: [["path", {
36
+ d: "M20 18v-2a4 4 0 0 0-4-4H4",
37
+ key: "5vmcpk"
38
+ }], ["path", {
39
+ d: "m9 17-5-5 5-5",
40
+ key: "nvlc11"
41
+ }]]
42
+ }), me = ["aria-label"], he = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, ge = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]" }, _e = {
43
+ key: 0,
44
+ class: "tpl:ml-1 tpl:inline-flex tpl:size-5 tpl:items-center tpl:justify-center tpl:rounded-full tpl:text-[10px] tpl:font-semibold tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]"
45
+ }, ve = ["aria-label"], ye = { class: "tpl:flex tpl:flex-wrap tpl:gap-1 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-2" }, be = ["aria-pressed"], xe = ["aria-pressed"], Se = ["aria-pressed"], Ce = ["aria-pressed"], we = { class: "tpl:flex-1 tpl:overflow-y-auto" }, Te = {
46
+ key: 0,
47
+ class: "tpl:flex tpl:h-full tpl:items-center tpl:justify-center"
48
+ }, Ee = {
49
+ key: 1,
50
+ class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:px-6 tpl:text-center"
51
+ }, De = { class: "tpl:max-w-[240px] tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Oe = {
52
+ key: 2,
53
+ class: "tpl:flex tpl:flex-col tpl:gap-3 tpl:p-3"
54
+ }, ke = { class: "tpl-comment-card tpl:rounded-lg tpl:border tpl:px-3.5 tpl:py-3" }, Ae = { class: "tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, je = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-1.5" }, Me = { class: "tpl:text-xs tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Ne = { class: "tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, Pe = {
55
+ key: 1,
56
+ class: "tpl:text-[10px] tpl:italic tpl:text-[var(--tpl-text-dim)]"
57
+ }, Fe = { class: "tpl:flex tpl:items-center tpl:gap-0.5" }, Ie = ["title", "onClick"], Le = ["title", "onClick"], Re = ["title", "onClick"], ze = {
58
+ key: 0,
59
+ class: "tpl:mt-1 tpl:flex tpl:items-center tpl:gap-1 tpl:text-[10px] tpl:text-[var(--tpl-primary)]"
60
+ }, Be = {
61
+ key: 0,
62
+ class: "tpl:mt-1 tpl:inline-flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:bg-[var(--tpl-warning-light)] tpl:text-[var(--tpl-warning)]"
63
+ }, Ve = ["onClick"], He = {
64
+ key: 2,
65
+ class: "tpl:mt-2"
66
+ }, Ue = ["onKeydown"], We = { class: "tpl:mt-1.5 tpl:flex tpl:gap-1.5" }, Ge = ["disabled", "onClick"], Ke = {
67
+ key: 3,
68
+ class: "tpl:mt-1.5 tpl:text-xs tpl:leading-relaxed tpl:whitespace-pre-wrap tpl:text-[var(--tpl-text)]"
69
+ }, qe = {
70
+ key: 4,
71
+ class: "tpl:mt-2 tpl:flex tpl:items-center tpl:gap-2 tpl:rounded-md tpl:px-2.5 tpl:py-2 tpl:text-xs tpl:bg-[var(--tpl-danger-light)] tpl:text-[var(--tpl-danger)]"
72
+ }, Je = { class: "tpl:flex-1" }, Ye = ["onClick"], Xe = {
73
+ key: 5,
74
+ class: "tpl:mt-2 tpl:flex tpl:items-center tpl:gap-2"
75
+ }, Ze = ["title", "onClick"], Qe = ["onClick"], $e = {
76
+ key: 0,
77
+ class: "tpl-comment-replies tpl:ml-5 tpl:pl-3 tpl:pt-2"
78
+ }, et = { class: "tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, tt = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-1.5" }, nt = { class: "tpl:text-xs tpl:font-semibold tpl:text-[var(--tpl-text)]" }, rt = { class: "tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, it = {
79
+ key: 1,
80
+ class: "tpl:text-[10px] tpl:italic tpl:text-[var(--tpl-text-dim)]"
81
+ }, at = { class: "tpl:flex tpl:items-center tpl:gap-0.5" }, ot = ["title", "onClick"], st = ["title", "onClick"], ct = {
82
+ key: 0,
83
+ class: "tpl:mt-1.5"
84
+ }, lt = ["onKeydown"], ut = { class: "tpl:mt-1.5 tpl:flex tpl:gap-1.5" }, dt = ["disabled", "onClick"], ft = {
85
+ key: 1,
86
+ class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:whitespace-pre-wrap tpl:text-[var(--tpl-text)]"
87
+ }, pt = {
88
+ key: 2,
89
+ class: "tpl:mt-2 tpl:flex tpl:items-center tpl:gap-2 tpl:rounded-md tpl:px-2.5 tpl:py-2 tpl:text-xs tpl:bg-[var(--tpl-danger-light)] tpl:text-[var(--tpl-danger)]"
90
+ }, mt = { class: "tpl:flex-1" }, ht = ["onClick"], gt = {
91
+ key: 0,
92
+ class: "tpl-comment-replies tpl:ml-5 tpl:pl-3 tpl:pt-2"
93
+ }, _t = { class: "tpl-comments-input-wrapper tpl-focus-ring-host tpl:flex tpl:items-end tpl:gap-2 tpl:rounded-[var(--tpl-radius)] tpl:border tpl:px-3 tpl:py-2 tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, vt = ["placeholder", "onKeydown"], yt = ["disabled", "onClick"], bt = {
94
+ key: 0,
95
+ class: "tpl:border-t tpl:p-3 tpl:border-[var(--tpl-border)]"
96
+ }, xt = {
97
+ key: 0,
98
+ class: "tpl:flex tpl:min-h-[68px] tpl:items-center tpl:rounded-md tpl:px-3 tpl:py-2 tpl:text-xs tpl:bg-[var(--tpl-warning-light)] tpl:text-[var(--tpl-warning)]"
99
+ }, St = {
100
+ key: 1,
101
+ class: "tpl-comments-input-wrapper tpl-focus-ring-host tpl:flex tpl:min-h-[68px] tpl:items-end tpl:gap-2 tpl:rounded-[var(--tpl-radius)] tpl:border tpl:px-3 tpl:py-2 tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]"
102
+ }, Ct = ["placeholder", "disabled"], wt = ["disabled"], k = /*#__PURE__*/ de(/* @__PURE__ */ v({
103
+ __name: "CommentsSidebar",
104
+ props: {
105
+ visible: { type: Boolean },
106
+ feature: {}
107
+ },
108
+ emits: ["close"],
109
+ setup(v, { expose: C, emit: de }) {
110
+ let k = v, Tt = de, { t: A, format: j } = oe(), M = ie(ae, "CommentsSidebar"), N = u(() => k.feature.headless), P = p("unresolved"), F = te(re, void 0), I = p(!1), Et = u(() => M.activeLocale?.value ?? M.content.value.settings.locale);
111
+ function L(e) {
112
+ return e.locale ?? M.content.value.settings.locale;
113
+ }
114
+ let R = p(""), z = p(null), B = p(""), V = p(null), H = p(""), U = p(/* @__PURE__ */ new Set()), W = p(null), G = p(null), K = u(() => k.feature.filterBlockId.value);
115
+ e(K, (e) => {
116
+ e && (P.value = "block");
117
+ }, { immediate: !0 });
118
+ let Dt = u(() => N.value.isLoading.value && N.value.comments.value.length === 0), Ot = u(() => {
119
+ let e = /* @__PURE__ */ new Set();
120
+ for (let t of M.content.value.blocks) if (e.add(t.id), t.type === "section") for (let n of t.children) for (let t of n) e.add(t.id);
121
+ return e;
122
+ });
123
+ function kt(e) {
124
+ return e ? !Ot.value.has(e) : !1;
125
+ }
126
+ let At = u(() => P.value !== "block" || !K.value ? !1 : k.feature.capability.isBlockSaved(K.value) === !1), q = u(() => {
127
+ let e = N.value.comments.value;
128
+ return P.value === "unresolved" ? e = e.filter((e) => !e.resolvedAt) : P.value === "block" && K.value && (e = e.filter((e) => e.blockId === K.value)), I.value && (e = e.filter((e) => [e, ...e.replies ?? []].some((e) => L(e) === Et.value))), e;
129
+ });
130
+ e(() => M.state.selectedBlockId, (e) => {
131
+ P.value === "block" && e && (k.feature.filterBlockId.value = e);
132
+ });
133
+ function J(e, t) {
134
+ P.value = e, k.feature.filterBlockId.value = e === "block" ? t ?? null : null;
135
+ }
136
+ function jt(e) {
137
+ J("block", e);
138
+ }
139
+ function Mt(e) {
140
+ U.value.has(e) ? U.value.delete(e) : U.value.add(e);
141
+ }
142
+ function Nt(e) {
143
+ z.value = e, B.value = "", V.value = null, U.value.has(e) || U.value.add(e);
144
+ }
145
+ function Pt() {
146
+ z.value = null, B.value = "";
147
+ }
148
+ function Y(e) {
149
+ V.value = e.id, H.value = e.body, z.value = null;
150
+ }
151
+ function X() {
152
+ V.value = null, H.value = "";
153
+ }
154
+ function Ft(e) {
155
+ W.value = e;
156
+ }
157
+ function It() {
158
+ W.value = null;
159
+ }
160
+ async function Lt() {
161
+ let e = R.value.trim();
162
+ if (!e || !N.value.canCreate.value) return;
163
+ let t = P.value === "block" ? K.value : void 0;
164
+ try {
165
+ await N.value.create({
166
+ body: e,
167
+ blockId: t ?? void 0,
168
+ locale: M.activeLocale?.value ?? M.content.value.settings.locale
169
+ }), R.value = "";
170
+ } catch {}
171
+ }
172
+ async function Rt(e) {
173
+ let t = B.value.trim();
174
+ if (!t || !N.value.canCreate.value) return;
175
+ let n = N.value.find(e);
176
+ try {
177
+ await N.value.create({
178
+ body: t,
179
+ blockId: n?.blockId ?? void 0,
180
+ parentId: e,
181
+ locale: M.activeLocale?.value ?? M.content.value.settings.locale
182
+ }), z.value = null, B.value = "";
183
+ } catch {}
184
+ }
185
+ async function Z(e) {
186
+ let t = H.value.trim();
187
+ if (t) try {
188
+ await N.value.update(e, { body: t }), V.value = null, H.value = "";
189
+ } catch {}
190
+ }
191
+ async function zt(e) {
192
+ try {
193
+ await N.value.remove(e);
194
+ } catch {}
195
+ W.value = null;
196
+ }
197
+ async function Bt(e) {
198
+ try {
199
+ await N.value.setResolved(e.id, !e.resolvedAt);
200
+ } catch {}
201
+ }
202
+ function Q(e) {
203
+ return N.value.canUpdate.value && N.value.isOwn(e);
204
+ }
205
+ function Vt(e) {
206
+ return N.value.canDelete.value && N.value.isOwn(e);
207
+ }
208
+ function Ht(e) {
209
+ return ne(e, A.time) ?? e;
210
+ }
211
+ function Ut(e) {
212
+ e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Lt());
213
+ }
214
+ function Wt(e, t) {
215
+ e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Rt(t));
216
+ }
217
+ function $(e, t) {
218
+ e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Z(t)), e.key === "Escape" && X();
219
+ }
220
+ function Gt() {
221
+ i(() => {
222
+ G.value?.focus();
223
+ });
224
+ }
225
+ return C({
226
+ filterByBlock: jt,
227
+ focusNewComment: Gt
228
+ }), (e, i) => v.visible ? (n(), m("div", {
229
+ key: 0,
230
+ role: "complementary",
231
+ "aria-label": d(A).comments.title,
232
+ "data-testid": "comments-sidebar",
233
+ class: "tpl-comments-sidebar tpl:absolute tpl:top-14 tpl:right-0 tpl:bottom-0 tpl:flex tpl:w-[360px] tpl:flex-col tpl:border-l tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)]"
234
+ }, [
235
+ h("div", he, [h("div", ge, [
236
+ l(d(T), {
237
+ size: 13,
238
+ "stroke-width": 2
239
+ }),
240
+ h("span", null, t(d(A).comments.title), 1),
241
+ v.feature.unresolvedCount.value > 0 ? (n(), m("span", _e, t(v.feature.unresolvedCount.value), 1)) : f("", !0)
242
+ ]), h("button", {
243
+ type: "button",
244
+ class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
245
+ "aria-label": d(A).comments.close,
246
+ onClick: i[0] ||= (e) => Tt("close")
247
+ }, [l(d(ue), {
248
+ size: 14,
249
+ "stroke-width": 2
250
+ })], 8, ve)]),
251
+ h("div", ye, [
252
+ h("button", {
253
+ type: "button",
254
+ class: r(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", P.value === "unresolved" ? "tpl-comment-filter--active" : ""]),
255
+ "aria-pressed": P.value === "unresolved",
256
+ "data-testid": "comments-filter-unresolved",
257
+ onClick: i[1] ||= (e) => J("unresolved")
258
+ }, t(d(A).comments.filterUnresolved), 11, be),
259
+ h("button", {
260
+ type: "button",
261
+ class: r(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", P.value === "all" ? "tpl-comment-filter--active" : ""]),
262
+ "aria-pressed": P.value === "all",
263
+ "data-testid": "comments-filter-all",
264
+ onClick: i[2] ||= (e) => J("all")
265
+ }, t(d(A).comments.filterAll), 11, xe),
266
+ d(M).state.selectedBlockId ? (n(), m("button", {
267
+ key: 0,
268
+ type: "button",
269
+ class: r(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", P.value === "block" ? "tpl-comment-filter--active" : ""]),
270
+ "aria-pressed": P.value === "block",
271
+ "data-testid": "comments-filter-block",
272
+ onClick: i[3] ||= (e) => J("block", d(M).state.selectedBlockId ?? void 0)
273
+ }, t(d(A).comments.filterBlock), 11, Se)) : f("", !0),
274
+ d(F) ? (n(), m("button", {
275
+ key: 1,
276
+ type: "button",
277
+ "data-testid": "comments-filter-language",
278
+ class: r(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:focus-visible:outline-none tpl:focus-visible:shadow-[var(--tpl-ring)]", I.value ? "tpl-comment-filter--active" : ""]),
279
+ "aria-pressed": I.value,
280
+ onClick: i[4] ||= (e) => I.value = !I.value
281
+ }, t(d(A).comments.filterLanguage), 11, Ce)) : f("", !0)
282
+ ]),
283
+ h("div", we, [Dt.value ? (n(), m("div", Te, [l(d(w), {
284
+ class: "tpl-spinner tpl:text-[var(--tpl-text-muted)]",
285
+ size: 24,
286
+ "stroke-width": 2
287
+ })])) : q.value.length === 0 ? (n(), m("div", Ee, [l(d(T), {
288
+ size: 32,
289
+ "stroke-width": 1.5,
290
+ class: "tpl:text-[var(--tpl-text-dim)]"
291
+ }), h("p", De, t(P.value === "all" ? d(A).comments.noCommentsHint : d(A).comments.noComments), 1)])) : (n(), m("div", Oe, [(n(!0), m(g, null, a(q.value, (e) => (n(), m("div", {
292
+ key: e.id,
293
+ class: "tpl-comment-thread",
294
+ "data-testid": "comment-thread"
295
+ }, [
296
+ h("div", ke, [
297
+ h("div", Ae, [h("div", je, [
298
+ h("span", Me, t(N.value.isOwn(e) ? d(A).comments.ownedByYou : e.author.name), 1),
299
+ h("span", Ne, t(Ht(e.createdAt)), 1),
300
+ d(F) ? (n(), m("span", {
301
+ key: 0,
302
+ "data-testid": "comment-locale-badge",
303
+ class: r(d(x))
304
+ }, t(d(S)(L(e))), 3)) : f("", !0),
305
+ e.updatedAt ? (n(), m("span", Pe, " (" + t(d(A).comments.edited) + ") ", 1)) : f("", !0)
306
+ ]), h("div", Fe, [
307
+ N.value.canResolve.value ? (n(), m("button", {
308
+ key: 0,
309
+ "data-testid": "comment-resolve",
310
+ class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
311
+ title: e.resolvedAt ? d(A).comments.unresolve : d(A).comments.resolve,
312
+ onClick: (t) => Bt(e)
313
+ }, [l(d(fe), {
314
+ size: 13,
315
+ "stroke-width": 2,
316
+ class: "tpl-resolve-icon",
317
+ style: o({ color: e.resolvedAt ? "var(--tpl-primary)" : void 0 })
318
+ }, null, 8, ["style"])], 8, Ie)) : f("", !0),
319
+ Q(e) ? (n(), m("button", {
320
+ key: 1,
321
+ "data-testid": "comment-edit",
322
+ class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
323
+ title: d(A).comments.edit,
324
+ onClick: (t) => Y(e)
325
+ }, [l(d(E), {
326
+ size: 12,
327
+ "stroke-width": 2
328
+ })], 8, Le)) : f("", !0),
329
+ Vt(e) ? (n(), m("button", {
330
+ key: 2,
331
+ "data-testid": "comment-delete",
332
+ class: "tpl-comment-action tpl-comment-delete tpl:rounded tpl:p-1 tpl:transition-colors",
333
+ title: d(A).comments.delete,
334
+ onClick: (t) => Ft(e.id)
335
+ }, [l(d(O), {
336
+ size: 12,
337
+ "stroke-width": 2
338
+ })], 8, Re)) : f("", !0)
339
+ ])]),
340
+ l(b, { name: "tpl-resolve" }, {
341
+ default: s(() => [e.resolvedAt ? (n(), m("div", ze, [l(d(se), {
342
+ size: 10,
343
+ "stroke-width": 2.5
344
+ }), h("span", null, t(d(j)(d(A).comments.resolvedBy, { name: e.resolvedBy?.name ?? "" })), 1)])) : f("", !0)]),
345
+ _: 2
346
+ }, 1024),
347
+ e.blockId && kt(e.blockId) ? (n(), m("span", Be, t(d(A).comments.missingBlock), 1)) : e.blockId ? (n(), m("button", {
348
+ key: 1,
349
+ class: "tpl:mt-1 tpl:inline-flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:transition-colors tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)]",
350
+ onClick: (t) => d(M).selectBlock(e.blockId ?? "")
351
+ }, t(d(A).comments.jumpToBlock), 9, Ve)) : f("", !0),
352
+ V.value === e.id ? (n(), m("div", He, [c(h("textarea", {
353
+ "onUpdate:modelValue": i[5] ||= (e) => H.value = e,
354
+ class: "tpl:w-full tpl:resize-none tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:font-sans tpl:text-xs tpl:outline-none tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]",
355
+ rows: "3",
356
+ onKeydown: (t) => $(t, e.id)
357
+ }, null, 40, Ue), [[y, H.value]]), h("div", We, [h("button", {
358
+ class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]",
359
+ disabled: !H.value.trim() || N.value.isSubmitting.value,
360
+ onClick: (t) => Z(e.id)
361
+ }, t(d(A).comments.save), 9, Ge), h("button", {
362
+ class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
363
+ onClick: i[6] ||= (e) => X()
364
+ }, t(d(A).comments.cancel), 1)])])) : (n(), m("p", Ke, t(e.body), 1)),
365
+ W.value === e.id ? (n(), m("div", qe, [
366
+ h("span", Je, t(d(A).comments.deleteConfirm), 1),
367
+ h("button", {
368
+ class: "tpl:rounded tpl:px-2 tpl:py-0.5 tpl:text-xs tpl:font-medium tpl:bg-[var(--tpl-danger)] tpl:text-[var(--tpl-bg)]",
369
+ "data-testid": "comment-delete-confirm",
370
+ onClick: (t) => zt(e.id)
371
+ }, t(d(A).comments.delete), 9, Ye),
372
+ h("button", {
373
+ class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
374
+ onClick: i[7] ||= (e) => It()
375
+ }, t(d(A).comments.cancel), 1)
376
+ ])) : f("", !0),
377
+ V.value !== e.id && W.value !== e.id ? (n(), m("div", Xe, [N.value.canCreate.value ? (n(), m("button", {
378
+ key: 0,
379
+ "data-testid": "comment-reply",
380
+ class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
381
+ title: d(A).comments.reply,
382
+ onClick: (t) => Nt(e.id)
383
+ }, [l(d(pe), {
384
+ size: 13,
385
+ "stroke-width": 2,
386
+ class: "tpl:text-[var(--tpl-primary)]"
387
+ })], 8, Ze)) : f("", !0), (e.replies?.length ?? 0) > 0 ? (n(), m("button", {
388
+ key: 1,
389
+ class: "tpl:flex tpl:items-center tpl:gap-0.5 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
390
+ onClick: (t) => Mt(e.id)
391
+ }, [U.value.has(e.id) ? (n(), _(d(le), {
392
+ key: 0,
393
+ size: 11,
394
+ "stroke-width": 2
395
+ })) : (n(), _(d(ce), {
396
+ key: 1,
397
+ size: 11,
398
+ "stroke-width": 2
399
+ })), ee(" " + t((e.replies?.length ?? 0) === 1 ? d(j)(d(A).comments.replyOne, { count: String(e.replies?.length ?? 0) }) : d(j)(d(A).comments.replyMany, { count: String(e.replies?.length ?? 0) })), 1)], 8, Qe)) : f("", !0)])) : f("", !0)
400
+ ]),
401
+ l(b, { name: "tpl-replies" }, {
402
+ default: s(() => [U.value.has(e.id) && (e.replies?.length ?? 0) > 0 ? (n(), m("div", $e, [(n(!0), m(g, null, a(e.replies, (a, o) => (n(), m("div", {
403
+ key: a.id,
404
+ class: r(["tpl-comment-reply-card tpl:relative tpl:rounded-lg tpl:border tpl:px-3.5 tpl:py-2.5", o < (e.replies?.length ?? 0) - 1 ? "tpl:mb-2" : ""])
405
+ }, [
406
+ h("div", et, [h("div", tt, [
407
+ h("span", nt, t(N.value.isOwn(a) ? d(A).comments.ownedByYou : a.author.name), 1),
408
+ h("span", rt, t(Ht(a.createdAt)), 1),
409
+ d(F) ? (n(), m("span", {
410
+ key: 0,
411
+ "data-testid": "comment-locale-badge",
412
+ class: r(d(x))
413
+ }, t(d(S)(L(a))), 3)) : f("", !0),
414
+ a.updatedAt ? (n(), m("span", it, " (" + t(d(A).comments.edited) + ") ", 1)) : f("", !0)
415
+ ]), h("div", at, [Q(a) ? (n(), m("button", {
416
+ key: 0,
417
+ class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
418
+ title: d(A).comments.edit,
419
+ onClick: (e) => Y(a)
420
+ }, [l(d(E), {
421
+ size: 11,
422
+ "stroke-width": 2
423
+ })], 8, ot)) : f("", !0), Vt(a) ? (n(), m("button", {
424
+ key: 1,
425
+ class: "tpl-comment-action tpl-comment-delete tpl:rounded tpl:p-1 tpl:transition-colors",
426
+ title: d(A).comments.delete,
427
+ onClick: (e) => Ft(a.id)
428
+ }, [l(d(O), {
429
+ size: 11,
430
+ "stroke-width": 2
431
+ })], 8, st)) : f("", !0)])]),
432
+ V.value === a.id ? (n(), m("div", ct, [c(h("textarea", {
433
+ "onUpdate:modelValue": i[8] ||= (e) => H.value = e,
434
+ class: "tpl:w-full tpl:resize-none tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:font-sans tpl:text-xs tpl:outline-none tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]",
435
+ rows: "2",
436
+ onKeydown: (e) => $(e, a.id)
437
+ }, null, 40, lt), [[y, H.value]]), h("div", ut, [h("button", {
438
+ class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]",
439
+ disabled: !H.value.trim() || N.value.isSubmitting.value,
440
+ onClick: (e) => Z(a.id)
441
+ }, t(d(A).comments.save), 9, dt), h("button", {
442
+ class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
443
+ onClick: i[9] ||= (e) => X()
444
+ }, t(d(A).comments.cancel), 1)])])) : (n(), m("p", ft, t(a.body), 1)),
445
+ W.value === a.id ? (n(), m("div", pt, [
446
+ h("span", mt, t(d(A).comments.deleteConfirm), 1),
447
+ h("button", {
448
+ class: "tpl:rounded tpl:px-2 tpl:py-0.5 tpl:text-xs tpl:font-medium tpl:bg-[var(--tpl-danger)] tpl:text-[var(--tpl-bg)]",
449
+ "data-testid": "comment-delete-confirm",
450
+ onClick: (e) => zt(a.id)
451
+ }, t(d(A).comments.delete), 9, ht),
452
+ h("button", {
453
+ class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
454
+ onClick: i[10] ||= (e) => It()
455
+ }, t(d(A).comments.cancel), 1)
456
+ ])) : f("", !0)
457
+ ], 2))), 128))])) : f("", !0)]),
458
+ _: 2
459
+ }, 1024),
460
+ l(b, { name: "tpl-replies" }, {
461
+ default: s(() => [z.value === e.id ? (n(), m("div", gt, [h("div", _t, [
462
+ c(h("textarea", {
463
+ "onUpdate:modelValue": i[11] ||= (e) => B.value = e,
464
+ class: "tpl:max-h-24 tpl:flex-1 tpl:resize-none tpl:border-none tpl:bg-transparent tpl:font-sans tpl:text-xs tpl:outline-none tpl:text-[var(--tpl-text)]",
465
+ placeholder: d(A).comments.replyPlaceholder,
466
+ rows: "2",
467
+ onKeydown: (t) => Wt(t, e.id)
468
+ }, null, 40, vt), [[y, B.value]]),
469
+ h("button", {
470
+ class: "tpl-comments-send-btn tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-md tpl:p-1.5 tpl:transition-all tpl:disabled:opacity-40 tpl:text-[var(--tpl-primary)]",
471
+ disabled: !B.value.trim() || N.value.isSubmitting.value,
472
+ onClick: (t) => Rt(e.id)
473
+ }, [l(d(D), {
474
+ size: 14,
475
+ "stroke-width": 2
476
+ })], 8, yt),
477
+ h("button", {
478
+ class: "tpl-comments-send-btn tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-md tpl:p-1.5 tpl:transition-all tpl:text-[var(--tpl-text-muted)]",
479
+ onClick: i[12] ||= (e) => Pt()
480
+ }, [l(d(ue), {
481
+ size: 14,
482
+ "stroke-width": 2
483
+ })])
484
+ ])])) : f("", !0)]),
485
+ _: 2
486
+ }, 1024)
487
+ ]))), 128))]))]),
488
+ N.value.canCreate.value ? (n(), m("div", bt, [At.value ? (n(), m("div", xt, t(d(A).comments.saveTemplateFirst), 1)) : (n(), m("div", St, [c(h("textarea", {
489
+ ref_key: "newCommentInput",
490
+ ref: G,
491
+ "onUpdate:modelValue": i[13] ||= (e) => R.value = e,
492
+ class: "tpl:max-h-24 tpl:min-h-[48px] tpl:flex-1 tpl:resize-none tpl:border-none tpl:bg-transparent tpl:font-sans tpl:text-xs tpl:outline-none tpl:text-[var(--tpl-text)]",
493
+ "data-testid": "comments-input",
494
+ placeholder: d(A).comments.placeholder,
495
+ disabled: N.value.isSubmitting.value,
496
+ rows: "2",
497
+ onKeydown: Ut
498
+ }, null, 40, Ct), [[y, R.value]]), h("button", {
499
+ class: "tpl-comments-send-btn tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-md tpl:p-1.5 tpl:transition-all tpl:disabled:opacity-40 tpl:text-[var(--tpl-primary)]",
500
+ "data-testid": "comments-send",
501
+ disabled: !R.value.trim() || N.value.isSubmitting.value,
502
+ onClick: Lt
503
+ }, [N.value.isSubmitting.value ? (n(), _(d(w), {
504
+ key: 0,
505
+ class: "tpl-spinner",
506
+ size: 16,
507
+ "stroke-width": 2
508
+ })) : (n(), _(d(D), {
509
+ key: 1,
510
+ size: 16,
511
+ "stroke-width": 2
512
+ }))], 8, wt)]))])) : f("", !0)
513
+ ], 8, me)) : f("", !0);
514
+ }
515
+ }), [["__scopeId", "data-v-75eacb94"]]);
516
+ export { k as default };
@@ -1,7 +1,7 @@
1
- import { Ft as e, M as t, P as n, Pt as r, c as i, ct as a, d as o, et as s, f as c, l, r as u, y as d } from "./vue.runtime.esm-bundler-BJXc_Mri.js";
2
- import { g as f } from "./dist-CX7skkvG.js";
3
- import { t as p } from "./useI18n-zeWYtWSv.js";
4
- import { b as m, st as h } from "./keys-w_VRjoMu.js";
1
+ import { Ft as e, M as t, P as n, Pt as r, c as i, ct as a, d as o, et as s, f as c, l, r as u, y as d } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
2
+ import { g as f } from "./dist-A328tG0Z.js";
3
+ import { t as p } from "./useI18n-CM9vKbYc.js";
4
+ import { b as m, ct as h } from "./keys-D9oKZN1h.js";
5
5
  // src/components/blocks/CountdownBlock.vue?vue&type=script&setup=true&lang.ts
6
6
  var g = {
7
7
  key: 0,
@@ -1,11 +1,11 @@
1
- import { Ft as e, M as t, Mt as n, P as r, U as i, _ as a, c as o, ct as s, f as c, l, r as u, u as d, y as f } from "./vue.runtime.esm-bundler-BJXc_Mri.js";
2
- import { c as p } from "./LogicTagInsertButton-BSolF7Fd.js";
3
- import { n as m, r as h } from "./Toolbar-pzNIakGM.js";
4
- import { n as g } from "./MergeTagTextarea-DJlf3VbS.js";
5
- import { t as _ } from "./ToggleSwitch-R3wCCYE6.js";
6
- import { t as v } from "./useI18n-zeWYtWSv.js";
1
+ import { Ft as e, M as t, Mt as n, P as r, U as i, _ as a, c as o, ct as s, f as c, l, r as u, u as d, y as f } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
2
+ import { c as p } from "./LogicTagInsertButton-Ci7V0Exe.js";
3
+ import { n as m, r as h } from "./Toolbar-BUVRjylH.js";
4
+ import { n as g } from "./MergeTagTextarea-BRMB24Dg.js";
5
+ import { t as _ } from "./ToggleSwitch-BIPdFWUr.js";
6
+ import { t as v } from "./useI18n-CM9vKbYc.js";
7
7
  import { h as y } from "./styleConstants-CgiNKdnc.js";
8
- import { t as b } from "./withCurrentFont-m_PHcOD0.js";
8
+ import { t as b } from "./withCurrentFont-CPhRujet.js";
9
9
  // src/components/toolbar/CountdownToolbar.vue?vue&type=script&setup=true&lang.ts
10
10
  var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, T = ["value"], E = { value: "" }, D = ["value"], O = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, k = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, A = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, j = [
11
11
  "value",
@@ -1,14 +1,14 @@
1
- import { B as e, Ft as t, L as n, M as r, Mt as ee, O as i, P as te, _ as a, c as o, ct as s, d as c, et as l, f as u, g as d, j as ne, l as f, r as p, u as m, v as h, w as g, y as re } from "./vue.runtime.esm-bundler-BJXc_Mri.js";
2
- import { a as ie, n as ae, o as oe, r as se, t as ce } from "./useScrollToBlock-BfOzc1Z6.js";
3
- import { t as le } from "./circle-alert-Tq7kAh9S.js";
4
- import { t as ue } from "./triangle-alert-CKcpwtUj.js";
5
- import { t as de } from "./info-DKja7A68.js";
6
- import { t as _ } from "./createLucideIcon-CfBdtoUw.js";
7
- import { t as fe } from "./check-CcuCoJDh.js";
8
- import { t as v } from "./sparkles-IHfEwEcd.js";
9
- import { t as pe } from "./square-_Cl44UU6.js";
10
- import { t as me } from "./useI18n-zeWYtWSv.js";
11
- import { $ as he, D as ge, Q as _e, it as ve, n as ye, v as be } from "./keys-w_VRjoMu.js";
1
+ import { B as e, Ft as t, L as n, M as r, Mt as ee, O as i, P as te, _ as a, c as o, ct as s, d as c, et as l, f as u, g as d, j as ne, l as f, r as p, u as m, v as h, w as g, y as re } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
2
+ import { a as ie, n as ae, o as oe, r as se, t as ce } from "./useScrollToBlock-vf_KD0FM.js";
3
+ import { t as le } from "./circle-exclamation-point-DHjORV_I.js";
4
+ import { t as ue } from "./triangle-exclamation-point-BhJvBEoT.js";
5
+ import { t as de } from "./info-DDbLU4pT.js";
6
+ import { t as _ } from "./createLucideIcon-D-mELTSY.js";
7
+ import { t as fe } from "./check-C7ua4TAK.js";
8
+ import { t as v } from "./sparkles-JWQlUiSn.js";
9
+ import { t as pe } from "./square-DshDy1Il.js";
10
+ import { t as me } from "./useI18n-CM9vKbYc.js";
11
+ import { $ as he, D as ge, at as _e, et as ve, n as ye, v as be } from "./keys-D9oKZN1h.js";
12
12
  var xe = _({
13
13
  name: "arrow-right",
14
14
  size: 24,
@@ -62,7 +62,7 @@ var xe = _({
62
62
  }, y = /* @__PURE__ */ re({
63
63
  __name: "IssuesPanel",
64
64
  setup(re) {
65
- let _ = h(() => import("./AiAltTextPopover-CpZ7UeAZ.js")), y = h(() => import("./AiAltTextReview-LYxvn7Qe.js")), b = l(null), x = l(null);
65
+ let _ = h(() => import("./AiAltTextPopover-BiZHthAB.js")), y = h(() => import("./AiAltTextReview-BwhROHiF.js")), b = l(null), x = l(null);
66
66
  function Ye() {
67
67
  j && !j.busy.value && (O(), b.value = [...Q.value]);
68
68
  }
@@ -90,7 +90,7 @@ var xe = _({
90
90
  function Qe(e, t) {
91
91
  D(e) && (w.value = t);
92
92
  }
93
- let { t: k, format: A } = me(), j = g(ye, null), M = g(he, null), N = g(be, null), P = g(_e, null), $e = g(ve, "en"), et = ce(), tt = g(ge, null), nt = o(() => !!P && !P.cloud && P.canRenderHtml() && P.options.disabled !== !0 && P.options.compatibility !== !1 && P.options.compatibility?.rules?.["compat.gmail-clipping"] !== "off"), F = l(!1), I = l(null), L = l(null), R = l(""), z = l(!1), B = 0, V = !1;
93
+ let { t: k, format: A } = me(), j = g(ye, null), M = g(ve, null), N = g(be, null), P = g(he, null), $e = g(_e, "en"), et = ce(), tt = g(ge, null), nt = o(() => !!P && !P.cloud && P.canRenderHtml() && P.options.disabled !== !0 && P.options.compatibility !== !1 && P.options.compatibility?.rules?.["compat.gmail-clipping"] !== "off"), F = l(!1), I = l(null), L = l(null), R = l(""), z = l(!1), B = 0, V = !1;
94
94
  N && e(N.content, () => {
95
95
  B++, I.value !== null && (z.value = !0);
96
96
  }, { deep: !0 }), ne(() => {
@@ -1,20 +1,20 @@
1
- import { B as e, Ft as t, M as n, Mt as r, O as i, P as a, U as ee, _ as o, c as s, ct as c, d as l, et as u, f as d, g as f, l as p, r as m, u as h, w as g, y as _ } from "./vue.runtime.esm-bundler-BJXc_Mri.js";
2
- import { t as te } from "./dist-CiYotUR8.js";
3
- import { t as v } from "./triangle-alert-CKcpwtUj.js";
4
- import { t as y } from "./createLucideIcon-CfBdtoUw.js";
5
- import { t as ne } from "./check-CcuCoJDh.js";
6
- import { t as re } from "./chevron-down-BfYIbFbC.js";
7
- import { t as ie } from "./chevron-right-DyjFqY35.js";
8
- import { t as ae } from "./plus-DxZiv9YC.js";
9
- import { t as oe } from "./trash-Cr7rD5Hh.js";
10
- import { At as se, et as ce, jt as b, st as le, tt as ue } from "./dist-BMUUt3zJ.js";
11
- import { t as de } from "./useI18n-zeWYtWSv.js";
12
- import { t as fe } from "./useLocalizedDisplay-Cbhx208c.js";
13
- import { E as pe, h as me, it as he, t as ge } from "./keys-w_VRjoMu.js";
1
+ import { B as e, Ft as t, M as n, Mt as r, O as i, P as a, U as ee, _ as o, c as s, ct as c, d as l, et as u, f as d, g as f, l as p, r as m, u as h, w as g, y as _ } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
2
+ import { t as te } from "./dist-B6ptxfPo.js";
3
+ import { t as v } from "./triangle-exclamation-point-BhJvBEoT.js";
4
+ import { t as y } from "./createLucideIcon-D-mELTSY.js";
5
+ import { t as ne } from "./check-C7ua4TAK.js";
6
+ import { t as re } from "./chevron-down-DftQrAkI.js";
7
+ import { t as ie } from "./chevron-right-B-DULGbg.js";
8
+ import { t as ae } from "./plus-CotJVDxb.js";
9
+ import { t as oe } from "./trash-B1lZp2Tv.js";
10
+ import { Mt as se, Nt as b, lt as ce, nt as le, rt as ue } from "./dist-C0hVefGI.js";
11
+ import { t as de } from "./useI18n-CM9vKbYc.js";
12
+ import { t as fe } from "./useLocalizedDisplay-B7tlQF4g.js";
13
+ import { E as pe, at as me, h as he, t as ge } from "./keys-D9oKZN1h.js";
14
14
  import { t as x } from "./plural-CyxrJXL1.js";
15
15
  import { t as S } from "./languageName-DEEOhDWI.js";
16
16
  import { C as _e, b as ve, f as ye, u as be, w as xe } from "./styleConstants-CgiNKdnc.js";
17
- import { t as Se } from "./TplModal-WNuWhHZm.js";
17
+ import { t as Se } from "./TplModal-BPPP-uM6.js";
18
18
  import { t as C } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
19
19
  var Ce = y({
20
20
  name: "arrow-up-to-line",
@@ -100,7 +100,7 @@ var Ce = y({
100
100
  locales: {}
101
101
  },
102
102
  setup(_) {
103
- let y = _, { t: C, format: E } = de(), D = g(he, void 0) ?? "en", tt = g(pe, null), O = g(me, []), k = u(null), A = u(null), j = `tpl-language-reason-${le()}`, M = u(!1), N = u(null), P = u(null), F = u(null), I = u(null), L = u(null), R = s(() => ue(y.editor.content.value)), z = s(() => y.editor.activeLocale?.value ?? R.value), B = s(() => y.editor.content.value.settings.locales ?? []), V = s(() => y.locales.filter((e) => e !== R.value && !B.value.includes(e))), H = s(() => z.value === R.value || y.locales.includes(z.value)), U = g(ge, null) ?? fe(y.editor, O), W = s(() => M.value ? [R.value, ...B.value].map((e) => ({
103
+ let y = _, { t: C, format: E } = de(), D = g(me, void 0) ?? "en", tt = g(pe, null), O = g(he, []), k = u(null), A = u(null), j = `tpl-language-reason-${ce()}`, M = u(!1), N = u(null), P = u(null), F = u(null), I = u(null), L = u(null), R = s(() => ue(y.editor.content.value)), z = s(() => y.editor.activeLocale?.value ?? R.value), B = s(() => y.editor.content.value.settings.locales ?? []), V = s(() => y.locales.filter((e) => e !== R.value && !B.value.includes(e))), H = s(() => z.value === R.value || y.locales.includes(z.value)), U = g(ge, null) ?? fe(y.editor, O), W = s(() => M.value ? [R.value, ...B.value].map((e) => ({
104
104
  locale: e,
105
105
  coverage: e === R.value ? null : e === z.value ? U.value : se(y.editor.content.value, e, O)
106
106
  })) : []), nt = s(() => N.value && B.value.includes(N.value) && H.value && y.locales.includes(N.value) ? b(y.editor.content.value, N.value) : []), G = s(() => y.locales.includes(R.value)), K = s(() => nt.value.length > 0 || !G.value), q = s(() => (U.value?.missing.length ?? 0) + (U.value?.stale.length ?? 0)), J = s(() => q.value ? E(C.localization.gapTooltip, {
@@ -174,7 +174,7 @@ var Ce = y({
174
174
  function pt(e) {
175
175
  Z(e) && (ut(), F.value = { locale: e }, N.value = null);
176
176
  }
177
- let mt = s(() => F.value ? ce(y.editor.content.value, F.value.locale, O).length : 0), Q = s(() => F.value ? E(C.localization.makeDefaultConfirmation, { language: S(F.value.locale) }) : E(C.localization.removeConfirmation, { language: S(P.value ?? R.value) }));
177
+ let mt = s(() => F.value ? le(y.editor.content.value, F.value.locale, O).length : 0), Q = s(() => F.value ? E(C.localization.makeDefaultConfirmation, { language: S(F.value.locale) }) : E(C.localization.removeConfirmation, { language: S(P.value ?? R.value) }));
178
178
  function $() {
179
179
  let e = F.value?.locale ?? P.value;
180
180
  L.value = null, I.value = null, F.value = null, P.value = null, i(() => {
@@ -1,4 +1,4 @@
1
- import { M as e, f as t } from "./vue.runtime.esm-bundler-BJXc_Mri.js";
1
+ import { M as e, f as t } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
2
2
  import { t as n } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
3
3
  // src/components/LoadingTrack.vue
4
4
  var r = {}, i = { class: "tpl-loading-track" };