@templatical/editor 0.44.3 → 0.46.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-BUR5Jshu.js → AiChatSidebar-DGcH4Lyo.js} +15 -19
- package/dist/{AiFeatureMenu-CXqrbDNb.js → AiFeatureMenu-B4q-0g1S.js} +7 -7
- package/dist/{BlockIssueBadge-CWZEwMXX.js → BlockIssueBadge-CZA1XvAh.js} +5 -5
- package/dist/{BlockPreviewCanvas-DCeZid0G.js → BlockPreviewCanvas-DIZ0KgUD.js} +5 -5
- package/dist/{CloudHeaderExtras-B38fU84y.js → CloudHeaderExtras-ehMYJP68.js} +5 -5
- package/dist/{CloudPanels-B2Mz-TwS.js → CloudPanels-BwOaAlKz.js} +8 -8
- package/dist/{CollaboratorBar-CL70aVnL.js → CollaboratorBar-qOZFRNPx.js} +4 -4
- package/dist/{CommentsPanel-CYMHfFcn.js → CommentsPanel-Bn6P5crU.js} +2 -2
- package/dist/{CommentsSidebar-uvQyCMUe.js → CommentsSidebar-B8wT932T.js} +14 -14
- package/dist/{CountdownBlock-C6R-hn7D.js → CountdownBlock-RNx3hIu0.js} +3 -3
- package/dist/{CountdownToolbar-C052mx2P.js → CountdownToolbar-BeF21SeB.js} +62 -61
- package/dist/{DesignReferenceSidebar-ZKJ7y7-G.js → DesignReferenceSidebar-zH93uB15.js} +25 -26
- package/dist/{IssuesPanel-DAlNiJX_.js → IssuesPanel-Dltw9haP.js} +8 -8
- package/dist/{LoadingTrack-C1Epulqq.js → LoadingTrack-DROqNuuD.js} +1 -1
- package/dist/{LogicTagInsertButton-DMUfVsPr.js → LogicTagInsertButton-CHa-UD76.js} +22 -28
- package/dist/{MediaEditModal-Cmd9tQXZ.js → MediaEditModal-EY1YYcpw.js} +6 -14
- package/dist/{MediaPanels-DoBhG5gg.js → MediaPanels-CRVFGFZW.js} +2 -2
- package/dist/{MergeTagInput-DoQWMSW4.js → MergeTagInput-B3ntd4dN.js} +2 -2
- package/dist/{MergeTagModeToggle-DOHixe4G.js → MergeTagModeToggle-C_06ZL0Q.js} +7 -7
- package/dist/{ParagraphEditor-CHlX3nAk.js → ParagraphEditor-CxuW3TV0.js} +140 -139
- package/dist/{RestoreVersionDialog-C8Qt-sJV.js → RestoreVersionDialog-B1n37M1Z.js} +5 -5
- package/dist/{RichTextEditorContent-BedBVHXS.js → RichTextEditorContent-CP_uULWB.js} +9 -9
- package/dist/{SaveBlockDialog-CsielLi1.js → SaveBlockDialog-BSKX_7_v.js} +12 -12
- package/dist/{SavedBlocksBrowserModal-RKo9mq3U.js → SavedBlocksBrowserModal-CHKrH1gO.js} +15 -18
- package/dist/{SavedBlocksPanels-B7IlFCQp.js → SavedBlocksPanels-B-xDqBcz.js} +2 -2
- package/dist/{SavedBlocksPickBar-BYCwMUR6.js → SavedBlocksPickBar-D2J-g82g.js} +4 -4
- package/dist/{TemplateScoringPanel-DXsyp0_A.js → TemplateScoringPanel-3lHzuCl0.js} +16 -16
- package/dist/TemplateSettings-D07K_Y4m.js +246 -0
- package/dist/{TestEmailModal-Btbk0B1s.js → TestEmailModal-BNPw_lID.js} +11 -11
- package/dist/{TestEmailPanel-kdF_QluO.js → TestEmailPanel-8klWo8hE.js} +2 -2
- package/dist/{TitleEditor-Cl6AmEy9.js → TitleEditor-CmC9OuhA.js} +13 -13
- package/dist/{ToggleSwitch-D7GLaT8s.js → ToggleSwitch-COeyWGfT.js} +2 -2
- package/dist/{Toolbar-CWxqqBHE.js → Toolbar-CqhRb6EM.js} +522 -524
- package/dist/{TplModal-DD1xZyBq.js → TplModal-BGFawHY9.js} +5 -5
- package/dist/{VersionHistoryMenu-fLrx-Lvi.js → VersionHistoryMenu-D7zaTMrb.js} +10 -10
- package/dist/{VersionHistoryPanels-Caa2_niu.js → VersionHistoryPanels-DdbGjEOR.js} +2 -2
- package/dist/{VersionPreviewBanner-CWuxq_bb.js → VersionPreviewBanner-BUKb9gc6.js} +3 -3
- package/dist/{WrapperBlock-Do8kLejT.js → WrapperBlock-CTkmA887.js} +3 -3
- package/dist/{blockTypeIcons-DEvNVvBj.js → blockTypeIcons-CVKo6V_v.js} +2 -2
- package/dist/bundle-stats.json +7 -7
- package/dist/{ca-DES69VJW.js → ca-C__Dzq--.js} +5 -0
- package/dist/cdn/chunks/{AiChatSidebar-Cvp9beXR.js → AiChatSidebar-kCK4NZM9.js} +9 -13
- package/dist/cdn/chunks/{AiChatSidebar-Cvp9beXR.js.map → AiChatSidebar-kCK4NZM9.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-B291Us2g.js → AiFeatureMenu-K1dLeDft.js} +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-B291Us2g.js.map → AiFeatureMenu-K1dLeDft.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-CKIrYROg.js → BlockIssueBadge-05Q3L4RV.js} +5 -5
- package/dist/cdn/chunks/{BlockIssueBadge-CKIrYROg.js.map → BlockIssueBadge-05Q3L4RV.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-CRJZBmwV.js → BlockPreviewCanvas-Djz9YAFx.js} +6 -6
- package/dist/cdn/chunks/{BlockPreviewCanvas-CRJZBmwV.js.map → BlockPreviewCanvas-Djz9YAFx.js.map} +1 -1
- package/dist/cdn/chunks/{CloudHeaderExtras-BvCPpih5.js → CloudHeaderExtras-5ONQ1RCa.js} +5 -5
- package/dist/cdn/chunks/{CloudHeaderExtras-BvCPpih5.js.map → CloudHeaderExtras-5ONQ1RCa.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-vlPH6N3s.js → CloudPanels-_irSdWbi.js} +7 -7
- package/dist/cdn/chunks/{CloudPanels-vlPH6N3s.js.map → CloudPanels-_irSdWbi.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-Xt3WJ-rn.js → CollaboratorBar-CZufI1On.js} +5 -5
- package/dist/cdn/chunks/{CollaboratorBar-Xt3WJ-rn.js.map → CollaboratorBar-CZufI1On.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-BjHRj_Yw.js → CommentsPanel-VH_NJ5HZ.js} +3 -3
- package/dist/cdn/chunks/{CommentsPanel-BjHRj_Yw.js.map → CommentsPanel-VH_NJ5HZ.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-CpCfqSq4.js → CommentsSidebar-CYPH5rVi.js} +5 -5
- package/dist/cdn/chunks/{CommentsSidebar-CpCfqSq4.js.map → CommentsSidebar-CYPH5rVi.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-sVDjKkRw.js → CountdownBlock-lHU3Lu7Q.js} +4 -4
- package/dist/cdn/chunks/{CountdownBlock-sVDjKkRw.js.map → CountdownBlock-lHU3Lu7Q.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-C9QpHQcv.js → CountdownToolbar-BaXCefQM.js} +63 -62
- package/dist/cdn/chunks/CountdownToolbar-BaXCefQM.js.map +1 -0
- package/dist/cdn/chunks/{DesignReferenceSidebar-BO0xz1wC.js → DesignReferenceSidebar-GjkpHylX.js} +21 -22
- package/dist/cdn/chunks/{DesignReferenceSidebar-BO0xz1wC.js.map → DesignReferenceSidebar-GjkpHylX.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel--62qud8w.js → IssuesPanel-C1Lv2y_O.js} +6 -6
- package/dist/cdn/chunks/{IssuesPanel--62qud8w.js.map → IssuesPanel-C1Lv2y_O.js.map} +1 -1
- package/dist/cdn/chunks/{LoadingTrack-_7DH_5aw.js → LoadingTrack-Cg1HRIND.js} +2 -2
- package/dist/cdn/chunks/{LoadingTrack-_7DH_5aw.js.map → LoadingTrack-Cg1HRIND.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-gc8ICURV.js → LogicTagInsertButton-BYjdrDnQ.js} +11 -17
- package/dist/cdn/chunks/{LogicTagInsertButton-gc8ICURV.js.map → LogicTagInsertButton-BYjdrDnQ.js.map} +1 -1
- package/dist/cdn/chunks/{MediaEditModal-BuDXKwx4.js → MediaEditModal-CD3fVbWI.js} +6 -14
- package/dist/cdn/chunks/{MediaEditModal-BuDXKwx4.js.map → MediaEditModal-CD3fVbWI.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-xFpaxFRH.js → MediaPanels-B2AyUUcf.js} +3 -3
- package/dist/cdn/chunks/{MediaPanels-xFpaxFRH.js.map → MediaPanels-B2AyUUcf.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-DsPKWbWr.js → MergeTagInput-Cx67J_vg.js} +3 -3
- package/dist/cdn/chunks/{MergeTagInput-DsPKWbWr.js.map → MergeTagInput-Cx67J_vg.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-DU0WqgVH.js → MergeTagModeToggle-DZ4EuXVp.js} +6 -6
- package/dist/cdn/chunks/{MergeTagModeToggle-DU0WqgVH.js.map → MergeTagModeToggle-DZ4EuXVp.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-BWfx94pb.js → ParagraphEditor-DndEFXmR.js} +145 -144
- package/dist/cdn/chunks/ParagraphEditor-DndEFXmR.js.map +1 -0
- package/dist/cdn/chunks/{RestoreVersionDialog-DWUnyA0B.js → RestoreVersionDialog-CFYs13a4.js} +5 -5
- package/dist/cdn/chunks/{RestoreVersionDialog-DWUnyA0B.js.map → RestoreVersionDialog-CFYs13a4.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-Dkcts8Vh.js → RichTextEditorContent-DKkDQ0dc.js} +8 -8
- package/dist/cdn/chunks/{RichTextEditorContent-Dkcts8Vh.js.map → RichTextEditorContent-DKkDQ0dc.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-CcfyxDfZ.js → SaveBlockDialog-BOA2RaC_.js} +10 -10
- package/dist/cdn/chunks/{SaveBlockDialog-CcfyxDfZ.js.map → SaveBlockDialog-BOA2RaC_.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DauQ_V9N.js → SavedBlocksBrowserModal-DQDVek3K.js} +11 -14
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DauQ_V9N.js.map → SavedBlocksBrowserModal-DQDVek3K.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-J5v2PsFv.js → SavedBlocksPanels-Lu3tJ3QA.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPanels-J5v2PsFv.js.map → SavedBlocksPanels-Lu3tJ3QA.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-v3AMSqli.js → SavedBlocksPickBar-D7MtqG6r.js} +5 -5
- package/dist/cdn/chunks/{SavedBlocksPickBar-v3AMSqli.js.map → SavedBlocksPickBar-D7MtqG6r.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-BBRHCNcR.js → TemplateScoringPanel-C_57Bfkf.js} +8 -8
- package/dist/cdn/chunks/{TemplateScoringPanel-BBRHCNcR.js.map → TemplateScoringPanel-C_57Bfkf.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-vsFOU0oA.js → TemplateSettings-rZiHmq24.js} +48 -47
- package/dist/cdn/chunks/TemplateSettings-rZiHmq24.js.map +1 -0
- package/dist/cdn/chunks/{TestEmailModal-CW9EFpFR.js → TestEmailModal-DWEyHXH2.js} +10 -10
- package/dist/cdn/chunks/{TestEmailModal-CW9EFpFR.js.map → TestEmailModal-DWEyHXH2.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-D1Hchlr7.js → TestEmailPanel-XXMD-Lnr.js} +3 -3
- package/dist/cdn/chunks/{TestEmailPanel-D1Hchlr7.js.map → TestEmailPanel-XXMD-Lnr.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-nDV6P-ag.js → TitleEditor-D1F0YoE-.js} +12 -12
- package/dist/cdn/chunks/{TitleEditor-nDV6P-ag.js.map → TitleEditor-D1F0YoE-.js.map} +1 -1
- package/dist/cdn/chunks/{ToggleSwitch-DoUNcLPP.js → ToggleSwitch-B5U9cqhi.js} +3 -3
- package/dist/cdn/chunks/{ToggleSwitch-DoUNcLPP.js.map → ToggleSwitch-B5U9cqhi.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-CnfNUkOY.js → Toolbar-C_5HfUQq.js} +422 -424
- package/dist/cdn/chunks/Toolbar-C_5HfUQq.js.map +1 -0
- package/dist/cdn/chunks/{TplModal-VuZ9bDw9.js → TplModal-CYBbPCHL.js} +5 -5
- package/dist/cdn/chunks/{TplModal-VuZ9bDw9.js.map → TplModal-CYBbPCHL.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-Cp3EHO_P.js → VersionHistoryMenu-DbxuJgDO.js} +6 -6
- package/dist/cdn/chunks/{VersionHistoryMenu-Cp3EHO_P.js.map → VersionHistoryMenu-DbxuJgDO.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-BChjjMC6.js → VersionHistoryPanels-Dq12VsTX.js} +3 -3
- package/dist/cdn/chunks/{VersionHistoryPanels-BChjjMC6.js.map → VersionHistoryPanels-Dq12VsTX.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-BgkroXnG.js → VersionPreviewBanner-HRERIH-v.js} +4 -4
- package/dist/cdn/chunks/{VersionPreviewBanner-BgkroXnG.js.map → VersionPreviewBanner-HRERIH-v.js.map} +1 -1
- package/dist/cdn/chunks/{WrapperBlock-DDnue8oy.js → WrapperBlock-CJ0CLqi2.js} +4 -4
- package/dist/cdn/chunks/{WrapperBlock-DDnue8oy.js.map → WrapperBlock-CJ0CLqi2.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-BMZi7sdX.js → blockTypeIcons-DdZP-3FM.js} +2 -2
- package/dist/cdn/chunks/{blockTypeIcons-BMZi7sdX.js.map → blockTypeIcons-DdZP-3FM.js.map} +1 -1
- package/dist/cdn/chunks/{ca-DES69VJW.js → ca-C__Dzq--.js} +6 -1
- package/dist/cdn/chunks/ca-C__Dzq--.js.map +1 -0
- package/dist/cdn/chunks/{cloud-DLQU5l0Z.js → cloud-h1vaHp2p.js} +4 -4
- package/dist/cdn/chunks/{cloud-DLQU5l0Z.js.map → cloud-h1vaHp2p.js.map} +1 -1
- package/dist/cdn/chunks/{createCloudRuntime-Mnx8kV2W.js → createCloudRuntime-bJN9EM1H.js} +9 -12
- package/dist/cdn/chunks/{createCloudRuntime-Mnx8kV2W.js.map → createCloudRuntime-bJN9EM1H.js.map} +1 -1
- package/dist/{de-MlrDhC3Y.js → cdn/chunks/de-CGjbQ2mt.js} +7 -0
- package/dist/cdn/chunks/de-CGjbQ2mt.js.map +1 -0
- package/dist/cdn/chunks/{dist-BRZhN8qJ.js → dist-B7W-Lb65.js} +2 -2
- package/dist/cdn/chunks/{dist-BRZhN8qJ.js.map → dist-B7W-Lb65.js.map} +1 -1
- package/dist/cdn/chunks/{dist-CXB2_kBa.js → dist-C5nRd_ua.js} +5 -13
- package/dist/cdn/chunks/{dist-CXB2_kBa.js.map → dist-C5nRd_ua.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-IB4x6w2O.js → draggable-BUTN5vZC.js} +32 -77
- package/dist/cdn/chunks/{draggable-IB4x6w2O.js.map → draggable-BUTN5vZC.js.map} +1 -1
- package/dist/cdn/chunks/{editor-modal-B7NNAFI5.js → editor-modal-BpsbYA4_.js} +14 -34
- package/dist/cdn/chunks/{editor-modal-B7NNAFI5.js.map → editor-modal-BpsbYA4_.js.map} +1 -1
- package/dist/{en-6vJh7KCM.js → cdn/chunks/en-BTiiAC-B.js} +7 -0
- package/dist/cdn/chunks/en-BTiiAC-B.js.map +1 -0
- package/dist/cdn/chunks/en-CAt6y87e.js +1 -0
- package/dist/{es-ewL03EaP.js → cdn/chunks/es-CdTOcSTf.js} +7 -0
- package/dist/cdn/chunks/es-CdTOcSTf.js.map +1 -0
- package/dist/cdn/chunks/{extensions-ClmkNA8R.js → extensions-CrmXF4MW.js} +11 -19
- package/dist/cdn/chunks/extensions-CrmXF4MW.js.map +1 -0
- package/dist/{fr-D1syuxs1.js → cdn/chunks/fr-B6lcLLzC.js} +7 -0
- package/dist/cdn/chunks/fr-B6lcLLzC.js.map +1 -0
- package/dist/cdn/chunks/{htmlparser-ClUZ6waR.js → htmlparser-CDRsn-gn.js} +3 -11
- package/dist/cdn/chunks/{htmlparser-ClUZ6waR.js.map → htmlparser-CDRsn-gn.js.map} +1 -1
- package/dist/cdn/chunks/{icons-BjvraR-Y.js → icons-Dr9erFGs.js} +48 -48
- package/dist/cdn/chunks/{icons-BjvraR-Y.js.map → icons-Dr9erFGs.js.map} +1 -1
- package/dist/{ja-Dd_nytwe.js → cdn/chunks/ja-BhdkqENz.js} +7 -0
- package/dist/cdn/chunks/ja-BhdkqENz.js.map +1 -0
- package/dist/cdn/chunks/{keys-DCWeHkSF.js → keys-BKu-LOk5.js} +2 -2
- package/dist/cdn/chunks/{keys-DCWeHkSF.js.map → keys-BKu-LOk5.js.map} +1 -1
- package/dist/cdn/chunks/{liquid.browser-DXPjcePu.js → liquid.browser-Bbt17cVz.js} +30 -56
- package/dist/cdn/chunks/{liquid.browser-DXPjcePu.js.map → liquid.browser-Bbt17cVz.js.map} +1 -1
- package/dist/{nl-DD1t_qxS.js → cdn/chunks/nl-CE3YItYg.js} +7 -0
- package/dist/cdn/chunks/nl-CE3YItYg.js.map +1 -0
- package/dist/{preRenderCustomBlocks-C_PIxBp7.js → cdn/chunks/preRenderCustomBlocks-CyGB3lZr.js} +5 -3
- package/dist/cdn/chunks/{preRenderCustomBlocks-Bg3rIgGJ.js.map → preRenderCustomBlocks-CyGB3lZr.js.map} +1 -1
- package/dist/{pt-BR-BmtO0R7k.js → cdn/chunks/pt-BR-CUIT4rq4.js} +7 -0
- package/dist/cdn/chunks/pt-BR-CUIT4rq4.js.map +1 -0
- package/dist/cdn/chunks/{pusher-BbIHJKf3.js → pusher-C8DeiO2X.js} +18 -57
- package/dist/cdn/chunks/{pusher-BbIHJKf3.js.map → pusher-C8DeiO2X.js.map} +1 -1
- package/dist/cdn/chunks/{socialIcons-CnUJBZTO.js → socialIcons-ClJVDZwt.js} +90 -119
- package/dist/cdn/chunks/socialIcons-ClJVDZwt.js.map +1 -0
- package/dist/cdn/chunks/{src-B5-VKcRQ.js → src-B0pZeTYO.js} +194 -215
- package/dist/cdn/chunks/src-B0pZeTYO.js.map +1 -0
- package/dist/cdn/chunks/{src-CjjJWoUZ.js → src-BMw3u-iV.js} +225 -232
- package/dist/cdn/chunks/src-BMw3u-iV.js.map +1 -0
- package/dist/cdn/chunks/{src-QIGNPFkl.js → src-Bh0MoJ67.js} +360 -246
- package/dist/cdn/chunks/src-Bh0MoJ67.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-02G9FGkl.js → tiptap-CYDXLO17.js} +87 -134
- package/dist/cdn/chunks/{tiptap-02G9FGkl.js.map → tiptap-CYDXLO17.js.map} +1 -1
- package/dist/cdn/chunks/{useAliveFlag-DAlQLbM2.js → useAliveFlag-DzyXG-8A.js} +2 -2
- package/dist/cdn/chunks/{useAliveFlag-DAlQLbM2.js.map → useAliveFlag-DzyXG-8A.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-CrjWbpbu.js → useCloudI18n-Cgk0ts_F.js} +3 -3
- package/dist/cdn/chunks/{useCloudI18n-CrjWbpbu.js.map → useCloudI18n-Cgk0ts_F.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-q0G4q-52.js → useEditorCore-DuC7kVti.js} +559 -599
- package/dist/cdn/chunks/useEditorCore-DuC7kVti.js.map +1 -0
- package/dist/cdn/chunks/useEditorRoot-DDPIcEOO.js +10 -0
- package/dist/cdn/chunks/{useEditorRoot-CshefZLP.js.map → useEditorRoot-DDPIcEOO.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-CyO_Nmca.js → useI18n-DO4NTunW.js} +3 -3
- package/dist/cdn/chunks/{useI18n-CyO_Nmca.js.map → useI18n-DO4NTunW.js.map} +1 -1
- package/dist/cdn/chunks/{useLogicTag-D6lWY0bD.js → useLogicTag-B3uV3XHG.js} +4 -4
- package/dist/cdn/chunks/{useLogicTag-D6lWY0bD.js.map → useLogicTag-B3uV3XHG.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-2iW-BKWW.js → useMergeTag-DJLM-7WQ.js} +4 -4
- package/dist/cdn/chunks/{useMergeTag-2iW-BKWW.js.map → useMergeTag-DJLM-7WQ.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-DGXjXKjM.js → usePopoverPosition-CtVNwoHj.js} +3 -3
- package/dist/cdn/chunks/{usePopoverPosition-DGXjXKjM.js.map → usePopoverPosition-CtVNwoHj.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-DgHZJvID.js → useScrollToBlock-CpmB5KxW.js} +4 -5
- package/dist/cdn/chunks/useScrollToBlock-CpmB5KxW.js.map +1 -0
- package/dist/cdn/chunks/withCurrentFont-isIyuezD.js +21 -0
- package/dist/cdn/chunks/withCurrentFont-isIyuezD.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +472 -491
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-DNyj-E0y.js → check-ZKvtMdpe.js} +1 -1
- package/dist/{chevron-down-BYnhkMsA.js → chevron-down-RrwkYMlp.js} +1 -1
- package/dist/{chevron-right-D9HGBqJo.js → chevron-right-CklHaa1U.js} +1 -1
- package/dist/{chevron-up-BnIR1-ma.js → chevron-up-DjN2NTbo.js} +1 -1
- package/dist/{circle-alert-B6xl1B_M.js → circle-alert-BR1_Yfb-.js} +1 -1
- package/dist/{clock-Cs5Wd3dW.js → clock-BEagNj21.js} +1 -1
- package/dist/{cloud-BNEL7bxL.js → cloud-DPGjMGfv.js} +2 -2
- package/dist/{copy-6uKc-WBk.js → copy-D6DNoSq1.js} +1 -1
- package/dist/{createCloudRuntime-CaZapQZ6.js → createCloudRuntime-D0RRgWab.js} +8 -11
- package/dist/{createLucideIcon-BVcoovvP.js → createLucideIcon-BAPyioGd.js} +6 -6
- package/dist/{cdn/chunks/de-MlrDhC3Y.js → de-CGjbQ2mt.js} +5 -2
- package/dist/{dist-CmwBvyW0.js → dist-1H4cnaoD.js} +3 -3
- package/dist/{dist-D4HP93ZF.js → dist-5DAb7bYT.js} +1 -1
- package/dist/{dist-DdSWMtEP.js → dist-5KNKxglR.js} +1 -1
- package/dist/{dist-HjILVdTA.js → dist-BI_LeQGl.js} +289 -201
- package/dist/{dist-BDuPwOyn.js → dist-B_vYjCsk.js} +4 -12
- package/dist/{dist-Ceew_u40.js → dist-Bc30883t.js} +6 -22
- package/dist/{dist-Czzst9ng.js → dist-Bd7khQsg.js} +3 -11
- package/dist/{dist-8VFzbeu9.js → dist-C-VFTX82.js} +1 -1
- package/dist/{dist-BYg1EL5g.js → dist-C3eH9-N2.js} +1 -1
- package/dist/{dist-Dw2_11LA.js → dist-CFC4pg2o.js} +1 -1
- package/dist/{dist-BgSLW3Hn.js → dist-CMcFD7gP.js} +72 -87
- package/dist/{dist-DmQckB4p.js → dist-DHensKDY.js} +1 -1
- package/dist/{dist-CWc7nIkA.js → dist-DapsJxn_.js} +1 -1
- package/dist/{dist-D2m55Lvs.js → dist-j2FavQmU.js} +1 -1
- package/dist/{dist-8By0p8ah.js → dist-lL3nVbxV.js} +1 -1
- package/dist/{editor-modal-Co-rZGaf.js → editor-modal-oRmkDlUs.js} +27 -47
- package/dist/{cdn/chunks/en-6vJh7KCM.js → en-BTiiAC-B.js} +5 -2
- package/dist/en-Bk4iCfjp.js +1 -0
- package/dist/{cdn/chunks/es-ewL03EaP.js → es-CdTOcSTf.js} +5 -2
- package/dist/{extensions-DXSI8Dyj.js → extensions-CYigjb1g.js} +52 -68
- package/dist/{eye-Nbtw_q05.js → eye-DvsTBI57.js} +1 -1
- package/dist/{cdn/chunks/fr-D1syuxs1.js → fr-B6lcLLzC.js} +5 -2
- package/dist/{image-up-C1jC7NzQ.js → image-up-BoFGZm5Q.js} +1 -1
- package/dist/index.d.ts +46 -13
- package/dist/{info-ClH66pKN.js → info-0bQQGjTV.js} +1 -1
- package/dist/{cdn/chunks/ja-Dd_nytwe.js → ja-BhdkqENz.js} +5 -2
- package/dist/{keys-CDqfZIRt.js → keys-injl74ob.js} +1 -1
- package/dist/{link-y47GNW0o.js → link-Cstrr3Ep.js} +1 -1
- package/dist/{liquid.browser-Cs4gOjeX.js → liquid.browser-Ct2-EezB.js} +29 -55
- package/dist/{list-DiLMlMaE.js → list-Dx9Rmy5s.js} +1 -1
- package/dist/{loader-circle-BRdCPW5h.js → loader-circle-D8Qqs0MG.js} +1 -1
- package/dist/{message-circle-CNgIpVJv.js → message-circle-D78ELX6I.js} +1 -1
- package/dist/{cdn/chunks/nl-DD1t_qxS.js → nl-CE3YItYg.js} +5 -2
- package/dist/{package-B9OWk-Kp.js → package-DOvM9sHE.js} +1 -1
- package/dist/{pencil-BDnjo24u.js → pencil-B6m0OG0n.js} +1 -1
- package/dist/{plus-BMgjN7lI.js → plus-D-nEKxTc.js} +1 -1
- package/dist/{cdn/chunks/preRenderCustomBlocks-Bg3rIgGJ.js → preRenderCustomBlocks-DokBGA_M.js} +3 -5
- package/dist/{cdn/chunks/pt-BR-BmtO0R7k.js → pt-BR-CUIT4rq4.js} +5 -2
- package/dist/{refresh-cw-CR5lenxl.js → refresh-cw-CXZS-R1U.js} +1 -1
- package/dist/{runtime-dom.esm-bundler-BGbPz4-g.js → runtime-dom.esm-bundler-CO67ema2.js} +15 -16
- package/dist/{search-CxRUiOSF.js → search-DSvil0jo.js} +1 -1
- package/dist/{send-Bu2RysGL.js → send-BBR28V94.js} +1 -1
- package/dist/{shield-check-Cg8f4LB0.js → shield-check-ByxUnaU9.js} +1 -1
- package/dist/{smartphone-CHf-8lHp.js → smartphone-CNOwGf5T.js} +1 -1
- package/dist/{socialIcons-D1gkHc_i.js → socialIcons-Ct_IoqPQ.js} +112 -141
- package/dist/{sparkles-_DQGv4ub.js → sparkles-DO1hzwzf.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +504 -523
- package/dist/{text-align-start-PHo-Ep5i.js → text-align-start-BKEKMheq.js} +13 -13
- package/dist/{trash-BxIzHAri.js → trash-CKEQH4vH.js} +1 -1
- package/dist/{triangle-alert-fcb2KoA-.js → triangle-alert-BHnfd3fV.js} +1 -1
- package/dist/{upload-BxBtMPMv.js → upload-C8uO7KsR.js} +1 -1
- package/dist/{useAliveFlag-BkKyhkwZ.js → useAliveFlag-6PtarpNZ.js} +1 -1
- package/dist/{useCloudI18n-DpEsiLeR.js → useCloudI18n-GvIOLziA.js} +2 -2
- package/dist/{useEditorCore-B1CWeFTj.js → useEditorCore-BJAQMvNW.js} +950 -1013
- package/dist/{useEditorRoot-CkB_5d0h.js → useEditorRoot-OWzNpDdT.js} +2 -2
- package/dist/{useI18n-B_CdcBwG.js → useI18n-uF11q85g.js} +2 -2
- package/dist/{useLogicTag-wqfdwYYR.js → useLogicTag-B5gjcMzn.js} +3 -3
- package/dist/{useMergeTag-D3XDE_58.js → useMergeTag-BwsBIDzR.js} +5 -5
- package/dist/{usePopoverPosition-BYmd-lhR.js → usePopoverPosition-DkBrHfCo.js} +2 -2
- package/dist/{useScrollToBlock-DA_aIJXS.js → useScrollToBlock-JRxhT1u_.js} +4 -5
- package/dist/{vue.runtime.esm-bundler-CyqhBwpY.js → vue.runtime.esm-bundler-CctRY8kr.js} +13 -45
- package/dist/withCurrentFont-C9vqrduu.js +19 -0
- package/dist/{x-DrZO5tt0.js → x-gEC0yMci.js} +1 -1
- package/package.json +12 -12
- package/dist/TemplateSettings-Bh10NFIN.js +0 -245
- package/dist/cdn/chunks/CountdownToolbar-C9QpHQcv.js.map +0 -1
- package/dist/cdn/chunks/ParagraphEditor-BWfx94pb.js.map +0 -1
- package/dist/cdn/chunks/TemplateSettings-vsFOU0oA.js.map +0 -1
- package/dist/cdn/chunks/Toolbar-CnfNUkOY.js.map +0 -1
- package/dist/cdn/chunks/ca-DES69VJW.js.map +0 -1
- package/dist/cdn/chunks/de-MlrDhC3Y.js.map +0 -1
- package/dist/cdn/chunks/en-6vJh7KCM.js.map +0 -1
- package/dist/cdn/chunks/en-C3n0qWte.js +0 -2
- package/dist/cdn/chunks/es-ewL03EaP.js.map +0 -1
- package/dist/cdn/chunks/extensions-ClmkNA8R.js.map +0 -1
- package/dist/cdn/chunks/fr-D1syuxs1.js.map +0 -1
- package/dist/cdn/chunks/ja-Dd_nytwe.js.map +0 -1
- package/dist/cdn/chunks/nl-DD1t_qxS.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-BmtO0R7k.js.map +0 -1
- package/dist/cdn/chunks/socialIcons-CnUJBZTO.js.map +0 -1
- package/dist/cdn/chunks/src-B5-VKcRQ.js.map +0 -1
- package/dist/cdn/chunks/src-CjjJWoUZ.js.map +0 -1
- package/dist/cdn/chunks/src-QIGNPFkl.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-q0G4q-52.js.map +0 -1
- package/dist/cdn/chunks/useEditorRoot-CshefZLP.js +0 -10
- package/dist/cdn/chunks/useScrollToBlock-DgHZJvID.js.map +0 -1
- package/dist/en-B-xoKkWi.js +0 -2
|
@@ -1,21 +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 A, J as j, Z as M, g as N, v 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
|
-
|
|
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-CctRY8kr.js";
|
|
2
|
+
import { c as b, s as x } from "./runtime-dom.esm-bundler-CO67ema2.js";
|
|
3
|
+
import { Q as S } from "./dist-BI_LeQGl.js";
|
|
4
|
+
import { t as C } from "./dist-B_vYjCsk.js";
|
|
5
|
+
import { _ as w, b as T, v as E, x as D } from "./useEditorCore-BJAQMvNW.js";
|
|
6
|
+
import { $ as O, A as k, E as A, J as j, Z as M, g as N, v as P } from "./keys-injl74ob.js";
|
|
7
|
+
import { t as F } from "./useI18n-uF11q85g.js";
|
|
8
|
+
import { n as I } from "./usePopoverPosition-DkBrHfCo.js";
|
|
9
|
+
import { t as L } from "./createLucideIcon-BAPyioGd.js";
|
|
10
|
+
import { i as ee, n as R, r as te, t as z } from "./RichTextEditorContent-CP_uULWB.js";
|
|
11
|
+
import { c as B, l as ne, u as re } from "./LogicTagInsertButton-CHa-UD76.js";
|
|
12
|
+
import { t as ie } from "./link-Cstrr3Ep.js";
|
|
13
|
+
import { t as ae } from "./list-Dx9Rmy5s.js";
|
|
14
|
+
import { t as oe } from "./loader-circle-D8Qqs0MG.js";
|
|
15
|
+
import { n as se, r as ce, t as le } from "./text-align-start-BKEKMheq.js";
|
|
16
|
+
import { t as V } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
17
|
+
import { a as ue, n as de, o as fe, s as pe } from "./styleConstants-C_YAPdQS.js";
|
|
18
|
+
import { n as me, t as he } from "./withCurrentFont-C9vqrduu.js";
|
|
19
|
+
var H = L({
|
|
19
20
|
name: "face-slightly-smiling",
|
|
20
21
|
size: 24,
|
|
21
22
|
node: [
|
|
@@ -39,7 +40,7 @@ var V = I({
|
|
|
39
40
|
}]
|
|
40
41
|
],
|
|
41
42
|
aliases: ["smile"]
|
|
42
|
-
}),
|
|
43
|
+
}), ge = L({
|
|
43
44
|
name: "list-ordered",
|
|
44
45
|
size: 24,
|
|
45
46
|
node: [
|
|
@@ -68,7 +69,7 @@ var V = I({
|
|
|
68
69
|
key: "xtkcd5"
|
|
69
70
|
}]
|
|
70
71
|
]
|
|
71
|
-
}),
|
|
72
|
+
}), _e = L({
|
|
72
73
|
name: "remove-formatting",
|
|
73
74
|
size: 24,
|
|
74
75
|
node: [
|
|
@@ -93,7 +94,7 @@ var V = I({
|
|
|
93
94
|
key: "11p7ol"
|
|
94
95
|
}]
|
|
95
96
|
]
|
|
96
|
-
}),
|
|
97
|
+
}), ve = L({
|
|
97
98
|
name: "strikethrough",
|
|
98
99
|
size: 24,
|
|
99
100
|
node: [
|
|
@@ -113,7 +114,7 @@ var V = I({
|
|
|
113
114
|
key: "1e0a9i"
|
|
114
115
|
}]
|
|
115
116
|
]
|
|
116
|
-
}),
|
|
117
|
+
}), ye = L({
|
|
117
118
|
name: "subscript",
|
|
118
119
|
size: 24,
|
|
119
120
|
node: [
|
|
@@ -130,7 +131,7 @@ var V = I({
|
|
|
130
131
|
key: "e8ta8j"
|
|
131
132
|
}]
|
|
132
133
|
]
|
|
133
|
-
}),
|
|
134
|
+
}), be = L({
|
|
134
135
|
name: "superscript",
|
|
135
136
|
size: 24,
|
|
136
137
|
node: [
|
|
@@ -147,7 +148,7 @@ var V = I({
|
|
|
147
148
|
key: "1dfcux"
|
|
148
149
|
}]
|
|
149
150
|
]
|
|
150
|
-
}),
|
|
151
|
+
}), xe = L({
|
|
151
152
|
name: "text-align-justify",
|
|
152
153
|
size: 24,
|
|
153
154
|
node: [
|
|
@@ -165,7 +166,7 @@ var V = I({
|
|
|
165
166
|
}]
|
|
166
167
|
],
|
|
167
168
|
aliases: ["align-justify"]
|
|
168
|
-
}),
|
|
169
|
+
}), Se = L({
|
|
169
170
|
name: "underline",
|
|
170
171
|
size: 24,
|
|
171
172
|
node: [["path", {
|
|
@@ -178,15 +179,15 @@ var V = I({
|
|
|
178
179
|
y2: "20",
|
|
179
180
|
key: "nun2al"
|
|
180
181
|
}]]
|
|
181
|
-
}),
|
|
182
|
+
}), U = [
|
|
182
183
|
"aria-label",
|
|
183
184
|
"title",
|
|
184
185
|
"aria-expanded"
|
|
185
|
-
],
|
|
186
|
+
], W = ["aria-label"], G = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, K = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, q = ["aria-label", "onClick"], Ce = /* @__PURE__ */ y({
|
|
186
187
|
__name: "EmojiPickerDropdown",
|
|
187
188
|
emits: ["insert"],
|
|
188
189
|
setup(t, { emit: n }) {
|
|
189
|
-
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 } = F(), w = o(null), E = o(null), O = _(() => d.value);
|
|
190
191
|
D(w, O), C(E, () => {
|
|
191
192
|
d.value && h();
|
|
192
193
|
});
|
|
@@ -206,10 +207,10 @@ var V = I({
|
|
|
206
207
|
"aria-haspopup": "dialog",
|
|
207
208
|
"aria-controls": "tpl-emoji-picker",
|
|
208
209
|
onClick: n[0] ||= (...e) => s(f) && s(f)(...e)
|
|
209
|
-
}, [u(s(
|
|
210
|
+
}, [u(s(H), {
|
|
210
211
|
size: 16,
|
|
211
212
|
"stroke-width": 2
|
|
212
|
-
})], 10,
|
|
213
|
+
})], 10, U), s(d) ? (e(), l("div", {
|
|
213
214
|
key: 0,
|
|
214
215
|
id: "tpl-emoji-picker",
|
|
215
216
|
ref_key: "pickerRef",
|
|
@@ -223,19 +224,19 @@ var V = I({
|
|
|
223
224
|
}, [(e(!0), l(g, null, i(s(a), (t) => (e(), l("div", {
|
|
224
225
|
key: t.key,
|
|
225
226
|
class: "tpl:mb-2 tpl:last:mb-0"
|
|
226
|
-
}, [c("div",
|
|
227
|
+
}, [c("div", G, p(s(y).emoji[t.key]), 1), c("div", K, [(e(!0), l(g, null, i(t.emojis, (t) => (e(), l("button", {
|
|
227
228
|
key: t,
|
|
228
229
|
type: "button",
|
|
229
230
|
"aria-label": s(S)(s(y).paragraphEditor.emojiItemLabel, { emoji: t }),
|
|
230
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)]",
|
|
231
232
|
onClick: (e) => k(t)
|
|
232
|
-
}, p(t), 9,
|
|
233
|
+
}, p(t), 9, q))), 128))])]))), 128))], 40, W)) : v("", !0)], 512));
|
|
233
234
|
}
|
|
234
|
-
}),
|
|
235
|
+
}), J = [
|
|
235
236
|
"aria-label",
|
|
236
237
|
"title",
|
|
237
238
|
"aria-pressed"
|
|
238
|
-
],
|
|
239
|
+
], Y = /* @__PURE__ */ y({
|
|
239
240
|
__name: "ToolbarIconButton",
|
|
240
241
|
props: {
|
|
241
242
|
icon: {},
|
|
@@ -254,20 +255,20 @@ var V = I({
|
|
|
254
255
|
}, [(e(), h(n(t.icon), {
|
|
255
256
|
size: t.size ?? 16,
|
|
256
257
|
"stroke-width": t.strokeWidth ?? 2
|
|
257
|
-
}, null, 8, ["size", "stroke-width"]))], 10,
|
|
258
|
+
}, null, 8, ["size", "stroke-width"]))], 10, J));
|
|
258
259
|
}
|
|
259
|
-
}),
|
|
260
|
+
}), X = {}, Z = {
|
|
260
261
|
class: "tpl:mx-1 tpl:h-6 tpl:w-px tpl:bg-[var(--tpl-border)]",
|
|
261
262
|
"aria-hidden": "true"
|
|
262
263
|
};
|
|
263
|
-
function
|
|
264
|
-
return e(), l("span",
|
|
264
|
+
function we(t, n) {
|
|
265
|
+
return e(), l("span", Z);
|
|
265
266
|
}
|
|
266
|
-
var Q = /*#__PURE__*/
|
|
267
|
+
var Q = /*#__PURE__*/ V(X, [["render", we]]), Te = [
|
|
267
268
|
"value",
|
|
268
269
|
"aria-label",
|
|
269
270
|
"title"
|
|
270
|
-
],
|
|
271
|
+
], Ee = { value: "" }, De = ["value"], $ = /* @__PURE__ */ y({
|
|
271
272
|
__name: "ToolbarSelect",
|
|
272
273
|
props: {
|
|
273
274
|
modelValue: {},
|
|
@@ -294,23 +295,23 @@ var Q = /*#__PURE__*/ B(Y, [["render", Z]]), Ce = [
|
|
|
294
295
|
"aria-label": t.label,
|
|
295
296
|
title: t.label,
|
|
296
297
|
onChange: a
|
|
297
|
-
}, [c("option",
|
|
298
|
+
}, [c("option", Ee, p(t.placeholder ?? ""), 1), (e(!0), l(g, null, i(t.options, (t) => (e(), l("option", {
|
|
298
299
|
key: o(t),
|
|
299
300
|
value: o(t)
|
|
300
|
-
}, p(s(t)), 9,
|
|
301
|
+
}, p(s(t)), 9, De))), 128))], 42, Te));
|
|
301
302
|
}
|
|
302
303
|
});
|
|
303
304
|
//#endregion
|
|
304
305
|
//#region src/utils/richTextColor.ts
|
|
305
|
-
function
|
|
306
|
+
function Oe(e, t) {
|
|
306
307
|
return e || t || "#000000";
|
|
307
308
|
}
|
|
308
309
|
//#endregion
|
|
309
310
|
//#region src/components/blocks/ParagraphToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
310
|
-
var
|
|
311
|
+
var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-center tpl:gap-1" }, je = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Me = ["aria-label", "title"], Ne = ["aria-label", "title"], Pe = {
|
|
311
312
|
key: 1,
|
|
312
313
|
class: "tpl:flex tpl:items-center tpl:gap-2 tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
|
|
313
|
-
},
|
|
314
|
+
}, Fe = /* @__PURE__ */ y({
|
|
314
315
|
__name: "ParagraphToolbar",
|
|
315
316
|
props: {
|
|
316
317
|
editor: {},
|
|
@@ -325,53 +326,53 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
325
326
|
"add-logic-tag"
|
|
326
327
|
],
|
|
327
328
|
setup(n, { emit: r }) {
|
|
328
|
-
let i = n, o = r, m = a(j, null), y = a(M, null), b = O(
|
|
329
|
-
function
|
|
329
|
+
let i = n, o = r, m = a(j, null), y = a(M, null), b = O(P, "ParagraphToolbar"), x = I(), S = a(k, null), C = a(A, null), w = a(N, null), T = _(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = F(), D = b.fonts;
|
|
330
|
+
function L(e) {
|
|
330
331
|
i.editor?.chain().focus().insertContent(e).run();
|
|
331
332
|
}
|
|
332
|
-
function
|
|
333
|
+
function R(e) {
|
|
333
334
|
return i.editor?.getAttributes("textStyle")[e] || "";
|
|
334
335
|
}
|
|
335
|
-
function
|
|
336
|
+
function z(e) {
|
|
336
337
|
let t = i.editor?.chain().focus();
|
|
337
338
|
e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
|
|
338
339
|
}
|
|
339
|
-
function
|
|
340
|
+
function V(e) {
|
|
340
341
|
let t = i.editor?.chain().focus();
|
|
341
342
|
e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
|
|
342
343
|
}
|
|
343
|
-
function
|
|
344
|
+
function H() {
|
|
344
345
|
return i.editor?.isActive("link") ?? !1;
|
|
345
346
|
}
|
|
346
|
-
function
|
|
347
|
+
function U() {
|
|
347
348
|
return i.editor?.getAttributes("link").color || "";
|
|
348
349
|
}
|
|
349
|
-
function
|
|
350
|
+
function W(e) {
|
|
350
351
|
let t = i.editor?.chain().focus();
|
|
351
|
-
t && (
|
|
352
|
-
}
|
|
353
|
-
function W() {
|
|
354
|
-
let e = w?.content.value.settings;
|
|
355
|
-
return V() ? Ee(H(), e?.linkColor || e?.textColor) : Ee(L("color"), e?.textColor);
|
|
352
|
+
t && (H() ? (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());
|
|
356
353
|
}
|
|
357
354
|
function G() {
|
|
358
|
-
|
|
355
|
+
let e = w?.content.value.settings;
|
|
356
|
+
return H() ? Oe(U(), e?.linkColor || e?.textColor) : Oe(R("color"), e?.textColor);
|
|
359
357
|
}
|
|
360
358
|
function K() {
|
|
359
|
+
return H() ? U() : R("color");
|
|
360
|
+
}
|
|
361
|
+
function q() {
|
|
361
362
|
return i.editor?.getAttributes("paragraph").lineHeight || "";
|
|
362
363
|
}
|
|
363
|
-
function
|
|
364
|
+
function J(e) {
|
|
364
365
|
let t = i.editor?.chain().focus();
|
|
365
366
|
e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
|
|
366
367
|
}
|
|
367
|
-
function
|
|
368
|
+
function X(e) {
|
|
368
369
|
let t = i.editor?.chain().focus();
|
|
369
370
|
e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
|
|
370
371
|
}
|
|
371
|
-
function
|
|
372
|
+
function Z() {
|
|
372
373
|
return i.editor?.getAttributes("highlight").color || "";
|
|
373
374
|
}
|
|
374
|
-
function
|
|
375
|
+
function we(e) {
|
|
375
376
|
let t = i.editor?.chain().focus();
|
|
376
377
|
e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
|
|
377
378
|
}
|
|
@@ -390,14 +391,14 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
390
391
|
transform: "translateY(-100%)",
|
|
391
392
|
flexDirection: "column"
|
|
392
393
|
})
|
|
393
|
-
}, [!n.isLoading && n.editor ? (e(), l(g, { key: 0 }, [c("div",
|
|
394
|
+
}, [!n.isLoading && n.editor ? (e(), l(g, { key: 0 }, [c("div", Ae, [
|
|
394
395
|
u($, {
|
|
395
|
-
"model-value":
|
|
396
|
-
options: s(D),
|
|
396
|
+
"model-value": s(he)(R("fontFamily")),
|
|
397
|
+
options: s(me)(s(D), R("fontFamily")),
|
|
397
398
|
label: s(E).paragraphEditor.fontFamily,
|
|
398
399
|
placeholder: s(E).paragraphEditor.defaultFont,
|
|
399
400
|
"width-class": "tpl:w-32",
|
|
400
|
-
"onUpdate:modelValue":
|
|
401
|
+
"onUpdate:modelValue": z
|
|
401
402
|
}, null, 8, [
|
|
402
403
|
"model-value",
|
|
403
404
|
"options",
|
|
@@ -405,12 +406,12 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
405
406
|
"placeholder"
|
|
406
407
|
]),
|
|
407
408
|
u($, {
|
|
408
|
-
"model-value":
|
|
409
|
-
options: s(
|
|
409
|
+
"model-value": R("fontSize"),
|
|
410
|
+
options: s(ue),
|
|
410
411
|
label: s(E).paragraphEditor.fontSize,
|
|
411
412
|
placeholder: s(E).paragraphEditor.defaultSize,
|
|
412
413
|
"width-class": "tpl:w-20",
|
|
413
|
-
"onUpdate:modelValue":
|
|
414
|
+
"onUpdate:modelValue": V
|
|
414
415
|
}, null, 8, [
|
|
415
416
|
"model-value",
|
|
416
417
|
"options",
|
|
@@ -418,35 +419,35 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
418
419
|
"placeholder"
|
|
419
420
|
]),
|
|
420
421
|
u(Q),
|
|
421
|
-
u(
|
|
422
|
+
u(B, {
|
|
422
423
|
"swatch-only": "",
|
|
423
424
|
size: "sm",
|
|
424
425
|
"data-testid": "text-color-picker",
|
|
425
|
-
"model-value":
|
|
426
|
-
"seed-color":
|
|
426
|
+
"model-value": K(),
|
|
427
|
+
"seed-color": G(),
|
|
427
428
|
"aria-label": s(E).paragraphEditor.textColor,
|
|
428
|
-
"onUpdate:modelValue":
|
|
429
|
+
"onUpdate:modelValue": W
|
|
429
430
|
}, null, 8, [
|
|
430
431
|
"model-value",
|
|
431
432
|
"seed-color",
|
|
432
433
|
"aria-label"
|
|
433
434
|
]),
|
|
434
|
-
u(
|
|
435
|
+
u(B, {
|
|
435
436
|
"swatch-only": "",
|
|
436
437
|
size: "sm",
|
|
437
438
|
"data-testid": "highlight-color-picker",
|
|
438
|
-
"model-value":
|
|
439
|
-
"seed-color": s(
|
|
439
|
+
"model-value": Z(),
|
|
440
|
+
"seed-color": s(de),
|
|
440
441
|
"aria-label": s(E).paragraphEditor.highlightColor,
|
|
441
|
-
"onUpdate:modelValue":
|
|
442
|
+
"onUpdate:modelValue": we
|
|
442
443
|
}, null, 8, [
|
|
443
444
|
"model-value",
|
|
444
445
|
"seed-color",
|
|
445
446
|
"aria-label"
|
|
446
447
|
]),
|
|
447
448
|
u(Q),
|
|
448
|
-
u(
|
|
449
|
-
icon: s(
|
|
449
|
+
u(Y, {
|
|
450
|
+
icon: s(ee),
|
|
450
451
|
label: s(E).paragraphEditor.bold,
|
|
451
452
|
active: n.editor.isActive("bold"),
|
|
452
453
|
"stroke-width": 2.5,
|
|
@@ -456,8 +457,8 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
456
457
|
"label",
|
|
457
458
|
"active"
|
|
458
459
|
]),
|
|
459
|
-
u(
|
|
460
|
-
icon: s(
|
|
460
|
+
u(Y, {
|
|
461
|
+
icon: s(te),
|
|
461
462
|
label: s(E).paragraphEditor.italic,
|
|
462
463
|
active: n.editor.isActive("italic"),
|
|
463
464
|
onClick: i[1] ||= (e) => n.editor.chain().focus().toggleItalic().run()
|
|
@@ -466,8 +467,8 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
466
467
|
"label",
|
|
467
468
|
"active"
|
|
468
469
|
]),
|
|
469
|
-
u(
|
|
470
|
-
icon: s(
|
|
470
|
+
u(Y, {
|
|
471
|
+
icon: s(Se),
|
|
471
472
|
label: s(E).paragraphEditor.underline,
|
|
472
473
|
active: n.editor.isActive("underline"),
|
|
473
474
|
onClick: i[2] ||= (e) => n.editor.chain().focus().toggleUnderline().run()
|
|
@@ -476,8 +477,8 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
476
477
|
"label",
|
|
477
478
|
"active"
|
|
478
479
|
]),
|
|
479
|
-
u(
|
|
480
|
-
icon: s(
|
|
480
|
+
u(Y, {
|
|
481
|
+
icon: s(ve),
|
|
481
482
|
label: s(E).paragraphEditor.strikethrough,
|
|
482
483
|
active: n.editor.isActive("strike"),
|
|
483
484
|
onClick: i[3] ||= (e) => n.editor.chain().focus().toggleStrike().run()
|
|
@@ -487,8 +488,8 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
487
488
|
"active"
|
|
488
489
|
]),
|
|
489
490
|
u(Q),
|
|
490
|
-
u(
|
|
491
|
-
icon: s(
|
|
491
|
+
u(Y, {
|
|
492
|
+
icon: s(ye),
|
|
492
493
|
label: s(E).paragraphEditor.subscript,
|
|
493
494
|
active: n.editor.isActive("subscript"),
|
|
494
495
|
onClick: i[4] ||= (e) => n.editor.chain().focus().toggleSubscript().run()
|
|
@@ -497,8 +498,8 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
497
498
|
"label",
|
|
498
499
|
"active"
|
|
499
500
|
]),
|
|
500
|
-
u(
|
|
501
|
-
icon: s(
|
|
501
|
+
u(Y, {
|
|
502
|
+
icon: s(be),
|
|
502
503
|
label: s(E).paragraphEditor.superscript,
|
|
503
504
|
active: n.editor.isActive("superscript"),
|
|
504
505
|
onClick: i[5] ||= (e) => n.editor.chain().focus().toggleSuperscript().run()
|
|
@@ -508,8 +509,8 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
508
509
|
"active"
|
|
509
510
|
]),
|
|
510
511
|
u(Q),
|
|
511
|
-
u(
|
|
512
|
-
icon: s(
|
|
512
|
+
u(Y, {
|
|
513
|
+
icon: s(ie),
|
|
513
514
|
label: s(E).paragraphEditor.addLink,
|
|
514
515
|
active: n.editor.isActive("link"),
|
|
515
516
|
onClick: i[6] ||= (e) => o("open-link-dialog")
|
|
@@ -518,9 +519,9 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
518
519
|
"label",
|
|
519
520
|
"active"
|
|
520
521
|
])
|
|
521
|
-
]), c("div",
|
|
522
|
-
u(
|
|
523
|
-
icon: s(
|
|
522
|
+
]), c("div", je, [
|
|
523
|
+
u(Y, {
|
|
524
|
+
icon: s(ae),
|
|
524
525
|
label: s(E).paragraphEditor.bulletList,
|
|
525
526
|
active: n.editor.isActive("bulletList"),
|
|
526
527
|
onClick: i[7] ||= (e) => n.editor.chain().focus().toggleBulletList().run()
|
|
@@ -529,8 +530,8 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
529
530
|
"label",
|
|
530
531
|
"active"
|
|
531
532
|
]),
|
|
532
|
-
u(
|
|
533
|
-
icon: s(
|
|
533
|
+
u(Y, {
|
|
534
|
+
icon: s(ge),
|
|
534
535
|
label: s(E).paragraphEditor.numberedList,
|
|
535
536
|
active: n.editor.isActive("orderedList"),
|
|
536
537
|
onClick: i[8] ||= (e) => n.editor.chain().focus().toggleOrderedList().run()
|
|
@@ -540,8 +541,8 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
540
541
|
"active"
|
|
541
542
|
]),
|
|
542
543
|
u(Q),
|
|
543
|
-
u(
|
|
544
|
-
icon: s(
|
|
544
|
+
u(Y, {
|
|
545
|
+
icon: s(le),
|
|
545
546
|
label: s(E).paragraphEditor.alignLeft,
|
|
546
547
|
active: n.editor.isActive({ textAlign: "left" }),
|
|
547
548
|
onClick: i[9] ||= (e) => n.editor.chain().focus().setTextAlign("left").run()
|
|
@@ -550,7 +551,7 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
550
551
|
"label",
|
|
551
552
|
"active"
|
|
552
553
|
]),
|
|
553
|
-
u(
|
|
554
|
+
u(Y, {
|
|
554
555
|
icon: s(ce),
|
|
555
556
|
label: s(E).paragraphEditor.alignCenter,
|
|
556
557
|
active: n.editor.isActive({ textAlign: "center" }),
|
|
@@ -560,8 +561,8 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
560
561
|
"label",
|
|
561
562
|
"active"
|
|
562
563
|
]),
|
|
563
|
-
u(
|
|
564
|
-
icon: s(
|
|
564
|
+
u(Y, {
|
|
565
|
+
icon: s(se),
|
|
565
566
|
label: s(E).paragraphEditor.alignRight,
|
|
566
567
|
active: n.editor.isActive({ textAlign: "right" }),
|
|
567
568
|
onClick: i[11] ||= (e) => n.editor.chain().focus().setTextAlign("right").run()
|
|
@@ -570,8 +571,8 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
570
571
|
"label",
|
|
571
572
|
"active"
|
|
572
573
|
]),
|
|
573
|
-
u(
|
|
574
|
-
icon: s(
|
|
574
|
+
u(Y, {
|
|
575
|
+
icon: s(xe),
|
|
575
576
|
label: s(E).paragraphEditor.alignJustify,
|
|
576
577
|
active: n.editor.isActive({ textAlign: "justify" }),
|
|
577
578
|
onClick: i[12] ||= (e) => n.editor.chain().focus().setTextAlign("justify").run()
|
|
@@ -582,47 +583,47 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
582
583
|
]),
|
|
583
584
|
u(Q),
|
|
584
585
|
u($, {
|
|
585
|
-
"model-value":
|
|
586
|
-
options: s(
|
|
586
|
+
"model-value": q(),
|
|
587
|
+
options: s(pe),
|
|
587
588
|
label: s(E).paragraphEditor.lineHeight,
|
|
588
589
|
placeholder: "LH",
|
|
589
590
|
"width-class": "tpl:w-16",
|
|
590
|
-
"onUpdate:modelValue":
|
|
591
|
+
"onUpdate:modelValue": J
|
|
591
592
|
}, null, 8, [
|
|
592
593
|
"model-value",
|
|
593
594
|
"options",
|
|
594
595
|
"label"
|
|
595
596
|
]),
|
|
596
597
|
u($, {
|
|
597
|
-
"model-value":
|
|
598
|
-
options: s(
|
|
598
|
+
"model-value": R("letterSpacing"),
|
|
599
|
+
options: s(fe),
|
|
599
600
|
label: s(E).paragraphEditor.letterSpacing,
|
|
600
601
|
placeholder: "LS",
|
|
601
602
|
"width-class": "tpl:w-20",
|
|
602
|
-
"onUpdate:modelValue":
|
|
603
|
+
"onUpdate:modelValue": X
|
|
603
604
|
}, null, 8, [
|
|
604
605
|
"model-value",
|
|
605
606
|
"options",
|
|
606
607
|
"label"
|
|
607
608
|
]),
|
|
608
609
|
u(Q),
|
|
609
|
-
u(
|
|
610
|
-
icon: s(
|
|
610
|
+
u(Y, {
|
|
611
|
+
icon: s(_e),
|
|
611
612
|
label: s(E).paragraphEditor.clearFormatting,
|
|
612
613
|
onClick: i[13] ||= (e) => n.editor.chain().focus().clearNodes().unsetAllMarks().run()
|
|
613
614
|
}, null, 8, ["icon", "label"]),
|
|
614
615
|
u(Q),
|
|
615
|
-
u(
|
|
616
|
+
u(Ce, { onInsert: L }),
|
|
616
617
|
n.canRequestMergeTag ? (e(), l(g, { key: 0 }, [u(Q), c("button", {
|
|
617
618
|
type: "button",
|
|
618
619
|
class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)]",
|
|
619
620
|
"aria-label": s(E).mergeTag.insert,
|
|
620
621
|
title: s(E).mergeTag.insert,
|
|
621
622
|
onClick: i[14] ||= (e) => o("add-merge-tag")
|
|
622
|
-
}, [u(s(
|
|
623
|
+
}, [u(s(ne), {
|
|
623
624
|
size: 16,
|
|
624
625
|
"stroke-width": 2
|
|
625
|
-
}), d(" " + p(s(E).mergeTag.insertShort), 1)], 8,
|
|
626
|
+
}), d(" " + p(s(E).mergeTag.insertShort), 1)], 8, Me)], 64)) : v("", !0),
|
|
626
627
|
n.canInsertLogicTag ? (e(), l(g, { key: 1 }, [u(Q), c("button", {
|
|
627
628
|
type: "button",
|
|
628
629
|
class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)]",
|
|
@@ -630,17 +631,17 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
630
631
|
title: s(E).logicTag.insert,
|
|
631
632
|
"data-testid": "insert-logic-button",
|
|
632
633
|
onClick: i[15] ||= (e) => o("add-logic-tag")
|
|
633
|
-
}, [u(s(
|
|
634
|
+
}, [u(s(re), {
|
|
634
635
|
size: 16,
|
|
635
636
|
"stroke-width": 2
|
|
636
|
-
}), d(" " + p(s(E).logicTag.insertShort), 1)], 8,
|
|
637
|
-
])], 64)) : (e(), l("div",
|
|
637
|
+
}), d(" " + p(s(E).logicTag.insertShort), 1)], 8, Ne)], 64)) : v("", !0)
|
|
638
|
+
])], 64)) : (e(), l("div", Pe, [u(s(oe), {
|
|
638
639
|
class: "tpl-spinner",
|
|
639
640
|
size: 14,
|
|
640
641
|
"stroke-width": 2
|
|
641
|
-
}), d(" " + p(s(E).errors.editorLoading), 1)]))], 12,
|
|
642
|
+
}), d(" " + p(s(E).errors.editorLoading), 1)]))], 12, ke)], 8, ["to"])) : v("", !0);
|
|
642
643
|
}
|
|
643
|
-
}),
|
|
644
|
+
}), Ie = { class: "tpl-text-editor-wrapper tpl:relative" }, Le = /* @__PURE__ */ y({
|
|
644
645
|
__name: "ParagraphEditor",
|
|
645
646
|
props: {
|
|
646
647
|
block: {},
|
|
@@ -648,25 +649,25 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
648
649
|
},
|
|
649
650
|
emits: ["done"],
|
|
650
651
|
setup(t, { emit: n }) {
|
|
651
|
-
let i = t, o = n, c =
|
|
652
|
+
let i = t, o = n, c = I(), d = a(N, null), f = S(d?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: p, EditorContent: m, isLoading: h, initError: g, retry: _, showLinkDialog: v, linkUrl: y, linkColor: b, linkDialogRef: x, canRequestMergeTag: C, canInsertLogicTag: T, openLinkDialog: D, insertLink: O, removeLink: k, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: M, handleAddLogicTag: P } = w({
|
|
652
653
|
blockId: () => i.block.id,
|
|
653
654
|
blockContent: () => i.block.content,
|
|
654
655
|
onDone: () => o("done"),
|
|
655
656
|
editorName: "ParagraphEditor",
|
|
656
657
|
async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
|
|
657
658
|
let [{ Editor: a, EditorContent: o }, { default: s }, { default: l }, { default: u }, { default: d }, { default: p }, { default: m }, { TextStyle: h }, { default: g }, { default: _ }, { default: v }, { MergeTagNode: y, MergeTagSuggestion: b, LogicMergeTagNode: x, FontSize: S, LineHeight: C, LetterSpacing: w, LineBoundaryKeys: T }] = await Promise.all([
|
|
658
|
-
import("./dist-
|
|
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("./extensions-
|
|
659
|
+
import("./dist-1H4cnaoD.js").then((e) => e.r),
|
|
660
|
+
import("./dist-Bc30883t.js"),
|
|
661
|
+
import("./dist-Bd7khQsg.js"),
|
|
662
|
+
import("./dist-DapsJxn_.js"),
|
|
663
|
+
import("./dist-lL3nVbxV.js"),
|
|
664
|
+
import("./dist-C3eH9-N2.js"),
|
|
665
|
+
import("./dist-5KNKxglR.js"),
|
|
666
|
+
import("./dist-DHensKDY.js"),
|
|
667
|
+
import("./dist-j2FavQmU.js"),
|
|
668
|
+
import("./dist-CFC4pg2o.js"),
|
|
669
|
+
import("./dist-5DAb7bYT.js"),
|
|
670
|
+
import("./extensions-CYigjb1g.js")
|
|
670
671
|
]);
|
|
671
672
|
return {
|
|
672
673
|
TiptapEditor: a,
|
|
@@ -717,8 +718,8 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
717
718
|
};
|
|
718
719
|
}
|
|
719
720
|
});
|
|
720
|
-
return (n, i) => (e(), l("div",
|
|
721
|
-
u(
|
|
721
|
+
return (n, i) => (e(), l("div", Ie, [
|
|
722
|
+
u(Fe, {
|
|
722
723
|
editor: s(p),
|
|
723
724
|
"toolbar-position": t.toolbarPosition,
|
|
724
725
|
"is-loading": s(h),
|
|
@@ -726,7 +727,7 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
726
727
|
"can-insert-logic-tag": s(T),
|
|
727
728
|
onOpenLinkDialog: s(D),
|
|
728
729
|
onAddMergeTag: s(M),
|
|
729
|
-
onAddLogicTag: s(
|
|
730
|
+
onAddLogicTag: s(P)
|
|
730
731
|
}, null, 8, [
|
|
731
732
|
"editor",
|
|
732
733
|
"toolbar-position",
|
|
@@ -737,7 +738,7 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
737
738
|
"onAddMergeTag",
|
|
738
739
|
"onAddLogicTag"
|
|
739
740
|
]),
|
|
740
|
-
u(
|
|
741
|
+
u(z, {
|
|
741
742
|
editor: s(p),
|
|
742
743
|
"editor-content": s(m),
|
|
743
744
|
"is-loading": s(h),
|
|
@@ -750,7 +751,7 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
750
751
|
"init-error",
|
|
751
752
|
"onRetry"
|
|
752
753
|
]),
|
|
753
|
-
u(
|
|
754
|
+
u(R, {
|
|
754
755
|
visible: s(v),
|
|
755
756
|
"is-editing-link": s(p)?.isActive("link") ?? !1,
|
|
756
757
|
"dialog-ref": s(x),
|
|
@@ -778,4 +779,4 @@ var De = ["data-tpl-theme", "aria-label"], Oe = { class: "tpl:flex tpl:items-cen
|
|
|
778
779
|
}
|
|
779
780
|
});
|
|
780
781
|
//#endregion
|
|
781
|
-
export {
|
|
782
|
+
export { Le as default };
|