@templatical/editor 0.48.0 → 0.50.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 (396) hide show
  1. package/README.md +4 -2
  2. package/dist/AiAltTextPopover-BZQ95GXL.js +106 -0
  3. package/dist/AiAltTextReview-DoBEudnE.js +206 -0
  4. package/dist/AiChatPanel-Bs6sES3b.js +550 -0
  5. package/dist/AiHeaderMenu-BEaTazx4.js +36 -0
  6. package/dist/AiPanels-CfN7A-ZA.js +33 -0
  7. package/dist/AiRewriteMenu-C3ZfDDYy.js +276 -0
  8. package/dist/{BlockIssueBadge-BShkuJis.js → BlockIssueBadge-CKwZ1Vgn.js} +11 -11
  9. package/dist/{BlockPreviewCanvas-tzAtDkXH.js → BlockPreviewCanvas-BXNLLLYi.js} +33 -33
  10. package/dist/CloudHeaderExtras-CsJMEiyN.js +23 -0
  11. package/dist/CloudPanels-B4F5m7vy.js +168 -0
  12. package/dist/CollaborationNotices-CNuDp7Y2.js +76 -0
  13. package/dist/CollaboratorBar-BtHPiuHq.js +123 -0
  14. package/dist/{CommentsPanel-DiWzYtnZ.js → CommentsPanel-CyCM-BvT.js} +4 -4
  15. package/dist/CommentsSidebar-Ca3DyFOX.js +500 -0
  16. package/dist/{cdn/chunks/CountdownBlock-Dasj191h.js → CountdownBlock-DR4Xm2-T.js} +24 -26
  17. package/dist/{CountdownToolbar-C4y3Ft7H.js → CountdownToolbar-CEIMPojJ.js} +56 -56
  18. package/dist/IssuesPanel-C8nMUccy.js +360 -0
  19. package/dist/{LoadingTrack-6XsqodoY.js → LoadingTrack-B0RKQWq3.js} +2 -2
  20. package/dist/{LogicTagInsertButton-B1_Wy0AN.js → LogicTagInsertButton-CqfU52CO.js} +272 -267
  21. package/dist/{cdn/chunks/MediaEditModal-zXfcArr4.js → MediaEditModal-DHtkZ4OU.js} +202 -186
  22. package/dist/{MediaPanels-9mDBv4aL.js → MediaPanels-CGcOB2pR.js} +4 -4
  23. package/dist/{MergeTagInput-fOewuF27.js → MergeTagInput-YnEkorTZ.js} +26 -26
  24. package/dist/{MergeTagModeToggle-BXamLcv7.js → MergeTagModeToggle-Dhb1DAcQ.js} +40 -40
  25. package/dist/MergeTagTextarea-e4lnwtqZ.js +70 -0
  26. package/dist/ParagraphEditor-B6NK0ytw.js +799 -0
  27. package/dist/{RestoreVersionDialog-BEKXx9xk.js → RestoreVersionDialog-Bq_IGOLJ.js} +22 -22
  28. package/dist/{RichTextEditorContent-D7kp7iig.js → RichTextEditorContent-AOM6fylS.js} +48 -48
  29. package/dist/{SaveBlockDialog-SJu0lecx.js → SaveBlockDialog-C8GngfQx.js} +88 -88
  30. package/dist/{cdn/chunks/SavedBlocksBrowserModal-CtnB58p_.js → SavedBlocksBrowserModal-wnkvxpm_.js} +102 -99
  31. package/dist/{SavedBlocksPanels-Dr5Fxx9Z.js → SavedBlocksPanels-C2s3q0pJ.js} +9 -9
  32. package/dist/{SavedBlocksPickBar-DnEWBZJy.js → SavedBlocksPickBar-BjcTiV87.js} +14 -14
  33. package/dist/TemplateSettings-BVBWpiDU.js +237 -0
  34. package/dist/{TestEmailModal-CbRY8HQx.js → TestEmailModal-SyhO9bn3.js} +57 -57
  35. package/dist/{TestEmailPanel-NAOmt3xi.js → TestEmailPanel-BDd2Rtav.js} +4 -4
  36. package/dist/{TitleEditor-Cc3DHbuN.js → TitleEditor-pxD53y_l.js} +75 -75
  37. package/dist/ToggleSwitch-D51U9cmR.js +37 -0
  38. package/dist/Toolbar-CZSPZYbj.js +3153 -0
  39. package/dist/{TplModal-Bz4-IZ9R.js → TplModal-DCzBzicE.js} +19 -19
  40. package/dist/{VersionHistoryMenu-CjV1d1zk.js → VersionHistoryMenu-BQeWPT85.js} +35 -35
  41. package/dist/{VersionHistoryPanels-BtwxrKJn.js → VersionHistoryPanels-BBm7YbRQ.js} +5 -5
  42. package/dist/{VersionPreviewBanner-BLAei1kj.js → VersionPreviewBanner-DUGF0tUJ.js} +10 -10
  43. package/dist/WrapperBlock-BO619LAb.js +45 -0
  44. package/dist/aiErrors-D5UOoYOt.js +41 -0
  45. package/dist/aiImageContext-BH4Ss1h3.js +48 -0
  46. package/dist/aiRewritePreview-DLGM05Ge.js +44 -0
  47. package/dist/{blockTypeIcons-CEDZytqP.js → blockTypeIcons-NzaYvAI4.js} +15 -14
  48. package/dist/bundle-stats.json +8 -8
  49. package/dist/{cdn/chunks/ca-CbNzJM3I.js → ca-C7mTzW1r.js} +147 -8
  50. package/dist/cdn/chunks/AiAltTextPopover-CQu0Q_ZX.js +107 -0
  51. package/dist/cdn/chunks/AiAltTextPopover-CQu0Q_ZX.js.map +1 -0
  52. package/dist/cdn/chunks/AiAltTextReview-CI2HbWfn.js +207 -0
  53. package/dist/cdn/chunks/AiAltTextReview-CI2HbWfn.js.map +1 -0
  54. package/dist/cdn/chunks/AiChatPanel-BYqn1bKu.js +476 -0
  55. package/dist/cdn/chunks/AiChatPanel-BYqn1bKu.js.map +1 -0
  56. package/dist/cdn/chunks/AiHeaderMenu-oldAAFyL.js +37 -0
  57. package/dist/cdn/chunks/AiHeaderMenu-oldAAFyL.js.map +1 -0
  58. package/dist/cdn/chunks/AiPanels-CIFKQv8Y.js +34 -0
  59. package/dist/cdn/chunks/AiPanels-CIFKQv8Y.js.map +1 -0
  60. package/dist/cdn/chunks/AiRewriteMenu-Bhh71zcc.js +208 -0
  61. package/dist/cdn/chunks/AiRewriteMenu-Bhh71zcc.js.map +1 -0
  62. package/dist/cdn/chunks/{BlockIssueBadge-C7sdnkrF.js → BlockIssueBadge-DAn2vsMJ.js} +13 -13
  63. package/dist/cdn/chunks/{BlockIssueBadge-C7sdnkrF.js.map → BlockIssueBadge-DAn2vsMJ.js.map} +1 -1
  64. package/dist/cdn/chunks/{BlockPreviewCanvas-vK5tBazr.js → BlockPreviewCanvas-D0--EQkP.js} +39 -39
  65. package/dist/cdn/chunks/{BlockPreviewCanvas-vK5tBazr.js.map → BlockPreviewCanvas-D0--EQkP.js.map} +1 -1
  66. package/dist/cdn/chunks/CloudHeaderExtras-DaUU8P8R.js +25 -0
  67. package/dist/cdn/chunks/CloudHeaderExtras-DaUU8P8R.js.map +1 -0
  68. package/dist/cdn/chunks/{CloudPanels-awqHfJqC.js → CloudPanels-C3jsxo_f.js} +52 -100
  69. package/dist/cdn/chunks/CloudPanels-C3jsxo_f.js.map +1 -0
  70. package/dist/cdn/chunks/CollaborationNotices-DjRI8gvs.js +78 -0
  71. package/dist/cdn/chunks/CollaborationNotices-DjRI8gvs.js.map +1 -0
  72. package/dist/cdn/chunks/CollaboratorBar-Dfzm6A9A.js +72 -0
  73. package/dist/cdn/chunks/CollaboratorBar-Dfzm6A9A.js.map +1 -0
  74. package/dist/cdn/chunks/CommentsPanel-CSO79OeX.js +20 -0
  75. package/dist/cdn/chunks/{CommentsPanel-CbzxwsyI.js.map → CommentsPanel-CSO79OeX.js.map} +1 -1
  76. package/dist/cdn/chunks/CommentsSidebar-CCvplq1Z.js +470 -0
  77. package/dist/cdn/chunks/{CommentsSidebar-DWPHZuQm.js.map → CommentsSidebar-CCvplq1Z.js.map} +1 -1
  78. package/dist/{CountdownBlock-zx39Dyby.js → cdn/chunks/CountdownBlock-C6USdwk3.js} +19 -17
  79. package/dist/cdn/chunks/{CountdownBlock-Dasj191h.js.map → CountdownBlock-C6USdwk3.js.map} +1 -1
  80. package/dist/cdn/chunks/{CountdownToolbar-Cqg8FUH-.js → CountdownToolbar-Cjud2Tos.js} +71 -71
  81. package/dist/cdn/chunks/{CountdownToolbar-Cqg8FUH-.js.map → CountdownToolbar-Cjud2Tos.js.map} +1 -1
  82. package/dist/cdn/chunks/IssuesPanel-BaWHPDxZ.js +340 -0
  83. package/dist/cdn/chunks/IssuesPanel-BaWHPDxZ.js.map +1 -0
  84. package/dist/cdn/chunks/{LoadingTrack-DbH97JR9.js → LoadingTrack-BIcL4NiY.js} +2 -2
  85. package/dist/cdn/chunks/{LoadingTrack-DbH97JR9.js.map → LoadingTrack-BIcL4NiY.js.map} +1 -1
  86. package/dist/cdn/chunks/{LogicTagInsertButton-BMB9vShs.js → LogicTagInsertButton-CsL2JDOG.js} +374 -369
  87. package/dist/cdn/chunks/LogicTagInsertButton-CsL2JDOG.js.map +1 -0
  88. package/dist/{MediaEditModal-ByOvznRC.js → cdn/chunks/MediaEditModal-BuHCiyMu.js} +544 -560
  89. package/dist/cdn/chunks/MediaEditModal-BuHCiyMu.js.map +1 -0
  90. package/dist/cdn/chunks/MediaPanels-DAgUf_T1.js +45 -0
  91. package/dist/cdn/chunks/{MediaPanels-Cp4XB_dH.js.map → MediaPanels-DAgUf_T1.js.map} +1 -1
  92. package/dist/cdn/chunks/{MergeTagInput-DLqrA9co.js → MergeTagInput-C8U-7LxL.js} +34 -34
  93. package/dist/cdn/chunks/{MergeTagInput-DLqrA9co.js.map → MergeTagInput-C8U-7LxL.js.map} +1 -1
  94. package/dist/cdn/chunks/{MergeTagModeToggle-BRiJzzn5.js → MergeTagModeToggle-Mm-p0A52.js} +41 -41
  95. package/dist/cdn/chunks/{MergeTagModeToggle-BRiJzzn5.js.map → MergeTagModeToggle-Mm-p0A52.js.map} +1 -1
  96. package/dist/cdn/chunks/MergeTagTextarea-DuLScsWM.js +72 -0
  97. package/dist/cdn/chunks/MergeTagTextarea-DuLScsWM.js.map +1 -0
  98. package/dist/cdn/chunks/ParagraphEditor-CqSj6Ayz.js +634 -0
  99. package/dist/cdn/chunks/ParagraphEditor-CqSj6Ayz.js.map +1 -0
  100. package/dist/cdn/chunks/{RestoreVersionDialog-BgR6RXSb.js → RestoreVersionDialog-CdA5osuA.js} +26 -26
  101. package/dist/cdn/chunks/{RestoreVersionDialog-BgR6RXSb.js.map → RestoreVersionDialog-CdA5osuA.js.map} +1 -1
  102. package/dist/cdn/chunks/{RichTextEditorContent-C4DMAn0g.js → RichTextEditorContent-Q1d2xqBT.js} +46 -46
  103. package/dist/cdn/chunks/{RichTextEditorContent-C4DMAn0g.js.map → RichTextEditorContent-Q1d2xqBT.js.map} +1 -1
  104. package/dist/cdn/chunks/{SaveBlockDialog-BaIsQd09.js → SaveBlockDialog-CijargAy.js} +78 -78
  105. package/dist/cdn/chunks/{SaveBlockDialog-BaIsQd09.js.map → SaveBlockDialog-CijargAy.js.map} +1 -1
  106. package/dist/cdn/chunks/SavedBlocksBrowserModal-DtOz_X5S.js +357 -0
  107. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CtnB58p_.js.map → SavedBlocksBrowserModal-DtOz_X5S.js.map} +1 -1
  108. package/dist/cdn/chunks/SavedBlocksPanels-BowyED5h.js +38 -0
  109. package/dist/cdn/chunks/{SavedBlocksPanels-BhEOMzEQ.js.map → SavedBlocksPanels-BowyED5h.js.map} +1 -1
  110. package/dist/cdn/chunks/{SavedBlocksPickBar-CcdqTEIp.js → SavedBlocksPickBar-BPRaJBv3.js} +19 -19
  111. package/dist/cdn/chunks/{SavedBlocksPickBar-CcdqTEIp.js.map → SavedBlocksPickBar-BPRaJBv3.js.map} +1 -1
  112. package/dist/cdn/chunks/TemplateSettings-ByZeBO34.js +209 -0
  113. package/dist/cdn/chunks/{TemplateSettings-BkkWTDHD.js.map → TemplateSettings-ByZeBO34.js.map} +1 -1
  114. package/dist/cdn/chunks/{TestEmailModal-V5mwHsUV.js → TestEmailModal-BUVTj3Ic.js} +54 -54
  115. package/dist/cdn/chunks/{TestEmailModal-V5mwHsUV.js.map → TestEmailModal-BUVTj3Ic.js.map} +1 -1
  116. package/dist/cdn/chunks/TestEmailPanel-BxutYoWg.js +35 -0
  117. package/dist/cdn/chunks/{TestEmailPanel-DxrKuctP.js.map → TestEmailPanel-BxutYoWg.js.map} +1 -1
  118. package/dist/cdn/chunks/TitleEditor-Ccv6uoTz.js +199 -0
  119. package/dist/cdn/chunks/{TitleEditor-CsZiG3TT.js.map → TitleEditor-Ccv6uoTz.js.map} +1 -1
  120. package/dist/cdn/chunks/ToggleSwitch-Ctdmj621.js +39 -0
  121. package/dist/cdn/chunks/ToggleSwitch-Ctdmj621.js.map +1 -0
  122. package/dist/cdn/chunks/{Toolbar-C_x2TfFk.js → Toolbar-DoprRgTn.js} +1097 -1101
  123. package/dist/cdn/chunks/Toolbar-DoprRgTn.js.map +1 -0
  124. package/dist/cdn/chunks/{TplModal-DC_eodTV.js → TplModal-BXQzmsJX.js} +21 -21
  125. package/dist/cdn/chunks/{TplModal-DC_eodTV.js.map → TplModal-BXQzmsJX.js.map} +1 -1
  126. package/dist/cdn/chunks/{VersionHistoryMenu-DXnM5Df2.js → VersionHistoryMenu-BF2fNCvq.js} +41 -41
  127. package/dist/cdn/chunks/{VersionHistoryMenu-DXnM5Df2.js.map → VersionHistoryMenu-BF2fNCvq.js.map} +1 -1
  128. package/dist/cdn/chunks/VersionHistoryPanels-Dal0Uk69.js +48 -0
  129. package/dist/cdn/chunks/{VersionHistoryPanels-DXSqmaLS.js.map → VersionHistoryPanels-Dal0Uk69.js.map} +1 -1
  130. package/dist/cdn/chunks/{VersionPreviewBanner-DKyN6BhO.js → VersionPreviewBanner-BaGcn-b1.js} +13 -13
  131. package/dist/cdn/chunks/{VersionPreviewBanner-DKyN6BhO.js.map → VersionPreviewBanner-BaGcn-b1.js.map} +1 -1
  132. package/dist/cdn/chunks/WrapperBlock-DkQJtLz0.js +47 -0
  133. package/dist/cdn/chunks/{WrapperBlock-gG_Bleug.js.map → WrapperBlock-DkQJtLz0.js.map} +1 -1
  134. package/dist/cdn/chunks/aiErrors-D5UOoYOt.js +43 -0
  135. package/dist/cdn/chunks/aiErrors-D5UOoYOt.js.map +1 -0
  136. package/dist/cdn/chunks/aiImageContext-BH4Ss1h3.js +50 -0
  137. package/dist/cdn/chunks/aiImageContext-BH4Ss1h3.js.map +1 -0
  138. package/dist/cdn/chunks/aiRewritePreview-DLGM05Ge.js +46 -0
  139. package/dist/cdn/chunks/aiRewritePreview-DLGM05Ge.js.map +1 -0
  140. package/dist/cdn/chunks/blockTypeIcons-ikZAmd6U.js +22 -0
  141. package/dist/cdn/chunks/{blockTypeIcons-HrMJDfVg.js.map → blockTypeIcons-ikZAmd6U.js.map} +1 -1
  142. package/dist/{ca-CbNzJM3I.js → cdn/chunks/ca-C7mTzW1r.js} +149 -6
  143. package/dist/cdn/chunks/ca-C7mTzW1r.js.map +1 -0
  144. package/dist/cdn/chunks/createCloudRuntime-DpBWhrv3.js +1408 -0
  145. package/dist/cdn/chunks/createCloudRuntime-DpBWhrv3.js.map +1 -0
  146. package/dist/cdn/chunks/de-DBOTcDj2.js +22 -0
  147. package/dist/cdn/chunks/de-DBOTcDj2.js.map +1 -0
  148. package/dist/{de-DMquBpZM.js → cdn/chunks/de-DNuYQTmS.js} +149 -6
  149. package/dist/cdn/chunks/de-DNuYQTmS.js.map +1 -0
  150. package/dist/{dist-CUWI-IvA.js → cdn/chunks/dist-Bo8Thh8v.js} +60 -58
  151. package/dist/cdn/chunks/{dist-CjL6JHML.js.map → dist-Bo8Thh8v.js.map} +1 -1
  152. package/dist/cdn/chunks/dist-S-rLGqax.js +406 -0
  153. package/dist/cdn/chunks/{dist-MNQYSEWU.js.map → dist-S-rLGqax.js.map} +1 -1
  154. package/dist/cdn/chunks/{draggable-DrsNwZuB.js → draggable-DZ0gwUJ6.js} +1359 -1266
  155. package/dist/cdn/chunks/draggable-DZ0gwUJ6.js.map +1 -0
  156. package/dist/cdn/chunks/{editor-modal-vEEmZ8Tu.js → editor-modal-CI6EfeMd.js} +881 -881
  157. package/dist/cdn/chunks/{editor-modal-vEEmZ8Tu.js.map → editor-modal-CI6EfeMd.js.map} +1 -1
  158. package/dist/cdn/chunks/en-CDhWRrF_.js +22 -0
  159. package/dist/cdn/chunks/en-CDhWRrF_.js.map +1 -0
  160. package/dist/{en-C8Mp71sO.js → cdn/chunks/en-CW71OK66.js} +149 -6
  161. package/dist/cdn/chunks/en-CW71OK66.js.map +1 -0
  162. package/dist/cdn/chunks/en-ifvu6oPv.js +1 -0
  163. package/dist/{es-Byq4tthI.js → cdn/chunks/es-DdK7zQfi.js} +149 -6
  164. package/dist/cdn/chunks/es-DdK7zQfi.js.map +1 -0
  165. package/dist/cdn/chunks/{extensions-hJ9VqzDc.js → extensions-taJTZlLK.js} +71 -71
  166. package/dist/cdn/chunks/{extensions-hJ9VqzDc.js.map → extensions-taJTZlLK.js.map} +1 -1
  167. package/dist/{fr-B3j35HEw.js → cdn/chunks/fr-Dz5Bgb7-.js} +149 -6
  168. package/dist/cdn/chunks/fr-Dz5Bgb7-.js.map +1 -0
  169. package/dist/cdn/chunks/{icons-aTYwH5-g.js → icons-DNX6StSs.js} +183 -150
  170. package/dist/cdn/chunks/icons-DNX6StSs.js.map +1 -0
  171. package/dist/{ja-D7txAuGS.js → cdn/chunks/ja-Di-zJiT8.js} +149 -6
  172. package/dist/cdn/chunks/ja-Di-zJiT8.js.map +1 -0
  173. package/dist/cdn/chunks/keys-BTpmg2Tt.js +12 -0
  174. package/dist/cdn/chunks/keys-BTpmg2Tt.js.map +1 -0
  175. package/dist/{logger-BBlvSn6q.js → cdn/chunks/logger-Tj0RPskW.js} +7 -1
  176. package/dist/cdn/chunks/logger-Tj0RPskW.js.map +1 -0
  177. package/dist/{nl-ClJ3BY3F.js → cdn/chunks/nl-CvVuHYFL.js} +149 -6
  178. package/dist/cdn/chunks/nl-CvVuHYFL.js.map +1 -0
  179. package/dist/cdn/chunks/normalizeMergeTagMarkup-DyePIGqu.js +199 -0
  180. package/dist/cdn/chunks/normalizeMergeTagMarkup-DyePIGqu.js.map +1 -0
  181. package/dist/cdn/chunks/{preRenderCustomBlocks-ByfuSjtL.js → preRenderCustomBlocks-Dc-QLntG.js} +4 -4
  182. package/dist/cdn/chunks/{preRenderCustomBlocks-ByfuSjtL.js.map → preRenderCustomBlocks-Dc-QLntG.js.map} +1 -1
  183. package/dist/cdn/chunks/pt-BR-CHM-ZKvE.js +22 -0
  184. package/dist/cdn/chunks/pt-BR-CHM-ZKvE.js.map +1 -0
  185. package/dist/{pt-BR-DibcXcmv.js → cdn/chunks/pt-BR-ZhO4vgyq.js} +149 -6
  186. package/dist/cdn/chunks/pt-BR-ZhO4vgyq.js.map +1 -0
  187. package/dist/cdn/chunks/{pusher-C8DeiO2X.js → pusher-Cs4GGEtd.js} +2 -2
  188. package/dist/cdn/chunks/pusher-Cs4GGEtd.js.map +1 -0
  189. package/dist/cdn/chunks/{rolldown-runtime-B0aSnxlc.js → rolldown-runtime-Y_bBpyJl.js} +1 -1
  190. package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js +62 -0
  191. package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js.map +1 -0
  192. package/dist/cdn/chunks/socialIcons-BBvsTwCV.js +2032 -0
  193. package/dist/cdn/chunks/socialIcons-BBvsTwCV.js.map +1 -0
  194. package/dist/cdn/chunks/{src-DYCDeBDM.js → src-BNFnxfrA.js} +694 -329
  195. package/dist/cdn/chunks/src-BNFnxfrA.js.map +1 -0
  196. package/dist/cdn/chunks/{src-dZ4D_tuP.js → src-BcTUmgLe.js} +181 -181
  197. package/dist/cdn/chunks/src-BcTUmgLe.js.map +1 -0
  198. package/dist/cdn/chunks/src-Bs_yxk3h.js +4392 -0
  199. package/dist/cdn/chunks/src-Bs_yxk3h.js.map +1 -0
  200. package/dist/cdn/chunks/{styleConstants-D1Jz-TFU.js → styleConstants-v1dNKgJf.js} +2 -4
  201. package/dist/cdn/chunks/{styleConstants-D1Jz-TFU.js.map → styleConstants-v1dNKgJf.js.map} +1 -1
  202. package/dist/cdn/chunks/{tiptap-BPigZk5G.js → tiptap-CtVrAViq.js} +44 -44
  203. package/dist/cdn/chunks/tiptap-CtVrAViq.js.map +1 -0
  204. package/dist/cdn/chunks/{useCloudI18n-BBF4waXO.js → useCloudI18n-AVXhzbhQ.js} +4 -4
  205. package/dist/cdn/chunks/{useCloudI18n-BBF4waXO.js.map → useCloudI18n-AVXhzbhQ.js.map} +1 -1
  206. package/dist/cdn/chunks/useEditorCore-CCVFi1YZ.js +2586 -0
  207. package/dist/cdn/chunks/useEditorCore-CCVFi1YZ.js.map +1 -0
  208. package/dist/cdn/chunks/useEditorRoot-CR5GjJD6.js +10 -0
  209. package/dist/cdn/chunks/{useEditorRoot-CTc6O8al.js.map → useEditorRoot-CR5GjJD6.js.map} +1 -1
  210. package/dist/cdn/chunks/{useI18n-DUlyyIJJ.js → useI18n-CbVubQhM.js} +3 -3
  211. package/dist/cdn/chunks/{useI18n-DUlyyIJJ.js.map → useI18n-CbVubQhM.js.map} +1 -1
  212. package/dist/cdn/chunks/{useLogicTag-HsyUCQtl.js → useLogicTag-B49Nc53Y.js} +5 -5
  213. package/dist/cdn/chunks/{useLogicTag-HsyUCQtl.js.map → useLogicTag-B49Nc53Y.js.map} +1 -1
  214. package/dist/cdn/chunks/{useMergeTag-Dg9pE85U.js → useMergeTag-B0KryMj8.js} +7 -7
  215. package/dist/cdn/chunks/{useMergeTag-Dg9pE85U.js.map → useMergeTag-B0KryMj8.js.map} +1 -1
  216. package/dist/cdn/chunks/{usePopoverPosition-IbaW6-Ao.js → usePopoverPosition-C829ps5i.js} +4 -4
  217. package/dist/cdn/chunks/{usePopoverPosition-IbaW6-Ao.js.map → usePopoverPosition-C829ps5i.js.map} +1 -1
  218. package/dist/cdn/chunks/useScrollToBlock-CAwvulog.js +51 -0
  219. package/dist/cdn/chunks/useScrollToBlock-CAwvulog.js.map +1 -0
  220. package/dist/cdn/chunks/{withCurrentFont-oLcATrQ8.js → withCurrentFont-DFPXeVfG.js} +2 -2
  221. package/dist/cdn/chunks/{withCurrentFont-oLcATrQ8.js.map → withCurrentFont-DFPXeVfG.js.map} +1 -1
  222. package/dist/cdn/editor.css +1 -1
  223. package/dist/cdn/editor.js +2235 -1311
  224. package/dist/cdn/editor.js.map +1 -1
  225. package/dist/{check-ClwqRMgv.js → check-yYsp5Xpk.js} +1 -1
  226. package/dist/{chevron-down-te6qn-zE.js → chevron-down-DTmD06_j.js} +1 -1
  227. package/dist/{chevron-right-W2hbH1FM.js → chevron-right-BSeYZOxc.js} +1 -1
  228. package/dist/{chevron-up-Bf5Zo7o4.js → chevron-up-BOApwrxi.js} +1 -1
  229. package/dist/{circle-alert-CIEGV5DN.js → circle-alert-BMszY8im.js} +1 -1
  230. package/dist/{clock-Y4cx0gkJ.js → clock-HADxnl6-.js} +1 -1
  231. package/dist/createCloudRuntime-DVQI_ReU.js +1379 -0
  232. package/dist/{createLucideIcon-CYHXK9hn.js → createLucideIcon-0lYYH3EW.js} +6 -6
  233. package/dist/de-DBOTcDj2.js +20 -0
  234. package/dist/{cdn/chunks/de-DMquBpZM.js → de-DNuYQTmS.js} +147 -8
  235. package/dist/{cdn/chunks/dist-CjL6JHML.js → dist-C7EtxNCb.js} +49 -51
  236. package/dist/{dist-DuufrR8O.js → dist-C_dV9QAx.js} +130 -130
  237. package/dist/{cdn/chunks/dist-MNQYSEWU.js → dist-DI4_YSnG.js} +111 -110
  238. package/dist/{dist-tsmnQugO.js → dist-DtOF3bDW.js} +648 -294
  239. package/dist/{editor-modal-AlVLkU91.js → editor-modal-Bzhl-PgI.js} +832 -834
  240. package/dist/en-CDhWRrF_.js +20 -0
  241. package/dist/{cdn/chunks/en-C8Mp71sO.js → en-CW71OK66.js} +147 -8
  242. package/dist/en-DwV15ltA.js +1 -0
  243. package/dist/{cdn/chunks/es-Byq4tthI.js → es-DdK7zQfi.js} +147 -8
  244. package/dist/{extensions-pjO8VGkM.js → extensions-CdyweA50.js} +54 -54
  245. package/dist/{eye-Ddnz8nnm.js → eye-DWkSvYpj.js} +1 -1
  246. package/dist/{cdn/chunks/fr-B3j35HEw.js → fr-Dz5Bgb7-.js} +147 -8
  247. package/dist/image-DesWjcZ4.js +28 -0
  248. package/dist/index.d.ts +640 -48
  249. package/dist/{info-DXLmzoeY.js → info-ClWJGoZy.js} +1 -1
  250. package/dist/{cdn/chunks/ja-D7txAuGS.js → ja-Di-zJiT8.js} +147 -8
  251. package/dist/keys-Zd9KWRD1.js +10 -0
  252. package/dist/{link-Cel46wgo.js → link-BqRicFTA.js} +1 -1
  253. package/dist/{list-Cl0GwiV9.js → list-bojQr9bn.js} +1 -1
  254. package/dist/{loader-circle-uAwpvfys.js → loader-circle-B2B8LbUu.js} +1 -1
  255. package/dist/{cdn/chunks/logger-ByvdoAwq.js → logger-k9Nbj3Cp.js} +5 -3
  256. package/dist/{message-circle-DWU1pTM_.js → message-circle-BEuiNsyZ.js} +1 -1
  257. package/dist/{cdn/chunks/nl-ClJ3BY3F.js → nl-CvVuHYFL.js} +147 -8
  258. package/dist/normalizeMergeTagMarkup-P6SUBuPv.js +197 -0
  259. package/dist/{package-CbyG_yU_.js → package-DCROB4aM.js} +1 -1
  260. package/dist/{pencil-BzoDcwKu.js → pencil-CEotCKbf.js} +1 -1
  261. package/dist/{preRenderCustomBlocks-DMP5RuHl.js → preRenderCustomBlocks-D8rr61_z.js} +3 -3
  262. package/dist/pt-BR-CHM-ZKvE.js +20 -0
  263. package/dist/{cdn/chunks/pt-BR-DibcXcmv.js → pt-BR-ZhO4vgyq.js} +147 -8
  264. package/dist/{refresh-cw-9WinWixo.js → refresh-cw-C6M2mHNC.js} +12 -2
  265. package/dist/{runtime-dom.esm-bundler-lFF-QG3j.js → runtime-dom.esm-bundler-B8WCZWUm.js} +134 -134
  266. package/dist/sanitizeRichTextHtml-DeISfLFr.js +60 -0
  267. package/dist/{search-CqgGq1gG.js → search-Cy99zPYf.js} +1 -1
  268. package/dist/{send-Ceo3c9Db.js → send-BDLJFsf3.js} +1 -1
  269. package/dist/{smartphone-CcLaCpGK.js → smartphone-CVvQaNA4.js} +1 -1
  270. package/dist/socialIcons-Dd-jRiVe.js +2086 -0
  271. package/dist/{sparkles-Do9XjAuT.js → sparkles-Ce0Qz0ox.js} +1 -1
  272. package/dist/square-BWlolnXe.js +15 -0
  273. package/dist/style.css +1 -1
  274. package/dist/{styleConstants-D1Jz-TFU.js → styleConstants-v1dNKgJf.js} +1 -3
  275. package/dist/templatical-editor.js +2272 -1327
  276. package/dist/{text-align-start-DvzC0HQA.js → text-align-start-D1V5gPTy.js} +1 -1
  277. package/dist/{trash-vlINTx32.js → trash-CZfiUFmw.js} +1 -1
  278. package/dist/{triangle-alert-MRYSJ9T2.js → triangle-alert-CFDzyFC7.js} +1 -1
  279. package/dist/upload-BJfvdIrD.js +36 -0
  280. package/dist/{useCloudI18n-Nwqo7pI_.js → useCloudI18n-Dcjua65H.js} +5 -5
  281. package/dist/{useEditorCore-PvErWWsp.js → useEditorCore-BTLeAVlM.js} +1534 -1549
  282. package/dist/{useEditorRoot-BD3piYtD.js → useEditorRoot-DUy67lJu.js} +2 -2
  283. package/dist/{useI18n-CxVEpurs.js → useI18n-BdoY7xDE.js} +4 -4
  284. package/dist/{useLogicTag-BHn67tDd.js → useLogicTag-DKLZ1T9H.js} +3 -3
  285. package/dist/{useMergeTag-CRkm5Ig6.js → useMergeTag-Bhdx7AKk.js} +5 -5
  286. package/dist/{usePopoverPosition-CwnH1o5g.js → usePopoverPosition-BZea45XK.js} +2 -2
  287. package/dist/useScrollToBlock-FmNMALM_.js +74 -0
  288. package/dist/{vue.runtime.esm-bundler-CAzmrXdD.js → vue.runtime.esm-bundler-DgFJ6GPG.js} +1182 -1087
  289. package/dist/{withCurrentFont-CxRGeHO3.js → withCurrentFont-BATJHNve.js} +1 -1
  290. package/dist/{x-Cd6SFw8r.js → x-CZ0Js0hA.js} +1 -1
  291. package/package.json +17 -15
  292. package/dist/AiChatSidebar-DxPHFNoT.js +0 -230
  293. package/dist/AiFeatureMenu-C8GVqu1d.js +0 -57
  294. package/dist/CloudHeaderExtras-CUSftQdm.js +0 -59
  295. package/dist/CloudPanels-Dgw7tb4R.js +0 -216
  296. package/dist/CollaboratorBar-5rfopCPx.js +0 -103
  297. package/dist/CommentsSidebar-BOqj16Al.js +0 -500
  298. package/dist/DesignReferenceSidebar-BWAi3eQQ.js +0 -279
  299. package/dist/IssuesPanel-C-x3I012.js +0 -117
  300. package/dist/ParagraphEditor-BVjOwwHx.js +0 -797
  301. package/dist/SavedBlocksBrowserModal-DbmIS5uK.js +0 -360
  302. package/dist/TemplateScoringPanel-ynbGl-sr.js +0 -273
  303. package/dist/TemplateSettings-Bi01S3H3.js +0 -246
  304. package/dist/ToggleSwitch-Ozc7YU38.js +0 -102
  305. package/dist/Toolbar-B-2lO0I8.js +0 -3156
  306. package/dist/WrapperBlock-D0qgNqjD.js +0 -45
  307. package/dist/cdn/chunks/AiChatSidebar-Dk0rJBQN.js +0 -205
  308. package/dist/cdn/chunks/AiChatSidebar-Dk0rJBQN.js.map +0 -1
  309. package/dist/cdn/chunks/AiFeatureMenu-B7b0w8ZS.js +0 -57
  310. package/dist/cdn/chunks/AiFeatureMenu-B7b0w8ZS.js.map +0 -1
  311. package/dist/cdn/chunks/CloudHeaderExtras-B4fhuwc_.js +0 -60
  312. package/dist/cdn/chunks/CloudHeaderExtras-B4fhuwc_.js.map +0 -1
  313. package/dist/cdn/chunks/CloudPanels-awqHfJqC.js.map +0 -1
  314. package/dist/cdn/chunks/CollaboratorBar-CS0ivqkr.js +0 -52
  315. package/dist/cdn/chunks/CollaboratorBar-CS0ivqkr.js.map +0 -1
  316. package/dist/cdn/chunks/CommentsPanel-CbzxwsyI.js +0 -20
  317. package/dist/cdn/chunks/CommentsSidebar-DWPHZuQm.js +0 -470
  318. package/dist/cdn/chunks/DesignReferenceSidebar-BW9cHnA9.js +0 -229
  319. package/dist/cdn/chunks/DesignReferenceSidebar-BW9cHnA9.js.map +0 -1
  320. package/dist/cdn/chunks/IssuesPanel-cXf9ywA4.js +0 -100
  321. package/dist/cdn/chunks/IssuesPanel-cXf9ywA4.js.map +0 -1
  322. package/dist/cdn/chunks/LogicTagInsertButton-BMB9vShs.js.map +0 -1
  323. package/dist/cdn/chunks/MediaEditModal-zXfcArr4.js.map +0 -1
  324. package/dist/cdn/chunks/MediaPanels-Cp4XB_dH.js +0 -45
  325. package/dist/cdn/chunks/ParagraphEditor-D4aq9eeC.js +0 -632
  326. package/dist/cdn/chunks/ParagraphEditor-D4aq9eeC.js.map +0 -1
  327. package/dist/cdn/chunks/SavedBlocksPanels-BhEOMzEQ.js +0 -38
  328. package/dist/cdn/chunks/TemplateScoringPanel-BrWqJCSP.js +0 -237
  329. package/dist/cdn/chunks/TemplateScoringPanel-BrWqJCSP.js.map +0 -1
  330. package/dist/cdn/chunks/TemplateSettings-BkkWTDHD.js +0 -208
  331. package/dist/cdn/chunks/TestEmailPanel-DxrKuctP.js +0 -35
  332. package/dist/cdn/chunks/TitleEditor-CsZiG3TT.js +0 -199
  333. package/dist/cdn/chunks/ToggleSwitch-BB-bQADJ.js +0 -104
  334. package/dist/cdn/chunks/ToggleSwitch-BB-bQADJ.js.map +0 -1
  335. package/dist/cdn/chunks/Toolbar-C_x2TfFk.js.map +0 -1
  336. package/dist/cdn/chunks/VersionHistoryPanels-DXSqmaLS.js +0 -48
  337. package/dist/cdn/chunks/WrapperBlock-gG_Bleug.js +0 -47
  338. package/dist/cdn/chunks/blockTypeIcons-HrMJDfVg.js +0 -22
  339. package/dist/cdn/chunks/ca-CbNzJM3I.js.map +0 -1
  340. package/dist/cdn/chunks/cloud-BHClP3e2.js +0 -1736
  341. package/dist/cdn/chunks/cloud-BHClP3e2.js.map +0 -1
  342. package/dist/cdn/chunks/createCloudRuntime-Vd0N4elZ.js +0 -400
  343. package/dist/cdn/chunks/createCloudRuntime-Vd0N4elZ.js.map +0 -1
  344. package/dist/cdn/chunks/de-DMquBpZM.js.map +0 -1
  345. package/dist/cdn/chunks/de-mMY5yQJu.js +0 -93
  346. package/dist/cdn/chunks/de-mMY5yQJu.js.map +0 -1
  347. package/dist/cdn/chunks/draggable-DrsNwZuB.js.map +0 -1
  348. package/dist/cdn/chunks/en-C8Mp71sO.js.map +0 -1
  349. package/dist/cdn/chunks/en-ChVeGQBY.js +0 -93
  350. package/dist/cdn/chunks/en-ChVeGQBY.js.map +0 -1
  351. package/dist/cdn/chunks/en-eWpiXyZu.js +0 -1
  352. package/dist/cdn/chunks/es-Byq4tthI.js.map +0 -1
  353. package/dist/cdn/chunks/fr-B3j35HEw.js.map +0 -1
  354. package/dist/cdn/chunks/icons-aTYwH5-g.js.map +0 -1
  355. package/dist/cdn/chunks/ja-D7txAuGS.js.map +0 -1
  356. package/dist/cdn/chunks/keys-HI-INbkz.js +0 -12
  357. package/dist/cdn/chunks/keys-HI-INbkz.js.map +0 -1
  358. package/dist/cdn/chunks/logger-ByvdoAwq.js.map +0 -1
  359. package/dist/cdn/chunks/nl-ClJ3BY3F.js.map +0 -1
  360. package/dist/cdn/chunks/pt-BR-CoCwRUi0.js +0 -93
  361. package/dist/cdn/chunks/pt-BR-CoCwRUi0.js.map +0 -1
  362. package/dist/cdn/chunks/pt-BR-DibcXcmv.js.map +0 -1
  363. package/dist/cdn/chunks/pusher-C8DeiO2X.js.map +0 -1
  364. package/dist/cdn/chunks/socialIcons-C_lnkpG6.js +0 -1279
  365. package/dist/cdn/chunks/socialIcons-C_lnkpG6.js.map +0 -1
  366. package/dist/cdn/chunks/src-DYCDeBDM.js.map +0 -1
  367. package/dist/cdn/chunks/src-DlFlC9Tt.js +0 -1272
  368. package/dist/cdn/chunks/src-DlFlC9Tt.js.map +0 -1
  369. package/dist/cdn/chunks/src-dZ4D_tuP.js.map +0 -1
  370. package/dist/cdn/chunks/timeouts-Cv2jvusx.js +0 -6
  371. package/dist/cdn/chunks/timeouts-Cv2jvusx.js.map +0 -1
  372. package/dist/cdn/chunks/tiptap-BPigZk5G.js.map +0 -1
  373. package/dist/cdn/chunks/useAliveFlag-DCB96vzR.js +0 -12
  374. package/dist/cdn/chunks/useAliveFlag-DCB96vzR.js.map +0 -1
  375. package/dist/cdn/chunks/useEditorCore-Bb2UcB20.js +0 -2602
  376. package/dist/cdn/chunks/useEditorCore-Bb2UcB20.js.map +0 -1
  377. package/dist/cdn/chunks/useEditorRoot-CTc6O8al.js +0 -10
  378. package/dist/cdn/chunks/useScrollToBlock-uUa601I4.js +0 -21
  379. package/dist/cdn/chunks/useScrollToBlock-uUa601I4.js.map +0 -1
  380. package/dist/cloud-B5xwm_4X.js +0 -1689
  381. package/dist/copy-BEcsAlfB.js +0 -19
  382. package/dist/createCloudRuntime-zNPkF6T9.js +0 -398
  383. package/dist/de-mMY5yQJu.js +0 -91
  384. package/dist/dist-DAAJogrx.js +0 -407
  385. package/dist/en-B0FUfNwz.js +0 -1
  386. package/dist/en-ChVeGQBY.js +0 -91
  387. package/dist/image-up-CM_HC0Dx.js +0 -27
  388. package/dist/keys-BKFq19a2.js +0 -10
  389. package/dist/plus-8cDvoCjZ.js +0 -14
  390. package/dist/pt-BR-CoCwRUi0.js +0 -91
  391. package/dist/shield-check-uDAwur5D.js +0 -14
  392. package/dist/socialIcons-PTiwhLoC.js +0 -1359
  393. package/dist/timeouts-Cv2jvusx.js +0 -4
  394. package/dist/upload-CtNOI6J2.js +0 -21
  395. package/dist/useAliveFlag-Dd06mRxe.js +0 -10
  396. package/dist/useScrollToBlock-CXmcHQQN.js +0 -47
