@templatical/editor 0.52.0 → 0.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. package/dist/{AiAltTextPopover-Cm11CsKH.js → AiAltTextPopover-DawbUywc.js} +13 -13
  2. package/dist/{AiAltTextReview-DE8t8Rud.js → AiAltTextReview-9ySsXOTU.js} +22 -22
  3. package/dist/{AiChatPanel-7ftS7d40.js → AiChatPanel-CupPhmsN.js} +137 -137
  4. package/dist/{AiPanels-CxGp6klr.js → AiPanels-DqT4PgQ0.js} +4 -4
  5. package/dist/{AiRewriteMenu-DNI-5CUj.js → AiRewriteMenu-28agTycW.js} +62 -62
  6. package/dist/BlockIssueBadge-BxpDy3u-.js +33 -0
  7. package/dist/{BlockPreviewCanvas-Df9iz7sK.js → BlockPreviewCanvas-B-4bmJ3t.js} +23 -23
  8. package/dist/{CloudHeaderExtras-CsgyNNV1.js → CloudHeaderExtras-QI82yF54.js} +3 -3
  9. package/dist/{CloudPanels-BDV4XQ_l.js → CloudPanels-BKJaLkUN.js} +50 -50
  10. package/dist/{CollaborationNotices-JQ3vQoqO.js → CollaborationNotices-CTw4JThq.js} +11 -11
  11. package/dist/{CollaboratorBar-EeqqWcX6.js → CollaboratorBar-CXQqN3VP.js} +15 -15
  12. package/dist/{CommentsPanel-BuftXc0U.js → CommentsPanel-DwwFuh1h.js} +2 -2
  13. package/dist/CommentsSidebar-9ZfiC2DO.js +500 -0
  14. package/dist/{CountdownBlock-BT3ZTH1F.js → CountdownBlock-CU2yTWtF.js} +20 -20
  15. package/dist/{CountdownToolbar-CrL4WKy9.js → CountdownToolbar-BqoYzf_6.js} +53 -53
  16. package/dist/IssuesPanel-4ykrf1ax.js +359 -0
  17. package/dist/{LoadingTrack-DZA5AoP9.js → LoadingTrack-DM4g6j7b.js} +1 -1
  18. package/dist/{LogicTagInsertButton-CSD9cfJB.js → LogicTagInsertButton-CfscnwCn.js} +234 -234
  19. package/dist/{MediaEditModal-DQl5w44r.js → MediaEditModal-Dy08GEwE.js} +446 -446
  20. package/dist/{MediaPanels-BFWYuJot.js → MediaPanels-BgEp7iCp.js} +2 -2
  21. package/dist/{MergeTagInput-DE7kWwXx.js → MergeTagInput-B9dtUthD.js} +11 -11
  22. package/dist/{MergeTagModeToggle-DvD0ne7N.js → MergeTagModeToggle-DxujhYJ4.js} +30 -30
  23. package/dist/{MergeTagTextarea-DVPQkiYY.js → MergeTagTextarea-CPFEjJZd.js} +11 -11
  24. package/dist/{ParagraphEditor-D-nqs82g.js → ParagraphEditor-CWXfurGh.js} +201 -201
  25. package/dist/{RestoreVersionDialog-DqUPsLB9.js → RestoreVersionDialog-C4s_JYCx.js} +14 -14
  26. package/dist/{RichTextEditorContent-Xq9D0Zs3.js → RichTextEditorContent-o6HmE8GR.js} +40 -39
  27. package/dist/{SaveBlockDialog-DAPv70p4.js → SaveBlockDialog-CWLrly6l.js} +56 -56
  28. package/dist/SavedBlocksBrowserModal-CE8n4EBS.js +359 -0
  29. package/dist/{SavedBlocksPanels-ChbL9v9x.js → SavedBlocksPanels-BE1N9rNZ.js} +6 -6
  30. package/dist/{SavedBlocksPickBar-hRaiLNdu.js → SavedBlocksPickBar-Dwl94xhP.js} +12 -12
  31. package/dist/{TemplateSettings-D0XcH32O.js → TemplateSettings-CS0f1Ues.js} +74 -74
  32. package/dist/{TestEmailModal-Cb5t0yB2.js → TestEmailModal-DBD0X5nV.js} +52 -52
  33. package/dist/{TestEmailPanel-COJQa2A9.js → TestEmailPanel-DaFjP9QK.js} +2 -2
  34. package/dist/{TitleEditor-BYk_9SpQ.js → TitleEditor-DSqtle77.js} +75 -75
  35. package/dist/{ToggleSwitch-poGWbduy.js → ToggleSwitch-JykPyD_8.js} +4 -4
  36. package/dist/{Toolbar-Dku_pZni.js → Toolbar-BZPFfKrf.js} +913 -913
  37. package/dist/{TplModal-9IndEYk5.js → TplModal-DLMssVlt.js} +15 -15
  38. package/dist/{VersionHistoryMenu-BG5qayvg.js → VersionHistoryMenu-BkbYUs0Q.js} +35 -35
  39. package/dist/{VersionHistoryPanels-hPg7Q5-f.js → VersionHistoryPanels-DP7HaYWv.js} +4 -4
  40. package/dist/{VersionPreviewBanner-CSs7zum_.js → VersionPreviewBanner-DECaBwLq.js} +9 -9
  41. package/dist/{WrapperBlock-DwjK_IdJ.js → WrapperBlock-BsJv_Fiw.js} +16 -16
  42. package/dist/{blockTypeIcons-yt7SLzub.js → blockTypeIcons-BHjlPnPf.js} +23 -22
  43. package/dist/bundle-stats.json +6 -6
  44. package/dist/cdn/chunks/{AiAltTextPopover-DjMoJCgU.js → AiAltTextPopover-SEEjkd-I.js} +21 -21
  45. package/dist/cdn/chunks/{AiAltTextPopover-DjMoJCgU.js.map → AiAltTextPopover-SEEjkd-I.js.map} +1 -1
  46. package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js → AiAltTextReview-BGLLSKLm.js} +41 -41
  47. package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js.map → AiAltTextReview-BGLLSKLm.js.map} +1 -1
  48. package/dist/cdn/chunks/{AiChatPanel-DXeZgc7D.js → AiChatPanel-DKDAaBNi.js} +127 -127
  49. package/dist/cdn/chunks/{AiChatPanel-DXeZgc7D.js.map → AiChatPanel-DKDAaBNi.js.map} +1 -1
  50. package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js → AiPanels-0wBarZSH.js} +3 -3
  51. package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js.map → AiPanels-0wBarZSH.js.map} +1 -1
  52. package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js → AiRewriteMenu-qf-cfEpy.js} +43 -43
  53. package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js.map → AiRewriteMenu-qf-cfEpy.js.map} +1 -1
  54. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js +34 -0
  55. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js.map +1 -0
  56. package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js → BlockPreviewCanvas-DGBh6mqe.js} +20 -20
  57. package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js.map → BlockPreviewCanvas-DGBh6mqe.js.map} +1 -1
  58. package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js → CloudHeaderExtras-BMNK_F9p.js} +3 -3
  59. package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js.map → CloudHeaderExtras-BMNK_F9p.js.map} +1 -1
  60. package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js → CloudPanels-JMWIoVWh.js} +32 -32
  61. package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js.map → CloudPanels-JMWIoVWh.js.map} +1 -1
  62. package/dist/cdn/chunks/{CollaborationNotices-Hf8r08Sw.js → CollaborationNotices-Bsf1rGW9.js} +12 -12
  63. package/dist/cdn/chunks/{CollaborationNotices-Hf8r08Sw.js.map → CollaborationNotices-Bsf1rGW9.js.map} +1 -1
  64. package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js → CollaboratorBar-CXByAoUz.js} +14 -14
  65. package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js.map → CollaboratorBar-CXByAoUz.js.map} +1 -1
  66. package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js → CommentsPanel-DoJnKLXI.js} +3 -3
  67. package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js.map → CommentsPanel-DoJnKLXI.js.map} +1 -1
  68. package/dist/cdn/chunks/{CommentsSidebar-Dj8sDiLN.js → CommentsSidebar-CUtgvdBC.js} +100 -99
  69. package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js.map +1 -0
  70. package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js → CountdownBlock-BqRw147R.js} +18 -18
  71. package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js.map → CountdownBlock-BqRw147R.js.map} +1 -1
  72. package/dist/cdn/chunks/{CountdownToolbar-CguFJdqn.js → CountdownToolbar-xobieKoU.js} +26 -26
  73. package/dist/cdn/chunks/{CountdownToolbar-CguFJdqn.js.map → CountdownToolbar-xobieKoU.js.map} +1 -1
  74. package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js → IssuesPanel-C7LfxaAY.js} +75 -75
  75. package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js.map → IssuesPanel-C7LfxaAY.js.map} +1 -1
  76. package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js → LoadingTrack-CZuLTazv.js} +2 -2
  77. package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js.map → LoadingTrack-CZuLTazv.js.map} +1 -1
  78. package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js → LogicTagInsertButton-BIi05UQu.js} +250 -250
  79. package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js.map → LogicTagInsertButton-BIi05UQu.js.map} +1 -1
  80. package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js → MediaEditModal-Cpcod6_U.js} +148 -148
  81. package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js.map → MediaEditModal-Cpcod6_U.js.map} +1 -1
  82. package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js → MediaPanels-BIdcW_1f.js} +3 -3
  83. package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js.map → MediaPanels-BIdcW_1f.js.map} +1 -1
  84. package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js → MergeTagInput-BvWg8o5E.js} +32 -32
  85. package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js.map → MergeTagInput-BvWg8o5E.js.map} +1 -1
  86. package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js → MergeTagModeToggle-BgKEVUtV.js} +27 -27
  87. package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js.map → MergeTagModeToggle-BgKEVUtV.js.map} +1 -1
  88. package/dist/cdn/chunks/{MergeTagTextarea-Zo0mYWbf.js → MergeTagTextarea-tBz8McZf.js} +32 -32
  89. package/dist/cdn/chunks/{MergeTagTextarea-Zo0mYWbf.js.map → MergeTagTextarea-tBz8McZf.js.map} +1 -1
  90. package/dist/cdn/chunks/{ParagraphEditor-DsPLVAgm.js → ParagraphEditor-B3Rj_cWF.js} +191 -191
  91. package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js.map +1 -0
  92. package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js → RestoreVersionDialog-CjOdD2xj.js} +19 -19
  93. package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js.map → RestoreVersionDialog-CjOdD2xj.js.map} +1 -1
  94. package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js → RichTextEditorContent-DNjR_sNN.js} +29 -29
  95. package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js.map → RichTextEditorContent-DNjR_sNN.js.map} +1 -1
  96. package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js → SaveBlockDialog-CUhpawq0.js} +75 -75
  97. package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js.map → SaveBlockDialog-CUhpawq0.js.map} +1 -1
  98. package/dist/cdn/chunks/SavedBlocksBrowserModal-BPYcRoGa.js +356 -0
  99. package/dist/cdn/chunks/{SavedBlocksBrowserModal-B9XCjDfm.js.map → SavedBlocksBrowserModal-BPYcRoGa.js.map} +1 -1
  100. package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js → SavedBlocksPanels-C6--Bc81.js} +3 -3
  101. package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js.map → SavedBlocksPanels-C6--Bc81.js.map} +1 -1
  102. package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js → SavedBlocksPickBar-DUavxpbU.js} +14 -14
  103. package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js.map → SavedBlocksPickBar-DUavxpbU.js.map} +1 -1
  104. package/dist/cdn/chunks/{TemplateSettings-jWpmuWDR.js → TemplateSettings-CKtI-dof.js} +69 -69
  105. package/dist/cdn/chunks/{TemplateSettings-jWpmuWDR.js.map → TemplateSettings-CKtI-dof.js.map} +1 -1
  106. package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js → TestEmailModal-CDQTgESD.js} +65 -65
  107. package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js.map → TestEmailModal-CDQTgESD.js.map} +1 -1
  108. package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js → TestEmailPanel-CcUpEpAn.js} +3 -3
  109. package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js.map → TestEmailPanel-CcUpEpAn.js.map} +1 -1
  110. package/dist/cdn/chunks/{TitleEditor-R2lQw6WA.js → TitleEditor-Cob7RLyK.js} +70 -70
  111. package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js.map +1 -0
  112. package/dist/cdn/chunks/{ToggleSwitch-BDMugNES.js → ToggleSwitch-J7Vwhvha.js} +5 -5
  113. package/dist/cdn/chunks/{ToggleSwitch-BDMugNES.js.map → ToggleSwitch-J7Vwhvha.js.map} +1 -1
  114. package/dist/cdn/chunks/{Toolbar-CnvfW72e.js → Toolbar-CdpsvNOR.js} +893 -893
  115. package/dist/cdn/chunks/{Toolbar-CnvfW72e.js.map → Toolbar-CdpsvNOR.js.map} +1 -1
  116. package/dist/cdn/chunks/TplModal-CFPDgbwQ.js +51 -0
  117. package/dist/cdn/chunks/{TplModal-BDyeS69p.js.map → TplModal-CFPDgbwQ.js.map} +1 -1
  118. package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js → VersionHistoryMenu-BYlLRvRJ.js} +32 -32
  119. package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js.map → VersionHistoryMenu-BYlLRvRJ.js.map} +1 -1
  120. package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js → VersionHistoryPanels-C6SOVoiT.js} +3 -3
  121. package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js.map → VersionHistoryPanels-C6SOVoiT.js.map} +1 -1
  122. package/dist/cdn/chunks/{VersionPreviewBanner-CZ--HOoa.js → VersionPreviewBanner-Dvg0ZfAW.js} +10 -10
  123. package/dist/cdn/chunks/{VersionPreviewBanner-CZ--HOoa.js.map → VersionPreviewBanner-Dvg0ZfAW.js.map} +1 -1
  124. package/dist/cdn/chunks/{WrapperBlock-D3obNGab.js → WrapperBlock-C7Md56IT.js} +13 -13
  125. package/dist/cdn/chunks/{WrapperBlock-D3obNGab.js.map → WrapperBlock-C7Md56IT.js.map} +1 -1
  126. package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js +21 -0
  127. package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js.map +1 -0
  128. package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js → createCloudRuntime-Cth2JCEh.js} +36 -36
  129. package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js.map → createCloudRuntime-Cth2JCEh.js.map} +1 -1
  130. package/dist/cdn/chunks/{dist-C2epoAwW.js → dist-8ym3y-pH.js} +43 -43
  131. package/dist/cdn/chunks/{dist-C2epoAwW.js.map → dist-8ym3y-pH.js.map} +1 -1
  132. package/dist/{dist-BA-jTQgw.js → cdn/chunks/dist-BMzNabtD.js} +106 -107
  133. package/dist/cdn/chunks/{dist-CONcGNwy.js.map → dist-BMzNabtD.js.map} +1 -1
  134. package/dist/cdn/chunks/{draggable-B8hTTYFO.js → draggable-Du8AUMFT.js} +639 -636
  135. package/dist/cdn/chunks/draggable-Du8AUMFT.js.map +1 -0
  136. package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js → editor-modal-CyCe560f.js} +891 -891
  137. package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js.map → editor-modal-CyCe560f.js.map} +1 -1
  138. package/dist/cdn/chunks/en-TIqv4ag3.js +1 -0
  139. package/dist/cdn/chunks/{extensions-ClDhn88e.js → extensions-CFF2KWy-.js} +55 -55
  140. package/dist/cdn/chunks/{extensions-ClDhn88e.js.map → extensions-CFF2KWy-.js.map} +1 -1
  141. package/dist/cdn/chunks/{icons-HCBP93Ch.js → icons-okSPsLOa.js} +99 -97
  142. package/dist/cdn/chunks/icons-okSPsLOa.js.map +1 -0
  143. package/dist/cdn/chunks/{keys-BF9gazbd.js → keys-CUj6UA38.js} +2 -2
  144. package/dist/cdn/chunks/{keys-BF9gazbd.js.map → keys-CUj6UA38.js.map} +1 -1
  145. package/dist/cdn/chunks/{liquid.browser-DkLBNrft.js → liquid.browser-rubac0VA.js} +782 -746
  146. package/dist/cdn/chunks/liquid.browser-rubac0VA.js.map +1 -0
  147. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DpHCSESZ.js → normalizeMergeTagMarkup-C_KlfSW4.js} +2 -2
  148. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DpHCSESZ.js.map → normalizeMergeTagMarkup-C_KlfSW4.js.map} +1 -1
  149. package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js → preRenderCustomBlocks-BcXIz7oJ.js} +2 -2
  150. package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js.map → preRenderCustomBlocks-BcXIz7oJ.js.map} +1 -1
  151. package/dist/cdn/chunks/{sanitizeHtml-B2h15u0_.js → sanitizeHtml-CN85EDrO.js} +2 -2
  152. package/dist/cdn/chunks/{sanitizeHtml-B2h15u0_.js.map → sanitizeHtml-CN85EDrO.js.map} +1 -1
  153. package/dist/cdn/chunks/{socialIcons-rJoqO1TJ.js → socialIcons-jsTDmkbb.js} +480 -480
  154. package/dist/cdn/chunks/{socialIcons-rJoqO1TJ.js.map → socialIcons-jsTDmkbb.js.map} +1 -1
  155. package/dist/cdn/chunks/{src-CUH_EI7k.js → src-C7bkofBL.js} +6 -6
  156. package/dist/cdn/chunks/{src-CUH_EI7k.js.map → src-C7bkofBL.js.map} +1 -1
  157. package/dist/cdn/chunks/{src-BKpAis_q.js → src-DEd87i_U.js} +2 -2
  158. package/dist/cdn/chunks/{src-BKpAis_q.js.map → src-DEd87i_U.js.map} +1 -1
  159. package/dist/cdn/chunks/{src-C9DTvn1H.js → src-DwWrYnUj.js} +3 -22
  160. package/dist/cdn/chunks/src-DwWrYnUj.js.map +1 -0
  161. package/dist/cdn/chunks/{tiptap-ChSZybTi.js → tiptap-CbiTlECY.js} +45 -45
  162. package/dist/cdn/chunks/{tiptap-ChSZybTi.js.map → tiptap-CbiTlECY.js.map} +1 -1
  163. package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js → useCloudI18n-DY8_-ETE.js} +3 -3
  164. package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js.map → useCloudI18n-DY8_-ETE.js.map} +1 -1
  165. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js +2582 -0
  166. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js.map +1 -0
  167. package/dist/cdn/chunks/useEditorRoot-vjZJwKrV.js +9 -0
  168. package/dist/cdn/chunks/{useEditorRoot-BT3c9CXj.js.map → useEditorRoot-vjZJwKrV.js.map} +1 -1
  169. package/dist/cdn/chunks/{useI18n-11iqzC6m.js → useI18n-D8pY4LTq.js} +3 -3
  170. package/dist/cdn/chunks/{useI18n-11iqzC6m.js.map → useI18n-D8pY4LTq.js.map} +1 -1
  171. package/dist/{useLogicTag-DFDYJeMN.js → cdn/chunks/useLogicTag-DBJDtpKA.js} +5 -3
  172. package/dist/cdn/chunks/{useLogicTag-vy5KGg5D.js.map → useLogicTag-DBJDtpKA.js.map} +1 -1
  173. package/dist/{useMergeTag-B46vACAG.js → cdn/chunks/useMergeTag-B-aG--s1.js} +7 -5
  174. package/dist/cdn/chunks/{useMergeTag-BFBBjnwh.js.map → useMergeTag-B-aG--s1.js.map} +1 -1
  175. package/dist/cdn/chunks/{usePopoverPosition-AnVIwiVv.js → usePopoverPosition-DSMtmu2W.js} +4 -4
  176. package/dist/cdn/chunks/{usePopoverPosition-AnVIwiVv.js.map → usePopoverPosition-DSMtmu2W.js.map} +1 -1
  177. package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js → useScrollToBlock-vjQ0fe-L.js} +3 -3
  178. package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js.map → useScrollToBlock-vjQ0fe-L.js.map} +1 -1
  179. package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js → withCurrentFont-hZTvYBHO.js} +2 -2
  180. package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js.map → withCurrentFont-hZTvYBHO.js.map} +1 -1
  181. package/dist/cdn/editor.css +1 -1
  182. package/dist/cdn/editor.js +1422 -1422
  183. package/dist/cdn/editor.js.map +1 -1
  184. package/dist/{check-N3x4z_rH.js → check-BZ8o0eet.js} +1 -1
  185. package/dist/{chevron-down-gXu9qNwO.js → chevron-down-DfAAfILv.js} +1 -1
  186. package/dist/{chevron-right-rL0ayGk5.js → chevron-right-Bk4mGdr7.js} +1 -1
  187. package/dist/{chevron-up-0ugh8HnW.js → chevron-up-MhUf_azW.js} +1 -1
  188. package/dist/{circle-alert-B9Ls75B5.js → circle-alert-CShJwVFv.js} +1 -1
  189. package/dist/{clock-BqHBaCLm.js → clock-CTfD6OCt.js} +1 -1
  190. package/dist/{createCloudRuntime-B5VIdnwz.js → createCloudRuntime-DCgO4A1r.js} +24 -24
  191. package/dist/{createLucideIcon-BV7Gwz_Z.js → createLucideIcon-CvhTA2KG.js} +6 -6
  192. package/dist/{cdn/chunks/dist-CONcGNwy.js → dist-ByCWA2Tv.js} +100 -99
  193. package/dist/{dist-CzrLYq2s.js → dist-CKi_npZM.js} +2 -21
  194. package/dist/{dist-CEdyyDn7.js → dist-CVy-7PHQ.js} +54 -54
  195. package/dist/{dist-DDN7yR-w.js → dist-D6cMdrfG.js} +129 -129
  196. package/dist/{editor-modal-Du9VI9q4.js → editor-modal-zaZHcmlO.js} +812 -812
  197. package/dist/en-Db76vJbY.js +1 -0
  198. package/dist/{extensions-FRYhx7qa.js → extensions-fo_c-vqf.js} +32 -32
  199. package/dist/{eye-BKj9Tfnc.js → eye-7W4t5e0Q.js} +1 -1
  200. package/dist/{image-DNdvdTla.js → image-BDiRFzSd.js} +1 -1
  201. package/dist/{info-Bx-kBkbH.js → info-Cxi3-Kh9.js} +1 -1
  202. package/dist/{keys-DBjrQkYH.js → keys-BgRERHzu.js} +1 -1
  203. package/dist/{link-D8-rYdIQ.js → link-ju_2Cmir.js} +1 -1
  204. package/dist/{liquid.browser-D1RxawkY.js → liquid.browser-DUXEekoN.js} +781 -745
  205. package/dist/{list-BneisA27.js → list-DYZJf0aZ.js} +1 -1
  206. package/dist/{loader-circle-DBEXphyx.js → loader-circle-BZRD0a4I.js} +1 -1
  207. package/dist/{message-circle-Bg4xInCM.js → message-circle-DuEw4Zfx.js} +1 -1
  208. package/dist/{normalizeMergeTagMarkup-IH8COHzd.js → normalizeMergeTagMarkup-CELnOlgK.js} +1 -1
  209. package/dist/{package-B40Vkfsp.js → package-CePMr2kK.js} +1 -1
  210. package/dist/{pencil-CYdAHTds.js → pencil-D3aFCL7c.js} +1 -1
  211. package/dist/{preRenderCustomBlocks-AbZArwkR.js → preRenderCustomBlocks--_xc0XK3.js} +1 -1
  212. package/dist/{refresh-cw-Bb1FWrU0.js → refresh-cw-xnro7_Sk.js} +1 -1
  213. package/dist/{runtime-dom.esm-bundler-CLGymEyk.js → runtime-dom.esm-bundler-BURR-bj5.js} +118 -118
  214. package/dist/{sanitizeHtml-CnOA1efV.js → sanitizeHtml-BzfzpYJY.js} +1 -1
  215. package/dist/{search-BZEo08gi.js → search-CDrstRBv.js} +1 -1
  216. package/dist/{send-DHtrnXQs.js → send-DROkPOaX.js} +1 -1
  217. package/dist/{smartphone-dlN3vpA3.js → smartphone-Bx6u_tjn.js} +1 -1
  218. package/dist/{socialIcons-B_d52_eS.js → socialIcons-D7MGsg0d.js} +366 -366
  219. package/dist/{sparkles-NOttoDnJ.js → sparkles-CdaTtvoz.js} +1 -1
  220. package/dist/{square-B1CJgdt2.js → square-BbCROH_f.js} +1 -1
  221. package/dist/style.css +1 -1
  222. package/dist/templatical-editor.js +1096 -1096
  223. package/dist/{text-align-start-zpoXmb-Z.js → text-align-start-CGacJ9Vw.js} +1 -1
  224. package/dist/{trash-CGbk4Sgt.js → trash-DxCd7zIy.js} +1 -1
  225. package/dist/{triangle-alert-CKLMyGVp.js → triangle-alert-7_oaitpf.js} +1 -1
  226. package/dist/{upload-DQoackAn.js → upload-DuFEOi_0.js} +1 -1
  227. package/dist/{useCloudI18n-DcLtxOQZ.js → useCloudI18n-DEMmUKuO.js} +2 -2
  228. package/dist/{useEditorCore-DG9UvWUm.js → useEditorCore-BSo2sSID.js} +1518 -1470
  229. package/dist/useEditorRoot-BMcoCLBx.js +7 -0
  230. package/dist/{useI18n-CeTm777E.js → useI18n-BBrHTdu8.js} +2 -2
  231. package/dist/{cdn/chunks/useLogicTag-vy5KGg5D.js → useLogicTag-ZPC39rfH.js} +3 -5
  232. package/dist/{cdn/chunks/useMergeTag-BFBBjnwh.js → useMergeTag-BQ4qqWpQ.js} +5 -7
  233. package/dist/{usePopoverPosition-C42kD7zt.js → usePopoverPosition-DV1PxL66.js} +3 -3
  234. package/dist/{useScrollToBlock-C-NzvjeO.js → useScrollToBlock-BSyAV4pk.js} +3 -3
  235. package/dist/{vue.runtime.esm-bundler-CrlI8j5R.js → vue.runtime.esm-bundler-CnEeTfhs.js} +993 -990
  236. package/dist/{withCurrentFont-v_a4Oso8.js → withCurrentFont-B22FXAF5.js} +1 -1
  237. package/dist/{x-zcrnmcmU.js → x-BpfG7v9g.js} +1 -1
  238. package/package.json +10 -10
  239. package/dist/BlockIssueBadge-6Ri2FfX-.js +0 -33
  240. package/dist/CommentsSidebar-Co3x4uH0.js +0 -499
  241. package/dist/IssuesPanel-BHFQ3wrP.js +0 -359
  242. package/dist/SavedBlocksBrowserModal-SRtN5h9q.js +0 -359
  243. package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js +0 -34
  244. package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js.map +0 -1
  245. package/dist/cdn/chunks/CommentsSidebar-Dj8sDiLN.js.map +0 -1
  246. package/dist/cdn/chunks/ParagraphEditor-DsPLVAgm.js.map +0 -1
  247. package/dist/cdn/chunks/SavedBlocksBrowserModal-B9XCjDfm.js +0 -356
  248. package/dist/cdn/chunks/TitleEditor-R2lQw6WA.js.map +0 -1
  249. package/dist/cdn/chunks/TplModal-BDyeS69p.js +0 -51
  250. package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js +0 -21
  251. package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js.map +0 -1
  252. package/dist/cdn/chunks/draggable-B8hTTYFO.js.map +0 -1
  253. package/dist/cdn/chunks/en-CKAXAo3Z.js +0 -1
  254. package/dist/cdn/chunks/icons-HCBP93Ch.js.map +0 -1
  255. package/dist/cdn/chunks/liquid.browser-DkLBNrft.js.map +0 -1
  256. package/dist/cdn/chunks/src-C9DTvn1H.js.map +0 -1
  257. package/dist/cdn/chunks/useEditorCore-CjaEV_01.js +0 -2534
  258. package/dist/cdn/chunks/useEditorCore-CjaEV_01.js.map +0 -1
  259. package/dist/cdn/chunks/useEditorRoot-BT3c9CXj.js +0 -9
  260. package/dist/en-CyEE7FPY.js +0 -1
  261. package/dist/useEditorRoot-BKr6nNkC.js +0 -7
