@templatical/editor 0.25.0 → 0.25.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/dist/{AiChatSidebar-CIkS8DsO.js → AiChatSidebar-JLsbPnsH.js} +14 -14
  2. package/dist/{AiFeatureMenu-Cji1LBJJ.js → AiFeatureMenu-BvA-lViN.js} +7 -7
  3. package/dist/{BlockIssueBadge-BQiT0FML.js → BlockIssueBadge-Cf0-GC3o.js} +5 -5
  4. package/dist/{BlockPreviewCanvas-DAnwZofk.js → BlockPreviewCanvas-CnJIM5TO.js} +3 -3
  5. package/dist/{CloudEditor-CXaft6Ej.js → CloudEditor-Caq7z4-7.js} +25 -25
  6. package/dist/{CollaboratorBar-BR-rL2wG.js → CollaboratorBar-BFz4LgA0.js} +4 -4
  7. package/dist/{ColorPicker-B4ArSUhy.js → ColorPicker-B5xXWWX5.js} +6 -6
  8. package/dist/{CommentsSidebar-Bm5GLDts.js → CommentsSidebar-CGihWwn9.js} +15 -15
  9. package/dist/{CountdownBlock-CIVAQDVu.js → CountdownBlock-DuyvGcr8.js} +3 -3
  10. package/dist/{CountdownToolbar-DBmb3tlb.js → CountdownToolbar-DpNCZAUI.js} +4 -4
  11. package/dist/{DesignReferenceSidebar-CnyJ8L-j.js → DesignReferenceSidebar-CiIHHiil.js} +11 -11
  12. package/dist/{IssuesPanel-D3XgmYCt.js → IssuesPanel-CUkmAC_S.js} +8 -8
  13. package/dist/{LoadingTrack-XK_eeUdq.js → LoadingTrack-BexpNuTV.js} +1 -1
  14. package/dist/{MergeTagModeToggle-BK0fI3P2.js → MergeTagModeToggle-C6nS3qri.js} +5 -5
  15. package/dist/{MergeTagSuggestion-D0OHRv7L.js → MergeTagSuggestion-98fAcuM-.js} +26 -24
  16. package/dist/{NumberWithSuffix-Cjj9UNIp.js → NumberWithSuffix-DB-1GNvx.js} +2 -2
  17. package/dist/{ParagraphEditor-jGnbJEA2.js → ParagraphEditor-NgW-T9YV.js} +114 -97
  18. package/dist/{RichTextEditorContent-DaaKdzjb.js → RichTextEditorContent-CN7OVR6u.js} +8 -8
  19. package/dist/{SaveBlockDialog-B3ngEldp.js → SaveBlockDialog-lgcmhAsO.js} +10 -10
  20. package/dist/{SavedBlocksBrowserModal-DawN3XaB.js → SavedBlocksBrowserModal-3u247V2z.js} +11 -11
  21. package/dist/{SavedBlocksPanels-eDC9Y46N.js → SavedBlocksPanels-Dh6dABJt.js} +2 -2
  22. package/dist/{SavedBlocksPickBar-CQbbXmzj.js → SavedBlocksPickBar-Bo82D3Qy.js} +4 -4
  23. package/dist/{SnapshotHistory-COxKtHM-.js → SnapshotHistory-Dsb1i40w.js} +16 -16
  24. package/dist/{TemplateScoringPanel-bUuqOO1z.js → TemplateScoringPanel-Bzd_YSag.js} +15 -15
  25. package/dist/{TestEmailModal-CytkbZVQ.js → TestEmailModal-DvqDTOcO.js} +10 -10
  26. package/dist/{TestEmailPanel-CHUY7VZn.js → TestEmailPanel-BXoVnAqu.js} +2 -2
  27. package/dist/{TitleEditor-aMR1bOyY.js → TitleEditor-DWSi998C.js} +12 -12
  28. package/dist/{TplModal-fmYNYdyp.js → TplModal-DKn0h2qe.js} +5 -5
  29. package/dist/{blockTypeIcons-C6b9rg88.js → blockTypeIcons-DKlza6aR.js} +2 -2
  30. package/dist/bundle-stats.json +6 -6
  31. package/dist/{ca-8Dvbwo50.js → ca-D1zgI9fQ.js} +1 -0
  32. package/dist/cdn/chunks/{AiChatSidebar-bkBKpNgE.js → AiChatSidebar-BY1Iy-e8.js} +14 -14
  33. package/dist/cdn/chunks/{AiChatSidebar-bkBKpNgE.js.map → AiChatSidebar-BY1Iy-e8.js.map} +1 -1
  34. package/dist/cdn/chunks/{AiFeatureMenu-CI4SYTq2.js → AiFeatureMenu-BS4Rek6j.js} +6 -6
  35. package/dist/cdn/chunks/{AiFeatureMenu-CI4SYTq2.js.map → AiFeatureMenu-BS4Rek6j.js.map} +1 -1
  36. package/dist/cdn/chunks/{BlockIssueBadge-CRnx8Dv9.js → BlockIssueBadge-BcIQUe_Q.js} +5 -5
  37. package/dist/cdn/chunks/{BlockIssueBadge-CRnx8Dv9.js.map → BlockIssueBadge-BcIQUe_Q.js.map} +1 -1
  38. package/dist/cdn/chunks/{BlockPreviewCanvas-CXCWhqbp.js → BlockPreviewCanvas-oND1iXLL.js} +4 -4
  39. package/dist/cdn/chunks/{BlockPreviewCanvas-CXCWhqbp.js.map → BlockPreviewCanvas-oND1iXLL.js.map} +1 -1
  40. package/dist/cdn/chunks/{CloudEditor-D-t7RyDh.js → CloudEditor-BaqiFbf0.js} +28 -28
  41. package/dist/cdn/chunks/{CloudEditor-D-t7RyDh.js.map → CloudEditor-BaqiFbf0.js.map} +1 -1
  42. package/dist/cdn/chunks/{CollaboratorBar-DcXYo47v.js → CollaboratorBar-DF02nTwF.js} +5 -5
  43. package/dist/cdn/chunks/{CollaboratorBar-DcXYo47v.js.map → CollaboratorBar-DF02nTwF.js.map} +1 -1
  44. package/dist/cdn/chunks/{ColorPicker-_1O7YU2z.js → ColorPicker-BXH44v2H.js} +7 -7
  45. package/dist/cdn/chunks/{ColorPicker-_1O7YU2z.js.map → ColorPicker-BXH44v2H.js.map} +1 -1
  46. package/dist/cdn/chunks/{CommentsSidebar-BEgLBYX-.js → CommentsSidebar-B9bWvvbl.js} +10 -10
  47. package/dist/cdn/chunks/{CommentsSidebar-BEgLBYX-.js.map → CommentsSidebar-B9bWvvbl.js.map} +1 -1
  48. package/dist/cdn/chunks/{CountdownBlock-CPnQA44g.js → CountdownBlock-BTpRd0Hn.js} +4 -4
  49. package/dist/cdn/chunks/{CountdownBlock-CPnQA44g.js.map → CountdownBlock-BTpRd0Hn.js.map} +1 -1
  50. package/dist/cdn/chunks/{CountdownToolbar-Cdo-30U4.js → CountdownToolbar-CW10rbWt.js} +5 -5
  51. package/dist/cdn/chunks/{CountdownToolbar-Cdo-30U4.js.map → CountdownToolbar-CW10rbWt.js.map} +1 -1
  52. package/dist/cdn/chunks/{DesignReferenceSidebar-DPqBr-ut.js → DesignReferenceSidebar-BXjH47QC.js} +9 -9
  53. package/dist/cdn/chunks/{DesignReferenceSidebar-DPqBr-ut.js.map → DesignReferenceSidebar-BXjH47QC.js.map} +1 -1
  54. package/dist/cdn/chunks/{IssuesPanel-DoQWb23r.js → IssuesPanel-DStHCHfr.js} +7 -7
  55. package/dist/cdn/chunks/{IssuesPanel-DoQWb23r.js.map → IssuesPanel-DStHCHfr.js.map} +1 -1
  56. package/dist/cdn/chunks/{LoadingTrack-G2tuXqCJ.js → LoadingTrack-DQowK3MV.js} +2 -2
  57. package/dist/cdn/chunks/{LoadingTrack-G2tuXqCJ.js.map → LoadingTrack-DQowK3MV.js.map} +1 -1
  58. package/dist/cdn/chunks/{MergeTagModeToggle-CWuVC3MU.js → MergeTagModeToggle-BCmQg4Qe.js} +5 -5
  59. package/dist/cdn/chunks/{MergeTagModeToggle-CWuVC3MU.js.map → MergeTagModeToggle-BCmQg4Qe.js.map} +1 -1
  60. package/dist/cdn/chunks/{MergeTagSuggestion-Ces5Ua78.js → MergeTagSuggestion-BgExdloL.js} +3 -3
  61. package/dist/cdn/chunks/{MergeTagSuggestion-Ces5Ua78.js.map → MergeTagSuggestion-BgExdloL.js.map} +1 -1
  62. package/dist/cdn/chunks/{NumberWithSuffix-DQ4sgvt5.js → NumberWithSuffix-BANVbpT0.js} +3 -3
  63. package/dist/cdn/chunks/{NumberWithSuffix-DQ4sgvt5.js.map → NumberWithSuffix-BANVbpT0.js.map} +1 -1
  64. package/dist/cdn/chunks/{ParagraphEditor-Uv5LPF3W.js → ParagraphEditor-DqilB4_f.js} +142 -132
  65. package/dist/cdn/chunks/ParagraphEditor-DqilB4_f.js.map +1 -0
  66. package/dist/cdn/chunks/{RichTextEditorContent-Bt3s09qY.js → RichTextEditorContent-BeJx4LVH.js} +7 -7
  67. package/dist/cdn/chunks/{RichTextEditorContent-Bt3s09qY.js.map → RichTextEditorContent-BeJx4LVH.js.map} +1 -1
  68. package/dist/cdn/chunks/{SaveBlockDialog-BAew6EFd.js → SaveBlockDialog-Dm31xRZy.js} +8 -8
  69. package/dist/cdn/chunks/{SaveBlockDialog-BAew6EFd.js.map → SaveBlockDialog-Dm31xRZy.js.map} +1 -1
  70. package/dist/cdn/chunks/{SavedBlocksBrowserModal-Dn4IJDJW.js → SavedBlocksBrowserModal-Tp37b4y7.js} +9 -9
  71. package/dist/cdn/chunks/{SavedBlocksBrowserModal-Dn4IJDJW.js.map → SavedBlocksBrowserModal-Tp37b4y7.js.map} +1 -1
  72. package/dist/cdn/chunks/{SavedBlocksPanels-B62U5DYW.js → SavedBlocksPanels-ElerTTa_.js} +3 -3
  73. package/dist/cdn/chunks/{SavedBlocksPanels-B62U5DYW.js.map → SavedBlocksPanels-ElerTTa_.js.map} +1 -1
  74. package/dist/cdn/chunks/{SavedBlocksPickBar-CyRKZg2T.js → SavedBlocksPickBar-QHJ-Mjx0.js} +7 -7
  75. package/dist/cdn/chunks/{SavedBlocksPickBar-CyRKZg2T.js.map → SavedBlocksPickBar-QHJ-Mjx0.js.map} +1 -1
  76. package/dist/cdn/chunks/{SnapshotHistory-QQt0DKey.js → SnapshotHistory-jogWGLB-.js} +12 -12
  77. package/dist/cdn/chunks/{SnapshotHistory-QQt0DKey.js.map → SnapshotHistory-jogWGLB-.js.map} +1 -1
  78. package/dist/cdn/chunks/{TemplateScoringPanel-BwyCMcit.js → TemplateScoringPanel-B2XIOTl-.js} +52 -52
  79. package/dist/cdn/chunks/{TemplateScoringPanel-BwyCMcit.js.map → TemplateScoringPanel-B2XIOTl-.js.map} +1 -1
  80. package/dist/cdn/chunks/{TestEmailModal-B5UQkDJp.js → TestEmailModal-BcPjQygV.js} +9 -9
  81. package/dist/cdn/chunks/{TestEmailModal-B5UQkDJp.js.map → TestEmailModal-BcPjQygV.js.map} +1 -1
  82. package/dist/cdn/chunks/{TestEmailPanel-CvuBq4RA.js → TestEmailPanel-1zxRa00s.js} +3 -3
  83. package/dist/cdn/chunks/{TestEmailPanel-CvuBq4RA.js.map → TestEmailPanel-1zxRa00s.js.map} +1 -1
  84. package/dist/cdn/chunks/{TitleEditor-B9W954u9.js → TitleEditor-DTrmublj.js} +14 -14
  85. package/dist/cdn/chunks/{TitleEditor-B9W954u9.js.map → TitleEditor-DTrmublj.js.map} +1 -1
  86. package/dist/cdn/chunks/{TplModal-B8UsvWc8.js → TplModal-By50gtwa.js} +5 -5
  87. package/dist/cdn/chunks/{TplModal-B8UsvWc8.js.map → TplModal-By50gtwa.js.map} +1 -1
  88. package/dist/cdn/chunks/blockTypeIcons-BhFhHuFt.js +21 -0
  89. package/dist/cdn/chunks/{blockTypeIcons-B8s3_ahs.js.map → blockTypeIcons-BhFhHuFt.js.map} +1 -1
  90. package/dist/cdn/chunks/{ca-8Dvbwo50.js → ca-D1zgI9fQ.js} +2 -1
  91. package/dist/cdn/chunks/ca-D1zgI9fQ.js.map +1 -0
  92. package/dist/cdn/chunks/{cloud-DOaGUdR0.js → cloud-B0f7Ub8f.js} +3 -3
  93. package/dist/cdn/chunks/{cloud-DOaGUdR0.js.map → cloud-B0f7Ub8f.js.map} +1 -1
  94. package/dist/cdn/chunks/{de-CieSMCUp.js → de-DHra3lvx.js} +2 -1
  95. package/dist/cdn/chunks/de-DHra3lvx.js.map +1 -0
  96. package/dist/cdn/chunks/{dist-lZgXNk4G.js → dist-B4VIlp1g.js} +3 -3
  97. package/dist/cdn/chunks/{dist-lZgXNk4G.js.map → dist-B4VIlp1g.js.map} +1 -1
  98. package/dist/cdn/chunks/{dist-B8AX9np4.js → dist-H51neg3K.js} +10 -8
  99. package/dist/cdn/chunks/{dist-B8AX9np4.js.map → dist-H51neg3K.js.map} +1 -1
  100. package/dist/cdn/chunks/{draggable-JcMTNF3U.js → draggable-Z4XXmbPC.js} +556 -522
  101. package/dist/cdn/chunks/draggable-Z4XXmbPC.js.map +1 -0
  102. package/dist/cdn/chunks/{en-D0t_2Fq_.js → en-DlqX2YWZ.js} +2 -1
  103. package/dist/cdn/chunks/en-DlqX2YWZ.js.map +1 -0
  104. package/dist/cdn/chunks/{es-DwDoNuLM.js → es-Cuss2snv.js} +2 -1
  105. package/dist/cdn/chunks/es-Cuss2snv.js.map +1 -0
  106. package/dist/cdn/chunks/{extensions-5jgtarD-.js → extensions-Dq0D79tq.js} +6 -6
  107. package/dist/cdn/chunks/{extensions-5jgtarD-.js.map → extensions-Dq0D79tq.js.map} +1 -1
  108. package/dist/cdn/chunks/{fr-CSEEzv1_.js → fr-Cm85vB2g.js} +2 -1
  109. package/dist/cdn/chunks/fr-Cm85vB2g.js.map +1 -0
  110. package/dist/cdn/chunks/{htmlparser-CPhs2cYE.js → htmlparser-DTML8Gvz.js} +8 -7
  111. package/dist/cdn/chunks/{htmlparser-CPhs2cYE.js.map → htmlparser-DTML8Gvz.js.map} +1 -1
  112. package/dist/cdn/chunks/{icons-Cp4ZIJw-.js → icons-C_kRN0_C.js} +104 -97
  113. package/dist/cdn/chunks/icons-C_kRN0_C.js.map +1 -0
  114. package/dist/cdn/chunks/{keys-BxPCfHBH.js → keys-DsoX52o_.js} +2 -2
  115. package/dist/cdn/chunks/{keys-BxPCfHBH.js.map → keys-DsoX52o_.js.map} +1 -1
  116. package/dist/cdn/chunks/{liquid.browser-CZaQe87t.js → liquid.browser-DrGys_ek.js} +22 -20
  117. package/dist/cdn/chunks/{liquid.browser-CZaQe87t.js.map → liquid.browser-DrGys_ek.js.map} +1 -1
  118. package/dist/cdn/chunks/{nl-xyk1T2mA.js → nl-dmiIX7oT.js} +2 -1
  119. package/dist/cdn/chunks/nl-dmiIX7oT.js.map +1 -0
  120. package/dist/cdn/chunks/{pt-BR-yr6uOJgn.js → pt-BR-CaIG-7EM.js} +2 -1
  121. package/dist/cdn/chunks/pt-BR-CaIG-7EM.js.map +1 -0
  122. package/dist/cdn/chunks/{pusher-kUlkqMvR.js → pusher-BbIHJKf3.js} +29 -25
  123. package/dist/cdn/chunks/{pusher-kUlkqMvR.js.map → pusher-BbIHJKf3.js.map} +1 -1
  124. package/dist/cdn/chunks/{src-C417zeUg.js → src-Aea1Vl1H.js} +2 -2
  125. package/dist/cdn/chunks/{src-C417zeUg.js.map → src-Aea1Vl1H.js.map} +1 -1
  126. package/dist/cdn/chunks/{src-Dpj0x27M.js → src-CRvTVX4F.js} +427 -424
  127. package/dist/cdn/chunks/{src-Dpj0x27M.js.map → src-CRvTVX4F.js.map} +1 -1
  128. package/dist/cdn/chunks/{src-B8W42vT-.js → src-_GNJgPcS.js} +216 -176
  129. package/dist/cdn/chunks/src-_GNJgPcS.js.map +1 -0
  130. package/dist/cdn/chunks/{styles-DANwMzW2.js → styles-znpPfrFd.js} +79 -79
  131. package/dist/cdn/chunks/{styles-DANwMzW2.js.map → styles-znpPfrFd.js.map} +1 -1
  132. package/dist/cdn/chunks/{tiptap-rsib432n.js → tiptap-C5vzWlHv.js} +225 -183
  133. package/dist/cdn/chunks/tiptap-C5vzWlHv.js.map +1 -0
  134. package/dist/cdn/chunks/{useAliveFlag-CseYNikC.js → useAliveFlag-4IDYQRNu.js} +2 -2
  135. package/dist/cdn/chunks/{useAliveFlag-CseYNikC.js.map → useAliveFlag-4IDYQRNu.js.map} +1 -1
  136. package/dist/cdn/chunks/{useCloudI18n-CjVzv11v.js → useCloudI18n-D4JpHTPk.js} +3 -3
  137. package/dist/cdn/chunks/{useCloudI18n-CjVzv11v.js.map → useCloudI18n-D4JpHTPk.js.map} +1 -1
  138. package/dist/cdn/chunks/{useEditorCore-DfW-thCr.js → useEditorCore-BMXBmdd8.js} +28 -28
  139. package/dist/cdn/chunks/useEditorCore-BMXBmdd8.js.map +1 -0
  140. package/dist/cdn/chunks/{useI18n-DniEFeIl.js → useI18n-BvcEYzrI.js} +3 -3
  141. package/dist/cdn/chunks/{useI18n-DniEFeIl.js.map → useI18n-BvcEYzrI.js.map} +1 -1
  142. package/dist/cdn/chunks/{useMergeTag-Bk9_f5cc.js → useMergeTag-BSdxMUzg.js} +3 -3
  143. package/dist/cdn/chunks/{useMergeTag-Bk9_f5cc.js.map → useMergeTag-BSdxMUzg.js.map} +1 -1
  144. package/dist/cdn/chunks/{usePopoverPosition-C4xFJCJ2.js → usePopoverPosition-ig-71caO.js} +3 -3
  145. package/dist/cdn/chunks/{usePopoverPosition-C4xFJCJ2.js.map → usePopoverPosition-ig-71caO.js.map} +1 -1
  146. package/dist/cdn/editor.js +15 -15
  147. package/dist/{check-CIhIDh4h.js → check-COV27dGb.js} +1 -1
  148. package/dist/{chevron-down-CZ0m6G3s.js → chevron-down-vsU88vcr.js} +1 -1
  149. package/dist/{chevron-up-BH_tJLeb.js → chevron-up-RrZ0Rjn9.js} +1 -1
  150. package/dist/{circle-alert-DkEXnGPV.js → circle-alert-B6GlHmmi.js} +1 -1
  151. package/dist/{clock-BDIJZUET.js → clock-egOt8zjQ.js} +1 -1
  152. package/dist/{cloud-BZn3jqoL.js → cloud-D-2StbvU.js} +1 -1
  153. package/dist/{createLucideIcon-AEltGIse.js → createLucideIcon-D6cqT5Pm.js} +3 -3
  154. package/dist/{de-CieSMCUp.js → de-DHra3lvx.js} +1 -0
  155. package/dist/{dist-iCEDH3cC.js → dist-B56SufAv.js} +1 -1
  156. package/dist/{dist-CkPvZCld.js → dist-BQZkRg05.js} +1 -1
  157. package/dist/{dist-DT1XnEnj.js → dist-BpKxrUi2.js} +2 -2
  158. package/dist/{dist-CcQFPJMF.js → dist-CHxPjcxA.js} +181 -145
  159. package/dist/{dist-BxbTVeY0.js → dist-CqV4XslQ.js} +1 -1
  160. package/dist/{dist-Dx71pluS.js → dist-D4GoAr2g.js} +9 -7
  161. package/dist/{dist-DSIgxp0v.js → dist-DHwnYYx0.js} +1 -1
  162. package/dist/{dist-DX4x6mQ1.js → dist-Du95Y9M3.js} +1 -1
  163. package/dist/{dist-B6Px6GPj.js → dist-DzzTB4eE.js} +1 -1
  164. package/dist/{dist-DyCHUyRR.js → dist-GUZZpDK3.js} +1 -1
  165. package/dist/{dist-nR6mxyqI.js → dist-MwT7T6Xp.js} +1 -1
  166. package/dist/{dist-CIqhVQ1O.js → dist-UkG5ZJ1P.js} +17 -15
  167. package/dist/{dist-CRH880TV.js → dist-vpuiQ7_Q.js} +1 -1
  168. package/dist/{en-D0t_2Fq_.js → en-DlqX2YWZ.js} +1 -0
  169. package/dist/{es-DwDoNuLM.js → es-Cuss2snv.js} +1 -0
  170. package/dist/{extensions-BjvyU9Ea.js → extensions-y6KjLr9t.js} +7 -7
  171. package/dist/{fr-CSEEzv1_.js → fr-Cm85vB2g.js} +1 -0
  172. package/dist/{image-up-8ktdYdaZ.js → image-up-CycES-MQ.js} +1 -1
  173. package/dist/{info-CvrCgTLH.js → info-BUdvm046.js} +1 -1
  174. package/dist/{keys-BFPiNAIn.js → keys-fwF3qZax.js} +1 -1
  175. package/dist/{liquid.browser-BECWFL5Z.js → liquid.browser-Di5zMIEx.js} +21 -19
  176. package/dist/{list-checks-yzGT93ZL.js → list-checks-BAeuuATD.js} +1 -1
  177. package/dist/{loader-circle-B6euendB.js → loader-circle-L5yuAx_j.js} +1 -1
  178. package/dist/{message-circle-BMldLVcA.js → message-circle-DRdaapVc.js} +1 -1
  179. package/dist/{nl-xyk1T2mA.js → nl-dmiIX7oT.js} +1 -0
  180. package/dist/{pencil-CkKkSd6N.js → pencil-BfErVPf_.js} +1 -1
  181. package/dist/{pt-BR-yr6uOJgn.js → pt-BR-CaIG-7EM.js} +1 -0
  182. package/dist/{refresh-cw-fBPgB97G.js → refresh-cw-D0PYatER.js} +1 -1
  183. package/dist/{runtime-dom.esm-bundler-CBbDt7sw.js → runtime-dom.esm-bundler-CepEmvwF.js} +172 -168
  184. package/dist/{scan-line-CRoEOUiK.js → scan-line-Byi3fJcr.js} +1 -1
  185. package/dist/{send-B9Tt2qBi.js → send-DuyNexMY.js} +1 -1
  186. package/dist/{shield-check-QfZkYeIo.js → shield-check-BkkN_1qw.js} +1 -1
  187. package/dist/{sparkles-8UeMmZb8.js → sparkles-DAw2sBXk.js} +1 -1
  188. package/dist/{styles-C9GM-bBC.js → styles-BzwheHH_.js} +32 -32
  189. package/dist/templatical-editor.js +17 -17
  190. package/dist/{text-align-start-Dn8uIheW.js → text-align-start-Ba3xJKn6.js} +1 -1
  191. package/dist/{trash-2-DDyvqj0E.js → trash-2-CapEBXBI.js} +1 -1
  192. package/dist/{triangle-alert-B3PydLzl.js → triangle-alert-52pdw8jI.js} +1 -1
  193. package/dist/{upload-hE8ItfyG.js → upload-oAgigC31.js} +1 -1
  194. package/dist/{useAliveFlag-AfoTE_AY.js → useAliveFlag-cvyBxHp7.js} +1 -1
  195. package/dist/{useCloudI18n-B2lItQ6O.js → useCloudI18n-DKVm6PCa.js} +2 -2
  196. package/dist/{useEditorCore-Ck_hBiGA.js → useEditorCore-BhjEMSeE.js} +23 -23
  197. package/dist/{useI18n-C1KcdX_K.js → useI18n-DoVKdCTH.js} +2 -2
  198. package/dist/{useMergeTag-DHCwRMfH.js → useMergeTag-DTSOQnyr.js} +2 -2
  199. package/dist/{usePopoverPosition-ClnEh_Cp.js → usePopoverPosition-C0dPEF4X.js} +4 -4
  200. package/dist/{vue.runtime.esm-bundler-Xpz-L9Fn.js → vue.runtime.esm-bundler-D1diBMsm.js} +297 -251
  201. package/dist/{x-C4lETLDx.js → x-DvBgbDuf.js} +1 -1
  202. package/package.json +11 -11
  203. package/dist/cdn/chunks/ParagraphEditor-Uv5LPF3W.js.map +0 -1
  204. package/dist/cdn/chunks/blockTypeIcons-B8s3_ahs.js +0 -21
  205. package/dist/cdn/chunks/ca-8Dvbwo50.js.map +0 -1
  206. package/dist/cdn/chunks/de-CieSMCUp.js.map +0 -1
  207. package/dist/cdn/chunks/draggable-JcMTNF3U.js.map +0 -1
  208. package/dist/cdn/chunks/en-D0t_2Fq_.js.map +0 -1
  209. package/dist/cdn/chunks/es-DwDoNuLM.js.map +0 -1
  210. package/dist/cdn/chunks/fr-CSEEzv1_.js.map +0 -1
  211. package/dist/cdn/chunks/icons-Cp4ZIJw-.js.map +0 -1
  212. package/dist/cdn/chunks/nl-xyk1T2mA.js.map +0 -1
  213. package/dist/cdn/chunks/pt-BR-yr6uOJgn.js.map +0 -1
  214. package/dist/cdn/chunks/src-B8W42vT-.js.map +0 -1
  215. package/dist/cdn/chunks/tiptap-rsib432n.js.map +0 -1
  216. package/dist/cdn/chunks/useEditorCore-DfW-thCr.js.map +0 -1
