@templatical/editor 0.24.0 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. package/dist/{AiChatSidebar-Nq-jrGaf.js → AiChatSidebar-CIkS8DsO.js} +15 -15
  2. package/dist/{AiFeatureMenu-tg_zMKMK.js → AiFeatureMenu-Cji1LBJJ.js} +7 -7
  3. package/dist/{BlockIssueBadge-Bd94kIiw.js → BlockIssueBadge-BQiT0FML.js} +5 -5
  4. package/dist/{BlockPreviewCanvas-B34aMhHe.js → BlockPreviewCanvas-DAnwZofk.js} +11 -7
  5. package/dist/{CloudEditor-DjN_9Yso.js → CloudEditor-CXaft6Ej.js} +73 -71
  6. package/dist/{CollaboratorBar-Bhazzcg-.js → CollaboratorBar-BR-rL2wG.js} +4 -4
  7. package/dist/{ColorPicker-DXGrcJxJ.js → ColorPicker-B4ArSUhy.js} +7 -9
  8. package/dist/{CommentsSidebar-ku1kt10u.js → CommentsSidebar-Bm5GLDts.js} +16 -16
  9. package/dist/{CountdownBlock-CN9Lc23W.js → CountdownBlock-CIVAQDVu.js} +3 -3
  10. package/dist/{CountdownToolbar-VEsIyKV6.js → CountdownToolbar-DBmb3tlb.js} +4 -4
  11. package/dist/DesignReferenceSidebar-CnyJ8L-j.js +264 -0
  12. package/dist/{IssuesPanel-CEfzOpS_.js → IssuesPanel-D3XgmYCt.js} +8 -8
  13. package/dist/{LoadingTrack-KIcREPlS.js → LoadingTrack-XK_eeUdq.js} +1 -1
  14. package/dist/{MergeTagModeToggle-C3V2xGAg.js → MergeTagModeToggle-BK0fI3P2.js} +6 -6
  15. package/dist/{MergeTagSuggestion-Dn8ww9nV.js → MergeTagSuggestion-D0OHRv7L.js} +8 -12
  16. package/dist/{NumberWithSuffix-BGocZkj9.js → NumberWithSuffix-Cjj9UNIp.js} +2 -2
  17. package/dist/{ParagraphEditor-D-fz0kUb.js → ParagraphEditor-jGnbJEA2.js} +45 -45
  18. package/dist/{RichTextEditorContent-DydrqFts.js → RichTextEditorContent-DaaKdzjb.js} +8 -8
  19. package/dist/{SaveBlockDialog-BDDFbAWF.js → SaveBlockDialog-B3ngEldp.js} +12 -12
  20. package/dist/{SavedBlocksBrowserModal-Djik_fJh.js → SavedBlocksBrowserModal-DawN3XaB.js} +11 -11
  21. package/dist/{SavedBlocksPanels-CxemyPxL.js → SavedBlocksPanels-eDC9Y46N.js} +2 -2
  22. package/dist/{SavedBlocksPickBar-Dlhipmob.js → SavedBlocksPickBar-CQbbXmzj.js} +4 -4
  23. package/dist/{SnapshotHistory-DPbM4ons.js → SnapshotHistory-COxKtHM-.js} +10 -10
  24. package/dist/{TemplateScoringPanel-BFYgweDX.js → TemplateScoringPanel-bUuqOO1z.js} +16 -16
  25. package/dist/{TestEmailModal-IZfwgya-.js → TestEmailModal-CytkbZVQ.js} +89 -58
  26. package/dist/{TestEmailPanel-QEEx_PkN.js → TestEmailPanel-CHUY7VZn.js} +2 -2
  27. package/dist/{TitleEditor-BB4YlIBF.js → TitleEditor-aMR1bOyY.js} +13 -13
  28. package/dist/TplModal-fmYNYdyp.js +49 -0
  29. package/dist/{blockTypeIcons-Wzd7W_2x.js → blockTypeIcons-C6b9rg88.js} +26 -26
  30. package/dist/bundle-stats.json +6 -6
  31. package/dist/{ca-CO4nq6TX.js → ca-8Dvbwo50.js} +5 -0
  32. package/dist/cdn/chunks/{AiChatSidebar-CN-0DIuA.js → AiChatSidebar-bkBKpNgE.js} +9 -9
  33. package/dist/cdn/chunks/{AiChatSidebar-CN-0DIuA.js.map → AiChatSidebar-bkBKpNgE.js.map} +1 -1
  34. package/dist/cdn/chunks/{AiFeatureMenu-B5pV6Iux.js → AiFeatureMenu-CI4SYTq2.js} +6 -6
  35. package/dist/cdn/chunks/{AiFeatureMenu-B5pV6Iux.js.map → AiFeatureMenu-CI4SYTq2.js.map} +1 -1
  36. package/dist/cdn/chunks/{BlockIssueBadge-aanOjeyi.js → BlockIssueBadge-CRnx8Dv9.js} +5 -5
  37. package/dist/cdn/chunks/{BlockIssueBadge-aanOjeyi.js.map → BlockIssueBadge-CRnx8Dv9.js.map} +1 -1
  38. package/dist/cdn/chunks/{BlockPreviewCanvas-Dc4F4HzY.js → BlockPreviewCanvas-CXCWhqbp.js} +13 -9
  39. package/dist/cdn/chunks/BlockPreviewCanvas-CXCWhqbp.js.map +1 -0
  40. package/dist/cdn/chunks/{CloudEditor-CeKaWWO5.js → CloudEditor-D-t7RyDh.js} +67 -65
  41. package/dist/cdn/chunks/CloudEditor-D-t7RyDh.js.map +1 -0
  42. package/dist/cdn/chunks/{CollaboratorBar-CEdKr0A2.js → CollaboratorBar-DcXYo47v.js} +5 -5
  43. package/dist/cdn/chunks/{CollaboratorBar-CEdKr0A2.js.map → CollaboratorBar-DcXYo47v.js.map} +1 -1
  44. package/dist/cdn/chunks/{ColorPicker-BckwEfcN.js → ColorPicker-_1O7YU2z.js} +8 -10
  45. package/dist/cdn/chunks/{ColorPicker-BckwEfcN.js.map → ColorPicker-_1O7YU2z.js.map} +1 -1
  46. package/dist/cdn/chunks/{CommentsSidebar-6PfpJKh-.js → CommentsSidebar-BEgLBYX-.js} +7 -7
  47. package/dist/cdn/chunks/{CommentsSidebar-6PfpJKh-.js.map → CommentsSidebar-BEgLBYX-.js.map} +1 -1
  48. package/dist/cdn/chunks/{CountdownBlock-CoBmvQKv.js → CountdownBlock-CPnQA44g.js} +4 -4
  49. package/dist/cdn/chunks/{CountdownBlock-CoBmvQKv.js.map → CountdownBlock-CPnQA44g.js.map} +1 -1
  50. package/dist/cdn/chunks/{CountdownToolbar-CdV8RTQu.js → CountdownToolbar-Cdo-30U4.js} +5 -5
  51. package/dist/cdn/chunks/{CountdownToolbar-CdV8RTQu.js.map → CountdownToolbar-Cdo-30U4.js.map} +1 -1
  52. package/dist/cdn/chunks/DesignReferenceSidebar-DPqBr-ut.js +223 -0
  53. package/dist/cdn/chunks/{DesignReferenceSidebar-BjlaP69l.js.map → DesignReferenceSidebar-DPqBr-ut.js.map} +1 -1
  54. package/dist/cdn/chunks/{IssuesPanel-CkkEnhxZ.js → IssuesPanel-DoQWb23r.js} +5 -5
  55. package/dist/cdn/chunks/{IssuesPanel-CkkEnhxZ.js.map → IssuesPanel-DoQWb23r.js.map} +1 -1
  56. package/dist/cdn/chunks/{LoadingTrack-D-CW2tUa.js → LoadingTrack-G2tuXqCJ.js} +2 -2
  57. package/dist/cdn/chunks/{LoadingTrack-D-CW2tUa.js.map → LoadingTrack-G2tuXqCJ.js.map} +1 -1
  58. package/dist/cdn/chunks/{MergeTagModeToggle-DmtR300G.js → MergeTagModeToggle-CWuVC3MU.js} +6 -6
  59. package/dist/cdn/chunks/{MergeTagModeToggle-DmtR300G.js.map → MergeTagModeToggle-CWuVC3MU.js.map} +1 -1
  60. package/dist/cdn/chunks/{MergeTagSuggestion-Cvlkw_PM.js → MergeTagSuggestion-Ces5Ua78.js} +3 -3
  61. package/dist/cdn/chunks/{MergeTagSuggestion-Cvlkw_PM.js.map → MergeTagSuggestion-Ces5Ua78.js.map} +1 -1
  62. package/dist/cdn/chunks/{NumberWithSuffix-BOcMN26z.js → NumberWithSuffix-DQ4sgvt5.js} +3 -3
  63. package/dist/cdn/chunks/{NumberWithSuffix-BOcMN26z.js.map → NumberWithSuffix-DQ4sgvt5.js.map} +1 -1
  64. package/dist/cdn/chunks/{ParagraphEditor-CX1yks4N.js → ParagraphEditor-Uv5LPF3W.js} +131 -131
  65. package/dist/cdn/chunks/{ParagraphEditor-CX1yks4N.js.map → ParagraphEditor-Uv5LPF3W.js.map} +1 -1
  66. package/dist/cdn/chunks/{RichTextEditorContent-z9s7qxs3.js → RichTextEditorContent-Bt3s09qY.js} +7 -7
  67. package/dist/cdn/chunks/{RichTextEditorContent-z9s7qxs3.js.map → RichTextEditorContent-Bt3s09qY.js.map} +1 -1
  68. package/dist/cdn/chunks/{SaveBlockDialog-D2CtW4lC.js → SaveBlockDialog-BAew6EFd.js} +10 -10
  69. package/dist/cdn/chunks/{SaveBlockDialog-D2CtW4lC.js.map → SaveBlockDialog-BAew6EFd.js.map} +1 -1
  70. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DdUKJzzF.js → SavedBlocksBrowserModal-Dn4IJDJW.js} +9 -9
  71. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DdUKJzzF.js.map → SavedBlocksBrowserModal-Dn4IJDJW.js.map} +1 -1
  72. package/dist/cdn/chunks/{SavedBlocksPanels-1kVbqdpc.js → SavedBlocksPanels-B62U5DYW.js} +3 -3
  73. package/dist/cdn/chunks/{SavedBlocksPanels-1kVbqdpc.js.map → SavedBlocksPanels-B62U5DYW.js.map} +1 -1
  74. package/dist/cdn/chunks/{SavedBlocksPickBar--noDJIyN.js → SavedBlocksPickBar-CyRKZg2T.js} +5 -5
  75. package/dist/cdn/chunks/{SavedBlocksPickBar--noDJIyN.js.map → SavedBlocksPickBar-CyRKZg2T.js.map} +1 -1
  76. package/dist/cdn/chunks/{SnapshotHistory-DFuNJRc9.js → SnapshotHistory-QQt0DKey.js} +7 -7
  77. package/dist/cdn/chunks/{SnapshotHistory-DFuNJRc9.js.map → SnapshotHistory-QQt0DKey.js.map} +1 -1
  78. package/dist/cdn/chunks/{TemplateScoringPanel-DG1dAjQk.js → TemplateScoringPanel-BwyCMcit.js} +67 -67
  79. package/dist/cdn/chunks/{TemplateScoringPanel-DG1dAjQk.js.map → TemplateScoringPanel-BwyCMcit.js.map} +1 -1
  80. package/dist/cdn/chunks/{TestEmailModal-CiPfOn2v.js → TestEmailModal-B5UQkDJp.js} +89 -58
  81. package/dist/cdn/chunks/TestEmailModal-B5UQkDJp.js.map +1 -0
  82. package/dist/cdn/chunks/{TestEmailPanel-saOfnpjz.js → TestEmailPanel-CvuBq4RA.js} +3 -3
  83. package/dist/cdn/chunks/{TestEmailPanel-saOfnpjz.js.map → TestEmailPanel-CvuBq4RA.js.map} +1 -1
  84. package/dist/cdn/chunks/{TitleEditor-08KM_VzZ.js → TitleEditor-B9W954u9.js} +13 -13
  85. package/dist/cdn/chunks/{TitleEditor-08KM_VzZ.js.map → TitleEditor-B9W954u9.js.map} +1 -1
  86. package/dist/cdn/chunks/TplModal-B8UsvWc8.js +50 -0
  87. package/dist/cdn/chunks/TplModal-B8UsvWc8.js.map +1 -0
  88. package/dist/cdn/chunks/{blockTypeIcons-DvohkXqi.js → blockTypeIcons-B8s3_ahs.js} +2 -2
  89. package/dist/cdn/chunks/{blockTypeIcons-DvohkXqi.js.map → blockTypeIcons-B8s3_ahs.js.map} +1 -1
  90. package/dist/cdn/chunks/{ca-CO4nq6TX.js → ca-8Dvbwo50.js} +6 -1
  91. package/dist/cdn/chunks/{ca-CO4nq6TX.js.map → ca-8Dvbwo50.js.map} +1 -1
  92. package/dist/cdn/chunks/{cloud-C2I0P9qj.js → cloud-DOaGUdR0.js} +13 -17
  93. package/dist/cdn/chunks/{cloud-C2I0P9qj.js.map → cloud-DOaGUdR0.js.map} +1 -1
  94. package/dist/{de-CUeaFJph.js → cdn/chunks/de-CieSMCUp.js} +7 -0
  95. package/dist/cdn/chunks/{de-CUeaFJph.js.map → de-CieSMCUp.js.map} +1 -1
  96. package/dist/cdn/chunks/{dist-CxTt8FRE.js → dist-B8AX9np4.js} +16 -12
  97. package/dist/cdn/chunks/dist-B8AX9np4.js.map +1 -0
  98. package/dist/cdn/chunks/{dist-CiBEt0VR.js → dist-lZgXNk4G.js} +36 -20
  99. package/dist/cdn/chunks/dist-lZgXNk4G.js.map +1 -0
  100. package/dist/cdn/chunks/{draggable-D840DIZB.js → draggable-JcMTNF3U.js} +14 -15
  101. package/dist/cdn/chunks/{draggable-D840DIZB.js.map → draggable-JcMTNF3U.js.map} +1 -1
  102. package/dist/{en-zCYIPAL5.js → cdn/chunks/en-D0t_2Fq_.js} +7 -0
  103. package/dist/cdn/chunks/{en-zCYIPAL5.js.map → en-D0t_2Fq_.js.map} +1 -1
  104. package/dist/cdn/chunks/{es-BSiH7YkP.js → es-DwDoNuLM.js} +6 -1
  105. package/dist/cdn/chunks/{es-BSiH7YkP.js.map → es-DwDoNuLM.js.map} +1 -1
  106. package/dist/cdn/chunks/{extensions-DBWF_lxx.js → extensions-5jgtarD-.js} +30 -26
  107. package/dist/cdn/chunks/{extensions-DBWF_lxx.js.map → extensions-5jgtarD-.js.map} +1 -1
  108. package/dist/{fr-DTVJ3det.js → cdn/chunks/fr-CSEEzv1_.js} +7 -0
  109. package/dist/cdn/chunks/{fr-DTVJ3det.js.map → fr-CSEEzv1_.js.map} +1 -1
  110. package/dist/cdn/chunks/{htmlparser-CZa2V5cF.js → htmlparser-CPhs2cYE.js} +3 -5
  111. package/dist/cdn/chunks/{htmlparser-CZa2V5cF.js.map → htmlparser-CPhs2cYE.js.map} +1 -1
  112. package/dist/cdn/chunks/{icons-Cqxvwgz7.js → icons-Cp4ZIJw-.js} +31 -31
  113. package/dist/cdn/chunks/{icons-Cqxvwgz7.js.map → icons-Cp4ZIJw-.js.map} +1 -1
  114. package/dist/cdn/chunks/keys-BxPCfHBH.js +12 -0
  115. package/dist/cdn/chunks/keys-BxPCfHBH.js.map +1 -0
  116. package/dist/cdn/chunks/{liquid.browser-BJOEu6Cg.js → liquid.browser-CZaQe87t.js} +756 -718
  117. package/dist/cdn/chunks/liquid.browser-CZaQe87t.js.map +1 -0
  118. package/dist/cdn/chunks/{nl-BqSquFS3.js → nl-xyk1T2mA.js} +6 -1
  119. package/dist/cdn/chunks/{nl-BqSquFS3.js.map → nl-xyk1T2mA.js.map} +1 -1
  120. package/dist/{pt-BR-CMljK37h.js → cdn/chunks/pt-BR-yr6uOJgn.js} +7 -0
  121. package/dist/cdn/chunks/{pt-BR-CMljK37h.js.map → pt-BR-yr6uOJgn.js.map} +1 -1
  122. package/dist/cdn/chunks/{pusher-R0v5p99W.js → pusher-kUlkqMvR.js} +21 -28
  123. package/dist/cdn/chunks/{pusher-R0v5p99W.js.map → pusher-kUlkqMvR.js.map} +1 -1
  124. package/dist/cdn/chunks/{rolldown-runtime-Dqa2HsxW.js → rolldown-runtime-B0aSnxlc.js} +2 -2
  125. package/dist/cdn/chunks/{src-YVsPFLNJ.js → src-B8W42vT-.js} +153 -153
  126. package/dist/cdn/chunks/{src-YVsPFLNJ.js.map → src-B8W42vT-.js.map} +1 -1
  127. package/dist/cdn/chunks/{src-C45kfA2t.js → src-C417zeUg.js} +22 -26
  128. package/dist/cdn/chunks/{src-C45kfA2t.js.map → src-C417zeUg.js.map} +1 -1
  129. package/dist/cdn/chunks/{src-BCJna-6p.js → src-CZjSXPYq.js} +9 -4
  130. package/dist/cdn/chunks/src-CZjSXPYq.js.map +1 -0
  131. package/dist/cdn/chunks/{src-XQmI_Xs1.js → src-Dpj0x27M.js} +523 -787
  132. package/dist/cdn/chunks/{src-XQmI_Xs1.js.map → src-Dpj0x27M.js.map} +1 -1
  133. package/dist/cdn/chunks/{styles-BohMfIBd.js → styles-DANwMzW2.js} +770 -751
  134. package/dist/cdn/chunks/styles-DANwMzW2.js.map +1 -0
  135. package/dist/cdn/chunks/timeouts-SsLMC4a3.js +6 -0
  136. package/dist/cdn/chunks/{timeouts-Bmi_yePw.js.map → timeouts-SsLMC4a3.js.map} +1 -1
  137. package/dist/cdn/chunks/{tiptap-DRKu__AX.js → tiptap-rsib432n.js} +132 -119
  138. package/dist/cdn/chunks/tiptap-rsib432n.js.map +1 -0
  139. package/dist/cdn/chunks/{useAliveFlag-aanU8uqB.js → useAliveFlag-CseYNikC.js} +2 -2
  140. package/dist/cdn/chunks/{useAliveFlag-aanU8uqB.js.map → useAliveFlag-CseYNikC.js.map} +1 -1
  141. package/dist/cdn/chunks/{useCloudI18n-Bem8DUjH.js → useCloudI18n-CjVzv11v.js} +3 -3
  142. package/dist/cdn/chunks/{useCloudI18n-Bem8DUjH.js.map → useCloudI18n-CjVzv11v.js.map} +1 -1
  143. package/dist/cdn/chunks/{useEditorCore-B_vwuKdI.js → useEditorCore-DfW-thCr.js} +484 -411
  144. package/dist/cdn/chunks/useEditorCore-DfW-thCr.js.map +1 -0
  145. package/dist/cdn/chunks/{useI18n-graz19nI.js → useI18n-DniEFeIl.js} +3 -3
  146. package/dist/cdn/chunks/{useI18n-graz19nI.js.map → useI18n-DniEFeIl.js.map} +1 -1
  147. package/dist/cdn/chunks/{useMergeTag-rTzAFMlr.js → useMergeTag-Bk9_f5cc.js} +7 -7
  148. package/dist/cdn/chunks/{useMergeTag-rTzAFMlr.js.map → useMergeTag-Bk9_f5cc.js.map} +1 -1
  149. package/dist/cdn/chunks/{usePopoverPosition-BaFxLP3w.js → usePopoverPosition-C4xFJCJ2.js} +3 -3
  150. package/dist/cdn/chunks/{usePopoverPosition-BaFxLP3w.js.map → usePopoverPosition-C4xFJCJ2.js.map} +1 -1
  151. package/dist/cdn/editor.css +1 -1
  152. package/dist/cdn/editor.js +24 -22
  153. package/dist/cdn/editor.js.map +1 -1
  154. package/dist/{check-BpQDKiPz.js → check-CIhIDh4h.js} +1 -1
  155. package/dist/{chevron-down-j8GrdTyz.js → chevron-down-CZ0m6G3s.js} +1 -1
  156. package/dist/{chevron-up-BACyVhyC.js → chevron-up-BH_tJLeb.js} +1 -1
  157. package/dist/{circle-alert-CgtE46ND.js → circle-alert-DkEXnGPV.js} +1 -1
  158. package/dist/{clock-BzKLLW5L.js → clock-BDIJZUET.js} +1 -1
  159. package/dist/{cloud-DsUct4Zq.js → cloud-BZn3jqoL.js} +10 -14
  160. package/dist/{createLucideIcon-JWHwTI6N.js → createLucideIcon-AEltGIse.js} +3 -3
  161. package/dist/{cdn/chunks/de-CUeaFJph.js → de-CieSMCUp.js} +5 -2
  162. package/dist/{dist-BAkGuPYm.js → dist-B6Px6GPj.js} +1 -1
  163. package/dist/{dist-9uhI32Q4.js → dist-BxbTVeY0.js} +1 -1
  164. package/dist/{dist-DWu9QWFl.js → dist-CIqhVQ1O.js} +5 -5
  165. package/dist/{dist-DPHqs0Yh.js → dist-CQ0fVBQ3.js} +8 -3
  166. package/dist/{dist-CkCVlKj_.js → dist-CRH880TV.js} +1 -1
  167. package/dist/{dist-ByJVlKWy.js → dist-CcQFPJMF.js} +116 -100
  168. package/dist/{dist-JXOq1hib.js → dist-CkPvZCld.js} +1 -1
  169. package/dist/{dist-IGetXrbO.js → dist-DSIgxp0v.js} +1 -1
  170. package/dist/{dist-DYv_Pttj.js → dist-DT1XnEnj.js} +33 -17
  171. package/dist/{dist-C_kAE1sC.js → dist-DX4x6mQ1.js} +3 -3
  172. package/dist/{dist-DFO896yT.js → dist-Dx71pluS.js} +16 -11
  173. package/dist/{dist-CQiAZlTt.js → dist-DyCHUyRR.js} +1 -1
  174. package/dist/{dist-BIYm-U9x.js → dist-iCEDH3cC.js} +1 -1
  175. package/dist/{dist-C5tigvDF.js → dist-nR6mxyqI.js} +1 -1
  176. package/dist/{cdn/chunks/en-zCYIPAL5.js → en-D0t_2Fq_.js} +5 -2
  177. package/dist/{es-BSiH7YkP.js → es-DwDoNuLM.js} +5 -0
  178. package/dist/{extensions-C0DXnYdA.js → extensions-BjvyU9Ea.js} +16 -12
  179. package/dist/{cdn/chunks/fr-DTVJ3det.js → fr-CSEEzv1_.js} +5 -2
  180. package/dist/{image-up-CQdtq8ge.js → image-up-8ktdYdaZ.js} +1 -1
  181. package/dist/index.d.ts +26 -0
  182. package/dist/{info-BUJBXoE6.js → info-CvrCgTLH.js} +1 -1
  183. package/dist/keys-BFPiNAIn.js +10 -0
  184. package/dist/{liquid.browser-DZLtv26k.js → liquid.browser-BECWFL5Z.js} +755 -717
  185. package/dist/{list-checks-BGHaCSD5.js → list-checks-yzGT93ZL.js} +1 -1
  186. package/dist/{loader-circle-C-Z6kgI6.js → loader-circle-B6euendB.js} +1 -1
  187. package/dist/{message-circle-CEm5qckV.js → message-circle-BMldLVcA.js} +1 -1
  188. package/dist/{nl-BqSquFS3.js → nl-xyk1T2mA.js} +5 -0
  189. package/dist/{pencil-DdwmkKLb.js → pencil-CkKkSd6N.js} +1 -1
  190. package/dist/{cdn/chunks/pt-BR-CMljK37h.js → pt-BR-yr6uOJgn.js} +5 -2
  191. package/dist/{refresh-cw-maKlg0dl.js → refresh-cw-fBPgB97G.js} +1 -1
  192. package/dist/{runtime-dom.esm-bundler-GdMI8WqG.js → runtime-dom.esm-bundler-CBbDt7sw.js} +2 -2
  193. package/dist/{scan-line-BFgesTOY.js → scan-line-CRoEOUiK.js} +1 -1
  194. package/dist/{send-B70aQDrA.js → send-B9Tt2qBi.js} +1 -1
  195. package/dist/{shield-check-B7x5OKt5.js → shield-check-QfZkYeIo.js} +1 -1
  196. package/dist/{sparkles-DVlm1Ipp.js → sparkles-8UeMmZb8.js} +1 -1
  197. package/dist/style.css +1 -1
  198. package/dist/{styles-BTTD0Je4.js → styles-C9GM-bBC.js} +913 -894
  199. package/dist/templatical-editor.js +96 -94
  200. package/dist/{text-align-start-Vay3Kvo2.js → text-align-start-Dn8uIheW.js} +1 -1
  201. package/dist/{trash-2-DE8CmxAG.js → trash-2-DDyvqj0E.js} +1 -1
  202. package/dist/{triangle-alert-Djg6IG8N.js → triangle-alert-B3PydLzl.js} +1 -1
  203. package/dist/{upload-BwwE0U6G.js → upload-hE8ItfyG.js} +2 -2
  204. package/dist/{useAliveFlag-C43EhZFY.js → useAliveFlag-AfoTE_AY.js} +1 -1
  205. package/dist/{useCloudI18n-DGr3b2SX.js → useCloudI18n-B2lItQ6O.js} +2 -2
  206. package/dist/{useEditorCore-DOrGex_t.js → useEditorCore-Ck_hBiGA.js} +986 -915
  207. package/dist/{useI18n-BhAejA-x.js → useI18n-C1KcdX_K.js} +2 -2
  208. package/dist/{useMergeTag-Ce95YIOO.js → useMergeTag-DHCwRMfH.js} +4 -4
  209. package/dist/{usePopoverPosition-vjKJaqJf.js → usePopoverPosition-ClnEh_Cp.js} +13 -13
  210. package/dist/{vue.runtime.esm-bundler-B0xoGkDv.js → vue.runtime.esm-bundler-Xpz-L9Fn.js} +27 -22
  211. package/dist/{x-CkD6A1iB.js → x-C4lETLDx.js} +1 -1
  212. package/package.json +12 -12
  213. package/dist/DesignReferenceSidebar-C4pTMzQE.js +0 -264
  214. package/dist/TplModal-DPH4vV8M.js +0 -49
  215. package/dist/cdn/chunks/BlockPreviewCanvas-Dc4F4HzY.js.map +0 -1
  216. package/dist/cdn/chunks/CloudEditor-CeKaWWO5.js.map +0 -1
  217. package/dist/cdn/chunks/DesignReferenceSidebar-BjlaP69l.js +0 -223
  218. package/dist/cdn/chunks/TestEmailModal-CiPfOn2v.js.map +0 -1
  219. package/dist/cdn/chunks/TplModal-Cu4tBBnF.js +0 -50
  220. package/dist/cdn/chunks/TplModal-Cu4tBBnF.js.map +0 -1
  221. package/dist/cdn/chunks/dist-CiBEt0VR.js.map +0 -1
  222. package/dist/cdn/chunks/dist-CxTt8FRE.js.map +0 -1
  223. package/dist/cdn/chunks/keys-B5uoP9P7.js +0 -12
  224. package/dist/cdn/chunks/keys-B5uoP9P7.js.map +0 -1
  225. package/dist/cdn/chunks/liquid.browser-BJOEu6Cg.js.map +0 -1
  226. package/dist/cdn/chunks/src-BCJna-6p.js.map +0 -1
  227. package/dist/cdn/chunks/styles-BohMfIBd.js.map +0 -1
  228. package/dist/cdn/chunks/timeouts-Bmi_yePw.js +0 -6
  229. package/dist/cdn/chunks/tiptap-DRKu__AX.js.map +0 -1
  230. package/dist/cdn/chunks/useEditorCore-B_vwuKdI.js.map +0 -1
  231. package/dist/keys-BVlG5Ozc.js +0 -10
