@templatical/editor 0.44.2 → 0.45.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 (295) hide show
  1. package/README.md +1 -1
  2. package/dist/{AiChatSidebar-BUR5Jshu.js → AiChatSidebar-BlFWWhBv.js} +15 -19
  3. package/dist/{AiFeatureMenu-CgfLFHJw.js → AiFeatureMenu-CvWygUmC.js} +7 -7
  4. package/dist/{BlockIssueBadge-CWZEwMXX.js → BlockIssueBadge-CZA1XvAh.js} +5 -5
  5. package/dist/{BlockPreviewCanvas-2vVu55yN.js → BlockPreviewCanvas-DwxJOTzH.js} +5 -5
  6. package/dist/{CloudHeaderExtras-BZ62q1aS.js → CloudHeaderExtras-BzM1QU1r.js} +5 -5
  7. package/dist/{CloudPanels-sv4aCKKE.js → CloudPanels-d36YXXyn.js} +8 -8
  8. package/dist/{CollaboratorBar-CSEFL7uC.js → CollaboratorBar-rwXe_Qd2.js} +4 -4
  9. package/dist/{CommentsPanel-CYMHfFcn.js → CommentsPanel-Bn6P5crU.js} +2 -2
  10. package/dist/{CommentsSidebar-uvQyCMUe.js → CommentsSidebar-B8wT932T.js} +14 -14
  11. package/dist/{CountdownBlock-C6R-hn7D.js → CountdownBlock-RNx3hIu0.js} +3 -3
  12. package/dist/{CountdownToolbar-C052mx2P.js → CountdownToolbar-lbjCc8ik.js} +62 -61
  13. package/dist/{DesignReferenceSidebar-ZKJ7y7-G.js → DesignReferenceSidebar-zlJQsP0X.js} +25 -26
  14. package/dist/{IssuesPanel-DAlNiJX_.js → IssuesPanel-CHx3m8SP.js} +8 -8
  15. package/dist/{LoadingTrack-C1Epulqq.js → LoadingTrack-DROqNuuD.js} +1 -1
  16. package/dist/{LogicTagInsertButton-DMUfVsPr.js → LogicTagInsertButton-BvftbkL4.js} +13 -19
  17. package/dist/{MediaEditModal-Cmd9tQXZ.js → MediaEditModal-EY1YYcpw.js} +6 -14
  18. package/dist/{MediaPanels-DoBhG5gg.js → MediaPanels-CRVFGFZW.js} +2 -2
  19. package/dist/{MergeTagInput-DoQWMSW4.js → MergeTagInput-CR1kcj8X.js} +2 -2
  20. package/dist/{MergeTagModeToggle-DOHixe4G.js → MergeTagModeToggle-DssKrVYb.js} +7 -7
  21. package/dist/{ParagraphEditor-C_p6yKLK.js → ParagraphEditor-DFizsZRc.js} +140 -139
  22. package/dist/{RestoreVersionDialog-CKHeCPG2.js → RestoreVersionDialog-Cp3q2mU4.js} +5 -5
  23. package/dist/{RichTextEditorContent-BedBVHXS.js → RichTextEditorContent-Cj3oaPMk.js} +9 -9
  24. package/dist/{SaveBlockDialog-q3_fjb9t.js → SaveBlockDialog-BR8vW_XF.js} +13 -13
  25. package/dist/SavedBlocksBrowserModal-DmwbmKxI.js +360 -0
  26. package/dist/{SavedBlocksPanels-DNpnl5cO.js → SavedBlocksPanels-D4XKrs-a.js} +2 -2
  27. package/dist/{SavedBlocksPickBar-Pq2bjpB_.js → SavedBlocksPickBar-gfc-o5sR.js} +4 -4
  28. package/dist/{TemplateScoringPanel-DXsyp0_A.js → TemplateScoringPanel-3lHzuCl0.js} +16 -16
  29. package/dist/TemplateSettings-D7aNrd0d.js +246 -0
  30. package/dist/{TestEmailModal-BYCKpH7g.js → TestEmailModal-DUmtcSm-.js} +11 -11
  31. package/dist/{TestEmailPanel-lUXAFsT5.js → TestEmailPanel-s9gISTI8.js} +2 -2
  32. package/dist/{TitleEditor-CWPxXUp2.js → TitleEditor-C-uHqtml.js} +13 -13
  33. package/dist/{ToggleSwitch-D7GLaT8s.js → ToggleSwitch-CTwwCIVA.js} +2 -2
  34. package/dist/{Toolbar-CWxqqBHE.js → Toolbar-CLpA36RO.js} +518 -520
  35. package/dist/{TplModal-D6lqrKls.js → TplModal-D6XtxusQ.js} +5 -5
  36. package/dist/{VersionHistoryMenu-fLrx-Lvi.js → VersionHistoryMenu-D7zaTMrb.js} +10 -10
  37. package/dist/{VersionHistoryPanels-C3XhpQO_.js → VersionHistoryPanels-Dvowtt7V.js} +2 -2
  38. package/dist/{VersionPreviewBanner-CWuxq_bb.js → VersionPreviewBanner-BUKb9gc6.js} +3 -3
  39. package/dist/{WrapperBlock-ox8TMS_p.js → WrapperBlock-CzJa2Mxw.js} +3 -3
  40. package/dist/{blockTypeIcons-DEvNVvBj.js → blockTypeIcons-D3aj5u_5.js} +2 -2
  41. package/dist/bundle-stats.json +7 -7
  42. package/dist/{ca-DSwai-th.js → ca-C__Dzq--.js} +6 -0
  43. package/dist/cdn/chunks/{AiChatSidebar-Cvp9beXR.js → AiChatSidebar-SRGBP-SL.js} +9 -13
  44. package/dist/cdn/chunks/{AiChatSidebar-Cvp9beXR.js.map → AiChatSidebar-SRGBP-SL.js.map} +1 -1
  45. package/dist/cdn/chunks/{AiFeatureMenu-vOJtwdmT.js → AiFeatureMenu-oZhlgsGh.js} +6 -6
  46. package/dist/cdn/chunks/{AiFeatureMenu-vOJtwdmT.js.map → AiFeatureMenu-oZhlgsGh.js.map} +1 -1
  47. package/dist/cdn/chunks/{BlockIssueBadge-CKIrYROg.js → BlockIssueBadge-05Q3L4RV.js} +5 -5
  48. package/dist/cdn/chunks/{BlockIssueBadge-CKIrYROg.js.map → BlockIssueBadge-05Q3L4RV.js.map} +1 -1
  49. package/dist/cdn/chunks/{BlockPreviewCanvas-CB27Joyn.js → BlockPreviewCanvas-hKxE6f-k.js} +6 -6
  50. package/dist/cdn/chunks/{BlockPreviewCanvas-CB27Joyn.js.map → BlockPreviewCanvas-hKxE6f-k.js.map} +1 -1
  51. package/dist/cdn/chunks/{CloudHeaderExtras-9tKrhPm6.js → CloudHeaderExtras-t-_ZlHwn.js} +5 -5
  52. package/dist/cdn/chunks/{CloudHeaderExtras-9tKrhPm6.js.map → CloudHeaderExtras-t-_ZlHwn.js.map} +1 -1
  53. package/dist/cdn/chunks/{CloudPanels-DTQ7zbEN.js → CloudPanels-DR2eEcpX.js} +7 -7
  54. package/dist/cdn/chunks/{CloudPanels-DTQ7zbEN.js.map → CloudPanels-DR2eEcpX.js.map} +1 -1
  55. package/dist/cdn/chunks/{CollaboratorBar-BKTkVMbz.js → CollaboratorBar-w8_2WPE0.js} +5 -5
  56. package/dist/cdn/chunks/{CollaboratorBar-BKTkVMbz.js.map → CollaboratorBar-w8_2WPE0.js.map} +1 -1
  57. package/dist/cdn/chunks/{CommentsPanel-BjHRj_Yw.js → CommentsPanel-VH_NJ5HZ.js} +3 -3
  58. package/dist/cdn/chunks/{CommentsPanel-BjHRj_Yw.js.map → CommentsPanel-VH_NJ5HZ.js.map} +1 -1
  59. package/dist/cdn/chunks/{CommentsSidebar-CpCfqSq4.js → CommentsSidebar-CYPH5rVi.js} +5 -5
  60. package/dist/cdn/chunks/{CommentsSidebar-CpCfqSq4.js.map → CommentsSidebar-CYPH5rVi.js.map} +1 -1
  61. package/dist/cdn/chunks/{CountdownBlock-sVDjKkRw.js → CountdownBlock-lHU3Lu7Q.js} +4 -4
  62. package/dist/cdn/chunks/{CountdownBlock-sVDjKkRw.js.map → CountdownBlock-lHU3Lu7Q.js.map} +1 -1
  63. package/dist/cdn/chunks/{CountdownToolbar-C9QpHQcv.js → CountdownToolbar-CvNuDR5Z.js} +63 -62
  64. package/dist/cdn/chunks/CountdownToolbar-CvNuDR5Z.js.map +1 -0
  65. package/dist/cdn/chunks/{DesignReferenceSidebar-BO0xz1wC.js → DesignReferenceSidebar-CJg_5GXU.js} +21 -22
  66. package/dist/cdn/chunks/{DesignReferenceSidebar-BO0xz1wC.js.map → DesignReferenceSidebar-CJg_5GXU.js.map} +1 -1
  67. package/dist/cdn/chunks/{IssuesPanel--62qud8w.js → IssuesPanel-DXqlRk19.js} +6 -6
  68. package/dist/cdn/chunks/{IssuesPanel--62qud8w.js.map → IssuesPanel-DXqlRk19.js.map} +1 -1
  69. package/dist/cdn/chunks/{LoadingTrack-_7DH_5aw.js → LoadingTrack-Cg1HRIND.js} +2 -2
  70. package/dist/cdn/chunks/{LoadingTrack-_7DH_5aw.js.map → LoadingTrack-Cg1HRIND.js.map} +1 -1
  71. package/dist/cdn/chunks/{LogicTagInsertButton-gc8ICURV.js → LogicTagInsertButton-DnHghQHb.js} +11 -17
  72. package/dist/cdn/chunks/{LogicTagInsertButton-gc8ICURV.js.map → LogicTagInsertButton-DnHghQHb.js.map} +1 -1
  73. package/dist/cdn/chunks/{MediaEditModal-BuDXKwx4.js → MediaEditModal-CD3fVbWI.js} +6 -14
  74. package/dist/cdn/chunks/{MediaEditModal-BuDXKwx4.js.map → MediaEditModal-CD3fVbWI.js.map} +1 -1
  75. package/dist/cdn/chunks/{MediaPanels-xFpaxFRH.js → MediaPanels-B2AyUUcf.js} +3 -3
  76. package/dist/cdn/chunks/{MediaPanels-xFpaxFRH.js.map → MediaPanels-B2AyUUcf.js.map} +1 -1
  77. package/dist/cdn/chunks/{MergeTagInput-DsPKWbWr.js → MergeTagInput-heTX9P_k.js} +3 -3
  78. package/dist/cdn/chunks/{MergeTagInput-DsPKWbWr.js.map → MergeTagInput-heTX9P_k.js.map} +1 -1
  79. package/dist/cdn/chunks/{MergeTagModeToggle-DU0WqgVH.js → MergeTagModeToggle-C9EfuZIP.js} +6 -6
  80. package/dist/cdn/chunks/{MergeTagModeToggle-DU0WqgVH.js.map → MergeTagModeToggle-C9EfuZIP.js.map} +1 -1
  81. package/dist/cdn/chunks/{ParagraphEditor-BSDGOsja.js → ParagraphEditor-B5DN4Sy4.js} +145 -144
  82. package/dist/cdn/chunks/ParagraphEditor-B5DN4Sy4.js.map +1 -0
  83. package/dist/cdn/chunks/{RestoreVersionDialog-DLe0Co57.js → RestoreVersionDialog-DBgJ-Nui.js} +5 -5
  84. package/dist/cdn/chunks/{RestoreVersionDialog-DLe0Co57.js.map → RestoreVersionDialog-DBgJ-Nui.js.map} +1 -1
  85. package/dist/cdn/chunks/{RichTextEditorContent-Dkcts8Vh.js → RichTextEditorContent-LOas4rfU.js} +8 -8
  86. package/dist/cdn/chunks/{RichTextEditorContent-Dkcts8Vh.js.map → RichTextEditorContent-LOas4rfU.js.map} +1 -1
  87. package/dist/cdn/chunks/{SaveBlockDialog-DQzaED8U.js → SaveBlockDialog-Dx-QVQCX.js} +11 -11
  88. package/dist/cdn/chunks/{SaveBlockDialog-DQzaED8U.js.map → SaveBlockDialog-Dx-QVQCX.js.map} +1 -1
  89. package/dist/cdn/chunks/SavedBlocksBrowserModal-C2RQ-JCc.js +357 -0
  90. package/dist/cdn/chunks/SavedBlocksBrowserModal-C2RQ-JCc.js.map +1 -0
  91. package/dist/cdn/chunks/{SavedBlocksPanels-lW7PMvJN.js → SavedBlocksPanels-BmRbvqqL.js} +3 -3
  92. package/dist/cdn/chunks/{SavedBlocksPanels-lW7PMvJN.js.map → SavedBlocksPanels-BmRbvqqL.js.map} +1 -1
  93. package/dist/cdn/chunks/{SavedBlocksPickBar-DEL0r3Bv.js → SavedBlocksPickBar-BzwKojoJ.js} +5 -5
  94. package/dist/cdn/chunks/{SavedBlocksPickBar-DEL0r3Bv.js.map → SavedBlocksPickBar-BzwKojoJ.js.map} +1 -1
  95. package/dist/cdn/chunks/{TemplateScoringPanel-BBRHCNcR.js → TemplateScoringPanel-C_57Bfkf.js} +8 -8
  96. package/dist/cdn/chunks/{TemplateScoringPanel-BBRHCNcR.js.map → TemplateScoringPanel-C_57Bfkf.js.map} +1 -1
  97. package/dist/cdn/chunks/{TemplateSettings-vsFOU0oA.js → TemplateSettings-G-yV7C1C.js} +48 -47
  98. package/dist/cdn/chunks/TemplateSettings-G-yV7C1C.js.map +1 -0
  99. package/dist/cdn/chunks/{TestEmailModal-B7Dr2eFa.js → TestEmailModal-lOeztfTN.js} +10 -10
  100. package/dist/cdn/chunks/{TestEmailModal-B7Dr2eFa.js.map → TestEmailModal-lOeztfTN.js.map} +1 -1
  101. package/dist/cdn/chunks/{TestEmailPanel-C3PTYDbT.js → TestEmailPanel-CZswVkk_.js} +3 -3
  102. package/dist/cdn/chunks/{TestEmailPanel-C3PTYDbT.js.map → TestEmailPanel-CZswVkk_.js.map} +1 -1
  103. package/dist/cdn/chunks/{TitleEditor-gHTla_4I.js → TitleEditor-CnTT2Y3H.js} +12 -12
  104. package/dist/cdn/chunks/{TitleEditor-gHTla_4I.js.map → TitleEditor-CnTT2Y3H.js.map} +1 -1
  105. package/dist/cdn/chunks/{ToggleSwitch-DoUNcLPP.js → ToggleSwitch-CLHteVMO.js} +3 -3
  106. package/dist/cdn/chunks/{ToggleSwitch-DoUNcLPP.js.map → ToggleSwitch-CLHteVMO.js.map} +1 -1
  107. package/dist/cdn/chunks/{Toolbar-CnfNUkOY.js → Toolbar-K4tIkpG1.js} +415 -417
  108. package/dist/cdn/chunks/Toolbar-K4tIkpG1.js.map +1 -0
  109. package/dist/cdn/chunks/{TplModal-BVUBOEQL.js → TplModal-OOT36AjS.js} +5 -5
  110. package/dist/cdn/chunks/{TplModal-BVUBOEQL.js.map → TplModal-OOT36AjS.js.map} +1 -1
  111. package/dist/cdn/chunks/{VersionHistoryMenu-Cp3EHO_P.js → VersionHistoryMenu-DbxuJgDO.js} +6 -6
  112. package/dist/cdn/chunks/{VersionHistoryMenu-Cp3EHO_P.js.map → VersionHistoryMenu-DbxuJgDO.js.map} +1 -1
  113. package/dist/cdn/chunks/{VersionHistoryPanels-Dcdy7ySA.js → VersionHistoryPanels-BrpYRSfW.js} +3 -3
  114. package/dist/cdn/chunks/{VersionHistoryPanels-Dcdy7ySA.js.map → VersionHistoryPanels-BrpYRSfW.js.map} +1 -1
  115. package/dist/cdn/chunks/{VersionPreviewBanner-BgkroXnG.js → VersionPreviewBanner-HRERIH-v.js} +4 -4
  116. package/dist/cdn/chunks/{VersionPreviewBanner-BgkroXnG.js.map → VersionPreviewBanner-HRERIH-v.js.map} +1 -1
  117. package/dist/cdn/chunks/{WrapperBlock-23nAzweL.js → WrapperBlock-DdrnwH80.js} +4 -4
  118. package/dist/cdn/chunks/{WrapperBlock-23nAzweL.js.map → WrapperBlock-DdrnwH80.js.map} +1 -1
  119. package/dist/cdn/chunks/{blockTypeIcons-BMZi7sdX.js → blockTypeIcons-DdZP-3FM.js} +2 -2
  120. package/dist/cdn/chunks/{blockTypeIcons-BMZi7sdX.js.map → blockTypeIcons-DdZP-3FM.js.map} +1 -1
  121. package/dist/cdn/chunks/{ca-DSwai-th.js → ca-C__Dzq--.js} +7 -1
  122. package/dist/cdn/chunks/ca-C__Dzq--.js.map +1 -0
  123. package/dist/cdn/chunks/{cloud-DLQU5l0Z.js → cloud-bhW8qTnh.js} +4 -4
  124. package/dist/cdn/chunks/{cloud-DLQU5l0Z.js.map → cloud-bhW8qTnh.js.map} +1 -1
  125. package/dist/cdn/chunks/{createCloudRuntime-Mnx8kV2W.js → createCloudRuntime-CeRJkLR2.js} +9 -12
  126. package/dist/cdn/chunks/{createCloudRuntime-Mnx8kV2W.js.map → createCloudRuntime-CeRJkLR2.js.map} +1 -1
  127. package/dist/{de-DOhKuphf.js → cdn/chunks/de-CGjbQ2mt.js} +8 -0
  128. package/dist/cdn/chunks/de-CGjbQ2mt.js.map +1 -0
  129. package/dist/cdn/chunks/{dist-BRZhN8qJ.js → dist-B7W-Lb65.js} +2 -2
  130. package/dist/cdn/chunks/{dist-BRZhN8qJ.js.map → dist-B7W-Lb65.js.map} +1 -1
  131. package/dist/cdn/chunks/{dist-CXB2_kBa.js → dist-C5nRd_ua.js} +5 -13
  132. package/dist/cdn/chunks/{dist-CXB2_kBa.js.map → dist-C5nRd_ua.js.map} +1 -1
  133. package/dist/cdn/chunks/{draggable-IB4x6w2O.js → draggable-BUTN5vZC.js} +32 -77
  134. package/dist/cdn/chunks/{draggable-IB4x6w2O.js.map → draggable-BUTN5vZC.js.map} +1 -1
  135. package/dist/cdn/chunks/{editor-modal-B7NNAFI5.js → editor-modal-BpsbYA4_.js} +14 -34
  136. package/dist/cdn/chunks/{editor-modal-B7NNAFI5.js.map → editor-modal-BpsbYA4_.js.map} +1 -1
  137. package/dist/{en-BE28ZcUF.js → cdn/chunks/en-BTiiAC-B.js} +8 -0
  138. package/dist/cdn/chunks/en-BTiiAC-B.js.map +1 -0
  139. package/dist/cdn/chunks/en-CAt6y87e.js +1 -0
  140. package/dist/{es-oQI-dfx2.js → cdn/chunks/es-CdTOcSTf.js} +8 -0
  141. package/dist/cdn/chunks/es-CdTOcSTf.js.map +1 -0
  142. package/dist/cdn/chunks/{extensions-ClmkNA8R.js → extensions-xjRsIjMP.js} +9 -17
  143. package/dist/cdn/chunks/{extensions-ClmkNA8R.js.map → extensions-xjRsIjMP.js.map} +1 -1
  144. package/dist/{fr-rzLdCMSG.js → cdn/chunks/fr-B6lcLLzC.js} +8 -0
  145. package/dist/cdn/chunks/fr-B6lcLLzC.js.map +1 -0
  146. package/dist/cdn/chunks/{htmlparser-ClUZ6waR.js → htmlparser-CDRsn-gn.js} +3 -11
  147. package/dist/cdn/chunks/{htmlparser-ClUZ6waR.js.map → htmlparser-CDRsn-gn.js.map} +1 -1
  148. package/dist/cdn/chunks/{icons-BjvraR-Y.js → icons-Dr9erFGs.js} +48 -48
  149. package/dist/cdn/chunks/{icons-BjvraR-Y.js.map → icons-Dr9erFGs.js.map} +1 -1
  150. package/dist/{ja-dyFc6Ghz.js → cdn/chunks/ja-BhdkqENz.js} +8 -0
  151. package/dist/cdn/chunks/ja-BhdkqENz.js.map +1 -0
  152. package/dist/cdn/chunks/{keys-DCWeHkSF.js → keys-BKu-LOk5.js} +2 -2
  153. package/dist/cdn/chunks/{keys-DCWeHkSF.js.map → keys-BKu-LOk5.js.map} +1 -1
  154. package/dist/cdn/chunks/{liquid.browser-DXPjcePu.js → liquid.browser-Bbt17cVz.js} +30 -56
  155. package/dist/cdn/chunks/{liquid.browser-DXPjcePu.js.map → liquid.browser-Bbt17cVz.js.map} +1 -1
  156. package/dist/{nl-BcQhRqKR.js → cdn/chunks/nl-CE3YItYg.js} +8 -0
  157. package/dist/cdn/chunks/nl-CE3YItYg.js.map +1 -0
  158. package/dist/cdn/chunks/{preRenderCustomBlocks-Bg3rIgGJ.js → preRenderCustomBlocks-CFwa7nP9.js} +2 -2
  159. package/dist/cdn/chunks/{preRenderCustomBlocks-Bg3rIgGJ.js.map → preRenderCustomBlocks-CFwa7nP9.js.map} +1 -1
  160. package/dist/{pt-BR-UombhTMO.js → cdn/chunks/pt-BR-CUIT4rq4.js} +8 -0
  161. package/dist/cdn/chunks/pt-BR-CUIT4rq4.js.map +1 -0
  162. package/dist/cdn/chunks/{pusher-BbIHJKf3.js → pusher-C8DeiO2X.js} +18 -57
  163. package/dist/cdn/chunks/{pusher-BbIHJKf3.js.map → pusher-C8DeiO2X.js.map} +1 -1
  164. package/dist/cdn/chunks/{socialIcons-CnUJBZTO.js → socialIcons-CsYnPPll.js} +14 -24
  165. package/dist/cdn/chunks/socialIcons-CsYnPPll.js.map +1 -0
  166. package/dist/cdn/chunks/{src-QIGNPFkl.js → src-BcqNlDMe.js} +258 -237
  167. package/dist/cdn/chunks/src-BcqNlDMe.js.map +1 -0
  168. package/dist/cdn/chunks/{src-CLHnxvuS.js → src-CkXmV2I2.js} +174 -179
  169. package/dist/cdn/chunks/src-CkXmV2I2.js.map +1 -0
  170. package/dist/cdn/chunks/{src-B5-VKcRQ.js → src-HA9F2kvk.js} +141 -179
  171. package/dist/cdn/chunks/{src-B5-VKcRQ.js.map → src-HA9F2kvk.js.map} +1 -1
  172. package/dist/cdn/chunks/{tiptap-02G9FGkl.js → tiptap-CYDXLO17.js} +87 -134
  173. package/dist/cdn/chunks/{tiptap-02G9FGkl.js.map → tiptap-CYDXLO17.js.map} +1 -1
  174. package/dist/cdn/chunks/{useAliveFlag-DAlQLbM2.js → useAliveFlag-DzyXG-8A.js} +2 -2
  175. package/dist/cdn/chunks/{useAliveFlag-DAlQLbM2.js.map → useAliveFlag-DzyXG-8A.js.map} +1 -1
  176. package/dist/cdn/chunks/{useCloudI18n-CrjWbpbu.js → useCloudI18n-Cgk0ts_F.js} +3 -3
  177. package/dist/cdn/chunks/{useCloudI18n-CrjWbpbu.js.map → useCloudI18n-Cgk0ts_F.js.map} +1 -1
  178. package/dist/cdn/chunks/{useEditorCore-DjD7fJpq.js → useEditorCore-BF1ZhcGu.js} +476 -520
  179. package/dist/cdn/chunks/useEditorCore-BF1ZhcGu.js.map +1 -0
  180. package/dist/cdn/chunks/useEditorRoot-DDPIcEOO.js +10 -0
  181. package/dist/cdn/chunks/{useEditorRoot-CshefZLP.js.map → useEditorRoot-DDPIcEOO.js.map} +1 -1
  182. package/dist/cdn/chunks/{useI18n-CyO_Nmca.js → useI18n-DO4NTunW.js} +3 -3
  183. package/dist/cdn/chunks/{useI18n-CyO_Nmca.js.map → useI18n-DO4NTunW.js.map} +1 -1
  184. package/dist/cdn/chunks/{useLogicTag-D6lWY0bD.js → useLogicTag-91bO_SOi.js} +4 -4
  185. package/dist/cdn/chunks/{useLogicTag-D6lWY0bD.js.map → useLogicTag-91bO_SOi.js.map} +1 -1
  186. package/dist/cdn/chunks/{useMergeTag-2iW-BKWW.js → useMergeTag-hwifK582.js} +4 -4
  187. package/dist/cdn/chunks/{useMergeTag-2iW-BKWW.js.map → useMergeTag-hwifK582.js.map} +1 -1
  188. package/dist/cdn/chunks/{usePopoverPosition-DGXjXKjM.js → usePopoverPosition-CtVNwoHj.js} +3 -3
  189. package/dist/cdn/chunks/{usePopoverPosition-DGXjXKjM.js.map → usePopoverPosition-CtVNwoHj.js.map} +1 -1
  190. package/dist/cdn/chunks/{useScrollToBlock-DgHZJvID.js → useScrollToBlock-BDNJ25X1.js} +3 -3
  191. package/dist/cdn/chunks/{useScrollToBlock-DgHZJvID.js.map → useScrollToBlock-BDNJ25X1.js.map} +1 -1
  192. package/dist/cdn/chunks/withCurrentFont-DeCbPVaE.js +32 -0
  193. package/dist/cdn/chunks/withCurrentFont-DeCbPVaE.js.map +1 -0
  194. package/dist/cdn/editor.css +1 -1
  195. package/dist/cdn/editor.js +89 -118
  196. package/dist/cdn/editor.js.map +1 -1
  197. package/dist/{check-DNyj-E0y.js → check-ZKvtMdpe.js} +1 -1
  198. package/dist/{chevron-down-BYnhkMsA.js → chevron-down-RrwkYMlp.js} +1 -1
  199. package/dist/{chevron-right-D9HGBqJo.js → chevron-right-CklHaa1U.js} +1 -1
  200. package/dist/{chevron-up-BnIR1-ma.js → chevron-up-DjN2NTbo.js} +1 -1
  201. package/dist/{circle-alert-B6xl1B_M.js → circle-alert-BR1_Yfb-.js} +1 -1
  202. package/dist/{clock-Cs5Wd3dW.js → clock-BEagNj21.js} +1 -1
  203. package/dist/{cloud-BNEL7bxL.js → cloud-CVfwPu19.js} +2 -2
  204. package/dist/{copy-6uKc-WBk.js → copy-D6DNoSq1.js} +1 -1
  205. package/dist/{createCloudRuntime-CaZapQZ6.js → createCloudRuntime-GRv_TDb2.js} +8 -11
  206. package/dist/{createLucideIcon-BVcoovvP.js → createLucideIcon-BAPyioGd.js} +6 -6
  207. package/dist/{cdn/chunks/de-DOhKuphf.js → de-CGjbQ2mt.js} +6 -2
  208. package/dist/{dist-CmwBvyW0.js → dist-1H4cnaoD.js} +3 -3
  209. package/dist/{dist-D4HP93ZF.js → dist-5DAb7bYT.js} +1 -1
  210. package/dist/{dist-DdSWMtEP.js → dist-5KNKxglR.js} +1 -1
  211. package/dist/{dist-BDuPwOyn.js → dist-B_vYjCsk.js} +4 -12
  212. package/dist/{dist-Ceew_u40.js → dist-Bc30883t.js} +6 -22
  213. package/dist/{dist-Czzst9ng.js → dist-Bd7khQsg.js} +3 -11
  214. package/dist/{dist-8VFzbeu9.js → dist-C-VFTX82.js} +1 -1
  215. package/dist/{dist-BYg1EL5g.js → dist-C3eH9-N2.js} +1 -1
  216. package/dist/{dist-Dw2_11LA.js → dist-CFC4pg2o.js} +1 -1
  217. package/dist/{dist-BgSLW3Hn.js → dist-CMcFD7gP.js} +72 -87
  218. package/dist/{dist-HjILVdTA.js → dist-CSaWqmWM.js} +143 -126
  219. package/dist/{dist-DmQckB4p.js → dist-DHensKDY.js} +1 -1
  220. package/dist/{dist-CWc7nIkA.js → dist-DapsJxn_.js} +1 -1
  221. package/dist/{dist-D2m55Lvs.js → dist-j2FavQmU.js} +1 -1
  222. package/dist/{dist-8By0p8ah.js → dist-lL3nVbxV.js} +1 -1
  223. package/dist/{editor-modal-Co-rZGaf.js → editor-modal-oRmkDlUs.js} +27 -47
  224. package/dist/{cdn/chunks/en-BE28ZcUF.js → en-BTiiAC-B.js} +6 -2
  225. package/dist/en-Bk4iCfjp.js +1 -0
  226. package/dist/{cdn/chunks/es-oQI-dfx2.js → es-CdTOcSTf.js} +6 -2
  227. package/dist/{extensions-DXSI8Dyj.js → extensions-B65sfZRk.js} +42 -58
  228. package/dist/{eye-Nbtw_q05.js → eye-DvsTBI57.js} +1 -1
  229. package/dist/{cdn/chunks/fr-rzLdCMSG.js → fr-B6lcLLzC.js} +6 -2
  230. package/dist/{image-up-C1jC7NzQ.js → image-up-BoFGZm5Q.js} +1 -1
  231. package/dist/index.d.ts +12 -1
  232. package/dist/{info-ClH66pKN.js → info-0bQQGjTV.js} +1 -1
  233. package/dist/{cdn/chunks/ja-dyFc6Ghz.js → ja-BhdkqENz.js} +6 -2
  234. package/dist/{keys-CDqfZIRt.js → keys-injl74ob.js} +1 -1
  235. package/dist/{link-y47GNW0o.js → link-Cstrr3Ep.js} +1 -1
  236. package/dist/{liquid.browser-Cs4gOjeX.js → liquid.browser-Ct2-EezB.js} +29 -55
  237. package/dist/{list-DiLMlMaE.js → list-Dx9Rmy5s.js} +1 -1
  238. package/dist/{loader-circle-BRdCPW5h.js → loader-circle-D8Qqs0MG.js} +1 -1
  239. package/dist/{message-circle-CNgIpVJv.js → message-circle-D78ELX6I.js} +1 -1
  240. package/dist/{cdn/chunks/nl-BcQhRqKR.js → nl-CE3YItYg.js} +6 -2
  241. package/dist/{package-B9OWk-Kp.js → package-DOvM9sHE.js} +1 -1
  242. package/dist/{pencil-BDnjo24u.js → pencil-B6m0OG0n.js} +1 -1
  243. package/dist/{plus-BMgjN7lI.js → plus-D-nEKxTc.js} +1 -1
  244. package/dist/{preRenderCustomBlocks-C_PIxBp7.js → preRenderCustomBlocks-DAS48ZCp.js} +1 -1
  245. package/dist/{cdn/chunks/pt-BR-UombhTMO.js → pt-BR-CUIT4rq4.js} +6 -2
  246. package/dist/{refresh-cw-CR5lenxl.js → refresh-cw-CXZS-R1U.js} +1 -1
  247. package/dist/{runtime-dom.esm-bundler-BGbPz4-g.js → runtime-dom.esm-bundler-CO67ema2.js} +15 -16
  248. package/dist/{search-CxRUiOSF.js → search-DSvil0jo.js} +1 -1
  249. package/dist/{send-Bu2RysGL.js → send-BBR28V94.js} +1 -1
  250. package/dist/{shield-check-Cg8f4LB0.js → shield-check-ByxUnaU9.js} +1 -1
  251. package/dist/{smartphone-CHf-8lHp.js → smartphone-CNOwGf5T.js} +1 -1
  252. package/dist/{socialIcons-D1gkHc_i.js → socialIcons-CvAixjj8.js} +14 -24
  253. package/dist/{sparkles-_DQGv4ub.js → sparkles-DO1hzwzf.js} +1 -1
  254. package/dist/style.css +1 -1
  255. package/dist/templatical-editor.js +101 -130
  256. package/dist/{text-align-start-PHo-Ep5i.js → text-align-start-BKEKMheq.js} +13 -13
  257. package/dist/{trash-BxIzHAri.js → trash-CKEQH4vH.js} +1 -1
  258. package/dist/{triangle-alert-fcb2KoA-.js → triangle-alert-BHnfd3fV.js} +1 -1
  259. package/dist/{upload-BxBtMPMv.js → upload-C8uO7KsR.js} +1 -1
  260. package/dist/{useAliveFlag-BkKyhkwZ.js → useAliveFlag-6PtarpNZ.js} +1 -1
  261. package/dist/{useCloudI18n-DpEsiLeR.js → useCloudI18n-GvIOLziA.js} +2 -2
  262. package/dist/{useEditorCore-iuKC8yr5.js → useEditorCore-DQSeKPE9.js} +940 -1007
  263. package/dist/{useEditorRoot-CkB_5d0h.js → useEditorRoot-OWzNpDdT.js} +2 -2
  264. package/dist/{useI18n-B_CdcBwG.js → useI18n-uF11q85g.js} +2 -2
  265. package/dist/{useLogicTag-wqfdwYYR.js → useLogicTag-BH87j1vZ.js} +3 -3
  266. package/dist/{useMergeTag-D3XDE_58.js → useMergeTag-DfPKX2Tk.js} +3 -3
  267. package/dist/{usePopoverPosition-BYmd-lhR.js → usePopoverPosition-DkBrHfCo.js} +2 -2
  268. package/dist/{useScrollToBlock-DA_aIJXS.js → useScrollToBlock-Dr7Sb6Tr.js} +3 -3
  269. package/dist/{vue.runtime.esm-bundler-CyqhBwpY.js → vue.runtime.esm-bundler-CctRY8kr.js} +13 -45
  270. package/dist/withCurrentFont-DeCbPVaE.js +30 -0
  271. package/dist/{x-DrZO5tt0.js → x-gEC0yMci.js} +1 -1
  272. package/package.json +12 -12
  273. package/dist/SavedBlocksBrowserModal-DeUo5aFV.js +0 -325
  274. package/dist/TemplateSettings-Bh10NFIN.js +0 -245
  275. package/dist/cdn/chunks/CountdownToolbar-C9QpHQcv.js.map +0 -1
  276. package/dist/cdn/chunks/ParagraphEditor-BSDGOsja.js.map +0 -1
  277. package/dist/cdn/chunks/SavedBlocksBrowserModal-CliZBxHo.js +0 -322
  278. package/dist/cdn/chunks/SavedBlocksBrowserModal-CliZBxHo.js.map +0 -1
  279. package/dist/cdn/chunks/TemplateSettings-vsFOU0oA.js.map +0 -1
  280. package/dist/cdn/chunks/Toolbar-CnfNUkOY.js.map +0 -1
  281. package/dist/cdn/chunks/ca-DSwai-th.js.map +0 -1
  282. package/dist/cdn/chunks/de-DOhKuphf.js.map +0 -1
  283. package/dist/cdn/chunks/en-BE28ZcUF.js.map +0 -1
  284. package/dist/cdn/chunks/en-C3n0qWte.js +0 -2
  285. package/dist/cdn/chunks/es-oQI-dfx2.js.map +0 -1
  286. package/dist/cdn/chunks/fr-rzLdCMSG.js.map +0 -1
  287. package/dist/cdn/chunks/ja-dyFc6Ghz.js.map +0 -1
  288. package/dist/cdn/chunks/nl-BcQhRqKR.js.map +0 -1
  289. package/dist/cdn/chunks/pt-BR-UombhTMO.js.map +0 -1
  290. package/dist/cdn/chunks/socialIcons-CnUJBZTO.js.map +0 -1
  291. package/dist/cdn/chunks/src-CLHnxvuS.js.map +0 -1
  292. package/dist/cdn/chunks/src-QIGNPFkl.js.map +0 -1
  293. package/dist/cdn/chunks/useEditorCore-DjD7fJpq.js.map +0 -1
  294. package/dist/cdn/chunks/useEditorRoot-CshefZLP.js +0 -10
  295. package/dist/en-B-xoKkWi.js +0 -2
