@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,18 +1,18 @@
1
- import { At as e, C as t, Mt as n, N as r, _ as i, c as a, d as o, f as s, j as c, jt as ee, l, ot as u, r as d, y as f } from "./vue.runtime.esm-bundler-CrlI8j5R.js";
2
- import { gt as te } from "./dist-CzrLYq2s.js";
3
- import { $ as ne, q as re, v as ie } from "./keys-DBjrQkYH.js";
4
- import { t as ae } from "./useI18n-CeTm777E.js";
5
- import { n as oe, t as p } from "./templateSettingsFields-cjlP-jdw.js";
6
- import { t as m } from "./createLucideIcon-BV7Gwz_Z.js";
7
- import { c as h } from "./LogicTagInsertButton-CSD9cfJB.js";
8
- import { t as se } from "./eye-BKj9Tfnc.js";
9
- import { t as g } from "./info-Bx-kBkbH.js";
10
- import { t as _ } from "./square-B1CJgdt2.js";
1
+ import { C as e, Mt as t, N as n, Nt as r, _ as i, c as a, d as o, f as s, j as c, jt as l, l as u, r as d, st as f, y as p } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
2
+ import { gt as ee } from "./dist-CKi_npZM.js";
3
+ import { $ as te, q as ne, v as re } from "./keys-BgRERHzu.js";
4
+ import { t as ie } from "./useI18n-BBrHTdu8.js";
5
+ import { n as ae, t as m } from "./templateSettingsFields-cjlP-jdw.js";
6
+ import { t as h } from "./createLucideIcon-CvhTA2KG.js";
7
+ import { c as g } from "./LogicTagInsertButton-CfscnwCn.js";
8
+ import { t as oe } from "./eye-7W4t5e0Q.js";
9
+ import { t as se } from "./info-Cxi3-Kh9.js";
10
+ import { t as _ } from "./square-BbCROH_f.js";
11
11
  import { g as v, h as ce, l as le, m as ue, p as y, t as b } from "./styleConstants-B8xVRiwX.js";
