@templatical/editor 0.38.0 → 0.39.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 (222) hide show
  1. package/dist/{AiChatSidebar-tu4eLcf_.js → AiChatSidebar-jVlXXND3.js} +66 -66
  2. package/dist/{AiFeatureMenu-BF0i0vA4.js → AiFeatureMenu-C1HCntyQ.js} +6 -6
  3. package/dist/{BlockIssueBadge-DT-FqKeC.js → BlockIssueBadge-JhNgcUmZ.js} +4 -4
  4. package/dist/{BlockPreviewCanvas-DDCmMram.js → BlockPreviewCanvas-C_rA5LJN.js} +2 -2
  5. package/dist/{CloudHeaderExtras-NPhudovT.js → CloudHeaderExtras-DvYyNsPB.js} +3 -3
  6. package/dist/{CloudPanels-Iwnky0iA.js → CloudPanels-CDPhPVdd.js} +5 -5
  7. package/dist/{CollaboratorBar-DAITu0hz.js → CollaboratorBar-Co9UPoB0.js} +3 -3
  8. package/dist/{ColorPicker-BqlZ_TqG.js → ColorPicker-BTtN94te.js} +6 -6
  9. package/dist/{CommentsPanel-CDvgmWP1.js → CommentsPanel-CRcVN9Ri.js} +1 -1
  10. package/dist/{CommentsSidebar-X_xqM3dR.js → CommentsSidebar-gDU977br.js} +12 -12
  11. package/dist/{CountdownBlock-ZFJIdbP6.js → CountdownBlock-CEzrfe5R.js} +1 -1
  12. package/dist/{CountdownToolbar-DBFoG3a6.js → CountdownToolbar-B00zhkNJ.js} +2 -2
  13. package/dist/{DesignReferenceSidebar--QtXjLrw.js → DesignReferenceSidebar-DedivZZl.js} +7 -7
  14. package/dist/{IssuesPanel-BLbNFMSX.js → IssuesPanel-C-PjdmAV.js} +7 -7
  15. package/dist/{MediaPanels-CMTAhDXB.js → MediaPanels-BpQNY8YX.js} +1 -1
  16. package/dist/{MergeTagInput-BEjzj4Iu.js → MergeTagInput-Cw1RoMly.js} +201 -149
  17. package/dist/{MergeTagModeToggle-DKN6ihI5.js → MergeTagModeToggle-DGuzSAdX.js} +35 -35
  18. package/dist/{MergeTagSuggestion-DKoLEeoj.js → MergeTagSuggestion-BXO3UIXW.js} +2 -2
  19. package/dist/{ParagraphEditor-1E9yzOfk.js → ParagraphEditor-jMKLLTa8.js} +38 -38
  20. package/dist/{RestoreVersionDialog-BMGUkcd8.js → RestoreVersionDialog-DG1jUdBM.js} +4 -4
  21. package/dist/{RichTextEditorContent-BnxbQUV9.js → RichTextEditorContent-JrNEg0kv.js} +8 -8
  22. package/dist/{SaveBlockDialog-WKASpCCT.js → SaveBlockDialog-C0KC-OKs.js} +8 -8
  23. package/dist/{SavedBlocksBrowserModal-AYEXTMtQ.js → SavedBlocksBrowserModal-zyOiRgWZ.js} +10 -10
  24. package/dist/{SavedBlocksPanels-D_CpacTl.js → SavedBlocksPanels-epMd799w.js} +1 -1
  25. package/dist/{SavedBlocksPickBar-BHMwg-1G.js → SavedBlocksPickBar-CJqqQ3jd.js} +3 -3
  26. package/dist/{TemplateScoringPanel-CSin43YM.js → TemplateScoringPanel-m2FOeaai.js} +103 -103
  27. package/dist/{TestEmailModal-BxizsRCd.js → TestEmailModal-D58kYkMV.js} +54 -54
  28. package/dist/{TestEmailPanel-vd2e5HzT.js → TestEmailPanel-BmFVBIQt.js} +1 -1
  29. package/dist/{TitleEditor-CLJ68Ty4.js → TitleEditor-C4BGPXnf.js} +13 -13
  30. package/dist/{TplModal-Q9fDgS1M.js → TplModal-BIDJw4Kj.js} +3 -3
  31. package/dist/{VersionHistoryMenu-eGYVhM4H.js → VersionHistoryMenu-dt_aZQfh.js} +7 -7
  32. package/dist/{VersionHistoryPanels-C7Ntrrfq.js → VersionHistoryPanels-B_5SBRrr.js} +1 -1
  33. package/dist/{VersionPreviewBanner-BbQXnR0M.js → VersionPreviewBanner-DttvOkwd.js} +2 -2
  34. package/dist/{blockTypeIcons-5qD4bB76.js → blockTypeIcons-CzTizYmK.js} +2 -2
  35. package/dist/bundle-stats.json +8 -8
  36. package/dist/{cdn/chunks/ca-D9S-UCfZ.js → ca-YlPDhElv.js} +5 -3
  37. package/dist/cdn/chunks/{AiChatSidebar-dyqqHAcI.js → AiChatSidebar-DeZl9Tk0.js} +54 -54
  38. package/dist/cdn/chunks/AiChatSidebar-DeZl9Tk0.js.map +1 -0
  39. package/dist/cdn/chunks/{AiFeatureMenu-BjVMwhW8.js → AiFeatureMenu-Bv8jMu9p.js} +5 -5
  40. package/dist/cdn/chunks/{AiFeatureMenu-BjVMwhW8.js.map → AiFeatureMenu-Bv8jMu9p.js.map} +1 -1
  41. package/dist/cdn/chunks/{BlockIssueBadge-BJ__oEtm.js → BlockIssueBadge-B6PpoOPv.js} +4 -4
  42. package/dist/cdn/chunks/{BlockIssueBadge-BJ__oEtm.js.map → BlockIssueBadge-B6PpoOPv.js.map} +1 -1
  43. package/dist/cdn/chunks/{BlockPreviewCanvas-B5f26eLE.js → BlockPreviewCanvas-DfEtDosD.js} +3 -3
  44. package/dist/cdn/chunks/{BlockPreviewCanvas-B5f26eLE.js.map → BlockPreviewCanvas-DfEtDosD.js.map} +1 -1
  45. package/dist/cdn/chunks/{CloudHeaderExtras-D5P5IEKA.js → CloudHeaderExtras-Hk98ub-C.js} +4 -4
  46. package/dist/cdn/chunks/{CloudHeaderExtras-D5P5IEKA.js.map → CloudHeaderExtras-Hk98ub-C.js.map} +1 -1
  47. package/dist/cdn/chunks/{CloudPanels-DkmR05nB.js → CloudPanels-Ba3GLmvF.js} +5 -5
  48. package/dist/cdn/chunks/{CloudPanels-DkmR05nB.js.map → CloudPanels-Ba3GLmvF.js.map} +1 -1
  49. package/dist/cdn/chunks/{CollaboratorBar-Yn7KSpt4.js → CollaboratorBar-D2dCQ9gg.js} +4 -4
  50. package/dist/cdn/chunks/{CollaboratorBar-Yn7KSpt4.js.map → CollaboratorBar-D2dCQ9gg.js.map} +1 -1
  51. package/dist/cdn/chunks/{ColorPicker-LcrzgMoW.js → ColorPicker-BaonTCAQ.js} +7 -7
  52. package/dist/cdn/chunks/{ColorPicker-LcrzgMoW.js.map → ColorPicker-BaonTCAQ.js.map} +1 -1
  53. package/dist/cdn/chunks/{CommentsPanel-CntwwocI.js → CommentsPanel-CV2HveQk.js} +2 -2
  54. package/dist/cdn/chunks/{CommentsPanel-CntwwocI.js.map → CommentsPanel-CV2HveQk.js.map} +1 -1
  55. package/dist/cdn/chunks/{CommentsSidebar-BLDKnKy7.js → CommentsSidebar-Dok_vaRc.js} +4 -4
  56. package/dist/cdn/chunks/{CommentsSidebar-BLDKnKy7.js.map → CommentsSidebar-Dok_vaRc.js.map} +1 -1
  57. package/dist/cdn/chunks/{CountdownBlock-B4AfqJwb.js → CountdownBlock-DGDl3ota.js} +2 -2
  58. package/dist/cdn/chunks/{CountdownBlock-B4AfqJwb.js.map → CountdownBlock-DGDl3ota.js.map} +1 -1
  59. package/dist/cdn/chunks/{CountdownToolbar-CA1dpuOI.js → CountdownToolbar-B9Rin64t.js} +3 -3
  60. package/dist/cdn/chunks/{CountdownToolbar-CA1dpuOI.js.map → CountdownToolbar-B9Rin64t.js.map} +1 -1
  61. package/dist/cdn/chunks/{DesignReferenceSidebar-D1Y9Hswe.js → DesignReferenceSidebar-eCuTFak2.js} +4 -4
  62. package/dist/cdn/chunks/{DesignReferenceSidebar-D1Y9Hswe.js.map → DesignReferenceSidebar-eCuTFak2.js.map} +1 -1
  63. package/dist/cdn/chunks/{IssuesPanel-Q62LTqvd.js → IssuesPanel-CP7FEzw7.js} +5 -5
  64. package/dist/cdn/chunks/{IssuesPanel-Q62LTqvd.js.map → IssuesPanel-CP7FEzw7.js.map} +1 -1
  65. package/dist/cdn/chunks/{MediaPanels-D21M6shx.js → MediaPanels-TYrKKHX5.js} +2 -2
  66. package/dist/cdn/chunks/{MediaPanels-D21M6shx.js.map → MediaPanels-TYrKKHX5.js.map} +1 -1
  67. package/dist/cdn/chunks/MergeTagInput-CSIThqkz.js +470 -0
  68. package/dist/cdn/chunks/MergeTagInput-CSIThqkz.js.map +1 -0
  69. package/dist/cdn/chunks/{MergeTagModeToggle-DYxkAGtA.js → MergeTagModeToggle-QGTUIWWo.js} +32 -32
  70. package/dist/cdn/chunks/{MergeTagModeToggle-DYxkAGtA.js.map → MergeTagModeToggle-QGTUIWWo.js.map} +1 -1
  71. package/dist/cdn/chunks/{MergeTagSuggestion-t8Uj00Er.js → MergeTagSuggestion-CY6WK8Eb.js} +3 -3
  72. package/dist/cdn/chunks/MergeTagSuggestion-CY6WK8Eb.js.map +1 -0
  73. package/dist/cdn/chunks/{ParagraphEditor-Bd-GQXee.js → ParagraphEditor-D1tsPv4v.js} +22 -22
  74. package/dist/cdn/chunks/{ParagraphEditor-Bd-GQXee.js.map → ParagraphEditor-D1tsPv4v.js.map} +1 -1
  75. package/dist/cdn/chunks/{RestoreVersionDialog-2X9RpM9A.js → RestoreVersionDialog-BeCxNPLS.js} +4 -4
  76. package/dist/cdn/chunks/{RestoreVersionDialog-2X9RpM9A.js.map → RestoreVersionDialog-BeCxNPLS.js.map} +1 -1
  77. package/dist/cdn/chunks/{RichTextEditorContent-D_rb0rmU.js → RichTextEditorContent-BBxzACFQ.js} +8 -8
  78. package/dist/cdn/chunks/{RichTextEditorContent-D_rb0rmU.js.map → RichTextEditorContent-BBxzACFQ.js.map} +1 -1
  79. package/dist/cdn/chunks/{SaveBlockDialog-CufdTomT.js → SaveBlockDialog-CLgh_g7H.js} +7 -7
  80. package/dist/cdn/chunks/{SaveBlockDialog-CufdTomT.js.map → SaveBlockDialog-CLgh_g7H.js.map} +1 -1
  81. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CqpaNsk7.js → SavedBlocksBrowserModal-B4TcUJJe.js} +8 -8
  82. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CqpaNsk7.js.map → SavedBlocksBrowserModal-B4TcUJJe.js.map} +1 -1
  83. package/dist/cdn/chunks/{SavedBlocksPanels-DpxYxddo.js → SavedBlocksPanels-CaBsHoRC.js} +2 -2
  84. package/dist/cdn/chunks/{SavedBlocksPanels-DpxYxddo.js.map → SavedBlocksPanels-CaBsHoRC.js.map} +1 -1
  85. package/dist/cdn/chunks/{SavedBlocksPickBar-Drpoav1B.js → SavedBlocksPickBar-iG35XCDx.js} +4 -4
  86. package/dist/cdn/chunks/{SavedBlocksPickBar-Drpoav1B.js.map → SavedBlocksPickBar-iG35XCDx.js.map} +1 -1
  87. package/dist/cdn/chunks/{TemplateScoringPanel-DBjUNULq.js → TemplateScoringPanel-DuQJBykq.js} +86 -86
  88. package/dist/cdn/chunks/TemplateScoringPanel-DuQJBykq.js.map +1 -0
  89. package/dist/cdn/chunks/{TestEmailModal-BTNlSW6f.js → TestEmailModal-D6Woss3r.js} +52 -52
  90. package/dist/cdn/chunks/TestEmailModal-D6Woss3r.js.map +1 -0
  91. package/dist/cdn/chunks/{TestEmailPanel-D0A9Zgxr.js → TestEmailPanel-CWQFB7J3.js} +2 -2
  92. package/dist/cdn/chunks/{TestEmailPanel-D0A9Zgxr.js.map → TestEmailPanel-CWQFB7J3.js.map} +1 -1
  93. package/dist/cdn/chunks/{TitleEditor-CrnuIq62.js → TitleEditor-CbY1tgSl.js} +12 -12
  94. package/dist/cdn/chunks/TitleEditor-CbY1tgSl.js.map +1 -0
  95. package/dist/cdn/chunks/{TplModal-DYXrTz42.js → TplModal-CGpp-d_r.js} +4 -4
  96. package/dist/cdn/chunks/{TplModal-DYXrTz42.js.map → TplModal-CGpp-d_r.js.map} +1 -1
  97. package/dist/cdn/chunks/{VersionHistoryMenu-bDGnE4hb.js → VersionHistoryMenu-ByVJXDbK.js} +4 -4
  98. package/dist/cdn/chunks/{VersionHistoryMenu-bDGnE4hb.js.map → VersionHistoryMenu-ByVJXDbK.js.map} +1 -1
  99. package/dist/cdn/chunks/{VersionHistoryPanels-82P0Q0HM.js → VersionHistoryPanels-CQJ5OggF.js} +2 -2
  100. package/dist/cdn/chunks/{VersionHistoryPanels-82P0Q0HM.js.map → VersionHistoryPanels-CQJ5OggF.js.map} +1 -1
  101. package/dist/cdn/chunks/{VersionPreviewBanner-BJiwKkVC.js → VersionPreviewBanner-G4lLbfr8.js} +3 -3
  102. package/dist/cdn/chunks/{VersionPreviewBanner-BJiwKkVC.js.map → VersionPreviewBanner-G4lLbfr8.js.map} +1 -1
  103. package/dist/cdn/chunks/{blockTypeIcons-CNjJSFun.js → blockTypeIcons-CQY-vxdM.js} +2 -2
  104. package/dist/cdn/chunks/{blockTypeIcons-CNjJSFun.js.map → blockTypeIcons-CQY-vxdM.js.map} +1 -1
  105. package/dist/{ca-D9S-UCfZ.js → cdn/chunks/ca-YlPDhElv.js} +7 -1
  106. package/dist/cdn/chunks/{ca-D9S-UCfZ.js.map → ca-YlPDhElv.js.map} +1 -1
  107. package/dist/cdn/chunks/{createCloudRuntime-U-qCH-dq.js → createCloudRuntime-ClvtMBF1.js} +2 -2
  108. package/dist/cdn/chunks/{createCloudRuntime-U-qCH-dq.js.map → createCloudRuntime-ClvtMBF1.js.map} +1 -1
  109. package/dist/cdn/chunks/{de-BUPszLpi.js → de-CONjnzrF.js} +6 -2
  110. package/dist/cdn/chunks/{de-BUPszLpi.js.map → de-CONjnzrF.js.map} +1 -1
  111. package/dist/cdn/chunks/draggable-kbOhCgnk.js.map +1 -1
  112. package/dist/cdn/chunks/{editor-modal-MXgtarMl.js → editor-modal-B6IdQWlf.js} +3 -3
  113. package/dist/cdn/chunks/{editor-modal-MXgtarMl.js.map → editor-modal-B6IdQWlf.js.map} +1 -1
  114. package/dist/cdn/chunks/{en-BbOC5x3w.js → en-BAMooiOF.js} +6 -2
  115. package/dist/cdn/chunks/{en-BbOC5x3w.js.map → en-BAMooiOF.js.map} +1 -1
  116. package/dist/cdn/chunks/en-DjunooBz.js +2 -0
  117. package/dist/{es-0bCDcT9p.js → cdn/chunks/es-I47lHs2m.js} +7 -1
  118. package/dist/cdn/chunks/{es-0bCDcT9p.js.map → es-I47lHs2m.js.map} +1 -1
  119. package/dist/cdn/chunks/{extensions-B8_jnIkD.js → extensions-D2YIhF7u.js} +126 -101
  120. package/dist/cdn/chunks/extensions-D2YIhF7u.js.map +1 -0
  121. package/dist/cdn/chunks/{fr-Brr8mJ9e.js → fr-B8MIKjT4.js} +6 -2
  122. package/dist/cdn/chunks/{fr-Brr8mJ9e.js.map → fr-B8MIKjT4.js.map} +1 -1
  123. package/dist/cdn/chunks/htmlparser-ClUZ6waR.js +1113 -0
  124. package/dist/cdn/chunks/htmlparser-ClUZ6waR.js.map +1 -0
  125. package/dist/cdn/chunks/{icons-BUlqGSgd.js → icons-DdrAicM2.js} +33 -33
  126. package/dist/cdn/chunks/{icons-BUlqGSgd.js.map → icons-DdrAicM2.js.map} +1 -1
  127. package/dist/cdn/chunks/keys-DXYJTLZF.js +12 -0
  128. package/dist/cdn/chunks/keys-DXYJTLZF.js.map +1 -0
  129. package/dist/{nl-Co3_RL0M.js → cdn/chunks/nl-CBLxcb-0.js} +7 -1
  130. package/dist/cdn/chunks/{nl-Co3_RL0M.js.map → nl-CBLxcb-0.js.map} +1 -1
  131. package/dist/{pt-BR-BECez5b0.js → cdn/chunks/pt-BR-CMSRfX7t.js} +7 -1
  132. package/dist/cdn/chunks/{pt-BR-BECez5b0.js.map → pt-BR-CMSRfX7t.js.map} +1 -1
  133. package/dist/cdn/chunks/{src-CUvZWL6Y.js → src-CaNsA_WX.js} +2 -2
  134. package/dist/cdn/chunks/{src-CUvZWL6Y.js.map → src-CaNsA_WX.js.map} +1 -1
  135. package/dist/cdn/chunks/src-Dwgq7hf4.js.map +1 -1
  136. package/dist/cdn/chunks/{src-IGLRmUar.js → src-fn7uy1FD.js} +3 -3
  137. package/dist/cdn/chunks/{src-IGLRmUar.js.map → src-fn7uy1FD.js.map} +1 -1
  138. package/dist/cdn/chunks/{useCloudI18n-DSWSGj-A.js → useCloudI18n-OezCj0cx.js} +2 -2
  139. package/dist/cdn/chunks/{useCloudI18n-DSWSGj-A.js.map → useCloudI18n-OezCj0cx.js.map} +1 -1
  140. package/dist/cdn/chunks/{useEditorCore-Cs7rYVBo.js → useEditorCore-06PtcUi1.js} +482 -473
  141. package/dist/cdn/chunks/useEditorCore-06PtcUi1.js.map +1 -0
  142. package/dist/cdn/chunks/{useEditorRoot-B0zW2nT4.js → useEditorRoot-ByHPMqYT.js} +2 -2
  143. package/dist/cdn/chunks/{useEditorRoot-B0zW2nT4.js.map → useEditorRoot-ByHPMqYT.js.map} +1 -1
  144. package/dist/cdn/chunks/{useI18n-Dlo7R9RA.js → useI18n-BhE7ndNr.js} +2 -2
  145. package/dist/cdn/chunks/{useI18n-Dlo7R9RA.js.map → useI18n-BhE7ndNr.js.map} +1 -1
  146. package/dist/cdn/chunks/useMergeTag-DE2mpy1w.js +60 -0
  147. package/dist/cdn/chunks/useMergeTag-DE2mpy1w.js.map +1 -0
  148. package/dist/cdn/chunks/{usePopoverPosition-ElP3ABaV.js → usePopoverPosition-BPL891uG.js} +2 -2
  149. package/dist/cdn/chunks/{usePopoverPosition-ElP3ABaV.js.map → usePopoverPosition-BPL891uG.js.map} +1 -1
  150. package/dist/cdn/chunks/{useScrollToBlock-nTbWkgaU.js → useScrollToBlock-DwF4pVur.js} +2 -2
  151. package/dist/cdn/chunks/{useScrollToBlock-nTbWkgaU.js.map → useScrollToBlock-DwF4pVur.js.map} +1 -1
  152. package/dist/cdn/editor.css +1 -1
  153. package/dist/cdn/editor.js +894 -857
  154. package/dist/cdn/editor.js.map +1 -1
  155. package/dist/{check-DWtkBzBU.js → check-9xX6RVHz.js} +1 -1
  156. package/dist/{chevron-down-C-Fjxcqj.js → chevron-down-J5hFJ6TL.js} +1 -1
  157. package/dist/{chevron-right-SOkn2d4P.js → chevron-right-BJuo5PQ-.js} +1 -1
  158. package/dist/{chevron-up-lntU1ypp.js → chevron-up-Qfi5k52_.js} +1 -1
  159. package/dist/{circle-alert-CjzUTwy3.js → circle-alert-BiArYmkB.js} +1 -1
  160. package/dist/{clock-pB2QKPsJ.js → clock-BkYJZ7Y0.js} +1 -1
  161. package/dist/{copy-CId1E038.js → copy-BRLUNHwF.js} +1 -1
  162. package/dist/{createCloudRuntime-x5WZm3p8.js → createCloudRuntime-CNFXaTNQ.js} +1 -1
  163. package/dist/{createLucideIcon-Cwf_nTzE.js → createLucideIcon-CDDkF1Tm.js} +5 -5
  164. package/dist/{de-BUPszLpi.js → de-CONjnzrF.js} +5 -1
  165. package/dist/{editor-modal-B_LaQf0s.js → editor-modal-uAEB6xKz.js} +15 -15
  166. package/dist/{en-BbOC5x3w.js → en-BAMooiOF.js} +5 -1
  167. package/dist/en-CQWkDCpm.js +2 -0
  168. package/dist/{cdn/chunks/es-0bCDcT9p.js → es-I47lHs2m.js} +5 -3
  169. package/dist/{extensions-CHOBZRab.js → extensions-CcGj7OfS.js} +129 -104
  170. package/dist/{eye-BuGtFUoJ.js → eye-DwhBOaV8.js} +1 -1
  171. package/dist/{fr-Brr8mJ9e.js → fr-B8MIKjT4.js} +5 -1
  172. package/dist/{image-up-gH4JEpU5.js → image-up-CiyQNZBt.js} +1 -1
  173. package/dist/index.d.ts +15 -0
  174. package/dist/{info-BQ60P82u.js → info-D6A1qEiF.js} +1 -1
  175. package/dist/keys-DD1rl72F.js +10 -0
  176. package/dist/{link-3R8it3J7.js → link-tKGmYWsB.js} +1 -1
  177. package/dist/{list-Ccdgj46T.js → list-DjZQRpeI.js} +1 -1
  178. package/dist/{loader-circle-B_tAD4k6.js → loader-circle-D9ZL3Sv0.js} +1 -1
  179. package/dist/{message-circle-P-KSc6V0.js → message-circle-KTHxCcpB.js} +1 -1
  180. package/dist/{cdn/chunks/nl-Co3_RL0M.js → nl-CBLxcb-0.js} +5 -3
  181. package/dist/{pencil-9ZiwqS4r.js → pencil-Bq-nbQ7F.js} +1 -1
  182. package/dist/{plus-BwJEzCaO.js → plus-CRMnR4IG.js} +1 -1
  183. package/dist/{cdn/chunks/pt-BR-BECez5b0.js → pt-BR-CMSRfX7t.js} +5 -3
  184. package/dist/{refresh-cw-DEgfb2FK.js → refresh-cw-D7bYS5tm.js} +1 -1
  185. package/dist/{search-DqQ8Li5E.js → search-DUo0YwPz.js} +1 -1
  186. package/dist/{send-CE6uvqop.js → send-DaVMQphu.js} +1 -1
  187. package/dist/{shield-check-DhD1Z3rd.js → shield-check-DxaaurL9.js} +1 -1
  188. package/dist/{sparkles-R0ZQHa6F.js → sparkles-D6T6k30e.js} +1 -1
  189. package/dist/style.css +1 -1
  190. package/dist/templatical-editor.js +1156 -1119
  191. package/dist/{text-align-start-DSux2UNn.js → text-align-start-vreFpmCX.js} +1 -1
  192. package/dist/{trash-Cf_SqsER.js → trash-DBv8MGY6.js} +1 -1
  193. package/dist/{triangle-alert-C6tGa6jw.js → triangle-alert-CmNS2LLv.js} +1 -1
  194. package/dist/{upload-DusKjpVr.js → upload-DDB9Fs0P.js} +1 -1
  195. package/dist/{useCloudI18n-BLyh_e2T.js → useCloudI18n-C1wuXik6.js} +1 -1
  196. package/dist/{useEditorCore-DhlKOYwe.js → useEditorCore-jfwgLThK.js} +1077 -1068
  197. package/dist/{useEditorRoot-ds57-l6F.js → useEditorRoot-eVv4doqZ.js} +1 -1
  198. package/dist/{useI18n-BbdxxpOE.js → useI18n-VOtdfENx.js} +1 -1
  199. package/dist/useMergeTag-CQM9pFca.js +58 -0
  200. package/dist/{usePopoverPosition-CprM5p-c.js → usePopoverPosition-gZjRywai.js} +1 -1
  201. package/dist/{useScrollToBlock-BTFw0b9O.js → useScrollToBlock-C0Ehnyl4.js} +2 -2
  202. package/dist/{x-D_-42Ukq.js → x-B7sgO_z8.js} +1 -1
  203. package/package.json +10 -10
  204. package/dist/cdn/chunks/AiChatSidebar-dyqqHAcI.js.map +0 -1
  205. package/dist/cdn/chunks/MergeTagInput-l7paaAml.js +0 -419
  206. package/dist/cdn/chunks/MergeTagInput-l7paaAml.js.map +0 -1
  207. package/dist/cdn/chunks/MergeTagSuggestion-t8Uj00Er.js.map +0 -1
  208. package/dist/cdn/chunks/TemplateScoringPanel-DBjUNULq.js.map +0 -1
  209. package/dist/cdn/chunks/TestEmailModal-BTNlSW6f.js.map +0 -1
  210. package/dist/cdn/chunks/TitleEditor-CrnuIq62.js.map +0 -1
  211. package/dist/cdn/chunks/en-C9U7N77n.js +0 -2
  212. package/dist/cdn/chunks/extensions-B8_jnIkD.js.map +0 -1
  213. package/dist/cdn/chunks/htmlparser-DTML8Gvz.js +0 -1007
  214. package/dist/cdn/chunks/htmlparser-DTML8Gvz.js.map +0 -1
  215. package/dist/cdn/chunks/keys-DBFhDFng.js +0 -12
  216. package/dist/cdn/chunks/keys-DBFhDFng.js.map +0 -1
  217. package/dist/cdn/chunks/useEditorCore-Cs7rYVBo.js.map +0 -1
  218. package/dist/cdn/chunks/useMergeTag-BYAifvh8.js +0 -46
  219. package/dist/cdn/chunks/useMergeTag-BYAifvh8.js.map +0 -1
  220. package/dist/en-DcmpWV53.js +0 -2
  221. package/dist/keys-DQA2i1k1.js +0 -10
  222. package/dist/useMergeTag-DlvOBW_B.js +0 -44