@@ -1,25 +1,26 @@
1
- import { E as e, F as t, N as n, Q as r, R as i, S as a, at as o, b as s, c, ct as l, d as u, f as d, g as f, h as p, l as m, lt as h, m as g, p as _, q as v, u as y, ut as b, y as x } from "./draggable-IB4x6w2O.js";
2
- import { G as S } from "./src-QIGNPFkl.js";
3
- import { t as C } from "./dist-CXB2_kBa.js";
4
- import { _ as w, b as T, g as E, y as D } from "./useEditorCore-DjD7fJpq.js";
5
- import { $ as O, A as k, E as A, J as ee, Z as j, g as M, v as N } from "./keys-DCWeHkSF.js";
6
- import { t as P } from "./useI18n-CyO_Nmca.js";
7
- import { n as F } from "./usePopoverPosition-DGXjXKjM.js";
8
- import { C as te, F as ne, Ht as re, S as ie, _ as ae, at as oe, b as se, dt as ce, g as le, lt as ue, m as de, ot as fe, st as pe, u as me, v as he, wt as I, z as ge, zt as _e } from "./icons-BjvraR-Y.js";
9
- import { t as L } from "./_plugin-vue_export-helper-B3ysoDQm.js";
10
- import { a as ve, n as ye, o as be, s as xe } from "./styleConstants-C_YAPdQS.js";
11
- import { c as R } from "./LogicTagInsertButton-gc8ICURV.js";
12
- import { n as z, t as B } from "./RichTextEditorContent-Dkcts8Vh.js";
1
+ import { E as e, F as t, N as n, Q as r, R as i, S as a, at as o, b as s, c, ct as l, d as u, f as d, g as f, h as p, l as m, lt as h, m as g, p as _, q as v, u as y, ut as b, y as x } from "./draggable-BUTN5vZC.js";
2
+ import { G as S } from "./src-BcqNlDMe.js";
3
+ import { t as C } from "./dist-C5nRd_ua.js";
4
+ import { _ as w, b as T, g as E, y as D } from "./useEditorCore-BF1ZhcGu.js";
5
+ import { $ as O, A as k, E as A, J as j, Z as M, g as N, v as P } from "./keys-BKu-LOk5.js";
6
+ import { t as ee } from "./useI18n-DO4NTunW.js";
7
+ import { n as te } from "./usePopoverPosition-CtVNwoHj.js";
8
+ import { C as ne, F as re, Ht as ie, S as ae, _ as oe, at as se, b as ce, dt as le, g as ue, h as de, lt as fe, ot as pe, st as me, u as he, v as ge, wt as F, z as _e, zt as ve } from "./icons-Dr9erFGs.js";
9
+ import { t as I } from "./_plugin-vue_export-helper-B3ysoDQm.js";
10
+ import { a as ye, n as be, o as xe, s as Se } from "./styleConstants-C_YAPdQS.js";
11
+ import { c as L } from "./LogicTagInsertButton-DnHghQHb.js";
12
+ import { n as Ce, t as we } from "./withCurrentFont-DeCbPVaE.js";
13
+ import { n as R, t as z } from "./RichTextEditorContent-LOas4rfU.js";
13
14
  //#region src/components/blocks/EmojiPickerDropdown.vue?vue&type=script&setup=true&lang.ts
