@templatical/editor 0.35.0 → 0.36.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-DPHbCGu4.js → AiChatSidebar-tu4eLcf_.js} +57 -57
- package/dist/{AiFeatureMenu--8z7qvg1.js → AiFeatureMenu-BF0i0vA4.js} +17 -17
- package/dist/{BlockIssueBadge-BGCsJqqM.js → BlockIssueBadge-DT-FqKeC.js} +9 -9
- package/dist/{BlockPreviewCanvas-DKspIy8V.js → BlockPreviewCanvas-DDCmMram.js} +28 -28
- package/dist/CloudHeaderExtras-NPhudovT.js +59 -0
- package/dist/{CloudPanels-Bp5gFtaL.js → CloudPanels-Iwnky0iA.js} +78 -108
- package/dist/{CollaboratorBar-DvwZm5u7.js → CollaboratorBar-DAITu0hz.js} +17 -17
- package/dist/{ColorPicker-DtozuN75.js → ColorPicker-BqlZ_TqG.js} +193 -193
- package/dist/{CommentsPanel-3C-DsEjy.js → CommentsPanel-CDvgmWP1.js} +3 -3
- package/dist/{CommentsSidebar-go1FnjDW.js → CommentsSidebar-X_xqM3dR.js} +158 -158
- package/dist/{CountdownBlock-D1fsNsyS.js → CountdownBlock-ZFJIdbP6.js} +12 -12
- package/dist/{CountdownToolbar-SLBuij7Q.js → CountdownToolbar-DBFoG3a6.js} +67 -67
- package/dist/{DesignReferenceSidebar-rcE_BvUd.js → DesignReferenceSidebar--QtXjLrw.js} +57 -57
- package/dist/{FieldRow-BWt7ECqo.js → FieldRow-C8nOknr_.js} +39 -39
- package/dist/{IssuesPanel-Cig46N1i.js → IssuesPanel-BLbNFMSX.js} +38 -38
- package/dist/{LoadingTrack-SQXoZVf2.js → LoadingTrack-BlTL4zFv.js} +2 -2
- package/dist/MediaPanels-CMTAhDXB.js +43 -0
- package/dist/{MergeTagInput-D1hzsn2b.js → MergeTagInput-BEjzj4Iu.js} +115 -115
- package/dist/{MergeTagModeToggle-CH9wR5YF.js → MergeTagModeToggle-DKN6ihI5.js} +40 -40
- package/dist/{MergeTagSuggestion-CoCuzEmW.js → MergeTagSuggestion-DKoLEeoj.js} +21 -21
- package/dist/{ParagraphEditor-CT2AdMdZ.js → ParagraphEditor-1E9yzOfk.js} +231 -258
- package/dist/{RestoreVersionDialog-mdqgQxFR.js → RestoreVersionDialog-BMGUkcd8.js} +28 -28
- package/dist/{RichTextEditorContent-riOB-rKD.js → RichTextEditorContent-BnxbQUV9.js} +49 -59
- package/dist/{SaveBlockDialog-Cn2v4Lpj.js → SaveBlockDialog-WKASpCCT.js} +78 -78
- package/dist/SavedBlocksBrowserModal-AYEXTMtQ.js +323 -0
- package/dist/{SavedBlocksPanels-ffBnWuVU.js → SavedBlocksPanels-D_CpacTl.js} +6 -6
- package/dist/{SavedBlocksPickBar-BmQC2tWN.js → SavedBlocksPickBar-BHMwg-1G.js} +11 -11
- package/dist/{TemplateScoringPanel-CxAtdreR.js → TemplateScoringPanel-CSin43YM.js} +99 -98
- package/dist/{TestEmailModal-Cjn1padY.js → TestEmailModal-BxizsRCd.js} +59 -59
- package/dist/{TestEmailPanel-Bf3XZ1jn.js → TestEmailPanel-vd2e5HzT.js} +3 -3
- package/dist/TitleEditor-CLJ68Ty4.js +199 -0
- package/dist/TplModal-Q9fDgS1M.js +51 -0
- package/dist/{VersionHistoryMenu-CrNrGsaa.js → VersionHistoryMenu-eGYVhM4H.js} +41 -47
- package/dist/{VersionHistoryPanels-CsuQk6W3.js → VersionHistoryPanels-C7Ntrrfq.js} +4 -4
- package/dist/{VersionPreviewBanner-BqbO0Zss.js → VersionPreviewBanner-BbQXnR0M.js} +9 -9
- package/dist/{blockTypeIcons-D_4HdaY9.js → blockTypeIcons-5qD4bB76.js} +5 -17
- package/dist/bundle-stats.json +8 -8
- package/dist/ca-Jx2CDwtn.js +83 -0
- package/dist/cdn/chunks/{AiChatSidebar-D0f74_nS.js → AiChatSidebar-dyqqHAcI.js} +4 -4
- package/dist/cdn/chunks/{AiChatSidebar-D0f74_nS.js.map → AiChatSidebar-dyqqHAcI.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-DwGb3eF9.js → AiFeatureMenu-BjVMwhW8.js} +5 -5
- package/dist/cdn/chunks/{AiFeatureMenu-DwGb3eF9.js.map → AiFeatureMenu-BjVMwhW8.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-CosQgeJ-.js → BlockIssueBadge-BJ__oEtm.js} +4 -4
- package/dist/cdn/chunks/{BlockIssueBadge-CosQgeJ-.js.map → BlockIssueBadge-BJ__oEtm.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-CIpZ2a6g.js → BlockPreviewCanvas-B5f26eLE.js} +5 -5
- package/dist/cdn/chunks/{BlockPreviewCanvas-CIpZ2a6g.js.map → BlockPreviewCanvas-B5f26eLE.js.map} +1 -1
- package/dist/cdn/chunks/{CloudHeaderExtras-CQzQwKFB.js → CloudHeaderExtras-D5P5IEKA.js} +4 -4
- package/dist/cdn/chunks/{CloudHeaderExtras-CQzQwKFB.js.map → CloudHeaderExtras-D5P5IEKA.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-BmexuLOU.js → CloudPanels-DkmR05nB.js} +15 -45
- package/dist/cdn/chunks/{CloudPanels-BmexuLOU.js.map → CloudPanels-DkmR05nB.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-DEICobpp.js → CollaboratorBar-Yn7KSpt4.js} +4 -4
- package/dist/cdn/chunks/{CollaboratorBar-DEICobpp.js.map → CollaboratorBar-Yn7KSpt4.js.map} +1 -1
- package/dist/cdn/chunks/{ColorPicker-C7yC58FK.js → ColorPicker-LcrzgMoW.js} +7 -7
- package/dist/cdn/chunks/{ColorPicker-C7yC58FK.js.map → ColorPicker-LcrzgMoW.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-OjmKxLL7.js → CommentsPanel-CntwwocI.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-OjmKxLL7.js.map → CommentsPanel-CntwwocI.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-C4pWZGpy.js → CommentsSidebar-BLDKnKy7.js} +4 -4
- package/dist/cdn/chunks/{CommentsSidebar-C4pWZGpy.js.map → CommentsSidebar-BLDKnKy7.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-rK055jpy.js → CountdownBlock-B4AfqJwb.js} +2 -2
- package/dist/cdn/chunks/{CountdownBlock-rK055jpy.js.map → CountdownBlock-B4AfqJwb.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-wlJOxyAl.js → CountdownToolbar-CA1dpuOI.js} +3 -3
- package/dist/cdn/chunks/{CountdownToolbar-wlJOxyAl.js.map → CountdownToolbar-CA1dpuOI.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-DELhnh8h.js → DesignReferenceSidebar-D1Y9Hswe.js} +5 -5
- package/dist/cdn/chunks/{DesignReferenceSidebar-DELhnh8h.js.map → DesignReferenceSidebar-D1Y9Hswe.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-C9i3o8aE.js → IssuesPanel-Q62LTqvd.js} +5 -5
- package/dist/cdn/chunks/{IssuesPanel-C9i3o8aE.js.map → IssuesPanel-Q62LTqvd.js.map} +1 -1
- package/dist/cdn/chunks/MediaPanels-D21M6shx.js +45 -0
- package/dist/cdn/chunks/MediaPanels-D21M6shx.js.map +1 -0
- package/dist/cdn/chunks/{MergeTagInput-D76Kyvgu.js → MergeTagInput-l7paaAml.js} +7 -7
- package/dist/cdn/chunks/{MergeTagInput-D76Kyvgu.js.map → MergeTagInput-l7paaAml.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-Dz3gxN2y.js → MergeTagModeToggle-DYxkAGtA.js} +4 -4
- package/dist/cdn/chunks/{MergeTagModeToggle-Dz3gxN2y.js.map → MergeTagModeToggle-DYxkAGtA.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-DQn0HMfV.js → ParagraphEditor-Bd-GQXee.js} +15 -15
- package/dist/cdn/chunks/{ParagraphEditor-DQn0HMfV.js.map → ParagraphEditor-Bd-GQXee.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-BdjOL8Oy.js → RestoreVersionDialog-2X9RpM9A.js} +4 -4
- package/dist/cdn/chunks/{RestoreVersionDialog-BdjOL8Oy.js.map → RestoreVersionDialog-2X9RpM9A.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-Drzwgh0J.js → RichTextEditorContent-D_rb0rmU.js} +8 -8
- package/dist/cdn/chunks/{RichTextEditorContent-Drzwgh0J.js.map → RichTextEditorContent-D_rb0rmU.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-B3rbmXSM.js → SaveBlockDialog-CufdTomT.js} +15 -15
- package/dist/cdn/chunks/{SaveBlockDialog-B3rbmXSM.js.map → SaveBlockDialog-CufdTomT.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-CkUXlnd2.js → SavedBlocksBrowserModal-CqpaNsk7.js} +8 -8
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-CkUXlnd2.js.map → SavedBlocksBrowserModal-CqpaNsk7.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-BPi3PZKP.js → SavedBlocksPanels-DpxYxddo.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPanels-BPi3PZKP.js.map → SavedBlocksPanels-DpxYxddo.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-BvB9A5W2.js → SavedBlocksPickBar-Drpoav1B.js} +4 -4
- package/dist/cdn/chunks/{SavedBlocksPickBar-BvB9A5W2.js.map → SavedBlocksPickBar-Drpoav1B.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-BBCyLnOi.js → TemplateScoringPanel-DBjUNULq.js} +5 -5
- package/dist/cdn/chunks/{TemplateScoringPanel-BBCyLnOi.js.map → TemplateScoringPanel-DBjUNULq.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-DAGTsBqi.js → TestEmailModal-BTNlSW6f.js} +10 -10
- package/dist/cdn/chunks/{TestEmailModal-DAGTsBqi.js.map → TestEmailModal-BTNlSW6f.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-BfenVvfx.js → TestEmailPanel-D0A9Zgxr.js} +2 -2
- package/dist/cdn/chunks/{TestEmailPanel-BfenVvfx.js.map → TestEmailPanel-D0A9Zgxr.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-oQ4gr6wS.js → TitleEditor-CrnuIq62.js} +9 -9
- package/dist/cdn/chunks/{TitleEditor-oQ4gr6wS.js.map → TitleEditor-CrnuIq62.js.map} +1 -1
- package/dist/cdn/chunks/{TplModal-DxOMcVwp.js → TplModal-DYXrTz42.js} +5 -5
- package/dist/cdn/chunks/{TplModal-DxOMcVwp.js.map → TplModal-DYXrTz42.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-BfVUvWHT.js → VersionHistoryMenu-bDGnE4hb.js} +4 -4
- package/dist/cdn/chunks/VersionHistoryMenu-bDGnE4hb.js.map +1 -0
- package/dist/cdn/chunks/{VersionHistoryPanels-NpDb641L.js → VersionHistoryPanels-82P0Q0HM.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-NpDb641L.js.map → VersionHistoryPanels-82P0Q0HM.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-Cpgt4xHc.js → VersionPreviewBanner-BJiwKkVC.js} +3 -3
- package/dist/cdn/chunks/{VersionPreviewBanner-Cpgt4xHc.js.map → VersionPreviewBanner-BJiwKkVC.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-t9vvaiuH.js → blockTypeIcons-CNjJSFun.js} +2 -2
- package/dist/cdn/chunks/{blockTypeIcons-t9vvaiuH.js.map → blockTypeIcons-CNjJSFun.js.map} +1 -1
- package/dist/cdn/chunks/{ca-CNRWAMHI.js → ca-Jx2CDwtn.js} +2 -6
- package/dist/cdn/chunks/ca-Jx2CDwtn.js.map +1 -0
- package/dist/cdn/chunks/{cloud-CullB76F.js → cloud-BLgCKP7Z.js} +452 -227
- package/dist/cdn/chunks/cloud-BLgCKP7Z.js.map +1 -0
- package/dist/cdn/chunks/createCloudRuntime-U-qCH-dq.js +385 -0
- package/dist/cdn/chunks/createCloudRuntime-U-qCH-dq.js.map +1 -0
- package/dist/cdn/chunks/{de-DFYCT4QU.js → de-Ck0pBGHu.js} +2 -6
- package/dist/cdn/chunks/de-Ck0pBGHu.js.map +1 -0
- package/dist/cdn/chunks/{src-CaXeO-gG.js → editor-modal-MXgtarMl.js} +1474 -1935
- package/dist/cdn/chunks/editor-modal-MXgtarMl.js.map +1 -0
- package/dist/cdn/chunks/en-C9U7N77n.js +2 -0
- package/dist/cdn/chunks/{es-OgkdMZGX.js → es-lagTvUfX.js} +2 -6
- package/dist/cdn/chunks/es-lagTvUfX.js.map +1 -0
- package/dist/cdn/chunks/{extensions-BpXY7jO5.js → extensions-B8_jnIkD.js} +3 -3
- package/dist/cdn/chunks/{extensions-BpXY7jO5.js.map → extensions-B8_jnIkD.js.map} +1 -1
- package/dist/cdn/chunks/{fr-Dswns199.js → fr-C4hVl5Lk.js} +2 -6
- package/dist/cdn/chunks/fr-C4hVl5Lk.js.map +1 -0
- package/dist/cdn/chunks/{icons-BLxcQUck.js → icons-BUlqGSgd.js} +24 -24
- package/dist/cdn/chunks/{icons-BLxcQUck.js.map → icons-BUlqGSgd.js.map} +1 -1
- package/dist/cdn/chunks/{keys-DQp8x7Nx.js → keys-DBFhDFng.js} +4 -4
- package/dist/cdn/chunks/{keys-DQp8x7Nx.js.map → keys-DBFhDFng.js.map} +1 -1
- package/dist/cdn/chunks/{nl-CbcPJlrL.js → nl-CReD7Apd.js} +2 -6
- package/dist/cdn/chunks/nl-CReD7Apd.js.map +1 -0
- package/dist/cdn/chunks/{pt-BR-BibOQm-o.js → pt-BR-BRA0-vGP.js} +2 -6
- package/dist/cdn/chunks/pt-BR-BRA0-vGP.js.map +1 -0
- package/dist/cdn/chunks/{src-BC-eolWY.js → src-DZ0C9mH7.js} +2 -2
- package/dist/cdn/chunks/{src-BC-eolWY.js.map → src-DZ0C9mH7.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-MxgHWrV6.js → useCloudI18n-DSWSGj-A.js} +2 -2
- package/dist/cdn/chunks/{useCloudI18n-MxgHWrV6.js.map → useCloudI18n-DSWSGj-A.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-D4MytYB9.js → useEditorCore-Cs7rYVBo.js} +488 -406
- package/dist/cdn/chunks/useEditorCore-Cs7rYVBo.js.map +1 -0
- package/dist/cdn/chunks/{useEditorRoot-CteADR3y.js → useEditorRoot-B0zW2nT4.js} +2 -2
- package/dist/cdn/chunks/{useEditorRoot-CteADR3y.js.map → useEditorRoot-B0zW2nT4.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-Ct1VIFcf.js → useI18n-Dlo7R9RA.js} +2 -2
- package/dist/cdn/chunks/{useI18n-Ct1VIFcf.js.map → useI18n-Dlo7R9RA.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-CSocWpxV.js → useMergeTag-BYAifvh8.js} +3 -3
- package/dist/cdn/chunks/{useMergeTag-CSocWpxV.js.map → useMergeTag-BYAifvh8.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-BxVWE5_0.js → usePopoverPosition-ElP3ABaV.js} +2 -2
- package/dist/cdn/chunks/{usePopoverPosition-BxVWE5_0.js.map → usePopoverPosition-ElP3ABaV.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-Cz3fpgTK.js → useScrollToBlock-nTbWkgaU.js} +2 -2
- package/dist/cdn/chunks/{useScrollToBlock-Cz3fpgTK.js.map → useScrollToBlock-nTbWkgaU.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +1091 -1004
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-CY-Ec6FV.js → check-DWtkBzBU.js} +1 -1
- package/dist/{chevron-down-BghbWA9p.js → chevron-down-C-Fjxcqj.js} +1 -1
- package/dist/chevron-right-SOkn2d4P.js +11 -0
- package/dist/{chevron-up-n3qFAPS3.js → chevron-up-lntU1ypp.js} +1 -1
- package/dist/{circle-alert-L5uGGFRP.js → circle-alert-CjzUTwy3.js} +1 -1
- package/dist/{clock-Dgnwp18n.js → clock-pB2QKPsJ.js} +1 -1
- package/dist/{cloud-B1c4XIsn.js → cloud-DdidMW6f.js} +445 -200
- package/dist/copy-CId1E038.js +19 -0
- package/dist/createCloudRuntime-x5WZm3p8.js +383 -0
- package/dist/{createLucideIcon-05lB8iWe.js → createLucideIcon-Cwf_nTzE.js} +6 -6
- package/dist/de-Ck0pBGHu.js +83 -0
- package/dist/{dist-BxFbxpgW.js → dist-BVqAYoRB.js} +125 -125
- package/dist/dist-D8i1ixHK.js +177 -0
- package/dist/dist-DBirAJIs.js +410 -0
- package/dist/editor-modal-B_LaQf0s.js +5998 -0
- package/dist/en-DcmpWV53.js +2 -0
- package/dist/es-lagTvUfX.js +83 -0
- package/dist/{extensions-Bawm4BOM.js → extensions-CHOBZRab.js} +42 -42
- package/dist/eye-BuGtFUoJ.js +16 -0
- package/dist/fr-C4hVl5Lk.js +83 -0
- package/dist/{image-up-ovhjl9u9.js → image-up-gH4JEpU5.js} +1 -1
- package/dist/index.d.ts +77 -11
- package/dist/{info-c3KI927I.js → info-BQ60P82u.js} +1 -1
- package/dist/{keys-C3P1yxnr.js → keys-DQA2i1k1.js} +4 -4
- package/dist/link-3R8it3J7.js +14 -0
- package/dist/list-Ccdgj46T.js +33 -0
- package/dist/{loader-circle-B2Y8xZQb.js → loader-circle-B_tAD4k6.js} +1 -1
- package/dist/{message-circle-B7K-naUa.js → message-circle-P-KSc6V0.js} +1 -1
- package/dist/nl-CReD7Apd.js +83 -0
- package/dist/{pencil-BhWTFcp4.js → pencil-9ZiwqS4r.js} +1 -1
- package/dist/plus-BwJEzCaO.js +14 -0
- package/dist/pt-BR-BRA0-vGP.js +83 -0
- package/dist/{refresh-cw-BqUR5vgO.js → refresh-cw-DEgfb2FK.js} +2 -14
- package/dist/{runtime-dom.esm-bundler-BuG03jBM.js → runtime-dom.esm-bundler-PnoZU512.js} +106 -106
- package/dist/search-DqQ8Li5E.js +16 -0
- package/dist/{send-D1vvuW79.js → send-CE6uvqop.js} +1 -1
- package/dist/{shield-check-DjK54PnW.js → shield-check-DhD1Z3rd.js} +1 -1
- package/dist/{sparkles-DNdS9V_3.js → sparkles-R0ZQHa6F.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +2488 -2407
- package/dist/{text-align-start-Bcmo_VUY.js → text-align-start-DSux2UNn.js} +1 -1
- package/dist/{trash-C9bMXvw4.js → trash-Cf_SqsER.js} +1 -1
- package/dist/{triangle-alert-Bn8Bd2Yv.js → triangle-alert-C6tGa6jw.js} +1 -1
- package/dist/{upload-DKgg1gno.js → upload-DusKjpVr.js} +1 -1
- package/dist/{useAliveFlag-PVmp95MT.js → useAliveFlag-oyByIcjy.js} +1 -1
- package/dist/{useCloudI18n-BKoiYsWZ.js → useCloudI18n-BLyh_e2T.js} +2 -2
- package/dist/{useEditorCore-CYGvurZa.js → useEditorCore-DhlKOYwe.js} +1552 -1486
- package/dist/{useEditorRoot-DkRGTQRs.js → useEditorRoot-ds57-l6F.js} +2 -2
- package/dist/{useI18n-CL6RfPzK.js → useI18n-BbdxxpOE.js} +2 -2
- package/dist/{useMergeTag-C9GEpljB.js → useMergeTag-DlvOBW_B.js} +3 -3
- package/dist/{usePopoverPosition-CWxaIWd3.js → usePopoverPosition-CprM5p-c.js} +2 -2
- package/dist/{useScrollToBlock-oUx1HIZ2.js → useScrollToBlock-BTFw0b9O.js} +3 -3
- package/dist/{vue.runtime.esm-bundler-D9JUcKrV.js → vue.runtime.esm-bundler-DShF3P6k.js} +1192 -1181
- package/dist/{x-BPKoRPTG.js → x-D_-42Ukq.js} +1 -1
- package/package.json +9 -12
- package/dist/CloudHeaderExtras-CRUQvgSV.js +0 -59
- package/dist/SavedBlocksBrowserModal-BORqqASb.js +0 -322
- package/dist/TitleEditor-pYEUX6lR.js +0 -198
- package/dist/TplModal-DRx4ytx8.js +0 -51
- package/dist/cdn/chunks/VersionHistoryMenu-BfVUvWHT.js.map +0 -1
- package/dist/cdn/chunks/ca-CNRWAMHI.js.map +0 -1
- package/dist/cdn/chunks/cloud-CullB76F.js.map +0 -1
- package/dist/cdn/chunks/createCloudRuntime-Cx2JpUYU.js +0 -443
- package/dist/cdn/chunks/createCloudRuntime-Cx2JpUYU.js.map +0 -1
- package/dist/cdn/chunks/de-DFYCT4QU.js.map +0 -1
- package/dist/cdn/chunks/en-rGHphLWo.js +0 -2
- package/dist/cdn/chunks/es-OgkdMZGX.js.map +0 -1
- package/dist/cdn/chunks/fr-Dswns199.js.map +0 -1
- package/dist/cdn/chunks/nl-CbcPJlrL.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-BibOQm-o.js.map +0 -1
- package/dist/cdn/chunks/src-CaXeO-gG.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-D4MytYB9.js.map +0 -1
- package/dist/createCloudRuntime-PevFSH74.js +0 -441
- package/dist/dist-dNiknO7j.js +0 -251
- package/dist/dist-heatwAdo.js +0 -150
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import { A as e, At as t, K as n, S as r, at as i, c as a, d as o, g as s, h as c, i as l, jt as u, kt as d, l as f, r as p, s as m, u as h, v as g } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
2
|
+
import { C as ee, S as te } from "./useEditorCore-DhlKOYwe.js";
|
|
3
|
+
import { T as ne, W as re, k as _, q as v } from "./keys-DQA2i1k1.js";
|
|
4
|
+
import { t as y } from "./useI18n-BbdxxpOE.js";
|
|
5
|
+
import { n as b } from "./usePopoverPosition-CprM5p-c.js";
|
|
6
|
+
import { i as x, n as S, r as ie, t as ae } from "./RichTextEditorContent-BnxbQUV9.js";
|
|
7
|
+
import { o as oe, s as se } from "./MergeTagInput-BEjzj4Iu.js";
|
|
8
|
+
import { t as ce } from "./link-3R8it3J7.js";
|
|
9
|
+
import { t as C } from "./loader-circle-B_tAD4k6.js";
|
|
10
|
+
//#region src/components/blocks/TitleEditor.vue?vue&type=script&setup=true&lang.ts
|
|
11
|
+
var w = { class: "tpl-text-editor-wrapper tpl:relative" }, T = ["data-tpl-theme", "aria-label"], E = ["aria-label", "title"], D = ["aria-label", "title"], O = ["aria-label", "title"], k = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "tpl:mx-1.5 tpl:h-6 tpl:w-px tpl:bg-[var(--tpl-border)]"
|
|
14
|
+
}, A = ["aria-label", "title"], j = {
|
|
15
|
+
key: 2,
|
|
16
|
+
class: "tpl:mx-1.5 tpl:h-6 tpl:w-px tpl:bg-[var(--tpl-border)]"
|
|
17
|
+
}, M = ["aria-label", "title"], N = {
|
|
18
|
+
key: 1,
|
|
19
|
+
class: "tpl:flex tpl:items-center tpl:gap-2 tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
|
|
20
|
+
}, P = /* @__PURE__ */ g({
|
|
21
|
+
__name: "TitleEditor",
|
|
22
|
+
props: {
|
|
23
|
+
block: {},
|
|
24
|
+
toolbarPosition: {}
|
|
25
|
+
},
|
|
26
|
+
emits: ["done"],
|
|
27
|
+
setup(g, { emit: P }) {
|
|
28
|
+
let F = g, I = P, L = r(re, null), R = r(v, null), z = b(), B = r(_, null), V = r(ne, null), le = m(() => (B?.isOpen.value ?? !1) || (V?.isOpen.value ?? !1)), { t: H } = y(), { editor: U, EditorContent: W, isLoading: G, initError: ue, retry: de, showLinkDialog: fe, linkUrl: K, linkColor: q, linkDialogRef: J, canRequestMergeTag: Y, canInsertLogicTag: X, openLinkDialog: Z, insertLink: pe, removeLink: me, closeLinkDialog: he, handleLinkKeydown: ge, handleAddMergeTag: Q, handleAddLogicTag: $ } = te({
|
|
29
|
+
blockId: () => F.block.id,
|
|
30
|
+
blockContent: () => F.block.content,
|
|
31
|
+
onDone: () => I("done"),
|
|
32
|
+
editorName: "TitleEditor",
|
|
33
|
+
async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
|
|
34
|
+
let [{ Editor: a, EditorContent: o }, { default: s }, { default: c }, { MergeTagNode: l, MergeTagSuggestion: u, LogicMergeTagNode: d, LineBoundaryKeys: f }] = await Promise.all([
|
|
35
|
+
import("./dist-BVqAYoRB.js").then((e) => e.r),
|
|
36
|
+
import("./dist-DkcA6epL.js"),
|
|
37
|
+
import("./dist-C1tsW_99.js"),
|
|
38
|
+
import("./extensions-CHOBZRab.js")
|
|
39
|
+
]);
|
|
40
|
+
return {
|
|
41
|
+
TiptapEditor: a,
|
|
42
|
+
EC: o,
|
|
43
|
+
extensions: [
|
|
44
|
+
s.configure({
|
|
45
|
+
heading: !1,
|
|
46
|
+
codeBlock: !1,
|
|
47
|
+
blockquote: !1,
|
|
48
|
+
horizontalRule: !1,
|
|
49
|
+
bulletList: !1,
|
|
50
|
+
orderedList: !1,
|
|
51
|
+
listItem: !1,
|
|
52
|
+
strike: !1,
|
|
53
|
+
link: !1
|
|
54
|
+
}),
|
|
55
|
+
ee(c).configure({
|
|
56
|
+
openOnClick: !1,
|
|
57
|
+
HTMLAttributes: {
|
|
58
|
+
target: "_blank",
|
|
59
|
+
rel: "noopener noreferrer"
|
|
60
|
+
}
|
|
61
|
+
}),
|
|
62
|
+
l.configure({
|
|
63
|
+
mergeTags: e,
|
|
64
|
+
syntax: t
|
|
65
|
+
}),
|
|
66
|
+
d.configure({ syntax: t }),
|
|
67
|
+
f,
|
|
68
|
+
...r && n && e.length > 0 ? [u.configure({
|
|
69
|
+
mergeTags: e,
|
|
70
|
+
char: n,
|
|
71
|
+
emptyText: i,
|
|
72
|
+
popoverRoot: z
|
|
73
|
+
})] : []
|
|
74
|
+
]
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
return (r, m) => (e(), o("div", w, [
|
|
79
|
+
i(z) && !le.value ? (e(), f(l, {
|
|
80
|
+
key: 0,
|
|
81
|
+
to: i(z)
|
|
82
|
+
}, [a("div", {
|
|
83
|
+
"data-tpl-theme": i(R),
|
|
84
|
+
role: "toolbar",
|
|
85
|
+
"aria-label": i(H).titleEditor.toolbar,
|
|
86
|
+
class: "tpl tpl-text-toolbar tpl:absolute tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:shadow-[var(--tpl-shadow-lg)]",
|
|
87
|
+
style: t({
|
|
88
|
+
...i(L),
|
|
89
|
+
top: `${g.toolbarPosition.top}px`,
|
|
90
|
+
left: `${g.toolbarPosition.left}px`,
|
|
91
|
+
transform: "translateY(-100%)"
|
|
92
|
+
})
|
|
93
|
+
}, [!i(G) && i(U) ? (e(), o(p, { key: 0 }, [
|
|
94
|
+
a("button", {
|
|
95
|
+
type: "button",
|
|
96
|
+
class: d(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": i(U)?.isActive("bold") }]),
|
|
97
|
+
"aria-label": i(H).titleEditor.bold,
|
|
98
|
+
title: i(H).titleEditor.bold,
|
|
99
|
+
onClick: m[0] ||= (e) => i(U)?.chain().focus().toggleBold().run()
|
|
100
|
+
}, [s(i(x), {
|
|
101
|
+
size: 16,
|
|
102
|
+
"stroke-width": 2.5
|
|
103
|
+
})], 10, E),
|
|
104
|
+
a("button", {
|
|
105
|
+
type: "button",
|
|
106
|
+
class: d(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": i(U)?.isActive("italic") }]),
|
|
107
|
+
"aria-label": i(H).titleEditor.italic,
|
|
108
|
+
title: i(H).titleEditor.italic,
|
|
109
|
+
onClick: m[1] ||= (e) => i(U)?.chain().focus().toggleItalic().run()
|
|
110
|
+
}, [s(i(ie), {
|
|
111
|
+
size: 16,
|
|
112
|
+
"stroke-width": 2
|
|
113
|
+
})], 10, D),
|
|
114
|
+
m[8] ||= a("span", {
|
|
115
|
+
class: "tpl:mx-1.5 tpl:h-6 tpl:w-px tpl:bg-[var(--tpl-border)]",
|
|
116
|
+
"aria-hidden": "true"
|
|
117
|
+
}, null, -1),
|
|
118
|
+
a("button", {
|
|
119
|
+
type: "button",
|
|
120
|
+
class: d(["tpl-text-toolbar-btn", { "tpl-text-toolbar-btn--active": i(U)?.isActive("link") }]),
|
|
121
|
+
"aria-label": i(H).titleEditor.addLink,
|
|
122
|
+
title: i(H).titleEditor.addLink,
|
|
123
|
+
onClick: m[2] ||= (...e) => i(Z) && i(Z)(...e)
|
|
124
|
+
}, [s(i(ce), {
|
|
125
|
+
size: 16,
|
|
126
|
+
"stroke-width": 2
|
|
127
|
+
})], 10, O),
|
|
128
|
+
i(Y) ? (e(), o("span", k)) : h("", !0),
|
|
129
|
+
i(Y) ? (e(), o("button", {
|
|
130
|
+
key: 1,
|
|
131
|
+
type: "button",
|
|
132
|
+
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)]",
|
|
133
|
+
"aria-label": i(H).mergeTag.insert,
|
|
134
|
+
title: i(H).mergeTag.insert,
|
|
135
|
+
onClick: m[3] ||= (...e) => i(Q) && i(Q)(...e)
|
|
136
|
+
}, [s(i(oe), {
|
|
137
|
+
size: 16,
|
|
138
|
+
"stroke-width": 2
|
|
139
|
+
}), c(" " + u(i(H).mergeTag.insertShort), 1)], 8, A)) : h("", !0),
|
|
140
|
+
i(X) ? (e(), o("span", j)) : h("", !0),
|
|
141
|
+
i(X) ? (e(), o("button", {
|
|
142
|
+
key: 3,
|
|
143
|
+
type: "button",
|
|
144
|
+
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)]",
|
|
145
|
+
"aria-label": i(H).logicTag.insert,
|
|
146
|
+
title: i(H).logicTag.insert,
|
|
147
|
+
"data-testid": "insert-logic-button",
|
|
148
|
+
onClick: m[4] ||= (...e) => i($) && i($)(...e)
|
|
149
|
+
}, [s(i(se), {
|
|
150
|
+
size: 16,
|
|
151
|
+
"stroke-width": 2
|
|
152
|
+
}), c(" " + u(i(H).logicTag.insertShort), 1)], 8, M)) : h("", !0)
|
|
153
|
+
], 64)) : (e(), o("div", N, [s(i(C), {
|
|
154
|
+
class: "tpl-spinner",
|
|
155
|
+
size: 14,
|
|
156
|
+
"stroke-width": 2
|
|
157
|
+
}), c(" " + u(i(H).errors.editorLoading), 1)]))], 12, T)], 8, ["to"])) : h("", !0),
|
|
158
|
+
s(ae, {
|
|
159
|
+
editor: i(U),
|
|
160
|
+
"editor-content": i(W),
|
|
161
|
+
"is-loading": i(G),
|
|
162
|
+
"init-error": i(ue),
|
|
163
|
+
onRetry: i(de)
|
|
164
|
+
}, null, 8, [
|
|
165
|
+
"editor",
|
|
166
|
+
"editor-content",
|
|
167
|
+
"is-loading",
|
|
168
|
+
"init-error",
|
|
169
|
+
"onRetry"
|
|
170
|
+
]),
|
|
171
|
+
s(S, {
|
|
172
|
+
visible: i(fe),
|
|
173
|
+
"is-editing-link": i(U)?.isActive("link") ?? !1,
|
|
174
|
+
"dialog-ref": i(J),
|
|
175
|
+
"onUpdate:dialogRef": m[5] ||= (e) => n(J) ? J.value = e : null,
|
|
176
|
+
"link-url": i(K),
|
|
177
|
+
"onUpdate:linkUrl": m[6] ||= (e) => n(K) ? K.value = e : null,
|
|
178
|
+
"link-color": i(q),
|
|
179
|
+
"onUpdate:linkColor": m[7] ||= (e) => n(q) ? q.value = e : null,
|
|
180
|
+
onClose: i(he),
|
|
181
|
+
onInsert: i(pe),
|
|
182
|
+
onRemove: i(me),
|
|
183
|
+
onKeydown: i(ge)
|
|
184
|
+
}, null, 8, [
|
|
185
|
+
"visible",
|
|
186
|
+
"is-editing-link",
|
|
187
|
+
"dialog-ref",
|
|
188
|
+
"link-url",
|
|
189
|
+
"link-color",
|
|
190
|
+
"onClose",
|
|
191
|
+
"onInsert",
|
|
192
|
+
"onRemove",
|
|
193
|
+
"onKeydown"
|
|
194
|
+
])
|
|
195
|
+
]));
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
//#endregion
|
|
199
|
+
export { P as default };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { A as e, At as t, B as n, N as r, S as i, Z as a, at as o, c as s, d as c, g as l, i as u, l as d, s as f, u as p, v as m } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
2
|
+
import { c as h, t as g } from "./runtime-dom.esm-bundler-PnoZU512.js";
|
|
3
|
+
import { D as _ } from "./useEditorCore-DhlKOYwe.js";
|
|
4
|
+
import { W as v, q as y } from "./keys-DQA2i1k1.js";
|
|
5
|
+
import { n as b } from "./usePopoverPosition-CprM5p-c.js";
|
|
6
|
+
//#region src/components/TplModal.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
+
var x = ["data-tpl-theme"], S = /* @__PURE__ */ m({
|
|
8
|
+
__name: "TplModal",
|
|
9
|
+
props: { visible: { type: Boolean } },
|
|
10
|
+
emits: ["close", "keydown"],
|
|
11
|
+
setup(m, { emit: S }) {
|
|
12
|
+
let C = m, w = S, T = a(null), E = f(() => C.visible);
|
|
13
|
+
_(T, E);
|
|
14
|
+
let D = i(y), O = i(v, null), k = b();
|
|
15
|
+
function A(e) {
|
|
16
|
+
e.key === "Escape" && w("close"), w("keydown", e);
|
|
17
|
+
}
|
|
18
|
+
return (i, a) => o(k) ? (e(), d(u, {
|
|
19
|
+
key: 0,
|
|
20
|
+
to: o(k)
|
|
21
|
+
}, [l(g, {
|
|
22
|
+
"enter-active-class": "tpl:transition",
|
|
23
|
+
"enter-from-class": "tpl:opacity-0",
|
|
24
|
+
"enter-to-class": "tpl:opacity-100",
|
|
25
|
+
"leave-active-class": "tpl:transition tpl:duration-100",
|
|
26
|
+
"leave-from-class": "tpl:opacity-100",
|
|
27
|
+
"leave-to-class": "tpl:opacity-0"
|
|
28
|
+
}, {
|
|
29
|
+
default: n(() => [m.visible ? (e(), c("div", {
|
|
30
|
+
key: 0,
|
|
31
|
+
"data-tpl-theme": o(D),
|
|
32
|
+
class: "tpl tpl:fixed tpl:inset-0 tpl:z-10 tpl:flex tpl:items-center tpl:justify-center tpl:p-4",
|
|
33
|
+
style: t([{
|
|
34
|
+
"background-color": "var(--tpl-overlay)",
|
|
35
|
+
"backdrop-filter": "blur(8px)",
|
|
36
|
+
"-webkit-backdrop-filter": "blur(8px)"
|
|
37
|
+
}, o(O)]),
|
|
38
|
+
onClick: a[1] ||= h((e) => w("close"), ["self"]),
|
|
39
|
+
onKeydown: A
|
|
40
|
+
}, [s("div", {
|
|
41
|
+
ref_key: "dialogRef",
|
|
42
|
+
ref: T,
|
|
43
|
+
class: "tpl:flex tpl:h-full tpl:items-center tpl:justify-center",
|
|
44
|
+
onClick: a[0] ||= h((e) => w("close"), ["self"])
|
|
45
|
+
}, [r(i.$slots, "default")], 512)], 44, x)) : p("", !0)]),
|
|
46
|
+
_: 3
|
|
47
|
+
})], 8, ["to"])) : p("", !0);
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
//#endregion
|
|
51
|
+
export { S as t };
|
|
@@ -1,28 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as g, t as _ } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import { t as v } from "./dist-
|
|
4
|
-
import {
|
|
5
|
-
import { t as b } from "./useI18n-
|
|
6
|
-
import { t as x } from "./createLucideIcon-
|
|
7
|
-
import { t as S } from "./chevron-down-
|
|
8
|
-
import { t as C } from "./
|
|
9
|
-
import { t as w } from "./
|
|
1
|
+
import { A as e, B as t, M as n, S as r, Z as i, at as a, c as o, d as s, g as c, h as l, jt as u, kt as d, r as f, s as p, u as m, v as h } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
2
|
+
import { c as g, t as _ } from "./runtime-dom.esm-bundler-PnoZU512.js";
|
|
3
|
+
import { t as v } from "./dist-DBirAJIs.js";
|
|
4
|
+
import { K as y } from "./keys-DQA2i1k1.js";
|
|
5
|
+
import { t as b } from "./useI18n-BbdxxpOE.js";
|
|
6
|
+
import { t as x } from "./createLucideIcon-Cwf_nTzE.js";
|
|
7
|
+
import { t as S } from "./chevron-down-C-Fjxcqj.js";
|
|
8
|
+
import { t as C } from "./chevron-right-SOkn2d4P.js";
|
|
9
|
+
import { t as w } from "./clock-pB2QKPsJ.js";
|
|
10
|
+
import { t as ee } from "./loader-circle-B_tAD4k6.js";
|
|
10
11
|
import { t as T } from "./formatAbsoluteDateTime-DMmop3C-.js";
|
|
11
|
-
import { t as
|
|
12
|
-
var
|
|
12
|
+
import { t as E } from "./formatRelativeTime-CtUU-QZ8.js";
|
|
13
|
+
var D = x({
|
|
13
14
|
name: "chevron-left",
|
|
14
15
|
size: 24,
|
|
15
16
|
node: [["path", {
|
|
16
17
|
d: "m15 18-6-6 6-6",
|
|
17
18
|
key: "1wnfg3"
|
|
18
19
|
}]]
|
|
19
|
-
}), D = x({
|
|
20
|
-
name: "chevron-right",
|
|
21
|
-
size: 24,
|
|
22
|
-
node: [["path", {
|
|
23
|
-
d: "m9 18 6-6-6-6",
|
|
24
|
-
key: "mthhwq"
|
|
25
|
-
}]]
|
|
26
20
|
}), O = [
|
|
27
21
|
"disabled",
|
|
28
22
|
"title",
|
|
@@ -61,7 +55,7 @@ var E = x({
|
|
|
61
55
|
"disabled",
|
|
62
56
|
"title",
|
|
63
57
|
"aria-label"
|
|
64
|
-
], V = /* @__PURE__ */
|
|
58
|
+
], V = /* @__PURE__ */ h({
|
|
65
59
|
__name: "VersionHistoryMenu",
|
|
66
60
|
props: {
|
|
67
61
|
versions: {},
|
|
@@ -70,8 +64,8 @@ var E = x({
|
|
|
70
64
|
previewingId: {}
|
|
71
65
|
},
|
|
72
66
|
emits: ["open", "navigate"],
|
|
73
|
-
setup(
|
|
74
|
-
let V =
|
|
67
|
+
setup(h, { emit: x }) {
|
|
68
|
+
let V = h, H = x, { t: U, format: W } = b(), G = r(y, void 0), K = i(!1), q = i(null), J = p(() => V.previewingId === null ? -1 : V.versions.findIndex((e) => e.id === V.previewingId)), Y = p(() => J.value > 0 && !V.isRestoring && !V.isLoading), X = p(() => J.value < V.versions.length - 1 && V.versions.length > 0 && !V.isRestoring && !V.isLoading);
|
|
75
69
|
function Z() {
|
|
76
70
|
Y.value && H("navigate", V.versions[J.value - 1]);
|
|
77
71
|
}
|
|
@@ -85,7 +79,7 @@ var E = x({
|
|
|
85
79
|
H("navigate", e), K.value = !1;
|
|
86
80
|
}
|
|
87
81
|
function $(e) {
|
|
88
|
-
let t =
|
|
82
|
+
let t = E(e, U.time, W, 7);
|
|
89
83
|
return t === null ? T(e, G, {
|
|
90
84
|
month: "short",
|
|
91
85
|
day: "numeric",
|
|
@@ -95,66 +89,66 @@ var E = x({
|
|
|
95
89
|
}
|
|
96
90
|
return v(q, () => {
|
|
97
91
|
K.value = !1;
|
|
98
|
-
}), (
|
|
92
|
+
}), (r, i) => (e(), s("div", {
|
|
99
93
|
ref_key: "dropdownRef",
|
|
100
94
|
ref: q,
|
|
101
95
|
class: "tpl:relative tpl:flex tpl:items-center tpl:gap-0.5",
|
|
102
96
|
"data-testid": "version-history"
|
|
103
97
|
}, [
|
|
104
|
-
|
|
98
|
+
o("button", {
|
|
105
99
|
class: "tpl:flex tpl:size-7 tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:disabled:cursor-not-allowed tpl:disabled:opacity-30 tpl:disabled:hover:bg-transparent tpl:text-[var(--tpl-text-muted)]",
|
|
106
100
|
"data-testid": "version-history-older",
|
|
107
101
|
disabled: !X.value,
|
|
108
|
-
title:
|
|
109
|
-
"aria-label":
|
|
102
|
+
title: a(U).versionHistory.olderVersion,
|
|
103
|
+
"aria-label": a(U).versionHistory.olderVersion,
|
|
110
104
|
onClick: g(Q, ["stop"])
|
|
111
|
-
}, [a(
|
|
105
|
+
}, [c(a(D), {
|
|
112
106
|
size: 14,
|
|
113
107
|
"stroke-width": 2
|
|
114
108
|
})], 8, O),
|
|
115
|
-
|
|
109
|
+
o("button", {
|
|
116
110
|
class: "tpl:flex tpl:h-7 tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:gap-0.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:px-1.5 tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)]",
|
|
117
111
|
"data-testid": "version-history-toggle",
|
|
118
112
|
"aria-expanded": K.value,
|
|
119
|
-
title:
|
|
120
|
-
"aria-label":
|
|
113
|
+
title: a(U).versionHistory.tooltip,
|
|
114
|
+
"aria-label": a(U).versionHistory.tooltip,
|
|
121
115
|
onClick: g(te, ["stop"])
|
|
122
|
-
}, [a(
|
|
116
|
+
}, [c(a(w), {
|
|
123
117
|
size: 16,
|
|
124
118
|
"stroke-width": 1.5
|
|
125
|
-
}), a(
|
|
126
|
-
class:
|
|
119
|
+
}), c(a(S), {
|
|
120
|
+
class: d(["tpl:transition-transform", { "tpl:rotate-180": K.value }]),
|
|
127
121
|
size: 10,
|
|
128
122
|
"stroke-width": 2
|
|
129
123
|
}, null, 8, ["class"])], 8, k),
|
|
130
|
-
|
|
131
|
-
default:
|
|
124
|
+
c(_, { name: "tpl-dropdown" }, {
|
|
125
|
+
default: t(() => [K.value ? (e(), s("div", A, [o("div", j, u(a(U).versionHistory.dropdownTitle), 1), h.isLoading && h.versions.length === 0 ? (e(), s("div", M, [c(a(ee), {
|
|
132
126
|
class: "tpl:animate-spin tpl:text-[var(--tpl-primary)]",
|
|
133
127
|
size: 20,
|
|
134
128
|
"stroke-width": 2
|
|
135
|
-
})])) :
|
|
129
|
+
})])) : h.versions.length === 0 ? (e(), s("div", N, u(a(U).versionHistory.empty), 1)) : (e(), s("div", P, [(e(!0), s(f, null, n(h.versions, (t) => (e(), s("button", {
|
|
136
130
|
key: t.id,
|
|
137
|
-
class:
|
|
131
|
+
class: d(["tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:border-l-2 tpl:px-3 tpl:py-2.5 tpl:text-left tpl:transition-all tpl:hover:border-l-[var(--tpl-primary)] tpl:hover:bg-[var(--tpl-bg-hover)]", t.id === h.previewingId ? "tpl:border-l-[var(--tpl-primary)] tpl:bg-[var(--tpl-bg-active)]" : "tpl:border-l-transparent"]),
|
|
138
132
|
style: { "background-color": "transparent" },
|
|
139
133
|
"data-testid": "version-history-entry",
|
|
140
134
|
"data-version-id": t.id,
|
|
141
|
-
disabled:
|
|
135
|
+
disabled: h.isRestoring,
|
|
142
136
|
onClick: (e) => ne(t)
|
|
143
|
-
}, [
|
|
144
|
-
t.label ? (
|
|
145
|
-
t.label && t.author?.name ? (
|
|
146
|
-
t.author?.name ? (
|
|
147
|
-
])) :
|
|
137
|
+
}, [o("div", I, [o("div", L, [o("span", null, u(t.label ?? $(t.createdAt)), 1), t.isAutomatic ? (e(), s("span", R, u(a(U).versionHistory.auto), 1)) : m("", !0)]), t.label || t.author?.name ? (e(), s("div", z, [
|
|
138
|
+
t.label ? (e(), s(f, { key: 0 }, [l(u($(t.createdAt)), 1)], 64)) : m("", !0),
|
|
139
|
+
t.label && t.author?.name ? (e(), s(f, { key: 1 }, [l(" · ")], 64)) : m("", !0),
|
|
140
|
+
t.author?.name ? (e(), s(f, { key: 2 }, [l(u(t.author.name), 1)], 64)) : m("", !0)
|
|
141
|
+
])) : m("", !0)])], 10, F))), 128))]))])) : m("", !0)]),
|
|
148
142
|
_: 1
|
|
149
143
|
}),
|
|
150
|
-
|
|
144
|
+
o("button", {
|
|
151
145
|
class: "tpl:flex tpl:size-7 tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:disabled:cursor-not-allowed tpl:disabled:opacity-30 tpl:disabled:hover:bg-transparent tpl:text-[var(--tpl-text-muted)]",
|
|
152
146
|
"data-testid": "version-history-newer",
|
|
153
147
|
disabled: !Y.value,
|
|
154
|
-
title:
|
|
155
|
-
"aria-label":
|
|
148
|
+
title: a(U).versionHistory.newerVersion,
|
|
149
|
+
"aria-label": a(U).versionHistory.newerVersion,
|
|
156
150
|
onClick: g(Z, ["stop"])
|
|
157
|
-
}, [a(
|
|
151
|
+
}, [c(a(C), {
|
|
158
152
|
size: 14,
|
|
159
153
|
"stroke-width": 2
|
|
160
154
|
})], 8, B)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as e, _ as t, at as n, d as r, l as i, r as a, u as o, v as s } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
2
2
|
//#endregion
|
|
3
3
|
//#region src/components/VersionHistoryPanels.vue
|
|
4
4
|
var c = /* @__PURE__ */ s({
|
|
5
5
|
__name: "VersionHistoryPanels",
|
|
6
6
|
props: { feature: {} },
|
|
7
7
|
setup(s) {
|
|
8
|
-
let c = s, l =
|
|
8
|
+
let c = s, l = t(() => import("./VersionPreviewBanner-BbQXnR0M.js")), u = t(() => import("./RestoreVersionDialog-BMGUkcd8.js"));
|
|
9
9
|
async function d() {
|
|
10
10
|
try {
|
|
11
11
|
await c.feature.requestRestore();
|
|
@@ -21,13 +21,13 @@ var c = /* @__PURE__ */ s({
|
|
|
21
21
|
await c.feature.discardAndRestore();
|
|
22
22
|
} catch {}
|
|
23
23
|
}
|
|
24
|
-
return (
|
|
24
|
+
return (t, c) => (e(), r(a, null, [s.feature.isPreviewing.value ? (e(), i(n(l), {
|
|
25
25
|
key: 0,
|
|
26
26
|
visible: s.feature.isPreviewing.value,
|
|
27
27
|
"can-restore": s.feature.canRestore.value,
|
|
28
28
|
onCancel: c[0] ||= (e) => s.feature.cancelPreview(),
|
|
29
29
|
onConfirm: d
|
|
30
|
-
}, null, 8, ["visible", "can-restore"])) : o("", !0), s.feature.isConfirmingRestore.value ? (
|
|
30
|
+
}, null, 8, ["visible", "can-restore"])) : o("", !0), s.feature.isConfirmingRestore.value ? (e(), i(n(u), {
|
|
31
31
|
key: 1,
|
|
32
32
|
visible: s.feature.isConfirmingRestore.value,
|
|
33
33
|
"can-save": s.feature.canSaveBeforeRestore.value,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as l } from "./useI18n-
|
|
3
|
-
import { t as u } from "./clock-
|
|
1
|
+
import { A as e, at as t, c as n, d as r, g as i, jt as a, kt as o, u as s, v as c } from "./vue.runtime.esm-bundler-DShF3P6k.js";
|
|
2
|
+
import { t as l } from "./useI18n-BbdxxpOE.js";
|
|
3
|
+
import { t as u } from "./clock-pB2QKPsJ.js";
|
|
4
4
|
import { f as d, v as f } from "./styleConstants-C_YAPdQS.js";
|
|
5
5
|
//#region src/components/VersionPreviewBanner.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var p = {
|
|
@@ -17,21 +17,21 @@ var p = {
|
|
|
17
17
|
emits: ["cancel", "confirm"],
|
|
18
18
|
setup(c, { emit: g }) {
|
|
19
19
|
let _ = g, { t: v } = l();
|
|
20
|
-
return (l, g) => c.visible ? (
|
|
20
|
+
return (l, g) => c.visible ? (e(), r("div", p, [n("div", m, [i(t(u), {
|
|
21
21
|
size: 18,
|
|
22
22
|
"stroke-width": 2,
|
|
23
23
|
class: "tpl:text-[var(--tpl-primary)]"
|
|
24
|
-
}),
|
|
25
|
-
class:
|
|
24
|
+
}), n("span", null, a(t(v).versionPreview.message), 1)]), n("div", h, [n("button", {
|
|
25
|
+
class: o(t(d)),
|
|
26
26
|
style: { "background-color": "transparent" },
|
|
27
27
|
"data-testid": "version-preview-cancel",
|
|
28
28
|
onClick: g[0] ||= (e) => _("cancel")
|
|
29
|
-
}, a(
|
|
29
|
+
}, a(t(v).versionPreview.cancel), 3), c.canRestore ? (e(), r("button", {
|
|
30
30
|
key: 0,
|
|
31
|
-
class:
|
|
31
|
+
class: o(t(f)),
|
|
32
32
|
"data-testid": "version-preview-restore",
|
|
33
33
|
onClick: g[1] ||= (e) => _("confirm")
|
|
34
|
-
}, a(
|
|
34
|
+
}, a(t(v).versionPreview.restore), 3)) : s("", !0)])])) : s("", !0);
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as e,
|
|
2
|
-
import { t as a } from "./createLucideIcon-
|
|
1
|
+
import { A as e, F as t, M as n, j as r, k as i } from "./useEditorCore-DhlKOYwe.js";
|
|
2
|
+
import { t as a } from "./createLucideIcon-Cwf_nTzE.js";
|
|
3
3
|
var o = a({
|
|
4
4
|
name: "columns-3",
|
|
5
5
|
size: 24,
|
|
@@ -120,18 +120,6 @@ var o = a({
|
|
|
120
120
|
key: "9lu3g6"
|
|
121
121
|
}]]
|
|
122
122
|
}), m = a({
|
|
123
|
-
name: "search",
|
|
124
|
-
size: 24,
|
|
125
|
-
node: [["path", {
|
|
126
|
-
d: "m21 21-4.34-4.34",
|
|
127
|
-
key: "14j7rj"
|
|
128
|
-
}], ["circle", {
|
|
129
|
-
cx: "11",
|
|
130
|
-
cy: "11",
|
|
131
|
-
r: "8",
|
|
132
|
-
key: "4ej97u"
|
|
133
|
-
}]]
|
|
134
|
-
}), h = a({
|
|
135
123
|
name: "timer",
|
|
136
124
|
size: 24,
|
|
137
125
|
node: [
|
|
@@ -156,7 +144,7 @@ var o = a({
|
|
|
156
144
|
key: "1e1u0o"
|
|
157
145
|
}]
|
|
158
146
|
]
|
|
159
|
-
}),
|
|
147
|
+
}), h = {
|
|
160
148
|
section: o,
|
|
161
149
|
title: s,
|
|
162
150
|
paragraph: d,
|
|
@@ -168,8 +156,8 @@ var o = a({
|
|
|
168
156
|
menu: r,
|
|
169
157
|
table: i,
|
|
170
158
|
spacer: l,
|
|
171
|
-
countdown:
|
|
159
|
+
countdown: m,
|
|
172
160
|
html: t
|
|
173
161
|
};
|
|
174
162
|
//#endregion
|
|
175
|
-
export {
|
|
163
|
+
export { u as n, c as r, h as t };
|
package/dist/bundle-stats.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
3
|
-
"initialGzipBytes":
|
|
4
|
-
"initialRawBytes":
|
|
5
|
-
"initialFileCount":
|
|
6
|
-
"lazyGzipBytes":
|
|
7
|
-
"lazyRawBytes":
|
|
8
|
-
"lazyFileCount":
|
|
9
|
-
"generatedAt": "2026-09-
|
|
2
|
+
"version": "0.36.0",
|
|
3
|
+
"initialGzipBytes": 319742,
|
|
4
|
+
"initialRawBytes": 1145364,
|
|
5
|
+
"initialFileCount": 52,
|
|
6
|
+
"lazyGzipBytes": 258644,
|
|
7
|
+
"lazyRawBytes": 880376,
|
|
8
|
+
"lazyFileCount": 71,
|
|
9
|
+
"generatedAt": "2026-09-11T13:54:16.657Z"
|
|
10
10
|
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
//#region ../media-library/src/i18n/locales/ca.ts
|
|
2
|
+
var e = { mediaLibrary: {
|
|
3
|
+
title: "Biblioteca multimèdia",
|
|
4
|
+
searchPlaceholder: "Cerca fitxers...",
|
|
5
|
+
allFiles: "Tots els fitxers",
|
|
6
|
+
filterAll: "Tots els tipus",
|
|
7
|
+
filterImages: "Imatges",
|
|
8
|
+
filterDocuments: "Documents",
|
|
9
|
+
filterVideos: "Vídeos",
|
|
10
|
+
filterAudio: "Àudio",
|
|
11
|
+
newFolder: "Carpeta nova",
|
|
12
|
+
folderName: "Nom de la carpeta",
|
|
13
|
+
noFiles: "No s'ha trobat cap fitxer",
|
|
14
|
+
noSearchResults: "Cap fitxer no coincideix amb la cerca",
|
|
15
|
+
dropOrClick: "Deixa anar els fitxers aquí o fes clic per pujar-los",
|
|
16
|
+
acceptedFormats: "Imatges, PDF, vídeo, àudio i documents (màx. 10 MB)",
|
|
17
|
+
uploading: "S'està pujant...",
|
|
18
|
+
uploadingProgress: "S'està pujant {current} de {total}...",
|
|
19
|
+
selectImage: "Selecciona una imatge",
|
|
20
|
+
selectFile: "Selecciona un fitxer",
|
|
21
|
+
deleteSelected: "Suprimeix",
|
|
22
|
+
copyUrl: "Copia l'URL",
|
|
23
|
+
copied: "S'ha copiat!",
|
|
24
|
+
browseMedia: "Explora la biblioteca multimèdia",
|
|
25
|
+
renameFolder: "Canvia el nom de la carpeta",
|
|
26
|
+
addSubfolder: "Afegeix una subcarpeta",
|
|
27
|
+
subfolderName: "Nom de la subcarpeta",
|
|
28
|
+
sortNewest: "Més recents primer",
|
|
29
|
+
sortOldest: "Més antics primer",
|
|
30
|
+
sortNameAsc: "Nom de l'A a la Z",
|
|
31
|
+
sortNameDesc: "Nom de la Z a l'A",
|
|
32
|
+
sortSizeAsc: "Més petits primer",
|
|
33
|
+
sortSizeDesc: "Més grans primer",
|
|
34
|
+
moveSelected: "Mou",
|
|
35
|
+
moveToRoot: "Tots els fitxers",
|
|
36
|
+
currentFolder: "(actual)",
|
|
37
|
+
confirmDelete: "Ho confirmes?",
|
|
38
|
+
renameFile: "Canvia el nom",
|
|
39
|
+
editFile: "Edita el fitxer",
|
|
40
|
+
fileName: "Nom del fitxer",
|
|
41
|
+
altText: "Text alternatiu",
|
|
42
|
+
altTextPlaceholder: "Descriu aquesta imatge per millorar l'accessibilitat",
|
|
43
|
+
saveChanges: "Desa",
|
|
44
|
+
cancel: "Cancel·la",
|
|
45
|
+
frequentlyUsed: "Utilitzats freqüentment",
|
|
46
|
+
deleteWarningTitle: "Suprimeix el fitxer",
|
|
47
|
+
deleteWarningMessage: "N'estàs segur? Aquesta acció és irreversible.",
|
|
48
|
+
deleteWarningUsageNote: "Els fitxers següents s'utilitzen en plantilles. Si els suprimeixes, és possible que aquestes plantilles deixin de funcionar correctament.",
|
|
49
|
+
deleteAnyway: "Suprimeix",
|
|
50
|
+
usedInTemplates: "Utilitzat en {count} plantilla(es)",
|
|
51
|
+
viewGrid: "Visualització de quadrícula",
|
|
52
|
+
viewList: "Visualització de llista",
|
|
53
|
+
showFolders: "Mostra les carpetes",
|
|
54
|
+
hideFolders: "Amaga les carpetes",
|
|
55
|
+
importFromUrl: "Importa des d'un URL",
|
|
56
|
+
importUrlPlaceholder: "https://example.com/image.jpg",
|
|
57
|
+
import: "Importa",
|
|
58
|
+
importing: "S'està important...",
|
|
59
|
+
importError: "No s'ha pogut importar des de l'URL",
|
|
60
|
+
replaceFile: "Substitueix el fitxer",
|
|
61
|
+
replaceWarningTitle: "Substitueix el fitxer",
|
|
62
|
+
replaceWarningMessage: "Estàs a punt de substituir aquest fitxer. El fitxer de substitució ha de tenir la mateixa extensió ({extension}).",
|
|
63
|
+
replaceWarningUsageNote: "Aquest fitxer s'utilitza en {count} plantilla(es). En substituir-lo, s'actualitzaran totes les referències.",
|
|
64
|
+
replaceSelectFile: "Selecciona el fitxer de substitució",
|
|
65
|
+
replace: "Substitueix",
|
|
66
|
+
replacing: "S'està substituint...",
|
|
67
|
+
replaceError: "No s'ha pogut substituir el fitxer",
|
|
68
|
+
saving: "S'està desant...",
|
|
69
|
+
cropAspectRatio: "Relació d'aspecte",
|
|
70
|
+
cropFree: "Lliure",
|
|
71
|
+
cropSquare: "1:1",
|
|
72
|
+
cropLandscape43: "4:3",
|
|
73
|
+
cropLandscape169: "16:9",
|
|
74
|
+
cropOriginal: "Original",
|
|
75
|
+
cropMaxWidth: "Amplada màxima",
|
|
76
|
+
cropMaxHeight: "Alçada màxima",
|
|
77
|
+
cropOutputSize: "Mida de sortida",
|
|
78
|
+
cropPixels: "px",
|
|
79
|
+
cropOptional: "(opcional)",
|
|
80
|
+
storageTooltip: "{used} de {total} utilitzats ({remaining} restants)"
|
|
81
|
+
} };
|
|
82
|
+
//#endregion
|
|
83
|
+
export { e as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { B as e, E as t, F as n, H as ee, N as r, Q as i, S as a, U as te, at as o, b as s, ct as ne, g as c, h as l, k as re, m as u, n as d, o as ie, p as f, u as p, ut as m, y as h } from "./draggable-kbOhCgnk.js";
|
|
2
2
|
import { _ as g, g as ae } from "./dist-BW6Y49zE.js";
|
|
3
|
-
import {
|
|
4
|
-
import { B as ue, E as v, M as de, Mt as fe, c as pe, d as me, it as y, n as b } from "./icons-
|
|
3
|
+
import { D as oe, Y as _, g as se, i as ce, u as le } from "./keys-DBFhDFng.js";
|
|
4
|
+
import { B as ue, E as v, M as de, Mt as fe, c as pe, d as me, it as y, n as b } from "./icons-BUlqGSgd.js";
|
|
5
5
|
import { t as x } from "./LoadingTrack-Cm3TDKb3.js";
|
|
6
6
|
import { t as S } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
7
|
import { t as C } from "./useAliveFlag-CT9gjvO_.js";
|
|
8
|
-
import {
|
|
8
|
+
import { b as w } from "./cloud-BLgCKP7Z.js";
|
|
9
9
|
//#region src/cloud/components/AiChatSidebar.vue?vue&type=script&setup=true&lang.ts
|
|
10
10
|
var T = {
|
|
11
11
|
key: 0,
|
|
@@ -200,4 +200,4 @@ var T = {
|
|
|
200
200
|
//#endregion
|
|
201
201
|
export { B as default };
|
|
202
202
|
|
|
203
|
-
//# sourceMappingURL=AiChatSidebar-
|
|
203
|
+
//# sourceMappingURL=AiChatSidebar-dyqqHAcI.js.map
|