@@ -1,19 +1,19 @@
1
- import { K as e, L as t, M as n, P as r, T as i, Z as a, c as o, ct as s, d as c, f as l, g as u, h as d, it as f, l as p, m, ot as h, p as g, st as _, u as v, v as y, x as b, y as x } from "./draggable-JcMTNF3U.js";
2
- import { D as S, E as C, S as w, x as T } from "./useEditorCore-DfW-thCr.js";
3
- import { t as E } from "./dist-B8AX9np4.js";
4
- import { G as D, O, T as k, U as ee, V as te, g as ne, v as A } from "./keys-BxPCfHBH.js";
5
- import { t as j } from "./useI18n-DniEFeIl.js";
6
- import { n as M } from "./usePopoverPosition-C4xFJCJ2.js";
7
- import { Bt as re, D as N, Lt as ie, P as ae, R as oe, at as se, b as ce, ct as le, g as ue, h as de, it as fe, l as pe, m as me, ot as he, ut as ge, v as _e, x as ve } from "./icons-Cp4ZIJw-.js";
1
+ import { K as e, L as t, M as n, P as r, T as i, Z as a, c as o, ct as s, d as c, f as l, g as u, h as d, it as f, l as p, m, ot as h, p as g, st as _, u as v, v as y, x as b, y as x } from "./draggable-Z4XXmbPC.js";
2
+ import { D as S, E as C, S as w, x as T } from "./useEditorCore-BMXBmdd8.js";
3
+ import { t as E } from "./dist-H51neg3K.js";
4
+ import { G as D, O, T as k, U as ee, V as te, g as ne, v as A } from "./keys-DsoX52o_.js";
5
+ import { t as j } from "./useI18n-BvcEYzrI.js";
6
+ import { n as M } from "./usePopoverPosition-ig-71caO.js";
7
+ import { Ct as N, P as re, R as ie, Rt as ae, S as oe, Vt as se, _ as ce, at as le, ct as ue, g as de, h as fe, it as pe, l as me, m as he, ot as ge, ut as _e, x as ve, y as ye } from "./icons-C_kRN0_C.js";
8
8
  import { t as P } from "./_plugin-vue_export-helper-B3ysoDQm.js";