14
- var V = [
15
+ var B = [
15
16
  "aria-label",
16
17
  "title",
17
18
  "aria-expanded"
18
- ], H = ["aria-label"], U = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, W = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, G = ["aria-label", "onClick"], Se = /* @__PURE__ */ a({
19
+ ], V = ["aria-label"], H = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, U = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, W = ["aria-label", "onClick"], Te = /* @__PURE__ */ a({
19
20
  __name: "EmojiPickerDropdown",
20
21
  emits: ["insert"],
21
22
  setup(e, { emit: i }) {
22
- let a = i, { categories: u, isOpen: h, toggle: g, close: v } = D(), { t: x, format: S } = P(), w = r(null), E = r(null), O = d(() => h.value);
23
+ let a = i, { categories: u, isOpen: h, toggle: g, close: v } = D(), { t: x, format: S } = ee(), w = r(null), E = r(null), O = d(() => h.value);
23
24
  T(w, O), C(E, () => {
24
25
  h.value && v();
25
26
  });
@@ -39,10 +40,10 @@ var V = [
39
40
  "aria-haspopup": "dialog",
40
41
  "aria-controls": "tpl-emoji-picker",
41
42
  onClick: r[0] ||= (...e) => o(g) && o(g)(...e)
42
- }, [s(o(I), {
43
+ }, [s(o(F), {
43
44
  size: 16,
44
45
  "stroke-width": 2
45
- })], 10, V), o(h) ? (n(), f("div", {
46
+ })], 10, B), o(h) ? (n(), f("div", {
46
47
  key: 0,
47
48
  id: "tpl-emoji-picker",
48
49
  ref_key: "pickerRef",
@@ -56,19 +57,19 @@ var V = [
56
57
  }, [(n(!0), f(y, null, t(o(u), (e) => (n(), f("div", {
57
58
  key: e.key,
58
59
  class: "tpl:mb-2 tpl:last:mb-0"
59
- }, [_("div", U, b(o(x).emoji[e.key]), 1), _("div", W, [(n(!0), f(y, null, t(e.emojis, (e) => (n(), f("button", {
60
+ }, [_("div", H, b(o(x).emoji[e.key]), 1), _("div", U, [(n(!0), f(y, null, t(e.emojis, (e) => (n(), f("button", {
60
61
  key: e,
61
62
  type: "button",
62
63
  "aria-label": o(S)(o(x).paragraphEditor.emojiItemLabel, { emoji: e }),
63
64
  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:hover:scale-125 tpl:hover:bg-[var(--tpl-bg-active)]",
64
65
  onClick: (t) => k(e)
65
- }, b(e), 9, G))), 128))])]))), 128))], 40, H)) : p("", !0)], 512));
66
+ }, b(e), 9, W))), 128))])]))), 128))], 40, V)) : p("", !0)], 512));
66
67
  }
