@templatical/editor 0.39.0 → 0.39.2

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 (273) hide show
  1. package/README.md +2 -4
  2. package/dist/{AiChatSidebar-jVlXXND3.js → AiChatSidebar-pOxCZWz9.js} +14 -14
  3. package/dist/{AiFeatureMenu-C1HCntyQ.js → AiFeatureMenu-Bljk6Qjv.js} +7 -7
  4. package/dist/{BlockIssueBadge-JhNgcUmZ.js → BlockIssueBadge-D5oGxOQP.js} +5 -5
  5. package/dist/{BlockPreviewCanvas-C_rA5LJN.js → BlockPreviewCanvas-DXGjUECG.js} +27 -27
  6. package/dist/{CloudHeaderExtras-DvYyNsPB.js → CloudHeaderExtras-DaocwNmy.js} +5 -5
  7. package/dist/{CloudPanels-CDPhPVdd.js → CloudPanels-CyZAnSJY.js} +7 -7
  8. package/dist/{CollaboratorBar-Co9UPoB0.js → CollaboratorBar-C7Zca3g1.js} +4 -4
  9. package/dist/{CommentsPanel-CRcVN9Ri.js → CommentsPanel-CNOb7YCm.js} +2 -2
  10. package/dist/{CommentsSidebar-gDU977br.js → CommentsSidebar-VmwjU9va.js} +14 -14
  11. package/dist/{CountdownBlock-CEzrfe5R.js → CountdownBlock-DSvbf3qU.js} +3 -3
  12. package/dist/{CountdownToolbar-B00zhkNJ.js → CountdownToolbar-C2kfS6Oy.js} +31 -30
  13. package/dist/{DesignReferenceSidebar-DedivZZl.js → DesignReferenceSidebar-QC4gEUWp.js} +11 -11
  14. package/dist/{IssuesPanel-C-PjdmAV.js → IssuesPanel-DL2Xr14_.js} +8 -8
  15. package/dist/{LoadingTrack-BlTL4zFv.js → LoadingTrack-C2jKCU2d.js} +1 -1
  16. package/dist/LogicTagInsertButton-D8IwH-9Z.js +1071 -0
  17. package/dist/MediaEditModal-D4GEq2md.js +3545 -0
  18. package/dist/{MediaPanels-BpQNY8YX.js → MediaPanels-sapgKtxu.js} +2 -2
  19. package/dist/MergeTagInput-QI-5KG2R.js +81 -0
  20. package/dist/{MergeTagModeToggle-DGuzSAdX.js → MergeTagModeToggle-D793Bj_E.js} +14 -55
  21. package/dist/{ParagraphEditor-jMKLLTa8.js → ParagraphEditor-DkkPSexG.js} +65 -66
  22. package/dist/{RestoreVersionDialog-DG1jUdBM.js → RestoreVersionDialog-BgueZnZr.js} +5 -5
  23. package/dist/{RichTextEditorContent-JrNEg0kv.js → RichTextEditorContent-BC5UTVnb.js} +11 -11
  24. package/dist/{SaveBlockDialog-C0KC-OKs.js → SaveBlockDialog-BuTuVlLr.js} +12 -11
  25. package/dist/{SavedBlocksBrowserModal-zyOiRgWZ.js → SavedBlocksBrowserModal-Srhix8BB.js} +17 -16
  26. package/dist/{SavedBlocksPanels-epMd799w.js → SavedBlocksPanels-B2iScCS-.js} +2 -2
  27. package/dist/{SavedBlocksPickBar-CJqqQ3jd.js → SavedBlocksPickBar-cI7bDQQi.js} +4 -4
  28. package/dist/{TemplateScoringPanel-m2FOeaai.js → TemplateScoringPanel-C2Rdlyn6.js} +16 -16
  29. package/dist/TemplateSettings-C_5leDdF.js +245 -0
  30. package/dist/{TestEmailModal-D58kYkMV.js → TestEmailModal-DJ5q_u4N.js} +10 -10
  31. package/dist/{TestEmailPanel-BmFVBIQt.js → TestEmailPanel-CP24UGst.js} +2 -2
  32. package/dist/{TitleEditor-C4BGPXnf.js → TitleEditor-QBBOXtxx.js} +15 -15
  33. package/dist/ToggleSwitch-JvQ_CmI1.js +102 -0
  34. package/dist/Toolbar-COD2TW20.js +2426 -0
  35. package/dist/{TplModal-BIDJw4Kj.js → TplModal-C8xGjC1l.js} +5 -5
  36. package/dist/{VersionHistoryMenu-dt_aZQfh.js → VersionHistoryMenu-BVQityes.js} +10 -10
  37. package/dist/{VersionHistoryPanels-B_5SBRrr.js → VersionHistoryPanels-BrK6na4A.js} +2 -2
  38. package/dist/{VersionPreviewBanner-DttvOkwd.js → VersionPreviewBanner-BaMSgA1O.js} +3 -3
  39. package/dist/{blockTypeIcons-CzTizYmK.js → blockTypeIcons-CdXugKyV.js} +16 -37
  40. package/dist/bundle-stats.json +8 -8
  41. package/dist/{ca-Jx2CDwtn.js → ca-BTf1Zbqb.js} +9 -0
  42. package/dist/cdn/chunks/{AiChatSidebar-DeZl9Tk0.js → AiChatSidebar-CjSEoK4x.js} +8 -8
  43. package/dist/cdn/chunks/{AiChatSidebar-DeZl9Tk0.js.map → AiChatSidebar-CjSEoK4x.js.map} +1 -1
  44. package/dist/cdn/chunks/{AiFeatureMenu-Bv8jMu9p.js → AiFeatureMenu-l0K5TOSn.js} +6 -6
  45. package/dist/cdn/chunks/{AiFeatureMenu-Bv8jMu9p.js.map → AiFeatureMenu-l0K5TOSn.js.map} +1 -1
  46. package/dist/cdn/chunks/{BlockIssueBadge-B6PpoOPv.js → BlockIssueBadge-9hHpaXb9.js} +5 -5
  47. package/dist/cdn/chunks/{BlockIssueBadge-B6PpoOPv.js.map → BlockIssueBadge-9hHpaXb9.js.map} +1 -1
  48. package/dist/cdn/chunks/{BlockPreviewCanvas-DfEtDosD.js → BlockPreviewCanvas-lQrAdgG3.js} +30 -30
  49. package/dist/cdn/chunks/{BlockPreviewCanvas-DfEtDosD.js.map → BlockPreviewCanvas-lQrAdgG3.js.map} +1 -1
  50. package/dist/cdn/chunks/{CloudHeaderExtras-Hk98ub-C.js → CloudHeaderExtras-CXNe7Q-4.js} +5 -5
  51. package/dist/cdn/chunks/{CloudHeaderExtras-Hk98ub-C.js.map → CloudHeaderExtras-CXNe7Q-4.js.map} +1 -1
  52. package/dist/cdn/chunks/{CloudPanels-Ba3GLmvF.js → CloudPanels-bHhh9AUA.js} +6 -6
  53. package/dist/cdn/chunks/{CloudPanels-Ba3GLmvF.js.map → CloudPanels-bHhh9AUA.js.map} +1 -1
  54. package/dist/cdn/chunks/{CollaboratorBar-D2dCQ9gg.js → CollaboratorBar-DgqcaGGI.js} +5 -5
  55. package/dist/cdn/chunks/{CollaboratorBar-D2dCQ9gg.js.map → CollaboratorBar-DgqcaGGI.js.map} +1 -1
  56. package/dist/cdn/chunks/{CommentsPanel-CV2HveQk.js → CommentsPanel-Cy4TlTHC.js} +3 -3
  57. package/dist/cdn/chunks/{CommentsPanel-CV2HveQk.js.map → CommentsPanel-Cy4TlTHC.js.map} +1 -1
  58. package/dist/cdn/chunks/{CommentsSidebar-Dok_vaRc.js → CommentsSidebar-C7oAP3Mx.js} +5 -5
  59. package/dist/cdn/chunks/{CommentsSidebar-Dok_vaRc.js.map → CommentsSidebar-C7oAP3Mx.js.map} +1 -1
  60. package/dist/cdn/chunks/{CountdownBlock-DGDl3ota.js → CountdownBlock-DdC8Lg5F.js} +4 -4
  61. package/dist/cdn/chunks/{CountdownBlock-DGDl3ota.js.map → CountdownBlock-DdC8Lg5F.js.map} +1 -1
  62. package/dist/cdn/chunks/{CountdownToolbar-B9Rin64t.js → CountdownToolbar-CN9h4nlC.js} +22 -21
  63. package/dist/cdn/chunks/{CountdownToolbar-B9Rin64t.js.map → CountdownToolbar-CN9h4nlC.js.map} +1 -1
  64. package/dist/cdn/chunks/{DesignReferenceSidebar-eCuTFak2.js → DesignReferenceSidebar-Bjo0M-AY.js} +7 -7
  65. package/dist/cdn/chunks/{DesignReferenceSidebar-eCuTFak2.js.map → DesignReferenceSidebar-Bjo0M-AY.js.map} +1 -1
  66. package/dist/cdn/chunks/{IssuesPanel-CP7FEzw7.js → IssuesPanel-DdFk-Blf.js} +6 -6
  67. package/dist/cdn/chunks/{IssuesPanel-CP7FEzw7.js.map → IssuesPanel-DdFk-Blf.js.map} +1 -1
  68. package/dist/cdn/chunks/{LoadingTrack-Cm3TDKb3.js → LoadingTrack-Ba5xh5HD.js} +2 -2
  69. package/dist/cdn/chunks/{LoadingTrack-Cm3TDKb3.js.map → LoadingTrack-Ba5xh5HD.js.map} +1 -1
  70. package/dist/cdn/chunks/LogicTagInsertButton-DpyPozop.js +1035 -0
  71. package/dist/cdn/chunks/LogicTagInsertButton-DpyPozop.js.map +1 -0
  72. package/dist/cdn/chunks/MediaEditModal-BBZRcYKe.js +3529 -0
  73. package/dist/cdn/chunks/MediaEditModal-BBZRcYKe.js.map +1 -0
  74. package/dist/cdn/chunks/{MediaPanels-TYrKKHX5.js → MediaPanels-CSBCsFwT.js} +3 -3
  75. package/dist/cdn/chunks/{MediaPanels-TYrKKHX5.js.map → MediaPanels-CSBCsFwT.js.map} +1 -1
  76. package/dist/cdn/chunks/MergeTagInput-ERJr7bP_.js +83 -0
  77. package/dist/cdn/chunks/MergeTagInput-ERJr7bP_.js.map +1 -0
  78. package/dist/cdn/chunks/{MergeTagModeToggle-QGTUIWWo.js → MergeTagModeToggle-n3nvSNeQ.js} +5 -5
  79. package/dist/cdn/chunks/{MergeTagModeToggle-QGTUIWWo.js.map → MergeTagModeToggle-n3nvSNeQ.js.map} +1 -1
  80. package/dist/cdn/chunks/{ParagraphEditor-D1tsPv4v.js → ParagraphEditor-DO4RzP8l.js} +40 -40
  81. package/dist/cdn/chunks/{ParagraphEditor-D1tsPv4v.js.map → ParagraphEditor-DO4RzP8l.js.map} +1 -1
  82. package/dist/cdn/chunks/{RestoreVersionDialog-BeCxNPLS.js → RestoreVersionDialog-CzZ_sFnz.js} +5 -5
  83. package/dist/cdn/chunks/{RestoreVersionDialog-BeCxNPLS.js.map → RestoreVersionDialog-CzZ_sFnz.js.map} +1 -1
  84. package/dist/cdn/chunks/{RichTextEditorContent-BBxzACFQ.js → RichTextEditorContent-Ch5zeyZ7.js} +8 -8
  85. package/dist/cdn/chunks/{RichTextEditorContent-BBxzACFQ.js.map → RichTextEditorContent-Ch5zeyZ7.js.map} +1 -1
  86. package/dist/cdn/chunks/{SaveBlockDialog-CLgh_g7H.js → SaveBlockDialog-LgxYrXyx.js} +10 -9
  87. package/dist/cdn/chunks/{SaveBlockDialog-CLgh_g7H.js.map → SaveBlockDialog-LgxYrXyx.js.map} +1 -1
  88. package/dist/cdn/chunks/{SavedBlocksBrowserModal-B4TcUJJe.js → SavedBlocksBrowserModal-CdeSsTpb.js} +9 -9
  89. package/dist/cdn/chunks/{SavedBlocksBrowserModal-B4TcUJJe.js.map → SavedBlocksBrowserModal-CdeSsTpb.js.map} +1 -1
  90. package/dist/cdn/chunks/{SavedBlocksPanels-CaBsHoRC.js → SavedBlocksPanels-B5hakNJj.js} +3 -3
  91. package/dist/cdn/chunks/{SavedBlocksPanels-CaBsHoRC.js.map → SavedBlocksPanels-B5hakNJj.js.map} +1 -1
  92. package/dist/cdn/chunks/{SavedBlocksPickBar-iG35XCDx.js → SavedBlocksPickBar-Cl6PLwwV.js} +5 -5
  93. package/dist/cdn/chunks/{SavedBlocksPickBar-iG35XCDx.js.map → SavedBlocksPickBar-Cl6PLwwV.js.map} +1 -1
  94. package/dist/cdn/chunks/{TemplateScoringPanel-DuQJBykq.js → TemplateScoringPanel--JxR6CsQ.js} +6 -6
  95. package/dist/cdn/chunks/{TemplateScoringPanel-DuQJBykq.js.map → TemplateScoringPanel--JxR6CsQ.js.map} +1 -1
  96. package/dist/cdn/chunks/TemplateSettings-DjXiiiNr.js +207 -0
  97. package/dist/cdn/chunks/TemplateSettings-DjXiiiNr.js.map +1 -0
  98. package/dist/cdn/chunks/{TestEmailModal-D6Woss3r.js → TestEmailModal-BAuDxJtD.js} +9 -9
  99. package/dist/cdn/chunks/{TestEmailModal-D6Woss3r.js.map → TestEmailModal-BAuDxJtD.js.map} +1 -1
  100. package/dist/cdn/chunks/{TestEmailPanel-CWQFB7J3.js → TestEmailPanel-GUGZisLp.js} +3 -3
  101. package/dist/cdn/chunks/{TestEmailPanel-CWQFB7J3.js.map → TestEmailPanel-GUGZisLp.js.map} +1 -1
  102. package/dist/cdn/chunks/{TitleEditor-CbY1tgSl.js → TitleEditor-uKu33Nwr.js} +12 -12
  103. package/dist/cdn/chunks/{TitleEditor-CbY1tgSl.js.map → TitleEditor-uKu33Nwr.js.map} +1 -1
  104. package/dist/cdn/chunks/ToggleSwitch-CDy8OfcB.js +104 -0
  105. package/dist/cdn/chunks/ToggleSwitch-CDy8OfcB.js.map +1 -0
  106. package/dist/cdn/chunks/Toolbar-dxDYwN5E.js +2385 -0
  107. package/dist/cdn/chunks/Toolbar-dxDYwN5E.js.map +1 -0
  108. package/dist/cdn/chunks/{TplModal-CGpp-d_r.js → TplModal-DuwS2ifK.js} +5 -5
  109. package/dist/cdn/chunks/{TplModal-CGpp-d_r.js.map → TplModal-DuwS2ifK.js.map} +1 -1
  110. package/dist/cdn/chunks/{VersionHistoryMenu-ByVJXDbK.js → VersionHistoryMenu-Dij1pTEb.js} +6 -6
  111. package/dist/cdn/chunks/{VersionHistoryMenu-ByVJXDbK.js.map → VersionHistoryMenu-Dij1pTEb.js.map} +1 -1
  112. package/dist/cdn/chunks/{VersionHistoryPanels-CQJ5OggF.js → VersionHistoryPanels-GeR6MStB.js} +3 -3
  113. package/dist/cdn/chunks/{VersionHistoryPanels-CQJ5OggF.js.map → VersionHistoryPanels-GeR6MStB.js.map} +1 -1
  114. package/dist/cdn/chunks/{VersionPreviewBanner-G4lLbfr8.js → VersionPreviewBanner-Df3FVlig.js} +4 -4
  115. package/dist/cdn/chunks/{VersionPreviewBanner-G4lLbfr8.js.map → VersionPreviewBanner-Df3FVlig.js.map} +1 -1
  116. package/dist/cdn/chunks/{blockTypeIcons-CQY-vxdM.js → blockTypeIcons-raBjStuv.js} +2 -2
  117. package/dist/cdn/chunks/{blockTypeIcons-CQY-vxdM.js.map → blockTypeIcons-raBjStuv.js.map} +1 -1
  118. package/dist/cdn/chunks/{ca-Jx2CDwtn.js → ca-BTf1Zbqb.js} +10 -1
  119. package/dist/cdn/chunks/{ca-Jx2CDwtn.js.map → ca-BTf1Zbqb.js.map} +1 -1
  120. package/dist/cdn/chunks/{cloud-BLgCKP7Z.js → cloud-eaXyxZ8l.js} +2 -2
  121. package/dist/cdn/chunks/{cloud-BLgCKP7Z.js.map → cloud-eaXyxZ8l.js.map} +1 -1
  122. package/dist/cdn/chunks/{createCloudRuntime-ClvtMBF1.js → createCloudRuntime-D5bXzcTe.js} +6 -6
  123. package/dist/cdn/chunks/{createCloudRuntime-ClvtMBF1.js.map → createCloudRuntime-D5bXzcTe.js.map} +1 -1
  124. package/dist/{de-Ck0pBGHu.js → cdn/chunks/de-xzrh9PA3.js} +11 -0
  125. package/dist/cdn/chunks/{de-Ck0pBGHu.js.map → de-xzrh9PA3.js.map} +1 -1
  126. package/dist/cdn/chunks/{dist-BW6Y49zE.js → dist-BRZhN8qJ.js} +4 -4
  127. package/dist/cdn/chunks/dist-BRZhN8qJ.js.map +1 -0
  128. package/dist/cdn/chunks/{dist-CAFTQ6Y2.js → dist-CXB2_kBa.js} +27 -22
  129. package/dist/cdn/chunks/dist-CXB2_kBa.js.map +1 -0
  130. package/dist/cdn/chunks/{draggable-kbOhCgnk.js → draggable-IB4x6w2O.js} +1477 -1470
  131. package/dist/cdn/chunks/draggable-IB4x6w2O.js.map +1 -0
  132. package/dist/cdn/chunks/editor-modal-C-yBlj2C.js +2700 -0
  133. package/dist/cdn/chunks/editor-modal-C-yBlj2C.js.map +1 -0
  134. package/dist/cdn/chunks/en-DYtFUE2l.js +2 -0
  135. package/dist/cdn/chunks/{es-lagTvUfX.js → es-BT4LSpE2.js} +10 -1
  136. package/dist/cdn/chunks/{es-lagTvUfX.js.map → es-BT4LSpE2.js.map} +1 -1
  137. package/dist/cdn/chunks/{extensions-D2YIhF7u.js → extensions-Bhu8UEE5.js} +105 -45
  138. package/dist/cdn/chunks/extensions-Bhu8UEE5.js.map +1 -0
  139. package/dist/cdn/chunks/{fr-C4hVl5Lk.js → fr-CI7OJoql.js} +10 -1
  140. package/dist/cdn/chunks/{fr-C4hVl5Lk.js.map → fr-CI7OJoql.js.map} +1 -1
  141. package/dist/cdn/chunks/{icons-DdrAicM2.js → icons-BKkJ-5xF.js} +43 -43
  142. package/dist/cdn/chunks/{icons-DdrAicM2.js.map → icons-BKkJ-5xF.js.map} +1 -1
  143. package/dist/cdn/chunks/{keys-DXYJTLZF.js → keys-dJbD1QPs.js} +2 -2
  144. package/dist/cdn/chunks/{keys-DXYJTLZF.js.map → keys-dJbD1QPs.js.map} +1 -1
  145. package/dist/{nl-CReD7Apd.js → cdn/chunks/nl-D8y5OWGB.js} +11 -0
  146. package/dist/cdn/chunks/{nl-CReD7Apd.js.map → nl-D8y5OWGB.js.map} +1 -1
  147. package/dist/cdn/chunks/{pt-BR-BRA0-vGP.js → pt-BR-DMCbUBvJ.js} +10 -1
  148. package/dist/cdn/chunks/{pt-BR-BRA0-vGP.js.map → pt-BR-DMCbUBvJ.js.map} +1 -1
  149. package/dist/cdn/chunks/socialIcons-9VrG8X3m.js +1054 -0
  150. package/dist/cdn/chunks/socialIcons-9VrG8X3m.js.map +1 -0
  151. package/dist/cdn/chunks/{src-fn7uy1FD.js → src-O5Sp_qJ7.js} +3 -3
  152. package/dist/cdn/chunks/{src-fn7uy1FD.js.map → src-O5Sp_qJ7.js.map} +1 -1
  153. package/dist/cdn/chunks/templateSettingsFields-YCFVBVYh.js +36 -0
  154. package/dist/cdn/chunks/templateSettingsFields-YCFVBVYh.js.map +1 -0
  155. package/dist/cdn/chunks/{tiptap-Epe8m3Vo.js → tiptap-DhLuKyDc.js} +2776 -2773
  156. package/dist/cdn/chunks/tiptap-DhLuKyDc.js.map +1 -0
  157. package/dist/cdn/chunks/{useAliveFlag-CT9gjvO_.js → useAliveFlag-DAlQLbM2.js} +2 -2
  158. package/dist/cdn/chunks/{useAliveFlag-CT9gjvO_.js.map → useAliveFlag-DAlQLbM2.js.map} +1 -1
  159. package/dist/cdn/chunks/{useCloudI18n-OezCj0cx.js → useCloudI18n-C09JcFS0.js} +3 -3
  160. package/dist/cdn/chunks/{useCloudI18n-OezCj0cx.js.map → useCloudI18n-C09JcFS0.js.map} +1 -1
  161. package/dist/cdn/chunks/useEditorCore-BHmIp1hW.js +2592 -0
  162. package/dist/cdn/chunks/useEditorCore-BHmIp1hW.js.map +1 -0
  163. package/dist/cdn/chunks/useEditorRoot-DFx2fXJP.js +10 -0
  164. package/dist/cdn/chunks/{useEditorRoot-ByHPMqYT.js.map → useEditorRoot-DFx2fXJP.js.map} +1 -1
  165. package/dist/cdn/chunks/{useI18n-BhE7ndNr.js → useI18n-DTZ9sIcv.js} +3 -3
  166. package/dist/cdn/chunks/{useI18n-BhE7ndNr.js.map → useI18n-DTZ9sIcv.js.map} +1 -1
  167. package/dist/cdn/chunks/useLogicTag-E2V0Xdcb.js +38 -0
  168. package/dist/cdn/chunks/useLogicTag-E2V0Xdcb.js.map +1 -0
  169. package/dist/cdn/chunks/{useMergeTag-DE2mpy1w.js → useMergeTag-BE8oDoha.js} +3 -3
  170. package/dist/cdn/chunks/{useMergeTag-DE2mpy1w.js.map → useMergeTag-BE8oDoha.js.map} +1 -1
  171. package/dist/cdn/chunks/{usePopoverPosition-BPL891uG.js → usePopoverPosition-gB9q-ql7.js} +3 -3
  172. package/dist/cdn/chunks/{usePopoverPosition-BPL891uG.js.map → usePopoverPosition-gB9q-ql7.js.map} +1 -1
  173. package/dist/cdn/chunks/{useScrollToBlock-DwF4pVur.js → useScrollToBlock-CtTXwmiU.js} +3 -3
  174. package/dist/cdn/chunks/{useScrollToBlock-DwF4pVur.js.map → useScrollToBlock-CtTXwmiU.js.map} +1 -1
  175. package/dist/cdn/editor.css +1 -1
  176. package/dist/cdn/editor.js +809 -3337
  177. package/dist/cdn/editor.js.map +1 -1
  178. package/dist/{check-9xX6RVHz.js → check-eqb2JhqU.js} +1 -1
  179. package/dist/{chevron-down-J5hFJ6TL.js → chevron-down-Dkr-7Ywl.js} +1 -1
  180. package/dist/{chevron-right-BJuo5PQ-.js → chevron-right-Bge4XF_B.js} +1 -1
  181. package/dist/{chevron-up-Qfi5k52_.js → chevron-up-CQAyl0kC.js} +1 -1
  182. package/dist/{circle-alert-BiArYmkB.js → circle-alert-CYgTHKWr.js} +1 -1
  183. package/dist/{clock-BkYJZ7Y0.js → clock-BgSJZJP5.js} +1 -1
  184. package/dist/{cloud-DdidMW6f.js → cloud-C9xWZXhg.js} +1 -1
  185. package/dist/{copy-BRLUNHwF.js → copy-mw6PVnOJ.js} +1 -1
  186. package/dist/{createCloudRuntime-CNFXaTNQ.js → createCloudRuntime-BGd5--Bq.js} +5 -5
  187. package/dist/{createLucideIcon-CDDkF1Tm.js → createLucideIcon-BxY5yz5u.js} +6 -6
  188. package/dist/{cdn/chunks/de-Ck0pBGHu.js → de-xzrh9PA3.js} +9 -2
  189. package/dist/{dist-D8i1ixHK.js → dist-8VFzbeu9.js} +3 -3
  190. package/dist/{dist-DBirAJIs.js → dist-BDuPwOyn.js} +26 -21
  191. package/dist/{dist-CtF9STPS.js → dist-BJM3eFyT.js} +1 -1
  192. package/dist/{dist-DkcA6epL.js → dist-BdHF7nyq.js} +3 -3
  193. package/dist/{dist-ByT5fgKq.js → dist-Bl4rxpX9.js} +1 -1
  194. package/dist/{dist-BVqAYoRB.js → dist-BmsLcnrO.js} +4 -4
  195. package/dist/{dist-CtMXAH7a.js → dist-BxVnMgXZ.js} +1 -1
  196. package/dist/{dist-DC-3T0ED.js → dist-CQSVro7b.js} +1 -1
  197. package/dist/{dist-f7HXo6j6.js → dist-DQbOebGW.js} +1 -1
  198. package/dist/{dist-DL9334yz.js → dist-DerFNpDY.js} +3 -3
  199. package/dist/{dist-D08oVYhr.js → dist-Djmzp6wi.js} +1 -1
  200. package/dist/{dist-D7WY8VPq.js → dist-DyrEOKEJ.js} +1 -1
  201. package/dist/{dist-DzdeVn-W.js → dist-EDkj3Ub1.js} +1 -1
  202. package/dist/{dist-C1tsW_99.js → dist-wyXxj3R1.js} +1 -1
  203. package/dist/editor-modal-oD1qNz_P.js +2773 -0
  204. package/dist/en-CM5fTFSo.js +2 -0
  205. package/dist/{es-lagTvUfX.js → es-BT4LSpE2.js} +9 -0
  206. package/dist/extensions-DRN-elXT.js +1645 -0
  207. package/dist/{eye-DwhBOaV8.js → eye-DphkRtAD.js} +1 -1
  208. package/dist/{fr-C4hVl5Lk.js → fr-CI7OJoql.js} +9 -0
  209. package/dist/{image-up-CiyQNZBt.js → image-up-Qi2BXD7T.js} +1 -1
  210. package/dist/{info-D6A1qEiF.js → info-VSyAs02q.js} +1 -1
  211. package/dist/{keys-DD1rl72F.js → keys-BdoSgsz9.js} +1 -1
  212. package/dist/{link-tKGmYWsB.js → link-CNuozGqD.js} +1 -1
  213. package/dist/{list-DjZQRpeI.js → list-BA0I5Wmu.js} +1 -1
  214. package/dist/{loader-circle-D9ZL3Sv0.js → loader-circle-z5eeqasv.js} +1 -1
  215. package/dist/{message-circle-KTHxCcpB.js → message-circle-BsQ9hEup.js} +1 -1
  216. package/dist/{cdn/chunks/nl-CReD7Apd.js → nl-D8y5OWGB.js} +9 -2
  217. package/dist/package-OkXfuRoO.js +25 -0
  218. package/dist/{pencil-Bq-nbQ7F.js → pencil-DFVFA7Dj.js} +1 -1
  219. package/dist/{plus-CRMnR4IG.js → plus-D8bkVjZ7.js} +1 -1
  220. package/dist/{pt-BR-BRA0-vGP.js → pt-BR-DMCbUBvJ.js} +9 -0
  221. package/dist/{refresh-cw-D7bYS5tm.js → refresh-cw-DPB7YFuz.js} +1 -1
  222. package/dist/{runtime-dom.esm-bundler-PnoZU512.js → runtime-dom.esm-bundler-BGbPz4-g.js} +2 -2
  223. package/dist/{search-DUo0YwPz.js → search-C-dCgqIa.js} +1 -1
  224. package/dist/{send-DaVMQphu.js → send-Cm2fy2zm.js} +1 -1
  225. package/dist/{shield-check-DxaaurL9.js → shield-check-COgBYFDF.js} +1 -1
  226. package/dist/smartphone-v0u_MOEV.js +46 -0
  227. package/dist/socialIcons-DkGcpEwC.js +1130 -0
  228. package/dist/{sparkles-D6T6k30e.js → sparkles-Ds0RF8Iu.js} +1 -1
  229. package/dist/style.css +1 -1
  230. package/dist/templateSettingsFields-YCFVBVYh.js +34 -0
  231. package/dist/templatical-editor.js +895 -3498
  232. package/dist/{text-align-start-vreFpmCX.js → text-align-start-DiavaIm6.js} +1 -1
  233. package/dist/{trash-DBv8MGY6.js → trash-DnOkfu2V.js} +1 -1
  234. package/dist/{triangle-alert-CmNS2LLv.js → triangle-alert-DGLAyXnh.js} +1 -1
  235. package/dist/{upload-DDB9Fs0P.js → upload-BBDme2cy.js} +1 -1
  236. package/dist/{useAliveFlag-oyByIcjy.js → useAliveFlag-BkKyhkwZ.js} +1 -1
  237. package/dist/{useCloudI18n-C1wuXik6.js → useCloudI18n-D1iedlP3.js} +2 -2
  238. package/dist/{useEditorCore-jfwgLThK.js → useEditorCore-C5APBjjV.js} +1140 -2325
  239. package/dist/{useEditorRoot-eVv4doqZ.js → useEditorRoot-BOxn5EfP.js} +2 -2
  240. package/dist/{useI18n-VOtdfENx.js → useI18n-Ds_-druD.js} +2 -2
  241. package/dist/useLogicTag-DoHfc08B.js +36 -0
  242. package/dist/{useMergeTag-CQM9pFca.js → useMergeTag-DXyum3kG.js} +2 -2
  243. package/dist/{usePopoverPosition-gZjRywai.js → usePopoverPosition-Du-Ah8E9.js} +2 -2
  244. package/dist/{useScrollToBlock-C0Ehnyl4.js → useScrollToBlock-DXQYPCnJ.js} +3 -3
  245. package/dist/{vue.runtime.esm-bundler-DShF3P6k.js → vue.runtime.esm-bundler-CyqhBwpY.js} +1133 -1126
  246. package/dist/{x-B7sgO_z8.js → x-3BHV3Q6K.js} +1 -1
  247. package/package.json +14 -14
  248. package/dist/ColorPicker-BTtN94te.js +0 -501
  249. package/dist/FieldRow-C8nOknr_.js +0 -128
  250. package/dist/MergeTagInput-Cw1RoMly.js +0 -509
  251. package/dist/MergeTagSuggestion-BXO3UIXW.js +0 -1329
  252. package/dist/cdn/chunks/ColorPicker-BaonTCAQ.js +0 -502
  253. package/dist/cdn/chunks/ColorPicker-BaonTCAQ.js.map +0 -1
  254. package/dist/cdn/chunks/FieldRow-D9OJhYeb.js +0 -130
  255. package/dist/cdn/chunks/FieldRow-D9OJhYeb.js.map +0 -1
  256. package/dist/cdn/chunks/MergeTagInput-CSIThqkz.js +0 -470
  257. package/dist/cdn/chunks/MergeTagInput-CSIThqkz.js.map +0 -1
  258. package/dist/cdn/chunks/MergeTagSuggestion-CY6WK8Eb.js +0 -215
  259. package/dist/cdn/chunks/MergeTagSuggestion-CY6WK8Eb.js.map +0 -1
  260. package/dist/cdn/chunks/dist-BW6Y49zE.js.map +0 -1
  261. package/dist/cdn/chunks/dist-CAFTQ6Y2.js.map +0 -1
  262. package/dist/cdn/chunks/draggable-kbOhCgnk.js.map +0 -1
  263. package/dist/cdn/chunks/editor-modal-B6IdQWlf.js +0 -5908
  264. package/dist/cdn/chunks/editor-modal-B6IdQWlf.js.map +0 -1
  265. package/dist/cdn/chunks/en-DjunooBz.js +0 -2
  266. package/dist/cdn/chunks/extensions-D2YIhF7u.js.map +0 -1
  267. package/dist/cdn/chunks/tiptap-Epe8m3Vo.js.map +0 -1
  268. package/dist/cdn/chunks/useEditorCore-06PtcUi1.js +0 -3698
  269. package/dist/cdn/chunks/useEditorCore-06PtcUi1.js.map +0 -1
  270. package/dist/cdn/chunks/useEditorRoot-ByHPMqYT.js +0 -10
  271. package/dist/editor-modal-uAEB6xKz.js +0 -5998
  272. package/dist/en-CQWkDCpm.js +0 -2
  273. package/dist/extensions-CcGj7OfS.js +0 -470