@@ -1,797 +0,0 @@
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-CAzmrXdD.js";
2
- import { c as b, s as x } from "./runtime-dom.esm-bundler-lFF-QG3j.js";
3
- import { at as S } from "./dist-tsmnQugO.js";
4
- import { t as C } from "./dist-DAAJogrx.js";
5
- import { C as w, S as T, b as E, y as D } from "./useEditorCore-PvErWWsp.js";
6
- import { $ as O, A as k, E as A, J as j, Z as M, g as N, v as P } from "./keys-BKFq19a2.js";
7
- import { t as F } from "./useI18n-CxVEpurs.js";
8
- import { n as I } from "./usePopoverPosition-CwnH1o5g.js";
9
- import { t as L } from "./createLucideIcon-CYHXK9hn.js";
10
- import { i as ee, n as R, r as te, t as z } from "./RichTextEditorContent-D7kp7iig.js";
11
- import { c as B, l as ne, u as re } from "./LogicTagInsertButton-B1_Wy0AN.js";
12
- import { t as ie } from "./link-Cel46wgo.js";
13
- import { t as ae } from "./list-Cl0GwiV9.js";
14
- import { t as oe } from "./loader-circle-uAwpvfys.js";
15
- import { n as se, r as ce, t as le } from "./text-align-start-DvzC0HQA.js";
16
- import { t as V } from "./_plugin-vue_export-helper-B3ysoDQm.js";
17
- import { a as ue, n as de, o as fe, s as pe } from "./styleConstants-D1Jz-TFU.js";
18
- import { n as me, t as he } from "./withCurrentFont-CxRGeHO3.js";
19
- var H = L({
20
- name: "face-slightly-smiling",
21
- size: 24,
22
- node: [
23
- ["path", {
24
- d: "M15 10V9",
25
- key: "4dkmfx"
26
- }],
27
- ["path", {
28
- d: "M16.472 15a6 6 0 01-8.943 0",
29
- key: "7qomzy"
30
- }],
31
- ["path", {
32
- d: "M9 10V9",
33
- key: "1lazqi"
34
- }],
35
- ["circle", {
36
- cx: "12",
37
- cy: "12",
38
- r: "10",
39
- key: "1mglay"
40
- }]
41
- ],
42
- aliases: ["smile"]
43
- }), ge = L({
44
- name: "list-ordered",
45
- size: 24,
46
- node: [
47
- ["path", {
48
- d: "M11 5h10",
49
- key: "1cz7ny"
50
- }],
51
- ["path", {
52
- d: "M11 12h10",
53
- key: "1438ji"
54
- }],
55
- ["path", {
56
- d: "M11 19h10",
57
- key: "11t30w"
58
- }],
59
- ["path", {
60
- d: "M4 4h1v5",
61
- key: "10yrso"
62
- }],
63
- ["path", {
64
- d: "M4 9h2",
65
- key: "r1h2o0"
66
- }],
67
- ["path", {
68
- d: "M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",
69
- key: "xtkcd5"
70
- }]
71
- ]
72
- }), _e = L({
73
- name: "remove-formatting",
74
- size: 24,
75
- node: [
76
- ["path", {
77
- d: "M4 7V4h16v3",
78
- key: "9msm58"
79
- }],
80
- ["path", {
81
- d: "M5 20h6",
82
- key: "1h6pxn"
83
- }],
84
- ["path", {
85
- d: "M13 4 8 20",
86
- key: "kqq6aj"
87
- }],
88
- ["path", {
89
- d: "m15 15 5 5",
90
- key: "me55sn"
91
- }],
92
- ["path", {
93
- d: "m20 15-5 5",
94
- key: "11p7ol"
95
- }]
96
- ]
97
- }), ve = L({
98
- name: "strikethrough",
99
- size: 24,
100
- node: [
101
- ["path", {
102
- d: "M16 4H9a3 3 0 0 0-2.83 4",
103
- key: "43sutm"
104
- }],
105
- ["path", {
106
- d: "M14 12a4 4 0 0 1 0 8H6",
107
- key: "nlfj13"
108
- }],
109
- ["line", {
110
- x1: "4",
111
- x2: "20",
112
- y1: "12",
113
- y2: "12",
114
- key: "1e0a9i"
115
- }]
116
- ]
117
- }), ye = L({
118
- name: "subscript",
119
- size: 24,
120
- node: [
121
- ["path", {
122
- d: "m4 5 8 8",
123
- key: "1eunvl"
124
- }],
125
- ["path", {
126
- d: "m12 5-8 8",
127
- key: "1ah0jp"
128
- }],
129
- ["path", {
130
- d: "M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07",
131
- key: "e8ta8j"
132
- }]
133
- ]
134
- }), be = L({
135
- name: "superscript",
136
- size: 24,
137
- node: [
138
- ["path", {
139
- d: "m4 19 8-8",
140
- key: "hr47gm"
141
- }],
142
- ["path", {
143
- d: "m12 19-8-8",
144
- key: "1dhhmo"
145
- }],
146
- ["path", {
147
- d: "M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06",
148
- key: "1dfcux"
149
- }]
150
- ]
151
- }), xe = L({
152
- name: "text-align-justify",
153
- size: 24,
154
- node: [
155
- ["path", {
156
- d: "M3 5h18",
157
- key: "1u36vt"
158
- }],
159
- ["path", {
160
- d: "M3 12h18",
161
- key: "1i2n21"
162
- }],
163
- ["path", {
164
- d: "M3 19h18",
165
- key: "awlh7x"
166
- }]
167
- ],
168
- aliases: ["align-justify"]
169
- }), Se = L({
170
- name: "underline",
171
- size: 24,
172
- node: [["path", {
173
- d: "M6 4v6a6 6 0 0 0 12 0V4",
174
- key: "9kb039"
175
- }], ["line", {
176
- x1: "4",
177
- x2: "20",
178
- y1: "20",
179
- y2: "20",
180
- key: "nun2al"
181
- }]]
182
- }), U = [
183
- "aria-label",
184
- "title",
185
- "aria-expanded"
186
- ], W = ["aria-label"], G = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, K = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, q = ["aria-label", "onClick"], Ce = /* @__PURE__ */ y({
187
- __name: "EmojiPickerDropdown",
188
- emits: ["insert"],
189
- setup(t, { emit: n }) {
190
- let r = n, { categories: a, isOpen: d, toggle: f, close: h } = T(), { t: y, format: S } = F(), E = o(null), D = o(null), O = _(() => d.value);
191
- w(E, O), C(D, () => {
192
- d.value && h();
193
- });
194
- function k(e) {
195
- r("insert", e), h();
196
- }
197
- return (t, n) => (e(), l("div", {
198
- ref_key: "rootRef",
199
- ref: D,
200
- class: "tpl:relative"
201
- }, [c("button", {
202
- type: "button",
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),
207
- "aria-haspopup": "dialog",
208
- "aria-controls": "tpl-emoji-picker",
209
- onClick: n[0] ||= (...e) => s(f) && s(f)(...e)
210
- }, [u(s(H), {
211
- size: 16,
212
- "stroke-width": 2
213
- })], 10, U), s(d) ? (e(), l("div", {
214
- key: 0,
215
- id: "tpl-emoji-picker",
216
- ref_key: "pickerRef",
217
- ref: E,
218
- role: "dialog",
219
- "aria-modal": "false",
220
- "aria-label": s(y).paragraphEditor.insertEmoji,
221
- tabindex: "-1",
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)]",
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,
226
- class: "tpl:mb-2 tpl:last:mb-0"
227
- }, [c("div", G, p(s(y).emoji[t.key]), 1), c("div", K, [(e(!0), l(g, null, i(t.emojis, (t) => (e(), l("button", {
228
- key: t,
229
- type: "button",
230
- "aria-label": s(S)(s(y).paragraphEditor.emojiItemLabel, { emoji: t }),
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)]",
232
- onClick: (e) => k(t)
233
- }, p(t), 9, q))), 128))])]))), 128))], 40, W)) : v("", !0)], 512));
234
- }
235
- }), J = [
236
- "aria-label",
237
- "title",
238
- "aria-pressed"
239
- ], Y = /* @__PURE__ */ y({
240
- __name: "ToolbarIconButton",
241
- props: {
242
- icon: {},
243
- label: {},
244
- active: { type: Boolean },
245
- strokeWidth: {},
246
- size: {}
247
- },
248
- setup(t) {
249
- return (r, i) => (e(), l("button", {
250
- type: "button",
251
- class: m(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": t.active }]),
252
- "aria-label": t.label,
253
- title: t.label,
254
- "aria-pressed": t.active ? "true" : "false"
255
- }, [(e(), h(n(t.icon), {
256
- size: t.size ?? 16,
257
- "stroke-width": t.strokeWidth ?? 2
258
- }, null, 8, ["size", "stroke-width"]))], 10, J));
259
- }
260
- }), X = {}, Z = {
261
- class: "tpl:mx-1 tpl:h-6 tpl:w-px tpl:bg-[var(--tpl-border)]",
262
- "aria-hidden": "true"
263
- };
264
- function we(t, n) {
265
- return e(), l("span", Z);
266
- }
267
- var Q = /*#__PURE__*/ V(X, [["render", we]]), Te = [
268
- "value",
269
- "aria-label",
270
- "title"
271
- ], Ee = { value: "" }, De = ["value"], $ = /* @__PURE__ */ y({
272
- __name: "ToolbarSelect",
273
- props: {
274
- modelValue: {},
275
- options: {},
276
- label: {},
277
- placeholder: {},
278
- widthClass: {}
279
- },
280
- emits: ["update:modelValue"],
281
- setup(t, { emit: n }) {
282
- let r = t, a = n;
283
- function o(e) {
284
- a("update:modelValue", e.target.value);
285
- }
286
- function s(e) {
287
- return typeof e == "string" ? e : e.value;
288
- }
289
- function u(e) {
290
- return typeof e == "string" ? e : e.label;
291
- }
292
- let d = /* @__PURE__ */ new Set([
293
- "inherit",
294
- "initial",
295
- "unset",
296
- "revert",
297
- "revert-layer"
298
- ]), f = _(() => d.has(r.modelValue) ? "" : r.modelValue), h = _(() => {
299
- let e = f.value;
300
- return e === "" || r.options.some((t) => s(t) === e) ? r.options : [e, ...r.options];
301
- });
302
- return (n, r) => (e(), l("select", {
303
- 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 tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", t.widthClass ?? "tpl:w-20"]),
304
- value: f.value,
305
- "aria-label": t.label,
306
- title: t.label,
307
- onChange: o
308
- }, [c("option", Ee, p(t.placeholder ?? ""), 1), (e(!0), l(g, null, i(h.value, (t) => (e(), l("option", {
309
- key: s(t),
310
- value: s(t)
311
- }, p(u(t)), 9, De))), 128))], 42, Te));
312
- }
313
- });
314
- //#endregion
315
- //#region src/utils/richTextColor.ts
316
- function Oe(e, t) {
317
- return e || t || "#000000";
318
- }
319
- //#endregion
320
- //#region src/components/blocks/ParagraphToolbar.vue?vue&type=script&setup=true&lang.ts
321
- var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-center tpl:gap-1" }, je = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Me = ["aria-label", "title"], Ne = ["aria-label", "title"], Pe = {
322
- key: 1,
323
- class: "tpl:flex tpl:items-center tpl:gap-2 tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
324
- }, Fe = /* @__PURE__ */ y({
325
- __name: "ParagraphToolbar",
326
- props: {
327
- editor: {},
328
- toolbarPosition: {},
329
- isLoading: { type: Boolean },
330
- canRequestMergeTag: { type: Boolean },
331
- canInsertLogicTag: { type: Boolean }
332
- },
333
- emits: [
334
- "open-link-dialog",
335
- "add-merge-tag",
336
- "add-logic-tag"
337
- ],
338
- setup(n, { emit: r }) {
339
- let i = n, o = r, m = a(j, null), y = a(M, null), b = O(P, "ParagraphToolbar"), x = I(), S = a(k, null), C = a(A, null), w = a(N, null), T = _(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = F(), D = b.fonts, L = fe.map((e) => ({
340
- value: e,
341
- label: e === "normal" ? E.paragraphEditor.letterSpacingNormal : e
342
- }));
343
- function R(e) {
344
- i.editor?.chain().focus().insertContent(e).run();
345
- }
346
- function z(e) {
347
- return i.editor?.getAttributes("textStyle")[e] || "";
348
- }
349
- function V(e) {
350
- let t = i.editor?.chain().focus();
351
- e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
352
- }
353
- function H(e) {
354
- let t = i.editor?.chain().focus();
355
- e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
356
- }
357
- function U() {
358
- return i.editor?.isActive("link") ?? !1;
359
- }
360
- function W() {
361
- return i.editor?.getAttributes("link").color || "";
362
- }
363
- function G(e) {
364
- let t = i.editor?.chain().focus();
365
- t && (U() ? (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());
366
- }
367
- function K() {
368
- let e = w?.content.value.settings;
369
- return U() ? Oe(W(), e?.linkColor || e?.textColor) : Oe(z("color"), e?.textColor);
370
- }
371
- function q() {
372
- return U() ? W() : z("color");
373
- }
374
- function J() {
375
- return i.editor?.getAttributes("paragraph").lineHeight || "";
376
- }
377
- function X(e) {
378
- let t = i.editor?.chain().focus();
379
- e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
380
- }
381
- function Z(e) {
382
- let t = i.editor?.chain().focus();
383
- e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
384
- }
385
- function we() {
386
- return i.editor?.getAttributes("highlight").color || "";
387
- }
388
- function Te(e) {
389
- let t = i.editor?.chain().focus();
390
- e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
391
- }
392
- return (r, i) => s(x) && !T.value ? (e(), h(f, {
393
- key: 0,
394
- to: s(x)
395
- }, [c("div", {
396
- "data-tpl-theme": s(y),
397
- role: "toolbar",
398
- "aria-label": s(E).paragraphEditor.toolbar,
399
- 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)]",
400
- style: t({
401
- ...s(m),
402
- top: `${n.toolbarPosition.top}px`,
403
- left: `${n.toolbarPosition.left}px`,
404
- transform: "translateY(-100%)",
405
- flexDirection: "column"
406
- })
407
- }, [!n.isLoading && n.editor ? (e(), l(g, { key: 0 }, [c("div", Ae, [
408
- u($, {
409
- "model-value": s(he)(z("fontFamily")),
410
- options: s(me)(s(D), z("fontFamily")),
411
- label: s(E).paragraphEditor.fontFamily,
412
- placeholder: s(E).paragraphEditor.defaultFont,
413
- "width-class": "tpl:w-32",
414
- "onUpdate:modelValue": V
415
- }, null, 8, [
416
- "model-value",
417
- "options",
418
- "label",
419
- "placeholder"
420
- ]),
421
- u($, {
422
- "model-value": z("fontSize"),
423
- options: s(ue),
424
- label: s(E).paragraphEditor.fontSize,
425
- placeholder: s(E).paragraphEditor.defaultSize,
426
- "width-class": "tpl:w-20",
427
- "onUpdate:modelValue": H
428
- }, null, 8, [
429
- "model-value",
430
- "options",
431
- "label",
432
- "placeholder"
433
- ]),
434
- u(Q),
435
- u(B, {
436
- "swatch-only": "",
437
- size: "sm",
438
- "data-testid": "text-color-picker",
439
- "model-value": q(),
440
- "seed-color": K(),
441
- "aria-label": s(E).paragraphEditor.textColor,
442
- "onUpdate:modelValue": G
443
- }, null, 8, [
444
- "model-value",
445
- "seed-color",
446
- "aria-label"
447
- ]),
448
- u(B, {
449
- "swatch-only": "",
450
- size: "sm",
451
- "data-testid": "highlight-color-picker",
452
- "model-value": we(),
453
- "seed-color": s(de),
454
- "aria-label": s(E).paragraphEditor.highlightColor,
455
- "onUpdate:modelValue": Te
456
- }, null, 8, [
457
- "model-value",
458
- "seed-color",
459
- "aria-label"
460
- ]),
461
- u(Q),
462
- u(Y, {
463
- icon: s(ee),
464
- label: s(E).paragraphEditor.bold,
465
- active: n.editor.isActive("bold"),
466
- "stroke-width": 2.5,
467
- onClick: i[0] ||= (e) => n.editor.chain().focus().toggleBold().run()
468
- }, null, 8, [
469
- "icon",
470
- "label",
471
- "active"
472
- ]),
473
- u(Y, {
474
- icon: s(te),
475
- label: s(E).paragraphEditor.italic,
476
- active: n.editor.isActive("italic"),
477
- onClick: i[1] ||= (e) => n.editor.chain().focus().toggleItalic().run()
478
- }, null, 8, [
479
- "icon",
480
- "label",
481
- "active"
482
- ]),
483
- u(Y, {
484
- icon: s(Se),
485
- label: s(E).paragraphEditor.underline,
486
- active: n.editor.isActive("underline"),
487
- onClick: i[2] ||= (e) => n.editor.chain().focus().toggleUnderline().run()
488
- }, null, 8, [
489
- "icon",
490
- "label",
491
- "active"
492
- ]),
493
- u(Y, {
494
- icon: s(ve),
495
- label: s(E).paragraphEditor.strikethrough,
496
- active: n.editor.isActive("strike"),
497
- onClick: i[3] ||= (e) => n.editor.chain().focus().toggleStrike().run()
498
- }, null, 8, [
499
- "icon",
500
- "label",
501
- "active"
502
- ]),
503
- u(Q),
504
- u(Y, {
505
- icon: s(ye),
506
- label: s(E).paragraphEditor.subscript,
507
- active: n.editor.isActive("subscript"),
508
- onClick: i[4] ||= (e) => n.editor.chain().focus().toggleSubscript().run()
509
- }, null, 8, [
510
- "icon",
511
- "label",
512
- "active"
513
- ]),
514
- u(Y, {
515
- icon: s(be),
516
- label: s(E).paragraphEditor.superscript,
517
- active: n.editor.isActive("superscript"),
518
- onClick: i[5] ||= (e) => n.editor.chain().focus().toggleSuperscript().run()
519
- }, null, 8, [
520
- "icon",
521
- "label",
522
- "active"
523
- ]),
524
- u(Q),
525
- u(Y, {
526
- icon: s(ie),
527
- label: s(E).paragraphEditor.addLink,
528
- active: n.editor.isActive("link"),
529
- onClick: i[6] ||= (e) => o("open-link-dialog")
530
- }, null, 8, [
531
- "icon",
532
- "label",
533
- "active"
534
- ])
535
- ]), c("div", je, [
536
- u(Y, {
537
- icon: s(ae),
538
- label: s(E).paragraphEditor.bulletList,
539
- active: n.editor.isActive("bulletList"),
540
- onClick: i[7] ||= (e) => n.editor.chain().focus().toggleBulletList().run()
541
- }, null, 8, [
542
- "icon",
543
- "label",
544
- "active"
545
- ]),
546
- u(Y, {
547
- icon: s(ge),
548
- label: s(E).paragraphEditor.numberedList,
549
- active: n.editor.isActive("orderedList"),
550
- onClick: i[8] ||= (e) => n.editor.chain().focus().toggleOrderedList().run()
551
- }, null, 8, [
552
- "icon",
553
- "label",
554
- "active"
555
- ]),
556
- u(Q),
557
- u(Y, {
558
- icon: s(le),
559
- label: s(E).paragraphEditor.alignLeft,
560
- active: n.editor.isActive({ textAlign: "left" }),
561
- onClick: i[9] ||= (e) => n.editor.chain().focus().setTextAlign("left").run()
562
- }, null, 8, [
563
- "icon",
564
- "label",
565
- "active"
566
- ]),
567
- u(Y, {
568
- icon: s(ce),
569
- label: s(E).paragraphEditor.alignCenter,
570
- active: n.editor.isActive({ textAlign: "center" }),
571
- onClick: i[10] ||= (e) => n.editor.chain().focus().setTextAlign("center").run()
572
- }, null, 8, [
573
- "icon",
574
- "label",
575
- "active"
576
- ]),
577
- u(Y, {
578
- icon: s(se),
579
- label: s(E).paragraphEditor.alignRight,
580
- active: n.editor.isActive({ textAlign: "right" }),
581
- onClick: i[11] ||= (e) => n.editor.chain().focus().setTextAlign("right").run()
582
- }, null, 8, [
583
- "icon",
584
- "label",
585
- "active"
586
- ]),
587
- u(Y, {
588
- icon: s(xe),
589
- label: s(E).paragraphEditor.alignJustify,
590
- active: n.editor.isActive({ textAlign: "justify" }),
591
- onClick: i[12] ||= (e) => n.editor.chain().focus().setTextAlign("justify").run()
592
- }, null, 8, [
593
- "icon",
594
- "label",
595
- "active"
596
- ]),
597
- u(Q),
598
- u($, {
599
- "model-value": J(),
600
- options: s(pe),
601
- label: s(E).paragraphEditor.lineHeight,
602
- placeholder: s(E).paragraphEditor.lineHeightShort,
603
- "width-class": "tpl:w-16",
604
- "onUpdate:modelValue": X
605
- }, null, 8, [
606
- "model-value",
607
- "options",
608
- "label",
609
- "placeholder"
610
- ]),
611
- u($, {
612
- "model-value": z("letterSpacing"),
613
- options: s(L),
614
- label: s(E).paragraphEditor.letterSpacing,
615
- placeholder: s(E).paragraphEditor.letterSpacingShort,
616
- "width-class": "tpl:w-20",
617
- "onUpdate:modelValue": Z
618
- }, null, 8, [
619
- "model-value",
620
- "options",
621
- "label",
622
- "placeholder"
623
- ]),
624
- u(Q),
625
- u(Y, {
626
- icon: s(_e),
627
- label: s(E).paragraphEditor.clearFormatting,
628
- onClick: i[13] ||= (e) => n.editor.chain().focus().clearNodes().unsetAllMarks().run()
629
- }, null, 8, ["icon", "label"]),
630
- u(Q),
631
- u(Ce, { onInsert: R }),
632
- n.canRequestMergeTag ? (e(), l(g, { key: 0 }, [u(Q), c("button", {
633
- type: "button",
634
- 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)]",
635
- "aria-label": s(E).mergeTag.insert,
636
- title: s(E).mergeTag.insert,
637
- onClick: i[14] ||= (e) => o("add-merge-tag")
638
- }, [u(s(ne), {
639
- size: 16,
640
- "stroke-width": 2
641
- }), d(" " + p(s(E).mergeTag.insertShort), 1)], 8, Me)], 64)) : v("", !0),
642
- n.canInsertLogicTag ? (e(), l(g, { key: 1 }, [u(Q), c("button", {
643
- type: "button",
644
- 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)]",
645
- "aria-label": s(E).logicTag.insert,
646
- title: s(E).logicTag.insert,
647
- "data-testid": "insert-logic-button",
648
- onClick: i[15] ||= (e) => o("add-logic-tag")
649
- }, [u(s(re), {
650
- size: 16,
651
- "stroke-width": 2
652
- }), d(" " + p(s(E).logicTag.insertShort), 1)], 8, Ne)], 64)) : v("", !0)
653
- ])], 64)) : (e(), l("div", Pe, [u(s(oe), {
654
- class: "tpl-spinner",
655
- size: 14,
656
- "stroke-width": 2
657
- }), d(" " + p(s(E).errors.editorLoading), 1)]))], 12, ke)], 8, ["to"])) : v("", !0);
658
- }
659
- }), Ie = { class: "tpl-text-editor-wrapper tpl:relative" }, Le = /* @__PURE__ */ y({
660
- __name: "ParagraphEditor",
661
- props: {
662
- block: {},
663
- toolbarPosition: {}
664
- },
665
- emits: ["done"],
666
- setup(t, { emit: n }) {
667
- let i = t, o = n, c = I(), d = a(N, 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: C, canInsertLogicTag: w, openLinkDialog: T, insertLink: O, removeLink: k, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: M, handleAddLogicTag: P } = D({
668
- blockId: () => i.block.id,
669
- blockContent: () => i.block.content,
670
- onDone: () => o("done"),
671
- editorName: "ParagraphEditor",
672
- async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
673
- 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: C, LetterSpacing: w, LineBoundaryKeys: T }] = await Promise.all([
674
- import("./dist-DuufrR8O.js").then((e) => e.r),
675
- import("./dist-Cr7RPxI9.js"),
676
- import("./dist-3HpYixwF.js"),
677
- import("./dist-CuLwJF7H.js"),
678
- import("./dist-BC-ZEYLd.js"),
679
- import("./dist-DXyGqIDE.js"),
680
- import("./dist-CyBwSiAa.js"),
681
- import("./dist-DPcf6XZ8.js"),
682
- import("./dist-BPFcLKTw.js"),
683
- import("./dist-D7Yj7E-F.js"),
684
- import("./dist-DVNjPKsH.js"),
685
- import("./extensions-pjO8VGkM.js")
686
- ]);
687
- return {
688
- TiptapEditor: a,
689
- EC: o,
690
- extensions: [
691
- s.configure({
692
- heading: !1,
693
- codeBlock: !1,
694
- blockquote: !1,
695
- horizontalRule: !1,
696
- link: !1,
697
- underline: !1
698
- }),
699
- u,
700
- d,
701
- p,
702
- E(l).configure({
703
- openOnClick: !1,
704
- HTMLAttributes: {
705
- target: "_blank",
706
- rel: "noopener noreferrer"
707
- }
708
- }),
709
- m.configure({
710
- types: ["paragraph"],
711
- defaultAlignment: f
712
- }),
713
- h,
714
- g,
715
- _,
716
- v.configure({ multicolor: !0 }),
717
- S,
718
- C,
719
- w,
720
- y.configure({
721
- mergeTags: () => e.value,
722
- syntax: t
723
- }),
724
- x.configure({ syntax: t }),
725
- T,
726
- ...r && n && e.value.length > 0 ? [b.configure({
727
- mergeTags: () => e.value,
728
- char: n,
729
- emptyText: i,
730
- popoverRoot: c
731
- })] : []
732
- ]
733
- };
734
- }
735
- });
736
- return (n, i) => (e(), l("div", Ie, [
737
- u(Fe, {
738
- editor: s(p),
739
- "toolbar-position": t.toolbarPosition,
740
- "is-loading": s(h),
741
- "can-request-merge-tag": s(C),
742
- "can-insert-logic-tag": s(w),
743
- onOpenLinkDialog: s(T),
744
- onAddMergeTag: s(M),
745
- onAddLogicTag: s(P)
746
- }, null, 8, [
747
- "editor",
748
- "toolbar-position",
749
- "is-loading",
750
- "can-request-merge-tag",
751
- "can-insert-logic-tag",
752
- "onOpenLinkDialog",
753
- "onAddMergeTag",
754
- "onAddLogicTag"
755
- ]),
756
- u(z, {
757
- editor: s(p),
758
- "editor-content": s(m),
759
- "is-loading": s(h),
760
- "init-error": s(g),
761
- onRetry: s(_)
762
- }, null, 8, [
763
- "editor",
764
- "editor-content",
765
- "is-loading",
766
- "init-error",
767
- "onRetry"
768
- ]),
769
- u(R, {
770
- visible: s(v),
771
- "is-editing-link": s(p)?.isActive("link") ?? !1,
772
- "dialog-ref": s(x),
773
- "onUpdate:dialogRef": i[0] ||= (e) => r(x) ? x.value = e : null,
774
- "link-url": s(y),
775
- "onUpdate:linkUrl": i[1] ||= (e) => r(y) ? y.value = e : null,
776
- "link-color": s(b),
777
- "onUpdate:linkColor": i[2] ||= (e) => r(b) ? b.value = e : null,
778
- onClose: s(A),
779
- onInsert: s(O),
780
- onRemove: s(k),
781
- onKeydown: s(j)
782
- }, null, 8, [
783
- "visible",
784
- "is-editing-link",
785
- "dialog-ref",
786
- "link-url",
787
- "link-color",
788
- "onClose",
789
- "onInsert",
790
- "onRemove",
791
- "onKeydown"
792
- ])
793
- ]));
794
- }
795
- });
796
- //#endregion
797
- export { Le as default };