67
- }), K = [
68
+ }), G = [
68
69
  "aria-label",
69
70
  "title",
70
71
  "aria-pressed"
71
- ], q = /* @__PURE__ */ a({
72
+ ], K = /* @__PURE__ */ a({
72
73
  __name: "ToolbarIconButton",
73
74
  props: {
74
75
  icon: {},
@@ -87,20 +88,20 @@ var V = [
87
88
  }, [(n(), g(i(e.icon), {
88
89
  size: e.size ?? 16,
89
90
  "stroke-width": e.strokeWidth ?? 2
90
- }, null, 8, ["size", "stroke-width"]))], 10, K));
91
+ }, null, 8, ["size", "stroke-width"]))], 10, G));
91
92
  }
92
- }), J = {}, Y = {
93
+ }), q = {}, J = {
93
94
  class: "tpl:mx-1 tpl:h-6 tpl:w-px tpl:bg-[var(--tpl-border)]",
94
95
  "aria-hidden": "true"
95
96
  };
96
- function X(e, t) {
97
- return n(), f("span", Y);
97
+ function Y(e, t) {
98
+ return n(), f("span", J);
98
99
  }
99
- var Z = /*#__PURE__*/ L(J, [["render", X]]), Q = [
100
+ var X = /*#__PURE__*/ I(q, [["render", Y]]), Z = [
100
101
  "value",
101
102
  "aria-label",
102
103
  "title"
103
- ], Ce = { value: "" }, we = ["value"], $ = /* @__PURE__ */ a({
104
+ ], Ee = { value: "" }, De = ["value"], Q = /* @__PURE__ */ a({
104
105
  __name: "ToolbarSelect",
105
106
  props: {
106
107
  modelValue: {},
@@ -127,23 +128,23 @@ var Z = /*#__PURE__*/ L(J, [["render", X]]), Q = [
127
128
  "aria-label": e.label,
128
129
  title: e.label,
129
130
  onChange: a
130
- }, [_("option", Ce, b(e.placeholder ?? ""), 1), (n(!0), f(y, null, t(e.options, (e) => (n(), f("option", {
131
+ }, [_("option", Ee, b(e.placeholder ?? ""), 1), (n(!0), f(y, null, t(e.options, (e) => (n(), f("option", {
131
132
  key: o(e),
132
133
  value: o(e)
133
- }, b(s(e)), 9, we))), 128))], 42, Q));
134
+ }, b(s(e)), 9, De))), 128))], 42, Z));
134
135
  }