@@ -1,7 +1,7 @@
1
- import { A as e, at as t, c as n, d as r, g as i, h as a, jt as o, v as s } from "./vue.runtime.esm-bundler-DShF3P6k.js";
2
- import { I as c } from "./useEditorCore-jfwgLThK.js";
3
- import { t as l } from "./useI18n-VOtdfENx.js";
4
- import { t as u } from "./x-B7sgO_z8.js";
1
+ import { A as e, at as t, c as n, d as r, g as i, h as a, jt as o, v as s } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
+ import { O as c } from "./useEditorCore-C5APBjjV.js";
3
+ import { t as l } from "./useI18n-Ds_-druD.js";
4
+ import { t as u } from "./x-3BHV3Q6K.js";
5
5
  //#region src/components/SavedBlocksPickBar.vue?vue&type=script&setup=true&lang.ts
6
6
  var d = {
7
7
  "data-testid": "saved-blocks-pick-bar",
@@ -1,20 +1,20 @@
1
- import { A as e, At as t, B as n, F as r, M as i, R as ee, S as a, Z as o, at as s, c, d as l, g as u, h as d, jt as f, kt as p, l as m, r as h, u as g, v as _ } from "./vue.runtime.esm-bundler-DShF3P6k.js";
2
- import { t as te } from "./runtime-dom.esm-bundler-PnoZU512.js";
3
- import { D as ne, P as re, U as v, Z as y, g as b } from "./keys-DD1rl72F.js";
4
- import { t as x } from "./createLucideIcon-CDDkF1Tm.js";
5
- import { t as ie } from "./chevron-down-J5hFJ6TL.js";
6
- import { t as S } from "./circle-alert-BiArYmkB.js";
7
- import { t as ae } from "./eye-DwhBOaV8.js";
8
- import { t as oe } from "./info-D6A1qEiF.js";
9
- import { t as se } from "./loader-circle-D9ZL3Sv0.js";
10
- import { t as C } from "./refresh-cw-D7bYS5tm.js";
11
- import { t as w } from "./shield-check-DxaaurL9.js";
12
- import { t as T } from "./sparkles-D6T6k30e.js";
13
- import { t as ce } from "./triangle-alert-CmNS2LLv.js";
14
- import { t as le } from "./x-B7sgO_z8.js";
15
- import { t as ue } from "./LoadingTrack-BlTL4zFv.js";
1
+ import { A as e, At as t, B as n, F as r, M as i, R as ee, S as a, Z as o, at as s, c, d as l, g as u, h as d, jt as f, kt as p, l as m, r as h, u as g, v as _ } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
+ import { t as te } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
3
+ import { D as ne, P as re, U as v, Z as y, g as b } from "./keys-BdoSgsz9.js";
4
+ import { t as x } from "./createLucideIcon-BxY5yz5u.js";
5
+ import { t as ie } from "./chevron-down-Dkr-7Ywl.js";
6
+ import { t as S } from "./circle-alert-CYgTHKWr.js";
7
+ import { t as ae } from "./eye-DphkRtAD.js";
8
+ import { t as oe } from "./info-VSyAs02q.js";
9
+ import { t as se } from "./loader-circle-z5eeqasv.js";
10
+ import { t as C } from "./refresh-cw-DPB7YFuz.js";
11
+ import { t as w } from "./shield-check-COgBYFDF.js";
12
+ import { t as T } from "./sparkles-Ds0RF8Iu.js";
13
+ import { t as ce } from "./triangle-alert-DGLAyXnh.js";
14
+ import { t as le } from "./x-3BHV3Q6K.js";
15
+ import { t as ue } from "./LoadingTrack-C2jKCU2d.js";
16
16
  import { t as E } from "./_plugin-vue_export-helper-B3ysoDQm.js";
17
- import { n as D } from "./useCloudI18n-C1wuXik6.js";
17
+ import { n as D } from "./useCloudI18n-D1iedlP3.js";
18
18
  var O = x({
19
19
  name: "shield-x",
20
20
  size: 24,
@@ -0,0 +1,245 @@
1
+ import { A as e, At as t, M as n, S as ee, at as r, c as i, d as a, g as o, jt as s, kt as c, r as l, s as u, u as d, v as f } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
+ import { R as te } from "./dist-tGkjkX-v.js";
3
+ import { G as ne, Z as re, v as p } from "./keys-BdoSgsz9.js";
4
+ import { t as m } from "./useI18n-Ds_-druD.js";
5
+ import { n as ie, t as h } from "./templateSettingsFields-YCFVBVYh.js";
6
+ import { t as g } from "./createLucideIcon-BxY5yz5u.js";
7
+ import { c as _ } from "./LogicTagInsertButton-D8IwH-9Z.js";
8
+ import { t as ae } from "./eye-DphkRtAD.js";
9
+ import { t as oe } from "./info-VSyAs02q.js";
10
+ import { g as v, h as se, l as ce, m as le, p as y, t as b } from "./styleConstants-C_YAPdQS.js";
11
+ import { n as x, t as S } from "./ToggleSwitch-JvQ_CmI1.js";
12
+ var C = g({
13
+ name: "circle",
14
+ size: 24,
15
+ node: [["circle", {
16
+ cx: "12",
17
+ cy: "12",
18
+ r: "10",
19
+ key: "1mglay"
20
+ }]]
21
+ }), w = g({
22
+ name: "globe",
23
+ size: 24,
24
+ node: [
25
+ ["circle", {
26
+ cx: "12",
27
+ cy: "12",
28
+ r: "10",
29
+ key: "1mglay"
30
+ }],
31
+ ["path", {
32
+ d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",
33
+ key: "13o1zl"
34
+ }],
35
+ ["path", {
36
+ d: "M2 12h20",
37
+ key: "9i4pu4"
38
+ }]
39
+ ]
40
+ }), T = g({
41
+ name: "square",
42
+ size: 24,
43
+ node: [["rect", {
44
+ width: "18",
45
+ height: "18",
46
+ x: "3",
47
+ y: "3",
48
+ rx: "2",
49
+ key: "afitv7"
50
+ }]]
51
+ }), E = {
52
+ "data-testid": "template-settings",
53
+ class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
54
+ }, D = { class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:gap-3 tpl:overflow-y-auto tpl:p-4" }, O = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, k = {
55
+ key: 0,
56
+ "data-testid": "template-settings-width-preset"
57
+ }, A = { class: "tpl:grid tpl:grid-cols-4 tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1 tpl:bg-[var(--tpl-bg-hover)]" }, j = ["onClick"], M = {
58
+ key: 1,
59
+ "data-testid": "template-settings-width-custom"
60
+ }, N = { class: "tpl:flex tpl:items-stretch" }, P = ["value"], F = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, I = {
61
+ key: 0,
62
+ "data-testid": "template-settings-background"
63
+ }, L = {
64
+ key: 1,
65
+ "data-testid": "template-settings-text-color"
66
+ }, R = {
67
+ key: 2,
68
+ "data-testid": "template-settings-link-color"
69
+ }, z = {
70
+ key: 3,
71
+ "data-testid": "template-settings-link-underline"
72
+ }, B = {
73
+ key: 4,
74
+ "data-testid": "template-settings-font-family"
75
+ }, V = ["value"], H = ["value"], ue = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, U = {
76
+ key: 0,
77
+ "data-testid": "template-settings-locale"
78
+ }, de = ["value"], fe = { class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, pe = {
79
+ key: 1,
80
+ "data-testid": "template-settings-direction"
81
+ }, me = { class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, he = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, ge = {
82
+ key: 0,
83
+ "data-testid": "template-settings-preheader"
84
+ }, _e = { class: "tpl:mt-1 tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, ve = { class: "tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, ye = { class: "tpl:shrink-0 tpl:text-xs tpl:tabular-nums tpl:text-[var(--tpl-text-dim)]" }, be = {
85
+ key: 4,
86
+ class: "tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3",
87
+ "data-testid": "template-settings-card-tips"
88
+ }, xe = { 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)]" }, Se = { class: "tpl:m-0 tpl:pl-[18px] tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, Ce = { class: "tpl:mb-1 tpl:last:mb-0" }, we = { class: "tpl:mb-1 tpl:last:mb-0" }, Te = { class: "tpl:mb-1 tpl:last:mb-0" }, Ee = 150, W = /* @__PURE__ */ f({
89
+ __name: "TemplateSettings",
90
+ props: { settings: {} },
91
+ emits: ["update"],
92
+ setup(f, { emit: g }) {
93
+ let W = f, G = g, { t: K } = m(), q = re(p, "TemplateSettings"), J = u(() => q.fonts.value), De = u(() => J.value.some((e) => e.value === W.settings.fontFamily) ? W.settings.fontFamily : q.defaultFont.value), Y = [
94
+ {
95
+ value: 480,
96
+ label: "480px"
97
+ },
98
+ {
99
+ value: 600,
100
+ label: "600px"
101
+ },
102
+ {
103
+ value: 700,
104
+ label: "700px"
105
+ },
106
+ {
107
+ value: 800,
108
+ label: "800px"
109
+ }
110
+ ], X = ee(ne, new Set(h));
111
+ function Z(e) {
112
+ return X.has(e);
113
+ }
114
+ function Q(e) {
115
+ return h.some((t) => ie[t] === e && Z(t));
116
+ }
117
+ let Oe = X.size > 0, ke = u(() => te(W.settings) === "rtl"), $ = `${ce} tpl:flex tpl:flex-col tpl:gap-3.5`;
118
+ return (ee, u) => (e(), a("aside", E, [i("div", D, [
119
+ Q("layout") ? (e(), a("div", {
120
+ key: 0,
121
+ class: c($),
122
+ "data-testid": "template-settings-card-layout"
123
+ }, [
124
+ i("div", O, [o(r(T), {
125
+ class: "tpl:text-[var(--tpl-text-muted)]",
126
+ size: 14,
127
+ "stroke-width": 2
128
+ }), i("span", null, s(r(K).templateSettings.layout), 1)]),
129
+ Z("width") ? (e(), a("div", k, [i("label", { class: c(r(v)) }, s(r(K).templateSettings.widthPreset), 3), i("div", A, [(e(), a(l, null, n(Y, (e) => i("button", {
130
+ key: e.value,
131
+ 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)]",
132
+ style: t({
133
+ backgroundColor: f.settings.width === e.value ? "var(--tpl-bg)" : "transparent",
134
+ color: f.settings.width === e.value ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
135
+ boxShadow: f.settings.width === e.value ? "var(--tpl-shadow)" : "none"
136
+ }),
137
+ onClick: (t) => G("update", { width: e.value })
138
+ }, s(e.label), 13, j)), 64))])])) : d("", !0),
139
+ Z("width") ? (e(), a("div", M, [i("label", { class: c(r(v)) }, s(r(K).templateSettings.customWidth), 3), i("div", N, [i("input", {
140
+ type: "number",
141
+ class: c(r(le)),
142
+ value: f.settings.width,
143
+ min: "300",
144
+ max: "900",
145
+ onInput: u[0] ||= (e) => G("update", { width: Number(e.target.value) })
146
+ }, null, 42, P), i("span", { class: c(r(se)) }, "px", 2)])])) : d("", !0)
147
+ ])) : d("", !0),
148
+ Q("appearance") ? (e(), a("div", {
149
+ key: 1,
150
+ class: c($),
151
+ "data-testid": "template-settings-card-appearance"
152
+ }, [
153
+ i("div", F, [o(r(C), {
154
+ class: "tpl:text-[var(--tpl-text-muted)]",
155
+ size: 14,
156
+ "stroke-width": 2
157
+ }), i("span", null, s(r(K).templateSettings.appearance), 1)]),
158
+ Z("backgroundColor") ? (e(), a("div", I, [i("label", { class: c(r(v)) }, s(r(K).templateSettings.backgroundColor), 3), o(_, {
159
+ "model-value": f.settings.backgroundColor,
160
+ placeholder: r(b),
161
+ "onUpdate:modelValue": u[1] ||= (e) => G("update", { backgroundColor: e })
162
+ }, null, 8, ["model-value", "placeholder"])])) : d("", !0),
163
+ Z("textColor") ? (e(), a("div", L, [i("label", { class: c(r(v)) }, s(r(K).templateSettings.textColor), 3), o(_, {
164
+ "model-value": f.settings.textColor ?? "",
165
+ "seed-color": "#1a1a1a",
166
+ "onUpdate:modelValue": u[2] ||= (e) => G("update", { textColor: e })
167
+ }, null, 8, ["model-value"])])) : d("", !0),
168
+ Z("linkColor") ? (e(), a("div", R, [i("label", { class: c(r(v)) }, s(r(K).templateSettings.linkColor), 3), o(_, {
169
+ "model-value": f.settings.linkColor ?? "",
170
+ "seed-color": "#0066cc",
171
+ "onUpdate:modelValue": u[3] ||= (e) => G("update", { linkColor: e || void 0 })
172
+ }, null, 8, ["model-value"])])) : d("", !0),
173
+ Z("linkUnderline") ? (e(), a("div", z, [o(S, {
174
+ class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
175
+ "model-value": f.settings.linkUnderline,
176
+ label: r(K).templateSettings.linkUnderline,
177
+ "onUpdate:modelValue": u[4] ||= (e) => G("update", { linkUnderline: e })
178
+ }, null, 8, ["model-value", "label"])])) : d("", !0),
179
+ Z("fontFamily") ? (e(), a("div", B, [i("label", { class: c(r(v)) }, s(r(K).templateSettings.fontFamily), 3), i("select", {
180
+ class: c(r(y)),
181
+ value: De.value,
182
+ onChange: u[5] ||= (e) => G("update", { fontFamily: e.target.value })
183
+ }, [(e(!0), a(l, null, n(J.value, (t) => (e(), a("option", {
184
+ key: t.value,
185
+ value: t.value
186
+ }, s(t.label), 9, H))), 128))], 42, V)])) : d("", !0)
187
+ ])) : d("", !0),
188
+ Q("language") ? (e(), a("div", {
189
+ key: 2,
190
+ class: c($),
191
+ "data-testid": "template-settings-card-language"
192
+ }, [
193
+ i("div", ue, [o(r(w), {
194
+ class: "tpl:text-[var(--tpl-text-muted)]",
195
+ size: 14,
196
+ "stroke-width": 2
197
+ }), i("span", null, s(r(K).templateSettings.language), 1)]),
198
+ Z("locale") ? (e(), a("div", U, [
199
+ i("label", { class: c(r(v)) }, s(r(K).templateSettings.contentLocale), 3),
200
+ i("input", {
201
+ type: "text",
202
+ class: c(r(y)),
203
+ value: f.settings.locale ?? "",
204
+ placeholder: "en",
205
+ spellcheck: "false",
206
+ autocapitalize: "off",
207
+ autocomplete: "off",
208
+ onInput: u[6] ||= (e) => G("update", { locale: e.target.value.trim() || void 0 })
209
+ }, null, 42, de),
210
+ i("p", fe, s(r(K).templateSettings.contentLocaleHint), 1)
211
+ ])) : d("", !0),
212
+ Z("direction") ? (e(), a("div", pe, [o(S, {
213
+ class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
214
+ "model-value": ke.value,
215
+ label: r(K).templateSettings.contentDirection,
216
+ "onUpdate:modelValue": u[7] ||= (e) => G("update", { direction: e ? "rtl" : "ltr" })
217
+ }, null, 8, ["model-value", "label"]), i("p", me, s(r(K).templateSettings.contentDirectionHint), 1)])) : d("", !0)
218
+ ])) : d("", !0),
219
+ Q("preheader") ? (e(), a("div", {
220
+ key: 3,
221
+ class: c($),
222
+ "data-testid": "template-settings-card-preheader"
223
+ }, [i("div", he, [o(r(ae), {
224
+ class: "tpl:text-[var(--tpl-text-muted)]",
225
+ size: 14,
226
+ "stroke-width": 2
227
+ }), i("span", null, s(r(K).templateSettings.preheaderText), 1)]), Z("preheaderText") ? (e(), a("div", ge, [o(x, {
228
+ "model-value": f.settings.preheaderText ?? "",
229
+ placeholder: r(K).templateSettings.preheaderTextPlaceholder,
230
+ rows: 2,
231
+ "onUpdate:modelValue": u[8] ||= (e) => G("update", { preheaderText: e.replace(/[\r\n]/g, " ") || void 0 })
232
+ }, null, 8, ["model-value", "placeholder"]), i("div", _e, [i("span", ve, s(r(K).templateSettings.preheaderTextHint), 1), i("span", ye, s((f.settings.preheaderText ?? "").length) + "/" + s(Ee), 1)])])) : d("", !0)])) : d("", !0),
233
+ Oe ? (e(), a("div", be, [i("div", xe, [o(r(oe), {
234
+ size: 14,
235
+ "stroke-width": 2
236
+ }), i("span", null, s(r(K).templateSettings.tips), 1)]), i("ul", Se, [
237
+ i("li", Ce, s(r(K).templateSettings.tip1), 1),
238
+ i("li", we, s(r(K).templateSettings.tip2), 1),
239
+ i("li", Te, s(r(K).templateSettings.tip3), 1)
240
+ ])])) : d("", !0)
241
+ ])]));
242
+ }
243
+ });
244
+ //#endregion
245
+ export { W as default };
@@ -1,15 +1,15 @@
1
- import { A as e, B as t, M as n, R as r, S as i, V as a, Z as o, at as s, c, d as l, g as u, h as d, jt as f, kt as p, l as m, r as h, s as g, u as _, v } from "./vue.runtime.esm-bundler-DShF3P6k.js";
2
- import { a as ee, i as te } from "./runtime-dom.esm-bundler-PnoZU512.js";
1
+ import { A as e, B as t, M as n, R as r, S as i, V as a, Z as o, at as s, c, d as l, g as u, h as d, jt as f, kt as p, l as m, r as h, s as g, u as _, v } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
+ import { a as ee, i as te } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
3
3
  import { N as ne } from "./dist-tGkjkX-v.js";
4
- import { X as re } from "./useEditorCore-jfwgLThK.js";
5
- import { D as ie, P as ae, V as y, g as oe, j as se } from "./keys-DD1rl72F.js";
6
- import { t as ce } from "./useI18n-VOtdfENx.js";
7
- import { t as le } from "./check-9xX6RVHz.js";
8
- import { t as ue } from "./loader-circle-D9ZL3Sv0.js";
9
- import { n as de, t as fe } from "./MergeTagModeToggle-DGuzSAdX.js";
4
+ import { L as re } from "./useEditorCore-C5APBjjV.js";
5
+ import { D as ie, P as ae, V as y, g as oe, j as se } from "./keys-BdoSgsz9.js";
6
+ import { t as ce } from "./useI18n-Ds_-druD.js";
7
+ import { t as le } from "./check-eqb2JhqU.js";
8
+ import { t as ue } from "./loader-circle-z5eeqasv.js";
9
+ import { n as de, t as fe } from "./MergeTagModeToggle-D793Bj_E.js";
10
10
  import { v as pe } from "./styleConstants-C_YAPdQS.js";
11
- import { t as me } from "./TplModal-BIDJw4Kj.js";
12
- import { t as he } from "./BlockPreviewCanvas-C_rA5LJN.js";
11
+ import { t as me } from "./TplModal-C8xGjC1l.js";
12
+ import { t as he } from "./BlockPreviewCanvas-DXGjUECG.js";
13
13
  //#region src/utils/validateEmailShape.ts
14
14
  var b = /[,;<>()[\]\\"'`|/?#@!$%^&*+=~{}]/;
15
15
  function x(e) {
@@ -1,11 +1,11 @@
1
- import { A as e, _ as t, at as n, l as r, u as i, v as a } from "./vue.runtime.esm-bundler-DShF3P6k.js";
1
+ import { A as e, _ as t, at as n, l as r, u as i, v as a } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
2
  //#endregion
3
3
  //#region src/components/TestEmailPanel.vue
4
4
  var o = /* @__PURE__ */ a({
5
5
  __name: "TestEmailPanel",
6
6
  props: { feature: {} },
7
7
  setup(a) {
8
- let o = a, s = t(() => import("./TestEmailModal-D58kYkMV.js"));
8
+ let o = a, s = t(() => import("./TestEmailModal-DJ5q_u4N.js"));
9
9
  function c(e) {
10
10
  o.feature.send(e);
11
11
  }
@@ -1,12 +1,12 @@
1
- import { A as e, At as t, K as n, S as r, at as i, c as a, d as o, g as s, h as c, i as l, jt as u, kt as d, l as f, r as p, s as m, u as h, v as g } from "./vue.runtime.esm-bundler-DShF3P6k.js";
2
- import { C as ee, S as te } from "./useEditorCore-jfwgLThK.js";
3
- import { K as ne, T as re, Y as _, k as v } from "./keys-DD1rl72F.js";
4
- import { t as y } from "./useI18n-VOtdfENx.js";
5
- import { n as b } from "./usePopoverPosition-gZjRywai.js";
6
- import { i as x, n as S, r as ie, t as ae } from "./RichTextEditorContent-JrNEg0kv.js";
7
- import { o as oe, s as se } from "./MergeTagInput-Cw1RoMly.js";
8
- import { t as ce } from "./link-tKGmYWsB.js";
9
- import { t as C } from "./loader-circle-D9ZL3Sv0.js";
1
+ import { A as e, At as t, K as n, S as r, at as i, c as a, d as o, g as s, h as c, i as l, jt as u, kt as d, l as f, r as p, s as m, u as h, v as g } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
+ import { b as ee, x as te } from "./useEditorCore-C5APBjjV.js";
3
+ import { K as ne, T as re, Y as _, k as v } from "./keys-BdoSgsz9.js";
4
+ import { t as y } from "./useI18n-Ds_-druD.js";
5
+ import { n as b } from "./usePopoverPosition-Du-Ah8E9.js";
6
+ import { i as x, n as S, r as ie, t as ae } from "./RichTextEditorContent-BC5UTVnb.js";
7
+ import { l as oe, u as se } from "./LogicTagInsertButton-D8IwH-9Z.js";
8
+ import { t as ce } from "./link-CNuozGqD.js";
9
+ import { t as C } from "./loader-circle-z5eeqasv.js";
10
10
  //#region src/components/blocks/TitleEditor.vue?vue&type=script&setup=true&lang.ts
11
11
  var w = { class: "tpl-text-editor-wrapper tpl:relative" }, T = ["data-tpl-theme", "aria-label"], E = ["aria-label", "title"], D = ["aria-label", "title"], O = ["aria-label", "title"], k = {
12
12
  key: 0,
@@ -25,17 +25,17 @@ var w = { class: "tpl-text-editor-wrapper tpl:relative" }, T = ["data-tpl-theme"
25
25
  },
26
26
  emits: ["done"],
27
27
  setup(g, { emit: P }) {
28
- let F = g, I = P, L = r(ne, null), R = r(_, null), z = b(), B = r(v, null), V = r(re, null), le = m(() => (B?.isOpen.value ?? !1) || (V?.isOpen.value ?? !1)), { t: H } = y(), { editor: U, EditorContent: W, isLoading: G, initError: ue, retry: de, showLinkDialog: fe, linkUrl: K, linkColor: q, linkDialogRef: J, canRequestMergeTag: Y, canInsertLogicTag: X, openLinkDialog: Z, insertLink: pe, removeLink: me, closeLinkDialog: he, handleLinkKeydown: ge, handleAddMergeTag: Q, handleAddLogicTag: $ } = te({
28
+ let F = g, I = P, L = r(ne, null), R = r(_, null), z = b(), B = r(v, null), V = r(re, null), le = m(() => (B?.isOpen.value ?? !1) || (V?.isOpen.value ?? !1)), { t: H } = y(), { editor: U, EditorContent: W, isLoading: G, initError: ue, retry: de, showLinkDialog: fe, linkUrl: K, linkColor: q, linkDialogRef: J, canRequestMergeTag: Y, canInsertLogicTag: X, openLinkDialog: Z, insertLink: pe, removeLink: me, closeLinkDialog: he, handleLinkKeydown: ge, handleAddMergeTag: Q, handleAddLogicTag: $ } = ee({
29
29
  blockId: () => F.block.id,
30
30
  blockContent: () => F.block.content,
31
31
  onDone: () => I("done"),
32
32
  editorName: "TitleEditor",
33
33
  async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
34
34
  let [{ Editor: a, EditorContent: o }, { default: s }, { default: c }, { MergeTagNode: l, MergeTagSuggestion: u, LogicMergeTagNode: d, LineBoundaryKeys: f }] = await Promise.all([
35
- import("./dist-BVqAYoRB.js").then((e) => e.r),
36
- import("./dist-DkcA6epL.js"),
37
- import("./dist-C1tsW_99.js"),
38
- import("./extensions-CcGj7OfS.js")
35
+ import("./dist-BmsLcnrO.js").then((e) => e.r),
36
+ import("./dist-BdHF7nyq.js"),
37
+ import("./dist-wyXxj3R1.js"),
38
+ import("./extensions-DRN-elXT.js")
39
39
  ]);
40
40
  return {
41
41
  TiptapEditor: a,
@@ -52,7 +52,7 @@ var w = { class: "tpl-text-editor-wrapper tpl:relative" }, T = ["data-tpl-theme"
52
52
  strike: !1,
53
53
  link: !1
54
54
  }),
55
- ee(c).configure({
55
+ te(c).configure({
56
56
  openOnClick: !1,
57
57
  HTMLAttributes: {
58
58
  target: "_blank",
@@ -0,0 +1,102 @@
1
+ import { A as e, N as t, Z as n, at as r, c as i, d as a, g as o, h as s, jt as c, kt as l, l as u, u as d, v as f } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
+ import { i as p, n as m, r as h, t as g } from "./LogicTagInsertButton-D8IwH-9Z.js";
3
+ //#region src/components/MergeTagTextarea.vue?vue&type=script&setup=true&lang.ts
4
+ var _ = { key: 0 }, v = {
5
+ key: 0,
6
+ class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
7
+ }, y = { key: 1 }, b = [
8
+ "value",
9
+ "placeholder",
10
+ "rows"
11
+ ], x = {
12
+ key: 0,
13
+ class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
14
+ }, S = "tpl:w-full tpl:resize-y tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-[var(--tpl-shadow-sm)] tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:placeholder:text-[var(--tpl-text-dim)] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", C = "tpl:flex tpl:w-full tpl:min-h-20 tpl:cursor-pointer tpl:items-start tpl:flex-wrap tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-[var(--tpl-shadow-sm)] tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", w = /* @__PURE__ */ f({
15
+ __name: "MergeTagTextarea",
16
+ props: {
17
+ modelValue: {},
18
+ placeholder: { default: "" },
19
+ rows: { default: 3 }
20
+ },
21
+ emits: ["update:modelValue"],
22
+ setup(t, { emit: s }) {
23
+ let c = t, f = s, w = n(null), { segments: T, hasMergeTags: E, canRequestMergeTag: D, isRequestingMergeTag: O, canInsertLogicTag: k, isRequestingLogicTag: A, isEditing: j, startEditing: M, handleInput: N, handleKeydown: P, handleClick: F, handleBlur: I, clearValue: L, insertMergeTag: R, insertLogicTag: z, replaceMergeTagAt: B } = p({
24
+ modelValue: () => c.modelValue,
25
+ emit: (e) => f("update:modelValue", e),
26
+ elementRef: w
27
+ });
28
+ return (n, s) => r(E) && !r(j) ? (e(), a("div", _, [o(h, {
29
+ segments: r(T),
30
+ "display-class": C,
31
+ onEdit: r(M),
32
+ onClear: r(L),
33
+ onRepick: r(B)
34
+ }, null, 8, [
35
+ "segments",
36
+ "onEdit",
37
+ "onClear",
38
+ "onRepick"
39
+ ]), r(D) || r(k) ? (e(), a("div", v, [r(D) ? (e(), u(m, {
40
+ key: 0,
41
+ disabled: r(O),
42
+ onInsert: r(R)
43
+ }, null, 8, ["disabled", "onInsert"])) : d("", !0), r(k) ? (e(), u(g, {
44
+ key: 1,
45
+ disabled: r(A),
46
+ onInsert: r(z)
47
+ }, null, 8, ["disabled", "onInsert"])) : d("", !0)])) : d("", !0)])) : (e(), a("div", y, [i("textarea", {
48
+ ref_key: "textareaRef",
49
+ ref: w,
50
+ class: l(S),
51
+ value: t.modelValue,
52
+ placeholder: t.placeholder,
53
+ rows: t.rows,
54
+ onInput: s[0] ||= (...e) => r(N) && r(N)(...e),
55
+ onKeydown: s[1] ||= (...e) => r(P) && r(P)(...e),
56
+ onClick: s[2] ||= (...e) => r(F) && r(F)(...e),
57
+ onBlur: s[3] ||= (...e) => r(I) && r(I)(...e)
58
+ }, null, 40, b), r(D) || r(k) ? (e(), a("div", x, [r(D) ? (e(), u(m, {
59
+ key: 0,
60
+ disabled: r(O),
61
+ onInsert: r(R)
62
+ }, null, 8, ["disabled", "onInsert"])) : d("", !0), r(k) ? (e(), u(g, {
63
+ key: 1,
64
+ disabled: r(A),
65
+ onInsert: r(z)
66
+ }, null, 8, ["disabled", "onInsert"])) : d("", !0)])) : d("", !0)]));
67
+ }
68
+ }), T = { key: 0 }, E = {
69
+ key: 0,
70
+ class: "tpl:text-[var(--tpl-danger)]"
71
+ }, D = [
72
+ "aria-checked",
73
+ "aria-label",
74
+ "disabled"
75
+ ], O = /* @__PURE__ */ f({
76
+ __name: "ToggleSwitch",
77
+ props: {
78
+ modelValue: { type: Boolean },
79
+ label: {},
80
+ disabled: { type: Boolean },
81
+ required: { type: Boolean }
82
+ },
83
+ emits: ["update:modelValue"],
84
+ setup(n, { emit: r }) {
85
+ let o = r;
86
+ return (r, u) => (e(), a("label", { class: l(["tpl:flex tpl:items-center tpl:justify-between tpl:gap-2", n.disabled ? "tpl:cursor-not-allowed" : "tpl:cursor-pointer"]) }, [r.$slots.default || n.label || n.required ? (e(), a("span", T, [t(r.$slots, "default", {}, () => [s(c(n.label), 1)]), n.required ? (e(), a("span", E, " *")) : d("", !0)])) : d("", !0), i("button", {
87
+ type: "button",
88
+ role: "switch",
89
+ "aria-checked": n.modelValue,
90
+ "aria-label": n.label,
91
+ disabled: n.disabled,
92
+ class: l([
93
+ "tpl:relative tpl:inline-flex tpl:h-5 tpl:w-9 tpl:shrink-0 tpl:rounded-full tpl:border-2 tpl:border-transparent tpl:transition-colors tpl:duration-200",
94
+ n.modelValue ? "tpl:bg-[var(--tpl-primary)]" : "tpl:bg-[var(--tpl-border)]",
95
+ n.disabled ? "tpl:cursor-not-allowed tpl:opacity-60" : "tpl:cursor-pointer"
96
+ ]),
97
+ onClick: u[0] ||= (e) => !n.disabled && o("update:modelValue", !n.modelValue)
98
+ }, [i("span", { class: l(["tpl:pointer-events-none tpl:inline-block tpl:size-4 tpl:rounded-full tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow)] tpl:transition-transform tpl:duration-200", n.modelValue ? "tpl:translate-x-4" : "tpl:translate-x-0"]) }, null, 2)], 10, D)], 2));
99
+ }
100
+ });
101
+ //#endregion
102
+ export { w as n, O as t };