@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
@@ -1,9 +1,9 @@
1
- import { H as e, Nt as t, _ as n, d as r, f as i, g as a, j as o, jt as s, l as c, st as l, u, y as d } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
2
- import { t as f } from "./useI18n-BBrHTdu8.js";
3
- import { t as p } from "./loader-circle-BZRD0a4I.js";
4
- import { t as m } from "./triangle-alert-7_oaitpf.js";
5
- import { d as h, v as g, x as _ } from "./styleConstants-B8xVRiwX.js";
6
- import { t as v } from "./TplModal-DLMssVlt.js";
1
+ import { Ft as e, M as t, Mt as n, U as r, _ as i, ct as a, d as o, f as s, g as c, l, u, y as d } from "./vue.runtime.esm-bundler-BJXc_Mri.js";
2
+ import { t as f } from "./loader-circle-BbDItE_O.js";
3
+ import { t as p } from "./triangle-alert-BYbKu7zZ.js";
4
+ import { t as m } from "./useI18n-CgtvtF4C.js";
5
+ import { C as h, b as g, f as _ } from "./styleConstants-CgiNKdnc.js";
6
+ import { t as v } from "./TplModal-ZoXu40T9.js";
7
7
  // src/components/RestoreVersionDialog.vue?vue&type=script&setup=true&lang.ts
8
8
  var y = ["aria-busy"], b = { class: "tpl:flex tpl:items-center tpl:gap-2" }, x = {
9
9
  id: "tpl-restore-version-title",
@@ -24,12 +24,12 @@ var y = ["aria-busy"], b = { class: "tpl:flex tpl:items-center tpl:gap-2" }, x =
24
24
  "discard-and-restore"
25
25
  ],