135
136
  });
136
137
  //#endregion
137
138
  //#region src/utils/richTextColor.ts
138
- function Te(e, t) {
139
+ function $(e, t) {
139
140
  return e || t || "#000000";
140
141
  }
141
142
  //#endregion
142
143
  //#region src/components/blocks/ParagraphToolbar.vue?vue&type=script&setup=true&lang.ts
143
- var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Oe = { class: "tpl:flex tpl:items-center tpl:gap-1" }, ke = ["aria-label", "title"], Ae = ["aria-label", "title"], je = {
144
+ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Ae = { class: "tpl:flex tpl:items-center tpl:gap-1" }, je = ["aria-label", "title"], Me = ["aria-label", "title"], Ne = {
144
145
  key: 1,
145
146
  class: "tpl:flex tpl:items-center tpl:gap-2 tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
146
- }, Me = /* @__PURE__ */ a({
147
+ }, Pe = /* @__PURE__ */ a({
147
148
  __name: "ParagraphToolbar",
148
149
  props: {
149
150
  editor: {},
@@ -158,53 +159,53 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
158
159
  "add-logic-tag"
159
160
  ],
160
161
  setup(t, { emit: r }) {
161
- let i = t, a = r, c = e(ee, null), l = e(j, null), m = O(N, "ParagraphToolbar"), v = F(), S = e(k, null), C = e(A, null), w = e(M, null), T = d(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = P(), D = m.fonts;
162
- function I(e) {
162
+ let i = t, a = r, c = e(j, null), l = e(M, null), m = O(P, "ParagraphToolbar"), v = te(), S = e(k, null), C = e(A, null), w = e(N, null), T = d(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = ee(), D = m.fonts;
163
+ function F(e) {
163
164
  i.editor?.chain().focus().insertContent(e).run();
164
165
  }
165
- function L(e) {
166
+ function I(e) {
166
167
  return i.editor?.getAttributes("textStyle")[e] || "";
167
168
  }
168
- function z(e) {
169
+ function R(e) {
169
170
  let t = i.editor?.chain().focus();
170
171
  e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
171
172
  }
172
- function B(e) {
173
+ function z(e) {
173
174
  let t = i.editor?.chain().focus();
174
175
  e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
175
176
  }
176
- function V() {
177
+ function B() {
177
178
  return i.editor?.isActive("link") ?? !1;
178
179
  }
179
- function H() {
180
+ function V() {
180
181
  return i.editor?.getAttributes("link").color || "";
181
182
  }
182
- function U(e) {
183
+ function H(e) {
183
184
  let t = i.editor?.chain().focus();
184
- t && (V() ? (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());
185
+ 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());
185
186
  }
186
- function W() {
187
+ function U() {
187
188
  let e = w?.content.value.settings;
188
- return V() ? Te(H(), e?.linkColor || e?.textColor) : Te(L("color"), e?.textColor);
189
+ return B() ? $(V(), e?.linkColor || e?.textColor) : $(I("color"), e?.textColor);
189
190
  }
190
- function G() {
191
- return V() ? H() : L("color");
191
+ function W() {
192
+ return B() ? V() : I("color");
192
193
  }
193
- function K() {
194
+ function G() {
194
195
  return i.editor?.getAttributes("paragraph").lineHeight || "";
195
196
  }
196
- function J(e) {
197
+ function q(e) {
197
198
  let t = i.editor?.chain().focus();
198
199
  e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
199
200
  }
200
- function Y(e) {
201
+ function J(e) {
201
202
  let t = i.editor?.chain().focus();
202
203
  e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
203
204
  }
204
- function X() {
205
+ function Y() {
205
206
  return i.editor?.getAttributes("highlight").color || "";
206
207
  }
207
- function Q(e) {
208
+ function Z(e) {
208
209
  let t = i.editor?.chain().focus();
209
210
  e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
210
211
  }
@@ -223,63 +224,63 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
223
224
  transform: "translateY(-100%)",
224
225
  flexDirection: "column"
225
226
  })
226
- }, [!t.isLoading && t.editor ? (n(), f(y, { key: 0 }, [_("div", De, [
227
- s($, {
228
- "model-value": L("fontFamily"),
229
- options: o(D),
227
+ }, [!t.isLoading && t.editor ? (n(), f(y, { key: 0 }, [_("div", ke, [
228
+ s(Q, {
229
+ "model-value": o(we)(I("fontFamily")),
230
+ options: o(Ce)(o(D), I("fontFamily")),
230
231
  label: o(E).paragraphEditor.fontFamily,
231
232
  placeholder: o(E).paragraphEditor.defaultFont,
232
233
  "width-class": "tpl:w-32",
233
- "onUpdate:modelValue": z
234
+ "onUpdate:modelValue": R
234
235
  }, null, 8, [
235
236
  "model-value",
236
237
  "options",
237
238
  "label",
238
239
  "placeholder"
239
240
  ]),
240
- s($, {
241
- "model-value": L("fontSize"),
242
- options: o(ve),
241
+ s(Q, {
242
+ "model-value": I("fontSize"),
243
+ options: o(ye),
243
244
  label: o(E).paragraphEditor.fontSize,
244
245
  placeholder: o(E).paragraphEditor.defaultSize,
245
246
  "width-class": "tpl:w-20",
246
- "onUpdate:modelValue": B
247
+ "onUpdate:modelValue": z
247
248
  }, null, 8, [
248
249
  "model-value",
249
250
  "options",
250
251
  "label",
251
252
  "placeholder"
252
253
  ]),
253
- s(Z),
254
- s(R, {
254
+ s(X),
255
+ s(L, {
255
256
  "swatch-only": "",
256
257
  size: "sm",
257
258
  "data-testid": "text-color-picker",
258
- "model-value": G(),
259
- "seed-color": W(),
259
+ "model-value": W(),
260
+ "seed-color": U(),
260
261
  "aria-label": o(E).paragraphEditor.textColor,
261
- "onUpdate:modelValue": U
262
+ "onUpdate:modelValue": H
262
263
  }, null, 8, [
263
264
  "model-value",
264
265
  "seed-color",
265
266
  "aria-label"
266
267
  ]),
267
- s(R, {
268
+ s(L, {
268
269
  "swatch-only": "",
269
270
  size: "sm",
270
271
  "data-testid": "highlight-color-picker",
271
- "model-value": X(),
272
- "seed-color": o(ye),
272
+ "model-value": Y(),
273
+ "seed-color": o(be),
273
274
  "aria-label": o(E).paragraphEditor.highlightColor,
274
- "onUpdate:modelValue": Q
275
+ "onUpdate:modelValue": Z
275
276
  }, null, 8, [
276
277
  "model-value",
277
278
  "seed-color",
278
279
  "aria-label"
279
280
  ]),
280
- s(Z),
281
- s(q, {
282
- icon: o(re),
281
+ s(X),
282
+ s(K, {
283
+ icon: o(ie),
283
284
  label: o(E).paragraphEditor.bold,
284
285
  active: t.editor.isActive("bold"),
285
286
  "stroke-width": 2.5,
@@ -289,8 +290,8 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
289
290
  "label",
290
291
  "active"
291
292
  ]),
292
- s(q, {
293
- icon: o(ce),
293
+ s(K, {
294
+ icon: o(le),
294
295
  label: o(E).paragraphEditor.italic,
295
296
  active: t.editor.isActive("italic"),
296
297
  onClick: r[1] ||= (e) => t.editor.chain().focus().toggleItalic().run()
@@ -299,8 +300,8 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
299
300
  "label",
300
301
  "active"
301
302
  ]),
302
- s(q, {
303
- icon: o(me),
303
+ s(K, {
304
+ icon: o(he),
304
305
  label: o(E).paragraphEditor.underline,
305
306
  active: t.editor.isActive("underline"),
306
307
  onClick: r[2] ||= (e) => t.editor.chain().focus().toggleUnderline().run()
@@ -309,8 +310,8 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
309
310
  "label",
310
311
  "active"
311
312
  ]),
312
- s(q, {
313
- icon: o(te),
313
+ s(K, {
314
+ icon: o(ne),
314
315
  label: o(E).paragraphEditor.strikethrough,
315
316
  active: t.editor.isActive("strike"),
316
317
  onClick: r[3] ||= (e) => t.editor.chain().focus().toggleStrike().run()
@@ -319,9 +320,9 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
319
320
  "label",
320
321
  "active"
321
322
  ]),
322
- s(Z),
323
- s(q, {
324
- icon: o(ie),
323
+ s(X),
324
+ s(K, {
325
+ icon: o(ae),
325
326
  label: o(E).paragraphEditor.subscript,
326
327
  active: t.editor.isActive("subscript"),
327
328
  onClick: r[4] ||= (e) => t.editor.chain().focus().toggleSubscript().run()
@@ -330,8 +331,8 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
330
331
  "label",
331
332
  "active"
332
333
  ]),
333
- s(q, {
334
- icon: o(se),
334
+ s(K, {
335
+ icon: o(ce),
335
336
  label: o(E).paragraphEditor.superscript,
336
337
  active: t.editor.isActive("superscript"),
337
338
  onClick: r[5] ||= (e) => t.editor.chain().focus().toggleSuperscript().run()
@@ -340,9 +341,9 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
340
341
  "label",
341
342
  "active"
342
343
  ]),
343
- s(Z),
344
- s(q, {
345
- icon: o(ue),
344
+ s(X),
345
+ s(K, {
346
+ icon: o(fe),
346
347
  label: o(E).paragraphEditor.addLink,
347
348
  active: t.editor.isActive("link"),
348
349
  onClick: r[6] ||= (e) => a("open-link-dialog")
@@ -351,9 +352,9 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
351
352
  "label",
352
353
  "active"
353
354
  ])
354
- ]), _("div", Oe, [
355
- s(q, {
356
- icon: o(fe),
355
+ ]), _("div", Ae, [
356
+ s(K, {
357
+ icon: o(pe),
357
358
  label: o(E).paragraphEditor.bulletList,
358
359
  active: t.editor.isActive("bulletList"),
359
360
  onClick: r[7] ||= (e) => t.editor.chain().focus().toggleBulletList().run()
@@ -362,8 +363,8 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
362
363
  "label",
363
364
  "active"
364
365
  ]),
365
- s(q, {
366
- icon: o(pe),
366
+ s(K, {
367
+ icon: o(me),
367
368
  label: o(E).paragraphEditor.numberedList,
368
369
  active: t.editor.isActive("orderedList"),
369
370
  onClick: r[8] ||= (e) => t.editor.chain().focus().toggleOrderedList().run()
@@ -372,9 +373,9 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
372
373
  "label",
373
374
  "active"
374
375
  ]),
375
- s(Z),
376
- s(q, {
377
- icon: o(le),
376
+ s(X),
377
+ s(K, {
378
+ icon: o(de),
378
379
  label: o(E).paragraphEditor.alignLeft,
379
380
  active: t.editor.isActive({ textAlign: "left" }),
380
381
  onClick: r[9] ||= (e) => t.editor.chain().focus().setTextAlign("left").run()
@@ -383,8 +384,8 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
383
384
  "label",
384
385
  "active"
385
386
  ]),
386
- s(q, {
387
- icon: o(ae),
387
+ s(K, {
388
+ icon: o(ge),
388
389
  label: o(E).paragraphEditor.alignCenter,
389
390
  active: t.editor.isActive({ textAlign: "center" }),
390
391
  onClick: r[10] ||= (e) => t.editor.chain().focus().setTextAlign("center").run()
@@ -393,8 +394,8 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
393
394
  "label",
394
395
  "active"
395
396
  ]),
396
- s(q, {
397
- icon: o(he),
397
+ s(K, {
398
+ icon: o(oe),
398
399
  label: o(E).paragraphEditor.alignRight,
399
400
  active: t.editor.isActive({ textAlign: "right" }),
400
401
  onClick: r[11] ||= (e) => t.editor.chain().focus().setTextAlign("right").run()
@@ -403,8 +404,8 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
403
404
  "label",
404
405
  "active"
405
406
  ]),
406
- s(q, {
407
- icon: o(de),
407
+ s(K, {
408
+ icon: o(ue),
408
409
  label: o(E).paragraphEditor.alignJustify,
409
410
  active: t.editor.isActive({ textAlign: "justify" }),
410
411
  onClick: r[12] ||= (e) => t.editor.chain().focus().setTextAlign("justify").run()
@@ -413,67 +414,67 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
413
414
  "label",
414
415
  "active"
415
416
  ]),
416
- s(Z),
417
- s($, {
418
- "model-value": K(),
419
- options: o(xe),
417
+ s(X),
418
+ s(Q, {
419
+ "model-value": G(),
420
+ options: o(Se),
420
421
  label: o(E).paragraphEditor.lineHeight,
421
422
  placeholder: "LH",
422
423
  "width-class": "tpl:w-16",
423
- "onUpdate:modelValue": J
424
+ "onUpdate:modelValue": q
424
425
  }, null, 8, [
425
426
  "model-value",
426
427
  "options",
427
428
  "label"
428
429
  ]),
429
- s($, {
430
- "model-value": L("letterSpacing"),
431
- options: o(be),
430
+ s(Q, {
431
+ "model-value": I("letterSpacing"),
432
+ options: o(xe),
432
433
  label: o(E).paragraphEditor.letterSpacing,
433
434
  placeholder: "LS",
434
435
  "width-class": "tpl:w-20",
435
- "onUpdate:modelValue": Y
436
+ "onUpdate:modelValue": J
436
437
  }, null, 8, [
437
438
  "model-value",
438
439
  "options",
439
440
  "label"
440
441
  ]),
441
- s(Z),
442
- s(q, {
443
- icon: o(ge),
442
+ s(X),
443
+ s(K, {
444
+ icon: o(_e),
444
445
  label: o(E).paragraphEditor.clearFormatting,
445
446
  onClick: r[13] ||= (e) => t.editor.chain().focus().clearNodes().unsetAllMarks().run()
446
447
  }, null, 8, ["icon", "label"]),
447
- s(Z),
448
- s(Se, { onInsert: I }),
449
- t.canRequestMergeTag ? (n(), f(y, { key: 0 }, [s(Z), _("button", {
448
+ s(X),
449
+ s(Te, { onInsert: F }),
450
+ t.canRequestMergeTag ? (n(), f(y, { key: 0 }, [s(X), _("button", {
450
451
  type: "button",
451
452
  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:hover:bg-[var(--tpl-bg-active)]",
452
453
  "aria-label": o(E).mergeTag.insert,
453
454
  title: o(E).mergeTag.insert,
454
455
  onClick: r[14] ||= (e) => a("add-merge-tag")
455
- }, [s(o(ne), {
456
+ }, [s(o(re), {
456
457
  size: 16,
457
458
  "stroke-width": 2
458
- }), x(" " + b(o(E).mergeTag.insertShort), 1)], 8, ke)], 64)) : p("", !0),
459
- t.canInsertLogicTag ? (n(), f(y, { key: 1 }, [s(Z), _("button", {
459
+ }), x(" " + b(o(E).mergeTag.insertShort), 1)], 8, je)], 64)) : p("", !0),
460
+ t.canInsertLogicTag ? (n(), f(y, { key: 1 }, [s(X), _("button", {
460
461
  type: "button",
461
462
  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:hover:bg-[var(--tpl-bg-active)]",
462
463
  "aria-label": o(E).logicTag.insert,
463
464
  title: o(E).logicTag.insert,
464
465
  "data-testid": "insert-logic-button",
465
466
  onClick: r[15] ||= (e) => a("add-logic-tag")
466
- }, [s(o(_e), {
467
+ }, [s(o(ve), {
467
468
  size: 16,
468
469
  "stroke-width": 2
469
- }), x(" " + b(o(E).logicTag.insertShort), 1)], 8, Ae)], 64)) : p("", !0)
470
- ])], 64)) : (n(), f("div", je, [s(o(oe), {
470
+ }), x(" " + b(o(E).logicTag.insertShort), 1)], 8, Me)], 64)) : p("", !0)
471
+ ])], 64)) : (n(), f("div", Ne, [s(o(se), {
471
472
  class: "tpl-spinner",
472
473
  size: 14,
473
474
  "stroke-width": 2
474
- }), x(" " + b(o(E).errors.editorLoading), 1)]))], 12, Ee)], 8, ["to"])) : p("", !0);
475
+ }), x(" " + b(o(E).errors.editorLoading), 1)]))], 12, Oe)], 8, ["to"])) : p("", !0);
475
476
  }
476
- }), Ne = { class: "tpl-text-editor-wrapper tpl:relative" }, Pe = /* @__PURE__ */ a({
477
+ }), Fe = { class: "tpl-text-editor-wrapper tpl:relative" }, Ie = /* @__PURE__ */ a({
477
478
  __name: "ParagraphEditor",
478
479
  props: {
479
480
  block: {},
@@ -481,25 +482,25 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
481
482
  },
482
483
  emits: ["done"],
483
484
  setup(t, { emit: r }) {
484
- let i = t, a = r, c = F(), l = e(M, null), u = S(l?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: d, EditorContent: p, isLoading: m, initError: h, retry: g, showLinkDialog: _, linkUrl: y, linkColor: b, linkDialogRef: x, canRequestMergeTag: C, canInsertLogicTag: T, openLinkDialog: D, insertLink: O, removeLink: k, closeLinkDialog: A, handleLinkKeydown: ee, handleAddMergeTag: j, handleAddLogicTag: N } = E({
485
+ let i = t, a = r, c = te(), l = e(N, null), u = S(l?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: d, EditorContent: p, isLoading: m, initError: h, retry: g, showLinkDialog: _, linkUrl: y, linkColor: b, linkDialogRef: x, canRequestMergeTag: C, canInsertLogicTag: T, openLinkDialog: D, insertLink: O, removeLink: k, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: M, handleAddLogicTag: P } = E({
485
486
  blockId: () => i.block.id,
486
487
  blockContent: () => i.block.content,
487
488
  onDone: () => a("done"),
488
489
  editorName: "ParagraphEditor",
489
490
  async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
490
491
  let [{ Editor: a, EditorContent: o }, { default: s }, { default: l }, { default: d }, { default: f }, { default: p }, { default: m }, { TextStyle: h }, { default: g }, { default: _ }, { default: v }, { MergeTagNode: y, MergeTagSuggestion: b, LogicMergeTagNode: x, FontSize: S, LineHeight: C, LetterSpacing: T, LineBoundaryKeys: E }] = await Promise.all([
491
- import("./tiptap-02G9FGkl.js").then((e) => e.i),
492
- import("./tiptap-02G9FGkl.js").then((e) => e.a),
493
- import("./tiptap-02G9FGkl.js").then((e) => e.u),
494
- import("./tiptap-02G9FGkl.js").then((e) => e.o),
495
- import("./tiptap-02G9FGkl.js").then((e) => e.l),
496
- import("./tiptap-02G9FGkl.js").then((e) => e.c),
497
- import("./tiptap-02G9FGkl.js").then((e) => e.s),
498
- import("./tiptap-02G9FGkl.js").then((e) => e.m),
499
- import("./tiptap-02G9FGkl.js").then((e) => e.p),
500
- import("./tiptap-02G9FGkl.js").then((e) => e.f),
501
- import("./tiptap-02G9FGkl.js").then((e) => e.d),
502
- import("./extensions-ClmkNA8R.js")
492
+ import("./tiptap-CYDXLO17.js").then((e) => e.i),
493
+ import("./tiptap-CYDXLO17.js").then((e) => e.a),
494
+ import("./tiptap-CYDXLO17.js").then((e) => e.u),
495
+ import("./tiptap-CYDXLO17.js").then((e) => e.o),
496
+ import("./tiptap-CYDXLO17.js").then((e) => e.l),
497
+ import("./tiptap-CYDXLO17.js").then((e) => e.c),
498
+ import("./tiptap-CYDXLO17.js").then((e) => e.s),
499
+ import("./tiptap-CYDXLO17.js").then((e) => e.m),
500
+ import("./tiptap-CYDXLO17.js").then((e) => e.p),
501
+ import("./tiptap-CYDXLO17.js").then((e) => e.f),
502
+ import("./tiptap-CYDXLO17.js").then((e) => e.d),
503
+ import("./extensions-xjRsIjMP.js")
503
504
  ]);
504
505
  return {
505
506
  TiptapEditor: a,
@@ -550,16 +551,16 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
550
551
  };
551
552
  }
552
553
  });
553
- return (e, r) => (n(), f("div", Ne, [
554
- s(Me, {
554
+ return (e, r) => (n(), f("div", Fe, [
555
+ s(Pe, {
555
556
  editor: o(d),
556
557
  "toolbar-position": t.toolbarPosition,
557
558
  "is-loading": o(m),
558
559
  "can-request-merge-tag": o(C),
559
560
  "can-insert-logic-tag": o(T),
560
561
  onOpenLinkDialog: o(D),
561
- onAddMergeTag: o(j),
562
- onAddLogicTag: o(N)
562
+ onAddMergeTag: o(M),
563
+ onAddLogicTag: o(P)
563
564
  }, null, 8, [
564
565
  "editor",
565
566
  "toolbar-position",
@@ -570,7 +571,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
570
571
  "onAddMergeTag",
571
572
  "onAddLogicTag"
572
573
  ]),
573
- s(B, {
574
+ s(z, {
574
575
  editor: o(d),
575
576
  "editor-content": o(p),
576
577
  "is-loading": o(m),
@@ -583,7 +584,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
583
584
  "init-error",
584
585
  "onRetry"
585
586
  ]),
586
- s(z, {
587
+ s(R, {
587
588
  visible: o(_),
588
589
  "is-editing-link": o(d)?.isActive("link") ?? !1,
589
590
  "dialog-ref": o(x),
@@ -595,7 +596,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
595
596
  onClose: o(A),
596
597
  onInsert: o(O),
597
598
  onRemove: o(k),
598
- onKeydown: o(ee)
599
+ onKeydown: o(j)
599
600
  }, null, 8, [
600
601
  "visible",
601
602
  "is-editing-link",
@@ -611,6 +612,6 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
611
612
  }
612
613
  });
613
614
  //#endregion
614
- export { Pe as default };
615
+ export { Ie as default };
615
616
 
616
- //# sourceMappingURL=ParagraphEditor-BSDGOsja.js.map
617
+ //# sourceMappingURL=ParagraphEditor-B5DN4Sy4.js.map