@templatical/editor 0.46.0 → 0.47.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.
- package/dist/{AiChatSidebar-DGcH4Lyo.js → AiChatSidebar-BPOv5Ra8.js} +14 -14
- package/dist/{AiFeatureMenu-B4q-0g1S.js → AiFeatureMenu-H_WT4YR8.js} +7 -7
- package/dist/{BlockIssueBadge-CZA1XvAh.js → BlockIssueBadge-AgO5abEB.js} +5 -5
- package/dist/BlockPreviewCanvas-CZDBSPoG.js +136 -0
- package/dist/{CloudHeaderExtras-ehMYJP68.js → CloudHeaderExtras-gXsTYoGG.js} +5 -5
- package/dist/{CloudPanels-BwOaAlKz.js → CloudPanels-H_GdbOfZ.js} +9 -9
- package/dist/{CollaboratorBar-qOZFRNPx.js → CollaboratorBar-BazGNMqN.js} +4 -4
- package/dist/{CommentsPanel-Bn6P5crU.js → CommentsPanel-CMgsG_yh.js} +2 -2
- package/dist/{CommentsSidebar-B8wT932T.js → CommentsSidebar-DCh8DTP8.js} +14 -14
- package/dist/CountdownBlock-zx39Dyby.js +92 -0
- package/dist/{CountdownToolbar-BeF21SeB.js → CountdownToolbar-DVuucA3v.js} +7 -7
- package/dist/{DesignReferenceSidebar-zH93uB15.js → DesignReferenceSidebar-DxNV4lQp.js} +12 -12
- package/dist/{IssuesPanel-Dltw9haP.js → IssuesPanel-CUpW54P4.js} +8 -8
- package/dist/{LoadingTrack-DROqNuuD.js → LoadingTrack-6XsqodoY.js} +1 -1
- package/dist/{LogicTagInsertButton-CHa-UD76.js → LogicTagInsertButton-DDYKnqmj.js} +13 -13
- package/dist/{MediaEditModal-EY1YYcpw.js → MediaEditModal-D_we0Scr.js} +4 -4
- package/dist/{MediaPanels-CRVFGFZW.js → MediaPanels-L95BwWV1.js} +2 -2
- package/dist/{MergeTagInput-B3ntd4dN.js → MergeTagInput-DAL998tx.js} +3 -3
- package/dist/{MergeTagModeToggle-C_06ZL0Q.js → MergeTagModeToggle-CjHO26rb.js} +7 -7
- package/dist/{ParagraphEditor-CxuW3TV0.js → ParagraphEditor-CcEN1N6n.js} +165 -150
- package/dist/{RestoreVersionDialog-B1n37M1Z.js → RestoreVersionDialog-B2OH5rgs.js} +6 -6
- package/dist/{RichTextEditorContent-CP_uULWB.js → RichTextEditorContent-BGeTg-QL.js} +12 -12
- package/dist/{SaveBlockDialog-BSKX_7_v.js → SaveBlockDialog-CCVyU-7y.js} +13 -13
- package/dist/{SavedBlocksBrowserModal-CHKrH1gO.js → SavedBlocksBrowserModal-_WmSeqIh.js} +14 -14
- package/dist/{SavedBlocksPanels-B-xDqBcz.js → SavedBlocksPanels-DVX_ruQ7.js} +2 -2
- package/dist/{SavedBlocksPickBar-D2J-g82g.js → SavedBlocksPickBar-DVJC28hP.js} +5 -5
- package/dist/{TemplateScoringPanel-3lHzuCl0.js → TemplateScoringPanel-U0QFiwdI.js} +16 -16
- package/dist/{TemplateSettings-D07K_Y4m.js → TemplateSettings-CdhTm9JQ.js} +12 -12
- package/dist/{TestEmailModal-BNPw_lID.js → TestEmailModal-BqToA_ls.js} +14 -14
- package/dist/{TestEmailPanel-8klWo8hE.js → TestEmailPanel-Cn4Ptq0j.js} +2 -2
- package/dist/{TitleEditor-CmC9OuhA.js → TitleEditor-CZdqeltH.js} +13 -13
- package/dist/{ToggleSwitch-COeyWGfT.js → ToggleSwitch-BR8Sgzib.js} +2 -2
- package/dist/{Toolbar-CqhRb6EM.js → Toolbar-OGakTBEg.js} +747 -628
- package/dist/{TplModal-BGFawHY9.js → TplModal-CoczSDma.js} +6 -6
- package/dist/{VersionHistoryMenu-D7zaTMrb.js → VersionHistoryMenu-DY5z5FZr.js} +10 -10
- package/dist/{VersionHistoryPanels-DdbGjEOR.js → VersionHistoryPanels-DowHeDAQ.js} +2 -2
- package/dist/{VersionPreviewBanner-BUKb9gc6.js → VersionPreviewBanner-Bo8NxBbh.js} +4 -4
- package/dist/WrapperBlock-BOABSX9W.js +46 -0
- package/dist/{blockTypeIcons-CVKo6V_v.js → blockTypeIcons-4E1U8f99.js} +5 -5
- package/dist/bundle-stats.json +6 -6
- package/dist/{ca-C__Dzq--.js → ca-DMoGGP9L.js} +21 -0
- package/dist/cdn/chunks/{AiChatSidebar-kCK4NZM9.js → AiChatSidebar-B72rI0be.js} +12 -12
- package/dist/cdn/chunks/{AiChatSidebar-kCK4NZM9.js.map → AiChatSidebar-B72rI0be.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-K1dLeDft.js → AiFeatureMenu-BqSG9iEd.js} +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-K1dLeDft.js.map → AiFeatureMenu-BqSG9iEd.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-05Q3L4RV.js → BlockIssueBadge-CS7ytN-z.js} +5 -5
- package/dist/cdn/chunks/{BlockIssueBadge-05Q3L4RV.js.map → BlockIssueBadge-CS7ytN-z.js.map} +1 -1
- package/dist/cdn/chunks/BlockPreviewCanvas-cOTMFRcg.js +138 -0
- package/dist/cdn/chunks/BlockPreviewCanvas-cOTMFRcg.js.map +1 -0
- package/dist/cdn/chunks/{CloudHeaderExtras-5ONQ1RCa.js → CloudHeaderExtras-DJXLTUHc.js} +5 -5
- package/dist/cdn/chunks/{CloudHeaderExtras-5ONQ1RCa.js.map → CloudHeaderExtras-DJXLTUHc.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-_irSdWbi.js → CloudPanels-D1fPLjG8.js} +8 -8
- package/dist/cdn/chunks/{CloudPanels-_irSdWbi.js.map → CloudPanels-D1fPLjG8.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-CZufI1On.js → CollaboratorBar-MeRQB1eN.js} +5 -5
- package/dist/cdn/chunks/{CollaboratorBar-CZufI1On.js.map → CollaboratorBar-MeRQB1eN.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-VH_NJ5HZ.js → CommentsPanel-CmxPylNf.js} +3 -3
- package/dist/cdn/chunks/{CommentsPanel-VH_NJ5HZ.js.map → CommentsPanel-CmxPylNf.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-CYPH5rVi.js → CommentsSidebar-CrleQTbo.js} +13 -13
- package/dist/cdn/chunks/{CommentsSidebar-CYPH5rVi.js.map → CommentsSidebar-CrleQTbo.js.map} +1 -1
- package/dist/cdn/chunks/CountdownBlock-Dasj191h.js +94 -0
- package/dist/cdn/chunks/CountdownBlock-Dasj191h.js.map +1 -0
- package/dist/cdn/chunks/{CountdownToolbar-BaXCefQM.js → CountdownToolbar-DPIOtlN0.js} +8 -8
- package/dist/cdn/chunks/{CountdownToolbar-BaXCefQM.js.map → CountdownToolbar-DPIOtlN0.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-GjkpHylX.js → DesignReferenceSidebar-BgTNqgCy.js} +8 -8
- package/dist/cdn/chunks/{DesignReferenceSidebar-GjkpHylX.js.map → DesignReferenceSidebar-BgTNqgCy.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-C1Lv2y_O.js → IssuesPanel-BGjLcNpQ.js} +6 -6
- package/dist/cdn/chunks/{IssuesPanel-C1Lv2y_O.js.map → IssuesPanel-BGjLcNpQ.js.map} +1 -1
- package/dist/cdn/chunks/{LoadingTrack-Cg1HRIND.js → LoadingTrack-DbH97JR9.js} +2 -2
- package/dist/cdn/chunks/{LoadingTrack-Cg1HRIND.js.map → LoadingTrack-DbH97JR9.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-BYjdrDnQ.js → LogicTagInsertButton-BEsqPhMr.js} +11 -11
- package/dist/cdn/chunks/{LogicTagInsertButton-BYjdrDnQ.js.map → LogicTagInsertButton-BEsqPhMr.js.map} +1 -1
- package/dist/cdn/chunks/{MediaEditModal-CD3fVbWI.js → MediaEditModal-C1Ao0i2c.js} +4 -4
- package/dist/cdn/chunks/{MediaEditModal-CD3fVbWI.js.map → MediaEditModal-C1Ao0i2c.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-B2AyUUcf.js → MediaPanels-1GPYiZZ0.js} +3 -3
- package/dist/cdn/chunks/{MediaPanels-B2AyUUcf.js.map → MediaPanels-1GPYiZZ0.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-Cx67J_vg.js → MergeTagInput-Dy13_OLc.js} +4 -4
- package/dist/cdn/chunks/{MergeTagInput-Cx67J_vg.js.map → MergeTagInput-Dy13_OLc.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-DZ4EuXVp.js → MergeTagModeToggle-B2CPZOeF.js} +6 -6
- package/dist/cdn/chunks/{MergeTagModeToggle-DZ4EuXVp.js.map → MergeTagModeToggle-B2CPZOeF.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-DndEFXmR.js → ParagraphEditor-BGLIw7kg.js} +91 -76
- package/dist/cdn/chunks/ParagraphEditor-BGLIw7kg.js.map +1 -0
- package/dist/cdn/chunks/{RestoreVersionDialog-CFYs13a4.js → RestoreVersionDialog-BhykE8En.js} +8 -8
- package/dist/cdn/chunks/{RestoreVersionDialog-CFYs13a4.js.map → RestoreVersionDialog-BhykE8En.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-DKkDQ0dc.js → RichTextEditorContent-B-txUvPL.js} +11 -11
- package/dist/cdn/chunks/{RichTextEditorContent-DKkDQ0dc.js.map → RichTextEditorContent-B-txUvPL.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-BOA2RaC_.js → SaveBlockDialog-BHqEp7jw.js} +40 -40
- package/dist/cdn/chunks/{SaveBlockDialog-BOA2RaC_.js.map → SaveBlockDialog-BHqEp7jw.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DQDVek3K.js → SavedBlocksBrowserModal-BhR6AI0f.js} +10 -10
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DQDVek3K.js.map → SavedBlocksBrowserModal-BhR6AI0f.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-Lu3tJ3QA.js → SavedBlocksPanels-YwffJtfY.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPanels-Lu3tJ3QA.js.map → SavedBlocksPanels-YwffJtfY.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-D7MtqG6r.js → SavedBlocksPickBar-BtpFU7es.js} +6 -6
- package/dist/cdn/chunks/{SavedBlocksPickBar-D7MtqG6r.js.map → SavedBlocksPickBar-BtpFU7es.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-C_57Bfkf.js → TemplateScoringPanel-N4ySFh5w.js} +12 -12
- package/dist/cdn/chunks/{TemplateScoringPanel-C_57Bfkf.js.map → TemplateScoringPanel-N4ySFh5w.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-rZiHmq24.js → TemplateSettings-C7b5X34U.js} +13 -13
- package/dist/cdn/chunks/TemplateSettings-C7b5X34U.js.map +1 -0
- package/dist/cdn/chunks/{TestEmailModal-DWEyHXH2.js → TestEmailModal-DHJKI5y5.js} +11 -11
- package/dist/cdn/chunks/{TestEmailModal-DWEyHXH2.js.map → TestEmailModal-DHJKI5y5.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-XXMD-Lnr.js → TestEmailPanel-lYtzTXpR.js} +3 -3
- package/dist/cdn/chunks/{TestEmailPanel-XXMD-Lnr.js.map → TestEmailPanel-lYtzTXpR.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-D1F0YoE-.js → TitleEditor-5eY01ypW.js} +15 -15
- package/dist/cdn/chunks/{TitleEditor-D1F0YoE-.js.map → TitleEditor-5eY01ypW.js.map} +1 -1
- package/dist/cdn/chunks/{ToggleSwitch-B5U9cqhi.js → ToggleSwitch-BN8rMC2m.js} +3 -3
- package/dist/cdn/chunks/{ToggleSwitch-B5U9cqhi.js.map → ToggleSwitch-BN8rMC2m.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-C_5HfUQq.js → Toolbar-Ik54UO_-.js} +696 -575
- package/dist/cdn/chunks/Toolbar-Ik54UO_-.js.map +1 -0
- package/dist/cdn/chunks/{TplModal-CYBbPCHL.js → TplModal-WIBiBrGy.js} +6 -6
- package/dist/cdn/chunks/TplModal-WIBiBrGy.js.map +1 -0
- package/dist/cdn/chunks/{VersionHistoryMenu-DbxuJgDO.js → VersionHistoryMenu-CZnlS9K5.js} +6 -6
- package/dist/cdn/chunks/{VersionHistoryMenu-DbxuJgDO.js.map → VersionHistoryMenu-CZnlS9K5.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-Dq12VsTX.js → VersionHistoryPanels-xjLSpR1e.js} +3 -3
- package/dist/cdn/chunks/{VersionHistoryPanels-Dq12VsTX.js.map → VersionHistoryPanels-xjLSpR1e.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-HRERIH-v.js → VersionPreviewBanner-sARpn4hh.js} +5 -5
- package/dist/cdn/chunks/{VersionPreviewBanner-HRERIH-v.js.map → VersionPreviewBanner-sARpn4hh.js.map} +1 -1
- package/dist/cdn/chunks/WrapperBlock-fsLe7goL.js +48 -0
- package/dist/cdn/chunks/WrapperBlock-fsLe7goL.js.map +1 -0
- package/dist/cdn/chunks/{blockTypeIcons-DdZP-3FM.js → blockTypeIcons-D3g5QzdT.js} +2 -2
- package/dist/cdn/chunks/{blockTypeIcons-DdZP-3FM.js.map → blockTypeIcons-D3g5QzdT.js.map} +1 -1
- package/dist/cdn/chunks/{ca-C__Dzq--.js → ca-DMoGGP9L.js} +22 -1
- package/dist/cdn/chunks/ca-DMoGGP9L.js.map +1 -0
- package/dist/cdn/chunks/{cloud-h1vaHp2p.js → cloud-Cd7ptfhL.js} +3 -3
- package/dist/cdn/chunks/{cloud-h1vaHp2p.js.map → cloud-Cd7ptfhL.js.map} +1 -1
- package/dist/cdn/chunks/{createCloudRuntime-bJN9EM1H.js → createCloudRuntime-DtIZ2Lee.js} +17 -8
- package/dist/cdn/chunks/createCloudRuntime-DtIZ2Lee.js.map +1 -0
- package/dist/cdn/chunks/{de-CGjbQ2mt.js → de-DgAelLbM.js} +22 -1
- package/dist/cdn/chunks/de-DgAelLbM.js.map +1 -0
- package/dist/cdn/chunks/{dist-B7W-Lb65.js → dist-CjL6JHML.js} +3 -3
- package/dist/cdn/chunks/{dist-B7W-Lb65.js.map → dist-CjL6JHML.js.map} +1 -1
- package/dist/cdn/chunks/{dist-C5nRd_ua.js → dist-MNQYSEWU.js} +4 -4
- package/dist/cdn/chunks/{dist-C5nRd_ua.js.map → dist-MNQYSEWU.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-BUTN5vZC.js → draggable-DrsNwZuB.js} +1673 -1595
- package/dist/cdn/chunks/draggable-DrsNwZuB.js.map +1 -0
- package/dist/cdn/chunks/{editor-modal-BpsbYA4_.js → editor-modal-Bcwo0orC.js} +34 -34
- package/dist/cdn/chunks/{editor-modal-BpsbYA4_.js.map → editor-modal-Bcwo0orC.js.map} +1 -1
- package/dist/cdn/chunks/en-BANFWZdr.js +1 -0
- package/dist/cdn/chunks/{en-BTiiAC-B.js → en-Dekrl7HA.js} +22 -1
- package/dist/cdn/chunks/en-Dekrl7HA.js.map +1 -0
- package/dist/cdn/chunks/{es-CdTOcSTf.js → es-BaZzyidV.js} +22 -1
- package/dist/cdn/chunks/es-BaZzyidV.js.map +1 -0
- package/dist/cdn/chunks/{extensions-CrmXF4MW.js → extensions-T-t8MKDb.js} +7 -7
- package/dist/cdn/chunks/{extensions-CrmXF4MW.js.map → extensions-T-t8MKDb.js.map} +1 -1
- package/dist/cdn/chunks/{fr-B6lcLLzC.js → fr-C5ucb1HK.js} +22 -1
- package/dist/cdn/chunks/fr-C5ucb1HK.js.map +1 -0
- package/dist/cdn/chunks/{icons-Dr9erFGs.js → icons-C4fX9Bwy.js} +27 -27
- package/dist/cdn/chunks/{icons-Dr9erFGs.js.map → icons-C4fX9Bwy.js.map} +1 -1
- package/dist/cdn/chunks/{ja-BhdkqENz.js → ja-CUgR3mV0.js} +22 -1
- package/dist/cdn/chunks/ja-CUgR3mV0.js.map +1 -0
- package/dist/cdn/chunks/{keys-BKu-LOk5.js → keys-HI-INbkz.js} +2 -2
- package/dist/cdn/chunks/{keys-BKu-LOk5.js.map → keys-HI-INbkz.js.map} +1 -1
- package/dist/{nl-CE3YItYg.js → cdn/chunks/nl-qrLY7hMS.js} +23 -0
- package/dist/cdn/chunks/nl-qrLY7hMS.js.map +1 -0
- package/dist/cdn/chunks/{preRenderCustomBlocks-CyGB3lZr.js → preRenderCustomBlocks-Co0oi0Jf.js} +4 -2
- package/dist/cdn/chunks/preRenderCustomBlocks-Co0oi0Jf.js.map +1 -0
- package/dist/cdn/chunks/{pt-BR-CUIT4rq4.js → pt-BR-C6hMTQYi.js} +22 -1
- package/dist/cdn/chunks/pt-BR-C6hMTQYi.js.map +1 -0
- package/dist/cdn/chunks/socialIcons-DACw1wA8.js +1103 -0
- package/dist/cdn/chunks/socialIcons-DACw1wA8.js.map +1 -0
- package/dist/{dist-BI_LeQGl.js → cdn/chunks/src-BnJlDuyB.js} +392 -249
- package/dist/cdn/chunks/src-BnJlDuyB.js.map +1 -0
- package/dist/cdn/chunks/{src-BMw3u-iV.js → src-Bu0qBpbf.js} +214 -212
- package/dist/cdn/chunks/src-Bu0qBpbf.js.map +1 -0
- package/dist/cdn/chunks/{src-B0pZeTYO.js → src-CHlVFp7r.js} +308 -268
- package/dist/cdn/chunks/src-CHlVFp7r.js.map +1 -0
- package/dist/{styleConstants-C_YAPdQS.js → cdn/chunks/styleConstants-D1Jz-TFU.js} +9 -28
- package/dist/cdn/chunks/{styleConstants-C_YAPdQS.js.map → styleConstants-D1Jz-TFU.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-CYDXLO17.js → tiptap-BPigZk5G.js} +3258 -3098
- package/dist/cdn/chunks/tiptap-BPigZk5G.js.map +1 -0
- package/dist/cdn/chunks/{useAliveFlag-DzyXG-8A.js → useAliveFlag-DCB96vzR.js} +2 -2
- package/dist/cdn/chunks/{useAliveFlag-DzyXG-8A.js.map → useAliveFlag-DCB96vzR.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-Cgk0ts_F.js → useCloudI18n-BBF4waXO.js} +3 -3
- package/dist/cdn/chunks/{useCloudI18n-Cgk0ts_F.js.map → useCloudI18n-BBF4waXO.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-DuC7kVti.js → useEditorCore-Bf2d1DKI.js} +543 -532
- package/dist/cdn/chunks/useEditorCore-Bf2d1DKI.js.map +1 -0
- package/dist/cdn/chunks/useEditorRoot-CTc6O8al.js +10 -0
- package/dist/cdn/chunks/{useEditorRoot-DDPIcEOO.js.map → useEditorRoot-CTc6O8al.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-DO4NTunW.js → useI18n-DUlyyIJJ.js} +3 -3
- package/dist/cdn/chunks/{useI18n-DO4NTunW.js.map → useI18n-DUlyyIJJ.js.map} +1 -1
- package/dist/cdn/chunks/{useLogicTag-B3uV3XHG.js → useLogicTag-3S63go4E.js} +4 -4
- package/dist/cdn/chunks/{useLogicTag-B3uV3XHG.js.map → useLogicTag-3S63go4E.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-DJLM-7WQ.js → useMergeTag-BQtxUHq1.js} +4 -4
- package/dist/cdn/chunks/{useMergeTag-DJLM-7WQ.js.map → useMergeTag-BQtxUHq1.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-CtVNwoHj.js → usePopoverPosition-IbaW6-Ao.js} +3 -3
- package/dist/cdn/chunks/{usePopoverPosition-CtVNwoHj.js.map → usePopoverPosition-IbaW6-Ao.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-CpmB5KxW.js → useScrollToBlock-uUa601I4.js} +3 -3
- package/dist/cdn/chunks/{useScrollToBlock-CpmB5KxW.js.map → useScrollToBlock-uUa601I4.js.map} +1 -1
- package/dist/cdn/chunks/withCurrentFont-DwJd-lKc.js +21 -0
- package/dist/cdn/chunks/{withCurrentFont-isIyuezD.js.map → withCurrentFont-DwJd-lKc.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +614 -610
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-ZKvtMdpe.js → check-B5R4zXr7.js} +1 -1
- package/dist/{chevron-down-RrwkYMlp.js → chevron-down-BKyl85NV.js} +1 -1
- package/dist/{chevron-right-CklHaa1U.js → chevron-right-BmToZ8qX.js} +1 -1
- package/dist/{chevron-up-DjN2NTbo.js → chevron-up-DNYdOxPC.js} +1 -1
- package/dist/{circle-alert-BR1_Yfb-.js → circle-alert-Dx9ju3YZ.js} +1 -1
- package/dist/{clock-BEagNj21.js → clock-Dv9bxsSH.js} +1 -1
- package/dist/{cloud-DPGjMGfv.js → cloud-DwjaAdwK.js} +2 -2
- package/dist/{copy-D6DNoSq1.js → copy-BsKl4dcy.js} +1 -1
- package/dist/{createCloudRuntime-D0RRgWab.js → createCloudRuntime-C8gpPsSi.js} +16 -7
- package/dist/{createLucideIcon-BAPyioGd.js → createLucideIcon-DziKp5iU.js} +6 -6
- package/dist/{de-CGjbQ2mt.js → de-DgAelLbM.js} +21 -0
- package/dist/{dist-Bd7khQsg.js → dist-3HpYixwF.js} +2 -2
- package/dist/{dist-lL3nVbxV.js → dist-BC-ZEYLd.js} +2 -2
- package/dist/dist-BPFcLKTw.js +5 -0
- package/dist/{cdn/chunks/src-Bh0MoJ67.js → dist-C8koXLhl.js} +295 -298
- package/dist/{dist-C-VFTX82.js → dist-CUWI-IvA.js} +2 -2
- package/dist/{dist-Bc30883t.js → dist-Cr7RPxI9.js} +5 -5
- package/dist/{dist-DapsJxn_.js → dist-CuLwJF7H.js} +2 -2
- package/dist/{dist-5KNKxglR.js → dist-CyBwSiAa.js} +2 -2
- package/dist/dist-D7Yj7E-F.js +5 -0
- package/dist/{dist-B_vYjCsk.js → dist-DAAJogrx.js} +3 -3
- package/dist/{dist-CMcFD7gP.js → dist-DBxgrOeo.js} +1906 -1746
- package/dist/{dist-DHensKDY.js → dist-DPcf6XZ8.js} +2 -2
- package/dist/{dist-5DAb7bYT.js → dist-DVNjPKsH.js} +2 -2
- package/dist/{dist-C3eH9-N2.js → dist-DXyGqIDE.js} +2 -2
- package/dist/{dist-1H4cnaoD.js → dist-DuufrR8O.js} +4 -4
- package/dist/{editor-modal-oRmkDlUs.js → editor-modal-BwyIUnV_.js} +27 -27
- package/dist/en-CC-57eC_.js +1 -0
- package/dist/{en-BTiiAC-B.js → en-Dekrl7HA.js} +21 -0
- package/dist/{es-CdTOcSTf.js → es-BaZzyidV.js} +21 -0
- package/dist/{extensions-CYigjb1g.js → extensions-DHyKjsNZ.js} +9 -9
- package/dist/{eye-DvsTBI57.js → eye-DQuinb9k.js} +1 -1
- package/dist/{fr-B6lcLLzC.js → fr-C5ucb1HK.js} +21 -0
- package/dist/{image-up-BoFGZm5Q.js → image-up-yTfLjOrj.js} +1 -1
- package/dist/index.d.ts +58 -8
- package/dist/{info-0bQQGjTV.js → info-C7OjlS11.js} +1 -1
- package/dist/{ja-BhdkqENz.js → ja-CUgR3mV0.js} +21 -0
- package/dist/{keys-injl74ob.js → keys-BKFq19a2.js} +1 -1
- package/dist/{link-Cstrr3Ep.js → link-CrUFaZ0t.js} +1 -1
- package/dist/{list-Dx9Rmy5s.js → list-CLgv6M-k.js} +1 -1
- package/dist/{loader-circle-D8Qqs0MG.js → loader-circle-BXM5VO0K.js} +1 -1
- package/dist/{message-circle-D78ELX6I.js → message-circle-BisdQ8H9.js} +1 -1
- package/dist/{cdn/chunks/nl-CE3YItYg.js → nl-qrLY7hMS.js} +21 -2
- package/dist/{package-DOvM9sHE.js → package-C1T4AxV1.js} +1 -1
- package/dist/{pencil-B6m0OG0n.js → pencil-oo2mwf4C.js} +1 -1
- package/dist/{plus-D-nEKxTc.js → plus-BIilXopD.js} +1 -1
- package/dist/{preRenderCustomBlocks-DokBGA_M.js → preRenderCustomBlocks-lFX0HHiV.js} +5 -3
- package/dist/{pt-BR-CUIT4rq4.js → pt-BR-C6hMTQYi.js} +21 -0
- package/dist/{refresh-cw-CXZS-R1U.js → refresh-cw-DrLlkEVC.js} +1 -1
- package/dist/{runtime-dom.esm-bundler-CO67ema2.js → runtime-dom.esm-bundler-lFF-QG3j.js} +3 -3
- package/dist/{search-DSvil0jo.js → search-DNu9lImk.js} +1 -1
- package/dist/{send-BBR28V94.js → send-DDNh3LoJ.js} +1 -1
- package/dist/{shield-check-ByxUnaU9.js → shield-check-aXM3o14f.js} +1 -1
- package/dist/{smartphone-CNOwGf5T.js → smartphone-isccgDee.js} +1 -1
- package/dist/socialIcons-BctavKBN.js +1180 -0
- package/dist/{sparkles-DO1hzwzf.js → sparkles-CIMfFxKv.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{cdn/chunks/styleConstants-C_YAPdQS.js → styleConstants-D1Jz-TFU.js} +7 -30
- package/dist/templatical-editor.js +559 -555
- package/dist/{text-align-start-BKEKMheq.js → text-align-start-C4JFeqsq.js} +1 -1
- package/dist/{trash-CKEQH4vH.js → trash-8ZD9pK_c.js} +1 -1
- package/dist/{triangle-alert-BHnfd3fV.js → triangle-alert-pq45xEHl.js} +1 -1
- package/dist/{upload-C8uO7KsR.js → upload-DrNFmVes.js} +1 -1
- package/dist/{useAliveFlag-6PtarpNZ.js → useAliveFlag-Dd06mRxe.js} +1 -1
- package/dist/{useCloudI18n-GvIOLziA.js → useCloudI18n-Nwqo7pI_.js} +2 -2
- package/dist/{useEditorCore-BJAQMvNW.js → useEditorCore-BcT7UI4e.js} +1011 -1006
- package/dist/{useEditorRoot-OWzNpDdT.js → useEditorRoot-BD3piYtD.js} +2 -2
- package/dist/{useI18n-uF11q85g.js → useI18n-CxVEpurs.js} +2 -2
- package/dist/{useLogicTag-B5gjcMzn.js → useLogicTag-D-dI8H6p.js} +3 -3
- package/dist/{useMergeTag-BwsBIDzR.js → useMergeTag-5wMeDBi-.js} +5 -5
- package/dist/{usePopoverPosition-DkBrHfCo.js → usePopoverPosition-CwnH1o5g.js} +2 -2
- package/dist/{useScrollToBlock-JRxhT1u_.js → useScrollToBlock-Do3suaqp.js} +3 -3
- package/dist/{vue.runtime.esm-bundler-CctRY8kr.js → vue.runtime.esm-bundler-CAzmrXdD.js} +1215 -1155
- package/dist/{withCurrentFont-C9vqrduu.js → withCurrentFont-B4YnsG_2.js} +1 -1
- package/dist/{x-gEC0yMci.js → x-CBFKGLB1.js} +1 -1
- package/package.json +23 -23
- package/dist/BlockPreviewCanvas-DIZ0KgUD.js +0 -133
- package/dist/CountdownBlock-RNx3hIu0.js +0 -91
- package/dist/WrapperBlock-CTkmA887.js +0 -34
- package/dist/cdn/chunks/BlockPreviewCanvas-Djz9YAFx.js +0 -135
- package/dist/cdn/chunks/BlockPreviewCanvas-Djz9YAFx.js.map +0 -1
- package/dist/cdn/chunks/CountdownBlock-lHU3Lu7Q.js +0 -93
- package/dist/cdn/chunks/CountdownBlock-lHU3Lu7Q.js.map +0 -1
- package/dist/cdn/chunks/ParagraphEditor-DndEFXmR.js.map +0 -1
- package/dist/cdn/chunks/TemplateSettings-rZiHmq24.js.map +0 -1
- package/dist/cdn/chunks/Toolbar-C_5HfUQq.js.map +0 -1
- package/dist/cdn/chunks/TplModal-CYBbPCHL.js.map +0 -1
- package/dist/cdn/chunks/WrapperBlock-CJ0CLqi2.js +0 -36
- package/dist/cdn/chunks/WrapperBlock-CJ0CLqi2.js.map +0 -1
- package/dist/cdn/chunks/ca-C__Dzq--.js.map +0 -1
- package/dist/cdn/chunks/createCloudRuntime-bJN9EM1H.js.map +0 -1
- package/dist/cdn/chunks/de-CGjbQ2mt.js.map +0 -1
- package/dist/cdn/chunks/draggable-BUTN5vZC.js.map +0 -1
- package/dist/cdn/chunks/en-BTiiAC-B.js.map +0 -1
- package/dist/cdn/chunks/en-CAt6y87e.js +0 -1
- package/dist/cdn/chunks/es-CdTOcSTf.js.map +0 -1
- package/dist/cdn/chunks/fr-B6lcLLzC.js.map +0 -1
- package/dist/cdn/chunks/ja-BhdkqENz.js.map +0 -1
- package/dist/cdn/chunks/nl-CE3YItYg.js.map +0 -1
- package/dist/cdn/chunks/preRenderCustomBlocks-CyGB3lZr.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-CUIT4rq4.js.map +0 -1
- package/dist/cdn/chunks/socialIcons-ClJVDZwt.js +0 -1031
- package/dist/cdn/chunks/socialIcons-ClJVDZwt.js.map +0 -1
- package/dist/cdn/chunks/src-B0pZeTYO.js.map +0 -1
- package/dist/cdn/chunks/src-BMw3u-iV.js.map +0 -1
- package/dist/cdn/chunks/src-Bh0MoJ67.js.map +0 -1
- package/dist/cdn/chunks/tiptap-CYDXLO17.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-DuC7kVti.js.map +0 -1
- package/dist/cdn/chunks/useEditorRoot-DDPIcEOO.js +0 -10
- package/dist/cdn/chunks/withCurrentFont-isIyuezD.js +0 -21
- package/dist/dist-CFC4pg2o.js +0 -5
- package/dist/dist-j2FavQmU.js +0 -5
- package/dist/en-Bk4iCfjp.js +0 -1
- package/dist/socialIcons-Ct_IoqPQ.js +0 -1107
|
@@ -1,22 +1,22 @@
|
|
|
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-
|
|
2
|
-
import { c as b, s as x } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import {
|
|
4
|
-
import { t as C } from "./dist-
|
|
5
|
-
import { _ as w, b as T, v as E, x as D } from "./useEditorCore-
|
|
6
|
-
import { $ as O, A as k, E as
|
|
7
|
-
import { t as
|
|
8
|
-
import { n as
|
|
9
|
-
import { t as
|
|
10
|
-
import { i as
|
|
11
|
-
import { c as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { n as
|
|
16
|
-
import { t as
|
|
17
|
-
import { a as
|
|
18
|
-
import { n as
|
|
19
|
-
var
|
|
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 { it as S } from "./dist-C8koXLhl.js";
|
|
4
|
+
import { t as C } from "./dist-DAAJogrx.js";
|
|
5
|
+
import { _ as w, b as T, v as E, x as D } from "./useEditorCore-BcT7UI4e.js";
|
|
6
|
+
import { $ as O, A as k, E as ee, J as te, Z as A, g as j, v as M } from "./keys-BKFq19a2.js";
|
|
7
|
+
import { t as N } from "./useI18n-CxVEpurs.js";
|
|
8
|
+
import { n as P } from "./usePopoverPosition-CwnH1o5g.js";
|
|
9
|
+
import { t as F } from "./createLucideIcon-DziKp5iU.js";
|
|
10
|
+
import { i as ne, n as I, r as re, t as L } from "./RichTextEditorContent-BGeTg-QL.js";
|
|
11
|
+
import { c as R, l as ie, u as ae } from "./LogicTagInsertButton-DDYKnqmj.js";
|
|
12
|
+
import { t as oe } from "./link-CrUFaZ0t.js";
|
|
13
|
+
import { t as se } from "./loader-circle-BXM5VO0K.js";
|
|
14
|
+
import { t as ce } from "./list-CLgv6M-k.js";
|
|
15
|
+
import { n as le, r as ue, t as de } from "./text-align-start-C4JFeqsq.js";
|
|
16
|
+
import { t as z } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
17
|
+
import { a as fe, n as pe, o as me, s as he } from "./styleConstants-D1Jz-TFU.js";
|
|
18
|
+
import { n as ge, t as _e } from "./withCurrentFont-B4YnsG_2.js";
|
|
19
|
+
var B = F({
|
|
20
20
|
name: "face-slightly-smiling",
|
|
21
21
|
size: 24,
|
|
22
22
|
node: [
|
|
@@ -40,7 +40,7 @@ var H = L({
|
|
|
40
40
|
}]
|
|
41
41
|
],
|
|
42
42
|
aliases: ["smile"]
|
|
43
|
-
}),
|
|
43
|
+
}), ve = F({
|
|
44
44
|
name: "list-ordered",
|
|
45
45
|
size: 24,
|
|
46
46
|
node: [
|
|
@@ -69,7 +69,7 @@ var H = L({
|
|
|
69
69
|
key: "xtkcd5"
|
|
70
70
|
}]
|
|
71
71
|
]
|
|
72
|
-
}),
|
|
72
|
+
}), ye = F({
|
|
73
73
|
name: "remove-formatting",
|
|
74
74
|
size: 24,
|
|
75
75
|
node: [
|
|
@@ -94,7 +94,7 @@ var H = L({
|
|
|
94
94
|
key: "11p7ol"
|
|
95
95
|
}]
|
|
96
96
|
]
|
|
97
|
-
}),
|
|
97
|
+
}), be = F({
|
|
98
98
|
name: "strikethrough",
|
|
99
99
|
size: 24,
|
|
100
100
|
node: [
|
|
@@ -114,7 +114,7 @@ var H = L({
|
|
|
114
114
|
key: "1e0a9i"
|
|
115
115
|
}]
|
|
116
116
|
]
|
|
117
|
-
}),
|
|
117
|
+
}), xe = F({
|
|
118
118
|
name: "subscript",
|
|
119
119
|
size: 24,
|
|
120
120
|
node: [
|
|
@@ -131,7 +131,7 @@ var H = L({
|
|
|
131
131
|
key: "e8ta8j"
|
|
132
132
|
}]
|
|
133
133
|
]
|
|
134
|
-
}),
|
|
134
|
+
}), Se = F({
|
|
135
135
|
name: "superscript",
|
|
136
136
|
size: 24,
|
|
137
137
|
node: [
|
|
@@ -148,7 +148,7 @@ var H = L({
|
|
|
148
148
|
key: "1dfcux"
|
|
149
149
|
}]
|
|
150
150
|
]
|
|
151
|
-
}),
|
|
151
|
+
}), Ce = F({
|
|
152
152
|
name: "text-align-justify",
|
|
153
153
|
size: 24,
|
|
154
154
|
node: [
|
|
@@ -166,7 +166,7 @@ var H = L({
|
|
|
166
166
|
}]
|
|
167
167
|
],
|
|
168
168
|
aliases: ["align-justify"]
|
|
169
|
-
}),
|
|
169
|
+
}), we = F({
|
|
170
170
|
name: "underline",
|
|
171
171
|
size: 24,
|
|
172
172
|
node: [["path", {
|
|
@@ -179,15 +179,15 @@ var H = L({
|
|
|
179
179
|
y2: "20",
|
|
180
180
|
key: "nun2al"
|
|
181
181
|
}]]
|
|
182
|
-
}),
|
|
182
|
+
}), V = [
|
|
183
183
|
"aria-label",
|
|
184
184
|
"title",
|
|
185
185
|
"aria-expanded"
|
|
186
|
-
],
|
|
186
|
+
], H = ["aria-label"], U = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, W = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, G = ["aria-label", "onClick"], Te = /* @__PURE__ */ y({
|
|
187
187
|
__name: "EmojiPickerDropdown",
|
|
188
188
|
emits: ["insert"],
|
|
189
189
|
setup(t, { emit: n }) {
|
|
190
|
-
let r = n, { categories: a, isOpen: d, toggle: f, close: h } = T(), { t: y, format: S } =
|
|
190
|
+
let r = n, { categories: a, isOpen: d, toggle: f, close: h } = T(), { t: y, format: S } = N(), w = o(null), E = o(null), O = _(() => d.value);
|
|
191
191
|
D(w, O), C(E, () => {
|
|
192
192
|
d.value && h();
|
|
193
193
|
});
|
|
@@ -207,10 +207,10 @@ var H = L({
|
|
|
207
207
|
"aria-haspopup": "dialog",
|
|
208
208
|
"aria-controls": "tpl-emoji-picker",
|
|
209
209
|
onClick: n[0] ||= (...e) => s(f) && s(f)(...e)
|
|
210
|
-
}, [u(s(
|
|
210
|
+
}, [u(s(B), {
|
|
211
211
|
size: 16,
|
|
212
212
|
"stroke-width": 2
|
|
213
|
-
})], 10,
|
|
213
|
+
})], 10, V), s(d) ? (e(), l("div", {
|
|
214
214
|
key: 0,
|
|
215
215
|
id: "tpl-emoji-picker",
|
|
216
216
|
ref_key: "pickerRef",
|
|
@@ -224,19 +224,19 @@ var H = L({
|
|
|
224
224
|
}, [(e(!0), l(g, null, i(s(a), (t) => (e(), l("div", {
|
|
225
225
|
key: t.key,
|
|
226
226
|
class: "tpl:mb-2 tpl:last:mb-0"
|
|
227
|
-
}, [c("div",
|
|
227
|
+
}, [c("div", U, p(s(y).emoji[t.key]), 1), c("div", W, [(e(!0), l(g, null, i(t.emojis, (t) => (e(), l("button", {
|
|
228
228
|
key: t,
|
|
229
229
|
type: "button",
|
|
230
230
|
"aria-label": s(S)(s(y).paragraphEditor.emojiItemLabel, { emoji: t }),
|
|
231
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
232
|
onClick: (e) => k(t)
|
|
233
|
-
}, p(t), 9,
|
|
233
|
+
}, p(t), 9, G))), 128))])]))), 128))], 40, H)) : v("", !0)], 512));
|
|
234
234
|
}
|
|
235
|
-
}),
|
|
235
|
+
}), K = [
|
|
236
236
|
"aria-label",
|
|
237
237
|
"title",
|
|
238
238
|
"aria-pressed"
|
|
239
|
-
],
|
|
239
|
+
], q = /* @__PURE__ */ y({
|
|
240
240
|
__name: "ToolbarIconButton",
|
|
241
241
|
props: {
|
|
242
242
|
icon: {},
|
|
@@ -255,16 +255,16 @@ var H = L({
|
|
|
255
255
|
}, [(e(), h(n(t.icon), {
|
|
256
256
|
size: t.size ?? 16,
|
|
257
257
|
"stroke-width": t.strokeWidth ?? 2
|
|
258
|
-
}, null, 8, ["size", "stroke-width"]))], 10,
|
|
258
|
+
}, null, 8, ["size", "stroke-width"]))], 10, K));
|
|
259
259
|
}
|
|
260
|
-
}),
|
|
260
|
+
}), J = {}, Y = {
|
|
261
261
|
class: "tpl:mx-1 tpl:h-6 tpl:w-px tpl:bg-[var(--tpl-border)]",
|
|
262
262
|
"aria-hidden": "true"
|
|
263
263
|
};
|
|
264
|
-
function
|
|
265
|
-
return e(), l("span",
|
|
264
|
+
function X(t, n) {
|
|
265
|
+
return e(), l("span", Y);
|
|
266
266
|
}
|
|
267
|
-
var
|
|
267
|
+
var Z = /*#__PURE__*/ z(J, [["render", X]]), Q = [
|
|
268
268
|
"value",
|
|
269
269
|
"aria-label",
|
|
270
270
|
"title"
|
|
@@ -279,26 +279,36 @@ var Q = /*#__PURE__*/ V(X, [["render", we]]), Te = [
|
|
|
279
279
|
},
|
|
280
280
|
emits: ["update:modelValue"],
|
|
281
281
|
setup(t, { emit: n }) {
|
|
282
|
-
let r = n;
|
|
283
|
-
function a(e) {
|
|
284
|
-
r("update:modelValue", e.target.value);
|
|
285
|
-
}
|
|
282
|
+
let r = t, a = n;
|
|
286
283
|
function o(e) {
|
|
287
|
-
|
|
284
|
+
a("update:modelValue", e.target.value);
|
|
288
285
|
}
|
|
289
286
|
function s(e) {
|
|
287
|
+
return typeof e == "string" ? e : e.value;
|
|
288
|
+
}
|
|
289
|
+
function u(e) {
|
|
290
290
|
return typeof e == "string" ? e : e.label;
|
|
291
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
|
+
});
|
|
292
302
|
return (n, r) => (e(), l("select", {
|
|
293
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"]),
|
|
294
|
-
value:
|
|
304
|
+
value: f.value,
|
|
295
305
|
"aria-label": t.label,
|
|
296
306
|
title: t.label,
|
|
297
|
-
onChange:
|
|
298
|
-
}, [c("option", Ee, p(t.placeholder ?? ""), 1), (e(!0), l(g, null, i(
|
|
299
|
-
key:
|
|
300
|
-
value:
|
|
301
|
-
}, p(
|
|
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, Q));
|
|
302
312
|
}
|
|
303
313
|
});
|
|
304
314
|
//#endregion
|
|
@@ -326,53 +336,56 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
326
336
|
"add-logic-tag"
|
|
327
337
|
],
|
|
328
338
|
setup(n, { emit: r }) {
|
|
329
|
-
let i = n, o = r, m = a(
|
|
330
|
-
|
|
339
|
+
let i = n, o = r, m = a(te, null), y = a(A, null), b = O(M, "ParagraphToolbar"), x = P(), S = a(k, null), C = a(ee, null), w = a(j, null), T = _(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = N(), D = b.fonts, F = me.map((e) => ({
|
|
340
|
+
value: e,
|
|
341
|
+
label: e === "normal" ? E.paragraphEditor.letterSpacingNormal : e
|
|
342
|
+
}));
|
|
343
|
+
function I(e) {
|
|
331
344
|
i.editor?.chain().focus().insertContent(e).run();
|
|
332
345
|
}
|
|
333
|
-
function
|
|
346
|
+
function L(e) {
|
|
334
347
|
return i.editor?.getAttributes("textStyle")[e] || "";
|
|
335
348
|
}
|
|
336
349
|
function z(e) {
|
|
337
350
|
let t = i.editor?.chain().focus();
|
|
338
351
|
e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
|
|
339
352
|
}
|
|
340
|
-
function
|
|
353
|
+
function B(e) {
|
|
341
354
|
let t = i.editor?.chain().focus();
|
|
342
355
|
e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
|
|
343
356
|
}
|
|
344
|
-
function
|
|
357
|
+
function V() {
|
|
345
358
|
return i.editor?.isActive("link") ?? !1;
|
|
346
359
|
}
|
|
347
|
-
function
|
|
360
|
+
function H() {
|
|
348
361
|
return i.editor?.getAttributes("link").color || "";
|
|
349
362
|
}
|
|
350
|
-
function
|
|
363
|
+
function U(e) {
|
|
351
364
|
let t = i.editor?.chain().focus();
|
|
352
|
-
t && (
|
|
365
|
+
t && (V() ? (t.extendMarkRange("link").updateAttributes("link", { color: e || null }), e && t.unsetColor(), t.run()) : e ? t.setColor(e).updateAttributes("link", { color: e }).run() : t.unsetColor().run());
|
|
353
366
|
}
|
|
354
|
-
function
|
|
367
|
+
function W() {
|
|
355
368
|
let e = w?.content.value.settings;
|
|
356
|
-
return
|
|
369
|
+
return V() ? Oe(H(), e?.linkColor || e?.textColor) : Oe(L("color"), e?.textColor);
|
|
357
370
|
}
|
|
358
|
-
function
|
|
359
|
-
return
|
|
371
|
+
function G() {
|
|
372
|
+
return V() ? H() : L("color");
|
|
360
373
|
}
|
|
361
|
-
function
|
|
374
|
+
function K() {
|
|
362
375
|
return i.editor?.getAttributes("paragraph").lineHeight || "";
|
|
363
376
|
}
|
|
364
377
|
function J(e) {
|
|
365
378
|
let t = i.editor?.chain().focus();
|
|
366
379
|
e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
|
|
367
380
|
}
|
|
368
|
-
function
|
|
381
|
+
function Y(e) {
|
|
369
382
|
let t = i.editor?.chain().focus();
|
|
370
383
|
e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
|
|
371
384
|
}
|
|
372
|
-
function
|
|
385
|
+
function X() {
|
|
373
386
|
return i.editor?.getAttributes("highlight").color || "";
|
|
374
387
|
}
|
|
375
|
-
function
|
|
388
|
+
function Q(e) {
|
|
376
389
|
let t = i.editor?.chain().focus();
|
|
377
390
|
e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
|
|
378
391
|
}
|
|
@@ -393,8 +406,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
393
406
|
})
|
|
394
407
|
}, [!n.isLoading && n.editor ? (e(), l(g, { key: 0 }, [c("div", Ae, [
|
|
395
408
|
u($, {
|
|
396
|
-
"model-value": s(
|
|
397
|
-
options: s(
|
|
409
|
+
"model-value": s(_e)(L("fontFamily")),
|
|
410
|
+
options: s(ge)(s(D), L("fontFamily")),
|
|
398
411
|
label: s(E).paragraphEditor.fontFamily,
|
|
399
412
|
placeholder: s(E).paragraphEditor.defaultFont,
|
|
400
413
|
"width-class": "tpl:w-32",
|
|
@@ -406,48 +419,48 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
406
419
|
"placeholder"
|
|
407
420
|
]),
|
|
408
421
|
u($, {
|
|
409
|
-
"model-value":
|
|
410
|
-
options: s(
|
|
422
|
+
"model-value": L("fontSize"),
|
|
423
|
+
options: s(fe),
|
|
411
424
|
label: s(E).paragraphEditor.fontSize,
|
|
412
425
|
placeholder: s(E).paragraphEditor.defaultSize,
|
|
413
426
|
"width-class": "tpl:w-20",
|
|
414
|
-
"onUpdate:modelValue":
|
|
427
|
+
"onUpdate:modelValue": B
|
|
415
428
|
}, null, 8, [
|
|
416
429
|
"model-value",
|
|
417
430
|
"options",
|
|
418
431
|
"label",
|
|
419
432
|
"placeholder"
|
|
420
433
|
]),
|
|
421
|
-
u(
|
|
422
|
-
u(
|
|
434
|
+
u(Z),
|
|
435
|
+
u(R, {
|
|
423
436
|
"swatch-only": "",
|
|
424
437
|
size: "sm",
|
|
425
438
|
"data-testid": "text-color-picker",
|
|
426
|
-
"model-value":
|
|
427
|
-
"seed-color":
|
|
439
|
+
"model-value": G(),
|
|
440
|
+
"seed-color": W(),
|
|
428
441
|
"aria-label": s(E).paragraphEditor.textColor,
|
|
429
|
-
"onUpdate:modelValue":
|
|
442
|
+
"onUpdate:modelValue": U
|
|
430
443
|
}, null, 8, [
|
|
431
444
|
"model-value",
|
|
432
445
|
"seed-color",
|
|
433
446
|
"aria-label"
|
|
434
447
|
]),
|
|
435
|
-
u(
|
|
448
|
+
u(R, {
|
|
436
449
|
"swatch-only": "",
|
|
437
450
|
size: "sm",
|
|
438
451
|
"data-testid": "highlight-color-picker",
|
|
439
|
-
"model-value":
|
|
440
|
-
"seed-color": s(
|
|
452
|
+
"model-value": X(),
|
|
453
|
+
"seed-color": s(pe),
|
|
441
454
|
"aria-label": s(E).paragraphEditor.highlightColor,
|
|
442
|
-
"onUpdate:modelValue":
|
|
455
|
+
"onUpdate:modelValue": Q
|
|
443
456
|
}, null, 8, [
|
|
444
457
|
"model-value",
|
|
445
458
|
"seed-color",
|
|
446
459
|
"aria-label"
|
|
447
460
|
]),
|
|
448
|
-
u(
|
|
449
|
-
u(
|
|
450
|
-
icon: s(
|
|
461
|
+
u(Z),
|
|
462
|
+
u(q, {
|
|
463
|
+
icon: s(ne),
|
|
451
464
|
label: s(E).paragraphEditor.bold,
|
|
452
465
|
active: n.editor.isActive("bold"),
|
|
453
466
|
"stroke-width": 2.5,
|
|
@@ -457,8 +470,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
457
470
|
"label",
|
|
458
471
|
"active"
|
|
459
472
|
]),
|
|
460
|
-
u(
|
|
461
|
-
icon: s(
|
|
473
|
+
u(q, {
|
|
474
|
+
icon: s(re),
|
|
462
475
|
label: s(E).paragraphEditor.italic,
|
|
463
476
|
active: n.editor.isActive("italic"),
|
|
464
477
|
onClick: i[1] ||= (e) => n.editor.chain().focus().toggleItalic().run()
|
|
@@ -467,8 +480,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
467
480
|
"label",
|
|
468
481
|
"active"
|
|
469
482
|
]),
|
|
470
|
-
u(
|
|
471
|
-
icon: s(
|
|
483
|
+
u(q, {
|
|
484
|
+
icon: s(we),
|
|
472
485
|
label: s(E).paragraphEditor.underline,
|
|
473
486
|
active: n.editor.isActive("underline"),
|
|
474
487
|
onClick: i[2] ||= (e) => n.editor.chain().focus().toggleUnderline().run()
|
|
@@ -477,8 +490,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
477
490
|
"label",
|
|
478
491
|
"active"
|
|
479
492
|
]),
|
|
480
|
-
u(
|
|
481
|
-
icon: s(
|
|
493
|
+
u(q, {
|
|
494
|
+
icon: s(be),
|
|
482
495
|
label: s(E).paragraphEditor.strikethrough,
|
|
483
496
|
active: n.editor.isActive("strike"),
|
|
484
497
|
onClick: i[3] ||= (e) => n.editor.chain().focus().toggleStrike().run()
|
|
@@ -487,9 +500,9 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
487
500
|
"label",
|
|
488
501
|
"active"
|
|
489
502
|
]),
|
|
490
|
-
u(
|
|
491
|
-
u(
|
|
492
|
-
icon: s(
|
|
503
|
+
u(Z),
|
|
504
|
+
u(q, {
|
|
505
|
+
icon: s(xe),
|
|
493
506
|
label: s(E).paragraphEditor.subscript,
|
|
494
507
|
active: n.editor.isActive("subscript"),
|
|
495
508
|
onClick: i[4] ||= (e) => n.editor.chain().focus().toggleSubscript().run()
|
|
@@ -498,8 +511,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
498
511
|
"label",
|
|
499
512
|
"active"
|
|
500
513
|
]),
|
|
501
|
-
u(
|
|
502
|
-
icon: s(
|
|
514
|
+
u(q, {
|
|
515
|
+
icon: s(Se),
|
|
503
516
|
label: s(E).paragraphEditor.superscript,
|
|
504
517
|
active: n.editor.isActive("superscript"),
|
|
505
518
|
onClick: i[5] ||= (e) => n.editor.chain().focus().toggleSuperscript().run()
|
|
@@ -508,9 +521,9 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
508
521
|
"label",
|
|
509
522
|
"active"
|
|
510
523
|
]),
|
|
511
|
-
u(
|
|
512
|
-
u(
|
|
513
|
-
icon: s(
|
|
524
|
+
u(Z),
|
|
525
|
+
u(q, {
|
|
526
|
+
icon: s(oe),
|
|
514
527
|
label: s(E).paragraphEditor.addLink,
|
|
515
528
|
active: n.editor.isActive("link"),
|
|
516
529
|
onClick: i[6] ||= (e) => o("open-link-dialog")
|
|
@@ -520,8 +533,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
520
533
|
"active"
|
|
521
534
|
])
|
|
522
535
|
]), c("div", je, [
|
|
523
|
-
u(
|
|
524
|
-
icon: s(
|
|
536
|
+
u(q, {
|
|
537
|
+
icon: s(ce),
|
|
525
538
|
label: s(E).paragraphEditor.bulletList,
|
|
526
539
|
active: n.editor.isActive("bulletList"),
|
|
527
540
|
onClick: i[7] ||= (e) => n.editor.chain().focus().toggleBulletList().run()
|
|
@@ -530,8 +543,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
530
543
|
"label",
|
|
531
544
|
"active"
|
|
532
545
|
]),
|
|
533
|
-
u(
|
|
534
|
-
icon: s(
|
|
546
|
+
u(q, {
|
|
547
|
+
icon: s(ve),
|
|
535
548
|
label: s(E).paragraphEditor.numberedList,
|
|
536
549
|
active: n.editor.isActive("orderedList"),
|
|
537
550
|
onClick: i[8] ||= (e) => n.editor.chain().focus().toggleOrderedList().run()
|
|
@@ -540,9 +553,9 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
540
553
|
"label",
|
|
541
554
|
"active"
|
|
542
555
|
]),
|
|
543
|
-
u(
|
|
544
|
-
u(
|
|
545
|
-
icon: s(
|
|
556
|
+
u(Z),
|
|
557
|
+
u(q, {
|
|
558
|
+
icon: s(de),
|
|
546
559
|
label: s(E).paragraphEditor.alignLeft,
|
|
547
560
|
active: n.editor.isActive({ textAlign: "left" }),
|
|
548
561
|
onClick: i[9] ||= (e) => n.editor.chain().focus().setTextAlign("left").run()
|
|
@@ -551,8 +564,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
551
564
|
"label",
|
|
552
565
|
"active"
|
|
553
566
|
]),
|
|
554
|
-
u(
|
|
555
|
-
icon: s(
|
|
567
|
+
u(q, {
|
|
568
|
+
icon: s(ue),
|
|
556
569
|
label: s(E).paragraphEditor.alignCenter,
|
|
557
570
|
active: n.editor.isActive({ textAlign: "center" }),
|
|
558
571
|
onClick: i[10] ||= (e) => n.editor.chain().focus().setTextAlign("center").run()
|
|
@@ -561,8 +574,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
561
574
|
"label",
|
|
562
575
|
"active"
|
|
563
576
|
]),
|
|
564
|
-
u(
|
|
565
|
-
icon: s(
|
|
577
|
+
u(q, {
|
|
578
|
+
icon: s(le),
|
|
566
579
|
label: s(E).paragraphEditor.alignRight,
|
|
567
580
|
active: n.editor.isActive({ textAlign: "right" }),
|
|
568
581
|
onClick: i[11] ||= (e) => n.editor.chain().focus().setTextAlign("right").run()
|
|
@@ -571,8 +584,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
571
584
|
"label",
|
|
572
585
|
"active"
|
|
573
586
|
]),
|
|
574
|
-
u(
|
|
575
|
-
icon: s(
|
|
587
|
+
u(q, {
|
|
588
|
+
icon: s(Ce),
|
|
576
589
|
label: s(E).paragraphEditor.alignJustify,
|
|
577
590
|
active: n.editor.isActive({ textAlign: "justify" }),
|
|
578
591
|
onClick: i[12] ||= (e) => n.editor.chain().focus().setTextAlign("justify").run()
|
|
@@ -581,61 +594,63 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
581
594
|
"label",
|
|
582
595
|
"active"
|
|
583
596
|
]),
|
|
584
|
-
u(
|
|
597
|
+
u(Z),
|
|
585
598
|
u($, {
|
|
586
|
-
"model-value":
|
|
587
|
-
options: s(
|
|
599
|
+
"model-value": K(),
|
|
600
|
+
options: s(he),
|
|
588
601
|
label: s(E).paragraphEditor.lineHeight,
|
|
589
|
-
placeholder:
|
|
602
|
+
placeholder: s(E).paragraphEditor.lineHeightShort,
|
|
590
603
|
"width-class": "tpl:w-16",
|
|
591
604
|
"onUpdate:modelValue": J
|
|
592
605
|
}, null, 8, [
|
|
593
606
|
"model-value",
|
|
594
607
|
"options",
|
|
595
|
-
"label"
|
|
608
|
+
"label",
|
|
609
|
+
"placeholder"
|
|
596
610
|
]),
|
|
597
611
|
u($, {
|
|
598
|
-
"model-value":
|
|
599
|
-
options: s(
|
|
612
|
+
"model-value": L("letterSpacing"),
|
|
613
|
+
options: s(F),
|
|
600
614
|
label: s(E).paragraphEditor.letterSpacing,
|
|
601
|
-
placeholder:
|
|
615
|
+
placeholder: s(E).paragraphEditor.letterSpacingShort,
|
|
602
616
|
"width-class": "tpl:w-20",
|
|
603
|
-
"onUpdate:modelValue":
|
|
617
|
+
"onUpdate:modelValue": Y
|
|
604
618
|
}, null, 8, [
|
|
605
619
|
"model-value",
|
|
606
620
|
"options",
|
|
607
|
-
"label"
|
|
621
|
+
"label",
|
|
622
|
+
"placeholder"
|
|
608
623
|
]),
|
|
609
|
-
u(
|
|
610
|
-
u(
|
|
611
|
-
icon: s(
|
|
624
|
+
u(Z),
|
|
625
|
+
u(q, {
|
|
626
|
+
icon: s(ye),
|
|
612
627
|
label: s(E).paragraphEditor.clearFormatting,
|
|
613
628
|
onClick: i[13] ||= (e) => n.editor.chain().focus().clearNodes().unsetAllMarks().run()
|
|
614
629
|
}, null, 8, ["icon", "label"]),
|
|
615
|
-
u(
|
|
616
|
-
u(
|
|
617
|
-
n.canRequestMergeTag ? (e(), l(g, { key: 0 }, [u(
|
|
630
|
+
u(Z),
|
|
631
|
+
u(Te, { onInsert: I }),
|
|
632
|
+
n.canRequestMergeTag ? (e(), l(g, { key: 0 }, [u(Z), c("button", {
|
|
618
633
|
type: "button",
|
|
619
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)]",
|
|
620
635
|
"aria-label": s(E).mergeTag.insert,
|
|
621
636
|
title: s(E).mergeTag.insert,
|
|
622
637
|
onClick: i[14] ||= (e) => o("add-merge-tag")
|
|
623
|
-
}, [u(s(
|
|
638
|
+
}, [u(s(ie), {
|
|
624
639
|
size: 16,
|
|
625
640
|
"stroke-width": 2
|
|
626
641
|
}), d(" " + p(s(E).mergeTag.insertShort), 1)], 8, Me)], 64)) : v("", !0),
|
|
627
|
-
n.canInsertLogicTag ? (e(), l(g, { key: 1 }, [u(
|
|
642
|
+
n.canInsertLogicTag ? (e(), l(g, { key: 1 }, [u(Z), c("button", {
|
|
628
643
|
type: "button",
|
|
629
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)]",
|
|
630
645
|
"aria-label": s(E).logicTag.insert,
|
|
631
646
|
title: s(E).logicTag.insert,
|
|
632
647
|
"data-testid": "insert-logic-button",
|
|
633
648
|
onClick: i[15] ||= (e) => o("add-logic-tag")
|
|
634
|
-
}, [u(s(
|
|
649
|
+
}, [u(s(ae), {
|
|
635
650
|
size: 16,
|
|
636
651
|
"stroke-width": 2
|
|
637
652
|
}), d(" " + p(s(E).logicTag.insertShort), 1)], 8, Ne)], 64)) : v("", !0)
|
|
638
|
-
])], 64)) : (e(), l("div", Pe, [u(s(
|
|
653
|
+
])], 64)) : (e(), l("div", Pe, [u(s(se), {
|
|
639
654
|
class: "tpl-spinner",
|
|
640
655
|
size: 14,
|
|
641
656
|
"stroke-width": 2
|
|
@@ -649,25 +664,25 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
649
664
|
},
|
|
650
665
|
emits: ["done"],
|
|
651
666
|
setup(t, { emit: n }) {
|
|
652
|
-
let i = t, o = n, c =
|
|
667
|
+
let i = t, o = n, c = P(), 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: C, canInsertLogicTag: T, openLinkDialog: D, insertLink: O, removeLink: k, closeLinkDialog: ee, handleLinkKeydown: te, handleAddMergeTag: A, handleAddLogicTag: M } = w({
|
|
653
668
|
blockId: () => i.block.id,
|
|
654
669
|
blockContent: () => i.block.content,
|
|
655
670
|
onDone: () => o("done"),
|
|
656
671
|
editorName: "ParagraphEditor",
|
|
657
672
|
async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
|
|
658
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([
|
|
659
|
-
import("./dist-
|
|
660
|
-
import("./dist-
|
|
661
|
-
import("./dist-
|
|
662
|
-
import("./dist-
|
|
663
|
-
import("./dist-
|
|
664
|
-
import("./dist-
|
|
665
|
-
import("./dist-
|
|
666
|
-
import("./dist-
|
|
667
|
-
import("./dist-
|
|
668
|
-
import("./dist-
|
|
669
|
-
import("./dist-
|
|
670
|
-
import("./extensions-
|
|
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-DHyKjsNZ.js")
|
|
671
686
|
]);
|
|
672
687
|
return {
|
|
673
688
|
TiptapEditor: a,
|
|
@@ -726,8 +741,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
726
741
|
"can-request-merge-tag": s(C),
|
|
727
742
|
"can-insert-logic-tag": s(T),
|
|
728
743
|
onOpenLinkDialog: s(D),
|
|
729
|
-
onAddMergeTag: s(
|
|
730
|
-
onAddLogicTag: s(
|
|
744
|
+
onAddMergeTag: s(A),
|
|
745
|
+
onAddLogicTag: s(M)
|
|
731
746
|
}, null, 8, [
|
|
732
747
|
"editor",
|
|
733
748
|
"toolbar-position",
|
|
@@ -738,7 +753,7 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
738
753
|
"onAddMergeTag",
|
|
739
754
|
"onAddLogicTag"
|
|
740
755
|
]),
|
|
741
|
-
u(
|
|
756
|
+
u(L, {
|
|
742
757
|
editor: s(p),
|
|
743
758
|
"editor-content": s(m),
|
|
744
759
|
"is-loading": s(h),
|
|
@@ -751,7 +766,7 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
751
766
|
"init-error",
|
|
752
767
|
"onRetry"
|
|
753
768
|
]),
|
|
754
|
-
u(
|
|
769
|
+
u(I, {
|
|
755
770
|
visible: s(v),
|
|
756
771
|
"is-editing-link": s(p)?.isActive("link") ?? !1,
|
|
757
772
|
"dialog-ref": s(x),
|
|
@@ -760,10 +775,10 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
760
775
|
"onUpdate:linkUrl": i[1] ||= (e) => r(y) ? y.value = e : null,
|
|
761
776
|
"link-color": s(b),
|
|
762
777
|
"onUpdate:linkColor": i[2] ||= (e) => r(b) ? b.value = e : null,
|
|
763
|
-
onClose: s(
|
|
778
|
+
onClose: s(ee),
|
|
764
779
|
onInsert: s(O),
|
|
765
780
|
onRemove: s(k),
|
|
766
|
-
onKeydown: s(
|
|
781
|
+
onKeydown: s(te)
|
|
767
782
|
}, null, 8, [
|
|
768
783
|
"visible",
|
|
769
784
|
"is-editing-link",
|