26
26
  setup(d, { emit: D }) {
27
- let O = D, { t: k } = f();
28
- return (f, D) => (o(), u(v, {
27
+ let O = D, { t: k } = m();
28
+ return (m, D) => (t(), u(v, {
29
29
  visible: d.visible,
30
30
  onClose: D[3] ||= (e) => O("cancel")
31
31
  }, {
32
- default: e(() => [c("div", {
32
+ default: r(() => [l("div", {
33
33
  role: "alertdialog",
34
34
  "aria-modal": "true",
35
35
  "aria-busy": d.isBusy,
@@ -42,40 +42,40 @@ var y = ["aria-busy"], b = { class: "tpl:flex tpl:items-center tpl:gap-2" }, x =
42
42
  "box-shadow": "var(--tpl-shadow-xl)"
43
43
  }
44
44
  }, [
45
- c("div", b, [n(l(m), {
45
+ l("div", b, [i(a(p), {
46
46
  size: 18,
47
47
  "stroke-width": 2,
48
48
  class: "tpl:text-[var(--tpl-warning)]"
49
- }), c("h3", x, t(l(k).versionPreview.restoreConfirm.title), 1)]),
50
- c("p", S, t(d.canSave ? l(k).versionPreview.restoreConfirm.unsavedWithSave : l(k).versionPreview.restoreConfirm.unsavedNoSave), 1),
51
- c("div", C, [
52
- c("button", {
49
+ }), l("h3", x, e(a(k).versionPreview.restoreConfirm.title), 1)]),
50
+ l("p", S, e(d.canSave ? a(k).versionPreview.restoreConfirm.unsavedWithSave : a(k).versionPreview.restoreConfirm.unsavedNoSave), 1),
51
+ l("div", C, [
52
+ l("button", {
53
53
  type: "button",
54
54
  "data-testid": "restore-version-cancel",
55
- class: s(l(_)),
55
+ class: n(a(h)),
56
56
  disabled: d.isBusy,
57
57
  onClick: D[0] ||= (e) => O("cancel")
58
- }, t(l(k).versionPreview.restoreConfirm.cancel), 11, w),
59
- c("button", {
58
+ }, e(a(k).versionPreview.restoreConfirm.cancel), 11, w),
59
+ l("button", {
60
60
  type: "button",
61
61
  "data-testid": "restore-version-discard",
62
- class: s(l(h)),
62
+ class: n(a(_)),
63
63
  disabled: d.isBusy,
64
64
  onClick: D[1] ||= (e) => O("discard-and-restore")
65
- }, t(l(k).versionPreview.restoreConfirm.restoreAnyway), 11, T),
66
- d.canSave ? (o(), i("button", {
65
+ }, e(a(k).versionPreview.restoreConfirm.restoreAnyway), 11, T),
66
+ d.canSave ? (t(), s("button", {
67
67
  key: 0,
68
68
  type: "button",
69
69
  "data-testid": "restore-version-save-first",
70
- class: s(l(g)),
70
+ class: n(a(g)),
71
71
  disabled: d.isBusy,
72
72
  onClick: D[2] ||= (e) => O("save-and-restore")
73
- }, [d.isBusy ? (o(), u(l(p), {
73
+ }, [d.isBusy ? (t(), u(a(f), {
74
74
  key: 0,
75
75
  class: "tpl:animate-spin",
76
76
  size: 12,
77
77
  "stroke-width": 2
78
- })) : r("", !0), a(" " + t(l(k).versionPreview.restoreConfirm.saveAndRestore), 1)], 10, E)) : r("", !0)
78
+ })) : o("", !0), c(" " + e(a(k).versionPreview.restoreConfirm.saveAndRestore), 1)], 10, E)) : o("", !0)
79
79
  ])
80
80
  ], 8, y)]),
81
81
  _: 1
@@ -1,13 +1,13 @@
1
- import { C as e, I as t, L as n, Mt as r, Nt as i, T as a, _ as o, a as s, c, d as l, f as u, g as d, j as f, l as p, st as m, u as h, y as g } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
2
- import { c as _ } from "./runtime-dom.esm-bundler-BURR-bj5.js";
3
- import { J as v, Z as y, g as b } from "./keys-BgRERHzu.js";
4
- import { t as x } from "./useI18n-BBrHTdu8.js";
5
- import { n as S } from "./usePopoverPosition-DV1PxL66.js";
6
- import { t as C } from "./createLucideIcon-CvhTA2KG.js";
7
- import { c as w } from "./LogicTagInsertButton-CfscnwCn.js";
8
- import { t as T } from "./x-BpfG7v9g.js";
9
- import { t as E } from "./MergeTagInput-B9dtUthD.js";
10
- var D = C({
1
+ import { E as e, Ft as t, L as n, M as r, Pt as i, R as a, _ as o, a as s, c, ct as l, d as u, f as d, g as f, l as p, u as m, w as h, y as g } from "./vue.runtime.esm-bundler-BJXc_Mri.js";
2
+ import { c as _ } from "./runtime-dom.esm-bundler-DlHp8xgy.js";
3
+ import { t as v } from "./createLucideIcon-Dw5e5gVE.js";
4
+ import { c as y } from "./LogicTagInsertButton-BjYs-UQX.js";
5
+ import { t as b } from "./x-B7NZYzhx.js";
6
+ import { et as x, it as S, v as C } from "./keys-BCqskl51.js";
7
+ import { t as w } from "./useI18n-CgtvtF4C.js";
8
+ import { n as T } from "./usePopoverPosition-VDQjyX_A.js";
9
+ import { t as E } from "./MergeTagInput-BsnogCeY.js";
10
+ var D = v({
11
11
  name: "italic",
12
12
  size: 24,
13
13
  node: [
@@ -33,7 +33,7 @@ var D = C({
33
33
  key: "uljnxc"
34
34
  }]
35
35
  ]
36
- }), O = C({
36
+ }), O = v({
37
37
  name: "letter-b",
38
38
  size: 24,
39
39
  node: [["path", {
@@ -46,7 +46,7 @@ var D = C({
46
46
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
47
47
  }, M = ["aria-label"], N = { class: "tpl:p-5" }, P = { class: "tpl:mb-4 tpl:last:mb-0" }, F = { class: "tpl:mb-1.5 tpl:block tpl:text-xs tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, I = { class: "tpl:mb-4 tpl:last:mb-0" }, L = { class: "tpl:mb-1.5 tpl:block tpl:text-xs tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, R = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-t tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:px-5 tpl:py-4" }, z = { class: "tpl:ml-auto tpl:flex tpl:gap-2" }, B = /* @__PURE__ */ g({
48
48
  __name: "RichTextLinkDialog",
49
- props: /*@__PURE__*/ a({
49
+ props: /*@__PURE__*/ e({
50
50
  visible: { type: Boolean },
51
51
  isEditingLink: { type: Boolean }
52
52
  }, {
@@ -57,7 +57,7 @@ var D = C({
57
57
  dialogRef: { required: !0 },
58
58
  dialogRefModifiers: {}
59
59
  }),
60
- emits: /*@__PURE__*/ a([
60
+ emits: /*@__PURE__*/ e([
61
61
  "close",
62
62
  "insert",
63
63
  "remove",
@@ -67,62 +67,62 @@ var D = C({
67
67
  "update:linkColor",
68
68
  "update:dialogRef"
69
69
  ]),
70
- setup(t, { emit: a }) {
71
- let d = n(t, "linkUrl"), g = n(t, "linkColor"), C = n(t, "dialogRef"), D = a, O = e(v, null), B = e(y, null), V = S(), H = e(b, null), U = c(() => H?.content.value.settings.linkColor || "#2c85de"), { t: W } = x();
72
- return (e, n) => m(V) ? (f(), h(s, {
70
+ setup(e, { emit: n }) {
71
+ let f = a(e, "linkUrl"), g = a(e, "linkColor"), v = a(e, "dialogRef"), D = n, O = h(x, null), B = h(S, null), V = T(), H = h(C, null), U = c(() => H?.content.value.settings.linkColor || "#2c85de"), { t: W } = w();
72
+ return (n, a) => l(V) ? (r(), m(s, {
73
73
  key: 0,
74
- to: m(V)
75
- }, [t.visible ? (f(), u("div", {
74
+ to: l(V)
75
+ }, [e.visible ? (r(), d("div", {
76
76
  key: 0,
77
- "data-tpl-theme": m(B),
77
+ "data-tpl-theme": l(B),
78
78
  class: "tpl tpl-link-dialog tpl:fixed tpl:inset-0 tpl:flex tpl:items-center tpl:justify-center",
79
- style: r(m(O)),
80
- onClick: n[7] ||= _((e) => D("close"), ["self"])
79
+ style: i(l(O)),
80
+ onClick: a[7] ||= _((e) => D("close"), ["self"])
81
81
  }, [p("div", {
82
- ref: (e) => C.value = e,
82
+ ref: (e) => v.value = e,
83
83
  role: "dialog",
84
84
  "aria-modal": "true",
85
85
  "aria-labelledby": "tpl-link-dialog-title",
86
86
  "data-testid": "link-dialog",
87
87
  class: "tpl:w-[400px] tpl:overflow-hidden tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-lg)]"
88
88
  }, [
89
- p("div", A, [p("h4", j, i(t.isEditingLink ? m(W).linkDialog.editLink : m(W).linkDialog.insertLink), 1), p("button", {
89
+ p("div", A, [p("h4", j, t(e.isEditingLink ? l(W).linkDialog.editLink : l(W).linkDialog.insertLink), 1), p("button", {
90
90
  type: "button",
91
- "aria-label": m(W).linkDialog.cancel,
91
+ "aria-label": l(W).linkDialog.cancel,
92
92
  class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-[var(--tpl-text-muted)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
93
- onClick: n[0] ||= (e) => D("close")
94
- }, [o(m(T), {
93
+ onClick: a[0] ||= (e) => D("close")
94
+ }, [o(l(b), {
95
95
  size: 16,
96
96
  "stroke-width": 2
97
97
  })], 8, M)]),
98
- p("div", N, [p("div", P, [p("label", F, i(m(W).linkDialog.urlLabel), 1), o(E, {
99
- "model-value": d.value,
98
+ p("div", N, [p("div", P, [p("label", F, t(l(W).linkDialog.urlLabel), 1), o(E, {
99
+ "model-value": f.value,
100
100
  type: "url",
101
101
  "data-testid": "link-dialog-url",
102
- placeholder: m(W).linkDialog.urlPlaceholder,
103
- "onUpdate:modelValue": n[1] ||= (e) => d.value = e,
104
- onKeydown: n[2] ||= (e) => D("keydown", e)
105
- }, null, 8, ["model-value", "placeholder"])]), p("div", I, [p("label", L, i(m(W).linkDialog.colorLabel), 1), o(w, {
102
+ placeholder: l(W).linkDialog.urlPlaceholder,
103
+ "onUpdate:modelValue": a[1] ||= (e) => f.value = e,
104
+ onKeydown: a[2] ||= (e) => D("keydown", e)
105
+ }, null, 8, ["model-value", "placeholder"])]), p("div", I, [p("label", L, t(l(W).linkDialog.colorLabel), 1), o(y, {
106
106
  "model-value": g.value,
107
107
  "seed-color": U.value,
108
- "onUpdate:modelValue": n[3] ||= (e) => g.value = e
108
+ "onUpdate:modelValue": a[3] ||= (e) => g.value = e
109
109
  }, null, 8, ["model-value", "seed-color"])])]),
110
- p("div", R, [t.isEditingLink ? (f(), u("button", {
110
+ p("div", R, [e.isEditingLink ? (r(), d("button", {
111
111
  key: 0,
112
112
  type: "button",
113
113
  class: "tpl:inline-flex tpl:cursor-pointer tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-danger)] tpl:bg-transparent tpl:px-4 tpl:py-2 tpl:text-[13px] tpl:font-medium tpl:text-[var(--tpl-danger)] tpl:transition-all tpl:hover:bg-[var(--tpl-danger-light)]",
114
- onClick: n[4] ||= (e) => D("remove")
115
- }, i(m(W).linkDialog.removeLink), 1)) : l("", !0), p("div", z, [p("button", {
114
+ onClick: a[4] ||= (e) => D("remove")
115
+ }, t(l(W).linkDialog.removeLink), 1)) : u("", !0), p("div", z, [p("button", {
116
116
  type: "button",
117
117
  class: "tpl:inline-flex tpl:cursor-pointer tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-transparent tpl:px-4 tpl:py-2 tpl:text-[13px] tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
118
- onClick: n[5] ||= (e) => D("close")
119
- }, i(m(W).linkDialog.cancel), 1), p("button", {
118
+ onClick: a[5] ||= (e) => D("close")
119
+ }, t(l(W).linkDialog.cancel), 1), p("button", {
120
120
  type: "button",
121
121
  class: "tpl:inline-flex tpl:cursor-pointer tpl:items-center tpl:rounded-md tpl:border-none tpl:bg-[var(--tpl-primary)] tpl:px-4 tpl:py-2 tpl:text-[13px] tpl:font-medium tpl:transition-all tpl:hover:bg-[var(--tpl-primary-hover)] tpl:text-[var(--tpl-on-primary)]",
122
122
  "data-testid": "link-dialog-submit",
123
- onClick: n[6] ||= (e) => D("insert")
124
- }, i(t.isEditingLink ? m(W).linkDialog.updateLink : m(W).linkDialog.insertLink), 1)])])
125
- ], 512)], 12, k)) : l("", !0)], 8, ["to"])) : l("", !0);
123
+ onClick: a[6] ||= (e) => D("insert")
124
+ }, t(e.isEditingLink ? l(W).linkDialog.updateLink : l(W).linkDialog.insertLink), 1)])])
125
+ ], 512)], 12, k)) : u("", !0)], 8, ["to"])) : u("", !0);
126
126
  }
127
127
  }), V = {
128
128
  key: 0,
@@ -139,16 +139,16 @@ var D = C({
139
139
  initError: {}
140
140
  },
141
141
  emits: ["retry"],
142
- setup(e, { emit: n }) {
143
- let r = n, { t: a } = x();
144
- return (n, o) => e.isLoading ? (f(), u("div", V, [p("div", H, i(m(a).errors.editorLoading), 1)])) : e.initError ? (f(), u("div", U, [d(i(m(a).errors.editorLoadFailed) + " ", 1), p("button", {
142
+ setup(e, { emit: i }) {
143
+ let a = i, { t: o } = w();
144
+ return (i, s) => e.isLoading ? (r(), d("div", V, [p("div", H, t(l(o).errors.editorLoading), 1)])) : e.initError ? (r(), d("div", U, [f(t(l(o).errors.editorLoadFailed) + " ", 1), p("button", {
145
145
  class: "tpl:ml-1 tpl:cursor-pointer tpl:border-none tpl:bg-transparent tpl:p-0 tpl:underline tpl:text-[var(--tpl-primary)]",
146
- onClick: o[0] ||= (e) => r("retry")
147
- }, i(m(a).errors.retry), 1)])) : e.editorContent && e.editor ? (f(), h(t(e.editorContent), {
146
+ onClick: s[0] ||= (e) => a("retry")
147
+ }, t(l(o).errors.retry), 1)])) : e.editorContent && e.editor ? (r(), m(n(e.editorContent), {
148
148
  key: 2,
149
149
  editor: e.editor,
150
150
  class: "tpl-text-editable"
151
- }, null, 8, ["editor"])) : l("", !0);
151
+ }, null, 8, ["editor"])) : u("", !0);
152
152
  }
153
153
  });
154
154
  export { D as i, B as n, O as r, W as t };
@@ -1,15 +1,15 @@
1
- import { $ as e, C as t, H as n, I as r, Mt as i, N as a, Nt as o, O as s, U as c, _ as l, c as u, d, f, g as p, j as m, jt as h, k as g, l as _, r as v, st as y, u as b, y as x, z as S } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
2
- import { a as C, c as w, s as T } from "./runtime-dom.esm-bundler-BURR-bj5.js";
3
- import { S as E, c as D } from "./socialIcons-D7MGsg0d.js";
4
- import { T as O, s as k } from "./useEditorCore-BSo2sSID.js";
5
- import { $ as A, U as j, g as ee, p as te } from "./keys-BgRERHzu.js";
6
- import { t as M } from "./useI18n-BBrHTdu8.js";
7
- import { t as N } from "./chevron-down-DfAAfILv.js";
8
- import { t as P } from "./chevron-up-MhUf_azW.js";
9
- import { t as F } from "./loader-circle-BZRD0a4I.js";
10
- import { v as I } from "./styleConstants-B8xVRiwX.js";
11
- import { t as L } from "./TplModal-DLMssVlt.js";
12
- import { t as R } from "./BlockPreviewCanvas-B-4bmJ3t.js";
1
+ import { A as e, B as t, Ft as n, L as r, M as i, Mt as a, P as o, Pt as s, U as c, W as l, _ as u, c as d, ct as f, d as p, et as m, f as h, g, k as _, l as v, r as y, u as b, w as x, y as S } from "./vue.runtime.esm-bundler-BJXc_Mri.js";
2
+ import { a as C, c as w, s as T } from "./runtime-dom.esm-bundler-DlHp8xgy.js";
3
+ import { l as E, y as D } from "./socialIcons-Dqr4DJOz.js";
4
+ import { H as ee, c as O } from "./composables-BOP3ERRP.js";
5
+ import { t as k } from "./chevron-down-Bh6cp6PI.js";
6
+ import { t as A } from "./chevron-up-XsDeJxQN.js";
7
+ import { t as j } from "./loader-circle-BbDItE_O.js";
8
+ import { Y as M, h as N, ot as P, v as te } from "./keys-BCqskl51.js";
9
+ import { t as F } from "./useI18n-CgtvtF4C.js";
10
+ import { b as I } from "./styleConstants-CgiNKdnc.js";
11
+ import { t as L } from "./TplModal-ZoXu40T9.js";
12
+ import { t as R } from "./BlockPreviewCanvas-DO-2TP_6.js";
13
13
  // src/components/SavedBlockPreviewRow.vue?vue&type=script&setup=true&lang.ts
14
14
  var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relative tpl:min-w-0 tpl:flex-1" }, H = {
15
15
  key: 0,
@@ -17,7 +17,7 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
17
17
  "aria-hidden": "true",
18
18
  class: "tpl:pointer-events-none tpl:absolute tpl:inset-x-0 tpl:bottom-0 tpl:h-10",
19
19
  style: { background: "linear-gradient(\n to bottom,\n transparent,\n var(--tpl-bg) 90%\n )" }
20
- }, U = ["aria-label", "aria-expanded"], W = 240, G = /* @__PURE__ */ x({
20
+ }, U = ["aria-label", "aria-expanded"], W = 240, G = /* @__PURE__ */ S({
21
21
  __name: "SavedBlockPreviewRow",
22
22
  props: {
23
23
  block: {},
@@ -25,69 +25,69 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
25
25
  total: {}
26
26
  },
27
27
  emits: ["move"],
28
- setup(n, { emit: a }) {
29
- let c = n, h = a, { t: v, format: x } = M(), S = t(te, []), C = t(ee, null), k = u(() => D(C?.content.value.settings)), A = e(null), j = e(null), F = e(1), I = e(null), L = e(!1), G = null, K = u(() => I.value !== null && I.value > W), q = u(() => I.value === null ? null : L.value || !K.value ? I.value : W);
28
+ setup(t, { emit: a }) {
29
+ let o = t, c = a, { t: l, format: y } = F(), S = x(N, []), C = x(te, null), O = d(() => E(C?.content.value.settings)), j = m(null), M = m(null), P = m(1), I = m(null), L = m(!1), G = null, K = d(() => I.value !== null && I.value > W), q = d(() => I.value === null ? null : L.value || !K.value ? I.value : W);
30
30
  function J() {
31
- let e = A.value, t = j.value;
31
+ let e = j.value, t = M.value;
32
32
  if (!e || !t) return;
33
33
  let n = e.clientWidth;
34
34
  if (n <= 0) return;
35
- let r = Math.min(1, n / k.value);
36
- F.value = r, I.value = t.offsetHeight * r;
35
+ let r = Math.min(1, n / O.value);
36
+ P.value = r, I.value = t.offsetHeight * r;
37
37
  }
38
- g(() => {
39
- J(), typeof ResizeObserver < "u" && (G = new ResizeObserver(() => J()), A.value && G.observe(A.value), j.value && G.observe(j.value));
40
- }), s(() => {
38
+ e(() => {
39
+ J(), typeof ResizeObserver < "u" && (G = new ResizeObserver(() => J()), j.value && G.observe(j.value), M.value && G.observe(M.value));
40
+ }), _(() => {
41
41
  G?.disconnect(), G = null;
42
42
  });
43
- let Y = u(() => E(c.block, v, S)), X = u(() => x(v.savedBlocks.reorderHandle, {
43
+ let Y = d(() => D(o.block, l, S)), X = d(() => y(l.savedBlocks.reorderHandle, {
44
44
  block: Y.value,
45
- position: c.position,
46
- total: c.total
47
- })), Z = u(() => x(L.value ? v.savedBlocks.collapsePreview : v.savedBlocks.expandPreview, { block: Y.value }));
48
- return (e, t) => (m(), f("div", {
45
+ position: o.position,
46
+ total: o.total
47
+ })), Z = d(() => y(L.value ? l.savedBlocks.collapsePreview : l.savedBlocks.expandPreview, { block: Y.value }));
48
+ return (e, a) => (i(), h("div", {
49
49
  "data-testid": "saved-blocks-reorder-row",
50
- "data-block-id": n.block.id,
50
+ "data-block-id": t.block.id,
51
51
  class: "tpl:flex tpl:items-start tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:p-1.5 tpl:border-[var(--tpl-border)]",
52
52
  style: { "background-color": "var(--tpl-bg)" }
53
- }, [_("button", {
53
+ }, [v("button", {
54
54
  type: "button",
55
55
  "data-testid": "saved-blocks-reorder-handle",
56
56
  class: "tpl-saved-block-reorder-handle tpl:mt-0.5 tpl:shrink-0 tpl:cursor-grab tpl:rounded tpl:border-none tpl:bg-transparent tpl:p-0.5 tpl:text-[var(--tpl-text-dim)]",
57
57
  "aria-label": X.value,
58
- title: y(v).savedBlocks.reorderHint,
59
- onKeydown: [t[0] ||= T(w((e) => h("move", -1), ["prevent"]), ["up"]), t[1] ||= T(w((e) => h("move", 1), ["prevent"]), ["down"])]
60
- }, [l(y(O), {
58
+ title: f(l).savedBlocks.reorderHint,
59
+ onKeydown: [a[0] ||= T(w((e) => c("move", -1), ["prevent"]), ["up"]), a[1] ||= T(w((e) => c("move", 1), ["prevent"]), ["down"])]
60
+ }, [u(f(ee), {
61
61
  size: 14,
62
62
  "stroke-width": 1.5
63
- })], 40, B), _("div", V, [
64
- _("div", {
63
+ })], 40, B), v("div", V, [
64
+ v("div", {
65
65
  ref_key: "frameEl",
66
- ref: A,
66
+ ref: j,
67
67
  class: "tpl:overflow-hidden",
68
- style: i({ height: q.value === null ? void 0 : `${q.value}px` })
69
- }, [_("div", {
68
+ style: s({ height: q.value === null ? void 0 : `${q.value}px` })
69
+ }, [v("div", {
70
70
  ref_key: "contentEl",
71
- ref: j,
72
- style: i({
73
- width: `${k.value}px`,
74
- transform: `scale(${F.value})`,
71
+ ref: M,
72
+ style: s({
73
+ width: `${O.value}px`,
74
+ transform: `scale(${P.value})`,
75
75
  transformOrigin: "top left"
76
76
  })
77
- }, [l(R, { blocks: [n.block] }, null, 8, ["blocks"])], 4)], 4),
78
- K.value && !L.value ? (m(), f("div", H)) : d("", !0),
79
- K.value ? (m(), f("button", {
77
+ }, [u(R, { blocks: [t.block] }, null, 8, ["blocks"])], 4)], 4),
78
+ K.value && !L.value ? (i(), h("div", H)) : p("", !0),
79
+ K.value ? (i(), h("button", {
80
80
  key: 1,
81
81
  type: "button",
82
82
  "data-testid": "saved-blocks-preview-toggle",
83
83
  class: "tpl:absolute tpl:bottom-1 tpl:right-1 tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-0.5 tpl:rounded tpl:border tpl:px-1.5 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:text-[var(--tpl-text-muted)]",
84
84
  "aria-label": Z.value,
85
85
  "aria-expanded": L.value,
86
- onClick: t[2] ||= (e) => L.value = !L.value
87
- }, [(m(), b(r(L.value ? y(P) : y(N)), {
86
+ onClick: a[2] ||= (e) => L.value = !L.value
87
+ }, [(i(), b(r(L.value ? f(A) : f(k)), {
88
88
  size: 11,
89
89
  "stroke-width": 2
90
- })), p(" " + o(L.value ? y(v).savedBlocks.collapse : y(v).savedBlocks.expand), 1)], 8, U)) : d("", !0)
90
+ })), g(" " + n(L.value ? f(l).savedBlocks.collapse : f(l).savedBlocks.expand), 1)], 8, U)) : p("", !0)
91
91
  ])], 8, z));
92
92
  }
93
93
  }), K = ["aria-busy"], q = {
@@ -114,18 +114,18 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
114
114
  }, de = { class: "tpl:flex tpl:shrink-0 tpl:justify-end tpl:gap-2" }, fe = ["disabled"], pe = ["disabled"], me = {
115
115
  key: 0,
116
116
  class: "tpl:flex tpl:items-center tpl:gap-1.5"
117
- }, he = { key: 1 }, Q = /* @__PURE__ */ x({
117
+ }, he = { key: 1 }, Q = /* @__PURE__ */ S({
118
118
  __name: "SaveBlockDialog",
119
119
  props: {
120
120
  visible: { type: Boolean },
121
121
  pickedIds: {}
122
122
  },
123
123
  emits: ["close", "saved"],
124
- setup(r, { emit: i }) {
125
- let s = r, g = i, { t: x, format: w } = M(), T = A(ee, "SaveBlockDialog"), D = A(j, "SaveBlockDialog"), O = t(te, []), N = e(""), P = e(""), R = e(!1), z = e(null), B = e(""), V = e([]), H = u(() => {
124
+ setup(e, { emit: r }) {
125
+ let s = e, _ = r, { t: S, format: w } = F(), T = P(te, "SaveBlockDialog"), E = P(M, "SaveBlockDialog"), ee = x(N, []), k = m(""), A = m(""), R = m(!1), z = m(null), B = m(""), V = m([]), H = d(() => {
126
126
  let e = new Map(T.content.value.blocks.map((e) => [e.id, e]));
127
127
  return V.value.map((t) => e.get(t)).filter((e) => e !== void 0);
128
- }), U = u({
128
+ }), U = d({
129
129
  get: () => H.value,
130
130
  set: (e) => {
131
131
  V.value = e.map((e) => e.id);
@@ -136,27 +136,27 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
136
136
  if (r === -1 || i < 0 || i >= n.length) return;
137
137
  [n[r], n[i]] = [n[i], n[r]], V.value = n;
138
138
  let a = H.value[i];
139
- B.value = a ? w(x.savedBlocks.reorderAnnouncement, {
139
+ B.value = a ? w(S.savedBlocks.reorderAnnouncement, {
140
140
  block: Q(a),
141
141
  position: i + 1,
142
142
  total: n.length
143
143
  }) : "";
144
144
  }
145
145
  function Q(e) {
146
- return E(e, x, O);
146
+ return D(e, S, ee);
147
147
  }
148
- let ge = u(() => H.value.map(Q).join(", "));
149
- S(() => s.visible, (e) => {
150
- e && (N.value = "", P.value = "", z.value = null, B.value = "", V.value = [...s.pickedIds]);
148
+ let ge = d(() => H.value.map(Q).join(", "));
149
+ t(() => s.visible, (e) => {
150
+ e && (k.value = "", A.value = "", z.value = null, B.value = "", V.value = [...s.pickedIds]);
151
151
  }, { immediate: !0 });
152
- let _e = u(() => N.value.trim().length > 0 && H.value.length > 0 && !R.value);
152
+ let _e = d(() => k.value.trim().length > 0 && H.value.length > 0 && !R.value);
153
153
  async function ve() {
154
154
  if (!_e.value) return;
155
155
  let e = H.value;
156
156
  if (e.length !== 0) {
157
157
  R.value = !0, z.value = null;
158
158
  try {
159
- await D.create(N.value.trim(), e, P.value.trim() || void 0), g("saved"), g("close");
159
+ await E.create(k.value.trim(), e, A.value.trim() || void 0), _("saved"), _("close");
160
160
  } catch (e) {
161
161
  z.value = e.message;
162
162
  } finally {
@@ -165,17 +165,17 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
165
165
  }
166
166
  }
167
167
  function $() {
168
- R.value || g("close");
168
+ R.value || _("close");
169
169
  }
170
170
  function ye(e) {
171
171
  e.key === "Enter" && !e.shiftKey && (e.preventDefault(), ve()), e.key === "Escape" && $();
172
172
  }
173
- return (e, t) => (m(), b(L, {
174
- visible: r.visible,
173
+ return (t, r) => (i(), b(L, {
174
+ visible: e.visible,
175
175
  onClose: $,
176
176
  onKeydown: ye
177
177
  }, {
178
- default: n(() => [_("div", {
178
+ default: c(() => [v("div", {
179
179
  role: "dialog",
180
180
  "aria-modal": "true",
181
181
  "aria-busy": R.value,
@@ -186,37 +186,37 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
186
186
  "box-shadow": "var(--tpl-shadow-xl)"
187
187
  }
188
188
  }, [
189
- _("h3", q, o(y(x).savedBlocks.saveAsBlock), 1),
190
- _("div", J, [_("label", Y, o(y(x).savedBlocks.name), 1), c(_("input", {
191
- "onUpdate:modelValue": t[0] ||= (e) => N.value = e,
189
+ v("h3", q, n(f(S).savedBlocks.saveAsBlock), 1),
190
+ v("div", J, [v("label", Y, n(f(S).savedBlocks.name), 1), l(v("input", {
191
+ "onUpdate:modelValue": r[0] ||= (e) => k.value = e,
192
192
  type: "text",
193
193
  "data-testid": "saved-blocks-name-input",
194
- placeholder: y(x).savedBlocks.namePlaceholder,
194
+ placeholder: f(S).savedBlocks.namePlaceholder,
195
195
  class: "tpl:h-9 tpl:w-full tpl:rounded-md tpl:border tpl:px-3 tpl:py-1 tpl:text-sm tpl:shadow-[var(--tpl-shadow-sm)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)] tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]",
196
196
  disabled: R.value
197
- }, null, 8, X), [[C, N.value]])]),
198
- _("div", Z, [
199
- _("label", ne, o(y(x).savedBlocks.category), 1),
200
- c(_("input", {
197
+ }, null, 8, X), [[C, k.value]])]),
198
+ v("div", Z, [
199
+ v("label", ne, n(f(S).savedBlocks.category), 1),
200
+ l(v("input", {
201
201
  id: "tpl-save-block-category",
202
- "onUpdate:modelValue": t[1] ||= (e) => P.value = e,
202
+ "onUpdate:modelValue": r[1] ||= (e) => A.value = e,
203
203
  type: "text",
204
204
  "data-testid": "saved-blocks-category-input",
205
205
  list: "tpl-saved-block-categories",
206
- placeholder: y(x).savedBlocks.categoryPlaceholder,
206
+ placeholder: f(S).savedBlocks.categoryPlaceholder,
207
207
  class: "tpl:h-9 tpl:w-full tpl:rounded-md tpl:border tpl:px-3 tpl:py-1 tpl:text-sm tpl:shadow-[var(--tpl-shadow-sm)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)] tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]",
208
208
  disabled: R.value
209
- }, null, 8, re), [[C, P.value]]),
210
- _("datalist", ie, [(m(!0), f(v, null, a(y(D).categories.value, (e) => (m(), f("option", {
209
+ }, null, 8, re), [[C, A.value]]),
210
+ v("datalist", ie, [(i(!0), h(y, null, o(f(E).categories.value, (e) => (i(), h("option", {
211
211
  key: e,
212
212
  value: e
213
213
  }, null, 8, ae))), 128))])
214
214
  ]),
215
- _("p", oe, [p(o(y(w)(y(x).savedBlocks.savingCount, { count: H.value.length })) + " ", 1), _("span", se, o(ge.value), 1)]),
216
- H.value.length > 1 ? (m(), f("p", ce, o(y(x).savedBlocks.reorderHint), 1)) : d("", !0),
217
- l(y(k), {
215
+ v("p", oe, [g(n(f(w)(f(S).savedBlocks.savingCount, { count: H.value.length })) + " ", 1), v("span", se, n(ge.value), 1)]),
216
+ H.value.length > 1 ? (i(), h("p", ce, n(f(S).savedBlocks.reorderHint), 1)) : p("", !0),
217
+ u(f(O), {
218
218
  modelValue: U.value,
219
- "onUpdate:modelValue": t[2] ||= (e) => U.value = e,
219
+ "onUpdate:modelValue": r[2] ||= (e) => U.value = e,
220
220
  "data-testid": "saved-blocks-reorder-list",
221
221
  animation: 150,
222
222
  "ghost-class": "tpl-ghost",
@@ -225,7 +225,7 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
225
225
  "force-fallback": !0,
226
226
  class: "tpl:mb-4 tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl:gap-1.5 tpl:overflow-y-auto"
227
227
  }, {
228
- default: n(() => [(m(!0), f(v, null, a(U.value, (e, t) => (m(), b(G, {
228
+ default: c(() => [(i(!0), h(y, null, o(U.value, (e, t) => (i(), b(G, {
229
229
  key: e.id,
230
230
  block: e,
231
231
  position: t + 1,
@@ -239,23 +239,23 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
239
239
  ]))), 128))]),
240
240
  _: 1
241
241
  }, 8, ["modelValue"]),
242
- _("div", le, o(B.value), 1),
243
- z.value ? (m(), f("p", ue, o(z.value), 1)) : d("", !0),
244
- _("div", de, [_("button", {
242
+ v("div", le, n(B.value), 1),
243
+ z.value ? (i(), h("p", ue, n(z.value), 1)) : p("", !0),
244
+ v("div", de, [v("button", {
245
245
  type: "button",
246
- class: h(["tpl:cursor-pointer tpl:rounded-md tpl:border tpl:px-3 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:shadow-[var(--tpl-shadow-sm)] tpl:transition-all tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)]", { "tpl:cursor-not-allowed tpl:opacity-50": R.value }]),
246
+ class: a(["tpl:cursor-pointer tpl:rounded-md tpl:border tpl:px-3 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:shadow-[var(--tpl-shadow-sm)] tpl:transition-all tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)]", { "tpl:cursor-not-allowed tpl:opacity-50": R.value }]),
247
247
  disabled: R.value,
248
248
  onClick: $
249
- }, o(y(x).savedBlocks.cancel), 11, fe), _("button", {
249
+ }, n(f(S).savedBlocks.cancel), 11, fe), v("button", {
250
250
  type: "button",
251
- class: h(y(I)),
251
+ class: a(f(I)),
252
252
  disabled: !_e.value,
253
253
  onClick: ve
254
- }, [R.value ? (m(), f("span", me, [l(y(F), {
254
+ }, [R.value ? (i(), h("span", me, [u(f(j), {
255
255
  class: "tpl:animate-spin",
256
256
  size: 12,
257
257
  "stroke-width": 2
258
- }), p(" " + o(y(x).savedBlocks.saving), 1)])) : (m(), f("span", he, o(y(x).savedBlocks.save), 1))], 10, pe)])
258
+ }), g(" " + n(f(S).savedBlocks.saving), 1)])) : (i(), h("span", he, n(f(S).savedBlocks.save), 1))], 10, pe)])
259
259
  ], 8, K)]),
260
260
  _: 1
261
261
  }, 8, ["visible"]));