@templatical/editor 0.47.0 → 0.49.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/README.md +1 -1
- package/dist/{AiChatSidebar-BPOv5Ra8.js → AiChatSidebar-CdjTb9ej.js} +14 -14
- package/dist/{AiFeatureMenu-H_WT4YR8.js → AiFeatureMenu-DKm7VYCs.js} +7 -7
- package/dist/{BlockIssueBadge-AgO5abEB.js → BlockIssueBadge-BdpJwim0.js} +5 -5
- package/dist/BlockPreviewCanvas-D_sowkf0.js +141 -0
- package/dist/CloudHeaderExtras-CI8RR9hG.js +55 -0
- package/dist/{CloudPanels-H_GdbOfZ.js → CloudPanels-1hwFiJ0G.js} +39 -68
- package/dist/CollaborationNotices-BWpKzueF.js +73 -0
- package/dist/CollaboratorBar-D87phJsw.js +123 -0
- package/dist/{CommentsPanel-CMgsG_yh.js → CommentsPanel-BUvUzO3T.js} +2 -2
- package/dist/{CommentsSidebar-DCh8DTP8.js → CommentsSidebar-J65znlrH.js} +14 -14
- package/dist/{CountdownBlock-zx39Dyby.js → CountdownBlock-DPQXWRvU.js} +4 -4
- package/dist/{CountdownToolbar-DVuucA3v.js → CountdownToolbar-CLMIwfK7.js} +7 -7
- package/dist/{DesignReferenceSidebar-DxNV4lQp.js → DesignReferenceSidebar-BTwCFgz8.js} +13 -13
- package/dist/{IssuesPanel-CUpW54P4.js → IssuesPanel-DeeVsfG7.js} +8 -8
- package/dist/{LoadingTrack-6XsqodoY.js → LoadingTrack-BXOptf5g.js} +1 -1
- package/dist/{LogicTagInsertButton-DDYKnqmj.js → LogicTagInsertButton-CR5E4jSG.js} +17 -17
- package/dist/{MediaEditModal-D_we0Scr.js → MediaEditModal-C_wxoUMG.js} +3 -3
- package/dist/{MediaPanels-L95BwWV1.js → MediaPanels-BVXDkqtH.js} +2 -2
- package/dist/{MergeTagInput-DAL998tx.js → MergeTagInput-BEw_r0PJ.js} +3 -3
- package/dist/{MergeTagModeToggle-CjHO26rb.js → MergeTagModeToggle-CJTpFmVd.js} +7 -7
- package/dist/{ParagraphEditor-CcEN1N6n.js → ParagraphEditor-zLV44z-R.js} +135 -135
- package/dist/{RestoreVersionDialog-B2OH5rgs.js → RestoreVersionDialog-BaDpy3cL.js} +6 -6
- package/dist/{RichTextEditorContent-BGeTg-QL.js → RichTextEditorContent-CsvniFlI.js} +9 -9
- package/dist/{SaveBlockDialog-CCVyU-7y.js → SaveBlockDialog-DzWURF_e.js} +34 -35
- package/dist/{SavedBlocksBrowserModal-_WmSeqIh.js → SavedBlocksBrowserModal-B8DCFW7t.js} +14 -14
- package/dist/{SavedBlocksPanels-DVX_ruQ7.js → SavedBlocksPanels-B3Af8ns2.js} +2 -2
- package/dist/{SavedBlocksPickBar-DVJC28hP.js → SavedBlocksPickBar-Dj11-Lqp.js} +5 -5
- package/dist/{TemplateScoringPanel-U0QFiwdI.js → TemplateScoringPanel-Ba9sgvjS.js} +16 -16
- package/dist/{TemplateSettings-CdhTm9JQ.js → TemplateSettings-Cu5X9DgA.js} +11 -11
- package/dist/{TestEmailModal-BqToA_ls.js → TestEmailModal-BeRYV3eg.js} +14 -14
- package/dist/{TestEmailPanel-Cn4Ptq0j.js → TestEmailPanel-B8c3fQi2.js} +2 -2
- package/dist/{TitleEditor-CZdqeltH.js → TitleEditor-CvpNUoAp.js} +13 -13
- package/dist/{ToggleSwitch-BR8Sgzib.js → ToggleSwitch-DHweVJOr.js} +2 -2
- package/dist/Toolbar-BadDSkkF.js +3153 -0
- package/dist/{TplModal-CoczSDma.js → TplModal-BZgi9Tes.js} +5 -5
- package/dist/{VersionHistoryMenu-DY5z5FZr.js → VersionHistoryMenu-BRlcQ8wX.js} +10 -10
- package/dist/{VersionHistoryPanels-DowHeDAQ.js → VersionHistoryPanels-DGkllN3a.js} +2 -2
- package/dist/{VersionPreviewBanner-Bo8NxBbh.js → VersionPreviewBanner-F-811aps.js} +4 -4
- package/dist/WrapperBlock-DiiaxpMb.js +45 -0
- package/dist/{blockTypeIcons-4E1U8f99.js → blockTypeIcons-CayLluou.js} +49 -19
- package/dist/bundle-stats.json +7 -7
- package/dist/{ca-DMoGGP9L.js → ca-DSJwJ5ov.js} +40 -2
- package/dist/cdn/chunks/{AiChatSidebar-B72rI0be.js → AiChatSidebar-yXJ85Zcg.js} +12 -12
- package/dist/cdn/chunks/{AiChatSidebar-B72rI0be.js.map → AiChatSidebar-yXJ85Zcg.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-BqSG9iEd.js → AiFeatureMenu-4ydjrhsQ.js} +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-BqSG9iEd.js.map → AiFeatureMenu-4ydjrhsQ.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-CS7ytN-z.js → BlockIssueBadge-D1VBS_6x.js} +5 -5
- package/dist/cdn/chunks/{BlockIssueBadge-CS7ytN-z.js.map → BlockIssueBadge-D1VBS_6x.js.map} +1 -1
- package/dist/cdn/chunks/BlockPreviewCanvas-m2tWRyWv.js +143 -0
- package/dist/cdn/chunks/BlockPreviewCanvas-m2tWRyWv.js.map +1 -0
- package/dist/cdn/chunks/{CloudHeaderExtras-DJXLTUHc.js → CloudHeaderExtras-DEkRww7n.js} +16 -20
- package/dist/cdn/chunks/CloudHeaderExtras-DEkRww7n.js.map +1 -0
- package/dist/cdn/chunks/{CloudPanels-D1fPLjG8.js → CloudPanels-XufhBZYF.js} +38 -67
- package/dist/cdn/chunks/CloudPanels-XufhBZYF.js.map +1 -0
- package/dist/cdn/chunks/CollaborationNotices-CBvKEj1Q.js +75 -0
- package/dist/cdn/chunks/CollaborationNotices-CBvKEj1Q.js.map +1 -0
- package/dist/cdn/chunks/CollaboratorBar-DWW54Bn_.js +72 -0
- package/dist/cdn/chunks/CollaboratorBar-DWW54Bn_.js.map +1 -0
- package/dist/cdn/chunks/{CommentsPanel-CmxPylNf.js → CommentsPanel-R8YLLO3v.js} +3 -3
- package/dist/cdn/chunks/{CommentsPanel-CmxPylNf.js.map → CommentsPanel-R8YLLO3v.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-CrleQTbo.js → CommentsSidebar-96NZHVq3.js} +16 -16
- package/dist/cdn/chunks/{CommentsSidebar-CrleQTbo.js.map → CommentsSidebar-96NZHVq3.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-Dasj191h.js → CountdownBlock-DB4JNdqh.js} +5 -5
- package/dist/cdn/chunks/{CountdownBlock-Dasj191h.js.map → CountdownBlock-DB4JNdqh.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-DPIOtlN0.js → CountdownToolbar-tmiTPEXm.js} +8 -8
- package/dist/cdn/chunks/{CountdownToolbar-DPIOtlN0.js.map → CountdownToolbar-tmiTPEXm.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-BgTNqgCy.js → DesignReferenceSidebar-D14IIu_P.js} +40 -40
- package/dist/cdn/chunks/{DesignReferenceSidebar-BgTNqgCy.js.map → DesignReferenceSidebar-D14IIu_P.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-BGjLcNpQ.js → IssuesPanel-BoPiCLGc.js} +6 -6
- package/dist/cdn/chunks/{IssuesPanel-BGjLcNpQ.js.map → IssuesPanel-BoPiCLGc.js.map} +1 -1
- package/dist/cdn/chunks/{LoadingTrack-DbH97JR9.js → LoadingTrack-YU44CM8X.js} +2 -2
- package/dist/cdn/chunks/{LoadingTrack-DbH97JR9.js.map → LoadingTrack-YU44CM8X.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-BEsqPhMr.js → LogicTagInsertButton-BJ2t2vxC.js} +98 -98
- package/dist/cdn/chunks/{LogicTagInsertButton-BEsqPhMr.js.map → LogicTagInsertButton-BJ2t2vxC.js.map} +1 -1
- package/dist/cdn/chunks/{MediaEditModal-C1Ao0i2c.js → MediaEditModal-DD0SZ-S3.js} +3 -3
- package/dist/cdn/chunks/{MediaEditModal-C1Ao0i2c.js.map → MediaEditModal-DD0SZ-S3.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-1GPYiZZ0.js → MediaPanels-CkdJ_kGp.js} +3 -3
- package/dist/cdn/chunks/{MediaPanels-1GPYiZZ0.js.map → MediaPanels-CkdJ_kGp.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-Dy13_OLc.js → MergeTagInput-7wXX71DH.js} +4 -4
- package/dist/cdn/chunks/{MergeTagInput-Dy13_OLc.js.map → MergeTagInput-7wXX71DH.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-B2CPZOeF.js → MergeTagModeToggle-r9vHH4u_.js} +6 -6
- package/dist/cdn/chunks/{MergeTagModeToggle-B2CPZOeF.js.map → MergeTagModeToggle-r9vHH4u_.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-BGLIw7kg.js → ParagraphEditor-CJQjRHXV.js} +52 -52
- package/dist/cdn/chunks/{ParagraphEditor-BGLIw7kg.js.map → ParagraphEditor-CJQjRHXV.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-BhykE8En.js → RestoreVersionDialog-C5cxBRKi.js} +8 -8
- package/dist/cdn/chunks/{RestoreVersionDialog-BhykE8En.js.map → RestoreVersionDialog-C5cxBRKi.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-B-txUvPL.js → RichTextEditorContent-BfE7Bkge.js} +8 -8
- package/dist/cdn/chunks/{RichTextEditorContent-B-txUvPL.js.map → RichTextEditorContent-BfE7Bkge.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-BHqEp7jw.js → SaveBlockDialog-BKbjUnPM.js} +25 -26
- package/dist/cdn/chunks/{SaveBlockDialog-BHqEp7jw.js.map → SaveBlockDialog-BKbjUnPM.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BhR6AI0f.js → SavedBlocksBrowserModal-BMtyUrUP.js} +10 -10
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BhR6AI0f.js.map → SavedBlocksBrowserModal-BMtyUrUP.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-YwffJtfY.js → SavedBlocksPanels-s_gxi1im.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPanels-YwffJtfY.js.map → SavedBlocksPanels-s_gxi1im.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-BtpFU7es.js → SavedBlocksPickBar-B8WHk5mI.js} +6 -6
- package/dist/cdn/chunks/{SavedBlocksPickBar-BtpFU7es.js.map → SavedBlocksPickBar-B8WHk5mI.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-N4ySFh5w.js → TemplateScoringPanel-BBPnHILC.js} +10 -10
- package/dist/cdn/chunks/{TemplateScoringPanel-N4ySFh5w.js.map → TemplateScoringPanel-BBPnHILC.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-C7b5X34U.js → TemplateSettings-CtrzzQWl.js} +14 -14
- package/dist/cdn/chunks/{TemplateSettings-C7b5X34U.js.map → TemplateSettings-CtrzzQWl.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-DHJKI5y5.js → TestEmailModal-DuZKYMWD.js} +15 -15
- package/dist/cdn/chunks/{TestEmailModal-DHJKI5y5.js.map → TestEmailModal-DuZKYMWD.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-lYtzTXpR.js → TestEmailPanel-DERaCdpG.js} +3 -3
- package/dist/cdn/chunks/{TestEmailPanel-lYtzTXpR.js.map → TestEmailPanel-DERaCdpG.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-5eY01ypW.js → TitleEditor-CEgxjtUX.js} +20 -20
- package/dist/cdn/chunks/{TitleEditor-5eY01ypW.js.map → TitleEditor-CEgxjtUX.js.map} +1 -1
- package/dist/cdn/chunks/{ToggleSwitch-BN8rMC2m.js → ToggleSwitch-DGQ7iRc-.js} +3 -3
- package/dist/cdn/chunks/{ToggleSwitch-BN8rMC2m.js.map → ToggleSwitch-DGQ7iRc-.js.map} +1 -1
- package/dist/cdn/chunks/Toolbar-GFIZQHzw.js +3070 -0
- package/dist/cdn/chunks/Toolbar-GFIZQHzw.js.map +1 -0
- package/dist/cdn/chunks/{TplModal-WIBiBrGy.js → TplModal-DDrbWJcE.js} +5 -5
- package/dist/cdn/chunks/{TplModal-WIBiBrGy.js.map → TplModal-DDrbWJcE.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-CZnlS9K5.js → VersionHistoryMenu-MlxsUmuT.js} +11 -11
- package/dist/cdn/chunks/{VersionHistoryMenu-CZnlS9K5.js.map → VersionHistoryMenu-MlxsUmuT.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-xjLSpR1e.js → VersionHistoryPanels-DVOV8QLv.js} +3 -3
- package/dist/cdn/chunks/{VersionHistoryPanels-xjLSpR1e.js.map → VersionHistoryPanels-DVOV8QLv.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-sARpn4hh.js → VersionPreviewBanner-BQwRKc6S.js} +5 -5
- package/dist/cdn/chunks/{VersionPreviewBanner-sARpn4hh.js.map → VersionPreviewBanner-BQwRKc6S.js.map} +1 -1
- package/dist/cdn/chunks/WrapperBlock-CFuP4R0c.js +47 -0
- package/dist/cdn/chunks/WrapperBlock-CFuP4R0c.js.map +1 -0
- package/dist/cdn/chunks/blockTypeIcons-BnAd8qsP.js +22 -0
- package/dist/cdn/chunks/blockTypeIcons-BnAd8qsP.js.map +1 -0
- package/dist/cdn/chunks/{ca-DMoGGP9L.js → ca-DSJwJ5ov.js} +41 -3
- package/dist/cdn/chunks/ca-DSJwJ5ov.js.map +1 -0
- package/dist/{cloud-DwjaAdwK.js → cdn/chunks/cloud-CI_fgDyy.js} +116 -293
- package/dist/cdn/chunks/cloud-CI_fgDyy.js.map +1 -0
- package/dist/cdn/chunks/{createCloudRuntime-DtIZ2Lee.js → createCloudRuntime-DiYCJ21w.js} +127 -169
- package/dist/cdn/chunks/createCloudRuntime-DiYCJ21w.js.map +1 -0
- package/dist/{de-DgAelLbM.js → cdn/chunks/de-CBE6O79z.js} +42 -2
- package/dist/cdn/chunks/de-CBE6O79z.js.map +1 -0
- package/dist/{de-mMY5yQJu.js → cdn/chunks/de-D_atmUVB.js} +2 -4
- package/dist/cdn/chunks/{de-mMY5yQJu.js.map → de-D_atmUVB.js.map} +1 -1
- package/dist/cdn/chunks/{dist-MNQYSEWU.js → dist-DdwjXLme.js} +3 -3
- package/dist/cdn/chunks/{dist-MNQYSEWU.js.map → dist-DdwjXLme.js.map} +1 -1
- package/dist/cdn/chunks/{dist-CjL6JHML.js → dist-Doy3r07H.js} +2 -2
- package/dist/cdn/chunks/{dist-CjL6JHML.js.map → dist-Doy3r07H.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-DrsNwZuB.js → draggable-akeQH_JP.js} +1682 -1683
- package/dist/cdn/chunks/draggable-akeQH_JP.js.map +1 -0
- package/dist/cdn/chunks/{editor-modal-Bcwo0orC.js → editor-modal-HJBy9kLj.js} +69 -69
- package/dist/cdn/chunks/{editor-modal-Bcwo0orC.js.map → editor-modal-HJBy9kLj.js.map} +1 -1
- package/dist/cdn/chunks/{en-Dekrl7HA.js → en-CDexnk0p.js} +41 -3
- package/dist/cdn/chunks/en-CDexnk0p.js.map +1 -0
- package/dist/{en-ChVeGQBY.js → cdn/chunks/en-DhJLnaBx.js} +2 -4
- package/dist/cdn/chunks/en-DhJLnaBx.js.map +1 -0
- package/dist/cdn/chunks/en-Ve-PWSXu.js +1 -0
- package/dist/{es-BaZzyidV.js → cdn/chunks/es-BE42B6uN.js} +42 -2
- package/dist/cdn/chunks/es-BE42B6uN.js.map +1 -0
- package/dist/cdn/chunks/{extensions-T-t8MKDb.js → extensions-koOuDeZS.js} +23 -23
- package/dist/cdn/chunks/{extensions-T-t8MKDb.js.map → extensions-koOuDeZS.js.map} +1 -1
- package/dist/{fr-C5ucb1HK.js → cdn/chunks/fr-DlJFPDQR.js} +42 -2
- package/dist/cdn/chunks/fr-DlJFPDQR.js.map +1 -0
- package/dist/cdn/chunks/{icons-C4fX9Bwy.js → icons-CjlNV8xD.js} +121 -92
- package/dist/cdn/chunks/icons-CjlNV8xD.js.map +1 -0
- package/dist/{ja-CUgR3mV0.js → cdn/chunks/ja-CUT8gkNI.js} +42 -2
- package/dist/cdn/chunks/ja-CUT8gkNI.js.map +1 -0
- package/dist/cdn/chunks/{keys-HI-INbkz.js → keys-UAWhQ3zW.js} +2 -2
- package/dist/cdn/chunks/{keys-HI-INbkz.js.map → keys-UAWhQ3zW.js.map} +1 -1
- package/dist/{nl-qrLY7hMS.js → cdn/chunks/nl-bXWqqRyS.js} +42 -2
- package/dist/cdn/chunks/nl-bXWqqRyS.js.map +1 -0
- package/dist/cdn/chunks/{preRenderCustomBlocks-Co0oi0Jf.js → preRenderCustomBlocks-DqKbdTJ8.js} +5 -5
- package/dist/cdn/chunks/{preRenderCustomBlocks-Co0oi0Jf.js.map → preRenderCustomBlocks-DqKbdTJ8.js.map} +1 -1
- package/dist/{pt-BR-C6hMTQYi.js → cdn/chunks/pt-BR-2_H4-wlb.js} +42 -2
- package/dist/cdn/chunks/pt-BR-2_H4-wlb.js.map +1 -0
- package/dist/{pt-BR-CoCwRUi0.js → cdn/chunks/pt-BR-BphMoUTw.js} +2 -4
- package/dist/cdn/chunks/{pt-BR-CoCwRUi0.js.map → pt-BR-BphMoUTw.js.map} +1 -1
- package/dist/cdn/chunks/{pusher-C8DeiO2X.js → pusher-Cs4GGEtd.js} +2 -2
- package/dist/cdn/chunks/pusher-Cs4GGEtd.js.map +1 -0
- package/dist/cdn/chunks/{rolldown-runtime-B0aSnxlc.js → rolldown-runtime-Y_bBpyJl.js} +1 -1
- package/dist/cdn/chunks/socialIcons-CkZSYpoG.js +2091 -0
- package/dist/cdn/chunks/socialIcons-CkZSYpoG.js.map +1 -0
- package/dist/cdn/chunks/{src-CHlVFp7r.js → src-B1e5SSYP.js} +312 -286
- package/dist/cdn/chunks/src-B1e5SSYP.js.map +1 -0
- package/dist/cdn/chunks/src-B77z1iw4.js +649 -0
- package/dist/cdn/chunks/src-B77z1iw4.js.map +1 -0
- package/dist/cdn/chunks/{src-BnJlDuyB.js → src-CvLTYGdO.js} +555 -283
- package/dist/cdn/chunks/src-CvLTYGdO.js.map +1 -0
- package/dist/cdn/chunks/{styleConstants-D1Jz-TFU.js → styleConstants-v1dNKgJf.js} +2 -4
- package/dist/cdn/chunks/{styleConstants-D1Jz-TFU.js.map → styleConstants-v1dNKgJf.js.map} +1 -1
- package/dist/cdn/chunks/{timeouts-DHPZQ0G3.js → timeouts-o5Y9BuqI.js} +2 -2
- package/dist/cdn/chunks/timeouts-o5Y9BuqI.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-BPigZk5G.js → tiptap-B1RfWFzB.js} +3 -3
- package/dist/cdn/chunks/tiptap-B1RfWFzB.js.map +1 -0
- package/dist/cdn/chunks/{useAliveFlag-DCB96vzR.js → useAliveFlag-PuXh83UK.js} +2 -2
- package/dist/cdn/chunks/{useAliveFlag-DCB96vzR.js.map → useAliveFlag-PuXh83UK.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-BBF4waXO.js → useCloudI18n-kp07GQmk.js} +3 -3
- package/dist/cdn/chunks/{useCloudI18n-BBF4waXO.js.map → useCloudI18n-kp07GQmk.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-Bf2d1DKI.js → useEditorCore-DpCFvHg_.js} +758 -732
- package/dist/cdn/chunks/useEditorCore-DpCFvHg_.js.map +1 -0
- package/dist/cdn/chunks/useEditorRoot-5SBqm90x.js +10 -0
- package/dist/cdn/chunks/{useEditorRoot-CTc6O8al.js.map → useEditorRoot-5SBqm90x.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-DUlyyIJJ.js → useI18n-DEqtEgOs.js} +3 -3
- package/dist/cdn/chunks/{useI18n-DUlyyIJJ.js.map → useI18n-DEqtEgOs.js.map} +1 -1
- package/dist/cdn/chunks/{useLogicTag-3S63go4E.js → useLogicTag-X8bc5qNl.js} +4 -4
- package/dist/cdn/chunks/{useLogicTag-3S63go4E.js.map → useLogicTag-X8bc5qNl.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-BQtxUHq1.js → useMergeTag-DFoOexIQ.js} +6 -6
- package/dist/cdn/chunks/{useMergeTag-BQtxUHq1.js.map → useMergeTag-DFoOexIQ.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-IbaW6-Ao.js → usePopoverPosition-Cz9-XiXR.js} +3 -3
- package/dist/cdn/chunks/{usePopoverPosition-IbaW6-Ao.js.map → usePopoverPosition-Cz9-XiXR.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-uUa601I4.js → useScrollToBlock-MNzurEZV.js} +3 -3
- package/dist/cdn/chunks/{useScrollToBlock-uUa601I4.js.map → useScrollToBlock-MNzurEZV.js.map} +1 -1
- package/dist/cdn/chunks/{withCurrentFont-DwJd-lKc.js → withCurrentFont-D-f61ghC.js} +2 -2
- package/dist/cdn/chunks/{withCurrentFont-DwJd-lKc.js.map → withCurrentFont-D-f61ghC.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +1328 -1069
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-B5R4zXr7.js → check-DQQzkmIC.js} +1 -1
- package/dist/{chevron-down-BKyl85NV.js → chevron-down-CIF4bdon.js} +1 -1
- package/dist/{chevron-right-BmToZ8qX.js → chevron-right-Cg7Xu-ev.js} +1 -1
- package/dist/{chevron-up-DNYdOxPC.js → chevron-up-Csu7ISD-.js} +1 -1
- package/dist/{circle-alert-Dx9ju3YZ.js → circle-alert-YUvIJAgY.js} +1 -1
- package/dist/{clock-Dv9bxsSH.js → clock-CnSIGKQW.js} +1 -1
- package/dist/{cdn/chunks/cloud-Cd7ptfhL.js → cloud-YUYDtdHt.js} +308 -569
- package/dist/{copy-BsKl4dcy.js → copy-CUC43md_.js} +1 -1
- package/dist/{createCloudRuntime-C8gpPsSi.js → createCloudRuntime-BMDRjL0k.js} +126 -168
- package/dist/{createLucideIcon-DziKp5iU.js → createLucideIcon-BcP1sjdp.js} +6 -6
- package/dist/{cdn/chunks/de-DgAelLbM.js → de-CBE6O79z.js} +40 -4
- package/dist/{cdn/chunks/de-mMY5yQJu.js → de-D_atmUVB.js} +0 -6
- package/dist/{dist-CUWI-IvA.js → dist-Bv_GBr2l.js} +1 -1
- package/dist/{dist-DAAJogrx.js → dist-CCqn-RqE.js} +2 -2
- package/dist/{dist-DuufrR8O.js → dist-CNqjHA8e.js} +2 -2
- package/dist/{dist-C8koXLhl.js → dist-DBG3nh3k.js} +550 -284
- package/dist/{editor-modal-BwyIUnV_.js → editor-modal--7_9A6j-.js} +27 -27
- package/dist/en-BHCMzqib.js +1 -0
- package/dist/{en-Dekrl7HA.js → en-CDexnk0p.js} +40 -2
- package/dist/{cdn/chunks/en-ChVeGQBY.js → en-DhJLnaBx.js} +0 -6
- package/dist/{cdn/chunks/es-BaZzyidV.js → es-BE42B6uN.js} +40 -4
- package/dist/{extensions-DHyKjsNZ.js → extensions-zwsZlWjH.js} +23 -23
- package/dist/{eye-DQuinb9k.js → eye-B1bua-ck.js} +1 -1
- package/dist/{cdn/chunks/fr-C5ucb1HK.js → fr-DlJFPDQR.js} +40 -4
- package/dist/{image-up-yTfLjOrj.js → image-up-BqiO7KCO.js} +1 -1
- package/dist/index.d.ts +356 -38
- package/dist/{info-C7OjlS11.js → info-x26nGOo2.js} +1 -1
- package/dist/{cdn/chunks/ja-CUgR3mV0.js → ja-CUT8gkNI.js} +40 -4
- package/dist/{keys-BKFq19a2.js → keys-BymCnLHD.js} +1 -1
- package/dist/{link-CrUFaZ0t.js → link-CezhndyR.js} +1 -1
- package/dist/{list-CLgv6M-k.js → list-DQqdptI0.js} +1 -1
- package/dist/{loader-circle-BXM5VO0K.js → loader-circle-DCEeoYoi.js} +1 -1
- package/dist/{message-circle-BisdQ8H9.js → message-circle-BLGzfv_7.js} +1 -1
- package/dist/{cdn/chunks/nl-qrLY7hMS.js → nl-bXWqqRyS.js} +40 -4
- package/dist/{package-C1T4AxV1.js → package-D_kEQCMU.js} +1 -1
- package/dist/{pencil-oo2mwf4C.js → pencil-Dct8zGLy.js} +1 -1
- package/dist/{plus-BIilXopD.js → plus-BDd0gTEm.js} +1 -1
- package/dist/{preRenderCustomBlocks-lFX0HHiV.js → preRenderCustomBlocks-CtKJecE-.js} +1 -1
- package/dist/{cdn/chunks/pt-BR-C6hMTQYi.js → pt-BR-2_H4-wlb.js} +40 -4
- package/dist/{cdn/chunks/pt-BR-CoCwRUi0.js → pt-BR-BphMoUTw.js} +0 -6
- package/dist/{refresh-cw-DrLlkEVC.js → refresh-cw-tGMRDxr8.js} +1 -1
- package/dist/{runtime-dom.esm-bundler-lFF-QG3j.js → runtime-dom.esm-bundler-DYn1z2Xf.js} +1 -1
- package/dist/{search-DNu9lImk.js → search-Bm2cCQpe.js} +1 -1
- package/dist/{send-DDNh3LoJ.js → send-sVLaKZ7f.js} +1 -1
- package/dist/{shield-check-aXM3o14f.js → shield-check-YhsbXfQc.js} +1 -1
- package/dist/{smartphone-isccgDee.js → smartphone-B2W81p02.js} +1 -1
- package/dist/socialIcons-Bwv-49EB.js +2167 -0
- package/dist/{sparkles-CIMfFxKv.js → sparkles-a1qkBZ8X.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{styleConstants-D1Jz-TFU.js → styleConstants-v1dNKgJf.js} +1 -3
- package/dist/templatical-editor.js +1448 -1189
- package/dist/{text-align-start-C4JFeqsq.js → text-align-start-CTuwQ5YW.js} +1 -1
- package/dist/{timeouts-DHPZQ0G3.js → timeouts-o5Y9BuqI.js} +1 -1
- package/dist/{trash-8ZD9pK_c.js → trash-I3D2peFQ.js} +1 -1
- package/dist/{triangle-alert-pq45xEHl.js → triangle-alert-CenxmLRE.js} +1 -1
- package/dist/{upload-DrNFmVes.js → upload-uU2cK0Ce.js} +1 -1
- package/dist/{useAliveFlag-Dd06mRxe.js → useAliveFlag-BjP0Gxza.js} +1 -1
- package/dist/{useCloudI18n-Nwqo7pI_.js → useCloudI18n-CGVEZV3o.js} +2 -2
- package/dist/{useEditorCore-BcT7UI4e.js → useEditorCore-DRbMRe8F.js} +1103 -1076
- package/dist/{useEditorRoot-BD3piYtD.js → useEditorRoot-BVm2-1N8.js} +2 -2
- package/dist/{useI18n-CxVEpurs.js → useI18n-CSh4gO5c.js} +2 -2
- package/dist/{useLogicTag-D-dI8H6p.js → useLogicTag-zcI6BWIf.js} +3 -3
- package/dist/{useMergeTag-5wMeDBi-.js → useMergeTag-C-iBLlp0.js} +5 -5
- package/dist/{usePopoverPosition-CwnH1o5g.js → usePopoverPosition-CMcsMBtK.js} +2 -2
- package/dist/{useScrollToBlock-Do3suaqp.js → useScrollToBlock-CdCQK9QQ.js} +3 -3
- package/dist/{vue.runtime.esm-bundler-CAzmrXdD.js → vue.runtime.esm-bundler-DV0Wx4r_.js} +1079 -1080
- package/dist/{withCurrentFont-B4YnsG_2.js → withCurrentFont-D62njRLu.js} +1 -1
- package/dist/{x-CBFKGLB1.js → x-KFQ4S-Kz.js} +1 -1
- package/package.json +12 -12
- package/dist/BlockPreviewCanvas-CZDBSPoG.js +0 -136
- package/dist/CloudHeaderExtras-gXsTYoGG.js +0 -59
- package/dist/CollaboratorBar-BazGNMqN.js +0 -103
- package/dist/Toolbar-OGakTBEg.js +0 -2851
- package/dist/WrapperBlock-BOABSX9W.js +0 -46
- package/dist/cdn/chunks/BlockPreviewCanvas-cOTMFRcg.js +0 -138
- package/dist/cdn/chunks/BlockPreviewCanvas-cOTMFRcg.js.map +0 -1
- package/dist/cdn/chunks/CloudHeaderExtras-DJXLTUHc.js.map +0 -1
- package/dist/cdn/chunks/CloudPanels-D1fPLjG8.js.map +0 -1
- package/dist/cdn/chunks/CollaboratorBar-MeRQB1eN.js +0 -52
- package/dist/cdn/chunks/CollaboratorBar-MeRQB1eN.js.map +0 -1
- package/dist/cdn/chunks/Toolbar-Ik54UO_-.js +0 -2767
- package/dist/cdn/chunks/Toolbar-Ik54UO_-.js.map +0 -1
- package/dist/cdn/chunks/WrapperBlock-fsLe7goL.js +0 -48
- package/dist/cdn/chunks/WrapperBlock-fsLe7goL.js.map +0 -1
- package/dist/cdn/chunks/blockTypeIcons-D3g5QzdT.js +0 -21
- package/dist/cdn/chunks/blockTypeIcons-D3g5QzdT.js.map +0 -1
- package/dist/cdn/chunks/ca-DMoGGP9L.js.map +0 -1
- package/dist/cdn/chunks/cloud-Cd7ptfhL.js.map +0 -1
- package/dist/cdn/chunks/createCloudRuntime-DtIZ2Lee.js.map +0 -1
- package/dist/cdn/chunks/de-DgAelLbM.js.map +0 -1
- package/dist/cdn/chunks/draggable-DrsNwZuB.js.map +0 -1
- package/dist/cdn/chunks/en-BANFWZdr.js +0 -1
- package/dist/cdn/chunks/en-ChVeGQBY.js.map +0 -1
- package/dist/cdn/chunks/en-Dekrl7HA.js.map +0 -1
- package/dist/cdn/chunks/es-BaZzyidV.js.map +0 -1
- package/dist/cdn/chunks/fr-C5ucb1HK.js.map +0 -1
- package/dist/cdn/chunks/icons-C4fX9Bwy.js.map +0 -1
- package/dist/cdn/chunks/ja-CUgR3mV0.js.map +0 -1
- package/dist/cdn/chunks/nl-qrLY7hMS.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-C6hMTQYi.js.map +0 -1
- package/dist/cdn/chunks/pusher-C8DeiO2X.js.map +0 -1
- package/dist/cdn/chunks/socialIcons-DACw1wA8.js +0 -1103
- package/dist/cdn/chunks/socialIcons-DACw1wA8.js.map +0 -1
- package/dist/cdn/chunks/src-BnJlDuyB.js.map +0 -1
- package/dist/cdn/chunks/src-Bu0qBpbf.js +0 -616
- package/dist/cdn/chunks/src-Bu0qBpbf.js.map +0 -1
- package/dist/cdn/chunks/src-CHlVFp7r.js.map +0 -1
- package/dist/cdn/chunks/timeouts-DHPZQ0G3.js.map +0 -1
- package/dist/cdn/chunks/tiptap-BPigZk5G.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-Bf2d1DKI.js.map +0 -1
- package/dist/cdn/chunks/useEditorRoot-CTc6O8al.js +0 -10
- package/dist/en-CC-57eC_.js +0 -1
- package/dist/socialIcons-BctavKBN.js +0 -1180
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { A as e, At as t, F as n, K as r, M as i, S as a, Z as o, at as s, c, d as l, g as u, h as d, i as f, jt as p, kt as m, l as h, r as g, s as _, u as v, v as y } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { c as b, s as x } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import {
|
|
4
|
-
import { t as C } from "./dist-
|
|
5
|
-
import {
|
|
6
|
-
import { $ as O, A as k, E as
|
|
7
|
-
import { t as
|
|
8
|
-
import { n as
|
|
9
|
-
import { t as
|
|
10
|
-
import { i as
|
|
11
|
-
import { c as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { n as
|
|
16
|
-
import { t as
|
|
17
|
-
import { a as
|
|
18
|
-
import { n as
|
|
19
|
-
var
|
|
1
|
+
import { A as e, At as t, F as n, K as r, M as i, S as a, Z as o, at as s, c, d as l, g as u, h as d, i as f, jt as p, kt as m, l as h, r as g, s as _, u as v, v as y } from "./vue.runtime.esm-bundler-DV0Wx4r_.js";
|
|
2
|
+
import { c as b, s as x } from "./runtime-dom.esm-bundler-DYn1z2Xf.js";
|
|
3
|
+
import { ut as S } from "./dist-DBG3nh3k.js";
|
|
4
|
+
import { t as C } from "./dist-CCqn-RqE.js";
|
|
5
|
+
import { C as w, S as T, b as E, y as D } from "./useEditorCore-DRbMRe8F.js";
|
|
6
|
+
import { $ as O, A as k, E as A, J as j, Z as M, g as N, v as P } from "./keys-BymCnLHD.js";
|
|
7
|
+
import { t as F } from "./useI18n-CSh4gO5c.js";
|
|
8
|
+
import { n as I } from "./usePopoverPosition-CMcsMBtK.js";
|
|
9
|
+
import { t as L } from "./createLucideIcon-BcP1sjdp.js";
|
|
10
|
+
import { i as ee, n as R, r as te, t as z } from "./RichTextEditorContent-CsvniFlI.js";
|
|
11
|
+
import { c as B, l as ne, u as re } from "./LogicTagInsertButton-CR5E4jSG.js";
|
|
12
|
+
import { t as ie } from "./link-CezhndyR.js";
|
|
13
|
+
import { t as ae } from "./list-DQqdptI0.js";
|
|
14
|
+
import { t as oe } from "./loader-circle-DCEeoYoi.js";
|
|
15
|
+
import { n as se, r as ce, t as le } from "./text-align-start-CTuwQ5YW.js";
|
|
16
|
+
import { t as V } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
17
|
+
import { a as ue, n as de, o as fe, s as pe } from "./styleConstants-v1dNKgJf.js";
|
|
18
|
+
import { n as me, t as he } from "./withCurrentFont-D62njRLu.js";
|
|
19
|
+
var H = L({
|
|
20
20
|
name: "face-slightly-smiling",
|
|
21
21
|
size: 24,
|
|
22
22
|
node: [
|
|
@@ -40,7 +40,7 @@ var B = F({
|
|
|
40
40
|
}]
|
|
41
41
|
],
|
|
42
42
|
aliases: ["smile"]
|
|
43
|
-
}),
|
|
43
|
+
}), ge = L({
|
|
44
44
|
name: "list-ordered",
|
|
45
45
|
size: 24,
|
|
46
46
|
node: [
|
|
@@ -69,7 +69,7 @@ var B = F({
|
|
|
69
69
|
key: "xtkcd5"
|
|
70
70
|
}]
|
|
71
71
|
]
|
|
72
|
-
}),
|
|
72
|
+
}), _e = L({
|
|
73
73
|
name: "remove-formatting",
|
|
74
74
|
size: 24,
|
|
75
75
|
node: [
|
|
@@ -94,7 +94,7 @@ var B = F({
|
|
|
94
94
|
key: "11p7ol"
|
|
95
95
|
}]
|
|
96
96
|
]
|
|
97
|
-
}),
|
|
97
|
+
}), ve = L({
|
|
98
98
|
name: "strikethrough",
|
|
99
99
|
size: 24,
|
|
100
100
|
node: [
|
|
@@ -114,7 +114,7 @@ var B = F({
|
|
|
114
114
|
key: "1e0a9i"
|
|
115
115
|
}]
|
|
116
116
|
]
|
|
117
|
-
}),
|
|
117
|
+
}), ye = L({
|
|
118
118
|
name: "subscript",
|
|
119
119
|
size: 24,
|
|
120
120
|
node: [
|
|
@@ -131,7 +131,7 @@ var B = F({
|
|
|
131
131
|
key: "e8ta8j"
|
|
132
132
|
}]
|
|
133
133
|
]
|
|
134
|
-
}),
|
|
134
|
+
}), be = L({
|
|
135
135
|
name: "superscript",
|
|
136
136
|
size: 24,
|
|
137
137
|
node: [
|
|
@@ -148,7 +148,7 @@ var B = F({
|
|
|
148
148
|
key: "1dfcux"
|
|
149
149
|
}]
|
|
150
150
|
]
|
|
151
|
-
}),
|
|
151
|
+
}), xe = L({
|
|
152
152
|
name: "text-align-justify",
|
|
153
153
|
size: 24,
|
|
154
154
|
node: [
|
|
@@ -166,7 +166,7 @@ var B = F({
|
|
|
166
166
|
}]
|
|
167
167
|
],
|
|
168
168
|
aliases: ["align-justify"]
|
|
169
|
-
}),
|
|
169
|
+
}), Se = L({
|
|
170
170
|
name: "underline",
|
|
171
171
|
size: 24,
|
|
172
172
|
node: [["path", {
|
|
@@ -179,16 +179,16 @@ var B = F({
|
|
|
179
179
|
y2: "20",
|
|
180
180
|
key: "nun2al"
|
|
181
181
|
}]]
|
|
182
|
-
}),
|
|
182
|
+
}), U = [
|
|
183
183
|
"aria-label",
|
|
184
184
|
"title",
|
|
185
185
|
"aria-expanded"
|
|
186
|
-
],
|
|
186
|
+
], W = ["aria-label"], G = { class: "tpl:mb-1.5 tpl:text-[10px] tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase" }, K = { class: "tpl:grid tpl:grid-cols-10 tpl:gap-0.5" }, q = ["aria-label", "onClick"], Ce = /* @__PURE__ */ y({
|
|
187
187
|
__name: "EmojiPickerDropdown",
|
|
188
188
|
emits: ["insert"],
|
|
189
189
|
setup(t, { emit: n }) {
|
|
190
|
-
let r = n, { categories: a, isOpen: d, toggle: f, close: h } = T(), { t: y, format: S } =
|
|
191
|
-
|
|
190
|
+
let r = n, { categories: a, isOpen: d, toggle: f, close: h } = T(), { t: y, format: S } = F(), E = o(null), D = o(null), O = _(() => d.value);
|
|
191
|
+
w(E, O), C(D, () => {
|
|
192
192
|
d.value && h();
|
|
193
193
|
});
|
|
194
194
|
function k(e) {
|
|
@@ -196,7 +196,7 @@ var B = F({
|
|
|
196
196
|
}
|
|
197
197
|
return (t, n) => (e(), l("div", {
|
|
198
198
|
ref_key: "rootRef",
|
|
199
|
-
ref:
|
|
199
|
+
ref: D,
|
|
200
200
|
class: "tpl:relative"
|
|
201
201
|
}, [c("button", {
|
|
202
202
|
type: "button",
|
|
@@ -207,14 +207,14 @@ var B = F({
|
|
|
207
207
|
"aria-haspopup": "dialog",
|
|
208
208
|
"aria-controls": "tpl-emoji-picker",
|
|
209
209
|
onClick: n[0] ||= (...e) => s(f) && s(f)(...e)
|
|
210
|
-
}, [u(s(
|
|
210
|
+
}, [u(s(H), {
|
|
211
211
|
size: 16,
|
|
212
212
|
"stroke-width": 2
|
|
213
|
-
})], 10,
|
|
213
|
+
})], 10, U), s(d) ? (e(), l("div", {
|
|
214
214
|
key: 0,
|
|
215
215
|
id: "tpl-emoji-picker",
|
|
216
216
|
ref_key: "pickerRef",
|
|
217
|
-
ref:
|
|
217
|
+
ref: E,
|
|
218
218
|
role: "dialog",
|
|
219
219
|
"aria-modal": "false",
|
|
220
220
|
"aria-label": s(y).paragraphEditor.insertEmoji,
|
|
@@ -224,19 +224,19 @@ var B = F({
|
|
|
224
224
|
}, [(e(!0), l(g, null, i(s(a), (t) => (e(), l("div", {
|
|
225
225
|
key: t.key,
|
|
226
226
|
class: "tpl:mb-2 tpl:last:mb-0"
|
|
227
|
-
}, [c("div",
|
|
227
|
+
}, [c("div", G, p(s(y).emoji[t.key]), 1), c("div", K, [(e(!0), l(g, null, i(t.emojis, (t) => (e(), l("button", {
|
|
228
228
|
key: t,
|
|
229
229
|
type: "button",
|
|
230
230
|
"aria-label": s(S)(s(y).paragraphEditor.emojiItemLabel, { emoji: t }),
|
|
231
231
|
class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border-none tpl:bg-transparent tpl:text-base tpl:transition-all tpl:hover:scale-125 tpl:hover:bg-[var(--tpl-bg-active)]",
|
|
232
232
|
onClick: (e) => k(t)
|
|
233
|
-
}, p(t), 9,
|
|
233
|
+
}, p(t), 9, q))), 128))])]))), 128))], 40, W)) : v("", !0)], 512));
|
|
234
234
|
}
|
|
235
|
-
}),
|
|
235
|
+
}), J = [
|
|
236
236
|
"aria-label",
|
|
237
237
|
"title",
|
|
238
238
|
"aria-pressed"
|
|
239
|
-
],
|
|
239
|
+
], Y = /* @__PURE__ */ y({
|
|
240
240
|
__name: "ToolbarIconButton",
|
|
241
241
|
props: {
|
|
242
242
|
icon: {},
|
|
@@ -255,16 +255,16 @@ var B = F({
|
|
|
255
255
|
}, [(e(), h(n(t.icon), {
|
|
256
256
|
size: t.size ?? 16,
|
|
257
257
|
"stroke-width": t.strokeWidth ?? 2
|
|
258
|
-
}, null, 8, ["size", "stroke-width"]))], 10,
|
|
258
|
+
}, null, 8, ["size", "stroke-width"]))], 10, J));
|
|
259
259
|
}
|
|
260
|
-
}),
|
|
260
|
+
}), X = {}, Z = {
|
|
261
261
|
class: "tpl:mx-1 tpl:h-6 tpl:w-px tpl:bg-[var(--tpl-border)]",
|
|
262
262
|
"aria-hidden": "true"
|
|
263
263
|
};
|
|
264
|
-
function
|
|
265
|
-
return e(), l("span",
|
|
264
|
+
function we(t, n) {
|
|
265
|
+
return e(), l("span", Z);
|
|
266
266
|
}
|
|
267
|
-
var
|
|
267
|
+
var Q = /*#__PURE__*/ V(X, [["render", we]]), Te = [
|
|
268
268
|
"value",
|
|
269
269
|
"aria-label",
|
|
270
270
|
"title"
|
|
@@ -308,7 +308,7 @@ var Z = /*#__PURE__*/ z(J, [["render", X]]), Q = [
|
|
|
308
308
|
}, [c("option", Ee, p(t.placeholder ?? ""), 1), (e(!0), l(g, null, i(h.value, (t) => (e(), l("option", {
|
|
309
309
|
key: s(t),
|
|
310
310
|
value: s(t)
|
|
311
|
-
}, p(u(t)), 9, De))), 128))], 42,
|
|
311
|
+
}, p(u(t)), 9, De))), 128))], 42, Te));
|
|
312
312
|
}
|
|
313
313
|
});
|
|
314
314
|
//#endregion
|
|
@@ -336,56 +336,56 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
336
336
|
"add-logic-tag"
|
|
337
337
|
],
|
|
338
338
|
setup(n, { emit: r }) {
|
|
339
|
-
let i = n, o = r, m = a(
|
|
339
|
+
let i = n, o = r, m = a(j, null), y = a(M, null), b = O(P, "ParagraphToolbar"), x = I(), S = a(k, null), C = a(A, null), w = a(N, null), T = _(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = F(), D = b.fonts, L = fe.map((e) => ({
|
|
340
340
|
value: e,
|
|
341
341
|
label: e === "normal" ? E.paragraphEditor.letterSpacingNormal : e
|
|
342
342
|
}));
|
|
343
|
-
function
|
|
343
|
+
function R(e) {
|
|
344
344
|
i.editor?.chain().focus().insertContent(e).run();
|
|
345
345
|
}
|
|
346
|
-
function
|
|
346
|
+
function z(e) {
|
|
347
347
|
return i.editor?.getAttributes("textStyle")[e] || "";
|
|
348
348
|
}
|
|
349
|
-
function
|
|
349
|
+
function V(e) {
|
|
350
350
|
let t = i.editor?.chain().focus();
|
|
351
351
|
e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function H(e) {
|
|
354
354
|
let t = i.editor?.chain().focus();
|
|
355
355
|
e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function U() {
|
|
358
358
|
return i.editor?.isActive("link") ?? !1;
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function W() {
|
|
361
361
|
return i.editor?.getAttributes("link").color || "";
|
|
362
362
|
}
|
|
363
|
-
function
|
|
363
|
+
function G(e) {
|
|
364
364
|
let t = i.editor?.chain().focus();
|
|
365
|
-
t && (
|
|
365
|
+
t && (U() ? (t.extendMarkRange("link").updateAttributes("link", { color: e || null }), e && t.unsetColor(), t.run()) : e ? t.setColor(e).updateAttributes("link", { color: e }).run() : t.unsetColor().run());
|
|
366
366
|
}
|
|
367
|
-
function
|
|
367
|
+
function K() {
|
|
368
368
|
let e = w?.content.value.settings;
|
|
369
|
-
return
|
|
369
|
+
return U() ? Oe(W(), e?.linkColor || e?.textColor) : Oe(z("color"), e?.textColor);
|
|
370
370
|
}
|
|
371
|
-
function
|
|
372
|
-
return
|
|
371
|
+
function q() {
|
|
372
|
+
return U() ? W() : z("color");
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function J() {
|
|
375
375
|
return i.editor?.getAttributes("paragraph").lineHeight || "";
|
|
376
376
|
}
|
|
377
|
-
function
|
|
377
|
+
function X(e) {
|
|
378
378
|
let t = i.editor?.chain().focus();
|
|
379
379
|
e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function Z(e) {
|
|
382
382
|
let t = i.editor?.chain().focus();
|
|
383
383
|
e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function we() {
|
|
386
386
|
return i.editor?.getAttributes("highlight").color || "";
|
|
387
387
|
}
|
|
388
|
-
function
|
|
388
|
+
function Te(e) {
|
|
389
389
|
let t = i.editor?.chain().focus();
|
|
390
390
|
e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
|
|
391
391
|
}
|
|
@@ -406,12 +406,12 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
406
406
|
})
|
|
407
407
|
}, [!n.isLoading && n.editor ? (e(), l(g, { key: 0 }, [c("div", Ae, [
|
|
408
408
|
u($, {
|
|
409
|
-
"model-value": s(
|
|
410
|
-
options: s(
|
|
409
|
+
"model-value": s(he)(z("fontFamily")),
|
|
410
|
+
options: s(me)(s(D), z("fontFamily")),
|
|
411
411
|
label: s(E).paragraphEditor.fontFamily,
|
|
412
412
|
placeholder: s(E).paragraphEditor.defaultFont,
|
|
413
413
|
"width-class": "tpl:w-32",
|
|
414
|
-
"onUpdate:modelValue":
|
|
414
|
+
"onUpdate:modelValue": V
|
|
415
415
|
}, null, 8, [
|
|
416
416
|
"model-value",
|
|
417
417
|
"options",
|
|
@@ -419,48 +419,48 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
419
419
|
"placeholder"
|
|
420
420
|
]),
|
|
421
421
|
u($, {
|
|
422
|
-
"model-value":
|
|
423
|
-
options: s(
|
|
422
|
+
"model-value": z("fontSize"),
|
|
423
|
+
options: s(ue),
|
|
424
424
|
label: s(E).paragraphEditor.fontSize,
|
|
425
425
|
placeholder: s(E).paragraphEditor.defaultSize,
|
|
426
426
|
"width-class": "tpl:w-20",
|
|
427
|
-
"onUpdate:modelValue":
|
|
427
|
+
"onUpdate:modelValue": H
|
|
428
428
|
}, null, 8, [
|
|
429
429
|
"model-value",
|
|
430
430
|
"options",
|
|
431
431
|
"label",
|
|
432
432
|
"placeholder"
|
|
433
433
|
]),
|
|
434
|
-
u(
|
|
435
|
-
u(
|
|
434
|
+
u(Q),
|
|
435
|
+
u(B, {
|
|
436
436
|
"swatch-only": "",
|
|
437
437
|
size: "sm",
|
|
438
438
|
"data-testid": "text-color-picker",
|
|
439
|
-
"model-value":
|
|
440
|
-
"seed-color":
|
|
439
|
+
"model-value": q(),
|
|
440
|
+
"seed-color": K(),
|
|
441
441
|
"aria-label": s(E).paragraphEditor.textColor,
|
|
442
|
-
"onUpdate:modelValue":
|
|
442
|
+
"onUpdate:modelValue": G
|
|
443
443
|
}, null, 8, [
|
|
444
444
|
"model-value",
|
|
445
445
|
"seed-color",
|
|
446
446
|
"aria-label"
|
|
447
447
|
]),
|
|
448
|
-
u(
|
|
448
|
+
u(B, {
|
|
449
449
|
"swatch-only": "",
|
|
450
450
|
size: "sm",
|
|
451
451
|
"data-testid": "highlight-color-picker",
|
|
452
|
-
"model-value":
|
|
453
|
-
"seed-color": s(
|
|
452
|
+
"model-value": we(),
|
|
453
|
+
"seed-color": s(de),
|
|
454
454
|
"aria-label": s(E).paragraphEditor.highlightColor,
|
|
455
|
-
"onUpdate:modelValue":
|
|
455
|
+
"onUpdate:modelValue": Te
|
|
456
456
|
}, null, 8, [
|
|
457
457
|
"model-value",
|
|
458
458
|
"seed-color",
|
|
459
459
|
"aria-label"
|
|
460
460
|
]),
|
|
461
|
-
u(
|
|
462
|
-
u(
|
|
463
|
-
icon: s(
|
|
461
|
+
u(Q),
|
|
462
|
+
u(Y, {
|
|
463
|
+
icon: s(ee),
|
|
464
464
|
label: s(E).paragraphEditor.bold,
|
|
465
465
|
active: n.editor.isActive("bold"),
|
|
466
466
|
"stroke-width": 2.5,
|
|
@@ -470,8 +470,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
470
470
|
"label",
|
|
471
471
|
"active"
|
|
472
472
|
]),
|
|
473
|
-
u(
|
|
474
|
-
icon: s(
|
|
473
|
+
u(Y, {
|
|
474
|
+
icon: s(te),
|
|
475
475
|
label: s(E).paragraphEditor.italic,
|
|
476
476
|
active: n.editor.isActive("italic"),
|
|
477
477
|
onClick: i[1] ||= (e) => n.editor.chain().focus().toggleItalic().run()
|
|
@@ -480,8 +480,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
480
480
|
"label",
|
|
481
481
|
"active"
|
|
482
482
|
]),
|
|
483
|
-
u(
|
|
484
|
-
icon: s(
|
|
483
|
+
u(Y, {
|
|
484
|
+
icon: s(Se),
|
|
485
485
|
label: s(E).paragraphEditor.underline,
|
|
486
486
|
active: n.editor.isActive("underline"),
|
|
487
487
|
onClick: i[2] ||= (e) => n.editor.chain().focus().toggleUnderline().run()
|
|
@@ -490,8 +490,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
490
490
|
"label",
|
|
491
491
|
"active"
|
|
492
492
|
]),
|
|
493
|
-
u(
|
|
494
|
-
icon: s(
|
|
493
|
+
u(Y, {
|
|
494
|
+
icon: s(ve),
|
|
495
495
|
label: s(E).paragraphEditor.strikethrough,
|
|
496
496
|
active: n.editor.isActive("strike"),
|
|
497
497
|
onClick: i[3] ||= (e) => n.editor.chain().focus().toggleStrike().run()
|
|
@@ -500,9 +500,9 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
500
500
|
"label",
|
|
501
501
|
"active"
|
|
502
502
|
]),
|
|
503
|
-
u(
|
|
504
|
-
u(
|
|
505
|
-
icon: s(
|
|
503
|
+
u(Q),
|
|
504
|
+
u(Y, {
|
|
505
|
+
icon: s(ye),
|
|
506
506
|
label: s(E).paragraphEditor.subscript,
|
|
507
507
|
active: n.editor.isActive("subscript"),
|
|
508
508
|
onClick: i[4] ||= (e) => n.editor.chain().focus().toggleSubscript().run()
|
|
@@ -511,8 +511,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
511
511
|
"label",
|
|
512
512
|
"active"
|
|
513
513
|
]),
|
|
514
|
-
u(
|
|
515
|
-
icon: s(
|
|
514
|
+
u(Y, {
|
|
515
|
+
icon: s(be),
|
|
516
516
|
label: s(E).paragraphEditor.superscript,
|
|
517
517
|
active: n.editor.isActive("superscript"),
|
|
518
518
|
onClick: i[5] ||= (e) => n.editor.chain().focus().toggleSuperscript().run()
|
|
@@ -521,9 +521,9 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
521
521
|
"label",
|
|
522
522
|
"active"
|
|
523
523
|
]),
|
|
524
|
-
u(
|
|
525
|
-
u(
|
|
526
|
-
icon: s(
|
|
524
|
+
u(Q),
|
|
525
|
+
u(Y, {
|
|
526
|
+
icon: s(ie),
|
|
527
527
|
label: s(E).paragraphEditor.addLink,
|
|
528
528
|
active: n.editor.isActive("link"),
|
|
529
529
|
onClick: i[6] ||= (e) => o("open-link-dialog")
|
|
@@ -533,8 +533,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
533
533
|
"active"
|
|
534
534
|
])
|
|
535
535
|
]), c("div", je, [
|
|
536
|
-
u(
|
|
537
|
-
icon: s(
|
|
536
|
+
u(Y, {
|
|
537
|
+
icon: s(ae),
|
|
538
538
|
label: s(E).paragraphEditor.bulletList,
|
|
539
539
|
active: n.editor.isActive("bulletList"),
|
|
540
540
|
onClick: i[7] ||= (e) => n.editor.chain().focus().toggleBulletList().run()
|
|
@@ -543,8 +543,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
543
543
|
"label",
|
|
544
544
|
"active"
|
|
545
545
|
]),
|
|
546
|
-
u(
|
|
547
|
-
icon: s(
|
|
546
|
+
u(Y, {
|
|
547
|
+
icon: s(ge),
|
|
548
548
|
label: s(E).paragraphEditor.numberedList,
|
|
549
549
|
active: n.editor.isActive("orderedList"),
|
|
550
550
|
onClick: i[8] ||= (e) => n.editor.chain().focus().toggleOrderedList().run()
|
|
@@ -553,9 +553,9 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
553
553
|
"label",
|
|
554
554
|
"active"
|
|
555
555
|
]),
|
|
556
|
-
u(
|
|
557
|
-
u(
|
|
558
|
-
icon: s(
|
|
556
|
+
u(Q),
|
|
557
|
+
u(Y, {
|
|
558
|
+
icon: s(le),
|
|
559
559
|
label: s(E).paragraphEditor.alignLeft,
|
|
560
560
|
active: n.editor.isActive({ textAlign: "left" }),
|
|
561
561
|
onClick: i[9] ||= (e) => n.editor.chain().focus().setTextAlign("left").run()
|
|
@@ -564,8 +564,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
564
564
|
"label",
|
|
565
565
|
"active"
|
|
566
566
|
]),
|
|
567
|
-
u(
|
|
568
|
-
icon: s(
|
|
567
|
+
u(Y, {
|
|
568
|
+
icon: s(ce),
|
|
569
569
|
label: s(E).paragraphEditor.alignCenter,
|
|
570
570
|
active: n.editor.isActive({ textAlign: "center" }),
|
|
571
571
|
onClick: i[10] ||= (e) => n.editor.chain().focus().setTextAlign("center").run()
|
|
@@ -574,8 +574,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
574
574
|
"label",
|
|
575
575
|
"active"
|
|
576
576
|
]),
|
|
577
|
-
u(
|
|
578
|
-
icon: s(
|
|
577
|
+
u(Y, {
|
|
578
|
+
icon: s(se),
|
|
579
579
|
label: s(E).paragraphEditor.alignRight,
|
|
580
580
|
active: n.editor.isActive({ textAlign: "right" }),
|
|
581
581
|
onClick: i[11] ||= (e) => n.editor.chain().focus().setTextAlign("right").run()
|
|
@@ -584,8 +584,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
584
584
|
"label",
|
|
585
585
|
"active"
|
|
586
586
|
]),
|
|
587
|
-
u(
|
|
588
|
-
icon: s(
|
|
587
|
+
u(Y, {
|
|
588
|
+
icon: s(xe),
|
|
589
589
|
label: s(E).paragraphEditor.alignJustify,
|
|
590
590
|
active: n.editor.isActive({ textAlign: "justify" }),
|
|
591
591
|
onClick: i[12] ||= (e) => n.editor.chain().focus().setTextAlign("justify").run()
|
|
@@ -594,14 +594,14 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
594
594
|
"label",
|
|
595
595
|
"active"
|
|
596
596
|
]),
|
|
597
|
-
u(
|
|
597
|
+
u(Q),
|
|
598
598
|
u($, {
|
|
599
|
-
"model-value":
|
|
600
|
-
options: s(
|
|
599
|
+
"model-value": J(),
|
|
600
|
+
options: s(pe),
|
|
601
601
|
label: s(E).paragraphEditor.lineHeight,
|
|
602
602
|
placeholder: s(E).paragraphEditor.lineHeightShort,
|
|
603
603
|
"width-class": "tpl:w-16",
|
|
604
|
-
"onUpdate:modelValue":
|
|
604
|
+
"onUpdate:modelValue": X
|
|
605
605
|
}, null, 8, [
|
|
606
606
|
"model-value",
|
|
607
607
|
"options",
|
|
@@ -609,48 +609,48 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
609
609
|
"placeholder"
|
|
610
610
|
]),
|
|
611
611
|
u($, {
|
|
612
|
-
"model-value":
|
|
613
|
-
options: s(
|
|
612
|
+
"model-value": z("letterSpacing"),
|
|
613
|
+
options: s(L),
|
|
614
614
|
label: s(E).paragraphEditor.letterSpacing,
|
|
615
615
|
placeholder: s(E).paragraphEditor.letterSpacingShort,
|
|
616
616
|
"width-class": "tpl:w-20",
|
|
617
|
-
"onUpdate:modelValue":
|
|
617
|
+
"onUpdate:modelValue": Z
|
|
618
618
|
}, null, 8, [
|
|
619
619
|
"model-value",
|
|
620
620
|
"options",
|
|
621
621
|
"label",
|
|
622
622
|
"placeholder"
|
|
623
623
|
]),
|
|
624
|
-
u(
|
|
625
|
-
u(
|
|
626
|
-
icon: s(
|
|
624
|
+
u(Q),
|
|
625
|
+
u(Y, {
|
|
626
|
+
icon: s(_e),
|
|
627
627
|
label: s(E).paragraphEditor.clearFormatting,
|
|
628
628
|
onClick: i[13] ||= (e) => n.editor.chain().focus().clearNodes().unsetAllMarks().run()
|
|
629
629
|
}, null, 8, ["icon", "label"]),
|
|
630
|
-
u(
|
|
631
|
-
u(
|
|
632
|
-
n.canRequestMergeTag ? (e(), l(g, { key: 0 }, [u(
|
|
630
|
+
u(Q),
|
|
631
|
+
u(Ce, { onInsert: R }),
|
|
632
|
+
n.canRequestMergeTag ? (e(), l(g, { key: 0 }, [u(Q), c("button", {
|
|
633
633
|
type: "button",
|
|
634
634
|
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)]",
|
|
635
635
|
"aria-label": s(E).mergeTag.insert,
|
|
636
636
|
title: s(E).mergeTag.insert,
|
|
637
637
|
onClick: i[14] ||= (e) => o("add-merge-tag")
|
|
638
|
-
}, [u(s(
|
|
638
|
+
}, [u(s(ne), {
|
|
639
639
|
size: 16,
|
|
640
640
|
"stroke-width": 2
|
|
641
641
|
}), d(" " + p(s(E).mergeTag.insertShort), 1)], 8, Me)], 64)) : v("", !0),
|
|
642
|
-
n.canInsertLogicTag ? (e(), l(g, { key: 1 }, [u(
|
|
642
|
+
n.canInsertLogicTag ? (e(), l(g, { key: 1 }, [u(Q), c("button", {
|
|
643
643
|
type: "button",
|
|
644
644
|
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)]",
|
|
645
645
|
"aria-label": s(E).logicTag.insert,
|
|
646
646
|
title: s(E).logicTag.insert,
|
|
647
647
|
"data-testid": "insert-logic-button",
|
|
648
648
|
onClick: i[15] ||= (e) => o("add-logic-tag")
|
|
649
|
-
}, [u(s(
|
|
649
|
+
}, [u(s(re), {
|
|
650
650
|
size: 16,
|
|
651
651
|
"stroke-width": 2
|
|
652
652
|
}), d(" " + p(s(E).logicTag.insertShort), 1)], 8, Ne)], 64)) : v("", !0)
|
|
653
|
-
])], 64)) : (e(), l("div", Pe, [u(s(
|
|
653
|
+
])], 64)) : (e(), l("div", Pe, [u(s(oe), {
|
|
654
654
|
class: "tpl-spinner",
|
|
655
655
|
size: 14,
|
|
656
656
|
"stroke-width": 2
|
|
@@ -664,14 +664,14 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
664
664
|
},
|
|
665
665
|
emits: ["done"],
|
|
666
666
|
setup(t, { emit: n }) {
|
|
667
|
-
let i = t, o = n, c =
|
|
667
|
+
let i = t, o = n, c = I(), d = a(N, null), f = S(d?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: p, EditorContent: m, isLoading: h, initError: g, retry: _, showLinkDialog: v, linkUrl: y, linkColor: b, linkDialogRef: x, canRequestMergeTag: C, canInsertLogicTag: w, openLinkDialog: T, insertLink: O, removeLink: k, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: M, handleAddLogicTag: P } = D({
|
|
668
668
|
blockId: () => i.block.id,
|
|
669
669
|
blockContent: () => i.block.content,
|
|
670
670
|
onDone: () => o("done"),
|
|
671
671
|
editorName: "ParagraphEditor",
|
|
672
672
|
async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
|
|
673
673
|
let [{ Editor: a, EditorContent: o }, { default: s }, { default: l }, { default: u }, { default: d }, { default: p }, { default: m }, { TextStyle: h }, { default: g }, { default: _ }, { default: v }, { MergeTagNode: y, MergeTagSuggestion: b, LogicMergeTagNode: x, FontSize: S, LineHeight: C, LetterSpacing: w, LineBoundaryKeys: T }] = await Promise.all([
|
|
674
|
-
import("./dist-
|
|
674
|
+
import("./dist-CNqjHA8e.js").then((e) => e.r),
|
|
675
675
|
import("./dist-Cr7RPxI9.js"),
|
|
676
676
|
import("./dist-3HpYixwF.js"),
|
|
677
677
|
import("./dist-CuLwJF7H.js"),
|
|
@@ -682,7 +682,7 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
682
682
|
import("./dist-BPFcLKTw.js"),
|
|
683
683
|
import("./dist-D7Yj7E-F.js"),
|
|
684
684
|
import("./dist-DVNjPKsH.js"),
|
|
685
|
-
import("./extensions-
|
|
685
|
+
import("./extensions-zwsZlWjH.js")
|
|
686
686
|
]);
|
|
687
687
|
return {
|
|
688
688
|
TiptapEditor: a,
|
|
@@ -739,10 +739,10 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
739
739
|
"toolbar-position": t.toolbarPosition,
|
|
740
740
|
"is-loading": s(h),
|
|
741
741
|
"can-request-merge-tag": s(C),
|
|
742
|
-
"can-insert-logic-tag": s(
|
|
743
|
-
onOpenLinkDialog: s(
|
|
744
|
-
onAddMergeTag: s(
|
|
745
|
-
onAddLogicTag: s(
|
|
742
|
+
"can-insert-logic-tag": s(w),
|
|
743
|
+
onOpenLinkDialog: s(T),
|
|
744
|
+
onAddMergeTag: s(M),
|
|
745
|
+
onAddLogicTag: s(P)
|
|
746
746
|
}, null, 8, [
|
|
747
747
|
"editor",
|
|
748
748
|
"toolbar-position",
|
|
@@ -753,7 +753,7 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
753
753
|
"onAddMergeTag",
|
|
754
754
|
"onAddLogicTag"
|
|
755
755
|
]),
|
|
756
|
-
u(
|
|
756
|
+
u(z, {
|
|
757
757
|
editor: s(p),
|
|
758
758
|
"editor-content": s(m),
|
|
759
759
|
"is-loading": s(h),
|
|
@@ -766,7 +766,7 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
766
766
|
"init-error",
|
|
767
767
|
"onRetry"
|
|
768
768
|
]),
|
|
769
|
-
u(
|
|
769
|
+
u(R, {
|
|
770
770
|
visible: s(v),
|
|
771
771
|
"is-editing-link": s(p)?.isActive("link") ?? !1,
|
|
772
772
|
"dialog-ref": s(x),
|
|
@@ -775,10 +775,10 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
|
|
|
775
775
|
"onUpdate:linkUrl": i[1] ||= (e) => r(y) ? y.value = e : null,
|
|
776
776
|
"link-color": s(b),
|
|
777
777
|
"onUpdate:linkColor": i[2] ||= (e) => r(b) ? b.value = e : null,
|
|
778
|
-
onClose: s(
|
|
778
|
+
onClose: s(A),
|
|
779
779
|
onInsert: s(O),
|
|
780
780
|
onRemove: s(k),
|
|
781
|
-
onKeydown: s(
|
|
781
|
+
onKeydown: s(j)
|
|
782
782
|
}, null, 8, [
|
|
783
783
|
"visible",
|
|
784
784
|
"is-editing-link",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as e, B as t, at as n, c as r, d as i, g as a, h as o, jt as s, kt as c, l, u, v as d } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { t as f } from "./useI18n-
|
|
3
|
-
import { t as p } from "./loader-circle-
|
|
4
|
-
import { t as m } from "./triangle-alert-
|
|
5
|
-
import { d as h, v as g, x as _ } from "./styleConstants-
|
|
6
|
-
import { t as v } from "./TplModal-
|
|
1
|
+
import { A as e, B as t, at as n, c as r, d as i, g as a, h as o, jt as s, kt as c, l, u, v as d } from "./vue.runtime.esm-bundler-DV0Wx4r_.js";
|
|
2
|
+
import { t as f } from "./useI18n-CSh4gO5c.js";
|
|
3
|
+
import { t as p } from "./loader-circle-DCEeoYoi.js";
|
|
4
|
+
import { t as m } from "./triangle-alert-CenxmLRE.js";
|
|
5
|
+
import { d as h, v as g, x as _ } from "./styleConstants-v1dNKgJf.js";
|
|
6
|
+
import { t as v } from "./TplModal-BZgi9Tes.js";
|
|
7
7
|
//#region src/components/RestoreVersionDialog.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var y = ["aria-busy"], b = { class: "tpl:flex tpl:items-center tpl:gap-2" }, x = {
|
|
9
9
|
id: "tpl-restore-version-title",
|