@templatical/editor 0.38.0 → 0.39.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-tu4eLcf_.js → AiChatSidebar-jVlXXND3.js} +66 -66
- package/dist/{AiFeatureMenu-BF0i0vA4.js → AiFeatureMenu-C1HCntyQ.js} +6 -6
- package/dist/{BlockIssueBadge-DT-FqKeC.js → BlockIssueBadge-JhNgcUmZ.js} +4 -4
- package/dist/{BlockPreviewCanvas-DDCmMram.js → BlockPreviewCanvas-C_rA5LJN.js} +2 -2
- package/dist/{CloudHeaderExtras-NPhudovT.js → CloudHeaderExtras-DvYyNsPB.js} +3 -3
- package/dist/{CloudPanels-Iwnky0iA.js → CloudPanels-CDPhPVdd.js} +5 -5
- package/dist/{CollaboratorBar-DAITu0hz.js → CollaboratorBar-Co9UPoB0.js} +3 -3
- package/dist/{ColorPicker-BqlZ_TqG.js → ColorPicker-BTtN94te.js} +6 -6
- package/dist/{CommentsPanel-CDvgmWP1.js → CommentsPanel-CRcVN9Ri.js} +1 -1
- package/dist/{CommentsSidebar-X_xqM3dR.js → CommentsSidebar-gDU977br.js} +12 -12
- package/dist/{CountdownBlock-ZFJIdbP6.js → CountdownBlock-CEzrfe5R.js} +1 -1
- package/dist/{CountdownToolbar-DBFoG3a6.js → CountdownToolbar-B00zhkNJ.js} +2 -2
- package/dist/{DesignReferenceSidebar--QtXjLrw.js → DesignReferenceSidebar-DedivZZl.js} +7 -7
- package/dist/{IssuesPanel-BLbNFMSX.js → IssuesPanel-C-PjdmAV.js} +7 -7
- package/dist/{MediaPanels-CMTAhDXB.js → MediaPanels-BpQNY8YX.js} +1 -1
- package/dist/{MergeTagInput-BEjzj4Iu.js → MergeTagInput-Cw1RoMly.js} +201 -149
- package/dist/{MergeTagModeToggle-DKN6ihI5.js → MergeTagModeToggle-DGuzSAdX.js} +35 -35
- package/dist/{MergeTagSuggestion-DKoLEeoj.js → MergeTagSuggestion-BXO3UIXW.js} +2 -2
- package/dist/{ParagraphEditor-1E9yzOfk.js → ParagraphEditor-jMKLLTa8.js} +38 -38
- package/dist/{RestoreVersionDialog-BMGUkcd8.js → RestoreVersionDialog-DG1jUdBM.js} +4 -4
- package/dist/{RichTextEditorContent-BnxbQUV9.js → RichTextEditorContent-JrNEg0kv.js} +8 -8
- package/dist/{SaveBlockDialog-WKASpCCT.js → SaveBlockDialog-C0KC-OKs.js} +8 -8
- package/dist/{SavedBlocksBrowserModal-AYEXTMtQ.js → SavedBlocksBrowserModal-zyOiRgWZ.js} +10 -10
- package/dist/{SavedBlocksPanels-D_CpacTl.js → SavedBlocksPanels-epMd799w.js} +1 -1
- package/dist/{SavedBlocksPickBar-BHMwg-1G.js → SavedBlocksPickBar-CJqqQ3jd.js} +3 -3
- package/dist/{TemplateScoringPanel-CSin43YM.js → TemplateScoringPanel-m2FOeaai.js} +103 -103
- package/dist/{TestEmailModal-BxizsRCd.js → TestEmailModal-D58kYkMV.js} +54 -54
- package/dist/{TestEmailPanel-vd2e5HzT.js → TestEmailPanel-BmFVBIQt.js} +1 -1
- package/dist/{TitleEditor-CLJ68Ty4.js → TitleEditor-C4BGPXnf.js} +13 -13
- package/dist/{TplModal-Q9fDgS1M.js → TplModal-BIDJw4Kj.js} +3 -3
- package/dist/{VersionHistoryMenu-eGYVhM4H.js → VersionHistoryMenu-dt_aZQfh.js} +7 -7
- package/dist/{VersionHistoryPanels-C7Ntrrfq.js → VersionHistoryPanels-B_5SBRrr.js} +1 -1
- package/dist/{VersionPreviewBanner-BbQXnR0M.js → VersionPreviewBanner-DttvOkwd.js} +2 -2
- package/dist/{blockTypeIcons-5qD4bB76.js → blockTypeIcons-CzTizYmK.js} +2 -2
- package/dist/bundle-stats.json +8 -8
- package/dist/{cdn/chunks/ca-D9S-UCfZ.js → ca-YlPDhElv.js} +5 -3
- package/dist/cdn/chunks/{AiChatSidebar-dyqqHAcI.js → AiChatSidebar-DeZl9Tk0.js} +54 -54
- package/dist/cdn/chunks/AiChatSidebar-DeZl9Tk0.js.map +1 -0
- package/dist/cdn/chunks/{AiFeatureMenu-BjVMwhW8.js → AiFeatureMenu-Bv8jMu9p.js} +5 -5
- package/dist/cdn/chunks/{AiFeatureMenu-BjVMwhW8.js.map → AiFeatureMenu-Bv8jMu9p.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-BJ__oEtm.js → BlockIssueBadge-B6PpoOPv.js} +4 -4
- package/dist/cdn/chunks/{BlockIssueBadge-BJ__oEtm.js.map → BlockIssueBadge-B6PpoOPv.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-B5f26eLE.js → BlockPreviewCanvas-DfEtDosD.js} +3 -3
- package/dist/cdn/chunks/{BlockPreviewCanvas-B5f26eLE.js.map → BlockPreviewCanvas-DfEtDosD.js.map} +1 -1
- package/dist/cdn/chunks/{CloudHeaderExtras-D5P5IEKA.js → CloudHeaderExtras-Hk98ub-C.js} +4 -4
- package/dist/cdn/chunks/{CloudHeaderExtras-D5P5IEKA.js.map → CloudHeaderExtras-Hk98ub-C.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-DkmR05nB.js → CloudPanels-Ba3GLmvF.js} +5 -5
- package/dist/cdn/chunks/{CloudPanels-DkmR05nB.js.map → CloudPanels-Ba3GLmvF.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-Yn7KSpt4.js → CollaboratorBar-D2dCQ9gg.js} +4 -4
- package/dist/cdn/chunks/{CollaboratorBar-Yn7KSpt4.js.map → CollaboratorBar-D2dCQ9gg.js.map} +1 -1
- package/dist/cdn/chunks/{ColorPicker-LcrzgMoW.js → ColorPicker-BaonTCAQ.js} +7 -7
- package/dist/cdn/chunks/{ColorPicker-LcrzgMoW.js.map → ColorPicker-BaonTCAQ.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-CntwwocI.js → CommentsPanel-CV2HveQk.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-CntwwocI.js.map → CommentsPanel-CV2HveQk.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-BLDKnKy7.js → CommentsSidebar-Dok_vaRc.js} +4 -4
- package/dist/cdn/chunks/{CommentsSidebar-BLDKnKy7.js.map → CommentsSidebar-Dok_vaRc.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-B4AfqJwb.js → CountdownBlock-DGDl3ota.js} +2 -2
- package/dist/cdn/chunks/{CountdownBlock-B4AfqJwb.js.map → CountdownBlock-DGDl3ota.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-CA1dpuOI.js → CountdownToolbar-B9Rin64t.js} +3 -3
- package/dist/cdn/chunks/{CountdownToolbar-CA1dpuOI.js.map → CountdownToolbar-B9Rin64t.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-D1Y9Hswe.js → DesignReferenceSidebar-eCuTFak2.js} +4 -4
- package/dist/cdn/chunks/{DesignReferenceSidebar-D1Y9Hswe.js.map → DesignReferenceSidebar-eCuTFak2.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-Q62LTqvd.js → IssuesPanel-CP7FEzw7.js} +5 -5
- package/dist/cdn/chunks/{IssuesPanel-Q62LTqvd.js.map → IssuesPanel-CP7FEzw7.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-D21M6shx.js → MediaPanels-TYrKKHX5.js} +2 -2
- package/dist/cdn/chunks/{MediaPanels-D21M6shx.js.map → MediaPanels-TYrKKHX5.js.map} +1 -1
- package/dist/cdn/chunks/MergeTagInput-CSIThqkz.js +470 -0
- package/dist/cdn/chunks/MergeTagInput-CSIThqkz.js.map +1 -0
- package/dist/cdn/chunks/{MergeTagModeToggle-DYxkAGtA.js → MergeTagModeToggle-QGTUIWWo.js} +32 -32
- package/dist/cdn/chunks/{MergeTagModeToggle-DYxkAGtA.js.map → MergeTagModeToggle-QGTUIWWo.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagSuggestion-t8Uj00Er.js → MergeTagSuggestion-CY6WK8Eb.js} +3 -3
- package/dist/cdn/chunks/MergeTagSuggestion-CY6WK8Eb.js.map +1 -0
- package/dist/cdn/chunks/{ParagraphEditor-Bd-GQXee.js → ParagraphEditor-D1tsPv4v.js} +22 -22
- package/dist/cdn/chunks/{ParagraphEditor-Bd-GQXee.js.map → ParagraphEditor-D1tsPv4v.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-2X9RpM9A.js → RestoreVersionDialog-BeCxNPLS.js} +4 -4
- package/dist/cdn/chunks/{RestoreVersionDialog-2X9RpM9A.js.map → RestoreVersionDialog-BeCxNPLS.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-D_rb0rmU.js → RichTextEditorContent-BBxzACFQ.js} +8 -8
- package/dist/cdn/chunks/{RichTextEditorContent-D_rb0rmU.js.map → RichTextEditorContent-BBxzACFQ.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-CufdTomT.js → SaveBlockDialog-CLgh_g7H.js} +7 -7
- package/dist/cdn/chunks/{SaveBlockDialog-CufdTomT.js.map → SaveBlockDialog-CLgh_g7H.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-CqpaNsk7.js → SavedBlocksBrowserModal-B4TcUJJe.js} +8 -8
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-CqpaNsk7.js.map → SavedBlocksBrowserModal-B4TcUJJe.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-DpxYxddo.js → SavedBlocksPanels-CaBsHoRC.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPanels-DpxYxddo.js.map → SavedBlocksPanels-CaBsHoRC.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-Drpoav1B.js → SavedBlocksPickBar-iG35XCDx.js} +4 -4
- package/dist/cdn/chunks/{SavedBlocksPickBar-Drpoav1B.js.map → SavedBlocksPickBar-iG35XCDx.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-DBjUNULq.js → TemplateScoringPanel-DuQJBykq.js} +86 -86
- package/dist/cdn/chunks/TemplateScoringPanel-DuQJBykq.js.map +1 -0
- package/dist/cdn/chunks/{TestEmailModal-BTNlSW6f.js → TestEmailModal-D6Woss3r.js} +52 -52
- package/dist/cdn/chunks/TestEmailModal-D6Woss3r.js.map +1 -0
- package/dist/cdn/chunks/{TestEmailPanel-D0A9Zgxr.js → TestEmailPanel-CWQFB7J3.js} +2 -2
- package/dist/cdn/chunks/{TestEmailPanel-D0A9Zgxr.js.map → TestEmailPanel-CWQFB7J3.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-CrnuIq62.js → TitleEditor-CbY1tgSl.js} +12 -12
- package/dist/cdn/chunks/TitleEditor-CbY1tgSl.js.map +1 -0
- package/dist/cdn/chunks/{TplModal-DYXrTz42.js → TplModal-CGpp-d_r.js} +4 -4
- package/dist/cdn/chunks/{TplModal-DYXrTz42.js.map → TplModal-CGpp-d_r.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-bDGnE4hb.js → VersionHistoryMenu-ByVJXDbK.js} +4 -4
- package/dist/cdn/chunks/{VersionHistoryMenu-bDGnE4hb.js.map → VersionHistoryMenu-ByVJXDbK.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-82P0Q0HM.js → VersionHistoryPanels-CQJ5OggF.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-82P0Q0HM.js.map → VersionHistoryPanels-CQJ5OggF.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-BJiwKkVC.js → VersionPreviewBanner-G4lLbfr8.js} +3 -3
- package/dist/cdn/chunks/{VersionPreviewBanner-BJiwKkVC.js.map → VersionPreviewBanner-G4lLbfr8.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-CNjJSFun.js → blockTypeIcons-CQY-vxdM.js} +2 -2
- package/dist/cdn/chunks/{blockTypeIcons-CNjJSFun.js.map → blockTypeIcons-CQY-vxdM.js.map} +1 -1
- package/dist/{ca-D9S-UCfZ.js → cdn/chunks/ca-YlPDhElv.js} +7 -1
- package/dist/cdn/chunks/{ca-D9S-UCfZ.js.map → ca-YlPDhElv.js.map} +1 -1
- package/dist/cdn/chunks/{createCloudRuntime-U-qCH-dq.js → createCloudRuntime-ClvtMBF1.js} +2 -2
- package/dist/cdn/chunks/{createCloudRuntime-U-qCH-dq.js.map → createCloudRuntime-ClvtMBF1.js.map} +1 -1
- package/dist/cdn/chunks/{de-BUPszLpi.js → de-CONjnzrF.js} +6 -2
- package/dist/cdn/chunks/{de-BUPszLpi.js.map → de-CONjnzrF.js.map} +1 -1
- package/dist/cdn/chunks/draggable-kbOhCgnk.js.map +1 -1
- package/dist/cdn/chunks/{editor-modal-MXgtarMl.js → editor-modal-B6IdQWlf.js} +3 -3
- package/dist/cdn/chunks/{editor-modal-MXgtarMl.js.map → editor-modal-B6IdQWlf.js.map} +1 -1
- package/dist/cdn/chunks/{en-BbOC5x3w.js → en-BAMooiOF.js} +6 -2
- package/dist/cdn/chunks/{en-BbOC5x3w.js.map → en-BAMooiOF.js.map} +1 -1
- package/dist/cdn/chunks/en-DjunooBz.js +2 -0
- package/dist/{es-0bCDcT9p.js → cdn/chunks/es-I47lHs2m.js} +7 -1
- package/dist/cdn/chunks/{es-0bCDcT9p.js.map → es-I47lHs2m.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-B8_jnIkD.js → extensions-D2YIhF7u.js} +126 -101
- package/dist/cdn/chunks/extensions-D2YIhF7u.js.map +1 -0
- package/dist/cdn/chunks/{fr-Brr8mJ9e.js → fr-B8MIKjT4.js} +6 -2
- package/dist/cdn/chunks/{fr-Brr8mJ9e.js.map → fr-B8MIKjT4.js.map} +1 -1
- package/dist/cdn/chunks/htmlparser-ClUZ6waR.js +1113 -0
- package/dist/cdn/chunks/htmlparser-ClUZ6waR.js.map +1 -0
- package/dist/cdn/chunks/{icons-BUlqGSgd.js → icons-DdrAicM2.js} +33 -33
- package/dist/cdn/chunks/{icons-BUlqGSgd.js.map → icons-DdrAicM2.js.map} +1 -1
- package/dist/cdn/chunks/keys-DXYJTLZF.js +12 -0
- package/dist/cdn/chunks/keys-DXYJTLZF.js.map +1 -0
- package/dist/{nl-Co3_RL0M.js → cdn/chunks/nl-CBLxcb-0.js} +7 -1
- package/dist/cdn/chunks/{nl-Co3_RL0M.js.map → nl-CBLxcb-0.js.map} +1 -1
- package/dist/{pt-BR-BECez5b0.js → cdn/chunks/pt-BR-CMSRfX7t.js} +7 -1
- package/dist/cdn/chunks/{pt-BR-BECez5b0.js.map → pt-BR-CMSRfX7t.js.map} +1 -1
- package/dist/cdn/chunks/{src-CUvZWL6Y.js → src-CaNsA_WX.js} +2 -2
- package/dist/cdn/chunks/{src-CUvZWL6Y.js.map → src-CaNsA_WX.js.map} +1 -1
- package/dist/cdn/chunks/src-Dwgq7hf4.js.map +1 -1
- package/dist/cdn/chunks/{src-IGLRmUar.js → src-fn7uy1FD.js} +3 -3
- package/dist/cdn/chunks/{src-IGLRmUar.js.map → src-fn7uy1FD.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-DSWSGj-A.js → useCloudI18n-OezCj0cx.js} +2 -2
- package/dist/cdn/chunks/{useCloudI18n-DSWSGj-A.js.map → useCloudI18n-OezCj0cx.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-Cs7rYVBo.js → useEditorCore-06PtcUi1.js} +482 -473
- package/dist/cdn/chunks/useEditorCore-06PtcUi1.js.map +1 -0
- package/dist/cdn/chunks/{useEditorRoot-B0zW2nT4.js → useEditorRoot-ByHPMqYT.js} +2 -2
- package/dist/cdn/chunks/{useEditorRoot-B0zW2nT4.js.map → useEditorRoot-ByHPMqYT.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-Dlo7R9RA.js → useI18n-BhE7ndNr.js} +2 -2
- package/dist/cdn/chunks/{useI18n-Dlo7R9RA.js.map → useI18n-BhE7ndNr.js.map} +1 -1
- package/dist/cdn/chunks/useMergeTag-DE2mpy1w.js +60 -0
- package/dist/cdn/chunks/useMergeTag-DE2mpy1w.js.map +1 -0
- package/dist/cdn/chunks/{usePopoverPosition-ElP3ABaV.js → usePopoverPosition-BPL891uG.js} +2 -2
- package/dist/cdn/chunks/{usePopoverPosition-ElP3ABaV.js.map → usePopoverPosition-BPL891uG.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-nTbWkgaU.js → useScrollToBlock-DwF4pVur.js} +2 -2
- package/dist/cdn/chunks/{useScrollToBlock-nTbWkgaU.js.map → useScrollToBlock-DwF4pVur.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +894 -857
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-DWtkBzBU.js → check-9xX6RVHz.js} +1 -1
- package/dist/{chevron-down-C-Fjxcqj.js → chevron-down-J5hFJ6TL.js} +1 -1
- package/dist/{chevron-right-SOkn2d4P.js → chevron-right-BJuo5PQ-.js} +1 -1
- package/dist/{chevron-up-lntU1ypp.js → chevron-up-Qfi5k52_.js} +1 -1
- package/dist/{circle-alert-CjzUTwy3.js → circle-alert-BiArYmkB.js} +1 -1
- package/dist/{clock-pB2QKPsJ.js → clock-BkYJZ7Y0.js} +1 -1
- package/dist/{copy-CId1E038.js → copy-BRLUNHwF.js} +1 -1
- package/dist/{createCloudRuntime-x5WZm3p8.js → createCloudRuntime-CNFXaTNQ.js} +1 -1
- package/dist/{createLucideIcon-Cwf_nTzE.js → createLucideIcon-CDDkF1Tm.js} +5 -5
- package/dist/{de-BUPszLpi.js → de-CONjnzrF.js} +5 -1
- package/dist/{editor-modal-B_LaQf0s.js → editor-modal-uAEB6xKz.js} +15 -15
- package/dist/{en-BbOC5x3w.js → en-BAMooiOF.js} +5 -1
- package/dist/en-CQWkDCpm.js +2 -0
- package/dist/{cdn/chunks/es-0bCDcT9p.js → es-I47lHs2m.js} +5 -3
- package/dist/{extensions-CHOBZRab.js → extensions-CcGj7OfS.js} +129 -104
- package/dist/{eye-BuGtFUoJ.js → eye-DwhBOaV8.js} +1 -1
- package/dist/{fr-Brr8mJ9e.js → fr-B8MIKjT4.js} +5 -1
- package/dist/{image-up-gH4JEpU5.js → image-up-CiyQNZBt.js} +1 -1
- package/dist/index.d.ts +15 -0
- package/dist/{info-BQ60P82u.js → info-D6A1qEiF.js} +1 -1
- package/dist/keys-DD1rl72F.js +10 -0
- package/dist/{link-3R8it3J7.js → link-tKGmYWsB.js} +1 -1
- package/dist/{list-Ccdgj46T.js → list-DjZQRpeI.js} +1 -1
- package/dist/{loader-circle-B_tAD4k6.js → loader-circle-D9ZL3Sv0.js} +1 -1
- package/dist/{message-circle-P-KSc6V0.js → message-circle-KTHxCcpB.js} +1 -1
- package/dist/{cdn/chunks/nl-Co3_RL0M.js → nl-CBLxcb-0.js} +5 -3
- package/dist/{pencil-9ZiwqS4r.js → pencil-Bq-nbQ7F.js} +1 -1
- package/dist/{plus-BwJEzCaO.js → plus-CRMnR4IG.js} +1 -1
- package/dist/{cdn/chunks/pt-BR-BECez5b0.js → pt-BR-CMSRfX7t.js} +5 -3
- package/dist/{refresh-cw-DEgfb2FK.js → refresh-cw-D7bYS5tm.js} +1 -1
- package/dist/{search-DqQ8Li5E.js → search-DUo0YwPz.js} +1 -1
- package/dist/{send-CE6uvqop.js → send-DaVMQphu.js} +1 -1
- package/dist/{shield-check-DhD1Z3rd.js → shield-check-DxaaurL9.js} +1 -1
- package/dist/{sparkles-R0ZQHa6F.js → sparkles-D6T6k30e.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +1156 -1119
- package/dist/{text-align-start-DSux2UNn.js → text-align-start-vreFpmCX.js} +1 -1
- package/dist/{trash-Cf_SqsER.js → trash-DBv8MGY6.js} +1 -1
- package/dist/{triangle-alert-C6tGa6jw.js → triangle-alert-CmNS2LLv.js} +1 -1
- package/dist/{upload-DusKjpVr.js → upload-DDB9Fs0P.js} +1 -1
- package/dist/{useCloudI18n-BLyh_e2T.js → useCloudI18n-C1wuXik6.js} +1 -1
- package/dist/{useEditorCore-DhlKOYwe.js → useEditorCore-jfwgLThK.js} +1077 -1068
- package/dist/{useEditorRoot-ds57-l6F.js → useEditorRoot-eVv4doqZ.js} +1 -1
- package/dist/{useI18n-BbdxxpOE.js → useI18n-VOtdfENx.js} +1 -1
- package/dist/useMergeTag-CQM9pFca.js +58 -0
- package/dist/{usePopoverPosition-CprM5p-c.js → usePopoverPosition-gZjRywai.js} +1 -1
- package/dist/{useScrollToBlock-BTFw0b9O.js → useScrollToBlock-C0Ehnyl4.js} +2 -2
- package/dist/{x-D_-42Ukq.js → x-B7sgO_z8.js} +1 -1
- package/package.json +10 -10
- package/dist/cdn/chunks/AiChatSidebar-dyqqHAcI.js.map +0 -1
- package/dist/cdn/chunks/MergeTagInput-l7paaAml.js +0 -419
- package/dist/cdn/chunks/MergeTagInput-l7paaAml.js.map +0 -1
- package/dist/cdn/chunks/MergeTagSuggestion-t8Uj00Er.js.map +0 -1
- package/dist/cdn/chunks/TemplateScoringPanel-DBjUNULq.js.map +0 -1
- package/dist/cdn/chunks/TestEmailModal-BTNlSW6f.js.map +0 -1
- package/dist/cdn/chunks/TitleEditor-CrnuIq62.js.map +0 -1
- package/dist/cdn/chunks/en-C9U7N77n.js +0 -2
- package/dist/cdn/chunks/extensions-B8_jnIkD.js.map +0 -1
- package/dist/cdn/chunks/htmlparser-DTML8Gvz.js +0 -1007
- package/dist/cdn/chunks/htmlparser-DTML8Gvz.js.map +0 -1
- package/dist/cdn/chunks/keys-DBFhDFng.js +0 -12
- package/dist/cdn/chunks/keys-DBFhDFng.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-Cs7rYVBo.js.map +0 -1
- package/dist/cdn/chunks/useMergeTag-BYAifvh8.js +0 -46
- package/dist/cdn/chunks/useMergeTag-BYAifvh8.js.map +0 -1
- package/dist/en-DcmpWV53.js +0 -2
- package/dist/keys-DQA2i1k1.js +0 -10
- package/dist/useMergeTag-DlvOBW_B.js +0 -44
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { A as e, B as t, E as n, M as r, R as i, S as ee, V as te, Z as a, at as o, c as s, d as c, g as l, h as u, jt as d, kt as
|
|
2
|
-
import { a as
|
|
1
|
+
import { A as e, B as t, E as n, M as r, R as i, S as ee, V as te, Z as a, at as o, c as s, d as c, g as l, h as u, jt as d, kt as f, l as p, r as m, u as h, v as g } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
2
|
+
import { a as ne, t as re } from "./runtime-dom.esm-bundler-PnoZU512.js";
|
|
3
3
|
import { _ as ie, g as ae } from "./dist-D8i1ixHK.js";
|
|
4
|
-
import { D as oe,
|
|
5
|
-
import { t as y } from "./createLucideIcon-
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as b } from "./sparkles-
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { p as
|
|
16
|
-
var
|
|
4
|
+
import { D as oe, P as se, Z as _, g as v, i as ce, u as le } from "./keys-DD1rl72F.js";
|
|
5
|
+
import { t as y } from "./createLucideIcon-CDDkF1Tm.js";
|
|
6
|
+
import { t as ue } from "./circle-alert-BiArYmkB.js";
|
|
7
|
+
import { t as de } from "./loader-circle-D9ZL3Sv0.js";
|
|
8
|
+
import { t as fe } from "./send-DaVMQphu.js";
|
|
9
|
+
import { t as b } from "./sparkles-D6T6k30e.js";
|
|
10
|
+
import { t as pe } from "./trash-DBv8MGY6.js";
|
|
11
|
+
import { t as me } from "./x-B7sgO_z8.js";
|
|
12
|
+
import { t as x } from "./LoadingTrack-BlTL4zFv.js";
|
|
13
|
+
import { t as S } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
|
+
import { t as C } from "./useAliveFlag-oyByIcjy.js";
|
|
15
|
+
import { p as w } from "./cloud-DdidMW6f.js";
|
|
16
|
+
var T = y({
|
|
17
17
|
name: "redo-2",
|
|
18
18
|
size: 24,
|
|
19
19
|
node: [["path", {
|
|
@@ -23,7 +23,7 @@ var w = y({
|
|
|
23
23
|
d: "M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",
|
|
24
24
|
key: "6uklza"
|
|
25
25
|
}]]
|
|
26
|
-
}),
|
|
26
|
+
}), E = y({
|
|
27
27
|
name: "undo-2",
|
|
28
28
|
size: 24,
|
|
29
29
|
node: [["path", {
|
|
@@ -33,19 +33,19 @@ var w = y({
|
|
|
33
33
|
d: "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",
|
|
34
34
|
key: "f3b9sd"
|
|
35
35
|
}]]
|
|
36
|
-
}),
|
|
36
|
+
}), D = {
|
|
37
37
|
key: 0,
|
|
38
38
|
class: "tpl-ai-sidebar tpl:absolute tpl:top-14 tpl:right-0 tpl:bottom-0 tpl:flex tpl:w-[360px] tpl:flex-col tpl:border-l tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)]"
|
|
39
|
-
},
|
|
39
|
+
}, O = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, k = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-primary)]" }, A = { class: "tpl:flex tpl:items-center tpl:gap-1" }, j = ["title"], M = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col" }, N = {
|
|
40
40
|
key: 0,
|
|
41
41
|
class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:text-center"
|
|
42
|
-
},
|
|
42
|
+
}, P = { class: "tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, F = {
|
|
43
43
|
key: 1,
|
|
44
44
|
class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:text-center"
|
|
45
|
-
},
|
|
45
|
+
}, I = { class: "tpl:max-w-[240px] tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, L = {
|
|
46
46
|
key: 2,
|
|
47
47
|
class: "tpl:flex tpl:flex-col tpl:gap-4"
|
|
48
|
-
},
|
|
48
|
+
}, R = {
|
|
49
49
|
key: 0,
|
|
50
50
|
class: "tpl:self-end tpl:rounded-[var(--tpl-radius-sm)] tpl:px-3.5 tpl:py-2.5 tpl:text-sm",
|
|
51
51
|
style: {
|
|
@@ -54,10 +54,10 @@ var w = y({
|
|
|
54
54
|
"max-width": "85%",
|
|
55
55
|
"box-shadow": "var(--tpl-shadow)"
|
|
56
56
|
}
|
|
57
|
-
},
|
|
57
|
+
}, z = {
|
|
58
58
|
key: 1,
|
|
59
59
|
class: "tpl:flex tpl:flex-col tpl:gap-2"
|
|
60
|
-
},
|
|
60
|
+
}, he = {
|
|
61
61
|
key: 1,
|
|
62
62
|
class: "tpl:rounded-[var(--tpl-radius-sm)] tpl:px-3.5 tpl:py-2.5 tpl:text-sm tpl:whitespace-pre-wrap",
|
|
63
63
|
style: {
|
|
@@ -66,69 +66,69 @@ var w = y({
|
|
|
66
66
|
color: "var(--tpl-text)",
|
|
67
67
|
"box-shadow": "var(--tpl-shadow)"
|
|
68
68
|
}
|
|
69
|
-
},
|
|
69
|
+
}, ge = {
|
|
70
70
|
key: 0,
|
|
71
71
|
class: "tpl:mx-3 tpl:mb-2 tpl:flex tpl:items-start tpl:gap-2 tpl:rounded-lg tpl:px-3 tpl:py-2 tpl:text-xs",
|
|
72
72
|
style: {
|
|
73
73
|
"background-color": "var(--tpl-danger-light)",
|
|
74
74
|
color: "var(--tpl-danger)"
|
|
75
75
|
}
|
|
76
|
-
},
|
|
76
|
+
}, _e = {
|
|
77
77
|
key: 1,
|
|
78
78
|
class: "tpl:absolute tpl:right-0 tpl:bottom-0 tpl:left-0 tpl:z-10 tpl:px-3 tpl:pb-3",
|
|
79
79
|
style: {
|
|
80
80
|
"background-color": "color-mix(\n in srgb,\n var(--tpl-bg) 50%,\n transparent\n )",
|
|
81
81
|
"backdrop-filter": "blur(2px)"
|
|
82
82
|
}
|
|
83
|
-
},
|
|
83
|
+
}, ve = { class: "tpl:flex tpl:flex-col tpl:gap-1.5" }, ye = ["onClick"], be = { class: "tpl:border-t tpl:p-3 tpl:border-[var(--tpl-border)]" }, xe = { class: "tpl-ai-input-wrapper tpl-focus-ring-host tpl:flex tpl:items-end tpl:gap-2 tpl:rounded-[var(--tpl-radius)] tpl:border tpl:px-3 tpl:py-2 tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Se = ["placeholder", "disabled"], Ce = ["disabled"], we = { class: "tpl:m-0 tpl:px-1 tpl:pt-2 tpl:text-center tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, B = /*#__PURE__*/ S(/* @__PURE__ */ g({
|
|
84
84
|
__name: "AiChatSidebar",
|
|
85
85
|
props: {
|
|
86
86
|
visible: { type: Boolean },
|
|
87
87
|
onApply: { type: Function }
|
|
88
88
|
},
|
|
89
89
|
emits: ["close"],
|
|
90
|
-
setup(
|
|
91
|
-
let
|
|
92
|
-
authManager:
|
|
90
|
+
setup(g, { emit: y }) {
|
|
91
|
+
let S = g, B = y, V = _(le, "AiChatSidebar"), H = _(v, "AiChatSidebar"), Te = _(ce, "AiChatSidebar"), U = ee(oe, se), W = C(), G = w({
|
|
92
|
+
authManager: Te,
|
|
93
93
|
getTemplateId: () => H.state.template?.id ?? null,
|
|
94
|
-
onApply:
|
|
94
|
+
onApply: S.onApply,
|
|
95
95
|
onError: void 0
|
|
96
|
-
}), K = a(""), q = a(null), J = a(!1), Y = a(0), { pause: X, resume:
|
|
96
|
+
}), K = a(""), q = a(null), J = a(!1), Y = a(0), { pause: X, resume: Ee } = ae(() => {
|
|
97
97
|
let e = G.suggestions.value?.length ?? 0;
|
|
98
98
|
Y.value < e ? Y.value++ : X();
|
|
99
|
-
}, 150, { immediate: !1 }), { start:
|
|
99
|
+
}, 150, { immediate: !1 }), { start: De } = ie(() => Ee(), 100, { immediate: !1 });
|
|
100
100
|
i(() => G.suggestions.value?.length ?? 0, (e) => {
|
|
101
101
|
if (X(), e === 0) {
|
|
102
102
|
Y.value = 0;
|
|
103
103
|
return;
|
|
104
104
|
}
|
|
105
|
-
Y.value = 0,
|
|
105
|
+
Y.value = 0, De();
|
|
106
106
|
});
|
|
107
107
|
function Z() {
|
|
108
108
|
n(() => {
|
|
109
109
|
q.value && (q.value.scrollTop = q.value.scrollHeight);
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
|
-
i(() => G.messages.value?.length ?? 0, () => Z()), i(() =>
|
|
112
|
+
i(() => G.messages.value?.length ?? 0, () => Z()), i(() => S.visible, async (e) => {
|
|
113
113
|
if (e && !J.value) {
|
|
114
114
|
if (J.value = !0, await G.loadConversation(), !W.alive) return;
|
|
115
|
-
(G.messages.value?.length ?? 0) === 0 && H.content.value.blocks.length === 0 && G.loadSuggestions(H.content.value, U);
|
|
115
|
+
(G.messages.value?.length ?? 0) === 0 && H.content.value.blocks.length === 0 && G.loadSuggestions(H.content.value, U.value);
|
|
116
116
|
}
|
|
117
117
|
});
|
|
118
118
|
async function Q() {
|
|
119
119
|
let e = K.value.trim();
|
|
120
|
-
e && !G.isGenerating.value && (K.value = "", G.error.value = null, G.failedPrompt.value = null, Z(), await G.sendPrompt(e, H.content.value, U), W.alive && (G.failedPrompt.value && (K.value = G.failedPrompt.value), Z()));
|
|
120
|
+
e && !G.isGenerating.value && (K.value = "", G.error.value = null, G.failedPrompt.value = null, Z(), await G.sendPrompt(e, H.content.value, U.value), W.alive && (G.failedPrompt.value && (K.value = G.failedPrompt.value), Z()));
|
|
121
121
|
}
|
|
122
122
|
function $(e) {
|
|
123
123
|
return e.replace(/```json[\s\S]*?```/g, "").replace(/```json[\s\S]*/g, "").trim();
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function Oe(e) {
|
|
126
126
|
X(), K.value = e, Q();
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function ke(e) {
|
|
129
129
|
e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Q());
|
|
130
130
|
}
|
|
131
|
-
return (n, i) => (e(),
|
|
131
|
+
return (n, i) => (e(), p(re, {
|
|
132
132
|
"enter-active-class": "tpl-ai-slide-enter-active",
|
|
133
133
|
"enter-from-class": "tpl:translate-x-full",
|
|
134
134
|
"enter-to-class": "tpl:translate-x-0",
|
|
@@ -136,42 +136,42 @@ var w = y({
|
|
|
136
136
|
"leave-from-class": "tpl:translate-x-0",
|
|
137
137
|
"leave-to-class": "tpl:translate-x-full"
|
|
138
138
|
}, {
|
|
139
|
-
default: t(() => [
|
|
140
|
-
s("div",
|
|
139
|
+
default: t(() => [g.visible ? (e(), c("div", D, [
|
|
140
|
+
s("div", O, [s("div", k, [l(o(b), {
|
|
141
141
|
size: 13,
|
|
142
142
|
"stroke-width": 2
|
|
143
|
-
}), s("span", null, d(o(V).aiChat.title), 1)]), s("div",
|
|
143
|
+
}), s("span", null, d(o(V).aiChat.title), 1)]), s("div", A, [(o(G).messages.value?.length ?? 0) > 0 ? (e(), c("button", {
|
|
144
144
|
key: 0,
|
|
145
145
|
class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
|
|
146
146
|
title: o(V).aiChat.clear,
|
|
147
147
|
onClick: i[0] ||= (e) => o(G).clearChat()
|
|
148
|
-
}, [l(o(
|
|
148
|
+
}, [l(o(pe), {
|
|
149
149
|
size: 14,
|
|
150
150
|
"stroke-width": 2
|
|
151
|
-
})], 8,
|
|
151
|
+
})], 8, j)) : h("", !0), s("button", {
|
|
152
152
|
class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
|
|
153
153
|
onClick: i[1] ||= (e) => B("close")
|
|
154
|
-
}, [l(o(
|
|
154
|
+
}, [l(o(me), {
|
|
155
155
|
size: 14,
|
|
156
156
|
"stroke-width": 2
|
|
157
157
|
})])])]),
|
|
158
|
-
s("div",
|
|
158
|
+
s("div", M, [
|
|
159
159
|
s("div", {
|
|
160
160
|
ref_key: "messagesContainer",
|
|
161
161
|
ref: q,
|
|
162
162
|
class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4"
|
|
163
|
-
}, [o(G).isLoadingHistory.value ? (e(), c("div",
|
|
163
|
+
}, [o(G).isLoadingHistory.value ? (e(), c("div", N, [l(o(de), {
|
|
164
164
|
class: "tpl-spinner tpl:text-[var(--tpl-text-muted)]",
|
|
165
165
|
size: 24,
|
|
166
166
|
"stroke-width": 2
|
|
167
|
-
}), s("p",
|
|
167
|
+
}), s("p", P, d(o(V).aiChat.loadingHistory), 1)])) : (o(G).messages.value?.length ?? 0) === 0 ? (e(), c("div", F, [l(o(b), {
|
|
168
168
|
size: 32,
|
|
169
169
|
"stroke-width": 1.5,
|
|
170
170
|
class: "tpl:text-[var(--tpl-text-dim)]"
|
|
171
|
-
}), s("p",
|
|
171
|
+
}), s("p", I, d(o(V).aiChat.placeholder), 1)])) : (e(), c("div", L, [(e(!0), c(m, null, r(o(G).messages.value, (t, n) => (e(), c("div", {
|
|
172
172
|
key: t.id,
|
|
173
173
|
class: "tpl:flex tpl:flex-col tpl:gap-2"
|
|
174
|
-
}, [t.role === "user" ? (e(), c("div",
|
|
174
|
+
}, [t.role === "user" ? (e(), c("div", R, d(t.content), 1)) : (e(), c("div", z, [!$(t.content) && o(G).isGenerating.value && n === (o(G).messages.value?.length ?? 0) - 1 ? (e(), p(x, { key: 0 })) : (e(), c("div", he, d($(t.content) || o(V).aiChat.applied), 1)), t.id === o(G).lastApplyMessageId.value && !o(G).isGenerating.value ? (e(), c("button", {
|
|
175
175
|
key: 2,
|
|
176
176
|
class: "tpl:inline-flex tpl:items-center tpl:gap-1.5 tpl:self-start tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all",
|
|
177
177
|
style: {
|
|
@@ -180,49 +180,49 @@ var w = y({
|
|
|
180
180
|
"background-color": "transparent"
|
|
181
181
|
},
|
|
182
182
|
onClick: i[2] ||= (e) => o(G).toggleLastRevert()
|
|
183
|
-
}, [o(G).isLastChangeReverted.value ? (e(), c(
|
|
183
|
+
}, [o(G).isLastChangeReverted.value ? (e(), c(m, { key: 0 }, [l(o(T), {
|
|
184
184
|
size: 12,
|
|
185
185
|
"stroke-width": 2
|
|
186
|
-
}), u(" " + d(o(V).aiChat.reapply), 1)], 64)) : (e(), c(
|
|
186
|
+
}), u(" " + d(o(V).aiChat.reapply), 1)], 64)) : (e(), c(m, { key: 1 }, [l(o(E), {
|
|
187
187
|
size: 12,
|
|
188
188
|
"stroke-width": 2
|
|
189
|
-
}), u(" " + d(o(V).aiChat.revert), 1)], 64))])) :
|
|
190
|
-
o(G).error.value ? (e(), c("div",
|
|
189
|
+
}), u(" " + d(o(V).aiChat.revert), 1)], 64))])) : h("", !0)]))]))), 128))]))], 512),
|
|
190
|
+
o(G).error.value ? (e(), c("div", ge, [l(o(ue), {
|
|
191
191
|
size: 14,
|
|
192
192
|
"stroke-width": 2,
|
|
193
193
|
class: "tpl:mt-0.5 tpl:shrink-0"
|
|
194
|
-
}), s("span", null, d(o(G).error.value === "ai_apply_failed" ? o(V).aiChat.applyFailed : o(V).aiChat.error), 1)])) :
|
|
195
|
-
(o(G).suggestions.value?.length ?? 0) > 0 ? (e(), c("div",
|
|
194
|
+
}), s("span", null, d(o(G).error.value === "ai_apply_failed" ? o(V).aiChat.applyFailed : o(V).aiChat.error), 1)])) : h("", !0),
|
|
195
|
+
(o(G).suggestions.value?.length ?? 0) > 0 ? (e(), c("div", _e, [s("div", ve, [(e(!0), c(m, null, r(o(G).suggestions.value ?? [], (t, n) => (e(), c("button", {
|
|
196
196
|
key: n,
|
|
197
|
-
class:
|
|
197
|
+
class: f(["tpl-suggestion-btn tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:px-3 tpl:py-2 tpl:text-left tpl:text-xs tpl:leading-snug tpl:transition-all tpl:duration-300 tpl:ease-out", (o(G).suggestions.value?.length ?? 0) - 1 - n < Y.value ? "tpl:translate-y-0 tpl:opacity-100" : "tpl:pointer-events-none tpl:-translate-y-2 tpl:opacity-0"]),
|
|
198
198
|
style: {
|
|
199
199
|
"border-color": "var(--tpl-border)",
|
|
200
200
|
color: "var(--tpl-primary)",
|
|
201
201
|
"background-color": "var(--tpl-bg)",
|
|
202
202
|
"box-shadow": "var(--tpl-shadow)"
|
|
203
203
|
},
|
|
204
|
-
onClick: (e) =>
|
|
205
|
-
}, d(t), 11,
|
|
204
|
+
onClick: (e) => Oe(t)
|
|
205
|
+
}, d(t), 11, ye))), 128))])])) : h("", !0)
|
|
206
206
|
]),
|
|
207
|
-
s("div",
|
|
207
|
+
s("div", be, [s("div", xe, [te(s("textarea", {
|
|
208
208
|
"onUpdate:modelValue": i[3] ||= (e) => K.value = e,
|
|
209
209
|
class: "tpl:max-h-32 tpl:min-h-[64px] tpl:flex-1 tpl:resize-none tpl:border-none tpl:bg-transparent tpl:font-sans tpl:text-sm tpl:outline-none tpl:text-[var(--tpl-text)]",
|
|
210
210
|
placeholder: o(V).aiChat.inputPlaceholder,
|
|
211
211
|
disabled: o(G).isGenerating.value,
|
|
212
212
|
rows: "3",
|
|
213
|
-
onKeydown:
|
|
214
|
-
}, null, 40,
|
|
213
|
+
onKeydown: ke
|
|
214
|
+
}, null, 40, Se), [[ne, K.value]]), s("button", {
|
|
215
215
|
class: "tpl-ai-send-btn tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-md tpl:p-1.5 tpl:transition-all tpl:disabled:opacity-40 tpl:text-[var(--tpl-primary)]",
|
|
216
216
|
disabled: !K.value.trim() || o(G).isGenerating.value,
|
|
217
217
|
onClick: Q
|
|
218
|
-
}, [l(o(
|
|
218
|
+
}, [l(o(fe), {
|
|
219
219
|
size: 16,
|
|
220
220
|
"stroke-width": 2
|
|
221
|
-
})], 8,
|
|
222
|
-
])) :
|
|
221
|
+
})], 8, Ce)]), s("p", we, d(o(V).aiMenu.disclaimer), 1)])
|
|
222
|
+
])) : h("", !0)]),
|
|
223
223
|
_: 1
|
|
224
224
|
}));
|
|
225
225
|
}
|
|
226
|
-
}), [["__scopeId", "data-v-
|
|
226
|
+
}), [["__scopeId", "data-v-14f74f56"]]);
|
|
227
227
|
//#endregion
|
|
228
228
|
export { B as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { A as e, At as t, F as n, M as r, c as i, d as a, jt as o, l as s, r as c, s as l, v as u } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
2
|
-
import "./useEditorCore-
|
|
3
|
-
import {
|
|
4
|
-
import { t as p } from "./image-up-
|
|
5
|
-
import { t as m } from "./shield-check-
|
|
6
|
-
import { t as h } from "./sparkles-
|
|
2
|
+
import "./useEditorCore-jfwgLThK.js";
|
|
3
|
+
import { Z as d, t as f } from "./keys-DD1rl72F.js";
|
|
4
|
+
import { t as p } from "./image-up-CiyQNZBt.js";
|
|
5
|
+
import { t as m } from "./shield-check-DxaaurL9.js";
|
|
6
|
+
import { t as h } from "./sparkles-D6T6k30e.js";
|
|
7
7
|
import { t as g } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
8
|
-
import { n as _ } from "./useCloudI18n-
|
|
8
|
+
import { n as _ } from "./useCloudI18n-C1wuXik6.js";
|
|
9
9
|
//#region src/cloud/components/AiFeatureMenu.vue?vue&type=script&setup=true&lang.ts
|
|
10
10
|
var v = { class: "tpl-ai-feature-menu tpl:w-[280px] tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:py-1 tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:shadow-[var(--tpl-shadow-lg)]" }, y = ["onClick"], b = { class: "tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-0.5" }, x = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]" }, S = { class: "tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text-muted)]" }, C = /*#__PURE__*/ g(/* @__PURE__ */ u({
|
|
11
11
|
__name: "AiFeatureMenu",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { A as e, S as t, at as n, d as r, kt as i, l as a, s as o, u as s, v as c } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as u } from "./useI18n-
|
|
4
|
-
import { t as d } from "./circle-alert-
|
|
5
|
-
import { t as f } from "./triangle-alert-
|
|
2
|
+
import { W as l } from "./keys-DD1rl72F.js";
|
|
3
|
+
import { t as u } from "./useI18n-VOtdfENx.js";
|
|
4
|
+
import { t as d } from "./circle-alert-BiArYmkB.js";
|
|
5
|
+
import { t as f } from "./triangle-alert-CmNS2LLv.js";
|
|
6
6
|
//#region src/components/canvas/BlockIssueBadge.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var p = ["title", "aria-label"], m = /* @__PURE__ */ c({
|
|
8
8
|
__name: "BlockIssueBadge",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
2
|
import { A as t, At as n, F as r, M as i, P as a, S as o, at as s, c, d as l, j as u, l as d, r as f, s as p, v as m } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
3
3
|
import { R as h } from "./dist-tGkjkX-v.js";
|
|
4
|
-
import { L as g, a as _, b as v, d as y, f as b, g as x, h as S, i as C, l as w, m as T, n as E, p as D, r as O, v as k, y as A } from "./useEditorCore-
|
|
5
|
-
import {
|
|
4
|
+
import { L as g, a as _, b as v, d as y, f as b, g as x, h as S, i as C, l as w, m as T, n as E, p as D, r as O, v as k, y as A } from "./useEditorCore-jfwgLThK.js";
|
|
5
|
+
import { X as j, f as M, g as N, j as P, s as F } from "./keys-DD1rl72F.js";
|
|
6
6
|
import { n as I, t as L } from "./emailFrameWidth-BmFCN2dp.js";
|
|
7
7
|
//#region src/components/blocks/PreviewSectionBlock.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var R = { class: "tpl:w-full" }, z = { class: "tpl:flex tpl:gap-0" }, B = /* @__PURE__ */ m({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as e, B as t, _ as n, at as r, c as i, d as a, g as o, h as s, jt as c, kt as l, l as u, r as d, u as f, v as p } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
2
2
|
import { c as m, t as h } from "./runtime-dom.esm-bundler-PnoZU512.js";
|
|
3
|
-
import { t as g } from "./sparkles-
|
|
4
|
-
import { n as _ } from "./useCloudI18n-
|
|
3
|
+
import { t as g } from "./sparkles-D6T6k30e.js";
|
|
4
|
+
import { n as _ } from "./useCloudI18n-C1wuXik6.js";
|
|
5
5
|
//#region src/cloud/components/CloudHeaderExtras.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var v = {
|
|
7
7
|
key: 0,
|
|
@@ -17,7 +17,7 @@ var v = {
|
|
|
17
17
|
cloud: {}
|
|
18
18
|
},
|
|
19
19
|
setup(p) {
|
|
20
|
-
let x = n(() => import("./CollaboratorBar-
|
|
20
|
+
let x = n(() => import("./CollaboratorBar-Co9UPoB0.js")), S = n(() => import("./AiFeatureMenu-C1HCntyQ.js")), { t: C, format: w } = _();
|
|
21
21
|
return (n, _) => p.part === "left" ? (e(), a(d, { key: 0 }, [p.cloud.featureFlags.templateLimit.value === null ? f("", !0) : (e(), a("span", v, c(r(w)(r(C).header.templatesUsed, {
|
|
22
22
|
used: p.cloud.featureFlags.templateCount.value,
|
|
23
23
|
max: p.cloud.featureFlags.templateLimit.value
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { A as e, B as t, M as n, _ as r, at as i, c as a, d as o, g as s, jt as c, l, m as u, r as d, u as f, v as p } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
2
2
|
import { c as m, t as h } from "./runtime-dom.esm-bundler-PnoZU512.js";
|
|
3
|
-
import { t as g } from "./useI18n-
|
|
4
|
-
import { t as _ } from "./circle-alert-
|
|
5
|
-
import { t as v } from "./triangle-alert-
|
|
6
|
-
import { n as y } from "./useCloudI18n-
|
|
3
|
+
import { t as g } from "./useI18n-VOtdfENx.js";
|
|
4
|
+
import { t as _ } from "./circle-alert-BiArYmkB.js";
|
|
5
|
+
import { t as v } from "./triangle-alert-CmNS2LLv.js";
|
|
6
|
+
import { n as y } from "./useCloudI18n-C1wuXik6.js";
|
|
7
7
|
//#region src/cloud/components/CloudErrorOverlay.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var b = {
|
|
9
9
|
key: 0,
|
|
@@ -123,7 +123,7 @@ var b = {
|
|
|
123
123
|
ready: {}
|
|
124
124
|
},
|
|
125
125
|
setup(n) {
|
|
126
|
-
let a = r(() => import("./AiChatSidebar-
|
|
126
|
+
let a = r(() => import("./AiChatSidebar-jVlXXND3.js")), c = r(() => import("./DesignReferenceSidebar-DedivZZl.js")), l = r(() => import("./TemplateScoringPanel-m2FOeaai.js")), u = n;
|
|
127
127
|
function f(e) {
|
|
128
128
|
u.core.history.record(), u.editor.setContent(e), u.core.conditionPreview.reset();
|
|
129
129
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as e, At as t, M as n, at as r, c as i, d as a, jt as o, l as s, r as c, s as l, u, v as d } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
2
|
-
import "./useEditorCore-
|
|
3
|
-
import { t as f } from "./createLucideIcon-
|
|
4
|
-
import { n as p } from "./useCloudI18n-
|
|
2
|
+
import "./useEditorCore-jfwgLThK.js";
|
|
3
|
+
import { t as f } from "./createLucideIcon-CDDkF1Tm.js";
|
|
4
|
+
import { n as p } from "./useCloudI18n-C1wuXik6.js";
|
|
5
5
|
import { t as m } from "./readableTextColor-f8Kykfnh.js";
|
|
6
6
|
var h = f({
|
|
7
7
|
name: "wifi-off",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { A as e, At as t, B as n, M as r, S as i, Z as a, at as o, c as s, d as c, g as l, i as ee, kt as u, l as te, r as ne, s as d, u as f, v as p } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
2
2
|
import { c as re, s as m, t as ie } from "./runtime-dom.esm-bundler-PnoZU512.js";
|
|
3
3
|
import { t as ae } from "./dist-DBirAJIs.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as le } from "./useI18n-
|
|
6
|
-
import { a as ue, i as h, n as de, r as g, t as fe } from "./usePopoverPosition-
|
|
7
|
-
import { t as _ } from "./x-
|
|
4
|
+
import { K as oe, Y as se, d as ce } from "./keys-DD1rl72F.js";
|
|
5
|
+
import { t as le } from "./useI18n-VOtdfENx.js";
|
|
6
|
+
import { a as ue, i as h, n as de, r as g, t as fe } from "./usePopoverPosition-gZjRywai.js";
|
|
7
|
+
import { t as _ } from "./x-B7sgO_z8.js";
|
|
8
8
|
import { u as pe } from "./styleConstants-C_YAPdQS.js";
|
|
9
9
|
//#region ../../node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/utils/math.js
|
|
10
10
|
var v = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, y = (e, t = 0, n = 10 ** t) => Math.round(n * e) / n;
|
|
@@ -304,7 +304,7 @@ var ge = [
|
|
|
304
304
|
ae(C, () => {
|
|
305
305
|
S.value = !1;
|
|
306
306
|
}, { ignore: [w] });
|
|
307
|
-
let E = d(() => !y.modelValue), D = d(() => h(y.modelValue)), O = d(() => h(y.modelValue || y.seedColor)), k = d(() => !y.disabled && !E.value), A = i(
|
|
307
|
+
let E = d(() => !y.modelValue), D = d(() => h(y.modelValue)), O = d(() => h(y.modelValue || y.seedColor)), k = d(() => !y.disabled && !E.value), A = i(ce, ue), j = d(() => [...new Set(y.presets ?? A.presets)]), M = d(() => y.allowCustom ?? A.allowCustom), N = d(() => j.value.length > 0), P = d(() => M.value || !N.value), F = d(() => g(y.modelValue));
|
|
308
308
|
function I(e) {
|
|
309
309
|
return F.value !== "" && g(e) === F.value;
|
|
310
310
|
}
|
|
@@ -351,7 +351,7 @@ var ge = [
|
|
|
351
351
|
function J() {
|
|
352
352
|
b("update:modelValue", "");
|
|
353
353
|
}
|
|
354
|
-
let Y = de(), { toLocal: X } = fe(), Z = i(oe, null), me = i(
|
|
354
|
+
let Y = de(), { toLocal: X } = fe(), Z = i(oe, null), me = i(se, null), Q = a({
|
|
355
355
|
top: 0,
|
|
356
356
|
left: 0
|
|
357
357
|
});
|
|
@@ -5,7 +5,7 @@ var o = /* @__PURE__ */ a({
|
|
|
5
5
|
__name: "CommentsPanel",
|
|
6
6
|
props: { feature: {} },
|
|
7
7
|
setup(a) {
|
|
8
|
-
let o = t(() => import("./CommentsSidebar-
|
|
8
|
+
let o = t(() => import("./CommentsSidebar-gDU977br.js"));
|
|
9
9
|
return (t, s) => a.feature.isOpen.value ? (e(), r(n(o), {
|
|
10
10
|
key: 0,
|
|
11
11
|
visible: a.feature.isOpen.value,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { A as e, At as t, B as n, E as r, M as i, R as a, V as o, Z as s, at as c, c as l, d as u, g as d, h as ee, jt as f, kt as p, l as m, r as h, s as g, u as _, v } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
2
2
|
import { a as y, t as b } from "./runtime-dom.esm-bundler-PnoZU512.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as re } from "./useI18n-
|
|
5
|
-
import { t as x } from "./createLucideIcon-
|
|
6
|
-
import { t as ie } from "./check-
|
|
7
|
-
import { t as ae } from "./chevron-down-
|
|
8
|
-
import { t as oe } from "./chevron-up-
|
|
9
|
-
import { t as S } from "./loader-circle-
|
|
10
|
-
import { t as C } from "./message-circle-
|
|
11
|
-
import { t as w } from "./pencil-
|
|
12
|
-
import { t as T } from "./send-
|
|
13
|
-
import { t as E } from "./trash-
|
|
14
|
-
import { t as D } from "./x-
|
|
3
|
+
import { Z as te, g as ne } from "./keys-DD1rl72F.js";
|
|
4
|
+
import { t as re } from "./useI18n-VOtdfENx.js";
|
|
5
|
+
import { t as x } from "./createLucideIcon-CDDkF1Tm.js";
|
|
6
|
+
import { t as ie } from "./check-9xX6RVHz.js";
|
|
7
|
+
import { t as ae } from "./chevron-down-J5hFJ6TL.js";
|
|
8
|
+
import { t as oe } from "./chevron-up-Qfi5k52_.js";
|
|
9
|
+
import { t as S } from "./loader-circle-D9ZL3Sv0.js";
|
|
10
|
+
import { t as C } from "./message-circle-KTHxCcpB.js";
|
|
11
|
+
import { t as w } from "./pencil-Bq-nbQ7F.js";
|
|
12
|
+
import { t as T } from "./send-DaVMQphu.js";
|
|
13
|
+
import { t as E } from "./trash-DBv8MGY6.js";
|
|
14
|
+
import { t as D } from "./x-B7sgO_z8.js";
|
|
15
15
|
import { t as O } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
16
16
|
import { t as se } from "./formatRelativeTime-CtUU-QZ8.js";
|
|
17
17
|
var ce = x({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as e, At as t, M as n, Z as r, at as i, c as a, d as o, jt as s, r as c, s as l, u, v as d } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
2
2
|
import { g as f } from "./dist-D8i1ixHK.js";
|
|
3
|
-
import { t as p } from "./useI18n-
|
|
3
|
+
import { t as p } from "./useI18n-VOtdfENx.js";
|
|
4
4
|
//#region src/components/blocks/CountdownBlock.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var m = {
|
|
6
6
|
key: 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as e, B as t, M as n, at as r, c as i, d as a, g as o, jt as s, kt as c, l, r as u, s as d, v as f } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
2
|
-
import { t as p } from "./useI18n-
|
|
2
|
+
import { t as p } from "./useI18n-VOtdfENx.js";
|
|
3
3
|
import { p as m } from "./styleConstants-C_YAPdQS.js";
|
|
4
|
-
import { t as h } from "./ColorPicker-
|
|
4
|
+
import { t as h } from "./ColorPicker-BTtN94te.js";
|
|
5
5
|
import { i as g, n as _, r as v, t as y } from "./FieldRow-C8nOknr_.js";
|
|
6
6
|
//#region src/components/toolbar/CountdownToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var b = ["value"], x = ["value"], S = ["value"], C = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, w = ["value"], T = { value: "" }, E = ["value"], D = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, O = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, k = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, A = [
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { A as e, At as t, B as n, D as ee, R as r, V as te, Z as i, at as a, c as o, d as s, g as c, h as l, jt as u, kt as ne, l as re, s as ie, u as d, v as f } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
2
2
|
import { a as ae, t as oe } from "./runtime-dom.esm-bundler-PnoZU512.js";
|
|
3
|
-
import {
|
|
3
|
+
import { Z as p, g as se, i as ce } from "./keys-DD1rl72F.js";
|
|
4
4
|
import "./timeouts-DHPZQ0G3.js";
|
|
5
|
-
import { t as m } from "./createLucideIcon-
|
|
6
|
-
import { t as le } from "./circle-alert-
|
|
7
|
-
import { t as h } from "./image-up-
|
|
8
|
-
import { t as ue } from "./upload-
|
|
9
|
-
import { t as g } from "./x-
|
|
5
|
+
import { t as m } from "./createLucideIcon-CDDkF1Tm.js";
|
|
6
|
+
import { t as le } from "./circle-alert-BiArYmkB.js";
|
|
7
|
+
import { t as h } from "./image-up-CiyQNZBt.js";
|
|
8
|
+
import { t as ue } from "./upload-DDB9Fs0P.js";
|
|
9
|
+
import { t as g } from "./x-B7sgO_z8.js";
|
|
10
10
|
import { t as de } from "./LoadingTrack-BlTL4zFv.js";
|
|
11
11
|
import { t as _ } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
-
import { n as fe } from "./useCloudI18n-
|
|
12
|
+
import { n as fe } from "./useCloudI18n-C1wuXik6.js";
|
|
13
13
|
import { _ as pe } from "./cloud-DdidMW6f.js";
|
|
14
14
|
var me = m({
|
|
15
15
|
name: "file-image",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { A as e, F as t, M as n, S as r, at as i, c as a, d as o, g as s, h as c, jt as l, kt as u, l as d, r as f, s as p, u as m, v as h } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as v } from "./useI18n-
|
|
4
|
-
import { t as y } from "./createLucideIcon-
|
|
5
|
-
import { t as b } from "./circle-alert-
|
|
6
|
-
import { t as x } from "./info-
|
|
7
|
-
import { n as S, t as C } from "./useScrollToBlock-
|
|
8
|
-
import { t as w } from "./triangle-alert-
|
|
2
|
+
import { W as g, g as _ } from "./keys-DD1rl72F.js";
|
|
3
|
+
import { t as v } from "./useI18n-VOtdfENx.js";
|
|
4
|
+
import { t as y } from "./createLucideIcon-CDDkF1Tm.js";
|
|
5
|
+
import { t as b } from "./circle-alert-BiArYmkB.js";
|
|
6
|
+
import { t as x } from "./info-D6A1qEiF.js";
|
|
7
|
+
import { n as S, t as C } from "./useScrollToBlock-C0Ehnyl4.js";
|
|
8
|
+
import { t as w } from "./triangle-alert-CmNS2LLv.js";
|
|
9
9
|
var T = y({
|
|
10
10
|
name: "arrow-right",
|
|
11
11
|
size: 24,
|
|
@@ -11,7 +11,7 @@ var o = /* @__PURE__ */ a({
|
|
|
11
11
|
popoverTarget: {}
|
|
12
12
|
},
|
|
13
13
|
setup(a) {
|
|
14
|
-
let o = a, s = t(async () => (await import("./editor-modal-
|
|
14
|
+
let o = a, s = t(async () => (await import("./editor-modal-uAEB6xKz.js")).MediaLibraryModal);
|
|
15
15
|
function c(e) {
|
|
16
16
|
o.feature.select(e);
|
|
17
17
|
}
|