@@ -1,27 +1,27 @@
1
- import { K as e, L as t, M as n, P as r, T as i, Z as a, c as o, ct as s, d as c, f as l, g as u, h as d, it as f, l as p, m, ot as h, p as g, st as _, u as v, v as y, x as b, y as x } from "./draggable-D840DIZB.js";
2
- import { D as S, E as C, S as w, x as T } from "./useEditorCore-B_vwuKdI.js";
3
- import { t as E } from "./dist-CxTt8FRE.js";
4
- import { B as D, D as O, H as k, R as ee, _ as te, h as ne, w as re } from "./keys-B5uoP9P7.js";
5
- import { t as A } from "./useI18n-graz19nI.js";
6
- import { n as j } from "./usePopoverPosition-BaFxLP3w.js";
7
- import { Bt as ie, E as M, Lt as ae, P as oe, R as se, at as ce, b as le, ct as ue, g as de, h as fe, it as pe, l as me, m as he, ot as ge, ut as _e, v as ve, x as ye } from "./icons-Cqxvwgz7.js";
8
- import { t as N } from "./_plugin-vue_export-helper-B3ysoDQm.js";
9
- import { c as P, o as be, r as xe, s as Se, t as F } from "./ColorPicker-BckwEfcN.js";
10
- import { n as I, t as L } from "./RichTextEditorContent-z9s7qxs3.js";
1
+ import { K as e, L as t, M as n, P as r, T as i, Z as a, c as o, ct as s, d as c, f as l, g as u, h as d, it as f, l as p, m, ot as h, p as g, st as _, u as v, v as y, x as b, y as x } from "./draggable-JcMTNF3U.js";
2
+ import { D as S, E as C, S as w, x as T } from "./useEditorCore-DfW-thCr.js";
3
+ import { t as E } from "./dist-B8AX9np4.js";
4
+ import { G as D, O, T as k, U as ee, V as te, g as ne, v as A } from "./keys-BxPCfHBH.js";
5
+ import { t as j } from "./useI18n-DniEFeIl.js";
6
+ import { n as M } from "./usePopoverPosition-C4xFJCJ2.js";
7
+ import { Bt as re, D as N, Lt as ie, P as ae, R as oe, at as se, b as ce, ct as le, g as ue, h as de, it as fe, l as pe, m as me, ot as he, ut as ge, v as _e, x as ve } from "./icons-Cp4ZIJw-.js";
8
+ import { t as P } from "./_plugin-vue_export-helper-B3ysoDQm.js";
9
+ import { c as F, o as ye, r as be, s as xe, t as I } from "./ColorPicker-_1O7YU2z.js";
10
+ import { n as L, t as R } from "./RichTextEditorContent-Bt3s09qY.js";
11
11
  //#region src/components/blocks/EmojiPickerDropdown.vue?vue&type=script&setup=true&lang.ts