9
- import { c as F, o as ye, r as be, s as xe, t as I } from "./ColorPicker-_1O7YU2z.js";
10
- import { n as L, t as R } from "./RichTextEditorContent-Bt3s09qY.js";
9
+ import { c as be, o as xe, r as Se, s as Ce, t as F } from "./ColorPicker-BXH44v2H.js";
10
+ import { n as I, t as L } from "./RichTextEditorContent-BeJx4LVH.js";
11
11
  //#region src/components/blocks/EmojiPickerDropdown.vue?vue&type=script&setup=true&lang.ts
12
- var z = [
12
+ var R = [
13
13
  "aria-label",
14
14
  "title",
15
15
  "aria-expanded"
16
- ], B = ["aria-label"], V = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, H = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, U = ["aria-label", "onClick"], Se = /* @__PURE__ */ b({
16
+ ], z = ["aria-label"], B = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, V = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, H = ["aria-label", "onClick"], we = /* @__PURE__ */ b({
17
17
  __name: "EmojiPickerDropdown",
18
18
  emits: ["insert"],
19
19
  setup(e, { emit: t }) {
@@ -40,7 +40,7 @@ var z = [
40
40
  }, [x(f(N), {
41
41
  size: 16,
42
42
  "stroke-width": 2
43
- })], 10, z), f(m) ? (n(), u("div", {
43
+ })], 10, R), f(m) ? (n(), u("div", {
44
44
  key: 0,
45
45
  id: "tpl-emoji-picker",
46
46
  ref_key: "pickerRef",
@@ -54,19 +54,19 @@ var z = [
54
54
  }, [(n(!0), u(v, null, r(f(c), (e) => (n(), u("div", {
55
55
  key: e.key,
56
56
  class: "tpl:mb-2 tpl:last:mb-0"
57
- }, [g("div", V, s(f(b).emoji[e.key]), 1), g("div", H, [(n(!0), u(v, null, r(e.emojis, (e) => (n(), u("button", {
57
+ }, [g("div", B, s(f(b).emoji[e.key]), 1), g("div", V, [(n(!0), u(v, null, r(e.emojis, (e) => (n(), u("button", {
58
58
  key: e,
59
59
  type: "button",
60
60
  "aria-label": f(w)(f(b).paragraphEditor.emojiItemLabel, { emoji: e }),
61
61
  class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border-none tpl:bg-transparent tpl:text-base tpl:transition-all tpl:duration-100 tpl:hover:scale-125 tpl:hover:bg-[var(--tpl-bg-active)]",
62
62
  onClick: (t) => k(e)
63
- }, s(e), 9, U))), 128))])]))), 128))], 40, B)) : d("", !0)], 512));
63
+ }, s(e), 9, H))), 128))])]))), 128))], 40, z)) : d("", !0)], 512));
64
64
  }
