@templatical/editor 0.52.1 → 0.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (396) hide show
  1. package/README.md +1 -1
  2. package/dist/AiAltTextPopover-NMJqQKvD.js +106 -0
  3. package/dist/{AiAltTextReview-9ySsXOTU.js → AiAltTextReview-Ci4zHwRc.js} +68 -66
  4. package/dist/AiChatPanel-DdhtfsmO.js +561 -0
  5. package/dist/{AiPanels-DqT4PgQ0.js → AiPanels-HBx7xoJR.js} +6 -6
  6. package/dist/{AiRewriteMenu-28agTycW.js → AiRewriteMenu-DPzSekZt.js} +76 -105
  7. package/dist/BlockIssueBadge-eIXZJ9M3.js +33 -0
  8. package/dist/BlockPreviewCanvas-DO-2TP_6.js +140 -0
  9. package/dist/{CloudHeaderExtras-QI82yF54.js → CloudHeaderExtras-XpjJjn3o.js} +4 -4
  10. package/dist/{CloudPanels-BKJaLkUN.js → CloudPanels-i2kZdrdP.js} +53 -53
  11. package/dist/CollaborationNotices-DANsjl7c.js +65 -0
  12. package/dist/{CollaboratorBar-CXQqN3VP.js → CollaboratorBar-CbbAA0m1.js} +24 -24
  13. package/dist/CommentsPanel-CYW3LWis.js +16 -0
  14. package/dist/CommentsSidebar-CcF4ISMi.js +526 -0
  15. package/dist/{CountdownBlock-CU2yTWtF.js → CountdownBlock-BMezkFbJ.js} +15 -15
  16. package/dist/CountdownToolbar-D3Lv74kU.js +258 -0
  17. package/dist/IssuesPanel-BMAG9042.js +371 -0
  18. package/dist/LanguageMenu-FlP_Jbup.js +403 -0
  19. package/dist/{LoadingTrack-DM4g6j7b.js → LoadingTrack-BG8cg9xi.js} +2 -2
  20. package/dist/LocaleNotices-DAnVszWu.js +46 -0
  21. package/dist/LogicTagInsertButton-BjYs-UQX.js +1096 -0
  22. package/dist/{MediaEditModal-Dy08GEwE.js → MediaEditModal-LnG-cF_S.js} +451 -451
  23. package/dist/{MediaPanels-BgEp7iCp.js → MediaPanels-C2r5fiFo.js} +4 -4
  24. package/dist/{MergeTagInput-B9dtUthD.js → MergeTagInput-BsnogCeY.js} +30 -30
  25. package/dist/{MergeTagModeToggle-DxujhYJ4.js → MergeTagModeToggle-DiufIQ-_.js} +49 -49
  26. package/dist/MergeTagTextarea-BweI-Xsi.js +126 -0
  27. package/dist/ParagraphEditor-qgBp5yIB.js +825 -0
  28. package/dist/{RestoreVersionDialog-C4s_JYCx.js → RestoreVersionDialog-DdYUrFiK.js} +23 -23
  29. package/dist/{RichTextEditorContent-o6HmE8GR.js → RichTextEditorContent-C5MAzx3E.js} +47 -47
  30. package/dist/{SaveBlockDialog-CWLrly6l.js → SaveBlockDialog-eK6fjtTy.js} +86 -86
  31. package/dist/{cdn/chunks/SavedBlocksBrowserModal-BPYcRoGa.js → SavedBlocksBrowserModal-D2QHd2Yp.js} +135 -132
  32. package/dist/{SavedBlocksPanels-BE1N9rNZ.js → SavedBlocksPanels-Cl61f4Mf.js} +9 -9
  33. package/dist/{SavedBlocksPickBar-Dwl94xhP.js → SavedBlocksPickBar-CXP2dkeB.js} +15 -15
  34. package/dist/TemplateSettings-BKJrdZcH.js +294 -0
  35. package/dist/TestEmailModal-DQotJg6g.js +212 -0
  36. package/dist/{TestEmailPanel-DaFjP9QK.js → TestEmailPanel-CwiTzJsh.js} +4 -4
  37. package/dist/TitleEditor-CzSvsPAn.js +202 -0
  38. package/dist/ToggleSwitch-R3wCCYE6.js +43 -0
  39. package/dist/Toolbar-Cd75ci5W.js +3711 -0
  40. package/dist/{TplModal-DLMssVlt.js → TplModal-ZoXu40T9.js} +17 -17
  41. package/dist/{VersionHistoryMenu-BkbYUs0Q.js → VersionHistoryMenu-BvhN-Ofk.js} +39 -39
  42. package/dist/{VersionHistoryPanels-DP7HaYWv.js → VersionHistoryPanels-DPWMnYbd.js} +5 -5
  43. package/dist/VersionPreviewBanner-CuJnasxH.js +37 -0
  44. package/dist/WrapperBlock-D4fPwO0t.js +44 -0
  45. package/dist/{blockTypeIcons-BHjlPnPf.js → blockTypeIcons-BXMxu86H.js} +7 -7
  46. package/dist/bundle-stats.json +8 -8
  47. package/dist/{cdn/chunks/ca-CD-Kt1qz.js → ca-DOuIxWRv.js} +114 -2
  48. package/dist/cdn/chunks/AiAltTextPopover-ByZ0FEqI.js +107 -0
  49. package/dist/cdn/chunks/AiAltTextPopover-ByZ0FEqI.js.map +1 -0
  50. package/dist/cdn/chunks/{AiAltTextReview-BGLLSKLm.js → AiAltTextReview-Dtm3A2cD.js} +70 -68
  51. package/dist/cdn/chunks/AiAltTextReview-Dtm3A2cD.js.map +1 -0
  52. package/dist/cdn/chunks/AiChatPanel-DciEt27y.js +487 -0
  53. package/dist/cdn/chunks/AiChatPanel-DciEt27y.js.map +1 -0
  54. package/dist/cdn/chunks/{AiPanels-0wBarZSH.js → AiPanels-BV5D1itk.js} +11 -11
  55. package/dist/cdn/chunks/{AiPanels-0wBarZSH.js.map → AiPanels-BV5D1itk.js.map} +1 -1
  56. package/dist/cdn/chunks/{AiRewriteMenu-qf-cfEpy.js → AiRewriteMenu-D3jkh6Xb.js} +79 -79
  57. package/dist/cdn/chunks/AiRewriteMenu-D3jkh6Xb.js.map +1 -0
  58. package/dist/cdn/chunks/BlockIssueBadge-DyEgBZtR.js +34 -0
  59. package/dist/cdn/chunks/BlockIssueBadge-DyEgBZtR.js.map +1 -0
  60. package/dist/cdn/chunks/BlockPreviewCanvas-RQFilqXC.js +142 -0
  61. package/dist/cdn/chunks/{BlockPreviewCanvas-DGBh6mqe.js.map → BlockPreviewCanvas-RQFilqXC.js.map} +1 -1
  62. package/dist/cdn/chunks/{CloudHeaderExtras-BMNK_F9p.js → CloudHeaderExtras-BtqdN777.js} +4 -4
  63. package/dist/cdn/chunks/{CloudHeaderExtras-BMNK_F9p.js.map → CloudHeaderExtras-BtqdN777.js.map} +1 -1
  64. package/dist/cdn/chunks/{CloudPanels-JMWIoVWh.js → CloudPanels-BSJ-Z5Hw.js} +45 -45
  65. package/dist/cdn/chunks/{CloudPanels-JMWIoVWh.js.map → CloudPanels-BSJ-Z5Hw.js.map} +1 -1
  66. package/dist/cdn/chunks/CollaborationNotices-BS7xrlPE.js +67 -0
  67. package/dist/cdn/chunks/CollaborationNotices-BS7xrlPE.js.map +1 -0
  68. package/dist/cdn/chunks/{CollaboratorBar-CXByAoUz.js → CollaboratorBar-Bc9914Az.js} +17 -17
  69. package/dist/cdn/chunks/{CollaboratorBar-CXByAoUz.js.map → CollaboratorBar-Bc9914Az.js.map} +1 -1
  70. package/dist/cdn/chunks/CommentsPanel-DbR9phAk.js +18 -0
  71. package/dist/cdn/chunks/{CommentsPanel-DoJnKLXI.js.map → CommentsPanel-DbR9phAk.js.map} +1 -1
  72. package/dist/cdn/chunks/CommentsSidebar-BD4--XP2.js +496 -0
  73. package/dist/cdn/chunks/CommentsSidebar-BD4--XP2.js.map +1 -0
  74. package/dist/cdn/chunks/{CountdownBlock-BqRw147R.js → CountdownBlock-CjMhMhnv.js} +22 -22
  75. package/dist/cdn/chunks/{CountdownBlock-BqRw147R.js.map → CountdownBlock-CjMhMhnv.js.map} +1 -1
  76. package/dist/cdn/chunks/CountdownToolbar-DxwYBw-d.js +260 -0
  77. package/dist/cdn/chunks/CountdownToolbar-DxwYBw-d.js.map +1 -0
  78. package/dist/cdn/chunks/{IssuesPanel-C7LfxaAY.js → IssuesPanel-CUmI4HMm.js} +133 -121
  79. package/dist/cdn/chunks/IssuesPanel-CUmI4HMm.js.map +1 -0
  80. package/dist/cdn/chunks/LanguageMenu-3ydCozQJ.js +359 -0
  81. package/dist/cdn/chunks/LanguageMenu-3ydCozQJ.js.map +1 -0
  82. package/dist/cdn/chunks/{LoadingTrack-CZuLTazv.js → LoadingTrack-DUYcDHOV.js} +2 -2
  83. package/dist/cdn/chunks/{LoadingTrack-CZuLTazv.js.map → LoadingTrack-DUYcDHOV.js.map} +1 -1
  84. package/dist/cdn/chunks/LocaleNotices-BfoH6gST.js +47 -0
  85. package/dist/cdn/chunks/LocaleNotices-BfoH6gST.js.map +1 -0
  86. package/dist/{LogicTagInsertButton-CfscnwCn.js → cdn/chunks/LogicTagInsertButton-5Z3fFzjc.js} +422 -449
  87. package/dist/cdn/chunks/LogicTagInsertButton-5Z3fFzjc.js.map +1 -0
  88. package/dist/cdn/chunks/{MediaEditModal-Cpcod6_U.js → MediaEditModal-DDCIwr9U.js} +421 -421
  89. package/dist/cdn/chunks/MediaEditModal-DDCIwr9U.js.map +1 -0
  90. package/dist/cdn/chunks/{MediaPanels-BIdcW_1f.js → MediaPanels-Dz79oy8P.js} +5 -5
  91. package/dist/cdn/chunks/{MediaPanels-BIdcW_1f.js.map → MediaPanels-Dz79oy8P.js.map} +1 -1
  92. package/dist/cdn/chunks/{MergeTagInput-BvWg8o5E.js → MergeTagInput-CIWy-cXf.js} +28 -28
  93. package/dist/cdn/chunks/{MergeTagInput-BvWg8o5E.js.map → MergeTagInput-CIWy-cXf.js.map} +1 -1
  94. package/dist/cdn/chunks/{MergeTagModeToggle-BgKEVUtV.js → MergeTagModeToggle-BrP5GR-x.js} +52 -52
  95. package/dist/cdn/chunks/MergeTagModeToggle-BrP5GR-x.js.map +1 -0
  96. package/dist/cdn/chunks/MergeTagTextarea-D3nNDlhV.js +128 -0
  97. package/dist/cdn/chunks/MergeTagTextarea-D3nNDlhV.js.map +1 -0
  98. package/dist/cdn/chunks/ParagraphEditor-DDolH_Pf.js +660 -0
  99. package/dist/cdn/chunks/ParagraphEditor-DDolH_Pf.js.map +1 -0
  100. package/dist/cdn/chunks/{RestoreVersionDialog-CjOdD2xj.js → RestoreVersionDialog-Crj1DBqC.js} +22 -22
  101. package/dist/cdn/chunks/{RestoreVersionDialog-CjOdD2xj.js.map → RestoreVersionDialog-Crj1DBqC.js.map} +1 -1
  102. package/dist/cdn/chunks/{RichTextEditorContent-DNjR_sNN.js → RichTextEditorContent-rCCqFlwJ.js} +44 -44
  103. package/dist/cdn/chunks/{RichTextEditorContent-DNjR_sNN.js.map → RichTextEditorContent-rCCqFlwJ.js.map} +1 -1
  104. package/dist/cdn/chunks/{SaveBlockDialog-CUhpawq0.js → SaveBlockDialog-C34RW1aM.js} +77 -77
  105. package/dist/cdn/chunks/{SaveBlockDialog-CUhpawq0.js.map → SaveBlockDialog-C34RW1aM.js.map} +1 -1
  106. package/dist/{SavedBlocksBrowserModal-CE8n4EBS.js → cdn/chunks/SavedBlocksBrowserModal-CJnwWPT-.js} +103 -106
  107. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BPYcRoGa.js.map → SavedBlocksBrowserModal-CJnwWPT-.js.map} +1 -1
  108. package/dist/cdn/chunks/{SavedBlocksPanels-C6--Bc81.js → SavedBlocksPanels-CA2PqXIH.js} +9 -9
  109. package/dist/cdn/chunks/{SavedBlocksPanels-C6--Bc81.js.map → SavedBlocksPanels-CA2PqXIH.js.map} +1 -1
  110. package/dist/cdn/chunks/{SavedBlocksPickBar-DUavxpbU.js → SavedBlocksPickBar-Dj3ortee.js} +16 -16
  111. package/dist/cdn/chunks/{SavedBlocksPickBar-DUavxpbU.js.map → SavedBlocksPickBar-Dj3ortee.js.map} +1 -1
  112. package/dist/cdn/chunks/TemplateSettings-sW0ZlDl1.js +266 -0
  113. package/dist/cdn/chunks/TemplateSettings-sW0ZlDl1.js.map +1 -0
  114. package/dist/cdn/chunks/TestEmailModal-BXeCtTjU.js +212 -0
  115. package/dist/cdn/chunks/TestEmailModal-BXeCtTjU.js.map +1 -0
  116. package/dist/cdn/chunks/{TestEmailPanel-CcUpEpAn.js → TestEmailPanel-CpZcpB9D.js} +5 -5
  117. package/dist/cdn/chunks/{TestEmailPanel-CcUpEpAn.js.map → TestEmailPanel-CpZcpB9D.js.map} +1 -1
  118. package/dist/cdn/chunks/TitleEditor-Bv3SmSO6.js +202 -0
  119. package/dist/cdn/chunks/TitleEditor-Bv3SmSO6.js.map +1 -0
  120. package/dist/cdn/chunks/ToggleSwitch-BSkySwA1.js +45 -0
  121. package/dist/cdn/chunks/ToggleSwitch-BSkySwA1.js.map +1 -0
  122. package/dist/cdn/chunks/Toolbar-BJKpJ2Mg.js +3626 -0
  123. package/dist/cdn/chunks/Toolbar-BJKpJ2Mg.js.map +1 -0
  124. package/dist/cdn/chunks/{TplModal-CFPDgbwQ.js → TplModal-DDDUDMYC.js} +20 -20
  125. package/dist/cdn/chunks/{TplModal-CFPDgbwQ.js.map → TplModal-DDDUDMYC.js.map} +1 -1
  126. package/dist/cdn/chunks/{VersionHistoryMenu-BYlLRvRJ.js → VersionHistoryMenu-DSElv3Sv.js} +33 -33
  127. package/dist/cdn/chunks/{VersionHistoryMenu-BYlLRvRJ.js.map → VersionHistoryMenu-DSElv3Sv.js.map} +1 -1
  128. package/dist/cdn/chunks/{VersionHistoryPanels-C6SOVoiT.js → VersionHistoryPanels-H2nuik1l.js} +6 -6
  129. package/dist/cdn/chunks/{VersionHistoryPanels-C6SOVoiT.js.map → VersionHistoryPanels-H2nuik1l.js.map} +1 -1
  130. package/dist/cdn/chunks/VersionPreviewBanner-Whwxh55w.js +39 -0
  131. package/dist/cdn/chunks/VersionPreviewBanner-Whwxh55w.js.map +1 -0
  132. package/dist/cdn/chunks/WrapperBlock-jTqsuLnS.js +46 -0
  133. package/dist/cdn/chunks/WrapperBlock-jTqsuLnS.js.map +1 -0
  134. package/dist/cdn/chunks/{blockTypeIcons-D7FW7Ypo.js → blockTypeIcons-DMgLcuI8.js} +5 -5
  135. package/dist/cdn/chunks/{blockTypeIcons-D7FW7Ypo.js.map → blockTypeIcons-DMgLcuI8.js.map} +1 -1
  136. package/dist/{ca-CD-Kt1qz.js → cdn/chunks/ca-DOuIxWRv.js} +116 -0
  137. package/dist/cdn/chunks/ca-DOuIxWRv.js.map +1 -0
  138. package/dist/cdn/chunks/composables-D0UYam2P.js +3039 -0
  139. package/dist/cdn/chunks/composables-D0UYam2P.js.map +1 -0
  140. package/dist/cdn/chunks/{createCloudRuntime-Cth2JCEh.js → createCloudRuntime-BdsclY8_.js} +75 -73
  141. package/dist/cdn/chunks/createCloudRuntime-BdsclY8_.js.map +1 -0
  142. package/dist/{de-CeFJ6wbM.js → cdn/chunks/de-DaOUfYBX.js} +116 -0
  143. package/dist/cdn/chunks/de-DaOUfYBX.js.map +1 -0
  144. package/dist/cdn/chunks/{dist-8ym3y-pH.js → dist-BzXULHvI.js} +48 -48
  145. package/dist/cdn/chunks/{dist-8ym3y-pH.js.map → dist-BzXULHvI.js.map} +1 -1
  146. package/dist/cdn/chunks/{dist-BMzNabtD.js → dist-DqGgijFI.js} +114 -114
  147. package/dist/cdn/chunks/{dist-BMzNabtD.js.map → dist-DqGgijFI.js.map} +1 -1
  148. package/dist/cdn/chunks/{draggable-Du8AUMFT.js → draggable-DepKdldn.js} +1491 -1486
  149. package/dist/cdn/chunks/draggable-DepKdldn.js.map +1 -0
  150. package/dist/cdn/chunks/{editor-modal-CyCe560f.js → editor-modal-CPbgthOv.js} +781 -781
  151. package/dist/cdn/chunks/{editor-modal-CyCe560f.js.map → editor-modal-CPbgthOv.js.map} +1 -1
  152. package/dist/{en-D14i5nFh.js → cdn/chunks/en-C0pHHMiR.js} +116 -0
  153. package/dist/cdn/chunks/en-C0pHHMiR.js.map +1 -0
  154. package/dist/cdn/chunks/en-IYVryJRl.js +1 -0
  155. package/dist/{es-zDacbMhs.js → cdn/chunks/es-CxyEKr6n.js} +116 -0
  156. package/dist/cdn/chunks/es-CxyEKr6n.js.map +1 -0
  157. package/dist/cdn/chunks/{extensions-CFF2KWy-.js → extensions-Uh9vuFfK.js} +59 -59
  158. package/dist/cdn/chunks/{extensions-CFF2KWy-.js.map → extensions-Uh9vuFfK.js.map} +1 -1
  159. package/dist/{fr-CSgYtjOd.js → cdn/chunks/fr-CYbamiI6.js} +116 -0
  160. package/dist/cdn/chunks/fr-CYbamiI6.js.map +1 -0
  161. package/dist/cdn/chunks/{icons-okSPsLOa.js → icons-CSSMtbGK.js} +150 -109
  162. package/dist/cdn/chunks/icons-CSSMtbGK.js.map +1 -0
  163. package/dist/{ja-B7H3ID8O.js → cdn/chunks/ja-DfaIAoGI.js} +116 -0
  164. package/dist/cdn/chunks/ja-DfaIAoGI.js.map +1 -0
  165. package/dist/cdn/chunks/keys-CoQtCqNv.js +11 -0
  166. package/dist/cdn/chunks/keys-CoQtCqNv.js.map +1 -0
  167. package/dist/cdn/chunks/languageName-DEEOhDWI.js +12 -0
  168. package/dist/cdn/chunks/languageName-DEEOhDWI.js.map +1 -0
  169. package/dist/{nl-176ySmc5.js → cdn/chunks/nl-DkrB-VKZ.js} +116 -0
  170. package/dist/cdn/chunks/nl-DkrB-VKZ.js.map +1 -0
  171. package/dist/cdn/chunks/normalizeMergeTagMarkup-oGhwVscw.js +290 -0
  172. package/dist/cdn/chunks/normalizeMergeTagMarkup-oGhwVscw.js.map +1 -0
  173. package/dist/cdn/chunks/noticeTones-D7BPu-Le.js +16 -0
  174. package/dist/cdn/chunks/noticeTones-D7BPu-Le.js.map +1 -0
  175. package/dist/cdn/chunks/plural-CyxrJXL1.js +17 -0
  176. package/dist/cdn/chunks/plural-CyxrJXL1.js.map +1 -0
  177. package/dist/cdn/chunks/{preRenderCustomBlocks-BcXIz7oJ.js → preRenderCustomBlocks-C8k7tw98.js} +5 -5
  178. package/dist/cdn/chunks/{preRenderCustomBlocks-BcXIz7oJ.js.map → preRenderCustomBlocks-C8k7tw98.js.map} +1 -1
  179. package/dist/{pt-BR-dDlTwX18.js → cdn/chunks/pt-BR-CY5Ye7eP.js} +116 -0
  180. package/dist/cdn/chunks/pt-BR-CY5Ye7eP.js.map +1 -0
  181. package/dist/cdn/chunks/sanitizeHtml-DYklmvgX.js +61 -0
  182. package/dist/cdn/chunks/sanitizeHtml-DYklmvgX.js.map +1 -0
  183. package/dist/cdn/chunks/socialIcons-BAiuHyJs.js +2638 -0
  184. package/dist/cdn/chunks/socialIcons-BAiuHyJs.js.map +1 -0
  185. package/dist/cdn/chunks/src-CACM3o--.js +2606 -0
  186. package/dist/cdn/chunks/src-CACM3o--.js.map +1 -0
  187. package/dist/cdn/chunks/{src-C7bkofBL.js → src-Ddpm4HsS.js} +222 -256
  188. package/dist/cdn/chunks/src-Ddpm4HsS.js.map +1 -0
  189. package/dist/cdn/chunks/{src-DEd87i_U.js → src-DheBmnvF.js} +635 -478
  190. package/dist/cdn/chunks/src-DheBmnvF.js.map +1 -0
  191. package/dist/{styleConstants-B8xVRiwX.js → cdn/chunks/styleConstants-CgiNKdnc.js} +7 -5
  192. package/dist/cdn/chunks/styleConstants-CgiNKdnc.js.map +1 -0
  193. package/dist/cdn/chunks/templateSettingsFields-cjlP-jdw.js.map +1 -1
  194. package/dist/cdn/chunks/{tiptap-CbiTlECY.js → tiptap-Dipw_zOQ.js} +40 -40
  195. package/dist/cdn/chunks/{tiptap-CbiTlECY.js.map → tiptap-Dipw_zOQ.js.map} +1 -1
  196. package/dist/cdn/chunks/{useCloudI18n-DY8_-ETE.js → useCloudI18n-Cc5NZqiI.js} +3 -3
  197. package/dist/cdn/chunks/{useCloudI18n-DY8_-ETE.js.map → useCloudI18n-Cc5NZqiI.js.map} +1 -1
  198. package/dist/cdn/chunks/useEditorRoot-D_LuZ_hE.js +9 -0
  199. package/dist/cdn/chunks/{useEditorRoot-vjZJwKrV.js.map → useEditorRoot-D_LuZ_hE.js.map} +1 -1
  200. package/dist/cdn/chunks/{useI18n-D8pY4LTq.js → useI18n-BnJYydPv.js} +3 -3
  201. package/dist/cdn/chunks/{useI18n-D8pY4LTq.js.map → useI18n-BnJYydPv.js.map} +1 -1
  202. package/dist/cdn/chunks/useLocalizedDisplay-yXbRKNrs.js +33 -0
  203. package/dist/cdn/chunks/useLocalizedDisplay-yXbRKNrs.js.map +1 -0
  204. package/dist/cdn/chunks/{useLogicTag-DBJDtpKA.js → useLogicTag-B7RpqVFQ.js} +5 -5
  205. package/dist/cdn/chunks/{useLogicTag-DBJDtpKA.js.map → useLogicTag-B7RpqVFQ.js.map} +1 -1
  206. package/dist/cdn/chunks/{useMergeTag-B-aG--s1.js → useMergeTag-C-32ETjj.js} +6 -6
  207. package/dist/cdn/chunks/{useMergeTag-B-aG--s1.js.map → useMergeTag-C-32ETjj.js.map} +1 -1
  208. package/dist/cdn/chunks/usePopoverPosition-BWAXWeBv.js +78 -0
  209. package/dist/cdn/chunks/usePopoverPosition-BWAXWeBv.js.map +1 -0
  210. package/dist/cdn/chunks/{useScrollToBlock-vjQ0fe-L.js → useScrollToBlock-Ct1AwLD-.js} +5 -5
  211. package/dist/cdn/chunks/useScrollToBlock-Ct1AwLD-.js.map +1 -0
  212. package/dist/cdn/chunks/{withCurrentFont-hZTvYBHO.js → withCurrentFont-D33ZXoWp.js} +2 -2
  213. package/dist/cdn/chunks/{withCurrentFont-hZTvYBHO.js.map → withCurrentFont-D33ZXoWp.js.map} +1 -1
  214. package/dist/cdn/editor.css +1 -1
  215. package/dist/cdn/editor.js +2190 -1496
  216. package/dist/cdn/editor.js.map +1 -1
  217. package/dist/{check-BZ8o0eet.js → check-ChQ0l8EQ.js} +1 -1
  218. package/dist/{chevron-down-DfAAfILv.js → chevron-down-Bh6cp6PI.js} +1 -1
  219. package/dist/{chevron-right-Bk4mGdr7.js → chevron-right-LUgdqdoW.js} +1 -1
  220. package/dist/{chevron-up-MhUf_azW.js → chevron-up-XsDeJxQN.js} +1 -1
  221. package/dist/{circle-alert-CShJwVFv.js → circle-alert-lODfDsrj.js} +1 -1
  222. package/dist/{clock-CTfD6OCt.js → clock-DrqFEZkT.js} +1 -1
  223. package/dist/composables-BOP3ERRP.js +4517 -0
  224. package/dist/{createCloudRuntime-DCgO4A1r.js → createCloudRuntime-DGV5a5Af.js} +54 -52
  225. package/dist/{createLucideIcon-CvhTA2KG.js → createLucideIcon-Dw5e5gVE.js} +11 -11
  226. package/dist/{cdn/chunks/de-CeFJ6wbM.js → de-DaOUfYBX.js} +114 -2
  227. package/dist/{dist-ByCWA2Tv.js → dist-0alKVRc_.js} +101 -101
  228. package/dist/{dist-Cy8I5scI.js → dist-54VCNoC0.js} +2 -2
  229. package/dist/dist-6DU0me3E.js +4 -0
  230. package/dist/{dist-p3wymUDt.js → dist-B8dY8drK.js} +2 -2
  231. package/dist/{dist-Dd5MU2Ev.js → dist-B9a7iVye.js} +2 -2
  232. package/dist/{dist-V7W1UhVr.js → dist-BWflWcpW.js} +2 -2
  233. package/dist/{dist-D6fZec6r.js → dist-C3hu_C3w.js} +2 -2
  234. package/dist/{dist-CVy-7PHQ.js → dist-CX7skkvG.js} +48 -48
  235. package/dist/dist-CcOn7WCo.js +4 -0
  236. package/dist/dist-Cdkm20M6.js +2542 -0
  237. package/dist/{dist-BS5uKktL.js → dist-ChOb5XHW.js} +2 -2
  238. package/dist/{dist-BF5zEHop.js → dist-DZ3X-uB8.js} +2 -2
  239. package/dist/{dist-CWSG7Kj0.js → dist-D_XrUEET.js} +5 -5
  240. package/dist/{dist-txQLT2sF.js → dist-TAv500j6.js} +2 -2
  241. package/dist/{dist-D6cMdrfG.js → dist-fqSers8_.js} +55 -55
  242. package/dist/{editor-modal-zaZHcmlO.js → editor-modal-B_2EAOjN.js} +953 -952
  243. package/dist/{cdn/chunks/en-D14i5nFh.js → en-C0pHHMiR.js} +114 -2
  244. package/dist/en-DTtwco2Q.js +1 -0
  245. package/dist/{cdn/chunks/es-zDacbMhs.js → es-CxyEKr6n.js} +114 -2
  246. package/dist/{extensions-fo_c-vqf.js → extensions-DOLZkLzV.js} +173 -173
  247. package/dist/{eye-7W4t5e0Q.js → eye-DChfk0gi.js} +1 -1
  248. package/dist/{cdn/chunks/fr-CSgYtjOd.js → fr-CYbamiI6.js} +114 -2
  249. package/dist/{image-BDiRFzSd.js → image--Hj2by1G.js} +1 -1
  250. package/dist/index.d.ts +182 -14
  251. package/dist/{info-Cxi3-Kh9.js → info-BbXgy82f.js} +1 -1
  252. package/dist/{cdn/chunks/ja-B7H3ID8O.js → ja-DfaIAoGI.js} +114 -2
  253. package/dist/keys-BCqskl51.js +9 -0
  254. package/dist/languageName-DEEOhDWI.js +10 -0
  255. package/dist/{link-ju_2Cmir.js → link-C2_8yJno.js} +1 -1
  256. package/dist/{list-DYZJf0aZ.js → list-DLGs2n0V.js} +1 -1
  257. package/dist/{loader-circle-BZRD0a4I.js → loader-circle-BbDItE_O.js} +1 -1
  258. package/dist/{message-circle-DuEw4Zfx.js → message-circle-NAModq0p.js} +1 -1
  259. package/dist/{cdn/chunks/nl-176ySmc5.js → nl-DkrB-VKZ.js} +114 -2
  260. package/dist/normalizeMergeTagMarkup-CUCo7B5X.js +288 -0
  261. package/dist/noticeTones-D7BPu-Le.js +14 -0
  262. package/dist/{package-CePMr2kK.js → package-BuzsfRyH.js} +1 -1
  263. package/dist/{pencil-D3aFCL7c.js → pencil-BTUUECH4.js} +1 -1
  264. package/dist/plural-CyxrJXL1.js +15 -0
  265. package/dist/plus-Dm7DN65T.js +13 -0
  266. package/dist/{preRenderCustomBlocks--_xc0XK3.js → preRenderCustomBlocks-Bs3N9no-.js} +4 -4
  267. package/dist/{cdn/chunks/pt-BR-dDlTwX18.js → pt-BR-CY5Ye7eP.js} +114 -2
  268. package/dist/{refresh-cw-xnro7_Sk.js → refresh-cw-xMURqGWi.js} +2 -12
  269. package/dist/rotate-ccw-DqVcEIn5.js +13 -0
  270. package/dist/{runtime-dom.esm-bundler-BURR-bj5.js → runtime-dom.esm-bundler-DlHp8xgy.js} +154 -154
  271. package/dist/sanitizeHtml-mKgNUdME.js +962 -0
  272. package/dist/{search-CDrstRBv.js → search-Cfr3W44N.js} +1 -1
  273. package/dist/{send-DROkPOaX.js → send-CH1SrvyB.js} +1 -1
  274. package/dist/{smartphone-Bx6u_tjn.js → smartphone-pAkvzjdI.js} +1 -1
  275. package/dist/socialIcons-Dqr4DJOz.js +2705 -0
  276. package/dist/{sparkles-CdaTtvoz.js → sparkles-CRO0cCnp.js} +1 -1
  277. package/dist/{square-BbCROH_f.js → square-CaQWMntx.js} +1 -1
  278. package/dist/style.css +1 -1
  279. package/dist/{cdn/chunks/styleConstants-B8xVRiwX.js → styleConstants-CgiNKdnc.js} +5 -7
  280. package/dist/templatical-editor.js +2438 -1752
  281. package/dist/{text-align-start-CGacJ9Vw.js → text-align-start-BQ39AaRK.js} +1 -1
  282. package/dist/{trash-DxCd7zIy.js → trash-BL5gEFHN.js} +1 -1
  283. package/dist/{triangle-alert-7_oaitpf.js → triangle-alert-BYbKu7zZ.js} +1 -1
  284. package/dist/{upload-DuFEOi_0.js → upload-BhmL4Vqx.js} +1 -1
  285. package/dist/{useCloudI18n-DEMmUKuO.js → useCloudI18n-Dh2iydo1.js} +4 -4
  286. package/dist/useEditorRoot-DY3mgcHm.js +7 -0
  287. package/dist/{useI18n-BBrHTdu8.js → useI18n-CgtvtF4C.js} +4 -4
  288. package/dist/useLocalizedDisplay-DNNwDRxL.js +31 -0
  289. package/dist/{useLogicTag-ZPC39rfH.js → useLogicTag-BXXXQQmi.js} +4 -4
  290. package/dist/{useMergeTag-BQ4qqWpQ.js → useMergeTag-C9Okr87y.js} +5 -5
  291. package/dist/usePopoverPosition-VDQjyX_A.js +76 -0
  292. package/dist/{useScrollToBlock-BSyAV4pk.js → useScrollToBlock-C0Kapxdh.js} +5 -5
  293. package/dist/{vue.runtime.esm-bundler-CnEeTfhs.js → vue.runtime.esm-bundler-BJXc_Mri.js} +1373 -1368
  294. package/dist/withCurrentFont-DJiQqZzL.js +18 -0
  295. package/dist/{x-BpfG7v9g.js → x-B7NZYzhx.js} +1 -1
  296. package/package.json +20 -20
  297. package/dist/AiAltTextPopover-DawbUywc.js +0 -105
  298. package/dist/AiChatPanel-CupPhmsN.js +0 -548
  299. package/dist/BlockIssueBadge-BxpDy3u-.js +0 -33
  300. package/dist/BlockPreviewCanvas-B-4bmJ3t.js +0 -140
  301. package/dist/CollaborationNotices-CTw4JThq.js +0 -75
  302. package/dist/CommentsPanel-DwwFuh1h.js +0 -16
  303. package/dist/CommentsSidebar-9ZfiC2DO.js +0 -500
  304. package/dist/CountdownToolbar-BqoYzf_6.js +0 -197
  305. package/dist/IssuesPanel-4ykrf1ax.js +0 -359
  306. package/dist/MergeTagTextarea-CPFEjJZd.js +0 -69
  307. package/dist/ParagraphEditor-CWXfurGh.js +0 -796
  308. package/dist/TemplateSettings-CS0f1Ues.js +0 -236
  309. package/dist/TestEmailModal-DBD0X5nV.js +0 -209
  310. package/dist/TitleEditor-DSqtle77.js +0 -198
  311. package/dist/ToggleSwitch-JykPyD_8.js +0 -36
  312. package/dist/Toolbar-BZPFfKrf.js +0 -3145
  313. package/dist/VersionPreviewBanner-DECaBwLq.js +0 -37
  314. package/dist/WrapperBlock-BsJv_Fiw.js +0 -44
  315. package/dist/cdn/chunks/AiAltTextPopover-SEEjkd-I.js +0 -106
  316. package/dist/cdn/chunks/AiAltTextPopover-SEEjkd-I.js.map +0 -1
  317. package/dist/cdn/chunks/AiAltTextReview-BGLLSKLm.js.map +0 -1
  318. package/dist/cdn/chunks/AiChatPanel-DKDAaBNi.js +0 -474
  319. package/dist/cdn/chunks/AiChatPanel-DKDAaBNi.js.map +0 -1
  320. package/dist/cdn/chunks/AiRewriteMenu-qf-cfEpy.js.map +0 -1
  321. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js +0 -34
  322. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js.map +0 -1
  323. package/dist/cdn/chunks/BlockPreviewCanvas-DGBh6mqe.js +0 -142
  324. package/dist/cdn/chunks/CollaborationNotices-Bsf1rGW9.js +0 -77
  325. package/dist/cdn/chunks/CollaborationNotices-Bsf1rGW9.js.map +0 -1
  326. package/dist/cdn/chunks/CommentsPanel-DoJnKLXI.js +0 -18
  327. package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js +0 -470
  328. package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js.map +0 -1
  329. package/dist/cdn/chunks/CountdownToolbar-xobieKoU.js +0 -199
  330. package/dist/cdn/chunks/CountdownToolbar-xobieKoU.js.map +0 -1
  331. package/dist/cdn/chunks/IssuesPanel-C7LfxaAY.js.map +0 -1
  332. package/dist/cdn/chunks/LogicTagInsertButton-BIi05UQu.js +0 -1051
  333. package/dist/cdn/chunks/LogicTagInsertButton-BIi05UQu.js.map +0 -1
  334. package/dist/cdn/chunks/MediaEditModal-Cpcod6_U.js.map +0 -1
  335. package/dist/cdn/chunks/MergeTagModeToggle-BgKEVUtV.js.map +0 -1
  336. package/dist/cdn/chunks/MergeTagTextarea-tBz8McZf.js +0 -71
  337. package/dist/cdn/chunks/MergeTagTextarea-tBz8McZf.js.map +0 -1
  338. package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js +0 -631
  339. package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js.map +0 -1
  340. package/dist/cdn/chunks/TemplateSettings-CKtI-dof.js +0 -208
  341. package/dist/cdn/chunks/TemplateSettings-CKtI-dof.js.map +0 -1
  342. package/dist/cdn/chunks/TestEmailModal-CDQTgESD.js +0 -209
  343. package/dist/cdn/chunks/TestEmailModal-CDQTgESD.js.map +0 -1
  344. package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js +0 -198
  345. package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js.map +0 -1
  346. package/dist/cdn/chunks/ToggleSwitch-J7Vwhvha.js +0 -38
  347. package/dist/cdn/chunks/ToggleSwitch-J7Vwhvha.js.map +0 -1
  348. package/dist/cdn/chunks/Toolbar-CdpsvNOR.js +0 -3061
  349. package/dist/cdn/chunks/Toolbar-CdpsvNOR.js.map +0 -1
  350. package/dist/cdn/chunks/VersionPreviewBanner-Dvg0ZfAW.js +0 -39
  351. package/dist/cdn/chunks/VersionPreviewBanner-Dvg0ZfAW.js.map +0 -1
  352. package/dist/cdn/chunks/WrapperBlock-C7Md56IT.js +0 -46
  353. package/dist/cdn/chunks/WrapperBlock-C7Md56IT.js.map +0 -1
  354. package/dist/cdn/chunks/ca-CD-Kt1qz.js.map +0 -1
  355. package/dist/cdn/chunks/createCloudRuntime-Cth2JCEh.js.map +0 -1
  356. package/dist/cdn/chunks/de-CeFJ6wbM.js.map +0 -1
  357. package/dist/cdn/chunks/draggable-Du8AUMFT.js.map +0 -1
  358. package/dist/cdn/chunks/en-D14i5nFh.js.map +0 -1
  359. package/dist/cdn/chunks/en-TIqv4ag3.js +0 -1
  360. package/dist/cdn/chunks/es-zDacbMhs.js.map +0 -1
  361. package/dist/cdn/chunks/fr-CSgYtjOd.js.map +0 -1
  362. package/dist/cdn/chunks/icons-okSPsLOa.js.map +0 -1
  363. package/dist/cdn/chunks/ja-B7H3ID8O.js.map +0 -1
  364. package/dist/cdn/chunks/keys-CUj6UA38.js +0 -11
  365. package/dist/cdn/chunks/keys-CUj6UA38.js.map +0 -1
  366. package/dist/cdn/chunks/nl-176ySmc5.js.map +0 -1
  367. package/dist/cdn/chunks/normalizeMergeTagMarkup-C_KlfSW4.js +0 -198
  368. package/dist/cdn/chunks/normalizeMergeTagMarkup-C_KlfSW4.js.map +0 -1
  369. package/dist/cdn/chunks/pt-BR-dDlTwX18.js.map +0 -1
  370. package/dist/cdn/chunks/sanitizeHtml-CN85EDrO.js +0 -72
  371. package/dist/cdn/chunks/sanitizeHtml-CN85EDrO.js.map +0 -1
  372. package/dist/cdn/chunks/socialIcons-jsTDmkbb.js +0 -2008
  373. package/dist/cdn/chunks/socialIcons-jsTDmkbb.js.map +0 -1
  374. package/dist/cdn/chunks/src-C7bkofBL.js.map +0 -1
  375. package/dist/cdn/chunks/src-DEd87i_U.js.map +0 -1
  376. package/dist/cdn/chunks/src-DwWrYnUj.js +0 -1404
  377. package/dist/cdn/chunks/src-DwWrYnUj.js.map +0 -1
  378. package/dist/cdn/chunks/styleConstants-B8xVRiwX.js.map +0 -1
  379. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js +0 -2582
  380. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js.map +0 -1
  381. package/dist/cdn/chunks/useEditorRoot-vjZJwKrV.js +0 -9
  382. package/dist/cdn/chunks/usePopoverPosition-DSMtmu2W.js +0 -70
  383. package/dist/cdn/chunks/usePopoverPosition-DSMtmu2W.js.map +0 -1
  384. package/dist/cdn/chunks/useScrollToBlock-vjQ0fe-L.js.map +0 -1
  385. package/dist/dist-CKi_npZM.js +0 -1344
  386. package/dist/dist-DyFArF_G.js +0 -4
  387. package/dist/dist-pA3ooG6N.js +0 -4
  388. package/dist/en-Db76vJbY.js +0 -1
  389. package/dist/keys-BgRERHzu.js +0 -9
  390. package/dist/normalizeMergeTagMarkup-CELnOlgK.js +0 -196
  391. package/dist/sanitizeHtml-BzfzpYJY.js +0 -942
  392. package/dist/socialIcons-D7MGsg0d.js +0 -2075
  393. package/dist/useEditorCore-BSo2sSID.js +0 -4059
  394. package/dist/useEditorRoot-BMcoCLBx.js +0 -7
  395. package/dist/usePopoverPosition-DV1PxL66.js +0 -68
  396. package/dist/withCurrentFont-B22FXAF5.js +0 -18
