@templatical/editor 0.51.1 → 0.52.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/THIRD_PARTY_NOTICES.md +208 -0
- package/dist/{AiAltTextPopover-BZQ95GXL.js → AiAltTextPopover-DawbUywc.js} +16 -17
- package/dist/{AiAltTextReview-DoBEudnE.js → AiAltTextReview-9ySsXOTU.js} +25 -26
- package/dist/{AiChatPanel-Bs6sES3b.js → AiChatPanel-CupPhmsN.js} +141 -143
- package/dist/{AiPanels-CfN7A-ZA.js → AiPanels-DqT4PgQ0.js} +6 -8
- package/dist/{AiRewriteMenu-C3ZfDDYy.js → AiRewriteMenu-28agTycW.js} +66 -67
- package/dist/BlockIssueBadge-BxpDy3u-.js +33 -0
- package/dist/{BlockPreviewCanvas-BXNLLLYi.js → BlockPreviewCanvas-B-4bmJ3t.js} +26 -27
- package/dist/{CloudHeaderExtras-CsJMEiyN.js → CloudHeaderExtras-QI82yF54.js} +4 -5
- package/dist/{CloudPanels-B4F5m7vy.js → CloudPanels-BKJaLkUN.js} +52 -53
- package/dist/{CollaborationNotices-CNuDp7Y2.js → CollaborationNotices-CTw4JThq.js} +12 -13
- package/dist/{CollaboratorBar-BtHPiuHq.js → CollaboratorBar-CXQqN3VP.js} +16 -17
- package/dist/{CommentsPanel-CyCM-BvT.js → CommentsPanel-DwwFuh1h.js} +3 -5
- package/dist/CommentsSidebar-9ZfiC2DO.js +500 -0
- package/dist/{CountdownBlock-DR4Xm2-T.js → CountdownBlock-CU2yTWtF.js} +21 -22
- package/dist/{CountdownToolbar-CEIMPojJ.js → CountdownToolbar-BqoYzf_6.js} +55 -56
- package/dist/IssuesPanel-4ykrf1ax.js +359 -0
- package/dist/{LoadingTrack-B0RKQWq3.js → LoadingTrack-DM4g6j7b.js} +3 -4
- package/dist/{LogicTagInsertButton-CqfU52CO.js → LogicTagInsertButton-CfscnwCn.js} +243 -250
- package/dist/{MediaEditModal-DHtkZ4OU.js → MediaEditModal-Dy08GEwE.js} +449 -452
- package/dist/{MediaPanels-CGcOB2pR.js → MediaPanels-BgEp7iCp.js} +3 -5
- package/dist/{MergeTagInput-YnEkorTZ.js → MergeTagInput-B9dtUthD.js} +14 -15
- package/dist/{MergeTagModeToggle-Dhb1DAcQ.js → MergeTagModeToggle-DxujhYJ4.js} +30 -31
- package/dist/{MergeTagTextarea-e4lnwtqZ.js → MergeTagTextarea-CPFEjJZd.js} +12 -13
- package/dist/{ParagraphEditor-B6NK0ytw.js → ParagraphEditor-CWXfurGh.js} +233 -236
- package/dist/{RestoreVersionDialog-Bq_IGOLJ.js → RestoreVersionDialog-C4s_JYCx.js} +16 -17
- package/dist/{RichTextEditorContent-AOM6fylS.js → RichTextEditorContent-o6HmE8GR.js} +40 -40
- package/dist/{SaveBlockDialog-C8GngfQx.js → SaveBlockDialog-CWLrly6l.js} +58 -59
- package/dist/SavedBlocksBrowserModal-CE8n4EBS.js +359 -0
- package/dist/{SavedBlocksPanels-C2s3q0pJ.js → SavedBlocksPanels-BE1N9rNZ.js} +7 -9
- package/dist/{SavedBlocksPickBar-BjcTiV87.js → SavedBlocksPickBar-Dwl94xhP.js} +14 -15
- package/dist/{TemplateSettings-BVBWpiDU.js → TemplateSettings-CS0f1Ues.js} +75 -76
- package/dist/{TestEmailModal-SyhO9bn3.js → TestEmailModal-DBD0X5nV.js} +54 -56
- package/dist/{TestEmailPanel-BDd2Rtav.js → TestEmailPanel-DaFjP9QK.js} +3 -5
- package/dist/{TitleEditor-pxD53y_l.js → TitleEditor-DSqtle77.js} +78 -79
- package/dist/{ToggleSwitch-D51U9cmR.js → ToggleSwitch-JykPyD_8.js} +5 -6
- package/dist/{Toolbar-CZSPZYbj.js → Toolbar-BZPFfKrf.js} +977 -985
- package/dist/{TplModal-DCzBzicE.js → TplModal-DLMssVlt.js} +16 -17
- package/dist/{VersionHistoryMenu-BQeWPT85.js → VersionHistoryMenu-BkbYUs0Q.js} +37 -38
- package/dist/{VersionHistoryPanels-BBm7YbRQ.js → VersionHistoryPanels-DP7HaYWv.js} +5 -7
- package/dist/{VersionPreviewBanner-DUGF0tUJ.js → VersionPreviewBanner-DECaBwLq.js} +11 -12
- package/dist/WrapperBlock-BsJv_Fiw.js +44 -0
- package/dist/{_plugin-vue_export-helper-B3ysoDQm.js → _plugin-vue_export-helper-Djzt4Yr7.js} +1 -2
- package/dist/{aiErrors-D5UOoYOt.js → aiErrors-C3QEMB0x.js} +3 -5
- package/dist/{aiImageContext-BH4Ss1h3.js → aiImageContext-BQ5mQ6B5.js} +2 -3
- package/dist/{aiRewritePreview-DLGM05Ge.js → aiRewritePreview-DlMyx6Si.js} +1 -2
- package/dist/{blockTypeIcons-NzaYvAI4.js → blockTypeIcons-BHjlPnPf.js} +23 -23
- package/dist/bundle-stats.json +6 -6
- package/dist/{ca-C7mTzW1r.js → ca-CD-Kt1qz.js} +1 -2
- package/dist/{ca-CYQH3J0b.js → ca-Cc6eL0ZS.js} +1 -2
- package/dist/cdn/chunks/{AiAltTextPopover-CQu0Q_ZX.js → AiAltTextPopover-SEEjkd-I.js} +24 -25
- package/dist/cdn/chunks/{AiAltTextPopover-CQu0Q_ZX.js.map → AiAltTextPopover-SEEjkd-I.js.map} +1 -1
- package/dist/cdn/chunks/{AiAltTextReview-CI2HbWfn.js → AiAltTextReview-BGLLSKLm.js} +43 -44
- package/dist/cdn/chunks/{AiAltTextReview-CI2HbWfn.js.map → AiAltTextReview-BGLLSKLm.js.map} +1 -1
- package/dist/cdn/chunks/{AiChatPanel-BYqn1bKu.js → AiChatPanel-DKDAaBNi.js} +129 -131
- package/dist/cdn/chunks/{AiChatPanel-BYqn1bKu.js.map → AiChatPanel-DKDAaBNi.js.map} +1 -1
- package/dist/cdn/chunks/{AiPanels-CIFKQv8Y.js → AiPanels-0wBarZSH.js} +5 -7
- package/dist/cdn/chunks/{AiPanels-CIFKQv8Y.js.map → AiPanels-0wBarZSH.js.map} +1 -1
- package/dist/cdn/chunks/{AiRewriteMenu-Bhh71zcc.js → AiRewriteMenu-qf-cfEpy.js} +52 -53
- package/dist/cdn/chunks/AiRewriteMenu-qf-cfEpy.js.map +1 -0
- package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js +34 -0
- package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js.map +1 -0
- package/dist/cdn/chunks/{BlockPreviewCanvas-D0--EQkP.js → BlockPreviewCanvas-DGBh6mqe.js} +22 -23
- package/dist/cdn/chunks/{BlockPreviewCanvas-D0--EQkP.js.map → BlockPreviewCanvas-DGBh6mqe.js.map} +1 -1
- package/dist/cdn/chunks/{CloudHeaderExtras-DaUU8P8R.js → CloudHeaderExtras-BMNK_F9p.js} +4 -5
- package/dist/cdn/chunks/{CloudHeaderExtras-DaUU8P8R.js.map → CloudHeaderExtras-BMNK_F9p.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-C3jsxo_f.js → CloudPanels-JMWIoVWh.js} +34 -35
- package/dist/cdn/chunks/{CloudPanels-C3jsxo_f.js.map → CloudPanels-JMWIoVWh.js.map} +1 -1
- package/dist/cdn/chunks/{CollaborationNotices-DjRI8gvs.js → CollaborationNotices-Bsf1rGW9.js} +13 -14
- package/dist/cdn/chunks/{CollaborationNotices-DjRI8gvs.js.map → CollaborationNotices-Bsf1rGW9.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-Dfzm6A9A.js → CollaboratorBar-CXByAoUz.js} +16 -17
- package/dist/cdn/chunks/{CollaboratorBar-Dfzm6A9A.js.map → CollaboratorBar-CXByAoUz.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-CSO79OeX.js → CommentsPanel-DoJnKLXI.js} +4 -6
- package/dist/cdn/chunks/{CommentsPanel-CSO79OeX.js.map → CommentsPanel-DoJnKLXI.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-CCvplq1Z.js → CommentsSidebar-CUtgvdBC.js} +110 -110
- package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js.map +1 -0
- package/dist/cdn/chunks/{CountdownBlock-C6USdwk3.js → CountdownBlock-BqRw147R.js} +19 -20
- package/dist/cdn/chunks/{CountdownBlock-C6USdwk3.js.map → CountdownBlock-BqRw147R.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-Cjud2Tos.js → CountdownToolbar-xobieKoU.js} +28 -29
- package/dist/cdn/chunks/{CountdownToolbar-Cjud2Tos.js.map → CountdownToolbar-xobieKoU.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-BaWHPDxZ.js → IssuesPanel-C7LfxaAY.js} +76 -77
- package/dist/cdn/chunks/{IssuesPanel-BaWHPDxZ.js.map → IssuesPanel-C7LfxaAY.js.map} +1 -1
- package/dist/cdn/chunks/LoadingTrack-CZuLTazv.js +11 -0
- package/dist/cdn/chunks/{LoadingTrack-BIcL4NiY.js.map → LoadingTrack-CZuLTazv.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-CsL2JDOG.js → LogicTagInsertButton-BIi05UQu.js} +258 -265
- package/dist/cdn/chunks/{LogicTagInsertButton-CsL2JDOG.js.map → LogicTagInsertButton-BIi05UQu.js.map} +1 -1
- package/dist/cdn/chunks/{MediaEditModal-BuHCiyMu.js → MediaEditModal-Cpcod6_U.js} +152 -155
- package/dist/cdn/chunks/{MediaEditModal-BuHCiyMu.js.map → MediaEditModal-Cpcod6_U.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-DAgUf_T1.js → MediaPanels-BIdcW_1f.js} +4 -6
- package/dist/cdn/chunks/{MediaPanels-DAgUf_T1.js.map → MediaPanels-BIdcW_1f.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-C8U-7LxL.js → MergeTagInput-BvWg8o5E.js} +35 -36
- package/dist/cdn/chunks/{MergeTagInput-C8U-7LxL.js.map → MergeTagInput-BvWg8o5E.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-Mm-p0A52.js → MergeTagModeToggle-BgKEVUtV.js} +28 -29
- package/dist/cdn/chunks/{MergeTagModeToggle-Mm-p0A52.js.map → MergeTagModeToggle-BgKEVUtV.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagTextarea-DuLScsWM.js → MergeTagTextarea-tBz8McZf.js} +33 -34
- package/dist/cdn/chunks/{MergeTagTextarea-DuLScsWM.js.map → MergeTagTextarea-tBz8McZf.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-CqSj6Ayz.js → ParagraphEditor-B3Rj_cWF.js} +197 -200
- package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js.map +1 -0
- package/dist/cdn/chunks/{RestoreVersionDialog-CdA5osuA.js → RestoreVersionDialog-CjOdD2xj.js} +21 -22
- package/dist/cdn/chunks/{RestoreVersionDialog-CdA5osuA.js.map → RestoreVersionDialog-CjOdD2xj.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-Q1d2xqBT.js → RichTextEditorContent-DNjR_sNN.js} +30 -31
- package/dist/cdn/chunks/{RichTextEditorContent-Q1d2xqBT.js.map → RichTextEditorContent-DNjR_sNN.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-CijargAy.js → SaveBlockDialog-CUhpawq0.js} +77 -78
- package/dist/cdn/chunks/{SaveBlockDialog-CijargAy.js.map → SaveBlockDialog-CUhpawq0.js.map} +1 -1
- package/dist/cdn/chunks/SavedBlocksBrowserModal-BPYcRoGa.js +356 -0
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DtOz_X5S.js.map → SavedBlocksBrowserModal-BPYcRoGa.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-BowyED5h.js → SavedBlocksPanels-C6--Bc81.js} +4 -6
- package/dist/cdn/chunks/{SavedBlocksPanels-BowyED5h.js.map → SavedBlocksPanels-C6--Bc81.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-BPRaJBv3.js → SavedBlocksPickBar-DUavxpbU.js} +16 -17
- package/dist/cdn/chunks/{SavedBlocksPickBar-BPRaJBv3.js.map → SavedBlocksPickBar-DUavxpbU.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-ByZeBO34.js → TemplateSettings-CKtI-dof.js} +72 -73
- package/dist/cdn/chunks/{TemplateSettings-ByZeBO34.js.map → TemplateSettings-CKtI-dof.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-BUVTj3Ic.js → TestEmailModal-CDQTgESD.js} +68 -70
- package/dist/cdn/chunks/{TestEmailModal-BUVTj3Ic.js.map → TestEmailModal-CDQTgESD.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-BxutYoWg.js → TestEmailPanel-CcUpEpAn.js} +4 -6
- package/dist/cdn/chunks/{TestEmailPanel-BxutYoWg.js.map → TestEmailPanel-CcUpEpAn.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-Ccv6uoTz.js → TitleEditor-Cob7RLyK.js} +71 -72
- package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js.map +1 -0
- package/dist/cdn/chunks/{ToggleSwitch-Ctdmj621.js → ToggleSwitch-J7Vwhvha.js} +6 -7
- package/dist/cdn/chunks/{ToggleSwitch-Ctdmj621.js.map → ToggleSwitch-J7Vwhvha.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-DoprRgTn.js → Toolbar-CdpsvNOR.js} +977 -985
- package/dist/cdn/chunks/{Toolbar-DoprRgTn.js.map → Toolbar-CdpsvNOR.js.map} +1 -1
- package/dist/cdn/chunks/TplModal-CFPDgbwQ.js +51 -0
- package/dist/cdn/chunks/{TplModal-BXQzmsJX.js.map → TplModal-CFPDgbwQ.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-BF2fNCvq.js → VersionHistoryMenu-BYlLRvRJ.js} +34 -35
- package/dist/cdn/chunks/{VersionHistoryMenu-BF2fNCvq.js.map → VersionHistoryMenu-BYlLRvRJ.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-Dal0Uk69.js → VersionHistoryPanels-C6SOVoiT.js} +4 -6
- package/dist/cdn/chunks/{VersionHistoryPanels-Dal0Uk69.js.map → VersionHistoryPanels-C6SOVoiT.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-BaGcn-b1.js → VersionPreviewBanner-Dvg0ZfAW.js} +12 -13
- package/dist/cdn/chunks/{VersionPreviewBanner-BaGcn-b1.js.map → VersionPreviewBanner-Dvg0ZfAW.js.map} +1 -1
- package/dist/cdn/chunks/{WrapperBlock-DkQJtLz0.js → WrapperBlock-C7Md56IT.js} +14 -15
- package/dist/cdn/chunks/{WrapperBlock-DkQJtLz0.js.map → WrapperBlock-C7Md56IT.js.map} +1 -1
- package/dist/cdn/chunks/{_plugin-vue_export-helper-B3ysoDQm.js → _plugin-vue_export-helper-Djzt4Yr7.js} +1 -2
- package/dist/cdn/chunks/{aiErrors-D5UOoYOt.js → aiErrors-C3QEMB0x.js} +4 -6
- package/dist/cdn/chunks/{aiErrors-D5UOoYOt.js.map → aiErrors-C3QEMB0x.js.map} +1 -1
- package/dist/cdn/chunks/{aiImageContext-BH4Ss1h3.js → aiImageContext-BQ5mQ6B5.js} +3 -4
- package/dist/cdn/chunks/{aiImageContext-BH4Ss1h3.js.map → aiImageContext-BQ5mQ6B5.js.map} +1 -1
- package/dist/cdn/chunks/{aiRewritePreview-DLGM05Ge.js → aiRewritePreview-DlMyx6Si.js} +2 -3
- package/dist/cdn/chunks/{aiRewritePreview-DLGM05Ge.js.map → aiRewritePreview-DlMyx6Si.js.map} +1 -1
- package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js +21 -0
- package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js.map +1 -0
- package/dist/cdn/chunks/{ca-C7mTzW1r.js → ca-CD-Kt1qz.js} +2 -3
- package/dist/cdn/chunks/{ca-C7mTzW1r.js.map → ca-CD-Kt1qz.js.map} +1 -1
- package/dist/cdn/chunks/{ca-CYQH3J0b.js → ca-Cc6eL0ZS.js} +2 -3
- package/dist/cdn/chunks/{ca-CYQH3J0b.js.map → ca-Cc6eL0ZS.js.map} +1 -1
- package/dist/cdn/chunks/{createCloudRuntime-DpBWhrv3.js → createCloudRuntime-Cth2JCEh.js} +58 -77
- package/dist/cdn/chunks/{createCloudRuntime-DpBWhrv3.js.map → createCloudRuntime-Cth2JCEh.js.map} +1 -1
- package/dist/cdn/chunks/{de-DBOTcDj2.js → de-6M4JoHoD.js} +2 -3
- package/dist/cdn/chunks/{de-DBOTcDj2.js.map → de-6M4JoHoD.js.map} +1 -1
- package/dist/cdn/chunks/{de-DNuYQTmS.js → de-CeFJ6wbM.js} +2 -3
- package/dist/cdn/chunks/{de-DNuYQTmS.js.map → de-CeFJ6wbM.js.map} +1 -1
- package/dist/cdn/chunks/{de-JvCTMJPy.js → de-DtrXVcuY.js} +2 -3
- package/dist/cdn/chunks/{de-JvCTMJPy.js.map → de-DtrXVcuY.js.map} +1 -1
- package/dist/cdn/chunks/{dist-Bo8Thh8v.js → dist-8ym3y-pH.js} +44 -45
- package/dist/cdn/chunks/{dist-Bo8Thh8v.js.map → dist-8ym3y-pH.js.map} +1 -1
- package/dist/{dist-DI4_YSnG.js → cdn/chunks/dist-BMzNabtD.js} +107 -109
- package/dist/cdn/chunks/{dist-S-rLGqax.js.map → dist-BMzNabtD.js.map} +1 -1
- package/dist/cdn/chunks/dompurify-JVtr5-B1.js +872 -0
- package/dist/cdn/chunks/dompurify-JVtr5-B1.js.map +1 -0
- package/dist/cdn/chunks/{draggable-DZ0gwUJ6.js → draggable-Du8AUMFT.js} +654 -654
- package/dist/cdn/chunks/draggable-Du8AUMFT.js.map +1 -0
- package/dist/{editor-modal-Bzhl-PgI.js → cdn/chunks/editor-modal-CyCe560f.js} +893 -979
- package/dist/cdn/chunks/{editor-modal-CI6EfeMd.js.map → editor-modal-CyCe560f.js.map} +1 -1
- package/dist/cdn/chunks/{emojiData-6m0DBh7O.js → emojiData-CBNuCfum.js} +2 -3
- package/dist/cdn/chunks/{emojiData-6m0DBh7O.js.map → emojiData-CBNuCfum.js.map} +1 -1
- package/dist/cdn/chunks/{en-CW71OK66.js → en-D14i5nFh.js} +2 -3
- package/dist/cdn/chunks/{en-CW71OK66.js.map → en-D14i5nFh.js.map} +1 -1
- package/dist/cdn/chunks/{en-CDhWRrF_.js → en-FzUuJ8HW.js} +2 -3
- package/dist/cdn/chunks/{en-CDhWRrF_.js.map → en-FzUuJ8HW.js.map} +1 -1
- package/dist/cdn/chunks/en-TIqv4ag3.js +1 -0
- package/dist/cdn/chunks/{es-CAv-Vldw.js → es-Dw_h7Oll.js} +2 -3
- package/dist/cdn/chunks/{es-CAv-Vldw.js.map → es-Dw_h7Oll.js.map} +1 -1
- package/dist/cdn/chunks/{es-DdK7zQfi.js → es-zDacbMhs.js} +2 -3
- package/dist/cdn/chunks/{es-DdK7zQfi.js.map → es-zDacbMhs.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-taJTZlLK.js → extensions-CFF2KWy-.js} +60 -65
- package/dist/cdn/chunks/{extensions-taJTZlLK.js.map → extensions-CFF2KWy-.js.map} +1 -1
- package/dist/cdn/chunks/{formatAbsoluteDateTime-DMmop3C-.js → formatAbsoluteDateTime-Ck2_zXra.js} +2 -3
- package/dist/cdn/chunks/{formatAbsoluteDateTime-DMmop3C-.js.map → formatAbsoluteDateTime-Ck2_zXra.js.map} +1 -1
- package/dist/cdn/chunks/{formatRelativeTime-CtUU-QZ8.js → formatRelativeTime-BTD8Ktt-.js} +1 -2
- package/dist/cdn/chunks/{formatRelativeTime-CtUU-QZ8.js.map → formatRelativeTime-BTD8Ktt-.js.map} +1 -1
- package/dist/cdn/chunks/{fr-DVPtxpR6.js → fr-BJaeKu_8.js} +2 -3
- package/dist/cdn/chunks/{fr-DVPtxpR6.js.map → fr-BJaeKu_8.js.map} +1 -1
- package/dist/cdn/chunks/{fr-Dz5Bgb7-.js → fr-CSgYtjOd.js} +2 -3
- package/dist/cdn/chunks/{fr-Dz5Bgb7-.js.map → fr-CSgYtjOd.js.map} +1 -1
- package/dist/cdn/chunks/{htmlparser-CDRsn-gn.js → htmlparser-hu3YnNQU.js} +6 -11
- package/dist/cdn/chunks/{htmlparser-CDRsn-gn.js.map → htmlparser-hu3YnNQU.js.map} +1 -1
- package/dist/cdn/chunks/{icons-DNX6StSs.js → icons-okSPsLOa.js} +111 -114
- package/dist/cdn/chunks/icons-okSPsLOa.js.map +1 -0
- package/dist/cdn/chunks/{ja-Di-zJiT8.js → ja-B7H3ID8O.js} +2 -3
- package/dist/cdn/chunks/{ja-Di-zJiT8.js.map → ja-B7H3ID8O.js.map} +1 -1
- package/dist/cdn/chunks/{ja-dcWzjStz.js → ja-Cu2HdYaK.js} +2 -3
- package/dist/cdn/chunks/{ja-dcWzjStz.js.map → ja-Cu2HdYaK.js.map} +1 -1
- package/dist/cdn/chunks/{keys-BTpmg2Tt.js → keys-CUj6UA38.js} +3 -4
- package/dist/cdn/chunks/{keys-BTpmg2Tt.js.map → keys-CUj6UA38.js.map} +1 -1
- package/dist/{liquid.browser-Ct2-EezB.js → cdn/chunks/liquid.browser-rubac0VA.js} +993 -937
- package/dist/cdn/chunks/liquid.browser-rubac0VA.js.map +1 -0
- package/dist/cdn/chunks/{logger-Tj0RPskW.js → logger-CqQTfJGx.js} +2 -3
- package/dist/cdn/chunks/{logger-Tj0RPskW.js.map → logger-CqQTfJGx.js.map} +1 -1
- package/dist/cdn/chunks/{nl-CvVuHYFL.js → nl-176ySmc5.js} +2 -3
- package/dist/cdn/chunks/{nl-CvVuHYFL.js.map → nl-176ySmc5.js.map} +1 -1
- package/dist/cdn/chunks/{nl-LZNqQgE4.js → nl-1Ai2NykB.js} +2 -3
- package/dist/cdn/chunks/{nl-LZNqQgE4.js.map → nl-1Ai2NykB.js.map} +1 -1
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-DyePIGqu.js → normalizeMergeTagMarkup-C_KlfSW4.js} +3 -4
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-DyePIGqu.js.map → normalizeMergeTagMarkup-C_KlfSW4.js.map} +1 -1
- package/dist/cdn/chunks/{preRenderCustomBlocks-Dc-QLntG.js → preRenderCustomBlocks-BcXIz7oJ.js} +6 -7
- package/dist/cdn/chunks/{preRenderCustomBlocks-Dc-QLntG.js.map → preRenderCustomBlocks-BcXIz7oJ.js.map} +1 -1
- package/dist/cdn/chunks/{pt-BR-CHM-ZKvE.js → pt-BR-Bp92Fc6J.js} +2 -3
- package/dist/cdn/chunks/{pt-BR-CHM-ZKvE.js.map → pt-BR-Bp92Fc6J.js.map} +1 -1
- package/dist/cdn/chunks/{pt-BR-D6P_mNwA.js → pt-BR-CIbp__Z7.js} +2 -3
- package/dist/cdn/chunks/{pt-BR-D6P_mNwA.js.map → pt-BR-CIbp__Z7.js.map} +1 -1
- package/dist/cdn/chunks/{pt-BR-ZhO4vgyq.js → pt-BR-dDlTwX18.js} +2 -3
- package/dist/cdn/chunks/{pt-BR-ZhO4vgyq.js.map → pt-BR-dDlTwX18.js.map} +1 -1
- package/dist/cdn/chunks/{pusher-Cs4GGEtd.js → pusher-x9rNqzon.js} +3 -4
- package/dist/cdn/chunks/{pusher-Cs4GGEtd.js.map → pusher-x9rNqzon.js.map} +1 -1
- package/dist/cdn/chunks/{readableTextColor-f8Kykfnh.js → readableTextColor-BfZUGnVj.js} +2 -3
- package/dist/cdn/chunks/{readableTextColor-f8Kykfnh.js.map → readableTextColor-BfZUGnVj.js.map} +1 -1
- package/dist/cdn/chunks/{rolldown-runtime-Y_bBpyJl.js → rolldown-runtime-QGRDbDUS.js} +1 -2
- package/dist/cdn/chunks/sanitizeHtml-CN85EDrO.js +72 -0
- package/dist/cdn/chunks/sanitizeHtml-CN85EDrO.js.map +1 -0
- package/dist/cdn/chunks/{socialIcons-BBvsTwCV.js → socialIcons-jsTDmkbb.js} +608 -632
- package/dist/cdn/chunks/{socialIcons-BBvsTwCV.js.map → socialIcons-jsTDmkbb.js.map} +1 -1
- package/dist/cdn/chunks/src-C7bkofBL.js +647 -0
- package/dist/cdn/chunks/src-C7bkofBL.js.map +1 -0
- package/dist/cdn/chunks/{src-Bs_yxk3h.js → src-DEd87i_U.js} +502 -537
- package/dist/cdn/chunks/src-DEd87i_U.js.map +1 -0
- package/dist/cdn/chunks/{src-BNFnxfrA.js → src-DwWrYnUj.js} +188 -171
- package/dist/cdn/chunks/src-DwWrYnUj.js.map +1 -0
- package/dist/cdn/chunks/{styleConstants-v1dNKgJf.js → styleConstants-B8xVRiwX.js} +2 -3
- package/dist/cdn/chunks/{styleConstants-v1dNKgJf.js.map → styleConstants-B8xVRiwX.js.map} +1 -1
- package/dist/cdn/chunks/{templateSettingsFields-YCFVBVYh.js → templateSettingsFields-cjlP-jdw.js} +2 -3
- package/dist/cdn/chunks/{templateSettingsFields-YCFVBVYh.js.map → templateSettingsFields-cjlP-jdw.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-CtVrAViq.js → tiptap-CbiTlECY.js} +3402 -3278
- package/dist/cdn/chunks/tiptap-CbiTlECY.js.map +1 -0
- package/dist/cdn/chunks/{useCloudI18n-AVXhzbhQ.js → useCloudI18n-DY8_-ETE.js} +4 -5
- package/dist/cdn/chunks/{useCloudI18n-AVXhzbhQ.js.map → useCloudI18n-DY8_-ETE.js.map} +1 -1
- package/dist/cdn/chunks/useEditorCore-BrY66C2y.js +2582 -0
- package/dist/cdn/chunks/useEditorCore-BrY66C2y.js.map +1 -0
- package/dist/cdn/chunks/useEditorRoot-vjZJwKrV.js +9 -0
- package/dist/cdn/chunks/{useEditorRoot-CR5GjJD6.js.map → useEditorRoot-vjZJwKrV.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-CbVubQhM.js → useI18n-D8pY4LTq.js} +4 -5
- package/dist/cdn/chunks/{useI18n-CbVubQhM.js.map → useI18n-D8pY4LTq.js.map} +1 -1
- package/dist/{useLogicTag-DKLZ1T9H.js → cdn/chunks/useLogicTag-DBJDtpKA.js} +6 -5
- package/dist/cdn/chunks/{useLogicTag-B49Nc53Y.js.map → useLogicTag-DBJDtpKA.js.map} +1 -1
- package/dist/{useMergeTag-Bhdx7AKk.js → cdn/chunks/useMergeTag-B-aG--s1.js} +8 -7
- package/dist/cdn/chunks/{useMergeTag-B0KryMj8.js.map → useMergeTag-B-aG--s1.js.map} +1 -1
- package/dist/{usePopoverPosition-BZea45XK.js → cdn/chunks/usePopoverPosition-DSMtmu2W.js} +8 -10
- package/dist/cdn/chunks/{usePopoverPosition-C829ps5i.js.map → usePopoverPosition-DSMtmu2W.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-CAwvulog.js → useScrollToBlock-vjQ0fe-L.js} +5 -7
- package/dist/cdn/chunks/{useScrollToBlock-CAwvulog.js.map → useScrollToBlock-vjQ0fe-L.js.map} +1 -1
- package/dist/cdn/chunks/{withCurrentFont-DFPXeVfG.js → withCurrentFont-hZTvYBHO.js} +3 -4
- package/dist/cdn/chunks/{withCurrentFont-DFPXeVfG.js.map → withCurrentFont-hZTvYBHO.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +1433 -1454
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-yYsp5Xpk.js → check-BZ8o0eet.js} +1 -2
- package/dist/{chevron-down-DTmD06_j.js → chevron-down-DfAAfILv.js} +1 -2
- package/dist/{chevron-right-BSeYZOxc.js → chevron-right-Bk4mGdr7.js} +1 -2
- package/dist/{chevron-up-BOApwrxi.js → chevron-up-MhUf_azW.js} +1 -2
- package/dist/{circle-alert-BMszY8im.js → circle-alert-CShJwVFv.js} +1 -2
- package/dist/{clock-HADxnl6-.js → clock-CTfD6OCt.js} +1 -2
- package/dist/{createCloudRuntime-DVQI_ReU.js → createCloudRuntime-DCgO4A1r.js} +31 -37
- package/dist/{createLucideIcon-0lYYH3EW.js → createLucideIcon-CvhTA2KG.js} +6 -11
- package/dist/{de-DBOTcDj2.js → de-6M4JoHoD.js} +1 -2
- package/dist/{de-DNuYQTmS.js → de-CeFJ6wbM.js} +1 -2
- package/dist/{de-JvCTMJPy.js → de-DtrXVcuY.js} +1 -2
- package/dist/{dist-BC-ZEYLd.js → dist-BF5zEHop.js} +2 -3
- package/dist/{dist-CyBwSiAa.js → dist-BS5uKktL.js} +2 -3
- package/dist/{cdn/chunks/dist-S-rLGqax.js → dist-ByCWA2Tv.js} +101 -101
- package/dist/{dist-DtOF3bDW.js → dist-CKi_npZM.js} +378 -343
- package/dist/{dist-C7EtxNCb.js → dist-CVy-7PHQ.js} +55 -56
- package/dist/{dist-Cr7RPxI9.js → dist-CWSG7Kj0.js} +478 -461
- package/dist/{dist-DXyGqIDE.js → dist-Cy8I5scI.js} +2 -3
- package/dist/{dist-C_dV9QAx.js → dist-D6cMdrfG.js} +133 -133
- package/dist/{dist-DVNjPKsH.js → dist-D6fZec6r.js} +3 -4
- package/dist/{dist-CuLwJF7H.js → dist-Dd5MU2Ev.js} +23 -14
- package/dist/dist-DyFArF_G.js +4 -0
- package/dist/{dist-DBxgrOeo.js → dist-V7W1UhVr.js} +1882 -1792
- package/dist/{dist-DPcf6XZ8.js → dist-p3wymUDt.js} +2 -3
- package/dist/dist-pA3ooG6N.js +4 -0
- package/dist/{dist-3HpYixwF.js → dist-txQLT2sF.js} +173 -161
- package/dist/{cdn/chunks/editor-modal-CI6EfeMd.js → editor-modal-zaZHcmlO.js} +915 -859
- package/dist/{emojiData-6m0DBh7O.js → emojiData-CBNuCfum.js} +1 -2
- package/dist/{en-CW71OK66.js → en-D14i5nFh.js} +1 -2
- package/dist/en-Db76vJbY.js +1 -0
- package/dist/{en-CDhWRrF_.js → en-FzUuJ8HW.js} +1 -2
- package/dist/{es-CAv-Vldw.js → es-Dw_h7Oll.js} +1 -2
- package/dist/{es-DdK7zQfi.js → es-zDacbMhs.js} +1 -2
- package/dist/{extensions-CdyweA50.js → extensions-fo_c-vqf.js} +82 -91
- package/dist/{eye-DWkSvYpj.js → eye-7W4t5e0Q.js} +1 -2
- package/dist/{formatAbsoluteDateTime-DMmop3C-.js → formatAbsoluteDateTime-Ck2_zXra.js} +1 -2
- package/dist/{formatRelativeTime-CtUU-QZ8.js → formatRelativeTime-BTD8Ktt-.js} +0 -1
- package/dist/{fr-DVPtxpR6.js → fr-BJaeKu_8.js} +1 -2
- package/dist/{fr-Dz5Bgb7-.js → fr-CSgYtjOd.js} +1 -2
- package/dist/{image-DesWjcZ4.js → image-BDiRFzSd.js} +1 -2
- package/dist/index.d.ts +6 -6
- package/dist/{info-ClWJGoZy.js → info-Cxi3-Kh9.js} +1 -2
- package/dist/{ja-Di-zJiT8.js → ja-B7H3ID8O.js} +1 -2
- package/dist/{ja-dcWzjStz.js → ja-Cu2HdYaK.js} +1 -2
- package/dist/{keys-Zd9KWRD1.js → keys-BgRERHzu.js} +2 -3
- package/dist/{link-BqRicFTA.js → link-ju_2Cmir.js} +1 -2
- package/dist/{cdn/chunks/liquid.browser-Bbt17cVz.js → liquid.browser-DUXEekoN.js} +991 -939
- package/dist/{list-bojQr9bn.js → list-DYZJf0aZ.js} +1 -2
- package/dist/{loader-circle-B2B8LbUu.js → loader-circle-BZRD0a4I.js} +1 -2
- package/dist/{logger-k9Nbj3Cp.js → logger-BOu7oEtk.js} +1 -2
- package/dist/{message-circle-BEuiNsyZ.js → message-circle-DuEw4Zfx.js} +1 -2
- package/dist/{nl-CvVuHYFL.js → nl-176ySmc5.js} +1 -2
- package/dist/{nl-LZNqQgE4.js → nl-1Ai2NykB.js} +1 -2
- package/dist/{normalizeMergeTagMarkup-P6SUBuPv.js → normalizeMergeTagMarkup-CELnOlgK.js} +30 -31
- package/dist/{package-DCROB4aM.js → package-CePMr2kK.js} +1 -2
- package/dist/{pencil-CEotCKbf.js → pencil-D3aFCL7c.js} +1 -2
- package/dist/{preRenderCustomBlocks-D8rr61_z.js → preRenderCustomBlocks--_xc0XK3.js} +4 -5
- package/dist/{pt-BR-CHM-ZKvE.js → pt-BR-Bp92Fc6J.js} +1 -2
- package/dist/{pt-BR-D6P_mNwA.js → pt-BR-CIbp__Z7.js} +1 -2
- package/dist/{pt-BR-ZhO4vgyq.js → pt-BR-dDlTwX18.js} +1 -2
- package/dist/{readableTextColor-f8Kykfnh.js → readableTextColor-BfZUGnVj.js} +1 -2
- package/dist/{refresh-cw-C6M2mHNC.js → refresh-cw-xnro7_Sk.js} +1 -2
- package/dist/{rolldown-runtime-Dy4uBu1J.js → rolldown-runtime-CGnMp29N.js} +1 -2
- package/dist/{runtime-dom.esm-bundler-B8WCZWUm.js → runtime-dom.esm-bundler-BURR-bj5.js} +121 -122
- package/dist/sanitizeHtml-BzfzpYJY.js +942 -0
- package/dist/{search-Cy99zPYf.js → search-CDrstRBv.js} +1 -2
- package/dist/{send-BDLJFsf3.js → send-DROkPOaX.js} +1 -2
- package/dist/{smartphone-CVvQaNA4.js → smartphone-Bx6u_tjn.js} +1 -2
- package/dist/{socialIcons-Dd-jRiVe.js → socialIcons-D7MGsg0d.js} +553 -564
- package/dist/{sparkles-Ce0Qz0ox.js → sparkles-CdaTtvoz.js} +1 -2
- package/dist/{square-BWlolnXe.js → square-BbCROH_f.js} +1 -2
- package/dist/style.css +1 -1
- package/dist/{styleConstants-v1dNKgJf.js → styleConstants-B8xVRiwX.js} +1 -2
- package/dist/{templateSettingsFields-YCFVBVYh.js → templateSettingsFields-cjlP-jdw.js} +1 -2
- package/dist/templatical-editor.js +1231 -1251
- package/dist/{text-align-start-D1V5gPTy.js → text-align-start-CGacJ9Vw.js} +1 -2
- package/dist/{trash-CZfiUFmw.js → trash-DxCd7zIy.js} +1 -2
- package/dist/{triangle-alert-CFDzyFC7.js → triangle-alert-7_oaitpf.js} +1 -2
- package/dist/{upload-BJfvdIrD.js → upload-DuFEOi_0.js} +1 -2
- package/dist/{useCloudI18n-Dcjua65H.js → useCloudI18n-DEMmUKuO.js} +3 -4
- package/dist/{useEditorCore-BTLeAVlM.js → useEditorCore-BSo2sSID.js} +1568 -1573
- package/dist/useEditorRoot-BMcoCLBx.js +7 -0
- package/dist/{useI18n-BdoY7xDE.js → useI18n-BBrHTdu8.js} +3 -4
- package/dist/{cdn/chunks/useLogicTag-B49Nc53Y.js → useLogicTag-ZPC39rfH.js} +4 -7
- package/dist/{cdn/chunks/useMergeTag-B0KryMj8.js → useMergeTag-BQ4qqWpQ.js} +6 -9
- package/dist/{cdn/chunks/usePopoverPosition-C829ps5i.js → usePopoverPosition-DV1PxL66.js} +6 -12
- package/dist/{useScrollToBlock-FmNMALM_.js → useScrollToBlock-BSyAV4pk.js} +4 -6
- package/dist/{vue.runtime.esm-bundler-DgFJ6GPG.js → vue.runtime.esm-bundler-CnEeTfhs.js} +1001 -1002
- package/dist/{withCurrentFont-BATJHNve.js → withCurrentFont-B22FXAF5.js} +2 -3
- package/dist/{x-CZ0Js0hA.js → x-BpfG7v9g.js} +1 -2
- package/package.json +26 -24
- package/dist/BlockIssueBadge-CKwZ1Vgn.js +0 -34
- package/dist/CommentsSidebar-Ca3DyFOX.js +0 -500
- package/dist/IssuesPanel-C8nMUccy.js +0 -360
- package/dist/SavedBlocksBrowserModal-wnkvxpm_.js +0 -360
- package/dist/WrapperBlock-BO619LAb.js +0 -45
- package/dist/cdn/chunks/AiRewriteMenu-Bhh71zcc.js.map +0 -1
- package/dist/cdn/chunks/BlockIssueBadge-DAn2vsMJ.js +0 -35
- package/dist/cdn/chunks/BlockIssueBadge-DAn2vsMJ.js.map +0 -1
- package/dist/cdn/chunks/CommentsSidebar-CCvplq1Z.js.map +0 -1
- package/dist/cdn/chunks/LoadingTrack-BIcL4NiY.js +0 -12
- package/dist/cdn/chunks/ParagraphEditor-CqSj6Ayz.js.map +0 -1
- package/dist/cdn/chunks/SavedBlocksBrowserModal-DtOz_X5S.js +0 -357
- package/dist/cdn/chunks/TitleEditor-Ccv6uoTz.js.map +0 -1
- package/dist/cdn/chunks/TplModal-BXQzmsJX.js +0 -52
- package/dist/cdn/chunks/blockTypeIcons-ikZAmd6U.js +0 -22
- package/dist/cdn/chunks/blockTypeIcons-ikZAmd6U.js.map +0 -1
- package/dist/cdn/chunks/draggable-DZ0gwUJ6.js.map +0 -1
- package/dist/cdn/chunks/en-ifvu6oPv.js +0 -1
- package/dist/cdn/chunks/icons-DNX6StSs.js.map +0 -1
- package/dist/cdn/chunks/liquid.browser-Bbt17cVz.js.map +0 -1
- package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js +0 -62
- package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js.map +0 -1
- package/dist/cdn/chunks/src-BNFnxfrA.js.map +0 -1
- package/dist/cdn/chunks/src-Bs_yxk3h.js.map +0 -1
- package/dist/cdn/chunks/src-YGkzYyu0.js +0 -649
- package/dist/cdn/chunks/src-YGkzYyu0.js.map +0 -1
- package/dist/cdn/chunks/tiptap-CtVrAViq.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-CCVFi1YZ.js +0 -2586
- package/dist/cdn/chunks/useEditorCore-CCVFi1YZ.js.map +0 -1
- package/dist/cdn/chunks/useEditorRoot-CR5GjJD6.js +0 -10
- package/dist/dist-BPFcLKTw.js +0 -5
- package/dist/dist-D7Yj7E-F.js +0 -5
- package/dist/en-DwV15ltA.js +0 -1
- package/dist/sanitizeRichTextHtml-DeISfLFr.js +0 -60
- package/dist/useEditorRoot-DUy67lJu.js +0 -8
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-
|
|
2
|
-
import {
|
|
3
|
-
import { c as S, s as C } from "./runtime-dom.esm-bundler-
|
|
4
|
-
import {
|
|
5
|
-
import { t as T } from "./dist-
|
|
6
|
-
import { C as E, S as D, b as O, y as k } from "./useEditorCore-
|
|
7
|
-
import { $ as A, A as j, E as ee, J as te, Z as ne, g as M, l as re, v as ie } from "./keys-
|
|
8
|
-
import { t as N } from "./useI18n-
|
|
9
|
-
import { n as P } from "./usePopoverPosition-
|
|
10
|
-
import { t as F } from "./createLucideIcon-
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { t as le } from "./link-
|
|
14
|
-
import { t as ue } from "./
|
|
15
|
-
import { t as de } from "./
|
|
16
|
-
import { n as fe, r as pe, t as me } from "./text-align-start-
|
|
17
|
-
import { t as z } from "./_plugin-vue_export-helper-
|
|
18
|
-
import { a as he, n as ge, o as _e, s as ve } from "./styleConstants-
|
|
19
|
-
import { n as ye, t as be } from "./withCurrentFont-
|
|
1
|
+
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
+
import { $ as t, C as n, I as r, J as i, Mt as a, N as o, Nt as s, _ as c, a as l, c as u, d, f, g as p, j as m, jt as h, l as g, r as _, st as v, u as y, v as b, y as x } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
|
|
3
|
+
import { c as S, s as C } from "./runtime-dom.esm-bundler-BURR-bj5.js";
|
|
4
|
+
import { gt as w } from "./dist-CKi_npZM.js";
|
|
5
|
+
import { t as T } from "./dist-ByCWA2Tv.js";
|
|
6
|
+
import { C as E, S as D, b as O, y as k } from "./useEditorCore-BSo2sSID.js";
|
|
7
|
+
import { $ as A, A as j, E as ee, J as te, Z as ne, g as M, l as re, v as ie } from "./keys-BgRERHzu.js";
|
|
8
|
+
import { t as N } from "./useI18n-BBrHTdu8.js";
|
|
9
|
+
import { n as P } from "./usePopoverPosition-DV1PxL66.js";
|
|
10
|
+
import { t as F } from "./createLucideIcon-CvhTA2KG.js";
|
|
11
|
+
import { c as I, l as ae, u as oe } from "./LogicTagInsertButton-CfscnwCn.js";
|
|
12
|
+
import { i as se, n as L, r as ce, t as R } from "./RichTextEditorContent-o6HmE8GR.js";
|
|
13
|
+
import { t as le } from "./link-ju_2Cmir.js";
|
|
14
|
+
import { t as ue } from "./list-DYZJf0aZ.js";
|
|
15
|
+
import { t as de } from "./loader-circle-BZRD0a4I.js";
|
|
16
|
+
import { n as fe, r as pe, t as me } from "./text-align-start-CGacJ9Vw.js";
|
|
17
|
+
import { t as z } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
|
|
18
|
+
import { a as he, n as ge, o as _e, s as ve } from "./styleConstants-B8xVRiwX.js";
|
|
19
|
+
import { n as ye, t as be } from "./withCurrentFont-B22FXAF5.js";
|
|
20
20
|
var B = F({
|
|
21
21
|
name: "face-slightly-smiling",
|
|
22
22
|
size: 24,
|
|
@@ -96,23 +96,6 @@ var B = F({
|
|
|
96
96
|
}]
|
|
97
97
|
]
|
|
98
98
|
}), Ce = F({
|
|
99
|
-
name: "subscript",
|
|
100
|
-
size: 24,
|
|
101
|
-
node: [
|
|
102
|
-
["path", {
|
|
103
|
-
d: "m4 5 8 8",
|
|
104
|
-
key: "1eunvl"
|
|
105
|
-
}],
|
|
106
|
-
["path", {
|
|
107
|
-
d: "m12 5-8 8",
|
|
108
|
-
key: "1ah0jp"
|
|
109
|
-
}],
|
|
110
|
-
["path", {
|
|
111
|
-
d: "M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07",
|
|
112
|
-
key: "e8ta8j"
|
|
113
|
-
}]
|
|
114
|
-
]
|
|
115
|
-
}), we = F({
|
|
116
99
|
name: "strikethrough",
|
|
117
100
|
size: 24,
|
|
118
101
|
node: [
|
|
@@ -132,6 +115,23 @@ var B = F({
|
|
|
132
115
|
key: "1e0a9i"
|
|
133
116
|
}]
|
|
134
117
|
]
|
|
118
|
+
}), we = F({
|
|
119
|
+
name: "subscript",
|
|
120
|
+
size: 24,
|
|
121
|
+
node: [
|
|
122
|
+
["path", {
|
|
123
|
+
d: "m4 5 8 8",
|
|
124
|
+
key: "1eunvl"
|
|
125
|
+
}],
|
|
126
|
+
["path", {
|
|
127
|
+
d: "m12 5-8 8",
|
|
128
|
+
key: "1ah0jp"
|
|
129
|
+
}],
|
|
130
|
+
["path", {
|
|
131
|
+
d: "M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07",
|
|
132
|
+
key: "e8ta8j"
|
|
133
|
+
}]
|
|
134
|
+
]
|
|
135
135
|
}), Te = F({
|
|
136
136
|
name: "superscript",
|
|
137
137
|
size: 24,
|
|
@@ -194,37 +194,37 @@ var B = F({
|
|
|
194
194
|
widthClass: {}
|
|
195
195
|
},
|
|
196
196
|
emits: ["update:modelValue"],
|
|
197
|
-
setup(e, { emit:
|
|
198
|
-
let
|
|
199
|
-
function
|
|
200
|
-
|
|
197
|
+
setup(e, { emit: t }) {
|
|
198
|
+
let n = e, r = t;
|
|
199
|
+
function i(e) {
|
|
200
|
+
r("update:modelValue", e.target.value);
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function a(e) {
|
|
203
203
|
return typeof e == "string" ? e : e.value;
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function c(e) {
|
|
206
206
|
return typeof e == "string" ? e : e.label;
|
|
207
207
|
}
|
|
208
|
-
let
|
|
208
|
+
let l = /* @__PURE__ */ new Set([
|
|
209
209
|
"inherit",
|
|
210
210
|
"initial",
|
|
211
211
|
"unset",
|
|
212
212
|
"revert",
|
|
213
213
|
"revert-layer"
|
|
214
|
-
]),
|
|
215
|
-
let e =
|
|
216
|
-
return e === "" ||
|
|
214
|
+
]), d = u(() => l.has(n.modelValue) ? "" : n.modelValue), p = u(() => {
|
|
215
|
+
let e = d.value;
|
|
216
|
+
return e === "" || n.options.some((t) => a(t) === e) ? n.options : [e, ...n.options];
|
|
217
217
|
});
|
|
218
|
-
return (
|
|
219
|
-
class:
|
|
220
|
-
value:
|
|
218
|
+
return (t, n) => (m(), f("select", {
|
|
219
|
+
class: h(["tpl:h-8 tpl:cursor-pointer tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", e.widthClass ?? "tpl:w-20"]),
|
|
220
|
+
value: d.value,
|
|
221
221
|
"aria-label": e.label,
|
|
222
222
|
title: e.label,
|
|
223
|
-
onChange:
|
|
224
|
-
}, [
|
|
225
|
-
key:
|
|
226
|
-
value:
|
|
227
|
-
},
|
|
223
|
+
onChange: i
|
|
224
|
+
}, [g("option", H, s(e.placeholder ?? ""), 1), (m(!0), f(_, null, o(p.value, (e) => (m(), f("option", {
|
|
225
|
+
key: a(e),
|
|
226
|
+
value: a(e)
|
|
227
|
+
}, s(c(e)), 9, U))), 128))], 42, V));
|
|
228
228
|
}
|
|
229
229
|
}), G = [
|
|
230
230
|
"aria-label",
|
|
@@ -234,50 +234,50 @@ var B = F({
|
|
|
234
234
|
__name: "EmojiPickerDropdown",
|
|
235
235
|
emits: ["insert"],
|
|
236
236
|
setup(e, { emit: n }) {
|
|
237
|
-
let r = n, { categories:
|
|
237
|
+
let r = n, { categories: i, isOpen: a, toggle: l, close: p } = D(), { t: y, format: b } = N(), x = t(null), w = t(null), O = u(() => a.value);
|
|
238
238
|
E(x, O), T(w, () => {
|
|
239
|
-
|
|
239
|
+
a.value && p();
|
|
240
240
|
});
|
|
241
241
|
function k(e) {
|
|
242
|
-
r("insert", e),
|
|
242
|
+
r("insert", e), p();
|
|
243
243
|
}
|
|
244
|
-
return (e,
|
|
244
|
+
return (e, t) => (m(), f("div", {
|
|
245
245
|
ref_key: "rootRef",
|
|
246
246
|
ref: w,
|
|
247
247
|
class: "tpl:relative"
|
|
248
|
-
}, [
|
|
248
|
+
}, [g("button", {
|
|
249
249
|
type: "button",
|
|
250
|
-
class:
|
|
251
|
-
"aria-label":
|
|
252
|
-
title:
|
|
253
|
-
"aria-expanded":
|
|
250
|
+
class: h(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": v(a) }]),
|
|
251
|
+
"aria-label": v(y).paragraphEditor.insertEmoji,
|
|
252
|
+
title: v(y).paragraphEditor.insertEmoji,
|
|
253
|
+
"aria-expanded": v(a),
|
|
254
254
|
"aria-haspopup": "dialog",
|
|
255
255
|
"aria-controls": "tpl-emoji-picker",
|
|
256
|
-
onClick:
|
|
257
|
-
}, [
|
|
256
|
+
onClick: t[0] ||= (...e) => v(l) && v(l)(...e)
|
|
257
|
+
}, [c(v(B), {
|
|
258
258
|
size: 16,
|
|
259
259
|
"stroke-width": 2
|
|
260
|
-
})], 10, G),
|
|
260
|
+
})], 10, G), v(a) ? (m(), f("div", {
|
|
261
261
|
key: 0,
|
|
262
262
|
id: "tpl-emoji-picker",
|
|
263
263
|
ref_key: "pickerRef",
|
|
264
264
|
ref: x,
|
|
265
265
|
role: "dialog",
|
|
266
266
|
"aria-modal": "false",
|
|
267
|
-
"aria-label":
|
|
267
|
+
"aria-label": v(y).paragraphEditor.insertEmoji,
|
|
268
268
|
tabindex: "-1",
|
|
269
269
|
class: "tpl-emoji-picker tpl:absolute tpl:top-full tpl:left-0 tpl:z-10 tpl:mt-2 tpl:w-72 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:shadow-[var(--tpl-shadow-lg)]",
|
|
270
|
-
onKeydown:
|
|
271
|
-
}, [(
|
|
270
|
+
onKeydown: t[1] ||= C(S((...e) => v(p) && v(p)(...e), ["stop", "prevent"]), ["esc"])
|
|
271
|
+
}, [(m(!0), f(_, null, o(v(i), (e) => (m(), f("div", {
|
|
272
272
|
key: e.key,
|
|
273
273
|
class: "tpl:mb-2 tpl:last:mb-0"
|
|
274
|
-
}, [
|
|
274
|
+
}, [g("div", q, s(v(y).emoji[e.key]), 1), g("div", J, [(m(!0), f(_, null, o(e.emojis, (e) => (m(), f("button", {
|
|
275
275
|
key: e,
|
|
276
276
|
type: "button",
|
|
277
|
-
"aria-label":
|
|
277
|
+
"aria-label": v(b)(v(y).paragraphEditor.emojiItemLabel, { emoji: e }),
|
|
278
278
|
class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border-none tpl:bg-transparent tpl:text-base tpl:transition-all tpl:hover:scale-125 tpl:hover:bg-[var(--tpl-bg-active)]",
|
|
279
279
|
onClick: (t) => k(e)
|
|
280
|
-
},
|
|
280
|
+
}, s(e), 9, Y))), 128))])]))), 128))], 40, K)) : d("", !0)], 512));
|
|
281
281
|
}
|
|
282
282
|
}), X = [
|
|
283
283
|
"aria-label",
|
|
@@ -293,13 +293,13 @@ var B = F({
|
|
|
293
293
|
size: {}
|
|
294
294
|
},
|
|
295
295
|
setup(e) {
|
|
296
|
-
return (
|
|
296
|
+
return (t, n) => (m(), f("button", {
|
|
297
297
|
type: "button",
|
|
298
|
-
class:
|
|
298
|
+
class: h(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": e.active }]),
|
|
299
299
|
"aria-label": e.label,
|
|
300
300
|
title: e.label,
|
|
301
301
|
"aria-pressed": e.active ? "true" : "false"
|
|
302
|
-
}, [(
|
|
302
|
+
}, [(m(), y(r(e.icon), {
|
|
303
303
|
size: e.size ?? 16,
|
|
304
304
|
"stroke-width": e.strokeWidth ?? 2
|
|
305
305
|
}, null, 8, ["size", "stroke-width"]))], 10, X));
|
|
@@ -309,16 +309,14 @@ var B = F({
|
|
|
309
309
|
"aria-hidden": "true"
|
|
310
310
|
};
|
|
311
311
|
function Ae(e, t) {
|
|
312
|
-
return
|
|
312
|
+
return m(), f("span", ke);
|
|
313
313
|
}
|
|
314
314
|
var $ = /*#__PURE__*/ z(Q, [["render", Ae]]);
|
|
315
|
-
|
|
316
|
-
//#region src/utils/richTextColor.ts
|
|
315
|
+
// src/utils/richTextColor.ts
|
|
317
316
|
function je(e, t) {
|
|
318
317
|
return e || t || "#000000";
|
|
319
318
|
}
|
|
320
|
-
|
|
321
|
-
//#region src/components/blocks/ParagraphToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
319
|
+
// src/components/blocks/ParagraphToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
322
320
|
var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Pe = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Fe = ["aria-label", "title"], Ie = ["aria-label", "title"], Le = {
|
|
323
321
|
key: 1,
|
|
324
322
|
class: "tpl:flex tpl:items-center tpl:gap-2 tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
|
|
@@ -337,32 +335,32 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
337
335
|
"add-logic-tag"
|
|
338
336
|
],
|
|
339
337
|
setup(e, { emit: t }) {
|
|
340
|
-
let r = b(() => import("./AiRewriteMenu-
|
|
338
|
+
let r = b(() => import("./AiRewriteMenu-28agTycW.js")), i = e, o = n(re, {}), h = u(() => o.ai?.isFeatureEnabled("rewrite") ?? !1), x = t, S = n(te, null), C = n(ne, null), w = A(ie, "ParagraphToolbar"), T = P(), E = n(j, null), D = n(ee, null), O = n(M, null), k = u(() => (E?.isOpen.value ?? !1) || (D?.isOpen.value ?? !1)), { t: F } = N(), L = w.fonts, R = _e.map((e) => ({
|
|
341
339
|
value: e,
|
|
342
340
|
label: e === "normal" ? F.paragraphEditor.letterSpacingNormal : e
|
|
343
341
|
}));
|
|
344
342
|
function z(e) {
|
|
345
|
-
|
|
343
|
+
i.editor?.chain().focus().insertContent(e).run();
|
|
346
344
|
}
|
|
347
345
|
function B(e) {
|
|
348
|
-
return
|
|
346
|
+
return i.editor?.getAttributes("textStyle")[e] || "";
|
|
349
347
|
}
|
|
350
348
|
function V(e) {
|
|
351
|
-
let t =
|
|
349
|
+
let t = i.editor?.chain().focus();
|
|
352
350
|
e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
|
|
353
351
|
}
|
|
354
352
|
function H(e) {
|
|
355
|
-
let t =
|
|
353
|
+
let t = i.editor?.chain().focus();
|
|
356
354
|
e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
|
|
357
355
|
}
|
|
358
356
|
function U() {
|
|
359
|
-
return
|
|
357
|
+
return i.editor?.isActive("link") ?? !1;
|
|
360
358
|
}
|
|
361
359
|
function G() {
|
|
362
|
-
return
|
|
360
|
+
return i.editor?.getAttributes("link").color || "";
|
|
363
361
|
}
|
|
364
362
|
function K(e) {
|
|
365
|
-
let t =
|
|
363
|
+
let t = i.editor?.chain().focus();
|
|
366
364
|
t && (U() ? (t.extendMarkRange("link").updateAttributes("link", { color: e || null }), e && t.unsetColor(), t.run()) : e ? t.setColor(e).updateAttributes("link", { color: e }).run() : t.unsetColor().run());
|
|
367
365
|
}
|
|
368
366
|
function q() {
|
|
@@ -373,44 +371,44 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
373
371
|
return U() ? G() : B("color");
|
|
374
372
|
}
|
|
375
373
|
function Y() {
|
|
376
|
-
return
|
|
374
|
+
return i.editor?.getAttributes("paragraph").lineHeight || "";
|
|
377
375
|
}
|
|
378
376
|
function X(e) {
|
|
379
|
-
let t =
|
|
377
|
+
let t = i.editor?.chain().focus();
|
|
380
378
|
e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
|
|
381
379
|
}
|
|
382
380
|
function Q(e) {
|
|
383
|
-
let t =
|
|
381
|
+
let t = i.editor?.chain().focus();
|
|
384
382
|
e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
|
|
385
383
|
}
|
|
386
384
|
function ke() {
|
|
387
|
-
return
|
|
385
|
+
return i.editor?.getAttributes("highlight").color || "";
|
|
388
386
|
}
|
|
389
387
|
function Ae(e) {
|
|
390
|
-
let t =
|
|
388
|
+
let t = i.editor?.chain().focus();
|
|
391
389
|
e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
|
|
392
390
|
}
|
|
393
|
-
return (t, n) =>
|
|
391
|
+
return (t, n) => v(T) && !k.value ? (m(), y(l, {
|
|
394
392
|
key: 0,
|
|
395
|
-
to:
|
|
396
|
-
}, [
|
|
397
|
-
"data-tpl-theme":
|
|
393
|
+
to: v(T)
|
|
394
|
+
}, [g("div", {
|
|
395
|
+
"data-tpl-theme": v(C),
|
|
398
396
|
role: "toolbar",
|
|
399
|
-
"aria-label":
|
|
397
|
+
"aria-label": v(F).paragraphEditor.toolbar,
|
|
400
398
|
class: "tpl tpl-text-toolbar tpl:absolute tpl:flex tpl:gap-1 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:shadow-[var(--tpl-shadow-lg)]",
|
|
401
|
-
style:
|
|
402
|
-
...
|
|
399
|
+
style: a({
|
|
400
|
+
...v(S),
|
|
403
401
|
top: `${e.toolbarPosition.top}px`,
|
|
404
402
|
left: `${e.toolbarPosition.left}px`,
|
|
405
403
|
transform: "translateY(-100%)",
|
|
406
404
|
flexDirection: "column"
|
|
407
405
|
})
|
|
408
|
-
}, [!e.isLoading && e.editor ? (
|
|
409
|
-
|
|
410
|
-
"model-value":
|
|
411
|
-
options:
|
|
412
|
-
label:
|
|
413
|
-
placeholder:
|
|
406
|
+
}, [!e.isLoading && e.editor ? (m(), f(_, { key: 0 }, [g("div", Ne, [
|
|
407
|
+
c(W, {
|
|
408
|
+
"model-value": v(be)(B("fontFamily")),
|
|
409
|
+
options: v(ye)(v(L), B("fontFamily")),
|
|
410
|
+
label: v(F).paragraphEditor.fontFamily,
|
|
411
|
+
placeholder: v(F).paragraphEditor.defaultFont,
|
|
414
412
|
"width-class": "tpl:w-32",
|
|
415
413
|
"onUpdate:modelValue": V
|
|
416
414
|
}, null, 8, [
|
|
@@ -419,11 +417,11 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
419
417
|
"label",
|
|
420
418
|
"placeholder"
|
|
421
419
|
]),
|
|
422
|
-
|
|
420
|
+
c(W, {
|
|
423
421
|
"model-value": B("fontSize"),
|
|
424
|
-
options:
|
|
425
|
-
label:
|
|
426
|
-
placeholder:
|
|
422
|
+
options: v(he),
|
|
423
|
+
label: v(F).paragraphEditor.fontSize,
|
|
424
|
+
placeholder: v(F).paragraphEditor.defaultSize,
|
|
427
425
|
"width-class": "tpl:w-20",
|
|
428
426
|
"onUpdate:modelValue": H
|
|
429
427
|
}, null, 8, [
|
|
@@ -432,37 +430,37 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
432
430
|
"label",
|
|
433
431
|
"placeholder"
|
|
434
432
|
]),
|
|
435
|
-
|
|
436
|
-
|
|
433
|
+
c($),
|
|
434
|
+
c(I, {
|
|
437
435
|
"swatch-only": "",
|
|
438
436
|
size: "sm",
|
|
439
437
|
"data-testid": "text-color-picker",
|
|
440
438
|
"model-value": J(),
|
|
441
439
|
"seed-color": q(),
|
|
442
|
-
"aria-label":
|
|
440
|
+
"aria-label": v(F).paragraphEditor.textColor,
|
|
443
441
|
"onUpdate:modelValue": K
|
|
444
442
|
}, null, 8, [
|
|
445
443
|
"model-value",
|
|
446
444
|
"seed-color",
|
|
447
445
|
"aria-label"
|
|
448
446
|
]),
|
|
449
|
-
|
|
447
|
+
c(I, {
|
|
450
448
|
"swatch-only": "",
|
|
451
449
|
size: "sm",
|
|
452
450
|
"data-testid": "highlight-color-picker",
|
|
453
451
|
"model-value": ke(),
|
|
454
|
-
"seed-color":
|
|
455
|
-
"aria-label":
|
|
452
|
+
"seed-color": v(ge),
|
|
453
|
+
"aria-label": v(F).paragraphEditor.highlightColor,
|
|
456
454
|
"onUpdate:modelValue": Ae
|
|
457
455
|
}, null, 8, [
|
|
458
456
|
"model-value",
|
|
459
457
|
"seed-color",
|
|
460
458
|
"aria-label"
|
|
461
459
|
]),
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
icon:
|
|
465
|
-
label:
|
|
460
|
+
c($),
|
|
461
|
+
c(Z, {
|
|
462
|
+
icon: v(ce),
|
|
463
|
+
label: v(F).paragraphEditor.bold,
|
|
466
464
|
active: e.editor.isActive("bold"),
|
|
467
465
|
"stroke-width": 2.5,
|
|
468
466
|
onClick: n[0] ||= (t) => e.editor.chain().focus().toggleBold().run()
|
|
@@ -471,9 +469,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
471
469
|
"label",
|
|
472
470
|
"active"
|
|
473
471
|
]),
|
|
474
|
-
|
|
475
|
-
icon:
|
|
476
|
-
label:
|
|
472
|
+
c(Z, {
|
|
473
|
+
icon: v(se),
|
|
474
|
+
label: v(F).paragraphEditor.italic,
|
|
477
475
|
active: e.editor.isActive("italic"),
|
|
478
476
|
onClick: n[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
|
|
479
477
|
}, null, 8, [
|
|
@@ -481,9 +479,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
481
479
|
"label",
|
|
482
480
|
"active"
|
|
483
481
|
]),
|
|
484
|
-
|
|
485
|
-
icon:
|
|
486
|
-
label:
|
|
482
|
+
c(Z, {
|
|
483
|
+
icon: v(De),
|
|
484
|
+
label: v(F).paragraphEditor.underline,
|
|
487
485
|
active: e.editor.isActive("underline"),
|
|
488
486
|
onClick: n[2] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
|
|
489
487
|
}, null, 8, [
|
|
@@ -491,9 +489,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
491
489
|
"label",
|
|
492
490
|
"active"
|
|
493
491
|
]),
|
|
494
|
-
|
|
495
|
-
icon:
|
|
496
|
-
label:
|
|
492
|
+
c(Z, {
|
|
493
|
+
icon: v(Ce),
|
|
494
|
+
label: v(F).paragraphEditor.strikethrough,
|
|
497
495
|
active: e.editor.isActive("strike"),
|
|
498
496
|
onClick: n[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
|
|
499
497
|
}, null, 8, [
|
|
@@ -501,10 +499,10 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
501
499
|
"label",
|
|
502
500
|
"active"
|
|
503
501
|
]),
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
icon:
|
|
507
|
-
label:
|
|
502
|
+
c($),
|
|
503
|
+
c(Z, {
|
|
504
|
+
icon: v(we),
|
|
505
|
+
label: v(F).paragraphEditor.subscript,
|
|
508
506
|
active: e.editor.isActive("subscript"),
|
|
509
507
|
onClick: n[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
|
|
510
508
|
}, null, 8, [
|
|
@@ -512,9 +510,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
512
510
|
"label",
|
|
513
511
|
"active"
|
|
514
512
|
]),
|
|
515
|
-
|
|
516
|
-
icon:
|
|
517
|
-
label:
|
|
513
|
+
c(Z, {
|
|
514
|
+
icon: v(Te),
|
|
515
|
+
label: v(F).paragraphEditor.superscript,
|
|
518
516
|
active: e.editor.isActive("superscript"),
|
|
519
517
|
onClick: n[5] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
|
|
520
518
|
}, null, 8, [
|
|
@@ -522,10 +520,10 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
522
520
|
"label",
|
|
523
521
|
"active"
|
|
524
522
|
]),
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
icon:
|
|
528
|
-
label:
|
|
523
|
+
c($),
|
|
524
|
+
c(Z, {
|
|
525
|
+
icon: v(le),
|
|
526
|
+
label: v(F).paragraphEditor.addLink,
|
|
529
527
|
active: e.editor.isActive("link"),
|
|
530
528
|
onClick: n[6] ||= (e) => x("open-link-dialog")
|
|
531
529
|
}, null, 8, [
|
|
@@ -533,10 +531,10 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
533
531
|
"label",
|
|
534
532
|
"active"
|
|
535
533
|
])
|
|
536
|
-
]),
|
|
537
|
-
|
|
538
|
-
icon:
|
|
539
|
-
label:
|
|
534
|
+
]), g("div", Pe, [
|
|
535
|
+
c(Z, {
|
|
536
|
+
icon: v(ue),
|
|
537
|
+
label: v(F).paragraphEditor.bulletList,
|
|
540
538
|
active: e.editor.isActive("bulletList"),
|
|
541
539
|
onClick: n[7] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
|
|
542
540
|
}, null, 8, [
|
|
@@ -544,9 +542,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
544
542
|
"label",
|
|
545
543
|
"active"
|
|
546
544
|
]),
|
|
547
|
-
|
|
548
|
-
icon:
|
|
549
|
-
label:
|
|
545
|
+
c(Z, {
|
|
546
|
+
icon: v(xe),
|
|
547
|
+
label: v(F).paragraphEditor.numberedList,
|
|
550
548
|
active: e.editor.isActive("orderedList"),
|
|
551
549
|
onClick: n[8] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
|
|
552
550
|
}, null, 8, [
|
|
@@ -554,10 +552,10 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
554
552
|
"label",
|
|
555
553
|
"active"
|
|
556
554
|
]),
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
icon:
|
|
560
|
-
label:
|
|
555
|
+
c($),
|
|
556
|
+
c(Z, {
|
|
557
|
+
icon: v(me),
|
|
558
|
+
label: v(F).paragraphEditor.alignLeft,
|
|
561
559
|
active: e.editor.isActive({ textAlign: "left" }),
|
|
562
560
|
onClick: n[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
|
|
563
561
|
}, null, 8, [
|
|
@@ -565,9 +563,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
565
563
|
"label",
|
|
566
564
|
"active"
|
|
567
565
|
]),
|
|
568
|
-
|
|
569
|
-
icon:
|
|
570
|
-
label:
|
|
566
|
+
c(Z, {
|
|
567
|
+
icon: v(pe),
|
|
568
|
+
label: v(F).paragraphEditor.alignCenter,
|
|
571
569
|
active: e.editor.isActive({ textAlign: "center" }),
|
|
572
570
|
onClick: n[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
|
|
573
571
|
}, null, 8, [
|
|
@@ -575,9 +573,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
575
573
|
"label",
|
|
576
574
|
"active"
|
|
577
575
|
]),
|
|
578
|
-
|
|
579
|
-
icon:
|
|
580
|
-
label:
|
|
576
|
+
c(Z, {
|
|
577
|
+
icon: v(fe),
|
|
578
|
+
label: v(F).paragraphEditor.alignRight,
|
|
581
579
|
active: e.editor.isActive({ textAlign: "right" }),
|
|
582
580
|
onClick: n[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
|
|
583
581
|
}, null, 8, [
|
|
@@ -585,9 +583,9 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
585
583
|
"label",
|
|
586
584
|
"active"
|
|
587
585
|
]),
|
|
588
|
-
|
|
589
|
-
icon:
|
|
590
|
-
label:
|
|
586
|
+
c(Z, {
|
|
587
|
+
icon: v(Ee),
|
|
588
|
+
label: v(F).paragraphEditor.alignJustify,
|
|
591
589
|
active: e.editor.isActive({ textAlign: "justify" }),
|
|
592
590
|
onClick: n[12] ||= (t) => e.editor.chain().focus().setTextAlign("justify").run()
|
|
593
591
|
}, null, 8, [
|
|
@@ -595,12 +593,12 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
595
593
|
"label",
|
|
596
594
|
"active"
|
|
597
595
|
]),
|
|
598
|
-
|
|
599
|
-
|
|
596
|
+
c($),
|
|
597
|
+
c(W, {
|
|
600
598
|
"model-value": Y(),
|
|
601
|
-
options:
|
|
602
|
-
label:
|
|
603
|
-
placeholder:
|
|
599
|
+
options: v(ve),
|
|
600
|
+
label: v(F).paragraphEditor.lineHeight,
|
|
601
|
+
placeholder: v(F).paragraphEditor.lineHeightShort,
|
|
604
602
|
"width-class": "tpl:w-16",
|
|
605
603
|
"onUpdate:modelValue": X
|
|
606
604
|
}, null, 8, [
|
|
@@ -609,11 +607,11 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
609
607
|
"label",
|
|
610
608
|
"placeholder"
|
|
611
609
|
]),
|
|
612
|
-
|
|
610
|
+
c(W, {
|
|
613
611
|
"model-value": B("letterSpacing"),
|
|
614
|
-
options:
|
|
615
|
-
label:
|
|
616
|
-
placeholder:
|
|
612
|
+
options: v(R),
|
|
613
|
+
label: v(F).paragraphEditor.letterSpacing,
|
|
614
|
+
placeholder: v(F).paragraphEditor.letterSpacingShort,
|
|
617
615
|
"width-class": "tpl:w-20",
|
|
618
616
|
"onUpdate:modelValue": Q
|
|
619
617
|
}, null, 8, [
|
|
@@ -622,41 +620,41 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
622
620
|
"label",
|
|
623
621
|
"placeholder"
|
|
624
622
|
]),
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
icon:
|
|
628
|
-
label:
|
|
623
|
+
c($),
|
|
624
|
+
c(Z, {
|
|
625
|
+
icon: v(Se),
|
|
626
|
+
label: v(F).paragraphEditor.clearFormatting,
|
|
629
627
|
onClick: n[13] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
|
|
630
628
|
}, null, 8, ["icon", "label"]),
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
e.canRequestMergeTag ? (
|
|
629
|
+
c($),
|
|
630
|
+
c(Oe, { onInsert: z }),
|
|
631
|
+
e.canRequestMergeTag ? (m(), f(_, { key: 0 }, [c($), g("button", {
|
|
634
632
|
type: "button",
|
|
635
633
|
class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)]",
|
|
636
|
-
"aria-label":
|
|
637
|
-
title:
|
|
634
|
+
"aria-label": v(F).mergeTag.insert,
|
|
635
|
+
title: v(F).mergeTag.insert,
|
|
638
636
|
onClick: n[14] ||= (e) => x("add-merge-tag")
|
|
639
|
-
}, [
|
|
637
|
+
}, [c(v(ae), {
|
|
640
638
|
size: 16,
|
|
641
639
|
"stroke-width": 2
|
|
642
|
-
}),
|
|
643
|
-
e.canInsertLogicTag ? (
|
|
640
|
+
}), p(" " + s(v(F).mergeTag.insertShort), 1)], 8, Fe)], 64)) : d("", !0),
|
|
641
|
+
e.canInsertLogicTag ? (m(), f(_, { key: 1 }, [c($), g("button", {
|
|
644
642
|
type: "button",
|
|
645
643
|
class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)]",
|
|
646
|
-
"aria-label":
|
|
647
|
-
title:
|
|
644
|
+
"aria-label": v(F).logicTag.insert,
|
|
645
|
+
title: v(F).logicTag.insert,
|
|
648
646
|
"data-testid": "insert-logic-button",
|
|
649
647
|
onClick: n[15] ||= (e) => x("add-logic-tag")
|
|
650
|
-
}, [
|
|
648
|
+
}, [c(v(oe), {
|
|
651
649
|
size: 16,
|
|
652
650
|
"stroke-width": 2
|
|
653
|
-
}),
|
|
654
|
-
|
|
655
|
-
])], 64)) : (
|
|
651
|
+
}), p(" " + s(v(F).logicTag.insertShort), 1)], 8, Ie)], 64)) : d("", !0),
|
|
652
|
+
h.value ? (m(), f(_, { key: 2 }, [c($), c(v(r), { editor: e.editor }, null, 8, ["editor"])], 64)) : d("", !0)
|
|
653
|
+
])], 64)) : (m(), f("div", Le, [c(v(de), {
|
|
656
654
|
class: "tpl-spinner",
|
|
657
655
|
size: 14,
|
|
658
656
|
"stroke-width": 2
|
|
659
|
-
}),
|
|
657
|
+
}), p(" " + s(v(F).errors.editorLoading), 1)]))], 12, Me)], 8, ["to"])) : d("", !0);
|
|
660
658
|
}
|
|
661
659
|
}), ze = { class: "tpl-text-editor-wrapper tpl:relative" }, Be = /*@__PURE__*/ x({
|
|
662
660
|
__name: "ParagraphEditor",
|
|
@@ -666,31 +664,31 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
666
664
|
},
|
|
667
665
|
emits: ["done"],
|
|
668
666
|
setup(e, { emit: t }) {
|
|
669
|
-
let r = e,
|
|
667
|
+
let r = e, a = t, o = P(), s = n(M, null), l = w(s?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: u, EditorContent: d, isLoading: p, initError: h, retry: g, showLinkDialog: _, linkUrl: y, linkColor: b, linkDialogRef: x, canRequestMergeTag: S, canInsertLogicTag: C, openLinkDialog: T, insertLink: E, removeLink: D, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: ee, handleAddLogicTag: te } = k({
|
|
670
668
|
blockId: () => r.block.id,
|
|
671
669
|
blockContent: () => r.block.content,
|
|
672
|
-
onDone: () =>
|
|
670
|
+
onDone: () => a("done"),
|
|
673
671
|
editorName: "ParagraphEditor",
|
|
674
672
|
async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
|
|
675
|
-
let [{ Editor:
|
|
676
|
-
import("./dist-
|
|
677
|
-
import("./dist-
|
|
678
|
-
import("./dist-
|
|
679
|
-
import("./dist-
|
|
680
|
-
import("./dist-
|
|
681
|
-
import("./dist-
|
|
682
|
-
import("./dist-
|
|
683
|
-
import("./dist-
|
|
684
|
-
import("./dist-
|
|
685
|
-
import("./dist-
|
|
686
|
-
import("./dist-
|
|
687
|
-
import("./extensions-
|
|
673
|
+
let [{ Editor: a, EditorContent: s }, { default: c }, { default: u }, { default: d }, { default: f }, { default: p }, { default: m }, { TextStyle: h }, { default: g }, { default: _ }, { default: v }, { MergeTagNode: y, MergeTagSuggestion: b, LogicMergeTagNode: x, FontSize: S, LineHeight: C, LetterSpacing: w, LineBoundaryKeys: T }] = await Promise.all([
|
|
674
|
+
import("./dist-D6cMdrfG.js").then((e) => e.r),
|
|
675
|
+
import("./dist-CWSG7Kj0.js"),
|
|
676
|
+
import("./dist-txQLT2sF.js"),
|
|
677
|
+
import("./dist-Dd5MU2Ev.js"),
|
|
678
|
+
import("./dist-BF5zEHop.js"),
|
|
679
|
+
import("./dist-Cy8I5scI.js"),
|
|
680
|
+
import("./dist-BS5uKktL.js"),
|
|
681
|
+
import("./dist-p3wymUDt.js"),
|
|
682
|
+
import("./dist-pA3ooG6N.js"),
|
|
683
|
+
import("./dist-DyFArF_G.js"),
|
|
684
|
+
import("./dist-D6fZec6r.js"),
|
|
685
|
+
import("./extensions-fo_c-vqf.js")
|
|
688
686
|
]);
|
|
689
687
|
return {
|
|
690
|
-
TiptapEditor:
|
|
688
|
+
TiptapEditor: a,
|
|
691
689
|
EC: s,
|
|
692
690
|
extensions: [
|
|
693
|
-
|
|
691
|
+
c.configure({
|
|
694
692
|
heading: !1,
|
|
695
693
|
codeBlock: !1,
|
|
696
694
|
blockquote: !1,
|
|
@@ -710,7 +708,7 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
710
708
|
}),
|
|
711
709
|
m.configure({
|
|
712
710
|
types: ["paragraph"],
|
|
713
|
-
defaultAlignment:
|
|
711
|
+
defaultAlignment: l
|
|
714
712
|
}),
|
|
715
713
|
h,
|
|
716
714
|
g,
|
|
@@ -729,22 +727,22 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
729
727
|
mergeTags: () => e.value,
|
|
730
728
|
char: n,
|
|
731
729
|
emptyText: i,
|
|
732
|
-
popoverRoot:
|
|
730
|
+
popoverRoot: o
|
|
733
731
|
})] : []
|
|
734
732
|
]
|
|
735
733
|
};
|
|
736
734
|
}
|
|
737
735
|
});
|
|
738
|
-
return (t, n) => (
|
|
739
|
-
|
|
740
|
-
editor:
|
|
736
|
+
return (t, n) => (m(), f("div", ze, [
|
|
737
|
+
c(Re, {
|
|
738
|
+
editor: v(u),
|
|
741
739
|
"toolbar-position": e.toolbarPosition,
|
|
742
|
-
"is-loading":
|
|
743
|
-
"can-request-merge-tag":
|
|
744
|
-
"can-insert-logic-tag":
|
|
745
|
-
onOpenLinkDialog:
|
|
746
|
-
onAddMergeTag:
|
|
747
|
-
onAddLogicTag:
|
|
740
|
+
"is-loading": v(p),
|
|
741
|
+
"can-request-merge-tag": v(S),
|
|
742
|
+
"can-insert-logic-tag": v(C),
|
|
743
|
+
onOpenLinkDialog: v(T),
|
|
744
|
+
onAddMergeTag: v(ee),
|
|
745
|
+
onAddLogicTag: v(te)
|
|
748
746
|
}, null, 8, [
|
|
749
747
|
"editor",
|
|
750
748
|
"toolbar-position",
|
|
@@ -755,12 +753,12 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
755
753
|
"onAddMergeTag",
|
|
756
754
|
"onAddLogicTag"
|
|
757
755
|
]),
|
|
758
|
-
|
|
759
|
-
editor:
|
|
760
|
-
"editor-content":
|
|
761
|
-
"is-loading":
|
|
762
|
-
"init-error":
|
|
763
|
-
onRetry: g
|
|
756
|
+
c(R, {
|
|
757
|
+
editor: v(u),
|
|
758
|
+
"editor-content": v(d),
|
|
759
|
+
"is-loading": v(p),
|
|
760
|
+
"init-error": v(h),
|
|
761
|
+
onRetry: v(g)
|
|
764
762
|
}, null, 8, [
|
|
765
763
|
"editor",
|
|
766
764
|
"editor-content",
|
|
@@ -768,19 +766,19 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
768
766
|
"init-error",
|
|
769
767
|
"onRetry"
|
|
770
768
|
]),
|
|
771
|
-
|
|
772
|
-
visible:
|
|
773
|
-
"is-editing-link":
|
|
774
|
-
"dialog-ref":
|
|
775
|
-
"onUpdate:dialogRef": n[0] ||= (e) =>
|
|
776
|
-
"link-url":
|
|
777
|
-
"onUpdate:linkUrl": n[1] ||= (e) =>
|
|
778
|
-
"link-color":
|
|
779
|
-
"onUpdate:linkColor": n[2] ||= (e) =>
|
|
780
|
-
onClose:
|
|
781
|
-
onInsert:
|
|
782
|
-
onRemove:
|
|
783
|
-
onKeydown:
|
|
769
|
+
c(L, {
|
|
770
|
+
visible: v(_),
|
|
771
|
+
"is-editing-link": v(u)?.isActive("link") ?? !1,
|
|
772
|
+
"dialog-ref": v(x),
|
|
773
|
+
"onUpdate:dialogRef": n[0] ||= (e) => i(x) ? x.value = e : null,
|
|
774
|
+
"link-url": v(y),
|
|
775
|
+
"onUpdate:linkUrl": n[1] ||= (e) => i(y) ? y.value = e : null,
|
|
776
|
+
"link-color": v(b),
|
|
777
|
+
"onUpdate:linkColor": n[2] ||= (e) => i(b) ? b.value = e : null,
|
|
778
|
+
onClose: v(A),
|
|
779
|
+
onInsert: v(E),
|
|
780
|
+
onRemove: v(D),
|
|
781
|
+
onKeydown: v(j)
|
|
784
782
|
}, null, 8, [
|
|
785
783
|
"visible",
|
|
786
784
|
"is-editing-link",
|
|
@@ -795,5 +793,4 @@ var Me = ["data-tpl-theme", "aria-label"], Ne = { class: "tpl:flex tpl:items-cen
|
|
|
795
793
|
]));
|
|
796
794
|
}
|
|
797
795
|
}), Ve = /* @__PURE__ */ e({ default: () => He }), He = Be;
|
|
798
|
-
//#endregion
|
|
799
796
|
export { He as default, W as n, Ve as t };
|