@templatical/editor 0.35.0 → 0.37.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 (223) hide show
  1. package/dist/{AiChatSidebar-DPHbCGu4.js → AiChatSidebar-tu4eLcf_.js} +57 -57
  2. package/dist/{AiFeatureMenu--8z7qvg1.js → AiFeatureMenu-BF0i0vA4.js} +17 -17
  3. package/dist/{BlockIssueBadge-BGCsJqqM.js → BlockIssueBadge-DT-FqKeC.js} +9 -9
  4. package/dist/{BlockPreviewCanvas-DKspIy8V.js → BlockPreviewCanvas-DDCmMram.js} +28 -28
  5. package/dist/CloudHeaderExtras-NPhudovT.js +59 -0
  6. package/dist/{CloudPanels-Bp5gFtaL.js → CloudPanels-Iwnky0iA.js} +78 -108
  7. package/dist/{CollaboratorBar-DvwZm5u7.js → CollaboratorBar-DAITu0hz.js} +17 -17
  8. package/dist/{ColorPicker-DtozuN75.js → ColorPicker-BqlZ_TqG.js} +193 -193
  9. package/dist/{CommentsPanel-3C-DsEjy.js → CommentsPanel-CDvgmWP1.js} +3 -3
  10. package/dist/{CommentsSidebar-go1FnjDW.js → CommentsSidebar-X_xqM3dR.js} +158 -158
  11. package/dist/{CountdownBlock-D1fsNsyS.js → CountdownBlock-ZFJIdbP6.js} +12 -12
  12. package/dist/{CountdownToolbar-SLBuij7Q.js → CountdownToolbar-DBFoG3a6.js} +67 -67
  13. package/dist/{DesignReferenceSidebar-rcE_BvUd.js → DesignReferenceSidebar--QtXjLrw.js} +57 -57
  14. package/dist/{FieldRow-BWt7ECqo.js → FieldRow-C8nOknr_.js} +39 -39
  15. package/dist/{IssuesPanel-Cig46N1i.js → IssuesPanel-BLbNFMSX.js} +38 -38
  16. package/dist/{LoadingTrack-SQXoZVf2.js → LoadingTrack-BlTL4zFv.js} +2 -2
  17. package/dist/MediaPanels-CMTAhDXB.js +43 -0
  18. package/dist/{MergeTagInput-D1hzsn2b.js → MergeTagInput-BEjzj4Iu.js} +115 -115
  19. package/dist/{MergeTagModeToggle-CH9wR5YF.js → MergeTagModeToggle-DKN6ihI5.js} +40 -40
  20. package/dist/{MergeTagSuggestion-CoCuzEmW.js → MergeTagSuggestion-DKoLEeoj.js} +21 -21
  21. package/dist/{ParagraphEditor-CT2AdMdZ.js → ParagraphEditor-1E9yzOfk.js} +231 -258
  22. package/dist/{RestoreVersionDialog-mdqgQxFR.js → RestoreVersionDialog-BMGUkcd8.js} +28 -28
  23. package/dist/{RichTextEditorContent-riOB-rKD.js → RichTextEditorContent-BnxbQUV9.js} +49 -59
  24. package/dist/{SaveBlockDialog-Cn2v4Lpj.js → SaveBlockDialog-WKASpCCT.js} +78 -78
  25. package/dist/SavedBlocksBrowserModal-AYEXTMtQ.js +323 -0
  26. package/dist/{SavedBlocksPanels-ffBnWuVU.js → SavedBlocksPanels-D_CpacTl.js} +6 -6
  27. package/dist/{SavedBlocksPickBar-BmQC2tWN.js → SavedBlocksPickBar-BHMwg-1G.js} +11 -11
  28. package/dist/{TemplateScoringPanel-CxAtdreR.js → TemplateScoringPanel-CSin43YM.js} +99 -98
  29. package/dist/{TestEmailModal-Cjn1padY.js → TestEmailModal-BxizsRCd.js} +59 -59
  30. package/dist/{TestEmailPanel-Bf3XZ1jn.js → TestEmailPanel-vd2e5HzT.js} +3 -3
  31. package/dist/TitleEditor-CLJ68Ty4.js +199 -0
  32. package/dist/TplModal-Q9fDgS1M.js +51 -0
  33. package/dist/{VersionHistoryMenu-CrNrGsaa.js → VersionHistoryMenu-eGYVhM4H.js} +41 -47
  34. package/dist/{VersionHistoryPanels-CsuQk6W3.js → VersionHistoryPanels-C7Ntrrfq.js} +4 -4
  35. package/dist/{VersionPreviewBanner-BqbO0Zss.js → VersionPreviewBanner-BbQXnR0M.js} +9 -9
  36. package/dist/{blockTypeIcons-D_4HdaY9.js → blockTypeIcons-5qD4bB76.js} +5 -17
  37. package/dist/bundle-stats.json +8 -8
  38. package/dist/ca-Jx2CDwtn.js +83 -0
  39. package/dist/cdn/chunks/{AiChatSidebar-D0f74_nS.js → AiChatSidebar-dyqqHAcI.js} +4 -4
  40. package/dist/cdn/chunks/{AiChatSidebar-D0f74_nS.js.map → AiChatSidebar-dyqqHAcI.js.map} +1 -1
  41. package/dist/cdn/chunks/{AiFeatureMenu-DwGb3eF9.js → AiFeatureMenu-BjVMwhW8.js} +5 -5
  42. package/dist/cdn/chunks/{AiFeatureMenu-DwGb3eF9.js.map → AiFeatureMenu-BjVMwhW8.js.map} +1 -1
  43. package/dist/cdn/chunks/{BlockIssueBadge-CosQgeJ-.js → BlockIssueBadge-BJ__oEtm.js} +4 -4
  44. package/dist/cdn/chunks/{BlockIssueBadge-CosQgeJ-.js.map → BlockIssueBadge-BJ__oEtm.js.map} +1 -1
  45. package/dist/cdn/chunks/{BlockPreviewCanvas-CIpZ2a6g.js → BlockPreviewCanvas-B5f26eLE.js} +5 -5
  46. package/dist/cdn/chunks/{BlockPreviewCanvas-CIpZ2a6g.js.map → BlockPreviewCanvas-B5f26eLE.js.map} +1 -1
  47. package/dist/cdn/chunks/{CloudHeaderExtras-CQzQwKFB.js → CloudHeaderExtras-D5P5IEKA.js} +4 -4
  48. package/dist/cdn/chunks/{CloudHeaderExtras-CQzQwKFB.js.map → CloudHeaderExtras-D5P5IEKA.js.map} +1 -1
  49. package/dist/cdn/chunks/{CloudPanels-BmexuLOU.js → CloudPanels-DkmR05nB.js} +15 -45
  50. package/dist/cdn/chunks/{CloudPanels-BmexuLOU.js.map → CloudPanels-DkmR05nB.js.map} +1 -1
  51. package/dist/cdn/chunks/{CollaboratorBar-DEICobpp.js → CollaboratorBar-Yn7KSpt4.js} +4 -4
  52. package/dist/cdn/chunks/{CollaboratorBar-DEICobpp.js.map → CollaboratorBar-Yn7KSpt4.js.map} +1 -1
  53. package/dist/cdn/chunks/{ColorPicker-C7yC58FK.js → ColorPicker-LcrzgMoW.js} +7 -7
  54. package/dist/cdn/chunks/{ColorPicker-C7yC58FK.js.map → ColorPicker-LcrzgMoW.js.map} +1 -1
  55. package/dist/cdn/chunks/{CommentsPanel-OjmKxLL7.js → CommentsPanel-CntwwocI.js} +2 -2
  56. package/dist/cdn/chunks/{CommentsPanel-OjmKxLL7.js.map → CommentsPanel-CntwwocI.js.map} +1 -1
  57. package/dist/cdn/chunks/{CommentsSidebar-C4pWZGpy.js → CommentsSidebar-BLDKnKy7.js} +4 -4
  58. package/dist/cdn/chunks/{CommentsSidebar-C4pWZGpy.js.map → CommentsSidebar-BLDKnKy7.js.map} +1 -1
  59. package/dist/cdn/chunks/{CountdownBlock-rK055jpy.js → CountdownBlock-B4AfqJwb.js} +2 -2
  60. package/dist/cdn/chunks/{CountdownBlock-rK055jpy.js.map → CountdownBlock-B4AfqJwb.js.map} +1 -1
  61. package/dist/cdn/chunks/{CountdownToolbar-wlJOxyAl.js → CountdownToolbar-CA1dpuOI.js} +3 -3
  62. package/dist/cdn/chunks/{CountdownToolbar-wlJOxyAl.js.map → CountdownToolbar-CA1dpuOI.js.map} +1 -1
  63. package/dist/cdn/chunks/{DesignReferenceSidebar-DELhnh8h.js → DesignReferenceSidebar-D1Y9Hswe.js} +5 -5
  64. package/dist/cdn/chunks/{DesignReferenceSidebar-DELhnh8h.js.map → DesignReferenceSidebar-D1Y9Hswe.js.map} +1 -1
  65. package/dist/cdn/chunks/{IssuesPanel-C9i3o8aE.js → IssuesPanel-Q62LTqvd.js} +5 -5
  66. package/dist/cdn/chunks/{IssuesPanel-C9i3o8aE.js.map → IssuesPanel-Q62LTqvd.js.map} +1 -1
  67. package/dist/cdn/chunks/MediaPanels-D21M6shx.js +45 -0
  68. package/dist/cdn/chunks/MediaPanels-D21M6shx.js.map +1 -0
  69. package/dist/cdn/chunks/{MergeTagInput-D76Kyvgu.js → MergeTagInput-l7paaAml.js} +7 -7
  70. package/dist/cdn/chunks/{MergeTagInput-D76Kyvgu.js.map → MergeTagInput-l7paaAml.js.map} +1 -1
  71. package/dist/cdn/chunks/{MergeTagModeToggle-Dz3gxN2y.js → MergeTagModeToggle-DYxkAGtA.js} +4 -4
  72. package/dist/cdn/chunks/{MergeTagModeToggle-Dz3gxN2y.js.map → MergeTagModeToggle-DYxkAGtA.js.map} +1 -1
  73. package/dist/cdn/chunks/{ParagraphEditor-DQn0HMfV.js → ParagraphEditor-Bd-GQXee.js} +15 -15
  74. package/dist/cdn/chunks/{ParagraphEditor-DQn0HMfV.js.map → ParagraphEditor-Bd-GQXee.js.map} +1 -1
  75. package/dist/cdn/chunks/{RestoreVersionDialog-BdjOL8Oy.js → RestoreVersionDialog-2X9RpM9A.js} +4 -4
  76. package/dist/cdn/chunks/{RestoreVersionDialog-BdjOL8Oy.js.map → RestoreVersionDialog-2X9RpM9A.js.map} +1 -1
  77. package/dist/cdn/chunks/{RichTextEditorContent-Drzwgh0J.js → RichTextEditorContent-D_rb0rmU.js} +8 -8
  78. package/dist/cdn/chunks/{RichTextEditorContent-Drzwgh0J.js.map → RichTextEditorContent-D_rb0rmU.js.map} +1 -1
  79. package/dist/cdn/chunks/{SaveBlockDialog-B3rbmXSM.js → SaveBlockDialog-CufdTomT.js} +15 -15
  80. package/dist/cdn/chunks/{SaveBlockDialog-B3rbmXSM.js.map → SaveBlockDialog-CufdTomT.js.map} +1 -1
  81. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CkUXlnd2.js → SavedBlocksBrowserModal-CqpaNsk7.js} +8 -8
  82. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CkUXlnd2.js.map → SavedBlocksBrowserModal-CqpaNsk7.js.map} +1 -1
  83. package/dist/cdn/chunks/{SavedBlocksPanels-BPi3PZKP.js → SavedBlocksPanels-DpxYxddo.js} +2 -2
  84. package/dist/cdn/chunks/{SavedBlocksPanels-BPi3PZKP.js.map → SavedBlocksPanels-DpxYxddo.js.map} +1 -1
  85. package/dist/cdn/chunks/{SavedBlocksPickBar-BvB9A5W2.js → SavedBlocksPickBar-Drpoav1B.js} +4 -4
  86. package/dist/cdn/chunks/{SavedBlocksPickBar-BvB9A5W2.js.map → SavedBlocksPickBar-Drpoav1B.js.map} +1 -1
  87. package/dist/cdn/chunks/{TemplateScoringPanel-BBCyLnOi.js → TemplateScoringPanel-DBjUNULq.js} +5 -5
  88. package/dist/cdn/chunks/{TemplateScoringPanel-BBCyLnOi.js.map → TemplateScoringPanel-DBjUNULq.js.map} +1 -1
  89. package/dist/cdn/chunks/{TestEmailModal-DAGTsBqi.js → TestEmailModal-BTNlSW6f.js} +10 -10
  90. package/dist/cdn/chunks/{TestEmailModal-DAGTsBqi.js.map → TestEmailModal-BTNlSW6f.js.map} +1 -1
  91. package/dist/cdn/chunks/{TestEmailPanel-BfenVvfx.js → TestEmailPanel-D0A9Zgxr.js} +2 -2
  92. package/dist/cdn/chunks/{TestEmailPanel-BfenVvfx.js.map → TestEmailPanel-D0A9Zgxr.js.map} +1 -1
  93. package/dist/cdn/chunks/{TitleEditor-oQ4gr6wS.js → TitleEditor-CrnuIq62.js} +9 -9
  94. package/dist/cdn/chunks/{TitleEditor-oQ4gr6wS.js.map → TitleEditor-CrnuIq62.js.map} +1 -1
  95. package/dist/cdn/chunks/{TplModal-DxOMcVwp.js → TplModal-DYXrTz42.js} +5 -5
  96. package/dist/cdn/chunks/{TplModal-DxOMcVwp.js.map → TplModal-DYXrTz42.js.map} +1 -1
  97. package/dist/cdn/chunks/{VersionHistoryMenu-BfVUvWHT.js → VersionHistoryMenu-bDGnE4hb.js} +4 -4
  98. package/dist/cdn/chunks/VersionHistoryMenu-bDGnE4hb.js.map +1 -0
  99. package/dist/cdn/chunks/{VersionHistoryPanels-NpDb641L.js → VersionHistoryPanels-82P0Q0HM.js} +2 -2
  100. package/dist/cdn/chunks/{VersionHistoryPanels-NpDb641L.js.map → VersionHistoryPanels-82P0Q0HM.js.map} +1 -1
  101. package/dist/cdn/chunks/{VersionPreviewBanner-Cpgt4xHc.js → VersionPreviewBanner-BJiwKkVC.js} +3 -3
  102. package/dist/cdn/chunks/{VersionPreviewBanner-Cpgt4xHc.js.map → VersionPreviewBanner-BJiwKkVC.js.map} +1 -1
  103. package/dist/cdn/chunks/{blockTypeIcons-t9vvaiuH.js → blockTypeIcons-CNjJSFun.js} +2 -2
  104. package/dist/cdn/chunks/{blockTypeIcons-t9vvaiuH.js.map → blockTypeIcons-CNjJSFun.js.map} +1 -1
  105. package/dist/cdn/chunks/{ca-CNRWAMHI.js → ca-Jx2CDwtn.js} +2 -6
  106. package/dist/cdn/chunks/ca-Jx2CDwtn.js.map +1 -0
  107. package/dist/cdn/chunks/{cloud-CullB76F.js → cloud-BLgCKP7Z.js} +452 -227
  108. package/dist/cdn/chunks/cloud-BLgCKP7Z.js.map +1 -0
  109. package/dist/cdn/chunks/createCloudRuntime-U-qCH-dq.js +385 -0
  110. package/dist/cdn/chunks/createCloudRuntime-U-qCH-dq.js.map +1 -0
  111. package/dist/cdn/chunks/{de-DFYCT4QU.js → de-Ck0pBGHu.js} +2 -6
  112. package/dist/cdn/chunks/de-Ck0pBGHu.js.map +1 -0
  113. package/dist/cdn/chunks/{src-CaXeO-gG.js → editor-modal-MXgtarMl.js} +1474 -1935
  114. package/dist/cdn/chunks/editor-modal-MXgtarMl.js.map +1 -0
  115. package/dist/cdn/chunks/en-C9U7N77n.js +2 -0
  116. package/dist/cdn/chunks/{es-OgkdMZGX.js → es-lagTvUfX.js} +2 -6
  117. package/dist/cdn/chunks/es-lagTvUfX.js.map +1 -0
  118. package/dist/cdn/chunks/{extensions-BpXY7jO5.js → extensions-B8_jnIkD.js} +3 -3
  119. package/dist/cdn/chunks/{extensions-BpXY7jO5.js.map → extensions-B8_jnIkD.js.map} +1 -1
  120. package/dist/cdn/chunks/{fr-Dswns199.js → fr-C4hVl5Lk.js} +2 -6
  121. package/dist/cdn/chunks/fr-C4hVl5Lk.js.map +1 -0
  122. package/dist/cdn/chunks/{icons-BLxcQUck.js → icons-BUlqGSgd.js} +24 -24
  123. package/dist/cdn/chunks/{icons-BLxcQUck.js.map → icons-BUlqGSgd.js.map} +1 -1
  124. package/dist/cdn/chunks/{keys-DQp8x7Nx.js → keys-DBFhDFng.js} +4 -4
  125. package/dist/cdn/chunks/{keys-DQp8x7Nx.js.map → keys-DBFhDFng.js.map} +1 -1
  126. package/dist/cdn/chunks/{nl-CbcPJlrL.js → nl-CReD7Apd.js} +2 -6
  127. package/dist/cdn/chunks/nl-CReD7Apd.js.map +1 -0
  128. package/dist/cdn/chunks/{pt-BR-BibOQm-o.js → pt-BR-BRA0-vGP.js} +2 -6
  129. package/dist/cdn/chunks/pt-BR-BRA0-vGP.js.map +1 -0
  130. package/dist/cdn/chunks/{src-BC-eolWY.js → src-Ozknnj-v.js} +2 -2
  131. package/dist/cdn/chunks/{src-BC-eolWY.js.map → src-Ozknnj-v.js.map} +1 -1
  132. package/dist/cdn/chunks/{useCloudI18n-MxgHWrV6.js → useCloudI18n-DSWSGj-A.js} +2 -2
  133. package/dist/cdn/chunks/{useCloudI18n-MxgHWrV6.js.map → useCloudI18n-DSWSGj-A.js.map} +1 -1
  134. package/dist/cdn/chunks/{useEditorCore-D4MytYB9.js → useEditorCore-Cs7rYVBo.js} +488 -406
  135. package/dist/cdn/chunks/useEditorCore-Cs7rYVBo.js.map +1 -0
  136. package/dist/cdn/chunks/{useEditorRoot-CteADR3y.js → useEditorRoot-B0zW2nT4.js} +2 -2
  137. package/dist/cdn/chunks/{useEditorRoot-CteADR3y.js.map → useEditorRoot-B0zW2nT4.js.map} +1 -1
  138. package/dist/cdn/chunks/{useI18n-Ct1VIFcf.js → useI18n-Dlo7R9RA.js} +2 -2
  139. package/dist/cdn/chunks/{useI18n-Ct1VIFcf.js.map → useI18n-Dlo7R9RA.js.map} +1 -1
  140. package/dist/cdn/chunks/{useMergeTag-CSocWpxV.js → useMergeTag-BYAifvh8.js} +3 -3
  141. package/dist/cdn/chunks/{useMergeTag-CSocWpxV.js.map → useMergeTag-BYAifvh8.js.map} +1 -1
  142. package/dist/cdn/chunks/{usePopoverPosition-BxVWE5_0.js → usePopoverPosition-ElP3ABaV.js} +2 -2
  143. package/dist/cdn/chunks/{usePopoverPosition-BxVWE5_0.js.map → usePopoverPosition-ElP3ABaV.js.map} +1 -1
  144. package/dist/cdn/chunks/{useScrollToBlock-Cz3fpgTK.js → useScrollToBlock-nTbWkgaU.js} +2 -2
  145. package/dist/cdn/chunks/{useScrollToBlock-Cz3fpgTK.js.map → useScrollToBlock-nTbWkgaU.js.map} +1 -1
  146. package/dist/cdn/editor.css +1 -1
  147. package/dist/cdn/editor.js +1094 -1005
  148. package/dist/cdn/editor.js.map +1 -1
  149. package/dist/{check-CY-Ec6FV.js → check-DWtkBzBU.js} +1 -1
  150. package/dist/{chevron-down-BghbWA9p.js → chevron-down-C-Fjxcqj.js} +1 -1
  151. package/dist/chevron-right-SOkn2d4P.js +11 -0
  152. package/dist/{chevron-up-n3qFAPS3.js → chevron-up-lntU1ypp.js} +1 -1
  153. package/dist/{circle-alert-L5uGGFRP.js → circle-alert-CjzUTwy3.js} +1 -1
  154. package/dist/{clock-Dgnwp18n.js → clock-pB2QKPsJ.js} +1 -1
  155. package/dist/{cloud-B1c4XIsn.js → cloud-DdidMW6f.js} +445 -200
  156. package/dist/copy-CId1E038.js +19 -0
  157. package/dist/createCloudRuntime-x5WZm3p8.js +383 -0
  158. package/dist/{createLucideIcon-05lB8iWe.js → createLucideIcon-Cwf_nTzE.js} +6 -6
  159. package/dist/de-Ck0pBGHu.js +83 -0
  160. package/dist/{dist-BxFbxpgW.js → dist-BVqAYoRB.js} +125 -125
  161. package/dist/dist-D8i1ixHK.js +177 -0
  162. package/dist/dist-DBirAJIs.js +410 -0
  163. package/dist/editor-modal-B_LaQf0s.js +5998 -0
  164. package/dist/en-DcmpWV53.js +2 -0
  165. package/dist/es-lagTvUfX.js +83 -0
  166. package/dist/{extensions-Bawm4BOM.js → extensions-CHOBZRab.js} +42 -42
  167. package/dist/eye-BuGtFUoJ.js +16 -0
  168. package/dist/fr-C4hVl5Lk.js +83 -0
  169. package/dist/{image-up-ovhjl9u9.js → image-up-gH4JEpU5.js} +1 -1
  170. package/dist/index.d.ts +90 -11
  171. package/dist/{info-c3KI927I.js → info-BQ60P82u.js} +1 -1
  172. package/dist/{keys-C3P1yxnr.js → keys-DQA2i1k1.js} +4 -4
  173. package/dist/link-3R8it3J7.js +14 -0
  174. package/dist/list-Ccdgj46T.js +33 -0
  175. package/dist/{loader-circle-B2Y8xZQb.js → loader-circle-B_tAD4k6.js} +1 -1
  176. package/dist/{message-circle-B7K-naUa.js → message-circle-P-KSc6V0.js} +1 -1
  177. package/dist/nl-CReD7Apd.js +83 -0
  178. package/dist/{pencil-BhWTFcp4.js → pencil-9ZiwqS4r.js} +1 -1
  179. package/dist/plus-BwJEzCaO.js +14 -0
  180. package/dist/pt-BR-BRA0-vGP.js +83 -0
  181. package/dist/{refresh-cw-BqUR5vgO.js → refresh-cw-DEgfb2FK.js} +2 -14
  182. package/dist/{runtime-dom.esm-bundler-BuG03jBM.js → runtime-dom.esm-bundler-PnoZU512.js} +106 -106
  183. package/dist/search-DqQ8Li5E.js +16 -0
  184. package/dist/{send-D1vvuW79.js → send-CE6uvqop.js} +1 -1
  185. package/dist/{shield-check-DjK54PnW.js → shield-check-DhD1Z3rd.js} +1 -1
  186. package/dist/{sparkles-DNdS9V_3.js → sparkles-R0ZQHa6F.js} +1 -1
  187. package/dist/style.css +1 -1
  188. package/dist/templatical-editor.js +2491 -2408
  189. package/dist/{text-align-start-Bcmo_VUY.js → text-align-start-DSux2UNn.js} +1 -1
  190. package/dist/{trash-C9bMXvw4.js → trash-Cf_SqsER.js} +1 -1
  191. package/dist/{triangle-alert-Bn8Bd2Yv.js → triangle-alert-C6tGa6jw.js} +1 -1
  192. package/dist/{upload-DKgg1gno.js → upload-DusKjpVr.js} +1 -1
  193. package/dist/{useAliveFlag-PVmp95MT.js → useAliveFlag-oyByIcjy.js} +1 -1
  194. package/dist/{useCloudI18n-BKoiYsWZ.js → useCloudI18n-BLyh_e2T.js} +2 -2
  195. package/dist/{useEditorCore-CYGvurZa.js → useEditorCore-DhlKOYwe.js} +1552 -1486
  196. package/dist/{useEditorRoot-DkRGTQRs.js → useEditorRoot-ds57-l6F.js} +2 -2
  197. package/dist/{useI18n-CL6RfPzK.js → useI18n-BbdxxpOE.js} +2 -2
  198. package/dist/{useMergeTag-C9GEpljB.js → useMergeTag-DlvOBW_B.js} +3 -3
  199. package/dist/{usePopoverPosition-CWxaIWd3.js → usePopoverPosition-CprM5p-c.js} +2 -2
  200. package/dist/{useScrollToBlock-oUx1HIZ2.js → useScrollToBlock-BTFw0b9O.js} +3 -3
  201. package/dist/{vue.runtime.esm-bundler-D9JUcKrV.js → vue.runtime.esm-bundler-DShF3P6k.js} +1192 -1181
  202. package/dist/{x-BPKoRPTG.js → x-D_-42Ukq.js} +1 -1
  203. package/package.json +9 -12
  204. package/dist/CloudHeaderExtras-CRUQvgSV.js +0 -59
  205. package/dist/SavedBlocksBrowserModal-BORqqASb.js +0 -322
  206. package/dist/TitleEditor-pYEUX6lR.js +0 -198
  207. package/dist/TplModal-DRx4ytx8.js +0 -51
  208. package/dist/cdn/chunks/VersionHistoryMenu-BfVUvWHT.js.map +0 -1
  209. package/dist/cdn/chunks/ca-CNRWAMHI.js.map +0 -1
  210. package/dist/cdn/chunks/cloud-CullB76F.js.map +0 -1
  211. package/dist/cdn/chunks/createCloudRuntime-Cx2JpUYU.js +0 -443
  212. package/dist/cdn/chunks/createCloudRuntime-Cx2JpUYU.js.map +0 -1
  213. package/dist/cdn/chunks/de-DFYCT4QU.js.map +0 -1
  214. package/dist/cdn/chunks/en-rGHphLWo.js +0 -2
  215. package/dist/cdn/chunks/es-OgkdMZGX.js.map +0 -1
  216. package/dist/cdn/chunks/fr-Dswns199.js.map +0 -1
  217. package/dist/cdn/chunks/nl-CbcPJlrL.js.map +0 -1
  218. package/dist/cdn/chunks/pt-BR-BibOQm-o.js.map +0 -1
  219. package/dist/cdn/chunks/src-CaXeO-gG.js.map +0 -1
  220. package/dist/cdn/chunks/useEditorCore-D4MytYB9.js.map +0 -1
  221. package/dist/createCloudRuntime-PevFSH74.js +0 -441
  222. package/dist/dist-dNiknO7j.js +0 -251
  223. package/dist/dist-heatwAdo.js +0 -150