65
- }), W = [
65
+ }), U = [
66
66
  "aria-label",
67
67
  "title",
68
68
  "aria-pressed"
69
- ], G = /* @__PURE__ */ b({
69
+ ], W = /* @__PURE__ */ b({
70
70
  __name: "ToolbarIconButton",
71
71
  props: {
72
72
  icon: {},
@@ -85,20 +85,20 @@ var z = [
85
85
  }, [(n(), m(t(e.icon), {
86
86
  size: e.size ?? 16,
87
87
  "stroke-width": e.strokeWidth ?? 2
88
- }, null, 8, ["size", "stroke-width"]))], 10, W));
88
+ }, null, 8, ["size", "stroke-width"]))], 10, U));
89
89
  }
90
- }), K = {}, q = {
90
+ }), G = {}, K = {
91
91
  class: "tpl:mx-1 tpl:h-6 tpl:w-px tpl:bg-[var(--tpl-border)]",
92
92
  "aria-hidden": "true"
93
93
  };
94
- function J(e, t) {
95
- return n(), u("span", q);
94
+ function q(e, t) {
95
+ return n(), u("span", K);
96
96
  }
97
- var Y = /*#__PURE__*/ P(K, [["render", J]]), X = [
97
+ var J = /*#__PURE__*/ P(G, [["render", q]]), Y = [
98
98
  "value",
99
99
  "aria-label",
100
100
  "title"
101
- ], Z = { value: "" }, Ce = ["value"], Q = /* @__PURE__ */ b({
101
+ ], X = { value: "" }, Te = ["value"], Z = /* @__PURE__ */ b({
102
102
  __name: "ToolbarSelect",
103
103
  props: {
104
104
  modelValue: {},
@@ -125,23 +125,23 @@ var Y = /*#__PURE__*/ P(K, [["render", J]]), X = [
125
125
  "aria-label": e.label,
126
126
  title: e.label,
127
127
  onChange: a
128
- }, [g("option", Z, s(e.placeholder ?? ""), 1), (n(!0), u(v, null, r(e.options, (e) => (n(), u("option", {
128
+ }, [g("option", X, s(e.placeholder ?? ""), 1), (n(!0), u(v, null, r(e.options, (e) => (n(), u("option", {
129
129
  key: o(e),
130
130
  value: o(e)
131
- }, s(c(e)), 9, Ce))), 128))], 42, X));
131
+ }, s(c(e)), 9, Te))), 128))], 42, Y));
132
132
  }