12
- var R = [
12
+ var z = [
13
13
  "aria-label",
14
14
  "title",
15
15
  "aria-expanded"
16
- ], z = ["aria-label"], B = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, V = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, H = ["aria-label", "onClick"], Ce = /* @__PURE__ */ b({
16
+ ], B = ["aria-label"], V = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, H = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, U = ["aria-label", "onClick"], Se = /* @__PURE__ */ b({
17
17
  __name: "EmojiPickerDropdown",
18
18
  emits: ["insert"],
19
19
  setup(e, { emit: t }) {
20
- let i = t, { categories: c, isOpen: m, toggle: _, close: y } = C(), { t: b, format: w } = A(), T = a(null), D = a(null);
21
- S(T, l(() => m.value)), E(D, () => {
20
+ let i = t, { categories: c, isOpen: m, toggle: _, close: y } = C(), { t: b, format: w } = j(), T = a(null), D = a(null), O = l(() => m.value);
21
+ S(T, O), E(D, () => {
22
22
  m.value && y();
23
23
  });
24
- function O(e) {
24
+ function k(e) {
25
25
  i("insert", e), y();
26
26
  }
27
27
  return (e, t) => (n(), u("div", {
@@ -37,10 +37,10 @@ var R = [
37
37
  "aria-haspopup": "dialog",
38
38
  "aria-controls": "tpl-emoji-picker",
39
39
  onClick: t[0] ||= (...e) => f(_) && f(_)(...e)
40
- }, [x(f(M), {
40
+ }, [x(f(N), {
41
41
  size: 16,
42
42
  "stroke-width": 2
43
- })], 10, R), f(m) ? (n(), u("div", {
43
+ })], 10, z), f(m) ? (n(), u("div", {
44
44
  key: 0,
45
45
  id: "tpl-emoji-picker",
46
46
  ref_key: "pickerRef",
@@ -54,19 +54,19 @@ var R = [
54
54
  }, [(n(!0), u(v, null, r(f(c), (e) => (n(), u("div", {
55
55
  key: e.key,
56
56
  class: "tpl:mb-2 tpl:last:mb-0"
57
- }, [g("div", B, s(f(b).emoji[e.key]), 1), g("div", V, [(n(!0), u(v, null, r(e.emojis, (e) => (n(), u("button", {
57
+ }, [g("div", V, s(f(b).emoji[e.key]), 1), g("div", H, [(n(!0), u(v, null, r(e.emojis, (e) => (n(), u("button", {
58
58
  key: e,
59
59
  type: "button",
60
60
  "aria-label": f(w)(f(b).paragraphEditor.emojiItemLabel, { emoji: e }),
61
61
  class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border-none tpl:bg-transparent tpl:text-base tpl:transition-all tpl:duration-100 tpl:hover:scale-125 tpl:hover:bg-[var(--tpl-bg-active)]",
62
- onClick: (t) => O(e)
63
- }, s(e), 9, H))), 128))])]))), 128))], 40, z)) : d("", !0)], 512));
62
+ onClick: (t) => k(e)
63
+ }, s(e), 9, U))), 128))])]))), 128))], 40, B)) : d("", !0)], 512));
64
64
  }