@@ -1,19 +1,21 @@
1
- import { Dt as e, G as t, Ot as n, P as r, S as i, X as a, c as o, d as s, g as c, h as l, i as u, j as d, k as f, kt as p, l as m, r as h, rt as g, s as _, u as v, v as y } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
2
- import { c as b, s as x } from "./runtime-dom.esm-bundler-BuG03jBM.js";
1
+ import { A as e, At as t, F as n, K as r, M as i, S as a, Z as o, at as s, c, d as l, g as u, h as d, i as f, jt as p, kt as m, l as h, r as g, s as _, u as v, v as y } from "./vue.runtime.esm-bundler-DShF3P6k.js";
2
+ import { c as b, s as x } from "./runtime-dom.esm-bundler-PnoZU512.js";
3
3
  import { R as S } from "./dist-tGkjkX-v.js";
4
- import { C, D as w, E as T, S as E } from "./useEditorCore-CYGvurZa.js";
5
- import { t as D } from "./dist-dNiknO7j.js";
6
- import { J as O, K as k, O as A, U as j, _ as M, h as N, w as ee } from "./keys-C3P1yxnr.js";
7
- import { t as P } from "./useI18n-CL6RfPzK.js";
8
- import { n as F } from "./usePopoverPosition-CWxaIWd3.js";
9
- import { t as I } from "./createLucideIcon-05lB8iWe.js";
10
- import { a as te, i as ne, n as L, r as re, t as R } from "./RichTextEditorContent-riOB-rKD.js";
11
- import { o as ie, s as ae } from "./MergeTagInput-D1hzsn2b.js";
12
- import { t as oe } from "./loader-circle-B2Y8xZQb.js";
13
- import { n as se, r as ce, t as le } from "./text-align-start-Bcmo_VUY.js";
4
+ import { C, D as w, E as T, S as E } from "./useEditorCore-DhlKOYwe.js";
5
+ import { t as D } from "./dist-DBirAJIs.js";
6
+ import { T as O, W as k, Y as A, g as j, k as M, q as N, v as ee } from "./keys-DQA2i1k1.js";
7
+ import { t as P } from "./useI18n-BbdxxpOE.js";
8
+ import { n as F } from "./usePopoverPosition-CprM5p-c.js";
9
+ import { t as I } from "./createLucideIcon-Cwf_nTzE.js";
10
+ import { i as te, n as L, r as ne, t as R } from "./RichTextEditorContent-BnxbQUV9.js";
11
+ import { o as re, s as ie } from "./MergeTagInput-BEjzj4Iu.js";
12
+ import { t as ae } from "./link-3R8it3J7.js";
13
+ import { t as oe } from "./list-Ccdgj46T.js";
14
+ import { t as se } from "./loader-circle-B_tAD4k6.js";
15
+ import { n as ce, r as le, t as ue } from "./text-align-start-DSux2UNn.js";
14
16
  import { t as z } from "./_plugin-vue_export-helper-B3ysoDQm.js";
