@templatical/editor 0.25.1 → 0.25.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AiChatSidebar-BYMdVldY.js → AiChatSidebar-JLsbPnsH.js} +14 -14
- package/dist/{AiFeatureMenu-BhHhnu9G.js → AiFeatureMenu-BvA-lViN.js} +7 -7
- package/dist/{BlockIssueBadge-De36PJC4.js → BlockIssueBadge-Cf0-GC3o.js} +5 -5
- package/dist/{BlockPreviewCanvas-BxSoA1QV.js → BlockPreviewCanvas-CnJIM5TO.js} +3 -3
- package/dist/{CloudEditor-BXfuytQj.js → CloudEditor-Caq7z4-7.js} +25 -25
- package/dist/{CollaboratorBar-D9AfWRTH.js → CollaboratorBar-BFz4LgA0.js} +4 -4
- package/dist/{ColorPicker-VPq4ASC8.js → ColorPicker-B5xXWWX5.js} +6 -6
- package/dist/{CommentsSidebar-C8BLy3Pr.js → CommentsSidebar-CGihWwn9.js} +15 -15
- package/dist/{CountdownBlock-Bs2Q_bFX.js → CountdownBlock-DuyvGcr8.js} +3 -3
- package/dist/{CountdownToolbar-Cic6cdOw.js → CountdownToolbar-DpNCZAUI.js} +4 -4
- package/dist/{DesignReferenceSidebar-k-26nkJI.js → DesignReferenceSidebar-CiIHHiil.js} +11 -11
- package/dist/{IssuesPanel-NPzwTPYW.js → IssuesPanel-CUkmAC_S.js} +8 -8
- package/dist/{LoadingTrack-DH3OEM3z.js → LoadingTrack-BexpNuTV.js} +1 -1
- package/dist/{MergeTagModeToggle-DEGyx8tw.js → MergeTagModeToggle-C6nS3qri.js} +5 -5
- package/dist/{MergeTagSuggestion-DvisJ9im.js → MergeTagSuggestion-98fAcuM-.js} +26 -24
- package/dist/{NumberWithSuffix-CuHCIwSn.js → NumberWithSuffix-DB-1GNvx.js} +2 -2
- package/dist/{ParagraphEditor-DK_IPi9H.js → ParagraphEditor-NgW-T9YV.js} +74 -80
- package/dist/{RichTextEditorContent-DznIQcdY.js → RichTextEditorContent-CN7OVR6u.js} +8 -8
- package/dist/{SaveBlockDialog-R9PbMsy-.js → SaveBlockDialog-lgcmhAsO.js} +10 -10
- package/dist/{SavedBlocksBrowserModal-ttPAklPE.js → SavedBlocksBrowserModal-3u247V2z.js} +11 -11
- package/dist/{SavedBlocksPanels-BCwQgKLF.js → SavedBlocksPanels-Dh6dABJt.js} +2 -2
- package/dist/{SavedBlocksPickBar-DD5Ddv9t.js → SavedBlocksPickBar-Bo82D3Qy.js} +4 -4
- package/dist/{SnapshotHistory-BXSTGgBh.js → SnapshotHistory-Dsb1i40w.js} +16 -16
- package/dist/{TemplateScoringPanel-Ue6Dfnjb.js → TemplateScoringPanel-Bzd_YSag.js} +15 -15
- package/dist/{TestEmailModal-KPFc5oSv.js → TestEmailModal-DvqDTOcO.js} +10 -10
- package/dist/{TestEmailPanel-b8GHTrnE.js → TestEmailPanel-BXoVnAqu.js} +2 -2
- package/dist/{TitleEditor-8ln7UBr_.js → TitleEditor-DWSi998C.js} +12 -12
- package/dist/{TplModal-D_FA3Wm3.js → TplModal-DKn0h2qe.js} +5 -5
- package/dist/{blockTypeIcons-BoZeK6l7.js → blockTypeIcons-DKlza6aR.js} +2 -2
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiChatSidebar-D6jGwb4y.js → AiChatSidebar-BY1Iy-e8.js} +15 -15
- package/dist/cdn/chunks/{AiChatSidebar-D6jGwb4y.js.map → AiChatSidebar-BY1Iy-e8.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-BtEcjxLL.js → AiFeatureMenu-BS4Rek6j.js} +8 -8
- package/dist/cdn/chunks/{AiFeatureMenu-BtEcjxLL.js.map → AiFeatureMenu-BS4Rek6j.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-dnqZk6pl.js → BlockIssueBadge-BcIQUe_Q.js} +5 -5
- package/dist/cdn/chunks/{BlockIssueBadge-dnqZk6pl.js.map → BlockIssueBadge-BcIQUe_Q.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-D8pfTFWi.js → BlockPreviewCanvas-oND1iXLL.js} +4 -4
- package/dist/cdn/chunks/{BlockPreviewCanvas-D8pfTFWi.js.map → BlockPreviewCanvas-oND1iXLL.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-BJ4-pPAl.js → CloudEditor-BaqiFbf0.js} +21 -21
- package/dist/cdn/chunks/{CloudEditor-BJ4-pPAl.js.map → CloudEditor-BaqiFbf0.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-SeUOuLeJ.js → CollaboratorBar-DF02nTwF.js} +5 -5
- package/dist/cdn/chunks/{CollaboratorBar-SeUOuLeJ.js.map → CollaboratorBar-DF02nTwF.js.map} +1 -1
- package/dist/cdn/chunks/{ColorPicker-yxvrro60.js → ColorPicker-BXH44v2H.js} +7 -7
- package/dist/cdn/chunks/{ColorPicker-yxvrro60.js.map → ColorPicker-BXH44v2H.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-FPbg-FuU.js → CommentsSidebar-B9bWvvbl.js} +19 -19
- package/dist/cdn/chunks/{CommentsSidebar-FPbg-FuU.js.map → CommentsSidebar-B9bWvvbl.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-D2Oth7YY.js → CountdownBlock-BTpRd0Hn.js} +4 -4
- package/dist/cdn/chunks/{CountdownBlock-D2Oth7YY.js.map → CountdownBlock-BTpRd0Hn.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-BNgTBQGB.js → CountdownToolbar-CW10rbWt.js} +5 -5
- package/dist/cdn/chunks/{CountdownToolbar-BNgTBQGB.js.map → CountdownToolbar-CW10rbWt.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-ChB_HBK1.js → DesignReferenceSidebar-BXjH47QC.js} +13 -13
- package/dist/cdn/chunks/{DesignReferenceSidebar-ChB_HBK1.js.map → DesignReferenceSidebar-BXjH47QC.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-CjiZ8cLW.js → IssuesPanel-DStHCHfr.js} +8 -8
- package/dist/cdn/chunks/{IssuesPanel-CjiZ8cLW.js.map → IssuesPanel-DStHCHfr.js.map} +1 -1
- package/dist/cdn/chunks/{LoadingTrack-CiNg9s16.js → LoadingTrack-DQowK3MV.js} +2 -2
- package/dist/cdn/chunks/{LoadingTrack-CiNg9s16.js.map → LoadingTrack-DQowK3MV.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-CiYbOKzd.js → MergeTagModeToggle-BCmQg4Qe.js} +15 -15
- package/dist/cdn/chunks/{MergeTagModeToggle-CiYbOKzd.js.map → MergeTagModeToggle-BCmQg4Qe.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagSuggestion-CvZLI6Np.js → MergeTagSuggestion-BgExdloL.js} +3 -3
- package/dist/cdn/chunks/{MergeTagSuggestion-CvZLI6Np.js.map → MergeTagSuggestion-BgExdloL.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-vVwCWrd_.js → NumberWithSuffix-BANVbpT0.js} +3 -3
- package/dist/cdn/chunks/{NumberWithSuffix-vVwCWrd_.js.map → NumberWithSuffix-BANVbpT0.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-o4hs9mgy.js → ParagraphEditor-DqilB4_f.js} +37 -37
- package/dist/cdn/chunks/{ParagraphEditor-o4hs9mgy.js.map → ParagraphEditor-DqilB4_f.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-BAriGldd.js → RichTextEditorContent-BeJx4LVH.js} +7 -7
- package/dist/cdn/chunks/{RichTextEditorContent-BAriGldd.js.map → RichTextEditorContent-BeJx4LVH.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-D3-oILb5.js → SaveBlockDialog-Dm31xRZy.js} +19 -19
- package/dist/cdn/chunks/{SaveBlockDialog-D3-oILb5.js.map → SaveBlockDialog-Dm31xRZy.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-jMnNd4wn.js → SavedBlocksBrowserModal-Tp37b4y7.js} +13 -13
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-jMnNd4wn.js.map → SavedBlocksBrowserModal-Tp37b4y7.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-BDd8FH6l.js → SavedBlocksPanels-ElerTTa_.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPanels-BDd8FH6l.js.map → SavedBlocksPanels-ElerTTa_.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-BNkLe8In.js → SavedBlocksPickBar-QHJ-Mjx0.js} +5 -5
- package/dist/cdn/chunks/{SavedBlocksPickBar-BNkLe8In.js.map → SavedBlocksPickBar-QHJ-Mjx0.js.map} +1 -1
- package/dist/cdn/chunks/{SnapshotHistory-CYVi7fvQ.js → SnapshotHistory-jogWGLB-.js} +9 -9
- package/dist/cdn/chunks/{SnapshotHistory-CYVi7fvQ.js.map → SnapshotHistory-jogWGLB-.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-D0KrxVnr.js → TemplateScoringPanel-B2XIOTl-.js} +17 -17
- package/dist/cdn/chunks/{TemplateScoringPanel-D0KrxVnr.js.map → TemplateScoringPanel-B2XIOTl-.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-_RbTD787.js → TestEmailModal-BcPjQygV.js} +9 -9
- package/dist/cdn/chunks/{TestEmailModal-_RbTD787.js.map → TestEmailModal-BcPjQygV.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-BAnKtbSu.js → TestEmailPanel-1zxRa00s.js} +3 -3
- package/dist/cdn/chunks/{TestEmailPanel-BAnKtbSu.js.map → TestEmailPanel-1zxRa00s.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-LiUvXGPw.js → TitleEditor-DTrmublj.js} +15 -15
- package/dist/cdn/chunks/{TitleEditor-LiUvXGPw.js.map → TitleEditor-DTrmublj.js.map} +1 -1
- package/dist/cdn/chunks/{TplModal-C1iguuZz.js → TplModal-By50gtwa.js} +5 -5
- package/dist/cdn/chunks/{TplModal-C1iguuZz.js.map → TplModal-By50gtwa.js.map} +1 -1
- package/dist/cdn/chunks/blockTypeIcons-BhFhHuFt.js +21 -0
- package/dist/cdn/chunks/{blockTypeIcons-CrPzyP_k.js.map → blockTypeIcons-BhFhHuFt.js.map} +1 -1
- package/dist/cdn/chunks/{cloud-CxNsW3hp.js → cloud-B0f7Ub8f.js} +3 -3
- package/dist/cdn/chunks/{cloud-CxNsW3hp.js.map → cloud-B0f7Ub8f.js.map} +1 -1
- package/dist/cdn/chunks/{dist-Dp46rwVY.js → dist-B4VIlp1g.js} +2 -2
- package/dist/cdn/chunks/{dist-Dp46rwVY.js.map → dist-B4VIlp1g.js.map} +1 -1
- package/dist/cdn/chunks/{dist-BLF-S9_A.js → dist-H51neg3K.js} +9 -7
- package/dist/cdn/chunks/{dist-BLF-S9_A.js.map → dist-H51neg3K.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-BRF_Q_jB.js → draggable-Z4XXmbPC.js} +113 -91
- package/dist/cdn/chunks/{draggable-BRF_Q_jB.js.map → draggable-Z4XXmbPC.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-yNQlgLNE.js → extensions-Dq0D79tq.js} +6 -6
- package/dist/cdn/chunks/{extensions-yNQlgLNE.js.map → extensions-Dq0D79tq.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-C_kRN0_C.js} +78 -84
- package/dist/cdn/chunks/icons-C_kRN0_C.js.map +1 -0
- package/dist/cdn/chunks/{keys-CZOBuCQd.js → keys-DsoX52o_.js} +2 -2
- package/dist/cdn/chunks/{keys-CZOBuCQd.js.map → keys-DsoX52o_.js.map} +1 -1
- package/dist/cdn/chunks/{liquid.browser-CZaQe87t.js → liquid.browser-DrGys_ek.js} +22 -20
- package/dist/cdn/chunks/{liquid.browser-CZaQe87t.js.map → liquid.browser-DrGys_ek.js.map} +1 -1
- 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-Aea1Vl1H.js} +2 -2
- package/dist/cdn/chunks/{src-uc_Mb_yH.js.map → src-Aea1Vl1H.js.map} +1 -1
- package/dist/cdn/chunks/{src-B2LpXMIw.js → src-CRvTVX4F.js} +102 -99
- package/dist/cdn/chunks/{src-B2LpXMIw.js.map → src-CRvTVX4F.js.map} +1 -1
- package/dist/cdn/chunks/{src-D_3bXt7-.js → src-_GNJgPcS.js} +2 -2
- package/dist/cdn/chunks/{src-D_3bXt7-.js.map → src-_GNJgPcS.js.map} +1 -1
- package/dist/cdn/chunks/{styles-BzP13r-I.js → styles-znpPfrFd.js} +78 -78
- package/dist/cdn/chunks/{styles-BzP13r-I.js.map → styles-znpPfrFd.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-CgwK_fKJ.js → tiptap-C5vzWlHv.js} +225 -183
- package/dist/cdn/chunks/tiptap-C5vzWlHv.js.map +1 -0
- package/dist/cdn/chunks/{useAliveFlag-Ctyt3GgH.js → useAliveFlag-4IDYQRNu.js} +2 -2
- package/dist/cdn/chunks/{useAliveFlag-Ctyt3GgH.js.map → useAliveFlag-4IDYQRNu.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-CML0BxqX.js → useCloudI18n-D4JpHTPk.js} +3 -3
- package/dist/cdn/chunks/{useCloudI18n-CML0BxqX.js.map → useCloudI18n-D4JpHTPk.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-CTYH6u4r.js → useEditorCore-BMXBmdd8.js} +32 -32
- package/dist/cdn/chunks/useEditorCore-BMXBmdd8.js.map +1 -0
- package/dist/cdn/chunks/{useI18n-aRMtgYRj.js → useI18n-BvcEYzrI.js} +3 -3
- package/dist/cdn/chunks/{useI18n-aRMtgYRj.js.map → useI18n-BvcEYzrI.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-8a8BnIZp.js → useMergeTag-BSdxMUzg.js} +3 -3
- package/dist/cdn/chunks/{useMergeTag-8a8BnIZp.js.map → useMergeTag-BSdxMUzg.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-Dm1jv3y5.js → usePopoverPosition-ig-71caO.js} +3 -3
- package/dist/cdn/chunks/{usePopoverPosition-Dm1jv3y5.js.map → usePopoverPosition-ig-71caO.js.map} +1 -1
- package/dist/cdn/editor.js +8 -8
- package/dist/{check-Bqimqf7l.js → check-COV27dGb.js} +1 -1
- package/dist/{chevron-down-CYOoeGBd.js → chevron-down-vsU88vcr.js} +1 -1
- package/dist/{chevron-up-DYknsfm0.js → chevron-up-RrZ0Rjn9.js} +1 -1
- package/dist/{circle-alert-6q_jgtv_.js → circle-alert-B6GlHmmi.js} +1 -1
- package/dist/{clock-CnadSSTD.js → clock-egOt8zjQ.js} +1 -1
- package/dist/{cloud-BJLg_SlM.js → cloud-D-2StbvU.js} +1 -1
- package/dist/{createLucideIcon-D7GKhya2.js → createLucideIcon-D6cqT5Pm.js} +3 -3
- package/dist/{dist-iCEDH3cC.js → dist-B56SufAv.js} +1 -1
- package/dist/{dist-CkPvZCld.js → dist-BQZkRg05.js} +1 -1
- package/dist/{dist-DDfXShPv.js → dist-BpKxrUi2.js} +1 -1
- package/dist/{dist-CcQFPJMF.js → dist-CHxPjcxA.js} +181 -145
- package/dist/{dist-BxbTVeY0.js → dist-CqV4XslQ.js} +1 -1
- package/dist/{dist-Dx71pluS.js → dist-D4GoAr2g.js} +9 -7
- package/dist/{dist-DSIgxp0v.js → dist-DHwnYYx0.js} +1 -1
- package/dist/{dist-DX4x6mQ1.js → dist-Du95Y9M3.js} +1 -1
- package/dist/{dist-B6Px6GPj.js → dist-DzzTB4eE.js} +1 -1
- package/dist/{dist-DyCHUyRR.js → dist-GUZZpDK3.js} +1 -1
- package/dist/{dist-nR6mxyqI.js → dist-MwT7T6Xp.js} +1 -1
- package/dist/{dist-C31bMR4x.js → dist-UkG5ZJ1P.js} +16 -14
- package/dist/{dist-CRH880TV.js → dist-vpuiQ7_Q.js} +1 -1
- package/dist/{extensions-CbiWtzS6.js → extensions-y6KjLr9t.js} +7 -7
- package/dist/{image-up-BfukboIn.js → image-up-CycES-MQ.js} +1 -1
- package/dist/{info-DSYRzSZo.js → info-BUdvm046.js} +1 -1
- package/dist/{keys-BI6VSUh4.js → keys-fwF3qZax.js} +1 -1
- package/dist/{liquid.browser-BECWFL5Z.js → liquid.browser-Di5zMIEx.js} +21 -19
- package/dist/{list-checks-URZOyLhr.js → list-checks-BAeuuATD.js} +1 -1
- package/dist/{loader-circle-GADaYcyQ.js → loader-circle-L5yuAx_j.js} +1 -1
- package/dist/{message-circle-B62fdo0b.js → message-circle-DRdaapVc.js} +1 -1
- package/dist/{pencil-BGwkOpD_.js → pencil-BfErVPf_.js} +1 -1
- package/dist/{refresh-cw-Z4wXfduO.js → refresh-cw-D0PYatER.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-Byi3fJcr.js} +1 -1
- package/dist/{send-BYp4k38T.js → send-DuyNexMY.js} +1 -1
- package/dist/{shield-check-Cm0RePnW.js → shield-check-BkkN_1qw.js} +1 -1
- package/dist/{sparkles-BHEE-vRD.js → sparkles-DAw2sBXk.js} +1 -1
- package/dist/{styles-B0MEBpOK.js → styles-BzwheHH_.js} +32 -32
- package/dist/templatical-editor.js +10 -10
- package/dist/{text-align-start-CHrg3vK8.js → text-align-start-Ba3xJKn6.js} +1 -1
- package/dist/{trash-2-BoNT8wbq.js → trash-2-CapEBXBI.js} +1 -1
- package/dist/{triangle-alert-CiN0ssB3.js → triangle-alert-52pdw8jI.js} +1 -1
- package/dist/{upload-WvZGBySw.js → upload-oAgigC31.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-BhjEMSeE.js} +23 -23
- package/dist/{useI18n-BkHfCWC6.js → useI18n-DoVKdCTH.js} +2 -2
- package/dist/{useMergeTag-CZ4XYAxu.js → useMergeTag-DTSOQnyr.js} +2 -2
- 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-DvBgbDuf.js} +1 -1
- package/package.json +9 -9
- package/dist/cdn/chunks/blockTypeIcons-CrPzyP_k.js +0 -21
- package/dist/cdn/chunks/icons-DN008liP.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
|
@@ -1,17 +1,36 @@
|
|
|
1
|
-
import { A as e, Dt as t, Et as n, N as r, O as i, Ot as a, W as o, Y as s, _ as c, c as l, d as u, h as d, i as f, l as p, m, nt as h, r as g, s as _, u as v, x as y } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { c as b, s as x } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import { C as S, D as C, O as w, S as T } from "./useEditorCore-
|
|
4
|
-
import { n as E, s as D } from "./usePopoverPosition-
|
|
5
|
-
import { G as O, O as k, T as A, U as ee, V as te, g as ne, v as re } from "./keys-
|
|
6
|
-
import { t as j } from "./useI18n-
|
|
7
|
-
import { t as M } from "./createLucideIcon-
|
|
8
|
-
import { a as
|
|
9
|
-
import { n as
|
|
10
|
-
import { t as
|
|
11
|
-
import { n as
|
|
12
|
-
import { t as
|
|
13
|
-
import { c as
|
|
14
|
-
var
|
|
1
|
+
import { A as e, Dt as t, Et as n, N as r, O as i, Ot as a, W as o, Y as s, _ as c, c as l, d as u, h as d, i as f, l as p, m, nt as h, r as g, s as _, u as v, x as y } from "./vue.runtime.esm-bundler-D1diBMsm.js";
|
|
2
|
+
import { c as b, s as x } from "./runtime-dom.esm-bundler-CepEmvwF.js";
|
|
3
|
+
import { C as S, D as C, O as w, S as T } from "./useEditorCore-BhjEMSeE.js";
|
|
4
|
+
import { n as E, s as D } from "./usePopoverPosition-C0dPEF4X.js";
|
|
5
|
+
import { G as O, O as k, T as A, U as ee, V as te, g as ne, v as re } from "./keys-fwF3qZax.js";
|
|
6
|
+
import { t as j } from "./useI18n-DoVKdCTH.js";
|
|
7
|
+
import { t as M } from "./createLucideIcon-D6cqT5Pm.js";
|
|
8
|
+
import { a as N, i as ie, n as P, r as ae, t as F } from "./RichTextEditorContent-CN7OVR6u.js";
|
|
9
|
+
import { n as oe, t as se } from "./scan-line-Byi3fJcr.js";
|
|
10
|
+
import { t as ce } from "./loader-circle-L5yuAx_j.js";
|
|
11
|
+
import { n as le, r as ue, t as de } from "./text-align-start-Ba3xJKn6.js";
|
|
12
|
+
import { t as I } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
+
import { c as fe, o as pe, r as me, s as he, t as L } from "./ColorPicker-B5xXWWX5.js";
|
|
14
|
+
var R = M("face-slightly-smiling", [
|
|
15
|
+
["path", {
|
|
16
|
+
d: "M15 10V9",
|
|
17
|
+
key: "4dkmfx"
|
|
18
|
+
}],
|
|
19
|
+
["path", {
|
|
20
|
+
d: "M16.472 15a6 6 0 01-8.943 0",
|
|
21
|
+
key: "7qomzy"
|
|
22
|
+
}],
|
|
23
|
+
["path", {
|
|
24
|
+
d: "M9 10V9",
|
|
25
|
+
key: "1lazqi"
|
|
26
|
+
}],
|
|
27
|
+
["circle", {
|
|
28
|
+
cx: "12",
|
|
29
|
+
cy: "12",
|
|
30
|
+
r: "10",
|
|
31
|
+
key: "1mglay"
|
|
32
|
+
}]
|
|
33
|
+
]), ge = M("list-ordered", [
|
|
15
34
|
["path", {
|
|
16
35
|
d: "M11 5h10",
|
|
17
36
|
key: "1cz7ny"
|
|
@@ -82,31 +101,6 @@ var L = M("list-ordered", [
|
|
|
82
101
|
d: "m20 15-5 5",
|
|
83
102
|
key: "11p7ol"
|
|
84
103
|
}]
|
|
85
|
-
]), R = M("smile", [
|
|
86
|
-
["circle", {
|
|
87
|
-
cx: "12",
|
|
88
|
-
cy: "12",
|
|
89
|
-
r: "10",
|
|
90
|
-
key: "1mglay"
|
|
91
|
-
}],
|
|
92
|
-
["path", {
|
|
93
|
-
d: "M8 14s1.5 2 4 2 4-2 4-2",
|
|
94
|
-
key: "1y1vjs"
|
|
95
|
-
}],
|
|
96
|
-
["line", {
|
|
97
|
-
x1: "9",
|
|
98
|
-
x2: "9.01",
|
|
99
|
-
y1: "9",
|
|
100
|
-
y2: "9",
|
|
101
|
-
key: "yxxnd0"
|
|
102
|
-
}],
|
|
103
|
-
["line", {
|
|
104
|
-
x1: "15",
|
|
105
|
-
x2: "15.01",
|
|
106
|
-
y1: "9",
|
|
107
|
-
y2: "9",
|
|
108
|
-
key: "1p4y9e"
|
|
109
|
-
}]
|
|
110
104
|
]), ye = M("strikethrough", [
|
|
111
105
|
["path", {
|
|
112
106
|
d: "M16 4H9a3 3 0 0 0-2.83 4",
|
|
@@ -256,7 +250,7 @@ var L = M("list-ordered", [
|
|
|
256
250
|
function J(e, t) {
|
|
257
251
|
return i(), u("span", q);
|
|
258
252
|
}
|
|
259
|
-
var Y = /*#__PURE__*/
|
|
253
|
+
var Y = /*#__PURE__*/ I(K, [["render", J]]), X = [
|
|
260
254
|
"value",
|
|
261
255
|
"aria-label",
|
|
262
256
|
"title"
|
|
@@ -319,13 +313,13 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
319
313
|
],
|
|
320
314
|
setup(e, { emit: n }) {
|
|
321
315
|
let r = e, o = n, s = y(te, null), c = y(ee, null), b = O(re, "ParagraphToolbar"), x = E(), S = y(k, null), C = y(A, null), w = y(ne, null), T = _(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: D } = j(), M = b.fonts;
|
|
322
|
-
function
|
|
316
|
+
function P(e) {
|
|
323
317
|
r.editor?.chain().focus().insertContent(e).run();
|
|
324
318
|
}
|
|
325
|
-
function
|
|
319
|
+
function F(e) {
|
|
326
320
|
return r.editor?.getAttributes("textStyle")[e] || "";
|
|
327
321
|
}
|
|
328
|
-
function
|
|
322
|
+
function I(e) {
|
|
329
323
|
let t = r.editor?.chain().focus();
|
|
330
324
|
e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
|
|
331
325
|
}
|
|
@@ -345,10 +339,10 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
345
339
|
}
|
|
346
340
|
function H() {
|
|
347
341
|
let e = w?.content.value.settings;
|
|
348
|
-
return z() ? Q(B(), e?.linkColor || e?.textColor) : Q(
|
|
342
|
+
return z() ? Q(B(), e?.linkColor || e?.textColor) : Q(F("color"), e?.textColor);
|
|
349
343
|
}
|
|
350
344
|
function U() {
|
|
351
|
-
return z() ? B() :
|
|
345
|
+
return z() ? B() : F("color");
|
|
352
346
|
}
|
|
353
347
|
function W() {
|
|
354
348
|
return r.editor?.getAttributes("paragraph").lineHeight || "";
|
|
@@ -385,12 +379,12 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
385
379
|
})
|
|
386
380
|
}, [!e.isLoading && e.editor ? (i(), u(g, { key: 0 }, [l("div", $, [
|
|
387
381
|
d(Z, {
|
|
388
|
-
"model-value":
|
|
382
|
+
"model-value": F("fontFamily"),
|
|
389
383
|
options: h(M),
|
|
390
384
|
label: h(D).paragraphEditor.fontFamily,
|
|
391
385
|
placeholder: h(D).paragraphEditor.defaultFont,
|
|
392
386
|
"width-class": "tpl:w-32",
|
|
393
|
-
"onUpdate:modelValue":
|
|
387
|
+
"onUpdate:modelValue": I
|
|
394
388
|
}, null, 8, [
|
|
395
389
|
"model-value",
|
|
396
390
|
"options",
|
|
@@ -398,8 +392,8 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
398
392
|
"placeholder"
|
|
399
393
|
]),
|
|
400
394
|
d(Z, {
|
|
401
|
-
"model-value":
|
|
402
|
-
options: h(
|
|
395
|
+
"model-value": F("fontSize"),
|
|
396
|
+
options: h(pe),
|
|
403
397
|
label: h(D).paragraphEditor.fontSize,
|
|
404
398
|
placeholder: h(D).paragraphEditor.defaultSize,
|
|
405
399
|
"width-class": "tpl:w-20",
|
|
@@ -411,7 +405,7 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
411
405
|
"placeholder"
|
|
412
406
|
]),
|
|
413
407
|
d(Y),
|
|
414
|
-
d(
|
|
408
|
+
d(L, {
|
|
415
409
|
"swatch-only": "",
|
|
416
410
|
size: "sm",
|
|
417
411
|
"data-testid": "text-color-picker",
|
|
@@ -424,12 +418,12 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
424
418
|
"seed-color",
|
|
425
419
|
"aria-label"
|
|
426
420
|
]),
|
|
427
|
-
d(
|
|
421
|
+
d(L, {
|
|
428
422
|
"swatch-only": "",
|
|
429
423
|
size: "sm",
|
|
430
424
|
"data-testid": "highlight-color-picker",
|
|
431
425
|
"model-value": J(),
|
|
432
|
-
"seed-color": h(
|
|
426
|
+
"seed-color": h(me),
|
|
433
427
|
"aria-label": h(D).paragraphEditor.highlightColor,
|
|
434
428
|
"onUpdate:modelValue": X
|
|
435
429
|
}, null, 8, [
|
|
@@ -439,7 +433,7 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
439
433
|
]),
|
|
440
434
|
d(Y),
|
|
441
435
|
d(G, {
|
|
442
|
-
icon: h(
|
|
436
|
+
icon: h(N),
|
|
443
437
|
label: h(D).paragraphEditor.bold,
|
|
444
438
|
active: e.editor.isActive("bold"),
|
|
445
439
|
"stroke-width": 2.5,
|
|
@@ -450,7 +444,7 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
450
444
|
"active"
|
|
451
445
|
]),
|
|
452
446
|
d(G, {
|
|
453
|
-
icon: h(
|
|
447
|
+
icon: h(ie),
|
|
454
448
|
label: h(D).paragraphEditor.italic,
|
|
455
449
|
active: e.editor.isActive("italic"),
|
|
456
450
|
onClick: r[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
|
|
@@ -502,7 +496,7 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
502
496
|
]),
|
|
503
497
|
d(Y),
|
|
504
498
|
d(G, {
|
|
505
|
-
icon: h(
|
|
499
|
+
icon: h(ae),
|
|
506
500
|
label: h(D).paragraphEditor.addLink,
|
|
507
501
|
active: e.editor.isActive("link"),
|
|
508
502
|
onClick: r[6] ||= (e) => o("open-link-dialog")
|
|
@@ -523,7 +517,7 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
523
517
|
"active"
|
|
524
518
|
]),
|
|
525
519
|
d(G, {
|
|
526
|
-
icon: h(
|
|
520
|
+
icon: h(ge),
|
|
527
521
|
label: h(D).paragraphEditor.numberedList,
|
|
528
522
|
active: e.editor.isActive("orderedList"),
|
|
529
523
|
onClick: r[8] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
|
|
@@ -534,7 +528,7 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
534
528
|
]),
|
|
535
529
|
d(Y),
|
|
536
530
|
d(G, {
|
|
537
|
-
icon: h(
|
|
531
|
+
icon: h(de),
|
|
538
532
|
label: h(D).paragraphEditor.alignLeft,
|
|
539
533
|
active: e.editor.isActive({ textAlign: "left" }),
|
|
540
534
|
onClick: r[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
|
|
@@ -544,7 +538,7 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
544
538
|
"active"
|
|
545
539
|
]),
|
|
546
540
|
d(G, {
|
|
547
|
-
icon: h(
|
|
541
|
+
icon: h(ue),
|
|
548
542
|
label: h(D).paragraphEditor.alignCenter,
|
|
549
543
|
active: e.editor.isActive({ textAlign: "center" }),
|
|
550
544
|
onClick: r[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
|
|
@@ -554,7 +548,7 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
554
548
|
"active"
|
|
555
549
|
]),
|
|
556
550
|
d(G, {
|
|
557
|
-
icon: h(
|
|
551
|
+
icon: h(le),
|
|
558
552
|
label: h(D).paragraphEditor.alignRight,
|
|
559
553
|
active: e.editor.isActive({ textAlign: "right" }),
|
|
560
554
|
onClick: r[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
|
|
@@ -576,7 +570,7 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
576
570
|
d(Y),
|
|
577
571
|
d(Z, {
|
|
578
572
|
"model-value": W(),
|
|
579
|
-
options: h(
|
|
573
|
+
options: h(fe),
|
|
580
574
|
label: h(D).paragraphEditor.lineHeight,
|
|
581
575
|
placeholder: "LH",
|
|
582
576
|
"width-class": "tpl:w-16",
|
|
@@ -587,8 +581,8 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
587
581
|
"label"
|
|
588
582
|
]),
|
|
589
583
|
d(Z, {
|
|
590
|
-
"model-value":
|
|
591
|
-
options: h(
|
|
584
|
+
"model-value": F("letterSpacing"),
|
|
585
|
+
options: h(he),
|
|
592
586
|
label: h(D).paragraphEditor.letterSpacing,
|
|
593
587
|
placeholder: "LS",
|
|
594
588
|
"width-class": "tpl:w-20",
|
|
@@ -605,14 +599,14 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
605
599
|
onClick: r[13] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
|
|
606
600
|
}, null, 8, ["icon", "label"]),
|
|
607
601
|
d(Y),
|
|
608
|
-
d(we, { onInsert:
|
|
602
|
+
d(we, { onInsert: P }),
|
|
609
603
|
e.canRequestMergeTag ? (i(), u(g, { key: 0 }, [d(Y), l("button", {
|
|
610
604
|
type: "button",
|
|
611
605
|
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)]",
|
|
612
606
|
"aria-label": h(D).mergeTag.insert,
|
|
613
607
|
title: h(D).mergeTag.insert,
|
|
614
608
|
onClick: r[14] ||= (e) => o("add-merge-tag")
|
|
615
|
-
}, [d(h(
|
|
609
|
+
}, [d(h(se), {
|
|
616
610
|
size: 16,
|
|
617
611
|
"stroke-width": 2
|
|
618
612
|
}), m(" " + a(h(D).mergeTag.insertShort), 1)], 8, ke)], 64)) : v("", !0),
|
|
@@ -623,11 +617,11 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
623
617
|
title: h(D).logicTag.insert,
|
|
624
618
|
"data-testid": "insert-logic-button",
|
|
625
619
|
onClick: r[15] ||= (e) => o("add-logic-tag")
|
|
626
|
-
}, [d(h(
|
|
620
|
+
}, [d(h(oe), {
|
|
627
621
|
size: 16,
|
|
628
622
|
"stroke-width": 2
|
|
629
623
|
}), m(" " + a(h(D).logicTag.insertShort), 1)], 8, Ae)], 64)) : v("", !0)
|
|
630
|
-
])], 64)) : (i(), u("div", je, [d(h(
|
|
624
|
+
])], 64)) : (i(), u("div", je, [d(h(ce), {
|
|
631
625
|
class: "tpl-spinner",
|
|
632
626
|
size: 14,
|
|
633
627
|
"stroke-width": 2
|
|
@@ -648,18 +642,18 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
648
642
|
editorName: "ParagraphEditor",
|
|
649
643
|
async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
|
|
650
644
|
let [{ Editor: o, 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: C, LetterSpacing: w }] = await Promise.all([
|
|
651
|
-
import("./dist-
|
|
652
|
-
import("./dist-
|
|
653
|
-
import("./dist-
|
|
654
|
-
import("./dist-
|
|
655
|
-
import("./dist-
|
|
656
|
-
import("./dist-
|
|
657
|
-
import("./dist-
|
|
658
|
-
import("./dist-
|
|
659
|
-
import("./dist-
|
|
660
|
-
import("./dist-
|
|
661
|
-
import("./dist-
|
|
662
|
-
import("./extensions-
|
|
645
|
+
import("./dist-UkG5ZJ1P.js").then((e) => e.r),
|
|
646
|
+
import("./dist-D4GoAr2g.js"),
|
|
647
|
+
import("./dist-Du95Y9M3.js"),
|
|
648
|
+
import("./dist-GUZZpDK3.js"),
|
|
649
|
+
import("./dist-DHwnYYx0.js"),
|
|
650
|
+
import("./dist-MwT7T6Xp.js"),
|
|
651
|
+
import("./dist-vpuiQ7_Q.js"),
|
|
652
|
+
import("./dist-CqV4XslQ.js"),
|
|
653
|
+
import("./dist-B56SufAv.js"),
|
|
654
|
+
import("./dist-BQZkRg05.js"),
|
|
655
|
+
import("./dist-DzzTB4eE.js"),
|
|
656
|
+
import("./extensions-y6KjLr9t.js")
|
|
663
657
|
]);
|
|
664
658
|
return {
|
|
665
659
|
TiptapEditor: o,
|
|
@@ -726,7 +720,7 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
726
720
|
"onAddMergeTag",
|
|
727
721
|
"onAddLogicTag"
|
|
728
722
|
]),
|
|
729
|
-
d(
|
|
723
|
+
d(F, {
|
|
730
724
|
editor: h(s),
|
|
731
725
|
"editor-content": h(c),
|
|
732
726
|
"is-loading": h(l),
|
|
@@ -739,7 +733,7 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
739
733
|
"init-error",
|
|
740
734
|
"onRetry"
|
|
741
735
|
]),
|
|
742
|
-
d(
|
|
736
|
+
d(P, {
|
|
743
737
|
visible: h(m),
|
|
744
738
|
"is-editing-link": h(s)?.isActive("link") ?? !1,
|
|
745
739
|
"dialog-ref": h(v),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { C as e, Dt as t, N as n, O as r, Ot as i, P as a, _ as o, c as s, d as c, h as l, i as u, l as d, m as f, nt as p, s as m, u as h, x as g, z as _ } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { a as v, c as y } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import { n as b } from "./usePopoverPosition-
|
|
4
|
-
import { U as x, V as S, g as C } from "./keys-
|
|
5
|
-
import { t as w } from "./useI18n-
|
|
6
|
-
import { t as T } from "./createLucideIcon-
|
|
7
|
-
import { t as E } from "./x-
|
|
8
|
-
import { t as D } from "./ColorPicker-
|
|
1
|
+
import { C as e, Dt as t, N as n, O as r, Ot as i, P as a, _ as o, c as s, d as c, h as l, i as u, l as d, m as f, nt as p, s as m, u as h, x as g, z as _ } from "./vue.runtime.esm-bundler-D1diBMsm.js";
|
|
2
|
+
import { a as v, c as y } from "./runtime-dom.esm-bundler-CepEmvwF.js";
|
|
3
|
+
import { n as b } from "./usePopoverPosition-C0dPEF4X.js";
|
|
4
|
+
import { U as x, V as S, g as C } from "./keys-fwF3qZax.js";
|
|
5
|
+
import { t as w } from "./useI18n-DoVKdCTH.js";
|
|
6
|
+
import { t as T } from "./createLucideIcon-D6cqT5Pm.js";
|
|
7
|
+
import { t as E } from "./x-DvBgbDuf.js";
|
|
8
|
+
import { t as D } from "./ColorPicker-B5xXWWX5.js";
|
|
9
9
|
var O = T("bold", [["path", {
|
|
10
10
|
d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",
|
|
11
11
|
key: "mg9rjx"
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { A as e, Dt as t, E as n, Et as r, I as i, N as a, O as o, Ot as s, R as c, T as l, Y as u, _ as d, c as f, d as p, h as m, l as h, m as g, nt as _, r as v, s as y, u as b, x, z as S } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { a as C, c as w, s as T } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import { H as E, P as D, c as O } from "./useEditorCore-
|
|
4
|
-
import { G as k, R as A, g as j, p as M } from "./keys-
|
|
5
|
-
import { t as ee } from "./useI18n-
|
|
6
|
-
import { t as te } from "./chevron-down-
|
|
7
|
-
import { t as N } from "./chevron-up-
|
|
8
|
-
import { t as P } from "./loader-circle-
|
|
1
|
+
import { A as e, Dt as t, E as n, Et as r, I as i, N as a, O as o, Ot as s, R as c, T as l, Y as u, _ as d, c as f, d as p, h as m, l as h, m as g, nt as _, r as v, s as y, u as b, x, z as S } from "./vue.runtime.esm-bundler-D1diBMsm.js";
|
|
2
|
+
import { a as C, c as w, s as T } from "./runtime-dom.esm-bundler-CepEmvwF.js";
|
|
3
|
+
import { H as E, P as D, c as O } from "./useEditorCore-BhjEMSeE.js";
|
|
4
|
+
import { G as k, R as A, g as j, p as M } from "./keys-fwF3qZax.js";
|
|
5
|
+
import { t as ee } from "./useI18n-DoVKdCTH.js";
|
|
6
|
+
import { t as te } from "./chevron-down-vsU88vcr.js";
|
|
7
|
+
import { t as N } from "./chevron-up-RrZ0Rjn9.js";
|
|
8
|
+
import { t as P } from "./loader-circle-L5yuAx_j.js";
|
|
9
9
|
import { n as F } from "./emailFrameWidth-BmFCN2dp.js";
|
|
10
|
-
import { t as I } from "./TplModal-
|
|
11
|
-
import { t as L } from "./BlockPreviewCanvas-
|
|
10
|
+
import { t as I } from "./TplModal-DKn0h2qe.js";
|
|
11
|
+
import { t as L } from "./BlockPreviewCanvas-CnJIM5TO.js";
|
|
12
12
|
//#region src/components/SavedBlockPreviewRow.vue?vue&type=script&setup=true&lang.ts
|
|
13
13
|
var R = ["data-block-id"], z = ["aria-label", "title"], B = { class: "tpl:relative tpl:min-w-0 tpl:flex-1" }, V = {
|
|
14
14
|
key: 0,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { A as e, Dt as t, Et as n, I as r, N as i, O as a, Ot as o, R as ee, Y as s, _ as c, c as l, d as u, g as te, h as d, l as f, nt as p, r as m, s as h, u as g, w as ne, z as _ } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { a as v, c as y, i as b, s as x } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import "./useEditorCore-
|
|
4
|
-
import { G as S, R as re, g as ie } from "./keys-
|
|
5
|
-
import { t as ae } from "./useI18n-
|
|
6
|
-
import { n as oe, r as C, t as w } from "./blockTypeIcons-
|
|
7
|
-
import { t as se } from "./pencil-
|
|
8
|
-
import { t as ce } from "./trash-2-
|
|
9
|
-
import { t as le } from "./x-
|
|
10
|
-
import { t as ue } from "./TplModal-
|
|
1
|
+
import { A as e, Dt as t, Et as n, I as r, N as i, O as a, Ot as o, R as ee, Y as s, _ as c, c as l, d as u, g as te, h as d, l as f, nt as p, r as m, s as h, u as g, w as ne, z as _ } from "./vue.runtime.esm-bundler-D1diBMsm.js";
|
|
2
|
+
import { a as v, c as y, i as b, s as x } from "./runtime-dom.esm-bundler-CepEmvwF.js";
|
|
3
|
+
import "./useEditorCore-BhjEMSeE.js";
|
|
4
|
+
import { G as S, R as re, g as ie } from "./keys-fwF3qZax.js";
|
|
5
|
+
import { t as ae } from "./useI18n-DoVKdCTH.js";
|
|
6
|
+
import { n as oe, r as C, t as w } from "./blockTypeIcons-DKlza6aR.js";
|
|
7
|
+
import { t as se } from "./pencil-BfErVPf_.js";
|
|
8
|
+
import { t as ce } from "./trash-2-CapEBXBI.js";
|
|
9
|
+
import { t as le } from "./x-DvBgbDuf.js";
|
|
10
|
+
import { t as ue } from "./TplModal-DKn0h2qe.js";
|
|
11
11
|
import { t as de } from "./formatRelativeTime-CtUU-QZ8.js";
|
|
12
12
|
//#region src/components/SavedBlocksBrowserModal.vue?vue&type=script&setup=true&lang.ts
|
|
13
13
|
var fe = {
|
|
@@ -65,7 +65,7 @@ var fe = {
|
|
|
65
65
|
props: { visible: { type: Boolean } },
|
|
66
66
|
emits: ["close", "insert"],
|
|
67
67
|
setup(c, { emit: A }) {
|
|
68
|
-
let et = c, j = A, tt = te(() => import("./BlockPreviewCanvas-
|
|
68
|
+
let et = c, j = A, tt = te(() => import("./BlockPreviewCanvas-CnJIM5TO.js").then((e) => e.n)), { t: M, format: N } = ae(), P = S(re, "SavedBlocksBrowserModal"), F = S(ie, "SavedBlocksBrowserModal"), I = s(""), L = s(""), R = s(null), z = s(null), B = s(null), V = s(""), H = s(""), U = s(null), W = s("end"), G = h(() => {
|
|
69
69
|
let e = I.value.trim().toLowerCase(), t = L.value;
|
|
70
70
|
return P.savedBlocks.value.filter((n) => !(e && !n.name.toLowerCase().includes(e) || t && n.category !== t));
|
|
71
71
|
}), K = h(() => P.isLoading.value && P.savedBlocks.value.length === 0), nt = h(() => I.value.trim().length > 0 || L.value !== ""), q = h(() => R.value ? P.savedBlocks.value.find((e) => e.id === R.value) ?? null : null), rt = h(() => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { O as e, _ as t, d as n, g as r, l as i, nt as a, r as o, u as s } from "./vue.runtime.esm-bundler-
|
|
1
|
+
import { O as e, _ as t, d as n, g as r, l as i, nt as a, r as o, u as s } from "./vue.runtime.esm-bundler-D1diBMsm.js";
|
|
2
2
|
//#endregion
|
|
3
3
|
//#region src/components/SavedBlocksPanels.vue
|
|
4
4
|
var c = /* @__PURE__ */ t({
|
|
5
5
|
__name: "SavedBlocksPanels",
|
|
6
6
|
props: { feature: {} },
|
|
7
7
|
setup(t) {
|
|
8
|
-
let c = t, l = r(() => import("./SavedBlocksPickBar-
|
|
8
|
+
let c = t, l = r(() => import("./SavedBlocksPickBar-Bo82D3Qy.js")), u = r(() => import("./SaveBlockDialog-lgcmhAsO.js")), d = r(() => import("./SavedBlocksBrowserModal-3u247V2z.js"));
|
|
9
9
|
function f(e, t) {
|
|
10
10
|
c.feature.insert(e, t);
|
|
11
11
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { O as e, Ot as t, _ as n, c as r, d as i, h as a, m as o, nt as s } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { R as c } from "./useEditorCore-
|
|
3
|
-
import { t as l } from "./useI18n-
|
|
4
|
-
import { t as u } from "./x-
|
|
1
|
+
import { O as e, Ot as t, _ as n, c as r, d as i, h as a, m as o, nt as s } from "./vue.runtime.esm-bundler-D1diBMsm.js";
|
|
2
|
+
import { R as c } from "./useEditorCore-BhjEMSeE.js";
|
|
3
|
+
import { t as l } from "./useI18n-DoVKdCTH.js";
|
|
4
|
+
import { t as u } from "./x-DvBgbDuf.js";
|
|
5
5
|
//#region src/components/SavedBlocksPickBar.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var d = {
|
|
7
7
|
"data-testid": "saved-blocks-pick-bar",
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { A as e, Et as t, I as n, O as r, Ot as i, R as a, Y as o, _ as s, c, d as l, h as u, nt as d, r as f, s as p, u as m } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { c as h, t as g } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import "./useEditorCore-
|
|
4
|
-
import { s as _ } from "./usePopoverPosition-
|
|
5
|
-
import { t as v } from "./useI18n-
|
|
6
|
-
import { t as y } from "./createLucideIcon-
|
|
7
|
-
import { t as b } from "./chevron-down-
|
|
8
|
-
import { t as x } from "./clock-
|
|
9
|
-
import { t as S } from "./loader-circle-
|
|
10
|
-
import { n as C } from "./useCloudI18n-
|
|
1
|
+
import { A as e, Et as t, I as n, O as r, Ot as i, R as a, Y as o, _ as s, c, d as l, h as u, nt as d, r as f, s as p, u as m } from "./vue.runtime.esm-bundler-D1diBMsm.js";
|
|
2
|
+
import { c as h, t as g } from "./runtime-dom.esm-bundler-CepEmvwF.js";
|
|
3
|
+
import "./useEditorCore-BhjEMSeE.js";
|
|
4
|
+
import { s as _ } from "./usePopoverPosition-C0dPEF4X.js";
|
|
5
|
+
import { t as v } from "./useI18n-DoVKdCTH.js";
|
|
6
|
+
import { t as y } from "./createLucideIcon-D6cqT5Pm.js";
|
|
7
|
+
import { t as b } from "./chevron-down-vsU88vcr.js";
|
|
8
|
+
import { t as x } from "./clock-egOt8zjQ.js";
|
|
9
|
+
import { t as S } from "./loader-circle-L5yuAx_j.js";
|
|
10
|
+
import { n as C } from "./useCloudI18n-DKVm6PCa.js";
|
|
11
11
|
import { t as w } from "./formatRelativeTime-CtUU-QZ8.js";
|
|
12
|
-
var T = y("chevron-
|
|
13
|
-
d: "m15 18-6-6 6-6",
|
|
14
|
-
key: "1wnfg3"
|
|
15
|
-
}]]), E = y("chevron-right", [["path", {
|
|
12
|
+
var T = y("chevron-right", [["path", {
|
|
16
13
|
d: "m9 18 6-6-6-6",
|
|
17
14
|
key: "mthhwq"
|
|
15
|
+
}]]), E = y("chevron-left", [["path", {
|
|
16
|
+
d: "m15 18-6-6 6-6",
|
|
17
|
+
key: "1wnfg3"
|
|
18
18
|
}]]), D = ["disabled", "title"], O = ["title"], k = {
|
|
19
19
|
key: 0,
|
|
20
20
|
class: "tpl-scale-in tpl:absolute tpl:top-full tpl:left-1/2 tpl:z-50 tpl:mt-2 tpl:w-72 tpl:-translate-x-1/2 tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:bg-[var(--tpl-bg-elevated)] tpl:border tpl:border-[var(--tpl-border)] tpl:shadow-[var(--tpl-shadow-lg)]",
|
|
@@ -82,7 +82,7 @@ var T = y("chevron-left", [["path", {
|
|
|
82
82
|
disabled: !q.value,
|
|
83
83
|
title: d(H).snapshotHistory.olderSnapshot,
|
|
84
84
|
onClick: h(Y, ["stop"])
|
|
85
|
-
}, [u(d(
|
|
85
|
+
}, [u(d(E), {
|
|
86
86
|
size: 14,
|
|
87
87
|
"stroke-width": 2
|
|
88
88
|
})], 8, D),
|
|
@@ -117,7 +117,7 @@ var T = y("chevron-left", [["path", {
|
|
|
117
117
|
disabled: !K.value,
|
|
118
118
|
title: d(H).snapshotHistory.newerSnapshot,
|
|
119
119
|
onClick: h(J, ["stop"])
|
|
120
|
-
}, [u(d(
|
|
120
|
+
}, [u(d(T), {
|
|
121
121
|
size: 14,
|
|
122
122
|
"stroke-width": 2
|
|
123
123
|
})], 8, R)
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { A as e, Dt as t, Et as n, I as r, N as i, O as a, Ot as o, R as ee, Y as s, _ as c, c as l, d as u, h as d, l as f, m as p, nt as m, r as h, u as g, x as te } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { t as ne } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import { E as re, G as _, g as ie, z as v } from "./keys-
|
|
4
|
-
import { t as y } from "./createLucideIcon-
|
|
5
|
-
import { t as b } from "./chevron-down-
|
|
6
|
-
import { t as x } from "./circle-alert-
|
|
7
|
-
import { n as S, t as C } from "./refresh-cw-
|
|
8
|
-
import { t as ae } from "./info-
|
|
9
|
-
import { t as w } from "./loader-circle-
|
|
10
|
-
import { t as T } from "./shield-check-
|
|
11
|
-
import { t as E } from "./sparkles-
|
|
12
|
-
import { t as oe } from "./triangle-alert-
|
|
13
|
-
import { t as se } from "./x-
|
|
14
|
-
import { t as ce } from "./LoadingTrack-
|
|
1
|
+
import { A as e, Dt as t, Et as n, I as r, N as i, O as a, Ot as o, R as ee, Y as s, _ as c, c as l, d as u, h as d, l as f, m as p, nt as m, r as h, u as g, x as te } from "./vue.runtime.esm-bundler-D1diBMsm.js";
|
|
2
|
+
import { t as ne } from "./runtime-dom.esm-bundler-CepEmvwF.js";
|
|
3
|
+
import { E as re, G as _, g as ie, z as v } from "./keys-fwF3qZax.js";
|
|
4
|
+
import { t as y } from "./createLucideIcon-D6cqT5Pm.js";
|
|
5
|
+
import { t as b } from "./chevron-down-vsU88vcr.js";
|
|
6
|
+
import { t as x } from "./circle-alert-B6GlHmmi.js";
|
|
7
|
+
import { n as S, t as C } from "./refresh-cw-D0PYatER.js";
|
|
8
|
+
import { t as ae } from "./info-BUdvm046.js";
|
|
9
|
+
import { t as w } from "./loader-circle-L5yuAx_j.js";
|
|
10
|
+
import { t as T } from "./shield-check-BkkN_1qw.js";
|
|
11
|
+
import { t as E } from "./sparkles-DAw2sBXk.js";
|
|
12
|
+
import { t as oe } from "./triangle-alert-52pdw8jI.js";
|
|
13
|
+
import { t as se } from "./x-DvBgbDuf.js";
|
|
14
|
+
import { t as ce } from "./LoadingTrack-BexpNuTV.js";
|
|
15
15
|
import { t as D } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
16
|
-
import { n as le } from "./useCloudI18n-
|
|
16
|
+
import { n as le } from "./useCloudI18n-DKVm6PCa.js";
|
|
17
17
|
var O = y("shield-x", [
|
|
18
18
|
["path", {
|
|
19
19
|
d: "M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { A as e, Et as t, I as n, O as r, Ot as i, R as a, Y as o, _ as s, c, d as l, h as u, l as d, m as f, nt as p, r as m, s as h, u as g, x as _, z as v } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { a as ee, i as te } from "./runtime-dom.esm-bundler-
|
|
1
|
+
import { A as e, Et as t, I as n, O as r, Ot as i, R as a, Y as o, _ as s, c, d as l, h as u, l as d, m as f, nt as p, r as m, s as h, u as g, x as _, z as v } from "./vue.runtime.esm-bundler-D1diBMsm.js";
|
|
2
|
+
import { a as ee, i as te } from "./runtime-dom.esm-bundler-CepEmvwF.js";
|
|
3
3
|
import { j as ne } from "./dist-CQ0fVBQ3.js";
|
|
4
|
-
import { W as re } from "./useEditorCore-
|
|
5
|
-
import { E as ie, L as ae, g as oe, k as se } from "./keys-
|
|
6
|
-
import { t as ce } from "./useI18n-
|
|
7
|
-
import { t as le } from "./check-
|
|
8
|
-
import { t as ue } from "./loader-circle-
|
|
9
|
-
import { n as de, t as fe } from "./MergeTagModeToggle-
|
|
10
|
-
import { t as pe } from "./TplModal-
|
|
11
|
-
import { t as me } from "./BlockPreviewCanvas-
|
|
4
|
+
import { W as re } from "./useEditorCore-BhjEMSeE.js";
|
|
5
|
+
import { E as ie, L as ae, g as oe, k as se } from "./keys-fwF3qZax.js";
|
|
6
|
+
import { t as ce } from "./useI18n-DoVKdCTH.js";
|
|
7
|
+
import { t as le } from "./check-COV27dGb.js";
|
|
8
|
+
import { t as ue } from "./loader-circle-L5yuAx_j.js";
|
|
9
|
+
import { n as de, t as fe } from "./MergeTagModeToggle-C6nS3qri.js";
|
|
10
|
+
import { t as pe } from "./TplModal-DKn0h2qe.js";
|
|
11
|
+
import { t as me } from "./BlockPreviewCanvas-CnJIM5TO.js";
|
|
12
12
|
//#region src/utils/validateEmailShape.ts
|
|
13
13
|
var y = /[,;<>()[\]\\"'`|/?#@!$%^&*+=~{}]/;
|
|
14
14
|
function he(e) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { O as e, _ as t, g as n, l as r, nt as i, u as a } from "./vue.runtime.esm-bundler-
|
|
1
|
+
import { O as e, _ as t, g as n, l as r, nt as i, u as a } from "./vue.runtime.esm-bundler-D1diBMsm.js";
|
|
2
2
|
//#endregion
|
|
3
3
|
//#region src/components/TestEmailPanel.vue
|
|
4
4
|
var o = /* @__PURE__ */ t({
|
|
5
5
|
__name: "TestEmailPanel",
|
|
6
6
|
props: { feature: {} },
|
|
7
7
|
setup(t) {
|
|
8
|
-
let o = t, s = n(() => import("./TestEmailModal-
|
|
8
|
+
let o = t, s = n(() => import("./TestEmailModal-DvqDTOcO.js"));
|
|
9
9
|
function c(e) {
|
|
10
10
|
o.feature.send(e);
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Dt as e, Et as t, O as n, Ot as r, W as i, _ as a, c as o, d as s, h as c, i as l, l as u, m as d, nt as f, r as p, s as m, u as h, x as g } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { C as ee, S as te } from "./useEditorCore-
|
|
3
|
-
import { n as ne } from "./usePopoverPosition-
|
|
4
|
-
import { O as _, T as v, U as y, V as b } from "./keys-
|
|
5
|
-
import { t as re } from "./useI18n-
|
|
6
|
-
import { a as ie, i as ae, n as oe, r as se, t as ce } from "./RichTextEditorContent-
|
|
7
|
-
import { n as x, t as S } from "./scan-line-
|
|
8
|
-
import { t as C } from "./loader-circle-
|
|
1
|
+
import { Dt as e, Et as t, O as n, Ot as r, W as i, _ as a, c as o, d as s, h as c, i as l, l as u, m as d, nt as f, r as p, s as m, u as h, x as g } from "./vue.runtime.esm-bundler-D1diBMsm.js";
|
|
2
|
+
import { C as ee, S as te } from "./useEditorCore-BhjEMSeE.js";
|
|
3
|
+
import { n as ne } from "./usePopoverPosition-C0dPEF4X.js";
|
|
4
|
+
import { O as _, T as v, U as y, V as b } from "./keys-fwF3qZax.js";
|
|
5
|
+
import { t as re } from "./useI18n-DoVKdCTH.js";
|
|
6
|
+
import { a as ie, i as ae, n as oe, r as se, t as ce } from "./RichTextEditorContent-CN7OVR6u.js";
|
|
7
|
+
import { n as x, t as S } from "./scan-line-Byi3fJcr.js";
|
|
8
|
+
import { t as C } from "./loader-circle-L5yuAx_j.js";
|
|
9
9
|
//#region src/components/blocks/TitleEditor.vue?vue&type=script&setup=true&lang.ts
|
|
10
10
|
var w = { class: "tpl-text-editor-wrapper tpl:relative" }, T = ["data-tpl-theme", "aria-label"], E = ["aria-label", "title"], D = ["aria-label", "title"], O = ["aria-label", "title"], k = {
|
|
11
11
|
key: 0,
|
|
@@ -31,10 +31,10 @@ var w = { class: "tpl-text-editor-wrapper tpl:relative" }, T = ["data-tpl-theme"
|
|
|
31
31
|
editorName: "TitleEditor",
|
|
32
32
|
async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
|
|
33
33
|
let [{ Editor: a, EditorContent: o }, { default: s }, { default: c }, { MergeTagNode: l, MergeTagSuggestion: u, LogicMergeTagNode: d }] = await Promise.all([
|
|
34
|
-
import("./dist-
|
|
35
|
-
import("./dist-
|
|
36
|
-
import("./dist-
|
|
37
|
-
import("./extensions-
|
|
34
|
+
import("./dist-UkG5ZJ1P.js").then((e) => e.r),
|
|
35
|
+
import("./dist-D4GoAr2g.js"),
|
|
36
|
+
import("./dist-Du95Y9M3.js"),
|
|
37
|
+
import("./extensions-y6KjLr9t.js")
|
|
38
38
|
]);
|
|
39
39
|
return {
|
|
40
40
|
TiptapEditor: a,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Dt as e, O as t, R as n, Y as r, _ as i, c as a, d as o, h as s, i as c, j as l, l as u, nt as d, s as f, u as p, x as m } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { c as h, t as g } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import { O as _ } from "./useEditorCore-
|
|
4
|
-
import { n as v } from "./usePopoverPosition-
|
|
5
|
-
import { U as y, V as b } from "./keys-
|
|
1
|
+
import { Dt as e, O as t, R as n, Y as r, _ as i, c as a, d as o, h as s, i as c, j as l, l as u, nt as d, s as f, u as p, x as m } from "./vue.runtime.esm-bundler-D1diBMsm.js";
|
|
2
|
+
import { c as h, t as g } from "./runtime-dom.esm-bundler-CepEmvwF.js";
|
|
3
|
+
import { O as _ } from "./useEditorCore-BhjEMSeE.js";
|
|
4
|
+
import { n as v } from "./usePopoverPosition-C0dPEF4X.js";
|
|
5
|
+
import { U as y, V as b } from "./keys-fwF3qZax.js";
|
|
6
6
|
//#region src/components/TplModal.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var x = ["data-tpl-theme"], S = /* @__PURE__ */ i({
|
|
8
8
|
__name: "TplModal",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as e, L as t, M as n, N as r, j as i } from "./useEditorCore-
|
|
2
|
-
import { t as a } from "./createLucideIcon-
|
|
1
|
+
import { A as e, L as t, M as n, N as r, j as i } from "./useEditorCore-BhjEMSeE.js";
|
|
2
|
+
import { t as a } from "./createLucideIcon-D6cqT5Pm.js";
|
|
3
3
|
var o = a("columns-3", [
|
|
4
4
|
["rect", {
|
|
5
5
|
width: "18",
|