65
- }), U = [
65
+ }), W = [
66
66
  "aria-label",
67
67
  "title",
68
68
  "aria-pressed"
69
- ], W = /* @__PURE__ */ b({
69
+ ], G = /* @__PURE__ */ b({
70
70
  __name: "ToolbarIconButton",
71
71
  props: {
72
72
  icon: {},
@@ -85,20 +85,20 @@ var R = [
85
85
  }, [(n(), m(t(e.icon), {
86
86
  size: e.size ?? 16,
87
87
  "stroke-width": e.strokeWidth ?? 2
88
- }, null, 8, ["size", "stroke-width"]))], 10, U));
88
+ }, null, 8, ["size", "stroke-width"]))], 10, W));
89
89
  }
90
- }), G = {}, K = {
90
+ }), K = {}, q = {
91
91
  class: "tpl:mx-1 tpl:h-6 tpl:w-px tpl:bg-[var(--tpl-border)]",
92
92
  "aria-hidden": "true"
93
93
  };
94
- function q(e, t) {
95
- return n(), u("span", K);
94
+ function J(e, t) {
95
+ return n(), u("span", q);
96
96
  }
97
- var J = /*#__PURE__*/ N(G, [["render", q]]), Y = [
97
+ var Y = /*#__PURE__*/ P(K, [["render", J]]), X = [
98
98
  "value",
99
99
  "aria-label",
100
100
  "title"
101
- ], X = { value: "" }, we = ["value"], Z = /* @__PURE__ */ b({
101
+ ], Z = { value: "" }, Ce = ["value"], Q = /* @__PURE__ */ b({
102
102
  __name: "ToolbarSelect",
103
103
  props: {
104
104
  modelValue: {},
@@ -125,20 +125,20 @@ var J = /*#__PURE__*/ N(G, [["render", q]]), Y = [
125
125
  "aria-label": e.label,
126
126
  title: e.label,
127
127
  onChange: a
128
- }, [g("option", X, s(e.placeholder ?? ""), 1), (n(!0), u(v, null, r(e.options, (e) => (n(), u("option", {
128
+ }, [g("option", Z, s(e.placeholder ?? ""), 1), (n(!0), u(v, null, r(e.options, (e) => (n(), u("option", {
129
129
  key: o(e),
130
130
  value: o(e)
131
- }, s(c(e)), 9, we))), 128))], 42, Y));
131
+ }, s(c(e)), 9, Ce))), 128))], 42, X));
132
132
  }
