@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,23 +1,23 @@
|
|
|
1
|
-
import { n as e } from "./rolldown-runtime-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as T } from "./dist-
|
|
5
|
-
import { S as E, v as D, x as O, y as k } from "./useEditorCore-
|
|
6
|
-
import { $ as A, A as j, E as M, J as N, Z as ee, g as P, l as te, v as ne } from "./keys-
|
|
7
|
-
import { t as re } from "./useI18n-
|
|
8
|
-
import { n as F } from "./usePopoverPosition-
|
|
9
|
-
import {
|
|
10
|
-
import { t as L } from "./_plugin-vue_export-helper-
|
|
11
|
-
import { a as xe, n as Se, o as Ce, s as we } from "./styleConstants-
|
|
12
|
-
import { c as R } from "./LogicTagInsertButton-
|
|
13
|
-
import { n as Te, t as Ee } from "./withCurrentFont-
|
|
14
|
-
import { n as z, t as B } from "./RichTextEditorContent-
|
|
15
|
-
|
|
1
|
+
import { n as e } from "./rolldown-runtime-QGRDbDUS.js";
|
|
2
|
+
import { C as t, D as n, I as r, P as i, S as a, Y as o, _ as s, b as c, c as l, dt as u, et as d, f, ft as p, g as m, h, l as g, m as _, p as v, st as y, u as b, ut as x, x as S, z as C } from "./draggable-Du8AUMFT.js";
|
|
3
|
+
import { $ as w } from "./src-DwWrYnUj.js";
|
|
4
|
+
import { t as T } from "./dist-BMzNabtD.js";
|
|
5
|
+
import { S as E, v as D, x as O, y as k } from "./useEditorCore-BrY66C2y.js";
|
|
6
|
+
import { $ as A, A as j, E as M, J as N, Z as ee, g as P, l as te, v as ne } from "./keys-CUj6UA38.js";
|
|
7
|
+
import { t as re } from "./useI18n-D8pY4LTq.js";
|
|
8
|
+
import { n as F } from "./usePopoverPosition-DSMtmu2W.js";
|
|
9
|
+
import { C as ie, Et as I, L as ae, N as oe, S as se, Vt as ce, _ as le, at as ue, b as de, dt as fe, g as pe, ht as me, lt as he, m as ge, ot as _e, st as ve, u as ye, v as be } from "./icons-okSPsLOa.js";
|
|
10
|
+
import { t as L } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
|
|
11
|
+
import { a as xe, n as Se, o as Ce, s as we } from "./styleConstants-B8xVRiwX.js";
|
|
12
|
+
import { c as R } from "./LogicTagInsertButton-BIi05UQu.js";
|
|
13
|
+
import { n as Te, t as Ee } from "./withCurrentFont-hZTvYBHO.js";
|
|
14
|
+
import { n as z, t as B } from "./RichTextEditorContent-DNjR_sNN.js";
|
|
15
|
+
// src/components/toolbar/ToolbarSelect.vue?vue&type=script&setup=true&lang.ts
|
|
16
16
|
var V = [
|
|
17
17
|
"value",
|
|
18
18
|
"aria-label",
|
|
19
19
|
"title"
|
|
20
|
-
], H = { value: "" }, U = ["value"], W = /* @__PURE__ */
|
|
20
|
+
], H = { value: "" }, U = ["value"], W = /* @__PURE__ */ t({
|
|
21
21
|
__name: "ToolbarSelect",
|
|
22
22
|
props: {
|
|
23
23
|
modelValue: {},
|
|
@@ -28,11 +28,11 @@ var V = [
|
|
|
28
28
|
},
|
|
29
29
|
emits: ["update:modelValue"],
|
|
30
30
|
setup(e, { emit: t }) {
|
|
31
|
-
let n = e,
|
|
32
|
-
function
|
|
33
|
-
|
|
31
|
+
let n = e, a = t;
|
|
32
|
+
function o(e) {
|
|
33
|
+
a("update:modelValue", e.target.value);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function c(e) {
|
|
36
36
|
return typeof e == "string" ? e : e.value;
|
|
37
37
|
}
|
|
38
38
|
function l(e) {
|
|
@@ -44,79 +44,79 @@ var V = [
|
|
|
44
44
|
"unset",
|
|
45
45
|
"revert",
|
|
46
46
|
"revert-layer"
|
|
47
|
-
]),
|
|
48
|
-
let e =
|
|
49
|
-
return e === "" || n.options.some((t) =>
|
|
47
|
+
]), d = v(() => u.has(n.modelValue) ? "" : n.modelValue), f = v(() => {
|
|
48
|
+
let e = d.value;
|
|
49
|
+
return e === "" || n.options.some((t) => c(t) === e) ? n.options : [e, ...n.options];
|
|
50
50
|
});
|
|
51
|
-
return (t, n) => (
|
|
52
|
-
class:
|
|
53
|
-
value:
|
|
51
|
+
return (t, n) => (i(), s("select", {
|
|
52
|
+
class: x(["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"]),
|
|
53
|
+
value: d.value,
|
|
54
54
|
"aria-label": e.label,
|
|
55
55
|
title: e.label,
|
|
56
|
-
onChange:
|
|
57
|
-
}, [_("option", H,
|
|
58
|
-
key:
|
|
59
|
-
value:
|
|
60
|
-
},
|
|
56
|
+
onChange: o
|
|
57
|
+
}, [_("option", H, p(e.placeholder ?? ""), 1), (i(!0), s(b, null, r(f.value, (e) => (i(), s("option", {
|
|
58
|
+
key: c(e),
|
|
59
|
+
value: c(e)
|
|
60
|
+
}, p(l(e)), 9, U))), 128))], 42, V));
|
|
61
61
|
}
|
|
62
62
|
}), G = [
|
|
63
63
|
"aria-label",
|
|
64
64
|
"title",
|
|
65
65
|
"aria-expanded"
|
|
66
|
-
], K = ["aria-label"], q = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, J = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, Y = ["aria-label", "onClick"], De = /* @__PURE__ */
|
|
66
|
+
], K = ["aria-label"], q = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, J = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, Y = ["aria-label", "onClick"], De = /* @__PURE__ */ t({
|
|
67
67
|
__name: "EmojiPickerDropdown",
|
|
68
68
|
emits: ["insert"],
|
|
69
|
-
setup(e, { emit:
|
|
70
|
-
let
|
|
69
|
+
setup(e, { emit: t }) {
|
|
70
|
+
let n = t, { categories: a, isOpen: o, toggle: c, close: u } = O(), { t: f, format: h } = re(), C = d(null), w = d(null), D = v(() => o.value);
|
|
71
71
|
E(C, D), T(w, () => {
|
|
72
|
-
|
|
72
|
+
o.value && u();
|
|
73
73
|
});
|
|
74
74
|
function k(e) {
|
|
75
|
-
|
|
75
|
+
n("insert", e), u();
|
|
76
76
|
}
|
|
77
|
-
return (e, t) => (
|
|
77
|
+
return (e, t) => (i(), s("div", {
|
|
78
78
|
ref_key: "rootRef",
|
|
79
79
|
ref: w,
|
|
80
80
|
class: "tpl:relative"
|
|
81
81
|
}, [_("button", {
|
|
82
82
|
type: "button",
|
|
83
|
-
class:
|
|
84
|
-
"aria-label":
|
|
85
|
-
title:
|
|
86
|
-
"aria-expanded":
|
|
83
|
+
class: x(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": y(o) }]),
|
|
84
|
+
"aria-label": y(f).paragraphEditor.insertEmoji,
|
|
85
|
+
title: y(f).paragraphEditor.insertEmoji,
|
|
86
|
+
"aria-expanded": y(o),
|
|
87
87
|
"aria-haspopup": "dialog",
|
|
88
88
|
"aria-controls": "tpl-emoji-picker",
|
|
89
|
-
onClick: t[0] ||= (...e) =>
|
|
90
|
-
}, [S(
|
|
89
|
+
onClick: t[0] ||= (...e) => y(c) && y(c)(...e)
|
|
90
|
+
}, [S(y(I), {
|
|
91
91
|
size: 16,
|
|
92
92
|
"stroke-width": 2
|
|
93
|
-
})], 10, G),
|
|
93
|
+
})], 10, G), y(o) ? (i(), s("div", {
|
|
94
94
|
key: 0,
|
|
95
95
|
id: "tpl-emoji-picker",
|
|
96
96
|
ref_key: "pickerRef",
|
|
97
97
|
ref: C,
|
|
98
98
|
role: "dialog",
|
|
99
99
|
"aria-modal": "false",
|
|
100
|
-
"aria-label":
|
|
100
|
+
"aria-label": y(f).paragraphEditor.insertEmoji,
|
|
101
101
|
tabindex: "-1",
|
|
102
102
|
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)]",
|
|
103
|
-
onKeydown: t[1] ||=
|
|
104
|
-
}, [(
|
|
103
|
+
onKeydown: t[1] ||= l(g((...e) => y(u) && y(u)(...e), ["stop", "prevent"]), ["esc"])
|
|
104
|
+
}, [(i(!0), s(b, null, r(y(a), (e) => (i(), s("div", {
|
|
105
105
|
key: e.key,
|
|
106
106
|
class: "tpl:mb-2 tpl:last:mb-0"
|
|
107
|
-
}, [_("div", q,
|
|
107
|
+
}, [_("div", q, p(y(f).emoji[e.key]), 1), _("div", J, [(i(!0), s(b, null, r(e.emojis, (e) => (i(), s("button", {
|
|
108
108
|
key: e,
|
|
109
109
|
type: "button",
|
|
110
|
-
"aria-label":
|
|
110
|
+
"aria-label": y(h)(y(f).paragraphEditor.emojiItemLabel, { emoji: e }),
|
|
111
111
|
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)]",
|
|
112
112
|
onClick: (t) => k(e)
|
|
113
|
-
},
|
|
113
|
+
}, p(e), 9, Y))), 128))])]))), 128))], 40, K)) : m("", !0)], 512));
|
|
114
114
|
}
|
|
115
115
|
}), X = [
|
|
116
116
|
"aria-label",
|
|
117
117
|
"title",
|
|
118
118
|
"aria-pressed"
|
|
119
|
-
], Z = /* @__PURE__ */
|
|
119
|
+
], Z = /* @__PURE__ */ t({
|
|
120
120
|
__name: "ToolbarIconButton",
|
|
121
121
|
props: {
|
|
122
122
|
icon: {},
|
|
@@ -126,13 +126,13 @@ var V = [
|
|
|
126
126
|
size: {}
|
|
127
127
|
},
|
|
128
128
|
setup(e) {
|
|
129
|
-
return (t, n) => (
|
|
129
|
+
return (t, n) => (i(), s("button", {
|
|
130
130
|
type: "button",
|
|
131
|
-
class:
|
|
131
|
+
class: x(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": e.active }]),
|
|
132
132
|
"aria-label": e.label,
|
|
133
133
|
title: e.label,
|
|
134
134
|
"aria-pressed": e.active ? "true" : "false"
|
|
135
|
-
}, [(
|
|
135
|
+
}, [(i(), h(C(e.icon), {
|
|
136
136
|
size: e.size ?? 16,
|
|
137
137
|
"stroke-width": e.strokeWidth ?? 2
|
|
138
138
|
}, null, 8, ["size", "stroke-width"]))], 10, X));
|
|
@@ -142,20 +142,18 @@ var V = [
|
|
|
142
142
|
"aria-hidden": "true"
|
|
143
143
|
};
|
|
144
144
|
function Ae(e, t) {
|
|
145
|
-
return
|
|
145
|
+
return i(), s("span", ke);
|
|
146
146
|
}
|
|
147
147
|
var Q = /*#__PURE__*/ L(Oe, [["render", Ae]]);
|
|
148
|
-
|
|
149
|
-
//#region src/utils/richTextColor.ts
|
|
148
|
+
// src/utils/richTextColor.ts
|
|
150
149
|
function $(e, t) {
|
|
151
150
|
return e || t || "#000000";
|
|
152
151
|
}
|
|
153
|
-
|
|
154
|
-
//#region src/components/blocks/ParagraphToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
152
|
+
// src/components/blocks/ParagraphToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
155
153
|
var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Ne = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Pe = ["aria-label", "title"], Fe = ["aria-label", "title"], Ie = {
|
|
156
154
|
key: 1,
|
|
157
155
|
class: "tpl:flex tpl:items-center tpl:gap-2 tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
|
|
158
|
-
}, Le = /* @__PURE__ */
|
|
156
|
+
}, Le = /* @__PURE__ */ t({
|
|
159
157
|
__name: "ParagraphToolbar",
|
|
160
158
|
props: {
|
|
161
159
|
editor: {},
|
|
@@ -170,32 +168,32 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
|
|
|
170
168
|
"add-logic-tag"
|
|
171
169
|
],
|
|
172
170
|
setup(e, { emit: t }) {
|
|
173
|
-
let
|
|
171
|
+
let r = a(() => import("./AiRewriteMenu-qf-cfEpy.js")), o = e, l = n(te, {}), d = v(() => l.ai?.isFeatureEnabled("rewrite") ?? !1), g = t, x = n(N, null), C = n(ee, null), w = A(ne, "ParagraphToolbar"), T = F(), E = n(j, null), D = n(M, null), O = n(P, null), k = v(() => (E?.isOpen.value ?? !1) || (D?.isOpen.value ?? !1)), { t: I } = re(), L = w.fonts, z = Ce.map((e) => ({
|
|
174
172
|
value: e,
|
|
175
173
|
label: e === "normal" ? I.paragraphEditor.letterSpacingNormal : e
|
|
176
174
|
}));
|
|
177
175
|
function B(e) {
|
|
178
|
-
|
|
176
|
+
o.editor?.chain().focus().insertContent(e).run();
|
|
179
177
|
}
|
|
180
178
|
function V(e) {
|
|
181
|
-
return
|
|
179
|
+
return o.editor?.getAttributes("textStyle")[e] || "";
|
|
182
180
|
}
|
|
183
181
|
function H(e) {
|
|
184
|
-
let t =
|
|
182
|
+
let t = o.editor?.chain().focus();
|
|
185
183
|
e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
|
|
186
184
|
}
|
|
187
185
|
function U(e) {
|
|
188
|
-
let t =
|
|
186
|
+
let t = o.editor?.chain().focus();
|
|
189
187
|
e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
|
|
190
188
|
}
|
|
191
189
|
function G() {
|
|
192
|
-
return
|
|
190
|
+
return o.editor?.isActive("link") ?? !1;
|
|
193
191
|
}
|
|
194
192
|
function K() {
|
|
195
|
-
return
|
|
193
|
+
return o.editor?.getAttributes("link").color || "";
|
|
196
194
|
}
|
|
197
195
|
function q(e) {
|
|
198
|
-
let t =
|
|
196
|
+
let t = o.editor?.chain().focus();
|
|
199
197
|
t && (G() ? (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());
|
|
200
198
|
}
|
|
201
199
|
function J() {
|
|
@@ -206,44 +204,44 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
|
|
|
206
204
|
return G() ? K() : V("color");
|
|
207
205
|
}
|
|
208
206
|
function X() {
|
|
209
|
-
return
|
|
207
|
+
return o.editor?.getAttributes("paragraph").lineHeight || "";
|
|
210
208
|
}
|
|
211
209
|
function Oe(e) {
|
|
212
|
-
let t =
|
|
210
|
+
let t = o.editor?.chain().focus();
|
|
213
211
|
e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
|
|
214
212
|
}
|
|
215
213
|
function ke(e) {
|
|
216
|
-
let t =
|
|
214
|
+
let t = o.editor?.chain().focus();
|
|
217
215
|
e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
|
|
218
216
|
}
|
|
219
217
|
function Ae() {
|
|
220
|
-
return
|
|
218
|
+
return o.editor?.getAttributes("highlight").color || "";
|
|
221
219
|
}
|
|
222
220
|
function Le(e) {
|
|
223
|
-
let t =
|
|
221
|
+
let t = o.editor?.chain().focus();
|
|
224
222
|
e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
|
|
225
223
|
}
|
|
226
|
-
return (t,
|
|
224
|
+
return (t, n) => y(T) && !k.value ? (i(), h(f, {
|
|
227
225
|
key: 0,
|
|
228
|
-
to:
|
|
226
|
+
to: y(T)
|
|
229
227
|
}, [_("div", {
|
|
230
|
-
"data-tpl-theme":
|
|
228
|
+
"data-tpl-theme": y(C),
|
|
231
229
|
role: "toolbar",
|
|
232
|
-
"aria-label":
|
|
230
|
+
"aria-label": y(I).paragraphEditor.toolbar,
|
|
233
231
|
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)]",
|
|
234
|
-
style:
|
|
235
|
-
...
|
|
232
|
+
style: u({
|
|
233
|
+
...y(x),
|
|
236
234
|
top: `${e.toolbarPosition.top}px`,
|
|
237
235
|
left: `${e.toolbarPosition.left}px`,
|
|
238
236
|
transform: "translateY(-100%)",
|
|
239
237
|
flexDirection: "column"
|
|
240
238
|
})
|
|
241
|
-
}, [!e.isLoading && e.editor ? (
|
|
239
|
+
}, [!e.isLoading && e.editor ? (i(), s(b, { key: 0 }, [_("div", Me, [
|
|
242
240
|
S(W, {
|
|
243
|
-
"model-value":
|
|
244
|
-
options:
|
|
245
|
-
label:
|
|
246
|
-
placeholder:
|
|
241
|
+
"model-value": y(Ee)(V("fontFamily")),
|
|
242
|
+
options: y(Te)(y(L), V("fontFamily")),
|
|
243
|
+
label: y(I).paragraphEditor.fontFamily,
|
|
244
|
+
placeholder: y(I).paragraphEditor.defaultFont,
|
|
247
245
|
"width-class": "tpl:w-32",
|
|
248
246
|
"onUpdate:modelValue": H
|
|
249
247
|
}, null, 8, [
|
|
@@ -254,9 +252,9 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
|
|
|
254
252
|
]),
|
|
255
253
|
S(W, {
|
|
256
254
|
"model-value": V("fontSize"),
|
|
257
|
-
options:
|
|
258
|
-
label:
|
|
259
|
-
placeholder:
|
|
255
|
+
options: y(xe),
|
|
256
|
+
label: y(I).paragraphEditor.fontSize,
|
|
257
|
+
placeholder: y(I).paragraphEditor.defaultSize,
|
|
260
258
|
"width-class": "tpl:w-20",
|
|
261
259
|
"onUpdate:modelValue": U
|
|
262
260
|
}, null, 8, [
|
|
@@ -272,7 +270,7 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
|
|
|
272
270
|
"data-testid": "text-color-picker",
|
|
273
271
|
"model-value": Y(),
|
|
274
272
|
"seed-color": J(),
|
|
275
|
-
"aria-label":
|
|
273
|
+
"aria-label": y(I).paragraphEditor.textColor,
|
|
276
274
|
"onUpdate:modelValue": q
|
|
277
275
|
}, null, 8, [
|
|
278
276
|
"model-value",
|
|
@@ -284,8 +282,8 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
|
|
|
284
282
|
size: "sm",
|
|
285
283
|
"data-testid": "highlight-color-picker",
|
|
286
284
|
"model-value": Ae(),
|
|
287
|
-
"seed-color":
|
|
288
|
-
"aria-label":
|
|
285
|
+
"seed-color": y(Se),
|
|
286
|
+
"aria-label": y(I).paragraphEditor.highlightColor,
|
|
289
287
|
"onUpdate:modelValue": Le
|
|
290
288
|
}, null, 8, [
|
|
291
289
|
"model-value",
|
|
@@ -294,41 +292,41 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
|
|
|
294
292
|
]),
|
|
295
293
|
S(Q),
|
|
296
294
|
S(Z, {
|
|
297
|
-
icon:
|
|
298
|
-
label:
|
|
295
|
+
icon: y(fe),
|
|
296
|
+
label: y(I).paragraphEditor.bold,
|
|
299
297
|
active: e.editor.isActive("bold"),
|
|
300
298
|
"stroke-width": 2.5,
|
|
301
|
-
onClick:
|
|
299
|
+
onClick: n[0] ||= (t) => e.editor.chain().focus().toggleBold().run()
|
|
302
300
|
}, null, 8, [
|
|
303
301
|
"icon",
|
|
304
302
|
"label",
|
|
305
303
|
"active"
|
|
306
304
|
]),
|
|
307
305
|
S(Z, {
|
|
308
|
-
icon:
|
|
309
|
-
label:
|
|
306
|
+
icon: y(me),
|
|
307
|
+
label: y(I).paragraphEditor.italic,
|
|
310
308
|
active: e.editor.isActive("italic"),
|
|
311
|
-
onClick:
|
|
309
|
+
onClick: n[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
|
|
312
310
|
}, null, 8, [
|
|
313
311
|
"icon",
|
|
314
312
|
"label",
|
|
315
313
|
"active"
|
|
316
314
|
]),
|
|
317
315
|
S(Z, {
|
|
318
|
-
icon:
|
|
319
|
-
label:
|
|
316
|
+
icon: y(ye),
|
|
317
|
+
label: y(I).paragraphEditor.underline,
|
|
320
318
|
active: e.editor.isActive("underline"),
|
|
321
|
-
onClick:
|
|
319
|
+
onClick: n[2] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
|
|
322
320
|
}, null, 8, [
|
|
323
321
|
"icon",
|
|
324
322
|
"label",
|
|
325
323
|
"active"
|
|
326
324
|
]),
|
|
327
325
|
S(Z, {
|
|
328
|
-
icon:
|
|
329
|
-
label:
|
|
326
|
+
icon: y(ie),
|
|
327
|
+
label: y(I).paragraphEditor.strikethrough,
|
|
330
328
|
active: e.editor.isActive("strike"),
|
|
331
|
-
onClick:
|
|
329
|
+
onClick: n[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
|
|
332
330
|
}, null, 8, [
|
|
333
331
|
"icon",
|
|
334
332
|
"label",
|
|
@@ -336,20 +334,20 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
|
|
|
336
334
|
]),
|
|
337
335
|
S(Q),
|
|
338
336
|
S(Z, {
|
|
339
|
-
icon:
|
|
340
|
-
label:
|
|
337
|
+
icon: y(se),
|
|
338
|
+
label: y(I).paragraphEditor.subscript,
|
|
341
339
|
active: e.editor.isActive("subscript"),
|
|
342
|
-
onClick:
|
|
340
|
+
onClick: n[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
|
|
343
341
|
}, null, 8, [
|
|
344
342
|
"icon",
|
|
345
343
|
"label",
|
|
346
344
|
"active"
|
|
347
345
|
]),
|
|
348
346
|
S(Z, {
|
|
349
|
-
icon:
|
|
350
|
-
label:
|
|
347
|
+
icon: y(de),
|
|
348
|
+
label: y(I).paragraphEditor.superscript,
|
|
351
349
|
active: e.editor.isActive("superscript"),
|
|
352
|
-
onClick:
|
|
350
|
+
onClick: n[5] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
|
|
353
351
|
}, null, 8, [
|
|
354
352
|
"icon",
|
|
355
353
|
"label",
|
|
@@ -357,10 +355,10 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
|
|
|
357
355
|
]),
|
|
358
356
|
S(Q),
|
|
359
357
|
S(Z, {
|
|
360
|
-
icon:
|
|
361
|
-
label:
|
|
358
|
+
icon: y(he),
|
|
359
|
+
label: y(I).paragraphEditor.addLink,
|
|
362
360
|
active: e.editor.isActive("link"),
|
|
363
|
-
onClick:
|
|
361
|
+
onClick: n[6] ||= (e) => g("open-link-dialog")
|
|
364
362
|
}, null, 8, [
|
|
365
363
|
"icon",
|
|
366
364
|
"label",
|
|
@@ -368,20 +366,20 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
|
|
|
368
366
|
])
|
|
369
367
|
]), _("div", Ne, [
|
|
370
368
|
S(Z, {
|
|
371
|
-
icon:
|
|
372
|
-
label:
|
|
369
|
+
icon: y(_e),
|
|
370
|
+
label: y(I).paragraphEditor.bulletList,
|
|
373
371
|
active: e.editor.isActive("bulletList"),
|
|
374
|
-
onClick:
|
|
372
|
+
onClick: n[7] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
|
|
375
373
|
}, null, 8, [
|
|
376
374
|
"icon",
|
|
377
375
|
"label",
|
|
378
376
|
"active"
|
|
379
377
|
]),
|
|
380
378
|
S(Z, {
|
|
381
|
-
icon:
|
|
382
|
-
label:
|
|
379
|
+
icon: y(ve),
|
|
380
|
+
label: y(I).paragraphEditor.numberedList,
|
|
383
381
|
active: e.editor.isActive("orderedList"),
|
|
384
|
-
onClick:
|
|
382
|
+
onClick: n[8] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
|
|
385
383
|
}, null, 8, [
|
|
386
384
|
"icon",
|
|
387
385
|
"label",
|
|
@@ -389,40 +387,40 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
|
|
|
389
387
|
]),
|
|
390
388
|
S(Q),
|
|
391
389
|
S(Z, {
|
|
392
|
-
icon:
|
|
393
|
-
label:
|
|
390
|
+
icon: y(ge),
|
|
391
|
+
label: y(I).paragraphEditor.alignLeft,
|
|
394
392
|
active: e.editor.isActive({ textAlign: "left" }),
|
|
395
|
-
onClick:
|
|
393
|
+
onClick: n[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
|
|
396
394
|
}, null, 8, [
|
|
397
395
|
"icon",
|
|
398
396
|
"label",
|
|
399
397
|
"active"
|
|
400
398
|
]),
|
|
401
399
|
S(Z, {
|
|
402
|
-
icon:
|
|
403
|
-
label:
|
|
400
|
+
icon: y(be),
|
|
401
|
+
label: y(I).paragraphEditor.alignCenter,
|
|
404
402
|
active: e.editor.isActive({ textAlign: "center" }),
|
|
405
|
-
onClick:
|
|
403
|
+
onClick: n[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
|
|
406
404
|
}, null, 8, [
|
|
407
405
|
"icon",
|
|
408
406
|
"label",
|
|
409
407
|
"active"
|
|
410
408
|
]),
|
|
411
409
|
S(Z, {
|
|
412
|
-
icon:
|
|
413
|
-
label:
|
|
410
|
+
icon: y(le),
|
|
411
|
+
label: y(I).paragraphEditor.alignRight,
|
|
414
412
|
active: e.editor.isActive({ textAlign: "right" }),
|
|
415
|
-
onClick:
|
|
413
|
+
onClick: n[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
|
|
416
414
|
}, null, 8, [
|
|
417
415
|
"icon",
|
|
418
416
|
"label",
|
|
419
417
|
"active"
|
|
420
418
|
]),
|
|
421
419
|
S(Z, {
|
|
422
|
-
icon:
|
|
423
|
-
label:
|
|
420
|
+
icon: y(pe),
|
|
421
|
+
label: y(I).paragraphEditor.alignJustify,
|
|
424
422
|
active: e.editor.isActive({ textAlign: "justify" }),
|
|
425
|
-
onClick:
|
|
423
|
+
onClick: n[12] ||= (t) => e.editor.chain().focus().setTextAlign("justify").run()
|
|
426
424
|
}, null, 8, [
|
|
427
425
|
"icon",
|
|
428
426
|
"label",
|
|
@@ -431,9 +429,9 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
|
|
|
431
429
|
S(Q),
|
|
432
430
|
S(W, {
|
|
433
431
|
"model-value": X(),
|
|
434
|
-
options:
|
|
435
|
-
label:
|
|
436
|
-
placeholder:
|
|
432
|
+
options: y(we),
|
|
433
|
+
label: y(I).paragraphEditor.lineHeight,
|
|
434
|
+
placeholder: y(I).paragraphEditor.lineHeightShort,
|
|
437
435
|
"width-class": "tpl:w-16",
|
|
438
436
|
"onUpdate:modelValue": Oe
|
|
439
437
|
}, null, 8, [
|
|
@@ -444,9 +442,9 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
|
|
|
444
442
|
]),
|
|
445
443
|
S(W, {
|
|
446
444
|
"model-value": V("letterSpacing"),
|
|
447
|
-
options:
|
|
448
|
-
label:
|
|
449
|
-
placeholder:
|
|
445
|
+
options: y(z),
|
|
446
|
+
label: y(I).paragraphEditor.letterSpacing,
|
|
447
|
+
placeholder: y(I).paragraphEditor.letterSpacingShort,
|
|
450
448
|
"width-class": "tpl:w-20",
|
|
451
449
|
"onUpdate:modelValue": ke
|
|
452
450
|
}, null, 8, [
|
|
@@ -457,41 +455,41 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
|
|
|
457
455
|
]),
|
|
458
456
|
S(Q),
|
|
459
457
|
S(Z, {
|
|
460
|
-
icon:
|
|
461
|
-
label:
|
|
462
|
-
onClick:
|
|
458
|
+
icon: y(ae),
|
|
459
|
+
label: y(I).paragraphEditor.clearFormatting,
|
|
460
|
+
onClick: n[13] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
|
|
463
461
|
}, null, 8, ["icon", "label"]),
|
|
464
462
|
S(Q),
|
|
465
463
|
S(De, { onInsert: B }),
|
|
466
|
-
e.canRequestMergeTag ? (
|
|
464
|
+
e.canRequestMergeTag ? (i(), s(b, { key: 0 }, [S(Q), _("button", {
|
|
467
465
|
type: "button",
|
|
468
466
|
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)]",
|
|
469
|
-
"aria-label":
|
|
470
|
-
title:
|
|
471
|
-
onClick:
|
|
472
|
-
}, [S(
|
|
467
|
+
"aria-label": y(I).mergeTag.insert,
|
|
468
|
+
title: y(I).mergeTag.insert,
|
|
469
|
+
onClick: n[14] ||= (e) => g("add-merge-tag")
|
|
470
|
+
}, [S(y(oe), {
|
|
473
471
|
size: 16,
|
|
474
472
|
"stroke-width": 2
|
|
475
|
-
}),
|
|
476
|
-
e.canInsertLogicTag ? (
|
|
473
|
+
}), c(" " + p(y(I).mergeTag.insertShort), 1)], 8, Pe)], 64)) : m("", !0),
|
|
474
|
+
e.canInsertLogicTag ? (i(), s(b, { key: 1 }, [S(Q), _("button", {
|
|
477
475
|
type: "button",
|
|
478
476
|
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)]",
|
|
479
|
-
"aria-label":
|
|
480
|
-
title:
|
|
477
|
+
"aria-label": y(I).logicTag.insert,
|
|
478
|
+
title: y(I).logicTag.insert,
|
|
481
479
|
"data-testid": "insert-logic-button",
|
|
482
|
-
onClick:
|
|
483
|
-
}, [S(
|
|
480
|
+
onClick: n[15] ||= (e) => g("add-logic-tag")
|
|
481
|
+
}, [S(y(ce), {
|
|
484
482
|
size: 16,
|
|
485
483
|
"stroke-width": 2
|
|
486
|
-
}),
|
|
487
|
-
|
|
488
|
-
])], 64)) : (
|
|
484
|
+
}), c(" " + p(y(I).logicTag.insertShort), 1)], 8, Fe)], 64)) : m("", !0),
|
|
485
|
+
d.value ? (i(), s(b, { key: 2 }, [S(Q), S(y(r), { editor: e.editor }, null, 8, ["editor"])], 64)) : m("", !0)
|
|
486
|
+
])], 64)) : (i(), s("div", Ie, [S(y(ue), {
|
|
489
487
|
class: "tpl-spinner",
|
|
490
488
|
size: 14,
|
|
491
489
|
"stroke-width": 2
|
|
492
|
-
}),
|
|
490
|
+
}), c(" " + p(y(I).errors.editorLoading), 1)]))], 12, je)], 8, ["to"])) : m("", !0);
|
|
493
491
|
}
|
|
494
|
-
}), Re = { class: "tpl-text-editor-wrapper tpl:relative" }, ze = /*@__PURE__*/
|
|
492
|
+
}), Re = { class: "tpl-text-editor-wrapper tpl:relative" }, ze = /*@__PURE__*/ t({
|
|
495
493
|
__name: "ParagraphEditor",
|
|
496
494
|
props: {
|
|
497
495
|
block: {},
|
|
@@ -499,31 +497,31 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
|
|
|
499
497
|
},
|
|
500
498
|
emits: ["done"],
|
|
501
499
|
setup(e, { emit: t }) {
|
|
502
|
-
let
|
|
503
|
-
blockId: () =>
|
|
504
|
-
blockContent: () =>
|
|
505
|
-
onDone: () =>
|
|
500
|
+
let r = e, a = t, c = F(), l = n(P, null), u = w(l?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: d, EditorContent: f, isLoading: p, initError: m, retry: h, showLinkDialog: g, linkUrl: _, linkColor: v, linkDialogRef: b, canRequestMergeTag: x, canInsertLogicTag: C, openLinkDialog: T, insertLink: E, removeLink: O, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: M, handleAddLogicTag: N } = D({
|
|
501
|
+
blockId: () => r.block.id,
|
|
502
|
+
blockContent: () => r.block.content,
|
|
503
|
+
onDone: () => a("done"),
|
|
506
504
|
editorName: "ParagraphEditor",
|
|
507
505
|
async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
|
|
508
|
-
let [{ Editor: a, EditorContent: o }, { default:
|
|
509
|
-
import("./tiptap-
|
|
510
|
-
import("./tiptap-
|
|
511
|
-
import("./tiptap-
|
|
512
|
-
import("./tiptap-
|
|
513
|
-
import("./tiptap-
|
|
514
|
-
import("./tiptap-
|
|
515
|
-
import("./tiptap-
|
|
516
|
-
import("./tiptap-
|
|
517
|
-
import("./tiptap-
|
|
518
|
-
import("./tiptap-
|
|
519
|
-
import("./tiptap-
|
|
520
|
-
import("./extensions-
|
|
506
|
+
let [{ Editor: a, EditorContent: o }, { default: s }, { default: l }, { 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([
|
|
507
|
+
import("./tiptap-CbiTlECY.js").then((e) => e.i),
|
|
508
|
+
import("./tiptap-CbiTlECY.js").then((e) => e.a),
|
|
509
|
+
import("./tiptap-CbiTlECY.js").then((e) => e.u),
|
|
510
|
+
import("./tiptap-CbiTlECY.js").then((e) => e.o),
|
|
511
|
+
import("./tiptap-CbiTlECY.js").then((e) => e.l),
|
|
512
|
+
import("./tiptap-CbiTlECY.js").then((e) => e.c),
|
|
513
|
+
import("./tiptap-CbiTlECY.js").then((e) => e.s),
|
|
514
|
+
import("./tiptap-CbiTlECY.js").then((e) => e.m),
|
|
515
|
+
import("./tiptap-CbiTlECY.js").then((e) => e.p),
|
|
516
|
+
import("./tiptap-CbiTlECY.js").then((e) => e.f),
|
|
517
|
+
import("./tiptap-CbiTlECY.js").then((e) => e.d),
|
|
518
|
+
import("./extensions-CFF2KWy-.js")
|
|
521
519
|
]);
|
|
522
520
|
return {
|
|
523
521
|
TiptapEditor: a,
|
|
524
522
|
EC: o,
|
|
525
523
|
extensions: [
|
|
526
|
-
|
|
524
|
+
s.configure({
|
|
527
525
|
heading: !1,
|
|
528
526
|
codeBlock: !1,
|
|
529
527
|
blockquote: !1,
|
|
@@ -562,22 +560,22 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
|
|
|
562
560
|
mergeTags: () => e.value,
|
|
563
561
|
char: n,
|
|
564
562
|
emptyText: i,
|
|
565
|
-
popoverRoot:
|
|
563
|
+
popoverRoot: c
|
|
566
564
|
})] : []
|
|
567
565
|
]
|
|
568
566
|
};
|
|
569
567
|
}
|
|
570
568
|
});
|
|
571
|
-
return (t, n) => (
|
|
569
|
+
return (t, n) => (i(), s("div", Re, [
|
|
572
570
|
S(Le, {
|
|
573
|
-
editor:
|
|
571
|
+
editor: y(d),
|
|
574
572
|
"toolbar-position": e.toolbarPosition,
|
|
575
|
-
"is-loading":
|
|
576
|
-
"can-request-merge-tag":
|
|
577
|
-
"can-insert-logic-tag":
|
|
578
|
-
onOpenLinkDialog:
|
|
579
|
-
onAddMergeTag:
|
|
580
|
-
onAddLogicTag:
|
|
573
|
+
"is-loading": y(p),
|
|
574
|
+
"can-request-merge-tag": y(x),
|
|
575
|
+
"can-insert-logic-tag": y(C),
|
|
576
|
+
onOpenLinkDialog: y(T),
|
|
577
|
+
onAddMergeTag: y(M),
|
|
578
|
+
onAddLogicTag: y(N)
|
|
581
579
|
}, null, 8, [
|
|
582
580
|
"editor",
|
|
583
581
|
"toolbar-position",
|
|
@@ -589,11 +587,11 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
|
|
|
589
587
|
"onAddLogicTag"
|
|
590
588
|
]),
|
|
591
589
|
S(B, {
|
|
592
|
-
editor:
|
|
593
|
-
"editor-content":
|
|
594
|
-
"is-loading":
|
|
595
|
-
"init-error":
|
|
596
|
-
onRetry:
|
|
590
|
+
editor: y(d),
|
|
591
|
+
"editor-content": y(f),
|
|
592
|
+
"is-loading": y(p),
|
|
593
|
+
"init-error": y(m),
|
|
594
|
+
onRetry: y(h)
|
|
597
595
|
}, null, 8, [
|
|
598
596
|
"editor",
|
|
599
597
|
"editor-content",
|
|
@@ -602,18 +600,18 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
|
|
|
602
600
|
"onRetry"
|
|
603
601
|
]),
|
|
604
602
|
S(z, {
|
|
605
|
-
visible:
|
|
606
|
-
"is-editing-link":
|
|
607
|
-
"dialog-ref":
|
|
608
|
-
"onUpdate:dialogRef": n[0] ||= (e) =>
|
|
609
|
-
"link-url":
|
|
610
|
-
"onUpdate:linkUrl": n[1] ||= (e) =>
|
|
611
|
-
"link-color": v
|
|
612
|
-
"onUpdate:linkColor": n[2] ||= (e) =>
|
|
613
|
-
onClose:
|
|
614
|
-
onInsert:
|
|
615
|
-
onRemove:
|
|
616
|
-
onKeydown:
|
|
603
|
+
visible: y(g),
|
|
604
|
+
"is-editing-link": y(d)?.isActive("link") ?? !1,
|
|
605
|
+
"dialog-ref": y(b),
|
|
606
|
+
"onUpdate:dialogRef": n[0] ||= (e) => o(b) ? b.value = e : null,
|
|
607
|
+
"link-url": y(_),
|
|
608
|
+
"onUpdate:linkUrl": n[1] ||= (e) => o(_) ? _.value = e : null,
|
|
609
|
+
"link-color": y(v),
|
|
610
|
+
"onUpdate:linkColor": n[2] ||= (e) => o(v) ? v.value = e : null,
|
|
611
|
+
onClose: y(A),
|
|
612
|
+
onInsert: y(E),
|
|
613
|
+
onRemove: y(O),
|
|
614
|
+
onKeydown: y(j)
|
|
617
615
|
}, null, 8, [
|
|
618
616
|
"visible",
|
|
619
617
|
"is-editing-link",
|
|
@@ -628,7 +626,6 @@ var je = ["data-tpl-theme", "aria-label"], Me = { class: "tpl:flex tpl:items-cen
|
|
|
628
626
|
]));
|
|
629
627
|
}
|
|
630
628
|
}), Be = /* @__PURE__ */ e({ default: () => Ve }), Ve = ze;
|
|
631
|
-
//#endregion
|
|
632
629
|
export { Ve as default, W as n, Be as t };
|
|
633
630
|
|
|
634
|
-
//# sourceMappingURL=ParagraphEditor-
|
|
631
|
+
//# sourceMappingURL=ParagraphEditor-B3Rj_cWF.js.map
|