@@ -1,9 +1,9 @@
1
- import { At as e, Mt as t, V as n, _ as r, d as i, f as a, g as o, j as s, l as c, ot as l, u, y as d } from "./vue.runtime.esm-bundler-CrlI8j5R.js";
2
- import { t as f } from "./useI18n-CeTm777E.js";
3
- import { t as p } from "./loader-circle-DBEXphyx.js";
4
- import { t as m } from "./triangle-alert-CKLMyGVp.js";
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
5
  import { d as h, v as g, x as _ } from "./styleConstants-B8xVRiwX.js";
6
- import { t as v } from "./TplModal-9IndEYk5.js";
6
+ import { t as v } from "./TplModal-DLMssVlt.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",
@@ -25,11 +25,11 @@ var y = ["aria-busy"], b = { class: "tpl:flex tpl:items-center tpl:gap-2" }, x =
25
25
  ],
26
26
  setup(d, { emit: D }) {
27
27
  let O = D, { t: k } = f();
28
- return (f, D) => (s(), u(v, {
28
+ return (f, D) => (o(), u(v, {
29
29
  visible: d.visible,
30
30
  onClose: D[3] ||= (e) => O("cancel")
31
31
  }, {
32
- default: n(() => [c("div", {
32
+ default: e(() => [c("div", {
33
33
  role: "alertdialog",
34
34
  "aria-modal": "true",
35
35
  "aria-busy": d.isBusy,
@@ -42,7 +42,7 @@ 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, [r(l(m), {
45
+ c("div", b, [n(l(m), {
46
46
  size: 18,
47
47
  "stroke-width": 2,
48
48
  class: "tpl:text-[var(--tpl-warning)]"
@@ -52,30 +52,30 @@ var y = ["aria-busy"], b = { class: "tpl:flex tpl:items-center tpl:gap-2" }, x =
52
52
  c("button", {
53
53
  type: "button",
54
54
  "data-testid": "restore-version-cancel",
55
- class: e(l(_)),
55
+ class: s(l(_)),
56
56
  disabled: d.isBusy,
57
57
  onClick: D[0] ||= (e) => O("cancel")
58
58
  }, t(l(k).versionPreview.restoreConfirm.cancel), 11, w),
59
59
  c("button", {
60
60
  type: "button",
61
61
  "data-testid": "restore-version-discard",
62
- class: e(l(h)),
62
+ class: s(l(h)),
63
63
  disabled: d.isBusy,
64
64
  onClick: D[1] ||= (e) => O("discard-and-restore")
65
65
  }, t(l(k).versionPreview.restoreConfirm.restoreAnyway), 11, T),
66
- d.canSave ? (s(), a("button", {
66
+ d.canSave ? (o(), i("button", {
67
67
  key: 0,
68
68
  type: "button",
69
69
  "data-testid": "restore-version-save-first",
70
- class: e(l(g)),
70
+ class: s(l(g)),
71
71
  disabled: d.isBusy,
72
72
  onClick: D[2] ||= (e) => O("save-and-restore")
73
- }, [d.isBusy ? (s(), u(l(p), {
73
+ }, [d.isBusy ? (o(), u(l(p), {
74
74
  key: 0,
75
75
  class: "tpl:animate-spin",
76
76
  size: 12,
77
77
  "stroke-width": 2
78
- })) : i("", !0), o(" " + t(l(k).versionPreview.restoreConfirm.saveAndRestore), 1)], 10, E)) : i("", !0)
78
+ })) : r("", !0), a(" " + t(l(k).versionPreview.restoreConfirm.saveAndRestore), 1)], 10, E)) : r("", !0)
79
79
  ])
80
80
  ], 8, y)]),
81
81
  _: 1
@@ -1,20 +1,13 @@
1
- import { C as e, I as t, L as n, Mt as r, T as i, _ as a, a as o, c as s, d as c, f as l, g as u, j as d, jt as f, l as p, ot as m, u as h, y as g } from "./vue.runtime.esm-bundler-CrlI8j5R.js";
2
- import { c as _ } from "./runtime-dom.esm-bundler-CLGymEyk.js";
3
- import { J as v, Z as y, g as b } from "./keys-DBjrQkYH.js";
4
- import { t as x } from "./useI18n-CeTm777E.js";
5
- import { n as S } from "./usePopoverPosition-C42kD7zt.js";
6
- import { t as C } from "./createLucideIcon-BV7Gwz_Z.js";
7
- import { c as w } from "./LogicTagInsertButton-CSD9cfJB.js";
8
- import { t as T } from "./x-zcrnmcmU.js";
9
- import { t as E } from "./MergeTagInput-DE7kWwXx.js";
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
10
  var D = C({
11
- name: "bold",
12
- size: 24,
13
- node: [["path", {
14
- d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",
15
- key: "mg9rjx"
16
- }]]
17
- }), O = C({
18
11
  name: "italic",
19
12
  size: 24,
20
13
  node: [
@@ -40,12 +33,20 @@ var D = C({
40
33
  key: "uljnxc"
41
34
  }]
42
35
  ]
36
+ }), O = C({
37
+ name: "letter-b",
38
+ size: 24,
39
+ node: [["path", {
40
+ d: "M6 12h9a4 4 0 010 8H7a1 1 0 01-1-1V5a1 1 0 011-1h7a4 4 0 010 8",
41
+ key: "n8tvfh"
42
+ }]],
43
+ aliases: ["bold"]
43
44
  }), k = ["data-tpl-theme"], A = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-5 tpl:py-4" }, j = {
44
45
  id: "tpl-link-dialog-title",
45
46
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
46
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({
47
48
  __name: "RichTextLinkDialog",
48
- props: /*@__PURE__*/ i({
49
+ props: /*@__PURE__*/ a({
49
50
  visible: { type: Boolean },
50
51
  isEditingLink: { type: Boolean }
51
52
  }, {
@@ -56,7 +57,7 @@ var D = C({
56
57
  dialogRef: { required: !0 },
57
58
  dialogRefModifiers: {}
58
59
  }),
59
- emits: /*@__PURE__*/ i([
60
+ emits: /*@__PURE__*/ a([
60
61
  "close",
61
62
  "insert",
62
63
  "remove",
@@ -66,16 +67,16 @@ var D = C({
66
67
  "update:linkColor",
67
68
  "update:dialogRef"
68
69
  ]),
69
- setup(t, { emit: i }) {
70
- let u = n(t, "linkUrl"), g = n(t, "linkColor"), C = n(t, "dialogRef"), D = i, O = e(v, null), B = e(y, null), V = S(), H = e(b, null), U = s(() => H?.content.value.settings.linkColor || "#2c85de"), { t: W } = x();
71
- return (e, n) => m(V) ? (d(), h(o, {
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, {
72
73
  key: 0,
73
74
  to: m(V)
74
- }, [t.visible ? (d(), l("div", {
75
+ }, [t.visible ? (f(), u("div", {
75
76
  key: 0,
76
77
  "data-tpl-theme": m(B),
77
78
  class: "tpl tpl-link-dialog tpl:fixed tpl:inset-0 tpl:flex tpl:items-center tpl:justify-center",
78
- style: f(m(O)),
79
+ style: r(m(O)),
79
80
  onClick: n[7] ||= _((e) => D("close"), ["self"])
80
81
  }, [p("div", {
81
82
  ref: (e) => C.value = e,
@@ -85,43 +86,43 @@ var D = C({
85
86
  "data-testid": "link-dialog",
86
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)]"
87
88
  }, [
88
- p("div", A, [p("h4", j, r(t.isEditingLink ? m(W).linkDialog.editLink : m(W).linkDialog.insertLink), 1), p("button", {
89
+ p("div", A, [p("h4", j, i(t.isEditingLink ? m(W).linkDialog.editLink : m(W).linkDialog.insertLink), 1), p("button", {
89
90
  type: "button",
90
91
  "aria-label": m(W).linkDialog.cancel,
91
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)]",
92
93
  onClick: n[0] ||= (e) => D("close")
93
- }, [a(m(T), {
94
+ }, [o(m(T), {
94
95
  size: 16,
95
96
  "stroke-width": 2
96
97
  })], 8, M)]),
97
- p("div", N, [p("div", P, [p("label", F, r(m(W).linkDialog.urlLabel), 1), a(E, {
98
- "model-value": u.value,
98
+ p("div", N, [p("div", P, [p("label", F, i(m(W).linkDialog.urlLabel), 1), o(E, {
99
+ "model-value": d.value,
99
100
  type: "url",
100
101
  "data-testid": "link-dialog-url",
101
102
  placeholder: m(W).linkDialog.urlPlaceholder,
102
- "onUpdate:modelValue": n[1] ||= (e) => u.value = e,
103
+ "onUpdate:modelValue": n[1] ||= (e) => d.value = e,
103
104
  onKeydown: n[2] ||= (e) => D("keydown", e)
104
- }, null, 8, ["model-value", "placeholder"])]), p("div", I, [p("label", L, r(m(W).linkDialog.colorLabel), 1), a(w, {
105
+ }, null, 8, ["model-value", "placeholder"])]), p("div", I, [p("label", L, i(m(W).linkDialog.colorLabel), 1), o(w, {
105
106
  "model-value": g.value,
106
107
  "seed-color": U.value,
107
108
  "onUpdate:modelValue": n[3] ||= (e) => g.value = e
108
109
  }, null, 8, ["model-value", "seed-color"])])]),
109
- p("div", R, [t.isEditingLink ? (d(), l("button", {
110
+ p("div", R, [t.isEditingLink ? (f(), u("button", {
110
111
  key: 0,
111
112
  type: "button",
112
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)]",
113
114
  onClick: n[4] ||= (e) => D("remove")
114
- }, r(m(W).linkDialog.removeLink), 1)) : c("", !0), p("div", z, [p("button", {
115
+ }, i(m(W).linkDialog.removeLink), 1)) : l("", !0), p("div", z, [p("button", {
115
116
  type: "button",
116
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)]",
117
118
  onClick: n[5] ||= (e) => D("close")
118
- }, r(m(W).linkDialog.cancel), 1), p("button", {
119
+ }, i(m(W).linkDialog.cancel), 1), p("button", {
119
120
  type: "button",
120
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)]",
121
122
  "data-testid": "link-dialog-submit",
122
123
  onClick: n[6] ||= (e) => D("insert")
123
- }, r(t.isEditingLink ? m(W).linkDialog.updateLink : m(W).linkDialog.insertLink), 1)])])
124
- ], 512)], 12, k)) : c("", !0)], 8, ["to"])) : c("", !0);
124
+ }, i(t.isEditingLink ? m(W).linkDialog.updateLink : m(W).linkDialog.insertLink), 1)])])
125
+ ], 512)], 12, k)) : l("", !0)], 8, ["to"])) : l("", !0);
125
126
  }
126
127
  }), V = {
127
128
  key: 0,
@@ -139,15 +140,15 @@ var D = C({
139
140
  },
140
141
  emits: ["retry"],
141
142
  setup(e, { emit: n }) {
142
- let i = n, { t: a } = x();
143
- return (n, o) => e.isLoading ? (d(), l("div", V, [p("div", H, r(m(a).errors.editorLoading), 1)])) : e.initError ? (d(), l("div", U, [u(r(m(a).errors.editorLoadFailed) + " ", 1), p("button", {
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", {
144
145
  class: "tpl:ml-1 tpl:cursor-pointer tpl:border-none tpl:bg-transparent tpl:p-0 tpl:underline tpl:text-[var(--tpl-primary)]",
145
- onClick: o[0] ||= (e) => i("retry")
146
- }, r(m(a).errors.retry), 1)])) : e.editorContent && e.editor ? (d(), h(t(e.editorContent), {
146
+ onClick: o[0] ||= (e) => r("retry")
147
+ }, i(m(a).errors.retry), 1)])) : e.editorContent && e.editor ? (f(), h(t(e.editorContent), {
147
148
  key: 2,
148
149
  editor: e.editor,
149
150
  class: "tpl-text-editable"
150
- }, null, 8, ["editor"])) : c("", !0);
151
+ }, null, 8, ["editor"])) : l("", !0);
151
152
  }
152
153
  });
153
154
  export { D as i, B as n, O as r, W as t };
@@ -1,15 +1,15 @@
1
- import { At as e, C as t, H as n, I as r, Mt as i, N as a, O as o, Q as s, V as c, _ as l, c as u, d, f, g as p, j as m, jt as h, k as g, l as _, ot as v, r as y, u as b, y as x, z as S } from "./vue.runtime.esm-bundler-CrlI8j5R.js";
2
- import { a as C, c as w, s as T } from "./runtime-dom.esm-bundler-CLGymEyk.js";
3
- import { S as E, c as D } from "./socialIcons-B_d52_eS.js";
4
- import { T as O, s as k } from "./useEditorCore-DG9UvWUm.js";
5
- import { $ as A, U as j, g as ee, p as te } from "./keys-DBjrQkYH.js";
6
- import { t as M } from "./useI18n-CeTm777E.js";
7
- import { t as N } from "./chevron-down-gXu9qNwO.js";
8
- import { t as P } from "./chevron-up-0ugh8HnW.js";
9
- import { t as F } from "./loader-circle-DBEXphyx.js";
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
10
  import { v as I } from "./styleConstants-B8xVRiwX.js";
11
- import { t as L } from "./TplModal-9IndEYk5.js";
12
- import { t as R } from "./BlockPreviewCanvas-Df9iz7sK.js";
11
+ import { t as L } from "./TplModal-DLMssVlt.js";
12
+ import { t as R } from "./BlockPreviewCanvas-B-4bmJ3t.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,
@@ -25,8 +25,8 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
25
25
  total: {}
26
26
  },
27
27
  emits: ["move"],
28
- setup(e, { emit: n }) {
29
- let a = e, c = n, { t: y, format: x } = M(), S = t(te, []), C = t(ee, null), k = u(() => D(C?.content.value.settings)), A = s(null), j = s(null), F = s(1), I = s(null), L = s(!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(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);
30
30
  function J() {
31
31
  let e = A.value, t = j.value;
32
32
  if (!e || !t) return;
@@ -37,17 +37,17 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
37
37
  }
38
38
  g(() => {
39
39
  J(), typeof ResizeObserver < "u" && (G = new ResizeObserver(() => J()), A.value && G.observe(A.value), j.value && G.observe(j.value));
40
- }), o(() => {
40
+ }), s(() => {
41
41
  G?.disconnect(), G = null;
42
42
  });
43
- let Y = u(() => E(a.block, y, S)), X = u(() => x(y.savedBlocks.reorderHandle, {
43
+ let Y = u(() => E(c.block, v, S)), X = u(() => x(v.savedBlocks.reorderHandle, {
44
44
  block: Y.value,
45
- position: a.position,
46
- total: a.total
47
- })), Z = u(() => x(L.value ? y.savedBlocks.collapsePreview : y.savedBlocks.expandPreview, { block: Y.value }));
48
- return (t, n) => (m(), f("div", {
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", {
49
49
  "data-testid": "saved-blocks-reorder-row",
50
- "data-block-id": e.block.id,
50
+ "data-block-id": n.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
53
  }, [_("button", {
@@ -55,9 +55,9 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
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: v(y).savedBlocks.reorderHint,
59
- onKeydown: [n[0] ||= T(w((e) => c("move", -1), ["prevent"]), ["up"]), n[1] ||= T(w((e) => c("move", 1), ["prevent"]), ["down"])]
60
- }, [l(v(O), {
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), {
61
61
  size: 14,
62
62
  "stroke-width": 1.5
63
63
  })], 40, B), _("div", V, [
@@ -65,16 +65,16 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
65
65
  ref_key: "frameEl",
66
66
  ref: A,
67
67
  class: "tpl:overflow-hidden",
68
- style: h({ height: q.value === null ? void 0 : `${q.value}px` })
68
+ style: i({ height: q.value === null ? void 0 : `${q.value}px` })
69
69
  }, [_("div", {
70
70
  ref_key: "contentEl",
71
71
  ref: j,
72
- style: h({
72
+ style: i({
73
73
  width: `${k.value}px`,
74
74
  transform: `scale(${F.value})`,
75
75
  transformOrigin: "top left"
76
76
  })
77
- }, [l(R, { blocks: [e.block] }, null, 8, ["blocks"])], 4)], 4),
77
+ }, [l(R, { blocks: [n.block] }, null, 8, ["blocks"])], 4)], 4),
78
78
  K.value && !L.value ? (m(), f("div", H)) : d("", !0),
79
79
  K.value ? (m(), f("button", {
80
80
  key: 1,
@@ -83,11 +83,11 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
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: n[2] ||= (e) => L.value = !L.value
87
- }, [(m(), b(r(L.value ? v(P) : v(N)), {
86
+ onClick: t[2] ||= (e) => L.value = !L.value
87
+ }, [(m(), b(r(L.value ? y(P) : y(N)), {
88
88
  size: 11,
89
89
  "stroke-width": 2
90
- })), p(" " + i(L.value ? v(y).savedBlocks.collapse : v(y).savedBlocks.expand), 1)], 8, U)) : d("", !0)
90
+ })), p(" " + o(L.value ? y(v).savedBlocks.collapse : y(v).savedBlocks.expand), 1)], 8, U)) : d("", !0)
91
91
  ])], 8, z));
92
92
  }
93
93
  }), K = ["aria-busy"], q = {
@@ -121,8 +121,8 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
121
121
  pickedIds: {}
122
122
  },
123
123
  emits: ["close", "saved"],
124
- setup(r, { emit: o }) {
125
- let h = r, g = o, { t: x, format: w } = M(), T = A(ee, "SaveBlockDialog"), D = A(j, "SaveBlockDialog"), O = t(te, []), N = s(""), P = s(""), R = s(!1), z = s(null), B = s(""), V = s([]), H = u(() => {
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(() => {
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
128
  }), U = u({
@@ -146,8 +146,8 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
146
146
  return E(e, x, O);
147
147
  }
148
148
  let ge = u(() => H.value.map(Q).join(", "));
149
- S(() => h.visible, (e) => {
150
- e && (N.value = "", P.value = "", z.value = null, B.value = "", V.value = [...h.pickedIds]);
149
+ S(() => s.visible, (e) => {
150
+ e && (N.value = "", P.value = "", z.value = null, B.value = "", V.value = [...s.pickedIds]);
151
151
  }, { immediate: !0 });
152
152
  let _e = u(() => N.value.trim().length > 0 && H.value.length > 0 && !R.value);
153
153
  async function ve() {
@@ -170,12 +170,12 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
170
170
  function ye(e) {
171
171
  e.key === "Enter" && !e.shiftKey && (e.preventDefault(), ve()), e.key === "Escape" && $();
172
172
  }
173
- return (t, o) => (m(), b(L, {
173
+ return (e, t) => (m(), b(L, {
174
174
  visible: r.visible,
175
175
  onClose: $,
176
176
  onKeydown: ye
177
177
  }, {
178
- default: c(() => [_("div", {
178
+ default: n(() => [_("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, i(v(x).savedBlocks.saveAsBlock), 1),
190
- _("div", J, [_("label", Y, i(v(x).savedBlocks.name), 1), n(_("input", {
191
- "onUpdate:modelValue": o[0] ||= (e) => N.value = e,
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,
192
192
  type: "text",
193
193
  "data-testid": "saved-blocks-name-input",
194
- placeholder: v(x).savedBlocks.namePlaceholder,
194
+ placeholder: y(x).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
197
  }, null, 8, X), [[C, N.value]])]),
198
198
  _("div", Z, [
199
- _("label", ne, i(v(x).savedBlocks.category), 1),
200
- n(_("input", {
199
+ _("label", ne, o(y(x).savedBlocks.category), 1),
200
+ c(_("input", {
201
201
  id: "tpl-save-block-category",
202
- "onUpdate:modelValue": o[1] ||= (e) => P.value = e,
202
+ "onUpdate:modelValue": t[1] ||= (e) => P.value = e,
203
203
  type: "text",
204
204
  "data-testid": "saved-blocks-category-input",
205
205
  list: "tpl-saved-block-categories",
206
- placeholder: v(x).savedBlocks.categoryPlaceholder,
206
+ placeholder: y(x).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
209
  }, null, 8, re), [[C, P.value]]),
210
- _("datalist", ie, [(m(!0), f(y, null, a(v(D).categories.value, (e) => (m(), f("option", {
210
+ _("datalist", ie, [(m(!0), f(v, null, a(y(D).categories.value, (e) => (m(), f("option", {
211
211
  key: e,
212
212
  value: e
213
213
  }, null, 8, ae))), 128))])
214
214
  ]),
215
- _("p", oe, [p(i(v(w)(v(x).savedBlocks.savingCount, { count: H.value.length })) + " ", 1), _("span", se, i(ge.value), 1)]),
216
- H.value.length > 1 ? (m(), f("p", ce, i(v(x).savedBlocks.reorderHint), 1)) : d("", !0),
217
- l(v(k), {
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), {
218
218
  modelValue: U.value,
219
- "onUpdate:modelValue": o[2] ||= (e) => U.value = e,
219
+ "onUpdate:modelValue": t[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: c(() => [(m(!0), f(y, null, a(U.value, (e, t) => (m(), b(G, {
228
+ default: n(() => [(m(!0), f(v, null, a(U.value, (e, t) => (m(), 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, i(B.value), 1),
243
- z.value ? (m(), f("p", ue, i(z.value), 1)) : d("", !0),
242
+ _("div", le, o(B.value), 1),
243
+ z.value ? (m(), f("p", ue, o(z.value), 1)) : d("", !0),
244
244
  _("div", de, [_("button", {
245
245
  type: "button",
246
- class: e(["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: 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 }]),
247
247
  disabled: R.value,
248
248
  onClick: $
249
- }, i(v(x).savedBlocks.cancel), 11, fe), _("button", {
249
+ }, o(y(x).savedBlocks.cancel), 11, fe), _("button", {
250
250
  type: "button",
251
- class: e(v(I)),
251
+ class: h(y(I)),
252
252
  disabled: !_e.value,
253
253
  onClick: ve
254
- }, [R.value ? (m(), f("span", me, [l(v(F), {
254
+ }, [R.value ? (m(), f("span", me, [l(y(F), {
255
255
  class: "tpl:animate-spin",
256
256
  size: 12,
257
257
  "stroke-width": 2
258
- }), p(" " + i(v(x).savedBlocks.saving), 1)])) : (m(), f("span", he, i(v(x).savedBlocks.save), 1))], 10, pe)])
258
+ }), p(" " + o(y(x).savedBlocks.saving), 1)])) : (m(), f("span", he, o(y(x).savedBlocks.save), 1))], 10, pe)])
259
259
  ], 8, K)]),
260
260
  _: 1
261
261
  }, 8, ["visible"]));