@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
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as p } from "./useI18n-
|
|
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-BbdxxpOE.js";
|
|
3
3
|
import { p as m } from "./styleConstants-C_YAPdQS.js";
|
|
4
|
-
import { t as h } from "./ColorPicker-
|
|
5
|
-
import { i as g, n as _, r as v, t as y } from "./FieldRow-
|
|
4
|
+
import { t as h } from "./ColorPicker-BqlZ_TqG.js";
|
|
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 = [
|
|
8
8
|
"value",
|
|
9
9
|
"placeholder",
|
|
10
10
|
"onInput"
|
|
11
|
-
], j = ["value", "placeholder"], M = ["value"], N = /* @__PURE__ */
|
|
11
|
+
], j = ["value", "placeholder"], M = ["value"], N = /* @__PURE__ */ f({
|
|
12
12
|
__name: "CountdownToolbar",
|
|
13
13
|
props: {
|
|
14
14
|
block: {},
|
|
15
15
|
fontFamilies: {}
|
|
16
16
|
},
|
|
17
17
|
emits: ["update"],
|
|
18
|
-
setup(
|
|
18
|
+
setup(f, { emit: N }) {
|
|
19
19
|
let P = N, { t: F } = p(), I = [
|
|
20
20
|
"UTC",
|
|
21
21
|
"America/New_York",
|
|
@@ -50,7 +50,7 @@ var b = ["value"], x = ["value"], S = ["value"], C = { class: "tpl:grid tpl:grid
|
|
|
50
50
|
"Hours",
|
|
51
51
|
"Minutes",
|
|
52
52
|
"Seconds"
|
|
53
|
-
], z =
|
|
53
|
+
], z = d(() => R.map((e) => ({
|
|
54
54
|
unit: e,
|
|
55
55
|
showKey: `show${e}`,
|
|
56
56
|
labelKey: `label${e}`,
|
|
@@ -59,34 +59,34 @@ var b = ["value"], x = ["value"], S = ["value"], C = { class: "tpl:grid tpl:grid
|
|
|
59
59
|
function B(e, t) {
|
|
60
60
|
P("update", { [e]: t });
|
|
61
61
|
}
|
|
62
|
-
return (
|
|
63
|
-
|
|
64
|
-
default:
|
|
62
|
+
return (d, p) => (e(), a(u, null, [
|
|
63
|
+
o(y, { label: r(F).countdown.targetDate }, {
|
|
64
|
+
default: t(() => [i("input", {
|
|
65
65
|
type: "datetime-local",
|
|
66
|
-
class:
|
|
67
|
-
value:
|
|
66
|
+
class: c(r(m)),
|
|
67
|
+
value: f.block.targetDate,
|
|
68
68
|
onInput: p[0] ||= (e) => B("targetDate", e.target.value)
|
|
69
69
|
}, null, 42, b)]),
|
|
70
70
|
_: 1
|
|
71
71
|
}, 8, ["label"]),
|
|
72
|
-
|
|
73
|
-
default:
|
|
74
|
-
class:
|
|
75
|
-
value:
|
|
72
|
+
o(y, { label: r(F).countdown.timezone }, {
|
|
73
|
+
default: t(() => [i("select", {
|
|
74
|
+
class: c(r(m)),
|
|
75
|
+
value: f.block.timezone,
|
|
76
76
|
onChange: p[1] ||= (e) => B("timezone", e.target.value)
|
|
77
|
-
}, [(
|
|
77
|
+
}, [(e(), a(u, null, n(I, (e) => i("option", {
|
|
78
78
|
key: e,
|
|
79
79
|
value: e
|
|
80
|
-
},
|
|
80
|
+
}, s(e), 9, S)), 64))], 42, x)]),
|
|
81
81
|
_: 1
|
|
82
82
|
}, 8, ["label"]),
|
|
83
|
-
|
|
84
|
-
default:
|
|
85
|
-
key:
|
|
83
|
+
o(y, { label: r(F).countdown.display }, {
|
|
84
|
+
default: t(() => [i("div", C, [(e(!0), a(u, null, n(z.value, (t) => (e(), l(g, {
|
|
85
|
+
key: t.unit,
|
|
86
86
|
class: "tpl:text-[12px] tpl:text-[var(--tpl-text)]",
|
|
87
|
-
"model-value":
|
|
88
|
-
label:
|
|
89
|
-
"onUpdate:modelValue": (
|
|
87
|
+
"model-value": f.block[t.showKey],
|
|
88
|
+
label: r(F).countdown[t.translationKey],
|
|
89
|
+
"onUpdate:modelValue": (e) => B(t.showKey, e)
|
|
90
90
|
}, null, 8, [
|
|
91
91
|
"model-value",
|
|
92
92
|
"label",
|
|
@@ -94,37 +94,37 @@ var b = ["value"], x = ["value"], S = ["value"], C = { class: "tpl:grid tpl:grid
|
|
|
94
94
|
]))), 128))])]),
|
|
95
95
|
_: 1
|
|
96
96
|
}, 8, ["label"]),
|
|
97
|
-
|
|
98
|
-
default:
|
|
97
|
+
o(y, { label: r(F).countdown.separator }, {
|
|
98
|
+
default: t(() => [o(v, {
|
|
99
99
|
options: L,
|
|
100
|
-
"model-value":
|
|
100
|
+
"model-value": f.block.separator,
|
|
101
101
|
"onUpdate:modelValue": p[2] ||= (e) => B("separator", e)
|
|
102
102
|
}, null, 8, ["model-value"])]),
|
|
103
103
|
_: 1
|
|
104
104
|
}, 8, ["label"]),
|
|
105
|
-
|
|
106
|
-
default:
|
|
107
|
-
class:
|
|
108
|
-
value:
|
|
105
|
+
o(y, { label: r(F).countdown.fontFamily }, {
|
|
106
|
+
default: t(() => [i("select", {
|
|
107
|
+
class: c(r(m)),
|
|
108
|
+
value: f.block.fontFamily || "",
|
|
109
109
|
onChange: p[3] ||= (e) => B("fontFamily", e.target.value || void 0)
|
|
110
|
-
}, [
|
|
111
|
-
key:
|
|
112
|
-
value:
|
|
113
|
-
},
|
|
110
|
+
}, [i("option", T, s(r(F).countdown.inheritFont), 1), (e(!0), a(u, null, n(f.fontFamilies, (t) => (e(), a("option", {
|
|
111
|
+
key: t.value,
|
|
112
|
+
value: t.value
|
|
113
|
+
}, s(t.label), 9, E))), 128))], 42, w)]),
|
|
114
114
|
_: 1
|
|
115
115
|
}, 8, ["label"]),
|
|
116
|
-
|
|
117
|
-
default:
|
|
118
|
-
"model-value":
|
|
116
|
+
i("div", D, [o(y, { label: r(F).countdown.digitFontSize }, {
|
|
117
|
+
default: t(() => [o(_, {
|
|
118
|
+
"model-value": f.block.digitFontSize,
|
|
119
119
|
min: 12,
|
|
120
120
|
max: 72,
|
|
121
121
|
suffix: "px",
|
|
122
122
|
"onUpdate:modelValue": p[4] ||= (e) => B("digitFontSize", e)
|
|
123
123
|
}, null, 8, ["model-value"])]),
|
|
124
124
|
_: 1
|
|
125
|
-
}, 8, ["label"]),
|
|
126
|
-
default:
|
|
127
|
-
"model-value":
|
|
125
|
+
}, 8, ["label"]), o(y, { label: r(F).countdown.labelFontSize }, {
|
|
126
|
+
default: t(() => [o(_, {
|
|
127
|
+
"model-value": f.block.labelFontSize,
|
|
128
128
|
min: 8,
|
|
129
129
|
max: 24,
|
|
130
130
|
suffix: "px",
|
|
@@ -132,61 +132,61 @@ var b = ["value"], x = ["value"], S = ["value"], C = { class: "tpl:grid tpl:grid
|
|
|
132
132
|
}, null, 8, ["model-value"])]),
|
|
133
133
|
_: 1
|
|
134
134
|
}, 8, ["label"])]),
|
|
135
|
-
|
|
136
|
-
default:
|
|
137
|
-
"model-value":
|
|
135
|
+
i("div", O, [o(y, { label: r(F).countdown.digitColor }, {
|
|
136
|
+
default: t(() => [o(h, {
|
|
137
|
+
"model-value": f.block.digitColor,
|
|
138
138
|
"onUpdate:modelValue": p[6] ||= (e) => B("digitColor", e)
|
|
139
139
|
}, null, 8, ["model-value"])]),
|
|
140
140
|
_: 1
|
|
141
|
-
}, 8, ["label"]),
|
|
142
|
-
default:
|
|
143
|
-
"model-value":
|
|
141
|
+
}, 8, ["label"]), o(y, { label: r(F).countdown.labelColor }, {
|
|
142
|
+
default: t(() => [o(h, {
|
|
143
|
+
"model-value": f.block.labelColor,
|
|
144
144
|
"onUpdate:modelValue": p[7] ||= (e) => B("labelColor", e)
|
|
145
145
|
}, null, 8, ["model-value"])]),
|
|
146
146
|
_: 1
|
|
147
147
|
}, 8, ["label"])]),
|
|
148
|
-
|
|
149
|
-
default:
|
|
150
|
-
"model-value":
|
|
148
|
+
o(y, { label: r(F).countdown.background }, {
|
|
149
|
+
default: t(() => [o(h, {
|
|
150
|
+
"model-value": f.block.backgroundColor,
|
|
151
151
|
"onUpdate:modelValue": p[8] ||= (e) => B("backgroundColor", e)
|
|
152
152
|
}, null, 8, ["model-value"])]),
|
|
153
153
|
_: 1
|
|
154
154
|
}, 8, ["label"]),
|
|
155
|
-
|
|
156
|
-
default:
|
|
155
|
+
o(y, { label: r(F).countdown.labels }, {
|
|
156
|
+
default: t(() => [i("div", k, [(e(!0), a(u, null, n(z.value, (t) => (e(), a("input", {
|
|
157
157
|
key: t.unit,
|
|
158
158
|
type: "text",
|
|
159
|
-
class:
|
|
160
|
-
value:
|
|
161
|
-
placeholder:
|
|
159
|
+
class: c(r(m)),
|
|
160
|
+
value: f.block[t.labelKey],
|
|
161
|
+
placeholder: r(F).countdown[t.translationKey],
|
|
162
162
|
onInput: (e) => B(t.labelKey, e.target.value)
|
|
163
163
|
}, null, 42, A))), 128))])]),
|
|
164
164
|
_: 1
|
|
165
165
|
}, 8, ["label"]),
|
|
166
|
-
|
|
167
|
-
default:
|
|
166
|
+
o(y, { label: r(F).countdown.expiry }, {
|
|
167
|
+
default: t(() => [i("input", {
|
|
168
168
|
type: "text",
|
|
169
|
-
class:
|
|
170
|
-
value:
|
|
171
|
-
placeholder:
|
|
169
|
+
class: c(r(m)),
|
|
170
|
+
value: f.block.expiredMessage,
|
|
171
|
+
placeholder: r(F).countdown.expiredMessagePlaceholder,
|
|
172
172
|
onInput: p[9] ||= (e) => B("expiredMessage", e.target.value)
|
|
173
173
|
}, null, 42, j)]),
|
|
174
174
|
_: 1
|
|
175
175
|
}, 8, ["label"]),
|
|
176
|
-
|
|
177
|
-
default:
|
|
176
|
+
o(y, { label: r(F).countdown.expiredImageUrl }, {
|
|
177
|
+
default: t(() => [i("input", {
|
|
178
178
|
type: "url",
|
|
179
|
-
class:
|
|
180
|
-
value:
|
|
179
|
+
class: c(r(m)),
|
|
180
|
+
value: f.block.expiredImageUrl,
|
|
181
181
|
placeholder: "https://...",
|
|
182
182
|
onInput: p[10] ||= (e) => B("expiredImageUrl", e.target.value)
|
|
183
183
|
}, null, 42, M)]),
|
|
184
184
|
_: 1
|
|
185
185
|
}, 8, ["label"]),
|
|
186
|
-
|
|
186
|
+
o(g, {
|
|
187
187
|
class: "tpl:mb-3.5 tpl:text-[12px] tpl:text-[var(--tpl-text)]",
|
|
188
|
-
"model-value":
|
|
189
|
-
label:
|
|
188
|
+
"model-value": f.block.hideOnExpiry,
|
|
189
|
+
label: r(F).countdown.hideOnExpiry,
|
|
190
190
|
"onUpdate:modelValue": p[11] ||= (e) => B("hideOnExpiry", e)
|
|
191
191
|
}, null, 8, ["model-value", "label"])
|
|
192
192
|
], 64));
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as
|
|
3
|
-
import {
|
|
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
|
+
import { a as ae, t as oe } from "./runtime-dom.esm-bundler-PnoZU512.js";
|
|
3
|
+
import { Y as p, g as se, i as ce } from "./keys-DQA2i1k1.js";
|
|
4
4
|
import "./timeouts-DHPZQ0G3.js";
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { n as
|
|
13
|
-
import {
|
|
14
|
-
var
|
|
5
|
+
import { t as m } from "./createLucideIcon-Cwf_nTzE.js";
|
|
6
|
+
import { t as le } from "./circle-alert-CjzUTwy3.js";
|
|
7
|
+
import { t as h } from "./image-up-gH4JEpU5.js";
|
|
8
|
+
import { t as ue } from "./upload-DusKjpVr.js";
|
|
9
|
+
import { t as g } from "./x-D_-42Ukq.js";
|
|
10
|
+
import { t as de } from "./LoadingTrack-BlTL4zFv.js";
|
|
11
|
+
import { t as _ } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
+
import { n as fe } from "./useCloudI18n-BLyh_e2T.js";
|
|
13
|
+
import { _ as pe } from "./cloud-DdidMW6f.js";
|
|
14
|
+
var me = m({
|
|
15
15
|
name: "file-image",
|
|
16
16
|
size: 24,
|
|
17
17
|
node: [
|
|
@@ -34,7 +34,7 @@ var fe = g({
|
|
|
34
34
|
key: "wt3hpn"
|
|
35
35
|
}]
|
|
36
36
|
]
|
|
37
|
-
}),
|
|
37
|
+
}), v = m({
|
|
38
38
|
name: "file-text",
|
|
39
39
|
size: 24,
|
|
40
40
|
node: [
|
|
@@ -59,10 +59,10 @@ var fe = g({
|
|
|
59
59
|
key: "z1uh3a"
|
|
60
60
|
}]
|
|
61
61
|
]
|
|
62
|
-
}),
|
|
62
|
+
}), he = {
|
|
63
63
|
key: 0,
|
|
64
64
|
class: "tpl-design-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)]"
|
|
65
|
-
},
|
|
65
|
+
}, ge = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, y = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-primary)]" }, b = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, x = {
|
|
66
66
|
key: 0,
|
|
67
67
|
class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:text-center"
|
|
68
68
|
}, S = { class: "tpl:flex tpl:w-full tpl:flex-col tpl:items-center tpl:gap-3" }, C = { class: "tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, w = {
|
|
@@ -80,19 +80,19 @@ var fe = g({
|
|
|
80
80
|
}, _e = { class: "tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text)]" }, ve = { class: "tpl:flex tpl:gap-2" }, ye = {
|
|
81
81
|
key: 1,
|
|
82
82
|
class: "tpl:flex tpl:items-start tpl:gap-2 tpl:rounded-lg tpl:px-3 tpl:py-2 tpl:text-xs tpl:bg-[var(--tpl-danger-light)] tpl:text-[var(--tpl-danger)]"
|
|
83
|
-
}, be = ["disabled"], xe = { class: "tpl:m-0 tpl:pt-1 tpl:text-center tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, R = /*#__PURE__*/
|
|
83
|
+
}, be = ["disabled"], xe = { class: "tpl:m-0 tpl:pt-1 tpl:text-center tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, R = /*#__PURE__*/ _(/* @__PURE__ */ f({
|
|
84
84
|
__name: "DesignReferenceSidebar",
|
|
85
85
|
props: {
|
|
86
86
|
visible: { type: Boolean },
|
|
87
87
|
hasExistingBlocks: { type: Boolean }
|
|
88
88
|
},
|
|
89
89
|
emits: ["close", "apply"],
|
|
90
|
-
setup(
|
|
91
|
-
let
|
|
90
|
+
setup(f, { emit: m }) {
|
|
91
|
+
let _ = f, R = m, { t: z } = fe(), Se = p(se, "DesignReferenceSidebar"), Ce = p(ce, "DesignReferenceSidebar"), B = pe({
|
|
92
92
|
authManager: Ce,
|
|
93
93
|
getTemplateId: () => Se.state.template?.id ?? null,
|
|
94
94
|
onApply: (e) => R("apply", e)
|
|
95
|
-
}), V =
|
|
95
|
+
}), V = i(null), H = i("image"), U = i(null), W = i(""), G = i(null), K = i(!1), q = i(!1), J = ie(() => !B.isGenerating.value && U.value !== null);
|
|
96
96
|
function Y(e) {
|
|
97
97
|
H.value = e, Z();
|
|
98
98
|
}
|
|
@@ -137,7 +137,7 @@ var fe = g({
|
|
|
137
137
|
}
|
|
138
138
|
function $() {
|
|
139
139
|
if (!J.value) return;
|
|
140
|
-
if (
|
|
140
|
+
if (_.hasExistingBlocks && !K.value) {
|
|
141
141
|
K.value = !0;
|
|
142
142
|
return;
|
|
143
143
|
}
|
|
@@ -148,11 +148,11 @@ var fe = g({
|
|
|
148
148
|
function De() {
|
|
149
149
|
K.value = !1;
|
|
150
150
|
}
|
|
151
|
-
return r(() =>
|
|
151
|
+
return r(() => _.visible, (e) => {
|
|
152
152
|
e || (K.value = !1);
|
|
153
|
-
}),
|
|
153
|
+
}), ee(() => {
|
|
154
154
|
G.value &&= (URL.revokeObjectURL(G.value), null);
|
|
155
|
-
}), (
|
|
155
|
+
}), (ee, r) => (e(), re(oe, {
|
|
156
156
|
"enter-active-class": "tpl-design-slide-enter-active",
|
|
157
157
|
"enter-from-class": "tpl:translate-x-full",
|
|
158
158
|
"enter-to-class": "tpl:translate-x-0",
|
|
@@ -160,58 +160,58 @@ var fe = g({
|
|
|
160
160
|
"leave-from-class": "tpl:translate-x-0",
|
|
161
161
|
"leave-to-class": "tpl:translate-x-full"
|
|
162
162
|
}, {
|
|
163
|
-
default:
|
|
163
|
+
default: n(() => [f.visible ? (e(), s("div", he, [o("div", ge, [o("div", y, [c(a(h), {
|
|
164
164
|
size: 13,
|
|
165
165
|
"stroke-width": 2
|
|
166
|
-
}), o("span", null,
|
|
166
|
+
}), o("span", null, u(a(z).designReference.title), 1)]), o("button", {
|
|
167
167
|
class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
|
|
168
168
|
onClick: r[0] ||= (e) => R("close")
|
|
169
|
-
}, [c(
|
|
169
|
+
}, [c(a(g), {
|
|
170
170
|
size: 14,
|
|
171
171
|
"stroke-width": 2
|
|
172
|
-
})])]), o("div",
|
|
172
|
+
})])]), o("div", b, [a(B).isGenerating.value ? (e(), s("div", x, [o("div", S, [c(de), o("p", C, u(a(z).designReference.generating), 1)])])) : (e(), s("div", w, [
|
|
173
173
|
o("div", T, [o("button", {
|
|
174
174
|
class: "tpl:flex tpl:flex-1 tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-2 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all",
|
|
175
|
-
style:
|
|
175
|
+
style: t({
|
|
176
176
|
backgroundColor: H.value === "image" ? "var(--tpl-bg)" : "transparent",
|
|
177
177
|
color: H.value === "image" ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
|
|
178
178
|
boxShadow: H.value === "image" ? "var(--tpl-shadow)" : "none"
|
|
179
179
|
}),
|
|
180
180
|
onClick: r[1] ||= (e) => Y("image")
|
|
181
|
-
}, [c(
|
|
181
|
+
}, [c(a(me), {
|
|
182
182
|
size: 12,
|
|
183
183
|
"stroke-width": 2
|
|
184
|
-
}), l(" " +
|
|
184
|
+
}), l(" " + u(a(z).designReference.uploadImage), 1)], 4), o("button", {
|
|
185
185
|
class: "tpl:flex tpl:flex-1 tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-2 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all",
|
|
186
|
-
style:
|
|
186
|
+
style: t({
|
|
187
187
|
backgroundColor: H.value === "pdf" ? "var(--tpl-bg)" : "transparent",
|
|
188
188
|
color: H.value === "pdf" ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
|
|
189
189
|
boxShadow: H.value === "pdf" ? "var(--tpl-shadow)" : "none"
|
|
190
190
|
}),
|
|
191
191
|
onClick: r[2] ||= (e) => Y("pdf")
|
|
192
|
-
}, [c(
|
|
192
|
+
}, [c(a(v), {
|
|
193
193
|
size: 12,
|
|
194
194
|
"stroke-width": 2
|
|
195
|
-
}), l(" " +
|
|
196
|
-
o("div", null, [U.value ? (
|
|
195
|
+
}), l(" " + u(a(z).designReference.uploadPdf), 1)], 4)]),
|
|
196
|
+
o("div", null, [U.value ? (e(), s("div", E, [o("div", D, [G.value ? (e(), s("img", {
|
|
197
197
|
key: 0,
|
|
198
198
|
src: G.value,
|
|
199
199
|
alt: U.value.name,
|
|
200
200
|
class: "tpl:h-auto tpl:max-h-48 tpl:w-full tpl:object-contain"
|
|
201
|
-
}, null, 8, O)) : (
|
|
201
|
+
}, null, 8, O)) : (e(), s("div", k, [c(a(v), {
|
|
202
202
|
size: 32,
|
|
203
203
|
"stroke-width": 1.5,
|
|
204
204
|
class: "tpl:text-[var(--tpl-text-dim)]"
|
|
205
|
-
}), o("span", A,
|
|
205
|
+
}), o("span", A, u(U.value.name), 1)])), o("button", {
|
|
206
206
|
class: "tpl:absolute tpl:top-2 tpl:right-2 tpl:rounded-full tpl:p-1 tpl:transition-colors tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:shadow-[var(--tpl-shadow)]",
|
|
207
207
|
onClick: Z
|
|
208
|
-
}, [c(
|
|
208
|
+
}, [c(a(g), {
|
|
209
209
|
size: 12,
|
|
210
210
|
"stroke-width": 2
|
|
211
|
-
})])])])) : (
|
|
211
|
+
})])])])) : (e(), s("div", {
|
|
212
212
|
key: 1,
|
|
213
213
|
class: "tpl-design-dropzone tpl:flex tpl:cursor-pointer tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded-[var(--tpl-radius)] tpl:border-2 tpl:border-dashed tpl:px-4 tpl:py-8 tpl:transition-colors",
|
|
214
|
-
style:
|
|
214
|
+
style: t({
|
|
215
215
|
borderColor: q.value ? "var(--tpl-primary)" : "var(--tpl-border-light)",
|
|
216
216
|
backgroundColor: q.value ? "var(--tpl-primary-light)" : "var(--tpl-bg)"
|
|
217
217
|
}),
|
|
@@ -220,13 +220,13 @@ var fe = g({
|
|
|
220
220
|
onDragleave: Te,
|
|
221
221
|
onDrop: Ee
|
|
222
222
|
}, [
|
|
223
|
-
c(
|
|
223
|
+
c(a(ue), {
|
|
224
224
|
size: 24,
|
|
225
225
|
"stroke-width": 1.5,
|
|
226
226
|
class: "tpl:text-[var(--tpl-text-dim)]"
|
|
227
227
|
}),
|
|
228
|
-
o("span", j,
|
|
229
|
-
o("span", M,
|
|
228
|
+
o("span", j, u(a(z).designReference.dropHint), 1),
|
|
229
|
+
o("span", M, u(H.value === "image" ? a(z).designReference.acceptedImages : a(z).designReference.acceptedPdf), 1)
|
|
230
230
|
], 36)), o("input", {
|
|
231
231
|
ref_key: "fileInput",
|
|
232
232
|
ref: V,
|
|
@@ -235,36 +235,36 @@ var fe = g({
|
|
|
235
235
|
accept: H.value === "image" ? "image/png,image/jpeg,image/webp" : "application/pdf",
|
|
236
236
|
onChange: we
|
|
237
237
|
}, null, 40, N)]),
|
|
238
|
-
o("div", P, [o("label", F,
|
|
238
|
+
o("div", P, [o("label", F, u(a(z).designReference.promptLabel), 1), te(o("textarea", {
|
|
239
239
|
"onUpdate:modelValue": r[4] ||= (e) => W.value = e,
|
|
240
|
-
class:
|
|
241
|
-
placeholder:
|
|
240
|
+
class: ne(["tpl:min-h-[72px] tpl:w-full tpl:resize-none tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:px-3 tpl:py-2 tpl:font-sans tpl:text-sm tpl:outline-none tpl:transition-colors tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)]", ["tpl-design-prompt-input"]]),
|
|
241
|
+
placeholder: a(z).designReference.promptPlaceholder,
|
|
242
242
|
rows: "3"
|
|
243
|
-
}, null, 8, I), [[
|
|
244
|
-
K.value ? (
|
|
243
|
+
}, null, 8, I), [[ae, W.value]])]),
|
|
244
|
+
K.value ? (e(), s("div", L, [o("p", _e, u(a(z).designReference.replaceWarning), 1), o("div", ve, [o("button", {
|
|
245
245
|
class: "tpl:flex-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:text-[var(--tpl-text-muted)] tpl:border tpl:border-[var(--tpl-border)]",
|
|
246
246
|
style: { "background-color": "transparent" },
|
|
247
247
|
onClick: De
|
|
248
|
-
},
|
|
248
|
+
}, u(a(z).designReference.replaceCancel), 1), o("button", {
|
|
249
249
|
class: "tpl:flex-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:hover:opacity-90 tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]",
|
|
250
250
|
onClick: $
|
|
251
|
-
},
|
|
252
|
-
|
|
251
|
+
}, u(a(z).designReference.replaceConfirm), 1)])])) : d("", !0),
|
|
252
|
+
a(B).error.value ? (e(), s("div", ye, [c(a(le), {
|
|
253
253
|
size: 14,
|
|
254
254
|
"stroke-width": 2,
|
|
255
255
|
class: "tpl:mt-0.5 tpl:shrink-0"
|
|
256
|
-
}), o("span", null,
|
|
257
|
-
K.value ?
|
|
256
|
+
}), o("span", null, u(a(z).designReference.error), 1)])) : d("", !0),
|
|
257
|
+
K.value ? d("", !0) : (e(), s("button", {
|
|
258
258
|
key: 2,
|
|
259
259
|
class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-4 tpl:py-2.5 tpl:text-sm tpl:font-medium tpl:transition-all tpl:hover:opacity-90 tpl:disabled:cursor-not-allowed tpl:disabled:opacity-50 tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]",
|
|
260
260
|
disabled: !J.value,
|
|
261
261
|
onClick: $
|
|
262
|
-
}, [c(
|
|
262
|
+
}, [c(a(h), {
|
|
263
263
|
size: 16,
|
|
264
264
|
"stroke-width": 2
|
|
265
|
-
}), l(" " +
|
|
266
|
-
o("p", xe,
|
|
267
|
-
]))])])) :
|
|
265
|
+
}), l(" " + u(a(z).designReference.generate), 1)], 8, be)),
|
|
266
|
+
o("p", xe, u(a(z).aiMenu.disclaimer), 1)
|
|
267
|
+
]))])])) : d("", !0)]),
|
|
268
268
|
_: 1
|
|
269
269
|
}));
|
|
270
270
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as e, At as t, F as n, M as r, N as i, at as a, c as o, d 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
2
|
import { g, h as _, m as v } from "./styleConstants-C_YAPdQS.js";
|
|
3
3
|
//#region src/components/ToggleSwitch.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var y = { key: 0 }, b = {
|
|
@@ -17,21 +17,21 @@ var y = { key: 0 }, b = {
|
|
|
17
17
|
required: { type: Boolean }
|
|
18
18
|
},
|
|
19
19
|
emits: ["update:modelValue"],
|
|
20
|
-
setup(
|
|
21
|
-
let
|
|
22
|
-
return (
|
|
20
|
+
setup(t, { emit: n }) {
|
|
21
|
+
let r = n;
|
|
22
|
+
return (n, a) => (e(), s("label", { class: u(["tpl:flex tpl:items-center tpl:justify-between tpl:gap-2", t.disabled ? "tpl:cursor-not-allowed" : "tpl:cursor-pointer"]) }, [n.$slots.default || t.label || t.required ? (e(), s("span", y, [i(n.$slots, "default", {}, () => [c(l(t.label), 1)]), t.required ? (e(), s("span", b, " *")) : m("", !0)])) : m("", !0), o("button", {
|
|
23
23
|
type: "button",
|
|
24
24
|
role: "switch",
|
|
25
|
-
"aria-checked":
|
|
26
|
-
"aria-label":
|
|
27
|
-
disabled:
|
|
28
|
-
class:
|
|
25
|
+
"aria-checked": t.modelValue,
|
|
26
|
+
"aria-label": t.label,
|
|
27
|
+
disabled: t.disabled,
|
|
28
|
+
class: u([
|
|
29
29
|
"tpl:relative tpl:inline-flex tpl:h-5 tpl:w-9 tpl:shrink-0 tpl:rounded-full tpl:border-2 tpl:border-transparent tpl:transition-colors tpl:duration-200",
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
t.modelValue ? "tpl:bg-[var(--tpl-primary)]" : "tpl:bg-[var(--tpl-border)]",
|
|
31
|
+
t.disabled ? "tpl:cursor-not-allowed tpl:opacity-60" : "tpl:cursor-pointer"
|
|
32
32
|
]),
|
|
33
|
-
onClick:
|
|
34
|
-
}, [
|
|
33
|
+
onClick: a[0] ||= (e) => !t.disabled && r("update:modelValue", !t.modelValue)
|
|
34
|
+
}, [o("span", { class: u(["tpl:pointer-events-none tpl:inline-block tpl:size-4 tpl:rounded-full tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow)] tpl:transition-transform tpl:duration-200", t.modelValue ? "tpl:translate-x-4" : "tpl:translate-x-0"]) }, null, 2)], 10, x)], 2));
|
|
35
35
|
}
|
|
36
36
|
}), C = [
|
|
37
37
|
"aria-checked",
|
|
@@ -45,43 +45,43 @@ var y = { key: 0 }, b = {
|
|
|
45
45
|
modelValue: {}
|
|
46
46
|
},
|
|
47
47
|
emits: ["update:modelValue"],
|
|
48
|
-
setup(
|
|
49
|
-
let
|
|
50
|
-
return (
|
|
48
|
+
setup(i, { emit: a }) {
|
|
49
|
+
let o = i, c = a, u = p(() => o.options.findIndex((e) => e.value === o.modelValue)), h = p(() => `translateX(${Math.max(u.value, 0) * 100}%)`);
|
|
50
|
+
return (a, o) => (e(), s("div", {
|
|
51
51
|
role: "radiogroup",
|
|
52
52
|
class: "tpl:relative tpl:grid tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1",
|
|
53
|
-
style:
|
|
54
|
-
gridTemplateColumns: `repeat(${
|
|
53
|
+
style: t({
|
|
54
|
+
gridTemplateColumns: `repeat(${i.options.length}, 1fr)`,
|
|
55
55
|
backgroundColor: "var(--tpl-bg-hover)"
|
|
56
56
|
})
|
|
57
|
-
}, [
|
|
57
|
+
}, [u.value >= 0 ? (e(), s("div", {
|
|
58
58
|
key: 0,
|
|
59
59
|
class: "tpl:absolute tpl:inset-y-1 tpl:rounded-[var(--tpl-radius-sm)]",
|
|
60
|
-
style:
|
|
60
|
+
style: t({
|
|
61
61
|
left: "4px",
|
|
62
|
-
width: `calc((100% - 8px) / ${
|
|
62
|
+
width: `calc((100% - 8px) / ${i.options.length})`,
|
|
63
63
|
transform: h.value,
|
|
64
64
|
backgroundColor: "var(--tpl-bg)",
|
|
65
65
|
boxShadow: "var(--tpl-shadow)",
|
|
66
66
|
transition: "transform 120ms cubic-bezier(0.16, 1, 0.3, 1)"
|
|
67
67
|
})
|
|
68
|
-
}, null, 4)) : m("", !0), (
|
|
69
|
-
key:
|
|
68
|
+
}, null, 4)) : m("", !0), (e(!0), s(f, null, r(i.options, (r) => (e(), s("button", {
|
|
69
|
+
key: r.value,
|
|
70
70
|
role: "radio",
|
|
71
|
-
"aria-checked":
|
|
72
|
-
"aria-label":
|
|
71
|
+
"aria-checked": i.modelValue === r.value,
|
|
72
|
+
"aria-label": r.label,
|
|
73
73
|
class: "tpl:relative tpl:z-10 tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:py-[5px] tpl:text-xs tpl:font-medium",
|
|
74
|
-
style:
|
|
75
|
-
color:
|
|
74
|
+
style: t({
|
|
75
|
+
color: i.modelValue === r.value ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
|
|
76
76
|
transition: "color 120ms cubic-bezier(0.16, 1, 0.3, 1)"
|
|
77
77
|
}),
|
|
78
|
-
title:
|
|
79
|
-
onClick: (e) =>
|
|
80
|
-
}, [
|
|
78
|
+
title: r.label,
|
|
79
|
+
onClick: (e) => c("update:modelValue", r.value)
|
|
80
|
+
}, [r.icon ? (e(), d(n(r.icon), {
|
|
81
81
|
key: 0,
|
|
82
82
|
size: 14,
|
|
83
83
|
"stroke-width": 2
|
|
84
|
-
})) : (
|
|
84
|
+
})) : (e(), s("span", w, l(r.label), 1))], 12, C))), 128))], 4));
|
|
85
85
|
}
|
|
86
86
|
}), E = { class: "tpl:flex tpl:items-stretch" }, D = [
|
|
87
87
|
"data-testid",
|
|
@@ -100,28 +100,28 @@ var y = { key: 0 }, b = {
|
|
|
100
100
|
emits: ["update:modelValue"],
|
|
101
101
|
setup(t, { emit: n }) {
|
|
102
102
|
let r = n;
|
|
103
|
-
function
|
|
103
|
+
function i(e) {
|
|
104
104
|
let t = e.target;
|
|
105
105
|
t.validity?.badInput || r("update:modelValue", Number(t.value));
|
|
106
106
|
}
|
|
107
|
-
return (n, r) => (
|
|
107
|
+
return (n, r) => (e(), s("div", E, [o("input", {
|
|
108
108
|
type: "number",
|
|
109
109
|
"data-testid": t.testid,
|
|
110
|
-
class:
|
|
110
|
+
class: u(a(v)),
|
|
111
111
|
value: t.modelValue,
|
|
112
112
|
min: t.min,
|
|
113
113
|
max: t.max,
|
|
114
|
-
onInput:
|
|
115
|
-
}, null, 42, D),
|
|
114
|
+
onInput: i
|
|
115
|
+
}, null, 42, D), o("span", { class: u(a(_)) }, l(t.suffix), 3)]));
|
|
116
116
|
}
|
|
117
117
|
}), k = { class: "tpl:mb-3.5" }, A = /* @__PURE__ */ h({
|
|
118
118
|
__name: "FieldRow",
|
|
119
119
|
props: { label: {} },
|
|
120
|
-
setup(
|
|
121
|
-
return (
|
|
120
|
+
setup(t) {
|
|
121
|
+
return (n, r) => (e(), s("div", k, [t.label ? (e(), s("label", {
|
|
122
122
|
key: 0,
|
|
123
|
-
class:
|
|
124
|
-
}, l(
|
|
123
|
+
class: u(a(g))
|
|
124
|
+
}, l(t.label), 3)) : m("", !0), i(n.$slots, "default")]));
|
|
125
125
|
}
|
|
126
126
|
});
|
|
127
127
|
//#endregion
|