133
133
  });
134
134
  //#endregion
135
135
  //#region src/utils/richTextColor.ts
136
- function Q(e, t) {
136
+ function $(e, t) {
137
137
  return e || t || "#000000";
138
138
  }
139
139
  //#endregion
140
140
  //#region src/components/blocks/ParagraphToolbar.vue?vue&type=script&setup=true&lang.ts
141
- var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Ee = { class: "tpl:flex tpl:items-center tpl:gap-1" }, De = ["aria-label", "title"], Oe = ["aria-label", "title"], ke = {
141
+ var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Ee = { class: "tpl:flex tpl:items-center tpl:gap-1" }, De = ["aria-label", "title"], Oe = ["aria-label", "title"], ke = {
142
142
  key: 1,
143
143
  class: "tpl:flex tpl:items-center tpl:gap-2 tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
144
144
  }, Ae = /* @__PURE__ */ b({
@@ -156,53 +156,53 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
156
156
  "add-logic-tag"
157
157
  ],
158
158
  setup(e, { emit: t }) {
159
- let r = e, a = t, o = i(ee, null), p = i(D, null), h = k(te, "ParagraphToolbar"), b = j(), S = i(O, null), C = i(re, null), w = i(ne, null), T = l(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = A(), M = h.fonts;
160
- function N(e) {
159
+ let r = e, a = t, o = i(te, null), p = i(ee, null), h = D(A, "ParagraphToolbar"), b = M(), S = i(O, null), C = i(k, null), w = i(ne, null), T = l(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = j(), N = h.fonts;
160
+ function P(e) {
161
161
  r.editor?.chain().focus().insertContent(e).run();
162
162
  }
163
- function I(e) {
163
+ function L(e) {
164
164
  return r.editor?.getAttributes("textStyle")[e] || "";
165
165
  }
166
- function L(e) {
166
+ function R(e) {
167
167
  let t = r.editor?.chain().focus();
168
168
  e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
169
169
  }
170
- function R(e) {
170
+ function z(e) {
171
171
  let t = r.editor?.chain().focus();
172
172
  e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
173
173
  }
174
- function z() {
174
+ function B() {
175
175
  return r.editor?.isActive("link") ?? !1;
176
176
  }
177
- function B() {
177
+ function V() {
178
178
  return r.editor?.getAttributes("link").color || "";
179
179
  }
180
- function V(e) {
180
+ function H(e) {
181
181
  let t = r.editor?.chain().focus();
182
- t && (z() ? (t.extendMarkRange("link").updateAttributes("link", { color: e || null }), e && t.unsetColor(), t.run()) : e ? t.setColor(e).updateAttributes("link", { color: e }).run() : t.unsetColor().run());
182
+ t && (B() ? (t.extendMarkRange("link").updateAttributes("link", { color: e || null }), e && t.unsetColor(), t.run()) : e ? t.setColor(e).updateAttributes("link", { color: e }).run() : t.unsetColor().run());
183
183
  }
184
- function H() {
184
+ function U() {
185
185
  let e = w?.content.value.settings;
186
- return z() ? Q(B(), e?.linkColor || e?.textColor) : Q(I("color"), e?.textColor);
186
+ return B() ? $(V(), e?.linkColor || e?.textColor) : $(L("color"), e?.textColor);
187
187
  }
188
- function U() {
189
- return z() ? B() : I("color");
188
+ function W() {
189
+ return B() ? V() : L("color");
190
190
  }
191
- function G() {
191
+ function K() {
192
192
  return r.editor?.getAttributes("paragraph").lineHeight || "";
193
193
  }
194
- function K(e) {
194
+ function q(e) {
195
195
  let t = r.editor?.chain().focus();
196
196
  e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
197
197
  }
198
- function q(e) {
198
+ function J(e) {
199
199
  let t = r.editor?.chain().focus();
200
200
  e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
201
201
  }
202
- function Y() {
202
+ function X() {
203
203
  return r.editor?.getAttributes("highlight").color || "";
204
204
  }
205
- function X(e) {
205
+ function Z(e) {
206
206
  let t = r.editor?.chain().focus();
207
207
  e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
208
208
  }
@@ -222,62 +222,62 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
222
222
  flexDirection: "column"
223
223
  })
224
224
  }, [!e.isLoading && e.editor ? (n(), u(v, { key: 0 }, [g("div", Te, [
225
- x(Z, {
226
- "model-value": I("fontFamily"),
227
- options: f(M),
225
+ x(Q, {
226
+ "model-value": L("fontFamily"),
227
+ options: f(N),
228
228
  label: f(E).paragraphEditor.fontFamily,
229
229
  placeholder: f(E).paragraphEditor.defaultFont,
230
230
  "width-class": "tpl:w-32",
231
- "onUpdate:modelValue": L
231
+ "onUpdate:modelValue": R
232
232
  }, null, 8, [
233
233
  "model-value",
234
234
  "options",
235
235
  "label",
236
236
  "placeholder"
237
237
  ]),
238
- x(Z, {
239
- "model-value": I("fontSize"),
240
- options: f(be),
238
+ x(Q, {
239
+ "model-value": L("fontSize"),
240
+ options: f(ye),
241
241
  label: f(E).paragraphEditor.fontSize,
242
242
  placeholder: f(E).paragraphEditor.defaultSize,
243
243
  "width-class": "tpl:w-20",
244
- "onUpdate:modelValue": R
244
+ "onUpdate:modelValue": z
245
245
  }, null, 8, [
246
246
  "model-value",
247
247
  "options",
248
248
  "label",
249
249
  "placeholder"
250
250
  ]),
251
- x(J),
252
- x(F, {
251
+ x(Y),
252
+ x(I, {
253
253
  "swatch-only": "",
254
254
  size: "sm",
255
255
  "data-testid": "text-color-picker",
256
- "model-value": U(),
257
- "seed-color": H(),
256
+ "model-value": W(),
257
+ "seed-color": U(),
258
258
  "aria-label": f(E).paragraphEditor.textColor,
259
- "onUpdate:modelValue": V
259
+ "onUpdate:modelValue": H
260
260
  }, null, 8, [
261
261
  "model-value",
262
262
  "seed-color",
263
263
  "aria-label"
264
264
  ]),
265
- x(F, {
265
+ x(I, {
266
266
  "swatch-only": "",
267
267
  size: "sm",
268
268
  "data-testid": "highlight-color-picker",
269
- "model-value": Y(),
270
- "seed-color": f(xe),
269
+ "model-value": X(),
270
+ "seed-color": f(be),
271
271
  "aria-label": f(E).paragraphEditor.highlightColor,
272
- "onUpdate:modelValue": X
272
+ "onUpdate:modelValue": Z
273
273
  }, null, 8, [
274
274
  "model-value",
275
275
  "seed-color",
276
276
  "aria-label"
277
277
  ]),
278
- x(J),
279
- x(W, {
280
- icon: f(ie),
278
+ x(Y),
279
+ x(G, {
280
+ icon: f(re),
281
281
  label: f(E).paragraphEditor.bold,
282
282
  active: e.editor.isActive("bold"),
283
283
  "stroke-width": 2.5,
@@ -287,8 +287,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
287
287
  "label",
288
288
  "active"
289
289
  ]),
290
- x(W, {
291
- icon: f(_e),
290
+ x(G, {
291
+ icon: f(ge),
292
292
  label: f(E).paragraphEditor.italic,
293
293
  active: e.editor.isActive("italic"),
294
294
  onClick: r[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
@@ -297,8 +297,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
297
297
  "label",
298
298
  "active"
299
299
  ]),
300
- x(W, {
301
- icon: f(me),
300
+ x(G, {
301
+ icon: f(pe),
302
302
  label: f(E).paragraphEditor.underline,
303
303
  active: e.editor.isActive("underline"),
304
304
  onClick: r[2] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
@@ -307,8 +307,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
307
307
  "label",
308
308
  "active"
309
309
  ]),
310
- x(W, {
311
- icon: f(le),
310
+ x(G, {
311
+ icon: f(ve),
312
312
  label: f(E).paragraphEditor.strikethrough,
313
313
  active: e.editor.isActive("strike"),
314
314
  onClick: r[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
@@ -317,9 +317,9 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
317
317
  "label",
318
318
  "active"
319
319
  ]),
320
- x(J),
321
- x(W, {
322
- icon: f(ye),
320
+ x(Y),
321
+ x(G, {
322
+ icon: f(ce),
323
323
  label: f(E).paragraphEditor.subscript,
324
324
  active: e.editor.isActive("subscript"),
325
325
  onClick: r[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
@@ -328,8 +328,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
328
328
  "label",
329
329
  "active"
330
330
  ]),
331
- x(W, {
332
- icon: f(ve),
331
+ x(G, {
332
+ icon: f(_e),
333
333
  label: f(E).paragraphEditor.superscript,
334
334
  active: e.editor.isActive("superscript"),
335
335
  onClick: r[5] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
@@ -338,9 +338,9 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
338
338
  "label",
339
339
  "active"
340
340
  ]),
341
- x(J),
342
- x(W, {
343
- icon: f(ue),
341
+ x(Y),
342
+ x(G, {
343
+ icon: f(le),
344
344
  label: f(E).paragraphEditor.addLink,
345
345
  active: e.editor.isActive("link"),
346
346
  onClick: r[6] ||= (e) => a("open-link-dialog")
@@ -350,8 +350,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
350
350
  "active"
351
351
  ])
352
352
  ]), g("div", Ee, [
353
- x(W, {
354
- icon: f(ce),
353
+ x(G, {
354
+ icon: f(se),
355
355
  label: f(E).paragraphEditor.bulletList,
356
356
  active: e.editor.isActive("bulletList"),
357
357
  onClick: r[7] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
@@ -360,8 +360,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
360
360
  "label",
361
361
  "active"
362
362
  ]),
363
- x(W, {
364
- icon: f(ge),
363
+ x(G, {
364
+ icon: f(he),
365
365
  label: f(E).paragraphEditor.numberedList,
366
366
  active: e.editor.isActive("orderedList"),
367
367
  onClick: r[8] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
@@ -370,9 +370,9 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
370
370
  "label",
371
371
  "active"
372
372
  ]),
373
- x(J),
374
- x(W, {
375
- icon: f(he),
373
+ x(Y),
374
+ x(G, {
375
+ icon: f(me),
376
376
  label: f(E).paragraphEditor.alignLeft,
377
377
  active: e.editor.isActive({ textAlign: "left" }),
378
378
  onClick: r[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
@@ -381,8 +381,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
381
381
  "label",
382
382
  "active"
383
383
  ]),
384
- x(W, {
385
- icon: f(de),
384
+ x(G, {
385
+ icon: f(ue),
386
386
  label: f(E).paragraphEditor.alignCenter,
387
387
  active: e.editor.isActive({ textAlign: "center" }),
388
388
  onClick: r[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
@@ -391,8 +391,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
391
391
  "label",
392
392
  "active"
393
393
  ]),
394
- x(W, {
395
- icon: f(fe),
394
+ x(G, {
395
+ icon: f(de),
396
396
  label: f(E).paragraphEditor.alignRight,
397
397
  active: e.editor.isActive({ textAlign: "right" }),
398
398
  onClick: r[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
@@ -401,65 +401,65 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
401
401
  "label",
402
402
  "active"
403
403
  ]),
404
- x(J),
405
- x(Z, {
406
- "model-value": G(),
407
- options: f(P),
404
+ x(Y),
405
+ x(Q, {
406
+ "model-value": K(),
407
+ options: f(F),
408
408
  label: f(E).paragraphEditor.lineHeight,
409
409
  placeholder: "LH",
410
410
  "width-class": "tpl:w-16",
411
- "onUpdate:modelValue": K
411
+ "onUpdate:modelValue": q
412
412
  }, null, 8, [
413
413
  "model-value",
414
414
  "options",
415
415
  "label"
416
416
  ]),
417
- x(Z, {
418
- "model-value": I("letterSpacing"),
419
- options: f(Se),
417
+ x(Q, {
418
+ "model-value": L("letterSpacing"),
419
+ options: f(xe),
420
420
  label: f(E).paragraphEditor.letterSpacing,
421
421
  placeholder: "LS",
422
422
  "width-class": "tpl:w-20",
423
- "onUpdate:modelValue": q
423
+ "onUpdate:modelValue": J
424
424
  }, null, 8, [
425
425
  "model-value",
426
426
  "options",
427
427
  "label"
428
428
  ]),
429
- x(J),
430
- x(W, {
431
- icon: f(se),
429
+ x(Y),
430
+ x(G, {
431
+ icon: f(oe),
432
432
  label: f(E).paragraphEditor.clearFormatting,
433
433
  onClick: r[12] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
434
434
  }, null, 8, ["icon", "label"]),
435
- x(J),
436
- x(Ce, { onInsert: N }),
437
- e.canRequestMergeTag ? (n(), u(v, { key: 0 }, [x(J), g("button", {
435
+ x(Y),
436
+ x(Se, { onInsert: P }),
437
+ e.canRequestMergeTag ? (n(), u(v, { key: 0 }, [x(Y), g("button", {
438
438
  type: "button",
439
439
  class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-bg-active)]",
440
440
  "aria-label": f(E).mergeTag.insert,
441
441
  title: f(E).mergeTag.insert,
442
442
  onClick: r[13] ||= (e) => a("add-merge-tag")
443
- }, [x(f(oe), {
443
+ }, [x(f(ae), {
444
444
  size: 16,
445
445
  "stroke-width": 2
446
446
  }), y(" " + s(f(E).mergeTag.insertShort), 1)], 8, De)], 64)) : d("", !0),
447
- e.canInsertLogicTag ? (n(), u(v, { key: 1 }, [x(J), g("button", {
447
+ e.canInsertLogicTag ? (n(), u(v, { key: 1 }, [x(Y), g("button", {
448
448
  type: "button",
449
449
  class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-bg-active)]",
450
450
  "aria-label": f(E).logicTag.insert,
451
451
  title: f(E).logicTag.insert,
452
452
  "data-testid": "insert-logic-button",
453
453
  onClick: r[14] ||= (e) => a("add-logic-tag")
454
- }, [x(f(ae), {
454
+ }, [x(f(ie), {
455
455
  size: 16,
456
456
  "stroke-width": 2
457
457
  }), y(" " + s(f(E).logicTag.insertShort), 1)], 8, Oe)], 64)) : d("", !0)
458
- ])], 64)) : (n(), u("div", ke, [x(f(pe), {
458
+ ])], 64)) : (n(), u("div", ke, [x(f(fe), {
459
459
  class: "tpl-spinner",
460
460
  size: 14,
461
461
  "stroke-width": 2
462
- }), y(" " + s(f(E).errors.editorLoading), 1)]))], 12, $)], 8, ["to"])) : d("", !0);
462
+ }), y(" " + s(f(E).errors.editorLoading), 1)]))], 12, we)], 8, ["to"])) : d("", !0);
463
463
  }
464
464
  }), je = { class: "tpl-text-editor-wrapper tpl:relative" }, Me = /* @__PURE__ */ b({
465
465
  __name: "ParagraphEditor",
@@ -469,25 +469,25 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
469
469
  },
470
470
  emits: ["done"],
471
471
  setup(t, { emit: r }) {
472
- let i = t, a = r, o = j(), { editor: s, EditorContent: c, isLoading: l, initError: d, retry: p, showLinkDialog: m, linkUrl: h, linkColor: g, linkDialogRef: _, canRequestMergeTag: v, canInsertLogicTag: y, openLinkDialog: b, insertLink: S, removeLink: C, closeLinkDialog: E, handleLinkKeydown: D, handleAddMergeTag: O, handleAddLogicTag: k } = T({
472
+ let i = t, a = r, o = M(), { editor: s, EditorContent: c, isLoading: l, initError: d, retry: p, showLinkDialog: m, linkUrl: h, linkColor: g, linkDialogRef: _, canRequestMergeTag: v, canInsertLogicTag: y, openLinkDialog: b, insertLink: S, removeLink: C, closeLinkDialog: E, handleLinkKeydown: D, handleAddMergeTag: O, handleAddLogicTag: k } = T({
473
473
  blockId: () => i.block.id,
474
474
  blockContent: () => i.block.content,
475
475
  onDone: () => a("done"),
476
476
  editorName: "ParagraphEditor",
477
477
  async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
478
478
  let [{ Editor: a, EditorContent: s }, { default: c }, { default: l }, { default: u }, { default: d }, { default: f }, { default: p }, { TextStyle: m }, { default: h }, { default: g }, { default: _ }, { MergeTagNode: v, MergeTagSuggestion: y, LogicMergeTagNode: b, FontSize: x, LineHeight: S, LetterSpacing: C }] = await Promise.all([
479
- import("./tiptap-DRKu__AX.js").then((e) => e.r),
480
- import("./tiptap-DRKu__AX.js").then((e) => e.i),
481
- import("./tiptap-DRKu__AX.js").then((e) => e.l),
482
- import("./tiptap-DRKu__AX.js").then((e) => e.a),
483
- import("./tiptap-DRKu__AX.js").then((e) => e.c),
484
- import("./tiptap-DRKu__AX.js").then((e) => e.s),
485
- import("./tiptap-DRKu__AX.js").then((e) => e.o),
486
- import("./tiptap-DRKu__AX.js").then((e) => e.p),
487
- import("./tiptap-DRKu__AX.js").then((e) => e.f),
488
- import("./tiptap-DRKu__AX.js").then((e) => e.d),
489
- import("./tiptap-DRKu__AX.js").then((e) => e.u),
490
- import("./extensions-DBWF_lxx.js")
479
+ import("./tiptap-rsib432n.js").then((e) => e.r),
480
+ import("./tiptap-rsib432n.js").then((e) => e.i),
481
+ import("./tiptap-rsib432n.js").then((e) => e.l),
482
+ import("./tiptap-rsib432n.js").then((e) => e.a),
483
+ import("./tiptap-rsib432n.js").then((e) => e.c),
484
+ import("./tiptap-rsib432n.js").then((e) => e.s),
485
+ import("./tiptap-rsib432n.js").then((e) => e.o),
486
+ import("./tiptap-rsib432n.js").then((e) => e.p),
487
+ import("./tiptap-rsib432n.js").then((e) => e.f),
488
+ import("./tiptap-rsib432n.js").then((e) => e.d),
489
+ import("./tiptap-rsib432n.js").then((e) => e.u),
490
+ import("./extensions-5jgtarD-.js")
491
491
  ]);
492
492
  return {
493
493
  TiptapEditor: a,
@@ -554,7 +554,7 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
554
554
  "onAddMergeTag",
555
555
  "onAddLogicTag"
556
556
  ]),
557
- x(L, {
557
+ x(R, {
558
558
  editor: f(s),
559
559
  "editor-content": f(c),
560
560
  "is-loading": f(l),
@@ -567,7 +567,7 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
567
567
  "init-error",
568
568
  "onRetry"
569
569
  ]),
570
- x(I, {
570
+ x(L, {
571
571
  visible: f(m),
572
572
  "is-editing-link": f(s)?.isActive("link") ?? !1,
573
573
  "dialog-ref": f(_),
@@ -597,4 +597,4 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
597
597
  //#endregion
598
598
  export { Me as default };
599
599
 
600
- //# sourceMappingURL=ParagraphEditor-CX1yks4N.js.map
600
+ //# sourceMappingURL=ParagraphEditor-Uv5LPF3W.js.map