@templatical/editor 0.47.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-BPOv5Ra8.js → AiChatSidebar-DxPHFNoT.js} +8 -8
- package/dist/{AiFeatureMenu-H_WT4YR8.js → AiFeatureMenu-C8GVqu1d.js} +4 -4
- package/dist/{BlockIssueBadge-AgO5abEB.js → BlockIssueBadge-BShkuJis.js} +2 -2
- package/dist/BlockPreviewCanvas-tzAtDkXH.js +141 -0
- package/dist/{CloudHeaderExtras-gXsTYoGG.js → CloudHeaderExtras-CUSftQdm.js} +2 -2
- package/dist/{CloudPanels-H_GdbOfZ.js → CloudPanels-Dgw7tb4R.js} +4 -4
- package/dist/{CollaboratorBar-BazGNMqN.js → CollaboratorBar-5rfopCPx.js} +2 -2
- package/dist/{CommentsPanel-CMgsG_yh.js → CommentsPanel-DiWzYtnZ.js} +1 -1
- package/dist/{CommentsSidebar-DCh8DTP8.js → CommentsSidebar-BOqj16Al.js} +10 -10
- package/dist/{CountdownToolbar-DVuucA3v.js → CountdownToolbar-C4y3Ft7H.js} +4 -4
- package/dist/{DesignReferenceSidebar-DxNV4lQp.js → DesignReferenceSidebar-BWAi3eQQ.js} +7 -7
- package/dist/{IssuesPanel-CUpW54P4.js → IssuesPanel-C-x3I012.js} +5 -5
- package/dist/{LogicTagInsertButton-DDYKnqmj.js → LogicTagInsertButton-B1_Wy0AN.js} +6 -6
- package/dist/{MediaEditModal-D_we0Scr.js → MediaEditModal-ByOvznRC.js} +1 -1
- package/dist/{MediaPanels-L95BwWV1.js → MediaPanels-9mDBv4aL.js} +1 -1
- package/dist/{MergeTagInput-DAL998tx.js → MergeTagInput-fOewuF27.js} +1 -1
- package/dist/{MergeTagModeToggle-CjHO26rb.js → MergeTagModeToggle-BXamLcv7.js} +4 -4
- package/dist/{ParagraphEditor-CcEN1N6n.js → ParagraphEditor-BVjOwwHx.js} +131 -131
- package/dist/{RestoreVersionDialog-B2OH5rgs.js → RestoreVersionDialog-BEKXx9xk.js} +3 -3
- package/dist/{RichTextEditorContent-BGeTg-QL.js → RichTextEditorContent-D7kp7iig.js} +4 -4
- package/dist/{SaveBlockDialog-CCVyU-7y.js → SaveBlockDialog-SJu0lecx.js} +32 -33
- package/dist/{SavedBlocksBrowserModal-_WmSeqIh.js → SavedBlocksBrowserModal-DbmIS5uK.js} +9 -9
- package/dist/{SavedBlocksPanels-DVX_ruQ7.js → SavedBlocksPanels-Dr5Fxx9Z.js} +1 -1
- package/dist/{SavedBlocksPickBar-DVJC28hP.js → SavedBlocksPickBar-DnEWBZJy.js} +2 -2
- package/dist/{TemplateScoringPanel-U0QFiwdI.js → TemplateScoringPanel-ynbGl-sr.js} +11 -11
- package/dist/{TemplateSettings-CdhTm9JQ.js → TemplateSettings-Bi01S3H3.js} +7 -7
- package/dist/{TestEmailModal-BqToA_ls.js → TestEmailModal-CbRY8HQx.js} +7 -7
- package/dist/{TestEmailPanel-Cn4Ptq0j.js → TestEmailPanel-NAOmt3xi.js} +1 -1
- package/dist/{TitleEditor-CZdqeltH.js → TitleEditor-Cc3DHbuN.js} +8 -8
- package/dist/{ToggleSwitch-BR8Sgzib.js → ToggleSwitch-Ozc7YU38.js} +1 -1
- package/dist/Toolbar-B-2lO0I8.js +3156 -0
- package/dist/{TplModal-CoczSDma.js → TplModal-Bz4-IZ9R.js} +1 -1
- package/dist/{VersionHistoryMenu-DY5z5FZr.js → VersionHistoryMenu-CjV1d1zk.js} +5 -5
- package/dist/{VersionHistoryPanels-DowHeDAQ.js → VersionHistoryPanels-BtwxrKJn.js} +1 -1
- package/dist/{VersionPreviewBanner-Bo8NxBbh.js → VersionPreviewBanner-BLAei1kj.js} +1 -1
- package/dist/WrapperBlock-D0qgNqjD.js +45 -0
- package/dist/{blockTypeIcons-4E1U8f99.js → blockTypeIcons-CEDZytqP.js} +49 -19
- package/dist/bundle-stats.json +8 -8
- package/dist/{cdn/chunks/ca-DMoGGP9L.js → ca-CbNzJM3I.js} +17 -3
- package/dist/cdn/chunks/{AiChatSidebar-B72rI0be.js → AiChatSidebar-Dk0rJBQN.js} +7 -7
- package/dist/cdn/chunks/{AiChatSidebar-B72rI0be.js.map → AiChatSidebar-Dk0rJBQN.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-BqSG9iEd.js → AiFeatureMenu-B7b0w8ZS.js} +3 -3
- package/dist/cdn/chunks/{AiFeatureMenu-BqSG9iEd.js.map → AiFeatureMenu-B7b0w8ZS.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-CS7ytN-z.js → BlockIssueBadge-C7sdnkrF.js} +2 -2
- package/dist/cdn/chunks/{BlockIssueBadge-CS7ytN-z.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-DJXLTUHc.js → CloudHeaderExtras-B4fhuwc_.js} +3 -3
- package/dist/cdn/chunks/{CloudHeaderExtras-DJXLTUHc.js.map → CloudHeaderExtras-B4fhuwc_.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-D1fPLjG8.js → CloudPanels-awqHfJqC.js} +4 -4
- package/dist/cdn/chunks/{CloudPanels-D1fPLjG8.js.map → CloudPanels-awqHfJqC.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-MeRQB1eN.js → CollaboratorBar-CS0ivqkr.js} +3 -3
- package/dist/cdn/chunks/{CollaboratorBar-MeRQB1eN.js.map → CollaboratorBar-CS0ivqkr.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-CmxPylNf.js → CommentsPanel-CbzxwsyI.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-CmxPylNf.js.map → CommentsPanel-CbzxwsyI.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-CrleQTbo.js → CommentsSidebar-DWPHZuQm.js} +13 -13
- package/dist/cdn/chunks/{CommentsSidebar-CrleQTbo.js.map → CommentsSidebar-DWPHZuQm.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-DPIOtlN0.js → CountdownToolbar-Cqg8FUH-.js} +5 -5
- package/dist/cdn/chunks/{CountdownToolbar-DPIOtlN0.js.map → CountdownToolbar-Cqg8FUH-.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-BgTNqgCy.js → DesignReferenceSidebar-BW9cHnA9.js} +7 -7
- package/dist/cdn/chunks/{DesignReferenceSidebar-BgTNqgCy.js.map → DesignReferenceSidebar-BW9cHnA9.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-BGjLcNpQ.js → IssuesPanel-cXf9ywA4.js} +4 -4
- package/dist/cdn/chunks/{IssuesPanel-BGjLcNpQ.js.map → IssuesPanel-cXf9ywA4.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-BEsqPhMr.js → LogicTagInsertButton-BMB9vShs.js} +84 -84
- package/dist/cdn/chunks/{LogicTagInsertButton-BEsqPhMr.js.map → LogicTagInsertButton-BMB9vShs.js.map} +1 -1
- package/dist/cdn/chunks/{MediaEditModal-C1Ao0i2c.js → MediaEditModal-zXfcArr4.js} +2 -2
- package/dist/cdn/chunks/{MediaEditModal-C1Ao0i2c.js.map → MediaEditModal-zXfcArr4.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-1GPYiZZ0.js → MediaPanels-Cp4XB_dH.js} +2 -2
- package/dist/cdn/chunks/{MediaPanels-1GPYiZZ0.js.map → MediaPanels-Cp4XB_dH.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-Dy13_OLc.js → MergeTagInput-DLqrA9co.js} +2 -2
- package/dist/cdn/chunks/{MergeTagInput-Dy13_OLc.js.map → MergeTagInput-DLqrA9co.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-B2CPZOeF.js → MergeTagModeToggle-BRiJzzn5.js} +3 -3
- package/dist/cdn/chunks/{MergeTagModeToggle-B2CPZOeF.js.map → MergeTagModeToggle-BRiJzzn5.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-BGLIw7kg.js → ParagraphEditor-D4aq9eeC.js} +35 -35
- package/dist/cdn/chunks/{ParagraphEditor-BGLIw7kg.js.map → ParagraphEditor-D4aq9eeC.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-BhykE8En.js → RestoreVersionDialog-BgR6RXSb.js} +5 -5
- package/dist/cdn/chunks/{RestoreVersionDialog-BhykE8En.js.map → RestoreVersionDialog-BgR6RXSb.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-B-txUvPL.js → RichTextEditorContent-C4DMAn0g.js} +4 -4
- package/dist/cdn/chunks/{RichTextEditorContent-B-txUvPL.js.map → RichTextEditorContent-C4DMAn0g.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-BHqEp7jw.js → SaveBlockDialog-BaIsQd09.js} +23 -24
- package/dist/cdn/chunks/{SaveBlockDialog-BHqEp7jw.js.map → SaveBlockDialog-BaIsQd09.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BhR6AI0f.js → SavedBlocksBrowserModal-CtnB58p_.js} +6 -6
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BhR6AI0f.js.map → SavedBlocksBrowserModal-CtnB58p_.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-YwffJtfY.js → SavedBlocksPanels-BhEOMzEQ.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPanels-YwffJtfY.js.map → SavedBlocksPanels-BhEOMzEQ.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-BtpFU7es.js → SavedBlocksPickBar-CcdqTEIp.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPickBar-BtpFU7es.js.map → SavedBlocksPickBar-CcdqTEIp.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-N4ySFh5w.js → TemplateScoringPanel-BrWqJCSP.js} +6 -6
- package/dist/cdn/chunks/{TemplateScoringPanel-N4ySFh5w.js.map → TemplateScoringPanel-BrWqJCSP.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-C7b5X34U.js → TemplateSettings-BkkWTDHD.js} +10 -10
- package/dist/cdn/chunks/{TemplateSettings-C7b5X34U.js.map → TemplateSettings-BkkWTDHD.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-DHJKI5y5.js → TestEmailModal-V5mwHsUV.js} +9 -9
- package/dist/cdn/chunks/{TestEmailModal-DHJKI5y5.js.map → TestEmailModal-V5mwHsUV.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-lYtzTXpR.js → TestEmailPanel-DxrKuctP.js} +2 -2
- package/dist/cdn/chunks/{TestEmailPanel-lYtzTXpR.js.map → TestEmailPanel-DxrKuctP.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-5eY01ypW.js → TitleEditor-CsZiG3TT.js} +13 -13
- package/dist/cdn/chunks/{TitleEditor-5eY01ypW.js.map → TitleEditor-CsZiG3TT.js.map} +1 -1
- package/dist/cdn/chunks/{ToggleSwitch-BN8rMC2m.js → ToggleSwitch-BB-bQADJ.js} +2 -2
- package/dist/cdn/chunks/{ToggleSwitch-BN8rMC2m.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-WIBiBrGy.js → TplModal-DC_eodTV.js} +2 -2
- package/dist/cdn/chunks/{TplModal-WIBiBrGy.js.map → TplModal-DC_eodTV.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-CZnlS9K5.js → VersionHistoryMenu-DXnM5Df2.js} +7 -7
- package/dist/cdn/chunks/{VersionHistoryMenu-CZnlS9K5.js.map → VersionHistoryMenu-DXnM5Df2.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-xjLSpR1e.js → VersionHistoryPanels-DXSqmaLS.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-xjLSpR1e.js.map → VersionHistoryPanels-DXSqmaLS.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-sARpn4hh.js → VersionPreviewBanner-DKyN6BhO.js} +2 -2
- package/dist/cdn/chunks/{VersionPreviewBanner-sARpn4hh.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/{ca-DMoGGP9L.js → cdn/chunks/ca-CbNzJM3I.js} +19 -1
- package/dist/cdn/chunks/ca-CbNzJM3I.js.map +1 -0
- package/dist/cdn/chunks/{cloud-Cd7ptfhL.js → cloud-BHClP3e2.js} +2 -2
- package/dist/cdn/chunks/{cloud-Cd7ptfhL.js.map → cloud-BHClP3e2.js.map} +1 -1
- package/dist/cdn/chunks/{createCloudRuntime-DtIZ2Lee.js → createCloudRuntime-Vd0N4elZ.js} +4 -4
- package/dist/cdn/chunks/{createCloudRuntime-DtIZ2Lee.js.map → createCloudRuntime-Vd0N4elZ.js.map} +1 -1
- package/dist/cdn/chunks/{de-DgAelLbM.js → de-DMquBpZM.js} +18 -2
- package/dist/cdn/chunks/de-DMquBpZM.js.map +1 -0
- package/dist/cdn/chunks/{editor-modal-Bcwo0orC.js → editor-modal-vEEmZ8Tu.js} +88 -88
- package/dist/cdn/chunks/{editor-modal-Bcwo0orC.js.map → editor-modal-vEEmZ8Tu.js.map} +1 -1
- package/dist/cdn/chunks/{en-Dekrl7HA.js → en-C8Mp71sO.js} +18 -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-BaZzyidV.js → es-Byq4tthI.js} +18 -2
- package/dist/cdn/chunks/es-Byq4tthI.js.map +1 -0
- package/dist/cdn/chunks/{extensions-T-t8MKDb.js → extensions-hJ9VqzDc.js} +4 -4
- package/dist/cdn/chunks/{extensions-T-t8MKDb.js.map → extensions-hJ9VqzDc.js.map} +1 -1
- package/dist/{fr-C5ucb1HK.js → cdn/chunks/fr-B3j35HEw.js} +19 -1
- package/dist/cdn/chunks/fr-B3j35HEw.js.map +1 -0
- package/dist/cdn/chunks/{icons-C4fX9Bwy.js → icons-aTYwH5-g.js} +123 -94
- package/dist/cdn/chunks/icons-aTYwH5-g.js.map +1 -0
- package/dist/{ja-CUgR3mV0.js → cdn/chunks/ja-D7txAuGS.js} +19 -1
- package/dist/cdn/chunks/ja-D7txAuGS.js.map +1 -0
- package/dist/{nl-qrLY7hMS.js → cdn/chunks/nl-ClJ3BY3F.js} +19 -1
- package/dist/cdn/chunks/nl-ClJ3BY3F.js.map +1 -0
- package/dist/cdn/chunks/{preRenderCustomBlocks-Co0oi0Jf.js → preRenderCustomBlocks-ByfuSjtL.js} +2 -2
- package/dist/cdn/chunks/{preRenderCustomBlocks-Co0oi0Jf.js.map → preRenderCustomBlocks-ByfuSjtL.js.map} +1 -1
- package/dist/{pt-BR-C6hMTQYi.js → cdn/chunks/pt-BR-DibcXcmv.js} +19 -1
- package/dist/cdn/chunks/pt-BR-DibcXcmv.js.map +1 -0
- package/dist/cdn/chunks/{socialIcons-DACw1wA8.js → socialIcons-C_lnkpG6.js} +355 -179
- package/dist/cdn/chunks/socialIcons-C_lnkpG6.js.map +1 -0
- package/dist/cdn/chunks/{src-BnJlDuyB.js → src-DYCDeBDM.js} +219 -181
- package/dist/cdn/chunks/src-DYCDeBDM.js.map +1 -0
- package/dist/cdn/chunks/{src-CHlVFp7r.js → src-DlFlC9Tt.js} +267 -241
- package/dist/cdn/chunks/src-DlFlC9Tt.js.map +1 -0
- package/dist/cdn/chunks/{src-Bu0qBpbf.js → src-dZ4D_tuP.js} +226 -193
- package/dist/cdn/chunks/src-dZ4D_tuP.js.map +1 -0
- package/dist/cdn/chunks/timeouts-Cv2jvusx.js +6 -0
- package/dist/cdn/chunks/timeouts-Cv2jvusx.js.map +1 -0
- package/dist/cdn/chunks/{useEditorCore-Bf2d1DKI.js → useEditorCore-Bb2UcB20.js} +722 -717
- package/dist/cdn/chunks/useEditorCore-Bb2UcB20.js.map +1 -0
- package/dist/cdn/chunks/{useLogicTag-3S63go4E.js → useLogicTag-HsyUCQtl.js} +2 -2
- package/dist/cdn/chunks/{useLogicTag-3S63go4E.js.map → useLogicTag-HsyUCQtl.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-BQtxUHq1.js → useMergeTag-Dg9pE85U.js} +2 -2
- package/dist/cdn/chunks/{useMergeTag-BQtxUHq1.js.map → useMergeTag-Dg9pE85U.js.map} +1 -1
- package/dist/cdn/chunks/{withCurrentFont-DwJd-lKc.js → withCurrentFont-oLcATrQ8.js} +2 -2
- package/dist/cdn/chunks/{withCurrentFont-DwJd-lKc.js.map → withCurrentFont-oLcATrQ8.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +403 -397
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-B5R4zXr7.js → check-ClwqRMgv.js} +1 -1
- package/dist/{chevron-down-BKyl85NV.js → chevron-down-te6qn-zE.js} +1 -1
- package/dist/{chevron-right-BmToZ8qX.js → chevron-right-W2hbH1FM.js} +1 -1
- package/dist/{chevron-up-DNYdOxPC.js → chevron-up-Bf5Zo7o4.js} +1 -1
- package/dist/{circle-alert-Dx9ju3YZ.js → circle-alert-CIEGV5DN.js} +1 -1
- package/dist/{clock-Dv9bxsSH.js → clock-Y4cx0gkJ.js} +1 -1
- package/dist/{cloud-DwjaAdwK.js → cloud-B5xwm_4X.js} +1 -1
- package/dist/{copy-BsKl4dcy.js → copy-BEcsAlfB.js} +1 -1
- package/dist/{createCloudRuntime-C8gpPsSi.js → createCloudRuntime-zNPkF6T9.js} +3 -3
- package/dist/{createLucideIcon-DziKp5iU.js → createLucideIcon-CYHXK9hn.js} +5 -5
- package/dist/{de-DgAelLbM.js → de-DMquBpZM.js} +17 -1
- package/dist/{dist-C8koXLhl.js → dist-tsmnQugO.js} +285 -249
- package/dist/{editor-modal-BwyIUnV_.js → editor-modal-AlVLkU91.js} +23 -23
- package/dist/en-B0FUfNwz.js +1 -0
- package/dist/{en-Dekrl7HA.js → en-C8Mp71sO.js} +17 -1
- package/dist/{es-BaZzyidV.js → es-Byq4tthI.js} +17 -1
- package/dist/{extensions-DHyKjsNZ.js → extensions-pjO8VGkM.js} +3 -3
- package/dist/{eye-DQuinb9k.js → eye-Ddnz8nnm.js} +1 -1
- package/dist/{cdn/chunks/fr-C5ucb1HK.js → fr-B3j35HEw.js} +17 -3
- package/dist/{image-up-yTfLjOrj.js → image-up-CM_HC0Dx.js} +1 -1
- package/dist/index.d.ts +66 -3
- package/dist/{info-C7OjlS11.js → info-DXLmzoeY.js} +1 -1
- package/dist/{cdn/chunks/ja-CUgR3mV0.js → ja-D7txAuGS.js} +17 -3
- package/dist/{link-CrUFaZ0t.js → link-Cel46wgo.js} +1 -1
- package/dist/{list-CLgv6M-k.js → list-Cl0GwiV9.js} +1 -1
- package/dist/{loader-circle-BXM5VO0K.js → loader-circle-uAwpvfys.js} +1 -1
- package/dist/{message-circle-BisdQ8H9.js → message-circle-DWU1pTM_.js} +1 -1
- package/dist/{cdn/chunks/nl-qrLY7hMS.js → nl-ClJ3BY3F.js} +17 -3
- package/dist/{package-C1T4AxV1.js → package-CbyG_yU_.js} +1 -1
- package/dist/{pencil-oo2mwf4C.js → pencil-BzoDcwKu.js} +1 -1
- package/dist/{plus-BIilXopD.js → plus-8cDvoCjZ.js} +1 -1
- package/dist/{preRenderCustomBlocks-lFX0HHiV.js → preRenderCustomBlocks-DMP5RuHl.js} +3 -3
- package/dist/{cdn/chunks/pt-BR-C6hMTQYi.js → pt-BR-DibcXcmv.js} +17 -3
- package/dist/{refresh-cw-DrLlkEVC.js → refresh-cw-9WinWixo.js} +1 -1
- package/dist/{search-DNu9lImk.js → search-CqgGq1gG.js} +1 -1
- package/dist/{send-DDNh3LoJ.js → send-Ceo3c9Db.js} +1 -1
- package/dist/{shield-check-aXM3o14f.js → shield-check-uDAwur5D.js} +1 -1
- package/dist/{smartphone-isccgDee.js → smartphone-CcLaCpGK.js} +1 -1
- package/dist/{socialIcons-BctavKBN.js → socialIcons-PTiwhLoC.js} +332 -153
- package/dist/{sparkles-CIMfFxKv.js → sparkles-Do9XjAuT.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +549 -543
- package/dist/{text-align-start-C4JFeqsq.js → text-align-start-DvzC0HQA.js} +1 -1
- package/dist/timeouts-Cv2jvusx.js +4 -0
- package/dist/{trash-8ZD9pK_c.js → trash-vlINTx32.js} +1 -1
- package/dist/{triangle-alert-pq45xEHl.js → triangle-alert-MRYSJ9T2.js} +1 -1
- package/dist/{upload-DrNFmVes.js → upload-CtNOI6J2.js} +1 -1
- package/dist/{useEditorCore-BcT7UI4e.js → useEditorCore-PvErWWsp.js} +963 -957
- package/dist/{useLogicTag-D-dI8H6p.js → useLogicTag-BHn67tDd.js} +1 -1
- package/dist/{useMergeTag-5wMeDBi-.js → useMergeTag-CRkm5Ig6.js} +1 -1
- package/dist/{useScrollToBlock-Do3suaqp.js → useScrollToBlock-CXmcHQQN.js} +1 -1
- package/dist/{withCurrentFont-B4YnsG_2.js → withCurrentFont-CxRGeHO3.js} +1 -1
- package/dist/{x-CBFKGLB1.js → x-Cd6SFw8r.js} +1 -1
- package/package.json +8 -8
- package/dist/BlockPreviewCanvas-CZDBSPoG.js +0 -136
- 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/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/de-DgAelLbM.js.map +0 -1
- package/dist/cdn/chunks/en-BANFWZdr.js +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/socialIcons-DACw1wA8.js.map +0 -1
- package/dist/cdn/chunks/src-BnJlDuyB.js.map +0 -1
- 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 +0 -6
- package/dist/cdn/chunks/timeouts-DHPZQ0G3.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-Bf2d1DKI.js.map +0 -1
- package/dist/en-CC-57eC_.js +0 -1
- package/dist/timeouts-DHPZQ0G3.js +0 -4
|
@@ -1,22 +1,22 @@
|
|
|
1
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-CAzmrXdD.js";
|
|
2
2
|
import { c as b, s as x } from "./runtime-dom.esm-bundler-lFF-QG3j.js";
|
|
3
|
-
import {
|
|
3
|
+
import { at as S } from "./dist-tsmnQugO.js";
|
|
4
4
|
import { t as C } from "./dist-DAAJogrx.js";
|
|
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
|
|
5
|
+
import { C as w, S as T, b as E, y as D } from "./useEditorCore-PvErWWsp.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-BKFq19a2.js";
|
|
7
|
+
import { t as F } from "./useI18n-CxVEpurs.js";
|
|
8
|
+
import { n as I } from "./usePopoverPosition-CwnH1o5g.js";
|
|
9
|
+
import { t as L } from "./createLucideIcon-CYHXK9hn.js";
|
|
10
|
+
import { i as ee, n as R, r as te, t as z } from "./RichTextEditorContent-D7kp7iig.js";
|
|
11
|
+
import { c as B, l as ne, u as re } from "./LogicTagInsertButton-B1_Wy0AN.js";
|
|
12
|
+
import { t as ie } from "./link-Cel46wgo.js";
|
|
13
|
+
import { t as ae } from "./list-Cl0GwiV9.js";
|
|
14
|
+
import { t as oe } from "./loader-circle-uAwpvfys.js";
|
|
15
|
+
import { n as se, r as ce, t as le } from "./text-align-start-DvzC0HQA.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-D1Jz-TFU.js";
|
|
18
|
+
import { n as me, t as he } from "./withCurrentFont-CxRGeHO3.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,7 +664,7 @@ 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"),
|
|
@@ -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-pjO8VGkM.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
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-CAzmrXdD.js";
|
|
2
2
|
import { t as f } from "./useI18n-CxVEpurs.js";
|
|
3
|
-
import { t as p } from "./loader-circle-
|
|
4
|
-
import { t as m } from "./triangle-alert-
|
|
3
|
+
import { t as p } from "./loader-circle-uAwpvfys.js";
|
|
4
|
+
import { t as m } from "./triangle-alert-MRYSJ9T2.js";
|
|
5
5
|
import { d as h, v as g, x as _ } from "./styleConstants-D1Jz-TFU.js";
|
|
6
|
-
import { t as v } from "./TplModal-
|
|
6
|
+
import { t as v } from "./TplModal-Bz4-IZ9R.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",
|
|
@@ -3,10 +3,10 @@ import { c as _ } from "./runtime-dom.esm-bundler-lFF-QG3j.js";
|
|
|
3
3
|
import { J as v, Z as y, g as b } from "./keys-BKFq19a2.js";
|
|
4
4
|
import { t as x } from "./useI18n-CxVEpurs.js";
|
|
5
5
|
import { n as S } from "./usePopoverPosition-CwnH1o5g.js";
|
|
6
|
-
import { t as C } from "./createLucideIcon-
|
|
7
|
-
import { c as w } from "./LogicTagInsertButton-
|
|
8
|
-
import { t as T } from "./x-
|
|
9
|
-
import { t as E } from "./MergeTagInput-
|
|
6
|
+
import { t as C } from "./createLucideIcon-CYHXK9hn.js";
|
|
7
|
+
import { c as w } from "./LogicTagInsertButton-B1_Wy0AN.js";
|
|
8
|
+
import { t as T } from "./x-Cd6SFw8r.js";
|
|
9
|
+
import { t as E } from "./MergeTagInput-fOewuF27.js";
|
|
10
10
|
var D = C({
|
|
11
11
|
name: "bold",
|
|
12
12
|
size: 24,
|