12
- import { t as x } from "./MergeTagTextarea-DVPQkiYY.js";
13
- import { t as S } from "./ToggleSwitch-poGWbduy.js";
14
- import { n as C, t as w } from "./withCurrentFont-v_a4Oso8.js";
15
- var T = m({
12
+ import { t as x } from "./MergeTagTextarea-CPFEjJZd.js";
13
+ import { t as S } from "./ToggleSwitch-JykPyD_8.js";
14
+ import { n as C, t as w } from "./withCurrentFont-B22FXAF5.js";
15
+ var T = h({
16
16
  name: "circle",
17
17
  size: 24,
18
18
  node: [["circle", {
@@ -21,7 +21,7 @@ var T = m({
21
21
  r: "10",
22
22
  key: "1mglay"
23
23
  }]]
24
- }), E = m({
24
+ }), E = h({
25
25
  name: "globe",
26
26
  size: 24,
27
27
  node: [
@@ -67,7 +67,7 @@ var T = m({
67
67
  }, H = ["value"], U = ["value"], de = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, fe = {
68
68
  key: 0,
69
69
  "data-testid": "template-settings-locale"
70
- }, W = ["value"], pe = { class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, me = {
70
+ }, pe = ["value"], W = { class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, me = {
71
71
  key: 1,
72
72
  "data-testid": "template-settings-direction"
73
73
  }, he = { class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, ge = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, _e = {
@@ -77,12 +77,12 @@ var T = m({
77
77
  key: 4,
78
78
  class: "tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3",
79
79
  "data-testid": "template-settings-card-tips"
80
- }, Se = { class: "tpl:mb-2.5 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text-muted)]" }, Ce = { class: "tpl:m-0 tpl:list-disc tpl:pl-[18px] tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, we = { class: "tpl:mb-1 tpl:last:mb-0" }, Te = { class: "tpl:mb-1 tpl:last:mb-0" }, Ee = { class: "tpl:mb-1 tpl:last:mb-0" }, De = 150, G = /* @__PURE__ */ f({
80
+ }, Se = { class: "tpl:mb-2.5 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text-muted)]" }, Ce = { class: "tpl:m-0 tpl:list-disc tpl:pl-[18px] tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, we = { class: "tpl:mb-1 tpl:last:mb-0" }, Te = { class: "tpl:mb-1 tpl:last:mb-0" }, Ee = { class: "tpl:mb-1 tpl:last:mb-0" }, De = 150, G = /* @__PURE__ */ p({
81
81
  __name: "TemplateSettings",
82
82
  props: { settings: {} },
83
83
  emits: ["update"],
84
- setup(f, { emit: m }) {
85
- let G = f, K = m, { t: q } = ae(), J = ne(ie, "TemplateSettings"), Y = a(() => w(G.settings.fontFamily).trim() || J.defaultFont.value), Oe = a(() => C(J.fonts.value, Y.value)), ke = [
84
+ setup(p, { emit: h }) {
85
+ let G = p, K = h, { t: q } = ie(), J = te(re, "TemplateSettings"), Y = a(() => w(G.settings.fontFamily).trim() || J.defaultFont.value), Oe = a(() => C(J.fonts.value, Y.value)), ke = [
86
86
  {
87
87
  value: 480,
88
88
  label: "480px"
@@ -99,136 +99,136 @@ var T = m({
99
99
  value: 800,
100
100
  label: "800px"
101
101
  }
102
- ], X = t(re, new Set(p));
102
+ ], X = e(ne, new Set(m));
103
103
  function Z(e) {
104
104
  return X.has(e);
105
105
  }
106
106
  function Q(e) {
107
- return p.some((t) => oe[t] === e && Z(t));
107
+ return m.some((t) => ae[t] === e && Z(t));
108
108
  }
109
- let Ae = X.size > 0, je = a(() => te(G.settings) === "rtl"), $ = `${le} tpl:flex tpl:flex-col tpl:gap-3.5`;
110
- return (t, a) => (c(), s("aside", D, [l("div", O, [
109
+ let Ae = X.size > 0, je = a(() => ee(G.settings) === "rtl"), $ = `${le} tpl:flex tpl:flex-col tpl:gap-3.5`;
110
+ return (e, a) => (c(), s("aside", D, [u("div", O, [
111
111
  Q("layout") ? (c(), s("div", {
112
112
  key: 0,
113
- class: e($),
113
+ class: l($),
114
114
  "data-testid": "template-settings-card-layout"
115
115
  }, [
116
- l("div", k, [i(u(_), {
116
+ u("div", k, [i(f(_), {
117
117
  class: "tpl:text-[var(--tpl-text-muted)]",
118
118
  size: 14,
119
119
  "stroke-width": 2
120
- }), l("span", null, n(u(q).templateSettings.layout), 1)]),
121
- Z("width") ? (c(), s("div", A, [l("label", { class: e(u(v)) }, n(u(q).templateSettings.widthPreset), 3), l("div", j, [(c(), s(d, null, r(ke, (e) => l("button", {
120
+ }), u("span", null, r(f(q).templateSettings.layout), 1)]),
121
+ Z("width") ? (c(), s("div", A, [u("label", { class: l(f(v)) }, r(f(q).templateSettings.widthPreset), 3), u("div", j, [(c(), s(d, null, n(ke, (e) => u("button", {
122
122
  key: e.value,
123
123
  class: "tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-2 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]",
124
- style: ee({
125
- backgroundColor: f.settings.width === e.value ? "var(--tpl-bg)" : "transparent",
126
- color: f.settings.width === e.value ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
127
- boxShadow: f.settings.width === e.value ? "var(--tpl-shadow)" : "none"
124
+ style: t({
125
+ backgroundColor: p.settings.width === e.value ? "var(--tpl-bg)" : "transparent",
126
+ color: p.settings.width === e.value ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
127
+ boxShadow: p.settings.width === e.value ? "var(--tpl-shadow)" : "none"
128
128
  }),
129
129
  onClick: (t) => K("update", { width: e.value })
130
- }, n(e.label), 13, M)), 64))])])) : o("", !0),
131
- Z("width") ? (c(), s("div", N, [l("label", { class: e(u(v)) }, n(u(q).templateSettings.customWidth), 3), l("div", P, [l("input", {
130
+ }, r(e.label), 13, M)), 64))])])) : o("", !0),
131
+ Z("width") ? (c(), s("div", N, [u("label", { class: l(f(v)) }, r(f(q).templateSettings.customWidth), 3), u("div", P, [u("input", {
132
132
  type: "number",
133
- class: e(u(ue)),
134
- value: f.settings.width,
133
+ class: l(f(ue)),
134
+ value: p.settings.width,
135
135
  min: "300",
136
136
  max: "900",
137
137
  onInput: a[0] ||= (e) => K("update", { width: Number(e.target.value) })
138
- }, null, 42, F), l("span", { class: e(u(ce)) }, "px", 2)])])) : o("", !0)
138
+ }, null, 42, F), u("span", { class: l(f(ce)) }, "px", 2)])])) : o("", !0)
139
139
  ])) : o("", !0),
140
140
  Q("appearance") ? (c(), s("div", {
141
141
  key: 1,
142
- class: e($),
142
+ class: l($),
143
143
  "data-testid": "template-settings-card-appearance"
144
144
  }, [
145
- l("div", I, [i(u(T), {
145
+ u("div", I, [i(f(T), {
146
146
  class: "tpl:text-[var(--tpl-text-muted)]",
147
147
  size: 14,
148
148
  "stroke-width": 2
149
- }), l("span", null, n(u(q).templateSettings.appearance), 1)]),
150
- Z("backgroundColor") ? (c(), s("div", L, [l("label", { class: e(u(v)) }, n(u(q).templateSettings.backgroundColor), 3), i(h, {
151
- "model-value": f.settings.backgroundColor,
152
- placeholder: u(b),
149
+ }), u("span", null, r(f(q).templateSettings.appearance), 1)]),
150
+ Z("backgroundColor") ? (c(), s("div", L, [u("label", { class: l(f(v)) }, r(f(q).templateSettings.backgroundColor), 3), i(g, {
151
+ "model-value": p.settings.backgroundColor,
152
+ placeholder: f(b),
153
153
  "onUpdate:modelValue": a[1] ||= (e) => K("update", { backgroundColor: e })
154
154
  }, null, 8, ["model-value", "placeholder"])])) : o("", !0),
155
- Z("textColor") ? (c(), s("div", R, [l("label", { class: e(u(v)) }, n(u(q).templateSettings.textColor), 3), i(h, {
156
- "model-value": f.settings.textColor ?? "",
155
+ Z("textColor") ? (c(), s("div", R, [u("label", { class: l(f(v)) }, r(f(q).templateSettings.textColor), 3), i(g, {
156
+ "model-value": p.settings.textColor ?? "",
157
157
  "seed-color": "#1a1a1a",
158
158
  "onUpdate:modelValue": a[2] ||= (e) => K("update", { textColor: e })
159
159
  }, null, 8, ["model-value"])])) : o("", !0),
160
- Z("linkColor") ? (c(), s("div", z, [l("label", { class: e(u(v)) }, n(u(q).templateSettings.linkColor), 3), i(h, {
161
- "model-value": f.settings.linkColor ?? "",
160
+ Z("linkColor") ? (c(), s("div", z, [u("label", { class: l(f(v)) }, r(f(q).templateSettings.linkColor), 3), i(g, {
161
+ "model-value": p.settings.linkColor ?? "",
162
162
  "seed-color": "#0066cc",
163
163
  "onUpdate:modelValue": a[3] ||= (e) => K("update", { linkColor: e || void 0 })
164
164
  }, null, 8, ["model-value"])])) : o("", !0),
165
165
  Z("linkUnderline") ? (c(), s("div", B, [i(S, {
166
166
  class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
167
- "model-value": f.settings.linkUnderline,
168
- label: u(q).templateSettings.linkUnderline,
167
+ "model-value": p.settings.linkUnderline,
168
+ label: f(q).templateSettings.linkUnderline,
169
169
  "onUpdate:modelValue": a[4] ||= (e) => K("update", { linkUnderline: e })
170
170
  }, null, 8, ["model-value", "label"])])) : o("", !0),
171
- Z("fontFamily") ? (c(), s("div", V, [l("label", { class: e(u(v)) }, n(u(q).templateSettings.fontFamily), 3), l("select", {
172
- class: e(u(y)),
171
+ Z("fontFamily") ? (c(), s("div", V, [u("label", { class: l(f(v)) }, r(f(q).templateSettings.fontFamily), 3), u("select", {
172
+ class: l(f(y)),
173
173
  value: Y.value,
174
174
  onChange: a[5] ||= (e) => K("update", { fontFamily: e.target.value })
175
- }, [(c(!0), s(d, null, r(Oe.value, (e) => (c(), s("option", {
175
+ }, [(c(!0), s(d, null, n(Oe.value, (e) => (c(), s("option", {
176
176
  key: e.value,
177
177
  value: e.value
178
- }, n(e.label), 9, U))), 128))], 42, H)])) : o("", !0)
178
+ }, r(e.label), 9, U))), 128))], 42, H)])) : o("", !0)
179
179
  ])) : o("", !0),
180
180
  Q("language") ? (c(), s("div", {
181
181
  key: 2,
182
- class: e($),
182
+ class: l($),
183
183
  "data-testid": "template-settings-card-language"
184
184
  }, [
185
- l("div", de, [i(u(E), {
185
+ u("div", de, [i(f(E), {
186
186
  class: "tpl:text-[var(--tpl-text-muted)]",
187
187
  size: 14,
188
188
  "stroke-width": 2
189
- }), l("span", null, n(u(q).templateSettings.language), 1)]),
189
+ }), u("span", null, r(f(q).templateSettings.language), 1)]),
190
190
  Z("locale") ? (c(), s("div", fe, [
191
- l("label", { class: e(u(v)) }, n(u(q).templateSettings.contentLocale), 3),
192
- l("input", {
191
+ u("label", { class: l(f(v)) }, r(f(q).templateSettings.contentLocale), 3),
192
+ u("input", {
193
193
  type: "text",
194
- class: e(u(y)),
195
- value: f.settings.locale ?? "",
194
+ class: l(f(y)),
195
+ value: p.settings.locale ?? "",
196
196
  placeholder: "en",
197
197
  spellcheck: "false",
198
198
  autocapitalize: "off",
199
199
  autocomplete: "off",
200
200
  onInput: a[6] ||= (e) => K("update", { locale: e.target.value.trim() || void 0 })
201
- }, null, 42, W),
202
- l("p", pe, n(u(q).templateSettings.contentLocaleHint), 1)
201
+ }, null, 42, pe),
202
+ u("p", W, r(f(q).templateSettings.contentLocaleHint), 1)
203
203
  ])) : o("", !0),
204
204
  Z("direction") ? (c(), s("div", me, [i(S, {
205
205
  class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
206
206
  "model-value": je.value,
207
- label: u(q).templateSettings.contentDirection,
207
+ label: f(q).templateSettings.contentDirection,
208
208
  "onUpdate:modelValue": a[7] ||= (e) => K("update", { direction: e ? "rtl" : "ltr" })
209
- }, null, 8, ["model-value", "label"]), l("p", he, n(u(q).templateSettings.contentDirectionHint), 1)])) : o("", !0)
209
+ }, null, 8, ["model-value", "label"]), u("p", he, r(f(q).templateSettings.contentDirectionHint), 1)])) : o("", !0)
210
210
  ])) : o("", !0),
211
211
  Q("preheader") ? (c(), s("div", {
212
212
  key: 3,
213
- class: e($),
213
+ class: l($),
214
214
  "data-testid": "template-settings-card-preheader"
215
- }, [l("div", ge, [i(u(se), {
215
+ }, [u("div", ge, [i(f(oe), {
216
216
  class: "tpl:text-[var(--tpl-text-muted)]",
217
217
  size: 14,
218
218
  "stroke-width": 2
219
- }), l("span", null, n(u(q).templateSettings.preheaderText), 1)]), Z("preheaderText") ? (c(), s("div", _e, [i(x, {
220
- "model-value": f.settings.preheaderText ?? "",
221
- placeholder: u(q).templateSettings.preheaderTextPlaceholder,
219
+ }), u("span", null, r(f(q).templateSettings.preheaderText), 1)]), Z("preheaderText") ? (c(), s("div", _e, [i(x, {
220
+ "model-value": p.settings.preheaderText ?? "",
221
+ placeholder: f(q).templateSettings.preheaderTextPlaceholder,
222
222
  rows: 2,
223
223
  "onUpdate:modelValue": a[8] ||= (e) => K("update", { preheaderText: e.replace(/[\r\n]/g, " ") || void 0 })
224
- }, null, 8, ["model-value", "placeholder"]), l("div", ve, [l("span", ye, n(u(q).templateSettings.preheaderTextHint), 1), l("span", be, n((f.settings.preheaderText ?? "").length) + "/" + n(De), 1)])])) : o("", !0)])) : o("", !0),
225
- Ae ? (c(), s("div", xe, [l("div", Se, [i(u(g), {
224
+ }, null, 8, ["model-value", "placeholder"]), u("div", ve, [u("span", ye, r(f(q).templateSettings.preheaderTextHint), 1), u("span", be, r((p.settings.preheaderText ?? "").length) + "/" + r(De), 1)])])) : o("", !0)])) : o("", !0),
225
+ Ae ? (c(), s("div", xe, [u("div", Se, [i(f(se), {
226
226
  size: 14,
227
227
  "stroke-width": 2
228
- }), l("span", null, n(u(q).templateSettings.tips), 1)]), l("ul", Ce, [
229
- l("li", we, n(u(q).templateSettings.tip1), 1),
230
- l("li", Te, n(u(q).templateSettings.tip2), 1),
231
- l("li", Ee, n(u(q).templateSettings.tip3), 1)
228
+ }), u("span", null, r(f(q).templateSettings.tips), 1)]), u("ul", Ce, [
229
+ u("li", we, r(f(q).templateSettings.tip1), 1),
230
+ u("li", Te, r(f(q).templateSettings.tip2), 1),
231
+ u("li", Ee, r(f(q).templateSettings.tip3), 1)
232
232
  ])])) : o("", !0)
233
233
  ])]));
234
234
  }
@@ -1,15 +1,15 @@
1
- import { At as e, C as t, H as n, Mt as r, N as i, Q as a, V as ee, _ as o, c as s, d as c, f as l, g as u, j as d, l as f, ot as p, r as m, u as h, y as g, z as te } from "./vue.runtime.esm-bundler-CrlI8j5R.js";
2
- import { a as ne, i as re } from "./runtime-dom.esm-bundler-CLGymEyk.js";
3
- import { g as ie, nt as ae } from "./dist-CzrLYq2s.js";
4
- import { H as oe } from "./useEditorCore-DG9UvWUm.js";
5
- import { C as se, F as _, H as ce, M as v, O as le, g as ue } from "./keys-DBjrQkYH.js";
6
- import { t as de } from "./useI18n-CeTm777E.js";
7
- import { t as fe } from "./check-N3x4z_rH.js";
8
- import { t as pe } from "./loader-circle-DBEXphyx.js";
9
- import { n as me, t as he } from "./MergeTagModeToggle-DvD0ne7N.js";
10
- import { v as ge } from "./styleConstants-B8xVRiwX.js";
11
- import { t as y } from "./TplModal-9IndEYk5.js";
12
- import { t as b } from "./BlockPreviewCanvas-Df9iz7sK.js";
1
+ import { $ as e, C as t, H as n, N as r, Nt as i, U as a, _ as o, c as s, d as c, f as l, g as u, j as d, jt as f, l as p, r as m, st as h, u as g, y as _, z as ee } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
2
+ import { a as te, i as ne } from "./runtime-dom.esm-bundler-BURR-bj5.js";
3
+ import { g as re, nt as ie } from "./dist-CKi_npZM.js";
4
+ import { H as ae } from "./useEditorCore-BSo2sSID.js";
5
+ import { C as oe, F as v, H as se, M as y, O as ce, g as le } from "./keys-BgRERHzu.js";
6
+ import { t as ue } from "./useI18n-BBrHTdu8.js";
7
+ import { t as de } from "./check-BZ8o0eet.js";
8
+ import { t as fe } from "./loader-circle-BZRD0a4I.js";
9
+ import { n as pe, t as me } from "./MergeTagModeToggle-DxujhYJ4.js";
10
+ import { v as he } from "./styleConstants-B8xVRiwX.js";
11
+ import { t as ge } from "./TplModal-DLMssVlt.js";
12
+ import { t as b } from "./BlockPreviewCanvas-B-4bmJ3t.js";
13
13
  // src/utils/validateEmailShape.ts
14
14
  var x = /[,;<>()[\]\\"'`|/?#@!$%^&*+=~{}]/;
15
15
  function S(e) {
@@ -63,7 +63,7 @@ var C = ["aria-busy"], w = {
63
63
  }, Se = { class: "tpl:flex tpl:shrink-0 tpl:justify-end tpl:gap-2" }, Ce = ["disabled"], we = ["disabled"], Te = {
64
64
  key: 0,
65
65
  class: "tpl:flex tpl:items-center tpl:gap-1.5"
66
- }, Ee = { key: 1 }, R = /* @__PURE__ */ g({
66
+ }, Ee = { key: 1 }, R = /* @__PURE__ */ _({
67
67
  __name: "TestEmailModal",
68
68
  props: {
69
69
  visible: { type: Boolean },
@@ -74,25 +74,25 @@ var C = ["aria-busy"], w = {
74
74
  error: {}
75
75
  },
76
76
  emits: ["send", "close"],
77
- setup(g, { emit: x }) {
78
- let R = g, z = x, { t: B } = de(), De = t(ue, null), V = t(se, void 0), H = a(""), U = a("desktop"), Oe = t(ce, void 0), W = oe({
77
+ setup(_, { emit: x }) {
78
+ let R = _, z = x, { t: B } = ue(), De = t(le, null), V = t(oe, void 0), H = e(""), U = e("desktop"), Oe = t(se, void 0), W = ae({
79
79
  resolvePreview: Oe ?? void 0,
80
80
  getContent: () => {
81
81
  let e = De?.content.value ?? {
82
82
  blocks: [],
83
83
  settings: {}
84
84
  };
85
- return V && R.visible ? ie(V, e) : e;
85
+ return V && R.visible ? re(V, e) : e;
86
86
  },
87
87
  isActive: () => R.visible,
88
88
  getRecipient: () => H.value || void 0
89
- }), G = t(v, null), K = a(ae(t(le, _).value)), q = s({
89
+ }), G = t(y, null), K = e(ie(t(ce, v).value)), q = s({
90
90
  get: () => W.isConfigured ? !1 : G?.value ?? K.value,
91
91
  set: (e) => {
92
92
  G ? G.value = e : K.value = e;
93
93
  }
94
94
  }), ke = s(() => W.content.value.blocks ?? []), Ae = s(() => W.content.value.settings), J = s(() => R.allowedRecipients !== void 0 && R.allowedRecipients.length > 0), je = s(() => R.allowedRecipients?.length === 1);
95
- te(() => R.visible, (e) => {
95
+ ee(() => R.visible, (e) => {
96
96
  e && (H.value = R.defaultRecipient ?? R.allowedRecipients?.[0] ?? "");
97
97
  }, { immediate: !0 });
98
98
  let Y = s(() => J.value ? H.value.length > 0 : S(H.value)), X = s(() => Y.value && !R.isSending && !R.justSent), Me = s(() => !J.value && H.value.trim().length > 0 && !Y.value), Z = s(() => R.error ? R.error.kind === "provider" ? R.error.message : B.testEmail.recipientNotAllowed : null);
@@ -105,15 +105,15 @@ var C = ["aria-busy"], w = {
105
105
  function Ne(e) {
106
106
  e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Q()), e.key === "Escape" && $();
107
107
  }
108
- return (t, a) => (d(), h(y, {
109
- visible: g.visible,
108
+ return (e, t) => (d(), g(ge, {
109
+ visible: _.visible,
110
110
  onClose: $,
111
111
  onKeydown: Ne
112
112
  }, {
113
- default: ee(() => [f("div", {
113
+ default: n(() => [p("div", {
114
114
  role: "dialog",
115
115
  "aria-modal": "true",
116
- "aria-busy": g.isSending,
116
+ "aria-busy": _.isSending,
117
117
  "aria-labelledby": "tpl-test-email-title",
118
118
  class: "tpl-scale-in tpl:flex tpl:max-h-[90%] tpl:w-full tpl:max-w-3xl tpl:flex-col tpl:rounded-[var(--tpl-radius-lg)] tpl:p-5",
119
119
  style: {
@@ -121,9 +121,9 @@ var C = ["aria-busy"], w = {
121
121
  "box-shadow": "var(--tpl-shadow-xl)"
122
122
  }
123
123
  }, [
124
- f("h3", w, r(p(B).testEmail.title), 1),
125
- f("div", T, [
126
- f("label", E, r(p(B).testEmail.recipientLabel), 1),
124
+ p("h3", w, i(h(B).testEmail.title), 1),
125
+ p("div", T, [
126
+ p("label", E, i(h(B).testEmail.recipientLabel), 1),
127
127
  je.value ? (d(), l("input", {
128
128
  key: 0,
129
129
  id: "tpl-test-email-recipient",
@@ -132,75 +132,75 @@ var C = ["aria-busy"], w = {
132
132
  disabled: "",
133
133
  "data-testid": "test-email-recipient",
134
134
  class: "tpl:h-9 tpl:w-full tpl:rounded-md tpl:border tpl:px-3 tpl:py-1 tpl:text-sm tpl:opacity-70 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)]"
135
- }, null, 8, D)) : J.value ? n((d(), l("select", {
135
+ }, null, 8, D)) : J.value ? a((d(), l("select", {
136
136
  key: 1,
137
137
  id: "tpl-test-email-recipient",
138
- "onUpdate:modelValue": a[0] ||= (e) => H.value = e,
139
- disabled: g.isSending || g.justSent,
138
+ "onUpdate:modelValue": t[0] ||= (e) => H.value = e,
139
+ disabled: _.isSending || _.justSent,
140
140
  "data-testid": "test-email-recipient",
141
141
  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)]"
142
- }, [(d(!0), l(m, null, i(g.allowedRecipients, (e) => (d(), l("option", {
142
+ }, [(d(!0), l(m, null, r(_.allowedRecipients, (e) => (d(), l("option", {
143
143
  key: e,
144
144
  value: e
145
- }, r(e), 9, k))), 128))], 8, O)), [[re, H.value]]) : n((d(), l("input", {
145
+ }, i(e), 9, k))), 128))], 8, O)), [[ne, H.value]]) : a((d(), l("input", {
146
146
  key: 2,
147
147
  id: "tpl-test-email-recipient",
148
- "onUpdate:modelValue": a[1] ||= (e) => H.value = e,
148
+ "onUpdate:modelValue": t[1] ||= (e) => H.value = e,
149
149
  type: "email",
150
150
  autocomplete: "email",
151
151
  spellcheck: "false",
152
- placeholder: p(B).testEmail.recipientPlaceholder,
153
- disabled: g.isSending || g.justSent,
152
+ placeholder: h(B).testEmail.recipientPlaceholder,
153
+ disabled: _.isSending || _.justSent,
154
154
  "data-testid": "test-email-recipient",
155
155
  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)]"
156
- }, null, 8, A)), [[ne, H.value]]),
157
- Me.value ? (d(), l("p", j, r(p(B).testEmail.invalidAddress), 1)) : c("", !0)
156
+ }, null, 8, A)), [[te, H.value]]),
157
+ Me.value ? (d(), l("p", j, i(h(B).testEmail.invalidAddress), 1)) : c("", !0)
158
158
  ]),
159
- f("div", M, [f("div", N, [f("span", P, r(p(B).testEmail.preview), 1), f("div", F, [p(W).supersedesSamples.value ? c("", !0) : (d(), h(he, {
159
+ p("div", M, [p("div", N, [p("span", P, i(h(B).testEmail.preview), 1), p("div", F, [h(W).supersedesSamples.value ? c("", !0) : (d(), g(me, {
160
160
  key: 0,
161
161
  "sample-mode": q.value,
162
- onChange: a[2] ||= (e) => q.value = e
163
- }, null, 8, ["sample-mode"])), o(me, {
162
+ onChange: t[2] ||= (e) => q.value = e
163
+ }, null, 8, ["sample-mode"])), o(pe, {
164
164
  viewport: U.value,
165
- onChange: a[3] ||= (e) => U.value = e
166
- }, null, 8, ["viewport"])])]), f("p", I, r(p(W).supersedesSamples.value ? p(B).previewResolution.hint : q.value ? p(B).testEmail.previewHintSample : p(B).testEmail.previewHint), 1)]),
167
- f("div", L, [p(W).isInitialResolve.value ? (d(), l("div", _e, [f("span", ve, r(p(B).previewResolution.resolving), 1), (d(), l(m, null, i(3, (e) => f("div", {
165
+ onChange: t[3] ||= (e) => U.value = e
166
+ }, null, 8, ["viewport"])])]), p("p", I, i(h(W).supersedesSamples.value ? h(B).previewResolution.hint : q.value ? h(B).testEmail.previewHintSample : h(B).testEmail.previewHint), 1)]),
167
+ p("div", L, [h(W).isInitialResolve.value ? (d(), l("div", _e, [p("span", ve, i(h(B).previewResolution.resolving), 1), (d(), l(m, null, r(3, (e) => p("div", {
168
168
  key: e,
169
169
  "aria-hidden": "true",
170
170
  class: "tpl-pulse tpl:h-16 tpl:rounded-md tpl:bg-[var(--tpl-bg-hover)]"
171
- })), 64))])) : p(W).hasFailed.value ? (d(), l("p", ye, r(p(B).previewResolution.failed), 1)) : c("", !0), p(W).isInitialResolve.value ? c("", !0) : (d(), h(b, {
171
+ })), 64))])) : h(W).hasFailed.value ? (d(), l("p", ye, i(h(B).previewResolution.failed), 1)) : c("", !0), h(W).isInitialResolve.value ? c("", !0) : (d(), g(b, {
172
172
  key: 2,
173
173
  blocks: ke.value,
174
174
  settings: Ae.value,
175
175
  viewport: U.value,
176
- "apply-condition-filter": !p(W).isConfigured
176
+ "apply-condition-filter": !h(W).isConfigured
177
177
  }, null, 8, [
178
178
  "blocks",
179
179
  "settings",
180
180
  "viewport",
181
181
  "apply-condition-filter"
182
182
  ]))]),
183
- g.justSent ? (d(), l("p", be, [o(p(fe), {
183
+ _.justSent ? (d(), l("p", be, [o(h(de), {
184
184
  size: 13,
185
185
  "stroke-width": 2.5
186
- }), u(" " + r(p(B).testEmail.success), 1)])) : Z.value ? (d(), l("p", xe, r(Z.value), 1)) : c("", !0),
187
- f("div", Se, [f("button", {
186
+ }), u(" " + i(h(B).testEmail.success), 1)])) : Z.value ? (d(), l("p", xe, i(Z.value), 1)) : c("", !0),
187
+ p("div", Se, [p("button", {
188
188
  type: "button",
189
189
  "data-testid": "test-email-cancel",
190
- 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": g.isSending }]),
191
- disabled: g.isSending,
190
+ class: f(["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": _.isSending }]),
191
+ disabled: _.isSending,
192
192
  onClick: $
193
- }, r(p(B).testEmail.cancel), 11, Ce), f("button", {
193
+ }, i(h(B).testEmail.cancel), 11, Ce), p("button", {
194
194
  type: "button",
195
195
  "data-testid": "test-email-send",
196
- class: e(p(ge)),
196
+ class: f(h(he)),
197
197
  disabled: !X.value,
198
198
  onClick: Q
199
- }, [g.isSending ? (d(), l("span", Te, [o(p(pe), {
199
+ }, [_.isSending ? (d(), l("span", Te, [o(h(fe), {
200
200
  class: "tpl:animate-spin",
201
201
  size: 12,
202
202
  "stroke-width": 2
203
- }), u(" " + r(p(B).testEmail.sending), 1)])) : (d(), l("span", Ee, r(p(B).testEmail.send), 1))], 10, we)])
203
+ }), u(" " + i(h(B).testEmail.sending), 1)])) : (d(), l("span", Ee, i(h(B).testEmail.send), 1))], 10, we)])
204
204
  ], 8, C)]),
205
205
  _: 1
206
206
  }, 8, ["visible"]));
@@ -1,10 +1,10 @@
1
- import { d as e, j as t, ot as n, u as r, v as i, y as a } from "./vue.runtime.esm-bundler-CrlI8j5R.js";
1
+ import { d as e, j as t, st as n, u as r, v as i, y as a } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
2
2
  // src/components/TestEmailPanel.vue
3
3
  var o = /* @__PURE__ */ a({
4
4
  __name: "TestEmailPanel",
5
5
  props: { feature: {} },
6
6
  setup(a) {
7
- let o = a, s = i(() => import("./TestEmailModal-Cb5t0yB2.js"));
7
+ let o = a, s = i(() => import("./TestEmailModal-DBD0X5nV.js"));
8
8
  function c(e) {
9
9
  o.feature.send(e);
10
10
  }