@templatical/editor 0.46.0 → 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AiChatSidebar-DGcH4Lyo.js → AiChatSidebar-DxPHFNoT.js} +14 -14
- package/dist/{AiFeatureMenu-B4q-0g1S.js → AiFeatureMenu-C8GVqu1d.js} +7 -7
- package/dist/{BlockIssueBadge-CZA1XvAh.js → BlockIssueBadge-BShkuJis.js} +5 -5
- package/dist/BlockPreviewCanvas-tzAtDkXH.js +141 -0
- package/dist/{CloudHeaderExtras-ehMYJP68.js → CloudHeaderExtras-CUSftQdm.js} +5 -5
- package/dist/{CloudPanels-BwOaAlKz.js → CloudPanels-Dgw7tb4R.js} +9 -9
- package/dist/{CollaboratorBar-qOZFRNPx.js → CollaboratorBar-5rfopCPx.js} +4 -4
- package/dist/{CommentsPanel-Bn6P5crU.js → CommentsPanel-DiWzYtnZ.js} +2 -2
- package/dist/{CommentsSidebar-B8wT932T.js → CommentsSidebar-BOqj16Al.js} +14 -14
- package/dist/CountdownBlock-zx39Dyby.js +92 -0
- package/dist/{CountdownToolbar-BeF21SeB.js → CountdownToolbar-C4y3Ft7H.js} +7 -7
- package/dist/{DesignReferenceSidebar-zH93uB15.js → DesignReferenceSidebar-BWAi3eQQ.js} +13 -13
- package/dist/{IssuesPanel-Dltw9haP.js → IssuesPanel-C-x3I012.js} +8 -8
- package/dist/{LoadingTrack-DROqNuuD.js → LoadingTrack-6XsqodoY.js} +1 -1
- package/dist/{LogicTagInsertButton-CHa-UD76.js → LogicTagInsertButton-B1_Wy0AN.js} +13 -13
- package/dist/{MediaEditModal-EY1YYcpw.js → MediaEditModal-ByOvznRC.js} +4 -4
- package/dist/{MediaPanels-CRVFGFZW.js → MediaPanels-9mDBv4aL.js} +2 -2
- package/dist/{MergeTagInput-B3ntd4dN.js → MergeTagInput-fOewuF27.js} +3 -3
- package/dist/{MergeTagModeToggle-C_06ZL0Q.js → MergeTagModeToggle-BXamLcv7.js} +7 -7
- package/dist/{ParagraphEditor-CxuW3TV0.js → ParagraphEditor-BVjOwwHx.js} +100 -85
- package/dist/{RestoreVersionDialog-B1n37M1Z.js → RestoreVersionDialog-BEKXx9xk.js} +6 -6
- package/dist/{RichTextEditorContent-CP_uULWB.js → RichTextEditorContent-D7kp7iig.js} +12 -12
- package/dist/{SaveBlockDialog-BSKX_7_v.js → SaveBlockDialog-SJu0lecx.js} +34 -35
- package/dist/{SavedBlocksBrowserModal-CHKrH1gO.js → SavedBlocksBrowserModal-DbmIS5uK.js} +14 -14
- package/dist/{SavedBlocksPanels-B-xDqBcz.js → SavedBlocksPanels-Dr5Fxx9Z.js} +2 -2
- package/dist/{SavedBlocksPickBar-D2J-g82g.js → SavedBlocksPickBar-DnEWBZJy.js} +5 -5
- package/dist/{TemplateScoringPanel-3lHzuCl0.js → TemplateScoringPanel-ynbGl-sr.js} +16 -16
- package/dist/{TemplateSettings-D07K_Y4m.js → TemplateSettings-Bi01S3H3.js} +12 -12
- package/dist/{TestEmailModal-BNPw_lID.js → TestEmailModal-CbRY8HQx.js} +14 -14
- package/dist/{TestEmailPanel-8klWo8hE.js → TestEmailPanel-NAOmt3xi.js} +2 -2
- package/dist/{TitleEditor-CmC9OuhA.js → TitleEditor-Cc3DHbuN.js} +15 -15
- package/dist/{ToggleSwitch-COeyWGfT.js → ToggleSwitch-Ozc7YU38.js} +2 -2
- package/dist/Toolbar-B-2lO0I8.js +3156 -0
- package/dist/{TplModal-BGFawHY9.js → TplModal-Bz4-IZ9R.js} +6 -6
- package/dist/{VersionHistoryMenu-D7zaTMrb.js → VersionHistoryMenu-CjV1d1zk.js} +10 -10
- package/dist/{VersionHistoryPanels-DdbGjEOR.js → VersionHistoryPanels-BtwxrKJn.js} +2 -2
- package/dist/{VersionPreviewBanner-BUKb9gc6.js → VersionPreviewBanner-BLAei1kj.js} +4 -4
- package/dist/WrapperBlock-D0qgNqjD.js +45 -0
- package/dist/{blockTypeIcons-CVKo6V_v.js → blockTypeIcons-CEDZytqP.js} +50 -20
- package/dist/bundle-stats.json +8 -8
- package/dist/{ca-C__Dzq--.js → ca-CbNzJM3I.js} +38 -1
- package/dist/cdn/chunks/{AiChatSidebar-kCK4NZM9.js → AiChatSidebar-Dk0rJBQN.js} +8 -8
- package/dist/cdn/chunks/{AiChatSidebar-kCK4NZM9.js.map → AiChatSidebar-Dk0rJBQN.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-K1dLeDft.js → AiFeatureMenu-B7b0w8ZS.js} +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-K1dLeDft.js.map → AiFeatureMenu-B7b0w8ZS.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-05Q3L4RV.js → BlockIssueBadge-C7sdnkrF.js} +5 -5
- package/dist/cdn/chunks/{BlockIssueBadge-05Q3L4RV.js.map → BlockIssueBadge-C7sdnkrF.js.map} +1 -1
- package/dist/cdn/chunks/BlockPreviewCanvas-vK5tBazr.js +143 -0
- package/dist/cdn/chunks/BlockPreviewCanvas-vK5tBazr.js.map +1 -0
- package/dist/cdn/chunks/{CloudHeaderExtras-5ONQ1RCa.js → CloudHeaderExtras-B4fhuwc_.js} +5 -5
- package/dist/cdn/chunks/{CloudHeaderExtras-5ONQ1RCa.js.map → CloudHeaderExtras-B4fhuwc_.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-_irSdWbi.js → CloudPanels-awqHfJqC.js} +8 -8
- package/dist/cdn/chunks/{CloudPanels-_irSdWbi.js.map → CloudPanels-awqHfJqC.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-CZufI1On.js → CollaboratorBar-CS0ivqkr.js} +5 -5
- package/dist/cdn/chunks/{CollaboratorBar-CZufI1On.js.map → CollaboratorBar-CS0ivqkr.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-VH_NJ5HZ.js → CommentsPanel-CbzxwsyI.js} +3 -3
- package/dist/cdn/chunks/{CommentsPanel-VH_NJ5HZ.js.map → CommentsPanel-CbzxwsyI.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-CYPH5rVi.js → CommentsSidebar-DWPHZuQm.js} +8 -8
- package/dist/cdn/chunks/{CommentsSidebar-CYPH5rVi.js.map → CommentsSidebar-DWPHZuQm.js.map} +1 -1
- package/dist/cdn/chunks/CountdownBlock-Dasj191h.js +94 -0
- package/dist/cdn/chunks/CountdownBlock-Dasj191h.js.map +1 -0
- package/dist/cdn/chunks/{CountdownToolbar-BaXCefQM.js → CountdownToolbar-Cqg8FUH-.js} +8 -8
- package/dist/cdn/chunks/{CountdownToolbar-BaXCefQM.js.map → CountdownToolbar-Cqg8FUH-.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-GjkpHylX.js → DesignReferenceSidebar-BW9cHnA9.js} +12 -12
- package/dist/cdn/chunks/{DesignReferenceSidebar-GjkpHylX.js.map → DesignReferenceSidebar-BW9cHnA9.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-C1Lv2y_O.js → IssuesPanel-cXf9ywA4.js} +8 -8
- package/dist/cdn/chunks/{IssuesPanel-C1Lv2y_O.js.map → IssuesPanel-cXf9ywA4.js.map} +1 -1
- package/dist/cdn/chunks/{LoadingTrack-Cg1HRIND.js → LoadingTrack-DbH97JR9.js} +2 -2
- package/dist/cdn/chunks/{LoadingTrack-Cg1HRIND.js.map → LoadingTrack-DbH97JR9.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-BYjdrDnQ.js → LogicTagInsertButton-BMB9vShs.js} +89 -89
- package/dist/cdn/chunks/{LogicTagInsertButton-BYjdrDnQ.js.map → LogicTagInsertButton-BMB9vShs.js.map} +1 -1
- package/dist/cdn/chunks/{MediaEditModal-CD3fVbWI.js → MediaEditModal-zXfcArr4.js} +4 -4
- package/dist/cdn/chunks/{MediaEditModal-CD3fVbWI.js.map → MediaEditModal-zXfcArr4.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-B2AyUUcf.js → MediaPanels-Cp4XB_dH.js} +3 -3
- package/dist/cdn/chunks/{MediaPanels-B2AyUUcf.js.map → MediaPanels-Cp4XB_dH.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-Cx67J_vg.js → MergeTagInput-DLqrA9co.js} +4 -4
- package/dist/cdn/chunks/{MergeTagInput-Cx67J_vg.js.map → MergeTagInput-DLqrA9co.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-DZ4EuXVp.js → MergeTagModeToggle-BRiJzzn5.js} +6 -6
- package/dist/cdn/chunks/{MergeTagModeToggle-DZ4EuXVp.js.map → MergeTagModeToggle-BRiJzzn5.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-DndEFXmR.js → ParagraphEditor-D4aq9eeC.js} +116 -101
- package/dist/cdn/chunks/ParagraphEditor-D4aq9eeC.js.map +1 -0
- package/dist/cdn/chunks/{RestoreVersionDialog-CFYs13a4.js → RestoreVersionDialog-BgR6RXSb.js} +6 -6
- package/dist/cdn/chunks/{RestoreVersionDialog-CFYs13a4.js.map → RestoreVersionDialog-BgR6RXSb.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-DKkDQ0dc.js → RichTextEditorContent-C4DMAn0g.js} +11 -11
- package/dist/cdn/chunks/{RichTextEditorContent-DKkDQ0dc.js.map → RichTextEditorContent-C4DMAn0g.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-BOA2RaC_.js → SaveBlockDialog-BaIsQd09.js} +41 -42
- package/dist/cdn/chunks/{SaveBlockDialog-BOA2RaC_.js.map → SaveBlockDialog-BaIsQd09.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DQDVek3K.js → SavedBlocksBrowserModal-CtnB58p_.js} +10 -10
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DQDVek3K.js.map → SavedBlocksBrowserModal-CtnB58p_.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-Lu3tJ3QA.js → SavedBlocksPanels-BhEOMzEQ.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPanels-Lu3tJ3QA.js.map → SavedBlocksPanels-BhEOMzEQ.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-D7MtqG6r.js → SavedBlocksPickBar-CcdqTEIp.js} +6 -6
- package/dist/cdn/chunks/{SavedBlocksPickBar-D7MtqG6r.js.map → SavedBlocksPickBar-CcdqTEIp.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-C_57Bfkf.js → TemplateScoringPanel-BrWqJCSP.js} +9 -9
- package/dist/cdn/chunks/{TemplateScoringPanel-C_57Bfkf.js.map → TemplateScoringPanel-BrWqJCSP.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-rZiHmq24.js → TemplateSettings-BkkWTDHD.js} +14 -14
- package/dist/cdn/chunks/TemplateSettings-BkkWTDHD.js.map +1 -0
- package/dist/cdn/chunks/{TestEmailModal-DWEyHXH2.js → TestEmailModal-V5mwHsUV.js} +13 -13
- package/dist/cdn/chunks/{TestEmailModal-DWEyHXH2.js.map → TestEmailModal-V5mwHsUV.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-XXMD-Lnr.js → TestEmailPanel-DxrKuctP.js} +3 -3
- package/dist/cdn/chunks/{TestEmailPanel-XXMD-Lnr.js.map → TestEmailPanel-DxrKuctP.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-D1F0YoE-.js → TitleEditor-CsZiG3TT.js} +19 -19
- package/dist/cdn/chunks/{TitleEditor-D1F0YoE-.js.map → TitleEditor-CsZiG3TT.js.map} +1 -1
- package/dist/cdn/chunks/{ToggleSwitch-B5U9cqhi.js → ToggleSwitch-BB-bQADJ.js} +3 -3
- package/dist/cdn/chunks/{ToggleSwitch-B5U9cqhi.js.map → ToggleSwitch-BB-bQADJ.js.map} +1 -1
- package/dist/cdn/chunks/Toolbar-C_x2TfFk.js +3073 -0
- package/dist/cdn/chunks/Toolbar-C_x2TfFk.js.map +1 -0
- package/dist/cdn/chunks/{TplModal-CYBbPCHL.js → TplModal-DC_eodTV.js} +6 -6
- package/dist/cdn/chunks/TplModal-DC_eodTV.js.map +1 -0
- package/dist/cdn/chunks/{VersionHistoryMenu-DbxuJgDO.js → VersionHistoryMenu-DXnM5Df2.js} +11 -11
- package/dist/cdn/chunks/{VersionHistoryMenu-DbxuJgDO.js.map → VersionHistoryMenu-DXnM5Df2.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-Dq12VsTX.js → VersionHistoryPanels-DXSqmaLS.js} +3 -3
- package/dist/cdn/chunks/{VersionHistoryPanels-Dq12VsTX.js.map → VersionHistoryPanels-DXSqmaLS.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-HRERIH-v.js → VersionPreviewBanner-DKyN6BhO.js} +5 -5
- package/dist/cdn/chunks/{VersionPreviewBanner-HRERIH-v.js.map → VersionPreviewBanner-DKyN6BhO.js.map} +1 -1
- package/dist/cdn/chunks/WrapperBlock-gG_Bleug.js +47 -0
- package/dist/cdn/chunks/WrapperBlock-gG_Bleug.js.map +1 -0
- package/dist/cdn/chunks/blockTypeIcons-HrMJDfVg.js +22 -0
- package/dist/cdn/chunks/blockTypeIcons-HrMJDfVg.js.map +1 -0
- package/dist/cdn/chunks/{ca-C__Dzq--.js → ca-CbNzJM3I.js} +39 -2
- package/dist/cdn/chunks/ca-CbNzJM3I.js.map +1 -0
- package/dist/cdn/chunks/{cloud-h1vaHp2p.js → cloud-BHClP3e2.js} +3 -3
- package/dist/cdn/chunks/{cloud-h1vaHp2p.js.map → cloud-BHClP3e2.js.map} +1 -1
- package/dist/cdn/chunks/{createCloudRuntime-bJN9EM1H.js → createCloudRuntime-Vd0N4elZ.js} +18 -9
- package/dist/cdn/chunks/createCloudRuntime-Vd0N4elZ.js.map +1 -0
- package/dist/cdn/chunks/{de-CGjbQ2mt.js → de-DMquBpZM.js} +39 -2
- package/dist/cdn/chunks/de-DMquBpZM.js.map +1 -0
- package/dist/cdn/chunks/{dist-B7W-Lb65.js → dist-CjL6JHML.js} +3 -3
- package/dist/cdn/chunks/{dist-B7W-Lb65.js.map → dist-CjL6JHML.js.map} +1 -1
- package/dist/cdn/chunks/{dist-C5nRd_ua.js → dist-MNQYSEWU.js} +4 -4
- package/dist/cdn/chunks/{dist-C5nRd_ua.js.map → dist-MNQYSEWU.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-BUTN5vZC.js → draggable-DrsNwZuB.js} +1673 -1595
- package/dist/cdn/chunks/draggable-DrsNwZuB.js.map +1 -0
- package/dist/cdn/chunks/{editor-modal-BpsbYA4_.js → editor-modal-vEEmZ8Tu.js} +93 -93
- package/dist/cdn/chunks/{editor-modal-BpsbYA4_.js.map → editor-modal-vEEmZ8Tu.js.map} +1 -1
- package/dist/cdn/chunks/{en-BTiiAC-B.js → en-C8Mp71sO.js} +39 -2
- package/dist/cdn/chunks/en-C8Mp71sO.js.map +1 -0
- package/dist/cdn/chunks/en-eWpiXyZu.js +1 -0
- package/dist/cdn/chunks/{es-CdTOcSTf.js → es-Byq4tthI.js} +39 -2
- package/dist/cdn/chunks/es-Byq4tthI.js.map +1 -0
- package/dist/cdn/chunks/{extensions-CrmXF4MW.js → extensions-hJ9VqzDc.js} +7 -7
- package/dist/cdn/chunks/{extensions-CrmXF4MW.js.map → extensions-hJ9VqzDc.js.map} +1 -1
- package/dist/cdn/chunks/{fr-B6lcLLzC.js → fr-B3j35HEw.js} +39 -2
- package/dist/cdn/chunks/fr-B3j35HEw.js.map +1 -0
- package/dist/cdn/chunks/{icons-Dr9erFGs.js → icons-aTYwH5-g.js} +107 -78
- package/dist/cdn/chunks/icons-aTYwH5-g.js.map +1 -0
- package/dist/{ja-BhdkqENz.js → cdn/chunks/ja-D7txAuGS.js} +40 -1
- package/dist/cdn/chunks/ja-D7txAuGS.js.map +1 -0
- package/dist/cdn/chunks/{keys-BKu-LOk5.js → keys-HI-INbkz.js} +2 -2
- package/dist/cdn/chunks/{keys-BKu-LOk5.js.map → keys-HI-INbkz.js.map} +1 -1
- package/dist/{nl-CE3YItYg.js → cdn/chunks/nl-ClJ3BY3F.js} +40 -1
- package/dist/cdn/chunks/nl-ClJ3BY3F.js.map +1 -0
- package/dist/cdn/chunks/{preRenderCustomBlocks-CyGB3lZr.js → preRenderCustomBlocks-ByfuSjtL.js} +4 -2
- package/dist/cdn/chunks/preRenderCustomBlocks-ByfuSjtL.js.map +1 -0
- package/dist/{pt-BR-CUIT4rq4.js → cdn/chunks/pt-BR-DibcXcmv.js} +40 -1
- package/dist/cdn/chunks/pt-BR-DibcXcmv.js.map +1 -0
- package/dist/cdn/chunks/socialIcons-C_lnkpG6.js +1279 -0
- package/dist/cdn/chunks/socialIcons-C_lnkpG6.js.map +1 -0
- package/dist/{dist-BI_LeQGl.js → cdn/chunks/src-DYCDeBDM.js} +437 -256
- package/dist/cdn/chunks/src-DYCDeBDM.js.map +1 -0
- package/dist/cdn/chunks/{src-B0pZeTYO.js → src-DlFlC9Tt.js} +334 -268
- package/dist/cdn/chunks/src-DlFlC9Tt.js.map +1 -0
- package/dist/cdn/chunks/src-dZ4D_tuP.js +649 -0
- package/dist/cdn/chunks/src-dZ4D_tuP.js.map +1 -0
- package/dist/{styleConstants-C_YAPdQS.js → cdn/chunks/styleConstants-D1Jz-TFU.js} +9 -28
- package/dist/cdn/chunks/{styleConstants-C_YAPdQS.js.map → styleConstants-D1Jz-TFU.js.map} +1 -1
- package/dist/cdn/chunks/timeouts-Cv2jvusx.js +6 -0
- package/dist/cdn/chunks/timeouts-Cv2jvusx.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-CYDXLO17.js → tiptap-BPigZk5G.js} +3258 -3098
- package/dist/cdn/chunks/tiptap-BPigZk5G.js.map +1 -0
- package/dist/cdn/chunks/{useAliveFlag-DzyXG-8A.js → useAliveFlag-DCB96vzR.js} +2 -2
- package/dist/cdn/chunks/{useAliveFlag-DzyXG-8A.js.map → useAliveFlag-DCB96vzR.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-Cgk0ts_F.js → useCloudI18n-BBF4waXO.js} +3 -3
- package/dist/cdn/chunks/{useCloudI18n-Cgk0ts_F.js.map → useCloudI18n-BBF4waXO.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-DuC7kVti.js → useEditorCore-Bb2UcB20.js} +780 -764
- package/dist/cdn/chunks/useEditorCore-Bb2UcB20.js.map +1 -0
- package/dist/cdn/chunks/useEditorRoot-CTc6O8al.js +10 -0
- package/dist/cdn/chunks/{useEditorRoot-DDPIcEOO.js.map → useEditorRoot-CTc6O8al.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-DO4NTunW.js → useI18n-DUlyyIJJ.js} +3 -3
- package/dist/cdn/chunks/{useI18n-DO4NTunW.js.map → useI18n-DUlyyIJJ.js.map} +1 -1
- package/dist/cdn/chunks/{useLogicTag-B3uV3XHG.js → useLogicTag-HsyUCQtl.js} +4 -4
- package/dist/cdn/chunks/{useLogicTag-B3uV3XHG.js.map → useLogicTag-HsyUCQtl.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-DJLM-7WQ.js → useMergeTag-Dg9pE85U.js} +4 -4
- package/dist/cdn/chunks/{useMergeTag-DJLM-7WQ.js.map → useMergeTag-Dg9pE85U.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-CtVNwoHj.js → usePopoverPosition-IbaW6-Ao.js} +3 -3
- package/dist/cdn/chunks/{usePopoverPosition-CtVNwoHj.js.map → usePopoverPosition-IbaW6-Ao.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-CpmB5KxW.js → useScrollToBlock-uUa601I4.js} +3 -3
- package/dist/cdn/chunks/{useScrollToBlock-CpmB5KxW.js.map → useScrollToBlock-uUa601I4.js.map} +1 -1
- package/dist/cdn/chunks/withCurrentFont-oLcATrQ8.js +21 -0
- package/dist/cdn/chunks/{withCurrentFont-isIyuezD.js.map → withCurrentFont-oLcATrQ8.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +641 -631
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-ZKvtMdpe.js → check-ClwqRMgv.js} +1 -1
- package/dist/{chevron-down-RrwkYMlp.js → chevron-down-te6qn-zE.js} +1 -1
- package/dist/{chevron-right-CklHaa1U.js → chevron-right-W2hbH1FM.js} +1 -1
- package/dist/{chevron-up-DjN2NTbo.js → chevron-up-Bf5Zo7o4.js} +1 -1
- package/dist/{circle-alert-BR1_Yfb-.js → circle-alert-CIEGV5DN.js} +1 -1
- package/dist/{clock-BEagNj21.js → clock-Y4cx0gkJ.js} +1 -1
- package/dist/{cloud-DPGjMGfv.js → cloud-B5xwm_4X.js} +2 -2
- package/dist/{copy-D6DNoSq1.js → copy-BEcsAlfB.js} +1 -1
- package/dist/{createCloudRuntime-D0RRgWab.js → createCloudRuntime-zNPkF6T9.js} +17 -8
- package/dist/{createLucideIcon-BAPyioGd.js → createLucideIcon-CYHXK9hn.js} +6 -6
- package/dist/{de-CGjbQ2mt.js → de-DMquBpZM.js} +38 -1
- package/dist/{dist-Bd7khQsg.js → dist-3HpYixwF.js} +2 -2
- package/dist/{dist-lL3nVbxV.js → dist-BC-ZEYLd.js} +2 -2
- package/dist/dist-BPFcLKTw.js +5 -0
- package/dist/{dist-C-VFTX82.js → dist-CUWI-IvA.js} +2 -2
- package/dist/{dist-Bc30883t.js → dist-Cr7RPxI9.js} +5 -5
- package/dist/{dist-DapsJxn_.js → dist-CuLwJF7H.js} +2 -2
- package/dist/{dist-5KNKxglR.js → dist-CyBwSiAa.js} +2 -2
- package/dist/dist-D7Yj7E-F.js +5 -0
- package/dist/{dist-B_vYjCsk.js → dist-DAAJogrx.js} +3 -3
- package/dist/{dist-CMcFD7gP.js → dist-DBxgrOeo.js} +1906 -1746
- package/dist/{dist-DHensKDY.js → dist-DPcf6XZ8.js} +2 -2
- package/dist/{dist-5DAb7bYT.js → dist-DVNjPKsH.js} +2 -2
- package/dist/{dist-C3eH9-N2.js → dist-DXyGqIDE.js} +2 -2
- package/dist/{dist-1H4cnaoD.js → dist-DuufrR8O.js} +4 -4
- package/dist/{cdn/chunks/src-Bh0MoJ67.js → dist-tsmnQugO.js} +207 -174
- package/dist/{editor-modal-oRmkDlUs.js → editor-modal-AlVLkU91.js} +20 -20
- package/dist/en-B0FUfNwz.js +1 -0
- package/dist/{en-BTiiAC-B.js → en-C8Mp71sO.js} +38 -1
- package/dist/{es-CdTOcSTf.js → es-Byq4tthI.js} +38 -1
- package/dist/{extensions-CYigjb1g.js → extensions-pjO8VGkM.js} +9 -9
- package/dist/{eye-DvsTBI57.js → eye-Ddnz8nnm.js} +1 -1
- package/dist/{fr-B6lcLLzC.js → fr-B3j35HEw.js} +38 -1
- package/dist/{image-up-BoFGZm5Q.js → image-up-CM_HC0Dx.js} +1 -1
- package/dist/index.d.ts +124 -11
- package/dist/{info-0bQQGjTV.js → info-DXLmzoeY.js} +1 -1
- package/dist/{cdn/chunks/ja-BhdkqENz.js → ja-D7txAuGS.js} +38 -3
- package/dist/{keys-injl74ob.js → keys-BKFq19a2.js} +1 -1
- package/dist/{link-Cstrr3Ep.js → link-Cel46wgo.js} +1 -1
- package/dist/{list-Dx9Rmy5s.js → list-Cl0GwiV9.js} +1 -1
- package/dist/{loader-circle-D8Qqs0MG.js → loader-circle-uAwpvfys.js} +1 -1
- package/dist/{message-circle-D78ELX6I.js → message-circle-DWU1pTM_.js} +1 -1
- package/dist/{cdn/chunks/nl-CE3YItYg.js → nl-ClJ3BY3F.js} +38 -3
- package/dist/{package-DOvM9sHE.js → package-CbyG_yU_.js} +1 -1
- package/dist/{pencil-B6m0OG0n.js → pencil-BzoDcwKu.js} +1 -1
- package/dist/{plus-D-nEKxTc.js → plus-8cDvoCjZ.js} +1 -1
- package/dist/{preRenderCustomBlocks-DokBGA_M.js → preRenderCustomBlocks-DMP5RuHl.js} +6 -4
- package/dist/{cdn/chunks/pt-BR-CUIT4rq4.js → pt-BR-DibcXcmv.js} +38 -3
- package/dist/{refresh-cw-CXZS-R1U.js → refresh-cw-9WinWixo.js} +1 -1
- package/dist/{runtime-dom.esm-bundler-CO67ema2.js → runtime-dom.esm-bundler-lFF-QG3j.js} +3 -3
- package/dist/{search-DSvil0jo.js → search-CqgGq1gG.js} +1 -1
- package/dist/{send-BBR28V94.js → send-Ceo3c9Db.js} +1 -1
- package/dist/{shield-check-ByxUnaU9.js → shield-check-uDAwur5D.js} +1 -1
- package/dist/{smartphone-CNOwGf5T.js → smartphone-CcLaCpGK.js} +1 -1
- package/dist/socialIcons-PTiwhLoC.js +1359 -0
- package/dist/{sparkles-DO1hzwzf.js → sparkles-Do9XjAuT.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{cdn/chunks/styleConstants-C_YAPdQS.js → styleConstants-D1Jz-TFU.js} +7 -30
- package/dist/templatical-editor.js +519 -509
- package/dist/{text-align-start-BKEKMheq.js → text-align-start-DvzC0HQA.js} +1 -1
- package/dist/timeouts-Cv2jvusx.js +4 -0
- package/dist/{trash-CKEQH4vH.js → trash-vlINTx32.js} +1 -1
- package/dist/{triangle-alert-BHnfd3fV.js → triangle-alert-MRYSJ9T2.js} +1 -1
- package/dist/{upload-C8uO7KsR.js → upload-CtNOI6J2.js} +1 -1
- package/dist/{useAliveFlag-6PtarpNZ.js → useAliveFlag-Dd06mRxe.js} +1 -1
- package/dist/{useCloudI18n-GvIOLziA.js → useCloudI18n-Nwqo7pI_.js} +2 -2
- package/dist/{useEditorCore-BJAQMvNW.js → useEditorCore-PvErWWsp.js} +1002 -991
- package/dist/{useEditorRoot-OWzNpDdT.js → useEditorRoot-BD3piYtD.js} +2 -2
- package/dist/{useI18n-uF11q85g.js → useI18n-CxVEpurs.js} +2 -2
- package/dist/{useLogicTag-B5gjcMzn.js → useLogicTag-BHn67tDd.js} +3 -3
- package/dist/{useMergeTag-BwsBIDzR.js → useMergeTag-CRkm5Ig6.js} +5 -5
- package/dist/{usePopoverPosition-DkBrHfCo.js → usePopoverPosition-CwnH1o5g.js} +2 -2
- package/dist/{useScrollToBlock-JRxhT1u_.js → useScrollToBlock-CXmcHQQN.js} +3 -3
- package/dist/{vue.runtime.esm-bundler-CctRY8kr.js → vue.runtime.esm-bundler-CAzmrXdD.js} +1215 -1155
- package/dist/{withCurrentFont-C9vqrduu.js → withCurrentFont-CxRGeHO3.js} +1 -1
- package/dist/{x-gEC0yMci.js → x-Cd6SFw8r.js} +1 -1
- package/package.json +23 -23
- package/dist/BlockPreviewCanvas-DIZ0KgUD.js +0 -133
- package/dist/CountdownBlock-RNx3hIu0.js +0 -91
- package/dist/Toolbar-CqhRb6EM.js +0 -2732
- package/dist/WrapperBlock-CTkmA887.js +0 -34
- package/dist/cdn/chunks/BlockPreviewCanvas-Djz9YAFx.js +0 -135
- package/dist/cdn/chunks/BlockPreviewCanvas-Djz9YAFx.js.map +0 -1
- package/dist/cdn/chunks/CountdownBlock-lHU3Lu7Q.js +0 -93
- package/dist/cdn/chunks/CountdownBlock-lHU3Lu7Q.js.map +0 -1
- package/dist/cdn/chunks/ParagraphEditor-DndEFXmR.js.map +0 -1
- package/dist/cdn/chunks/TemplateSettings-rZiHmq24.js.map +0 -1
- package/dist/cdn/chunks/Toolbar-C_5HfUQq.js +0 -2646
- package/dist/cdn/chunks/Toolbar-C_5HfUQq.js.map +0 -1
- package/dist/cdn/chunks/TplModal-CYBbPCHL.js.map +0 -1
- package/dist/cdn/chunks/WrapperBlock-CJ0CLqi2.js +0 -36
- package/dist/cdn/chunks/WrapperBlock-CJ0CLqi2.js.map +0 -1
- package/dist/cdn/chunks/blockTypeIcons-DdZP-3FM.js +0 -21
- package/dist/cdn/chunks/blockTypeIcons-DdZP-3FM.js.map +0 -1
- package/dist/cdn/chunks/ca-C__Dzq--.js.map +0 -1
- package/dist/cdn/chunks/createCloudRuntime-bJN9EM1H.js.map +0 -1
- package/dist/cdn/chunks/de-CGjbQ2mt.js.map +0 -1
- package/dist/cdn/chunks/draggable-BUTN5vZC.js.map +0 -1
- package/dist/cdn/chunks/en-BTiiAC-B.js.map +0 -1
- package/dist/cdn/chunks/en-CAt6y87e.js +0 -1
- package/dist/cdn/chunks/es-CdTOcSTf.js.map +0 -1
- package/dist/cdn/chunks/fr-B6lcLLzC.js.map +0 -1
- package/dist/cdn/chunks/icons-Dr9erFGs.js.map +0 -1
- package/dist/cdn/chunks/ja-BhdkqENz.js.map +0 -1
- package/dist/cdn/chunks/nl-CE3YItYg.js.map +0 -1
- package/dist/cdn/chunks/preRenderCustomBlocks-CyGB3lZr.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-CUIT4rq4.js.map +0 -1
- package/dist/cdn/chunks/socialIcons-ClJVDZwt.js +0 -1031
- package/dist/cdn/chunks/socialIcons-ClJVDZwt.js.map +0 -1
- package/dist/cdn/chunks/src-B0pZeTYO.js.map +0 -1
- package/dist/cdn/chunks/src-BMw3u-iV.js +0 -614
- package/dist/cdn/chunks/src-BMw3u-iV.js.map +0 -1
- package/dist/cdn/chunks/src-Bh0MoJ67.js.map +0 -1
- package/dist/cdn/chunks/timeouts-DHPZQ0G3.js +0 -6
- package/dist/cdn/chunks/timeouts-DHPZQ0G3.js.map +0 -1
- package/dist/cdn/chunks/tiptap-CYDXLO17.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-DuC7kVti.js.map +0 -1
- package/dist/cdn/chunks/useEditorRoot-DDPIcEOO.js +0 -10
- package/dist/cdn/chunks/withCurrentFont-isIyuezD.js +0 -21
- package/dist/dist-CFC4pg2o.js +0 -5
- package/dist/dist-j2FavQmU.js +0 -5
- package/dist/en-Bk4iCfjp.js +0 -1
- package/dist/socialIcons-Ct_IoqPQ.js +0 -1107
- package/dist/timeouts-DHPZQ0G3.js +0 -4
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { E as e, F as t, N as n, Q as r, R as i, S as a, at as o, b as s, c, ct as l, d as u, f as d, g as f, h as p, l as m, lt as h, m as g, p as _, q as v, u as y, ut as b, y as x } from "./draggable-
|
|
2
|
-
import { X as S } from "./src-
|
|
3
|
-
import { t as C } from "./dist-
|
|
4
|
-
import {
|
|
5
|
-
import { $ as O, A as k, E as A, J as j, Z as M, g as N, v as P } from "./keys-
|
|
6
|
-
import { t as ee } from "./useI18n-
|
|
7
|
-
import { n as te } from "./usePopoverPosition-
|
|
8
|
-
import {
|
|
1
|
+
import { E as e, F as t, N as n, Q as r, R as i, S as a, at as o, b as s, c, ct as l, d as u, f as d, g as f, h as p, l as m, lt as h, m as g, p as _, q as v, u as y, ut as b, y as x } from "./draggable-DrsNwZuB.js";
|
|
2
|
+
import { X as S } from "./src-DYCDeBDM.js";
|
|
3
|
+
import { t as C } from "./dist-MNQYSEWU.js";
|
|
4
|
+
import { S as w, v as T, x as E, y as D } from "./useEditorCore-Bb2UcB20.js";
|
|
5
|
+
import { $ as O, A as k, E as A, J as j, Z as M, g as N, v as P } from "./keys-HI-INbkz.js";
|
|
6
|
+
import { t as ee } from "./useI18n-DUlyyIJJ.js";
|
|
7
|
+
import { n as te } from "./usePopoverPosition-IbaW6-Ao.js";
|
|
8
|
+
import { Bt as ne, C as re, F as ie, S as ae, Tt as F, Ut as oe, _ as se, at as ce, b as le, ct as ue, ft as de, g as fe, h as pe, ot as me, st as he, u as ge, v as _e, z as ve } from "./icons-aTYwH5-g.js";
|
|
9
9
|
import { t as I } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
10
|
-
import { a as ye, n as be, o as xe, s as Se } from "./styleConstants-
|
|
11
|
-
import { c as L } from "./LogicTagInsertButton-
|
|
12
|
-
import { n as Ce, t as we } from "./withCurrentFont-
|
|
13
|
-
import { n as R, t as z } from "./RichTextEditorContent-
|
|
10
|
+
import { a as ye, n as be, o as xe, s as Se } from "./styleConstants-D1Jz-TFU.js";
|
|
11
|
+
import { c as L } from "./LogicTagInsertButton-BMB9vShs.js";
|
|
12
|
+
import { n as Ce, t as we } from "./withCurrentFont-oLcATrQ8.js";
|
|
13
|
+
import { n as R, t as z } from "./RichTextEditorContent-C4DMAn0g.js";
|
|
14
14
|
//#region src/components/blocks/EmojiPickerDropdown.vue?vue&type=script&setup=true&lang.ts
|
|
15
15
|
var B = [
|
|
16
16
|
"aria-label",
|
|
@@ -20,8 +20,8 @@ var B = [
|
|
|
20
20
|
__name: "EmojiPickerDropdown",
|
|
21
21
|
emits: ["insert"],
|
|
22
22
|
setup(e, { emit: i }) {
|
|
23
|
-
let a = i, { categories: u, isOpen: h, toggle: g, close: v } =
|
|
24
|
-
T
|
|
23
|
+
let a = i, { categories: u, isOpen: h, toggle: g, close: v } = E(), { t: x, format: S } = ee(), T = r(null), D = r(null), O = d(() => h.value);
|
|
24
|
+
w(T, O), C(D, () => {
|
|
25
25
|
h.value && v();
|
|
26
26
|
});
|
|
27
27
|
function k(e) {
|
|
@@ -29,7 +29,7 @@ var B = [
|
|
|
29
29
|
}
|
|
30
30
|
return (e, r) => (n(), f("div", {
|
|
31
31
|
ref_key: "rootRef",
|
|
32
|
-
ref:
|
|
32
|
+
ref: D,
|
|
33
33
|
class: "tpl:relative"
|
|
34
34
|
}, [_("button", {
|
|
35
35
|
type: "button",
|
|
@@ -47,7 +47,7 @@ var B = [
|
|
|
47
47
|
key: 0,
|
|
48
48
|
id: "tpl-emoji-picker",
|
|
49
49
|
ref_key: "pickerRef",
|
|
50
|
-
ref:
|
|
50
|
+
ref: T,
|
|
51
51
|
role: "dialog",
|
|
52
52
|
"aria-modal": "false",
|
|
53
53
|
"aria-label": o(x).paragraphEditor.insertEmoji,
|
|
@@ -112,26 +112,36 @@ var X = /*#__PURE__*/ I(q, [["render", Y]]), Z = [
|
|
|
112
112
|
},
|
|
113
113
|
emits: ["update:modelValue"],
|
|
114
114
|
setup(e, { emit: r }) {
|
|
115
|
-
let i = r;
|
|
116
|
-
function a(e) {
|
|
117
|
-
i("update:modelValue", e.target.value);
|
|
118
|
-
}
|
|
115
|
+
let i = e, a = r;
|
|
119
116
|
function o(e) {
|
|
120
|
-
|
|
117
|
+
a("update:modelValue", e.target.value);
|
|
121
118
|
}
|
|
122
119
|
function s(e) {
|
|
120
|
+
return typeof e == "string" ? e : e.value;
|
|
121
|
+
}
|
|
122
|
+
function c(e) {
|
|
123
123
|
return typeof e == "string" ? e : e.label;
|
|
124
124
|
}
|
|
125
|
+
let u = /* @__PURE__ */ new Set([
|
|
126
|
+
"inherit",
|
|
127
|
+
"initial",
|
|
128
|
+
"unset",
|
|
129
|
+
"revert",
|
|
130
|
+
"revert-layer"
|
|
131
|
+
]), p = d(() => u.has(i.modelValue) ? "" : i.modelValue), m = d(() => {
|
|
132
|
+
let e = p.value;
|
|
133
|
+
return e === "" || i.options.some((t) => s(t) === e) ? i.options : [e, ...i.options];
|
|
134
|
+
});
|
|
125
135
|
return (r, i) => (n(), f("select", {
|
|
126
136
|
class: l(["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"]),
|
|
127
|
-
value:
|
|
137
|
+
value: p.value,
|
|
128
138
|
"aria-label": e.label,
|
|
129
139
|
title: e.label,
|
|
130
|
-
onChange:
|
|
131
|
-
}, [_("option", Ee, b(e.placeholder ?? ""), 1), (n(!0), f(y, null, t(
|
|
132
|
-
key:
|
|
133
|
-
value:
|
|
134
|
-
}, b(
|
|
140
|
+
onChange: o
|
|
141
|
+
}, [_("option", Ee, b(e.placeholder ?? ""), 1), (n(!0), f(y, null, t(m.value, (e) => (n(), f("option", {
|
|
142
|
+
key: s(e),
|
|
143
|
+
value: s(e)
|
|
144
|
+
}, b(c(e)), 9, De))), 128))], 42, Z));
|
|
135
145
|
}
|
|
136
146
|
});
|
|
137
147
|
//#endregion
|
|
@@ -159,53 +169,56 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
159
169
|
"add-logic-tag"
|
|
160
170
|
],
|
|
161
171
|
setup(t, { emit: r }) {
|
|
162
|
-
let i = t, a = r, c = e(j, null), l = e(M, null), m = O(P, "ParagraphToolbar"), v = te(), S = e(k, null), C = e(A, null), w = e(N, null), T = d(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = ee(), D = m.fonts
|
|
163
|
-
|
|
172
|
+
let i = t, a = r, c = e(j, null), l = e(M, null), m = O(P, "ParagraphToolbar"), v = te(), S = e(k, null), C = e(A, null), w = e(N, null), T = d(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = ee(), D = m.fonts, F = xe.map((e) => ({
|
|
173
|
+
value: e,
|
|
174
|
+
label: e === "normal" ? E.paragraphEditor.letterSpacingNormal : e
|
|
175
|
+
}));
|
|
176
|
+
function I(e) {
|
|
164
177
|
i.editor?.chain().focus().insertContent(e).run();
|
|
165
178
|
}
|
|
166
|
-
function
|
|
179
|
+
function R(e) {
|
|
167
180
|
return i.editor?.getAttributes("textStyle")[e] || "";
|
|
168
181
|
}
|
|
169
|
-
function
|
|
182
|
+
function z(e) {
|
|
170
183
|
let t = i.editor?.chain().focus();
|
|
171
184
|
e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
|
|
172
185
|
}
|
|
173
|
-
function
|
|
186
|
+
function B(e) {
|
|
174
187
|
let t = i.editor?.chain().focus();
|
|
175
188
|
e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
|
|
176
189
|
}
|
|
177
|
-
function
|
|
190
|
+
function V() {
|
|
178
191
|
return i.editor?.isActive("link") ?? !1;
|
|
179
192
|
}
|
|
180
|
-
function
|
|
193
|
+
function H() {
|
|
181
194
|
return i.editor?.getAttributes("link").color || "";
|
|
182
195
|
}
|
|
183
|
-
function
|
|
196
|
+
function U(e) {
|
|
184
197
|
let t = i.editor?.chain().focus();
|
|
185
|
-
t && (
|
|
186
|
-
}
|
|
187
|
-
function U() {
|
|
188
|
-
let e = w?.content.value.settings;
|
|
189
|
-
return B() ? $(V(), e?.linkColor || e?.textColor) : $(I("color"), e?.textColor);
|
|
198
|
+
t && (V() ? (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());
|
|
190
199
|
}
|
|
191
200
|
function W() {
|
|
192
|
-
|
|
201
|
+
let e = w?.content.value.settings;
|
|
202
|
+
return V() ? $(H(), e?.linkColor || e?.textColor) : $(R("color"), e?.textColor);
|
|
193
203
|
}
|
|
194
204
|
function G() {
|
|
205
|
+
return V() ? H() : R("color");
|
|
206
|
+
}
|
|
207
|
+
function q() {
|
|
195
208
|
return i.editor?.getAttributes("paragraph").lineHeight || "";
|
|
196
209
|
}
|
|
197
|
-
function
|
|
210
|
+
function J(e) {
|
|
198
211
|
let t = i.editor?.chain().focus();
|
|
199
212
|
e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
|
|
200
213
|
}
|
|
201
|
-
function
|
|
214
|
+
function Y(e) {
|
|
202
215
|
let t = i.editor?.chain().focus();
|
|
203
216
|
e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
|
|
204
217
|
}
|
|
205
|
-
function
|
|
218
|
+
function Z() {
|
|
206
219
|
return i.editor?.getAttributes("highlight").color || "";
|
|
207
220
|
}
|
|
208
|
-
function
|
|
221
|
+
function Ee(e) {
|
|
209
222
|
let t = i.editor?.chain().focus();
|
|
210
223
|
e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
|
|
211
224
|
}
|
|
@@ -226,12 +239,12 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
226
239
|
})
|
|
227
240
|
}, [!t.isLoading && t.editor ? (n(), f(y, { key: 0 }, [_("div", ke, [
|
|
228
241
|
s(Q, {
|
|
229
|
-
"model-value": o(we)(
|
|
230
|
-
options: o(Ce)(o(D),
|
|
242
|
+
"model-value": o(we)(R("fontFamily")),
|
|
243
|
+
options: o(Ce)(o(D), R("fontFamily")),
|
|
231
244
|
label: o(E).paragraphEditor.fontFamily,
|
|
232
245
|
placeholder: o(E).paragraphEditor.defaultFont,
|
|
233
246
|
"width-class": "tpl:w-32",
|
|
234
|
-
"onUpdate:modelValue":
|
|
247
|
+
"onUpdate:modelValue": z
|
|
235
248
|
}, null, 8, [
|
|
236
249
|
"model-value",
|
|
237
250
|
"options",
|
|
@@ -239,12 +252,12 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
239
252
|
"placeholder"
|
|
240
253
|
]),
|
|
241
254
|
s(Q, {
|
|
242
|
-
"model-value":
|
|
255
|
+
"model-value": R("fontSize"),
|
|
243
256
|
options: o(ye),
|
|
244
257
|
label: o(E).paragraphEditor.fontSize,
|
|
245
258
|
placeholder: o(E).paragraphEditor.defaultSize,
|
|
246
259
|
"width-class": "tpl:w-20",
|
|
247
|
-
"onUpdate:modelValue":
|
|
260
|
+
"onUpdate:modelValue": B
|
|
248
261
|
}, null, 8, [
|
|
249
262
|
"model-value",
|
|
250
263
|
"options",
|
|
@@ -256,10 +269,10 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
256
269
|
"swatch-only": "",
|
|
257
270
|
size: "sm",
|
|
258
271
|
"data-testid": "text-color-picker",
|
|
259
|
-
"model-value":
|
|
260
|
-
"seed-color":
|
|
272
|
+
"model-value": G(),
|
|
273
|
+
"seed-color": W(),
|
|
261
274
|
"aria-label": o(E).paragraphEditor.textColor,
|
|
262
|
-
"onUpdate:modelValue":
|
|
275
|
+
"onUpdate:modelValue": U
|
|
263
276
|
}, null, 8, [
|
|
264
277
|
"model-value",
|
|
265
278
|
"seed-color",
|
|
@@ -269,10 +282,10 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
269
282
|
"swatch-only": "",
|
|
270
283
|
size: "sm",
|
|
271
284
|
"data-testid": "highlight-color-picker",
|
|
272
|
-
"model-value":
|
|
285
|
+
"model-value": Z(),
|
|
273
286
|
"seed-color": o(be),
|
|
274
287
|
"aria-label": o(E).paragraphEditor.highlightColor,
|
|
275
|
-
"onUpdate:modelValue":
|
|
288
|
+
"onUpdate:modelValue": Ee
|
|
276
289
|
}, null, 8, [
|
|
277
290
|
"model-value",
|
|
278
291
|
"seed-color",
|
|
@@ -280,7 +293,7 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
280
293
|
]),
|
|
281
294
|
s(X),
|
|
282
295
|
s(K, {
|
|
283
|
-
icon: o(
|
|
296
|
+
icon: o(oe),
|
|
284
297
|
label: o(E).paragraphEditor.bold,
|
|
285
298
|
active: t.editor.isActive("bold"),
|
|
286
299
|
"stroke-width": 2.5,
|
|
@@ -291,7 +304,7 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
291
304
|
"active"
|
|
292
305
|
]),
|
|
293
306
|
s(K, {
|
|
294
|
-
icon: o(
|
|
307
|
+
icon: o(de),
|
|
295
308
|
label: o(E).paragraphEditor.italic,
|
|
296
309
|
active: t.editor.isActive("italic"),
|
|
297
310
|
onClick: r[1] ||= (e) => t.editor.chain().focus().toggleItalic().run()
|
|
@@ -301,7 +314,7 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
301
314
|
"active"
|
|
302
315
|
]),
|
|
303
316
|
s(K, {
|
|
304
|
-
icon: o(
|
|
317
|
+
icon: o(ge),
|
|
305
318
|
label: o(E).paragraphEditor.underline,
|
|
306
319
|
active: t.editor.isActive("underline"),
|
|
307
320
|
onClick: r[2] ||= (e) => t.editor.chain().focus().toggleUnderline().run()
|
|
@@ -311,7 +324,7 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
311
324
|
"active"
|
|
312
325
|
]),
|
|
313
326
|
s(K, {
|
|
314
|
-
icon: o(
|
|
327
|
+
icon: o(re),
|
|
315
328
|
label: o(E).paragraphEditor.strikethrough,
|
|
316
329
|
active: t.editor.isActive("strike"),
|
|
317
330
|
onClick: r[3] ||= (e) => t.editor.chain().focus().toggleStrike().run()
|
|
@@ -332,7 +345,7 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
332
345
|
"active"
|
|
333
346
|
]),
|
|
334
347
|
s(K, {
|
|
335
|
-
icon: o(
|
|
348
|
+
icon: o(le),
|
|
336
349
|
label: o(E).paragraphEditor.superscript,
|
|
337
350
|
active: t.editor.isActive("superscript"),
|
|
338
351
|
onClick: r[5] ||= (e) => t.editor.chain().focus().toggleSuperscript().run()
|
|
@@ -343,7 +356,7 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
343
356
|
]),
|
|
344
357
|
s(X),
|
|
345
358
|
s(K, {
|
|
346
|
-
icon: o(
|
|
359
|
+
icon: o(ue),
|
|
347
360
|
label: o(E).paragraphEditor.addLink,
|
|
348
361
|
active: t.editor.isActive("link"),
|
|
349
362
|
onClick: r[6] ||= (e) => a("open-link-dialog")
|
|
@@ -354,7 +367,7 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
354
367
|
])
|
|
355
368
|
]), _("div", Ae, [
|
|
356
369
|
s(K, {
|
|
357
|
-
icon: o(
|
|
370
|
+
icon: o(me),
|
|
358
371
|
label: o(E).paragraphEditor.bulletList,
|
|
359
372
|
active: t.editor.isActive("bulletList"),
|
|
360
373
|
onClick: r[7] ||= (e) => t.editor.chain().focus().toggleBulletList().run()
|
|
@@ -364,7 +377,7 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
364
377
|
"active"
|
|
365
378
|
]),
|
|
366
379
|
s(K, {
|
|
367
|
-
icon: o(
|
|
380
|
+
icon: o(he),
|
|
368
381
|
label: o(E).paragraphEditor.numberedList,
|
|
369
382
|
active: t.editor.isActive("orderedList"),
|
|
370
383
|
onClick: r[8] ||= (e) => t.editor.chain().focus().toggleOrderedList().run()
|
|
@@ -375,7 +388,7 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
375
388
|
]),
|
|
376
389
|
s(X),
|
|
377
390
|
s(K, {
|
|
378
|
-
icon: o(
|
|
391
|
+
icon: o(pe),
|
|
379
392
|
label: o(E).paragraphEditor.alignLeft,
|
|
380
393
|
active: t.editor.isActive({ textAlign: "left" }),
|
|
381
394
|
onClick: r[9] ||= (e) => t.editor.chain().focus().setTextAlign("left").run()
|
|
@@ -385,7 +398,7 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
385
398
|
"active"
|
|
386
399
|
]),
|
|
387
400
|
s(K, {
|
|
388
|
-
icon: o(
|
|
401
|
+
icon: o(_e),
|
|
389
402
|
label: o(E).paragraphEditor.alignCenter,
|
|
390
403
|
active: t.editor.isActive({ textAlign: "center" }),
|
|
391
404
|
onClick: r[10] ||= (e) => t.editor.chain().focus().setTextAlign("center").run()
|
|
@@ -395,7 +408,7 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
395
408
|
"active"
|
|
396
409
|
]),
|
|
397
410
|
s(K, {
|
|
398
|
-
icon: o(
|
|
411
|
+
icon: o(se),
|
|
399
412
|
label: o(E).paragraphEditor.alignRight,
|
|
400
413
|
active: t.editor.isActive({ textAlign: "right" }),
|
|
401
414
|
onClick: r[11] ||= (e) => t.editor.chain().focus().setTextAlign("right").run()
|
|
@@ -405,7 +418,7 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
405
418
|
"active"
|
|
406
419
|
]),
|
|
407
420
|
s(K, {
|
|
408
|
-
icon: o(
|
|
421
|
+
icon: o(fe),
|
|
409
422
|
label: o(E).paragraphEditor.alignJustify,
|
|
410
423
|
active: t.editor.isActive({ textAlign: "justify" }),
|
|
411
424
|
onClick: r[12] ||= (e) => t.editor.chain().focus().setTextAlign("justify").run()
|
|
@@ -416,44 +429,46 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
416
429
|
]),
|
|
417
430
|
s(X),
|
|
418
431
|
s(Q, {
|
|
419
|
-
"model-value":
|
|
432
|
+
"model-value": q(),
|
|
420
433
|
options: o(Se),
|
|
421
434
|
label: o(E).paragraphEditor.lineHeight,
|
|
422
|
-
placeholder:
|
|
435
|
+
placeholder: o(E).paragraphEditor.lineHeightShort,
|
|
423
436
|
"width-class": "tpl:w-16",
|
|
424
|
-
"onUpdate:modelValue":
|
|
437
|
+
"onUpdate:modelValue": J
|
|
425
438
|
}, null, 8, [
|
|
426
439
|
"model-value",
|
|
427
440
|
"options",
|
|
428
|
-
"label"
|
|
441
|
+
"label",
|
|
442
|
+
"placeholder"
|
|
429
443
|
]),
|
|
430
444
|
s(Q, {
|
|
431
|
-
"model-value":
|
|
432
|
-
options: o(
|
|
445
|
+
"model-value": R("letterSpacing"),
|
|
446
|
+
options: o(F),
|
|
433
447
|
label: o(E).paragraphEditor.letterSpacing,
|
|
434
|
-
placeholder:
|
|
448
|
+
placeholder: o(E).paragraphEditor.letterSpacingShort,
|
|
435
449
|
"width-class": "tpl:w-20",
|
|
436
|
-
"onUpdate:modelValue":
|
|
450
|
+
"onUpdate:modelValue": Y
|
|
437
451
|
}, null, 8, [
|
|
438
452
|
"model-value",
|
|
439
453
|
"options",
|
|
440
|
-
"label"
|
|
454
|
+
"label",
|
|
455
|
+
"placeholder"
|
|
441
456
|
]),
|
|
442
457
|
s(X),
|
|
443
458
|
s(K, {
|
|
444
|
-
icon: o(
|
|
459
|
+
icon: o(ve),
|
|
445
460
|
label: o(E).paragraphEditor.clearFormatting,
|
|
446
461
|
onClick: r[13] ||= (e) => t.editor.chain().focus().clearNodes().unsetAllMarks().run()
|
|
447
462
|
}, null, 8, ["icon", "label"]),
|
|
448
463
|
s(X),
|
|
449
|
-
s(Te, { onInsert:
|
|
464
|
+
s(Te, { onInsert: I }),
|
|
450
465
|
t.canRequestMergeTag ? (n(), f(y, { key: 0 }, [s(X), _("button", {
|
|
451
466
|
type: "button",
|
|
452
467
|
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)]",
|
|
453
468
|
"aria-label": o(E).mergeTag.insert,
|
|
454
469
|
title: o(E).mergeTag.insert,
|
|
455
470
|
onClick: r[14] ||= (e) => a("add-merge-tag")
|
|
456
|
-
}, [s(o(
|
|
471
|
+
}, [s(o(ie), {
|
|
457
472
|
size: 16,
|
|
458
473
|
"stroke-width": 2
|
|
459
474
|
}), x(" " + b(o(E).mergeTag.insertShort), 1)], 8, je)], 64)) : p("", !0),
|
|
@@ -464,11 +479,11 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
464
479
|
title: o(E).logicTag.insert,
|
|
465
480
|
"data-testid": "insert-logic-button",
|
|
466
481
|
onClick: r[15] ||= (e) => a("add-logic-tag")
|
|
467
|
-
}, [s(o(
|
|
482
|
+
}, [s(o(ne), {
|
|
468
483
|
size: 16,
|
|
469
484
|
"stroke-width": 2
|
|
470
485
|
}), x(" " + b(o(E).logicTag.insertShort), 1)], 8, Me)], 64)) : p("", !0)
|
|
471
|
-
])], 64)) : (n(), f("div", Ne, [s(o(
|
|
486
|
+
])], 64)) : (n(), f("div", Ne, [s(o(ce), {
|
|
472
487
|
class: "tpl-spinner",
|
|
473
488
|
size: 14,
|
|
474
489
|
"stroke-width": 2
|
|
@@ -482,25 +497,25 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
482
497
|
},
|
|
483
498
|
emits: ["done"],
|
|
484
499
|
setup(t, { emit: r }) {
|
|
485
|
-
let i = t, a = r, c = te(), l = e(N, null), u = S(l?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: d, EditorContent: p, isLoading: m, initError: h, retry: g, showLinkDialog: _, linkUrl: y, linkColor: b, linkDialogRef: x, canRequestMergeTag: C, canInsertLogicTag:
|
|
500
|
+
let i = t, a = r, c = te(), l = e(N, null), u = S(l?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: d, EditorContent: p, isLoading: m, initError: h, retry: g, showLinkDialog: _, linkUrl: y, linkColor: b, linkDialogRef: x, canRequestMergeTag: C, canInsertLogicTag: w, openLinkDialog: E, insertLink: O, removeLink: k, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: M, handleAddLogicTag: P } = T({
|
|
486
501
|
blockId: () => i.block.id,
|
|
487
502
|
blockContent: () => i.block.content,
|
|
488
503
|
onDone: () => a("done"),
|
|
489
504
|
editorName: "ParagraphEditor",
|
|
490
505
|
async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
|
|
491
|
-
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:
|
|
492
|
-
import("./tiptap-
|
|
493
|
-
import("./tiptap-
|
|
494
|
-
import("./tiptap-
|
|
495
|
-
import("./tiptap-
|
|
496
|
-
import("./tiptap-
|
|
497
|
-
import("./tiptap-
|
|
498
|
-
import("./tiptap-
|
|
499
|
-
import("./tiptap-
|
|
500
|
-
import("./tiptap-
|
|
501
|
-
import("./tiptap-
|
|
502
|
-
import("./tiptap-
|
|
503
|
-
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-BPigZk5G.js").then((e) => e.i),
|
|
508
|
+
import("./tiptap-BPigZk5G.js").then((e) => e.a),
|
|
509
|
+
import("./tiptap-BPigZk5G.js").then((e) => e.u),
|
|
510
|
+
import("./tiptap-BPigZk5G.js").then((e) => e.o),
|
|
511
|
+
import("./tiptap-BPigZk5G.js").then((e) => e.l),
|
|
512
|
+
import("./tiptap-BPigZk5G.js").then((e) => e.c),
|
|
513
|
+
import("./tiptap-BPigZk5G.js").then((e) => e.s),
|
|
514
|
+
import("./tiptap-BPigZk5G.js").then((e) => e.m),
|
|
515
|
+
import("./tiptap-BPigZk5G.js").then((e) => e.p),
|
|
516
|
+
import("./tiptap-BPigZk5G.js").then((e) => e.f),
|
|
517
|
+
import("./tiptap-BPigZk5G.js").then((e) => e.d),
|
|
518
|
+
import("./extensions-hJ9VqzDc.js")
|
|
504
519
|
]);
|
|
505
520
|
return {
|
|
506
521
|
TiptapEditor: a,
|
|
@@ -517,7 +532,7 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
517
532
|
d,
|
|
518
533
|
f,
|
|
519
534
|
p,
|
|
520
|
-
|
|
535
|
+
D(l).configure({
|
|
521
536
|
openOnClick: !1,
|
|
522
537
|
HTMLAttributes: {
|
|
523
538
|
target: "_blank",
|
|
@@ -534,13 +549,13 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
534
549
|
v.configure({ multicolor: !0 }),
|
|
535
550
|
S,
|
|
536
551
|
C,
|
|
537
|
-
|
|
552
|
+
w,
|
|
538
553
|
y.configure({
|
|
539
554
|
mergeTags: () => e.value,
|
|
540
555
|
syntax: t
|
|
541
556
|
}),
|
|
542
557
|
x.configure({ syntax: t }),
|
|
543
|
-
|
|
558
|
+
T,
|
|
544
559
|
...r && n && e.value.length > 0 ? [b.configure({
|
|
545
560
|
mergeTags: () => e.value,
|
|
546
561
|
char: n,
|
|
@@ -557,8 +572,8 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
557
572
|
"toolbar-position": t.toolbarPosition,
|
|
558
573
|
"is-loading": o(m),
|
|
559
574
|
"can-request-merge-tag": o(C),
|
|
560
|
-
"can-insert-logic-tag": o(
|
|
561
|
-
onOpenLinkDialog: o(
|
|
575
|
+
"can-insert-logic-tag": o(w),
|
|
576
|
+
onOpenLinkDialog: o(E),
|
|
562
577
|
onAddMergeTag: o(M),
|
|
563
578
|
onAddLogicTag: o(P)
|
|
564
579
|
}, null, 8, [
|
|
@@ -614,4 +629,4 @@ var Oe = ["data-tpl-theme", "aria-label"], ke = { class: "tpl:flex tpl:items-cen
|
|
|
614
629
|
//#endregion
|
|
615
630
|
export { Ie as default };
|
|
616
631
|
|
|
617
|
-
//# sourceMappingURL=ParagraphEditor-
|
|
632
|
+
//# sourceMappingURL=ParagraphEditor-D4aq9eeC.js.map
|