@templatical/editor 0.25.1 → 0.26.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-BYMdVldY.js → AiChatSidebar-c-3yyjN1.js} +14 -14
- package/dist/{AiFeatureMenu-BhHhnu9G.js → AiFeatureMenu-B-COyG7k.js} +7 -7
- package/dist/{BlockIssueBadge-De36PJC4.js → BlockIssueBadge-Buk3_6QF.js} +5 -5
- package/dist/{BlockPreviewCanvas-BxSoA1QV.js → BlockPreviewCanvas-CJPHGI93.js} +3 -3
- package/dist/{CloudEditor-BXfuytQj.js → CloudEditor-BdSQ8hfv.js} +26 -26
- package/dist/{CollaboratorBar-D9AfWRTH.js → CollaboratorBar-mGoi6yye.js} +4 -4
- package/dist/{ColorPicker-VPq4ASC8.js → ColorPicker-ClETsjA3.js} +6 -6
- package/dist/{CommentsSidebar-C8BLy3Pr.js → CommentsSidebar-CdRCCSDD.js} +15 -15
- package/dist/{CountdownBlock-Bs2Q_bFX.js → CountdownBlock-DuyvGcr8.js} +3 -3
- package/dist/{CountdownToolbar-Cic6cdOw.js → CountdownToolbar-CBE9wRaV.js} +4 -4
- package/dist/{DesignReferenceSidebar-k-26nkJI.js → DesignReferenceSidebar-CgYkySre.js} +11 -11
- package/dist/{IssuesPanel-NPzwTPYW.js → IssuesPanel-Do7RLXsP.js} +8 -8
- package/dist/{LoadingTrack-DH3OEM3z.js → LoadingTrack-BexpNuTV.js} +1 -1
- package/dist/{MergeTagModeToggle-DEGyx8tw.js → MergeTagModeToggle-hAJgIKhw.js} +6 -6
- package/dist/{MergeTagSuggestion-DvisJ9im.js → MergeTagSuggestion-BJ43ihWR.js} +34 -32
- package/dist/{NumberWithSuffix-CuHCIwSn.js → NumberWithSuffix-D37ZWiZh.js} +2 -2
- package/dist/{ParagraphEditor-DK_IPi9H.js → ParagraphEditor-DBG63S70.js} +74 -80
- package/dist/{RichTextEditorContent-DznIQcdY.js → RichTextEditorContent-fbYJXAio.js} +8 -8
- package/dist/{SaveBlockDialog-R9PbMsy-.js → SaveBlockDialog-Dq9UVihi.js} +10 -10
- package/dist/{SavedBlocksBrowserModal-ttPAklPE.js → SavedBlocksBrowserModal-CtFG4zeV.js} +11 -11
- package/dist/{SavedBlocksPanels-BCwQgKLF.js → SavedBlocksPanels-DNVdso_W.js} +2 -2
- package/dist/{SavedBlocksPickBar-DD5Ddv9t.js → SavedBlocksPickBar-Cv4dIpP-.js} +4 -4
- package/dist/{SnapshotHistory-BXSTGgBh.js → SnapshotHistory-DsOtMHOV.js} +10 -10
- package/dist/{TemplateScoringPanel-Ue6Dfnjb.js → TemplateScoringPanel-BZUsb3FD.js} +15 -15
- package/dist/{TestEmailModal-KPFc5oSv.js → TestEmailModal-CIwqtGfr.js} +11 -11
- package/dist/{TestEmailPanel-b8GHTrnE.js → TestEmailPanel-l6LDmBGM.js} +2 -2
- package/dist/{TitleEditor-8ln7UBr_.js → TitleEditor-imoBUynh.js} +12 -12
- package/dist/{TplModal-D_FA3Wm3.js → TplModal-DDDHcoir.js} +5 -5
- package/dist/{blockTypeIcons-BoZeK6l7.js → blockTypeIcons-CfLN4A6t.js} +2 -2
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiChatSidebar-D6jGwb4y.js → AiChatSidebar-BHqNxNcX.js} +35 -35
- package/dist/cdn/chunks/{AiChatSidebar-D6jGwb4y.js.map → AiChatSidebar-BHqNxNcX.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-BtEcjxLL.js → AiFeatureMenu-D2AIDwEG.js} +13 -13
- package/dist/cdn/chunks/{AiFeatureMenu-BtEcjxLL.js.map → AiFeatureMenu-D2AIDwEG.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-dnqZk6pl.js → BlockIssueBadge-BEEY9o2o.js} +5 -5
- package/dist/cdn/chunks/{BlockIssueBadge-dnqZk6pl.js.map → BlockIssueBadge-BEEY9o2o.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-D8pfTFWi.js → BlockPreviewCanvas-DH5ULGkw.js} +22 -22
- package/dist/cdn/chunks/{BlockPreviewCanvas-D8pfTFWi.js.map → BlockPreviewCanvas-DH5ULGkw.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-BJ4-pPAl.js → CloudEditor-C0nB1JfD.js} +67 -67
- package/dist/cdn/chunks/{CloudEditor-BJ4-pPAl.js.map → CloudEditor-C0nB1JfD.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-SeUOuLeJ.js → CollaboratorBar-f6Ni7KNH.js} +12 -12
- package/dist/cdn/chunks/{CollaboratorBar-SeUOuLeJ.js.map → CollaboratorBar-f6Ni7KNH.js.map} +1 -1
- package/dist/cdn/chunks/{ColorPicker-yxvrro60.js → ColorPicker-W_UyiVGc.js} +131 -131
- package/dist/cdn/chunks/{ColorPicker-yxvrro60.js.map → ColorPicker-W_UyiVGc.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-FPbg-FuU.js → CommentsSidebar-BLRZRSSC.js} +112 -112
- package/dist/cdn/chunks/{CommentsSidebar-FPbg-FuU.js.map → CommentsSidebar-BLRZRSSC.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-D2Oth7YY.js → CountdownBlock-vLTkTI9e.js} +11 -11
- package/dist/cdn/chunks/{CountdownBlock-D2Oth7YY.js.map → CountdownBlock-vLTkTI9e.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-BNgTBQGB.js → CountdownToolbar-DPjcgcVR.js} +41 -41
- package/dist/cdn/chunks/{CountdownToolbar-BNgTBQGB.js.map → CountdownToolbar-DPjcgcVR.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-ChB_HBK1.js → DesignReferenceSidebar-DBoEBKxQ.js} +34 -34
- package/dist/cdn/chunks/{DesignReferenceSidebar-ChB_HBK1.js.map → DesignReferenceSidebar-DBoEBKxQ.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-CjiZ8cLW.js → IssuesPanel-DKTS4QVb.js} +32 -32
- package/dist/cdn/chunks/{IssuesPanel-CjiZ8cLW.js.map → IssuesPanel-DKTS4QVb.js.map} +1 -1
- package/dist/cdn/chunks/{LoadingTrack-CiNg9s16.js → LoadingTrack-C52ZGL5q.js} +2 -2
- package/dist/cdn/chunks/{LoadingTrack-CiNg9s16.js.map → LoadingTrack-C52ZGL5q.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-CiYbOKzd.js → MergeTagModeToggle-D8iKvz7v.js} +28 -28
- package/dist/cdn/chunks/{MergeTagModeToggle-CiYbOKzd.js.map → MergeTagModeToggle-D8iKvz7v.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagSuggestion-CvZLI6Np.js → MergeTagSuggestion-Dn8dExNa.js} +18 -18
- package/dist/cdn/chunks/{MergeTagSuggestion-CvZLI6Np.js.map → MergeTagSuggestion-Dn8dExNa.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-vVwCWrd_.js → NumberWithSuffix-BXrRdfq1.js} +22 -22
- package/dist/cdn/chunks/{NumberWithSuffix-vVwCWrd_.js.map → NumberWithSuffix-BXrRdfq1.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-o4hs9mgy.js → ParagraphEditor-Cuc83Blj.js} +58 -58
- package/dist/cdn/chunks/{ParagraphEditor-o4hs9mgy.js.map → ParagraphEditor-Cuc83Blj.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-BAriGldd.js → RichTextEditorContent-DtL49Jpo.js} +20 -20
- package/dist/cdn/chunks/{RichTextEditorContent-BAriGldd.js.map → RichTextEditorContent-DtL49Jpo.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-D3-oILb5.js → SaveBlockDialog-B8KHhVkI.js} +50 -50
- package/dist/cdn/chunks/{SaveBlockDialog-D3-oILb5.js.map → SaveBlockDialog-B8KHhVkI.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-jMnNd4wn.js → SavedBlocksBrowserModal-B-sjsIJv.js} +62 -62
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-jMnNd4wn.js.map → SavedBlocksBrowserModal-B-sjsIJv.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-BDd8FH6l.js → SavedBlocksPanels-Bb-eDMAh.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPanels-BDd8FH6l.js.map → SavedBlocksPanels-Bb-eDMAh.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-BNkLe8In.js → SavedBlocksPickBar-GudFfXa4.js} +12 -12
- package/dist/cdn/chunks/{SavedBlocksPickBar-BNkLe8In.js.map → SavedBlocksPickBar-GudFfXa4.js.map} +1 -1
- package/dist/cdn/chunks/{SnapshotHistory-CYVi7fvQ.js → SnapshotHistory-Srpzt2na.js} +26 -26
- package/dist/cdn/chunks/{SnapshotHistory-CYVi7fvQ.js.map → SnapshotHistory-Srpzt2na.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-D0KrxVnr.js → TemplateScoringPanel-NucRtAP0.js} +42 -42
- package/dist/cdn/chunks/{TemplateScoringPanel-D0KrxVnr.js.map → TemplateScoringPanel-NucRtAP0.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-_RbTD787.js → TestEmailModal-DLeoJqaJ.js} +31 -31
- package/dist/cdn/chunks/{TestEmailModal-_RbTD787.js.map → TestEmailModal-DLeoJqaJ.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-BAnKtbSu.js → TestEmailPanel-Dr7Dkq2P.js} +3 -3
- package/dist/cdn/chunks/{TestEmailPanel-BAnKtbSu.js.map → TestEmailPanel-Dr7Dkq2P.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-LiUvXGPw.js → TitleEditor-DzYRr18C.js} +35 -35
- package/dist/cdn/chunks/{TitleEditor-LiUvXGPw.js.map → TitleEditor-DzYRr18C.js.map} +1 -1
- package/dist/cdn/chunks/{TplModal-C1iguuZz.js → TplModal-byw7-3wg.js} +17 -17
- package/dist/cdn/chunks/{TplModal-C1iguuZz.js.map → TplModal-byw7-3wg.js.map} +1 -1
- package/dist/cdn/chunks/blockTypeIcons-FXlMM3PL.js +21 -0
- package/dist/cdn/chunks/{blockTypeIcons-CrPzyP_k.js.map → blockTypeIcons-FXlMM3PL.js.map} +1 -1
- package/dist/cdn/chunks/{cloud-CxNsW3hp.js → cloud-CuItCnN_.js} +4 -4
- package/dist/cdn/chunks/{cloud-CxNsW3hp.js.map → cloud-CuItCnN_.js.map} +1 -1
- package/dist/cdn/chunks/{dist-BLF-S9_A.js → dist-B2HKGHnc.js} +9 -7
- package/dist/cdn/chunks/{dist-BLF-S9_A.js.map → dist-B2HKGHnc.js.map} +1 -1
- package/dist/cdn/chunks/{dist-Dp46rwVY.js → dist-C6z8AjBC.js} +2 -2
- package/dist/cdn/chunks/{dist-Dp46rwVY.js.map → dist-C6z8AjBC.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-BRF_Q_jB.js → draggable-DCs9qL-b.js} +114 -92
- package/dist/cdn/chunks/{draggable-BRF_Q_jB.js.map → draggable-DCs9qL-b.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-yNQlgLNE.js → extensions-B7laxHjs.js} +22 -22
- package/dist/cdn/chunks/{extensions-yNQlgLNE.js.map → extensions-B7laxHjs.js.map} +1 -1
- package/dist/cdn/chunks/{htmlparser-CPhs2cYE.js → htmlparser-DTML8Gvz.js} +8 -7
- package/dist/cdn/chunks/{htmlparser-CPhs2cYE.js.map → htmlparser-DTML8Gvz.js.map} +1 -1
- package/dist/cdn/chunks/{icons-DN008liP.js → icons-CvYN6zrM.js} +74 -80
- package/dist/cdn/chunks/icons-CvYN6zrM.js.map +1 -0
- package/dist/cdn/chunks/{keys-CZOBuCQd.js → keys-Cmc2Yl3D.js} +2 -2
- package/dist/cdn/chunks/{keys-CZOBuCQd.js.map → keys-Cmc2Yl3D.js.map} +1 -1
- package/dist/cdn/chunks/{liquid.browser-CZaQe87t.js → liquid.browser-UlAOKBjI.js} +120 -110
- package/dist/cdn/chunks/liquid.browser-UlAOKBjI.js.map +1 -0
- package/dist/cdn/chunks/{pusher-kUlkqMvR.js → pusher-BbIHJKf3.js} +29 -25
- package/dist/cdn/chunks/{pusher-kUlkqMvR.js.map → pusher-BbIHJKf3.js.map} +1 -1
- package/dist/cdn/chunks/{src-uc_Mb_yH.js → src-BYKYmEOD.js} +7 -6
- package/dist/cdn/chunks/src-BYKYmEOD.js.map +1 -0
- package/dist/cdn/chunks/{src-D_3bXt7-.js → src-Bi-Qhtfs.js} +3 -3
- package/dist/cdn/chunks/{src-D_3bXt7-.js.map → src-Bi-Qhtfs.js.map} +1 -1
- package/dist/cdn/chunks/{src-B2LpXMIw.js → src-C0N74uvF.js} +280 -277
- package/dist/cdn/chunks/{src-B2LpXMIw.js.map → src-C0N74uvF.js.map} +1 -1
- package/dist/cdn/chunks/{src-CZjSXPYq.js → src-EKTTBQ0y.js} +3 -2
- package/dist/cdn/chunks/src-EKTTBQ0y.js.map +1 -0
- package/dist/cdn/chunks/{styles-BzP13r-I.js → styles-C7s-VtJi.js} +1112 -1094
- package/dist/cdn/chunks/styles-C7s-VtJi.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-CgwK_fKJ.js → tiptap-C44S1Cmh.js} +3681 -2965
- package/dist/cdn/chunks/tiptap-C44S1Cmh.js.map +1 -0
- package/dist/cdn/chunks/{useAliveFlag-Ctyt3GgH.js → useAliveFlag-Dxwgo6P4.js} +2 -2
- package/dist/cdn/chunks/{useAliveFlag-Ctyt3GgH.js.map → useAliveFlag-Dxwgo6P4.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-CML0BxqX.js → useCloudI18n-8wkJtuJD.js} +3 -3
- package/dist/cdn/chunks/{useCloudI18n-CML0BxqX.js.map → useCloudI18n-8wkJtuJD.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-CTYH6u4r.js → useEditorCore-C_nUXiph.js} +275 -275
- package/dist/cdn/chunks/useEditorCore-C_nUXiph.js.map +1 -0
- package/dist/cdn/chunks/{useI18n-aRMtgYRj.js → useI18n-UMs0F71x.js} +3 -3
- package/dist/cdn/chunks/{useI18n-aRMtgYRj.js.map → useI18n-UMs0F71x.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-8a8BnIZp.js → useMergeTag-CPa_9VOq.js} +4 -4
- package/dist/cdn/chunks/{useMergeTag-8a8BnIZp.js.map → useMergeTag-CPa_9VOq.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-Dm1jv3y5.js → usePopoverPosition-cf8Y-ynK.js} +3 -3
- package/dist/cdn/chunks/{usePopoverPosition-Dm1jv3y5.js.map → usePopoverPosition-cf8Y-ynK.js.map} +1 -1
- package/dist/cdn/editor.js +47 -47
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-Bqimqf7l.js → check-On4TSac-.js} +1 -1
- package/dist/{chevron-down-CYOoeGBd.js → chevron-down-69EiBGoB.js} +1 -1
- package/dist/{chevron-up-DYknsfm0.js → chevron-up-Dh3MG1Dw.js} +1 -1
- package/dist/{circle-alert-6q_jgtv_.js → circle-alert-cilwzafX.js} +1 -1
- package/dist/{clock-CnadSSTD.js → clock-Dt0APH92.js} +1 -1
- package/dist/{cloud-BJLg_SlM.js → cloud-C7-FhzMc.js} +2 -2
- package/dist/{createLucideIcon-D7GKhya2.js → createLucideIcon-C8WzBYCv.js} +3 -3
- package/dist/dist-6YJAWMuf.js +5 -0
- package/dist/dist-8vlm9kfO.js +5 -0
- package/dist/{dist-DSIgxp0v.js → dist-BImfm-46.js} +2 -2
- package/dist/{dist-DDfXShPv.js → dist-BpKxrUi2.js} +1 -1
- package/dist/{dist-B6Px6GPj.js → dist-C08jiemd.js} +7 -7
- package/dist/{dist-BxbTVeY0.js → dist-C27SeFL5.js} +15 -15
- package/dist/{dist-nR6mxyqI.js → dist-CYx-E82k.js} +2 -2
- package/dist/{dist-CcQFPJMF.js → dist-ChYLhoJ4.js} +2300 -1704
- package/dist/{dist-C31bMR4x.js → dist-Cl8J0IES.js} +270 -182
- package/dist/{dist-CQ0fVBQ3.js → dist-D5zCZFdU.js} +2 -1
- package/dist/{dist-Dx71pluS.js → dist-DMJRSouD.js} +470 -440
- package/dist/{dist-DyCHUyRR.js → dist-DfpeSdmE.js} +2 -2
- package/dist/{dist-DX4x6mQ1.js → dist-M7m1lYRe.js} +47 -47
- package/dist/{dist-CRH880TV.js → dist-g6cbzhZW.js} +2 -2
- package/dist/{extensions-CbiWtzS6.js → extensions-CxwhoG8v.js} +19 -19
- package/dist/{image-up-BfukboIn.js → image-up-Ceggh_R3.js} +1 -1
- package/dist/{info-DSYRzSZo.js → info-DO5odBcZ.js} +1 -1
- package/dist/{keys-BI6VSUh4.js → keys-fwF3qZax.js} +1 -1
- package/dist/{liquid.browser-BECWFL5Z.js → liquid.browser-B-rGrnrQ.js} +119 -109
- package/dist/{list-checks-URZOyLhr.js → list-checks-BSkPKbuI.js} +1 -1
- package/dist/{loader-circle-GADaYcyQ.js → loader-circle-bO7o7_HD.js} +1 -1
- package/dist/{message-circle-B62fdo0b.js → message-circle-BEkAk65X.js} +1 -1
- package/dist/{pencil-BGwkOpD_.js → pencil-t6m0EtKL.js} +1 -1
- package/dist/{refresh-cw-Z4wXfduO.js → refresh-cw-CkOYVzK5.js} +1 -1
- package/dist/{runtime-dom.esm-bundler-BkOsapVg.js → runtime-dom.esm-bundler-CepEmvwF.js} +13 -10
- package/dist/{scan-line-D8Oh5xos.js → scan-line-DwSVj25O.js} +1 -1
- package/dist/{send-BYp4k38T.js → send-CWsWN8PQ.js} +1 -1
- package/dist/{shield-check-Cm0RePnW.js → shield-check-qje8Kufw.js} +1 -1
- package/dist/{sparkles-BHEE-vRD.js → sparkles-DumaWRW-.js} +1 -1
- package/dist/{styles-B0MEBpOK.js → styles-C_slTGwp.js} +454 -436
- package/dist/templatical-editor.js +11 -11
- package/dist/{text-align-start-CHrg3vK8.js → text-align-start-Ir8Ah4mT.js} +1 -1
- package/dist/{trash-2-BoNT8wbq.js → trash-2-CklAFCmO.js} +1 -1
- package/dist/{triangle-alert-CiN0ssB3.js → triangle-alert-BBi4n93g.js} +1 -1
- package/dist/{upload-WvZGBySw.js → upload-sVqqppuv.js} +1 -1
- package/dist/{useAliveFlag-eT67QCMf.js → useAliveFlag-cvyBxHp7.js} +1 -1
- package/dist/{useCloudI18n-KgIWl-IE.js → useCloudI18n-DKVm6PCa.js} +2 -2
- package/dist/{useEditorCore-BMbxdUbY.js → useEditorCore-r4gWzCBA.js} +893 -893
- package/dist/{useI18n-BkHfCWC6.js → useI18n-DoVKdCTH.js} +2 -2
- package/dist/{useMergeTag-CZ4XYAxu.js → useMergeTag-C-_WxrgL.js} +3 -3
- package/dist/{usePopoverPosition-D93u-EZm.js → usePopoverPosition-C0dPEF4X.js} +3 -3
- package/dist/{vue.runtime.esm-bundler-0R1UhmZB.js → vue.runtime.esm-bundler-D1diBMsm.js} +119 -95
- package/dist/{x-B4WnJVRx.js → x-Mby7KlhS.js} +1 -1
- package/package.json +23 -23
- package/dist/cdn/chunks/blockTypeIcons-CrPzyP_k.js +0 -21
- package/dist/cdn/chunks/icons-DN008liP.js.map +0 -1
- package/dist/cdn/chunks/liquid.browser-CZaQe87t.js.map +0 -1
- package/dist/cdn/chunks/src-CZjSXPYq.js.map +0 -1
- package/dist/cdn/chunks/src-uc_Mb_yH.js.map +0 -1
- package/dist/cdn/chunks/styles-BzP13r-I.js.map +0 -1
- package/dist/cdn/chunks/tiptap-CgwK_fKJ.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-CTYH6u4r.js.map +0 -1
- package/dist/dist-CkPvZCld.js +0 -5
- package/dist/dist-iCEDH3cC.js +0 -5
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { K as e, L as t, M as n, P as r, T as i, Z as a, c as o, ct as s, d as c, f as l, g as u, h as d, it as f, l as p, m,
|
|
2
|
-
import { D as S, E as C, S as w, x as T } from "./useEditorCore-
|
|
3
|
-
import { t as E } from "./dist-
|
|
4
|
-
import { G as D, O, T as k, U as ee, V as te, g as ne, v as A } from "./keys-
|
|
5
|
-
import { t as j } from "./useI18n-
|
|
6
|
-
import { n as M } from "./usePopoverPosition-
|
|
7
|
-
import {
|
|
1
|
+
import { K as e, L as t, M as n, P as r, T as i, Z as a, c as o, ct as s, d as c, f as l, g as u, h as d, it as f, l as p, lt as m, m as h, p as g, st as _, u as v, v as y, x as b, y as x } from "./draggable-DCs9qL-b.js";
|
|
2
|
+
import { D as S, E as C, S as w, x as T } from "./useEditorCore-C_nUXiph.js";
|
|
3
|
+
import { t as E } from "./dist-B2HKGHnc.js";
|
|
4
|
+
import { G as D, O, T as k, U as ee, V as te, g as ne, v as A } from "./keys-Cmc2Yl3D.js";
|
|
5
|
+
import { t as j } from "./useI18n-UMs0F71x.js";
|
|
6
|
+
import { n as M } from "./usePopoverPosition-cf8Y-ynK.js";
|
|
7
|
+
import { Ct as N, P as re, R as ie, Rt as ae, S as oe, Vt as se, _ as ce, at as le, ct as ue, g as de, h as fe, it as pe, l as me, m as he, ot as ge, ut as _e, x as ve, y as ye } from "./icons-CvYN6zrM.js";
|
|
8
8
|
import { t as P } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
9
|
-
import { c as be, o as xe, r as Se, s as Ce, t as F } from "./ColorPicker-
|
|
10
|
-
import { n as I, t as L } from "./RichTextEditorContent-
|
|
9
|
+
import { c as be, o as xe, r as Se, s as Ce, t as F } from "./ColorPicker-W_UyiVGc.js";
|
|
10
|
+
import { n as I, t as L } from "./RichTextEditorContent-DtL49Jpo.js";
|
|
11
11
|
//#region src/components/blocks/EmojiPickerDropdown.vue?vue&type=script&setup=true&lang.ts
|
|
12
12
|
var R = [
|
|
13
13
|
"aria-label",
|
|
@@ -17,9 +17,9 @@ var R = [
|
|
|
17
17
|
__name: "EmojiPickerDropdown",
|
|
18
18
|
emits: ["insert"],
|
|
19
19
|
setup(e, { emit: t }) {
|
|
20
|
-
let i = t, { categories:
|
|
20
|
+
let i = t, { categories: s, isOpen: c, toggle: h, close: y } = C(), { t: b, format: w } = j(), T = a(null), D = a(null), O = l(() => c.value);
|
|
21
21
|
S(T, O), E(D, () => {
|
|
22
|
-
|
|
22
|
+
c.value && y();
|
|
23
23
|
});
|
|
24
24
|
function k(e) {
|
|
25
25
|
i("insert", e), y();
|
|
@@ -30,17 +30,17 @@ var R = [
|
|
|
30
30
|
class: "tpl:relative"
|
|
31
31
|
}, [g("button", {
|
|
32
32
|
type: "button",
|
|
33
|
-
class:
|
|
33
|
+
class: _(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": f(c) }]),
|
|
34
34
|
"aria-label": f(b).paragraphEditor.insertEmoji,
|
|
35
35
|
title: f(b).paragraphEditor.insertEmoji,
|
|
36
|
-
"aria-expanded": f(
|
|
36
|
+
"aria-expanded": f(c),
|
|
37
37
|
"aria-haspopup": "dialog",
|
|
38
38
|
"aria-controls": "tpl-emoji-picker",
|
|
39
|
-
onClick: t[0] ||= (...e) => f(
|
|
39
|
+
onClick: t[0] ||= (...e) => f(h) && f(h)(...e)
|
|
40
40
|
}, [x(f(N), {
|
|
41
41
|
size: 16,
|
|
42
42
|
"stroke-width": 2
|
|
43
|
-
})], 10, R), f(
|
|
43
|
+
})], 10, R), f(c) ? (n(), u("div", {
|
|
44
44
|
key: 0,
|
|
45
45
|
id: "tpl-emoji-picker",
|
|
46
46
|
ref_key: "pickerRef",
|
|
@@ -51,16 +51,16 @@ var R = [
|
|
|
51
51
|
tabindex: "-1",
|
|
52
52
|
class: "tpl-emoji-picker tpl:absolute tpl:top-full tpl:left-0 tpl:z-10 tpl:mt-2 tpl:w-72 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:shadow-lg",
|
|
53
53
|
onKeydown: t[1] ||= o(p((...e) => f(y) && f(y)(...e), ["stop", "prevent"]), ["esc"])
|
|
54
|
-
}, [(n(!0), u(v, null, r(f(
|
|
54
|
+
}, [(n(!0), u(v, null, r(f(s), (e) => (n(), u("div", {
|
|
55
55
|
key: e.key,
|
|
56
56
|
class: "tpl:mb-2 tpl:last:mb-0"
|
|
57
|
-
}, [g("div", B,
|
|
57
|
+
}, [g("div", B, m(f(b).emoji[e.key]), 1), g("div", V, [(n(!0), u(v, null, r(e.emojis, (e) => (n(), u("button", {
|
|
58
58
|
key: e,
|
|
59
59
|
type: "button",
|
|
60
60
|
"aria-label": f(w)(f(b).paragraphEditor.emojiItemLabel, { emoji: e }),
|
|
61
61
|
class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border-none tpl:bg-transparent tpl:text-base tpl:transition-all tpl:duration-100 tpl:hover:scale-125 tpl:hover:bg-[var(--tpl-bg-active)]",
|
|
62
62
|
onClick: (t) => k(e)
|
|
63
|
-
},
|
|
63
|
+
}, m(e), 9, H))), 128))])]))), 128))], 40, z)) : d("", !0)], 512));
|
|
64
64
|
}
|
|
65
65
|
}), U = [
|
|
66
66
|
"aria-label",
|
|
@@ -78,11 +78,11 @@ var R = [
|
|
|
78
78
|
setup(e) {
|
|
79
79
|
return (r, i) => (n(), u("button", {
|
|
80
80
|
type: "button",
|
|
81
|
-
class:
|
|
81
|
+
class: _(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": e.active }]),
|
|
82
82
|
"aria-label": e.label,
|
|
83
83
|
title: e.label,
|
|
84
84
|
"aria-pressed": e.active ? "true" : "false"
|
|
85
|
-
}, [(n(),
|
|
85
|
+
}, [(n(), h(t(e.icon), {
|
|
86
86
|
size: e.size ?? 16,
|
|
87
87
|
"stroke-width": e.strokeWidth ?? 2
|
|
88
88
|
}, null, 8, ["size", "stroke-width"]))], 10, U));
|
|
@@ -116,19 +116,19 @@ var J = /*#__PURE__*/ P(G, [["render", q]]), Y = [
|
|
|
116
116
|
function o(e) {
|
|
117
117
|
return typeof e == "string" ? e : e.value;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function s(e) {
|
|
120
120
|
return typeof e == "string" ? e : e.label;
|
|
121
121
|
}
|
|
122
122
|
return (t, i) => (n(), u("select", {
|
|
123
|
-
class:
|
|
123
|
+
class: _(["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", e.widthClass ?? "tpl:w-20"]),
|
|
124
124
|
value: e.modelValue,
|
|
125
125
|
"aria-label": e.label,
|
|
126
126
|
title: e.label,
|
|
127
127
|
onChange: a
|
|
128
|
-
}, [g("option", X,
|
|
128
|
+
}, [g("option", X, m(e.placeholder ?? ""), 1), (n(!0), u(v, null, r(e.options, (e) => (n(), u("option", {
|
|
129
129
|
key: o(e),
|
|
130
130
|
value: o(e)
|
|
131
|
-
}, s(
|
|
131
|
+
}, m(s(e)), 9, Te))), 128))], 42, Y));
|
|
132
132
|
}
|
|
133
133
|
});
|
|
134
134
|
//#endregion
|
|
@@ -156,7 +156,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
156
156
|
"add-logic-tag"
|
|
157
157
|
],
|
|
158
158
|
setup(e, { emit: t }) {
|
|
159
|
-
let r = e, a = t, o = i(te, null), p = i(ee, null),
|
|
159
|
+
let r = e, a = t, o = i(te, null), p = i(ee, null), _ = D(A, "ParagraphToolbar"), b = M(), S = i(O, null), C = i(k, null), w = i(ne, null), T = l(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = j(), N = _.fonts;
|
|
160
160
|
function P(e) {
|
|
161
161
|
r.editor?.chain().focus().insertContent(e).run();
|
|
162
162
|
}
|
|
@@ -206,7 +206,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
206
206
|
let t = r.editor?.chain().focus();
|
|
207
207
|
e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
|
|
208
208
|
}
|
|
209
|
-
return (t, r) => f(b) && !T.value ? (n(),
|
|
209
|
+
return (t, r) => f(b) && !T.value ? (n(), h(c, {
|
|
210
210
|
key: 0,
|
|
211
211
|
to: f(b)
|
|
212
212
|
}, [g("div", {
|
|
@@ -214,7 +214,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
214
214
|
role: "toolbar",
|
|
215
215
|
"aria-label": f(E).paragraphEditor.toolbar,
|
|
216
216
|
class: "tpl tpl-text-toolbar tpl:absolute tpl:z-popover tpl:flex tpl:gap-1 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:shadow-lg",
|
|
217
|
-
style:
|
|
217
|
+
style: s({
|
|
218
218
|
...f(o),
|
|
219
219
|
top: `${e.toolbarPosition.top}px`,
|
|
220
220
|
left: `${e.toolbarPosition.left}px`,
|
|
@@ -277,7 +277,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
277
277
|
]),
|
|
278
278
|
x(J),
|
|
279
279
|
x(W, {
|
|
280
|
-
icon: f(
|
|
280
|
+
icon: f(se),
|
|
281
281
|
label: f(E).paragraphEditor.bold,
|
|
282
282
|
active: e.editor.isActive("bold"),
|
|
283
283
|
"stroke-width": 2.5,
|
|
@@ -288,7 +288,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
288
288
|
"active"
|
|
289
289
|
]),
|
|
290
290
|
x(W, {
|
|
291
|
-
icon: f(
|
|
291
|
+
icon: f(_e),
|
|
292
292
|
label: f(E).paragraphEditor.italic,
|
|
293
293
|
active: e.editor.isActive("italic"),
|
|
294
294
|
onClick: r[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
|
|
@@ -298,7 +298,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
298
298
|
"active"
|
|
299
299
|
]),
|
|
300
300
|
x(W, {
|
|
301
|
-
icon: f(
|
|
301
|
+
icon: f(me),
|
|
302
302
|
label: f(E).paragraphEditor.underline,
|
|
303
303
|
active: e.editor.isActive("underline"),
|
|
304
304
|
onClick: r[2] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
|
|
@@ -308,7 +308,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
308
308
|
"active"
|
|
309
309
|
]),
|
|
310
310
|
x(W, {
|
|
311
|
-
icon: f(
|
|
311
|
+
icon: f(oe),
|
|
312
312
|
label: f(E).paragraphEditor.strikethrough,
|
|
313
313
|
active: e.editor.isActive("strike"),
|
|
314
314
|
onClick: r[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
|
|
@@ -319,7 +319,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
319
319
|
]),
|
|
320
320
|
x(J),
|
|
321
321
|
x(W, {
|
|
322
|
-
icon: f(
|
|
322
|
+
icon: f(ve),
|
|
323
323
|
label: f(E).paragraphEditor.subscript,
|
|
324
324
|
active: e.editor.isActive("subscript"),
|
|
325
325
|
onClick: r[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
|
|
@@ -329,7 +329,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
329
329
|
"active"
|
|
330
330
|
]),
|
|
331
331
|
x(W, {
|
|
332
|
-
icon: f(
|
|
332
|
+
icon: f(ye),
|
|
333
333
|
label: f(E).paragraphEditor.superscript,
|
|
334
334
|
active: e.editor.isActive("superscript"),
|
|
335
335
|
onClick: r[5] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
|
|
@@ -340,7 +340,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
340
340
|
]),
|
|
341
341
|
x(J),
|
|
342
342
|
x(W, {
|
|
343
|
-
icon: f(
|
|
343
|
+
icon: f(ue),
|
|
344
344
|
label: f(E).paragraphEditor.addLink,
|
|
345
345
|
active: e.editor.isActive("link"),
|
|
346
346
|
onClick: r[6] ||= (e) => a("open-link-dialog")
|
|
@@ -351,7 +351,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
351
351
|
])
|
|
352
352
|
]), g("div", Oe, [
|
|
353
353
|
x(W, {
|
|
354
|
-
icon: f(
|
|
354
|
+
icon: f(le),
|
|
355
355
|
label: f(E).paragraphEditor.bulletList,
|
|
356
356
|
active: e.editor.isActive("bulletList"),
|
|
357
357
|
onClick: r[7] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
|
|
@@ -372,7 +372,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
372
372
|
]),
|
|
373
373
|
x(J),
|
|
374
374
|
x(W, {
|
|
375
|
-
icon: f(
|
|
375
|
+
icon: f(he),
|
|
376
376
|
label: f(E).paragraphEditor.alignLeft,
|
|
377
377
|
active: e.editor.isActive({ textAlign: "left" }),
|
|
378
378
|
onClick: r[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
|
|
@@ -382,7 +382,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
382
382
|
"active"
|
|
383
383
|
]),
|
|
384
384
|
x(W, {
|
|
385
|
-
icon: f(
|
|
385
|
+
icon: f(ce),
|
|
386
386
|
label: f(E).paragraphEditor.alignCenter,
|
|
387
387
|
active: e.editor.isActive({ textAlign: "center" }),
|
|
388
388
|
onClick: r[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
|
|
@@ -392,7 +392,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
392
392
|
"active"
|
|
393
393
|
]),
|
|
394
394
|
x(W, {
|
|
395
|
-
icon: f(
|
|
395
|
+
icon: f(de),
|
|
396
396
|
label: f(E).paragraphEditor.alignRight,
|
|
397
397
|
active: e.editor.isActive({ textAlign: "right" }),
|
|
398
398
|
onClick: r[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
|
|
@@ -402,7 +402,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
402
402
|
"active"
|
|
403
403
|
]),
|
|
404
404
|
x(W, {
|
|
405
|
-
icon: f(
|
|
405
|
+
icon: f(fe),
|
|
406
406
|
label: f(E).paragraphEditor.alignJustify,
|
|
407
407
|
active: e.editor.isActive({ textAlign: "justify" }),
|
|
408
408
|
onClick: r[12] ||= (t) => e.editor.chain().focus().setTextAlign("justify").run()
|
|
@@ -438,7 +438,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
438
438
|
]),
|
|
439
439
|
x(J),
|
|
440
440
|
x(W, {
|
|
441
|
-
icon: f(
|
|
441
|
+
icon: f(ie),
|
|
442
442
|
label: f(E).paragraphEditor.clearFormatting,
|
|
443
443
|
onClick: r[13] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
|
|
444
444
|
}, null, 8, ["icon", "label"]),
|
|
@@ -453,7 +453,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
453
453
|
}, [x(f(re), {
|
|
454
454
|
size: 16,
|
|
455
455
|
"stroke-width": 2
|
|
456
|
-
}), y(" " +
|
|
456
|
+
}), y(" " + m(f(E).mergeTag.insertShort), 1)], 8, ke)], 64)) : d("", !0),
|
|
457
457
|
e.canInsertLogicTag ? (n(), u(v, { key: 1 }, [x(J), g("button", {
|
|
458
458
|
type: "button",
|
|
459
459
|
class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-bg-active)]",
|
|
@@ -461,15 +461,15 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
461
461
|
title: f(E).logicTag.insert,
|
|
462
462
|
"data-testid": "insert-logic-button",
|
|
463
463
|
onClick: r[15] ||= (e) => a("add-logic-tag")
|
|
464
|
-
}, [x(f(
|
|
464
|
+
}, [x(f(ae), {
|
|
465
465
|
size: 16,
|
|
466
466
|
"stroke-width": 2
|
|
467
|
-
}), y(" " +
|
|
468
|
-
])], 64)) : (n(), u("div", $, [x(f(
|
|
467
|
+
}), y(" " + m(f(E).logicTag.insertShort), 1)], 8, Ae)], 64)) : d("", !0)
|
|
468
|
+
])], 64)) : (n(), u("div", $, [x(f(pe), {
|
|
469
469
|
class: "tpl-spinner",
|
|
470
470
|
size: 14,
|
|
471
471
|
"stroke-width": 2
|
|
472
|
-
}), y(" " +
|
|
472
|
+
}), y(" " + m(f(E).errors.editorLoading), 1)]))], 12, Ee)], 8, ["to"])) : d("", !0);
|
|
473
473
|
}
|
|
474
474
|
}), Me = { class: "tpl-text-editor-wrapper tpl:relative" }, Ne = /* @__PURE__ */ b({
|
|
475
475
|
__name: "ParagraphEditor",
|
|
@@ -486,18 +486,18 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
486
486
|
editorName: "ParagraphEditor",
|
|
487
487
|
async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
|
|
488
488
|
let [{ Editor: a, EditorContent: s }, { default: c }, { default: l }, { default: u }, { default: d }, { default: f }, { default: p }, { TextStyle: m }, { default: h }, { default: g }, { default: _ }, { MergeTagNode: v, MergeTagSuggestion: y, LogicMergeTagNode: b, FontSize: x, LineHeight: S, LetterSpacing: C }] = await Promise.all([
|
|
489
|
-
import("./tiptap-
|
|
490
|
-
import("./tiptap-
|
|
491
|
-
import("./tiptap-
|
|
492
|
-
import("./tiptap-
|
|
493
|
-
import("./tiptap-
|
|
494
|
-
import("./tiptap-
|
|
495
|
-
import("./tiptap-
|
|
496
|
-
import("./tiptap-
|
|
497
|
-
import("./tiptap-
|
|
498
|
-
import("./tiptap-
|
|
499
|
-
import("./tiptap-
|
|
500
|
-
import("./extensions-
|
|
489
|
+
import("./tiptap-C44S1Cmh.js").then((e) => e.r),
|
|
490
|
+
import("./tiptap-C44S1Cmh.js").then((e) => e.i),
|
|
491
|
+
import("./tiptap-C44S1Cmh.js").then((e) => e.l),
|
|
492
|
+
import("./tiptap-C44S1Cmh.js").then((e) => e.a),
|
|
493
|
+
import("./tiptap-C44S1Cmh.js").then((e) => e.c),
|
|
494
|
+
import("./tiptap-C44S1Cmh.js").then((e) => e.s),
|
|
495
|
+
import("./tiptap-C44S1Cmh.js").then((e) => e.o),
|
|
496
|
+
import("./tiptap-C44S1Cmh.js").then((e) => e.p),
|
|
497
|
+
import("./tiptap-C44S1Cmh.js").then((e) => e.f),
|
|
498
|
+
import("./tiptap-C44S1Cmh.js").then((e) => e.d),
|
|
499
|
+
import("./tiptap-C44S1Cmh.js").then((e) => e.u),
|
|
500
|
+
import("./extensions-B7laxHjs.js")
|
|
501
501
|
]);
|
|
502
502
|
return {
|
|
503
503
|
TiptapEditor: a,
|
|
@@ -607,4 +607,4 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
|
|
|
607
607
|
//#endregion
|
|
608
608
|
export { Ne as default };
|
|
609
609
|
|
|
610
|
-
//# sourceMappingURL=ParagraphEditor-
|
|
610
|
+
//# sourceMappingURL=ParagraphEditor-Cuc83Blj.js.map
|