15
- import { a as ue, n as de, o as fe, s as pe } from "./styleConstants-C_YAPdQS.js";
16
- import { t as B } from "./ColorPicker-DtozuN75.js";
17
+ import { a as de, n as fe, o as pe, s as me } from "./styleConstants-C_YAPdQS.js";
18
+ import { t as B } from "./ColorPicker-BqlZ_TqG.js";
17
19
  var V = I({
18
20
  name: "face-slightly-smiling",
19
21
  size: 24,
@@ -38,7 +40,7 @@ var V = I({
38
40
  }]
39
41
  ],
40
42
  aliases: ["smile"]
41
- }), me = I({
43
+ }), he = I({
42
44
  name: "list-ordered",
43
45
  size: 24,
44
46
  node: [
@@ -67,35 +69,6 @@ var V = I({
67
69
  key: "xtkcd5"
68
70
  }]
69
71
  ]
70
- }), he = I({
71
- name: "list",
72
- size: 24,
73
- node: [
74
- ["path", {
75
- d: "M3 5h.01",
76
- key: "18ugdj"
77
- }],
78
- ["path", {
79
- d: "M3 12h.01",
80
- key: "nlz23k"
81
- }],
82
- ["path", {
83
- d: "M3 19h.01",
84
- key: "noohij"
85
- }],
86
- ["path", {
87
- d: "M8 5h13",
88
- key: "1pao27"
89
- }],
90
- ["path", {
91
- d: "M8 12h13",
92
- key: "1za7za"
93
- }],
94
- ["path", {
95
- d: "M8 19h13",
96
- key: "m83p4d"
97
- }]
98
- ]
99
72
  }), ge = I({
100
73
  name: "remove-formatting",
101
74
  size: 24,
@@ -214,50 +187,50 @@ var V = I({
214
187
  __name: "EmojiPickerDropdown",
215
188
  emits: ["insert"],
216
189
  setup(t, { emit: n }) {
217
- let r = n, { categories: i, isOpen: l, toggle: u, close: m } = T(), { t: y, format: S } = P(), C = a(null), E = a(null), O = _(() => l.value);
190
+ let r = n, { categories: a, isOpen: d, toggle: f, close: h } = T(), { t: y, format: S } = P(), C = o(null), E = o(null), O = _(() => d.value);
218
191
  w(C, O), D(E, () => {
219
- l.value && m();
192
+ d.value && h();
220
193
  });
221
194
  function k(e) {
222
- r("insert", e), m();
195
+ r("insert", e), h();
223
196
  }
224
- return (t, n) => (f(), s("div", {
197
+ return (t, n) => (e(), l("div", {
225
198
  ref_key: "rootRef",
226
199
  ref: E,
227
200
  class: "tpl:relative"
228
- }, [o("button", {
201
+ }, [c("button", {
229
202
  type: "button",
230
- class: e(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": g(l) }]),
231
- "aria-label": g(y).paragraphEditor.insertEmoji,
232
- title: g(y).paragraphEditor.insertEmoji,
233
- "aria-expanded": g(l),
203
+ class: m(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": s(d) }]),
204
+ "aria-label": s(y).paragraphEditor.insertEmoji,
205
+ title: s(y).paragraphEditor.insertEmoji,
206
+ "aria-expanded": s(d),
234
207
  "aria-haspopup": "dialog",
235
208
  "aria-controls": "tpl-emoji-picker",
236
- onClick: n[0] ||= (...e) => g(u) && g(u)(...e)
237
- }, [c(g(V), {
209
+ onClick: n[0] ||= (...e) => s(f) && s(f)(...e)
210
+ }, [u(s(V), {
238
211
  size: 16,
239
212
  "stroke-width": 2
240
- })], 10, H), g(l) ? (f(), s("div", {
213
+ })], 10, H), s(d) ? (e(), l("div", {
241
214
  key: 0,
242
215
  id: "tpl-emoji-picker",
243
216
  ref_key: "pickerRef",
244
217
  ref: C,
245
218
  role: "dialog",
246
219
  "aria-modal": "false",
247
- "aria-label": g(y).paragraphEditor.insertEmoji,
220
+ "aria-label": s(y).paragraphEditor.insertEmoji,
248
221
  tabindex: "-1",
249
222
  class: "tpl-emoji-picker tpl:absolute tpl:top-full tpl:left-0 tpl:z-10 tpl:mt-2 tpl:w-72 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:shadow-[var(--tpl-shadow-lg)]",
250
- onKeydown: n[1] ||= x(b((...e) => g(m) && g(m)(...e), ["stop", "prevent"]), ["esc"])
251
- }, [(f(!0), s(h, null, d(g(i), (e) => (f(), s("div", {
252
- key: e.key,
223
+ onKeydown: n[1] ||= x(b((...e) => s(h) && s(h)(...e), ["stop", "prevent"]), ["esc"])
224
+ }, [(e(!0), l(g, null, i(s(a), (t) => (e(), l("div", {
225
+ key: t.key,
253
226
  class: "tpl:mb-2 tpl:last:mb-0"
254
- }, [o("div", W, p(g(y).emoji[e.key]), 1), o("div", G, [(f(!0), s(h, null, d(e.emojis, (e) => (f(), s("button", {
255
- key: e,
227
+ }, [c("div", W, p(s(y).emoji[t.key]), 1), c("div", G, [(e(!0), l(g, null, i(t.emojis, (t) => (e(), l("button", {
228
+ key: t,
256
229
  type: "button",
257
- "aria-label": g(S)(g(y).paragraphEditor.emojiItemLabel, { emoji: e }),
230
+ "aria-label": s(S)(s(y).paragraphEditor.emojiItemLabel, { emoji: t }),
258
231
  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)]",
259
- onClick: (t) => k(e)
260
- }, p(e), 9, K))), 128))])]))), 128))], 40, U)) : v("", !0)], 512));
232
+ onClick: (e) => k(t)
233
+ }, p(t), 9, K))), 128))])]))), 128))], 40, U)) : v("", !0)], 512));
261
234
  }
262
235
  }), q = [
263
236
  "aria-label",
@@ -273,13 +246,13 @@ var V = I({
273
246
  size: {}
274
247
  },
275
248
  setup(t) {
276
- return (n, i) => (f(), s("button", {
249
+ return (r, i) => (e(), l("button", {
277
250
  type: "button",
278
- class: e(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": t.active }]),
251
+ class: m(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": t.active }]),
279
252
  "aria-label": t.label,
280
253
  title: t.label,
281
254
  "aria-pressed": t.active ? "true" : "false"
282
- }, [(f(), m(r(t.icon), {
255
+ }, [(e(), h(n(t.icon), {
283
256
  size: t.size ?? 16,
284
257
  "stroke-width": t.strokeWidth ?? 2
285
258
  }, null, 8, ["size", "stroke-width"]))], 10, q));
@@ -288,8 +261,8 @@ var V = I({
288
261
  class: "tpl:mx-1 tpl:h-6 tpl:w-px tpl:bg-[var(--tpl-border)]",
289
262
  "aria-hidden": "true"
290
263
  };
291
- function Z(e, t) {
292
- return f(), s("span", X);
264
+ function Z(t, n) {
265
+ return e(), l("span", X);
293
266
  }
294
267
  var Q = /*#__PURE__*/ z(Y, [["render", Z]]), Ce = [
295
268
  "value",
@@ -307,25 +280,25 @@ var Q = /*#__PURE__*/ z(Y, [["render", Z]]), Ce = [
307
280
  emits: ["update:modelValue"],
308
281
  setup(t, { emit: n }) {
309
282
  let r = n;
310
- function i(e) {
283
+ function a(e) {
311
284
  r("update:modelValue", e.target.value);
312
285
  }
313
- function a(e) {
286
+ function o(e) {
314
287
  return typeof e == "string" ? e : e.value;
315
288
  }
316
- function c(e) {
289
+ function s(e) {
317
290
  return typeof e == "string" ? e : e.label;
318
291
  }
319
- return (n, r) => (f(), s("select", {
320
- class: e(["tpl:h-8 tpl:cursor-pointer tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:outline-none", t.widthClass ?? "tpl:w-20"]),
292
+ return (n, r) => (e(), l("select", {
293
+ class: m(["tpl:h-8 tpl:cursor-pointer tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:outline-none", t.widthClass ?? "tpl:w-20"]),
321
294
  value: t.modelValue,
322
295
  "aria-label": t.label,
323
296
  title: t.label,
324
- onChange: i
325
- }, [o("option", we, p(t.placeholder ?? ""), 1), (f(!0), s(h, null, d(t.options, (e) => (f(), s("option", {
326
- key: a(e),
327
- value: a(e)
328
- }, p(c(e)), 9, Te))), 128))], 42, Ce));
297
+ onChange: a
298
+ }, [c("option", we, p(t.placeholder ?? ""), 1), (e(!0), l(g, null, i(t.options, (t) => (e(), l("option", {
299
+ key: o(t),
300
+ value: o(t)
301
+ }, p(s(t)), 9, Te))), 128))], 42, Ce));
329
302
  }
330
303
  });
331
304
  //#endregion
@@ -352,30 +325,30 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
352
325
  "add-merge-tag",
353
326
  "add-logic-tag"
354
327
  ],
355
- setup(e, { emit: t }) {
356
- let r = e, a = t, d = i(j, null), y = i(k, null), b = O(M, "ParagraphToolbar"), x = F(), S = i(A, null), C = i(ee, null), w = i(N, null), T = _(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = P(), D = b.fonts;
328
+ setup(n, { emit: r }) {
329
+ let i = n, o = r, m = a(k, null), y = a(N, null), b = A(ee, "ParagraphToolbar"), x = F(), S = a(M, null), C = a(O, null), w = a(j, null), T = _(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = P(), D = b.fonts;
357
330
  function I(e) {
358
- r.editor?.chain().focus().insertContent(e).run();
331
+ i.editor?.chain().focus().insertContent(e).run();
359
332
  }
360
333
  function L(e) {
361
- return r.editor?.getAttributes("textStyle")[e] || "";
334
+ return i.editor?.getAttributes("textStyle")[e] || "";
362
335
  }
363
336
  function R(e) {
364
- let t = r.editor?.chain().focus();
337
+ let t = i.editor?.chain().focus();
365
338
  e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
366
339
  }
367
340
  function z(e) {
368
- let t = r.editor?.chain().focus();
341
+ let t = i.editor?.chain().focus();
369
342
  e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
370
343
  }
371
344
  function V() {
372
- return r.editor?.isActive("link") ?? !1;
345
+ return i.editor?.isActive("link") ?? !1;
373
346
  }
374
347
  function H() {
375
- return r.editor?.getAttributes("link").color || "";
348
+ return i.editor?.getAttributes("link").color || "";
376
349
  }
377
350
  function U(e) {
378
- let t = r.editor?.chain().focus();
351
+ let t = i.editor?.chain().focus();
379
352
  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());
380
353
  }
381
354
  function W() {
@@ -386,44 +359,44 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
386
359
  return V() ? H() : L("color");
387
360
  }
388
361
  function K() {
389
- return r.editor?.getAttributes("paragraph").lineHeight || "";
362
+ return i.editor?.getAttributes("paragraph").lineHeight || "";
390
363
  }
391
364
  function q(e) {
392
- let t = r.editor?.chain().focus();
365
+ let t = i.editor?.chain().focus();
393
366
  e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
394
367
  }
395
368
  function Y(e) {
396
- let t = r.editor?.chain().focus();
369
+ let t = i.editor?.chain().focus();
397
370
  e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
398
371
  }
399
372
  function X() {
400
- return r.editor?.getAttributes("highlight").color || "";
373
+ return i.editor?.getAttributes("highlight").color || "";
401
374
  }
402
375
  function Z(e) {
403
- let t = r.editor?.chain().focus();
376
+ let t = i.editor?.chain().focus();
404
377
  e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
405
378
  }
406
- return (t, r) => g(x) && !T.value ? (f(), m(u, {
379
+ return (r, i) => s(x) && !T.value ? (e(), h(f, {
407
380
  key: 0,
408
- to: g(x)
409
- }, [o("div", {
410
- "data-tpl-theme": g(y),
381
+ to: s(x)
382
+ }, [c("div", {
383
+ "data-tpl-theme": s(y),
411
384
  role: "toolbar",
412
- "aria-label": g(E).paragraphEditor.toolbar,
385
+ "aria-label": s(E).paragraphEditor.toolbar,
413
386
  class: "tpl tpl-text-toolbar tpl:absolute tpl:flex tpl:gap-1 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:shadow-[var(--tpl-shadow-lg)]",
414
- style: n({
415
- ...g(d),
416
- top: `${e.toolbarPosition.top}px`,
417
- left: `${e.toolbarPosition.left}px`,
387
+ style: t({
388
+ ...s(m),
389
+ top: `${n.toolbarPosition.top}px`,
390
+ left: `${n.toolbarPosition.left}px`,
418
391
  transform: "translateY(-100%)",
419
392
  flexDirection: "column"
420
393
  })
421
- }, [!e.isLoading && e.editor ? (f(), s(h, { key: 0 }, [o("div", Oe, [
422
- c($, {
394
+ }, [!n.isLoading && n.editor ? (e(), l(g, { key: 0 }, [c("div", Oe, [
395
+ u($, {
423
396
  "model-value": L("fontFamily"),
424
- options: g(D),
425
- label: g(E).paragraphEditor.fontFamily,
426
- placeholder: g(E).paragraphEditor.defaultFont,
397
+ options: s(D),
398
+ label: s(E).paragraphEditor.fontFamily,
399
+ placeholder: s(E).paragraphEditor.defaultFont,
427
400
  "width-class": "tpl:w-32",
428
401
  "onUpdate:modelValue": R
429
402
  }, null, 8, [
@@ -432,11 +405,11 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
432
405
  "label",
433
406
  "placeholder"
434
407
  ]),
435
- c($, {
408
+ u($, {
436
409
  "model-value": L("fontSize"),
437
- options: g(ue),
438
- label: g(E).paragraphEditor.fontSize,
439
- placeholder: g(E).paragraphEditor.defaultSize,
410
+ options: s(de),
411
+ label: s(E).paragraphEditor.fontSize,
412
+ placeholder: s(E).paragraphEditor.defaultSize,
440
413
  "width-class": "tpl:w-20",
441
414
  "onUpdate:modelValue": z
442
415
  }, null, 8, [
@@ -445,174 +418,174 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
445
418
  "label",
446
419
  "placeholder"
447
420
  ]),
448
- c(Q),
449
- c(B, {
421
+ u(Q),
422
+ u(B, {
450
423
  "swatch-only": "",
451
424
  size: "sm",
452
425
  "data-testid": "text-color-picker",
453
426
  "model-value": G(),
454
427
  "seed-color": W(),
455
- "aria-label": g(E).paragraphEditor.textColor,
428
+ "aria-label": s(E).paragraphEditor.textColor,
456
429
  "onUpdate:modelValue": U
457
430
  }, null, 8, [
458
431
  "model-value",
459
432
  "seed-color",
460
433
  "aria-label"
461
434
  ]),
462
- c(B, {
435
+ u(B, {
463
436
  "swatch-only": "",
464
437
  size: "sm",
465
438
  "data-testid": "highlight-color-picker",
466
439
  "model-value": X(),
467
- "seed-color": g(de),
468
- "aria-label": g(E).paragraphEditor.highlightColor,
440
+ "seed-color": s(fe),
441
+ "aria-label": s(E).paragraphEditor.highlightColor,
469
442
  "onUpdate:modelValue": Z
470
443
  }, null, 8, [
471
444
  "model-value",
472
445
  "seed-color",
473
446
  "aria-label"
474
447
  ]),
475
- c(Q),
476
- c(J, {
477
- icon: g(te),
478
- label: g(E).paragraphEditor.bold,
479
- active: e.editor.isActive("bold"),
448
+ u(Q),
449
+ u(J, {
450
+ icon: s(te),
451
+ label: s(E).paragraphEditor.bold,
452
+ active: n.editor.isActive("bold"),
480
453
  "stroke-width": 2.5,
481
- onClick: r[0] ||= (t) => e.editor.chain().focus().toggleBold().run()
454
+ onClick: i[0] ||= (e) => n.editor.chain().focus().toggleBold().run()
482
455
  }, null, 8, [
483
456
  "icon",
484
457
  "label",
485
458
  "active"
486
459
  ]),
487
- c(J, {
488
- icon: g(ne),
489
- label: g(E).paragraphEditor.italic,
490
- active: e.editor.isActive("italic"),
491
- onClick: r[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
460
+ u(J, {
461
+ icon: s(ne),
462
+ label: s(E).paragraphEditor.italic,
463
+ active: n.editor.isActive("italic"),
464
+ onClick: i[1] ||= (e) => n.editor.chain().focus().toggleItalic().run()
492
465
  }, null, 8, [
493
466
  "icon",
494
467
  "label",
495
468
  "active"
496
469
  ]),
497
- c(J, {
498
- icon: g(xe),
499
- label: g(E).paragraphEditor.underline,
500
- active: e.editor.isActive("underline"),
501
- onClick: r[2] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
470
+ u(J, {
471
+ icon: s(xe),
472
+ label: s(E).paragraphEditor.underline,
473
+ active: n.editor.isActive("underline"),
474
+ onClick: i[2] ||= (e) => n.editor.chain().focus().toggleUnderline().run()
502
475
  }, null, 8, [
503
476
  "icon",
504
477
  "label",
505
478
  "active"
506
479
  ]),
507
- c(J, {
508
- icon: g(_e),
509
- label: g(E).paragraphEditor.strikethrough,
510
- active: e.editor.isActive("strike"),
511
- onClick: r[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
480
+ u(J, {
481
+ icon: s(_e),
482
+ label: s(E).paragraphEditor.strikethrough,
483
+ active: n.editor.isActive("strike"),
484
+ onClick: i[3] ||= (e) => n.editor.chain().focus().toggleStrike().run()
512
485
  }, null, 8, [
513
486
  "icon",
514
487
  "label",
515
488
  "active"
516
489
  ]),
517
- c(Q),
518
- c(J, {
519
- icon: g(ve),
520
- label: g(E).paragraphEditor.subscript,
521
- active: e.editor.isActive("subscript"),
522
- onClick: r[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
490
+ u(Q),
491
+ u(J, {
492
+ icon: s(ve),
493
+ label: s(E).paragraphEditor.subscript,
494
+ active: n.editor.isActive("subscript"),
495
+ onClick: i[4] ||= (e) => n.editor.chain().focus().toggleSubscript().run()
523
496
  }, null, 8, [
524
497
  "icon",
525
498
  "label",
526
499
  "active"
527
500
  ]),
528
- c(J, {
529
- icon: g(ye),
530
- label: g(E).paragraphEditor.superscript,
531
- active: e.editor.isActive("superscript"),
532
- onClick: r[5] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
501
+ u(J, {
502
+ icon: s(ye),
503
+ label: s(E).paragraphEditor.superscript,
504
+ active: n.editor.isActive("superscript"),
505
+ onClick: i[5] ||= (e) => n.editor.chain().focus().toggleSuperscript().run()
533
506
  }, null, 8, [
534
507
  "icon",
535
508
  "label",
536
509
  "active"
537
510
  ]),
538
- c(Q),
539
- c(J, {
540
- icon: g(re),
541
- label: g(E).paragraphEditor.addLink,
542
- active: e.editor.isActive("link"),
543
- onClick: r[6] ||= (e) => a("open-link-dialog")
511
+ u(Q),
512
+ u(J, {
513
+ icon: s(ae),
514
+ label: s(E).paragraphEditor.addLink,
515
+ active: n.editor.isActive("link"),
516
+ onClick: i[6] ||= (e) => o("open-link-dialog")
544
517
  }, null, 8, [
545
518
  "icon",
546
519
  "label",
547
520
  "active"
548
521
  ])
549
- ]), o("div", ke, [
550
- c(J, {
551
- icon: g(he),
552
- label: g(E).paragraphEditor.bulletList,
553
- active: e.editor.isActive("bulletList"),
554
- onClick: r[7] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
522
+ ]), c("div", ke, [
523
+ u(J, {
524
+ icon: s(oe),
525
+ label: s(E).paragraphEditor.bulletList,
526
+ active: n.editor.isActive("bulletList"),
527
+ onClick: i[7] ||= (e) => n.editor.chain().focus().toggleBulletList().run()
555
528
  }, null, 8, [
556
529
  "icon",
557
530
  "label",
558
531
  "active"
559
532
  ]),
560
- c(J, {
561
- icon: g(me),
562
- label: g(E).paragraphEditor.numberedList,
563
- active: e.editor.isActive("orderedList"),
564
- onClick: r[8] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
533
+ u(J, {
534
+ icon: s(he),
535
+ label: s(E).paragraphEditor.numberedList,
536
+ active: n.editor.isActive("orderedList"),
537
+ onClick: i[8] ||= (e) => n.editor.chain().focus().toggleOrderedList().run()
565
538
  }, null, 8, [
566
539
  "icon",
567
540
  "label",
568
541
  "active"
569
542
  ]),
570
- c(Q),
571
- c(J, {
572
- icon: g(le),
573
- label: g(E).paragraphEditor.alignLeft,
574
- active: e.editor.isActive({ textAlign: "left" }),
575
- onClick: r[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
543
+ u(Q),
544
+ u(J, {
545
+ icon: s(ue),
546
+ label: s(E).paragraphEditor.alignLeft,
547
+ active: n.editor.isActive({ textAlign: "left" }),
548
+ onClick: i[9] ||= (e) => n.editor.chain().focus().setTextAlign("left").run()
576
549
  }, null, 8, [
577
550
  "icon",
578
551
  "label",
579
552
  "active"
580
553
  ]),
581
- c(J, {
582
- icon: g(ce),
583
- label: g(E).paragraphEditor.alignCenter,
584
- active: e.editor.isActive({ textAlign: "center" }),
585
- onClick: r[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
554
+ u(J, {
555
+ icon: s(le),
556
+ label: s(E).paragraphEditor.alignCenter,
557
+ active: n.editor.isActive({ textAlign: "center" }),
558
+ onClick: i[10] ||= (e) => n.editor.chain().focus().setTextAlign("center").run()
586
559
  }, null, 8, [
587
560
  "icon",
588
561
  "label",
589
562
  "active"
590
563
  ]),
591
- c(J, {
592
- icon: g(se),
593
- label: g(E).paragraphEditor.alignRight,
594
- active: e.editor.isActive({ textAlign: "right" }),
595
- onClick: r[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
564
+ u(J, {
565
+ icon: s(ce),
566
+ label: s(E).paragraphEditor.alignRight,
567
+ active: n.editor.isActive({ textAlign: "right" }),
568
+ onClick: i[11] ||= (e) => n.editor.chain().focus().setTextAlign("right").run()
596
569
  }, null, 8, [
597
570
  "icon",
598
571
  "label",
599
572
  "active"
600
573
  ]),
601
- c(J, {
602
- icon: g(be),
603
- label: g(E).paragraphEditor.alignJustify,
604
- active: e.editor.isActive({ textAlign: "justify" }),
605
- onClick: r[12] ||= (t) => e.editor.chain().focus().setTextAlign("justify").run()
574
+ u(J, {
575
+ icon: s(be),
576
+ label: s(E).paragraphEditor.alignJustify,
577
+ active: n.editor.isActive({ textAlign: "justify" }),
578
+ onClick: i[12] ||= (e) => n.editor.chain().focus().setTextAlign("justify").run()
606
579
  }, null, 8, [
607
580
  "icon",
608
581
  "label",
609
582
  "active"
610
583
  ]),
611
- c(Q),
612
- c($, {
584
+ u(Q),
585
+ u($, {
613
586
  "model-value": K(),
614
- options: g(pe),
615
- label: g(E).paragraphEditor.lineHeight,
587
+ options: s(me),
588
+ label: s(E).paragraphEditor.lineHeight,
616
589
  placeholder: "LH",
617
590
  "width-class": "tpl:w-16",
618
591
  "onUpdate:modelValue": q
@@ -621,10 +594,10 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
621
594
  "options",
622
595
  "label"
623
596
  ]),
624
- c($, {
597
+ u($, {
625
598
  "model-value": L("letterSpacing"),
626
- options: g(fe),
627
- label: g(E).paragraphEditor.letterSpacing,
599
+ options: s(pe),
600
+ label: s(E).paragraphEditor.letterSpacing,
628
601
  placeholder: "LS",
629
602
  "width-class": "tpl:w-20",
630
603
  "onUpdate:modelValue": Y
@@ -633,40 +606,40 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
633
606
  "options",
634
607
  "label"
635
608
  ]),
636
- c(Q),
637
- c(J, {
638
- icon: g(ge),
639
- label: g(E).paragraphEditor.clearFormatting,
640
- onClick: r[13] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
609
+ u(Q),
610
+ u(J, {
611
+ icon: s(ge),
612
+ label: s(E).paragraphEditor.clearFormatting,
613
+ onClick: i[13] ||= (e) => n.editor.chain().focus().clearNodes().unsetAllMarks().run()
641
614
  }, null, 8, ["icon", "label"]),
642
- c(Q),
643
- c(Se, { onInsert: I }),
644
- e.canRequestMergeTag ? (f(), s(h, { key: 0 }, [c(Q), o("button", {
615
+ u(Q),
616
+ u(Se, { onInsert: I }),
617
+ n.canRequestMergeTag ? (e(), l(g, { key: 0 }, [u(Q), c("button", {
645
618
  type: "button",
646
619
  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)]",
647
- "aria-label": g(E).mergeTag.insert,
648
- title: g(E).mergeTag.insert,
649
- onClick: r[14] ||= (e) => a("add-merge-tag")
650
- }, [c(g(ie), {
620
+ "aria-label": s(E).mergeTag.insert,
621
+ title: s(E).mergeTag.insert,
622
+ onClick: i[14] ||= (e) => o("add-merge-tag")
623
+ }, [u(s(re), {
651
624
  size: 16,
652
625
  "stroke-width": 2
653
- }), l(" " + p(g(E).mergeTag.insertShort), 1)], 8, Ae)], 64)) : v("", !0),
654
- e.canInsertLogicTag ? (f(), s(h, { key: 1 }, [c(Q), o("button", {
626
+ }), d(" " + p(s(E).mergeTag.insertShort), 1)], 8, Ae)], 64)) : v("", !0),
627
+ n.canInsertLogicTag ? (e(), l(g, { key: 1 }, [u(Q), c("button", {
655
628
  type: "button",
656
629
  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)]",
657
- "aria-label": g(E).logicTag.insert,
658
- title: g(E).logicTag.insert,
630
+ "aria-label": s(E).logicTag.insert,
631
+ title: s(E).logicTag.insert,
659
632
  "data-testid": "insert-logic-button",
660
- onClick: r[15] ||= (e) => a("add-logic-tag")
661
- }, [c(g(ae), {
633
+ onClick: i[15] ||= (e) => o("add-logic-tag")
634
+ }, [u(s(ie), {
662
635
  size: 16,
663
636
  "stroke-width": 2
664
- }), l(" " + p(g(E).logicTag.insertShort), 1)], 8, je)], 64)) : v("", !0)
665
- ])], 64)) : (f(), s("div", Me, [c(g(oe), {
637
+ }), d(" " + p(s(E).logicTag.insertShort), 1)], 8, je)], 64)) : v("", !0)
638
+ ])], 64)) : (e(), l("div", Me, [u(s(se), {
666
639
  class: "tpl-spinner",
667
640
  size: 14,
668
641
  "stroke-width": 2
669
- }), l(" " + p(g(E).errors.editorLoading), 1)]))], 12, De)], 8, ["to"])) : v("", !0);
642
+ }), d(" " + p(s(E).errors.editorLoading), 1)]))], 12, De)], 8, ["to"])) : v("", !0);
670
643
  }
671
644
  }), Pe = { class: "tpl-text-editor-wrapper tpl:relative" }, Fe = /* @__PURE__ */ y({
672
645
  __name: "ParagraphEditor",
@@ -675,15 +648,15 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
675
648
  toolbarPosition: {}
676
649
  },
677
650
  emits: ["done"],
678
- setup(e, { emit: n }) {
679
- let r = e, a = n, o = F(), l = i(N, null), u = S(l?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: d, EditorContent: p, isLoading: m, initError: h, retry: _, showLinkDialog: v, linkUrl: y, linkColor: b, linkDialogRef: x, canRequestMergeTag: w, canInsertLogicTag: T, openLinkDialog: D, insertLink: O, removeLink: k, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: M, handleAddLogicTag: ee } = E({
680
- blockId: () => r.block.id,
681
- blockContent: () => r.block.content,
682
- onDone: () => a("done"),
651
+ setup(t, { emit: n }) {
652
+ let i = t, o = n, c = F(), d = a(j, null), f = S(d?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: p, EditorContent: m, isLoading: h, initError: g, retry: _, showLinkDialog: v, linkUrl: y, linkColor: b, linkDialogRef: x, canRequestMergeTag: w, canInsertLogicTag: T, openLinkDialog: D, insertLink: O, removeLink: k, closeLinkDialog: A, handleLinkKeydown: M, handleAddMergeTag: N, handleAddLogicTag: ee } = E({
653
+ blockId: () => i.block.id,
654
+ blockContent: () => i.block.content,
655
+ onDone: () => o("done"),
683
656
  editorName: "ParagraphEditor",
684
657
  async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
685
- let [{ Editor: a, EditorContent: s }, { default: c }, { 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: w, LetterSpacing: T, LineBoundaryKeys: E }] = await Promise.all([
686
- import("./dist-BxFbxpgW.js").then((e) => e.r),
658
+ let [{ Editor: a, EditorContent: o }, { default: s }, { default: l }, { default: u }, { default: d }, { default: p }, { default: m }, { TextStyle: h }, { default: g }, { default: _ }, { default: v }, { MergeTagNode: y, MergeTagSuggestion: b, LogicMergeTagNode: x, FontSize: S, LineHeight: w, LetterSpacing: T, LineBoundaryKeys: E }] = await Promise.all([
659
+ import("./dist-BVqAYoRB.js").then((e) => e.r),
687
660
  import("./dist-DkcA6epL.js"),
688
661
  import("./dist-C1tsW_99.js"),
689
662
  import("./dist-DC-3T0ED.js"),
@@ -694,13 +667,13 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
694
667
  import("./dist-D08oVYhr.js"),
695
668
  import("./dist-DzdeVn-W.js"),
696
669
  import("./dist-f7HXo6j6.js"),
697
- import("./extensions-Bawm4BOM.js")
670
+ import("./extensions-CHOBZRab.js")
698
671
  ]);
699
672
  return {
700
673
  TiptapEditor: a,
701
- EC: s,
674
+ EC: o,
702
675
  extensions: [
703
- c.configure({
676
+ s.configure({
704
677
  heading: !1,
705
678
  codeBlock: !1,
706
679
  blockquote: !1,
@@ -708,8 +681,8 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
708
681
  link: !1,
709
682
  underline: !1
710
683
  }),
684
+ u,
711
685
  d,
712
- f,
713
686
  p,
714
687
  C(l).configure({
715
688
  openOnClick: !1,
@@ -720,7 +693,7 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
720
693
  }),
721
694
  m.configure({
722
695
  types: ["paragraph"],
723
- defaultAlignment: u
696
+ defaultAlignment: f
724
697
  }),
725
698
  h,
726
699
  g,
@@ -739,22 +712,22 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
739
712
  mergeTags: e,
740
713
  char: n,
741
714
  emptyText: i,
742
- popoverRoot: o
715
+ popoverRoot: c
743
716
  })] : []
744
717
  ]
745
718
  };
746
719
  }
747
720
  });
748
- return (n, r) => (f(), s("div", Pe, [
749
- c(Ne, {
750
- editor: g(d),
751
- "toolbar-position": e.toolbarPosition,
752
- "is-loading": g(m),
753
- "can-request-merge-tag": g(w),
754
- "can-insert-logic-tag": g(T),
755
- onOpenLinkDialog: g(D),
756
- onAddMergeTag: g(M),
757
- onAddLogicTag: g(ee)
721
+ return (n, i) => (e(), l("div", Pe, [
722
+ u(Ne, {
723
+ editor: s(p),
724
+ "toolbar-position": t.toolbarPosition,
725
+ "is-loading": s(h),
726
+ "can-request-merge-tag": s(w),
727
+ "can-insert-logic-tag": s(T),
728
+ onOpenLinkDialog: s(D),
729
+ onAddMergeTag: s(N),
730
+ onAddLogicTag: s(ee)
758
731
  }, null, 8, [
759
732
  "editor",
760
733
  "toolbar-position",
@@ -765,12 +738,12 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
765
738
  "onAddMergeTag",
766
739
  "onAddLogicTag"
767
740
  ]),
768
- c(R, {
769
- editor: g(d),
770
- "editor-content": g(p),
771
- "is-loading": g(m),
772
- "init-error": g(h),
773
- onRetry: g(_)
741
+ u(R, {
742
+ editor: s(p),
743
+ "editor-content": s(m),
744
+ "is-loading": s(h),
745
+ "init-error": s(g),
746
+ onRetry: s(_)
774
747
  }, null, 8, [
775
748
  "editor",
776
749
  "editor-content",
@@ -778,19 +751,19 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
778
751
  "init-error",
779
752
  "onRetry"
780
753
  ]),
781
- c(L, {
782
- visible: g(v),
783
- "is-editing-link": g(d)?.isActive("link") ?? !1,
784
- "dialog-ref": g(x),
785
- "onUpdate:dialogRef": r[0] ||= (e) => t(x) ? x.value = e : null,
786
- "link-url": g(y),
787
- "onUpdate:linkUrl": r[1] ||= (e) => t(y) ? y.value = e : null,
788
- "link-color": g(b),
789
- "onUpdate:linkColor": r[2] ||= (e) => t(b) ? b.value = e : null,
790
- onClose: g(A),
791
- onInsert: g(O),
792
- onRemove: g(k),
793
- onKeydown: g(j)
754
+ u(L, {
755
+ visible: s(v),
756
+ "is-editing-link": s(p)?.isActive("link") ?? !1,
757
+ "dialog-ref": s(x),
758
+ "onUpdate:dialogRef": i[0] ||= (e) => r(x) ? x.value = e : null,
759
+ "link-url": s(y),
760
+ "onUpdate:linkUrl": i[1] ||= (e) => r(y) ? y.value = e : null,
761
+ "link-color": s(b),
762
+ "onUpdate:linkColor": i[2] ||= (e) => r(b) ? b.value = e : null,
763
+ onClose: s(A),
764
+ onInsert: s(O),
765
+ onRemove: s(k),
766
+ onKeydown: s(M)
794
767
  }, null, 8, [
795
768
  "visible",
796
769
  "is-editing-link",