@templatical/editor 0.28.1 → 0.29.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/LICENSE +84 -31
- package/dist/{AiChatSidebar-mZyf81xG.js → AiChatSidebar-DsYJwCLT.js} +14 -14
- package/dist/{AiFeatureMenu-wpL2vbbd.js → AiFeatureMenu-CehKC-dh.js} +7 -7
- package/dist/{BlockIssueBadge-CavnyR3o.js → BlockIssueBadge-Dhk7Hv4m.js} +5 -5
- package/dist/{BlockPreviewCanvas-C4M7JT4x.js → BlockPreviewCanvas-BQZ7aTPr.js} +3 -3
- package/dist/{CloudHeaderExtras-fH0cB-Ru.js → CloudHeaderExtras-CaRdlYpY.js} +5 -5
- package/dist/{CloudPanels-Davlnzfd.js → CloudPanels-CYqHk1Az.js} +7 -7
- package/dist/{CollaboratorBar-BvQZriPA.js → CollaboratorBar-BZi12Mut.js} +4 -4
- package/dist/{ColorPicker-OLSFZBBZ.js → ColorPicker-CXPSbnRD.js} +7 -7
- package/dist/{CommentsPanel-B4_63eIS.js → CommentsPanel-DnWdgQHg.js} +2 -2
- package/dist/{CommentsSidebar-BkBHMXez.js → CommentsSidebar-ZOqmuo4D.js} +16 -16
- package/dist/{CountdownBlock-Drr1WErd.js → CountdownBlock-BgNK7fZY.js} +3 -3
- package/dist/{CountdownToolbar-D8FsDIfa.js → CountdownToolbar-ByQVLqFF.js} +4 -4
- package/dist/{DesignReferenceSidebar-Dp44REBY.js → DesignReferenceSidebar-B9anB-Q0.js} +11 -11
- package/dist/{IssuesPanel-C1v3dmoB.js → IssuesPanel-CDk7lUna.js} +8 -8
- package/dist/{LoadingTrack-Db9j_aBr.js → LoadingTrack-5KBr5cE8.js} +1 -1
- package/dist/{MergeTagModeToggle-CZN0Pr1o.js → MergeTagModeToggle-sBEGugix.js} +5 -5
- package/dist/{MergeTagSuggestion-a7Tk8tBB.js → MergeTagSuggestion-DPfXtDzP.js} +57 -41
- package/dist/{NumberWithSuffix-C1D0WFrN.js → NumberWithSuffix-C-k0BP1m.js} +1 -1
- package/dist/{ParagraphEditor-CGxsm0Mx.js → ParagraphEditor-gbp5gbFv.js} +25 -25
- package/dist/{RestoreVersionDialog-BLW8wC1J.js → RestoreVersionDialog-DIHpGfFr.js} +5 -5
- package/dist/{RichTextEditorContent-COBy_Q9j.js → RichTextEditorContent-DZ6GiAUi.js} +8 -8
- package/dist/{SaveBlockDialog-KWQaS1_q.js → SaveBlockDialog-QSj7tf1p.js} +10 -10
- package/dist/{SavedBlocksBrowserModal-Cg8yP_EN.js → SavedBlocksBrowserModal-Bz2xaBzJ.js} +11 -11
- package/dist/{SavedBlocksPanels-bept0JjA.js → SavedBlocksPanels-RNgOnK9j.js} +2 -2
- package/dist/{SavedBlocksPickBar-Z-YRd488.js → SavedBlocksPickBar-CRmd3sD9.js} +4 -4
- package/dist/{TemplateScoringPanel-5zp1qOSl.js → TemplateScoringPanel-CDwlSFEe.js} +15 -15
- package/dist/{TestEmailModal-DtJabfkS.js → TestEmailModal-DclmELUc.js} +10 -10
- package/dist/{TestEmailPanel-CtFxt5q7.js → TestEmailPanel-4i4n9Kup.js} +2 -2
- package/dist/{TitleEditor-BfWPus_C.js → TitleEditor-DMAeSWx3.js} +12 -12
- package/dist/{TplModal-DBlMd7h9.js → TplModal-CjuKT36J.js} +5 -5
- package/dist/{VersionHistoryMenu-Cg4UKxKc.js → VersionHistoryMenu-B6zAcmAC.js} +8 -8
- package/dist/{VersionHistoryPanels-BKjbNEOM.js → VersionHistoryPanels-MqgexkhW.js} +2 -2
- package/dist/{VersionPreviewBanner-B0thyJ8F.js → VersionPreviewBanner-CQlSzQ2B.js} +3 -3
- package/dist/{blockTypeIcons-CQMkcHo9.js → blockTypeIcons-ejNais7n.js} +2 -2
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiChatSidebar-BQATQ3Tr.js → AiChatSidebar-BE97qqqb.js} +11 -11
- package/dist/cdn/chunks/{AiChatSidebar-BQATQ3Tr.js.map → AiChatSidebar-BE97qqqb.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-cNoZ0xl_.js → AiFeatureMenu-CNP54HPc.js} +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-cNoZ0xl_.js.map → AiFeatureMenu-CNP54HPc.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-CH_3vFw4.js → BlockIssueBadge-Bry71Wjz.js} +5 -5
- package/dist/cdn/chunks/{BlockIssueBadge-CH_3vFw4.js.map → BlockIssueBadge-Bry71Wjz.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-BXVC8-Zj.js → BlockPreviewCanvas-CUEZIwJ4.js} +4 -4
- package/dist/cdn/chunks/{BlockPreviewCanvas-BXVC8-Zj.js.map → BlockPreviewCanvas-CUEZIwJ4.js.map} +1 -1
- package/dist/cdn/chunks/{CloudHeaderExtras-CUAM2ADe.js → CloudHeaderExtras-Bz--_dKu.js} +5 -5
- package/dist/cdn/chunks/{CloudHeaderExtras-CUAM2ADe.js.map → CloudHeaderExtras-Bz--_dKu.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-DMnnSIkX.js → CloudPanels-BXcdYgy0.js} +7 -7
- package/dist/cdn/chunks/{CloudPanels-DMnnSIkX.js.map → CloudPanels-BXcdYgy0.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-C6sorNRi.js → CollaboratorBar-CvvoIrKS.js} +5 -5
- package/dist/cdn/chunks/{CollaboratorBar-C6sorNRi.js.map → CollaboratorBar-CvvoIrKS.js.map} +1 -1
- package/dist/cdn/chunks/{ColorPicker-q1V7ggWI.js → ColorPicker-Ww4xHHMI.js} +7 -7
- package/dist/cdn/chunks/{ColorPicker-q1V7ggWI.js.map → ColorPicker-Ww4xHHMI.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-ExfxJZM3.js → CommentsPanel-DjId-XH-.js} +3 -3
- package/dist/cdn/chunks/{CommentsPanel-ExfxJZM3.js.map → CommentsPanel-DjId-XH-.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-CzALURMJ.js → CommentsSidebar-DXXGWSr4.js} +5 -5
- package/dist/cdn/chunks/{CommentsSidebar-CzALURMJ.js.map → CommentsSidebar-DXXGWSr4.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-_7TUBqJS.js → CountdownBlock-CWeJBC0L.js} +4 -4
- package/dist/cdn/chunks/{CountdownBlock-_7TUBqJS.js.map → CountdownBlock-CWeJBC0L.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-CkbWSrAH.js → CountdownToolbar-BD90NpY1.js} +5 -5
- package/dist/cdn/chunks/{CountdownToolbar-CkbWSrAH.js.map → CountdownToolbar-BD90NpY1.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-COh0Rx_A.js → DesignReferenceSidebar-DY-laxO5.js} +7 -7
- package/dist/cdn/chunks/{DesignReferenceSidebar-COh0Rx_A.js.map → DesignReferenceSidebar-DY-laxO5.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-C1NG0xRI.js → IssuesPanel-iC2hgrXx.js} +6 -6
- package/dist/cdn/chunks/{IssuesPanel-C1NG0xRI.js.map → IssuesPanel-iC2hgrXx.js.map} +1 -1
- package/dist/cdn/chunks/{LoadingTrack-D_wweXVz.js → LoadingTrack-Cz1sT0wP.js} +2 -2
- package/dist/cdn/chunks/{LoadingTrack-D_wweXVz.js.map → LoadingTrack-Cz1sT0wP.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-B1yXCp3D.js → MergeTagModeToggle-BRW3qErZ.js} +5 -5
- package/dist/cdn/chunks/{MergeTagModeToggle-B1yXCp3D.js.map → MergeTagModeToggle-BRW3qErZ.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagSuggestion-DqYR3jPA.js → MergeTagSuggestion-VP_nC-8W.js} +3 -3
- package/dist/cdn/chunks/{MergeTagSuggestion-DqYR3jPA.js.map → MergeTagSuggestion-VP_nC-8W.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-CWvM_I3T.js → NumberWithSuffix-DOG0zHvY.js} +2 -2
- package/dist/cdn/chunks/{NumberWithSuffix-CWvM_I3T.js.map → NumberWithSuffix-DOG0zHvY.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-DPM1hUKo.js → ParagraphEditor-CPVnO48U.js} +27 -27
- package/dist/cdn/chunks/{ParagraphEditor-DPM1hUKo.js.map → ParagraphEditor-CPVnO48U.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-Dz0bX5ZZ.js → RestoreVersionDialog--Blx-VKu.js} +5 -5
- package/dist/cdn/chunks/{RestoreVersionDialog-Dz0bX5ZZ.js.map → RestoreVersionDialog--Blx-VKu.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-nkyIRAyN.js → RichTextEditorContent-DpvOKKH-.js} +7 -7
- package/dist/cdn/chunks/{RichTextEditorContent-nkyIRAyN.js.map → RichTextEditorContent-DpvOKKH-.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-DYr5yKqy.js → SaveBlockDialog-DXQ2g_38.js} +8 -8
- package/dist/cdn/chunks/{SaveBlockDialog-DYr5yKqy.js.map → SaveBlockDialog-DXQ2g_38.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BUJjcHkw.js → SavedBlocksBrowserModal-DWBvVkuk.js} +9 -9
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BUJjcHkw.js.map → SavedBlocksBrowserModal-DWBvVkuk.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-DFgvmsbj.js → SavedBlocksPanels-GgdpiPUq.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPanels-DFgvmsbj.js.map → SavedBlocksPanels-GgdpiPUq.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-Brg8US_n.js → SavedBlocksPickBar-Dyb5xi1B.js} +5 -5
- package/dist/cdn/chunks/{SavedBlocksPickBar-Brg8US_n.js.map → SavedBlocksPickBar-Dyb5xi1B.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-DO86BvdQ.js → TemplateScoringPanel-B0YcaJsR.js} +11 -11
- package/dist/cdn/chunks/{TemplateScoringPanel-DO86BvdQ.js.map → TemplateScoringPanel-B0YcaJsR.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-DRCcdGvX.js → TestEmailModal-B9SmAIKZ.js} +9 -9
- package/dist/cdn/chunks/{TestEmailModal-DRCcdGvX.js.map → TestEmailModal-B9SmAIKZ.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-BZU5HX2c.js → TestEmailPanel-Q6alElB1.js} +3 -3
- package/dist/cdn/chunks/{TestEmailPanel-BZU5HX2c.js.map → TestEmailPanel-Q6alElB1.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-CLkXt5RZ.js → TitleEditor-Tudoac5f.js} +12 -12
- package/dist/cdn/chunks/{TitleEditor-CLkXt5RZ.js.map → TitleEditor-Tudoac5f.js.map} +1 -1
- package/dist/cdn/chunks/{TplModal-BhfPoZ_W.js → TplModal-BNJIFnyj.js} +5 -5
- package/dist/cdn/chunks/{TplModal-BhfPoZ_W.js.map → TplModal-BNJIFnyj.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-_DyRYBRP.js → VersionHistoryMenu-DJGcA_RX.js} +5 -5
- package/dist/cdn/chunks/{VersionHistoryMenu-_DyRYBRP.js.map → VersionHistoryMenu-DJGcA_RX.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-DGfOOcKV.js → VersionHistoryPanels-Crw5JA89.js} +3 -3
- package/dist/cdn/chunks/{VersionHistoryPanels-DGfOOcKV.js.map → VersionHistoryPanels-Crw5JA89.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-FbBmgknN.js → VersionPreviewBanner-C8pfES5A.js} +4 -4
- package/dist/cdn/chunks/{VersionPreviewBanner-FbBmgknN.js.map → VersionPreviewBanner-C8pfES5A.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-o4ammRlm.js → blockTypeIcons-JUwZtKaq.js} +2 -2
- package/dist/cdn/chunks/{blockTypeIcons-o4ammRlm.js.map → blockTypeIcons-JUwZtKaq.js.map} +1 -1
- package/dist/cdn/chunks/{cloud-CRCcXTc5.js → cloud-C29LPXYn.js} +2 -2
- package/dist/cdn/chunks/{cloud-CRCcXTc5.js.map → cloud-C29LPXYn.js.map} +1 -1
- package/dist/cdn/chunks/createCloudRuntime-C6MJN7M6.js +443 -0
- package/dist/cdn/chunks/createCloudRuntime-C6MJN7M6.js.map +1 -0
- package/dist/cdn/chunks/{dist-eKG4m5Wx.js → dist-CgR3inPR.js} +3 -3
- package/dist/cdn/chunks/{dist-eKG4m5Wx.js.map → dist-CgR3inPR.js.map} +1 -1
- package/dist/cdn/chunks/{dist-2fOlspdg.js → dist-El3fQnfk.js} +4 -4
- package/dist/cdn/chunks/{dist-2fOlspdg.js.map → dist-El3fQnfk.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-BLMjz0GK.js → draggable-D2vo-aQI.js} +1465 -1435
- package/dist/cdn/chunks/draggable-D2vo-aQI.js.map +1 -0
- package/dist/cdn/chunks/en-DIwntrh3.js +2 -0
- package/dist/cdn/chunks/{extensions-qSqWdFko.js → extensions-BQefRevf.js} +6 -6
- package/dist/cdn/chunks/{extensions-qSqWdFko.js.map → extensions-BQefRevf.js.map} +1 -1
- package/dist/cdn/chunks/{icons-MeYdeH4P.js → icons-BTdLXRXn.js} +27 -27
- package/dist/cdn/chunks/icons-BTdLXRXn.js.map +1 -0
- package/dist/cdn/chunks/{keys-D7OpfE2s.js → keys-BJ770Mwm.js} +2 -2
- package/dist/cdn/chunks/{keys-D7OpfE2s.js.map → keys-BJ770Mwm.js.map} +1 -1
- package/dist/cdn/chunks/{liquid.browser-UlAOKBjI.js → liquid.browser-BPvKXNfO.js} +2 -2
- package/dist/cdn/chunks/{liquid.browser-UlAOKBjI.js.map → liquid.browser-BPvKXNfO.js.map} +1 -1
- package/dist/cdn/chunks/{src-BxHH_6Yr.js → src-CjSrA_o4.js} +2 -2
- package/dist/cdn/chunks/{src-BxHH_6Yr.js.map → src-CjSrA_o4.js.map} +1 -1
- package/dist/cdn/chunks/{src-2QDLdUyx.js → src-fxaI2EQc.js} +8 -8
- package/dist/cdn/chunks/{src-2QDLdUyx.js.map → src-fxaI2EQc.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-DgH_wKK_.js → tiptap-Bqy-H6CT.js} +3356 -3219
- package/dist/cdn/chunks/tiptap-Bqy-H6CT.js.map +1 -0
- package/dist/cdn/chunks/{useAliveFlag-C1pwLtPO.js → useAliveFlag-DrXxPV8V.js} +2 -2
- package/dist/cdn/chunks/{useAliveFlag-C1pwLtPO.js.map → useAliveFlag-DrXxPV8V.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-D4gzxtqF.js → useCloudI18n-D0AoLV0a.js} +3 -3
- package/dist/cdn/chunks/{useCloudI18n-D4gzxtqF.js.map → useCloudI18n-D0AoLV0a.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-2ZVOY0Rh.js → useEditorCore-o2emEjgF.js} +448 -424
- package/dist/cdn/chunks/useEditorCore-o2emEjgF.js.map +1 -0
- package/dist/cdn/chunks/useEditorRoot-BFGRBGts.js +10 -0
- package/dist/cdn/chunks/{useEditorRoot-BY-amddA.js.map → useEditorRoot-BFGRBGts.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-DYb1SgLB.js → useI18n-DIhawILp.js} +3 -3
- package/dist/cdn/chunks/{useI18n-DYb1SgLB.js.map → useI18n-DIhawILp.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-D-SE_XN8.js → useMergeTag-BWt1DQS1.js} +3 -3
- package/dist/cdn/chunks/{useMergeTag-D-SE_XN8.js.map → useMergeTag-BWt1DQS1.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-CJZ6EkS4.js → usePopoverPosition-DkiTLnBm.js} +3 -3
- package/dist/cdn/chunks/{usePopoverPosition-CJZ6EkS4.js.map → usePopoverPosition-DkiTLnBm.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-D6gyIzT1.js → useScrollToBlock-KcSAuXKz.js} +3 -3
- package/dist/cdn/chunks/{useScrollToBlock-D6gyIzT1.js.map → useScrollToBlock-KcSAuXKz.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +1436 -1427
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-CLfibuQc.js → check-CTe6VejT.js} +1 -1
- package/dist/{chevron-down-DamTR8ta.js → chevron-down-BBThVMu-.js} +1 -1
- package/dist/{chevron-up-CrV_Ksg-.js → chevron-up-iECwf-Bc.js} +1 -1
- package/dist/{circle-alert-BLy-e34e.js → circle-alert-Z_eeykrO.js} +1 -1
- package/dist/{clock-DQI6aaFT.js → clock-CEj1c29j.js} +1 -1
- package/dist/{cloud-DXFUA8H_.js → cloud-CHHQWdaR.js} +1 -1
- package/dist/createCloudRuntime-WwKt9mgb.js +441 -0
- package/dist/{createLucideIcon-Cbl3Ma_H.js → createLucideIcon-DphAT3tw.js} +3 -3
- package/dist/{dist-Dx-KOuOj.js → dist-9fjN9cuD.js} +2 -2
- package/dist/{dist-WE11SQGe.js → dist-BUpBA58N.js} +2 -2
- package/dist/{dist-CLc1cpN2.js → dist-BdIwIlKz.js} +6 -5
- package/dist/{dist-CQQNoHxz.js → dist-BfcqryVg.js} +2 -2
- package/dist/{dist-Dz7KUOSg.js → dist-CaR5TLiM.js} +2 -2
- package/dist/{dist-CkSgS-K9.js → dist-CuuPnIMy.js} +3 -3
- package/dist/dist-CzMzshfS.js +5 -0
- package/dist/{dist-CclsUQ7r.js → dist-D2P8U3p6.js} +2 -2
- package/dist/{dist-C145btxT.js → dist-DLaIQ5H5.js} +151 -155
- package/dist/{dist-CgXIMxZc.js → dist-DSgmnQ-f.js} +2 -2
- package/dist/dist-DTVuNn8M.js +5 -0
- package/dist/{dist-D4Jb08yv.js → dist-DifptC-U.js} +2 -2
- package/dist/{dist-7Lr_A7Va.js → dist-gWM8H2hz.js} +7 -6
- package/dist/{dist-DUn6jY0n.js → dist-nmzPlqlz.js} +2290 -2175
- package/dist/{extensions-PJK0gLCL.js → extensions-B4gwZ36u.js} +7 -7
- package/dist/{image-up-BVOMy_Fs.js → image-up-W1INxCu8.js} +1 -1
- package/dist/index.d.ts +146 -117
- package/dist/{info-BKMKasyT.js → info-5t4WYKfh.js} +1 -1
- package/dist/{keys-CAor2T5q.js → keys-BJtoezGU.js} +1 -1
- package/dist/{liquid.browser-B-rGrnrQ.js → liquid.browser-CJgDDvQz.js} +1 -1
- package/dist/{loader-circle-CSGh8n8A.js → loader-circle-DJCZ_JMY.js} +1 -1
- package/dist/{message-circle-C6q2Fm_W.js → message-circle-Biu6lHh_.js} +1 -1
- package/dist/{pencil-DaTN0HKw.js → pencil-DkPlMca7.js} +1 -1
- package/dist/{refresh-cw-Cu4wRQwT.js → refresh-cw-DHbpkkol.js} +1 -1
- package/dist/{runtime-dom.esm-bundler-CHEsXNQz.js → runtime-dom.esm-bundler-Co_SPqAz.js} +180 -166
- package/dist/{scan-line-O_o657Gv.js → scan-line-DojwGzjU.js} +1 -1
- package/dist/{send-GS3soauT.js → send-c6ppcE9I.js} +1 -1
- package/dist/{shield-check-B2TzT3Wp.js → shield-check-F9T4ylNK.js} +1 -1
- package/dist/{sparkles-CNENcXZl.js → sparkles-D-0OiTZD.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +835 -826
- package/dist/{text-align-start-D0-k8RUf.js → text-align-start-kEEtoRrD.js} +1 -1
- package/dist/{trash-2-BE-qGIpG.js → trash-2-DRQzhY9R.js} +1 -1
- package/dist/{triangle-alert-DNM2_dyh.js → triangle-alert-Bt4-GU3t.js} +1 -1
- package/dist/{upload-Cv2Jx-yM.js → upload-D2wtjvH8.js} +1 -1
- package/dist/{useAliveFlag-1yBub211.js → useAliveFlag-AFbwfHlJ.js} +1 -1
- package/dist/{useCloudI18n-Dwo7usTl.js → useCloudI18n-BA69BpQ_.js} +2 -2
- package/dist/{useEditorCore-DM8vzMZQ.js → useEditorCore-CJp84vJY.js} +1097 -1075
- package/dist/{useEditorRoot-CUIzpMYc.js → useEditorRoot-Cdo8Vhxa.js} +2 -2
- package/dist/{useI18n-DT_DKupw.js → useI18n-B135ASaG.js} +2 -2
- package/dist/{useMergeTag-CcHQCcPN.js → useMergeTag-D1Rsn4BO.js} +2 -2
- package/dist/{usePopoverPosition-DaHz1kqb.js → usePopoverPosition-DAOHr_iM.js} +2 -2
- package/dist/{useScrollToBlock-C2LYXENK.js → useScrollToBlock-B0Qpjfa4.js} +3 -3
- package/dist/{vue.runtime.esm-bundler-CdH_W9qX.js → vue.runtime.esm-bundler-BhOUdXMi.js} +1244 -1204
- package/dist/{x-DUPrT6Aa.js → x-YiG-TUGN.js} +1 -1
- package/package.json +26 -26
- package/dist/cdn/chunks/createCloudRuntime-C-u7oIGa.js +0 -344
- package/dist/cdn/chunks/createCloudRuntime-C-u7oIGa.js.map +0 -1
- package/dist/cdn/chunks/draggable-BLMjz0GK.js.map +0 -1
- package/dist/cdn/chunks/en-C6FKrw69.js +0 -2
- package/dist/cdn/chunks/icons-MeYdeH4P.js.map +0 -1
- package/dist/cdn/chunks/tiptap-DgH_wKK_.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-2ZVOY0Rh.js.map +0 -1
- package/dist/cdn/chunks/useEditorRoot-BY-amddA.js +0 -10
- package/dist/createCloudRuntime-BrgMP9gS.js +0 -342
- package/dist/dist-D-ulkdvF.js +0 -5
- package/dist/dist-Kf9u4ULN.js +0 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as e, X as t, q as n, s as r } from "./vue.runtime.esm-bundler-
|
|
1
|
+
import { L as e, X as t, q as n, s as r } from "./vue.runtime.esm-bundler-BhOUdXMi.js";
|
|
2
2
|
import { o as i } from "./dist-B1kLn1rs.js";
|
|
3
3
|
//#region ../core/dist/cloud/index.js
|
|
4
4
|
function a(e) {
|
|
@@ -0,0 +1,441 @@
|
|
|
1
|
+
import { A as e, L as t, X as n, q as r, s as i } from "./vue.runtime.esm-bundler-BhOUdXMi.js";
|
|
2
|
+
import { m as a } from "./dist-BUpBA58N.js";
|
|
3
|
+
import { t as o } from "./dist-CuuPnIMy.js";
|
|
4
|
+
import { R as s, i as c, l, t as u } from "./keys-BJtoezGU.js";
|
|
5
|
+
import { t as d } from "./timeouts-DHPZQ0G3.js";
|
|
6
|
+
import { t as f } from "./logger-BBlvSn6q.js";
|
|
7
|
+
import { t as p } from "./preRenderCustomBlocks-BebjKtmw.js";
|
|
8
|
+
import { S as m, _ as h, a as g, b as ee, c as te, d as ne, h as _, i as v, l as y, m as b, n as x, o as S, p as C, r as re, s as ie, t as ae, u as oe, v as se, x as ce, y as le } from "./cloud-CHHQWdaR.js";
|
|
9
|
+
//#region src/cloud/composables/useCloudFeatureFlags.ts
|
|
10
|
+
function ue(e) {
|
|
11
|
+
let { planConfigInstance: t, aiConfig: n, getTemplateId: r } = e;
|
|
12
|
+
return {
|
|
13
|
+
canUseAiGeneration: i(() => t.hasFeature("ai_generation") && n.hasAnyMenuFeature.value),
|
|
14
|
+
canSendTestEmail: i(() => t.hasFeature("test_email")),
|
|
15
|
+
hasTemplateSaved: i(() => r() !== null),
|
|
16
|
+
templateLimit: i(() => t.config.value?.limits.max_templates ?? null),
|
|
17
|
+
templateCount: i(() => t.config.value?.template_count ?? 0)
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/cloud/composables/useCloudMediaLibrary.ts
|
|
22
|
+
function de(e) {
|
|
23
|
+
let { onRequestMedia: t, mediaLibraryOpen: n, mediaLibraryAccept: i, authManager: a, getMediaConfig: o, onError: s } = e, c = null;
|
|
24
|
+
function l(e) {
|
|
25
|
+
return {
|
|
26
|
+
url: e.url,
|
|
27
|
+
alt: e.alt_text || void 0
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
async function u(e) {
|
|
31
|
+
let r = e?.accept ?? ["images"];
|
|
32
|
+
if (e?.files?.length) {
|
|
33
|
+
if (t) {
|
|
34
|
+
let n = await t({
|
|
35
|
+
accept: r,
|
|
36
|
+
files: e.files
|
|
37
|
+
});
|
|
38
|
+
return n ? l(n) : null;
|
|
39
|
+
}
|
|
40
|
+
return d(e.files[0]);
|
|
41
|
+
}
|
|
42
|
+
if (t) {
|
|
43
|
+
let e = await t({ accept: r });
|
|
44
|
+
return e ? l(e) : null;
|
|
45
|
+
}
|
|
46
|
+
return c &&= (c(null), null), i.value = r, n.value = !0, new Promise((e) => {
|
|
47
|
+
c = (t) => {
|
|
48
|
+
e(t);
|
|
49
|
+
};
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
async function d(e) {
|
|
53
|
+
let t = f(e);
|
|
54
|
+
if (t) return s?.(t), null;
|
|
55
|
+
try {
|
|
56
|
+
let { MediaApiClient: t } = await import("@templatical/media-library");
|
|
57
|
+
return l(await new t(a).uploadMedia(e));
|
|
58
|
+
} catch (e) {
|
|
59
|
+
return s?.(e), null;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
function f(e) {
|
|
63
|
+
let t = o?.() ?? null;
|
|
64
|
+
if (!t) return null;
|
|
65
|
+
let n = t.categories?.images?.mime_types ?? [];
|
|
66
|
+
return n.length > 0 && !n.includes(e.type) ? /* @__PURE__ */ Error(`Unsupported image type: ${e.type || "unknown"}. Accepted: ${n.join(", ")}.`) : t.max_file_size > 0 && e.size > t.max_file_size ? /* @__PURE__ */ Error(`Image is too large (${e.size} bytes). Maximum allowed is ${t.max_file_size} bytes.`) : null;
|
|
67
|
+
}
|
|
68
|
+
function p(e) {
|
|
69
|
+
n.value = !1, c?.(l(e)), c = null;
|
|
70
|
+
}
|
|
71
|
+
function m() {
|
|
72
|
+
n.value = !1, c?.(null), c = null;
|
|
73
|
+
}
|
|
74
|
+
return r(() => {
|
|
75
|
+
c &&= (c(null), null);
|
|
76
|
+
}), {
|
|
77
|
+
handleRequestMedia: u,
|
|
78
|
+
handleMediaSelect: p,
|
|
79
|
+
handleMediaLibraryClose: m
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
//#endregion
|
|
83
|
+
//#region src/cloud/composables/useCloudPanelState.ts
|
|
84
|
+
function fe() {
|
|
85
|
+
let e = n(null), t = i({
|
|
86
|
+
get: () => e.value === "ai-chat",
|
|
87
|
+
set: (t) => e.value = t ? "ai-chat" : null
|
|
88
|
+
}), r = i({
|
|
89
|
+
get: () => e.value === "scoring",
|
|
90
|
+
set: (t) => e.value = t ? "scoring" : null
|
|
91
|
+
}), a = i({
|
|
92
|
+
get: () => e.value === "design-reference",
|
|
93
|
+
set: (t) => e.value = t ? "design-reference" : null
|
|
94
|
+
}), s = i({
|
|
95
|
+
get: () => e.value === "comments",
|
|
96
|
+
set: (t) => e.value = t ? "comments" : null
|
|
97
|
+
}), c = n(!1), l = n(void 0), u = n(!1), d = n(null), f = i(() => e.value !== null), p = i(() => {
|
|
98
|
+
let t = e.value;
|
|
99
|
+
return t === "ai-chat" || t === "design-reference" || t === "scoring" ? t : null;
|
|
100
|
+
}), m = i(() => u.value || e.value === "ai-chat" || e.value === "design-reference" || e.value === "scoring");
|
|
101
|
+
function h() {
|
|
102
|
+
u.value = !u.value;
|
|
103
|
+
}
|
|
104
|
+
function g(t) {
|
|
105
|
+
u.value = !1, e.value = e.value === t ? null : t;
|
|
106
|
+
}
|
|
107
|
+
return o(d, () => {
|
|
108
|
+
u.value = !1;
|
|
109
|
+
}), {
|
|
110
|
+
activePanel: e,
|
|
111
|
+
aiChatOpen: t,
|
|
112
|
+
scoringPanelOpen: r,
|
|
113
|
+
designReferenceOpen: a,
|
|
114
|
+
commentsOpen: s,
|
|
115
|
+
mediaLibraryOpen: c,
|
|
116
|
+
mediaLibraryAccept: l,
|
|
117
|
+
aiMenuOpen: u,
|
|
118
|
+
aiMenuRef: d,
|
|
119
|
+
rightPanelOpen: f,
|
|
120
|
+
activeAiFeature: p,
|
|
121
|
+
aiButtonActive: m,
|
|
122
|
+
toggleAiMenu: h,
|
|
123
|
+
handleAiFeatureSelect: g
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
//#endregion
|
|
127
|
+
//#region src/cloud/composables/useCloudSaveGate.ts
|
|
128
|
+
function pe(e) {
|
|
129
|
+
let t = n(!1), r = null, a = i(() => e.planConfig.value?.accessibility?.blockOnError === !0), o = i(() => a.value ? e.issues.value.filter((e) => e.severity === "error") : []), s = i(() => o.value.length > 0);
|
|
130
|
+
async function c(e) {
|
|
131
|
+
return s.value ? (r = e, t.value = !0, !1) : (await e(), !0);
|
|
132
|
+
}
|
|
133
|
+
async function l(e) {
|
|
134
|
+
return !s.value && (await e(), !0);
|
|
135
|
+
}
|
|
136
|
+
async function u() {
|
|
137
|
+
let e = r;
|
|
138
|
+
r = null, t.value = !1, e && await e();
|
|
139
|
+
}
|
|
140
|
+
function d() {
|
|
141
|
+
r = null, t.value = !1;
|
|
142
|
+
}
|
|
143
|
+
return {
|
|
144
|
+
shouldBlock: s,
|
|
145
|
+
blockingIssues: o,
|
|
146
|
+
modalOpen: t,
|
|
147
|
+
tryRunSave: c,
|
|
148
|
+
runUnlessBlocked: l,
|
|
149
|
+
confirmAndSave: u,
|
|
150
|
+
cancel: d
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
//#endregion
|
|
154
|
+
//#region src/cloud/composables/useCollabUndoWarning.ts
|
|
155
|
+
function me(e) {
|
|
156
|
+
let { isCollaborationEnabled: t, getCollaboratorCount: r, canUndo: i } = e, o = n(!1), s = n(!1), { start: c } = a(() => {
|
|
157
|
+
s.value = !1;
|
|
158
|
+
}, d, { immediate: !1 });
|
|
159
|
+
function l() {
|
|
160
|
+
o.value || !t.value || r() === 0 || !i.value || (o.value = !0, s.value = !0, c());
|
|
161
|
+
}
|
|
162
|
+
return {
|
|
163
|
+
collabUndoWarningVisible: s,
|
|
164
|
+
showCollabUndoWarning: l
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
//#endregion
|
|
168
|
+
//#region src/cloud/collectSavedBlockIds.ts
|
|
169
|
+
function he(e) {
|
|
170
|
+
let t = /* @__PURE__ */ new Set(), n = e?.content?.blocks;
|
|
171
|
+
if (!n) return t;
|
|
172
|
+
for (let e of n) if (t.add(e.id), e.type === "section" && e.children) for (let n of e.children) for (let e of n) t.add(e.id);
|
|
173
|
+
return t;
|
|
174
|
+
}
|
|
175
|
+
//#endregion
|
|
176
|
+
//#region src/cloud/createCloudRuntime.ts
|
|
177
|
+
function ge(e) {
|
|
178
|
+
if (!e) return {};
|
|
179
|
+
let { onSaved: t, onCreated: n, onLoaded: r } = e;
|
|
180
|
+
return {
|
|
181
|
+
...typeof t == "function" ? { onSaved: t } : {},
|
|
182
|
+
...typeof n == "function" ? { onCreated: n } : {},
|
|
183
|
+
...typeof r == "function" ? { onLoaded: r } : {}
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
function _e(e) {
|
|
187
|
+
if (!e) return {};
|
|
188
|
+
let { onCreated: t, onUpdated: n, onDeleted: r, onResolved: i, onUnresolved: a } = e;
|
|
189
|
+
return {
|
|
190
|
+
...typeof t == "function" ? { onCreated: t } : {},
|
|
191
|
+
...typeof n == "function" ? { onUpdated: n } : {},
|
|
192
|
+
...typeof r == "function" ? { onDeleted: r } : {},
|
|
193
|
+
...typeof i == "function" ? { onResolved: i } : {},
|
|
194
|
+
...typeof a == "function" ? { onUnresolved: a } : {}
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
function ve(e) {
|
|
198
|
+
if (typeof e != "object" || !e) return {};
|
|
199
|
+
let { onCreated: t, onUpdated: n, onDeleted: r } = e;
|
|
200
|
+
return {
|
|
201
|
+
...typeof t == "function" ? { onCreated: t } : {},
|
|
202
|
+
...typeof n == "function" ? { onUpdated: n } : {},
|
|
203
|
+
...typeof r == "function" ? { onDeleted: r } : {}
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
function ye(e) {
|
|
207
|
+
if (typeof e != "object" || !e) return {};
|
|
208
|
+
let { onSent: t, defaultRecipient: n } = e;
|
|
209
|
+
return {
|
|
210
|
+
...typeof t == "function" ? { onSent: t } : {},
|
|
211
|
+
...typeof n == "string" ? { defaultRecipient: n } : {}
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
function be(e) {
|
|
215
|
+
if (!e) return {};
|
|
216
|
+
let { onCreated: t, onRestored: n } = e;
|
|
217
|
+
return {
|
|
218
|
+
...typeof t == "function" ? { onCreated: t } : {},
|
|
219
|
+
...typeof n == "function" ? { onRestored: n } : {}
|
|
220
|
+
};
|
|
221
|
+
}
|
|
222
|
+
function w(e) {
|
|
223
|
+
return e.length < 2 ? e.join("") : e.length === 2 ? e.join(" and ") : `${e.slice(0, -1).join(", ")} and ${e[e.length - 1]}`;
|
|
224
|
+
}
|
|
225
|
+
async function T(r) {
|
|
226
|
+
let { config: a, cloudTranslations: o } = r, d = null, T = null, E = null, D = null, O = null, k = null, A = null, j = n(null), M = n(/* @__PURE__ */ new Map()), N = n(null);
|
|
227
|
+
function P() {
|
|
228
|
+
if (!d) throw Error("[Templatical] The Cloud editor is not mounted yet.");
|
|
229
|
+
return d;
|
|
230
|
+
}
|
|
231
|
+
function F() {
|
|
232
|
+
return d?.state.template?.id ?? null;
|
|
233
|
+
}
|
|
234
|
+
let I = new ae({
|
|
235
|
+
...a.auth,
|
|
236
|
+
onError: (e) => {
|
|
237
|
+
te(e) && (j.value = e), a.onError?.(e);
|
|
238
|
+
}
|
|
239
|
+
}), L = le({
|
|
240
|
+
authManager: I,
|
|
241
|
+
onError: a.onError
|
|
242
|
+
});
|
|
243
|
+
await I.initialize();
|
|
244
|
+
let R = await y({ authManager: I });
|
|
245
|
+
if (!R.api.ok) throw Error("Health check failed: API is not reachable");
|
|
246
|
+
if (!R.auth.ok) throw Error(`Health check failed: authentication error${R.auth.error ? ` - ${R.auth.error}` : ""}`);
|
|
247
|
+
R.websocket.ok || f.warn("WebSocket health check failed:", R.websocket.error ?? "unknown error", "-- real-time features will be disabled."), await L.fetchConfig(), j.value = null;
|
|
248
|
+
let xe = a.templates, z = [
|
|
249
|
+
"load",
|
|
250
|
+
"create",
|
|
251
|
+
"save"
|
|
252
|
+
].filter((e) => xe?.[e] !== void 0);
|
|
253
|
+
z.length > 0 && f.warn(`initCloud ignores ${w(z.map((e) => `templates.${e}`))} — the template id is the join key for collaboration, version history, comments, AI rewrite, scoring and the server-side export, so an id Cloud never issued would degrade all six. Your event handlers were kept. Use init() to bring your own storage.`);
|
|
254
|
+
let Se = a.versionHistory, B = [
|
|
255
|
+
"list",
|
|
256
|
+
"get",
|
|
257
|
+
"create",
|
|
258
|
+
"restore"
|
|
259
|
+
].filter((e) => Se?.[e] !== void 0);
|
|
260
|
+
B.length > 0 && f.warn(`initCloud ignores ${w(B.map((e) => `versionHistory.${e}`))} — a version is keyed to a template id Cloud issued, so Cloud owns its history. Your event handlers were kept. Use init() to bring your own storage.`);
|
|
261
|
+
let Ce = a.comments, V = [
|
|
262
|
+
"list",
|
|
263
|
+
"create",
|
|
264
|
+
"update",
|
|
265
|
+
"delete",
|
|
266
|
+
"setResolved",
|
|
267
|
+
"subscribe"
|
|
268
|
+
].filter((e) => Ce?.[e] !== void 0);
|
|
269
|
+
V.length > 0 && f.warn(`initCloud ignores ${w(V.map((e) => `comments.${e}`))} — a comment is keyed to a template id Cloud issued, and its author is signed by the auth token, so Cloud owns the conversation. Your event handlers were kept. Use init() to bring your own storage.`), a.render && f.warn("initCloud does not accept a `render` provider — Cloud renders server-side for test email, sends and exports, so a supplied renderer would change only what you preview and export, never what Cloud delivers. The supplied provider is ignored. For your own MJML, call renderToMjml(editor.getContent()) from @templatical/renderer.");
|
|
270
|
+
function H(e) {
|
|
271
|
+
let t = L.config.value?.websocket;
|
|
272
|
+
!E || !t || E.connect(e.id, ne(t));
|
|
273
|
+
}
|
|
274
|
+
let U = g(I), W = U.create, G = U.save, we = {
|
|
275
|
+
...ge(a.templates),
|
|
276
|
+
load: async (e) => {
|
|
277
|
+
let t = await U.load(e);
|
|
278
|
+
return H(t), t;
|
|
279
|
+
},
|
|
280
|
+
create: typeof W == "function" ? async (e) => {
|
|
281
|
+
let t = await W(e);
|
|
282
|
+
return H(t), t;
|
|
283
|
+
} : !1,
|
|
284
|
+
save: typeof G == "function" ? async (e, t) => (T && d && await p(d.content.value, T.registry), G(e, t)) : !1
|
|
285
|
+
}, Te = re({
|
|
286
|
+
authManager: I,
|
|
287
|
+
getTemplateId: F,
|
|
288
|
+
save: () => P().save()
|
|
289
|
+
}), Ee = {
|
|
290
|
+
...be(a.versionHistory),
|
|
291
|
+
...ie(I)
|
|
292
|
+
}, De = {
|
|
293
|
+
..._e(a.comments),
|
|
294
|
+
...x({
|
|
295
|
+
authManager: I,
|
|
296
|
+
channel: N,
|
|
297
|
+
getSocketId: () => E?.getSocketId() ?? null
|
|
298
|
+
})
|
|
299
|
+
}, K = I.userConfig ? {
|
|
300
|
+
id: I.userConfig.id,
|
|
301
|
+
name: I.userConfig.name
|
|
302
|
+
} : void 0, q = typeof a.savedBlocks?.list == "function" ? a.savedBlocks : null;
|
|
303
|
+
if (q === null && typeof a.savedBlocks == "object" && a.savedBlocks !== null) {
|
|
304
|
+
let e = a.savedBlocks, t = [
|
|
305
|
+
"list",
|
|
306
|
+
"create",
|
|
307
|
+
"update",
|
|
308
|
+
"delete"
|
|
309
|
+
].filter((t) => e[t] !== void 0);
|
|
310
|
+
t.length > 0 && f.warn(`initCloud ignores ${w(t.map((e) => `savedBlocks.${e}`))} — a provider needs a working list to replace Cloud's store, and this value has none, so it configures Cloud's own store instead. Your event handlers were kept. Use init() to bring your own storage.`);
|
|
311
|
+
}
|
|
312
|
+
let J = a.savedBlocks === !1 ? void 0 : q ?? {
|
|
313
|
+
...ve(a.savedBlocks),
|
|
314
|
+
...v(I)
|
|
315
|
+
}, Y = ce({
|
|
316
|
+
authManager: I,
|
|
317
|
+
isAuthReady: n(!0)
|
|
318
|
+
}), Oe = h({ authManager: I }), X = typeof a.testEmail?.send == "function" ? a.testEmail : null;
|
|
319
|
+
if (X === null && typeof a.testEmail == "object" && a.testEmail !== null) {
|
|
320
|
+
let e = a.testEmail, t = [
|
|
321
|
+
"send",
|
|
322
|
+
"includeMjml",
|
|
323
|
+
"allowedRecipients"
|
|
324
|
+
].filter((t) => e[t] !== void 0);
|
|
325
|
+
t.length > 0 && f.warn(`initCloud ignores ${w(t.map((e) => `testEmail.${e}`))} — a provider needs a working send to replace Cloud's sender outright, and Cloud renders server-side with the signed allowlist from your project's JWT either way, so none of these apply here. Your event handlers were kept.`);
|
|
326
|
+
}
|
|
327
|
+
let ke = X ?? Object.assign(S({
|
|
328
|
+
authManager: I,
|
|
329
|
+
getTemplateId: F,
|
|
330
|
+
save: () => P().save(),
|
|
331
|
+
exportHtml: (e) => Oe.exportHtml(e, oe(a.fonts)),
|
|
332
|
+
allowedEmails: Y.allowedEmails,
|
|
333
|
+
getSignature: Y.getSignature,
|
|
334
|
+
onBeforeTestEmail: a.onBeforeTestEmail
|
|
335
|
+
}), ye(a.testEmail)), Z = C(a.ai), Ae = ee({
|
|
336
|
+
authManager: I,
|
|
337
|
+
getTemplateId: F
|
|
338
|
+
}), Q = ue({
|
|
339
|
+
planConfigInstance: L,
|
|
340
|
+
aiConfig: Z,
|
|
341
|
+
getTemplateId: F
|
|
342
|
+
}), $ = i(() => !!a.collaboration?.enabled && L.hasFeature("collaboration"));
|
|
343
|
+
function je(n) {
|
|
344
|
+
let r = n.editor;
|
|
345
|
+
d = r, e(l, o), e(c, I), e(u, Z), e(s, Ae);
|
|
346
|
+
let i = m({
|
|
347
|
+
authManager: I,
|
|
348
|
+
onError: a.onError
|
|
349
|
+
});
|
|
350
|
+
E = i, t(i.channel, (e) => {
|
|
351
|
+
N.value = e;
|
|
352
|
+
}, { immediate: !0 }), a.mcp?.enabled && se({
|
|
353
|
+
editor: r,
|
|
354
|
+
channel: i.channel,
|
|
355
|
+
onOperation: a.mcp.onOperation
|
|
356
|
+
}), a.collaboration?.enabled && (O = b({
|
|
357
|
+
authManager: I,
|
|
358
|
+
editor: r,
|
|
359
|
+
channel: i.channel,
|
|
360
|
+
onError: a.onError,
|
|
361
|
+
onCollaboratorJoined: a.collaboration.onCollaboratorJoined,
|
|
362
|
+
onCollaboratorLeft: a.collaboration.onCollaboratorLeft,
|
|
363
|
+
onBlockLocked: a.collaboration.onBlockLocked,
|
|
364
|
+
onBlockUnlocked: a.collaboration.onBlockUnlocked
|
|
365
|
+
}), t(() => O.lockedBlocks.value, (e) => {
|
|
366
|
+
M.value = e;
|
|
367
|
+
}, { immediate: !0 }), _(r, O));
|
|
368
|
+
let f = fe(), p = de({
|
|
369
|
+
onRequestMedia: a.onRequestMedia,
|
|
370
|
+
mediaLibraryOpen: f.mediaLibraryOpen,
|
|
371
|
+
mediaLibraryAccept: f.mediaLibraryAccept,
|
|
372
|
+
authManager: I,
|
|
373
|
+
getMediaConfig: () => L.config.value?.media ?? null,
|
|
374
|
+
onError: a.onError
|
|
375
|
+
});
|
|
376
|
+
return D = p, {
|
|
377
|
+
websocket: i,
|
|
378
|
+
panelState: f,
|
|
379
|
+
mediaLib: p,
|
|
380
|
+
mediaBrowser: {
|
|
381
|
+
authManager: I,
|
|
382
|
+
projectId: I.projectId,
|
|
383
|
+
planConfig: L
|
|
384
|
+
},
|
|
385
|
+
featureFlags: Q,
|
|
386
|
+
collaboration: O,
|
|
387
|
+
isCollaborationEnabled: $
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
function Me(e) {
|
|
391
|
+
let { core: t, capabilities: r } = e;
|
|
392
|
+
return T = t, A = pe({
|
|
393
|
+
issues: t.templateLint ? t.templateLint.issues : n([]),
|
|
394
|
+
planConfig: L.config
|
|
395
|
+
}), k = me({
|
|
396
|
+
isCollaborationEnabled: $,
|
|
397
|
+
getCollaboratorCount: () => O?.collaborators.value.length ?? 0,
|
|
398
|
+
canUndo: t.history.canUndo
|
|
399
|
+
}), r.plan = L, r.ai = Z, a.customBlocks?.length && t.registerCustomBlocks(a.customBlocks), a.theme && (t.themeOverrides.value = a.theme), {
|
|
400
|
+
saveGate: A,
|
|
401
|
+
collabWarning: k,
|
|
402
|
+
sessionError: j,
|
|
403
|
+
retry: async () => {
|
|
404
|
+
try {
|
|
405
|
+
await I.initialize(), j.value = null;
|
|
406
|
+
} catch (e) {
|
|
407
|
+
j.value = e instanceof Error ? e : /* @__PURE__ */ Error("Authentication failed");
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
};
|
|
411
|
+
}
|
|
412
|
+
return {
|
|
413
|
+
runtime: {
|
|
414
|
+
lockedBlocks: M,
|
|
415
|
+
onRequestMedia: (e) => D ? D.handleRequestMedia(e) : Promise.resolve(null),
|
|
416
|
+
isSavedBlocksAvailable: q ? () => !0 : () => a.savedBlocks !== !1 && L.hasFeature("saved_modules"),
|
|
417
|
+
isTestEmailAvailable: X ? () => !0 : () => Y.isEnabled.value && Q.canSendTestEmail.value && Q.hasTemplateSaved.value,
|
|
418
|
+
isCommentsAvailable: () => a.comments !== !1 && L.hasFeature("commenting") && Q.hasTemplateSaved.value,
|
|
419
|
+
isBlockSaved: (e) => he(d?.state.template ?? null).has(e),
|
|
420
|
+
getSaveGate: () => A,
|
|
421
|
+
isRemoteOperation: () => O?._isProcessingRemoteOperation() ?? !1,
|
|
422
|
+
onBeforeUndo: () => k?.showCollabUndoWarning(),
|
|
423
|
+
attach: je,
|
|
424
|
+
ready: Me,
|
|
425
|
+
destroy() {
|
|
426
|
+
E?.disconnect(), a.onUnmount?.();
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
providers: {
|
|
430
|
+
templates: we,
|
|
431
|
+
render: Te,
|
|
432
|
+
versionHistory: Ee,
|
|
433
|
+
...J ? { savedBlocks: J } : {},
|
|
434
|
+
testEmail: ke,
|
|
435
|
+
comments: De
|
|
436
|
+
},
|
|
437
|
+
user: K
|
|
438
|
+
};
|
|
439
|
+
}
|
|
440
|
+
//#endregion
|
|
441
|
+
export { T as bootstrapCloud };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as e, b as t, s as n } from "./vue.runtime.esm-bundler-
|
|
2
|
-
//#region ../../node_modules/.pnpm/@lucide+vue@1.
|
|
1
|
+
import { S as e, b as t, s as n } from "./vue.runtime.esm-bundler-BhOUdXMi.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@lucide+vue@1.37.0_vue@3.5.42_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/shared/src/utils/isEmptyString.mjs
|
|
3
3
|
var r = (e) => e === "", i = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), a = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), o = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), s = (e) => {
|
|
4
4
|
let t = o(e);
|
|
5
5
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
@@ -18,7 +18,7 @@ function u() {
|
|
|
18
18
|
return e(l, {});
|
|
19
19
|
}
|
|
20
20
|
//#endregion
|
|
21
|
-
//#region ../../node_modules/.pnpm/@lucide+vue@1.
|
|
21
|
+
//#region ../../node_modules/.pnpm/@lucide+vue@1.37.0_vue@3.5.42_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/Icon.mjs
|
|
22
22
|
var d = ({ name: e, iconNode: o, "icon-node": l, absoluteStrokeWidth: d, "absolute-stroke-width": f, strokeWidth: p, "stroke-width": m, size: h, color: g, ..._ }, { slots: v }) => {
|
|
23
23
|
let { size: y, color: b, strokeWidth: x = 2, absoluteStrokeWidth: S = !1, class: C = "" } = u(), w = n(() => {
|
|
24
24
|
let e = r(d) || r(f) || d === !0 || f === !0 || S === !0, t = p || m || x || c["stroke-width"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as e, gn as t } from "./dist-
|
|
2
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-underline@3.30.
|
|
1
|
+
import { f as e, gn as t } from "./dist-nmzPlqlz.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-underline@3.30.5_@tiptap+core@3.30.5_@tiptap+pm@3.30.5_/node_modules/@tiptap/extension-underline/dist/index.js
|
|
3
3
|
var n = e.create({
|
|
4
4
|
name: "underline",
|
|
5
5
|
addOptions() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as e, G as t, L as n, Q as r, S as i, T as a, U as o, X as s, Z as c, q as l, tt as u, x as d, y as f } from "./vue.runtime.esm-bundler-
|
|
2
|
-
//#region ../../node_modules/.pnpm/@vueuse+shared@14.4.0_vue@3.5.
|
|
1
|
+
import { D as e, G as t, L as n, Q as r, S as i, T as a, U as o, X as s, Z as c, q as l, tt as u, x as d, y as f } from "./vue.runtime.esm-bundler-BhOUdXMi.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@vueuse+shared@14.4.0_vue@3.5.42_typescript@6.0.3_/node_modules/@vueuse/shared/dist/index.js
|
|
3
3
|
function p(e, t) {
|
|
4
4
|
return o() ? (l(e, t), !0) : !1;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bt as e, f as t, gn as n, s as r } from "./dist-
|
|
2
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-text-style@3.30.
|
|
1
|
+
import { bt as e, f as t, gn as n, s as r } from "./dist-nmzPlqlz.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-text-style@3.30.5_@tiptap+core@3.30.5_@tiptap+pm@3.30.5_/node_modules/@tiptap/extension-text-style/dist/index.js
|
|
3
3
|
var i = 20, a = (e, t = 0) => {
|
|
4
4
|
let n = [];
|
|
5
5
|
return !e.children.length || t > i || Array.from(e.children).forEach((e) => {
|
|
@@ -9,8 +9,9 @@ var i = 20, a = (e, t = 0) => {
|
|
|
9
9
|
if (!e.children.length) return;
|
|
10
10
|
let t = a(e);
|
|
11
11
|
t && t.forEach((e) => {
|
|
12
|
-
|
|
13
|
-
e.
|
|
12
|
+
var t;
|
|
13
|
+
let n = e.getAttribute("style"), r = (t = e.parentElement) == null || (t = t.closest("span")) == null ? void 0 : t.getAttribute("style");
|
|
14
|
+
e.setAttribute("style", `${r};${n}`);
|
|
14
15
|
});
|
|
15
16
|
}, s = t.create({
|
|
16
17
|
name: "textStyle",
|
|
@@ -41,7 +42,7 @@ var i = 20, a = (e, t = 0) => {
|
|
|
41
42
|
removeEmptyTextStyle: () => ({ tr: e }) => {
|
|
42
43
|
let { selection: t } = e;
|
|
43
44
|
return e.doc.nodesBetween(t.from, t.to, (t, n) => {
|
|
44
|
-
if (t.
|
|
45
|
+
if (!t.isInline) return !0;
|
|
45
46
|
t.marks.filter((e) => e.type === this.type).some((e) => Object.values(e.attrs).some((e) => !!e)) || e.removeMark(n, n + t.nodeSize, this.type);
|
|
46
47
|
}), !0;
|
|
47
48
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as e, G as t, Gn as n, Wn as r, et as i, f as a, fn as o, gn as s, lt as c, nt as l, pn as u, u as d, v as f } from "./dist-
|
|
1
|
+
import { E as e, G as t, Gn as n, Wn as r, et as i, f as a, fn as o, gn as s, lt as c, nt as l, pn as u, u as d, v as f } from "./dist-nmzPlqlz.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/linkifyjs@4.3.3/node_modules/linkifyjs/dist/linkify.mjs
|
|
3
3
|
var p = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2odyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rck0msd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2oodside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", m = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", h = "numeric", g = "ascii", _ = "alpha", v = "asciinumeric", y = "alphanumeric", b = "domain", x = "emoji", ee = "scheme", S = "slashscheme", C = "whitespace";
|
|
4
4
|
function w(e, t) {
|
|
@@ -510,7 +510,7 @@ function yt(e, t = null, n = null) {
|
|
|
510
510
|
return a;
|
|
511
511
|
}
|
|
512
512
|
//#endregion
|
|
513
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-link@3.30.
|
|
513
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-link@3.30.5_@tiptap+core@3.30.5_@tiptap+pm@3.30.5__@tiptap+pm@3.30.5/node_modules/@tiptap/extension-link/dist/index.js
|
|
514
514
|
var bt = "[\0- \xA0 -\u2029 ]", xt = new RegExp(bt), St = RegExp(`${bt}$`), Ct = new RegExp(bt, "g");
|
|
515
515
|
function wt(e) {
|
|
516
516
|
return e.length === 1 ? e[0].isLink : e.length === 3 && e[1].isLink ? ["()", "[]"].includes(e[0].value + e[2].value) : !1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bt as e, f as t, fn as n, gn as r, pn as i } from "./dist-
|
|
2
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-highlight@3.30.
|
|
1
|
+
import { bt as e, f as t, fn as n, gn as r, pn as i } from "./dist-nmzPlqlz.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-highlight@3.30.5_@tiptap+core@3.30.5_@tiptap+pm@3.30.5_/node_modules/@tiptap/extension-highlight/dist/index.js
|
|
3
3
|
var a = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, o = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g, s = t.create({
|
|
4
4
|
name: "highlight",
|
|
5
5
|
addOptions() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as e, L as t, Q as n, R as r, rt as i, s as a, tt as o, x as s, y as c } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { _ as l, a as u, d, i as f, l as p, n as m, o as h, r as g, s as _, t as v, u as y } from "./dist-
|
|
3
|
-
//#region ../../node_modules/.pnpm/@vueuse+core@14.4.0_vue@3.5.
|
|
1
|
+
import { D as e, L as t, Q as n, R as r, rt as i, s as a, tt as o, x as s, y as c } from "./vue.runtime.esm-bundler-BhOUdXMi.js";
|
|
2
|
+
import { _ as l, a as u, d, i as f, l as p, n as m, o as h, r as g, s as _, t as v, u as y } from "./dist-BUpBA58N.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/@vueuse+core@14.4.0_vue@3.5.42_typescript@6.0.3_/node_modules/@vueuse/core/dist/index.js
|
|
4
4
|
var b = m ? window : void 0;
|
|
5
5
|
m && window.document, m && window.navigator, m && window.location;
|
|
6
6
|
function x(e) {
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FontFamily as e } from "./dist-BdIwIlKz.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-font-family@3.30.5_@tiptap+extension-text-style@3.30.5_@tiptap+core@3.30.5_@tiptap+pm@3.30.5__/node_modules/@tiptap/extension-font-family/dist/index.js
|
|
3
|
+
var t = e;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { e as FontFamily, t as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as e } from "./dist-
|
|
2
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-text-align@3.30.
|
|
1
|
+
import { s as e } from "./dist-nmzPlqlz.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-text-align@3.30.5_@tiptap+core@3.30.5_@tiptap+pm@3.30.5_/node_modules/@tiptap/extension-text-align/dist/index.js
|
|
3
3
|
var t = e.create({
|
|
4
4
|
name: "textAlign",
|
|
5
5
|
addOptions() {
|