@@ -0,0 +1,258 @@
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-BjYs-UQX.js";
3
+ import { t as m } from "./useI18n-CgtvtF4C.js";
4
+ import { h } from "./styleConstants-CgiNKdnc.js";
5
+ import { n as g } from "./MergeTagTextarea-BweI-Xsi.js";
6
+ import { t as _ } from "./ToggleSwitch-R3wCCYE6.js";
7
+ import { t as v } from "./withCurrentFont-DJiQqZzL.js";
8
+ import { n as y, r as b } from "./Toolbar-Cd75ci5W.js";
9
+ // src/components/toolbar/CountdownToolbar.vue?vue&type=script&setup=true&lang.ts
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
+ "value",
12
+ "placeholder",
13
+ "onInput"
14
+ ], M = ["value", "placeholder"], N = ["value"], P = /* @__PURE__ */ f({
15
+ __name: "CountdownToolbar",
16
+ props: {
17
+ block: {},
18
+ fontFamilies: {}
19
+ },
20
+ emits: ["update"],
21
+ setup(f, { emit: P }) {
22
+ let F = P, { t: I } = m(), L = [
23
+ "UTC",
24
+ "America/New_York",
25
+ "America/Chicago",
26
+ "America/Denver",
27
+ "America/Los_Angeles",
28
+ "Europe/London",
29
+ "Europe/Berlin",
30
+ "Europe/Paris",
31
+ "Europe/Moscow",
32
+ "Asia/Dubai",
33
+ "Asia/Kolkata",
34
+ "Asia/Shanghai",
35
+ "Asia/Tokyo",
36
+ "Australia/Sydney",
37
+ "Pacific/Auckland"
38
+ ], R = [
39
+ {
40
+ value: ":",
41
+ label: ":"
42
+ },
43
+ {
44
+ value: "-",
45
+ label: "-"
46
+ },
47
+ {
48
+ value: " ",
49
+ label: "␣"
50
+ }
51
+ ], z = [
52
+ "Days",
53
+ "Hours",
54
+ "Minutes",
55
+ "Seconds"
56
+ ], B = o(() => z.map((e) => ({
57
+ unit: e,
58
+ showKey: `show${e}`,
59
+ labelKey: `label${e}`,
60
+ translationKey: e.toLowerCase()
61
+ })));
62
+ function V(e, t) {
63
+ F("update", { [e]: t });
64
+ }
65
+ return (o, m) => (t(), c(u, null, [
66
+ a(g, {
67
+ path: "targetDate",
68
+ label: s(I).countdown.targetDate
69
+ }, {
70
+ default: i(() => [l("input", {
71
+ type: "datetime-local",
72
+ class: n(s(h)),
73
+ value: f.block.targetDate,
74
+ onInput: m[0] ||= (e) => V("targetDate", e.target.value)
75
+ }, null, 42, x)]),
76
+ _: 1
77
+ }, 8, ["label"]),
78
+ a(g, {
79
+ path: "timezone",
80
+ label: s(I).countdown.timezone
81
+ }, {
82
+ default: i(() => [l("select", {
83
+ class: n(s(h)),
84
+ value: f.block.timezone,
85
+ onChange: m[1] ||= (e) => V("timezone", e.target.value)
86
+ }, [(t(), c(u, null, r(L, (t) => l("option", {
87
+ key: t,
88
+ value: t
89
+ }, e(t), 9, C)), 64))], 42, S)]),
90
+ _: 1
91
+ }, 8, ["label"]),
92
+ a(g, { label: s(I).countdown.display }, {
93
+ default: i(() => [l("div", w, [(t(!0), c(u, null, r(B.value, (e) => (t(), d(g, {
94
+ key: e.unit,
95
+ path: e.showKey,
96
+ label: s(I).countdown[e.translationKey]
97
+ }, {
98
+ "label-actions": i(({ controlId: t }) => [a(_, {
99
+ "control-id": t,
100
+ "hide-label": "",
101
+ class: "tpl:text-[12px] tpl:text-[var(--tpl-text)]",
102
+ "model-value": f.block[e.showKey],
103
+ label: s(I).countdown[e.translationKey],
104
+ "onUpdate:modelValue": (t) => V(e.showKey, t)
105
+ }, null, 8, [
106
+ "control-id",
107
+ "model-value",
108
+ "label",
109
+ "onUpdate:modelValue"
110
+ ])]),
111
+ _: 2
112
+ }, 1032, ["path", "label"]))), 128))])]),
113
+ _: 1
114
+ }, 8, ["label"]),
115
+ a(g, {
116
+ path: "separator",
117
+ label: s(I).countdown.separator
118
+ }, {
119
+ default: i(() => [a(b, {
120
+ options: R,
121
+ "model-value": f.block.separator,
122
+ "onUpdate:modelValue": m[2] ||= (e) => V("separator", e)
123
+ }, null, 8, ["model-value"])]),
124
+ _: 1
125
+ }, 8, ["label"]),
126
+ a(g, {
127
+ path: "fontFamily",
128
+ label: s(I).countdown.fontFamily
129
+ }, {
130
+ default: i(() => [l("select", {
131
+ class: n(s(h)),
132
+ value: s(v)(f.block.fontFamily),
133
+ onChange: m[3] ||= (e) => V("fontFamily", e.target.value || void 0)
134
+ }, [l("option", E, e(s(I).countdown.inheritFont), 1), (t(!0), c(u, null, r(f.fontFamilies, (n) => (t(), c("option", {
135
+ key: n.value,
136
+ value: n.value
137
+ }, e(n.label), 9, D))), 128))], 42, T)]),
138
+ _: 1
139
+ }, 8, ["label"]),
140
+ l("div", O, [a(g, {
141
+ path: "digitFontSize",
142
+ label: s(I).countdown.digitFontSize
143
+ }, {
144
+ default: i(() => [a(y, {
145
+ "model-value": f.block.digitFontSize,
146
+ min: 12,
147
+ max: 72,
148
+ suffix: "px",
149
+ "onUpdate:modelValue": m[4] ||= (e) => V("digitFontSize", e)
150
+ }, null, 8, ["model-value"])]),
151
+ _: 1
152
+ }, 8, ["label"]), a(g, {
153
+ path: "labelFontSize",
154
+ label: s(I).countdown.labelFontSize
155
+ }, {
156
+ default: i(() => [a(y, {
157
+ "model-value": f.block.labelFontSize,
158
+ min: 8,
159
+ max: 24,
160
+ suffix: "px",
161
+ "onUpdate:modelValue": m[5] ||= (e) => V("labelFontSize", e)
162
+ }, null, 8, ["model-value"])]),
163
+ _: 1
164
+ }, 8, ["label"])]),
165
+ l("div", k, [a(g, {
166
+ path: "digitColor",
167
+ label: s(I).countdown.digitColor
168
+ }, {
169
+ default: i(() => [a(p, {
170
+ "model-value": f.block.digitColor,
171
+ "onUpdate:modelValue": m[6] ||= (e) => V("digitColor", e)
172
+ }, null, 8, ["model-value"])]),
173
+ _: 1
174
+ }, 8, ["label"]), a(g, {
175
+ path: "labelColor",
176
+ label: s(I).countdown.labelColor
177
+ }, {
178
+ default: i(() => [a(p, {
179
+ "model-value": f.block.labelColor,
180
+ "onUpdate:modelValue": m[7] ||= (e) => V("labelColor", e)
181
+ }, null, 8, ["model-value"])]),
182
+ _: 1
183
+ }, 8, ["label"])]),
184
+ a(g, {
185
+ path: "backgroundColor",
186
+ label: s(I).countdown.background
187
+ }, {
188
+ default: i(() => [a(p, {
189
+ "model-value": f.block.backgroundColor,
190
+ "onUpdate:modelValue": m[8] ||= (e) => V("backgroundColor", e)
191
+ }, null, 8, ["model-value"])]),
192
+ _: 1
193
+ }, 8, ["label"]),
194
+ a(g, { label: s(I).countdown.labels }, {
195
+ default: i(() => [l("div", A, [(t(!0), c(u, null, r(B.value, (e) => (t(), d(g, {
196
+ key: e.unit,
197
+ path: e.labelKey,
198
+ label: s(I).countdown[e.translationKey]
199
+ }, {
200
+ default: i(() => [l("input", {
201
+ type: "text",
202
+ class: n(s(h)),
203
+ value: f.block[e.labelKey],
204
+ placeholder: s(I).countdown[e.translationKey],
205
+ onInput: (t) => V(e.labelKey, t.target.value)
206
+ }, null, 42, j)]),
207
+ _: 2
208
+ }, 1032, ["path", "label"]))), 128))])]),
209
+ _: 1
210
+ }, 8, ["label"]),
211
+ a(g, {
212
+ path: "expiredMessage",
213
+ label: s(I).countdown.expiry
214
+ }, {
215
+ default: i(() => [l("input", {
216
+ type: "text",
217
+ class: n(s(h)),
218
+ value: f.block.expiredMessage,
219
+ placeholder: s(I).countdown.expiredMessagePlaceholder,
220
+ onInput: m[9] ||= (e) => V("expiredMessage", e.target.value)
221
+ }, null, 42, M)]),
222
+ _: 1
223
+ }, 8, ["label"]),
224
+ a(g, {
225
+ path: "expiredImageUrl",
226
+ label: s(I).countdown.expiredImageUrl
227
+ }, {
228
+ default: i(() => [l("input", {
229
+ type: "url",
230
+ class: n(s(h)),
231
+ value: f.block.expiredImageUrl,
232
+ placeholder: "https://...",
233
+ onInput: m[10] ||= (e) => V("expiredImageUrl", e.target.value)
234
+ }, null, 42, N)]),
235
+ _: 1
236
+ }, 8, ["label"]),
237
+ a(g, {
238
+ path: "hideOnExpiry",
239
+ label: s(I).countdown.hideOnExpiry
240
+ }, {
241
+ "label-actions": i(({ controlId: e }) => [a(_, {
242
+ "control-id": e,
243
+ "hide-label": "",
244
+ class: "tpl:mb-3.5 tpl:text-[12px] tpl:text-[var(--tpl-text)]",
245
+ "model-value": f.block.hideOnExpiry,
246
+ label: s(I).countdown.hideOnExpiry,
247
+ "onUpdate:modelValue": m[11] ||= (e) => V("hideOnExpiry", e)
248
+ }, null, 8, [
249
+ "control-id",
250
+ "model-value",
251
+ "label"
252
+ ])]),
253
+ _: 1
254
+ }, 8, ["label"])
255
+ ], 64));
256
+ }
257
+ });
258
+ export { P as default };
@@ -0,0 +1,371 @@
1
+ import { B as e, Ft as t, L as n, M as r, Mt as ee, O as i, P as a, _ as o, c as s, ct as c, d as l, et as u, f as d, g as f, j as te, l as p, r as m, u as h, v as ne, w as g, y as re } from "./vue.runtime.esm-bundler-BJXc_Mri.js";
2
+ import { t as _ } from "./createLucideIcon-Dw5e5gVE.js";
3
+ import { t as ie } from "./check-ChQ0l8EQ.js";
4
+ import { t as ae } from "./circle-alert-lODfDsrj.js";
5
+ import { t as oe } from "./info-BbXgy82f.js";
6
+ import { a as se, n as ce, o as le, r as ue, t as de } from "./useScrollToBlock-C0Kapxdh.js";
7
+ import { t as v } from "./sparkles-CRO0cCnp.js";
8
+ import { t as fe } from "./square-CaQWMntx.js";
9
+ import { t as pe } from "./triangle-alert-BYbKu7zZ.js";
10
+ import { D as me, Q as he, Z as ge, n as _e, rt as ve, v as ye } from "./keys-BCqskl51.js";
11
+ import { t as be } from "./useI18n-CgtvtF4C.js";
12
+ var xe = _({
13
+ name: "arrow-right",
14
+ size: 24,
15
+ node: [["path", {
16
+ d: "M5 12h14",
17
+ key: "1ays0h"
18
+ }], ["path", {
19
+ d: "m12 5 7 7-7 7",
20
+ key: "xquz4c"
21
+ }]]
22
+ }), Se = _({
23
+ name: "wrench",
24
+ size: 24,
25
+ node: [["path", {
26
+ d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",
27
+ key: "1ngwbx"
28
+ }]]
29
+ }), Ce = { class: "tpl:flex tpl:flex-col tpl:gap-4 tpl:p-4" }, we = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Te = ["title"], Ee = {
30
+ key: 0,
31
+ class: "tpl:flex tpl:flex-col tpl:gap-2 tpl:text-xs"
32
+ }, De = { class: "tpl:m-0 tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Oe = { class: "tpl:m-0 tpl:text-[var(--tpl-text-muted)]" }, ke = ["disabled"], Ae = {
33
+ key: 0,
34
+ "data-testid": "issue-size-result",
35
+ class: "tpl:m-0 tpl:flex tpl:items-center tpl:gap-1 tpl:text-[var(--tpl-text-muted)]"
36
+ }, je = {
37
+ key: 1,
38
+ role: "status",
39
+ class: "tpl:m-0 tpl:text-[var(--tpl-text-muted)]"
40
+ }, Me = {
41
+ key: 2,
42
+ role: "alert",
43
+ class: "tpl:m-0 tpl:text-[var(--tpl-danger)]"
44
+ }, Ne = {
45
+ key: 1,
46
+ role: "status",
47
+ "data-testid": "issue-ai-status",
48
+ class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
49
+ }, Pe = ["disabled"], Fe = {
50
+ key: 4,
51
+ class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
52
+ }, Ie = {
53
+ key: 5,
54
+ class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
55
+ }, Le = { class: "tpl:ml-auto tpl:font-normal tpl:opacity-70" }, Re = {
56
+ key: 1,
57
+ class: "tpl:m-0 tpl:mb-3 tpl:flex tpl:list-none tpl:flex-col tpl:gap-2 tpl:p-0"
58
+ }, ze = { class: "tpl:m-0 tpl:mb-2 tpl:text-xs tpl:text-[var(--tpl-text)]" }, Be = { class: "tpl:m-0 tpl:mb-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Ve = { class: "tpl:m-0 tpl:mb-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, He = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-1.5" }, Ue = ["href"], We = ["onClick"], Ge = ["title", "onClick"], Ke = ["disabled", "onClick"], qe = ["disabled", "onClick"], Je = {
59
+ key: 1,
60
+ role: "status",
61
+ class: "tpl:m-0 tpl:mt-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
62
+ }, y = /* @__PURE__ */ re({
63
+ __name: "IssuesPanel",
64
+ setup(re) {
65
+ let _ = ne(() => import("./AiAltTextPopover-NMJqQKvD.js")), y = ne(() => import("./AiAltTextReview-Ci4zHwRc.js")), b = u(null), x = u(null);
66
+ function Ye() {
67
+ j && !j.busy.value && (O(), b.value = [...Q.value]);
68
+ }
69
+ async function S() {
70
+ b.value = null, await i(), !V && C.value === null && (x.value ?? T.value)?.focus();
71
+ }
72
+ let C = u(null), Xe = s(() => C.value?.blockId ?? null), w = u(null), T = u(null), E = null;
73
+ function D(e) {
74
+ let t = C.value;
75
+ return t !== null && t.blockId === e.blockId && t.ruleId === e.ruleId && t.severity === e.severity;
76
+ }
77
+ function Ze(e, t) {
78
+ e.blockId && !D(e) && (b.value = null, w.value?.abort(), w.value = null, E = t.currentTarget, C.value = {
79
+ blockId: e.blockId,
80
+ ruleId: e.ruleId,
81
+ severity: e.severity
82
+ });
83
+ }
84
+ async function O(e = "button") {
85
+ if (C.value === null) return;
86
+ C.value = null, w.value?.abort(), w.value = null;
87
+ let t = E;
88
+ E = null, await i(), !(V || C.value !== null || b.value !== null) && (e === "button" && t?.isConnected ? t : T.value)?.focus();
89
+ }
90
+ function Qe(e, t) {
91
+ D(e) && (w.value = t);
92
+ }
93
+ let { t: k, format: A } = be(), j = g(_e, null), M = g(he, null), N = g(ye, null), P = g(ge, null), $e = g(ve, "en"), et = de(), tt = g(me, null), nt = s(() => !!P && !P.cloud && P.canRenderHtml() && P.options.disabled !== !0 && P.options.compatibility !== !1 && P.options.compatibility?.rules?.["compat.gmail-clipping"] !== "off"), F = u(!1), I = u(null), L = u(null), R = u(""), z = u(!1), B = 0, V = !1;
94
+ N && e(N.content, () => {
95
+ B++, I.value !== null && (z.value = !0);
96
+ }, { deep: !0 }), te(() => {
97
+ V = !0;
98
+ });
99
+ async function rt() {
100
+ if (!P || !nt.value || F.value) return;
101
+ let e = B;
102
+ F.value = !0, R.value = "";
103
+ try {
104
+ let t = await P.renderHtml(), n = await import("@templatical/quality");
105
+ if (V) return;
106
+ I.value = new TextEncoder().encode(t).byteLength, L.value = n.lintCompiledHtml(t, {
107
+ ...P.options,
108
+ locale: P.options.locale ?? $e
109
+ })[0] ?? null, z.value = e !== B;
110
+ } catch (e) {
111
+ V || (R.value = e instanceof Error ? e.message : String(e));
112
+ } finally {
113
+ V || (F.value = !1);
114
+ }
115
+ }
116
+ let H = s(() => [...M?.issues.value ?? [], ...L.value && !z.value ? [L.value] : []]), U = s(() => H.value.filter((e) => e.severity === "error")), W = s(() => H.value.filter((e) => e.severity === "warning")), G = s(() => H.value.filter((e) => e.severity === "info")), K = s(() => U.value.length + W.value.length + G.value.length), q = /* @__PURE__ */ new Set(), J = u(/* @__PURE__ */ new Set()), Y = u(null), X = (e) => JSON.stringify([e.ruleId, e.blockId]);
117
+ function it(e) {
118
+ let t = new Set(e.map(X));
119
+ for (let e of J.value) t.has(e) || J.value.delete(e);
120
+ for (let e of q) t.has(e) && J.value.add(e);
121
+ q.clear();
122
+ }
123
+ M && e(M.issues, it, { flush: "sync" }), j && (e([
124
+ j.templateId,
125
+ j.isAvailable,
126
+ () => N?.loadVersion?.value
127
+ ], () => {
128
+ b.value !== null && S();
129
+ }, { flush: "sync" }), e(j.templateSession, () => {
130
+ O();
131
+ }, { flush: "sync" }), e(j.sessionIdentity, () => {
132
+ q.clear(), J.value.clear();
133
+ }, { flush: "sync" }));
134
+ let Z = s(() => {
135
+ let e = /* @__PURE__ */ new Set();
136
+ return new Set([
137
+ ...U.value,
138
+ ...W.value,
139
+ ...G.value
140
+ ].filter((t) => {
141
+ let n = X(t);
142
+ return !e.has(n) && (e.add(n), !0);
143
+ }));
144
+ }), at = s(() => {
145
+ let e = /* @__PURE__ */ new Set();
146
+ return new Set([
147
+ ...U.value,
148
+ ...W.value,
149
+ ...G.value
150
+ ].filter((t) => !t.blockId || !ce.includes(t.ruleId) || e.has(t.blockId) ? !1 : (e.add(t.blockId), !0)));
151
+ }), Q = s(() => {
152
+ if (!N) return [];
153
+ let e = new Set(H.value.filter((e) => ce.includes(e.ruleId)).map((e) => e.blockId).filter((e) => e !== null)), t = N.content.value.blocks;
154
+ return [...e].flatMap((e) => {
155
+ let n = N.findBlockLocation(e);
156
+ return n ? [{
157
+ id: e,
158
+ root: n.targetSectionId ? t.findIndex((e) => e.id === n.targetSectionId) : n.index,
159
+ column: n.columnIndex ?? -1,
160
+ index: n.index
161
+ }] : [];
162
+ }).sort((e, t) => e.root - t.root || e.column - t.column || e.index - t.index).map(({ id: e }) => e);
163
+ });
164
+ e(() => C.value === null || H.value.some(D) && (!N || N.findBlockLocation(C.value.blockId) !== null), (e) => {
165
+ e || O("panel");
166
+ }, { flush: "sync" });
167
+ function ot(e) {
168
+ return !!j && j.isAvailable.value && j.has("altText") && at.value.has(e);
169
+ }
170
+ function $(e) {
171
+ return !!j && j.isAvailable.value && j.has("fixFinding") && !e.fix && ue.includes(e.ruleId) && Z.value.has(e);
172
+ }
173
+ async function st(e) {
174
+ if (!$(e) || !j || j.busy.value || Y.value !== null) return;
175
+ let t = X(e), n = j.sessionIdentity.value;
176
+ Y.value = t, J.value.delete(t);
177
+ try {
178
+ let r = await j.fix(se(e));
179
+ !V && j.sessionIdentity.value === n && !r.failed && (q.add(t), M?.contentVersion && M.lintVersion.value === M.contentVersion.value && it(M.issues.value));
180
+ } finally {
181
+ Y.value = null;
182
+ }
183
+ }
184
+ let ct = {
185
+ "localization.untranslated": "missing",
186
+ "localization.stale": "stale",
187
+ "localization.merge-tags-differ": "tags-differ"
188
+ };
189
+ function lt(e) {
190
+ if (N && e.blockId) {
191
+ if (N.selectBlock(e.blockId), e.ruleId.startsWith("localization.")) {
192
+ let t = e.blockId;
193
+ et(t, "auto");
194
+ let n = ct[e.ruleId];
195
+ i(() => tt?.get(t)?.(n));
196
+ } else et(e.blockId);
197
+ }
198
+ }
199
+ function ut(e) {
200
+ M?.applyFix(e);
201
+ }
202
+ return (e, i) => (r(), d("div", Ce, [
203
+ p("header", we, [
204
+ o(c(le), {
205
+ size: 16,
206
+ "stroke-width": 1.5
207
+ }),
208
+ p("h3", {
209
+ ref_key: "panelHeading",
210
+ ref: T,
211
+ tabindex: "-1",
212
+ class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
213
+ }, t(c(k).issues.panelTitle), 513),
214
+ K.value > 0 ? (r(), d("span", {
215
+ key: 0,
216
+ class: "tpl:ml-auto tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-0.5 tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]",
217
+ title: c(A)(c(k).issues.issueCountTooltip, { count: K.value })
218
+ }, t(K.value), 9, Te)) : l("", !0)
219
+ ]),
220
+ nt.value ? (r(), d("section", Ee, [
221
+ p("h4", De, t(c(k).issues.emailSize), 1),
222
+ p("p", Oe, t(c(k).issues.sizeExplainer), 1),
223
+ p("button", {
224
+ type: "button",
225
+ "data-testid": "issue-check-size",
226
+ disabled: F.value,
227
+ class: "tpl:w-full tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2.5 tpl:py-1.5 tpl:font-medium tpl:text-[var(--tpl-text)] tpl:hover:bg-[var(--tpl-bg-active)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60",
228
+ onClick: rt
229
+ }, t(F.value ? c(k).issues.checkingSize : z.value ? c(k).issues.checkSizeAgain : c(k).issues.checkSize), 9, ke),
230
+ I.value === null ? l("", !0) : (r(), d("p", Ae, [!L.value && !z.value ? (r(), h(c(ie), {
231
+ key: 0,
232
+ size: 14,
233
+ "stroke-width": 2,
234
+ "aria-hidden": "true"
235
+ })) : l("", !0), f(" " + t(c(A)(!L.value && !z.value ? c(k).issues.sizePass : c(k).issues.sizeResult, { size: new Intl.NumberFormat(c($e), {
236
+ minimumFractionDigits: 1,
237
+ maximumFractionDigits: 1
238
+ }).format(I.value / 1024) })), 1)])),
239
+ z.value ? (r(), d("p", je, t(c(k).issues.sizeOutdated), 1)) : l("", !0),
240
+ R.value ? (r(), d("p", Me, t(c(A)(c(k).issues.sizeError, { error: R.value })), 1)) : l("", !0)
241
+ ])) : l("", !0),
242
+ Y.value !== null || w.value !== null ? (r(), d("div", Ne, [p("span", null, t(w.value ? c(k).ai.altText.drafting : c(k).ai.fix.fixing), 1), p("button", {
243
+ type: "button",
244
+ "data-testid": "issue-ai-stop",
245
+ class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)]",
246
+ onClick: i[0] ||= (e) => w.value ? w.value.abort() : c(j)?.stop()
247
+ }, [o(c(fe), {
248
+ size: 10,
249
+ "stroke-width": 2
250
+ }), f(" " + t(c(k).ai.chat.stop), 1)])])) : l("", !0),
251
+ c(j)?.isAvailable.value && c(j).has("altText") && Q.value.length >= 2 ? (r(), d("button", {
252
+ key: 2,
253
+ ref_key: "bulkButton",
254
+ ref: x,
255
+ type: "button",
256
+ "data-testid": "issue-ai-alt-text-bulk",
257
+ disabled: c(j).busy.value,
258
+ class: "tpl:flex tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2.5 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60",
259
+ onClick: Ye
260
+ }, [o(c(v), {
261
+ size: 12,
262
+ "stroke-width": 2,
263
+ "aria-hidden": "true"
264
+ }), f(" " + t(c(A)(c(k).ai.altText.bulk, { count: Q.value.length })), 1)], 8, Pe)) : l("", !0),
265
+ b.value !== null && c(j) ? (r(), h(c(y), {
266
+ key: 3,
267
+ "block-ids": b.value,
268
+ feature: c(j),
269
+ onClose: S
270
+ }, null, 8, ["block-ids", "feature"])) : l("", !0),
271
+ !c(M) || c(M).unavailable.value ? (r(), d("div", Fe)) : K.value === 0 ? (r(), d("div", Ie, t(c(k).issues.emptyState), 1)) : (r(!0), d(m, { key: 6 }, a([
272
+ {
273
+ key: "errors",
274
+ title: c(k).issues.groupErrors,
275
+ icon: c(ae),
276
+ items: U.value,
277
+ tone: "tpl:text-[var(--tpl-danger)]"
278
+ },
279
+ {
280
+ key: "warnings",
281
+ title: c(k).issues.groupWarnings,
282
+ icon: c(pe),
283
+ items: W.value,
284
+ tone: "tpl:text-[var(--tpl-warning)]"
285
+ },
286
+ {
287
+ key: "info",
288
+ title: c(k).issues.groupInfo,
289
+ icon: c(oe),
290
+ items: G.value,
291
+ tone: "tpl:text-[var(--tpl-text-muted)]"
292
+ }
293
+ ], (e) => (r(), d("section", { key: e.key }, [e.items.length > 0 ? (r(), d("header", {
294
+ key: 0,
295
+ class: ee(["tpl:mb-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:font-semibold tpl:uppercase tpl:tracking-wide", e.tone])
296
+ }, [
297
+ (r(), h(n(e.icon), {
298
+ size: 12,
299
+ "stroke-width": 2
300
+ })),
301
+ f(" " + t(e.title) + " ", 1),
302
+ p("span", Le, t(e.items.length), 1)
303
+ ], 2)) : l("", !0), e.items.length > 0 ? (r(), d("ul", Re, [(r(!0), d(m, null, a(e.items, (e) => (r(), d("li", {
304
+ key: `${e.ruleId}-${e.blockId ?? "template"}`,
305
+ class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3"
306
+ }, [
307
+ p("p", ze, t(e.message), 1),
308
+ p("p", Be, t(e.suggestion), 1),
309
+ p("p", Ve, t(e.ruleId), 1),
310
+ p("div", He, [
311
+ p("a", {
312
+ href: e.reference,
313
+ target: "_blank",
314
+ rel: "noopener",
315
+ class: "tpl:inline-block tpl:text-xs tpl:text-[var(--tpl-primary)] tpl:underline tpl:underline-offset-2 tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)]"
316
+ }, t(c(k).issues.learnMore), 9, Ue),
317
+ e.blockId ? (r(), d("button", {
318
+ key: 0,
319
+ type: "button",
320
+ "data-testid": "issue-jump",
321
+ class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]",
322
+ onClick: (t) => lt(e)
323
+ }, [o(c(xe), {
324
+ size: 10,
325
+ "stroke-width": 2
326
+ }), f(" " + t(c(k).issues.jump), 1)], 8, We)) : l("", !0),
327
+ e.fix ? (r(), d("button", {
328
+ key: 1,
329
+ type: "button",
330
+ class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:bg-[var(--tpl-primary)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-on-primary)]",
331
+ title: e.fix.description,
332
+ onClick: (t) => ut(e)
333
+ }, [o(c(Se), {
334
+ size: 10,
335
+ "stroke-width": 2
336
+ }), f(" " + t(c(k).issues.fix), 1)], 8, Ge)) : l("", !0),
337
+ ot(e) ? (r(), d("button", {
338
+ key: 2,
339
+ type: "button",
340
+ "data-testid": "issue-ai-alt-text",
341
+ disabled: c(j).busy.value,
342
+ class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60",
343
+ onClick: (t) => Ze(e, t)
344
+ }, [o(c(v), {
345
+ size: 10,
346
+ "stroke-width": 2
347
+ }), f(" " + t(c(k).ai.altText.button), 1)], 8, Ke)) : l("", !0),
348
+ $(e) ? (r(), d("button", {
349
+ key: 3,
350
+ type: "button",
351
+ "data-testid": "issue-ai-fix",
352
+ disabled: c(j).busy.value,
353
+ class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60",
354
+ onClick: (t) => st(e)
355
+ }, [o(c(v), {
356
+ size: 10,
357
+ "stroke-width": 2
358
+ }), f(" " + t(c(k).ai.fix.button), 1)], 8, qe)) : l("", !0)
359
+ ]),
360
+ D(e) && Z.value.has(e) ? (r(), h(c(_), {
361
+ key: JSON.stringify(C.value),
362
+ "block-id": Xe.value,
363
+ onClose: O,
364
+ onDrafting: (t) => Qe(e, t)
365
+ }, null, 8, ["block-id", "onDrafting"])) : l("", !0),
366
+ J.value.has(X(e)) && Z.value.has(e) ? (r(), d("p", Je, t(c(k).ai.fix.stillFlagged), 1)) : l("", !0)
367
+ ]))), 128))])) : l("", !0)]))), 128))
368
+ ]));
369
+ }
370
+ });
371
+ export { y as default };