@templatical/editor 0.35.0 → 0.37.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-Ozknnj-v.js} +2 -2
- package/dist/cdn/chunks/{src-BC-eolWY.js.map → src-Ozknnj-v.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 +1094 -1005
- 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 +90 -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 +2491 -2408
- 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
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as m, t as h } from "./runtime-dom.esm-bundler-
|
|
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-
|
|
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
|
+
import { c as m, t as h } from "./runtime-dom.esm-bundler-PnoZU512.js";
|
|
3
|
+
import { t as g } from "./useI18n-BbdxxpOE.js";
|
|
4
|
+
import { t as _ } from "./circle-alert-CjzUTwy3.js";
|
|
5
|
+
import { t as v } from "./triangle-alert-C6tGa6jw.js";
|
|
6
|
+
import { n as y } from "./useCloudI18n-BLyh_e2T.js";
|
|
7
7
|
//#region src/cloud/components/CloudErrorOverlay.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var b = {
|
|
9
9
|
key: 0,
|
|
10
10
|
role: "alert",
|
|
11
11
|
class: "tpl-error tpl:absolute tpl:inset-0 tpl:z-[100] tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-6 tpl:px-8 tpl:bg-[var(--tpl-bg)]"
|
|
12
|
-
}, x = { class: "tpl:flex tpl:size-16 tpl:items-center tpl:justify-center tpl:rounded-full tpl:bg-[var(--tpl-danger-light)]" }, S = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-2 tpl:text-center" }, C = { class: "tpl:text-lg tpl:font-semibold tpl:text-[var(--tpl-text)]" }, w = { class: "tpl:max-w-md tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, T = /* @__PURE__ */
|
|
12
|
+
}, x = { class: "tpl:flex tpl:size-16 tpl:items-center tpl:justify-center tpl:rounded-full tpl:bg-[var(--tpl-danger-light)]" }, S = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-2 tpl:text-center" }, C = { class: "tpl:text-lg tpl:font-semibold tpl:text-[var(--tpl-text)]" }, w = { class: "tpl:max-w-md tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, T = /* @__PURE__ */ p({
|
|
13
13
|
__name: "CloudErrorOverlay",
|
|
14
14
|
props: {
|
|
15
15
|
error: {},
|
|
16
16
|
visible: { type: Boolean }
|
|
17
17
|
},
|
|
18
18
|
emits: ["retry"],
|
|
19
|
-
setup(
|
|
20
|
-
let
|
|
21
|
-
function
|
|
22
|
-
return "isUnauthorized" in e && e.isUnauthorized ?
|
|
19
|
+
setup(t, { emit: n }) {
|
|
20
|
+
let r = n, { t: l } = y();
|
|
21
|
+
function u(e) {
|
|
22
|
+
return "isUnauthorized" in e && e.isUnauthorized ? l.error.authFailed : "isNotFound" in e && e.isNotFound ? l.error.templateNotFound : l.error.defaultMessage;
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function d(e) {
|
|
25
25
|
return "isNotFound" in e && !!e.isNotFound;
|
|
26
26
|
}
|
|
27
|
-
return (
|
|
28
|
-
|
|
27
|
+
return (n, p) => t.visible && t.error ? (e(), o("div", b, [
|
|
28
|
+
a("div", x, [s(i(_), {
|
|
29
29
|
size: 32,
|
|
30
30
|
"stroke-width": 1.5,
|
|
31
31
|
class: "tpl:text-[var(--tpl-danger)]"
|
|
32
32
|
})]),
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
a("div", S, [a("h2", C, c(i(l).error.title), 1), a("p", w, c(u(t.error)), 1)]),
|
|
34
|
+
d(t.error) ? f("", !0) : (e(), o("button", {
|
|
35
35
|
key: 0,
|
|
36
36
|
class: "tpl-btn tpl-btn-primary tpl:inline-flex tpl:items-center tpl:gap-2 tpl:rounded-md tpl:px-4 tpl:py-2.5 tpl:text-sm tpl:font-medium tpl:shadow-[var(--tpl-shadow-sm)] tpl:transition-all tpl:hover:opacity-90 tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]",
|
|
37
|
-
onClick: p[0] ||= (e) =>
|
|
38
|
-
},
|
|
39
|
-
])) :
|
|
37
|
+
onClick: p[0] ||= (e) => r("retry")
|
|
38
|
+
}, c(i(l).error.retry), 1))
|
|
39
|
+
])) : f("", !0);
|
|
40
40
|
}
|
|
41
41
|
}), E = {
|
|
42
42
|
key: 0,
|
|
43
43
|
class: "tpl-loading tpl:absolute tpl:inset-0 tpl:z-[100] tpl:flex tpl:flex-col tpl:bg-[var(--tpl-bg)]"
|
|
44
|
-
}, D = { class: "tpl:flex tpl:flex-1 tpl:overflow-hidden" }, O = { class: "tpl:flex tpl:w-12 tpl:shrink-0 tpl:flex-col tpl:items-center tpl:gap-4 tpl:py-5 tpl:border-r tpl:border-[var(--tpl-border)]" }, k = /* @__PURE__ */
|
|
44
|
+
}, D = { class: "tpl:flex tpl:flex-1 tpl:overflow-hidden" }, O = { class: "tpl:flex tpl:w-12 tpl:shrink-0 tpl:flex-col tpl:items-center tpl:gap-4 tpl:py-5 tpl:border-r tpl:border-[var(--tpl-border)]" }, k = /* @__PURE__ */ p({
|
|
45
45
|
__name: "CloudLoadingOverlay",
|
|
46
46
|
props: { visible: { type: Boolean } },
|
|
47
|
-
setup(
|
|
48
|
-
return (r,
|
|
47
|
+
setup(t) {
|
|
48
|
+
return (r, i) => t.visible ? (e(), o("div", E, [i[1] ||= u("<div class=\"tpl:flex tpl:h-14 tpl:shrink-0 tpl:items-center tpl:justify-between tpl:px-4 tpl:border-b tpl:border-[var(--tpl-border)]\"><div class=\"tpl-shimmer tpl:h-5 tpl:w-28 tpl:rounded-[var(--tpl-radius-sm)]\"></div><div class=\"tpl:flex tpl:gap-3\"><div class=\"tpl-shimmer tpl:h-8 tpl:w-20 tpl:rounded-[var(--tpl-radius-sm)]\"></div><div class=\"tpl-shimmer tpl:h-8 tpl:w-20 tpl:rounded-[var(--tpl-radius-sm)]\"></div></div></div>", 1), a("div", D, [a("div", O, [(e(), o(d, null, n(5, (e) => a("div", {
|
|
49
49
|
key: e,
|
|
50
50
|
class: "tpl-shimmer tpl:size-7 tpl:rounded-[var(--tpl-radius-sm)]"
|
|
51
|
-
})), 64))]),
|
|
51
|
+
})), 64))]), i[0] ||= u("<div class=\"tpl:flex tpl:flex-1 tpl:items-start tpl:justify-center tpl:overflow-auto tpl:p-8 tpl:bg-[var(--tpl-canvas-bg)]\"><div class=\"tpl:w-full tpl:max-w-[600px] tpl:rounded-[var(--tpl-radius)] tpl:p-6 tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-sm)]\"><div class=\"tpl:space-y-2 tpl:py-4\"><div class=\"tpl-shimmer tpl:h-3 tpl:w-3/4 tpl:rounded\"></div><div class=\"tpl-shimmer tpl:h-3 tpl:w-full tpl:rounded\"></div><div class=\"tpl-shimmer tpl:h-3 tpl:w-5/6 tpl:rounded\"></div></div><div class=\"tpl:py-4\"><div class=\"tpl-shimmer tpl:h-44 tpl:w-full tpl:rounded-[var(--tpl-radius-sm)]\"></div></div><div class=\"tpl:space-y-2 tpl:py-4\"><div class=\"tpl-shimmer tpl:h-3 tpl:w-full tpl:rounded\"></div><div class=\"tpl-shimmer tpl:h-3 tpl:w-2/3 tpl:rounded\"></div></div><div class=\"tpl:flex tpl:justify-center tpl:py-4\"><div class=\"tpl-shimmer tpl:h-10 tpl:w-36 tpl:rounded-[var(--tpl-radius-sm)]\"></div></div><div class=\"tpl:space-y-2 tpl:py-4\"><div class=\"tpl-shimmer tpl:mx-auto tpl:h-2.5 tpl:w-1/2 tpl:rounded\"></div><div class=\"tpl-shimmer tpl:mx-auto tpl:h-2.5 tpl:w-1/3 tpl:rounded\"></div></div></div></div><div class=\"tpl:flex tpl:w-[320px] tpl:shrink-0 tpl:flex-col tpl:gap-4 tpl:p-4 tpl:border-l tpl:border-[var(--tpl-border)]\"><div class=\"tpl-shimmer tpl:h-8 tpl:rounded-[var(--tpl-radius-sm)]\"></div><div class=\"tpl-shimmer tpl:h-32 tpl:rounded-[var(--tpl-radius)]\"></div><div class=\"tpl-shimmer tpl:h-32 tpl:rounded-[var(--tpl-radius)]\"></div></div>", 2)])])) : f("", !0);
|
|
52
52
|
}
|
|
53
|
-
}), A = ["aria-label"], j = { class: "tpl:flex tpl:max-h-[80%] tpl:w-full tpl:max-w-md tpl:flex-col tpl:gap-4 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-5 tpl:shadow-[var(--tpl-shadow-md)]" }, M = { class: "tpl:flex tpl:items-center tpl:gap-2" }, N = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, P = { class: "tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, F = { class: "tpl:m-0 tpl:flex tpl:max-h-64 tpl:list-none tpl:flex-col tpl:gap-1.5 tpl:overflow-y-auto tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-2" }, I = { class: "tpl:text-xs tpl:text-[var(--tpl-text)]" }, L = { class: "tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, R = { class: "tpl:flex tpl:justify-end tpl:gap-2" }, z = /* @__PURE__ */
|
|
53
|
+
}), A = ["aria-label"], j = { class: "tpl:flex tpl:max-h-[80%] tpl:w-full tpl:max-w-md tpl:flex-col tpl:gap-4 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-5 tpl:shadow-[var(--tpl-shadow-md)]" }, M = { class: "tpl:flex tpl:items-center tpl:gap-2" }, N = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, P = { class: "tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, F = { class: "tpl:m-0 tpl:flex tpl:max-h-64 tpl:list-none tpl:flex-col tpl:gap-1.5 tpl:overflow-y-auto tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-2" }, I = { class: "tpl:text-xs tpl:text-[var(--tpl-text)]" }, L = { class: "tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, R = { class: "tpl:flex tpl:justify-end tpl:gap-2" }, z = /* @__PURE__ */ p({
|
|
54
54
|
__name: "CloudSaveGateModal",
|
|
55
55
|
props: {
|
|
56
56
|
open: { type: Boolean },
|
|
57
57
|
issues: {}
|
|
58
58
|
},
|
|
59
59
|
emits: ["cancel", "confirm"],
|
|
60
|
-
setup(
|
|
61
|
-
let
|
|
62
|
-
return (
|
|
60
|
+
setup(r, { emit: u }) {
|
|
61
|
+
let p = u, { t: g } = y();
|
|
62
|
+
return (u, _) => (e(), l(h, {
|
|
63
63
|
"enter-active-class": "tpl:transition-opacity",
|
|
64
64
|
"leave-active-class": "tpl:transition-opacity",
|
|
65
65
|
"enter-from-class": "tpl:opacity-0",
|
|
66
66
|
"leave-to-class": "tpl:opacity-0"
|
|
67
67
|
}, {
|
|
68
|
-
default:
|
|
68
|
+
default: t(() => [r.open ? (e(), o("div", {
|
|
69
69
|
key: 0,
|
|
70
70
|
role: "dialog",
|
|
71
71
|
"aria-modal": "true",
|
|
72
|
-
"aria-label":
|
|
72
|
+
"aria-label": i(g).saveGate.title,
|
|
73
73
|
class: "tpl:fixed tpl:inset-0 tpl:z-50 tpl:flex tpl:items-center tpl:justify-center tpl:bg-black/40 tpl:p-6",
|
|
74
|
-
onClick: _[2] ||= m((e) =>
|
|
75
|
-
}, [
|
|
76
|
-
|
|
74
|
+
onClick: _[2] ||= m((e) => p("cancel"), ["self"])
|
|
75
|
+
}, [a("div", j, [
|
|
76
|
+
a("header", M, [s(i(v), {
|
|
77
77
|
size: 18,
|
|
78
78
|
"stroke-width": 2,
|
|
79
79
|
class: "tpl:text-[var(--tpl-warning)]"
|
|
80
|
-
}),
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
key: `${
|
|
80
|
+
}), a("h2", N, c(i(g).saveGate.title), 1)]),
|
|
81
|
+
a("p", P, c(i(g).saveGate.body), 1),
|
|
82
|
+
a("ul", F, [(e(!0), o(d, null, n(r.issues, (t) => (e(), o("li", {
|
|
83
|
+
key: `${t.ruleId}-${t.blockId ?? "template"}`,
|
|
84
84
|
class: "tpl:flex tpl:flex-col tpl:gap-0.5 tpl:rounded tpl:px-2 tpl:py-1.5"
|
|
85
|
-
}, [
|
|
86
|
-
|
|
85
|
+
}, [a("span", I, c(t.message), 1), a("span", L, c(t.ruleId), 1)]))), 128))]),
|
|
86
|
+
a("footer", R, [a("button", {
|
|
87
87
|
type: "button",
|
|
88
88
|
class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]",
|
|
89
|
-
onClick: _[0] ||= (e) =>
|
|
90
|
-
},
|
|
89
|
+
onClick: _[0] ||= (e) => p("cancel")
|
|
90
|
+
}, c(i(g).saveGate.cancel), 1), a("button", {
|
|
91
91
|
type: "button",
|
|
92
92
|
class: "tpl:rounded-md tpl:bg-[var(--tpl-danger)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-bg)]",
|
|
93
|
-
onClick: _[1] ||= (e) =>
|
|
94
|
-
},
|
|
95
|
-
])], 8, A)) :
|
|
93
|
+
onClick: _[1] ||= (e) => p("confirm")
|
|
94
|
+
}, c(i(g).saveGate.confirm), 1)])
|
|
95
|
+
])], 8, A)) : f("", !0)]),
|
|
96
96
|
_: 1
|
|
97
97
|
}));
|
|
98
98
|
}
|
|
@@ -106,36 +106,29 @@ var b = {
|
|
|
106
106
|
color: "var(--tpl-text)",
|
|
107
107
|
border: "1px solid var(--tpl-warning)"
|
|
108
108
|
}
|
|
109
|
-
}, V = /* @__PURE__ */
|
|
109
|
+
}, V = /* @__PURE__ */ p({
|
|
110
110
|
__name: "CollabUndoToast",
|
|
111
111
|
props: { visible: { type: Boolean } },
|
|
112
|
-
setup(
|
|
113
|
-
let { t } = g();
|
|
114
|
-
return (r,
|
|
112
|
+
setup(t) {
|
|
113
|
+
let { t: n } = g();
|
|
114
|
+
return (r, a) => t.visible ? (e(), o("div", B, c(i(n).history.collabWarning), 1)) : f("", !0);
|
|
115
115
|
}
|
|
116
|
-
}), H = /* @__PURE__ */
|
|
116
|
+
}), H = /* @__PURE__ */ p({
|
|
117
117
|
__name: "CloudPanels",
|
|
118
118
|
props: {
|
|
119
119
|
editor: {},
|
|
120
120
|
core: {},
|
|
121
121
|
runtime: {},
|
|
122
122
|
cloud: {},
|
|
123
|
-
ready: {}
|
|
124
|
-
locale: {}
|
|
123
|
+
ready: {}
|
|
125
124
|
},
|
|
126
|
-
setup(
|
|
127
|
-
let
|
|
128
|
-
try {
|
|
129
|
-
return (await import("@templatical/media-library")).MediaLibraryModal;
|
|
130
|
-
} catch {
|
|
131
|
-
throw Error("[Templatical] Cloud media library requires the optional peer dependency '@templatical/media-library'. Please install it.");
|
|
132
|
-
}
|
|
133
|
-
}), d = t;
|
|
125
|
+
setup(n) {
|
|
126
|
+
let a = r(() => import("./AiChatSidebar-tu4eLcf_.js")), c = r(() => import("./DesignReferenceSidebar--QtXjLrw.js")), l = r(() => import("./TemplateScoringPanel-CSin43YM.js")), u = n;
|
|
134
127
|
function f(e) {
|
|
135
|
-
|
|
128
|
+
u.core.history.record(), u.editor.setContent(e), u.core.conditionPreview.reset();
|
|
136
129
|
}
|
|
137
|
-
return (
|
|
138
|
-
|
|
130
|
+
return (r, u) => (e(), o(d, null, [
|
|
131
|
+
s(h, {
|
|
139
132
|
"enter-active-class": "tpl:transition-opacity tpl:duration-200",
|
|
140
133
|
"enter-from-class": "tpl:opacity-100",
|
|
141
134
|
"enter-to-class": "tpl:opacity-100",
|
|
@@ -143,10 +136,10 @@ var b = {
|
|
|
143
136
|
"leave-from-class": "tpl:opacity-100",
|
|
144
137
|
"leave-to-class": "tpl:opacity-0"
|
|
145
138
|
}, {
|
|
146
|
-
default:
|
|
139
|
+
default: t(() => [s(k, { visible: n.editor.state.isLoading }, null, 8, ["visible"])]),
|
|
147
140
|
_: 1
|
|
148
141
|
}),
|
|
149
|
-
|
|
142
|
+
s(h, {
|
|
150
143
|
"enter-active-class": "tpl:transition-opacity tpl:duration-200",
|
|
151
144
|
"enter-from-class": "tpl:opacity-0",
|
|
152
145
|
"enter-to-class": "tpl:opacity-100",
|
|
@@ -154,10 +147,10 @@ var b = {
|
|
|
154
147
|
"leave-from-class": "tpl:opacity-100",
|
|
155
148
|
"leave-to-class": "tpl:opacity-0"
|
|
156
149
|
}, {
|
|
157
|
-
default:
|
|
158
|
-
error:
|
|
159
|
-
visible: !!
|
|
160
|
-
onRetry:
|
|
150
|
+
default: t(() => [s(T, {
|
|
151
|
+
error: n.ready.sessionError.value,
|
|
152
|
+
visible: !!n.ready.sessionError.value,
|
|
153
|
+
onRetry: n.ready.retry
|
|
161
154
|
}, null, 8, [
|
|
162
155
|
"error",
|
|
163
156
|
"visible",
|
|
@@ -165,18 +158,18 @@ var b = {
|
|
|
165
158
|
])]),
|
|
166
159
|
_: 1
|
|
167
160
|
}),
|
|
168
|
-
|
|
169
|
-
open:
|
|
170
|
-
issues:
|
|
171
|
-
onCancel:
|
|
172
|
-
onConfirm:
|
|
161
|
+
s(z, {
|
|
162
|
+
open: n.ready.saveGate.modalOpen.value,
|
|
163
|
+
issues: n.ready.saveGate.blockingIssues.value,
|
|
164
|
+
onCancel: n.ready.saveGate.cancel,
|
|
165
|
+
onConfirm: n.ready.saveGate.confirmAndSave
|
|
173
166
|
}, null, 8, [
|
|
174
167
|
"open",
|
|
175
168
|
"issues",
|
|
176
169
|
"onCancel",
|
|
177
170
|
"onConfirm"
|
|
178
171
|
]),
|
|
179
|
-
|
|
172
|
+
s(h, {
|
|
180
173
|
"enter-active-class": "tpl:transition-all tpl:duration-200 tpl:ease-out",
|
|
181
174
|
"enter-from-class": "tpl:translate-y-[-8px] tpl:opacity-0",
|
|
182
175
|
"enter-to-class": "tpl:translate-y-0 tpl:opacity-100",
|
|
@@ -184,47 +177,24 @@ var b = {
|
|
|
184
177
|
"leave-from-class": "tpl:translate-y-0 tpl:opacity-100",
|
|
185
178
|
"leave-to-class": "tpl:translate-y-[-8px] tpl:opacity-0"
|
|
186
179
|
}, {
|
|
187
|
-
default:
|
|
180
|
+
default: t(() => [s(V, { visible: n.ready.collabWarning.collabUndoWarningVisible.value }, null, 8, ["visible"])]),
|
|
188
181
|
_: 1
|
|
189
182
|
}),
|
|
190
|
-
|
|
191
|
-
visible:
|
|
183
|
+
s(i(a), {
|
|
184
|
+
visible: n.cloud.panelState.aiChatOpen.value,
|
|
192
185
|
"on-apply": f,
|
|
193
|
-
onClose:
|
|
186
|
+
onClose: u[0] ||= (e) => n.cloud.panelState.aiChatOpen.value = !1
|
|
194
187
|
}, null, 8, ["visible"]),
|
|
195
|
-
|
|
196
|
-
visible:
|
|
197
|
-
onClose:
|
|
188
|
+
s(i(l), {
|
|
189
|
+
visible: n.cloud.panelState.scoringPanelOpen.value,
|
|
190
|
+
onClose: u[1] ||= (e) => n.cloud.panelState.scoringPanelOpen.value = !1
|
|
198
191
|
}, null, 8, ["visible"]),
|
|
199
|
-
|
|
200
|
-
visible:
|
|
201
|
-
"has-existing-blocks":
|
|
202
|
-
onClose:
|
|
192
|
+
s(i(c), {
|
|
193
|
+
visible: n.cloud.panelState.designReferenceOpen.value,
|
|
194
|
+
"has-existing-blocks": n.editor.content.value.blocks.length > 0,
|
|
195
|
+
onClose: u[2] ||= (e) => n.cloud.panelState.designReferenceOpen.value = !1,
|
|
203
196
|
onApply: f
|
|
204
|
-
}, null, 8, ["visible", "has-existing-blocks"])
|
|
205
|
-
r(u(c), {
|
|
206
|
-
visible: t.cloud.panelState.mediaLibraryOpen.value,
|
|
207
|
-
accept: t.cloud.panelState.mediaLibraryAccept.value,
|
|
208
|
-
"popover-target": t.core.popoverRoot.value,
|
|
209
|
-
locale: t.locale,
|
|
210
|
-
"ui-theme": t.core.resolvedTheme.value,
|
|
211
|
-
"auth-manager": t.cloud.mediaBrowser.authManager,
|
|
212
|
-
"project-id": t.cloud.mediaBrowser.projectId,
|
|
213
|
-
"plan-config": t.cloud.mediaBrowser.planConfig,
|
|
214
|
-
onSelect: t.cloud.mediaLib.handleMediaSelect,
|
|
215
|
-
onClose: t.cloud.mediaLib.handleMediaLibraryClose
|
|
216
|
-
}, null, 8, [
|
|
217
|
-
"visible",
|
|
218
|
-
"accept",
|
|
219
|
-
"popover-target",
|
|
220
|
-
"locale",
|
|
221
|
-
"ui-theme",
|
|
222
|
-
"auth-manager",
|
|
223
|
-
"project-id",
|
|
224
|
-
"plan-config",
|
|
225
|
-
"onSelect",
|
|
226
|
-
"onClose"
|
|
227
|
-
])
|
|
197
|
+
}, null, 8, ["visible", "has-existing-blocks"])
|
|
228
198
|
], 64));
|
|
229
199
|
}
|
|
230
200
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./useEditorCore-
|
|
3
|
-
import { t as f } from "./createLucideIcon-
|
|
4
|
-
import { n as p } from "./useCloudI18n-
|
|
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-DhlKOYwe.js";
|
|
3
|
+
import { t as f } from "./createLucideIcon-Cwf_nTzE.js";
|
|
4
|
+
import { n as p } from "./useCloudI18n-BLyh_e2T.js";
|
|
5
5
|
import { t as m } from "./readableTextColor-f8Kykfnh.js";
|
|
6
6
|
var h = f({
|
|
7
7
|
name: "wifi-off",
|
|
@@ -72,31 +72,31 @@ var h = f({
|
|
|
72
72
|
let t = e.trim().split(/\s+/);
|
|
73
73
|
return t.length >= 2 ? (t[0].charAt(0) + t[t.length - 1].charAt(0)).toUpperCase() : e.charAt(0).toUpperCase();
|
|
74
74
|
}
|
|
75
|
-
return (l, f) => (
|
|
75
|
+
return (l, f) => (e(), a("div", _, [i("div", {
|
|
76
76
|
class: "tpl:flex tpl:items-center tpl:gap-1 tpl:text-[11px]",
|
|
77
|
-
style:
|
|
78
|
-
title: d.isConnected ?
|
|
79
|
-
}, [d.isConnected ? (
|
|
77
|
+
style: t({ color: d.isConnected ? "var(--tpl-success)" : "var(--tpl-text-muted)" }),
|
|
78
|
+
title: d.isConnected ? r(C).collaboration.connected : r(C).collaboration.disconnected
|
|
79
|
+
}, [d.isConnected ? (e(), s(r(g), {
|
|
80
80
|
key: 0,
|
|
81
81
|
size: 12,
|
|
82
82
|
"stroke-width": 2
|
|
83
|
-
})) : (
|
|
83
|
+
})) : (e(), s(r(h), {
|
|
84
84
|
key: 1,
|
|
85
85
|
size: 12,
|
|
86
86
|
"stroke-width": 2
|
|
87
|
-
}))], 12, v), d.collaborators.length > 0 ? (
|
|
88
|
-
key:
|
|
87
|
+
}))], 12, v), d.collaborators.length > 0 ? (e(), a("div", y, [(e(!0), a(c, null, n(w.value, (n) => (e(), a("div", {
|
|
88
|
+
key: n.id,
|
|
89
89
|
class: "tpl-collaborator-avatar tpl:relative tpl:flex tpl:size-6 tpl:items-center tpl:justify-center tpl:rounded-full tpl:border-2 tpl:text-[10px] tpl:font-bold tpl:transition-transform tpl:hover:z-10 tpl:hover:scale-110 tpl:border-[var(--tpl-bg)]",
|
|
90
|
-
style:
|
|
91
|
-
backgroundColor:
|
|
92
|
-
color:
|
|
90
|
+
style: t({
|
|
91
|
+
backgroundColor: n.color,
|
|
92
|
+
color: r(m)(n.color)
|
|
93
93
|
}),
|
|
94
|
-
title:
|
|
95
|
-
},
|
|
94
|
+
title: n.name
|
|
95
|
+
}, o(O(n.name)), 13, b))), 128)), E.value > 0 ? (e(), a("div", {
|
|
96
96
|
key: 0,
|
|
97
97
|
class: "tpl:relative tpl:flex tpl:size-6 tpl:items-center tpl:justify-center tpl:rounded-full tpl:border-2 tpl:text-[9px] tpl:font-bold tpl:border-[var(--tpl-bg)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)]",
|
|
98
98
|
title: D.value
|
|
99
|
-
}, " +" +
|
|
99
|
+
}, " +" + o(E.value), 9, x)) : u("", !0)])) : u("", !0)]));
|
|
100
100
|
}
|
|
101
101
|
});
|
|
102
102
|
//#endregion
|