@@ -1,10 +1,10 @@
1
1
  import { A as e, At as t, M as n, S as r, at as i, c as a, d as o, jt as s, l as c, r as l, s as u, u as d, v as f } from "./vue.runtime.esm-bundler-DShF3P6k.js";
2
2
  import { N as p } from "./dist-tGkjkX-v.js";
3
- import { D as m } from "./keys-DQA2i1k1.js";
4
- import { t as h } from "./useI18n-BbdxxpOE.js";
5
- import { t as g } from "./createLucideIcon-Cwf_nTzE.js";
6
- import { t as _ } from "./sparkles-R0ZQHa6F.js";
7
- var v = g({
3
+ import { D as m, P as h } from "./keys-DD1rl72F.js";
4
+ import { t as g } from "./useI18n-VOtdfENx.js";
5
+ import { t as _ } from "./createLucideIcon-CDDkF1Tm.js";
6
+ import { t as v } from "./sparkles-D6T6k30e.js";
7
+ var y = _({
8
8
  name: "monitor",
9
9
  size: 24,
10
10
  node: [
@@ -31,7 +31,7 @@ var v = g({
31
31
  key: "vw1qmm"
32
32
  }]
33
33
  ]
34
- }), y = g({
34
+ }), b = _({
35
35
  name: "smartphone",
36
36
  size: 24,
37
37
  node: [["rect", {
@@ -46,7 +46,7 @@ var v = g({
46
46
  d: "M12 18h.01",
47
47
  key: "mhygvu"
48
48
  }]]
49
- }), b = g({
49
+ }), x = _({
50
50
  name: "text-cursor-input",
51
51
  size: 24,
52
52
  node: [
@@ -71,42 +71,42 @@ var v = g({
71
71
  key: "velyjx"
72
72
  }]
73
73
  ]
74
- }), x = ["aria-label"], S = [
74
+ }), S = ["aria-label"], C = [
75
75
  "aria-checked",
76
76
  "aria-label",
77
77
  "title",
78
78
  "onClick"
79
- ], C = /* @__PURE__ */ f({
79
+ ], w = /* @__PURE__ */ f({
80
80
  __name: "ViewportToggle",
81
81
  props: { viewport: {} },
82
82
  emits: ["change"],
83
83
  setup(r, { emit: d }) {
84
- let f = r, p = d, { t: m } = h(), g = u(() => [{
84
+ let f = r, p = d, { t: m } = g(), h = u(() => [{
85
85
  value: "desktop",
86
86
  label: m.viewport.desktop
87
87
  }, {
88
88
  value: "mobile",
89
89
  label: m.viewport.mobile
90
- }]), _ = u(() => `translateX(${g.value.findIndex((e) => e.value === f.viewport) * 100}%)`);
90
+ }]), _ = u(() => `translateX(${h.value.findIndex((e) => e.value === f.viewport) * 100}%)`);
91
91
  return (u, d) => (e(), o("div", {
92
92
  role: "radiogroup",
93
93
  "aria-label": i(m).viewport.label,
94
94
  class: "tpl:relative tpl:grid tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1",
95
95
  style: t({
96
- gridTemplateColumns: `repeat(${g.value.length}, 1fr)`,
96
+ gridTemplateColumns: `repeat(${h.value.length}, 1fr)`,
97
97
  backgroundColor: "var(--tpl-bg-hover)"
98
98
  })
99
99
  }, [a("div", {
100
100
  class: "tpl:absolute tpl:inset-y-1 tpl:rounded-[var(--tpl-radius-sm)]",
101
101
  style: t({
102
102
  left: "4px",
103
- width: `calc((100% - 8px) / ${g.value.length})`,
103
+ width: `calc((100% - 8px) / ${h.value.length})`,
104
104
  transform: _.value,
105
105
  backgroundColor: "var(--tpl-bg)",
106
106
  boxShadow: "var(--tpl-shadow)",
107
107
  transition: "transform 120ms cubic-bezier(0.16, 1, 0.3, 1)"
108
108
  })
109
- }, null, 4), (e(!0), o(l, null, n(g.value, (n) => (e(), o("button", {
109
+ }, null, 4), (e(!0), o(l, null, n(h.value, (n) => (e(), o("button", {
110
110
  key: n.value,
111
111
  role: "radio",
112
112
  "aria-checked": r.viewport === n.value,
@@ -118,54 +118,54 @@ var v = g({
118
118
  }),
119
119
  title: n.label,
120
120
  onClick: (e) => p("change", n.value)
121
- }, [n.value === "desktop" ? (e(), c(i(v), {
121
+ }, [n.value === "desktop" ? (e(), c(i(y), {
122
122
  key: 0,
123
123
  size: 18,
124
124
  "stroke-width": 1.5
125
- })) : (e(), c(i(y), {
125
+ })) : (e(), c(i(b), {
126
126
  key: 1,
127
127
  size: 18,
128
128
  "stroke-width": 1.5
129
- })), a("span", null, s(n.label), 1)], 12, S))), 128))], 12, x));
129
+ })), a("span", null, s(n.label), 1)], 12, C))), 128))], 12, S));
130
130
  }
131
- }), w = ["aria-label"], T = [
131
+ }), T = ["aria-label"], E = [
132
132
  "aria-checked",
133
133
  "aria-label",
134
134
  "title",
135
135
  "onClick"
136
- ], E = /* @__PURE__ */ f({
136
+ ], D = /* @__PURE__ */ f({
137
137
  __name: "MergeTagModeToggle",
138
138
  props: { sampleMode: { type: Boolean } },
139
139
  emits: ["change"],
140
- setup(f, { emit: g }) {
141
- let v = f, y = g, { t: x } = h(), S = r(m, []), C = u(() => p(S)), E = u(() => [{
140
+ setup(f, { emit: _ }) {
141
+ let y = f, b = _, { t: S } = g(), C = r(m, h), w = u(() => p(C.value)), D = u(() => [{
142
142
  value: !0,
143
- label: x.mergeTagPreview.sample
143
+ label: S.mergeTagPreview.sample
144
144
  }, {
145
145
  value: !1,
146
- label: x.mergeTagPreview.labelView
147
- }]), D = u(() => `translateX(${E.value.findIndex((e) => e.value === v.sampleMode) * 100}%)`);
148
- return (r, u) => C.value ? (e(), o("div", {
146
+ label: S.mergeTagPreview.labelView
147
+ }]), O = u(() => `translateX(${D.value.findIndex((e) => e.value === y.sampleMode) * 100}%)`);
148
+ return (r, u) => w.value ? (e(), o("div", {
149
149
  key: 0,
150
150
  role: "radiogroup",
151
- "aria-label": i(x).mergeTagPreview.label,
151
+ "aria-label": i(S).mergeTagPreview.label,
152
152
  "data-testid": "merge-tag-mode-toggle",
153
153
  class: "tpl:relative tpl:grid tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1",
154
154
  style: t({
155
- gridTemplateColumns: `repeat(${E.value.length}, 1fr)`,
155
+ gridTemplateColumns: `repeat(${D.value.length}, 1fr)`,
156
156
  backgroundColor: "var(--tpl-bg-hover)"
157
157
  })
158
158
  }, [a("div", {
159
159
  class: "tpl:absolute tpl:inset-y-1 tpl:rounded-[var(--tpl-radius-sm)]",
160
160
  style: t({
161
161
  left: "4px",
162
- width: `calc((100% - 8px) / ${E.value.length})`,
163
- transform: D.value,
162
+ width: `calc((100% - 8px) / ${D.value.length})`,
163
+ transform: O.value,
164
164
  backgroundColor: "var(--tpl-bg)",
165
165
  boxShadow: "var(--tpl-shadow)",
166
166
  transition: "transform 120ms cubic-bezier(0.16, 1, 0.3, 1)"
167
167
  })
168
- }, null, 4), (e(!0), o(l, null, n(E.value, (n) => (e(), o("button", {
168
+ }, null, 4), (e(!0), o(l, null, n(D.value, (n) => (e(), o("button", {
169
169
  key: String(n.value),
170
170
  role: "radio",
171
171
  "aria-checked": f.sampleMode === n.value,
@@ -176,17 +176,17 @@ var v = g({
176
176
  transition: "color 120ms cubic-bezier(0.16, 1, 0.3, 1)"
177
177
  }),
178
178
  title: n.label,
179
- onClick: (e) => y("change", n.value)
180
- }, [n.value ? (e(), c(i(_), {
179
+ onClick: (e) => b("change", n.value)
180
+ }, [n.value ? (e(), c(i(v), {
181
181
  key: 0,
182
182
  size: 18,
183
183
  "stroke-width": 1.5
184
- })) : (e(), c(i(b), {
184
+ })) : (e(), c(i(x), {
185
185
  key: 1,
186
186
  size: 18,
187
187
  "stroke-width": 1.5
188
- })), a("span", null, s(n.label), 1)], 12, T))), 128))], 12, w)) : d("", !0);
188
+ })), a("span", null, s(n.label), 1)], 12, E))), 128))], 12, T)) : d("", !0);
189
189
  }
190
190
  });
