@templatical/editor 0.24.0 → 0.24.1
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-Nq-jrGaf.js → AiChatSidebar-X4viKtvs.js} +14 -14
- package/dist/{AiFeatureMenu-tg_zMKMK.js → AiFeatureMenu-DDAamRaA.js} +7 -7
- package/dist/{BlockIssueBadge-Bd94kIiw.js → BlockIssueBadge-Qxrl7Ujl.js} +5 -5
- package/dist/{BlockPreviewCanvas-B34aMhHe.js → BlockPreviewCanvas-Cf-kxbEr.js} +3 -3
- package/dist/{CloudEditor-DjN_9Yso.js → CloudEditor-JIzhj1Xq.js} +26 -26
- package/dist/{CollaboratorBar-Bhazzcg-.js → CollaboratorBar-tC7AACTb.js} +4 -4
- package/dist/{ColorPicker-DXGrcJxJ.js → ColorPicker--_2PbzFk.js} +7 -9
- package/dist/{CommentsSidebar-ku1kt10u.js → CommentsSidebar-Ci2Ov8FG.js} +15 -15
- package/dist/{CountdownBlock-CN9Lc23W.js → CountdownBlock-aZIKfBWY.js} +3 -3
- package/dist/{CountdownToolbar-VEsIyKV6.js → CountdownToolbar-DHp6T0Q_.js} +4 -4
- package/dist/DesignReferenceSidebar-DQsC-3hB.js +264 -0
- package/dist/{IssuesPanel-CEfzOpS_.js → IssuesPanel-CoOfib44.js} +8 -8
- package/dist/{LoadingTrack-KIcREPlS.js → LoadingTrack-XK_eeUdq.js} +1 -1
- package/dist/{MergeTagModeToggle-C3V2xGAg.js → MergeTagModeToggle-CiFiSV0C.js} +6 -6
- package/dist/{MergeTagSuggestion-Dn8ww9nV.js → MergeTagSuggestion-D0OHRv7L.js} +8 -12
- package/dist/{NumberWithSuffix-BGocZkj9.js → NumberWithSuffix-CXFbUqsx.js} +2 -2
- package/dist/{ParagraphEditor-D-fz0kUb.js → ParagraphEditor-Cy-bpEjI.js} +44 -44
- package/dist/{RichTextEditorContent-DydrqFts.js → RichTextEditorContent-CYJko6id.js} +8 -8
- package/dist/{SaveBlockDialog-BDDFbAWF.js → SaveBlockDialog-CNTSaMEa.js} +10 -10
- package/dist/{SavedBlocksBrowserModal-Djik_fJh.js → SavedBlocksBrowserModal-CvxS5-YX.js} +11 -11
- package/dist/{SavedBlocksPanels-CxemyPxL.js → SavedBlocksPanels-CNdUxS89.js} +2 -2
- package/dist/{SavedBlocksPickBar-Dlhipmob.js → SavedBlocksPickBar-BvXKhblL.js} +4 -4
- package/dist/{SnapshotHistory-DPbM4ons.js → SnapshotHistory-BqPSIV9L.js} +10 -10
- package/dist/{TemplateScoringPanel-BFYgweDX.js → TemplateScoringPanel-CMEuz9yF.js} +15 -15
- package/dist/{TestEmailModal-IZfwgya-.js → TestEmailModal-BDhnnCBx.js} +10 -10
- package/dist/{TestEmailPanel-QEEx_PkN.js → TestEmailPanel--RwnwLn2.js} +2 -2
- package/dist/{TitleEditor-BB4YlIBF.js → TitleEditor-F7E_pU9H.js} +12 -12
- package/dist/TplModal-BIiS24Of.js +49 -0
- package/dist/{blockTypeIcons-Wzd7W_2x.js → blockTypeIcons-C6PnLMp7.js} +26 -26
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiChatSidebar-CN-0DIuA.js → AiChatSidebar-UbF3ePzR.js} +8 -8
- package/dist/cdn/chunks/{AiChatSidebar-CN-0DIuA.js.map → AiChatSidebar-UbF3ePzR.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-B5pV6Iux.js → AiFeatureMenu-OIwoJzHG.js} +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-B5pV6Iux.js.map → AiFeatureMenu-OIwoJzHG.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-aanOjeyi.js → BlockIssueBadge-Bd2EuT1C.js} +5 -5
- package/dist/cdn/chunks/{BlockIssueBadge-aanOjeyi.js.map → BlockIssueBadge-Bd2EuT1C.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-Dc4F4HzY.js → BlockPreviewCanvas-C-ut8GkJ.js} +5 -5
- package/dist/cdn/chunks/{BlockPreviewCanvas-Dc4F4HzY.js.map → BlockPreviewCanvas-C-ut8GkJ.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-CeKaWWO5.js → CloudEditor-D87qsqbZ.js} +20 -20
- package/dist/cdn/chunks/{CloudEditor-CeKaWWO5.js.map → CloudEditor-D87qsqbZ.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-CEdKr0A2.js → CollaboratorBar-Br4RvNrA.js} +5 -5
- package/dist/cdn/chunks/{CollaboratorBar-CEdKr0A2.js.map → CollaboratorBar-Br4RvNrA.js.map} +1 -1
- package/dist/cdn/chunks/{ColorPicker-BckwEfcN.js → ColorPicker-B-ymPPtU.js} +8 -10
- package/dist/cdn/chunks/{ColorPicker-BckwEfcN.js.map → ColorPicker-B-ymPPtU.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-6PfpJKh-.js → CommentsSidebar-Tv_WTcJv.js} +6 -6
- package/dist/cdn/chunks/{CommentsSidebar-6PfpJKh-.js.map → CommentsSidebar-Tv_WTcJv.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-CoBmvQKv.js → CountdownBlock-cEcXSK91.js} +4 -4
- package/dist/cdn/chunks/{CountdownBlock-CoBmvQKv.js.map → CountdownBlock-cEcXSK91.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-CdV8RTQu.js → CountdownToolbar-CLp3_ebk.js} +5 -5
- package/dist/cdn/chunks/{CountdownToolbar-CdV8RTQu.js.map → CountdownToolbar-CLp3_ebk.js.map} +1 -1
- package/dist/cdn/chunks/DesignReferenceSidebar-YeqxSsxO.js +223 -0
- package/dist/cdn/chunks/{DesignReferenceSidebar-BjlaP69l.js.map → DesignReferenceSidebar-YeqxSsxO.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-CkkEnhxZ.js → IssuesPanel-BhsvC3XQ.js} +5 -5
- package/dist/cdn/chunks/{IssuesPanel-CkkEnhxZ.js.map → IssuesPanel-BhsvC3XQ.js.map} +1 -1
- package/dist/cdn/chunks/{LoadingTrack-D-CW2tUa.js → LoadingTrack-G2tuXqCJ.js} +2 -2
- package/dist/cdn/chunks/{LoadingTrack-D-CW2tUa.js.map → LoadingTrack-G2tuXqCJ.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-DmtR300G.js → MergeTagModeToggle-DrdxQA0K.js} +6 -6
- package/dist/cdn/chunks/{MergeTagModeToggle-DmtR300G.js.map → MergeTagModeToggle-DrdxQA0K.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagSuggestion-Cvlkw_PM.js → MergeTagSuggestion-Ces5Ua78.js} +3 -3
- package/dist/cdn/chunks/{MergeTagSuggestion-Cvlkw_PM.js.map → MergeTagSuggestion-Ces5Ua78.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-BOcMN26z.js → NumberWithSuffix-BK_Xh4w4.js} +3 -3
- package/dist/cdn/chunks/{NumberWithSuffix-BOcMN26z.js.map → NumberWithSuffix-BK_Xh4w4.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-CX1yks4N.js → ParagraphEditor-DKz4vTWB.js} +131 -131
- package/dist/cdn/chunks/{ParagraphEditor-CX1yks4N.js.map → ParagraphEditor-DKz4vTWB.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-z9s7qxs3.js → RichTextEditorContent-CJ2WVicQ.js} +7 -7
- package/dist/cdn/chunks/{RichTextEditorContent-z9s7qxs3.js.map → RichTextEditorContent-CJ2WVicQ.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-D2CtW4lC.js → SaveBlockDialog-DTemkKPX.js} +8 -8
- package/dist/cdn/chunks/{SaveBlockDialog-D2CtW4lC.js.map → SaveBlockDialog-DTemkKPX.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DdUKJzzF.js → SavedBlocksBrowserModal-DbMaIbeH.js} +9 -9
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DdUKJzzF.js.map → SavedBlocksBrowserModal-DbMaIbeH.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-1kVbqdpc.js → SavedBlocksPanels-CUffuDAC.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPanels-1kVbqdpc.js.map → SavedBlocksPanels-CUffuDAC.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar--noDJIyN.js → SavedBlocksPickBar-D7SmNz2n.js} +5 -5
- package/dist/cdn/chunks/{SavedBlocksPickBar--noDJIyN.js.map → SavedBlocksPickBar-D7SmNz2n.js.map} +1 -1
- package/dist/cdn/chunks/{SnapshotHistory-DFuNJRc9.js → SnapshotHistory-m5Z8bTej.js} +7 -7
- package/dist/cdn/chunks/{SnapshotHistory-DFuNJRc9.js.map → SnapshotHistory-m5Z8bTej.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-DG1dAjQk.js → TemplateScoringPanel-DgRU5fty.js} +6 -6
- package/dist/cdn/chunks/{TemplateScoringPanel-DG1dAjQk.js.map → TemplateScoringPanel-DgRU5fty.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-CiPfOn2v.js → TestEmailModal-Ce8-vzGh.js} +9 -9
- package/dist/cdn/chunks/{TestEmailModal-CiPfOn2v.js.map → TestEmailModal-Ce8-vzGh.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-saOfnpjz.js → TestEmailPanel-BlmIKKSL.js} +3 -3
- package/dist/cdn/chunks/{TestEmailPanel-saOfnpjz.js.map → TestEmailPanel-BlmIKKSL.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-08KM_VzZ.js → TitleEditor-C6_bQxYR.js} +12 -12
- package/dist/cdn/chunks/{TitleEditor-08KM_VzZ.js.map → TitleEditor-C6_bQxYR.js.map} +1 -1
- package/dist/cdn/chunks/TplModal-D6bFON2K.js +50 -0
- package/dist/cdn/chunks/TplModal-D6bFON2K.js.map +1 -0
- package/dist/cdn/chunks/{blockTypeIcons-DvohkXqi.js → blockTypeIcons-B8s3_ahs.js} +2 -2
- package/dist/cdn/chunks/{blockTypeIcons-DvohkXqi.js.map → blockTypeIcons-B8s3_ahs.js.map} +1 -1
- package/dist/cdn/chunks/{cloud-C2I0P9qj.js → cloud-CRlDc0Ev.js} +13 -17
- package/dist/cdn/chunks/{cloud-C2I0P9qj.js.map → cloud-CRlDc0Ev.js.map} +1 -1
- package/dist/cdn/chunks/{dist-CxTt8FRE.js → dist-B8AX9np4.js} +16 -12
- package/dist/cdn/chunks/dist-B8AX9np4.js.map +1 -0
- package/dist/cdn/chunks/{dist-CiBEt0VR.js → dist-lZgXNk4G.js} +36 -20
- package/dist/cdn/chunks/dist-lZgXNk4G.js.map +1 -0
- package/dist/cdn/chunks/{draggable-D840DIZB.js → draggable-JcMTNF3U.js} +14 -15
- package/dist/cdn/chunks/{draggable-D840DIZB.js.map → draggable-JcMTNF3U.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-DBWF_lxx.js → extensions-CKMD_er_.js} +15 -11
- package/dist/cdn/chunks/{extensions-DBWF_lxx.js.map → extensions-CKMD_er_.js.map} +1 -1
- package/dist/cdn/chunks/{htmlparser-CZa2V5cF.js → htmlparser-CPhs2cYE.js} +3 -5
- package/dist/cdn/chunks/{htmlparser-CZa2V5cF.js.map → htmlparser-CPhs2cYE.js.map} +1 -1
- package/dist/cdn/chunks/{icons-Cqxvwgz7.js → icons-Cp4ZIJw-.js} +31 -31
- package/dist/cdn/chunks/{icons-Cqxvwgz7.js.map → icons-Cp4ZIJw-.js.map} +1 -1
- package/dist/cdn/chunks/{keys-B5uoP9P7.js → keys-CswSK7eb.js} +2 -2
- package/dist/cdn/chunks/{keys-B5uoP9P7.js.map → keys-CswSK7eb.js.map} +1 -1
- package/dist/cdn/chunks/{liquid.browser-BJOEu6Cg.js → liquid.browser-CZaQe87t.js} +756 -718
- package/dist/cdn/chunks/liquid.browser-CZaQe87t.js.map +1 -0
- package/dist/cdn/chunks/{pusher-R0v5p99W.js → pusher-kUlkqMvR.js} +21 -28
- package/dist/cdn/chunks/{pusher-R0v5p99W.js.map → pusher-kUlkqMvR.js.map} +1 -1
- package/dist/cdn/chunks/{rolldown-runtime-Dqa2HsxW.js → rolldown-runtime-B0aSnxlc.js} +2 -2
- package/dist/cdn/chunks/{src-C45kfA2t.js → src-B3HKHglu.js} +5 -9
- package/dist/cdn/chunks/{src-C45kfA2t.js.map → src-B3HKHglu.js.map} +1 -1
- package/dist/cdn/chunks/{src-YVsPFLNJ.js → src-B4UhYbI8.js} +4 -4
- package/dist/cdn/chunks/{src-YVsPFLNJ.js.map → src-B4UhYbI8.js.map} +1 -1
- package/dist/cdn/chunks/{src-XQmI_Xs1.js → src-CumZZNXZ.js} +523 -787
- package/dist/cdn/chunks/{src-XQmI_Xs1.js.map → src-CumZZNXZ.js.map} +1 -1
- package/dist/cdn/chunks/{src-BCJna-6p.js → src-D5mfLR4V.js} +2 -2
- package/dist/cdn/chunks/{src-BCJna-6p.js.map → src-D5mfLR4V.js.map} +1 -1
- package/dist/cdn/chunks/{styles-BohMfIBd.js → styles--m9OCb_Z.js} +530 -530
- package/dist/cdn/chunks/{styles-BohMfIBd.js.map → styles--m9OCb_Z.js.map} +1 -1
- package/dist/cdn/chunks/timeouts-SsLMC4a3.js +6 -0
- package/dist/cdn/chunks/{timeouts-Bmi_yePw.js.map → timeouts-SsLMC4a3.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-DRKu__AX.js → tiptap-rsib432n.js} +132 -119
- package/dist/cdn/chunks/tiptap-rsib432n.js.map +1 -0
- package/dist/cdn/chunks/{useAliveFlag-aanU8uqB.js → useAliveFlag-CseYNikC.js} +2 -2
- package/dist/cdn/chunks/{useAliveFlag-aanU8uqB.js.map → useAliveFlag-CseYNikC.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-Bem8DUjH.js → useCloudI18n-sx1pqEbY.js} +3 -3
- package/dist/cdn/chunks/{useCloudI18n-Bem8DUjH.js.map → useCloudI18n-sx1pqEbY.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-B_vwuKdI.js → useEditorCore-ZqF7P99K.js} +201 -199
- package/dist/cdn/chunks/{useEditorCore-B_vwuKdI.js.map → useEditorCore-ZqF7P99K.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-graz19nI.js → useI18n-vD57BfVR.js} +3 -3
- package/dist/cdn/chunks/{useI18n-graz19nI.js.map → useI18n-vD57BfVR.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-rTzAFMlr.js → useMergeTag-HatzNGgc.js} +4 -4
- package/dist/cdn/chunks/{useMergeTag-rTzAFMlr.js.map → useMergeTag-HatzNGgc.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-BaFxLP3w.js → usePopoverPosition-BdQ3Sv4B.js} +3 -3
- package/dist/cdn/chunks/{usePopoverPosition-BaFxLP3w.js.map → usePopoverPosition-BdQ3Sv4B.js.map} +1 -1
- package/dist/cdn/editor.js +10 -10
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-BpQDKiPz.js → check-CIhIDh4h.js} +1 -1
- package/dist/{chevron-down-j8GrdTyz.js → chevron-down-CZ0m6G3s.js} +1 -1
- package/dist/{chevron-up-BACyVhyC.js → chevron-up-BH_tJLeb.js} +1 -1
- package/dist/{circle-alert-CgtE46ND.js → circle-alert-DkEXnGPV.js} +1 -1
- package/dist/{clock-BzKLLW5L.js → clock-BDIJZUET.js} +1 -1
- package/dist/{cloud-DsUct4Zq.js → cloud-R8ci6yR1.js} +10 -14
- package/dist/{createLucideIcon-JWHwTI6N.js → createLucideIcon-AEltGIse.js} +3 -3
- package/dist/{dist-BAkGuPYm.js → dist-B6Px6GPj.js} +1 -1
- package/dist/{dist-DPHqs0Yh.js → dist-Ba5Q-UX1.js} +1 -1
- package/dist/{dist-9uhI32Q4.js → dist-BxbTVeY0.js} +1 -1
- package/dist/{dist-DWu9QWFl.js → dist-CIqhVQ1O.js} +5 -5
- package/dist/{dist-CkCVlKj_.js → dist-CRH880TV.js} +1 -1
- package/dist/{dist-ByJVlKWy.js → dist-CcQFPJMF.js} +116 -100
- package/dist/{dist-JXOq1hib.js → dist-CkPvZCld.js} +1 -1
- package/dist/{dist-IGetXrbO.js → dist-DSIgxp0v.js} +1 -1
- package/dist/{dist-DYv_Pttj.js → dist-DT1XnEnj.js} +33 -17
- package/dist/{dist-C_kAE1sC.js → dist-DX4x6mQ1.js} +3 -3
- package/dist/{dist-DFO896yT.js → dist-Dx71pluS.js} +16 -11
- package/dist/{dist-CQiAZlTt.js → dist-DyCHUyRR.js} +1 -1
- package/dist/{dist-BIYm-U9x.js → dist-iCEDH3cC.js} +1 -1
- package/dist/{dist-C5tigvDF.js → dist-nR6mxyqI.js} +1 -1
- package/dist/{extensions-C0DXnYdA.js → extensions-CGxj6-2o.js} +16 -12
- package/dist/{image-up-CQdtq8ge.js → image-up-8ktdYdaZ.js} +1 -1
- package/dist/{info-BUJBXoE6.js → info-CvrCgTLH.js} +1 -1
- package/dist/{keys-BVlG5Ozc.js → keys-uWpGv4Pq.js} +1 -1
- package/dist/{liquid.browser-DZLtv26k.js → liquid.browser-BECWFL5Z.js} +755 -717
- package/dist/{list-checks-BGHaCSD5.js → list-checks-yzGT93ZL.js} +1 -1
- package/dist/{loader-circle-C-Z6kgI6.js → loader-circle-B6euendB.js} +1 -1
- package/dist/{message-circle-CEm5qckV.js → message-circle-BMldLVcA.js} +1 -1
- package/dist/{pencil-DdwmkKLb.js → pencil-CkKkSd6N.js} +1 -1
- package/dist/{refresh-cw-maKlg0dl.js → refresh-cw-fBPgB97G.js} +1 -1
- package/dist/{runtime-dom.esm-bundler-GdMI8WqG.js → runtime-dom.esm-bundler-CBbDt7sw.js} +2 -2
- package/dist/{scan-line-BFgesTOY.js → scan-line-CRoEOUiK.js} +1 -1
- package/dist/{send-B70aQDrA.js → send-B9Tt2qBi.js} +1 -1
- package/dist/{shield-check-B7x5OKt5.js → shield-check-QfZkYeIo.js} +1 -1
- package/dist/{sparkles-DVlm1Ipp.js → sparkles-8UeMmZb8.js} +1 -1
- package/dist/{styles-BTTD0Je4.js → styles-C9AMvkJk.js} +541 -541
- package/dist/templatical-editor.js +11 -11
- package/dist/{text-align-start-Vay3Kvo2.js → text-align-start-Dn8uIheW.js} +1 -1
- package/dist/{trash-2-DE8CmxAG.js → trash-2-DDyvqj0E.js} +1 -1
- package/dist/{triangle-alert-Djg6IG8N.js → triangle-alert-B3PydLzl.js} +1 -1
- package/dist/{upload-BwwE0U6G.js → upload-hE8ItfyG.js} +2 -2
- package/dist/{useAliveFlag-C43EhZFY.js → useAliveFlag-AfoTE_AY.js} +1 -1
- package/dist/{useCloudI18n-DGr3b2SX.js → useCloudI18n-BC_QV2Z7.js} +2 -2
- package/dist/{useEditorCore-DOrGex_t.js → useEditorCore-Dojb-P2f.js} +655 -655
- package/dist/{useI18n-BhAejA-x.js → useI18n-DzOcl2wl.js} +2 -2
- package/dist/{useMergeTag-Ce95YIOO.js → useMergeTag-BFxXCv3p.js} +3 -3
- package/dist/{usePopoverPosition-vjKJaqJf.js → usePopoverPosition-Dtr1Mp1x.js} +13 -13
- package/dist/{vue.runtime.esm-bundler-B0xoGkDv.js → vue.runtime.esm-bundler-Xpz-L9Fn.js} +27 -22
- package/dist/{x-CkD6A1iB.js → x-C4lETLDx.js} +1 -1
- package/package.json +12 -12
- package/dist/DesignReferenceSidebar-C4pTMzQE.js +0 -264
- package/dist/TplModal-DPH4vV8M.js +0 -49
- package/dist/cdn/chunks/DesignReferenceSidebar-BjlaP69l.js +0 -223
- package/dist/cdn/chunks/TplModal-Cu4tBBnF.js +0 -50
- package/dist/cdn/chunks/TplModal-Cu4tBBnF.js.map +0 -1
- package/dist/cdn/chunks/dist-CiBEt0VR.js.map +0 -1
- package/dist/cdn/chunks/dist-CxTt8FRE.js.map +0 -1
- package/dist/cdn/chunks/liquid.browser-BJOEu6Cg.js.map +0 -1
- package/dist/cdn/chunks/timeouts-Bmi_yePw.js +0 -6
- package/dist/cdn/chunks/tiptap-DRKu__AX.js.map +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { A as e, Et as t, I as n, O as r, Ot as i, R as ee, Y as a, _ as o, c as s, d as c, h as l, l as u, m as d, nt as f, r as p, u as m, w as te, x as ne, z as re } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { a as h, t as g } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import { m as ie, p as ae } from "./dist-
|
|
4
|
-
import { H as _, T as oe, c as se, h as ce, r as le } from "./keys-
|
|
5
|
-
import { t as v } from "./createLucideIcon-
|
|
6
|
-
import { t as ue } from "./circle-alert-
|
|
7
|
-
import { t as de } from "./loader-circle-
|
|
8
|
-
import { t as fe } from "./send-
|
|
9
|
-
import { t as y } from "./sparkles-
|
|
10
|
-
import { t as pe } from "./trash-2-
|
|
11
|
-
import { t as me } from "./x-
|
|
12
|
-
import { t as b } from "./LoadingTrack-
|
|
1
|
+
import { A as e, Et as t, I as n, O as r, Ot as i, R as ee, Y as a, _ as o, c as s, d as c, h as l, l as u, m as d, nt as f, r as p, u as m, w as te, x as ne, z as re } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
|
|
2
|
+
import { a as h, t as g } from "./runtime-dom.esm-bundler-CBbDt7sw.js";
|
|
3
|
+
import { m as ie, p as ae } from "./dist-DT1XnEnj.js";
|
|
4
|
+
import { H as _, T as oe, c as se, h as ce, r as le } from "./keys-uWpGv4Pq.js";
|
|
5
|
+
import { t as v } from "./createLucideIcon-AEltGIse.js";
|
|
6
|
+
import { t as ue } from "./circle-alert-DkEXnGPV.js";
|
|
7
|
+
import { t as de } from "./loader-circle-B6euendB.js";
|
|
8
|
+
import { t as fe } from "./send-B9Tt2qBi.js";
|
|
9
|
+
import { t as y } from "./sparkles-8UeMmZb8.js";
|
|
10
|
+
import { t as pe } from "./trash-2-DDyvqj0E.js";
|
|
11
|
+
import { t as me } from "./x-C4lETLDx.js";
|
|
12
|
+
import { t as b } from "./LoadingTrack-XK_eeUdq.js";
|
|
13
13
|
import { t as x } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
|
-
import { t as S } from "./useAliveFlag-
|
|
15
|
-
import { o as C } from "./cloud-
|
|
14
|
+
import { t as S } from "./useAliveFlag-AfoTE_AY.js";
|
|
15
|
+
import { o as C } from "./cloud-R8ci6yR1.js";
|
|
16
16
|
var w = v("redo-2", [["path", {
|
|
17
17
|
d: "m15 14 5-5-5-5",
|
|
18
18
|
key: "12vg1m"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as e, Dt as t, N as n, O as r, Ot as i, _ as a, c as o, d as s, l as c, r as l, s as u } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import "./useEditorCore-
|
|
3
|
-
import { H as d, t as f } from "./keys-
|
|
4
|
-
import { t as p } from "./image-up-
|
|
5
|
-
import { t as m } from "./shield-check-
|
|
6
|
-
import { t as h } from "./sparkles-
|
|
1
|
+
import { A as e, Dt as t, N as n, O as r, Ot as i, _ as a, c as o, d as s, l as c, r as l, s as u } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
|
|
2
|
+
import "./useEditorCore-Dojb-P2f.js";
|
|
3
|
+
import { H as d, t as f } from "./keys-uWpGv4Pq.js";
|
|
4
|
+
import { t as p } from "./image-up-8ktdYdaZ.js";
|
|
5
|
+
import { t as m } from "./shield-check-QfZkYeIo.js";
|
|
6
|
+
import { t as h } from "./sparkles-8UeMmZb8.js";
|
|
7
7
|
import { t as g } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
8
|
-
import { n as _ } from "./useCloudI18n-
|
|
8
|
+
import { n as _ } from "./useCloudI18n-BC_QV2Z7.js";
|
|
9
9
|
//#region src/cloud/components/AiFeatureMenu.vue?vue&type=script&setup=true&lang.ts
|
|
10
10
|
var v = {
|
|
11
11
|
class: "tpl-ai-feature-menu tpl:w-[280px] tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:py-1 tpl:bg-[var(--tpl-bg-elevated)] tpl:border tpl:border-[var(--tpl-border)] tpl:shadow-[var(--tpl-shadow-lg)]",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Et as e, O as t, _ as n, d as r, l as i, nt as a, s as o, u as s, x as c } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { L as l } from "./keys-
|
|
3
|
-
import { t as u } from "./useI18n-
|
|
4
|
-
import { t as d } from "./circle-alert-
|
|
5
|
-
import { t as f } from "./triangle-alert-
|
|
1
|
+
import { Et as e, O as t, _ as n, d as r, l as i, nt as a, s as o, u as s, x as c } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
|
|
2
|
+
import { L as l } from "./keys-uWpGv4Pq.js";
|
|
3
|
+
import { t as u } from "./useI18n-DzOcl2wl.js";
|
|
4
|
+
import { t as d } from "./circle-alert-DkEXnGPV.js";
|
|
5
|
+
import { t as f } from "./triangle-alert-B3PydLzl.js";
|
|
6
6
|
//#region src/components/canvas/BlockIssueBadge.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var p = ["title", "aria-label"], m = /* @__PURE__ */ n({
|
|
8
8
|
__name: "BlockIssueBadge",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { A as t, Dt as n, M as r, N as i, O as a, _ as o, c as s, d as c, k as l, l as u, nt as d, r as f, s as p, x as m } from "./vue.runtime.esm-bundler-
|
|
3
|
-
import { a as h, b as g, d as _, f as v, g as y, h as b, i as x, l as S, m as C, n as w, p as T, r as E, v as D, y as O, z as k } from "./useEditorCore-
|
|
4
|
-
import { O as A, V as j, d as M, h as N, o as P } from "./keys-
|
|
2
|
+
import { A as t, Dt as n, M as r, N as i, O as a, _ as o, c as s, d as c, k as l, l as u, nt as d, r as f, s as p, x as m } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
|
|
3
|
+
import { a as h, b as g, d as _, f as v, g as y, h as b, i as x, l as S, m as C, n as w, p as T, r as E, v as D, y as O, z as k } from "./useEditorCore-Dojb-P2f.js";
|
|
4
|
+
import { O as A, V as j, d as M, h as N, o as P } from "./keys-uWpGv4Pq.js";
|
|
5
5
|
import { n as F, t as I } from "./emailFrameWidth-BmFCN2dp.js";
|
|
6
6
|
//#region src/components/blocks/PreviewSectionBlock.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var L = { class: "tpl:w-full" }, R = { class: "tpl:flex tpl:gap-0" }, z = /* @__PURE__ */ o({
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { A as e, D as t, Dt as n, E as r, Et as i, I as a, K as o, O as s, Ot as c, R as l, Y as u, Z as d, _ as f, c as p, d as m, g as h, h as g, k as _, l as v, m as y, nt as b, p as x, r as S, s as C, u as w, z as T } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { c as E, o as D, t as O } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import { n as k } from "./upload-
|
|
4
|
-
import { M as A } from "./dist-
|
|
5
|
-
import { E as j, V as M, t as N, x as P } from "./useEditorCore-
|
|
6
|
-
import { m as F } from "./dist-
|
|
7
|
-
import { s as I } from "./usePopoverPosition-
|
|
8
|
-
import { I as L, c as R, j as ee, r as z, s as B, t as V, u as te } from "./keys-
|
|
9
|
-
import { t as H } from "./useI18n-
|
|
10
|
-
import { t as U } from "./createLucideIcon-
|
|
11
|
-
import { t as W } from "./check-
|
|
12
|
-
import { t as G } from "./circle-alert-
|
|
13
|
-
import { a as K, c as ne, d as q, f as re, h as ie, i as J, l as ae, m as oe, n as se, o as ce, p as le, r as ue, s as de, t as fe, u as pe } from "./styles-
|
|
14
|
-
import { t as me } from "./clock-
|
|
15
|
-
import { t as Y } from "./loader-circle-
|
|
16
|
-
import { t as X } from "./message-circle-
|
|
17
|
-
import { n as Z, t as he } from "./MergeTagModeToggle-
|
|
18
|
-
import { t as ge } from "./send-
|
|
19
|
-
import { t as _e } from "./sparkles-
|
|
20
|
-
import { t as ve } from "./triangle-alert-
|
|
1
|
+
import { A as e, D as t, Dt as n, E as r, Et as i, I as a, K as o, O as s, Ot as c, R as l, Y as u, Z as d, _ as f, c as p, d as m, g as h, h as g, k as _, l as v, m as y, nt as b, p as x, r as S, s as C, u as w, z as T } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
|
|
2
|
+
import { c as E, o as D, t as O } from "./runtime-dom.esm-bundler-CBbDt7sw.js";
|
|
3
|
+
import { n as k } from "./upload-hE8ItfyG.js";
|
|
4
|
+
import { M as A } from "./dist-Ba5Q-UX1.js";
|
|
5
|
+
import { E as j, V as M, t as N, x as P } from "./useEditorCore-Dojb-P2f.js";
|
|
6
|
+
import { m as F } from "./dist-DT1XnEnj.js";
|
|
7
|
+
import { s as I } from "./usePopoverPosition-Dtr1Mp1x.js";
|
|
8
|
+
import { I as L, c as R, j as ee, r as z, s as B, t as V, u as te } from "./keys-uWpGv4Pq.js";
|
|
9
|
+
import { t as H } from "./useI18n-DzOcl2wl.js";
|
|
10
|
+
import { t as U } from "./createLucideIcon-AEltGIse.js";
|
|
11
|
+
import { t as W } from "./check-CIhIDh4h.js";
|
|
12
|
+
import { t as G } from "./circle-alert-DkEXnGPV.js";
|
|
13
|
+
import { a as K, c as ne, d as q, f as re, h as ie, i as J, l as ae, m as oe, n as se, o as ce, p as le, r as ue, s as de, t as fe, u as pe } from "./styles-C9AMvkJk.js";
|
|
14
|
+
import { t as me } from "./clock-BDIJZUET.js";
|
|
15
|
+
import { t as Y } from "./loader-circle-B6euendB.js";
|
|
16
|
+
import { t as X } from "./message-circle-BMldLVcA.js";
|
|
17
|
+
import { n as Z, t as he } from "./MergeTagModeToggle-CiFiSV0C.js";
|
|
18
|
+
import { t as ge } from "./send-B9Tt2qBi.js";
|
|
19
|
+
import { t as _e } from "./sparkles-8UeMmZb8.js";
|
|
20
|
+
import { t as ve } from "./triangle-alert-B3PydLzl.js";
|
|
21
21
|
import { t as ye } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
22
|
-
import { n as Q } from "./useCloudI18n-
|
|
23
|
-
import { d as $ } from "./ColorPicker
|
|
24
|
-
import { _ as be, a as xe, b as Se, c as Ce, d as we, g as Te, h as Ee, i as De, l as Oe, m as ke, n as Ae, p as je, r as Me, s as Ne, t as Pe, u as Fe, v as Ie, y as Le } from "./cloud-
|
|
22
|
+
import { n as Q } from "./useCloudI18n-BC_QV2Z7.js";
|
|
23
|
+
import { d as $ } from "./ColorPicker--_2PbzFk.js";
|
|
24
|
+
import { _ as be, a as xe, b as Se, c as Ce, d as we, g as Te, h as Ee, i as De, l as Oe, m as ke, n as Ae, p as je, r as Me, s as Ne, t as Pe, u as Fe, v as Ie, y as Le } from "./cloud-R8ci6yR1.js";
|
|
25
25
|
var Re = U("save", [
|
|
26
26
|
["path", {
|
|
27
27
|
d: "M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",
|
|
@@ -636,7 +636,7 @@ var Je = ["aria-label"], Ye = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
|
|
|
636
636
|
},
|
|
637
637
|
emits: ["save"],
|
|
638
638
|
setup(e) {
|
|
639
|
-
let t = h(() => import("./CollaboratorBar-
|
|
639
|
+
let t = h(() => import("./CollaboratorBar-tC7AACTb.js")), r = h(() => import("./SnapshotHistory-BqPSIV9L.js")), a = h(() => import("./AiFeatureMenu-DDAamRaA.js")), { t: o } = H(), { t: u, format: d } = Q();
|
|
640
640
|
return (f, h) => (s(), m("header", it, [
|
|
641
641
|
p("div", at, [e.featureFlags.templateLimit.value === null ? w("", !0) : (s(), m("span", ot, c(b(d)(b(u).header.templatesUsed, {
|
|
642
642
|
used: e.featureFlags.templateCount.value,
|
|
@@ -792,7 +792,7 @@ var Je = ["aria-label"], Ye = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
|
|
|
792
792
|
mediaLib: {}
|
|
793
793
|
},
|
|
794
794
|
setup(e, { expose: t }) {
|
|
795
|
-
let n = h(() => import("./AiChatSidebar-
|
|
795
|
+
let n = h(() => import("./AiChatSidebar-X4viKtvs.js")), r = h(() => import("./CommentsSidebar-Ci2Ov8FG.js")), i = h(() => import("./DesignReferenceSidebar-DQsC-3hB.js")), a = h(() => import("./TemplateScoringPanel-CMEuz9yF.js")), o = h(async () => {
|
|
796
796
|
try {
|
|
797
797
|
return (await import("@templatical/media-library")).MediaLibraryModal;
|
|
798
798
|
} catch {
|
|
@@ -938,7 +938,7 @@ var Je = ["aria-label"], Ye = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
|
|
|
938
938
|
},
|
|
939
939
|
emits: ["ready"],
|
|
940
940
|
setup(e, { expose: a, emit: o }) {
|
|
941
|
-
let d = h(() => import("./SavedBlocksPanels-
|
|
941
|
+
let d = h(() => import("./SavedBlocksPanels-CNdUxS89.js")), f = h(() => import("./TestEmailPanel--RwnwLn2.js")), x = e;
|
|
942
942
|
_(R, x.cloudTranslations);
|
|
943
943
|
let S = o, C = u(null), k = u(null), A = We({
|
|
944
944
|
config: x.config,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as e, Dt as t, O as n, Ot as r, _ as i, c as a, d as o, l as s, nt as c, r as l, s as u, u as d } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import "./useEditorCore-
|
|
3
|
-
import { t as f } from "./createLucideIcon-
|
|
4
|
-
import { n as p } from "./useCloudI18n-
|
|
1
|
+
import { A as e, Dt as t, O as n, Ot as r, _ as i, c as a, d as o, l as s, nt as c, r as l, s as u, u as d } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
|
|
2
|
+
import "./useEditorCore-Dojb-P2f.js";
|
|
3
|
+
import { t as f } from "./createLucideIcon-AEltGIse.js";
|
|
4
|
+
import { n as p } from "./useCloudI18n-BC_QV2Z7.js";
|
|
5
5
|
import { t as m } from "./readableTextColor-f8Kykfnh.js";
|
|
6
6
|
var h = f("wifi-off", [
|
|
7
7
|
["path", {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as e, Dt as t, Et as n, O as r, R as i, Y as a, _ as o, c as s, d as c, h as l, i as ee, l as te, nt as u, r as ne, s as d, u as f, x as p } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { c as re, s as m, t as ie } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import { a as ae, i as oe, n as se, r as h, s as ce, t as le } from "./usePopoverPosition-
|
|
4
|
-
import { B as ue, R as de, l as fe } from "./keys-
|
|
5
|
-
import { t as pe } from "./useI18n-
|
|
6
|
-
import { t as g } from "./x-
|
|
1
|
+
import { A as e, Dt as t, Et as n, O as r, R as i, Y as a, _ as o, c as s, d as c, h as l, i as ee, l as te, nt as u, r as ne, s as d, u as f, x as p } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
|
|
2
|
+
import { c as re, s as m, t as ie } from "./runtime-dom.esm-bundler-CBbDt7sw.js";
|
|
3
|
+
import { a as ae, i as oe, n as se, r as h, s as ce, t as le } from "./usePopoverPosition-Dtr1Mp1x.js";
|
|
4
|
+
import { B as ue, R as de, l as fe } from "./keys-uWpGv4Pq.js";
|
|
5
|
+
import { t as pe } from "./useI18n-DzOcl2wl.js";
|
|
6
|
+
import { t as g } from "./x-C4lETLDx.js";
|
|
7
7
|
//#region src/constants/styleConstants.ts
|
|
8
8
|
var me = "tpl:block tpl:mb-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]", _ = "tpl:w-full tpl:h-10 tpl:px-3.5 tpl:py-1.5 tpl:text-sm tpl:border tpl:rounded-[var(--tpl-radius-sm)] tpl:shadow-xs tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:outline-none focus:tpl:border-[var(--tpl-primary)] focus:tpl:shadow-[var(--tpl-ring)] placeholder:tpl:text-[var(--tpl-text-dim)]", v = "tpl:w-full tpl:h-10 tpl:px-3.5 tpl:py-1.5 tpl:text-sm tpl:border tpl:rounded-l-[var(--tpl-radius-sm)] tpl:rounded-r-none tpl:border-r-0 tpl:shadow-xs tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:outline-none focus:tpl:border-[var(--tpl-primary)] focus:tpl:shadow-[var(--tpl-ring)] placeholder:tpl:text-[var(--tpl-text-dim)]", y = "tpl:flex tpl:items-center tpl:px-2.5 tpl:text-xs tpl:border tpl:border-l-0 tpl:text-[var(--tpl-text-dim)] tpl:bg-[var(--tpl-bg-hover)] tpl:border-[var(--tpl-border)] tpl:rounded-r-[var(--tpl-radius-sm)]", b = "tpl:flex-1 tpl:h-10 tpl:px-3.5 tpl:py-1.5 tpl:text-xs tpl:font-mono tpl:border tpl:rounded-[var(--tpl-radius-sm)] tpl:shadow-xs tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:outline-none focus:tpl:border-[var(--tpl-primary)] focus:tpl:shadow-[var(--tpl-ring)]", x = "tpl:rounded-[var(--tpl-radius)] tpl:bg-[var(--tpl-bg-elevated)] tpl:p-4 tpl:border tpl:border-[var(--tpl-border)] tpl:transition-colors tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] hover:tpl:bg-[var(--tpl-bg-hover)]", S = "tpl:flex tpl:size-8 tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]", C = "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-dashed tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:border-[var(--tpl-primary)] tpl:hover:text-[var(--tpl-primary)]", w = "tpl:w-full tpl:resize-y tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2.5 tpl:py-2 tpl:font-mono tpl:text-xs tpl:text-[var(--tpl-text)] tpl:outline-none tpl:transition-all tpl:duration-150 tpl:placeholder:text-[var(--tpl-text-dim)] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[0_0_0_3px_var(--tpl-primary-light)]", T = "tpl-btn tpl:inline-flex tpl:items-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:px-3.5 tpl:py-2 tpl:text-sm tpl:font-medium tpl:whitespace-nowrap tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] hover:tpl:bg-[var(--tpl-primary)] hover:tpl:text-[var(--tpl-bg)] tpl:disabled:cursor-not-allowed tpl:disabled:opacity-50", E = [
|
|
9
9
|
"10px",
|
|
@@ -173,9 +173,7 @@ var P = (e) => V(F(e)), F = (e) => (e[0] === "#" && (e = e.substring(1)), e.leng
|
|
|
173
173
|
case "touchend":
|
|
174
174
|
this.dragging = !1;
|
|
175
175
|
break;
|
|
176
|
-
case "keydown":
|
|
177
|
-
_e(this, e);
|
|
178
|
-
break;
|
|
176
|
+
case "keydown": _e(this, e);
|
|
179
177
|
}
|
|
180
178
|
}
|
|
181
179
|
style(e) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { A as e, Dt as t, Et as n, I as r, O as i, Ot as a, R as o, Y as s, _ as c, c as l, d as u, h as d, l as f, m as ee, nt as p, r as m, s as h, u as g, w as te, z as _ } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { a as v, t as y } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import { H as b, h as ne, r as re, u as ie } from "./keys-
|
|
4
|
-
import { t as ae } from "./useI18n-
|
|
5
|
-
import { t as x } from "./createLucideIcon-
|
|
6
|
-
import { t as oe } from "./check-
|
|
7
|
-
import { t as se } from "./chevron-down-
|
|
8
|
-
import { t as ce } from "./chevron-up-
|
|
9
|
-
import { t as S } from "./loader-circle-
|
|
10
|
-
import { t as C } from "./message-circle-
|
|
11
|
-
import { t as w } from "./pencil-
|
|
12
|
-
import { t as T } from "./send-
|
|
13
|
-
import { t as E } from "./trash-2-
|
|
14
|
-
import { t as D } from "./x-
|
|
1
|
+
import { A as e, Dt as t, Et as n, I as r, O as i, Ot as a, R as o, Y as s, _ as c, c as l, d as u, h as d, l as f, m as ee, nt as p, r as m, s as h, u as g, w as te, z as _ } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
|
|
2
|
+
import { a as v, t as y } from "./runtime-dom.esm-bundler-CBbDt7sw.js";
|
|
3
|
+
import { H as b, h as ne, r as re, u as ie } from "./keys-uWpGv4Pq.js";
|
|
4
|
+
import { t as ae } from "./useI18n-DzOcl2wl.js";
|
|
5
|
+
import { t as x } from "./createLucideIcon-AEltGIse.js";
|
|
6
|
+
import { t as oe } from "./check-CIhIDh4h.js";
|
|
7
|
+
import { t as se } from "./chevron-down-CZ0m6G3s.js";
|
|
8
|
+
import { t as ce } from "./chevron-up-BH_tJLeb.js";
|
|
9
|
+
import { t as S } from "./loader-circle-B6euendB.js";
|
|
10
|
+
import { t as C } from "./message-circle-BMldLVcA.js";
|
|
11
|
+
import { t as w } from "./pencil-CkKkSd6N.js";
|
|
12
|
+
import { t as T } from "./send-B9Tt2qBi.js";
|
|
13
|
+
import { t as E } from "./trash-2-DDyvqj0E.js";
|
|
14
|
+
import { t as D } from "./x-C4lETLDx.js";
|
|
15
15
|
import { t as le } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
16
|
-
import { n as ue } from "./useCloudI18n-
|
|
16
|
+
import { n as ue } from "./useCloudI18n-BC_QV2Z7.js";
|
|
17
17
|
import { t as de } from "./formatRelativeTime-CtUU-QZ8.js";
|
|
18
18
|
var fe = x("circle-check", [["circle", {
|
|
19
19
|
cx: "12",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as e, Dt as t, O as n, Ot as r, Y as i, _ as a, c as o, d as s, nt as c, r as l, s as u, u as d } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { p as f } from "./dist-
|
|
3
|
-
import { t as p } from "./useI18n-
|
|
1
|
+
import { A as e, Dt as t, O as n, Ot as r, Y as i, _ as a, c as o, d as s, nt as c, r as l, s as u, u as d } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
|
|
2
|
+
import { p as f } from "./dist-DT1XnEnj.js";
|
|
3
|
+
import { t as p } from "./useI18n-DzOcl2wl.js";
|
|
4
4
|
//#region src/components/blocks/CountdownBlock.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var m = {
|
|
6
6
|
key: 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as e, Et as t, O as n, Ot as r, R as i, _ as a, c as o, d as s, h as c, l, nt as u, r as d, s as f } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { t as p } from "./useI18n-
|
|
3
|
-
import { f as m, t as h } from "./ColorPicker
|
|
4
|
-
import { i as g, n as _, r as v, t as y } from "./NumberWithSuffix-
|
|
1
|
+
import { A as e, Et as t, O as n, Ot as r, R as i, _ as a, c as o, d as s, h as c, l, nt as u, r as d, s as f } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
|
|
2
|
+
import { t as p } from "./useI18n-DzOcl2wl.js";
|
|
3
|
+
import { f as m, t as h } from "./ColorPicker--_2PbzFk.js";
|
|
4
|
+
import { i as g, n as _, r as v, t as y } from "./NumberWithSuffix-CXFbUqsx.js";
|
|
5
5
|
//#region src/components/toolbar/CountdownToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
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 = [
|
|
7
7
|
"value",
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
import { Dt as e, Et as t, I as n, O as r, Ot as i, R as ee, T as a, Y as o, _ as s, c, d as l, h as u, l as te, m as d, nt as f, s as ne, u as p, z as re } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
|
|
2
|
+
import { a as ie, t as ae } from "./runtime-dom.esm-bundler-CBbDt7sw.js";
|
|
3
|
+
import { t as oe } from "./upload-hE8ItfyG.js";
|
|
4
|
+
import { H as m, h as se, r as ce } from "./keys-uWpGv4Pq.js";
|
|
5
|
+
import { t as h } from "./createLucideIcon-AEltGIse.js";
|
|
6
|
+
import { t as le } from "./circle-alert-DkEXnGPV.js";
|
|
7
|
+
import { t as g } from "./image-up-8ktdYdaZ.js";
|
|
8
|
+
import { t as _ } from "./x-C4lETLDx.js";
|
|
9
|
+
import { t as ue } from "./LoadingTrack-XK_eeUdq.js";
|
|
10
|
+
import { t as v } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
11
|
+
import { n as de } from "./useCloudI18n-BC_QV2Z7.js";
|
|
12
|
+
import { f as fe } from "./cloud-R8ci6yR1.js";
|
|
13
|
+
var pe = h("file-image", [
|
|
14
|
+
["path", {
|
|
15
|
+
d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
|
|
16
|
+
key: "1oefj6"
|
|
17
|
+
}],
|
|
18
|
+
["path", {
|
|
19
|
+
d: "M14 2v5a1 1 0 0 0 1 1h5",
|
|
20
|
+
key: "wfsgrz"
|
|
21
|
+
}],
|
|
22
|
+
["circle", {
|
|
23
|
+
cx: "10",
|
|
24
|
+
cy: "12",
|
|
25
|
+
r: "2",
|
|
26
|
+
key: "737tya"
|
|
27
|
+
}],
|
|
28
|
+
["path", {
|
|
29
|
+
d: "m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22",
|
|
30
|
+
key: "wt3hpn"
|
|
31
|
+
}]
|
|
32
|
+
]), y = h("file-text", [
|
|
33
|
+
["path", {
|
|
34
|
+
d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
|
|
35
|
+
key: "1oefj6"
|
|
36
|
+
}],
|
|
37
|
+
["path", {
|
|
38
|
+
d: "M14 2v5a1 1 0 0 0 1 1h5",
|
|
39
|
+
key: "wfsgrz"
|
|
40
|
+
}],
|
|
41
|
+
["path", {
|
|
42
|
+
d: "M10 9H8",
|
|
43
|
+
key: "b1mrlr"
|
|
44
|
+
}],
|
|
45
|
+
["path", {
|
|
46
|
+
d: "M16 13H8",
|
|
47
|
+
key: "t4e002"
|
|
48
|
+
}],
|
|
49
|
+
["path", {
|
|
50
|
+
d: "M16 17H8",
|
|
51
|
+
key: "z1uh3a"
|
|
52
|
+
}]
|
|
53
|
+
]), me = {
|
|
54
|
+
key: 0,
|
|
55
|
+
class: "tpl-design-sidebar tpl:absolute tpl:top-14 tpl:right-0 tpl:bottom-0 tpl:z-panel tpl:flex tpl:w-[360px] tpl:flex-col tpl:border-l tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)]"
|
|
56
|
+
}, he = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, ge = { 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 = {
|
|
57
|
+
key: 0,
|
|
58
|
+
class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:text-center"
|
|
59
|
+
}, 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 = {
|
|
60
|
+
key: 1,
|
|
61
|
+
class: "tpl:flex tpl:flex-col tpl:gap-4"
|
|
62
|
+
}, T = { class: "tpl:flex tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1 tpl:bg-[var(--tpl-bg-hover)]" }, E = {
|
|
63
|
+
key: 0,
|
|
64
|
+
class: "tpl:flex tpl:flex-col tpl:gap-2"
|
|
65
|
+
}, D = { class: "tpl:relative tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, O = ["src", "alt"], k = {
|
|
66
|
+
key: 1,
|
|
67
|
+
class: "tpl:flex tpl:h-32 tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-2"
|
|
68
|
+
}, A = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, j = { class: "tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, M = { class: "tpl:text-center tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, N = ["accept"], P = { class: "tpl:flex tpl:flex-col tpl:gap-1.5" }, F = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, I = ["placeholder"], L = {
|
|
69
|
+
key: 0,
|
|
70
|
+
class: "tpl:flex tpl:flex-col tpl:gap-2 tpl:rounded-[var(--tpl-radius)] tpl:px-3 tpl:py-3 tpl:bg-[var(--tpl-warning-light)] tpl:border tpl:border-[var(--tpl-warning)]"
|
|
71
|
+
}, _e = { class: "tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text)]" }, ve = { class: "tpl:flex tpl:gap-2" }, ye = {
|
|
72
|
+
key: 1,
|
|
73
|
+
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)]"
|
|
74
|
+
}, be = ["disabled"], xe = { class: "tpl:m-0 tpl:pt-1 tpl:text-center tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, R = /*#__PURE__*/ v(/* @__PURE__ */ s({
|
|
75
|
+
__name: "DesignReferenceSidebar",
|
|
76
|
+
props: {
|
|
77
|
+
visible: { type: Boolean },
|
|
78
|
+
hasExistingBlocks: { type: Boolean }
|
|
79
|
+
},
|
|
80
|
+
emits: ["close", "apply"],
|
|
81
|
+
setup(s, { emit: h }) {
|
|
82
|
+
let v = s, R = h, { t: z } = de(), Se = m(se, "DesignReferenceSidebar"), Ce = m(ce, "DesignReferenceSidebar"), B = fe({
|
|
83
|
+
authManager: Ce,
|
|
84
|
+
getTemplateId: () => Se.state.template?.id ?? null,
|
|
85
|
+
onApply: (e) => R("apply", e)
|
|
86
|
+
}), V = o(null), H = o("image"), U = o(null), W = o(""), G = o(null), K = o(!1), q = o(!1), J = ne(() => !B.isGenerating.value && U.value !== null);
|
|
87
|
+
function Y(e) {
|
|
88
|
+
H.value = e, Z();
|
|
89
|
+
}
|
|
90
|
+
function we(e) {
|
|
91
|
+
let t = e.target, n = t.files?.[0];
|
|
92
|
+
n && X(n), t.value = "";
|
|
93
|
+
}
|
|
94
|
+
function X(e) {
|
|
95
|
+
if (e.size > 10485760) {
|
|
96
|
+
B.error.value = z.designReference.fileTooLarge;
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
if (H.value === "image") {
|
|
100
|
+
if (![
|
|
101
|
+
"image/png",
|
|
102
|
+
"image/jpeg",
|
|
103
|
+
"image/jpg",
|
|
104
|
+
"image/webp"
|
|
105
|
+
].includes(e.type)) {
|
|
106
|
+
B.error.value = z.designReference.invalidFileType;
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
} else if (H.value === "pdf" && e.type !== "application/pdf") {
|
|
110
|
+
B.error.value = z.designReference.invalidFileType;
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
U.value = e, B.error.value = null, G.value && URL.revokeObjectURL(G.value), e.type.startsWith("image/") ? G.value = URL.createObjectURL(e) : G.value = null;
|
|
114
|
+
}
|
|
115
|
+
function Z() {
|
|
116
|
+
G.value &&= (URL.revokeObjectURL(G.value), null), U.value = null;
|
|
117
|
+
}
|
|
118
|
+
function Q(e) {
|
|
119
|
+
e.preventDefault(), q.value = !0;
|
|
120
|
+
}
|
|
121
|
+
function Te() {
|
|
122
|
+
q.value = !1;
|
|
123
|
+
}
|
|
124
|
+
function Ee(e) {
|
|
125
|
+
e.preventDefault(), q.value = !1;
|
|
126
|
+
let t = e.dataTransfer?.files?.[0];
|
|
127
|
+
t && X(t);
|
|
128
|
+
}
|
|
129
|
+
function $() {
|
|
130
|
+
if (!J.value) return;
|
|
131
|
+
if (v.hasExistingBlocks && !K.value) {
|
|
132
|
+
K.value = !0;
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
K.value = !1;
|
|
136
|
+
let e = {};
|
|
137
|
+
W.value.trim() && (e.prompt = W.value.trim()), H.value === "image" && U.value ? e.imageUpload = U.value : H.value === "pdf" && U.value && (e.pdfUpload = U.value), B.generate(e);
|
|
138
|
+
}
|
|
139
|
+
function De() {
|
|
140
|
+
K.value = !1;
|
|
141
|
+
}
|
|
142
|
+
return n(() => v.visible, (e) => {
|
|
143
|
+
e || (K.value = !1);
|
|
144
|
+
}), a(() => {
|
|
145
|
+
G.value &&= (URL.revokeObjectURL(G.value), null);
|
|
146
|
+
}), (n, a) => (r(), te(ae, {
|
|
147
|
+
"enter-active-class": "tpl-design-slide-enter-active",
|
|
148
|
+
"enter-from-class": "tpl:translate-x-full",
|
|
149
|
+
"enter-to-class": "tpl:translate-x-0",
|
|
150
|
+
"leave-active-class": "tpl-design-slide-leave-active",
|
|
151
|
+
"leave-from-class": "tpl:translate-x-0",
|
|
152
|
+
"leave-to-class": "tpl:translate-x-full"
|
|
153
|
+
}, {
|
|
154
|
+
default: ee(() => [s.visible ? (r(), l("div", me, [c("div", he, [c("div", ge, [u(f(g), {
|
|
155
|
+
size: 13,
|
|
156
|
+
"stroke-width": 2
|
|
157
|
+
}), c("span", null, i(f(z).designReference.title), 1)]), c("button", {
|
|
158
|
+
class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:duration-150 tpl:text-[var(--tpl-text-muted)]",
|
|
159
|
+
onClick: a[0] ||= (e) => R("close")
|
|
160
|
+
}, [u(f(_), {
|
|
161
|
+
size: 14,
|
|
162
|
+
"stroke-width": 2
|
|
163
|
+
})])]), c("div", b, [f(B).isGenerating.value ? (r(), l("div", x, [c("div", S, [u(ue), c("p", C, i(f(z).designReference.generating), 1)])])) : (r(), l("div", w, [
|
|
164
|
+
c("div", T, [c("button", {
|
|
165
|
+
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 tpl:duration-150",
|
|
166
|
+
style: e({
|
|
167
|
+
backgroundColor: H.value === "image" ? "var(--tpl-bg)" : "transparent",
|
|
168
|
+
color: H.value === "image" ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
|
|
169
|
+
boxShadow: H.value === "image" ? "var(--tpl-shadow)" : "none"
|
|
170
|
+
}),
|
|
171
|
+
onClick: a[1] ||= (e) => Y("image")
|
|
172
|
+
}, [u(f(pe), {
|
|
173
|
+
size: 12,
|
|
174
|
+
"stroke-width": 2
|
|
175
|
+
}), d(" " + i(f(z).designReference.uploadImage), 1)], 4), c("button", {
|
|
176
|
+
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 tpl:duration-150",
|
|
177
|
+
style: e({
|
|
178
|
+
backgroundColor: H.value === "pdf" ? "var(--tpl-bg)" : "transparent",
|
|
179
|
+
color: H.value === "pdf" ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
|
|
180
|
+
boxShadow: H.value === "pdf" ? "var(--tpl-shadow)" : "none"
|
|
181
|
+
}),
|
|
182
|
+
onClick: a[2] ||= (e) => Y("pdf")
|
|
183
|
+
}, [u(f(y), {
|
|
184
|
+
size: 12,
|
|
185
|
+
"stroke-width": 2
|
|
186
|
+
}), d(" " + i(f(z).designReference.uploadPdf), 1)], 4)]),
|
|
187
|
+
c("div", null, [U.value ? (r(), l("div", E, [c("div", D, [G.value ? (r(), l("img", {
|
|
188
|
+
key: 0,
|
|
189
|
+
src: G.value,
|
|
190
|
+
alt: U.value.name,
|
|
191
|
+
class: "tpl:h-auto tpl:max-h-48 tpl:w-full tpl:object-contain"
|
|
192
|
+
}, null, 8, O)) : (r(), l("div", k, [u(f(y), {
|
|
193
|
+
size: 32,
|
|
194
|
+
"stroke-width": 1.5,
|
|
195
|
+
class: "tpl:text-[var(--tpl-text-dim)]"
|
|
196
|
+
}), c("span", A, i(U.value.name), 1)])), c("button", {
|
|
197
|
+
class: "tpl:absolute tpl:top-2 tpl:right-2 tpl:rounded-full tpl:p-1 tpl:transition-colors tpl:duration-150 tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:shadow-[var(--tpl-shadow)]",
|
|
198
|
+
onClick: Z
|
|
199
|
+
}, [u(f(_), {
|
|
200
|
+
size: 12,
|
|
201
|
+
"stroke-width": 2
|
|
202
|
+
})])])])) : (r(), l("div", {
|
|
203
|
+
key: 1,
|
|
204
|
+
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 tpl:duration-150",
|
|
205
|
+
style: e({
|
|
206
|
+
borderColor: q.value ? "var(--tpl-primary)" : "var(--tpl-border-light)",
|
|
207
|
+
backgroundColor: q.value ? "var(--tpl-primary-light)" : "var(--tpl-bg)"
|
|
208
|
+
}),
|
|
209
|
+
onClick: a[3] ||= (e) => V.value?.click(),
|
|
210
|
+
onDragover: Q,
|
|
211
|
+
onDragleave: Te,
|
|
212
|
+
onDrop: Ee
|
|
213
|
+
}, [
|
|
214
|
+
u(f(oe), {
|
|
215
|
+
size: 24,
|
|
216
|
+
"stroke-width": 1.5,
|
|
217
|
+
class: "tpl:text-[var(--tpl-text-dim)]"
|
|
218
|
+
}),
|
|
219
|
+
c("span", j, i(f(z).designReference.dropHint), 1),
|
|
220
|
+
c("span", M, i(H.value === "image" ? f(z).designReference.acceptedImages : f(z).designReference.acceptedPdf), 1)
|
|
221
|
+
], 36)), c("input", {
|
|
222
|
+
ref_key: "fileInput",
|
|
223
|
+
ref: V,
|
|
224
|
+
type: "file",
|
|
225
|
+
class: "tpl:hidden",
|
|
226
|
+
accept: H.value === "image" ? "image/png,image/jpeg,image/webp" : "application/pdf",
|
|
227
|
+
onChange: we
|
|
228
|
+
}, null, 40, N)]),
|
|
229
|
+
c("div", P, [c("label", F, i(f(z).designReference.promptLabel), 1), re(c("textarea", {
|
|
230
|
+
"onUpdate:modelValue": a[4] ||= (e) => W.value = e,
|
|
231
|
+
class: t(["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:duration-150 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)]", ["tpl-design-prompt-input"]]),
|
|
232
|
+
placeholder: f(z).designReference.promptPlaceholder,
|
|
233
|
+
rows: "3"
|
|
234
|
+
}, null, 8, I), [[ie, W.value]])]),
|
|
235
|
+
K.value ? (r(), l("div", L, [c("p", _e, i(f(z).designReference.replaceWarning), 1), c("div", ve, [c("button", {
|
|
236
|
+
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:duration-150 tpl:text-[var(--tpl-text-muted)] tpl:border tpl:border-[var(--tpl-border)]",
|
|
237
|
+
style: { "background-color": "transparent" },
|
|
238
|
+
onClick: De
|
|
239
|
+
}, i(f(z).designReference.replaceCancel), 1), c("button", {
|
|
240
|
+
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:duration-150 tpl:hover:opacity-90 tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-bg)]",
|
|
241
|
+
onClick: $
|
|
242
|
+
}, i(f(z).designReference.replaceConfirm), 1)])])) : p("", !0),
|
|
243
|
+
f(B).error.value ? (r(), l("div", ye, [u(f(le), {
|
|
244
|
+
size: 14,
|
|
245
|
+
"stroke-width": 2,
|
|
246
|
+
class: "tpl:mt-0.5 tpl:shrink-0"
|
|
247
|
+
}), c("span", null, i(f(z).designReference.error), 1)])) : p("", !0),
|
|
248
|
+
K.value ? p("", !0) : (r(), l("button", {
|
|
249
|
+
key: 2,
|
|
250
|
+
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:duration-150 tpl:hover:opacity-90 tpl:disabled:cursor-not-allowed tpl:disabled:opacity-50 tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-bg)]",
|
|
251
|
+
disabled: !J.value,
|
|
252
|
+
onClick: $
|
|
253
|
+
}, [u(f(g), {
|
|
254
|
+
size: 16,
|
|
255
|
+
"stroke-width": 2
|
|
256
|
+
}), d(" " + i(f(z).designReference.generate), 1)], 8, be)),
|
|
257
|
+
c("p", xe, i(f(z).aiMenu.disclaimer), 1)
|
|
258
|
+
]))])])) : p("", !0)]),
|
|
259
|
+
_: 1
|
|
260
|
+
}));
|
|
261
|
+
}
|
|
262
|
+
}), [["__scopeId", "data-v-bdbf8d0d"]]);
|
|
263
|
+
//#endregion
|
|
264
|
+
export { R as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as e, Et as t, N as n, O as r, Ot as i, _ as a, c as o, d as s, h as c, l, m as u, nt as d, r as f, s as p, u as m, x as h } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { L as g, h as _ } from "./keys-
|
|
3
|
-
import { t as v } from "./useI18n-
|
|
4
|
-
import { t as y } from "./createLucideIcon-
|
|
5
|
-
import { t as b } from "./circle-alert-
|
|
6
|
-
import { t as x } from "./info-
|
|
7
|
-
import { t as S } from "./list-checks-
|
|
8
|
-
import { t as C } from "./triangle-alert-
|
|
1
|
+
import { A as e, Et as t, N as n, O as r, Ot as i, _ as a, c as o, d as s, h as c, l, m as u, nt as d, r as f, s as p, u as m, x as h } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
|
|
2
|
+
import { L as g, h as _ } from "./keys-uWpGv4Pq.js";
|
|
3
|
+
import { t as v } from "./useI18n-DzOcl2wl.js";
|
|
4
|
+
import { t as y } from "./createLucideIcon-AEltGIse.js";
|
|
5
|
+
import { t as b } from "./circle-alert-DkEXnGPV.js";
|
|
6
|
+
import { t as x } from "./info-CvrCgTLH.js";
|
|
7
|
+
import { t as S } from "./list-checks-yzGT93ZL.js";
|
|
8
|
+
import { t as C } from "./triangle-alert-B3PydLzl.js";
|
|
9
9
|
var w = y("arrow-right", [["path", {
|
|
10
10
|
d: "M5 12h14",
|
|
11
11
|
key: "1ays0h"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as e, d as t } from "./vue.runtime.esm-bundler-
|
|
1
|
+
import { O as e, d as t } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
|
|
2
2
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
//#region src/components/LoadingTrack.vue
|
|
4
4
|
var r = {}, i = { class: "tpl-loading-track" };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as e, Dt as t, O as n, Ot as r, _ as i, c as a, d as o, l as s, nt as c, r as l, s as u, u as d, x as f } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { j as p } from "./dist-
|
|
3
|
-
import { T as m } from "./keys-
|
|
4
|
-
import { t as h } from "./useI18n-
|
|
5
|
-
import { t as g } from "./createLucideIcon-
|
|
6
|
-
import { t as _ } from "./sparkles-
|
|
1
|
+
import { A as e, Dt as t, O as n, Ot as r, _ as i, c as a, d as o, l as s, nt as c, r as l, s as u, u as d, x as f } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
|
|
2
|
+
import { j as p } from "./dist-Ba5Q-UX1.js";
|
|
3
|
+
import { T as m } from "./keys-uWpGv4Pq.js";
|
|
4
|
+
import { t as h } from "./useI18n-DzOcl2wl.js";
|
|
5
|
+
import { t as g } from "./createLucideIcon-AEltGIse.js";
|
|
6
|
+
import { t as _ } from "./sparkles-8UeMmZb8.js";
|
|
7
7
|
var v = g("monitor", [
|
|
8
8
|
["rect", {
|
|
9
9
|
width: "20",
|