@templatical/editor 0.28.1 → 0.29.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-mZyf81xG.js → AiChatSidebar-KeS30iRG.js} +7 -7
- package/dist/{AiFeatureMenu-wpL2vbbd.js → AiFeatureMenu-CCdTgCy7.js} +4 -4
- package/dist/{BlockIssueBadge-CavnyR3o.js → BlockIssueBadge-DQ6jBV1T.js} +2 -2
- package/dist/{BlockPreviewCanvas-C4M7JT4x.js → BlockPreviewCanvas-MgXVXOG_.js} +1 -1
- package/dist/{CloudHeaderExtras-fH0cB-Ru.js → CloudHeaderExtras-L_b51XVJ.js} +2 -2
- package/dist/{CloudPanels-Davlnzfd.js → CloudPanels-XUtScYFl.js} +3 -3
- package/dist/{CollaboratorBar-BvQZriPA.js → CollaboratorBar-Cx5klY7H.js} +2 -2
- package/dist/{ColorPicker-OLSFZBBZ.js → ColorPicker-DjfecH79.js} +1 -1
- package/dist/{CommentsPanel-B4_63eIS.js → CommentsPanel-5QxgkKF-.js} +1 -1
- package/dist/{CommentsSidebar-BkBHMXez.js → CommentsSidebar-CScszOsC.js} +10 -10
- package/dist/{CountdownToolbar-D8FsDIfa.js → CountdownToolbar-CiBrLbq0.js} +1 -1
- package/dist/{DesignReferenceSidebar-Dp44REBY.js → DesignReferenceSidebar-B1__DJJI.js} +5 -5
- package/dist/{IssuesPanel-C1v3dmoB.js → IssuesPanel-CkuV9Fjp.js} +5 -5
- package/dist/{MergeTagModeToggle-CZN0Pr1o.js → MergeTagModeToggle-oX-n91fH.js} +2 -2
- package/dist/{MergeTagSuggestion-a7Tk8tBB.js → MergeTagSuggestion-BUozNVtA.js} +55 -39
- package/dist/{ParagraphEditor-CGxsm0Mx.js → ParagraphEditor-BVlMj-YW.js} +19 -19
- package/dist/{RestoreVersionDialog-BLW8wC1J.js → RestoreVersionDialog-CZRLWoqP.js} +3 -3
- package/dist/{RichTextEditorContent-COBy_Q9j.js → RichTextEditorContent-BN6RBSZG.js} +3 -3
- package/dist/{SaveBlockDialog-KWQaS1_q.js → SaveBlockDialog-KNQVLcUG.js} +6 -6
- package/dist/{SavedBlocksBrowserModal-Cg8yP_EN.js → SavedBlocksBrowserModal-D7qatvfw.js} +7 -7
- package/dist/{SavedBlocksPanels-bept0JjA.js → SavedBlocksPanels-bizAFdNK.js} +1 -1
- package/dist/{SavedBlocksPickBar-Z-YRd488.js → SavedBlocksPickBar-BXUSoa38.js} +2 -2
- package/dist/{TemplateScoringPanel-5zp1qOSl.js → TemplateScoringPanel-Dm83xt9R.js} +10 -10
- package/dist/{TestEmailModal-DtJabfkS.js → TestEmailModal-DAdO9Gmo.js} +6 -6
- package/dist/{TestEmailPanel-CtFxt5q7.js → TestEmailPanel-DORs6xk0.js} +1 -1
- package/dist/{TitleEditor-BfWPus_C.js → TitleEditor-B_aWxZER.js} +8 -8
- package/dist/{TplModal-DBlMd7h9.js → TplModal-7623HR5x.js} +1 -1
- package/dist/{VersionHistoryMenu-Cg4UKxKc.js → VersionHistoryMenu-D7lgozpw.js} +4 -4
- package/dist/{VersionHistoryPanels-BKjbNEOM.js → VersionHistoryPanels-Dor0p1Ur.js} +1 -1
- package/dist/{VersionPreviewBanner-B0thyJ8F.js → VersionPreviewBanner-CQt2il1L.js} +1 -1
- package/dist/{blockTypeIcons-CQMkcHo9.js → blockTypeIcons-Di4AsjQx.js} +2 -2
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiChatSidebar-BQATQ3Tr.js → AiChatSidebar-Cwr9eqTh.js} +2 -2
- package/dist/cdn/chunks/{AiChatSidebar-BQATQ3Tr.js.map → AiChatSidebar-Cwr9eqTh.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-cNoZ0xl_.js → AiFeatureMenu-CT2QiHmi.js} +3 -3
- package/dist/cdn/chunks/{AiFeatureMenu-cNoZ0xl_.js.map → AiFeatureMenu-CT2QiHmi.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-CH_3vFw4.js → BlockIssueBadge-CXlXn9Sm.js} +2 -2
- package/dist/cdn/chunks/{BlockIssueBadge-CH_3vFw4.js.map → BlockIssueBadge-CXlXn9Sm.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-BXVC8-Zj.js → BlockPreviewCanvas-BisO3JEy.js} +2 -2
- package/dist/cdn/chunks/{BlockPreviewCanvas-BXVC8-Zj.js.map → BlockPreviewCanvas-BisO3JEy.js.map} +1 -1
- package/dist/cdn/chunks/{CloudHeaderExtras-CUAM2ADe.js → CloudHeaderExtras-MRCYqip8.js} +3 -3
- package/dist/cdn/chunks/{CloudHeaderExtras-CUAM2ADe.js.map → CloudHeaderExtras-MRCYqip8.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-DMnnSIkX.js → CloudPanels-Bb9qSwKJ.js} +4 -4
- package/dist/cdn/chunks/{CloudPanels-DMnnSIkX.js.map → CloudPanels-Bb9qSwKJ.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-C6sorNRi.js → CollaboratorBar-CG13kDHu.js} +3 -3
- package/dist/cdn/chunks/{CollaboratorBar-C6sorNRi.js.map → CollaboratorBar-CG13kDHu.js.map} +1 -1
- package/dist/cdn/chunks/{ColorPicker-q1V7ggWI.js → ColorPicker-UpN24AsB.js} +2 -2
- package/dist/cdn/chunks/{ColorPicker-q1V7ggWI.js.map → ColorPicker-UpN24AsB.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-ExfxJZM3.js → CommentsPanel-CIcIXzOB.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-ExfxJZM3.js.map → CommentsPanel-CIcIXzOB.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-CzALURMJ.js → CommentsSidebar-CB5Z8xNz.js} +2 -2
- package/dist/cdn/chunks/{CommentsSidebar-CzALURMJ.js.map → CommentsSidebar-CB5Z8xNz.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-CkbWSrAH.js → CountdownToolbar-B1L0IK1T.js} +2 -2
- package/dist/cdn/chunks/{CountdownToolbar-CkbWSrAH.js.map → CountdownToolbar-B1L0IK1T.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-COh0Rx_A.js → DesignReferenceSidebar-BwsfOFsc.js} +2 -2
- package/dist/cdn/chunks/{DesignReferenceSidebar-COh0Rx_A.js.map → DesignReferenceSidebar-BwsfOFsc.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-C1NG0xRI.js → IssuesPanel-3nTCyKgK.js} +2 -2
- package/dist/cdn/chunks/{IssuesPanel-C1NG0xRI.js.map → IssuesPanel-3nTCyKgK.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-B1yXCp3D.js → MergeTagModeToggle-BUNsRKs6.js} +2 -2
- package/dist/cdn/chunks/{MergeTagModeToggle-B1yXCp3D.js.map → MergeTagModeToggle-BUNsRKs6.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagSuggestion-DqYR3jPA.js → MergeTagSuggestion-Dt6I8bZi.js} +2 -2
- package/dist/cdn/chunks/{MergeTagSuggestion-DqYR3jPA.js.map → MergeTagSuggestion-Dt6I8bZi.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-DPM1hUKo.js → ParagraphEditor-BtzkHfv2.js} +17 -17
- package/dist/cdn/chunks/{ParagraphEditor-DPM1hUKo.js.map → ParagraphEditor-BtzkHfv2.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-Dz0bX5ZZ.js → RestoreVersionDialog-DNoo-EBT.js} +3 -3
- package/dist/cdn/chunks/{RestoreVersionDialog-Dz0bX5ZZ.js.map → RestoreVersionDialog-DNoo-EBT.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-nkyIRAyN.js → RichTextEditorContent-BQATmyd9.js} +3 -3
- package/dist/cdn/chunks/{RichTextEditorContent-nkyIRAyN.js.map → RichTextEditorContent-BQATmyd9.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-DYr5yKqy.js → SaveBlockDialog-DB37Vmqt.js} +5 -5
- package/dist/cdn/chunks/{SaveBlockDialog-DYr5yKqy.js.map → SaveBlockDialog-DB37Vmqt.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BUJjcHkw.js → SavedBlocksBrowserModal-CTU2rGWQ.js} +6 -6
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BUJjcHkw.js.map → SavedBlocksBrowserModal-CTU2rGWQ.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-DFgvmsbj.js → SavedBlocksPanels-B9h9wI6d.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPanels-DFgvmsbj.js.map → SavedBlocksPanels-B9h9wI6d.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-Brg8US_n.js → SavedBlocksPickBar-CTY5WZum.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPickBar-Brg8US_n.js.map → SavedBlocksPickBar-CTY5WZum.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-DO86BvdQ.js → TemplateScoringPanel-DZ0cpe_D.js} +7 -7
- package/dist/cdn/chunks/{TemplateScoringPanel-DO86BvdQ.js.map → TemplateScoringPanel-DZ0cpe_D.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-DRCcdGvX.js → TestEmailModal-Dqx1RyDE.js} +6 -6
- package/dist/cdn/chunks/{TestEmailModal-DRCcdGvX.js.map → TestEmailModal-Dqx1RyDE.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-BZU5HX2c.js → TestEmailPanel-DrcQhnON.js} +2 -2
- package/dist/cdn/chunks/{TestEmailPanel-BZU5HX2c.js.map → TestEmailPanel-DrcQhnON.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-CLkXt5RZ.js → TitleEditor-CSeDvWVn.js} +8 -8
- package/dist/cdn/chunks/{TitleEditor-CLkXt5RZ.js.map → TitleEditor-CSeDvWVn.js.map} +1 -1
- package/dist/cdn/chunks/{TplModal-BhfPoZ_W.js → TplModal-BNBLwBxJ.js} +2 -2
- package/dist/cdn/chunks/{TplModal-BhfPoZ_W.js.map → TplModal-BNBLwBxJ.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-_DyRYBRP.js → VersionHistoryMenu-cZlb0sMi.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryMenu-_DyRYBRP.js.map → VersionHistoryMenu-cZlb0sMi.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-DGfOOcKV.js → VersionHistoryPanels-DgrjTK3z.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-DGfOOcKV.js.map → VersionHistoryPanels-DgrjTK3z.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-FbBmgknN.js → VersionPreviewBanner-BNq7PRun.js} +2 -2
- package/dist/cdn/chunks/{VersionPreviewBanner-FbBmgknN.js.map → VersionPreviewBanner-BNq7PRun.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-o4ammRlm.js → blockTypeIcons-BNGmmzB_.js} +2 -2
- package/dist/cdn/chunks/{blockTypeIcons-o4ammRlm.js.map → blockTypeIcons-BNGmmzB_.js.map} +1 -1
- package/dist/cdn/chunks/createCloudRuntime-B_HRgFxU.js +443 -0
- package/dist/cdn/chunks/createCloudRuntime-B_HRgFxU.js.map +1 -0
- package/dist/cdn/chunks/en-BZlZVGwM.js +2 -0
- package/dist/cdn/chunks/{extensions-qSqWdFko.js → extensions-Deqilwp8.js} +3 -3
- package/dist/cdn/chunks/{extensions-qSqWdFko.js.map → extensions-Deqilwp8.js.map} +1 -1
- package/dist/cdn/chunks/{icons-MeYdeH4P.js → icons-C2kP4vOJ.js} +17 -17
- package/dist/cdn/chunks/{icons-MeYdeH4P.js.map → icons-C2kP4vOJ.js.map} +1 -1
- package/dist/cdn/chunks/{src-2QDLdUyx.js → src-CgIXdQlX.js} +3 -3
- package/dist/cdn/chunks/{src-2QDLdUyx.js.map → src-CgIXdQlX.js.map} +1 -1
- package/dist/cdn/chunks/{src-BxHH_6Yr.js → src-CnQgwcsc.js} +2 -2
- package/dist/cdn/chunks/{src-BxHH_6Yr.js.map → src-CnQgwcsc.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-DgH_wKK_.js → tiptap-DOw5Yb4H.js} +3276 -3229
- package/dist/cdn/chunks/tiptap-DOw5Yb4H.js.map +1 -0
- package/dist/cdn/chunks/{useEditorCore-2ZVOY0Rh.js → useEditorCore-Dq5gdn5i.js} +435 -411
- package/dist/cdn/chunks/useEditorCore-Dq5gdn5i.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +1360 -1353
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-CLfibuQc.js → check-Cv96tY88.js} +1 -1
- package/dist/{chevron-down-DamTR8ta.js → chevron-down-BwEyjSjd.js} +1 -1
- package/dist/{chevron-up-CrV_Ksg-.js → chevron-up-C6Ye-Nzc.js} +1 -1
- package/dist/{circle-alert-BLy-e34e.js → circle-alert-BLt_gkcU.js} +1 -1
- package/dist/{clock-DQI6aaFT.js → clock-D-2BI0Co.js} +1 -1
- package/dist/createCloudRuntime-CWPQ7puE.js +441 -0
- package/dist/{createLucideIcon-Cbl3Ma_H.js → createLucideIcon-DGRWivCX.js} +2 -2
- package/dist/{dist-CgXIMxZc.js → dist-BG2cHdqw.js} +2 -2
- package/dist/{dist-CclsUQ7r.js → dist-BIFUEhwQ.js} +2 -2
- package/dist/{dist-DUn6jY0n.js → dist-BUh4MT4D.js} +2111 -2086
- package/dist/{dist-7Lr_A7Va.js → dist-BpHkLruF.js} +5 -4
- package/dist/{dist-C145btxT.js → dist-BtPhkQ2u.js} +154 -162
- package/dist/{dist-CQQNoHxz.js → dist-Btz6cFCI.js} +4 -4
- package/dist/dist-CCfNhI54.js +5 -0
- package/dist/{dist-D4Jb08yv.js → dist-CHp21juN.js} +2 -2
- package/dist/dist-CMcNDUcw.js +5 -0
- package/dist/{dist-CLc1cpN2.js → dist-DAR13YWM.js} +6 -5
- package/dist/{dist-Dx-KOuOj.js → dist-DQ_4a0hb.js} +2 -2
- package/dist/{dist-Dz7KUOSg.js → dist-q3Puexqv.js} +2 -2
- package/dist/{extensions-PJK0gLCL.js → extensions-BlYe3NFn.js} +3 -3
- package/dist/{image-up-BVOMy_Fs.js → image-up-KRq0lcdU.js} +1 -1
- package/dist/index.d.ts +146 -117
- package/dist/{info-BKMKasyT.js → info-DbmE2JAo.js} +1 -1
- package/dist/{loader-circle-CSGh8n8A.js → loader-circle-dSap9DfQ.js} +1 -1
- package/dist/{message-circle-C6q2Fm_W.js → message-circle-qSKKLbac.js} +1 -1
- package/dist/{pencil-DaTN0HKw.js → pencil-DMP8vL2F.js} +1 -1
- package/dist/{refresh-cw-Cu4wRQwT.js → refresh-cw-WXtBeMva.js} +1 -1
- package/dist/{scan-line-O_o657Gv.js → scan-line-BTrngVuN.js} +1 -1
- package/dist/{send-GS3soauT.js → send-CLa8Cxmh.js} +1 -1
- package/dist/{shield-check-B2TzT3Wp.js → shield-check-42WZrKQu.js} +1 -1
- package/dist/{sparkles-CNENcXZl.js → sparkles-DcOb0umz.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +723 -716
- package/dist/{text-align-start-D0-k8RUf.js → text-align-start-zoZhXJ2T.js} +1 -1
- package/dist/{trash-2-BE-qGIpG.js → trash-2-Capv4cSE.js} +1 -1
- package/dist/{triangle-alert-DNM2_dyh.js → triangle-alert-CnJUGX-6.js} +1 -1
- package/dist/{upload-Cv2Jx-yM.js → upload-Bc0ZTywl.js} +1 -1
- package/dist/{useEditorCore-DM8vzMZQ.js → useEditorCore-CIjO_NM9.js} +1094 -1072
- package/dist/{useScrollToBlock-C2LYXENK.js → useScrollToBlock-C2-9xCr7.js} +1 -1
- package/dist/{x-DUPrT6Aa.js → x-CvPZ3OAd.js} +1 -1
- package/package.json +22 -22
- package/dist/cdn/chunks/createCloudRuntime-C-u7oIGa.js +0 -344
- package/dist/cdn/chunks/createCloudRuntime-C-u7oIGa.js.map +0 -1
- package/dist/cdn/chunks/en-C6FKrw69.js +0 -2
- package/dist/cdn/chunks/tiptap-DgH_wKK_.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-2ZVOY0Rh.js.map +0 -1
- package/dist/createCloudRuntime-BrgMP9gS.js +0 -342
- package/dist/dist-D-ulkdvF.js +0 -5
- package/dist/dist-Kf9u4ULN.js +0 -5
|
@@ -2,13 +2,13 @@ import { B as e, Dt as t, L as n, S as r, T as ee, X as i, c as a, d as o, g as
|
|
|
2
2
|
import { a as ne, t as re } from "./runtime-dom.esm-bundler-CHEsXNQz.js";
|
|
3
3
|
import { m as ie, p as ae } from "./dist-WE11SQGe.js";
|
|
4
4
|
import { T as oe, W as _, h as se, i as v, l as ce } from "./keys-CAor2T5q.js";
|
|
5
|
-
import { t as y } from "./createLucideIcon-
|
|
6
|
-
import { t as le } from "./circle-alert-
|
|
7
|
-
import { t as ue } from "./loader-circle-
|
|
8
|
-
import { t as de } from "./send-
|
|
9
|
-
import { t as b } from "./sparkles-
|
|
10
|
-
import { t as fe } from "./trash-2-
|
|
11
|
-
import { t as pe } from "./x-
|
|
5
|
+
import { t as y } from "./createLucideIcon-DGRWivCX.js";
|
|
6
|
+
import { t as le } from "./circle-alert-BLt_gkcU.js";
|
|
7
|
+
import { t as ue } from "./loader-circle-dSap9DfQ.js";
|
|
8
|
+
import { t as de } from "./send-CLa8Cxmh.js";
|
|
9
|
+
import { t as b } from "./sparkles-DcOb0umz.js";
|
|
10
|
+
import { t as fe } from "./trash-2-Capv4cSE.js";
|
|
11
|
+
import { t as pe } from "./x-CvPZ3OAd.js";
|
|
12
12
|
import { t as me } from "./LoadingTrack-Db9j_aBr.js";
|
|
13
13
|
import { t as x } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { t as S } from "./useAliveFlag-1yBub211.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Ot as e, P as t, c as n, d as r, j as i, k as a, kt as o, l as s, r as c, s as l, v as u } from "./vue.runtime.esm-bundler-CdH_W9qX.js";
|
|
2
|
-
import "./useEditorCore-
|
|
2
|
+
import "./useEditorCore-CIjO_NM9.js";
|
|
3
3
|
import { W as d, t as f } from "./keys-CAor2T5q.js";
|
|
4
|
-
import { t as p } from "./image-up-
|
|
5
|
-
import { t as m } from "./shield-check-
|
|
6
|
-
import { t as h } from "./sparkles-
|
|
4
|
+
import { t as p } from "./image-up-KRq0lcdU.js";
|
|
5
|
+
import { t as m } from "./shield-check-42WZrKQu.js";
|
|
6
|
+
import { t as h } from "./sparkles-DcOb0umz.js";
|
|
7
7
|
import { t as g } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
8
8
|
import { n as _ } from "./useCloudI18n-Dwo7usTl.js";
|
|
9
9
|
//#region src/cloud/components/AiFeatureMenu.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Dt as e, S as t, d as n, k as r, l as i, rt as a, s as o, u as s, v as c } from "./vue.runtime.esm-bundler-CdH_W9qX.js";
|
|
2
2
|
import { z as l } from "./keys-CAor2T5q.js";
|
|
3
3
|
import { t as u } from "./useI18n-DT_DKupw.js";
|
|
4
|
-
import { t as d } from "./circle-alert-
|
|
5
|
-
import { t as f } from "./triangle-alert-
|
|
4
|
+
import { t as d } from "./circle-alert-BLt_gkcU.js";
|
|
5
|
+
import { t as f } from "./triangle-alert-CnJUGX-6.js";
|
|
6
6
|
//#region src/components/canvas/BlockIssueBadge.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var p = ["title", "aria-label"], m = /* @__PURE__ */ c({
|
|
8
8
|
__name: "BlockIssueBadge",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
2
|
import { A as t, N as n, Ot as r, P as i, S as a, c as o, d as s, j as c, k as l, l as u, r as d, rt as f, s as p, v as m } from "./vue.runtime.esm-bundler-CdH_W9qX.js";
|
|
3
|
-
import { R as h, a as g, b as _, d as v, f as y, g as b, h as x, i as S, l as C, m as w, n as T, p as E, r as D, v as O, y as k } from "./useEditorCore-
|
|
3
|
+
import { R as h, a as g, b as _, d as v, f as y, g as b, h as x, i as S, l as C, m as w, n as T, p as E, r as D, v as O, y as k } from "./useEditorCore-CIjO_NM9.js";
|
|
4
4
|
import { O as A, U as j, d as M, h as N, s as P } from "./keys-CAor2T5q.js";
|
|
5
5
|
import { n as F, t as I } from "./emailFrameWidth-BmFCN2dp.js";
|
|
6
6
|
//#region src/components/blocks/PreviewSectionBlock.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Dt as e, _ as t, c as n, d as r, g as i, h as a, k as o, kt as s, l as c, r as l, rt as u, u as d, v as f, z as p } from "./vue.runtime.esm-bundler-CdH_W9qX.js";
|
|
2
2
|
import { c as m, t as h } from "./runtime-dom.esm-bundler-CHEsXNQz.js";
|
|
3
|
-
import { t as g } from "./sparkles-
|
|
3
|
+
import { t as g } from "./sparkles-DcOb0umz.js";
|
|
4
4
|
import { n as _ } from "./useCloudI18n-Dwo7usTl.js";
|
|
5
5
|
//#region src/cloud/components/CloudHeaderExtras.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var v = {
|
|
@@ -17,7 +17,7 @@ var v = {
|
|
|
17
17
|
cloud: {}
|
|
18
18
|
},
|
|
19
19
|
setup(f) {
|
|
20
|
-
let x = t(() => import("./CollaboratorBar-
|
|
20
|
+
let x = t(() => import("./CollaboratorBar-Cx5klY7H.js")), S = t(() => import("./AiFeatureMenu-CCdTgCy7.js")), { t: C, format: w } = _();
|
|
21
21
|
return (t, _) => f.part === "left" ? (o(), r(l, { key: 0 }, [f.cloud.featureFlags.templateLimit.value === null ? d("", !0) : (o(), r("span", v, s(u(w)(u(C).header.templatesUsed, {
|
|
22
22
|
used: f.cloud.featureFlags.templateCount.value,
|
|
23
23
|
max: f.cloud.featureFlags.templateLimit.value
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as e, c as t, d as n, g as r, j as i, k as a, kt as o, l as s, m as c, r as l, rt as u, u as d, v as f, z as p } from "./vue.runtime.esm-bundler-CdH_W9qX.js";
|
|
2
2
|
import { c as m, t as h } from "./runtime-dom.esm-bundler-CHEsXNQz.js";
|
|
3
3
|
import { t as g } from "./useI18n-DT_DKupw.js";
|
|
4
|
-
import { t as _ } from "./circle-alert-
|
|
5
|
-
import { t as v } from "./triangle-alert-
|
|
4
|
+
import { t as _ } from "./circle-alert-BLt_gkcU.js";
|
|
5
|
+
import { t as v } from "./triangle-alert-CnJUGX-6.js";
|
|
6
6
|
import { n as y } from "./useCloudI18n-Dwo7usTl.js";
|
|
7
7
|
//#region src/cloud/components/CloudErrorOverlay.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var b = {
|
|
@@ -124,7 +124,7 @@ var b = {
|
|
|
124
124
|
locale: {}
|
|
125
125
|
},
|
|
126
126
|
setup(t) {
|
|
127
|
-
let i = e(() => import("./AiChatSidebar-
|
|
127
|
+
let i = e(() => import("./AiChatSidebar-KeS30iRG.js")), o = e(() => import("./DesignReferenceSidebar-B1__DJJI.js")), s = e(() => import("./TemplateScoringPanel-Dm83xt9R.js")), c = e(async () => {
|
|
128
128
|
try {
|
|
129
129
|
return (await import("@templatical/media-library")).MediaLibraryModal;
|
|
130
130
|
} catch {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ot as e, c as t, d as n, j as r, k as i, kt as a, l as o, r as s, rt as c, s as l, u, v as d } from "./vue.runtime.esm-bundler-CdH_W9qX.js";
|
|
2
|
-
import "./useEditorCore-
|
|
3
|
-
import { t as f } from "./createLucideIcon-
|
|
2
|
+
import "./useEditorCore-CIjO_NM9.js";
|
|
3
|
+
import { t as f } from "./createLucideIcon-DGRWivCX.js";
|
|
4
4
|
import { n as p } from "./useCloudI18n-Dwo7usTl.js";
|
|
5
5
|
import { t as m } from "./readableTextColor-f8Kykfnh.js";
|
|
6
6
|
var h = f("wifi-off", [
|
|
@@ -4,7 +4,7 @@ import { t as ae } from "./dist-CkSgS-K9.js";
|
|
|
4
4
|
import { B as oe, H as se, u as ce } from "./keys-CAor2T5q.js";
|
|
5
5
|
import { t as le } from "./useI18n-DT_DKupw.js";
|
|
6
6
|
import { a as ue, i as h, n as de, r as g, t as fe } from "./usePopoverPosition-DaHz1kqb.js";
|
|
7
|
-
import { t as _ } from "./x-
|
|
7
|
+
import { t as _ } from "./x-CvPZ3OAd.js";
|
|
8
8
|
import { u as v } from "./styleConstants-C_YAPdQS.js";
|
|
9
9
|
//#region ../../node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/utils/math.js
|
|
10
10
|
var y = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, b = (e, t = 0, n = 10 ** t) => Math.round(n * e) / n;
|
|
@@ -5,7 +5,7 @@ var o = /* @__PURE__ */ a({
|
|
|
5
5
|
__name: "CommentsPanel",
|
|
6
6
|
props: { feature: {} },
|
|
7
7
|
setup(a) {
|
|
8
|
-
let o = e(() => import("./CommentsSidebar-
|
|
8
|
+
let o = e(() => import("./CommentsSidebar-CScszOsC.js"));
|
|
9
9
|
return (e, s) => a.feature.isOpen.value ? (t(), n(r(o), {
|
|
10
10
|
key: 0,
|
|
11
11
|
visible: a.feature.isOpen.value,
|
|
@@ -2,16 +2,16 @@ import { B as e, Dt as t, L as n, Ot as r, T as i, X as a, c as o, d as s, g as
|
|
|
2
2
|
import { a as y, t as b } from "./runtime-dom.esm-bundler-CHEsXNQz.js";
|
|
3
3
|
import { W as te, h as ne } from "./keys-CAor2T5q.js";
|
|
4
4
|
import { t as re } from "./useI18n-DT_DKupw.js";
|
|
5
|
-
import { t as x } from "./createLucideIcon-
|
|
6
|
-
import { t as ie } from "./check-
|
|
7
|
-
import { t as ae } from "./chevron-down-
|
|
8
|
-
import { t as oe } from "./chevron-up-
|
|
9
|
-
import { t as S } from "./loader-circle-
|
|
10
|
-
import { t as C } from "./message-circle-
|
|
11
|
-
import { t as w } from "./pencil-
|
|
12
|
-
import { t as T } from "./send-
|
|
13
|
-
import { t as E } from "./trash-2-
|
|
14
|
-
import { t as D } from "./x-
|
|
5
|
+
import { t as x } from "./createLucideIcon-DGRWivCX.js";
|
|
6
|
+
import { t as ie } from "./check-Cv96tY88.js";
|
|
7
|
+
import { t as ae } from "./chevron-down-BwEyjSjd.js";
|
|
8
|
+
import { t as oe } from "./chevron-up-C6Ye-Nzc.js";
|
|
9
|
+
import { t as S } from "./loader-circle-dSap9DfQ.js";
|
|
10
|
+
import { t as C } from "./message-circle-qSKKLbac.js";
|
|
11
|
+
import { t as w } from "./pencil-DMP8vL2F.js";
|
|
12
|
+
import { t as T } from "./send-CLa8Cxmh.js";
|
|
13
|
+
import { t as E } from "./trash-2-Capv4cSE.js";
|
|
14
|
+
import { t as D } from "./x-CvPZ3OAd.js";
|
|
15
15
|
import { t as O } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
16
16
|
import { t as se } from "./formatRelativeTime-CtUU-QZ8.js";
|
|
17
17
|
var ce = x("circle-check", [["circle", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Dt as e, c as t, d as n, g as r, j as i, k as a, kt as o, l as s, r as c, rt as l, s as u, v as d, z as f } from "./vue.runtime.esm-bundler-CdH_W9qX.js";
|
|
2
2
|
import { t as p } from "./useI18n-DT_DKupw.js";
|
|
3
3
|
import { p as m } from "./styleConstants-C_YAPdQS.js";
|
|
4
|
-
import { t as h } from "./ColorPicker-
|
|
4
|
+
import { t as h } from "./ColorPicker-DjfecH79.js";
|
|
5
5
|
import { i as g, n as _, r as v, t as y } from "./NumberWithSuffix-C1D0WFrN.js";
|
|
6
6
|
//#region src/components/toolbar/CountdownToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var b = ["value"], x = ["value"], S = ["value"], C = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, w = ["value"], T = { value: "" }, E = ["value"], D = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, O = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, k = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, A = [
|
|
@@ -2,11 +2,11 @@ import { B as e, Dt as t, E as n, L as r, Ot as i, X as a, c as o, d as s, g as
|
|
|
2
2
|
import { a as re, t as ie } from "./runtime-dom.esm-bundler-CHEsXNQz.js";
|
|
3
3
|
import { W as h, h as ae, i as oe } from "./keys-CAor2T5q.js";
|
|
4
4
|
import "./timeouts-DHPZQ0G3.js";
|
|
5
|
-
import { t as g } from "./createLucideIcon-
|
|
6
|
-
import { t as se } from "./circle-alert-
|
|
7
|
-
import { t as _ } from "./image-up-
|
|
8
|
-
import { t as ce } from "./upload-
|
|
9
|
-
import { t as v } from "./x-
|
|
5
|
+
import { t as g } from "./createLucideIcon-DGRWivCX.js";
|
|
6
|
+
import { t as se } from "./circle-alert-BLt_gkcU.js";
|
|
7
|
+
import { t as _ } from "./image-up-KRq0lcdU.js";
|
|
8
|
+
import { t as ce } from "./upload-Bc0ZTywl.js";
|
|
9
|
+
import { t as v } from "./x-CvPZ3OAd.js";
|
|
10
10
|
import { t as le } from "./LoadingTrack-Db9j_aBr.js";
|
|
11
11
|
import { t as y } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { n as ue } from "./useCloudI18n-Dwo7usTl.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Dt as e, P as t, S as n, c as r, d as i, g as a, h as o, j as s, k as c, kt as l, l as u, r as d, rt as f, s as p, u as m, v as h } from "./vue.runtime.esm-bundler-CdH_W9qX.js";
|
|
2
2
|
import { h as g, z as _ } from "./keys-CAor2T5q.js";
|
|
3
3
|
import { t as v } from "./useI18n-DT_DKupw.js";
|
|
4
|
-
import { t as y } from "./createLucideIcon-
|
|
5
|
-
import { t as b } from "./circle-alert-
|
|
6
|
-
import { t as x } from "./info-
|
|
7
|
-
import { n as S, t as C } from "./useScrollToBlock-
|
|
8
|
-
import { t as w } from "./triangle-alert-
|
|
4
|
+
import { t as y } from "./createLucideIcon-DGRWivCX.js";
|
|
5
|
+
import { t as b } from "./circle-alert-BLt_gkcU.js";
|
|
6
|
+
import { t as x } from "./info-DbmE2JAo.js";
|
|
7
|
+
import { n as S, t as C } from "./useScrollToBlock-C2-9xCr7.js";
|
|
8
|
+
import { t as w } from "./triangle-alert-CnJUGX-6.js";
|
|
9
9
|
var T = y("arrow-right", [["path", {
|
|
10
10
|
d: "M5 12h14",
|
|
11
11
|
key: "1ays0h"
|
|
@@ -2,8 +2,8 @@ import { Ot as e, S as t, c as n, d as r, j as i, k as a, kt as o, l as s, r as
|
|
|
2
2
|
import { j as p } from "./dist-B1kLn1rs.js";
|
|
3
3
|
import { T as m } from "./keys-CAor2T5q.js";
|
|
4
4
|
import { t as h } from "./useI18n-DT_DKupw.js";
|
|
5
|
-
import { t as g } from "./createLucideIcon-
|
|
6
|
-
import { t as _ } from "./sparkles-
|
|
5
|
+
import { t as g } from "./createLucideIcon-DGRWivCX.js";
|
|
6
|
+
import { t as _ } from "./sparkles-DcOb0umz.js";
|
|
7
7
|
var v = g("monitor", [
|
|
8
8
|
["rect", {
|
|
9
9
|
width: "20",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Dt as e, X as t, b as n, c as r, d as i, j as a, k as o, kt as s, r as c, u as l, v as u } from "./vue.runtime.esm-bundler-CdH_W9qX.js";
|
|
2
2
|
import { c as d, n as f } from "./runtime-dom.esm-bundler-CHEsXNQz.js";
|
|
3
|
-
import { Gn as p, H as m, Hn as h, Vn as g, Wn as _, s as v } from "./dist-
|
|
3
|
+
import { Gn as p, H as m, Hn as h, Vn as g, Wn as _, s as v } from "./dist-BUh4MT4D.js";
|
|
4
4
|
//#region ../../node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
5
5
|
var y = Math.min, b = Math.max, x = Math.round, S = Math.floor, C = (e) => ({
|
|
6
6
|
x: e,
|
|
@@ -703,7 +703,7 @@ var $e = _e, et = me, tt = (e, t, n) => {
|
|
|
703
703
|
});
|
|
704
704
|
};
|
|
705
705
|
//#endregion
|
|
706
|
-
//#region ../../node_modules/.pnpm/@tiptap+suggestion@3.30.
|
|
706
|
+
//#region ../../node_modules/.pnpm/@tiptap+suggestion@3.30.3_@floating-ui+dom@1.8.0_@tiptap+core@3.30.3_@tiptap+pm@3.30.3__@tiptap+pm@3.30.3/node_modules/@tiptap/suggestion/dist/index.js
|
|
707
707
|
function nt(e) {
|
|
708
708
|
let { char: t, allowSpaces: n, allowToIncludeChar: r, allowedPrefixes: i, startOfLine: a, $position: o } = e, s = n && !r, c = m(t), l = RegExp(`\\s${c}$`), u = a ? "^" : "", d = r ? "" : c, f = RegExp(s ? `${u}${c}.*?(?=\\s${d}|$)` : `${u}(?:^)?${c}[^\\s${d}]*`, "gm"), p = o.nodeBefore?.isText && o.nodeBefore.text;
|
|
709
709
|
if (!p) return null;
|
|
@@ -764,15 +764,20 @@ function ct({ pluginKey: e, decorationTag: t, decorationClass: n, decorationCont
|
|
|
764
764
|
handleKeyDown(t, n) {
|
|
765
765
|
var r;
|
|
766
766
|
let i = e.getState(t.state);
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
767
|
+
if (!i.active) return !1;
|
|
768
|
+
if (n.key === "Escape" || n.key === "Esc") {
|
|
769
|
+
var s;
|
|
770
|
+
return a == null || (s = a.onKeyDown) == null || s.call(a, {
|
|
771
|
+
view: t,
|
|
772
|
+
event: n,
|
|
773
|
+
range: i.range
|
|
774
|
+
}), o(t), !0;
|
|
775
|
+
}
|
|
776
|
+
return (a == null || (r = a.onKeyDown) == null ? void 0 : r.call(a, {
|
|
772
777
|
view: t,
|
|
773
778
|
event: n,
|
|
774
779
|
range: i.range
|
|
775
|
-
}) || !1
|
|
780
|
+
})) || !1;
|
|
776
781
|
},
|
|
777
782
|
decorations(a) {
|
|
778
783
|
let { active: o, range: s, decorationId: c, query: l } = e.getState(a);
|
|
@@ -881,14 +886,15 @@ function ut({ editor: e, items: t }) {
|
|
|
881
886
|
};
|
|
882
887
|
}
|
|
883
888
|
function dt({ placement: e, offset: t, flip: n, floatingUi: r }) {
|
|
884
|
-
|
|
889
|
+
var i;
|
|
890
|
+
let a = [$e({
|
|
885
891
|
mainAxis: t.mainAxis ?? 4,
|
|
886
892
|
crossAxis: t.crossAxis ?? 0
|
|
887
893
|
})];
|
|
888
|
-
return n &&
|
|
894
|
+
return n && a.push(et()), r != null && (i = r.middleware) != null && i.length && a.push(...r.middleware), {
|
|
889
895
|
placement: e,
|
|
890
896
|
strategy: r?.strategy ?? "absolute",
|
|
891
|
-
middleware:
|
|
897
|
+
middleware: a
|
|
892
898
|
};
|
|
893
899
|
}
|
|
894
900
|
function ft(e) {
|
|
@@ -949,42 +955,44 @@ function mt({ editor: e, pluginKey: t, items: n, renderer: r, minQueryLength: i,
|
|
|
949
955
|
floatingUi: d
|
|
950
956
|
});
|
|
951
957
|
function y(e, t) {
|
|
952
|
-
var n, i, a;
|
|
953
958
|
switch (e) {
|
|
954
959
|
case "started":
|
|
955
|
-
|
|
960
|
+
var n;
|
|
961
|
+
r == null || (n = r.onStart) == null || n.call(r, t);
|
|
956
962
|
break;
|
|
957
963
|
case "updated":
|
|
958
|
-
|
|
964
|
+
var i;
|
|
965
|
+
r == null || (i = r.onUpdate) == null || i.call(r, t);
|
|
959
966
|
break;
|
|
960
|
-
case "stopped":
|
|
967
|
+
case "stopped":
|
|
968
|
+
var a;
|
|
969
|
+
r == null || (a = r.onExit) == null || a.call(r, t);
|
|
961
970
|
}
|
|
962
971
|
}
|
|
963
972
|
return {
|
|
964
973
|
update: async (n, d) => {
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
if (
|
|
970
|
-
else if (
|
|
971
|
-
else if (C.active && O) w = "updated";
|
|
974
|
+
let b = t.getState(d), x = t.getState(n.state);
|
|
975
|
+
if (!b || !x) return;
|
|
976
|
+
let S = null, C = b.query !== x.query, w = b.text !== x.text, T = b.range.from !== x.range.from || b.range.to !== x.range.to, E = C || w || T;
|
|
977
|
+
if (!b.active && x.active) S = "started";
|
|
978
|
+
else if (b.active && !x.active) S = "stopped";
|
|
979
|
+
else if (x.active && E) S = "updated";
|
|
972
980
|
else return;
|
|
973
|
-
let
|
|
981
|
+
let D = S === "stopped" ? b : x, O = n.dom.querySelector(`[data-decoration-id="${D.decorationId}"]`), k = m(n, O), A = i === 0 || (D.query ? D.query.length >= i : !1), j = (S === "started" || S === "updated") && A;
|
|
974
982
|
if (g = {
|
|
975
983
|
editor: e,
|
|
976
|
-
range:
|
|
977
|
-
query:
|
|
978
|
-
text:
|
|
984
|
+
range: D.range,
|
|
985
|
+
query: D.query || "",
|
|
986
|
+
text: D.text || "",
|
|
979
987
|
items: o ?? [],
|
|
980
988
|
command: (t) => p({
|
|
981
989
|
editor: e,
|
|
982
|
-
range:
|
|
990
|
+
range: D.range,
|
|
983
991
|
props: t
|
|
984
992
|
}),
|
|
985
|
-
decorationNode:
|
|
986
|
-
clientRect:
|
|
987
|
-
loading:
|
|
993
|
+
decorationNode: O,
|
|
994
|
+
clientRect: k,
|
|
995
|
+
loading: j,
|
|
988
996
|
placement: s,
|
|
989
997
|
offset: {
|
|
990
998
|
mainAxis: c.mainAxis ?? 4,
|
|
@@ -994,15 +1002,23 @@ function mt({ editor: e, pluginKey: t, items: n, renderer: r, minQueryLength: i,
|
|
|
994
1002
|
flip: u,
|
|
995
1003
|
floatingUi: v,
|
|
996
1004
|
mount: pt({
|
|
997
|
-
getReferenceRect:
|
|
1005
|
+
getReferenceRect: k,
|
|
998
1006
|
contextElement: n.dom,
|
|
999
1007
|
config: v,
|
|
1000
1008
|
container: l,
|
|
1001
1009
|
dismissOnOutsideClick: f,
|
|
1002
1010
|
dismiss: () => h(e.view)
|
|
1003
1011
|
})
|
|
1004
|
-
},
|
|
1005
|
-
|
|
1012
|
+
}, S === "started") {
|
|
1013
|
+
var M;
|
|
1014
|
+
r == null || (M = r.onBeforeStart) == null || M.call(r, g);
|
|
1015
|
+
}
|
|
1016
|
+
if (S === "updated") {
|
|
1017
|
+
var ee;
|
|
1018
|
+
r == null || (ee = r.onBeforeUpdate) == null || ee.call(r, g);
|
|
1019
|
+
}
|
|
1020
|
+
if (S === "started" && y(S, g), S === "started" || S === "updated") {
|
|
1021
|
+
if (!j) _.abort(), g = {
|
|
1006
1022
|
...g,
|
|
1007
1023
|
items: o ?? [],
|
|
1008
1024
|
loading: !1
|
|
@@ -1012,8 +1028,8 @@ function mt({ editor: e, pluginKey: t, items: n, renderer: r, minQueryLength: i,
|
|
|
1012
1028
|
...g,
|
|
1013
1029
|
items: o ?? [],
|
|
1014
1030
|
loading: !0
|
|
1015
|
-
},
|
|
1016
|
-
let e = await _.fetch(
|
|
1031
|
+
}, S = "updated", y(S, g);
|
|
1032
|
+
let e = await _.fetch(D.query || "", a);
|
|
1017
1033
|
if (e.status === "aborted") return;
|
|
1018
1034
|
if (!t.getState(n.state)?.active) {
|
|
1019
1035
|
_.abort();
|
|
@@ -1029,15 +1045,15 @@ function mt({ editor: e, pluginKey: t, items: n, renderer: r, minQueryLength: i,
|
|
|
1029
1045
|
};
|
|
1030
1046
|
}
|
|
1031
1047
|
}
|
|
1032
|
-
if (
|
|
1033
|
-
_.abort(), y(
|
|
1048
|
+
if (S === "stopped") {
|
|
1049
|
+
_.abort(), y(S, g), g = void 0;
|
|
1034
1050
|
return;
|
|
1035
1051
|
}
|
|
1036
|
-
|
|
1052
|
+
S === "updated" && y(S, g);
|
|
1037
1053
|
},
|
|
1038
1054
|
destroy: () => {
|
|
1039
1055
|
var e;
|
|
1040
|
-
_.abort(), g && ((e = r
|
|
1056
|
+
_.abort(), g && (r == null || (e = r.onExit) == null || e.call(r, g));
|
|
1041
1057
|
}
|
|
1042
1058
|
};
|
|
1043
1059
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { Dt as e, G as t, Ot as n, P as r, S as i, X as a, c as o, d as s, g as c, h as l, i as u, j as d, k as f, kt as p, l as m, r as h, rt as g, s as _, u as v, v as y } from "./vue.runtime.esm-bundler-CdH_W9qX.js";
|
|
2
2
|
import { c as b, s as x } from "./runtime-dom.esm-bundler-CHEsXNQz.js";
|
|
3
|
-
import { C as S, D as C, E as w, S as T } from "./useEditorCore-
|
|
3
|
+
import { C as S, D as C, E as w, S as T } from "./useEditorCore-CIjO_NM9.js";
|
|
4
4
|
import { t as E } from "./dist-CkSgS-K9.js";
|
|
5
5
|
import { B as D, D as O, H as k, W as ee, _ as te, h as ne, w as re } from "./keys-CAor2T5q.js";
|
|
6
6
|
import { t as A } from "./useI18n-DT_DKupw.js";
|
|
7
7
|
import { n as j } from "./usePopoverPosition-DaHz1kqb.js";
|
|
8
|
-
import { t as M } from "./createLucideIcon-
|
|
9
|
-
import { a as N, i as ie, n as P, r as ae, t as F } from "./RichTextEditorContent-
|
|
10
|
-
import { n as oe, t as se } from "./scan-line-
|
|
11
|
-
import { t as ce } from "./loader-circle-
|
|
12
|
-
import { n as le, r as ue, t as de } from "./text-align-start-
|
|
8
|
+
import { t as M } from "./createLucideIcon-DGRWivCX.js";
|
|
9
|
+
import { a as N, i as ie, n as P, r as ae, t as F } from "./RichTextEditorContent-BN6RBSZG.js";
|
|
10
|
+
import { n as oe, t as se } from "./scan-line-BTrngVuN.js";
|
|
11
|
+
import { t as ce } from "./loader-circle-dSap9DfQ.js";
|
|
12
|
+
import { n as le, r as ue, t as de } from "./text-align-start-zoZhXJ2T.js";
|
|
13
13
|
import { t as I } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { a as fe, n as pe, o as me, s as he } from "./styleConstants-C_YAPdQS.js";
|
|
15
|
-
import { t as L } from "./ColorPicker-
|
|
15
|
+
import { t as L } from "./ColorPicker-DjfecH79.js";
|
|
16
16
|
var R = M("face-slightly-smiling", [
|
|
17
17
|
["path", {
|
|
18
18
|
d: "M15 10V9",
|
|
@@ -644,18 +644,18 @@ var De = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-cent
|
|
|
644
644
|
editorName: "ParagraphEditor",
|
|
645
645
|
async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
|
|
646
646
|
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, LineBoundaryKeys: T }] = await Promise.all([
|
|
647
|
-
import("./dist-
|
|
648
|
-
import("./dist-
|
|
649
|
-
import("./dist-
|
|
650
|
-
import("./dist-
|
|
651
|
-
import("./dist-
|
|
652
|
-
import("./dist-
|
|
653
|
-
import("./dist-
|
|
654
|
-
import("./dist-
|
|
655
|
-
import("./dist-
|
|
656
|
-
import("./dist-
|
|
657
|
-
import("./dist-
|
|
658
|
-
import("./extensions-
|
|
647
|
+
import("./dist-BpHkLruF.js").then((e) => e.r),
|
|
648
|
+
import("./dist-BtPhkQ2u.js"),
|
|
649
|
+
import("./dist-Btz6cFCI.js"),
|
|
650
|
+
import("./dist-DQ_4a0hb.js"),
|
|
651
|
+
import("./dist-CHp21juN.js"),
|
|
652
|
+
import("./dist-BG2cHdqw.js"),
|
|
653
|
+
import("./dist-BIFUEhwQ.js"),
|
|
654
|
+
import("./dist-DAR13YWM.js"),
|
|
655
|
+
import("./dist-CCfNhI54.js"),
|
|
656
|
+
import("./dist-CMcNDUcw.js"),
|
|
657
|
+
import("./dist-q3Puexqv.js"),
|
|
658
|
+
import("./extensions-BlYe3NFn.js")
|
|
659
659
|
]);
|
|
660
660
|
return {
|
|
661
661
|
TiptapEditor: o,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Dt as e, c as t, d as n, g as r, h as i, k as a, kt as o, l as s, rt as c, u as l, v as u, z as d } from "./vue.runtime.esm-bundler-CdH_W9qX.js";
|
|
2
2
|
import { t as f } from "./useI18n-DT_DKupw.js";
|
|
3
|
-
import { t as p } from "./loader-circle-
|
|
4
|
-
import { t as m } from "./triangle-alert-
|
|
3
|
+
import { t as p } from "./loader-circle-dSap9DfQ.js";
|
|
4
|
+
import { t as m } from "./triangle-alert-CnJUGX-6.js";
|
|
5
5
|
import { d as h, v as g, x as _ } from "./styleConstants-C_YAPdQS.js";
|
|
6
|
-
import { t as v } from "./TplModal-
|
|
6
|
+
import { t as v } from "./TplModal-7623HR5x.js";
|
|
7
7
|
//#region src/components/RestoreVersionDialog.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var y = ["aria-busy"], b = { class: "tpl:flex tpl:items-center tpl:gap-2" }, x = {
|
|
9
9
|
id: "tpl-restore-version-title",
|
|
@@ -3,9 +3,9 @@ import { a as v, c as y } from "./runtime-dom.esm-bundler-CHEsXNQz.js";
|
|
|
3
3
|
import { B as b, H as x, h as S } from "./keys-CAor2T5q.js";
|
|
4
4
|
import { t as C } from "./useI18n-DT_DKupw.js";
|
|
5
5
|
import { n as w } from "./usePopoverPosition-DaHz1kqb.js";
|
|
6
|
-
import { t as T } from "./createLucideIcon-
|
|
7
|
-
import { t as E } from "./x-
|
|
8
|
-
import { t as D } from "./ColorPicker-
|
|
6
|
+
import { t as T } from "./createLucideIcon-DGRWivCX.js";
|
|
7
|
+
import { t as E } from "./x-CvPZ3OAd.js";
|
|
8
|
+
import { t as D } from "./ColorPicker-DjfecH79.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,15 +1,15 @@
|
|
|
1
1
|
import { B as e, D as t, Dt as n, E as r, L as i, Ot as a, P as o, S as s, X as c, c as l, d as u, g as d, h as f, j as p, k as m, kt as h, l as g, r as _, rt as v, s as y, u as b, v as x, z as S } from "./vue.runtime.esm-bundler-CdH_W9qX.js";
|
|
2
2
|
import { a as C, c as w, s as T } from "./runtime-dom.esm-bundler-CHEsXNQz.js";
|
|
3
|
-
import { B as E, N as D, c as O } from "./useEditorCore-
|
|
3
|
+
import { B as E, N as D, c as O } from "./useEditorCore-CIjO_NM9.js";
|
|
4
4
|
import { L as k, W as A, f as j, h as ee } from "./keys-CAor2T5q.js";
|
|
5
5
|
import { t as te } from "./useI18n-DT_DKupw.js";
|
|
6
|
-
import { t as M } from "./chevron-down-
|
|
7
|
-
import { t as N } from "./chevron-up-
|
|
8
|
-
import { t as P } from "./loader-circle-
|
|
6
|
+
import { t as M } from "./chevron-down-BwEyjSjd.js";
|
|
7
|
+
import { t as N } from "./chevron-up-C6Ye-Nzc.js";
|
|
8
|
+
import { t as P } from "./loader-circle-dSap9DfQ.js";
|
|
9
9
|
import { v as F } from "./styleConstants-C_YAPdQS.js";
|
|
10
10
|
import { n as I } from "./emailFrameWidth-BmFCN2dp.js";
|
|
11
|
-
import { t as L } from "./TplModal-
|
|
12
|
-
import { t as R } from "./BlockPreviewCanvas-
|
|
11
|
+
import { t as L } from "./TplModal-7623HR5x.js";
|
|
12
|
+
import { t as R } from "./BlockPreviewCanvas-MgXVXOG_.js";
|
|
13
13
|
//#region src/components/SavedBlockPreviewRow.vue?vue&type=script&setup=true&lang.ts
|
|
14
14
|
var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relative tpl:min-w-0 tpl:flex-1" }, H = {
|
|
15
15
|
key: 0,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { B as e, Dt as t, L as n, Ot as r, P as i, T as a, X as o, _ as ee, c as s, d as c, g as l, j as u, k as d, kt as f, l as p, r as m, rt as h, s as g, u as _, v, z as te } from "./vue.runtime.esm-bundler-CdH_W9qX.js";
|
|
2
2
|
import { a as y, c as b, i as x, s as S } from "./runtime-dom.esm-bundler-CHEsXNQz.js";
|
|
3
|
-
import "./useEditorCore-
|
|
3
|
+
import "./useEditorCore-CIjO_NM9.js";
|
|
4
4
|
import { L as ne, W as C, h as re } from "./keys-CAor2T5q.js";
|
|
5
5
|
import { t as ie } from "./useI18n-DT_DKupw.js";
|
|
6
|
-
import { n as ae, r as w, t as T } from "./blockTypeIcons-
|
|
7
|
-
import { t as oe } from "./pencil-
|
|
8
|
-
import { t as se } from "./trash-2-
|
|
9
|
-
import { t as ce } from "./x-
|
|
6
|
+
import { n as ae, r as w, t as T } from "./blockTypeIcons-Di4AsjQx.js";
|
|
7
|
+
import { t as oe } from "./pencil-DMP8vL2F.js";
|
|
8
|
+
import { t as se } from "./trash-2-Capv4cSE.js";
|
|
9
|
+
import { t as ce } from "./x-CvPZ3OAd.js";
|
|
10
10
|
import { v as le } from "./styleConstants-C_YAPdQS.js";
|
|
11
11
|
import { t as ue } from "./formatRelativeTime-CtUU-QZ8.js";
|
|
12
|
-
import { t as de } from "./TplModal-
|
|
12
|
+
import { t as de } from "./TplModal-7623HR5x.js";
|
|
13
13
|
//#region src/components/SavedBlocksBrowserModal.vue?vue&type=script&setup=true&lang.ts
|
|
14
14
|
var fe = {
|
|
15
15
|
role: "dialog",
|
|
@@ -65,7 +65,7 @@ var fe = {
|
|
|
65
65
|
props: { visible: { type: Boolean } },
|
|
66
66
|
emits: ["close", "insert"],
|
|
67
67
|
setup(v, { emit: A }) {
|
|
68
|
-
let tt = v, j = A, nt = ee(() => import("./BlockPreviewCanvas-
|
|
68
|
+
let tt = v, j = A, nt = ee(() => import("./BlockPreviewCanvas-MgXVXOG_.js").then((e) => e.n)), { t: M, format: N } = ie(), P = C(ne, "SavedBlocksBrowserModal"), F = C(re, "SavedBlocksBrowserModal"), I = o(""), L = o(""), R = o(null), z = o(null), B = o(null), V = o(""), H = o(""), U = o(null), W = o("end"), G = g(() => {
|
|
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 = g(() => P.isLoading.value && P.savedBlocks.value.length === 0), rt = g(() => I.value.trim().length > 0 || L.value !== ""), q = g(() => R.value ? P.savedBlocks.value.find((e) => e.id === R.value) ?? null : null), it = g(() => {
|
|
@@ -5,7 +5,7 @@ var c = /* @__PURE__ */ s({
|
|
|
5
5
|
__name: "SavedBlocksPanels",
|
|
6
6
|
props: { feature: {} },
|
|
7
7
|
setup(s) {
|
|
8
|
-
let c = s, l = e(() => import("./SavedBlocksPickBar-
|
|
8
|
+
let c = s, l = e(() => import("./SavedBlocksPickBar-BXUSoa38.js")), u = e(() => import("./SaveBlockDialog-KNQVLcUG.js")), d = e(() => import("./SavedBlocksBrowserModal-D7qatvfw.js"));
|
|
9
9
|
function f(e, t) {
|
|
10
10
|
c.feature.insert(e, t);
|
|
11
11
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as e, d as t, g as n, h as r, k as i, kt as a, rt as o, v as s } from "./vue.runtime.esm-bundler-CdH_W9qX.js";
|
|
2
|
-
import { L as c } from "./useEditorCore-
|
|
2
|
+
import { L as c } from "./useEditorCore-CIjO_NM9.js";
|
|
3
3
|
import { t as l } from "./useI18n-DT_DKupw.js";
|
|
4
|
-
import { t as u } from "./x-
|
|
4
|
+
import { t as u } from "./x-CvPZ3OAd.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,16 +1,16 @@
|
|
|
1
1
|
import { Dt as e, L as t, Ot as n, P as r, S as i, X as a, c as o, d as s, g as c, h as l, j as u, k as d, kt as f, l as p, r as m, rt as h, u as g, v as _, z as ee } from "./vue.runtime.esm-bundler-CdH_W9qX.js";
|
|
2
2
|
import { t as te } from "./runtime-dom.esm-bundler-CHEsXNQz.js";
|
|
3
3
|
import { R as ne, T as re, W as v, h as y } from "./keys-CAor2T5q.js";
|
|
4
|
-
import { t as b } from "./createLucideIcon-
|
|
5
|
-
import { t as ie } from "./chevron-down-
|
|
6
|
-
import { t as x } from "./circle-alert-
|
|
7
|
-
import { n as ae, t as S } from "./refresh-cw-
|
|
8
|
-
import { t as C } 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-
|
|
4
|
+
import { t as b } from "./createLucideIcon-DGRWivCX.js";
|
|
5
|
+
import { t as ie } from "./chevron-down-BwEyjSjd.js";
|
|
6
|
+
import { t as x } from "./circle-alert-BLt_gkcU.js";
|
|
7
|
+
import { n as ae, t as S } from "./refresh-cw-WXtBeMva.js";
|
|
8
|
+
import { t as C } from "./info-DbmE2JAo.js";
|
|
9
|
+
import { t as w } from "./loader-circle-dSap9DfQ.js";
|
|
10
|
+
import { t as T } from "./shield-check-42WZrKQu.js";
|
|
11
|
+
import { t as E } from "./sparkles-DcOb0umz.js";
|
|
12
|
+
import { t as oe } from "./triangle-alert-CnJUGX-6.js";
|
|
13
|
+
import { t as se } from "./x-CvPZ3OAd.js";
|
|
14
14
|
import { t as ce } from "./LoadingTrack-Db9j_aBr.js";
|
|
15
15
|
import { t as D } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
16
16
|
import { n as le } from "./useCloudI18n-Dwo7usTl.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { B as e, Dt as t, L as n, S as r, X as i, c as a, d as o, g as s, h as c, j as l, k as u, kt as d, l as f, r as p, rt as m, s as h, u as g, v as _, z as ee } from "./vue.runtime.esm-bundler-CdH_W9qX.js";
|
|
2
2
|
import { a as te, i as v } from "./runtime-dom.esm-bundler-CHEsXNQz.js";
|
|
3
3
|
import { j as ne } from "./dist-B1kLn1rs.js";
|
|
4
|
-
import { H as re } from "./useEditorCore-
|
|
4
|
+
import { H as re } from "./useEditorCore-CIjO_NM9.js";
|
|
5
5
|
import { I as ie, O as ae, T as oe, h as se } from "./keys-CAor2T5q.js";
|
|
6
6
|
import { t as ce } from "./useI18n-DT_DKupw.js";
|
|
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-
|
|
7
|
+
import { t as le } from "./check-Cv96tY88.js";
|
|
8
|
+
import { t as ue } from "./loader-circle-dSap9DfQ.js";
|
|
9
|
+
import { n as de, t as fe } from "./MergeTagModeToggle-oX-n91fH.js";
|
|
10
10
|
import { v as pe } from "./styleConstants-C_YAPdQS.js";
|
|
11
|
-
import { t as me } from "./TplModal-
|
|
12
|
-
import { t as he } from "./BlockPreviewCanvas-
|
|
11
|
+
import { t as me } from "./TplModal-7623HR5x.js";
|
|
12
|
+
import { t as he } from "./BlockPreviewCanvas-MgXVXOG_.js";
|
|
13
13
|
//#region src/utils/validateEmailShape.ts
|
|
14
14
|
var y = /[,;<>()[\]\\"'`|/?#@!$%^&*+=~{}]/;
|
|
15
15
|
function b(e) {
|