191
191
  //#endregion
192
- export { v as i, C as n, y as r, E as t };
192
+ export { y as i, w as n, b as r, D as t };
@@ -1295,14 +1295,14 @@ var At = v.create({
1295
1295
  name: "mergeTagSuggestion",
1296
1296
  addOptions() {
1297
1297
  return {
1298
- mergeTags: [],
1298
+ mergeTags: () => [],
1299
1299
  char: "{{",
1300
1300
  emptyText: "No matching merge tags",
1301
1301
  popoverRoot: null
1302
1302
  };
1303
1303
  },
1304
1304
  addProseMirrorPlugins() {
1305
- let e = this.options.mergeTags, t = this.options.emptyText, n = this.options.popoverRoot, r = {
1305
+ let e = this.options.mergeTags(), t = this.options.emptyText, n = this.options.popoverRoot, r = {
1306
1306
  char: this.options.char,
1307
1307
  allowSpaces: !1,
1308
1308
  startOfLine: !1,
@@ -1,21 +1,21 @@
1
1
  import { A as e, At as t, F as n, K as r, M as i, S as a, Z as o, at as s, c, d as l, g as u, h as d, i as f, jt as p, kt as m, l as h, r as g, s as _, u as v, v as y } from "./vue.runtime.esm-bundler-DShF3P6k.js";
2
2
  import { c as b, s as x } from "./runtime-dom.esm-bundler-PnoZU512.js";
3
3
  import { R as S } from "./dist-tGkjkX-v.js";
4
- import { C, D as w, E as T, S as E } from "./useEditorCore-DhlKOYwe.js";
4
+ import { C, D as w, E as T, S as E } from "./useEditorCore-jfwgLThK.js";
5
5
  import { t as D } from "./dist-DBirAJIs.js";
6
- import { T as O, W as k, Y as A, g as j, k as M, q as N, v as ee } from "./keys-DQA2i1k1.js";
7
- import { t as P } from "./useI18n-BbdxxpOE.js";
8
- import { n as F } from "./usePopoverPosition-CprM5p-c.js";
9
- import { t as I } from "./createLucideIcon-Cwf_nTzE.js";
10
- import { i as te, n as L, r as ne, t as R } from "./RichTextEditorContent-BnxbQUV9.js";
11
- import { o as re, s as ie } from "./MergeTagInput-BEjzj4Iu.js";
12
- import { t as ae } from "./link-3R8it3J7.js";
13
- import { t as oe } from "./list-Ccdgj46T.js";
14
- import { t as se } from "./loader-circle-B_tAD4k6.js";
15
- import { n as ce, r as le, t as ue } from "./text-align-start-DSux2UNn.js";
6
+ import { K as O, T as k, Y as A, Z as j, g as M, k as N, v as ee } from "./keys-DD1rl72F.js";
7
+ import { t as P } from "./useI18n-VOtdfENx.js";
8
+ import { n as F } from "./usePopoverPosition-gZjRywai.js";
9
+ import { t as I } from "./createLucideIcon-CDDkF1Tm.js";
10
+ import { i as te, n as L, r as ne, t as R } from "./RichTextEditorContent-JrNEg0kv.js";
11
+ import { o as re, s as ie } from "./MergeTagInput-Cw1RoMly.js";
12
+ import { t as ae } from "./link-tKGmYWsB.js";
13
+ import { t as oe } from "./list-DjZQRpeI.js";
14
+ import { t as se } from "./loader-circle-D9ZL3Sv0.js";
15
+ import { n as ce, r as le, t as ue } from "./text-align-start-vreFpmCX.js";
16
16
  import { t as z } from "./_plugin-vue_export-helper-B3ysoDQm.js";
17
17
  import { a as de, n as fe, o as pe, s as me } from "./styleConstants-C_YAPdQS.js";
18
- import { t as B } from "./ColorPicker-BqlZ_TqG.js";
18
+ import { t as B } from "./ColorPicker-BTtN94te.js";
19
19
  var V = I({
20
20
  name: "face-slightly-smiling",
21
21
  size: 24,
@@ -95,6 +95,23 @@ var V = I({
95
95
  }]
96
96
  ]
97
97
  }), _e = I({
98
+ name: "subscript",
99
+ size: 24,
100
+ node: [
101
+ ["path", {
102
+ d: "m4 5 8 8",
103
+ key: "1eunvl"
104
+ }],
105
+ ["path", {
106
+ d: "m12 5-8 8",
107
+ key: "1ah0jp"
108
+ }],
109
+ ["path", {
110
+ 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",
111
+ key: "e8ta8j"
112
+ }]
113
+ ]
114
+ }), ve = I({
98
115
  name: "strikethrough",
99
116
  size: 24,
100
117
  node: [
@@ -114,23 +131,6 @@ var V = I({
114
131
  key: "1e0a9i"
115
132
  }]
116
133
  ]
117
- }), ve = I({
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
134
  }), ye = I({
135
135
  name: "superscript",
136
136
  size: 24,
@@ -326,7 +326,7 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
326
326
  "add-logic-tag"
327
327
  ],
328
328
  setup(n, { emit: r }) {
329
- let i = n, o = r, m = a(k, null), y = a(N, null), b = A(ee, "ParagraphToolbar"), x = F(), S = a(M, null), C = a(O, null), w = a(j, null), T = _(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = P(), D = b.fonts;
329
+ let i = n, o = r, m = a(O, null), y = a(A, null), b = j(ee, "ParagraphToolbar"), x = F(), S = a(N, null), C = a(k, null), w = a(M, null), T = _(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = P(), D = b.fonts;
330
330
  function I(e) {
331
331
  i.editor?.chain().focus().insertContent(e).run();
332
332
  }
@@ -478,7 +478,7 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
478
478
  "active"
479
479
  ]),
480
480
  u(J, {
481
- icon: s(_e),
481
+ icon: s(ve),
482
482
  label: s(E).paragraphEditor.strikethrough,
483
483
  active: n.editor.isActive("strike"),
484
484
  onClick: i[3] ||= (e) => n.editor.chain().focus().toggleStrike().run()
@@ -489,7 +489,7 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
489
489
  ]),
490
490
  u(Q),
491
491
  u(J, {
492
- icon: s(ve),
492
+ icon: s(_e),
493
493
  label: s(E).paragraphEditor.subscript,
494
494
  active: n.editor.isActive("subscript"),
495
495
  onClick: i[4] ||= (e) => n.editor.chain().focus().toggleSubscript().run()
@@ -649,7 +649,7 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
649
649
  },
650
650
  emits: ["done"],
651
651
  setup(t, { emit: n }) {
652
- let i = t, o = n, c = F(), d = a(j, null), f = S(d?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: p, EditorContent: m, isLoading: h, initError: g, retry: _, showLinkDialog: v, linkUrl: y, linkColor: b, linkDialogRef: x, canRequestMergeTag: w, canInsertLogicTag: T, openLinkDialog: D, insertLink: O, removeLink: k, closeLinkDialog: A, handleLinkKeydown: M, handleAddMergeTag: N, handleAddLogicTag: ee } = E({
652
+ let i = t, o = n, c = F(), d = a(M, null), f = S(d?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: p, EditorContent: m, isLoading: h, initError: g, retry: _, showLinkDialog: v, linkUrl: y, linkColor: b, linkDialogRef: x, canRequestMergeTag: w, canInsertLogicTag: T, openLinkDialog: D, insertLink: O, removeLink: k, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: N, handleAddLogicTag: ee } = E({
653
653
  blockId: () => i.block.id,
654
654
  blockContent: () => i.block.content,
655
655
  onDone: () => o("done"),
@@ -667,7 +667,7 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
667
667
  import("./dist-D08oVYhr.js"),
668
668
  import("./dist-DzdeVn-W.js"),
669
669
  import("./dist-f7HXo6j6.js"),
670
- import("./extensions-CHOBZRab.js")
670
+ import("./extensions-CcGj7OfS.js")
671
671
  ]);
672
672
  return {
673
673
  TiptapEditor: a,
@@ -703,13 +703,13 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
703
703
  w,
704
704
  T,
705
705
  y.configure({
706
- mergeTags: e,
706
+ mergeTags: () => e.value,
707
707
  syntax: t
708
708
  }),
709
709
  x.configure({ syntax: t }),
710
710
  E,
711
- ...r && n && e.length > 0 ? [b.configure({
712
- mergeTags: e,
711
+ ...r && n && e.value.length > 0 ? [b.configure({
712
+ mergeTags: () => e.value,
713
713
  char: n,
714
714
  emptyText: i,
715
715
  popoverRoot: c
@@ -763,7 +763,7 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
763
763
  onClose: s(A),
764
764
  onInsert: s(O),
765
765
  onRemove: s(k),
766
- onKeydown: s(M)
766
+ onKeydown: s(j)
767
767
  }, null, 8, [
768
768
  "visible",
769
769
  "is-editing-link",
@@ -1,9 +1,9 @@
1
1
  import { A as e, B as t, at as n, c as r, d as i, g as a, h as o, jt as s, kt as c, l, u, v as d } from "./vue.runtime.esm-bundler-DShF3P6k.js";
2
- import { t as f } from "./useI18n-BbdxxpOE.js";
3
- import { t as p } from "./loader-circle-B_tAD4k6.js";
4
- import { t as m } from "./triangle-alert-C6tGa6jw.js";
2
+ import { t as f } from "./useI18n-VOtdfENx.js";
3
+ import { t as p } from "./loader-circle-D9ZL3Sv0.js";
4
+ import { t as m } from "./triangle-alert-CmNS2LLv.js";
5
5
  import { d as h, v as g, x as _ } from "./styleConstants-C_YAPdQS.js";
6
- import { t as v } from "./TplModal-Q9fDgS1M.js";
6
+ import { t as v } from "./TplModal-BIDJw4Kj.js";
7
7
  //#region src/components/RestoreVersionDialog.vue?vue&type=script&setup=true&lang.ts
8
8
  var y = ["aria-busy"], b = { class: "tpl:flex tpl:items-center tpl:gap-2" }, x = {
9
9
  id: "tpl-restore-version-title",
@@ -1,12 +1,12 @@
1
1
  import { A as e, At as t, F as n, I as r, S as i, at as a, c as o, d as s, g as c, h as l, i as u, jt as d, l as f, s as p, u as m, v as h, w as g } from "./vue.runtime.esm-bundler-DShF3P6k.js";
2
2
  import { c as _ } from "./runtime-dom.esm-bundler-PnoZU512.js";
3
- import { W as v, g as y, q as b } from "./keys-DQA2i1k1.js";
4
- import { t as x } from "./useI18n-BbdxxpOE.js";
5
- import { n as S } from "./usePopoverPosition-CprM5p-c.js";
6
- import { t as C } from "./createLucideIcon-Cwf_nTzE.js";
7
- import { t as w } from "./MergeTagInput-BEjzj4Iu.js";
8
- import { t as T } from "./x-D_-42Ukq.js";
9
- import { t as E } from "./ColorPicker-BqlZ_TqG.js";
3
+ import { K as v, Y as y, g as b } from "./keys-DD1rl72F.js";
4
+ import { t as x } from "./useI18n-VOtdfENx.js";
5
+ import { n as S } from "./usePopoverPosition-gZjRywai.js";
6
+ import { t as C } from "./createLucideIcon-CDDkF1Tm.js";
7
+ import { t as w } from "./MergeTagInput-Cw1RoMly.js";
8
+ import { t as T } from "./x-B7sgO_z8.js";
9
+ import { t as E } from "./ColorPicker-BTtN94te.js";
10
10
  var D = C({
11
11
  name: "bold",
12
12
  size: 24,
@@ -67,7 +67,7 @@ var D = C({
67
67
  "update:dialogRef"
68
68
  ]),
69
69
  setup(n, { emit: l }) {
70
- let h = r(n, "linkUrl"), g = r(n, "linkColor"), C = r(n, "dialogRef"), D = l, O = i(v, null), B = i(b, null), V = S(), H = i(y, null), U = p(() => H?.content.value.settings.linkColor || "#2c85de"), { t: W } = x();
70
+ let h = r(n, "linkUrl"), g = r(n, "linkColor"), C = r(n, "dialogRef"), D = l, O = i(v, null), B = i(y, null), V = S(), H = i(b, null), U = p(() => H?.content.value.settings.linkColor || "#2c85de"), { t: W } = x();
71
71
  return (r, i) => a(V) ? (e(), f(u, {
72
72
  key: 0,
73
73
  to: a(V)
@@ -1,15 +1,15 @@
1
1
  import { A as e, At as t, B as n, D as r, F as i, M as a, O as o, R as s, S as c, V as l, Z as u, at as d, c as f, d as p, g as m, h, jt as g, kt as _, l as v, r as y, s as b, u as x, v as S } from "./vue.runtime.esm-bundler-DShF3P6k.js";
2
2
  import { a as C, c as w, s as T } from "./runtime-dom.esm-bundler-PnoZU512.js";
3
- import { J as ee, N as E, c as D } from "./useEditorCore-DhlKOYwe.js";
4
- import { B as O, Y as k, g as A, p as te } from "./keys-DQA2i1k1.js";
5
- import { t as j } from "./useI18n-BbdxxpOE.js";
6
- import { t as M } from "./chevron-down-C-Fjxcqj.js";
7
- import { t as N } from "./chevron-up-lntU1ypp.js";
8
- import { t as P } from "./loader-circle-B_tAD4k6.js";
3
+ import { J as ee, N as E, c as D } from "./useEditorCore-jfwgLThK.js";
4
+ import { H as O, Z as k, g as A, p as te } from "./keys-DD1rl72F.js";
5
+ import { t as j } from "./useI18n-VOtdfENx.js";
6
+ import { t as M } from "./chevron-down-J5hFJ6TL.js";
7
+ import { t as N } from "./chevron-up-Qfi5k52_.js";
8
+ import { t as P } from "./loader-circle-D9ZL3Sv0.js";
9
9
  import { v as F } from "./styleConstants-C_YAPdQS.js";
10
10
  import { n as I } from "./emailFrameWidth-BmFCN2dp.js";
11
- import { t as L } from "./TplModal-Q9fDgS1M.js";
12
- import { t as R } from "./BlockPreviewCanvas-DDCmMram.js";
11
+ import { t as L } from "./TplModal-BIDJw4Kj.js";
12
+ import { t as R } from "./BlockPreviewCanvas-C_rA5LJN.js";
13
13
  //#region src/components/SavedBlockPreviewRow.vue?vue&type=script&setup=true&lang.ts
14
14
  var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relative tpl:min-w-0 tpl:flex-1" }, H = {
15
15
  key: 0,
@@ -1,17 +1,17 @@
1
1
  import { A as e, At as t, B as n, E as r, F as i, M as a, R as o, S as ee, V as s, Z as c, _ as te, at as l, c as u, d, g as f, jt as p, kt as m, l as h, r as g, s as _, u as v, v as y } from "./vue.runtime.esm-bundler-DShF3P6k.js";
2
2
  import { a as b, c as x, i as S, s as C } from "./runtime-dom.esm-bundler-PnoZU512.js";
3
- import "./useEditorCore-DhlKOYwe.js";
4
- import { B as ne, K as re, Y as w, g as ie } from "./keys-DQA2i1k1.js";
5
- import { t as ae } from "./useI18n-BbdxxpOE.js";
6
- import { n as T, t as E } from "./blockTypeIcons-5qD4bB76.js";
7
- import { t as oe } from "./pencil-9ZiwqS4r.js";
8
- import { t as se } from "./search-DqQ8Li5E.js";
9
- import { t as ce } from "./trash-Cf_SqsER.js";
10
- import { t as le } from "./x-D_-42Ukq.js";
3
+ import "./useEditorCore-jfwgLThK.js";
4
+ import { H as ne, J as re, Z as w, g as ie } from "./keys-DD1rl72F.js";
5
+ import { t as ae } from "./useI18n-VOtdfENx.js";
6
+ import { n as T, t as E } from "./blockTypeIcons-CzTizYmK.js";
7
+ import { t as oe } from "./pencil-Bq-nbQ7F.js";
8
+ import { t as se } from "./search-DUo0YwPz.js";
9
+ import { t as ce } from "./trash-DBv8MGY6.js";
10
+ import { t as le } from "./x-B7sgO_z8.js";
11
11
  import { v as ue } from "./styleConstants-C_YAPdQS.js";
12
12
  import { t as de } from "./formatAbsoluteDateTime-DMmop3C-.js";
13
13
  import { t as fe } from "./formatRelativeTime-CtUU-QZ8.js";
14
- import { t as pe } from "./TplModal-Q9fDgS1M.js";
14
+ import { t as pe } from "./TplModal-BIDJw4Kj.js";
15
15
  //#region src/components/SavedBlocksBrowserModal.vue?vue&type=script&setup=true&lang.ts
16
16
  var me = {
17
17
  role: "dialog",
@@ -67,7 +67,7 @@ var me = {
67
67
  props: { visible: { type: Boolean } },
68
68
  emits: ["close", "insert"],
69
69
  setup(y, { emit: k }) {
70
- let at = y, A = k, ot = te(() => import("./BlockPreviewCanvas-DDCmMram.js").then((e) => e.n)), { t: j, format: M } = ae(), N = w(ne, "SavedBlocksBrowserModal"), P = w(ie, "SavedBlocksBrowserModal"), st = ee(re, void 0), F = c(""), I = c(""), L = c(null), R = c(null), z = c(null), B = c(""), V = c(""), H = c(null), U = c("end"), W = _(() => {
70
+ let at = y, A = k, ot = te(() => import("./BlockPreviewCanvas-C_rA5LJN.js").then((e) => e.n)), { t: j, format: M } = ae(), N = w(ne, "SavedBlocksBrowserModal"), P = w(ie, "SavedBlocksBrowserModal"), st = ee(re, void 0), F = c(""), I = c(""), L = c(null), R = c(null), z = c(null), B = c(""), V = c(""), H = c(null), U = c("end"), W = _(() => {
71
71
  let e = F.value.trim().toLowerCase(), t = I.value;
72
72
  return N.savedBlocks.value.filter((n) => !(e && !n.name.toLowerCase().includes(e) || t && n.category !== t));
73
73
  }), G = _(() => N.isLoading.value && N.savedBlocks.value.length === 0), ct = _(() => F.value.trim().length > 0 || I.value !== ""), K = _(() => L.value ? N.savedBlocks.value.find((e) => e.id === L.value) ?? null : null), lt = _(() => {
@@ -5,7 +5,7 @@ var c = /* @__PURE__ */ s({
5
5
  __name: "SavedBlocksPanels",
6
6
  props: { feature: {} },
7
7
  setup(s) {
8
- let c = s, l = t(() => import("./SavedBlocksPickBar-BHMwg-1G.js")), u = t(() => import("./SaveBlockDialog-WKASpCCT.js")), d = t(() => import("./SavedBlocksBrowserModal-AYEXTMtQ.js"));
8
+ let c = s, l = t(() => import("./SavedBlocksPickBar-CJqqQ3jd.js")), u = t(() => import("./SaveBlockDialog-C0KC-OKs.js")), d = t(() => import("./SavedBlocksBrowserModal-zyOiRgWZ.js"));
9
9
  function f(e, t) {
10
10
  c.feature.insert(e, t);
11
11
  }
@@ -1,7 +1,7 @@
1
1
  import { A as e, at as t, c as n, d as r, g as i, h as a, jt as o, v as s } from "./vue.runtime.esm-bundler-DShF3P6k.js";
2
- import { I as c } from "./useEditorCore-DhlKOYwe.js";
3
- import { t as l } from "./useI18n-BbdxxpOE.js";
4
- import { t as u } from "./x-D_-42Ukq.js";
2
+ import { I as c } from "./useEditorCore-jfwgLThK.js";
3
+ import { t as l } from "./useI18n-VOtdfENx.js";
4
+ import { t as u } from "./x-B7sgO_z8.js";
5
5
  //#region src/components/SavedBlocksPickBar.vue?vue&type=script&setup=true&lang.ts
6
6
  var d = {
7
7
  "data-testid": "saved-blocks-pick-bar",