@templatical/editor 0.26.3 → 0.27.1
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/README.md +3 -1
- package/dist/{AiChatSidebar-CMBz6Wix.js → AiChatSidebar-iVJDzqjr.js} +60 -60
- package/dist/AiFeatureMenu-DrLGc2H2.js +57 -0
- package/dist/{BlockIssueBadge-Buk3_6QF.js → BlockIssueBadge-BHysq7XQ.js} +11 -11
- package/dist/BlockPreviewCanvas-2WASf5A4.js +121 -0
- package/dist/CloudHeaderExtras-DWApyc4P.js +59 -0
- package/dist/CloudPanels-DvOhGdRj.js +232 -0
- package/dist/{CollaboratorBar-BGwbg9aN.js → CollaboratorBar-C6MC0UCk.js} +21 -21
- package/dist/ColorPicker-Di8L5TLQ.js +501 -0
- package/dist/CommentsPanel-D5wQB1Kf.js +18 -0
- package/dist/CommentsSidebar-BoTIxpLE.js +481 -0
- package/dist/{cdn/chunks/CountdownBlock-vLTkTI9e.js → CountdownBlock-BFX8iU90.js} +19 -21
- package/dist/{cdn/chunks/CountdownToolbar-DPjcgcVR.js → CountdownToolbar-d9QM4m5x.js} +52 -53
- package/dist/{DesignReferenceSidebar-Bx96XFmK.js → DesignReferenceSidebar-DKsx2TiL.js} +72 -71
- package/dist/{IssuesPanel-Do7RLXsP.js → IssuesPanel-flKKwKpM.js} +38 -38
- package/dist/{LoadingTrack-BexpNuTV.js → LoadingTrack-C2T8ixEL.js} +3 -3
- package/dist/{MergeTagModeToggle-P-UguQHc.js → MergeTagModeToggle-PKCoKAoF.js} +43 -43
- package/dist/{MergeTagSuggestion-BJ43ihWR.js → MergeTagSuggestion-DGha0WRp.js} +46 -46
- package/dist/{cdn/chunks/NumberWithSuffix-BXrRdfq1.js → NumberWithSuffix-D9mPtMJB.js} +42 -44
- package/dist/{ParagraphEditor-6WN5jmXr.js → ParagraphEditor-iwTjkjtx.js} +200 -198
- package/dist/RestoreVersionDialog-DyMPGfsr.js +86 -0
- package/dist/{RichTextEditorContent-fbYJXAio.js → RichTextEditorContent-BVXG9oF4.js} +44 -44
- package/dist/SaveBlockDialog-BMCAIfK9.js +266 -0
- package/dist/{SavedBlocksBrowserModal-GMrajvfV.js → SavedBlocksBrowserModal-p5ma1qay.js} +116 -115
- package/dist/{cdn/chunks/SavedBlocksPanels-CUtYoi5Z.js → SavedBlocksPanels-BsiSstsZ.js} +9 -11
- package/dist/{SavedBlocksPickBar-Dk_IaMO9.js → SavedBlocksPickBar-fU4Mjm-8.js} +17 -17
- package/dist/{TemplateScoringPanel-BZUsb3FD.js → TemplateScoringPanel-Bv_bBsJi.js} +87 -87
- package/dist/TestEmailModal-EFYcrmTk.js +206 -0
- package/dist/{cdn/chunks/TestEmailPanel-B8y7JabA.js → TestEmailPanel-ljriUqs1.js} +4 -6
- package/dist/TitleEditor-BqRW7HTz.js +198 -0
- package/dist/TplModal-CTC9-w6B.js +49 -0
- package/dist/VersionHistoryMenu-Cq4rH56t.js +155 -0
- package/dist/VersionHistoryPanels-GkxkBiSi.js +46 -0
- package/dist/VersionPreviewBanner-BdtTu9mI.js +38 -0
- package/dist/{blockTypeIcons-C7wRSaT3.js → blockTypeIcons-CIrMr1SJ.js} +6 -6
- package/dist/bundle-stats.json +8 -8
- package/dist/{ca-D1zgI9fQ.js → ca-CEuJ6IRr.js} +73 -106
- package/dist/cdn/chunks/{AiChatSidebar-CQ8KUmNB.js → AiChatSidebar-DTUoBH5a.js} +54 -54
- package/dist/cdn/chunks/AiChatSidebar-DTUoBH5a.js.map +1 -0
- package/dist/cdn/chunks/AiFeatureMenu-BQz9Kczt.js +57 -0
- package/dist/cdn/chunks/AiFeatureMenu-BQz9Kczt.js.map +1 -0
- package/dist/cdn/chunks/{BlockIssueBadge-BEEY9o2o.js → BlockIssueBadge-UzSSOM_2.js} +13 -13
- package/dist/cdn/chunks/{BlockIssueBadge-BEEY9o2o.js.map → BlockIssueBadge-UzSSOM_2.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-msj619wT.js → BlockPreviewCanvas-40ocpXDD.js} +42 -42
- package/dist/cdn/chunks/{BlockPreviewCanvas-msj619wT.js.map → BlockPreviewCanvas-40ocpXDD.js.map} +1 -1
- package/dist/cdn/chunks/CloudHeaderExtras-F_ySlW1S.js +60 -0
- package/dist/cdn/chunks/CloudHeaderExtras-F_ySlW1S.js.map +1 -0
- package/dist/cdn/chunks/CloudPanels-C34bcHpc.js +232 -0
- package/dist/cdn/chunks/CloudPanels-C34bcHpc.js.map +1 -0
- package/dist/cdn/chunks/{CollaboratorBar-G_sZDZXw.js → CollaboratorBar-WBtrPPnM.js} +22 -22
- package/dist/cdn/chunks/CollaboratorBar-WBtrPPnM.js.map +1 -0
- package/dist/cdn/chunks/ColorPicker-CxKYd_8N.js +502 -0
- package/dist/cdn/chunks/ColorPicker-CxKYd_8N.js.map +1 -0
- package/dist/cdn/chunks/CommentsPanel-jzZ2X0P4.js +20 -0
- package/dist/cdn/chunks/CommentsPanel-jzZ2X0P4.js.map +1 -0
- package/dist/cdn/chunks/CommentsSidebar-Dxke-vUP.js +460 -0
- package/dist/cdn/chunks/CommentsSidebar-Dxke-vUP.js.map +1 -0
- package/dist/{CountdownBlock-DuyvGcr8.js → cdn/chunks/CountdownBlock-BYSrJWxg.js} +25 -23
- package/dist/cdn/chunks/{CountdownBlock-vLTkTI9e.js.map → CountdownBlock-BYSrJWxg.js.map} +1 -1
- package/dist/{CountdownToolbar-CBE9wRaV.js → cdn/chunks/CountdownToolbar-pVbkPNVo.js} +66 -63
- package/dist/cdn/chunks/{CountdownToolbar-DPjcgcVR.js.map → CountdownToolbar-pVbkPNVo.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-B-HFXV0W.js → DesignReferenceSidebar-sZWciECR.js} +64 -64
- package/dist/cdn/chunks/DesignReferenceSidebar-sZWciECR.js.map +1 -0
- package/dist/cdn/chunks/{IssuesPanel-DKTS4QVb.js → IssuesPanel-CHtetM9i.js} +36 -36
- package/dist/cdn/chunks/IssuesPanel-CHtetM9i.js.map +1 -0
- package/dist/cdn/chunks/{LoadingTrack-C52ZGL5q.js → LoadingTrack-Dp_QZvAK.js} +3 -3
- package/dist/cdn/chunks/{LoadingTrack-C52ZGL5q.js.map → LoadingTrack-Dp_QZvAK.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-DQ79SqQc.js → MergeTagModeToggle-ZwW-5EeN.js} +39 -39
- package/dist/cdn/chunks/{MergeTagModeToggle-DQ79SqQc.js.map → MergeTagModeToggle-ZwW-5EeN.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagSuggestion-Dn8dExNa.js → MergeTagSuggestion-DhllqTA3.js} +47 -47
- package/dist/cdn/chunks/MergeTagSuggestion-DhllqTA3.js.map +1 -0
- package/dist/{NumberWithSuffix-D37ZWiZh.js → cdn/chunks/NumberWithSuffix-mm6AfIv4.js} +37 -35
- package/dist/cdn/chunks/NumberWithSuffix-mm6AfIv4.js.map +1 -0
- package/dist/cdn/chunks/{ParagraphEditor-CZ5Z6AgG.js → ParagraphEditor-BBcIQQK2.js} +234 -233
- package/dist/cdn/chunks/ParagraphEditor-BBcIQQK2.js.map +1 -0
- package/dist/cdn/chunks/RestoreVersionDialog-DNUZHFa_.js +87 -0
- package/dist/cdn/chunks/RestoreVersionDialog-DNUZHFa_.js.map +1 -0
- package/dist/cdn/chunks/{RichTextEditorContent-DtL49Jpo.js → RichTextEditorContent-Cl-acKAD.js} +44 -44
- package/dist/cdn/chunks/RichTextEditorContent-Cl-acKAD.js.map +1 -0
- package/dist/cdn/chunks/SaveBlockDialog-BXTZ729e.js +265 -0
- package/dist/cdn/chunks/SaveBlockDialog-BXTZ729e.js.map +1 -0
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BkQXEUE2.js → SavedBlocksBrowserModal-BqGNBpRR.js} +114 -113
- package/dist/cdn/chunks/SavedBlocksBrowserModal-BqGNBpRR.js.map +1 -0
- package/dist/{SavedBlocksPanels-DEPmNhi6.js → cdn/chunks/SavedBlocksPanels-nbK0UQTp.js} +11 -9
- package/dist/cdn/chunks/{SavedBlocksPanels-CUtYoi5Z.js.map → SavedBlocksPanels-nbK0UQTp.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-C80qJykl.js → SavedBlocksPickBar-B9mbw3Gk.js} +17 -17
- package/dist/cdn/chunks/SavedBlocksPickBar-B9mbw3Gk.js.map +1 -0
- package/dist/cdn/chunks/{TemplateScoringPanel-NucRtAP0.js → TemplateScoringPanel-Xdkp2EMY.js} +81 -81
- package/dist/cdn/chunks/TemplateScoringPanel-Xdkp2EMY.js.map +1 -0
- package/dist/cdn/chunks/TestEmailModal-DE6fi3he.js +206 -0
- package/dist/cdn/chunks/TestEmailModal-DE6fi3he.js.map +1 -0
- package/dist/{TestEmailPanel-DubocPxf.js → cdn/chunks/TestEmailPanel-CAjQDXle.js} +6 -4
- package/dist/cdn/chunks/{TestEmailPanel-B8y7JabA.js.map → TestEmailPanel-CAjQDXle.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-C8WDXf4P.js → TitleEditor-BP0ewaWF.js} +83 -83
- package/dist/cdn/chunks/TitleEditor-BP0ewaWF.js.map +1 -0
- package/dist/cdn/chunks/TplModal-C4kJduTr.js +50 -0
- package/dist/cdn/chunks/TplModal-C4kJduTr.js.map +1 -0
- package/dist/cdn/chunks/VersionHistoryMenu-_MAj3qZj.js +148 -0
- package/dist/cdn/chunks/VersionHistoryMenu-_MAj3qZj.js.map +1 -0
- package/dist/cdn/chunks/VersionHistoryPanels-DMq2PRee.js +48 -0
- package/dist/cdn/chunks/VersionHistoryPanels-DMq2PRee.js.map +1 -0
- package/dist/cdn/chunks/VersionPreviewBanner-04CL1SGY.js +40 -0
- package/dist/cdn/chunks/VersionPreviewBanner-04CL1SGY.js.map +1 -0
- package/dist/cdn/chunks/{blockTypeIcons-FXlMM3PL.js → blockTypeIcons-hX_W4dqo.js} +2 -2
- package/dist/cdn/chunks/{blockTypeIcons-FXlMM3PL.js.map → blockTypeIcons-hX_W4dqo.js.map} +1 -1
- package/dist/cdn/chunks/{ca-D1zgI9fQ.js → ca-CEuJ6IRr.js} +74 -107
- package/dist/cdn/chunks/ca-CEuJ6IRr.js.map +1 -0
- package/dist/{cloud-qINCmQbn.js → cdn/chunks/cloud-BA0OpRh-.js} +400 -609
- package/dist/cdn/chunks/cloud-BA0OpRh-.js.map +1 -0
- package/dist/cdn/chunks/createCloudRuntime-gXA8_QRU.js +344 -0
- package/dist/cdn/chunks/createCloudRuntime-gXA8_QRU.js.map +1 -0
- package/dist/{de-uVoSP1xF.js → cdn/chunks/de-BytZwgn6.js} +4 -88
- package/dist/cdn/chunks/de-BytZwgn6.js.map +1 -0
- package/dist/{de-DHra3lvx.js → cdn/chunks/de-aRxhZF_K.js} +75 -106
- package/dist/cdn/chunks/de-aRxhZF_K.js.map +1 -0
- package/dist/cdn/chunks/{dist-B2HKGHnc.js → dist-CM8TB0VD.js} +136 -136
- package/dist/cdn/chunks/{dist-B2HKGHnc.js.map → dist-CM8TB0VD.js.map} +1 -1
- package/dist/cdn/chunks/{dist-C6z8AjBC.js → dist-CYLJiSiH.js} +63 -63
- package/dist/cdn/chunks/{dist-C6z8AjBC.js.map → dist-CYLJiSiH.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-DCs9qL-b.js → draggable-BfpsXFg7.js} +916 -905
- package/dist/cdn/chunks/{draggable-DCs9qL-b.js.map → draggable-BfpsXFg7.js.map} +1 -1
- package/dist/cdn/chunks/{en-DE_y1YWU.js → en-BCgVx9zM.js} +4 -3
- package/dist/cdn/chunks/{en-DE_y1YWU.js.map → en-BCgVx9zM.js.map} +1 -1
- package/dist/{en-DlqX2YWZ.js → cdn/chunks/en-BX4V_7YO.js} +75 -106
- package/dist/cdn/chunks/en-BX4V_7YO.js.map +1 -0
- package/dist/{en-CjhsJxb-.js → cdn/chunks/en-DyOSV0lY.js} +4 -88
- package/dist/cdn/chunks/en-DyOSV0lY.js.map +1 -0
- package/dist/{es-Cuss2snv.js → cdn/chunks/es-CA9uQ-5x.js} +75 -106
- package/dist/cdn/chunks/es-CA9uQ-5x.js.map +1 -0
- package/dist/cdn/chunks/{extensions-qhcN3RMT.js → extensions-CMcVw2uu.js} +53 -53
- package/dist/cdn/chunks/{extensions-qhcN3RMT.js.map → extensions-CMcVw2uu.js.map} +1 -1
- package/dist/{fr-Cm85vB2g.js → cdn/chunks/fr-iBuE60Ap.js} +75 -106
- package/dist/cdn/chunks/fr-iBuE60Ap.js.map +1 -0
- package/dist/cdn/chunks/{icons-CvYN6zrM.js → icons-C36Ha5VU.js} +11 -11
- package/dist/cdn/chunks/{icons-CvYN6zrM.js.map → icons-C36Ha5VU.js.map} +1 -1
- package/dist/{keys-fwF3qZax.js → cdn/chunks/keys-CbQuRX85.js} +6 -4
- package/dist/cdn/chunks/keys-CbQuRX85.js.map +1 -0
- package/dist/cdn/chunks/logger-ByvdoAwq.js +23 -0
- package/dist/cdn/chunks/logger-ByvdoAwq.js.map +1 -0
- package/dist/{nl-dmiIX7oT.js → cdn/chunks/nl-Btw4ojNo.js} +75 -106
- package/dist/cdn/chunks/nl-Btw4ojNo.js.map +1 -0
- package/dist/cdn/chunks/preRenderCustomBlocks-CbA3RcAy.js +23 -0
- package/dist/cdn/chunks/preRenderCustomBlocks-CbA3RcAy.js.map +1 -0
- package/dist/{pt-BR-CTzHTqJD.js → cdn/chunks/pt-BR-C1WLSGDh.js} +4 -88
- package/dist/cdn/chunks/pt-BR-C1WLSGDh.js.map +1 -0
- package/dist/{pt-BR-CaIG-7EM.js → cdn/chunks/pt-BR-GjVsCqbN.js} +75 -106
- package/dist/cdn/chunks/pt-BR-GjVsCqbN.js.map +1 -0
- package/dist/cdn/chunks/src-B_QJduQD.js.map +1 -1
- package/dist/cdn/chunks/{src-xkGep9eN.js → src-CoHDh8Ua.js} +1485 -1483
- package/dist/cdn/chunks/src-CoHDh8Ua.js.map +1 -0
- package/dist/cdn/chunks/{src-BwbnXShT.js → src-Ct4Fsx3t.js} +148 -134
- package/dist/cdn/chunks/src-Ct4Fsx3t.js.map +1 -0
- package/dist/cdn/chunks/styleConstants-9oK5kn21.js +59 -0
- package/dist/cdn/chunks/styleConstants-9oK5kn21.js.map +1 -0
- package/dist/cdn/chunks/timeouts-DHPZQ0G3.js +6 -0
- package/dist/cdn/chunks/timeouts-DHPZQ0G3.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-C44S1Cmh.js → tiptap-DmpGap5g.js} +40 -40
- package/dist/cdn/chunks/{tiptap-C44S1Cmh.js.map → tiptap-DmpGap5g.js.map} +1 -1
- package/dist/cdn/chunks/{useAliveFlag-Dxwgo6P4.js → useAliveFlag-Dtm174fG.js} +2 -2
- package/dist/cdn/chunks/{useAliveFlag-Dxwgo6P4.js.map → useAliveFlag-Dtm174fG.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-8wkJtuJD.js → useCloudI18n-NVa1aeY8.js} +5 -5
- package/dist/cdn/chunks/{useCloudI18n-8wkJtuJD.js.map → useCloudI18n-NVa1aeY8.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-CcgxY-Gy.js → useEditorCore-DC8gmfs6.js} +1434 -1147
- package/dist/cdn/chunks/useEditorCore-DC8gmfs6.js.map +1 -0
- package/dist/cdn/chunks/{useI18n-UMs0F71x.js → useI18n-DVWCJJFH.js} +5 -5
- package/dist/cdn/chunks/{useI18n-UMs0F71x.js.map → useI18n-DVWCJJFH.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-JmXOtpln.js → useMergeTag-BfZBRPQp.js} +4 -4
- package/dist/cdn/chunks/{useMergeTag-JmXOtpln.js.map → useMergeTag-BfZBRPQp.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-cf8Y-ynK.js → usePopoverPosition-BC-HA7TK.js} +3 -3
- package/dist/cdn/chunks/{usePopoverPosition-cf8Y-ynK.js.map → usePopoverPosition-BC-HA7TK.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +5119 -284
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-On4TSac-.js → check-DZbmkMQe.js} +1 -1
- package/dist/{chevron-down-69EiBGoB.js → chevron-down-nYScOLeZ.js} +1 -1
- package/dist/{chevron-up-Dh3MG1Dw.js → chevron-up-CpYpDLnc.js} +1 -1
- package/dist/{circle-alert-cilwzafX.js → circle-alert-CuuK6thq.js} +1 -1
- package/dist/{clock-Dt0APH92.js → clock-DxkrtqOr.js} +1 -1
- package/dist/cloud-BAefVBb_.js +1444 -0
- package/dist/createCloudRuntime-Bt8W-ajI.js +342 -0
- package/dist/{createLucideIcon-C8WzBYCv.js → createLucideIcon-L-wQXW_R.js} +9 -9
- package/dist/{cdn/chunks/de-uVoSP1xF.js → de-BytZwgn6.js} +2 -90
- package/dist/{cdn/chunks/de-DHra3lvx.js → de-aRxhZF_K.js} +73 -108
- package/dist/dist-B5iReTtK.js +251 -0
- package/dist/{dist-Cl8J0IES.js → dist-Ck9roB6K.js} +42 -42
- package/dist/{dist-BpKxrUi2.js → dist-CqcGTIiX.js} +46 -46
- package/dist/{cdn/chunks/en-DlqX2YWZ.js → en-BX4V_7YO.js} +73 -108
- package/dist/{cdn/chunks/en-CjhsJxb-.js → en-DyOSV0lY.js} +2 -90
- package/dist/{cdn/chunks/es-Cuss2snv.js → es-CA9uQ-5x.js} +73 -108
- package/dist/{extensions-Cwg9S-0f.js → extensions-CX87G4aL.js} +42 -42
- package/dist/{cdn/chunks/fr-Cm85vB2g.js → fr-iBuE60Ap.js} +73 -108
- package/dist/{image-up-Ceggh_R3.js → image-up-DouZRGVt.js} +1 -1
- package/dist/index.d.ts +499 -23
- package/dist/{info-DO5odBcZ.js → info-puX5V6Iq.js} +1 -1
- package/dist/{cdn/chunks/keys-Cmc2Yl3D.js → keys-BxixS0TN.js} +4 -6
- package/dist/{list-checks-BSkPKbuI.js → list-checks-jw-ZlvWY.js} +1 -1
- package/dist/{loader-circle-bO7o7_HD.js → loader-circle-DqTxB7Kr.js} +1 -1
- package/dist/logger-BBlvSn6q.js +21 -0
- package/dist/{message-circle-BEkAk65X.js → message-circle-BZ7YpB22.js} +1 -1
- package/dist/{cdn/chunks/nl-dmiIX7oT.js → nl-Btw4ojNo.js} +73 -108
- package/dist/{pencil-t6m0EtKL.js → pencil-DmbRhTJu.js} +1 -1
- package/dist/preRenderCustomBlocks-BebjKtmw.js +21 -0
- package/dist/{cdn/chunks/pt-BR-CTzHTqJD.js → pt-BR-C1WLSGDh.js} +2 -90
- package/dist/{cdn/chunks/pt-BR-CaIG-7EM.js → pt-BR-GjVsCqbN.js} +73 -108
- package/dist/{refresh-cw-CkOYVzK5.js → refresh-cw-OK_O-cL0.js} +1 -1
- package/dist/{runtime-dom.esm-bundler-CepEmvwF.js → runtime-dom.esm-bundler-BgKXIPLV.js} +144 -144
- package/dist/{scan-line-DwSVj25O.js → scan-line-DyaSTsJ5.js} +1 -1
- package/dist/{send-CWsWN8PQ.js → send-B-wasJJC.js} +1 -1
- package/dist/{shield-check-qje8Kufw.js → shield-check-DUIyRrTo.js} +1 -1
- package/dist/{sparkles-DumaWRW-.js → sparkles-DYEMATWC.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/styleConstants-9oK5kn21.js +57 -0
- package/dist/templatical-editor.js +5319 -289
- package/dist/{text-align-start-Ir8Ah4mT.js → text-align-start-CzjLeBLe.js} +1 -1
- package/dist/timeouts-DHPZQ0G3.js +4 -0
- package/dist/{trash-2-CklAFCmO.js → trash-2-C0shEPry.js} +1 -1
- package/dist/{triangle-alert-BBi4n93g.js → triangle-alert-Fw0ce8oQ.js} +1 -1
- package/dist/{upload-sVqqppuv.js → upload-D69C2CBx.js} +3 -4
- package/dist/{useAliveFlag-cvyBxHp7.js → useAliveFlag-BGIAZii_.js} +1 -1
- package/dist/{useCloudI18n-DKVm6PCa.js → useCloudI18n-CAZTZ9_a.js} +2 -2
- package/dist/{useEditorCore-P4UkhcyS.js → useEditorCore-CFLzobo_.js} +1604 -1320
- package/dist/{useI18n-DoVKdCTH.js → useI18n-BfXff_Sy.js} +2 -2
- package/dist/{useMergeTag-CYZk7dZD.js → useMergeTag-Dd4I7kge.js} +3 -3
- package/dist/usePopoverPosition-CxhCX3SQ.js +59 -0
- package/dist/{vue.runtime.esm-bundler-D1diBMsm.js → vue.runtime.esm-bundler-DzEsDRtY.js} +447 -436
- package/dist/{x-Mby7KlhS.js → x-BjTlFqRv.js} +1 -1
- package/package.json +8 -8
- package/dist/AiFeatureMenu-Cy-PVrNT.js +0 -63
- package/dist/BlockPreviewCanvas-BZKslwGI.js +0 -121
- package/dist/CloudEditor-CPRkQCRa.js +0 -1188
- package/dist/ColorPicker-ClETsjA3.js +0 -550
- package/dist/CommentsSidebar-CdRCCSDD.js +0 -435
- package/dist/SaveBlockDialog-21vDlEBS.js +0 -265
- package/dist/SnapshotHistory-Cb4WW2gf.js +0 -128
- package/dist/TestEmailModal-BHDKmd6B.js +0 -205
- package/dist/TitleEditor-Cy4B3UNe.js +0 -198
- package/dist/TplModal-Dv9zgSWI.js +0 -49
- package/dist/cdn/chunks/AiChatSidebar-CQ8KUmNB.js.map +0 -1
- package/dist/cdn/chunks/AiFeatureMenu-Cb9gaRBn.js +0 -63
- package/dist/cdn/chunks/AiFeatureMenu-Cb9gaRBn.js.map +0 -1
- package/dist/cdn/chunks/CloudEditor-DbyEsIxu.js +0 -1166
- package/dist/cdn/chunks/CloudEditor-DbyEsIxu.js.map +0 -1
- package/dist/cdn/chunks/CollaboratorBar-G_sZDZXw.js.map +0 -1
- package/dist/cdn/chunks/ColorPicker-W_UyiVGc.js +0 -552
- package/dist/cdn/chunks/ColorPicker-W_UyiVGc.js.map +0 -1
- package/dist/cdn/chunks/CommentsSidebar-BLRZRSSC.js +0 -412
- package/dist/cdn/chunks/CommentsSidebar-BLRZRSSC.js.map +0 -1
- package/dist/cdn/chunks/DesignReferenceSidebar-B-HFXV0W.js.map +0 -1
- package/dist/cdn/chunks/IssuesPanel-DKTS4QVb.js.map +0 -1
- package/dist/cdn/chunks/MergeTagSuggestion-Dn8dExNa.js.map +0 -1
- package/dist/cdn/chunks/NumberWithSuffix-BXrRdfq1.js.map +0 -1
- package/dist/cdn/chunks/ParagraphEditor-CZ5Z6AgG.js.map +0 -1
- package/dist/cdn/chunks/RichTextEditorContent-DtL49Jpo.js.map +0 -1
- package/dist/cdn/chunks/SaveBlockDialog-CVIVZEuy.js +0 -264
- package/dist/cdn/chunks/SaveBlockDialog-CVIVZEuy.js.map +0 -1
- package/dist/cdn/chunks/SavedBlocksBrowserModal-BkQXEUE2.js.map +0 -1
- package/dist/cdn/chunks/SavedBlocksPickBar-C80qJykl.js.map +0 -1
- package/dist/cdn/chunks/SnapshotHistory-DFinMrg_.js +0 -121
- package/dist/cdn/chunks/SnapshotHistory-DFinMrg_.js.map +0 -1
- package/dist/cdn/chunks/TemplateScoringPanel-NucRtAP0.js.map +0 -1
- package/dist/cdn/chunks/TestEmailModal-IxS-QjeH.js +0 -205
- package/dist/cdn/chunks/TestEmailModal-IxS-QjeH.js.map +0 -1
- package/dist/cdn/chunks/TitleEditor-C8WDXf4P.js.map +0 -1
- package/dist/cdn/chunks/TplModal-Ce0QuHyo.js +0 -50
- package/dist/cdn/chunks/TplModal-Ce0QuHyo.js.map +0 -1
- package/dist/cdn/chunks/ca-D1zgI9fQ.js.map +0 -1
- package/dist/cdn/chunks/cloud-DcC8bPwn.js +0 -1787
- package/dist/cdn/chunks/cloud-DcC8bPwn.js.map +0 -1
- package/dist/cdn/chunks/de-DHra3lvx.js.map +0 -1
- package/dist/cdn/chunks/de-uVoSP1xF.js.map +0 -1
- package/dist/cdn/chunks/en-CjhsJxb-.js.map +0 -1
- package/dist/cdn/chunks/en-DlqX2YWZ.js.map +0 -1
- package/dist/cdn/chunks/es-Cuss2snv.js.map +0 -1
- package/dist/cdn/chunks/fr-Cm85vB2g.js.map +0 -1
- package/dist/cdn/chunks/keys-Cmc2Yl3D.js.map +0 -1
- package/dist/cdn/chunks/nl-dmiIX7oT.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-CTzHTqJD.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-CaIG-7EM.js.map +0 -1
- package/dist/cdn/chunks/src-BwbnXShT.js.map +0 -1
- package/dist/cdn/chunks/src-xkGep9eN.js.map +0 -1
- package/dist/cdn/chunks/styles-DLAfU4Uf.js +0 -4140
- package/dist/cdn/chunks/styles-DLAfU4Uf.js.map +0 -1
- package/dist/cdn/chunks/timeouts-SsLMC4a3.js +0 -6
- package/dist/cdn/chunks/timeouts-SsLMC4a3.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-CcgxY-Gy.js.map +0 -1
- package/dist/styles-Dx__pP9O.js +0 -4318
- package/dist/usePopoverPosition-C0dPEF4X.js +0 -308
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { r as m } from "./runtime-dom.esm-bundler-
|
|
2
|
+
import { $ as t, A as n, D as r, E as i, H as a, J as o, K as s, Q as ee, R as te, T as c, X as l, b as u, ot as d, rt as f, v as p, y as ne } from "./vue.runtime.esm-bundler-DzEsDRtY.js";
|
|
3
|
+
import { r as m } from "./runtime-dom.esm-bundler-BgKXIPLV.js";
|
|
4
4
|
import { $ as re, $t as ie, A as ae, An as oe, At as se, B as ce, Bt as le, C as ue, Cn as de, Ct as fe, D as h, Dn as g, Dt as _, E as v, En as y, Et as b, F as x, Fn as S, Ft as C, G as w, Gt as T, H as E, Ht as D, I as O, In as k, It as A, J as j, Jt as M, K as N, Kt as P, L as F, Ln as I, Lt as L, M as R, Mn as z, Mt as B, N as V, Nn as pe, Nt as me, O as he, On as ge, Ot as _e, P as ve, Pn as ye, Pt as be, Q as xe, Qt as Se, R as Ce, Rn as we, Rt as Te, S as Ee, Sn as De, St as Oe, T as ke, Tn as Ae, Tt as je, U as Me, Ut as H, V as Ne, Vt as Pe, W as Fe, Wt as Ie, X as Le, Xt as Re, Y as ze, Yt as Be, Z as Ve, Zt as He, _ as U, _n as Ue, _t as We, a as Ge, an as Ke, at as qe, b as Je, bn as Ye, bt as Xe, c as Ze, cn as Qe, ct as $e, d as et, dn as tt, dt as W, en as nt, et as rt, f as it, fn as at, ft as ot, g as st, gn as ct, gt as lt, h as ut, hn as dt, ht as ft, i as pt, in as mt, it as ht, j as gt, jn as _t, jt as vt, k as yt, kn as bt, kt as xt, l as St, ln as Ct, lt as wt, m as Tt, mn as Et, mt as Dt, n as Ot, nn as kt, nt as At, o as jt, on as Mt, ot as Nt, p as G, pn as Pt, pt as Ft, q as It, qt as Lt, r as Rt, rn as zt, rt as Bt, s as Vt, sn as Ht, st as Ut, t as Wt, tn as Gt, tt as Kt, u as qt, un as Jt, ut as Yt, v as Xt, vn as Zt, vt as Qt, w as $t, wn as en, wt as tn, x as nn, xn as rn, xt as an, y as on, yn as sn, yt as cn, z as ln, zn as un, zt as dn } from "./dist-ChYLhoJ4.js";
|
|
5
5
|
//#region ../../node_modules/.pnpm/@tiptap+vue-3@3.30.1_@floating-ui+dom@1.8.0_@tiptap+core@3.30.1_@tiptap+pm@3.30.1__@tip_771dbc12d4bdce024804a32b81522205/node_modules/@tiptap/vue-3/dist/index.js
|
|
6
6
|
var fn = /* @__PURE__ */ e({
|
|
@@ -166,7 +166,7 @@ var fn = /* @__PURE__ */ e({
|
|
|
166
166
|
wrappingInputRule: () => un
|
|
167
167
|
});
|
|
168
168
|
function K(e) {
|
|
169
|
-
return
|
|
169
|
+
return a((t, n) => ({
|
|
170
170
|
get() {
|
|
171
171
|
return t(), e;
|
|
172
172
|
},
|
|
@@ -183,7 +183,7 @@ var q = class extends Ge {
|
|
|
183
183
|
constructor(e = {}) {
|
|
184
184
|
return super(e), this.contentComponent = null, this.appContext = null, this.reactiveState = K(this.view.state), this.reactiveExtensionStorage = K(this.extensionStorage), this.on("beforeTransaction", ({ nextState: e }) => {
|
|
185
185
|
this.reactiveState.value = e, this.reactiveExtensionStorage.value = this.extensionStorage;
|
|
186
|
-
}),
|
|
186
|
+
}), s(this);
|
|
187
187
|
}
|
|
188
188
|
get state() {
|
|
189
189
|
return this.reactiveState ? this.reactiveState.value : this.view.state;
|
|
@@ -199,35 +199,35 @@ var q = class extends Ge {
|
|
|
199
199
|
let t = super.unregisterPlugin(e);
|
|
200
200
|
return this.reactiveState && t && (this.reactiveState.value = t), t;
|
|
201
201
|
}
|
|
202
|
-
}, pn =
|
|
202
|
+
}, pn = p({
|
|
203
203
|
name: "EditorContent",
|
|
204
204
|
props: { editor: {
|
|
205
205
|
default: null,
|
|
206
206
|
type: Object
|
|
207
207
|
} },
|
|
208
208
|
setup(e) {
|
|
209
|
-
let t =
|
|
210
|
-
return
|
|
209
|
+
let t = l(), n = ne();
|
|
210
|
+
return te(() => {
|
|
211
211
|
let r = e.editor;
|
|
212
|
-
r && r.options.element && t.value &&
|
|
212
|
+
r && r.options.element && t.value && c(() => {
|
|
213
213
|
if (!t.value || !r.view.dom?.parentNode) return;
|
|
214
|
-
let e =
|
|
214
|
+
let e = f(t.value);
|
|
215
215
|
t.value.append(...r.view.dom.parentNode.childNodes), r.contentComponent = n.ctx._, n && (r.appContext = {
|
|
216
216
|
...n.appContext,
|
|
217
217
|
provides: n.provides
|
|
218
218
|
}), r.setOptions({ element: e }), r.createNodeViews();
|
|
219
219
|
});
|
|
220
|
-
}),
|
|
220
|
+
}), i(() => {
|
|
221
221
|
let t = e.editor;
|
|
222
222
|
t && (t.contentComponent = null, t.appContext = null);
|
|
223
223
|
}), { rootEl: t };
|
|
224
224
|
},
|
|
225
225
|
render() {
|
|
226
|
-
return
|
|
226
|
+
return u("div", { ref: (e) => {
|
|
227
227
|
this.rootEl = e;
|
|
228
228
|
} });
|
|
229
229
|
}
|
|
230
|
-
}), mn =
|
|
230
|
+
}), mn = p({
|
|
231
231
|
name: "NodeViewContent",
|
|
232
232
|
props: { as: {
|
|
233
233
|
type: String,
|
|
@@ -243,12 +243,12 @@ var q = class extends Ge {
|
|
|
243
243
|
e && e(null);
|
|
244
244
|
},
|
|
245
245
|
render() {
|
|
246
|
-
return
|
|
246
|
+
return u(this.as, {
|
|
247
247
|
style: { whiteSpace: "pre-wrap" },
|
|
248
248
|
"data-node-view-content": ""
|
|
249
249
|
});
|
|
250
250
|
}
|
|
251
|
-
}), J =
|
|
251
|
+
}), J = p({
|
|
252
252
|
name: "NodeViewWrapper",
|
|
253
253
|
props: { as: {
|
|
254
254
|
type: String,
|
|
@@ -257,7 +257,7 @@ var q = class extends Ge {
|
|
|
257
257
|
inject: ["onDragStart", "decorationClasses"],
|
|
258
258
|
render() {
|
|
259
259
|
var e;
|
|
260
|
-
return
|
|
260
|
+
return u(this.as, {
|
|
261
261
|
class: this.decorationClasses,
|
|
262
262
|
style: { whiteSpace: "normal" },
|
|
263
263
|
"data-node-view-wrapper": "",
|
|
@@ -265,16 +265,16 @@ var q = class extends Ge {
|
|
|
265
265
|
}, (e = this.$slots).default?.call(e));
|
|
266
266
|
}
|
|
267
267
|
}), hn = (e = {}) => {
|
|
268
|
-
let
|
|
269
|
-
return
|
|
270
|
-
|
|
271
|
-
}),
|
|
268
|
+
let t = ee();
|
|
269
|
+
return r(() => {
|
|
270
|
+
t.value = new q(e);
|
|
271
|
+
}), i(() => {
|
|
272
272
|
var e;
|
|
273
|
-
(e =
|
|
274
|
-
}),
|
|
273
|
+
(e = t.value) == null || e.destroy();
|
|
274
|
+
}), t;
|
|
275
275
|
}, Y = class {
|
|
276
|
-
constructor(e, { props: t = {}, editor:
|
|
277
|
-
this.destroyed = !1, this.editor =
|
|
276
|
+
constructor(e, { props: t = {}, editor: n }) {
|
|
277
|
+
this.destroyed = !1, this.editor = n, this.component = s(e), this.el = document.createElement("div"), this.props = o(t), this.renderedComponent = this.renderComponent();
|
|
278
278
|
}
|
|
279
279
|
get element() {
|
|
280
280
|
return this.renderedComponent.el;
|
|
@@ -284,7 +284,7 @@ var q = class extends Ge {
|
|
|
284
284
|
}
|
|
285
285
|
renderComponent() {
|
|
286
286
|
if (this.destroyed) return this.renderedComponent;
|
|
287
|
-
let e =
|
|
287
|
+
let e = u(this.component, this.props);
|
|
288
288
|
return this.editor.appContext && (e.appContext = this.editor.appContext), typeof document < "u" && this.el && m(e, this.el), {
|
|
289
289
|
vNode: e,
|
|
290
290
|
destroy: () => {
|
|
@@ -330,14 +330,14 @@ var q = class extends Ge {
|
|
|
330
330
|
type: Object,
|
|
331
331
|
required: !0
|
|
332
332
|
}
|
|
333
|
-
}, _n =
|
|
333
|
+
}, _n = p({
|
|
334
334
|
name: "MarkViewContent",
|
|
335
335
|
props: { as: {
|
|
336
336
|
type: String,
|
|
337
337
|
default: "span"
|
|
338
338
|
} },
|
|
339
339
|
render() {
|
|
340
|
-
return
|
|
340
|
+
return u(this.as, {
|
|
341
341
|
style: { whiteSpace: "inherit" },
|
|
342
342
|
"data-mark-view-content": ""
|
|
343
343
|
});
|
|
@@ -348,7 +348,7 @@ var q = class extends Ge {
|
|
|
348
348
|
let r = {
|
|
349
349
|
...t,
|
|
350
350
|
updateAttributes: this.updateAttributes.bind(this)
|
|
351
|
-
}, i =
|
|
351
|
+
}, i = p({
|
|
352
352
|
extends: { ...e },
|
|
353
353
|
props: Object.keys(r),
|
|
354
354
|
template: this.component.template,
|
|
@@ -370,8 +370,8 @@ var q = class extends Ge {
|
|
|
370
370
|
return this.dom.querySelector("[data-mark-view-content]");
|
|
371
371
|
}
|
|
372
372
|
updateAttributes(e) {
|
|
373
|
-
let
|
|
374
|
-
super.updateAttributes(e,
|
|
373
|
+
let n = t(this.mark);
|
|
374
|
+
super.updateAttributes(e, n);
|
|
375
375
|
}
|
|
376
376
|
destroy() {
|
|
377
377
|
this.renderer.destroy();
|
|
@@ -454,15 +454,15 @@ var yn = {
|
|
|
454
454
|
getPos: () => this.getPos(),
|
|
455
455
|
updateAttributes: (e = {}) => this.updateAttributes(e),
|
|
456
456
|
deleteNode: () => this.deleteNode()
|
|
457
|
-
}, t = e,
|
|
458
|
-
this.decorationClasses =
|
|
459
|
-
let
|
|
457
|
+
}, t = e, r = this.onDragStart.bind(this);
|
|
458
|
+
this.decorationClasses = l(this.getDecorationClasses());
|
|
459
|
+
let i = p({
|
|
460
460
|
extends: { ...this.component },
|
|
461
461
|
props: Object.keys(e),
|
|
462
462
|
template: this.component.template,
|
|
463
463
|
setup: (e) => {
|
|
464
464
|
var t;
|
|
465
|
-
return
|
|
465
|
+
return n("onDragStart", r), n("decorationClasses", this.decorationClasses), n("nodeViewContentRef", (e) => {
|
|
466
466
|
if (!(!e || e === this.contentDOMElement)) {
|
|
467
467
|
if (this.contentDOMElement) for (; this.contentDOMElement.firstChild;) e.appendChild(this.contentDOMElement.firstChild);
|
|
468
468
|
this.contentDOMElement = e;
|
|
@@ -474,7 +474,7 @@ var yn = {
|
|
|
474
474
|
__name: this.component.__name,
|
|
475
475
|
__file: this.component.__file
|
|
476
476
|
});
|
|
477
|
-
this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this), this.editor.on("selectionUpdate", this.handleSelectionUpdate), this.currentPos = this.getPos(), this.node.isLeaf || (this.contentDOMElement = this.options.contentDOMElementTag ? document.createElement(this.options.contentDOMElementTag) : document.createElement(this.node.isInline ? "span" : "div"), this.contentDOMElement.style.whiteSpace = "inherit", this.contentDOMElement.dataset.nodeViewContentVue = ""), this.renderer = new Y(
|
|
477
|
+
this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this), this.editor.on("selectionUpdate", this.handleSelectionUpdate), this.currentPos = this.getPos(), this.node.isLeaf || (this.contentDOMElement = this.options.contentDOMElementTag ? document.createElement(this.options.contentDOMElementTag) : document.createElement(this.node.isInline ? "span" : "div"), this.contentDOMElement.style.whiteSpace = "inherit", this.contentDOMElement.dataset.nodeViewContentVue = ""), this.renderer = new Y(i, {
|
|
478
478
|
editor: this.editor,
|
|
479
479
|
props: t
|
|
480
480
|
});
|
|
@@ -557,7 +557,7 @@ function Q(e, t) {
|
|
|
557
557
|
if (!r) return;
|
|
558
558
|
(n = r.mixins) == null || n.forEach((e) => Q(e, t)), Q(r.extends, t);
|
|
559
559
|
let { props: i } = r;
|
|
560
|
-
Array.isArray(i) ? i.forEach((e) => t.add(
|
|
560
|
+
Array.isArray(i) ? i.forEach((e) => t.add(d(e))) : i && Object.keys(i).forEach((e) => t.add(d(e)));
|
|
561
561
|
}
|
|
562
562
|
function $(e, t) {
|
|
563
563
|
let n = /* @__PURE__ */ new Set();
|
|
@@ -567,7 +567,7 @@ function $(e, t) {
|
|
|
567
567
|
"editor",
|
|
568
568
|
"getPos",
|
|
569
569
|
...Object.keys(t)
|
|
570
|
-
]) n.has(
|
|
570
|
+
]) n.has(d(e)) || (r[e] = null);
|
|
571
571
|
return r;
|
|
572
572
|
}
|
|
573
573
|
function xn(e, t) {
|
|
@@ -582,17 +582,17 @@ function Sn(e, t) {
|
|
|
582
582
|
}
|
|
583
583
|
var Cn = /* @__PURE__ */ Symbol("tiptapVueWidgetCache");
|
|
584
584
|
function wn(e, t) {
|
|
585
|
-
let { editor:
|
|
585
|
+
let { editor: n, props: r = {} } = t, i = Tn(e) ? Sn(e, r) : En(e, r);
|
|
586
586
|
return O({
|
|
587
587
|
...t,
|
|
588
|
-
props:
|
|
588
|
+
props: r,
|
|
589
589
|
cacheKey: Cn,
|
|
590
590
|
context: (e) => ({
|
|
591
|
-
editor: n
|
|
591
|
+
editor: s(n),
|
|
592
592
|
getPos: e
|
|
593
593
|
}),
|
|
594
|
-
create: (e) => new Y(
|
|
595
|
-
editor:
|
|
594
|
+
create: (e) => new Y(i, {
|
|
595
|
+
editor: n,
|
|
596
596
|
props: e
|
|
597
597
|
}),
|
|
598
598
|
materialize: (e) => e.element
|
|
@@ -602,7 +602,7 @@ function Tn(e) {
|
|
|
602
602
|
return typeof e == "function";
|
|
603
603
|
}
|
|
604
604
|
function En(e, t) {
|
|
605
|
-
return
|
|
605
|
+
return p({
|
|
606
606
|
extends: { ...e },
|
|
607
607
|
props: $(e, t),
|
|
608
608
|
template: e.template,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as e, G as t, L as n, Q as r, S as i, T as a, U as o, X as s, Z as c, q as l, tt as u, x as d, y as f } from "./vue.runtime.esm-bundler-DzEsDRtY.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@vueuse+shared@14.4.0_vue@3.5.41_typescript@6.0.3_/node_modules/@vueuse/shared/dist/index.js
|
|
3
|
-
function p(e,
|
|
4
|
-
return
|
|
3
|
+
function p(e, t) {
|
|
4
|
+
return o() ? (l(e, t), !0) : !1;
|
|
5
5
|
}
|
|
6
6
|
var m = /* @__PURE__ */ new WeakMap(), h = (...e) => {
|
|
7
|
-
let
|
|
8
|
-
if (
|
|
9
|
-
return
|
|
7
|
+
let t = e[0], n = f()?.proxy ?? o();
|
|
8
|
+
if (n == null && !d()) throw Error("injectLocal must be called in setup");
|
|
9
|
+
return n && m.has(n) && t in m.get(n) ? m.get(n)[t] : i(...e);
|
|
10
10
|
}, g = typeof window < "u" && typeof document < "u";
|
|
11
11
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
12
12
|
var _ = (e) => e != null, v = Object.prototype.toString, y = (e) => v.call(e) === "[object Object]", b = () => {}, x = /* #__PURE__ */ S();
|
|
@@ -32,30 +32,30 @@ function C(e, t) {
|
|
|
32
32
|
}
|
|
33
33
|
var w = (e) => e();
|
|
34
34
|
function T(e, t = {}) {
|
|
35
|
-
let n,
|
|
36
|
-
clearTimeout(e),
|
|
35
|
+
let n, i, a = b, o = b, s = r(!1), l = (e) => {
|
|
36
|
+
clearTimeout(e), a(), a = b;
|
|
37
37
|
}, d;
|
|
38
|
-
return Object.assign((
|
|
39
|
-
let
|
|
40
|
-
return n &&
|
|
41
|
-
|
|
42
|
-
n &&
|
|
38
|
+
return Object.assign((r) => {
|
|
39
|
+
let c = u(e), f = u(t.maxWait);
|
|
40
|
+
return n && l(n), c <= 0 || f !== void 0 && f <= 0 ? (i &&= (l(i), void 0), s.value = !1, Promise.resolve(r())) : (s.value = !0, new Promise((e, u) => {
|
|
41
|
+
a = t.rejectOnCancel ? u : e, o = e, d = r, f && !i && (i = setTimeout(() => {
|
|
42
|
+
n && l(n), i = void 0, s.value = !1, e(d());
|
|
43
43
|
}, f)), n = setTimeout(() => {
|
|
44
|
-
|
|
45
|
-
},
|
|
44
|
+
i && l(i), i = void 0, s.value = !1, e(r());
|
|
45
|
+
}, c);
|
|
46
46
|
}));
|
|
47
47
|
}, {
|
|
48
48
|
cancel: () => {
|
|
49
|
-
n &&= (
|
|
49
|
+
n &&= (l(n), void 0), i &&= (l(i), void 0), s.value = !1, o = b;
|
|
50
50
|
},
|
|
51
51
|
flush: () => {
|
|
52
|
-
if (
|
|
53
|
-
n &&= (clearTimeout(n), void 0),
|
|
52
|
+
if (s.value) {
|
|
53
|
+
n &&= (clearTimeout(n), void 0), i &&= (clearTimeout(i), void 0), s.value = !1;
|
|
54
54
|
let e = o;
|
|
55
|
-
|
|
55
|
+
a = b, o = b, e(d());
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
|
-
isPending:
|
|
58
|
+
isPending: c(s)
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
function E(e) {
|
|
@@ -65,73 +65,73 @@ function D(e) {
|
|
|
65
65
|
return Array.isArray(e) ? e : [e];
|
|
66
66
|
}
|
|
67
67
|
function O(e) {
|
|
68
|
-
return e ||
|
|
68
|
+
return e || f();
|
|
69
69
|
}
|
|
70
70
|
function k(e, t = 200, n = {}) {
|
|
71
71
|
return C(T(t, n), e);
|
|
72
72
|
}
|
|
73
73
|
function A(e, t = 200, r = {}) {
|
|
74
|
-
let i =
|
|
74
|
+
let i = s(u(e)), a = k(() => {
|
|
75
75
|
i.value = e.value;
|
|
76
76
|
}, t, r);
|
|
77
|
-
return n(e, () =>
|
|
77
|
+
return n(e, () => a()), c(i);
|
|
78
78
|
}
|
|
79
79
|
function j(e, t, r = {}) {
|
|
80
80
|
let { eventFilter: i = w, ...a } = r;
|
|
81
81
|
return n(e, C(i, t), a);
|
|
82
82
|
}
|
|
83
83
|
function M(t, n = !0, r) {
|
|
84
|
-
O(r) ? e(t, r) : n ? t() :
|
|
84
|
+
O(r) ? e(t, r) : n ? t() : a(t);
|
|
85
85
|
}
|
|
86
|
-
function N(e,
|
|
87
|
-
let { immediate: o = !0, immediateCallback:
|
|
86
|
+
function N(e, i = 1e3, a = {}) {
|
|
87
|
+
let { immediate: o = !0, immediateCallback: s = !1 } = a, l = null, d = r(!1);
|
|
88
88
|
function f() {
|
|
89
|
-
|
|
89
|
+
l &&= (clearInterval(l), null);
|
|
90
90
|
}
|
|
91
91
|
function m() {
|
|
92
92
|
d.value = !1, f();
|
|
93
93
|
}
|
|
94
94
|
function h() {
|
|
95
|
-
let
|
|
96
|
-
|
|
95
|
+
let t = u(i);
|
|
96
|
+
t <= 0 || (d.value = !0, s && e(), f(), d.value && (l = setInterval(e, t)));
|
|
97
97
|
}
|
|
98
|
-
return o && g && h(), (i
|
|
98
|
+
return o && g && h(), (t(i) || typeof i == "function") && p(n(i, () => {
|
|
99
99
|
d.value && g && h();
|
|
100
100
|
})), p(m), {
|
|
101
|
-
isActive:
|
|
101
|
+
isActive: c(d),
|
|
102
102
|
pause: m,
|
|
103
103
|
resume: h
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
106
|
function P(e, t, n = {}) {
|
|
107
|
-
let { immediate:
|
|
108
|
-
function
|
|
109
|
-
|
|
107
|
+
let { immediate: i = !0, immediateCallback: a = !1 } = n, o = r(!1), s;
|
|
108
|
+
function l() {
|
|
109
|
+
s &&= (clearTimeout(s), void 0);
|
|
110
110
|
}
|
|
111
111
|
function d() {
|
|
112
|
-
o.value = !1,
|
|
112
|
+
o.value = !1, l();
|
|
113
113
|
}
|
|
114
114
|
function f(...n) {
|
|
115
|
-
|
|
116
|
-
o.value = !1,
|
|
117
|
-
},
|
|
115
|
+
a && e(), l(), o.value = !0, s = setTimeout(() => {
|
|
116
|
+
o.value = !1, s = void 0, e(...n);
|
|
117
|
+
}, u(t));
|
|
118
118
|
}
|
|
119
|
-
return
|
|
120
|
-
isPending:
|
|
119
|
+
return i && (o.value = !0, g && f()), p(d), {
|
|
120
|
+
isPending: c(o),
|
|
121
121
|
start: f,
|
|
122
122
|
stop: d
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
|
-
function F(e = !1,
|
|
126
|
-
let { truthyValue:
|
|
125
|
+
function F(e = !1, n = {}) {
|
|
126
|
+
let { truthyValue: i = !0, falsyValue: a = !1 } = n, o = t(e), s = r(e);
|
|
127
127
|
function c(e) {
|
|
128
|
-
if (arguments.length) return
|
|
128
|
+
if (arguments.length) return s.value = e, s.value;
|
|
129
129
|
{
|
|
130
|
-
let e =
|
|
131
|
-
return
|
|
130
|
+
let e = u(i);
|
|
131
|
+
return s.value = s.value === e ? u(a) : e, s.value;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
return
|
|
134
|
+
return o ? c : [s, c];
|
|
135
135
|
}
|
|
136
136
|
function I(e, t, n = {}) {
|
|
137
137
|
let { debounce: r = 0, maxWait: i = void 0, ...a } = n;
|
|
@@ -4,10 +4,31 @@ var e = {
|
|
|
4
4
|
poweredBy: "Powered by",
|
|
5
5
|
openSource: "Open Source"
|
|
6
6
|
},
|
|
7
|
+
header: {
|
|
8
|
+
save: "Save",
|
|
9
|
+
saving: "Saving...",
|
|
10
|
+
saved: "Saved",
|
|
11
|
+
unsaved: "Unsaved",
|
|
12
|
+
saveFailed: "Save failed",
|
|
13
|
+
saveNoTemplate: "Load or create a template first",
|
|
14
|
+
templateName: "Template name",
|
|
15
|
+
rename: "Rename template",
|
|
16
|
+
untitled: "Untitled",
|
|
17
|
+
updatedAt: "Updated {time}",
|
|
18
|
+
createdAt: "Created {time}",
|
|
19
|
+
updatedJustNow: "Updated just now",
|
|
20
|
+
createdJustNow: "Created just now"
|
|
21
|
+
},
|
|
22
|
+
time: {
|
|
23
|
+
justNow: "Just now",
|
|
24
|
+
minutesAgo: "{minutes}m ago",
|
|
25
|
+
hoursAgo: "{hours}h ago",
|
|
26
|
+
daysAgo: "{days}d ago"
|
|
27
|
+
},
|
|
7
28
|
history: {
|
|
29
|
+
collabWarning: "Undo may affect collaborators' recent changes",
|
|
8
30
|
undo: "Undo",
|
|
9
|
-
redo: "Redo"
|
|
10
|
-
collabWarning: "Undo may affect collaborators' recent changes"
|
|
31
|
+
redo: "Redo"
|
|
11
32
|
},
|
|
12
33
|
viewport: {
|
|
13
34
|
label: "Viewport",
|
|
@@ -78,8 +99,7 @@ var e = {
|
|
|
78
99
|
highlightColor: "Highlight Color",
|
|
79
100
|
lineHeight: "Line Height",
|
|
80
101
|
letterSpacing: "Letter Spacing",
|
|
81
|
-
emojiItemLabel: "Insert emoji {emoji}"
|
|
82
|
-
closeEmojiPicker: "Close emoji picker"
|
|
102
|
+
emojiItemLabel: "Insert emoji {emoji}"
|
|
83
103
|
},
|
|
84
104
|
blockActions: {
|
|
85
105
|
drag: "Drag to reorder, or press Space to move with keyboard",
|
|
@@ -147,6 +167,7 @@ var e = {
|
|
|
147
167
|
linkUrl: "Link URL",
|
|
148
168
|
openInNewTab: "Open in new tab",
|
|
149
169
|
placeholderUrl: "Placeholder Image",
|
|
170
|
+
optional: "(optional)",
|
|
150
171
|
placeholderUrlPlaceholder: "https://... (design-time only)",
|
|
151
172
|
placeholderUrlTooltip: "Since the image URL uses a merge tag, you can provide a real image here to preview the layout while designing. This is not included in the final output.",
|
|
152
173
|
clickToAdd: "Click to add image URL",
|
|
@@ -159,9 +180,6 @@ var e = {
|
|
|
159
180
|
video: {
|
|
160
181
|
videoUrl: "Video URL",
|
|
161
182
|
videoUrlPlaceholder: "https://youtube.com/...",
|
|
162
|
-
youtube: "YouTube",
|
|
163
|
-
vimeo: "Vimeo",
|
|
164
|
-
detected: "Video detected — thumbnail will be generated automatically",
|
|
165
183
|
openInNewTab: "Open in new tab",
|
|
166
184
|
customThumbnail: "Custom Thumbnail",
|
|
167
185
|
optional: "(optional)",
|
|
@@ -204,8 +222,6 @@ var e = {
|
|
|
204
222
|
addIcon: "Add Icon",
|
|
205
223
|
addIcons: "Add social icons",
|
|
206
224
|
removeIcon: "Remove",
|
|
207
|
-
platform: "Platform",
|
|
208
|
-
url: "URL",
|
|
209
225
|
urlPlaceholder: "https://...",
|
|
210
226
|
style: "Style",
|
|
211
227
|
styleSolid: "Solid",
|
|
@@ -244,7 +260,6 @@ var e = {
|
|
|
244
260
|
addItem: "Add Item",
|
|
245
261
|
removeItem: "Remove",
|
|
246
262
|
text: "Text",
|
|
247
|
-
url: "URL",
|
|
248
263
|
urlPlaceholder: "https://example.com",
|
|
249
264
|
openInNewTab: "Open in new tab",
|
|
250
265
|
bold: "Bold",
|
|
@@ -263,10 +278,6 @@ var e = {
|
|
|
263
278
|
dimensions: "Dimensions",
|
|
264
279
|
rows: "Rows",
|
|
265
280
|
columns: "Columns",
|
|
266
|
-
addRow: "Add Row",
|
|
267
|
-
removeRow: "Remove Row",
|
|
268
|
-
addColumn: "Add Column",
|
|
269
|
-
removeColumn: "Remove Column",
|
|
270
281
|
hasHeaderRow: "Header row",
|
|
271
282
|
headerBackgroundColor: "Header Background",
|
|
272
283
|
noHeaderBg: "No background",
|
|
@@ -412,7 +423,6 @@ var e = {
|
|
|
412
423
|
noResults: "No matching merge tags",
|
|
413
424
|
empty: "No merge tags configured",
|
|
414
425
|
otherGroup: "Other",
|
|
415
|
-
cancel: "Cancel",
|
|
416
426
|
close: "Close",
|
|
417
427
|
groupCount: "{count}",
|
|
418
428
|
sample: "Preview: {sample}"
|
|
@@ -440,90 +450,6 @@ var e = {
|
|
|
440
450
|
aiHintDesign: "Have an existing design? Upload a screenshot, image, or PDF and",
|
|
441
451
|
aiHintDesignSuffix: "will instantly recreate it"
|
|
442
452
|
},
|
|
443
|
-
mediaLibrary: {
|
|
444
|
-
title: "Media Library",
|
|
445
|
-
searchPlaceholder: "Search files...",
|
|
446
|
-
allFiles: "All Files",
|
|
447
|
-
filterAll: "All Types",
|
|
448
|
-
filterImages: "Images",
|
|
449
|
-
filterDocuments: "Documents",
|
|
450
|
-
filterVideos: "Videos",
|
|
451
|
-
filterAudio: "Audio",
|
|
452
|
-
newFolder: "New Folder",
|
|
453
|
-
folderName: "Folder name",
|
|
454
|
-
noFiles: "No files found",
|
|
455
|
-
dropOrClick: "Drop files here or click to upload",
|
|
456
|
-
acceptedFormats: "Images, PDF, Video, Audio, Documents (max 10MB)",
|
|
457
|
-
uploading: "Uploading...",
|
|
458
|
-
uploadingProgress: "Uploading {current} of {total}...",
|
|
459
|
-
selectImage: "Select Image",
|
|
460
|
-
selectFile: "Select File",
|
|
461
|
-
deleteSelected: "Delete",
|
|
462
|
-
copyUrl: "Copy URL",
|
|
463
|
-
copied: "Copied!",
|
|
464
|
-
browseMedia: "Browse Media Library",
|
|
465
|
-
renameFolder: "Rename folder",
|
|
466
|
-
addSubfolder: "Add subfolder",
|
|
467
|
-
subfolderName: "Subfolder name",
|
|
468
|
-
sortNewest: "Newest First",
|
|
469
|
-
sortOldest: "Oldest First",
|
|
470
|
-
sortNameAsc: "Name A-Z",
|
|
471
|
-
sortNameDesc: "Name Z-A",
|
|
472
|
-
sortSizeAsc: "Smallest First",
|
|
473
|
-
sortSizeDesc: "Largest First",
|
|
474
|
-
moveSelected: "Move",
|
|
475
|
-
moveToRoot: "All Files",
|
|
476
|
-
currentFolder: "(current)",
|
|
477
|
-
confirmDelete: "Delete this file?",
|
|
478
|
-
renameFile: "Rename",
|
|
479
|
-
editFile: "Edit File",
|
|
480
|
-
fileName: "Filename",
|
|
481
|
-
altText: "Alt Text",
|
|
482
|
-
altTextPlaceholder: "Describe this image for accessibility",
|
|
483
|
-
saveChanges: "Save",
|
|
484
|
-
cancel: "Cancel",
|
|
485
|
-
frequentlyUsed: "Frequently Used",
|
|
486
|
-
deleteWarningTitle: "Delete File",
|
|
487
|
-
deleteWarningMessage: "This file will be permanently deleted and cannot be recovered.",
|
|
488
|
-
deleteWarningUsageNote: "The following files are used in templates. Deleting them may break those templates.",
|
|
489
|
-
deleteAnyway: "Delete file",
|
|
490
|
-
usedInTemplates: "Used in {count} template(s)",
|
|
491
|
-
viewGrid: "Grid view",
|
|
492
|
-
viewList: "List view",
|
|
493
|
-
showFolders: "Show folders",
|
|
494
|
-
hideFolders: "Hide folders",
|
|
495
|
-
importFromUrl: "Import from URL",
|
|
496
|
-
importUrlPlaceholder: "https://example.com/image.jpg",
|
|
497
|
-
import: "Import",
|
|
498
|
-
importing: "Importing...",
|
|
499
|
-
importError: "Failed to import from URL",
|
|
500
|
-
conversionLabel: "Size",
|
|
501
|
-
conversionOriginal: "Original",
|
|
502
|
-
conversionSmall: "Small (150px)",
|
|
503
|
-
conversionMedium: "Medium (600px)",
|
|
504
|
-
conversionLarge: "Large (1200px)",
|
|
505
|
-
replaceFile: "Replace File",
|
|
506
|
-
replaceWarningTitle: "Replace File",
|
|
507
|
-
replaceWarningMessage: "You are about to replace this file. The replacement must have the same file extension ({extension}).",
|
|
508
|
-
replaceWarningUsageNote: "This file is used in {count} template(s). Replacing it will update all references.",
|
|
509
|
-
replaceSelectFile: "Select replacement file",
|
|
510
|
-
replace: "Replace",
|
|
511
|
-
replacing: "Replacing...",
|
|
512
|
-
replaceError: "Failed to replace file",
|
|
513
|
-
saving: "Saving...",
|
|
514
|
-
cropAspectRatio: "Aspect Ratio",
|
|
515
|
-
cropFree: "Free",
|
|
516
|
-
cropSquare: "1:1",
|
|
517
|
-
cropLandscape43: "4:3",
|
|
518
|
-
cropLandscape169: "16:9",
|
|
519
|
-
cropOriginal: "Original",
|
|
520
|
-
cropMaxWidth: "Max Width",
|
|
521
|
-
cropMaxHeight: "Max Height",
|
|
522
|
-
cropOutputSize: "Output Size",
|
|
523
|
-
cropPixels: "px",
|
|
524
|
-
cropOptional: "(optional)",
|
|
525
|
-
storageTooltip: "{used} of {total} used ({remaining} remaining)"
|
|
526
|
-
},
|
|
527
453
|
savedBlocks: {
|
|
528
454
|
title: "Saved Blocks",
|
|
529
455
|
saveAsBlock: "Save as Block",
|
|
@@ -563,12 +489,54 @@ var e = {
|
|
|
563
489
|
expand: "Expand",
|
|
564
490
|
collapse: "Collapse",
|
|
565
491
|
expandPreview: "Expand {block} preview",
|
|
566
|
-
collapsePreview: "Collapse {block} preview"
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
492
|
+
collapsePreview: "Collapse {block} preview"
|
|
493
|
+
},
|
|
494
|
+
comments: {
|
|
495
|
+
button: "Comments",
|
|
496
|
+
title: "Comments",
|
|
497
|
+
placeholder: "Write a comment...",
|
|
498
|
+
replyPlaceholder: "Write a reply...",
|
|
499
|
+
reply: "Reply",
|
|
500
|
+
resolve: "Resolve",
|
|
501
|
+
unresolve: "Unresolve",
|
|
502
|
+
delete: "Delete",
|
|
503
|
+
edit: "Edit",
|
|
504
|
+
cancel: "Cancel",
|
|
505
|
+
save: "Save",
|
|
506
|
+
noComments: "No comments yet",
|
|
507
|
+
noCommentsHint: "Start a conversation by adding a comment to the template or a specific block.",
|
|
508
|
+
deleteConfirm: "Delete this comment?",
|
|
509
|
+
filterAll: "All",
|
|
510
|
+
filterUnresolved: "Unresolved",
|
|
511
|
+
filterBlock: "This block",
|
|
512
|
+
jumpToBlock: "Block",
|
|
513
|
+
ownedByYou: "You",
|
|
514
|
+
edited: "edited",
|
|
515
|
+
resolvedBy: "Resolved by {name}",
|
|
516
|
+
replyOne: "{count} Reply",
|
|
517
|
+
replyMany: "{count} Replies",
|
|
518
|
+
missingBlock: "Missing block",
|
|
519
|
+
saveTemplateFirst: "Save the template before commenting on this block."
|
|
520
|
+
},
|
|
521
|
+
versionHistory: {
|
|
522
|
+
tooltip: "Version history",
|
|
523
|
+
dropdownTitle: "Version history",
|
|
524
|
+
empty: "No versions yet",
|
|
525
|
+
auto: "auto",
|
|
526
|
+
olderVersion: "Older version",
|
|
527
|
+
newerVersion: "Newer version"
|
|
528
|
+
},
|
|
529
|
+
versionPreview: {
|
|
530
|
+
message: "You are previewing an earlier version of this template.",
|
|
531
|
+
cancel: "Cancel",
|
|
532
|
+
restore: "Restore this version",
|
|
533
|
+
restoreConfirm: {
|
|
534
|
+
title: "Restore this version?",
|
|
535
|
+
unsavedWithSave: "You have unsaved changes. Save them first and they stay in your history — restore without saving and they are lost.",
|
|
536
|
+
unsavedNoSave: "You have unsaved changes and nowhere to save them. Restoring this version will lose them.",
|
|
537
|
+
saveAndRestore: "Save, then restore",
|
|
538
|
+
restoreAnyway: "Restore anyway",
|
|
539
|
+
cancel: "Cancel"
|
|
572
540
|
}
|
|
573
541
|
},
|
|
574
542
|
previewResolution: {
|
|
@@ -598,7 +566,6 @@ var e = {
|
|
|
598
566
|
},
|
|
599
567
|
sidebarNav: {
|
|
600
568
|
browseSavedBlocks: "Browse saved blocks",
|
|
601
|
-
expandSidebar: "Expand block sidebar",
|
|
602
569
|
palette: "Block palette",
|
|
603
570
|
insertBlock: "Insert {block} block"
|
|
604
571
|
},
|
|
@@ -633,5 +600,3 @@ var e = {
|
|
|
633
600
|
};
|
|
634
601
|
//#endregion
|
|
635
602
|
export { e as default };
|
|
636
|
-
|
|
637
|
-
//# sourceMappingURL=en-DlqX2YWZ.js.map
|