133
133
  });
134
134
  //#endregion
135
135
  //#region src/utils/richTextColor.ts
136
- function $(e, t) {
136
+ function Q(e, t) {
137
137
  return e || t || "#000000";
138
138
  }
139
139
  //#endregion
140
140
  //#region src/components/blocks/ParagraphToolbar.vue?vue&type=script&setup=true&lang.ts
141
- var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Ee = { class: "tpl:flex tpl:items-center tpl:gap-1" }, De = ["aria-label", "title"], Oe = ["aria-label", "title"], ke = {
141
+ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Oe = { class: "tpl:flex tpl:items-center tpl:gap-1" }, ke = ["aria-label", "title"], Ae = ["aria-label", "title"], $ = {
142
142
  key: 1,
143
143
  class: "tpl:flex tpl:items-center tpl:gap-2 tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
144
- }, Ae = /* @__PURE__ */ b({
144
+ }, je = /* @__PURE__ */ b({
145
145
  __name: "ParagraphToolbar",
146
146
  props: {
147
147
  editor: {},
@@ -160,49 +160,49 @@ var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cen
160
160
  function P(e) {
161
161
  r.editor?.chain().focus().insertContent(e).run();
162
162
  }
163
- function L(e) {
163
+ function I(e) {
164
164
  return r.editor?.getAttributes("textStyle")[e] || "";
165
165
  }
166
- function R(e) {
166
+ function L(e) {
167
167
  let t = r.editor?.chain().focus();
168
168
  e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
169
169
  }
170
- function z(e) {
170
+ function R(e) {
171
171
  let t = r.editor?.chain().focus();
172
172
  e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
173
173
  }
174
- function B() {
174
+ function z() {
175
175
  return r.editor?.isActive("link") ?? !1;
176
176
  }
177
- function V() {
177
+ function B() {
178
178
  return r.editor?.getAttributes("link").color || "";
179
179
  }
180
- function H(e) {
180
+ function V(e) {
181
181
  let t = r.editor?.chain().focus();
182
- t && (B() ? (t.extendMarkRange("link").updateAttributes("link", { color: e || null }), e && t.unsetColor(), t.run()) : e ? t.setColor(e).updateAttributes("link", { color: e }).run() : t.unsetColor().run());
182
+ t && (z() ? (t.extendMarkRange("link").updateAttributes("link", { color: e || null }), e && t.unsetColor(), t.run()) : e ? t.setColor(e).updateAttributes("link", { color: e }).run() : t.unsetColor().run());
183
183
  }
184
- function U() {
184
+ function H() {
185
185
  let e = w?.content.value.settings;
186
- return B() ? $(V(), e?.linkColor || e?.textColor) : $(L("color"), e?.textColor);
186
+ return z() ? Q(B(), e?.linkColor || e?.textColor) : Q(I("color"), e?.textColor);
187
187
  }
188
- function W() {
189
- return B() ? V() : L("color");
188
+ function U() {
189
+ return z() ? B() : I("color");
190
190
  }
191
- function K() {
191
+ function G() {
192
192
  return r.editor?.getAttributes("paragraph").lineHeight || "";
193
193
  }
194
- function q(e) {
194
+ function K(e) {
195
195
  let t = r.editor?.chain().focus();
196
196
  e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
197
197
  }
198
- function J(e) {
198
+ function q(e) {
199
199
  let t = r.editor?.chain().focus();
200
200
  e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
201
201
  }
202
- function X() {
202
+ function Y() {
203
203
  return r.editor?.getAttributes("highlight").color || "";
204
204
  }
205
- function Z(e) {
205
+ function X(e) {
206
206
  let t = r.editor?.chain().focus();
207
207
  e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
208
208
  }
@@ -221,63 +221,63 @@ var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cen
221
221
  transform: "translateY(-100%)",
222
222
  flexDirection: "column"
223
223
  })
224
- }, [!e.isLoading && e.editor ? (n(), u(v, { key: 0 }, [g("div", Te, [
225
- x(Q, {
226
- "model-value": L("fontFamily"),
224
+ }, [!e.isLoading && e.editor ? (n(), u(v, { key: 0 }, [g("div", De, [
225
+ x(Z, {
226
+ "model-value": I("fontFamily"),
227
227
  options: f(N),
228
228
  label: f(E).paragraphEditor.fontFamily,
229
229
  placeholder: f(E).paragraphEditor.defaultFont,
230
230
  "width-class": "tpl:w-32",
231
- "onUpdate:modelValue": R
231
+ "onUpdate:modelValue": L
232
232
  }, null, 8, [
233
233
  "model-value",
234
234
  "options",
235
235
  "label",
236
236
  "placeholder"
237
237
  ]),
238
- x(Q, {
239
- "model-value": L("fontSize"),
240
- options: f(ye),
238
+ x(Z, {
239
+ "model-value": I("fontSize"),
240
+ options: f(xe),
241
241
  label: f(E).paragraphEditor.fontSize,
242
242
  placeholder: f(E).paragraphEditor.defaultSize,
243
243
  "width-class": "tpl:w-20",
244
- "onUpdate:modelValue": z
244
+ "onUpdate:modelValue": R
245
245
  }, null, 8, [
246
246
  "model-value",
247
247
  "options",
248
248
  "label",
249
249
  "placeholder"
250
250
  ]),
251
- x(Y),
252
- x(I, {
251
+ x(J),
252
+ x(F, {
253
253
  "swatch-only": "",
254
254
  size: "sm",
255
255
  "data-testid": "text-color-picker",
256
- "model-value": W(),
257
- "seed-color": U(),
256
+ "model-value": U(),
257
+ "seed-color": H(),
258
258
  "aria-label": f(E).paragraphEditor.textColor,
259
- "onUpdate:modelValue": H
259
+ "onUpdate:modelValue": V
260
260
  }, null, 8, [
261
261
  "model-value",
262
262
  "seed-color",
263
263
  "aria-label"
264
264
  ]),
265
- x(I, {
265
+ x(F, {
266
266
  "swatch-only": "",
267
267
  size: "sm",
268
268
  "data-testid": "highlight-color-picker",
269
- "model-value": X(),
270
- "seed-color": f(be),
269
+ "model-value": Y(),
270
+ "seed-color": f(Se),
271
271
  "aria-label": f(E).paragraphEditor.highlightColor,
272
- "onUpdate:modelValue": Z
272
+ "onUpdate:modelValue": X
273
273
  }, null, 8, [
274
274
  "model-value",
275
275
  "seed-color",
276
276
  "aria-label"
277
277
  ]),
278
- x(Y),
279
- x(G, {
280
- icon: f(re),
278
+ x(J),
279
+ x(W, {
280
+ icon: f(se),
281
281
  label: f(E).paragraphEditor.bold,
282
282
  active: e.editor.isActive("bold"),
283
283
  "stroke-width": 2.5,
@@ -287,8 +287,8 @@ var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cen
287
287
  "label",
288
288
  "active"
289
289
  ]),
290
- x(G, {
291
- icon: f(ge),
290
+ x(W, {
291
+ icon: f(_e),
292
292
  label: f(E).paragraphEditor.italic,
293
293
  active: e.editor.isActive("italic"),
294
294
  onClick: r[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
@@ -297,8 +297,8 @@ var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cen
297
297
  "label",
298
298
  "active"
299
299
  ]),
300
- x(G, {
301
- icon: f(pe),
300
+ x(W, {
301
+ icon: f(me),
302
302
  label: f(E).paragraphEditor.underline,
303
303
  active: e.editor.isActive("underline"),
304
304
  onClick: r[2] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
@@ -307,8 +307,8 @@ var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cen
307
307
  "label",
308
308
  "active"
309
309
  ]),
310
- x(G, {
311
- icon: f(ve),
310
+ x(W, {
311
+ icon: f(oe),
312
312
  label: f(E).paragraphEditor.strikethrough,
313
313
  active: e.editor.isActive("strike"),
314
314
  onClick: r[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
@@ -317,9 +317,9 @@ var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cen
317
317
  "label",
318
318
  "active"
319
319
  ]),
320
- x(Y),
321
- x(G, {
322
- icon: f(ce),
320
+ x(J),
321
+ x(W, {
322
+ icon: f(ve),
323
323
  label: f(E).paragraphEditor.subscript,
324
324
  active: e.editor.isActive("subscript"),
325
325
  onClick: r[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
@@ -328,8 +328,8 @@ var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cen
328
328
  "label",
329
329
  "active"
330
330
  ]),
331
- x(G, {
332
- icon: f(_e),
331
+ x(W, {
332
+ icon: f(ye),
333
333
  label: f(E).paragraphEditor.superscript,
334
334
  active: e.editor.isActive("superscript"),
335
335
  onClick: r[5] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
@@ -338,9 +338,9 @@ var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cen
338
338
  "label",
339
339
  "active"
340
340
  ]),
341
- x(Y),
342
- x(G, {
343
- icon: f(le),
341
+ x(J),
342
+ x(W, {
343
+ icon: f(ue),
344
344
  label: f(E).paragraphEditor.addLink,
345
345
  active: e.editor.isActive("link"),
346
346
  onClick: r[6] ||= (e) => a("open-link-dialog")
@@ -349,9 +349,9 @@ var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cen
349
349
  "label",
350
350
  "active"
351
351
  ])
352
- ]), g("div", Ee, [
353
- x(G, {
354
- icon: f(se),
352
+ ]), g("div", Oe, [
353
+ x(W, {
354
+ icon: f(le),
355
355
  label: f(E).paragraphEditor.bulletList,
356
356
  active: e.editor.isActive("bulletList"),
357
357
  onClick: r[7] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
@@ -360,8 +360,8 @@ var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cen
360
360
  "label",
361
361
  "active"
362
362
  ]),
363
- x(G, {
364
- icon: f(he),
363
+ x(W, {
364
+ icon: f(ge),
365
365
  label: f(E).paragraphEditor.numberedList,
366
366
  active: e.editor.isActive("orderedList"),
367
367
  onClick: r[8] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
@@ -370,9 +370,9 @@ var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cen
370
370
  "label",
371
371
  "active"
372
372
  ]),
373
- x(Y),
374
- x(G, {
375
- icon: f(me),
373
+ x(J),
374
+ x(W, {
375
+ icon: f(he),
376
376
  label: f(E).paragraphEditor.alignLeft,
377
377
  active: e.editor.isActive({ textAlign: "left" }),
378
378
  onClick: r[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
@@ -381,8 +381,8 @@ var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cen
381
381
  "label",
382
382
  "active"
383
383
  ]),
384
- x(G, {
385
- icon: f(ue),
384
+ x(W, {
385
+ icon: f(ce),
386
386
  label: f(E).paragraphEditor.alignCenter,
387
387
  active: e.editor.isActive({ textAlign: "center" }),
388
388
  onClick: r[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
@@ -391,7 +391,7 @@ var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cen
391
391
  "label",
392
392
  "active"
393
393
  ]),
394
- x(G, {
394
+ x(W, {
395
395
  icon: f(de),
396
396
  label: f(E).paragraphEditor.alignRight,
397
397
  active: e.editor.isActive({ textAlign: "right" }),
@@ -401,67 +401,77 @@ var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cen
401
401
  "label",
402
402
  "active"
403
403
  ]),
404
- x(Y),
405
- x(Q, {
406
- "model-value": K(),
407
- options: f(F),
404
+ x(W, {
405
+ icon: f(fe),
406
+ label: f(E).paragraphEditor.alignJustify,
407
+ active: e.editor.isActive({ textAlign: "justify" }),
408
+ onClick: r[12] ||= (t) => e.editor.chain().focus().setTextAlign("justify").run()
409
+ }, null, 8, [
410
+ "icon",
411
+ "label",
412
+ "active"
413
+ ]),
414
+ x(J),
415
+ x(Z, {
416
+ "model-value": G(),
417
+ options: f(be),
408
418
  label: f(E).paragraphEditor.lineHeight,
409
419
  placeholder: "LH",
410
420
  "width-class": "tpl:w-16",
411
- "onUpdate:modelValue": q
421
+ "onUpdate:modelValue": K
412
422
  }, null, 8, [
413
423
  "model-value",
414
424
  "options",
415
425
  "label"
416
426
  ]),
417
- x(Q, {
418
- "model-value": L("letterSpacing"),
419
- options: f(xe),
427
+ x(Z, {
428
+ "model-value": I("letterSpacing"),
429
+ options: f(Ce),
420
430
  label: f(E).paragraphEditor.letterSpacing,
421
431
  placeholder: "LS",
422
432
  "width-class": "tpl:w-20",
423
- "onUpdate:modelValue": J
433
+ "onUpdate:modelValue": q
424
434
  }, null, 8, [
425
435
  "model-value",
426
436
  "options",
427
437
  "label"
428
438
  ]),
429
- x(Y),
430
- x(G, {
431
- icon: f(oe),
439
+ x(J),
440
+ x(W, {
441
+ icon: f(ie),
432
442
  label: f(E).paragraphEditor.clearFormatting,
433
- onClick: r[12] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
443
+ onClick: r[13] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
434
444
  }, null, 8, ["icon", "label"]),
435
- x(Y),
436
- x(Se, { onInsert: P }),
437
- e.canRequestMergeTag ? (n(), u(v, { key: 0 }, [x(Y), g("button", {
445
+ x(J),
446
+ x(we, { onInsert: P }),
447
+ e.canRequestMergeTag ? (n(), u(v, { key: 0 }, [x(J), g("button", {
438
448
  type: "button",
439
449
  class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-bg-active)]",
440
450
  "aria-label": f(E).mergeTag.insert,
441
451
  title: f(E).mergeTag.insert,
442
- onClick: r[13] ||= (e) => a("add-merge-tag")
443
- }, [x(f(ae), {
452
+ onClick: r[14] ||= (e) => a("add-merge-tag")
453
+ }, [x(f(re), {
444
454
  size: 16,
445
455
  "stroke-width": 2
446
- }), y(" " + s(f(E).mergeTag.insertShort), 1)], 8, De)], 64)) : d("", !0),
447
- e.canInsertLogicTag ? (n(), u(v, { key: 1 }, [x(Y), g("button", {
456
+ }), y(" " + s(f(E).mergeTag.insertShort), 1)], 8, ke)], 64)) : d("", !0),
457
+ e.canInsertLogicTag ? (n(), u(v, { key: 1 }, [x(J), g("button", {
448
458
  type: "button",
449
459
  class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-bg-active)]",
450
460
  "aria-label": f(E).logicTag.insert,
451
461
  title: f(E).logicTag.insert,
452
462
  "data-testid": "insert-logic-button",
453
- onClick: r[14] ||= (e) => a("add-logic-tag")
454
- }, [x(f(ie), {
463
+ onClick: r[15] ||= (e) => a("add-logic-tag")
464
+ }, [x(f(ae), {
455
465
  size: 16,
456
466
  "stroke-width": 2
457
- }), y(" " + s(f(E).logicTag.insertShort), 1)], 8, Oe)], 64)) : d("", !0)
458
- ])], 64)) : (n(), u("div", ke, [x(f(fe), {
467
+ }), y(" " + s(f(E).logicTag.insertShort), 1)], 8, Ae)], 64)) : d("", !0)
468
+ ])], 64)) : (n(), u("div", $, [x(f(pe), {
459
469
  class: "tpl-spinner",
460
470
  size: 14,
461
471
  "stroke-width": 2
462
- }), y(" " + s(f(E).errors.editorLoading), 1)]))], 12, we)], 8, ["to"])) : d("", !0);
472
+ }), y(" " + s(f(E).errors.editorLoading), 1)]))], 12, Ee)], 8, ["to"])) : d("", !0);
463
473
  }
464
- }), je = { class: "tpl-text-editor-wrapper tpl:relative" }, Me = /* @__PURE__ */ b({
474
+ }), Me = { class: "tpl-text-editor-wrapper tpl:relative" }, Ne = /* @__PURE__ */ b({
465
475
  __name: "ParagraphEditor",
466
476
  props: {
467
477
  block: {},
@@ -476,18 +486,18 @@ var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cen
476
486
  editorName: "ParagraphEditor",
477
487
  async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
478
488
  let [{ Editor: a, EditorContent: s }, { default: c }, { default: l }, { default: u }, { default: d }, { default: f }, { default: p }, { TextStyle: m }, { default: h }, { default: g }, { default: _ }, { MergeTagNode: v, MergeTagSuggestion: y, LogicMergeTagNode: b, FontSize: x, LineHeight: S, LetterSpacing: C }] = await Promise.all([
479
- import("./tiptap-rsib432n.js").then((e) => e.r),
480
- import("./tiptap-rsib432n.js").then((e) => e.i),
481
- import("./tiptap-rsib432n.js").then((e) => e.l),
482
- import("./tiptap-rsib432n.js").then((e) => e.a),
483
- import("./tiptap-rsib432n.js").then((e) => e.c),
484
- import("./tiptap-rsib432n.js").then((e) => e.s),
485
- import("./tiptap-rsib432n.js").then((e) => e.o),
486
- import("./tiptap-rsib432n.js").then((e) => e.p),
487
- import("./tiptap-rsib432n.js").then((e) => e.f),
488
- import("./tiptap-rsib432n.js").then((e) => e.d),
489
- import("./tiptap-rsib432n.js").then((e) => e.u),
490
- import("./extensions-5jgtarD-.js")
489
+ import("./tiptap-C5vzWlHv.js").then((e) => e.r),
490
+ import("./tiptap-C5vzWlHv.js").then((e) => e.i),
491
+ import("./tiptap-C5vzWlHv.js").then((e) => e.l),
492
+ import("./tiptap-C5vzWlHv.js").then((e) => e.a),
493
+ import("./tiptap-C5vzWlHv.js").then((e) => e.c),
494
+ import("./tiptap-C5vzWlHv.js").then((e) => e.s),
495
+ import("./tiptap-C5vzWlHv.js").then((e) => e.o),
496
+ import("./tiptap-C5vzWlHv.js").then((e) => e.p),
497
+ import("./tiptap-C5vzWlHv.js").then((e) => e.f),
498
+ import("./tiptap-C5vzWlHv.js").then((e) => e.d),
499
+ import("./tiptap-C5vzWlHv.js").then((e) => e.u),
500
+ import("./extensions-Dq0D79tq.js")
491
501
  ]);
492
502
  return {
493
503
  TiptapEditor: a,
@@ -534,8 +544,8 @@ var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cen
534
544
  };
535
545
  }
536
546
  });
537
- return (r, i) => (n(), u("div", je, [
538
- x(Ae, {
547
+ return (r, i) => (n(), u("div", Me, [
548
+ x(je, {
539
549
  editor: f(s),
540
550
  "toolbar-position": t.toolbarPosition,
541
551
  "is-loading": f(l),
@@ -554,7 +564,7 @@ var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cen
554
564
  "onAddMergeTag",
555
565
  "onAddLogicTag"
556
566
  ]),
557
- x(R, {
567
+ x(L, {
558
568
  editor: f(s),
559
569
  "editor-content": f(c),
560
570
  "is-loading": f(l),
@@ -567,7 +577,7 @@ var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cen
567
577
  "init-error",
568
578
  "onRetry"
569
579
  ]),
570
- x(L, {
580
+ x(I, {
571
581
  visible: f(m),
572
582
  "is-editing-link": f(s)?.isActive("link") ?? !1,
573
583
  "dialog-ref": f(_),
@@ -595,6 +605,6 @@ var we = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cen
595
605
  }
596
606
  });
597
607
  //#endregion
598
- export { Me as default };
608
+ export { Ne as default };
599
609
 
600
- //# sourceMappingURL=ParagraphEditor-Uv5LPF3W.js.map
610
+ //# sourceMappingURL=ParagraphEditor-DqilB4_f.js.map